1,860 reputation
1313
bio website maxyudin.com
location Riga, Latvia
age
visits member for 2 years, 3 months
seen yesterday

Mar
16
comment List upcoming events, ordered by date in a custom field
Please show your code here as it can be useful for future users. Please also paste here only essential parts of the code. We know nothing about filedropper.com and why we need to register there.
Mar
16
comment List upcoming events, ordered by date in a custom field
Any code and template file to think about? Also why do you need exactly query_posts not WP_query?
Mar
16
comment Javascript alert appears before <!DOCTYPE> tag
What plugins and themes were you using before it has happened? Are they trustworth? Is your FTP secure?
Mar
16
comment Is that the query_posts() the real criminal here?
Why query_posts not WP_Query? Citation from query_posts Caveats: "Before deciding to use query_posts(), be sure to understand the drawbacks.".
Mar
15
comment Redirect to a page if ancestors is empty
wp_redirect($url); exit;
Mar
15
comment disable permalink on custom post type
Do you want to hide the permalink under the post title on Edit Post page? Do I understand right?
Mar
15
comment Call to undefined function add_action()
See this question/answer: wordpress.stackexchange.com/a/47059/11761
Mar
15
comment insert link in wordpress editor greyout whole screen?
Have you tried to use another browser or a virgin browser profile without any plugins installed?
Mar
15
comment Hooking in to an archive page?
Yes, that's right. It have to be the regular WP template.
Mar
7
comment Caching-Plugins and Ajax-Page-Parts
You can not cache a part of dynamically generated page. The meaning of caching is to save static version of the page and to serve it to the user. And yes, AJAX is the solution as it's generated on the user side.
Mar
5
comment WooCommerce - Want to show multiple currency for a single product
How far you are already with your function?
Mar
2
comment Link post images to post
@toscho have a nice array('night' => 'Europe', 'day' => 'USA or near'). I'm falling asleep.
Mar
2
comment Link post images to post
Yes, @toscho. I agree, but how can we avoid XY? Nobody is reading FAQ, which is not full and is under construction for months.
Mar
2
comment Remove rel=“attachment wp-att-XX”
Take care of attributes, they are in different order sometimes.
Mar
2
comment Remove rel=“attachment wp-att-XX”
Here you are:$pattern = '{(<a\s[^>]+>).?(<img\s[^>]+>).?(</a>)+}Ui'; $output = preg_replace($pattern, '$2', $image_inside_link);
Mar
2
comment Link post images to post
@toscho I disagree. Original Poster already got the answer here:. This is not a place to fight. But I don't see regexes as part of WordPress. It's PERL legacy and so on.
Mar
2
comment How To Download WordPress Audio Attachments
Please supply your question with more information about clicking as it will be useful for other users and will be searchable also. What do you have already tried? We need some code to think on.
Mar
2
comment Writing a plugin that notify my friends of new post that mentions(@) them
@brasofilo,thanks a lot for all suggestions. Unfortunately I was unable to get WP_User_Query to work in this case. I know, built-in is better than regular.
Mar
2
comment Link post images to post
It's not about WordPress, it's about regexes.
Mar
2
comment Remove rel=“attachment wp-att-XX”
You need different pattern for preg_replace(). But I'm not a guru in regular expressions. Also it's off-topic here.