The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Overview article ra...
 
Notifications
Clear all

Overview article rating per blog post

4 Posts
4 Users
1 Reactions
6,331 Views
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@itexperience-net)
New Member
Joined: 6 years ago
[#113]

I'm not sure whether I'm overlooking something (I hope I am!). But does WPDiscuz 7 have a dashboard or overview of all my blog posts and the article rating for those posts?

For example, when I click Posts -> All Posts in my WP Dashboard, I get an overview of all my blog posts. One of the columns is the Rankmath SEO score.

In the same way I would like to know how my visitors rate my posts, so I can improve if necessary.


3 Replies
Posts: 36
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@taron)
Eminent Member
Joined: 6 years ago

Hi @itexperience-net.

Thank you for this suggestion, we'll take this into consideration for future releases.


Reply
Posts: 1
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@greg_pl)
New Member
Joined: 4 years ago

And after 2 years is it possible to see or not?

If not how to display it?


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8217
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@greg_pl,

You can use the custom code below to show the article rating in the post list: 

add_filter('manage_post_posts_columns', function($columns) {
        return array_merge($columns, ['wpd_rating' => __('Rating', 'wpdiscuz')]);
    });
    add_action('manage_post_posts_custom_column', function($column_key, $post_id) {
        if ($column_key === 'wpd_rating') {
            $rating = get_post_meta($post_id, 'wpdiscuz_post_rating', true);
            if ($rating) {
                echo $rating;
            } else {
                echo 0;
            }
        }
    }, 999, 2);
    add_filter('manage_edit-post_sortable_columns', function($columns) {
        $columns['wpd_rating'] = 'wpd_rating';
        return $columns;
    });

Important: The code doesn't support the code ordering by post rating. 

Put this code in the WordPress active theme functions.php file (more information on how to add insert custom code).


Reply
Share: