• Hello,
    I am a relative newbie to WordPress and blogging. My knowledge of HTML and CSS is quite rudimentary.
    Hence, the following questions:

    a. I would like the heading of each blog post to be a “link” to the post’s permalink. Right now, I have manually insert the
    <a href> tag to get this to work. I find that somewhat tedious. Any ideas on what updates need to be made to my stylesheet
    to get the heading to work the way I would like it to.

    b. Is there any way to include a timestamp on each post under the heading? I am not sure as to how to do this.

    c. Right now, I am unable to control the size or font of the text in my blog post. I am guessing this is a simple update to the CSS file.
    Which section would this be?

    Responses to my posts will be much appreciated. Thank you in advance.

    Regards,

    Pranav

Viewing 2 replies - 1 through 2 (of 2 total)
  • a. You’d need to edit the relevant template files in your theme and use something like:

    <h2 class="post-title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to');?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    to generate a heading link dynamically.

    b. Try using <?php the_time(); ?>

    c. Impossible to say without seeing your site.

    Thread Starter pranavc

    (@pranavc)

    Thank you so much esmi!!! I will try this out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘More questions from a newbie – text size, heading etc.’ is closed to new replies.