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

learn more… | top users | synonyms (1)

0
votes
1answer
122 views

Order by modified date working in POSTS but not PAGES

I found the following code at bytefreaks.net. It adds a sort-able column to edit.php, but the column appears only on Posts and not on Pages (...?post_type=page) bytefreaks suggested putting it in ...
0
votes
2answers
17 views

How can I get the page from menu as posts?

I've a one-page template and I would like to get the pages according to the menu order, so I think to have a loop to get all pages from the "primary" menu. But on "get_pages" I don't have the option ...
0
votes
0answers
17 views

Is it better to set social media sharer in entry-footer.php or comments.php in Wordpress blog?

I'm now deciding where should I put social media sharers. Currently, I'm now putting sharers code in entry-footer.php. But is it more semantic to put sharers in entry-footer.php, in the bottom of ...
0
votes
1answer
41 views

Display child pages in a parent page? [closed]

I have a "News" page with child pages and I want to display those child pages in "News" page only, like this How can I achieve this?
1
vote
0answers
29 views

How to use Custom Page Templates for hierarchical Custom Post Type

I added custom post type to my website. function any_posttype() { register_post_type( 'any', array( 'labels' => array( 'name' => __( 'Any' ...
0
votes
0answers
183 views

Cannot edit or add new page after migration, content area disappeared

After migrating my website to the production server I am getting a strange error, the content area has disappeared on edit/add new page/post, and is replaced by this message: "You are currently ...
-1
votes
1answer
81 views

Adding Count Post in Page

Question : how to display post count in a page like this picture : Showing 25 of 123 products I mean in general. I use the custom theme and create a page that contains Categories. How to display text ...
0
votes
1answer
21 views

Page permalink ending in “-2”

I have a couple of child pages that keeping ending in "-2" on the permalink even if I go in and manually change the permalink. I do not have any pages that are a duplicate title of these so I have no ...
0
votes
1answer
65 views

Loop through two different sets of custom fields

I created a Custom Field ('custom_name') to allow content editors to specify a 'custom_name' (different from the title of the page) to any post created: custom_name - (Field type --> 'text') For a ...
1
vote
1answer
37 views

How WordPress manages nested dropdown?

I made a hierarchical CPT, so it involves various depths. I need to make a dropdown, and I found wp_dropdown_pages(). But for some reasons, at last I made my own dropdown querying get_pages() and ...
0
votes
1answer
77 views

require_once not working

I have a custom page template, and this template need to include one php file. I tried to put this script require('.../hc-v2-child/ayah.php') and this require(__DIR__.'ayah.php'); in functions.php ...
0
votes
0answers
96 views

My AJAX requests take 30 seconds to complete

I am a wordpress newbie messing around with a wordpress installation on localhost using XAMPP and I've encountered a weird problem that I can't find any information on. The problem is that every time ...
0
votes
0answers
60 views

How do I get the meta section in top rated posts of thumbs rating plugin

Hi. I am trying to make page templates using the thumbs rating plugin. and trying to display top rated posts. All was going well, until I got stuck in the meta section. The function I am having a ...
0
votes
0answers
67 views

How to know if the search result is page?

I want to have other format to show search result if it is a page ..else do as usual <?php while ( have_posts() ) : the_post(); ?> <?php if('page' == $post->post_type)?> <?php ...
0
votes
0answers
20 views

Gallery Paginate

I made wordpress gallery.And i made paginator with short code. It works well. But there is a problem. When i list pages numbers it shows all numbers like 1-2-3-4-5-6-7-8-9-10. . But i want to show ...
0
votes
0answers
27 views

Select from a list, keep the layout besides from one div

Hi Wordpress experts out there! :-) I want to confirm that I am thinking correctly regarding to how to achieve a thingie... I have page with a layout like this (simplified) {header} {column 1} ...
0
votes
1answer
1k views

Create a full width responsive header image per page

I’m new to Wordpress - currently building a site that has a few pages (Home, Artists, History, Videos). Each of those pages need a custom header containing a responsive full width image (the image ...
0
votes
0answers
34 views

Cannot Get Title or Thumbnail of Posts Page

I set up a page called 'News' and applied this as my posts page. I am really struggling, however, to output the title 'News' or the featured image that has been added to the page itself. Whenever I ...
0
votes
2answers
51 views

Get All Pages as strings in array

I try somehow to get array of pages names. I don't think it's possible in some default method from WP. <?php $args = array( 'authors' => '', 'child_of' => 0, 'date_format' ...
0
votes
1answer
12 views

Author information on all pages

I want to post inforation about the author of the website on every page. This means it needs to display the 'author' avatar, name, biography (x chars) of id 2. Is this possible?
0
votes
2answers
36 views

How to use theme function in post/page?

I want to be able to reference the theme directory in a page/post using php code. I don't know how to do this with WordPress but other CMS use something like a path_to_home php variable like <img ...
0
votes
0answers
25 views

Gallery Images could not be shown

I have more than 50 pages on my WordPress site and there is a image gallery (WordPress Gallery, not an extension) in each of them. But now, all of them don't show their images, and in edit mode say's ...
0
votes
1answer
47 views

Unabled to Change Permalinks - Even Using the “Edit” (Resets to Original Permalink on “Update”)

I have tried everything in every post I have been able to find about changing permalinks for existing posts and pages. I have gone to settings and change the permalink structure in hopes that it would ...
0
votes
3answers
245 views

Skipping first 3 posts in wp query

Here's the query i have used. <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $wp_query = new ...
0
votes
0answers
9 views

How to Move Comments from a Page to Author Page?

I created an About Me page (let's call it Page A) for my site, but now I'd like to move much of that content onto my author page and use Page A for more of an About This Site type thing. The problem ...
0
votes
0answers
10 views

How to give paged links custom title?

I have split my content into mutiple pages using the <! - nextpage -> code. I want to give my paginated links their own title instead of the regular 1,2,3. How can I do this? cause on this doc ...
0
votes
1answer
736 views

How to get current page menu item name instead of full menu item list

I would like to build a menu structure where you can only see the menu item of the current page like on this web site http://www.bigspaceship.com/services/ I search around and I have the following ...
-2
votes
1answer
39 views

how can i get the page_ID in nav li [closed]

I need a menu with the page IDs of the linked Pages in the li Tags. It should look like that: <ul id="menu"> <li class="pageid_23"><a href="page1">Page 1</a></li> ...
0
votes
1answer
33 views

How to add an external php page with wordpress?

i want to add a page with html data to show form and get input from user,store it to database and after successful query show next page with massage that the data is inserted successfully.
0
votes
0answers
53 views

anchor link only works when on internal page, not external

I have anchor links, but it's only working when they're linking to the same page. If I'm linking from an external page I see it go to the page anchor but then immediately jumps to the top of the page. ...
0
votes
0answers
25 views

Use jQuery to fire a script on specific pages

I am looking to run some code on specific pages only and I would like to be able to identify those pages just by id. I'm not a programer and I'm sure it can be done. What I would like is to be able ...
1
vote
2answers
50 views

Don't delete a page if it holds users

I have to do something but I just can't come up with a way to do it. On one hand I have created pages who are companies. So every page is a company-page. On the other hand I have created users who ...
0
votes
0answers
34 views

data and link from one page to another

I am trying to link from one page to another page which gets the data from previous page. I have a image displayed using metabox. <?php $images = rwmb_meta( 'metabox_imgadv', ...
0
votes
1answer
42 views

Using two differents loops on a page with custom post and no duplicate content

I'm trying to figure out how I can display the content of a query post within a page. Basically I'm using contact form 7 specials tags but the problem is that it will only work if it is inside a loop ...
2
votes
1answer
88 views

Creating a template using a specific slug name, for a page with a parent page

I have always preffered to create layout templates for specific pages by creating a filename the same as the slug. So for example: Page Title: Contact Us Page Slug: contact-us Filename of template ...
0
votes
0answers
18 views

Unable to alter page status

After upgrading to 4.3 all of a sudden we find ourselves unable to alter the post or page status, visibility, and previewing now opens an editor window in a new tab. Repairing the database and ...
0
votes
1answer
20 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
27 views

Manage content on multiple pages synchronysly?

Is there any way to use the same content blocks on mutliple pages? For example, I have a website that focuses on services for different cities. 80% of the content ist the same. If I have 50 pages for ...
0
votes
0answers
47 views

get publish / move to trash post URL

I'm having some issues finding the URL's for the publish/update and move to trash buttons. I have something like this : <a href="#" class="menuu-item"> <i class="fa ...
0
votes
1answer
252 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
0answers
44 views

How to run onclick in text editor? (Follow-up question)

This is a follow up question from How to wp_enqueue_script with html? I have html tags with onclick. I place it on a page, but the divs with onlick are not properly working. How to fix this? Here's ...
0
votes
0answers
10 views

Pages Column Sorting Wordpress Version 3.0.3

I am working on a wordpress site that is stuck on version 3.0.3 - Desperately trying to make the Title / Author / Category / Etc columns sortable. At present all pages are listed in order of last ...
0
votes
0answers
34 views

How to add text next to the title in the admin area

is it possible to add text at the places the arrows are pointing? I also want the text to appear only on one particular page. I would think there must an action out there that lets me do that, right? ...
0
votes
0answers
34 views

remove current page from url in main menu

I am trying to develop a theme for my company. The website is a one-page-website although it has 3 seperate pages for disclaimer etc. The problem I'm facing is as follows. The main menu has url's ...
0
votes
0answers
13 views

Cannot use pages created on WP

I am quite new to WP and I have recently taken over a development project of a page that I really don't understand quite well due to the weird options that the previous developer took. Unfortunately I ...
1
vote
1answer
102 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, ...
0
votes
1answer
83 views

How to list all images used on a specific page?

How do I list all the image(s) used on a specific WordPress page. I would like it to include the following if possible, Url to image Name of image Url to thumbnail of the image [Edit] I would like ...
6
votes
1answer
272 views

Keyboard shortcut for updating a page or post?

What is the keyboard shortcut key for updating a page or post? It could save me a lot of time as rolling down a page draft is time consuming.
0
votes
2answers
42 views

Create fixed static pages

I have inside a theme two important static pages. One is a confirmation page (after signing up for a newsletter) and the other one is a thank-you page. I am using these in various functions and ...
0
votes
1answer
73 views

$wpdb->get_results breaking page?

I'm trying to generate a list of years that have posts on a Wordpress page using a "php in posts" plugin that has a shortcode. but the code I'm using seems to break the page. What could be the issue ...