ivadenis
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Mobile Redirect] Apply Redirect to a particular page onlyHi, I’m trying to actually use redirect on all pages except one.
So, if user comes to my https://www.mysite.com/no-mobile-redirect from a mobile device, there is no redirect. On all other cases there is redirect to https://www.m.mysite.com…I tryed to use the following code, but for some reason it doesn’t work…
function pmr_single_page_only(){ if (!is_page( '498' ) || !is_post( '498' ) { pmr_mobile_redirect(); } add_action('init', 'pmr_single_page_only');
Any suggestions?
Forum: Plugins
In reply to: [Testimonials by WooThemes] rotating ads in any order showing 1 up at a timeHi, Matt!
I’m trying to implement rotating testimonial but having some difficulties.I want to show category specific testimonials on the pages using template tag implementation.
I used the following to load testimonials on page.
<?php do_action( 'woothemes_testimonials', array( 'category' => get_post_meta( get_the_ID(), 'minti_testimfilter', true) ) ); ?>
How do I make them rotate?
How do I load testimonial filter array in order to create meta selection box for different categories? It should be something like this:$types = get_terms('portfolio_filter', 'hide_empty=0'); $types_array[0] = 'All categories'; if($types) { foreach($types as $type) { $types_array[$type->term_id] = $type->name; } }
Can you give me some advice on how to implement this feature?
Thank you very much!
Forum: Plugins
In reply to: [Store Locator Plus? for WP] Store Page TemplateOk, I managed to figure something out!
In order to direct specific template for Store Pages I did the following:In my theme’s single.php I added the following conditions:
<?php if ( $post->post_type=='store_page' ) { require_once (TEMPLATEPATH . '/single_storepage.php'); }else { require_once (TEMPLATEPATH . '/single_blog.php'); } ?>
Then I added single_storepage.php where I could tweak it any way I wanted!
Hope this solution helps!
Forum: Plugins
In reply to: [Store Locator Plus? for WP] Store Page TemplateLooking for directions too! Please advise!
Forum: Plugins
In reply to: [Store Locator Plus? for WP] Getting Store Page Categorizes Indexed.@Charlseton Software,
ou could change the page type from ‘store_page’ to something else
where do I change that?
Indeed, the plugin doesn’t work with SEO Ultimate…
How to fix that?