peter_lang
Forum Replies Created
-
Thanks, i solved this with php. GTM will be placed by browser language
Forum: Fixing WordPress
In reply to: Add Tag Manager for only one countryyes, thats it. Script closed in echo works now, i forgot the semicolon .. dios mio …
Thanks
Forum: Fixing WordPress
In reply to: Add Tag Manager for only one countryAlso possible but i would prefer to insert the code only by these 2 languages.
I have created a script thta works by these 2 with simple echo results but everytime i add the GTM script, the pagelayout is destroyd …<?php // If language is Deutsch if ( defined( 'ICL_LANGUAGE_CODE' ) && 'de' == ICL_LANGUAGE_CODE ) { //Deutsch Content here; <script> </script> } // If language is French else if ( defined( 'ICL_LANGUAGE_CODE' ) && 'fr' == ICL_LANGUAGE_CODE ) { //French Content here } // Just for debug, you can remove this else { echo('No tracking code added'); } ?>
Now, it works .. i suppose that it comes with the next refresh after 12 hrs.
I have 2 questions left:
1) Can i set the date above the title?
2) I would like to have a read button below the text. Found this function code but this does not work:function bweb_feedzy_readmore( $content, $link, $feedURL ) {
$content = str_replace( ‘[…]’, ‘‘ . __(‘Read more’, ‘yourTextDomain’) . ‘ →‘, $content );
return $content;
}
add_filter( ‘feedzy_summary_output’, ‘bweb_feedzy_readmore’, 9, 3 );Forum: Plugins
In reply to: [Max Mega Menu] Position Menu on shrink headerDo you get it what i mean?
Forum: Plugins
In reply to: [Max Mega Menu] Position Menu on shrink headerHallo,
not possible because page is offline and stil in development, but i can show it to you by screens:Settings MM
Page postioon 0
page with shrinked header (by scrolling down)
I have already tried to set % instaead od px but it does not work
Forum: Plugins
In reply to: [VS Event List] Import template in ChildI found a function that seems to replace templates but i did not get to adjust it..does this may work?
function custom_wc_locate_template( $template, $template_name, $template_path ) {
$template_overwrite = dirname( __FILE__ ) . ?/templates/‘ . $template_name;if ( file_exists( $template_overwrite ) ) {
$template = $template_overwrite;
}
return $template;
}
add_filter( ?woocommerce_locate_template‘, ?custom_wc_locate_template‘, 10, 3 );Forum: Plugins
In reply to: [WooCommerce] Product variationsanyway.. i there was a demo option, have tryed all in the demo .. works fine.. i have bought it… thanks
Forum: Plugins
In reply to: [WooCommerce] Product variationsHi Niels,
thx for the suggestion. Basically there are a lot of such tools and it is difficult to pick the right one. Can you answer me some questions before?
1) When i use this plugin, so finally, i do not need ti set the product variations? only work with Simple Product .. right?
2) File upload: where is it stored? FTP or database? Is there a link to the file in the order?