Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • when using this code:

    <?php $catablog_data = get_post_meta(get_the_ID(), “catablog-post-meta”, true); ?>
    <?php $catablog_data[“link”]; ?>
    <?php $catablog_data[“price”]; ?>
    <?php var_dump($catablog_data); ?>

    I get this output: string(0) “”

    <?php vardump($catablog_data); ?> = <?php var_dump($catablog_data); ?>

    Yes its part of the mono theme. i have modified the theme for my needs.

    I need to get the description data from a library item and add it to the single-portfolio.php page.

    <?php $catablog_data = get_post_meta(get_the_ID(), “catablog-post-meta”, true); ?>
    <?php $catablog_data[“link”]; ?>
    <?php $catablog_data[“price”]; ?>
    <?php vardump($catablog_data); ?>

    this ideas seems to be o track, but for some re4ason it conflicts with this code.

    <?php
    if ( ! get_post_meta( $post->ID, ‘hide_meta’, true ) ) {
    get_template_part( ‘meta’, ‘post’ );
    }
    ?>

    I would ideally like to add the required info script/shortcode to the above code.

    This is interesting and i’m working on a similar idea.

    I tried both method;s macguru2000 gave but none worked for me.
    I have almost exhausted my efforts on this one, but il try again.

    I am working on single-portfolio.php and trying to get the
    information from (admin-list.php, specifically the getDescriptionSummary(). However maybe im going at this wrong. I need to pull the description information from a Catablog Library item.

    I cannot for some reason get this data to show on the single-portfolio.php page.

    Any help would be much appreciated.

    PS, when i add the first snippet of code (your 1st post) it hides all the items and only shows the title. Not sure why but i have played around with it and nothing.

Viewing 4 replies - 1 through 4 (of 4 total)