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

learn more… | top users | synonyms (1)

0
votes
0answers
6 views

I need to add table records from an admin menu page

How do I keep control of a admin menu page that I create via 'add_options_page'? I have built a "demo" plugin that creates an option page. This was through a tutorial and the page that was created ...
0
votes
1answer
15 views

Folder wordpress page redirect

I have my wordpress on a folder, lets say /blog. I would like to be albe to redirect virtualy the users so visit some specific urls to a page. Let's say: I have my terms page that so it is on ...
0
votes
0answers
13 views

Single pages disappearing, even in database?

I have an issue about I'm a little bit confused... Does anyone ever had an experience about pages, which are just disappearing without any reason? It happened with just two until now (I have 68), ...
0
votes
1answer
33 views

How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?

I want the top nav on a wordpress site to automatically show the child pages. I know that I can edit my menu and add the children, but I want them to appear automatically, and for the menu to update ...
0
votes
0answers
27 views

How to create page programmatically? [duplicate]

I want to create a page without using admin only from codes.
0
votes
0answers
16 views

Call XML file in WordPress Page

I have a WordPress Page in which I want to call/display data from an XML file (uploaded to the same server/domain) whenever the user calls that Page. How can I do that?
0
votes
1answer
43 views

Make wordpress pages accessible for Woocommerce logged in users only

I have created one page on my WordPress that I want to set only woocommerce user can view it. That mean they must logged in first to be able to view it. For unregistered user if they try to access to ...
0
votes
1answer
16 views

Wrong Sub-Page Order

I've got this code to display sub-pages of page with their template, <?php global $wp_query; // is Page a parent page if ( $post->post_parent == 0 ) { // on a parent page, ...
0
votes
0answers
23 views

Wordpress changes not showing

I'm wondering how to fix the website when the changes are not showing instantly? I tried the following fix: Installed W3 Total Cache and Super cache and cleared all the cache on the website Cleared ...
0
votes
1answer
23 views

Showing Categories for Page Edit - without plugin

I am building a theme without any extra plugins. Does anyone know the code needed to show the Categories in page Edit - without using a plugin?
0
votes
1answer
75 views

Check if has any sidebar active on current page

Is possible to check if has any sidebar active on current page? Like this: @edit This function also return true even if the current page does not have this sidebar active... <?php ...
1
vote
1answer
36 views

Edit page's “Restore the backup” link does nothing

Every now and then WP logs me out and a pop-up requires me to log back in. After this happens and I am back in, I try to save some changes to a page I'm working on, but there is an error like "Are you ...
0
votes
0answers
7 views

Subpage for custom post type not beeing loaded

A week ago I started working with wordpress. My project is to expand a friends website with a section where she can add offers (e.g. guided hiking tours) in a chronical way. Those offers should have ...
0
votes
0answers
19 views

Redirecting archive page (blog) to normal page

While trying to redirect an archive page to a normal page using .htaccess I can't figure out how to make it work. I've tried using those three lines: Redirect 301 /blog$ /mvo-database RedirectMatch ...
0
votes
1answer
21 views

Make “default” wordpress pages & features unaccessible

I am trying to create specific password-protected mini-sites (single wordpress pages) for specific users or specific passwords to be precise. For example someone clicks the url domain.com/url1 and if ...
-2
votes
1answer
18 views

How to apply styles to the custom page template

I have made a simple page template according to what is said in the how to here :Page Templates When I create a page and in its 'Page attributes' make the template equal to the one I've created, ...
1
vote
0answers
23 views

Cannot add a class to h2 tag

I'm creating a page on my Wordpress website with a series of headings and images on alternating sides of the page for each heading so I need to add clear: left and clear:right to the h2 tags on the ...
1
vote
0answers
43 views

What's the best way to render Visual Composer in posts, not pages?

I have a page with layout and ui content I'd love to use in my posts. Is that possible without running through all the shortcodes with do_shortcode?
1
vote
0answers
26 views

Show Custom Post Type meta boxes only on Page Edit

I've went through the laborious process of creating the CPT. I see it on the sidebar of my WP install, I can add new, save data, and on frontend I can output the data. Is it possible with WP to move ...
0
votes
0answers
26 views

get_posts ( $args) failing when called by AJAX

Here's my code: function ajax_test(){ $default_workout_category = 61 //Hardcoded category for testing $args = array( 'category' => $default_workout_category, 'orderby' => 'title', ...
0
votes
0answers
19 views

How to import pages

How do I import pages from my old wordpress site to my new site in a local environment? I already imported the SQL Database, the theme, and all the plugins. But it there are no pages included when I ...
-3
votes
1answer
19 views

For some reason my posts are not showing up on my front page

For some reason my posts are not showing up on my front page after some small changes. Any suggestions? http://www.justgoodnewsonly.com/
2
votes
1answer
30 views

how to change link of some wordpress pages

I've made templates for the pages of my wordpress site such as: singup,signin,suggestions. Default wordpress pages link is as follows: doamin.com/signup/ or doamin.com/signin/ or ...
1
vote
3answers
77 views

is_page condition not working

The is_page() with post id, post slug isn't working. Below is the code i have been using in divi child theme at the end of the functions.php file. function addingcattocatlist($cat_list){ if ...
1
vote
1answer
28 views

Get page id or status by private pages?

How can I get post id or status by private pages if user is not logged in? This don't works: get_the_ID() get_post_status ( $ID ) I found some usefull informatins here but is not enough to detect ...
7
votes
1answer
901 views

Using pre_get_posts on true pages and static front pages

I have done quite extensive research on how to use pre_get_posts on true pages and the static front pages, and it seems that there is no fool proof method. The best option I found to date was from a ...
0
votes
0answers
70 views

how to create wordpress page using php and mysql

Hi I want to create wordpress page but without using any wordpress built-in functions i.e. like wp_insert_post.I tried using xmlprc and curl but got no luck achieving it.So,now I want to directly ...
0
votes
1answer
51 views

How can I check user capability when a page loads (via functions.php)?

I need to restrict users without a specific capability from seeing a specific page. I can't use shortcodes or anything like that, I just want to redirect them if they get to that page URL. I want to ...
0
votes
0answers
54 views

How to pass multiple page ids from a custom field variable into post__in wp_query

I have a client that wants to pull content from multiple pages using page_ids listed in a custom field (363, 87, 95) without interfering with the main loop content (can't use sub-pages as same page ...
0
votes
1answer
27 views

Bundle a page with custom url and a function

I have a plugin that allows users to bookmark posts and I want to create a page/archive/index for all those bookmarked posts. What I've done so far is: created a menu link that is displayed if user ...
1
vote
0answers
40 views

Home page randomly redirects to another page [closed]

I have a blog, hosted on my own domain which has been working fine for awhile now (almost two years now). I was creating a new page as an register page for adding members. This is done through ...
1
vote
1answer
20 views

category permalinks

i am quite confused about the permalink stuff. So here is whats up... I have a page called tours as well as custom post type called mc_tours. At first i just changed page permalink to ...
1
vote
0answers
8 views

Iframe being removed only for some users when publishing a page

I have multi site wordpress installation. Recently I had a user complaining about not being able to add frames to a page. When I did it it just worked. This user is administrator on this page. Is ...
0
votes
0answers
44 views

Adding Pagination to a Custom Wordpress Page Template

I have been playing around with the Resi theme, trying to see if I can add pagination with a few tutorials I have seen online. To date I have only been able to get the pagination to load, with the ...
4
votes
2answers
157 views

What is an alternative to get_page_by_title()?

I'm coding a theme where I want to display information in the footer that's only available on a template page. I have been using get_page_by_title() which works well if you know what the page will be ...
0
votes
1answer
9 views

Access link page and not folder content of that link

I have a problem with some pages on my site. For example: when i access page called staff from www.example.com/staff it redirects me to folder staff from the root of the site where i have some images ...
0
votes
3answers
89 views

How to load JS and CSS only on specific Pages using is_page()?

I am building my first WP plugin, it should load some JS and CSS files only on specific pages selected through a form available in the plugin Admin area. Once selected in the form, Page Title gets ...
0
votes
1answer
25 views

Dynamic page with comments

I am aware that it is possible to write a page template with custom PHP code to generate dynamic content. For example, the page can take in a query parameter e.g. musician ID. It then uses custom ...
0
votes
2answers
28 views

Create page as a file in my theme?

Is it possible to create a single page by just adding a php file inside my theme and add header and footer to it? Yes, I know, this page will not be able to administrate through WP Admin. I have ...
0
votes
0answers
21 views

How would I create custom pages???

I'm a beginner at wordpress themes... and I used http://www.themplio.com/themes/creative-studios/preview to turn it into a wordpress theme for my selfstudy... the picture above is the result after ...
0
votes
0answers
18 views

Editing specific text on Custom Page Template

I'm a Wordpress beginner and made my first personal theme from a static html website. Currently I'm trying to edit specific text on for example the homepage. I did manage to changing background color ...
0
votes
0answers
39 views

Dynamic page loads in browser, returns 404 to curl and GWT

I have created a dynamic page that displays content based on the US state name taken from the URL. I created the page in WP with a title of "CDL Manual PDF" and it has the URL ...
6
votes
3answers
244 views

Access the same page from multiple urls (wildcard)

I want to serve a specific Wordpress page for multiple urls. Basically I want to point all the urls in a specific format to a known page: /some-prefix-* => /target-page And accessing ...
0
votes
1answer
42 views

Using page-something.php as static front page

I have created 2 pages inside wordpress "blog" and "hpage", on the config I have set static front page to "hpage" as initial page and "blog" for posts index. Now I want to create a "page-hpage.php" ...
1
vote
0answers
12 views

Improve list of pages in admin [closed]

I have a WordPress website with a lot of pages in a complex hierarchy. Thus, the list of pages in the admin is very long and hard to navigate. Is there a plugin that improves that? It would be great ...
1
vote
1answer
37 views

How do i change page template in bulk?

Googled for a long time, but did not find any solution. The case is - I have 950 pages I'd like to switch to other template. If i do it manually - it will take some time. If I do it via admin panel - ...
0
votes
2answers
31 views

Create a custom page URL

I have and archives.php file developed which I want the user to be able to access. How can I register a new page so that when a user types mysite.com/archives he goes to this page?
1
vote
2answers
48 views

How do I load custom scripts and styles for a page?

Different pages often need different set of scripts and styles for them. I use functions.php and construction like this to load scripts and styles: function load_assets() { wp_enqueue_style( ...
1
vote
2answers
58 views

What is the proper way to get contents of a page?

The goal is very simple - to print page content on a page. I tried: <?php the_content() ?> <?= get_the_content() ?> then <?php the_content(get_the_ID()) ?> <?= ...
0
votes
0answers
31 views

How to create child pages from given parent page

I have a website with lots of pages and subpages. Browsing the default pages table is ok, but not very practical for sub-page creation. I first tried the plugin Nested Pages, which works fine for ...