(→Feature Sets) |
|||
| (119 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | [[ | + | [[Category:Core Sections]] |
| − | + | ||
| − | == | + | <html> |
| − | + | <iframe width="600" height="370" src="http://www.youtube.com/embed/D3eDWGpxIm4?rel=0&playlist=IC-hC8L9cDc" frameborder="0" allowfullscreen></iframe></html> | |
| − | [[File:Create-a-new-page.png|200px|thumb|right|Create a new page | + | |
| − | + | [[File:Features-Front-End.png|200px|thumb|right|alt=Features|Features]] | |
| + | The [[Glossary#Features Section|Features section]] is one of the most dynamic and useful sections included with the PageLines framework. This tutorial will teach you how to use it; as well as some tips and tricks on how to customize it to its fullest.<br /><br /><br /><br /><br /><br /><br /><br /><br /> | ||
| + | |||
| + | ==Enable Features== | ||
| + | There are different ways to set up the Features Section | ||
| + | ===Create a new page using the "Feature Page" template=== | ||
| + | [[File:Create-a-new-page.png|200px|thumb|right|alt=Create a new page|Create a new page]] | ||
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
# Select the "Pages" panel, then "Add New" | # Select the "Pages" panel, then "Add New" | ||
# Enter a title for your new page | # Enter a title for your new page | ||
| − | # | + | # Click the "Template" dropdown & select '''"Template |1"''' |
| − | + | ||
# Click "Publish" | # Click "Publish" | ||
# Click "View Page" | # Click "View Page" | ||
| − | You will now see the | + | You will now see the Features section with the two default Features on your new page. (By default, you will also see the [[Glossary#Boxes Section|Boxes section]] underneath the Features section. This is because the Feature [[Glossary#Page Template|Page Template]] also has the Boxes section turned on by default) |
| − | [[File:Activate-on-existing-page.png|200px|thumb|right| | + | |
| − | + | ===Enable the Features section on existing pages=== | |
| + | [[File:Activate-on-existing-page.png|200px|thumb|right|alt=Enable on existing page|Enable on existing page]] | ||
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
| − | # Select the "PageLines" panel, then "Templates | + | # Select the "PageLines" panel, then [[Glossary#Template Setup|"Templates"]] |
| − | # Select the Template Area that you want the | + | # Select the [[Glossary#Template Area|Template Area]] that you want the Features section to go |
| − | #* If you select the | + | #* If you select the [[Glossary#Page Template|"Page Templates"]] area, by default the Features section will be displayed on every page that is assigned to the type of Page Template you choose |
| − | #* If you select "Header" or "Morefoot," by default the | + | #* If you select [[Glossary#Header|"Header"]] or [[Glossary#Morefoot|"Morefoot,]]" by default the Features section will be displayed on ''every page'' regardless of the Page Template |
| − | #Drag the " | + | #Drag the "Features" section from the "Available/Disabled Sections" over to the "Active Sections" |
| − | # The Section Order will save automatically. | + | # The Section Order will save automatically |
| + | |||
| + | You will now see the Features section on every page that it is active on. | ||
| − | + | ===Hide Features on individual pages=== | |
| − | [[File:Hide-Features.png|200px|thumb|right|Hide Features]] | + | Using [[Glossary#Section Control|Section Control,]] you can control whether or not to show or hide an Active section on a page to page basis |
| − | + | [[File:Hide-Features.png|200px|thumb|right|alt=Hide Features|Hide Features]] | |
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
| − | # Select the "Pages" panel, then "All Pages | + | # Select the "Pages" panel, then "All Pages" |
| − | # Click to edit the page that you wish to hide the | + | # Click to edit the page that you wish to hide the Features section |
| − | # On the "Meta Panel," click the "Page Setup" tab | + | # On the "Meta Panel," click the "Page Setup" tab |
| − | # Under "Individual Page Section Control," click "Hide | + | # Under "Individual Page Section Control," click "Hide Features" |
| − | # Click "Save Meta Settings | + | # Click "Save Meta Settings" |
| − | Because the | + | Because the Features section is displayed by default when you Enable it, you will need to use this method for every page that you do not want the Features section displayed. |
| − | [[File:Hide-Features-by-default.png|200px|thumb|right|Hide Features by default]] | + | |
| − | + | ===''Show'' Features on individual pages=== | |
| − | You can also hide the | + | [[File:Hide-Features-by-default.png|200px|thumb|right|alt=Hide Features by default|Hide Features by default]] |
| + | You can also hide the Features section by default, and choose the pages you want to show it on.<br /> | ||
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
| − | # Select the "PageLines" panel, then "Templates | + | # Select the "PageLines" panel, then "Templates" |
| − | # Make sure you have the correct Template Area selected for the type of pages you want to hide | + | # Make sure you have the correct Template Area selected for the type of pages you want to hide |
| − | # Under "Active Sections" click " | + | # Under "Active Sections" click "Features ''Options''" |
| − | # Click "Hide This By Default | + | # Click "Hide This By Default" |
# The Section Options will save automatically | # The Section Options will save automatically | ||
| − | [[File:Show-Features.png|200px|thumb|right|Show Features]] | + | [[File:Show-Features.png|200px|thumb|right|alt=Show Features|Show Features]] |
| − | Now the | + | Now the Features section will be hidden by default until you select to show it on the individual page. |
| − | # Select the "Pages" panel, then "All Pages | + | # Select the "Pages" panel, then "All Pages" |
| − | # Click to edit the page that you wish to | + | # Click to edit the page that you wish to show the Features section |
| − | # On the "Meta Panel," click the "Page Setup" tab | + | # On the "Meta Panel," click the "Page Setup" tab |
| − | # Under "Individual Page Section Control," click "''Show'' | + | # Under "Individual Page Section Control," click "''Show'' Features" |
| − | # Click "Save Meta Settings | + | # Click "Save Meta Settings" |
==Add New Feature== | ==Add New Feature== | ||
| − | [[File:Add-new-feature-complete.png|200px|thumb|right|Add | + | From your WordPress Administration Panel: [[File:Add-new-feature-complete.png|200px|thumb|right|alt=Add New Feature|Add New Feature]] |
| − | + | # Select the "Features" panel, then "Add New Feature" | |
| − | # Select the "Features" panel, then "Add New Feature | + | # Enter a Title for your Feature |
| − | # Enter a Title for your Feature | + | #* By default this will be displayed as a Heading on your Feature Slide |
| − | #* By default this will be displayed as a Heading on your Feature Slide | + | # Enter text to be displayed on the Feature |
| − | # Enter text to be displayed on the Feature | + | # Choose your Feature Setup Options |
| − | # Choose your Feature Setup Options | + | ## '''Feature Text Position''' |
| − | ## Feature Text Position | + | ##* This option will control the position of the Feature's title & any text that you wrote |
| − | ##* This option will control the position of the Feature's title & any text that you wrote | + | ## '''Feature Background Image''' |
| − | ## Feature Background Image | + | ### Click "Upload Image" |
| − | ### Click "Upload Image | + | ### Browse your computer for your background image & click "Open" |
| − | ### Browse your computer for your background image & click "Open | + | ###* If you already uploaded a background image to your server, simply type the full URL of the image & click "Save Meta Settings" |
| − | ###* If you already uploaded a background image to your server, simply type the full URL of the image & click "Save Meta Settings | + | |
###* '''Tips For Creating a Background Image''' | ###* '''Tips For Creating a Background Image''' | ||
| − | ###** The default image width & height is '''930x380 pixels | + | ###** The default image width & height is '''930x380 pixels''' |
| − | ###** The width of the | + | ###** The width of the Features section is determined by the "[[Glossary#Content Area|Content Area]]" width in the "[[Glossary#Layout Editor|Layout Editor]]" settings |
| − | ###** There is a padding of 15 pixels on the right & left side of the | + | ###** There is a padding of 15 pixels on the right & left side of the Features section |
| − | ###** If the total " | + | ###** If the total "Content Area" width is 960 pixels, the width of the Features section will be 930 pixels |
| − | ###** If the image you created is wider than the | + | ###** If the image you created is wider than the Features section, the ends of the image will cropped, not squished |
| − | ###** To change the height of the | + | ###** To change the height of the Features section, go to the MetaPanel settings for the page that will display the Features section & enter the new height in pixels |
###** Supports '''.png''', '''.jpg''', & '''.gif''' | ###** Supports '''.png''', '''.jpg''', & '''.gif''' | ||
| − | ## Feature Design Style | + | ## '''Feature Design Style''' |
| − | ##*Select the design style you would like this feature to have (e.g. default background color, text color, overlay? etc...) | + | ##* Select the design style you would like this feature to have (e.g. default background color, text color, overlay? etc...) |
| − | + | ##* The Background Color will appear behind any background image you use | |
| − | + | ##* Using the default "Transparent Text Overlay" will help distinguish your text if there is a background image behind it | |
| − | + | ## '''Feature Media Image''' | |
| − | ##Feature Media Image | + | ##* Upload an image of the appropriate size for the feature media area |
| − | ##* Upload an image of the appropriate size for the feature media area | + | ### Click "Upload Image" |
| − | ### Click "Upload Image | + | ### Browse your computer for your image & click "Open" |
| − | ### Browse your computer for your image & click "Open | + | ###* If you already uploaded an image to your server, simply type the full URL of the image & click "Save Meta Settings" |
| − | ###* If you already uploaded an image to your server, simply type the full URL of the image & click "Save Meta Settings | + | ###* The position of the Feature Media Image will depend on the "Feature Text Position" setting |
| − | ###* The position of the Feature Media Image will depend on the "Feature Text Position" setting | + | |
###* Supports '''.png''', '''.jpg''', & '''.gif''' | ###* Supports '''.png''', '''.jpg''', & '''.gif''' | ||
| − | ## Feature Media HTML | + | ## '''Feature Media HTML''' |
##* Insert HTML, Embed Code From YouTube, Flash, etc... | ##* Insert HTML, Embed Code From YouTube, Flash, etc... | ||
| − | ##* To use this you must not use a Feature Page Image | + | ##* To use this you must not use a Feature Page Image |
| − | ##* If you are embedding an iframe and are having issues with drop-down menus dropping behind your video, try adding "?wmode=opaque" to the end of your embed code | + | ##* If you are embedding an iframe and are having issues with drop-down menus dropping behind your video, try adding "?wmode=opaque" to the end of your embed code |
| − | ## Feature Thumb | + | ## '''Feature Thumb''' |
| − | ##* When your Feature Navigation Mode is set to "Thumb Navigation," create an image 50px wide by 30px tall and upload here | + | ##* When your Feature Navigation Mode is set to "Thumb Navigation," create an image 50px wide by 30px tall and upload here |
##* Supports '''.png''', '''.jpg''', & '''.gif''' | ##* Supports '''.png''', '''.jpg''', & '''.gif''' | ||
| − | ## Feature Link URL | + | ## '''Feature Link URL''' |
##* Adding a URL here will add a link to your feature slide | ##* Adding a URL here will add a link to your feature slide | ||
| − | ## Link Text | + | ## '''Link Text''' |
##* Enter the text you would like in your Feature Link URL | ##* Enter the text you would like in your Feature Link URL | ||
| − | ## Navigation Label | + | ## '''Navigation Label''' |
| − | ##* When your Feature Navigation Mode is set to "Feature Names," enter the title you would like to appear | + | ##* When your Feature Navigation Mode is set to "Feature Names," enter the title you would like to appear |
| − | # Click "Publish | + | # Click "Publish" |
==Feature Sets== | ==Feature Sets== | ||
| − | A Feature Set is what controls which Features are displayed on | + | A Feature Set is what controls which Features are displayed on individual pages |
| − | + | ===Create Feature Set=== | |
| + | [[File:Create-Feature-Set.png|200px|thumb|right|alt=Create Feature Set|Create Feature Set]] | ||
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
| − | # Select the "Features" panel, then "Feature Sets | + | # Select the "Features" panel, then "Feature Sets" |
| − | # Type a Name for the Feature Set | + | # Type a Name for the Feature Set |
| − | #* This name is how it will appear on your site | + | #* This name is how it will appear on your site |
| − | # Type a Slug for the Feature Set | + | # Type a Slug for the Feature Set |
| − | #* The “Slug” is the URL-friendly version of the Feature Set Name. It is usually all lowercase and contains only letters, numbers, and hyphens | + | #* The “Slug” is the URL-friendly version of the Feature Set Name. It is usually all lowercase and contains only letters, numbers, and hyphens |
| − | # Click "Add New Category." | + | # Click "Add New Category." |
| − | + | ===Assign Features to a Feature Set=== | |
| + | [[File:Assign-Features-to-Set.png|200px|thumb|right|alt=Assign Features to Set|Assign Features to Set]] | ||
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
| − | # Select the "Features" panel, then "Features | + | # Select the "Features" panel, then "Features" |
| − | # Click to edit the Feature that you want to assign | + | # Click to edit the Feature that you want to assign |
| − | #* You can also select multiple Features by checking the box next to the Title and under "Bulk Action," select "Edit," then click "Apply | + | #* You can also select multiple Features by checking the box next to the Title and under "Bulk Action," select "Edit," then click "Apply" |
# Check the box next to the Feature Set that you want to assign the Feature to. | # Check the box next to the Feature Set that you want to assign the Feature to. | ||
| − | # Click "Update | + | # Click "Update" |
| − | * You can assign a Feature to more than one Feature Set | + | * You can assign a Feature to more than one Feature Set |
| − | * You can also assign a Feature to a Feature Set while you are creating the Feature | + | * You can also assign a Feature to a Feature Set while you are creating the Feature |
| − | + | ===Assign Feature Set to Features=== | |
| + | [[File:Assign-Feature-Set-to-Slider.png|200px|thumb|right|alt=Assign Feature Set to Features Section|Assign Feature Set to Features Section]] | ||
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
| − | # Select the "Pages" panel, then "All Pages | + | # Select the "Pages" panel, then "All Pages" |
| − | # Click to edit the Page that you want to assign the Feature Set to | + | # Click to edit the Page that you want to assign the Feature Set to |
| − | # On the MetaPanel, click "Feature Meta | + | # On the MetaPanel, click "Feature Meta" |
| − | # Under "Select Feature Set To Show," click the drop down to select a Feature Set | + | # Under "Select Feature Set To Show," click the drop down to select a Feature Set |
| − | # Click "Save Meta Settings | + | # Click "Save Meta Settings" |
| − | * If you do not assign a Feature Set | + | * If you do not assign a Feature Set, the Features section will display all of your Features |
==Feature Meta== | ==Feature Meta== | ||
| − | These settings will further customize your Features. <br /> | + | These settings will further customize your Features. <br />[[File:Feature-Meta.png|200px|thumb|right|alt=Feature Meta|Feature Meta]] |
From your WordPress Administration Panel: | From your WordPress Administration Panel: | ||
| − | # Select the "Pages" panel, then "All Pages | + | # Select the "Pages" panel, then "All Pages" |
| − | # Click to edit the Page that | + | # Click to edit the Page that will display the Features section |
| − | # On the MetaPanel, click " | + | # On the MetaPanel, click "Features" |
| − | '''Number of Feature Slides''' | + | ## '''Feature Area Height''' |
| − | This will limit the number of Features that will appear in the | + | ##* To change the height of the Features section, enter the height (in pixels) into the text box |
| − | '''Select Feature Set To Show''' | + | ##* The default height of the Features section is 380 pixels |
| − | Click the drop down to select a Feature Set | + | ## '''Number of Feature Slides''' |
| − | '''Feature Navigation Mode''' | + | ##* This will limit the number of Features that will appear in the Features section, regardless of the number of Features assigned to the Feature Set |
| − | This controls what the buttons for each Feature slide will look like | + | ## '''Feature Post Sort Order''' |
| − | * If you select "No Navigation," you must set the | + | ##* Choose from different options for sorting your feature slides |
| − | '''Feature Viewing Time (Timeout)''' | + | ## '''Feature Post Sort Order''' |
| − | This controls whether or not the | + | ##* Based on the sort order chosen above, choose either "Descending" or "Ascending" |
| − | * By default, the | + | ## '''Select Feature Set To Show''' |
| − | '''Feature Transition Time (Timeout)''' | + | ##* Click the drop down to select a Feature Set |
| − | This controls the amount of time in milliseconds that it takes for a Feature to transition to the next one | + | ## '''Feature Navigation Mode''' |
| − | '''Transition Effect''' | + | ##* This controls what the buttons for each Feature slide will look like |
| − | Click the drop down to choose from 28 different transition effects | + | ##* If you select "No Navigation," you must set the Features section to "auto mode." (using the Feature Viewing Time setting) Otherwise your users will have no way to go to the next Feature and the Features section will stay parked on the first Feature |
| − | '''Show Play/Pause Button''' | + | ## '''Feature Viewing Time (Timeout)''' |
| − | When the | + | ##* This controls whether or not the Features section will be manual or automatic |
| − | '''Feature Post Source''' | + | ##* By default, the Features section is set to manual mode and has a Timeout value of 0. To change to automatic, enter a value in milliseconds to control how long each Feature slide will appear before transitioning to the next one |
| − | The | + | ## '''Feature Transition Time (Timeout)''' |
| − | * Click the drop down menu to select | + | ##* This controls the amount of time in milliseconds that it takes for a Feature to transition to the next one |
| − | '''Post Category''' | + | ## '''Transition Effect''' |
| − | If your Feature Post Source is set to "Use Post Category," click the drop down to select the post category that you want to use | + | ##* Click the drop down to choose from 28 different transition effects |
| − | + | ## '''Show Play/Pause Button''' | |
| − | + | ##* When the Features section is set to Automatic Mode, check this box to add a play/pause button to the Features section. That way users can pause the automatic transitioning in order to watch a video, read a feature, etc.. | |
| − | + | ## '''Feature Post Source''' | |
| − | '''Remove Transition Syncing''' | + | ##* The Features section will by default use "Feature Post (custom post type)" slides that you create. As an alternative, you can set the Feature Post Source to show a category of regular Blog Posts instead of Feature Posts, or you can choose ''All''Posts |
| − | This controls whether features can move on to the screen while another is transitioning off. If checked, features will have to leave the screen before the next can transition on to it. | + | ##* Click the drop down menu to select your Post Source |
| + | ##* See below for more information | ||
| + | ## '''Post Category''' | ||
| + | ##* If your Feature Post Source is set to "Use Post Category," click the drop down to select the post category that you want to use | ||
| + | ## '''Remove Transition Syncing''' | ||
| + | ##* This controls whether features can move on to the screen while another is transitioning off. If checked, features will have to leave the screen before the next can transition on to it | ||
| + | # Click "Save Meta Settings" | ||
| + | |||
| + | ==Feature Post Source== | ||
| + | ===Background Image=== | ||
| + | If you set your Feature Post Source to "Use Post Category," the post's "Featured Image" will be used as the background image. If your post does not have a "Featured Image", the background will be black. | ||
| + | |||
| + | If you do not want your background image to be the "Featured Image", you can easily change it by adding the following custom CSS: | ||
| + | |||
| + | <div style="background-color: #FFFF00"> | ||
| + | |||
| + | <nowiki>#</nowiki>feature_<span style="color:red">###</span> .feature-wrap {background-image: url("<span style="color:red">link to background image</span>") !important} | ||
| + | </div> | ||
| + | Where <span style="color:red">###</span> = the div id of that particular Feature Slider. Use a [http://www.pagelines.com/wiki/index.php?title=CSS_Customization#How_to_use_CSS_Inspection_Tools CSS Inspections tool] such as Firebug to find the id number. | ||
| + | ===Text Position=== | ||
| + | By default, your blog excerpts will be displayed on the left side of the Feature Slider. To move the excerpts to the right side, add the following custom CSS: | ||
| + | |||
| + | <div style="background-color: #FFFF00"> | ||
| + | <nowiki>#</nowiki>feature_<span style="color:red">###</span> .fcontent {float: right !important} | ||
| + | </div> | ||
| + | |||
| + | Remember that <span style="color:red">###</span> = the div id of that particular Feature Slider. | ||
==Feature Sort Order== | ==Feature Sort Order== | ||
| − | + | You can use the Features Meta to control the sort order of the features either descending or ascending using the following methods: | |
| + | * Post ID | ||
| + | * Title | ||
| + | * Date | ||
| + | * Last Modified | ||
| + | * Random | ||
| − | [http://downloads.wordpress.org/plugin/post-types-order.zip Download the Post Types Order plugin | + | If you are unable to achieve your desired sort order using these options, you can alternatively use the [[Glossary#Post Types Order Plugin|Post Types Order]] plugin. It will allow you drag and drop control over the order however you want.<br /><br /> |
| − | From your WordPress Administration Panel: | + | [http://downloads.wordpress.org/plugin/post-types-order.zip Download], install, & activate the Post Types Order plugin <br /> |
| − | + | [[File:Feature-Sort-Order.png|200px|thumb|right|alt=Feature Sort Order|Feature Sort Order]] | |
| − | + | From your WordPress Administration Panel: | |
| − | + | # Select the "Features" panel, then "Re-Order" | |
| − | + | # Click and drag to rearrange the order of the Features | |
| − | + | # Click "Update" | |
| − | # Select the "Features" panel, then "Re-Order | + | [[File:Post-Types-Order-setup.png|200px|thumb|right|alt=Post Types Order Setup|Post Types Order Setup]] |
| − | # Click and drag to rearrange the order of the Features | + | <br /><br /><br /><br /><br /> |
| − | # Click "Update | + | |
* When you first install & activate the Post Types Order Plugin, you will see a message that the plugin must be configured. | * When you first install & activate the Post Types Order Plugin, you will see a message that the plugin must be configured. | ||
| − | *# Select the "Settings" panel, then "Post Types Order | + | *# Select the "Settings" panel, then "Post Types Order" |
| − | *# Choose the settings you desire. If you are unsure what these setting mean, leave them alone | + | *# Choose the General settings you desire. If you are unsure what these setting mean, leave them alone |
| − | *# Click "Save Settings | + | *# Click "Save Settings" |
The Features section is one of the most dynamic and useful sections included with the PageLines framework. This tutorial will teach you how to use it; as well as some tips and tricks on how to customize it to its fullest.
Contents |
There are different ways to set up the Features Section
From your WordPress Administration Panel:
You will now see the Features section with the two default Features on your new page. (By default, you will also see the Boxes section underneath the Features section. This is because the Feature Page Template also has the Boxes section turned on by default)
From your WordPress Administration Panel:
You will now see the Features section on every page that it is active on.
Using Section Control, you can control whether or not to show or hide an Active section on a page to page basis
From your WordPress Administration Panel:
Because the Features section is displayed by default when you Enable it, you will need to use this method for every page that you do not want the Features section displayed.
You can also hide the Features section by default, and choose the pages you want to show it on.
From your WordPress Administration Panel:
Now the Features section will be hidden by default until you select to show it on the individual page.
A Feature Set is what controls which Features are displayed on individual pages
From your WordPress Administration Panel:
From your WordPress Administration Panel:
From your WordPress Administration Panel:
From your WordPress Administration Panel:
If you set your Feature Post Source to "Use Post Category," the post's "Featured Image" will be used as the background image. If your post does not have a "Featured Image", the background will be black.
If you do not want your background image to be the "Featured Image", you can easily change it by adding the following custom CSS:
#feature_### .feature-wrap {background-image: url("link to background image") !important}
Where ### = the div id of that particular Feature Slider. Use a CSS Inspections tool such as Firebug to find the id number.
By default, your blog excerpts will be displayed on the left side of the Feature Slider. To move the excerpts to the right side, add the following custom CSS:
#feature_### .fcontent {float: right !important}
Remember that ### = the div id of that particular Feature Slider.
You can use the Features Meta to control the sort order of the features either descending or ascending using the following methods:
If you are unable to achieve your desired sort order using these options, you can alternatively use the Post Types Order plugin. It will allow you drag and drop control over the order however you want.
Download, install, & activate the Post Types Order plugin
From your WordPress Administration Panel: