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

learn more… | top users | synonyms (1)

1
vote
2answers
350 views

Why does `url_to_postid` return 0 when testing `page_for_posts` Page?

If I set Reading Settings > Posts Page (in other words, the page_for_posts option) to a static page, and then attempt to pass its URL through url_to_postid() it will return 0 - why is it? I ...
0
votes
1answer
847 views

Relative or Absolute Paths for Flash Video Player Files

I have a Flash SWF file working correctly in the root of my website. It is fully embedded, with everything including the player hosted directly on the website (not a YouTube embed). This flash file ...
0
votes
2answers
1k views

How can I make Disqus comments not show up on pages?

I use Disqus to manage my comments. I'd like it to appear only on posts, and not on pages. How can I do that? If there's a way to selectively show it on some pages that'd be great, but in general ...
0
votes
0answers
10 views

Meta Query Filter by Tag

I currently have multiple pages, and in each page is a custom field which is named 'country'. In the 'country' field I have this value 'uk, usa, brazil'. What I'm wanting to do is display posts on ...
0
votes
2answers
502 views

Create subpage - filter parent pages list

I have a website here with a lot of content and with the content where is necessary to create pages in hierarchy. But it is uncomfortable to go through the dropdown in the administration with a lot of ...
1
vote
1answer
765 views

How can I split long posts into pages?

I want to make one long post, but have it paginate. I read that you could add this: <!--nextpage-->, but all it did was hide the content under the tag. Is there a plugin that helps do this? Is ...
0
votes
2answers
14 views

How do I get my page “About” to show up on my Wordpress site?

I am currently using the Minnow theme on Wordpress. I have set my site to show latest posts from my blog, but I have also create a page called 'About'. This page doesn't show up on my site or in the ...
0
votes
2answers
32 views

Is there a way to change the default page template selection?

Click on "Pages" -> Click on "Add New" In the add new page screen. The default page template selected is "Default Template". Is there a way to change the default option to, let's say "My Other ...
0
votes
1answer
7 views

Search Page: activate html code if the tag is on the page

this is the first time that I write here and my English is not very good, I will try to explain as best as possible. I want to activate some html text if in the result page, the results, has a ...
3
votes
1answer
55 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 ...
0
votes
3answers
923 views

Allow a user to edit their own page and profile only

I am creating a WP site that has a list of members, where each member (about 20) has their own page. Each member page is created by an admin, but now i am stuck. I would like the content of each ...
0
votes
0answers
10 views

my page title combines with site name by yoast seo, please help [on hold]

My page title combines with my site name due to yoast seo plugin, homepage title (ex if my page title is news and site is "your site" it combines as newsyour site but it should be as News-your site) ...
-2
votes
0answers
5 views

wordpress useful and easy widget plugin [closed]

-hi..I think Wordpress is really great development tool in creating a web page. I saw the below widget tood..looking very useful.. Can i ask what it is/.......??and is there any more useful ...
0
votes
2answers
557 views

Use page template for custom $_GET content

I have a list of products, and I want to be able to click a link and get to a page with more information about the product, which I can do using $_GET like so: $s .= '<p><a ...
0
votes
1answer
346 views

How to set different users for different pages?

I am designing a site in which I wish to have different users (logged in) for different pages. Illustration: Suppose I have subscribers A,B,C,D,E,F and pages 1,2 and 3. I wish to have the follwing ...
0
votes
1answer
27 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
2answers
1k views

How can I use “getarchives_where” to get monthly archives for static pages?

I would like to get monthly archives for static pages. I tried to use the next code: add_filter('getarchives_where','my_archives_filter'); function my_archives_filter($where_clause) { return "WHERE ...
-3
votes
0answers
12 views

My page 2,3,4,5 are not working

there is wp-navi. and when you click one of those pages it won't get you to that page instead error. Error:Not Found ! The page you are looking for is not here. Please try a different search or go ...
1
vote
1answer
18 views

When open add new post or page Wordpress add post with ID=0 continuously

When open add new post or page Wordpress add post with ID=0 continuously. and instead of publish there is submit for review
0
votes
2answers
15 views

Cannot enter “::before” for li tag when editing a Wordpress page

I want to enter into my page content, under text mode editor, the HTML syntax which is ::before for my li tag. But when saved, Wordpress automatically changes that to "::before" WITH quotes. I don't ...
1
vote
1answer
65 views

Template for child pages / subpages

I'm trying to build a template file for my custom post type that is different for the parent, child, and child's child post. The best I've been able to find is the following code: if( ...
1
vote
1answer
455 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
0answers
22 views

Have a WordPress page with same title as custom post type “front” slug

I have a custom post type djs and a custom taxonomy city with two terms: boston and nyc. So a DJ can either be tagged as Boston or NYC. DJ profiles (a single djs post) are located at ...
0
votes
2answers
8k views

How to add jQuery script to an individual page?

I have this code which I want to add into a specific page of mine. I don't want to create a file for it and then include etc (though do tell if that would be the only way). Also I don't want it to be ...
0
votes
1answer
10 views

cannot link a external url, present page url acting as parent url

please help some one cannot link a external link, my present page link is acting as parent link, if iam linking facebook.com , then my page url opens as www.mysite.com/facebook.com please solve it. ...
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 ...
0
votes
1answer
16 views

Display custom_post_type with current taxonmy of a page

I've associated a taxonomy to pages and a custom_post_type. When i'm on a page with a said taxonomy term, I need to display a list of custom_post_type associated twith the same term. I'm using this: ...
2
votes
1answer
983 views

Get page id by template

I want to know if it's possible to get the ID of a page with a specific template. Is this possible to get the ID of a page that assigned to "page-special.php"?
0
votes
0answers
6 views

Login and Register pages pointing to /wp-login, /wp-signup after changing page titles of login and register page.

I installed all in one seo to my wordpress site www.designbids.in I went to dashboard> pages> login and changed the title, description and keywords for this page. When i returned to my website, i can ...
0
votes
1answer
24 views

Create a custom page template inside my wordpress plugin

I'm developing a Wordpress plugin and I want to create a file to where I want to redirect the user to show some information. I know that a perfect solution for this is using Wordpress custom pages. ...
0
votes
0answers
7 views

load each gallery image on new page

I am looking for a way to load each image in my gallery on new page like this, here when you click on next button new image loads but on new page, any plugin or ajax that I can use to achieve this? Or ...
11
votes
1answer
794 views

How to configure WordPress to handle 75,000 pages?

I have a large site that's using WordPress. We have 75,000 pages in the site so far, and it's performing well on the front-end. The issue is that if anyone on our team touches the page editor ...
3
votes
2answers
8k 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
26 views

Undefined index: post in NOTICE while adding meta box

I am trying to add meta box on particular page with id 62. But i get the notice Undefined index: post in in line 5 i.e $post_id= $_GET['post'] ? $_GET['post'] : $_POST['post_ID']; Following is the ...
2
votes
3answers
11k views

Get the content of a specific page (by ID)

I have the following front-page template made: In place of those large Lorem Ipsum blocks, I need to show an "excerpt" from a specific page to fill that box (a certain # of characters). So my ...
2
votes
3answers
5k views

Hide page visual editor if certain template is selected?

How do I hide the page editor (WYSIWYG editor) if the current page is set to a certain template. I have the following code already to add in custom meta boxes when certain templates are chosen: ...
3
votes
1answer
1k views

Connection lost. Saving has been disabled… (Updating Posts/Pages)

I've been developing for Wordpress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error "Connection lost. Saving has been ...
0
votes
0answers
14 views

Using in-build Visual Composer param types in custom param types

I'm developing a new param type by following this guide. This new param type will contain a color picker and 3 text fields.To use VC's in-built colorpicker, made a littre research and found these ...
0
votes
1answer
25 views

Google Analytics tracking code on just one page?

Having an issue where I have a client who wants his Google Analytics code on just one page. I'm using the following is_page code but in the footer.php of my child theme, but it's not appearing on the ...
0
votes
1answer
378 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 ...
6
votes
4answers
33k views

Proper way to get page content

I have to get specific page content (like page(12)) I used that : <?php $id=47; $post = get_page($id); echo $post->post_content; ?> Work nice execpt for compatibility with qtranslate ...
-1
votes
1answer
24 views

Replace existing pages with new pages, keep menu links

I basically want a plugin or method that would give the same functionality as 'Enable Media Replace' but for replacing pages and posts, instead of redirecting, or manually editing. I've searched high ...
0
votes
1answer
1k views

Show custom menu in category and its posts

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...
0
votes
0answers
12 views

Sync Post Categories with Pages while maintaining ancestors

I'm attempting to automatically create post categories and maintain the post category hierarchy so that it mirrors pages that have been created while maintaining the page hierarchy. I have achieved ...
0
votes
1answer
20 views

Category For Pages In WordPress

I need to categorize search result of WordPress, I have done that through adding categories to posts and custom post types. Now, only pages are listing without any category, I think it is possible to ...
0
votes
1answer
488 views

Programmatically add a custom page/path/url/route to WordPress

Conceptually what I want to do is super simple. In my plugin, I want to add a single path/route to my wordpress site: [mysiteurl]/testpath ... that loads a particular file, like: ...
0
votes
0answers
13 views

Page with page template not using template in Preview

I am using a page template created by myself, which is showing and working correctly in page backend. It also works on the front end. The problem: Preview shows the normal "page.php" instead of ...
0
votes
2answers
578 views

Wordpress Page Protect forwards to Admin Login

Once I upgraded to WP 3.4.1, the password protect feature stopped working correctly. The password submit form leads to /wp-login.php?action=postpass and displays the admin login screen. I've sought ...
0
votes
1answer
25 views

List all posts, pages and custom post types in admin

I want to create a drop down in my WordPress admin containing all posts, pages and custom post types. The return value should be a link to that page or an ID of the page. Is there something build in ...
0
votes
1answer
23 views

Trying to list out child pages with WP_Query

I'm trying to list out all the child pages of a custom page I've made. In my custom page, I'm doing this to list out the pages: <?php get_header(); ?> <?php $subpages = new WP_Query( ...