dallashuggins
Forum Replies Created
-
@iambriansreed – no I was never able to figure out a solution to this. I ended up just redirecting the page I needed to a date specific slug (2016-speakers) instead. Would love to get a solution still if there was one.
Forum: Plugins
In reply to: Using Dynamic To Top plugin with SSL / httpsI do have a multisite and wildcard certificate, if that makes a difference.
Forum: Plugins
In reply to: Using Dynamic To Top plugin with SSL / httpsDo you know if this has changed? I’m in the options table and I can’t find the option_name ‘_transient_dynamic_to_top_transient_css’ or anything having to do with dynamic to top.
Forum: Plugins
In reply to: [WooCommerce] get_post_meta > Get value of selectboxHi Guido – I actually figured out the problem and it wouldn’t let me delete my question so I deleted the content. Sorry about that!
Thank you for getting back!
Forum: Fixing WordPress
In reply to: Pulling content from dropdown menu onto front end of WordPressGot it!
<?php // adds custom value from dropdown to frontend $meta_values = get_post_meta( $post->ID, 'dropdown_select', true) ; if($meta_values == 'aivalue') { // 'aivalue' is the 'value' from my options array for the select box / dropdown echo __('<p>Your text here</p>'); } else if($meta_values == 'manufacturing') { echo __('<p>Your text here</p>'); } else if($meta_values== '3dprinting') { // echo __('<p>Your text here</p>'); } ?>
Forum: Plugins
In reply to: [WooCommerce] get_post_meta > Get value of selectboxForum: Plugins
In reply to: [WP Job Manager] Add select box fieldAfter creating the drop down menu (great tutorial here for those who are interested) – does anyone know how to call values to the front end of wordpress based on the option selected in the select box? I’m not looking to add the dropdown to the front end, I just wanted to call text specific to each option.
Been trying variations of the code below and it’s not working:
<?php // adds custom dropdown field to frontend $dropdown_values = get_post_meta( $post->ID, 'dropdown_select', true) ; $dropdown_ai_value = $field['id']; if( ! empty( $dropdown_values ) ) { echo $dropdown_ai_value; } ?>
I’ve used the below code to pull in text values and it’s worked perfectly – how do you edit the code to be select box specific?
<div class="mymetavaluekey1" style="font: Helvetica, Arial, sans-serif font-size: 18px font-style: italic text-align: center;"> <?php // adds custom title field to frontend $meta_values = get_post_meta( get_the_ID(), '_my_meta_value_key', true) ; if( ! empty( $meta_values ) ) { echo $meta_values; } ?> </div>