• Dear All,

    I have a problem with the article titles and article footer. I have created a theme. But cannot see the article title and article footer. You will see what I mean if you check the link below :

    https://www.yonorg.net/wp

    I have missed a line of code somewhere…But, where ??

    Thank you..

Viewing 8 replies - 1 through 8 (of 8 total)
  • Do you have something like the following in your loop?

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    For the footer, do you have <?php get_footer(); ?> in your templates?

    Thread Starter aedemirci

    (@aedemirci)

    Hi,

    Thank you for the response. Where should I check that line ?

    Depends on the theme you’re using. It will most likely be in index.php or loop.php if it exist.

    Thread Starter aedemirci

    (@aedemirci)

    Here is the files in my template folder. I have created the template with a third party template development tool.

    https://img709.imageshack.us/img709/163/filesw.jpg

    And I could not see the line that you have mentioned in the index page. I also do not have a file called loop.php

    Thank you..

    In index.php, look for the line that looks like

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">

    and insert the line I’ve mentioned after it.

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    Thread Starter aedemirci

    (@aedemirci)

    Thank you very much indeed for your time and interest. But, the only code I see in index.php under the template folder contains the following lines :

    <?php
    get_header();
    if (have_posts())
    {
    while (have_posts())
    {
    art_post();
    }
    art_page_navi();
    } else {
    art_not_found_msg();
    }

    get_footer();

    That’s it. Nothing more..

    You’ll have to look inside the art_post() function, which I’m not sure where it is. Could be in functions.php.

    Thread Starter aedemirci

    (@aedemirci)

    Thank you. I will try to find it and give it a try..

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Article title missing..’ is closed to new replies.