首页 > 其他分享 >wordpress产品排序

wordpress产品排序

时间:2023-04-28 10:45:01浏览次数:37  
标签:set menu posts update wordpress 产品 wp post 排序

update wp_posts set menu_order=100 where post_type='product';
update wp_posts set menu_order=5 where post_name='r-m-williams-craftsman-boot_792c678e';
update wp_posts set menu_order=10 where post_name='r-m-williams-rod-polo_ee292998';
update wp_posts set menu_order=15 where post_name='r-m-williams-3-piece-solid-hide-belt';
update wp_posts set menu_order=20 where post_name='r-m-williams-mulyungarie-fleece';
update wp_posts set menu_order=25 where post_name='r-m-williams-3-piece-solid-hide-belt_65cae4a4';
update wp_posts set menu_order=30 where post_name='r-m-williams-ramco-jean';
update wp_posts set menu_order=35 where post_name='r-m-williams-rod-polo_e7890444';
update wp_posts set menu_order=40 where post_name='r-m-williams-saddler-duffle-bag';
update wp_posts set menu_order=45 where post_name='r-m-williams-parson-t-shirt_c6692481';
update wp_posts set menu_order=50 where post_name='r-m-williams-akubra-cattleman-hat_94e4511c';
update wp_posts set menu_order=55 where post_name='r-m-williams-signature-long-sleeve-t-shirt';
update wp_posts set menu_order=60 where post_name='r-m-williams-comfort-craftsman-boot_17e56e86';

标签:set,menu,posts,update,wordpress,产品,wp,post,排序
From: https://www.cnblogs.com/elvis8020/p/17361240.html

相关文章

  • 产品原型20-20230427
           ......
  • 【二分查找】LeetCode 153. 寻找旋转排序数组中的最小值
    题目链接153.寻找旋转排序数组中的最小值思路首先分析一下旋转数组可能有的状态:左<中<右,此时最小值肯定在左边,应当收缩右边界左<中,中>右,此时最小值肯定在右半段,应当收缩左边界左>中,中<右,此时最小值肯定在左半段,应当收缩右边界分析这三种状态可以发现,中值小......
  • 【CPP】自定义排序--针对智能指针
    目录代码块代码块#include<iostream>#include<memory>#include<vector>#include<algorithm>usingnamespacestd;classBase{public:virtualvoidPrint(){std::cout<<"IamBase!\n";}};classDerived1:publi......
  • 手把手教你掌握冒泡排序思路
    完整代码:#include<stdio.h>bubble_sort(intarr[],intsz){inti=0;intj=0;for(i=0;i<sz-1;i++){for(j=0;j<sz-1-i;j++){if(arr[j]>arr[j+1]){inttmp=arr[j];arr[j]=arr[j+1];arr[j+1]=tmp;}}}}intmain(){intarr[10]=......
  • 1、开篇 - 产品管理系列文章
    笔者曾经做过产品经理,也给员工进行过产品经理培训,这个系列一直想写的,但是在写其它系列的文章,所以这个系列到今天总算开始了。      打造一个产品也是做一个项目的过程,就是说做产品也是属于项目管理的范畴,但是反过来项目就不仅仅是做一个产品了。其实产品经理也比较简单,就......
  • 火山引擎 DataTester 智能发布平台:智能化 A/B 实验,助力产品快速迭代
    更多技术交流、求职机会,欢迎关注字节跳动数据平台微信公众号,回复【1】进入官方交流群在互联网竞争炙热的红海时代,精益开发高效迭代越来越成为成为产品竞争的利器。产品迭代过程中,如何保障高效的功能迭代安全上线,如何快速实现不同人群的精细化运营,成为了产研人员的新挑战,为了帮......
  • 排序:剑指 Offer 45. 把数组排成最小的数
    题目描述:输入一个非负整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个。  提示:0<nums.length<=100说明:输出结果可能非常大,所以你需要返回一个字符串而不是整数拼接起来的数字可能会有前导0,最后结果不需要去掉前导0......
  • 隧道全幅表观产品开发日志(一)旧版软件的修改日志
    好久没写博客了,上一次写还是在上一家公司现在在的这家公司目前做的是隧道内的探伤项目,我现在主要的工作是做工控机,也就是控制各种硬件组织作业。目前的产品架构见https://github.com/LeventureQys/South_Gathering_Doc中多设备采集软件相关内容,这篇文章仅是记录旧版软件的修改......
  • 产品原型20-20230426
              ......
  • 部分排序算法总结
    1.冒泡排序冒泡排序是一种简单的排序算法。它重复地走访过要排序的数列,一次比较两个元素,如果它们的顺序错误就把它们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。这个算法的名字由来是因为越小的元素会经由交换慢慢“浮”到数列的顶端......