Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1190415
    nathansjcorp
    Participant

    Hi Rue nel,

    I would like to add my changes to the archive page as well, could you please direct me to the correct php file?
    Or do i need to inject via functions php?
    I’m currently using Renew stack

    #1190420
    Paul R
    Moderator

    Hi,

    You can copy the file wp-content/themes/x/framework/views/renew/_content-post-header.php to your child theme ( wp-content/themes/x-child/framework/views/renew/_content-post-header.php) and add your changes in there.

    Thanks

    #1190434
    nathansjcorp
    Participant

    ok, great, that should work for the logo & title.

    Let’s say i want to change the pagination, or the rows/ masonry

    for example:

    Div 1 = 2 recent posts (position horizontal, featured image = true, meta= true, excerpt= true)
    Div 2 = Rev slider or other full width image content, or ACF field
    Div 3 = 4 smaller thumbnail size recent post(offset=2)
    Div 4 = 8 recent posts (position horizontal, no featured image, meta= true, excerpt= true)

    What php file do i need to edit?

    #1190446
    Christopher
    Moderator

    Hi there,

    In a normal WP page, you can add recent posts elements but if you try to change archive page, regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #1190487
    nathansjcorp
    Participant

    Ok logo and title updated,

    I added a line to the content.php file as that is where i wanted my second title.

    Concerning my example:

    Div 1 = 2 recent posts (position horizontal, featured image = true, meta= true, excerpt= true)
    Div 2 = Rev slider or other full width image content, or ACF field
    Div 3 = 4 smaller thumbnail size recent post(offset=2)
    Div 4 = 8 recent posts (position horizontal, no featured image, meta= true, excerpt= true)

    I understand this is outside the scope….
    Could you just tell me what files need to be edited?
    all i’m asking for is a list.

    other themes usually list this in their technical documents, but i did not find any.

    #1190497
    Christopher
    Moderator

    Hi there,

    You need to customize _index.php file which is located under wp-content/themes/x/framework/views/global.
    In order to edit the file, put in the exact path inside child theme.

    Hope it helps.

    #1190521
    nathansjcorp
    Participant

    ok got it. thanks!

    #1190538
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1172343 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>