3,497 reputation
1730
bio website fischi.cc
location Austria
age 30
visits member for 2 years, 2 months
seen 20 hours ago

onLine, onStage, onFire.

I am the WordPress Rockstar.

In love with transients.

fischi.cc


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
Jan
16
comment Remove Unnecessary Mysql Query
Are you sure these Queries are unnecessary? Can you post your single.php? It's impossible to answer this with the given information.
Jan
16
answered Why is it wrong to use admin_print_scripts-{hook} to enqueue a script (.js) file?
Jan
16
answered Defer Parsing of Scripts
Jan
15
comment Slick Social Share Buttons plug-ins with Responsive theme - number of tweets link problem
No, the number usually takes the user to the Searchpage for the Tweets mentioning this site.
Jan
15
answered Slick Social Share Buttons plug-ins with Responsive theme - number of tweets link problem
Jan
2
comment How to add a onclick attribute to a list of checkboxes?
In which context do you have this checkbox?
Dec
30
comment Ajax loading duplicate post
Try running the function without AJAX first, checking if everything works fine. Just run the function in a template. If everything works out fine (mainly the offset), check if the correct values are submitted in your Ajax (just echo the offset somewhere). You'll probably recognize where the error is. Unfortunately, I can't tell by now what is wrong..
Dec
30
awarded  Tenacious
Dec
29
reviewed Reviewed update_post_meta() not working in save_post
Dec
29
comment update_post_meta() not working in save_post
Does it work outside the conditional? Please also check if your Action is really called - maybe put a wp_die in there just to be sure.