155 reputation
110
bio website
location
age
visits member for 1 year, 11 months
seen Sep 12 at 1:35

Jul
29
revised Pagination for categories with a different amount of posts on first page not appearing on 2nd page
added 88 characters in body
Jul
29
asked Pagination for categories with a different amount of posts on first page not appearing on 2nd page
Jul
2
awarded  Curious
Jun
3
awarded  Critic
May
21
comment Limiting allowed html elements/strip harmful scripts from editor
This doesn't apply for the latest wordpress versions because TinyMCE changed. For instance, the block formats needs to be like this instead now: $initArray['block_formats'] = 'Paragraph=p; Address=address; Heading 1=h1; Heading 2=h2';
Mar
17
awarded  Notable Question
Mar
13
comment Disable wordpress widget automatically on error
Not sure what you mean. I have no difficulty with my code, its whether it is possible to tell wordpress 'don't show this widget completely' what I am asking. By don't show I mean not even the title or the background box or anything. Of course I can have an If statement or a try - catch to handle the exception, its hiding the widget altogether if it happens I am asking about. Maybe there is a flag in WP_Widget or some way. I don't know what I should give you because its just my code which is irrelevant for what I am asking. Just assume I have an error code from my function call...
Mar
12
asked Disable wordpress widget automatically on error
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
17
asked The capability edit_theme_options is not giving capabilities to add an item to menu
Nov
10
asked Profiling wordpress performance
Nov
10
accepted Varying the number of posts per page from the first one
Nov
9
asked Optimizing wordpress database calls bloginfo
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