Jump to content
Sign in to follow this  
tfalkowski

Simple Text Editing?

Recommended Posts

tfalkowski

By default platform pro takes a lot of liberties with misc filler text.. For instance the Author Date Category banner under each post title. On Date In Category By Author... etc.. is there a way to easily change the text (On, In, By)? Thanks in advance, -Thomas

Share this post


Link to post
Share on other sites
Kate

Hi Thomas, You would have to use a filter on that "meta" function.

Share this post


Link to post
Share on other sites
tfalkowski

sorry, I am still rather new to this. Can you point me in the direction of an example of how to do this?

Share this post


Link to post
Share on other sites
cmunns

Essentially you take part of the function that you want. For example this would replace your entire metabar with just the date portion. You can remove the "on" by deleting it in the function below. Add this filter to your functions.php file ` add_filter('pagelines_post_metabar', 'your_function'); function your_function($metabar){ $metabar = sprintf( '%s [post_date] ', __('On','pagelines') ); return $metabar; } `

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  

×