badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Language Menu to Slogan

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16798
    Eva
    Participant

    How to put a language menue to the slogan area underneath the rev slider?

    SITE

    I’m using the qtranslate plugin and want to include the flags to the slogan area.

    I tried the following lines in my child theme, but they do not work.

    
    add_action ('interface_home_slogan', 'ppqtrans_lang_chooser');
    function ppqtrans_lang_chooser() {
    	ppqtrans_generateLanguageSelectCode('image');
    }
    
    #16881

    Hi Eva,
    We also have not implemented it still in our theme. The file is inside the interface folder -> inc -> structure -> header-extension.php

    You need to identify the code and just create the child along with functions.php file and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    IF you will be unable to fix it then you need to hire a developer to fix the issue.

    Thank you!

    #17016
    Eva
    Participant

    Hi,

    thanks for the reply, but I already know that i need to unhook the function as described in my code above. It’s just not working.

    #17035

    hi green187,
    I will give you a short example how to unhook it. just follow the steps. Its unhook for page 404.php

    unhook functions
    
    // Unhook default Thematic functions
    function unhook_thematic_functions() {
        // Don't forget the position number if the original function has one
    
    remove_action( 'interface_404_content', 'interface_display_404_page_content', 10 );
    
    }
    add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header
    
    add_action( 'interface_404_content', 'interface_child_display_404_page_content', 10 );
    /**
     * function to show the footer info, copyright information
     */
     
     
    function interface_child_display_404_page_content() {      ?>   
    <div id="content">
    		<header class="entry-header">
    			<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></a></h1>
    		</header>
    		<div class="entry-content clearfix" >
    			<p>Thank you</p> 
    		</div><!-- .entry-content -->
    	</div><!-- #content -->
      <?php 
    }

    Thank you!

    #19109
    ugyfelszolgalat
    Participant

    Dear Theme Horse Support Team,

    I like your Attitude theme so much that I decided to use it on my 3 sites (legjobbpercdijak.hu, bestrates.hu and bestetarife.eu).
    The Hungarian version is already done (legjobbpercdijak.hu). But I do not know how to connect the 3 sites with a language flag link on header or at the slogan part of it.

    Can you help me how to do it?

    #19161

    Hi ugyfelszolgalat,
    Actually we don’t have this feature in our theme. For this it needs code customisation and you need to hire a developer to fix the issue. and Please add the forum to the related topic. This forum is only for the interface Pro.

    Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.