caterhamcomputing
Forum Replies Created
-
Forum: Plugins
In reply to: [CC Child Pages] Get ThumbnailHi.
Firstly, I think that the problem may be that you don’t have Video Thumbnails set to automatically set the Video Thumbnail as the featured image for the post/page.
However, when investigating this I found that on occasion the featured image was not being refreshed when a change was made to the page – leading to no thumbnail being displayed until it was manually set.
I have released a new version of the plugin which I hope will deal with your problem. It will try and use the featured image, if it is not set it will look for a Video Thumbnail and use that instead.
BTW, I was not able to see the problem on the page you sent a link to – as you need to be logged in to see the page.
Please let me know if the new version works better for you.
Kind regards
Tim Lomas
Forum: Plugins
In reply to: [CC Child Pages] Lost responsivity by adding 1px borderHi.
In the absence of any further feedback, I am marking this topic as resolved.
I have been using the new version of the plugin myself with the Divi theme used on your site – and everything is working as correctly when adding borders to the child page elements.
Thank you for your feedback – your idea has certainly prompted what I feel is a significant improvement to the plugin.
If you still experience any problems with the plugin, please do let me know.
Forum: Plugins
In reply to: [CC Child Pages] Lost responsivity by adding 1px borderHi.
I have just released a new version of the plugin.
This introduces re-worked CSS which should allow you to add borders to the child pages boxes.
For older versions of Internet Explorer, a fallback CSS file is used with the original layout settings – this will remove any custom borders, padding and margins in older versions of Internet Explorer (7 and older) to retain the responsive layout.
Hopefully this will make your page work as expected.
Let me know how it works for you …
Forum: Plugins
In reply to: [CC Child Pages] Lost responsivity by adding 1px borderHi.
Adding the 1px border makes the box 2px wider (1px either side), causing problems in the layout.
I have been experimenting this morning with new CSS based on setting the
box-sizingCSS property toborder-boxrather thancontent-box(which was used originally because of compatibility issues with certain themes).This will then simplify the CSS and the sizing will automatically take borders and padding into account.
So far, things are looking good … I am currently testing in various themes.
One downside to this approach is that it is not as backward compatible in versions of Internet Explorer, so I will probably need to create a setting allowing web masters to select which CSS they use.
Watch this space – I hope to have something ready to help you very shortly.
Forum: Plugins
In reply to: [CC Child Pages] CSS Format IssuesGlad that sorted your issues. The site is looking good.
One final point:
You mention that you edited the green skin CSS code … if you mean this literally, please be aware that the CSS file will get overwritten when the plugin is updated. The best way to apply custom CSS is via your theme (if it provides a way to do this from the dashboard) or using a plugin such as Simple Custom CSS (https://ww.wp.xz.cn/plugins/simple-custom-css/) or WP Add Custom CSS (https://ww.wp.xz.cn/plugins/wp-add-custom-css/).
It is on my to-do list to provide a way of entering Custom CSS to the plugin.
When adding custom CSS, you may find that you need to increase the priority of your changes in order for them to be picked up … you can do so by adding !important to your CSS code. For example:
.ccchildpage h3 { color: red !important; }I would suggest only adding !important in circumstances where the standard declaration is not effective.
Forum: Plugins
In reply to: [CC Child Pages] CSS Format IssuesHi. Glad that you are finding the plugin useful.
To answer the 2 points you raise:
1. You can specify CSS for individual elements as follows:
Title:
.ccchildpage h3 { ... }Excerpt:
.ccpages_excerpt { ... }More link:
.ccpages_more { ... }2. Looking at the code for your page, it looks as if the shortcode is surrounding by
<pre></pre>tags … this may have happened if you copied the shortcode from a web page and pasted it into the Visual Editor – it is safer to paste into the Text mode.The
<pre>tag is almost certainly causing the wrapping problems that you mention.Forum: Plugins
In reply to: [CC Child Pages] Child pages in alphabetical order?No problem … glad to hear that it is working well for you.
Forum: Plugins
In reply to: [CC Child Pages] Child pages in alphabetical order?Hi Pjorg
The shortcode and widget both support ordering by the page title.
From the instructions at https://ww.wp.xz.cn/plugins/cc-child-pages/ :
[child_pages orderby="title" order="ASC"]By default, the pages are listed in Menu Order, but you can set
orderbytoid,title,slug,author,dateormodifiedI’d be grateful if you can confirm that this is working for you, and if not please post the URL of the page that has the problem and the shortcode you are using so that I can investigate.
Thanks.
Tim Lomas
Caterham ComputingForum: Plugins
In reply to: [CC Child Pages] Exerpt text running onGlad to hear that it is all working for you. (I actually found I’d done exactly the same thing on one of my sites with another shortcode … always safest to paste them in using the editor in Text rather than Visual mode.)
Forum: Plugins
In reply to: [CC Child Pages] Exerpt text running onHi.
I’ve just had a look at your site, and you seem to have embedded the shortcode within HTML
<pre>and<code>tags.I can see that the text is being shortened correctly to 10 words, but the fact that the
<pre>tag tries to show content as it is entered is stopping the text from wrapping.If you remove the formatting from the shortcode, things should work as expected.
Let me know if you need further help.
Forum: Reviews
In reply to: [CC Child Pages] Works great; developer responds to requestsHi again Reesa … thanks for your valuable input to improving this plugin.
I was just wondering how I could improve it to make this a five star plugin in your eyes?
Part of the learning curve of releasing my first plugin is that it is being used in ways that I’d never thought of, and people are asking for new features that make it more flexible.
Forum: Plugins
In reply to: [CC Child Pages] Columns for List Style?I’m glad to hear that it is now working as you want.
Thank you for the original suggestion, as you say it will hopefully make the plugin more useful for a lot of people.
Forum: Plugins
In reply to: [CC Child Pages] Columns for List Style?… I should have added that the new version is now available to download from the plugin repository …
Forum: Plugins
In reply to: [CC Child Pages] Columns for List Style?Hi Anna,
I’ve revisited the CSS for displaying unordered lists in columns. Hopefully, this will now span the available space (there will always be a slight margin on the right, as the list items have a right margin specified to avoid them running into each other).
The spacing between items is specified as a percentage of the available width … I have made this percentage smaller on larger screens and then increase as the screen size gets smaller, effectively keeping it roughly the same.
I think that is about all I can do to improve this feature beyond re-writing the WordPress
wp_list_pagesfunction, which would be beyond the intended scope of this plugin (maybe it is something I’ll consider again if I create a “Pro” version in the future).I hope that this works for your site.
Forum: Plugins
In reply to: [CC Child Pages] Columns for List Style?Anna, I’m not quite sure what you mean about the horizontal spacing being too much … to display in columns, each list item is logically a percentage of the width so that they line up in a number of columns.
Another potential option may be to not use the
colsparameter, specify a custom class using theclassparameter and use some custom CSS. (e.g. maybe something like:.myclass li { display: inline; }– which would create a long flowing list instead of lining the items up into columns.Anyway, please let me know if the CSS fix I applied today helps you at all – I’d love to get this thread resolved to your satisfaction.