caterhamcomputing
Forum Replies Created
-
Forum: Plugins
In reply to: [CC Child Pages] Changing the active class color for child menu pages titleHi. Just to say that the next release of the plugin will add the class
activeto output for the current page, which should allow you to format the current page easily.Forum: Plugins
In reply to: [CC Child Pages] link_titles and link_thumbs not workingI am marking this as resolved, as I have not heard back from you. If you are still having problems, please do let me know.
Forum: Plugins
In reply to: [CC Child Pages] Randomize and limit count of sibling pagesI am working on the next release of the plugin, which will allow more ways of sorting the output … including randomising the order.
Forum: Plugins
In reply to: [CC Child Pages] Problem displaying Sibling PagesHi. I have found that there can be an issue with the plugin when it is generating excerpts if the current page is included in the results from the shortcode on another page … basically, you get an infinite loop.
I have come up with a fix, which I will be testing over the next few days and will be wrapped up in the next release … watch this space!
Forum: Plugins
In reply to: [CC Child Pages] Position of image and textAdding the following to the Custom CSS box (Settings -> CC Child Pages) or to the CSS for your theme should achieve what you are looking for:
.cc-child-pages-thumb { max-width: 49%; padding-left: 1%; padding-right: 0; float: right; }… you may want to look at using CSS media queries to only do this when displayed on larger screens to avoid situations on mobile devices where the text is squeezed into a narrow strip alongside the image.
Forum: Plugins
In reply to: [CC Child Pages] Child pages in page template code snippetI am marking this as resolved as I have not heard back from you … if you still have problems, please do let me know.
Forum: Plugins
In reply to: [CC Child Pages] Problem displaying Sibling PagesThe latest version of the plugin also add the
limitparameter, which may help to limit the number of related items displayed and hopefully keep memory usage down.You could try something like:
[child_pages siblings="true" limit="5"]Forum: Plugins
In reply to: [CC Child Pages] Limit number of listed entries?There is now also a
limitparameter which should do exactly what you want, for example:[child_pages id="42" col="2" limit="2"]Forum: Plugins
In reply to: [CC Child Pages] Offset parameter?Turns out it is possible, but not as straightforward as may be expected as adding an offset to WP_Query does odd things to pagination.
I have just uploaded a new version of the plugin adding
offsetandlimitparameters which should hopefully let you do what you describe in your post.Forum: Plugins
In reply to: [CC Child Pages] Randomize and limit count of sibling pagesHi.
I have just released a new version of the plugin … if you add the
posts_per_pageparameter, the number of entries listed will be limited to the value and links will be displayed to allow the visitor to page forward and back.Forum: Plugins
In reply to: [CC Child Pages] Word limit on child page displaysI am marking this as resolved as I have not heard back from you … Please do let me know if you are still having problems.
Forum: Plugins
In reply to: [CC Child Pages] Limit number of listed entries?I have added a couple of new parameters that might help…
setting
posts_per_pagewill produce paginated output with a maximum of however many you specify per page …[child_pages posts_per_page="3"]… would show up to 3 posts, with links to further pages if there are more than 3 posts found.
Adding the
pageparameter will allow you to show a particular page of results and suppresses the output of the paginated links …[child_pages posts_per_page="3" page="2"]… would show the second set of 3 posts …
Forum: Plugins
In reply to: [CC Child Pages] Offset parameter?I have added the
posts_per_pageandpageparameters that might help in some circumstances.Forum: Plugins
In reply to: [CC Child Pages] Problem displaying Sibling PagesHi.
Sorry you have had problems … was this when using the shortcode or the widget to display sibling items?
Also, roughly how many siblings did the pages have?
If you could let me know what the site is and which pages, it would help me to try and work out what may have been going on.
If there are lots of sibling pages and you were using the shortcode, you could try using the
posts_per_pageparameter that I have just added to limit the number of results returned in 1 go…Forum: Plugins
In reply to: [CC Child Pages] show html from child pagesSince the excerpt is truncated, HTML formatting is not kept (as it could lead to HTML tags not being closed properly).
You can specify
truncate_excerpt="false"to display Custon Excerpts without truncating them … in which case you could use something like the “Rich Text Excerpts” plugin to enter HTML formatted excerpts (this only applies to custom excerpts entered in the Excerpt box will be used – the plugin adds the Excerpt box to Pages).