• Resolved sirux

    (@sirux)


    Hi

    I am a relatively new user of WP (https://www.eworldmauritius.com/fantasyland/) and i need help about the foll:-
    Is there a plug-in or a way
    1) to show the person’s name after the title of a blog post?
    2) to limit the number of lines which show on the blog for each post? ..followed by some link to click to read the full post?
    3) to add my index/home url to the header?

    Moreover, i would like to implement some other pages on my website which would require login by my visitors and i would like to use the WP login itself for access. How can i pass the WP login/password as parameters for accessing those other pages?

    Thank you all in advance for your help which is much appreciated ??

    Sirux

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1) to show the person’s name after the title of a blog post?

    <?php the_author(); ?>

    to limit the number of lines which show on the blog for each post?

    Don’t know about limiting the number of lines, but you can replace “the_content()” with “the_excerpt()”, or use the <!–more–> tag wherever you want it to cut off in the post.

    ..followed by some link to click to read the full post?

    either of the above will automatically do that for you.

    to add my index/home url to the header?

    edit your header.php file to do that.

    How can i pass the WP login/password as parameters for accessing those other pages?

    have people subscribe, and leave the “Meta” in your sidebar for the login link.

    Most of this stuff can be seen just by looking at the default template files – all that code is right in there.

    Thread Starter sirux

    (@sirux)

    Hi ??

    ty so much for your help …i’m sorry to sound dumb but where do i insert the <?php the_author(); ?> . I tried inserting it in the blog post but i guess that doesnt work … i would like the name to ideally be shown on the line following the post title after the date … e.g. July 26th, 2007 by Sirux

    And is there a way for me to limit the number of blog topics which show up per page? with a link to view previous entries at the bottom? or is that automatic? if it is automatic, upto how many blog topics are normally shown per page?

    Thanks once again
    Sirux

    I tried inserting it in the blog post but i guess that doesn’t work

    No, you put it in your index.php file, where the rest of the stuff is. If you want it to appear after the date, then just stick it in there. (If you look at the “default” theme’s index.php file, you’ll see it in use there, it’s just commented out.)

    Your index page will have an automatically set limit – you can change that number in your options, under “Reading” I believe.

    Thread Starter sirux

    (@sirux)

    thanks you both …that helped a lot ..and much appreciated ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need help about plugins and others…’ is closed to new replies.