Support » Plugin: A-Z Listing » Under letter boxes, only displaying A section

  • Resolved girdy74

    (@girdy74)


    Hello! Thank you so much for a great plugin!

    I’m having an issue and I’m not sure what I’m doing. I have the shortcode in:
    [a-z-listing display="posts" post-type="page" parent-post="9" get-all-children="yes"]
    and it’s displaying great but instead of showing
    A
    —————-
    Page 1
    Page 2

    B
    —————-
    Page 3
    Page 4

    C
    —————–
    Page 5
    Page 6

    continuing on…

    I’m ONLY getting
    A
    ——————
    Page 1
    Page 2

    The rest seem to have a display:none; on the individual elements.

    Here’s a link to a screenshot: http://karashapiro.com/images/a-z_listing_screenshot.png

    The text below is just after the shortcode.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Daniel Llewellyn

    (@diddledan)

    Hi,

    I’m not sure what’s happening on your site, but it might be that you have enabled the tabify javascript with a bit of code in your theme’s functions.php or you might have another javascript somewhere that is trying to make the listing into a tabbed view. You can try verifying by clicking on one of the linked letters at the top (the horizontal bar of letters) to see if they change which letter is visible below.

    Thanks for the reply…

    Hmmmm…I don’t have anything in the functions.php file for tabify and as far as a-z I just have the following:
    add_action( 'wp', 'a_z_listing_force_enable_styles', 99 );

    Within the plugin files there’s a file under templates called a-z-listing.php and that file starts with….

    $_a_z_listing_minpercol = 10;
    ?>
    <div id="az-tabs">
    	<div id="letters">
    		<div class="az-letters">
    			<?php $a_z_query->the_letters(); ?>
    		</div>
    	</div>
    	<?php if ( $a_z_query->have_letters() ) : ?>
    	<div id="az-slider">
    		<div id="inner-slider">

    Not sure where else to check.

    This site is using version 2.3.0 😉

    Plugin Author Daniel Llewellyn

    (@diddledan)

    The only bit of code in my plugin that adds a display: none to any elements is the tabify javascript. If you aren’t loading that then you either have some PHP that filters and modifies the output of WordPress before sending the page, or you have some other javascript that is hiding elements once the page loads in the user’s browser.

    I could check your site to see if I can isolate a javscript-based hiding mechanism. I’ll need the link to it in order to do this though.

    Thanks Daniel. The website where the plugin is working is: communitychildrens.org/services/

    Since I’m using the shortcode [a-z-listing display=”posts” post-type=”page” parent-post=”9″ get-all-children=”yes”] does that use the a-z-listing.php which is using the tabs? Is there some other way I need to call a template file?

    • This reply was modified 7 months, 2 weeks ago by girdy74. Reason: adjusted wording
    Plugin Author Daniel Llewellyn

    (@diddledan)

    Your site has javascript in the main document that looks like:

    <script>
    //jquery-ui-tabs
    jQuery(document).ready(function($) {
    jQuery( "#az-tabs" ).tabs();
    });
    </script>
    

    This is not shipped by my plugin which means either you, one of your plugins, or your theme has added it.

    GAHHH! Good grief. Thanks Daniel. I really appreciate all your help and this awesome plugin!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Under letter boxes, only displaying A section’ is closed to new replies.