The page-template tag has no wiki summary.
0
votes
0answers
76 views
Wordpress stopped recognizing custom page templates changes [closed]
I'm not sure when this started, but I just noticed that some of my custom page templates do not reflect the changes I make anymore. I have no idea when or why this started happening. For example, if I ...
0
votes
3answers
608 views
Custom page template not working
I followed this tutorial for the page specific template -- http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
Created a page through wordpress admin panel - Blog Page URL like -- ...
3
votes
2answers
994 views
Multiple areas of dynamic content in a page
I am new in Wordpress and what I really can't find how to do is the following:
I have a new Page created from the CMS. This pages have different modules with text. Take for example this template ...
0
votes
2answers
702 views
Pass $page_id to new WP_Query
Probably pretty simple and more PHP-related than pure WP, but how would one pass the $page_id generated in the first code snip into the new WP_Query () in the second code snip?
What I need to do - in ...
1
vote
0answers
88 views
Automatic Shortcode Creation with Custom Fields
This is basically a php issue as I'm fairly new to it and can't figure out how to code things the way I want. I am basically trying to pull information from custom fields (grid reference) and post ...
0
votes
1answer
112 views
templates with page teasers Or Featured Items
I've been given a design for a WordPress site which will be mostly made up of pages rather than posts. However, at the top of each page there needs to be three featured items in a row. Each featured ...
1
vote
2answers
110 views
Templates have disappeared from drop down lists
I think this happened when I upgraded to 3.4, or it might have happened more recently. The template drop down list is now missing most of my templates. Pages that were using the templates are still ...
1
vote
1answer
71 views
Page template across themes
Is it possible to make a page template available to multiple or all themes without having to save the page template in every single theme folder?
Maybe something like:
themes/globalform.php instead ...
0
votes
1answer
93 views
Wordpress Page Template: Comment Filtering with Querystring
A custom Page Template was developed in order to display a list of products.
A WordPress page (/products) was created and the template was applied to it. There is a database which the template's ...
2
votes
3answers
144 views
Is it possible to enqueue a raw CSS string directly from within a template file?
I was wondering if it's possible to enqueue raw CSS as a string directly from within a template file?
I'm writing a custom template for a page and need to add some style rules for it. What I want to ...
0
votes
1answer
104 views
Having trouble using this post category query on multiple pages?
I have three pages on my site (Listen, Read, Watch) which each query a different post category: "listen", "read", and "watch" respectively. I created three separate php files with their own unique ...
0
votes
2answers
41 views
Page template is accessing the incorrect posts?
Hi I'm attempting to create my own custom template that will have a format like this:
<?php get_header(); ?>
<div id="container">
<div id="top-half">
<!--fixed ...
1
vote
1answer
58 views
Custom Page Template for “Older Posts” Pages
My home page feed has a variety of items including a featured post and other features that I'd only like present on the home feed. When a user clicks on pagination to load older posts, I'd like to ...
1
vote
3answers
2k views
Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
I have spent hours today on a maddening issue I was having with displaying a custom post type. Everything displayed beautifully, except the pagination simply would not work properly.
I have a ...
1
vote
1answer
564 views
Is there a default template file for child pages / subpages?
This seems like a very simple question. I'm looking for something like sub-page.php or page-child.php where I can do some different things on the child pages of my theme.
They are different enough ...
1
vote
1answer
71 views
How do you create a custom template to display a category with an image and related posts below?
I am trying to create a custom template that can give the following effect...
Category Name A (with image)
post with category name A
post 2 with category name A
post 3 with category name A
...
0
votes
2answers
136 views
How do I add my PHP app to a Wordpress page whilst keeping semantic URLs?
I am rebuilding a static website for a client using Wordpress on the main domain- eg domain.com. There is also a directory of members website at directory.domain.com which I was hoping to migrate over ...
-2
votes
1answer
168 views
One of my pages uses the archive.php template only. Why?
I created a page and experimented with Custom Templates. Suddenly I noticed that this page started using the archive.php template and no matter which Custom Template I assigned to it, it continues ...
0
votes
1answer
285 views
Including facebook.php in a wordpress page template?
I was wondering if I can include Facebook's php sdk file into a wordpress page template ?
For example in page.php:
<?php get_header(); ?>
<?php get_sidebar(); ?>
...
0
votes
2answers
33 views
use a page to render 1 post and include comments FOR THE POST
wordpress 3.3.2
hi. so i have this custom post type and i use a page to show just one post.
url.td/page/
the page renders the post but now i want to include comments.
if i allow comments for the ...
0
votes
1answer
108 views
Custom folder for wordpress page templates
How I can change a folder for wordpress page templates?
By default all page templates located in theme's root folder. I want to make a folder with name "templates" in theme's root directory and keep ...
1
vote
1answer
310 views
How to remove a parent theme template from Quick Edit?
I was looking for a way to hide the parent theme's templates and found this answer which works perfectly to remove the parent templates from the pages edit screen - How to *remove* a parent theme page ...
0
votes
2answers
82 views
Editing a PHP file to include a small text piece on every page
I'm building site (dummy site is up at www.teamcoding.ca/corporate) and would like to include in the upper-right hand part of the screen, "Switch to Lifestyle Site" with a link to a different site.
...
1
vote
1answer
322 views
Custom page template to display all image attachments
I am tryin to insert all pictures in media to page. By meaning all pictures, everything added in blog. I ve been looking this feature all day. Is there any shortcode for that or something easy to make ...
0
votes
1answer
26 views
Template tag for /page/# structure
I'm trying to find a template page (or conditional statement) that will target:
http://url.com
but not
http://url.com/page/2/
home.php and front-page.php seem to target both. The front ...
1
vote
1answer
33 views
Cant remove line that appears above page content
Hi all I am running a multisite I have custom page templates that are working fine however the home page displays the text below, am sure its not in the template and I am struggling to find where its ...
1
vote
2answers
698 views
Displaying page content in category archive (archive.php)
I'm new to template editing in wordpress and I'm trying to get a page description to show up on my site but it is not appearing. The URL I'm trying to get to display the description is here:
...
0
votes
1answer
75 views
Want to exclude slider from page.php in header
I know this is a dumb question, but for the love of my life, I can't get the code to work. I have three page templates: home, page and another page-by category. I have a slider that I want to excluded ...
1
vote
2answers
155 views
How do I find if a page has a template?
So I'm doing a query like this:
$the_query = new WP_Query( array( 'meta_key' => 'homepage', 'meta_value' => 'yes',
'post_type' => 'page', 'orderby' => 'modified', 'posts_per_page' ...
3
votes
1answer
209 views
Create “File-less” Page Template in Functions.php
(By "Page Template," I mean a theme file with the "Template Name" header that can be selected in the "Template" dropdown field on the page admin.)
In multiple instances, I've built page templates ...
-2
votes
1answer
377 views
Display all posts in a page code for template
I have found some code to display all posts in a page but it's not exactly what I need.
What I need to do is for example:
<h1>This is the Title</h1>
<p>This is the content of the ...
0
votes
1answer
51 views
Using shortcodes to communicate my page design
I came across this page http://flare.bringthepixel.com/pages/services/ and on it there is this message: "The entire code of this sample page is available in the Shortcode Generator".
Lets say i gave ...
1
vote
1answer
188 views
Can I create a page template, use it once, then hide/remove the option to use it again?
I am working on a WP theme/project that includes several custom page templates that will only be used once each. For example, there is a page with a map and search form for finding things on the map. ...
0
votes
1answer
524 views
Custom meta box shown when template is chosen [duplicate]
Possible Duplicate:
Toggle admin metabox based upon chosen page template
Is this possible to change editor screen immediately after someone picks some template from the drop down?
I need a ...
2
votes
1answer
818 views
Multiple portfolios with one custom post type?
I wonder what's the right way of creating portfolio website (with as many portfolio pages I want). Usually I create page template that displays posts with category = Portfolio or with posts from ...
0
votes
1answer
184 views
How do I include a template file while allowing it to render its own dynamic content added via custom box?
I have 3 theme files: header.php, navigation.php and page.php
page.php calls header.php
They both have content which is added to via a custom box.
navigation.php has some content added to it via a ...
4
votes
1answer
172 views
How to consolidate multiple static page templates into one dynamic one?
I have a group of themes that a client needs consolidated into one. Everything is fairly straight forward, except each theme has theme-specific page templates. Instead of pooling all the template ...
1
vote
1answer
534 views
How to retrieve $_GET variables from rewritten URLs?
I need to receive some special $_GET parameters for a custom page I'm making, i know how to receive this through a simple $_GET like mysite.net/products/?id=1 , but I wanted to use the URL style of my ...
2
votes
1answer
51 views
After updating a page, all pages on the site used the index.php template
I am having a strange problem with a site I am currently building. I will try to give as much detail as possible in the hopes that somebody is able to figure out what is causing this :)
Overview of ...
1
vote
2answers
1k views
Pull in custom content types into page template
I've looked everywhere for a solution, but have yet to find one. Here is the situation. I've created a custom content type using the plugin Custom Content Type Manager and now have need to use these ...
1
vote
2answers
156 views
Using custom page templates with plugin
I'm developing a plugin. This plugin creating a new post type and displaying these posts in a custom template.
For example it's a event calendar plugin. This plugin creating a new post type 'event '. ...
1
vote
1answer
211 views
I put my blog on a subpage, how do I get page title?
I've got my blog setup on a subpage (not the front page) and I'm using the template file home.php, how can I get the contents from the page editor onto this subpage?
If I change the title of the page ...
0
votes
1answer
261 views
Detect category choice for posts with multiple categories
On my single template, I wish to show other posts in that category.
Its essential that I use the route they chose, i.e. if they clicked Category 1, then Post A, if Post A is also Categorised as ...
0
votes
1answer
539 views
Custom Post Type page template doesn't show up
I created a custom post type called portfolio. I also created a file called single-portfolio.php to display the portfolio content.
When creating a portfolio post, the template I want to use doesn't ...
0
votes
2answers
307 views
How to modify the Loop from a plugin (instead of a theme)
I am building a plugin which sets up a custom post type with some meta information.
I'd like that information to show up in the loop (in particular the one on the main page).
How can I modify the ...
0
votes
2answers
293 views
Wordpress 3.3.1 Page template not showing in admin area
I have created a page with the php comment at the start of the file:
<?php
/*
Template Name=> Team Detail
*/
?>
and saved it as team-detail.php in my theme's root directory. Now when I ...
1
vote
1answer
54 views
Template plugin for blog posts?
can someone recommend a plugin to do the following?
My wordpress CMS has two types of users: administrator and editor, both of whom are not technologically savvy, so they need things to be super ...
0
votes
1answer
476 views
page.php – is_front_page NOT WORKING
I'm trying to target my landing page with is_front_page or is_home in my page.php file but it's not working. I have set the settings > reading to a static page.
However, if I create a page-home.php ...
1
vote
1answer
67 views
How to create a custom css class for a specific page template
first time writing here pls be nice :)
i created a page in wp called "mypage".
than i created a custom template page called "page_mypage.php"
now i just wanted to create some custom css classes in ...
0
votes
1answer
57 views
Custom Page Templates
I am trying to find the feature to add a page template. I am adding an archive but when I go into pages->Add New-> I get no option in the sidebar to use the existing archives.php file I want to use. ...