WordPress.org

Ready to get started?Download WordPress

Forums

Fancier Author Box by ThematoSoup
[resolved] Can i add this plugin manually? (10 posts)

  1. Saeed Salam
    Member
    Posted 2 years ago #

    first of all, love your plugin,really awesome.

    i would like to know if there are any codes to place your plugin manually in my blog. right now,it's showing above the related posts,i want to move it down. can you please help?

    thanks for any help,

    -saeed
    http://wpbox.in

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

  2. Dragan Nikolic
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Saeed,

    Thanks for the compliments.

    I see that you found your way around Fancier Author Box. It now shows below your posts on http://wpbox.in

    If there's anything else you need help with, don't hesitate to ask.

  3. Saeed Salam
    Member
    Posted 2 years ago #

    i think you didn't got my question my correctly, what i mean is, in single post page, author box is placed above related posts, i would like to move it down(i.e, the post > then related posts > then author box).
    Sample post - http://wpbox.in/10-best-free-responsive-wordpress-themes/

    hope you got it.

    Thanks
    -Saeed

  4. Dragan Nikolic
    Member
    Plugin Author

    Posted 2 years ago #

    Try editing the code in line 143 in ts-fab.php

    right now it's:
    add_filter( 'the_content', 'ts_fab_add_author_box' );

    should be like this:
    add_filter( 'the_content', 'ts_fab_add_author_box', 1000 );

  5. Saeed Salam
    Member
    Posted 2 years ago #

    thanks for your reply, but it didn't worked,no changes.

    am using YARP plugin for showing related posts. it have a <php related_posts(); ?> function to place it wherever we want, i would like to know whether your plugin have a short code like that.

    btw,i hided the tabs,related posts in your plugin with css styles.
    i hope that didn't make any problems.

    hope you will have a solution for me,

    thanks
    -Saeed

  6. Dragan Nikolic
    Member
    Plugin Author

    Posted 2 years ago #

    Fancier Author Box comes at the end of the_content function and related_posts always come after that, so it's not possible to do this.

    The premium version, Fanciest Author Box, does have a shortcode and a template tag which would work for you, but that's a different story.

    You could try inserting related posts into the_content function and then
    add_filter( 'the_content', 'ts_fab_add_author_box', 1000 );
    should work.

    Regarding the css changes you made, no problem, you can alter it any way you want. We also plan on implementing an option of hiding that "recent posts" tab in one of the future updates.

  7. Saeed Salam
    Member
    Posted 2 years ago #

    i couldn't make it work with YARP plugin, so i used another plugin for related posts. it's works fine now (http://wpbox.in/best-wordpress-theme-frameworks/)

    thanks for all your help.
    Saeed

  8. Dragan Nikolic
    Member
    Plugin Author

    Posted 2 years ago #

    My pleasure.

    Glad you succeeded.

  9. Arley McBlain
    Member
    Posted 1 year ago #

    I think the original answer Saeed was looking for is more in line with the following. Thought I'd share for future users!

    I'm using Fanciest Author Box and YARP as well. I also wanted to change the order of these items.

    In the FAB settings disable both pages and posts! Then in the loop call the shortcode like so!

    <?php echo do_shortcode( '[ts_fab]' ); ?>

    There are a few arguments that you can pass with the shortcode, see the documentation for more info. (incidentally YARP has a function that can be used in the same way)

    Hope that helps!

  10. Saurabh
    Member
    Posted 1 year ago #

    @Arley McBlain
    Yeah the shortcode will work for call but you need to first create shortcode for the function ts_fab_add_author_box. For this, I just added
    add_shortcode( 'ts_fab', 'ts_fab_add_author_box' ); after the code add_filter( 'the_content', 'ts_fab_add_author_box' ); in line 143 in ts-fab.php
    I am using this conecpt in TechGYD and its working very fine there. :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic