mmacfadden
Forum Replies Created
-
Forum: Plugins
In reply to: [Add to Home Screen WP] Hint for one page only?Ok, I figured this out. In the plugin setting, set the popup to display on every page, and then add the following to your theme’s stylesheet:
#addToHomeScreen{display:none !important}
Then identify the class of the page you want the popup to display on and add the following to your stylesheet:
.PageClassName #addToHomeScreen{display:inline !important}
You could use a similar trick to disable to the popup on specific pages…
Forum: Plugins
In reply to: [Add to Home Screen WP] Hint for one page only?Did you ever find a solution?
Forum: Fixing WordPress
In reply to: Front End Comment TrashingThanks for the thorough response.
My theme does appear to call wp_list_comments(), so I may be able to follow this approach.
Where in my theme would I extend the Walker_Comment class though? I understand how to overwrite parent theme files, but how do you do that for wp-admin files?
Maybe I’m thinking about this wrong…
Forum: Networking WordPress
In reply to: Can’t add themesBluehost support figured it out. I had the wrong Site URL. I had http://domain.com/directory.
It was supposed to be just http://domain.com
I probably had a hard time finding a solution, because I introduced a mistake by changing the Site URL… Hopefully this helps someone else!
Forum: Networking WordPress
In reply to: Add PluginsBluehost support figured it out. I had the wrong Site URL. I had http://domain.com/directory.
It was supposed to be just http://domain.com
I probably had a hard time finding a solution, because I introduced a mistake by changing the Site URL… Hopefully this helps someone else!
Forum: Plugins
In reply to: Dynamically create widget area for each instance of custom taxonomyI figured it out. See below:
/* Create widgetized sidebars for each course*/ function course_sidebars() { $terms = get_terms( 'course' ); if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){ foreach ( $terms as $term ) { if ( 0 == $term->parent ) { register_sidebar( array( 'name' => $term->name, 'id' => $term->slug . '-sidebar', 'description' => 'This is the ' . $term->name . ' widgetized area', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } } } } add_action( 'init', 'course_sidebars' );
I hope this helps someone some day.
Forum: Plugins
In reply to: [Custom Post Type UI] get_terms in functions.phpMichael, thanks so much for your reply. I figured out the problem, and it seems that:
add_action( 'widgets_init', 'course_sidebars' );
was getting called before the plugin could do its magic. I changed the action reference to:
add_action( 'init', 'course_sidebars' );
Now everything seems to work as it should.Thanks for building an awesome plugin!
Forum: Plugins
In reply to: [Manual Image Crop] Crop saves but nothing happensQuick addition. The size for twentyfourteen should actually be 1038 not 1024
Forum: Plugins
In reply to: [Manual Image Crop] Crop saves but nothing happensI’m using a child theme on Twentyfourteen. I added this to my functions.php file to register a new image size:
add_image_size( 'featured_image', 1024, 420, true );
You can then use that new image size in your theme by calling it up with:
<?php the_post_thumbnail( 'featured_image' ); ?>
Specific to my use case, I replaced the line of code below in my ‘content.php’ file with the line of code above.
<?php twentyfourteen_post_thumbnail(); ?>
Cheers
Forum: Plugins
In reply to: [Manual Image Crop] Crop saves but nothing happensI realized, after playing with this plugin, that my error was of the user variety. This plugin does in fact crop the image, but it won’t change the image type that your page or post theme is using.
In other words, just because I registered a new image size that manual crop recognized, my post was still pulling in the default featured image size. Manual crop worked as it should, I just needed to modify my child theme to call in the correct image type.
Thanks for a great plugin.
This is what I did:*
<?php if (is_front_page() && function_exists( 'soliloquy' ) ) { soliloquy( '4' ); } ?>
*I’m using version 2, and you will need to change your slider number from 4 to whatever number soliloquy assigns you – which you can find under the template tag column under the plugin admin page.
if “is_front_page” doesn’t work, try “is_home” instead.
Check out http://mmacfadden.com/lax to see an example.
Forum: Plugins
In reply to: [GD Star Rating] when I click on the star nothing happensI had this same problem with a twentyeleven child theme (though I was using the thumbs up instead of stars).
I removed the following line from my header.php file:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
and everything worked as expected.
The plugin seems to still calls in jQuery, so none of my theme’s other functionality broke.
You are correct. I don’t make any changes, but I do resave and it starts working. Any thoughts on how to fix the permalinks DB hitch?
Thanks again!
Forum: Networking WordPress
In reply to: Don't share users access between 2 blogs (multi site)Hi Ipstenu (Mika Epstein),
Thanks for your detailed response. I really appreciate it.
Forum: Networking WordPress
In reply to: Don't share users access between 2 blogs (multi site)Can you recommend a good membership plugin?
And if I used the yd-wpmu-sitewide-options plugin, do you think I could automate the per site configuration?
Thanks so much!