Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Forum: Plugins
    In reply to: Title Not Working At All
    Thread Starter First Last

    (@kliphten)

    Okay, so I just figured out what is causing the issue, though I don’t know why it is. We’re creating custom post types and for some reason, this line in one of the custom post types causes the issue:

    ‘has_archive’ => true

    When I remove that post type, and leave the others (which also have that line), the title shows up correctly. What’s going on?

    Forum: Plugins
    In reply to: Title Not Working At All
    Thread Starter First Last

    (@kliphten)

    Ah, didn’t think of trying that. Just tried and it worked correctly so something seems to be up with our functions.php. What could make is_page() not work?

    Thread Starter First Last

    (@kliphten)

    Thread Starter First Last

    (@kliphten)

    Ah, so I found this:

    http://codex.wordpress.org/Roles_and_Capabilities#Editor

    If you look under “unfiltered_html” it says “(not with Multisite. See Unfiltered MU)” which my site is a network/multisite. Looks like you actually need to a plugin to allow editors to post unfiltered html.

    Question is, if it is possible for a super admin to post unfiltered html, how come there isn’t an easy way to put something in functions.php which allows other users to post unfiltered HTML?

    EDIT: Bingo! Installing the plugin worked. Why a plugin for this?

    Thread Starter First Last

    (@kliphten)

    Hm…don’t have that plugin.

    See the thing is it works for admin but not editors so I know that WordPress put in something to not allow editors or any user below admin insert iframes. I just can’t seem to find where they do this.

    Thread Starter First Last

    (@kliphten)

    Thanks for the reply!

    I’m on the newest version of WordPress and I have made sure that option is selected but still no luck embedding as an editor. As an admin, though, I can embed, no problem. So something tells me that WordPress built in something to not allow users, other than admins, to embed iframes?

    I’m trying to embed Google Maps and it worked fine as an admin. Then when I signed in as an editor and edited the posts, the iframe was removed (saved in “Visual” and “HTML” modes both deleted iframes).

    Thread Starter First Last

    (@kliphten)

    I see all these plugins to embed iframes but I know it is possible without since it can be done as a super admin. I’m assuming there is something that gives different levels of users different capabilities. I remember using a function awhile back to allow certain html tags within the editor.

    Does anybody know the function to allow users to use certain html tags?

    Thread Starter First Last

    (@kliphten)

    I’ve added it manually using the Custom Links in the Menus manager in WordPress but is there a way to programmatically do this?

    Thread Starter First Last

    (@kliphten)

    Ah, sorry, it’s not live yet. Should be soon and for now, I’ve added the div to all the elements so it works, I just wanted to find a better way. I will post the site very soon. Thanks!

    Thread Starter First Last

    (@kliphten)

    I’m calling wp_nav_menu() to generate the menu markup. I’m trying to add a div to the current item so that I can add some styling to it.

    I can’t do it with classes because basically, I am trying to add a border to the bottom of the link (an underline) but there is a border bottom on the header. The line-height of the link is the same as the header, so when I add a border bottom to the link, it goes below the border bottom of the header but I want it on top of the header border bottom. So I was thinking of adding a div and styling it to look like the border bottom of the link and then position it absolutely. But, I used link_after to pass in a div, but it applies it to all menu items, kind of silly to have it they aren’t being used.

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