WordPress.org

Ready to get started?Download WordPress

Forums

AutoNav Graphical Navigation and Gallery Plugin
"Display Titles Under Images" Doesn't Work (6 posts)

  1. cwendt01
    Member
    Posted 1 year ago #

    I've posted about this before but it's still not resolved.

    The "Display Titles Under Images" feature for AutoNav doesn't work. Despite setting this to yes, the titles still ALWAYS appear above the photos, never below. And I can't figure out how to workaround this either.

    Please help, I'd like to keep my plugin as up to date as possible but this is forcing me to use a much outdated version that I'm capable of hacking in order to achieve the desired results.

    Thanks,
    - C.

    http://wordpress.org/extend/plugins/autonav/

  2. wlindley
    Member
    Plugin Author

    Posted 1 year ago #

    From the FAQ, put this in your functions.php:

    remove_all_filters('autonav_create_list_item');
    add_filter('autonav_create_list_item', 'an_create_output_picture', 10, 4);
    add_filter('autonav_create_list_item', 'an_create_output_text', 15, 4);
    add_filter('autonav_create_list_item', 'an_create_output_excerpt', 20, 4);

    would re-order the output for lists to include first the picture, then the text, then the excerpt. Replace list_item with table_item if you wish to do that in tables.

  3. cwendt01
    Member
    Posted 1 year ago #

    Thank for the response! I'll have to implement this the next time I log back into that website.

    Out of curiosity, if this feature has to be hardcoded in, why is there a checkbox option for it in the plugin's settings? Isn't that counter-intuitive?

    Thanks,
    - C.

  4. cwendt01
    Member
    Posted 1 year ago #

    By the way, I was finally able to test this and it worked just fine. However, since I use child themes a lot, it's disconcerting that I have to go into the parent theme and update its functions.php.

    When is this going to be implemented into the plugin itself and not require code hacking? I'd love to know since I use this plugin on 10+ sites and otherwise have no complaints!

    Thanks,
    - C.

  5. wlindley
    Member
    Plugin Author

    Posted 1 year ago #

    I am working on a revision which will make this much easier to customize. I apologize that the documentation, "display below" never was updated to be the same as the revised default behavior; the new version will let you pick an order for all the elements.

  6. cwendt01
    Member
    Posted 1 year ago #

    That would be absolutely fantastic. :) Like I said above, I use this plugin quite frequently -- other than this little issue, I have no complaints.

    I look forward to future releases. Thank you!

    - C.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.