Putting a URL, for a preview, in a side bar

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

How do I load my site without the side bars? This is for an app

Do you have access to the theme files? If so, try replacing <?php get_sidebar() ?>; with this: <?php if( stristr($_SERVER[‘HTTP_USER_AGENT’],’android’) === FALSE ) { get_sidebar(); } ?> Otherwise, what about access to the theme’s javascript file? var ua = navigator.userAgent.toLowerCase(); var isAndroid = ua.indexOf(“android”) > -1; if(isAndroid) { // Do something! // Perhaps target the … Read more

Subpages menu on sidebar plus widgets

If I’m understainding you correctly, you’ve hardcoded the wp_list_pages() function in to the widgetized area of the theme’s sidebar, and then, when you add a widget using WordPress’ back end Appearance->Widgets then you no longer see the output of the wp_list_pages() function? If that’s the case, then I think we’ve found your problem. If code … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)