![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Dec 2005
Location: Istanbul - Turkiye
Posts: 3,179
|
Wp theme building question
hi.
i want my themes showing title links on home page, but not the content, i mean like we were doing for html sites before (Better to say tgps, cjs etc are still the same). Simply, a user need to click that link to be able to reach the content. so is it possible to do it this way? <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> Thanks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2003
Posts: 22,651
|
so you want just a list of titles?
-- loop begin -- <a href="<? the_permalink();?>" target="_self" title="<? the_title();?>"><? the_title();?></a> - <? the_time('F dS Y');?> -- loop end -- |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Dec 2005
Location: Istanbul - Turkiye
Posts: 3,179
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,673
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
in single.php which is the post page dont do the <a href
just do <?php the_title();?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Dec 2005
Location: Istanbul - Turkiye
Posts: 3,179
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |