Different logo depending on language
-
Hi,
I am using polylang plugin for setting up 3 language website(English,Armenian and Russian).
On my admin panel of website there was a feature where we can set different logos for each page, but changing let’s say on English language home page changes other languages logos as well.
Can you help me with this?
-
Hi
Does it help you: https://polylang.wordpress.com/2013/05/03/a-multilingual-custom-header-image/ ?Hi, thanks. Not actually. Can you please describe it more in details?
Here are my steps:
1. I opened up a polylang directory,
2. Created a new file called ‘wpml-config.xml’, (should I create a new file or I should copy it from other place?
3. copy and pasted the code and changed the theme name.<wpml-config>
<admin-texts>
<key name=’theme_mods_twentytwelve’>
<key name=’header_image’ />
</key>
</admin-texts>
</wpml-config>4. Actually I can’t see “header” in the Appearance, but I’ve uploaded the logo in my themes options menu, but I can’t see any image settings in the string translations part.
Which theme do you use? Have you already a wpml-config.xml file?
I am using a theme called Highend.
Is there a special configuration for it? Or should I setup any other plugin? I just created a .xml extension file and copied a code above, but no other options there.
I am very new to this, so if you could tell me more in details, that would be great. Thanks in advance.
Could you go in your database (PhpMyAdmin), go in wp_options, then in the search form. Make a search on the word logo.
Could you provide a screenshot of the result?
You can upload it via https://snag.gy and link to it here.I don’t have wp_options in my database, but I have wp_mgdq_options, I guess that shoud be the same.
Here is the screenshot.
https://snag.gy/vNdsc.jpgCould you provide the 4 last pages of your wp_mgdq_options?
I guess this is it https://snag.gy/lmMwo.jpg.
Could you provide the screenshot of where you have upload your logo in your Theme Options?
Here it is https://snag.gy/Uww8v.jpg
Search in your wp_mgdq_options: coalition.
Make this search thanks to the search form. For the raw option_value you must select LIKE %..% (Operator column), and add coalition (Value column).
Which result have you?If I did everything correctly, then I got this.
The option name of the Theme Options is
hb_highend_option
.
You must now unserialize the strings in the same raw, in the option_value column. To do that copy these strings and paste them in this tool (output: check print_r): https://www.unserialize.com/s/
Then forward me the result using the code button in the topic bar tools.Here is the long result:
Array
(
[hb_apple_icon] => https://coalitionagainstviolence.org/wp-content/uploads/2016/01/iOS-logo-57×57.png
[hb_apple_icon_72] => https://coalitionagainstviolence.org/wp-content/uploads/2016/01/iOS-logo-72×72.png
[hb_apple_icon_114] => https://coalitionagainstviolence.org/wp-content/uploads/2016/01/iOS-logo-114×114.png
[hb_apple_icon_144] => https://coalitionagainstviolence.org/wp-content/uploads/2016/01/iOS-logo-144×144.png
[hb_ios_bookmark_title] =>
[hb_responsive] => 1
[hb_queryloader] => disable
[hb_disable_page_comments] =>
[hb_enable_breadcrumbs] =>
[hb_to_top_button] => 1
[hb_pagination_style] => standard
[hb_back_to_top_icon] => hb-moon-arrow-up-4
[hb_analytics_code] =>
[hb_custom_script] =>
[hb_custom_css] => .hb-flipbox-back:before, .hb-flipbox-front:before {margin-right: -.3em;}
[hb_global_layout] => hb-stretched-layout
[hb_boxed_layout_type] => hb_boxed_layout_regular
[hb_boxed_shadow] => 1
[hb_upload_or_predefined_image] => predefined-texture
[hb_predefined_bg_texure] => https://coalitionagainstviolence.org/wp-content/themes/HighendWP/admin/assets/images/textures/dark_dotted.png
[hb_default_background_image] =>
[hb_background_repeat] => no-repeat
[hb_background_attachment] => scroll
[hb_background_position] => center top
[hb_background_stretch] => 1
[hb_content_width] => 1140px
[hb_header_notebox_1] =>
[hb_top_header_bar] => 1
[hb_top_header_container] => container
[hb_top_header_info_text] => Call us toll free 0800 1800 900
[hb_top_header_map] => 1
[hb_top_header_map_text] => Find us on Map
[hb_top_header_email] => [email protected]
[hb_top_header_socials_enable] => 1
[hb_top_header_login] =>
[hb_top_header_languages] => 1
[hb_top_header_checkout] =>
[hb_top_header_link] =>
[hb_top_header_link_icon] => icon-glass
[hb_top_header_link_txt] => Enter your text here…
[hb_top_header_link_link] => https://hb-themes.com
[hb_main_header_container] => container
[hb_header_layout_style] => nav-type-1
[hb_logo_alignment] =>
[hb_sticky_header_alt] =>
[hb_sticky_header] => 1
[hb_sticky_header_height] => 60
[hb_regular_header_height] => 80
[hb_header_right_text] => Ultimate WordPress Theme
With Powerful Page Builder
[hb_side_nav_style] => hb-side-standard
[hb_side_color_style] => hb-side-dark
[hb_side_nav_align] => hb-side-alignment-left
[hb_side_nav_bg] =>
[hb_side_nav_enable_socials] => 1
[hb_side_nav_bottom_text] => ? [the-year] — Your Website
[hb_side_nav_with_animation] =>
[hb_header_layout_skin] => third-skin
[hb_navigation_animation] =>
[hb_search_in_menu] => 1
[hb_search_style] => hb-default-search
[hb_ajax_search] => 1
[hb_side_section] =>
[hb_enable_sticky_shop_button] => 1
[hb_main_navigation_color] => dark-menu-dropdown
[hb_interactive_mobile_dropdown] => 1
[hb_enable_pre_footer_area] => 1
[hb_pre_footer_text] => Experience something completely different. The most powerful theme ever.
[hb_pre_footer_button_text] => Buy Today!
[hb_pre_footer_button_link] => https://hb-themes.com
[hb_pre_footer_button_icon] =>
[hb_pre_footer_button_target] => _self
[hb_enable_footer_widgets] => 1
[hb_enable_footer_separators] =>
[hb_enable_footer_background] =>
[hb_footer_bg_image] =>
[hb_footer_layout] => style-1
[hb_enable_footer_copyright] => 1
[hb_enable_backlink] =>
[hb_copyright_style] => normal-copyright
[hb_copyright_line_text] => ? [the-year] · Coalition to stop violence against women.
[hb_fixed_footer_effect] =>
[hb_default_settings_notebox] =>
[hb_sidebar_size] => hb-sidebar-30
[hb_sidebar_style] => hb-default-sidebar
[hb_page_layout_sidebar] => right-sidebar
[hb_choose_sidebar] => hb-default-sidebar
[hb_page_title_type] => none
[hb_page_title_background_color] => #fafafa
[hb_page_title_background_image] =>
[hb_page_title_background_image_parallax] => 1
[hb_page_title_style] => simple-title
[hb_page_title_alignment] => alignleft
[hb_page_title_height] => normal-padding
[hb_page_title_color] => dark-text
[hb_page_title_animation] =>
[hb_page_title_subtitle_animation] =>
[hb_logo_option] => https://coalitionagainstviolence.org/wp-content/uploads/2016/01/Logo-Arm.png
[hb_logo_option_retina] => https://coalitionagainstviolence.org/wp-content/uploads/2016/01/Logo-Arm-Retina.png
[hb_logo_light_option] =>
[hb_logo_light_option_retina] =>
[hb_wordpress_logo] => https://coalitionagainstviolence.org/wp-content/uploads/2016/01/Logo-Admin.png
[hb_logo_max_height] =>
[hb_contact_settings_email] => [email protected]
[hb_enable_quick_contact_box] => 1
[hb_quick_contact_box_title] => Contact Us
[hb_quick_contact_box_text] => Send us an email and we’ll get back to you, asap.
[hb_quick_contact_box_button_title] => Send Message
[hb_general_notebox_blog] =>
[hb_blog_excerpt_disable] =>
[hb_blog_excerpt_length] => 20
[hb_blog_read_more_button] => 1
[hb_blog_enable_image_cropping] => 1
[hb_blog_enable_by_author] =>
[hb_blog_enable_date] => 1
[hb_blog_enable_comments] =>
[hb_blog_enable_categories] => 1
[hb_blog_enable_tags] => 1
[hb_blog_enable_related_posts] => 1
[hb_blog_enable_next_prev] => 1
[hb_blog_enable_likes] => 1
[hb_blog_enable_featured_image] => 1
[hb_blog_image_height] => 350
[hb_blog_author_info] => 1
[hb_blog_enable_share] => 1
[hb_comment_form_text] => Your email is safe with us.
[hb_archives_title] => Archive
[hb_general_notebox_portfolio] =>
[hb_portfolio_layout] =>
[hb_portfolio_sidebar_side] => left-sidebar
[hb_portfolio_content_layout] => fullwidth
[hb_portfolio_enable_likes] => 1
[hb_portfolio_enable_related_posts] => 1
[hb_portfolio_enable_next_prev] => 1
[hb_portfolio_enable_share] => 1
[hb_portfolio_taxonomy_filter] => 1
[hb_portfolio_taxonomy_sorter] => 1
[hb_portfolio_taxonomy_columns] => 3
[hb_portfolio_taxonomy_orientation] => landscape
[hb_portfolio_taxonomy_ratio] => ratio1
[hb_staff_layout] => metasidebar
[hb_staff_sidebar_side] => left-sidebar
[hb_staff_enable_related_posts] => 1
[hb_staff_enable_next_prev] => 1
[hb_woo_count] => 12
[hb_woo_product_columns] => 3
[hb_woo_enable_likes] => 1
[hb_woo_notifications] => 1
[hb_woo_layout_sidebar] => fullwidth
[hb_woo_choose_sidebar] => hb-default-sidebar
[hb_woo_sp_layout_sidebar] => fullwidth
[hb_woo_sp_choose_sidebar] => hb-default-sidebar
[hb_woo_enable_share] => 1
[hb_soc_links_new_tab] => 1
[hb_top_header_socials] => Array
(
[0] => facebook
[1] => twitter
[2] => youtube
)[hb_twitter_link] => https://twitter.com/CSVWArmenia
[hb_facebook_link] => https://www.facebook.com/csvwarmenia
[hb_vk_link] =>
[hb_skype_link] =>
[hb_instagram_link] =>
[hb_pinterest_link] =>
[hb_google-plus_link] =>
[hb_dribbble_link] =>
[hb_digg_link] =>
[hb_xing_link] =>
[hb_myspace_link] =>
[hb_soundcloud_link] =>
[hb_youtube_link] => https://www.youtube.com/user/justiceforzaruhi
[hb_vimeo_link] =>
[hb_flickr_link] =>
[hb_tumblr_link] =>
[hb_yahoo_link] =>
[hb_foursquare_link] =>
[hb_blogger_link] =>
[hb_wordpress_link] =>
[hb_lastfm_link] =>
[hb_github_link] =>
[hb_linkedin_link] =>
[hb_yelp_link] =>
[hb_forrst_link] =>
[hb_deviantart_link] =>
[hb_stumbleupon_link] =>
[hb_delicious_link] =>
[hb_reddit_link] =>
[hb_behance_link] =>
[hb_twitch_link] =>
[hb_weibo_link] =>
[hb_tripadvisor_link] =>
[hb_sn500px_link] =>
[hb_envelop_link] =>
[hb_feed-2_link] =>
[hb_custom-url_link] =>
[hb_twitter_notebox_1] =>
[hb_twitter_consumer_key] =>
[hb_twitter_consumer_secret] =>
[hb_twitter_access_token] =>
[hb_twitter_access_token_secret] =>
[hb_share_facebook] => 1
[hb_share_twitter] => 1
[hb_share_gplus] => 1
[hb_share_linkedin] => 1
[hb_share_pinterest] => 1
[hb_share_tumblr] => 1
[hb_share_vkontakte] => 1
[hb_share_reddit] => 1
[hb_share_email] => 1
[hb_map_notebox_1] =>
[hb_map_zoom] => 16
[hb_map_latitude] => 48.856614
[hb_map_longitude] => 2.352222
[hb_enable_custom_pin] =>
[hb_custom_marker_image] =>
[hb_enable_map_color] => 1
[hb_map_focus_color] => #ff6838
[hb_enable_map_buttons] => 1
[hb_map_1_latitude] => 48.856614
[hb_map_1_longitude] => 2.352222
[hb_location_1_info] => Enter your info here or leave it empty.
[hb_enable_location_2] =>
[hb_map_2_latitude] => 48.856614
[hb_map_2_longitude] => 2.352227
[hb_location_2_info] => Enter your info here or leave it empty.
[hb_enable_location_3] =>
[hb_map_3_latitude] => 48.856615
[hb_map_3_longitude] => 2.352221
[hb_location_3_info] => Enter your info here or leave it empty.
[hb_enable_location_4] =>
[hb_map_4_latitude] => 48.856619
[hb_map_4_longitude] => 2.352229
[hb_location_4_info] => Enter your info here or leave it empty.
[hb_enable_location_5] =>
[hb_map_5_latitude] => 48.856610
[hb_map_5_longitude] => 2.352220
[hb_location_5_info] => Enter your info here or leave it empty.
[hb_enable_location_6] =>
[hb_map_6_latitude] => 48.856610
[hb_map_6_longitude] => 2.352220
[hb_location_6_info] => Enter your info here or leave it empty.
[hb_enable_location_7] =>
[hb_map_7_latitude] => 48.856610
[hb_map_7_longitude] => 2.352220
[hb_location_7_info] => Enter your info here or leave it empty.
[hb_enable_location_8] =>
[hb_map_8_latitude] => 48.856610
[hb_map_8_longitude] => 2.352220
[hb_location_8_info] => Enter your info here or leave it empty.
[hb_enable_location_9] =>
[hb_map_9_latitude] => 48.856610
[hb_map_9_longitude] => 2.352220
[hb_location_9_info] => Enter your info here or leave it empty.
[hb_enable_location_10] =>
[hb_map_10_latitude] => 48.856610
[hb_map_10_longitude] => 2.352220
[hb_location_10_info] => Enter your info here or leave it empty.
[hb_general_notebox_5] =>
[hb_font_body] => hb_font_custom
[hb_font_body_face] => Open Sans
[hb_font_body_subsets] => Array
(
)[hb_font_body_size] => 13
[hb_font_body_weight] =>
[hb_font_body_line_height] => 22
[hb_font_body_letter_spacing] => 0
[hb_font_navigation] => hb_font_custom
[hb_font_navigation_face] => Open Sans
[hb_font_nav_subsets] => Array
(
)[hb_font_navigation_size] => 13
[hb_font_nav_weight] =>
[hb_font_navigation_line_height] => 22
[hb_font_navigation_letter_spacing] => 0
[hb_font_navigation_transform] =>
[hb_font_navigation_dropdown] => hb_font_custom
[hb_font_navigation_face_dropdown] => Open Sans
[hb_font_nav_subsets_dropdown] => Array
(
)[hb_font_navigation_size_dropdown] => 12
[hb_font_nav_weight_dropdown] =>
[hb_font_navigation_line_height_dropdown] => 22
[hb_font_navigation_letter_spacing_dropdown] => 0
[hb_font_navigation_transform_dropdown] =>
[hb_font_copyright] => hb_font_default
[hb_font_copyright_face] => ABeeZee
[hb_font_copyright_subsets] => Array
(
)[hb_font_copyright_size] => 12
[hb_font_copyright_weight] =>
[hb_font_copyright_line_height] => 22
[hb_font_copyright_letter_spacing] => 0
[hb_font_h1] => hb_font_custom
[hb_font_h1_face] => Open Sans
[hb_font_h1_subsets] => Array
(
)[hb_font_h1_size] => 30
[hb_font_h1_weight] =>
[hb_font_h1_line_height] => 36
[hb_font_h1_letter_spacing] => 0
[hb_font_h2] => hb_font_custom
[hb_font_h2_face] => Open Sans
[hb_font_h2_subsets] => Array
(
)[hb_font_h2_size] => 24
[hb_font_h2_weight] =>
[hb_font_h2_line_height] => 30
[hb_font_h2_letter_spacing] => 0
[hb_font_h3] => hb_font_custom
[hb_font_h3_face] => Open Sans
[hb_font_h3_subsets] => Array
(
)[hb_font_h3_size] => 20
[hb_font_h3_weight] =>
[hb_font_h3_line_height] => 26
[hb_font_h3_letter_spacing] => 0
[hb_font_h4] => hb_font_custom
[hb_font_h4_face] => Open Sans
[hb_font_h4_subsets] => Array
(
)[hb_font_h4_size] => 18
[hb_font_h4_weight] =>
[hb_font_h4_line_height] => 24
[hb_font_h4_letter_spacing] => 0
[hb_font_h5] => hb_font_custom
[hb_font_h5_face] => Open Sans
[hb_font_h5_subsets] => Array
(
)[hb_font_h5_size] => 16
[hb_font_h5_weight] =>
[hb_font_h5_line_height] => 22
[hb_font_h5_letter_spacing] => 0
[hb_font_h6] => hb_font_custom
[hb_font_h6_face] => Open Sans
[hb_font_h6_subsets] => Array
(
)[hb_font_h6_size] => 16
[hb_font_h6_weight] =>
[hb_font_h6_line_height] => 22
[hb_font_h6_letter_spacing] => 0
[hb_pre_footer_font] => hb_font_default
[hb_pre_footer_font_face] => ABeeZee
[hb_font_pre_footer_subsets] => Array
(
)[hb_pre_footer_font_size] => 13
[hb_font_pre_footer_weight] =>
[hb_pre_footer_line_height] => 22
[hb_pre_footer_letter_spacing] => 0
[hb_font_modern_title] => hb_font_default
[hb_font_modern_title_face] => ABeeZee
[hb_font_modern_title_subsets] => Array
(
)[hb_font_modern_title_weight] =>
[hb_font_modern_title_letter_spacing] => 0
[hb_font_modern_title_transform] =>
[hb_color_manager_type] => hb_color_manager_schemes
[hb_general_notebox_991] =>
[hb_customizer_field] => <div class=”hb-buttons”>Run Live Color Customizer</div>
[hb_scheme_chooser] => minimal_red
[hb_maint_notebox_2] =>
[hb_enable_maintenance] =>
[hb_maintenance_layout_position] => left-alignment
[hb_maintenance_logo] =>
[hb_maintenance_enable_countdown] =>
[hb_countdown_date] => 2016-01-23
[hb_countdown_hours] => 8
[hb_countdown_minutes] => 30
[hb_countdown_style] => hb-light-style
[hb_maintenance_content] => <h1>We are working on something awesome!</h1>
<h4></h4>
[hb_maintenance_bg_color] => #323436
[hb_maintenance_bg_image] =>
[hb_404_title] => File not Found
[hb_404_subtitle] => Sorry, but we couldn’t find the content you were looking for.
[hb_404_button_caption] => Back to our Home
[hb_404_icon] => hb-moon-construction
[hb_control_modules] =>
[hb_module_portfolio] => 1
[hb_module_gallery] => 1
[hb_module_team_members] => 1
[hb_module_faq] => 1
[hb_module_testimonials] => 1
[hb_module_clients] => 1
[hb_module_pricing_tables] => 1
[hb_module_not_found_page] => 1
[hb_module_coming_soon_mode] => 1
[hb_module_prettyphoto] => 1
[hb_module_plugin_recommender] => 1
[hb_module_dashboard_widget] => 1
[hb_module_demo_importer] => 1
[hb_module_system_diagnostics] => 1
[] =>
)
- The topic ‘Different logo depending on language’ is closed to new replies.