Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1005737

    Hi guys!

    ANyway we could add a function to only show “page titles” styles like my link for portfolio pages ?

    Maybe , maybe not ?

    #1005842

    Hey eberswine,

    Thank you for using Enfold.

    I’m not really sure what you’re trying to do here. Can you explain it a bit further? Or provide a screenshot.

    Best regards,
    Ismael

    #1005870

    From the link above – I basically would want to come up with a template or “add action before content” to display a “global page title” design that I could use on portfolios pages.

    #1005886

    Hi,

    You can try the “ava_after_main_container” hook. That hook is located right after the main container.

    add_action('ava_after_main_container', 'ava_after_main_container_mod', 10);
    function ava_after_main_container_mod() {
        echo 'ADD ANYTHING HERE';
    }

    Best regards,
    Ismael

    #1006232

    Great, that works.

    What about a condition for only showing on Single Portfolio pages ?
    if page_template = “portfolio” {

    ??

    #1006282

    Hi eberswine,

    PLease try the code like this

    
    if ( is_single() && 'portfolio' == get_post_type() ) {
      // DO STUFF
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1006307

    There it is!! Much thanks.

    #1006387

    Hi,

    Awesome! Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Header page title for Portfolio pages only ?’ is closed to new replies.