Shmoo
Forum Replies Created
-
It’s still local on my computer and in development.
This image example will explain what happens.
http://i.imgur.com/8sUjw6s.pngThe title of the page <h1> should become the SEO title in the head section – not the first product title on the page.
Forum: Plugins
In reply to: [WooCommerce] Bug? – product post class filter doesn't workJust in the functions.php
I always use the Underscores.me starters theme by Automatitic to create from scratch.
I have to freeze this issue tho, I can’t spend too much time figuring this filter out because it’s not really a bug but just one of the many fancy features in WordPress I don’t like. I don’t want 25 class names ( tags, cats , post types, id’s, template names and other junk ) in a body tag or wrapper element just because WordPress can do this.
I want to keep things lean, only add class names when they really mean something or do something based on functionality.At some point I’ll figure this out.
Thanks anyway.
Am I the only one with this problem?
Forum: Plugins
In reply to: [WooCommerce] Front-end – after 2.4 update all my HTML rows get display none?That solves the problem..
Thanks Mike.
Forum: Plugins
In reply to: [WooCommerce] Bug? – product post class filter doesn't workThanks for your help, but for some reason the product_category_names still end up in the post_class,
I like to clean up the class element and only show the class names that really matter. Like Featured, sale and product or post_id related.
Forum: Networking WordPress
In reply to: Specific function-files for each blog ID?This worked for me..
global $blog_id; if ( $blog_id == 2 ) { require get_template_directory() . '/includes/functions-blog_2.php'; } if ( $blog_id == 3 ) { require get_template_directory() . '/includes/functions-blog_3.php'; }Forum: Networking WordPress
In reply to: NetworkAdmin users not showing any usersSame here, trying to figure out if this is a glitch or normal.
I think users get listed inside very sub-site they sign-up with.
blog_id 1 –> Dashboard / Users
blog_id 2 –> Dashboard / Users
blog_id 3 –> Dashboard / UsersThis is what is happening with me, but I have to say I have just created a few fake users to test my site. I wanted to see if someone sign-up with blog_id 3 if that user could also log in to blog_id 1 with the same account.
For some reason I don’t get a toolbar or anything when I try this. 🙁
Forum: Plugins
In reply to: [WooCommerce] Double Zero on price decimals?This seems to work..
function shmoo_price_html( $price ) { $new_price_structure = preg_replace( '/00/', '-', $price ); return $new_price_structure; } add_filter( 'woocommerce_get_price_html', 'shmoo_price_html', 100, 2 );Thoughts…
I hope this doesn’t interfere with calculating the cart (sub) totals and taxes in the end.
That’s why I picked the get_price_html function in WooCommerce to hook into. I hope this function is only being used for showing prices in HTML format at the front-end and not for doing some (tax/shipping) calculations with.Forum: Plugins
In reply to: [WooCommerce] Remove Storefront message after each Woo updateUpdate, finally found it.
http://support.advancedcustomfields.com/forums/topic/personal-licence-and-multisite/
#solved
Forum: Plugins
In reply to: [WP-OAuth] Custom oauth2 provider+1
Maybe there is a Hook available for creating our own providers?
—
This is not pretty and the best way to work but what if I just duplicate for example the login-github.php provider and change/rename the file + contents to my custom provider would that work out and get accepted by the rest of the core?
Thanks.
Forum: Plugins
In reply to: [RunKeeper WordPress Activity Feed] Redirected from your WordPress Admin areaSame here.. Can’t connect!
1 star rating.
Thanks,
When I try to reach the Tags sitemap -page generated by Yoast I’ll get a 404 not found error page.
Just did some troubleshooting and found out that this error was caused by not having any tags defined to my posts. This means, if you’re not going to use the tags feature inside WordPress the SEO plugin still creates a Tags_sitemap while I think it should just not generate a Tags_sitemap at all. Only generate sitemaps is you have some value in a taxonomy or post type.
Forum: Alpha/Beta/RC
In reply to: 4.1 RC1 – new inline pop-up alignment buttonsFor people who also want to hide all the extra buttons, add the CSS code below to the backend and it will hide the extra alignment buttons.
.mce-inline-toolbar-grp .mce-widget.mce-btn[aria-label^="Align left"], .mce-inline-toolbar-grp .mce-widget.mce-btn[aria-label^="Align center"], .mce-inline-toolbar-grp .mce-widget.mce-btn[aria-label^="Align right"], .mce-inline-toolbar-grp .mce-widget.mce-btn[aria-label^="No alignment"] { display: none; }Not as pretty as the two black square buttons in the corner but this will at least get rid of the extra junk.
http://i.imgur.com/HdwpICB.pngForum: Hacks
In reply to: How to add functions to the Media Uploader?I’ve found this link after searching for hours.
http://wordpress.stackexchange.com/questions/83675/add-an-alignment-option-for-images
This is not great because you have to deactivate an entire WP function – change it and re-add it again. When WordPress updates you always have to watch if the WP Core team makes changes to this function.
Bummer there are zero filter options by default for those options. 🙁