Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Component in content
So on one page I want some HTML... rather than putting it into the content using the Source view and letting it put <p> tags around everything, I figured I'd simply made a Theme Component then display that in the page.

However, it doesn't work.
When I put
<?php get_component('allsolutionspage'); ?>
then save it turns it into <
!--?php get_component('allsolutionspage'); ?-->
which obviously causes issues...

How to fix this? Thanks!
you have to use the dynpages plugin

and {% componentname %}
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Awesome thank you it's working great! You're a life saver Big Grin

Users browsing this thread: 1 Guest(s)