Title: dor's Replies | WordPress.org

---

# dor

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] Querying connections by their fields ?](https://wordpress.org/support/topic/plugin-posts-2-posts-querying-connections-by-their-fields/)
 *  Thread Starter [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-querying-connections-by-their-fields/#post-2369309)
 * Yes, thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] Querying connections by their fields ?](https://wordpress.org/support/topic/plugin-posts-2-posts-querying-connections-by-their-fields/)
 *  Thread Starter [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-querying-connections-by-their-fields/#post-2369308)
 * Wow, thank you. I’ll try and respond.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [YouTube video only with link](https://wordpress.org/support/topic/youtube-video-only-with-link/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [15 years ago](https://wordpress.org/support/topic/youtube-video-only-with-link/#post-2119384)
 * I’m doing it with my re.place .)
 * [http://wordpress.org/extend/plugins/replace/](http://wordpress.org/extend/plugins/replace/)
 * Using smth like `YouTube(1JYrOMK1aDA)` in my posts.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Categories problem — index.php everywhere](https://wordpress.org/support/topic/categories-problem-indexphp-everywhere/)
 *  Thread Starter [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/categories-problem-indexphp-everywhere/#post-2056399)
 * Sorry, that was SimpleTags related issue:
 * [http://wordpress.org/support/topic/category-permalinks-after-31-upgrade-not-working](http://wordpress.org/support/topic/category-permalinks-after-31-upgrade-not-working)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[re.place] [Plugin: re.place] $options_url; WP 3.1 Multisite problem & preg_replace() '/'](https://wordpress.org/support/topic/plugin-replace-wrong-path-options_url-for-wp-31-multisite/)
 *  Plugin Author [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-replace-wrong-path-options_url-for-wp-31-multisite/#post-1915691)
 * Thank you for report, i’ll upgrade “testbed” to 3.1 and check it asap.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to keep active class in main navigation when single post is viewed?](https://wordpress.org/support/topic/how-to-keep-active-class-in-main-navigation-when-single-post-is-viewed/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/how-to-keep-active-class-in-main-navigation-when-single-post-is-viewed/#post-1498824)
 * “Blog” in the first post is in class “current_page_item” while in the “blog” 
   page in is in class “current_page_parent”. All is well.
 * You need to modify either style.css or header.php.
 * style.css would be better place for that.
 * Something like this (“not tested”, be sure):
    div#navigation div.menu li.current_page_parent{/*
   copy something from definitions for li.current_page_item */ }
 * HTH,
 * /dor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: re.place] Should work with diacritics](https://wordpress.org/support/topic/plugin-replace-should-work-with-diacritics/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-replace-should-work-with-diacritics/#post-1436810)
 * Mmmm… It creates _table_, not DB. It does not touch a collation for this table.
 * So, your table will always be created with DB’s collation, won’t it?
 * (I’m using “foreign language” actually,-)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Text / Link replacer?](https://wordpress.org/support/topic/text-link-replacer/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/text-link-replacer/#post-1323379)
 * Well, yes, you can use `re.place`:
    [http://wordpress.org/extend/plugins/replace/](http://wordpress.org/extend/plugins/replace/)
 * But it is not a tool for _link_ replacement, so it can be a bit a difficult task…
   and not optimal, of course.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Plugin to insert content that I can update later in every post?](https://wordpress.org/support/topic/plugin-to-insert-content-that-i-can-update-later-in-every-post/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-to-insert-content-that-i-can-update-later-in-every-post/#post-1287894)
 * I guess `single.php` _is_ the template for posts?..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[plugin: re.place] error code in page](https://wordpress.org/support/topic/plugin-replace-error-code-in-page/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-replace-error-code-in-page/#post-1269048)
 * Hi 🙂
 * Please, what you are using as search pattern and replace pattern?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [automatic text replace needed](https://wordpress.org/support/topic/automatic-text-replace-needed/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/automatic-text-replace-needed/#post-1254896)
 * Try `http://wordpress.org/extend/plugins/replace/`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Comment form link](https://wordpress.org/support/topic/comment-form-link/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comment-form-link/#post-1184037)
 * Yes, that’s being used in `archive.php`, exactly.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [show Posts in multiple Categories](https://wordpress.org/support/topic/show-posts-in-multiple-categories/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/show-posts-in-multiple-categories/#post-1184438)
 * I guess first you need to decide *where* you’d like to see this (which template
   to use/edit), then you can use `query_posts()` to query posts in different categories.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change message “Error establishing a database connection”](https://wordpress.org/support/topic/how-to-change-message-error-establishing-a-database-connection/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/how-to-change-message-error-establishing-a-database-connection/#post-1183855)
 * Thank you **whooami**.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom content if page is subpage of specific page](https://wordpress.org/support/topic/custom-content-if-page-is-subpage-of-specific-page/)
 *  [dor](https://wordpress.org/support/users/dor/)
 * (@dor)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/custom-content-if-page-is-subpage-of-specific-page/#post-1183854)
 * I believe you can check in this way:
 *     ```
       if ( $post->post_parent == 3 ) { // replace with needed paretn ID
         // show social links
       } else {
         // do not show them
       }
       ```
   
 * Sorry.. am i understood your question properly?-)

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

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