Beskrivning
A plugin to display post view insights and provide a shortcode to list posts based on view count.
Skärmdumpar


Installation
- Upload the plugin files to the
/wp-content/plugins/postviews-insightsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ’Plugins’ screen in WordPress
- Use the
[post_view_list post_type="your_post_type" order="ASC" display="5"]shortcode in your posts or pages.
Vanliga frågor
-
How do I customize the HTML output?
-
You can use the
pvin_custom_htmlfilter to customize the HTML output. Here’s an example:add_filter('pvin_custom_html', 'custom_pvi_html_output', 10, 2); function custom_pvi_html_output($output, $atts) { $custom_output = '<div class="custom-post-list">' . $output . '</div>'; return $custom_output; }
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”PostViews Insights” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”PostViews Insights” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
