scottl31
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] United States at top of country pop up list?That’s great! I love it! Is this based on the IP address?
But my boss can be a pain. He might say, what if somebody is traveling in Angola, and they want to order a book to be delivered to their home in the U.S.
Is there actually a way to move or “pin” United States to the top of the list?
Thanks!
ScottForum: Plugins
In reply to: [WooCommerce] Item added to cart confirmation not showing anymore.It would appear that nothing happened, but the item would be added to the cart. So temporarily, I set it to automatic redirect to the cart.
But I fixed this by breaking something else. We have a few items that are not yet for sale, so the button says “read more”. We don’t like that so I had this code that was changing the button to “not for sale”. This is the code:
/*
* replace read more buttons for out of stock items
**/if (!function_exists(‘woocommerce_template_loop_add_to_cart’)) {
function woocommerce_template_loop_add_to_cart() {
global $product;
if (!$product->is_in_stock()) {
echo ‘Not For Sale‘;
}
else
{
woocommerce_get_template(‘loop/add-to-cart.php’);
}
}
}
For some reason this code was not working anymore. Then I found that removing this code made the “view cart” check mark thing work again.
That’s GREAT! But I still need my “Read more” button to say “not for sale.”
So, now do you know of the proper code that will replace the code above and do what I need?
Thanks!
ScottGreat! Is there a way to skip the checkout page and go directly to payal?
Forum: Plugins
In reply to: [Ultimate Wordpress Auction Plugin] Account or Login?That’s great. Thanks!
Sorry, I know this is not this topic, but is there a way to charge shipping in an auction?
Forum: Plugins
In reply to: [Quick Page/Post Redirect Plugin] Trojan?Don,
It looks like this file has been like this for a while. Wordfence is flagging it. Is this the correct content:
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
!function(t){t(document).ready(function(){function e(t,e){return"undefined"!=typeof e[t]?"1":"undefined"!=typeof e[t.replace(a,"")]?"2":"undefined"!=typeof e[t.replace(n,"")]?"3":!1}var r=qpprFrontData.linkData,a=qpprFrontData.siteURL,n=qpprFrontData.siteURLq;t("a[href]").each(function(){var i=t(this),f="undefined"!=typeof t(this).attr("href")?t(this).attr("href"):"",l=e(f,r);if(l!==!1){var o="undefined"!=typeof t(this).attr("rel")?t(this).attr("rel"):"",p=("undefined"!=typeof t(this).attr("target")?t(this).attr("target"):"",!1),h=!1,c="",d=f;if("1"==l?(p=r[f][0],h=r[f][1],c=r[f][2]):"2"==l?(p=r[f.replace(a,"")][0],h=r[f.replace(a,"")][1],c=r[f.replace(a,"")][2],d=f.replace(a,"")):"3"==l&&(p=r[f.replace(n,"")][0],h=r[f.replace(n,"")][1],c=r[f.replace(n,"")][2],d=f.replace(n,"")),p&&""===this.target&&(this.target="_blank"),h&&(""!==o&&"nofollow"!==o?t(this).attr("rel",o+" nofollow"):t(this).attr("rel","nofollow")),""!=c){t(this).attr("href",c);var s=i.html();s=s.replace(d,c),i.html(s)}}})})}(jQuery);
Can anybody let me know if, and why it would be bad for the contents of .htaccess to be viewable?
Well, that 6.1.3 seems to stop the scan from saying that file is publicly accessible.
But I can still see the contents of .htaccess if I go to;
mysite.com/.htaccess
Now, I never checked so I don’t know if this was readable before. Is it really a bad thing if .htaccess can be read by anyone, as long as it can’t be modified?
.htaccess permissions are 644 with _www as owner.
The crazy thing is that the permissions on the file seem not to be changed. But it’s just how they are being seen/treated by wordfence.
Hey wordfence guys, are you working on this?
This just started happening to me too. The only thing new that has happened is this 6.1 WF update.
If I enter the site url with the .htaccess, I can read the contents of the .htaccess file instead of getting a 403 error.
Site is self hosted and the permissions are correct, as in never changed and the same as they were.
Should we go back to the earlier version?
Forum: Plugins
In reply to: [Photo Book Gallery] Responsive and PDF?Forum: Plugins
In reply to: [Photo Book Gallery] Responsive and PDF?We are using portfolio press theme which is responsive. But it doesn’t scale on my android and my boss’s iphone 6. Is there a setting I’m missing? Thanks!
Forum: Plugins
In reply to: [Feed Pull] Help with xpath?If you do that, do you also have to open the source feed and match the items you want?
Forum: Plugins
In reply to: [Feed Pull] Help with xpath?How did you find out what to put in field mapping? With the title and guid ones, I just got the post title, no text, images or anything.
Then I added the other two you had and got this:
Warning : Xpath to source field returns nothing for content:encoded
But nothing else.
Any other help you can think of?
Thanks!
Forum: Plugins
In reply to: [Feed Pull] Help with xpath?Ok, I’ll see if that works on my site. Thanks!
Forum: Themes and Templates
In reply to: [Portfolio Press] Portfolio as home pageThe video seems old. It mentions options framework, as does the text below it, but the plugin says it’s not needed. So without that, the things he demos in the video don’t work.
He has a plugin called “Portfolio Post Type” that think is needed, but it’s not mentioned.