how to open page, defined in plugin, from dashboad widget
This is not the best solution, but it worked so we made deadline. I created a child theme and a page template, which allowed me to write a simple URL to open the page.
This is not the best solution, but it worked so we made deadline. I created a child theme and a page template, which allowed me to write a simple URL to open the page.
Don’t attempt to clean it, deactivate supercache, then manually remove the entire .htaccess file, delete it. Finally, go to your permalinks page, and re-save your settings. One of two things will happen: WordPress will regenerate your htaccess WordPress will hand you some new rules
First, be sure your theme supports wp_nav_menu which is goes into a template file – such as header.php – with the template tag function <?php wp_nav_menu( $args ); ?> which also requires a function in functions.php. See http://codex.wordpress.org/Function_Reference/wp_nav_menu That will initiate the WordPress 3 menu system that will appear in Dashboard>>Appearance>>Menus Next, read http://codex.wordpress.org/WordPress_Menu_User_Guide on … Read more
There is MP3 to Post plugin in official repository. It does not integrate with uploader, but it shows how to use getID3 PHP library to retrieve that information from file.
Please see this answer: Plugin to set all Posts in a certain Category to a certain Post Format which provides a way to do this by hard-coding it into your theme. This should allow you to assign post formats to a certain category. You could also go the route of adding a categories button to … Read more
I don’t know how much this will help, but when I’ve done date/time comparisons, I’ve always had to convert them to UNIX timestamps first (converts the date/time to a numeral, which you can compare as less than/greater than/equal to the next number), and then after the difference is sorted, convert it back with date(). A … Read more
Finally solve the problem: t1.taxonomy = ‘product_cat’ AND p1.post_status=”publish” AND terms1.term_id IN (“.$args[‘categories’].”) AND t2.taxonomy = ‘product_tag’ AND p2.post_status=”publish” In the functions.php t1.taxonomy = ‘category’ AND p1.post_status=”publish” AND terms1.term_id IN (“.$args[‘categories’].”) AND t2.taxonomy = ‘post_tag’ AND p2.post_status=”publish” rename category to product_cat, and post_tag with product_tag.
Undo any changes you’ve have made to the file, then add this at the top: if ( jQuery.cookie( “gridcookie” ) != “grid” ) { jQuery.cookie( “gridcookie”, “list”, { path: “https://wordpress.stackexchange.com/” } ); } Update: Sounds like a FOUC. Let’s take a different approach – remove the code you added above & try adding the following … Read more
Try $homepage_query->have_posts() instead of have_posts() in your if condition.
i would try the plugin “attachments” for the images. use it all the time for making page-specific galeries, downloads, etc. afterwards, you can use the script “supersized” Enqueue the Javascript from the Plugin, and place the following Code into the <head>: <script type=”text/javascript”> jQuery(function($){ $.supersized({ //Functionality gnav != true slideshow : 1, //Slideshow on/off autoplay … Read more