我有这个主题,当我想使用“插入更多标签”添加“阅读更多”选项时,主题会在下面添加更多阅读图标。我想要做的是:删除“阅读更多”图标,并在文本末尾显示“阅读更多”(不在文本下面 - 这很重要)。请检查下面的视觉指示。无法在此Wordpress主题中编辑“阅读更多”选项
在此先感谢您的帮助。我很感激。
(PS我知道很少如何编辑HTML文件,如果不是全部)
视觉指令 - >http://bit.ly/V8fU8k
主题 - >http://bit.ly/13I3x7U
我有这个主题,当我想使用“插入更多标签”添加“阅读更多”选项时,主题会在下面添加更多阅读图标。我想要做的是:删除“阅读更多”图标,并在文本末尾显示“阅读更多”(不在文本下面 - 这很重要)。请检查下面的视觉指示。无法在此Wordpress主题中编辑“阅读更多”选项
在此先感谢您的帮助。我很感激。
(PS我知道很少如何编辑HTML文件,如果不是全部)
视觉指令 - >http://bit.ly/V8fU8k
主题 - >http://bit.ly/13I3x7U
you can change the Read More option in loop.php file in your theme folder
Remove this code
<?php if (option::get('display_readmore') == 'on') { ?><span class="readmore"><a href="<?php the_permalink() ?>"><?php _e('Read more', 'wpzoom'); ?></a></span><?php } ?>
find
<?php if (option::get('display_content') == 'Full Content') { the_content(''); } else { the_excerpt(); } ?>
and add code after this
<a href="<?php the_permalink() ?>"><?php _e('Read more', 'wpzoom'); ?></a>
Please replace in loop.php file in your theme
<?php if (option::get('display_content') == 'Full Content') { echo get_the_content(''); } else { echo get_the_excerpt(); } ?>
to
<?php if (option::get('display_content') == 'Full Content') { echo get_the_content(''); } else { echo get_the_excerpt(); } ?>
<a href="<?php the_permalink() ?>"><?php _e('Read more'); ?></a>
This will help you to put read more near end of the post.
欢迎堆栈溢出。你试图解决什么问题?我们可以*帮助您解决问题,但我们不是免费的租用编码者;你不能只将我们链接到一个文件,并期望有人为你免费为你做的工作。这不是它的工作方式。发布一些代码示例以及目前为止的内容,并且您会收到一些帮助。 –