I'm trying to understand this option (Excluded page parts) - but I don't really knows how to use it. For example there is a page with:
header (using <header></header>)
content block (using <div id="contentblock"></div>)
sidebar (using <div id="sidebar"></div>)
and footer (using <footer></footer).
I only want to look in the content block but not in the header/footer and sidebar. How do I use the Excluded page parts?
Excluded page parts
-
- Posts: 20
- Joined: 21 Sep 2017, 15:38
Re: Excluded page parts
Ok, I understand the option. I looked at some projects using the 'excluded page parts' - it's really very simple :)
-
- Site Admin
- Posts: 2084
- Joined: 02 Mar 2009, 17:02
Re: Excluded page parts
If you want EPF to parse only one part of the page, then I suggest excluding everything before and after that part. In your case I'd use 2 "Excluded page parts" like this:
From: EMPTY
To: <div id="contentblock">
From: <div id="sidebar">
To: EMPTY
Empty "from" field means "beginning of the page". Empty "To" field means the "end of the page".
From: EMPTY
To: <div id="contentblock">
From: <div id="sidebar">
To: EMPTY
Empty "from" field means "beginning of the page". Empty "To" field means the "end of the page".