![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/27c64319e1ca198958613305e6ea1b6e-87a1c39.jpg)
I re-read the docs and im glad things are getting clearer. Now Im stuck - the major confusion is something like adding span between page H1
tag.
Because I only wanted to apply said change on spectific pages I went with a contitional tag calling these targeted pages in my adapted 'function' file. (cleaned up my function.php)
Now the next step is to modify the beans_post_title
to add the span before the $title
Its obvious my beans_open_markup() beans_close_markup()
is where the confusion begins. Otherwise Im using a complicated apporach?
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/745a174c643b049cd050c2f2734d320e-87a1c39.jpg)
Hi Dee,
You could add a is_page conditional check in your functions file, then use the Markup API to wrap the page title with a span.
Here is an example:
beans_wrap_inner_markup( 'beans_post_title', 'page_title_inner', 'span' );
or
beans_wrap_inner_markup( 'beans_post_title', 'page_title_inner', 'span', array( 'class' => 'your-custom-class' ) );
Hope that helps 🙂
Cheers, Chris
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/27c64319e1ca198958613305e6ea1b6e-87a1c39.jpg)
Thanks Chris.
beans_wrap_inner_markup
I think I understand this can be used now.