WP Manifestindependent plugin directory
manifest / themes / bp-simple-edits

BP Simple Edits

A lightweight replacement for the retired Genesis Simple Edits plugin.

by A. Cambronero (Blogpocket.es) · github.com/blogpocket/bp-simple-edits · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/blogpocket/bp-simple-edits/archive/refs/heads/main.zip

Readme

BP Simple Edits

A lightweight replacement for the retired Genesis Simple Edits plugin.

It provides:

  • A Settings screen to define a post meta line that is rendered above the content on singular views.
  • A Settings screen to define custom footer HTML that can be appended or used to "replace" the theme footer.
  • Optional Genesis support (if Genesis is active): in replace mode it removes the default Genesis footer and outputs your footer HTML in the Genesis footer hook.

Installation

  1. Download the ZIP.
  2. WordPress Admin -> Plugins -> Add New -> Upload Plugin.
  3. Activate BP Simple Edits.
  4. Go to Settings -> BP Simple Edits.

Post meta line

Enable Post meta line and set a template, for example:

[post_date] [post_comments] [post_edit]

Available placeholders:

  • [post_date] (outputs a <time> element)
  • [post_author] (linked to the author archive)
  • [post_comments] (linked to comments; hidden if comments are closed and there are no comments)
  • [post_edit] (edit link; shown only to users who can edit the post)
  • [post_categories] (linked term list)
  • [post_tags] (linked term list)

The meta line is added on singular views only (posts/pages/CPTs you select), and only to the main query content.

Footer HTML

Enable Footer HTML and paste your HTML. It is sanitized on save using wp_kses_post().

Modes

  • Append: prints your HTML at the end of the page (after the theme content).
  • Replace:
    • Classic themes: the plugin hides the theme footer using CSS selectors (configurable), then prints your HTML.
    • Genesis: the plugin removes genesis_do_footer and prints your HTML in genesis_footer.

Footer selectors (classic themes)

In replace mode for classic themes, set Footer selectors to hide.

Default:

#colophon, footer.site-footer

If your theme uses a different footer structure, inspect the footer element in your browser and paste its selector(s).

Developer notes

  • Settings are stored in a single option: bpse_options.
  • Sanitization:
    • Meta template: sanitize_text_field()
    • Footer HTML: wp_kses_post()

License

GPLv2 or later.

Read the full README on GitHub →