Text Content Above Posts on Portfolio Page

Homepage Community Forums Epik Theme Support Text Content Above Posts on Portfolio Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3242
    babalucas
    Customer

      Wes, there’s a ton of tuts about how to do this for Blog pages like: http://mgacreativedesigns.com/text-above-posts-on-blog-page-genesis/

      How can I do this on the porfolio page?  I think I need to add something to page_portfolio.php…I just don’t know what.

      #3247
      Wes
      Moderator

        Remove this code from your page_portfolio.php file –

        // Move title below post image
        remove_action( 'genesis_post_title', 'genesis_do_post_title' );
        add_action( 'genesis_post_content', 'genesis_do_post_title', 9 );

        You may need to adjust the css after you do this since it will be in a different spot.

        #3281
        babalucas
        Customer

          That just moved the post titles above the image.

          What I was looking for was showing the page content prior to the display of posts.

          In the tut I referenced the code to insert is below, but in the page_portfolio.php it just adds the page as another post entry.

          add_action('genesis_loop', 'genesis_standard_loop', 8);

          #3289
          Wes
          Moderator

            Oh I see, I got confused on what you were asking.

            If you’re asking how to add the page content (from the content area of the page editor) to be displayed at the top of all of your posts, then unfortunately we’re unable to do this at the moment due to an issue caused by the Genesis 1.9 update. Example of what I’m talking about – http://i.imgur.com/Ay0Lagy.png and what it should look like on the actual page – http://i.imgur.com/tWz6KnC.png

            It used to work perfectly before the Genesis 1.9 update, but there was something added or removed in Genesis itself that caused this issue. It’s definitely on my list of things to get done, and hopefully I’ll figure out what it is soon. I didn’t get any warnings or heads up about whatever it was they changed, and I haven’t seen enough documentation that really explains what was changed and why. I believe it has to do with the grid, but I’m still not sure just yet.

            Until I figure it out, you could just add a widget area at the top of your portfolio file, then add the content inside the widget and it will show up just fine. The only possible issue with this method, is if you need to have multiple portfolio pages with content at the top…..because whatever widget you create in the portfolio file will show up on all of your portfolio pages. This means you’d have to create multiple portfolio files with multiple widgets. But then again, you could easily just use a plugin that allows you to have custom widget content on certain pages…..meaning, you wouldn’t need to create multiple pages or widgets since the plugin will allow you to assign specific widget content to specific pages. If you only need one portfolio page, then you should have nothing to worry about if you choose to add a widget.

            Sorry for the long response, (I hate having to read long posts lol) but I wanted to make sure to clear this up since a few people have asked and wondered what happened as well. I’ll be linking to this post when this question is asked in the future……hopefully we can figure out what happened soon.

            Let me know if you have any other questions

            #3352
            babalucas
            Customer

              yup that’s the issue…i want to have multiple portfolios…so i’m going to have some ‘fun’ with working this out.

              thanks for the detail > i did have to read it twice (lol) > but worth it. thanks much.

              #3358
              Wes
              Moderator

                You’re Welcome!

                I may have to reach out to some other developers to see if we can get this figured out faster.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘Text Content Above Posts on Portfolio Page’ is closed to new replies.