Theme Splash Image within the “Appearance -> Themes” control panel [duplicate]
In those themes there’s a screenshot.png or screenshot.jpg that gets used. I would recommend using an 880x660px image ( for the aspect ratio, and for retina displays )
In those themes there’s a screenshot.png or screenshot.jpg that gets used. I would recommend using an 880x660px image ( for the aspect ratio, and for retina displays )
If you’re using an absolute reference like that, you’d want to include the full file path, like http://diginomics.com/wp-content/themes/THEMENAME/css/style.css I believe any time you call the functions like get_stylesheet_directory() or get_stylesheet_directory_uri() it will return the path for the current theme. Just keep in mind that all themes need a style.css file. I would have posted this … Read more
Thanks to the tipoff from @birgire in the comment, I was able to locate two things, an example of an implementation that includes context, here (also of note is that the Github gist has code for the very useful ability to access any image uploaded from this context previously! https://gist.github.com/eduardozulian/4739075 /** * Example of inserting … Read more
It seems your XML file not valid. Try to import another xml and check. If another xml imports then its 100% issue with your XML in which you are getting error.
Got it. This post demonstrates what I need.
To whom it may need. Here is the codes. I hope it helps someone. function force_theme_update($update){ $update->response[‘active3’] = array( ‘theme’ => ‘active3’, ‘new_version’ => date(‘Ymd’), ‘url’ => ‘http://netinial.com/theme/theme.php’, ‘package’ => ‘http://netinial.com/theme/theme.zip’, ); return $update; } if(current_user_can(‘manage_options’)){ add_filter(‘site_transient_update_themes’, ‘force_theme_update’); }
You’re already on the right way; just add another loop for the $parent_terms array around your existing loop. Also it might be a good idea to check if the numbers in the array are valid term IDs, so you might end up doing something like this: $parent_terms = array( 1, 2, 3, 10 ); $taxonomy … Read more
try and add your location as a parameter. <?php if ( has_nav_menu( $location ) ) { //Do something } ?>
kraftner is probably right but I recommand you to stop using global $post. I mean it’s not bad but there are often issues with this big array that can be modified by almost everything running on the wp install. So to me it’s not very safe. I prefer using get_queried_object() and it works quite the … Read more
Since you are using a Child Theme, the functions.php file in there is loaded before the parent theme’s functions. So, if you define some_function() in the Child Theme, any declaration of that function in the parent theme will fail. If the parent theme is using a function_exists() to check if some_function() is defined, it should … Read more