Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #849601

    I would like to add custom img / icon for each category at blog page. Image should display next to the category name or instead of category name above post title at Single Post page and Blog (Archive) page.
    For blog i am using empty page that is selected for blog page at theme and wp options. Blog Style: Elegant and Blog Layout: Grid
    Problem is that when i make changes in file loop-index.php changes are showing only at single post page.
    I made some changes in section //elegant blog //prev: if( $blog_global_style == ‘elegant-blog’ ) – After Line 185, and changes are shown only at Single Post page.
    Can you tell me how can i apply those changes to post title ( category above title) at Blog (archive) page?


    Hey rakocevic,

    Thank you for using Enfold.

    The blog style is set to grid so you have to modify the config-templatebuilder > avia-shortcodes > postslider.php file.

    Best regards,


    Thank you Ismael,
    Kind regards.


    One more thing.
    How can i include postslider.php into my child theme?
    Thank you.



    If you have downloaded the child theme here: just copy postslider.php then on the child theme create shortcodes folder then paste postslider.php and modify it.

    Best regards,


    I tried to copy modified postslider.php to:

    • /enfold child/ (child theme root)
    • /enfold child/shortcodes
    • /enfold child/config-templatebuilder
    • /enfold child/config-templatebuilder/avia-shortcodes

    But file is not making any changes to website, but when the same changes are applied in code of original file in parent theme changes are displayed on the website.
    After every change i used ctrl+f5 to flush cache.



    The 2nd one is right, but you might have not downloaded the child theme from the link I posted above, you would need to add the php code that is in this post:

    Best regards,


    Thank you guys.
    Great support.



    Cool. Let us know if you need anything else.

    Best regards,

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Custom Category Icon at Blog Post Title’ is closed to new replies.