Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1030118
    turnkeydigital
    Participant

    I have seen many posts about this but I have not been able to get any to work. I have a private page setup for testing which you will need to be logged in to see, I will add the login in a private message following this. All I need is a read more after the title of the blog post but all snippets for the functions file have not worked at all.

    http://www.hoparazzi.com/home-2/

    #1030120
    turnkeydigital
    Participant
    This reply has been marked as private.
    #1030394
    Rupok
    Member

    Hi there,

    Thanks for writing in! Upon checking your page (after login) I am not sure where you exactly trying to add read more link. Would you clarify with a screenshot?

    Cheers!

    #1030413
    turnkeydigital
    Participant

    At the bottom of the page I added the link to.

    #1031247
    Rupok
    Member

    Hi there,

    Thanks for updating. Kindly use this solution – https://community.theme.co/forums/topic/adding-blog-text-and-read-more-link-to-recent-posts/#post-810125

    I have tested this and it should work fine if you implement correctly.

    Cheers!

    #1032057
    turnkeydigital
    Participant

    I have used this snippet before on another site but for some reason it has no effect on this site.

    #1032228
    turnkeydigital
    Participant

    Does it have anything to do with the newest update? I checked another site I have this setup on and it is now only showing photo, title and date.

    #1032680
    Lely
    Moderator

    Hi There,

    Would you mind giving us FTP credentials on a private reply so we can check why the custom functions on your child theme is not working?

    #1034491
    turnkeydigital
    Participant
    This reply has been marked as private.
    #1034501
    turnkeydigital
    Participant
    This reply has been marked as private.
    #1035105
    Rad
    Moderator

    Hi there,

    Please change this code,

    function update_x_recent_posts_to_v2() {
      remove_shortcode( 'x_recent_posts' );
      add_shortcode( 'x_recent_posts', 'x_shortcode_recent_posts_excerpt' );
    }

    to this

    function update_x_recent_posts_to_v2() {
      remove_shortcode( 'x_recent_posts' );
    remove_shortcode( 'recent_posts' );
    remove_shortcode( 'cs_recent_posts' );
    
      add_shortcode( 'recent_posts', 'x_shortcode_recent_posts_excerpt' );
      add_shortcode( 'x_recent_posts', 'x_shortcode_recent_posts_excerpt' );
      add_shortcode( 'cs_recent_posts', 'x_shortcode_recent_posts_excerpt' );
    }

    The custom code that you had is only applicable for standard shortcodes.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1030118 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>