I want to translate shop page in in WordPress from English to Arabic.
Where I am using WordPress with Avada-theme fusion, WooCommerce and WPML.
I am keeping everything in there default configurations so the shop page in generated by WooCommerce.
So, I translated the shop page using WPML.
Note that sections that weren't translated directly were translated in WPML string translation page.
The page was ALMOST translated correctly. Problem was in the Shop Widget Side bar, which had lost items in Arabic (for example colors).
I was using Color Variations for all products. which I translated all using WPML too, and each translated product has the correct data that I needed. (However I had to re-add all media for the translated product including each variation's photo for the Arabic product)
I added the Color filter for the shop sidebar widget.
Problem is in Shop page in the Shop sidebar section, in English has all the colors and with correct numbers, but In Arabic a lot of the colors are missing and all with wrong quantity.
Example:
| English | Arabic |
| -------- | ----------- |
| Black (5) | Black(1) |
| Yellow (3) | White (2) |
| White (3) | |
I couldn't add screen shots but this example shows the problem I am facing. Like yellow wasn't added in Arabic page but appears in English, and the quantities differ between the languages
It seems that a lot of products aren't recognized by the filter even if they have the color; However if I click on a product that wasn't recognized by the filter in Arabic would have the CORRECT details in product's single view.
I have the same problem with categories too.
Related
I'm new to WordPress. So, I'm not really sure if it's normal behavior or not but this is bothering me. So, I've my main navigation menu consists of Home | category_1 | Category_2 | Category_3 ...
The issue is that whenever I click on a post link it loads as expected but the category under which the post is created also becomes active which I don't want. For example, if I click on a post from category_1 it loads with the single.php template, and my navigation menu(top navbar) becomes Home | **category_1(active)** | Category_2 | category_3....
So my questions are is it a normal behavior in WordPress? And how can I load the single post without making the catgroy link active??
My website titles are set with a seperator in Wordpress (websites with both Yoast & RankMath plugin).
In my setting I'm using a seperator like below:
My sentence is here | Company name
But in google it's displayed as
Company name: My sentence is here
My description is the same tho. I guess there is an overruling somewhere that pushes the title with ':' in it. Does someone know how to fix it?
-> Some pages do index right, some don't.
I am using WooCommerce plugin together with SEO by Yoast on my wordpress site.
At the moment the indexation is working properly BUT there is one issue. The text that is indexed is the long product description and not the short product description that I want.
My question: How do I change in my wordpress site to index the short product description.
Note: The product descriptions I write in wp-admin>woocommerce>products and then in the specific products.
URL to site
Can you provide a specific URL? That's not enough info. Out of the box, Yoast will make it look like this:
------------------------------------------------------------------------------
Nokia Lumia 930 - Your Site Name
yoursite.com/nokia-lumia-930
This is the Nokia Lumia 930 and it's very nice. It's got a pretty good camera.
------------------------------------------------------------------------------
Line (1) is product name & site name. Line (3) is short product description.
One thing you should know is that Google doesn't guarantee your product description will be used in its SERPs.
I'm trying to create a product in WooCoomerce where I want to present to the vistor different product pictures when they are choosing a new variable.
So I have added this in Attributes
Name Values
Size: 5 mm double wrap | 5 mm bracelet
Material: Natural brown | dark brown w/ green sides
Fonts: Times New roman | Uppercase
In Variation I have Any Size - Natural Brow - Any Font and I've set a picture for that variation. In the post that works great.
The problem is that I would like to let the user see what kind of font type they can choose.
So I did Any Size - Any Material - Times New Roman and attached a picture to that.
Here's a screendump of the settings http://i.imgur.com/Nmv9wNl.png all is enabled.
But the picture of Times New Roman never shows up if I only choose the last dropdown in the product page.
Am I completly wrong that this possible or am I doing something wrong?
I'm working on a D5 site and a lot of the content types have the menus at the top of the edit page.
Examples:
Overview | Grants | Dev load | Dev render | Edit | Revisions | Track | Workflow
Overview | Dev load | Dev render | Edit | Revisions | Track | Workflow | Node queue | RelatedContent
I'm not sure where these tabs come from, but I need to enable the menu for a content type that doesn't have them visible.
I checked the workflow setting and the content type in question was specified to use workflow. So there should be at least another tab in addition to edit.
The end goal is to have revisions show up in the menu, but I need to get the menu showing first.
Any ideas where to start looking?
As for where the tabs come from, you could (re)read my answer to your similar question from a few month ago, but that was geared at a programming perspective, while this sounds more like an administrative problem.
The most common reason for a tab not showing up is that the current user does not have the right to use the functionality the tab offers - you should check your permission settings, especially if the site in question uses one or more specific access modules.
Another possibility is that the function the tab offers is not enabled for the content type in question, e.g. if 'use revisions' is not enabled for a content type, the tab won't show up (and IIRC, it only shows if there are already revisions available for that node, so if a node has not been edited yet, no tab is displayed)
A third place to check would be the page.tpl.php file(s). The tabs are available there as the $tabs variable and usually printed somewhere at the top of the content region. If your site uses multiple page template files for different situations, it might be that one of those simply doesn't print the $tabs variable.
A forth possibility would be a xyz_preprocess_page() function within a custom module or theme that explicitly clears/overwrites the $tabs variable for some special circumstances.