Questions tagged [pages]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
4k views

why does HTML Tag not working in Post and Page

Though this is not a programming related question but I am facing a bitter experience with this WordPress problem. the problem is HTML Tags are not working in my website. See the images
0
votes
1answer
829 views

Hierarchical List Pages as a table

I need to generate a list of all Wordpress Pages and have them display in a HTML Table, that will be printed for offline use. First column is Blank Second column will have the Page Creation Date ...
1
vote
1answer
45 views

Set a specific page as 404 - not found via my own plugin

I'm developing a plugin that create some pages and set a specific template for each of these pages. It creates a page in which it sets a template for 404 - not found, how can set this specifc page as ...
0
votes
0answers
23 views

Is there a way to find all posts with Youtube video embedded?

Is there a way to search all posts and pages in my WordPress site and find those who have a Youtube video embedded in them? The reason to do that is I want to disable the wp-embed.min.js but before ...
1
vote
1answer
6k views

Get page content and execute shortcodes on a page

I would like to get show multiple page's content on one page with shortcodes. If I use return $html; the shortcodes not working, if I use return do_shortcode($html); the shortcode working, but the ...
0
votes
1answer
571 views

Shortcode runs when editing page

I have a page which only contains this: [memberdirectory] [/memberdirectory] It's purpose is to list names and addressed of members. It loads and runs the associated function without any problem. My ...
0
votes
1answer
28 views

Odd twitter meta data description on all pages

On this page – https://cloudmonitor.ai/contact-us/, if you do a View Source, you can see the following meta data: <meta name=”twitter:description” content=”Contact Us Contact For Premium Business ...
0
votes
2answers
1k views

Deleted page still shows and is showing posts archive

I have a weird issue. I deleted a page and permanently deleted in from the trash but I can still get to it. On the deleted page it shows the posts page ("Blog" page). I have cleared the permalinks, ...
0
votes
0answers
25 views

Google search is still showing one of our deleted pages, which isn't showing up in dashboard's pages [closed]

Google search can still find one of our deleted pages. It is out of date and we need to take it down, but the page is nowhere to be found on our WordPress "Pages" menu. The url for this ...
0
votes
1answer
7k views

How to insert current user ID in a shortcode?

I have a shortcode from a plug-in called Pods that is used like [pods-form name="user" id="" fields="my_field, my_field_2, my_field_3"] Parameter name contains the name of the custom post type (...
3
votes
1answer
731 views

How do I approach removing menu items on the fly based on settings in my plugin?

I've started writing a plugin that allows the administrator to select specific pages and set them to be visible only to logged-in users; the plugin optionally applies the restriction to all child ...
1
vote
2answers
6k views

Updated Wordpress, now getting errors on site

I just recently updated my Wordpress, theme, and plugins, and am now getting these two errors on top of the homepage and pages page. Deprecated: wp_make_content_images_responsive is deprecated since ...
0
votes
0answers
8 views

Custom Fields - How to get the list of a specific active widget each time it rendered

I am trying to get a specific widget as a list in select input inside a meta box/custom fields. Explanation: I have created a meta box/custom fields in posts and pages. In which I have some input ...
0
votes
2answers
2k views

Show custom menu in category and its posts

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...
0
votes
1answer
979 views

Parent for a single (single.php)

Is it posible to get the parent ID of an single page.... I mean not a Page I mean an is_single()... page. I have a page witch contains some custom posts and when I click on one of these i came to the ...
0
votes
2answers
704 views

how to change the permalink to a specific location?

I have this slider on my front page. Right now when I click on an image it goes directly to the permalink and the post. How do I make all the slides go to one specific page? this is the loop for the ...
0
votes
0answers
17 views

Give custom page template a custom post ID

I created several custom pages in WordPress. One displays real estate listings. When you click on the listing it opens into another custom page I created. The problem is no matter which listing I ...
1
vote
2answers
4k views

How to "group" (categorize) the Pages together?

I have a lot of Pages which can be (need to be) grouped under a number of different Categories. ** Then the more important thing is, i need to control those pages (of different groups) programatically ...
1
vote
2answers
832 views

How to retrieve attachments from child pages of a specific Page?

How would I retrieve attachments from all subpages of a specific Page ID? Example: SPECIFIC PAGE Child (with attachments) Child (with attachments) Child (with attachments) I'm currently ...
0
votes
0answers
20 views

Bookmarking custom template pages which all have the same page ID

I have a custom page I created in WP which displays different real estate listings. Since it is a custom page the page ID is always the same. For example both of these URLs display different ...
41
votes
8answers
59k views

Sending the reset password link programatically

I have this manually created page: $user_login = sanitize_text_field( $_GET['user_login'] ); if ( username_exists( $user_login ) || email_exists($user_login) ) { ?> <!--Everything has been ...
0
votes
2answers
3k views

loading a php file to a specific page id

I'm trying to assign a php file to a specfic page? I have modals stored in different files and want have them load in when their assigned page is called. These pages are using the same theme, "...
0
votes
0answers
23 views

Can i use 2 page content-forum & content-forum-slug on bbpress?

I currently have a bbpress folder in my theme which contains all the theme of my forum. I have a page archive-forum.php which displays the forum page and a page content-single-forum.php which displays ...
0
votes
3answers
1k views

Wordpress page content outside Wordpress

I have a strange request. Is it possible to load the content of a Wordpress page in a normal PHP page? For example I want to display the content of the wordpress page 4 in a PHP page that is on the ...
0
votes
1answer
24 views

How to transform a custom made static HTML website to a WordPress website [closed]

I have an assignment from a customer to transform a custom made static HTML website to a WordPress website. First I thought "That's easy, just make a theme & import it all there & link it ...
0
votes
1answer
57 views

Are custom shapes of blocks available in WordPress? [closed]

I am using WordPress editor to make a page on my website. On the main page of my website, I want to keep pointers to at least ten other pages. I can see only some types of blocks in word press such as ...
0
votes
2answers
1k views

ACF: Echo page title when checkbox is checked

How can I show the title when a checkbox is checked. I use Advanced custom fields my field name is nav This is what i currently have. <?php if(get_field('nav')) { ?> <li> <a href=...
0
votes
0answers
14 views

Revert a Draft page to its original version

I recently went into my Main Page to make some changes, and my inexperience with the new block mode caused me to mess it up. However, I had saved the messed-up version as a Draft. Now, I want to get ...
1
vote
2answers
4k 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" ...
0
votes
1answer
26 views

How to use custom page for all posts with custom url, call another directory?

I have tried many different codes: <a href="<?php echo get_template_part( 'template/test/post' ); ?>"> Test 1</a> <a href="<?php echo ...
0
votes
2answers
2k views

Automatically search and replace link in content (pages/posts)?

The users of my site mainly share documents by inserting links into content (pages/posts) using the built in editor. These files include everything from pdfs to word documents. The users currently get/...
0
votes
1answer
1k views

WP won't save changes in post (any)

My WordPress does not save any changes in any post. I can create a new page or post and that one will be saved as 'Draft' but there is no content inside. When I make changes, press UPDATE it shows no ...
0
votes
2answers
27 views

How to redirect to category page if page does not exists?

In my current case, the system try to find a page and show 404 if it does not find. I would like with the same url... like https://example.com/{{slug}}/ Check if a page with this slug exists : Yes - ...
0
votes
1answer
563 views

Category URL to use same string as Post URL Permalink

I want to set up my site to have the following permalink structure: /learn/%category%/%postname% So in the permalinks section of wordpress, I set that as the custom structure. The issue is, when I ...
5
votes
5answers
7k views

Wordpress page edit does not save selected template

The feature did work in the past however pages now seem to default to 'Default Template'. I can see my available page templates in the drop-down on the Page edit page, however after saving the admin ...
0
votes
1answer
552 views

How to add a regular page under a custom post type?

I'm building a WordPress website that should have the following structure: Project A (project post type) About (regular page) Location (regular page) Partners (regular page) News (regular page) ...
0
votes
1answer
1k views

Page with the same name of a category

I've a category, let's say "testcat". I want to create some pages which the final url should be "http://example.com/testcat/pagename". To do this, I should create a page named "testcat" and then a ...
1
vote
1answer
6k views

The entire content of my Wordpress page has disappeared

I have a blog installed on my site using Wordpress. Last week I upgraded Wordpress from 2.6 to 3.0.4 (I had to do this manually). All went well, or so I thought, but I have just noticed that the ...
0
votes
0answers
15 views

wp_instert_post() and Gutenberg update error

I have made page with function wp_insert_post(), $page_id = wp_insert_post(array( 'post_title' => 'Name', 'post_status' => 'publish', 'post_author'...
5
votes
1answer
6k views

How to show the same content on multiple URLs?

A client currently has a website set up with three distinct sub-sites (run off a single WordPress install), each with a slightly different theme (same layout, different colour scheme. I currently ...
0
votes
1answer
22 views

Page category filter in admin dashboard

I created page category by this way ( or custom taxonomy with the help of ACF Extended Plugin). It works. Now I can add pages into category. My problem is that, I can not filter pages by category in ...
0
votes
2answers
8k views

Proper way to replace the_content only for pages created by custom plugin

I'm creating a plugin that needs to replace the_content of only two specific pages that it created upon activation. Here is my code: add_filter('the_content', 'emd_content'); function ...
0
votes
1answer
1k views

Add the same content to multiple pages

I have a website with over 500 pages. Dont ask why but none of these pages have any content in them. I have created a page layout to be added as a single wp bakery block and want to add this same ...
2
votes
1answer
4k views

Password Protected Page Not Displaying Content After Entering Password

For reason unbeknownst to me (I'm not the original developer). This custom WordPress site doesn't show the password protected login form..."This content is password protected! To view it please enter ...
0
votes
0answers
9 views

Link to blog home page in category list

This is a follow up to Exclude a category from the filed under list only on some templates I'm curious now how I would insert a link in the list of categories to add a link to the blog home page? In ...
1
vote
0answers
18 views

Text Editor Tags

Hello Wordpress StackExchange, I'm embarrassed by what is probably a rookie question, but here it is: I migrated and took over a website that a friend hired another developer to create, but I don't ...
1
vote
0answers
30 views

Make parts of your wordpress website completely built with data from external APIs?

I have experience with building frontends with react.js that use external data from RESTful APIs (from a headless CMS). Now I have someone ask me if I could build a wordpress website that has several ...
0
votes
3answers
579 views

how to print the content of pages inside the front end area

i'm new to wordpress and i'm trying to create a website. i need display the content of the pages when corresponding menu items are clicked. my page.php contain <?php while ( have_posts() ) : ...
0
votes
1answer
39 views

What is the text that appears beside the page titles in the list of pages in the WP admin?

Refer to the image below: What is the term used to describe the text that appears right after the page titles on the "All Pages" webpage of the WP admin? e.g. In the image above: an em dash ...
0
votes
2answers
1k 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.

1
2 3 4 5
49