Title: macatticus's Replies | WordPress.org

---

# macatticus

  [  ](https://wordpress.org/support/users/macatticus/)

 *   [Profile](https://wordpress.org/support/users/macatticus/)
 *   [Topics Started](https://wordpress.org/support/users/macatticus/topics/)
 *   [Replies Created](https://wordpress.org/support/users/macatticus/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/macatticus/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/macatticus/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/macatticus/engagements/)
 *   [Favorites](https://wordpress.org/support/users/macatticus/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/macatticus/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/macatticus/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Header display login widget?](https://wordpress.org/support/topic/header-display-login-widget/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/header-display-login-widget/#post-1684053)
 * Thanks for the post, but all this does it display the login boxes. I would like
   to duplicate the login widget, but in the header.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Header display login widget?](https://wordpress.org/support/topic/header-display-login-widget/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/header-display-login-widget/#post-1684028)
 * Bump, no one?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding shadows around all content](https://wordpress.org/support/topic/adding-shadows-around-all-content/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/adding-shadows-around-all-content/#post-1683484)
 * Well of course, I meant within the style sheet.. Here is my current:
 * _[CSS moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please post a link to your site instead.]_
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding shadows around all content](https://wordpress.org/support/topic/adding-shadows-around-all-content/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/adding-shadows-around-all-content/#post-1683476)
 * Thanks! However, I’m not sure where I would place such code. Does anyone have
   an idea?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Excerpt not showing on Home Page](https://wordpress.org/support/topic/excerpt-not-showing-on-home-page/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/excerpt-not-showing-on-home-page/#post-1682462)
 * Problem solved with some random digging. Appearance>Mystique Settings>Content
   >Post Previews
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679308)
 * I finally nailed it down.. Whew!
    Using a standard template, I needed to download
   a php execution plugin. After that, I can enter in PHP code directly in the admin
   page editor. Putting in the following code yields the results shown here (static
   information shown both below and above recent post content) [http://lostmodernist.com/wordpress/?page_id=4](http://lostmodernist.com/wordpress/?page_id=4)
 * > This is the test home static information! Above!
   > <?php
   > query_posts(‘posts_per_page=5’);
   >  while (have_posts()): the_post(); mystique_post();
   > endwhile; wp_reset_query(); ?>
   > Below!!
 * vtxyzzy, your code helped me understand what needed to be injected into the post.
   The only thing I was missing earlier, when my page was displaying multiple posts
   of the same thing, was the wp_reset_query(); command. All is well. I hope this
   can help out someone else in the future!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679305)
 * [http://lostmodernist.com/wordpress/?page_id=6](http://lostmodernist.com/wordpress/?page_id=6)
   
   Test Home 2 Displays this frontpage.php script. As you can see, there is no static
   information present (static information was inserted to the page via admin panel,
   page publish)
 * >  <?php
   >  /* Template Name: 2 columns page (right sidebar, default) (mod) */ /*
   > Mystique/digitalnature */ get_header(); ?>
   >  <!– main content: primary + sidebar(s) –>
   >  <div id=”main”> <div id=”main-inside”
   > class=”clear-block”>
   >  <!– primary content –>
   >  <div id=”primary-content”> <div class=”blocks”> <?
   > php do_action(‘mystique_before_primary’); ?> <?php query_posts(‘posts_per_page
   > =5’); if (have_posts()): while (have_posts()): the_post(); mystique_post();
   > endwhile;
   >  mystique_pagenavi();
   >  else: ?> <h1 class=”title error”><?php _e(“No posts 
   > found”,”mystique”); ?></h1> <p><?php _e(“Sorry, but you are looking for something
   > that isn’t here.”,”mystique”); ?></p>
   >  <?php endif; ?>
   >  <?php do_action(‘mystique_after_primary’); ?> </div> </div
   > > <!– /primary content –>
   >  <?php get_sidebar(); ?>
   >  </div>
   >  </div> <!– /main content –>
   > <?php get_footer(); ?>
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679304)
 * I tried it the other way: Add a page in the admin menu, leave as default template,
   installed Exec-PHP and inserted the following code to the page:
 * >  This is the test home static information! Above!
   >  <?php query_posts(‘posts_per_page
   > =5’); while (have_posts()): the_post(); mystique_post(); endwhile; ?> Below!!
 * And now the page looks like this:
    [http://lostmodernist.com/wordpress/?page_id=4](http://lostmodernist.com/wordpress/?page_id=4)
   Close, but I’m not quite sure what’s happening to make it display like that.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679303)
 * This seems to be a step in the right direction! I have added the code and the
   posts show up, however, my static content that I entered into the page editing
   screen in the admin panel does not show up.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679293)
 * No, I’m trying to get the normal recent posts page to be static but I don’t know
   how to display the recent posts code on a static page, being themed. I’ll try
   chinmoy’s idea but I’m pretty sure it will just display text, with no themes..
   I.e.
    Title 1 Short excerpt blah blah title 2 short excerpt blah blah
 * With no theme (header being in a box, large font, author name in italics, etc).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679278)
 * The website was taken offline so we can get all the backend stuff done before
   launch. It was the Mystique theme. I would just like to be able to either:
    1.
   Insert code into the post page to be able to specify php/html code, i.e. display
   static information above the normal recent posts page or 2. Insert code onto 
   a static page that displays mystique themed recent posts with excepts, author,
   title.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679264)
 * Can no one answer this? It seems like an easy thing to do! 😛
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent posts, static page, themed?](https://wordpress.org/support/topic/recent-posts-static-page-themed/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-static-page-themed/#post-1679263)
 * That isn’t what I’m trying to do. I’m trying to display static content above 
   the recent posts.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding static content to post page](https://wordpress.org/support/topic/adding-static-content-to-post-page/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/adding-static-content-to-post-page/#post-1678925)
 * I didn’t explain it correctly 😛 I may have narrowed it down to this question:
   What code can I inject into my static page to display 5 posts in the manner that
   WP does so automatically on the main page?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding static content to post page](https://wordpress.org/support/topic/adding-static-content-to-post-page/)
 *  Thread Starter [macatticus](https://wordpress.org/support/users/macatticus/)
 * (@macatticus)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/adding-static-content-to-post-page/#post-1678906)
 * Excuse me for my newbism, I just started looking at wordpress a few days ago.
   After looking into contemplate, I think it may be backwards from what I want.
   I’m needing a way to insert dynamic areas (recent posts) onto a static page. 
   For instance: I need to create a homepage file in mystique so I can put content
   at the top (video link, site announcement, etc) but be able to have an area below
   it that displays recent posts. So my page is part static, part dynamic. Sorry
   for the confusion

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/macatticus/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/macatticus/replies/page/2/?output_format=md)