Middle8Media
Forum Replies Created
-
Forum: Reviews
In reply to: [Disable New User Notification Emails] Not working :(Same here. I have installed and activated the plugin, but I am still getting the new user registration email to my admin email.
Forum: Fixing WordPress
In reply to: if user is logged in AND a custom field exists.Thanks.
I am not sure if this is overkill or bloated code, but I ended up going with this code.
I search for the current user, check to see if they are logged in, then return their i, then check to see if their custom field exists. if empty, I echo no html, if it does exist, I echo desired html.
global $current_user;
get_currentuserinfo();
$author_id = $current_user->ID;
$film_custom_field = get_field(‘film_1’, ‘user_’ . $author_id );
if ( is_user_logged_in() && empty( $film_custom_field ) ) {
echo ‘ ‘;
} else {
echo ‘html goes here’;}
I dig it. Sometimes that’s just how it goes. Thanks man.
Hey, @jmldesign, any luck on this?
Forum: Plugins
In reply to: Add a shortcode after every postHey Curtiss,
What do you mean “Look at the do_shortcode() function?
Would deleting that allow shortcodes to show up in WPtouch 1.9?
hey marr,
Where exactly do you add the shortcode?
Thanks