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 😉
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 6 years, 12 months ago by
girdy74. Reason: adjusted wording
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!