bward
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How can I default embedded posts to “square” formatting?It looks like I find a solution!
https://davidstockdalescrapcode.co.uk/embedded-posts-forcing-square-images
Forum: Developing with WordPress
In reply to: How can I default embedded posts to “square” formatting?No, I’m not using that one actually. Thanks for trying to help!
Hey Sybre, I used that plugin to cleanup
wp_options
some years back, big help there. Outside of that, I concur with you. I use wp-config.php for revisions.So I ran a test on my dev site. I had the cleaner plugin go through the motions, but it didn’t change the TSF meta title. I also forced a clean of all the tables, and it still didn’t alter the TSF meta title.
I’ll leave it deactivated, but I’m not sure what else could be causing this. It’s been quite crazy.
No worries.
I just did as you requested. Thanks sir.
Any idea what is causing this?
Hey Sybre, hope you’re well sir.
The “Meta Title” does add placeholders, no issue there.
The problem is when I manually update the “Meta Title,” what I called the “SEO Title.” I have updated my Meta Titles, saved the post, came back and the titles are there.
Yet, when I check back months later, they’re always gone. As I said, I thought it was just me, but I’ve been logged my articles and SEO titles and they’re always gone. I’m not sure what gives…
Peter,
I appreciate the information, it’s doubtful this was caused by my site. I do manual htaccess redirects.
Nevertheless, I have 5.85k of these pages.
Can I delete them or do they delete themselves over time?
Lastly, I set the security logging to just 100.
Does this mean the site will only create roughly 100 of these URLs?
Thanks for the response Peter.
Presently, in Search Console, they’re “Crawled – currently not indexed.”
The concerning thing, I’ve proven through my own experimentation, that having non-relevant URLs on your site does affect it’s SEO, big time. Anything that deviates from your main site theme harms your ranking. Serving blank pages is not relevant to my sites topic, so it will not help, and can very well hinder it.
Isn’t there some hidden option to turn Live Traffic off completely? If so, how do I delete the blank URLs?
Thank you sir.
Unfortunately, this code doesn’t seem to work. Nothing is excluded.
I doubled checked as well by replacing
is_post_type_archive
with
is_archive
As before, then “my-archive” is removed from all archives. I’m not sure what the hang up is here. Appreciate the help though.
Ahh, I just realized the excluded posts in the taxonomy term are not only being excluded on ‘my-archive’, but all archives. I am not sure why that is occurring…
Faisal, this was outstanding!
I sincerely appreciate your help, I would still be trying to figure it out if not for your help.
I added,
! is_admin()
As some of the posts were being hidden in the dashboard. One other note for who ever may find this. By nesting your terms under one main term (all in the example), you can exclude all nested terms without adding them individually.
function exclude_tax($query) { if ( ! is_admin() && $query->is_archive('my-archive') && $query->is_main_query()) { $tax_query = array( array( 'taxonomy' => 'your-taxonomy-slug', 'field' => 'slug', 'terms' => array('all'), 'operator' => 'NOT IN' ) ); $query->set('tax_query', $tax_query); } } add_action('pre_get_posts', 'exclude_tax');
Forum: Plugins
In reply to: [Cloudflare] How to purge cache w/APO when using WP Discourse?No sir.
I’ve opened tickets with Cloudflare and on their forums as well with no answer.
Forum: Plugins
In reply to: [WP Search with Algolia] How to block spam?Appreciate the help, it looks like I missed a tab on the Algolia page. I added rate limiting to 10 per hour to test. WP-Search accepted the key, so we should be good to go. I hope this helps someone else as well.
I just realized this causes another issue.
Within the plugin, we have the setting “Enable on all Elementor Forms” on. With the dequeue script, it removes this plugins scripts/styles from all pages except one as we wanted, but this causes an issue.
Our subscribe (on all pages) form is still expecting to authenticate via the plugin setting, being “Enable on all Elementor Forms”. So we haven’t had any subscribes in a week. I just tested this out this morning.
So then, we really need a way to only “Enable on all Elementor Forms” on one page.
Is that possible?
Thanks for the followup, you helped save the day.
I made the magic happen with this for anyone else who may need it.
function cf_turnstile_dequeue_scripts() { if( ! is_page( '123456' ) ) { remove_action('cfturnstile_enqueue_scripts', 'cfturnstile_script_enqueue'); } } add_action( 'wp_print_scripts', 'cf_turnstile_dequeue_scripts', 100 );