shirfarhad
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: [wp_link_pages] Getting five random pagesOk, great I’ve got it working.
I created my own plugin and edited the post redirect plugin to get this working.
Now I can get random pages and set a limit.
Forum: Fixing WordPress
In reply to: [wp_link_pages] Getting five random pagesOk getting five pages only wasn’t that difficult, I was just trying something out with a foreach statement and made this:
<?php $pages = (get_pages("orderby=rand()&title_li=")); $int = 1; foreach ($pages as $page){ if(++$int == 7){ break; } echo '<li><a href="'.$page->post_name.'">'.$page->post_title.'</a></li>'; } ?>That gives me five pages only.
Now I want to sort it randomly each time, so it would be possible to see page A,C,E,F,G one time and B,F,D,Z,J the other time.
This shouldn’t be too difficult, or is it?
Forum: Fixing WordPress
In reply to: [wp_link_pages] Getting five random pages*bump*
Forum: Fixing WordPress
In reply to: [wp_link_pages] Getting five random pagesI think I’ve found a plugin that does this for posts:
http://www.ax697.org/category-magic-on-wordpress-200765.html
Hopefully someone has a solution for pages.
Forum: Fixing WordPress
In reply to: page links next to each otherThanks,
I came here using the big G 😀
http://codex.wordpress.org/Styling_Lists_with_CSS
However I have no idea what to edit exactly, problem is I have two menus actually.
You can see it here:
http://www.irangoals.comI have a menu, one dropdown-menu (players) and another menu on the top of the page with the player names. I did this because the dropdown items don’t get indexed by google.
Forum: Fixing WordPress
In reply to: VERY VERY Slow WordPress, please help me out!You’re right and it looks like I have solved it.
Could you all try again and see if it loads fine?
A include code of a file which wasn’t a wordpress file but something else was doing this apparently.
Forum: Fixing WordPress
In reply to: VERY VERY Slow WordPress, please help me out!I’m not sure what you mean but I’m not the only one with the problem. A lot visitors have complained about it.
Forum: Fixing WordPress
In reply to: VERY VERY Slow WordPress, please help me out!I turned the plugins off, without result. I have now upgraded the wordpress and its only a little faster.
It loads a little bit faster in firefox now (still about 10 seconds though) and I still need to wait in IE to load the full page. I can see the menu and the header but the content comes up after 10 seconds or so…