Title: edwardjs's Replies | WordPress.org

---

# edwardjs

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Democracy Poll] Shortcode Option](https://wordpress.org/support/topic/shortcode-option-12/)
 *  Thread Starter [edwardjs](https://wordpress.org/support/users/edwardjs/)
 * (@edwardjs)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/shortcode-option-12/#post-18211535)
 * I Would like to share my solution that may be added in next version.
 *     ```wp-block-code
       // Added post_id filtering to DemocracyPoll Archive [ democracy-archives post_id="211" ]// output = Archive listing of all polls in selected post#.// modified get_dem_polls() function in theme-functions.php//...if( isset( $rg->post_id ) ){		$postID = $rg->post_id;  			// var created because unable to succesfully use %d in next line..		$WHERE['post_id'] = $wpdb->prepare('WHERE in_posts LIKE "%'. $postID .'%"', (int) $rg->post_id); //array(1,2,3,4,5));		//$WHERE['post_id'] = $wpdb->prepare('WHERE in_posts LIKE  "%\%d%"', (int) $rg->post_id); //array(1,2,3,4,5));}//ADD a post_id parm to the rg object// 'post_id'		 => null, // customization // Does a Text Search via WHERE LIKE// Improvement needed-> value search via SQL WHERE IN;//    needs correct syntax using an Array with,  %d variable substitution
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty-Two] How to make a sticky sidebar or header?](https://wordpress.org/support/topic/how-to-make-a-sticky-sidebar-or-header/)
 *  [edwardjs](https://wordpress.org/support/users/edwardjs/)
 * (@edwardjs)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/how-to-make-a-sticky-sidebar-or-header/#post-16571757)
 * Alvaro, Thanks,
 *  that IS the best easiest solution to use Gutenberg 2022 or 2023 Themes and to
   add a fixed(sticky) main menu, just make the whole header stickyish, Except; 
   I used an inset of 32px for 2023 theme and for 2022 Theme I used -50px 0 0 0 
   and I used a height:45px for 2023 and 115px for 2022 Theme.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Windows Local Machine Sandbox](https://wordpress.org/support/topic/windows-local-machine-sandbox/)
 *  [edwardjs](https://wordpress.org/support/users/edwardjs/)
 * (@edwardjs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/windows-local-machine-sandbox/#post-12033022)
 * I like webmatrix and wordpress but WP needed 5.6 which WM3 no longer offered.
 * Heck, after finding no other solutions i Hacked it a bit & IT works GREAT!!.
 *  Basically , if its looking for 5.3, Ill give it 5.3, or 7.0 dressed to look 
   like 5.3.
 *  I just copied 7.0 into 5.3 IISExpress/PHP dirs. ENJOY…its working good for me…
   YEA!!!

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