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

learn more… | top users | synonyms (1)

3
votes
1answer
61 views

Dynamic Endpoints

I have a database table outside WordPress that I need to make endpoints for. I've created a page /cars/ where I plan on using a page template to generate links. I would like for the url to look like ...
2
votes
1answer
137 views

List children of second level sub page

Top Level Page - Second Level Page --- Child Page --- Child Page --- Child Page The goal here is to list all children of second level, I have that done from the codex. However, when I click ...
2
votes
1answer
214 views

Delete pages and Create default pages for all new network sites

I am using the following code to delete some default pages and to also create some default pages for all new sites that are created. It work as is now but that is only because I purposely have a ...
2
votes
1answer
2k 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 ...
2
votes
1answer
287 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 ...
1
vote
1answer
14 views

Load specific page template based on URI

I have a page template that I want to load, when ever my $_SERVER['REQUEST_URI'] is like this, www.site.com/link/147 where the number 147 will be variable. i.e. I would like a call a page template, ...
1
vote
1answer
17 views

Display custom tags on pages that have a specific page parent

I would like to use Using the WP_Query or Query_Posts method. I'm currently using the query_post method. $terms_array = array(); if ($strurl == "somesite.com"){ $resparent = "18219"; //Page ID ...
1
vote
1answer
133 views

Start post pagination at 0 instead of 1

Is it possible to start post pagination count at zero instead of 1? I want the URLs to be like this: ../page (Foreword) ../page/1 (Chapter 1) ../page/2 (Chapter 2) But by default the ...
1
vote
1answer
32 views

Second comments section for one post/page

For a project, I need to have 2 comments sections related to the same post/page. Is there a way or a plugin to do that ? By default, Wordpress allow only one comment section for one post/page. Thanks ...
1
vote
1answer
22 views

Let me choose permalinks

I need to pick a permalink called 'mysite.com/1418', but wordpress keeps adding '-2' to the permalink. Normally this means i already have a page called the same that is in the trash or something. But ...
1
vote
1answer
71 views

Create a Page via plugin

My problem is to show a list of products read from db tables. I know how to read them and I am able to produce the table, but only using a shortcode embedded in a page that I've created via WP. I ...
1
vote
1answer
185 views

Top Level pages in wordpress giving 404, but child pages working fine

Basically everything works fine except for the top level pages ( e.g. category, archives, single post, custom post type, etc...). I have 3 custom post types and 4 custom taxonomies (each custom ...
1
vote
1answer
394 views

Displaying different page links on different pages

I have a wordpress site with 100+ pages. Now suppose 5 pages are related to page 1, and I want to show them in side bar as similar pages/related pages and other group of pages in other menu in ...
1
vote
1answer
64 views

Organizing Your Pages

I'm having problems creating sub pages. So far I've followed the proper directions: Go to a new page, click the "Page Parent" drop-down menu. Select the appropriate parent Page from the drop-down ...
1
vote
1answer
147 views

How to add subcategories to the blogroll?

I'm looking for a way to create subcategories in my blogroll... For example: Downloads -> Windows -> Mac -> Linux I want to create a real page (not a widget) where the main categories and ...
1
vote
1answer
498 views

WP_Query not retrieving by random order under parent

I currently have TWO subpages under parent page ID 43. Client testimonials.. Anyway. I have the random order thing in the query $args but the order never changes. What could I be missing? ...
1
vote
1answer
461 views

How to retrieve attachments from child pages of a specific Page?

How would I retrieve attachments from all subpages of a specific Page ID? Example: SPECIFIC PAGE Child (with attachments) Child (with attachments) Child (with attachments) I'm currently ...
0
votes
1answer
9 views

Attach link to pages accoding to tags

I have a WordPress blog (local installation) and I'm trying to add the following functionality to it: Suppose I have a page on my blog entitled "Algebra", I want this page to contain a list of links ...
0
votes
1answer
22 views

How Can I Display Secondary Content Only On Some Pages?

We're running WordPress as a CMS, and some of the content authors would like to be able to display content on the side of some of their page, similar to a sidebar and widget. For example, they're ...
0
votes
1answer
31 views

Passing form data via AJAX to REST API And displaying results

I'm new to WordPress but have been programming PHP for a long time... I searched a bunch of questions but couldn't find what I need. I have a page with a search form that contains a few parameters ...
0
votes
1answer
28 views

404.php only works if I'm logged in. Everybody else redirects to wp-login.php - why?

I have this "Forum Engine" theme and want it to be private. (No it's not bbPress, that was my first question too.) So the theme (Forum Engine) has a "page" called "Threads Index" that is static on ...
0
votes
1answer
30 views

structure of posts and pages

I have wordpress website which had some static pages and posts. I want to show pages URL as below: mywebsite.com/PageName1 mywebsite.com/PageName2 ... also I have some posts that will be more in ...
0
votes
0answers
95 views

Editing Featured Image Display When Creating Post

I am trying to find out a way to edit the width of the thumbnail that displays for the featured image on the "Edit Post" page (note: not the front end of the site, I'm talking about when making or ...
0
votes
0answers
92 views

How to create single static page extending another URL

I have existing URL game/ninja-cat-and-zombie-dinosaurs/ which is created by rewrite: game/([^/]+)(/[0-9]+)?/?$ It leads to a custom post type (defined by theme Swatch). Now I'd like to have a URL ...
0
votes
0answers
45 views

How to create a custom style for a particular page type

I have a page that requires a different underline color for each first letter on all H2's in every "neighborhood" and there are 27 of them. I'm using a SASS variable for the hex color $a. The current ...
0
votes
0answers
153 views

Get part of a page url

I've been searching for this, but I can't find the answer. What I want to do: Every post will have a link to a page and that page needs to get the content of the post (the current post from where ...
0
votes
0answers
63 views

How to exclude page in pages module

Site has page with url http://example.com/mywpsite/mypage Pinboard theme is used. Pages module shows this in left sidebar. How to remove it from this? Pages module setting contain field excluded ...
0
votes
0answers
405 views

Page Template Changes Not Showing

I'm dealing with a weird and very annoying bug where changes to a page template file ("contact.php") are not being registered at all by WordPress. I've made sure that the template has been correctly ...
0
votes
0answers
148 views

Why are my wp urls showing page not found?

I recently changed a page slug url in the edit area and saved it from flood-maps to floodmaps. There was an issue here so I then deleted the page in trash too and started a new one with the same name ...
0
votes
0answers
69 views

Using array page name together with page id to deregister script

If I use this: if (is_page(array(blabla-test-page, 20726, 20720, 38881))) {wp_deregister_script( 'gdsr_script' ); } the blabla-test-page looks like it overrides different pages, even if certain ...
0
votes
0answers
104 views

query_post while (have post) get_template_part()?

My goal: Is to give the user the ability, if they so choose, to create a new category. I have the current categories saved in a separate php file and call them in using get_template_part(), there ...
0
votes
0answers
93 views

Page redirecting to category (IE only)

I've got an odd problem... I have a number of pages, all of which link to themselves correctly (as expected), however in IE, two of them link to a category page. / > / /products > ...
0
votes
0answers
1k views

The Loop won't display page or post content

I can't get the page content to appear in my custom wordpress theme. I have an extremely simple version of The Loop, which should just display the title and the content of the current page or posts. ...
0
votes
0answers
149 views

Paginate Links not working

For the life of me I cannot get Paginate links to display pagination, but using 'userp' in the url works for paging. I just need the links to show up. <?php /** * @package WordPress * ...
0
votes
0answers
45 views

Custom page templates readmore tag is not working

Custom page templates readmore tag is not working. When I insert readmore before some word (in WP Editor) that's not working when I visit the page. I don't need post_excerpt();
0
votes
0answers
23 views

Showing certain page without redirection

I need to get any url that starts with "booking" to lead to certain post without redirection. That means all of these URL would lead to post Booking, but the URL would stay the way it is: ...
0
votes
0answers
678 views

How to add a class name to the ancestor <li> of a post?

I've asked this question before with a different Question Title over at Stackoverflow. At that time, I was not yet aware that a function of the theme is adding a class name called current-menu-item. ...
0
votes
0answers
67 views

Make a custom URL and link to custom Template

I have a set of categories in my WP site. I also have a "team" thing in my site. Now when a user makes a new post he selects a category and then chooses the team to which post belongs. I have added ...
0
votes
0answers
108 views

“regular” pages not found after changing permalink

My regular pages with the default theme can not be found, but my frontpage that is a page but it has an other theme works, even my custom post type pages work. In my permalinks settings I have ...
0
votes
0answers
40 views

display admin content in the public site

I would like to display the page list or post list (or similar from plugins) from the Admin section to logged in users on the front-end of my wordpress site. Any idea how I can do this? I need to ...
0
votes
0answers
30 views

The concept of non-blog content

I'm fairly new to this wordpress stuff and wrapped my head around the blogging part. Now it comes to the non-blog part of a webpage. I understood the principle of creating static pages and displaying ...
0
votes
0answers
78 views

Child Pages on Mobile/Touch Screen not clickable

I have child pages under parent pages in page menu/header, they work fine when using a PC, but I cannot get them to work when using a mobile phone or touchscreen device such as an iPad. I am using ...
0
votes
0answers
36 views

Template for page with overridden Theme

I think I've got a somewhat uncommon issue. My wordpress site uses a custom theme, but I wanted to add a blog alongside that, without using multisite because my host charges 3x the amount for such a ...
0
votes
0answers
359 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
0answers
164 views

Breadcrum not displaying the parent page

I have few pages - HOME - SERVICES ---- MY SERVICE My problem is that when I open My service page the breadcrumb looks like this: home > My service And I would need the parent to be there: ...
0
votes
0answers
288 views

Displaying only posts from a certain category on my custom page template

I want to create proper pages for my post categories, rather than just a default category page. So for example, I'm going to create a Video page and have a load of information about my videos, and ...
0
votes
0answers
27 views

Pages half/not working.

If someone could please look at our website and have a look it'd be really appreciated. On one of our catergoires (rentals>sconces) page one works fine, but the remaining 3 dont. ive read in a couple ...
0
votes
0answers
33 views

%page%/number didn't return 404 but redirect to /%page%/

I've got page, for eg. /about/ when after slash I put some numbers (not letters) I still get this same page. I really want 404 there. Why? What to do to avoid that? SEO itp...
0
votes
0answers
83 views

Display posts on a separate page from certain authors?

I've been working on this for days. I've tried the WP codex, Google searching, etc, and I know I'm not doing something right but my patience has run out :( . I have 3 authors. I am trying to display ...
0
votes
0answers
60 views

How to create a structure in wordpress for parent and child relationships contents

Could any one tell me how to do the following structure in wordpress whether using taxonomy, term , post or page Example : Parent A -- Title -- Description B -- Title -- Description C -- Title -- ...