Title: bluedrag's Replies | WordPress.org

---

# bluedrag

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 83 total)

1 [2](https://wordpress.org/support/users/bluedrag/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/bluedrag/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/bluedrag/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/bluedrag/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/bluedrag/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/bluedrag/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can’t edit PHP files due to “inability to check for fatal errors”](https://wordpress.org/support/topic/cant-edit-php-files-due-to-inability-to-check-for-fatal-errors/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cant-edit-php-files-due-to-inability-to-check-for-fatal-errors/#post-11763445)
 * Hmm.. looking in troubleshoot mode, I am still having the issue when using the
   2019 theme and disabling all plugins.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can’t edit PHP files due to “inability to check for fatal errors”](https://wordpress.org/support/topic/cant-edit-php-files-due-to-inability-to-check-for-fatal-errors/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cant-edit-php-files-due-to-inability-to-check-for-fatal-errors/#post-11763375)
 * Thank you for the advice, this is what was found:
 * > [View post on imgur.com](https://imgur.com/a/wD3fvI1)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can’t view post category page](https://wordpress.org/support/topic/cant-view-post-category-page/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cant-view-post-category-page/#post-11760415)
 * Hmm.. strangely enough this worked for the news category page (english and french)
   and the french artists category page.. but not the english artists category page.
 * Edit: Another note, setting permalinks to plain also does not fix the issue.
    -  This reply was modified 6 years, 9 months ago by [bluedrag](https://wordpress.org/support/users/bluedrag/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Just Updated from PHP5 to PHP7, having issues](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/#post-11608774)
 * Another update: I have tried increasing my memory_limit to 256M and post_max_size
   64M, this did not fix the issue
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Just Updated from PHP5 to PHP7, having issues](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/#post-11608318)
 * An update: I am able to update posts and pages that have been previously created.
   The issue is only with creating new posts and uploading new media to the media
   library.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Just Updated from PHP5 to PHP7, having issues](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/#post-11608040)
 * Thanks for the info. Looks like MySQL is installed. I am seeing this on the phpinfo()
   page:
 * Client API library version mysqlnd 5.0.12-dev
 * I guess I am running an older version than I thought?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Just Updated from PHP5 to PHP7, having issues](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/just-updated-from-php5-to-php7-having-issues/#post-11600894)
 * Do you know which version of MySQL you are running on your server?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Page “wont redirect correctly” in secondary language](https://wordpress.org/support/topic/page-wont-redirect-correctly-in-secondary-language/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/page-wont-redirect-correctly-in-secondary-language/#post-11118636)
 * I’ve fixed the issue! my old qTranslate plugin was conflicting. I disabled it
   and found all the qTranslate functions I’d previously put in my theme templates
   and we’re up and running again.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Creating Languages in Polylang Issue](https://wordpress.org/support/topic/creating-languages-in-polylang-issue/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/creating-languages-in-polylang-issue/#post-10789880)
 * I am, I have posted this there as well.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Changing category Archives as category title](https://wordpress.org/support/topic/changing-category-archives-as-category-title/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/changing-category-archives-as-category-title/#post-10150660)
 * Thanks! This worked.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Changing language resets to home page](https://wordpress.org/support/topic/changing-language-resets-to-home-page/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/changing-language-resets-to-home-page/#post-10147211)
 * I see now that the reason this was not working properly is because my post categories
   were not paired with a post category in the other language. I noticed this after
   seeing it work properly on regular posts and pages.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Conditionally display code based on active language in template](https://wordpress.org/support/topic/conditionally-display-code-based-on-active-language-in-template/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/conditionally-display-code-based-on-active-language-in-template/#post-10147075)
 * I was able to solve this issue with the following code:
 *     ```
          	<?php 
                       if(pll_current_language() == 'en') {
                           echo 'Only in english';
                       } else if(pll_current_language() == 'fr') {
                           echo echo 'Seulment en francais'; 
                       }  
               ?>
       ```
   
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Displaying Posts in Alphabetical Order](https://wordpress.org/support/topic/displaying-posts-in-alphabetical-order/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/displaying-posts-in-alphabetical-order/#post-10096149)
 * Thanks bcworkz 🙂
 * I was actually able to solve the issue by adding category_name => artists to 
   the code:
 *     ```
       $args = array('posts_per_page' => -1, 'orderby'=> 'title', 'order' => 'ASC', 'category_name' => 'artists');
       				$artistsPosts = get_posts($args); 
       ```
   
 * Appreciate all the help!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Displaying Posts in Alphabetical Order](https://wordpress.org/support/topic/displaying-posts-in-alphabetical-order/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/displaying-posts-in-alphabetical-order/#post-10092030)
 * Hi bcworkz,
 * Thank you so much for your in depth response! I am definitely on the right track
   now. The only issue I seem to be having is, posts from seperate categories are
   showing on my category page. This leaves me to believe the `if (is_category('
   artists'))` is not working properly. The category is called Artists (the slug
   is artists) Do you have any insight into why this may not be working properly?
 * Here is the whole category.php page:
 *     ```
       <?php
       /**
        * The template for displaying Category Archive pages.
        */
   
       get_header(); ?>
       	<h1><?php single_cat_title(); ?></h1>
   
       	<div id="artist-grid" role="main">
       		<?php // we add this, to show all posts in our category sorted alphabetically
       			if (is_category('artists')) {
       				$args = array('posts_per_page' => -1, 'orderby'=> 'title', 'order' => 'ASC');
       				$artistsPosts = get_posts($args); 
       			} ?>
   
       		<?php global $post; ?>
   
       		<?php foreach($artistsPosts as $post) :	setup_postdata($post); ?>
       			<a class="product_thumbnail" href="<?php the_permalink() ?>">
       				<?php //the_post_thumbnail grabs the post's "featured image" this feature has added theme support in the child theme functions.php ?>
       				<?php the_post_thumbnail('thumbnail', array('class' => 'thumbnail')); ?>
   
       				<figcaption class="post_caption">
       					<h1><?php the_title(); ?></h1>	
       				</figcaption>
       			</a> <!-- product_thumbnail -->
       		<?php endforeach; ?>
   
       			<div class="clear"></div>
   
       	</div><!-- #artist-grid -->
   
       <?php get_footer(); ?>
       ```
   
 * Again, thank you for your detailed response!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Displaying Posts in Alphabetical Order](https://wordpress.org/support/topic/displaying-posts-in-alphabetical-order/)
 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/displaying-posts-in-alphabetical-order/#post-10091816)
 * Could you please be more specific? Possibly give me an example of how that would
   work in code? I appreciate your help but programming is not my strong suit.

Viewing 15 replies - 1 through 15 (of 83 total)

1 [2](https://wordpress.org/support/users/bluedrag/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/bluedrag/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/bluedrag/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/bluedrag/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/bluedrag/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/bluedrag/replies/page/2/?output_format=md)