Title: phpchick's Replies - page 2 | WordPress.org

---

# phpchick

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

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

 Search replies:

## Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)

[←](https://wordpress.org/support/users/phpchick/replies/?output_format=md) [1](https://wordpress.org/support/users/phpchick/replies/?output_format=md)
2

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [simple syntax issue of hardcoded value vs GET variable](https://wordpress.org/support/topic/simple-syntax-issue-of-hardcoded-value-vs-get-variable/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/simple-syntax-issue-of-hardcoded-value-vs-get-variable/#post-3178820)
 * Could this be an issue with the database?
 * I feel like the above should work
 * typing in the string works, but the identical string given through a variable
   doesn’t. The var_dump suggests that they are identical from what I can see. Anyone
   have any insight?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [simple syntax issue of hardcoded value vs GET variable](https://wordpress.org/support/topic/simple-syntax-issue-of-hardcoded-value-vs-get-variable/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/simple-syntax-issue-of-hardcoded-value-vs-get-variable/#post-3178793)
 * And here is %_GET by itself
 * array(5) {
    [“category”]=> string(5) “beats” [“date”]=> string(1) “4” [“sector”]
   => string(10) “Financials” [“expected_deviation”]=> string(8) “Moderate” [“expected_outlook”]
   => string(7) “Neutral” }
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [simple syntax issue of hardcoded value vs GET variable](https://wordpress.org/support/topic/simple-syntax-issue-of-hardcoded-value-vs-get-variable/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/simple-syntax-issue-of-hardcoded-value-vs-get-variable/#post-3178789)
 * I did
 * `var_dump($_GET['sector']);`
 * and out went
 * string(10) “Financials”
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Displaying posts where a certain custom field is equal to a GET variable](https://wordpress.org/support/topic/displaying-posts-where-a-certain-custom-field-is-equal-to-a-get-variable/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/displaying-posts-where-a-certain-custom-field-is-equal-to-a-get-variable/#post-3177079)
 *     ```
       $args = array(
       	'post_type' => 'earnings', // use to be stock
       	'posts_per_page' => 1,
       	'offset' => $_GET['offset'],
       	'meta_query' => array(
                   array(
       			'key' => 'sector',
       			'value' => $_GET['sector'],
       			'compare' => '='
       			))
       );
       ```
   
 * It still doesn’t work even with the compare line
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Displaying posts where a certain custom field is equal to a GET variable](https://wordpress.org/support/topic/displaying-posts-where-a-certain-custom-field-is-equal-to-a-get-variable/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/displaying-posts-where-a-certain-custom-field-is-equal-to-a-get-variable/#post-3177067)
 * So I’m starting to figure it out.
 * I changed the code to below and it works. However, obviously, the value is hard
   coded in.
 *     ```
       $args = array(
       	'post_type' => 'earnings', // use to be stock
       	'posts_per_page' => 1,
       	'offset' => $_GET['offset'],
       		'meta_query' => array(
                               array(
       			'key' => 'sector',
       			'value' => 'Healthcare'
       			))
       );
       ```
   
 * If I try to have it pull from the GET variable in the URL like below, it does
   not work.
 *     ```
       $args = array(
       	'post_type' => 'earnings', // use to be stock
       	'posts_per_page' => 1,
       	'offset' => $_GET['offset'],
       		'meta_query' => array(
                               array(
       			'key' => 'sector',
       			'value' => $_GET['sector']
       			))
       );
       ```
   
 * At this point I’m sure it is a layup, can anyone see any syntax issues?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Creating a clean independent page within wordpress](https://wordpress.org/support/topic/creating-a-clean-independent-page-within-wordpress/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/creating-a-clean-independent-page-within-wordpress/#post-3176387)
 * Yes, this is exactly what I was looking for, I just did not know how wordpress
   structures itself. Thank you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Suggestions on organization – story vs home](https://wordpress.org/support/topic/suggestions-on-organization-story-vs-home/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/suggestions-on-organization-story-vs-home/#post-3160491)
 * I may want to include more than only that specific post type in this “mini-homepage”
   though.
 * Archives by default only display one type of post right?
 * In addition it is dynamically generated by the URL it seems like, so a user could
   arrive at a archive page with no stock just by modifying the URL. It doesn’t 
   seem like a good idea for SEO purposes either since it is only one URL with dynamically
   generated content?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help with identifying function of this snippet?](https://wordpress.org/support/topic/help-with-identifying-function-of-this-snippet/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/help-with-identifying-function-of-this-snippet/#post-3159826)
 * I replaced the above portion with
 *     ```
       if ($_GET['symbol']) {
       		$args['meta_query'][] = array(
       			'key' => 'symbol',
       			'value' => $_GET['symbol'],
       			'compare' => '='
       		);
       	}
       ```
   
 * and it seems to work
 * _[[No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping), thank you.]_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Facebook Comments for WordPress] Doesn’t work for me](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/)
 *  [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/page/6/#post-1494140)
 * The anonymous posting still does not work yet. has facebook yet to fix it or 
   is it something with the plugin?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Make wp_tag_cloud know when a tag is outdated](https://wordpress.org/support/topic/make-wp_tag_cloud-know-when-a-tag-is-outdated/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/make-wp_tag_cloud-know-when-a-tag-is-outdated/#post-1867753)
 * anybody?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Facebook Comments for WordPress] Doesn’t work for me](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/)
 *  [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/page/6/#post-1494138)
 * that looked like it did the trick
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Facebook Comments for WordPress] Doesn’t work for me](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/)
 *  [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/page/5/#post-1494136)
 * `<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:
   like href=<?php echo urlencode(get_permalink($post->ID)); ?> layout="button_count"
   show_faces="false" width="30" font="arial"></fb:like>`
 * this is the one Im using on the site, in the singe.php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Facebook Comments for WordPress] Doesn’t work for me](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/)
 *  [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-doesnt-work-for-me/page/5/#post-1494134)
 * I had 1.52 and everything was working fine except for anonymous posts not working(
   but I believe you said it was broken on facebooks end).
 * Then I saw the update to 1.6 so I thought it might have been fixed.
 * I did an automatic install, and the plugin doesn’t work at all now.
 * On the posts, the “loading” splash is displayed indefinitely.
 * I’m on WP 3.04
 * And I should note that I have the default facebook like button code from FB on
   the page, as well as the Addthis widget
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Make wp_tag_cloud know when a tag is outdated](https://wordpress.org/support/topic/make-wp_tag_cloud-know-when-a-tag-is-outdated/)
 *  Thread Starter [phpchick](https://wordpress.org/support/users/phpchick/)
 * (@phpchick)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/make-wp_tag_cloud-know-when-a-tag-is-outdated/#post-1867576)
 * the post in that link says that the man is using “the text2tag plugin (this plugin
   adds all postcontent to a custom taxonomy as tags)”.
 * Do I have to install that plugin for any of those codes to work ?

Viewing 14 replies - 16 through 29 (of 29 total)

[←](https://wordpress.org/support/users/phpchick/replies/?output_format=md) [1](https://wordpress.org/support/users/phpchick/replies/?output_format=md)
2