Hi guys!
ANyway we could add a function to only show “page titles” styles like my link for portfolio pages ?
Maybe , maybe not ?
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
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.
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
Great, that works.
What about a condition for only showing on Single Portfolio pages ?
if page_template = “portfolio” {
??
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
There it is!! Much thanks.
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