Max
Forum Replies Created
-
Forum: Plugins
In reply to: [EasyRecipe] Blocking JS error in adminHi @jayce53 – So in the latest version of the Impreza theme (I can email you this if need be) there is a Headers panel under the Impreza top-level menu.
https://www.dropbox.com/s/q2khdpgvxtwoumu/Screenshot%202018-08-14%2017.28.05.png?dl=0
Adding a header element is fine, but then when editing a header that’s where the js gets blocked. Disabling the plugin allows the headers to be editable again.
Forum: Plugins
In reply to: [Simplr Registration Form Plus+] Fatal ErrorAlso have this problem. I reverted to 2.4.3 until this is fixed.
Thank you! Excellent support!
Forum: Plugins
In reply to: [Groups 404 Redirect] Redirect to a page or post option is not workingHey @itthinx,
I’m having the same problem as @bradford – setting the redirect to a page/ post ID just redirects to the homepage.
Page ID is set correctly and page title shows in the Title field.
On the redirect, the correct redirect page URL flashes in the browser (tried Chrome/Firefox/Safari) before sending user to the homepage.
https://www.nocapocis.org – a “protected” page would be https://www.nocapocis.org/submit/
The site is on Dreamhost / there is a long list of plugins, but deactivating them all and trying the default theme didn’t make any difference.
Thanks in advance for your help and let me know if you need further info!
Would either of you mind pointing out where you added the code snippet to the Simple Share file? I’ve run into this problem, and I’ve tried inserting it in the email button section and elsewhere but I can’t seem to get it working. Any help is much appreciated!
Thank you both.
EDIT: nevermind – I found the more recent thread with the updated code fix – https://www.ads-software.com/support/topic/not-working-properly-on-events-page?replies=10
Thank you!!
Forum: Plugins
In reply to: [Custom Post Type UI] weird problem – can't query custom postsHi Michael –
THANK YOU for the pre_get_posts suggestion – that was exactly the problem. I forgot that I had been working on adding posts to category archives and had left some hanging code there, and when I was testing the dev server connection was bad, so when I was commenting out that code it wasn’t registering.
For anyone else with this problem, I fixed it by modifying the pre_get_posts function I was using from this:
function custom_post_archive($query) { if (!is_admin() && ($query->is_archive) ) { $query->set( 'post_type', array('productos', 'proyectos', 'nav_menu_item', 'post') ); //preserve nav menu on templates remove_action( 'pre_get_posts', 'custom_post_archive' ); } } add_action('pre_get_posts', 'custom_post_archive');
to this:
function dvo_add_custom_types( $query ) { if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) { $post_types = get_post_types( '', 'names' ); $query->set( 'post_type', $post_types); return $query; } } add_filter( 'pre_get_posts', 'dvo_add_custom_types');
Which I found in the comments here: https://css-tricks.com/snippets/wordpress/make-archives-php-include-custom-post-types/
And that allowed my category archives AND preserved the proper loops.
Thanks again for your support – really great, for a really great plugin.
Forum: Plugins
In reply to: [Custom Post Type UI] weird problem – can't query custom postsHi Michael – Thanks for your response. There’s something weird going on – printing out the $posttype returned the object as you would expect – maybe there’s a setting in there that I’m checking off wrongly? I wouldn’t think that would make the post un-loopable. I left the output on the page for reference. https://gentry1.bluestormcreative.com/proyectos/
I also tried again to switch the query to a WP_Query just to double check, and again the output is all the other posts:
<?php $query = New WP_Query('post_type=proyecto'); if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?> <li <?php post_class(); ?>><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> <!-- post navigation --> <?php else: ?> <!-- no posts found --> <?php endif; wp_reset_query(); ?>
I’m at a loss with this one. Maybe going to start from scratch a second time and write the code without the plugin?
Forum: Plugins
In reply to: [Really Simple Share] Pinterest button not showingHi – I know this is marked as resolved but I can’t see how it was resolved, and I’m having the same problem –
Running WP 3.5.1 and plugin 2.7
I’ve got a site where there is a custom post type where images are inserted via custom fields, and sometimes the Pin It button recognizes the image and sometimes it doesn’t and therefore doesn’t show up.
These are two nearly identical posts:
https://billingsbridge.com/store-directory/booster-juice/
https://billingsbridge.com/store-directory/coles-the-book-people/
and yet the second one doesn’t show the Pin It button, but in the source I can see the space where it should be.
I’ve tested with the “use multiple image” option and all that does is remove the Pin It button and replace it with alt text. Switching to the “use old code” option changes nothing, the Pin It button still only shows on some pages and not others. I’ve also tried rearranging the order of the buttons, but that also changes nothing.
If I add a featured image, of course the button shows up, but these posts only have the single image set and I would certainly prefer not to have to go in and set a featured image on each one just to use the button.
Please advise, and thank you!
Forum: Plugins
In reply to: Delete image from sliderly slideshow?Forum: Fixing WordPress
In reply to: display post titles only for descendants of a certain categoryHi Fire Truck –
Thanks so much for this. When I drop the code in with the proper category id, it removes all the titles for all categories – which makes me think these categories aren’t in the normal category table . Is that possible? These portfolio items are custom post types – could that be the problem?
Thank you for any further suggestions.
Forum: Fixing WordPress
In reply to: pev/next pagination for custom post types?i finally found a suggestion after almost a day of searching:
from the admin panel, switch to default permalink structure and save. then switch back to whichever custom permalink structure. and then it worked just fine.
Forum: Themes and Templates
In reply to: can you query posts assigned to two categories?Thanks, Jason! I had looked through that reference page, but couldn’t understand. With a night’s sleep and your suggestion I was able to work it out.
Forum: Fixing WordPress
In reply to: Need to stop a stylesheet from loadingI managed to fix it by really focusing on the cascade.
Forum: Fixing WordPress
In reply to: undefined function get_header() after submit formI managed to fix it!
I needed the redirect in the validation script to point towards the wordpress slug. DUH.
Forum: Fixing WordPress
In reply to: Need to stop a stylesheet from loadinghttps://www.phoenixrisingtheater.org/dynamic/contact-2/
is the proper link! Sorry!