Wahlim
Forum Replies Created
-
Thanks both JonManness and RavanH, finally I figure out. My file is in local host, and google docs viewer can only support online file, and that’s the problem.
Thanks again!
Thanks for your quick reply, I have change the code and this time it showing the loading icon in the center of screen for a long time and still nothing appear. But it didn’t stuck the browser, wierd situation.
Yeah, I replace it with file path, like this:
backticks
Download Guidebook
backticksThanks for share the solution at first, but I still have problem to display pdf.
I use the same code in JonManness’s post, and uncheck all settings of pdf, but when I click the link it appear ‘the requested content cannot be loaded, please try again later’. Any one know how to fix?
Forum: Fixing WordPress
In reply to: Home page display multiple custom post typesI have try the code below and it work, but when I change the
<?php query_posts(‘post_type=custom1’); ?>
to
<?php query_posts(array( ‘post_type’ => array( ‘custom1’, ‘custom1’, ‘custom1’ ) )); ?>
it back to blog page and show posts, not custom post types<?php get_header(); ?> <?php get_template_part('includes/breadcrumbs'); ?> <?php query_posts('post_type=custom1'); ?> <div id="content" class="clearfix<?php if ($show_sidebar && get_option('thestyle_blog_style') == 'false') echo(' sidebar-fixedwidth'); ?>"> <div id="boxes" class="<?php if (!$show_sidebar) echo('fullwidth'); if (get_option('thestyle_blog_style') == 'on') echo(' blogstyle-entries'); ?>"> <?php get_template_part('includes/entry', get_post_type()); ?> <div id="content-bottom-bg"></div> <?php get_footer(); ?>Anyone can help?
Forum: Fixing WordPress
In reply to: Home page display multiple custom post typesBy the way, I hope the home page worked as an archive for multiple custom post types.
Forum: Fixing WordPress
In reply to: Home page display multiple custom post typesSorry about the link, I can’t find a way to edit after posted.