129 reputation
21547
bio website
location
age
visits member for 3 years, 9 months
seen Jul 1 at 13:56

Jun
30
comment Multisite: List all Blogs alphabetically
Can you guys give me an example of code? $blog_list is returning arrays as well, does this even work?
Apr
19
comment Wordpress Multisite: Have the same header and footer of main-blog on all sub-blogs
@buelte I updated my question. I'm not using wp_nav_menu() but wp_list_pages on my theme. The code above doesn't work on the child-theme. On my child-theme there is no menu at all.
Apr
19
comment Wordpress Multisite: Have the same header and footer of main-blog on all sub-blogs
how about the footer? is this also possible without using wp_nav_menu()?
Mar
29
comment Wordpress Multisite: Have the same header and footer of main-blog on all sub-blogs
The shared parts are only changable by the super admin and the main blog. The subblog wouldn't need to change anything from the main blog. The subblogs should just be able to edit their content-area where there own sites and posts will be listed.
Jan
15
comment different post-class when template is loaded via ajax
hmm, die() is weird in this case, cause this template is looped in the middle of the page, in this case the footer won't get rendered.
Jan
15
comment paged query leads to 404?
Before I clicked on Page Number Two: cl.ly/TNHx After I clicked on Page Number Two: cl.ly/TN3o
Jan
15
comment different post-class when template is loaded via ajax
Thank you, I knew that, i just thought there might be a better solution. Thank you anyway. One last question, after every reload of the list items I also get a "0" inserted -> cl.ly/TO3N Do you happen to know why? There is no 0 in any template or whatsoever I already checked.
Jan
15
comment different post-class when template is loaded via ajax
But I don't know why all other classes work. It's just the class of the custom-post-type that is missing. There is even the class type-wr_event but not the wr_event?
Jan
15
comment different post-class when template is loaded via ajax
Thank you, however still no luck. I have everything exactly like you suggested and the ajax-reload still works. However still no luck with the post-class.
Jan
15
comment different post-class when template is loaded via ajax
Can you elobrate on that? I updated my question and now use wp_enqueue_script and wp_localize_script, doesn't change anything.
Jan
15
comment Comment-Meta doesn't work with latest wordpress update
No, doesn't change anyhting. My function saveCommentMeta()is called if I try and add a console.log(test) to it. So when clicking on update in the comments-quickedit the test appears in my console. However nothing is saved.
Jan
15
comment different post-class when template is loaded via ajax
Updated my question with ajax and function call.
Jan
15
comment paged query leads to 404?
Anchortag for page2 looks like this … <a class="page-numbers" href="?page=2">2</a>
Jan
15
comment paged query leads to 404?
Thank you, I edited my question. It's almost working now, two more details I need to ask for: Frist off, I changed the two lines like you mentioned and now the 404 error is gone and page two is shown. I also changed 'paged' => (get_query_var('page')) ? get_query_var('page') : 1, However, the problem I'm having now is that page NR. 1 doesn't work anymore. So when reloading the home-page and I click on any number in the pagination everything works fine, but when clicking back on 1 nothing happens. When inspecting the element I see <a class="page-numbers" href="">1</a> How can I fix that?
Jan
14
comment Function call via ajax – can't figure it out?
Well, it works with $.get but doesn't work with $.ajax.
Jan
14
comment Function call via ajax – can't figure it out?
Well, this ajax call is public, so on the frontend. I changed it to wp_ajax_nopriv_get_event_list. However same thing. What am I doing wrong here?
Jan
14
comment tax_query: What to pass when I want to have all terms?
But since I'm not that much of a programmer I'd love to see some actual code :) So how do I do that? If my param $cat is set to NULL I don't want my tax_query to happen.
Jan
14
comment tax_query: What to pass when I want to have all terms?
Thank you, updated my question … I get the following error if I do this … Parse error: syntax error, unexpected 'if' (T_IF), expecting ')'
Jan
14
comment Function call via ajax – can't figure it out?
OK; updated my question, however doesn't change anything. Still same error. Different console.log() though.
Jan
14
comment Function call via ajax – can't figure it out?
I've updated my question. Sorry if I'm annoying, just can't figure out why my function is not getting called.