jmonda
Forum Replies Created
-
Ok, I will give it a try. I did post this to them as well and still have not heard back.
After I do that yes I see the test text on the single events pages.
@caimin_nwl No I was not. However, I thought I would give it a try same issue running a child theme.
Sure @angelo, I Do not have a whole lot of expereince, so after much searching, I saw that it was suggested to copy the page.php so that is what I did. Here is what it looks like
<?php get_header(); ?>
<div id=”main-content”>
<div class=”container”>
<div id=”content-area” class=”clearfix”>
<div id=”left-area”>
<?php while ( have_posts() ) : the_post(); ?>
<?php if (et_get_option(‘divi_integration_single_top’) <> ” && et_get_option(‘divi_integrate_singletop_enable’) == ‘on’) echo(et_get_option(‘divi_integration_single_top’)); ?><article id=”post-<?php the_ID(); ?>” <?php post_class( ‘et_pb_post’ ); ?>>
<h1><?php the_title(); ?></h1><?php
if ( ! post_password_required() ) :et_divi_post_meta();
$thumb = ”;
$width = (int) apply_filters( ‘et_pb_index_blog_image_width’, 1080 );
$height = (int) apply_filters( ‘et_pb_index_blog_image_height’, 675 );
$classtext = ‘et_featured_image’;
$titletext = get_the_title();
$thumbnail = get_thumbnail( $width, $height, $classtext, $titletext, $titletext, false, ‘Blogimage’ );
$thumb = $thumbnail[“thumb”];$post_format = get_post_format();
if ( ‘video’ === $post_format && false !== ( $first_video = et_get_first_video() ) ) {
printf(
‘<div class=”et_main_video_container”>
%1$s
</div>’,
$first_video
);
} else if ( ! in_array( $post_format, array( ‘gallery’, ‘link’, ‘quote’ ) ) && ‘on’ === et_get_option( ‘divi_thumbnails’, ‘on’ ) && ” !== $thumb ) {
print_thumbnail( $thumb, $thumbnail[“use_timthumb”], $titletext, $width, $height );
} else if ( ‘gallery’ === $post_format ) {
et_gallery_images();
}
?><?php
$text_color_class = et_divi_get_post_text_color();$inline_style = et_divi_get_post_bg_inline_style();
switch ( $post_format ) {
case ‘audio’ :
printf(
‘<div class=”et_audio_content%1$s”%2$s>
%3$s
</div>’,
esc_attr( $text_color_class ),
$inline_style,
et_pb_get_audio_player()
);break;
case ‘quote’ :
printf(
‘<div class=”et_quote_content%2$s”%3$s>
%1$s
</div> <!– .et_quote_content –>’,
et_get_blockquote_in_content(),
esc_attr( $text_color_class ),
$inline_style
);break;
case ‘link’ :
printf(
‘<div class=”et_link_content%3$s”%4$s>
%2$s
</div> <!– .et_link_content –>’,
esc_url( et_get_link_url() ),
esc_html( et_get_link_url() ),
esc_attr( $text_color_class ),
$inline_style
);break;
}endif;
?><div class=”entry-content”>
<?php
the_content();wp_link_pages( array( ‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘Divi’ ), ‘after’ => ‘</div>’ ) );
?>
</div> <!– .entry-content –><?php
if ( et_get_option(‘divi_468_enable’) == ‘on’ ){
echo ‘<div class=”et-single-post-ad”>’;
if ( et_get_option(‘divi_468_adsense’) <> ” ) echo( et_get_option(‘divi_468_adsense’) );
else { ?>
“><img src=”<?php echo esc_attr(et_get_option(‘divi_468_image’)); ?>” alt=”468 ad” class=”foursixeight” />
<?php }
echo ‘</div> <!– .et-single-post-ad –>’;
}
?><?php
if ( ( comments_open() || get_comments_number() ) && ‘on’ == et_get_option( ‘divi_show_postcomments’, ‘on’ ) )
comments_template( ”, true );
?>
</article> <!– .et_pb_post –><?php if (et_get_option(‘divi_integration_single_bottom’) <> ” && et_get_option(‘divi_integrate_singlebottom_enable’) == ‘on’) echo(et_get_option(‘divi_integration_single_bottom’)); ?>
<?php endwhile; ?>
</div> <!– #left-area –><?php get_sidebar(); ?>
</div> <!– #content-area –>
</div> <!– .container –>
</div> <!– #main-content –><?php get_footer(); ?>
@angelo, Yes I have tried to set my events page to post, page, and blank page.
I am marking this as resolved after I reset Events Manager things are back to somehwat normal
Ok I finally just went in and reset Events Manager after trying to figure this out for days it was getting frustrating. This has seemed to do the trick
Angelo,
Bookings were not assigned to the event but a location was assigned to the event. When you ask to remover the placeholders are you asking me to remove them from the event itself if so there aren’t any. Or are you asking me to remove them from to above code you gave me? I have since switched themes on our page and have the exact same problem. Will it help if I delete Events Manage and reinstall it? I have no idea just asking.Doe my post help at all or is something else I need to do in order to figure this out. Should I try deleting Events Manage and reinstalling it though that is not something I really wish to do?
Thank you. When I post the above shortcode into a normal page it is blank nothing is shown at all. However when I post the code that angelo has show I get something different that page van be viewed here http://www.fbcwashington.org/event-test/
as you can see it is show the date and time I made the post and nothing else.
I went and created another page it can be found here
http://www.fbcwashington.org/event-test/In my admin while creating the page I clicked on the text tab and entered this code
[event post_id=”thanksgiving-dinner”]
<div style=”float:right; margin:0px 0px 15px 15px;”>#_LOCATIONMAP</div>
<p>
Date/Time
Date(s) – #_EVENTDATES<i>#_EVENTTIMES</i>
</p>
{has_location}
<p>
Location
#_LOCATIONLINK
#_LOCATIONRSSLINK
</p>
{/has_location}
<p>
Categories
#_CATEGORIES
</p>
<br style=”clear:both” />
#_EVENTNOTES
{has_bookings}
<h3>Bookings</h3>
#_BOOKINGFORM
{/has_bookings}
[/event]Where “thanksgiving-dinner” is the event
What you see on the page is what is there, nothing. Maybe I am entering something in wrong, I have no idea. All I know is one day everything worked and the next day it did not.When you type “this works for me” what exactly are you saying works for you? If I have to type that code you just showed into every single even does that not defeat the purpose?
Right which is what I did and it shows nothing. When I enter it in a normal page and then go and check the wrbsite there is nothing there.
Well hopefully I am doing this portion right. Anyway I entered this onto a page
[event post_id=”thanksgiving-dinner/”] that being the event and when I enter it under the text portion of one of my pages if I go to that page it shows nothing.angelo thank you for your response. I went in and I deactivated all plugins again, I had previously tried this and I still had the same problem.
I then activate the twenty fourteen theme to verify it is not the theme and I still had the same issue, I then went in and updated an event under the twenty fourteen theme, this did not help either, then I deactivated all plug ins under that theme and still did not help. I have also tried deactivating all plugins and updating an event with all plugins deactivated and still no luck.