apcgallery
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Googlebot triggers 404 on MySite.com/?product_variation=1234“Rufio! Rufio! RU! FI! OHHHHHH!”
I couldn’t resist.
Great going. So your fix changes the popularity ordering to the default ordering?
Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelHey Elsonce,
Sorry for the delay. I looked more at the issue, and I just don’t think I’m experienced enough to be of any help. Javascript is a little out of my comfort zone at the moment.
The best suggestion(s) I can give are to
* Switch to a different theme, maybe there’s a theme conflict
* Check the CSS to see if it’s a display issueGood luck!
Forum: Plugins
In reply to: [WooCommerce] Googlebot triggers 404 on MySite.com/?product_variation=1234Well, It’s been a little while. I tried many things- I don’t remember what worked- I don’t even remember what all I tried– but I don’t get those 404’s anymore. If I left anything out, I’ll add them on later. See if any of these work for you.
1. Try removing popularity and rating from the dropdown all-together.
-If you 404 on popularity, you probably will on rating too. Put this in your custom CSS. I’m not positive it keeps robots away but it keeps real visitors from 404’ing on them./* Woocommerce Remove Order by Popularity and Rating */ .orderby option[value="popularity"] {display: none;} .orderby option[value="rating"] {display: none;}
2. Here are my robots.txt disallows. Again, I don’t know if it helped with the 404’s, but it’s a pretty solid list.
Disallow: /wp-* Disallow: /*.js$ Disallow: /*.inc$ Disallow: /*.css$ Disallow: /*.cgi$ Disallow: /*.wmv$ Disallow: /*.opml$ Disallow: /*.shtml$ Disallow: /*.xhtml$ Disallow: /wp-admin Disallow: /wp-includes Disallow: /wp-content/plugins Disallow: /wp-content/cache Disallow: /wp-content/themes Disallow: /wp-content/managewp Disallow: /wp-content/upgrade Disallow: /wp-content/w3tc-config Disallow: /etc Disallow: /include Disallow: /cgi-bin/ Disallow: /trackback/ Disallow: /templates Disallow: /xmlrpc.php Disallow: /comment-page- Disallow: /?product_variation= Disallow: /product-tag
3. Another way to cut down on 404’s (if you haven’t already done so) is by adding a blacklist to your .htaccess file. This is more for security, but it cuts down on 404’s by keeping hackerbots and spammerbots away.
-The one from hackrepair.com is very good: https://pastebin.com/5Hw9KZnWThat’s all I got for now, let me know if it works out.
Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelElsonce,
The code you posted above is missing the function’s closing bracket (see below for correct syntax).
add_filter('woocommerce_variable_price_html','custom_from',10); add_filter('woocommerce_grouped_price_html','custom_from',10); add_filter('woocommerce_variable_sale_price_html','custom_from',10); function custom_from($price){ $new_from = "PVP Iva Incluido";important; $price = str_replace('From',$new_from,$price); return $price; }
If that was the solution, then great!
If not, send me a link to your site.
I’ll see what I can do.Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelAgh, I really thought I had it that time! I’m sorry I couldn’t help more, but I’m glad you found a temp workable solution. :]
Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelOkay, I figured it would be different for sale items. I created a sample sale item in my store to test things out.
The code I gave you made the price display on top of the image, but I’m guessing it wasn’t that way before, correct?
If yes, then delete what I gave you. The solution is much easier. No “cover up” necessary. All you need to do is this:
.woocommerce span.onsale, .woocommerce-page span.onsale { position: absolute;}
If you want to change the look as well, here’s something to get you started
.woocommerce span.onsale, .woocommerce-page span.onsale { position: absolute; background: #000000; color: #ffffff; font-size: 15px; font-weight: bold; padding: 10px; border-radius: 20px; -webkit-border-radius: 20px; -moz-border-radius: 20px; top: 0px; left: 0px; margin: 0; }
( border-radius controls the rounded edges, but its different for different browsers. That’s why there’s three “border radius”s )
I use the Suffusion theme. It’s free and provides a lot of functionality out of the box, including a custom CSS and JS section built into the theme for quick modifications. It takes a little getting used to at first, but I really enjoy it.
Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelAs for the second part… I’m not 100% sure of what you want, but here’s my crack at it.
This works on simple products (like in the books section). None of my items were actually on sale, so the below CSS makes all simple products display “SALE!”.
So we’re gonna “cover up” the price with “price:after”.
Change any of the below (except “position”) to suit your needs..products li .price:after { content: "SALE!"; right: -15px; top: 0; font-size: 100%; color: #FFFFFF; background-color: #000000; position: absolute; border-width: 0px;
I’ll be honest; this is not the best way to do it.
Actually it’s pretty sketchy. But it’s all I got right now.Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelWithout seeing the site it’s a little harder to know just what will do the trick, but I’ll give it my best shot.
I’m guessing you’re talking about the prices in the books category, right?
Here’s what I got. Try adding these to your custom CSS
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price { display: block; margin-bottom: .5em; }
.products li .price { position: absolute; float: left; top: 5px; }
Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelHey Sleepymonk,
Where does yours display?
Link me to your store and I may be able to help
Forum: Plugins
In reply to: [WooCommerce] Remove "From: (price)" LabelThanks, I’m glad to hear it worked for someone other than myself!
Thanks for the reply, Jeff.
I tried your suggestions. I also tried disabling most all of my plugins and running the memory test again. It got to 36mb (instead of the usual 35). There’s some deeper issue here and it’s proving very difficult to crack (or even diagnose).
I appreciate your time and effort helping with this. I know you’ve gotta be busy, so thanks!
Hopefully at some point I can return to this thread with a solution.
Could you include the code here?
Maybe other people having the same issue can benefit from the solution you found ??
Hi Jeff, thanks for your response.
Unfortunately this is the only site I manage. It is hosted through Cbeyond; I’m thinking that may be part of the problem. That, and my inexperience (I’m a novice at this).
Not sure whether this is relevant, but maybe it helps:
Server: Apache/1.3.42 (Unix) OS: FreeBSD 6.4
PHP: 5.x.xx MySQL: 5.x.xxI’ve searched hundreds of topics for solutions. Most involved edits to php.ini, htaccess and wp-config, none worked. It’s giving me a major headache!
Here’s What I Have Found
- Installed WP System Health > Ran Memory Allocation Test > hangs at 35mb & and never completes. That’s why I can’t use those modules without disabling a plugin or two: Memory exceeds 35mb.
- Some plugins (larger ones like NextGen, BWPS, and Jetpack) fail to update & hang on “Unpacking the update…”. This might be the 35mb thing as well.
- This may or may not be related: Time zone is set properly in WordPress’ Admin backend, and php but looking at BWPS’s away mode, the time was off by 5 or 6 hours.
If not PHP, do you think it could be an issue with mySQL?
I know now that this is irrelevant to SEO U, so I understand if you (or any other users browsing the forum) are unable to help, however if you have any advice or ideas, please do let me know.
Forum: Plugins
In reply to: [WP Robots Txt] Robots.txtIt’s not so easy. If it were, everyone would be ranked number one. As we’ve learned from “Highlander” [TV show reference], THERE CAN ONLY BE ONE!
There is an entire industry (SEO) devoted to what you are asking, and those who are good at it get paid the big bucks- because it’s hard.
There are countless companies that specialize in algorithms, techniques, tricks, and sometimes hacks to earn you a better page rank.
There are countless scammers too. Treat them like lawyers; Be wary of someone who guarantees you anything more than improvement, especially a #1 spot.
I Googled your site. It came up as #1, #2, and #3
… live365 came up #4It is possible live365 paid Google for that spot (You can purchase advertisement space from Google). I have an ad-blocker, so I’m not sure.
If you want more page views, a higher page rank, more likes, follows, friends, subscribers, etc: Chances are you’re going to have to pay. Unless you want to learn… but that could take a while. There’s quite a bit to learn.
Good Luck!
Just to test a theory, I installed BWPS via FTP.
…However, the plugin could not be activated.I disabled W3 Total Cache and tried again. It worked.
I thought “maybe W3 was the problem…”,
I went back to SEO Ultimate, and tried opening Open Graph.No luck. Any advice?
So far the modules I mentioned only work with W3 and BWPS disabled.