Tagged: 

Viewing 30 posts - 1 through 30 (of 36 total)
  • Author
    Posts
  • #766936

    Hi,

    My blog post categories are no longer displaying (above the post title). However, in the Blog Layout settings, the Post Category option is checked. I also can’t find any custom css that would remove the categories. Any idea?

    Thanks,
    Poirot

    #766973

    Hey Poirot,
    Just so I can be clear, you used to have the cats showing at the red points? Can you please include a admin login in the private content area so we can take a closer look.
    postimage
    Best regards,
    Mike

    #767029

    Hi Mike,
    Exactly. And I guess the date was also displayed next to the category.
    I noticed that when I switch from grid to single post-layout, the element is displayed.
    Thanks for your help, please find the details below.

    Regards,
    Poirot

    #767075

    Hi,
    It looks like you will need to edit /enfold/config-templatebuilder/avia-shortcodes/postslider.php via ftp.
    https://kriesi.at/support/topic/display-date-category-blog-posts-grid-layout/#post-389032

    As you are using a child theme you will find this useful: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    Best regards,
    Mike

    #767084

    Hi Mike,
    Thank you, I’ll follow the instruction in the links. Can I just ask why the edit of postslider.php is now needed? I have been working with the child theme for a while, and the categories used to be visible. Or is this due to Enfold updates?

    Regards,
    Poirot

    #767093

    Hi,
    I just took another look on my localhost and in the grid it will show

    <span class="blog-categories minor-meta">

    but yours don’t, the research I did earlier pointed to the link above. But now I thinking you could try deactivating your plugins one by one. Sorry

    Best regards,
    Mike

    #767397

    Hi Mike,
    I tried deactivating all plugins (at once) and cleared cache, still no category titles. I will follow the steps in the link, but if you have any idea what might have caused the issue, let me know.
    Thank you,

    Edit: I have Googled the issue again and found another thread (http://bit.ly/2o9dqLn), which says that this was caused by a theme update. If that’s the case, then the default blog style no longer displays categories. And by switching to another blog style, custom css is needed to change the category title and other elements to their “original” position. How can we, users, build a consistent website, like this?

    Regards,
    Poirot

    • This reply was modified 7 years, 7 months ago by Poirot.
    #767574

    Hi Poirot,

    Let’s focus on a solution here :)

    Do you want to adjust css on you blog style elegant or you want to stay with default style blog, but get the categories back?

    Best regards,
    Victoria

    #767581

    Hi Victoria,

    Option 2, please :)

    Btw, the date used to appear left of the category, same line.

    I have tried switching to Elegant or Modern Business, but in both cases I get a new issue (featured image appears twice on the each blog post page).

    Thanks for helping,

    Regards,
    Poirot

    #767591

    PS: Date and category were above the title on the blog page. In the current Default layout, I’m also missing my featured image.

    #768896

    Hi!
    Which version of Enfold are you running?

    Did you try putting this code
    if( strpos($blog_global_style, 'elegant-blog') !== false || empty($blog_global_style) )
    in your includes/loop-index.php? What happened?

    Regards,
    Victoria

    #768960

    Hi Victoria,
    Thanks for your help. Nothing happened, even after purging cache and hard refresh.
    I see the category title above each blog post. But not on the blog home page.

    Regards,
    Poirot

    #770987

    Hi,
    I have updated to Enfold 4.05, still the categories are not visible on my blog page.
    The option “Enfold > Blog Layout > Blog Post Category > Check to display” is active.

    Regards,
    Poirot

    #771519

    Hi,

    Please go back to the Enfold > Blog Layout > Blog Styling settings. Set it to “Modern Business” instead of “Default(Business)”.

    Best regards,
    Ismael

    #771800

    Hi Ismael,
    I have already tried this, and it does brings back categories, but:
    – Categories now appear below, instead of above the title;
    – In single post page, the title and categories are now above the image, instead of below it;
    – In single post page, date is no longer visible.

    It seems more trouble to change things in “Modern business” layout, than just bring back the categories in Default.

    Regards,
    Poirot

    #772150

    Hey!

    We have reported the issue to Kriesi and it is now under consideration. Please wait for his response.

    Regards,
    Ismael

    #777500

    Hi Ismael,

    Ok thanks, keep me posted.

    Regards,
    Poirot

    #778354

    Hi!

    Our developer added a filter which enable the category for the default business style. It hasn’t been uploaded yet but the filter should look like the following code.

    add_filter('avf_postslider_show_catergories', 'avf_postslider_show_catergories_mod', 10, 1);
    function avf_postslider_show_catergories_mod($category) {
     	$category = 'show_business'; 
    	return $category;
    }

    Cheers!
    Ismael

    #785103

    Hi Ismael,

    Thanks for the code. Could you please let me know in which file to paste it?

    Regards,
    Poirot

    #785122

    Hi,
    It goes in your functions.php file. When editing functions.php you should use the child theme, or on the next update your changes will be lost. Read about it & Get it here

    Best regards,
    Mike

    #785429

    I have the same issue and I can NOT switch from “default business” to “modern business”, because I had made too many changes, to adapt the “default business” style to my needs.

    The fix from @Ismael has no effect in my case.
    Any other solutions?

    #785501

    Hi Chris,

    Looking for more organization, may you create a new thread with your problem and include your WP credentials and info about the issue?

    Best regards,
    John Torvik

    #785674

    In another thread you said that it will be fixed in a theme update ?!?

    I just have the same problem as all the others, that “Default Business” blog style does not show category name in grid layout with ALB element “blogposts”. So I wait until the update you and @Ismael mentioned in another thread.

    #789102

    Hi Mike,

    Thanks for your help, but the code is not working in my case

    Regards,
    Poirot

    #789110
    #789282

    Hi,

    Thanks for sharing @chris, did you try that out and did you have any luck with it @poirot?

    Best regards,
    Rikard

    #789843

    Hi,

    Thanks for taking the time to share @chris, but it’s not working for me.

    @rikard
    : I’m not sure whether this interferes, but I have a custom blog layout, built with the layout editor.

    Regards,
    Poirot

    #790079

    Hi,

    Did you modify the postslider.php file as suggested in thread? And don’t forget to add the filter in the functions.php file.

    // https://kriesi.at/support/topic/blog-posts-element-not-showing-categories-anymore/page/2/#post-788328

    Best regards,
    Ismael

    #790473

    Hi Ismael,

    Yes, I have modified both files, postslider.php and functions.php (in theme child). Still, I only get blog titles, no categories. I have verified all that I can think of, once more, but I get no result.

    Regards,
    Poirot

    #790925

    Hi,

    I’m sorry but you can’t override the shortcode file in the child theme. You need to modify the parent theme files.

    Best regards,
    Ismael

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