We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [pages]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
388 views

Custom permalink for wordpress page / post

I want to set a custom permalink for a specific wordpress page/post. My expectation: 1) Go to specific wordpress page/post edit view. 2) Click edit permalink. 3) Type in new permalink for the ...
0
votes
0answers
293 views

Get current_post in reverse order with pagination

I'm trying to index my posts (in reverse) and I'm using current_count within loop to do this. This is my code: <?php $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args ...
1
vote
0answers
44 views

Trying to Edit a Page but it sends me to a Product Edit page

I have the strangest issue that I encountered. I have updated the newest version of Wordpress and installed Google Analytics GADWP Plugin and Yoast SEO. (I don't think this is the issue though) When ...
0
votes
1answer
24 views

Why last blog post excerpt is shown instead of meta description? [closed]

Instead of meta description of my main page Google shows excerpt from my last blog post. How do I fix that?
0
votes
1answer
16 views

Multiple Pages - Seperate blogs

I'm struggling to find out the following: I would like to have 8 different pages (so I have 8 different tabs), and each of them should look like an individual blog. I can't figure out how to do this,...
0
votes
0answers
241 views

Change URLs in default Wordpress slider to relative from absolute

I would like to change the URLs in my Slider, which was built with the default Wordpress Slider admin, to relative from absolute. I note that when I select a image from the Media Library the URLs are ...
0
votes
1answer
2k views

My custom template page not loading content inside it?

I want to create my own wordpress theme for that I have my own HTML template, I want to convert this HTML template to a wordpress theme So, I copied built-in wordpress theme "twentyseventeen" and I ...
1
vote
1answer
95 views

How can I load a PHP page without using a Template?

I've been building out a website within a WordPress 'wrapper', and it's been going reasonably well. I've got a Plugin that holds some of my code, and I've got a Theme that holds other bits of my code,...
1
vote
1answer
45 views

Disable most recent & view all (TABS) on nav-menu.php

I'm looking for a way to disable Most recent & View all (TABS) on nav-menu.php (in red on the picture). I want to have only the search bar for my pages and posts. Thanks. UPDATE : that what i ...
0
votes
2answers
45 views

Using JavaScript and JQuery in Page

so, I am making progress on a button that disappears after a certain amount of time after being clicked like so: https://codepen.io/mso122591/pen/qVZYNN The problem is that this approach uses jquery, ...
0
votes
0answers
29 views

Share a folder with files

I* would like to have a page with a weblink when clicked it would show a simple folder structure with folders and files, and visitors can download those files. Similar to this UCSC website. It should ...
0
votes
2answers
2k views

Woocommerce featured image of page - not product

I have a custom theme in which I have a woocommerce.php file to display the shop homepage. This is simply: get_header(); ?> <div id="primary" class="content-area"> <main id="main" ...
-1
votes
1answer
1k views

Retrieve Json data and create multiple pages with it

I am trying to load json data from this url and i want to create a page for every single hero available in the json file.how should i retrieve this json file and distribute the content in multiple ...
0
votes
1answer
712 views

Redirect “Sorry, you are not allowed to access this page.” to Home

how to redirect the error message page "Sorry, you are not allowed to access this page." to the Home page?
0
votes
1answer
23 views

Prevent non-admin to add/create new pages

I would like to prevent non-admin users from creating/adding new pages on Wordpress. Is that doable in functions.php?
0
votes
2answers
241 views

pages shortcode filtering by category

I've created a WP shortcode to list out pages which has controls to filter via category and also two layout formats. My issue is that the shortcode is not displaying all the pages that I have marked ...
1
vote
2answers
76 views

Password Protected Page Title

I'm currently using Sage 8.5.1 theme and have some password protected pages. The client would like to have the word "Protected" removed but not the title. I've used this code snippet add_filter( '...
0
votes
1answer
31 views

Rewrite to load homepage for a different url

So I've been wondering if there's a way to force WordPress to load the homepage template for a URL. Eg.: https://example.com/example/another-example/my-post-slug/ should load the template belonging ...
1
vote
1answer
21 views

Add a predefined page to site

I have a folder containing an index page, assets, JS etc. that I want to add as it's own page to my wordpress site without just linking to where it's hosted on a webserver. I have copied this folder ...
-1
votes
2answers
13 views

appearance of new page

I created a new page and can't make it look like all the other pages in my site. New page: http://www.josephflynn.com/uncategorized/fixer-upper/ Old page with proper text/image appearance: http://www....
1
vote
1answer
59 views

two different separate sections on the same site

I want to make a WordPress site that has on the front page 2 buttons. One for section A and one for section B. I want when someone clicks on one of those to be redirected to that certain website. ...
0
votes
0answers
52 views

Using WP page password protection as defacto login

I am trying to secure certain parts/pages of a site within a multisite but I want to avoid using a proper WP user login system to add them to the users table. Using SSO to authenticate users across ...
0
votes
1answer
19 views

Front Page post mirroring revisions to other pages, constantly updating itself

The site I'm working on has a very strange problem. When any page is updated, the Front Page is updated with the same content. Changing what page is set to the 'Front Page' seems not to matter. I ...
0
votes
1answer
692 views

logout redirect only from admin page

How can someone (that has access in Admin area (/wp-admin/) backend), when he is already logged in, and he wants to logout (default WordPress Logout) but only from inside this area, to be redirected ...
0
votes
1answer
21 views

How to add post under particular pages? Like website.com/page1/post1

I want to add posts under particular pages and dont want to show them under home page or anywhere else.
0
votes
1answer
69 views

Is it possible to show a different WP menu when using password protected pages?

I'm using the Wordpress password page protection feature to secure some pages up on a site I am working on. It is part of a large multisite installation and that's why I do not want to anywhere near ...
-1
votes
1answer
490 views

Wordpress “Posts Page” isn't showing template dropdown

I am trying to add a custom tempalate to my "Posts Page"(archive, shows all blog posts) in wordpress, but there doesn't seem to be a template dropdown available. On any other page, It has a template ...
0
votes
1answer
60 views

Get top Page IDs from menu and cycle through their child pages on a scroller

I have a slick slider scroller on my home page that cycles through some of the pages I have on my main menu. I am using the following code to do this: <div class="page-scroller" > <div ...
0
votes
2answers
806 views

Wordpress Site Page Exists but Error 404

I created a website using Wordpress on a local server and the migrated it to an online server both manually and using the plugin Duplicator. All went fine and I have the same configuration of the ...
0
votes
1answer
5k views

Front Page not showing on Pages

Newbie here. I set my Front page to show my latest posts using Settings/Reading. However, the Front page itself doesn't show up in Pages, which is preventing me from doing some editing (using Beaver ...
-1
votes
1answer
97 views

Conditionally including JS based on whether ACF field is set [closed]

I'm trying to include a javascript file in the head of a WordPress page based on whether or not a particular field nested inside a flexible content field nested inside a repeater is set or not. I ...
0
votes
2answers
484 views

Shortcode produces blank page

I added shortcodes to the theme I'm using, but when I try to use them in a page, it gives me a blank page. I have seen a solution to this problem saying to use remove_filter("the_content", "wpautop"); ...
0
votes
1answer
16 views

displaying one category on one page

i have been trying to display all posts of similar category on one page (best ones) work fine with is_home() but isn't working with is_page() or is_category().
0
votes
3answers
45 views

Is there a way to schedule changes to a page?

Our clients would like to schedule changes made to a given page (for instance by displaying the link to register to an event). Typically, the same page (/registration) should display (before the ...
0
votes
1answer
564 views

Remove_filter ('the_content', 'wpautop') only pages

I would like to apply these two functions that remove <p> remove_filter('the_content', 'wpautop'); remove_filter( 'the_excerpt', 'wpautop' ); I would like it to only apply to wordpress pages. ...
0
votes
1answer
18 views

Avoid pages losing template association on site re-deploy

To give you a quick background on what I am working with - I manage 3 copies of our company website; our live site that customers visit, a dev site that is live but not indexed so that our website ...
1
vote
0answers
38 views

Wordpress plugin/theme or other wayout to create portable pages?

Here is my problem - I have my production server running my wordpress site. I have mirrored the site on my localhost to play around and make updates before I push them to production. Staging process ...
0
votes
1answer
20 views

Weebly Migration to Wordpress [closed]

I have some Weebly pages that I'd like to migrate to a new domain I set up for Wordpress. I've tried a couple of methods such as exporting an XML file or using CMS2CMS, but they all seem like they ...
0
votes
1answer
25 views

How do you implement a page template automatically being applied to a page?

Question What can i do in a child theme to create a page template that will be selected by a new page by default. I wrote the page "default with sidebar" but how do i actually implement it and get it ...
-1
votes
1answer
155 views

display new WordPress page content

Hi I create a WordPress site from scratch I can creat a custom template like this page-mypagename and add content with php and HTML code it's work. But when i create a new page on admin dashboard ...
0
votes
1answer
22 views

Page appears after de registering from menu

I have created a menu and registered its location in functions.php function register_my_menus() { register_nav_menus( array( 'footer-menu' => __( 'Footer Menu' ) ) ); } ...
1
vote
1answer
437 views

Cannot get grandparent object

I'm using the following code in order to get the ID of the current page's grandparent and great grandparent: <?php $current = get_post($post->ID); $grandparent = $current->post_parent; ...
0
votes
1answer
29 views

Need to create a custom page on a website

I recently started my first wordpress task and it's about creating a custom page within a website. Now I know my PHP, CSS and HTML but while I am being used to working with angular etc. this is a new ...
0
votes
1answer
42 views

I lost the link to my posts in my menu bar

I lost the link to my posts. Originally, when I went to "all pages" one would show up as "posts." Therefore it would show up in the menu bar. I think when I set up my site, I wanted to change the ...
1
vote
1answer
796 views

I can't edit my homepage - the page editor is just blank

I've been tasked with taking over the website for my company - going well for the most part, but I've hit a wall with the homepage. I'm trying to update the Latest Issue widget Problem is, when I ...
0
votes
1answer
46 views

Header and Footer options in pages and posts

I wanted to add a custom option to select header and footer in every pages and post. I have two headers and two footers so I wanted to select every page. So please suggest me how can I possibly?
1
vote
0answers
21 views

Can't get done anything with admin.php response

So, i finally got some results with ajax hyperlink -> query to DB. And now i can see, the console, XHR admin-ajax.php post, with right results in jquery. Jquery code.Problem is, that anything i do, ...
0
votes
1answer
5k views

How to customize the author page in wordpress?

Actually am getting the author URL by get_author_posts_url($authorID) It is redirecting to some page like http://example.com/members/authorName/ So on this page, I need to do some extra ...
0
votes
2answers
176 views

how to show all post in my page-grid.php template page

I have custom my template and trying to convert my html into wordpress template, i have created one page page-grid.php .and i want to show all my post with images .but don't know how to do this .and ...
1
vote
1answer
834 views

Role - edit page but not publish

I am pretty new at Wordpress.. So I have this problem: I need a user role that has the rights as a contributor but for pages. As I have no posts in my website the users will have to edit pages. Every ...