1,904 reputation
1412
bio website krembo99.com
location
age
visits member for 2 years, 6 months
seen May 11 at 20:20

Mar
12
comment WAMP vs XAMPP pros/cons - for running a local testing server?
AFAIK - XAMPP also have some extensions that are built-in like sendmail . As far as I know WAMP does not . ( also FTP, Mercury, Tomcat for java ..)
Mar
12
comment Check for new posts in the loop every x mins/seconds
try here and also here. You can search for "live" blogging wp. Google will hit a lot .
Mar
8
comment Hack nav menu to add gettext() to menu items?
Although admiring the learning / coding drive , why not using a plugin like qTranslate ?
Mar
5
comment How to enable qTranslate languages tabs in custom plugin page
Which step are you referring to ?
Feb
27
comment Is it possible to make grandchild themes?
Although I might not raccomand it - It might be achievable using a pseudo-theme plugin
Feb
23
comment How to add qtranslate multi language support for media?
@cenk. this IS within the UI ...
Feb
19
comment How to prevent redirect to 'About' after core upgrade?
yep.. my bad. Was looking at a custom core install .
Feb
19
comment How to prevent redirect to 'About' after core upgrade?
The _core_updated_successfully mentioned by @Brady action seems missing from 3.8.* ( >3.7 ?? ). Any ideas of a a replacement ?
Feb
19
comment Updating Wordpress - the best approach (updating wp core, plugins and db)
I would add another intermediate step(s) which is update by increments of major releases one by one , activating and after each step ,especially if the core is < 2.7 . ( for example 2.5->2.7->2.9->3.0.4->3.5->3.6->latest ).this is due to changes in wp-config (SALT) and update mechanism itself. also, different langauages might need different sequence
Feb
16
comment Reorder “menu order” of attachments to another predefined order
you could do it with a simple meta-box and custom fields. Or if you want to add it to the actual uploader UI you could have a look at attachment_fields_to_edit and attachment_fields_to_save hooks. on the right you will find a link with example implementation
Feb
11
comment What can I do to customize a widget provided with this plugin? from where have I to start?
if you will tell us WHAT you want to change, it will be easier to help you. is it the CSS ? the inner logic ? the form ? the update ? the defaults ??
Feb
9
comment Verifying that I have fully removed a WordPress hack?
I think you forgot to mention scanning your themes and plugins. Some people download them from dubious sites, and lots of them have malisious code already built in - Including SQL injections to DB ( will not help if just disable them or delete )
Feb
7
comment Update tags to 10,000+ posts with wpdb?
INSERT IGNORE INTO wp_custom_install_term_relationships (object_id, term_taxonomy_id, term_order) SELECT wp_custom_install_posts.ID as object_id, (SELECT tt.term_taxonomy_id FROM wp_custom_install_terms t INNER JOIN wp_custom_install_term_taxonomy tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'post_tag' AND t.name = 'my_tag' LIMIT 1) as term_taxonomy_id, 0 as term_order FROM wp_custom_install_posts WHERE wp_custom_install_posts.post_type = 'post' AND wp_custom_install_posts.post_status = 'publish';
Feb
7
comment Update tags to 10,000+ posts with wpdb?
I understand , but if you divide the query for only a one time job - i do not see what the problem is . Anyhow, here is the SQL ( next comment ) you will have to create the tag my_tag first on ONE or more posts. Please also TEST thoroughly and backup DB before you use it on production
Feb
7
comment Update tags to 10,000+ posts with wpdb?
if you want with wp_query this should work : <?php global $wp_query;$tag = 'test';$query_vars= array('post_type' => 'post');$posts = $wp_query->query($query_vars);foreach($posts as $post) wp_add_post_tags($post->ID,$tag); ?> . The SQL method is more reliable, but a bit complicated if you are not familiar with the inner works .. if you are having problems, you should divide the queries to pieces. ( each 1000 for example). this is only a concept .. you should use proper queries ( like prepare() etc )
Feb
7
comment Update tags to 10,000+ posts with wpdb?
Your best bet - Go with SQL.
Feb
7
comment URLs to images get messed up after migration
@BojanaŠekeljić that mean you maybe did not put the correct URL while migrating . ( maybe forgot the http:// or maybe left the main domain in the home url or blog url options)
Feb
6
comment jquery conflict with widget page
I understand.. but if you are using different jQuery versions for DEV and Production - it can cause compatibility problems ..
Feb
6
comment jquery conflict with widget page
why are you using an OLD jQuery in fiddle ?
Feb
6
comment URLs to images get messed up after migration
This is probably (but not sure) due to some theme / plugin that do not use the right function to get the URL.I assume that now it takes the ABSOLUTE server path, which I can assume on your new server is a PARKED domain or ADDON, as opposed to what you had before . try to see if it happens also with internal links. also try UPDATE wp_posts SET post_content = replace(post_content, 'subdomain.domain.com/subdomain.domain.com', 'subdomain.domain.com'); and UPDATE wp_posts SET guid = replace(guid, 'http://subdomain.domain.com/subdomain.domain.com','http://subdomain.domain.com'‌​); in Mysql to see