WordPress.org

Ready to get started?Download WordPress

Forums

Comic Easel
[resolved] Comic Navigation Questions (7 posts)

  1. Oken
    Member
    Posted 6 months ago #

    Hi!

    I had a few questions in regards to the default comic navigation that appears under the comic area. Is there a way to add a second comic nav above the comic area? I'd like there to be navigation options on both ends for accessibility.

    Also, I'm looking to add social buttons for twitter, facebook and google plus in the comic navigation area. Is there a way I could go about this without messing with the default template files?

    Thanks in advance!

    https://wordpress.org/plugins/comic-easel/

  2. Oken
    Member
    Posted 6 months ago #

    Alright, I managed to get a second comic navigation control above the <?php do_action('comic-area'); ?>. by using this code:

    <?php if (!ceo_pluginfo('disable_default_nav')) ceo_display_comic_navigation(); ?>

    I was even able to insert social buttons (Via ShareThis plugin) in the nav bar. This works on individual comic pages well enough, but I hit a snag now when the code is placed on the front page of the site. For some reason the "last" link in the comic navigation gets activated when it's not suppose to. You can see here a screenshot of what it looks:

    https://dl.dropboxusercontent.com/u/8411723/comic-nav.png

    Also, the social links on the front page are not recognizing comic page title and the comic loop from the <?php do_action('comic-area'); ?> code when clicked now. I'm getting pretty close to figuring out this issue, so any help would be greatly appreciated!

  3. Frumph
    Member
    Plugin Author

    Posted 6 months ago #

    add_action('over-comic-top', 'mycustom_add_nav_to_top');
    
    function mycustom_add_nav_to_top() {
         ceo_display_comic_navigation();
    }

    There are action locations for every sidebar, <sidebar location>-top and <sidebar-location>-bottom
    Just go to comics -> config and enable comic sidebar locations and add ^ something like the above to your child themes functions.php file

    And since those functions need to work inside of the loop they will since you are injecting them within the area that the information is stored

  4. deerayl
    Member
    Posted 3 months ago #

    I've tried doing this, but it creates a couple of problems.

    1) The navigation button is anchored a little to the left, and I don't know how to center it above my comic.

    2) Doing this makes the comic disappear on the home page! I display my latest comic on the home page, so this is a real bummer.

    My site is http://zenidiotcreations.com/mostlyfunny

    Any help will be greatly appreciated.

  5. Frumph
    Member
    Plugin Author

    Posted 3 months ago #

    i'm coding today so i'll just add a button in the comic -> config to enable the navigation above the comic

  6. deerayl
    Member
    Posted 3 months ago #

    That would be amazing! Much appreciated!

  7. Frumph
    Member
    Plugin Author

    Posted 1 month ago #

    oh i did this a couple versions ago, closing thread

Reply

You must log in to post.

About this Plugin

About this Topic