Question
Typically in my theme function file I'll require other files to keep things neat. require_once("foo.php"); Now working in a child theme I'd like to do that same. I'm adding custom admin options and it seems impossible to include code. I've echoed out ...
0
, 5 months 0 Answers 51 views

Question
I'm trying to remove the entire embed_footer from WordPress embedded posts. By adding the following code in the functions.php, I was able to remove the site title and comments icon. But still, the share icon is there. add_filter('embed_site_title_html','__return_false'); remove_action( 'embed_content_meta', ...
0
, , 5 months 0 Answers 44 views

Question
im trying to get the following code to work fully. Can anyone help please. Thanks /** Add User to Mailster List */ add_action('wp_head', 'geodirectory_mailster'); function geodirectory_mailster(){ global $wpdb, $post; $post_type = $post->listing_type; if ($post_type = "gd_event"){ $wpdb->insert('wp_mailster_lists_subscribers',array('list_id'=>2,'subscriber_id'=>mailster_get_current_user_id(),'added'=>current_time('mysql', 1)),array('%s','%s','%s')); } elseif ...
0
, , , , 5 months 0 Answers 47 views

Question
Hey WordPress friends, I’m using the Disqus comment system plugin, which is working fine. My homepage is just a collection if recent posts and therefore not having the option to leave a comment (as desired). Unfortunately, I still see that the Disqus ...
0
, , 5 months 0 Answers 55 views