Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter amarie

    (@amarie)

    Okay, well, do you *have* to use a plug-in? Is there some file in the theme or code that I can edit so that either a) I can allow authors to use unfiltered HTML or b) edit the list of what’s considered to be filtered HTML?

    Just hate to keep throwing plug-ins at the install…

    AM

    Thread Starter amarie

    (@amarie)

    Thanks moshu. I will take a close look at that plug-in.

    Your reply is going to send me back to my WordPress Visual Quick Start Guide though. 😉 I thought that using the HTML Editor (they enable their “Use the Visual Rich Editor” option) is not the same as unfiltered HTML.

    Scratching my head … I don’t understand how it’s a *feature* that an Author can choose an available option (the dropdown menu in the Enter Link URL pop-up) and then WP strips it out with no notice/warning.

    Our authors got a little frustrated when we reminded them “hey you’re supposed to send links to a new page” and they said “we did, we did!”. We need to become better admins obviously … is there a list anywhere of this and other Rich Editor features that will get stripped out of author’s posts after Saving? So we can warn them beforehand.

    AM

    I’ve found that sometimes WP will convert </p><p> to <br /> when editing existing copy in the Write Post area. It looks like a regular paragraph break until you Save and Continue Editing (or Publish) and then you see it’s just a break, even though you never entered a Shift + Enter.

    The surest way to fix it is to click the HTML button and fix it by hand in the pop-up window.

    I’ve come to accept it as an irritating bug. We’re on 2.02 at the moment, perhaps upgrading to 2.04 will fix it? Dunno.

    Thread Starter amarie

    (@amarie)

    Thanks moshu and Handy, I’ll give that a shot!

    AM

    Thread Starter amarie

    (@amarie)

    Okay, well I feel a little better now, thanks HandySolo. I was getting that sinking feeling there for a while.

    Right now the index.php file contains an “if” statement within the div for the right-hand column so that a chunk of HTML (our “about this site” text/images) only appears on the home page right sidebar and not in the right sidebar of any other page of the site.

    <?php if ( is_home() ) : ?>

    <div id="about">
    [code for our about information]
    </div>

    <?php endif; ?>

    ... and then it goes on to the HTML for the rest of the right sidebar that is common for all pages.

    If I wanted to swap in a diff. chunk of HTML for the "about" area, depending on what category page the user was on, how would I do that?

    I have a php-savvy friend who could help me ... I'm thinking we would just add "elseif"s to this area... pseudo code:

    if the page = home, put the about section here
    elseif the page = podcast category, put the subscribe to podcast stuff here
    elseif the page = this category or this category or this category, put X here
    elseif the page = this Page, put Y here

    ... and then go on to the common html for the remainder of the right sidebar.

    Would that work? Or would it better/faster/easier to maintain if we used includes (rather than the actual HTML)?

    Question 2: So if a plugin we want to use says "edit functions.php like this," could I just put a duplicate of the functions.php file into our theme folder (copied from the default theme folder)? Ditto for other missing files that index.php doesn't take care of?

    AM

    Thread Starter amarie

    (@amarie)

    Well for this one instance I found that Adhesive solved the problem for me. We wanted to keep a post called “Welcome to the podcast” (with subscribe chiclets)at the top of our podcast categories page but didn’t want it to appear in the home page. With Adhesive you can make a post “Sticky” (always appears at the top of a category page) and optionally, in the plugin config area, disable it appearing on index.php.

    There are other category pages in the site for which we may want to create a similar “header” but not have it appear as a new post on the home page, thus my original query.

    Thanks for the offer of help though.

    AM

    Thread Starter amarie

    (@amarie)

    Thanks for the URL Handy! Man, the “Solvent” plugin would’ve been great … too bad the developer dropped the project and it doesn’t work with 2.x.

    I looked at the author’s alternative and I can’t figure out where the plugin he mentions is at. Plus apparently it requires you post to a diff. category than the one you want, which wouldn’t help me.

    Still looking … I’m chagrined this isn’t built-in to WP. But everything else about WP so far is great.

    AM

    btw I might be confused re quicktags vs rich tag editor. I’m a newbie with a whole week of experience so far.

    By “quicktags” I’m referring to the little icons that appear above the text entry box in the Write > Post page in admin. (is that the same as the rich text editor?)

    But even in Safari where the tags aren’t available, hitting return causes a regular paragraph break and hitting Shift-return causes a line break … at least in my install.

    AM

    I’m using WP 2.0.2 on a Linux server and use Mac OSX Tiger for admin and have no problem doing line breaks with QuickTags.

    Of course I can only *see* the QuickTags with Firefox, not Safari …

    Anyway to add a line break on a Mac you use Shift-Return. That’s a typical “soft return” (line break) keyboard shortcut found in most design programs as well. I don’t know why it’s not working for you.

    I just checked and when viewing the HTML that the quicktag made, it used <br />. (hope that code made it through … trying to enter the XHTML code for a break tag.)

    AM

Viewing 9 replies - 1 through 9 (of 9 total)