Jump to content

Archived

This topic is now archived and is closed to further replies.

lilixoana

Removing leave a comment on pages.

Recommended Posts

lilixoana

Hi my website URL is http://lilixoana.com and i am having an issue in removing the leave a comment link from the bottom of my pages.   How do you avoid this from showing up on your pages? I just want it under blog posts. Can anyone help with that?

 

I put the leave a comment code in my my hook editor under pagelines_loop_after_post_content which worked but now it is showing under my pages loop too. i do not want it to show on the bottom of my pages like here http://lilixoana.com/about/ .

 

I have the latest version of pagelines, i am not using dms and i am on wordpress 3.7.1.

Share this post


Link to post
Share on other sites
James B

Hi there, in the Framework the comments section is a drag and drop unit. If you look at the template the page is using and go to the drag and drop editor, click on the relevant template and you'll be able to remove the comments section from the drag and drop.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
lilixoana

I removed it in drag and drop but it is still showing the link. I added the leave a comment link using a hook in pagelines_loop_after_post_content Maybe because it's a hook it just shows on all my post loops after the content. I just don't want it to show in my pages.

Share this post


Link to post
Share on other sites
greenfly

Can you let us know the code you have used in the hook please? 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
lilixoana
this was the code 
 
 
<img src="http://lilixoana.com/wp-content/themes/pagelines/images/leaveacomment.png">[post_comments] | <!-- AddToAny BEGIN -->
<a class="a2a_dd" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flilixoana.com&linkname=">Share</a>
<script type="text/javascript">
var a2a_config = a2a_config || {};
a2a_config.linkurl = "http://lilixoana.com";
a2a_config.color_main = "cccccc";
a2a_config.color_border = "c2008a";
a2a_config.color_link_text = "e7a940";
a2a_config.color_link_text_hover = "c2008a";
</script>
<script type="text/javascript" src="//static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->

Share this post


Link to post
Share on other sites

×