• I inherited a highly customized wordpress site. I am trying to use a vimeo plugin that ONLY gives me the shortcodes for my player. Everythimg I plug in the shortcode within my portfolio posts (No, not my pages, and not my blog posts, just my portfolio posts.) all I get when I view the page is the shortcode shown on my layout on the screen. Is there anyway to disable wordpress from not allowing anything other than raw code (JS/XML/HTML, etc) on portfolio pages?

    PLEASE NOTE, I can only put my code for this player in my EXCERPT section, NOT the visual or raw “TEXT” section of the dashboard for the portfolio page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter webwatchman

    (@webwatchman)

    And no, I cannot give you a link to the page, since it is on a secured server and I cannot lend out my password to do so.

    As a “portfolio” isn’t part of a standard WordPress installation, there could be any of a 1,000 ways that it’s bene implemented there, and witout being able to see it we can’t say anything for sure. But don’t worry, I do understand that privacy ideal of not giving out access to a private site like that.

    As far as excerpts are concerned, they don’t work with shortcodes by default. You can probably change this in your themes template files by using a call to do_shortcode() where the excerpt is displayed. That will process the shortcode and display it as you need to.

    Thread Starter webwatchman

    (@webwatchman)

    But which file? Got any clues as to what its named? Yes, I know its a customized theme, I just want to be sure. And is the do_shortcode a hook that I use? Do you know of any documentation that shows on how to use that?

    But which file? Got any clues as to what its named?

    At a guess

    Possibly single-portfolio.php but that could be very wrong. As I said, there’s a lot of ways of doing these things, so it’s nothing that I can say with any certainty at all.

    As for documentation, have a look at the do_shortcode() codex page. You’ll also find documentation there for pretty much all WordPress functions, along with a lot of other information, so it’s worth looking through that when you have some questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why can I not use shortcodes in Portfolio pages?’ is closed to new replies.