csleh
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Fonti agree with Saurus, it’s a funny style sheet.
The reason it looks small is probably this:
body {background: #fce5d6 url(images/background.jpg) repeat-x;font-size: 11px;font-family: 'Trebuchet MS', sans-serif, Geneva, Arial, Helvetica;color: #F5FFFA;text-align: center;margin: 0px;padding: 0px;}It’s setting base font size to 11px. Try taking out the font-size:11px; and see how it looks. Test in different browsers. I like to set font size in the browser in percentages; you could try something like font-size:80%; and adjust as you like.
Another weird thing is in the php:
<?php the_content('<p class="Trebuchet MS">Read the rest of this entry »</p>'); ?>there is no class Trebuchet or class MS which is what that is saying. You can safely delete the class and leave just
<p>. Even if there was a class it would be redundant, since Trebuchet is specified multiple times in the style sheet.Forum: Themes and Templates
In reply to: Fontit won’t display properly until you get rid of the code word put in the post. Inline styles trump stylesheet every time.
To do this, go the post, select html view, and get rid of everything that isn’t your text. There’ll be lots of “MSO” blah blah crap in there.
To paste from word, try clicking on “show kitchen sink” (right below upload media). A new bar appears, including a clipboard with a w. click on that, paste the text from word into the pop-up box, then choose Ok. The post should appear correctly.
As soon as I hit “publish”, all posts show the exact same content on the site. But the titles are correct when listed on category pages.
Just upgraded to 2.7 then this issue happened.
When in admin I can look at the post content and see it is still correct and each post is different. Just doesn’t show up when looking at the site.
Forum: Themes and Templates
In reply to: putting word press in to my existing web site?dlgentle,
it sounds like you are where I was a year ago. Let wordpress handle the whole thing! never worry about title tags, meta tags, etc. The only thing that’s generally editable is the content (as a designer, you’ll know how to change the template files but clients won’t). Set up a custom theme (overall look) with custom templates (the php bits like header, single post, etc). Paste the html into the proper php template file, then customize from there. Make sure to work off a duplicate, so if things get messed up the original theme can be turned back on/copied from.One thing I did learn was to bookmark pages that are helpful, as you’ll refer to them over and over again while figuring out how to modify the default theme to your own theme, and how to set up templates. Try a google search for learning wordpress tutorials — the info here is good only if you know where it’s starting from.
Also try MAMP, which runs an install of wordpress right on a mac. this way I can fool around setting up a theme without risking a live site.Forum: Themes and Templates
In reply to: FontLook for something that is p {font-family….} in the style sheet.
Also, have you looked at the code view of the post? Copying text from word into the post content area pulls in a mess of word code yuck.
Forum: Themes and Templates
In reply to: putting word press in to my existing web site?Sorry if this is elementary level…
Why not just edit the default template and let wordpress automate the whole thing?
There is already a header and footer and one sidebar, you can simply replace the header html part with your own, same with the footer and sidebar. Add another sidebar to complete the wrap.
Then, copy the html for the main area, calling in the appropriate wrapping files. Copy this bit into the various template files (page, single post, archive, index, etc).Forum: Fixing WordPress
In reply to: hire shopping cart expertisesorry. if there are any questions need answering before deciding if this is something you’re interested in, just send them along.
Forum: Fixing WordPress
In reply to: Displaying Blog Post on a Static Page?The title, if it’s a link, should look like this:
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>otherwise like this:
<h2><?php the_title(); ?></h2>You should be editing the template used for the Page.
I don’t write php, but try this:
<?php $my_query = new WP_Query('cat=5&showposts=3'); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <div class="post"><h2><?php the_title(); ?></h2></div> <div class="entry"> <?php the_content(); ?> <p class="postmetadata"> <?php _e('Filed under:'); ?> <?php the_category(', ') ?> <?php _e('by'); ?> <?php the_author(); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', ' | ', ''); ?> </p> </div> <?php endwhile; ?>which looks a bit different than the beginning of the bit pasted in the original post. You’ve also got an extra end </p> tag at the end.
Design in Illustrator, then print out with notes on widths, colors. Layout in dreamweaver. Then I use MAMP on my mac to make the theme offline. Once it’s ready, upload and tweak for category names, etc.
Forum: Themes and Templates
In reply to: Add 1 line space before Read the rest <!–more–>Can you give the “more” or “read more” a class? or set to an unused tag, like h6? then in the css add padding or margin as needed.
best to use something you have control over.
Forum: Themes and Templates
In reply to: Accidentally changed Blog Theme, MUST revert to Original. HELP!LoFive,
all the available themes are in the theme directory. If you were browsing around in there and selected a different theme, the site would change.
If you haven’t done anything with ftp, the old theme is still there. The image might not match. Try selecting different themes and view the site until you find the one you need.Forum: Fixing WordPress
In reply to: elementary-level rss question, or…?Yes, I saw this:
You can also provide feeds to only specific categories on your site by adding the following to the end of the link: http://example.com/wp-rss2.php?cat=42 or http://example.com/category/categoryname/feedBut I don’t want a link. I’m trying to make a “private” rss feed to automatically push data to another site. I realize this isn’t a typical application of rss feeds and obviously know nothing about this.
So, could I:
– have the category for colleague
– make sure that category doesn’t display on my site
– [magic to make the category an rss feed]
– have a category on the colleagues site that pulls in the rss feed and styles to match that site.
– [include image url from my site so the colleague site can have a bigger image than a thumbnail]The big question is #3, the magic bit. Do I need to take the rss code of the header for all pages? But put it in a header only for the colleague category? But if the category doesn’t display, how would that header ever be called?
The pulling in part of the feed to the colleague site should be easy to figure out but I can’t wrap my head around how to push feed out of my site.
Forum: Fixing WordPress
In reply to: use “php bloginfo” to get link to categorysheesh. got it:
<div id="mainnav"><ul id="homenav"> <li class="cat-item-3"><a href="/category/cat-name1/"> <div class="class1"></div>category 1</a></li> <li class="cat-item-4"><a href="/category/cat-name2/"> <div class="class2"></div>category 2</a></li> <li class="cat-item-5"><a href="/category/cat-name3/"> <div class="class3"></div>category 3</a></li></ul> </div>It would be nice there was a way to add a span or div automatically with wp_list_categories because then if a category changes I wouldn’t have to edit the header file.
Forum: Fixing WordPress
In reply to: use “php bloginfo” to get link to categoryoops, still not thinking clearly. While the above works, it isn’t what I wanted. My code used a <div> after each opening
<li>, with the image set as a background. Using the code above puts the image behind the li. This doesn’t work because I’d have to add the background color to the image an adjust how the text lines up. Just messy.Any idea how I can add a div to each line item?
Forum: Fixing WordPress
In reply to: use “php bloginfo” to get link to categoryNever mind, I was being a bit of an idiot. since each
- gets its own class, I just need to add a different id to the home
- and style the links.
So:
<?php if (is_page(13)) {echo '<div id="mainnav"><ul id="homenav">'; wp_list_categories(''); echo '</ul></div>'; } else { echo '<div id="mainnav"><ul>'; wp_list_categories(''); echo '</ul></div>'; } ?>