Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1016761

    I have my blog posts created and saved in Default Editor so that excerpts are auto created, so there is some code y’all provided in functions.php.
    That works great, thanks!

    What I am now working on is having all posts in the category (or primary category) of the shown post to appear in the Right Sidebar. I have installed the suggested plugin Custom Sidebars by WPMU DEV. I do not know if it’s the custom code we’ve put in my child theme, or if it’s that I am using the Default Editor, or both, but I cannot get the posts in the category of the shown post to appear in the right sidebar. I have tried every combination of choices in the Layout and Sidebars boxes that are to the right of the default editor. The custom sidebars have been created and marked to show in sidebar for posts in the selected category (I’ll select Anxiety for a post that is categorized in Anxiety).

    Would any of the custom code conflict with a plugin like this? I think I can use the magic want to add a ‘related posts’ element for up to 20 related posts, but I’d prefer a list in the sidebar if possible.

    I’ll be getting with the plugin authors as well, but wanted to check in both places at once so I can get it dialed in asap.

    Thanks again y’all,
    Jon

    #1017053

    Hey gatehealing,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1017170

    Sure. It’s there now

    #1017171

    here’s a clearer layout of what I have tried (this is part of what I sent the plugin authors):

    I created the custom sidebar and checked the location “As sidebar blog for selected categories” and selected Anxiety as the category in that field. In the Widgets area for my Theme Sidebars, I have ‘Allow this sidebar to be replaced’ for the Sidebar Blog (where Categories is selected–I do that so the main Blog Posts Page (the index of posts) has the categories listed in sidebar). In the blog post itself, I have played with every combination possible of the Layout and Sidebars fields (the boxes to the left of the default editor) and nothing is working:
    1) Sidebars box > Sidebar Blog > Anxiety Posts, and Sidebar Blog, and nothing selected, all tried.
    2) Layout box > Sidebar Settings> Right Sidebar, No Sidebar, Default sidebar all tried.
    3) Layout box > Sidebar Settings > Anxiety Posts, Sidebar Blog, and default all tried.

    All combinations of all 3 of those, as best as I can tell, do not work, so I am stumped.

    #1017863

    Hi gatehealing,

    You might want to write to the plugin authors about the issue. I do not see any errors and your posts are created with the Default editor.

    Best regards,
    Victoria

    #1017996

    Yeah, I posted a question on their support forum the same day as I did y’all and still have yet to hear from them. I may just have to use the related posts element if I am going to do this. Apparently important for SEO to having links back and forth (like a wheel and spokes was the metaphor) between the blog post and other posts in the same category. Prob not a huge thing though.

    Thanks for looking it over for me.

    Thx for the note too. Not sure how to fix that, but I’ll ask around about how to find it.

    Jon

    #1018337

    I think some of my custom funcitons.php code is creating the issue since I know I had it working before we did that new code for social share icons etc.

    #1018343

    Well, I tried deleteing the following from functions.php (and individual blocks):

    function change_blog_archive_style() {
    global $avia_config;
    if( !empty($avia_config[‘conditionals’][‘is_builder’]) ) $avia_config[‘blog_content’] = “excerpt_read_more”;
    }
    add_action(‘get_header’, ‘change_blog_archive_style’);
    function ava_blog_read_more() {
    global $avia_config;
    if(!is_single()) $avia_config[‘blog_content’] = “excerpt_read_more”;
    }
    add_action(‘get_header’, ‘ava_blog_read_more’);

    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;
    }

    #1019221

    Hi,

    And when you remove that code it works?

    Best regards,
    Basilis

    #1019284

    Oops. I left off the 2nd half of that sentence.

    No, it didn’t work, even when I deleted all of child functions.php (I put it back).

    I’m waiting for plugin author to review some screenshots.

    Do y’all know of another reliable plugin for this?

    Jon

    #1020082

    Hi,

    Unfortunately no, but if the author needs any work let us know.

    Best regards,
    Basilis

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