WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Why Wont Any One Help, =( (14 posts)

  1. Adrian18
    Member
    Posted 3 years ago #

    Guys I Am Using Easel Theme, Two Column

    How Do I Display Ads between Posts

    Everyone Says To Do The Below, But I Cant Find It

    in my index.php: ( " <?php if (have_posts()) )

    Please Help

    [Stop bumping!]

  2. Adrian18
    Member
    Posted 3 years ago #

    esmi, why did you close the thread,

    did do something wrong,

    and can any one help with my prob above

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    One open thread per question at a time is quite enough.

  4. Adrian18
    Member
    Posted 3 years ago #

    OK,

    But Can You Help With My Problem

  5. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    it might be in index.php of the theme:

    if (have_posts()) {
    		while (have_posts()) : the_post();
    			easel_display_post();
    		endwhile;

    try and insert your ad code before the line with 'endwhile' and respect the php tags;
    example:

    if (have_posts()) {
    		while (have_posts()) : the_post();
    			easel_display_post();
    ?>
    YOUR AD CODE HERE
    <?php		endwhile;

    details, particular formatting, will depend on the nature of your ad code. for any help with that, you will need to post a link to your site.
    (untested)

  6. Adrian18
    Member
    Posted 3 years ago #

    alchymyth,

    thanks for trying to help, but

    i am using easel theme , two column

    and i cant find the code -> ( if (have_posts()) { ) in the index.php

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    But Can You Help With My Problem

    I donl't know that theme well enough. But I have moved the topic to the Themes forum and tagged it with the theme's name in the hopes that the developer will see it & respond.

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    Try looking in loop.php

  9. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    maybe you are working with a different 'easel' theme ?
    can you post the link from where you downloaded your theme?

    can you paste the code of index.php into a http://pastebin.com/ and post the link to it here?

  10. Adrian18
    Member
    Posted 3 years ago #

    esmi,

    easel theme does not have a " loop.php "

  11. Adrian18
    Member
    Posted 3 years ago #

    alchymyth,

    i am using the orginal easel theme

    http://wordpress.org/extend/themes/easel

    v 2.0.4

    the code for the Main Index Template (index.php)

    the link is below

    http://pastebin.com/qeHFZRDs

  12. Adrian18
    Member
    Posted 3 years ago #

    alchymyth :D

    Thank You Very Much You Answered Not Only My Question But

    Everyone Who Uses This Theme And Wanted To Display Ads Between Post,

    I Got It To Work Using Your Post Above,

    Did Not Read It The First Time, Got It To Work Now Bye

  13. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    splendid ;-)

    if all is working, please mark this threasd as 'resolved' - thanks

  14. Adrian18
    Member
    Posted 3 years ago #

    No Prob,

    Thanks Again alchymyth ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags