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

learn more… | top users | synonyms (1)

0
votes
1answer
45 views

Overview with latest edited posts and pages

I'm looking for an overview of all the latest user activities. But I don't want to see comments on this page, just the edits or creations of new posts or pages. Unfortunately I can't find such a ...
0
votes
1answer
61 views

WordPress pages are not published due to External database connection with WPDB class

I am developing a wordpress plugin that connects to external database, fetch data, and displays it on metabox below page/post editor. I used following code: <?php /** MySQL hostname */ ...
1
vote
2answers
52 views

Hiding Page by Title from Editing

I have a number of pages which are automatically generated. I then use a custom settings box to allow users to exchange the content on those pages. Problem being, I don't want users to be able to ...
0
votes
2answers
43 views

Programatically create multiple pages by passing in array of info

I'm trying to adapt Tom McFarlin's tutorial on programatically creating a page into a function that will create multiple pages by passing in an array of info. The page gets created in Wordpress, but ...
0
votes
0answers
17 views

Possible way to add Wordpress gallery caption

I am trying to add caption to Wordpress Gallery. I can only add caption to each images but, Is there a way to add caption to the gallery?
0
votes
1answer
91 views

wp_query issue with post_type = page

I am using a custom query to get pages. I need them all displayed on the front page for a one page WordPress theme. For the most part, I have the theme working and things are fine. I have this problem ...
-1
votes
3answers
10 views

How to have 2 posting pages on a blog

It is possible to have 2 posting pages on a page? I have a static home page and I want to create 2 more pages for my blog which are "News" and "Recent Projects".
0
votes
0answers
30 views

Using a default CPT archive slug as a page and using a different URL for the archive

I want to have a custom post type whose "slug" also shares the name on a core page. Basically because I want to give said page more custom look and look nothing like an archive (it don't need ...
0
votes
1answer
32 views

Have multiple loops on a page appear after/between page content

I created a function (in function.php) that allows me to put additional loops for different categories into pages: function custom_summary($atts) { extract(shortcode_atts(array( ...
0
votes
2answers
51 views

How to create a menu item which is not a page

I have a few pages that contains technical tips. I would like to group these pages under the title "tips" in the menu bar, but I don't want to make the item "tips" clickable because it does not ...
0
votes
1answer
328 views

Pagination for Pages and Posts

I want to use Pagination throughout a new theme but am having trouble getting it to work correctly. I am using some code within my functions.php file and then calling that function. It works on the ...
0
votes
1answer
40 views

Print the whole page?

I am trying to make a loop to loop all pages beneath each order. I want this because I want to make a one-pager with a page as an element of the one-pager. So that you can go into WP to edit a page ...
1
vote
1answer
50 views

Page Automatically Generated from Theme?

I'm running WordPress multisite and would like each site to have a specific page (with pre-loaded content) generated from a page template, contact.php. Rather than go through each site and create this ...
0
votes
3answers
38 views

How to detect when admin user is on the All Posts page?

Could anyone be kind enough to descrive how to I can detect (in my functions file) when admin an user is on the 'All Posts' page? I have tried get_post_type() but it returns nothing. Thanks.
1
vote
2answers
153 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
40 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
33 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" ...
2
votes
3answers
99 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
39 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
26 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
103 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
21 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
373 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
29 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
64 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
122 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
17 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
114 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
143 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
40 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
25 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
67 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
61 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
38 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
315 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
1answer
16 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
61 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
27 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
40 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
1answer
25 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
37 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
63 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
57 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
69 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
46 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
71 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
218 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, ...