DanChorley
Forum Replies Created
-
Glad you found this solution worked!
I cannot tell you how infuriating it is to find a load of un-answered support topics to a problem, and for people to solve them for themselves and not post how they fixed it!Hey, thank you for the reply.
I have found a workaround which suits my requirements, so a little bit of number 1 I suppose.Thank you for the reply nevertheless!
For those who are interested with similar issues to this (calendar not displaying) I have managed to resolve the issue for my theme.
Find the append_content function in app/controller/class-ai1ec-app-controller.php
Find the following:
if( in_the_loop() )
Replace with:
// if( in_the_loop() )Now [ai1ec] works on my pages.
Hope this comes in handy.Have done. Just been putting the question in many places due to the lack of response.
Now got it on full width, still doesn’t work and can’t find any problems with this either…. frustrating beyond belief!
<?php
/*
Template Name: Full Width Page
*/
?><?php get_header(); ?>
<section id=”omc-main-full-width” class=”omc-full-width”>
<article id=”omc-full-article”>
<h1><?php the_title(); ?> </h1>
<?php the_post_thumbnail(‘blog-full-width’, array(‘class’ => ‘featured-full-width-top’)); ?>
<?php the_content(); ?>
<div class=”omc-page-space”></div>
</article><!– /omc-full-article –>
</section><!– /omc-main –>
<br class=”clear” />
</div> <!– end of #container –>
<?php get_footer();?>
This is what is currently in page.php
I can’t see any problem with it.
———————————-<?php get_header(); ?>
<section id=”omc-main”>
<article id=”omc-full-article”>
<?php $omc_comment_type = get_post_meta(get_the_ID(), ‘omc_comment_type_page’, true); ?>
<?php the_post_thumbnail(‘blog-full-width’, array(‘class’ => ‘featured-full-width-top page-margin’)); ?>
<h1><?php the_title(); ?> </h1>
<?php the_content();?>
<?php if ($omc_comment_type == ‘none’ || $omc_comment_type == ”|| $omc_comment_type == ‘fb’) { ?>
<div class=”omc-page-space”></div>
<?php } ?>
<br class=”clear” />
<?php
// Get the current page url for FB comments
$url = (!empty($_SERVER[‘HTTPS’])) ? “https://”.$_SERVER[‘SERVER_NAME’].$_SERVER[‘REQUEST_URI’] : “https://”.$_SERVER[‘SERVER_NAME’].$_SERVER[‘REQUEST_URI’];
?><?php if ($omc_comment_type === ‘fb’ || $omc_comment_type === ‘both’) { ?>
<div class=”fb-comments” data-href=”<?php echo $url; ?>” data-num-posts=”4″ data-width=”620″></div>
<?php } ?>
<?php if ($omc_comment_type === ‘wp’ || $omc_comment_type === ‘both’) { ?>
<?php comments_template( ”, true ); ?>
<?php } ?>
</article><!– /omc-full-article –>
</section><!– /omc-main –>
<?php get_sidebar();?>
<?php get_footer();?>
Typical… I post this and then I find it.
To clarify, for future searchers, I am using multisite (WPMU) and I found the email templates here:
/wp-includes/ms-functions.php
Forum: Fixing WordPress
In reply to: Post is not publishing from main post screenSeems only to be an issue when I use Firefox.