antcw
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Astra] IE Edge mobile menu toggle@nikschavan sorry I only just saw your question.
IE Explorer 11.285.17134.0 update versions 11.0.85
Microsoft Edge 42.17134.1.0 Microsoft EdgeHTML 17.17134Forum: Plugins
In reply to: [WooCommerce] Your store does not appear to be using a secure connection….My whole site runs on https and I’ve started getting this notice
Forum: Plugins
In reply to: [Restricted Site Access] Login redirect problem with 6.2.0All working now. Thanks for sorting so quickly ??
Thanks wpgaijin – useful code and link
Still look like it would be a good thing to update it as some point: href=”https://gist.github.com/chriscct7/d7d077afb01011b1839d”>Important Notice for WordPress Plugins Using PHP 4 Style Constructors
Yes it has fixed it! Can’t believe you did it so quickly. Thank you … and thank you for a plugin that does exactly what it says on the tin ??
yes, I’ve noticed the same – it’s killed jquery in admin:
TypeError: cff_token_string is undefinedForum: Plugins
In reply to: [Advanced Custom Post Search] Customising templatesSorry I should have made that clearer. Thanks very much for a very useful plugin and glad to have helped.
Forum: Plugins
In reply to: [Advanced Custom Post Search] Customising templatesI’m using v 1.2.1
I think I might have sorted it – it certainly now finds my theme, though I don’t know if it will cause problems anywhere else. I changed line 49 of acps.php to:'template_path' => trailingslashit(get_stylesheet_directory()),
it was using get_template_directory, which picks up the parent theme
Forum: Plugins
In reply to: [Advanced Custom Post Search] Customising templatesThanks, Shane. Yes I do seem to have understood correctly. Here’s what I’ve got at the moment. I added ‘here’ at the end of the h1 heading just to see if anything was happening. It’s picking up the correct search results, but is using the listing from your plugin, not my theme copy. I’ve copied acps-results.php into my theme as well but haven’t changed it.
<?php //New results loop $acps_results = new WP_Query( $this->acps_args ); //Standard loop if( $acps_results->have_posts() ): ?> <header class="page-header"> <h1 class="page-title"><?php _e('Search Results','acps');?>here</h1> </header> <?php while( $acps_results->have_posts() ) : $acps_results->the_post(); // Start the Loop. while ( have_posts() ) : the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'content', 'event-single' ); endwhile; // Previous/next page navigation. twentyfourteen_paging_nav(); endwhile; else: ?> <header class="page-header"> <h1 class="page-title"><?php _e( 'Nothing Found', 'acps' ); ?></h1> </header> <div class="page-content"> <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'acps' ); ?></p> <?php get_search_form(); ?> </div> <?php endif; ?>