The instructions are supposed to tell you to copy the file to your <b>theme’s</b> directory within wp-content/themes, e.g. wp-content/themes/twentyseventeen/a-z-listing.php, not into the wp-content/plugins directory. If they don’t state that then I can fix it, but that’s what you’re supposed to do.
A White Screen of Death when you try to use this plugin indicates that you’re likely missing the mbstring extension to PHP. Your web hosting provider should be able to tell you how to enable it if they support you doing so. Otherwise you’ll need a different hosting provider that does allow mbstring. If you’re self-hosting on your own server then you can install it yourself using the tools provided by the operating system, such as apt or yum. For Ubuntu and Debian systems the package you’re missing is called php-mbstring.
There is no possibility for paging the results.
Thread Starter
layale
(@layale)
Thank you!
I have placed the file in the correct location and enabled mbstring. It is working perfectly well.
I would like to know if it is possible to stop showing the Back to top link after every character list?
Thanks again,
Regards.
Yes you can either edit the template you copied to your theme to remove the back-to-top link or you can use CSS to hide the links.
For removing the link from the template you need to either comment-out or delete the line that includes:
<div class="back-to-top"><a href="#letters">Back to top</a></div>
To hide using CSS the rule you want is either:
div.back-to-top {
display: none;
}
Or if you want visually impaired visitors to still be able to use the link, you could use (based on the best practice documentation):
div.back-to-top a {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
div.back-to-top a:focus {
background-color: #eee;
clip: auto !important;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; /* Above WP toolbar. */
}
-
This reply was modified 7 years, 11 months ago by
Dani Llewellyn. Reason: fix second css block to target the anchor tag not the div