Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Featured Posts

Apraksts

A simple featured posts plugin which allows for a full customizable display. Featured Posts allows you to display a post excerpt or custom excerpt along with an image anywhere outside the_loop.

Ekrānuzņēmumi

  • This is the default look of the featured posts plugin.

Uzstādīšana

  1. Upload the entire folder to your /wp-content/plugins/ folder.
  2. Go to your plugins page and activate plugin.
  3. Go to settings/Featured Posts and enter the ID of the post and select an image to be used along with any other settings you wish to choose.
  4. Add anywhere outside the loop.
  5. Make any necessary changes to the CSS in the featured-posts.css file. width, font-size and margins are the most common to need changing.

BUJ

What is the recommended image size?

Any number at or below the size you chose for thumbnails within the admin panel. This will help minimize bandwidth usage and allow for faster loading.

How can I add Featured Posts to my homepage only?

Place within your index.php but outside the loop.

How can I add Featured Posts to a specific category?

Place within your categories.php file (or index.php file is categories.php doesn’t exist).

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Featured Posts” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Featured Posts&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.