caterhamcomputing
Forum Replies Created
-
Hi.
Thank you for bringing this to my attention.
I’ve had a look, and I’m guessing that your list of books is generated by a shortcode … as this was the only way I could recreate the problem in my test environment.
I think the problem was likely to be due to CC Child Pages not evaluating shortcodes before generating the shortened version of the page content. I have corrected this, and hope that it will sort out your problem.
If you upgrade to version 1.12 I would be grateful if you can let me know if this sorts out the issue … if not I would be very happy to work with you to get to the bottom of what might be going on.
Forum: Plugins
In reply to: [CC Child Pages] Depth parameter in shortcodeI have now released a new version of the plugin (v1.10) which includes the
depthparameter (used only when in list mode:list="true").Values can be:
depth="-1"Displays pages at any depth and arranges them in a single, flat list
depth="0"Displays pages at any depth and arranges them hierarchically in nested lists
depth="1"(Default) Displays top-level Pages only
when set to any value greater than 1, the shortcode displays that depth of child pagesIf not specified, it will default to a depth of 1 as per the original version.
I have also added the
excludeparameter which takes a comma separated list of Page IDs and works in all modes:[child_pages exclude="3,5,33"]Hopefully this will now meet your requirements.
Forum: Plugins
In reply to: [CC Child Pages] Depth parameter in shortcodeThe depth parameter is not currently supported in the shortcode, as it is mainly designed to show direct children of the current or specified page.
However, now that you raise the issue I can see that it might be a useful addition when displaying an unordered list of pages and will add the option into the next release.
Forum: Plugins
In reply to: [CC Child Pages] class parameter not working on version 1.9Thank you for marking this as resolved.
I have tested the shortcode you posted with version 1.9, and can confirm that it works as expected.
I will be putting together some further documentation about using custom classes to “skin” the plugin in the near future.
One thing that seems to be confusing people is that the class gets applied to the containing
<div>wrapper, and not to each child page element. This means that to style a child page element you need to use something like:.my-custom-class .ccchildpage { background: #e0e0e0; color: #0e0e0e; }If you do find anything isn’t working as expected or just need any further assistance, please let me know.
Forum: Plugins
In reply to: [CC Child Pages] LINK COLOURI’ve applied the CSS from my previous post to a new section on the demo page titled “Custom CSS Styling”
Forum: Plugins
In reply to: [CC Child Pages] LINK COLOURHi again Simon
No problem.
I’ve just been testing out the CSS I posted in the other thread, and didn’t have any problems with using it.
I’ve made some amendments and posted it below. (Basically, I have just added the !important flag to the CSS settings for the colours in case something is overriding them …)
p.ccpages_more a, p.ccpages_more a:link, p.ccpages_more a:visited, p.ccpages_more a:active { background: green !important; color: white !important; padding: 5px; } p.ccpages_more a:hover { background: orange !important; }(Obviously, substitute your preferred colours for the
green,orangeandwhitespecified above …)I’ve also been totally “belt and braces” and set the colours for all of the pseudo-classes of the
atag.Forum: Plugins
In reply to: [CC Child Pages] Custom CSSOK, the new version of the plugin is available … let me know if the “Continue Reading” text goes away when you have updated it. (If not, try entering a custom excerpt for the pages while we work out where that text is coming from.)
Forum: Plugins
In reply to: [CC Child Pages] Custom CSSP.S. I’ll also add code to the plugin ensure that the custom Excerpt box is available for pages …
Forum: Plugins
In reply to: [CC Child Pages] Custom CSSHi Simon
I’m not sure where the “Continue Reading” message is coming from … it is being added to the generated excerpts for your pages either by your theme or one of your other plugins. You may be able to get around this by filling in the Excerpt field for the pages (if it is not showing, click on “Screen Options” when editing a page and make sure Excerpt is ticked … although I’ve noticed it is not available for pages when using certain themes!).
I think the problem is that something has added a filter to add the “Continue Reading” link when the excerpt is generated from the page content.
I’ll look at changing the plugin to generate the excerpt itself rather than using the routines built into WordPress, which will hopefully get around this issue.
Time allowing, look out for the new version later today … I’m also adding a button to the WordPress editor to make it even easier to add the shortcode. (Although I may just make the change to generating the excerpt if time gets too tight to fully test it all today …)
The “Read more…” link is contained within a paragraph with a class of
ccpages_more… so you could either change the CSS for the entire paragraph:p.ccpages_more { background: red; color: white; } p.ccpages_more a { color: white; }or apply CSS just to the link itself:
p.ccpages_more a { background: red; color: white; padding: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }… depending on the effect you want to achieve.
Finally, thank you very much for the donation … it is truly appreciated.
I’m going to mark this topic as resolved now (as I believe that I have answered the original question, and the other issue is not a “bug” – although I will try to implement a resolution anyway), but if you need further help with getting everything working with your theme/plugin combination please feel free to contact me via my main web site or raise another support ticket here.
Forum: Plugins
In reply to: [CC Child Pages] Custom CSSHi.
You need to apply the border to the .ccchildpage class (which is the item inside the wrapper that gets the custom class applied).
In the example you give, this would look something like:
.cc_child_pages .ccchildpage { border-color: red; border-style: solid; border-width: 2px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }… other than that, you seem to have got it all going great.
I’m planning to put together a guide to skinning the plugin when time permits … it’s a very new plugin, and I’ve been concentrating on getting all the functionality in place first.
Let me know if the above helps … thank you for using it!
Forum: Reviews
In reply to: [CC Child Pages] Grey boxesThanks again for your review … just thought I’d drop you another quick reply, as I believe I’ve now addressed the shortcomings that you highlighted:
- You can now choose from a number of (admittedly basic) skins for the boxes, or add your own class so that you can style the boxes however you like (or leave them un-styled – they will still be responsive).
- You can also now opt to show the featured image of a page as a thumbnail (if the page has a featured image).
All feedback is most welcome 🙂
Forum: Reviews
In reply to: [CC Child Pages] Grey boxesThank you for your review. I will be further developing this plugin to include a selection of “skins” for the boxes, and probably the option of ignoring the default styling so that you can apply your own styles to them.
I’ll also look at adding an option to display a thumbnail.