Create Shortcode Title Page as desired



Create Shortcode Title Page as desired


Many of you want to display the Title Page as you want, but wrodpress does not have it available, so I made a tutorial to create the shortcode title page that you want for your website to be more flexible.

How to create short code title page

You add the code to create the shortcode below into the theme's Function.php!

function myshortcode_title( ){
return get_the_title();
}
add_shortcode( 'page_title', 'myshortcode_title' );

Once created, you can add the code below to the stage you want

(page_title)

That's it, Later you want to show the title where you just need to add shorcode (page_title) This is voltage stabilizer: p

Thank you all for your success!



About My name is Nguyen Manh Cuong. I was born in a poor village in Ba Vi district, HA NOI province - windy and sunny land. Currently. https://www.insurancefinances.com/. Mr Cuong.
Newer Posts Newer Posts Older Posts Older Posts

More posts

Comments

Post a Comment