Lucas Karpiuk
Forum Replies Created
-
What’s the ETA on this fix making it to WP.org?
Forum: Plugins
In reply to: [Easy Table of Contents] Javascript console errorThis is very easy to recreate, simply install/activate the plugin and check the JS console while navigating literally anywhere in the WP admin dashboard.
Forum: Fixing WordPress
In reply to: Re-order right panel on post/page edit screen@concept4uk I don’t believe it’s possible to rearrange the core panels in Gutenberg, although it’s possible there’s a filter available to do it with code, I’m unsure.
Forum: Fixing WordPress
In reply to: Re-order right panel on post/page edit screen@concept4uk are you using Block or Classic editor?
@tijosh awesome, thanks!
@aaronn322 are you by any chance with a host using very heavy object caching? that might explain why you were seeing the same error on 3.1.0
@mdedmon @jamiebudesky WP Rollback is my favourite plugin of all time
@jamiebudesky you can use the WP Rollback plugin to roll this plugin back to the previous working version (and then don’t update it again until this has been fixed)
Forum: Fixing WordPress
In reply to: Gallery block backend responsiveness broken@janciriack no worries at all, glad to hear it’s sorted out!
Forum: Developing with WordPress
In reply to: Show value of custom field of custom taxonomy@hashimnaushahi no bother at all, glad to hear you got it sorted out!
Forum: Developing with WordPress
In reply to: Show value of custom field of custom taxonomy@hashimnaushahi okay let’s try some debugging. add
print_r( $post );
after theglobal $post;
and check if it’s outputting a WP_Post Object.Forum: Developing with WordPress
In reply to: Show value of custom field of custom taxonomy@hashimnaushahi when you edit your custom taxonomy in CPTUI, what is the value of “Taxonomy Slug”?
Forum: Fixing WordPress
In reply to: Changing administration emailthe built-in process for changing the admin email relies on a confirmation email being sent to the new email containing a link that must be clicked. if you’re not receiving this email and clicking the link, the change will remain pending.
you can work around this confirmation requirement using a plugin like https://www.ads-software.com/plugins/change-admin-email-setting-without-outbound-email/
hope that helps!
Forum: Developing with WordPress
In reply to: Show value of custom field of custom taxonomyyou can get a field value from a taxonomy using
get_field()
by specifying the taxonomy and term ID in the second parameter – joined by an underscore.for example, to get the value of the ‘certificate_image’ field from the ‘certificate’ taxonomy for the term with an ID of 7:
get_field( 'certificate_image', 'certificate_7' );
in the case of your specific example, you’ll need to first get a list of the
certificate
terms associated with the post and then retrieve the image for each:global $post; $terms = get_the_terms( $post, 'certificates' ); foreach ( $terms as $term ) { $thumbnail = get_field( 'certificate_image', $term->taxonomy . '_' . $term->term_id ); }
hope that helps!
- This reply was modified 3 years, 2 months ago by Lucas Karpiuk. Reason: formatting
Forum: Developing with WordPress
In reply to: For each loop does not always do all iterations@daanburozero what’s your
max_execution_time
set to in PHP? it’s possible the process is just timing out before completed.you could rewrite this to make use of the WP Cron to break up the work over a series of jobs to increase reliability
Forum: Fixing WordPress
In reply to: Gallery block backend responsiveness brokenhi @janciriack !
I’m not having any luck recreating this myself. can you confirm this is happening with all plugins disabled and using a default theme? also, which version of WP?
Forum: Fixing WordPress
In reply to: Warning: Creating default object from empty value in@dfee1991 are you able to publish and view new pages on this site without issue?