dsided
Forum Replies Created
-
Hi Martin, any news on this? Do you think it may work again? Appreciate you creating this plugin.
Forum: Plugins
In reply to: [Foyer - Digital Signage for WordPress] Custom times for each silde@mennolui thanks for coming back! Looking forward to hearing more and happy to beta test.
Forum: Plugins
In reply to: [Foyer - Digital Signage for WordPress] Custom times for each sildeHi @mennolui – have you checked out “MetaSlider Schedule Slides” on the WP plugin repository? This adds a schedule tab to each slide with start / end date and time https://www.ads-software.com/plugins/meta-slider-schedule-slides/
Forum: Plugins
In reply to: [Foyer - Digital Signage for WordPress] Using foyer at school with PiHow is the system now running? I’m investigating a similar use case but looking at Screenly OSE vs Foyer.
Forum: Plugins
In reply to: [Post Type Switcher] Quick edit "Type" drop down missingSame here.
Forum: Plugins
In reply to: [Plugin: Jetpack by WordPress.com] Share icons (font) not loadingSorry for the late reply!
I found the social icons were being loaded as a font via https://www.genericons.com so I added the webfonts and css to my theme and loaded this via a function:
// Genericons stylesheet (Jetpack sharing icons not working) wp_enqueue_style( 'fonts-genericons', get_template_directory_uri() . '/assets/webfonts/genericons.css', array(), '', 'all' );
Forum: Plugins
In reply to: [Post Type Switcher] Quick edit "Type" drop down missingHi John, I really appreciate you taking the time to look into this!
I’m on the posts page:
/wp-admin/edit.php?s&post_status=all&post_type=post
However I unfortunately don’t see the drop down:
On 3.0.0
Forum: Themes and Templates
In reply to: Style one section (and it's decendant pages) differentlyResolved ??
Forum: Themes and Templates
In reply to: Style one section (and it's decendant pages) differentlySolved this via https://codex.www.ads-software.com/Function_Reference/get_post_ancestors
In the header add this to create a targetable body class:
</head> <?php /* Get the Page Slug to Use as a Body Class, this will only return a value on pages! */ $class = ''; /* is it a page */ if( is_page() ) { global $post; /* Get an array of Ancestors and Parents if they exist */ $parents = get_post_ancestors( $post->ID ); /* Get the top Level page->ID count base 1, array base 0 so -1 */ $id = ($parents) ? $parents[count($parents)-1]: $post->ID; /* Get the parent and set the $class with the page slug (post_name) */ $parent = get_post( $id ); $class = $parent->post_name; } ?> <body <?php body_class( $class ); ?>>
Forum: Plugins
In reply to: [Featured Image Caption] Featured image caption on custom post typesI have found some code for detecting a CPT:
https://wordpress.stackexchange.com/questions/6731/if-is-custom-post-typeHere it is:
To test if a post is any custom post type, fetch the list of all not built-in post types and test if the post’s type is in that list.
As a function:
/** * Check if a post is a custom post type. * @param mixed $post Post object or ID * @return boolean */ function is_custom_post_type( $post = NULL ) { $all_custom_post_types = get_post_types( array ( '_builtin' => FALSE ) ); // there are no custom post types if ( empty ( $all_custom_post_types ) ) return FALSE; $custom_types = array_keys( $all_custom_post_types ); $current_post_type = get_post_type( $post ); // could not detect current type if ( ! $current_post_type ) return FALSE; return in_array( $current_post_type, $custom_types ); }
Usage:
if ( is_custom_post_type() ) print 'This is a custom post type!';
Forum: Plugins
In reply to: [Featured Image Caption] Featured image caption on custom post typesWould love to see this implemented too! Great work!
Looking at
MetaBox.php
it seems harder to add this to custom post types without requiring an admin screen for users to tick off the CPTs they want this to appear on.Forum: Plugins
In reply to: [Download Monitor] 'Redirect to file' not rewriting URL to file (nginx)@softobjects thanks for coming back to me!
I removed “download” from Download Endpoint and made the Endpoint Value to “Download slug”
Once I saved this the url became this:
https://WEBSITE.org/download/technical-advisor-job-description-pdf/And loaded in the browser! Thanks!
Forum: Plugins
In reply to: [Download Monitor] 'Redirect to file' not rewriting URL to file (nginx)I also notice that when I choose “Redirect to file” and update it still shows the url as /download/18801/ rather than the extension:
https://www.dropbox.com/s/fou13krqqglb11o/download-redirect.PNG?dl=0
Thanks danieliser – you’re right I am using WP Admin UI Customize
I’ve opened this up as an issue with WP Admin UI here
Forum: Plugins
In reply to: [WP Admin UI Customize] Admin Bar Menu still shows hidden itemsI had the same problem – the front end admin bar wasn’t showing my changes.
For improved usability, I think it might be useful to have a notification on the “Admin Bar Menu” at the top saying something like “Warning: you need to allow admin bar customisation on the site setting page first” with a link to that page. If it’s activated then hide the warning.
Great plugin otherwise, really really useful!