polyfade
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] Dashicon requestSorry, about that. I overlooked it. Under ‘Advanced Options’ > ‘Menu Icon’
Forum: Plugins
In reply to: [Flickr API] Not working with WP 4.xInspecting the image errors further, it looks like it has issues getting the thumbnails.
First of all, it’s not even trying to get the thumbnail size, rather it’s calling for the full size photos instead and using them as thumbnails inside the div
galleria-thumbnailsForum: Plugins
In reply to: [Flickr API] Not working with WP 4.xWhen choosing the Galleria option, I receive a bunch of error messages:
Could not extract width/height from image: http://farm4.static.flickr.com/3911/15361774315_e28fbdc08c_m.jpg. Traced measures: width:0px, height: 0px.Forum: Plugins
In reply to: [Flickr API] Not working with WP 4.xI see, this really needs your SCREEN NAME, not Flickr ID.
This did NOT work taking the Flickr ID from here:
https://www.flickr.com/photos/myusername/Forum: Fixing WordPress
In reply to: Restrict Media access to authors with WP v4.xI’ve found this solution to somewhat work, but without the number of media items being relative:
//restrict authors to only being able to view media that they've uploaded function ik_eyes_only( $wp_query ) { //are we looking at the Media Library or the Posts list? if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/upload.php' ) !== false || strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false ) { //user level 5 converts to Editor if ( !current_user_can( 'edit_others_posts' ) ) { //restrict the query to current user global $current_user; $wp_query->set( 'author', $current_user->id ); } } } //filter media library & posts list for authors add_filter('parse_query', 'ik_eyes_only' ); add_action('pre_get_posts','ml_restrict_media_library'); function ml_restrict_media_library( $wp_query_obj ) { global $current_user, $pagenow; if( !is_a( $current_user, 'WP_User') ) return; if( 'admin-ajax.php' != $pagenow || $_REQUEST['action'] != 'query-attachments' ) return; if( !current_user_can('edit_others_posts') ) $wp_query_obj->set('author', $current_user->ID ); return; }For some reason, this works
!current_user_can( 'edit_others_posts' )but this does not,!current_user_can( 'manage_media_library' )Forum: Plugins
In reply to: [Custom Content Shortcode] ACF Image field not showing when in related tagI’m actually having the same issue and I have v 1.1.9 installed along side ACF v5.0.7 and WordPress v4.0.
I think I’m confused myself when addressing images from ACF, too.
For clarity, this works:
[field image="cover_image"]and[content image="cover_image"]If I have
Image Arraypicked in ACF, then this DOES NOT work:[field image="cover_image" in="object"]HOWEVER, if I have
Image Arraypicked in ACF, then this works:[field image="cover_image" in="id"]When choosing
Image Arrayin ACF, this only outputs the Image ID number:[content field="cover_image" in="object"]However, the two methods that do work output the same markup.
Example:<img width="460" height="380" src="http://mysite.com/wp-content/uploads/cover.jpg" class="attachment-full" alt="My Great Cover">Is it possible just to pull the image url from the ACF image field because I want to customize the output further?
Forum: Fixing WordPress
In reply to: Using onChange event with wp_dropdown_usersThere’s probably a more efficient way of displaying the onChange event for
users. This is what I came up with:<?php $args = array('selected' => 'false', 'name' => 'author', 'who' => 'authors', 'include' => '14,15,16'); $blogusers = get_users($args); ?> <form action="<?php bloginfo('url'); ?>" method="get"> <select id="select-of-tags" name="author" onchange="if(this.selectedIndex){location.href=(this.options[selectedIndex].value)}"> <option value="">View Authors…</option> <?php foreach ($blogusers as $user) {?> <option value="<?php bloginfo('url'); ?>/author/<?php echo $user->user_login ?>"><?php echo $user->display_name ?></option> <?php } ?> </select> </form>Anyone have a better solution?
Interested too, I posted this question to the original developer.
You can follow it here:
https://github.com/samsono/Easy-Responsive-Tabs-to-Accordion/issues/48Forum: Plugins
In reply to: [Custom Content Shortcode] ACF regular fieldsNevermind, I figured it out. Example:
[content field="my_acf_field"]Forum: Plugins
In reply to: [Search & Filter] Exclude Category from listDoes the pro version include the functionality to exclude authors as well as categories?
Forum: Plugins
In reply to: [WP Theater] WP Theater inside a tabI tried adding some css to resolve the issue, but maybe fitvids.js could fix the resize better by figuring out the aspect ratio?
I referred to this post: http://www.smashingmagazine.com/?p=135771
The following markup works well enough that the video isn’t hidden.
.wp-theater-bigscreen-inner { position: relative; padding-bottom: 56.25%; /* This is for 16:9 ratio only */ height: 0; overflow: hidden; } .wp-theater-bigscreen-inner iframe { position: absolute; top:0; left: 0; width: 100%; height: 100% !important; }Forum: Plugins
In reply to: [WP Theater] WP Theater inside a tab@kentfarst Unfortunately, the version I’m running locally, Foundation 4.3.2, is in development, but this installation of Foundation 4.1.2 has the same issue.
http://mtype.com/?p=7If the video isn’t loaded inside the active (initial) tab, there needs to be a callback function otherwise the main video doesn’t size properly on tab change.
Reference to the JS that makes Foundation’s tabs function: foundation.section.jsBTW, do not refer to Foundation’s most recent docs on version 5.x as tabs are handled differently. Please refer to Foundation v4 branch on Section.
Thanks!
Forum: Plugins
In reply to: [WP Store Locator] CSS loading in the footerI also tried installing a fresh install of this plugin (v1.2.21) on a different WP install using the TwentyFourteen theme. Getting the same result. BTW, I’m using the shortcode on a page, not post if that makes a difference.
Forum: Plugins
In reply to: [WP Store Locator] CSS loading in the footerForum: Plugins
In reply to: [Contact Form 7] Getting Messages 4 TimesRecently, I also noticed the same form being submitted several consecutive times by the same people.
Meaning, someone clicked ‘Submit’ 3 times in a row and now my inbox has 3 identical messages.
It seems during the submission process, the submit button isn’t being disabled. Yikes!
How to fix?
