3,615 reputation
1732
bio website fischi.cc
location Austria
age 30
visits member for 2 years, 7 months
seen 2 days ago

onLine, onStage, onFire.

I am the WordPress Rockstar.

In love with transients.

fischi.cc


Jan
17
reviewed Approve Recent comments per tagged post?
Jan
17
comment How to have different header.php based on the user logged in?
This script goes to this place where you would normally include your header file, so usually in the page.php or the single.php. You can also make it a function.
Jan
17
answered How to upload thousands of images?
Jan
17
comment Performance and styles not working fine after changing permalink structure
Can you post a Link to that?
Jan
17
answered Recent comments per tagged post?
Jan
17
comment Recent comments per tagged post?
This is quite unresearched on your side, but I'll post an answer anyway.
Jan
17
reviewed Reviewed I don't have comments.php… how do I customize my comment fields
Jan
17
comment I don't have comments.php… how do I customize my comment fields
If you create a blank comments.php, WordPress supposes that it has nothing to do there. Try inserting the code from the twentytwelve theme, and modify it.
Jan
17
comment Performance and styles not working fine after changing permalink structure
Yeah, as I expected, so this solution should work for you.
Jan
17
revised How to have different header.php based on the user logged in?
added 173 characters in body
Jan
17
comment How to have different header.php based on the user logged in?
@TomJNowell of course, silly me, did not think of that ;)
Jan
17
answered Performance and styles not working fine after changing permalink structure
Jan
17
answered How to have different header.php based on the user logged in?
Jan
17
comment Stop header code from showing in category page?
Ok, did not know that :)
Jan
17
answered Stop header code from showing in category page?
Jan
17
comment wp_localize_script & wp_enqueue_script not working in front end
If the file is not in the sourcecode of the frontend, please be sure your enqueue-function is not placed in a conditional (like is_admin). Can you confirm this?
Jan
16
comment Redirect after get_delete_post_link
Nono, the wpse_delete_post() is in the AJAX call - so it does not happen on the website. in the jQueryfunction you tell the server to call this function, and the part with console.log outputs the return value of the function in your console.
Jan
16
answered Remove Unnecessary Mysql Query
Jan
16
comment Why is it wrong to use admin_print_scripts-{hook} to enqueue a script (.js) file?
@AKTed the reason you may want to use another hook is that you could enqueue your Javascript earlier. Does not really make a difference in the outcome, but the later you call an enqueue_script, the less there are possibilities to dequeue the script, if needed. Always depends on what you want to achieve, but enqueueing AFTER admin_print_scripts would be pointless ;)
Jan
16
answered Redirect after get_delete_post_link