Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 736

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

2 votes

Disable Attachment Pages Completely

Changes are possible via CLI: wp option set wp_attachment_pages_enabled 0|1 by visiting /wp-admin/options.php through a small plugin When this option is set to 0: attachment pages no longer appear in … URLs redirect to their original files for logged in users sitemaps/REST API endpoints etc use the original uploads URL More details at https://make.wordpress.org/core/2023/10/16/changes-to-attachment-pages
jshlke's user avatar
  • 103
1 vote

No full page reload when navigating from page A to page B: is this possible with Wordpress?

This isn't something WordPress provides at the moment, "PJAX" is a general term and technology that has lots of implementations and tradeoffs, similar to how there is no one way to do your CSS. There …
Tom J Nowell's user avatar
  • 60.6k
2 votes
Accepted

Why am I getting a different filename? And how does WordPress load singular.php for both Pag...

This is because you did not put singular.php in the URL, and if you did it wouldn't make any sense. Remember, WordPress loads the template, not the other way round, your mental model of how this works …
Tom J Nowell's user avatar
  • 60.6k
0 votes

Cover block always has margin

Use the cover block instead, the group block isn't necessary, and will have padding if it's given a background colour.
Tom J Nowell's user avatar
  • 60.6k
1 vote
Accepted

How do I attach a page to a category similar to how we attach media to a post?

No, media is attached to posts/pages using the post_parent column. This works because media is actually a post of type attachment in the database. …
Tom J Nowell's user avatar
  • 60.6k
1 vote

load common thank you template with different content for different pages

Create 25 child pages in the admin area and set them to use your template, then update the content for each page to match its parent page …
Tom J Nowell's user avatar
  • 60.6k
0 votes
Accepted

Dash after page title

You can't edit them, and they're not notes stored on a post If you set a page in settings as the front page, Front page will be shown so it's easier to identify that page The same is true if you choo …
Tom J Nowell's user avatar
  • 60.6k
0 votes

Plugin frontend page design irrespective of the theme used

I don't know which CSS styles/classes can be used. You can't know this, not without knowing which plugins and themes there are installed. Prefix your classes so they're unique and it becomes a non-i …
Tom J Nowell's user avatar
  • 60.6k
0 votes

Run plugins only on certain pages

I want to load content from another table into wp_posts and then show it as a normal page. What solution do you recommend. If that's your goal, then use shortcodes! For example: // PHP code add …
Tom J Nowell's user avatar
  • 60.6k
0 votes

How to change default home link title?

For some reason this code has been added: <h1 class="entry-title"><?php echo the_title(); ?></h1> the_title will display the current posts title, you should replace this with what you actually wan …
Tom J Nowell's user avatar
  • 60.6k
0 votes

Insert page content into another page with a changed variable

There's a fundamental problem in your code, and one that suggests you're doing something very dangerous in your code. Given this code: $id = 216; $p = get_page($id); echo apply_filters('the_content' …
Tom J Nowell's user avatar
  • 60.6k
2 votes

How do I publish only one page to production after making changes on staging?

No, not unless you push the change manually. More specifically, WordPress has no concept of production/preprod/etc or of pushing/pulling. These features are always implemented by hosts or custom soft …
Tom J Nowell's user avatar
  • 60.6k
1 vote

Parent page shows no child content

I just installed a fresh copy of Wordpress and tried to create one parent page Pages are just pages, there's nothing special about parent pages, and it's not a term normally used but the page … In WordPress people don't think of pages as parents, but they think of pages as children/sub-pages. …
Tom J Nowell's user avatar
  • 60.6k
2 votes

Wordpress pages creation work distribution & then combining - Localhost XAMPP

(since all start from the same duplicator backup, their pages will have identical ids) No, the page IDs would get recreated with new values on import Will there be conflict arising to page data connected …
Tom J Nowell's user avatar
  • 60.6k
1 vote

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

Once a slug is used by a page, it cannot be used by other pages. … I'm trying to add a sisterhood endpoint to my pages, so that I can display a different template. How do I add the endpoint then load a different template?" …
Tom J Nowell's user avatar
  • 60.6k

15 30 50 per page