sarah_allen
Forum Replies Created
-
Forum: Plugins
In reply to: [Etsy Shop] Set currency to £For future users – even with the new version, you can still hack the code to display a £ symbol.
Edit the plugin. The line you want is
<p class=”etsy-shop-listing-price”>‘.$currency_symbol.$price.’ <span class=”etsy-shop-currency-code”>’.$currency_code.'</span></p>
(nb I’ve already edited mine and the above bit in bold may not be exactly what you have – I’m working from memory in terms of what it was before I edited)
Change the bit in bold above to:
<p class=”etsy-shop-listing-price”>£’.$price.’ <span class=”etsy-shop-currency-code”>’.$currency_code.'</span></p>
Note the £ symbol comes straight after the >, and the ‘ has moved after it to before the .$price.
This hard-codes a £ symbol rather than using a field for currency symbol.
If you update the plugin in future, you’ll lose this change and have to hack it again.
To the plugin author – my Etsy listings are set to GBP. After updating, all my prices said $2.50GBP, so it wasn’t automatically displaying a £.
Forum: Plugins
In reply to: [Etsy Shop] Left-align instead of right?Hi! Thanks for the handy plugin. ?? I thought it might be a problem with my theme (Twenty Fifteen) so asked on the forum for that at the weekend. They suggested adding this to my theme’s custom CSS:
td.etsy-shop-listing { float: left; }
Which worked. ??
Sorry – I meant to post here. It was only resolved yesterday, shortly before your reply. They did say that my tables were behaving normally though (before I added the CSS above) which I thought was odd. I didn’t think that tables would range right by default.
Cheers. ??
Personally I wouldn’t use tables at all as they’re poor from an accessibility perspective. Unfortunately this plugin uses tables for the layout. I did consider trying to hack the code to change it to divs for layout but that’s a bit beyond my current skills!
Thank you so much. ??
Ok…. Any ideas how I could overwrite it? Where the tables only have one or two columns, I’d like them to sit left instead of right…
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline from linksFixed! Added “.widget a,” to the code provided above by Bojan. ??
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline from linksThis worked…. Very nearly. I have one underline left, in the widget area on the left. I assume I need to add another class to the list above. Anyone know the class for widget area links?
Thanks in advance. ??
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline from linksGah! Should have thought of borders. ??
Don’t worry – I do use child themes. I was just having a quick fiddle as I’ve only just set this up and I was still deciding whether to stick with Twenty Fifteen or look for a new theme. ??
Forum: Plugins
In reply to: [Etsy Shop] Change price currency symbol from $ to £?Figured this one out for myself. Plugin editor, main plugin PHP file, line 301:
<p class="etsy-shop-listing-price">£'.$price.' <span class="etsy-shop-currency-code">'.$currency_code.'</span></p>
The £ sign after the opening paragraph tag was a $ sign – changed it to a £ sign. ??
Forum: Plugins
In reply to: [Simple Lightbox] Not working in WP 3.9Hi Archetyped,
You’re right – must have been a coincedence as re-enabling auto-slideshow didn’t break it. ??
Not sure what was going on. It wasn’t working and then it started working.
I did just test the site in IE and SLB wasn’t working for the first few pictures I clicked on, and then it started working (and worked for all pictures). Almost as if it took 30 seconds after landing on the site for it to load? Not a big deal though and it was fine in Firefox. ??
Thanks for the excellent plugin – I’ve used it on several sites now and it’s the best lightbox plugin I’ve found for browser and mobile compatibility. ??
Sarah
Update:
Resolved in the sense I’ve found out that this can’t be fixed.
I didn’t realise that WordPress isn’t designed to have permalinks turned off when they’ve previously been turned on, and pages created with links in. Links in pages and posts that I’ve written are hard-coded and don’t get updated when the permalink structure changes (as I thought). Lesson learned!
n.b. this is the content of my .htaccess – the one that I now can’t re-upload without breaking the site:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php [L]
</IfModule># BEGIN WordPress # END WordPress
Update: I tried deleting .htaccess using FTP. I made a local copy of the file.
The links were still broken, but now instead of broken links directing to the site homepage I got a 404 page.
So, I re-uploaded the .htaccess to the same place.
This completely broke the whole site. I got 403 forbidden on every page and in the WordPress admin site.
I’ve deleted .htaccess again. Still got my original problem, above. But now I’m even more confused. ??
Ignore me, found it. ??
Forum: Fixing WordPress
In reply to: Edit meta tags – description and keywordsThanks! I had missed the option under Advanced Options. :oD
I didn’t want to use a plugin – I just did because I didn’t think I could edit them in the theme. The check-box is good to know about in case we do wish to use one in the future. Thanks again.