Pages are static, timeless content that are unique from the regular blog chronology.
1
vote
1answer
80 views
Hide page visual editor if template is selected - redux
The answer given to a previous and identical question is unfortunately not working on my WP install.
I'm using a version of the function recommended there.
function nim_hide_editor() {
$post_id ...
0
votes
1answer
42 views
Return selected categories only in custom page meta box?
I have a custom meta box added to the Page edit screen. I also have categories turned on for Pages.
I'm using get_categories($post->ID); to retrieve a list of categories, as you would in a page ...
0
votes
1answer
36 views
page wordpress add extra unwanted stuff
i want to add this part to wordpress page but every time i add it wordpress add extra stuff that stop it from working properly this is my code
<li data-hovercolor="#e859c5">
...
0
votes
1answer
63 views
Page Title repeating in Wordpress
I am a newbie in WordPress and our website page titles are repeating. That is the first problem. The second problem appears to be that there is a space missing between the repetition.
I have attached ...
1
vote
1answer
52 views
List all pages and children in separate ul
I've been trying to do this all weekend, I'm going round in circles now.
I want to list all pages and their children in separate ul's
The page setup is like this
HOME ABOUT ...
0
votes
1answer
35 views
Print page content with formatting when doing custom SQL query
I guess there's a simple solution for this but couldn't find any.
I'm trying to fetch 3 pages and show them on footer. The problem is that every page is shown as text without formatting which means ...
0
votes
1answer
44 views
List Parent page with sub pages
I have a page structure like this:
Home
Projects
- Work_1
- Work_2
- Work_3
- Work_4
Home and Projects are Pages. Work_1 - Work_4 are pages with Projects as their parent.
When I ...
-2
votes
1answer
30 views
how to add a page
It's probably really simple, but i can't figured out, i have a php file and 3 folders css, js( with inside libs ), and image.
so i put the php file and the css inside the theme root, the js in /js ...
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 ...
1
vote
1answer
80 views
Shared Content but “Updatable” Through the Main Site
I have been doing quite a lot of research the past week, and have not been able to find a solid answer that fixes my problem. So, I decided to come here to ask to see if anyone knows of how to help ...
1
vote
1answer
56 views
is_home() returns TRUE on page template
I'm wondering why my link: http://localhost/?page_id=3433 returns TRUE on is_home() usage:
if(is_home()){
var_dump(is_home());
die('test'); ...
0
votes
2answers
471 views
Form action redirect to the same page
I'm making my own theme. In my theme I have a page that display custom post using a custom query.
I added a form to this page. The form contain 2 comboboxes that contain values of meta data of my ...
0
votes
1answer
55 views
Permalinks of New Pages and their Parents
I am running into a new issue where when I attempt to create a new page, the permalink is not being auto generated.
For instance
On the 'Add New Page' page, I select 'Our Club' as the parent (which ...
1
vote
0answers
26 views
How to structure model showcase
I need to make a website of models that contain the following components:
Model page - model info, editorials of that particular model
Editorial page - containing some editorial info, link back to ...
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
111 views
pagination does not work with query_posts. Help! [duplicate]
I made a separate page template (added sidebar), this page contains all the posts. Pagination works!
But, if this page set as the home page, pagination is not working!
Please help find solutions ...
0
votes
0answers
24 views
Image screen not working [closed]
I'm getting white screen when I go edit in Wordpress admin edit page for any images.
So when I insert an image to Tinymce under edit page/post then click on image icon (on top left of the inserted ...
0
votes
3answers
70 views
Default pages to be unpublished - possible?
Is it possible to change the default status of every new page created to be "unpublished"?
We want to have someone help us add pages to a site, but not have them show up by default until it is (all ...
0
votes
1answer
24 views
How do I restore my site?
I accidentally deleted all my pages and posts from my wordpress admin. I was trying to delete some dummy data that one of my plugins installed on the website and wham!, all my posts and pages were ...
-1
votes
1answer
87 views
Get current menu_order
WordPress implements a simple order functionality by default.
What's the common method, to retrieve the menu_order for the current post or page?
0
votes
2answers
66 views
How to insert category list into post creation page, and retrieve chosen categories?
I would like to display the full list of categories on the Page creation page, so that the user can pick using checkboxes which category posts should appear on that page.
I then need to retrieve ...
0
votes
1answer
35 views
The content not wrapped in paragraph tags with get_page_by_title()
I am using $page = get_page_by_title('name'); to get the contents of a page. When I echo $page->post_content; none of the content is wrapped in p tags like it is when run threw the normal ...
0
votes
1answer
42 views
Site with all content on the front page
I would like to achieve the following:
all the content is displayed on 1 page (the front page)
the content is organized in sections
the content for each section can be edited separately
each section ...
0
votes
1answer
51 views
Use an archive as the parent of a page?
how can I solve the following problem?
I have the category "Events" with the permalink www.myblog.com/events/ and of course single events like www.myblog.com/events/lets-party/. Now I want to add a ...
0
votes
1answer
318 views
How to display error messages using WP_Error class?
I have registration form code in my functions.php file like this
if ('POST' == $_SERVER['REQUEST_METHOD'] && !empty($_POST['action']) && $_POST['action'] == 'registration') {
...
0
votes
1answer
25 views
Need help with category page customization meeting certain condition
I have 3 columns in my category page. On the left column, I want to show Recent posts only from that category I am viewing. In the middle column I want to show most viewed post only from that category ...
0
votes
1answer
95 views
Too Many Pages in Wordpress? 2013
I've read a few threads both here and elsewhere about Wordpress having performance issues once a certain amount of pages have been published. But, most of these threads are at least a couple years ...
1
vote
2answers
69 views
Why doesnt ONE of my links in the footer work properly? [closed]
I have a products page with a couple child pages and in my footer I have the same product categories as links. All the words do work as links except one and there is no difference in paths and I can ...
0
votes
3answers
54 views
Return current page type
Is there a function that simply returns the current "page type" instead of using is_page(), is_preview(), is_single(), is_archive(), etc?
For example: I can find the current "post type" but I can't ...
2
votes
1answer
60 views
Create pages automatically if they don't exist
I have a WPMU instance that works less like a network of blogs and more like a holistic application. I'm needing to do a check and see if 3 pages with the slugs 'home', 'login', and 'password' exist. ...
5
votes
1answer
128 views
How to load javascript on custom page template?
I have a custom page template where I would like to load some javascript. I suppose I could always include the javacsript in the actual file, but that seems ugly. Is there any way to identify if ...
0
votes
2answers
57 views
Subpage Conditional
I am looking for a way to write a condition for a subpage...in other words
if we're on the subpage "duck" then do something...if not do something else.
I found some code I thought would work, but it ...
2
votes
0answers
46 views
Page Attachment Permalink Structure based on Menu Order?
I've been on a quest for the past couple of days reading up on Rewrite in WordPress but still can't seem to figure out how to accomplish this.
When using pretty links in WordPress, media attached to ...
0
votes
1answer
29 views
Index page is not working
I need help!
I am farely new to WordPress and I was setting up a client a small blog for him. When I was done, I tested it on my server and everything was working perfectly with it. The next day I ...
0
votes
0answers
13 views
Plugin “virtual” page [duplicate]
Possible Duplicate:
How to Rewrite Wordpress URL for a Plugin
Question
I am trying to create a plugin that adds an additional page to a Wordpress public site and allows the plugin to ...
2
votes
2answers
108 views
List Child Pages of Parent Parent Page (Child pages from Grand Parent)
OK I'm doing a a menu (sidebar menu) that will display this all child pages of parent page (currently open)
Parent
|-Child 1
|-Child 2
|Child 3
but in same time when someone is in bolded page ...
2
votes
3answers
251 views
Change the_title() of a page dynamically
I'm developing a plugin that doesn't use a custom post type, but separate database tables.
It's a plugin that displays a list of courses with links that lead to the different course detail pages, ...
1
vote
2answers
53 views
Getting child content
I am using the folowing to get child title and content. Each child has a gallery and a short code in the content editor in the content, but I only get the gallery and not shortcode. It isn't something ...
3
votes
1answer
243 views
Wordpress admin never finishes saving page on site with large page count
I have a Wordpress install with a very large amount of pages (a few hundred thousand), and over time it has gotten to the point where editing a page takes an extremely long amount of time. It would ...
1
vote
1answer
104 views
How to Display pages with a Custom Fields in one page
I am trying to display all the pages that have custom fields of a certain value. What I would like to do is use the current page title as the value for the custom field and get all pages that have ...
2
votes
2answers
88 views
single page site with subpages
i want to make a single page site which has subpages with following structure
about us
team
-member1
-member2
contact
and i want the output to be like
<div class="about-us">
team content
...
0
votes
2answers
127 views
How to add an excerpt and read more link to a page?
I've a custom/static "homepage.php" in my templates directory at my WordPress. Now I need to show differents "page excerpts" in my homepage, but I don't know what should be do it.
At this moment I've ...
0
votes
1answer
58 views
Extra title output with this function wp_list_pages
here is the code :
add_shortcode ('get_menu_child','get_menu_child');
function get_menu_child ($att) {
global $wp_query;
$thePostID = $wp_query->post->ID;
$output = ...
0
votes
1answer
75 views
Add page as static html into another page
Is there a way to include a wordpress Page into another one? I'm not just talking about getting the content using get_page(), but to import the whole page (theme + content). I have been looking around ...
0
votes
1answer
344 views
How to add add_meta_box to specific Page Template?
I want to add add_meta_box to specific page type like Page Template, Like Product Template.
I am using this article http://wp.smashingmagazine.com/2011/10/04/create-custom-post-meta-boxes-wordpress/ ...
-2
votes
1answer
99 views
Is there a plugin that lists all my posts on one page? a page with full list of all my posts [closed]
Is there a plugin that lists all my posts on one page,a page with full list of all my posts?
2
votes
0answers
46 views
How do I approach removing menu items on the fly based on settings in my plugin?
I've started writing a plugin that allows the administrator to select specific pages and set them to be visible only to logged-in users; the plugin optionally applies the restriction to all child ...
0
votes
1answer
28 views
Trying to put a search page on site
i'm trying to put a search page on my site. I thought it would be simple, but I am having no success.
I have put a form in my header.php (which I call in my search.php page (include "header.php")) ...

