|
|
|
||||
|
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 |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
WORDPRESS: how do i have a different design on a page?
when i go:
Manage > Pages then select my page i get a code page with "title" and Page "visual/html" but then when i add in code into this page it puts <p> around my new code for some odd reason, any idea how i have a different looking design for a page? i just need the same template but i need to add in a different part to the header. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jul 2006
Posts: 43
|
check my new Bustybabe theme, you can add custom headers, but not different one's on different pages , its located at mywpthemes.net
__________________
Twitter Cam Girl Updates | Free adult webcam | Live Sex Webcam Free | Adult Wordpress Themes | asian cam models |
|
|
|
|
|
#3 |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
shut your mouth you lil spamming tramp, i dont want or need your wpthemes i can outdesign your crap without even breaking a sweat.
|
|
|
|
|
|
#4 |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
bump 2 da tooop
|
|
|
|
|
|
#5 |
|
best designer on GFY
Join Date: Mar 2003
Location: IALIEN.COM - High Definition Video and Photographic Productions -ICQ 78943384
Posts: 30,307
|
![]()
__________________
![]() ![]() NAKED HOSTING FTW!11 I'm On The INSANE PLAN $9.95/mo! | The Alien Blog Adult News Worth Reading Updated Daily | Content For Sale! 641 PICS 216 MINUTES OF VIDEO $350.00 |ICQ: 78943384 | |
|
|
|
|
|
#6 |
|
Confirmed User
Industry Role:
Join Date: May 2007
Posts: 7,348
|
A different design on a single page, while the rest has a 'main' design?
__________________
|
|
|
|
|
|
#7 |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
|
|
|
|
|
|
#8 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,382
|
edit page.php in your theme directory, inside page.php you will find
<?php get_header(); ?> <?php get_sidebar(); ?> instead of that you can just use an include for a different header, do the same with footer. page.php is the file used for pages
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
|
|
|
|
#9 | |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
Quote:
thank you so much. much appreciated. it is amazing how the smallest problem can have the simplest solution. |
|
|
|
|
|
|
#11 |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
|
|
|
|
|
|
#12 |
|
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,387
|
That means you have an appropriate section in the main template.
__________________
Obey the Cowgod |
|
|
|
|
|
#13 |
|
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,387
|
If there is no page template and no appropriate section the main template, you can always do a simple check to determine is it a page or anything else. E.g.:
<?php if (is_page()) { include (TEMPLATEPATH . '/header2.php'); } else { include (TEMPLATEPATH . '/header1.php'); } ?> ?> Or something like that.
__________________
Obey the Cowgod |
|
|
|
|
|
#14 | |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
Quote:
|
|
|
|
|