Horje
A plugin which allows you to select/unselect posts and updates the same using Ajax.

Noted That:

  • To install correctly this select-featured-posts.zip.
  • Fisrt Download the select-featured-posts.zip to your computer
  • Extract/Open select-featured-posts.zip to Your Computer.
  • Then, Find readme.txt file inside select-featured-posts.zip and Open readme.txt.
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the the Tips Below.

Start the Tips:

1. First Download "select-featured-posts.zip" Plugin to your Local Computer. (Click Download)

2. Then, Login to your "yourdomain.com/wp-admin" Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse "select-featured-posts.zip" Downloaded plugin from your computer, Where you downloaded select-featured-posts.zip According to Step – 1 Above then, click on "Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on "Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. "Select Featured Posts" folder is added on left sidemenu. Now, Click on "Select Featured Posts" folder.

   Noted that: If you do not see "Select Featured Posts" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools".

8. Now you configure yourself oR Watch video tutorial below about Select Featured Posts Configurtions and Settings or How to work "Select Featured Posts" in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to "Plugins" + "Installed Plugin" from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find "Select Featured Posts" Activated Plugin from Plugin List.
  4. Then, Click on "Settings" from Plugin that is Select Featured Posts
  5. Now, Edit/Add/Config the setting and Click on "Save Changes" button,
WP Plugin Setting



Guide
  1. Upload the select-featured-posts folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Posts -> Posts screen if you have wordpress 3.0 and for older versions go to Posts -> Edit.
  4. Check and uncheck posts to make it featured/unfeatured
  5. To use it in theme add this before query_posts or get_posts

    if (function_exists(‘featured_posts’)) {
    featured_posts(‘add’);
    }

    If query_posts or get_posts is not there in your theme then you can add above code and query_posts before while loop
    For eg.

 if (function_exists('featured_posts')) { featured_posts('add'); } query_posts('posts_per_page=10'); while ( have_posts() ) : the_post(); //Your Code endwhile; // end of the loop. if (function_exists('featured_posts')) { featured_posts('remove'); } 
  1. To remove the featured post from the query post buffer once the same have been displayed add this code

    if (function_exists(‘featured_posts’)) {
    featured_posts(‘remove’);
    }

For eg.

 if (function_exists('featured_posts')) { featured_posts('add'); } query_posts('category_name=Entertainment'); // Hence now that the featured posts have been displayed clear them so that they don't get repeated. if (function_exists('featured_posts')) { featured_posts('remove'); }

So it will give featured post of Entertainment Category.

OR

  1. If you want to get Featured post IDs only then use this

    if (function_exists(‘get_featured_posts’)) {
    $limit = 5;
    $featured_posts = get_featured_posts($limit);
    }

  2. If your theme supports widgets then go to Appearance -> Widgets and just Drag and Drop Select Featured Post Widget.

  3. In widget you can specify total no of posts or Featured Post of a Category.

same, using, ajax, updates, posts, which, allows, selectunselect, plugin,

Name

Reffered: https://wordpress.org/

Share on: