Subscribe via
Welcome, Guest. Please login or register.
Did you miss your activation email?
 OMNINOGGIN ForumPlugin SupportWP Greet BoxWP Greetbox not appearing where I want
Pages: [1]
Print
Author Topic: WP Greetbox not appearing where I want  (Read 466 times)
r00n
Newbie
*
Posts: 1


View Profile WWW Email
« on: January 27, 2010, 04:06:11 AM »

When I enable the plugin using the settings it will appear right under the title of the post. I would like to have it above. I have copy and paste the code on several places without succes in the header.php and home.php files of the theme. It does not appear on the website at all.

Is there someone who can help me out telling me where to put the code so that it will be right above the article title?

Theme is "Elements of SEO"

Header.php
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="distribution" content="global" />
<meta name="robots" content="follow, all" />
<meta name="language" content="en, sv" />

<title><?php wp_title(''); ?><?php if(wp_title(''false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats please -->

<link rel="Shortcut Icon" href="<?php echo get_settings('home'); ?>/wp-content/themes/elements-of-seo/images/favicon.ico" type="image/x-icon" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
<style type="text/css" media="screen">
<!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); -->
</style>
</head>

<body>

<div id="wrap">

<div id="stripe"></div>

<div id="nav">
<ul>
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1'); ?>
</ul>
</div>

<div id="masthead">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h3><?php bloginfo('description'); ?></h3>
</div>

<div id="banner" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;"></div>

home.php
Code: [Select]
<?php get_header(); ?>

<div id="content">

<div id="contentleft">
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
        <?php if(function_exists('wp_greet_box')){wp_greet_box();} ?>

<p class="date"><b>Geplaatst op </b>| <?php the_time('F j, Y'); ?> | <?php comments_popup_link('Geen Reacties''1 Reactie''% Reacties'); ?> | Door <?php the_author(); ?></p>

 
<?php the_content(__('Lees verder...'));?><div style="clear:both;"></div>

<div class="bt-links"><strong>Categorie:</strong> <?php the_category(', '?><br /><?php the_tags('<strong>Tags:</strong> ',' > '); ?></div>



<!--
<?php trackback_rdf(); ?>
-->

<?php endwhile; else: ?>

<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<?php posts_nav_link(' &#38;#8212; '__('&laquo; ga terug'), __('kijk verder &raquo;')); ?>

</div>

<?php include(TEMPLATEPATH."/l_sidebar.php");?>

<?php include(TEMPLATEPATH."/r_sidebar.php");?>

</div>

<!-- The main column ends  -->

<?php get_footer(); ?>
Logged

Thaya
Administrator
Sr. Member
*****
Posts: 400



View Profile WWW Email
« Reply #1 on: February 16, 2010, 09:49:54 PM »

Auto-insertion will only put the greeting message before or after the post content. If you want to place it outside of the post area, you will need to do manual theme insertion method, see "Manual Greeting Message Insertion" in the documentation: http://omninoggin.com/wordpress-posts/tutorial-wp-greet-box-options/
Logged

Pages: [1]
Print
Jump to: