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

    Hi,
    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?

    #850276

    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,
    Ismael

    #850395

    Thank you Ismael,
    Kind regards.

    #850398

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

    #850418

    Hi,

    If you have downloaded the child theme here: http://kriesi.at/documentation/enfold/using-a-child-theme/ just copy postslider.php then on the child theme create shortcodes folder then paste postslider.php and modify it.

    Best regards,
    Nikko

    #850454

    Hi,
    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.

    #850538

    Hi,

    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: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    Best regards,
    Nikko

    #850546

    Thank you guys.
    Great support.

    #850845

    Hi,

    Cool. Let us know if you need anything else.

    Best regards,
    Ismael

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