WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 4 years ago

#28349 closed defect (bug) (invalid)

WordPress Quick Edit Post Tags not display on frontend

Reported by: suneth2 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.1
Component: Quick/Bulk Edit Keywords:
Focuses: Cc:
PR Number:

Description

I'm adding tags to wordpress pots using quick edit as below.

http://i.stack.imgur.com/r6tlC.jpg
and i use this kind of code to fetch that posts in frontend, but i cannot get above updated tag posts, when i go to single posts and click update button, it appears on frontend,

i have lots of posts so i cannot update one by one, my wordpress version is 3.9.1 anyone can solve this problem, thank you


$featured = new WP_Query(
                        array(
                        'posts_per_page' => '100',
                        'post_type' => 'reviews',
                        'tag' => 'hot',
                        'meta_key' => 'forder',
                        'orderby' => 'meta_value_num',
                        'order' => 'ASC',
                        )
                    );
                    $i = 1;
                    if ($featured->have_posts()) : 
                                            while($featured->have_posts()) : $featured->the_post();
 the_title();

endwhile;

PS. all tags are saving fine on quick edit, but not display in frontend

Attachments (1)

img.jpg (90.8 KB) - added by suneth2 6 years ago.
Quick Edit Screen

Download all attachments as: .zip

Change History (4)

@suneth2
6 years ago

Quick Edit Screen

#1 @SergeyBiryukov
6 years ago

#28354 was marked as a duplicate.

#2 @SergeyBiryukov
6 years ago

  • Component changed from General to Quick/Bulk Edit
  • Keywords reporter-feedback added

Could you provide your post type registration code?

Your query code works fine for me, assuming there are reviews with both 'hot' tag and 'forder' meta key.

#3 @afercia
4 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

No feedback in 18 months, closing out. Please feel free to re-open with more information.

Note: See TracTickets for help on using tickets.