Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Search Results for 'language'

Home / Forums / Search / Search Results for 'language'

Viewing 20 results - 901 through 920 (of 1,794 total)
  • Author
    Search Results
  • #115254

    You would just need is_tag(array( 30, 32, 24 )) a tag can no be in a category. so you would just add an array with all the tags that you are targeting.

    And instead of asking for category first ask for language:

    function kt_custom_category_slider() {
        if(pll_current_language() == 'en') {
    		if(is_category('37') || (is_singular('post') && in_category('37')) || is_tag(array( '30', '32', '24' )) ) {
    			echo do_shortcode('[kadence_slider_pro id="3"]');
    		}
    	} else if(pll_current_language() == 'fr') {
    		if(is_category('43') || (is_singular('post') && in_category('43')) || is_tag(array( '30', '32', '24' )) ) {
    			echo do_shortcode('[kadence_slider_pro id="2"]');
    		}
    	} else {
    		if(is_category('41') || (is_singular('post') && in_category('41')) || is_tag(array( '30', '32', '24' )) ) {
    			echo do_shortcode('[kadence_slider_pro id="1"]');
    		}
    	}
    }
    
    add_action('kt_header_after', 'kt_custom_category_slider');
    #115248

    Hi Ben, thanks for your help. Please, could you validate my updated snippet, considering the following:

    1/ The category id is different for each language.
    2/ The banner is required for tags archive pages also.

    Here is my update:

    // BEGIN Add a banner for each blog post category (on single posts, category and tags archive pages)
    function kt_custom_category_slider() {
    	if(is_category('37') || (is_singular('post') && in_category('37') )  || (is_tag() && in_category('37') ) ) {
    		if(pll_current_language() == 'en') {
    			echo do_shortcode('[kadence_slider_pro id="15"]');
    		}
    	} else if(is_category('43') || (is_singular('post') && in_category('43') )  || (is_tag() && in_category('43') ) ) {
    		if(pll_current_language() == 'fr') {
    			echo do_shortcode('[kadence_slider_pro id="6"]');
    		}
    	} else if(is_category('41') || (is_singular('post') && in_category('41') )  || (is_tag() && in_category('41') ) ) {
    			echo do_shortcode('[kadence_slider_pro id="16"]');
    	}
    }
    add_action('kt_header_after', 'kt_custom_category_slider');
    // END Add a banner for each blog post category (on single posts, category and tags archive pages)
    #115236

    Using a child theme and doing this with php would be best, you would use a function in the funcitons.php file like this:

    
    function kt_custom_category_slider() {
    	if(is_category('guide') || (is_singular('post') && in_category('guide') ) ) {
    		if(pll_current_language() == 'en') {
    			echo do_shortcode('[kadence_slider_pro id="3"]');
    		} else if(pll_current_language() == 'fr') {
    			echo do_shortcode('[kadence_slider_pro id="2"]');
    		} else {
    			echo do_shortcode('[kadence_slider_pro id="1"]');
    		}
    	}
    }
    
    add_action('kt_header_after', 'kt_custom_category_slider');

    Ben

    #115195

    Hi Kadence, I’m trying to find the better way to set an After Header Banner for a category of posts only. This banner may be shown for all the single posts and the archives page templates for this category only. I made a banner for each language with Kadence Slider Pro, so I have a shortcode for each language.

    I successfully did it but with a lot of CSS. I really would like to heard from the Kadence Team what could be a cleanest way. I’m considering to code it in php in the child theme templates, but I’m not sure how to do it, as I need to keep it user-friendly for the webmaster.

    What I did for now (with a lot of css):

    I added all the 3 shortcodes* (for the 3 languages) to the Sitewide after Header Shortcode (in Theme Options > Main Settings)
    And I hid each banner using css for the other blog categories and the pages where I don’t want this banner.

    *Note: I currently have the Virtue Premium version 3.7.4 installed (I will update soon) and the Sitewide after Header Shortcode string isn’t available for translation in the Polylang table. I didn’t find into the theme changelog or into the version 3.8.6 wpml-config.xml if that string was recently added for translation. If not, please could you tell what I need to add to wpml-config.xml into my child theme?

    Thanks in advance

    In forum: Virtue Theme
    #114862

    1. Hmm, Ok yeah you can’t add raw code into the custom tab inputs, this includes iframes… I didn’t think it did… The reason is because of sanitization for the meta database table. I’m going to look into writing in a workaround to allow iframes.

    So for now the only custom tab that would allow an iframe code is the video since it’s not a “wysiwyg” editor and saved to the database differently.

    2. You have to make sure meta content is specific to each language in your wpml settings. The tabs are meta data thus are saved in the meta data table.

    In forum: Virtue Theme
    #114818

    Hey,
    Iframe shouldn’t have any issue saving in a custom tab. Can you post a temp login so I can see?

    You can change the name of the video tab in your theme options > language settings.

    Ben

    #114799

    Hey,
    No files needed. Go to theme options > language settings.

    Ben

    #114789

    The tabs are part of your meta settings. Inside wpml you should easily be able to make it so meta settings are not forced to all languages. You should just be able to go into each product and translate based on the language. Same way you would translate the main content or short description It’s based on two different posts, one for each language.

    Ben

    #114673

    We just set up our shop with German as main language. When trying to translate into English I have problems with the custom tab.
    I also asked WPML for support but they told me that Pinnacle isn’t compatible to WPML and the tips they tried didn’t work.

    I can translate all product content but not the content which shows up in German in a custom tab (an example: within the custom tab 2 “Produktdetails” – Here you can find detailled product information.

    When trying to translate this content within string translation I see the original (=German) text with an English flag in front and when clicking on the translate-button there is again the same German text.
    Do you have an idea how to solve this problem?

    Thank you
    Angelika

    #114471

    Hey,

    You can change this in Theme Options> Language Settings.

    Let me know if you find it there.

    -Kevin

    #114350

    1. You can change the additional information tab in Theme Options> Language Settings.

    how do i get rid of any like:

    colour temperature

    as per

    http://fittvolt.com/?product=led-bulb-ledon-10w-bayonet-b22-double-click

    i thought it is possible to replace entirely the

    Description Additional Information Reviews (0)

    to be like

    Description Downloads Reviews (0)

    #114296

    1. You can change the additional information tab in Theme Options> Language Settings.

    2. I’m working on a solution for this, but it’s proving to be difficult I’ll let you know if I come up with anything, but it will be a hack, as this is not a built in feature of the theme. I may also not be able to figure it out, and I’ll let you know if that’s the case.

    3. That site is using a very basic blog as their home page. In Settings> Reading, set to “Your latest posts.” This will make your home page a blog, but you’ll have to do some styling in Theme Options> Advanced Styling to get it looking closer to their site.

    In the future, please start new topics with new questions. It’s best to the initial question in a thread, and start new topics for new questions. This helps people who may use this thread as reference in the future find answers more quickly.

    Thanks!,
    Kevin

    In forum: Virtue Theme

    Topic: topbar text

    #114283

    After last two updates, I could not change the text “item” text neither from language settings nor from header-topbar.php. Also the title text “view shopping card”, even I changed it in header-topbar.php nothing changed. So I put the old header-top bar.php instead of old one. And it works fine. I know it is not professional but I had no choice.

    #113532

    Hey,
    1. In Theme Options > Portfolio Options you can set the All Projects Default Portfolio Page. Is that what you mean?

    2. There’s an option to change this in Theme Options > Language Settings.

    Hannah

    #113321

    Hi,

    Thank you for your replies. I am using both loco translate and WooCommerce Polylang Integration. I still haven’t been able to modify the shop main page: http://luxnel.com/fi/shop-2/ and then I have a problem that the category page does not show up in the shop which is set up for Finnish language: http://luxnel.com/fi/tuote-osasto/kesa/

    In forum: Virtue Theme

    In reply to: Multilanguage Website

    #112992

    Hey,

    Go into Settings> Languages> Settings, Url modifications, and set “The language is set from the directory name in pretty permalinks” and resave.

    Let me know if that makes a difference. If not, you should try contacting the plugin support to see if they have any suggestions.

    -Kevin

    #112915

    Hi,
    I want to add my website second language i tried polylang but i cannot do that
    how can i do ?
    plus, in mainpage customer can choose which language they prefer
    can you help me ?

    #112453

    Greetings,

    Its kinda dumb question but my client is registering his site and for some documentation purpose, wanted to know the different languages we have used to create the theme..

    I would really appreciate, if you could please let me know all the languages (frontend technologies & backend technologies) used for creating this theme (Virtue Premium).

    Do reply for any clarification.

    Thank You,
    Ashley

    #112327

    when i change language english to turkish all pruduct pages say not found
    can you help me ?
    if its necessary i can give my account number so you can control what is wrong.

    In forum: Virtue Theme
    #111994

    if you show me how to change these names in editor i can change language step by step crefully

Viewing 20 results - 901 through 920 (of 1,794 total)