ldebacker
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Shortcode] Performance when looping on pages with galleriesThanks again for your investigations.
I’ll try plugin organizer, then, which could be useful to optimize performance anyway.The current fast response time is a simple trick: I made a “static” page in addition to the “dynamic” catalogue.
When I update the dynamic catalogue, I copy part of the source (rendered HTML) code into the static version. I only publish the static version.
Forum: Plugins
In reply to: [Custom Content Shortcode] Performance when looping on pages with galleriesThere is a weird interaction with NGG. Deactivating NGG “solves” the issue.
But the exact cause is unknown.
Forum: Plugins
In reply to: [Custom Content Shortcode] Performance when looping on pages with galleriesDefinitively a problem of interaction with NGG.
The exact cause is unknown, but disabling NGG “solves” the issue.Forum: Plugins
In reply to: [Custom Content Shortcode] Performance when looping on pages with galleriesActually, a simple page such as:
https://beta.dmtribe.be/?page_id=3028
which only contains this:
[loop type=”page” category=”decoration” orderby=”title”]
[content field=”title”]
[/loop]… still generates a considerable number of queries (214) and a javascript variable per page of the loop.
So, despite the fact that only the field “title” is inserted in the page, it seems that we are querying additional information about each page of the loop (in particular, gallery related information).
Forum: Plugins
In reply to: [Custom Content Shortcode] Performance when looping on pages with galleriesThanks for your quick response.
The “Gallery Field ” setting is disabled for both post and pages.Here is the source code of the page (just or a given category of a catalogue to avoid useless repetition, and replacing tags that could be interpreted by this editor, for example li became ali):
<div class=”expandall”>Voir tous les articles</div>
`[expand title=”Décoration” tag=”h5″]
<aul>
[loop type=”page” parent=”decoration” orderby=”title”]
<ali><aa href=”[url”>[content field=”title”] (Quantité: [content field=”Quantity”], prix: [content field=”Price”])</aa></ali>[/loop]
</aul>[/expand]
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Existing custom fields values do not appearMany thanks for the quick and efficient support.
The new version allows exactly what I wanted.
Thanks again, Sir!
Forum: Plugins
In reply to: [List Pages Shortcode] Short code expansion in titleSure, thanks for your quick response.
I am using Suffusion.
I just followed the instructions that can be found here and there on the net to enable short codes in titles, that’s to say:
I modified functions.php (the one coming with suffusion) to add the following line:add_filter('the_title', 'do_shortcode');
So, in my page title I enter a short code: [content field=”year”]
The short code I entered comes form the plugin custom-content-shortcode/
The one I’m using inserts the contents of the custom field “year” in my title.BRs,
Laurent.