155 reputation
110
bio website
location
age
visits member for 2 years, 6 months
seen Apr 16 at 13:06

Feb
2
comment Getting parent category hierarchy as objects from category template
Thanks. What I did instead is that I used the parent property of the current category. If I call get_category($current_category->parent) recursively until I find one which has parent = 0, I suppose I will get all the hierarchy. Seems to be working unless there is a catch somewhere.
Feb
1
asked Getting parent category hierarchy as objects from category template
Nov
10
accepted Varying the number of posts per page from the first one
Sep
30
accepted Wordpress REST endpoint with JSON for Mobile App integration
Sep
30
comment Wordpress REST endpoint with JSON for Mobile App integration
Thanks for your insight. Yes a system which just uses the self hosted site is much better in all cases.
Sep
24
awarded  Popular Question
Sep
15
awarded  Teacher
Sep
15
comment Varying the number of posts per page from the first one
@s_ha_dum Thanks for the pointer. I managed to fix it by setting the offset parameter, which I guess I have to calculate according to the page I am in. Answer below, from some initial tests seems to work.
Sep
15
answered Varying the number of posts per page from the first one
Sep
15
asked Varying the number of posts per page from the first one
Sep
6
awarded  Tumbleweed
Jun
5
accepted Custom blog settings
Jun
5
comment Custom blog settings
Nice example thanks for that. Will select your answer instead of mine. Thanks for sharing.
Jun
5
comment Custom blog settings
Wow thanks for that
Jun
3
answered Custom blog settings
Jun
3
asked Custom blog settings
Apr
22
comment Wordpress REST endpoint with JSON for Mobile App integration
Thanks for the pointer. Maybe it could be authenticated in some way to avoid direct scraping? Although as you are saying its not seriously protecting against anything. (Search engines scrape anyway to index your blog).
Mar
1
comment Wordpress REST endpoint with JSON for Mobile App integration
I don't know if I am incorrect, but both seem to be targeted for posting/managing blog posts rather than plain retrieving information. Am I missing something? For instance, in the XML-RPC version simple operations like wp.getPost() require a username/password. I just want to develop a small app which displays pretty much the same articles on the blog, but formatted properly for it.
Mar
1
asked Wordpress REST endpoint with JSON for Mobile App integration
Feb
26
answered How can I add links to widget titles?