REBOOTTHAT
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Admin Pages pagination broken – going to postsGuys, sorry.
When I said:
Open WordPress/wp-admin/class-wp-list-table.php
I meant:
Open WordPress/wp-admin/includes/class-wp-list-table.php
??
Forum: Fixing WordPress
In reply to: Admin Pages pagination broken – going to postsHi guys,
I created my own little hack for this…
In WordPress 3.1…
Open WordPress/wp-admin/class-wp-list-table.php
Just above extract( $this->_pagination_args ); add this code:
=================
$tempVar = ''; if($_GET['post_type'] != ''){$tempVar = "&post_type=".$_GET['post_type'];} if($_GET['page'] != ''){$tempVar = "&page=".$_GET['page'];}
=================
There should be about four lines that have this code (495, 502, 522, 529):
$page_links[] = sprintf( "<a title='%s' href='%s'>%s</a>",
Change everyone to:
=================
$page_links[] = sprintf( "<a title='%s' href='%s".$tempVar."'>%s</a>",
=================************ ONLY FOR EARLIER VERSIONS ****************
In earlier versions of WordPress you need to modify WordPress/wp-includes/general-template.phpAdd this to line 1978:
=================
$tempVar = ''; if($_GET['post_type'] != ''){$tempVar = "&post_type=".$_GET['post_type'];} if($_GET['page'] != ''){$tempVar = "&page=".$_GET['page'];}
=================
And on these lines with (1989, 2003, 2017):
esc_url( apply_filters( 'paginate_links', $link ) )
Add .$tempVar. to the end … So
$page_links[] = "<a>$prev_text</a>"; $page_links[] = "<a>$n_display</a>"; $page_links[] = "<a>$next_text</a>";
Anyway was driving me nuts until I programmed the fix.
I am also hosting on Fasthosts, but have suspicion that is could be something to with Windows hosting.
Goodluck!
Forum: Fixing WordPress
In reply to: Problem moving between page listsTell me about it! To be honest I think it’s IE that is causing my keyboard problem as Chrome is ok (using now!)
I’m using a Theme called Webby-Green.
Pardon my newbieness, but I’m quite confident with PHP, but wouldn’t know where to start finding the code that displays buttons I’m talking about.
Do you know where this would be?
Thanks in advance!
Forum: Fixing WordPress
In reply to: Problem moving between page listsArrgghh!! Keyboard keeps missing keys sorry.
Forum: Fixing WordPress
In reply to: Problem moving between page listsSorry,
“If I could on one of these ” should be “If I click on on of these ”
Forum: Fixing WordPress
In reply to: Problem moving between page listsHi datasoftict,
No, I am using pages to try and navigate.
So in the CMS on the left there is Dashboard, Posts, Media, Links, Pages.
I click in Pages. I have a lot of pages so I scroll to the bottom and it says “Displaying 1 – 20 of 98” and then “1 2 3 … 5 >>” If I could on one of these buttons from this page I am redirected to the posts page say “no posts”.
WordPress is not showing the next page of Pages.