//
you're reading...
Uncategorized

AP – Post not filtered when I click on the Alphabet Letters

Alphabetic Pagination

burakbbb reported an issue: I just installed your plugin and although the buttons were there, they don’t seem to work when clicked upon.
Can you help me correct my mistake

https://wordpress.org/plugins/alphabetic-pagination

Fahad said: Yes I can help you, can you send me the URL where you installed it. You can send me test credentials of wp-admin too, Click here to contact me.

burakbbb informed: I sent an e-mail to you today. Thank you.

Fahad replied: Thanks for the cooperation. It will be a pleasure for me to assist you again.

edithmayerhofer also had this issue so he said: Can you tell me, how you resolved this problem?
I have the same.

Fahad said: In fact problem was implementation of plugin on different template. You have to assure that you were implementing it on categories related or taxonomies related pages. If you will use it on single page, it has nothing to iterate and list there.

edithmayerhofer said: Fahad, thank you for your answer… I have implemented it on a custom categories page: http://ml.ibloom-server.net/category/verkaufslexikon/
So the problem might be different.
Any ideas?

Fahad replied: Can you please share the code of that page. I doubt that you were not querying with WordPress function get_posts(). Or there were more than one main queries were on one page.

 edithmayerhofer said:
Sure…

get_header(); ?>

<div class="row">
	<section id="primary" class="site-content small-12 medium-8 columns">
		<div id="content" role="main">

			<header class="archive-header">
				<h1 class="archive-title">Verkaufslexikon</h1>
			  <h4>Hilfreiche Erklärungen von A-Z</h4>
                <p>Kennen Sie schon unser Verkaufslexikon?<br />
Hier kann jeder aktiv mitmachen und so können wir noch mehr Erklärungen rund ums Thema Verkaufen bieten.
 <a title="Verkaufslexikon" href="http://www.verkaufslexikon.de/" target="_blank">Machen Sie mit!</a></p>
				<?php echo do_shortcode('[ap_pagination]'); ?>
			</header><!-- .archive-header -->

            <?php if ( have_posts() ) : ?>

			<?php
			/* Start the Loop */
			while ( have_posts() ) : the_post();

				/* Include the post format-specific template for the content. If you want to
				 * this in a child theme then include a file called called content-___.php
				 * (where ___ is the post format) and that will be used instead.
				 */
				get_template_part( 'content', 'verkaufslexikon' );

			endwhile;

			// Pagination
			if (function_exists("emm_paginate")) {
		    	emm_paginate();
			} ?>

		<?php else : ?>
			<?php get_template_part( 'content', 'none' ); ?>
		<?php endif; ?>

		</div>
	</section>

	<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>

Fahad said: I got it, you were using this plugin with shortcode. Try it with “Auto” option instead of shortcode. Let me know if it works?

edithmayerhofer said: put it to auto but then output was just the shortcode: [ap_pagination]
Do I have to change code in template, too?


Fahad responded: Yes update your template and remove that shortcode. Now go to plugin settings and put your “DOM POSITION” carefully. Any CSS selector, e.g. id of a div or class or a div in which you need to show the pagination.
Important!
id: #div_id (with hash)
class: .div_class (with dot)

edithmayerhofer said: Fahad, I did like you have written (DOM #content)… but then there were not even the letters showing anymore.
I have implementation “auto”, display on all lists “no” and chosen category. hmm…

Fahad said: May i have your wp-admin (test) credentials. You can send me the test credentials to my email through my blog/contact page.

edithmayerhofer said: The data were in your gmail inbox.
Please let me know.

edithmayerhofer asked: Did you find out something?
I have seen, that the letters were showing up on other category pages but not on my custom template where I need it.
Please let me know…

Fahad told: Sorry, I couldn’t get the test admin credentials to check out the problem. I was in fact waiting for the email.

Click here to contact me.

edithmayerhofer said: I just needed to thank you for your excellent support!
I would have never expected such a great service for a free plugin.
Everything was working great now!



Fahad said: Thank you Edith


Post not filtered when I click on the Alphabet Letters

Advertisements

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: