Timeline for "Right Way" to make custom Loop respect reading settings inside admin panel?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 8, 2013 at 23:01 | comment | added | Dejo Dekic | THX for helping me i really appreciate it... | |
May 8, 2013 at 22:52 | comment | added | s_ha_dum | I would have to do more experimenting to say for sure but I just did a quick test with several different templates and the code works in all of them. | |
May 8, 2013 at 22:36 | comment | added | Dejo Dekic | I don't know is it related or not but I am using that code inside my custom page template,so if I use my code inside template I need to set get_option('posts_per_page'); and it works, but if I use the same code inside my index.php and omit get_option('posts_per_page') my code works also fine. Is this maybe happening because I am using my code inside a template for some reason? | |
May 8, 2013 at 21:50 | history | answered | s_ha_dum | CC BY-SA 3.0 |