bobquznie
Forum Replies Created
-
You are calling
pagination
function. But, does that exist? It is not a standard WP function. If you haven’t added that in your code, functions.php, then that is most likely your problem.Also, check this: https://codex.www.ads-software.com/Function_Reference/the_posts_pagination
Forum: Fixing WordPress
In reply to: Order by Last Name then First NameI updated the function to:
function posts_orderby_lastname( $orderby_statement ) { $orderby_statement = "RIGHT(post_title, LOCATE(' ', REVERSE(post_title)) - 1) ASC, LEFT(post_title, 1) ASC"; return $orderby_statement; }
This appeared to fix it! Hope this helps someone. Or, if there is a better answer, let me know.
Forum: Plugins
In reply to: [PDF Image Generator] 14 images generated, but I get NO images!I have found “PHP Warning: exec() has been disabled for security reasons in /site/wp-content/plugins/pdf-image-generator/pdf-image-generator.php on line 347” in my Apache/PHP Error log. I’m working on a solution. But, hopefully this can you point you to something in the mean time.
Forum: Plugins
In reply to: [PDF Image Generator] 14 images generated, but I get NO images!I have currently run into the same issue. Have you found a solution?
Forum: Plugins
In reply to: [WP Store Locator] Locator Search from another pageThanks for this! It was exactly what I was wanting to accomplish. But, after my location (map) page loads with the correct results, I get an alert stating ‘No results found.’ Is anyone else having this problem or has anyone solved it?
Forum: Fixing WordPress
In reply to: Custom Post Types and titlesOk. Now I feel dumb! get_post_type was right but forgot a little tidbit.
<?php echo get_post_type(); ?>
Forum: Fixing WordPress
In reply to: Custom Post Types and titlesNeither one of has worked in this situation.
Forum: Fixing WordPress
In reply to: Custom Post Types and titlesSorry, the code I was referring to is
<?php post_type_archive_title(); ?>
. Should’ve known that it would just put STRONG syntax around it.Forum: Fixing WordPress
In reply to: How to show category name instead of latest post nameThank you so much, keesiemeijer. That fixed it!!
Forum: Fixing WordPress
In reply to: How to show category name instead of latest post nameThank you but hat didn’t work. They are custom post types. I did not know that. Any ideas?