onocrotalus
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Need help with conditional tagsHave you looked at the documentation for conditional tags?
Forum: Fixing WordPress
In reply to: Optional Excerpt Has Stopped Working When Theme ChangedYour site tries to load some fairly intrusive ads.
Forum: Fixing WordPress
In reply to: To link to a Page, find the ID of the target PageAdding a minus sign before the cat id in the
query_posts
expression means “NOT cat n”Forum: Fixing WordPress
In reply to: To link to a Page, find the ID of the target PageWell, now that you know how to control which categories show up on a page, try the same method on
index.php
.Forum: Fixing WordPress
In reply to: To link to a Page, find the ID of the target PageDo you mean it’s stillposting on the homepage as well? That’s a seperate issue; you need to alter index.php, create a static front page, etc., to change that.
Forum: Fixing WordPress
In reply to: To link to a Page, find the ID of the target PageAltering the parameters of
query_posts
(i.e. the bit in brackets immediately following) changes how it behaves. In your case, I think it should read<?php query_posts('cat=n'); ?>
where
n
is the id of the category you want displayed.Forum: Plugins
In reply to: api key nowhere to be foundYou need to sign up at wordpress.COM to get the key. See these instructions.
Forum: Plugins
In reply to: Calendar does not showDepending on which plugin you are using, you might have to add some code to your
sidebar.php
(for example) to get the calendar to display. Consult documentation on the website you got the plugin from.Forum: Requests and Feedback
In reply to: Bug in update_option()I don’t know enough to comment on your problem, but I think bugs should be searched for on https://trac.www.ads-software.com and reported there if new.
Forum: Fixing WordPress
In reply to: To link to a Page, find the ID of the target PageSo you want your ‘Property’ page to show all posts in a certain category? If so, you’ll need to create a modified page template (you might call it
property.php
), with a loop to fetch only all posts in the category. Then selectproperty
as the page template to be associated with your ‘Property’ page, using the dropdown list at the right of the edit page screen.See section 7.3 in the ‘Pages’ document I linked to in my previous post for how to create a page template of your own.
I’ve never used it, but perhaps the
query_posts
function would be useful, e.g. make the new page template the same as the default, but add a call to include only posts in a certain category, before the Loop starts. See here for how you might do this; there could be better ways.Forum: Your WordPress
In reply to: macbasement.com: unified site running WordPress and punBBI think the text looks a bit of a mess. On the front page you have serif, sans, bold, italic, caps, lowercase, white, grey… I’d simplify the presentation a bit.
Forum: Fixing WordPress
In reply to: To link to a Page, find the ID of the target PageWhere do you want this link to be (e.g. the sidebar, the footer)? I should get your site up and running first, because the easiest way to edit the theme files is to sign into your blog’s dashboard.
The ‘Post Title’ link you are posting has a format which you would use to call a post, not a page. If you’re not sure of the difference, look here.
Forum: Fixing WordPress
In reply to: To link to a Page, find the ID of the target PageTo find the id of a page, log in to your blog’s admin area, click on the ‘manage’ tab at the top, then the ‘pages’ tab. This brings up a list of the pages you have created, with a column showing the id of each one. Note down these ids. The url of a given page should then be https://www.yoursite.com/?page_id=n where n is the id of the page you want to link to.
If you want links to more than one of your pages, in the form of a list, you could use the wp_list_pages template tag.
This documentation about the
get_posts
template tag might help you achieve this.Forum: Themes and Templates
In reply to: CSS color codes in Classic ThemeThe shorthand is just that each number in the 3-digit code occurs twice in the 6-digit code, e.g. #123 is shorthand for #112233.