converting2wp
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Embedding Pages or ????If I understand what you’re asking, the steps I’d use are
1. In the themes directory, copy page.php (or another appropriate template file) to, say, tpl-listings.php. Edit it and put the following code at the very top:
<?php /* Template Name: Listings */ ?>2. Edit tpl-listings.php and find the guts of the page (probably “the Loop”) and replace that with
<IFRAME SRC="http://Link to the Listing Site" TITLE="your title" frameborder=0> <!-- Alternate content for non-supporting browsers --> <a href="http://Link to the Listing Site">Text for the no-frames Link</a> </IFRAME>'3. Create a page in WordPress and associate it with the page template Listings. [See the “Page Template” drop down over on the right of the “Write Page” screen. “Listings” should be one of your choices there.] Publish the page and the external web page should show up in the WordPress context.
4. There are other attributes of the IFRAME tag (see, for instance, this site) that should allow you to fine tune the placement of the external page.
You may be thinking of something more sophisticated, but I’ve found this helpful when a simple solution was all that was needed.
Forum: Fixing WordPress
In reply to: RSS, how to import more at one timeWould feedjumbler get you what you want? i.e. combine the feeds before they get to WordPress?
All I found through ww.wp.xz.cn/extend/plugins was the Text Replace plugin, that seems to do the replace “on the fly” at runtime, not in the database.
Searching further: Search and Replace plugin. Is that the one you meant? Looks like it’ll do the job.
Thanks!
Forum: Fixing WordPress
In reply to: Missing stylesheet after moving WordPress to new directorySee also: an article in the Codex about “I make changes and nothing happens”
Forum: Fixing WordPress
In reply to: Missing stylesheet after moving WordPress to new directoryWhen in doubt, clear the browser’s cache…
When in doubt, clear the browser’s cache …
When in doubt, …
Forum: Installing WordPress
In reply to: How do I add an archive to my site?Sorry, but I don’t understand the question.
You’ve got an “Arkiv” section (showing March, April and May) near the bottom of the sidebar. Clicking those brings up posts.
So you’ve fixed it since you posted?
Forum: Fixing WordPress
In reply to: How to batch upload users?The solution I ended up with is documented at
http://wordpress.pastebin.ca/483383
I’ll repost when I convert this to php instead of using the shell and phpMyAdmin.
But thought that might be helpful for other PHP novices to review — and for you PHP/MySQL experts to comment on.
My performance fears seemed unfounded –everything (adding users, logging in with 500+ users, finding a particular user to edit) seems pretty snappy. The only piece that was really slow was the piece using the shell – and running that on the server instead of my Windows box made that pretty quick, too.
Forum: Fixing WordPress
In reply to: RSS Feeds not working in IE7Here’s a different interpretation of “rss feed not working” and a solution, however obvious, that may help some who stumble on this thread.
IE 7 has an option to turn on feed reading. I swear I don’t remember turning it off, but when it’s off the feed just appears as a “raw” XML file. So, to turn it back on…
1) Click on the Tools menu,
2) Click on the Internet Options sub-menu,
3) Click on the Content tab,
4) Click on the Settings button of Feed section to bring up Feed Settings dialog box,
5) Tick the check-box of Turn On Feed Reading View option.
6) Click OK all the way to close all opened dialog boxes.Thanks to this post for the steps.
Forum: Fixing WordPress
In reply to: Weird Previous and Next LinksWhat’s the code that’s generating the next/previous links? Is it using the previous_post, next_post Template Tags, or the newer posts_nav_link tag?
You can probably find that in the single.php in your theme directory. Without seeing more specifics, it’s really hard to guess what’s going on.
Forum: Fixing WordPress
In reply to: Template problem in 2.1.3I should have clarified this.
When I did the upgrade using my hosting services 1-click upgrade, I had the problem with the archive template.
When I did the upgrade “by hand,” deactivating all the plugins before applying the upgrade. All went well.
Thanks.
Forum: Fixing WordPress
In reply to: Anchor TagsYes, using “anchor” for “named anchor/bookmark” is not unusual.
Note that in the default WordPress installation, the HotKey labeled “anchor” (ALT + SHIFT + A on Windows) does insert a “link” (i.e
<a href=...).Forum: Fixing WordPress
In reply to: How to filter or prevent insertion of garbage charactersThanks to you both!
I’d been using TinyMCE within WordPress since early last year, but never checked out enough of the documentation to find the Alt + Shift + V magic.
The plugin works great and may be just what I need.
Forum: Fixing WordPress
In reply to: Anchor Tags“Anchor tags” are simply the glue that makes the web work. Any link that appears on a page is, in its HTML,
<a href="the address">the text</a>I’ll let others comment on where the “anchor” term came from (or see reference below). I think most of us simply call them “links”.
In my experience, the word “anchor” is used most often in the context of “named anchor.” Perhaps that’s what you’re asking?
“Named anchors” (aka bookmarks) can be used when you want to link directly to several places on a long page.
If the HTML on a page looks like
</h1><a name=somename></a>Major Heading</h1>Then elsewhere on the page you can have a link (anchor) like
<a href="#somename">some link text</a>
and clicking the link will move the page so that “Major Heading” is at the top (as long as there’s a screenful of info below it on the page).You can also link directly to that Major Heading section from *another* page with
<a href="the-page-address#somename">some link text</a>Forum: Fixing WordPress
In reply to: Static page with recent post integration?My preference has been to put the PHP on the template pages, just because putting directly in the page content seems less secure and apt to be harder to find and modify if something goes wrong. I also edit the theme pages locally and upload them with FTP, which makes it possible to use an editor that does syntax color coding and such. One trick that’s made life a bit easier in sites with several custom templates is to use a convention like “tpl_sitemap.php, tpl_events.php, etc.” so that the templates are grouped together in the list of files in the theme.
If you’ve managed to get the title printed, I’d expect that the list of other options at Template Tags would get you to the next level. If not, if you post a specific code snippet, it might be easier to suggest what to put where.
Hope that helps.
Forum: Fixing WordPress
In reply to: Template problem in 2.1.3Never mind. I can’t reproduce this.