Title: frames's Replies | WordPress.org

---

# frames

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress Admin Subdomain](https://wordpress.org/support/topic/wordpress-admin-subdomain/)
 *  [frames](https://wordpress.org/support/users/frames/)
 * (@frames)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/wordpress-admin-subdomain/#post-740938)
 * I had this _almost_ working 5 minutes ago like this:
 * `http://domain.com/` <<< main site (with blog)
    `http://admin.domain.com/` <<
   < wordpress site
 * The only downside: you’ll no longer be logged in on main site when you log into
   WordPress.
 * Overview of what I did:
    1. Moved WP core files to a different directory
    2. Moved index.php to main directory (1 and 2 more or less [as per here](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
    3. Created subdomain in Apache
    4. Restarted Apache
    5. Went to main site
 * And that was it, basically! I was a little ‘cheaty’ since my admin subdomain 
   was pointing to the main site + /admin, but that should be OK as long as you 
   change that directory (I imagine it would work with any, even above ‘main’ path)
   in index.php.
 * I haven’t been investigating it any further yet (and I’m thinking if I will really
   use it). In fact, I arrived here looking for some info.
 * Apart from not seeying the ‘edit’ and other admin options in main site, everything
   was OK.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [HELP: custom comments link with plugin](https://wordpress.org/support/topic/help-custom-comments-link-with-plugin/)
 *  [frames](https://wordpress.org/support/users/frames/)
 * (@frames)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/help-custom-comments-link-with-plugin/#post-586409)
 * To make things worse, I have found out that the original get_comments_link (as
   expected) is widely used not only in themes, but also in other parts of WordPress.
 * For instance, all the comments feeds (global and per-entry) and even worse, in
   admin sections. If I use a customised function, it will break both the feeds 
   and the admin.
 * Like I said, I don’t know any PHP, but I’d be happy to investigate this if anyone
   can shred some light here.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Top Level Categories with WP 2.5](https://wordpress.org/support/topic/top-level-categories-with-wp-25/)
 *  [frames](https://wordpress.org/support/users/frames/)
 * (@frames)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/top-level-categories-with-wp-25/#post-721030)
 * I have just realized it’s 2.5**.1** you are having issues with. I got the plugin
   working with 2.5. So I have upgraded (BTW, I should have done before, but it’s
   a test system :-). Fortunately or not, looks fine to me.
 * Best of the lucks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [HELP: custom comments link with plugin](https://wordpress.org/support/topic/help-custom-comments-link-with-plugin/)
 *  [frames](https://wordpress.org/support/users/frames/)
 * (@frames)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/help-custom-comments-link-with-plugin/#post-586407)
 * I’m looking for the exact same thing without hacking the core or doing complex
   things.
 * What I simply want to do is change `#comments` for `#comentarios` (in Spanish)
   to the comment links. Looks like _get\_comments\_link_ is the function to change,
   which is in _comment-template.php_ (in the _wp-includes_ directory, of course).
   This is it:
 *     ```
       /**
        * get_comments_link() - Retrieves the link to the current post comments
        *
        * @since 1.5
        *
        * @return string The link to the comments
        */
       function get_comments_link() {
               return get_permalink() . '#comments';
       }
       ```
   
 * As doodlebee points out, defining a new function would work. But, _comments\_popup\
   _link_ makes use of _comments\_link_, which is at the same time making use of
   _get\_comments\_link_ again. That means, if I change the _get\_comments\_link_
   function to, say, _get\_comments\_link\_sp_, then I also have to change _comments\
   _link_ to _comments\_link\_sp_, and finally, _comments\_popup\_link_ to _comments\
   _popup\_link\_sp_. Changing at least one line in each function.
 * Like I say, that works, but it means copying and pasting three functions, then
   changing the code.
 * That’s a nightmare! Seriously, hacking the core would be easier if this is the
   only route. At least I would save the hassle (and possible errors) of copying
   and pasting each time the core code changes.
 * Plus, I think any other plugins or code that would use the ‘standard’ WordPress
   code would not work for me. Which means more _hacking_?
 * Furthermore, there’s other functions to be changed, such as _get\_comment\_link_.
   Again, more pain.
 * I have found out all of this without any PHP knowledge, but I feel there must
   be a way to make all of this much simpler.
 * Any advise or help would be much appreciated.
 * Cheers!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [comments_popup_link in single.php not appearing](https://wordpress.org/support/topic/comments_popup_link-in-singlephp-not-appearing/)
 *  [frames](https://wordpress.org/support/users/frames/)
 * (@frames)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/comments_popup_link-in-singlephp-not-appearing/#post-667941)
 * Actually, while investigating something else, I found this comment on the source
   of the comments_popup_link function:
 * ` * comments_popup_link() - Displays the link to the comments popup window for
   the current post ID.
    * * Is not meant to be displayed on single posts and pages.
   Should be used on the lists of posts
 * So it looks like it must be used outside the single post view. And you should
   not need it. Maybe looking at single.php in some themes would help?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Top Level Categories with WP 2.5](https://wordpress.org/support/topic/top-level-categories-with-wp-25/)
 *  [frames](https://wordpress.org/support/users/frames/)
 * (@frames)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/top-level-categories-with-wp-25/#post-721028)
 * **tydende**, have you tried to go to the permalinks section while administering
   WP and click on Save Changes? (Even if you didn’t actually change anything).
 * Can’t remember if this was it or for a different plugin, but I’d give it a try.
 * Good luck!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Top Level Categories with WP 2.5](https://wordpress.org/support/topic/top-level-categories-with-wp-25/)
 *  [frames](https://wordpress.org/support/users/frames/)
 * (@frames)
 * [18 years ago](https://wordpress.org/support/topic/top-level-categories-with-wp-25/#post-720888)
 * I just registered to say you all guys rock. OSS rocks.
 * I was starting a new site these days using the TLC Plugin, saw that 2.5 was out,
   upgraded and the error hit my face.
 * fil, I can confirm it’s working fine. A big fat thanks for your support.

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