2013-01-17 29 views
0

我有这个主题,当我想使用“插入更多标签”添加“阅读更多”选项时,主题会在下面添加更多阅读图标。我想要做的是:删除“阅读更多”图标,并在文本末尾显示“阅读更多”(不在文本下面 - 这很重要)。请检查下面的视觉指示。无法在此Wordpress主题中编辑“阅读更多”选项

在此先感谢您的帮助。我很感激。

(PS我知道很少如何编辑HTML文件,如果不是全部)

视觉指令 - >http://bit.ly/V8fU8k

主题 - >http://bit.ly/13I3x7U

+0

欢迎堆栈溢出。你试图解决什么问题?我们可以*帮助您解决问题,但我们不是免费的租用编码者;你不能只将我们链接到一个文件,并期望有人为你免费为你做的工作。这不是它的工作方式。发布一些代码示例以及目前为止的内容,并且您会收到一些帮助。 –

回答

0
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> 
+0

嗨!我删除。我怎么能在它之后添加一些东西,因为我已经删除了它。大概不明白。 – John

+0

你说删除:<?php if(option :: get('display_readmore')=='on'){?>,------- BUT 。 --------是我删除的行的一部分。 – John

+0

更新:刚刚做了它(如你所建议的)。但问题在于段落下方出现“Read more”,而不是最后一句末尾。可能吗?确实感谢你的帮助。 – John

0
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.