[Plugin: Stray Random Quotes] [all-quotes] paging links problem
-
I used the [all-quotes] function on my page here. they displayed fine but the paging links were being built incorrectly (https://calenfretts.com/index.php&qp=2 instead of https://calenfretts.com/quotes/?qp=2).
my solution: change lines 261-262 in inc/stray_functions.php from:
$baseurl = $_SERVER['PHP_SELF']; $urlpages = $baseurl.'&qp=';
to
$baseurl = ''; $urlpages = $baseurl.'?qp=';
in this way the link will be built with the current page.
also, off topic, why is the “Select the version of WordPress you are using” on the “Add New Topic” screen not up-to-date?!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Stray Random Quotes] [all-quotes] paging links problem’ is closed to new replies.