WordPress.org

Ready to get started?Download WordPress

Forums

Looking for two plugins (4 posts)

  1. cptorontocp
    Member
    Posted 5 years ago #

    Hello, I was wondering if there were two plugins that perform a function.

    1) A plugin that allows you to add a signature or automatic text at the bottom of every post automatically.

    2) A plugin or setting that automatically aligns images center.

    If anyone knows if there are these plugins, it would be greatly appreciated. Thank you!

  2. Oren Yomtov
    Member
    Posted 5 years ago #

    1. You can edit your themes files or add this code to your themes functions.php file

    <?php
    function bfa_append_to_post($post_body_content) {
    $post_body_content = $post_body_content .
    'YOUR TEXT HERE ....
    ...MORE TEXT ...
    ...TEXT ( or HTML) ...';
    return $post_body_content;
    }
    add_filter('the_content', 'bfa_append_to_post');
    ?>

    2. You can edit your themes style.css

  3. cptorontocp
    Member
    Posted 5 years ago #

    Thanks, what would the code be to align images center? I found a plugin for the signature.

  4. Oren Yomtov
    Member
    Posted 5 years ago #

    <img src="" style="margin-left:auto;margin-right:auto">

Topic Closed

This topic has been closed to new replies.

About this Topic