Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Support date
- This topic has 3 replies, 2 voices, and was last updated 1 year, 6 months ago by
Ernest Marcinko.
-
AuthorPosts
-
November 21, 2024 at 3:36 pm #51951
rla_z2En
ParticipantI bought the PRO version today but when I go onto online portal the support date only shows to 2024-11-21 12:09:44
Please can you clarify why this is?Also, I would like to add Ajax Super Pro to a php template. Is that possible?
<?php
/**
* The template for displaying archive pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package firstchoice
*/get_header();
?><main id=”primary” class=”site-main”>
<div class=”wpb-content-wrapper”>
<div class=”vc_row wpb_row vc_row-fluid”><?php if ( have_posts() ) : ?>
<header class=”page-header cat-title”>
header section OK[wd_asp id=2]
<?php
the_archive_title( ‘<h1 class=”page-title”>’, ‘</h1>’ );
the_archive_description( ‘<div class=”archive-description”>’, ‘</div>’ );
?>
</header><!– .page-header –>
<!– Archive Author Page
before loop loop –><?php
/* Start the Loop */
?>
<div class=”cat-grid”>
<?php
while ( have_posts() ) :
the_post();
if (get_the_post_thumbnail_url() == ”):
$img = ‘https://www.leisurebuildings.com/wp-content/plugins/js_composer/assets/vc/vc_gitem_image.png’;
else :
$img = get_the_post_thumbnail_url();
endif;
?>
<div class=”cat-grid__item”>
” title=”<?php the_title(); ?>”>
<div class=”cat-grid__thumbnail” style=”background: url(‘<?php echo esc_url( $img ); ?>’);”>
</div>
<div class=”cat-grid__inner”>
<h4><?php the_title();?></h2>
<p><?the_excerpt();?></p>
” class=”cat-grid__button” title=”<?php the_title(); ?>”>Read More
</div>
</div>
<?php
endwhile;the_posts_navigation();
else :
get_template_part( ‘template-parts/content’, ‘none’ );
endif;
?>
</div>
</div>
</div>
</main><!– #main –><?php
get_sidebar();
get_footer();November 21, 2024 at 7:22 pm #51954Ernest Marcinko
KeymasterHi,
The support date was only a minor label issue, I made a correction on the products page script, now it should show “Lifetime” correctly. Thank you very much for letting me know.
Yes, it is possible to use the plugin in a template. Use the PHP version of the plugin shortcode within a template like so:
<?php echo do_shortcode('[wd_asp id=1]'); ?>For each search bar you can find this PHP version of the shortcode by clicking this toggle, then copying it from here.
I hope this helps!
November 21, 2024 at 7:41 pm #51955rla_z2En
ParticipantThank you Ernest for the swift reply. I look forward to using your plug-in.
November 21, 2024 at 7:42 pm #51956Ernest Marcinko
KeymasterYou are very welcome!
-
AuthorPosts
- You must be logged in to reply to this topic.