Copywriter, webmaster, product manager, architect, independent developer.
WordPress Plugin AI SEO AI SEO: Automate and batch generate search engine-friendly articles. December 2023 […]
Google's multi-modal large language model was recently released. Google Gemini official website Google Gemini is divided into three versions […]
On November 6, 2023, WordPress v6.4.2 was released. Two days later, I migrated my blog to another server. Later […]
In the past two days, I have migrated my blog and upgraded it to the latest wordpress 6.4.2. Many problems arose in the process and were solved one by one.
Record it.
Uninstalled several plug-ins and uninstalled the theme I developed: themoon. That solved the problem.
The new server is nginx. Need to be added to the configuration:
location / { try_files $uri $uri/ /index.php?$args; }
Without enabling this function, WordPress cannot install and update plugins.
Tip: "Please wait one minute..."
In fact, that's how it's always been.
All you need to do is log in to the server via FTP, find the .maintenance file in the root directory, delete it, and that's it.
With the tide of going overseas, Vue and Nuxt, which are widely used in China, often face internationalization problems. If it is wordpress, it is simple, install […]
AIGC refers to AI-generated content, which involves artificial intelligence generating text, pictures, videos, etc. based on prompts. Originated in 2022, the large language model is its foundation, interacting with AI agents through prompt words, context and AI. AIGC has begun to change the content industry and accelerate production efficiency. It is currently used in many directions such as chat robots and content generation, and has given rise to an industrial ecosystem with large model capabilities as its core.
I have always used
global $post; $id=$post->ID;
I just found out today that there is a problem.
If you add a shortcode to the page, and the shortcode outputs a list (such as a list of articles in a certain category), then this method cannot get the page ID.
That is to say, if there is a loop in the page, then the above method cannot obtain the page ID.
List several methods to obtain the page ID:
1.global
Affected by circulation.
global $post; $id=$post->ID;
2,get_the_ID()
Affected by circulation.
$postid = get_the_ID(); echo $postid;
3.get_queried_object_id()
Not affected by circulation. recommend.
$current_id = get_queried_object_id(); echo $current_id;
4.get_queried_object()
Not affected by circulation.
$object = get_queried_object(); $id = $object -> ID; echo $id;
Currently, in the AIGC area, there are not many Generative AI applications for video generation. The best one should be considered runway, but runway […]
1. The overall situation of air tickets 1. Business ecology Since the great development of the Internet and OTA, the air ticket business has gradually formed two business forms: platform and supply chain. […]
Today’s iteration of form engine:
Support multiple forms on one page;
Supports application in veiws engine, so that various actions can be added to the list rendered by veiws engine.
The view layer and control layer of the form engine are separated.
Add a field for a drop-down selection button.
Since the form engine and views engine were separated from the low-code platform and some reconstruction was done, this iteration has completely made their capabilities beyond the previous version.