WordPress.org

Ready to get started?Download WordPress

Forums

Magazine Basic
Remove Read More (7 posts)

  1. Pioneer Valley Web Design
    Member
    Posted 10 months ago #

    At this post, I have used the full HTML content of the post as the 'excerpt'. This allows the embedded video to play at the home page, but still has the 'read more' link...of course, there is not more to read...it's all there...

    So, any clues on how to do this more efficiently..well, actually, it was rather easy to get the video there...which was the objective...so what if both the content and the excerpt are the same?

  2. c.bavota
    Member
    Theme Author

    Posted 9 months ago #

    The read more button will appear if you have selected to display the excerpt. If you select the content instead, that read more will not appear. Though there is a trick to get the read more button to appear when displaying the content. Just use the more tag. The button is in the text editor menu.

  3. Pioneer Valley Web Design
    Member
    Posted 9 months ago #

    The read more button will appear if you have selected to display the excerpt

    Yes, that is what is in use.

    I am not sure I got my point across. The issue is that the excerpt and the content are the same. Is there a method to use per post to control displaying the read more (besides CSS hacks)?

    Again, the issue is that there is not more to read (so the link is really not required).

  4. c.bavota
    Member
    Theme Author

    Posted 9 months ago #

    Since you are displaying the excerpt, the read more will appear by default, even if there is nothing more to read. That is just how it works. Kind of an all or nothing type situation.

    But like I mentioned above, you can display the content and use the more tag in a similar fashion so that the posts that don't have more content won't have a read more.

  5. Pioneer Valley Web Design
    Member
    Posted 9 months ago #

    @c.bavota:

    Is there a better way if I use your Premium Theme?

  6. srikkanthan
    Member
    Posted 8 months ago #

    You could add a function like this in your child theme's function.php:

    function mb_excerpt_more( $text ) {
         return '';
    }

    which overrides the readmore function of the theme. Refer the following file for other hooks and overrides:
    http://themes.svn.wordpress.org/magazine-basic/3.0.3/functions.php

  7. Pioneer Valley Web Design
    Member
    Posted 7 months ago #

    Since it has been a very long time since a responsible reply was made to this, please close, I cannot however mark as resolved.

Reply

You must log in to post.

About this Theme

About this Topic