Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1015573

    My “On Blog Posts Page, only 1st post has Read More but not content” thread was marked as read. I posted another question, then received an email that it had been marked as read, which I now know means y’all may not see my follow-up.

    After being informed about building a post in Default view, then using Magic Wand tool for elements, I posted the following issue:

    “Ok, now when I use the default editor, and I paste in the full article and save, it does show the excerpt on the Blog Posts Page, however, when I click into the full article, it still only shows the excerpt, not the full article.

    Is that something I should change in functions.php? If yes, how?

    J”

    #1016154

    Hey gatehealing,

    I remember this thread, I did not see your last reply.

    Can you post credentials here again, please?

    Best regards,
    Victoria

    #1016162

    Hi Victoria, They are in private box now.

    #1016165

    Victoria,
    What I have done is add a post at the very bottom of my Blog Posts Page (“Existential Delimma….” that is created and saved in Default Editor. Currently, if you try to click into that post, it’s just a blank screen. I did just add the following code to my child theme functions.php to get social share icons at the bottom of each post:

    add_filter( ‘the_content’, ‘avia_add_social_share_bar’ );
    function avia_add_social_share_bar( $content )
    {
    // Check if we’re inside the main loop in a single post page.
    if ( is_single() && in_the_loop() && is_main_query() )
    {
    return $content . do_shortcode(“[av_social_share title='Share this entry' style='' buttons='' share_facebook='' share_twitter='' share_pinterest='' share_gplus='' share_reddit='' share_linkedin='' share_tumblr='' share_vk='' share_mail='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='']“);
    }

    return $content;

    This was from a different thread. It works great on posts created/saved in ALB, but since those in Default editor show blank screen, I don’t know if it works in those or not. Feel free to delete that code from functions.php in child theme to see if that helps.

    #1016227

    Hi!

    I fixed it by adjusting the code to

    
    
    add_filter( 'the_content', 'avia_add_social_share_bar' );
    function avia_add_social_share_bar( $content ) 
    {
    	global $avia_config;
    	
        // Check if we're inside the main loop in a single post page.
        if ( is_single() && in_the_loop() && is_main_query() && !empty($avia_config['conditionals']['is_builder']) ) 
        {
            return $content . do_shortcode("[av_social_share title='Share this entry' style='' buttons='' share_facebook='' share_twitter='' share_pinterest='' share_gplus='' share_reddit='' share_linkedin='' share_tumblr='' share_vk='' share_mail='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='']");
        }
    
        return $content;
    }
    

    Cheers!
    Peter

    #1016299

    While that does put the social icons at the bottom of the screen that comes up upon clicking into that Existential Dilemma post (last post on list. . . created/saved in Default Editor), the problem persists that when you click Read More, it just takes you to a screen with the excerpt and Read More again . . . but there are just no other posts on the screen….just the excerpt from the Existential Dilemma post.

    This happens in both Firefox and Chrome (both up to date). Not sure if this is just not fixable, but I really appreciate the efforts. I’m sure there’s something simple I am missing to allow blog posts creatd/saved in Default Editor to show more than just the excerpt upon clicking Read More.

    Jon

    #1016528
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.