ThemeShaper Forums » Thematic

[closed]

Line Break in .entry-utility ?

(6 posts)
  • Started 5 years ago by jamesbob85
  • Latest reply from typofi
  • This topic is resolved
  1. jamesbob85
    Member

    Hope someone can help...

    I am trying to figure out how to place a line break between the tags and the permalink in the entry-utility below posts. Currently it wraps in an ugly way if I add a few tags.

    Such as: "This entry was posted in featured and tagged Tag1, Tag2, Tag3.(**Break here**) Bookmark the permalink. Post a comment or leave a trackback: Trackback URL."

    I have tried to edit my functions.php file such as described here: http://themeshaper.com/blog/custom-wordpress-hooks-filters-thematic-06/ in the custom footer section. I am just not sure how to do it.

    Thanks for your help.

    Posted 5 years ago #
  2. You can use display:block on .tag-links.

    Posted 5 years ago #
  3. I'm sorry I don't quite follow this. How I I add text line breaks?
    and <p> don't seem to work. Thanks for your help!

    Posted 4 years ago #
  4. Hello

    I stumbled onto a similar problem. I'd like to have line breaks and buttons in the post footer.

    This is what I want to do with the post footer.

    I don't really know much php so that's why I'm begging for help here. I understand enough do some modifications but not enough that I could start my own mod from scratch with the Thematic hooks.

    The css that you proposed doesn't work. .tag-links {display:block;} puts the full stop and the word space onto the next line. See my screen capture here. And how do I add the images?

    The site is at: http://www.parafovea.com

    Thanks for any help.

    Posted 4 years ago #
  5. This would be something like:

    function my_postfooter($postfooter) {
        $postfooter = str_replace("</div><!-- .entry-utility -->\n", '', $postfooter);
        $postfooter .= '<br />';
        $postfooter .= 'CSS Markup + your first button + your first button text + ...';
    	$postfooter .= "</div><!-- .entry-utility -->\n";
        return $postfooter;
    }
    add_filter('thematic_postfooter', 'my_postfooter');

    Chris

    Posted 4 years ago #
  6. Thanks a ton!

    I'll try it out as soon as I have some time to twiddle with it.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.