Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #558539

    Hi,
    I’m trying to add a link between arrows in posslider depend on current language.
    I added two following lines in 507 line in Postslider.php file and it seems not to work.
    Is anything wrong with the code?

    
    		protected function slide_navigation_arrows()
    		{
    			 
    			$html  = "";
    			$html .= "<div class='avia-slideshow-arrows avia-slideshow-controls'>";
    			$html .= 	"<a href='#prev' class='prev-slide' ".av_icon_string('prev_big').">".__('Previous','avia_framework' )."</a>";
    
    if ( ICL_LANGUAGE_CODE=='it' ) { $html .= 	"<a href='/it/archive'>"Archive IT"</a>";}
    elseif ( ICL_LANGUAGE_CODE=='en' ) {  $html .= 	"<a href='/en/archive'>"Archive EN"</a>"; }
    		
    
    			$html .= 	"<a href='#next' class='next-slide' ".av_icon_string('next_big').">".__('Next','avia_framework' )."</a>";
    			$html .= "</div>";
    
    			return $html;
    		}
    
    

    Thank you for suggestions.

    #558543

    I forgot dots

    if ( ICL_LANGUAGE_CODE=='it' ) { $html .= 	"<a href='/it/archive'>".'Archive IT'."</a>";}
    elseif ( ICL_LANGUAGE_CODE=='en' ) {  $html .= 	"<a href='/en/archive'>".'Archive en'."</a>"; }
    
    #558574

    Hey!

    and I can see some more areas with the php been a bit confused.
    Have you solved it ( based on your second reply ) or not?

    Cheers!
    Basilis

    #558591

    yes, sure :) Thanks!

    #558852

    Hi,

    Great, glad you got it fixed. Please let us know if you should need any more help on the topic.

    Regards,
    Rikard

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