caterhamcomputing
Forum Replies Created
-
Forum: Plugins
In reply to: [CC Child Pages] Showing ratings from GD RatingsThere is not a quick way to do this at present … it can be achieved with some programming and using the filters within the plugin. When I have a bit more time on my hands I will look into the options for making this easier.
Forum: Plugins
In reply to: [CC Child Pages] Custom sizes for ThumbnailsYou can register a custom thumbnail size using the
add_image_sizefunction – https://developer.ww.wp.xz.cn/reference/functions/add_image_size/ (you’d need to add code to the functions.php file in your theme, or find a plugin to allow you to create image sizes on the fly).Once you have registered an image size, you can use the name you gave it in the
thumbsparameter – e.g.:[child_pages thumbs="mycustomthumb"]Forum: Plugins
In reply to: [CC Child Pages] more than 4 columuns?Sorry not to have got back to you sooner but I’ve not been around much over the Christmas/New Year period.
You would need to write your own layout CSS to handle this.
To remove the current layout CSS, you would need to add the following to your theme’s functions.php:
wp_dequeue_style( 'ccchildpagescss' ); // dequeue the CC Child Pages layout CSS wp_dequeue_style( 'ccchildpagesiecss' ); // dequeue the CC Child Pages layout CSS for old versions of Internet Explorer ...You’d probably want to remove the stylesheet for the default skins too … which can be done from the options page within WordPress.
When I next roll up a new release, I will probably add an option to remove the layout CSS from the options page …
Forum: Plugins
In reply to: [CC Child Pages] Thumbnails, Depth 2+ & Divi3 Theme causes memory error !Sorry to have been quiet for a while … my work has been keeping me away from my desk for a while.
I have not been able to reproduce this problem on my set up … I will keep looking into it, but in the meantime is it feasible to run your example with debugging turned on in WordPress and let me know if you get any messages relating to the plugin?
It might also be worth trying other thumbnail sizes to see if smaller thumbnails get around the problem. (Assuming the thumbnails are standard WordPress thumbnails it shouldn’t make any difference … but if they are grabbed from videos or created on the fly in some manner it may.)
Forum: Plugins
In reply to: [CC Child Pages] “Hide Excerpt” not workingHi.
If the above is copied and pasted from your site, it looks as though you have the wrong kind of quotes in the shortcode (it happens sometimes when copying directly from the web page – when I find time to rebuild the site, I will try and use a different method of displaying code snippets).
The following should work:
[child_pages id="24" cols="2" hide_excerpt="true" thumbs="large"]Obviously, let me know if this doesn’t sort the problem.
Forum: Reviews
In reply to: [CC Child Pages] Works WonderfullyI’m glad you are finding it helpful 🙂
Forum: Plugins
In reply to: [CC Child Pages] Problem with SUB pagesHi. After looking into how this might work with menus, I am still of the opinion that a separate plugin would be the most sensible route. I may look at creating one at some point in the future.
Forum: Plugins
In reply to: [CC Child Pages] Thumbnails, Depth 2+ & Divi3 Theme causes memory error !I have had a look at both the plugin and your page, and can’t see any obvious problems with either.
Can you let me know if this is still a problem?
Forum: Plugins
In reply to: [CC Child Pages] Same HeightYou could try the following JavaScript, which would need to be added to your theme or as a separate plugin:
jQuery( document ).ready(function() { jQuery(".ccchildpages").each(function (){ var maxHeight = 0; // Equalise child page containers jQuery(".ccchildpage", this).each(function (){ if ( jQuery(this).height() > maxHeight ) { maxHeight = jQuery(this).height(); } }); jQuery(".ccchildpage", this).height(maxHeight); }); });Forum: Plugins
In reply to: [CC Child Pages] Option not to load skinsI have released a new version of the plugin which includes an option not to load the skins CSS in the Settings->CC Child Pages options.
Forum: Plugins
In reply to: [CC Child Pages] CC Child Pages with Advanced Custom FIelds?I have released a new version of the plugin, which adds
use_custom_thumbsto the list of parameters for dealing with custom fields.It takes the name of a custom field, the value of which should be set to either the ID of the image or the URL of the image.
I have tested with Advanced Custom Fields, and it works well (as do the
use_custom_titleand other custom field parameters).Forum: Plugins
In reply to: [CC Child Pages] Add support for private pagesI have just released a new version of the plugin … default behaviour is to show published pages to everyone, along with private pages for those signed in with access to the private pages.
I have also added the
post_statusparameter (which works as per WP_Query), should anyone want to target specific values.I have released a new version of the plugin which adds the following classes if the page has a parent:
ccpage-has-parent
ccpage-pid-n(wherenis the ID of the parent page)
ccpage-parent-slug(whereslugis the slug of the parent page)… if the page has no parent, it adds:
ccpage-top-level
ccpage-pid-0This should give you more options for handling the styling.
Forum: Plugins
In reply to: [CC Child Pages] Move title below thumbnailYou can achieve this safely using the
ccchildpages_inner_templatefilter. That way, your work won’t be undone when you upgrade the plugin.Add the following to your theme’s functions.php file, or create a simple plugin …
add_filter( 'ccchildpages_inner_template', 'change_inner_template' ); function change_inner_template () { return '<div class="ccchildpage {{page_class}}">{{thumbnail}}<h3{{title_class}}>{{title}}</h3>{{meta}}{{excerpt}}{{more}}</div>'; }Forum: Plugins
In reply to: [CC Child Pages] Show pages as a list … in columns not workingGlad that you have sorted it … are you happy for me to mark this one as resolved?