chrishuh
Forum Replies Created
-
Doing a little more testing and this works:
$args = array( 'post_type' => 'event', 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', 'tax_query' => array( 'relation' => 'OR', array( 'taxonomy' => 'event-type', 'field' => 'slug', 'terms' => 'walk' ), array( 'taxonomy' => 'event-type', 'field' => 'slug', 'terms' => 'talk' ), array( 'taxonomy' => 'event-type', 'field' => 'slug', 'terms' => 'workshop' ) ), );
It’s less tidy but works. So it seems to be something to do with passing multiple taxonomy terms as an array in a single tax_query.
Did you ever get this fixed? I am seeing the same problems.
It used to be the occasional email, now it seems to be almost every one.
When I look back in the log it seems to have started 2 days ago but I didn’t change anything on the website then. What even causes this error?
- This reply was modified 7 years, 5 months ago by chrishuh.
Forum: Plugins
In reply to: [CMB2] Parent theme uses CMB, can I alter settings for child theme?Hi both,
Thanks for getting back. Looking through it the template definitely uses CMB1. I’ll see if I can try some sort of array_search to change the meta_box array values to include the new post types, but I@m not great with PHP so will probably just change the template file itself and make a note to fix anything that changes.
Thanks
Forum: Developing with WordPress
In reply to: Add parent theme metabox to child themeWill do, thanks for your help
Forum: Developing with WordPress
In reply to: Add parent theme metabox to child themeWhat I’m trying to do is use one of the metaboxes that the parent theme provides on some of the new Custom Post Types that I’ve created, so that’ll include the content of the metaboxes and storing anything adding via them.
The easy way would be to edit the parent theme’s code to add the new post types into the add_meta_box() function, but that could always change if/when the parent theme is updated.
While looking through the parent theme again I realised that the theme actually uses CMB to create the metaboxes, which explains why the code looks a little different to the standard add_meta_box function. So I guess it’ll be best to ask a new question under that plugin’s support thread, unless you’re able to move this question over?
thanks
Forum: Developing with WordPress
In reply to: Add parent theme metabox to child themeOh yeah, it’s called Ryla.
ThanksHi,
I have been able to fix most of the issues by increasing the php resource limits. It’s strange because it was working for a few months fine on the old settings.
There is still an issue with the GDrive connection being lost and all files are now uploading to My Drive, rather than the individual folder for that form.
I will use your contact form to chase this up.
Thanks
Forum: Plugins
In reply to: [Favorites] Favorites not working on mobile or tabletsI was finding this. Seems like it was an issue with W3 Total Cache (at least it was for me).
Adding the cookie name (simplefavorites) to the list of rejected cookies in the Page Cache settings, and adding the page I set up as the wishlist shortcode on to never be cached seemed to work.
Forum: Plugins
In reply to: List all postsThanks. i installed the sitemap plugin and configured it to my needs.
The wp_get_archives() parameter can only be used within a template, and can’t be inserted into a Page created in wordpress, can it?