Title: brunning's Replies | WordPress.org

---

# brunning

  [  ](https://wordpress.org/support/users/brunning/)

 *   [Profile](https://wordpress.org/support/users/brunning/)
 *   [Topics Started](https://wordpress.org/support/users/brunning/topics/)
 *   [Replies Created](https://wordpress.org/support/users/brunning/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/brunning/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/brunning/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/brunning/engagements/)
 *   [Favorites](https://wordpress.org/support/users/brunning/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modified WP index, now unable to view posts](https://wordpress.org/support/topic/modified-wp-index-now-unable-to-view-posts/)
 *  Thread Starter [brunning](https://wordpress.org/support/users/brunning/)
 * (@brunning)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/modified-wp-index-now-unable-to-view-posts/#post-1650328)
 * ok, update:
 * it’s the current theme’s index.php and my code appears as so:
 *     ```
       <?php get_header(); ?>
   
       	<div id="content">
   
       <?php query_posts('cat=-3&showposts='.get_option('posts_per_page')); ?>
   
       	<?php if (have_posts()) : ?>
   
       		<?php while (have_posts()) : the_post(); ?>
   
       		<div class="post">
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modified WP index, now unable to view posts](https://wordpress.org/support/topic/modified-wp-index-now-unable-to-view-posts/)
 *  Thread Starter [brunning](https://wordpress.org/support/users/brunning/)
 * (@brunning)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/modified-wp-index-now-unable-to-view-posts/#post-1650271)
 * whatever index.php appears in the WP console editor, I assume it’s the blog’s/
   index.php
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [using javascript: links](https://wordpress.org/support/topic/using-javascript-links/)
 *  Thread Starter [brunning](https://wordpress.org/support/users/brunning/)
 * (@brunning)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/using-javascript-links/#post-288416)
 * the href of the link i want to get in there is:
 * `
    openWindow('contact.php','contact','status=no,scrollbars=yes,resizable=yes,
   width=400,height=550');
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [using javascript: links](https://wordpress.org/support/topic/using-javascript-links/)
 *  Thread Starter [brunning](https://wordpress.org/support/users/brunning/)
 * (@brunning)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/using-javascript-links/#post-288413)
 * whoops!
 * my html links look like this:
 * `
    a href="javascript:function(var,var,var);"
 * any way to translate this to the WP sidebar?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [using javascript: links](https://wordpress.org/support/topic/using-javascript-links/)
 *  Thread Starter [brunning](https://wordpress.org/support/users/brunning/)
 * (@brunning)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/using-javascript-links/#post-288412)
 * whoops!
 * my html links look like this:
 * `
    a href="javascript:function(var,var,var);"
 * any way to translate this to the WP sidebar?

Viewing 5 replies - 1 through 5 (of 5 total)