janleeks
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Single row layout messed up after update to 5.7Same boat here. Fortunately only updated a couple of sites and have subsequently rolled back. Keen to hear if this will be patched/solved…?
Forum: Plugins
In reply to: [Contact Form DB] data showing in plugin dashboardHello again – reaching out again as I could really do with a steer on this. Site is all up and working, form is working and saving entries to the database – its just not displaying the database in the plugin dashboard…
Yeah I guessed as much. Regards
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] WordPress 3.3.1 and WPCF7Did work for me, just had an issue with custom fields, rectified. So it all seems to work fine now.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] WordPress 3.3.1 and WPCF7It’s not working for me… Can you help me with the line to change in controller.php? I can’t find it. Regards Jan
Forum: Plugins
In reply to: [Plugin: Custom Field Template] content input once on two different pages<?php // Retrieve custom meta values from post if they're present $aboutreferences = (get_post_meta($post->ID=2, "aboutreferences", true)); ?>
I was having a mental block, simply referencing the id, der..!
Forum: Plugins
In reply to: Custom field template – content once on two different templatesplease ignore I have re-posted with better description. ta Jan
Forum: Fixing WordPress
In reply to: Can’t get the number of comments to show on the front page…Exactly what I needed -ta
fixed it with
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("category_name=clients&orderby=title&order=asc&posts_per_page=10&paged=$paged"); ?> <?php while (have_posts()) : the_post(); ?>
so happy!
Forum: Themes and Templates
In reply to: ordering in a tag.php pageI managed to fix this…
i added
<?php $posts=query_posts($query_string . '&orderby=title&order=asc'); if (have_posts()) : while (have_posts()) : the_post(); ?>
where I previously had
<?php while (have_posts()) : the_post(); ?>
and removed at the top of my page where I once had
<?php get_header(); if (have_posts()): ?>
i just have
<?php get_header(); ?>
Easy when you know how, I hope this helps someone…
Forum: Themes and Templates
In reply to: ordering in a tag.php pageWhen I add that to the tag.php template, anywhere at all, the page doesnt work (I get a blank page). The full page for the tag.php is
<?php get_header(); if (have_posts()): ?> <?php include (TEMPLATEPATH . '/nav2.php'); ?> <div id="maincontent"> <div id="intro"> <h1>CLIENTS</h1> <p class="introcopy">Luxury hotels, resorts, villas & restaurants; glamorous spas, health retreats & beauty products; specialist travel companies; family holidays; yoga, golf & ski.</p> <p class="bottomheader"> </p> </div> <div id="secondaryContent"> <?php include (TEMPLATEPATH . '/testsidebar.php'); ?> </div> <ul id="destinations"> <li class="header first"><?php wp_title(); ?></li> <?php while (have_posts()) : the_post(); ?> <li id="post-<?php the_ID(); ?>"> <div class="imagehold2"> <?php the_content(__('(more...)')); ?></div> <span class="desheader"><?php the_title(); ?></span> <?php the_excerpt(); ?> </li> <?php endwhile; ?> </ul> <?php else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> <div id="pagination" class="noline"> <?php if(function_exists('wp_paginate')) { wp_paginate(); } ?> <div class="top"><a href="#">back to top</a></div> </div> <?php get_footer(); ?>
Forum: Plugins
In reply to: Custom Field Template – new to this and struggling getting text to formatIm still having issues, the <p> tags just dont appear after edits… any ideas??
Forum: Plugins
In reply to: Custom Field Template – new to this and struggling getting text to formatFiddling around (and guessing) I have got it working I think, still any help would be useful…
I’ve changed the top code to:
<?php // Retrieve custom meta values from post if they're present $extracontent = (get_post_meta($post->ID, "extracontent", true)); ?>
and the second bit to:
` <?php
if ($extracontent != “”) {
echo ‘<p>’ . $extracontent . ‘</p>’;
}`
?>My formatting seems to be coming in now, if anyone can tell me if I am doing this right or wrong, please let me know.
Regards
Jan