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

learn more… | top users | synonyms (1)

-1
votes
2answers
112 views

Limit amount of pages shown in pagination within wp_query

I've got a query that looks like this: $args = array ( 'post_type' => $postType, 'paged' => $paged, 'pagination' => true, ...
1
vote
2answers
47 views

How do i fix? WordPress database error: You have an error in your SQL syntax;

I am Using Wordpress for making a website and getting below Error only on my pages and No shortcodes are working due to this error. This error ONLY seen on PAGES they are working fine on POSTS. I ...
0
votes
0answers
21 views

multiscroll confusion in wordpress

I'm using multiscroll jquery plugin for multiscroll. here is the code from documentation of plugin.. <div id="multiscroll"> <div class="ms-left"> <div ...
0
votes
0answers
44 views

How to get correct page info , post type/taxonomy/category/custom post type?

Ok I feel like I am mixing apples and oranges here. Yes I am fairly new to WP and the concept of pages/tax/post/custom post types etc is blurry to me. I come from joomla where we have article , ...
0
votes
2answers
45 views

Get the ID of 10 Latest Pages stored in a Wordpress Category

How Do I get the ID of latest 10 pages from a certain category in my wordpress blog. Please suggest me a relevant function to get that in a form f array or something that could give me the ID's of ...
0
votes
0answers
32 views

Define an extra field for all pages (with no plugin?)

I usually use WP Types define custom fields, post types, ... But I have a theme a little bit overloaded of plugins, so I would like to define this field for (all) the pages in functions.php if ...
0
votes
0answers
17 views

Photos page, to display photos from content library

I want to make page that would be called Photos and would have chosen photos from media library, each one linked to its media file. For example something like Facebook albums. It could be done with ...
0
votes
1answer
57 views

append one page content into another

I need to append the content of one page into this one. I have tried to use a plugin which is very easy to use but doesn't work in my case. Then I found following code: <?php $recent = new ...
0
votes
1answer
38 views

How do I register a new settings page? [closed]

I need to be able to create a new settings page, one that will act as a list of information for the user. However, I am unable to find how to do this, can someone point me in the right direction for ...
1
vote
0answers
19 views

More Fields Required For Password protect page

There is only Password field is available for protect the page/post. I have to required more fields like: Email, User ID Number and Password. How can i add more fields in the password protected form. ...
0
votes
1answer
36 views

custom css in one page

I am trying to add custom css to wordpress page. Which is trying to load an image from the gallery for some reason though certain parts of the css are not working. Not sure if this has to do with the ...
0
votes
1answer
28 views

How to show the view more on my display of pages shortcode

I want to show the list of childpages under a certain parent page & set how many childpages to display & show the "View More" link below the last child page displaying. What was missing from ...
0
votes
2answers
27 views

How can I add a new page in the pages tab that belongs to specific theme?

Hi I would like to add new pages in my active theme but I dont want these pages appears when I move or active another theme. I know these pages are saved in the database, but how can I link them to a ...
0
votes
0answers
22 views

Page listing custom type posts to be as a parent

I wanted to make a gallery, with custom post type. Now having custom post type I list it on a page called gallery (www.example.com/gallery), but when I click on the custom post itself it gives me ...
0
votes
1answer
89 views

Show only top 3 posts from 3 categories in order on home page

This function will show the last 3 posts from any category on front page: // Only top 3 posts from CHR category add_action('pre_get_posts', 'ad_filter_categories'); function ...
0
votes
1answer
22 views

My pages disappeared from the list

I have a serious problem. Last weekend I moved some websites from an old server to other more powerfull. It's a new installation. I'm using a AWS EC2 Ubuntu 14.04 connected to a RDS MySQL. In this ...
0
votes
1answer
25 views

New page has incorrect URL

I just installed WordPress on my new dedicated server (running Debian) and each time a create a new page in the WP admin board, it has the URL www.mydomain.com/index.php/mynewpage I would like it ...
0
votes
1answer
36 views

How to customize <head></head>

I want to customize <head> tags, add my own structured data snippet, instead of generated by Yoast. And how to gain overall control of <head> tags contents over pages. How this will be ...
-1
votes
1answer
22 views

WordPress Page Column Problem [closed]

The sidebar which should be on the right side is being loaded below the content. How do I move the sidebar to the default position? Here's the link
0
votes
0answers
99 views

Publish specific category posts to specific pages

I'd like to have many different categories of posts. And many "blog template" pages. And when i create a new post of a specific category and see it posted only on specific pages. Is the only way by ...
1
vote
1answer
92 views

Edit menu item title from edit page/post

After we save a post/page, a new menu item is created (with the same title) in the navigation that we have created in nav-menus.php. If we need to change the menu item title, we need to go to ...
0
votes
1answer
44 views

No Appearance panel is shown

I am completely new in WordPress. I must change visual appearance of some pages, but in admin panel doesn't shown appearance panel. To be a more concrete, i want to change navigation menu, to add some ...
0
votes
1answer
80 views

Footer doesn't display in page.php

So I'm trying to integrate static HTML/CSS/JS into WordPress and everything goes really well, but now I realised that my footer isn't displaying in my individual static pages (page.php). But I can see ...
0
votes
2answers
87 views

Custom Upload Adds Ghost File

I've tried this on a fresh install on the twentyfifteen theme. I'm adding a metabox to pages which allows uploads - Whenever I upload a file on a new Page it uploads the file but also adds another ...
0
votes
1answer
25 views

How to create cutom link for page

I am newbie in WordPress, and my question may be duplicated, but I cant get this, help please. I have page with this URL: example.com/?page_id=49, but I want to make it as example.com/test_page. ...
0
votes
1answer
47 views

How to get sort content by page id?

I wont to get short content in my footer area. So, I write my code as follow: $page = get_page_by_title( 'About us' ); $content = apply_filters('the_content', $page->post_content); ?> ...
0
votes
2answers
18 views

Show author on every sub-page

Is it possible to display the author on all pages (not blog-entries) who created it? Every plugin I find is for blog-posts.
0
votes
1answer
25 views

Best way to create member pages for a lab website? [closed]

I lab I work for - implab.hu - would like to move migrate to a wordpress type site, but I have yet to find a similar plugin or template that imitates the function visible at http://implab.hu/Members ...
0
votes
1answer
49 views

Best way to organize data in this scenario

My question is about data organization more than code, I hope it still has its place here. My site's main menu has an item pointing to a page called "Videos". This page has 2 main parts: The last ...
0
votes
0answers
106 views

Get Page ID of blog homepage

my start page in WP shows the latest posts. I added some meta fields to the start page in the WP backend which I want to access before the list of recent posts starts. I try to access the meta values ...
0
votes
1answer
50 views

Exclude Custom Post Type & Pages From Auto-Tag Function

I am happily using this bit of code to auto-tag posts by author (thank you again cybmeta): add_action( 'save_post', 'add_authors_name'); function add_authors_name( $post_id ) { $post = get_post( ...
0
votes
0answers
23 views

How can I display custom field of sub pages even if I'm on a sub page?

I'm doing like a navigation of sub-pages on a page with thumbnail generated from a custom field (ACF plugin). When I'm on the parent page and on a sub-page, I want the thumbnails to show up to list ...
0
votes
0answers
19 views

How to manage multiple pages with varying styles (with ability to scale)

I'd like to have multiple pages with unique styles. I started by just adding a few different page templates, but when we start moving into 10+ unique pages it's going to make the page template ...
0
votes
1answer
60 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
18 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
23 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
64 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 ...
-1
votes
1answer
59 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
40 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
76 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
16 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
30 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
21 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
20 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
44 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
31 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
19 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
13 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
30 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
35 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 ...