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 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?
I'm trying to translate custom PHP templates that a developer coded into pagelines templates. I'm trying to paste the php into a nextbox, but I'm getting this error:
Looks like your NextBox PHP resulted in an error :/
Here's the code. Not sure what I'm doing wrong.
* The template used for displaying page content in front-page.php
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
<?php the_post_thumbnail(); ?>
<?php endif; ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php get_template_part( 'content', 'vehicle-gallery' ); ?>
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post -->
On my website I've been using the standard TextBox that has field to enter a title and select a title wrapper, for example <h3>. On 1 of my site pages I'm using both the PLNext Box that is displaying code better than the standard TextBox and underneath this a Standard Text.
I'm looking to see how I can coordinate a uniform size for both the PLNext Box Standard title and the TexBox title. Using PLNext there is no option to set a title wrapper and specify the size of the standard title.
For example, how would I set both titles to be <h3>?
Thank you for the assistance