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

learn more… | top users | synonyms (1)

0
votes
1answer
80 views

Changing permalink name redirects to another template?

I'm creating a template with a few templates with names page-contact.php, page-portfolio.php and page-blog.php. The problem is that when I select a Defaul Template for a page (I expect it to open ...
1
vote
1answer
15 views

Wrapping images in tags based on size

I am making a site for a client where all the thumbnails on a page need to be styled differently than regular sized images. Right now I have a snippet of code I found that allows me to wrap every ...
0
votes
0answers
71 views

Get Next/Previous (Sibling) Top Level Parent Page Id - Wordpress

Question: Is there any possibility to get next/previous page id in wp_nav_menu in wordpress. Example: I have navigation menu like this Menu_Item_1 (ID = 5) >SubMenu_Item_1-1 ...
0
votes
0answers
48 views

wp_list_bookmarks(); not displaying anything

Bizzarely, I can't get the wp_list_bookmarks(); function (inside a page template) to render anything. Hope somebody can point out something obvious! Cheers. Here's my code: <?php /* Template ...
0
votes
1answer
15 views

Post Fetching Ignoring Sort_Column?

I am using the code below subpages for my portfolio. For some reason, it seems to be ignoring the ordering I have set on my pages. Any help? <?php $args = array( 'post_type' => ...
-1
votes
1answer
55 views

How to read a page's “Shortcodes” from the Template File?

Lets say i have a Page, and it contains some shortcodes like: [myshortcode foo="bar" bar="bing"] [anothershortcode foo="bing" bing="bar"] Then how do i read those from my custom Template File, to ...
1
vote
2answers
88 views

Remove pages from backend list *and* update counter accordingly

I hidden some pages using 'parse_query' hook, but the count for 'Published' pages didn't changed... Where I should hook to change it? My code so far: $query->query_vars['post__not_in'] = ...
1
vote
2answers
129 views

Placing google maps into a wordpress page using the wordpress page editor

I'm creating a website for a restaurant, I have working code that does what I want. Displays a map. Under the map, I've a form with two inputs. The first input allows someone to specify where they ...
0
votes
2answers
99 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 ...
1
vote
0answers
150 views

Plugin generated virtual pages

I am currently devloping my first WP plugin. This plugin should generate dynamic pages on the fly if a fixed non-existing URL is requested. This means I want my installation to accept addresses like ...
0
votes
1answer
78 views

Auto add pages to primary menu with functions.php

Is it possible to have new pages automatically added to the primary menu via functions.php? This particular theme will be deployed on a special version of multisite, so the checkbox which is ...
0
votes
0answers
27 views

make a post or page permalink based category

I have two language categories on my site, English and Indonesian. How can I create permalink post or page based on category slug such: example.com/en/page example.com/id/page or ...
0
votes
1answer
41 views

Is it possible to rewrite a page url Without setting the permalinks to Post Name?

Is it possible to rewrite the page url if your page link is for example localhost/wordpress/?p=123 ? Instead of post_name.php?.... (So the first option of permalinks and not post_name.
0
votes
0answers
48 views

How can I hide any submenu item from dashboard menu but still have access to it from direct url

I just want to hide a page but I want to access it by directly entering its url. But I am unable to access that page after remove_submenu_page() function. I get this error: You do not have sufficient ...
0
votes
0answers
11 views

Site Live Database Operations issues

I have a working site on a staging server. The live site is working perfectly, but none of the database operations is working. It doesn't even fire the select query. I have pages in wp_posts tabel ...
0
votes
2answers
77 views

Add text to the bottom of particular pages

I want to add [one_third][responsive] <a href="http://weburl.com/lifestyle"> <img class="aligncenter size-full wp-image-176" alt="courses" src="http://weburl.com/img/buttons/courses.png" ...
1
vote
1answer
129 views

Add class active to static menu

I have a static main menu, but I'd like to add the class 'active' to the menu item in the nav if it is the page, or a child of that page. I imagine it to be a series of something like: if ( ...
0
votes
0answers
21 views

Creating Pages within a secure folder outside the normal wordpress folder

I have a members site where the members material is in a folder in root called secure. Access is controlled by a separate billing company and protected by strongbox. I m re designing the site using ...
0
votes
1answer
39 views

Admin - no Featured image choice in create new/page|post

I am developing a WP theme and I wanted to add a thumbnail/featured image to a new page/post but there is no such option/choice - like it used to be, I am using WP 3.8.1, I did try to turn off all the ...
3
votes
1answer
487 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
52 views

Best way to execute custom page-specific mysql queries

I would like to query a secondary mysql database (not the Wordpress mysql database) with page-specific queries. I've seen many answers / tutorials on setting up a secondary mysql database, like: ...
3
votes
1answer
40 views

foreach error on false boolean from get_terms

I'm grabbing an array of page ids that were created in another function which I use regularly- that's all good. The issue I have is in the below function. Some pages have not been assigned an ...
0
votes
1answer
92 views

How to Associate Posts with Pages

This is more of a "how does this work", kind of question than a code question, though some code may be involved. I've been Googling, and reading other questions about custom post types and taxonomies, ...
0
votes
1answer
296 views

Change menu items URL

I create a single page website and use only anchors (#) on main menu items. Now, I need to include a second page on the website and keep the same menu. I'm using roots theme. Then, I'm building menu ...
0
votes
0answers
25 views

Menu of pages with an image

I'm getting really desperate and I need your help, I really tried and research and I couldn't find anything yet. I'm new at wordpress.. and I have this question, I hope you can help me... I want to ...
0
votes
0answers
34 views

Access wordpress pages using a self signed shared ssl

I am trying to access a wordpress page to use in a Facebook tab. I have a self signed ssl installed and I only get a server 404 error page. I am using the wordpress https plugin, but I am not having ...
0
votes
1answer
141 views

Loading custom jQuery and HTML in a WordPress page

I have a simple application I have worked on and would like to load it into my WordPress theme. This app has a /js folder with myscript.js, a /css folder with mystyle.css and an HTML file index.html. ...
-1
votes
1answer
13 views

The page that displays Posts on homepage

I want to know the page responsible for displaying the blog posts in WordPress. Where I can probably expect to find the SQL query and post rendering so I can edit some stuff by myself.
0
votes
0answers
39 views

Create a blank admin page from plugin

is there an opportunity to create a blank admin page in wordpress from a plugin or theme? I mean like the theme customizer without the admin bar or the sidebar menu. Jonathan
0
votes
1answer
31 views

From a developer's point of view what are the differences between pages and posts? [closed]

Whenever I am looking for information on how to handle pages, I always end up finding deprecated functions that link to the correct new functions. But those new functions are only documented in terms ...
0
votes
0answers
15 views

some posts being displayed as pages

Some posts I make (in the same category) are acting as pages, they open as page templates. I have the following in my single.php <div class="mainbody"> <?php while ...
0
votes
2answers
28 views

adding a unique page to an existing site

i'm a wp newbie working with an existing site. i've been asked to add a unique page to the site and am having trouble finding out if this is possible. the current site would not change, but there ...
-1
votes
2answers
101 views

How to set a default page for load first time?

Now I am creating a WordPress site for an academy. But my client has more than one site. So I need to set a home page that contains choose site option at first time. Simply I need to set a home page ...
1
vote
3answers
104 views

How to echo excerpts with wp_list_pages?

I've tried to echo excerpts in wp_list_pages with the code below. It works, but only for one of the child pages. How would I echo the excerpt and title for each child page? <?php $children = ...
-2
votes
2answers
28 views

Display multiple page contents under single page

Is it possible to display the content of all the pages under a single page?? Like, I have Home, About and Contact us pages. I want all of its contents to display under a single frontend page. Is it ...
0
votes
1answer
21 views

on page creation few inline style properties gets removed

For a website I am not a super admin but I have admin role. The problem is even after being an admin, when I create a page few style properties get vanished. In contrast, when a super admin creates ...
1
vote
1answer
31 views

How to use the same code for multiple pages?

The code below prevents a page (defined by its title) from being deleted. When I try to implement two occurrences of this code (one for each page I want to prevent from being deleted) I receive the ...
0
votes
1answer
163 views

Get all children page ID's including parent by title

So I am getting all the children ID's as well as the parent ID to show content only for that page and all its sub-pages. This is the following function I created, but was wondering if there is a ...
0
votes
0answers
72 views

Is a true MiniSite possible with WordPress?

I am creating a website that needs to have separate custom “portals” or “Sections” depending on which market you are in. Example situation: user lands on the home page. User looks at the top-level ...
1
vote
1answer
1k views

Creating a WordPress admin page without a menu for a plugin

I am writing a plugin, that will list a number of entries from a custom set of tables. I added the main page for the plugin using the following WordPress functions: // Add menu and pages to ...
0
votes
1answer
17 views

Creating multiple pages

I have a few pages and I'm trying to import subpages into each like this: wp_insert_post ( array( 'post_title' => $something, 'post_type' => 'page', 'post_author' => 1, ...
0
votes
0answers
40 views

how to show images in slider direct?

i am newbie in wordpress. i am using http://wordpress.org/support/plugin/nextgen-gallery plugin to show albums... you can have look of my site http://server.clickmak.com/demo.. when i click on any of ...
-1
votes
1answer
21 views

Adding a page and contents many questions with answers

I want to add page in my website and in that page I want to add question and answer regularly. And these questions will be found on the the added page only. How to do it? Do I have to add a post ...
0
votes
1answer
66 views

How to include custom post type posts on a page?

I need help adding a Portfolio page to one of my main Pages. I don't know what information is needed, so I'll just throw in some of the important stuff. Basically I have my main menu, (Welcome, ...
1
vote
2answers
74 views

list pages only from master parent

I have a menu on a page that shows the children of a parent page, however, if a sub page is clicked on the children only of the sub page shows in this nav. is it possible to haver the direct children ...
0
votes
0answers
65 views

Page loads all pages of the image gallery with pagination

Same as my previous question I have moved to new website. Here there is a page which contains an image gallery with pagination. The text code is like this: [gallery columns="6" ...
0
votes
2answers
430 views

Display Custom Field Value on Admin Page Column

What I want is to display the value of the custom field called 'page_template'. I use the code below but it displays nothing under Page Template column although I have already defined a value for the ...
1
vote
1answer
41 views

How to modify the default Wordpress 'Pages' widget to have titles on the anchor tags?

So basically, the 'Pages' widget just prints out a list of all pages names as links (as you all probably know). Although, these anchor tags do not have any titles, and that is frowned upon in the SEO ...
0
votes
0answers
168 views

Create nonce in frontend page to edit profile

I am trying to create a frontend edit profile form that mimics the wp-admin backend edit profile. I created the form as HTML directly in a WordPress page (I'm a PHP/WordPress beginner, so I don't know ...
0
votes
1answer
62 views

Creating and populating custom nav menu (menu-item-position not working)

Im automatically creating pages with the below code, after that I create a custom menu and insert all the pages to this menu. $create_pages = array('Home', 'About', 'Contact'); // there will be more ...