Jump to content
Sign in to follow this  
editoraudf

Adding Title to Featured Section, Box Section and Carousel Section

Recommended Posts

kgstew

Hi Stefan, Using a hook is the proper way to place text above or inside of the feature, box or carousel pages. Use the functions.php file in Platform base to add the desired text to your page. Cheers, -Kyle

Share this post


Link to post
Share on other sites
editoraudf

Look my functions.php?

	    add_action('pagelines_inside_top_featured','add_featured_title');
	
	  function add_featured_title() {
	    $titulo = '<p class="featured_title">??ltimos Trabalhos</p>';
	    echo apply_filters($titulo);
	    }
	

doesn't show.

Share this post


Link to post
Share on other sites
cmunns

You have a typo. the hook name should be pagelines_inside_top_feature

Share this post


Link to post
Share on other sites
carletto0282
Hi there guys, I'm trying to add title to my box section but I'm in a little trouble since I have several box sections that need different titles. I try to take a look to the action map but it seems all box sections have the same pagelines_before_boxes hook ... so what I'm supposed to do? Since the title I need is the name of the box set maybe I try to dinamycally call it inside my function but how can I do it? Thanks in advance. Carlo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×