Onenaija Blog

The People's Blog

  • Home
  • Blogging
    • Blogger
    • WordPress
    • Google Adsense
    • Video
  • Computer/Internet
    • Tips & Tricks
    • Mobile Tips/ Tricks
    • Pc Tips/ Tricks
  • Tech
    • Android
    • Facebook
    • Youtube
    • Reviews
  • Others
    • Making Money Online
    • Entertainment
    • Forum
  • About Me
    • Contact Me
  • Hire Me
  • Advertise With Us
  • Guest Post
Home » Blogging » Wordpress » HOW TO MAKE YOUR COMMENT BOX VISIBLE IN YOUR POSTS OF MOBILEPRESS

HOW TO MAKE YOUR COMMENT BOX VISIBLE IN YOUR POSTS OF MOBILEPRESS

August 29, 2012 By: babanaturecomment

Facebook
Twitter
Pinterest
Linkedin
Bufferapp

Let’s say you have customized your mobilepress by putting your logo and custom menu and you have even started writing articles. If you look at the post you have written, you will not see a comment box by default except you click “view or write a comment” which sucks, right? Most readers who want to comment find it hard to click the view and write comment. So today we are going to make the comment box appear in the post by calling it out like the screen shot below

So how do we achieve this? No worries because it is very simple and you don’t need to know codes, just follow my lead.

NOTE: before you start coding always make sure you do a backup before performing any operation.

First: Log in to your control panel and locate your mobilepress theme folder by going to >> Public_html/wp-content/plugins/mobilepress/system/ theme/ default/

We are going to edit two files here which are; single.php and page.php

Ok now, open your page.php with your c-panel editor and locate the below codes.

<p><a href="<?php the_permalink(); ?><?php mopr_check_permalink(); ?>comments=true">View</a> or <a href="<?php the_permalink() ?><?php mopr_check_permalink(); ?>postcomment=true">Post</a> Comments.</p>

If you have seen the codes then under it put this below code

<div align=”left”> <?php include(‘postcomment.php’); ?> </div>

So the code will look exactly like the one below

<p><a href="<?php the_permalink(); ?><?php mopr_check_permalink(); ?>comments=true">View</a> or <a href="<?php the_permalink() ?><?php mopr_check_permalink(); ?>postcomment=true">Post</a> Comments.</p>

   

<div align="center"> <?php include('postcomment.php'); ?> </div>

Now save it. We have just done the first step so it will not show yet

We have accomplished the first step now onto the second step. Now go to “single.php” open it with cpanel editor and locate the below codes.

<p><a href="<?php the_permalink(); ?><?php mopr_check_permalink(); ?>comments=true">View</a> or <a href="<?php the_permalink() ?><?php mopr_check_permalink(); ?>postcomment=true">Post</a> Comments.</p>

It is similar to the first code, right? Now underneath the code put in this below code

<div align="center"> <?php include('postcomment.php'); ?> </div>

If you’ve put in the code, it will look like the codes below

<p><a href="<?php the_permalink(); ?><?php mopr_check_permalink(); ?>comments=true">View</a> or <a href="<?php the_permalink() ?><?php mopr_check_permalink(); ?>postcomment=true">Post</a> Comments.</p>

<div align="center"> <?php include('postcomment.php'); ?> </div>

Now save it and view your post. The comment box has appeared right? Yeah I thought so. That’s how to do it.

If this post is of help to you in any way, please share us and like the post and don’t forget to recommend us with friends.

Don't Miss Any Post Again. Subscribe To Our Feed And Be Updated

Enter your email address below:

 

Powered by OnenaijaBlog

Facebook
Twitter
Pinterest
Linkedin
Bufferapp

About babanature

I am a researcher and internet consultant. I love designing web sites, building blogs, doing tutorials, playing with codes, watching cartoons, writing articles, blogging, singing and lots more...
You can always hook me up on Facebook, twitter, YouTube and Google+

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

CommentLuv badgeShow more posts

Search The Blog

DO YOU WANT TO PROMOTE YOUR PRODUCT?

Do you have a product that you would like us to review here at onenaijablog? If you already have a post written for your product, would you like us to publish it to our unique blog readers? Then take the advantage of our low cost plan by . Contacting Us Today

Recent Reviews

  • InnJoo Halo
  • Infinix Hot 2 (X510)
  • InnJoo Fire

RSS Contents From Babanature Blog

  • Don't download latest Windows 10 update if you own one of these popular laptops
  • The new Android 11 features that will actually change your phone
  • The new PlayStation 5 looks like a giant broadband router
  • 5 secure smartphone settings that’ll protect you from hackers
  • Facebook's new tool reveals if you're being scammed

FOLLOW ONENAIJA BLOG

Icon IconIcon Follow Me on Pinterest

Translate to Your Language

Friend Us On Facebook

Copyright © 2021 · Proudly Onenaijablog Re-Touched By, Babanature | Google+