jkovis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: new to wp: creating a custom pageThanks, so I should write a plugin rather than use "Page"– If I’m understanding your situation correctly then yes. WordPress pages are for managing content that appears on the frontend. To hook into the WordPress admin and interact with a 3rd party API you’ll need to write a plugin or add your code to your theme’s functions.php. I’d suggest taking a look at this MailChimp/WordPress plugin as an example.
You might also want to take a look at integrating with Gravity Forms so you don’t have to do a lot of the form/database handling.
Forum: Fixing WordPress
In reply to: DIfference in header on index.php and single.phpI have installed Google Fonts on my site– where did you add the google web font styles?
It looks like it’s in your theme’s header.php or possibly in functions.php.
Forum: Fixing WordPress
In reply to: Altering linksSee http://codex.wordpress.org/Moving_WordPress for how to create an export using phpMyAdmin.
Forum: Fixing WordPress
In reply to: new WP_Query and WHERETo exclude posts from an author with an id of 1 use:
$news = new WP_Query('post_type=news&post_author=-1&orderby=ID&order=ASC');Forum: Fixing WordPress
In reply to: All Pages directing to BlogIs there a call to
<?php query_posts() ?>in your theme’s header.php, functions.php, or page.php?Adding .swf files is not a default WordPress feature, look into a plugin like http://wordpress.org/extend/plugins/tinymce-advanced/ or http://wordpress.org/extend/plugins/kimili-flash-embed/
Forum: Fixing WordPress
In reply to: new to wp: creating a custom pageForum: Fixing WordPress
In reply to: DIfference in header on index.php and single.phpChange:
h1 { font-family: 'Bentham', arial, serif; }to:
h1, #header #title { font-family: 'Bentham', arial, serif; }Forum: Fixing WordPress
In reply to: How to create custom database tables and form query in WordPressYou shouldn’t need to create new database tables if you use Custom Post Types
Forum: Fixing WordPress
In reply to: blank white page (please help)Which theme are you using? Are you running PHP5 on the MediaTemple site?
Forum: Fixing WordPress
In reply to: simple math in loopYou could use get_children for each of the parent posts, something like:
$parent_id = 7; $child_pages_args = array( 'post_parent' => $parent_id, 'post_type' => 'page', 'numberposts' => -1, 'post_status' => 'published' ); $child_pages = get_children( $child_pages_args ); $child_pages_count = count($child_pages);You may also want to use a Transient so you’re not querying the database on each page load.
Forum: Fixing WordPress
In reply to: Header image appearing on attachment pagesCan you post a link to your site?
Forum: Fixing WordPress
In reply to: remove video embed link from home page feedThe easiest thing might be to copy the first sentence of the post into the Excerpt field.
Forum: Fixing WordPress
In reply to: Related posts thumbnail not showing upAre you setting a featured image for each of your posts (like http://blindivan.com/2011/05/02/kidd-steve-the-flight-to-boston-review-sacbynight/) ?
Forum: Fixing WordPress
In reply to: Whitespace appears only on index pageThe only difference that I can see is that your
<div class="clearFooter"></div>is inside the<div id="wrapper">tag on http://design.enricospada.com/frank/wordpress/ while it’s outside other pages like http://design.enricospada.com/frank/wordpress/frankshome/