Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter steepho

    (@steepho)

    For better understanding, maybe i should give you a short overview, how the custom fields are mentioned in my code:

    <div>
      <?php the_content() ?> <!-- the 'normal' content area, the shortcode for the slider is put in here in the WP-backend -->
    </div>
    <div>
      <!-- This for the implementation of the custom field -->
      <?php $firstcol = get_post_custom_values('colone', $post->post_ID);
            print $firstcol[0];
      ?>
    </div>
    Thread Starter steepho

    (@steepho)

    same sh….ortcode-problem, different day.
    First I thought the two plugins aren’t compatible or something, so I used the ‘normal’ custom fields, but it’s still the same…

    Now the code looks like this:

    <div id="roomfortheslider">
       <?php the_content() ?>
     </div>
     <div class="shit">
         <p>
           <?php
              $firstColumn = get_post_meta($post->ID, 'first-column', true);
           ?>
           <?php echo $firstColumn; ?>
         </p>
     </div>

    Unfortunately everytime I insert the shortcode in the major content area, all the content of the custom fields still say “good bye” :-/

    Plugin Author Jacob Dubail

    (@jacobdubail)

    Sorry man. Almost out from under a mountain of work. My apologies for the delay. I’ll get to this asap.

    -J

    Thread Starter steepho

    (@steepho)

    No problem,thanks in advance.
    The plugin is awesome and it’s really great that you take care for every question.

    Plugin Author Jacob Dubail

    (@jacobdubail)

    Hey steepho,

    Any luck figuring this out?

    I’ll install that custom field plugin and see if I can replicate the issue.

    Although, I just published a new update, which will hopefully fix this issue.

    Let me know.

    Thanks,
    Jacob

    Try this :
    get_post_meta(get_the_ID(), 'first-column', true);

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: AnythingSlider for WordPress] Trouble with Custom fields’ is closed to new replies.