Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Change Hooks
#1
Not Solved
i dont know much about php so forgive my subject.

basically what i want to do is to make a shortcode e.g {$whoisonline}, work in a different templates from its orignal.

To be more specific, i have a plugin (affiliate manager), with the shortcode {$affiliatesheader} which only works if placed in the header template group.

what i want is for this shortcode to work globally on all templates (most importantly, footer).

so if i place the shortcode in the footer templates, it will show.
Reply
#2
Not Solved
the header template is global !!! on top

the quickest way, find the template for {$affiliatesheader}, which should be in global templates?

copy its content into the footer template, then delete the content of the one in global templates, or delete {$affiliatesheader}

The more elegant way is to find how to hook into the footer template
Reply
#3
Not Solved
the problem with that is that affilliate header is a group not just one template, there is affiliate_list, affilate_none
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)