Forum Replies Created

Viewing 15 replies - 136 through 150 (of 372 total)
  • Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi. Sorry not to have replied sooner, but personal commitments have kept me away for a while.

    The plugin does not sort the columns vertically … since the columns are responsive there will be a different number of columns at different screen sizes.

    It may be possible to write some CSS (possibly combined with some JavaScript) that will show the child pages vertically …

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi @atomizer … sorry not to have replied before, but personal commitments have kept me away for quite some time.

    Can you copy and paste the complete shortcode that you are having trouble with from your page please.

    A couple of things to check:

    1. That you are using the correct plugin … I know it sounds like stating the obvious but I have had others saying that the shortcode wasn’t working, and it turned out that they had installed a different Child Pages plugin.
    2. If you copied and pasted the shortcode and parameters from a web site, sometimes the quotes get changed to “pretty” opening and closing quotes which will not work with WordPress shortcodes. (Best option, put the editor into Text mode and change all the quotes to be certain.

    If possible, posting a link to the page on which you have the problem may help me to help you.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi Terri … sorry not to have responded sooner, but personal commitments have kept me away for quite a long time.

    I have had a look at the page you link to … is it a WordPress site? (Looking at the HTML source code, it looks like it is not…)

    If it is not a WordPress site, there’s not really much likelihood that this plugin will help in any significant way.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Thanks @michaelhabib16 for picking up my slack in my absence 🙂

    @oxythomas … I never envisaged a situation where this would be required. It should be fairly easy to add classes for the parent page id and/or parent page slug (less likely to change when moving from a test to live site). I will look at doing this for the next version …

    Obviously, I have to say that I don not recommend changing the plugin code itself as it will get overwritten if the plugin is updated in the future. (I’ll try and make my solution work as per your outline above to avoid breaking your site…)

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi Eric

    Sorry not to have been active here for a while … it has been a challenging year, and personal commitments have kept me away for a while. Normal service should now resume! 🙂

    I am looking at rolling up a new version of the plugin shortly, and will look at incorporating this idea.

    In the meantime, it should be possible to use the ccchildpages_query_args filter to amend the arguments sent to WP_Query – see https://codex.ww.wp.xz.cn/Class_Reference/WP_Query – by the plugin (or the ccchildpages_list_pages_args filter for arguments sent to wp_list_pages – see https://developer.ww.wp.xz.cn/reference/functions/wp_list_pages/ – is working with lists).

    It should be fairly straightforward to create a function to change the post_status value from the default to array('publish','private') … I would put together some sample code myself, but I am dashing around at the moment.

    Regarding including private pages when I release the next iteration … any idea how it should behave by default? Should it show the pages even if someone isn’t logged in (perhaps without the extract …) or just have them show up as additional content if people are logged in (with an option to show them to visitors who are not logged in)?

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi.

    I have tried this out myself this morning on several different sites with different themes, and it seems to work fine for me.

    What theme are you using?

    I suspect that a CSS declaration from the theme for how to display lists may be interfering with the CSS for the plugin.

    Can you post a link to the page where you have the problem so that I can investigate further.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi.

    Version 1.9 is actually version 1, release 9 … and is older that 1.35 (version 1, release 35).

    Can you let me have a little more information:

    1. have you used any of the hooks/filters in the plugin? (so that I can eliminate problems with code not in the plugin itself)
    2. how many child pages should be displayed when the problem occurs
    3. can you copy and paste the exact shortcode that is having the problem, complete with all it’s arguments

    I use Divi myself, and have not encountered issues … but obviously I will look into this.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi.

    This is a plugin, not a theme … if you want to use the plugin, go to Plugins -> Add New and you should be able to add it from there.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi.

    This plugin displays child pages, it does not use WordPress menus in any way … I will be doing more work on this plugin in the next couple of weeks and can look at how feasible it would be to extend the functionality, but I suspect that a custom plugin to work with menus would probably be the answer.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    If you are using a caching plugin, you’ll probably need to clear the cache.

    The CC Child Pages plugin does not cache results, so the issue will be with caching via other plugins or by your web hosting or CDN.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi.

    At present, the plugin does not support images via custom fields … but it sounds like a great idea.

    I am aiming to find some time to update the plugin within the next week or two, I will look at adding something like a use_custom_thumbs parameter so that you can specify the custom field to use (if not present, it would display the featured image as per the standard functionality).

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    This is probably a good idea … I am tied up with sad family matters at present, but once I am back on the case I will add a check box to the settings page to disable loading of the default skins CSS file.

    In the meantime, a solution may be to add something along the lines of the following to the functions.php file of your theme (or child theme):

    add_action( 'wp_enqueue_scripts', 'remove_cc_skins_stylesheet', 20 );
    
    function remove_cc_skins_stylesheet() {    
        wp_dequeue_style( 'ccchildpagesskincss' );
        wp_deregister_style( 'ccchildpagesskincss' );
    }

    This should dequeue the CSS for the skins but leave the layout CSS in place and untouched.

    I hope that this helps.

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Hi,

    It appears that you re using the wrong kind of quotes … If I copy the shortcode as listed in your post I get similar problems, but if I change the quotes to standard double-quote it works as expected:

    [child_pages cols="4" id="4986" thumbs="large" more="+ Découvrir la marque" skin="blue" list="false" link_thumbs="true" hide_excerpt="true" link_titles="true"]

    To sort by the title, add orderby="title" (you can read about the various ways of ordering the pages at https://ww.wp.xz.cn/plugins/cc-child-pages/):

    [child_pages cols="4" id="4986" orderby="title" thumbs="large" more="+ Découvrir la marque" skin="blue" list="false" link_thumbs="true" hide_excerpt="true" link_titles="true"]

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Glad to hear that 🙂

    Forum: Plugins
    In reply to: [CC Child Pages] Page Speed
    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    I would always suggest using some kind of caching plugin for WordPress sites (such as WP Super Cache – https://ww.wp.xz.cn/plugins/wp-super-cache/, or W3 Total Cache – https://ww.wp.xz.cn/plugins/w3-total-cache/). You may even want to look into some kind of CDN service, such as Cloudflare.

    Effectively, the CC Child Pages plugin is adding another loop to the page … and if you do not create custom excerpts for each page, it will retrieve the content of each page to create an excerpt on the fly … all of which will inevitably lead to an increase in processing time, and the more pages it needs to process the longer the delay.

    Caching the pages would reduce the impact of this.

    The plugin is written to behave nicely with other plugins that compress CSS and JavaScript files, although I doubt that the small amount of CSS code added by this plugin would cause much of an impact in terms of speed … it may be worth using a plugin that will compress all CSS files into a single optimised one.

Viewing 15 replies - 136 through 150 (of 372 total)