Jump to content

Archived

This topic is now archived and is closed to further replies.

Mark & Phil

pl_raw for other shortcodes?

Recommended Posts

Mark & Phil

We've been trying to use the [pl-raw] shortcode around a shortcode for Views and it just won't display anything. Does pl_raw work with shortcodes other than just pl ones?  We also tried it with a slider, and with a php shortcode and no dice - none worked. We're using a textbox component to add the shortcode, should we be using something different for pl_raw?

 

Code Is:

[pl_raw][wpv-view name="Press Release List"][/pl_raw]

Anyone have any ideas? We really need to strip out p tags and its getting pretty crazy how much there infiltrating our Views.

 

You can view the actual page at http://iwhc.wpengine.com/press-room/ - its suppose to be inserted after that Press Release h2 tag but doesn't work. The view is inserted if we have just the Views shortcode but adds a ton of p tags and makes it look awful.

 

Any help greatly appreciated! Thanks!

Share this post


Link to post
Share on other sites
Danny

Hi,

 

The [pl_raw] shortcode only works in the Wordpress content area i.e. inside a page or a post, it will not work in a TextBox or MediaBox. The reason for this is that it can only be used once per page.

 

If you're having an issue with the Wordpress love for <p> tags, you will need to remove all linebreaks when using shortcodes.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Simon

OK, right on. So we added a content loop and put the bits we needed raw in there and all is good!

http://iwhc.wpengine.com/press-room/

 

Thanks Danny!

I dont normally like pink, but that does look nice!

Share this post


Link to post
Share on other sites
Danny

No problem and I agree with Simon, nice design/layout.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
greenfly

Hi - if you would like to submit your sites to the showcase you can do so here http://www.pagelines.com/showcase/submit/


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

×