96dpi
Forum Replies Created
-
Hi Kyle, I’m afraid you are misunderstanding. Of course the button should be deactivated if the children are hidden, however this is not the case here.
I have two pages containing children pages. The first – Parent Page 1 – is non-hidden and contains mostly non-hidden pages. The next one – Parent Page 2 – is hidden (it too contains non-hidden pages, but I don’t think it’s relevant).
When I click ‘Hide Hidden’, Parent Page 2 disappears like it should, but also the toggle-button on Parent Page 1 (which now visibly is the last one). If ‘Parent Page 1’ happened to be collapsed when I clicked ‘Hide Hidden’, I don’t have access to its children pages.
Here’s the state of Parent page 1 after clicking ‘Hide Hidden’ and when it happened to be collapsed: http://i.imgur.com/rI71O20.png
Surely this can’t be the expected behaviour.
- This reply was modified 8 years, 9 months ago by 96dpi.
Forum: Fixing WordPress
In reply to: Generate a list of attachments*BUMP*
Anyone?
Forum: Plugins
In reply to: [Simple Custom Post Order] Removed Taxonomy Sort in This VersionWhoops, this missing feature is probably the same thing I called a bug.
Forum: Plugins
In reply to: [Simple Custom Post Order] Removed Taxonomy Sort in This VersionHi, I think I have discovered a bug. In the Media Library list (similar to the pages and posts lists), there’s columns with the possibility to sort by labels (‘author’, ‘uploaded to’ etc.). This plugin breaks that functionality.
Perhaps it’s possible to exclude the Media Library list from the plugin?
Forum: Plugins
In reply to: [Maintenance] Bug (?): locale not set on loginUpdate: Apparently it’s only when I use the Backend Localization-plugin this happens.
Not sure which of the plugins that should be changed, but couldn’t it be fixed by setting the language on Maintenance-login?
Forum: Plugins
In reply to: [External URL To Post Thumbnail] Increasing post limitsFor anyone still struggling, just edit index.php and change line 51 into something like this:
$options_pages_obj = get_posts( array( 'posts_per_page' => 100, 'offset' => 0, 'category' => '', 'orderby' => 'post_date', 'order' => 'DESC', 'include' => '', 'exclude' => '', 'meta_key' => '', 'meta_value' => '', 'post_type' => 'post', 'post_mime_type' => '', 'post_parent' => '', 'post_status' => 'publish', 'suppress_filters' => true ) );This way you’ll also get some other options, like category and sort order. For more info, see Template Tags/get posts.
Forum: Reviews
In reply to: [Maintenance] Admin login doesn't send you to your site…Working with site_url without any problems in sub folder.
http://fruitfuldemo.com/2012/Ok, I don’t know why it works for you, but not me. I also use a child theme, but it shouldn’t make any difference I guess…
Thanks for the update regarding the login – works like a charm 🙂
Cheers!
Forum: Reviews
In reply to: [Maintenance] Admin login doesn't send you to your site…Btw, I think I just discovered a bug:
When using special characters in a password, the login isn’t working. I had these in my password: “=.&)”. Regular wp-admin worked fine, but I just got a red padlock when trying to log in via the plugin. Changing to a password with regular characters fixed it.
Forum: Reviews
In reply to: [Maintenance] Admin login doesn't send you to your site…Hi!
I believe this only confirms what I write above.
My site: mysite.com (this is the URL visitors see and use)
The WordPress-installation: mysite.com/wp (containing the core files)site_url sends you to the core files URL
home_url sends you to the home URL
Forum: Plugins
In reply to: [Attachments] Attachments show list items in postsNo worries, solved it myself 🙂 I linked to it above.
Forum: Plugins
In reply to: [Attachments] Weird (?) problemAlso, if anyone would like to add their attachments with a shortcode, try this:
function list_publication_attachments( $atts ) { ob_start(); ?> <?php $attachments = new Attachments( 'attachments' ); /* pass the instance name */ ?> <?php if( $attachments->exist() ) : ?> <div> <?php while( $attachment = $attachments->get() ) : ?> <?php echo $attachments->image( 'thumbnail' ); ?> <h3><a href="<?php echo $attachments->url(); ?>"><?php echo $attachments->field( 'title' ); ?></a></h3> <p><?php echo $attachments->field( 'caption' ); ?></p> <?php endwhile; ?> </div> <?php endif; ?> <?php $sc = ob_get_contents(); ob_end_clean(); return $sc; } add_shortcode('publications', 'list_publication_attachments');Add it to
functions.phpor in a file calledshortcodes.phpand include it infunctions.phpwithinclude('shortcodes.php');This will let you add the list of attachments by using [publications] as a shortcode in any WP-post/page.
Happy coding!
Forum: Plugins
In reply to: [Attachments] Attachments show list items in postsFor anyone with similar problems, see my own post about it.
Forum: Plugins
In reply to: [Attachments] Weird (?) problemOh ok.
The instructions are way too fuzzy for non-coders like me. I tried to use the code from the instructions under “Pulling Attachments to your Theme”:
<pre><?php print_r( $attachment ); ?></pre>…but this only displays the attributes followed by their value.
The right way to do this is to follow the instructions under Retrieve Attachment Attributes. E.g. use
<?php echo $attachments->field( 'title' ); ?> <?php echo $attachments->field( 'caption' ); ?>etc.
🙂
Forum: Plugins
In reply to: [Attachments] Attachments show list items in postsI have the same problem.
What did you do to fix it?
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] LanguagesSorry if I’m not clear enough.
I need to translate the dates generated by this shortcode
[events_list_grouped date_format="F" limit="20"]and#_{D j F}(used on a page).Currently this code generates “Fri 3 October”, but I need it to say “Fre 3 oktober”. Also, this shortcode groups the dates by months, with the months becoming headers, so I need those to be translated too.