1naveengiri
Forum Replies Created
-
Forum: Reviews
In reply to: [Buddy Notification Bell] That’s what I’m talking about! ??@wpcarl I am working to make it mobile friendly.
You will get this in upcoming releases.Forum: Reviews
In reply to: [Buddy Notification Bell] no sound@per4mance This plugin provide a shortcode [buddy_notification_bell] to show notification bell. Once you have added this shortcode anywhere on your site.
you will able to get a notification with sound.Please check if it works for you ??
Forum: Fixing WordPress
In reply to: Very poor image quality when publish (other solutions did not work)As you already told you tried with the different theme.
- I will suggest you deactivate unnecessary plugin first.
- Flush site cache
- Try checking with different themes
I am sure this issue causing due to some plugin.
Forum: Fixing WordPress
In reply to: Can’t access the admin dashboard@samongoc, as @shamratdewan suggested you to delete those plugins through FTP. because either one of those plugin giving Fatal error so your site going down.
This issue may also cause due to conflict issue better you can check your site log for the reason.- This reply was modified 7 years, 7 months ago by 1naveengiri.
Forum: Reviews
In reply to: [Buddy Notification Bell] NIce way to show buddypress notificationThank you so much @supercoder
Forum: Reviews
In reply to: [Buddy Notification Bell] Good oneThank you
Forum: Fixing WordPress
In reply to: Custom post causing post link buguse WP_Query.
your welcome @zenitg9 ??
Hi @zenitg9
Although there may be much better way to do this.
but you try this code.function auto_set_featured() { global $post; $has_thumb = has_post_thumbnail($post->ID); if (!$has_thumb) { $attached_image = get_children( "post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1" ); if ($attached_image) { $thumb_flag = 0; foreach ($attached_image as $attachment_id => $attachment) { $attachment_array_size = sizeof($attached_image); // If it is last thumb image of attachment array. if( $attachment_array_size == ( $thumb_flag +1) ){ set_post_thumbnail($post->ID, $attachment_id); } $thumb_flag++; } } } } add_action('the_post', 'auto_set_featured'); add_action('save_post', 'auto_set_featured'); add_action('draft_to_publish', 'auto_set_featured'); add_action('new_to_publish', 'auto_set_featured'); add_action('pending_to_publish', 'auto_set_featured'); add_action('future_to_publish', 'auto_set_featured');
- This reply was modified 7 years, 9 months ago by 1naveengiri.
Forum: Developing with WordPress
In reply to: WordPress count postor try google to get all value of ACF dropdown field values.
and use that to pass it dynamically in post meta_query.Forum: Developing with WordPress
In reply to: WordPress count post@sonny12 the value seems false for your field here
so please check whether you accessing right field.
in value it should print all values you assign.
and this array we will use to get value dynamically without hardcoding.Forum: Developing with WordPress
In reply to: Using custom post types in tag archive pagesyes @beyondthelamppost,
the above code will show all post fromentries
post type.but you want here post from entries have tag foo.
one more thing the query which is already there is for all post with tag foo.
it will show you all post that have foo tag.better you should customise it for both by different and appropriate query.
Forum: Developing with WordPress
In reply to: WordPress count post@sonny12 use var_dump($field); instead to echo it.
- This reply was modified 7 years, 9 months ago by 1naveengiri.
Forum: Developing with WordPress
In reply to: Using custom post types in tag archive pages@beyondthelamppost, entire code is wrong for your tag template.
The very first thing- You First decide what actual view you want and how it will look like
- If you want two things(post and entries) to be separated on tag archive. did you want pagination for both?
- Even though it seems simple but still your theme code is in very bad condition and I wish to try it to solve. I will have to check it on your site.
- This reply was modified 7 years, 9 months ago by 1naveengiri.
- This reply was modified 7 years, 9 months ago by 1naveengiri.