Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
52 views

How do I add a widget programmatically to a newly created site (WPMU) within a plugin?

I'm making a plugin that creates new sites (WPMU), and also has its own widget that needs to be placed onto the new sites it creates. The issue I'm having is that I can't get the plugin to insert ...
0
votes
0answers
65 views

Working widget does not show up in appearance->widgets

I try to add a custom widget for use outside of a normal sidebar. For that I have created class myfirst which extends WP_Widget and with appropriate function overrides. namespace widget; class ...
0
votes
1answer
46 views

How to set the default value as the saved value once a form of widget is saved?

I tried doing this for the function form : <?php function form(){ //Set up some default widget settings. $defaults = array( 'uid' => __('121232', 'example'), 'height' => ...
0
votes
0answers
55 views

WPMU widget use sitewide

I'm using a widget on a site with the blogid 1. But I want to use the same widget with the content from blogid 1 in all of the other sites. Is there a way to reuse this widget? I tried the ...
0
votes
0answers
17 views

Widget malfunction in Reponsive theme

Hi – I would like to put an existing RV Flagpicker (displays international flags with links) Widget into the TOP widget on our Responsive site. Just changed to this theme yesterday. When I drag the ...
0
votes
0answers
115 views

Wordpress Multisite add widget on new blog

I need to put widget in sidebar when new blog is creating. My code is: function make_default_widgets($blog_id, $user_id, $domain, $path, $site_id, $meta) { switch_to_blog($blog_id); ...
0
votes
1answer
33 views

How to get certain part from widget

I want to use only some part of the widget. I have multisite network so to link the posts and pages I am using a plugin called Multilingual Press which also comes with widget to switch sites. Now I ...
0
votes
1answer
2k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
0
votes
1answer
162 views

Some widgets on Multisite not showing up in template for particular theme

I have a load of custom widgets that all look pretty much the same. I have a multisite blog with 3 blogs. The widgets are configured individually to show up on all 3 blogs with their own settings in ...
4
votes
5answers
2k views

Sharing Dynamic Sidebars across Multisite Blogs

I'm trying to find away to retrive a dynamic sidebar from one blog and print it on another blog in the same install of Wordpress Multisite. I have tried switch_to_blog($blog_id); ...
2
votes
2answers
522 views

How to get popular post from across a network?

I have a multisite network on WP 3.3.1. I now need to get all popular posts from across this network (preferably based on the amount of views). Is this possible, and how do I do that?