Title: modesignz's Replies | WordPress.org

---

# modesignz

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [php if is_category question](https://wordpress.org/support/topic/php-if-is_category-question/)
 *  [modesignz](https://wordpress.org/support/users/modesignz/)
 * (@modesignz)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/php-if-is_category-question/#post-839261)
 * oh yh sorry…i didn’t see that one…thanx 🙂
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [everything is better in this. html ?](https://wordpress.org/support/topic/everything-is-better-in-this-html/)
 *  [modesignz](https://wordpress.org/support/users/modesignz/)
 * (@modesignz)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/everything-is-better-in-this-html/#post-997962)
 * am not very clear on what you’re trying to do, but i’ll have a go
 * seems to me that you’re trying to add the “.html” at the end of the link name
 * Go to Settings > Permalinks and add the .html after the selected permalink
 * e.g.
    instead of /%year%/%monthnum%/%day%/%postname%/
 * have
    /%year%/%monthnum%/%day%/%postname%.html/
 * to have [http://localhost/wordpress/2009/02/23/sample-post.html/](http://localhost/wordpress/2009/02/23/sample-post.html/)
 * Hope this helped 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [php if is_category question](https://wordpress.org/support/topic/php-if-is_category-question/)
 *  [modesignz](https://wordpress.org/support/users/modesignz/)
 * (@modesignz)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/php-if-is_category-question/#post-839259)
 * instead of opening the <?php and closing ?> and then opening another one and 
   closing for each line, why not have one <?php for all the code:
 *     ```
       <?php
       	if (is_category('Category A'))
       	{
   
       		<p>This is the text to describe category A</p>
   
       	}
       	elseif (is_category('Category B'))
       	{
       		<p>This is the text to describe category B</p>
       		<?php
       	}
       	else
       	{
       		<p>This is some generic text to describe all other category pages,
       		I could be left blank</p>
   
       	}
   
       ?>
       ```
   
 * Hope this helped 🙂

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