Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Problems displaying custom field data « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Problems displaying custom field data

(1 post)
  • Started 3 years ago by jeffeggleston
  • This topic is not resolved

  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    jeffeggleston

    Member

    $the_query = new WP_Query( 'category_name=featured-event' );
                while ( $the_query->have_posts() ) : $the_query->the_post();
                //$featured_event_info = get_post_meta($post->ID, 'featured_event_info', true);
    			//$featured_event_title = get_post_meta($post->ID, 'featured_event_title', true);
                $featured_event_info = get_field($featured_event_info);
    			$featured_event_title = get_field($featured_event_title);?>
                <div class="featured-events-post">
                	<a title='<?php echo $featured_event_title; ?>' href='<?php the_permalink() ?>' rel='bookmark'>
                    <div class="featured-events-title"><?php echo $featured_event_title; ?>This is where the data should be</div>
                    <div class="featured-events-shortdata"><?php echo $featured_event_info; ?>This is where the info should be</div></a>
                </div>
                <?php endwhile; ?>

    Ok, so I cannot get the data from my custom fields to show up in this "Featured Events" widget I am trying to build and add to the left sidebar of my homepage. Any help would be greatly appreciated. A link to my development site is below:
    http://library.jeffmeggleston.com/

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183