Pages are static, timeless content that are unique from the regular blog chronology.

learn more… | top users | synonyms (1)

1
vote
2answers
79 views

how to limit edit_form_after_title hook to page and post edit only?

heelo, I want to use this great hook edit_form_after_title it was announced on December 1, 2012: http://make.wordpress.org/core/2012/12/01/more-hooks-on-the-edit-screen/ it curreclty hook for : ...
0
votes
1answer
39 views

Show results for multiple page-types

First of all sorry for my earlier post, it was just too confusing, and I asked 3 questions in 1... Okay the code below gets be all the pages with the page type page_library_html_content.php now I ...
0
votes
2answers
27 views

Unable to paginate a custom page query

I have this code on a page called Categories. <?php /* Template Name: Categories */ get_header(); ?> <section id="primary" class="content-area"> <main id="main" ...
1
vote
3answers
85 views

Create WordPress pages with PHP

I'm using MongoDB to store separate data for a WordPress website and need to be able to create pages with the data from MongoDB rather than from manually created pages in the dashboard. I've searched ...
0
votes
1answer
30 views

Pass query param to custom page

I had to create custom .php file that representing one page on my website. I did it by creating new page in admin panel, and then renaming my .php file to page-customslug.php (where customslug is ...
1
vote
1answer
25 views

What are trackbacks?

I was wondering what are trackbacks. I found this to be an option in Wordpress, and I am wondering if I should add them to pages and posts. Thank you for your help and support!
0
votes
0answers
78 views

Programmatically Split A Post Into Multiple Pages

We all know that when you're creating a standard post in WordPress you can split the post into multiple pages by adding this code into the text body: <!--nextpage--> Is it possible to split a ...
0
votes
1answer
15 views

Directory location of new page

I see from the WordPress dashboard, I can create many new pages. When I create a new page, can you please tell me where this new page will be created. I mean the directory location where this file ...
1
vote
1answer
36 views

Page not found error when adding text `2 = 2 ^ 1` to the page

Adding the following text to a page in the Text editor and clicking Update results in "Error 404 - Page Not Found": 2 = 2^1 Replacing this text with anything else makes the Update succeed. Any ...
1
vote
2answers
191 views

Difference between an archive and a page listing posts

I am wondering what is the difference between a wordpress archive page, and just a page template listing out posts? Right now I have a custom archive page, listing all entries of a custom post type. ...
0
votes
1answer
25 views

Setting a new default template for the creation of a page

Right off the bat I would like to say that I am a WordPress noobie, so I'm really sorry if I infuriate you. I've recently taken over the management of a clients website an have been sent a request to ...
2
votes
1answer
42 views

Distributing and packaging plugins

I have a project where I'll be using WP as a customer portal to an external application. The application is accessed via web services (soap/xml) calls. The application has quite a few forms and for ...
0
votes
1answer
64 views

get_template_part() to render single page Theme

I´m developing a single page theme and want to render all pages with their respective templates on a single page. I know I could make a query and write the markup for the respective page, but I prefer ...
0
votes
1answer
16 views

disable trashability for certain pages

Im building a wp site, that has some pages that only shows when a form has been completed. (think of "thank you for gettin in touch, we'll get back to you as soon as possible" - type pages). I have ...
0
votes
0answers
14 views

Need an idea of how to realize filling of accordion by editors

I have and accordion (something like this one but smaller). I already made one. OK. But I can fill it only using WordPress built-in theme editor (just changing php). My customer don't like this ...
0
votes
1answer
19 views

Grabbing the_content from “about us”

I have created an "about us" page as I am currently in developing for a client's website. It has a couple of paragraphs, the title & a feature image. What I would like to do is be able to grab ...
0
votes
3answers
75 views

Get post offset/posts page offset in single post page (outside the loop)

I would like to know how I could get the offset of a custom post or its page, outside the get_posts loop. I developed an external web application which connects to the wordpress blog with JSON API ...
1
vote
1answer
70 views

CMS: Making complex pages editable by the end user

I have been tasked with re-creating a small-ish corporate Web site (maybe a dozen static pages and a blog section) using WordPress. I have no troubles with the actual Web design, nor with the PHP ...
0
votes
0answers
30 views

Is including the loop necessary for page.php?

QUESTION: Is it necessary to include the wordpress loop in page.php? If it is not necessary, why do many themes (including the wordpress 2013 default theme) include it? I noticed this discussion on ...
0
votes
0answers
20 views

Would like to be able to take list of pages, and place them into an array

Well...title says it, but here are the details. I would like to take a list of all of the active wordpress pages on my site, and place them into a list. This list is generated by an array (it uses ...
-2
votes
1answer
57 views

How to get page title with the page ID?

My page ID is: 30601 How can get the title of this ID? I want get page's title with ID.
0
votes
0answers
48 views

How to arrange different post categories in template

I'm playing with WordPress for sometime. In my website, there will be 3 possible categories for posts, like: 'offer', 'news' and 'about' (each category with individual content). My attempt is to ...
0
votes
2answers
36 views

How to add feature image url in my template file and content as well?

I am making a template page name new_template.php,here i want to add a feature image source. how to add featured image source on this blank page. and when i add featured image then the description ...
0
votes
1answer
153 views

get content from page through AJAX

I'm using an wordpress theme and I want to load content through AJAX inside a page. I've added this inside my functions.php : function my_ajax_files() { wp_localize_script( 'function', ...
0
votes
0answers
18 views

External Links to an Intermediate Page

guys quick question, is there a plugin that allows me to send certain external links to an intermediate page? A page that tells the visitors that s/he are about to leave the website with a link to ...
0
votes
1answer
15 views

Page can not be updated and disappeared in “show all page”

I have a strange problem now. Today I am editing a very old page. I restored to old version and also modified something. Suddenly I found I can never update that page. Then I tried set it pending ...
0
votes
1answer
37 views

Google indexed pages for one page site

I have created a one page site with wordpress. The basic idea used was to combine pages and their templates into index.php. The problem is that when crawlers work on the site, they get the links for ...
0
votes
0answers
21 views

Pass url part as argument to shortcode

I have a page /most-commented which lists all articles which have most number of comments. The list is generated by a shortcode. I want to add year-wise top commented articles so URL should look ...
0
votes
2answers
36 views

How can I get the blog page ID?

As above, for example this is the blog page url: http://192.168.1.100/wordpress/?page_id=30 Let assume that I don't know the exact ID of blog page and I want to write if condition for this page.
0
votes
0answers
246 views

Page edit panels not visible, Javascript/jQuery doesn't work on Edit Page

I'm using a modified Lensa 1.0.7 (Colabsthemes) for my website; and when editing a page post.php?post=xx&action=edit the sidebar panels are not visible, and buttons do not work. (See image below) ...
0
votes
1answer
24 views

Wordpress backend:How to hide some specific pages under Pages-->All Pages

I have some pages with shortcodes and I don't want my client to see the pages with shortcodes. Is there a way to hide these pages under Pages-->All Pages,but should be seen under Menu.Is there a ...
0
votes
1answer
32 views

Permalink for pages

As you know we can change the post permalink as we want /%postname%.htm -->/mypostname.htm Can we do the same for the pages also? /%pagename%.htm -->/mypagename.htm permalink for the pages ...
1
vote
1answer
53 views

How to hook up search results page to a back-end page?

On my site, editors can upload "banner" images to every page on the site. However, I'm having trouble figuring out how to link the search results page to a back-end page (ie the page that appears at ...
0
votes
1answer
36 views

page-name.php doesn't execute on custom template

This one has me stumped. I have a page named 'Login.' I also have a file uploaded in my theme directory called 'page-login.php'. If I select a default theme template, page-login.php executes like it ...
0
votes
0answers
42 views

Layout Builder.

I recently bought a theme from Theme forest called Enfold: http://www.kriesi.at/themedemo/?theme=enfold The pages have an "Advanced layout" building that lets you build you content how you need. I ...
0
votes
0answers
42 views

Capital letter in URL

How can I make all of my page names in URL begin with capital letter? I need this to maintain PAGERANK. Example http://www.example.com/page ---> http://www.example.com/Page
0
votes
2answers
48 views

Get the ID of the direct parent page

I've seen plenty of tutorials on how to get the ID of the upper-most parent, but I can't seem to find anything on how to get the ID from the direct parent. Eg; - Big John - Little John - Baby ...
0
votes
3answers
97 views

get_post_meta() retrieves meta from a specific post on pages, not the page currently viewed

I am making a simple sidebar functionality to display embed video in the sidebar. I've created a meta field where admin should paste the embed video. It works as it should on posts, but on pages, ...
0
votes
1answer
60 views

making a pseudo-static page

I´m making a pseudo-static page that drives me loco. The structures is: index.php --> with a footer that displays last 5 post title services.html --> this is pure static portfolio.html --> this is ...
0
votes
1answer
12 views

One of my posts is displayed as page

I rebuilt a website (I dont know, if the rebuilt has something to do with the problem. It has a whole different database, just the url is the same. the post existed on the old page as well). One of my ...
0
votes
1answer
33 views

Breadcrumb how i can display page title with parent > child title with permalink ? any Idea

function the_breadcrumb() { global $post; if (!is_home()) { echo ""; if(is_single()): echo 'Main'; else: echo "Home"; endif; echo " / "; if ( ...
0
votes
0answers
11 views

Adding comment template on a loop into a page

I've created a loop in a page, with a single post per page. The type of post is the default "post". Now, I've resolved the problem of pagination on this page, but I cannot show the comment template on ...
6
votes
2answers
360 views

How to add a new tab to page editor

Anyone knows how to achieve this? It has something to do with meta boxes, but I just can't figure out the proper syntax.
0
votes
1answer
21 views

how bbPress and buddypress add their own page templates to the page template drop down on the page editing screen

Im writing a plugin and need to know how to add a page template in the edit page screen from within a plugin. bbPress and Buddypress both add page templates to this drop down and I can't figure out ...
0
votes
1answer
39 views

Custom admin menu for a selection of pages

I have a site with 30-35 pages. The customer only needs to edit 3 of them on a regular basis. So to make it simpler and easier for them in the backend, I would like to create a new admin menu item and ...
0
votes
0answers
11 views

How to make category page as the home page? [duplicate]

In this forum I´ve found this thread http://bit.ly/17IuDBh but using the code in my WP MAXX theme doesn´t work. <?php query_posts('cat_id'=>'3');?> <--insert loop--> I have ...
0
votes
0answers
32 views

Get wordpress page link with Post ID & Paged Number provided

how can i get page link with Post ID & Page number provided. our current way to get page link is just by using get_pagenum_link but this function only consume page number, and escape. is there ...
0
votes
1answer
70 views

remove child post from custom post type archive

I have a custom post type and a page like this for displaying the posts inside : archive-(myCPT).php I've created 2 posts, and one of them is the child. How can I display just the parent page inside ...
0
votes
0answers
29 views

Language Redirect

I'm newbie on Wordpress. I'm using WP Pro Quiz plugin and qTranslate . On WP 3.7.1 qTranslate doesn't work fine so I'd like to overwrite a page content by code i.e on page 800 there is this shortcode ...
0
votes
0answers
28 views

How to make page navigation just below the content?

I use the P2 theme, and find that the page navigation is not right blow the content, how make it correct? You can refer my site here.