Title: amar404's Replies | WordPress.org

---

# amar404

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding Posts to a static site](https://wordpress.org/support/topic/adding-posts-to-a-static-site/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-posts-to-a-static-site/#post-5008817)
 * Take a look at your query parameter **WP_Query**. You supplied ID for category.
   If you want to use ID, use `cat=1`. If you want to use category_name, use category
   slug like `category_name=news`
 * For example :
 *     ```
       <div class="area1">
         <?php
             $args = array(
       	'post_type'     => 'post',
       	'category_name' => 'review'
             );
   
       	$query1 = new WP_Query( $args );
   
       	while($query1->have_posts()) : $query1->the_post();
       		the_title();
       	endwhile;
   
       	wp_reset_postdata();
         ?>
       </div>
   
       <div class="area2">
         <?php
             $args = array(
       	'post_type'     => 'post',
       	'category_name' => 'news'
             );
   
       	$query2 = new WP_Query( $args );
   
       	while($query2->have_posts()) : $query2->the_post();
       		the_title();
       	endwhile;
   
       	wp_reset_postdata();
         ?>
       </div>
   
       <div class="area3">
         <?php
             $args = array(
       	'post_type'     => 'post',
       	'category_name' => 'review'
             );
   
       	$query3 = new WP_Query( $args );
   
       	while($query3->have_posts()) : $query3->the_post();
       		the_title();
       	endwhile;
   
       	wp_reset_postdata();
         ?>
       </div>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding Posts to a static site](https://wordpress.org/support/topic/adding-posts-to-a-static-site/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-posts-to-a-static-site/#post-5008808)
 * Ok, I understand now. The way you can achieve this by creating 3 categories. 
   And then using [WP_Query](http://codex.wordpress.org/WP_Query) to loops for each
   categories.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom page template for single image and fixed sections of text](https://wordpress.org/support/topic/custom-page-template-for-single-image-and-fixed-sections-of-text/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/custom-page-template-for-single-image-and-fixed-sections-of-text/#post-5008759)
 * That’s require a lot of work, start from define post thumbnail image, see this
   [Post_Thumbnails](http://codex.wordpress.org/Post_Thumbnails).
 * I assumed you already have custom post type for event. Basically you need to 
   do custom wordpress query for custom post types. See this for details [WP_Query](http://codex.wordpress.org/WP_Query).
   After that you can use returned data like normal post. I’m sorry but I can’t 
   explain more detail.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Change the Color of the Title and menu](https://wordpress.org/support/topic/change-the-color-of-the-title-and-menu/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/change-the-color-of-the-title-and-menu/#post-5008758)
 * Hi, before proceed, please do all modification in child theme. Please see this
   for more details [Child_Themes](http://codex.wordpress.org/Child_Themes).
 * Ok, all modification can be done in file called **style.css**. It’s in your theme
   folder. Add this rule at the bottom of the file.
 * **For text under logo**
    `#site-name a { color: #000099; }`
 * For menu boxes
 *     ```
       #nav a {
       background: [your bg color];
       color: [your menu color];
       }
       ```
   
 * **For current menu style**
 *     ```
       .current_menu_item > a, .current_page_item > a {
       background: [color];
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Serene] Showing Post image on Homepage](https://wordpress.org/support/topic/showing-post-image-on-homepage/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/showing-post-image-on-homepage/#post-5008754)
 * Yes, it’s possible. However you need to add some code in your content.php to 
   display post thumbnails. Here is the reference –
 * [Post_Thumbnails](http://codex.wordpress.org/Post_Thumbnails)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Fourteen] Theme displayed in the center of the screen](https://wordpress.org/support/topic/theme-displayed-in-the-center-of-the-screen/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/theme-displayed-in-the-center-of-the-screen/#post-5008750)
 * First, you should do this in your child theme. But you said don’t have access
   to server so I assume you can only do it in your wp dashboard.
 * You can edit in admin dashboard. Appearance->Editor. Find file style.css and 
   add at the bottom
 *     ```
       .site {
       margin: 0 auto;
       }
       ```
   
 * But please remember once you updated your theme in the future, yo will lose all
   the changes.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to create a drop-down menu with unlinked top](https://wordpress.org/support/topic/how-to-create-a-drop-down-menu-with-unlinked-top/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-create-a-drop-down-menu-with-unlinked-top/#post-5008428)
 * In your menu, create link menu. Put # sign fro the URL and type your menu name.
   For example product. Then add menu with page below your previouly created menu.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adding Posts to a static site](https://wordpress.org/support/topic/adding-posts-to-a-static-site/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-posts-to-a-static-site/#post-5008747)
 * For question 1, I don’t know what your intention. Can you be more specific?
 * For question 2, you can remove date stamp, author, comment by editing content.
   php. See this video [](http://www.youtube.com/watch?v=9ERDy26W0oo)
 * For question 3, in content.php, simply remove a tag with href the_permalink().
   Leave only the_title() in h1 tag.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Admin has walked away](https://wordpress.org/support/topic/admin-has-walked-away-help/)
 *  [amar404](https://wordpress.org/support/users/amar404/)
 * (@amar404)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/admin-has-walked-away-help/#post-5008746)
 * You can restore back your wordpress installation if you have backup database .
   sql and folders inside wp-content for media uploads and themes. It require changing
   some database settings for the new URL. Please let me know if you need any help
   regarding this matter.
 * Thanks.

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