Jane_Jojo
(Jane Jojo)
12 Marzo 2023, 8:59pm
1
Contesto:
I use discourse as the commenting system and here’s an example
[IMG_1857]
When you look at it from a mobile, you can see the content outside of the viewport.
How can I fix it to be responsive?
Here’s the code I use
<div id="comments" class="ct-post-end-section">
<div id='discourse-comments'></div>
<script type="text/javascript">
DiscourseEmbed = { discourseUrl: 'https://comments.alittlebitofspice.com/',
discourseEmbedUrl: '<?php echo get_permalink(); ?>' };
(…
Sono un utente felice da molto tempo, ma nel tempo ho imparato che non avere un sistema di commenti NATIVO attivo influisce sulla SEO per i food blogger. Con un embed IFRAME, Google NON riconosce il commento di discourse per ogni post del blog come contenuto proprio. Dopo quattro anni di gestione del sistema di commenti, mi ha colpito duramente, soprattutto quando Google cerca indicatori di attività di freschezza.
Qualcuno ha pensato a una soluzione per questo?
1 Mi Piace
@Jane_Jojo Uso Discourse COME piattaforma di blogging…
Puoi vedere il mio metodo qui…
An alternative to Page Publishing - another method is to use CSS to remove the unwanted elements on a regular Topic Post, while preserving all of the functionality (i.e. Javascripts in installed Theme Components, and CSS styling, etc.)
Tags in the composer can be used to selectively apply formatting to a specific Topic Post.
For example, on my site I achieve this by pasting the following CSS into my theme’s CSS in the Common tab:
/********************** REMOVE THINGS FROM LAYOUT USING TAGS **…
E puoi vedere il mio sito qui…
This is a place for sharing innovations and conversations about simplifying. I am eager to simplify. I revisit, rework, and reinvent everything, continuously, in my mission to simplify, and to recognize and remove barriers.
3 Mi Piace