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

learn more… | top users | synonyms (1)

0
votes
0answers
11 views

How to add custom redirect via parse request

I want to add custom redirect: Please tell one liner code to do : 301 redirect, 307 redirect, meta, javascript; add_action('parse_request', 'my_custom_url_handler'); function ...
0
votes
1answer
16 views

How to refresh a template page on Wordpress in 3 seconds - easiest method?

Basically, on my site I have content submitted via a search bar. I'm using a content-none template to detect if the user is signed in - and if so it submits a post programmatically (if the post ...
0
votes
0answers
4 views

How to duplicate Sub Menu?

Just wondering how I can duplicate (copy) a sub menu item. I have the duplicate menu and duplicate post plugins. Neither lets me duplicate a sub menu. Thank you for the help
0
votes
1answer
8 views

Display child pages on homepage template

I thought this would be a simple case of following the Codex but apparently not. I'm trying to display child pages of a particular page on my homepage using a custom made template. So far I've managed ...
0
votes
1answer
23 views

Redirect Every Instance of The Author Template Pages to Custom Author Pages

What I'm looking to do is actually a simple redirect, but for the EVERY page contained in the /author/ slug. The working slug I want to redirect to is /team/. For example, if someone were to type ...
0
votes
1answer
19 views

auto create only 1 wp page in activate custom plugin

I am using this code to auto create a page when I activate my plugin.. function insert_page(){ // Create post object $my_post = array( 'post_title' => 'My post', ...
0
votes
0answers
18 views

Multisite and Page speed question

I have been building a community news site, that pulls in newsfeeds from everywhere. There is a classifieds, events, business directory, local deals, shopping, birth announcements, etc. My page load ...
0
votes
1answer
24 views

Specific Page that convert Hyperlink to anchor in nav menu

I extended my Walker_Nav_Menu that converting hyperlink to anchor as I'm making one page website. Here is the code: class description_walker extends Walker_Nav_Menu{ function start_el(&$output, ...
0
votes
1answer
13 views

Pre-populating new Page creation with shortcodes

I would like to have my authors to be able to create new pages on my site, but I would like a couple of shortcodes to automatically be included when they create each page. The shortcodes independently ...
0
votes
1answer
27 views

Removing page background [closed]

I'm really new in this world. I have a permanent front page only including a video. But around the video the page color is still white. I would like to remove that so the only thing viseble is the ...
0
votes
1answer
20 views

ECHO Executing 4 Times In Head

I have a plugin I created as a test and am running into a bit of trouble. The code is executing 4 times and placing what I echo in the <head> tag of the page. The reason I'm performing an echo ...
0
votes
1answer
19 views

Hidden Some Setting on Post or Page [duplicate]

I'm using Advanced Custom Fields, but i want to remove this (in the red mark) from non-admin, what plugins to disable this? Thanks.
0
votes
1answer
9 views

Have subdirectory name act as $_GET or $_POST data

I have a page with a list of items that I want to have my users cycle through without a page load happening between each item. This works. However, I also want each item to have it's own URL. I'm ...
0
votes
0answers
25 views

Dynamically Switch Page Content

I'm trying to achieve the following: - When a user submits a form located on a page, a page dependend on the receipt he submitted should be displayed. I have the following solution (which works, but ...
0
votes
0answers
18 views

Sticking a post or page to the top of all WordPress pages, posts, index pages, etc

I'm trying to add the same common content (like an announcement, banner, or slider) to the top of all WordPress pages, posts, category archives, etc. Standard WordPress sticky posts are displayed only ...
0
votes
0answers
15 views

WordPress Post Editor Closing Tags Early

I need to place markup into the wordpress editor (yuck, I know) but WordPress magic is happening that I do not want. I enter code in like this: Then after hitting 'Update', the markup has changed ...
0
votes
0answers
5 views

Image URL Recently became Image Name and Took Page URL of Same Name

With a recent update to either wordpress, my theme or the Yoast plugin, we realized that any image with the same name as a page on our site has taken over the URL of the page. When we build out the ...
0
votes
0answers
12 views

Show posts from specific categories in a set page and some cosmetic modifications

So I'm trying to make a gallery-site for a friend's art as a hobby/learning project, and so far I've chosen a theme that I liked and modified it to fit the content I wanted to upload. But ...
0
votes
2answers
24 views

Set order acs and no paging for archive page

My code theme archive.php is <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * If you ...
0
votes
0answers
17 views

Simple class with different color between header,page,footer

I have a theme, "university". In this theme compare social icon in top header, in page and in footer, now I want a different color for this icon between top header, page and footer but have same ...
0
votes
1answer
21 views

How to make the Pages in WordPress Customized?

I have a Theme I like. The front page is terrific. However, the pages have horrible formatting. How do I bypass this & get my own page formatting? (I know I have done this before...) If possible, ...
1
vote
2answers
23 views

Can I have two child pages of different parents with the same name?

I have two pages - new.hillsong.com/australia/sisterhood - new.hillsong.com/hills/sisterhood Both pages are displaying the content for the /hills/sisterhood site but they are different pages with ...
1
vote
2answers
52 views

Order by menu structure

As I'm making one page website. Here is question I asked earlier: Calling Specific Pages with wp query Part II As I'm calling all pages by WP_Query which is "order by = ASC" I want to call it "order ...
1
vote
0answers
13 views

Create page from plugin, but have it completely hidden

I need to have a plugin create a page that is publicly accessible, but does NOT show up in the admin section anywhere, and cannot be deleted or modified. I thought maybe figuring out a way to have a ...
0
votes
1answer
21 views

Wordpress Admin - Add Edit link to specific page under Pages Menu

I am trying to add direct links to edit specific pages, under the Pages menu: Currently I am using, which give me the menu item / link: add_pages_page( 'Hero', 'Hero', 'read', '15', '' ); ...
0
votes
1answer
54 views

Replace content in Wordpress Page after GET from php page

I have a wordpress Page with an html form where i get username and password from my customers. Then i send to an external php page located in another my server and get the result from inserted ...
2
votes
2answers
54 views

A check for if is parent page, if has children, if has grandchildren

I have one default page template that I wish to use for two scenarios. I'd prefer to use only one page template for the sake of simplicity for my client. Here's what I'm trying to accomplish: if ...
0
votes
1answer
26 views

page.php is not called, falls back to index.php

I'm creating a custom theme in Wordpress 4.1. When trying go to a page that is not the home or portfolio (which have their custom pages), it should load page.php. But instead I get the index. No ...
0
votes
1answer
68 views

Pagination fuction in shortcode always displays on top

Pagination function in shortcode always displayed on the top. Please have a look on below code /*-------------------------------------------------------------------------*/ /* Custom Pagination */ ...
0
votes
2answers
45 views

Custom field not updating via functions upon publishing

I've created the code so that on publish of the page, the custom field 'bookinfo' in the page is automatically generated but its not doing anything Below is my code in in functions.php:- <?php if ...
0
votes
0answers
45 views

Admin - Plugin: create custom page with ID

I want to create a plugin in order to generate shortcode settings. My aim is to create a plugin page with add menu action and in this page to have a button in order to create a new setting page with a ...
0
votes
0answers
7 views

How to create a hook that can give points for either how many pages viewed by user, or pages viewed by a user's posts?

I started a blog recently and I liked the achievements idea. I installed two plugins both which I like, one is called Achievements and the other is called WordPoints. Specifically, I would like to ...
0
votes
1answer
33 views

Getting page/category content to show up in my custom page template

I am trying to get my category page content to show up in my custom page template, it returns everything I call, except for the actual page content when I am testing it. Hope this is somewhat clear :\ ...
0
votes
1answer
25 views

Create page excerpts for landinpage

Forgive my ignorance in wordpress, but I'm not finding the information I am looking for. What I am trying to do is (on an existing site) remove dropdowns from navigation by creating landing pages. In ...
0
votes
1answer
31 views

Issue in If else condition [closed]

I'm calling my all pages on one pages as a section. Here is my code: <?php $args = array( 'post_type' => 'page', 'orderby' => 'ASC', ...
0
votes
0answers
23 views

WordPress Page Walker class descendants of parent with thumbnail and custom classes

Please, help! I'm at my wits end and have to finish this by tomorrow, so I would REALLY appreciate any help with adjusting this page walker class. (Please!) The ultimate goal is to display a list in ...
0
votes
1answer
20 views

Calling Specific Pages with wp query Part II

I'm making one page website and I added a custom field on "Page" post type that asks "Use this page as a section:" Yes or No(with dropdown). I called all pages on template-onepage.php(custom template) ...
0
votes
0answers
8 views

Unable to use template modules while creating page

I am trying to create a product page and wish to use a custom template that I built. I selected the template in the Template Option but none of the template modules were imported the page edit ...
0
votes
1answer
28 views

How to get a page url by a page id?

I tried to use get_page_link('page-id') and get_permalink('page-id') but the error below occurred. Fatal error: Call to a member function get_page_permastruct() on null in ... How can I get a ...
0
votes
1answer
19 views

Setting Default Screen Options

Is there a way to set default screen options for a page? Ideally what I want is to be able to set screen options so that say for example, my page attributes, Discussion, and custom fields are visible, ...
0
votes
0answers
17 views

Pageview all of sudden not working

I am not sure how to explain it. MY page view count is not working all of sudden. Here is my code: $output .= '<div class="mainpageview fa fa-eye">'; $views = get_post_meta( ...
0
votes
0answers
16 views

Preventing page title text box from disappearing when scrolling down the page

After updating to the newest WordPress version, I started noticing that the text box containing the page's title disappears when I scroll down in the code box. Is there a way I can turn this feature ...
0
votes
1answer
14 views

Childpage title + content on Parent Page

Currently I'm trying to make a dynamic bootstrap collapse with child page information. The problems I'm facing is how to get the_content(); (it's all text without a read more option) of a child page ...
0
votes
0answers
26 views

How to use Jquery properly when editing page

I only want to use a simple JQuery in some of my pages, but the code just not working. Here is some of my background. I am using child theme. Under my child theme folder I do only have 3 files: ...
1
vote
1answer
41 views

What is the difference between $paged and $page?

I'm creating pagination for my site. Hope everyone can explain to me what below code used for? Thanks in advance. <?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } ...
0
votes
0answers
21 views

Admin pages showing up blank on WP3.3.1 fresh install (1 post)

Hope someone can help here. I have a website running 3.3.1 (for numerous reasons, sorry but it can't be helped :P). The problem is that when I go to website.com/wp-admin/ the pages show up almost ...
0
votes
0answers
20 views

Page with same name of category

I've a category "news", I've removed /category from url so final URL is example.com/news/. Now I want to create a page (not a subcategory) "sport" which final URL has to be example.com/news/sport/. To ...
0
votes
1answer
19 views

Show parent's child and also child's, child on a page?

I'm trying to get my head around this issue I have and the only way I can think about doing it is pulling in things via a WP_Query but you can't have a query inside a query can you? What I'm trying ...
0
votes
1answer
13 views

My blog “page” used to show a list of posts, but now it's just showing the page content?

I used to have a page called "Blog" with dummy content (it said "hello world" or similar). Off the menu there was a link to www.mydomain.com/blog and this used to fire up index.php and list recent ...
-1
votes
2answers
19 views

Only echo Page Content (not page title & page content together)

I am working on a child theme of the WordPress Twenty Ten theme. I have several pages in WordPress (About page, Testimonials page, Contact page, etc.). I want to only echo the page content (the actual ...