Featured Posts

How to make the Classipress Google Map to default in Hybrid ModeHow to make the Classipress Google Map to default in... One of Classipress best feature is the inclusion of Google Maps. Once the user entered a street address, his posting will automatically show a map based on the given location. This is really a cool and...

Readmore

Statpress Reloaded, an ideal Statistics Plugin for Classipress classifieds siteStatpress Reloaded, an ideal Statistics Plugin for... When running a Classifieds site or a site in general, it is not only interesting but useful to know who is visiting your website, where these visitors come from and what they do on your site. You can use...

Readmore

Spice up your Classipress main page with random imagesSpice up your Classipress main page with random images Showing some random automated cosmetic activities will definitely make your Classipress site more exciting and never boring. A way to do that is to have random images of your ads displayed in the main...

Readmore

Display Members and Users Online in ClassiPressDisplay Members and Users Online in ClassiPress To make your Classipress site more interesting to visitors is to make it look active taming with activities. One way to show it is to display members or users who are online. When a first time visitor...

Readmore

An introduction to Classipress Theme and how to use it to make a great Classifieds siteAn introduction to Classipress Theme and how to use... Let’s start with the basics. This post is just going to explain what ClassiPress theme is and what you need to do to set it up in order to start your Classifieds ad site. Specific strategies to optimize...

Readmore

How to put a text section in the main page

Posted by admin | Posted in Plugins and Mods |

9

Here’s a tutorial on how to put a text section in the main page (just right before the main listing). You can see this on my site www.cars.cebulive.com (below).

main_page_text_classipress

First you have to find the code below in the index.php using the theme editor in the dashboard. Simply click on Appearance then Editor and there you will find it.

<div class=”content”>
<ul class=”nav”>
<li<?php if ( is_home() ) { echo ” class=\”current-cat\”"; } ?>><a href=”<?php bloginfo(‘url’); ?>” ><?php _e(‘Latest Listings’); ?></a></li>

And before that add this code;
<div class=”content”>
<div class=”main”>
<div class=”listing”>

YOUR TEXT HERE</div>
</div>
</div>
</div>

Just replace the “YOUR TEXT HERE” with your own. Enjoy.

Have a great day.

Related posts:

  1. How to put Adsense in the main listing of your Classipress Classifieds sites
  2. How to display All Categories in the main page
  3. Spice up your Classipress main page with random images

Home > Plugins and Mods > How to put a text section in the main page

Comments (9)

I did just what you said and it works great. However, I added an image within the text box, similar to how you did it. However, when I go to page 2 of my listings, the image no longer shows.

Just a blank box. Any idea why? Do I need to change a different core file for it to keep my image up through the entire site?

Kindly recheck where you put the codes. Mine are ok even when I navigate to the next page. Here’s my site http://www.cars.cebulive.com.

Yep, good call. I just had the image source path wrong.

Thanks.

It’s a really cool feature.

I’m glad you set up this blog. I look forward to getting some more tips.

Dear Admin,
thank you for sharing your great customizations.

I have installed the latest CP version 2.9.2
I tried putting your code into the index.php but I noticed that it has changed in the new version.

I guess that the code you mention here should be modified a bit for 2.9.2?, I can´t find the lines of code you mention above.

In 2.9.2 where should I paste the code you suggest?, and your code is still the same? or it has to be updated?
Please advice!

Thanks a lot
Pupilo

Thanks for dropping by.

Anyway, the code is still there with version 2.9.2 (index.php).

Or you can find this code (these are the first few lines of code in the index.php).

< ?php
require_once dirname( __FILE__ ) . '/form_process.php';
get_header( );
include_classified_form( );
?>

and then after that put the code I have mentioned above.

Hi!!
Great list of tips!
I’d like to do this but have it only show up on the main page. I want to use the area to show a graphical representation of the categories. when a user clicks the image it takes them to the category list.
any clue how to make it only show on the main page?

what do you think of using the category description as the text section? that would ensure that every category displays something else…

It can definitely be done. I’ll post a tutorial for that soon.

Thank you..

It help me alot..!

i’ll mark your site..

Write a comment

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation