• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Jessica theme and WPML String Translation

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Jessica theme and WPML String Translation

This topic is: not resolved

Tagged: jessica, wpml

  • This topic has 1 reply, 1 voice, and was last updated 9 years, 11 months ago by stefanwohlert.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 27, 2016 at 4:30 am #193747
    stefanwohlert
    Member

    Hello,

    When I use the Jessica theme and WPML String Translation the CTA boxes on the front page change and the left box will become the same as the right box.
    Anyone has dealt with this issue before and might know a solution?

    Thanks

    https://www.verandasale.com
    September 27, 2016 at 5:24 am #193753
    stefanwohlert
    Member

    I managed to get the displaying right in the original language by commenting out this part of call-to-action.php

    $instance['wsm-title'] = apply_filters( 'wpml_translate_single_string', $instance['wsm-title'], 'Widgets', 'Web Savvy - CTA Widget - Title' );
         	$instance['wsm-moretext'] = apply_filters( 'wpml_translate_single_string', $instance['wsm-moretext'], 'Widgets', 'Web Savvy - CTA Widget - More Text' );
         	$instance['wsm-morelink'] = apply_filters( 'wpml_translate_single_string', $instance['wsm-morelink'], 'Widgets', 'Web Savvy - CTA Widget - Link' );
         	$instance['wsm-target'] = apply_filters( 'wpml_translate_single_string', $instance['wsm-target'], 'Widgets', 'Web Savvy - CTA Widget - Target' );
         	$instance['wsm-cta-image-url'] = apply_filters( 'wpml_translate_single_string', $instance['wsm-cta-image-url'], 'Widgets', 'Web Savvy - Image' );

    Looks like you can only translate one of the widgets where you use it twice. Would love to see a solution. Was thinking about creating a second cta widget, but I'm not that good with PHP yet.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble