In the past I would use nextbox for this task. However, Platform 5 does not have nextbox. I will do my best to describe what I am trying to do.
I am creating a template for coaches, each product has its own link but they all share a common coach id. I want to set up the templates with the links for each product with a variable for the coach id so that I can change the coach id for all the links on the site by just changing the value of the variable $coachId. To do this I'll need to do something like the following...
<a href="salesite.com/productcodes/referringRepId=<?= $coachId ?>" target="_blank">Product Purchase Link</a> Is it possible to do this with Platform 5?
I'm having an issue getting shortcodes to work using the Nextbox section since Wordpress updated to 2.4.4 where they fixed a security issue with shortcodes and caused plugin developers who utilize shortcodes to update their code. I can get shortcodes to work if they are created using php but if they are shortcodes from a plugin such as Custom Content Shortcodes, they don't work. Even trying to use a simple shortcode like [field title] on a page doesn't render the page title anymore like it did before the WP update. The Custom Content Shortcode plugin has been pushing updates to remedy issues since the WP update and I can get the shortcode to work if I put it in WP Content, but if I try using the Nextbox section, I just see [field title].
I don't know if there's something you guys need to update on the Nextbox section or if there's something you can tell me codewise to pass along to the developer of this awesome plugin to allow this to work again in Nextbox, but I need to get this working ASAP!
I'm trying to add php code in the NextBox for the copyright date. I'm getting this error:
Looks like your NextBox PHP resulted in an error :/
Here's the code I'm using:
© <?php echo date("Y"); ? Any idea how to get this to work?
I need to display a shortcode in the footer of my site and have been told by the support admin to add a function in my functions.php file or use hooker.
I installed hooker and i have no idea how to proceed.
I went to the hooks editor and am faced with a list in a dropdown menu....
So where to from here.
so this is what i need to do:
I have created 3 custom fields using advanced custom fields.
I need to display that data in a PLNEXTBOX in the footer of the site so that the info is displayed on every page of the site in the footer.
How do i use hooker to do this?