Tagged Questions
0
votes
0answers
26 views
How to dynamically change spots of text in custom page?
When I create a page I'm suppose to describe the content on the editor of Wordpress. When it's a simple text with some images its ok.
But the problem is: My custom layout has a lot of deep HTML and I ...
0
votes
2answers
45 views
Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
I've spent a few days researching working with WP static pages - as separate from posts.
Although I've found useful guidance, I can't seem to find any good tutorials or worked examples that show me ...
0
votes
1answer
22 views
What's the most minimal way in which a page can be hooked into WP?
I do a fair bit with custom API's on WordPress-based sites, typically by creating page templates.
However, creating a custom page template, then creating a WP Page that utilizes it is kind of a pain ...
0
votes
1answer
52 views
Wordpress theme: Add page content to the bottom of the Contact form
I am using the following wordpress theme, which is pretty cool btw.: http://demo.s5themes.com/?theme=simplecorp
Now the site has a custom Theme Options build in, where you can specify all the content ...
0
votes
2answers
30 views
Create a new page for each form selection
I have a got custom page template which displays a drop down box that has list of countries.A user selects the box and clicks sumbit.Page then then displays the relevant details for that country .IT ...
0
votes
1answer
61 views
Using custom post types within a section of a template
I'm trying to get the hang of custom post types and I am trying to get them to loop through the post types within a page template. I'm already using the MultiEdit plugin to display certain content ...
0
votes
1answer
32 views
Do I really need the div class entry?
I was wondering if it's really neccessary to keep the <div class="entry"> in the page.php file (or any other template for that matter). I typically use a blank HTML5 wordpress theme and it ...
0
votes
0answers
91 views
wp get_pages: Include parent page on child pages
I am using this code to get a list of child pages excluding the current page and is working fine.
But... When I'm viewing a child page, the parent page is not listed...
How can I exclude the ...
0
votes
1answer
65 views
How to bypass 404 for certain pages/posts?
I have a site with urls like so: site.com/folder/page-name
It is moving to another site built in wordpress and I am trying to recreate the page to ensure incoming links continue to work as normal.
...
0
votes
0answers
43 views
Google Custom Search Engine
I followed instructions on below link and Google Custom Search Engine does not seem to be working on IE and Safari. Is there something wrong with the Genesis with Google CSE or is this something that ...
0
votes
2answers
614 views
How to display page content in a page template?
In my WordPress site, I made a custom page template, which contained a custom query [using WP_Query()]. With that query, I can perfectly get the posts of a certain category. But I want to show the ...
0
votes
0answers
95 views
Wordpress e-commerce custom product category page
I am working on an e-commerce website and using wp e-commerce plugin.
I am stuck at making a custom category page of a product.
Here is what I am trying to achieve:
I have a two main product ...
0
votes
3answers
87 views
Dynamic href link to Contact Page
I need a <a href="Something Like <?get_contact_page>">Contact Page</a> Code that always links to the Contact page, no matter what is it's ID
There's a page template for contact ...
1
vote
1answer
36 views
Create a loop that gets pages with their template
I am trying to make a template that will be an html5/ vertical scrolling base.
I have created an amount of page templates that each would represent a <section> on index.php which mainly all it ...
0
votes
1answer
41 views
Outputting content from page
I'm trying to display a title, featured image, and content from a page into a new template (that will contain content from several pages). I tried to just echo the variables as shown below, but right ...
0
votes
1answer
90 views
Removing the TinyMCE editor for a given page template
I was looking for a way to remove the TinyMCE Editor for a specific page template in a theme (in my case it's page-home.php). I found the following code, which works, however, I was wondering if this ...
0
votes
1answer
62 views
Prevent menu from loading in a page template [duplicate]
Possible Duplicate:
Remove navigation from header in custom page template
Is there some way to remove wp_nav_menu in a page template? I can't find anything related to page templates other ...
2
votes
3answers
122 views
What are the differences between “Latest Posts” and “Static Page”?
WordPress has an option to pick "Latest Posts" and "Static Page" under "Settings" in Admin Panel. My questions:
What page template is getting loaded in each of those modes?
Why paged stops working ...
4
votes
1answer
318 views
Getting only direct child pages in WordPress with get_pages
I am trying to fetch all direct children of a page. But I am getting all children and grand children as well. Any ideas?
PHP Source:
$args = array(
'child_of' => $post->ID,
...
1
vote
1answer
120 views
How to dynamically save a selected option from page “Templates” selectbox?
When I select a template for a page from the "Templates" selectbox, the selected item gets “value=selected” only after I hit save draft/publish/update.
<option value='template-gallery.php' ...
0
votes
1answer
15 views
link a custom page into menu
Ok i have a file which named,
page-allpost.php
now I have a menu item called "all post" and in that menu I want to call the page-allpost.php which will display all the post. how to do that?
hope ...
1
vote
2answers
126 views
Single page theme that uses pages for the content
I'm making a one page site. On the page I want to run WP_Query three or four times to pull in those 3-4 pages.
The page looks a bit like this:
<div class="row">
<?php
$args = array( ...
1
vote
3answers
130 views
Wordpress page edit does not save selected template
The feature did work in the past however pages now seem to default to 'Default Template'.
I can see my available page templates in the drop-down on the Page edit page, however after saving the admin ...
2
votes
2answers
152 views
How do I modify this page template to show subpage excerpts (not post excerpts)?
I have made a page template which shows linked subpages using this bit of code:
<?php
$mypages = get_pages( array( 'child_of' => $post->ID, 'sort_column' => 'menu_order', 'sort_or
...
2
votes
2answers
185 views
How to make certain page templates visible to admin only
Making a site for a client, I have some pages that the client won't be able to edit or delete. These pages rely on specific page templates.
However, I don't want these templates to be available for ...
0
votes
1answer
149 views
Set page template automatically based on parent
As the title implies, I'm trying to set each new page under X parent to a specific page template. Either through a function/plugin/code
eg: if I make a 'swiss cheese' page, that is a children of the ...
1
vote
2answers
79 views
Determine page content based on page parent
How can I display a gallery shortcode for pages who are children of the page with an ID of 9, and the regular content for pages who aren't? This is what I've tried so far, but it's not working:
...
1
vote
2answers
2k views
get page title, url and excerpt of a page
I have the following setup: the front-page is setup as 'static' and it uses a theme page template. On this template / front-page, I need to get the page title, URL and excerpt of the About page.
I ...
0
votes
2answers
122 views
How do I pass data from page content to the underlying PHP template
Pretty much all of the content on the site is going to be dynamically generated (php + db backend)
What is the preferred "wordpress way" of passing data to a php template (set up as a template in a ...
0
votes
3answers
577 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
971 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 ...
1
vote
1answer
550 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 ...
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 ...
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
2answers
694 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:
...
2
votes
1answer
814 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 ...
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 ...
0
votes
3answers
113 views
Need help with adding templates (archives and sitemap) to Wordpress child theme
I recently switched themes, and my old theme had templates for sitemap and archive (in fact the archive was one of my most viewed pages.) When I switched themes the link to the archive and sitemap ...
2
votes
1answer
1k views
how to add a .php file to wordpress
I have a php file in my server (say www.example.com/up/up.php). If i access that file through the url, my site says no page found. but i want to call that php file using url parameter. I want to call ...
0
votes
1answer
124 views
Getting pages filtered by template assigned
I want to retrieve pages with determinate template assigned. Function get_pages() hasn´t any parameter to select by template. For exmaple if I created three pages: Home, Page 1 and Portfolio. After I ...
0
votes
2answers
170 views
Create page template with some static contents
I am new to wordpress. I searched
page vs post
and found that pages are mostly static contents (in the sense that they dont need to be changed and stays in its place for ever). My question is my ...
0
votes
1answer
272 views
How to hide all child pages with post_query?
i have a page template as start page(home.php). i use a 2 columns grid to display all pages on that home.php with title and excerpt. unfortunately also my child pages are shown and i can't figure out ...
0
votes
1answer
38 views
Authors posts on a author created page
Any suggestions/ideas on how to get posts made by certain author to be displayed on a page that same author has created without using author.php?
To clear this up a bit, I have a site where author ...
0
votes
3answers
779 views
How to add meta boxes to Pages
I'm almost complete whit my wp theme an I'm now translating it with the WPML plugin. This is working out great (even all my custom post types and meta boxes :) ), but of course there have to be a ...
0
votes
1answer
101 views
Static Website No Titles But Still Nav
So I have a static paged website and I want to make pages without title, but I still need the titles for the navigation to pick it up. How can I get rid of the Page.php (the_post()) from displaying ...
1
vote
2answers
3k views
Display a specific dynamic sidebar widgets on a specific page
I have had a wordpress site handed off to me halfway through completion. It's been at least a year since I last used wordpress and there are a lot of things I'm finding different. The way I am used to ...
0
votes
1answer
88 views
Taxonomies on Pages with Custom Formatting
guys,
I'm fairly new to this so thanks in advance for your help and patience.
So I've recently started using the WPAlchemy class on my site and it's really been an amazing time-saver. The main thing ...
0
votes
1answer
251 views
How to display code if it is not certain pages?
Im trying to set up an if statement to display certain code, if the user is on a certain page. I've got the links and student work pages to work, but when I add the if not link and not student work I ...
1
vote
1answer
578 views
Is it possible for a plugin to register a page template file?
Is there a way for a plugin to house page template files and have them available after plugin activation?
E.g, I have a plugin that requires specific page page templates to be used, so I'd like ...
2
votes
1answer
138 views
Subpage template
I've had a look around already but couldn't find an answer to this.
Is there a way to create a template that applies to all pages that have a parent? something like sub-page.php without having to ...
