Title: davoscript's Replies | WordPress.org

---

# davoscript

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Types and Custom Fields creator - WCK] Post types and taxonomies not displaing in admin menu](https://wordpress.org/support/topic/post-types-and-taxonomies-not-displaing-in-admin-menu/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/post-types-and-taxonomies-not-displaing-in-admin-menu/#post-5658279)
 * Hi sareiodata! Any way I can help to fix that bug? I need to use the plugin when
   WordPress language is “Spanish”.
 * Thanks in advance and keep the good work.
 * Best regards,
    David.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Invoice King Pro] Can't see invoice in the admin](https://wordpress.org/support/topic/cant-see-invoice-in-the-admin/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/cant-see-invoice-in-the-admin/#post-4384139)
 * That’s right, I had to add “Define Columns” for the plugin to show me the invoice
   content (I filled all the other options first hoping I could create the columns
   latter).
 * Thanks for the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-end Editor] [Plugin: Front-end Editor] Frontend Editor and WordPress MU Domain Mapping plugins](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/)
 *  Thread Starter [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/#post-2555666)
 * Scribu, everytime I try to save a widget’s title change I get the following JS
   error in firebug:
 * in editor.js (and editor.min.js)
 *     ```
       this.save_button is undefined
       this.save_button.click();
       ```
   
 * I checked the JS and noticed that the when I edit the title of a text widget 
   the “start_editing” method from **FrontEndEditor.fieldTypes.group** is used, 
   but then I hit ESC or ENTER the launched functions are defined in the **FrontEndEditor.
   fieldTypes.input** object.
 * You have any tip on how to solve this or where to check?
 * Regards,
    David.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-end Editor] [Plugin: Front-end Editor] Frontend Editor and WordPress MU Domain Mapping plugins](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/)
 *  Thread Starter [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/#post-2555647)
 * Oh, that sounds like a JS conflict to me, have you checked with firebug or something?
   are you using other plugins that might be loading jQuery, Mootools or other libary?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-end Editor] [Plugin: Front-end Editor] Frontend Editor and WordPress MU Domain Mapping plugins](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/)
 *  Thread Starter [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/#post-2555645)
 * Diesel12, you should check if the URLs for the JS and CSS files included by FEE,
   if they are wrong it might be an issue with a filter added by the Mapped Domain
   plugin to try to figure out the new mapped URL.
 * Regards,
    David.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-end Editor] [Plugin: Front-end Editor] Frontend Editor and WordPress MU Domain Mapping plugins](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/)
 *  Thread Starter [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/#post-2555643)
 * Hello praveen88, actually havent seen that, but check this plugin [http://wordpress.org/extend/plugins/quick-post-widget/](http://wordpress.org/extend/plugins/quick-post-widget/)
 * Good luck!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress MU Domain Mapping] WordPress MU Domain Mapping and mu-plugins wrong URLs](https://wordpress.org/support/topic/wordpress-mu-domain-mapping-and-mu-plugins-wrong-urls/)
 *  Thread Starter [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wordpress-mu-domain-mapping-and-mu-plugins-wrong-urls/#post-2558105)
 * You are super-right, I actually was trying to generate the right URL with functions
   from the API, but then I tried this and I was like “ok , perfect” but was too
   sleepy anyway.. haha.
 * The problem that I see is that you can’t do something like grab the whole URL
   and _substr_ the “home ulr” because they are different:
 * In the plugin_url filter you recieve:
    `http://subdomain.mynetwork.com/wp-content/
   mu-plugins/plugin-A/file.js`
 * But all the functions I’ve tried to get wordpress URLs use the mapped domain 
   instead, like:
    `http://mapped-domain.com/wp-content`
 * This makes it hard to substr the first part of the URL 🙁
 * Anyway, I’ll be updating this thread if I have more luck.
 * Thanks a lot for your time Ron, I don’t know if you realize, but sharing some
   lines with you guys, code rockstarts! is just amazing! 😀
 * Regards!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-end Editor] [Plugin: Front-end Editor] Frontend Editor and WordPress MU Domain Mapping plugins](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/)
 *  Thread Starter [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-frontend-editor-and-wordpress-mu-domain-mapping-plugins/#post-2555576)
 * People, I’ve been commeting about this on my website with Scribu [http://davoscript.com/2012/02/07/front-end-editor-and-wordpress-mu-domain-mapping-plugins/#comments](http://davoscript.com/2012/02/07/front-end-editor-and-wordpress-mu-domain-mapping-plugins/#comments)
   and after some research I’ve found that the problem is actually with WordPress
   MU Domain Mapping plugi, check out this code:
 * domain_mapping.php Line #656
 *     ```
       // fixes the plugins_url
       function domain_mapping_plugins_uri( $full_url, $path=NULL, $plugin=NULL ) {
       	return get_option( 'siteurl' ) . substr( $full_url, stripos( $full_url, PLUGINDIR ) - 1 );
       }
   
       function domain_mapping_themes_uri( $full_url ) {
       	return str_replace( get_original_url ( 'siteurl' ), get_option( 'siteurl' ), $full_url );
       }
   
       if ( defined( 'DOMAIN_MAPPING' ) ) {
       	add_filter( 'plugins_url', 'domain_mapping_plugins_uri', 1 );
       ```
   
 * The **domain_mapping_plugins_uri** function is used to filter the **plugins_url**
   function and return the plugins folder (or file inside it) url with the mapped
   domain, it does it by searching **“wp-content/plugins”** but it fails when the
   plugin is loaded from the **“wp-content/mu-plugins”**. This can be fixed by validating
   if the passed URL contains the “mu-plugins” string or not.
 * This is the fix I added:
 *     ```
       // fixes the plugins_url
       function domain_mapping_plugins_uri( $full_url, $path=NULL, $plugin=NULL ) {
         if ( !empty($plugin) && 0 === strpos($full_url, 'wp-content/mu-plugins') )
           $mapped_url = get_option( 'siteurl' ) . substr( $full_url, stripos( $full_url, 'wp-content/mu-plugins' ) - 1 );
         else
           $mapped_url = get_option( 'siteurl' ) . substr( $full_url, stripos( $full_url, 'wp-content/plugins' ) - 1 );
       	return $mapped_url;
       }
       ```
   
 * Note that I use “wp-content/plugins” and “wp-content/mu-plugins” instead of the“
   PLUGINDIR” constant which is deprecated by the way.
 * **Please not that this is not an official fix, since I’m not the author of the
   plugin**, however I hope this can solve this problem for other people as it did
   for me, so you can enjoy and empower your network with this 2 amazing wordpress
   plugins!
 * Regards,
    Davo.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Classes] [Plugin: Widget Classes] Broken? It works for me.. any other opinion?](https://wordpress.org/support/topic/plugin-widget-classes-broken-it-works-for-me-any-other-opinion/)
 *  Thread Starter [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-widget-classes-broken-it-works-for-me-any-other-opinion/#post-1637959)
 * Hello all, guys.. you still get this errors? I’ve been testing “Widget Calsses”
   with many wordpress installations and still no errors.
 * Regards
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to order links/blogroll](https://wordpress.org/support/topic/how-to-order-linksblogroll/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/how-to-order-linksblogroll/#post-1609662)
 * Ok I think we missed something important, pay attention to this line:
 * `<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else:?
   >`
 * That means that what’s under that line will be visible only if there are no widgets
   hooked to the sidebar, so all the changed that we’ve tried before won’t work 
   if you have widgets in your sidebar. Unfortunately the WP native links widget
   doesn’t allow you to set the “order” in wich the links are displayed.
 * Let’s see.. do you have another widgets hooked in the sidebar besides the links
   widget? If that’s the case.. try this:
 *     ```
       <div id="sidebar1">
   
       <div id="sidebarwrapper">
   
       	<ul>
       	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : ?>
   
       <div class="widgets">
   
               <li>
               <h2><?php _e('Links'); ?></h2>
                   <ul>
                    <?php wp_list_bookmarks('orderby=rating'); ?>
                    </ul>
               </li>
   
       </div><!--End widgets-->
   
       <?php else : ?>
   
       <div class="widgets">
               <li>
               <h2><?php _e('Categories'); ?></h2>
                   <ul>
                   <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
                   </ul>
               </li>
   
       </div><!--End widgets-->
   
               <li>
               <h2><?php _e('Archives'); ?></h2>
                   <ul>
                   <?php wp_get_archives('type=monthly'); ?>
                   </ul>
               </li>
   
       	<?php endif; ?>
       	</ul>
   
       </div>
       </div>
       ```
   
 * That will show the links widget at the bottom of the sidebar without using the
   Links Widget (as we are hardcodeing it in the sidebar.php). You will need to 
   delete the widget from the dashboard of course.
 * Let me know how it goes and send me a link where I can see your site =)
 * Best regards,
    David.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to order links/blogroll](https://wordpress.org/support/topic/how-to-order-linksblogroll/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/how-to-order-linksblogroll/#post-1609656)
 * Did you changed the **rating** of the links in the dashboard when using the “
   rating” option?
 * Regards.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [making text widgets look normal](https://wordpress.org/support/topic/making-text-widgets-look-normal/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/making-text-widgets-look-normal/#post-1637767)
 * Hi, yes, what you need to do is to overwrite the CSS properties that the Theme
   is adding to your html, for example if you want that your links not to have an
   image as background (supposing the arrow is an image), you could do one of the
   next techniques:
 * **#1** You can specify the CSS in the tag itself:
    `<a href="http://www.wordpress.
   org" style="background-image:none;" >Wordpress</a>`
 * **#2** Add a CSS Class in your HTML/Text Widget:
 *     ```
       <div class="myStyle">
         <a href="http://www.wordpress.org" >Wordpress</a>
       </div>
       ```
   
 * Then in your style.css file:
 *     ```
       .myStyle a{
         color:#000;
         background-image: none;
       }
       ```
   
 * That will overwrite the background property and will specify the color of the
   text too. You can add as many properties as you wish.
 * Let me know if this help you or if you need more detailed explanation.
 * Regards.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Date Icon Floating Right Issue](https://wordpress.org/support/topic/date-icon-floating-right-issue-1/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/date-icon-floating-right-issue-1/#post-1638898)
 * Hi, the problem is that the bottom posts (the ones that uses the excrept) are**
   inside** the container of the top post (full post). This might be due to an **
   unclosed tag**.
 * The div you have to check is the one that has the class “storycontent”.
 * Check that and let me know how it goes.
 * Regards,
    David.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Image widget with rollover and hyperlink](https://wordpress.org/support/topic/image-widget-with-rollover-and-hyperlink/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/image-widget-with-rollover-and-hyperlink/#post-1637568)
 * Ok got it.. try adding the background in the anchor tag, like this:
 * `echo '<a href=' . $name . ' style="background:'. $image_url .';"></a>';`
 * Let me know how it goes.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Image widget with rollover and hyperlink](https://wordpress.org/support/topic/image-widget-with-rollover-and-hyperlink/)
 *  [davoscript](https://wordpress.org/support/users/davoscript/)
 * (@davoscript)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/image-widget-with-rollover-and-hyperlink/#post-1637555)
 * Hi
 *  Since you are developing something really simple I think that’s the best approach,
   and yes the CSS you applied to the “a” is what you needed. The only “bad point”
   of that is that it restrict the image size, since they won’t “adapt”. But as 
   you said you’ll be adding more options and features as you learn.
 *  Well done Garfield! good luck with the code.

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

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