Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

id

Get previously visited page ID

August 4, 2022August 3, 2022 by Magenaut

I would like to get the ID (or permalink) of the page the visitor visited just before visiting the current page – in other words the ID of the last page in the browser history.

Categories Q&A, Wordpress Tags id, previous Leave a comment

Are post ID’s reliable?

August 3, 2022August 2, 2022 by Magenaut

I understand that post ID’s are unique, but are they reliable as persistent data ID’s?

Categories Q&A, Wordpress Tags id, posts Leave a comment

$post->ID displays wrong ID

August 3, 2022August 2, 2022 by Magenaut

This one is pretty weird.

Categories Q&A, Wordpress Tags id, posts Leave a comment

get all page IDs from wp_list_pages

August 2, 2022August 1, 2022 by Magenaut

I am looking for a way to output all page IDs from the following menu:

Categories Q&A, Wordpress Tags id, wp-list-pages Leave a comment

Get page ID of page that is set as the posts page

August 2, 2022August 1, 2022 by Magenaut

In WordPress settings you can set a page as the Posts Page. This can be found:

Categories Q&A, Wordpress Tags id, options, posts Leave a comment

get all posts ID from a category

August 1, 2022July 31, 2022 by Magenaut

Problem: I need to get an array of ID’s of posts from a given category If the category have any posts. This is to be used on a plugin options page.

Categories Q&A, Wordpress Tags get-posts, id, posts Leave a comment

How do I get the current edit page ID in the admin?

August 1, 2022July 31, 2022 by Magenaut

Most solutions I found are for front-end use. This is for a plugin, so the all activity is in the back-end.

Categories Q&A, Wordpress Tags admin, functions, id Leave a comment
Newer posts
← Previous Page1 Page2
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress