sscalifornia
Forum Replies Created
-
Forum: Plugins
In reply to: [Q and A FAQ and Knowledge Base for WordPress] Sorted by CategoriesThis guy nailed it – https://www.ads-software.com/support/topic/can-i-reorder-the-categories
You can get the plugin here.
I was trying to add the shortcode to retrieve the user’s name in the text editor for the confirmation message. So when they subscribed to a level, it would greet them by name and then thank them for joining a specific level. I would think that a shortcode would work in the text editor as it does on pages in posts but no such luck.
So are you suggesting an override of the checkout template and adding the shortcode before the confirmation message? Wouldn’t it be easier if shortcodes just worked in that editor?
Forum: Plugins
In reply to: [WooCommerce] Modified WooCommerce Shipment Tracking pluginThis is from the plugin documentation on https://docs.woothemes.com/document/shipment-tracking/
Add this to your theme’s functions.php:
add_filter( 'woocommerce_shipment_tracking_default_provider', 'custom_woocommerce_shipment_tracking_default_provider' ); function custom_woocommerce_shipment_tracking_default_provider( $provider ) { $provider = 'fedex'; // Replace this with the name of the provider. See line 42 in the plugin for the full list. return $provider; }
Replace fedex with USPS. This should be an option for the plugin, maybe it will.
Hope that helps.
Forum: Plugins
In reply to: [WooCommerce] wooCommerce login widgetWoocommerce doesn’t support it’s old sidebar login anymore. I’ve actually abandoned using any sidebar login all together. I am now using a login modal that has a register feature as well as a login form. It’s called Modal Login Plugin and you can find it here, if you’re interested.
Forum: Plugins
In reply to: [WooCommerce] Mystile: Remove additional information tab onlyThe additional information tab gets added when you add dimensions to products and possibly attributes. I found this
Hope it helps.
Forum: Themes and Templates
In reply to: Using the search box in different theme?No problem, glad to help.
Forum: Themes and Templates
In reply to: Using the search box in different theme?This can be done with media queries. I.E.
@media only screen and (min-width: 0px) and (max-width:760px){ .class { style-name:style; } }
Just set the min a max widths to the screen size you’re trying to target. You can do as many as you need. Just replace the .class with your class or id and style with your new styles, like any other css.
Forum: Themes and Templates
In reply to: Using the search box in different theme?First of all, I wasn’t taking this to a private area to discuss it. He didn’t want to post his site and I didn’t want to post my email. Secondly you don’t need to use negative margins to place the bar up there.
@metteonline here’s what you need:
.menu-main-container { background-color: #2B2139; float: left; } #search-form { float: right; margin-right: 20px; /* to match your other right gutters */ background-color: #2B2139; /* if you want the purple across the bar */ } #site-search { background-color: transparent; background-image: url(images/search-icon-white.png); background-position: 5px center; background-repeat: no-repeat; background-size: 24px 24px; border: none; cursor: pointer; height: 20px; /* if you want the input box the same size as the bar */ margin: 0; padding: 0 0 0 34px; -webkit-transition: width 400ms ease, background 400ms ease; transition: width 400ms ease, background 400ms ease; width: 0; } #site-search:focus { background-image: url(images/search-icon.png); background-position: 5px center; background-repeat: no-repeat; background-size: 24px 24px; background-color: #fff; cursor: text; outline: 0; width: 230px; }
Make sure your icon image names are the same as the ones in the css. Hope this resolves your issue and feel free to ask if you need anymore help.
Forum: Themes and Templates
In reply to: Using the search box in different theme?Well, I hate to have you give up. I understand you not wanting to post a link here, but if you want to send me a link to your site, with your the search bar in there, on the contact form [redacted] I can take a look and try to help you further.
Forum: Themes and Templates
In reply to: Using the search box in different theme?Without being able to see it and not knowing where you want it to show up in the bar, I would say you place it after the last element it the first nav. Say you want it flush right like in the 2013 theme, you could do:
<nav id="site-navigation" role="navigation"> <h3 class="assistive-text"><?php _e( 'Main menu', 'magazine-basic' ); ?></h3> <a class="assistive-text" href="#primary" title="<?php esc_attr_e( 'Skip to content', 'magazine-basic' ); ?>"><?php _e( 'Skip to content', 'magazine-basic' ); ?></a> <?php echo str_replace ( '</li>', '', wp_nav_menu( array( 'theme_location' => 'primary', 'echo' => false ) ) ); ?> <div id="search-form"><?php get_search_form(); ?></div> </nav><!-- #site-navigation --> <nav id="site-sub-navigation" role="navigation"> <h3 class="assistive-text"><?php _e( 'Sub menu', 'magazine-basic' ); ?></h3> <?php echo str_replace( '</li>', '', wp_nav_menu( array( 'theme_location' => 'secondary', 'menu_class' => 'secondary-menu', 'echo' => false, 'fallback_cb' => false ) ) ); ?> </nav><!-- #site-sub-navigation -->
#search-form{ float:right; }
The second nav appears to be a mobile nav. Then you can use the css above on the input. If it’s not working make sure you’re targeting the right input class. Good call on the child theme by the way. Hope this helps.
Forum: Themes and Templates
In reply to: Using the search box in different theme?To put it into the nav bar, you’ll need to open up header.php, find where the nav bar is and add:
<?php get_search_form(); ?>
You could wrap it in a div like this:
<div id="search-form"><?php get_search_form(); ?></div>
to have more control over it.By the way the twenty thirteen icon does look the same in safari, it’s the positioning of it that is off. When the search is opened it moves to the right place but when it’s closed it does a weird jump. Hope this helps.
Forum: Plugins
In reply to: [Responsive Gallery Grid] Responsive Gallery only on one pageI ended up not using galleries anywhere else. Maybe this is something you could add to the plugin in the future. Great plugin. Thanks.
Forum: Themes and Templates
In reply to: Using the search box in different theme?I wanted to do this for myself and figured it out but for some reason it doesn’t work well in safari. That’s also true of the twenty thirteen theme. The icon is way off of the right side. Does anyone know why this is and how to fix it?
@metteonline you need to find out the class of your search input. Use firebug for this. Mine was .search-input yours could be too, but check.
The css for it is:
.search-input { background-color: transparent; background-image: url(images/search-icon-white.png); background-position: 5px center; background-repeat: no-repeat; background-size: 24px 24px; border: none; cursor: pointer; height: 30px; margin: 0; padding: 0 0 0 34px; -webkit-transition: width 400ms ease, background 400ms ease; transition: width 400ms ease, background 400ms ease; width: 0; } .search-input:focus { background-image: url(images/search-icon.png); background-position: 5px center; background-repeat: no-repeat; background-size: 24px 24px; background-color: #fff; cursor: text; outline: 0; width: 230px; }
Again, just make sure it’s targeting your search input class. And if you want a custom search icon make sure you name it the same or change the image name above. Also make sure you don’t have another css rule defining the width of your input.
Hope this helps and if anyone knows a fix for safari that would be great.
Forum: Plugins
In reply to: [Sticky Element] Not working on category pagesNice catch. That helped me in two ways because I didn’t know the blackbar element wasn’t on those pages. Thanks that solved my issue. I really appreciate it and I think your plugin is great.
Forum: Plugins
In reply to: [Sticky Element] Not working on category pagesSorry about that. The sidebar becomes sticky. I’m targeting the class .sidebar_wrap. Thanks.