-
AuthorPosts
-
September 28, 2018 at 3:52 am #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”
September 29, 2018 at 7:55 pm #1016154Hey gatehealing,
I remember this thread, I did not see your last reply.
Can you post credentials here again, please?
Best regards,
VictoriaSeptember 29, 2018 at 8:20 pm #1016162Hi Victoria, They are in private box now.
September 29, 2018 at 8:32 pm #1016165Victoria,
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.
September 30, 2018 at 9:50 am #1016227Hi!
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!
PeterSeptember 30, 2018 at 6:10 pm #1016299While 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
October 1, 2018 at 10:24 am #1016528Hi,
We’ll continue here: https://kriesi.at/support/topic/on-blog-posts-page-only-1st-post-has-read-more-but-not-content/#post-1016451
Best regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.