Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9703

    How would I go about creating a custom field in a portfolio entry? for the corona.

    Would like it to be located under the title and above categories if possible.

    Also I would is there a way I could have the portfolio titles showing on all the portfolio templates but only show the excerpt for the 1col template?

    #65627

    Hey,

    you can use the get_post_meta function: http://codex.wordpress.org/Function_Reference/get_post_meta to retrieve custom field data. I’d include the code in includes/loop-portfolio-single.php or includes/loop-portfolio.php (depends on your needs).

    2) In loop-portfolio.php replace:

    the_excerpt();

    with:

    if ( "1" == $avia_config['portfolio_columns'] )
    {
    the_excerpt();
    }

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

The topic ‘Portfolio Entry – Custom Fields’ is closed to new replies.