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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-29-2011, 10:50 AM   #1
AtlantisCash
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.
AtlantisCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2011, 11:02 AM   #2
JD
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 --
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2011, 11:06 AM   #3
AtlantisCash
Confirmed User
 
Join Date: Dec 2005
Location: Istanbul - Turkiye
Posts: 3,179
Quote:
Originally Posted by JD View Post
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 --

So the titles will be clickable links to posts i guess?
AtlantisCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2011, 11:12 AM   #4
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,673
Follow THIS tutorial....

It may not work.. But I DO LIKE IT...
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2011, 12:45 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Quote:
Originally Posted by AtlantisCash View Post
So the titles will be clickable links to posts i guess?
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
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2011, 01:16 PM   #6
AtlantisCash
Confirmed User
 
Join Date: Dec 2005
Location: Istanbul - Turkiye
Posts: 3,179
Quote:
Originally Posted by fris View Post
in single.php which is the post page dont do the <a href

just do <?php the_title();?>

Yea but it won't make titles with links if if i do like You said, m i wrong???
AtlantisCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2011, 08:19 PM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Quote:
Originally Posted by AtlantisCash View Post
Yea but it won't make titles with links if if i do like You said, m i wrong???
no it wont make it links, it will just print out the title
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.