Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Post Featured Font Icon

Skildring

Post Featured Icon: It allows to add font icons to post title, and there is option so that we can
replace post thumbnail with font icon.

It supports:

  • dashicons
  • genericons
  • font-awesome

Please check here: Demo 1 and Demo 2

It supports post,page.But we can add to custom post types to. It provides hooks i.e icon_post_type .

Priority Support

If you are looking for more features, paid support or Custom WordPress Work, then you can hire me too. My email id : babunsahoo@gmail.com .

// Our filter callback function
function icon_post_type_callback( $types ) {
    $types = array('post', 'page', 'product');
    return $types;
}
add_filter( 'icon_post_type', 'icon_post_type_callback', 10, 1 );

Skjermbilete

  • screenshot-1.jpg
  • screenshot-2.png

Installasjon

This very simple like other wordpress plugin:
1. Upload the plugin to the /wp-content/plugins/ directory
2. Activate the plugin through the «Plugins» menu in WordPress
3. Place <?php the_post_font_icon( $post_id );?> in your templates, to print font icon. [$post_id is optional and by default current post it]

Vanlege spm.

1. font-awesome is loading two times

Please deactivate your theme font-awesome css/js

Omtalar

Les alle 3 omtalar

Bidragsytarar og utviklarar

“Post Featured Font Icon” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0.1

  • Few small Bug Fix

1.0

  • Added the new plugin