Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

PostViews Insights

Disgrifiad

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

Lluniau Sgrin

Gosod

  1. Upload the plugin files to the /wp-content/plugins/postviews-insights directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the [post_view_list post_type="your_post_type" order="ASC" display="5"] shortcode in your posts or pages.

Cwestiynau Cyffredin

How do I customize the HTML output?

You can use the pvin_custom_html filter 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;
}

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“PostViews Insights” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “PostViews Insights” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.