Tagged: ismael
-
AuthorPosts
-
March 26, 2017 at 2:14 pm #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,
PoirotMarch 26, 2017 at 4:41 pm #766973March 26, 2017 at 8:14 pm #767029Hi 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,
PoirotMarch 26, 2017 at 10:05 pm #767075Hi,
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-389032As 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,
MikeMarch 26, 2017 at 10:30 pm #767084Hi 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,
PoirotMarch 26, 2017 at 11:29 pm #767093Hi,
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,
MikeMarch 27, 2017 at 1:10 pm #767397Hi 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, 8 months ago by Poirot.
March 27, 2017 at 5:22 pm #767574Hi 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,
VictoriaMarch 27, 2017 at 5:37 pm #767581Hi 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,
PoirotMarch 27, 2017 at 5:50 pm #767591PS: Date and category were above the title on the blog page. In the current Default layout, I’m also missing my featured image.
March 29, 2017 at 4:30 pm #768896Hi!
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,
VictoriaMarch 29, 2017 at 5:46 pm #768960Hi 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,
PoirotApril 3, 2017 at 9:58 am #770987Hi,
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,
PoirotApril 4, 2017 at 6:40 am #771519Hi,
Please go back to the Enfold > Blog Layout > Blog Styling settings. Set it to “Modern Business” instead of “Default(Business)”.
Best regards,
IsmaelApril 4, 2017 at 2:50 pm #771800Hi 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,
PoirotApril 5, 2017 at 4:14 am #772150Hey!
We have reported the issue to Kriesi and it is now under consideration. Please wait for his response.
Regards,
IsmaelApril 13, 2017 at 8:16 pm #777500Hi Ismael,
Ok thanks, keep me posted.
Regards,
PoirotApril 16, 2017 at 3:59 am #778354Hi!
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!
IsmaelApril 29, 2017 at 9:19 pm #785103Hi Ismael,
Thanks for the code. Could you please let me know in which file to paste it?
Regards,
PoirotApril 29, 2017 at 11:16 pm #785122Hi,
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 hereBest regards,
MikeApril 30, 2017 at 11:43 pm #785429I 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?May 1, 2017 at 6:14 am #785501Hi 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 TorvikMay 1, 2017 at 12:49 pm #785674In 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.
May 7, 2017 at 4:52 pm #789102Hi Mike,
Thanks for your help, but the code is not working in my case
Regards,
PoirotMay 7, 2017 at 5:18 pm #789110May 8, 2017 at 4:17 am #789282May 8, 2017 at 9:05 pm #789843May 9, 2017 at 8:58 am #790079Hi,
Did you modify the postslider.php file as suggested in thread? And don’t forget to add the filter in the functions.php file.
Best regards,
IsmaelMay 9, 2017 at 5:37 pm #790473Hi 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,
PoirotMay 10, 2017 at 9:09 am #790925 -
AuthorPosts
- You must be logged in to reply to this topic.