nickolasalvarado
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Fixing WordPress
In reply to: get post custom valuesthe problem is that the variable that holds the array never actually gets set into an array. the function is not pulling the values from the database table.
Forum: Fixing WordPress
In reply to: get post custom valuesbump
Forum: Fixing WordPress
In reply to: get post custom valuesbump
Forum: Fixing WordPress
In reply to: Custom Field Troublethat ticket is not the same problem as i am having. this is just not working. i add the custom value and nothing gets written to the database.
Forum: Fixing WordPress
In reply to: Custom Field Troubleit’s still not working. does wordpress keep old versions on hand?
Forum: Fixing WordPress
In reply to: How to display random posts?check the wordpress docs, theres lots of ways to do it.
You would need to edit your static page so have something like this…
<?php $yourquery = new WP_Query();
$yourquery->posts(‘cat=(whatever number category youre using)&order=RAND’);
while($yourquery->have_posts()) : $yourquery->the_post(); setup_postdata($yourquery); ?>DO SOMETHING HERE
<?php endwhile; ?>
Viewing 6 replies - 1 through 6 (of 6 total)