Jump to content

Custom hook inside CMS content or shortcode


kfedorov
 Share

Recommended Posts

Hi!

 

I have CMS pages with block of repeating content and want to edit this block in one place not on every page.

 

So I'm looking how to do that.

 

It seems to me there is 2 ways:

 

1. Using something like shortcode in wp to insert predefined values into text. 

 

2. Insert custom hook right inside the cms content and then using one of the modules available to pass custom html to any hook but as I undestand it will also uses some shortcode to pass hook into the page as it must be assign to smarty in controller....

Share this post


Link to post
Share on other sites

  • 3 weeks later...

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More