Joseph

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Portfolio page content section above the posts #16095
    Joseph
    Customer

      I figured it out, I was able to make it working by changing the function on the portfolio page to this:

      add_action( 'genesis_before_loop', 'epik_do_portfolio_content' );
      function epik_do_portfolio_content() {
      	
      	$content = get_post( $posts_page )->post_content;
      	$content_output = wpautop( $content );
      	
          echo '<div class="entry-content entry-portfolio" itemprop="text"> <h1 class="headport1">'. get_post()->post_title, '</h1> <div class="portman1">' . $content_output . '</div></div>';
      	
      	
      }
      in reply to: Portfolio page content section above the posts #16094
      Joseph
      Customer

        Thanks Wes,
        I have deactivated all plugins but still can’t get simple <p> tags to show, even though it’s saved on the post as it’s showing on the database (phpmyadmin)

        on page_portfolio.php, somehow the following line of code is stripping all HTML.

        echo '<div class="entry-content entry-portfolio" itemprop="text"> <h1 class="headport1">'. get_post()->post_title, '</h1> <div class="portman1">' . get_post()->post_content . '</div></div>';

        no matter if I use text or visual editor. either way all html is being stripped and text merged together. however bold, ul and li are working fine.

        in reply to: EPIK – categories page #14755
        Joseph
        Customer

          actually how do I make the blog categories to look like the PORTFOLIO layout

        Viewing 3 posts - 1 through 3 (of 3 total)