AustinBaze
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Actually asking about PHP 7.2 I mistyped.
Sorry for the long delay. My web guy tells me this about that:
I post to the homepage using this code:
<?php show_mult_post('next-event'); ?> <?php $content = apply_filters('the_content',$include[0]->post_content); ?> <?php resume_exclude_pages(); ?>That pulls from this function:
function show_mult_title($path) { $post = get_page_by_path($path); $title = apply_filters('the_content', $post->post_title); echo $title; } function show_mult_post($path) { $post = get_page_by_path($path); $content = apply_filters('the_content', $post->post_content); echo $content; }This code allows WP to install content from one page into another. In this case, it is pulling from the next-event page. The next-event page includes this short code:
[show_next_event]
The small window on the left of our front page used to automatically display a short excerpt from the next event in our calendar. It no longer does.
Any ideas?
Sorry, I’m the customer not the designer. I’m checking, but I seem to recall that he called a function “next_event” to display in the box. I will follow up.
Viewing 3 replies - 1 through 3 (of 3 total)