1,860 reputation
1313
bio website maxyudin.com
location Riga, Latvia
age
visits member for 2 years, 3 months
seen Apr 17 at 13:03

Mar
2
comment Remove rel=“attachment wp-att-XX”
See birgire's answer for better add_filter().
Mar
2
comment Enqueue AWS Script
Check page source code for jQuery is loaded. AWS scripts too.
Mar
2
comment WPML wp_query not working properly in one language
Your question is about commercial plugin. Most likely your problem is described in WPML docs or it's a WPML bug, not Wordpress's. Have you tried WPML support?
Mar
1
comment Remove rel=“attachment wp-att-XX”
Yes, you are right. It's better to hook to image_send_to_editor. But I still prefer preg_replace against messing with $id.
Feb
21
comment Is there a limit on the size of a WP page?
Firefox 19.0 on Ubuntu returns no HTTP headers. Just nothing. Chromium 24 on Ubuntu 12.04 says "(Failed)". See URI (not URL) lenght.
Feb
21
comment Is there a limit on the size of a WP page?
May be you are right. I've found this answer: Data protocol URL size limitations. When I'll get some time I'll dig into WP core to see if there are some trimmings or limitations. But remember, I'm not a guru, just my pleasure to help!
Feb
21
comment Is there a limit on the size of a WP page?
Possibly it has own limit too. 30K long URL does not seems to be legit.
Feb
21
comment Display deepest post category, when post have multiple categories
It does supports, but when the post exists in multiple categories it's impossible to guess which one of multiple categories do you mean at the moment. The only suggestion I have for your situation is to save meta data for each post with preferred category to show post in.
Feb
21
comment register_activation_hook() not activate plugin
What does FILE means in register_activation_hook( FILE, 'createTable' );? Are code fragments you've pasted both resides in the main plugin file?
Feb
21
comment Display deepest post category, when post have multiple categories
Then the only way is to check the referrer.
Feb
21
comment who to limit number of li in wp_nav_menu
Write a function and use it as 'fallback_cb' in wp_nav_menu. There is no a lot of information or examples in your question to say more.
Feb
21
comment Display deepest post category, when post have multiple categories
As I understand, category ancestor of a given post is not post category. So you should ask for post category. Function Reference/get the category
Feb
20
comment Primary navigation menu & footer not showing in category / tag page
It says Notice: is_category was called incorrectly but I don't see is_category in your code. Please supply, probably, archive.php essential part.
Feb
20
comment Saving into post_excerpt or post_content
There is no difference when saving to DB. The only processing difference is that post_excerpt will be wrapped in <p> element when displayed on frontend.
Feb
20
comment SQL query to get posts from multiple categories but not in a category
That's impossible my code does not work. It was tested. Also, term_id IN(15, 5) is equal to WHERE term_id = 15 AND term_id = 5. Anyhow, WP_Query is better as it's native. Glad you've got it going.
Feb
19
comment Make the Status, Visibility, or Date fields opened by default in the Publish box
You can figure out their respective containers' id using any DOM inspector and set their visibility in CSS file or using jQuery.
Feb
19
comment How do i get a specific user metadata using custom metavalue outside of wordpress?
There is no meta data in wp_users table. And you don't need wp-load.php to query the database. Use plain mySQL query from your external script.
Feb
16
comment Transfer from English page to Arabic page
Your question is tagged as wordpress.com which is off-topic on this site. Is it the mistake?
Feb
14
comment Form action redirect to the same page
What does SHIURIM_PAGE contains? What does get_page_link(SHIURIM_PAGE) returns?
Feb
14
comment Wrap Meta Box with <li> and </li> for each new line
See my answer to the identical question wordpress.stackexchange.com/a/84815/11761