Ready to get started?Download WordPress


Add a unique class to any output html tags please (3 posts)

  1. palamedes
    Posted 7 years ago #

    In "template-functions-post.php" you have things like;

    $output .= ' <a href="'. get_permalink() . "#more-$id\">$more_link_text</a>";

    And most likely in other places around the code.. Please add a class to those elements like this;

    $output .= ' <a href="'. get_permalink() . "#more-$id\" class='morelink'>$more_link_text</a>";

    So that we can correctly define them via CSS.


  2. Kafkaesqui

    Posted 7 years ago #

    This will be added in the next major update to WordPress (though the class will be 'more-link'). Not sure why it took so long to get it...

  3. palamedes
    Posted 7 years ago #

    Thanks Kaf =)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.