Tom Combs
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Minimum Age?Which plugin are you using?
you may need to use javascript to validate the field prior to submitting it.Forum: Fixing WordPress
In reply to: Problem importing WordPress.com xml filesHello,
I believe I understand the issue, but you didn’t mention the steps you took to import the files.So I’m going to assume that on wordpress.com you exported all of the data to an xml file.
then you logged into yoursite/wp-admin , then wen to Tools > Import > Selected WordPress > Installed and activated the plugin > Imported XML file.
Are these the steps you took?
Also, since this is a new site with no information posted yet.
I would suggest logging into your hosting account, navigate to phpmyadmin, then delete all of the rows in the database.Then go back to your page https://www.dishondesigngal.com , recreate your admin login, then follow the steps I listed above if that’s not what you originally did.
If you’ve already completed all of that, let me know and we’ll go from there.
Forum: Installing WordPress
In reply to: cant log in to WP-AdminWe were all rookies at some point ??
Glad I could help!
Forum: Fixing WordPress
In reply to: Loop not displaying posts, instead has a link to the homepageI need a little more info and I think I can help…
Are you just displaying recent posts or is there a reason to have a conditional statement?
For example, under the leaflet, you’re just going to show the 5 (or however many you want) most recent posts, regardless of category right?
If so, then do this:
<?php // The Loop while ( have_posts() ) : the_post(); ?> <div class="post-cat-three"> <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2> <small><?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?></small> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h2 class="entry-title">" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></h2> <div class="entry-content"> <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> <p class="postmetadata">Posted in <?php the_category(', '); ?></p> </div><!-- .entry-content --> </div><!-- #post-## --> <?php endwhile; // end of the loop. ?>
Forum: Fixing WordPress
In reply to: Page div backgroundI’m not 100% sure, but I don’t think you can apply separate set of attributes the same id or class.
I think you’ll have to create a second page id, but rather than creating a template page, you could use and if/else statement.
Try something like this:
#pagenobackground {background:none;}then in your header use this:
<?php
// HOME
if ( is_page('home') ) {?>
<div id="pagenobackground" class="hfeed"><?php }
else { // all other pages ?>
<div id="page" class="hfeed">
<?php } ?>Forum: Fixing WordPress
In reply to: Can't remove search feature from News pageA better option than “display:none;” would be to check your themes sidebar.php file for the search code, from the source code, it doesn’t look like it is a widget.
If you only want to hide the search on the news page, find the code for the search form, then wrap it in an if/else statement.
something like this…<?php // If is news page, don't do anything if ( is_page('news') ) { } // Otherwise show the form else { ?> <form method="get" id="searchform" action="https://tmp.firststeptrust.org.uk/"> <div id="search-text"> <input type="text" value="" name="s" id="s" autocomplete="off" /> </div> <input type="submit" id="searchsubmit" value="" /> <br class="clear"> </form> <?php } ?>
Forum: Fixing WordPress
In reply to: deprecated message concerning plugins and simplepieit means the plugin code is outdated.
check the version of php on your localhost, then go to the plugin homepage and see what it is compatible with.
If the plugin is just old and there aren’t any updates, you will need to find a new plugin or modify the syntax in the old plugin.
Forum: Fixing WordPress
In reply to: Loop not displaying posts, instead has a link to the homepageCan you copy and paste the code here?
Also, if you’re running multiple loops on the same page, you should reset the first loop, to allow the second loop to run.
your first loop should end as such:
<?php endwhile; // end of the loop.
wp_reset_query(); // Reset Query
?>
Forum: Fixing WordPress
In reply to: Where is the RSS Feed for a static page?Forum: Fixing WordPress
In reply to: Page div backgroundcreate a template page for the homepage and change the div id to something else, ex- <div id=”pagehome”>
then set the css:
#pagehome {background:none;}That might be the easiest way.
Forum: Installing WordPress
In reply to: cant log in to WP-Adminmxtoolbox.com is pointing to a server on hostgator, so call hostgator.com and have them look into it.
After you do that, please come back here and post the update.
Thanks.
Forum: Fixing WordPress
In reply to: Archive oldest to newest postHi,
I would do it by creating a custom query.
On your archive.php page, replace this:
<?php /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. */ rewind_posts(); /* Run the loop for the archives page to output the posts. * If you want to overload this in a child theme then include a file * called loop-archive.php and that will be used instead. */ get_template_part( 'loop', 'archive' ); ?>
With this:
<?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $args = array( 'paged' => $paged, 'posts_per_page' => 10, 'orderby' => ASC ); // The Query query_posts( $args ); // The Loop while ( have_posts() ) : the_post(); ?>
Forum: Fixing WordPress
In reply to: Moved WordPress installation, suddenly widgets aren't workingHello,
Search and replace is very dangerous, but it does work nicely at times.
my first action would be to double check all of the paths under settings and in the code.
You should also update the permalink structure under General Settings.
Do you have the same issue if you try to create a new page or post?
Forum: Fixing WordPress
In reply to: can not log in to edit default URLSorry…Yes, click “GO” , that will save it.
Did siteurl have the wrong url?
Forum: Installing WordPress
In reply to: cant log in to WP-AdminIf you did it days ago, that’s not the issue ??
Check with your host to resolve this, as it doesn’t appear to be a wordpress issue.
mxtoolbox.com is resolving your site correctly, but the page that displays when you type in the url is the generic 404 search page.