Alex
Forum Replies Created
-
Forum: Plugins
In reply to: [WP REST API (WP API)] Menus support extensionThank you @nekojira.
Forum: Plugins
In reply to: [Custom Post Template] If is a post template$template = get_post_meta($post->ID, 'custom_post_template', true); if($template == 'single-custom-post.php'){ echo 'this post template is single-post-post.php'; }Forum: Plugins
In reply to: [JSON API] How to use it? everybody seems to know. :)to import data to database use WordPress importer tools -> import
Or use CSV import plugin http://ww.wp.xz.cn/plugins/csv-importer/Thanks for the great plugin, saved me a lot of work!
Still can’t find this option though in the settings.If anyone interested, I was able to get it working
Code is here: https://gist.github.com/abachuk/5714495Forum: Plugins
In reply to: [woocommerce] Override theme files doesn't work@shnalla, you’re right it works if you place template files in “woocommerce” directory
update: it is working. the problem was flush_rewrite_rules(). Make sure it is not anywhere in functions.php, flush rewrite rules manually by saving permalink structure in wp-admin. Thanks for the plugin!!!
I use /%postname%/ permalink structure – still get 404
Forum: Plugins
In reply to: [MailChimp Widget] [Plugin: MailChimp Widget] Form disappears after submiitI was able to write custom script. Look here
http://stackoverflow.com/questions/8425701/ajax-mailchimp-signup-form-integrationForum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] No related posts.Hi mitcho.
Thanks for the support and great plugin. I tried to install yarpp-experiments and I’m getting error http://cl.ly/0y370p1z122t0s2A0n1c .Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] No related posts.no related posts too.
Forum: Fixing WordPress
In reply to: Error:Can't connect to ftp while updating!define('FS_METHOD', 'direct');did the trick for me. Thanks Dion Hulse (@dd32)Forum: Fixing WordPress
In reply to: How to get just the text from custom fields ?get_post_meta($post_id, $custom_filed_id, true);You can read more here http://codex.ww.wp.xz.cn/Custom_Fields
So, if you have custom field id width, then you would use this code to get a value in your template file<?php $myWidth = get_post_meta($post->ID, 'width', true); <div style="width: <?php echo $myWidth; ?>px; "></div>Forum: Themes and Templates
In reply to: Change default image border colourI had the same problem. Found the solution with jQuery. This might work for you too
$('.entry-content img').each(function() { var brdrColor = $(this).css("border-left-color"); if ( brdrColor == 'rgb(0, 0, 0)' || brdrColor == '#000000' ){ $(this).css({"border-color":"#09345b"}); } });in my case .entry-content is container for wp_content(), so the script checks if there is an image inside the content with default (black) border and replaces the color with new one
Forum: Meetups
In reply to: Stamford, CT – Fairfield, CT – General InterestWe have meetups every month, you can check schedule at http://www.meetup.com/stamfordwp/
Usually it’s in Stamford, CT (UCONN)