Title: mattread's Replies | WordPress.org

---

# mattread

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/mattread/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mattread/replies/page/3/?output_format=md)…
[10](https://wordpress.org/support/users/mattread/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/mattread/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/mattread/replies/page/12/?output_format=md)
[→](https://wordpress.org/support/users/mattread/replies/page/2/?output_format=md)

 *   Forum: [Your WordPress](https://wordpress.org/support/forum/your-wordpress/)
   
   In reply to: [Critique please](https://wordpress.org/support/topic/critique-please-3/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/critique-please-3/#post-497188)
 * [http://www.informationarchitects.jp/100e2r](http://www.informationarchitects.jp/100e2r)
 * 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Plugin Activation Problem](https://wordpress.org/support/topic/plugin-activation-problem-3/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/plugin-activation-problem-3/#post-479184)
 * check your error log. Usually found through cpanel… or sometimes in your public_html
   dir
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Connecting to a remote WP installation](https://wordpress.org/support/topic/connecting-to-a-remote-wp-installation/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/connecting-to-a-remote-wp-installation/#post-487623)
 * use XML-RPC. 😉
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [MagpieRSS doesn’t cache](https://wordpress.org/support/topic/magpierss-doesnt-cache/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/magpierss-doesnt-cache/#post-481455)
 * The magpie included with wordpress caches it’s data in the database, in the options
   table.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Theme: Durable – Fatal error: Cannot redeclare time_since()](https://wordpress.org/support/topic/theme-durable-fatal-error-cannot-redeclare-time_since/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/theme-durable-fatal-error-cannot-redeclare-time_since/#post-396377)
 * Tell the theme author to USE UNIQUE FUNCTION NAMES!!!!!
 *   Forum: [Your WordPress](https://wordpress.org/support/forum/your-wordpress/)
   
   In reply to: [New Blog in Need of Review](https://wordpress.org/support/topic/new-blog-in-need-of-review/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/new-blog-in-need-of-review/#post-485274)
 * These are just of my immediate thoughts …
 * 1) as mpgeorge said, the header image is rather large. The “best” portion of 
   any page, to display the most important content, is the top.
 * 2) Where am I? On the “Home Page”, I see your first blog post, but the description
   of your site is way over on the right, all “smushed” up. This is the home page,
   so a nice concise description would be nice, right up front.
 * 3) The header is not a link. It’s standard nowadays for the header to be a link
   back to the homepage.
 * 4) (my personal preference) the left margin is kind of small. Think about a piece
   of paper, the left margin is quite big and makes it easier to read. the black
   so close to your text on the left is distracting.
 * 5) When I get to the bottom of the page, where do I go? your navigation is st
   the top, but nothing at the bottom. A “back to top” would be nice. Even after
   the post content in a single post view; If the user doesn’t want to read the 
   comments, give them somewhere to go.
 * But overall the design is really quite nice. Good big font size (although sans-
   serif is easier to read on-screen), well spaced out sections and headers. Good
   job.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [add_submenu_page and class=”current” not working](https://wordpress.org/support/topic/add_submenu_page-and-classcurrent-not-working/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/add_submenu_page-and-classcurrent-not-working/#post-451265)
 * it is because (sorry to all my english teachers for that one) all your menus 
   point to the same page, `__FILE__`. thus when WP sets the “current page” it will
   be set to the filename of your plugin, and the Books menu, which comes first,
   will be highlighted (current).
 * The solution is to put each of those sub menu pages in seperate files. like add-
   book.php and book-cats.php, or something like that. Then link your menus to those
   files. The main menu item, ‘Book’, can be handled by your main plugin file…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Call to undefined function: bloginfo() in … /index.php on line 5](https://wordpress.org/support/topic/call-to-undefined-function-bloginfo-in-indexphp-on-line-5/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/call-to-undefined-function-bloginfo-in-indexphp-on-line-5/#post-353837)
 * Did you upload to the index.php in the main wordpress install directory? If so
   makes sure have the correct include and constant in there, like:
 * `define('WP_USE_THEMES', false);
    require('./wp-blog-header.php');
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Do I exist – User SQL error](https://wordpress.org/support/topic/do-i-exist-user-sql-error/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/do-i-exist-user-sql-error/#post-390492)
 * I would say that you most definitely exist…. strange question though 😐
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to insert post slug name into post?](https://wordpress.org/support/topic/how-to-insert-post-slug-name-into-post/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/how-to-insert-post-slug-name-into-post/#post-379969)
 * yes. you can hook into [`sanitize_title`](http://wphooks.flatearth.org/hooks/sanitize_title/).
   I beleive the default function that filters it in wp is [`sanitize_title_with_dashes`](http://redalt.com/fn/523).
   you can `remove_filter()` that and create your own “sanitize” filter (afaik).
 * I now MarkJaquith did a [plugin](http://trac.wordpress.org/ticket/1972)
    to allow
   periods in slugs.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Get_Post Hook available?](https://wordpress.org/support/topic/get_post-hook-available/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/get_post-hook-available/#post-379757)
 * `the_posts` hook might be what you are looking for.
    [http://wphooks.flatearth.org/hooks/the_posts/](http://wphooks.flatearth.org/hooks/the_posts/)
 * You can always use the `$posts` array too. like:
 * `$posts[0]->ID`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to insert post slug name into post?](https://wordpress.org/support/topic/how-to-insert-post-slug-name-into-post/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/how-to-insert-post-slug-name-into-post/#post-379755)
 * `<?php echo $post->post_name; ?>` is one way.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Spam Karma 2 > fetching # of spam from DB](https://wordpress.org/support/topic/spam-karma-2-gt-fetching-of-spam-from-db/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/spam-karma-2-gt-fetching-of-spam-from-db/#post-379753)
 * This plugin might help you figure out the query:
 * [http://mattread.com/projects/wp-plugins/spam-karma-2-stats/](http://mattread.com/projects/wp-plugins/spam-karma-2-stats/)
 * The plugin hasn’t been updated cause the stats are now built in, but it should
   help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Congratulations wordpress you made mysql a tedious affair :(](https://wordpress.org/support/topic/congratulations-wordpress-you-made-mysql-a-tedious-affair/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/congratulations-wordpress-you-made-mysql-a-tedious-affair/#post-379749)
 * Are you running the query with the `$wpdb` object. like:
 * `$wpdb->get_results($sql, ARRAY_A);`
 * The `ARRAY_A` tells it to return as an associative array. And remember to `global
   $wpdb` if inside a function.
 * Also that will only work if the `zen_images` table is in the same DB as WP. If
   not you’ll have to create your own `mysql_connect` etc..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pages Converted to Posts](https://wordpress.org/support/topic/pages-converted-to-posts/)
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/pages-converted-to-posts/#post-351409)
 * if you can get a list of the ID’s of the pages, you can do a sql query to change
   the post_type back to page … if you can/want to take the time to find them all,
   we could come with some code for you.
 * OR if you have a backup of the DB before you got the svn, restore it then run
   upgrade on that …
 * ——————————
    Matt Read [http://mattread.com](http://mattread.com)

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

1 [2](https://wordpress.org/support/users/mattread/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mattread/replies/page/3/?output_format=md)…
[10](https://wordpress.org/support/users/mattread/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/mattread/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/mattread/replies/page/12/?output_format=md)
[→](https://wordpress.org/support/users/mattread/replies/page/2/?output_format=md)