Commit 0b9fe7e6 authored by imac's avatar imac

[Bugfix]Add backlink to CMS Page

parent 8114799c
......@@ -70,6 +70,7 @@ $(function(){
//load content page on left Panel
$(document).find('.to-slide').on('click','a',function(e){
$('html').css('overflow','hidden');
e.preventDefault();
var link = $(this).attr("href");
$('.load-page').parent().addClass('active');
......@@ -77,6 +78,7 @@ $(function(){
$('.load-page').load(link,function(){
$.fn.loadPageContent();
});
$( ".c-hamburger" ).trigger( "click" );
});
var div = $('.nav-content');
$('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
......
......@@ -8,6 +8,9 @@ if($ext_ref) {
get_header();
}
$post_ID = 260;
if(!$ext_ref) {
$class_back = "int-link";
}
?>
<div id="download" class="clearfix container ">
......@@ -16,8 +19,8 @@ $post_ID = 260;
<div class="nav-phototeque container gray-bg row fixed">
<div class="header">
<div class = "btn-wrapper row close-panel">
<div class="pink-btn circle-btn"><span class = "abs-center backlink">Retour</span></div>
<div class = "btn-wrapper row close-panel <?php echo $class_back ?>">
<div class="pink-btn circle-btn"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><span class = "abs-center backlink">Retour</span></a></div>
</div>
<nav class = "row">
<h2 class = "crete big-title">Téléchargement</h2>
......
......@@ -9,6 +9,9 @@ if($ext_ref) {
get_header();
}
$current_page = '';
if(!$ext_ref) {
$class_back = "int-link";
}
?>
<div id="legacy" class="clearfix container ">
<div class="phototheque-content">
......@@ -16,9 +19,9 @@ $current_page = '';
<div class="nav-phototeque container gray-bg row fixed">
<div class="header">
<div class = "btn-wrapper close-panel row">
<div class="pink-btn circle-btn"><span class = "abs-center backlink">Retour</span></div>
</div>
<div class = "btn-wrapper row close-panel <?php echo $class_back ?>">
<div class="pink-btn circle-btn"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><span class = "abs-center backlink">Retour</span></a></div>
</div>
<nav class = "row">
<h2 class = "crete big-title">Mentions légales</h2>
</nav>
......
......@@ -8,6 +8,9 @@ if($ext_ref) {
get_header();
}
$current_page = 'phototheque';
if(!$ext_ref) {
$class_back = "int-link";
}
?>
<div id="phototheque" class="clearfix container ">
<div class="phototheque-content">
......@@ -15,8 +18,8 @@ $current_page = 'phototheque';
<div class="nav-phototeque container gray-bg row fixed">
<div class="header">
<div class = "btn-wrapper row close-panel">
<div class="pink-btn circle-btn"><span class = "abs-center backlink">Retour</span></div>
<div class = "btn-wrapper row close-panel <?php echo $class_back ?>">
<div class="pink-btn circle-btn"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><span class = "abs-center backlink">Retour</span></a></div>
</div>
<nav class = "row">
<h2 class = "crete big-title">Photothèque</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment