Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Select Box For Displaying Posts #3118
    dawood
    Member
    This reply has been marked as private.
    in reply to: Select Box For Displaying Posts #3108
    dawood
    Member
    This reply has been marked as private.
    in reply to: Repeater Link Field #3107
    dawood
    Member

    Thanks Steve that helps!

    in reply to: Select Box For Displaying Posts #3097
    dawood
    Member
    This reply has been marked as private.
    in reply to: Can't Get Add More Fields to Show #3096
    dawood
    Member

    Thanks Steve,

    we can close this 🙂

    in reply to: Repeater Link Field #3093
    dawood
    Member

    Yeah, that would work, I could just do a standard editor in that case… 🙂

    I normally use Advanced Custom Fields plugin and there’s an option to add a “Page Link” field, and use that fairly often, so was trying to see how I could replicate that …

    in reply to: Visual Organization #3092
    dawood
    Member

    thanks Steve!
    Loving Piklist so far, just trying to learn it better!

    in reply to: Can't Get Add More Fields to Show #3091
    dawood
    Member

    thanks for taking the time Steve,

    so the $data[‘exercise’]; would be in case there were multiple levels in the array?

    in reply to: Select Box For Displaying Posts #3090
    dawood
    Member

    Thanks Steve, I got stuck trying to pass the ID variables into the function. I figured since the ID’s were what’s being output I could assign those a variable and then place that inside the get_permalink but it did not work…

    in reply to: Select Box For Displaying Posts #3083
    dawood
    Member
    piklist('field', array(
    'type' => 'select'
    ,'field' => 'dawood'
    ,'columns' => 12
    ,'attributes' => array(
      'multiple' => 'multiple'
    )
    ,'choices' =>  piklist(
                  get_posts(
                     array(
                      'post_type' => 'post'
                      ,'orderby' => 'post_date'
                     )
                     ,'objects'
                   )
                   ,array(
                     'ID'
                     ,'post_title'
                   )
    )
    ));
    ?>

    `// Gets the 3 Featured boxes
    $dawood=get_post_meta($post->ID, ‘dawood’, false);
    piklist(get_stylesheet_directory() . ‘/inc/dawood’, array(‘data’ => $dawood, ‘loop’ => ‘data’));
    `

    <?php echo $data; ?>

    The problem is that I only get the ID numbers and am trying to get the Post_title with the Permalink?

    in reply to: Can't Get Add More Fields to Show #3081
    dawood
    Member

    Forgot to add

    $exercise= get_post_meta($post->ID, ‘exercise’, true);
    vs get_post_meta($post->ID, ‘exercise’, true);

    Can I close the topics myself?

    and why would this

    <?php echo $data['exercise']; ?>
    

    not work,
    but

    <?php echo $data ?>
    

    does?

    in reply to: Conditions #3077
    dawood
    Member

    Figured it out, used the ID file structure to show fields only for home page.

    in reply to: Repeater Link Field #3074
    dawood
    Member

    I that could work, is there anyway to pull in just the link field for the TINY MCE editor so the user can link to any page in their wp site?

    in reply to: Conditions #3073
    dawood
    Member

    It’s for customizing the backend of the website of the website. For the homepage, I want to have a combination title field, text area, image upload. Then for a subpage, I need a different combination of elements to collect data.

    in reply to: Still Confused about File / Image Upload #3031
    dawood
    Member

    $image_ids = get_post_meta(get_the_ID(), ‘my_image’);
    print_r($image_ids);
    works

    and this works too

    $image_ids = get_post_meta($post-> ID, ‘my_image’);
    print_r($image_ids);

    how come what’s in the tutorial doesn’t?

Viewing 15 posts - 1 through 15 (of 18 total)