joefletcher
Forum Replies Created
-
I had the same problem. Saving the settings worked… except the catalog images were missing. Not sure why. Ain’t got time for this. Uninstalled.
Forum: Plugins
In reply to: [Zero Spam for WordPress] False positivesI just got blocked on my own site, so wondering the same thing.
Ok, so I gave this a quick shot. I actually edited the acf plugin, not this plugin.
First, create a field “layout_label” for each flexible content layout. Enter a custom label.
Then, in
advanced-custom-fields-pro/pro/fields/flexible-content.php, around line 357, add:<?php $layout_txt_label = ' '; foreach( $layout['sub_fields'] as $sub_field ) { if ( $sub_field['name'] == 'layout_label' ) { // add value if( isset($value[ $sub_field['key'] ]) ) { // this is a normal value $sub_field['value'] = $value[ $sub_field['key'] ]; } elseif( isset($sub_field['default_value']) ) { // no value, but this sub field has a default value $sub_field['value'] = $sub_field['default_value']; } if ( $sub_field['value'] ) { $layout_txt_label .= $sub_field['value']; } else { $layout_txt_label = 'Block'; } } } ?>Then, change this line:
<span class="fc-layout-order"><?php echo $order; ?></span> <?php echo $layout['label']; ?>to
<span class="acf-fc-layout-txt-label"><b><?php echo $layout_txt_label; ?></b> </span> <span class="fc-layout-order"><?php echo $order; ?></span>I removed the default ACF layout label and gave it a generic term Block (just my preference).
This works with or without the ACF Fold Flexible Content plugin.
I’m posting this here in case someone wants to use this as is (will be overridden by acf plugin update) and/or take it to the next level and create a plugin or independent piece of code for functions.php. I couldn’t figure that out immediately.
I have the same issue and am looking for the same thing, the ability to give meaningful labels to all my ACF content sections.
Forum: Fixing WordPress
In reply to: Pulling in an external json/xml data INTO WordPress self-hosted site@dragondon, how did you end up going about this? Any recommendations on how to pull in xml/json data into WordPress?
Forum: Fixing WordPress
In reply to: jQuery error on 3.6 upgrade jquery-1.10.2.min.map 404kudos to kim vin! I unchecked “Enable source maps” in Chrome Developer Tools, and the jquery-1.10.2.min.map 404 error went away.
Forum: Plugins
In reply to: [Related Posts by Sovrn] Changed thumbnail size, regenerated, now no imagesHi Silvo,
Thanks so much for your detailed response. 2 questions:
1) Is there anyway to set the thumbnail sizes to 266px through your plugin, or should I continue to edit the default from 150 to 266?
2) Any update on the random default thumbnails showing up? A quick glance from the forum shows roughly 5 people having the same issue. Seems like maybe a bug in the latest version?
Thanks,
JoeForum: Plugins
In reply to: [Flare] Position of Floating BarPersonally, I’m trying:
.flare-vertical { left: 1% !important; margin-left: 5px !important; top: 60px !important; }Forum: Plugins
In reply to: [Flare] Position of Floating Bartry something along the lines of this in your stylesheet:
.flare-vertical { margin-left: -650px !important; top: 90px !important; }Forum: Plugins
In reply to: [Related Posts by Sovrn] Changed thumbnail size, regenerated, now no imagesSo, after about 5 hours trouble shooting with this plugin, it has one problem after another. After sort of fixing the issue above, now it is showing wrong default static thumbnails. Same issue as described here:
http://wordpress.org/support/topic/thumbnails-showing-wrong-imagesI also now have installed their other recommended plugin, but the same problems exist.
Can you drop me a line when you get this sorted out? Just a reply here will do the trick. Thanks, and looking forward to using your plugin when it’s ready.
Forum: Plugins
In reply to: [Related Posts by Sovrn] Changed thumbnail size, regenerated, now no imagesHi, I had all the same problems as the guy above, followed all the recommended steps, Regenerate Thumbnails, tried that CSS (which actually breaks the design with the load more posts functionality), uninstall/reinstall Related Posts, etc., and none of that helped.
I found the problem: the Related Posts plugin hard-codes the thumbnail size to 150 x 150 in the plugin’s config.php. Once I changed that, I was able to get my custom thumbnail size to appear.
I tracked this down because no matter what I did, including removing the 150px thumbnail options from settings, my functions.php, etc., everywhere, the plugin continually kept pointing to a 150px thumbnail, whether it existed or not. I looked in the wp_post_meta table, meta_key: _wp_attachment_metadata, and saw that the wp_rp_thumbnail was set at 150… even though the “standard” WP “thumbnail” value was set at 266. Which means changing the WP thumbnail setting as described above does nothing, actually.
I changed all instances of 150 in that key to 266. However, after a reload or 2, it was back to 150. Which meant something was overriding this.
So, Zemanta, looking for guidance here: is this a bug? Are we doing something wrong? For now, I’ll hard-code your plugin to my 266 value.
Are you able to instead of hard coding it to 150 make that an option in your plugin? OR… instead of using your wp_rp_thumbnail value, simply use the WP thumbnail value.
Forum: Plugins
In reply to: [Magento Wordpress Integration] Single Product ShortcodeOk, I came back to this today and it was magically working, even on local. Thanks for the offer to help out.
Forum: Plugins
In reply to: [Magento Wordpress Integration] Single Product Shortcodesorry I haven’t responded yet. I will soon. Right now I have it on my local machine. I need to set it up on a server so you have access to it. I will get back to you shortly.
Forum: Plugins
In reply to: [Magento Wordpress Integration] Single Product ShortcodeI have the same problem. Just bought the shortcode addon, installed, enabled, and tried this, and it causes the page to stop rendering after the shortcode.
hello world [mwi_product sku="test123" /]Forum: Fixing WordPress
In reply to: get_ancestors issue – can see where to fix, just not WHAT to fixThanks – I renamed that same function, and worked for me.