espace69
Forum Replies Created
-
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] Disable for MobileYeahhh !!
Thanks you very much ??
Cheers !
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Probem with summaryyes I think it is possible but I don’t know why. You have always my FTP informations, the plugin is table-of-contents-plus there is only 1 file .php
Thanks you very much for support ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Probem with summaryThis is the code to call the link :
if ( in_array($matches[$i][2], $this->options['heading_levels']) ) { $html .= '<a href="#' . $this->url_anchor_target( $matches[$i][0] ) . '">'; if ( $this->options['ordered_list'] ) { // attach leading numbers when lower in hierarchy $html .= '<span class="toc_number toc_depth_' . ($current_depth - $numbered_items_min + 1) . '">'; for ($j = $numbered_items_min; $j < $current_depth; $j++) { $number = ($numbered_items[$j]) ? $numbered_items[$j] : 0; $html .= $number . '.'; }
is there a code or a hack to add because, summary is vital for big article..
You can try here :
https://www.espace-musculation.com/carnitine.html
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Probem with summaryI try to add target=”_self” or target=”_parent” but no way.
We can’t use internal link with anchor or a summary with this plugin ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Probem with summaryThe plugin ok,
but if i click on a link of a second article, there is a “bug”
for example :
First link :
https://www.espace-musculation.com/guide-pour-se-muscler.html
The second article is :
https://www.espace-musculation.com/repos.html
If i click on
https://www.espace-musculation.com/repos.html#conclusion
the URL on the navigator change but I am redirect to the first page (https://www.espace-musculation.com/guide-pour-se-muscler.html
)Is it possible to add a refresh when we click on a link ?
Thanks for support
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Adsenseresolved
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] AdsenseVoici la solution :
replace
<script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
by
<script> (adsbygoogle = window.adsbygoogle || []).onload = function () { [].forEach.call(document.getElementsByClassName('adsbygoogle'), function () { adsbygoogle.push({}) }) } </script>
Cheers
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Adsensethis code `<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>`blocks the script to load the other post
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Adsenseit doesn’t work, the loading of the next page is stopped.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] AdsenseI have only the ad for the first article. Other article haven’t got ad at the end of article.
I have this code :
<div class="post-content"> <div id="content-perso"> <?php the_content(); ?> <?php avada_link_pages(); ?> </div> <h4 class='ailleursurlenet'>Ailleurs sur le web</h4> <script async src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script> <!-- corr-spon --> <ins class='adsbygoogle' style='display:block' data-ad-client='ca-pub-XXXXXXX' data-ad-slot='XXXXXXXXXXX' data-ad-format='autorelaxed'></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div>
here my defaut.php in /wp-content/themes/Avada-Child-Theme/alm_templates
`
<article itemscope itemtype=”https://schema.org/Article”>
<div id=”post-<?php get_the_ID(); ?>” <?php post_class(‘post’); ?>>
<div class=”post-content” <?php if(is_single( array( 400308, 404446, 400099, 400093, 399719, 400087 ) ) ) : ?><?php else: ?>itemprop=”articleBody”<?php endif; ?>>
<div id=”content-perso”>
<?php the_content(); ?>
</div>
</div>
</article>
`and the end of my single.php :
<?php endwhile; ?> <?php wp_reset_query(); ?> <?php if ( is_single() ) { ?> </article><?php }?> <?php echo do_shortcode('[ajax_load_more previous_post="true" previous_post_id="'.get_the_ID().'" previous_post_taxonomy="category" post_type="post" max_pages="0" transition="fade" button_label="à lire aussi" button_loading_label="Chargement" container_type="div"]'); ?> </div>
Forum: Plugins
In reply to: [WordPress Infinite Scroll by Auto Load Next Post] Avada SupportPLease ?? If you help me I will make a nice donation ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll by Auto Load Next Post] Avada Supporthave you got a date ?
:-))))))))))
^_^
Forum: Plugins
In reply to: [WordPress Infinite Scroll by Auto Load Next Post] Avada SupportWhy ? very strange ? A child works like a theme.
There is only 4 or 5 files with minor change…
Did you take a look on my website ? Code ? Screen shoot ?Thanks you for support ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll by Auto Load Next Post] Avada SupportI have try this, I think it is better, but it doesn’t work