Tagged: x
-
AuthorPosts
-
September 30, 2016 at 6:41 am #1197173
PeterBeer2ParticipantHi,
i want do disable the headerlink. So when i klick the Headerimage shoult happen.
How can i do that?
Theme: Integrity
Child Theme already set up.Best reagarts
PeterSeptember 30, 2016 at 8:20 am #1197255
JoaoModeratorThanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
September 30, 2016 at 8:37 am #1197285
PeterBeer2ParticipantWhen i klick the Header Image the link go to this page: http://www.achtsamkeitsacademy.de/
But i want the link go to a differnten page: http://www.achtsamkeitsacademy.de/index.php/mitgliederbereich
See Screenshot :).
Thank you
September 30, 2016 at 10:47 am #1197446
RahulModeratorHey There,
Thanks for writing in!
To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
October 1, 2016 at 2:27 am #1198280
PeterBeer2ParticipantThis reply has been marked as private.October 1, 2016 at 2:40 am #1198285
Rue NelModeratorHello There,
Because what you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Once you have your child theme active and ready, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file<?php // ============================================================================= // VIEWS/GLOBAL/_BRAND.PHP // ----------------------------------------------------------------------------- // Outputs the brand. // ============================================================================= $site_name = get_bloginfo( 'name' ); $site_description = get_bloginfo( 'description' ); $logo = x_make_protocol_relative( x_get_option( 'x_logo' ) ); $site_logo = '<img src="' . $logo . '" alt="' . $site_description . '">'; ?> <?php echo '<h1 class="visually-hidden">' . $site_name . '</h1>'; ?> <a href="http://www.achtsamkeitsacademy.de/index.php/mitgliederbereich" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>"> <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?> </a>3] Save the file named as
_brand.php
4] Upload this file to your server in the child theme’s folder
wp-content/themes/x-child/framework/views/global/Please let us know if this works out for you.
October 2, 2016 at 4:17 am #1199132
PeterBeer2ParticipantI get this Error:
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in /www/htdocs/w010168e/achtsamkeits-academy.de/wordpress/wp-content/themes/x-child/framework/views/global/_brand.php on line 10When i put _brand.php here w010168e/achtsamkeits-academy.de/wordpress/wp-content/themes/x-child/framework/views/global/
October 2, 2016 at 4:33 am #1199145
ChristopherModeratorHi there,
Please remove the code we provided in previous replay.
Please add following code in Customize -> Custom -> JavaScript :
jQuery("a.x-brand.img").attr("href","http://www.achtsamkeitsacademy.de/index.php/oops-this-content-is-members-only");Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1197173 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
