WordPress.org

Ready to get started?Download WordPress

Forums

Fancier Author Box by ThematoSoup
[resolved] Short code (9 posts)

  1. cherry2000
    Member
    Posted 1 year ago #

    Is there a short code to display the box on a specific site on a specific place?

    I would like to display several boxes of different authors below each other on one specific age, kind of like a team page...

    http://wordpress.org/extend/plugins/fancier-author-box/

  2. Dragan Nikolic
    Member
    Plugin Author

    Posted 1 year ago #

    Not in this free version.

    The option of showing author box using shortcode, template tag or widget is reserved for the premium version, Fanciest Author Box.

  3. @Raj
    Member
    Posted 1 year ago #

    I came across a problem with this plugin. Actually i have two single.php one for showing blog posts and second for displaying normal product posts. When i activate this plugin it comes on both of the post pages while i want this "fancier author box" to show only on blog post page and not on product post page. Is there any way to activate this plugin with specific category?? or any other better way to handle it???... please help

  4. Slobodan Manic
    Member
    Plugin Author

    Posted 1 year ago #

    You mean you have two files named single.php in your theme? How does that work?

    Plugin is set to add author box only to standard posts and pages, not to custom post types (if product is a custom post type). If 'product' is simply a category, try looking for this line in ts-fab.php:

    if( is_singular( 'post' ) ) {

    and replacing it with this:

    if( is_singular( 'post' ) && !in_category( 'category-not-to-have-author-box' ) ) {

  5. @Raj
    Member
    Posted 1 year ago #

    Thanks for your consideration...
    My single.php working well with the code:
    <?php
    $post = $wp_query->post;
    if (in_category('13')) {
    include(TEMPLATEPATH . '/blog-single.php');
    } else {
    include(TEMPLATEPATH . '/normal-single.php');
    }
    ?>
    But problum is that this plugin is also showing on both the file while i whant it to display only on blog-single.php

  6. Slobodan Manic
    Member
    Plugin Author

    Posted 1 year ago #

    Have you tried editing plugin's ts-fab.php file (my previous message)?

  7. @Raj
    Member
    Posted 1 year ago #

    yes i tried that and replace the code but it's still showing the same result. Please check my code in previous message. I want to show this plugin with(in_category('13')), which is for blog post....

  8. Slobodan Manic
    Member
    Plugin Author

    Posted 1 year ago #

    I presume you have replaced 'category-not-to-have-author-box' with your category, right?

    Try this:

    if( is_singular( 'post' ) && in_category( 13 ) ) {

  9. @Raj
    Member
    Posted 1 year ago #

    Thanks u save me from trouble

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.