publicradio
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Disable block inline CSSHi, thanks for the reply, and sorry I didn’t see it until now. After trying a lot of things, this turned out to be the winner:
add_filter('get_footer', function(){
wp_dequeue_style( 'jetpack-block-slideshow' );
}, 9999);The ‘9999’ is crucial to get it to actually disappear. Now, if only I could get it to also disappear from the backend (block editor), then my blocks there would look closer to the way they do on the front.
Forum: Requests and Feedback
In reply to: Curlies in code examples: the eternal curse of WordPressI’m surprised this isn’t getting more traction. It’s a chronic, very pervasive problem. WordPress’ own developer reference has this problem! Yeah, there’s a code block further down the page, like @gappiah said, but the H1 at the top of the page includes single quotes that have auto-converted to prime symbols.
Can you imagine how many developers have copied this into their code and spun their wheels until they realized their single quotes were just lookalike characters?
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Force block preview to be full widthThanks, I tried to get pro support but it locked me out. My agency owns a pro license but there was some issue where it thought I was a bot and then I had to submit some form to even log in.
I just used a CSS hack to force the blocks full width in both preview and edit mode. Good enough.
Forum: Plugins
In reply to: [WP Crontrol] Can PHP cron work with standard WordPress hooks?Nevermind, I ran a test and it worked. So the answer to my question is ‘yes.’
Forum: Requests and Feedback
In reply to: Curlies in code examples: the eternal curse of WordPressThat doesn’t solve the problem, though. For me, personally, I am aware of this problem and can make sure smart quotes don’t show in my code snippets. This doesn’t fix the thousands of tutorials already on the web with converted characters in the code examples.
Forum: Plugins
In reply to: [WPGlobus - Multilingual WordPress] Paid version support not workingSame. I convinced a client to buy Globus Plus so that we could open support tickets. I have done this in the past, and gotten prompt replies from Alex G. Over the last month, I’ve sent more than 5 emails to [email protected] and never heard back from any of them. And obviously you opened this two months ago, and there wasn’t even a reply here. I would say wpglobus is effectively abandonware.
Forum: Fixing WordPress
In reply to: WP Cli warnings unsuppressableThanks for the reply. The –skip-plugins flag did the trick. Do you know if there’s any way to define this as a constant, so I don’t have to add the flag every time?
Forum: Plugins
In reply to: [WPGlobus - Multilingual WordPress] Shortcode showing in outgoing emailsSorry, as soon as I posted this, I realized that I had added a line in my functions to force outgoing emails to come from my site’s name, and not ‘WordPress’:
add_filter( 'wp_mail_from_name', function(){ return get_bloginfo('name'); });
So I changed this to ‘hard code’ in the name of my site. Problem solved.
Thanks for the reply. It appears to be a conflict with a plugin called ‘user tags’. Disabling this fixed my problem.
OK, I figured it out. The htauth wall was preventing the API from working.
OK, I guessed the URL was /wp-admin/edit.php?post_type=ctct_forms&page=ctct_options_logging, but I went to this and it says I’m not allowed to access the page.
I also found a file called constant-contact-errors.log, under /content/uploads/ctct-logs/, but it only has a single line in it:
[2022-06-24 22:08:48] API.INFO: ConstantContact_API::add_list:323 - http.status.not_found - No matching resource was found for the supplied URL. [] []
I am developing on a site that is behind an htauth username and password. Is it possible that this is preventing the Constant Contact API from communicating with the site in order to record the submission?
Thanks for the reply. That submenu never showed up. If you can tell me the direct URL for that page, I’ll see if I can get to it that way.
Forum: Plugins
In reply to: [Yoast SEO] Use heading automatic IDs for custom post typesOK, I created an issue on Githib. Could you tell me where this functionality exists, in the codebase? Maybe I can pull the function and create something in my theme.
Forum: Plugins
In reply to: [Yoast SEO] Use heading automatic IDs for custom post typesAlright, well here’s what it looks like when I create a page in WordPress:
https://snipboard.io/91P0pk.jpg
In Gutenberg, I can set the ‘HTML Anchor’ for a heading under Advanced Settings, in the sidebar. This just creates an ID attribute for the tag.
However, if I leave this blank, Yoast will create an ID for the header, based on the title itself:
https://snipboard.io/jKuEXq.jpg
In this example, I left the HTML Anchor field blank for the first H2, but manually entered something for the second H2. The first one’s ID was filled in by Yoast.
This is what I want, but I also have custom post types. For instance, I use a plugin called Events Manager and it creates a custom post type called ‘Event’. When I add headings to pages or posts, Yoast attaches the auto ID. It does not do this for the custom posts.
How do I extend this functionality to custom posts?
Thanks for the reply. It’s clear that events used to use their own, unique table in the db, and now they use custom post types. Can you tell me when that switch was made?
I simply rolled back the plugin and this fixed my problem. However, I can’t upgrade now without breaking the site again.