prb81
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problem updating for WidgetsPerfect. This has worked. I thank you.
One question on the side. Using the widgets for my sidebar has made the gap between the end of one widget and the title for the next quite crammed. Where would I adjust code or whatever in order to spread them out a little?
Thanks.
Forum: Fixing WordPress
In reply to: Problem updating for WidgetsI should point out that I went with the assumption my sidebar wasn’t a list and put the following code at the top of my functions page:
<?php register_sidebar(array( 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h2>', 'after_title' => '</h2>', )); ?>It again shows the widgets, but when I go to add a new post or something to my site I get the following message:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/9255448/html/ALWAYSNEXTYEAR/wp-content/themes/any_white_v1.0/functions.php:10) in /home/content/48/9255448/html/ALWAYSNEXTYEAR/wp-includes/pluggable.php on line 881
Forum: Fixing WordPress
In reply to: First post different to secondYes there is more, just didn’t want to past the whole thing, but here it is:
Forum: Fixing WordPress
In reply to: First post different to secondJust to clarify. I currently have the follow to instruct my index page to display posts:
<?php the_excerpt(); ?> <a>"> Read more»</a>Where would I put the code you mention in order for the first post to appear as a non-excerpt and the rest as the excerpt as instructed above?
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code has been permanently damaged/corrupted by the forum’s parser.]
Forum: Fixing WordPress
In reply to: Exclude a categories post from home pageThanks.
Forum: Fixing WordPress
In reply to: How to display only certain linksUsing version 2.8.6
I’ll look at this now.
Forum: Fixing WordPress
In reply to: How to display only certain linksI’m looking at the list bookmarks one but I don’t get it.
If I insert: <?php wp_list_bookmarks( $args ); ?> – into my sidebar what do I have to change in order to display just one particular link category type?
Forum: Fixing WordPress
In reply to: How to display only certain linksAnyone got any advice on this one?
Forum: Fixing WordPress
In reply to: Centering the links menu barSorry. http://www.prbsports.com – it’s the menu bar at the very top of the page, above the header that I wish to have centered.
Forum: Fixing WordPress
In reply to: Linking a subdomain to a page on my wordpress blogThanks, I’ll give that a go this evening and report back!
Forum: Fixing WordPress
In reply to: Linking a subdomain to a page on my wordpress blogI think that is generally what I am looking to do.
So yes. I have a page say: mysite.com/category/sport but have created a subdomain sport.mysite.com which when people type into their browser will take them to the mysite.com/category/sport page. (The actualy URL is longer and thats why I created a simpler subdomain).
1&1 told me to create and upload an index.php file to my site and then my subdomain should recognise mysite.com/category/sport when I try to forward it there. As of now it doesn’t recognise it and I get the error message because there is no index file with the wordpress files (or if there is I don’t know were it is).
I’m worried if I create a blank index.php file and upload it to mysite.com when I actually visit my site I will get that blank page rather than my WordPress hosted blog page.
Forum: Fixing WordPress
In reply to: Linking a subdomain to a page on my wordpress blogJust wondering if anyone maybe has a solution to this? I e-mailed 1&1 who informed me that to forward a subdomain to a particular category page on my WordPress hosted site I needed an index.php file on my server to point my main site to as a starting point. Would I be right in thinking that if I did this it would then become my home page and not my current homepage through my WordPress theme?
If so, is it then impossible to do what I am hoping to do and have category.mysite.com forward to the page mysite.com/cat/category?
Or has anyone got a solution?
Thanks
Forum: Fixing WordPress
In reply to: Linking a subdomain to a page on my wordpress blogThat does not work. According to the FAQ’s
Can this be used to repoint categories to an arbitrary URL?
Not at this time. I’m considering it as a future feature.Anyone know how I can go about having my subdomain url link to a category link on my site without coming across the problems I explained above?
Thanks
Forum: Fixing WordPress
In reply to: Displaying a specific category on a pageSorry, please ignore the previous post… I have managed to figure it out.
Thanks again
Forum: Fixing WordPress
In reply to: Displaying a specific category on a pageThanks. I looked into that but still have a problem:
I tried the part that said:
A slightly more complex possibility is that you want different text to display depending on which category page the visitor is viewing. Then you would add the “default” text to the main category.php file, and create special category-#.php files (with their own version of the text, as described in the Introduction) for each category that needs special text at the top.
This does however create a lot of files in your theme directory, and can be avoided using the following code OUTSIDE the loop:
I tried that last part but my theme is a modified version of the basic one and does not have a category.php file, instead my categories layout is done at the top of the archives.php file. I tried to insert the code given pointing for a particular category to display a certain type of text and the rest to display the standard text but when I check my site and click on a category I get an error message at the top of the page and nothing else.
Is it not possible to put this code into the archives file and do I need to create a specific category.php file?
Hopefully I’ve explained this well enough.
Thanks again…