SimonGiddings
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] How to create a page "index" pageThank you, ElectricFeet, for your advice.
To go a bit further, does this mean that I would “build my own” directly in the php file, or rather through hooks and filters ?I ask this as I have already seen the bootstrap examples you mention, but have not found how to implement layouts other than those shown (eg: 4 / 5 / 6 columns), despite having asked the question.
Can you advise ?
Just found that I had to add the following to the .htaccess file :
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
All works ok now for site updates.
Remaining issue – how to get rid of the annoying popup panel ?
Forum: Themes and Templates
In reply to: [Customizr] Customisation of post and page title outputThis worked great and I have the assurance that my changes are a bit more future proof.
Thanks again.Forum: Themes and Templates
In reply to: [Customizr] Customisation of post and page title outputThanks, I’ll look into that …
Forum: Themes and Templates
In reply to: [Customizr] Custom blog page and breadcrumb problemGreat, thanks
Forum: Themes and Templates
In reply to: [Customizr] Creating custom page template layoutThis is what I had thought of.
However, my difficulty is to know how to translate this into the default layout.
The example given by Nico only deals with 2/3 layout.
I don’t see how we can produce another type of layout, like that which you have given, via the filtertc_global_layout
.How are we supposed to define our own default global layout ?
Forum: Themes and Templates
In reply to: [Customizr] Categorise pagesResolved
Forum: Themes and Templates
In reply to: [Customizr] Categorise pagesExcellent !
Thank you for this excellent work. +1 ??Forum: Themes and Templates
In reply to: [Customizr] Categorise pagesTotally agree with you.
However …. my case is where I am displaying excerpts of these same pages with the blog articles on the home page.
This is what you helped me with before today :
Adding last published pages to home pageThis is where I am lifting up the <article …> tag I mentioned at the beginning.
Forum: Themes and Templates
In reply to: [Customizr] Categorise pagesSorry, but I do not see where you are referring to.
There are no categories for pages.Forum: Themes and Templates
In reply to: [Customizr] Adding last published pages to home pageJust a footnote to this subject.
To add further filtering at this point in the site, I also use the ‘posts_where‘ filter.
This requires that the database table field name does not change with wordpress revisions, however.Here is an example –
add_filter('posts_where', "filter_home_display"); function filter_home_display($where) { //gets the global query var object global $wp_query; if(! tc__f('__is_home')) return $where; if(!$wp_query->is_main_query()) return $where; $where .= " and [here my extra condition] "; return $where; }
Forum: Themes and Templates
In reply to: [Customizr] Adding last published pages to home pageThis is great.
ThankyouForum: Themes and Templates
In reply to: [Customizr] Adding last published pages to home pageIn fact, not really.
As you pointed out, it is possible to have only the last x posts displayed on the front page.
I would like to either
a. have the same thing for pages
b. have the last x posts and pages – that is that they would be mixed as the display would be date bound.Is this clearer ?
Forum: Themes and Templates
In reply to: [Customizr] Adding last published pages to home pageNo, I am not using the FPU extension (question of cost).
I am using the featured pages section for showing key “entry level” pages.
These will probably stay for a long time.Now, when I publish a new page, I would like for it to also appear on the home page automatically.
This is especially needed when I have a series of article pages being published from specialised authors.Forum: Themes and Templates
In reply to: [Customizr] Adding last published pages to home pageWhen I say “recent pages”, I mean pages and not posts.
Pages being static content not included in the blog.
The “Maximum number of posts per page” refer to blog posts only.This is why, I presume, that the home page will only produce the last entries in the blog and not any recent pages which have been published.
To avoid wasting time, I am not wanting to update the featured pages entries each time I publish a new page.