Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If page_content() != '' echo ... possible? (conditional by content)
#5
Thanks for the new piece of code. I have edited my first post at the same time as your first post here. I mean I'm using
Code:
<?php if (returnPageContent(return_page_slug()) != '') { ?>
        <div class="style">
        <?php get_page_content(); ?>
        </div>
<?php } ?>

Does this code have some disadvantage in comparison to yours (I need to output the styling div)?
Advanced HTML5 & CSS3 coder. Simple JS & PHP hacker (not enough for new function coding). Build one webpage with GS (late 2012). Focusing on Theme customizing/Template files. Experience with WP.
Reply


Messages In This Thread
If page_content() != '' echo ... possible? (conditional by content) - by ChriS - 2012-03-01, 09:22:03



Users browsing this thread: 1 Guest(s)