1,351 reputation
416
bio website wp.sk
location Brno, Czech Republic
age
visits member for 3 years, 9 months
seen Sep 12 at 16:00

WordPress ninja ;)

johnnypea.wp.sk


Jan
14
comment Action hook load_textdomain $domain variable
wp_load_translations_early() is not called during a regular load..."Designed for unusual load sequences (like setup-config.php) or for when the script will then terminate with an error, otherwise there is a risk that a file can be double-included." It's enough to run it before load_default_textdomain() on line 268 in wp-settings.php
Jan
14
comment Action hook load_textdomain $domain variable
Yes, you are right! The thing is that I need cross reference domain with a corresponding translation file path. I use "must-use" plugin to initialize my code before all the translations are loaded. Do you think there is any better way?
Mar
13
comment qTranslate 2.5.28 and WordPress 3.3.1 issues
Thanks. This seems to solve my problems for now. I hope there will be some legacy update soon.
Jan
17
comment Custom post type thumbnail / Media Library WP_DEBUG notice
What WP version are you using? Have you tried to deactivate all the plugins and tried it without them?
Jan
13
comment pagination in a custom list created with get_pages function
@alonisser You can wrap whole code as it is in your function just store your result in some variable which should be returned (return $yourvariable;) after the wp_reset_postdata() function - it should be placed somewhere AFTER the looping through the data.
Jan
10
comment pagination in a custom list created with get_pages function
@kevin I think this would paginate all the page including the main loop. Correct me if I am wrong. On the other hand it could be probably used on single pages because there is only one page in the loop. But you have to still some other plugin or code to make your pagination numbered.
Nov
21
comment How do I dynamically populate wp_nav_menu from a custom taxonomy?
I am glad it helped you.
Sep
22
comment Order taxonomy terms by the frequency of use in the last 30 days
Thanks, this is it.
Sep
16
comment Display ONE taxonomy and its assigned pages
Your link is not working and I still don't understand.
Sep
15
comment Custom Taxonomy as Dropdown in admin
@Mestika I am glad it works for you. Please, could you label this post as the "right answer" and vote it up if it was useful for you. Thanks
Sep
6
comment update_post_meta, xml parser
Have you tried to set $img variable directly (I mean write it down by hand) to "$doc->prod[$i]->awImage" content and check if it is stored?
Sep
6
comment Check if user is logged in, inside php file in template directory
You are wrong, the path is correct. He said the file is located in his theme directory root/wp-content/themes/theme/file.php
Sep
6
comment Check if user is logged in, inside php file in template directory
The code is working for me with no error. I suppose a problem is within other parts of your code. Try to "google" for how to solve a "headers already sent" problem.
Sep
2
comment $wpdb->insert - inserting multiple rows
What is the structure of your table? I see no problem in your code.
Apr
25
comment Add update notification bubble to admin menu item?
What is the reason for this? What exactly you want to do?
Apr
25
comment Multiple level category drop-down
@Zach Do you use caching plugin? Did you test it in another internet browser? (try to clean you cache) Did you copy my code as it was? (try to copy the code again) Don't you have some plugins or theme functions which could interact with categories or somehow filter them? - you can try to deactivate all the plugins and set the default theme and check if it works...it is working for me with no active plugin and default theme TwentyTen
Apr
25
comment Automatically create a new page daily with last three posts
@Ryan I am not able to tell without investigating your archive.php. This is only one possible modification for your "date" template.
Apr
25
comment Multiple level category drop-down
@Zach do you have posts assigned to these child categories? Also be aware this setting will list only strictly related sub-categories.
Apr
24
comment Multiple level category drop-down
@Wild Phoenix yes you are right. I fixed it in my post.
Apr
24
comment Archive list with only years and months
@Antonio I updated the post with "just the year's text" version.