somePaulo
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Spider Cache] The plugin does not have a valid header.+1 on 4.4.2
Forum: Plugins
In reply to: [Polylang] Polylang and WordPress SEO meta translations for custom post typeThanks for the amazing work, Chouby!
I can confirm that this solution works perfectly with the latest versions of all the involved plugins and WordPress.
Here’s a small wpml-config.xml to put in wp-content/poylang in order to get the shop archive page title and meta description translated in Polylang strings:
<wpml-config> <admin-texts> <key name="wpseo_titles"> <key name="title-ptarchive-product" /> <key name="metadesc-ptarchive-product" /> </key> </admin-texts> </wpml-config>
These titles and descriptions override whatever I set in the Yoast SEO metabox in the pages for the shop archives.
Moreover, in the translated version, the original structure prevails and Facebook shows ‘Products Archive’ for title and no meta description at all.When trying to debug the link through the Facebook Devs service it shows a 404 for the translated page’s permalink, but does show the input from the strings translation if I change the slug to the main language one, but keep the translated language in the URL. Like so:
wonderwhite.ru/butik (main language, ru) – works as expected
wonderwhite.ru/en/boutique shows ‘Products Archive’ and no meta when sharing on FB, and throws a 404 in FB Devs
wonderwhite.ru/en/butik shows original version when sharing on FB, and shows translated version in FB DevsCould be a Polylang or Yoast SEO thing.
I would appreciate it if you had any hints on a possible solution for this strange behaviour.
Cheers!
Forum: Plugins
In reply to: [YITH WooCommerce Brands Add-On] Brand slugsHi Yithemes,
Thanks for the suggestion.
The code removed the default post prefix from the slug.
However, I was actually willing to replace it with the default shop prefix automatically. Or have the option in the Pretty Permalinks page to set a slug base for brands.
I was able to modify things now to suit my configuration, but that is a manual hack. Will the next version of your plugin have a ‘base slug’ setting for the pretty permalinks page?Thank you
Forum: Plugins
In reply to: [Standard Widget Extensions] Widget area IDs in which AW is effectiveIf anyone stumbles across this and finds this useful, here’s a css snippet to use FontAwesome icons instead of image ones. Just choose none in the Header Icons option and this snippet to your theme’s custom CSS (This example assumes you already have FontAwesome enqueued):
.hm-swe-collapsed:after { font-family: FontAwesome; font-size: 16px; float: right; content: "?";} .hm-swe-expanded:after { font-family: FontAwesome; font-size: 16px; float: right; content: "?";}
If you want to use ASCII instead of unicode characters, you can find the respective codes on the FontAwesome icon page for your chosen icon and use it with a backslash like so (as above, but in ASCII):
.hm-swe-collapsed:after { font-family: FontAwesome; font-size: 16px; float: right; content: "\f196";} .hm-swe-expanded:after { font-family: FontAwesome; font-size: 16px; float: right; content: "\f147";}
Enjoy!
Forum: Plugins
In reply to: [Codestyling Localization] Is this gone?Any news on this?
There was a companion plugin to keep your translations over updates. That one seems gone too.Forum: Plugins
In reply to: [Social Count Plus] Facebook counter not working, Please help me to fix.Thank you @intricateware !
It worked, only in my case I had to also change
if ( isset( $_data['likes'] ) ) { $count = intval( $_data['likes'] );
to
if ( isset( $_data['country_page_likes'] ) ) { $count = intval( $_data['country_page_likes'] );
Thank you Wombat,
Your solution solved this for me (:
Forum: Plugins
In reply to: [Ceceppa Multilingua] Page title problemFound another thread on the same problem, added the ‘display’ bit to get_bloginfo in my theme’s custom functions, and the title is working now. Cool! Problem solved!
Thank you for this great plugin!Forum: Plugins
In reply to: [Ceceppa Multilingua] Page title problemAlessandro,
Thanks for the tip!
I didn’t get any notification of your reply, so only tried it now, but to no avail.
Changing the elegant_titles() code to either the_title() or wp_title() just removes the title from the titlebar completely.Another thing that seems not to wotk with this theme is translations of theme bits like Search and the Contact form.
Would greatly appreciate any hints in the right direction.
Cheers!PS
The site is no longer in maintenance mode – parental-child-abduction.orgForum: Plugins
In reply to: [Ceceppa Multilingua] Page title problemCiao Alessandro!
Thank you for such a functional plugin.
I am currently developing a site, and its title does not get translated.
I’m using Trim theme from Elegant Themes.
Can you have a look at parental-child-abduction.org please?
The code that invokes the title in head.php is
<title><?php elegant_titles(); ?></title>
When I replace it with the relevant code from TwentyThirteen theme, the title does not display at all.
If I enable the TwentyThirteen theme, the title does get translated on the page, but not in the title bar.
Any helping hint greatly appreciated.