converting2wp
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Get Rid of hover in menuUsing firebug, I see that about line 339 of style.css there’s
#access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a, #access ul li.current-menu-item > a, #access ul li.current-menu-parent > a {
color: #FFFFFF;
}Change the #FFFFFF to #AAAAAA (preferably in a child theme) and the name of the current page will appear in light-grey (instead of white) against the white background of the nav bar.
Alternatively, change the background of the class menu-header to something other than white.
Forum: Fixing WordPress
In reply to: Stange Characters After MoveThis may or may not work for you — but when I had the problem a few months ago, and the support folks at Dreamhost told me
===========
This is a fairly common display issue. If you’re seeing it in WordPress, a way that tends to work fairly well is to adddefine(‘DB_CHARSET’, ‘utf8’);
to wp-config.php if it’s not already in there. It may be already
commented out (have “//” before it). That usually takes care of the odd
display.
============
and it helpedForum: Everything else WordPress
In reply to: Stupid php questionDoh. Thanks, GRAQ.
Forum: Everything else WordPress
In reply to: Stupid php questionSo the question is that “bloginfo” is at the end of the PHP code but at the beginning of the output?
Bizarre.
Forum: Fixing WordPress
In reply to: Linking to PagesAnd if the question of slugs and “pretty” permalinks doesn’t work, all I can think of is that you recode the add_page to return the IDs of the new pages and store those somewhere that they can be accessed. [But you’ll still need to get the PHP onto the page.]
Forum: Fixing WordPress
In reply to: Linking to PagesOnce they are created, do you see them in the Pages panel in the dashboard? If you try to edit them there, does anything show up in the permalink line? And those permalinks work?
I’m guessing the problem is that you want to generate the list of links on the home page from the same array that you used to build the series of “add_page” lines in your functions.php. [I sometimes use a localize.php file for data like that when I’m building a set of similar sites.]
To put that onto your home page, you can use a plugin that allows PHP on WordPress Pages, or use a custom template for the home page.
Do either of those sound like ideas that might help — or am I missing the point entirely?
Forum: Fixing WordPress
In reply to: Seperate posts to another page?Yes, absolutely.
Your news posts would be in a separate category.
On the main page, you’d modify the template to show just the posts in the “recipes” category.
You can get to the news with the link to its archive page, typically
http://yourhostname/category/news
In the Appearance > Menus you can add a menu item for any particular category as long as the theme you’ve selected supports custom menus.
Understanding the template hierarchy may help in making different types of posts show up on different “pages”.
Forum: Everything else WordPress
In reply to: Stupid php questionOr are you asking why the “myblog” is coming out before the copyright notice instead of after as in the
$content .= '<p>Copyright © '.date('Y').' '.bloginfo('name').'</p>';in your original post?
Hope you’ve figured this out …
Forum: Fixing WordPress
In reply to: Linking to PagesCan you give a reference to what you mean by “adding the pages in functions.php”?
It sounds as if the maths, etc., pages are not created using the backend “new page” and so whatever permalink structure you’re using there doesn’t apply?
Forum: Fixing WordPress
In reply to: Using an external database of info or data entry question.While looking up something else, I noticed this plugin:
http://ww.wp.xz.cn/extend/plugins/csv-importer/Sounds as if it would do what you’re describing if you do want a series of posts and you’ve already got the data in a structured file.
On the other hand, an auxiliary data table with custom code to query it may be a better solution.
Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this page.This is apparently resolved. It was a two step process:
1. Do the upgrade from 2.1.3 to 3.1 in the old environment and then migrate that database to the new environment.
That got everything looking okay except that going to the Appearance > Widgets gave the “You do not have sufficient permissions” page and the Access logs showed a 500 server error.
2. Uninstall Automattic’s “sidebar widgets” plugin. [Even though it had been inactive through the upgrade it was still somehow affecting the access to the new widget dashboard panel.]
Hope this helps someone else.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Getting "page not found"Okay, changing the option for
Use Pretty URLs
from on to off seems to have fixed this.
However, it would be helpful to have more specific information about when this is a problem — other than “Pretty URLs (ie, http://site/category/events/upcoming) may interfere with custom themes or plugins.”
Forum: Fixing WordPress
In reply to: Twentyten: time in posts and numerate commentsI don’t see any admin interface for this.
The way I’d do it is
1. First, set up a child theme for your modified version of TwentyTen.
2. Copy the twentyten_posted_on() function from the twentyten/functions.php to a new functions.php in your child theme.
3. In that function, the date/time posted information is generated here
sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', get_permalink(), esc_attr( get_the_time() ), get_the_date() ),where the time is output as a title attribute on the link (i.e. if you hover over the date, you’ll see the time).
If you want the time displayed directly, change that first line to, say,
sprintf( '<a href="%1$s" rel="bookmark"><span class="entry-date">%3$s at %2$s</span></a>',Hope that helps and you see how to modify things to get exactly what you want. [See also the examples in the PHP docs.]
Forum: Fixing WordPress
In reply to: How to make a Category into a PageLike a lot of systems, WordPress has many ways to accomplish things — but recent versions really have tried to make it relatively easy to answer the most common questions without delving into the code.
All the best with your WordPress site!
Forum: Fixing WordPress
In reply to: How to make a Category into a PageI think you mean you intend to write a series of posts about, say, books and put each of them in the category “books”. Then you’d access the list of those posts with the address
http://your-wordpress-address/category/books
What that page looks like depends on your theme, but no plugin is involved.
If your theme supports the WP 3.0 menu system, you can also make that page of posts an item in your menu. Open the Dashboard and look down the left column for “Appearance” and under that look for “Menus”. Clicking that will bring up a screen where you can select a particular category and add it to the main menu for your site. If your theme isn’t using the menuing system, it may have other information about how to change the menu — Since you purchased the theme, see if their support may help you get started.