A few questions.
-
I’d like to know how to do these things.
My website has a phpbb forum and a Psychostats page running on it in different directories. I’d like to know how to add them as pages instead of links. Then I’d like to know how to get rid of a masked link on my static pages. Then I’d like to know how to make my header image link to the main site. Thanks guys.P.S. In the admin control panel how do I name my blog without having it show up over my logo? If I don’t add a name the visit button will cover up my write button.
-
To make your header image clickable, just add the php and html around the image. Example:
<a href="<?php echo get_settings('home'); ?>/"><img src="header.jpg" /></a>And to get your blog to stop displaying your title, just remove this bit from header.php :
<?php bloginfo('name'); ?>For the other items, I’m not sure you can include a phpbb within the pages of your site. I’m pretty sure the best you can do is change the look of your phpbb to look like the rest of your site.
Finally, what do you mean by “masked link”?
Hope this helps.
-Sherry
Well the header image is in stylesheet.css and it’s in the code line
#logo { background: url('images/r.jpg') no-repeat; height: 255px; width: 800px; margin-right: auto; margin-left: auto; margin-bottom: 20px; }The phpbb I want to show up in the same format as a page.
check out my site http://highsocietygaming.net see what I mean I want it up next to my about and stuff.Definitely get rid of the “masked link” in the comment area since Google very much frowns on black links on black backgrounds. It looks like the theme designer stuck it in there (naughty).
Remove the following from your theme files (comments.php or page.php would be good places to look for it):
<p><a href="http://www.mukkamu.com"><font color="#000">mukkamu</font> </a></p>Just remove the background info from the style sheet and add your header to that area on header.php
Making your phpBB look like your pages requires changing the design on your php bb – it’s not something that is done in WordPress. I don’t have any experience with styling a phpBB, but I’ve done it with bbPress a few times.
-Sherry
I’m not trying to do that to phpBB I’m trying to convert it’s link to a page. So it still goes to the same phpBB board that’s up the link is just at the top with the other pages.
Also where in the header would I put this?<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://gmpg.org/xfn/11"> <link rel="shortcut icon" href="http://highsocietygaming.net/favicon.png"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="distribution" content="global" /> <meta name="robots" content="follow, all" /> <meta name="language" content="it, en" /> <title>High Society Gaming Community</title> <meta name="description" content="Strumenti e risorse per le nuove forme di comunicazione" /> <meta name="keywords" content="blog, news, web 2.0, risorse, crasy worls, societ�, musica, costume, film, cinema, archeologia, internet, blogroll, rss, wordpress, themes, css, ricette, cazzate, varie, immagini, teatro, scoop, temi, mondo pazzo, solidariet�, radio, di tutto di pi�"/> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?> <?php wp_head(); ?> <style type="text/css" media="screen"> <!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); --> </style> </head> <body> <div id="pages"> <ul> <?php wp_list_pages('depth=1&title_li=' ); ?> </ul> </div> <div id="wrap"> <div id="logo"> <div id="name"><a href="<?php bloginfo('siteurl'); ?>"></a><div id="tagline"><?php bloginfo('description'); ?></div></div> </div>Where you have:
<div id="pages"> <ul> <?php wp_list_pages('depth=1&title_li=' ); ?> </ul> </div>add a line like this:
<div id="pages"> <ul> <?php wp_list_pages('depth=1&title_li=' ); ?> <li><a href="linktobb.html">link text</a></li> </ul> </div>What is that for csleh? In what file? I’m very new to WP still.
Oh wait I see now
I got it working the way I wanted but how would I organize that with the rest of the pages in alphabetical order? My pages have to be reverse alphabetical though About ends up on the right if I just leave zeros as page values on my normal WP pages.You could put the link between two wp_list_pages. Use include or exclude and sort_column=post_title parameters in wp_list_pages:
Ok I think I can figure that one out but how do I go about having my logo image link back to the home page? My header and style.css are both here in the thread. I just need to know where I’d add the code.
Here’s how to change a header:
http://codex.wordpress.org/Designing_Headers#Changing_the_Header_Image
It also tells what code to use to make your header text invisible.
Good Luck!
I tried the
<div id=”header”> change to see if it would work but no dice.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://gmpg.org/xfn/11"> <link rel="shortcut icon" href="http://highsocietygaming.net/favicon.png"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="distribution" content="global" /> <meta name="robots" content="follow, all" /> <meta name="language" content="it, en" /> <title>High Society Gaming Community</title> <meta name="description" content="Strumenti e risorse per le nuove forme di comunicazione" /> <meta name="keywords" content="blog, news, web 2.0, risorse, crasy worls, societ�, musica, costume, film, cinema, archeologia, internet, blogroll, rss, wordpress, themes, css, ricette, cazzate, varie, immagini, teatro, scoop, temi, mondo pazzo, solidariet�, radio, di tutto di pi�"/> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?> <?php wp_head(); ?> <style type="text/css" media="screen"> <!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); --> </style> </head> <body> <div id="pages"> <ul> <?php wp_list_pages('depth=1&title_li=' ); ?> <li><a href="http://highsocietygaming.net/forums">Forums</a></li> <li><a href="http://highsocietygaming.net/stats/upload/index.php">Psychostats</a></li> </ul> </div> <div id="wrap"> <div id="logo"> <div id="name"><a href="<?php bloginfo('http://highsocietygaming.net'); ?>"></a><div id="tagline"><?php bloginfo('description'); ?></div></div> </div>That’s my header.php
Then the image for the header is in the style.css#logo { background: url('images/r.jpg') no-repeat; height: 255px; width: 800px; margin-right: auto; margin-left: auto; margin-bottom: 20px; }How would I make the main logo a link back to the main page?
Nevermind I see what I do I edit the <div id=”logo”>
I understand HTML very well but I’m learning php still so the php confuses me when I see html as well. The only thing I still don’t get is how to organize my pages in alphabetical order including the two in my header.php If I use the default way it’s organized from z-a left to right instead of a-z left to right. Thanks for the help though guys.
The topic ‘A few questions.’ is closed to new replies.