New Landing How can we help? Atelier Post template

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #239493
    GRAV
    Member
    Post count: 11

    Hi, I want to edit the post template via php so that all posts:
    – Have a light naked header
    – Page title style is hero
    – The header image is dynamic (eg in /images/posts/ )
    – Subtitle is dynamic (eg name of post category)

    If there is a single template where I can edit the post meta, that would be preferred.

    Thanks.

    #239497
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The post meta options are set in atelier/includes/meta-boxes.php.

    Thanks.

    #239750
    GRAV
    Member
    Post count: 11

    Ah ok well this seems to be the defaults for all the posts. How can I say make the page title style hero for all posts including the existing pages with code? Essentially, make no use of the GUI of the meta-boxes and have all posts have the same look and feel?

    Thanks

    #239770
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    This is fairly complex and would require you to modify a PHP function sf_page_heading().

    If you activate your child theme and then located the child theme functions.php and paste in this override function. http://pastie.org/private/3i0f7hhhmgvdns3n8oywma.

    This function will retrieve the meta value from posts/pages ect and you will be able to override this here to use the static meta value you need.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register