grfxboy
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Home Page Feature Blocks – How to make them dynamic?Do I need to create a Custom Select Query to search both pages and posts for a custom field value? That’s what I understand from this page: http://codex.ww.wp.xz.cn/Displaying_Posts_Using_a_Custom_Select_Query
Any help would be appreciated.
Forum: Themes and Templates
In reply to: Home Page Feature Blocks – How to make them dynamic?This is what I have so far:
<?php $query = new WP_Query( array ( 'meta_key' => 'feature', 'orderby' => 'meta_value_num', 'order' => 'ASC' )); // The Loop while ($query->have_posts()) : $query->the_post(); ?> <div id="feature1"> <div class="featureContent"> <h4 class="featureHeader"><a href="<?php the_permalink(); ?>"><?php echo get_post_meta($post->ID, 'header', true); ?> >></a></h4> <a href="<?php the_permalink(); ?>"><img src="<?php echo get_post_meta($post->ID, 'thumbnail', true); ?>" border=0></a><br> <?php echo get_post_meta($post->ID, 'blurb', true); ?> </div> </div> <?php endwhile; ?>This is working. But how do I include both posts AND pages in the query? Some features are pages, and some are posts. Currently only the posts are showing.
Forum: Themes and Templates
In reply to: Home Page Feature Blocks – How to make them dynamic?Thanks esmi. I have 5 features on the homepage (http://semnsynod.org). I want to be able to set any post as a feature by using custom fields. So, value=1 would be the feature far left, 2 is next to it, and so on. The title is a custom field. The image is a url in the custom field, and the content for the feature is the excerpt.
So I am thinking I need to
-get posts
-order by custom field feature number
-look for custom field title
-look for custom field image url
-look for excerpt.Am I on the right track or am I going about this all wrong? Thanks.
Forum: Themes and Templates
In reply to: Home Page Feature Blocks – How to make them dynamic?Bump
I am interested in this as well. I know I should run a query post and extract the values from the custom fields. It’s the conditional syntax I’m not good at. Help?
When I use [easysms] on my page, it puts the widget in twice! Once right after the body tag, and once in the content of the page where it should be.
I am using a custom child theme for arras.
Can someone point me in the right direction?
Thanks!
Forum: Plugins
In reply to: [Plugin: Events Calendar] It froze my widgetsAnyone have an alternative to this plugin?
Forum: Plugins
In reply to: [Plugin: Front-end Editor] Text area become very narrowI’ve included solution 1): [215091]
For testing, grab the development version in about 15 minutes.
I have this version (1.7.2) and the problem of narrow edit window in IE8 still exists.
I am having the same issue. Is there a fix coming? It is keeping count correctly in the Analytics page, but the counter will not show unless you click the Share button.
I had the same problem. After uninstalling WP, then deleting the db, I still couldn’t install a new WP. I was getting the same error.
Check for a Dir called .fantasticodata in your root Dir. In there is a file named installed_in_root.php. Open that file and delete the portion that refers to your failed install — should start with a $, and end with a ;
Save that change, and you should be money.