atkulp
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Simple CDN does nothing at allFrom my troubleshooting it seems clear that the plugin just can’t handle relative paths. I wrote a hook to detect relative image paths and convert them to absolute CDN links and it works fine now. It would be really nice to have a setting to include relative links for this plugin
Forum: Plugins
In reply to: [Carousel Slider] All carousels stopped working with latest updateThis continues to be an issue even with 2.2.8. Can you please consider supporting different post types?
Forum: Plugins
In reply to: [Carousel Slider] All carousels stopped working with latest update@ploinkie I don’t think this is the same issue since it doesn’t work anywhere for me and I’ve determined it’s because it only looks for post_type of “post”. Not sure that it matters since I never got a response… It might be better to open a separate ticket.
Just to help anyone else out, I found three places to make updates (in v2.2.8).:
- wp-content/plugins/carousel-slider/includes/Supports/FormFields/SelectPosts.php:18
- wp-content/plugins/carousel-slider/modules/PostCarousel/Helper.php:31
- wp-content/plugins/carousel-slider/modules/PostCarousel/Template.php:96
On each file:line above, there’s an associative array setting a value for ‘post_type’. Either change from:
'post_type' => 'post' # or whatever your desired type
Or, for multiple types, set a new array:
'post_type' => array('post', 'page', 'whatever') # Replace these three array items with whatever you need
- This reply was modified 9 months ago by atkulp. Reason: added fixes
Forum: Plugins
In reply to: [Carousel Slider] All carousels stopped working with latest updateAt this time the plugin is not usable at all. I’ve tried categories, latest, tags, and the results are wrong. The query is just broken.
I just noticed that the query is hard-coded for post type of “post”. I use several custom post types so that would explain 0 rows being returned. Can that be changed to either remove it or let it be set?
SELECT?wp_posts.ID
FROM?wp_posts
LEFT?JOIN?wp_term_relationships
ON?(wp_posts.ID = wp_term_relationships.object_id)
WHERE?1=1
AND?( wp_term_relationships.term_taxonomy_id?IN?(238) )
AND?wp_posts.post_type = ‘post’ <<<<<<<
AND?((wp_posts.post_status = ‘publish’))
GROUP?BY?wp_posts.ID
ORDER?BY?wp_posts.ID?DESC
LIMIT?0, 1It would also be great to have some settings around how the post content is displayed. For example, toggle metadata. Maybe even easier would just be a full, condensed, and tight version to choose from.
The errors all seemed to be related to being cut off. If you enable it, the entire file becomes a single line, but perhaps there’s a limit somewhere on line length so it’s just truncated.
Forum: Plugins
In reply to: [W3 Total Cache] Performance warning from WordPressLatest. 6.2.2
Forum: Plugins
In reply to: [W3 Total Cache] Performance warning from WordPressThanks for the response! I disabled and deauthorized page speed and cleared the object cache, but I continue to get the critical perf warning and it’s still caching the 530kb blob. What other step do I need to follow?
Forum: Plugins
In reply to: [Gutenberg] How do I enable custom fields in the Gutenberg editor@lolobu deserves upvotes! I was just struggling with this and was frustrated that the WP documentation is outdated (referencing Options instead of Preferences), but then it didn’t matter anyway due to ACF. Thanks for posting this easy fix!
Forum: Plugins
In reply to: [Google Maps CP] Can I show points on the map for all posts on the page?great! that works nicely.
Thanks for taking the time so far. I’m still working on this, but it’s between some other things. I hope to reply in the next day or two.
I’m using the CPT UI plugin. My custom post type has a rewrite set like this:
$args = [ "label" => __( "Apps/Reviews", "darknews-pro-child" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => true, "show_ui" => true, "show_in_rest" => true, "rest_base" => "", "rest_controller_class" => "WP_REST_Posts_Controller", "rest_namespace" => "wp/v2", "has_archive" => false, "show_in_menu" => true, "show_in_nav_menus" => true, "delete_with_user" => false, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => false, "can_export" => true, ======>>>> "rewrite" => [ "slug" => "review", "with_front" => false ], "query_var" => true, "menu_position" => 5, "menu_icon" => "dashicons-location-alt", "supports" => [ "title", "editor", "thumbnail", "excerpt", "trackbacks", "custom-fields", "comments", "revisions", "author", "page-attributes" ], "taxonomies" => [ "category", "post_tag", "app_language", "app_genre", "review_supported_headset", "play_areas", "post_status" ], "show_in_graphql" => false, ];
Does that help? I’m still learning how to customize my WP instance so if there’s a better way to do this, I’m ready to learn!
my site is https://www.vrvoyaging.com
Forum: Fixing WordPress
In reply to: Unable to activate any plugin but no errorI got it working. I hate that it kept saying that it succeeded. The issue was needing to increase pm.max_children. I had already done that but didn’t think to restart the php-fpm service so it never took effect. Thanks so much for responding so quickly!
Yeah, I’m setting custom CSS. if you could add support for light vs dark styling (or just use colors that work either way) that would be great
Forum: Themes and Templates
In reply to: [DarkNews] Creating a child themeI ended up figuring it out. That link is where I started and really wasn’t any help. It just had lots of “if your parent theme is… then do this…” I couldn’t find exactly which one so it was a lot of trial and error. The other issue was losing all of my customizations, which I solved with a separate import/export settings plugin. It was just a lot more effort than I hoped.
I found the preloader option, but it would have been helpful for your above reply to made it clear where you have the setting (in Theme Customize – Theme Settings – Global Settings). I’ve disabled it, but Lighthouse doesn’t really show a difference either way. On mobile it scores in the 40’s, on desktop it’s in the 90’s. Any idea why mobile would be so bad?