javasworks
Forum Replies Created
-
?? Thank you @cthomasfr
But that link is not the case. Simpler case, you have page named “About”. You have plugin named “custom”. How to make “About” to automatically render template from wp-content/plugins/custom/tempaltes without touching dashboard->pages?
Hi, thanks for your reply @cthomasfr !
I mean… if i have plugin named “quiz” which contains quiz post type. And inside that plugin there is “template” folder. So, for example, archive template should be wp-content/plugins/quiz/template/archive.php
How to make the quiz archive/single/tax to automatically render template from that plugin directory?
it works! just little difference, i put @fersamp code on attendees.php instead of attendeeslist.php
Thank you very much for your code & help, Man!
^^ thank You @fersamp, gonna give it a try,
nice to know that you ever implemented it?? Thanks so much angelo_nwl , the answer by Marcus on the link you gave, works perfectly for me. Let me post the working codes!
$args = array( 'post_type' => 'event', 'posts_per_page' => 100, 'meta_query' => array( 'key' => '_start_ts', 'value' => current_time('timestamp'), 'compare' => '>=', 'type'=>'numeric' ), 'orderby' => 'meta_value_num', 'order' => 'ASC', 'meta_key' => '_start_ts', 'meta_value' => current_time('timestamp'), 'meta_value_num' => current_time('timestamp'), 'meta_compare' => '>=' ); // The Query $query = new WP_Query( $args );
?? yes.. you’re right! Only need to remove in the editor side.
Thanks Alexey ?? for the fast reply!
Currently, i’ve queued a FontAwesome in:
- TinyMCE Editor
- Active theme
The font source is in jsdelivr/cdnjs. So, if i want to use AGP Font Awesome Collection, i have to remove them from queue since this plugin already include the FontAwesome.
Thanks for replying! ??
That means, i should remove my theme’s FontAwesome queue source, and change it with /templates/agp-font-awesome-collection/assets/css/style.css
Forum: Everything else WordPress
In reply to: Hook when user role changedThank You Sir!
Forum: Everything else WordPress
In reply to: Hook when user role changedAlright, didnt use the members plugin functionality again when changing role. I just use the default WordPress single role mode now.
And ofcourse
set_user_role
did not work. It says “set_user_role
is location in wp-includes/capabilities.php”. When i check it on capabilities.php, there is no words that matchset_user_role
inside.Hi, thanks for replying caimin_nwl
We can’t set to the same value.
I mean, for general booking limit (per event), we can leave it empty to present an unlimited space. But… if we set the individual ticket space to be empty, it doesnt present unlimited. Instead, it fallbacks to the default space limit (10 is default)
I wonder how to set the individual ticket to:
– unlimited
– OR inherit?? Wow thanks again @jesse Pearson for answering again. Filter them, recalculate, then update the package
Wow, thanks so much @jesse Pearson ! ??
The solution works.But i need help ?? Would you take time to answer following links?
Forum: Hacks
In reply to: WooCommerce's hook that runs on update_checkout or update_order_reviewThanks for your recommendation, @james Huff.
Creating new thread there