8,874 reputation
2056
bio website hakre.wordpress.com
location Europe
age 34
visits member for 3 years, 8 months
seen Apr 11 at 12:42

My weapons of choice are Netscape 2.01, HTML, CSS, PHP and the Gif Construction Kit.


May
24
comment WP Cron doesn't save <iframe> or <object> in post body
@Derfder: Then make that really visible within your answer. E.g. show the action around as code. Keep in mind other users might find this here via google and just copy and paste and really eat the pain. Hence the warning is important.
May
24
comment WP Cron doesn't save <iframe> or <object> in post body
You removed the "security" so I guess you didn't solve much here. Better get some review by others first before suggesting this as a solution.
May
24
comment WP Cron doesn't save <iframe> or <object> in post body
Well, that's probably not really sane because you likely will disable as well for comments or so. I dunno specifically, but I can only suggest you really take care of side-effects here.
May
24
comment WP Cron doesn't save <iframe> or <object> in post body
You need to insert those posts as admin. Please use the search, this has been discussed before (sorry I'm a little short here). It's basically to hook in there and raise the user-level when this is a cron request - I think it was lowered for some reason so better understand the implications.
May
24
comment uploading Attachments with permalinks based on parent file structure
Like @Derfder comment, I won't look much into WP Permalink settings (backend) either. This is desgined for WP standard content types, what you want is a new URL on top of these and I would also starting putting that into a plugin. One part takes care to set the value you need into the database somewhere when you upload the file (and/or edit the media entry) one part to get these back and one part to integrate with wordpress request / URI processing.
May
24
comment Simple tree display of WordPress menu
It is likely that Wordpress does not support that out of the box for you (if you don't want to set each items class manually in the menu editor). One way to add the functionality you're looking for is to provide your own walker, see the docs about $walker on the codex page you've linked.
May
23
comment Is Git/GitHub a good WordPress deployment solution?
+1: Nice screencast and nice explanation. Thanks for sharing.
May
23
comment How do WP child-themes work?
What @FernandoSilva wrote, that's straight forward documented in the Codex page. I also looked that up, it was not clear to me you really copied the file verbatim. In any case, it's documented, sometimes it's just being patient enough to read (and udnerstand). It is important you do proper error handling and provide those if you get a blank page. Remember that for future problems you run into. Most of them you can fix yourself if you know where to look ;)
May
23
comment How do WP child-themes work?
I don't think that you can replace any file in a childtheme but only some. I would double check if functions.php always works or if this needs some special handling. But just seeing it should work out of the box. If you see nothing, you likely have a white page of death probably. Do you get a 500 (internal server error) status code with your blank page? If so, log PHP errors to file (you can configure that in php.ini) and follow the error log. It should tell you where you made a mistake).
May
23
comment How do WP child-themes work?
What does not displayed mean in your question? As far as CSS files are concerned, you can find out by looking into the network tab inside the developer console of your browser. It shows you 404 errors and such. Also your webserver does. So what have you done so far to actually find out what could cause your issue? From your question so far I read that you're new to child themes, however that must not mean that child themes itself cause the problem here. It can be a simple CSS issue, better troubleshoot then wonder :)
May
23
comment Find all posts via SQL beginning with A of type B
I think you also might be interested ti learn about what a cross join means: en.wikipedia.org/wiki/Join_(SQL) - That is what you're doing here and most likely the cause of your problem.
May
23
revised Find all posts via SQL beginning with A of type B
added 46 characters in body
May
23
revised Find all posts via SQL beginning with A of type B
deleted 27 characters in body
May
23
comment Find all posts via SQL beginning with A of type B
when you look for tax igralni why do you ask your database for slug = 'igralni'; ?
May
23
answered Is Git/GitHub a good WordPress deployment solution?
May
23
comment Modifying WordPress core files
@Fredy31; It's the only way to keep your wordpress installation up-to-date, working and secure. Also the "long run" you speak about here is really long if it takes two years and longer between providing a patch to Wordpress and then getting it in. Even longer for reporting an issue with no patch. Take care.
May
23
comment What are some reasons why you should not hack WordPress core files?
AFAIK this was the original reason, not technically (you can organize that in a way it does not pose a problem to edit your install) but because of users then complaining in the Wordpress support forums that the update did break their site. As upgrading often did pose problems on it's own already, some users wanted to ensure to at least get the number of the "user-self-made" problems low and out of the equation.
May
23
comment What are some reasons why you should not hack WordPress core files?
I'd say number one reason to hack core files is to make them work like I need them not like others think I might need them. That can be temporarily (like in your debugging example) but this can be also per a full version or even across major versions because of issues that do not get fixed in the original wordpress package (being it wordpress.org or pre-packed by somebody else).
May
23
answered What are some reasons why you should not hack WordPress core files?
May
23
comment What are some reasons why you should not hack WordPress core files?
The image is a cultural reference to: Every time you masturbate... God kills a kitten