What can I do to customize a widget provided with this plugin? from where have I to start?
Usually you can search for the word “widget” in the code. WP_Widget is also a good candidate as it is the class that widgets are supposed to inherit.
Usually you can search for the word “widget” in the code. WP_Widget is also a good candidate as it is the class that widgets are supposed to inherit.
Don’t know if this is solved yet since the post is so old, but you’ll probably have to edit this file (non-upgrade safe manner) in order to do it. Try doing what this guy recommends: Show default content if custom WP_Query has no posts Basically, create an else statement where the code you pasted above … Read more
You can use The Codex to learn about Adding A Dashboard Widget at which point in the dashboard widget callback you can add your form or whatever you need. Toward the top of your callback function you could add a test to check if a form posted if(isset($_POST)) Then you can save your values, maybe … Read more
That’s a commercial theme, so it’s best to ask in the support forum where you bought the theme. Few people here will have the same theme. And, third-party themes and plugins are off topic here on WP-Dev.
It’s hard to know what you are talking about without code, but seams like you could check if those pages use different options in plugin like background manager.
Looking at your site, it seems that the broken image on the top left side is your logo. I suspect there might be a logo upload for the theme but we won’t be able to direct you to where that logo upload form is because it can vary depending on the theme. You’ll want to … Read more
And here is the solution! After some search I found the meta-key case ‘sales_date’ : $query_args[‘meta_key’] = ‘_sale_price_dates_from’; $query_args[‘orderby’] = ‘meta_value_num’; break;
Simply placing a url isn’t going to embed a webpage within a webpage. You could use an iframe. <iframe src=”http://yoururl”></iframe> To display the page content from that url. You could also capture the page via php and scrape it for the information you need but you would have to create a custom widget for this. … Read more
Add the following code to your widget code: function fileSizeInfo($filesize) { $bytes = array(‘KB’, ‘KB’, ‘MB’, ‘GB’, ‘TB’); if ($filesize < 1024) $filesize = 1; for ($i = 0; $filesize > 1024; $i++) $filesize /= 1024; $dbSizeInfo[‘size’] = round($filesize, 3); $dbSizeInfo[‘type’] = $bytes[$i]; return $dbSizeInfo; } function databaseSize() { global $wpdb; $dbsize = 0; $rows … Read more
The theme files control the spaces and containers. So the Code for Ads is needed to be placed in theme template file. In general, first you need to create space for the ads in the template file, and add the ads code in the file.