How to combine PHP echo and get together? -
my website has multiple languages, , have php line in below data sql , shows text on page:
<?php get_footer_menu_items(3, "col-md-6 go-right","ftitle go-text-right","footerlist go-right go-text-right" );?>
the number 3 in above code text (about us)
but in page, have php echo show text based on selected language:
<?php echo trans('0295');?>
this above line text (about us)
how can combine these 2 lines change text selected language?
get_footer_menu_items function probably takes integer first argument , index in array of sort text strings.
so if call this:
get_footer_menu_items(trans('0295'), "col-md-6 go-right","ftitle go-text-right","footerlist go-right go-text-right" );
it won't work anyway. without mentioned function's code it's hard help.
Comments
Post a Comment