41 reputation
5
bio website
location
age
visits member for 1 year, 7 months
seen 2 days ago

Mar
31
answered Check if current user has post in post type and is author role
Mar
31
asked Check if current user has post in post type and is author role
Feb
24
answered foreach $FILES create post how to
Feb
24
asked foreach $FILES create post how to
Feb
23
awarded  Supporter
Feb
23
comment How to add terms (without deleting others)
lol wow, it was right there in the codex if I looked for it. Thanks for pointing that one out!
Feb
23
accepted How to add terms (without deleting others)
Feb
23
revised How to add terms (without deleting others)
deleted 100 characters in body; edited title
Feb
23
asked How to add terms (without deleting others)
Feb
20
answered How to remove shortcode(s) from WYSIWYG Page editor for Non Admins
Feb
20
comment How to remove shortcode(s) from WYSIWYG Page editor for Non Admins
That was loosely worded, they don't actually add themselves -- Using the 'add_action('init', 'my-function');' and 'array_push' with '$buttons' will add it to the tinymce editor on the page editor. I know I can go in the plugins and search for this function and change the 'if ( current_user_can('edit_posts')'… part but I didn't know if I could do it without modify core plugins and just run a conditional in the functions file checking if the user is admin and if not then remove the plugin. I found my answer though and will update when I'm allowed. Thx
Feb
20
asked How to remove shortcode(s) from WYSIWYG Page editor for Non Admins
Feb
17
asked using update_user_meta in form to set and get custom meta
Feb
15
awarded  Scholar
Feb
15
accepted Setting an attribute as variation in woo commerce via php
Feb
10
awarded  Teacher
Feb
10
answered Setting an attribute as variation in woo commerce via php
Feb
10
asked Setting an attribute as variation in woo commerce via php
Jan
17
comment How to get Woocommerce Variation ID?
ehh, that didnt work either.. I put info into the text box and click save and it still does not show up? Any other thoughts (PS Thank you so much for helping me with this)
Jan
16
comment How to get Woocommerce Variation ID?
So my problem lies within the $variation_id not actually pulling the variation id in 'echo get_post_meta( $variation_id, '_my_custom_field', true) . ' - Test';' But instead it is showing all variation meta data like in the screenshot for each. If I use something like echo get_post_meta( 134, '_my_custom_field', true) . ' - Test';' then it works and shows _my_custom_meta data for variation #134.. I hope I havent confused you. In short I just need a way to show the data that was entered once they hit update. (It does save in the database just doesnt show when page refreshes)