Title on Portfolio Page & Category Archive

Homepage Community Forums Adapt Theme Support Title on Portfolio Page & Category Archive

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2135
    dashinfashion
    Customer

      Hi Wes,

      Loving this theme…

      Two questions:

      1) How I can add a title to the portfolio page. I’m using multiple portfolio pages and now the title page isn’t listed in the portfolio template.

      2) Is there a way to make the category archive page look like the portfolio template in adapt? Actually all I really need is the category archive instead of the portfolio. When I use breadcrumbs on my site the category link is shown and I want it to look like the portfolio page .

      Thanks

       

      #2144
      Wes
      Moderator

        Try adding this code at the top of your page_portfolio.php (right under the first ““)

        // Adds Page Title and Content
        add_action('genesis_before_content', 'genesis_do_post_title');
        add_action('genesis_before_content', 'genesis_do_post_content');

        /** Remove Edit Link */
        add_filter( 'edit_post_link', '__return_false' );

        I’m not sure if there is an easy way to do #2. I haven’t customized a Genesis Category page yet, so I wouldn’t know the answer at the moment.

        #2145
        dashinfashion
        Customer

          When I place the code the title appears above the breadcrumb. Any idea how to fix this?

          #2146
          Wes
          Moderator

            Try changing it to “genesis_before_loop” like this –

            // Adds Page Title and Content
            add_action('genesis_before_loop', 'genesis_do_post_title');
            add_action('genesis_before_loop', 'genesis_do_post_content');

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.