ahh_wang
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Conditional FieldsIn the HTML Content field there is no options to define dependencies – https://prntscr.com/v3ejor
Forum: Plugins
In reply to: [Calculated Fields Form] Body Mass Index CalculationPerfecto! That worked! Thank you!!!!!!!!!
Forum: Plugins
In reply to: [Calculated Fields Form] Body Mass Index CalculationHeya! Thank you for your quick reply! actually that is giving me an incorrect BMI.
I need the height in inches which is the (fieldname2*12+fieldname9) x2
I tried this formula below but it doesn’t work ??
(fieldname10/((fieldname2*12+fieldname9)(fieldname2*12+fieldname9)))*703
Forum: Plugins
In reply to: [Post Grid and Gutenberg Blocks - ComboBlocks] Sort by Post View CountAlready did! ??
Cheers!
Forum: Plugins
In reply to: [Post Grid and Gutenberg Blocks - ComboBlocks] Sort by Post View CountOhh wait! I added it to the parent theme and it’s working!!
Thank you so much! Amazing support.
Forum: Plugins
In reply to: [Post Grid and Gutenberg Blocks - ComboBlocks] Sort by Post View CountOkay great! I hope this will work but actually when I add the code to functions.php I get an error.
This is all of the code from the functions.php child theme
<?php add_action( 'wp_enqueue_scripts', 'my_enqueue_assets' ); function my_enqueue_assets() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); add_action('wp_head','setPostViews'); function setPostViews() { if(is_singular()){ $postID = get_the_id(); $count_key = 'post_views_count'; $count = (int)get_post_meta($postID, $count_key, true); $count +=1; update_post_meta($postID, $count_key, $count); } }
When I update I get this error – https://prntscr.com/em40gz
Forum: Plugins
In reply to: [Post Grid and Gutenberg Blocks - ComboBlocks] Sort by Post View CountThank you so much. I really appreciate it. If you can find a plugin and then let me know which value to enter https://prntscr.com/em3enn I will be so happy! Thank you.
Forum: Plugins
In reply to: [Post Grid and Gutenberg Blocks - ComboBlocks] Sort by Post View CountAhh okay I think I understand. Do you have a plugin you would recommended?
Forum: Plugins
In reply to: [Post Grid and Gutenberg Blocks - ComboBlocks] Sort by Post View CountThank you for your reply.
Still not working ??
I’m trying to get it to work here – https://belt.life/test-popular-posts/
Sorry!
I figured it out!
Another question about categories.
If my category has 2 works like “Team Member”
do I add it like category=”Team_Member” or category=”Team Member” or how would it work.