Tagged: x
-
AuthorPosts
-
July 27, 2016 at 9:25 am #1105208
sharp-imageParticipantHi there,
In the dir: wp-content/themes/x-child/framework/lang/ I’ve setup the 2 files: nl_NL.mo and nl_NL.po
But every time when there is a theme update the langauge files will be overwritten… But as you can see have I setup a child theme. Using the Ethos version of the X theme.What is going wrong here?
Cheers
BoukeJuly 27, 2016 at 10:02 am #1105257
RahulModeratorHey There,
You can follow this thread : https://community.theme.co/kb/translation/
If you are not getting it, provide us your login credentials so that we can get more closer look to it.
Let us know how it goes!
Thanks!
July 27, 2016 at 1:27 pm #1105639
sharp-imageParticipantHi Rahul,
Thanks! That update on the functions.php and adding the correct directory on fp fixed it whit theme updates.
Cheers.
July 27, 2016 at 1:53 pm #1105691
JoaoModeratorGlad to hear it,
Joao
July 28, 2016 at 3:10 am #1106706
sharp-imageParticipantHi,
Thanks so far I have another not related to this topic question. Little bit out of the box I guess, but I will give it a try:-)
I have set up breadcrumbs only in my posts and css-styled the breadcrumbs on pages away with a display: none;. Works perfect.
In my functions.php have I placed the following code for breadcrumbs:// FM posts veranderen function x_breadcrumbs() { if ( x_get_option( 'x_breadcrumb_display' ) ) { GLOBAL $post; $is_ltr = ! is_rtl(); $stack = x_get_stack(); $delimiter = x_get_breadcrumb_delimiter(); $home_text = x_get_breadcrumb_home_text(); $home_link = site_url('muziekprofiel'); $current_before = x_get_breadcrumb_current_before(); $current_after = x_get_breadcrumb_current_after(); $page_title = get_the_title(); $blog_title = get_the_title( get_option( 'page_for_posts', true ) );Now my question is how can I change the $home_link = site_url to the last page from where the visitor came from. In other words the visitor must be navigated just one step back. Guess this is the most easiest way because the structure is: website/profile/user/posts. I have fixed it with:
$home_link= site_url('profile');but then the visitor will be navigated to his own profile.Many thanks!
July 28, 2016 at 3:17 am #1106716
RadModeratorHi there,
Please Try this one,
$home_link = 'javascript:window.history.back();'Hope this helps.
July 28, 2016 at 3:37 am #1106742
sharp-imageParticipantPerfect, Many thanks!
July 28, 2016 at 7:09 am #1106970
JoaoModeratorYou are welcome.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1105208 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
