macatticus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Header display login widget?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
In reply to: Header display login widget?Bump, no one?
Forum: Fixing WordPress
In reply to: Adding shadows around all contentWell of course, I meant within the style sheet.. Here is my current:
[CSS moderated as per the Forum Rules. Please post a link to your site instead.]
Forum: Fixing WordPress
In reply to: Adding shadows around all contentThanks! However, I’m not sure where I would place such code. Does anyone have an idea?
Forum: Fixing WordPress
In reply to: Excerpt not showing on Home PageProblem solved with some random digging. Appearance>Mystique Settings>Content>Post Previews
Forum: Fixing WordPress
In reply to: Recent posts, static page, themed?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)
https://lostmodernist.com/wordpress/?page_id=4This 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
In reply to: Recent posts, static page, themed?https://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
In reply to: Recent posts, static page, themed?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:
https://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
In reply to: Recent posts, static page, themed?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
In reply to: Recent posts, static page, themed?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 blahWith no theme (header being in a box, large font, author name in italics, etc).
Forum: Fixing WordPress
In reply to: Recent posts, static page, themed?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
In reply to: Recent posts, static page, themed?Can no one answer this? It seems like an easy thing to do! ??
Forum: Fixing WordPress
In reply to: Recent posts, static page, themed?That isn’t what I’m trying to do. I’m trying to display static content above the recent posts.
Forum: Fixing WordPress
In reply to: Adding static content to post pageI 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
In reply to: Adding static content to post pageExcuse 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