nospario
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Bulk Discount for Products in Certain CategoriesThought I might be able to use the wc_bulk_discount_configurer product and assign it to the categories I wanted to apply the discount to. That didn’t work 🙁
- This reply was modified 9 years, 6 months ago by nospario.
Forum: Plugins
In reply to: [mb.YTPlayer for background videos] YouTube Logo Showing on Some ComputersHi,
Nothing obvious. Here are the details I have been sent for the set up…
Operating System Macintosh OS X 10.11
Screen Resolution 1440 x 900
Web Browser Firefox 48.0
Browser Size 1440 x 794
IP Address 194.73.43.186
Color Depth 24
Javascript Enabled
Flash Version 21.0.-1
Cookies Enabled
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0And if you click the link below you will see the screen shot of what plugins are installed.
https://invis.io/U68P00OSW#/190856035_Screen_Shot_2016-09-21_At_09-29-27
Many thanks,
Richard.
Forum: Plugins
In reply to: [mb.YTPlayer for background videos] YouTube Logo Showing on Some ComputersHi Matteo,
Thanks for getting back to me.
Neither am I, this is the frustrating thing. I have tested on multiple computers, browsers, operating systems and I am yet to witness the YouTube logo appearing yet my clients insists it is happening on computers he has tried it on. Incidentally they have all been on the same network, personally I don’t know how that could affect it but I am not an expert. The browser and operating system which my client is seeing it is Firefox and Chrome, MAC Operating systems 10.9.5 and 10.11.5.
Many thanks,
Richard.
Forum: Plugins
In reply to: [WP Customer Reviews] Short Code Not Working on Twenty Sixteen ThemeHi,
Anyone got any ideas about this one? Is the plugin developer responding to queries?
Many thanks,
Richard.
Forum: Plugins
In reply to: [WP Customer Reviews] where is data of reviews in databaseThis will get them for you
SELECT * FROM
wp_postmetawhere meta_key like ‘%wpcr3%’Forum: Fixing WordPress
In reply to: Custom Posts and Taxonomy TermsThis looks promising! Thanks, I’ll take a proper look later on and report back.
Forum: Fixing WordPress
In reply to: Custom Post Type Archive and Single TemplatesOkay, I get it. The custom posts are associated with the categories but when clicking on the dropdown that is retrieving normal posts and not the custom posts.
Forum: Fixing WordPress
In reply to: Custom Post Type Archive and Single TemplatesI don’t want to show them on the same page, I want the custom posts to show up in the custom template, which does work if I browser directly to the post, but when selecting from the category drop down that doesn’t.
I don’t understand why I can assign a custom post to a particular category but then when using the category widget drop down it doesn’t take me to it, even though the post count in the drop down shows that it is picked up.
Forum: Fixing WordPress
In reply to: Automatic Category CreationFound this, seems to do the job.
$arg = array('description' => "my description", 'parent' => "cat_ID"); $new_cat_id = wp_insert_term("cat name", "category", $arg);Forum: Fixing WordPress
In reply to: Automatic Category CreationAnyone out there? I’m trying this now.
Adding this to the functions.php file
wp_create_category(‘My category name’);
causes this error when I try and browse the Themes page in admin.
The website encountered an error while retrieving http://localhost:8888/mysite/wp-admin/themes.php. It may be down for maintenance or configured incorrectly.
I’ve managed to get posts creating fine in functions.php but categories just don’t want to play!
Please help.
Forum: Fixing WordPress
In reply to: Automatic Category CreationRight, I’ve got this in my functions.php file and I was expecting it to insert the category on theme activation, but it isn’t doing so. Any ideas why anyone?
Thanks.
<?php function my_activation_settings($theme) { if ( 'My Theme' == $theme ) { $my_cat = array('cat_name' => 'My Cat', 'category_description' => '', 'category_nicename' => 'my-cat', 'category_parent' => ''); $my_cat_id = wp_insert_category($my_cat); } return; } add_action('switch_theme', 'my_activation_settings'); ?>Forum: Fixing WordPress
In reply to: Automatic Category CreationOkay, l can use the functions.php file by the looks of it.
Forum: Fixing WordPress
In reply to: Automatic Category CreationI see that I can use wp_insert_category, but how can I call this function automatically on theme activation?
Forum: Fixing WordPress
In reply to: Querying Posts Using CategoriesThat doesn’t seem to do it but I found this post which has helped me sort it.
Thanks.
Forum: Fixing WordPress
In reply to: Querying Posts Using CategoriesThanks transom.
That works when I hard code the values in but not when I use the variables. Any idea what I’m doing wrong?
query_posts( array( 'category__and' => array($cat1.','.$cat2)));