Query page: preserve page formating

You’re comparing apples to oranges here. Both queries do the exact same thing, but are presented through different code. Your query: <?php $my_postid = 663;//This is page id or post id $content_post = get_post($my_postid); $content = $content_post->post_content; $content = apply_filters(‘the_content’, $content); $content = str_replace(‘]]>’, ‘]]>’, $content); echo $content; ?> Merely pulls some content out of … Read more

How do I create a page that displays the homepage?

Download the index.php theme file to your local hard drive. Create a copy of the index.php and name it home.php. Upload the home.php theme file to your theme directory. Go to Reading Settings (Settings > Reading) page in the WordPress dashboard. Select the Your latest posts option and click on the Save Changes button. Any … Read more

Display multiple page contents under single page

This is really pretty trivial to implement. A few minutes with the Codex should solve the problem, really. $args = array( ‘post_type’ => ‘page’, ‘posts_per_page’ => -1, ); $q = new WP_Query($args); if ($q->have_posts()) { while ($q->have_posts()) { $q->the_post(); the_title(); the_content(); } } Any additional markup and formatting (CSS), of course, is up to you.

Edit the text location of a form

Inspect the text in your browser by right clicking it and picking Inspect. This should open up a window where you can adjust the CSS for all the elements on the page. You will need to play around with what needs changed. Once you figured out what needs to change, you can copy the new … Read more

WordPress is picking up links that don’t exist

Your site has many issues, firstly your jquery is not loading correctly. If I look at what your server is giving me I expected to find a minimised copy of jquery, instead I got a html meta refresh tag. Because of this, I then get around 10 errors caused by a missing jquery library. Then, … Read more