bbtodd
Forum Replies Created
-
Ah thank you. I could have sworn I tried that too but it’s working now.
Forum: Plugins
In reply to: [WP Job Manager] PHP Errors when clicking on Apply buttonThank you for the response. We’re using Cariera Theme and Fetch Jobs plugins as well. So maybe one of those is adding this field.
It’s odd that the default field for the apply button appears to be overridden. Will have to dig into this further.
🙏 Very helpful. Much Appreciated.
- This reply was modified 4 years, 11 months ago by bbtodd.
Forum: Plugins
In reply to: [WP Job Manager] PHP Errors when clicking on Apply buttonI think that the root cause of this is that on the edit job backend, the form field External “Apply for Job” link: is empty and my guess is it’s not being auto-filled when the RSI feed comes in.
But despite that, shouldn’t there be a check in the PHP code to see if the variable is empty or not, so that you don’t get this error when clicking on the button?
include(): Filename cannot be empty in … wp-job-manager/wp-job-manager-template.php on line 27Thanks for your quick reply. I saw there was an update to the Fetch plugins and I upgraded to Version 1.7.0.1 but I still see the wp_no_robots code in there.
Do you know when this change will be pushed live?
Thank you.
Forum: Plugins
In reply to: [WP Job Manager] Keyword search not workingI was / am having issues with search. This thread might help you?
https://wordpress.org/support/topic/search-not-working-correctly-2/
- This reply was modified 4 years, 11 months ago by bbtodd.
Forum: Developing with WordPress
In reply to: Pagination when doing an AJAX queryOK, thanks for your reply, yes, faux Javascript pagination would get ugly, I can see what you’re saying to do here. So I guess paginate_links isn’t designed for this usage. I’ll have to get the page value from the URL and do another query each time. Shouldn’t be too hard to implement. Cheers.
Forum: Developing with WordPress
In reply to: How to meta_query for metadata that is an arrayAlways find the answer right after I post
LIKE instead of IN works for me.'meta_query' => array( array( 'key' => '_venuelocations', 'value' => 'United Kingdom', 'compare' => 'LIKE' ) ),Resolved. There were several posts with some kind of issue crashing the site. Instead of trying to load all posts I went through the tedious process of changing the number of posts_per_page until the site crashed, then tracked down which post that was and changing that to draft mode. Now the loop works.
I figured out the solution. You have to target this one by name not size. The code at the bottom will show you all the sizes your theme/site is generating. That’s how I determined the name of the image I need to disable is ‘twentytwenty-fullscreen’
Disables image:
unset( $sizes['twentytwenty-fullscreen']);//1980px widthDisplays all image sizes/names:
$image_sizes = wp_get_additional_image_sizes(); print_r($image_sizes); echo '<br>'; foreach ( $image_sizes as $key => $image_size ) { echo "{$key} ({$image_size['width']} x {$image_size['height']})"; }Forum: Developing with WordPress
In reply to: Changing the widget code in a child theme.Thank you for the replies, I would ask on the themes forum except you need to prove you bought the theme and I’m a contractor, I have no receipts.
I will create my own custom widgets and direct the footer to use them instead of the theme’s default widgets.
The problem is the default theme widget puts the title in an H4 tag and supposedly that’s bad for SEO ¯\_(ツ)_/¯ who knew? So I need to change the tag for the title.
Thanks for checking. OK, sorry, this probably is not specific to Posts 2 Posts.
I’ve been looking into this and version 5.5 had some dramatic updates to JQuery and I see several errors in my console, it must be some other code conflicting with things. I’ll have to go through these instructions and try to resolve this.
https://www.searchenginejournal.com/how-to-fix-wordpress-5-5/378452/FOLLOW UP:
1. The new version of this plugin did crash my site. I had to revert to my old version of P2P and then disable update by changing the version number in the PHP file to 9999992. The wordpress update to 5.5 has caused the plugin to not work while in admin. If I’m editing a post and try to make a connection it scrolls up to the top of the page. This is the HTML code:
<div class="p2p-create-connections" > <p class="p2p-toggle-tabs"><a href="#">+ Create connections</a></p>I can’t be the only one that is experiencing this issue since the 5.5 update? I rolled back to 5.4.2 and it works correctly. So what is going on in version 5.5 that’s conflicting with this?
In the plugin files box.php has this code
// View responsible for the entire metabox MetaboxView = Backbone.View.extend({ events: { 'click .p2p-toggle-tabs': 'toggleTabs', 'click .wp-tab-bar li': 'setActiveTab' },Any help in piecing together a solution?
Forum: Fixing WordPress
In reply to: How to change a plugin so it’s not reliant on updates.Thank you! Although there seems to be another problem but that fixes that issue.
Well until I find a better plugin I added css to class
.wp-block-jetpack-slideshow_image {
width: 100% !important;
height: 100% !important;
}But I’m pretty unimpressed that I have to resort to this.