caterhamcomputing
Forum Replies Created
-
Forum: Plugins
In reply to: [CC Child Pages] Admin editing slow when shortcode is in postI have been trying to reproduce this problem on the latest version of WordPress using both the standard editor and the Site Builder page builder plugin … and I am not experiencing any delays in editing.
The “heavy lifting” in the plugin should only take place on the front end of the site, so it is hard to see how it could be slowing down the editing.
It may be some kind of interaction with another plugin, so if you can let me know the other plugins installed on the site I will do what I can to investigate.
Forum: Plugins
In reply to: [CC Child Pages] Admin editing slow when shortcode is in postHi.
Sorry to have taken a while to come back to you … I have been away for a while.
I will be taking a look at this in the next couple of days.
Can you tell me: is the problem apparent when using the standard WordPress editor, or when using the SiteOrigin page builder (as I notice this is a recommended plugin for your theme).
Also, if you can let me know what version of WordPress you are running it may help me to reproduce the issue.
Forum: Plugins
In reply to: [CC Child Pages] Is this plugin GDPR compliant?The plugin does not obtain or store any user data.
Forum: Reviews
In reply to: [CC Child Pages] Great FunctionalityThank you. Glad that it is useful to you 🙂
Forum: Plugins
In reply to: [CC Child Pages] Not displaying current page childs in pagesStrange … there has never been a problem like this reported before.
I suspect that the problem may be due to another plugin, theme or piece of custom code that it altering the calls to
WP_Query…Can you give me a little more to work on:
- The Page URL
- A list of plugins used
- Details of the theme in use
- Any custom code added to the functions.php file of the theme…
- The version of WordPress being used …
The default shortcode explicitly gets the ID of the current page (using
get_the_ID()) and will look for any children of that page/post … so it is very difficult to see how it could possibly return anything but the correct children …- This reply was modified 8 years, 1 month ago by caterhamcomputing.
Forum: Plugins
In reply to: [CC Child Pages] Change the_content() callAs I have not heard back, I am assuming that the problem is resolved … If you are still having problems please let me know.
I have added creating a filter hook for the page excerpt within the plugin to the list of enhancements for future releases as it may be useful in some circumstances.
Forum: Plugins
In reply to: [CC Child Pages] Child Pages OrderYou are welcome … glad that it’s all working for you now 🙂
Forum: Plugins
In reply to: [CC Child Pages] Child Pages OrderAll of the options for the shortcode are detailed at https://ww.wp.xz.cn/plugins/cc-child-pages/
If you order the pages within the dashboard, the plugin will show them in that order (unless you specify a different order).
Forum: Plugins
In reply to: [CC Child Pages] Child Pages OrderDo your pages show in the order you would like them to when you look at them in the WordPress Dashboard?
If so, make sure that the
orderbyparameter is not present in your shortcode or setorderby="menu_order".If they do not show up in the order you would like them to in the WordPress Dashboard I would suggest using the plugin mentioned in my previous comment to order them – that is what allows you to drag and drop the pages into the correct order (assuming they are actual pages or custom fields that use a hierarchy).
At present, this plugin does not allow sorting by tags or other meta fields … you can always use the
excludeparameter to exclude certain results …- This reply was modified 8 years, 1 month ago by caterhamcomputing.
Forum: Plugins
In reply to: [CC Child Pages] Child Pages Order… just another thought (and I haven’t tried it out), but if you are ordering by the page name then padding the short page numbers with spaces may be a quick workaround. (e.g. instead of “Page[space]1”, make it “Page[space][space]1”)
Forum: Plugins
In reply to: [CC Child Pages] Change the_content() callDid my post give you the information you needed, or do you need further assistance?
Forum: Plugins
In reply to: [CC Child Pages] Child Pages OrderThe best solution would probably be to order the pages within the WordPress dashboard to be in the order that you want them to appear and to sort by
menu_order.I personally use the Simple Page Ordering plugin to speed this up, as you can just drag and drop the pages to put them in order – see https://en-gb.ww.wp.xz.cn/plugins/simple-page-ordering/.
Doing things this way will also mean that any other themes or plugins that come up with a list of pages should also show them in the same order.
In theory, it would be possible to order the pages by looking at the value a custom field … at the moment, you’d need to use the
ccchildpages_widget_pages_args,ccchildpages_list_pages_argsand/orccchildpages_query_argsfilters within the plugin to add the relevant values toorderbyandmeta_key… I may add these ordering options to a future version of the plugin, but I think that most of the time actually ordering the pages would be the better option.Forum: Plugins
In reply to: [CC Child Pages] Change the_content() callHi.
There is not currently a filter on the page excerpt within the plugin.
An alternative approach would be to filter the page content using the
the_contentfilter (see https://codex.ww.wp.xz.cn/Plugin_API/Filter_Reference/the_content) rather than trying to replace thethe_contentfunction within WordPress – that way all functions that get the page content (the_content,get_the_content, …) will return consistent results.cc_child_pages uses the
get_the_contentfunction provided by WordPress.I hope this is of some help … let me know if you need further assistance. (Details of why you replaced the
the_contentfunction and what you are doing with it may help in coming up with alternative approaches.)- This reply was modified 8 years, 1 month ago by caterhamcomputing. Reason: clarifying code within the post
Forum: Plugins
In reply to: [CC Child Pages] Show drafts of children and grandchildrenThis is not something that this shortcode is deisgned to do … it will show child pages of either the current page or a specified page that meet certain criteria. If the child of the selected page doesn’t meet the criteria, it will not be included and therefore any of it’s children will not be included.
You would need to either create some kind of custom walker for
wp_list_pagesfunction (https://developer.ww.wp.xz.cn/reference/functions/wp_list_pages/) used by the plugin or write some custom code using WP_Query (https://codex.ww.wp.xz.cn/Class_Reference/WP_Query)- This reply was modified 8 years, 2 months ago by caterhamcomputing.
Forum: Plugins
In reply to: [CC Child Pages] Show drafts of children and grandchildrenLooking at your page and the lists of published and draft pages next to where the shortcode is, I think you need to change the value of
post_statusto:post_status="publish,draft"or something similar (see the documentation for possible values).Let me know if this solves your problem.