Media Player gone on front end
Media Player gone on front end
Media Player gone on front end
Using the Posts 2 Posts Module which is still being developed just no support is being offered except through the git fork. How to use it. function my_connection_types() { p2p_register_connection_type( array( ‘name’ => ‘posts_to_pages’, ‘from’ => ‘post_type_1’, ‘to’ => ‘post_type_2’, ‘cardinality’ => ‘one-to-many’ ) ); } add_action( ‘p2p_init’, ‘my_connection_types’ ); The above example will create … Read more
How to open full Media Editor in a frame
wp media popup close all popup
Can’t test at the moment but I’d try rewriting the date to variable code from: $time = current_time( ‘mysql’ ); $y = substr( $time, 0, 4 ); $m = substr( $time, 5, 2 ); $subdirectory = “/$y/$m”; To: $y = date(‘Y’); $m = date(‘m’); $subdirectory = “https://wordpress.stackexchange.com/” . $y . “https://wordpress.stackexchange.com/” . $m;
Change image in media library at specific time
Found an answer using Shortcode which helped: How to get Page/Post Gallery attachment images in order they are set in backend using WP_Query()? My working code now looks like this: // Extract the shortcode arguments from the $page or $post $shortcode_args = shortcode_parse_atts(get_match(‘/\[gallery\s(.*)\]/isU’, $post->post_content)); // get the ids specified in the shortcode call $ids = … Read more
Extra metadata for media items
Resetting the permissions on the uploads folder to 777 via ftp worked. or contact with your domain server for the problem, may max upload size is limited
As WordPress doesn’t show the files you upload into the Upload directory in the Media folder, you can use this plugin http://wordpress.org/plugins/add-from-server/. You can mange it from the Dashboard.