السياق:
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(); ?>' };
(…
كنت مستخدمًا سعيدًا لفترة طويلة، ولكن بمرور الوقت تعلمت أن عدم وجود نظام تعليقات أصلي نشط يؤثر على تحسين محركات البحث لمدوني الطعام. مع تضمين IFRAME، لا يتعرف Google على تعليق Discourse لكل منشور مدونة على أنه محتواه الخاص. بعد أربع سنوات من تشغيل نظام التعليقات، أثر ذلك علي بشدة، خاصة عندما يبحث Google عن مؤشرات نشاط جديدة.
هل فكر شخص ما في حل لهذا؟
إعجاب واحد (1)
@Jane_Jojo أستخدم Discourse كمنصة تدوين خاصة بي…
يمكنك رؤية طريقتي هنا…
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 **…
ويمكنك رؤية موقعي هنا…
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 إعجابات