aplusr
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] External / Affiliate Product URLActive Sample Links:
Original Link:
https://www.ebay.com/sch/PC-Laptops-Netbooks-/177/i.html?_stpos=11213&_sop=15&gbr=1&_fcid=1&_localstpos=11213&_from=R40&_clu=2&_nkw=d620&_pppn=r1&_dcat=177&LH_ItemCondition=1000%7C1500%7C2000
Affiliate Link:
<a target="_self" href="https://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&pub=5575033840&toolid=10001&campid=5337240729&customid=&mpre=http%3A%2F%2Fwww.ebay.com%2Fsch%2FPC-Laptops-Netbooks-%2F177%2Fi.html%3F_stpos%3D11213%26_sop%3D15%26gbr%3D1%26_fcid%3D1%26_localstpos%3D11213%26_from%3DR40%26_clu%3D2%26_nkw%3Dd620%26_pppn%3Dr1%26_dcat%3D177%26LH_ItemCondition%3D1000%257C1500%257C2000">https://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&pub=5575033840&toolid=10001&campid=5337240729&customid=&mpre=http%3A%2F%2Fwww.ebay.com%2Fsch%2FPC-Laptops-Netbooks-%2F177%2Fi.html%3F_stpos%3D11213%26_sop%3D15%26gbr%3D1%26_fcid%3D1%26_localstpos%3D11213%26_from%3DR40%26_clu%3D2%26_nkw%3Dd620%26_pppn%3Dr1%26_dcat%3D177%26LH_ItemCondition%3D1000%257C1500%257C2000</a><img style="text-decoration:none;border:0;padding:0;margin:0;" src="https://rover.ebay.com/roverimp/1/711-53200-19255-0/1?ff3=4&pub=5575033840&toolid=10001&campid=5337240729&customid=&mpt=[CACHEBUSTER]">
Forum: Plugins
In reply to: [WooCommerce] External / Affiliate Product URLDoes anyone have the code I could use to adjust the template with the PREG_REPLACE functions? Could I just copy and paste this?
Forum: Plugins
In reply to: [WooCommerce] External / Affiliate Product URLI managed to find a plugin that allows me to open the external link in a new tab: WooCommerce Improved External Products
But still no luck using the full
<a>
tag code.Forum: Plugins
In reply to: [WooCommerce] External / Affiliate Product URLI used the eBay front page, but I guess that was a bad example because there is not as much information in the URL. When I link to an actual product using only the HREF portion of the link it doesn’t go to the correct location. I compared the three in a .htm file (the original non affiliate link, the full affiliate link in
<a>
tags and the affiliate link using only the HREF portion.The original and the full affiliate link go to where I want it to go but the one with only the HREF portion isn’t going to the custom location that I chose. The HREF one also doesn’t open in a new tab or window from my website because it’s just what’s in the first set of quotes I think.
Forum: Plugins
In reply to: [WooCommerce] External / Affiliate Product URLHi,
Thanks for responding.
An example of the HTML (
<a>
) code is:<a target="_self" href="https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg">https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg</a><img style="text-decoration:none;border:0;padding:0;margin:0;" src="https://rover.ebay.com/roverimp/1/711-53200-19255-0/1?ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&mpt=[CACHEBUSTER]">
Javascript:
<script>document.write('<a target="_self" href="https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg">https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg</a><img style="text-decoration:none;border:0;padding:0;margin:0;" src="https://rover.ebay.com/roverimp/1/711-53200-19255-0/1?ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&mpt='+Math.floor(Math.random()*999999999)+'">');</script><noscript><a target="_self" href="https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg">https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg</a><img style="text-decoration:none;border:0;padding:0;margin:0;" src="https://rover.ebay.com/roverimp/1/711-53200-19255-0/1?ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&mpt=[CACHEBUSTER]"></noscript>
URL from website when the HTML
<a>
link fails:https://www.laptopdealscentral.com/shop/dell-latitude-d620/%3Ca%20target=%22_self%22%20href=%22http:/rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg%22%3Ehttps://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg%3C/a%3E%3Cimg%20style=%22text-decoration:none;border:0;padding:0;margin:0;%22%20src=%22https://rover.ebay.com/roverimp/1/711-53200-19255-0/1?ff3=1&pub=5575033840&toolid=10001&campid=5337240729&customid=&mpt=CACHEBUSTER%22%3E
Forum: Plugins
In reply to: [WooCommerce] External / Affiliate Product URLI forgot to use the code tags in my original post which has ruined the formatting.
Please delete this thread if possible, the readable version can be found here: https://www.ads-software.com/support/topic/external-affiliate-product-url-1?replies=1#post-3831478
Forum: Plugins
In reply to: E-Commerce Plugin or Theme with product filteringI discovered that what I’m looking for is called ‘Layered Navigation’ and there are a few wordpress plugins available for it.
https://www.woothemes.com/products/ajax-layered-navigation/
https://extend.thecartpress.com/ecommerce-plugins/layered-navigation/
Forum: Plugins
In reply to: [W3 Total Cache] W3 Total Cache wont stop using old css code?I’ve temporarily gotten around the problem by rejecting my child theme in the CDN tab of W3 Total Cache. This was solution was provided by tech support at MaxCDN.
Performance (W3 Total Cache) -> CDN Tab -> Advanced-> Rejected files: wp-content/themes/twentyeleven-child/*
So I’ve enabled the CDN again and my CSS modifications are working but any modifications I make will be excluded from the CDN ??
Forum: Plugins
In reply to: [W3 Total Cache] W3 Total Cache wont stop using old css code?I’ve disabled the CDN and now the website looks the way I want it to but I would prefer not to do this as I’v paid for the CDN….
Forum: Plugins
In reply to: [W3 Total Cache] W3 Total Cache wont stop using old css code?I’m using MaxCDN but the ‘purge cache’ button does not work. It sends me in an endless loop asking:
Are you sure you want to do this?
Please try again.
Forum: Themes and Templates
In reply to: TwentyEleven header color not changing?I modified the menu color for all browsers and backup, disabled W3 Total cache (temporarily while I make modification) and cleared the google chrome cache and it changed to the color I want.
Mozilla Firefox changed as soon as I disabled w3 total cache. The clear cache function for the plugin didn’t work while it was enabled, I had to actually deactivate the plugin for a while.
Thanks!
Forum: Fixing WordPress
In reply to: How do I remove the gray bar from my header? (twenty eleven theme)Sorry, I think I was having a cache problem. I disabled W3 total cache temporarily while I edit the css, and cleared my web browser history and now I can see it is back in the right place.
I also deleted an invisible character before #branding that was apparently producing a strange error.
Thanks!
Forum: Fixing WordPress
In reply to: How do I remove the gray bar from my header? (twenty eleven theme)Hi Christine,
Modifying the top and bottom values doesn’t change the location of the search box unfortunately. I’ve cleared the cache but the search box stays in the same position
Forum: Fixing WordPress
In reply to: How do I remove the gray bar from my header? (twenty eleven theme)I’ve created a Twenty Eleven child theme and got rid of the gray bar but now my search field has fallen to the middle of the page!
Here is my style.css:
/*
Theme Name: Twentyeleven Child Theme
Description: Child theme for the twentyeleven theme
Author: Bob
Template: twentyeleven
*/@import url(“../twentyeleven/style.css”);
#branding {
border-top: none;
padding-bottom: 10px;
position: relative;
z-index: 2;
}Forum: Fixing WordPress
In reply to: How do I remove the gray bar from my header? (twenty eleven theme)appearance->editor->style.css is where I’ve been trying to remove the header