id
stringlengths
40
40
text
stringlengths
29
2.03k
original_text
stringlengths
3
154k
subdomain
stringclasses
20 values
metadata
dict
emb
listlengths
1.02k
1.02k
08f40ccbbd3174300c2bd896573d2ee2d02c7828
Wordpress Stackexchange Q: Translating child theme? Parent theme directory: blablator, child theme directory: blablator-child Network sites; two different child and parent themes. Both .po and .mo are in child directories' /languages folders. Added to both child functions: function my_child_theme_locale() { load_child_theme_textdomain( 'blablator', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'my_child_theme_locale' ); Changed in sites, and in network language to Bosnian. .po and .mo are set to bs_BA. Not working! Why? Update: I don't want to override (http://www.dictionary.com/browse/override) anything. My translation exist only in childs theme "language" folder. I don't mix any strings, or I want strings from childs to work with parent. I have no idea what "Translating child theme", has to do with "Override parent theme translation on child theme", except that I tried same function to acomplish different or similar task. It is as if someone asked "What is WordPress", and any other question about WordPress would be duplicate, because it is about WordPress. Delete question if its duplicate, I'm off this community anyway.
Q: Translating child theme? Parent theme directory: blablator, child theme directory: blablator-child Network sites; two different child and parent themes. Both .po and .mo are in child directories' /languages folders. Added to both child functions: function my_child_theme_locale() { load_child_theme_textdomain( 'blablator', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'my_child_theme_locale' ); Changed in sites, and in network language to Bosnian. .po and .mo are set to bs_BA. Not working! Why? Update: I don't want to override (http://www.dictionary.com/browse/override) anything. My translation exist only in childs theme "language" folder. I don't mix any strings, or I want strings from childs to work with parent. I have no idea what "Translating child theme", has to do with "Override parent theme translation on child theme", except that I tried same function to acomplish different or similar task. It is as if someone asked "What is WordPress", and any other question about WordPress would be duplicate, because it is about WordPress. Delete question if its duplicate, I'm off this community anyway.
wordpress
{ "language": "en", "length": 164, "provenance": "stackexchange_00019.jsonl.gz:473382", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257248" }
[ -0.0214996337890625, -0.021270751953125, 0.00583648681640625, 0.00974273681640625, -0.021636962890625, -0.00820159912109375, 0.01044464111328125, -0.03009033203125, 0.00774383544921875, 0.044830322265625, 0.0048675537109375, -0.015228271484375, -0.00506591796875, -0.0210723876953125, -0.0428466796875, -0.019775390625, 0.0163421630859375, -0.0291900634765625, 0.011260986328125, -0.01168060302734375, -0.0347900390625, 0.0093994140625, 0.034942626953125, -0.03704833984375, 0.056182861328125, -0.0697021484375, 0.04248046875, -0.0185546875, -0.0004200935363769531, -0.032073974609375, 0.0286712646484375, 0.01534271240234375, 0.017974853515625, 0.00925445556640625, -0.0270538330078125, -0.09344482421875, -0.009735107421875, -0.0106964111328125, -0.048126220703125, 0.033599853515625, 0.0119171142578125, -0.009185791015625, 0.018402099609375, 0.0712890625, -0.0251617431640625, -0.0670166015625, 0.054046630859375, -0.01061248779296875, -0.01457977294921875, 0.0018596649169921875, 0.039337158203125, -0.02587890625, 0.057220458984375, 0.003353118896484375, -0.0195465087890625, 0.0009760856628417969, -0.04522705078125, 0.0469970703125, 0.03179931640625, 0.0140380859375, -0.0055999755859375, -0.0045166015625, 0.0064697265625, -0.01453399658203125, 0.0020809173583984375, -0.0031681060791015625, -0.047698974609375, 0.01177215576171875, -0.047576904296875, 0.007305145263671875, 0.03155517578125, -0.05010986328125, 0.0299530029296875, -0.0694580078125, 0.0172271728515625, 0.033599853515625, -0.0557861328125, -0.0206298828125, 0.033416748046875, -0.0231170654296875, 0.0030517578125, -0.0088348388671875, -0.05731201171875, -0.0078125, -0.005779266357421875, 0.00803375244140625, -0.009033203125, -0.0185546875, -0.0789794921875, -0.03570556640625, -0.041259765625, -0.0311126708984375, -0.07354736328125, -0.003116607666015625, -0.0034332275390625, -0.000812530517578125, 0.0275421142578125, 0.06622314453125, -0.0312347412109375, -0.0124664306640625, -0.02056884765625, -0.0188446044921875, -0.008880615234375, -0.040252685546875, 0.0247344970703125, -0.003265380859375, -0.015777587890625, -0.012054443359375, 0.054901123046875, 0.04083251953125, -0.0027713775634765625, 0.0965576171875, -0.0176849365234375, -0.0262451171875, -0.02496337890625, 0.03936767578125, -0.00891876220703125, -0.0088043212890625, 0.0200653076171875, -0.00408172607421875, 0.010955810546875, -0.00705718994140625, 0.038238525390625, -0.01120758056640625, 0.02532958984375, -0.0040435791015625, -0.0650634765625, 0.0033893585205078125, 0.02166748046875, 0.0618896484375, -0.0189208984375, -0.0335693359375, 0.0034694671630859375, 0.01110076904296875, -0.015960693359375, -0.023468017578125, 0.027587890625, -0.0179290771484375, 0.01384735107421875, -0.030364990234375, 0.0650634765625, -0.0100555419921875, -0.035247802734375, 0.0416259765625, -0.038299560546875, 0.0194854736328125, 0.00986480712890625, 0.0232391357421875, -0.0015916824340820312, -0.0439453125, -0.007656097412109375, -0.01016998291015625, 0.060211181640625, 0.0005393028259277344, -0.0258636474609375, -0.0377197265625, 0.041656494140625, -0.0447998046875, -0.03741455078125, -0.060302734375, -0.0239410400390625, -0.0200347900390625, 0.01030731201171875, 0.00563812255859375, -0.0288848876953125, 0.02899169921875, 0.020782470703125, -0.0049285888671875, 0.005031585693359375, -0.05145263671875, 0.01421356201171875, 0.007450103759765625, -0.04364013671875, -0.03192138671875, 0.01551055908203125, 0.00614166259765625, -0.0509033203125, 0.01641845703125, 0.03948974609375, 0.031402587890625, 0.01230621337890625, -0.034027099609375, 0.04833984375, 0.02490234375, -0.03558349609375, -0.044189453125, 0.0181427001953125, 0.0032596588134765625, 0.045135498046875, 0.0251617431640625, 0.017852783203125, -0.0223846435546875, -0.0275726318359375, 0.0457763671875, 0.0006494522094726562, -0.0252532958984375, 0.01959228515625, 0.025543212890625, 0.00542449951171875, -0.041412353515625, -0.035308837890625, -0.0195770263671875, 0.01885986328125, -0.0244293212890625, -0.0006403923034667969, -0.023101806640625, -0.01264190673828125, 0.042266845703125, 0.0195770263671875, 0.0126800537109375, 0.00022363662719726562, -0.01483917236328125, 0.0036334991455078125, -0.0494384765625, -0.041259765625, 0.007080078125, -0.018310546875, 0.054473876953125, 0.02618408203125, -0.0123443603515625, 0.05731201171875, -0.0125579833984375, 0.05853271484375, 0.016204833984375, 0.03411865234375, 0.017578125, -0.0238494873046875, 0.0084991455078125, 0.030487060546875, 0.0186614990234375, -0.01393890380859375, 0.0273284912109375, -0.0020732879638671875, 0.0151519775390625, -0.0287017822265625, -0.01050567626953125, -0.0082855224609375, -0.0426025390625, 0.003437042236328125, 0.048004150390625, 0.0241241455078125, 0.0199127197265625, -0.0196990966796875, 0.002544403076171875, 0.06109619140625, -0.032440185546875, -0.0125732421875, 0.0230560302734375, 0.021942138671875, 0.05755615234375, -0.019775390625, -0.0374755859375, -0.0137786865234375, -0.09326171875, -0.007190704345703125, 0.02362060546875, -0.024444580078125, -0.08416748046875, 0.04315185546875, -0.004711151123046875, 0.03143310546875, -0.006587982177734375, -0.05682373046875, 0.039886474609375, 0.01416015625, -0.0094451904296875, -0.01543426513671875, -0.032928466796875, -0.03912353515625, 0.012481689453125, 0.0263824462890625, -0.030120849609375, 0.024200439453125, 0.0196685791015625, -0.047210693359375, -0.01204681396484375, 0.01611328125, -0.0021991729736328125, -0.005611419677734375, -0.0179901123046875, 0.0196990966796875, 0.05975341796875, -0.04638671875, -0.022796630859375, 0.005901336669921875, -0.0069427490234375, -0.03985595703125, 0.038665771484375, -0.01512908935546875, 0.00641632080078125, 0.0220489501953125, 0.03369140625, -0.0187835693359375, 0.048309326171875, -0.05621337890625, 0.0018472671508789062, 0.08868408203125, -0.026123046875, 0.038116455078125, -0.03265380859375, 0.0198974609375, 0.0355224609375, -0.00998687744140625, -0.0100250244140625, -0.004558563232421875, -0.01995849609375, 0.007442474365234375, -0.01026153564453125, -0.0081787109375, -0.022064208984375, -0.03875732421875, 0.0016183853149414062, 0.006931304931640625, -0.0015115737915039062, -0.0176849365234375, -0.038818359375, -0.01157379150390625, -0.01242828369140625, -0.05780029296875, -0.0283355712890625, -0.0010738372802734375, -0.00943756103515625, 0.0016164779663085938, 0.025665283203125, -0.006053924560546875, -0.0272216796875, 0.020904541015625, 0.00299072265625, 0.0662841796875, -0.038299560546875, -0.0297393798828125, -0.03790283203125, -0.07318115234375, -0.059234619140625, 0.016845703125, -0.005535125732421875, 0.01142120361328125, -0.051544189453125, -0.00238800048828125, -0.0153656005859375, 0.0430908203125, 0.07989501953125, 0.011962890625, 0.0007481575012207031, -0.016845703125, -0.0015459060668945312, 0.0310516357421875, 0.004245758056640625, -0.050811767578125, 0.0178985595703125, -0.02044677734375, -0.0195159912109375, 0.006038665771484375, 0.01274871826171875, 0.0017900466918945312, -0.05657958984375, -0.0045013427734375, 0.00215911865234375, -0.043426513671875, -0.048126220703125, -0.080810546875, 0.004627227783203125, -0.05377197265625, 0.09613037109375, 0.0283966064453125, -0.00818634033203125, 0.023193359375, 0.06292724609375, 0.0377197265625, 0.00562286376953125, 0.047607421875, -0.0173187255859375, 0.03271484375, 0.006687164306640625, 0.0169219970703125, -0.06494140625, 0.02874755859375, 0.006824493408203125, -0.01277923583984375, -0.0024547576904296875, 0.0386962890625, -0.00421142578125, 0.029205322265625, -0.032867431640625, -0.033447265625, 0.0270843505859375, -0.0200042724609375, 0.0290374755859375, -0.02392578125, -0.00946044921875, -0.01074981689453125, 0.05462646484375, -0.034881591796875, -0.01456451416015625, 0.009765625, 0.01702880859375, -0.032501220703125, -0.01229095458984375, -0.02484130859375, -0.0023059844970703125, -0.00943756103515625, 0.0231475830078125, 0.015045166015625, 0.01207733154296875, -0.038543701171875, 0.07342529296875, -0.00626373291015625, -0.012542724609375, 0.03607177734375, 0.0298309326171875, -0.01454925537109375, 0.0132293701171875, -0.0239105224609375, -0.01114654541015625, -0.0190582275390625, 0.01203155517578125, -0.03302001953125, -0.0226898193359375, -0.042572021484375, 0.08026123046875, 0.048248291015625, -0.023681640625, 0.0209197998046875, 0.07366943359375, 0.0233154296875, 0.063232421875, -0.01409149169921875, -0.03155517578125, 0.0299224853515625, 0.006092071533203125, 0.01190185546875, 0.004486083984375, -0.0038051605224609375, 0.0189971923828125, -0.037139892578125, 0.0282135009765625, -0.0220184326171875, -0.00403594970703125, 0.02618408203125, -0.058685302734375, -0.027862548828125, 0.0035457611083984375, -0.04998779296875, 0.01221466064453125, -0.0143280029296875, -0.028076171875, -0.0020236968994140625, -0.06658935546875, 0.0180206298828125, 0.016387939453125, -0.040771484375, 0.0012674331665039062, 0.015228271484375, 0.0213623046875, -0.03369140625, -0.01546478271484375, -0.002040863037109375, 0.0207977294921875, 0.0161285400390625, 0.032135009765625, 0.0292205810546875, -0.012786865234375, 0.005893707275390625, 0.0271148681640625, -0.0260772705078125, 0.047760009765625, 0.02423095703125, 0.0026531219482421875, -0.040283203125, 0.0081329345703125, -0.0062255859375, -0.02496337890625, 0.0293426513671875, -0.0164031982421875, -0.004795074462890625, -0.0288848876953125, 0.0308074951171875, -0.0016183853149414062, -0.01001739501953125, -0.05029296875, -0.03509521484375, 0.017822265625, -0.00489044189453125, -0.032196044921875, -0.028717041015625, 0.0204315185546875, -0.0261688232421875, -0.0001125335693359375, 0.0059967041015625, 0.042999267578125, 0.04974365234375, 0.0177459716796875, 0.036224365234375, 0.0467529296875, -0.006816864013671875, -0.00970458984375, -0.0175628662109375, 0.071044921875, 0.005367279052734375, -0.00891876220703125, -0.0126495361328125, -0.01287078857421875, 0.00888824462890625, 0.0234222412109375, 0.033538818359375, -0.0243072509765625, -0.02337646484375, 0.0306854248046875, 0.0066986083984375, 0.03326416015625, 0.01500701904296875, 0.000059485435485839844, -0.004917144775390625, 0.0002582073211669922, -0.020355224609375, -0.00206756591796875, 0.0229034423828125, -0.033477783203125, 0.01715087890625, 0.01313018798828125, -0.0283203125, -0.023712158203125, 0.053375244140625, 0.02001953125, -0.03948974609375, 0.0328369140625, 0.01340484619140625, 0.0577392578125, -0.0082244873046875, 0.002532958984375, 0.0439453125, 0.0679931640625, -0.004184722900390625, -0.024566650390625, -0.0297393798828125, -0.05657958984375, -0.0184326171875, 0.0177459716796875, 0.0316162109375, -0.00974273681640625, 0.0021648406982421875, -0.01190185546875, -0.006198883056640625, 0.025543212890625, -0.016357421875, 0.0079345703125, -0.03509521484375, -0.0197906494140625, 0.0706787109375, -0.039520263671875, -0.00946044921875, -0.0159759521484375, -0.028076171875, 0.022491455078125, 0.0176849365234375, -0.0635986328125, -0.036865234375, 0.01009368896484375, -0.006900787353515625, 0.0124969482421875, -0.00980377197265625, 0.0004520416259765625, -0.005481719970703125, -0.013885498046875, -0.0217437744140625, -0.01081085205078125, 0.08135986328125, 0.012969970703125, -0.0477294921875, -0.01358795166015625, -0.07421875, -0.032867431640625, -0.063232421875, -0.0723876953125, -0.035736083984375, 0.0183868408203125, -0.0245819091796875, 0.038330078125, -0.028411865234375, -0.00897979736328125, -0.0266571044921875, 0.018646240234375, 0.00927734375, 0.0458984375, -0.05731201171875, 0.08697509765625, 0.01287078857421875, 0.0166168212890625, -0.008758544921875, 0.07867431640625, 0.04150390625, -0.00553131103515625, 0.0014390945434570312, -0.003757476806640625, -0.0232086181640625, 0.00405120849609375, -0.005054473876953125, -0.0145263671875, 0.031402587890625, -0.020721435546875, 0.0379638671875, -0.02105712890625, -0.00004881620407104492, -0.007122039794921875, 0.0081939697265625, -0.0255584716796875, 0.047515869140625, 0.0099334716796875, -0.06085205078125, 0.00507354736328125, 0.01131439208984375, 0.0196533203125, 0.0178985595703125, -0.05450439453125, 0.0178375244140625, 0.0728759765625, -0.037933349609375, 0.040283203125, 0.0266876220703125, 0.007411956787109375, 0.03973388671875, -0.00156402587890625, 0.04656982421875, 0.01812744140625, 0.01666259765625, 0.005023956298828125, -0.00664520263671875, 0.01129150390625, -0.0186767578125, 0.007511138916015625, -0.04046630859375, -0.01220703125, -0.015960693359375, 0.051788330078125, 0.052490234375, -0.035400390625, -0.03741455078125, 0.007366180419921875, -0.035980224609375, -0.0240478515625, 0.0184173583984375, 0.0122833251953125, 0.0109405517578125, -0.0098876953125, -0.017852783203125, -0.01531982421875, -0.0034008026123046875, -0.01012420654296875, -0.007297515869140625, -0.0115814208984375, -0.00537872314453125, 0.0035381317138671875, 0.01361846923828125, -0.038848876953125, 0.0162353515625, -0.0173187255859375, -0.030181884765625, -0.005214691162109375, 0.0007638931274414062, -0.018524169921875, -0.061065673828125, -0.00875091552734375, -0.0517578125, 0.0093231201171875, -0.017791748046875, 0.01213836669921875, -0.0185089111328125, 0.04998779296875, -0.048828125, 0.005023956298828125, 0.0230865478515625, -0.023834228515625, 0.031707763671875, -0.0049285888671875, -0.004405975341796875, 0.00428009033203125, -0.036407470703125, -0.0116729736328125, -0.0301361083984375, 0.006526947021484375, 0.005886077880859375, -0.03143310546875, -0.005443572998046875, 0.005558013916015625, -0.0146484375, 0.045074462890625, -0.032501220703125, -0.014984130859375, -0.002872467041015625, 0.0215301513671875, -0.0628662109375, -0.06060791015625, 0.005039215087890625, -0.06683349609375, -0.00859832763671875, -0.006809234619140625, -0.08551025390625, 0.1312255859375, -0.0074462890625, 0.0791015625, 0.0115966796875, 0.049468994140625, -0.045013427734375, 0.002063751220703125, -0.028106689453125, 0.024383544921875, 0.037322998046875, 0.005260467529296875, -0.045745849609375, -0.00848388671875, -0.01055145263671875, 0.059539794921875, 0.0103759765625, -0.0005307197570800781, 0.00458526611328125, 0.0029449462890625, 0.0335693359375, 0.01776123046875, -0.0178375244140625, 0.022613525390625, -0.01422882080078125, -0.0273895263671875, -0.032989501953125, -0.006977081298828125, 0.018707275390625, -0.0406494140625, -0.035400390625, 0.009735107421875, 0.01328277587890625, -0.01348114013671875, 0.0325927734375, 0.0364990234375, -0.057647705078125, 0.0274505615234375, 0.04254150390625, -0.0465087890625, 0.0254058837890625, -0.0384521484375, 0.011383056640625, -0.036712646484375, 0.01058197021484375, -0.012359619140625, 0.0298919677734375, 0.012481689453125, 0.00040030479431152344, -0.01216888427734375, 0.003681182861328125, 0.0038318634033203125, -0.038726806640625, -0.01629638671875, 0.0251617431640625, -0.022857666015625, -0.0127716064453125, 0.0311737060546875, 0.03826904296875, 0.0194244384765625, 0.032623291015625, 0.012542724609375, -0.007080078125, -0.0185394287109375, -0.0274200439453125, 0.01000213623046875, -0.0162200927734375, -0.0047760009765625, 0.01654052734375, -0.00042724609375, -0.0167083740234375, 0.017059326171875, 0.01458740234375, -0.0216522216796875, -0.0063018798828125, -0.0039215087890625, 0.01474761962890625, 0.05816650390625, 0.006011962890625, 0.01430511474609375, -0.0282135009765625, 0.0278472900390625, 0.00836181640625, 0.041107177734375, -0.025177001953125, 0.0819091796875, -0.0186920166015625, -0.0170440673828125, 0.0011758804321289062, 0.001270294189453125, -0.0008378028869628906, -0.02716064453125, -0.00476837158203125, -0.0105133056640625, 0.0164031982421875, 0.007167816162109375, -0.0018482208251953125, 0.00818634033203125, 0.041351318359375, 0.045440673828125, -0.039581298828125, -0.018646240234375, 0.037078857421875, -0.030242919921875, -0.00032019615173339844, -0.027496337890625, -0.0229339599609375, -0.01556396484375, -0.025848388671875, -0.012542724609375, 0.02734375, -0.003925323486328125, -0.0038299560546875, 0.04974365234375, -0.0014667510986328125, 0.01285552978515625, 0.0054779052734375, 0.03955078125, 0.0482177734375, 0.054473876953125, -0.0830078125, -0.0010461807250976562, -0.0159759521484375, -0.03131103515625, 0.019012451171875, 0.028961181640625, -0.025482177734375, 0.0247650146484375, 0.00827789306640625, -0.037689208984375, 0.01105499267578125, 0.0197296142578125, 0.002246856689453125, 0.005290985107421875, 0.0022830963134765625, -0.00665283203125, -0.00826263427734375, -0.0187835693359375, 0.0166778564453125, 0.04388427734375, 0.01617431640625, 0.045440673828125, -0.021087646484375, 0.01995849609375, -0.0295867919921875, 0.028411865234375, -0.0202789306640625, -0.01279449462890625, 0.02337646484375, 0.043182373046875, 0.0183868408203125, -0.02362060546875, -0.10400390625, 0.004302978515625, 0.03497314453125, -0.00382232666015625, 0.0078277587890625, 0.0246124267578125, 0.0188751220703125, -0.0174102783203125, 0.02349853515625, -0.015869140625, -0.04937744140625, -0.04022216796875, 0.0171051025390625, 0.01556396484375, 0.024078369140625, -0.0401611328125, 0.05950927734375, -0.003177642822265625, 0.0128326416015625, 0.04486083984375, -0.03411865234375, 0.004985809326171875, 0.0109405517578125, -0.01561737060546875, -0.059478759765625, 0.0166168212890625, -0.0167236328125, -0.0019044876098632812, 0.00446319580078125, 0.0867919921875, -0.003017425537109375, -0.00994110107421875, 0.00275421142578125, -0.0174713134765625, -0.0218505859375, -0.065673828125, -0.01458740234375, 0.0220794677734375, -0.0021266937255859375, 0.07269287109375, -0.01419830322265625, -0.0194091796875, -0.015838623046875, -0.00870513916015625, 0.0049591064453125, -0.00017654895782470703, -0.0335693359375, -0.0252227783203125, -0.00971221923828125, 0.03387451171875, 0.0009379386901855469, -0.0126953125, -0.005828857421875, -0.0230255126953125, 0.0081024169921875, -0.0003418922424316406, -0.0291595458984375, 0.0238037109375, 0.0022735595703125, -0.046844482421875, 0.00787353515625, -0.0325927734375, -0.0404052734375, -0.00485992431640625, 0.006927490234375, 0.0268402099609375, 0.01446533203125, -0.00281524658203125, 0.044525146484375, -0.01346588134765625, 0.0950927734375, -0.0163726806640625, -0.036285400390625, -0.01189422607421875, -0.01200103759765625, -0.0235443115234375, -0.05291748046875, 0.037841796875, -0.1151123046875, -0.022674560546875, -0.0230865478515625, 0.0090484619140625, 0.006046295166015625, -0.04400634765625, -0.079833984375, 0.05810546875, -0.0207672119140625, -0.035400390625, -0.0157318115234375, -0.0174102783203125, -0.024810791015625, 0.0428466796875, -0.005161285400390625, 0.0003757476806640625, -0.0015974044799804688, 0.030120849609375, 0.00817108154296875, 0.032958984375, -0.00498199462890625, 0.0175018310546875, -0.004077911376953125, 0.0200347900390625, 0.0311737060546875, -0.00473785400390625, -0.00815582275390625, 0.003475189208984375, 0.01073455810546875, 0.0301666259765625, -0.031524658203125, 0.00328826904296875, -0.000762939453125, 0.0181427001953125, -0.0000635981559753418, -0.025054931640625, -0.01224517822265625, -0.00458526611328125, 0.03778076171875, 0.022674560546875, -0.005954742431640625, -0.0004642009735107422, -0.00262451171875, -0.007198333740234375, -0.0430908203125, -0.013763427734375, 0.0301513671875, -0.08416748046875, -0.01776123046875, 0.05157470703125, 0.003131866455078125, 0.0011730194091796875, 0.01363372802734375, -0.0179443359375, -0.016021728515625, -0.0010395050048828125, -0.0241546630859375, -0.02825927734375, -0.07476806640625, 0.070556640625, -0.02294921875, 0.0193023681640625, 0.0114288330078125, 0.041717529296875, 0.04132080078125, 0.050933837890625, -0.00921630859375, 0.037139892578125, 0.01904296875, 0.01995849609375, 0.03192138671875, 0.0183258056640625, 0.01934814453125, 0.00992584228515625, 0.00737762451171875, 0.019683837890625, -0.00743865966796875, 0.018035888671875, -0.0223846435546875, 0.052581787109375, -0.00838470458984375, 0.054931640625, 0.0063018798828125, 0.02752685546875, -0.0257415771484375, 0.0266265869140625, -0.011566162109375, -0.0025920867919921875, -0.00809478759765625, 0.003185272216796875, 0.01157379150390625, -0.038238525390625, 0.022430419921875, -0.03582763671875, 0.0015344619750976562, -0.020538330078125, -0.01654052734375, 0.02655029296875 ]
46793b0ec73f3dcde0c1c262aa36280b2e5855a6
Wordpress Stackexchange Q: Escaping and sanitizing SVGs in metabox textarea I want to include inline SVGs in a metabox textarea. That's easy. What's killing me is how do I sanitize the textarea before saving the postmeta, and how do I escape it? Halp? Thanks! A: Here is a PHP library that was created for sanitizing SVG files that may be worth looking into. https://github.com/darylldoyle/svg-sanitizer Here is an example of how this could be used: // Now do what you want with your clean SVG/XML data function your_save_meta( $post_id, $post, $update ) { // - Update the post's metadata. if ( isset( $_POST['svg_meta'] ) ) { // Load the sanitizer. (This path will need to be updated) use enshrined\svgSanitize\Sanitizer; // Create a new sanitizer instance $sanitizer = new Sanitizer(); // Pass your meta data to the sanitizer and get it back clean $cleanSVG = $sanitizer->sanitize($_POST['svg_meta']); // Update your post meta update_post_meta( $post_id, 'svg_meta_name', $cleanSVG ); } } add_action( 'save_post', 'your_save_meta', 10, 3 );
Q: Escaping and sanitizing SVGs in metabox textarea I want to include inline SVGs in a metabox textarea. That's easy. What's killing me is how do I sanitize the textarea before saving the postmeta, and how do I escape it? Halp? Thanks! A: Here is a PHP library that was created for sanitizing SVG files that may be worth looking into. https://github.com/darylldoyle/svg-sanitizer Here is an example of how this could be used: // Now do what you want with your clean SVG/XML data function your_save_meta( $post_id, $post, $update ) { // - Update the post's metadata. if ( isset( $_POST['svg_meta'] ) ) { // Load the sanitizer. (This path will need to be updated) use enshrined\svgSanitize\Sanitizer; // Create a new sanitizer instance $sanitizer = new Sanitizer(); // Pass your meta data to the sanitizer and get it back clean $cleanSVG = $sanitizer->sanitize($_POST['svg_meta']); // Update your post meta update_post_meta( $post_id, 'svg_meta_name', $cleanSVG ); } } add_action( 'save_post', 'your_save_meta', 10, 3 ); A: Safe SVG (mentioned by @Marc) is by far the best WP plugin I've seen. It's important to note, though, that it's likely there are ways to bypass it. SVGs are insecure by design; we all think of them as images, but in reality they're mini XML applications. DOMPurify is the only reliably secure solution that I'm aware of. That's because it runs in JavaScript, so it can analyze objects after they've been parsed by the engine. It's impossible for PHP to do that. You can read more about it in #24251-core. For most sites, though, Safe SVG is probably a good compromise. For a mission-critical/enterprise/ecommerce site, though, I'd recommend running it through DOMPurify (although it wont be easy). * *Hook into WP's upload process, probably via the pre_move_uploaded_file filter provided by _wp_handle_upload(). *Get the value of the uploaded SVG from $file as a string, and make an HTTPS request to a Node.js API. *Setup the Node app to accept the string, run it through DOMPurify, and return the result. *The PHP plugin can then save the sanitized result. To be practical, though, it's probably better to just avoid SVGs in situations like this, and use an actual image format instead.
wordpress
{ "language": "en", "length": 361, "provenance": "stackexchange_00019.jsonl.gz:473386", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257254" }
[ 0.08544921875, 0.02392578125, -0.026031494140625, -0.072265625, 0.052337646484375, -0.0211029052734375, 0.0229949951171875, -0.022247314453125, -0.0028076171875, 0.0645751953125, -0.0272674560546875, 0.007472991943359375, 0.0011987686157226562, 0.01273345947265625, -0.06573486328125, -0.0113677978515625, 0.042999267578125, -0.005107879638671875, 0.0194091796875, -0.0078125, -0.00832366943359375, 0.01262664794921875, 0.02093505859375, 0.045501708984375, -0.0265960693359375, -0.053955078125, 0.12249755859375, -0.0303192138671875, -0.0184326171875, -0.050750732421875, 0.0017795562744140625, 0.0301361083984375, 0.01113128662109375, 0.043731689453125, -0.047698974609375, 0.073974609375, 0.0158843994140625, 0.03216552734375, 0.032196044921875, 0.0019292831420898438, 0.0338134765625, -0.024627685546875, 0.052703857421875, 0.042449951171875, 0.011322021484375, -0.0222320556640625, 0.043701171875, -0.0457763671875, 0.036651611328125, 0.01401519775390625, 0.003021240234375, 0.006317138671875, 0.0089111328125, 0.01508331298828125, -0.01445770263671875, -0.003917694091796875, -0.032745361328125, 0.0007758140563964844, 0.0101470947265625, 0.06634521484375, 0.019927978515625, 0.0135955810546875, -0.0285491943359375, -0.055419921875, -0.0015821456909179688, -0.01328277587890625, 0.00493621826171875, 0.0011920928955078125, -0.06475830078125, 0.00482940673828125, 0.05487060546875, -0.038421630859375, 0.032867431640625, -0.031768798828125, 0.049346923828125, -0.000911712646484375, -0.037384033203125, 0.0011091232299804688, 0.033050537109375, 0.004604339599609375, 0.0004944801330566406, -0.020660400390625, -0.033233642578125, -0.005359649658203125, 0.005298614501953125, 0.0064697265625, -0.00867462158203125, -0.00803375244140625, -0.00489044189453125, -0.02777099609375, -0.0032253265380859375, -0.0745849609375, -0.0043182373046875, 0.0026378631591796875, 0.01224517822265625, -0.06927490234375, -0.00998687744140625, -0.01342010498046875, -0.0323486328125, 0.017425537109375, 0.040435791015625, -0.055389404296875, 0.0732421875, -0.037139892578125, -0.004520416259765625, 0.034454345703125, -0.02789306640625, -0.0112152099609375, 0.01515960693359375, 0.0440673828125, 0.0021724700927734375, -0.06683349609375, 0.01207733154296875, -0.036102294921875, -0.0297698974609375, 0.014373779296875, 0.0016984939575195312, -0.01183319091796875, 0.011688232421875, -0.03912353515625, 0.0277862548828125, 0.0255889892578125, -0.018310546875, -0.0115814208984375, 0.01324462890625, -0.01456451416015625, -0.0283050537109375, 0.0090179443359375, 0.0253753662109375, 0.032501220703125, -0.043365478515625, 0.0101318359375, 0.045867919921875, 0.0184173583984375, 0.00464630126953125, -0.033050537109375, 0.01120758056640625, -0.0002225637435913086, -0.004909515380859375, 0.0171661376953125, -0.010101318359375, -0.04742431640625, -0.00832366943359375, 0.00496673583984375, 0.00563812255859375, 0.0312347412109375, 0.003025054931640625, -0.0143585205078125, 0.008331298828125, -0.024139404296875, 0.004398345947265625, -0.059051513671875, 0.034698486328125, -0.0034503936767578125, -0.035736083984375, -0.063232421875, -0.0012302398681640625, -0.0556640625, 0.02130126953125, -0.06341552734375, -0.0214385986328125, 0.01026153564453125, 0.04132080078125, 0.0216522216796875, 0.033294677734375, -0.0272369384765625, 0.0181427001953125, 0.0106201171875, 0.024566650390625, 0.060882568359375, 0.0301971435546875, 0.019287109375, -0.01139068603515625, 0.0062255859375, -0.01166534423828125, -0.039947509765625, -0.0100555419921875, 0.013885498046875, 0.023956298828125, 0.02532958984375, 0.005641937255859375, -0.038360595703125, 0.04974365234375, -0.004459381103515625, -0.00835418701171875, -0.0064697265625, -0.006404876708984375, 0.0048828125, 0.0283966064453125, 0.00913238525390625, 0.01480865478515625, -0.0174713134765625, 0.002147674560546875, -0.007465362548828125, 0.0236358642578125, -0.037078857421875, 0.0304718017578125, -0.03265380859375, 0.0173492431640625, -0.002750396728515625, 0.0011653900146484375, -0.029571533203125, 0.00688934326171875, -0.0234375, -0.07513427734375, -0.0187225341796875, -0.034698486328125, 0.0291900634765625, -0.044586181640625, 0.04010009765625, 0.038726806640625, -0.030731201171875, -0.032470703125, 0.0545654296875, 0.0360107421875, -0.02294921875, 0.00173187255859375, 0.000926971435546875, 0.00684356689453125, -0.0022029876708984375, 0.046234130859375, -0.027130126953125, 0.020782470703125, 0.003131866455078125, 0.01441192626953125, 0.002685546875, -0.01546478271484375, -0.0015697479248046875, 0.00809478759765625, -0.0017309188842773438, 0.035491943359375, 0.0234832763671875, 0.062042236328125, 0.0240936279296875, -0.024688720703125, -0.004001617431640625, -0.0141754150390625, -0.07586669921875, -0.0272674560546875, 0.06622314453125, 0.0262298583984375, 0.034576416015625, -0.00629425048828125, 0.0124359130859375, 0.0292816162109375, -0.017730712890625, 0.0240936279296875, -0.00797271728515625, -0.03466796875, -0.0085296630859375, -0.0165557861328125, -0.0128631591796875, 0.028594970703125, -0.083251953125, -0.0121917724609375, 0.027191162109375, -0.0190582275390625, -0.032440185546875, -0.0019893646240234375, 0.003910064697265625, 0.01248931884765625, 0.0189666748046875, -0.015411376953125, -0.0025959014892578125, 0.035552978515625, -0.0036678314208984375, 0.032073974609375, 0.02984619140625, -0.0179443359375, -0.005168914794921875, 0.01739501953125, 0.01552581787109375, 0.0018367767333984375, 0.0195465087890625, 0.024810791015625, 0.0176239013671875, -0.049285888671875, -0.0217437744140625, 0.036041259765625, 0.028472900390625, -0.00759124755859375, -0.0174407958984375, 0.036346435546875, 0.004383087158203125, 0.003765106201171875, -0.02874755859375, 0.0579833984375, 0.00634002685546875, -0.041168212890625, -0.043487548828125, -0.017730712890625, 0.0300445556640625, -0.0213470458984375, 0.021240234375, 0.043975830078125, -0.017913818359375, 0.08355712890625, 0.005313873291015625, 0.0131683349609375, 0.0172882080078125, 0.07623291015625, 0.04901123046875, -0.01023101806640625, 0.007205963134765625, -0.007495880126953125, -0.01160430908203125, -0.051513671875, 0.046234130859375, -0.00833892822265625, -0.096435546875, -0.0282440185546875, -0.0570068359375, 0.00252532958984375, -0.0178375244140625, -0.023040771484375, -0.0279998779296875, -0.018096923828125, -0.004993438720703125, -0.072998046875, -0.038543701171875, 0.04217529296875, -0.03076171875, -0.00274658203125, -0.01404571533203125, -0.0212554931640625, -0.00992584228515625, 0.0019855499267578125, -0.0230255126953125, -0.0262451171875, -0.0059051513671875, -0.05364990234375, -0.046600341796875, -0.05413818359375, 0.014892578125, -0.006977081298828125, 0.01380157470703125, 0.01142120361328125, 0.03778076171875, 0.007808685302734375, -0.033905029296875, 0.0293731689453125, 0.033447265625, -0.0011529922485351562, 0.0293121337890625, 0.0164031982421875, -0.02777099609375, -0.03485107421875, -0.01137542724609375, 0.00502777099609375, 0.00949859619140625, -0.00771331787109375, 0.0161895751953125, 0.005069732666015625, -0.0201873779296875, 0.039215087890625, -0.00971221923828125, -0.0183868408203125, 0.008209228515625, 0.0308837890625, -0.03192138671875, 0.017303466796875, 0.0122833251953125, 0.005950927734375, -0.039703369140625, -0.029998779296875, -0.0224151611328125, -0.01172637939453125, 0.022186279296875, 0.01058197021484375, 0.0183563232421875, 0.06610107421875, 0.007732391357421875, -0.004459381103515625, -0.02227783203125, -0.033447265625, -0.05914306640625, -0.030792236328125, -0.0372314453125, 0.0550537109375, -0.0252685546875, 0.001293182373046875, -0.0031375885009765625, 0.00992584228515625, -0.0156097412109375, 0.0198974609375, 0.037567138671875, 0.0017156600952148438, 0.05377197265625, -0.032012939453125, -0.0258331298828125, -0.058013916015625, 0.02825927734375, -0.031707763671875, -0.024810791015625, -0.0169525146484375, 0.0018320083618164062, -0.007488250732421875, -0.0038318634033203125, -0.0209503173828125, -0.00785064697265625, -0.07794189453125, 0.0311279296875, 0.01328277587890625, -0.042022705078125, 0.006855010986328125, -0.0307769775390625, -0.043487548828125, -0.033294677734375, 0.01387786865234375, 0.0079345703125, -0.03179931640625, 0.02423095703125, -0.0050201416015625, -0.02252197265625, 0.005401611328125, -0.0174407958984375, -0.1072998046875, -0.01561737060546875, -0.061981201171875, 0.125244140625, 0.01110076904296875, 0.0190277099609375, -0.03271484375, 0.060882568359375, -0.0091705322265625, -0.0233306884765625, 0.01068115234375, 0.026824951171875, -0.03778076171875, 0.0261688232421875, 0.00731658935546875, -0.017486572265625, -0.00988006591796875, 0.03472900390625, -0.00756072998046875, 0.0265960693359375, 0.0039520263671875, -0.06622314453125, 0.06927490234375, -0.0269927978515625, -0.0195159912109375, -0.034332275390625, -0.040069580078125, 0.005374908447265625, -0.015380859375, -0.0144195556640625, -0.05322265625, -0.042816162109375, 0.0634765625, 0.02069091796875, -0.00444793701171875, -0.00609588623046875, 0.03778076171875, 0.0023937225341796875, -0.047943115234375, -0.051177978515625, -0.044769287109375, 0.0230560302734375, -0.0108642578125, 0.0218658447265625, 0.0118255615234375, -0.0172119140625, 0.033233642578125, -0.0002620220184326172, 0.01861572265625, -0.072509765625, 0.072265625, -0.01039886474609375, 0.019989013671875, 0.0008912086486816406, -0.03857421875, 0.0523681640625, 0.053863525390625, 0.0013113021850585938, 0.00377655029296875, -0.02996826171875, 0.01067352294921875, 0.0026645660400390625, -0.0164031982421875, -0.035247802734375, 0.00911712646484375, -0.0177154541015625, 0.02996826171875, 0.084228515625, 0.051300048828125, -0.01245880126953125, 0.0266876220703125, 0.0175323486328125, 0.00473785400390625, -0.01045989990234375, -0.0233917236328125, -0.01934814453125, 0.020538330078125, -0.01294708251953125, -0.017120361328125, 0.0146942138671875, 0.00506591796875, 0.005382537841796875, -0.0108184814453125, -0.035125732421875, -0.0239410400390625, 0.0254058837890625, 0.018035888671875, 0.011932373046875, 0.05194091796875, -0.0158843994140625, -0.00556182861328125, -0.01194000244140625, 0.006801605224609375, 0.0228424072265625, 0.024505615234375, -0.017547607421875, 0.01230621337890625, 0.0227813720703125, -0.0164642333984375, -0.03857421875, 0.0625, 0.0214385986328125, -0.0178375244140625, -0.004146575927734375, 0.03936767578125, 0.0309295654296875, 0.01580810546875, 0.032928466796875, -0.0284271240234375, -0.0034275054931640625, -0.01270294189453125, -0.03509521484375, -0.004253387451171875, 0.01641845703125, 0.0102081298828125, 0.01401519775390625, -0.0283660888671875, -0.02838134765625, 0.0271148681640625, -0.038848876953125, -0.031219482421875, -0.049041748046875, -0.042724609375, -0.024627685546875, 0.0266571044921875, 0.01349639892578125, -0.0511474609375, -0.0008440017700195312, 0.006046295166015625, -0.01084136962890625, -0.0204925537109375, 0.0083465576171875, -0.04339599609375, 0.01284027099609375, -0.0270538330078125, -0.0192413330078125, -0.003936767578125, -0.027191162109375, -0.0254974365234375, -0.034027099609375, -0.00519561767578125, -0.01247406005859375, -0.0122833251953125, 0.038726806640625, -0.028472900390625, 0.030059814453125, -0.0390625, 0.0126800537109375, -0.007965087890625, 0.0201873779296875, 0.00835418701171875, -0.009063720703125, 0.0251922607421875, -0.02886962890625, -0.01401519775390625, -0.0248260498046875, 0.031890869140625, -0.00972747802734375, 0.001766204833984375, -0.0232391357421875, -0.00476837158203125, 0.06695556640625, -0.01387786865234375, 0.04693603515625, 0.0241851806640625, -0.001033782958984375, -0.059906005859375, 0.12200927734375, -0.03546142578125, 0.03680419921875, 0.004169464111328125, 0.01885986328125, -0.03387451171875, 0.00009310245513916016, 0.0198822021484375, 0.0012645721435546875, -0.0182342529296875, -0.037109375, 0.01165008544921875, 0.0019588470458984375, 0.048126220703125, 0.016815185546875, -0.004497528076171875, 0.004856109619140625, 0.0362548828125, -0.004673004150390625, 0.0198211669921875, -0.0193023681640625, -0.028411865234375, -0.02166748046875, 0.0222625732421875, 0.0169219970703125, -0.024078369140625, -0.041839599609375, 0.00909423828125, -0.0249481201171875, 0.028564453125, 0.030670166015625, -0.006298065185546875, -0.00458526611328125, -0.0259552001953125, 0.0174560546875, 0.0275115966796875, 0.03814697265625, 0.042266845703125, -0.0005550384521484375, 0.0404052734375, 0.007030487060546875, -0.041229248046875, -0.01180267333984375, 0.0731201171875, 0.0142059326171875, -0.02630615234375, 0.022796630859375, 0.0146026611328125, 0.0084075927734375, 0.0076446533203125, 0.0161895751953125, 0.04669189453125, -0.030059814453125, 0.00890350341796875, 0.016143798828125, -0.00907135009765625, 0.04547119140625, -0.01027679443359375, -0.01068115234375, -0.015106201171875, 0.061431884765625, -0.032073974609375, -0.01360321044921875, 0.0443115234375, 0.00527191162109375, -0.0137176513671875, -0.0077056884765625, 0.01495361328125, -0.00452423095703125, 0.0009284019470214844, -0.0300750732421875, -0.025299072265625, -0.041229248046875, -0.0200653076171875, 0.0157318115234375, 0.00921630859375, -0.0038089752197265625, -0.056549072265625, 0.01495361328125, -0.006908416748046875, -0.023345947265625, -0.00778961181640625, 0.0068511962890625, 0.04376220703125, 0.033538818359375, 0.005825042724609375, -0.04034423828125, -0.01021575927734375, 0.024871826171875, 0.026031494140625, -0.01934814453125, -0.0178680419921875, 0.0509033203125, 0.0016489028930664062, 0.007457733154296875, 0.0189208984375, 0.021148681640625, -0.021392822265625, 0.07318115234375, 0.0927734375, 0.0190887451171875, -0.048980712890625, 0.04217529296875, 0.01302337646484375, -0.039154052734375, -0.0208892822265625, 0.01184844970703125, -0.034515380859375, -0.006694793701171875, -0.01158905029296875, -0.02740478515625, -0.009613037109375, -0.020660400390625, -0.108642578125, 0.07568359375, 0.039764404296875, 0.0618896484375, -0.01708984375, 0.004467010498046875, -0.044281005859375, -0.03857421875, 0.01120758056640625, 0.030548095703125, -0.0228729248046875, -0.023468017578125, -0.022735595703125, 0.00033092498779296875, -0.028656005859375, 0.025360107421875, 0.01702880859375, -0.007137298583984375, -0.029296875, -0.0144195556640625, 0.052734375, 0.035369873046875, 0.0127716064453125, 0.025421142578125, 0.0183258056640625, 0.0298309326171875, 0.0248870849609375, -0.0269317626953125, 0.042022705078125, -0.0633544921875, 0.0019931793212890625, 0.021575927734375, 0.002399444580078125, -0.00975799560546875, 0.01232147216796875, 0.00951385498046875, -0.01715087890625, 0.0121612548828125, 0.00982666015625, -0.000019550323486328125, -0.025909423828125, 0.002864837646484375, -0.055206298828125, 0.0030040740966796875, -0.0328369140625, -0.006252288818359375, -0.0022182464599609375, -0.005016326904296875, 0.0245513916015625, 0.055877685546875, 0.0311431884765625, 0.0027523040771484375, 0.0194244384765625, 0.03057861328125, 0.0124664306640625, -0.00955963134765625, 0.0196685791015625, 0.008148193359375, 0.0068206787109375, -0.0222625732421875, 0.03338623046875, 0.0296478271484375, 0.0220489501953125, -0.0318603515625, -0.006351470947265625, 0.00623321533203125, -0.014801025390625, 0.0127716064453125, -0.04193115234375, 0.02630615234375, -0.06365966796875, -0.05078125, -0.0408935546875, 0.036224365234375, 0.046295166015625, 0.006397247314453125, 0.0004215240478515625, 0.0249786376953125, -0.06610107421875, 0.041351318359375, -0.054840087890625, 0.0037021636962890625, 0.01128387451171875, 0.0587158203125, 0.043121337890625, 0.0389404296875, 0.016876220703125, -0.0313720703125, -0.0287017822265625, 0.048492431640625, 0.0421142578125, 0.00350189208984375, 0.01195526123046875, 0.0024871826171875, 0.0458984375, 0.0021839141845703125, 0.030242919921875, 0.06536865234375, 0.07843017578125, 0.026336669921875, -0.03350830078125, 0.0019168853759765625, 0.036407470703125, -0.037017822265625, -0.002170562744140625, -0.037384033203125, 0.0186614990234375, 0.008056640625, 0.0009918212890625, 0.0010480880737304688, 0.0277557373046875, 0.01300811767578125, -0.033447265625, 0.060211181640625, -0.01024627685546875, 0.00726318359375, 0.01192474365234375, -0.0177764892578125, 0.0008192062377929688, -0.0091094970703125, 0.027740478515625, -0.0018072128295898438, 0.0211334228515625, -0.0100860595703125, -0.0146942138671875, 0.01483154296875, -0.01934814453125, 0.051361083984375, 0.002399444580078125, -0.031707763671875, 0.02947998046875, 0.012969970703125, 0.01262664794921875, 0.044403076171875, 0.009063720703125, 0.0186767578125, -0.030426025390625, -0.033905029296875, 0.00791168212890625, 0.057098388671875, -0.01219940185546875, 0.043548583984375, -0.0257720947265625, 0.0236358642578125, -0.0242767333984375, 0.00855255126953125, -0.0390625, -0.033233642578125, 0.049346923828125, -0.031890869140625, -0.0295867919921875, 0.01183319091796875, 0.005901336669921875, 0.0299530029296875, 0.0220947265625, -0.01824951171875, 0.0186309814453125, -0.0110931396484375, 0.00859832763671875, -0.0181884765625, 0.044281005859375, -0.023956298828125, -0.054046630859375, -0.07177734375, 0.0147857666015625, 0.03204345703125, 0.054229736328125, -0.033050537109375, 0.01343536376953125, 0.01605224609375, -0.03192138671875, 0.04132080078125, -0.043060302734375, 0.0745849609375, 0.0305938720703125, -0.02435302734375, -0.0350341796875, -0.005275726318359375, -0.0194244384765625, -0.0241851806640625, 0.0151519775390625, -0.0012149810791015625, 0.006435394287109375, -0.057159423828125, -0.043121337890625, 0.0458984375, 0.0308837890625, 0.01751708984375, 0.027130126953125, -0.01494598388671875, -0.03741455078125, -0.004322052001953125, 0.01458740234375, 0.00572967529296875, -0.0172119140625, -0.032623291015625, 0.032867431640625, -0.0278167724609375, 0.0025005340576171875, -0.060455322265625, -0.007110595703125, 0.0162200927734375, -0.00946044921875, -0.0175323486328125, -0.01442718505859375, -0.01776123046875, 0.06243896484375, -0.0141754150390625, 0.0304107666015625, -0.035675048828125, 0.01507568359375, -0.029541015625, -0.035064697265625, -0.0280609130859375, 0.07440185546875, -0.027252197265625, -0.0098419189453125, -0.005260467529296875, 0.007717132568359375, 0.0418701171875, -0.033660888671875, -0.0007853507995605469, 0.009185791015625, -0.008636474609375, -0.02520751953125, -0.0183563232421875, 0.02081298828125, -0.002498626708984375, -0.04803466796875, -0.00479888916015625, -0.0304412841796875, 0.007404327392578125, -0.02532958984375, 0.0265655517578125, 0.0234375, -0.03131103515625, -0.08984375, 0.018890380859375, -0.02197265625, -0.038299560546875, 0.0283203125, -0.00307464599609375, 0.0098724365234375, 0.00829315185546875, 0.0158843994140625, -0.0079193115234375, -0.0156402587890625, -0.0167388916015625, -0.0032482147216796875, 0.03936767578125, 0.0369873046875, -0.0309295654296875, 0.017974853515625, 0.003704071044921875, 0.0018796920776367188, -0.01727294921875, -0.041839599609375, 0.01641845703125, 0.007022857666015625, 0.0361328125, -0.0134124755859375, -0.00916290283203125, 0.032501220703125, -0.01132965087890625, -0.018218994140625, -0.03204345703125, -0.0401611328125, 0.00003522634506225586, 0.08587646484375, 0.034423828125, 0.0228271484375, -0.048980712890625, 0.0283660888671875, -0.0369873046875, 0.00916290283203125, 0.022064208984375, -0.02703857421875, -0.007511138916015625, -0.009033203125, 0.02581787109375, 0.029449462890625, 0.03680419921875, -0.0048675537109375, 0.0435791015625, -0.00962066650390625, 0.079345703125, -0.006183624267578125, -0.01041412353515625, -0.0230712890625, 0.062347412109375, -0.031585693359375, 0.0029659271240234375, 0.01450347900390625, 0.005367279052734375, 0.0357666015625, 0.036102294921875, 0.061737060546875, -0.04217529296875, -0.0301513671875, 0.0012359619140625, 0.01788330078125, 0.004169464111328125, -0.024749755859375, -0.08441162109375, -0.010284423828125, -0.0014209747314453125, -0.004207611083984375, -0.0004019737243652344, 0.0140380859375, -0.00616455078125, -0.0107269287109375, 0.01320648193359375, -0.030181884765625, -0.01763916015625, -0.023651123046875, 0.0163116455078125, -0.006557464599609375, 0.00548553466796875, 0.039794921875, -0.003742218017578125, 0.013824462890625, 0.01273345947265625, 0.0233612060546875, -0.0219879150390625, 0.0227508544921875, -0.0723876953125, -0.0016765594482421875, 0.01137542724609375 ]
56ecf0993597aca21234669be4ec769e2e70f8cd
Wordpress Stackexchange Q: Force plugin to be activated only from multisite network dashboard Is there a way to allow plugin to be activated only from NETWORK DASHBOARD (if using Multisite). In not multisite, allow to be activated normally. A: You can specify that a plugin is Network Only in the plugin's header information. /* Plugin Name: Name of Plugin Plugin URI: Link to plugin information Description: Plugin Description [...] Network: Optional. Specify "Network: true" to require that a plugin is activated across all sites in an installation. This will prevent a plugin from being activated on a single site when Multisite is enabled. */ See get_plugin_data(). Network: true in a non-multisite plugin will allow the plugin to work (quick test on my local installation confirms that). You could also try using the all_plugins filter to hide it from the plugin list if your site is a Multisite installation and the user isn't in the Network admin screen: add_filter( 'all_plugins', 'wpse257256_hide_my_plugin' ); function wpse257256_hide_my_plugin( $plugins ) { if ( is_multisite() && ! is_network_admin() ) { unset( $plugins['my-plugin-name/my-plugin-file.php'] ); } return $plugins; } Reference * *all_plugins filter *is_multisite() *is_network_admin()
Q: Force plugin to be activated only from multisite network dashboard Is there a way to allow plugin to be activated only from NETWORK DASHBOARD (if using Multisite). In not multisite, allow to be activated normally. A: You can specify that a plugin is Network Only in the plugin's header information. /* Plugin Name: Name of Plugin Plugin URI: Link to plugin information Description: Plugin Description [...] Network: Optional. Specify "Network: true" to require that a plugin is activated across all sites in an installation. This will prevent a plugin from being activated on a single site when Multisite is enabled. */ See get_plugin_data(). Network: true in a non-multisite plugin will allow the plugin to work (quick test on my local installation confirms that). You could also try using the all_plugins filter to hide it from the plugin list if your site is a Multisite installation and the user isn't in the Network admin screen: add_filter( 'all_plugins', 'wpse257256_hide_my_plugin' ); function wpse257256_hide_my_plugin( $plugins ) { if ( is_multisite() && ! is_network_admin() ) { unset( $plugins['my-plugin-name/my-plugin-file.php'] ); } return $plugins; } Reference * *all_plugins filter *is_multisite() *is_network_admin()
wordpress
{ "language": "en", "length": 185, "provenance": "stackexchange_00019.jsonl.gz:473387", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257256" }
[ 0.055023193359375, 0.01358795166015625, 0.01535797119140625, -0.0123443603515625, 0.0248260498046875, -0.0244293212890625, 0.04962158203125, -0.04425048828125, -0.006977081298828125, -0.006206512451171875, -0.004673004150390625, 0.0015277862548828125, -0.029876708984375, -0.03643798828125, 0.00971221923828125, -0.0391845703125, 0.018585205078125, 0.0117034912109375, -0.008056640625, -0.01024627685546875, 0.0080108642578125, 0.0172119140625, -0.052032470703125, 0.043426513671875, -0.004642486572265625, -0.03466796875, 0.09259033203125, -0.00897979736328125, -0.0164337158203125, -0.025177001953125, 0.0218963623046875, 0.01502227783203125, -0.005870819091796875, 0.047576904296875, -0.03936767578125, -0.07867431640625, -0.01192474365234375, 0.0236968994140625, -0.0052337646484375, 0.018951416015625, 0.043487548828125, -0.0228271484375, 0.0105133056640625, 0.0203704833984375, 0.0100860595703125, -0.0191650390625, 0.046600341796875, -0.046539306640625, 0.00888824462890625, 0.0214080810546875, -0.00616455078125, -0.0271148681640625, 0.0104827880859375, -0.0282135009765625, -0.0142822265625, -0.02783203125, -0.039154052734375, 0.0288543701171875, 0.02337646484375, 0.041168212890625, -0.007022857666015625, 0.0033092498779296875, -0.01230621337890625, -0.055816650390625, 0.0229949951171875, -0.007762908935546875, -0.0013370513916015625, 0.0255279541015625, -0.05523681640625, 0.026641845703125, 0.0389404296875, -0.04156494140625, 0.0528564453125, 0.00794219970703125, -0.0406494140625, -0.07550048828125, 0.02099609375, -0.0230865478515625, 0.047332763671875, -0.0587158203125, 0.035552978515625, 0.018402099609375, 0.01549530029296875, -0.01654052734375, 0.016632080078125, 0.024810791015625, -0.0059051513671875, -0.01479339599609375, -0.037139892578125, 0.0318603515625, -0.0313720703125, 0.031951904296875, -0.0018749237060546875, -0.0011463165283203125, -0.01404571533203125, 0.01187896728515625, 0.03173828125, 0.062164306640625, -0.0070953369140625, -0.027252197265625, -0.008270263671875, -0.0306549072265625, -0.02313232421875, -0.0243072509765625, -0.00753021240234375, 0.06842041015625, 0.023956298828125, -0.013153076171875, 0.0111541748046875, -0.010650634765625, 0.01296234130859375, 0.0150299072265625, -0.019561767578125, -0.0045623779296875, -0.03485107421875, -0.00783538818359375, -0.050689697265625, -0.01491546630859375, -0.00859832763671875, -0.00975799560546875, -0.0164642333984375, -0.0010814666748046875, -0.0264892578125, -0.016632080078125, -0.01806640625, -0.05303955078125, -0.033294677734375, 0.033660888671875, -0.060455322265625, -0.0023956298828125, -0.02667236328125, 0.00759124755859375, 0.041656494140625, 0.048553466796875, 0.0148162841796875, -0.0053558349609375, 0.011566162109375, 0.053741455078125, 0.0152587890625, -0.0013666152954101562, 0.04168701171875, -0.0219879150390625, -0.0166168212890625, 0.03155517578125, 0.01050567626953125, 0.01212310791015625, 0.02593994140625, 0.0023956298828125, -0.01751708984375, -0.01519012451171875, -0.0083770751953125, -0.010528564453125, 0.028656005859375, -0.00004774332046508789, -0.007415771484375, -0.0010824203491210938, 0.06414794921875, -0.019622802734375, -0.055908203125, -0.040313720703125, 0.0201416015625, -0.0127410888671875, 0.01270294189453125, -0.031402587890625, -0.0367431640625, -0.006618499755859375, -0.03131103515625, -0.00495147705078125, 0.0284576416015625, 0.0243988037109375, -0.01404571533203125, -0.0386962890625, 0.034912109375, 0.023773193359375, -0.00429534912109375, 0.052398681640625, 0.00392913818359375, 0.0265045166015625, 0.026824951171875, 0.00293731689453125, -0.032989501953125, -0.0293426513671875, 0.08880615234375, -0.035400390625, -0.08026123046875, 0.0185394287109375, -0.0001951456069946289, 0.040863037109375, 0.0293121337890625, -0.006488800048828125, 0.08184814453125, 0.0096435546875, 0.0108184814453125, -0.03271484375, -0.0170440673828125, -0.001956939697265625, -0.0004169940948486328, 0.0147705078125, -0.002162933349609375, 0.0099945068359375, 0.0672607421875, -0.002964019775390625, 0.01690673828125, -0.0238189697265625, -0.0684814453125, 0.0023097991943359375, -0.02276611328125, 0.024749755859375, 0.0187225341796875, -0.0019083023071289062, -0.003414154052734375, 0.0075225830078125, 0.0103607177734375, -0.07977294921875, -0.0430908203125, 0.0279388427734375, -0.032470703125, 0.042510986328125, 0.006130218505859375, 0.01087188720703125, 0.01885986328125, -0.02325439453125, 0.036834716796875, -0.002086639404296875, 0.0235443115234375, 0.01403045654296875, -0.0202484130859375, 0.02154541015625, 0.020294189453125, 0.00896453857421875, 0.0273590087890625, 0.0216064453125, -0.0005984306335449219, 0.0382080078125, 0.0162200927734375, 0.007110595703125, 0.039581298828125, -0.06427001953125, 0.01238250732421875, 0.01390838623046875, 0.032470703125, -0.004241943359375, -0.0085906982421875, 0.002208709716796875, -0.0190887451171875, -0.08203125, 0.0021381378173828125, -0.0002636909484863281, 0.0174102783203125, 0.0355224609375, -0.055419921875, 0.004878997802734375, 0.043121337890625, 0.0179595947265625, 0.00324249267578125, 0.048065185546875, -0.02178955078125, -0.031341552734375, -0.0112152099609375, -0.0272064208984375, 0.0313720703125, 0.01042938232421875, -0.02545166015625, 0.022308349609375, 0.0235443115234375, -0.0163116455078125, 0.0239715576171875, 0.0195770263671875, -0.01148223876953125, -0.0216217041015625, 0.01751708984375, -0.013763427734375, -0.007053375244140625, 0.040191650390625, 0.056640625, -0.0018854141235351562, -0.052001953125, -0.020599365234375, 0.0229339599609375, 0.032012939453125, -0.038970947265625, -0.0511474609375, -0.0085296630859375, -0.01241302490234375, 0.0273284912109375, -0.034149169921875, 0.037506103515625, -0.03369140625, -0.04766845703125, -0.01493072509765625, 0.025390625, 0.01392364501953125, -0.0173492431640625, 0.0072784423828125, -0.01229095458984375, -0.0038013458251953125, -0.029327392578125, -0.05242919921875, 0.037078857421875, -0.04913330078125, 0.0654296875, 0.0885009765625, 0.0026912689208984375, 0.01418304443359375, -0.01163482666015625, -0.00044465065002441406, -0.006748199462890625, -0.032562255859375, -0.033935546875, 0.0086822509765625, -0.07501220703125, 0.0209197998046875, -0.0021686553955078125, -0.0257720947265625, -0.0287322998046875, -0.045135498046875, -0.0250396728515625, -0.028717041015625, -0.08880615234375, -0.0147552490234375, -0.021728515625, -0.0430908203125, 0.05560302734375, -0.0297393798828125, 0.0054168701171875, -0.035247802734375, -0.0138397216796875, 0.033538818359375, -0.0306549072265625, -0.01055145263671875, -0.0126953125, -0.017486572265625, -0.03997802734375, 0.019744873046875, 0.00632476806640625, 0.006786346435546875, 0.01419830322265625, 0.068359375, 0.026885986328125, -0.024688720703125, 0.036865234375, -0.0237884521484375, -0.0054931640625, 0.0109100341796875, -0.02374267578125, 0.0044403076171875, 0.006984710693359375, 0.00730133056640625, -0.01500701904296875, 0.0165863037109375, 0.00555419921875, -0.0103302001953125, 0.022369384765625, 0.002300262451171875, 0.040771484375, -0.0026264190673828125, -0.03485107421875, -0.0007266998291015625, -0.015411376953125, -0.047576904296875, 0.008331298828125, -0.031463623046875, -0.03570556640625, 0.049102783203125, -0.0084381103515625, 0.00673675537109375, 0.0270233154296875, 0.00545501708984375, 0.006595611572265625, -0.0029544830322265625, -0.004833221435546875, -0.03228759765625, 0.037506103515625, 0.007564544677734375, 0.0104522705078125, -0.0245819091796875, 0.01541900634765625, -0.0189971923828125, -0.02496337890625, -0.0148162841796875, -0.0079193115234375, -0.0150146484375, 0.0265655517578125, -0.003131866455078125, 0.01070404052734375, 0.002559661865234375, -0.046173095703125, -0.01491546630859375, -0.0167694091796875, 0.0128631591796875, -0.021575927734375, 0.00984954833984375, -0.091796875, 0.00743865966796875, -0.024383544921875, 0.01319122314453125, -0.009765625, -0.05291748046875, -0.06158447265625, -0.0096435546875, -0.08673095703125, -0.0187530517578125, -0.0128326416015625, -0.0548095703125, 0.02117919921875, -0.0550537109375, -0.0192108154296875, -0.048065185546875, 0.019287109375, -0.01494598388671875, -0.013214111328125, -0.0011262893676757812, -0.01548004150390625, -0.034332275390625, -0.007305145263671875, -0.026214599609375, -0.0142974853515625, 0.009796142578125, -0.058807373046875, 0.01544952392578125, 0.01392364501953125, 0.0190277099609375, 0.00003743171691894531, 0.0178375244140625, 0.0016450881958007812, 0.0026397705078125, -0.01291656494140625, 0.0104217529296875, -0.0288238525390625, -0.0126800537109375, 0.003032684326171875, -0.01873779296875, -0.005580902099609375, 0.03515625, -0.04510498046875, 0.023193359375, 0.01253509521484375, -0.01403045654296875, 0.08154296875, -0.063232421875, -0.026031494140625, -0.033966064453125, -0.0347900390625, -0.0108489990234375, -0.021209716796875, -0.00933074951171875, -0.0295257568359375, -0.0203399658203125, 0.0310516357421875, -0.0241241455078125, 0.005924224853515625, 0.00489044189453125, 0.08563232421875, 0.0173187255859375, 0.002597808837890625, -0.024505615234375, 0.00043082237243652344, 0.0207061767578125, 0.040679931640625, 0.0360107421875, 0.02874755859375, -0.014373779296875, 0.02227783203125, 0.0249481201171875, -0.0004475116729736328, -0.01363372802734375, 0.061676025390625, -0.00591278076171875, -0.058380126953125, 0.054595947265625, -0.01312255859375, -0.031524658203125, 0.01477813720703125, -0.001068115234375, -0.0251312255859375, 0.0020732879638671875, 0.040985107421875, -0.01177978515625, 0.006534576416015625, -0.035858154296875, -0.04736328125, 0.0227203369140625, -0.0357666015625, 0.0189971923828125, 0.0212249755859375, 0.0009713172912597656, 0.01458740234375, -0.00896453857421875, -0.002941131591796875, 0.0263671875, 0.047821044921875, -0.040283203125, 0.0270538330078125, 0.0286712646484375, -0.04827880859375, 0.01412200927734375, -0.02056884765625, 0.0755615234375, -0.037841796875, -0.057037353515625, -0.006572723388671875, -0.04046630859375, 0.048980712890625, 0.05621337890625, -0.01244354248046875, 0.0309906005859375, 0.045623779296875, -0.02215576171875, -0.01425933837890625, 0.005084991455078125, 0.01093292236328125, -0.04534912109375, -0.046966552734375, -0.024139404296875, -0.01097869873046875, 0.0262603759765625, 0.0215911865234375, -0.00582122802734375, 0.024566650390625, -0.0087890625, 0.05975341796875, 0.06903076171875, -0.028961181640625, 0.0037384033203125, 0.0193939208984375, -0.0200958251953125, -0.038421630859375, -0.000057220458984375, -0.0165863037109375, 0.020965576171875, 0.046173095703125, 0.010101318359375, 0.07037353515625, 0.01194000244140625, -0.041656494140625, -0.0017080307006835938, -0.040557861328125, 0.068603515625, 0.006072998046875, -0.07916259765625, -0.06134033203125, 0.0157928466796875, 0.056640625, -0.022186279296875, 0.000027894973754882812, -0.0265655517578125, 0.0157623291015625, -0.009063720703125, 0.036224365234375, -0.0706787109375, 0.032562255859375, 0.06439208984375, 0.01081085205078125, -0.0032634735107421875, -0.007083892822265625, -0.0237579345703125, 0.0003085136413574219, -0.0195770263671875, -0.0350341796875, 0.047882080078125, -0.0156097412109375, 0.0265960693359375, -0.0533447265625, 0.01386260986328125, -0.04351806640625, -0.0035152435302734375, 0.046875, 0.039276123046875, -0.07330322265625, 0.01097869873046875, -0.0276947021484375, -0.01861572265625, -0.0219268798828125, -0.03717041015625, -0.050811767578125, -0.0016908645629882812, 0.042083740234375, 0.01497650146484375, 0.002658843994140625, -0.037689208984375, 0.004413604736328125, 0.006885528564453125, 0.0136566162109375, 0.05230712890625, -0.018829345703125, 0.039520263671875, 0.0264434814453125, 0.05517578125, 0.02447509765625, 0.01543426513671875, -0.01497650146484375, -0.0187530517578125, -0.0006418228149414062, -0.046112060546875, -0.032257080078125, 0.0093231201171875, -0.0469970703125, 0.00653076171875, 0.0175628662109375, 0.00018298625946044922, -0.0048980712890625, 0.0269927978515625, 0.0110626220703125, -0.0228271484375, -0.037689208984375, 0.054840087890625, 0.034393310546875, -0.031097412109375, -0.027191162109375, -0.010406494140625, 0.004497528076171875, -0.027374267578125, 0.022735595703125, -0.011566162109375, 0.0232086181640625, 0.034271240234375, -0.0247955322265625, 0.06494140625, 0.053070068359375, 0.0047149658203125, 0.0364990234375, 0.0328369140625, 0.0142822265625, -0.016876220703125, -0.019073486328125, 0.019744873046875, -0.01415252685546875, -0.00766754150390625, -0.0277252197265625, 0.014007568359375, 0.00792694091796875, -0.01215362548828125, 0.002716064453125, 0.03033447265625, 0.017822265625, -0.06268310546875, 0.009246826171875, -0.0160369873046875, 0.0153961181640625, 0.0253143310546875, -0.0191650390625, 0.01427459716796875, 0.00429534912109375, 0.041290283203125, -0.01270294189453125, -0.0117645263671875, 0.0302886962890625, -0.01371002197265625, -0.0304412841796875, 0.0099639892578125, 0.0249176025390625, 0.01351165771484375, 0.00424957275390625, -0.02337646484375, -0.01352691650390625, -0.00760650634765625, -0.0172882080078125, -0.01544189453125, 0.0304412841796875, -0.034423828125, -0.058135986328125, -0.0037899017333984375, 0.00847625732421875, -0.024871826171875, 0.051025390625, 0.01421356201171875, 0.01537322998046875, 0.053558349609375, 0.0025691986083984375, -0.001102447509765625, 0.029327392578125, -0.01384735107421875, -0.00479888916015625, -0.021240234375, 0.0016660690307617188, 0.0112457275390625, -0.0167083740234375, 0.015533447265625, -0.002300262451171875, -0.03094482421875, -0.00902557373046875, -0.0057525634765625, 0.056976318359375, 0.031036376953125, -0.041778564453125, 0.0203399658203125, -0.0208892822265625, -0.015716552734375, -0.0274810791015625, 0.0249786376953125, -0.043212890625, -0.0201263427734375, -0.00971221923828125, -0.013458251953125, 0.00907135009765625, -0.0239410400390625, -0.060455322265625, 0.110107421875, 0.00860595703125, 0.039764404296875, 0.006771087646484375, 0.045135498046875, -0.03729248046875, 0.0033931732177734375, -0.029693603515625, 0.0374755859375, -0.01702880859375, 0.048919677734375, -0.01299285888671875, 0.0110931396484375, 0.0096588134765625, 0.016265869140625, 0.004425048828125, 0.01148223876953125, -0.035888671875, -0.0212249755859375, -0.01959228515625, 0.005950927734375, -0.0013093948364257812, 0.043701171875, 0.0158538818359375, 0.03790283203125, 0.0193634033203125, -0.0238189697265625, 0.03564453125, -0.0377197265625, -0.0014657974243164062, 0.036102294921875, 0.004180908203125, 0.000789642333984375, -0.0096893310546875, -0.007778167724609375, -0.00487518310546875, 0.0004093647003173828, -0.00203704833984375, -0.003040313720703125, -0.0156097412109375, 0.0256500244140625, -0.0233917236328125, 0.02313232421875, 0.0221099853515625, -0.025390625, 0.038299560546875, -0.006092071533203125, -0.0035152435302734375, 0.0081329345703125, 0.01396942138671875, -0.0138092041015625, 0.0240020751953125, 0.00031828880310058594, 0.046966552734375, -0.0243988037109375, -0.0201416015625, 0.01003265380859375, 0.01312255859375, 0.0092620849609375, 0.0294189453125, 0.004177093505859375, -0.0209197998046875, 0.004337310791015625, -0.064697265625, 0.0157623291015625, 0.02203369140625, 0.007678985595703125, 0.06146240234375, 0.029937744140625, 0.0030689239501953125, 0.07293701171875, -0.029937744140625, 0.01215362548828125, 0.036163330078125, 0.022552490234375, 0.010101318359375, 0.00960540771484375, -0.05718994140625, -0.004913330078125, -0.0273590087890625, 0.00429534912109375, 0.0229034423828125, 0.06439208984375, 0.0027828216552734375, 0.03546142578125, -0.034942626953125, -0.028350830078125, -0.0235595703125, 0.05389404296875, -0.001739501953125, 0.02606201171875, -0.08892822265625, -0.0955810546875, 0.050567626953125, 0.0594482421875, 0.039459228515625, 0.029937744140625, 0.05511474609375, 0.07000732421875, 0.0137786865234375, 0.004116058349609375, 0.049072265625, 0.008758544921875, 0.01678466796875, -0.0352783203125, 0.00824737548828125, -0.0209197998046875, -0.0267181396484375, 0.0017709732055664062, 0.000553131103515625, 0.01360321044921875, -0.01885986328125, 0.025634765625, 0.005359649658203125, -0.0159454345703125, 0.015869140625, -0.005336761474609375, 0.0066680908203125, -0.0007424354553222656, -0.0660400390625, -0.01207733154296875, -0.034698486328125, -0.0111846923828125, 0.01116180419921875, 0.031768798828125, -0.0176239013671875, 0.03167724609375, 0.011444091796875, 0.002498626708984375, -0.0071868896484375, 0.0008339881896972656, 0.001705169677734375, -0.004730224609375, 0.0260467529296875, 0.004962921142578125, -0.006809234619140625, -0.0118560791015625, -0.0181427001953125, 0.046478271484375, 0.0182952880859375, 0.0965576171875, -0.04534912109375, 0.0343017578125, 0.046112060546875, -0.0013551712036132812, 0.0238189697265625, 0.0408935546875, -0.060760498046875, -0.0124359130859375, 0.0080108642578125, -0.0110321044921875, -0.033905029296875, 0.0113983154296875, 0.03448486328125, -0.01340484619140625, 0.030303955078125, -0.0109710693359375, 0.0114593505859375, -0.018035888671875, 0.043487548828125, -0.0203399658203125, -0.053253173828125, -0.07177734375, -0.015777587890625, 0.03009033203125, 0.0665283203125, -0.010284423828125, 0.0231475830078125, -0.0272369384765625, -0.030059814453125, -0.0033435821533203125, -0.018035888671875, -0.053375244140625, 0.018463134765625, 0.006916046142578125, -0.0174407958984375, 0.01546478271484375, -0.0034885406494140625, -0.0185699462890625, 0.0361328125, 0.0117645263671875, 0.007099151611328125, 0.007755279541015625, -0.019927978515625, 0.0099334716796875, -0.0171966552734375, -0.05224609375, 0.000028967857360839844, 0.058013916015625, -0.0252685546875, -0.0419921875, -0.044036865234375, -0.0309906005859375, -0.06658935546875, -0.0008139610290527344, 0.0276641845703125, -0.034210205078125, -0.022308349609375, -0.04705810546875, 0.0643310546875, 0.06146240234375, -0.0009059906005859375, -0.06842041015625, 0.0477294921875, -0.07818603515625, 0.0975341796875, 0.014617919921875, -0.034820556640625, -0.006732940673828125, -0.030792236328125, -0.006771087646484375, 0.0184326171875, -0.037109375, -0.0029087066650390625, 0.025054931640625, 0.00653076171875, 0.005245208740234375, -0.0038318634033203125, 0.025726318359375, 0.04229736328125, -0.00693511962890625, 0.06597900390625, -0.0305328369140625, -0.0278167724609375, -0.0118560791015625, -0.0291900634765625, 0.006694793701171875, 0.002498626708984375, 0.0205078125, -0.0743408203125, -0.0513916015625, -0.0140380859375, -0.0023174285888671875, 0.0019626617431640625, -0.040924072265625, -0.0305023193359375, 0.0316162109375, 0.0026397705078125, -0.0269775390625, -0.030029296875, 0.0072021484375, -0.0050811767578125, 0.01520538330078125, 0.0019855499267578125, -0.0250244140625, -0.01702880859375, 0.0247039794921875, 0.021331787109375, 0.01546478271484375, -0.00011372566223144531, 0.00569915771484375, 0.016754150390625, 0.0364990234375, 0.0294189453125, -0.019134521484375, -0.0102691650390625, -0.01447296142578125, 0.048675537109375, 0.0236968994140625, -0.0236968994140625, 0.062225341796875, 0.044158935546875, 0.00812530517578125, -0.0227508544921875, -0.0048370361328125, -0.0015993118286132812, 0.014007568359375, 0.09088134765625, 0.055084228515625, 0.0198974609375, -0.06390380859375, -0.05523681640625, -0.048187255859375, -0.007137298583984375, 0.003757476806640625, 0.0301513671875, -0.08099365234375, 0.01450347900390625, 0.033935546875, -0.0178375244140625, 0.052642822265625, 0.01702880859375, -0.0171966552734375, 0.016632080078125, 0.0200042724609375, -0.023651123046875, -0.060699462890625, -0.004711151123046875, -0.0011873245239257812, -0.015777587890625, -0.0173797607421875, -0.018707275390625, -0.0005583763122558594, -0.0270233154296875, 0.019195556640625, -0.00995635986328125, 0.003147125244140625, -0.037994384765625, 0.01849365234375, 0.007526397705078125, 0.03607177734375, -0.014892578125, -0.006710052490234375, -0.0227203369140625, 0.022491455078125, 0.00508880615234375, 0.025360107421875, 0.003772735595703125, -0.00238800048828125, 0.01788330078125, 0.02166748046875, -0.0186767578125, 0.021697998046875, -0.0211029052734375, 0.036895751953125, 0.005702972412109375, -0.01259613037109375, 0.039520263671875, -0.01837158203125, -0.00348663330078125, 0.0176849365234375, -0.0024089813232421875, -0.05181884765625, 0.054595947265625, -0.066162109375, 0.022247314453125, 0.0182342529296875 ]
aea448d1cac7ddd265549f7e24d772279bd7650d
Wordpress Stackexchange Q: How to prevent items to be added in cart for specific condition in wordpress I am creating eCommerce portal in wordpress using woocommerce.I have certain condition for products to be added in cart category wise. I want to add condition if (category 1) then add only 2 items in cart or if(category 2) then add only 3 items in cart etc... Here I am using // Validate add to cart function add_the_limited_items_validation( $passed ) { if ( $quantity>2 )) { wc_add_notice( __( 'You are not allowed to add more than 2 product for category..', 'woocommerce' ), 'error' ); $passed = false; } return $passed; } add_action( 'woocommerce_add_to_cart_validation','add_the_limited_items_validation', 10, 5 ); Here, I am not able to add condition category wise.Please help and suggest for same.Thanks A: please refer below code.you are passing only 1 parameters instead of 3 parameter. function filter_woocommerce_add_to_cart_validation( $passed, $product_id, $quantity ) { if ( $quantity>2 )) { wc_add_notice( __( 'You are not allowed to add more than 2 product for category..', 'woocommerce' ), 'error' ); $passed = false; } return $passed; }; // add the filter add_filter( 'woocommerce_add_to_cart_validation', 'filter_woocommerce_add_to_cart_validation', 10, 3 ); reference: http://hookr.io/filters/woocommerce_add_to_cart_validation/
Q: How to prevent items to be added in cart for specific condition in wordpress I am creating eCommerce portal in wordpress using woocommerce.I have certain condition for products to be added in cart category wise. I want to add condition if (category 1) then add only 2 items in cart or if(category 2) then add only 3 items in cart etc... Here I am using // Validate add to cart function add_the_limited_items_validation( $passed ) { if ( $quantity>2 )) { wc_add_notice( __( 'You are not allowed to add more than 2 product for category..', 'woocommerce' ), 'error' ); $passed = false; } return $passed; } add_action( 'woocommerce_add_to_cart_validation','add_the_limited_items_validation', 10, 5 ); Here, I am not able to add condition category wise.Please help and suggest for same.Thanks A: please refer below code.you are passing only 1 parameters instead of 3 parameter. function filter_woocommerce_add_to_cart_validation( $passed, $product_id, $quantity ) { if ( $quantity>2 )) { wc_add_notice( __( 'You are not allowed to add more than 2 product for category..', 'woocommerce' ), 'error' ); $passed = false; } return $passed; }; // add the filter add_filter( 'woocommerce_add_to_cart_validation', 'filter_woocommerce_add_to_cart_validation', 10, 3 ); reference: http://hookr.io/filters/woocommerce_add_to_cart_validation/
wordpress
{ "language": "en", "length": 189, "provenance": "stackexchange_00019.jsonl.gz:473388", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257259" }
[ 0.049957275390625, 0.0033283233642578125, -0.022430419921875, -0.08172607421875, 0.033355712890625, -0.0214385986328125, 0.0032939910888671875, 0.0002942085266113281, -0.004329681396484375, -0.002620697021484375, -0.050872802734375, -0.0096588134765625, 0.01145172119140625, -0.0230865478515625, 0.022064208984375, -0.04937744140625, 0.002254486083984375, 0.0323486328125, 0.02001953125, -0.00539398193359375, -0.00516510009765625, 0.004322052001953125, -0.0038051605224609375, 0.06842041015625, 0.00897979736328125, -0.0001697540283203125, 0.056182861328125, -0.053253173828125, 0.0323486328125, -0.0125579833984375, 0.010040283203125, -0.035675048828125, -0.0008792877197265625, 0.0294342041015625, -0.035125732421875, -0.01629638671875, 0.03167724609375, 0.004302978515625, -0.0025634765625, 0.04437255859375, 0.046356201171875, -0.0298004150390625, 0.0097198486328125, 0.0018157958984375, -0.00409698486328125, -0.026397705078125, 0.041046142578125, -0.03790283203125, 0.022857666015625, -0.0308837890625, 0.0052337646484375, 0.043212890625, 0.0193023681640625, -0.03692626953125, -0.0062713623046875, 0.01715087890625, -0.030914306640625, 0.018890380859375, 0.02166748046875, 0.0282745361328125, -0.00902557373046875, 0.004161834716796875, -0.00730133056640625, -0.0379638671875, 0.02203369140625, 0.0157318115234375, -0.00919342041015625, 0.03521728515625, -0.030548095703125, 0.013885498046875, 0.01062774658203125, -0.052459716796875, 0.00817108154296875, 0.042083740234375, -0.05078125, -0.04571533203125, -0.006717681884765625, -0.0298614501953125, 0.063232421875, 0.007686614990234375, 0.01763916015625, -0.01861572265625, 0.01290130615234375, -0.022064208984375, 0.02899169921875, 0.0248260498046875, -0.01137542724609375, -0.00731658935546875, 0.006023406982421875, -0.0229644775390625, -0.00260162353515625, -0.0272979736328125, -0.0235595703125, 0.03704833984375, 0.0034637451171875, -0.041473388671875, 0.02947998046875, 0.0293426513671875, 0.017669677734375, 0.035491943359375, 0.01175689697265625, -0.05877685546875, 0.056976318359375, -0.04150390625, 0.0135345458984375, 0.04449462890625, -0.017364501953125, -0.00664520263671875, 0.0379638671875, 0.020355224609375, 0.01464080810546875, 0.037994384765625, 0.0095367431640625, -0.061248779296875, 0.00691986083984375, -0.0030364990234375, -0.0283050537109375, 0.0275421142578125, 0.03076171875, -0.018951416015625, -0.0142059326171875, 0.007598876953125, 0.006000518798828125, -0.02716064453125, 0.0186309814453125, -0.00885009765625, -0.01538848876953125, -0.01129913330078125, 0.028228759765625, -0.0018711090087890625, -0.033935546875, 0.02618408203125, 0.047882080078125, 0.017547607421875, -0.0014333724975585938, -0.00322723388671875, 0.04241943359375, 0.0458984375, 0.01018524169921875, 0.01003265380859375, -0.01212310791015625, -0.01068878173828125, -0.01666259765625, -0.01230621337890625, 0.0411376953125, 0.0110321044921875, -0.001819610595703125, 0.0147705078125, 0.0310211181640625, -0.00605010986328125, 0.039276123046875, -0.05816650390625, 0.05462646484375, 0.0002803802490234375, -0.046173095703125, 0.046417236328125, -0.0162353515625, 0.0163116455078125, -0.07623291015625, -0.00667572021484375, -0.018096923828125, -0.0094757080078125, 0.0208587646484375, -0.087646484375, -0.0989990234375, 0.0262603759765625, -0.06414794921875, -0.0155029296875, 0.0178985595703125, 0.06842041015625, -0.0369873046875, 0.0175628662109375, 0.034423828125, -0.007648468017578125, -0.03533935546875, -0.01308441162109375, 0.01056671142578125, 0.037017822265625, 0.0246124267578125, 0.039276123046875, 0.00021767616271972656, -0.028076171875, 0.0992431640625, -0.0249481201171875, -0.05450439453125, -0.0003211498260498047, 0.024871826171875, 0.029876708984375, 0.0087127685546875, 0.00046706199645996094, 0.0760498046875, 0.007328033447265625, -0.010467529296875, -0.0482177734375, -0.040496826171875, -0.059417724609375, 0.05975341796875, -0.016448974609375, -0.005214691162109375, 0.0821533203125, 0.07135009765625, -0.031494140625, 0.034942626953125, -0.05682373046875, -0.041900634765625, -0.036865234375, -0.0083770751953125, 0.01959228515625, -0.06597900390625, 0.006317138671875, 0.051116943359375, 0.0028858184814453125, -0.058319091796875, 0.0299224853515625, 0.0261077880859375, -0.024017333984375, -0.049591064453125, 0.06585693359375, -0.016326904296875, 0.0628662109375, 0.003963470458984375, -0.054656982421875, 0.01525115966796875, -0.033416748046875, 0.040008544921875, -0.0035343170166015625, -0.0029926300048828125, -0.0080718994140625, 0.0479736328125, 0.037811279296875, -0.01216888427734375, -0.0270233154296875, 0.08880615234375, 0.02825927734375, -0.0252685546875, 0.0059356689453125, 0.00799560546875, -0.11083984375, -0.01093292236328125, 0.07330322265625, 0.0258941650390625, 0.032318115234375, -0.00905609130859375, 0.01169586181640625, 0.0765380859375, -0.07958984375, -0.034881591796875, 0.02520751953125, -0.0318603515625, -0.00884246826171875, 0.01006317138671875, 0.031158447265625, 0.02740478515625, -0.01861572265625, 0.0186309814453125, 0.038299560546875, -0.044586181640625, -0.04742431640625, 0.01047515869140625, 0.002109527587890625, -0.002166748046875, -0.06719970703125, -0.007114410400390625, -0.0270538330078125, 0.018310546875, 0.0040740966796875, 0.032318115234375, 0.0054779052734375, 0.005100250244140625, -0.0026607513427734375, -0.004634857177734375, -0.06365966796875, 0.0032939910888671875, -0.00862884521484375, -0.02239990234375, 0.00753021240234375, -0.0404052734375, 0.0261688232421875, 0.0273590087890625, -0.0147552490234375, -0.0013303756713867188, 0.059906005859375, 0.019927978515625, -0.0145111083984375, -0.01397705078125, -0.054168701171875, -0.007755279541015625, -0.01453399658203125, -0.02520751953125, -0.0501708984375, 0.00611114501953125, -0.0241241455078125, -0.05926513671875, 0.0214385986328125, -0.0196380615234375, -0.056182861328125, -0.005466461181640625, 0.0079498291015625, 0.03216552734375, -0.041259765625, -0.017486572265625, 0.0286407470703125, -0.0283355712890625, 0.01369476318359375, 0.01010894775390625, 0.01568603515625, 0.01434326171875, 0.0012998580932617188, -0.01654052734375, 0.0210723876953125, -0.0701904296875, 0.010955810546875, 0.0192718505859375, 0.005733489990234375, 0.029998779296875, -0.0133056640625, 0.0158233642578125, 0.02294921875, -0.00786590576171875, -0.027801513671875, -0.03533935546875, -0.037750244140625, 0.035980224609375, 0.00519561767578125, 0.00418853759765625, -0.01654052734375, 0.0210418701171875, 0.0174713134765625, -0.06695556640625, -0.005260467529296875, 0.0003120899200439453, -0.034454345703125, 0.003398895263671875, 0.037933349609375, -0.0064239501953125, -0.0151214599609375, 0.0029010772705078125, 0.1065673828125, 0.006343841552734375, -0.07257080078125, -0.000881195068359375, -0.0264434814453125, -0.0238189697265625, 0.037506103515625, -0.0234527587890625, -0.03192138671875, -0.017364501953125, -0.009552001953125, 0.0270233154296875, -0.003047943115234375, 0.0172576904296875, 0.01123809814453125, 0.0104827880859375, 0.004474639892578125, 0.029693603515625, -0.0010890960693359375, -0.0164947509765625, -0.0008339881896972656, 0.00984954833984375, -0.045806884765625, -0.0158538818359375, 0.00959014892578125, -0.036865234375, 0.019073486328125, 0.0343017578125, -0.030426025390625, 0.01702880859375, -0.0250244140625, 0.0088958740234375, 0.01418304443359375, -0.01465606689453125, -0.0139617919921875, 0.0128326416015625, 0.00225067138671875, 0.0036373138427734375, -0.002590179443359375, 0.03863525390625, -0.016204833984375, -0.0110626220703125, 0.00981903076171875, -0.0030193328857421875, -0.011505126953125, -0.0043487548828125, -0.03546142578125, -0.0188751220703125, 0.03369140625, -0.004364013671875, 0.040771484375, -0.043853759765625, -0.0217742919921875, -0.027679443359375, 0.0645751953125, -0.005260467529296875, -0.051513671875, -0.02117919921875, 0.033203125, 0.0011434555053710938, -0.064453125, 0.061676025390625, -0.032623291015625, 0.0169677734375, 0.00775146484375, -0.021942138671875, 0.0024471282958984375, -0.0010709762573242188, -0.06646728515625, 0.00905609130859375, -0.0239715576171875, 0.04852294921875, -0.0772705078125, 0.0031032562255859375, 0.06109619140625, -0.0037689208984375, 0.0085906982421875, -0.043670654296875, -0.017791748046875, -0.051605224609375, -0.03466796875, 0.0292816162109375, 0.046173095703125, -0.01078033447265625, 0.003818511962890625, -0.02484130859375, 0.04376220703125, -0.0012693405151367188, 0.0245208740234375, -0.01464080810546875, 0.0191192626953125, -0.0074005126953125, -0.046630859375, -0.0162811279296875, -0.033355712890625, -0.007289886474609375, -0.04705810546875, -0.0239410400390625, -0.0173797607421875, -0.0247344970703125, 0.034027099609375, -0.001708984375, -0.00460052490234375, -0.0987548828125, -0.04425048828125, -0.00418853759765625, -0.0135040283203125, -0.0017642974853515625, -0.0181732177734375, -0.035400390625, -0.07073974609375, 0.03497314453125, -0.0513916015625, -0.021514892578125, 0.0114288330078125, 0.07135009765625, 0.0186004638671875, 0.0031986236572265625, -0.0285186767578125, 0.0089111328125, 0.020294189453125, 0.0070037841796875, 0.0129852294921875, -0.026336669921875, -0.008056640625, 0.0228424072265625, -0.0131683349609375, -0.0175628662109375, -0.0120697021484375, 0.060699462890625, -0.0027313232421875, -0.0172882080078125, -0.005786895751953125, -0.044036865234375, 0.0469970703125, 0.003589630126953125, -0.0217742919921875, 0.000736236572265625, -0.018157958984375, 0.0016269683837890625, 0.00910186767578125, 0.016754150390625, 0.0009675025939941406, 0.01061248779296875, -0.0020599365234375, 0.01204681396484375, 0.024261474609375, 0.01702880859375, 0.007778167724609375, -0.0194244384765625, -0.011383056640625, 0.01236724853515625, -0.03125, -0.01470184326171875, -0.0241546630859375, 0.0220489501953125, 0.0103759765625, 0.0037746429443359375, -0.0109710693359375, 0.01049041748046875, -0.04083251953125, -0.00934600830078125, -0.03289794921875, -0.0167083740234375, 0.01419830322265625, -0.0020236968994140625, 0.01039886474609375, -0.01165771484375, 0.017852783203125, -0.0175018310546875, -0.0200347900390625, 0.0218505859375, -0.02874755859375, -0.034820556640625, -0.0220184326171875, 0.00228118896484375, 0.021697998046875, -0.0247344970703125, 0.007617950439453125, 0.01253509521484375, 0.03948974609375, -0.01032257080078125, -0.004322052001953125, 0.046112060546875, 0.053314208984375, 0.0240020751953125, 0.0231781005859375, -0.0211944580078125, -0.0240936279296875, 0.0108642578125, -0.007297515869140625, -0.0311126708984375, -0.051849365234375, 0.00972747802734375, 0.00829315185546875, -0.033050537109375, 0.00757598876953125, 0.0372314453125, 0.047882080078125, 0.0005097389221191406, -0.0439453125, -0.02587890625, 0.016082763671875, 0.006397247314453125, -0.006374359130859375, -0.01419830322265625, 0.00345611572265625, 0.010223388671875, 0.0121002197265625, -0.00336456298828125, -0.00252532958984375, 0.0207061767578125, -0.0149078369140625, -0.0240020751953125, -0.001155853271484375, -0.0382080078125, -0.01506805419921875, 0.0010509490966796875, -0.01143646240234375, -0.005413055419921875, -0.004146575927734375, -0.035308837890625, 0.0015115737915039062, -0.0330810546875, 0.031036376953125, -0.00290679931640625, -0.023406982421875, 0.0017242431640625, 0.0216522216796875, 0.022857666015625, 0.015472412109375, 0.018463134765625, -0.041229248046875, -0.022430419921875, -0.056549072265625, -0.03948974609375, 0.011199951171875, -0.020721435546875, 0.030059814453125, -0.005672454833984375, 0.017791748046875, -0.016632080078125, -0.014892578125, -0.0149078369140625, 0.0052947998046875, 0.00588226318359375, 0.0033092498779296875, -0.0180511474609375, 0.044281005859375, 0.022796630859375, 0.0186920166015625, 0.005947113037109375, -0.0055694580078125, -0.005950927734375, -0.01226806640625, 0.006893157958984375, -0.032470703125, -0.03472900390625, 0.006195068359375, -0.0650634765625, 0.020721435546875, 0.05816650390625, -0.01421356201171875, -0.00833892822265625, -0.01617431640625, 0.002658843994140625, -0.00823211669921875, 0.0077056884765625, 0.005107879638671875, -0.03656005859375, 0.04571533203125, -0.028594970703125, 0.01715087890625, 0.00867462158203125, 0.038604736328125, 0.01259613037109375, -0.040802001953125, 0.02386474609375, 0.01056671142578125, -0.027099609375, 0.048797607421875, 0.048553466796875, 0.004550933837890625, 0.037017822265625, -0.0146484375, 0.0234832763671875, -0.0021648406982421875, 0.00299835205078125, -0.0027942657470703125, 0.020782470703125, 0.062744140625, 0.004329681396484375, -0.039154052734375, 0.0458984375, -0.0347900390625, 0.0085906982421875, 0.049346923828125, 0.04705810546875, -0.07666015625, 0.004764556884765625, -0.00186920166015625, 0.004184722900390625, 0.034576416015625, -0.01103973388671875, 0.0128631591796875, 0.01018524169921875, 0.039825439453125, 0.0016374588012695312, -0.01360321044921875, 0.022918701171875, -0.00942230224609375, 0.0141448974609375, 0.00849151611328125, 0.03564453125, -0.007659912109375, -0.0806884765625, -0.0204315185546875, 0.055328369140625, -0.0289459228515625, -0.018585205078125, -0.006031036376953125, 0.031707763671875, -0.044189453125, -0.071044921875, 0.020660400390625, 0.0245513916015625, -0.00666046142578125, 0.01727294921875, -0.002490997314453125, 0.03643798828125, 0.023681640625, 0.003787994384765625, -0.005542755126953125, -0.008697509765625, 0.00011998414993286133, -0.0226287841796875, -0.0079803466796875, 0.01337432861328125, 0.01456451416015625, -0.081787109375, 0.00908660888671875, -0.060943603515625, 0.0220489501953125, 0.0236663818359375, 0.037139892578125, -0.017791748046875, -0.010986328125, -0.022125244140625, 0.049896240234375, 0.0004200935363769531, 0.00414276123046875, -0.000362396240234375, 0.037384033203125, -0.03363037109375, -0.0024929046630859375, 0.0218658447265625, -0.0069580078125, -0.020477294921875, 0.0090484619140625, -0.08026123046875, 0.036651611328125, -0.01450347900390625, 0.03912353515625, -0.003284454345703125, -0.0009293556213378906, 0.0092010498046875, -0.016876220703125, -0.0294189453125, 0.031494140625, 0.0124359130859375, 0.0045623779296875, -0.01477813720703125, -0.011474609375, -0.004314422607421875, 0.0283660888671875, 0.0259552001953125, 0.0029144287109375, -0.01062774658203125, -0.0006995201110839844, 0.0364990234375, 0.03277587890625, 0.0005478858947753906, 0.02093505859375, 0.01195526123046875, -0.06597900390625, 0.0404052734375, 0.009124755859375, 0.0380859375, -0.033966064453125, 0.03424072265625, 0.02227783203125, -0.025726318359375, -0.0308380126953125, -0.039794921875, 0.05230712890625, 0.0031566619873046875, -0.041015625, -0.01113128662109375, -0.04571533203125, -0.013885498046875, 0.0550537109375, 0.00034427642822265625, 0.035552978515625, 0.01215362548828125, -0.023529052734375, 0.037567138671875, -0.0091094970703125, 0.0677490234375, 0.0758056640625, 0.0178375244140625, 0.09747314453125, 0.052886962890625, 0.059661865234375, 0.0160369873046875, -0.0095367431640625, -0.01189422607421875, 0.0303497314453125, 0.0273590087890625, 0.0251617431640625, 0.046783447265625, 0.028228759765625, -0.01001739501953125, -0.01305389404296875, -0.01214599609375, 0.0023708343505859375, -0.0025920867919921875, 0.006618499755859375, -0.022186279296875, 0.004985809326171875, -0.007564544677734375, 0.0162353515625, -0.06475830078125, 0.00838470458984375, 0.043914794921875, 0.0225982666015625, 0.0020923614501953125, 0.0013980865478515625, -0.0439453125, -0.0164794921875, -0.0478515625, -0.0031719207763671875, 0.0169677734375, 0.0927734375, 0.020599365234375, 0.061065673828125, -0.058441162109375, -0.054168701171875, 0.006328582763671875, 0.024658203125, 0.0131988525390625, -0.0184326171875, -0.00930023193359375, -0.03363037109375, 0.03399658203125, 0.0197296142578125, -0.0095062255859375, 0.0183258056640625, 0.048583984375, 0.06463623046875, -0.007358551025390625, -0.0153350830078125, 0.056976318359375, -0.01458740234375, -0.0207977294921875, -0.03546142578125, -0.01262664794921875, 0.003082275390625, -0.00844573974609375, 0.0012178421020507812, 0.00859832763671875, 0.00856781005859375, -0.00992584228515625, -0.0221405029296875, 0.00884246826171875, -0.0498046875, 0.029327392578125, 0.013641357421875, 0.04058837890625, 0.0186004638671875, -0.084228515625, -0.00833892822265625, -0.026824951171875, -0.0243988037109375, 0.010650634765625, 0.028228759765625, -0.03900146484375, 0.055999755859375, 0.03680419921875, -0.049957275390625, 0.002960205078125, 0.0243072509765625, 0.0252838134765625, -0.045074462890625, -0.016632080078125, -0.013580322265625, -0.0406494140625, 0.0009031295776367188, -0.017822265625, 0.004001617431640625, 0.049346923828125, 0.0241546630859375, 0.0270538330078125, 0.0247039794921875, -0.0244598388671875, -0.0009026527404785156, -0.00328826904296875, -0.02178955078125, 0.0291748046875, 0.00958251953125, -0.019256591796875, -0.005615234375, 0.034210205078125, -0.0247955322265625, 0.04058837890625, -0.05902099609375, -0.0223846435546875, -0.05322265625, 0.0357666015625, -0.00811767578125, 0.06524658203125, -0.0225372314453125, -0.07470703125, -0.08477783203125, 0.004886627197265625, 0.015655517578125, 0.04681396484375, 0.0009632110595703125, 0.0013027191162109375, -0.03839111328125, -0.0325927734375, 0.00783538818359375, -0.01154327392578125, -0.0036563873291015625, 0.037139892578125, -0.02978515625, 0.01611328125, 0.00827789306640625, -0.0166015625, 0.01055908203125, 0.01451873779296875, -0.01409149169921875, -0.00002092123031616211, -0.06317138671875, -0.0244598388671875, 0.0311126708984375, -0.015167236328125, -0.044525146484375, -0.0025234222412109375, 0.048828125, -0.04437255859375, -0.006500244140625, 0.02593994140625, -0.0303955078125, -0.027679443359375, 0.006290435791015625, -0.004840850830078125, 0.00952911376953125, -0.0098724365234375, -0.0073394775390625, 0.027740478515625, 0.037261962890625, -0.0002999305725097656, -0.045135498046875, 0.01074981689453125, -0.0170135498046875, 0.07977294921875, -0.005519866943359375, 0.01247406005859375, -0.01267242431640625, -0.03216552734375, -0.04962158203125, 0.002437591552734375, -0.051605224609375, 0.00860595703125, -0.0213623046875, -0.017486572265625, 0.0215301513671875, -0.0144195556640625, -0.037750244140625, -0.0435791015625, -0.01348876953125, -0.00945281982421875, 0.03631591796875, -0.0281524658203125, 0.03643798828125, -0.00920867919921875, -0.0023555755615234375, -0.0462646484375, -0.011077880859375, -0.03546142578125, 0.0145721435546875, -0.0136260986328125, -0.0294647216796875, -0.01042938232421875, -0.042877197265625, -0.06524658203125, 0.079833984375, -0.0234222412109375, -0.01441192626953125, -0.04803466796875, -0.0222015380859375, -0.059906005859375, 0.0760498046875, -0.0023937225341796875, -0.027923583984375, 0.00135040283203125, 0.08062744140625, 0.0010309219360351562, -0.0237274169921875, 0.0226593017578125, -0.0338134765625, -0.0262908935546875, 0.0232391357421875, 0.044189453125, 0.00791168212890625, 0.00872802734375, -0.0343017578125, 0.052215576171875, 0.046417236328125, -0.01535797119140625, 0.025146484375, 0.01349639892578125, -0.0218658447265625, 0.0177154541015625, -0.039794921875, -0.020721435546875, -0.0626220703125, 0.04248046875, -0.0197906494140625, 0.0123291015625, 0.0259552001953125, -0.0281829833984375, -0.028717041015625, 0.0160675048828125, 0.005886077880859375, -0.00896453857421875, -0.02789306640625, 0.01105499267578125, -0.01061248779296875, 0.004108428955078125, -0.0006275177001953125, 0.0279083251953125, -0.0266265869140625, -0.0205230712890625, 0.0036525726318359375, 0.006076812744140625, -0.0849609375, 0.0244598388671875, -0.0269012451171875, -0.01311492919921875, -0.0036029815673828125, -0.0228424072265625, -0.00865936279296875, -0.0201416015625, -0.0212249755859375, -0.0292205810546875, 0.00666046142578125, -0.029327392578125, 0.002803802490234375, -0.01390838623046875, 0.03253173828125, -0.01763916015625, 0.01041412353515625, -0.031036376953125, 0.010101318359375, 0.00839996337890625, -0.01258087158203125, -0.00797271728515625, 0.01371002197265625, 0.01474761962890625, 0.06689453125, -0.0031795501708984375, 0.01265716552734375, -0.01549530029296875, 0.02862548828125, 0.0187530517578125, -0.0009088516235351562, 0.045501708984375, -0.0159454345703125, -0.007297515869140625, 0.014617919921875, -0.0236358642578125, -0.044708251953125, 0.018768310546875, 0.01308441162109375, 0.01158905029296875, 0.0145721435546875 ]
a0449f0db86b1067d45f5f00fbaafc0db525370d
Wordpress Stackexchange Q: How to change "Shipping Calculator "field label on Cart Page - woocommerce? I actually have two questions. 1) how do I change the label "shipping calculator" to say something else on my cart page? 2) How do I make the item text show up under shipping contents. Right now it is there but it is hidden or colored white for some reason? See images attached Item text not showing: http://imgur.com/SaPaEeh With text highlighted: http://imgur.com/3TLuerA Thanks for your time, Reed A: Add this to your functions.php: add_filter( 'gettext', 'woocomerce_text_strings', 20, 3 ); function woocomerce_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'shipping calculator' : $translated_text = __( 'Calculate Shipping', 'woocommerce' ); break; } return $translated_text; }
Q: How to change "Shipping Calculator "field label on Cart Page - woocommerce? I actually have two questions. 1) how do I change the label "shipping calculator" to say something else on my cart page? 2) How do I make the item text show up under shipping contents. Right now it is there but it is hidden or colored white for some reason? See images attached Item text not showing: http://imgur.com/SaPaEeh With text highlighted: http://imgur.com/3TLuerA Thanks for your time, Reed A: Add this to your functions.php: add_filter( 'gettext', 'woocomerce_text_strings', 20, 3 ); function woocomerce_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'shipping calculator' : $translated_text = __( 'Calculate Shipping', 'woocommerce' ); break; } return $translated_text; }
wordpress
{ "language": "en", "length": 120, "provenance": "stackexchange_00019.jsonl.gz:473398", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257283" }
[ -0.019378662109375, 0.004436492919921875, -0.006072998046875, 0.03436279296875, -0.0249176025390625, -0.0117645263671875, 0.01436614990234375, -0.04229736328125, 0.03411865234375, 0.013916015625, -0.062255859375, -0.0033626556396484375, -0.031158447265625, -0.0017566680908203125, -0.0285491943359375, -0.060638427734375, 0.033050537109375, -0.01776123046875, -0.0061798095703125, -0.0003857612609863281, -0.02093505859375, 0.0233154296875, -0.00927734375, 0.0589599609375, 0.03570556640625, -0.030242919921875, 0.12432861328125, -0.004901885986328125, 0.044097900390625, -0.000507354736328125, 0.0306549072265625, -0.06494140625, 0.006580352783203125, 0.00960540771484375, -0.00856781005859375, 0.0014314651489257812, 0.005977630615234375, 0.0072021484375, 0.0134429931640625, 0.025390625, 0.050994873046875, -0.0227508544921875, -0.045257568359375, 0.003475189208984375, -0.0308990478515625, -0.024169921875, 0.017486572265625, -0.0289154052734375, 0.00794219970703125, -0.007556915283203125, -0.0107421875, 0.049041748046875, -0.004756927490234375, -0.0017938613891601562, -0.01042938232421875, 0.0007634162902832031, -0.0921630859375, 0.08941650390625, 0.00738525390625, 0.019775390625, 0.0188446044921875, 0.0167999267578125, -0.01555633544921875, 0.0254974365234375, -0.011871337890625, 0.0035419464111328125, -0.01110076904296875, -0.007732391357421875, 0.01560211181640625, 0.0010251998901367188, 0.0200347900390625, -0.01221466064453125, 0.038055419921875, -0.00679779052734375, -0.0219573974609375, -0.023773193359375, 0.0166168212890625, -0.0131378173828125, 0.048004150390625, -0.034515380859375, 0.0743408203125, 0.01279449462890625, 0.009521484375, 0.0181732177734375, 0.001163482666015625, -0.00731658935546875, 0.0218505859375, -0.0298614501953125, -0.0255889892578125, -0.029876708984375, -0.017242431640625, -0.005664825439453125, -0.0909423828125, 0.0280303955078125, 0.0144805908203125, -0.0325927734375, 0.01149749755859375, -0.00743865966796875, -0.01233673095703125, -0.01163482666015625, 0.0195159912109375, -0.037933349609375, 0.0221710205078125, -0.007350921630859375, 0.0113525390625, 0.037445068359375, -0.0110626220703125, 0.0124359130859375, 0.047332763671875, 0.01035308837890625, 0.004413604736328125, 0.01568603515625, -0.02545166015625, -0.0196075439453125, -0.038055419921875, 0.000009775161743164062, -0.05828857421875, 0.0233612060546875, 0.0137176513671875, 0.0017633438110351562, 0.00445556640625, 0.00798797607421875, -0.0103912353515625, -0.00907135009765625, 0.0014753341674804688, -0.02783203125, -0.015869140625, 0.016754150390625, 0.03485107421875, 0.0197906494140625, -0.01800537109375, -0.01169586181640625, 0.0239105224609375, 0.053192138671875, 0.0259552001953125, -0.0108642578125, 0.01360321044921875, 0.007511138916015625, 0.003719329833984375, 0.00907135009765625, 0.037872314453125, -0.0333251953125, -0.0377197265625, 0.019683837890625, -0.0139007568359375, 0.0117950439453125, 0.013580322265625, 0.0217742919921875, -0.019439697265625, -0.052520751953125, 0.037506103515625, -0.006404876708984375, 0.01486968994140625, 0.036041259765625, -0.0167999267578125, 0.06402587890625, 0.01678466796875, 0.0214691162109375, -0.0714111328125, 0.0033111572265625, 0.0123443603515625, -0.03204345703125, 0.0062103271484375, -0.01259613037109375, -0.05438232421875, 0.056121826171875, -0.0450439453125, -0.01134490966796875, 0.0206146240234375, -0.00238800048828125, 0.0146942138671875, 0.047698974609375, 0.0277099609375, 0.00695037841796875, 0.00946044921875, -0.0187225341796875, 0.0015506744384765625, 0.050567626953125, 0.02081298828125, 0.025604248046875, 0.0025005340576171875, -0.037078857421875, 0.07781982421875, -0.0234527587890625, -0.0183868408203125, -0.031982421875, 0.0187530517578125, -0.01049041748046875, -0.0079498291015625, 0.0275726318359375, 0.032318115234375, 0.03375244140625, -0.004825592041015625, -0.01611328125, 0.00220489501953125, 0.005702972412109375, -0.0379638671875, 0.004039764404296875, -0.01055908203125, 0.0038318634033203125, -0.0276031494140625, 0.0187835693359375, -0.02642822265625, 0.04034423828125, 0.01483917236328125, -0.00817108154296875, 0.019195556640625, 0.005908966064453125, -0.033477783203125, -0.00009047985076904297, 0.014129638671875, -0.022186279296875, -0.01483154296875, 0.004146575927734375, 0.005649566650390625, -0.0304718017578125, -0.029876708984375, 0.06622314453125, -0.007457733154296875, 0.03070068359375, 0.0228729248046875, -0.059722900390625, 0.031951904296875, 0.023895263671875, -0.0157318115234375, -0.0101318359375, -0.016021728515625, -0.00827789306640625, 0.03192138671875, -0.0294189453125, 0.07281494140625, 0.0244140625, 0.046844482421875, 0.019317626953125, -0.024139404296875, -0.006870269775390625, 0.006439208984375, -0.0718994140625, 0.0037593841552734375, 0.05499267578125, 0.026947021484375, 0.0271453857421875, -0.01059722900390625, -0.019561767578125, 0.068603515625, -0.008941650390625, 0.01200103759765625, -0.023193359375, 0.0185546875, 0.04345703125, -0.034820556640625, -0.0054168701171875, 0.0254364013671875, -0.045745849609375, 0.008209228515625, 0.0443115234375, -0.0037479400634765625, -0.01953125, 0.00591278076171875, 0.0226287841796875, -0.001110076904296875, 0.0216064453125, 0.005138397216796875, -0.000591278076171875, 0.0167388916015625, 0.01343536376953125, 0.0308990478515625, 0.01126861572265625, -0.03424072265625, 0.0233917236328125, 0.0139923095703125, -0.0171051025390625, -0.0115814208984375, -0.0265960693359375, -0.07501220703125, -0.00737762451171875, -0.020355224609375, 0.03887939453125, -0.038818359375, -0.042816162109375, -0.004062652587890625, -0.03460693359375, -0.041748046875, -0.000051140785217285156, 0.04681396484375, -0.03704833984375, 0.005096435546875, 0.0272369384765625, -0.051300048828125, -0.02099609375, 0.00653076171875, 0.0247650146484375, -0.05072021484375, 0.0285797119140625, -0.03955078125, -0.0168304443359375, 0.01528167724609375, -0.0195465087890625, 0.0162811279296875, -0.03204345703125, 0.01141357421875, 0.038848876953125, 0.006534576416015625, -0.037841796875, 0.02777099609375, -0.02752685546875, 0.0380859375, 0.0036487579345703125, -0.0037899017333984375, 0.0286407470703125, -0.07110595703125, 0.027313232421875, -0.00855255126953125, -0.0159149169921875, -0.0203704833984375, -0.04400634765625, -0.01163482666015625, -0.0279998779296875, -0.09686279296875, -0.089111328125, -0.055938720703125, -0.05291748046875, -0.0186920166015625, 0.026763916015625, -0.0216827392578125, 0.0232391357421875, 0.039215087890625, 0.0011701583862304688, -0.0218505859375, -0.0008726119995117188, -0.040496826171875, -0.038177490234375, -0.052734375, 0.02252197265625, -0.01421356201171875, 0.0104217529296875, -0.0035266876220703125, 0.01849365234375, -0.01512908935546875, -0.042999267578125, -0.0181732177734375, 0.039581298828125, 0.0102386474609375, -0.0035953521728515625, 0.04205322265625, -0.05804443359375, 0.01534271240234375, -0.001880645751953125, 0.009613037109375, 0.01480865478515625, -0.005237579345703125, -0.0296478271484375, 0.013824462890625, -0.0041961669921875, 0.01052093505859375, -0.01497650146484375, -0.0209197998046875, -0.0241851806640625, -0.041015625, -0.0770263671875, -0.0305023193359375, -0.00299835205078125, -0.0171356201171875, 0.026763916015625, -0.012847900390625, -0.0023784637451171875, -0.01383209228515625, 0.05010986328125, 0.04541015625, 0.00885772705078125, 0.0455322265625, -0.004085540771484375, -0.02471923828125, 0.0116729736328125, 0.009429931640625, -0.053253173828125, 0.018707275390625, -0.0151824951171875, 0.0208587646484375, 0.0189208984375, 0.0080108642578125, -0.01392364501953125, 0.0408935546875, -0.01367950439453125, -0.05267333984375, 0.0234222412109375, -0.05816650390625, -0.0001958608627319336, -0.01959228515625, -0.00812530517578125, 0.0208892822265625, 0.09661865234375, -0.003635406494140625, -0.036285400390625, 0.0100860595703125, 0.033416748046875, -0.038818359375, -0.0295562744140625, -0.0034961700439453125, -0.0020618438720703125, -0.059326171875, 0.03350830078125, 0.007099151611328125, -0.01568603515625, -0.024169921875, 0.0102691650390625, -0.051605224609375, -0.021636962890625, 0.024444580078125, -0.03619384765625, -0.04052734375, 0.06170654296875, -0.052978515625, 0.034454345703125, -0.0265045166015625, -0.0423583984375, -0.051177978515625, -0.04254150390625, 0.049957275390625, 0.061920166015625, -0.013885498046875, -0.017822265625, -0.018951416015625, 0.0540771484375, 0.0242919921875, 0.05206298828125, -0.030364990234375, -0.0221710205078125, 0.00897979736328125, -0.00304412841796875, -0.0164031982421875, -0.0027103424072265625, 0.012603759765625, 0.020965576171875, -0.035980224609375, 0.051513671875, 0.0033664703369140625, 0.034637451171875, 0.0555419921875, -0.04638671875, -0.0966796875, -0.06231689453125, -0.057525634765625, -0.01556396484375, -0.02142333984375, -0.02008056640625, -0.045257568359375, -0.08856201171875, 0.033782958984375, 0.005161285400390625, -0.01300048828125, 0.015655517578125, 0.048370361328125, 0.007343292236328125, -0.0216217041015625, -0.0634765625, -0.0159759521484375, 0.03875732421875, 0.049774169921875, -0.051910400390625, -0.016510009765625, -0.0447998046875, -0.00580596923828125, 0.0307769775390625, -0.007221221923828125, 0.01123046875, 0.055633544921875, 0.000457763671875, -0.00873565673828125, -0.0089569091796875, -0.0262603759765625, 0.0127410888671875, 0.003387451171875, -0.0269317626953125, -0.01313018798828125, -0.0076446533203125, 0.0361328125, -0.0271759033203125, 0.050201416015625, -0.00981903076171875, -0.052032470703125, 0.033294677734375, 0.0390625, -0.032989501953125, -0.0279998779296875, 0.01258087158203125, -0.01959228515625, -0.017608642578125, -0.0013284683227539062, -0.0044403076171875, -0.026214599609375, -0.02874755859375, -0.004352569580078125, 0.0289459228515625, -0.01268768310546875, 0.005565643310546875, 0.005580902099609375, 0.0245208740234375, 0.019927978515625, -0.038238525390625, -0.034515380859375, -0.010650634765625, -0.020904541015625, -0.0179595947265625, -0.003204345703125, 0.031524658203125, 0.0068511962890625, 0.0017690658569335938, 0.01248931884765625, -0.0303955078125, 0.004436492919921875, -0.03912353515625, 0.0222015380859375, 0.017791748046875, -0.00350189208984375, -0.0184478759765625, 0.07891845703125, -0.0013132095336914062, 0.0271759033203125, 0.003143310546875, -0.015228271484375, -0.0186309814453125, 0.044158935546875, 0.0181732177734375, -0.0218505859375, 0.01131439208984375, 0.01861572265625, 0.046142578125, -0.0012979507446289062, 0.01483917236328125, 0.01428985595703125, -0.0008335113525390625, 0.003772735595703125, -0.01172637939453125, 0.0098876953125, -0.0293731689453125, -0.01947021484375, 0.0039005279541015625, 0.03076171875, 0.0121307373046875, -0.0022563934326171875, -0.007617950439453125, -0.00466156005859375, 0.029571533203125, 0.005054473876953125, 0.00018084049224853516, -0.05010986328125, 0.0062103271484375, -0.0310821533203125, 0.017120361328125, -0.0302886962890625, -0.037109375, 0.0165557861328125, -0.005462646484375, -0.005977630615234375, -0.01456451416015625, -0.0263214111328125, -0.013275146484375, 0.0055694580078125, 0.042022705078125, -0.03204345703125, 0.0262908935546875, -0.0268402099609375, 0.003269195556640625, -0.031524658203125, 0.0184783935546875, 0.03009033203125, 0.0165557861328125, -0.04046630859375, 0.005550384521484375, -0.0450439453125, -0.026885986328125, -0.05303955078125, -0.03369140625, -0.039886474609375, -0.0069732666015625, 0.0125732421875, 0.0308074951171875, -0.0255279541015625, -0.04034423828125, -0.0233306884765625, -9.5367431640625e-7, 0.0205078125, 0.0704345703125, -0.0219879150390625, -0.0083160400390625, 0.0243682861328125, 0.01300048828125, -0.017120361328125, -0.027313232421875, 0.0054168701171875, -0.017181396484375, 0.00629425048828125, -0.0098419189453125, -0.02362060546875, -0.01953125, 0.002956390380859375, 0.018218994140625, 0.03778076171875, -0.01511383056640625, 0.0293731689453125, -0.006793975830078125, 0.015838623046875, -0.0303802490234375, 0.0158538818359375, -0.0340576171875, 0.019989013671875, -0.00238037109375, -0.02056884765625, 0.0013065338134765625, 0.0191802978515625, 0.01483154296875, -0.0074615478515625, -0.01328277587890625, 0.0029239654541015625, -0.0023555755615234375, -0.03857421875, 0.0623779296875, 0.08892822265625, -0.018585205078125, 0.029144287109375, 0.0262603759765625, -0.00438690185546875, 0.037261962890625, -0.01287078857421875, 0.0146942138671875, 0.0248260498046875, 0.05828857421875, 0.004425048828125, -0.01219940185546875, 0.0296630859375, -0.0221405029296875, -0.00859832763671875, 0.057159423828125, 0.059326171875, -0.0599365234375, -0.0167999267578125, 0.01219940185546875, 0.006008148193359375, 0.00830841064453125, 0.042205810546875, 0.0034961700439453125, -0.00250244140625, -0.0007867813110351562, -0.0187225341796875, 0.0201416015625, 0.031890869140625, 0.00464630126953125, 0.008026123046875, 0.0080413818359375, 0.036956787109375, -0.01123809814453125, -0.08123779296875, -0.0309906005859375, 0.04278564453125, -0.04400634765625, -0.04986572265625, -0.02606201171875, 0.051666259765625, -0.0184478759765625, -0.09033203125, 0.0333251953125, -0.00949859619140625, 0.00948333740234375, -0.04193115234375, 0.0246124267578125, 0.01116943359375, 0.033782958984375, -0.008544921875, -0.017425537109375, 0.02691650390625, -0.015533447265625, -0.0022125244140625, -0.0143890380859375, -0.00411224365234375, 0.02581787109375, -0.08648681640625, 0.004726409912109375, -0.0404052734375, 0.040374755859375, 0.005687713623046875, 0.0200042724609375, 0.00342559814453125, -0.01439666748046875, -0.01910400390625, 0.04638671875, 0.002315521240234375, -0.00015735626220703125, -0.01885986328125, 0.03851318359375, -0.0245361328125, 0.012908935546875, -0.00743865966796875, -0.0273284912109375, -0.058746337890625, -0.06488037109375, -0.036651611328125, 0.0816650390625, -0.0005006790161132812, -0.00447845458984375, -0.01007080078125, 0.043487548828125, -0.005245208740234375, 0.02532958984375, -0.00983428955078125, 0.03289794921875, -0.0130462646484375, 0.0621337890625, -0.051025390625, -0.026123046875, 0.025543212890625, 0.0714111328125, -0.01910400390625, -0.0225372314453125, 0.0227813720703125, 0.0282745361328125, 0.0718994140625, 0.03460693359375, 0.00823211669921875, -0.01336669921875, 0.01023101806640625, -0.019134521484375, 0.024871826171875, 0.0134429931640625, 0.030853271484375, -0.023712158203125, -0.00261688232421875, 0.03369140625, 0.0067901611328125, 0.007965087890625, 0.0038928985595703125, 0.0400390625, 0.033966064453125, -0.0219268798828125, -0.0003764629364013672, -0.07427978515625, 0.01554107666015625, 0.010711669921875, 0.006866455078125, -0.0198516845703125, 0.042388916015625, -0.0362548828125, 0.04302978515625, -0.005184173583984375, 0.0265045166015625, 0.021728515625, -0.0030231475830078125, 0.1229248046875, -0.00014972686767578125, 0.0018377304077148438, 0.003307342529296875, 0.030364990234375, -0.01227569580078125, 0.002239227294921875, 0.0035552978515625, 0.012481689453125, 0.051849365234375, 0.01102447509765625, -0.0209197998046875, -0.02294921875, -0.0234375, 0.011962890625, -0.025421142578125, -0.0183258056640625, -0.056396484375, -0.04583740234375, -0.09100341796875, -0.048553466796875, -0.0152740478515625, -0.0150146484375, 0.0240325927734375, 0.037750244140625, 0.019012451171875, 0.0306396484375, -0.0655517578125, -0.059326171875, -0.056549072265625, 0.0179290771484375, 0.0176849365234375, 0.07366943359375, -0.0012607574462890625, 0.07952880859375, -0.030120849609375, -0.031341552734375, -0.0009441375732421875, 0.004505157470703125, 0.0301361083984375, -0.023590087890625, 0.00824737548828125, 0.014892578125, 0.01218414306640625, 0.01457977294921875, -0.002349853515625, 0.020751953125, 0.026397705078125, 0.044708251953125, 0.0220794677734375, -0.00435638427734375, 0.053436279296875, -0.0006823539733886719, 0.00409698486328125, 0.00007545948028564453, 0.040252685546875, 0.057861328125, 0.01308441162109375, -0.038543701171875, 0.053863525390625, 0.04913330078125, -0.023223876953125, 0.023956298828125, -0.00911712646484375, -0.04052734375, -0.0109100341796875, -0.0225982666015625, 0.069091796875, -0.013214111328125, -0.043304443359375, -0.00600433349609375, -0.0304718017578125, 0.027984619140625, -0.01441192626953125, 0.009429931640625, -0.0136871337890625, 0.053680419921875, 0.025787353515625, -0.024444580078125, 0.0447998046875, -0.0167236328125, 0.003215789794921875, -0.0223846435546875, -0.0107574462890625, -0.0107574462890625, -0.022430419921875, -0.011199951171875, 0.00885009765625, 0.02728271484375, 0.01806640625, -0.046630859375, 0.050811767578125, 0.0273590087890625, 0.005062103271484375, 0.00262451171875, 0.0015811920166015625, -0.052032470703125, 0.1182861328125, -0.019805908203125, -0.037353515625, -0.00522613525390625, -0.042816162109375, 0.0141754150390625, 0.01338958740234375, -0.01157379150390625, 0.0279998779296875, -0.0330810546875, 0.021820068359375, 0.0058135986328125, -0.006072998046875, -0.024993896484375, -0.056365966796875, 0.0005602836608886719, 0.042694091796875, -0.027679443359375, -0.0031337738037109375, -0.03375244140625, 0.0111541748046875, 0.007293701171875, -0.0266876220703125, 0.04705810546875, -0.028167724609375, 0.0985107421875, 0.044677734375, -0.048614501953125, -0.0098724365234375, 0.01218414306640625, -0.017486572265625, 0.00799560546875, 0.01119232177734375, 0.0253448486328125, 0.0026397705078125, -0.0137939453125, -0.0082550048828125, 0.0193328857421875, 0.0079498291015625, -0.0226593017578125, 0.00988006591796875, 0.0260162353515625, -0.01032257080078125, 0.01702880859375, 0.01019287109375, -0.01959228515625, -0.01525115966796875, -0.006694793701171875, 0.0004982948303222656, 0.0085601806640625, -0.0161285400390625, 0.0032863616943359375, -0.0031223297119140625, 0.0316162109375, -0.007541656494140625, -0.015594482421875, -0.01776123046875, -0.035125732421875, 0.041351318359375, 0.0198974609375, -0.00933837890625, 0.013214111328125, 0.0121612548828125, -0.0198974609375, -0.020355224609375, -0.03851318359375, 0.004650115966796875, -0.01338958740234375, 0.00872802734375, 0.026519775390625, -0.01715087890625, -0.02252197265625, 0.01308441162109375, 0.016387939453125, 0.05523681640625, 0.020782470703125, -0.03143310546875, 0.0264892578125, -0.001800537109375, 0.0312042236328125, -0.05670166015625, -0.038604736328125, -0.0245361328125, 0.026763916015625, -0.010162353515625, -0.017822265625, -0.006916046142578125, -0.04840087890625, -0.050079345703125, 0.035797119140625, 0.00868988037109375, -0.02203369140625, -0.00720977783203125, -0.00939178466796875, -0.0299224853515625, 0.0709228515625, 0.00994873046875, -0.00461578369140625, -0.004486083984375, 0.026031494140625, -0.0220794677734375, 0.052581787109375, 0.0347900390625, -0.042877197265625, -0.0147857666015625, -0.042938232421875, -0.04327392578125, 0.01067352294921875, 0.0322265625, -0.0119171142578125, -0.013763427734375, -0.0023975372314453125, -0.06640625, -0.048431396484375, -0.034820556640625, 0.03564453125, 0.0192413330078125, -0.03802490234375, 0.020294189453125, -0.0291290283203125, -0.0178985595703125, -0.054229736328125, -0.0204925537109375, 0.0212249755859375, -0.029144287109375, -0.0171661376953125, 0.034149169921875, 0.0115203857421875, -0.0287017822265625, -0.01001739501953125, 0.0309295654296875, -0.0142059326171875, -0.02728271484375, 0.0027332305908203125, 0.0248870849609375, -0.06536865234375, 0.0026416778564453125, 0.004573822021484375, -0.01163482666015625, -0.08563232421875, -0.005466461181640625, 0.0270233154296875, -0.01251983642578125, 0.01229095458984375, 0.025238037109375, -0.004802703857421875, 0.0218048095703125, 0.0697021484375, -0.01432037353515625, -0.0361328125, -0.006927490234375, 0.049224853515625, -0.013916015625, 0.065185546875, -0.03948974609375, -0.01009368896484375, -0.033233642578125, 0.005847930908203125, 0.00798797607421875, -0.00653839111328125, -0.0238494873046875, 0.01617431640625, 0.0158233642578125, 0.0670166015625, -0.0006289482116699219, 0.041839599609375, -0.0191650390625, 0.0361328125, -0.0265045166015625, 0.00800323486328125, -0.047119140625, 0.013031005859375, 0.017669677734375, -0.0012750625610351562, 0.002025604248046875, -0.0088653564453125, -0.001483917236328125, 0.00875091552734375, -0.009796142578125, 0.010345458984375 ]
f1adbdc936efe92e7f25ad5f569845c5bc80dcff
Wordpress Stackexchange Q: How to check in timber if user is loggedin? How to check if there is a user is loggedin? Normaly you do this like: if ( is_user_logged_in() ) { // do something } but how you do this within a Timber template? some thing like?: {% if userloggedin %} //do somthing {% endif %} A: Found it already, to do this you can use the 'user' object: {% if user %} Hello {{ user.user_nicename }} {% else %} you are not loggedin {% endif %}
Q: How to check in timber if user is loggedin? How to check if there is a user is loggedin? Normaly you do this like: if ( is_user_logged_in() ) { // do something } but how you do this within a Timber template? some thing like?: {% if userloggedin %} //do somthing {% endif %} A: Found it already, to do this you can use the 'user' object: {% if user %} Hello {{ user.user_nicename }} {% else %} you are not loggedin {% endif %} A: To elaborate, an alternative is: {% if function( 'is_user_logged_in') %} - your logged in code here {% endif %}
wordpress
{ "language": "en", "length": 106, "provenance": "stackexchange_00019.jsonl.gz:473413", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257332" }
[ -0.0004761219024658203, 0.0265045166015625, -0.029541015625, -0.03857421875, 0.0218963623046875, -0.01444244384765625, -0.00804901123046875, -0.0009279251098632812, -0.01251983642578125, 0.038055419921875, -0.04217529296875, 0.0311279296875, -0.002902984619140625, 0.00479888916015625, -0.02032470703125, -0.045654296875, 0.0076141357421875, -0.0014352798461914062, 0.007137298583984375, -0.0230560302734375, 0.0200958251953125, -0.01155853271484375, -0.0026092529296875, 0.005496978759765625, 0.03338623046875, -0.04608154296875, 0.1134033203125, -0.014892578125, 0.061126708984375, 0.0034961700439453125, 0.03057861328125, -0.08294677734375, -0.01131439208984375, 0.052032470703125, -0.0127410888671875, -0.01531982421875, -0.035003662109375, 0.0406494140625, 0.040435791015625, -0.0244293212890625, 0.046478271484375, -0.01125335693359375, -0.05816650390625, 0.01319122314453125, -0.0474853515625, -0.00980377197265625, 0.01349639892578125, 0.00028777122497558594, 0.040069580078125, -0.01165008544921875, 0.01268768310546875, -0.034942626953125, 0.01241302490234375, 0.00397491455078125, -0.037445068359375, 0.004627227783203125, -0.020782470703125, -0.0022830963134765625, 0.036285400390625, 0.01178741455078125, -0.011688232421875, -0.0293731689453125, 0.0210723876953125, -0.0335693359375, -0.01042938232421875, -0.0005092620849609375, -0.0186614990234375, 0.022186279296875, 0.00933074951171875, -0.04833984375, -0.032745361328125, 0.007350921630859375, 0.00009948015213012695, 0.045989990234375, -0.0167388916015625, -0.032745361328125, 0.007305145263671875, 0.0016107559204101562, 0.0264739990234375, 0.0325927734375, -0.02496337890625, 0.0099334716796875, -0.021820068359375, -0.00917816162109375, 0.00731658935546875, 0.038482666015625, -0.0278167724609375, -0.01371002197265625, 0.01010894775390625, -0.00820159912109375, -0.00146484375, 0.038848876953125, 0.0183868408203125, -0.00014400482177734375, -0.05279541015625, -0.01904296875, -0.002227783203125, 0.02337646484375, -0.0162200927734375, -0.0209197998046875, -0.03704833984375, 0.00014197826385498047, -0.058502197265625, -0.009765625, 0.00362396240234375, 0.07470703125, 0.0271148681640625, 0.03985595703125, 0.015533447265625, -0.00457763671875, 0.020233154296875, -0.008544921875, -0.0290985107421875, -0.028839111328125, -0.00984954833984375, 0.060150146484375, -0.020416259765625, -0.013031005859375, -0.0232696533203125, 0.040008544921875, -0.017303466796875, -0.017791748046875, 0.031585693359375, -0.01500701904296875, 0.0005154609680175781, -0.023529052734375, -0.018035888671875, 0.00299835205078125, 0.01605224609375, 0.02276611328125, -0.01367950439453125, 0.0408935546875, -0.046356201171875, -0.06787109375, -0.065185546875, -0.0027618408203125, 0.042022705078125, 0.009429931640625, 0.01371002197265625, 0.01194000244140625, 0.021820068359375, -0.053802490234375, -0.02508544921875, 0.01103973388671875, 0.005016326904296875, 0.01071929931640625, 0.0265045166015625, 0.0128173828125, -0.002040863037109375, -0.054931640625, 0.022705078125, 0.004802703857421875, -0.030914306640625, 0.015716552734375, 0.06988525390625, -0.0014629364013671875, 0.0179901123046875, -0.01387786865234375, 0.0196380615234375, 0.0289459228515625, 0.0208740234375, 0.01261138916015625, 0.00748443603515625, -0.03778076171875, -0.057464599609375, -0.0280609130859375, -0.036895751953125, -0.005645751953125, 0.02081298828125, 0.01471710205078125, -0.0164794921875, 0.0264434814453125, 0.0162200927734375, 0.0264129638671875, 0.0097198486328125, -0.00594329833984375, -0.047882080078125, 0.048614501953125, 0.0210113525390625, -0.006542205810546875, 0.011627197265625, -0.0233917236328125, 0.04754638671875, 0.0209808349609375, -0.008697509765625, 0.0006351470947265625, -0.00943756103515625, -0.004486083984375, 0.030609130859375, -0.0029544830322265625, -0.01361083984375, 0.0251312255859375, -0.038360595703125, 0.022308349609375, 0.005603790283203125, -0.0294647216796875, -0.01204681396484375, -0.021148681640625, -0.0037174224853515625, 0.0121307373046875, 0.0290679931640625, -0.0311431884765625, 0.0283966064453125, -0.0294036865234375, -0.021697998046875, -0.0199127197265625, -0.0006456375122070312, 0.0097808837890625, -0.028472900390625, 0.036590576171875, 0.01446533203125, 0.00911712646484375, -0.00524139404296875, -0.034332275390625, 0.0187530517578125, 0.01056671142578125, -0.00667572021484375, 0.0218048095703125, -0.00971221923828125, 0.01593017578125, -0.02813720703125, 0.0096435546875, -0.0198211669921875, -0.01031494140625, -0.007343292236328125, 0.013641357421875, -0.014739990234375, 0.01102447509765625, -0.0238189697265625, 0.029144287109375, -0.0056610107421875, -0.0009760856628417969, -0.006603240966796875, 0.0167083740234375, -0.01360321044921875, 0.00809478759765625, -0.019989013671875, -0.0565185546875, 0.01125335693359375, 0.039825439453125, 0.03753662109375, 0.0148162841796875, -0.0026035308837890625, 0.0030231475830078125, 0.053680419921875, -0.0310516357421875, 0.0082550048828125, 0.0085906982421875, 0.00536346435546875, 0.04339599609375, -0.03326416015625, -0.0021533966064453125, 0.015716552734375, -0.01432037353515625, -0.0011425018310546875, 0.04278564453125, 0.005771636962890625, -0.012298583984375, -0.026702880859375, 0.03863525390625, -0.01177978515625, 0.0209808349609375, 0.01812744140625, -0.0003631114959716797, 0.018280029296875, -0.051025390625, -0.005245208740234375, -0.0274200439453125, -0.010162353515625, -0.0128173828125, 0.02740478515625, -0.049041748046875, 0.01041412353515625, 0.0499267578125, 0.056488037109375, 0.040740966796875, -0.0229034423828125, -0.04522705078125, 0.02972412109375, 0.04254150390625, -0.02117919921875, -0.029571533203125, -0.0237884521484375, -0.006031036376953125, 0.01395416259765625, -0.006626129150390625, 0.0316162109375, 0.00745391845703125, 0.0193023681640625, -0.01152801513671875, 0.04205322265625, -0.0217132568359375, -0.0276947021484375, 0.0487060546875, -0.0538330078125, -0.05438232421875, -0.0273284912109375, -0.021575927734375, 0.019683837890625, -0.0301666259765625, 0.0110626220703125, 0.0517578125, 0.00478363037109375, 0.0013113021850585938, -0.0136260986328125, -0.0282135009765625, -0.0241851806640625, 0.015472412109375, 0.002368927001953125, -0.05523681640625, 0.051422119140625, 0.0880126953125, 0.016754150390625, 0.03533935546875, -0.01221466064453125, -0.0286865234375, -0.00566864013671875, 0.0166778564453125, -0.00991058349609375, -0.04315185546875, -0.07666015625, -0.075439453125, 0.024658203125, -0.01617431640625, -0.0195770263671875, 0.0123138427734375, 0.004604339599609375, 0.0192718505859375, -0.0084381103515625, -0.0162353515625, -0.040618896484375, -0.057373046875, -0.05804443359375, 0.007656097412109375, -0.0087738037109375, 0.007724761962890625, -0.00966644287109375, 0.01617431640625, -0.03143310546875, -0.043853759765625, -0.05615234375, 0.0036945343017578125, 0.01229095458984375, -0.0288543701171875, -0.03570556640625, 0.016571044921875, 0.006305694580078125, 0.01039886474609375, -0.022247314453125, -0.019134521484375, 0.01560211181640625, -0.0215911865234375, 0.0195465087890625, -0.04931640625, 0.037841796875, -0.048126220703125, -0.06231689453125, 0.00576019287109375, 0.027740478515625, -0.05560302734375, -0.01068878173828125, -0.01177215576171875, -0.05731201171875, 0.0291290283203125, 0.048828125, -0.0183868408203125, 0.0182647705078125, -0.057373046875, -0.0093841552734375, 0.0253143310546875, -0.0242767333984375, -0.0029754638671875, 0.021331787109375, -0.01395416259765625, -0.012908935546875, 0.0196380615234375, -0.005809783935546875, -0.03533935546875, -0.0165557861328125, -0.030242919921875, 0.0098724365234375, -0.01202392578125, 0.0170440673828125, -0.0242156982421875, 0.0027027130126953125, 0.040008544921875, 0.053070068359375, 0.02520751953125, -0.007389068603515625, -0.03460693359375, -0.0142974853515625, 0.051513671875, -0.01476287841796875, -0.01161956787109375, 0.0016279220581054688, -0.015899658203125, -0.037628173828125, 0.026275634765625, -0.0943603515625, 0.0015497207641601562, -0.034515380859375, -0.0093536376953125, 0.0252227783203125, -0.04107666015625, -0.01885986328125, -0.03564453125, -0.039306640625, -0.014801025390625, -0.004970550537109375, -0.0021419525146484375, 0.0173187255859375, -0.031585693359375, -0.0038299560546875, -0.0222930908203125, 0.044586181640625, -0.04730224609375, -0.0009284019470214844, -0.00031375885009765625, -0.036468505859375, 0.0230560302734375, 0.072998046875, -0.058746337890625, 0.007289886474609375, 0.005336761474609375, -0.01132965087890625, -0.0196380615234375, 0.01202392578125, 0.01294708251953125, 0.0261077880859375, 0.0484619140625, -0.00852203369140625, 0.01129150390625, 0.02001953125, 0.005893707275390625, -0.0176544189453125, 0.01348876953125, -0.04058837890625, -0.00922393798828125, 0.01078033447265625, -0.03204345703125, -0.0259552001953125, -0.0224609375, 0.0182342529296875, -0.0045623779296875, -0.01425933837890625, 0.013092041015625, -0.001743316650390625, -0.0099334716796875, 0.049346923828125, 0.012542724609375, -0.0182342529296875, -0.00963592529296875, 0.07147216796875, 0.021392822265625, -0.03533935546875, -0.004856109619140625, 0.027740478515625, 0.034698486328125, -0.030181884765625, 0.01433563232421875, 0.01181793212890625, -0.044525146484375, 0.037322998046875, 0.0006256103515625, 0.0291900634765625, -0.0177154541015625, 0.040130615234375, -0.0292510986328125, -0.033111572265625, 0.0322265625, -0.0286712646484375, -0.004764556884765625, 0.010101318359375, 0.0256805419921875, -0.011962890625, 0.0167694091796875, -0.007106781005859375, 0.0001270771026611328, -0.022979736328125, 0.021392822265625, -0.0718994140625, 0.01430511474609375, -0.06512451171875, 0.0252532958984375, 0.0302734375, -0.018707275390625, 0.04779052734375, 0.0141448974609375, -0.044830322265625, -0.004291534423828125, -0.00234222412109375, -0.0005078315734863281, -0.01102447509765625, 0.013427734375, -0.043548583984375, -0.01030731201171875, -0.01971435546875, 0.040618896484375, -0.01561737060546875, -0.06689453125, 0.0258026123046875, -0.046539306640625, 0.0211029052734375, 0.054412841796875, 0.040679931640625, 0.042724609375, -0.034912109375, -0.01049041748046875, -0.007106781005859375, -0.0162506103515625, -0.007015228271484375, -0.039398193359375, -0.0124053955078125, -0.018341064453125, -0.0186309814453125, 0.0156402587890625, 0.0033721923828125, 0.003307342529296875, -0.004199981689453125, -0.01123046875, -0.01898193359375, 0.0028362274169921875, 0.0227508544921875, 0.043548583984375, -0.01361083984375, -0.019012451171875, -0.00600433349609375, 0.01849365234375, -0.032257080078125, -0.0226287841796875, 0.023101806640625, 0.0258941650390625, -0.00444793701171875, -0.01062774658203125, 0.0081939697265625, 0.0007610321044921875, 0.01983642578125, -0.0042877197265625, -0.07244873046875, -0.0579833984375, 0.00028967857360839844, 0.0226898193359375, 0.0086822509765625, -0.05462646484375, 0.0019626617431640625, -0.06463623046875, -0.039031982421875, -0.023651123046875, 0.0215911865234375, -0.052642822265625, 0.0257720947265625, 0.01192474365234375, -0.07989501953125, -0.045135498046875, 0.01139068603515625, -0.032257080078125, 0.01983642578125, -0.0098876953125, -0.041961669921875, -0.0172271728515625, -0.019989013671875, -0.018035888671875, -0.0313720703125, 0.0218353271484375, -0.00432586669921875, -0.0081024169921875, 0.043609619140625, -0.005672454833984375, -0.046783447265625, -0.008270263671875, -0.039337158203125, -0.01163482666015625, -0.05712890625, -0.052032470703125, -0.03497314453125, 0.0175628662109375, 0.016632080078125, 0.033416748046875, -0.01043701171875, -0.02032470703125, 0.0257720947265625, -0.0119171142578125, -0.0079803466796875, 0.0299835205078125, 0.00850677490234375, 0.07537841796875, -0.0115814208984375, 0.05023193359375, 0.016082763671875, 0.045989990234375, -0.043792724609375, -0.02313232421875, 0.0225067138671875, 0.008514404296875, -0.006816864013671875, -0.057891845703125, 0.07269287109375, -0.036376953125, 0.0062408447265625, 0.0008721351623535156, -0.0201263427734375, 0.01538848876953125, -0.0031147003173828125, -0.01548004150390625, 0.00943756103515625, 0.064697265625, 0.00914764404296875, 0.009918212890625, 0.015472412109375, -0.0287017822265625, -0.02130126953125, -0.05780029296875, 0.01296234130859375, 0.0648193359375, -0.001049041748046875, -0.0567626953125, -0.0289764404296875, 0.0279083251953125, 0.01514434814453125, 0.00011450052261352539, 0.016845703125, 0.01235198974609375, 0.0211944580078125, -0.01238250732421875, -0.033416748046875, 0.01259613037109375, 0.010986328125, 0.0438232421875, -0.00853729248046875, -0.00962066650390625, 0.032073974609375, -0.03717041015625, 0.03204345703125, 0.09942626953125, 0.070068359375, -0.144287109375, 0.005069732666015625, 0.0028858184814453125, 0.015625, 0.06298828125, -0.0186767578125, 0.02313232421875, -0.004352569580078125, 0.08221435546875, 0.00366973876953125, 0.01319122314453125, 0.0478515625, -0.03887939453125, -0.0304412841796875, -0.042449951171875, 0.0206298828125, 0.00843048095703125, 0.023406982421875, -0.0015621185302734375, -0.0284423828125, 0.004215240478515625, -0.0182952880859375, 0.0364990234375, -0.00926971435546875, 0.01476287841796875, -0.043121337890625, 0.00484466552734375, -0.0233001708984375, -0.028656005859375, 0.0511474609375, 0.025909423828125, 0.054595947265625, 0.041107177734375, 0.0127716064453125, -0.0014982223510742188, 0.012176513671875, -0.023223876953125, 0.048248291015625, 0.006893157958984375, -0.0142059326171875, 0.02691650390625, -0.05999755859375, -0.01446533203125, -0.036041259765625, 0.056884765625, -0.017669677734375, -0.044586181640625, 0.05694580078125, -0.00992584228515625, -0.016387939453125, 0.00951385498046875, 0.040618896484375, -0.00913238525390625, -0.01776123046875, 0.004154205322265625, -0.04034423828125, -0.03533935546875, -0.007350921630859375, -0.0421142578125, 0.0030727386474609375, -0.0202484130859375, -0.057830810546875, 0.035675048828125, 0.04827880859375, 0.027740478515625, -0.040191650390625, 0.00960540771484375, 0.01306915283203125, 0.00975799560546875, -0.049072265625, 0.048370361328125, 0.0007610321044921875, 0.08502197265625, -0.047119140625, -0.01207733154296875, 0.040374755859375, 0.03131103515625, 0.041961669921875, 0.0170440673828125, -0.0302886962890625, -0.0419921875, -0.043304443359375, -0.00043654441833496094, -0.03741455078125, 0.05267333984375, -0.0226898193359375, 0.036041259765625, -0.007747650146484375, -0.043365478515625, 0.033447265625, -0.064697265625, -0.054412841796875, -0.00983428955078125, -0.01340484619140625, -0.046112060546875, -0.0159149169921875, 0.05078125, -0.06793212890625, 0.002838134765625, 0.031524658203125, 0.027374267578125, 0.016021728515625, 0.045867919921875, 0.0221405029296875, -0.00826263427734375, -0.00983428955078125, -0.0247802734375, 0.03656005859375, -0.0222625732421875, 0.0009465217590332031, 0.0296783447265625, 0.0264129638671875, -0.0357666015625, -0.0196685791015625, 0.006866455078125, 0.004184722900390625, -0.029876708984375, 0.007293701171875, 0.05975341796875, 0.021148681640625, -0.0005812644958496094, -0.0245819091796875, 0.04168701171875, 0.0380859375, -0.01483917236328125, -0.0213623046875, 0.00142669677734375, 0.020904541015625, 0.01151275634765625, 0.017303466796875, 0.03009033203125, -0.0023250579833984375, 0.04052734375, -0.019195556640625, -0.0063018798828125, 0.00719451904296875, -0.0081329345703125, 0.0093536376953125, 0.0026340484619140625, -0.015625, 0.016876220703125, 0.00522613525390625, -0.01544952392578125, 0.01189422607421875, 0.0001506805419921875, 0.0172271728515625, -0.004241943359375, 0.0197906494140625, 0.0035419464111328125, -0.0009918212890625, 0.00978851318359375, -0.0008373260498046875, 0.007671356201171875, 0.0021991729736328125, -0.00914764404296875, -0.01473236083984375, 0.0189208984375, 0.0291595458984375, -0.04052734375, -0.025726318359375, -0.0015840530395507812, 0.013427734375, 0.0034389495849609375, 0.00148773193359375, 0.002994537353515625, 0.0068206787109375, -0.0090179443359375, 0.022613525390625, 0.0196075439453125, -0.0017528533935546875, -0.0223846435546875, 0.041717529296875, 0.04364013671875, -0.04681396484375, 0.06781005859375, -0.0013971328735351562, -0.027618408203125, 0.01085662841796875, -0.0216522216796875, 0.1102294921875, -0.01166534423828125, -0.032379150390625, 0.0004360675811767578, 0.0137481689453125, -0.039642333984375, -0.00286865234375, 0.027618408203125, -0.038543701171875, 0.037506103515625, 0.058807373046875, -0.00751495361328125, 0.0117645263671875, 0.01056671142578125, 0.0009965896606445312, -0.0184783935546875, 0.037109375, 0.009124755859375, -0.059539794921875, -0.0181121826171875, -0.0232086181640625, 0.004913330078125, 0.00562286376953125, -0.021881103515625, 0.047119140625, 0.0261688232421875, -0.010284423828125, -0.007167816162109375, -0.016357421875, -0.026153564453125, 0.0579833984375, -0.03045654296875, -0.03887939453125, 0.001285552978515625, -0.06298828125, 0.0950927734375, -0.01015472412109375, 0.077392578125, 0.07464599609375, -0.032379150390625, -0.008514404296875, 0.025360107421875, 0.01006317138671875, -0.016876220703125, -0.03668212890625, 0.02099609375, 0.047515869140625, 0.0020999908447265625, -0.0016574859619140625, -0.05633544921875, 0.0545654296875, -0.035430908203125, -0.0098724365234375, -0.0279388427734375, -0.0291290283203125, -0.05322265625, 0.0160064697265625, -0.01456451416015625, 0.0400390625, -0.0136871337890625, -0.0085906982421875, 0.023193359375, 0.016815185546875, -0.05987548828125, 0.031646728515625, -0.01235198974609375, 0.04547119140625, 0.05010986328125, 0.04815673828125, -0.0184478759765625, 0.001369476318359375, 0.01468658447265625, -0.004306793212890625, 0.02166748046875, -0.0033397674560546875, -0.04351806640625, -0.0302276611328125, -0.00860595703125, -0.0166778564453125, -0.0106964111328125, -0.060699462890625, -0.012481689453125, -0.01263427734375, -0.00579071044921875, -0.037322998046875, 0.0214080810546875, -0.03460693359375, -0.0244293212890625, 0.0238494873046875, -0.046234130859375, -0.048858642578125, 0.038482666015625, 0.06927490234375, 0.00029206275939941406, 0.042877197265625, 0.0164794921875, -0.04669189453125, 0.046722412109375, 0.0164337158203125, 0.03033447265625, -0.01629638671875, 0.004291534423828125, -0.0116729736328125, -0.01416015625, 0.0404052734375, -0.023468017578125, -0.015655517578125, 0.0257415771484375, -0.005336761474609375, -0.0105743408203125, -0.0199432373046875, -0.005344390869140625, -0.01617431640625, -0.004734039306640625, -0.0271759033203125, -0.0003314018249511719, 0.018524169921875, -0.057373046875, -0.1298828125, 0.040679931640625, -0.028045654296875, -0.043182373046875, -0.0511474609375, 0.0170745849609375, 0.005741119384765625, 0.0001609325408935547, -0.01337432861328125, 0.00214385986328125, -0.027130126953125, 0.0222930908203125, 0.004985809326171875, -0.07244873046875, 0.05633544921875, 0.006114959716796875, -0.1134033203125, -0.0162811279296875, -0.0362548828125, -0.0264892578125, -0.0083160400390625, 0.02044677734375, 0.00765228271484375, 0.0275726318359375, -0.016937255859375, 0.017578125, -0.01177215576171875, -0.01263427734375, 0.0062103271484375, -0.003467559814453125, 0.002471923828125, 0.0092620849609375, 0.0250091552734375, 0.0304412841796875, -0.000591278076171875, -0.03863525390625, -0.07684326171875, -0.052093505859375, -0.0131072998046875, 0.0144195556640625, 0.0292816162109375, -0.068603515625, 0.0299224853515625, 0.0208587646484375, -0.0186920166015625, -0.03387451171875, 0.0178680419921875, -0.054534912109375, -0.0099334716796875, -0.002086639404296875, -0.005767822265625, -0.022308349609375, 0.01505279541015625, 0.0250244140625, -0.023956298828125, -0.02117919921875, -0.0276947021484375, 0.015899658203125, -0.00839996337890625, -0.033294677734375, 0.030242919921875, -0.01849365234375, -0.02362060546875, 0.020172119140625, 0.007663726806640625, 0.0279388427734375, -0.005619049072265625, -0.03875732421875, -0.0083465576171875, 0.003620147705078125, 0.0009617805480957031, -0.0120697021484375, -0.017608642578125, 0.01183319091796875, -0.0030422210693359375, 0.076904296875, 0.0184783935546875, -0.01371002197265625, -0.007110595703125, 0.0538330078125, 0.0294342041015625, -0.0567626953125, -0.0014257431030273438, -0.012298583984375, -0.012237548828125, -0.013641357421875, -0.01324462890625, -0.07781982421875, 0.05096435546875, 0.019256591796875, 0.01263427734375, 0.04132080078125 ]
47bc43d2ef7763509a017803ce9471e71a9bed8a
Wordpress Stackexchange Q: PHP function showing wrong time in WordPress My local WordPress installation on XAMPP seems to have a wrong time setting. When I do date( 'Y-m-d H:i:s' ); I get 2017-02-21 10:46:43 as result. However my PCs time really is 2017-02-21 11:46:43, so my WordPress is one hour behind. Now I already did, what was recommended here and changed date.timezone in the php.ini to my timezone and restarted the apache afterwards, since I thought the problem might be cause by XAMPP. But still I get the wrong time displayed. I also went to settings -> general in WordPress and changed the timezone there to the correct one. The local time shown there is correct: "Local time is 2017-02-21 11:46:43" But when I use the function, it's still wrong. Do you have any idea, what else could cause this problem? A: date() is a PHP function depending on your server settings. You can go around that by using the WordPress function: current_time( 'Y-m-d H:i:s' ); This function takes the settings in wp-admin into account.
Q: PHP function showing wrong time in WordPress My local WordPress installation on XAMPP seems to have a wrong time setting. When I do date( 'Y-m-d H:i:s' ); I get 2017-02-21 10:46:43 as result. However my PCs time really is 2017-02-21 11:46:43, so my WordPress is one hour behind. Now I already did, what was recommended here and changed date.timezone in the php.ini to my timezone and restarted the apache afterwards, since I thought the problem might be cause by XAMPP. But still I get the wrong time displayed. I also went to settings -> general in WordPress and changed the timezone there to the correct one. The local time shown there is correct: "Local time is 2017-02-21 11:46:43" But when I use the function, it's still wrong. Do you have any idea, what else could cause this problem? A: date() is a PHP function depending on your server settings. You can go around that by using the WordPress function: current_time( 'Y-m-d H:i:s' ); This function takes the settings in wp-admin into account. A: use wordpress functions to get time according to WordPress settings and time zone such as the_time and the_date the_date('F j, Y'); the_time('g:i a'); A: It seems Wordpress overrides the php Timezone to save all dates as UTC. But they also do a poor job in converting it back to local time. I have run into the same problem and did some testing to find a solution. 1st of all this is not a PHP timezone Problem, to confirm this I put a test.php into my theme folder and opened it directly (/wp-content/themes/theme/test.php) if I use the date() function in this file the time is correct. but if I put this lines into e.g. my themes home.php print date('Y-m-d H:i:s'); print current_time('Y-m-d H:i:s'); I get the wrong time when I visit the Homepage. date() returns UTC and current_time() return the time of the right timezone but it does not include DST so I'm still 1 hour off. what i ended up doing is this: $row = $wpdb->get_row( "SELECT CURRENT_TIMESTAMP() AS timestamp", ARRAY_A); $timestamp = $row['timestamp']; if your database has the right config for your timezone you can ask your database for the Timestamp. But this also has some downsides, it will only work if your Database has right timezone and it always does a Query to the database so you should not use it to excessive.
wordpress
{ "language": "en", "length": 399, "provenance": "stackexchange_00019.jsonl.gz:473415", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257337" }
[ 0.038360595703125, -0.007083892822265625, -0.0120849609375, 0.0031032562255859375, -0.00457763671875, -0.048248291015625, 0.054840087890625, -0.0228118896484375, -0.019378662109375, -0.006420135498046875, -0.01290130615234375, -0.017730712890625, -0.032928466796875, -0.04388427734375, 0.005779266357421875, -0.030517578125, 0.0295867919921875, -0.01497650146484375, 0.00096893310546875, -0.022430419921875, -0.0267791748046875, 0.0202484130859375, 0.00177001953125, 0.051361083984375, 0.0478515625, -0.038482666015625, 0.0653076171875, -0.022735595703125, 0.066650390625, 0.01004791259765625, 0.0285797119140625, -0.057769775390625, 0.02880859375, 0.0298614501953125, -0.0287933349609375, 0.01497650146484375, 0.0142669677734375, 0.0098724365234375, -0.005096435546875, 0.04608154296875, 0.004756927490234375, 0.01373291015625, 0.0027313232421875, 0.0091094970703125, -0.017669677734375, -0.07696533203125, 0.06201171875, -0.0003948211669921875, 0.01160430908203125, 0.04144287109375, 0.001522064208984375, -0.01346588134765625, 0.015777587890625, 0.0191192626953125, -0.012603759765625, -0.0201873779296875, -0.031585693359375, 0.09063720703125, 0.0172271728515625, -0.016204833984375, -0.04718017578125, 0.03466796875, 0.0005192756652832031, 0.003810882568359375, 0.0013580322265625, 0.007587432861328125, 0.038726806640625, 0.02105712890625, -0.05914306640625, -0.00809478759765625, 0.049224853515625, -0.01873779296875, -0.01207733154296875, -0.020538330078125, -0.0139312744140625, 0.0213775634765625, -0.0101776123046875, -0.01364898681640625, 0.0149993896484375, 0.0014619827270507812, 0.0014047622680664062, -0.0005693435668945312, -0.046905517578125, -0.01396942138671875, 0.0250396728515625, 0.018402099609375, -0.0130157470703125, -0.0302276611328125, -0.0556640625, -0.019134521484375, -0.0438232421875, -0.022705078125, -0.052276611328125, -0.0207672119140625, -0.00273895263671875, -0.014007568359375, 0.0084381103515625, 0.05303955078125, -0.05462646484375, -0.038299560546875, 0.01119232177734375, 0.005496978759765625, -0.05120849609375, 0.0093994140625, -0.004581451416015625, 0.035736083984375, 0.0328369140625, 0.02099609375, 0.0159454345703125, -0.002010345458984375, -0.0035915374755859375, 0.044647216796875, -0.0081329345703125, -0.056121826171875, -0.0008959770202636719, 0.039794921875, 0.0167388916015625, -0.00574493408203125, 0.0231475830078125, -0.034423828125, -0.002849578857421875, 0.020111083984375, -0.0391845703125, 0.0051727294921875, -0.01267242431640625, -0.019317626953125, -0.019287109375, 0.028289794921875, 0.00537109375, 0.03863525390625, -0.037139892578125, -0.01428985595703125, 0.0234375, 0.008544921875, -0.005657196044921875, -0.02685546875, 0.04931640625, -0.036773681640625, -0.023834228515625, 0.04437255859375, -0.03167724609375, -0.010528564453125, 0.01395416259765625, -0.049591064453125, -0.01519012451171875, 0.00035500526428222656, 0.0179443359375, 0.031524658203125, -0.0001474618911743164, -0.0214385986328125, 0.0156402587890625, -0.0006322860717773438, -0.01129913330078125, 0.048980712890625, 0.0171661376953125, 0.00975799560546875, 0.03546142578125, -0.0291595458984375, 0.010772705078125, -0.0082550048828125, 0.01349639892578125, -0.01203155517578125, -0.01496124267578125, -0.0222625732421875, -0.03973388671875, 0.00732421875, -0.034820556640625, -0.0030689239501953125, 0.02191162109375, -0.043914794921875, 0.006633758544921875, -0.047821044921875, 0.00048613548278808594, -0.004180908203125, -0.0140228271484375, 0.040618896484375, -0.0084381103515625, 0.015655517578125, 0.00661468505859375, 0.0577392578125, 0.032012939453125, -0.031890869140625, 0.0264129638671875, 0.02191162109375, -0.01049041748046875, -0.0306854248046875, -0.00313568115234375, -0.016998291015625, 0.01910400390625, 0.00501251220703125, -0.00548553466796875, 0.0150299072265625, -0.042572021484375, 0.023956298828125, -0.028167724609375, -0.0006456375122070312, -0.027069091796875, 0.021514892578125, -0.018157958984375, -0.0233306884765625, -0.0249176025390625, 0.05078125, -0.04681396484375, 0.0079345703125, -0.0972900390625, 0.0406494140625, -0.035400390625, 0.058502197265625, -0.008880615234375, 0.01406097412109375, -0.004192352294921875, 0.005237579345703125, -0.018585205078125, -0.04205322265625, -0.038726806640625, 0.01059722900390625, -0.017486572265625, 0.0743408203125, -0.01474761962890625, 0.0555419921875, -0.037353515625, -0.0732421875, -0.01885986328125, -0.019287109375, 0.0295867919921875, 0.0240478515625, -0.028656005859375, -0.00293731689453125, 0.058746337890625, 0.004627227783203125, 0.0243072509765625, 0.0227813720703125, -0.040618896484375, -0.0077362060546875, -0.05694580078125, -0.0178070068359375, -0.0198822021484375, 0.008148193359375, 0.0068359375, 0.0244140625, 0.032012939453125, 0.0008807182312011719, 0.0217437744140625, 0.02960205078125, 0.03289794921875, -0.044769287109375, 0.02264404296875, -0.00991058349609375, -0.0130157470703125, -0.0008478164672851562, -0.0032215118408203125, -0.0166778564453125, 0.024658203125, -0.056854248046875, -0.0011262893676757812, 0.04541015625, -0.04522705078125, -0.034393310546875, -0.0164642333984375, 0.034637451171875, -0.010009765625, -0.07586669921875, -0.0248870849609375, -0.032623291015625, 0.0174560546875, -0.032745361328125, 0.003093719482421875, -0.0005736351013183594, -0.0214691162109375, -0.018218994140625, 0.0192718505859375, -0.01568603515625, 0.01100921630859375, -0.0205230712890625, -0.049041748046875, 0.03387451171875, -0.0177154541015625, 0.030853271484375, -0.0180816650390625, -0.032867431640625, -0.030548095703125, 0.00617218017578125, -0.0372314453125, -0.006534576416015625, -0.01552581787109375, -0.057525634765625, 0.016693115234375, 0.0244293212890625, 0.038818359375, -0.0048980712890625, 0.036590576171875, 0.0170135498046875, -0.032623291015625, 0.06829833984375, -0.0005445480346679688, -0.048583984375, -0.0175323486328125, -0.0020503997802734375, 0.00508880615234375, -0.0166015625, 0.002513885498046875, 0.0287628173828125, -0.0012216567993164062, -0.0291748046875, 0.006954193115234375, -0.0227508544921875, 0.004703521728515625, -0.006275177001953125, -0.01253509521484375, 0.0115203857421875, -0.08392333984375, -0.004673004150390625, -0.01136016845703125, -0.00042724609375, -0.05926513671875, -0.07757568359375, -0.048919677734375, -0.03717041015625, -0.1474609375, -0.0765380859375, -0.02685546875, -0.0190582275390625, -0.05279541015625, 0.0199737548828125, -0.009735107421875, 0.02117919921875, 0.0228729248046875, -0.0167388916015625, 0.041107177734375, -0.0295562744140625, -0.019744873046875, -0.0083465576171875, -0.043792724609375, -0.011566162109375, 0.0121612548828125, -0.004070281982421875, -0.0031452178955078125, 0.0802001953125, 0.0132293701171875, -0.056121826171875, -0.052825927734375, 0.01557159423828125, -0.043914794921875, -0.056915283203125, -0.007843017578125, -0.03607177734375, 0.046844482421875, -0.006061553955078125, 0.0242767333984375, 0.0006108283996582031, 0.00998687744140625, -0.025909423828125, 0.002017974853515625, 0.00804901123046875, 0.0025005340576171875, 0.031829833984375, 0.00799560546875, 0.020904541015625, 0.01149749755859375, -0.04058837890625, -0.046112060546875, 0.01904296875, -0.0413818359375, 0.029693603515625, 0.034759521484375, -0.02984619140625, -0.0010271072387695312, 0.00478363037109375, -0.0212860107421875, -0.0104217529296875, 0.04949951171875, -0.03790283203125, 0.046661376953125, -0.0175933837890625, -0.056427001953125, -0.045379638671875, 0.04229736328125, -0.0009737014770507812, 0.0033740997314453125, 0.010589599609375, 0.01500701904296875, -0.00481414794921875, -0.007160186767578125, -0.04498291015625, -0.05517578125, 0.0445556640625, -0.0187530517578125, -0.0116119384765625, -0.0177764892578125, -0.0147552490234375, 0.016357421875, 0.08831787109375, -0.053558349609375, -0.0249786376953125, 0.03668212890625, 0.045440673828125, -0.06939697265625, 0.0018672943115234375, -0.047088623046875, -0.0169677734375, -0.05810546875, 0.019866943359375, 0.0034122467041015625, 0.004024505615234375, -0.03857421875, 0.04901123046875, -0.055511474609375, -0.0199127197265625, 0.01849365234375, 0.02850341796875, -0.0059356689453125, 0.0197906494140625, -0.00952911376953125, -0.00440216064453125, -0.016357421875, -0.004505157470703125, -0.0780029296875, -0.024017333984375, -0.042999267578125, 0.080322265625, 0.0230255126953125, 0.00026917457580566406, -0.008880615234375, 0.051605224609375, 0.03125, 0.00641632080078125, 0.03759765625, -0.032073974609375, 0.06414794921875, 0.004581451416015625, 0.039794921875, 0.00603485107421875, -0.0013856887817382812, 0.004695892333984375, -0.052703857421875, 0.0025482177734375, 0.0027828216552734375, 0.019989013671875, 0.048065185546875, -0.03265380859375, 0.0303497314453125, -0.012908935546875, -0.0144805908203125, 0.037933349609375, -0.0435791015625, 0.03265380859375, -0.00446319580078125, -0.0090484619140625, 0.091064453125, 0.017578125, 0.00021183490753173828, -0.019561767578125, 0.0821533203125, 0.0024394989013671875, -0.044525146484375, -0.0244293212890625, -0.0008597373962402344, 0.0234832763671875, 0.0091400146484375, 0.036865234375, -0.01332855224609375, -0.0007619857788085938, 0.016815185546875, -0.01434326171875, -0.0165557861328125, -0.01081085205078125, 0.046966552734375, 0.01540374755859375, -0.00807952880859375, 0.0006051063537597656, -0.023223876953125, 0.0093841552734375, 0.0155792236328125, 0.023468017578125, -0.027069091796875, 0.059112548828125, 0.00861358642578125, -0.0163726806640625, -0.00560760498046875, 0.004215240478515625, -0.07562255859375, 0.0377197265625, -0.03546142578125, -0.0049591064453125, -0.002559661865234375, -0.00308990478515625, 0.033599853515625, -0.00492095947265625, -0.0024662017822265625, -0.044219970703125, -0.0235443115234375, -0.022003173828125, 0.01800537109375, -0.0033702850341796875, -0.00677490234375, -0.02618408203125, -0.0153656005859375, 0.091552734375, 0.038787841796875, -0.01355743408203125, 0.0273590087890625, -0.01450347900390625, -0.015625, -0.0097808837890625, -0.027069091796875, 0.03228759765625, 0.033355712890625, 0.007045745849609375, 0.0097503662109375, -0.0177459716796875, 0.0004832744598388672, -0.034210205078125, 0.02587890625, 0.01306915283203125, -0.01024627685546875, 0.0221099853515625, 0.043304443359375, 0.07464599609375, 0.00868988037109375, -0.050628662109375, 0.0231781005859375, -0.0191192626953125, 0.06951904296875, 0.0340576171875, -0.068359375, 0.018524169921875, 0.0250701904296875, -0.032135009765625, -0.027374267578125, -0.051025390625, 0.0153350830078125, 0.00255584716796875, -0.021820068359375, 0.03033447265625, 0.0168609619140625, 0.045806884765625, 0.0033359527587890625, -0.0005564689636230469, -0.007045745849609375, -0.00028252601623535156, -0.0161590576171875, -0.012939453125, 0.02392578125, 0.0031604766845703125, 0.0017099380493164062, 0.0301055908203125, -0.00426483154296875, 0.045989990234375, -0.00722503662109375, 0.04022216796875, -0.038421630859375, -0.04791259765625, -0.0128631591796875, -0.022613525390625, -0.0284881591796875, 0.006275177001953125, 0.007381439208984375, -0.00905609130859375, -0.0225372314453125, 0.040435791015625, -0.0384521484375, 0.019134521484375, -0.03271484375, 0.00933074951171875, -0.084228515625, 0.029022216796875, 0.0004088878631591797, 0.0201568603515625, -0.056671142578125, 0.002105712890625, -0.042694091796875, -0.01332855224609375, -0.0310211181640625, -0.00910186767578125, -0.059112548828125, -0.006450653076171875, 0.0286712646484375, 0.0291595458984375, -0.003040313720703125, -0.056396484375, -0.0191650390625, 0.026580810546875, 0.02874755859375, 0.06512451171875, -0.0264129638671875, 0.07427978515625, 0.01122283935546875, 0.03741455078125, 0.0132904052734375, 0.04107666015625, 0.00547027587890625, -0.0214691162109375, 0.060760498046875, 0.0168609619140625, -0.04296875, -0.01922607421875, -0.046356201171875, -0.07427978515625, 0.021820068359375, -0.04229736328125, -0.00955963134765625, -0.0014848709106445312, 0.0011196136474609375, -0.006687164306640625, 0.005764007568359375, 0.0265655517578125, 0.005344390869140625, -0.0182647705078125, -0.00800323486328125, 0.040313720703125, -0.0201263427734375, 0.0262603759765625, -0.032958984375, -0.031463623046875, -0.0208740234375, 0.0268707275390625, -0.020477294921875, 0.01346588134765625, 0.061370849609375, -0.005260467529296875, 0.0753173828125, 0.0165252685546875, 0.022369384765625, 0.072021484375, 0.00826263427734375, -0.07562255859375, -0.054718017578125, 0.00267791748046875, 0.01043701171875, -0.0206451416015625, 0.0082244873046875, 0.00997161865234375, 0.01222991943359375, 0.06085205078125, 0.0618896484375, -0.06646728515625, 0.0239410400390625, 0.0211334228515625, -0.0080108642578125, 0.0159912109375, -0.0318603515625, -0.01412200927734375, -0.0172119140625, 0.06982421875, 0.00704193115234375, -0.03289794921875, 0.02557373046875, 0.0309600830078125, -0.0006422996520996094, 0.0094451904296875, 0.041595458984375, 0.02801513671875, -0.04669189453125, 0.0323486328125, 0.02313232421875, 0.04376220703125, 0.0172882080078125, 0.01432037353515625, -0.031341552734375, -0.0316162109375, -0.048248291015625, -0.035675048828125, -0.021697998046875, -0.0021381378173828125, 0.0258636474609375, -0.01143646240234375, 0.06646728515625, 0.01983642578125, 0.0004603862762451172, 0.01947021484375, -0.0192413330078125, 0.0192718505859375, 0.0181732177734375, -0.012298583984375, 0.0034694671630859375, 0.05615234375, -0.03521728515625, 0.016326904296875, -0.007747650146484375, 0.01141357421875, 0.01531982421875, -0.0022106170654296875, 0.009765625, -0.038848876953125, -0.007038116455078125, 0.031402587890625, -0.03466796875, 0.0115966796875, 0.01067352294921875, 0.023773193359375, -0.054168701171875, -0.0140228271484375, 0.031524658203125, 0.0037059783935546875, 0.016204833984375, 0.039825439453125, -0.01531219482421875, 0.038116455078125, -0.024627685546875, -0.007617950439453125, 0.0265350341796875, 0.01495361328125, -0.0044403076171875, -0.005558013916015625, -0.00530242919921875, 0.0308074951171875, -0.00922393798828125, 0.0147857666015625, -0.02435302734375, 0.00026726722717285156, 0.01392364501953125, 0.0152435302734375, 0.04241943359375, 0.01532745361328125, -0.03302001953125, 0.021209716796875, 0.0697021484375, 0.06915283203125, 0.01171112060546875, 0.0102691650390625, -0.00867462158203125, -0.0067138671875, 0.00830841064453125, -0.005840301513671875, 0.025909423828125, -0.0236053466796875, -0.036834716796875, 0.0023784637451171875, 0.01934814453125, 0.0156402587890625, -0.0113372802734375, -0.01049041748046875, -0.0154876708984375, -0.003116607666015625, 0.0052490234375, 0.0012798309326171875, 0.0109405517578125, -0.007843017578125, 0.05108642578125, -0.10650634765625, -0.0196380615234375, -0.0249786376953125, 0.047454833984375, 0.01898193359375, -0.053955078125, 0.02801513671875, 0.013275146484375, -0.03192138671875, -0.0247650146484375, -0.033966064453125, -0.00499725341796875, -0.0033473968505859375, 0.01041412353515625, 0.036865234375, 0.043609619140625, 0.02215576171875, -0.031463623046875, 0.03228759765625, 0.0226898193359375, -0.007183074951171875, -0.0017900466918945312, 0.008575439453125, -0.0223388671875, -0.0159912109375, -0.04901123046875, -0.0164642333984375, -0.01148223876953125, -0.007442474365234375, 0.014984130859375, -0.0301361083984375, 0.028961181640625, 0.008148193359375, 0.0287933349609375, 0.057159423828125, -0.011688232421875, -0.034912109375, -0.058380126953125, 0.0535888671875, 0.0178680419921875, 0.04498291015625, -0.018341064453125, 0.04376220703125, -0.020294189453125, -0.019561767578125, 0.0239410400390625, 0.02777099609375, -0.00237274169921875, -0.06048583984375, 0.020904541015625, -0.044921875, 0.01312255859375, 0.005901336669921875, 0.01197052001953125, -0.01270294189453125, 0.036376953125, 0.015716552734375, -0.043548583984375, -0.01544952392578125, 0.035308837890625, -0.0157470703125, -0.06805419921875, -0.039459228515625, -0.00789642333984375, 0.0207977294921875, 0.0217132568359375, 0.05279541015625, 0.03448486328125, 0.007541656494140625, -0.0203857421875, 0.035308837890625, -0.00826263427734375, 0.0041656494140625, 0.0167388916015625, -0.0173187255859375, 0.007389068603515625, 0.0050048828125, 0.0217437744140625, 0.01551055908203125, -0.0121917724609375, -0.047393798828125, 0.01163482666015625, 0.03125, 0.037261962890625, -0.04132080078125, 0.0016565322875976562, -0.032562255859375, 0.01904296875, 0.0113677978515625, 0.007251739501953125, -0.0234832763671875, -0.002086639404296875, -0.04058837890625, -0.0423583984375, -0.0139923095703125, -0.0286712646484375, 0.043670654296875, 0.006572723388671875, 0.07623291015625, -0.017333984375, 0.0151519775390625, 0.006847381591796875, 0.01470947265625, -0.048309326171875, -0.028228759765625, 0.053009033203125, -0.03900146484375, -0.0168914794921875, 0.002033233642578125, -0.038787841796875, -0.00603485107421875, 0.032928466796875, -0.01788330078125, 0.0089874267578125, -0.028778076171875, 0.02972412109375, -0.0032501220703125, 0.031890869140625, -0.010772705078125, -0.022216796875, 0.04119873046875, 0.0249786376953125, 0.0048065185546875, 0.042083740234375, 0.024566650390625, -0.0147552490234375, 0.033111572265625, -0.0301055908203125, 0.022552490234375, -0.004810333251953125, 0.04473876953125, 0.0293731689453125, -0.002197265625, -0.0217437744140625, -0.0555419921875, -0.0162353515625, -0.023101806640625, -0.0008478164672851562, 0.01885986328125, -0.04901123046875, 0.056671142578125, 0.01239776611328125, -0.00794219970703125, -0.024749755859375, -0.031341552734375, -0.028594970703125, 0.031402587890625, -0.0148773193359375, -0.0022430419921875, 0.00391387939453125, -0.01071929931640625, -0.059722900390625, 0.020843505859375, 0.0294647216796875, -0.01629638671875, 0.01123809814453125, -0.03155517578125, -0.0120849609375, 0.0205841064453125, -0.0137481689453125, 0.019500732421875, -0.0277862548828125, -0.0268096923828125, 0.0084228515625, -0.0089263916015625, -0.0291595458984375, 0.01140594482421875, 0.0186309814453125, -0.02545166015625, -0.050933837890625, -0.05389404296875, 0.031768798828125, -0.0704345703125, -0.0000426173210144043, 0.039581298828125, 0.0036792755126953125, -0.029144287109375, -0.0276947021484375, -0.009002685546875, 0.0248870849609375, -0.0340576171875, -0.033599853515625, 0.0063323974609375, 0.001499176025390625, -0.0236053466796875, -0.02099609375, 0.0206451416015625, -0.0655517578125, -0.0091094970703125, 0.0173492431640625, -0.0144805908203125, 0.0087890625, -0.0197296142578125, -0.0253753662109375, 0.006404876708984375, 0.014739990234375, -0.026885986328125, -0.0176849365234375, 0.008209228515625, -0.0008082389831542969, 0.0295257568359375, -0.0023288726806640625, -0.0086669921875, -0.0028553009033203125, 0.005950927734375, 0.005016326904296875, 0.00496673583984375, 0.009307861328125, -0.00873565673828125, -0.038665771484375, 0.01387786865234375, 0.0043487548828125, -0.0018529891967773438, -0.0164337158203125, 0.0163421630859375, 0.0033416748046875, 0.04736328125, -0.0039215087890625, -0.01451873779296875, 0.0148773193359375, -0.0109100341796875, -0.0266265869140625, -0.01812744140625, -0.045135498046875, -0.03082275390625, 0.091064453125, 0.07305908203125, 0.02960205078125, -0.00887298583984375, -0.054107666015625, -0.025177001953125, 0.0013275146484375, -0.006580352783203125, 0.0030364990234375, -0.061370849609375, -0.00174713134765625, 0.002719879150390625, 0.0011034011840820312, 0.017333984375, 0.036529541015625, -0.01546478271484375, -0.0197906494140625, -0.000278472900390625, -0.061279296875, -0.0286865234375, -0.01485443115234375, 0.02496337890625, -0.0355224609375, -0.013824462890625, -0.00554656982421875, 0.0125274658203125, -0.0201416015625, 0.007694244384765625, 0.049224853515625, 0.0248565673828125, -0.03814697265625, -0.04034423828125, 0.0293731689453125, -0.0182952880859375, 0.01342010498046875, -0.058624267578125, 0.0198516845703125, -0.0262451171875, -0.028961181640625, -0.046844482421875, 0.060699462890625, -0.046875, -0.06329345703125, 0.054656982421875, -0.0000540614128112793, -0.0009160041809082031, -0.032562255859375, 0.0252838134765625, -0.031707763671875, -0.0002713203430175781, -0.035614013671875, 0.0018100738525390625, 0.01513671875, 0.0128326416015625, 0.021148681640625, -0.001697540283203125, 0.002635955810546875, -0.03717041015625, 0.01093292236328125, 0.0026073455810546875 ]
20beb6e307ae28cbac857d6b1c9ff6b1178417c8
Wordpress Stackexchange Q: How can I give access to WordPress site using an Android application ? I´m using an Android Application to obtain information after that I need to redirect this application to WordPress to show the information that this obtained but I don't want that the user needs to retype his username and password to access to WordPress because he wrote them in the moment that he login in the Android application. I don't know if this is possible, but I will be very grateful if you can tell me any suggestion. Best regards.
Q: How can I give access to WordPress site using an Android application ? I´m using an Android Application to obtain information after that I need to redirect this application to WordPress to show the information that this obtained but I don't want that the user needs to retype his username and password to access to WordPress because he wrote them in the moment that he login in the Android application. I don't know if this is possible, but I will be very grateful if you can tell me any suggestion. Best regards.
wordpress
{ "language": "en", "length": 93, "provenance": "stackexchange_00019.jsonl.gz:473430", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257396" }
[ 0.0222320556640625, 0.009796142578125, 0.0460205078125, 0.046295166015625, -0.030120849609375, -0.009979248046875, 0.0207061767578125, -0.076171875, -0.025360107421875, 0.0278778076171875, -0.0149993896484375, -0.01495361328125, -0.01108551025390625, -0.0246734619140625, 0.0084228515625, -0.040252685546875, 0.0014495849609375, 0.01361083984375, 0.023651123046875, -0.030914306640625, 0.0221710205078125, -0.0215301513671875, 0.0308074951171875, -0.04632568359375, 0.019134521484375, -0.00917816162109375, 0.06414794921875, -0.0219879150390625, 0.0008978843688964844, -0.0236663818359375, 0.01541900634765625, -0.0085906982421875, 0.0181884765625, 0.0304107666015625, -0.045684814453125, 0.01062774658203125, -0.046630859375, 0.04913330078125, 0.00604248046875, 0.0069122314453125, 0.0247650146484375, -0.01055908203125, -0.0205230712890625, 0.02032470703125, -0.024993896484375, -0.0504150390625, 0.041412353515625, -0.0289764404296875, -0.0019407272338867188, 0.01471710205078125, 0.001613616943359375, 0.038787841796875, 0.0160675048828125, 0.0006256103515625, 0.00370025634765625, 0.005596160888671875, 0.044464111328125, -0.0245819091796875, 0.0287017822265625, -0.043426513671875, -0.05224609375, -0.0035305023193359375, 0.0261077880859375, 0.005397796630859375, -0.008148193359375, -0.002471923828125, -0.0025272369384765625, 0.0271453857421875, -0.012664794921875, -0.005016326904296875, 0.0047454833984375, -0.0148773193359375, -0.011383056640625, -0.0236358642578125, 0.03363037109375, -0.005725860595703125, 0.00052642822265625, 0.0020351409912109375, -0.007568359375, 0.0287933349609375, -0.008575439453125, -0.0086212158203125, -0.0285186767578125, -0.01953125, 0.0159912109375, 0.016845703125, -0.01488494873046875, -0.0241851806640625, -0.013824462890625, -0.042083740234375, -0.01404571533203125, -0.0262451171875, -0.0616455078125, 0.03253173828125, -0.0055999755859375, -0.01221466064453125, -0.0025043487548828125, 0.0015716552734375, 0.036041259765625, 0.0328369140625, -0.0017452239990234375, -0.050567626953125, 0.028472900390625, -0.0243682861328125, -0.039154052734375, 0.026336669921875, 0.0256500244140625, 0.029510498046875, -0.0164794921875, 0.00995635986328125, -0.0168304443359375, -0.06158447265625, 0.0010213851928710938, -0.0292510986328125, -0.003849029541015625, 0.00885009765625, -0.0156402587890625, 0.0020885467529296875, -0.0060882568359375, -0.0188140869140625, -0.042449951171875, -0.009765625, -0.021331787109375, 0.0103912353515625, -0.004642486572265625, -0.03466796875, -0.01354217529296875, 0.048614501953125, 0.0282440185546875, 0.0220947265625, -0.006595611572265625, -0.004955291748046875, -0.0261688232421875, 0.01322174072265625, -0.0227203369140625, -0.013275146484375, 0.05120849609375, 0.0186920166015625, -0.024993896484375, 0.00803375244140625, -0.004924774169921875, 0.000048220157623291016, -0.021209716796875, -0.041473388671875, 0.0265350341796875, 0.032196044921875, -0.011505126953125, -0.000118255615234375, 0.0174102783203125, -0.006694793701171875, 0.002552032470703125, -0.040924072265625, -0.047210693359375, 0.017547607421875, 0.100341796875, 0.00799560546875, 0.03271484375, -0.001934051513671875, 0.043792724609375, 0.04052734375, -0.02691650390625, -0.0008754730224609375, 0.02154541015625, 0.0396728515625, 0.005596160888671875, 0.003955841064453125, 0.032379150390625, 0.0021953582763671875, 0.0220184326171875, 0.0010738372802734375, 0.035003662109375, -0.02874755859375, 0.043212890625, 0.00318145751953125, -0.00482940673828125, 0.01067352294921875, -0.0017061233520507812, 0.01181793212890625, 0.0298004150390625, 0.0418701171875, 0.0183258056640625, -0.01153564453125, 0.07293701171875, -0.0198974609375, 0.00008028745651245117, 0.0264129638671875, -0.0165252685546875, 0.00946807861328125, 0.002307891845703125, 0.004985809326171875, -0.033599853515625, 0.032989501953125, -0.046142578125, 0.044342041015625, -0.0272369384765625, -0.014617919921875, 0.01030731201171875, 0.02325439453125, -0.01007843017578125, -0.022613525390625, 0.004932403564453125, 0.00409698486328125, -0.00749969482421875, 0.0148162841796875, 0.0281219482421875, 0.00958251953125, 0.01236724853515625, -0.0002124309539794922, -0.006275177001953125, 0.0296478271484375, 0.0007839202880859375, 0.0022678375244140625, 0.01013946533203125, -0.04461669921875, -0.00115203857421875, 0.02001953125, -0.0218505859375, 0.04071044921875, 0.0152740478515625, 0.035400390625, 0.00379180908203125, -0.018951416015625, 0.0030574798583984375, -0.0196533203125, 0.0073394775390625, -0.05291748046875, 0.00927734375, -0.031280517578125, -0.01395416259765625, -0.0167388916015625, -0.03143310546875, 0.0236053466796875, 0.007183074951171875, 0.03228759765625, -0.006866455078125, -0.00804901123046875, -0.0083160400390625, -0.0701904296875, 0.0193328857421875, 0.042510986328125, 0.02166748046875, 0.045989990234375, -0.03228759765625, -0.01317596435546875, 0.04608154296875, -0.05096435546875, -0.006916046142578125, 0.0046539306640625, 0.0340576171875, 0.0562744140625, -0.01296234130859375, -0.006908416748046875, 0.0211639404296875, -0.01715087890625, -0.011962890625, 0.044189453125, -0.003116607666015625, 0.033294677734375, -0.007511138916015625, -0.0059051513671875, -0.01428985595703125, -0.004207611083984375, 0.02166748046875, -0.0226593017578125, 0.01043701171875, -0.01526641845703125, 0.0189361572265625, 0.0227203369140625, -0.017333984375, -0.043182373046875, 0.020782470703125, 0.052093505859375, -0.0069427490234375, 0.034454345703125, 0.020965576171875, -0.05841064453125, -0.023712158203125, -0.003875732421875, 0.0027675628662109375, 0.00743865966796875, -0.0086212158203125, -0.037567138671875, -0.01812744140625, 0.00594329833984375, 0.0204925537109375, -0.017364501953125, 0.04425048828125, 0.05303955078125, 0.0240631103515625, 0.037567138671875, 0.050048828125, 0.0243072509765625, 0.0156097412109375, 0.0243072509765625, -0.0023288726806640625, -0.018798828125, 0.01441192626953125, -0.024627685546875, 0.02618408203125, -0.0289764404296875, 0.00830841064453125, 0.053009033203125, -0.0150146484375, 0.0269012451171875, -0.0156402587890625, 0.017974853515625, -0.036895751953125, -0.00018095970153808594, -0.01509857177734375, -0.0262298583984375, -0.06146240234375, -0.022430419921875, 0.01180267333984375, 0.027862548828125, 0.0011301040649414062, -0.034332275390625, -0.001415252685546875, 0.0196380615234375, -0.07177734375, -0.047515869140625, -0.01471710205078125, -0.08465576171875, 0.02923583984375, -0.0182037353515625, -0.032989501953125, -0.01238250732421875, 0.02764892578125, 0.0138397216796875, 0.013580322265625, -0.023162841796875, -0.04339599609375, -0.041351318359375, -0.060455322265625, -0.002452850341796875, -0.007709503173828125, -0.0029926300048828125, 0.002536773681640625, -0.01282501220703125, -0.0189666748046875, -0.0379638671875, -0.020660400390625, 0.07696533203125, 0.01458740234375, -0.04217529296875, -0.023681640625, 0.0017871856689453125, 0.0258026123046875, 0.0052032470703125, 0.0008711814880371094, 0.0036983489990234375, 0.0010061264038085938, -0.02325439453125, 0.01397705078125, -0.0014448165893554688, 0.01436614990234375, -0.0135955810546875, -0.0189666748046875, 0.0074310302734375, -0.0059967041015625, -0.038787841796875, 0.01244354248046875, -0.0024280548095703125, -0.034149169921875, -0.04962158203125, 0.032867431640625, -0.0291900634765625, -0.0367431640625, -0.02099609375, 0.0093994140625, 0.01090240478515625, -0.0132293701171875, -0.01361846923828125, 0.0335693359375, -0.003021240234375, 0.01343536376953125, -0.00475311279296875, -0.031341552734375, -0.05706787109375, -0.0220794677734375, -0.044830322265625, -0.036285400390625, -0.033416748046875, 0.010528564453125, -0.01312255859375, -0.054473876953125, 0.032562255859375, -0.060760498046875, -0.01111602783203125, -0.0293731689453125, 0.005390167236328125, -0.005611419677734375, 0.08477783203125, 0.031951904296875, 0.0022220611572265625, 0.0282135009765625, 0.00972747802734375, -0.09185791015625, 0.00501251220703125, -0.08074951171875, 0.01007843017578125, -0.021728515625, -0.0291595458984375, -0.036529541015625, -0.004299163818359375, -0.011322021484375, -0.041839599609375, 0.01200103759765625, -0.040740966796875, 0.0247344970703125, 0.0285186767578125, 0.015716552734375, -0.0255889892578125, 0.00763702392578125, -0.0296173095703125, -0.0026988983154296875, 0.0092620849609375, -0.1080322265625, -0.0330810546875, 0.03875732421875, 0.09356689453125, 0.0019969940185546875, -0.035888671875, -0.0107879638671875, 0.0738525390625, -0.01361846923828125, 0.0229034423828125, -0.01904296875, 0.0010509490966796875, -0.0004124641418457031, -0.0099639892578125, -0.025421142578125, -0.018829345703125, -0.00815582275390625, -0.039276123046875, -0.0192413330078125, -0.03948974609375, -0.049102783203125, -0.0294036865234375, -0.0183258056640625, -0.01220703125, -0.043243408203125, -0.0166168212890625, 0.007434844970703125, 0.041107177734375, -0.004825592041015625, 0.013519287109375, -0.0274505615234375, -0.040771484375, 0.042572021484375, -0.0113525390625, -0.0147247314453125, 0.0021762847900390625, 0.0679931640625, 0.0036029815673828125, -0.006610870361328125, -0.00885009765625, 0.03192138671875, 0.021087646484375, -0.0303802490234375, 0.055938720703125, 0.0232086181640625, -0.00748443603515625, 0.05584716796875, -0.00864410400390625, -0.00311279296875, 0.0465087890625, -0.0265655517578125, 0.0113983154296875, -0.045867919921875, 0.036773681640625, 0.01407623291015625, -0.01371002197265625, 0.02294921875, 0.019561767578125, -0.0206756591796875, 0.01226806640625, 0.005344390869140625, -0.0079803466796875, 0.01117706298828125, 0.008270263671875, -0.02569580078125, 0.017974853515625, -0.0301971435546875, -0.00975799560546875, 0.00223541259765625, -0.0065155029296875, -0.0172119140625, 0.00392913818359375, -0.000022113323211669922, -0.0244293212890625, -0.07183837890625, -0.006134033203125, 0.0158233642578125, -0.0276031494140625, 0.00604248046875, 0.017974853515625, -0.029754638671875, 0.08807373046875, -0.006053924560546875, -0.080810546875, 0.03131103515625, -0.0240020751953125, 0.04345703125, 0.035614013671875, -0.049224853515625, 0.015594482421875, 0.03662109375, -0.01959228515625, 0.02288818359375, -0.033538818359375, -0.01070404052734375, -0.03759765625, -0.01104736328125, -0.01123809814453125, -0.0004107952117919922, 0.03173828125, 0.0853271484375, -0.007579803466796875, 0.0780029296875, -0.03009033203125, 0.0100250244140625, 0.0239715576171875, -0.003665924072265625, 0.0253753662109375, 0.022979736328125, -0.00514984130859375, -0.00455474853515625, 0.0161590576171875, -0.0091094970703125, -0.01412200927734375, 0.044158935546875, 0.02630615234375, 0.008514404296875, 0.00872802734375, -0.01003265380859375, 0.0005726814270019531, 0.00667572021484375, 0.0007023811340332031, -0.037872314453125, -0.0413818359375, -0.0034885406494140625, 0.0018453598022460938, 0.004985809326171875, -0.0283966064453125, 0.0117950439453125, 0.00605010986328125, 0.0187835693359375, 0.044189453125, 0.00555419921875, 0.030120849609375, -0.0228729248046875, -0.0244903564453125, -0.009552001953125, -0.0037593841552734375, -0.01641845703125, -0.0010318756103515625, -0.015594482421875, -0.008819580078125, -0.01824951171875, 0.045318603515625, 0.004169464111328125, 0.00409698486328125, -0.04656982421875, 0.0220947265625, -0.01346588134765625, -0.019866943359375, 0.061676025390625, 0.0129852294921875, -0.05902099609375, -0.01140594482421875, -0.05230712890625, -0.02197265625, -0.05584716796875, -0.0245361328125, -0.052154541015625, 0.0197296142578125, 0.02362060546875, 0.025787353515625, -0.0177001953125, -0.022705078125, -0.0066986083984375, 0.032073974609375, 0.0170135498046875, 0.05218505859375, -0.00098419189453125, 0.0518798828125, -0.0150604248046875, 0.055328369140625, 0.01113128662109375, 0.0254669189453125, -0.015045166015625, -0.0301666259765625, 0.0189361572265625, -0.042572021484375, -0.0303497314453125, -0.0088653564453125, -0.0010232925415039062, -0.0081024169921875, -0.0185394287109375, -0.006649017333984375, -0.0293121337890625, -0.0176544189453125, 0.0032825469970703125, -0.033599853515625, 0.042449951171875, -0.0248260498046875, -0.0310516357421875, -0.027435302734375, -0.037841796875, 0.0164337158203125, 0.024871826171875, 0.004741668701171875, 0.01102447509765625, -0.00882720947265625, -0.0017681121826171875, 0.0308074951171875, -0.0594482421875, 0.07965087890625, 0.1317138671875, -0.0072479248046875, 0.062042236328125, 0.054229736328125, -0.01403045654296875, 0.03045654296875, -0.0004534721374511719, -0.0130462646484375, -0.015655517578125, -0.005588531494140625, -0.005443572998046875, -0.016632080078125, -0.0167999267578125, -0.01678466796875, -0.0011816024780273438, 0.075927734375, 0.0875244140625, -0.0941162109375, -0.0233154296875, 0.022003173828125, -0.0299224853515625, -0.027313232421875, 0.0213165283203125, -0.0018749237060546875, 0.00801849365234375, 0.015960693359375, -0.06683349609375, -0.00762939453125, 0.01412200927734375, -0.006999969482421875, 0.007122039794921875, 0.00383758544921875, 0.08367919921875, 0.01462554931640625, -0.006519317626953125, -0.039581298828125, 0.01323699951171875, 0.0259246826171875, -0.0032215118408203125, -0.02490234375, 0.0188140869140625, -0.053314208984375, -0.06298828125, -0.02484130859375, -0.041748046875, -0.004364013671875, 0.020111083984375, 0.029296875, 0.008331298828125, 0.050811767578125, -0.00047850608825683594, 0.023834228515625, 0.007305145263671875, 0.02740478515625, 0.039459228515625, -0.03692626953125, -0.0026531219482421875, 0.0183258056640625, -0.0797119140625, 0.008544921875, -0.0273895263671875, 0.01142120361328125, -0.0172576904296875, 0.0234375, 0.07769775390625, -0.0036468505859375, -0.037109375, 0.036956787109375, 0.01284027099609375, -0.030487060546875, -0.0030059814453125, -0.01378631591796875, -0.0245513916015625, 0.03741455078125, -0.0162353515625, 0.01239013671875, 0.01145172119140625, -0.00627899169921875, -0.047637939453125, 0.042205810546875, -0.018218994140625, 0.0208740234375, 0.0239105224609375, 0.00914764404296875, -0.01419830322265625, -0.00231170654296875, 0.0093536376953125, 0.05474853515625, 0.059906005859375, 0.01099395751953125, 0.01021575927734375, -0.0169525146484375, 0.03045654296875, 0.037384033203125, 0.04412841796875, 0.0255279541015625, -0.09967041015625, -0.006809234619140625, 0.046295166015625, 0.039215087890625, 0.029754638671875, 0.0760498046875, 0.0106658935546875, 0.0024318695068359375, 0.041290283203125, -0.0279998779296875, 0.0288543701171875, -0.0308837890625, 0.01436614990234375, 0.01105499267578125, -0.005657196044921875, -0.023895263671875, -0.01678466796875, 0.0247039794921875, -0.0706787109375, 0.01113128662109375, 0.0367431640625, 0.0023212432861328125, 0.00739288330078125, 0.008056640625, 0.04998779296875, -0.0755615234375, -0.0028705596923828125, -0.0439453125, 0.047821044921875, 0.0193328857421875, 0.01010894775390625, 0.03887939453125, 0.0179901123046875, 0.027191162109375, 0.012939453125, 0.0154876708984375, 0.0115509033203125, -0.0036334991455078125, 0.07745361328125, 0.035064697265625, 0.0355224609375, -0.03485107421875, 0.0113677978515625, 0.041351318359375, 0.08544921875, -0.048675537109375, 0.00368499755859375, 0.02069091796875, 0.03167724609375, 0.043426513671875, -0.009613037109375, 0.0865478515625, 0.04632568359375, 0.0219879150390625, 0.0009107589721679688, 0.03759765625, 0.0521240234375, -0.0124969482421875, 0.01329803466796875, 0.047882080078125, -0.06475830078125, 0.051666259765625, -0.0047149658203125, 0.01514434814453125, -0.00644683837890625, -0.0282440185546875, -0.027069091796875, 0.04632568359375, 0.029083251953125, 0.0203704833984375, -0.032745361328125, 0.007080078125, 0.01419830322265625, 0.04083251953125, -0.034515380859375, -0.01543426513671875, 0.041290283203125, 0.050506591796875, 0.01471710205078125, 0.007701873779296875, 0.019744873046875, 0.028076171875, 0.003620147705078125, -0.0074310302734375, 0.01427459716796875, -0.01531219482421875, 0.00392913818359375, 0.0028781890869140625, -0.0122528076171875, 0.0209808349609375, -0.0325927734375, -0.005977630615234375, 0.01012420654296875, 0.035797119140625, -0.0024871826171875, 0.033721923828125, -0.01788330078125, 0.002063751220703125, 0.036529541015625, -0.06024169921875, 0.0028839111328125, -0.0237884521484375, -0.0838623046875, -0.03326416015625, 0.004093170166015625, -0.0269927978515625, 0.034912109375, 0.047943115234375, -0.008941650390625, -0.006771087646484375, -0.0243072509765625, -0.004413604736328125, 0.031402587890625, -0.00548553466796875, -0.01116180419921875, 0.01154327392578125, 0.01268768310546875, -0.0107879638671875, -0.0872802734375, -0.037017822265625, -0.0276336669921875, 0.01166534423828125, -0.006866455078125, 0.07012939453125, 0.0129547119140625, 0.022735595703125, -0.0284271240234375, -0.025848388671875, 0.017730712890625, -0.01276397705078125, -0.022918701171875, 0.032989501953125, 0.014190673828125, -0.0090484619140625, -0.0706787109375, 0.019012451171875, -0.00878143310546875, -0.002010345458984375, 0.027740478515625, -0.04693603515625, 0.015625, 0.006870269775390625, 0.023223876953125, -0.0521240234375, -0.08343505859375, -0.0478515625, 0.045013427734375, -0.037628173828125, -0.031097412109375, -0.04840087890625, 0.0301361083984375, -0.039398193359375, -0.021942138671875, -0.0015382766723632812, -0.041259765625, -0.039581298828125, 0.0007314682006835938, 0.00461578369140625, -0.0102081298828125, 0.0053558349609375, -0.02099609375, -0.005046844482421875, 0.017059326171875, -0.01441192626953125, 0.0084075927734375, 0.0096282958984375, -0.00577545166015625, -0.000682830810546875, 0.053802490234375, 0.0256500244140625, 0.0165557861328125, -0.05364990234375, 0.0099029541015625, 0.005710601806640625, -0.0016126632690429688, -0.032379150390625, -0.04327392578125, 0.007038116455078125, 0.010040283203125, -0.0111236572265625, -0.035797119140625, -0.0662841796875, 0.01244354248046875, 0.0240631103515625, -0.0128173828125, -0.055938720703125, 0.028656005859375, -0.0295562744140625, 0.07159423828125, -0.03363037109375, -0.007373809814453125, 0.0187225341796875, 0.031646728515625, -0.0572509765625, -0.0220184326171875, -0.0140533447265625, -0.0035552978515625, -0.03656005859375, 0.0277252197265625, 0.0177764892578125, -0.037933349609375, 0.0322265625, 0.04705810546875, 0.046661376953125, 0.09051513671875, 0.0167999267578125, -0.0157928466796875, 0.00609588623046875, -0.01258087158203125, -0.0150604248046875, -0.04931640625, 0.0057830810546875, -0.0543212890625, -0.0229644775390625, -0.01247406005859375, -0.003734588623046875, -0.005794525146484375, -0.0509033203125, -0.07305908203125, 0.032989501953125, -0.000058770179748535156, -0.0369873046875, -0.0570068359375, 0.01141357421875, 0.020721435546875, -0.0107879638671875, -0.0184478759765625, 0.0021839141845703125, -0.051971435546875, -0.0101165771484375, -0.016265869140625, 0.01275634765625, -0.0250701904296875, 0.019561767578125, -0.00848388671875, 0.039215087890625, 0.027099609375, -0.054168701171875, -0.0200958251953125, 0.013214111328125, -0.0192108154296875, 0.02557373046875, -0.0223388671875, -0.06573486328125, -0.0172119140625, 0.0088043212890625, -0.0069580078125, -0.00885772705078125, -0.0474853515625, -0.0120849609375, 0.0496826171875, 0.10089111328125, 0.0180206298828125, -0.03265380859375, -0.03509521484375, -0.0280914306640625, -0.027679443359375, -0.01444244384765625, 0.0296630859375, -0.07989501953125, 0.006603240966796875, 0.0196685791015625, -0.007110595703125, 0.00980377197265625, -0.03167724609375, -0.0411376953125, 0.01073455810546875, -0.00948333740234375, -0.00983428955078125, -0.0053863525390625, -0.006988525390625, 0.06396484375, -0.03924560546875, 0.0193023681640625, 0.01177215576171875, 0.01416015625, 0.0305938720703125, 0.005680084228515625, 0.0246429443359375, -0.00411224365234375, 0.01180267333984375, 0.0000393986701965332, 0.04107666015625, 0.03973388671875, 0.01015472412109375, -0.043487548828125, -0.0094146728515625, 0.04254150390625, 0.00795745849609375, 0.06805419921875, -0.016326904296875, 0.009674072265625, 0.01715087890625, 0.0020084381103515625, -0.0020961761474609375, -0.02996826171875, -0.024261474609375, 0.027008056640625, -0.0230712890625, -0.00780487060546875, -0.005126953125, -0.023681640625, 0.00293731689453125, 0.037353515625, 0.0203857421875, -0.03509521484375, 0.0209197998046875, 0.0298919677734375, 0.046783447265625, 0.015869140625 ]
7429a6d96b9ab1f9f6ab022a92d41fcfb88b53e5
Wordpress Stackexchange Q: the_content after all shortcodes are parsed I am creating a WordPress Plugin for WordPress directory. How can I get the_content() after applying all the shortcodes that are presents in the_content? Let me explain: My plugin will be used in multiple themes and websites; and users will add some shortcodes in their posts or pages. I want my plugin to work after these shortcodes are parsed, and then use the content for my plugin as input. A: Are you looking for a filter perhaps? add_filter( 'the_content', 'wpse_the_content_filter', 20 ); function wpse_the_content_filter( $content ) { // Do whatever you want with the $content return $content; } Filtering 'the_content' will pass the post or page content through a function of your choice. Just make sure to run it late (e.g. 20) and return the contents so they can be displayed. More information here: https://codex.wordpress.org/Plugin_API/Filter_Reference/the_content
Q: the_content after all shortcodes are parsed I am creating a WordPress Plugin for WordPress directory. How can I get the_content() after applying all the shortcodes that are presents in the_content? Let me explain: My plugin will be used in multiple themes and websites; and users will add some shortcodes in their posts or pages. I want my plugin to work after these shortcodes are parsed, and then use the content for my plugin as input. A: Are you looking for a filter perhaps? add_filter( 'the_content', 'wpse_the_content_filter', 20 ); function wpse_the_content_filter( $content ) { // Do whatever you want with the $content return $content; } Filtering 'the_content' will pass the post or page content through a function of your choice. Just make sure to run it late (e.g. 20) and return the contents so they can be displayed. More information here: https://codex.wordpress.org/Plugin_API/Filter_Reference/the_content A: First rule: When used within theme's template files (i.e. WordPress loop), the_content() will by default return the content after applying all the shortcodes. Second rule: If you have any custom shortcode, you must have shortcode handler function applied with add_shortcode (obviously). Otherwise your own custom shortcodes will not work. Third rule: If your plugin's content related function is running independently from the loop and you want to retrieve the content using custom query, then to apply the shortcodes in the content, you may use do_shortcode function. Like: $content = do_shortcode( $content ); or, you may use the_content filter for the same purpose: $content = apply_filters( 'the_content', $content ); Here you'll find a similar discussion.
wordpress
{ "language": "en", "length": 257, "provenance": "stackexchange_00019.jsonl.gz:473460", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257482" }
[ 0.0065155029296875, -0.022064208984375, -0.0109405517578125, -0.0218505859375, 0.005451202392578125, -0.033172607421875, 0.037567138671875, -0.004364013671875, 0.00992584228515625, 0.01141357421875, -0.032135009765625, -0.035369873046875, -0.0284576416015625, -0.032501220703125, -0.0167083740234375, -0.06964111328125, 0.0257415771484375, 0.0134429931640625, 0.044677734375, -0.007472991943359375, 0.017120361328125, 0.01947021484375, -0.0016736984252929688, 0.02252197265625, 0.0018911361694335938, -0.0284576416015625, 0.101318359375, 0.0115203857421875, -0.0152435302734375, -0.017791748046875, 0.01265716552734375, 0.001094818115234375, 0.03997802734375, 0.0299530029296875, -0.072265625, 0.045013427734375, -0.016387939453125, -0.004634857177734375, -0.024871826171875, 0.0367431640625, 0.021148681640625, -0.027130126953125, 0.02349853515625, 0.03533935546875, 0.00777435302734375, -0.00024044513702392578, 0.0236968994140625, -0.06524658203125, -0.005645751953125, 0.0268707275390625, 0.038421630859375, -0.03460693359375, 0.040740966796875, -0.057586669921875, 0.0013952255249023438, 0.01517486572265625, -0.0626220703125, 0.0157928466796875, 0.045318603515625, -0.007080078125, -0.032501220703125, -0.04815673828125, 0.0308074951171875, -0.0333251953125, 0.0213165283203125, 0.042999267578125, 0.0107879638671875, 0.0031757354736328125, -0.05224609375, 0.016387939453125, 0.00485992431640625, -0.0758056640625, 0.0012865066528320312, -0.031036376953125, 0.00472259521484375, 0.01003265380859375, -0.020660400390625, -0.016357421875, 0.0318603515625, -0.013336181640625, 0.034637451171875, 0.007205963134765625, -0.0281982421875, 0.01052093505859375, -0.0060577392578125, 0.008544921875, -0.0024089813232421875, -0.017974853515625, -0.0191192626953125, 0.009552001953125, -0.020660400390625, 0.01910400390625, 0.01316070556640625, -0.0003018379211425781, -0.0291748046875, 0.000652313232421875, 0.0162200927734375, 0.06439208984375, -0.0249176025390625, 0.031280517578125, -0.01131439208984375, -0.0517578125, 0.074462890625, -0.06353759765625, -0.00945281982421875, -0.03558349609375, 0.001163482666015625, -0.032257080078125, 0.04498291015625, 0.05126953125, -0.031341552734375, 0.041656494140625, -0.04364013671875, -0.022186279296875, -0.01215362548828125, 0.044342041015625, -0.048309326171875, -0.01416778564453125, -0.005435943603515625, -0.0011444091796875, 0.00376129150390625, -0.0178375244140625, 0.002239227294921875, -0.0113983154296875, -0.0171051025390625, -0.0399169921875, -0.04095458984375, 0.016632080078125, 0.031036376953125, 0.0041656494140625, -0.00872039794921875, -0.002651214599609375, -0.01885986328125, 0.022735595703125, -0.00028395652770996094, -0.0229644775390625, -0.01020050048828125, -0.026824951171875, -0.0027713775634765625, 0.02252197265625, -0.037567138671875, -0.005641937255859375, 0.029876708984375, -0.03741455078125, 0.0394287109375, 0.00754547119140625, 0.0190887451171875, 0.02545166015625, -0.006855010986328125, -0.04461669921875, 0.045013427734375, 0.019378662109375, 0.0533447265625, -0.0241546630859375, -0.0238189697265625, -0.034423828125, 0.02484130859375, -0.058319091796875, -0.01715087890625, -0.0723876953125, 0.04302978515625, 0.0027408599853515625, -0.0131683349609375, 0.0013189315795898438, -0.0193939208984375, -0.03173828125, -0.046905517578125, 0.00007796287536621094, 0.00933837890625, 0.00799560546875, -0.0159149169921875, 0.02545166015625, -0.034271240234375, 0.0015230178833007812, 0.0013761520385742188, -0.0031108856201171875, -0.0263824462890625, 0.01526641845703125, 0.0249786376953125, 0.0208740234375, -0.0086822509765625, -0.03717041015625, 0.06085205078125, -0.0057830810546875, -0.0517578125, 0.022308349609375, 0.0298919677734375, 0.0660400390625, -0.00035381317138671875, 0.026763916015625, 0.0343017578125, 0.0268096923828125, -0.027069091796875, -0.0021839141845703125, 0.00481414794921875, -0.026885986328125, -0.01468658447265625, -0.01654052734375, 0.00672149658203125, 0.00495147705078125, 0.02978515625, -0.0244293212890625, 0.049468994140625, 0.00385284423828125, -0.00341796875, 0.00441741943359375, -0.01216888427734375, 0.0002455711364746094, -0.004566192626953125, -0.0028018951416015625, 0.01009368896484375, -0.02374267578125, -0.0139312744140625, -0.0030994415283203125, -0.03173828125, 0.0294647216796875, -0.054962158203125, -0.005123138427734375, 0.0117645263671875, 0.062347412109375, 0.04168701171875, -0.0194091796875, 0.0018138885498046875, -0.03399658203125, 0.07061767578125, 0.00738525390625, 0.0026702880859375, 0.004589080810546875, 0.052642822265625, 0.020233154296875, -0.0250396728515625, -0.0121917724609375, 0.0098724365234375, 0.00618743896484375, -0.03839111328125, 0.0093231201171875, -0.01287078857421875, -0.031463623046875, -0.0104217529296875, 0.048004150390625, 0.059112548828125, 0.105712890625, 0.0005130767822265625, -0.048187255859375, 0.141357421875, -0.0302276611328125, 0.00809478759765625, -0.03485107421875, 0.063232421875, 0.11224365234375, -0.030517578125, 0.01776123046875, 0.0026111602783203125, -0.010223388671875, 0.034820556640625, 0.0186920166015625, -0.0095977783203125, -0.01471710205078125, -0.01282501220703125, 0.01113128662109375, 0.00713348388671875, -0.024505615234375, -0.01091766357421875, -0.024627685546875, 0.0298614501953125, 0.04046630859375, 0.0294189453125, 0.0478515625, -0.033905029296875, 0.0164947509765625, 0.026824951171875, 0.040191650390625, -0.001720428466796875, 0.05194091796875, 0.036163330078125, -0.0252227783203125, -0.027130126953125, -0.029266357421875, 0.01485443115234375, 0.0253753662109375, 0.00026798248291015625, 0.0105438232421875, -0.046722412109375, -0.017547607421875, 0.0005273818969726562, -0.0113525390625, -0.01122283935546875, 0.022857666015625, 0.039276123046875, -0.0158843994140625, -0.0163726806640625, 0.06805419921875, 0.00927734375, 0.0626220703125, 0.0234222412109375, 0.0022563934326171875, 0.05126953125, -0.0131072998046875, 0.044189453125, -0.034393310546875, 0.0147857666015625, 0.041168212890625, -0.0189056396484375, -0.005710601806640625, 0.01064300537109375, -0.00362396240234375, 0.007518768310546875, 0.0077362060546875, -0.01016998291015625, 0.003238677978515625, -0.0728759765625, -0.01015472412109375, 0.0229034423828125, 0.0712890625, -0.004791259765625, -0.04193115234375, -0.019775390625, 0.05023193359375, -0.082763671875, -0.04364013671875, 0.038421630859375, -0.073486328125, -0.033050537109375, -0.037628173828125, -0.050201416015625, 0.00811767578125, -0.02166748046875, -0.0155487060546875, -0.0137786865234375, -0.004329681396484375, -0.05462646484375, -0.0025787353515625, -0.04278564453125, 0.08154296875, -0.0158538818359375, 0.0292205810546875, 0.0097503662109375, 0.0139312744140625, 0.0108184814453125, -0.036895751953125, 0.004299163818359375, 0.0614013671875, -0.0147705078125, -0.0016326904296875, -0.021392822265625, 0.016845703125, 0.005184173583984375, 0.0025787353515625, 0.004535675048828125, 0.019927978515625, -0.0083465576171875, -0.01812744140625, -0.0200347900390625, 0.0257110595703125, 0.034942626953125, -0.0214691162109375, 0.00652313232421875, 0.0234527587890625, 0.0270538330078125, -0.03985595703125, 0.006504058837890625, 0.007137298583984375, -0.038818359375, 0.004192352294921875, 0.0390625, -0.03179931640625, -0.00215911865234375, -0.020263671875, -0.00574493408203125, 0.00882720947265625, 0.022247314453125, -0.00447845458984375, 0.0264129638671875, -0.0179595947265625, -0.0201263427734375, -0.008941650390625, 0.030853271484375, 0.0022430419921875, 0.0016641616821289062, 0.01541900634765625, 0.038848876953125, 0.01385498046875, 0.0166778564453125, -0.02642822265625, -0.0189971923828125, 0.060638427734375, 0.0380859375, 0.041107177734375, -0.04180908203125, -0.06121826171875, -0.0196380615234375, 0.09942626953125, -0.052734375, 0.01042938232421875, -0.012603759765625, -0.0058441162109375, -0.0006380081176757812, -0.02685546875, -0.061859130859375, -0.03167724609375, -0.08721923828125, 0.009521484375, -0.03826904296875, -0.0029888153076171875, 0.0078582763671875, -0.016876220703125, -0.007965087890625, -0.045562744140625, 0.030120849609375, -0.032318115234375, 0.01446533203125, -0.00959014892578125, -0.008148193359375, -0.043182373046875, -0.0176849365234375, -0.0036754608154296875, -0.038970947265625, -0.002902984619140625, -0.002716064453125, 0.0167999267578125, 0.040924072265625, -0.07183837890625, -0.00095367431640625, 0.0286102294921875, -0.01267242431640625, 0.037872314453125, -0.01654052734375, 0.02569580078125, -0.0110626220703125, -0.0068359375, 0.01556396484375, -0.0166473388671875, 0.01117706298828125, 0.01229095458984375, -0.003925323486328125, 0.0511474609375, -0.046600341796875, -0.01148223876953125, -0.030517578125, -0.032196044921875, -0.02069091796875, 0.0007314682006835938, -0.006084442138671875, 0.0105438232421875, -0.039154052734375, 0.0321044921875, 0.01337432861328125, -0.032623291015625, 0.0287933349609375, 0.0281829833984375, -0.036773681640625, 0.005859375, 0.044708251953125, 0.0297088623046875, -0.033172607421875, -0.0540771484375, -0.021697998046875, 0.040191650390625, -0.039215087890625, 0.06512451171875, 0.045318603515625, -0.039947509765625, 0.10015869140625, 0.00931549072265625, 0.036407470703125, -0.006923675537109375, 0.063720703125, 0.0167999267578125, 0.0177459716796875, 0.003265380859375, 0.03472900390625, -0.045806884765625, 0.00931549072265625, -0.01473236083984375, -0.0108184814453125, 0.021697998046875, 0.00847625732421875, -0.0167388916015625, 0.042510986328125, 0.0030574798583984375, -0.0309295654296875, 0.00864410400390625, 0.053863525390625, 0.0146636962890625, 0.02789306640625, -0.006465911865234375, 0.0171966552734375, 0.038665771484375, -0.002079010009765625, 0.00855255126953125, 0.0260162353515625, -0.0008254051208496094, 0.045013427734375, -0.0187530517578125, -0.007167816162109375, -0.0225372314453125, 0.00954437255859375, 0.0276947021484375, -0.01291656494140625, -0.025054931640625, -0.0195770263671875, -0.0245513916015625, -0.0182037353515625, 0.0191497802734375, 0.00576019287109375, 0.0556640625, 0.043731689453125, -0.006778717041015625, -0.0278472900390625, -0.0101776123046875, 0.028839111328125, -0.05804443359375, 0.00464630126953125, -0.0243682861328125, -0.0020236968994140625, 0.0134735107421875, 0.0023632049560546875, -0.09765625, 0.04241943359375, 0.0180816650390625, 0.022857666015625, 0.035400390625, 0.025543212890625, 0.033721923828125, -0.03857421875, -0.00048065185546875, -0.013519287109375, -0.004459381103515625, -0.0281524658203125, -0.003948211669921875, 0.0250701904296875, 0.041717529296875, -0.054595947265625, -0.023834228515625, 0.03338623046875, -0.00174713134765625, 0.017120361328125, -0.0117950439453125, -0.0276947021484375, 0.016571044921875, -0.0250091552734375, 0.00921630859375, 0.046905517578125, 0.0181884765625, 0.0016193389892578125, -0.01360321044921875, -0.00012165307998657227, -0.00914764404296875, 0.036102294921875, -0.059661865234375, 0.01270294189453125, 0.0151214599609375, 0.017059326171875, -0.02734375, -0.0035419464111328125, -0.041412353515625, 0.009765625, -0.01036834716796875, 0.0114898681640625, 0.050811767578125, -0.009765625, 0.061767578125, -0.04376220703125, -0.01238250732421875, -0.033843994140625, 0.011383056640625, 0.0189361572265625, 0.01351165771484375, -0.042022705078125, 0.0214385986328125, -0.015869140625, 0.003055572509765625, -0.0074920654296875, -0.051300048828125, -0.03594970703125, -0.0379638671875, -0.004138946533203125, 0.01537322998046875, -0.014801025390625, 0.006786346435546875, 0.004306793212890625, 0.0163726806640625, -0.0196990966796875, 0.060546875, -0.0126190185546875, 0.08245849609375, 0.007450103759765625, 0.0592041015625, 0.02105712890625, 0.047332763671875, -0.0242767333984375, -0.0297088623046875, 0.007610321044921875, -0.03857421875, -0.054840087890625, -0.00516510009765625, 0.006069183349609375, 0.052276611328125, 0.035491943359375, -0.003322601318359375, 0.025299072265625, -0.003398895263671875, -0.00542449951171875, -0.0093231201171875, -0.004825592041015625, 0.0166168212890625, -0.003536224365234375, 0.0288848876953125, -0.03204345703125, 0.01102447509765625, 0.0005970001220703125, -0.006511688232421875, 0.017608642578125, -0.00748443603515625, -0.002544403076171875, 0.03564453125, 0.01082611083984375, 0.0194854736328125, 0.053375244140625, -0.0263671875, 0.006244659423828125, 0.049713134765625, -0.0305633544921875, -0.020477294921875, -0.0186614990234375, 0.0249786376953125, 0.01206207275390625, 0.038482666015625, -0.0012178421020507812, 0.001483917236328125, 0.0305633544921875, -0.0293121337890625, 0.01244354248046875, 0.03466796875, 0.05364990234375, -0.07452392578125, 0.01255035400390625, 0.0218963623046875, -0.007289886474609375, -0.00904083251953125, 0.026580810546875, -0.0179290771484375, 0.002071380615234375, 0.009185791015625, 0.001560211181640625, -0.0142669677734375, 0.034210205078125, 0.007293701171875, -0.039337158203125, 0.01837158203125, 0.001251220703125, 0.00623321533203125, -0.0266571044921875, 0.009124755859375, 0.0026702880859375, 0.00864410400390625, -0.00830841064453125, 0.01132965087890625, -0.005462646484375, -0.0237274169921875, -0.0028324127197265625, 0.033111572265625, 0.0278472900390625, -0.0128936767578125, -0.00103759765625, 0.001491546630859375, 0.007785797119140625, 0.07305908203125, -0.039337158203125, 0.041107177734375, 0.035186767578125, -0.002811431884765625, -0.006404876708984375, -0.0214996337890625, -0.001125335693359375, 0.049530029296875, -0.037506103515625, 0.0219268798828125, -0.003955841064453125, 0.0010089874267578125, 0.0010728836059570312, -0.0310211181640625, 0.07080078125, -0.0570068359375, 0.0010318756103515625, 0.0228424072265625, -0.002841949462890625, -0.004718780517578125, -0.0178985595703125, 0.04327392578125, -0.0263671875, 0.0298309326171875, 0.00066375732421875, 0.044647216796875, -0.0178375244140625, -0.00997161865234375, -0.09808349609375, 0.103759765625, -0.026947021484375, 0.0516357421875, 0.0179290771484375, 0.01282501220703125, -0.033660888671875, -0.036895751953125, -0.036041259765625, 0.103759765625, 0.0007162094116210938, 0.0745849609375, -0.09075927734375, -0.033050537109375, 0.019561767578125, 0.08294677734375, 0.045867919921875, 0.0122833251953125, -0.0504150390625, -0.0156402587890625, 0.0289459228515625, 0.0179595947265625, -0.0033473968505859375, 0.0423583984375, 0.002685546875, 0.0175323486328125, 0.00713348388671875, -0.05096435546875, 0.020050048828125, -0.053680419921875, 0.0018873214721679688, 0.018341064453125, 0.0189361572265625, 0.01453399658203125, 0.0247039794921875, -0.006595611572265625, -0.000698089599609375, -0.0031909942626953125, 0.0030345916748046875, -0.0022792816162109375, -0.03082275390625, 0.0653076171875, -0.004848480224609375, -0.0036869049072265625, -0.0126800537109375, -0.037017822265625, 0.0419921875, -0.0109100341796875, 0.0816650390625, 0.0300445556640625, 0.0245819091796875, 0.09649658203125, 0.004093170166015625, 0.04888916015625, 0.037445068359375, -0.0285186767578125, 0.032196044921875, 0.01216888427734375, -0.01727294921875, -0.05694580078125, 0.005268096923828125, 0.0176849365234375, 0.03338623046875, -0.0390625, -0.045654296875, 0.0274658203125, 0.032012939453125, 0.0136260986328125, 0.01788330078125, 0.00922393798828125, -0.03594970703125, 0.028076171875, -0.0115509033203125, -0.0172271728515625, 0.0211639404296875, 0.0235595703125, 0.0107421875, 0.027252197265625, -0.01201629638671875, -0.031951904296875, -0.01727294921875, 0.01541900634765625, 0.019195556640625, 0.023834228515625, -0.0247344970703125, 0.06817626953125, -0.03509521484375, -0.01215362548828125, 0.00626373291015625, 0.0223236083984375, -0.0198822021484375, -0.01508331298828125, 0.0006284713745117188, -0.040679931640625, -0.03436279296875, 0.0236053466796875, 0.01445770263671875, -0.004779815673828125, -0.004596710205078125, 0.005832672119140625, -0.0010509490966796875, -0.007476806640625, -0.0007014274597167969, -0.01114654541015625, 0.03204345703125, -0.0384521484375, 0.02154541015625, -0.0002315044403076172, -0.013427734375, -0.0210418701171875, 0.0006742477416992188, 0.0247039794921875, 0.00040435791015625, 0.06024169921875, -0.00496673583984375, -0.024505615234375, -0.005207061767578125, -0.028594970703125, 0.05169677734375, -0.0108184814453125, -0.08636474609375, -0.01554107666015625, -0.0308990478515625, -0.01849365234375, 0.032806396484375, 0.04425048828125, -0.004985809326171875, 0.0244293212890625, -0.0138397216796875, -0.03582763671875, 0.0035305023193359375, 0.0167999267578125, -0.0006213188171386719, 0.00823211669921875, -0.003978729248046875, -0.0236053466796875, -0.0167083740234375, -0.01145172119140625, -0.0379638671875, 0.053558349609375, 0.0390625, 0.041778564453125, -0.0210418701171875, 0.05438232421875, -0.017059326171875, -0.01192474365234375, 0.0035877227783203125, -0.014495849609375, 0.0242156982421875, 0.0296173095703125, -0.0010156631469726562, -0.031646728515625, -0.01806640625, -0.0211029052734375, 0.06829833984375, -0.01885986328125, 0.006114959716796875, -0.0305023193359375, 0.022430419921875, -0.03668212890625, 0.0313720703125, -0.0159454345703125, 0.02154541015625, -0.0289459228515625, -0.03009033203125, 0.057281494140625, 0.0158538818359375, -0.002506256103515625, -0.00638580322265625, 0.0611572265625, -0.01076507568359375, 0.0225372314453125, 0.033477783203125, 0.0294036865234375, 0.032562255859375, 0.0260162353515625, -0.006420135498046875, 0.00959014892578125, -0.011810302734375, 0.01528167724609375, 0.01422119140625, 0.0067901611328125, 0.021881103515625, -0.015533447265625, 0.0013179779052734375, 0.0122833251953125, 0.0653076171875, 0.009246826171875, 0.033416748046875, -0.004398345947265625, 0.01155853271484375, -0.03387451171875, -0.037506103515625, -0.0188751220703125, -0.0673828125, 0.0162811279296875, 0.0093994140625, -0.0125885009765625, -0.0226593017578125, -0.0019683837890625, 0.009796142578125, 0.022552490234375, 0.006366729736328125, -0.054351806640625, 0.006549835205078125, -0.008697509765625, 0.033782958984375, -0.0180816650390625, 0.021728515625, -0.016632080078125, -0.026397705078125, -0.0408935546875, -0.00867462158203125, -0.055145263671875, 0.01331329345703125, -0.0242919921875, -0.007656097412109375, 0.0143280029296875, -0.0052490234375, -0.0186920166015625, 0.024932861328125, -0.020263671875, 0.0799560546875, -0.01403045654296875, -0.01546478271484375, 0.0276947021484375, 0.000743865966796875, -0.0216827392578125, -0.035736083984375, 0.0177459716796875, -0.0228118896484375, -0.00415802001953125, -0.003452301025390625, -0.01129150390625, -0.008209228515625, -0.0251617431640625, -0.019073486328125, 0.002704620361328125, 0.0160064697265625, -0.0188140869140625, -0.040130615234375, 0.002429962158203125, 0.019622802734375, -0.0400390625, -0.022552490234375, -0.0023708343505859375, -0.0418701171875, 0.0171661376953125, -0.01323699951171875, 0.045806884765625, -0.01061248779296875, -0.0164031982421875, -0.05242919921875, -0.01934814453125, -0.033905029296875, -0.0034580230712890625, 0.00539398193359375, -0.0271759033203125, 0.01934814453125, 0.0147857666015625, -0.031890869140625, -0.0487060546875, 0.019134521484375, -0.01751708984375, -0.005451202392578125, -0.041412353515625, -0.01515960693359375, -0.01287841796875, 0.06298828125, 0.01471710205078125, 0.0262603759765625, -0.0227508544921875, 0.01568603515625, 0.0277099609375, -0.01280975341796875, 0.00189971923828125, 0.01416778564453125, -0.032379150390625, -0.01953125, -0.0275726318359375, -0.03411865234375, 0.0173187255859375, -0.048309326171875, -0.0452880859375, -0.0083770751953125, -0.0557861328125, 0.0173187255859375, -0.01525115966796875, -0.0634765625, 0.02203369140625, -0.01708984375, -0.0005712509155273438, 0.0020236968994140625, 0.04730224609375, -0.0011491775512695312, 0.045501708984375, 0.0173797607421875, 0.033203125, -0.028778076171875, 0.0102386474609375, 0.0224151611328125, 0.0183868408203125, -0.008209228515625, -0.004695892333984375, 0.0060882568359375, 0.035858154296875, -0.004520416259765625, 0.04254150390625, 0.01544952392578125, 0.0408935546875, -0.00826263427734375, 0.03302001953125, -0.02923583984375, 0.055694580078125, 0.00392913818359375, 0.021331787109375, -0.0166778564453125, -0.01507568359375, 0.038177490234375, -0.054107666015625, 0.00991058349609375, 0.0198822021484375, 0.036529541015625, -0.025146484375, 0.0164031982421875, -0.037078857421875, 0.0249786376953125, 0.0007753372192382812 ]
40734cda65a9d8a3324814adb49352bb4c0132c2
Wordpress Stackexchange Q: How do you retrieve a post by slug name through REST API? It works for my pages but not for my posts. If I go to example.com/wp-json/wp/v2/pages?slug=page-name it will retrieve the page correctly. If I go to example.com/wp-json/wp/v2/posts?slug=post-name it will not retrieve a post in the same way. Can someone tell me how to get a post by slug name? The post does have a category too, but I don't know if it's necessary or how to properly add that to the query. All the documentation I have found refers to the [filter] function which is no longer supported. A: Posts: sitename.com/wp-json/wp/v2/posts?slug=post-slug Pages: sitename.com/wp-json/wp/v2/pages?slug=page-slug Custom post type: sitename.com/wp-json/wp/v2/POST_TYPE?slug=post-slug
Q: How do you retrieve a post by slug name through REST API? It works for my pages but not for my posts. If I go to example.com/wp-json/wp/v2/pages?slug=page-name it will retrieve the page correctly. If I go to example.com/wp-json/wp/v2/posts?slug=post-name it will not retrieve a post in the same way. Can someone tell me how to get a post by slug name? The post does have a category too, but I don't know if it's necessary or how to properly add that to the query. All the documentation I have found refers to the [filter] function which is no longer supported. A: Posts: sitename.com/wp-json/wp/v2/posts?slug=post-slug Pages: sitename.com/wp-json/wp/v2/pages?slug=page-slug Custom post type: sitename.com/wp-json/wp/v2/POST_TYPE?slug=post-slug
wordpress
{ "language": "en", "length": 109, "provenance": "stackexchange_00019.jsonl.gz:473470", "question_score": "33", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257505" }
[ 0.006595611572265625, -0.003688812255859375, -0.0215301513671875, 0.02789306640625, -0.00266265869140625, -0.0243988037109375, 0.050689697265625, -0.0178680419921875, -0.0179901123046875, 0.0288848876953125, -0.0201263427734375, 0.026580810546875, 0.003948211669921875, -0.015533447265625, 0.0125732421875, -0.023956298828125, 0.041778564453125, 0.0189056396484375, 0.051483154296875, -0.01041412353515625, 0.014068603515625, 0.012420654296875, 0.0270538330078125, 0.07623291015625, 0.042816162109375, -0.00800323486328125, 0.042816162109375, -0.01788330078125, 0.0221710205078125, -0.01535797119140625, 0.0285186767578125, -0.0279541015625, 0.0166015625, -0.0033626556396484375, 0.02630615234375, -0.01678466796875, 0.02166748046875, -0.0036163330078125, 0.01416778564453125, 0.0087432861328125, 0.007793426513671875, -0.0025997161865234375, 0.01256561279296875, 0.03204345703125, -0.0080108642578125, -0.016265869140625, -0.0070648193359375, -0.0516357421875, 0.018341064453125, 0.0217437744140625, 0.002925872802734375, 0.02313232421875, 0.0016908645629882812, 0.01056671142578125, -0.0021228790283203125, -0.0007433891296386719, 0.02685546875, 0.0221405029296875, 0.0234222412109375, -0.0791015625, -0.046478271484375, 0.01995849609375, 0.042327880859375, 0.0469970703125, -0.0004897117614746094, -0.01230621337890625, 0.014617919921875, 0.00449371337890625, -0.0098114013671875, 0.036102294921875, 0.03662109375, -0.01519012451171875, 0.0103607177734375, 0.0005369186401367188, -0.017120361328125, -0.05426025390625, 0.0194549560546875, -0.02313232421875, 0.00814056396484375, 0.012969970703125, 0.0010890960693359375, -0.026611328125, -0.0264434814453125, 0.01145172119140625, -0.017364501953125, 0.0090484619140625, -0.018096923828125, -0.01393890380859375, -0.00522613525390625, -0.0256805419921875, -0.0189208984375, -0.058349609375, -0.033111572265625, 0.059844970703125, 0.004863739013671875, -0.01503753662109375, 0.01230621337890625, 0.0011348724365234375, 0.00550079345703125, 0.0204925537109375, 0.0109100341796875, -0.057220458984375, 0.040802001953125, -0.02789306640625, 0.0183258056640625, -0.007633209228515625, 0.01128387451171875, 0.024749755859375, 0.0565185546875, -0.0019512176513671875, -0.00624847412109375, 0.08050537109375, 0.00498199462890625, -0.02264404296875, -0.028411865234375, 0.004024505615234375, -0.01532745361328125, -0.0193023681640625, 0.00921630859375, -0.044769287109375, 0.0192718505859375, 0.040557861328125, 0.01531982421875, -0.0029449462890625, 0.01270294189453125, 0.0288543701171875, -0.01428985595703125, -0.05706787109375, 0.01491546630859375, 0.0022563934326171875, -0.007709503173828125, 0.006923675537109375, 0.0224761962890625, 0.023895263671875, -0.00588226318359375, -0.015472412109375, -0.0234527587890625, 0.007457733154296875, -0.007061004638671875, -0.00548553466796875, 0.015716552734375, -0.00542449951171875, 0.00185394287109375, -0.013397216796875, 0.0230865478515625, -0.01554107666015625, -0.0016689300537109375, 0.0260162353515625, 0.01410675048828125, 0.0179443359375, -0.001049041748046875, 0.00009530782699584961, 0.01458740234375, 0.027252197265625, 0.0026950836181640625, -0.0235595703125, 0.0289459228515625, -0.03631591796875, 0.0125579833984375, -0.037628173828125, 0.0016107559204101562, 0.00133514404296875, 0.02264404296875, 0.0028896331787109375, -0.0212860107421875, 0.0066680908203125, -0.01409149169921875, -0.01397705078125, 0.0094757080078125, 0.0139312744140625, 0.00733184814453125, -0.007175445556640625, -0.037628173828125, -0.00571441650390625, 0.0021209716796875, -0.0035228729248046875, 0.0013408660888671875, 0.01153564453125, 0.0028896331787109375, 0.03411865234375, 0.0186920166015625, -0.022735595703125, 0.0252227783203125, 0.007537841796875, -0.06298828125, 0.062286376953125, 0.0323486328125, 0.07330322265625, -0.024169921875, 0.01157379150390625, 0.06768798828125, 0.05377197265625, -0.03564453125, 0.03436279296875, -0.0152130126953125, -0.047149658203125, 0.03326416015625, -0.00353240966796875, -0.0059051513671875, 0.01335906982421875, -0.0338134765625, 0.005451202392578125, -0.01593017578125, 0.0290679931640625, -0.013580322265625, -0.0221710205078125, 0.0017375946044921875, 0.01690673828125, 0.01751708984375, 0.018707275390625, 0.019927978515625, -0.0006861686706542969, -0.0391845703125, 0.01751708984375, -0.0267791748046875, 0.0255584716796875, -0.00449371337890625, -0.045989990234375, -0.028594970703125, 0.0031986236572265625, -0.031707763671875, 0.018218994140625, -0.07373046875, 0.0202484130859375, 0.055023193359375, -0.00817108154296875, -0.00566864013671875, -0.030303955078125, 0.046661376953125, 0.0131683349609375, -0.030303955078125, 0.00830841064453125, 0.0123748779296875, 0.0308380126953125, -0.006755828857421875, 0.0119781494140625, 0.03662109375, 0.0021038055419921875, 0.0215606689453125, 0.0200653076171875, 0.0111846923828125, 0.0269317626953125, -0.0255584716796875, 0.007411956787109375, 0.037445068359375, -0.0343017578125, -0.0156097412109375, 0.01512908935546875, 0.02606201171875, 0.0638427734375, 0.01294708251953125, 0.00434112548828125, 0.00907135009765625, -0.012786865234375, -0.004619598388671875, 0.03594970703125, -0.005329132080078125, 0.00496673583984375, -0.01222991943359375, 0.01116180419921875, 0.0026226043701171875, -0.00807952880859375, -0.006076812744140625, -0.0189666748046875, -0.0220489501953125, 0.02001953125, 0.0015707015991210938, 0.0133209228515625, -0.0208282470703125, -0.010040283203125, 0.025360107421875, 0.0254669189453125, -0.00859832763671875, 0.04425048828125, 0.0660400390625, -0.0295257568359375, -0.023590087890625, -0.027008056640625, 0.016845703125, 0.0266265869140625, 0.0013484954833984375, 0.0270233154296875, 0.00800323486328125, -0.01078033447265625, -0.00574493408203125, -0.0657958984375, 0.017730712890625, 0.0201263427734375, -0.0029697418212890625, 0.047454833984375, 0.025543212890625, 0.0640869140625, 0.00782012939453125, 0.033660888671875, 0.0012102127075195312, 0.0256195068359375, 0.04876708984375, -0.025482177734375, 0.0225830078125, -0.01369476318359375, 0.039825439453125, 0.051055908203125, -0.003818511962890625, 0.01012420654296875, -0.0020160675048828125, -0.0211029052734375, -0.02081298828125, -0.0046539306640625, -0.0177001953125, -0.0312042236328125, -0.0179443359375, 0.06488037109375, 0.020294189453125, 0.03515625, 0.00556182861328125, -0.031036376953125, 0.0081634521484375, 0.01922607421875, -0.11602783203125, -0.1123046875, 0.062225341796875, -0.06591796875, 0.0127410888671875, -0.0204315185546875, -0.037567138671875, -0.026580810546875, 0.0125274658203125, -0.01221466064453125, 0.03375244140625, -0.024505615234375, -0.0955810546875, -0.029144287109375, -0.08502197265625, 0.00661468505859375, -0.01044464111328125, 0.01206207275390625, 0.0161285400390625, 0.0213623046875, 0.00994110107421875, -0.018463134765625, 0.019439697265625, 0.060394287109375, -0.026519775390625, -0.027008056640625, -0.02734375, 0.0147247314453125, 0.034149169921875, -0.0015649795532226562, 0.028778076171875, 0.0389404296875, -0.024658203125, -0.005268096923828125, -0.00902557373046875, -0.004486083984375, 0.0032806396484375, 0.04180908203125, 0.0214385986328125, 0.00623321533203125, 0.03155517578125, -0.027801513671875, -0.0155487060546875, -0.045806884765625, -0.05322265625, 0.02264404296875, 0.0343017578125, 0.0152130126953125, -0.051422119140625, 0.045196533203125, 0.0007548332214355469, -0.0025310516357421875, 0.0221710205078125, -0.0215911865234375, 0.024261474609375, -0.005596160888671875, 0.0154571533203125, -0.0181884765625, 0.032684326171875, -0.01216888427734375, -0.022735595703125, 0.00836944580078125, -0.01000213623046875, -0.028289794921875, 0.007343292236328125, -0.04302978515625, -0.0577392578125, 0.050994873046875, -0.011566162109375, -0.00489044189453125, -0.01126861572265625, -0.031707763671875, -0.003326416015625, 0.07354736328125, -0.0176849365234375, -0.034759521484375, -0.0235595703125, 0.004825592041015625, -0.0035839080810546875, -0.028411865234375, 0.002010345458984375, -0.0228424072265625, -0.035888671875, -0.002765655517578125, -0.0023670196533203125, -0.0305328369140625, 0.00493621826171875, 0.019195556640625, -0.0093994140625, -0.0142822265625, 0.047882080078125, -0.0787353515625, 0.0262603759765625, -0.01338958740234375, 0.0034332275390625, -0.030029296875, -0.038177490234375, -0.0081634521484375, -0.07147216796875, -0.0238800048828125, 0.045684814453125, 0.050689697265625, -0.007076263427734375, -0.046722412109375, 0.0015172958374023438, 0.043121337890625, 0.047149658203125, 0.0513916015625, 0.0074005126953125, -0.032073974609375, 0.0020542144775390625, 0.0161895751953125, 0.0215606689453125, -0.01018524169921875, -0.0010080337524414062, -0.0145721435546875, -0.02410888671875, 0.01276397705078125, -0.0186920166015625, 0.0156097412109375, 0.003124237060546875, -0.0218505859375, -0.038055419921875, -0.01233673095703125, 0.0024051666259765625, 0.01514434814453125, -0.0006022453308105469, 0.005512237548828125, -0.0266571044921875, -0.03668212890625, 0.06756591796875, 0.04278564453125, -0.024444580078125, -0.0018978118896484375, 0.04742431640625, 0.0038604736328125, -0.053375244140625, -0.10302734375, 0.0034503936767578125, 0.0258026123046875, 0.009613037109375, 0.0628662109375, 0.018951416015625, -0.01190948486328125, 0.0738525390625, 0.00742340087890625, -0.0202484130859375, -0.0070343017578125, 0.00322723388671875, 0.01233673095703125, -0.01261138916015625, 0.00209808349609375, -0.00942230224609375, 0.041015625, 0.05902099609375, -0.018524169921875, -0.034332275390625, -0.0213470458984375, 0.0650634765625, -0.043609619140625, 0.050750732421875, -0.049713134765625, -0.052978515625, 0.01910400390625, -0.050018310546875, 0.01409912109375, 0.0016765594482421875, -0.008087158203125, 0.0140228271484375, -0.006256103515625, 0.005584716796875, -0.033599853515625, 0.01090240478515625, -0.0284881591796875, 0.03497314453125, -0.046142578125, -0.0214080810546875, -0.02947998046875, -0.01537322998046875, 0.07330322265625, -0.01192474365234375, -0.05511474609375, 0.00701904296875, -0.033294677734375, 0.0215301513671875, 0.031005859375, 0.00844573974609375, 0.00891876220703125, 0.051849365234375, -0.0321044921875, 0.005107879638671875, 0.006877899169921875, 0.038818359375, -0.0379638671875, 0.053436279296875, 0.0163726806640625, 0.00821685791015625, -0.03466796875, 0.12054443359375, 0.00659942626953125, 0.042388916015625, -0.0214996337890625, 0.00371551513671875, -0.0260467529296875, 0.05157470703125, 0.0148468017578125, -0.01435089111328125, 0.01279449462890625, 0.0194091796875, -0.0047149658203125, -0.0251007080078125, -0.005252838134765625, 0.016510009765625, 0.029052734375, -0.0275421142578125, -0.0308990478515625, 0.042083740234375, -0.0122528076171875, -0.0134429931640625, -0.0107421875, -0.01535797119140625, 0.00267791748046875, -0.036163330078125, -0.00879669189453125, 0.035797119140625, 0.0321044921875, -0.0157318115234375, 0.0008487701416015625, 0.0189971923828125, 0.032196044921875, -0.02423095703125, -0.005550384521484375, 0.03155517578125, 0.0322265625, -0.005573272705078125, -0.033203125, -0.0352783203125, 0.032989501953125, 0.0256500244140625, -0.00879669189453125, -0.039459228515625, 0.035919189453125, -0.0076751708984375, 0.0357666015625, -0.0233306884765625, 0.0014495849609375, -0.0083160400390625, 0.0078582763671875, 0.021820068359375, 0.0038909912109375, -0.0303955078125, 0.0239715576171875, -0.033447265625, 0.0002589225769042969, 0.08612060546875, 0.0037841796875, -0.0219879150390625, -0.066650390625, 0.0018682479858398438, 0.032318115234375, 0.0125885009765625, -0.0016384124755859375, -0.0035114288330078125, 0.004520416259765625, -0.00372314453125, 0.0220794677734375, -0.02178955078125, 0.051788330078125, -0.01349639892578125, 0.033233642578125, -0.013336181640625, 0.0016584396362304688, -0.023040771484375, -0.0029621124267578125, -0.0021114349365234375, -0.0797119140625, -0.0379638671875, 0.027008056640625, -0.06072998046875, 0.06414794921875, 0.0406494140625, 0.01123046875, -0.002330780029296875, -0.0188140869140625, 0.005031585693359375, -0.006465911865234375, 0.018402099609375, -0.0112762451171875, -0.02508544921875, 0.039825439453125, -0.01230621337890625, 0.0036792755126953125, -0.0280609130859375, -0.0101318359375, 0.0165557861328125, -0.00867462158203125, 0.0084075927734375, 0.004405975341796875, -0.02490234375, 0.0364990234375, 0.11090087890625, 0.02685546875, 0.06671142578125, 0.02435302734375, 0.0151214599609375, 0.023406982421875, -0.0020904541015625, -0.0038394927978515625, -0.035797119140625, 0.037261962890625, 0.00812530517578125, -0.003936767578125, 0.041015625, -0.0278472900390625, -0.000957489013671875, 0.0032901763916015625, 0.0304412841796875, -0.02667236328125, 0.00487518310546875, 0.01430511474609375, -0.034820556640625, -0.0142974853515625, 0.005214691162109375, -0.0287933349609375, -0.004917144775390625, 0.0191802978515625, -0.054443359375, -0.0306396484375, 0.0106353759765625, -0.0020389556884765625, -0.01837158203125, -0.0131683349609375, 0.06890869140625, 0.02191162109375, 0.0153045654296875, -0.005825042724609375, -0.0242919921875, 0.0240478515625, -0.0086517333984375, -0.0161895751953125, 0.01239013671875, -0.044097900390625, -0.0587158203125, 0.01309967041015625, -0.042510986328125, -0.00467681884765625, 0.0231170654296875, 0.01543426513671875, 0.004058837890625, 0.0304412841796875, -0.00562286376953125, -0.00617218017578125, -0.0005445480346679688, -0.037811279296875, 0.04595947265625, -0.002307891845703125, -0.00592041015625, 0.036163330078125, -0.00890350341796875, 0.00033473968505859375, -0.0111236572265625, 0.0140380859375, -0.0242462158203125, -0.0699462890625, 0.09063720703125, -0.013336181640625, -0.028961181640625, -0.012359619140625, 0.0132293701171875, 0.013946533203125, 0.0193328857421875, 0.0171661376953125, -0.00738525390625, 0.02386474609375, 0.0177001953125, 0.0005083084106445312, -0.0184783935546875, 0.0139923095703125, -0.076416015625, 0.10028076171875, 0.011199951171875, 0.044219970703125, 0.00763702392578125, 0.027587890625, -0.0285491943359375, 0.00786590576171875, -0.07672119140625, 0.07568359375, 0.0305633544921875, 0.057373046875, -0.06787109375, 0.004146575927734375, 0.003124237060546875, 0.007602691650390625, 0.08026123046875, 0.009521484375, -0.034576416015625, -0.0221405029296875, 0.033111572265625, 0.045562744140625, -0.00704193115234375, 0.039581298828125, 0.0207672119140625, 0.044586181640625, 0.06396484375, -0.053466796875, 0.015411376953125, 0.0117950439453125, 0.0201568603515625, 0.0301513671875, 0.0299530029296875, 0.034149169921875, 0.01556396484375, -0.01319122314453125, -0.007511138916015625, 0.007656097412109375, 0.02545166015625, -0.04962158203125, -0.0139923095703125, 0.07904052734375, 0.06854248046875, -0.0394287109375, -0.05230712890625, -0.035430908203125, 0.05230712890625, 0.0229644775390625, 0.0241546630859375, 0.026092529296875, 0.03326416015625, 0.00858306884765625, -0.00949859619140625, 0.02618408203125, 0.025421142578125, -0.053131103515625, 0.0948486328125, 0.0298919677734375, 0.026214599609375, -0.05865478515625, 0.003734588623046875, 0.045013427734375, 0.10693359375, -0.06353759765625, -0.031585693359375, 0.00945281982421875, -0.0006628036499023438, 0.0079803466796875, -0.003383636474609375, 0.0189361572265625, 0.00954437255859375, 0.01068878173828125, -0.04669189453125, 0.0236968994140625, 0.0364990234375, 0.0308074951171875, -0.0211944580078125, -0.029327392578125, -0.04766845703125, 0.0152740478515625, -0.04315185546875, 0.0217132568359375, 0.0246429443359375, 0.06866455078125, 0.0085296630859375, 0.06475830078125, -0.052764892578125, -0.02789306640625, 0.031219482421875, 0.00769805908203125, 0.00965118408203125, -0.033538818359375, 0.0107269287109375, -0.0426025390625, 0.015960693359375, 0.006961822509765625, 0.04547119140625, 0.023529052734375, 0.04608154296875, -0.00626373291015625, -0.040618896484375, -0.00623321533203125, 0.00414276123046875, -0.03009033203125, 0.0214385986328125, -0.0286865234375, -0.006290435791015625, -0.003902435302734375, -0.0234375, -0.0210723876953125, -0.032012939453125, 0.030792236328125, -0.023834228515625, 0.063232421875, -0.00220489501953125, 0.007106781005859375, 0.062103271484375, 0.018707275390625, 0.031768798828125, 0.0066375732421875, -0.0589599609375, -0.004085540771484375, -0.03680419921875, -0.0552978515625, 0.028289794921875, 0.04998779296875, 0.0083770751953125, -0.005252838134765625, 0.007289886474609375, -0.0150299072265625, 0.0193634033203125, 0.0113372802734375, 0.0200042724609375, 0.01513671875, 0.002742767333984375, 0.004131317138671875, -0.0491943359375, -0.02691650390625, -0.01012420654296875, 0.0063018798828125, -0.0187225341796875, 0.06646728515625, -0.006439208984375, -0.002552032470703125, -0.066162109375, 0.0012426376342773438, -0.035614013671875, -0.041961669921875, -0.0165863037109375, 0.031646728515625, 0.0008282661437988281, 0.0037689208984375, -0.03265380859375, 0.0259552001953125, 0.0210723876953125, -0.0011129379272460938, 0.01142120361328125, -0.032073974609375, 0.006710052490234375, -0.005321502685546875, -0.014862060546875, -0.044189453125, -0.037933349609375, -0.024078369140625, 0.0032024383544921875, 0.0029087066650390625, 0.0188751220703125, 0.0005125999450683594, -0.00543212890625, -0.0216217041015625, -0.02752685546875, 0.00399017333984375, -0.004146575927734375, 0.0011339187622070312, 0.0215301513671875, -0.027679443359375, 0.02972412109375, -0.01290130615234375, -0.0226898193359375, 0.013580322265625, 0.00337982177734375, -0.0190582275390625, -0.0115203857421875, 0.054595947265625, -0.050933837890625, -0.060028076171875, -0.005035400390625, -0.0005993843078613281, -0.010284423828125, -0.061004638671875, 0.0115509033203125, -0.02691650390625, -0.050567626953125, -0.032440185546875, -0.053985595703125, 0.00527191162109375, 0.05169677734375, -0.026641845703125, 0.022125244140625, -0.04742431640625, -0.033905029296875, 0.0148773193359375, -0.017608642578125, -0.00365447998046875, -0.00505828857421875, -0.03240966796875, -0.0023517608642578125, -0.0277099609375, -0.01166534423828125, 0.015380859375, 0.0215911865234375, -0.04217529296875, 0.039093017578125, -0.01214599609375, -0.0631103515625, 0.01000213623046875, 0.0218505859375, 0.03985595703125, -0.041534423828125, -0.0291595458984375, 0.005123138427734375, 0.03887939453125, 0.0450439453125, 0.0023040771484375, 0.0021457672119140625, 0.01406097412109375, 0.0216522216796875, -0.039886474609375, -0.0797119140625, 0.0194244384765625, -0.040863037109375, 0.01056671142578125, 0.006511688232421875, -0.0015439987182617188, 0.0162200927734375, -0.020538330078125, -0.0218963623046875, 0.0799560546875, 0.004093170166015625, -0.0162353515625, -0.072021484375, -0.005767822265625, 0.0296173095703125, -0.0174713134765625, -0.0285186767578125, -0.0167694091796875, -0.07275390625, 0.0238189697265625, 0.01129913330078125, 0.0557861328125, -0.010833740234375, 0.02325439453125, -0.01557159423828125, 0.044036865234375, 0.004547119140625, -0.00411224365234375, 0.021759033203125, 0.001209259033203125, 0.006374359130859375, 0.04547119140625, -0.056915283203125, 0.0167388916015625, -0.042877197265625, -0.0065155029296875, -0.030487060546875, -0.0257110595703125, -0.035736083984375, -0.01276397705078125, 0.050628662109375, 0.100341796875, 0.01467132568359375, -0.046417236328125, -0.0430908203125, -0.039276123046875, -0.0227203369140625, -0.00408172607421875, 0.0309295654296875, -0.050140380859375, 0.0216064453125, 0.015716552734375, 0.01360321044921875, 0.039794921875, -0.07073974609375, 0.006771087646484375, -0.00511932373046875, -0.020050048828125, -0.005359649658203125, 0.02020263671875, 0.0108795166015625, 0.003772735595703125, -0.0108642578125, 0.016082763671875, -0.015289306640625, 0.0222015380859375, 0.0021724700927734375, 0.00560760498046875, -0.018646240234375, 0.006252288818359375, 0.01165008544921875, 0.00153350830078125, 0.0035247802734375, 0.004154205322265625, 0.019256591796875, 0.00676727294921875, -0.0282135009765625, 0.035186767578125, 0.0157928466796875, 0.03216552734375, -0.0197601318359375, 0.0421142578125, 0.03289794921875, 0.0166473388671875, 0.0080108642578125, 0.0272216796875, 0.01189422607421875, 0.0560302734375, -0.0142974853515625, -0.030242919921875, 0.013824462890625, -0.060028076171875, -0.00989532470703125, -0.011871337890625, -0.0234222412109375, -0.051666259765625, 0.029998779296875, 0.019073486328125, -0.01102447509765625, 0.024444580078125 ]
449c5124002467cd1de3aca4845323317c21ae38
Wordpress Stackexchange Q: How can I include a query string with get_permalink My login link uses wp_login_url( get_permalink() ) so that the user is redirected back to the page they were viewing, and not to the dashboard. However, this does not include query strings. So if a user was at here.com/?page=4 they would not be redirected back to page 4. How can I include the query string in my code? $items .= "<li class='menu-item'> <a href=\"".wp_login_url( get_permalink() )."\">Login</a></li>"; A: You can use add_query_arg() to add any query parameters you want to a URI, e.g., $redirect_uri = add_query_arg ('page', '4', get_permalink ()) ; $login_uri = wp_login_url ($redirect_uri) ; Or, you could simply use $_SERVER['REQUEST_URI'], which will already contain any query string present in the current page's URI, e.g., $login_uri = wp_login_url ($_SERVER['REQUEST_URI']) ;
Q: How can I include a query string with get_permalink My login link uses wp_login_url( get_permalink() ) so that the user is redirected back to the page they were viewing, and not to the dashboard. However, this does not include query strings. So if a user was at here.com/?page=4 they would not be redirected back to page 4. How can I include the query string in my code? $items .= "<li class='menu-item'> <a href=\"".wp_login_url( get_permalink() )."\">Login</a></li>"; A: You can use add_query_arg() to add any query parameters you want to a URI, e.g., $redirect_uri = add_query_arg ('page', '4', get_permalink ()) ; $login_uri = wp_login_url ($redirect_uri) ; Or, you could simply use $_SERVER['REQUEST_URI'], which will already contain any query string present in the current page's URI, e.g., $login_uri = wp_login_url ($_SERVER['REQUEST_URI']) ;
wordpress
{ "language": "en", "length": 130, "provenance": "stackexchange_00019.jsonl.gz:473527", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257682" }
[ 0.08416748046875, 0.00223541259765625, 0.0201416015625, -0.0253753662109375, 0.01094818115234375, -0.0242919921875, 0.06353759765625, -0.031524658203125, -0.040069580078125, 0.0362548828125, 0.014617919921875, -0.003261566162109375, -0.0021457672119140625, -0.0204010009765625, 0.0096282958984375, -0.0182952880859375, 0.0280609130859375, -0.0070648193359375, 0.0195770263671875, -0.01241302490234375, 0.019744873046875, 0.006679534912109375, 0.01513671875, 0.01263427734375, 0.03759765625, -0.01556396484375, 0.06781005859375, -0.0266876220703125, 0.025115966796875, -0.0225067138671875, 0.00963592529296875, -0.02008056640625, 0.0185546875, 0.019073486328125, 0.0008053779602050781, -0.0234527587890625, 0.0144195556640625, -0.0015115737915039062, 0.008056640625, 0.018035888671875, 0.042205810546875, -0.03424072265625, -0.0178070068359375, 0.004001617431640625, -0.00782012939453125, -0.00656890869140625, 0.0264739990234375, -0.036102294921875, -0.01413726806640625, 0.005687713623046875, 0.005657196044921875, 0.040252685546875, 0.00311279296875, 0.059600830078125, -0.01279449462890625, 0.0182342529296875, 0.0261688232421875, -0.0289459228515625, 0.045654296875, -0.0040130615234375, -0.041015625, -0.02447509765625, 0.0180816650390625, -0.0440673828125, -0.03448486328125, 0.00632476806640625, -0.03643798828125, 0.00569915771484375, -0.01201629638671875, -0.04669189453125, 0.0042266845703125, -0.016204833984375, -0.016448974609375, -0.0158843994140625, -0.0426025390625, -0.00591278076171875, 0.0224761962890625, -0.023468017578125, 0.001308441162109375, 0.0227203369140625, 0.01036834716796875, 0.04571533203125, -0.05499267578125, -0.022064208984375, 0.024749755859375, 0.0005826950073242188, -0.019989013671875, -0.028533935546875, -0.023193359375, -0.0281829833984375, -0.02545166015625, -0.01073455810546875, -0.00701904296875, -0.0153045654296875, -0.0360107421875, -0.0245361328125, -0.016448974609375, 0.009002685546875, 0.02276611328125, 0.034881591796875, -0.0176849365234375, -0.0298919677734375, 0.022430419921875, -0.037322998046875, -0.0237579345703125, 0.055084228515625, 0.0567626953125, 0.09564208984375, 0.010955810546875, -0.0186309814453125, 0.0169525146484375, -0.0202789306640625, -0.028167724609375, -0.041046142578125, -0.03204345703125, 0.061859130859375, -0.0218505859375, -0.0163421630859375, 0.0200653076171875, 0.030731201171875, -0.05224609375, -0.01441192626953125, 0.003185272216796875, -0.026397705078125, 0.0002498626708984375, -0.022430419921875, 0.01019287109375, -0.02362060546875, -0.04443359375, 0.043914794921875, -0.0184326171875, 0.0018682479858398438, 0.004634857177734375, 0.0178985595703125, -0.0014820098876953125, -0.0361328125, 0.045166015625, -0.034637451171875, -0.0187835693359375, 0.01641845703125, 0.00867462158203125, -0.0263671875, -0.00453948974609375, -0.018157958984375, 0.004741668701171875, 0.0268096923828125, 0.01371002197265625, 0.015899658203125, -0.006320953369140625, -0.0275421142578125, -0.00284576416015625, -0.01349639892578125, -0.007717132568359375, 0.01152801513671875, -0.02069091796875, 0.0276336669921875, 0.0075836181640625, -0.0020122528076171875, -0.01025390625, -0.0005559921264648438, 0.043670654296875, 0.00008320808410644531, -0.0088958740234375, -0.016937255859375, -0.0408935546875, -0.0149688720703125, -0.059539794921875, -0.0056304931640625, 0.01497650146484375, 0.027374267578125, 0.0018463134765625, -0.010345458984375, -0.0101165771484375, 0.01465606689453125, 0.002414703369140625, -0.0005235671997070312, 0.00803375244140625, 0.038360595703125, 0.00496673583984375, 0.041961669921875, 0.0106201171875, -0.036407470703125, 0.042144775390625, -0.0171356201171875, -0.050323486328125, 0.06231689453125, 0.01273345947265625, 0.06768798828125, -0.025421142578125, 0.0077972412109375, 0.037933349609375, 0.053436279296875, -0.05072021484375, 0.0206451416015625, -0.03436279296875, -0.01068878173828125, -0.0003542900085449219, 0.00927734375, -0.036590576171875, 0.0312042236328125, 0.034332275390625, 0.0030059814453125, 0.0087432861328125, 0.0004515647888183594, -0.01038360595703125, 0.01551055908203125, -0.007617950439453125, 0.0166168212890625, 0.0193634033203125, 0.035308837890625, -0.0007596015930175781, 0.0401611328125, -0.01546478271484375, -0.07861328125, -0.01068115234375, 0.06256103515625, 0.005855560302734375, 0.0280914306640625, -0.0126800537109375, 0.01898193359375, -0.000926971435546875, -0.0279388427734375, -0.0093994140625, 0.020355224609375, 0.03497314453125, -0.01218414306640625, -0.01482391357421875, -0.0178375244140625, 0.0261077880859375, 0.0035152435302734375, -0.034454345703125, 0.03692626953125, 0.05126953125, 0.0433349609375, -0.0467529296875, 0.007904052734375, -0.0283660888671875, -0.005054473876953125, -0.0210418701171875, 0.041107177734375, 0.04052734375, 0.0259857177734375, -0.01114654541015625, -0.0208892822265625, -0.0338134765625, -0.08642578125, 0.018585205078125, -0.0271453857421875, -0.0132598876953125, 0.0294189453125, 0.002582550048828125, 0.00330352783203125, 0.0002428293228149414, -0.0291748046875, -0.0221405029296875, 0.017608642578125, 0.0014553070068359375, 0.0207672119140625, -0.04119873046875, 0.01303863525390625, -0.0005831718444824219, -0.017669677734375, -0.0185546875, -0.026611328125, -0.024322509765625, -0.0102691650390625, -0.0132293701171875, -0.00835418701171875, 0.01000213623046875, -0.0261383056640625, 0.01107025146484375, -0.0250701904296875, -0.0210723876953125, -0.0177764892578125, 0.01157379150390625, -0.0625, -0.010986328125, 0.0119781494140625, -0.015533447265625, -0.0423583984375, -0.0228424072265625, 0.0081939697265625, -0.00992584228515625, -0.0158843994140625, -0.003734588623046875, -0.0150909423828125, 0.00666046142578125, -0.004810333251953125, 0.05926513671875, -0.0017986297607421875, 0.052337646484375, -0.0274505615234375, -0.024505615234375, 0.0408935546875, 0.0084075927734375, -0.0704345703125, 0.033233642578125, 0.0034160614013671875, 0.017059326171875, 0.000029921531677246094, 0.035369873046875, 0.042755126953125, 0.0008678436279296875, -0.0023822784423828125, 0.0033397674560546875, -0.010223388671875, -0.006420135498046875, -0.0030536651611328125, -0.01268768310546875, -0.01100921630859375, -0.031707763671875, 0.060089111328125, 0.026824951171875, 0.00012922286987304688, 0.01197052001953125, -0.02593994140625, -0.007579803466796875, 0.007434844970703125, -0.084228515625, -0.097900390625, -0.007843017578125, -0.07122802734375, -0.01038360595703125, 0.01149749755859375, -0.03460693359375, 0.01497650146484375, 0.04241943359375, -0.0012912750244140625, -0.00556182861328125, -0.018798828125, -0.0758056640625, -0.04052734375, -0.075927734375, 0.0306243896484375, -0.01084136962890625, 0.0058135986328125, 0.0008816719055175781, 0.0204620361328125, -0.00450897216796875, -0.0163726806640625, 0.005321502685546875, 0.039825439453125, 0.00577545166015625, -0.039886474609375, -0.037353515625, 0.0094757080078125, 0.04510498046875, -0.0167236328125, 0.04730224609375, 0.037261962890625, -0.0191497802734375, 0.0024814605712890625, 0.026580810546875, -0.0421142578125, 0.0350341796875, 0.0012445449829101562, -0.040435791015625, -0.016937255859375, 0.042510986328125, -0.046173095703125, -0.0083160400390625, -0.0287017822265625, -0.0606689453125, 0.0005083084106445312, 0.044708251953125, -0.0018758773803710938, 0.004985809326171875, -0.033538818359375, 0.016357421875, -0.003143310546875, 0.023834228515625, -0.01317596435546875, 0.0182647705078125, -0.009063720703125, 0.00345611572265625, -0.0245513916015625, 0.0516357421875, -0.014404296875, -0.008636474609375, 0.021697998046875, 0.00577545166015625, 0.0137481689453125, -0.0300445556640625, -0.0241241455078125, -0.030731201171875, 0.059417724609375, -0.0274658203125, 0.0016269683837890625, -0.044158935546875, -0.03216552734375, -0.026580810546875, 0.07708740234375, 0.0234375, -0.01995849609375, -0.045562744140625, 0.00907135009765625, -0.0499267578125, -0.054168701171875, 0.005352020263671875, 0.014068603515625, -0.03924560546875, -0.044342041015625, -0.040985107421875, -0.0281524658203125, 0.02960205078125, -0.04241943359375, 0.0161895751953125, -0.04852294921875, 0.01593017578125, 0.0498046875, 0.030548095703125, 0.0245513916015625, 0.022735595703125, 0.0296478271484375, -0.0013132095336914062, -0.0126800537109375, -0.039520263671875, -0.01074981689453125, -0.010833740234375, 0.05682373046875, 0.051971435546875, -0.07257080078125, 0.0105438232421875, 0.0458984375, -0.00785064697265625, -0.0029468536376953125, 0.0264739990234375, 0.0215911865234375, -0.002208709716796875, 0.0121612548828125, 0.006183624267578125, -0.02032470703125, 0.0207061767578125, 0.0308074951171875, -0.017364501953125, -0.00682830810546875, -0.033050537109375, -0.0584716796875, 0.02044677734375, -0.047821044921875, -0.054412841796875, -0.01233673095703125, 0.030792236328125, 0.01018524169921875, 0.01053619384765625, -0.0139617919921875, 0.004261016845703125, -0.0248565673828125, 0.0308990478515625, 0.0031642913818359375, -0.019561767578125, 0.0019626617431640625, 0.02679443359375, 0.00879669189453125, -0.0278472900390625, -0.004604339599609375, 0.027862548828125, 0.0164337158203125, -0.043487548828125, 0.041290283203125, -0.0034122467041015625, -0.0177459716796875, 0.048004150390625, -0.04345703125, 0.0372314453125, -0.0209197998046875, 0.017669677734375, -0.018310546875, -0.03192138671875, 0.033050537109375, -0.023681640625, -0.0130767822265625, 0.04888916015625, 0.025054931640625, -0.044769287109375, -0.00875091552734375, 0.0167999267578125, -0.01338958740234375, 0.017059326171875, -0.0031948089599609375, -0.04266357421875, 0.0185089111328125, 0.006378173828125, -0.0074310302734375, 0.031585693359375, -0.021209716796875, 0.01190185546875, -0.025634765625, -0.020538330078125, 0.035308837890625, -0.0082855224609375, 0.043426513671875, 0.01497650146484375, 0.007965087890625, -0.01444244384765625, 0.01374053955078125, -0.0222015380859375, 0.0799560546875, 0.0110321044921875, -0.01552581787109375, 0.01544952392578125, -0.041717529296875, -0.0088958740234375, 0.00865936279296875, -0.0230865478515625, 0.06268310546875, 0.0247955322265625, 0.0027828216552734375, -0.00878143310546875, -0.01178741455078125, -0.046844482421875, -0.0537109375, 0.03466796875, -0.007228851318359375, 0.01505279541015625, 0.01175689697265625, 0.0858154296875, -0.0267791748046875, 0.06903076171875, -0.003570556640625, 0.000545501708984375, 0.007701873779296875, 0.032684326171875, 0.0216064453125, -0.00021135807037353516, 0.005504608154296875, 0.00489044189453125, 0.036224365234375, -0.03326416015625, -0.005130767822265625, 0.0114288330078125, 0.046112060546875, -0.009368896484375, -0.0211181640625, 0.023223876953125, -0.0186920166015625, -0.011077880859375, 0.0672607421875, 0.0157928466796875, -0.0732421875, -0.037445068359375, -0.02020263671875, 0.00893402099609375, -0.045196533203125, -0.02783203125, 0.01464080810546875, -0.0276641845703125, 0.005168914794921875, 0.037567138671875, -0.035064697265625, 0.019866943359375, 0.005222320556640625, 0.01273345947265625, -0.02056884765625, -0.01934814453125, 0.0116424560546875, 0.029449462890625, -0.036224365234375, -0.04217529296875, 0.0279998779296875, -0.01271820068359375, 0.0283355712890625, -0.0273895263671875, -0.0003955364227294922, 0.031646728515625, -0.0157318115234375, 0.058074951171875, 0.01104736328125, -0.0175933837890625, 0.00867462158203125, 0.005970001220703125, 0.0035953521728515625, 0.0195159912109375, -0.0212249755859375, -0.0009088516235351562, -0.045745849609375, 0.0157623291015625, 0.024444580078125, 0.01325225830078125, 0.00606536865234375, -0.0274505615234375, 0.00830078125, 0.0084075927734375, 0.035919189453125, -0.01320648193359375, 0.0740966796875, -0.00720977783203125, 0.0208740234375, 0.01070404052734375, 0.039154052734375, -0.0070037841796875, -0.007511138916015625, 0.01189422607421875, -0.0012903213500976562, -0.04345703125, -0.0239105224609375, 0.001461029052734375, 0.01910400390625, 0.0830078125, -0.01053619384765625, -0.009429931640625, -0.0088958740234375, 0.002696990966796875, -0.015960693359375, 0.06500244140625, -0.004169464111328125, -0.0194854736328125, 0.04412841796875, 0.01325225830078125, 0.0223388671875, 0.0028705596923828125, 0.02008056640625, -0.0401611328125, 0.0106048583984375, -0.00782012939453125, -0.0055694580078125, -0.0745849609375, 0.061767578125, 0.11322021484375, 0.038238525390625, 0.07464599609375, 0.0131378173828125, 0.01214599609375, 0.0321044921875, -0.0198211669921875, 0.010345458984375, 0.0269927978515625, 0.035003662109375, -0.01361083984375, 0.0169219970703125, 0.0307464599609375, -0.000020325183868408203, -0.0028591156005859375, 0.046356201171875, 0.05133056640625, -0.08404541015625, 0.01299285888671875, 0.0008454322814941406, 0.02545166015625, 0.047088623046875, 0.04278564453125, 0.0030002593994140625, 0.023468017578125, -0.00830078125, -0.036224365234375, 0.0035343170166015625, 0.01153564453125, 0.006134033203125, -0.00969696044921875, 0.003192901611328125, -0.0021514892578125, -0.0020198822021484375, -0.045562744140625, -0.031585693359375, 0.039398193359375, -0.042205810546875, 0.00732421875, -0.005756378173828125, 0.039642333984375, -0.0167694091796875, -0.036163330078125, 0.02423095703125, -0.039947509765625, -0.0217742919921875, 0.0161590576171875, -0.01529693603515625, 0.05389404296875, 0.03338623046875, 0.01068878173828125, -0.0135650634765625, -0.0161590576171875, 0.0127410888671875, 0.077880859375, -0.0279388427734375, -0.0261688232421875, 0.031524658203125, -0.0506591796875, -0.0002340078353881836, 0.011322021484375, 0.0135650634765625, -0.0173187255859375, -0.0241851806640625, 0.11663818359375, -0.042938232421875, -0.0164947509765625, 0.0059356689453125, 0.00798797607421875, -0.0016717910766601562, -0.02886962890625, 0.0260772705078125, -0.0771484375, -0.043304443359375, -0.0080108642578125, -0.0360107421875, -0.00556182861328125, -0.0565185546875, -0.05267333984375, 0.0965576171875, -0.0206756591796875, 0.057098388671875, 0.054840087890625, 0.0325927734375, -0.02606201171875, 0.0236358642578125, -0.017730712890625, 0.060791015625, 0.0029811859130859375, 0.0122833251953125, -0.0183258056640625, -0.00156402587890625, 0.00864410400390625, 0.0166015625, 0.06536865234375, 0.020111083984375, -0.07598876953125, -0.026885986328125, 0.035552978515625, 0.02740478515625, 0.0057830810546875, 0.054962158203125, 0.0272064208984375, 0.065673828125, 0.0968017578125, -0.034423828125, 0.044189453125, 0.00855255126953125, -0.005413055419921875, 0.03851318359375, -0.01444244384765625, -0.04595947265625, 0.0015201568603515625, -0.018768310546875, -0.0828857421875, 0.02484130859375, 0.0306854248046875, 0.01318359375, 0.0191802978515625, 0.006275177001953125, 0.007587432861328125, -0.00994873046875, -0.0206146240234375, -0.0235137939453125, 0.0265655517578125, 0.00556182861328125, 0.01052093505859375, 0.0011339187622070312, 0.01467132568359375, 0.06402587890625, -0.03741455078125, -0.00768280029296875, 0.01342010498046875, -0.0008602142333984375, 0.08746337890625, 0.04974365234375, 0.037628173828125, -0.036865234375, -0.0165252685546875, 0.049530029296875, 0.0994873046875, -0.053680419921875, -0.0275726318359375, 0.0017528533935546875, 0.032379150390625, 0.0276947021484375, 0.0004360675811767578, 0.06072998046875, -0.0192108154296875, 0.01229095458984375, 0.0266265869140625, 0.0006117820739746094, 0.01277923583984375, 0.00846099853515625, 0.0279541015625, 0.0196075439453125, -0.03570556640625, 0.0247039794921875, -0.0309295654296875, 0.005649566650390625, 0.001888275146484375, 0.03497314453125, 0.0229339599609375, 0.032684326171875, -0.0029468536376953125, -0.015625, -0.022491455078125, 0.01537322998046875, -0.00008821487426757812, 0.01520538330078125, -0.02288818359375, -0.014007568359375, 0.024505615234375, 0.0299835205078125, 0.047760009765625, -0.03680419921875, 0.0164642333984375, -0.01258087158203125, -0.020111083984375, -0.00386810302734375, 0.005298614501953125, -0.01003265380859375, 0.0517578125, -0.0171661376953125, 0.041412353515625, 0.01366424560546875, -0.00827789306640625, -0.040618896484375, -0.00608062744140625, 0.044830322265625, -0.00958251953125, 0.006439208984375, 0.007076263427734375, -0.025115966796875, -0.0011692047119140625, -0.018798828125, 0.044952392578125, 0.0007510185241699219, -0.044921875, 0.0023441314697265625, -0.0135040283203125, -0.053802490234375, 0.029937744140625, 0.045318603515625, -0.00260162353515625, -0.003498077392578125, -0.0072479248046875, 0.022216796875, -0.004543304443359375, -0.0267791748046875, 0.00608062744140625, -0.036376953125, 0.0217132568359375, -0.002872467041015625, -0.074951171875, -0.02349853515625, -0.0214691162109375, -0.006870269775390625, 0.01502227783203125, 0.07489013671875, -0.00167083740234375, 0.01137542724609375, -0.01035308837890625, 0.00135040283203125, -0.0206451416015625, -0.0149688720703125, 0.007793426513671875, -0.04095458984375, -0.0184326171875, 0.00677490234375, -0.05059814453125, 0.0831298828125, -0.01300811767578125, 0.03680419921875, 0.0682373046875, -0.03228759765625, -0.0099334716796875, 0.0053863525390625, 0.036651611328125, -0.036285400390625, -0.040985107421875, -0.0254669189453125, -0.0058135986328125, 0.0069427490234375, -0.014251708984375, -0.022857666015625, 0.06292724609375, -0.00060272216796875, 0.014129638671875, 0.0163421630859375, -0.05926513671875, 0.01305389404296875, 0.03729248046875, 0.002773284912109375, 0.04974365234375, -0.0091705322265625, -0.035125732421875, 0.030517578125, -0.01541900634765625, -0.0266265869140625, -0.0022296905517578125, 0.0087432861328125, 0.00799560546875, 0.03363037109375, 0.0413818359375, 0.01294708251953125, 0.0149688720703125, -0.00652313232421875, -0.0222320556640625, 0.02081298828125, -0.050140380859375, -0.043426513671875, -0.07318115234375, -0.0025730133056640625, -0.0030307769775390625, -0.03631591796875, -0.0711669921875, -0.0269775390625, 0.04193115234375, 0.01568603515625, -0.00380706787109375, -0.07305908203125, 0.05328369140625, -0.023681640625, 0.0672607421875, -0.045623779296875, -0.003986358642578125, 0.01245880126953125, 0.026824951171875, -0.033660888671875, 0.03521728515625, -0.03143310546875, -0.05242919921875, 0.00327301025390625, 0.00896453857421875, 0.0655517578125, -0.00943756103515625, -0.05047607421875, -0.029296875, -0.029388427734375, 0.0238189697265625, -0.06640625, -0.0196685791015625, -0.01137542724609375, 0.0277862548828125, 0.0036373138427734375, -0.04559326171875, -0.019195556640625, 0.01390838623046875, 0.0208892822265625, 0.042266845703125, -0.03521728515625, -0.01059722900390625, -0.04486083984375, -0.08203125, 0.062164306640625, 0.01132965087890625, -0.033966064453125, -0.003787994384765625, 0.0230255126953125, -0.0034923553466796875, 0.005756378173828125, 0.0091552734375, -0.018463134765625, -0.0179443359375, 0.000015914440155029297, 0.0104522705078125, 0.013275146484375, 0.01088714599609375, 0.00978851318359375, -0.03961181640625, 0.01500701904296875, 0.0192108154296875, 0.00962066650390625, 0.0208892822265625, -0.01088714599609375, 0.050506591796875, 0.033935546875, -0.0300445556640625, 0.044830322265625, -0.0018930435180664062, -0.0135345458984375, -0.019073486328125, -0.04986572265625, 0.0350341796875, 0.002857208251953125, 0.037017822265625, -0.01183319091796875, -0.0085906982421875, -0.0232086181640625, -0.043487548828125, -0.035797119140625, 0.0243377685546875, -0.01352691650390625, 0.0113067626953125, -0.07049560546875, -0.00908660888671875, 0.0041351318359375, -0.01209259033203125, -0.01142120361328125, 0.017730712890625, -0.031494140625, -0.0005331039428710938, 0.01041412353515625, -0.00095367431640625, -0.0491943359375, -0.01215362548828125, 0.06866455078125, -0.036773681640625, -0.01155853271484375, -0.0150146484375, 0.037841796875, 0.015594482421875, -0.05999755859375, 0.02020263671875, 0.003856658935546875, 0.01611328125, -0.02423095703125, 0.048309326171875, -0.004772186279296875, 0.0447998046875, -0.033599853515625, -0.0291900634765625, 0.022705078125, -0.003589630126953125, 0.0198516845703125, -0.0013580322265625, 0.04119873046875, 0.0272674560546875, 0.045196533203125, -0.01233673095703125, 0.0031871795654296875, 0.0034942626953125, 0.0182647705078125, 0.00923919677734375, -0.0029468536376953125, 0.03594970703125, -0.02886962890625, -0.0014791488647460938, 0.0045623779296875, -0.0163726806640625, -0.0157470703125, -0.0020885467529296875, -0.040924072265625, -0.0002605915069580078, 0.002685546875 ]
1ae61f4fe47104acebb23a73b51300dbcc6d35ee
Wordpress Stackexchange Q: Remove wpautop from all posts/pages except my custom post type My whole theme uses remove_filter( 'the_content', 'wpautop' ); which strips the p tags and lines breaks from the output of the WYSIWYG. I have a custom post type events that I would like to bring back the auto p tags and br tags for, but JUST on that custom post type. Is there a way to make sure that filter doesn't get removed on events. A: You can perform a conditional test against the current post type, like this: if ( 'events' != get_post_type() ) { remove_filter( 'the_content', 'wpautop' ); }
Q: Remove wpautop from all posts/pages except my custom post type My whole theme uses remove_filter( 'the_content', 'wpautop' ); which strips the p tags and lines breaks from the output of the WYSIWYG. I have a custom post type events that I would like to bring back the auto p tags and br tags for, but JUST on that custom post type. Is there a way to make sure that filter doesn't get removed on events. A: You can perform a conditional test against the current post type, like this: if ( 'events' != get_post_type() ) { remove_filter( 'the_content', 'wpautop' ); } A: The answer by @Manu will probably work for you, but it will fail if you have a query with events and posts as the post_type. Or two different queries on the same page. The solution is to check whether each post is of the events type and add or remove the filter accordingly. add_action( 'the_post', 'wpse_257708_the_post', 10, 1 ); function wpse_257708_the_post( $post ) { if( 'events' === $post->post_type ) { add_filter( 'the_content', 'wpautop' ); } else { remove_filter( 'the_content', 'wpautop' ); } }
wordpress
{ "language": "en", "length": 186, "provenance": "stackexchange_00019.jsonl.gz:473538", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257708" }
[ 0.019805908203125, 0.0162811279296875, -0.044464111328125, -0.036865234375, 0.0413818359375, -0.057769775390625, 0.042205810546875, 0.006153106689453125, 0.0202789306640625, 0.0012264251708984375, 0.007656097412109375, -0.045745849609375, 0.00951385498046875, -0.05474853515625, 0.01348114013671875, -0.023101806640625, 0.01079559326171875, -0.0026035308837890625, -0.003162384033203125, -0.033660888671875, 0.00557708740234375, -0.0231781005859375, -0.0014448165893554688, 0.01238250732421875, 0.0025577545166015625, 0.0263214111328125, 0.08160400390625, 0.01026153564453125, -0.0029449462890625, -0.005725860595703125, 0.0245361328125, -0.0263671875, 0.01739501953125, 0.047760009765625, -0.08111572265625, 0.0003566741943359375, -0.02984619140625, 0.0263824462890625, -0.0038890838623046875, -0.009246826171875, -0.0283203125, 0.02978515625, 0.015716552734375, 0.0271453857421875, -0.044464111328125, -0.006671905517578125, -0.038055419921875, -0.0229339599609375, -0.0179901123046875, 0.01454925537109375, 0.01214599609375, -0.0115203857421875, 0.0264129638671875, -0.043853759765625, -0.002056121826171875, -0.02001953125, -0.017303466796875, -0.0246124267578125, 0.02606201171875, 0.03216552734375, 0.00437164306640625, -0.0011568069458007812, 0.006053924560546875, -0.0257720947265625, -0.0247802734375, 0.02508544921875, -0.0026264190673828125, -0.004558563232421875, -0.041778564453125, -0.039947509765625, 0.0152435302734375, -0.039825439453125, 0.005889892578125, -0.01299285888671875, 0.0123748779296875, -0.0299224853515625, 0.01538848876953125, -0.01357269287109375, -0.01531982421875, 0.02947998046875, 0.02752685546875, -0.0026988983154296875, -0.027740478515625, -0.005275726318359375, 0.0186767578125, 0.03369140625, 0.01055145263671875, -0.01398468017578125, -0.032562255859375, -0.016021728515625, -0.018951416015625, -0.045867919921875, -0.077880859375, 0.022979736328125, 0.030120849609375, -0.048492431640625, 0.007061004638671875, 0.01201629638671875, -0.0284423828125, 0.0123291015625, 0.030853271484375, -0.0609130859375, 0.0706787109375, -0.041839599609375, 0.03363037109375, 0.0199127197265625, -0.057647705078125, 0.0222625732421875, 0.098876953125, 0.046417236328125, 0.0288543701171875, -0.018463134765625, 0.022491455078125, 0.0035724639892578125, -0.004169464111328125, 0.00742340087890625, 0.01361083984375, 0.007358551025390625, -0.01088714599609375, 0.00768280029296875, -0.007564544677734375, -0.0120391845703125, -0.001590728759765625, -0.018341064453125, 0.049560546875, 0.0193634033203125, -0.0288238525390625, 0.0059814453125, -0.00476837158203125, 0.0277252197265625, -0.01629638671875, -0.0245208740234375, 0.003154754638671875, 0.046417236328125, 0.01512908935546875, -0.02642822265625, 0.045074462890625, -0.029205322265625, -0.0205230712890625, 0.0322265625, -0.00524139404296875, -0.015655517578125, -0.0012006759643554688, -0.0238037109375, 0.03302001953125, 0.0137939453125, 0.004978179931640625, 0.035675048828125, 0.0234375, -0.0360107421875, 0.059783935546875, -0.02734375, 0.043060302734375, 0.0013608932495117188, 0.00112152099609375, -0.032379150390625, 0.056365966796875, -0.0469970703125, -0.0269317626953125, -0.066650390625, 0.037933349609375, -0.0080413818359375, 0.0002512931823730469, 0.00557708740234375, -0.0218963623046875, 0.0018758773803710938, -0.050048828125, -0.0036773681640625, 0.0248565673828125, -0.024688720703125, -0.00484466552734375, -0.03289794921875, 0.015716552734375, 0.01163482666015625, -0.007472991943359375, 0.05059814453125, -0.0091400146484375, 0.0299835205078125, 0.024169921875, 0.0279541015625, -0.0019102096557617188, -0.032257080078125, 0.06866455078125, -0.023681640625, -0.09210205078125, 0.01335906982421875, 0.030609130859375, 0.07861328125, 0.0343017578125, 0.020172119140625, 0.06683349609375, -0.025390625, -0.04833984375, -0.0171966552734375, 0.012847900390625, -0.01506805419921875, -0.022857666015625, -0.0277252197265625, 0.00817108154296875, 0.031982421875, -0.01361846923828125, 0.0122833251953125, -0.021240234375, 0.00864410400390625, -0.06402587890625, 0.0181732177734375, -0.02435302734375, 0.047332763671875, -0.024169921875, 0.0052642822265625, 0.0159759521484375, 0.008056640625, -0.038299560546875, 0.00844573974609375, -0.016937255859375, 0.01007843017578125, -0.00806427001953125, 0.01027679443359375, -0.01323699951171875, 0.0177764892578125, -0.0017633438110351562, -0.037322998046875, -0.0187835693359375, 0.017547607421875, 0.04241943359375, -0.007122039794921875, -0.0323486328125, -0.00464630126953125, 0.018798828125, -0.01549530029296875, -0.0015592575073242188, 0.0545654296875, 0.0330810546875, 0.032867431640625, -0.0236968994140625, -0.00946044921875, 0.0074310302734375, -0.060150146484375, -0.00859832763671875, 0.051666259765625, 0.033172607421875, 0.0921630859375, 0.00965118408203125, -0.007617950439453125, 0.081787109375, -0.029876708984375, 0.0175323486328125, -0.0228271484375, 0.031341552734375, 0.02410888671875, -0.0210418701171875, -0.03564453125, 0.0460205078125, -0.024749755859375, 0.025726318359375, 0.0345458984375, -0.00921630859375, 0.0034332275390625, 0.006988525390625, -0.004833221435546875, 0.0175323486328125, 0.0176239013671875, -0.01311492919921875, 0.004589080810546875, 0.047882080078125, 0.0074310302734375, 0.0662841796875, 0.048492431640625, -0.0232696533203125, -0.0235443115234375, 0.0198822021484375, 0.055511474609375, -0.0247039794921875, 0.062286376953125, 0.054931640625, 0.0052642822265625, -0.0460205078125, -0.016845703125, -0.0120086669921875, 0.0439453125, -0.0171356201171875, 0.042236328125, 0.00725555419921875, -0.020721435546875, 0.0019931793212890625, -0.0594482421875, -0.005611419677734375, -0.0211181640625, -0.0170135498046875, -0.071044921875, -0.0285797119140625, 0.036468505859375, -0.007732391357421875, 0.02520751953125, 0.035003662109375, -0.018646240234375, -0.026611328125, -0.052001953125, 0.05352783203125, -0.06134033203125, 0.00942230224609375, 0.07513427734375, -0.007801055908203125, 0.01361083984375, 0.019561767578125, -0.0262603759765625, 0.0309600830078125, 0.004566192626953125, 0.00907135009765625, 0.039459228515625, -0.08349609375, 0.00763702392578125, 0.0190582275390625, 0.033721923828125, -0.00951385498046875, -0.038055419921875, -0.007007598876953125, 0.0217132568359375, -0.040740966796875, 0.00614166259765625, 0.037353515625, -0.034423828125, -0.045684814453125, -0.0207672119140625, -0.038482666015625, 0.024200439453125, -0.01198577880859375, -0.022308349609375, -0.05169677734375, -0.001117706298828125, -0.051361083984375, -0.035614013671875, -0.048004150390625, 0.04925537109375, -0.014373779296875, 0.04083251953125, 0.00585174560546875, 0.11846923828125, 0.036834716796875, -0.07867431640625, 0.0167083740234375, 0.0184173583984375, -0.0295257568359375, 0.05316162109375, -0.004047393798828125, -0.0190277099609375, 0.03631591796875, 0.0028667449951171875, -0.0032024383544921875, 0.009674072265625, -0.011077880859375, -0.038665771484375, 0.003162384033203125, -0.00478363037109375, 0.02374267578125, 0.0063934326171875, -0.01068878173828125, 0.024322509765625, 0.034942626953125, -0.03106689453125, -0.00949859619140625, 0.001049041748046875, -0.00997161865234375, 0.0540771484375, -0.0084075927734375, -0.033843994140625, -0.0011682510375976562, 0.043609619140625, 0.03717041015625, 0.0201263427734375, 0.056121826171875, -0.005786895751953125, 0.059478759765625, 0.0087432861328125, 0.01020050048828125, -0.07196044921875, -0.0163421630859375, -0.04803466796875, 0.053741455078125, -0.00434112548828125, -0.0240631103515625, -0.00142669677734375, -0.005245208740234375, -0.0043182373046875, -0.006023406982421875, 0.0311737060546875, -0.005603790283203125, 0.00919342041015625, 0.0035533905029296875, -0.01369476318359375, 0.0090179443359375, 0.06707763671875, -0.040985107421875, -0.00772857666015625, -0.00690460205078125, 0.0198974609375, -0.013214111328125, -0.050750732421875, -0.0208587646484375, -0.0235595703125, -0.0748291015625, -0.00943756103515625, -0.0330810546875, -0.0201873779296875, -0.025115966796875, 0.0019388198852539062, -0.0413818359375, -0.046600341796875, 0.0577392578125, -0.020660400390625, 0.00540924072265625, 0.02203369140625, 0.00043654441833496094, -0.02001953125, -0.043853759765625, 0.0169830322265625, -0.0276336669921875, 0.01374053955078125, -0.062255859375, 0.02020263671875, 0.029510498046875, -0.0082855224609375, 0.010650634765625, 0.02349853515625, 0.0313720703125, -0.032501220703125, -0.0181884765625, -0.0194854736328125, -0.03778076171875, 0.0085906982421875, -0.01107025146484375, -0.019927978515625, -0.0120697021484375, -0.01430511474609375, -0.0418701171875, 0.027099609375, -0.01084136962890625, 0.0261077880859375, 0.009765625, -0.0165557861328125, -0.006031036376953125, -0.017730712890625, -0.049407958984375, 0.00821685791015625, -0.060302734375, 0.0135955810546875, -0.0172119140625, -0.00539398193359375, 0.0301055908203125, -0.00621795654296875, -0.035980224609375, 0.0062255859375, 0.03265380859375, 0.0296478271484375, -0.009307861328125, 0.01096343994140625, -0.0165557861328125, 0.016632080078125, -0.007781982421875, 0.06829833984375, 0.0309295654296875, -0.014862060546875, 0.061431884765625, -0.00154876708984375, 0.00539398193359375, -0.0293731689453125, 0.065185546875, 0.017486572265625, 0.01861572265625, 0.00318145751953125, -0.01139068603515625, 0.033111572265625, 0.0263519287109375, 0.0252227783203125, -0.043487548828125, 0.053375244140625, 0.02703857421875, -0.007110595703125, -0.01273345947265625, -0.0186920166015625, -0.00527191162109375, 0.01187896728515625, 0.045318603515625, 0.00211334228515625, 0.006526947021484375, -0.00044727325439453125, -0.0240325927734375, -0.0285491943359375, 0.0298919677734375, 0.0110626220703125, 0.050262451171875, -0.0462646484375, 0.054168701171875, 0.00914764404296875, -0.00775909423828125, -0.0200653076171875, 0.0045928955078125, -0.02398681640625, -0.03167724609375, -0.037139892578125, -0.0247955322265625, 0.01012420654296875, 0.0294342041015625, 0.052520751953125, -0.00359344482421875, 0.032958984375, 0.02642822265625, -0.0126800537109375, 0.00827789306640625, 0.017242431640625, -0.0154266357421875, -0.043487548828125, -0.0233154296875, -0.0180511474609375, -0.0019245147705078125, 0.054779052734375, -0.036407470703125, -0.0421142578125, 0.0172882080078125, -0.012481689453125, 0.01534271240234375, 0.0036258697509765625, 0.041046142578125, 0.01027679443359375, -0.02044677734375, -0.00623321533203125, 0.019439697265625, 0.0156402587890625, -0.05322265625, -0.054656982421875, 0.022491455078125, 0.066162109375, -0.01036834716796875, 0.00862884521484375, 0.002376556396484375, 0.00815582275390625, 0.01175689697265625, 0.028045654296875, 0.0269012451171875, -0.0217742919921875, -0.0112457275390625, 0.02105712890625, 0.0300750732421875, -0.00420379638671875, -0.01299285888671875, -0.012786865234375, -0.0240478515625, -0.0175323486328125, 0.03436279296875, -0.058837890625, 0.01153564453125, 0.0166473388671875, -0.00995635986328125, -0.042816162109375, -0.01122283935546875, -0.0297698974609375, 0.022735595703125, -0.01247406005859375, -0.001010894775390625, 0.020751953125, -0.04473876953125, 0.0216827392578125, -0.017822265625, 0.01432037353515625, -0.0198822021484375, 0.01386260986328125, 0.04974365234375, 0.042999267578125, -0.040008544921875, -0.010040283203125, -0.03973388671875, -0.0188140869140625, -0.042877197265625, -0.05078125, -0.02349853515625, 0.00281524658203125, 0.0011472702026367188, 0.0224151611328125, -0.025421142578125, -0.0198211669921875, 0.0249481201171875, 0.0211639404296875, 0.0005035400390625, 0.055084228515625, -0.051910400390625, 0.09466552734375, 0.0151824951171875, 0.0634765625, 0.0025272369384765625, 0.036346435546875, 0.02288818359375, -0.01084136962890625, 0.02008056640625, -0.0750732421875, -0.048736572265625, -0.0233917236328125, -0.030670166015625, 0.06903076171875, 0.000024259090423583984, -0.00927734375, 0.01204681396484375, -0.0121917724609375, 0.00435638427734375, -0.02349853515625, 0.0067596435546875, -0.0287322998046875, 0.0019683837890625, -0.006198883056640625, -0.01049041748046875, 0.02618408203125, 0.005146026611328125, -0.016632080078125, 0.016510009765625, -0.0051422119140625, 0.021759033203125, 0.01507568359375, 0.029937744140625, -0.0044708251953125, 0.0006561279296875, -0.01451873779296875, 0.02978515625, 0.0200042724609375, 0.0186767578125, 0.0237274169921875, 0.0190887451171875, 0.01325225830078125, -0.03717041015625, 0.0209808349609375, -0.0003390312194824219, 0.005977630615234375, 0.0236968994140625, -0.01519012451171875, 0.01273345947265625, 0.038330078125, 0.067138671875, -0.06927490234375, 0.01284027099609375, 0.0316162109375, 0.006412506103515625, 0.017791748046875, -0.0169830322265625, -0.00592041015625, -0.0167236328125, 0.0313720703125, -0.0024929046630859375, -0.031829833984375, 0.00801849365234375, -0.0006241798400878906, -0.01396942138671875, -0.005619049072265625, 0.058380126953125, -0.0038013458251953125, -0.04595947265625, -0.0105743408203125, 0.0152587890625, -0.029998779296875, -0.03509521484375, 0.0154266357421875, -0.004329681396484375, -0.0499267578125, -0.1004638671875, -0.0276336669921875, 0.0374755859375, -0.028900146484375, 0.0216064453125, -0.01178741455078125, 0.02105712890625, 0.0648193359375, -0.04058837890625, 0.045745849609375, 0.018798828125, -0.035064697265625, -0.055633544921875, -0.0239105224609375, 0.016204833984375, 0.027374267578125, -0.0404052734375, 0.034820556640625, -0.0245361328125, -0.0467529296875, -0.010345458984375, -0.0277862548828125, 0.04791259765625, -0.01229095458984375, -0.01837158203125, 0.0166168212890625, 0.01496124267578125, 0.001194000244140625, -0.01183319091796875, 0.0026035308837890625, -0.0294647216796875, -0.02142333984375, -0.0270233154296875, -0.050323486328125, 0.004230499267578125, -0.031951904296875, -0.074462890625, 0.1236572265625, 0.0135040283203125, 0.039398193359375, 0.01439666748046875, 0.0269317626953125, -0.05548095703125, 0.00399017333984375, -0.050140380859375, 0.0833740234375, 0.020294189453125, 0.036956787109375, -0.0595703125, -0.01214599609375, 0.00653076171875, 0.0264892578125, 0.024932861328125, -0.00127410888671875, 0.003032684326171875, -0.0302886962890625, 0.01416778564453125, 0.033538818359375, -0.005588531494140625, -0.0023517608642578125, 0.004238128662109375, 0.003147125244140625, 0.0017910003662109375, -0.0277862548828125, 0.05242919921875, -0.08837890625, -0.007801055908203125, 0.00047707557678222656, 0.0272674560546875, 0.0352783203125, -0.009246826171875, -0.0286102294921875, 0.00099945068359375, -0.00982666015625, -0.00669097900390625, 0.02618408203125, 0.006618499755859375, 0.033721923828125, 0.055084228515625, -0.09075927734375, -0.0841064453125, -0.0293426513671875, 0.04345703125, 0.0134735107421875, 0.0516357421875, 0.042877197265625, 0.033111572265625, 0.01548004150390625, -0.0028438568115234375, 0.03363037109375, -0.0010309219360351562, -0.0176849365234375, -0.00949859619140625, 0.0101318359375, -0.005279541015625, -0.0235443115234375, 0.058868408203125, 0.02020263671875, -0.01201629638671875, -0.02593994140625, -0.044921875, 0.0258636474609375, 0.0024166107177734375, -0.0040740966796875, 0.0015783309936523438, 0.0157928466796875, -0.07867431640625, -0.036224365234375, -0.0276031494140625, 0.00971221923828125, 0.0164642333984375, 0.01412200927734375, -0.005374908447265625, 0.049896240234375, -0.045867919921875, -0.00955963134765625, -0.035858154296875, -0.00418853759765625, 0.048248291015625, 0.0274200439453125, 0.016754150390625, 0.0275726318359375, 0.037994384765625, -0.00644683837890625, -0.0159149169921875, 0.0170440673828125, -0.0008645057678222656, 0.0163116455078125, -0.03570556640625, 0.0007891654968261719, -0.0079498291015625, 0.03363037109375, 0.0457763671875, -0.032318115234375, 0.0345458984375, 0.038482666015625, -0.021331787109375, -0.004425048828125, 0.0177459716796875, 0.00304412841796875, -0.0244903564453125, -0.03326416015625, -0.03228759765625, 0.00829315185546875, -0.003643035888671875, 0.0172576904296875, -0.0083770751953125, 0.009033203125, 0.0361328125, -0.0182037353515625, 0.01287078857421875, -0.0179443359375, 0.0285491943359375, 0.0251007080078125, 0.00614166259765625, 0.056182861328125, -0.09417724609375, -0.0234375, -0.048248291015625, -0.031005859375, 0.05157470703125, 0.043426513671875, -0.0240936279296875, 0.0021800994873046875, -0.002979278564453125, -0.002994537353515625, 0.01154327392578125, -0.02227783203125, 0.0030364990234375, 0.0033416748046875, 0.011199951171875, -0.0038776397705078125, -0.019287109375, -0.034820556640625, 0.0064697265625, 0.04315185546875, -0.00975799560546875, 0.061492919921875, -0.0256805419921875, 0.024169921875, -0.0174407958984375, 0.05267333984375, -0.0302276611328125, 0.00899505615234375, -0.0035991668701171875, 0.058868408203125, 0.054901123046875, -0.044342041015625, -0.028289794921875, -0.0198211669921875, 0.0596923828125, -0.037109375, 0.0180816650390625, -0.0142364501953125, 0.00847625732421875, -0.06390380859375, 0.026824951171875, -0.005260467529296875, 0.02716064453125, -0.022979736328125, -0.040008544921875, 0.07562255859375, 0.0338134765625, 0.00757598876953125, 0.0347900390625, -0.0010585784912109375, -0.005062103271484375, 0.0271453857421875, -0.035858154296875, 0.0194854736328125, 0.038421630859375, -0.0173492431640625, -0.0372314453125, 0.0207977294921875, -0.00382232666015625, -0.0169830322265625, 0.0177764892578125, 0.018585205078125, 0.04071044921875, -0.0389404296875, -0.06671142578125, -0.040924072265625, 0.01442718505859375, 0.0249176025390625, 0.01026153564453125, -0.0616455078125, -0.002620697021484375, -0.03729248046875, 0.0217437744140625, -0.0160980224609375, 0.01552581787109375, -0.0304718017578125, 0.003574371337890625, 0.00696563720703125, -0.057647705078125, -0.08746337890625, -0.004947662353515625, 0.0472412109375, 0.003658294677734375, -0.01904296875, -0.00356292724609375, -0.024932861328125, 0.01146697998046875, 0.0295867919921875, -0.0175323486328125, -0.012237548828125, 0.01885986328125, -0.006656646728515625, -0.07073974609375, -0.0657958984375, 0.06793212890625, -0.06591796875, -0.0183258056640625, 0.00902557373046875, 0.006717681884765625, -0.04339599609375, -0.0264892578125, -0.0254058837890625, 0.0264129638671875, -0.00727081298828125, -0.0172119140625, 0.0210418701171875, 0.01316070556640625, -0.01617431640625, -0.030548095703125, -0.005126953125, 0.00933074951171875, 0.00891876220703125, 0.017913818359375, -0.00656890869140625, 0.0052032470703125, -0.0242462158203125, -0.0557861328125, 0.041839599609375, -0.0020427703857421875, -0.01200103759765625, -0.01373291015625, 0.027374267578125, 0.008880615234375, -0.0098114013671875, 0.001590728759765625, -0.0146026611328125, -0.0200958251953125, -0.0177001953125, -0.0124969482421875, 0.09063720703125, -0.018402099609375, -0.006153106689453125, 0.0016622543334960938, 0.00011050701141357422, -0.0050201416015625, 0.00220489501953125, -0.01137542724609375, 0.0006256103515625, 0.01434326171875, 0.0153961181640625, -0.024169921875, -0.01116180419921875, 0.016082763671875, -0.015655517578125, -0.01377105712890625, -0.02471923828125, -0.01515960693359375, -0.01123046875, 0.0211334228515625, 0.07586669921875, 0.01114654541015625, -0.0304412841796875, 0.000015437602996826172, 0.00412750244140625, -0.0198516845703125, -0.001445770263671875, -0.003875732421875, -0.0227813720703125, -0.00905609130859375, -0.0248565673828125, -0.0205535888671875, 0.032745361328125, -0.032379150390625, -0.031585693359375, -0.0034332275390625, -0.04595947265625, -0.0038127899169921875, -0.03887939453125, -0.019775390625, -0.0181884765625, -0.012908935546875, -0.0224151611328125, -0.016021728515625, 0.0205535888671875, -0.032379150390625, 0.004070281982421875, -0.0125579833984375, -0.0221405029296875, -0.01209259033203125, 0.01666259765625, 0.00691986083984375, 0.0230712890625, -0.004909515380859375, -0.007190704345703125, -0.02191162109375, -0.0024967193603515625, 0.00629425048828125, 0.005443572998046875, 0.0059661865234375, -0.0150299072265625, -0.0024433135986328125, -0.0017309188842773438, -0.00472259521484375, 0.0274505615234375, -0.0250244140625, 0.01207733154296875, -0.00923919677734375, -0.0127105712890625, 0.01148223876953125, 0.00742340087890625, -0.00992584228515625, -0.0114593505859375, -0.04302978515625, -0.0673828125, 0.0281982421875, 0.005588531494140625, -0.00789642333984375, 0.0230255126953125 ]
a1bb4465b8fbe58fded2ee8edfe1f4d3fe2c2ccd
Wordpress Stackexchange Q: setup Multi Multi-site with one installation? There are wp_blogs and wp_site tables, which seem, are preserved for ability to contain more than 1 main_site.... so, how can we make Multiple Multi-site? (as each of them were like main-site itself, with it's sub-sites...) A: I've ended up with using such solution: 1) Created folders like: wp-base - wp-admin - wp-includes - .... all wp-php files and I've created "symlink" that 2-folder and wp standard php files inside other folders: my-wp-1 - wp-content & wp.config.php & htaccess my-wp-2 - wp-content & wp.config.php & htaccess The only thing I had to do is to use this in the top of wp-load.php: $fold=filter_var($_SERVER['HTTP_HOST'], SANITIZE_STRING); /** Define ABSPATH as this file's directory */ if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', dirname(dirname( __FILE__ )). "/$fold/" ); } There seems no need of adding define( 'WP_CONTENT_DIR', __DIR__.'/wp-content' ); in wp-config.
Q: setup Multi Multi-site with one installation? There are wp_blogs and wp_site tables, which seem, are preserved for ability to contain more than 1 main_site.... so, how can we make Multiple Multi-site? (as each of them were like main-site itself, with it's sub-sites...) A: I've ended up with using such solution: 1) Created folders like: wp-base - wp-admin - wp-includes - .... all wp-php files and I've created "symlink" that 2-folder and wp standard php files inside other folders: my-wp-1 - wp-content & wp.config.php & htaccess my-wp-2 - wp-content & wp.config.php & htaccess The only thing I had to do is to use this in the top of wp-load.php: $fold=filter_var($_SERVER['HTTP_HOST'], SANITIZE_STRING); /** Define ABSPATH as this file's directory */ if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', dirname(dirname( __FILE__ )). "/$fold/" ); } There seems no need of adding define( 'WP_CONTENT_DIR', __DIR__.'/wp-content' ); in wp-config.
wordpress
{ "language": "en", "length": 147, "provenance": "stackexchange_00019.jsonl.gz:473540", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257718" }
[ 0.03179931640625, -0.055450439453125, 0.008148193359375, -0.056182861328125, -0.02349853515625, -0.022064208984375, 0.018951416015625, 0.0201873779296875, -0.03582763671875, 0.0028934478759765625, 0.0014896392822265625, 0.0290679931640625, -0.052154541015625, -0.02093505859375, 0.006267547607421875, -0.0301971435546875, 0.0222015380859375, -0.028045654296875, 0.004756927490234375, -0.0168914794921875, 0.00006783008575439453, -0.0037593841552734375, 0.006809234619140625, 0.050201416015625, -0.0132293701171875, -0.0145721435546875, 0.05291748046875, -0.027069091796875, -0.0011396408081054688, -0.03509521484375, 0.00435638427734375, 0.034637451171875, 0.035064697265625, -0.0125885009765625, -0.0182037353515625, -0.01100921630859375, -0.005001068115234375, -0.006977081298828125, -0.0137176513671875, 0.01947021484375, -0.00717926025390625, 0.0012769699096679688, 0.05828857421875, 0.03466796875, 0.0128021240234375, -0.029083251953125, -0.01097869873046875, -0.06683349609375, 0.0178985595703125, -0.024383544921875, 0.0023288726806640625, -0.004642486572265625, 0.00969696044921875, -0.04180908203125, -0.0176239013671875, -0.00681304931640625, 0.06097412109375, -0.0260772705078125, 0.053131103515625, -0.0631103515625, -0.066162109375, -0.032989501953125, 0.053131103515625, 0.00014925003051757812, -0.0142669677734375, -0.00811004638671875, -0.0067596435546875, 0.0178680419921875, -0.0916748046875, -0.018157958984375, 0.040924072265625, -0.04852294921875, 0.0159454345703125, -0.0261383056640625, -0.011444091796875, 0.02362060546875, -0.03070068359375, 0.0089874267578125, 0.041259765625, -0.0240631103515625, -0.021087646484375, -0.029541015625, -0.039520263671875, -0.043365478515625, 0.045654296875, 0.0258941650390625, -0.0106353759765625, -0.00882720947265625, -0.031463623046875, 0.037139892578125, -0.0181427001953125, 0.00446319580078125, -0.013946533203125, 0.034576416015625, -0.0034942626953125, 0.00916290283203125, 0.0171661376953125, 0.048919677734375, -0.01253509521484375, 0.0093994140625, -0.00746917724609375, -0.0293121337890625, 0.017242431640625, -0.036834716796875, 0.02117919921875, 0.034515380859375, -0.00789642333984375, 0.024444580078125, 0.0545654296875, 0.0308837890625, 0.00191497802734375, 0.04559326171875, 0.0035610198974609375, -0.0472412109375, -0.01055145263671875, -0.004077911376953125, -0.04974365234375, 0.024505615234375, 0.0286102294921875, -0.03033447265625, -0.0304718017578125, -0.005191802978515625, -0.00554656982421875, -0.002838134765625, -0.007213592529296875, -0.01367950439453125, 0.01169586181640625, -0.034149169921875, -0.05126953125, 0.01580810546875, -0.017974853515625, 0.0243988037109375, 0.06182861328125, 0.0279083251953125, -0.0177764892578125, -0.01155853271484375, 0.0394287109375, 0.040496826171875, 0.01678466796875, 0.0191497802734375, -0.0044097900390625, -0.038360595703125, -0.0222320556640625, 0.00457763671875, -0.00907135009765625, 0.029541015625, 0.037506103515625, 0.02044677734375, -0.0177459716796875, -0.06024169921875, 0.02496337890625, -0.0024700164794921875, 0.01922607421875, 0.0008549690246582031, -0.00046706199645996094, -0.01995849609375, -0.007167816162109375, -0.02520751953125, 0.0006237030029296875, -0.0209808349609375, -0.0207061767578125, -0.0352783203125, 0.039276123046875, -0.005359649658203125, -0.0250091552734375, 0.038787841796875, -0.027374267578125, -0.01297760009765625, 0.0147247314453125, -0.027923583984375, -0.006916046142578125, -0.028076171875, 0.00707244873046875, -0.00807952880859375, -0.00559234619140625, 0.03863525390625, 0.0025043487548828125, -0.00765228271484375, 0.01360321044921875, 0.07427978515625, 0.0006670951843261719, -0.0224761962890625, 0.0251617431640625, -0.0012426376342773438, -0.0811767578125, 0.0379638671875, -0.0118255615234375, 0.078857421875, 0.0340576171875, 0.005462646484375, 0.0159149169921875, -0.0161590576171875, -0.004634857177734375, -0.008758544921875, -0.02734375, -0.03717041015625, 0.0015506744384765625, 0.007785797119140625, -0.0177001953125, 0.0101776123046875, 0.0027675628662109375, -0.0211334228515625, 0.03338623046875, 0.03765869140625, -0.007228851318359375, -0.01247406005859375, -0.0085601806640625, -0.0167694091796875, 0.049652099609375, -0.00909423828125, 0.00852203369140625, 0.0248870849609375, -0.005428314208984375, -0.07720947265625, -0.0865478515625, 0.0220794677734375, -0.037872314453125, 0.038848876953125, -0.017242431640625, 0.06463623046875, -0.02056884765625, -0.03302001953125, -0.0196685791015625, -0.03094482421875, 0.041046142578125, -0.040557861328125, -0.0163421630859375, -0.041839599609375, -0.00830078125, -0.01505279541015625, -0.03680419921875, 0.070068359375, 0.00519561767578125, 0.034332275390625, -0.0034275054931640625, 0.0039215087890625, 0.0175933837890625, -0.04833984375, 0.025360107421875, 0.036529541015625, 0.040557861328125, 0.036346435546875, -0.0276947021484375, -0.0312042236328125, 0.0670166015625, -0.0587158203125, -0.005748748779296875, -0.01538848876953125, 0.0086822509765625, 0.037506103515625, -0.00772857666015625, -0.005107879638671875, 0.019073486328125, -0.0706787109375, -0.00045680999755859375, 0.047637939453125, -0.0321044921875, -0.03289794921875, -0.01302337646484375, -0.006046295166015625, 0.0159149169921875, -0.036773681640625, -0.03411865234375, 0.0017309188842773438, 0.01026153564453125, 0.024658203125, 0.040496826171875, 0.020538330078125, 0.01012420654296875, 0.007503509521484375, -0.0091400146484375, -0.05340576171875, 0.002834320068359375, 0.01393890380859375, 0.033050537109375, -0.0258026123046875, -0.010467529296875, -0.00804901123046875, -0.015716552734375, -0.01258087158203125, -0.0151824951171875, 0.004596710205078125, -0.04339599609375, -0.0115966796875, 0.0013418197631835938, -0.033294677734375, 0.0042877197265625, 0.01515960693359375, -0.006744384765625, -0.028839111328125, 0.01303863525390625, -0.017120361328125, -0.03448486328125, 0.01617431640625, 0.00759124755859375, -0.039703369140625, 0.051544189453125, -0.0294036865234375, 0.01824951171875, -0.02288818359375, 0.045440673828125, 0.051177978515625, 0.009368896484375, -0.0242156982421875, -0.01323699951171875, 0.059173583984375, 0.00926971435546875, -0.004261016845703125, -0.0179290771484375, -0.022979736328125, -0.0498046875, -0.0418701171875, 0.0135650634765625, 0.003963470458984375, 0.006137847900390625, -0.038970947265625, -0.005645751953125, -0.0003333091735839844, -0.049652099609375, -0.007045745849609375, -0.0196075439453125, -0.061248779296875, 0.0267791748046875, 0.006328582763671875, -0.028594970703125, -0.030426025390625, 0.0335693359375, 0.0174560546875, -0.02105712890625, -0.060516357421875, -0.033172607421875, -0.06781005859375, -0.06915283203125, 0.043212890625, 0.0153045654296875, 0.019500732421875, 0.0007920265197753906, 0.0183563232421875, 0.0085906982421875, -0.0039825439453125, 0.01348876953125, 0.044769287109375, -0.0160369873046875, -0.060211181640625, -0.024169921875, -0.00905609130859375, -0.0174407958984375, -0.0154571533203125, 0.061981201171875, 0.017730712890625, -0.006343841552734375, 0.0006885528564453125, 0.01369476318359375, 0.0012674331665039062, 0.0244598388671875, -0.0404052734375, -0.021820068359375, -0.0059967041015625, -0.027099609375, -0.0595703125, -0.00933837890625, -0.017974853515625, -0.0428466796875, 0.0010128021240234375, 0.03497314453125, -0.0121612548828125, 0.0037708282470703125, -0.0300445556640625, 0.0200653076171875, 0.0153350830078125, 0.01971435546875, -0.0032978057861328125, 0.03765869140625, -0.0208740234375, -0.019134521484375, -0.04595947265625, 0.0430908203125, -0.0250244140625, -0.0224456787109375, -0.00569915771484375, -0.017425537109375, -0.0323486328125, -0.01468658447265625, -0.037811279296875, -0.02044677734375, 0.037506103515625, -0.025665283203125, 0.032318115234375, -0.0523681640625, -0.03326416015625, -0.047882080078125, 0.061279296875, -0.07843017578125, -0.02105712890625, 0.02142333984375, 0.037750244140625, -0.031707763671875, -0.060577392578125, -0.03009033203125, -0.02557373046875, -0.054534912109375, -0.004241943359375, -0.0286102294921875, -0.0238189697265625, 0.0026264190673828125, -0.044464111328125, -0.0059967041015625, -0.058441162109375, 0.036773681640625, -0.039215087890625, 0.0509033203125, 0.00458526611328125, 0.0008869171142578125, -0.002532958984375, -0.0294189453125, -0.034515380859375, -0.059661865234375, -0.003986358642578125, -0.03436279296875, 0.0638427734375, 0.0182952880859375, 0.00824737548828125, -0.012176513671875, 0.03851318359375, -0.025726318359375, 0.0345458984375, -0.006256103515625, 0.0245361328125, -0.0126953125, 0.01131439208984375, 0.0157623291015625, -0.0098419189453125, -0.014801025390625, -0.0419921875, -0.0218048095703125, 0.0122833251953125, -0.042938232421875, 0.011810302734375, -0.03564453125, -0.0034465789794921875, -0.0328369140625, -0.017822265625, -0.0256805419921875, -0.0046539306640625, -0.0254058837890625, -0.0262451171875, 0.00530242919921875, -0.036712646484375, 0.033538818359375, -0.0011892318725585938, -0.0304718017578125, 0.0125885009765625, 0.0533447265625, 0.019073486328125, -0.026763916015625, -0.098876953125, 0.005062103271484375, 0.0187835693359375, -0.0008044242858886719, 0.04986572265625, 0.0268402099609375, 0.015350341796875, -0.006526947021484375, -0.01336669921875, 0.011016845703125, 0.036590576171875, 0.00013649463653564453, 0.010955810546875, -0.0177154541015625, 0.0118408203125, 0.0225830078125, -0.040557861328125, 0.045074462890625, -0.000957489013671875, -0.008575439453125, -0.00972747802734375, 0.0244293212890625, 0.012115478515625, -0.0465087890625, -0.0535888671875, -0.039947509765625, 0.00311279296875, 0.00115203857421875, 0.049713134765625, 0.03082275390625, -0.0008530616760253906, 0.054779052734375, 0.014923095703125, 0.0130462646484375, 0.037628173828125, 0.01776123046875, 0.0131683349609375, 0.0278167724609375, 0.03424072265625, -0.004383087158203125, 0.01473236083984375, -0.0208740234375, 0.09344482421875, 0.02264404296875, -0.03167724609375, 0.006893157958984375, -0.02459716796875, 0.007476806640625, -0.0087738037109375, -0.007537841796875, 0.047119140625, -0.004669189453125, -0.051361083984375, -0.0032405853271484375, -0.00489044189453125, -0.08367919921875, -0.05194091796875, -0.0192108154296875, -0.0352783203125, 0.0011892318725585938, 0.01898193359375, 0.0340576171875, -0.046356201171875, 0.043731689453125, -0.00502777099609375, 0.047027587890625, 0.038055419921875, 0.0268707275390625, -0.020721435546875, 0.034820556640625, -0.01395416259765625, 0.01113128662109375, 0.0157623291015625, -0.03125, -0.01995849609375, 0.037933349609375, 0.051910400390625, 0.00273895263671875, 0.0064544677734375, -0.014801025390625, -0.031768798828125, -0.0362548828125, -0.0034770965576171875, -0.048309326171875, -0.05084228515625, -0.01490020751953125, 0.01947021484375, 0.0159912109375, -0.0157470703125, 0.0007081031799316406, -0.01316070556640625, -0.041290283203125, -0.0237579345703125, -0.0009765625, -0.039947509765625, -0.0153961181640625, -0.0022754669189453125, 0.002765655517578125, 0.0013628005981445312, 0.022735595703125, -0.07720947265625, -0.04595947265625, -0.01186370849609375, -0.002780914306640625, 0.03363037109375, -0.0335693359375, -0.00634765625, -0.0130767822265625, 0.00879669189453125, 0.00467681884765625, 0.0146331787109375, 0.0310821533203125, 0.004791259765625, -0.03717041015625, 0.005718231201171875, -0.0255279541015625, -0.00749969482421875, -0.01338958740234375, -0.03326416015625, -0.0391845703125, -0.0010919570922851562, 0.0110015869140625, -0.017242431640625, -0.0034809112548828125, -0.026092529296875, -0.01446533203125, 0.0261077880859375, 0.0173797607421875, -0.026824951171875, -0.0232696533203125, 0.0689697265625, -0.00901031494140625, 0.057403564453125, 0.0149383544921875, 0.05487060546875, 0.03680419921875, -0.044281005859375, 0.005126953125, -0.08636474609375, -0.026763916015625, 0.010101318359375, -0.01580810546875, 0.046630859375, 0.00821685791015625, 0.001522064208984375, 0.016387939453125, -0.00919342041015625, -0.005031585693359375, -0.0245819091796875, -0.004467010498046875, -0.036773681640625, 0.01036834716796875, -0.005290985107421875, -0.0389404296875, 0.036712646484375, -0.00313568115234375, -0.0195465087890625, 0.0330810546875, -0.0222015380859375, 0.01108551025390625, 0.05047607421875, -0.0426025390625, 0.0491943359375, 0.06329345703125, 0.01024627685546875, 0.0433349609375, 0.006023406982421875, 0.0094757080078125, 0.0048980712890625, 0.0205841064453125, -0.01971435546875, -0.029937744140625, 0.0311279296875, 0.0222320556640625, -0.0012340545654296875, 0.0391845703125, -0.0128631591796875, -0.0034046173095703125, 0.043182373046875, 0.040985107421875, -0.0400390625, 0.002346038818359375, -0.006153106689453125, -0.0023326873779296875, 0.033599853515625, -0.01125335693359375, -0.021087646484375, 0.01629638671875, 0.0201263427734375, 0.033447265625, -0.034454345703125, 0.017974853515625, 0.04833984375, 0.0000903010368347168, 0.0025348663330078125, 0.0196685791015625, 0.031280517578125, -0.0033416748046875, 0.0124053955078125, 0.02197265625, 0.048370361328125, -0.0102996826171875, -0.0079193115234375, -0.003082275390625, -0.040740966796875, -0.04742431640625, -0.00023055076599121094, -0.0215911865234375, -0.0140838623046875, -0.0233917236328125, -0.01201629638671875, -0.00350189208984375, 0.046539306640625, -0.03192138671875, 0.02935791015625, 0.022674560546875, 0.007274627685546875, -0.027740478515625, 0.022674560546875, 0.044586181640625, -0.0184478759765625, -0.045318603515625, 0.0010232925415039062, -0.0806884765625, 0.0018033981323242188, 0.00006473064422607422, 0.017730712890625, 0.05401611328125, -0.032196044921875, 0.0020084381103515625, 0.06512451171875, 0.038726806640625, -0.032745361328125, 0.031585693359375, 0.0184173583984375, -0.06768798828125, -0.092041015625, 0.0145416259765625, -0.10736083984375, -0.0112762451171875, -0.001743316650390625, -0.05242919921875, 0.119140625, -0.0197601318359375, 0.030303955078125, 0.043731689453125, 0.0433349609375, -0.043487548828125, 0.0076446533203125, -0.041290283203125, 0.0264739990234375, 0.0050048828125, 0.0232086181640625, -0.0572509765625, 0.001476287841796875, -0.01617431640625, 0.0279998779296875, -0.026641845703125, -0.006938934326171875, -0.0069427490234375, 0.004566192626953125, 0.0219879150390625, 0.00928497314453125, 0.00390625, 0.0277862548828125, -0.0270843505859375, 0.0086212158203125, 0.0009169578552246094, -0.050445556640625, 0.019256591796875, -0.014923095703125, -0.041107177734375, -0.00823974609375, 0.000762939453125, -0.005779266357421875, 0.01282501220703125, -0.0011968612670898438, -0.0162811279296875, 0.0116424560546875, 0.0057525634765625, 0.019195556640625, 0.02984619140625, -0.0179290771484375, -0.0250396728515625, 0.0517578125, 0.05462646484375, -0.0021572113037109375, 0.0263671875, -0.015960693359375, -0.00600433349609375, 0.048553466796875, 0.00962066650390625, 0.0174102783203125, 0.034271240234375, -0.01177215576171875, 0.0009870529174804688, 0.04620361328125, 0.00753021240234375, 0.0225982666015625, 0.0274658203125, -0.029205322265625, -0.0070343017578125, 0.004131317138671875, 0.0161895751953125, -0.01395416259765625, -0.05157470703125, -0.0004296302795410156, -0.01959228515625, 0.00745391845703125, 0.01033782958984375, -0.024749755859375, 0.03558349609375, 0.053070068359375, -0.0166778564453125, 0.00255584716796875, 0.01995849609375, -0.0004711151123046875, -0.0006041526794433594, -0.009002685546875, 0.00672149658203125, 0.0159759521484375, -0.050262451171875, 0.00612640380859375, -0.004245758056640625, 0.0625, 0.0292205810546875, 0.08673095703125, -0.0009417533874511719, -0.0360107421875, -0.00682830810546875, 0.06280517578125, 0.0098419189453125, -0.00090789794921875, -0.060211181640625, -0.10211181640625, 0.059539794921875, 0.04803466796875, 0.000553131103515625, 0.0770263671875, 0.040252685546875, 0.037841796875, -0.002414703369140625, 0.00275421142578125, 0.06549072265625, -0.0243682861328125, 0.03411865234375, -0.0287017822265625, 0.01611328125, -0.00443267822265625, -0.01142120361328125, -0.033233642578125, 0.0232086181640625, 0.019561767578125, -0.014984130859375, 0.0169677734375, -0.0024356842041015625, -0.030548095703125, -0.0193328857421875, 0.020416259765625, 0.0115509033203125, 0.0188140869140625, -0.08038330078125, -0.007511138916015625, -0.01512908935546875, -0.053863525390625, 0.0164947509765625, 0.052886962890625, -0.019805908203125, -0.00399017333984375, 0.01366424560546875, -0.0045623779296875, 0.014312744140625, 0.005397796630859375, 0.0016317367553710938, 0.0085296630859375, 0.0271148681640625, 0.0037021636962890625, -0.07989501953125, -0.053009033203125, -0.0092315673828125, 0.04144287109375, -0.00308990478515625, 0.08990478515625, -0.031280517578125, 0.01329803466796875, 0.0313720703125, 0.00702667236328125, 0.017486572265625, 0.0208587646484375, -0.0159149169921875, 0.01416015625, 0.0272674560546875, -0.01031494140625, -0.011138916015625, 0.00151824951171875, 0.050628662109375, -0.04437255859375, -0.004547119140625, -0.01291656494140625, 0.02496337890625, -0.0218048095703125, 0.028717041015625, -0.01010894775390625, -0.04132080078125, -0.07720947265625, 0.004894256591796875, 0.056610107421875, 0.037811279296875, -0.041900634765625, -0.0016489028930664062, 0.03448486328125, -0.041290283203125, 0.0213623046875, 0.004344940185546875, 0.02008056640625, 0.0258941650390625, 0.0307159423828125, -0.09930419921875, -0.02020263671875, -0.00632476806640625, -0.03704833984375, 0.0026683807373046875, 0.058685302734375, -0.00452423095703125, -0.01220703125, 0.045654296875, 0.060394287109375, 0.06414794921875, 0.005016326904296875, 0.033660888671875, 0.03173828125, -0.01006317138671875, 0.01258087158203125, -0.0108184814453125, -0.021636962890625, -0.0281524658203125, -0.0084228515625, 0.0000635385513305664, -0.010498046875, -0.002590179443359375, -0.018768310546875, -0.005218505859375, 0.05914306640625, 0.00225830078125, -0.0426025390625, 0.0102386474609375, -0.0243682861328125, 0.045867919921875, 0.0013055801391601562, -0.024871826171875, 0.00017452239990234375, -0.006916046142578125, -0.0206451416015625, -0.0301513671875, -0.0494384765625, 0.0167388916015625, -0.03167724609375, 0.0022296905517578125, 0.0134124755859375, -0.01415252685546875, 0.01529693603515625, 0.0157012939453125, 0.01447296142578125, 0.0740966796875, 0.00943756103515625, -0.00289154052734375, 0.007068634033203125, 0.01079559326171875, -0.0225830078125, -0.04388427734375, 0.0010166168212890625, -0.017608642578125, -0.00791168212890625, -0.026947021484375, 0.00753021240234375, 0.0004394054412841797, -0.051727294921875, -0.06787109375, 0.053436279296875, -0.01294708251953125, -0.025177001953125, -0.0692138671875, -0.00589752197265625, -0.0086212158203125, 0.0282745361328125, -0.01462554931640625, -0.01134490966796875, -0.0244140625, 0.06646728515625, 0.0283050537109375, -0.00385284423828125, 0.01727294921875, 0.0380859375, 0.0107421875, 0.0301513671875, 0.0195159912109375, -0.03277587890625, 0.036102294921875, -0.0345458984375, 0.0484619140625, 0.08282470703125, 0.0005931854248046875, -0.0177764892578125, -0.004978179931640625, -0.0911865234375, -0.0172576904296875, -0.03173828125, -0.0034694671630859375, -0.0052490234375, 0.03955078125, 0.0345458984375, 0.00836181640625, -0.033172607421875, 0.00217437744140625, -0.022796630859375, -0.0263214111328125, -0.0272064208984375, 0.010223388671875, -0.04620361328125, 0.003437042236328125, -0.016571044921875, -0.0302734375, 0.004062652587890625, 0.0010662078857421875, -0.0296630859375, 0.0099029541015625, 0.006603240966796875, -0.005664825439453125, -0.0196990966796875, 0.0104522705078125, 0.038970947265625, -0.02020263671875, 0.028900146484375, -0.04400634765625, 0.01326751708984375, 0.01971435546875, -0.04119873046875, 0.0214080810546875, 0.001529693603515625, -0.050079345703125, 0.010772705078125, 0.000007987022399902344, 0.0024547576904296875, -0.01849365234375, -0.0308380126953125, -0.0185699462890625, 0.01128387451171875, 0.0010175704956054688, -0.0053863525390625, 0.0169525146484375, 0.041656494140625, 0.01361846923828125, 0.0303955078125, -0.0022106170654296875, 0.025970458984375, -0.0215301513671875, 0.041717529296875, -0.044189453125, -0.0132293701171875, -0.032623291015625, -0.01197052001953125, -0.001148223876953125, 0.007720947265625, 0.00836181640625, -0.0274505615234375, 0.0269775390625, 0.01959228515625, 0.00655364990234375, 0.00933837890625 ]
23a6abbc52b5c723d9eb5c9a135b9bdff0bf7382
Wordpress Stackexchange Q: how to get permalink using sql I am trying to get post title by sql. My sql code is $query ="SELECT wp_posts.post_title AS title , wp_posts.post_content AS content, wp_posts.post_date AS blogdate FROM wp_posts WHERE wp_posts.post_status = 'publish' ORDER BY wp_posts.post_date DESC "; global $wpdb; $result= $wpdb->get_results($query); if ($result){ foreach($result as $post){ ?><li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> <?php echo $post->title; ?></a></li><?php } }else{ echo "Sorry, No Post Found."; } die(); Now the problem is I am getting title but the_permalink() is not working. A: I am not sure why you are using a custom query and not get_posts() or WP_Query as you should. Anyway, you need to get the post ID … $query ="SELECT wp_posts.post_title AS title , wp_posts.post_content AS content, wp_posts.post_date AS blogdate , wp_posts.ID AS ID And then just pass this ID to get_permalink(): get_permalink( $post->ID ); Similar for the title attribute: the_title_attribute( [ 'post' => $post->ID ] );
Q: how to get permalink using sql I am trying to get post title by sql. My sql code is $query ="SELECT wp_posts.post_title AS title , wp_posts.post_content AS content, wp_posts.post_date AS blogdate FROM wp_posts WHERE wp_posts.post_status = 'publish' ORDER BY wp_posts.post_date DESC "; global $wpdb; $result= $wpdb->get_results($query); if ($result){ foreach($result as $post){ ?><li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> <?php echo $post->title; ?></a></li><?php } }else{ echo "Sorry, No Post Found."; } die(); Now the problem is I am getting title but the_permalink() is not working. A: I am not sure why you are using a custom query and not get_posts() or WP_Query as you should. Anyway, you need to get the post ID … $query ="SELECT wp_posts.post_title AS title , wp_posts.post_content AS content, wp_posts.post_date AS blogdate , wp_posts.ID AS ID And then just pass this ID to get_permalink(): get_permalink( $post->ID ); Similar for the title attribute: the_title_attribute( [ 'post' => $post->ID ] ); A: Let's see... select p.post_title Title, p.post_date TimeStamp, (SELECT MIN(meta_value) FROM wp_postmeta WHERE meta_key='PermaLink' AND post_id = p.ID) AS PermaLink from wp_terms inner join wp_term_taxonomy on wp_terms.term_id = wp_term_taxonomy.term_id inner join wp_term_relationships wpr on wpr.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id inner join wp_posts p on p.ID = wpr.object_id /* addidtional conditions - update for your needs */ where taxonomy= 'category' and p.post_type = 'post' and wp_terms.name = 'News' and p.post_status = 'publish' order by post_date DESC;
wordpress
{ "language": "en", "length": 230, "provenance": "stackexchange_00019.jsonl.gz:473591", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257892" }
[ 0.055389404296875, -0.006458282470703125, 0.0302734375, 0.0233001708984375, 0.0033721923828125, -0.04718017578125, 0.07635498046875, -0.04815673828125, 0.024322509765625, 0.02880859375, -0.027252197265625, 0.013031005859375, -0.02362060546875, -0.0159759521484375, -0.0187530517578125, -0.0090484619140625, 0.046539306640625, -0.033233642578125, 0.03228759765625, 0.00974273681640625, -0.01352691650390625, 0.044677734375, 0.032928466796875, 0.0101470947265625, 0.046966552734375, -0.019073486328125, 0.04278564453125, -0.031829833984375, 0.04766845703125, -0.01105499267578125, 0.0276031494140625, -0.0276031494140625, 0.0255279541015625, -0.037261962890625, 0.06158447265625, 0.0172271728515625, 0.030181884765625, -0.0249176025390625, 0.017913818359375, 0.03472900390625, 0.01427459716796875, 0.0012531280517578125, 0.005374908447265625, 0.048309326171875, -0.018524169921875, -0.010650634765625, 0.00817108154296875, -0.032623291015625, -0.004924774169921875, -0.022918701171875, 0.0029392242431640625, 0.03131103515625, 0.023162841796875, -0.01535797119140625, -0.007232666015625, -0.00330352783203125, 0.01471710205078125, -0.031341552734375, 0.04052734375, -0.00644683837890625, -0.054901123046875, -0.0322265625, 0.029541015625, -0.0408935546875, -0.035797119140625, 0.00942230224609375, 0.0556640625, 0.01219940185546875, -0.0080718994140625, -0.033843994140625, 0.00452423095703125, 0.0200042724609375, -0.01340484619140625, -0.0267791748046875, -0.00843048095703125, -0.01126861572265625, -0.003032684326171875, -0.055145263671875, -0.014251708984375, 0.024749755859375, 0.0279998779296875, -0.013458251953125, -0.037933349609375, -0.0097503662109375, 0.03790283203125, 0.0172576904296875, 0.0030422210693359375, -0.018463134765625, -0.0194854736328125, -0.034454345703125, -0.0110321044921875, 0.0219268798828125, -0.0450439453125, -0.02154541015625, -0.01090240478515625, -0.052734375, 0.0238189697265625, 0.0885009765625, -0.0243988037109375, 0.0107879638671875, -0.018310546875, -0.024749755859375, 0.0113372802734375, -0.049102783203125, -0.0169677734375, -0.00957489013671875, 0.03564453125, 0.03338623046875, 0.0173492431640625, 0.0180511474609375, -0.03155517578125, 0.021331787109375, 0.003322601318359375, -0.006587982177734375, -0.0216827392578125, 0.0338134765625, -0.0232086181640625, -0.01202392578125, -0.0160675048828125, 0.004589080810546875, -0.037994384765625, -0.0013942718505859375, -0.00946044921875, -0.012359619140625, 0.0246734619140625, 0.004207611083984375, 0.0025806427001953125, 0.01111602783203125, -0.0535888671875, 0.04669189453125, -0.00923919677734375, -0.0017728805541992188, 0.04229736328125, 0.0572509765625, 0.00824737548828125, -0.028106689453125, 0.018524169921875, -0.0130767822265625, -0.0090484619140625, -0.00716400146484375, 0.0025959014892578125, -0.00559234619140625, 0.01983642578125, -0.02239990234375, -0.00931549072265625, 0.0216064453125, 0.006092071533203125, 0.01222991943359375, -0.0030727386474609375, -0.0293426513671875, -0.00811004638671875, -0.004608154296875, 0.0110015869140625, 0.00559234619140625, -0.0291900634765625, -0.0308837890625, -0.0126953125, -0.01482391357421875, 0.03192138671875, -0.0277099609375, 0.046417236328125, -0.0032901763916015625, -0.01654052734375, 0.026947021484375, -0.02374267578125, 0.006072998046875, -0.026031494140625, -0.0101318359375, 0.013427734375, 0.05169677734375, -0.0089569091796875, -0.0226593017578125, -0.020477294921875, -0.0256195068359375, -0.037689208984375, -0.01242828369140625, -0.0097198486328125, -0.035491943359375, 0.02850341796875, 0.01529693603515625, -0.032073974609375, -0.024200439453125, 0.015533447265625, -0.01172637939453125, -0.01995849609375, 0.0185699462890625, 0.03021240234375, 0.0345458984375, -0.03057861328125, 0.0210113525390625, 0.033416748046875, 0.0457763671875, -0.068115234375, 0.037200927734375, -0.024200439453125, -0.027069091796875, -0.014434814453125, 0.00783538818359375, -0.0277099609375, 0.028411865234375, 0.0219879150390625, 0.035858154296875, 0.0021209716796875, 0.047882080078125, -0.01898193359375, 0.03173828125, -0.01471710205078125, 0.014495849609375, 0.0139007568359375, 0.035675048828125, 0.0217742919921875, 0.0308837890625, -0.0269317626953125, -0.06817626953125, -0.034393310546875, 0.0294952392578125, -0.038482666015625, -0.0273284912109375, -0.055389404296875, 0.00685882568359375, -0.04937744140625, -0.042144775390625, -0.056060791015625, 0.05364990234375, 0.06207275390625, -0.029876708984375, 0.009246826171875, -0.024993896484375, 0.04736328125, 0.01548004150390625, -0.033294677734375, -0.01171875, 0.042205810546875, 0.03973388671875, -0.0276336669921875, -0.002773284912109375, -0.0162506103515625, -0.04840087890625, -0.00858306884765625, 0.049102783203125, 0.03240966796875, 0.051910400390625, -0.004543304443359375, -0.0167999267578125, 0.0316162109375, -0.049652099609375, 0.01183319091796875, -0.01543426513671875, 0.0234832763671875, 0.03955078125, -0.0053558349609375, 0.004032135009765625, 0.0277862548828125, -0.0034503936767578125, -0.00693511962890625, 0.048980712890625, -0.006744384765625, 0.0161285400390625, -0.033477783203125, 0.0250091552734375, -0.002925872802734375, -0.01479339599609375, -0.011688232421875, -0.0224609375, 0.015777587890625, 0.034912109375, 0.037139892578125, 0.052520751953125, -0.0101165771484375, 0.0030422210693359375, -0.0059814453125, 0.0146484375, 0.00330352783203125, 0.036590576171875, -0.00722503662109375, -0.0040740966796875, -0.01348876953125, -0.0090484619140625, 0.01006317138671875, 0.0079345703125, 0.0009326934814453125, 0.042449951171875, 0.0190582275390625, -0.01090240478515625, 0.00241851806640625, -0.03765869140625, -0.004756927490234375, -0.00555419921875, 0.02001953125, 0.00862884521484375, 0.0208587646484375, 0.0264892578125, -0.025360107421875, 0.0633544921875, 0.01078033447265625, -0.01477813720703125, 0.005100250244140625, -0.037322998046875, 0.0416259765625, -0.034210205078125, 0.035064697265625, 0.05975341796875, -0.0080108642578125, 0.019866943359375, 0.00591278076171875, -0.0281524658203125, 0.00797271728515625, -0.01361846923828125, -0.0270233154296875, 0.0085601806640625, -0.09014892578125, 0.0160675048828125, 0.0209808349609375, 0.0894775390625, -0.0277099609375, -0.0653076171875, -0.004825592041015625, 0.036407470703125, -0.08392333984375, -0.11181640625, -0.007659912109375, -0.048004150390625, -0.00079345703125, -0.0175628662109375, -0.0162506103515625, -0.00035953521728515625, -0.002597808837890625, -0.000843048095703125, 0.0012760162353515625, -0.0002415180206298828, -0.093505859375, -0.0186004638671875, -0.07977294921875, 0.03424072265625, -0.01483154296875, 0.039947509765625, 0.00460052490234375, 0.01456451416015625, -0.01019287109375, -0.060760498046875, -0.010101318359375, 0.0562744140625, -0.019927978515625, -0.032318115234375, -0.0074462890625, 0.006317138671875, -0.0174560546875, 0.0055389404296875, 0.02301025390625, 0.02593994140625, -0.033416748046875, -0.004810333251953125, -0.0035648345947265625, 0.0151519775390625, 0.051910400390625, -0.02349853515625, -0.008087158203125, 0.07537841796875, 0.04693603515625, -0.0050201416015625, -0.0557861328125, -0.032440185546875, -0.08380126953125, 0.034515380859375, 0.053924560546875, 0.0231781005859375, 0.01123046875, -0.0094757080078125, 0.01508331298828125, 0.0286102294921875, 0.031829833984375, -0.0141754150390625, 0.019134521484375, 0.0044403076171875, 0.0180206298828125, -0.0251617431640625, 0.033599853515625, -0.01043701171875, 0.030517578125, 0.016510009765625, 0.00649261474609375, 0.00649261474609375, -0.00909423828125, -0.02447509765625, -0.056304931640625, 0.049774169921875, -0.061798095703125, 0.001819610595703125, -0.04962158203125, -0.035369873046875, 0.007305145263671875, 0.09521484375, 0.0027294158935546875, -0.02459716796875, -0.013427734375, -0.004520416259765625, -0.0267486572265625, -0.0104217529296875, -0.0158538818359375, 0.002162933349609375, -0.061798095703125, -0.00806427001953125, -0.012359619140625, -0.0210418701171875, -0.0157623291015625, 0.01316070556640625, -0.033111572265625, -0.0235443115234375, 0.03399658203125, 0.026824951171875, -0.0226898193359375, 0.0753173828125, -0.052093505859375, 0.0726318359375, -0.06011962890625, 0.02862548828125, -0.06097412109375, -0.01336669921875, 0.029052734375, 0.0291900634765625, -0.01531982421875, -0.0211181640625, -0.033843994140625, 0.022674560546875, -0.019256591796875, 0.0230712890625, 0.0016689300537109375, 0.01276397705078125, -0.006793975830078125, 0.00580596923828125, 0.00481414794921875, -0.02398681640625, 0.0074462890625, -0.0240631103515625, -0.0272369384765625, -0.00405120849609375, -0.054901123046875, 0.02325439453125, -0.035430908203125, -0.0194549560546875, -0.01041412353515625, 0.0204925537109375, 0.035247802734375, 0.035614013671875, -0.0161285400390625, 0.035675048828125, 0.01064300537109375, -0.032562255859375, 0.08111572265625, 0.015411376953125, 0.0074462890625, -0.023284912109375, 0.08001708984375, 0.01332855224609375, -0.04119873046875, -0.032379150390625, -0.002101898193359375, 0.037811279296875, -0.0574951171875, 0.049774169921875, 0.0238494873046875, -0.03131103515625, 0.07415771484375, -0.0216522216796875, -0.0125579833984375, -0.008453369140625, 0.0275421142578125, -0.0027008056640625, 0.00777435302734375, -0.01104736328125, -0.037689208984375, 0.0391845703125, 0.0288238525390625, -0.00394439697265625, -0.0153961181640625, -0.0283050537109375, 0.045379638671875, 0.00211334228515625, 0.03216552734375, -0.0279083251953125, -0.048126220703125, 0.0168609619140625, 0.0204925537109375, 0.00322723388671875, 0.0140838623046875, -0.002246856689453125, 0.0009222030639648438, -0.0147247314453125, 0.0009427070617675781, -0.0061187744140625, -0.01441192626953125, -0.0084381103515625, 0.022064208984375, -0.011474609375, -0.01500701904296875, 0.0037937164306640625, -0.0128021240234375, 0.066162109375, -0.0019483566284179688, -0.01534271240234375, 0.003940582275390625, -0.04083251953125, 0.0218048095703125, 0.0233001708984375, -0.012908935546875, 0.035614013671875, 0.06298828125, 0.0002510547637939453, -0.00820159912109375, -0.011016845703125, 0.039398193359375, -0.031890869140625, 0.027252197265625, 0.016571044921875, -0.0036792755126953125, 0.0206451416015625, 0.06365966796875, 0.01023101806640625, 0.03668212890625, -0.02783203125, 0.026947021484375, 0.01056671142578125, 0.049072265625, 0.02630615234375, -0.052398681640625, -0.00785064697265625, 0.036712646484375, -0.00597381591796875, -0.0241241455078125, -0.00559234619140625, 0.024017333984375, 0.04022216796875, 0.004108428955078125, 0.0015935897827148438, -0.0038089752197265625, -0.0181884765625, -0.032684326171875, 0.031829833984375, 0.031463623046875, -0.01317596435546875, -0.0263824462890625, -0.004425048828125, 0.00807952880859375, 0.039520263671875, -0.006290435791015625, 0.020751953125, -0.0255126953125, 0.034759521484375, -0.01216888427734375, 0.018798828125, -0.005397796630859375, -0.0168304443359375, 0.035552978515625, -0.042633056640625, -0.036865234375, 0.065673828125, 0.06524658203125, -0.046539306640625, -0.0152740478515625, 0.051544189453125, 0.0008096694946289062, 0.08489990234375, -0.0626220703125, -0.023223876953125, -0.0163116455078125, -0.02166748046875, 0.0804443359375, 0.0592041015625, -0.01763916015625, -0.0022830963134765625, -0.008758544921875, 0.020050048828125, 0.025146484375, -0.049530029296875, -0.0010004043579101562, -0.02923583984375, 0.01430511474609375, 0.02508544921875, -0.00011307001113891602, -0.026458740234375, 0.004039764404296875, 0.01105499267578125, 0.0014238357543945312, 0.048583984375, -0.0206146240234375, 0.09246826171875, 0.0108489990234375, 0.052581787109375, 0.0263824462890625, 0.041351318359375, -0.0426025390625, -0.026336669921875, -0.0010118484497070312, -0.044677734375, -0.03070068359375, 0.00714111328125, 0.00518035888671875, -0.00618743896484375, -0.0018329620361328125, -0.005947113037109375, 0.0176239013671875, -0.00786590576171875, -0.0012788772583007812, -0.015594482421875, -0.0298004150390625, -0.0262603759765625, -0.022796630859375, 0.038604736328125, -0.008544921875, 0.0369873046875, -0.022125244140625, 0.0465087890625, -0.0308074951171875, -0.042572021484375, -0.03070068359375, 0.0316162109375, -0.0010747909545898438, 0.01328277587890625, 0.08331298828125, 0.035675048828125, 0.059783935546875, 0.01727294921875, 0.0286102294921875, 0.042022705078125, 0.003997802734375, -0.0032520294189453125, -0.01004791259765625, 0.05767822265625, 0.005504608154296875, 0.0158843994140625, 0.054290771484375, -0.01279449462890625, 0.00821685791015625, 0.0027103424072265625, 0.057830810546875, -0.01541900634765625, 0.0037403106689453125, 0.0275421142578125, -0.00994110107421875, 0.00841522216796875, 0.0008292198181152344, 0.01163482666015625, -0.00022351741790771484, 0.00970458984375, -0.007061004638671875, -0.0188446044921875, -0.0019989013671875, -0.00940704345703125, -0.005313873291015625, 0.00501251220703125, 0.032440185546875, -0.0006203651428222656, -0.0465087890625, -0.0268707275390625, 0.0269012451171875, -0.00545501708984375, -0.01544952392578125, 0.01105499267578125, -0.004352569580078125, 0.005924224853515625, -0.035003662109375, 0.0236968994140625, -0.0233306884765625, 0.0016508102416992188, -0.002330780029296875, 0.0185089111328125, 0.0079193115234375, 0.047088623046875, -0.0169677734375, 0.00447845458984375, 0.027557373046875, -0.039581298828125, -0.0340576171875, -0.01751708984375, 0.00777435302734375, 0.0379638671875, -0.026947021484375, 0.03265380859375, -0.0169830322265625, -0.02032470703125, 0.0013408660888671875, -0.019622802734375, 0.06976318359375, -0.057891845703125, -0.003932952880859375, 0.0234222412109375, -0.007122039794921875, 0.00252532958984375, -0.017303466796875, 0.059326171875, -0.048919677734375, -0.006076812744140625, 0.015533447265625, 0.0335693359375, -0.02203369140625, -0.01617431640625, -0.061248779296875, 0.08868408203125, -0.0026721954345703125, 0.03363037109375, 0.031890869140625, 0.029693603515625, -0.030609130859375, 0.001255035400390625, -0.05078125, 0.07232666015625, -0.01523590087890625, 0.033538818359375, -0.06658935546875, -0.01611328125, 0.01837158203125, 0.03338623046875, 0.06494140625, 0.01512908935546875, -0.0511474609375, -0.04510498046875, 0.0295867919921875, 0.055755615234375, 0.02191162109375, 0.0181884765625, -0.004238128662109375, 0.06842041015625, 0.0677490234375, -0.048858642578125, 0.029541015625, 0.006778717041015625, -0.0274505615234375, 0.01324462890625, 0.03265380859375, 0.028839111328125, 0.031982421875, -0.04376220703125, -0.01361846923828125, 0.00418853759765625, 0.02947998046875, -0.05035400390625, 0.006103515625, 0.015655517578125, 0.044708251953125, -0.12371826171875, -0.057891845703125, -0.0307769775390625, 0.040069580078125, 0.0262603759765625, 0.00830078125, 0.00830841064453125, 0.01236724853515625, 0.03399658203125, -0.01690673828125, 0.008026123046875, 0.01024627685546875, -0.007579803466796875, 0.0751953125, 0.0221405029296875, 0.018463134765625, -0.047943115234375, -0.0227813720703125, 0.05133056640625, 0.093017578125, -0.04559326171875, 0.015167236328125, 0.0238800048828125, 0.0197906494140625, -0.0183563232421875, -0.045135498046875, -0.01427459716796875, 0.003345489501953125, 0.027008056640625, -0.015380859375, 0.01271820068359375, 0.0343017578125, 0.0017242431640625, 0.00408935546875, -0.01332855224609375, -0.0212860107421875, 0.02532958984375, -0.031280517578125, 0.00798797607421875, -0.0010118484497070312, 0.049163818359375, 0.00986480712890625, 0.04791259765625, -0.055633544921875, -0.0238800048828125, 0.0121917724609375, 0.0024051666259765625, -0.01715087890625, -0.0086669921875, -0.0018463134765625, -0.058868408203125, 0.004322052001953125, 0.035308837890625, 0.03814697265625, -0.0162353515625, 0.01244354248046875, 0.0013456344604492188, -0.020721435546875, 0.0018405914306640625, -0.0142822265625, -0.01287841796875, 0.00942230224609375, 0.0018749237060546875, 0.0037975311279296875, -0.002490997314453125, -0.0249786376953125, -0.01424407958984375, 0.0504150390625, -0.0104522705078125, -0.042816162109375, 0.040924072265625, -0.004169464111328125, 0.01251983642578125, 0.034027099609375, -0.01227569580078125, -0.00606536865234375, -0.032012939453125, -0.046417236328125, 0.00440216064453125, 0.00811004638671875, -0.054901123046875, 0.004589080810546875, 0.03802490234375, -0.007274627685546875, -0.0218963623046875, -0.032745361328125, -0.006015777587890625, 0.024139404296875, -0.00954437255859375, 0.000492095947265625, 0.0670166015625, 0.021453857421875, 0.0235443115234375, -0.08001708984375, -0.049957275390625, -0.01348114013671875, 0.02532958984375, 0.0099639892578125, 0.000022649765014648438, 0.0255126953125, 0.0305328369140625, -0.036346435546875, 0.044952392578125, -0.0572509765625, -0.033721923828125, 0.039642333984375, -0.0166778564453125, -0.0011644363403320312, -0.00238037109375, -0.03729248046875, 0.0013513565063476562, 0.04046630859375, 0.006381988525390625, 0.01082611083984375, -0.0400390625, 0.026702880859375, -0.0143280029296875, 0.010589599609375, -0.035003662109375, 0.00423431396484375, -0.01116943359375, -0.0309295654296875, 0.0389404296875, 0.004291534423828125, 0.017578125, 0.0272369384765625, 0.0199127197265625, -0.019012451171875, 0.036376953125, -0.0345458984375, 0.06243896484375, 0.053619384765625, -0.033905029296875, -0.0007581710815429688, 0.01248931884765625, -0.00902557373046875, 0.0160369873046875, 0.030548095703125, -0.01715087890625, 0.0250091552734375, 0.005222320556640625, 0.03228759765625, -0.01120758056640625, 0.038482666015625, 0.007282257080078125, 0.018096923828125, -0.010986328125, 0.0147247314453125, -0.01244354248046875, -0.032135009765625, -0.0205841064453125, -0.046600341796875, -0.004062652587890625, 0.03167724609375, -0.02545166015625, -0.01288604736328125, -0.06427001953125, -0.0071563720703125, -0.006061553955078125, -0.01165008544921875, -0.00626373291015625, 0.00508880615234375, -0.0158843994140625, 0.0010881423950195312, -0.034912109375, -0.031890869140625, 0.00843048095703125, 0.032470703125, -0.0204010009765625, -0.0232696533203125, -0.045318603515625, -0.0034732818603515625, -0.049774169921875, 0.0128021240234375, 0.0193023681640625, -0.029632568359375, -0.035797119140625, 0.005466461181640625, 0.0049591064453125, 0.044677734375, 0.01541900634765625, -0.0034809112548828125, 0.01540374755859375, 0.010284423828125, -0.0311737060546875, -0.0760498046875, 0.0200347900390625, -0.052093505859375, -0.02117919921875, -0.0180206298828125, -0.00191497802734375, 0.005847930908203125, -0.032928466796875, -0.0255126953125, 0.048828125, -0.0144805908203125, -0.01385498046875, -0.0233917236328125, -0.00782012939453125, 0.0064697265625, -0.0078125, 0.0076751708984375, -0.03118896484375, -0.034393310546875, 0.007061004638671875, 0.00041294097900390625, 0.007843017578125, 0.031036376953125, -0.004131317138671875, -0.018341064453125, 0.0025501251220703125, -0.0090484619140625, -0.0269317626953125, 0.034576416015625, -0.03167724609375, 0.042816162109375, 0.0216522216796875, -0.054779052734375, -0.00974273681640625, -0.0309600830078125, 0.01238250732421875, -0.01102447509765625, -0.042755126953125, -0.036376953125, -0.005802154541015625, 0.085693359375, 0.05462646484375, 0.027557373046875, -0.049652099609375, 0.0079345703125, -0.0083160400390625, -0.0528564453125, -0.002147674560546875, 0.043365478515625, -0.051727294921875, -0.005859375, 0.0008387565612792969, -0.023681640625, 0.0025501251220703125, 0.0135498046875, -0.044036865234375, 0.003002166748046875, -0.0244140625, -0.01708984375, -0.05828857421875, -0.0012235641479492188, 0.06610107421875, -0.053985595703125, -0.019805908203125, -0.00177764892578125, 0.01435089111328125, 0.01038360595703125, -0.04058837890625, -0.00433349609375, 0.020965576171875, 0.01129150390625, -0.0181121826171875, 0.040557861328125, 0.00460052490234375, 0.029632568359375, -0.01239013671875, -0.00904083251953125, 0.0043182373046875, -0.0084381103515625, -0.01342010498046875, -0.0168914794921875, 0.0153350830078125, -0.01540374755859375, 0.089111328125, 0.0133514404296875, 0.0245819091796875, 0.0150146484375, 0.0426025390625, -0.01922607421875, -0.021026611328125, -0.0093231201171875, -0.045379638671875, 0.00557708740234375, -0.0087890625, 0.0027523040771484375, -0.0305328369140625, 0.011871337890625, -0.04327392578125, -0.00856781005859375, 0.012603759765625 ]
111e5f790e08ebca5c7b6c3fda96f24db9ffcf4e
Wordpress Stackexchange Q: Redirect too many times htacces switching to https When I change the redirect https in my .htaccess the site returns the message "Too many redirects" loop. This is the modified .htaccess RewriteCond %{HTTPS} off RewriteRule (.*)$ https://www.mywebsite.it/$1 [L,R=301] # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress I also added in the wp-config.php: define('FORCE_SSL_ADMIN', true); define('FORCE_SSL_LOGIN', true); A: Adding redirect to htaccess in the way that you have done will not work without adjudicating the site url to be https as well. If it is http, you will get endless redirect due to wordpress detecting that you are trying to access a non canonical URL (the https), and will try to redirect you to the canonical one, which is based on the site url, which is http, and then the htacess will redirect to https again only for wordpress to redirect to http, and so on.
Q: Redirect too many times htacces switching to https When I change the redirect https in my .htaccess the site returns the message "Too many redirects" loop. This is the modified .htaccess RewriteCond %{HTTPS} off RewriteRule (.*)$ https://www.mywebsite.it/$1 [L,R=301] # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress I also added in the wp-config.php: define('FORCE_SSL_ADMIN', true); define('FORCE_SSL_LOGIN', true); A: Adding redirect to htaccess in the way that you have done will not work without adjudicating the site url to be https as well. If it is http, you will get endless redirect due to wordpress detecting that you are trying to access a non canonical URL (the https), and will try to redirect you to the canonical one, which is based on the site url, which is http, and then the htacess will redirect to https again only for wordpress to redirect to http, and so on. A: Since many shared hosts use additional DNS management now such as such as Cloudflare...or similar, do you know if you are using such thing ? If so you need to make sure cloudflare is set to Full https as well as possibly using a cloudflare plugin to prevent too many redirects or loops. A: do you want to push all the traffic to https? i have ssl installed on my site, and i use this code to force all the incoming traffic to HHTPS : (put it above all of your codes in .htaccess ) first remove the previous code you added to wp-config.php and remove the previous code in .htaccess RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yoursite.it/$1 [R,L] be sure to know your server port. and replace it if it's not 80. here is more info if you need : - i took my code from here :) i hope it help you too use https with .htaccess
wordpress
{ "language": "en", "length": 326, "provenance": "stackexchange_00019.jsonl.gz:473616", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/257957" }
[ 0.053955078125, 0.0289154052734375, 0.0157928466796875, -0.0018606185913085938, 0.0305023193359375, -0.034027099609375, 0.051910400390625, -0.051177978515625, -0.00592803955078125, 0.0006680488586425781, -0.0038661956787109375, 0.00402069091796875, -0.0126495361328125, -0.049163818359375, 0.0272369384765625, -0.0089569091796875, 0.004852294921875, -0.01535797119140625, -0.01155853271484375, -0.0142822265625, 0.01447296142578125, 0.0022754669189453125, -0.00467681884765625, 0.007625579833984375, -0.01085662841796875, -0.044647216796875, 0.10565185546875, -0.039337158203125, -0.0062713623046875, -0.051910400390625, 0.003032684326171875, 0.0361328125, 0.00876617431640625, 0.06787109375, -0.08746337890625, -0.05010986328125, 0.015716552734375, 0.01593017578125, -0.0198211669921875, 0.038970947265625, 0.0159912109375, -0.0039215087890625, 0.100341796875, -0.0011034011840820312, 0.031829833984375, 0.0003135204315185547, 0.01445770263671875, -0.053497314453125, -0.0020313262939453125, -0.0016689300537109375, 0.0186920166015625, 0.002109527587890625, 0.044464111328125, -0.0164642333984375, -0.0218963623046875, -0.004520416259765625, 0.003070831298828125, 0.036529541015625, 0.0202789306640625, -0.025238037109375, -0.031768798828125, 0.026458740234375, 0.00562286376953125, 0.003490447998046875, -0.03460693359375, -0.0036525726318359375, -0.0209197998046875, 0.006702423095703125, -0.033843994140625, -0.046783447265625, 0.01038360595703125, -0.0198822021484375, -0.007167816162109375, -0.038360595703125, -0.0291900634765625, 0.0226287841796875, 0.0136260986328125, 0.005199432373046875, -0.0003120899200439453, -0.00844573974609375, -0.004108428955078125, -0.015869140625, -0.028717041015625, -0.0159759521484375, -0.01024627685546875, -0.00008380413055419922, -0.0012712478637695312, 0.00014603137969970703, -0.0158843994140625, -0.038116455078125, -0.0222930908203125, 0.009552001953125, 0.005741119384765625, -0.01467132568359375, -0.04345703125, -0.0109100341796875, 0.03143310546875, 0.02301025390625, 0.023712158203125, -0.032623291015625, 0.036163330078125, -0.051422119140625, -0.019195556640625, -0.009674072265625, -0.01131439208984375, 0.039520263671875, 0.01027679443359375, 0.0625, 0.045989990234375, 0.032684326171875, 0.014068603515625, 0.01080322265625, -0.0164031982421875, -0.01090240478515625, -0.031829833984375, 0.032958984375, -0.037628173828125, -0.025177001953125, -0.01739501953125, 0.00913238525390625, -0.01438140869140625, 0.0179901123046875, -0.0005917549133300781, -0.01451873779296875, -0.01580810546875, -0.029876708984375, 0.001735687255859375, -0.0269927978515625, -0.004673004150390625, 0.0250701904296875, -0.0226898193359375, -0.00015294551849365234, 0.046142578125, 0.0291595458984375, 0.007053375244140625, -0.0122833251953125, 0.04888916015625, -0.035369873046875, -0.042266845703125, 0.07177734375, -0.035614013671875, -0.059814453125, -0.007785797119140625, -0.03448486328125, 0.05157470703125, 0.03631591796875, 0.0264129638671875, 0.01268768310546875, -0.003993988037109375, -0.04901123046875, 0.0309295654296875, -0.0131988525390625, 0.034332275390625, 0.00254058837890625, -0.01262664794921875, -0.052093505859375, 0.00868988037109375, -0.036590576171875, 0.006832122802734375, -0.047943115234375, 0.0035762786865234375, -0.0229339599609375, 0.004730224609375, -0.021331787109375, -0.042510986328125, 0.030181884765625, -0.036407470703125, -0.008758544921875, 0.038055419921875, 0.035888671875, 0.01122283935546875, -0.028961181640625, -0.0084228515625, 0.02203369140625, -0.0042724609375, 0.019500732421875, -0.01219940185546875, 0.01849365234375, 0.0197296142578125, 0.050537109375, 0.0257720947265625, -0.022613525390625, 0.033111572265625, 0.027099609375, -0.060577392578125, 0.039215087890625, -0.008758544921875, 0.0638427734375, 0.026824951171875, 0.003448486328125, 0.0156707763671875, 0.0017747879028320312, -0.05194091796875, 0.05908203125, -0.042724609375, -0.06439208984375, -0.0006842613220214844, -0.00878143310546875, -0.024200439453125, 0.016143798828125, -0.005641937255859375, 0.014495849609375, -0.051177978515625, -0.004238128662109375, -0.022705078125, -0.0233306884765625, 0.01175689697265625, 0.00482177734375, 0.0026454925537109375, 0.03546142578125, 0.02197265625, 0.016876220703125, -0.03826904296875, 0.00843048095703125, -0.0142669677734375, -0.008880615234375, -0.003681182861328125, 0.0078125, 0.0026378631591796875, 0.01328277587890625, 0.0025920867919921875, -0.0020923614501953125, -0.01513671875, -0.01486968994140625, 0.03082275390625, -0.025146484375, -0.0229034423828125, -0.025634765625, -0.004985809326171875, -0.0064849853515625, -0.060577392578125, 0.0513916015625, 0.029052734375, 0.045928955078125, -0.04754638671875, -0.00412750244140625, -0.016326904296875, -0.0161285400390625, -0.00687408447265625, 0.04083251953125, 0.03765869140625, 0.00801849365234375, -0.0259552001953125, -0.0101318359375, -0.0125274658203125, -0.096435546875, 0.00261688232421875, 0.00536346435546875, 0.01224517822265625, -0.00446319580078125, 0.027618408203125, -0.0384521484375, 0.0237579345703125, -0.0283203125, 0.04058837890625, 0.01081085205078125, -0.007350921630859375, -0.0343017578125, -0.0382080078125, 0.0238037109375, 0.035552978515625, -0.0183258056640625, -0.06884765625, 0.0088653564453125, -0.0126953125, -0.037628173828125, -0.0209808349609375, -0.0362548828125, -0.004425048828125, -0.02880859375, 0.02703857421875, -0.0635986328125, -0.0151519775390625, -0.00010007619857788086, 0.033050537109375, -0.023895263671875, -0.03424072265625, 0.032257080078125, -0.0210418701171875, -0.010833740234375, -0.00829315185546875, 0.030517578125, -0.028472900390625, -0.00946807861328125, -0.01934814453125, -0.025726318359375, -0.01580810546875, 0.01210784912109375, 0.020477294921875, 0.0193939208984375, 0.0386962890625, 0.005039215087890625, -0.0147705078125, 0.0192718505859375, 0.01050567626953125, -0.0224761962890625, 0.00032329559326171875, -0.0538330078125, 0.04931640625, -0.0367431640625, 0.08056640625, 0.06829833984375, -0.03167724609375, 0.043731689453125, 0.00046753883361816406, -0.00958251953125, 0.004657745361328125, -0.0264434814453125, -0.0367431640625, 0.018280029296875, -0.1107177734375, -0.0135040283203125, 0.032135009765625, -0.026641845703125, 0.051116943359375, -0.00324249267578125, 0.0144500732421875, 0.019073486328125, -0.06781005859375, -0.07867431640625, -0.0692138671875, -0.027923583984375, 0.02838134765625, 0.0255584716796875, 0.01297760009765625, -0.0208282470703125, 0.038726806640625, 0.0309600830078125, 0.0013551712036132812, -0.00662994384765625, -0.043609619140625, -0.052703857421875, -0.09637451171875, -0.0323486328125, -0.0080413818359375, 0.041290283203125, 0.003265380859375, -0.020263671875, 0.0009212493896484375, 0.01306915283203125, 0.0172271728515625, 0.01126861572265625, -0.007762908935546875, -0.033966064453125, -0.037139892578125, -0.01611328125, -0.03790283203125, 0.0099639892578125, 0.03375244140625, -0.017059326171875, 0.0257110595703125, 0.00347137451171875, 0.01349639892578125, -0.0242156982421875, 0.032318115234375, -0.052734375, -0.052337646484375, -0.007587432861328125, -0.005893707275390625, -0.054046630859375, 0.017852783203125, -0.00939178466796875, -0.0180206298828125, -0.035308837890625, 0.01145172119140625, -0.0183258056640625, -0.00643157958984375, -0.047882080078125, 0.004093170166015625, 0.0232391357421875, 0.0045013427734375, -0.029632568359375, 0.076416015625, -0.01291656494140625, -0.01006317138671875, -0.051727294921875, 0.03765869140625, -0.01113128662109375, -0.020233154296875, 0.0024204254150390625, -0.01210784912109375, -0.007076263427734375, -0.0164031982421875, -0.045867919921875, -0.060394287109375, 0.0201873779296875, -0.037841796875, 0.01372528076171875, -0.03216552734375, -0.00609588623046875, -0.0168609619140625, 0.09747314453125, -0.0073394775390625, -0.0111846923828125, -0.01201629638671875, 0.0171356201171875, -0.00041866302490234375, -0.006885528564453125, -0.0203857421875, -0.01953125, -0.09368896484375, -0.0115203857421875, -0.000797271728515625, -0.04443359375, 0.028564453125, -0.0716552734375, -0.037078857421875, -0.054718017578125, 0.0168304443359375, 0.00008589029312133789, 0.0238800048828125, -0.01055145263671875, 0.006282806396484375, -0.03070068359375, 0.00337982177734375, -0.03839111328125, -0.055633544921875, -0.027313232421875, 0.02850341796875, 0.0640869140625, -0.00490570068359375, -0.004016876220703125, 0.0274658203125, 0.0858154296875, 0.020965576171875, 0.0204620361328125, 0.0208892822265625, -0.02685546875, 0.0322265625, 0.04290771484375, 0.03350830078125, -0.004962921142578125, -0.0259857177734375, -0.013092041015625, -0.00846099853515625, 0.006626129150390625, -0.0264434814453125, -0.026702880859375, 0.01947021484375, -0.0230712890625, -0.04400634765625, 0.00261688232421875, -0.024169921875, 0.0216064453125, -0.00940704345703125, -0.013763427734375, -0.005046844482421875, -0.061126708984375, 0.055084228515625, -0.006259918212890625, 0.0008988380432128906, 0.0030307769775390625, 0.04443359375, 0.0031452178955078125, -0.027374267578125, -0.0143585205078125, 0.0007443428039550781, 0.00013935565948486328, -0.009124755859375, 0.06353759765625, -0.002223968505859375, 0.0251922607421875, 0.0355224609375, -0.045684814453125, -0.0164794921875, 0.014984130859375, -0.00162506103515625, -0.00266265869140625, -0.022064208984375, -0.005275726318359375, -0.034942626953125, 0.035491943359375, 0.04510498046875, 0.0295867919921875, -0.007228851318359375, 0.01373291015625, -0.003787994384765625, 0.021484375, -0.037445068359375, 0.0005998611450195312, -0.03143310546875, 0.01263427734375, 0.03851318359375, 0.05303955078125, 0.0096588134765625, 0.0161895751953125, 0.0404052734375, 0.045562744140625, -0.0181884765625, -0.0623779296875, -0.00713348388671875, -0.033905029296875, 0.02459716796875, -0.050384521484375, -0.030364990234375, -0.04205322265625, -0.0130157470703125, 0.08526611328125, 0.036285400390625, -0.051513671875, 0.041900634765625, -0.027862548828125, -0.08953857421875, -0.00557708740234375, -0.027801513671875, 0.0248260498046875, -0.0099945068359375, -0.0233917236328125, 0.01019287109375, -0.0265655517578125, -0.056884765625, -0.0516357421875, 0.0391845703125, -0.004852294921875, 0.00955963134765625, 0.02935791015625, 0.08349609375, 0.027069091796875, 0.05230712890625, -0.0162200927734375, 0.00635528564453125, 0.011474609375, 0.003131866455078125, 0.00560760498046875, 0.0219573974609375, 0.02130126953125, -0.038970947265625, 0.039031982421875, -0.038848876953125, -0.026824951171875, 0.0206298828125, 0.046173095703125, 0.034576416015625, 0.00650787353515625, -0.018096923828125, -0.0172882080078125, -0.009490966796875, 0.0245361328125, -0.0269775390625, -0.052154541015625, -0.027252197265625, -0.005641937255859375, 0.01506805419921875, -0.019317626953125, -0.03350830078125, 0.004795074462890625, -0.02581787109375, 0.03460693359375, -0.002349853515625, -0.0165863037109375, 0.019195556640625, 0.00878143310546875, -0.037933349609375, -0.0445556640625, -0.01007080078125, -0.0367431640625, 0.0160675048828125, -0.0264739990234375, -0.0019474029541015625, 0.0274810791015625, -0.02294921875, 0.026763916015625, 0.0164337158203125, -0.038665771484375, 0.048004150390625, 0.020263671875, 0.029876708984375, 0.0031490325927734375, -0.0174102783203125, -0.0243682861328125, -0.041839599609375, -0.010284423828125, 0.01543426513671875, -0.016326904296875, -0.0028247833251953125, -0.006549835205078125, 0.034088134765625, 0.03155517578125, 0.0011453628540039062, -0.0183868408203125, -0.044891357421875, 0.009979248046875, 0.02667236328125, 0.0279693603515625, -0.035888671875, 0.0174102783203125, 0.0223846435546875, -0.00545501708984375, -0.0204925537109375, 0.007328033447265625, 0.02630615234375, -0.0136871337890625, 0.0128173828125, -0.0390625, 0.0010328292846679688, -0.0245208740234375, 0.011871337890625, -0.00589752197265625, 0.01849365234375, -0.00891876220703125, 0.01284027099609375, 0.01387786865234375, 0.00923919677734375, -0.016357421875, -0.0221099853515625, 0.0178680419921875, 0.030548095703125, 0.0137176513671875, 0.046875, 0.05059814453125, -0.050628662109375, -0.035797119140625, -0.022186279296875, 0.0296478271484375, -0.00946807861328125, -0.01222991943359375, -0.007171630859375, -0.0236358642578125, 0.0247039794921875, 0.005855560302734375, 0.052886962890625, 0.02239990234375, 0.037109375, 0.061187744140625, -0.0034198760986328125, -0.0251312255859375, 0.004291534423828125, 0.0258026123046875, -0.0070953369140625, -0.00829315185546875, 0.017913818359375, -0.0212860107421875, -0.0019817352294921875, 0.08758544921875, 0.07220458984375, -0.1009521484375, -0.00782012939453125, 0.006778717041015625, -0.035247802734375, 0.0055084228515625, 0.02166748046875, -0.018035888671875, -0.004756927490234375, -0.01959228515625, -0.0016355514526367188, -0.03265380859375, -0.0032215118408203125, 0.051025390625, -0.0107574462890625, -0.0008649826049804688, 0.057373046875, 0.005252838134765625, -0.0263519287109375, -0.04180908203125, 0.008514404296875, -0.026702880859375, 0.007373809814453125, 0.015655517578125, -0.0255889892578125, -0.0033359527587890625, -0.01294708251953125, 0.0092010498046875, -0.032806396484375, -0.00018262863159179688, 0.02374267578125, 0.006282806396484375, 0.00786590576171875, 0.06646728515625, -0.013885498046875, 0.012420654296875, 0.02972412109375, -0.037506103515625, 0.0418701171875, -0.01544952392578125, -0.01348876953125, -0.034271240234375, -0.00846099853515625, -0.007091522216796875, -0.0107574462890625, -0.03143310546875, -0.0126495361328125, 0.00638580322265625, 0.035369873046875, -0.00347137451171875, -0.0206298828125, 0.047943115234375, -0.004116058349609375, -0.03021240234375, -0.004711151123046875, 0.051727294921875, -0.0239410400390625, -0.009796142578125, 0.00937652587890625, -0.0036029815673828125, -0.0117950439453125, -0.01177978515625, -0.00878143310546875, 0.0543212890625, 0.0213775634765625, -0.029754638671875, 0.033355712890625, 0.03631591796875, -0.033935546875, 0.02008056640625, 0.00872039794921875, 0.031890869140625, 0.043853759765625, -0.0094757080078125, 0.0032901763916015625, -0.011993408203125, 0.003688812255859375, 0.0517578125, 0.0645751953125, 0.0185546875, -0.07208251953125, 0.032440185546875, 0.07891845703125, 0.0271453857421875, 0.00951385498046875, 0.06549072265625, -0.002376556396484375, 0.01212310791015625, 0.054443359375, -0.0250091552734375, 0.0268096923828125, 0.01146697998046875, -0.0184478759765625, 0.0005340576171875, 0.01297760009765625, -0.016754150390625, 0.01207733154296875, -0.00799560546875, -0.075439453125, 0.0276336669921875, 0.040802001953125, 0.041839599609375, 0.028656005859375, 0.00428009033203125, -0.0028438568115234375, -0.0244140625, 0.05181884765625, -0.045166015625, 0.048858642578125, -0.023712158203125, -0.0192108154296875, 0.01129150390625, -0.0011377334594726562, 0.037109375, 0.0072021484375, -0.01279449462890625, 0.0213470458984375, 0.0069122314453125, 0.00038242340087890625, 0.0238800048828125, 0.0245208740234375, 0.01209259033203125, 0.03607177734375, -0.01194000244140625, 0.01091766357421875, -0.03472900390625, -0.03436279296875, -0.00940704345703125, -0.011993408203125, 0.036407470703125, -0.01303863525390625, 0.0290679931640625, -0.0233154296875, -0.032806396484375, 0.02294921875, 0.005329132080078125, 0.0202789306640625, -0.0180816650390625, 0.0147247314453125, 0.05621337890625, -0.047760009765625, 0.044586181640625, -0.038177490234375, -0.027099609375, 0.0161590576171875, 0.07489013671875, 0.040771484375, 0.034423828125, 0.0038166046142578125, -0.04833984375, 0.0199737548828125, 0.005466461181640625, -0.01340484619140625, -0.03851318359375, -0.00748443603515625, -0.08233642578125, 0.0189056396484375, 0.043060302734375, 0.0232086181640625, -0.0071868896484375, 0.0084228515625, 0.0280609130859375, 0.01953125, 0.000027000904083251953, 0.0537109375, -0.0029163360595703125, 0.05633544921875, -0.0305328369140625, -0.0121917724609375, -0.0208282470703125, -0.034820556640625, 0.0092010498046875, -0.037567138671875, 0.0216522216796875, 0.0340576171875, 0.01190185546875, 0.018096923828125, -0.01029205322265625, -0.004444122314453125, 0.00876617431640625, 0.02325439453125, 0.053680419921875, -0.046478271484375, 0.00380706787109375, -0.0075531005859375, -0.055389404296875, 0.020172119140625, 0.0240020751953125, -0.0095062255859375, 0.00585174560546875, 0.00428009033203125, -0.03094482421875, 0.036346435546875, 0.0244598388671875, -0.01093292236328125, 0.036956787109375, 0.031341552734375, -0.00991058349609375, -0.042327880859375, -0.008514404296875, 0.00542449951171875, 0.012847900390625, -0.0016469955444335938, 0.07489013671875, -0.01122283935546875, -0.0005693435668945312, 0.0017538070678710938, -0.0293121337890625, 0.034912109375, 0.027740478515625, -0.02587890625, 0.0303497314453125, 0.0009136199951171875, -0.0246734619140625, -0.0931396484375, 0.01045989990234375, 0.01380157470703125, -0.0260009765625, 0.026947021484375, 0.0095367431640625, 0.01233673095703125, -0.0309906005859375, -0.0091400146484375, -0.04864501953125, -0.07470703125, -0.059844970703125, 0.030303955078125, -0.004535675048828125, 0.0014066696166992188, -0.031829833984375, 0.055511474609375, -0.0093994140625, 0.0126190185546875, -0.006992340087890625, -0.028717041015625, -0.044403076171875, 0.0145416259765625, -0.0188751220703125, -0.0216827392578125, 0.00876617431640625, -0.01776123046875, -0.00830841064453125, -0.0008831024169921875, 0.0046844482421875, -0.00878143310546875, -0.0289764404296875, -0.051361083984375, -0.01094818115234375, -0.037933349609375, 0.0008034706115722656, -0.00872802734375, -0.00435638427734375, -0.0452880859375, -0.04052734375, 0.00200653076171875, -0.0041046142578125, 0.00612640380859375, -0.0259857177734375, -0.0018405914306640625, 0.01395416259765625, -0.041229248046875, -0.00447845458984375, -0.00994873046875, 0.0260772705078125, -0.0231170654296875, -0.00946807861328125, -0.01617431640625, -0.034149169921875, 0.054168701171875, -0.039520263671875, 0.03582763671875, 0.017913818359375, 0.00739288330078125, -0.0771484375, -0.0231170654296875, -0.0271453857421875, 0.0303955078125, -0.040252685546875, -0.0200958251953125, 0.0247802734375, 0.0011644363403320312, -0.006160736083984375, -0.06878662109375, -0.028411865234375, -0.0266571044921875, -0.039703369140625, 0.011932373046875, 0.0260162353515625, 0.016326904296875, -0.054962158203125, -0.046478271484375, 0.0153656005859375, -0.01776123046875, -0.0202178955078125, 0.019195556640625, -0.00791168212890625, 0.0008335113525390625, -0.040191650390625, -0.06414794921875, 0.05682373046875, 0.0018138885498046875, -0.0239410400390625, -0.0616455078125, -0.01392364501953125, -0.0300750732421875, 0.075927734375, 0.007476806640625, -0.03387451171875, -0.028289794921875, 0.03826904296875, 0.026519775390625, 0.032684326171875, -0.0269927978515625, 0.06610107421875, 0.0008029937744140625, 0.074951171875, 0.054412841796875, -0.0030670166015625, 0.0037288665771484375, 0.01546478271484375, 0.038726806640625, 0.08477783203125, 0.01102447509765625, 0.02093505859375, -0.00921630859375, -0.05218505859375, 0.00466156005859375, -0.004718780517578125, -0.0263671875, -0.06634521484375, 0.0033626556396484375, 0.007244110107421875, 0.0026493072509765625, 0.03271484375, -0.064208984375, -0.0181427001953125, 0.01222991943359375, -0.0245208740234375, 0.0082855224609375, -0.0653076171875, 0.0087127685546875, -0.01073455810546875, 0.0005764961242675781, 0.0066375732421875, 0.0212249755859375, -0.035125732421875, -0.00286102294921875, 0.006381988525390625, -0.0284423828125, -0.0142364501953125, 0.018890380859375, 0.0274505615234375, -0.027923583984375, -0.0147247314453125, -0.01953125, 0.021270751953125, -0.00942230224609375, -0.049652099609375, 0.01458740234375, 0.0582275390625, -0.035614013671875, -0.0150604248046875, 0.01554107666015625, -0.01052093505859375, -0.0303955078125, -0.0035915374755859375, 0.0008840560913085938, 0.0248565673828125, 0.0022487640380859375, 0.041412353515625, -0.00402069091796875, 0.030487060546875, -0.0018901824951171875, 0.0191497802734375, 0.00821685791015625, -0.035980224609375, -0.0027828216552734375, 0.0460205078125, 0.006793975830078125, -0.02557373046875, 0.0149993896484375, -0.056976318359375, 0.0171356201171875, 0.03564453125, 0.009063720703125, 0.016021728515625, -0.0150604248046875, -0.03387451171875, -0.004024505615234375, -0.01251220703125 ]
1f9119c853e7d79e1cdf3808cf39dad6cb7825bf
Wordpress Stackexchange Q: How to automatically apply woocommerce product title to all product images alt tags? Adding alt tag information to every product photo is a lot of work. We always just copy and paste our product title into the image alt tags. I figured since all the information is there; there must be a way to do this automatically. Question: How do you apply a woocommerce product's TITLE as all the ALT TAGS for images used with that product. Any help is much appreciated! A: This is what you need, taken from - https://stackoverflow.com/questions/27087772/how-can-i-change-meta-alt-and-title-in-catalog-thumbnail-product-thumbnail add_filter('wp_get_attachment_image_attributes', 'change_attachement_image_attributes', 20, 2); function change_attachement_image_attributes( $attr, $attachment ){ // Get post parent $parent = get_post_field( 'post_parent', $attachment); // Get post type to check if it's product $type = get_post_field( 'post_type', $parent); if( $type != 'product' ){ return $attr; } /// Get title $title = get_post_field( 'post_title', $parent); $attr['alt'] = $title; $attr['title'] = $title; return $attr; }
Q: How to automatically apply woocommerce product title to all product images alt tags? Adding alt tag information to every product photo is a lot of work. We always just copy and paste our product title into the image alt tags. I figured since all the information is there; there must be a way to do this automatically. Question: How do you apply a woocommerce product's TITLE as all the ALT TAGS for images used with that product. Any help is much appreciated! A: This is what you need, taken from - https://stackoverflow.com/questions/27087772/how-can-i-change-meta-alt-and-title-in-catalog-thumbnail-product-thumbnail add_filter('wp_get_attachment_image_attributes', 'change_attachement_image_attributes', 20, 2); function change_attachement_image_attributes( $attr, $attachment ){ // Get post parent $parent = get_post_field( 'post_parent', $attachment); // Get post type to check if it's product $type = get_post_field( 'post_type', $parent); if( $type != 'product' ){ return $attr; } /// Get title $title = get_post_field( 'post_title', $parent); $attr['alt'] = $title; $attr['title'] = $title; return $attr; } A: For anyone searching, I would recommend editing the code above so if a product image already has an alt tag do not override it with the post title. This way you can still add product image titles if necessary. add_filter('wp_get_attachment_image_attributes', 'change_attachement_image_attributes', 20, 2); function change_attachement_image_attributes( $attr, $attachment ) { // Get post parent $parent = get_post_field( 'post_parent', $attachment); // Get post type to check if it's product $type = get_post_field( 'post_type', $parent); if( $type != 'product' ){ return $attr; } /// Get title $title = get_post_field( 'post_title', $parent); if( $attr['alt'] == ''){ $attr['alt'] = $title; $attr['title'] = $title; } return $attr; } A: If anyone is looking for a fast and easy way to use product titles as product image alt tags, I recommend the Woo Image SEO plugin. The plugin can also handle the creation of title attributes. Additionally, you can customize the attributes by including the product's category and tag in any order.
wordpress
{ "language": "en", "length": 306, "provenance": "stackexchange_00019.jsonl.gz:473633", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258007" }
[ 0.008026123046875, 0.0013904571533203125, 0.003742218017578125, 0.0176544189453125, -0.0159454345703125, -0.007007598876953125, 0.0302886962890625, -0.0313720703125, -0.00971221923828125, 0.047698974609375, -0.0193328857421875, 0.0182952880859375, 0.0079803466796875, -0.0059051513671875, -0.015777587890625, -0.00872802734375, 0.023101806640625, -0.00856781005859375, 0.0234222412109375, 0.0161895751953125, -0.0200958251953125, 0.040283203125, 0.0039215087890625, -0.006130218505859375, 0.0233306884765625, -0.061920166015625, 0.100341796875, -0.0304107666015625, 0.0305633544921875, -0.00844573974609375, 0.0206146240234375, -0.006534576416015625, 0.050262451171875, -0.056488037109375, 0.03533935546875, 0.05657958984375, 0.039215087890625, -0.03607177734375, -0.0007801055908203125, 0.031585693359375, 0.047515869140625, -0.0197906494140625, 0.02630615234375, 0.03955078125, 0.0035076141357421875, -0.0226898193359375, 0.0301666259765625, -0.05133056640625, 0.044097900390625, -0.037994384765625, 0.0181884765625, 0.061309814453125, 0.033660888671875, -0.003162384033203125, -0.034027099609375, -0.0025730133056640625, -0.04925537109375, 0.004749298095703125, 0.0268402099609375, 0.0122528076171875, -0.01274871826171875, -0.0205230712890625, 0.01045989990234375, -0.0325927734375, 0.01357269287109375, -0.01000213623046875, 0.0186920166015625, 0.0102691650390625, -0.015899658203125, 0.004871368408203125, 0.04620361328125, -0.01299285888671875, 0.0030727386474609375, 0.0105743408203125, -0.005214691162109375, -0.035919189453125, -0.01276397705078125, -0.0367431640625, 0.032440185546875, 0.007427215576171875, 0.0301361083984375, -0.0206756591796875, 0.046295166015625, -0.01343536376953125, 0.0181121826171875, 0.000545501708984375, 0.005680084228515625, -0.00675201416015625, -0.011474609375, -0.0294647216796875, 0.0008230209350585938, -0.0262451171875, -0.065673828125, 0.034698486328125, -0.002643585205078125, -0.044464111328125, 0.039520263671875, 0.0357666015625, 0.010528564453125, 0.01395416259765625, 0.01087188720703125, -0.045135498046875, 0.0283660888671875, -0.031890869140625, -0.005832672119140625, -0.020782470703125, -0.016265869140625, -0.025665283203125, 0.01690673828125, 0.044189453125, -0.0232391357421875, 0.0174560546875, -0.0220794677734375, 0.01145172119140625, -0.04718017578125, 0.0274200439453125, -0.032135009765625, 0.00386810302734375, -0.0258331298828125, 0.059478759765625, -0.0223541259765625, 0.00788116455078125, 0.0232086181640625, -0.009765625, -0.0036334991455078125, 0.004817962646484375, -0.0127105712890625, -0.0289764404296875, 0.016571044921875, 0.006244659423828125, -0.0150909423828125, 0.00785064697265625, 0.036376953125, 0.01947021484375, 0.01317596435546875, -0.006641387939453125, 0.001537322998046875, 0.00475311279296875, -0.002471923828125, -0.016754150390625, 0.0347900390625, 0.00020515918731689453, 0.01239013671875, 0.00562286376953125, 0.035797119140625, 0.01922607421875, -0.0085601806640625, 0.006694793701171875, 0.023529052734375, -0.0128936767578125, 0.04278564453125, -0.07391357421875, 0.01171112060546875, 0.01499176025390625, 0.01161956787109375, 0.00304412841796875, 0.05657958984375, -0.0254974365234375, -0.0131683349609375, -0.040252685546875, 0.01306915283203125, -0.00843048095703125, 0.005054473876953125, -0.0255889892578125, -0.05419921875, 0.017578125, -0.014434814453125, -0.01152801513671875, 0.016815185546875, 0.0034637451171875, -0.0005779266357421875, 0.039398193359375, 0.0264129638671875, -0.0039520263671875, -0.0030574798583984375, -0.00846099853515625, -0.047271728515625, 0.038330078125, 0.055816650390625, -0.030242919921875, -0.0221405029296875, -0.034088134765625, 0.07000732421875, -0.01364898681640625, -0.032470703125, -0.040924072265625, 0.0159912109375, 0.0125274658203125, 0.01251983642578125, 0.03887939453125, 0.0196990966796875, -0.0025653839111328125, -0.0306396484375, 0.01355743408203125, 0.010955810546875, -0.02679443359375, 0.01568603515625, 0.005939483642578125, -0.005947113037109375, -0.0341796875, -0.0067138671875, -0.02032470703125, 0.007572174072265625, 0.0018796920776367188, 0.0174560546875, -0.03558349609375, 0.00923919677734375, 0.0037212371826171875, -0.0245513916015625, 0.04486083984375, 0.00928497314453125, -0.014617919921875, -0.01003265380859375, 0.012786865234375, 0.039520263671875, -0.02728271484375, -0.0131988525390625, 0.017974853515625, -0.0207672119140625, 0.0282745361328125, -0.01556396484375, -0.036590576171875, -0.01340484619140625, 0.047698974609375, 0.068603515625, 0.0290069580078125, -0.0274200439453125, -0.005016326904296875, 0.054412841796875, 0.034912109375, -0.058837890625, 0.003635406494140625, -0.0015354156494140625, -0.0311279296875, -0.061065673828125, 0.0030956268310546875, -0.048126220703125, -0.07220458984375, -0.022430419921875, 0.07110595703125, 0.026092529296875, 0.005374908447265625, -0.002964019775390625, 0.022216796875, 0.07757568359375, -0.005786895751953125, -0.0009446144104003906, 0.0168304443359375, 0.007686614990234375, 0.0201416015625, -0.041107177734375, 0.004695892333984375, 0.04205322265625, -0.06170654296875, 0.015228271484375, 0.07318115234375, -0.03857421875, -0.046844482421875, -0.011474609375, 0.0032558441162109375, 0.022552490234375, -0.03924560546875, -0.01439666748046875, -0.0186309814453125, 0.03741455078125, 0.043853759765625, 0.0360107421875, 0.0271759033203125, -0.0716552734375, 0.05975341796875, 0.0179290771484375, 0.00968170166015625, -0.006618499755859375, 0.0146026611328125, -0.02581787109375, -0.021240234375, -0.02471923828125, 0.0279388427734375, -0.0195159912109375, -0.01904296875, 0.006862640380859375, 0.055572509765625, 0.044342041015625, -0.00942230224609375, -0.0212860107421875, -0.0413818359375, 0.01605224609375, 0.01354217529296875, -0.0204315185546875, -0.0399169921875, -0.01195526123046875, 0.02447509765625, -0.01322174072265625, 0.00487518310546875, 0.03289794921875, -0.01983642578125, 0.024688720703125, -0.04046630859375, 0.0482177734375, -0.044097900390625, 0.06134033203125, 0.057098388671875, -0.036407470703125, 0.03271484375, -0.0068359375, -0.01433563232421875, -0.015869140625, -0.0177764892578125, -0.0413818359375, 0.012725830078125, -0.081298828125, -0.0023441314697265625, 0.00838470458984375, 0.0882568359375, -0.059356689453125, -0.0770263671875, -0.0167694091796875, 0.0174102783203125, -0.08660888671875, -0.087890625, 0.0255889892578125, -0.03594970703125, -0.013885498046875, -0.013641357421875, -0.01187896728515625, -0.02130126953125, -0.00634765625, -0.019866943359375, -0.032379150390625, -0.0200653076171875, 0.0009469985961914062, -0.054168701171875, -0.042938232421875, -0.028106689453125, 0.0012598037719726562, 0.00218963623046875, -0.005558013916015625, -0.01568603515625, -0.0034236907958984375, -0.006946563720703125, 0.00688934326171875, 0.08209228515625, 0.02197265625, -0.024139404296875, 0.00881195068359375, -0.03228759765625, 0.01218414306640625, 0.01482391357421875, -0.0059967041015625, 0.005321502685546875, 0.01114654541015625, -0.0308837890625, -0.010650634765625, 0.00417327880859375, 0.04486083984375, -0.0199127197265625, -0.005611419677734375, 0.029296875, 0.04296875, -0.02655029296875, -0.0374755859375, -0.0369873046875, -0.0667724609375, 0.04571533203125, 0.0292205810546875, 0.0265655517578125, -0.0053253173828125, 0.0222320556640625, 0.0159759521484375, 0.00301361083984375, 0.0341796875, -0.0009675025939941406, -0.031829833984375, -0.0167388916015625, -0.0275115966796875, -0.038787841796875, 0.028350830078125, -0.00890350341796875, 0.03839111328125, 0.0157318115234375, 0.0345458984375, 0.00867462158203125, 0.01398468017578125, -0.0140838623046875, -0.054443359375, 0.038665771484375, -0.036163330078125, 0.029693603515625, -0.05010986328125, -0.0504150390625, -0.01534271240234375, 0.09417724609375, -0.007068634033203125, -0.0240325927734375, -0.0163726806640625, 0.0164031982421875, -0.0204010009765625, -0.00025582313537597656, 0.005451202392578125, -0.0028820037841796875, -0.10723876953125, 0.0207977294921875, 0.005565643310546875, -0.0096588134765625, -0.009613037109375, 0.0025615692138671875, -0.05181884765625, -0.050262451171875, 0.028594970703125, 0.0174713134765625, -0.00772857666015625, 0.0518798828125, -0.035369873046875, 0.0596923828125, -0.0452880859375, -0.0034427642822265625, -0.0626220703125, -0.0174102783203125, 0.023101806640625, 0.04681396484375, -0.038909912109375, 0.04705810546875, -0.059722900390625, 0.040252685546875, -0.0021953582763671875, 0.00023734569549560547, -0.0003325939178466797, 0.01129913330078125, -0.015777587890625, -0.00205230712890625, -0.0197296142578125, -0.0226287841796875, -0.00911712646484375, -0.035430908203125, -0.05291748046875, -0.0244293212890625, 0.01108551025390625, 0.047943115234375, 0.050323486328125, -0.0216064453125, -0.0654296875, -0.00969696044921875, 0.026519775390625, 0.0222625732421875, -0.0036468505859375, -0.01389312744140625, -0.035614013671875, -0.049041748046875, 0.040069580078125, -0.00800323486328125, -0.01154327392578125, 0.0007686614990234375, 0.04083251953125, 0.005008697509765625, -0.0153045654296875, -0.0069122314453125, 0.01140594482421875, 0.0318603515625, -0.00193023681640625, 0.03143310546875, -0.00405120849609375, -0.01413726806640625, 0.06689453125, 0.0014314651489257812, 0.00725555419921875, -0.02117919921875, 0.050048828125, -0.034332275390625, -0.0254364013671875, 0.011016845703125, -0.0308837890625, 0.034027099609375, -0.03460693359375, -0.01666259765625, -0.0300750732421875, -0.006374359130859375, 0.0489501953125, 0.017425537109375, 0.055938720703125, -0.0304718017578125, -0.016937255859375, 0.000732421875, 0.035125732421875, -0.04205322265625, 0.0256195068359375, -0.0037593841552734375, -0.039154052734375, -0.04132080078125, 0.0157623291015625, -0.0809326171875, -0.007808685302734375, -0.0275421142578125, 0.0183258056640625, -0.0233917236328125, 0.01177215576171875, -0.058837890625, -0.002597808837890625, -0.004840850830078125, -0.0221099853515625, -0.029266357421875, -0.01537322998046875, -0.00634765625, 0.0265960693359375, 0.0211334228515625, 0.015838623046875, 0.036407470703125, 0.006717681884765625, -0.00713348388671875, -0.01357269287109375, -0.04736328125, 0.042266845703125, -0.046539306640625, -0.00228118896484375, 0.0277252197265625, -0.0275726318359375, 0.0237579345703125, 0.0225372314453125, 0.0185089111328125, 0.0203094482421875, -0.0210113525390625, 0.001705169677734375, 0.01068878173828125, 0.04620361328125, 0.043060302734375, -0.06463623046875, -0.01477813720703125, 0.0313720703125, -0.0013895034790039062, -0.04400634765625, 0.02008056640625, 0.049835205078125, 0.0654296875, -0.006397247314453125, -0.06298828125, -0.0172882080078125, -0.05780029296875, -0.024871826171875, 0.0286407470703125, -0.02008056640625, -0.037750244140625, -0.032806396484375, 0.0165252685546875, 0.046630859375, 0.01128387451171875, -0.023712158203125, 0.007266998291015625, -0.0308380126953125, -0.005382537841796875, 0.0037822723388671875, -0.050079345703125, 0.0246734619140625, 0.037017822265625, -0.06207275390625, -0.027130126953125, 0.0019044876098632812, -0.00238037109375, 0.0012426376342773438, -0.0242767333984375, -0.034515380859375, 0.0274810791015625, -0.0218048095703125, 0.050018310546875, -0.0238494873046875, -0.038177490234375, -0.032623291015625, 0.0026760101318359375, 0.062286376953125, 0.04132080078125, -0.0073699951171875, -0.0408935546875, -0.021240234375, -0.01284027099609375, 0.0233001708984375, -0.015655517578125, -0.00849151611328125, -0.01197052001953125, -0.0091552734375, 0.02911376953125, -0.0270843505859375, -0.008544921875, 0.0201873779296875, 0.0119781494140625, -0.01971435546875, 0.0662841796875, -0.010284423828125, 0.0199432373046875, -0.0017309188842773438, 0.0160369873046875, -0.01169586181640625, -0.01543426513671875, -0.01849365234375, -0.00441741943359375, -0.018951416015625, -0.044769287109375, -0.00702667236328125, 0.014495849609375, 0.0219573974609375, 0.035003662109375, 0.03497314453125, 0.011474609375, 0.0452880859375, -0.03057861328125, 0.0017671585083007812, -0.00911712646484375, 0.020172119140625, -0.056732177734375, -0.01256561279296875, 0.03619384765625, -0.04443359375, 0.023681640625, -0.01019287109375, -0.0032749176025390625, 0.026641845703125, -0.04071044921875, 0.0260467529296875, 0.059783935546875, -0.050872802734375, 0.033538818359375, 0.045623779296875, -0.0274658203125, 0.029449462890625, -0.01715087890625, -0.0035839080810546875, 0.0382080078125, 0.055084228515625, 0.029510498046875, -0.05975341796875, 0.056793212890625, 0.00920867919921875, -0.025665283203125, 0.03265380859375, -0.04205322265625, -0.00856781005859375, -0.01300811767578125, 0.044830322265625, 0.021331787109375, -0.0008082389831542969, 0.03839111328125, -0.01235198974609375, -0.0024547576904296875, 0.017822265625, 0.01165008544921875, 0.00731658935546875, 0.0159149169921875, -0.038848876953125, -0.0115966796875, 0.01328277587890625, -0.01435089111328125, 0.0158233642578125, 0.016357421875, 0.0225067138671875, -0.00433349609375, -0.0367431640625, -0.0689697265625, 0.037322998046875, -0.040191650390625, -0.0236663818359375, -0.00699615478515625, 0.01116180419921875, -0.0040283203125, -0.054840087890625, 0.02447509765625, -0.03167724609375, 0.0271453857421875, -0.006748199462890625, 0.02783203125, 0.01494598388671875, 0.0308837890625, -0.0009336471557617188, -0.00003325939178466797, 0.002410888671875, -0.0207061767578125, -0.0767822265625, -0.016357421875, 0.0177001953125, 0.020294189453125, -0.037872314453125, 0.0216217041015625, -0.044586181640625, 0.0028324127197265625, -0.007110595703125, -0.01904296875, -0.00209808349609375, 0.010040283203125, -0.0281524658203125, 0.037445068359375, 0.0240020751953125, -0.0167083740234375, 0.0030879974365234375, 0.00927734375, -0.048797607421875, -0.033111572265625, 0.010772705078125, -0.0296630859375, -0.017425537109375, -0.007274627685546875, -0.078857421875, 0.07720947265625, -0.01320648193359375, 0.039642333984375, -0.002117156982421875, 0.0091094970703125, -0.0018768310546875, -0.007022857666015625, -0.017486572265625, 0.0235137939453125, 0.0022296905517578125, 0.0005068778991699219, -0.0238189697265625, -0.00586700439453125, 0.00974273681640625, 0.048126220703125, 0.0316162109375, 0.00922393798828125, -0.036590576171875, -0.003448486328125, 0.05743408203125, 0.0026988983154296875, -0.00475311279296875, 0.05780029296875, -0.00798797607421875, -0.0272064208984375, 0.05126953125, -0.012359619140625, 0.0321044921875, -0.0290679931640625, 0.023773193359375, 0.007053375244140625, 0.01520538330078125, 0.006877899169921875, -0.026824951171875, 0.020782470703125, -0.0382080078125, -0.0141143798828125, 0.0296173095703125, -0.0257415771484375, 0.021759033203125, -0.01727294921875, -0.00199127197265625, 0.0032253265380859375, -0.02374267578125, -1.7881393432617188e-7, 0.017303466796875, 0.01006317138671875, 0.018798828125, 0.006130218505859375, 0.0025119781494140625, 0.037628173828125, 0.029205322265625, 0.0184783935546875, 0.02880859375, 0.01551055908203125, -0.006885528564453125, -0.0247955322265625, 0.021484375, -0.036102294921875, 0.03948974609375, 0.01971435546875, -0.0072784423828125, -0.0225067138671875, -0.024810791015625, 0.0103302001953125, -0.0252685546875, -0.0008034706115722656, -0.014862060546875, -0.02154541015625, -0.08685302734375, -0.037628173828125, -0.0501708984375, 0.033966064453125, 0.0531005859375, 0.031524658203125, 0.0106964111328125, 0.0228729248046875, -0.09942626953125, -0.004695892333984375, -0.036407470703125, -0.0148773193359375, 0.0257568359375, 0.0657958984375, 0.0168914794921875, 0.06475830078125, -0.044952392578125, -0.037689208984375, -0.007587432861328125, 0.027008056640625, -0.0003952980041503906, -0.00891876220703125, -0.0281219482421875, -0.050201416015625, 0.0037403106689453125, 0.028839111328125, 0.03717041015625, 0.005901336669921875, 0.056488037109375, 0.0286865234375, -0.04913330078125, -0.003620147705078125, 0.0016298294067382812, -0.0162506103515625, 0.041839599609375, -0.002574920654296875, 0.07159423828125, 0.033966064453125, 0.00400543212890625, -0.034027099609375, 0.07049560546875, 0.0251617431640625, -0.067626953125, 0.051300048828125, -0.01541900634765625, -0.0364990234375, 0.01800537109375, -0.01001739501953125, 0.06396484375, -0.024749755859375, -0.06365966796875, -0.0081939697265625, -0.011138916015625, -0.040435791015625, 0.0153045654296875, 0.0236663818359375, -0.06817626953125, 0.05975341796875, -0.05059814453125, -0.0113067626953125, 0.010406494140625, -0.0023517608642578125, 0.0029087066650390625, 0.0526123046875, 0.006557464599609375, 0.00968170166015625, 0.026947021484375, 0.028839111328125, 0.01059722900390625, 0.007152557373046875, 0.03643798828125, -0.0025482177734375, 0.0005059242248535156, 0.0330810546875, 0.007106781005859375, 0.0027904510498046875, -0.040191650390625, -0.007335662841796875, 0.04705810546875, -0.045989990234375, -0.0310516357421875, -0.0021648406982421875, -0.0021800994873046875, -0.00007224082946777344, 0.048004150390625, 0.0029964447021484375, 0.0035037994384765625, -0.0224151611328125, 0.03106689453125, -0.01348114013671875, 0.062042236328125, -0.00836181640625, -0.0323486328125, -0.090576171875, -0.0406494140625, 0.0516357421875, 0.0213165283203125, -0.0198516845703125, 0.01904296875, 0.024169921875, -0.017791748046875, 0.027801513671875, -0.02880859375, 0.05078125, 0.0290679931640625, -0.0298614501953125, -0.03070068359375, 0.026031494140625, 0.0037517547607421875, -0.01132965087890625, 0.0233001708984375, 0.0286102294921875, 0.0261993408203125, -0.041229248046875, 0.0000470280647277832, 0.0302276611328125, 0.03204345703125, 0.0030078887939453125, 0.0171356201171875, 0.0170440673828125, -0.03192138671875, -0.0211181640625, -0.01395416259765625, -0.034698486328125, -0.0809326171875, 0.0288543701171875, 0.01334381103515625, 0.000377655029296875, -0.01136016845703125, -0.0263519287109375, -0.00794219970703125, 0.0181121826171875, -0.004444122314453125, 0.005767822265625, -0.033416748046875, 0.004547119140625, 0.01509857177734375, 0.005443572998046875, -0.0843505859375, 0.004489898681640625, 0.00782012939453125, -0.01393890380859375, -0.0574951171875, -0.08673095703125, 0.0011339187622070312, -0.07403564453125, 0.024627685546875, 0.0229644775390625, -0.02630615234375, -0.01035308837890625, -0.00763702392578125, 0.024383544921875, 0.053863525390625, 0.0283966064453125, -0.045074462890625, -0.0011281967163085938, -0.009521484375, 0.0250091552734375, -0.05322265625, -0.007205963134765625, -0.04144287109375, -0.01486968994140625, -0.01971435546875, 0.0031490325927734375, 0.01617431640625, -0.0273284912109375, -0.0196533203125, 0.06561279296875, -0.0032215118408203125, -0.0207977294921875, -0.0273895263671875, 0.038421630859375, -0.02215576171875, 0.049224853515625, 0.013427734375, -0.0284271240234375, 0.026885986328125, 0.0290985107421875, 0.0055084228515625, 0.0187530517578125, -0.0046234130859375, -0.00890350341796875, -0.004146575927734375, 0.0167694091796875, 0.0215606689453125, -0.0103912353515625, 0.0499267578125, -0.03619384765625, 0.019439697265625, 0.0178985595703125, -0.06988525390625, -0.035614013671875, -0.037445068359375, 0.01178741455078125, -0.00983428955078125, 0.0225067138671875, -0.01507568359375, -0.02459716796875, 0.02471923828125, 0.04217529296875, 0.0030002593994140625, 0.0009241104125976562, 0.011199951171875, -0.021392822265625, -0.03558349609375, 0.009857177734375, 0.01195526123046875, -0.035247802734375, 0.01294708251953125, 0.00336456298828125, -0.0186309814453125, -0.03424072265625, 0.030975341796875, -0.05828857421875, -0.00003129243850708008, 0.00603485107421875, 0.0029811859130859375, -0.06011962890625, 0.0435791015625, 0.04498291015625, -0.038177490234375, -0.021881103515625, -0.0002014636993408203, -0.0109405517578125, 0.0134735107421875, -0.020477294921875, 0.025177001953125, 0.0017843246459960938, -0.01467132568359375, 0.009307861328125, 0.026763916015625, 0.02618408203125, 0.00033354759216308594, -0.02862548828125, -0.0271759033203125, 0.022613525390625, 0.01448822021484375, 0.007511138916015625, -0.006320953369140625, 0.0279083251953125, 0.0202178955078125, 0.0712890625, -0.0253753662109375, 0.0302276611328125, 0.0032711029052734375, -0.004108428955078125, -0.0341796875, 0.0242462158203125, 0.0028076171875, -0.031524658203125, 0.0182342529296875, -0.01071929931640625, 0.015777587890625, -0.006320953369140625, 0.006061553955078125, -0.02752685546875, -0.03369140625, 0.011962890625 ]
e946288ed9de90e96510259fed77a58dfc18d486
Wordpress Stackexchange Q: get post meta before it is updated (during SAVE_POST) Lets say I have custom field on post editor, and I change value from AAA to ZZZ.. : add_action('save_post', function($post){ $value = get_post_meta($post->ID, 'mykey'); } , 1); How to get the old value (AAA) of that meta-key? during save_post (even earlier 1st priority), I get ZZZ A: save_post Runs whenever a post or page is created or updated, which could be from an import, post/page edit form, xmlrpc, or post by email. Action function arguments: post ID and post object. Runs after the data is saved to the database. above paragraph is quoted from WP Codex. so you cannot use this hook to get older value because it fires after saving new values to DB. WP has another action hook named wp_insert_postbut sadly this hook does same thing as save_post alternatively you can use Filters to get the job done. WP provides few filter to edit the post while saving or before saving to DB. like wp_insert_post_data & content_save_pre might work for you, i think. Update here is another discussionon this topic which might be helpful for you.
Q: get post meta before it is updated (during SAVE_POST) Lets say I have custom field on post editor, and I change value from AAA to ZZZ.. : add_action('save_post', function($post){ $value = get_post_meta($post->ID, 'mykey'); } , 1); How to get the old value (AAA) of that meta-key? during save_post (even earlier 1st priority), I get ZZZ A: save_post Runs whenever a post or page is created or updated, which could be from an import, post/page edit form, xmlrpc, or post by email. Action function arguments: post ID and post object. Runs after the data is saved to the database. above paragraph is quoted from WP Codex. so you cannot use this hook to get older value because it fires after saving new values to DB. WP has another action hook named wp_insert_postbut sadly this hook does same thing as save_post alternatively you can use Filters to get the job done. WP provides few filter to edit the post while saving or before saving to DB. like wp_insert_post_data & content_save_pre might work for you, i think. Update here is another discussionon this topic which might be helpful for you. A: The trick I did was: 1) Created a hidden meta box, where I inserted input, with value of current_meta_value 2) during save_post i checked it against to new_meta_value. that was all. A: This might be against the WordPress-rules or something. But I got this working: add_action( 'save_post', 'wp258055_save_post_callback' ); function wp258055_save_post_callback( $post_id ){ $value_in_db = get_post_meta( $post_id, 'mykey', true ); $value_about_to_be_saved = $_POST['mykey']; }
wordpress
{ "language": "en", "length": 253, "provenance": "stackexchange_00019.jsonl.gz:473646", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258055" }
[ -0.00624847412109375, -0.0213470458984375, 0.01641845703125, 0.0025577545166015625, -0.02197265625, -0.011688232421875, 0.0264129638671875, -0.0312042236328125, 0.0316162109375, 0.005340576171875, -0.032012939453125, -0.013427734375, -0.0021190643310546875, -0.024200439453125, -0.00014579296112060547, -0.0162506103515625, 0.051910400390625, -0.007373809814453125, 0.06842041015625, 0.01120758056640625, 0.0012922286987304688, 0.0312347412109375, 0.0699462890625, 0.0310211181640625, 0.03179931640625, -0.0215301513671875, 0.03485107421875, 0.000049948692321777344, 0.0222625732421875, 0.0015964508056640625, 0.029693603515625, -0.03021240234375, -0.0006928443908691406, 0.006557464599609375, 0.0246429443359375, -0.00988006591796875, 0.0198516845703125, 0.011566162109375, 0.0382080078125, 0.0017747879028320312, 0.01367950439453125, 0.00489044189453125, -0.0298309326171875, 0.0096893310546875, -0.028289794921875, -0.060760498046875, 0.0211944580078125, -0.00970458984375, 0.01496124267578125, 0.00635528564453125, -0.020538330078125, -0.006649017333984375, -0.0182342529296875, 0.0227813720703125, -0.01309967041015625, -0.033721923828125, -0.060394287109375, 0.025299072265625, 0.05596923828125, 0.0251312255859375, -0.01251220703125, -0.04608154296875, 0.0018758773803710938, -0.049835205078125, -0.0012683868408203125, 0.00939178466796875, 0.021942138671875, -0.0009870529174804688, -0.05694580078125, -0.0009937286376953125, 0.03546142578125, -0.050994873046875, -0.0044403076171875, -0.029296875, 0.031524658203125, -0.01506805419921875, 0.0200653076171875, 0.004756927490234375, -0.030181884765625, 0.032501220703125, 0.03900146484375, -0.0018854141235351562, 0.027923583984375, -0.029327392578125, -0.006744384765625, -0.046234130859375, 0.00011670589447021484, 0.0021762847900390625, -0.044464111328125, -0.057037353515625, -0.0293426513671875, -0.0114593505859375, -0.0496826171875, -0.043365478515625, -0.031219482421875, -0.035369873046875, -0.00482940673828125, 0.0341796875, -0.04705810546875, 0.007503509521484375, -0.0285186767578125, -0.00946807861328125, 0.01013946533203125, -0.03338623046875, -0.0025806427001953125, 0.018829345703125, 0.004474639892578125, -0.056610107421875, -0.0098114013671875, 0.0230865478515625, -0.0221405029296875, 0.00286865234375, -0.01129150390625, -0.004451751708984375, -0.029144287109375, 0.045867919921875, -0.0131378173828125, -0.011505126953125, -0.0103302001953125, 0.023651123046875, 0.025054931640625, 0.046905517578125, 0.0264892578125, -0.0794677734375, 0.048431396484375, 0.015289306640625, -0.048736572265625, -0.02880859375, -0.0268096923828125, 0.033905029296875, -0.0189208984375, -0.0228424072265625, 0.058990478515625, 0.058074951171875, 0.02813720703125, -0.029388427734375, 0.00203704833984375, -0.056854248046875, -0.0237274169921875, 0.043792724609375, -0.06695556640625, -0.04827880859375, 0.01241302490234375, -0.047637939453125, -0.01031494140625, 0.00537109375, -0.0032672882080078125, 0.0229644775390625, 0.005794525146484375, -0.0272674560546875, -0.0023555755615234375, -0.037384033203125, 0.0190887451171875, 0.0161285400390625, -0.022674560546875, 0.00820159912109375, 0.0165863037109375, -0.0247344970703125, -0.02423095703125, -0.037384033203125, -0.0178375244140625, -0.01386260986328125, 0.0067596435546875, -0.0307159423828125, -0.034332275390625, 0.00955963134765625, -0.01097869873046875, -0.005901336669921875, 0.0274505615234375, 0.0516357421875, 0.046112060546875, 0.035858154296875, 0.0240325927734375, -0.01010894775390625, -0.0248870849609375, -0.0404052734375, -0.01102447509765625, 0.024688720703125, 0.02874755859375, 0.0027923583984375, -0.0089263916015625, -0.0255584716796875, 0.036865234375, 0.01248931884765625, -0.025177001953125, 0.0343017578125, 0.0064239501953125, 0.04888916015625, -0.0007038116455078125, 0.0146331787109375, 0.0029659271240234375, 0.01556396484375, -0.030731201171875, 0.019744873046875, 0.007904052734375, 0.0179901123046875, -0.0068817138671875, 0.033294677734375, -0.0035610198974609375, -0.064697265625, -0.004444122314453125, -0.0010652542114257812, -0.01120758056640625, 0.00769805908203125, -0.09515380859375, -0.011627197265625, -0.0267791748046875, 0.0389404296875, -0.03936767578125, 0.005382537841796875, 0.03045654296875, -0.0382080078125, -0.01198577880859375, 0.016326904296875, 0.0088348388671875, -0.006649017333984375, -0.06878662109375, -0.0167083740234375, -0.033721923828125, 0.043182373046875, -0.040863037109375, -0.0018224716186523438, -0.061798095703125, -0.047760009765625, 0.007183074951171875, -0.01465606689453125, -0.004138946533203125, -0.0001842975616455078, 0.007476806640625, 0.0213470458984375, -0.006580352783203125, 0.00704193115234375, -0.0017786026000976562, -0.0285186767578125, -0.05706787109375, -0.0156707763671875, -0.0496826171875, -0.078369140625, -0.0013895034790039062, 0.077392578125, 0.021453857421875, 0.01666259765625, 0.0020656585693359375, 0.027191162109375, 0.0064544677734375, -0.016845703125, 0.02020263671875, -0.0047149658203125, 0.0151824951171875, 0.066162109375, -0.01837158203125, 0.0180511474609375, 0.004047393798828125, -0.03619384765625, 0.017486572265625, 0.042144775390625, -0.0325927734375, 0.0006585121154785156, -0.0202484130859375, -0.005466461181640625, 0.00007921457290649414, -0.062103271484375, -0.02984619140625, -0.024322509765625, 0.0526123046875, 0.00426483154296875, 0.06072998046875, 0.040313720703125, -0.011199951171875, -0.00897216796875, 0.003765106201171875, 0.0213165283203125, 0.02276611328125, 0.0225067138671875, -0.035491943359375, 0.04266357421875, -0.01033782958984375, -0.01033782958984375, 0.021514892578125, 0.03265380859375, -0.0065765380859375, 0.041259765625, 0.00814056396484375, -0.01090240478515625, -0.006938934326171875, -0.035430908203125, -0.0028247833251953125, -0.0160980224609375, 0.0073394775390625, -0.0127105712890625, 0.0208282470703125, 0.00994873046875, -0.02734375, 0.02886962890625, 0.0015420913696289062, -0.032196044921875, -0.0267791748046875, -0.020538330078125, 0.032257080078125, -0.002567291259765625, 0.0210723876953125, 0.07269287109375, -0.009979248046875, 0.03631591796875, -0.020263671875, -0.004421234130859375, -0.0270538330078125, 0.01525115966796875, -0.01496124267578125, -0.064208984375, -0.010955810546875, 0.01180267333984375, 0.0208282470703125, 0.03289794921875, -0.0022945404052734375, -0.044219970703125, 0.0037593841552734375, 0.009796142578125, -0.10174560546875, -0.1064453125, -0.01776123046875, -0.07452392578125, -0.03643798828125, -0.026611328125, -0.057708740234375, 0.018402099609375, -0.00914764404296875, 0.01419830322265625, -0.0220947265625, -0.0117034912109375, -0.04278564453125, -0.05316162109375, -0.0621337890625, -0.01323699951171875, -0.0024242401123046875, 0.0063934326171875, 0.0034008026123046875, 0.0771484375, 0.0088958740234375, -0.049896240234375, -0.0080108642578125, -0.04986572265625, -0.041168212890625, -0.016326904296875, 0.0110321044921875, -0.05328369140625, 0.017791748046875, -0.00034689903259277344, 0.006374359130859375, 0.005031585693359375, 0.004367828369140625, -0.007480621337890625, -0.01837158203125, -0.01421356201171875, 0.031524658203125, 0.0142974853515625, 0.0065460205078125, 0.02783203125, 0.0777587890625, -0.0186309814453125, -0.025634765625, -0.01520538330078125, -0.04180908203125, 0.0012254714965820312, 0.00847625732421875, 0.01233673095703125, -0.0272216796875, 0.0294647216796875, -0.03692626953125, -0.0080108642578125, 0.0285491943359375, -0.0283660888671875, 0.03204345703125, -0.03472900390625, -0.056671142578125, -0.0166015625, 0.01274871826171875, -0.01265716552734375, 0.018585205078125, 0.00499725341796875, 0.007625579833984375, 0.0038547515869140625, -0.0037593841552734375, 0.0003216266632080078, -0.031005859375, 0.0310211181640625, -0.0362548828125, 0.060394287109375, -0.07415771484375, -0.0312042236328125, -0.046295166015625, 0.10174560546875, -0.0012254714965820312, -0.01519012451171875, 0.0024356842041015625, 0.01428985595703125, -0.013153076171875, -0.028533935546875, -0.026092529296875, -0.0032787322998046875, -0.056121826171875, -0.0005145072937011719, 0.008056640625, -0.03179931640625, -0.0119476318359375, 0.04827880859375, -0.039886474609375, -0.008087158203125, 0.047210693359375, -0.039031982421875, 0.0058441162109375, 0.032745361328125, 0.00958251953125, -0.0159149169921875, -0.035858154296875, 0.0024280548095703125, -0.040069580078125, -0.0025196075439453125, -0.0253753662109375, 0.048980712890625, 0.0225067138671875, 0.00726318359375, 0.016448974609375, 0.0318603515625, 0.0259552001953125, 0.035247802734375, -0.0206756591796875, -0.005619049072265625, 0.0036640167236328125, -0.0633544921875, -0.004730224609375, -0.041351318359375, -0.00732421875, -0.0293731689453125, -0.0116729736328125, -0.0211181640625, -0.055419921875, -0.023040771484375, -0.030181884765625, -0.005706787109375, -0.03753662109375, -0.0278778076171875, -0.018310546875, -0.0026454925537109375, -0.0252838134765625, 0.0034732818603515625, -0.0307159423828125, -0.0533447265625, 0.038787841796875, -0.005664825439453125, 0.01056671142578125, -0.00250244140625, 0.08868408203125, 0.016265869140625, -0.0091400146484375, 0.007572174072265625, 0.0107574462890625, 0.0300140380859375, -0.0067138671875, 0.004619598388671875, -0.016876220703125, -0.015838623046875, 0.04656982421875, -0.006561279296875, 0.006763458251953125, -0.056549072265625, 0.06634521484375, -0.007076263427734375, 0.01467132568359375, -0.01213836669921875, -0.0321044921875, 0.038482666015625, 0.0161590576171875, -0.0049285888671875, -0.0216064453125, -0.0125732421875, 0.03900146484375, -0.01287841796875, 0.034149169921875, -0.04107666015625, -0.0114898681640625, -0.000988006591796875, -0.0029201507568359375, 0.0191802978515625, 0.0455322265625, -0.007678985595703125, 0.00722503662109375, 0.00962066650390625, -0.023590087890625, -0.037628173828125, -0.00948333740234375, -0.0309295654296875, -0.00556182861328125, -0.034698486328125, -0.048309326171875, -0.01348876953125, 0.00801849365234375, -0.0003097057342529297, -0.0253448486328125, -0.0426025390625, -0.0298614501953125, -0.0199127197265625, 0.0243682861328125, 0.035430908203125, -0.0129547119140625, 0.0384521484375, 0.039398193359375, -0.0423583984375, -0.031707763671875, -0.0078125, -0.00444793701171875, -0.072265625, -0.0023975372314453125, 0.01031494140625, -0.0121002197265625, -0.000012874603271484375, 0.051666259765625, -0.005035400390625, 0.00571441650390625, -0.01172637939453125, 0.06427001953125, 0.03466796875, 0.036956787109375, 0.01337432861328125, -0.01264190673828125, -0.0036983489990234375, 0.0032863616943359375, -0.0258941650390625, -0.0323486328125, 0.005107879638671875, 0.0009675025939941406, 0.0235748291015625, -0.00386810302734375, -0.02081298828125, 0.03936767578125, -0.0117645263671875, -0.0171356201171875, 0.032745361328125, 0.015655517578125, -0.050750732421875, 0.0026645660400390625, 0.0151519775390625, 0.000732421875, -0.0169830322265625, 0.0233001708984375, 0.00774383544921875, 0.006977081298828125, 0.05169677734375, -0.07733154296875, 0.04254150390625, -0.0251617431640625, -0.0295867919921875, 0.00734710693359375, -0.01552581787109375, -0.0306854248046875, 0.037078857421875, -0.00004363059997558594, -0.02825927734375, -0.0254058837890625, 0.074951171875, -0.010406494140625, 0.0171051025390625, -0.027313232421875, -0.003490447998046875, 0.0175933837890625, 0.00814056396484375, 0.03143310546875, -0.0089874267578125, 0.03460693359375, -0.007701873779296875, -0.033935546875, -0.031890869140625, 0.031463623046875, -0.03057861328125, -0.00994110107421875, -0.0361328125, -0.017120361328125, 0.0253753662109375, -0.00572967529296875, 0.007274627685546875, 0.0157318115234375, 0.0095977783203125, -0.009307861328125, 0.044891357421875, 0.007648468017578125, 0.0811767578125, -0.047454833984375, 0.0592041015625, 0.0209808349609375, 0.0256805419921875, -0.047332763671875, -0.005054473876953125, 0.004886627197265625, -0.0204315185546875, -0.010711669921875, -0.0102996826171875, 0.0007572174072265625, -0.02386474609375, -0.00354766845703125, -0.01543426513671875, 0.007152557373046875, 0.0006694793701171875, 0.006717681884765625, -0.02264404296875, 0.00628662109375, -0.002300262451171875, -0.01611328125, 0.05322265625, -0.054290771484375, -0.05059814453125, 0.002506256103515625, 0.020233154296875, 0.04632568359375, -0.0355224609375, 0.0086517333984375, 0.03466796875, -0.00823211669921875, 0.0252838134765625, 0.0823974609375, 0.0418701171875, 0.050689697265625, -0.0059967041015625, 0.0276947021484375, 0.005657196044921875, -0.0031032562255859375, -0.010894775390625, 0.009735107421875, 0.06280517578125, 0.01366424560546875, -0.00742340087890625, 0.05517578125, -0.023712158203125, 0.0394287109375, 0.0211639404296875, 0.074951171875, -0.0223236083984375, 0.02264404296875, 0.044464111328125, -0.0560302734375, 0.00434112548828125, 0.0262603759765625, -0.03961181640625, -0.019500732421875, 0.01195526123046875, -0.04010009765625, -0.01226806640625, 0.0218963623046875, 0.02410888671875, -0.0058746337890625, -0.0411376953125, -0.01055145263671875, -0.01136016845703125, 0.013427734375, 0.02020263671875, 0.004367828369140625, 0.011566162109375, -0.04803466796875, 0.018402099609375, -0.00701904296875, -0.025970458984375, -0.09490966796875, -0.019561767578125, 0.0235443115234375, -0.0123443603515625, -0.01422119140625, 0.025146484375, 0.058441162109375, 0.0284423828125, 0.0258941650390625, -0.028900146484375, -0.00856781005859375, 0.03240966796875, -0.055694580078125, -0.049041748046875, 0.007755279541015625, 0.05157470703125, -0.01439666748046875, 0.031524658203125, 0.01824951171875, -0.048828125, 0.00901031494140625, 0.020751953125, 0.05078125, -0.03924560546875, -0.014556884765625, 0.029571533203125, 0.01306915283203125, -0.00904083251953125, 0.015106201171875, -0.0013866424560546875, -0.017059326171875, 0.004947662353515625, -0.0003495216369628906, -0.03997802734375, -0.01366424560546875, -0.00033974647521972656, -0.0992431640625, 0.07476806640625, 0.0355224609375, 0.034027099609375, -0.027679443359375, 0.0303802490234375, -0.041290283203125, -0.0216064453125, -0.077392578125, 0.08074951171875, 0.00377655029296875, 0.039337158203125, -0.1260986328125, -0.0072784423828125, -0.0303955078125, 0.01605224609375, 0.052642822265625, 0.0185089111328125, -0.0396728515625, -0.01084136962890625, 0.0099334716796875, 0.0193023681640625, -0.020751953125, 0.046783447265625, 0.003589630126953125, 0.041961669921875, 0.06988525390625, -0.06280517578125, 0.0235137939453125, 0.006683349609375, -0.01261138916015625, 0.0248870849609375, 0.0021209716796875, -0.01354217529296875, -0.017547607421875, 0.021026611328125, 0.0005207061767578125, -0.008819580078125, -0.00864410400390625, 0.002655029296875, 0.032257080078125, 0.0120697021484375, 0.03314208984375, -0.0238494873046875, 0.00711822509765625, -0.026458740234375, 0.04248046875, -0.0013074874877929688, 0.0021190643310546875, 0.038726806640625, 0.020294189453125, 0.0262298583984375, 0.01371002197265625, -0.0009531974792480469, 0.0180816650390625, 0.02252197265625, 0.0836181640625, 0.043426513671875, 0.0194549560546875, -0.00858306884765625, 0.044677734375, 0.0258026123046875, 0.06597900390625, -0.06683349609375, -0.0115814208984375, 0.0027713775634765625, -0.007171630859375, 0.0005168914794921875, -0.0188751220703125, 0.01467132568359375, 0.01690673828125, 0.0180816650390625, -0.0338134765625, -0.02069091796875, 0.0308380126953125, 0.057769775390625, 0.005886077880859375, 0.029022216796875, -0.047637939453125, -0.05816650390625, -0.07647705078125, 0.013519287109375, 0.037261962890625, 0.0679931640625, 0.03985595703125, 0.052764892578125, 0.06353759765625, -0.02996826171875, -0.02203369140625, 0.01430511474609375, -0.016754150390625, 0.037261962890625, -0.03131103515625, -0.0193023681640625, 0.0104217529296875, 0.03564453125, 0.0111846923828125, 0.07373046875, 0.05999755859375, 0.026824951171875, -0.042388916015625, 0.01190185546875, 0.05322265625, -0.0408935546875, 0.0263214111328125, -0.0794677734375, 0.0595703125, -0.01369476318359375, 0.0035381317138671875, -0.01024627685546875, 0.0135650634765625, 0.026611328125, 0.002960205078125, 0.04296875, 0.0005459785461425781, 0.034576416015625, 0.046142578125, 0.006343841552734375, 0.015380859375, 0.04119873046875, -0.0261383056640625, 0.01509857177734375, -0.058746337890625, -0.032623291015625, 0.0186614990234375, 0.02520751953125, -0.02227783203125, 0.04315185546875, -0.0052032470703125, -0.0233306884765625, 0.032073974609375, 0.01270294189453125, -0.0018863677978515625, 0.02252197265625, 0.0225830078125, -0.005649566650390625, -0.0273895263671875, -0.0172271728515625, 0.0300140380859375, 0.023651123046875, -0.032684326171875, 0.005184173583984375, 0.0176849365234375, -0.003398895263671875, -0.01751708984375, 0.01215362548828125, -0.022735595703125, -0.0034809112548828125, -0.01502227783203125, -0.00038051605224609375, 0.032257080078125, 0.005947113037109375, -0.00719451904296875, -0.006656646728515625, 0.052978515625, -0.0078887939453125, -0.018463134765625, -0.0112457275390625, 0.0350341796875, 0.001453399658203125, 0.0028400421142578125, -0.02606201171875, -0.00014960765838623047, -0.0081939697265625, -0.0180816650390625, 0.0305328369140625, 0.00070953369140625, 0.0015535354614257812, 0.01078033447265625, 0.0234832763671875, -0.00026226043701171875, 0.0254669189453125, 0.00782012939453125, 0.035400390625, 0.033355712890625, -0.036224365234375, 0.045684814453125, 0.02239990234375, -0.02587890625, 0.052093505859375, 0.0106658935546875, -0.002033233642578125, 0.0107574462890625, -0.00797271728515625, -0.0226898193359375, 0.0008912086486816406, 0.03936767578125, 0.00830841064453125, 0.01486968994140625, -0.0123443603515625, 0.00998687744140625, -0.014862060546875, -0.057037353515625, -0.039642333984375, -0.050994873046875, 0.0019121170043945312, 0.0218048095703125, -0.0270233154296875, -0.0416259765625, -0.045074462890625, -0.0006017684936523438, 0.04559326171875, 0.0138092041015625, -0.037017822265625, 0.02655029296875, -0.037750244140625, 0.00748443603515625, 0.01374053955078125, -0.0439453125, 0.00783538818359375, 0.058319091796875, -0.0054168701171875, -0.03515625, -0.02777099609375, 0.0194549560546875, -0.024627685546875, -0.004932403564453125, -0.002964019775390625, -0.0085296630859375, -0.0308685302734375, -0.007350921630859375, -0.0022335052490234375, 0.024932861328125, 0.017730712890625, 0.00006467103958129883, 0.027374267578125, 0.01302337646484375, -0.0222930908203125, -0.07891845703125, -0.0016679763793945312, -0.057525634765625, 0.02008056640625, -0.036529541015625, 0.02178955078125, 0.04046630859375, -0.01557159423828125, -0.04327392578125, 0.01549530029296875, -0.01348114013671875, -0.0227508544921875, -0.0018186569213867188, -0.023345947265625, -0.002048492431640625, 0.01236724853515625, 0.003887176513671875, -0.0380859375, -0.034759521484375, 0.0103302001953125, 0.0089569091796875, -0.00281524658203125, 0.02325439453125, -0.01059722900390625, -0.08868408203125, -0.01666259765625, -0.032012939453125, 0.0113372802734375, -0.0128326416015625, -0.00992584228515625, 0.021514892578125, 0.0164337158203125, -0.0518798828125, 0.00806427001953125, 0.017730712890625, 0.028839111328125, -0.0283966064453125, -0.036773681640625, -0.018951416015625, -0.002010345458984375, 0.11029052734375, 0.04132080078125, 0.0243988037109375, -0.058624267578125, 0.048736572265625, -0.00449371337890625, -0.049285888671875, 0.00838470458984375, 0.0229339599609375, -0.0330810546875, -0.004364013671875, 0.00954437255859375, 0.007312774658203125, -0.0211029052734375, -0.01702880859375, -0.0026035308837890625, -0.01153564453125, 0.03594970703125, 0.0011157989501953125, -0.0076751708984375, -0.02569580078125, 0.061004638671875, -0.0275115966796875, 0.023681640625, 0.03204345703125, 0.00384521484375, 0.046966552734375, 0.0726318359375, 0.0175323486328125, 0.00928497314453125, -0.0293121337890625, -0.009765625, 0.017547607421875, -0.0031642913818359375, 0.00765228271484375, -0.0352783203125, -0.00984954833984375, -0.000873565673828125, -0.00746917724609375, 0.002780914306640625, 0.0211334228515625, -0.0274810791015625, -0.01232147216796875, 0.0484619140625, -0.01910400390625, 0.0250244140625, -0.01337432861328125, 0.033172607421875, -0.0164642333984375, -0.00926971435546875, 0.01306915283203125, -0.020172119140625, 0.006488800048828125, -0.00745391845703125, 0.008636474609375, -0.0269622802734375, 0.02655029296875, -0.006256103515625, -0.0048065185546875, 0.021453857421875 ]
8eb1509b08dbcea9887a8f8361d99c89bca384ed
Wordpress Stackexchange Q: What is the right hook to use in WooCommerce for handling the post of the sale price? For a plugin for WooCommerce I need to find the hook which can be used to handle some additional actions when the sale price of a product is added or changed. When I experiment with 'transition_post_status' somehow the initial sale price seems to be invisible, so I can't detect the change. A: You can use "save_post" hook to detect whether the sales price is modified or added. Thanks,
Q: What is the right hook to use in WooCommerce for handling the post of the sale price? For a plugin for WooCommerce I need to find the hook which can be used to handle some additional actions when the sale price of a product is added or changed. When I experiment with 'transition_post_status' somehow the initial sale price seems to be invisible, so I can't detect the change. A: You can use "save_post" hook to detect whether the sales price is modified or added. Thanks,
wordpress
{ "language": "en", "length": 86, "provenance": "stackexchange_00019.jsonl.gz:473656", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258097" }
[ 0.016357421875, 0.002727508544921875, -0.018341064453125, 0.02288818359375, -0.0125885009765625, -0.031036376953125, 0.04290771484375, -0.0226898193359375, -0.00797271728515625, 0.04266357421875, -0.01300811767578125, 0.01213836669921875, -0.0073699951171875, -0.0018148422241210938, -0.0228424072265625, -0.006023406982421875, 0.035919189453125, -0.0135040283203125, 0.043914794921875, 0.01263427734375, -0.04083251953125, 0.045440673828125, 0.07281494140625, -0.0114898681640625, 0.044647216796875, -0.0135040283203125, 0.044158935546875, -0.04595947265625, 0.08233642578125, 0.0213470458984375, 0.04364013671875, -0.0826416015625, 0.01316070556640625, 0.0095062255859375, -0.0014896392822265625, 0.046539306640625, 0.0250701904296875, 0.0098876953125, 0.03125, 0.00469207763671875, 0.044036865234375, -0.0181884765625, -0.01415252685546875, 0.004344940185546875, -0.0111236572265625, -0.03741455078125, 0.022857666015625, -0.03411865234375, 0.05755615234375, -0.020904541015625, 0.0036182403564453125, -0.007183074951171875, 0.0030994415283203125, -0.0016927719116210938, -0.035919189453125, -0.0189208984375, -0.02984619140625, 0.01416015625, 0.017303466796875, 0.038177490234375, -0.0032291412353515625, 0.01091766357421875, -0.0098114013671875, -0.0292205810546875, -0.0016307830810546875, -0.0027866363525390625, -0.0276641845703125, 0.0174713134765625, -0.02655029296875, 0.0012388229370117188, 0.027099609375, -0.033721923828125, -0.01128387451171875, 0.02301025390625, -0.0067291259765625, -0.07781982421875, 0.045196533203125, -0.031982421875, -0.003406524658203125, 0.04437255859375, -0.01486968994140625, -0.00476837158203125, -0.00563812255859375, -0.047454833984375, 0.00936126708984375, -0.037445068359375, -0.00830841064453125, 0.0202178955078125, -0.06298828125, -0.03826904296875, -0.039337158203125, 0.00936126708984375, -0.05535888671875, -0.0400390625, -0.035369873046875, -0.019622802734375, -0.0164337158203125, -0.00713348388671875, -0.007320404052734375, 0.005451202392578125, 0.0136260986328125, -0.037261962890625, 0.0016660690307617188, -0.007747650146484375, 0.001827239990234375, 0.03546142578125, 0.0158233642578125, 0.00861358642578125, 0.023284912109375, 0.005092620849609375, -0.01849365234375, 0.03057861328125, 0.00933837890625, -0.039337158203125, 0.004535675048828125, 0.0101165771484375, -0.031158447265625, 0.049957275390625, 0.0187530517578125, 0.00704193115234375, 0.01427459716796875, 0.0225372314453125, 0.032745361328125, -0.02398681640625, -0.0123138427734375, -0.007843017578125, -0.026611328125, -0.054534912109375, -0.003650665283203125, 0.0199432373046875, -0.004795074462890625, -0.007282257080078125, 0.05303955078125, 0.040130615234375, 0.0049285888671875, -0.0164794921875, 0.0304107666015625, 0.035186767578125, -0.01953125, 0.0016956329345703125, 0.01180267333984375, -0.024627685546875, -0.048492431640625, -0.00009423494338989258, 0.07281494140625, -0.015899658203125, -0.00959014892578125, 0.0301971435546875, 0.0389404296875, 0.045257568359375, 0.035919189453125, -0.030029296875, 0.024566650390625, 0.003276824951171875, 0.013275146484375, 0.0031566619873046875, 0.054229736328125, -0.0262451171875, -0.0124359130859375, -0.03607177734375, 0.00388336181640625, -0.037384033203125, -0.00876617431640625, -0.0433349609375, -0.0777587890625, 0.049957275390625, -0.043365478515625, -0.01543426513671875, 0.0187530517578125, 0.0013675689697265625, 0.01171112060546875, 0.0146026611328125, -0.00017690658569335938, -0.0162200927734375, -0.010467529296875, -0.01116943359375, -0.038421630859375, 0.038360595703125, 0.049072265625, -0.035736083984375, -0.02178955078125, -0.0277099609375, 0.07373046875, -0.00568389892578125, -0.04461669921875, 0.034027099609375, 0.010406494140625, 0.02520751953125, -0.0229339599609375, -0.0028533935546875, 0.0595703125, 0.046722412109375, -0.0323486328125, 0.04046630859375, -0.0107574462890625, -0.0250396728515625, 0.01177215576171875, 0.0023479461669921875, -0.0081329345703125, -0.01971435546875, -0.032958984375, 0.04034423828125, -0.02777099609375, 0.039520263671875, 0.0027828216552734375, 0.01708984375, -0.00675201416015625, 0.029083251953125, -0.016510009765625, 0.01070404052734375, 0.02569580078125, 0.0022373199462890625, -0.048492431640625, 0.015045166015625, -0.00760650634765625, -0.035430908203125, -0.0408935546875, 0.054473876953125, 0.00853729248046875, 0.047149658203125, 0.031463623046875, -0.04168701171875, 0.0186767578125, 0.006443023681640625, 0.0073699951171875, 0.033294677734375, -0.0218505859375, 0.0157623291015625, 0.020843505859375, 0.036834716796875, -0.00400543212890625, -0.029815673828125, 0.00037026405334472656, -0.03363037109375, -0.0164947509765625, 0.01348114013671875, 0.021820068359375, -0.07904052734375, 0.00042176246643066406, 0.049713134765625, 0.0230712890625, 0.0256805419921875, -0.021820068359375, -0.0169525146484375, 0.0623779296875, 0.004085540771484375, 0.01064300537109375, -0.007663726806640625, 0.0078582763671875, 0.04144287109375, 0.003173828125, 0.0106201171875, 0.01092529296875, -0.01190185546875, 0.0028285980224609375, 0.025848388671875, -0.0271148681640625, -0.0178070068359375, 0.0015239715576171875, -0.003925323486328125, -0.00341033935546875, -0.036895751953125, -0.001461029052734375, -0.0252532958984375, 0.0222930908203125, -0.01251983642578125, 0.0290069580078125, 0.00508880615234375, -0.0022945404052734375, -0.00579833984375, 0.0032558441162109375, -0.046905517578125, 0.005191802978515625, -0.004543304443359375, -0.052520751953125, -0.014373779296875, -0.030487060546875, 0.017364501953125, 0.034759521484375, -0.031005859375, -0.014251708984375, 0.01100921630859375, -0.0231475830078125, 0.0009450912475585938, -0.0241546630859375, -0.053924560546875, 0.015777587890625, 0.0234222412109375, 0.0219879150390625, -0.018768310546875, 0.0116424560546875, 0.0266265869140625, -0.038665771484375, 0.0732421875, -0.0133056640625, -0.0364990234375, -0.03564453125, -0.02740478515625, 0.0264434814453125, -0.031768798828125, -0.0124359130859375, 0.055511474609375, 0.01151275634765625, -0.0194854736328125, 0.0177154541015625, -0.037567138671875, 0.0311737060546875, -0.00028395652770996094, -0.0222625732421875, 0.0179290771484375, -0.09381103515625, -0.0011138916015625, 0.0013408660888671875, 0.09442138671875, -0.0794677734375, -0.08734130859375, -0.01303863525390625, -0.003009796142578125, -0.07379150390625, -0.046875, -0.058502197265625, -0.0987548828125, -0.0035915374755859375, 0.01038360595703125, -0.0411376953125, 0.01171112060546875, 0.0543212890625, 0.018310546875, -0.07073974609375, 0.01171875, -0.0158538818359375, -0.049835205078125, -0.032989501953125, 0.0237884521484375, -0.0031642913818359375, 0.0284881591796875, -0.0020542144775390625, 0.0277252197265625, -0.0014734268188476562, -0.051727294921875, -0.0008063316345214844, 0.0204010009765625, -0.0325927734375, -0.0069732666015625, -0.01788330078125, -0.0026092529296875, 0.0133514404296875, -0.00510406494140625, 0.0022945404052734375, 0.0165863037109375, -0.019439697265625, -0.0018033981323242188, -0.0306549072265625, -0.01293182373046875, -0.03411865234375, 0.046905517578125, 0.039642333984375, -0.04193115234375, -0.00852203369140625, -0.06793212890625, -0.0227508544921875, -0.044342041015625, -0.07012939453125, -0.003345489501953125, 0.05316162109375, 0.0220947265625, -0.035125732421875, 0.0004611015319824219, -0.01275634765625, -0.0025577545166015625, 0.037109375, -0.03143310546875, 0.01461029052734375, -0.0243072509765625, -0.038787841796875, -0.03521728515625, -0.03619384765625, -0.0307464599609375, 0.0316162109375, -0.02239990234375, 0.007633209228515625, -0.0302276611328125, 0.0491943359375, -0.03350830078125, -0.03570556640625, 0.054901123046875, -0.0005755424499511719, 0.032012939453125, -0.046966552734375, -0.04071044921875, -0.035614013671875, 0.0877685546875, -0.0472412109375, -0.0287628173828125, -0.0283050537109375, -0.00304412841796875, 0.0009222030639648438, 0.01001739501953125, -0.0187225341796875, -0.020904541015625, -0.040069580078125, -0.0016527175903320312, 0.002193450927734375, -0.01715087890625, -0.01336669921875, 0.033294677734375, -0.043701171875, -0.0200958251953125, 0.05206298828125, -0.0523681640625, 0.0294952392578125, 0.03472900390625, 0.007289886474609375, 0.002593994140625, -0.058624267578125, -0.006816864013671875, -0.007450103759765625, -0.0206756591796875, 0.03912353515625, 0.014678955078125, 0.034881591796875, -0.07757568359375, -0.00017118453979492188, 0.01412200927734375, 0.01503753662109375, 0.040771484375, -0.007289886474609375, 0.01271820068359375, 0.005321502685546875, -0.048309326171875, -0.020599365234375, -0.03955078125, -0.00905609130859375, 0.0021724700927734375, -0.01351165771484375, 0.04046630859375, -0.005252838134765625, -0.0008492469787597656, 0.0123443603515625, -0.036102294921875, -0.09893798828125, -0.0311737060546875, 0.01522064208984375, -0.016693115234375, -0.0186004638671875, 0.013824462890625, 0.004238128662109375, -0.0706787109375, 0.0196533203125, -0.040496826171875, -0.00690460205078125, 0.025115966796875, 0.07708740234375, 0.016571044921875, 0.0218505859375, -0.02752685546875, -0.003520965576171875, 0.032928466796875, 0.0523681640625, -0.035064697265625, -0.049560546875, -0.03936767578125, 0.02728271484375, 0.022186279296875, -0.0170135498046875, 0.0155487060546875, 0.031005859375, -0.0010852813720703125, -0.0222015380859375, -0.006626129150390625, -0.0231781005859375, 0.019378662109375, 0.014434814453125, -0.019439697265625, 0.004261016845703125, 0.0267486572265625, 0.01258087158203125, -0.0548095703125, 0.0634765625, 0.002338409423828125, 0.0120697021484375, -0.004062652587890625, 0.0278472900390625, 0.0196685791015625, 0.041717529296875, 0.001739501953125, -0.001033782958984375, -0.01227569580078125, -0.01055908203125, -0.038818359375, -0.0034427642822265625, -0.021942138671875, 0.021240234375, -0.0330810546875, 0.00045108795166015625, -0.051300048828125, 0.0015592575073242188, -0.0084228515625, -0.0216217041015625, -0.050048828125, -0.0325927734375, -0.01259613037109375, -0.007640838623046875, 0.0192413330078125, -0.018646240234375, 0.05828857421875, 0.05230712890625, -0.032318115234375, -0.0011281967163085938, -0.0167388916015625, -0.006603240966796875, -0.0645751953125, -0.0283660888671875, -0.00032973289489746094, -0.006744384765625, 0.0191497802734375, 0.042449951171875, 0.0311126708984375, 0.01003265380859375, -0.01971435546875, 0.060455322265625, 0.03228759765625, 0.01146697998046875, 0.035125732421875, -0.02899169921875, -0.0016412734985351562, -0.026336669921875, -0.02410888671875, -0.03778076171875, -0.01434326171875, 0.004627227783203125, 0.01145172119140625, -0.006908416748046875, -0.004802703857421875, 0.03021240234375, 0.004180908203125, -0.0172119140625, 0.03753662109375, 0.0286712646484375, -0.04193115234375, -0.0087738037109375, 0.03533935546875, 0.01377105712890625, -0.01678466796875, 0.027618408203125, -0.048004150390625, -0.01055145263671875, 0.00681304931640625, -0.06793212890625, 0.0187530517578125, -0.0227508544921875, -0.031646728515625, 0.006565093994140625, -0.0113372802734375, 0.007610321044921875, -0.038543701171875, -0.0183563232421875, -0.0300750732421875, 0.0038661956787109375, 0.049285888671875, -0.0166015625, 0.048736572265625, -0.006435394287109375, -0.0499267578125, -0.0266571044921875, 0.018157958984375, 0.059478759765625, 0.046142578125, -0.049102783203125, 0.0031566619873046875, -0.0294189453125, -0.0283203125, -0.0306396484375, -0.020355224609375, -0.044403076171875, -0.0093231201171875, 0.009796142578125, 0.01505279541015625, -0.01078033447265625, -0.01568603515625, -0.002696990966796875, 0.01224517822265625, 0.0087738037109375, 0.0168304443359375, -0.013336181640625, 0.044036865234375, -0.01479339599609375, 0.047027587890625, -0.0034236907958984375, -0.006366729736328125, -0.02911376953125, -0.0128173828125, 0.01006317138671875, 0.01953125, -0.02459716796875, -0.004913330078125, 0.01204681396484375, -0.0035228729248046875, 0.032928466796875, -0.0164337158203125, 0.005191802978515625, 0.00225830078125, 0.004993438720703125, 0.004718780517578125, -0.001373291015625, 0.02508544921875, -0.0447998046875, 0.0726318359375, -0.01071929931640625, 0.022674560546875, 0.00759124755859375, -0.005970001220703125, 0.024139404296875, -0.023284912109375, 0.02447509765625, 0.008819580078125, -0.00295257568359375, 0.0015497207641601562, 0.044342041015625, 0.020294189453125, 0.055755615234375, 0.0304718017578125, 0.043182373046875, 0.028533935546875, -0.0039825439453125, 0.0235443115234375, -0.0102691650390625, 0.01206207275390625, -0.026519775390625, -0.011962890625, -0.019256591796875, -0.022979736328125, 0.037628173828125, 0.07379150390625, 0.08282470703125, -0.13818359375, 0.0333251953125, 0.046661376953125, -0.0038299560546875, 0.0005550384521484375, 0.01953125, 0.0085296630859375, 0.0211029052734375, -0.006092071533203125, -0.0247344970703125, -0.01806640625, 0.0141448974609375, 0.00858306884765625, 0.00691986083984375, 0.0026988983154296875, 0.0256500244140625, 0.01244354248046875, -0.096435546875, 0.023162841796875, 0.0777587890625, -0.021881103515625, -0.0033397674560546875, 0.004787445068359375, 0.01122283935546875, -0.023101806640625, -0.0413818359375, 0.0123138427734375, -0.0265960693359375, 0.0010385513305664062, 0.026885986328125, -0.0152130126953125, 0.0140380859375, 0.0343017578125, 0.0038890838623046875, -0.004608154296875, 0.000553131103515625, -0.00400543212890625, -0.042633056640625, -0.0256195068359375, 0.0172119140625, 0.06640625, -0.065185546875, 0.030548095703125, -0.0267791748046875, 0.0189666748046875, 0.000354766845703125, 0.003448486328125, 0.02154541015625, -0.0309600830078125, -0.01302337646484375, 0.025177001953125, 0.0282440185546875, 0.0082855224609375, -0.01194000244140625, 0.00963592529296875, -0.039703369140625, 0.0167236328125, -0.00907135009765625, -0.01320648193359375, -0.04095458984375, -0.0294342041015625, -0.061859130859375, 0.058197021484375, -0.0078582763671875, 0.0214691162109375, -0.019195556640625, 0.02423095703125, 0.02008056640625, 0.0036869049072265625, -0.06866455078125, 0.06988525390625, -0.0055694580078125, 0.061981201171875, -0.04742431640625, 0.019866943359375, 0.0105743408203125, -0.0260162353515625, 0.02825927734375, 0.00927734375, -0.00604248046875, 0.021820068359375, 0.06072998046875, 0.0206756591796875, 0.0015478134155273438, 0.02447509765625, 0.0005588531494140625, -0.0249481201171875, 0.0260772705078125, 0.01137542724609375, 0.037567138671875, -0.0301513671875, 0.00006693601608276367, 0.02734375, 0.01187896728515625, -0.004730224609375, -0.025970458984375, 0.036895751953125, -0.0204010009765625, -0.01119232177734375, 0.016326904296875, -0.03326416015625, 0.032745361328125, -0.001697540283203125, 0.0011663436889648438, 0.0194091796875, -0.005313873291015625, -0.0017042160034179688, 0.0284881591796875, -0.0186920166015625, 0.0272216796875, 0.0012559890747070312, 0.00662994384765625, 0.061767578125, -0.020904541015625, -0.001987457275390625, 0.036346435546875, -0.0187530517578125, 0.0287017822265625, 0.00598907470703125, 0.002346038818359375, -0.0247344970703125, 0.033447265625, 0.015869140625, 0.0285491943359375, -0.035400390625, 0.0180206298828125, 0.006183624267578125, -0.0105743408203125, -0.008026123046875, -0.029876708984375, 0.0040435791015625, -0.029815673828125, -0.0263519287109375, -0.034698486328125, -0.0237579345703125, 0.034942626953125, 0.060760498046875, 0.035186767578125, 0.056915283203125, -0.08526611328125, -0.08074951171875, -0.01207733154296875, -0.0095672607421875, 0.010955810546875, 0.04119873046875, 0.01090240478515625, 0.01235198974609375, -0.0204010009765625, -0.0026702880859375, 0.001895904541015625, 0.0157928466796875, 0.0161895751953125, -0.004863739013671875, -0.0305023193359375, -0.0244903564453125, 0.01168060302734375, 0.04681396484375, -0.025909423828125, 0.0814208984375, 0.042266845703125, 0.049957275390625, 0.0250244140625, -0.00795745849609375, 0.057525634765625, -0.0298614501953125, 0.009796142578125, -0.038818359375, 0.0164947509765625, -0.0257568359375, -0.01132965087890625, -0.0259246826171875, 0.02972412109375, 0.0008254051208496094, -0.0241241455078125, 0.046783447265625, -0.00426483154296875, -0.054443359375, 0.035919189453125, 0.00843048095703125, 0.133056640625, 0.0187835693359375, -0.03387451171875, -0.0002856254577636719, -0.0435791015625, 0.0005650520324707031, -0.0279388427734375, 0.008087158203125, -0.0241546630859375, 0.06658935546875, -0.03094482421875, -0.0013580322265625, 0.03338623046875, -0.026763916015625, -0.0024814605712890625, -0.03125, -0.00543212890625, -0.0272369384765625, 0.0269927978515625, 0.0094451904296875, 0.0155029296875, 0.046630859375, 0.010498046875, 0.0293426513671875, -0.02886962890625, 0.0278778076171875, 0.00838470458984375, -0.0020999908447265625, 0.0022830963134765625, -0.00205230712890625, -0.00016570091247558594, 0.00032639503479003906, -0.00109100341796875, -0.00653076171875, -0.0135650634765625, -0.0008101463317871094, 0.0235443115234375, -0.0107269287109375, -0.012176513671875, -0.04449462890625, 0.042236328125, 0.04547119140625, 0.028961181640625, -0.0179443359375, -0.043670654296875, -0.02197265625, 0.01416015625, -0.0012788772583007812, 0.01213836669921875, 0.00011277198791503906, 0.02783203125, -0.009063720703125, -0.00981903076171875, -0.013519287109375, -0.01100921630859375, -0.0266876220703125, 0.032928466796875, -0.02301025390625, 0.03204345703125, 0.0274200439453125, -0.0127105712890625, -0.0010137557983398438, 0.0238189697265625, -0.035919189453125, 0.028778076171875, -0.04833984375, -0.01558685302734375, 0.00330352783203125, 0.00829315185546875, -0.0240325927734375, 0.01235198974609375, 0.011077880859375, -0.00949859619140625, 0.009307861328125, 0.02215576171875, -0.017059326171875, -0.041290283203125, -0.0106658935546875, -0.01056671142578125, -0.01502227783203125, -0.031890869140625, 0.004016876220703125, -0.0203399658203125, 0.035888671875, -0.005588531494140625, -0.0266265869140625, -0.0213470458984375, -0.0279388427734375, 0.059539794921875, -0.01763916015625, -0.06341552734375, 0.028350830078125, 0.055267333984375, -0.0311126708984375, -0.0086517333984375, -0.030609130859375, -0.0404052734375, -0.045074462890625, 0.0323486328125, 0.04248046875, -0.050201416015625, -0.0310516357421875, 0.00982666015625, 0.045928955078125, 0.06390380859375, 0.02728271484375, -0.049530029296875, 0.004390716552734375, 0.0081787109375, 0.038604736328125, -0.02166748046875, -0.0165863037109375, -0.009185791015625, -0.0055999755859375, -0.0279388427734375, 0.022125244140625, 0.036590576171875, -0.025604248046875, -0.047943115234375, 0.061737060546875, -0.01285552978515625, -0.0240936279296875, -0.005779266357421875, -0.003307342529296875, -0.00921630859375, 0.0254058837890625, 0.00353240966796875, -0.01419830322265625, -0.038482666015625, 0.0031280517578125, -0.03466796875, 0.015380859375, 0.01593017578125, -0.0643310546875, -0.0249176025390625, -0.01531982421875, 0.01168060302734375, -0.00421142578125, 0.0069122314453125, -0.045257568359375, 0.0187530517578125, 0.0025157928466796875, -0.0552978515625, -0.0254364013671875, 0.01198577880859375, 0.037017822265625, 0.017486572265625, -0.021453857421875, 0.0014801025390625, -0.0178985595703125, 0.037994384765625, -0.01763916015625, 0.00983428955078125, -0.00380706787109375, 0.015838623046875, -0.0316162109375, -0.05194091796875, 0.0310211181640625, 0.0171051025390625, -0.021942138671875, 0.043701171875, 0.022491455078125, 0.0019626617431640625, 0.010955810546875, 0.00955963134765625, -0.03265380859375, -0.0190887451171875, -0.0007982254028320312, -0.005382537841796875, -0.06475830078125, -0.005451202392578125, 0.06298828125, -0.036956787109375, -0.005153656005859375, 0.037139892578125, -0.01160430908203125, 0.0208892822265625, 0.0323486328125, 0.005474090576171875, 0.0634765625, -0.06878662109375, -0.004253387451171875, 0.004695892333984375, 0.0343017578125, -0.0379638671875, 0.0175323486328125, -0.0430908203125, 0.0303497314453125, 0.025177001953125, 0.027435302734375, -0.008758544921875, 0.0198974609375, 0.03106689453125, 0.04705810546875, 0.00907135009765625, 0.10125732421875, 0.02239990234375, 0.044677734375, 0.007259368896484375, -0.0243682861328125, 0.0027008056640625, -0.0200042724609375, -0.002628326416015625, 0.01454925537109375, -0.01114654541015625, -0.042724609375, 0.04766845703125, 0.03680419921875, -0.00012010335922241211, 0.020782470703125 ]
ab2b27f313ae272dd8c19f74db1ae51350b5e2c6
Wordpress Stackexchange Q: 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 A: It's not the theme that's how TinyMCE editor works. If you remain on the "Text" tab and update the post then the html will remain untouched and display properly on the front-end. However if you switch back to the "visual editor" it will break. Here, you can use this on your functions.php // Modify Tiny_MCE init add_filter('tiny_mce_before_init', 'smartenTinyMCE' ); function smartenTinyMCE($init) { // Add PRE and CODE to the block formats menu $init['theme_advanced_blockformats'] = 'h2,h3,h4,h5,h6,p,blockquote,pre,code'; // Allow extra attributes for some syntax highlighters, IE: <pre lang="php" line="5">...</pre) // Allow iFrames for live examples $init['extended_valid_elements'] = 'pre[*]'; return $init; } Source: https://provideyourown.com/2011/how-to-insert-code-into-your-wordpress-blog/ PS: You can add more separated by comma example: $init['extended_valid_elements'] = 'pre[*],code[*],iframe[*]';
Q: 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 A: It's not the theme that's how TinyMCE editor works. If you remain on the "Text" tab and update the post then the html will remain untouched and display properly on the front-end. However if you switch back to the "visual editor" it will break. Here, you can use this on your functions.php // Modify Tiny_MCE init add_filter('tiny_mce_before_init', 'smartenTinyMCE' ); function smartenTinyMCE($init) { // Add PRE and CODE to the block formats menu $init['theme_advanced_blockformats'] = 'h2,h3,h4,h5,h6,p,blockquote,pre,code'; // Allow extra attributes for some syntax highlighters, IE: <pre lang="php" line="5">...</pre) // Allow iFrames for live examples $init['extended_valid_elements'] = 'pre[*]'; return $init; } Source: https://provideyourown.com/2011/how-to-insert-code-into-your-wordpress-blog/ PS: You can add more separated by comma example: $init['extended_valid_elements'] = 'pre[*],code[*],iframe[*]';
wordpress
{ "language": "en", "length": 158, "provenance": "stackexchange_00019.jsonl.gz:473668", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258125" }
[ 0.04046630859375, -0.0078887939453125, -0.022186279296875, -0.01812744140625, 0.0185546875, -0.02301025390625, 0.047515869140625, -0.0187530517578125, 0.0015439987182617188, 0.0413818359375, -0.01371002197265625, 0.005611419677734375, -0.0005211830139160156, -0.0296630859375, -0.0118408203125, -0.00984954833984375, 0.02093505859375, 0.004100799560546875, 0.0086517333984375, -0.0192108154296875, -0.0254364013671875, 0.0002682209014892578, 0.01250457763671875, -0.0194549560546875, 0.03314208984375, -0.03643798828125, 0.022674560546875, -0.013671875, -0.0092315673828125, -0.022003173828125, 0.0182342529296875, 0.018341064453125, 0.034271240234375, 0.06512451171875, -0.09051513671875, 0.03277587890625, -0.021881103515625, 0.034423828125, -0.01279449462890625, 0.0276641845703125, -0.000553131103515625, 0.0008420944213867188, 0.0703125, 0.0343017578125, 0.004428863525390625, -0.0301971435546875, 0.013916015625, -0.05084228515625, -0.003337860107421875, -0.0894775390625, 0.0082244873046875, 0.0015468597412109375, 0.036529541015625, -0.04248046875, -0.021209716796875, 0.044647216796875, -0.063232421875, -0.0196075439453125, 0.01136016845703125, 0.09405517578125, 0.038482666015625, -0.0233154296875, -0.0213775634765625, -0.047454833984375, -0.00701904296875, -0.0308380126953125, 0.0018815994262695312, 0.0191497802734375, -0.000865936279296875, 0.006072998046875, 0.03759765625, 0.0027313232421875, 0.00611114501953125, -0.0478515625, 0.0196380615234375, 0.0258636474609375, -0.02581787109375, 0.0037670135498046875, -0.00481414794921875, 0.0030460357666015625, 0.05609130859375, 0.007228851318359375, 0.0119781494140625, -0.0214996337890625, 0.006740570068359375, -0.00799560546875, 0.00469207763671875, -0.0208740234375, -0.0262451171875, -0.0186309814453125, -0.0173797607421875, -0.01085662841796875, -0.034027099609375, -0.00836944580078125, -0.006023406982421875, -0.024749755859375, 0.00179290771484375, 0.03350830078125, -0.01399993896484375, 0.031524658203125, -0.009979248046875, -0.0419921875, 0.07379150390625, -0.052520751953125, 0.0118560791015625, 0.0159454345703125, -0.01018524169921875, 0.021026611328125, 0.05657958984375, 0.0207061767578125, 0.0066680908203125, 0.02789306640625, -0.004802703857421875, -0.04937744140625, -0.0088653564453125, 0.031646728515625, -0.004566192626953125, 0.02362060546875, 0.03961181640625, 0.0160369873046875, 0.0166473388671875, 0.053314208984375, -0.017333984375, -0.056304931640625, -0.002285003662109375, -0.0173187255859375, -0.00879669189453125, -0.025543212890625, 0.0026836395263671875, 0.0133209228515625, -0.04669189453125, 0.029266357421875, 0.0260009765625, 0.00032973289489746094, -0.00867462158203125, -0.01284027099609375, 0.005828857421875, -0.0132904052734375, -0.01474761962890625, 0.00826263427734375, -0.0260162353515625, -0.035797119140625, -0.0181427001953125, -0.0251312255859375, -0.01442718505859375, 0.043975830078125, 0.0357666015625, -0.0032196044921875, -0.04571533203125, -0.11065673828125, 0.04925537109375, -0.033355712890625, 0.044677734375, 0.009796142578125, -0.00994873046875, -0.056427001953125, 0.046661376953125, -0.05596923828125, 0.00079345703125, -0.0736083984375, 0.035919189453125, -0.00420379638671875, 0.044219970703125, -0.0362548828125, -0.0452880859375, -0.041229248046875, -0.10699462890625, -0.0139923095703125, 0.030548095703125, 0.057952880859375, -0.0178070068359375, -0.003650665283203125, 0.03472900390625, 0.032928466796875, -0.0078887939453125, 0.01885986328125, -0.01323699951171875, 0.027099609375, 0.03131103515625, 0.01184844970703125, 0.01971435546875, -0.01258087158203125, 0.0772705078125, -0.0004112720489501953, -0.08099365234375, 0.032989501953125, 0.00994873046875, 0.07598876953125, 0.040618896484375, 0.0171356201171875, 0.041778564453125, -0.022674560546875, -0.0009546279907226562, 0.017425537109375, 0.0209503173828125, -0.032989501953125, -0.0352783203125, -0.0202178955078125, -0.00901031494140625, -0.0099029541015625, 0.016998291015625, -0.015655517578125, 0.05340576171875, -0.01702880859375, -0.01190185546875, 0.0186309814453125, -0.0101318359375, 0.035858154296875, 0.03765869140625, -0.01421356201171875, -0.0011577606201171875, -0.027099609375, -0.00554656982421875, 0.024932861328125, -0.0335693359375, 0.048553466796875, -0.003307342529296875, 0.07000732421875, 0.01367950439453125, 0.037139892578125, 0.03265380859375, -0.040191650390625, 0.0347900390625, 0.0007076263427734375, 0.0239105224609375, -0.0015993118286132812, -0.01338958740234375, -0.005153656005859375, 0.019439697265625, 0.0156402587890625, -0.01617431640625, 0.0107269287109375, 0.037628173828125, 0.037933349609375, -0.06341552734375, -0.03173828125, -0.055572509765625, -0.01488494873046875, 0.008758544921875, 0.064453125, 0.046173095703125, 0.033416748046875, -0.0292510986328125, -0.048370361328125, 0.10906982421875, -0.022918701171875, -0.004268646240234375, -0.0304718017578125, -0.0028324127197265625, 0.00716400146484375, 0.0041961669921875, -0.0128326416015625, 0.032562255859375, -0.033843994140625, 0.0267333984375, 0.0214385986328125, 0.005279541015625, 0.032012939453125, -0.035125732421875, 0.008636474609375, 0.00440216064453125, -0.019561767578125, -0.0299072265625, -0.0312042236328125, 0.0728759765625, 0.0242919921875, 0.054779052734375, 0.0303497314453125, -0.057037353515625, 0.0305023193359375, 0.010284423828125, 0.0260009765625, -0.0225067138671875, 0.03558349609375, 0.01800537109375, 0.0188446044921875, -0.05596923828125, 0.0206146240234375, -0.002178192138671875, 0.032684326171875, 0.0025386810302734375, 0.04095458984375, 0.0007548332214355469, -0.0143585205078125, -0.01220703125, 0.0186767578125, 0.00324249267578125, 0.0204925537109375, 0.0447998046875, 0.0176544189453125, 0.0189208984375, 0.0168609619140625, -0.0309906005859375, 0.056732177734375, -0.0148162841796875, -0.013641357421875, 0.0061798095703125, -0.04180908203125, 0.0458984375, -0.03631591796875, 0.06378173828125, 0.055694580078125, -0.0188446044921875, 0.00606536865234375, 0.024444580078125, -0.0133819580078125, 0.0186614990234375, 0.057586669921875, 0.04010009765625, -0.0382080078125, 0.0241241455078125, 0.0171966552734375, 0.042083740234375, 0.028045654296875, 0.0216064453125, -0.0247955322265625, -0.00710296630859375, 0.03192138671875, -0.03533935546875, -0.0300750732421875, 0.02264404296875, -0.056915283203125, -0.0251312255859375, -0.0016107559204101562, -0.035400390625, -0.001071929931640625, 0.00980377197265625, -0.0041046142578125, 0.0184173583984375, -0.04766845703125, -0.007564544677734375, -0.0280609130859375, -0.04962158203125, 0.00991058349609375, 0.01456451416015625, -0.00882720947265625, 0.0177154541015625, 0.022003173828125, 0.0038280487060546875, -0.059783935546875, 0.004245758056640625, -0.054229736328125, -0.0245819091796875, 0.029083251953125, -0.004795074462890625, -0.022247314453125, -0.00850677490234375, 0.0024700164794921875, -0.00749969482421875, -0.0070648193359375, -0.00197601318359375, -0.006977081298828125, -0.0036163330078125, 0.01297760009765625, 0.01438140869140625, 0.0099029541015625, 0.0159149169921875, 0.0186767578125, 0.0157928466796875, -0.0179443359375, -0.0061798095703125, -0.0001665353775024414, -0.0218658447265625, -0.002361297607421875, -0.0247802734375, 0.013397216796875, 0.0181884765625, 0.013275146484375, -0.00026345252990722656, 0.0088348388671875, 0.07733154296875, -0.03729248046875, -0.0206146240234375, -0.0220794677734375, -0.013763427734375, -0.046417236328125, 0.0045013427734375, -0.0185089111328125, -0.0035762786865234375, -0.0153961181640625, -0.005931854248046875, -0.03472900390625, 0.0252532958984375, -0.039947509765625, 0.01180267333984375, 0.01499176025390625, -0.0235748291015625, 0.0263824462890625, -0.02215576171875, 0.004573822021484375, -0.039764404296875, 0.02386474609375, -0.033050537109375, -0.00299072265625, 0.0218048095703125, 0.009674072265625, -0.00962066650390625, -0.0240020751953125, -0.0487060546875, -0.0134429931640625, -0.004604339599609375, 0.0208740234375, -0.0189208984375, 0.0227813720703125, -0.0253143310546875, 0.0216827392578125, 0.014556884765625, -0.02642822265625, 0.035430908203125, -0.0187225341796875, -0.0170135498046875, -0.006683349609375, -0.0221099853515625, -0.03387451171875, -0.01274871826171875, -0.003566741943359375, -0.05914306640625, -0.01024627685546875, -0.024566650390625, 0.04156494140625, 0.007717132568359375, 0.00732421875, -0.053466796875, 0.0121002197265625, -0.00555419921875, 0.00873565673828125, 0.0159149169921875, 0.0411376953125, -0.0263824462890625, -0.037506103515625, -0.01068115234375, -0.054046630859375, 0.004932403564453125, 0.040863037109375, -0.012542724609375, 0.036376953125, -0.0245361328125, -0.042449951171875, 0.01496124267578125, -0.050537109375, -0.038116455078125, -0.047515869140625, -0.02801513671875, -0.00978851318359375, -0.0038661956787109375, -0.0169525146484375, -0.040771484375, -0.0264892578125, 0.03961181640625, -0.005916595458984375, 0.01678466796875, -0.00983428955078125, 0.0491943359375, 0.01039886474609375, -0.0149993896484375, 0.0180206298828125, 0.0074005126953125, 0.0391845703125, 0.01308441162109375, -0.0006608963012695312, 0.0019006729125976562, -0.03887939453125, 0.041717529296875, 0.0194244384765625, 0.037689208984375, -0.040863037109375, 0.04949951171875, 0.006816864013671875, 0.041107177734375, -0.0287628173828125, 0.024932861328125, 0.015777587890625, 0.00884246826171875, -0.005859375, 0.00872039794921875, 0.0080718994140625, -0.0101318359375, 0.013580322265625, -0.02423095703125, -0.01708984375, -0.004543304443359375, -0.011749267578125, 0.0650634765625, 0.023651123046875, 0.0204315185546875, 0.00592041015625, -0.00824737548828125, 0.0185546875, -0.00530242919921875, 0.01593017578125, -0.0103607177734375, 0.0019168853759765625, 0.0270233154296875, 0.00383758544921875, -0.01374053955078125, 0.01180267333984375, -0.012664794921875, 0.0282745361328125, 0.0175018310546875, -0.0004105567932128906, -0.05096435546875, 0.004795074462890625, 0.01084136962890625, -0.0172271728515625, 0.0333251953125, -0.01012420654296875, -0.004772186279296875, -0.0211639404296875, 0.006031036376953125, 0.06732177734375, -0.009613037109375, 0.0030956268310546875, -0.036773681640625, -0.00460052490234375, -0.005123138427734375, -0.0052032470703125, 0.034515380859375, 0.009765625, 0.01031494140625, -0.0255889892578125, 0.0281982421875, 0.0202484130859375, 0.049285888671875, 0.0345458984375, -0.0457763671875, 0.004474639892578125, 0.01702880859375, -0.026458740234375, -0.034881591796875, -0.01026153564453125, 0.0006823539733886719, 0.047332763671875, 0.0054168701171875, -0.0036411285400390625, 0.02081298828125, -0.006038665771484375, 0.0008411407470703125, 0.0140228271484375, -0.022125244140625, -0.047149658203125, 0.0089569091796875, 0.0105743408203125, -0.0014791488647460938, -0.020721435546875, -0.01525115966796875, 0.03582763671875, -0.04302978515625, 0.0296478271484375, -0.016387939453125, -0.00798797607421875, -0.0015554428100585938, -0.0017938613891601562, 0.051605224609375, -0.008331298828125, -0.046295166015625, -0.00811767578125, -0.007564544677734375, -0.033416748046875, 0.0187225341796875, 0.0723876953125, -0.060546875, 0.00994110107421875, -0.012603759765625, 0.02978515625, -0.022308349609375, 0.0262908935546875, 0.0178680419921875, 0.0180816650390625, -0.052703857421875, -0.0015125274658203125, -0.066650390625, -0.024871826171875, -0.032623291015625, -0.0185546875, -0.047637939453125, 0.004947662353515625, 0.0013570785522460938, 0.04925537109375, -0.0258026123046875, -0.011444091796875, 0.00014340877532958984, 0.00316619873046875, 0.0157470703125, 0.10205078125, -0.01319122314453125, 0.0234222412109375, -0.01299285888671875, 0.07293701171875, -0.01117706298828125, -0.00542449951171875, -0.01403045654296875, -0.01708984375, 0.02117919921875, -0.040252685546875, -0.0259552001953125, -0.0148162841796875, -0.018798828125, 0.0044708251953125, 0.0072479248046875, -0.0036945343017578125, 0.0347900390625, -0.011505126953125, 0.01519012451171875, -0.01439666748046875, 0.01093292236328125, -0.01247406005859375, -0.00443267822265625, 0.061187744140625, -0.0279998779296875, -0.0173187255859375, -0.004520416259765625, 0.0199737548828125, 0.0113677978515625, -0.016510009765625, -0.0058746337890625, -0.0094757080078125, -0.01490020751953125, -0.004138946533203125, 0.03192138671875, 0.00366973876953125, 0.0183258056640625, -0.002758026123046875, 0.001972198486328125, -0.0032291412353515625, -0.01300811767578125, -0.042236328125, 0.032867431640625, 0.016326904296875, -0.003932952880859375, -0.0037136077880859375, 0.0177459716796875, -0.00498199462890625, -0.02593994140625, 0.081787109375, 0.06512451171875, -0.08770751953125, -0.029541015625, 0.017120361328125, -0.01357269287109375, -0.044708251953125, -0.0195159912109375, -0.0084991455078125, -0.041290283203125, 0.06591796875, 0.014251708984375, -0.0160980224609375, 0.02789306640625, -0.001438140869140625, -0.01126861572265625, -0.0245513916015625, 0.0518798828125, 0.0277252197265625, -0.034332275390625, 0.0296783447265625, 0.028411865234375, 0.00598907470703125, -0.00582122802734375, 0.0301513671875, -0.0211944580078125, -0.0307769775390625, -0.0465087890625, -0.02001953125, 0.006900787353515625, -0.041259765625, -0.0236358642578125, -0.007144927978515625, 0.0094146728515625, 0.037872314453125, -0.032073974609375, 0.0025730133056640625, 0.01021575927734375, -0.0186309814453125, 0.00836181640625, -0.003833770751953125, 0.006866455078125, 0.0280914306640625, 0.00902557373046875, 0.01171112060546875, 0.0035228729248046875, -0.0198516845703125, 0.0107574462890625, -0.0129547119140625, -0.0020236968994140625, -0.0117034912109375, -0.023406982421875, 0.004505157470703125, -0.052032470703125, 0.0228118896484375, -0.0186309814453125, -0.0269775390625, -0.04150390625, 0.0054168701171875, -0.033905029296875, -0.0212249755859375, 0.041473388671875, -0.01496124267578125, -0.097412109375, 0.11468505859375, 0.037506103515625, 0.0205078125, -0.01229095458984375, 0.05181884765625, -0.0628662109375, -0.017730712890625, -0.028350830078125, 0.0075836181640625, -0.0289306640625, 0.0029621124267578125, -0.0350341796875, 0.002410888671875, -0.00844573974609375, 0.0191192626953125, -0.0259857177734375, -0.0158843994140625, -0.013824462890625, -0.0026874542236328125, 0.01454925537109375, 0.01422119140625, -0.002628326416015625, 0.0128021240234375, -0.006496429443359375, -0.027984619140625, -0.029022216796875, 0.004840850830078125, 0.0255889892578125, -0.037628173828125, -0.041900634765625, 0.00881195068359375, -0.0180816650390625, -0.036041259765625, 0.004573822021484375, -0.0745849609375, -0.048583984375, 0.01551055908203125, -0.0106201171875, 0.00005072355270385742, -0.037200927734375, 0.07122802734375, 0.0151214599609375, -0.053558349609375, -0.1007080078125, -0.0249176025390625, 0.01641845703125, 0.0179901123046875, 0.033203125, -0.01300048828125, 0.01064300537109375, 0.018218994140625, -0.0279083251953125, 0.007366180419921875, 0.0193634033203125, -0.03411865234375, 0.0037059783935546875, -0.00980377197265625, 0.0136260986328125, -0.05035400390625, -0.014068603515625, 0.053955078125, 0.034881591796875, -0.01297760009765625, 0.00994110107421875, 0.013153076171875, 0.020416259765625, -0.0223541259765625, -0.03851318359375, -0.0233917236328125, -0.00305938720703125, 0.0384521484375, 0.033111572265625, -0.0428466796875, -0.039215087890625, 0.050933837890625, 0.017578125, 0.044189453125, 0.01531219482421875, -0.072509765625, -0.063232421875, 0.00551605224609375, -0.0084381103515625, 0.060516357421875, 0.026702880859375, 0.05609130859375, -0.02392578125, -0.036102294921875, -0.040924072265625, 0.0251007080078125, 0.00856781005859375, 0.04156494140625, -0.0222320556640625, 0.019287109375, 0.0222930908203125, 0.01369476318359375, 0.006336212158203125, 0.0249176025390625, 0.0322265625, -0.0122528076171875, -0.033599853515625, -0.0029773712158203125, 0.005657196044921875, -0.0323486328125, -0.022216796875, -0.023040771484375, -0.04168701171875, -0.007045745849609375, -0.0141754150390625, 0.0265045166015625, -0.00930023193359375, 0.0175323486328125, -0.01007080078125, 0.042633056640625, -0.004398345947265625, -0.00463104248046875, 0.018157958984375, -0.01113128662109375, 0.045684814453125, 0.0222930908203125, 0.0210418701171875, 0.0254974365234375, -0.05755615234375, -0.057769775390625, 0.024017333984375, 0.032867431640625, 0.0187835693359375, -0.0009703636169433594, 0.054107666015625, -0.029937744140625, -0.004161834716796875, 0.022705078125, 0.036529541015625, 0.01256561279296875, 0.00799560546875, 0.0316162109375, -0.01953125, -0.01163482666015625, -0.00202178955078125, 0.046417236328125, 0.0231781005859375, 0.04547119140625, -0.0237274169921875, 0.0298919677734375, -0.0311126708984375, 0.0186920166015625, -0.032928466796875, -0.0163116455078125, -0.0010080337524414062, 0.00830841064453125, 0.0091094970703125, -0.011474609375, -0.033660888671875, 0.040618896484375, 0.0034809112548828125, -0.0002562999725341797, 0.0149688720703125, -0.0155487060546875, 0.01233673095703125, 0.03240966796875, 0.0428466796875, 0.0044097900390625, -0.0295867919921875, -0.0335693359375, 0.0014276504516601562, 0.036041259765625, 0.084228515625, 0.01361083984375, 0.0235748291015625, 0.0131378173828125, -0.03759765625, 0.023956298828125, -0.04815673828125, 0.0167083740234375, 0.0273895263671875, 0.0197601318359375, -0.036224365234375, 0.027099609375, -0.01454925537109375, -0.00499725341796875, 0.0236968994140625, 0.025360107421875, 0.035064697265625, -0.06854248046875, 0.070068359375, 0.0733642578125, 0.0810546875, -0.02978515625, 0.021759033203125, 0.07421875, -0.019073486328125, 0.062042236328125, 0.0123443603515625, -0.0218658447265625, -0.049224853515625, -0.004425048828125, 0.0234222412109375, -0.0521240234375, -0.0142974853515625, -0.08514404296875, -0.011810302734375, 0.028839111328125, -0.012603759765625, -0.01568603515625, -0.039520263671875, -0.00785064697265625, 0.072998046875, -0.0084381103515625, 0.019866943359375, -0.0167388916015625, 0.0131378173828125, -0.0158538818359375, -0.038177490234375, -0.036407470703125, 0.0489501953125, -0.039337158203125, 0.0188751220703125, 0.030487060546875, -0.0196380615234375, -0.055450439453125, 0.0110321044921875, -0.0013885498046875, 0.0577392578125, 0.0016536712646484375, -0.00511932373046875, 0.05694580078125, -0.02569580078125, -0.03125, -0.066650390625, -0.0086822509765625, -0.07757568359375, 0.005222320556640625, 0.006366729736328125, -0.024932861328125, -0.01513671875, -0.059417724609375, -0.11529541015625, 0.022552490234375, -0.005950927734375, -0.03948974609375, -0.040802001953125, 0.0033626556396484375, -0.0202789306640625, 0.029693603515625, -0.00958251953125, -0.0232696533203125, 0.00887298583984375, 0.0313720703125, 0.00005739927291870117, 0.038818359375, 0.0213165283203125, -0.028778076171875, -0.0307769775390625, -0.007663726806640625, -0.01331329345703125, 0.00547027587890625, 0.039764404296875, -0.011993408203125, 0.0275726318359375, 0.05535888671875, -0.0384521484375, -0.0491943359375, -0.056121826171875, -0.029541015625, 0.0234375, -0.0379638671875, -0.07720947265625, -0.0638427734375, 0.062164306640625, 0.01345062255859375, 0.010772705078125, 0.0108184814453125, 0.007534027099609375, -0.021209716796875, -0.050079345703125, -0.0131988525390625, 0.0270233154296875, -0.058319091796875, -0.0091552734375, -0.005588531494140625, 0.0179595947265625, 0.0079193115234375, -0.0261688232421875, -0.004638671875, -0.01727294921875, 0.0109405517578125, 0.0097808837890625, -0.0218658447265625, -0.033721923828125, 0.0662841796875, -0.0323486328125, -0.02276611328125, 0.0174713134765625, 0.01535797119140625, 0.0151214599609375, 0.03131103515625, 0.0157012939453125, -0.0238800048828125, 0.008026123046875, 0.033660888671875, 0.0168304443359375, 0.0227813720703125, -0.018524169921875, -0.0364990234375, 0.0100555419921875, -0.0045318603515625, -0.0164642333984375, -0.0218353271484375, 0.005718231201171875, 0.004238128662109375, -0.038970947265625, 0.059783935546875, -0.035980224609375, -0.006557464599609375, -0.0270233154296875, -0.002124786376953125, -0.013824462890625, 0.0234375, 0.03594970703125, 0.0160369873046875, -0.0013475418090820312, 0.0164947509765625, -0.020721435546875, -0.01082611083984375, -0.010650634765625, -0.048431396484375, 0.0102691650390625, -0.00025844573974609375 ]
40548c59be91984cf2db062449dc6c2f773ec272
Wordpress Stackexchange Q: Where are Additional CSS files stored This image shows the Additional CSS feature in Wordpress. I'm trying to find the file that stores the additional CSS, but can't seem to find it anywhere - I've searched almost every folder in wp-content! Does anyone know how Additional CSS for the theme is stored and, if it is in a file, where this file is located! A: It's stored in the database, within the wp_posts table, under the custom_css post type, where the post name is the theme slug. There you also have the related customize_changeset and revision post types. The custom css post ID is also stored in the wp_options table under each theme mods, e.g. theme_mods_twentysixteen for Twenty Sixteen. It's informative to check out how the custom CSS fetched from the database with: * *wp_get_custom_css() that uses wp_get_custom_css_post() and displayed through the wp_head action with: * *wp_custom_css_cb()
Q: Where are Additional CSS files stored This image shows the Additional CSS feature in Wordpress. I'm trying to find the file that stores the additional CSS, but can't seem to find it anywhere - I've searched almost every folder in wp-content! Does anyone know how Additional CSS for the theme is stored and, if it is in a file, where this file is located! A: It's stored in the database, within the wp_posts table, under the custom_css post type, where the post name is the theme slug. There you also have the related customize_changeset and revision post types. The custom css post ID is also stored in the wp_options table under each theme mods, e.g. theme_mods_twentysixteen for Twenty Sixteen. It's informative to check out how the custom CSS fetched from the database with: * *wp_get_custom_css() that uses wp_get_custom_css_post() and displayed through the wp_head action with: * *wp_custom_css_cb() A: type this into the sql query if your new like me, and it should come up. SELECT * FROM wp_posts WHERE post_type = 'custom_css'
wordpress
{ "language": "en", "length": 173, "provenance": "stackexchange_00019.jsonl.gz:473707", "question_score": "29", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258226" }
[ 0.037750244140625, -0.0316162109375, 0.0079193115234375, -0.040130615234375, -0.0162353515625, -0.00881195068359375, 0.0212860107421875, 0.006465911865234375, -0.02740478515625, 0.0280303955078125, -0.06256103515625, 0.045013427734375, 0.0034351348876953125, 0.01495361328125, 0.015350341796875, -0.048553466796875, 0.05865478515625, -0.029693603515625, 0.04608154296875, 0.016754150390625, 0.006725311279296875, 0.04559326171875, 0.028839111328125, 0.06817626953125, 0.0347900390625, -0.041015625, 0.056060791015625, -0.0216522216796875, 0.0465087890625, -0.0101165771484375, 0.034515380859375, -0.00583648681640625, 0.04132080078125, -0.005451202392578125, -0.0205841064453125, -0.0258331298828125, 0.0170135498046875, -0.0257568359375, -0.040618896484375, 0.048553466796875, 0.005413055419921875, 0.00293731689453125, 0.0256805419921875, 0.0211181640625, 0.00038695335388183594, -0.057586669921875, 0.008819580078125, -0.038299560546875, -0.0082244873046875, -0.023681640625, 0.01183319091796875, -0.021636962890625, 0.033294677734375, -0.033294677734375, -0.0341796875, -0.0312347412109375, 0.00017213821411132812, 0.03515625, 0.0340576171875, -0.0408935546875, -0.049591064453125, -0.0196685791015625, 0.032501220703125, 0.0042266845703125, -0.01287841796875, 0.026580810546875, 0.058990478515625, 0.00676727294921875, -0.046844482421875, -0.031585693359375, 0.016754150390625, -0.017333984375, -0.0004684925079345703, -0.01983642578125, -0.0228118896484375, 0.03179931640625, -0.0079498291015625, -0.0025730133056640625, 0.0178070068359375, 0.00261688232421875, -0.00571441650390625, -0.01145172119140625, -0.04754638671875, -0.032440185546875, -0.00688934326171875, -0.019989013671875, -0.01428985595703125, 0.00007557868957519531, 0.0021266937255859375, 0.0123748779296875, -0.0267333984375, -0.018798828125, 0.025665283203125, 0.022705078125, -0.0260162353515625, -0.0137786865234375, 0.01192474365234375, 0.05084228515625, -0.0217742919921875, 0.038665771484375, -0.03936767578125, -0.0196990966796875, 0.0361328125, -0.0435791015625, -0.0219879150390625, 0.0188446044921875, 0.025970458984375, -0.0031585693359375, -0.01480865478515625, 0.0106048583984375, -0.0137786865234375, -0.01323699951171875, -0.006137847900390625, -0.04949951171875, 0.00499725341796875, 0.041351318359375, 0.011505126953125, 0.01103973388671875, 0.01419830322265625, -0.01021575927734375, 0.0239105224609375, 0.036773681640625, -0.026641845703125, -0.0377197265625, -0.0217742919921875, -0.05072021484375, -0.0202484130859375, 0.0019121170043945312, -0.035308837890625, 0.051177978515625, -0.0145721435546875, -0.005496978759765625, 0.0188751220703125, 0.0189361572265625, -0.012176513671875, -0.033538818359375, 0.0194091796875, 0.003475189208984375, -0.0225372314453125, 0.0282135009765625, -0.025115966796875, -0.051910400390625, -0.0166015625, -0.0154266357421875, -0.0006556510925292969, 0.0257568359375, 0.019927978515625, 0.0103912353515625, -0.029296875, -0.051055908203125, 0.0279693603515625, -0.01548004150390625, 0.05291748046875, 0.031402587890625, -0.040740966796875, -0.035400390625, 0.01122283935546875, -0.039459228515625, -0.01317596435546875, -0.05853271484375, -0.00897216796875, 0.0015287399291992188, 0.017120361328125, -0.016937255859375, -0.006267547607421875, -0.0080718994140625, -0.0186309814453125, -0.0081329345703125, 0.0197296142578125, 0.02899169921875, -0.0270233154296875, -0.031341552734375, -0.005542755126953125, 0.01104736328125, -0.005611419677734375, 0.037200927734375, 0.01541900634765625, -0.01751708984375, 0.02459716796875, 0.036956787109375, -0.01104736328125, -0.0145416259765625, 0.052581787109375, -0.0291748046875, -0.00803375244140625, 0.00444793701171875, 0.00688934326171875, 0.05682373046875, 0.02496337890625, 0.035430908203125, -0.047576904296875, -0.022491455078125, -0.05621337890625, -0.007396697998046875, -0.018157958984375, 0.03582763671875, -0.00988006591796875, 0.035888671875, -0.005329132080078125, -0.0018796920776367188, -0.05975341796875, 0.0119476318359375, 0.01172637939453125, 0.0261688232421875, 0.00928497314453125, 0.02801513671875, -0.021240234375, 0.04229736328125, -0.0178070068359375, 0.0228729248046875, 0.0099639892578125, -0.01097869873046875, 0.0172882080078125, -0.07769775390625, -0.0288238525390625, 0.0024738311767578125, -0.00415802001953125, 0.030426025390625, -0.00330352783203125, 0.009613037109375, 0.003093719482421875, -0.01806640625, -0.01082611083984375, 0.006771087646484375, 0.0142669677734375, 0.025238037109375, -0.038543701171875, 0.0020275115966796875, 0.0276641845703125, 0.02777099609375, -0.01074981689453125, 0.0215606689453125, 0.0477294921875, 0.047943115234375, 0.0010986328125, -0.0042877197265625, 0.01031494140625, -0.10528564453125, 0.011474609375, 0.04736328125, 0.037628173828125, 0.026092529296875, 0.007537841796875, 0.0184478759765625, 0.08599853515625, -0.012542724609375, 0.005939483642578125, -0.00440216064453125, 0.0053558349609375, 0.0311126708984375, 0.0266571044921875, 0.00655364990234375, 0.016693115234375, -0.0161895751953125, 0.01171112060546875, 0.0308990478515625, -0.04449462890625, -0.033233642578125, -0.0207977294921875, 0.0292205810546875, 0.01245880126953125, -0.0040130615234375, -0.001194000244140625, -0.0195465087890625, 0.0153350830078125, 0.0271759033203125, 0.0311126708984375, 0.0191802978515625, 0.00324249267578125, 0.00986480712890625, -0.010467529296875, -0.051666259765625, 0.012603759765625, 0.0004863739013671875, -0.0239410400390625, 0.0308074951171875, 0.01041412353515625, 0.002544403076171875, 0.0031604766845703125, 0.0002639293670654297, -0.027862548828125, -0.0007648468017578125, -0.0362548828125, -0.01018524169921875, -0.004337310791015625, -0.0794677734375, 0.007476806640625, -0.0018110275268554688, -0.019866943359375, 0.016143798828125, 0.0209808349609375, 0.048004150390625, 0.0014524459838867188, 0.00984954833984375, -0.0176239013671875, 0.016754150390625, 0.04058837890625, 0.021820068359375, 0.018157958984375, -0.0025005340576171875, 0.0178070068359375, 0.0433349609375, -0.027862548828125, 0.01299285888671875, 0.01189422607421875, -0.015167236328125, 0.0034389495849609375, 0.007568359375, 0.0012683868408203125, -0.0126800537109375, -0.0389404296875, 0.0216217041015625, 0.02191162109375, -0.03472900390625, 0.012847900390625, -0.016204833984375, -0.014862060546875, -0.0024738311767578125, -0.08026123046875, -0.07061767578125, -0.0467529296875, -0.04864501953125, -0.05181884765625, 0.007411956787109375, -0.03155517578125, 0.0271759033203125, 0.004344940185546875, 0.005802154541015625, -0.01519775390625, -0.050048828125, -0.0208740234375, -0.06207275390625, -0.054779052734375, -0.01471710205078125, 0.0206146240234375, 0.0143890380859375, -0.00753021240234375, 0.08233642578125, -0.006610870361328125, -0.055572509765625, -0.03558349609375, -0.0240020751953125, -0.0067291259765625, 0.00460052490234375, -0.01107025146484375, -0.0443115234375, 0.0165557861328125, -0.016815185546875, 0.0021381378173828125, 0.0163726806640625, 0.01161956787109375, 0.00347137451171875, -0.033416748046875, 0.004062652587890625, -0.0242156982421875, 0.07012939453125, 0.0543212890625, -0.0135955810546875, 0.0230865478515625, -0.041534423828125, -0.041229248046875, -0.01204681396484375, -0.04803466796875, 0.0577392578125, 0.0177764892578125, 0.005588531494140625, -0.004833221435546875, 0.044586181640625, 0.0506591796875, -0.006591796875, 0.044708251953125, -0.018096923828125, 0.047088623046875, 0.01305389404296875, 0.02874755859375, -0.073486328125, 0.0252838134765625, -0.0134735107421875, 0.01299285888671875, 0.00899505615234375, 0.0092315673828125, -0.0075531005859375, -0.00998687744140625, -0.05792236328125, -0.06158447265625, 0.030029296875, -0.0183563232421875, 0.0653076171875, -0.0673828125, -0.038726806640625, -0.025848388671875, 0.1181640625, -0.042510986328125, -0.0209197998046875, 0.00537109375, 0.040802001953125, -0.053070068359375, -0.0802001953125, -0.002777099609375, -0.0153961181640625, -0.11846923828125, -0.009063720703125, -0.0158233642578125, -0.0255126953125, -0.0240936279296875, 0.0194854736328125, -0.07049560546875, -0.061920166015625, 0.0219268798828125, 0.007610321044921875, 0.0477294921875, 0.01300048828125, 0.05853271484375, -0.00811767578125, 0.0117034912109375, -0.046478271484375, -0.072509765625, -0.0135955810546875, -0.04052734375, 0.05615234375, 0.00247955322265625, 0.02935791015625, -0.011627197265625, 0.045257568359375, -0.008148193359375, 0.037078857421875, 0.015625, 0.0173797607421875, 0.0229644775390625, -0.01444244384765625, 0.020965576171875, -0.03460693359375, -0.0106048583984375, -0.0016260147094726562, -0.0280303955078125, 0.04400634765625, -0.00817108154296875, 0.004085540771484375, 0.0254058837890625, -0.0172119140625, 0.033782958984375, 0.003849029541015625, 0.0038242340087890625, 0.016510009765625, 0.0003361701965332031, -0.00647735595703125, 0.0099945068359375, 0.04449462890625, 0.01395416259765625, 0.01776123046875, -0.00567626953125, 0.022796630859375, 0.059661865234375, 0.024627685546875, -0.0172882080078125, -0.069580078125, 0.0024852752685546875, 0.058746337890625, 0.0435791015625, 0.00983428955078125, 0.0305023193359375, -0.0285491943359375, 0.033477783203125, 0.048797607421875, -0.032501220703125, 0.01496124267578125, 0.06768798828125, 0.00946807861328125, 0.0005769729614257812, -0.01239013671875, -0.0280914306640625, 0.01129150390625, 0.00812530517578125, 0.0036640167236328125, -0.031097412109375, 0.0291595458984375, 0.068359375, -0.006984710693359375, 0.005279541015625, -0.042449951171875, -0.062255859375, 0.0034122467041015625, -0.043609619140625, 0.10784912109375, 0.020294189453125, -0.0008254051208496094, 0.09686279296875, 0.051849365234375, -0.003429412841796875, 0.00896453857421875, -0.01248931884765625, 0.032501220703125, 0.0169677734375, 0.0099334716796875, 0.00904083251953125, -0.00550079345703125, 0.0124664306640625, 0.03717041015625, -0.00823211669921875, -0.0283355712890625, -0.039031982421875, -0.0018911361694335938, -0.004985809326171875, 0.02392578125, -0.00879669189453125, 0.0304718017578125, 0.0014429092407226562, 0.0181427001953125, 0.0110015869140625, -0.01218414306640625, -0.034210205078125, -0.012451171875, 0.024749755859375, 0.00226593017578125, -0.0164642333984375, 0.0105133056640625, 0.0245208740234375, -0.0005745887756347656, 0.0035572052001953125, -0.003940582275390625, -0.003582000732421875, -0.01132965087890625, 0.0251922607421875, 0.0028533935546875, 0.020904541015625, 0.0244598388671875, -0.016754150390625, 0.046051025390625, -0.0290985107421875, -0.0031871795654296875, -0.0034160614013671875, 0.0498046875, -0.0121917724609375, -0.0186614990234375, 0.0328369140625, -0.010772705078125, -0.004878997802734375, -0.00479888916015625, 0.0224456787109375, -0.016510009765625, 0.0198516845703125, 0.0053863525390625, 0.0024394989013671875, -0.0016965866088867188, -0.01338958740234375, -0.0016222000122070312, -0.0231781005859375, -0.01300048828125, 0.0416259765625, -0.059173583984375, 0.01541900634765625, 0.0186920166015625, -0.045257568359375, 0.01873779296875, -0.0129547119140625, -0.0098724365234375, -0.072509765625, 0.0227203369140625, -0.01267242431640625, -0.0227203369140625, -0.0303955078125, 0.0345458984375, 0.003734588623046875, -0.031890869140625, -0.0025005340576171875, 0.0316162109375, 0.021453857421875, 0.006664276123046875, -0.032257080078125, 0.0132904052734375, -0.0205841064453125, 0.001987457275390625, 0.017822265625, -0.0323486328125, -0.01708984375, -0.024749755859375, 0.0157928466796875, 0.00037026405334472656, -0.000637054443359375, -0.0189361572265625, -0.04449462890625, 0.05706787109375, 0.056732177734375, 0.047119140625, -0.001987457275390625, 0.04705810546875, -0.00475311279296875, 0.0289154052734375, 0.0245513916015625, 0.0306396484375, -0.01885986328125, -0.023193359375, 0.016510009765625, -0.0531005859375, -0.03045654296875, -0.032318115234375, 0.0160064697265625, 0.046966552734375, 0.040252685546875, -0.00586700439453125, 0.0179290771484375, 0.0076751708984375, 0.00910186767578125, 0.004150390625, -0.0272216796875, 0.0261077880859375, -0.0125885009765625, 0.046112060546875, 0.017730712890625, 0.0286407470703125, 0.0006914138793945312, -0.0302734375, 0.00664520263671875, 0.01509857177734375, 0.029541015625, -0.0149078369140625, -0.05535888671875, 0.045867919921875, 0.034820556640625, 0.02142333984375, 0.03717041015625, -0.0274658203125, 0.0256195068359375, 0.015838623046875, -0.0125274658203125, -0.0300445556640625, 0.0174560546875, 0.035888671875, 0.00244140625, 0.002666473388671875, 0.04730224609375, -0.00739288330078125, 0.00997161865234375, 0.031280517578125, 0.042083740234375, -0.0389404296875, -0.004291534423828125, -0.028076171875, -0.02532958984375, 0.04718017578125, 0.024627685546875, -0.0298309326171875, -0.047821044921875, 0.01158905029296875, -0.00614166259765625, -0.0008220672607421875, 0.0140533447265625, 0.0180816650390625, -0.003124237060546875, 0.0018930435180664062, 0.00983428955078125, -0.0115203857421875, -0.016998291015625, -0.051239013671875, 0.022979736328125, -0.047149658203125, -0.0151519775390625, -0.0001817941665649414, 0.0050506591796875, -0.01221466064453125, -0.0247650146484375, 0.038848876953125, -0.0257415771484375, 0.01241302490234375, -0.01474761962890625, -0.0139312744140625, 0.057220458984375, 0.037109375, -0.01323699951171875, -0.007747650146484375, -0.00728607177734375, 0.0283660888671875, 0.002170562744140625, -0.00508880615234375, 0.037078857421875, -0.007457733154296875, -0.02911376953125, 0.0309295654296875, -0.01812744140625, -0.038604736328125, -0.0197906494140625, -0.00003921985626220703, 0.082763671875, -0.058380126953125, -0.0008831024169921875, 0.03387451171875, 0.023223876953125, -0.007289886474609375, -0.01360321044921875, 0.061981201171875, -0.037384033203125, 0.011474609375, 0.0137176513671875, 0.0286712646484375, -0.0270538330078125, -0.0158233642578125, -0.02325439453125, 0.038330078125, -0.03271484375, -0.00420379638671875, 0.0408935546875, 0.01308441162109375, -0.014434814453125, 0.0051116943359375, -0.017120361328125, 0.01219940185546875, -0.02069091796875, 0.0112152099609375, -0.07305908203125, -0.0168304443359375, -0.0198974609375, 0.054931640625, 0.06573486328125, 0.00864410400390625, -0.0229339599609375, 0.007358551025390625, 0.07958984375, 0.0426025390625, 0.005535125732421875, 0.0264892578125, 0.001922607421875, -0.0029811859130859375, 0.031341552734375, -0.0027446746826171875, 0.0361328125, -0.0135498046875, -0.027496337890625, 0.0007486343383789062, 0.0030460357666015625, -0.0113983154296875, 0.0174407958984375, 0.014892578125, -0.036468505859375, 0.00705718994140625, 0.0270538330078125, -0.033538818359375, 0.009002685546875, 0.022857666015625, 0.03228759765625, -0.04437255859375, -0.03924560546875, -0.0114593505859375, 0.038482666015625, -0.0042266845703125, 0.0245361328125, -0.004146575927734375, -0.00021016597747802734, 0.0133819580078125, -0.00580596923828125, -0.0019779205322265625, 0.0190582275390625, -0.0085296630859375, 0.0313720703125, 0.0196685791015625, 0.01024627685546875, -0.01898193359375, 0.032562255859375, -0.00623321533203125, 0.025115966796875, -0.05230712890625, -0.0008955001831054688, 0.01485443115234375, 0.00159454345703125, -0.0208740234375, -0.0291900634765625, 0.00038170814514160156, -0.0236053466796875, -0.01427459716796875, -0.041046142578125, -0.0181884765625, 0.04620361328125, 0.0257720947265625, -0.0092010498046875, -0.00075531005859375, -0.0160369873046875, -0.03363037109375, -0.0170745849609375, -0.009368896484375, 0.006725311279296875, 0.0033054351806640625, 0.007633209228515625, 0.0231475830078125, 0.039581298828125, 0.01102447509765625, -0.0222320556640625, 0.0206298828125, 0.005641937255859375, 0.0174713134765625, -0.0152587890625, 0.00531005859375, -0.0005350112915039062, 0.0312042236328125, -0.0135650634765625, 0.02337646484375, 0.01629638671875, 0.019927978515625, -0.0209503173828125, -0.0208892822265625, -0.024688720703125, -0.03204345703125, 0.03778076171875, -0.048858642578125, 0.061981201171875, 0.061248779296875, -0.0010194778442382812, -0.0203704833984375, -0.0284576416015625, 0.1209716796875, -0.0049591064453125, -0.01503753662109375, 0.0273590087890625, -0.001049041748046875, 0.0037097930908203125, 0.013824462890625, -0.05279541015625, 0.0309295654296875, -0.043853759765625, -0.0092926025390625, -0.01128387451171875, 0.025970458984375, -0.0211944580078125, 0.0211639404296875, 0.01323699951171875, 0.00858306884765625, 0.033782958984375, -0.043609619140625, 0.0034008026123046875, 0.009735107421875, 0.041290283203125, -0.0028095245361328125, -0.01053619384765625, 0.00164794921875, -0.08331298828125, -0.04132080078125, -0.031890869140625, 0.0323486328125, 0.0038433074951171875, 0.001735687255859375, 0.022247314453125, 0.0294189453125, 0.01190948486328125, 0.008880615234375, 0.0060577392578125, 0.00836181640625, 0.002105712890625, 0.0245513916015625, 0.0247039794921875, -0.0236663818359375, -0.07025146484375, -0.00901031494140625, 0.03961181640625, -0.0178985595703125, 0.032440185546875, -0.0225677490234375, 0.01678466796875, -0.0411376953125, -0.034881591796875, -0.046844482421875, -0.054473876953125, -0.05535888671875, 0.004367828369140625, -0.01117706298828125, -0.049835205078125, -0.052276611328125, 0.00897979736328125, 0.05047607421875, -0.004329681396484375, 0.0670166015625, -0.019500732421875, 0.13427734375, 0.05560302734375, -0.0457763671875, -0.0248260498046875, -0.00347137451171875, -0.0250091552734375, -0.0018672943115234375, -0.01165008544921875, 0.022216796875, 0.0023403167724609375, -0.0751953125, 0.018463134765625, 0.09088134765625, 0.0716552734375, -0.00585174560546875, 0.029510498046875, 0.0306549072265625, -0.0430908203125, 0.0501708984375, -0.0089263916015625, -0.0213623046875, -0.037506103515625, -0.0040435791015625, 0.04376220703125, -0.027069091796875, 0.021942138671875, -0.059814453125, -0.0107879638671875, 0.049530029296875, 0.017181396484375, -0.06646728515625, 0.0202789306640625, -0.01308441162109375, 0.0489501953125, 0.0037288665771484375, 0.022247314453125, 0.008697509765625, 0.0240325927734375, -0.00890350341796875, -0.01171112060546875, -0.00849151611328125, 0.034515380859375, 0.0015611648559570312, 0.0031948089599609375, -0.01461029052734375, -0.004978179931640625, 0.05950927734375, 0.022125244140625, 0.01206207275390625, 0.06915283203125, -0.03033447265625, -0.0015668869018554688, 0.033538818359375, 0.0082855224609375, -0.040618896484375, -0.08819580078125, -0.005645751953125, 0.00039768218994140625, 0.0021343231201171875, -0.034149169921875, 0.0386962890625, 0.03594970703125, -0.01910400390625, -0.050445556640625, -0.007171630859375, -0.0020465850830078125, -0.0247955322265625, -0.0390625, 0.0283660888671875, -0.01061248779296875, -0.0006852149963378906, -0.0096893310546875, -0.0222320556640625, 0.005462646484375, 0.024078369140625, 0.0261688232421875, 0.01091766357421875, 0.024688720703125, 0.02734375, -0.09295654296875, 0.0005583763122558594, -0.0240631103515625, 0.031402587890625, 0.001983642578125, -0.0117340087890625, 0.01004791259765625, 0.043304443359375, -0.018035888671875, -0.052154541015625, 0.0093536376953125, -0.0222015380859375, -0.0022449493408203125, -0.023956298828125, -0.0125274658203125, -0.0323486328125, 0.03961181640625, 0.01432037353515625, -0.004299163818359375, 0.01134490966796875, -0.037139892578125, -0.0182647705078125, -0.01122283935546875, 0.006870269775390625, 0.0166473388671875, -0.045013427734375, 0.016265869140625, 0.014129638671875, -0.0175933837890625, -0.0100555419921875, 0.0292510986328125, -0.0445556640625, 0.00939178466796875, 0.004222869873046875, 0.00489044189453125, -0.0867919921875, -0.0088043212890625, 0.0251922607421875, 0.0012903213500976562, 0.053619384765625, -0.00701141357421875, 0.0147247314453125, 0.057708740234375, 0.06939697265625, -0.02386474609375, -0.017669677734375, -0.0201416015625, 0.054229736328125, -0.037017822265625, 0.037384033203125, -0.06964111328125, 0.004772186279296875, -0.0026569366455078125, 0.0031414031982421875, -0.022369384765625, -0.0306549072265625, 0.00530242919921875, 0.04339599609375, -0.0191802978515625, 0.107666015625, 0.0027904510498046875, 0.0052642822265625, -0.00582122802734375, 0.03802490234375, -0.028106689453125, 0.002956390380859375, -0.00041985511779785156, -0.038299560546875, 0.0006389617919921875, -0.007091522216796875, 0.01213836669921875, -0.04986572265625, 0.0182342529296875, -0.003444671630859375, 0.00846099853515625, 0.01873779296875 ]
9b7e2bd9b8a82aa59ac3567655308bb38c69d9e4
Wordpress Stackexchange Q: Best Practice for PHP When doing a template such as single.php and you have php wrapped in html, is it best to : * *Start + Stop PHP? for example <h1 class="post-tilte"><?php the_title(); ?></h1> <p class="post-content"><?php the_content();?></p> Or *Echo HTML and Escape PHP? For example - <?php echo '<h1 class="post-title">' . get_the_title() . '</h1> <p class="post-content"' . get_the_content() . '</p> I dont have a prefreed choice and find myself doing both, just curious to hear some thoughts A: Just as additional information. WordPress has handbooks for PHP & HTML on best practice regarding coding standards, also for CSS, JavaScript and Accessibility. You might find them helpful for getting deeper into the matter.
Q: Best Practice for PHP When doing a template such as single.php and you have php wrapped in html, is it best to : * *Start + Stop PHP? for example <h1 class="post-tilte"><?php the_title(); ?></h1> <p class="post-content"><?php the_content();?></p> Or *Echo HTML and Escape PHP? For example - <?php echo '<h1 class="post-title">' . get_the_title() . '</h1> <p class="post-content"' . get_the_content() . '</p> I dont have a prefreed choice and find myself doing both, just curious to hear some thoughts A: Just as additional information. WordPress has handbooks for PHP & HTML on best practice regarding coding standards, also for CSS, JavaScript and Accessibility. You might find them helpful for getting deeper into the matter. A: As explained in above answer, the first method is designer friendly & second method maybe suitable in cases of plugins and complex php codes where the number of html tags are only few. But most of WordPress template tags has before and after parameters and its more appropriate to use your html codes inside of function call. for example in the case of the_title it has three parameters the_title( $before, $after, $echo ); you can pass your html to before and after parameters like below the_title( '<h2 class="title">', '</h2>', true ); the advantages of this method is * *Designer Friendly *will not print out html tags if title is empty *can be used in complex php codes as well as in simple template files A: That's question is only relevant, because WordPress use a mix from a coding language and layout language. If you would use a template language, syntax, than is this topic not relevant. But to your question. If you use your example source for a Theme, much more layout language like html, then I prefer the first one - it is much more readable for designer and users, there must read the markup. It is easier to create an overview about the markup, have you the open and closing tags etc. For the include in plugins, code with more logic and flow is the second example easier to implement. The main topic is php, not markup and this should it visible in the source. That's also a point to think about to exclude this markup in template files and separate the markup from the logic. A: The first method is preferable because: * *It clearly separates the fixed HTML layout from the dynamic contents. *It is easier to read. *It is better supported by syntax highlighting in most editors, because the in-string html attributes are usually not recognized. *It prevents you from intermingling HTML and PHP too easily. Because of the reasons stated above, the first method leads to code that is easier to understand and thus easier to maintain. In my experience, in some situations, it can appear to be more convenient to use the second method. However, that is usually due to weak (software) design and should be seen as warning sign. A: You're code example is marginal because it only shows two lines of code, but I believe the overall answer is quite situational. If you are using a PHP line within an HTML block use the first method. If you are using an HTML line within a PHP block go with the second one.
wordpress
{ "language": "en", "length": 545, "provenance": "stackexchange_00019.jsonl.gz:473720", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258277" }
[ 0.041900634765625, -0.01358795166015625, 0.007541656494140625, -0.01399993896484375, 0.0013513565063476562, -0.0195465087890625, 0.0411376953125, -0.0235595703125, -0.004364013671875, 0.00238800048828125, 0.01526641845703125, 0.0115966796875, -0.0197601318359375, -0.04888916015625, 0.04168701171875, -0.01087188720703125, 0.0278472900390625, -0.047882080078125, -0.005615234375, -0.0023822784423828125, -0.005290985107421875, 0.01605224609375, 0.0179290771484375, -0.00701141357421875, -0.0034313201904296875, -0.10443115234375, 0.07647705078125, -0.028228759765625, 0.00862884521484375, -0.039031982421875, 0.001369476318359375, 0.03826904296875, 0.033050537109375, 0.05029296875, -0.062103271484375, 0.037078857421875, -0.04443359375, 0.04071044921875, 0.0019216537475585938, 0.0284576416015625, -0.0110931396484375, 0.016510009765625, 0.017608642578125, -0.0145416259765625, -0.00922393798828125, -0.0031375885009765625, -0.0144195556640625, -0.0247802734375, 0.01177215576171875, -0.0135498046875, 0.04644775390625, -0.0303955078125, 0.04052734375, -0.028076171875, -0.0168609619140625, 0.0291595458984375, 0.0164031982421875, -0.0256500244140625, 0.0276031494140625, -0.01139068603515625, -0.03515625, -0.0265960693359375, 0.03167724609375, -0.0207977294921875, 0.0140228271484375, -0.0142059326171875, 0.0220794677734375, 0.039520263671875, -0.039642333984375, 0.0004901885986328125, 0.01279449462890625, -0.02642822265625, 0.01073455810546875, -0.0782470703125, -0.00031566619873046875, 0.05126953125, -0.020751953125, -0.01451873779296875, 0.0039520263671875, -0.026763916015625, -0.0190887451171875, 0.03143310546875, -0.01319122314453125, -0.07672119140625, 0.033203125, -0.04266357421875, -0.030853271484375, 0.00923919677734375, -0.01358795166015625, -0.020782470703125, -0.025787353515625, -0.0015134811401367188, 0.0099639892578125, -0.038330078125, -0.0265960693359375, -0.0185699462890625, -0.007358551025390625, -0.00982666015625, 0.0233001708984375, 0.007678985595703125, 0.005279541015625, -0.028564453125, 0.025299072265625, -0.0208587646484375, 0.0148773193359375, 0.06842041015625, -0.0176544189453125, 0.00911712646484375, 0.056488037109375, 0.005153656005859375, 0.0259246826171875, 0.0166015625, -0.01218414306640625, -0.038726806640625, -0.01006317138671875, 0.037841796875, -0.01215362548828125, 0.0280303955078125, 0.0261688232421875, 0.0274505615234375, 0.0153961181640625, 0.027099609375, 0.04742431640625, -0.04949951171875, -0.0212554931640625, -0.0242156982421875, -0.0312042236328125, -0.05499267578125, 0.0083160400390625, -0.00379180908203125, -0.01151275634765625, -0.0007295608520507812, 0.01145172119140625, 0.05047607421875, 0.00997161865234375, -0.0134124755859375, 0.014404296875, 0.03472900390625, -0.00004088878631591797, 0.0013370513916015625, -0.004444122314453125, -0.01512908935546875, 0.008270263671875, -0.0278167724609375, -0.031707763671875, 0.02972412109375, 0.0287933349609375, 0.0007162094116210938, -0.033721923828125, -0.09234619140625, 0.037811279296875, -0.044586181640625, 0.0217437744140625, -0.0273590087890625, 0.00937652587890625, -0.043487548828125, -0.0276947021484375, -0.007289886474609375, 0.034637451171875, -0.005767822265625, -0.01108551025390625, -0.013427734375, 0.026275634765625, -0.053680419921875, -0.055511474609375, 0.014190673828125, -0.045684814453125, -0.005413055419921875, 0.01142120361328125, -0.059173583984375, 0.0023403167724609375, -0.0167083740234375, 0.00807952880859375, -0.01320648193359375, -0.002048492431640625, 0.0297393798828125, 0.004001617431640625, -0.0205841064453125, 0.0208892822265625, 0.0350341796875, -0.0117340087890625, -0.02032470703125, 0.033721923828125, -0.0214080810546875, -0.07208251953125, 0.047882080078125, -0.002635955810546875, 0.045196533203125, 0.0287628173828125, -0.0031490325927734375, 0.04534912109375, 0.03704833984375, -0.04486083984375, 0.04083251953125, 0.016845703125, -0.0289306640625, -0.04632568359375, -0.01934814453125, -0.01000213623046875, -0.0153045654296875, -0.023223876953125, -0.00011032819747924805, 0.0202484130859375, 0.0033130645751953125, -0.00504302978515625, -0.0155181884765625, -0.007503509521484375, 0.033966064453125, -0.044677734375, -0.01221466064453125, 0.011627197265625, -0.0247955322265625, 0.01085662841796875, -0.018310546875, -0.0061492919921875, 0.011932373046875, -0.01129150390625, 0.031219482421875, 0.011138916015625, 0.04388427734375, 0.01322174072265625, -0.02178955078125, 0.0175323486328125, 0.00884246826171875, 0.06317138671875, -0.02099609375, -0.00909423828125, -0.0287628173828125, -0.0003070831298828125, 0.00847625732421875, -0.0526123046875, 0.04248046875, -0.0008955001831054688, 0.039520263671875, -0.018280029296875, -0.00118255615234375, -0.01270294189453125, -0.01308441162109375, -0.008636474609375, 0.032806396484375, 0.0232696533203125, 0.058349609375, 0.0004017353057861328, 0.01454925537109375, 0.005702972412109375, -0.0279998779296875, 0.03515625, -0.0309906005859375, -0.0127716064453125, 0.008209228515625, 0.0098419189453125, -0.01415252685546875, 0.0301971435546875, -0.040252685546875, -0.0041046142578125, 0.047882080078125, -0.0276947021484375, -0.01517486572265625, -0.004726409912109375, -0.01396942138671875, 0.01486968994140625, -0.043426513671875, -0.0202178955078125, -0.0172119140625, 0.019134521484375, -0.00193023681640625, 0.02325439453125, 0.0251312255859375, 0.00193023681640625, -0.006175994873046875, -0.00621795654296875, -0.0202178955078125, -0.013336181640625, 0.04638671875, 0.0193328857421875, -0.004291534423828125, -0.035797119140625, -0.006755828857421875, -0.01715087890625, 0.008392333984375, -0.0030765533447265625, 0.0161285400390625, 0.018341064453125, -0.013519287109375, 0.01094818115234375, -0.0259552001953125, 0.01885986328125, -0.0031261444091796875, 0.0482177734375, 0.01010894775390625, 0.0290985107421875, 0.015472412109375, -0.039276123046875, 0.072021484375, 0.016326904296875, -0.0411376953125, 0.042266845703125, 0.0021953582763671875, 0.00567626953125, 0.0299072265625, 0.033538818359375, 0.0298309326171875, 0.01486968994140625, -0.0262908935546875, -0.007289886474609375, 0.048583984375, 0.051177978515625, -0.05108642578125, -0.035797119140625, -0.0211944580078125, -0.00937652587890625, -0.0189971923828125, 0.0141143798828125, 0.105224609375, -0.01038360595703125, -0.060089111328125, 0.029541015625, 0.033447265625, -0.035186767578125, -0.07177734375, 0.003509521484375, -0.060699462890625, 0.021240234375, -0.002819061279296875, -0.032440185546875, -0.0278472900390625, 0.041107177734375, -0.0033416748046875, 0.01500701904296875, -0.030914306640625, -0.10247802734375, -0.0845947265625, -0.1048583984375, -0.0092926025390625, -0.005405426025390625, 0.02276611328125, -0.00312042236328125, 0.031768798828125, -0.00025010108947753906, -0.044891357421875, 0.0059661865234375, -0.0201568603515625, -0.0123443603515625, 0.01245880126953125, -0.00649261474609375, -0.017730712890625, -0.03448486328125, 0.0258941650390625, -0.07098388671875, -0.03057861328125, 0.0159912109375, -0.04241943359375, -0.017791748046875, -0.024688720703125, 0.004024505615234375, 0.0233154296875, 0.01445770263671875, -0.021820068359375, 0.02984619140625, -0.046142578125, -0.049713134765625, 0.01678466796875, -0.057525634765625, 0.01103973388671875, 0.042022705078125, -0.0158233642578125, 0.01255035400390625, -0.0049591064453125, -0.0293426513671875, 0.00514984130859375, -0.02581787109375, -0.0305328369140625, 0.045196533203125, -0.004772186279296875, 0.006420135498046875, 0.0411376953125, -0.03424072265625, -0.028289794921875, -0.012908935546875, -0.0274505615234375, 0.010986328125, 0.002239227294921875, -0.020294189453125, -0.028289794921875, -0.0243988037109375, 0.060577392578125, 0.01483154296875, 0.0208740234375, -0.0260009765625, -0.03814697265625, 0.000006020069122314453, 0.071533203125, -0.043426513671875, -0.007476806640625, 0.040283203125, 0.0032253265380859375, -0.031402587890625, -0.01629638671875, -0.0819091796875, -0.0037784576416015625, -0.027313232421875, 0.0033588409423828125, 0.00377655029296875, -0.02105712890625, -0.0262298583984375, -0.0157928466796875, -0.037994384765625, -0.0152587890625, -0.007843017578125, -0.0298919677734375, 0.01488494873046875, 0.00260162353515625, -0.0156097412109375, 0.01041412353515625, 0.017608642578125, -0.071533203125, -0.06109619140625, -0.029571533203125, -0.020599365234375, 0.068115234375, 0.027587890625, -0.0206298828125, -0.0241241455078125, 0.0306396484375, -0.048858642578125, 0.0016660690307617188, 0.01186370849609375, 0.044586181640625, -0.00498199462890625, 0.0172271728515625, 0.00655364990234375, -0.0158233642578125, -0.0347900390625, -0.0125579833984375, -0.001781463623046875, 0.028961181640625, -0.015655517578125, -0.01522064208984375, -0.00460052490234375, 0.0079498291015625, -0.07073974609375, -0.037078857421875, 0.00026988983154296875, 0.0006122589111328125, -0.01788330078125, 0.01404571533203125, -0.0056304931640625, -0.062469482421875, 0.0892333984375, 0.0584716796875, -0.01168060302734375, -0.03009033203125, 0.05621337890625, 0.01593017578125, -0.07562255859375, -0.037750244140625, -0.0007734298706054688, 0.0362548828125, -0.02813720703125, 0.032684326171875, 0.01200103759765625, -0.0364990234375, 0.08172607421875, -0.0205535888671875, 0.005825042724609375, -0.0189361572265625, 0.05908203125, -0.0018987655639648438, -0.0020732879638671875, 0.007038116455078125, -0.0007638931274414062, -0.0037441253662109375, 0.00836944580078125, 0.0002989768981933594, -0.025909423828125, 0.0084381103515625, 0.008453369140625, -0.0193328857421875, 0.045440673828125, 0.01338958740234375, -0.03564453125, -0.00913238525390625, 0.03802490234375, 0.023284912109375, 0.033843994140625, 0.01288604736328125, 0.034637451171875, 0.02886962890625, -0.006641387939453125, 0.0126953125, 0.007091522216796875, 0.0182952880859375, 0.017578125, 0.008697509765625, 0.00325775146484375, 0.0011434555053710938, -0.00508880615234375, 0.0107879638671875, 0.01457977294921875, -0.0266265869140625, -0.0164947509765625, 0.01678466796875, -0.0118865966796875, -0.01348876953125, 0.0418701171875, 0.040771484375, 0.00450897216796875, -0.025970458984375, -0.02105712890625, 0.00244903564453125, 0.00965118408203125, -0.038848876953125, -0.046295166015625, 0.022064208984375, -0.0406494140625, 0.00746917724609375, -0.000705718994140625, 0.0149993896484375, 0.004547119140625, -0.018951416015625, 0.038238525390625, 0.013519287109375, -0.0029582977294921875, 0.0157012939453125, 0.0088348388671875, 0.0030460357666015625, -0.035003662109375, -0.00019550323486328125, -0.028045654296875, -0.0108795166015625, 0.00479888916015625, 0.032012939453125, -0.0028553009033203125, -0.007701873779296875, 0.0224151611328125, -0.00925445556640625, -0.02587890625, 0.019866943359375, 0.0218353271484375, -0.03717041015625, -0.006664276123046875, 0.024200439453125, 0.00972747802734375, 0.020233154296875, -0.0161590576171875, 0.0340576171875, 0.005855560302734375, 0.030242919921875, -0.0169677734375, -0.0272674560546875, 0.0151214599609375, 0.0284576416015625, 0.03167724609375, -0.023773193359375, -0.00885772705078125, -0.025665283203125, 0.00782012939453125, -0.0413818359375, -0.013946533203125, 0.06414794921875, -0.00726318359375, 0.03680419921875, -0.032928466796875, -0.01267242431640625, -0.021575927734375, 0.005184173583984375, 0.0194091796875, 0.0023956298828125, -0.07476806640625, 0.024566650390625, -0.07220458984375, 0.00543212890625, -0.0408935546875, -0.0576171875, -0.04205322265625, -0.006381988525390625, 0.0018215179443359375, -0.006740570068359375, 0.0115966796875, -0.004299163818359375, -0.028717041015625, 0.044921875, 0.0182342529296875, 0.0638427734375, -0.045684814453125, 0.08905029296875, 0.0110931396484375, 0.056732177734375, -0.001617431640625, 0.0318603515625, 0.006893157958984375, -0.00792694091796875, 0.01325225830078125, -0.0223388671875, -0.034271240234375, -0.01461029052734375, -0.0111541748046875, -0.0082244873046875, 0.02154541015625, -0.0159759521484375, 0.0127105712890625, -0.025726318359375, 0.00957489013671875, -0.0160064697265625, 0.019012451171875, -0.045379638671875, -0.04718017578125, 0.0106201171875, 0.0307159423828125, 0.0234375, -0.0401611328125, -0.036376953125, -0.006473541259765625, 0.0251007080078125, -0.03924560546875, 0.023193359375, 0.0097198486328125, -0.0114288330078125, 0.01274871826171875, 0.013916015625, 0.0399169921875, -0.0029754638671875, 0.03564453125, 0.026947021484375, 0.02862548828125, -0.0206298828125, -0.0396728515625, 0.05511474609375, 0.01108551025390625, -0.022003173828125, 0.024261474609375, -0.023193359375, 0.040130615234375, 0.06317138671875, 0.08197021484375, -0.073974609375, 0.004726409912109375, 0.0169219970703125, -0.060272216796875, -0.0135040283203125, -0.02020263671875, -0.0146026611328125, -0.06414794921875, 0.06488037109375, 0.0185394287109375, -0.0169677734375, 0.00702667236328125, -0.0143890380859375, 0.00868988037109375, -0.0130462646484375, 0.05169677734375, 0.00811004638671875, -0.08892822265625, 0.004795074462890625, 0.04937744140625, -0.01107025146484375, -0.024993896484375, 0.00002872943878173828, -0.006107330322265625, -0.03851318359375, -0.037933349609375, -0.006404876708984375, -0.0009508132934570312, -0.01436614990234375, 0.01003265380859375, 0.034637451171875, -0.018157958984375, 0.04693603515625, -0.017486572265625, 0.032257080078125, 0.00998687744140625, -0.004985809326171875, -0.047821044921875, 0.01580810546875, 0.0191650390625, 0.030181884765625, -0.0244140625, 0.0194091796875, -0.046905517578125, -0.0012989044189453125, -0.00804901123046875, -0.02911376953125, 0.04754638671875, -0.0207366943359375, -0.0215606689453125, -0.01323699951171875, -0.00156402587890625, 0.029327392578125, -0.0367431640625, 0.005466461181640625, -0.06329345703125, 0.00032591819763183594, -0.016876220703125, -0.018798828125, 0.0113677978515625, -0.044403076171875, -0.04949951171875, 0.0584716796875, 0.0271453857421875, 0.002925872802734375, 0.01242828369140625, 0.0293426513671875, -0.04193115234375, -0.00966644287109375, -0.01788330078125, 0.052398681640625, -0.018035888671875, 0.00908660888671875, -0.0258636474609375, 0.01983642578125, 0.0186004638671875, 0.00885009765625, 0.0122833251953125, 0.0005254745483398438, -0.0053558349609375, 0.02703857421875, 0.076416015625, 0.0338134765625, -0.0023517608642578125, 0.0114288330078125, 0.0258026123046875, 0.038421630859375, -0.024566650390625, -0.040374755859375, 0.0227813720703125, -0.043060302734375, -0.002872467041015625, 0.07171630859375, 0.0086517333984375, -0.0227203369140625, 0.020172119140625, -0.007701873779296875, -0.0928955078125, 0.04107666015625, 0.0452880859375, 0.0311737060546875, -0.0229949951171875, 0.056396484375, 0.006168365478515625, -0.030914306640625, -0.0128326416015625, -0.03961181640625, 0.029693603515625, 0.004322052001953125, 0.039825439453125, 0.03509521484375, 0.0203704833984375, 0.00811767578125, -0.01611328125, 0.0187530517578125, -0.002887725830078125, -0.01346588134765625, 0.01091766357421875, 0.0012607574462890625, 0.035308837890625, -0.05194091796875, -0.032135009765625, 0.01393890380859375, 0.0230560302734375, -0.007503509521484375, 0.0016326904296875, 0.00737762451171875, 0.0159149169921875, -0.00498199462890625, -0.024749755859375, -0.006427764892578125, -0.005828857421875, 0.006366729736328125, -0.0305633544921875, -0.018218994140625, 0.060150146484375, -0.00897979736328125, 0.015777587890625, -0.0234527587890625, 0.007778167724609375, -0.01474761962890625, -0.0244140625, 0.002780914306640625, 0.002361297607421875, 0.039154052734375, 0.030242919921875, 0.0240020751953125, -0.01520538330078125, -0.0166473388671875, 0.00852203369140625, 0.0192718505859375, -0.00847625732421875, -0.0252227783203125, -0.0178985595703125, -0.056427001953125, 0.02191162109375, 0.0249786376953125, 0.05230712890625, 0.00887298583984375, 0.037933349609375, 0.0140838623046875, -0.007080078125, 0.00920867919921875, 0.0222930908203125, -0.005054473876953125, 0.0000016689300537109375, -0.0191497802734375, -0.01331329345703125, -0.0007185935974121094, -0.02020263671875, 0.0015764236450195312, 0.00830841064453125, 0.02935791015625, -0.0238189697265625, 0.04150390625, 0.0008516311645507812, -0.0205841064453125, 0.0406494140625, -0.034393310546875, 0.06146240234375, -0.0011262893676757812, -0.0244140625, 0.0038661956787109375, 0.0286102294921875, -0.055908203125, -0.01137542724609375, 0.0311737060546875, -0.0018825531005859375, 0.0029277801513671875, 0.004833221435546875, 0.025970458984375, 0.0044403076171875, -0.01313018798828125, -0.0026149749755859375, -0.0101470947265625, 0.02862548828125, 0.0114288330078125, -0.044677734375, -0.044097900390625, -0.056304931640625, 0.10516357421875, 0.05517578125, 0.04974365234375, -0.043914794921875, 0.071533203125, 0.003936767578125, 0.01511383056640625, -0.0254974365234375, -0.0052490234375, 0.0257415771484375, -0.0179901123046875, -0.0005927085876464844, -0.01454925537109375, -0.061553955078125, 0.021453857421875, 0.040283203125, -0.0112762451171875, 0.019073486328125, 0.01551055908203125, 0.00458526611328125, -0.02886962890625, 0.034515380859375, -0.01152801513671875, -0.0130615234375, -0.01299285888671875, 0.0059356689453125, 0.043212890625, 0.0380859375, -0.007110595703125, 0.020233154296875, 0.0222625732421875, -0.0232696533203125, 0.0072174072265625, -0.038299560546875, 0.044769287109375, 0.04254150390625, -0.014129638671875, -0.05712890625, 0.006458282470703125, -0.011505126953125, -0.00206756591796875, 0.01238250732421875, 0.04144287109375, 0.0007371902465820312, -0.058990478515625, -0.003986358642578125, 0.027069091796875, 0.0675048828125, 0.00732421875, 0.04193115234375, 0.006908416748046875, -0.0089569091796875, 0.016998291015625, 0.0307159423828125, -0.005157470703125, -0.005764007568359375, -0.01467132568359375, 0.01043701171875, -0.0283660888671875, -0.038299560546875, -0.08001708984375, -0.05706787109375, 0.025146484375, -0.033599853515625, 0.0482177734375, -0.07452392578125, -0.026336669921875, -0.0202789306640625, -0.01117706298828125, -0.00366973876953125, -0.015655517578125, 0.0217437744140625, -0.00946807861328125, -0.03558349609375, -0.05615234375, 0.01471710205078125, -0.043212890625, 0.03985595703125, 0.07623291015625, -0.032928466796875, 0.00036406517028808594, -0.0016546249389648438, 0.00424957275390625, 0.061126708984375, -0.027618408203125, -0.00025081634521484375, 0.019775390625, 0.0011777877807617188, -0.022186279296875, -0.056365966796875, 0.007724761962890625, -0.03460693359375, -0.0240631103515625, 0.01934814453125, 0.0014905929565429688, 0.0286407470703125, -0.04254150390625, -0.08709716796875, 0.1436767578125, -0.037506103515625, -0.01435089111328125, 0.0018787384033203125, -0.0199737548828125, -0.011260986328125, -0.0012960433959960938, -0.01983642578125, -0.0123748779296875, -0.0188751220703125, 0.038360595703125, -0.0006508827209472656, -0.0008363723754882812, 0.040557861328125, -0.0264739990234375, -0.03350830078125, -0.0078277587890625, -0.006801605224609375, -0.02679443359375, -0.03680419921875, -0.003818511962890625, 0.0224151611328125, 0.0322265625, -0.035552978515625, -0.00983428955078125, 0.024261474609375, 0.052825927734375, 0.00890350341796875, -0.01617431640625, -0.045074462890625, -0.0033588409423828125, 0.07110595703125, 0.058074951171875, 0.0164642333984375, -0.04583740234375, 0.007350921630859375, -0.0167694091796875, -0.034942626953125, 0.01088714599609375, 0.01271820068359375, -0.040008544921875, -0.0273284912109375, 0.0225830078125, -0.002819061279296875, 0.0295867919921875, 0.0049591064453125, -0.004993438720703125, 0.00955963134765625, 0.03680419921875, -0.01043701171875, -0.0288848876953125, -0.0205535888671875, 0.08392333984375, -0.03790283203125, 0.0047454833984375, 0.0155487060546875, 0.0172119140625, 0.0265350341796875, -0.0016307830810546875, 0.048614501953125, 0.029510498046875, -0.025726318359375, -0.00799560546875, 0.047149658203125, 0.00890350341796875, 0.007472991943359375, -0.04608154296875, -0.01995849609375, 0.034881591796875, 0.0210418701171875, 0.057220458984375, -0.03497314453125, 0.0445556640625, 0.03692626953125, -0.0296478271484375, -0.034942626953125, -0.006534576416015625, -0.0158843994140625, 0.026031494140625, 0.014434814453125, -0.01526641845703125, 0.05694580078125, -0.01812744140625, 0.0228118896484375, -0.0209503173828125, 0.053375244140625, -0.03973388671875, 0.049530029296875, 0.01910400390625, 0.00942230224609375, 0.0283355712890625 ]
07f578109a161cdf006fad072842638c7ff51904
Wordpress Stackexchange Q: Notice: wp_get_http is deprecated since version 4.4.0! How can I fix this error: Notice: wp_get_http is <strong>deprecated</strong> since version 4.4.0! Use WP_Http instead. in C:\...\wp-includes\functions.php on line 3828 I try to use Importer and get these error. A: This is a known core issue, see e.g. this ticket. There is work done fixing this issue by a complete rewrite of the importer, but no ETA for it yet. For now as this is only a Notice you can safely ignore it for the time being.
Q: Notice: wp_get_http is deprecated since version 4.4.0! How can I fix this error: Notice: wp_get_http is <strong>deprecated</strong> since version 4.4.0! Use WP_Http instead. in C:\...\wp-includes\functions.php on line 3828 I try to use Importer and get these error. A: This is a known core issue, see e.g. this ticket. There is work done fixing this issue by a complete rewrite of the importer, but no ETA for it yet. For now as this is only a Notice you can safely ignore it for the time being.
wordpress
{ "language": "en", "length": 86, "provenance": "stackexchange_00019.jsonl.gz:473755", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258393" }
[ 0.0546875, 0.0021572113037109375, -0.037506103515625, -0.07861328125, 0.02911376953125, -0.0309600830078125, 0.006198883056640625, 0.01232147216796875, 0.047119140625, -0.0157928466796875, -0.0296630859375, -0.031005859375, -0.045166015625, -0.01727294921875, -0.0161590576171875, -0.044036865234375, 0.040679931640625, -0.0362548828125, -0.0033855438232421875, -0.0037403106689453125, 0.0029850006103515625, 0.010772705078125, -0.00222015380859375, 0.049652099609375, -0.044525146484375, 0.0295867919921875, 0.036529541015625, -0.0218048095703125, -0.037994384765625, -0.0256500244140625, -0.0187835693359375, 0.03369140625, 0.012908935546875, 0.050323486328125, -0.073974609375, -0.0411376953125, 0.0024662017822265625, 0.02569580078125, -0.0243682861328125, 0.0294342041015625, -0.0195770263671875, 0.01922607421875, 0.0015878677368164062, -0.0194244384765625, -0.0298004150390625, -0.0037136077880859375, -0.0166473388671875, -0.024200439453125, -0.021331787109375, 0.06622314453125, -0.009368896484375, -0.019073486328125, -0.017669677734375, 0.04022216796875, -0.0012674331665039062, -0.03570556640625, 0.016937255859375, 0.01044464111328125, 0.0241546630859375, 0.0024356842041015625, -0.03692626953125, 0.0152435302734375, -0.002880096435546875, -0.0499267578125, -0.0018091201782226562, 0.007259368896484375, 0.055206298828125, -0.0087738037109375, -0.047149658203125, 0.0098876953125, 0.0343017578125, -0.01320648193359375, 0.01300048828125, -0.02056884765625, 0.00426483154296875, 0.0003407001495361328, -0.006641387939453125, -0.0185546875, 0.0304412841796875, 0.00536346435546875, -0.00693511962890625, -0.01195526123046875, -0.07440185546875, -0.028106689453125, 0.0491943359375, 0.021820068359375, 0.0028839111328125, -0.0198516845703125, -0.0244903564453125, -0.029144287109375, -0.0290679931640625, -0.09716796875, 0.0005769729614257812, 0.01509857177734375, -0.00743865966796875, -0.03070068359375, 0.0194091796875, 0.04681396484375, 0.034454345703125, 0.0061492919921875, 0.012847900390625, -0.050811767578125, 0.007411956787109375, -0.03955078125, -0.007415771484375, 0.017181396484375, -0.0121002197265625, 0.0215301513671875, 0.039947509765625, 0.0433349609375, 0.01415252685546875, 0.00841522216796875, -0.011260986328125, -0.018463134765625, -0.033477783203125, 0.04510498046875, -0.01244354248046875, -0.01523590087890625, -0.0175323486328125, 0.0160064697265625, 0.0252227783203125, 0.042022705078125, -0.0270233154296875, -0.0228271484375, -0.036224365234375, -0.033721923828125, -0.0098876953125, -0.020782470703125, -0.0277557373046875, 0.0810546875, -0.00438690185546875, -0.01020050048828125, 0.00015354156494140625, 0.0055084228515625, -0.0333251953125, -0.034759521484375, 0.016448974609375, 0.007213592529296875, 0.00557708740234375, 0.0218963623046875, -0.03778076171875, -0.034027099609375, 0.0307464599609375, -0.01812744140625, 0.03265380859375, -0.00101470947265625, 0.0212860107421875, 0.01099395751953125, 0.0089874267578125, 0.0023326873779296875, 0.0137176513671875, -0.00954437255859375, 0.0253753662109375, 0.01751708984375, 0.01337432861328125, 0.00445556640625, 0.062042236328125, -0.052032470703125, -0.03765869140625, -0.038360595703125, 0.046600341796875, -0.0090179443359375, -0.00963592529296875, 0.007518768310546875, -0.02215576171875, 0.00807952880859375, -0.04290771484375, -0.0027008056640625, 0.03570556640625, 0.0557861328125, 0.041778564453125, -0.042572021484375, 0.0276031494140625, 0.034820556640625, -0.00258636474609375, 0.01715087890625, -0.02606201171875, 0.06195068359375, 0.033966064453125, -0.00945281982421875, -0.00714111328125, -0.03936767578125, 0.10089111328125, -0.032958984375, -0.03955078125, 0.0181427001953125, -0.0020046234130859375, 0.03240966796875, 0.037200927734375, -0.0038318634033203125, 0.004085540771484375, 0.0026073455810546875, 0.05706787109375, 0.024688720703125, 0.01239013671875, -0.04217529296875, -0.032379150390625, 0.0224151611328125, -0.035614013671875, -0.054229736328125, -0.0285186767578125, -0.00423431396484375, 0.005031585693359375, 0.0203094482421875, -0.0333251953125, 0.00994873046875, -0.0208282470703125, 0.0247955322265625, 0.0258636474609375, 0.0261688232421875, -0.01175689697265625, 0.00170135498046875, -0.01318359375, 0.0083160400390625, -0.0289154052734375, 0.007465362548828125, -0.063232421875, 0.0150146484375, -0.00498199462890625, 0.01242828369140625, 0.0186767578125, -0.0253143310546875, 0.0129241943359375, -0.027496337890625, 0.0008358955383300781, -0.0011043548583984375, -0.0033130645751953125, 0.0015859603881835938, 0.0311737060546875, 0.016510009765625, 0.056304931640625, 0.0002942085266113281, 0.03936767578125, 0.051666259765625, 0.005523681640625, -0.0075225830078125, 0.0145721435546875, -0.0677490234375, 0.0203704833984375, 0.04266357421875, 0.04345703125, 0.00052642822265625, -0.0292816162109375, -0.05908203125, 0.0167236328125, -0.073486328125, -0.0017824172973632812, -0.03448486328125, -0.0212249755859375, -0.0012769699096679688, 0.002246856689453125, 0.0158538818359375, 0.0243072509765625, 0.01058197021484375, -0.0219879150390625, 0.046356201171875, 0.035552978515625, 0.0113983154296875, -0.028411865234375, 0.0201568603515625, 0.0011835098266601562, -0.005603790283203125, -0.04974365234375, 0.0117034912109375, 0.025054931640625, 0.007442474365234375, 0.0506591796875, 0.05267333984375, 0.017791748046875, -0.028106689453125, -0.007602691650390625, 0.0189056396484375, -0.017242431640625, 0.050689697265625, 0.029083251953125, 0.038116455078125, -0.043914794921875, -0.004962921142578125, 0.00504302978515625, 0.03704833984375, -0.027435302734375, 0.0308074951171875, 0.01202392578125, -0.0201416015625, -0.02691650390625, -0.015655517578125, 0.00909423828125, -0.0391845703125, 0.048553466796875, 0.02618408203125, 0.030792236328125, 0.0236663818359375, -0.0164031982421875, 0.061004638671875, 0.021728515625, -0.01502227783203125, 0.04705810546875, -0.0171356201171875, 0.0035648345947265625, 0.0222930908203125, 0.03387451171875, 0.04327392578125, 0.0277252197265625, -0.0201416015625, -0.0092620849609375, 0.035858154296875, 0.00818634033203125, -0.01351165771484375, -0.0311126708984375, 0.01551055908203125, -0.07769775390625, -0.044403076171875, 0.029632568359375, 0.03582763671875, -0.011688232421875, -0.04547119140625, -0.032867431640625, 0.025848388671875, -0.12939453125, -0.1234130859375, -0.03179931640625, -0.04193115234375, 0.006683349609375, 0.01580810546875, -0.0128173828125, 0.00412750244140625, 0.0242919921875, 0.0109710693359375, -0.0267333984375, -0.006771087646484375, -0.0633544921875, -0.08782958984375, -0.078369140625, -0.0019245147705078125, -0.0279388427734375, 0.026947021484375, -0.00461578369140625, 0.01212310791015625, -0.0159454345703125, -0.0321044921875, -0.0187530517578125, 0.0215606689453125, 0.00689697265625, -0.0157928466796875, -0.0006961822509765625, -0.0452880859375, -0.00738525390625, -0.0160064697265625, 0.0274658203125, 0.00841522216796875, -0.0061492919921875, 0.0213165283203125, -0.0038433074951171875, -0.00696563720703125, -0.0098419189453125, 0.0458984375, 0.01326751708984375, -0.047119140625, -0.0196533203125, -0.060302734375, -0.021881103515625, 0.016448974609375, -0.01117706298828125, 0.03387451171875, -0.007671356201171875, -0.032073974609375, 0.0097198486328125, 0.0281524658203125, -0.02264404296875, 0.020538330078125, 0.005733489990234375, -0.0156097412109375, 0.04046630859375, -0.0255889892578125, -0.049560546875, -0.02593994140625, 0.057281494140625, -0.0005030632019042969, 0.0227813720703125, 0.04156494140625, 0.02960205078125, 0.0262451171875, -0.040557861328125, -0.0201416015625, -0.03509521484375, 0.04302978515625, -0.04241943359375, -0.021484375, -0.0361328125, -0.01537322998046875, -0.0034542083740234375, 0.07073974609375, 0.0209503173828125, -0.0056610107421875, 0.01538848876953125, 0.01374053955078125, -0.06341552734375, -0.010467529296875, -0.052764892578125, 0.021575927734375, 0.029937744140625, -0.028350830078125, -0.019775390625, -0.028594970703125, -0.015869140625, -0.033294677734375, 0.0250091552734375, -0.00946044921875, 0.0295867919921875, -0.01190948486328125, 0.02410888671875, 0.03997802734375, -0.013671875, 0.03839111328125, -0.02752685546875, -0.037994384765625, -0.04827880859375, -0.0105743408203125, -0.02093505859375, 0.0450439453125, 0.010101318359375, -0.020050048828125, -0.0004210472106933594, 0.036834716796875, 0.0099945068359375, -0.0096893310546875, 0.01222991943359375, -0.02569580078125, 0.005397796630859375, 0.03057861328125, 0.00931549072265625, 0.000621795654296875, -0.01358795166015625, -0.055450439453125, -0.06622314453125, -0.02197265625, -0.0008482933044433594, 0.030364990234375, -0.007091522216796875, -0.0017061233520507812, -0.0213470458984375, -0.027313232421875, -0.0052642822265625, 0.056610107421875, 0.0004608631134033203, 0.01181793212890625, -0.0780029296875, -0.043914794921875, 0.0479736328125, 0.0072174072265625, -0.004817962646484375, -0.01049041748046875, 0.0821533203125, 0.025970458984375, -0.028900146484375, -0.008026123046875, 0.0033721923828125, 0.0039043426513671875, -0.03204345703125, 0.0635986328125, 0.0274505615234375, 0.01444244384765625, 0.026458740234375, -0.036224365234375, 0.0285797119140625, 0.0192413330078125, -0.026092529296875, -0.00778961181640625, -0.0452880859375, 0.052703857421875, 0.007320404052734375, -0.0244903564453125, 0.07037353515625, 0.032684326171875, -0.01251983642578125, 0.01039886474609375, 0.0038089752197265625, -0.006336212158203125, -0.03814697265625, -0.0108795166015625, -0.0892333984375, 0.043487548828125, -0.03216552734375, -0.01395416259765625, -0.039306640625, 0.02093505859375, 0.01373291015625, -0.01245880126953125, 0.0079345703125, -0.0650634765625, -0.0160675048828125, -0.04632568359375, 0.031097412109375, -0.043975830078125, -0.0118865966796875, -0.0256195068359375, -0.0214385986328125, 0.04974365234375, 0.0068817138671875, -0.050750732421875, 0.0167694091796875, 0.0079803466796875, 0.02825927734375, 0.0023632049560546875, -0.028564453125, 0.04010009765625, 0.0193634033203125, 0.00019788742065429688, 0.0013551712036132812, -0.0350341796875, -0.00951385498046875, -0.0306396484375, 0.050811767578125, 0.0061187744140625, 0.003116607666015625, -0.0007658004760742188, 0.044525146484375, 0.002300262451171875, 0.0252227783203125, -0.0030956268310546875, -0.002178192138671875, -0.0083160400390625, 0.058502197265625, 0.00012695789337158203, -0.01934814453125, 0.025665283203125, 0.0247344970703125, 0.04583740234375, -0.0521240234375, -0.029876708984375, 0.0499267578125, 0.052459716796875, -0.026153564453125, -0.0272674560546875, 0.007518768310546875, 0.0187530517578125, -0.018463134765625, 0.02496337890625, -0.0003829002380371094, -0.0548095703125, -0.0165863037109375, 0.0114593505859375, 0.018890380859375, -0.0088653564453125, -0.0091400146484375, 0.006134033203125, 0.0292816162109375, 0.01177978515625, -0.028961181640625, -0.06256103515625, 0.0360107421875, 0.060760498046875, 0.016082763671875, -0.0260772705078125, -0.0092315673828125, -0.00453948974609375, 0.01010894775390625, -0.0291748046875, -0.004299163818359375, 0.052001953125, -0.00028705596923828125, -0.01861572265625, -0.006504058837890625, -0.0036334991455078125, -0.006839752197265625, 0.018218994140625, -0.001735687255859375, -0.02703857421875, -0.01666259765625, -0.04693603515625, -0.03564453125, -0.04095458984375, -0.0066375732421875, 0.00968170166015625, -0.039398193359375, 0.0283050537109375, 0.014739990234375, 0.032684326171875, 0.0187530517578125, 0.0061798095703125, -0.01494598388671875, 0.0160064697265625, -0.001220703125, 0.07415771484375, -0.0071563720703125, 0.028045654296875, 0.0171966552734375, -0.01026153564453125, 0.02069091796875, 0.05206298828125, 0.022735595703125, -0.0316162109375, 0.0275421142578125, -0.047637939453125, -0.0579833984375, -0.065673828125, 0.00018274784088134766, 0.035736083984375, 0.035308837890625, -0.020538330078125, -0.0102081298828125, -0.028045654296875, -0.01251983642578125, -0.01413726806640625, 0.04827880859375, 0.004222869873046875, 0.0173492431640625, -0.0221405029296875, -0.00765228271484375, 0.044189453125, 0.012298583984375, 0.005504608154296875, 0.0222930908203125, -0.01201629638671875, 0.0389404296875, -0.0204010009765625, -0.0242767333984375, 0.0230560302734375, 0.0543212890625, 0.000013232231140136719, 0.04840087890625, -0.008056640625, 0.006488800048828125, 0.04150390625, 0.04937744140625, -0.02325439453125, -0.04583740234375, 0.0016412734985351562, 0.00830078125, -0.005382537841796875, -0.0191650390625, -0.0158843994140625, 0.035400390625, 0.0293731689453125, 0.1029052734375, -0.026153564453125, 0.007080078125, 0.06170654296875, -0.049163818359375, -0.0017614364624023438, -0.00661468505859375, -0.037384033203125, -0.059967041015625, 0.05908203125, -0.01044464111328125, -0.010894775390625, 0.006717681884765625, 0.007480621337890625, -0.0027103424072265625, -0.005352020263671875, 0.0711669921875, 0.031219482421875, -0.00945281982421875, 0.005184173583984375, 0.012542724609375, 0.01256561279296875, -0.00818634033203125, 0.054168701171875, -0.0243072509765625, -0.0277862548828125, -0.056396484375, -0.0281524658203125, 0.0447998046875, -0.052215576171875, 0.002407073974609375, 0.03900146484375, 0.0196380615234375, 0.05419921875, 0.005916595458984375, 0.01284027099609375, 0.031005859375, -0.01751708984375, -0.01319122314453125, -0.054656982421875, 0.00811004638671875, 0.024444580078125, -0.051788330078125, 0.023162841796875, 0.000014483928680419922, -0.040313720703125, -0.008819580078125, -0.00421142578125, 0.0849609375, -0.0257568359375, -0.0280303955078125, 0.0140380859375, -0.031402587890625, -0.00806427001953125, -0.0184478759765625, 0.038909912109375, -0.0592041015625, -0.023590087890625, 0.0004169940948486328, -0.006610870361328125, -0.03509521484375, -0.016143798828125, -0.043792724609375, 0.09002685546875, 0.051971435546875, -0.01091766357421875, 0.006744384765625, 0.034912109375, -0.07659912109375, 0.0033054351806640625, -0.0161895751953125, 0.03466796875, -0.01026153564453125, 0.032562255859375, 0.0156707763671875, 0.0085906982421875, 0.037506103515625, 0.0149688720703125, -0.025909423828125, -0.005382537841796875, -0.0011348724365234375, -0.0290069580078125, -0.02093505859375, 0.0171356201171875, -0.00579071044921875, 0.009521484375, -0.0011644363403320312, -0.044708251953125, 0.0202484130859375, -0.0192108154296875, 0.01549530029296875, -0.01297760009765625, 0.00989532470703125, 0.0189056396484375, 0.0171356201171875, 0.005680084228515625, -0.026641845703125, -0.006107330322265625, -0.0217132568359375, -0.01959228515625, 0.00632476806640625, 0.027984619140625, 0.0189056396484375, 0.01491546630859375, -0.021392822265625, -0.00284576416015625, 0.036346435546875, -0.039398193359375, 0.0384521484375, -0.030792236328125, 0.01800537109375, -0.0156707763671875, 0.005748748779296875, 0.02972412109375, -0.038909912109375, -0.013580322265625, 0.0159149169921875, -0.01030731201171875, 0.08563232421875, 0.04864501953125, 0.04833984375, 0.001369476318359375, 0.03350830078125, 0.0272369384765625, 0.0750732421875, -0.051239013671875, -0.0479736328125, 0.0086212158203125, 0.00044155120849609375, 0.01506805419921875, 0.00798797607421875, 0.0201263427734375, -0.050140380859375, -0.0094451904296875, -0.0031280517578125, -0.01386260986328125, 0.005138397216796875, 0.0280609130859375, 0.034912109375, 0.0860595703125, -0.04461669921875, -0.053253173828125, -0.028289794921875, 0.0007572174072265625, 0.0292510986328125, 0.03594970703125, -0.0101470947265625, 0.043792724609375, -0.0105743408203125, -0.0002548694610595703, 0.0029621124267578125, 0.031951904296875, -0.0011920928955078125, -0.01129913330078125, -0.01348876953125, -0.054351806640625, 0.02435302734375, 0.0173187255859375, 0.01367950439453125, 0.005710601806640625, 0.0017824172973632812, 0.0011777877807617188, -0.0110321044921875, 0.01666259765625, 0.054168701171875, -0.01314544677734375, -0.0156707763671875, -0.048431396484375, -0.043792724609375, 0.0009946823120117188, -0.0210723876953125, 0.034149169921875, -0.052978515625, 0.04632568359375, -0.0193634033203125, 0.0340576171875, -0.009521484375, -0.03070068359375, 0.027069091796875, -0.036529541015625, 0.07708740234375, 0.007129669189453125, -0.0205230712890625, 0.00954437255859375, -0.005107879638671875, -0.019866943359375, -0.005435943603515625, 0.01467132568359375, -0.006343841552734375, 0.0248260498046875, -0.0145111083984375, 0.01561737060546875, -0.01161956787109375, 0.01334381103515625, -0.0023555755615234375, 0.01062774658203125, 0.03533935546875, 0.0131072998046875, -0.026763916015625, -0.04144287109375, -0.019805908203125, 0.059844970703125, 0.01142120361328125, 0.04052734375, -0.0205230712890625, 0.0174713134765625, 0.0261993408203125, 0.0175323486328125, -0.0098876953125, 0.032958984375, -0.026641845703125, -0.01352691650390625, 0.032806396484375, -0.01137542724609375, -0.0850830078125, 0.04150390625, 0.01313018798828125, 0.02044677734375, 0.05950927734375, 0.02264404296875, 0.007160186767578125, -0.0318603515625, 0.0108642578125, -0.01666259765625, -0.0283203125, -0.00525665283203125, 0.005016326904296875, 0.023956298828125, 0.00307464599609375, -0.034210205078125, -0.0003809928894042969, 0.0115203857421875, -0.0177154541015625, 0.0104522705078125, 0.0020046234130859375, 0.005645751953125, 0.012542724609375, -0.00807952880859375, 0.0528564453125, -0.048980712890625, -0.044525146484375, 0.041229248046875, -0.019256591796875, -0.0027484893798828125, -0.04248046875, 0.03082275390625, -0.01030731201171875, -0.0174102783203125, 0.00038170814514160156, -0.04364013671875, -0.017974853515625, 0.01096343994140625, 0.00925445556640625, 0.0010843276977539062, 0.00426483154296875, 0.0009121894836425781, 0.012908935546875, -0.0252532958984375, -0.00948333740234375, 0.01422119140625, -0.03558349609375, -0.006069183349609375, 0.01702880859375, 0.047637939453125, 0.01363372802734375, -0.029022216796875, 0.0197296142578125, -0.036041259765625, 0.034637451171875, 0.01458740234375, 0.0267791748046875, 0.00937652587890625, 0.034820556640625, -0.053680419921875, -0.01947021484375, -0.021514892578125, 0.0010156631469726562, -0.0279388427734375, 0.0143890380859375, 0.04522705078125, -0.01519775390625, -0.0675048828125, 0.0017156600952148438, -0.00844573974609375, 0.039794921875, -0.00392913818359375, -0.0200958251953125, -0.0037384033203125, 0.00946807861328125, -0.023162841796875, -0.067138671875, 0.01450347900390625, -0.0865478515625, 0.00010007619857788086, 0.05267333984375, -0.01044464111328125, 0.040557861328125, -0.0247344970703125, -0.12493896484375, 0.07110595703125, -0.0098419189453125, -0.049285888671875, -0.0285186767578125, -0.018768310546875, -0.021881103515625, 0.0252685546875, 0.00555419921875, -0.059417724609375, -0.0013837814331054688, 0.06097412109375, -0.0018177032470703125, 0.048828125, 0.005146026611328125, -0.012664794921875, 0.00577545166015625, 0.019561767578125, 0.02130126953125, 0.0032596588134765625, -0.04052734375, -0.0021152496337890625, 0.03582763671875, 0.004009246826171875, -0.0108184814453125, 0.040802001953125, 0.051483154296875, 0.04156494140625, 0.029144287109375, 0.01021575927734375, -0.029266357421875, -0.01468658447265625, -0.0035457611083984375, 0.04571533203125, 0.005237579345703125, -0.00794219970703125, 0.01708984375, -0.0238494873046875, 0.01515960693359375, 0.0020008087158203125, -0.0109100341796875, -0.0151519775390625, -0.0070037841796875, 0.0096435546875, 0.005092620849609375, 0.01161956787109375, -0.0232696533203125, -0.0142822265625, -0.016204833984375, -0.02435302734375, -0.009368896484375, -0.0176544189453125, -0.0195770263671875, 0.0615234375, -0.03369140625, -0.003376007080078125, 0.005825042724609375, 0.01885986328125, 0.00594329833984375, 0.01001739501953125, 0.022064208984375, 0.0278472900390625, -0.02215576171875, 0.005039215087890625, 0.031402587890625, -0.00241851806640625, -0.0156707763671875, -0.019989013671875, -0.0012683868408203125, 0.0016689300537109375, -0.0031108856201171875, 0.02044677734375, 0.025390625, -0.0184326171875, -0.006618499755859375, 0.0259552001953125, -0.034027099609375, 0.04443359375, -0.01114654541015625, 0.0305633544921875, -0.042724609375, 0.007965087890625, 0.01490020751953125, -0.019134521484375, 0.0155029296875, 0.032806396484375, 0.0282135009765625, -0.026153564453125, 0.027252197265625, 0.0396728515625, 0.020111083984375, 0.00983428955078125 ]
f8ac71f9e748f18a2004db1b3577f5b75b693488
Wordpress Stackexchange Q: how to get permalink structure with php I need to make if statements for every permalink structure, so I need to know if there is a function that returns to me the actual selected permalink structure by the user. To make it simple all I need to know is if this permalink: www.site.com/?p=22; a condition will apply else if this structure www.site.com/cat/title is used then another condition is applied. So all I need to know is if there is function in Wordpress that can return me what structure the website is using. A: The structure is stored in the option permalink_structure. Pretty permalinks are disabled if the option is empty. $structure = get_option( 'permalink_structure' );
Q: how to get permalink structure with php I need to make if statements for every permalink structure, so I need to know if there is a function that returns to me the actual selected permalink structure by the user. To make it simple all I need to know is if this permalink: www.site.com/?p=22; a condition will apply else if this structure www.site.com/cat/title is used then another condition is applied. So all I need to know is if there is function in Wordpress that can return me what structure the website is using. A: The structure is stored in the option permalink_structure. Pretty permalinks are disabled if the option is empty. $structure = get_option( 'permalink_structure' );
wordpress
{ "language": "en", "length": 116, "provenance": "stackexchange_00019.jsonl.gz:473780", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258463" }
[ 0.05010986328125, -0.01381683349609375, 0.023956298828125, 0.0033550262451171875, -0.0201873779296875, -0.017181396484375, 0.03173828125, -0.0272674560546875, 0.01270294189453125, -0.02667236328125, -0.043975830078125, -0.016998291015625, -0.03582763671875, -0.051605224609375, 0.035064697265625, -0.0318603515625, 0.0283966064453125, -0.03125, 0.012664794921875, 0.002857208251953125, -0.0124053955078125, 0.0249481201171875, 0.034393310546875, -0.00569915771484375, 0.04766845703125, -0.041656494140625, 0.0789794921875, -0.0335693359375, 0.0310516357421875, -0.038116455078125, 0.024566650390625, -0.0122222900390625, 0.0164642333984375, -0.006282806396484375, 0.057830810546875, 0.0443115234375, 0.044952392578125, -0.014312744140625, 0.046600341796875, 0.01262664794921875, 0.0099945068359375, 0.01593017578125, 0.040618896484375, 0.04608154296875, 0.0012454986572265625, -0.0240936279296875, -0.00997161865234375, -0.09051513671875, -0.01007080078125, -0.007167816162109375, 0.031097412109375, -0.00261688232421875, 0.0285491943359375, 0.004444122314453125, -0.0199737548828125, 0.0006136894226074219, 0.0290985107421875, -0.0244903564453125, 0.0235443115234375, -0.0027561187744140625, -0.038665771484375, -0.0074615478515625, 0.01971435546875, -0.0452880859375, -0.0428466796875, -0.00028014183044433594, -0.00737762451171875, 0.0335693359375, -0.007480621337890625, -0.035858154296875, 0.011260986328125, -0.0013580322265625, -0.0216827392578125, -0.007564544677734375, -0.032745361328125, 0.00394439697265625, -0.022918701171875, -0.058502197265625, 0.004222869873046875, 0.0149688720703125, 0.034210205078125, 0.0034427642822265625, -0.042816162109375, -0.0263824462890625, 0.05712890625, 0.016326904296875, 0.0080718994140625, -0.030120849609375, -0.03814697265625, -0.018463134765625, -0.0265045166015625, -0.01273345947265625, -0.03216552734375, -0.0173797607421875, -0.004291534423828125, -0.0450439453125, 0.0174102783203125, -0.00919342041015625, 0.0012559890747070312, 0.0032405853271484375, 0.03533935546875, -0.059600830078125, 0.044525146484375, -0.01409912109375, -0.00818634033203125, -0.0020542144775390625, 0.01418304443359375, 0.003948211669921875, 0.0157012939453125, 0.00563812255859375, -0.0251312255859375, 0.0256500244140625, -0.01468658447265625, -0.023345947265625, -0.00714874267578125, 0.04119873046875, -0.036834716796875, 0.0118255615234375, -0.00435638427734375, 0.041656494140625, -0.02752685546875, 0.032135009765625, -0.00508880615234375, -0.033843994140625, -0.007610321044921875, -0.011474609375, 0.0010957717895507812, -0.0288543701171875, -0.0430908203125, 0.040374755859375, -0.0172576904296875, -0.0049285888671875, 0.0458984375, 0.06109619140625, 0.01386260986328125, -0.0200653076171875, 0.0024089813232421875, 0.0017328262329101562, -0.004062652587890625, 0.004840850830078125, -0.01265716552734375, -0.0074615478515625, 0.0374755859375, -0.0386962890625, -0.039520263671875, 0.02349853515625, 0.0282440185546875, 0.00879669189453125, -0.048980712890625, -0.029327392578125, -0.0311431884765625, -0.004100799560546875, 0.0216827392578125, 0.017547607421875, -0.0203704833984375, 0.006084442138671875, 0.0234832763671875, -0.0158538818359375, -0.0205078125, -0.03875732421875, 0.0379638671875, -0.014984130859375, 0.0089569091796875, -0.01399993896484375, -0.048187255859375, 0.00514984130859375, -0.068603515625, -0.022125244140625, 0.0147857666015625, 0.0187530517578125, -0.02923583984375, -0.0000457763671875, -0.00014007091522216797, -0.02227783203125, -0.0142059326171875, -0.0101165771484375, -0.0310211181640625, 0.01229095458984375, 0.0246429443359375, 0.0489501953125, 0.0102996826171875, -0.03265380859375, 0.00261688232421875, 0.0026226043701171875, -0.0533447265625, 0.045867919921875, 0.033111572265625, 0.08221435546875, -0.0166168212890625, 0.032958984375, 0.0206146240234375, 0.0295562744140625, -0.050628662109375, 0.01277923583984375, -0.0284271240234375, -0.000038623809814453125, 0.04620361328125, 0.0257415771484375, -0.02789306640625, -0.02191162109375, -0.0024662017822265625, 0.00403594970703125, -0.00885772705078125, 0.04510498046875, 0.0012292861938476562, 0.00307464599609375, -0.003387451171875, -0.00659942626953125, 0.019866943359375, 0.04425048828125, 0.005977630615234375, 0.0244140625, -0.0521240234375, 0.008941650390625, 0.0003185272216796875, 0.057098388671875, -0.0177001953125, -0.001468658447265625, -0.047454833984375, -0.0093231201171875, -0.0284576416015625, -0.031219482421875, -0.038543701171875, 0.05609130859375, 0.04376220703125, -0.00669097900390625, -0.018798828125, -0.0284271240234375, 0.0163421630859375, 0.00975799560546875, -0.038909912109375, 0.03009033203125, 0.0301361083984375, 0.0357666015625, -0.023895263671875, 0.00748443603515625, -0.0022792816162109375, -0.037445068359375, -0.01186370849609375, 0.04156494140625, 0.0305938720703125, 0.043670654296875, -0.0015716552734375, 0.0009059906005859375, 0.044921875, -0.05303955078125, 0.00252532958984375, -0.002956390380859375, 0.0153045654296875, 0.037200927734375, -0.006168365478515625, 0.022247314453125, 0.01528167724609375, 0.0016450881958007812, 0.0035552978515625, 0.043487548828125, -0.0093536376953125, -0.005550384521484375, -0.011383056640625, 0.020599365234375, 0.0015897750854492188, 0.035980224609375, -0.00734710693359375, 0.00147247314453125, 0.05096435546875, 0.014007568359375, 0.03472900390625, 0.036651611328125, -0.004688262939453125, 0.00742340087890625, -0.00782012939453125, -0.029815673828125, -0.007781982421875, 0.024017333984375, -0.017242431640625, -0.01617431640625, -0.01035308837890625, 0.0023975372314453125, -0.0284423828125, -0.0128631591796875, -0.042388916015625, 0.032623291015625, -0.04254150390625, -0.024139404296875, -0.036407470703125, -0.031524658203125, -0.0039520263671875, -0.00579071044921875, 0.043212890625, 0.0199432373046875, 0.05426025390625, -0.0034885406494140625, -0.0214691162109375, 0.0259552001953125, 0.0005512237548828125, -0.03594970703125, 0.025421142578125, -0.040191650390625, 0.04217529296875, -0.01235198974609375, -0.002239227294921875, 0.05450439453125, 0.0210113525390625, -0.0254364013671875, 0.01140594482421875, -0.0219268798828125, 0.00830841064453125, 0.0000033974647521972656, -0.0252685546875, 0.0218658447265625, -0.09539794921875, -0.0095672607421875, -0.0006895065307617188, 0.00543975830078125, -0.003711700439453125, -0.046478271484375, 0.00283050537109375, -0.0016870498657226562, -0.09332275390625, -0.07391357421875, 0.004985809326171875, -0.03375244140625, 0.00409698486328125, 0.0014553070068359375, 0.0024585723876953125, -0.012847900390625, 0.0081634521484375, -0.006443023681640625, 0.0275726318359375, -0.06005859375, -0.11004638671875, -0.07830810546875, -0.0980224609375, 0.026702880859375, -0.00385284423828125, -0.0006518363952636719, -0.002094268798828125, 0.007625579833984375, -0.01471710205078125, -0.046173095703125, -0.01263427734375, 0.031402587890625, -0.00020968914031982422, -0.040374755859375, -0.050567626953125, 0.005474090576171875, 0.02178955078125, -0.01499176025390625, 0.034393310546875, 0.0289154052734375, -0.00966644287109375, 0.01194000244140625, 0.00020015239715576172, -0.0081329345703125, 0.051971435546875, 0.00467681884765625, -0.0260772705078125, -0.00008082389831542969, 0.040802001953125, -0.052215576171875, -0.0753173828125, -0.00023424625396728516, -0.07373046875, 0.0322265625, 0.05340576171875, -0.00533294677734375, 0.005817413330078125, 0.0008435249328613281, -0.0019741058349609375, 0.005947113037109375, -0.01332855224609375, -0.046417236328125, 0.050537109375, 0.0071868896484375, 0.037017822265625, 0.0061492919921875, 0.0298919677734375, -0.02679443359375, 0.0216064453125, -0.0012798309326171875, -0.01103973388671875, -0.0105133056640625, -0.01383209228515625, -0.038726806640625, -0.040618896484375, 0.035125732421875, -0.06951904296875, 0.01209259033203125, -0.047393798828125, -0.0107574462890625, -0.01490020751953125, 0.08349609375, 0.0185089111328125, -0.025054931640625, -0.0246734619140625, -0.00441741943359375, -0.041900634765625, -0.0139923095703125, -0.02398681640625, 0.006175994873046875, -0.073486328125, 0.0075225830078125, -0.003818511962890625, -0.0618896484375, -0.00726318359375, -0.052154541015625, -0.056182861328125, -0.01552581787109375, 0.023223876953125, 0.02606201171875, -0.0005030632019042969, 0.01287078857421875, -0.0030956268310546875, 0.00012969970703125, -0.00814056396484375, 0.0005245208740234375, -0.0408935546875, -0.0128631591796875, 0.0307159423828125, 0.00113677978515625, -0.01568603515625, -0.00600433349609375, -0.01059722900390625, 0.034210205078125, -0.0355224609375, 0.0130157470703125, 0.00537872314453125, 0.04144287109375, 0.0066375732421875, -0.03692626953125, -0.0199127197265625, -0.0404052734375, 0.005462646484375, 0.0010557174682617188, -0.038360595703125, 0.0058746337890625, -0.0214385986328125, -0.03094482421875, 0.02239990234375, -0.042205810546875, -0.03509521484375, 0.0228729248046875, -0.01183319091796875, 0.0172119140625, -0.035430908203125, -0.004398345947265625, 0.01061248779296875, -0.064697265625, 0.051544189453125, -0.00661468505859375, -0.002445220947265625, -0.010406494140625, 0.08526611328125, 0.00347137451171875, -0.0284576416015625, -0.034210205078125, 0.016204833984375, 0.05657958984375, 0.0093231201171875, 0.05548095703125, 0.046051025390625, -0.0228424072265625, 0.0295867919921875, 0.034820556640625, -0.00803375244140625, -0.01239013671875, 0.005252838134765625, 0.01165771484375, -0.00864410400390625, -0.006771087646484375, -0.006076812744140625, 0.043487548828125, 0.034820556640625, -0.00439453125, -0.0030422210693359375, -0.02740478515625, 0.01288604736328125, -0.0015707015991210938, 0.026397705078125, -0.016326904296875, -0.03265380859375, 0.0122528076171875, 0.01123046875, 0.042724609375, 0.032989501953125, -0.01334381103515625, 0.049591064453125, 0.015625, -0.00927734375, -0.0182952880859375, 0.03192138671875, -0.0017795562744140625, 0.043731689453125, -0.0287017822265625, -0.00803375244140625, -0.042388916015625, -0.003505706787109375, 0.0167694091796875, -0.015380859375, -0.0306549072265625, -0.0243988037109375, -0.0143890380859375, 0.02734375, 0.0216217041015625, 0.0210113525390625, 0.01114654541015625, 0.0173797607421875, 0.0030574798583984375, 0.012420654296875, 0.02703857421875, 0.0196380615234375, 0.00029754638671875, 0.01114654541015625, -0.0096893310546875, 0.0021820068359375, 0.0029087066650390625, 0.081787109375, 0.0035839080810546875, 0.0596923828125, -0.017608642578125, -0.0116424560546875, 0.031585693359375, 0.01548004150390625, 0.0175933837890625, -0.005084991455078125, -0.0001627206802368164, -0.01537322998046875, 0.048309326171875, -0.0299224853515625, -0.029083251953125, 0.006946563720703125, 0.0802001953125, -0.00954437255859375, 0.006153106689453125, 0.01218414306640625, -0.0233306884765625, -0.0245361328125, 0.0401611328125, 0.03436279296875, -0.06256103515625, -0.00655364990234375, 0.03363037109375, 0.0016155242919921875, -0.00719451904296875, -0.02288818359375, 0.01136016845703125, -0.0238037109375, -0.0017557144165039062, 0.0738525390625, -0.060760498046875, 0.0205078125, 0.0216064453125, 0.00759124755859375, -0.00595855712890625, 0.0097198486328125, -0.0254669189453125, 0.018035888671875, -0.035430908203125, -0.034698486328125, 0.053131103515625, -0.0005984306335449219, 0.0611572265625, -0.042327880859375, -0.03521728515625, -0.0160064697265625, -0.01739501953125, 0.0489501953125, 0.02056884765625, -0.07965087890625, 0.0015172958374023438, -0.0307464599609375, 0.020782470703125, -0.044342041015625, -0.0400390625, -0.0179290771484375, 0.004398345947265625, -0.01305389404296875, -0.0065765380859375, 0.010406494140625, 0.0523681640625, -0.007045745849609375, 0.073974609375, -0.0078277587890625, 0.05584716796875, -0.0087890625, 0.09613037109375, -0.00004285573959350586, 0.044952392578125, 0.0151214599609375, 0.050506591796875, -0.019927978515625, -0.02520751953125, 0.0157318115234375, -0.057281494140625, -0.054901123046875, -0.01471710205078125, -0.0004162788391113281, 0.0426025390625, 0.043792724609375, -0.0014801025390625, -0.00836944580078125, 0.0013103485107421875, 0.01055145263671875, -0.0223846435546875, -0.0169830322265625, -0.0240325927734375, -0.04437255859375, -0.004974365234375, 0.012176513671875, 0.059539794921875, -0.017120361328125, -0.036651611328125, 0.025848388671875, -0.00766754150390625, 0.03436279296875, 0.0350341796875, -0.051910400390625, 0.0377197265625, 0.04473876953125, 0.0323486328125, 0.0609130859375, -0.0096282958984375, 0.034027099609375, 0.0379638671875, -0.0208282470703125, 0.01482391357421875, 0.0066070556640625, 0.043060302734375, -0.0078277587890625, 0.0135040283203125, 0.05303955078125, -0.009765625, -0.01476287841796875, 0.02154541015625, 0.048187255859375, -0.050079345703125, 0.009246826171875, 0.02001953125, 0.0161590576171875, 0.01085662841796875, -0.0080718994140625, -0.014801025390625, -0.019073486328125, 0.020172119140625, -0.00777435302734375, -0.033660888671875, -0.006221771240234375, 0.01158905029296875, -0.0181121826171875, -0.0029010772705078125, 0.04473876953125, 0.0169830322265625, 0.0241546630859375, -0.030792236328125, -0.0076904296875, -0.0058746337890625, -0.019989013671875, 0.0005860328674316406, -0.0160064697265625, -0.0189971923828125, -0.0016574859619140625, 0.0259857177734375, -0.01023101806640625, 0.030792236328125, -0.03570556640625, -0.0151214599609375, 0.017333984375, 0.053985595703125, -0.0401611328125, -0.0025157928466796875, 0.035675048828125, -0.042144775390625, -0.00782012939453125, -0.020355224609375, 0.004451751708984375, 0.01108551025390625, -0.003147125244140625, 0.022064208984375, -0.009185791015625, -0.03131103515625, -0.00923919677734375, -0.0118560791015625, 0.08197021484375, -0.048858642578125, -0.01480865478515625, 0.039215087890625, 0.00850677490234375, -0.018768310546875, -0.0110626220703125, 0.037628173828125, -0.04937744140625, -0.00568389892578125, 0.00977325439453125, 0.01245880126953125, -0.0185546875, -0.0290069580078125, -0.038909912109375, 0.06280517578125, -0.00146484375, 0.020660400390625, 0.050445556640625, 0.0163116455078125, -0.026458740234375, -0.00830841064453125, -0.0633544921875, 0.079345703125, 0.035430908203125, 0.037200927734375, -0.058258056640625, -0.0113983154296875, 0.005523681640625, 0.021209716796875, 0.054779052734375, 0.01953125, -0.049591064453125, -0.021728515625, 0.048736572265625, 0.04608154296875, 0.004329681396484375, 0.0244903564453125, -0.01308441162109375, 0.04931640625, 0.06671142578125, -0.05181884765625, 0.01220703125, 0.01458740234375, -0.018096923828125, 0.0200653076171875, 0.0335693359375, 0.05426025390625, 0.0085296630859375, -0.040863037109375, -0.0257415771484375, 0.006988525390625, 0.047027587890625, -0.0191192626953125, 0.0005388259887695312, 0.0306243896484375, 0.037017822265625, -0.05670166015625, 0.0262451171875, -0.03106689453125, 0.052276611328125, 0.0005812644958496094, -0.006069183349609375, 0.0155792236328125, 0.014678955078125, -0.00695037841796875, 0.0018558502197265625, 0.00933074951171875, 0.0284576416015625, -0.01506805419921875, 0.055908203125, 0.038360595703125, 0.01702880859375, -0.007659912109375, -0.023468017578125, 0.036102294921875, 0.06378173828125, -0.023681640625, -0.053955078125, -0.003314971923828125, 0.0010213851928710938, 0.02081298828125, 0.037445068359375, 0.049163818359375, 0.07501220703125, 0.08209228515625, -0.00832366943359375, -0.023834228515625, 0.026275634765625, 0.036651611328125, 0.0034809112548828125, -0.034637451171875, -0.009429931640625, -0.0224151611328125, -0.03741455078125, 0.012420654296875, -0.00496673583984375, 0.034820556640625, 0.0129852294921875, 0.045654296875, -0.0268402099609375, -0.0184783935546875, 0.0300750732421875, 0.0204315185546875, -0.055145263671875, -0.024383544921875, 0.00600433349609375, -0.06610107421875, -0.041717529296875, 0.027679443359375, 0.033203125, 0.0230712890625, 0.0080108642578125, -0.0167083740234375, 0.032501220703125, 0.0155181884765625, 0.03497314453125, -0.0081787109375, 0.0245361328125, -0.032958984375, 0.030853271484375, 0.0222930908203125, 0.0009555816650390625, -0.0078582763671875, 0.003490447998046875, 0.04888916015625, -0.0301971435546875, 0.0083770751953125, -0.0002789497375488281, -0.00197601318359375, 0.0501708984375, 0.01220703125, -0.003574371337890625, 0.0017957687377929688, -0.029449462890625, -0.0267181396484375, -0.023162841796875, -0.0289306640625, 0.034759521484375, 0.052154541015625, 0.039398193359375, -0.04071044921875, -0.0014886856079101562, -0.001819610595703125, 0.03668212890625, -0.01224517822265625, -0.013153076171875, 0.042022705078125, 0.027679443359375, 0.0210723876953125, -0.0711669921875, -0.043975830078125, -0.0284881591796875, 0.0258941650390625, 0.024932861328125, 0.07147216796875, -0.0066375732421875, 0.0120391845703125, -0.0148162841796875, 0.0017156600952148438, -0.01329803466796875, -0.038848876953125, 0.06353759765625, -0.0113525390625, -0.0151824951171875, -0.01312255859375, -0.047393798828125, -0.001186370849609375, 0.0360107421875, -0.019683837890625, 0.01329803466796875, -0.03668212890625, 0.032623291015625, -0.00901031494140625, 0.05950927734375, -0.023040771484375, -0.0701904296875, -0.0509033203125, -0.001953125, 0.01259613037109375, 0.049224853515625, 0.018341064453125, 0.0234222412109375, -0.0037822723388671875, -0.03436279296875, 0.0111083984375, -0.036865234375, 0.0147705078125, 0.0328369140625, 0.006198883056640625, -0.0013761520385742188, 0.0014715194702148438, -0.0169219970703125, 0.00417327880859375, 0.016815185546875, 0.00033354759216308594, 0.0037364959716796875, -0.0167999267578125, -0.03240966796875, 0.000015795230865478516, -0.0037364959716796875, -0.036865234375, 0.005176544189453125, 0.01436614990234375, -0.01120758056640625, 0.00988006591796875, -0.037933349609375, -0.0208282470703125, -0.05859375, -0.00124359130859375, 0.004886627197265625, -0.0231781005859375, -0.03143310546875, 0.018829345703125, -0.01412200927734375, 0.0017404556274414062, 0.0007305145263671875, -0.01036834716796875, 0.001552581787109375, -0.029449462890625, 0.0168304443359375, -0.044677734375, 0.02581787109375, 0.01517486572265625, 0.0128021240234375, -0.068115234375, -0.00830841064453125, -0.01406097412109375, -0.0036144256591796875, -0.01502227783203125, 0.043182373046875, 0.0723876953125, -0.0440673828125, -0.044158935546875, 0.006072998046875, 0.0166168212890625, 0.0709228515625, -0.01551055908203125, -0.0221099853515625, 0.01363372802734375, 0.00916290283203125, 0.00664520263671875, -0.048736572265625, -0.0095062255859375, 0.0027103424072265625, 0.019775390625, -0.02935791015625, -0.0267486572265625, -0.010650634765625, -0.0546875, -0.0523681640625, 0.054931640625, -0.016082763671875, -0.020843505859375, -0.042938232421875, -0.01812744140625, -0.004032135009765625, 0.0401611328125, -0.00684356689453125, -0.01480865478515625, -0.0316162109375, 0.034912109375, 0.025054931640625, 0.0264739990234375, 0.0243682861328125, 0.028472900390625, -0.0294342041015625, 0.0273895263671875, -0.0151519775390625, 0.016632080078125, 0.033477783203125, -0.0401611328125, 0.0377197265625, 0.0268402099609375, -0.052032470703125, -0.01558685302734375, -0.025299072265625, 0.02764892578125, 0.0034809112548828125, -0.0533447265625, -0.03173828125, -0.0216522216796875, 0.07373046875, 0.0352783203125, 0.021759033203125, -0.03460693359375, -0.047027587890625, -0.0256805419921875, -0.04107666015625, -0.037078857421875, 0.04437255859375, -0.07940673828125, -0.007640838623046875, -0.0290679931640625, 0.0153045654296875, -0.0221710205078125, -0.01149749755859375, -0.0242462158203125, -0.01471710205078125, -0.002674102783203125, -0.0047149658203125, 0.01502227783203125, -0.0028839111328125, 0.05291748046875, -0.048614501953125, -0.03704833984375, 0.004940032958984375, 0.0101318359375, -0.0209808349609375, -0.058685302734375, 0.018341064453125, 0.0631103515625, -0.0345458984375, -0.0119781494140625, 0.037506103515625, 0.0196990966796875, 0.0012197494506835938, -0.01059722900390625, -0.01873779296875, 0.0140228271484375, 0.0101470947265625, -0.00885009765625, -0.040496826171875, 0.038177490234375, 0.01219940185546875, 0.06756591796875, 0.009002685546875, 0.06793212890625, -0.0022220611572265625, 0.068115234375, -0.0295562744140625, -0.0180206298828125, -0.02587890625, -0.03240966796875, -0.0004470348358154297, -0.01580810546875, 0.0062103271484375, -0.055694580078125, 0.0307159423828125, -0.046112060546875, 0.021240234375, 0.03375244140625 ]
efef5cf751311557bc261564fe55ad8502fadebc
Wordpress Stackexchange Q: wp_enqueue_media() slows down my WP site My website's been incredibly slow and I installed the query monitor plugin to learn more about the issues that caused this. When loading "New post" page, the following query takes 7,3662 (seconds?!) to load, and it's colored in red in the plugin so I guess this has something to do with the slow loading process. Query: SELECT ID FROM ceujk1ky3r_posts WHERE post_type = 'attachment' AND post_mime_type LIKE 'audio%' LIMIT 1
Q: wp_enqueue_media() slows down my WP site My website's been incredibly slow and I installed the query monitor plugin to learn more about the issues that caused this. When loading "New post" page, the following query takes 7,3662 (seconds?!) to load, and it's colored in red in the plugin so I guess this has something to do with the slow loading process. Query: SELECT ID FROM ceujk1ky3r_posts WHERE post_type = 'attachment' AND post_mime_type LIKE 'audio%' LIMIT 1
wordpress
{ "language": "en", "length": 77, "provenance": "stackexchange_00019.jsonl.gz:473783", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258473" }
[ -0.007366180419921875, -0.0164337158203125, -0.01222991943359375, 0.0400390625, -0.019287109375, -0.028656005859375, 0.066650390625, -0.0212860107421875, 0.0010404586791992188, 0.023284912109375, -0.048828125, 0.0131072998046875, -0.005535125732421875, -0.01384735107421875, 0.0003952980041503906, -0.039337158203125, 0.048309326171875, -0.013946533203125, 0.04937744140625, 0.0106201171875, 0.0051422119140625, 0.045166015625, 0.046417236328125, 0.02423095703125, 0.0031280517578125, 0.006793975830078125, 0.0775146484375, -0.0091400146484375, 0.01470184326171875, 0.0032749176025390625, 0.0245208740234375, -0.0285186767578125, 0.011962890625, 0.0200042724609375, -0.016357421875, 0.0187835693359375, 0.0158538818359375, -0.00867462158203125, 0.01442718505859375, 0.01055145263671875, 0.0255126953125, -0.00479888916015625, 0.0007309913635253906, 0.052459716796875, -0.00783538818359375, -0.041107177734375, 0.013763427734375, -0.059844970703125, 0.0009403228759765625, -0.04278564453125, 0.0450439453125, 0.01229095458984375, 0.06268310546875, -0.01300048828125, -0.00934600830078125, 0.0338134765625, 0.01448822021484375, 0.04205322265625, 0.0165557861328125, -0.043182373046875, -0.03228759765625, 0.031097412109375, 0.018218994140625, 0.0229949951171875, -0.02398681640625, 0.01178741455078125, 0.040191650390625, 0.003326416015625, -0.0406494140625, -0.048980712890625, 0.0214080810546875, -0.01392364501953125, 0.012451171875, -0.0239105224609375, -0.0202789306640625, -0.0205841064453125, 0.034149169921875, -0.027252197265625, 0.005950927734375, -0.012054443359375, -0.0169830322265625, -0.05499267578125, -0.0399169921875, -0.01233673095703125, 0.0298004150390625, 0.025146484375, -0.00036597251892089844, -0.00848388671875, -0.004913330078125, -0.04302978515625, -0.0226287841796875, -0.036285400390625, 0.003566741943359375, -0.0130462646484375, -0.0440673828125, -0.0283203125, 0.01517486572265625, 0.004482269287109375, 0.00592803955078125, 0.003002166748046875, -0.00815582275390625, -0.03314208984375, 0.0037403106689453125, -0.005523681640625, 0.0218048095703125, -0.0004608631134033203, -0.0251007080078125, -0.01349639892578125, 0.07574462890625, 0.0478515625, 0.01476287841796875, 0.10137939453125, -0.023345947265625, 0.01904296875, -0.0626220703125, 0.01525115966796875, -0.0301971435546875, -0.006900787353515625, -0.01910400390625, 0.03143310546875, -0.0178985595703125, 0.00841522216796875, -0.00959014892578125, 0.01560211181640625, 0.0035400390625, -0.01470184326171875, -0.0034732818603515625, 0.0010042190551757812, -0.00737762451171875, 0.035919189453125, 0.00475311279296875, -0.018310546875, -0.0121917724609375, 0.04229736328125, -0.0099029541015625, -0.02069091796875, 0.0220794677734375, -0.06146240234375, -0.0157623291015625, 0.00914764404296875, 0.01071929931640625, -0.0626220703125, -0.029327392578125, 0.005069732666015625, 0.039459228515625, 0.01070404052734375, 0.0035400390625, 0.0222320556640625, 0.0223541259765625, -0.0267333984375, 0.01003265380859375, -0.002414703369140625, 0.045257568359375, -0.0162811279296875, -0.0269622802734375, -0.03350830078125, 0.00939178466796875, -0.032318115234375, -0.0184173583984375, -0.05377197265625, 0.01222991943359375, 0.0229034423828125, 0.03369140625, 0.0222320556640625, 0.0110321044921875, -0.03546142578125, -0.017608642578125, 0.003314971923828125, 0.0206451416015625, 0.01474761962890625, -0.01293182373046875, -0.05206298828125, 0.033294677734375, 0.0208282470703125, -0.01267242431640625, 0.04473876953125, 0.016845703125, -0.019744873046875, 0.051422119140625, 0.023040771484375, -0.031951904296875, -0.017181396484375, 0.07427978515625, -0.03521728515625, -0.02874755859375, 0.061187744140625, 0.023223876953125, 0.044921875, -0.040802001953125, 0.02264404296875, 0.05767822265625, 0.07305908203125, -0.0272216796875, 0.0255126953125, 0.0270843505859375, -0.04888916015625, 0.00315093994140625, -0.01806640625, 0.026519775390625, -0.01531982421875, 0.0309295654296875, 0.03326416015625, -0.03460693359375, -0.00044035911560058594, -0.09515380859375, 0.00750732421875, -0.0311279296875, 0.03485107421875, -0.0063934326171875, 0.0206756591796875, 0.0165863037109375, 0.01021575927734375, -0.033172607421875, -0.0052947998046875, -0.01513671875, 0.01480865478515625, -0.0308380126953125, 0.0093536376953125, -0.0209503173828125, 0.01003265380859375, -0.041015625, -0.007434844970703125, -0.018951416015625, 0.05670166015625, 0.004486083984375, 0.03240966796875, -0.0172271728515625, 0.029388427734375, 0.03326416015625, 0.0182952880859375, 0.047943115234375, -0.01253509521484375, 0.046417236328125, 0.0701904296875, -0.0009059906005859375, 0.000827789306640625, 0.014129638671875, -0.0418701171875, 0.01080322265625, 0.040771484375, 0.0386962890625, 0.033935546875, 0.010345458984375, -0.0019588470458984375, 0.04095458984375, -0.06072998046875, 0.0016994476318359375, 0.0007996559143066406, 0.0242919921875, 0.01117706298828125, -0.03564453125, -0.0222930908203125, 0.057861328125, -0.042510986328125, 0.029998779296875, 0.044677734375, 0.0082855224609375, 0.0391845703125, -0.0127105712890625, 0.00313568115234375, -0.0188446044921875, 0.003936767578125, 0.00809478759765625, -0.0084381103515625, 0.009857177734375, 0.00948333740234375, 0.0087127685546875, -0.0015192031860351562, -0.0279541015625, 0.0241851806640625, 0.02685546875, -0.05120849609375, -0.0096588134765625, -0.033599853515625, -0.00797271728515625, -0.03607177734375, -0.04205322265625, 0.04168701171875, 0.01995849609375, -0.0330810546875, 0.0111846923828125, 0.034210205078125, -0.044952392578125, 0.0007877349853515625, -0.0357666015625, -0.052001953125, -0.005390167236328125, 0.0625, -0.0149688720703125, -0.00875091552734375, 0.01439666748046875, 0.050140380859375, -0.0102996826171875, 0.04022216796875, 0.00827789306640625, -0.004848480224609375, 0.046142578125, -0.0294342041015625, 0.03228759765625, -0.031341552734375, 0.0731201171875, 0.049652099609375, -0.0372314453125, 0.03387451171875, 0.0172882080078125, -0.0212554931640625, 0.016693115234375, 0.03277587890625, -0.00264739990234375, 0.00821685791015625, -0.08453369140625, -0.0155792236328125, 0.024139404296875, 0.00421905517578125, 0.004001617431640625, -0.019622802734375, -0.012054443359375, 0.004222869873046875, -0.121337890625, -0.111572265625, -0.09173583984375, -0.08734130859375, -0.004634857177734375, -0.042816162109375, -0.0167388916015625, 0.034027099609375, -0.0256805419921875, 0.029815673828125, -0.02838134765625, -0.0019073486328125, -0.07598876953125, -0.045440673828125, -0.053985595703125, 0.024505615234375, -0.01457977294921875, 0.0284271240234375, 0.00672149658203125, 0.053619384765625, 0.0007166862487792969, -0.058135986328125, -0.005550384521484375, -0.0609130859375, -0.02850341796875, 0.01195526123046875, 0.0176239013671875, -0.026885986328125, -0.031280517578125, 0.01079559326171875, -0.01378631591796875, 0.003398895263671875, -0.006832122802734375, -0.020843505859375, -0.01131439208984375, -0.01061248779296875, 0.0017366409301757812, 0.032257080078125, 0.003635406494140625, 0.003101348876953125, 0.020355224609375, -0.040191650390625, -0.00627899169921875, -0.043060302734375, -0.04119873046875, -0.0304107666015625, 0.02044677734375, 0.030120849609375, -0.0258026123046875, -0.01360321044921875, -0.01085662841796875, -0.0240631103515625, -0.0010328292846679688, -0.051513671875, 0.064208984375, 0.005451202392578125, 0.0162200927734375, -0.00032973289489746094, 0.00395965576171875, -0.056396484375, 0.038726806640625, 0.00815582275390625, -0.03216552734375, -0.002132415771484375, -0.050384521484375, 0.00838470458984375, -0.015350341796875, 0.0253753662109375, 0.0003712177276611328, 0.0692138671875, -0.046478271484375, -0.0307464599609375, -0.04547119140625, 0.08538818359375, -0.066162109375, 0.0030975341796875, -0.00011843442916870117, 0.0146636962890625, -0.01953125, -0.04486083984375, -0.050201416015625, -0.0229034423828125, 0.0261383056640625, -0.0276641845703125, -0.016754150390625, -0.024993896484375, -0.017547607421875, 0.0053558349609375, -0.00266265869140625, -0.0005240440368652344, 0.021148681640625, -0.0352783203125, 0.0099639892578125, -0.00878143310546875, 0.0013952255249023438, -0.0328369140625, -0.004558563232421875, -0.042999267578125, -0.1302490234375, -0.02545166015625, 0.0231475830078125, 0.0721435546875, -0.018890380859375, -0.022674560546875, -0.0396728515625, 0.03900146484375, -0.0024051666259765625, 0.050933837890625, -0.0256805419921875, -0.0142822265625, 0.006916046142578125, 0.016357421875, 0.010223388671875, 0.00005137920379638672, -0.0146026611328125, -0.030303955078125, -0.000392913818359375, -0.00923919677734375, -0.0323486328125, -0.019287109375, -0.044403076171875, 0.01059722900390625, -0.02294921875, -0.0089263916015625, -0.032562255859375, 0.022216796875, -0.01629638671875, 0.002407073974609375, -0.0270843505859375, -0.047637939453125, 0.03985595703125, -0.0153350830078125, -0.003116607666015625, -0.0027313232421875, 0.07550048828125, 0.017486572265625, -0.0135498046875, -0.0211181640625, -0.003032684326171875, 0.0010194778442382812, 0.01812744140625, 0.041290283203125, -0.001979827880859375, -0.006740570068359375, 0.02569580078125, -0.019195556640625, 0.01497650146484375, -0.0174560546875, 0.031707763671875, 0.009429931640625, -0.036865234375, 0.0478515625, -0.00330352783203125, -0.006969451904296875, 0.06109619140625, -0.0230712890625, -0.01012420654296875, -0.0279388427734375, 0.031494140625, -0.0229949951171875, 0.0048065185546875, -0.03875732421875, -0.0860595703125, 0.038543701171875, -0.0170135498046875, 0.012908935546875, 0.012176513671875, -0.009552001953125, 0.06683349609375, 0.024505615234375, -0.0237884521484375, 0.0350341796875, 0.00626373291015625, -0.01129150390625, 0.00774383544921875, 0.034912109375, -0.0309600830078125, 0.0114288330078125, -0.00981903076171875, 0.001354217529296875, -0.0250091552734375, -0.07049560546875, -0.0023021697998046875, 0.0003681182861328125, 0.0675048828125, 0.05914306640625, -0.019805908203125, 0.0262451171875, 0.04083251953125, -0.019775390625, -0.00893402099609375, -0.0159759521484375, 0.0010175704956054688, -0.046600341796875, 0.004192352294921875, -0.00981903076171875, -0.0005307197570800781, 0.048126220703125, 0.0251312255859375, -0.07635498046875, 0.052276611328125, 0.01335906982421875, 0.052032470703125, -0.006877899169921875, 0.052947998046875, 0.0160675048828125, -0.03509521484375, 0.0167694091796875, 0.039093017578125, -0.027618408203125, -0.0355224609375, 0.00963592529296875, 0.007415771484375, 0.005825042724609375, 0.017364501953125, 0.0039043426513671875, 0.0253448486328125, -0.00919342041015625, -0.0190582275390625, 0.060302734375, 0.0102081298828125, -0.0285491943359375, -0.037078857421875, -0.0203094482421875, 0.057403564453125, -0.009002685546875, 0.017852783203125, 0.0306396484375, 0.0116424560546875, 0.06964111328125, -0.0228271484375, 0.050933837890625, -0.00882720947265625, -0.033111572265625, 0.045623779296875, -0.029388427734375, -0.056427001953125, 0.050994873046875, 0.019317626953125, -0.011962890625, 0.006317138671875, 0.025421142578125, 0.0028629302978515625, 0.003162384033203125, -0.00913238525390625, -0.004428863525390625, -0.04632568359375, 0.0255279541015625, -0.02276611328125, -0.033721923828125, 0.043853759765625, -0.0487060546875, -0.046783447265625, -0.04901123046875, -0.014678955078125, 0.00732421875, -0.0210113525390625, 0.008056640625, -0.02691650390625, -0.0200042724609375, -0.00850677490234375, -0.02740478515625, 0.0022068023681640625, 0.005451202392578125, 0.0037937164306640625, -0.0806884765625, -0.042327880859375, 0.006084442138671875, 0.0204315185546875, -0.0005331039428710938, -0.0302581787109375, -0.01337432861328125, 0.01324462890625, 0.005222320556640625, 0.0149993896484375, -0.01934814453125, -0.027801513671875, -0.00907135009765625, -0.01824951171875, -0.008697509765625, 0.0308837890625, -0.0169830322265625, 0.057525634765625, -0.0115814208984375, 0.0094451904296875, -0.0186309814453125, -0.00127410888671875, -0.047637939453125, 0.0740966796875, -0.0014486312866210938, -0.0256805419921875, -0.0164947509765625, -0.003139495849609375, 0.003368377685546875, 0.01885986328125, -0.0265350341796875, -0.00429534912109375, 0.0010709762573242188, 0.0080718994140625, 0.0029773712158203125, 0.0256195068359375, -0.0027103424072265625, 0.0281829833984375, 0.0092315673828125, 0.0171661376953125, 0.00960540771484375, 0.004161834716796875, -0.0119781494140625, -0.03814697265625, 0.046783447265625, -0.005428314208984375, -0.0478515625, 0.008026123046875, -0.03717041015625, -0.01018524169921875, -0.00482177734375, 0.01035308837890625, -0.022491455078125, 0.0218353271484375, 0.001026153564453125, -0.01514434814453125, -0.0330810546875, -0.047760009765625, -0.0038394927978515625, -0.058380126953125, 0.10174560546875, 0.0291900634765625, -0.0031261444091796875, 0.0302581787109375, -0.033843994140625, 0.016082763671875, -0.019134521484375, 0.034210205078125, 0.0095062255859375, -0.0540771484375, 0.01898193359375, 0.040191650390625, -0.005161285400390625, -0.02252197265625, 0.0100555419921875, -0.0032253265380859375, -0.0159454345703125, -0.04156494140625, 0.032623291015625, -0.030487060546875, 0.0240631103515625, 0.01055145263671875, -0.007904052734375, -0.002117156982421875, 0.041168212890625, -0.02032470703125, 0.0149078369140625, 0.017578125, -0.043792724609375, -0.0152435302734375, -0.031402587890625, 0.01824951171875, 0.049072265625, -0.040283203125, 0.0261077880859375, 0.0228729248046875, -0.0220947265625, -0.0081634521484375, -0.011474609375, 0.056396484375, -0.04254150390625, -0.0019321441650390625, 0.034393310546875, 0.01302337646484375, -0.015899658203125, -0.00858306884765625, 0.0189056396484375, 0.00876617431640625, 0.023284912109375, -0.0092926025390625, -0.01363372802734375, -0.040679931640625, -0.0210723876953125, -0.0667724609375, 0.05889892578125, -0.001255035400390625, 0.052276611328125, 0.0178680419921875, 0.0094451904296875, -0.022125244140625, -0.0208740234375, -0.01264190673828125, 0.054840087890625, 0.00720977783203125, 0.0478515625, -0.030181884765625, -0.0022830963134765625, 0.0304718017578125, 0.01105499267578125, 0.051605224609375, -0.01459503173828125, -0.021697998046875, -0.032989501953125, 0.03912353515625, 0.04705810546875, 0.0259552001953125, 0.010345458984375, -0.022186279296875, 0.039764404296875, 0.044952392578125, -0.056640625, 0.01267242431640625, 0.0061798095703125, -0.043609619140625, -0.006244659423828125, 0.00469207763671875, -0.00030159950256347656, 0.0235137939453125, 0.0107879638671875, -0.01548004150390625, 0.01041412353515625, 0.0268096923828125, -0.006229400634765625, 0.01020050048828125, 0.049072265625, 0.031219482421875, -0.06890869140625, -0.03875732421875, -0.035125732421875, 0.04833984375, -0.004558563232421875, 0.008087158203125, -0.005443572998046875, 0.01380157470703125, 0.036468505859375, -0.032958984375, 0.00247955322265625, 0.027191162109375, -0.048004150390625, 0.03692626953125, 0.0036468505859375, 0.035430908203125, -0.061187744140625, -0.09722900390625, 0.027252197265625, 0.061920166015625, 0.0036830902099609375, -0.04742431640625, 0.002780914306640625, -0.0128936767578125, -0.0143890380859375, -0.01031494140625, -0.0172271728515625, 0.0152740478515625, 0.0238189697265625, -0.0118408203125, -0.006145477294921875, -0.01904296875, 0.010284423828125, -0.028228759765625, -0.011993408203125, 0.0166778564453125, 0.0189361572265625, -0.00021016597747802734, 0.02459716796875, 0.019287109375, -0.0107269287109375, -0.00659942626953125, -0.00860595703125, 0.004779815673828125, 0.0266571044921875, -0.0187225341796875, 0.030517578125, -0.0416259765625, 0.03131103515625, -0.05645751953125, -0.061065673828125, -0.0218353271484375, 0.06787109375, 0.0097198486328125, 0.00353240966796875, 0.04052734375, 0.05584716796875, -0.0011959075927734375, -0.01306915283203125, 0.017578125, -0.005214691162109375, -0.0209808349609375, 0.0080108642578125, -0.003925323486328125, 0.049957275390625, -0.005344390869140625, 0.004261016845703125, 0.035430908203125, 0.036651611328125, -0.017486572265625, 0.004955291748046875, 0.0105133056640625, -0.0054473876953125, 0.03997802734375, 0.00771331787109375, -0.0021820068359375, 0.0177154541015625, -0.09112548828125, -0.02056884765625, 0.00701141357421875, -0.0188446044921875, 0.0005731582641601562, 0.0239105224609375, -0.03131103515625, 0.04901123046875, 0.007171630859375, -0.006000518798828125, -0.031341552734375, 0.005962371826171875, 0.0183563232421875, 0.031280517578125, 0.024993896484375, 0.0258026123046875, -0.054840087890625, -0.0261383056640625, -0.015777587890625, 0.0031299591064453125, 0.016204833984375, 0.05322265625, 0.00797271728515625, 0.0116729736328125, 0.036651611328125, -0.055450439453125, 0.061798095703125, 0.031158447265625, -0.00548553466796875, -0.006389617919921875, -0.0149078369140625, -0.018402099609375, 0.01013946533203125, 0.00843048095703125, 0.0257415771484375, -0.0248260498046875, -0.01456451416015625, -0.02880859375, 0.020355224609375, -0.004833221435546875, -0.032562255859375, -0.03997802734375, 0.0218353271484375, 0.0261993408203125, -0.025726318359375, 0.01102447509765625, -0.05499267578125, 0.003292083740234375, 0.019500732421875, 0.03143310546875, 0.0017118453979492188, 0.01253509521484375, 0.004322052001953125, 0.027374267578125, 0.043701171875, -0.0158538818359375, 0.02581787109375, -0.006938934326171875, -0.0250091552734375, 0.0244903564453125, 0.01250457763671875, 0.004108428955078125, 0.01538848876953125, -0.006313323974609375, 0.018341064453125, 0.00563812255859375, 0.024261474609375, -0.005565643310546875, -0.0228424072265625, 0.0197296142578125, -0.0196533203125, -0.032470703125, 0.0003552436828613281, -0.0223236083984375, -0.036834716796875, -0.0218505859375, -0.01287078857421875, -0.034515380859375, -0.06597900390625, 0.002765655517578125, -0.036834716796875, 0.022308349609375, 0.01396942138671875, -0.03680419921875, 0.011627197265625, -0.00788116455078125, -0.021728515625, 0.000263214111328125, -0.00814056396484375, -0.00696563720703125, 0.03424072265625, -0.0202484130859375, -0.06829833984375, -0.0433349609375, 0.04559326171875, -0.031280517578125, -0.014190673828125, 0.0276031494140625, -0.0034694671630859375, -0.033203125, -0.0243377685546875, -0.020538330078125, 0.0228729248046875, -0.0209197998046875, -0.0009794235229492188, 0.0204620361328125, 0.00659942626953125, -0.035858154296875, -0.040130615234375, 0.0017604827880859375, -0.01421356201171875, 0.002262115478515625, -0.02642822265625, 0.021484375, 0.026031494140625, -0.0230865478515625, -0.049407958984375, 0.01132965087890625, -0.007038116455078125, -0.03009033203125, -0.0823974609375, 0.02630615234375, 0.00598907470703125, -0.010345458984375, -0.0160675048828125, -0.041656494140625, -0.04010009765625, 0.0266265869140625, 0.00867462158203125, 0.004016876220703125, 0.06396484375, -0.014678955078125, -0.054443359375, -0.0322265625, -0.035552978515625, 0.00994110107421875, -0.01690673828125, 0.033905029296875, 0.00850677490234375, 0.05364990234375, 0.00508880615234375, -0.0025577545166015625, -0.00630950927734375, -0.0379638671875, -0.033111572265625, -0.01483154296875, -0.0226287841796875, 0.00821685791015625, 0.09039306640625, 0.05487060546875, 0.0189666748046875, -0.044281005859375, 0.035400390625, -0.0275421142578125, -0.00555419921875, -0.023956298828125, 0.0045928955078125, -0.0469970703125, -0.01271820068359375, 0.0020160675048828125, 0.0130767822265625, -0.00281524658203125, -0.0330810546875, 0.0006504058837890625, -0.0261383056640625, 0.0101165771484375, 0.007625579833984375, 0.01459503173828125, 0.0026607513427734375, 0.039581298828125, -0.0350341796875, -0.0271148681640625, 0.0194244384765625, 0.006877899169921875, -0.004291534423828125, 0.00872039794921875, 0.00417327880859375, 0.0224151611328125, -0.01122283935546875, 0.0018892288208007812, 0.0189208984375, -0.042388916015625, 0.01194000244140625, 0.00516510009765625, -0.006549835205078125, -0.00852203369140625, -0.007266998291015625, -0.005619049072265625, 0.0022792816162109375, -0.003772735595703125, -0.0270538330078125, 0.1014404296875, -0.01197052001953125, 0.0196990966796875, -0.0083465576171875, -0.01079559326171875, -0.00983428955078125, 0.016143798828125, 0.0625, -0.029571533203125, 0.0240936279296875, 0.041229248046875, -0.00844573974609375, 0.0253753662109375, -0.0179901123046875, -0.0892333984375, -0.0217132568359375, -0.018402099609375 ]
c365283b65e98493f289a7de646a7e112f684544
Wordpress Stackexchange Q: WordPress Connection Pooling I can't seem to find anything about setting up connection pooling in WordPress / PHP. Is this possible, and can someone provide some info on how to do it? I did find some docs on editing wp-db.php and changing MySQL_connect to use mysql_pconnect by that seems hacky (and isn't really connection pooling). I found that the MySQL drivers support putting a "Pooling=True;" parameter in the connection string, but I don't see a way to do this in WordPress. Any ideas? A: If you just add p: then it conflicts with MySQL Port. So wp-config.php file you should be able to do it by replacing define('DB_HOST','localhost'); with define('DB_HOST','p:localhost:3306');
Q: WordPress Connection Pooling I can't seem to find anything about setting up connection pooling in WordPress / PHP. Is this possible, and can someone provide some info on how to do it? I did find some docs on editing wp-db.php and changing MySQL_connect to use mysql_pconnect by that seems hacky (and isn't really connection pooling). I found that the MySQL drivers support putting a "Pooling=True;" parameter in the connection string, but I don't see a way to do this in WordPress. Any ideas? A: If you just add p: then it conflicts with MySQL Port. So wp-config.php file you should be able to do it by replacing define('DB_HOST','localhost'); with define('DB_HOST','p:localhost:3306'); A: Per the mysqli documentation for opening connections http://php.net/manual/en/mysqli.construct.php, it seems that all you need to do is add p: befor the host name argument, so basically in you wp-config.php file you should be able to do it by replacing define('DB_HOST','localhost'); with define('DB_HOST','p:localhost');
wordpress
{ "language": "en", "length": 154, "provenance": "stackexchange_00019.jsonl.gz:473863", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258709" }
[ 0.05548095703125, 0.03179931640625, -0.037872314453125, -0.020904541015625, 0.05108642578125, -0.0469970703125, 0.07794189453125, -0.01171112060546875, 0.00007230043411254883, 0.034698486328125, -0.038818359375, 0.0166015625, -0.011962890625, -0.0137481689453125, -0.03179931640625, -0.0312347412109375, 0.0211334228515625, 0.01102447509765625, 0.026458740234375, 0.0018205642700195312, -0.0019311904907226562, 0.0221405029296875, 0.0167236328125, -0.0111236572265625, 0.04412841796875, -0.00701904296875, 0.0855712890625, -0.039215087890625, 0.045074462890625, -0.003604888916015625, 0.0300750732421875, -0.040313720703125, 0.0049591064453125, 0.020111083984375, -0.0008187294006347656, -0.0379638671875, -0.00876617431640625, 0.01265716552734375, -0.016937255859375, 0.03955078125, 0.00011581182479858398, 0.0019435882568359375, 0.0072479248046875, -0.0168304443359375, -0.035736083984375, -0.0035610198974609375, -0.017730712890625, -0.0170135498046875, 0.005390167236328125, -0.04473876953125, -0.0049285888671875, 0.036041259765625, 0.0241241455078125, -0.042755126953125, -0.0074920654296875, -0.0005326271057128906, -0.0161895751953125, -0.0018444061279296875, 0.025665283203125, 0.0063018798828125, -0.016448974609375, 0.0070037841796875, 0.010650634765625, -0.0030193328857421875, -0.052734375, -0.0084686279296875, 0.003322601318359375, 0.002674102783203125, -0.00023293495178222656, -0.047393798828125, 0.0105438232421875, 0.01507568359375, -0.0136260986328125, -0.0016222000122070312, -0.0026378631591796875, -0.025390625, 0.04461669921875, -0.018096923828125, -0.01580810546875, 0.0297088623046875, 0.00664520263671875, -0.0682373046875, -0.0132904052734375, 0.0009617805480957031, 0.0269775390625, 0.047698974609375, 0.00888824462890625, -0.0110931396484375, 0.004291534423828125, -0.034149169921875, -0.0086517333984375, -0.0158843994140625, -0.01328277587890625, 0.0216217041015625, -0.02667236328125, -0.0261993408203125, -0.0155181884765625, -0.036376953125, 0.01788330078125, 0.01146697998046875, 0.0299224853515625, -0.0474853515625, 0.039093017578125, -0.011199951171875, 0.01068878173828125, 0.0139617919921875, -0.01776123046875, -0.0428466796875, 0.01522064208984375, 0.0181427001953125, -0.015625, 0.003204345703125, -0.0057373046875, -0.006103515625, -0.036956787109375, 0.01290130615234375, -0.01837158203125, -0.030059814453125, -0.018768310546875, -0.028350830078125, -0.004344940185546875, 0.0251617431640625, -0.08123779296875, 0.039764404296875, -0.004947662353515625, -0.019775390625, 0.0261688232421875, 0.020050048828125, -0.0772705078125, 0.027008056640625, -0.0330810546875, -0.003643035888671875, 0.1102294921875, 0.082763671875, 0.0281219482421875, -0.015625, 0.042266845703125, -0.018096923828125, -0.02032470703125, 0.01486968994140625, 0.03729248046875, -0.0054168701171875, -0.03155517578125, -0.001407623291015625, 0.01824951171875, 0.0227813720703125, 0.022430419921875, 0.0096435546875, -0.00321197509765625, -0.001094818115234375, -0.01552581787109375, 0.0084686279296875, -0.017608642578125, 0.0190887451171875, 0.0222930908203125, 0.01525115966796875, -0.007778167724609375, 0.01448822021484375, 0.01515960693359375, 0.01983642578125, -0.01776123046875, -0.0168609619140625, 0.0021114349365234375, 0.005397796630859375, 0.00867462158203125, 0.0164031982421875, 0.0103302001953125, 0.00356292724609375, 0.0299835205078125, -0.0194549560546875, 0.017181396484375, 0.0142364501953125, 0.05859375, 0.025604248046875, 0.004344940185546875, 0.0050048828125, -0.020904541015625, 0.0227508544921875, 0.01995849609375, -0.005718231201171875, -0.01134490966796875, -0.0310211181640625, 0.052398681640625, -0.00980377197265625, -0.0251007080078125, 0.0225677490234375, 0.036376953125, 0.08648681640625, -0.00029349327087402344, 0.0352783203125, 0.01166534423828125, -0.0167999267578125, -0.059967041015625, 0.042877197265625, -0.024139404296875, -0.012359619140625, -0.0035305023193359375, 0.0262451171875, -0.015838623046875, -0.0274505615234375, -0.03253173828125, 0.0040283203125, 0.0016870498657226562, 0.007068634033203125, 0.0004057884216308594, 0.00579833984375, -0.004241943359375, 0.0287322998046875, 0.0279388427734375, -0.034393310546875, -0.0257110595703125, -0.041534423828125, 0.070068359375, -0.1302490234375, -0.08624267578125, 0.04461669921875, -0.0433349609375, 0.0271453857421875, -0.01062774658203125, 0.060333251953125, -0.01248931884765625, -0.027099609375, -0.0021953582763671875, -0.026123046875, 0.027435302734375, -0.02423095703125, -0.01387786865234375, -0.0159149169921875, 0.02587890625, -0.0159912109375, 0.01085662841796875, 0.048309326171875, -0.0023288726806640625, 0.04327392578125, -0.00982666015625, -0.015411376953125, 0.01232147216796875, -0.023162841796875, 0.0200347900390625, 0.0298004150390625, 0.041839599609375, -0.01042938232421875, -0.031158447265625, -0.02801513671875, -0.00792694091796875, -0.10369873046875, -0.0136566162109375, -0.00894927978515625, -0.0009398460388183594, 0.0173492431640625, 0.0007281303405761719, -0.00232696533203125, 0.015899658203125, -0.04345703125, -0.0188446044921875, 0.04327392578125, 0.007701873779296875, 0.0019741058349609375, -0.0161285400390625, 0.02935791015625, -0.0206451416015625, -0.00827789306640625, -0.004756927490234375, -0.0146026611328125, 0.0509033203125, -0.0004935264587402344, 0.03814697265625, 0.03375244140625, 0.01641845703125, 0.01013946533203125, -0.0209503173828125, -0.089111328125, -0.0008730888366699219, 0.001293182373046875, -0.0220947265625, -0.016693115234375, -0.02105712890625, 0.015380859375, -0.0105438232421875, -0.0204315185546875, -0.024810791015625, 0.0024013519287109375, -0.0252227783203125, -0.029052734375, -0.004703521728515625, -0.051605224609375, 0.0053558349609375, -0.0171661376953125, 0.00916290283203125, -0.031585693359375, -0.0009274482727050781, 0.0189666748046875, -0.0263824462890625, 0.03509521484375, 0.0377197265625, -0.0305023193359375, -0.007083892822265625, -0.03778076171875, 0.039794921875, -0.043426513671875, 0.0269775390625, 0.0609130859375, -0.0211029052734375, 0.0259246826171875, 0.005016326904296875, 0.0109100341796875, 0.047607421875, -0.0020618438720703125, -0.018035888671875, -0.000919342041015625, -0.062744140625, -0.053924560546875, 0.00391387939453125, 0.00445556640625, 0.004241943359375, -0.040374755859375, 0.008636474609375, 0.0094757080078125, -0.036285400390625, -0.01303863525390625, 0.0214385986328125, -0.01439666748046875, -0.017486572265625, -0.0157470703125, -0.0095977783203125, -0.00882720947265625, -0.00458526611328125, -0.0043792724609375, 0.01152801513671875, -0.0273284912109375, -0.0880126953125, -0.050811767578125, -0.08978271484375, 0.0238494873046875, 0.00047016143798828125, 0.0340576171875, 0.0032711029052734375, 0.04559326171875, 0.006134033203125, -0.06878662109375, -0.00786590576171875, 0.0149993896484375, -0.0222625732421875, 0.0188140869140625, 0.01084136962890625, -0.007534027099609375, 0.0003066062927246094, 0.001285552978515625, 0.0035381317138671875, 0.021697998046875, -0.025421142578125, -0.0185699462890625, -0.0079345703125, 0.02532958984375, 0.01175689697265625, -0.0210418701171875, 0.01529693603515625, 0.028228759765625, -0.01216888427734375, -0.0193634033203125, -0.002223968505859375, 0.0140380859375, -0.01971435546875, -0.05828857421875, -0.0032958984375, -0.02117919921875, -0.0269012451171875, -0.00852203369140625, 0.004772186279296875, -0.022216796875, -0.0172882080078125, -0.04071044921875, 0.049591064453125, 0.006320953369140625, 0.034820556640625, -0.00025200843811035156, 0.0274810791015625, -0.014190673828125, -0.0174560546875, -0.0141754150390625, -0.0166168212890625, -0.04840087890625, 0.024627685546875, -0.07720947265625, -0.039215087890625, 0.03564453125, -0.024871826171875, 0.021392822265625, -0.036773681640625, -0.02447509765625, -0.004322052001953125, 0.08209228515625, -0.04058837890625, -0.00875091552734375, 0.016265869140625, 0.0322265625, -0.058929443359375, -0.0419921875, -0.050994873046875, -0.005462646484375, 0.038848876953125, -0.019317626953125, -0.012725830078125, -0.01837158203125, 0.01342010498046875, -0.006988525390625, 0.0338134765625, -0.01218414306640625, 0.004425048828125, 0.0007452964782714844, 0.0201873779296875, -0.005451202392578125, 0.0066375732421875, -0.0179595947265625, 0.01097869873046875, -0.03271484375, -0.0963134765625, -0.0338134765625, -0.0121612548828125, 0.10028076171875, 0.0169525146484375, -0.032012939453125, -0.0096435546875, 0.0787353515625, 0.01025390625, -0.00823974609375, 0.042449951171875, -0.0013170242309570312, 0.0002582073211669922, 0.003269195556640625, 0.032989501953125, -0.0285491943359375, -0.01377105712890625, -0.06683349609375, -0.01442718505859375, -0.04229736328125, -0.049713134765625, -0.005603790283203125, -0.036468505859375, -0.006366729736328125, 0.0002598762512207031, -0.00884246826171875, 0.01268768310546875, 0.034271240234375, 0.0012683868408203125, 0.00147247314453125, -0.0308990478515625, -0.023223876953125, 0.06866455078125, 0.0013189315795898438, 0.0089263916015625, -0.007457733154296875, 0.1029052734375, 0.0025119781494140625, -0.02130126953125, -0.06085205078125, 0.0281982421875, 0.017913818359375, -0.0004267692565917969, 0.0386962890625, -0.008819580078125, -0.0036487579345703125, 0.058807373046875, -0.0175933837890625, -0.0008320808410644531, 0.003696441650390625, 0.004047393798828125, -0.005466461181640625, -0.0281524658203125, 0.01511383056640625, -0.0099334716796875, -0.0015459060668945312, 0.0244293212890625, -0.006866455078125, 0.0071563720703125, 0.03912353515625, 0.00925445556640625, -0.006282806396484375, -0.035797119140625, -0.021636962890625, -0.06768798828125, 0.02520751953125, -0.09552001953125, 0.02655029296875, 0.00921630859375, -0.0128936767578125, 0.0552978515625, 0.005340576171875, 0.00786590576171875, 0.0154266357421875, 0.038177490234375, -0.0152587890625, 0.0384521484375, 0.0156402587890625, 0.0034656524658203125, -0.0102386474609375, -0.0298004150390625, 0.09893798828125, 0.00913238525390625, -0.07635498046875, 0.07733154296875, -0.036346435546875, 0.03192138671875, 0.048309326171875, 0.0010423660278320312, 0.057403564453125, 0.0261077880859375, -0.020050048828125, -0.02105712890625, -0.0211029052734375, -0.0164947509765625, -0.05572509765625, -0.0014085769653320312, -0.0169830322265625, 0.002956390380859375, 0.026031494140625, 0.0266265869140625, -0.0212860107421875, 0.0343017578125, -0.01163482666015625, 0.053192138671875, 0.045928955078125, 0.0292510986328125, -0.0095977783203125, -0.0139617919921875, 0.021392822265625, -0.01346588134765625, 0.004009246826171875, -0.033477783203125, -0.0426025390625, 0.03167724609375, 0.042877197265625, 0.00995635986328125, 0.0192718505859375, -0.01141357421875, 0.00812530517578125, 0.00027298927307128906, -0.003902435302734375, -0.0090789794921875, -0.01280975341796875, -0.006137847900390625, -0.038848876953125, 0.0113983154296875, -0.029205322265625, -0.0140838623046875, 0.003810882568359375, -0.0347900390625, 0.0325927734375, -0.00023996829986572266, 0.015777587890625, 0.006374359130859375, -0.01175689697265625, 0.0135650634765625, -0.03692626953125, -0.0188140869140625, -0.00785064697265625, 0.03338623046875, -0.044830322265625, -0.023651123046875, 0.05462646484375, -0.02886962890625, 0.0279693603515625, -0.031280517578125, -0.0006608963012695312, -0.044891357421875, -0.003887176513671875, 0.03924560546875, 0.034576416015625, -0.008758544921875, -0.01354217529296875, -0.039031982421875, -0.024658203125, 0.04638671875, 0.0083465576171875, -0.03662109375, -0.0178375244140625, 0.020904541015625, 0.0247955322265625, -0.0245513916015625, -0.05743408203125, -0.033111572265625, 0.0231781005859375, 0.032440185546875, 0.0443115234375, -0.032440185546875, 0.043182373046875, 0.017333984375, 0.0224151611328125, -0.00794219970703125, 0.0249481201171875, -0.00421905517578125, -0.0069427490234375, 0.010894775390625, -0.0504150390625, -0.0159759521484375, 0.01345062255859375, -0.033538818359375, -0.0159454345703125, -0.0013151168823242188, -0.01239776611328125, 0.0249176025390625, -0.05377197265625, -0.004337310791015625, -0.02972412109375, 0.06243896484375, -0.0748291015625, -0.0040283203125, -0.0008826255798339844, -0.01512908935546875, 0.0139007568359375, -0.007198333740234375, 0.016448974609375, 0.0174407958984375, -0.0210723876953125, 0.0157470703125, 0.0005660057067871094, -0.01175689697265625, 0.01335906982421875, 0.042144775390625, 0.0012979507446289062, 0.040435791015625, 0.01125335693359375, 0.007640838623046875, 0.0210723876953125, 0.021209716796875, -0.0655517578125, -0.061981201171875, -0.005786895751953125, 0.009185791015625, -0.0160369873046875, 0.00504302978515625, -0.01052093505859375, 0.0038928985595703125, 0.028076171875, 0.037506103515625, -0.0194091796875, -0.0120391845703125, -0.00449371337890625, -0.06256103515625, -0.030059814453125, -0.0247650146484375, 0.0279541015625, 0.01403045654296875, 0.06243896484375, 0.033843994140625, -0.01433563232421875, 0.0260162353515625, -0.00499725341796875, -0.00499725341796875, -0.033599853515625, -0.00974273681640625, 0.00885772705078125, -0.0288848876953125, 0.039154052734375, 0.0239715576171875, 0.00896453857421875, 0.04510498046875, 0.0162353515625, -0.036102294921875, -0.0271759033203125, -0.0289764404296875, -0.03759765625, -0.042938232421875, -0.04229736328125, -0.00963592529296875, -0.0008416175842285156, 0.0268707275390625, 0.051666259765625, -0.00849151611328125, -0.002872467041015625, 0.034088134765625, -0.011199951171875, -0.007476806640625, -0.005435943603515625, 0.022216796875, -0.02813720703125, -0.08001708984375, 0.00534820556640625, -0.07232666015625, 0.0037364959716796875, -0.01015472412109375, 0.0016660690307617188, 0.07421875, -0.0401611328125, -0.006168365478515625, 0.033294677734375, 0.01535797119140625, -0.00800323486328125, -0.00278472900390625, -0.009796142578125, -0.053741455078125, -0.033477783203125, -0.006961822509765625, -0.05999755859375, 0.03375244140625, -0.01233673095703125, -0.013519287109375, 0.05291748046875, -0.0028934478759765625, -0.0200347900390625, 0.040008544921875, 0.02508544921875, -0.05218505859375, 0.0098114013671875, -0.046905517578125, 0.058319091796875, 0.043121337890625, 0.05029296875, -0.06585693359375, -0.0269775390625, 0.0172882080078125, 0.03656005859375, 0.0411376953125, -0.0034503936767578125, -0.02374267578125, -0.0035724639892578125, 0.08111572265625, 0.054962158203125, 0.0186920166015625, 0.0148468017578125, -0.016571044921875, 0.0196990966796875, 0.028778076171875, -0.049407958984375, 0.0102081298828125, 0.01331329345703125, -0.0133819580078125, 0.01055908203125, 0.005970001220703125, -0.015869140625, -0.02069091796875, 0.0145111083984375, -0.0170745849609375, -0.01033782958984375, 0.00970458984375, -0.019439697265625, 0.0074310302734375, 0.013580322265625, 0.01226806640625, -0.07257080078125, -0.0191802978515625, -0.032623291015625, 0.032989501953125, -0.0193023681640625, -0.041778564453125, 0.0174713134765625, -0.004306793212890625, 0.01531219482421875, -0.00659942626953125, -0.038787841796875, 0.00846099853515625, 0.0274200439453125, 0.07183837890625, 0.0196075439453125, 0.01511383056640625, -0.043914794921875, -0.007579803466796875, 0.045501708984375, 0.10211181640625, -0.05487060546875, -0.052001953125, -0.005245208740234375, -0.001819610595703125, 0.04443359375, 0.0012063980102539062, 0.049163818359375, 0.00608062744140625, 0.01329803466796875, -0.0011463165283203125, 0.02020263671875, 0.004955291748046875, -0.0275421142578125, 0.0009465217590332031, 0.065673828125, -0.019805908203125, 0.04913330078125, -0.01064300537109375, -0.0211181640625, 0.00431060791015625, 0.05078125, 0.01812744140625, 0.036895751953125, -0.043365478515625, -0.022857666015625, -0.005580902099609375, 0.055145263671875, -0.01468658447265625, 0.004817962646484375, -0.064208984375, -0.0830078125, 0.0200347900390625, 0.050628662109375, 0.00557708740234375, -0.02227783203125, 0.0185699462890625, 0.016937255859375, -0.034942626953125, -0.011505126953125, 0.036529541015625, -0.0218658447265625, -0.0199127197265625, -0.046112060546875, -0.006580352783203125, -0.009674072265625, 0.003162384033203125, 0.0006017684936523438, 0.03826904296875, -0.0127105712890625, 0.0246124267578125, 0.003002166748046875, 0.0016183853149414062, -0.01342010498046875, 0.005275726318359375, -0.0191650390625, -0.007740020751953125, 0.036163330078125, -0.07940673828125, -0.039825439453125, -0.002399444580078125, -0.0009756088256835938, 0.0201416015625, 0.03717041015625, 0.00684356689453125, 0.0062255859375, 0.04046630859375, -0.03875732421875, 0.00322723388671875, 0.045684814453125, 0.0056610107421875, -0.00437164306640625, 0.0235137939453125, -0.0096588134765625, -0.049041748046875, -0.0296478271484375, -0.0261993408203125, 0.05108642578125, -0.0231781005859375, 0.05126953125, -0.02764892578125, 0.019989013671875, 0.02325439453125, 0.0029506683349609375, 0.0181884765625, 0.03106689453125, -0.0159149169921875, 0.0018033981323242188, 0.00896453857421875, -0.020355224609375, 0.0071563720703125, -0.0010986328125, 0.029815673828125, -0.04736328125, 0.0093841552734375, -0.039794921875, 0.0225830078125, -0.030059814453125, 0.034271240234375, -0.004756927490234375, -0.01198577880859375, 0.0167999267578125, 0.0095367431640625, 0.024932861328125, 0.03826904296875, 0.005794525146484375, 0.01293182373046875, -0.043426513671875, -0.0007810592651367188, 0.002841949462890625, -0.00298309326171875, -0.01556396484375, 0.00911712646484375, -0.05267333984375, -0.064208984375, 0.00022041797637939453, -0.0193328857421875, -0.002765655517578125, 0.002788543701171875, 0.05548095703125, 0.00914764404296875, -0.034942626953125, 0.0214996337890625, 0.050811767578125, 0.050750732421875, 0.01788330078125, 0.0220794677734375, 0.0256500244140625, -0.0241851806640625, 0.025115966796875, -0.033905029296875, -0.0283355712890625, -0.00830841064453125, -0.01166534423828125, 0.006687164306640625, 0.003093719482421875, -0.07183837890625, -0.05206298828125, -0.007633209228515625, 0.0318603515625, -0.00995635986328125, 0.01299285888671875, -0.01690673828125, -0.037689208984375, 0.019256591796875, 0.005615234375, -0.028656005859375, 0.030303955078125, 0.051116943359375, -0.0133514404296875, -0.0361328125, -0.0173492431640625, 0.0125885009765625, -0.0243682861328125, 0.00998687744140625, 0.0198974609375, -0.010589599609375, -0.0221099853515625, 0.0250396728515625, -0.0026531219482421875, 0.0750732421875, -0.01453399658203125, -0.0179595947265625, 0.031036376953125, -0.0011796951293945312, -0.0147705078125, -0.04425048828125, -0.0035381317138671875, -0.037384033203125, 0.01458740234375, -0.0487060546875, 0.0230560302734375, 0.00916290283203125, -0.05291748046875, -0.0880126953125, 0.04571533203125, -0.037445068359375, -0.030029296875, -0.09332275390625, 0.042694091796875, 0.0169677734375, -0.022308349609375, -0.0268402099609375, -0.015472412109375, -0.01457977294921875, 0.037689208984375, -0.00902557373046875, -0.00704193115234375, 0.0377197265625, -0.055633544921875, -0.01528167724609375, -0.0021800994873046875, 0.0247344970703125, -0.011962890625, -0.0153350830078125, 0.0103302001953125, 0.0232696533203125, 0.04833984375, 0.002490997314453125, 0.049560546875, 0.025360107421875, -0.03839111328125, -0.0014371871948242188, -0.01398468017578125, -0.06024169921875, -0.0333251953125, 0.058746337890625, 0.06158447265625, 0.03204345703125, -0.0177154541015625, -0.04132080078125, -0.0521240234375, -0.0130462646484375, -0.015625, 0.0164947509765625, -0.06817626953125, 0.005397796630859375, 0.0190582275390625, 0.00453948974609375, 0.01177978515625, 0.01116943359375, -0.01470947265625, -0.01611328125, 0.01171112060546875, -0.0252227783203125, -0.0253143310546875, -0.006175994873046875, 0.038238525390625, -0.046783447265625, -0.04644775390625, 0.0185546875, 0.0118865966796875, -0.0239105224609375, -0.0130157470703125, -0.0114898681640625, -0.01288604736328125, -0.004581451416015625, 0.0189208984375, -0.00576019287109375, 0.00850677490234375, -0.021270751953125, -0.005878448486328125, 0.0011510848999023438, 0.0143585205078125, 0.0118560791015625, 0.03509521484375, -0.01078033447265625, -0.01334381103515625, -0.013885498046875, -0.0176544189453125, -0.0291290283203125, -0.03692626953125, -0.0015916824340820312, 0.007007598876953125, -0.037109375, 0.006103515625, 0.019927978515625, -0.04058837890625, 0.00665283203125, -0.013214111328125, 0.052978515625, -0.070556640625, 0.04998779296875, 0.0182952880859375, 0.0196075439453125, 0.03314208984375 ]
8a0383f47af23488dd0cfe35668961c8d260079f
Wordpress Stackexchange Q: Disable sticky posts feature I need to create a custom WordPress admin interface for a client. I want to completely disable the sticky post feature from admin area. I found some posts on the internet that suggest to hide the checkbox using css, but I would really like to disable that feature both from edit and from quick edit screen. Any ideas? A: In addition to CSS you could try to unstick each post as soon as it has been made sticky (untested): add_action( 'post_stuck', function( $post_id ) { unstick_post( $post_id ); } ); If you're looking for another approach, than hiding it from the UI with CSS, then consider using custom post types instead of the post post type. As far as I remember the sticky UI feature is only supported by the post post type. At least a quick look at the posts list table class, shows a check like this one: if ( 'post' === $post_type && $sticky_posts = get_option( 'sticky_posts' ) ) { But not using the post post type, might not be suitable in many cases, and it might need further adjustments for your site.
Q: Disable sticky posts feature I need to create a custom WordPress admin interface for a client. I want to completely disable the sticky post feature from admin area. I found some posts on the internet that suggest to hide the checkbox using css, but I would really like to disable that feature both from edit and from quick edit screen. Any ideas? A: In addition to CSS you could try to unstick each post as soon as it has been made sticky (untested): add_action( 'post_stuck', function( $post_id ) { unstick_post( $post_id ); } ); If you're looking for another approach, than hiding it from the UI with CSS, then consider using custom post types instead of the post post type. As far as I remember the sticky UI feature is only supported by the post post type. At least a quick look at the posts list table class, shows a check like this one: if ( 'post' === $post_type && $sticky_posts = get_option( 'sticky_posts' ) ) { But not using the post post type, might not be suitable in many cases, and it might need further adjustments for your site. A: you could add this code: // Hide sticky posts add_action( 'admin_print_styles', 'hide_sticky_option' ); function hide_sticky_option() { global $post_type, $pagenow; if( 'post.php' != $pagenow && 'post-new.php' != $pagenow && 'edit.php' != $pagenow ) return; ?> <style type="text/css">#sticky-span { display:none!important } .quick-edit-row .inline-edit-col-right div.inline-edit-col > :last-child > label.alignleft:last-child{ display:none!important; }</style> <?php } This works great for me. A: The best and most optimal solution is to simply "ignore" sticky posts on all queries which can be done with this code: add_filter( 'pre_get_posts', function( $query ) { if ( ! is_admin() && $query->is_main_query() ) { $query->set( 'ignore_sticky_posts', 1 ); } } ); Of course the user can still click the checkbox but it won't actually do anything so it won't matter. But here is a good article showing how to hide with CSS if wanted - Is there a way to disable the sticky posts feature?
wordpress
{ "language": "en", "length": 335, "provenance": "stackexchange_00019.jsonl.gz:473877", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258751" }
[ 0.10693359375, -0.0105743408203125, 0.0576171875, -0.00965118408203125, 0.022216796875, -0.04168701171875, 0.0848388671875, -0.05499267578125, 0.027130126953125, 0.02825927734375, 0.022674560546875, -0.059112548828125, 0.03155517578125, -0.041748046875, -0.035369873046875, -0.018951416015625, 0.04364013671875, 0.0078125, 0.06378173828125, -0.01145172119140625, 0.043975830078125, 0.00707244873046875, 0.041961669921875, 0.004711151123046875, 0.01355743408203125, -0.001689910888671875, 0.046875, 0.0038242340087890625, 0.0017528533935546875, -0.00875091552734375, 0.0284423828125, -0.0174560546875, -0.01043701171875, 0.057342529296875, -0.035888671875, -0.0185089111328125, -0.006816864013671875, 0.02252197265625, 0.00007736682891845703, 0.0220794677734375, 0.0328369140625, -0.0177154541015625, -0.04254150390625, 0.044647216796875, -0.042266845703125, -0.0185699462890625, -0.0013208389282226562, -0.0179901123046875, 0.04705810546875, -0.02081298828125, -0.012359619140625, 0.0335693359375, 0.0228271484375, -0.0654296875, -0.0275115966796875, -0.0244598388671875, -0.006866455078125, 0.00986480712890625, 0.051300048828125, 0.0168304443359375, -0.037384033203125, -0.0445556640625, 0.011993408203125, -0.050445556640625, 0.02435302734375, -0.0164642333984375, 0.0036449432373046875, 0.019500732421875, -0.07159423828125, 0.03662109375, 0.07012939453125, -0.056427001953125, -0.00102996826171875, 0.007305145263671875, 0.017791748046875, -0.031890869140625, 0.013824462890625, -0.007740020751953125, 0.0030918121337890625, 0.024993896484375, 0.03057861328125, 0.046905517578125, -0.04681396484375, -0.01238250732421875, 0.0129547119140625, 0.003936767578125, -0.0198516845703125, -0.033111572265625, -0.0091705322265625, -0.020782470703125, -0.011962890625, -0.0038547515869140625, -0.0192413330078125, 0.02294921875, -0.004077911376953125, -0.0223388671875, 0.0236968994140625, 0.0013332366943359375, 0.0104522705078125, -0.0286712646484375, 0.00894927978515625, -0.041412353515625, -0.010955810546875, 0.0012216567993164062, -0.00661468505859375, 0.01500701904296875, -0.01300811767578125, -0.016815185546875, 0.02880859375, 0.037078857421875, 0.006343841552734375, 0.00455474853515625, -0.005645751953125, 0.0211639404296875, -0.0203704833984375, -0.0204010009765625, -0.0499267578125, 0.029266357421875, -0.0222625732421875, 0.031524658203125, 0.005847930908203125, 0.01340484619140625, -0.01456451416015625, -0.0030670166015625, -0.0013761520385742188, -0.0233917236328125, -0.038360595703125, 0.0207366943359375, 0.059783935546875, -0.0296478271484375, -0.053558349609375, -0.01432037353515625, 0.101318359375, 0.08343505859375, 0.07696533203125, -0.0116119384765625, -0.0119781494140625, -0.0264739990234375, -0.0157012939453125, 0.041839599609375, -0.01885986328125, -0.08203125, -0.005580902099609375, 0.0006227493286132812, -0.001689910888671875, 0.039215087890625, 0.0144805908203125, 0.0132904052734375, -0.0297088623046875, -0.0640869140625, 0.0146484375, -0.02764892578125, 0.0287322998046875, 0.019134521484375, -0.015625, -0.01922607421875, 0.0160064697265625, -0.01149749755859375, -0.009033203125, -0.0531005859375, 0.00820159912109375, 0.0158538818359375, 0.042144775390625, -0.0022373199462890625, -0.027679443359375, -0.006053924560546875, -0.03497314453125, -0.010498046875, 0.01763916015625, -0.0011529922485351562, 0.032073974609375, -0.009185791015625, -0.0261077880859375, -0.00408935546875, 0.00839996337890625, 0.00484466552734375, 0.0001748800277709961, -0.02166748046875, 0.0301361083984375, 0.03167724609375, 0.0061492919921875, -0.022216796875, 0.0357666015625, -0.008880615234375, -0.04644775390625, 0.01947021484375, -0.00015103816986083984, 0.01959228515625, 0.018310546875, -0.003322601318359375, 0.038330078125, 0.03985595703125, 0.002117156982421875, 0.0056304931640625, -0.003681182861328125, -0.031890869140625, -0.04656982421875, -0.0224456787109375, -0.01371002197265625, 0.031097412109375, -0.01739501953125, -0.01062774658203125, 0.0164642333984375, -0.0051116943359375, -0.0390625, 0.010223388671875, -0.023345947265625, 0.0341796875, -0.00339508056640625, 0.0272674560546875, 0.0207672119140625, 0.0063018798828125, -0.058502197265625, 0.028228759765625, -0.014373779296875, -0.01239013671875, 0.01203155517578125, 0.0372314453125, -0.01157379150390625, 0.0297088623046875, 0.0225677490234375, -0.034454345703125, 0.0107574462890625, 0.01395416259765625, 0.033538818359375, 0.0179290771484375, -0.01053619384765625, 0.00702667236328125, 0.046661376953125, 0.0204620361328125, 0.0007271766662597656, 0.0025997161865234375, -0.00982666015625, -0.023284912109375, -0.02825927734375, 0.00882720947265625, 0.00576019287109375, -0.057952880859375, -0.01666259765625, 0.043060302734375, 0.0361328125, 0.024078369140625, -0.00608062744140625, 0.0233001708984375, 0.0202178955078125, -0.0528564453125, -0.0012722015380859375, 0.0132293701171875, -0.0008764266967773438, 0.017547607421875, 0.0169525146484375, -0.0026645660400390625, 0.0182342529296875, -0.01148223876953125, 0.031494140625, 0.0247344970703125, 0.0012683868408203125, 0.01194000244140625, 0.01209259033203125, 0.00923919677734375, -0.0037555694580078125, 0.0269775390625, 0.0087127685546875, -0.01200103759765625, 0.03399658203125, 0.003643035888671875, 0.0236053466796875, 0.0116729736328125, -0.0282440185546875, 0.009063720703125, 0.0167999267578125, -0.0035495758056640625, 0.007568359375, 0.036376953125, 0.07000732421875, -0.028411865234375, -0.060943603515625, -0.0235595703125, 0.058197021484375, 0.0309906005859375, -0.017333984375, 0.01763916015625, 0.01386260986328125, -0.00868988037109375, -0.006595611572265625, -0.04052734375, 0.034637451171875, 0.001064300537109375, -0.00981903076171875, 0.01486968994140625, 0.00949859619140625, 0.03631591796875, 0.0048370361328125, 0.00566864013671875, 0.0292510986328125, 0.004810333251953125, -0.02325439453125, -0.0285186767578125, 0.01271820068359375, -0.006229400634765625, 0.046722412109375, 0.06719970703125, 0.012664794921875, 0.0082550048828125, 0.0235595703125, 0.0145721435546875, 0.032012939453125, 0.0205078125, 0.01708984375, 0.033905029296875, -0.040191650390625, 0.0259552001953125, 0.022674560546875, 0.0157012939453125, 0.00981903076171875, -0.0289154052734375, 0.0107574462890625, 0.036834716796875, -0.042999267578125, -0.0220184326171875, -0.00896453857421875, -0.08135986328125, 0.0176849365234375, 0.023193359375, -0.045623779296875, -0.020477294921875, 0.06610107421875, 0.028167724609375, -0.0206756591796875, -0.0015974044799804688, 0.00904083251953125, 0.010589599609375, -0.004634857177734375, 0.01534271240234375, -0.001071929931640625, 0.00860595703125, 0.007038116455078125, 0.09210205078125, -0.0029239654541015625, -0.0762939453125, -0.0207061767578125, -0.0239715576171875, -0.01392364501953125, 0.03045654296875, -0.033416748046875, 0.0382080078125, 0.044830322265625, 0.006130218505859375, -0.08929443359375, -0.00742340087890625, 0.03204345703125, -0.063232421875, -0.00914764404296875, -0.01346588134765625, -0.01226806640625, 0.01511383056640625, 0.0288238525390625, 0.01486968994140625, 0.0093536376953125, -0.02850341796875, -0.0225982666015625, -0.004947662353515625, -0.041534423828125, -0.041229248046875, 0.0149688720703125, -0.0159759521484375, -0.027740478515625, -0.0024852752685546875, 0.04888916015625, 0.01215362548828125, -0.0026187896728515625, -0.0096893310546875, 0.047821044921875, 0.0361328125, 0.0748291015625, -0.031524658203125, -0.028717041015625, -0.0294036865234375, 0.06829833984375, -0.0023212432861328125, 0.002498626708984375, -0.032623291015625, 0.053131103515625, -0.019805908203125, -0.0518798828125, 0.04571533203125, -0.036285400390625, 0.00335693359375, -0.032318115234375, -0.0238189697265625, 0.005126953125, 0.0938720703125, -0.086181640625, 0.005641937255859375, -0.03753662109375, 0.00270843505859375, 0.0240020751953125, -0.08087158203125, -0.0305328369140625, -0.024017333984375, -0.0916748046875, 0.00823211669921875, -0.005954742431640625, -0.03753662109375, -0.0224456787109375, 0.0369873046875, -0.07073974609375, -0.034698486328125, 0.0194549560546875, -0.006305694580078125, -0.017547607421875, 0.00745391845703125, -0.004840850830078125, -0.023834228515625, -0.006038665771484375, -0.0141143798828125, -0.051727294921875, -0.006378173828125, -0.0020427703857421875, 0.0247650146484375, -0.017181396484375, 0.034576416015625, -0.006866455078125, 0.038604736328125, 0.0010509490966796875, 0.01247406005859375, -0.00894927978515625, 0.004413604736328125, -0.0026702880859375, -0.0286407470703125, -0.01605224609375, -0.0159759521484375, -0.0207366943359375, 0.014556884765625, -0.0092926025390625, 0.03021240234375, -0.015869140625, -0.03717041015625, 0.04156494140625, -0.029449462890625, -0.06463623046875, -0.05255126953125, -0.048583984375, 0.02508544921875, -0.019134521484375, 0.00519561767578125, -0.0594482421875, -0.0831298828125, 0.038330078125, -0.00872802734375, -0.01404571533203125, 0.005279541015625, 0.058349609375, 0.01678466796875, -0.01233673095703125, -0.06243896484375, -0.0142974853515625, 0.042449951171875, 0.0023193359375, 0.01178741455078125, 0.025146484375, -0.037750244140625, 0.037017822265625, 0.0083770751953125, -0.020111083984375, -0.061614990234375, 0.059844970703125, -0.0077362060546875, 0.0103759765625, -0.0064239501953125, -0.045440673828125, 0.083251953125, -0.00780487060546875, -0.0222015380859375, 0.003200531005859375, -0.03656005859375, 0.02960205078125, 0.0248565673828125, -0.0194244384765625, -0.05401611328125, -0.04754638671875, 0.0186614990234375, -0.0377197265625, 0.01146697998046875, 0.0374755859375, -0.0084075927734375, 0.0386962890625, 0.004360198974609375, -0.0220947265625, 0.0276336669921875, 0.031524658203125, 0.005878448486328125, 0.0135345458984375, 0.022735595703125, -0.02154541015625, -0.019195556640625, -0.005950927734375, 0.0244903564453125, 0.01580810546875, -0.0282745361328125, -0.028411865234375, -0.013092041015625, 0.002010345458984375, -0.0083160400390625, 0.01494598388671875, 0.051605224609375, 0.0194854736328125, -0.00860595703125, -0.00936126708984375, 0.0134735107421875, -0.0072784423828125, -0.062744140625, 0.0323486328125, 0.0215606689453125, -0.0031147003173828125, 0.051849365234375, 0.0107421875, 0.003383636474609375, 0.0299835205078125, -0.01200103759765625, 0.05926513671875, 0.0078125, 0.02825927734375, -0.0093536376953125, 0.026092529296875, 0.022003173828125, -0.03338623046875, -0.00806427001953125, -0.03485107421875, 0.0291290283203125, 0.020721435546875, 0.05279541015625, 0.01401519775390625, -0.047210693359375, 0.0035724639892578125, -0.053497314453125, -0.017730712890625, 0.0640869140625, 0.03826904296875, -0.05499267578125, -0.00409698486328125, 0.0267486572265625, 0.00612640380859375, -0.036376953125, 0.0023593902587890625, 0.017669677734375, -0.039642333984375, -0.004940032958984375, 0.01214599609375, -0.008209228515625, -0.02850341796875, -0.01214599609375, -0.023162841796875, -0.004016876220703125, -0.0283660888671875, -0.034210205078125, -0.072265625, 0.036590576171875, 0.0181884765625, -0.0280914306640625, -0.02484130859375, 0.019805908203125, -0.01568603515625, -0.0004429817199707031, -0.0045623779296875, 0.0291900634765625, 0.0455322265625, 0.0291290283203125, -0.031829833984375, -0.021820068359375, -0.064453125, -0.0179443359375, -0.074951171875, -0.05877685546875, -0.0377197265625, 0.029205322265625, 0.025634765625, 0.015716552734375, -0.005954742431640625, -0.0703125, -0.0173187255859375, 0.005847930908203125, 0.047271728515625, 0.047332763671875, -0.007232666015625, 0.05206298828125, -0.0172119140625, 0.045684814453125, 0.007244110107421875, 0.0215911865234375, -0.001026153564453125, -0.0287628173828125, -0.0094757080078125, -0.036590576171875, -0.0105743408203125, 0.029998779296875, -0.0271759033203125, 0.01543426513671875, 0.0291748046875, -0.005199432373046875, 0.01023101806640625, -0.0265045166015625, 0.00881195068359375, -0.049713134765625, -0.025115966796875, -0.0516357421875, 0.0014581680297851562, -0.04193115234375, -0.00867462158203125, -0.0013675689697265625, -0.00305938720703125, -0.03466796875, 0.01947021484375, 0.01528167724609375, 0.01593017578125, -0.011016845703125, -0.0219268798828125, 0.0258331298828125, 0.061920166015625, 0.0445556640625, 0.05914306640625, 0.003208160400390625, 0.04705810546875, 0.01059722900390625, 0.029083251953125, -0.0177154541015625, -0.03253173828125, 0.066162109375, 0.035858154296875, -0.027496337890625, 0.052520751953125, -0.03289794921875, 0.0203399658203125, 0.07672119140625, 0.0699462890625, -0.0965576171875, 0.00047588348388671875, 0.01241302490234375, 0.0139923095703125, 0.057708740234375, -0.021240234375, 0.002338409423828125, -0.06451416015625, 0.0131683349609375, 0.005893707275390625, -0.04461669921875, -0.0406494140625, -0.046295166015625, -0.00991058349609375, -0.0032634735107421875, 0.0279693603515625, 0.0018939971923828125, -0.029327392578125, -0.001560211181640625, 0.01096343994140625, -0.007625579833984375, -0.00812530517578125, 0.0009303092956542969, -0.0107421875, -0.02825927734375, -0.0738525390625, -0.0154571533203125, -0.00982666015625, -0.032379150390625, 0.04736328125, -0.0080718994140625, 0.01340484619140625, 0.052459716796875, -0.028594970703125, 0.0438232421875, 0.001316070556640625, -0.030029296875, -0.01593017578125, -0.0220947265625, 0.0240631103515625, 0.006366729736328125, -0.0291748046875, 0.021728515625, -0.0118408203125, -0.044097900390625, -0.03326416015625, -0.0236663818359375, 0.10296630859375, -0.0197601318359375, -0.0233154296875, 0.016815185546875, 0.0322265625, -0.016571044921875, -0.022857666015625, 0.0195465087890625, -0.02655029296875, 0.00408172607421875, -0.021240234375, -0.03607177734375, -0.034271240234375, -0.06744384765625, -0.0494384765625, 0.07183837890625, -0.020477294921875, 0.0191802978515625, -0.0087127685546875, 0.0294342041015625, -0.00843048095703125, 0.01016998291015625, -0.04107666015625, 0.025543212890625, 0.0202178955078125, 0.05792236328125, -0.0384521484375, -0.0181732177734375, 0.01320648193359375, 0.050445556640625, 0.047607421875, -0.0012273788452148438, 0.006694793701171875, -0.01421356201171875, 0.05084228515625, 0.05816650390625, 0.0018768310546875, -0.0031681060791015625, -0.0247650146484375, 0.043487548828125, 0.0177459716796875, -0.0721435546875, 0.0155029296875, -0.022064208984375, -0.046905517578125, -0.01031494140625, 0.030059814453125, 0.03375244140625, -0.009918212890625, -0.01033782958984375, -0.04254150390625, 0.01134490966796875, 0.029388427734375, -0.0014715194702148438, -0.0263519287109375, 0.014678955078125, 0.0171356201171875, -0.0682373046875, 0.0198516845703125, -0.048828125, 0.04840087890625, 0.028717041015625, 0.014190673828125, -0.0016298294067382812, 0.01552581787109375, -0.054595947265625, -0.000362396240234375, 0.023406982421875, 0.036956787109375, -0.07867431640625, -0.015380859375, -0.0286865234375, 0.01194000244140625, -0.044189453125, -0.0013742446899414062, 0.005443572998046875, -0.024322509765625, -0.007221221923828125, -0.0158233642578125, 0.01238250732421875, 0.0106353759765625, 0.0026912689208984375, -0.05035400390625, -0.0222015380859375, -0.01074981689453125, 0.015899658203125, -0.0213623046875, 0.0257568359375, 0.0164642333984375, 0.04046630859375, 0.0181732177734375, 0.0767822265625, -0.09002685546875, -0.01548004150390625, -0.01178741455078125, -0.004383087158203125, -0.003662109375, 0.01430511474609375, 0.0379638671875, -0.006015777587890625, 0.01374053955078125, -0.011962890625, -0.020416259765625, 0.0229339599609375, 0.002742767333984375, 0.0243988037109375, -0.0450439453125, -0.034271240234375, 0.006069183349609375, 0.038055419921875, 0.039642333984375, 0.0284271240234375, 0.0654296875, 0.041015625, -0.01486968994140625, -0.004669189453125, 0.03131103515625, -0.01062774658203125, -0.041107177734375, -0.01788330078125, -0.025360107421875, 0.01354217529296875, 0.004169464111328125, 0.01259613037109375, 0.0167236328125, 0.020782470703125, -0.016998291015625, 0.045806884765625, 0.004886627197265625, -0.005420684814453125, 0.02764892578125, 0.0140838623046875, 0.0073699951171875, 0.0242156982421875, -0.034210205078125, -0.0167236328125, -0.00878143310546875, -0.033050537109375, 0.0020847320556640625, 0.022369384765625, -0.01800537109375, 0.02886962890625, -0.018310546875, 0.0304412841796875, -0.0184478759765625, -0.026824951171875, 0.0187530517578125, -0.0206451416015625, -0.002101898193359375, 0.01036834716796875, -0.041595458984375, -0.0241241455078125, -0.003978729248046875, 0.037994384765625, -0.0229644775390625, 0.09332275390625, -0.0284881591796875, -0.0052947998046875, -0.01824951171875, 0.01544189453125, -0.022003173828125, -0.01102447509765625, -0.0104827880859375, 0.01142120361328125, 0.0233154296875, -0.00701904296875, -0.049713134765625, 0.02313232421875, 0.0316162109375, -0.0310821533203125, 0.0234832763671875, 0.0166778564453125, 0.003692626953125, -0.046722412109375, -0.0024356842041015625, -0.04266357421875, -0.01273345947265625, 0.0029354095458984375, -0.00005137920379638672, -0.01500701904296875, -0.04876708984375, -0.003620147705078125, 0.0278472900390625, 0.022216796875, 0.0016965866088867188, 0.0010442733764648438, -0.0023021697998046875, 0.01406097412109375, 0.03802490234375, -0.005847930908203125, -0.045806884765625, 0.0014057159423828125, -0.0101776123046875, -0.0208892822265625, 0.026336669921875, 0.0030975341796875, 0.0220184326171875, -0.0328369140625, -0.032318115234375, 0.0123291015625, 0.0328369140625, -0.01192474365234375, 0.01456451416015625, -0.006694793701171875, -0.01319122314453125, -0.02166748046875, -0.01380157470703125, -0.002635955810546875, -0.0299072265625, -0.011505126953125, 0.039947509765625, -0.0203704833984375, -0.01372528076171875, -0.056121826171875, -0.026458740234375, 0.0259246826171875, 0.015716552734375, -0.047271728515625, 0.0255279541015625, -0.01282501220703125, 0.00522613525390625, -0.0110321044921875, 0.033599853515625, -0.0008907318115234375, 0.025634765625, -0.0217132568359375, -0.023895263671875, -0.004955291748046875, 0.0433349609375, -0.00824737548828125, 0.0281524658203125, 0.045684814453125, -0.0240631103515625, 0.0120086669921875, 0.00030517578125, 0.0180206298828125, 0.0556640625, -0.0037097930908203125, -0.0012331008911132812, 0.01483917236328125, -0.0008769035339355469, -0.0325927734375, -0.053375244140625, 0.01277923583984375, -0.03521728515625, -0.001995086669921875, -0.057647705078125, -0.004581451416015625, -0.01214599609375, -0.048370361328125, -0.06719970703125, -0.0305023193359375, -0.008392333984375, -0.03509521484375, -0.038604736328125, 0.0018892288208007812, -0.00875091552734375, 0.01554107666015625, 0.00186920166015625, -0.0282745361328125, -0.0078582763671875, 0.028778076171875, 0.00008320808410644531, 0.0022220611572265625, 0.04046630859375, -0.01496124267578125, -0.035491943359375, -0.007781982421875, -0.020782470703125, 0.0038852691650390625, -0.011993408203125, -0.0036487579345703125, 0.03558349609375, 0.05523681640625, -0.0303192138671875, 0.0132904052734375, 0.0033626556396484375, -0.014678955078125, -0.01238250732421875, -0.019500732421875, -0.040374755859375, -0.01580810546875, 0.064208984375, 0.0711669921875, 0.01727294921875, -0.023712158203125, -0.01512908935546875, -0.053375244140625, -0.031646728515625, -0.008453369140625, 0.01413726806640625, -0.050689697265625, 0.0171051025390625, 0.0224456787109375, -0.009033203125, 0.0238189697265625, 0.03070068359375, -0.007366180419921875, -0.0005283355712890625, 0.0180206298828125, -0.0243682861328125, -0.07220458984375, 0.040985107421875, -0.006847381591796875, -0.025115966796875, -0.0033283233642578125, -0.027069091796875, -0.01092529296875, 0.0015468597412109375, -0.01806640625, -0.028961181640625, -0.0309295654296875, -0.011566162109375, 0.0472412109375, -0.0298614501953125, 0.023529052734375, -0.05377197265625, 0.01448822021484375, -0.01458740234375, 0.0025882720947265625, 0.00862884521484375, -0.0092620849609375, -0.01425933837890625, -0.014434814453125, 0.005870819091796875, 0.055023193359375, 0.0123443603515625, 0.0165557861328125, -0.0152130126953125, 0.05450439453125, 0.007694244384765625, -0.033355712890625, 0.0164031982421875, -0.0249481201171875, 0.026702880859375, 0.035369873046875, 0.0594482421875, 0.020721435546875, 0.0099029541015625, -0.039398193359375, 0.0007338523864746094, -0.00859832763671875 ]
b4eb0bb3bfe8c2c04e2610988ea5a91657a61d4f
Wordpress Stackexchange Q: Order post by year DESC and month ASC I have a worpresss 4.0.12 website; i created a custom template category-$id.php in which I have to show post ordering them by Year DESC and by month ASC (or a custom field ASC), the result should be something like this: 2017 * *Post 10-01-2017 *Post 25-01-2017 *Post 05-03-2017 *Post 06-12-2017 2016 * *Post 10-01-2016 *Post 05-03-2016 *Post 06-12-2016 2015 [...] How can I do? I Tried width query_posts($args) but I can't order by a second field A: To show a list by Year DESC and by month ASC: change your post type with custom_post. global $wpdb; $posts = $wpdb->posts; $sql = "SELECT DISTINCT(YEAR(`post_date`)) as years FROM $posts WHERE post_type = 'custom_post' ORDER BY years DESC"; //Get all post year list by DESC $result = $wpdb->get_results($sql); foreach($result as $rs) { echo '<h2>'.$rs->years.'</h2>'; $args = array( 'post_type' => 'custom_post', 'post_per_page'=> -1, 'post_status' => 'publish', 'orderby' => 'date', 'order' => 'ASC', 'date_query' => array(array( 'year'=> $rs->years, ),), ); $loop = new WP_Query($args); if($loop->have_posts()) { while($loop->have_posts()) : $loop->the_post(); echo '<a href="'.get_permalink().'">'.get_the_date().'</a>'; endwhile; } }
Q: Order post by year DESC and month ASC I have a worpresss 4.0.12 website; i created a custom template category-$id.php in which I have to show post ordering them by Year DESC and by month ASC (or a custom field ASC), the result should be something like this: 2017 * *Post 10-01-2017 *Post 25-01-2017 *Post 05-03-2017 *Post 06-12-2017 2016 * *Post 10-01-2016 *Post 05-03-2016 *Post 06-12-2016 2015 [...] How can I do? I Tried width query_posts($args) but I can't order by a second field A: To show a list by Year DESC and by month ASC: change your post type with custom_post. global $wpdb; $posts = $wpdb->posts; $sql = "SELECT DISTINCT(YEAR(`post_date`)) as years FROM $posts WHERE post_type = 'custom_post' ORDER BY years DESC"; //Get all post year list by DESC $result = $wpdb->get_results($sql); foreach($result as $rs) { echo '<h2>'.$rs->years.'</h2>'; $args = array( 'post_type' => 'custom_post', 'post_per_page'=> -1, 'post_status' => 'publish', 'orderby' => 'date', 'order' => 'ASC', 'date_query' => array(array( 'year'=> $rs->years, ),), ); $loop = new WP_Query($args); if($loop->have_posts()) { while($loop->have_posts()) : $loop->the_post(); echo '<a href="'.get_permalink().'">'.get_the_date().'</a>'; endwhile; } }
wordpress
{ "language": "en", "length": 179, "provenance": "stackexchange_00019.jsonl.gz:473942", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/258968" }
[ 0.038848876953125, -0.0186004638671875, -0.00965118408203125, -0.042388916015625, 0.0015192031860351562, -0.03448486328125, 0.033538818359375, 0.0208892822265625, 0.032928466796875, 0.008270263671875, -0.0283355712890625, -0.03924560546875, -0.040008544921875, -0.034027099609375, -0.035980224609375, -0.042388916015625, 0.06671142578125, -0.056182861328125, 0.017608642578125, -0.007228851318359375, 0.006534576416015625, 0.019195556640625, 0.0209197998046875, 0.03759765625, 0.020172119140625, 0.0031490325927734375, 0.08111572265625, -0.0289764404296875, 0.04498291015625, -0.0149383544921875, 0.0292205810546875, -0.041900634765625, 0.0213470458984375, -0.019378662109375, 0.043182373046875, 0.04498291015625, 0.020050048828125, -0.01251983642578125, 0.022979736328125, 0.0162506103515625, 0.0008382797241210938, -0.007625579833984375, 0.011962890625, -0.004730224609375, -0.02197265625, 0.00177001953125, -0.0131378173828125, -0.016815185546875, 0.0367431640625, -0.01904296875, -0.02008056640625, -0.004650115966796875, -0.0088043212890625, -0.01401519775390625, -0.0298309326171875, 0.0002677440643310547, -0.0157928466796875, 0.00449371337890625, 0.023834228515625, -0.0021343231201171875, -0.0204925537109375, -0.004924774169921875, 0.01525115966796875, -0.0098724365234375, -0.0113677978515625, -0.0206146240234375, 0.03497314453125, 0.01434326171875, -0.01062774658203125, -0.0270538330078125, 0.0224761962890625, 0.018585205078125, 0.00469207763671875, -0.01727294921875, 0.0271453857421875, -0.00846099853515625, -0.0189361572265625, -0.0304107666015625, 0.0236053466796875, 0.030364990234375, -0.0020694732666015625, -0.00234222412109375, -0.05194091796875, -0.0250701904296875, 0.004741668701171875, -0.0281829833984375, -0.0196075439453125, 0.01357269287109375, -0.007251739501953125, -0.035308837890625, -0.0236663818359375, -0.0214691162109375, -0.0022754669189453125, 0.0059661865234375, -0.03125, -0.039154052734375, 0.02099609375, 0.056915283203125, -0.041351318359375, -0.0137939453125, -0.033416748046875, -0.0134429931640625, -0.0184173583984375, -0.0135040283203125, 0.01210784912109375, 0.019378662109375, 0.00846099853515625, 0.033416748046875, 0.07049560546875, 0.0186767578125, 0.01139068603515625, 0.03759765625, -0.04095458984375, -0.040252685546875, 0.001987457275390625, 0.06158447265625, -0.027313232421875, -0.0167694091796875, 0.0003762245178222656, 0.00865936279296875, 0.0036067962646484375, 0.033050537109375, 0.0245819091796875, -0.046875, -0.0173797607421875, -0.0155487060546875, -0.02203369140625, -0.047454833984375, -0.03094482421875, 0.017181396484375, -0.01849365234375, 0.0098419189453125, 0.0305328369140625, 0.021331787109375, -0.00460052490234375, -0.0171051025390625, 0.044097900390625, -0.0692138671875, -0.038909912109375, 0.0416259765625, -0.0182342529296875, -0.032745361328125, -0.0007119178771972656, -0.0136260986328125, -0.01035308837890625, 0.006214141845703125, -0.0082550048828125, 0.014892578125, 0.0107879638671875, -0.0195465087890625, -0.0284576416015625, 0.0014820098876953125, 0.004947662353515625, 0.0292205810546875, -0.0220184326171875, -0.0025844573974609375, -0.01406097412109375, -0.0005354881286621094, -0.00286865234375, -0.021148681640625, 0.048065185546875, 0.003284454345703125, -0.034820556640625, -0.0557861328125, -0.060516357421875, -0.033447265625, -0.0501708984375, 0.001987457275390625, 0.01393890380859375, 0.0225830078125, -0.01451873779296875, -0.022552490234375, 0.049652099609375, 0.01019287109375, -0.0247039794921875, 0.013427734375, -0.0227813720703125, -0.0361328125, 0.04473876953125, -0.003078460693359375, -0.02508544921875, -0.0292816162109375, 0.006229400634765625, 0.0032253265380859375, -0.017730712890625, 0.0016641616821289062, -0.005954742431640625, -0.0112762451171875, 0.0076141357421875, 0.024017333984375, -0.004657745361328125, 0.041595458984375, -0.0718994140625, 0.050445556640625, -0.002166748046875, -0.0282745361328125, -0.01387786865234375, -0.0040283203125, -0.0015516281127929688, 0.01277923583984375, -0.01001739501953125, 0.042022705078125, -0.0173187255859375, 0.0438232421875, -0.0159912109375, 0.025665283203125, -0.00850677490234375, 0.02288818359375, 0.03607177734375, 0.01235198974609375, 0.0308990478515625, 0.030670166015625, -0.041412353515625, -0.01421356201171875, -0.056365966796875, -0.01056671142578125, 0.0177764892578125, 0.0236968994140625, -0.0167694091796875, -0.01308441162109375, 0.0155029296875, -0.060821533203125, -0.002780914306640625, 0.08135986328125, 0.0772705078125, -0.06011962890625, 0.0002968311309814453, -0.051513671875, 0.0511474609375, -0.007404327392578125, -0.03875732421875, 0.04022216796875, 0.0218353271484375, 0.04205322265625, -0.0290985107421875, -0.03289794921875, -0.0010881423950195312, -0.0179443359375, 0.024810791015625, 0.046478271484375, 0.02899169921875, 0.033172607421875, 0.0153961181640625, 0.03717041015625, 0.05322265625, -0.055084228515625, -0.0146026611328125, 0.0216522216796875, 0.0051422119140625, 0.060211181640625, 0.048736572265625, 0.04364013671875, -0.005184173583984375, 0.034332275390625, 0.01245880126953125, 0.01477813720703125, 0.014984130859375, 0.0170135498046875, -0.0121002197265625, -0.0182342529296875, 0.0136566162109375, -0.028564453125, -0.0518798828125, 0.006786346435546875, 0.047637939453125, -0.0160675048828125, 0.0584716796875, 0.034942626953125, -0.0243988037109375, -0.0250244140625, 0.006317138671875, 0.023193359375, 0.01222991943359375, -0.01546478271484375, -0.045074462890625, 0.010650634765625, -0.0279998779296875, 0.030242919921875, 0.0303802490234375, -0.0202178955078125, 0.0177459716796875, 0.04608154296875, -0.01410675048828125, -0.0027790069580078125, -0.016021728515625, -0.060272216796875, -0.0034160614013671875, 0.0526123046875, 0.01174163818359375, 0.019561767578125, 0.038299560546875, 0.0231170654296875, -0.022186279296875, 0.046051025390625, -0.01029205322265625, -0.016571044921875, -0.0207977294921875, -0.05096435546875, 0.02691650390625, -0.051025390625, 0.0014295578002929688, 0.06414794921875, 0.0253448486328125, 0.00543975830078125, 0.016143798828125, -0.036895751953125, 0.00415802001953125, 0.01425933837890625, -0.0185394287109375, -0.024383544921875, -0.028289794921875, 0.0181732177734375, 0.056793212890625, 0.0731201171875, 0.008941650390625, 0.003997802734375, 0.01739501953125, 0.056976318359375, -0.046875, -0.10748291015625, 0.0085296630859375, -0.0538330078125, 0.01030731201171875, 0.0023021697998046875, -0.01334381103515625, -0.02252197265625, 0.00641632080078125, 0.002529144287109375, 0.0288238525390625, -0.0102691650390625, -0.08160400390625, -0.033355712890625, -0.08428955078125, 0.0199432373046875, -0.00495147705078125, 0.0226898193359375, -0.00646209716796875, 0.055999755859375, -0.0015354156494140625, -0.07464599609375, -0.0338134765625, 0.0297088623046875, -0.041351318359375, -0.0249176025390625, 0.020263671875, -0.00852203369140625, -0.005695343017578125, 0.00994110107421875, 0.0689697265625, 0.029541015625, -0.05194091796875, 0.005828857421875, -0.0166473388671875, -0.0114898681640625, 0.0256805419921875, -0.01137542724609375, 0.0115814208984375, 0.03375244140625, 0.0450439453125, -0.0168609619140625, -0.00688934326171875, -0.016387939453125, -0.0362548828125, 0.0107574462890625, 0.01293182373046875, 0.01959228515625, -0.01354217529296875, 0.0034961700439453125, 0.01158905029296875, -0.0008273124694824219, 0.005962371826171875, -0.046173095703125, 0.050262451171875, 0.0290069580078125, 0.03277587890625, -0.01605224609375, 0.00978851318359375, -0.020233154296875, 0.0212554931640625, 0.010955810546875, 0.0131988525390625, 0.004283905029296875, -0.032928466796875, -0.04327392578125, -0.073974609375, 0.053497314453125, -0.0298309326171875, -0.01039886474609375, -0.029296875, -0.048248291015625, 0.015594482421875, 0.0950927734375, -0.020416259765625, -0.032196044921875, -0.011627197265625, 0.0037937164306640625, -0.0193328857421875, 0.02618408203125, -0.00782012939453125, 0.00264739990234375, -0.055755615234375, 0.01788330078125, 0.005527496337890625, -0.024017333984375, -0.0269927978515625, 0.01110076904296875, -0.05548095703125, -0.0217742919921875, 0.04754638671875, 0.005435943603515625, 0.0068511962890625, 0.033599853515625, -0.032958984375, 0.045074462890625, -0.04638671875, 0.0083465576171875, -0.070556640625, -0.0185394287109375, 0.01006317138671875, 0.01039886474609375, -0.02374267578125, 0.00010383129119873047, -0.0269317626953125, 0.033172607421875, -0.00743865966796875, -0.02545166015625, 0.015533447265625, 0.01462554931640625, -0.0001728534698486328, 0.0163421630859375, -0.01039886474609375, -0.0086669921875, -0.0202789306640625, -0.0250701904296875, 0.0237274169921875, 0.016693115234375, -0.0205841064453125, 0.0022869110107421875, -0.0235137939453125, 0.003444671630859375, -0.0016155242919921875, -0.0015707015991210938, -0.0218353271484375, 0.034210205078125, -0.04254150390625, 0.0203094482421875, -0.006500244140625, -0.038482666015625, 0.014312744140625, 0.01250457763671875, 0.0042266845703125, 0.0228118896484375, 0.0643310546875, 0.00804901123046875, -0.01305389404296875, -0.058837890625, 0.033477783203125, 0.0262451171875, -0.032867431640625, 0.0635986328125, 0.0355224609375, -0.0286712646484375, 0.06695556640625, -0.003734588623046875, -0.01776123046875, -0.02471923828125, 0.05322265625, -0.001331329345703125, -0.00969696044921875, 0.01332855224609375, -0.0362548828125, 0.032623291015625, 0.0692138671875, 0.01195526123046875, -0.031982421875, 0.007312774658203125, 0.043731689453125, -0.0191802978515625, -0.00492095947265625, -0.03375244140625, -0.03936767578125, 0.028594970703125, -0.05792236328125, 0.010284423828125, -0.0017938613891601562, 0.0036640167236328125, -0.0012683868408203125, 0.00823974609375, 0.0289459228515625, 0.015777587890625, 0.0172271728515625, -0.017547607421875, 0.0297393798828125, 0.0248565673828125, 0.0008249282836914062, 0.0153961181640625, 0.00732421875, 0.019317626953125, 0.01342010498046875, -0.00795745849609375, -0.036590576171875, -0.02191162109375, 0.03582763671875, -0.01364898681640625, -0.068115234375, 0.046630859375, 0.09368896484375, -0.0017375946044921875, 0.0029144287109375, -0.032073974609375, 0.0296478271484375, -0.040618896484375, 0.00305938720703125, 0.021087646484375, -0.00569915771484375, -0.0259246826171875, 0.06512451171875, 0.0303192138671875, 0.004119873046875, -0.0272369384765625, 0.0258636474609375, 0.050262451171875, 0.0235443115234375, 0.0340576171875, -0.04351806640625, -0.00817108154296875, -0.00220489501953125, 0.00830841064453125, -0.04705810546875, -0.0224761962890625, 0.0041656494140625, 0.0254669189453125, 0.0203857421875, 0.0066070556640625, 0.03533935546875, 0.038818359375, -0.01299285888671875, 0.029510498046875, 0.0289459228515625, 0.021026611328125, -0.0418701171875, -0.04473876953125, 0.037445068359375, 0.02362060546875, -0.01403045654296875, 0.00594329833984375, -0.029876708984375, 0.049560546875, -0.041656494140625, 0.031341552734375, 0.0017452239990234375, -0.015594482421875, -0.0142364501953125, -0.029052734375, -0.01045989990234375, 0.031890869140625, -0.0016956329345703125, -0.01235198974609375, -0.0102996826171875, 0.0273284912109375, -0.0167388916015625, 0.049896240234375, -0.053253173828125, -0.0007295608520507812, 0.0023937225341796875, -0.0013256072998046875, 0.09130859375, 0.041168212890625, -0.0203704833984375, -0.035186767578125, -0.0303802490234375, -0.03582763671875, 0.0013599395751953125, -0.02362060546875, -0.0308990478515625, 0.0035915374755859375, 0.0193328857421875, 0.00817108154296875, -0.018035888671875, -0.0548095703125, -0.030181884765625, 0.0035991668701171875, 0.018646240234375, 0.006195068359375, 0.0208587646484375, 0.09722900390625, -0.0215911865234375, 0.0672607421875, 0.036529541015625, 0.033233642578125, -0.055084228515625, -0.0163726806640625, 0.032257080078125, -0.059814453125, -0.049407958984375, -0.0253448486328125, -0.043670654296875, 0.00942230224609375, 0.01294708251953125, -0.0124359130859375, 0.05133056640625, -0.0200042724609375, 0.0012865066528320312, -0.01065826416015625, -0.05218505859375, -0.04010009765625, 0.051849365234375, -0.004726409912109375, -0.007106781005859375, 0.00423431396484375, 0.0037384033203125, -0.0494384765625, 0.033447265625, 0.0118408203125, 0.0257568359375, 0.0026264190673828125, -0.0224151611328125, 0.011932373046875, 0.0369873046875, 0.01058197021484375, 0.031829833984375, 0.002887725830078125, 0.0229034423828125, 0.0050201416015625, -0.02911376953125, 0.04022216796875, 0.00199127197265625, 0.07391357421875, -0.010650634765625, -0.0015697479248046875, 0.05535888671875, -0.034698486328125, 0.0007586479187011719, -0.0006818771362304688, 0.042724609375, 0.0006184577941894531, -0.0010509490966796875, 0.0101318359375, -0.0106353759765625, 0.04962158203125, -0.0228271484375, 0.004276275634765625, -0.01898193359375, 0.0299835205078125, -0.0180206298828125, -0.0220794677734375, -0.005962371826171875, -0.035552978515625, -0.00684356689453125, 0.001911163330078125, 0.05035400390625, 0.0157318115234375, -0.041748046875, 0.009002685546875, 0.013031005859375, 0.01378631591796875, -0.0184173583984375, 0.01302337646484375, -0.0206146240234375, 0.00653839111328125, -0.0787353515625, -0.0152435302734375, -0.0467529296875, -0.01258087158203125, 0.0830078125, -0.01641845703125, 0.0038299560546875, 0.0222320556640625, 0.001861572265625, 0.0045623779296875, -0.024444580078125, -0.004512786865234375, -0.0011301040649414062, -0.0273284912109375, -0.028594970703125, 0.022186279296875, 0.00027942657470703125, 0.01397705078125, 0.0085296630859375, -0.01055145263671875, 0.004871368408203125, 0.00916290283203125, 0.0341796875, -0.02264404296875, -0.0268707275390625, 0.00948333740234375, 0.042236328125, 0.006206512451171875, -0.019989013671875, 0.041595458984375, -0.08245849609375, -0.031280517578125, 0.00733184814453125, -0.0084991455078125, -0.0289764404296875, -0.0150604248046875, -0.05804443359375, 0.11102294921875, -0.041229248046875, 0.027801513671875, 0.0230560302734375, 0.038970947265625, -0.0255889892578125, 0.0093994140625, -0.04791259765625, 0.0537109375, 0.04315185546875, 0.0240631103515625, -0.06610107421875, -0.030670166015625, -0.0169525146484375, 0.05096435546875, 0.0654296875, -0.00574493408203125, -0.04437255859375, 0.0012445449829101562, 0.080810546875, 0.051239013671875, 0.004665374755859375, 0.022674560546875, 0.0021648406982421875, 0.0200958251953125, 0.02587890625, -0.01377105712890625, 0.0224609375, 0.033447265625, -0.033111572265625, 0.0579833984375, 0.0212249755859375, 0.016754150390625, -0.04205322265625, -0.0176239013671875, -0.037261962890625, -0.0170745849609375, 0.038116455078125, 0.0087127685546875, 0.004421234130859375, 0.0245513916015625, 0.03460693359375, -0.0704345703125, -0.06494140625, -0.0275421142578125, 0.02716064453125, 0.00577545166015625, 0.00772857666015625, 0.036224365234375, 0.0271148681640625, -0.001720428466796875, -0.0205841064453125, 0.01200103759765625, 0.0086517333984375, -0.0335693359375, 0.040435791015625, 0.032867431640625, 0.027191162109375, -0.026458740234375, -0.03076171875, 0.0562744140625, 0.0552978515625, -0.0186004638671875, -0.0264129638671875, 0.0157623291015625, 0.0103759765625, -0.018585205078125, -0.0217742919921875, -0.0287017822265625, -0.0242156982421875, 0.020050048828125, -0.08447265625, -0.01474761962890625, 0.023651123046875, 0.0278167724609375, -0.0261688232421875, -0.03436279296875, 0.00612640380859375, -0.046417236328125, -0.0635986328125, 0.04254150390625, 0.03338623046875, 0.0460205078125, 0.017669677734375, 0.03790283203125, 0.006038665771484375, -0.0177459716796875, -0.00287628173828125, 0.019775390625, 0.0184783935546875, -0.0135345458984375, 0.0004911422729492188, -0.0118560791015625, -0.01690673828125, 0.02825927734375, 0.004241943359375, -0.0188140869140625, 0.0076751708984375, 0.00804901123046875, -0.03228759765625, -0.02386474609375, 0.005462646484375, -0.0234375, -0.0714111328125, -0.0200347900390625, -0.02850341796875, 0.0158233642578125, 0.0013704299926757812, 0.0517578125, 0.044189453125, -0.01383209228515625, 0.004085540771484375, 0.03204345703125, -0.00016307830810546875, 0.006511688232421875, 0.033660888671875, -0.01221466064453125, 0.03765869140625, 0.01470947265625, -0.051422119140625, -0.00600433349609375, -0.055511474609375, -0.05572509765625, 0.03533935546875, 0.052001953125, 0.0400390625, -0.03839111328125, -0.007366180419921875, -0.04217529296875, -0.006732940673828125, 0.0277557373046875, 0.0279541015625, 0.014068603515625, -0.00788116455078125, -0.001678466796875, -0.0584716796875, -0.0263214111328125, -0.00783538818359375, -0.00818634033203125, -0.00036716461181640625, -0.0022411346435546875, 0.03411865234375, 0.02093505859375, -0.01140594482421875, 0.0167999267578125, -0.035888671875, -0.0295867919921875, 0.0703125, -0.031158447265625, -0.0015535354614257812, -0.007221221923828125, 0.00879669189453125, -0.017608642578125, 0.04937744140625, -0.0325927734375, -0.04095458984375, 0.0164794921875, 0.0290679931640625, 0.0012912750244140625, 0.007122039794921875, -0.0297088623046875, 0.01384735107421875, 0.031707763671875, -0.01166534423828125, 0.00457763671875, -0.0036487579345703125, 0.0404052734375, 0.03497314453125, -0.012542724609375, -0.0183868408203125, 0.05194091796875, -0.0267181396484375, 0.071044921875, 0.04132080078125, -0.031463623046875, 0.009307861328125, -0.01476287841796875, -0.01366424560546875, 0.0182342529296875, 0.0082855224609375, -0.019439697265625, 0.014251708984375, 0.0149383544921875, 0.0062408447265625, 0.01541900634765625, 0.032318115234375, 0.006439208984375, -0.0008764266967773438, 0.01232147216796875, -0.034332275390625, -0.01971435546875, 0.01499176025390625, -0.03125, -0.0308837890625, 0.0189971923828125, 0.0169525146484375, 0.0133209228515625, 0.00283050537109375, -0.03253173828125, -0.016754150390625, 0.01751708984375, -0.0035877227783203125, -0.01244354248046875, -0.0022640228271484375, -0.0435791015625, 0.0017099380493164062, -0.023590087890625, -0.02294921875, 0.01392364501953125, 0.007320404052734375, -0.0185699462890625, 0.004413604736328125, -0.040313720703125, -0.020294189453125, -0.0031299591064453125, -0.0194549560546875, -0.033233642578125, -0.0050506591796875, -0.02545166015625, -0.004337310791015625, -0.001972198486328125, 0.0284576416015625, 0.055419921875, 0.0121612548828125, 0.036041259765625, 0.03094482421875, -0.0660400390625, -0.106201171875, 0.03363037109375, -0.04815673828125, 0.007183074951171875, 0.021514892578125, 0.003406524658203125, 0.03326416015625, -0.0204010009765625, -0.0850830078125, 0.084228515625, -0.019927978515625, -0.0304718017578125, -0.041656494140625, 0.0124053955078125, 0.0073089599609375, -0.01165008544921875, -0.00540924072265625, -0.037689208984375, -0.032379150390625, 0.01207733154296875, 0.005794525146484375, -0.003925323486328125, 0.0022735595703125, 0.0338134765625, -0.079345703125, 0.035491943359375, 0.002620697021484375, -0.04022216796875, -0.00785064697265625, 0.00583648681640625, 0.01070404052734375, 0.0092010498046875, -0.032623291015625, -0.030975341796875, -0.0065765380859375, 0.01238250732421875, -0.005733489990234375, -0.018585205078125, -0.042572021484375, -0.0222930908203125, 0.0273590087890625, 0.09344482421875, 0.0170135498046875, -0.03570556640625, 0.0196990966796875, 0.0079193115234375, 0.02691650390625, -0.018096923828125, -0.0003933906555175781, -0.0543212890625, -0.047332763671875, 0.0020904541015625, -0.02490234375, -0.0015506744384765625, 0.01401519775390625, -0.02166748046875, 0.004390716552734375, -0.0008401870727539062, -0.0181732177734375, -0.05010986328125, 0.072021484375, 0.0133514404296875, -0.034515380859375, -0.005367279052734375, -0.0364990234375, -0.007488250732421875, -0.00732421875, -0.049713134765625, -0.03167724609375, 0.01337432861328125, 0.006618499755859375, -0.0161590576171875, 0.0161285400390625, -0.0031375885009765625, 0.03057861328125, 0.024139404296875, -0.01174163818359375, -0.01096343994140625, 0.0016717910766601562, -0.0301971435546875, -0.0180206298828125, 0.0034275054931640625, -0.01183319091796875, 0.07928466796875, 0.0191192626953125, 0.059478759765625, 0.00994110107421875, 0.034149169921875, -0.0106353759765625, -0.038482666015625, 0.006927490234375, -0.0274505615234375, 0.007801055908203125, -0.01456451416015625, -0.01812744140625, -0.0173797607421875, -0.004100799560546875, 0.004650115966796875, -0.0289306640625, -0.00470733642578125 ]
b67d62d85a138dfccc496229bb733921384c6df3
Wordpress Stackexchange Q: Is it still possible to nest panels within panels within the customizer? As the title states, I am trying to make some advanced settings in the customizer which would be way more organized if I could have some panels nested within other panels. I found a similar question here: Theme Customizer : how to create multiple-level panel However the answer provided by OriginalEXE doesn't appear to work anymore. A: No, panels are not currently designed to support nesting. This has never been officially supported by core. Any solutions to implement the effect would currently involve hacks. A middle ground can be seen in widgets and nav menus, however, where you can see that controls for nav menu items and widget instances both are expandable to reveal controls. These controls, however, do not appear on separate panes like panels and sections do.
Q: Is it still possible to nest panels within panels within the customizer? As the title states, I am trying to make some advanced settings in the customizer which would be way more organized if I could have some panels nested within other panels. I found a similar question here: Theme Customizer : how to create multiple-level panel However the answer provided by OriginalEXE doesn't appear to work anymore. A: No, panels are not currently designed to support nesting. This has never been officially supported by core. Any solutions to implement the effect would currently involve hacks. A middle ground can be seen in widgets and nav menus, however, where you can see that controls for nav menu items and widget instances both are expandable to reveal controls. These controls, however, do not appear on separate panes like panels and sections do.
wordpress
{ "language": "en", "length": 142, "provenance": "stackexchange_00019.jsonl.gz:474027", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/259263" }
[ -0.01268768310546875, 0.00658416748046875, -0.017425537109375, -0.0036220550537109375, -0.0009131431579589844, -0.00007390975952148438, 0.023834228515625, -0.01324462890625, -0.004878997802734375, 0.0248260498046875, -0.0018625259399414062, -0.00003910064697265625, -0.01436614990234375, -0.0170440673828125, -0.0164642333984375, -0.040374755859375, 0.01445770263671875, -0.01666259765625, -0.01419830322265625, -0.025604248046875, -0.0059356689453125, -0.04339599609375, 0.0263519287109375, 0.06988525390625, 0.047760009765625, 0.037322998046875, -0.0285491943359375, 0.0012407302856445312, 0.005687713623046875, -0.0196990966796875, 0.027496337890625, -0.00750732421875, -0.00464630126953125, 0.0090179443359375, 0.032135009765625, 0.01898193359375, -0.038970947265625, 0.025634765625, 0.0379638671875, -0.00958251953125, 0.0071258544921875, 0.01129150390625, 0.043792724609375, 0.00977325439453125, -0.005245208740234375, -0.02044677734375, -0.0011358261108398438, -0.044769287109375, 0.030670166015625, -0.02410888671875, -0.0044403076171875, -0.0037479400634765625, 0.028289794921875, -0.03778076171875, -0.036865234375, -0.041015625, 0.007366180419921875, -0.0467529296875, 0.044708251953125, -0.0205535888671875, -0.0208282470703125, -0.042999267578125, 0.033721923828125, -0.0012369155883789062, 0.0252532958984375, 0.0207366943359375, -0.0131072998046875, -0.0005712509155273438, 0.00763702392578125, 0.055145263671875, 0.026275634765625, -0.0330810546875, 0.0010461807250976562, -0.02789306640625, 0.037261962890625, -0.00760650634765625, -0.044647216796875, -0.0364990234375, 0.034912109375, 0.0254669189453125, -0.0069122314453125, 0.01212310791015625, 0.03460693359375, -0.0104827880859375, -0.0104827880859375, 0.0023651123046875, -0.0169830322265625, 0.0019989013671875, 0.006732940673828125, 0.01369476318359375, -0.0032024383544921875, -0.041961669921875, -0.01181793212890625, 0.08892822265625, 0.0139312744140625, 0.017578125, 0.00769805908203125, 0.0233612060546875, -0.0016574859619140625, 0.040069580078125, -0.0010995864868164062, -0.049957275390625, 0.0889892578125, -0.050018310546875, 0.01345062255859375, 0.0033321380615234375, -0.0285491943359375, -0.0264434814453125, 0.036468505859375, 0.03277587890625, -0.017364501953125, 0.035247802734375, 0.0005803108215332031, -0.057708740234375, 0.0017795562744140625, 0.006450653076171875, -0.0240478515625, 0.039642333984375, 0.022003173828125, -0.005374908447265625, -0.0203857421875, 0.0032672882080078125, -0.042938232421875, 0.027496337890625, 0.0016241073608398438, -0.007476806640625, 0.006359100341796875, 0.02490234375, 0.0014123916625976562, -0.010345458984375, -0.036376953125, 0.0096435546875, 0.0791015625, 0.0535888671875, 0.039337158203125, -0.023712158203125, 0.054656982421875, -0.01013946533203125, 0.03485107421875, -0.01165771484375, 0.0133514404296875, -0.01580810546875, -0.008056640625, 0.018951416015625, -0.0287933349609375, 0.01195526123046875, 0.06280517578125, 0.01158905029296875, -0.057403564453125, -0.10443115234375, 0.03009033203125, 0.0274810791015625, 0.02471923828125, 0.02545166015625, -0.0014963150024414062, -0.02020263671875, 0.03985595703125, -0.037445068359375, 0.01910400390625, -0.052276611328125, -0.0380859375, -0.0112457275390625, 0.037017822265625, -0.0240631103515625, -0.0143890380859375, 0.02191162109375, -0.01488494873046875, 0.004611968994140625, 0.030914306640625, 0.025360107421875, 0.018829345703125, -0.047515869140625, -0.05242919921875, 0.0191650390625, 0.0038814544677734375, 0.0243682861328125, 0.01299285888671875, 0.017059326171875, -0.0013904571533203125, 0.0123748779296875, -0.004978179931640625, -0.04339599609375, 0.0219268798828125, 0.00042557716369628906, -0.0239410400390625, 0.03289794921875, 0.0036754608154296875, 0.08062744140625, 0.018798828125, 0.0290985107421875, -0.010528564453125, -0.0364990234375, -0.014892578125, 0.00885009765625, -0.03857421875, -0.01160430908203125, 0.0011034011840820312, 0.0288238525390625, -0.03643798828125, -0.003997802734375, -0.07501220703125, 0.0154876708984375, -0.029205322265625, 0.032073974609375, 0.00263214111328125, -0.025299072265625, -0.002552032470703125, 0.033660888671875, 0.0117645263671875, -0.0195159912109375, 0.0021419525146484375, -0.01393890380859375, 0.01404571533203125, -0.06683349609375, -0.03570556640625, 0.01763916015625, -0.00799560546875, 0.04595947265625, 0.0238494873046875, -0.01446533203125, 0.021636962890625, -0.016265869140625, 0.0302276611328125, 0.006977081298828125, 0.071533203125, -0.01018524169921875, -0.006793975830078125, -0.0232086181640625, 0.05572509765625, 0.048309326171875, -0.099365234375, -0.023712158203125, 0.06585693359375, 0.018035888671875, -0.02703857421875, 0.0023975372314453125, 0.0063629150390625, -0.054046630859375, -0.024078369140625, 0.041473388671875, 0.0262603759765625, 0.06500244140625, 0.00977325439453125, 0.01493072509765625, 0.046478271484375, -0.061920166015625, -0.0012922286987304688, 0.002986907958984375, -0.0266571044921875, 0.018524169921875, 0.051422119140625, -0.006748199462890625, 0.001018524169921875, -0.0218353271484375, 0.0212554931640625, -0.00045037269592285156, -0.0419921875, -0.037017822265625, 0.0011615753173828125, -0.0043792724609375, 0.0224761962890625, -0.0139007568359375, -0.006084442138671875, -0.002864837646484375, 0.0138397216796875, -0.022918701171875, 0.02001953125, 0.01116943359375, -0.0196533203125, -0.030242919921875, 0.03216552734375, 0.0279388427734375, 0.00629425048828125, 0.034881591796875, 0.0034084320068359375, -0.0025768280029296875, -0.0059814453125, -0.022979736328125, -0.0012292861938476562, 0.025634765625, 0.0024394989013671875, 0.05645751953125, 0.00638580322265625, -0.00832366943359375, 0.01004791259765625, -0.01025390625, -0.016265869140625, -0.0145263671875, 0.0396728515625, 0.0216217041015625, 0.03271484375, 0.034088134765625, -0.00567626953125, 0.048583984375, -0.022552490234375, -0.00553131103515625, 0.02325439453125, -0.003124237060546875, 0.0213165283203125, 0.0088958740234375, 0.019989013671875, 0.056243896484375, 0.01306915283203125, -0.0081634521484375, 0.0028133392333984375, 0.035919189453125, 0.0350341796875, -0.024444580078125, 0.0011034011840820312, 0.0086822509765625, -0.0120849609375, 0.0232086181640625, 0.03472900390625, 0.045074462890625, 0.03271484375, -0.01009368896484375, 0.0197601318359375, 0.044586181640625, 0.016082763671875, -0.0416259765625, 0.046630859375, -0.01105499267578125, -0.07696533203125, -0.005138397216796875, -0.032806396484375, 0.01165008544921875, 0.0162811279296875, -0.03363037109375, -0.040802001953125, -0.035308837890625, -0.00759124755859375, -0.0631103515625, -0.040802001953125, -0.0160369873046875, 0.0189208984375, 0.00498199462890625, 0.017822265625, 0.02825927734375, 0.0025539398193359375, -0.0843505859375, 0.0218505859375, 0.007904052734375, -0.01548004150390625, 0.053375244140625, 0.045654296875, -0.03973388671875, 0.0103607177734375, 0.0141448974609375, -0.0288543701171875, 0.007160186767578125, -0.0108489990234375, -0.027313232421875, -0.00669097900390625, 0.03948974609375, -0.017181396484375, 0.04632568359375, 0.038543701171875, -0.0164794921875, -0.00592041015625, -0.042816162109375, -0.0491943359375, 0.0146636962890625, -0.06561279296875, -0.0278472900390625, 0.055389404296875, -0.021087646484375, -0.015106201171875, -0.022735595703125, 0.0114593505859375, 0.01629638671875, 0.04058837890625, -0.02398681640625, 0.0369873046875, -0.00461578369140625, -0.0006284713745117188, -0.060394287109375, 0.03656005859375, -0.02423095703125, 0.0166015625, -0.007045745849609375, -0.00946044921875, -0.0247344970703125, -0.0156707763671875, -0.052490234375, -0.048126220703125, 0.045166015625, -0.040130615234375, 0.0017175674438476562, -0.026031494140625, -0.0112152099609375, 0.0054779052734375, 0.0858154296875, -0.09613037109375, 0.00519561767578125, 0.042633056640625, 0.0521240234375, -0.029998779296875, -0.041290283203125, -0.114013671875, -0.025238037109375, -0.054046630859375, 0.0010509490966796875, 0.00472259521484375, -0.035003662109375, -0.0011911392211914062, -0.006961822509765625, -0.0255889892578125, -0.03607177734375, 0.0035552978515625, 0.058624267578125, 0.0037784576416015625, -0.0278472900390625, -0.02105712890625, -0.006938934326171875, 0.032135009765625, -0.0131072998046875, -0.04827880859375, -0.0099639892578125, -0.035003662109375, 0.04473876953125, 0.017578125, -0.00640869140625, 0.01458740234375, 0.05413818359375, -0.00015723705291748047, 0.0538330078125, 0.0125579833984375, 0.0205078125, 0.03826904296875, -0.0013179779052734375, 0.030364990234375, -0.0218505859375, -0.0189971923828125, -0.0110626220703125, -0.015960693359375, 0.00403594970703125, -0.0171966552734375, -0.02752685546875, 0.0009593963623046875, -0.0213775634765625, -0.024566650390625, -0.0098876953125, -0.04949951171875, -0.01355743408203125, -0.036346435546875, 0.01168060302734375, -0.0063323974609375, -0.06365966796875, 0.009735107421875, 0.043701171875, -0.00936126708984375, 0.01334381103515625, 0.0435791015625, 0.0207366943359375, -0.032928466796875, -0.022491455078125, -0.0229644775390625, 0.01116943359375, 0.0236663818359375, 0.038482666015625, -0.0104827880859375, 0.00007480382919311523, 0.0164947509765625, -0.00931549072265625, 0.00408172607421875, 0.01352691650390625, 0.035003662109375, 0.0103607177734375, -0.0274658203125, 0.023895263671875, -0.0017805099487304688, -0.032135009765625, 0.04840087890625, 0.0016927719116210938, 0.00827789306640625, -0.036285400390625, 0.0178070068359375, -0.0010223388671875, -0.032867431640625, -0.047454833984375, -0.0322265625, 0.0028247833251953125, -0.006626129150390625, 0.06146240234375, 0.021087646484375, 0.01055908203125, 0.022796630859375, 0.02276611328125, 0.003704071044921875, 0.01513671875, 0.001979827880859375, -0.042510986328125, 0.03594970703125, -0.0267791748046875, -0.035614013671875, 0.035247802734375, 0.00940704345703125, 0.032501220703125, 0.001255035400390625, -0.04986572265625, -0.0277099609375, 0.00792694091796875, -0.031890869140625, 0.0361328125, 0.01375579833984375, -0.0034027099609375, 0.002567291259765625, -0.00574493408203125, -0.00737762451171875, 0.02642822265625, 0.01163482666015625, -0.002986907958984375, 0.0130615234375, 0.01119232177734375, -0.0141143798828125, -0.038055419921875, 0.035003662109375, 0.02349853515625, -0.009765625, -0.019287109375, -0.0054168701171875, 0.01058197021484375, 0.01491546630859375, 0.014892578125, -0.007598876953125, 0.03363037109375, -0.034881591796875, 0.04058837890625, -0.0243072509765625, 0.00603485107421875, 0.051361083984375, 0.0267333984375, 0.03570556640625, -0.002162933349609375, -0.035430908203125, -0.01413726806640625, -0.014007568359375, 0.0036487579345703125, -0.015106201171875, -0.01384735107421875, -0.003265380859375, 0.02618408203125, -0.0023136138916015625, 0.01163482666015625, -0.0253753662109375, -0.0237274169921875, -0.062164306640625, -0.0131072998046875, -0.031982421875, -0.034820556640625, 0.0011959075927734375, 0.0065155029296875, -0.025421142578125, -0.0032901763916015625, 0.018798828125, -0.155029296875, -0.0640869140625, -0.0137176513671875, -0.0013494491577148438, 0.07208251953125, 0.0166778564453125, 0.045196533203125, -0.052520751953125, -0.0157012939453125, 0.0272216796875, 0.0021495819091796875, 0.031158447265625, -0.01119232177734375, -0.0236358642578125, -0.0104522705078125, -0.03863525390625, -0.0157318115234375, -0.0445556640625, -0.057525634765625, -0.051483154296875, 0.008087158203125, 0.0233306884765625, 0.0115509033203125, 0.039642333984375, 0.024261474609375, 0.01175689697265625, 0.0117340087890625, -0.005481719970703125, 0.01418304443359375, -0.0071563720703125, 0.043670654296875, -0.035919189453125, 0.0430908203125, 0.00017082691192626953, 0.002811431884765625, -0.0164947509765625, -0.01181793212890625, 0.0300445556640625, -0.04547119140625, -0.041229248046875, -0.052947998046875, 0.018768310546875, 0.01241302490234375, -0.0007190704345703125, -0.0136871337890625, 0.05078125, -0.0285797119140625, 0.014892578125, -0.0101165771484375, -0.0249786376953125, -0.0814208984375, -0.0440673828125, 0.058135986328125, 0.00244903564453125, -0.020721435546875, -0.006103515625, -0.031707763671875, -0.0243072509765625, 0.041107177734375, -0.03509521484375, -0.00945281982421875, -0.0721435546875, 0.055023193359375, 0.0220947265625, 0.032989501953125, 0.0050048828125, -0.0027637481689453125, 0.01151275634765625, -0.0677490234375, 0.001918792724609375, -0.052581787109375, -0.0054779052734375, -0.00702667236328125, -0.00411224365234375, -0.018096923828125, -0.001468658447265625, -0.004119873046875, -0.016571044921875, 0.0254974365234375, 0.01090240478515625, -0.0655517578125, 0.007598876953125, -0.0274810791015625, 0.006103515625, 0.01361083984375, -0.01666259765625, 0.05157470703125, 0.05419921875, 0.027191162109375, 0.0276031494140625, -0.004589080810546875, 0.0303802490234375, -0.0065765380859375, -0.0207061767578125, -0.01342010498046875, 0.0233917236328125, 0.02313232421875, 0.0179901123046875, 0.00516510009765625, -0.018096923828125, 0.042999267578125, -0.007198333740234375, 0.033905029296875, -0.0246429443359375, -0.025146484375, -0.028411865234375, 0.006237030029296875, 0.01160430908203125, -0.003963470458984375, 0.018341064453125, -0.03668212890625, 0.0032176971435546875, 0.0245819091796875, -0.03155517578125, 0.028167724609375, -0.020843505859375, 0.01441192626953125, 0.0245819091796875, 0.0022563934326171875, 0.01910400390625, -0.0258331298828125, -0.060699462890625, 0.0005788803100585938, -0.06591796875, 0.018096923828125, 0.01458740234375, 0.08514404296875, 0.083740234375, -0.015838623046875, -0.046630859375, 0.02362060546875, -0.0102691650390625, -0.0067596435546875, 0.0296478271484375, -0.0053863525390625, -0.036712646484375, -0.045318603515625, 0.0193023681640625, -0.04888916015625, 0.03375244140625, 0.04071044921875, -0.0380859375, 0.08489990234375, 0.004535675048828125, 0.019134521484375, 0.00954437255859375, 0.050994873046875, -0.01123809814453125, 0.025604248046875, 0.0268096923828125, 0.032623291015625, 0.003612518310546875, -0.006069183349609375, 0.00356292724609375, -0.016021728515625, 0.00737762451171875, 0.05419921875, -0.0333251953125, -0.0028209686279296875, -0.0006375312805175781, -0.010711669921875, -0.00684356689453125, 0.041290283203125, 0.022186279296875, 0.0220489501953125, 0.00917816162109375, -0.0169219970703125, 0.0271453857421875, 0.019012451171875, 0.025421142578125, 0.01062774658203125, -0.01166534423828125, 0.0281524658203125, 0.004413604736328125, -0.006641387939453125, 0.0164947509765625, 0.00823974609375, -0.0340576171875, -0.00412750244140625, 0.018157958984375, -0.016632080078125, -0.03448486328125, 0.0159759521484375, -0.0139923095703125, -0.003200531005859375, 0.0033893585205078125, -0.03515625, 0.0228729248046875, 0.00568389892578125, 0.00600433349609375, -0.007167816162109375, 0.0285797119140625, -0.12841796875, 0.04693603515625, 0.0087432861328125, 0.0804443359375, -0.07330322265625, -0.02081298828125, -0.01175689697265625, 0.044158935546875, -0.0164337158203125, 0.000217437744140625, -0.0009813308715820312, -0.00853729248046875, 0.00592041015625, -0.08453369140625, -0.007526397705078125, -0.014129638671875, 0.013519287109375, 0.0286407470703125, 0.0038967132568359375, 0.0504150390625, 0.09271240234375, 0.0117340087890625, -0.05340576171875, 0.00675201416015625, 0.055572509765625, 0.01143646240234375, 0.00055694580078125, 0.00151824951171875, -0.048736572265625, -0.0183563232421875, -0.0092315673828125, 0.01079559326171875, 0.059783935546875, 0.01520538330078125, 0.054473876953125, -0.030303955078125, -0.0230560302734375, 0.035675048828125, -0.009521484375, 0.0205078125, -0.04583740234375, -0.01120758056640625, -0.06488037109375, 0.0784912109375, 0.0230255126953125, 0.0310516357421875, -0.0006694793701171875, -0.0100860595703125, 0.045806884765625, 0.049591064453125, 0.01016998291015625, 0.0736083984375, 0.0207977294921875, 0.0175628662109375, -0.0260162353515625, 0.015777587890625, 0.0270538330078125, -0.01282501220703125, -0.0159759521484375, -0.005504608154296875, 0.055908203125, 0.0183258056640625, 0.00472259521484375, 0.01117706298828125, -0.0171661376953125, -0.01474761962890625, -0.0172576904296875, 0.014617919921875, 0.0290679931640625, -0.0193328857421875, -0.0274200439453125, -0.001293182373046875, -0.0115966796875, 0.01416778564453125, 0.04437255859375, 0.0013751983642578125, -0.009979248046875, 0.0426025390625, -0.0222320556640625, 0.01275634765625, 0.021484375, 0.0005083084106445312, -0.01262664794921875, 0.0248565673828125, -0.002960205078125, -0.064208984375, -0.0209197998046875, -0.032806396484375, 0.0101318359375, 0.0194854736328125, 0.061065673828125, 0.006755828857421875, 0.037506103515625, 0.0175018310546875, 0.0162811279296875, -0.011962890625, 0.0083770751953125, 0.0302276611328125, -0.00409698486328125, -0.01458740234375, -0.01415252685546875, -0.01230621337890625, -0.00225067138671875, 0.035888671875, -0.048614501953125, -0.00970458984375, -0.017913818359375, 0.01959228515625, -0.00426483154296875, 0.006927490234375, -0.02606201171875, -0.0259552001953125, -0.0218658447265625, -0.01409912109375, 0.0168609619140625, 0.00653839111328125, 0.0254669189453125, -0.0021343231201171875, 0.01419830322265625, 0.005077362060546875, 0.017852783203125, 0.01190948486328125, 0.017913818359375, 0.016387939453125, -0.024505615234375, -0.019256591796875, 0.01568603515625, -0.0019006729125976562, 0.00798797607421875, 0.00868988037109375, 0.0305023193359375, 0.017181396484375, -0.0196533203125, 0.047576904296875, 0.10357666015625, 0.050811767578125, -0.03399658203125, 0.0204315185546875, 0.10015869140625, -0.04931640625, 0.046630859375, -0.043426513671875, -0.018768310546875, -0.01058197021484375, -0.005817413330078125, 0.0237579345703125, -0.0034313201904296875, -0.037628173828125, -0.06390380859375, 0.00595855712890625, 0.05145263671875, 0.024505615234375, -0.0699462890625, 0.044403076171875, -0.00921630859375, 0.0313720703125, 0.008026123046875, 0.00312042236328125, 0.0297393798828125, 0.0262298583984375, -0.036529541015625, 0.048797607421875, 0.007358551025390625, -0.053070068359375, 0.046417236328125, 0.0002689361572265625, 0.01503753662109375, -0.005649566650390625, -0.032928466796875, 0.036865234375, 0.0173492431640625, 0.079345703125, 0.0012264251708984375, -0.0199737548828125, -0.0305633544921875, 0.01512908935546875, -0.0061492919921875, 0.036407470703125, 0.03668212890625, 0.0136260986328125, -0.047027587890625, -0.03857421875, 0.0198974609375, 0.004444122314453125, -0.04888916015625, -0.097412109375, 0.035736083984375, -0.023162841796875, -0.03643798828125, -0.0738525390625, 0.057708740234375, -0.01198577880859375, -0.00989532470703125, -0.028594970703125, 0.00583648681640625, 0.021240234375, 0.0382080078125, 0.01070404052734375, 0.026031494140625, 0.0179595947265625, 0.01116943359375, -0.010101318359375, 0.0187225341796875, 0.0190277099609375, 0.00957489013671875, -0.013427734375, 0.02728271484375, 0.0020656585693359375, 0.04632568359375, -0.030731201171875, -0.028411865234375, -0.037200927734375, 0.00774383544921875, 0.01270294189453125, -0.05474853515625, -0.0127716064453125, -0.0298004150390625, -0.0151519775390625, 0.0170440673828125, -0.0005512237548828125, -0.01213836669921875, 0.0194854736328125, -0.01165008544921875, -0.005222320556640625, 0.01001739501953125, -0.004848480224609375, -0.021942138671875, 0.0029392242431640625, 0.0108795166015625, -0.01194000244140625, -0.00962066650390625, -0.0160064697265625, -0.016082763671875, -0.0243682861328125, 0.0029621124267578125, -0.00667572021484375, -0.021636962890625, -0.0005421638488769531, 0.00943756103515625, -0.03326416015625, -0.021820068359375, 0.01544189453125, 0.0062103271484375, -0.014556884765625, 0.035491943359375, -0.0008831024169921875, 0.0185089111328125, -0.056121826171875, 0.023284912109375, -0.0126190185546875, 0.0606689453125, -0.058380126953125, -0.0206451416015625, -0.0200347900390625, 0.0043487548828125, 0.00994873046875, 0.0009546279907226562, -0.01212310791015625, 0.06414794921875, 0.0394287109375, -0.0030231475830078125, -0.01242828369140625, 0.05548095703125, -0.0200958251953125, 0.041473388671875, 0.004276275634765625, -0.0016183853149414062, 0.0181884765625, 0.0038890838623046875, 0.007175445556640625, 0.039825439453125, 0.002536773681640625, -0.01032257080078125, 0.002277374267578125, 0.006771087646484375, 0.015655517578125, 0.00032448768615722656 ]
459bbfb1a803b88d021294b725322e303ddbad01
Wordpress Stackexchange Q: Links open only on new tab or window I'm experiencing this strange issue on a web site just launched (www.tavoleromane.it). There was an old thread on this and it should be related to javascript. Analyzing the page I don't see any error. The following are displayed: - on Console only JQMIGRATE is installed - on Network only style.css Any idea? Thanks! A: Links open in new Tab or Window if the link <a> is added using target="_blank" (either from HTML or JavaScript). I've just checked your site and saw only Twitter links open in new Tab / Window. Must be from the plugin you are using to generate the Twitter feed. Note: JQMIGRATE is installed by WordPress by default, it has nothing to do with links opening in new Tab / Window.
Q: Links open only on new tab or window I'm experiencing this strange issue on a web site just launched (www.tavoleromane.it). There was an old thread on this and it should be related to javascript. Analyzing the page I don't see any error. The following are displayed: - on Console only JQMIGRATE is installed - on Network only style.css Any idea? Thanks! A: Links open in new Tab or Window if the link <a> is added using target="_blank" (either from HTML or JavaScript). I've just checked your site and saw only Twitter links open in new Tab / Window. Must be from the plugin you are using to generate the Twitter feed. Note: JQMIGRATE is installed by WordPress by default, it has nothing to do with links opening in new Tab / Window.
wordpress
{ "language": "en", "length": 133, "provenance": "stackexchange_00019.jsonl.gz:474047", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/259314" }
[ 0.05609130859375, -0.05145263671875, 0.045562744140625, 0.0025920867919921875, -0.041961669921875, -0.0297088623046875, 0.049163818359375, -0.0302734375, -0.0096893310546875, 0.005878448486328125, -0.01727294921875, 0.0039825439453125, -0.026275634765625, -0.03851318359375, 0.0239105224609375, -0.0400390625, 0.035858154296875, -0.018768310546875, 0.036651611328125, -0.0145111083984375, 0.033111572265625, 0.0015506744384765625, 0.0301513671875, 0.0158843994140625, 0.0213165283203125, 0.004608154296875, 0.04901123046875, 0.0009374618530273438, 0.021453857421875, 0.01206207275390625, 0.0241851806640625, -0.052001953125, 0.0266265869140625, 0.016937255859375, -0.02294921875, -0.00458526611328125, 0.0037021636962890625, 0.00853729248046875, -0.004688262939453125, 0.0330810546875, 0.0176239013671875, -0.0206756591796875, -0.02508544921875, 0.0312347412109375, -0.020721435546875, -0.01319122314453125, -0.00005346536636352539, -0.044891357421875, -0.0312042236328125, -0.0269775390625, -0.0025386810302734375, 0.00027632713317871094, 0.012603759765625, 0.01313018798828125, 0.00787353515625, 0.020355224609375, 0.034423828125, -0.06494140625, -0.005664825439453125, 0.0350341796875, 0.01003265380859375, 0.033721923828125, -0.011383056640625, -0.0197906494140625, -0.0046539306640625, 0.01861572265625, -0.00591278076171875, 0.003337860107421875, -0.042205810546875, 0.00318145751953125, 0.01308441162109375, -0.04339599609375, -0.026031494140625, -0.0009889602661132812, 0.006961822509765625, -0.011444091796875, 0.03948974609375, -0.01275634765625, -0.0240936279296875, 0.045440673828125, 0.0325927734375, -0.0015153884887695312, 0.011474609375, -0.058074951171875, 0.06683349609375, -0.00017833709716796875, 0.0031375885009765625, -0.0197601318359375, -0.0538330078125, -0.00969696044921875, -0.035888671875, 0.0006432533264160156, -0.035797119140625, -0.034088134765625, -0.025665283203125, -0.02056884765625, -0.00214385986328125, 0.0222930908203125, 0.0026149749755859375, 0.0215301513671875, -0.016357421875, -0.02386474609375, -0.00553131103515625, -0.02056884765625, -0.00012373924255371094, 0.06585693359375, 0.0091552734375, -0.007663726806640625, 0.0157318115234375, -0.009979248046875, -0.00292205810546875, 0.00891876220703125, 0.013885498046875, 0.04010009765625, -0.00023889541625976562, -0.07080078125, -0.07659912109375, 0.0626220703125, -0.0195770263671875, 0.025970458984375, -0.01181793212890625, 0.022125244140625, -0.058929443359375, 0.020965576171875, 0.044036865234375, 0.039581298828125, 0.013031005859375, 0.0135955810546875, -0.04541015625, 0.00861358642578125, 0.00763702392578125, 0.0242156982421875, -0.01351165771484375, 0.031768798828125, 0.0078277587890625, -0.01255035400390625, 0.038818359375, -0.042877197265625, 0.003131866455078125, 0.004634857177734375, 0.015411376953125, -0.040069580078125, -0.0219268798828125, -0.00605010986328125, -0.00719451904296875, 0.019134521484375, 0.00226593017578125, 0.0071258544921875, 0.018280029296875, -0.0311431884765625, -0.0036067962646484375, -0.036651611328125, 0.06353759765625, -0.013275146484375, -0.035308837890625, -0.05633544921875, 0.058258056640625, -0.057830810546875, -0.034912109375, -0.07781982421875, -0.0033016204833984375, 0.037567138671875, 0.062255859375, -0.0301361083984375, -0.0284576416015625, -0.0599365234375, -0.07049560546875, -0.0223388671875, 0.0157470703125, 0.03472900390625, -0.0341796875, -0.0188446044921875, 0.0186920166015625, 0.00992584228515625, -0.01425933837890625, 0.0362548828125, 0.0011148452758789062, -0.042877197265625, 0.050811767578125, 0.01885986328125, -0.0021839141845703125, -0.00859832763671875, 0.06707763671875, -0.0037403106689453125, -0.030303955078125, 0.052490234375, -0.00547027587890625, 0.0648193359375, 0.0205078125, 0.01739501953125, -0.006061553955078125, 0.01099395751953125, 0.0017461776733398438, -0.0034084320068359375, -0.0009551048278808594, -0.0269622802734375, -0.019927978515625, 0.0110015869140625, -0.022064208984375, -0.0100860595703125, -0.017822265625, 0.034393310546875, -0.0306396484375, 0.00759124755859375, -0.055999755859375, 0.0118560791015625, -0.0225372314453125, 0.03912353515625, -0.04681396484375, -0.02117919921875, 0.042327880859375, -0.0115966796875, -0.0235443115234375, -0.0211029052734375, -0.014434814453125, 0.0213470458984375, 0.01410675048828125, 0.0102386474609375, -0.0217742919921875, -0.01263427734375, -0.005889892578125, -0.025543212890625, 0.00765228271484375, 0.049041748046875, 0.0006089210510253906, -0.0291595458984375, -0.017852783203125, -0.03125, -0.043060302734375, -0.02154541015625, -0.01168060302734375, 0.07659912109375, 0.0196990966796875, 0.006427764892578125, -0.0640869140625, 0.00899505615234375, -0.004657745361328125, 0.02935791015625, -0.018585205078125, 0.0276641845703125, 0.031158447265625, -0.0166473388671875, -0.01690673828125, -0.01512908935546875, 0.02740478515625, 0.028656005859375, 0.04461669921875, -0.0272369384765625, -0.01419830322265625, 0.0194854736328125, -0.0164642333984375, -0.00392913818359375, 0.059295654296875, -0.00738525390625, -0.0131378173828125, 0.05059814453125, 0.005157470703125, 0.00724029541015625, -0.04608154296875, -0.0001863241195678711, 0.00904083251953125, 0.020477294921875, -0.033172607421875, 0.017059326171875, 0.01129913330078125, 0.0180206298828125, 0.0260162353515625, 0.03857421875, -0.00298309326171875, -0.001224517822265625, -0.0008096694946289062, -0.0299835205078125, -0.004123687744140625, 0.0496826171875, 0.09332275390625, -0.0171356201171875, -0.006378173828125, -0.052215576171875, 0.029388427734375, 0.041748046875, -0.0010128021240234375, -0.0045318603515625, 0.04931640625, -0.012176513671875, 0.03985595703125, 0.01148223876953125, 0.025054931640625, -0.057281494140625, 0.03411865234375, 0.038238525390625, 0.06622314453125, -0.017425537109375, 0.0009255409240722656, 0.027801513671875, -0.011199951171875, -0.0285491943359375, 0.0638427734375, 0.02716064453125, 0.007396697998046875, 0.0130615234375, 0.05029296875, 0.0482177734375, -0.02984619140625, 0.0423583984375, -0.01099395751953125, 0.0318603515625, -0.01220703125, -0.005535125732421875, -0.0191497802734375, 0.0011720657348632812, -0.056915283203125, -0.026275634765625, 0.005382537841796875, -0.0289306640625, -0.01666259765625, -0.01427459716796875, -0.036834716796875, -0.038238525390625, -0.074951171875, -0.041717529296875, -0.06427001953125, -0.06671142578125, -0.003559112548828125, 0.007350921630859375, -0.02606201171875, 0.013671875, 0.016357421875, 0.0212860107421875, 0.024078369140625, -0.0022258758544921875, -0.0222625732421875, 0.0007653236389160156, -0.05035400390625, 0.00829315185546875, -0.00331878662109375, -0.0025177001953125, 0.01702880859375, -0.0482177734375, 0.0131683349609375, 0.021575927734375, 0.049957275390625, -0.0112152099609375, -0.036407470703125, -0.027557373046875, 0.01525115966796875, -0.0033054351806640625, -0.006916046142578125, 0.010498046875, 0.0253753662109375, 0.0426025390625, -0.04302978515625, 0.00012814998626708984, 0.02459716796875, -0.0310211181640625, 0.0136260986328125, 0.0222625732421875, -0.032257080078125, -0.0208740234375, 0.0186614990234375, -0.058929443359375, -0.0058746337890625, -0.0086212158203125, -0.04107666015625, -0.02740478515625, 0.028411865234375, -0.008331298828125, -0.00220489501953125, -0.03094482421875, 0.0404052734375, 0.045013427734375, 0.06402587890625, -0.00013339519500732422, 0.00257110595703125, -0.024139404296875, -0.0189361572265625, -0.084228515625, 0.06610107421875, 0.00458526611328125, -0.027099609375, 0.00921630859375, 0.00811004638671875, -0.00658416748046875, 0.0182037353515625, -0.038604736328125, -0.0308837890625, 0.00386810302734375, -0.0718994140625, 0.009979248046875, -0.031585693359375, 0.0184478759765625, -0.00795745849609375, 0.0347900390625, -0.012939453125, 0.0148773193359375, -0.032989501953125, -0.0172576904296875, 0.0015230178833007812, -0.0308990478515625, -0.032135009765625, 0.013458251953125, -0.018402099609375, -0.0256500244140625, -0.01776123046875, -0.01531982421875, -0.042083740234375, 0.067626953125, -0.01194000244140625, -0.0024738311767578125, 0.01009368896484375, 0.01160430908203125, -0.03204345703125, -0.0201873779296875, -0.03228759765625, -0.044677734375, -0.004528045654296875, -0.0071258544921875, -0.045074462890625, 0.01119232177734375, -0.035675048828125, 0.0294189453125, 0.0281219482421875, -0.01393890380859375, -0.00624847412109375, 0.0323486328125, -0.0038013458251953125, -0.0014705657958984375, 0.006397247314453125, -0.004268646240234375, 0.0136566162109375, 0.0224761962890625, 0.03082275390625, -0.016143798828125, -0.0060272216796875, -0.0194549560546875, -0.055877685546875, 0.057403564453125, 0.02886962890625, 0.07928466796875, 0.0245361328125, -0.0114288330078125, -0.036956787109375, -0.056915283203125, -0.01351165771484375, 0.0333251953125, 0.01122283935546875, -0.01247406005859375, -0.06536865234375, -0.040252685546875, 0.0113677978515625, -0.0205841064453125, -0.027618408203125, -0.01181793212890625, 0.055938720703125, 0.033660888671875, 0.007568359375, 0.06890869140625, 0.026336669921875, 0.03826904296875, 0.04681396484375, 0.01153564453125, -0.013427734375, -0.035736083984375, 0.047607421875, 0.0213165283203125, 0.0111236572265625, -0.0009484291076660156, 0.0297088623046875, -0.0063323974609375, -0.025726318359375, 0.024505615234375, 0.0085296630859375, -0.01538848876953125, 0.015869140625, -0.0103302001953125, 0.042022705078125, -0.0107879638671875, -0.0188751220703125, 0.020355224609375, -0.053070068359375, -0.034149169921875, -0.0105438232421875, -0.008392333984375, 0.043731689453125, 0.059967041015625, 0.0284271240234375, 0.00046825408935546875, 0.014923095703125, 0.051971435546875, -0.00391387939453125, 0.0240020751953125, 0.0367431640625, 0.005832672119140625, 0.0347900390625, 0.0088348388671875, -0.013031005859375, -0.0291290283203125, -0.022979736328125, 0.03021240234375, 0.0103607177734375, -0.07196044921875, 0.03302001953125, -0.006008148193359375, -0.0128021240234375, 0.0168914794921875, 0.0163421630859375, 0.017974853515625, 0.0016603469848632812, -0.02166748046875, 0.0119781494140625, 0.0631103515625, -0.052825927734375, -0.0216522216796875, -0.010498046875, 0.0015411376953125, 0.004421234130859375, -0.0038909912109375, 0.05902099609375, 0.0146026611328125, 0.037017822265625, -0.032928466796875, -0.0167388916015625, -0.00873565673828125, 0.00565338134765625, 0.00043010711669921875, 0.0284881591796875, -0.0008602142333984375, 0.002971649169921875, 0.05316162109375, -0.03680419921875, 0.0231781005859375, 0.06829833984375, 0.0250701904296875, -0.00969696044921875, -0.033905029296875, 0.00930023193359375, -0.00963592529296875, -0.01092529296875, 0.01776123046875, -0.0012598037719726562, -0.0166168212890625, -0.023345947265625, 0.0292816162109375, 0.0305938720703125, 0.01291656494140625, 0.0203857421875, -0.0212860107421875, 0.0280914306640625, 0.0139923095703125, -0.022735595703125, -0.0004830360412597656, -0.000560760498046875, 0.00879669189453125, 0.048919677734375, -0.02081298828125, 0.00624847412109375, 0.002506256103515625, 0.0188751220703125, -0.07476806640625, -0.0148162841796875, 0.0821533203125, -0.01947021484375, 0.04486083984375, -0.017486572265625, -0.0301666259765625, -0.010833740234375, 0.01372528076171875, 0.0135345458984375, 0.00995635986328125, -0.07330322265625, 0.0189666748046875, -0.038726806640625, -0.01027679443359375, -0.0391845703125, -0.0303192138671875, -0.0792236328125, -0.0116424560546875, 0.029083251953125, 0.01311492919921875, 0.0010576248168945312, -0.035369873046875, -0.0238494873046875, 0.0457763671875, 0.07562255859375, 0.049072265625, -0.02886962890625, 0.021881103515625, 0.03302001953125, 0.039093017578125, 0.00925445556640625, -0.0033779144287109375, -0.025848388671875, -0.0177154541015625, -0.00936126708984375, -0.0045623779296875, -0.020599365234375, 0.0268707275390625, -0.0264129638671875, -0.01085662841796875, 0.037811279296875, -0.011199951171875, -0.01087188720703125, -0.00014901161193847656, 0.00771331787109375, -0.0192108154296875, 0.037841796875, 0.044708251953125, -0.0006556510925292969, 0.04205322265625, 0.019256591796875, 0.039398193359375, -0.005435943603515625, 0.018402099609375, -0.03656005859375, 0.004642486572265625, 0.002803802490234375, -0.03485107421875, 0.0005612373352050781, 0.039459228515625, 0.034271240234375, -0.04669189453125, 0.031341552734375, 0.0284271240234375, 0.00447845458984375, 0.046142578125, 0.024169921875, 0.055389404296875, -0.00048351287841796875, 0.040863037109375, -0.016448974609375, -0.01227569580078125, -0.024017333984375, -0.03692626953125, 0.0108795166015625, 0.033233642578125, 0.0496826171875, -0.0830078125, 0.01041412353515625, 0.0141754150390625, -0.0011491775512695312, 0.01502227783203125, 0.0206756591796875, 0.033721923828125, 0.0048828125, 0.0014019012451171875, -0.0238494873046875, 0.01203155517578125, 0.015716552734375, -0.027008056640625, -0.0007939338684082031, 0.008758544921875, 0.0244598388671875, -0.003513336181640625, -0.058380126953125, -0.060943603515625, 0.0261688232421875, -0.0576171875, -0.021087646484375, -0.039031982421875, 0.02972412109375, -0.0234527587890625, -0.0294189453125, 0.0207672119140625, -0.049835205078125, 0.02374267578125, -0.002292633056640625, 0.00533294677734375, 0.042633056640625, 0.0305938720703125, -0.007419586181640625, 0.00238800048828125, -0.0196380615234375, 0.07843017578125, 0.035858154296875, -0.0174102783203125, 0.00652313232421875, -0.0357666015625, 0.0030040740966796875, -0.0013837814331054688, 0.00588226318359375, -0.0435791015625, -0.000034809112548828125, 0.01849365234375, 0.01361083984375, 0.0226898193359375, -0.05145263671875, 0.04461669921875, -0.0367431640625, -0.0311126708984375, 0.0003952980041503906, -0.028594970703125, -0.052001953125, -0.0005354881286621094, -0.009979248046875, -0.007762908935546875, 0.024261474609375, 0.00258636474609375, -0.061920166015625, 0.022613525390625, -0.004398345947265625, 0.019134521484375, -0.014862060546875, -0.0014314651489257812, 0.0007848739624023438, -0.0129852294921875, -0.0194854736328125, 0.0252838134765625, 0.014984130859375, 0.0230560302734375, -0.04150390625, 0.0003371238708496094, -0.01102447509765625, 0.0184326171875, -0.037872314453125, -0.00783538818359375, -0.01337432861328125, 0.0046234130859375, 0.018798828125, 0.0271148681640625, 0.005489349365234375, 0.0037517547607421875, -0.0017032623291015625, -0.00691986083984375, 0.06695556640625, -0.0243377685546875, 0.009124755859375, 0.049774169921875, 0.0009059906005859375, 0.0193939208984375, 0.0023784637451171875, -0.007602691650390625, 0.0194549560546875, -0.004993438720703125, -0.021453857421875, 0.011566162109375, -0.0013284683227539062, 0.022979736328125, 0.004657745361328125, 0.04315185546875, 0.0309906005859375, -0.045074462890625, 0.007778167724609375, -0.039520263671875, 0.047882080078125, -0.01016998291015625, -0.0252227783203125, -0.0193939208984375, 0.0271759033203125, -0.0308380126953125, -0.07635498046875, -0.0264739990234375, -0.00656890869140625, -0.04034423828125, 0.032989501953125, -0.012603759765625, 0.031707763671875, -0.10369873046875, -0.0950927734375, 0.04022216796875, 0.07666015625, -0.00682830810546875, -0.0948486328125, -0.0029926300048828125, -0.00971221923828125, 0.0308380126953125, 0.06256103515625, 0.057952880859375, 0.0211181640625, 0.057708740234375, 0.00701141357421875, 0.014373779296875, 0.02630615234375, 0.0078887939453125, 0.025177001953125, 0.057891845703125, -0.051788330078125, 0.006931304931640625, -0.0361328125, 0.046600341796875, -0.001964569091796875, 0.0081939697265625, -0.016326904296875, 0.05194091796875, 0.0100860595703125, -0.004119873046875, -0.006328582763671875, 0.01064300537109375, -0.018707275390625, 0.005401611328125, -0.041961669921875, -0.03558349609375, 0.00010865926742553711, 0.048248291015625, 0.071044921875, 0.045654296875, 0.01885986328125, -0.0195465087890625, 0.059600830078125, 0.04510498046875, 0.0322265625, -0.012664794921875, 0.037445068359375, -0.029998779296875, 0.05609130859375, 0.01206207275390625, -0.002925872802734375, -0.0103302001953125, 0.0333251953125, 0.029937744140625, -0.034149169921875, 0.05865478515625, -0.01236724853515625, -0.01922607421875, 0.00821685791015625, -0.0189666748046875, 0.09088134765625, 0.003559112548828125, -0.0239410400390625, 0.005542755126953125, -0.0455322265625, -0.0023632049560546875, 0.0220947265625, 0.026824951171875, -0.0072479248046875, 0.0386962890625, 0.01544952392578125, 0.0243377685546875, -0.011871337890625, -0.0218963623046875, 0.01324462890625, 0.0213470458984375, 0.02642822265625, 0.0275115966796875, -0.04376220703125, -0.01026153564453125, 0.0080108642578125, 0.00754547119140625, -0.023651123046875, 0.0936279296875, -0.0112152099609375, -0.00641632080078125, 0.025360107421875, 0.0035190582275390625, 0.006946563720703125, -0.0207061767578125, 0.0594482421875, -0.007015228271484375, 0.0014657974243164062, -0.01922607421875, -0.05157470703125, 0.03375244140625, -0.00795745849609375, 0.0298004150390625, 0.036468505859375, -0.04498291015625, 0.02227783203125, 0.0235748291015625, 0.00795745849609375, -0.041412353515625, -0.0478515625, -0.072998046875, -0.038330078125, 0.0001558065414428711, -0.01343536376953125, 0.01031494140625, 0.082275390625, 0.0193328857421875, 0.0076904296875, -0.00559234619140625, -0.06109619140625, -0.01464080810546875, 0.0192413330078125, 0.023834228515625, 0.009613037109375, 0.00360870361328125, -0.0306396484375, 0.0148773193359375, -0.0000012516975402832031, 0.016204833984375, -0.0252838134765625, 0.01204681396484375, -0.002864837646484375, 0.040618896484375, 0.0369873046875, -0.04595947265625, 0.00022602081298828125, 0.06390380859375, -0.028778076171875, -0.0024509429931640625, 0.005645751953125, -0.01032257080078125, -0.045806884765625, -0.0016870498657226562, 0.0087890625, -0.01169586181640625, -0.0008988380432128906, 0.0013942718505859375, 0.00504302978515625, 0.02362060546875, 0.0199432373046875, -0.0748291015625, 0.035186767578125, -0.0280914306640625, 0.039337158203125, -0.0173492431640625, 0.0246734619140625, -0.0282135009765625, -0.031829833984375, -0.046722412109375, -0.0272369384765625, -0.0219573974609375, 0.050506591796875, 0.01032257080078125, 0.0032501220703125, 0.02996826171875, -0.0264434814453125, 0.0008335113525390625, -0.034576416015625, 0.0262451171875, 0.00357818603515625, 0.046478271484375, -0.0216217041015625, -0.044677734375, 0.017578125, -0.01324462890625, 0.023406982421875, 0.029937744140625, 0.00655364990234375, -0.04254150390625, 0.0272369384765625, -0.03997802734375, -0.01922607421875, -0.0487060546875, -0.09765625, 0.0257110595703125, 0.0218658447265625, -0.0416259765625, -0.0195770263671875, -0.0030155181884765625, 0.01041412353515625, -0.02508544921875, -0.026092529296875, -0.0256195068359375, -0.042144775390625, 0.0198516845703125, -0.0148162841796875, 0.045135498046875, -0.004878997802734375, -0.053558349609375, 0.0178985595703125, 0.0169219970703125, 0.058868408203125, 0.00572967529296875, -0.0224609375, 0.01192474365234375, 0.0090179443359375, 0.037506103515625, -0.00960540771484375, -0.012939453125, 0.0031299591064453125, -0.017181396484375, 0.014739990234375, -0.0178070068359375, -0.01085662841796875, -0.034698486328125, 0.01477813720703125, -0.024261474609375, 0.0024471282958984375, 0.0285797119140625, -0.0114593505859375, -0.0084991455078125, 0.006221771240234375, 0.018768310546875, 0.00748443603515625, -0.050994873046875, 0.01209259033203125, 0.0217742919921875, 0.0421142578125, 0.022003173828125, -0.03350830078125, 0.00534820556640625, -0.03839111328125, 0.0316162109375, 0.034637451171875, -0.040679931640625, 0.034576416015625, 0.09857177734375, -0.06671142578125, -0.00536346435546875, 0.0256805419921875, -0.0157318115234375, 0.044525146484375, -0.0030727386474609375, 0.0343017578125, 0.017333984375, -0.03594970703125, 0.01007080078125, 0.024139404296875, 0.018707275390625, -0.031707763671875, -0.0482177734375, 0.00897216796875, 0.020477294921875, 0.0012493133544921875, 0.020172119140625, -0.0031528472900390625, -0.035858154296875, -0.037017822265625, 0.020843505859375, -0.038818359375, -0.0297393798828125, -0.03399658203125, 0.0268402099609375, -0.034515380859375, 0.013427734375, 0.01068878173828125, -0.01416015625, 0.00675201416015625, 0.014373779296875, -0.044769287109375, -0.0012054443359375, -0.01385498046875, 0.043243408203125, -0.00806427001953125, 0.00408172607421875 ]
155a2101d3208953f2cb2171050415618a4ca2a4
Wordpress Stackexchange Q: Add a custom class to awating comments So not sure if i have missed something but awaiting comments dont have a own class, so is there a way to add in a simple way a custom class to comments that are awaiting moderation so that I can style there comments with CSS. A: Here's one way to add a custom .wpse-comment-awaiting-moderation comment class through the comment_class filter: add_filter( 'comment_class', 'wpse_259326_comment_classes', 10, 5 ); function wpse_259326_comment_classes ( $classes, $class, $comment_ID, $comment, $post_id ) { if( 'unapproved' === wp_get_comment_status( $comment ) && is_array( $classes ) ) $classes[] = 'wpse-comment-awaiting-moderation'; return $classes; } where we used that wp_get_comment_status( $comment ) returns 'unapproved' for unappproved comments.
Q: Add a custom class to awating comments So not sure if i have missed something but awaiting comments dont have a own class, so is there a way to add in a simple way a custom class to comments that are awaiting moderation so that I can style there comments with CSS. A: Here's one way to add a custom .wpse-comment-awaiting-moderation comment class through the comment_class filter: add_filter( 'comment_class', 'wpse_259326_comment_classes', 10, 5 ); function wpse_259326_comment_classes ( $classes, $class, $comment_ID, $comment, $post_id ) { if( 'unapproved' === wp_get_comment_status( $comment ) && is_array( $classes ) ) $classes[] = 'wpse-comment-awaiting-moderation'; return $classes; } where we used that wp_get_comment_status( $comment ) returns 'unapproved' for unappproved comments.
wordpress
{ "language": "en", "length": 113, "provenance": "stackexchange_00019.jsonl.gz:474054", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/259326" }
[ 0.0567626953125, -0.0026035308837890625, -0.03240966796875, -0.057403564453125, 0.029571533203125, -0.038238525390625, 0.024871826171875, 0.01268768310546875, -0.05743408203125, 0.0079803466796875, -0.0106658935546875, 0.0244140625, -0.024993896484375, -0.0301513671875, 0.037200927734375, -0.0465087890625, 0.0289154052734375, 0.05816650390625, 0.07696533203125, 0.0058746337890625, 0.0013360977172851562, 0.0049285888671875, 0.00798797607421875, 0.00887298583984375, 0.01268768310546875, -0.061279296875, 0.1383056640625, 0.004604339599609375, 0.036773681640625, 0.001659393310546875, 0.0255584716796875, -0.062286376953125, 0.0184783935546875, 0.039825439453125, -0.0303802490234375, -0.03369140625, 0.0224609375, -0.01493072509765625, -0.015655517578125, 0.0207977294921875, 0.01448822021484375, 0.003692626953125, -0.01287841796875, 0.028778076171875, -0.03485107421875, -0.0203857421875, -0.00885009765625, -0.0185699462890625, 0.04034423828125, -0.01062774658203125, 0.0198516845703125, -0.002010345458984375, 0.0281219482421875, -0.039215087890625, -0.037445068359375, -0.0192718505859375, -0.06304931640625, 0.056365966796875, 0.00835418701171875, 0.01079559326171875, 0.017181396484375, 0.01959228515625, -0.003997802734375, -0.00266265869140625, -0.00009304285049438477, 0.002513885498046875, 0.09014892578125, 0.02978515625, 0.003368377685546875, -0.0241241455078125, -0.02838134765625, 0.023162841796875, -0.001056671142578125, -0.005626678466796875, -0.0001266002655029297, -0.018280029296875, -0.01548004150390625, -0.0177764892578125, 0.0234222412109375, 0.0272369384765625, 0.029571533203125, -0.0236663818359375, 0.0016069412231445312, 0.006664276123046875, 0.0023593902587890625, 0.0167236328125, -0.00791168212890625, -0.0298004150390625, -0.0020008087158203125, 0.0019350051879882812, -0.0107574462890625, -0.0675048828125, 0.0236053466796875, 0.0230712890625, 0.0035877227783203125, -0.04107666015625, -0.02630615234375, 0.024658203125, -0.037933349609375, 0.017913818359375, -0.01129913330078125, -0.003536224365234375, 0.0200958251953125, -0.054779052734375, 0.01226806640625, 0.0074920654296875, -0.0141448974609375, -0.01898193359375, 0.025177001953125, 0.002643585205078125, -0.015960693359375, -0.0149383544921875, -0.015472412109375, -0.0242462158203125, -0.0229034423828125, -0.006954193115234375, -0.04241943359375, -0.01091766357421875, 0.0219268798828125, -0.0604248046875, 0.020782470703125, 0.0222625732421875, 0.014312744140625, -0.0210723876953125, 0.0155792236328125, 0.005878448486328125, -0.0228424072265625, -0.02227783203125, 0.02569580078125, 0.00635528564453125, -0.03173828125, 0.02178955078125, 0.0266571044921875, -0.021148681640625, -0.01558685302734375, -0.0146636962890625, 0.07415771484375, -0.01087188720703125, -0.049835205078125, 0.05267333984375, 0.00925445556640625, -0.024444580078125, -0.060943603515625, -0.0206146240234375, -0.0167999267578125, 0.036346435546875, 0.016448974609375, -0.01190185546875, -0.0015048980712890625, -0.0791015625, 0.01336669921875, -0.03558349609375, 0.0452880859375, -0.0086212158203125, -0.0308380126953125, -0.0178680419921875, 0.0191497802734375, -0.0248870849609375, -0.041839599609375, -0.04510498046875, 0.0030059814453125, 0.00460052490234375, 0.0014543533325195312, -0.04644775390625, -0.0251922607421875, -0.03179931640625, -0.03125, -0.0030384063720703125, 0.0238800048828125, 0.01776123046875, -0.046844482421875, 0.0113677978515625, 0.054412841796875, 0.0295257568359375, -0.0146636962890625, 0.023468017578125, -0.01428985595703125, -0.001209259033203125, 0.01690673828125, -0.0004181861877441406, -0.00241851806640625, -0.04705810546875, 0.0302276611328125, 0.00833892822265625, -0.025909423828125, -0.0008072853088378906, 0.042510986328125, 0.05169677734375, -0.007808685302734375, 0.034912109375, -0.01114654541015625, 0.02117919921875, -0.00789642333984375, 0.00728607177734375, -0.0269622802734375, -0.030517578125, 0.0009021759033203125, -0.0021228790283203125, -0.0155029296875, 0.0458984375, 0.00998687744140625, -0.022369384765625, -0.0020046234130859375, -0.01495361328125, -0.05078125, -0.01175689697265625, -0.017486572265625, 0.033111572265625, -0.0125732421875, -0.01387786865234375, 0.028167724609375, -0.025238037109375, -0.0135498046875, -0.03778076171875, -0.040008544921875, 0.00035762786865234375, -0.025146484375, 0.00647735595703125, -0.0147857666015625, 0.0092010498046875, -0.01036834716796875, -0.03192138671875, -0.0091094970703125, 0.0015621185302734375, 0.004756927490234375, -0.01277923583984375, 0.00040459632873535156, 0.0022869110107421875, 0.037261962890625, 0.0225830078125, 0.013763427734375, -0.01873779296875, 0.043853759765625, 0.00971221923828125, -0.00548553466796875, -0.0020389556884765625, -0.0031585693359375, -0.11749267578125, -0.0064239501953125, 0.061431884765625, 0.034637451171875, 0.0005211830139160156, 0.00421142578125, 0.0209503173828125, 0.067138671875, 0.056976318359375, 0.054351806640625, -0.0268096923828125, -0.0152130126953125, 0.01226806640625, 0.031402587890625, -0.0005888938903808594, 0.017059326171875, 0.057159423828125, -0.0154876708984375, 0.00870513916015625, -0.0042266845703125, -0.0236358642578125, 0.032470703125, 0.01416778564453125, -0.00576019287109375, -0.00151824951171875, -0.0120697021484375, -0.004199981689453125, 0.019744873046875, -0.007598876953125, 0.003570556640625, -0.0018033981323242188, -0.02471923828125, 0.01092529296875, 0.027069091796875, -0.0213165283203125, 0.0098876953125, 0.01727294921875, -0.01788330078125, 0.03192138671875, 0.002704620361328125, -0.024749755859375, 0.0183258056640625, 0.017791748046875, 0.0037078857421875, 0.0675048828125, 0.004581451416015625, -0.02349853515625, -0.00036144256591796875, -0.0128631591796875, -0.008758544921875, -0.04827880859375, -0.048919677734375, -0.0673828125, -0.0239410400390625, 0.03265380859375, -0.029815673828125, 0.006053924560546875, 0.045684814453125, -0.026214599609375, 0.01538848876953125, 0.00887298583984375, 0.0278167724609375, -0.0129547119140625, -0.0191192626953125, 0.039764404296875, -0.002506256103515625, -0.002819061279296875, 0.00362396240234375, -0.00029921531677246094, 0.0010690689086914062, -0.0022182464599609375, -0.0016851425170898438, -0.01303863525390625, 0.00432586669921875, 0.056396484375, 0.023529052734375, 0.0921630859375, -0.034454345703125, -0.046539306640625, 0.00820159912109375, 0.0438232421875, 0.032470703125, 0.01027679443359375, 0.06646728515625, -0.0654296875, -0.01378631591796875, -0.012420654296875, -0.041778564453125, -0.0295867919921875, -0.006744384765625, -0.01091766357421875, -0.0283050537109375, -0.032684326171875, -0.0299835205078125, -0.039764404296875, -0.043487548828125, 0.021942138671875, 0.008575439453125, 0.01788330078125, -0.005771636962890625, 0.0814208984375, 0.01531219482421875, -0.00412750244140625, 0.01373291015625, -0.0144805908203125, 0.0237274169921875, 0.0008263587951660156, 0.01055145263671875, 0.00623321533203125, 0.019622802734375, 0.0028839111328125, 0.0205841064453125, 0.0628662109375, -0.06298828125, -0.0035915374755859375, -0.0303192138671875, 0.01776123046875, -0.025054931640625, 0.0238800048828125, 0.05584716796875, 0.05816650390625, 0.012603759765625, -0.00875091552734375, -0.005275726318359375, 0.037567138671875, 0.005886077880859375, -0.06732177734375, -0.04425048828125, -0.024322509765625, -0.04083251953125, 0.04278564453125, 0.0052490234375, 0.013092041015625, 0.057891845703125, -0.039337158203125, 0.05267333984375, -0.005218505859375, -0.01117706298828125, -0.052703857421875, -0.0294342041015625, -0.032806396484375, 0.0355224609375, -0.0241851806640625, 0.0102996826171875, -0.046142578125, 0.04180908203125, -0.08746337890625, -0.0316162109375, 0.04052734375, -0.038330078125, 0.0400390625, -0.06927490234375, -0.037384033203125, -0.0151824951171875, 0.11297607421875, -0.048004150390625, -0.013916015625, 0.01262664794921875, 0.0208892822265625, -0.00662994384765625, -0.03289794921875, -0.0300445556640625, -0.032379150390625, -0.09527587890625, 0.03448486328125, -0.00786590576171875, -0.0244293212890625, -0.029327392578125, -0.0278472900390625, -0.06170654296875, -0.045135498046875, 0.043701171875, -0.06378173828125, 0.0158538818359375, 0.031646728515625, -0.0135498046875, 0.016693115234375, -0.03143310546875, -0.0386962890625, -0.0755615234375, -0.002239227294921875, -0.06298828125, 0.050018310546875, 0.0166778564453125, 0.0206756591796875, -0.0217437744140625, 0.032440185546875, 0.01290130615234375, -0.01273345947265625, -0.0038509368896484375, -0.010162353515625, -0.015869140625, 0.0204010009765625, -0.01306915283203125, 0.0016536712646484375, -0.0007863044738769531, 0.00777435302734375, 0.0015878677368164062, 0.06524658203125, -0.02459716796875, 0.0104827880859375, 0.01058197021484375, -0.0306396484375, 0.035003662109375, -0.01107025146484375, -0.006137847900390625, 0.046539306640625, -0.019744873046875, 0.02740478515625, -0.0131683349609375, 0.021148681640625, -0.025604248046875, -0.055023193359375, -0.018890380859375, 0.0253753662109375, 0.0256500244140625, 0.03424072265625, 0.01200103759765625, 0.01178741455078125, -0.0243682861328125, 0.0311126708984375, 0.0111541748046875, 0.047882080078125, 0.0309600830078125, -0.017242431640625, 0.041259765625, 0.010162353515625, -0.01470184326171875, 0.030242919921875, 0.027862548828125, -0.0028514862060546875, -0.01806640625, 0.005779266357421875, -0.02178955078125, -0.004146575927734375, -0.0242767333984375, 0.005382537841796875, -0.007061004638671875, 0.0227508544921875, 0.038970947265625, 0.0221710205078125, -0.0149078369140625, -0.029083251953125, -0.051788330078125, 0.0113525390625, -0.07861328125, 0.0174102783203125, -0.005313873291015625, 0.00661468505859375, 0.0101165771484375, 0.01430511474609375, 0.005466461181640625, 0.004161834716796875, -0.039031982421875, -0.01157379150390625, 0.0211639404296875, 0.00891876220703125, -0.009552001953125, 0.041748046875, -0.00952911376953125, 0.0946044921875, 0.0340576171875, -0.03704833984375, 0.00504302978515625, 0.006587982177734375, 0.040435791015625, -0.01485443115234375, -0.0130462646484375, 0.035247802734375, 0.007755279541015625, -0.022125244140625, 0.007904052734375, -0.038055419921875, 0.0063934326171875, -0.049774169921875, 0.0304412841796875, 0.0266265869140625, -0.025146484375, 0.0140533447265625, 0.01177215576171875, 0.040557861328125, -0.0110015869140625, -0.01446533203125, 0.00218963623046875, 0.033599853515625, 0.02642822265625, 0.019012451171875, 0.0027523040771484375, -0.0096588134765625, 0.0251617431640625, 0.01482391357421875, 0.0128631591796875, -0.010986328125, 0.0115203857421875, -0.015899658203125, 0.0157928466796875, 0.0406494140625, -0.0194854736328125, 0.012115478515625, -0.0272064208984375, 0.004001617431640625, 0.063720703125, 0.03350830078125, -0.015716552734375, 0.0029754638671875, 0.0132904052734375, 0.068359375, -0.00978851318359375, -0.02105712890625, -0.0252227783203125, -0.011474609375, 0.038482666015625, -0.03411865234375, 0.014495849609375, 0.01091766357421875, -0.03143310546875, -0.0098876953125, 0.0290069580078125, -0.05645751953125, -0.0236358642578125, -0.00023663043975830078, -0.0136871337890625, 0.00975799560546875, -0.0307769775390625, 0.0087738037109375, -0.0186920166015625, 0.005519866943359375, -0.0426025390625, 0.0233917236328125, 0.010528564453125, 0.0107574462890625, 0.01279449462890625, -0.03814697265625, -0.054229736328125, -0.052764892578125, -0.08111572265625, -0.054962158203125, -0.0230865478515625, 0.052398681640625, 0.00951385498046875, 0.0005593299865722656, 0.0066986083984375, -0.02557373046875, -0.04803466796875, 0.035797119140625, 0.05413818359375, 0.0162353515625, -0.03741455078125, 0.07568359375, 0.037017822265625, 0.043853759765625, 0.03839111328125, 0.05450439453125, 0.01253509521484375, -0.03350830078125, 0.0281219482421875, -0.032684326171875, -0.01544189453125, -0.0430908203125, 0.0104827880859375, 0.01413726806640625, 0.03240966796875, -0.005077362060546875, 0.048065185546875, -0.006488800048828125, 0.01538848876953125, -0.0277252197265625, -0.049041748046875, -0.035003662109375, 0.0264892578125, 0.002506256103515625, -0.0172882080078125, 0.0192718505859375, -0.0196685791015625, -0.01038360595703125, -0.00225067138671875, -0.018157958984375, 0.025970458984375, 0.0087738037109375, -0.033660888671875, 0.0305023193359375, 0.042724609375, -0.0270538330078125, 0.016571044921875, 0.0029888153076171875, 0.005519866943359375, 0.004634857177734375, 0.02703857421875, -0.008544921875, -0.01488494873046875, 0.0965576171875, 0.0268402099609375, -0.0338134765625, 0.06903076171875, -0.0357666015625, 0.032928466796875, 0.0396728515625, 0.0538330078125, -0.0838623046875, 0.02166748046875, -0.005176544189453125, -0.019927978515625, 0.076904296875, 0.0233154296875, 0.003101348876953125, -0.033050537109375, 0.06390380859375, -0.023956298828125, 0.0144805908203125, 0.047088623046875, -0.033599853515625, -0.0088958740234375, -0.0235595703125, -0.0007891654968261719, -0.01447296142578125, -0.007717132568359375, -0.00980377197265625, 0.0184326171875, -0.006687164306640625, -0.0189971923828125, 0.009002685546875, 0.034820556640625, -0.0084686279296875, -0.048919677734375, 0.04412841796875, -0.04913330078125, 0.0005736351013183594, 0.058685302734375, 0.0204620361328125, 0.00011342763900756836, 0.020355224609375, -0.00457763671875, 0.0423583984375, -0.0228118896484375, -0.022308349609375, -0.018524169921875, -0.0406494140625, 0.022735595703125, 0.027252197265625, -0.02783203125, 0.04534912109375, 0.01377105712890625, -0.056915283203125, 0.004673004150390625, 0.0018873214721679688, 0.01195526123046875, -0.0248870849609375, -0.005474090576171875, 0.06536865234375, -0.01245880126953125, -0.0247650146484375, -0.006870269775390625, 0.0142822265625, -0.011505126953125, 0.01093292236328125, -0.00965118408203125, -0.0125885009765625, 0.0216064453125, -0.018890380859375, -0.045928955078125, 0.045257568359375, 0.03277587890625, -0.01442718505859375, -0.0047149658203125, 0.0119171142578125, -0.0299224853515625, 0.0080413818359375, -0.0207977294921875, 0.0253753662109375, -0.01495361328125, 0.04815673828125, -0.030914306640625, -0.015838623046875, 0.0159759521484375, 0.034088134765625, 0.011016845703125, 0.0061187744140625, -0.037872314453125, 0.015899658203125, 0.020172119140625, -0.0085296630859375, -0.0158233642578125, 0.04638671875, -0.00589752197265625, -0.00015974044799804688, -0.0020885467529296875, 0.0111083984375, 0.033050537109375, -0.0203857421875, -0.048126220703125, 0.026397705078125, 0.01123046875, 0.00785064697265625, -0.01305389404296875, 0.08050537109375, -0.0609130859375, 0.005374908447265625, 0.04205322265625, -0.004917144775390625, -0.003902435302734375, 0.07440185546875, 0.03240966796875, -0.01523590087890625, -0.04534912109375, -0.02459716796875, 0.040191650390625, -0.01549530029296875, 0.0305938720703125, 0.0517578125, 0.0191802978515625, 0.0172882080078125, 0.0187835693359375, 0.02239990234375, 0.00803375244140625, -0.00791168212890625, 0.00833892822265625, 0.02056884765625, 0.0231781005859375, -0.01177978515625, -0.0008707046508789062, -0.0078277587890625, 0.01308441162109375, -0.020965576171875, 0.0201416015625, 0.011962890625, -0.006397247314453125, 0.0092926025390625, -0.04193115234375, 0.0242919921875, -0.015655517578125, -0.04876708984375, -0.046295166015625, 0.007419586181640625, 0.02099609375, 0.02960205078125, -0.0207977294921875, -0.01751708984375, -0.01418304443359375, -0.0143280029296875, -0.0106201171875, -0.020538330078125, -0.00020802021026611328, 0.0270233154296875, 0.0027713775634765625, 0.03167724609375, 0.00031304359436035156, 0.0009794235229492188, 0.012298583984375, -0.001697540283203125, 0.017791748046875, -0.0252685546875, 0.0283660888671875, 0.021026611328125, -0.01520538330078125, 0.004169464111328125, 0.032806396484375, -0.0007143020629882812, 0.01561737060546875, 0.00017178058624267578, 0.01525115966796875, -0.004184722900390625, -0.03387451171875, -0.0188140869140625, -0.037689208984375, -0.058441162109375, 0.0246429443359375, 0.055084228515625, 0.01454925537109375, 0.0428466796875, -0.037078857421875, 0.0670166015625, -0.005550384521484375, -0.00510406494140625, 0.01250457763671875, -0.028839111328125, 0.041168212890625, 0.054046630859375, 0.0095672607421875, 0.033905029296875, -0.05712890625, -0.022705078125, 0.00807952880859375, -0.0009579658508300781, 0.0089111328125, 0.0380859375, 0.00001436471939086914, 0.0158233642578125, 0.015167236328125, -0.0018749237060546875, 0.0006175041198730469, -0.0069580078125, 0.0276641845703125, 0.019134521484375, 0.0024929046630859375, 0.023345947265625, -0.105224609375, -0.0712890625, -0.07867431640625, 0.047119140625, 0.0288238525390625, 0.06805419921875, -0.0027294158935546875, 0.0589599609375, -0.06866455078125, 0.0155487060546875, -0.0531005859375, -0.0645751953125, 0.04071044921875, 0.00641632080078125, -0.0205841064453125, 0.01306915283203125, -0.037841796875, 0.0273590087890625, 0.037689208984375, -0.0186614990234375, 0.038330078125, 0.00043272972106933594, -0.003467559814453125, -0.060546875, -0.01239776611328125, -0.034637451171875, -0.0357666015625, -0.020904541015625, -0.019287109375, 0.004947662353515625, -0.0071563720703125, -0.00563812255859375, 0.0281524658203125, -0.0009908676147460938, 0.0244903564453125, 0.024749755859375, -0.0008454322814941406, 0.03228759765625, 0.038482666015625, -0.06781005859375, 0.0013103485107421875, 0.0115509033203125, -0.01093292236328125, 0.014923095703125, 0.0032787322998046875, 0.0258026123046875, 0.00864410400390625, 0.02001953125, 0.0186767578125, 0.0091400146484375, 0.0546875, -0.0117645263671875, 0.01450347900390625, 0.006381988525390625, 0.0007758140563964844, 0.021881103515625, -0.0147705078125, -0.03057861328125, -0.055572509765625, -0.01253509521484375, 0.02166748046875, -0.048858642578125, -0.0129241943359375, -0.04693603515625, -0.026580810546875, 0.0257110595703125, 0.02154541015625, -0.037841796875, 0.0036869049072265625, 0.0058746337890625, 0.006984710693359375, 0.01284027099609375, 0.01438140869140625, 0.022216796875, 0.0086517333984375, -0.045013427734375, -0.0277099609375, 0.0092010498046875, 0.041107177734375, -0.012908935546875, 0.01617431640625, 0.0125885009765625, -0.0218505859375, 0.032012939453125, 0.017578125, 0.0229949951171875, 0.06494140625, 0.0042266845703125, -0.009368896484375, 0.056182861328125, -0.01554107666015625, -0.04986572265625, -0.055450439453125, 0.00356292724609375, -0.045989990234375, 0.00986480712890625, -0.0238189697265625, 0.043792724609375, 0.05853271484375, -0.0202484130859375, -0.084228515625, 0.015899658203125, -0.0284271240234375, -0.027435302734375, -0.0478515625, 0.042510986328125, -0.0272369384765625, -0.0091552734375, -0.00679779052734375, -0.0273284912109375, 0.036529541015625, 0.0408935546875, 0.00792694091796875, 0.033538818359375, 0.00673675537109375, 0.0142364501953125, -0.0300140380859375, 0.0073089599609375, 0.00437164306640625, 0.007022857666015625, -0.01421356201171875, -0.03369140625, 0.045654296875, 0.04522705078125, -0.0117340087890625, -0.04461669921875, 0.0259857177734375, -0.0309295654296875, -0.016693115234375, -0.01178741455078125, -0.03692626953125, -0.047698974609375, 0.04302978515625, 0.040557861328125, 0.005306243896484375, 0.00801849365234375, 0.0401611328125, -0.010101318359375, -0.052032470703125, -0.008575439453125, 0.017974853515625, -0.0248565673828125, -0.02801513671875, 0.004497528076171875, 0.0227813720703125, -0.0178070068359375, -0.0029296875, -0.005771636962890625, -0.0235595703125, -0.00922393798828125, -0.01763916015625, -0.003101348876953125, -0.0248260498046875, 0.038848876953125, -0.014984130859375, 0.0247039794921875, 0.004467010498046875, 0.016357421875, 0.04998779296875, 0.05963134765625, -0.0184326171875, -0.0215606689453125, -0.0014123916625976562, 0.0157470703125, -0.01007080078125, 0.03472900390625, 0.002147674560546875, -0.018402099609375, -0.00894927978515625, 0.005916595458984375, 0.00548553466796875, 0.0020008087158203125, -0.0081787109375, -0.0015316009521484375, -0.0140533447265625, 0.010040283203125, -0.031097412109375, 0.00952911376953125, -0.0237274169921875, 0.035247802734375, 0.0156097412109375, -0.01364898681640625, 0.0654296875, -0.0289306640625, -0.01690673828125, -0.003620147705078125, -0.0293731689453125, -0.08740234375, 0.062744140625, 0.029266357421875, 0.0199432373046875, 0.04449462890625 ]
b9db51089b1a21bc4ecec924450fef056d4ca33e
Wordpress Stackexchange Q: Adding a search form inside a div I wanted to add a search form inside a div using the code bellow: printf( '<div class="entry"><p>%s</p>%s</div>', apply_filters( 'genesis_noposts_text', __( 'Try again below.', 'genesis' ) ), get_search_form() ); But every time I add the get_search_form() it's generated before the div, like the following: <form></form> <div class="entry"></div> The workaround I found was to split the code, but I wanted to know if there is a better solution that works properly. remove_action( 'genesis_loop_else', 'genesis_do_noposts' ); add_action( 'genesis_loop_else', 'mytheme_do_noposts' ); function mytheme_do_noposts() { printf( '<div class="entry"><p>%s</p>', apply_filters( 'genesis_noposts_text', __( 'Try again below.', 'genesis' ) ) ); printf( '%s</div>', get_search_form() ); } get_search_form A: The get_search_form() echos so it will always show up before returns. Use: get_search_form( false )
Q: Adding a search form inside a div I wanted to add a search form inside a div using the code bellow: printf( '<div class="entry"><p>%s</p>%s</div>', apply_filters( 'genesis_noposts_text', __( 'Try again below.', 'genesis' ) ), get_search_form() ); But every time I add the get_search_form() it's generated before the div, like the following: <form></form> <div class="entry"></div> The workaround I found was to split the code, but I wanted to know if there is a better solution that works properly. remove_action( 'genesis_loop_else', 'genesis_do_noposts' ); add_action( 'genesis_loop_else', 'mytheme_do_noposts' ); function mytheme_do_noposts() { printf( '<div class="entry"><p>%s</p>', apply_filters( 'genesis_noposts_text', __( 'Try again below.', 'genesis' ) ) ); printf( '%s</div>', get_search_form() ); } get_search_form A: The get_search_form() echos so it will always show up before returns. Use: get_search_form( false ) A: The solution is to use get_search_form( false ). get_search_form() will output the search form. Since you are trying to use the result in a string context, you need the function to return the html in form of a string, which you are passing through printf. The only parameter for get_search_form controls that behavior. By default it prints, but if you pass false, it will return the string that you need.
wordpress
{ "language": "en", "length": 194, "provenance": "stackexchange_00019.jsonl.gz:474083", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/259441" }
[ 0.076416015625, -0.0080718994140625, 0.0213775634765625, -0.00794219970703125, 0.0184173583984375, -0.0301666259765625, 0.06427001953125, -0.045562744140625, 0.0445556640625, 0.0183258056640625, -0.072265625, -0.01123809814453125, -0.00911712646484375, 0.0017004013061523438, -0.036163330078125, -0.036102294921875, 0.029754638671875, -0.0186004638671875, 0.0037078857421875, -0.022064208984375, -0.00693511962890625, -0.0016574859619140625, 0.019775390625, -0.016326904296875, 0.005764007568359375, -0.058990478515625, 0.1116943359375, -0.01158905029296875, 0.029296875, -0.016754150390625, 0.01153564453125, -0.019561767578125, 0.061126708984375, -0.0158843994140625, -0.0174560546875, 0.05731201171875, 0.0079345703125, -0.0214080810546875, 0.0017375946044921875, 0.006771087646484375, 0.053558349609375, -0.0195770263671875, -0.038116455078125, -0.0225830078125, -0.0301055908203125, -0.0157623291015625, 0.043182373046875, -0.0005712509155273438, -0.01494598388671875, -0.016387939453125, 0.00482177734375, -0.00025177001953125, 0.0171661376953125, -0.00466156005859375, -0.0022869110107421875, 0.00360107421875, -0.037078857421875, -0.033905029296875, 0.0394287109375, 0.0187835693359375, 0.01103973388671875, -0.056396484375, 0.03082275390625, -0.00899505615234375, -0.0015630722045898438, 0.020538330078125, -0.0106048583984375, -0.028106689453125, -0.0217437744140625, 0.012481689453125, 0.049072265625, -0.057403564453125, -0.01506805419921875, -0.0204315185546875, -0.0238037109375, -0.0167694091796875, 0.014923095703125, -0.035491943359375, -0.0189208984375, 0.01458740234375, -0.03680419921875, -0.002330780029296875, -0.07000732421875, 0.00844573974609375, -0.04443359375, -0.0201416015625, -0.005970001220703125, 0.007801055908203125, -0.020660400390625, -0.0145721435546875, -0.01287841796875, -0.04443359375, -0.035858154296875, 0.0033702850341796875, 0.0146484375, -0.042327880859375, -0.004047393798828125, 0.042572021484375, 0.00928497314453125, 0.024261474609375, 0.01309967041015625, -0.032470703125, 0.0204010009765625, -0.053619384765625, 0.0050048828125, 0.0584716796875, -0.025482177734375, 0.00885772705078125, 0.03631591796875, 0.0290374755859375, 0.013031005859375, -0.004901885986328125, -0.00038504600524902344, -0.058502197265625, 0.00327301025390625, 0.0280914306640625, -0.00787353515625, 0.0168914794921875, 0.037353515625, -0.0021209716796875, 0.032257080078125, 0.0283966064453125, 0.0175323486328125, -0.01557159423828125, -0.007175445556640625, 0.0002613067626953125, -0.0229644775390625, -0.042572021484375, 0.0161285400390625, 0.0101165771484375, -0.0305938720703125, 0.0175628662109375, 0.06390380859375, 0.038604736328125, 0.016082763671875, -0.0247802734375, 0.0022754669189453125, -0.0087127685546875, -0.00812530517578125, 0.01155853271484375, -0.00975799560546875, -0.02874755859375, 0.0168304443359375, -0.005588531494140625, -0.05029296875, 0.005123138427734375, 0.0080108642578125, -0.0020542144775390625, -0.0105438232421875, -0.077880859375, -0.006317138671875, -0.00811004638671875, 0.04730224609375, 0.00045680999755859375, -0.03033447265625, -0.0107574462890625, 0.044525146484375, -0.03155517578125, -0.055572509765625, -0.050018310546875, 0.02783203125, 0.02130126953125, 0.04241943359375, -0.01763916015625, -0.0297393798828125, -0.049530029296875, -0.055023193359375, -0.0153045654296875, 0.0203857421875, 0.0457763671875, -0.002826690673828125, -0.031646728515625, 0.01152801513671875, 0.006900787353515625, -0.01482391357421875, 0.01202392578125, 0.037750244140625, 0.0224151611328125, 0.0137786865234375, -0.01151275634765625, -0.0357666015625, -0.039581298828125, 0.0897216796875, -0.0594482421875, -0.07843017578125, 0.0826416015625, -0.0186614990234375, 0.042236328125, 0.0149993896484375, -0.007701873779296875, 0.04840087890625, 0.047637939453125, -0.02935791015625, 0.01459503173828125, 0.0110321044921875, -0.0294342041015625, -0.0022830963134765625, -0.0131378173828125, -0.0089569091796875, 0.0022830963134765625, -0.012420654296875, 0.008392333984375, -0.0260772705078125, 0.0028820037841796875, -0.036895751953125, -0.020721435546875, -0.0012350082397460938, 0.0186309814453125, -0.029205322265625, -0.017303466796875, 0.01468658447265625, -0.0163726806640625, 0.01116943359375, -0.0312042236328125, 0.00537109375, 0.036895751953125, 0.010009765625, 0.05865478515625, 0.02581787109375, 0.0726318359375, 0.01220703125, -0.027923583984375, 0.01094818115234375, -0.0268707275390625, 0.09185791015625, -0.01030731201171875, -0.0171356201171875, -0.038299560546875, 0.04571533203125, 0.0015201568603515625, -0.078857421875, 0.037322998046875, 0.0638427734375, 0.062469482421875, -0.059539794921875, -0.022125244140625, -0.0467529296875, -0.03985595703125, 0.0014657974243164062, 0.057373046875, 0.028717041015625, 0.037445068359375, -0.0067901611328125, 0.0230255126953125, 0.06378173828125, -0.043243408203125, -0.01338958740234375, 0.0216522216796875, 0.00185394287109375, 0.05548095703125, -0.003604888916015625, 0.033050537109375, -0.0066986083984375, 0.0158233642578125, 0.023956298828125, 0.031341552734375, 0.00426483154296875, -0.020843505859375, 0.016021728515625, -0.00020396709442138672, 0.01004791259765625, -0.020599365234375, -0.0419921875, -0.0004737377166748047, 0.0022144317626953125, 0.0183868408203125, 0.0011310577392578125, -0.00379180908203125, -0.061126708984375, 0.031158447265625, 0.0472412109375, 0.01515960693359375, -0.015625, 0.006267547607421875, -0.01505279541015625, -0.033721923828125, -0.032501220703125, 0.0311279296875, -0.03466796875, -0.0183258056640625, -0.0090484619140625, 0.028656005859375, 0.027191162109375, 0.001491546630859375, -0.018798828125, -0.06060791015625, 0.033294677734375, 0.0199127197265625, 0.00257110595703125, 0.034332275390625, 0.06842041015625, -0.035003662109375, -0.0277252197265625, -0.01617431640625, -0.00791168212890625, -0.02239990234375, -0.032745361328125, -0.01105499267578125, 0.0106964111328125, 0.0066680908203125, 0.0611572265625, 0.0692138671875, -0.01284027099609375, 0.0406494140625, -0.016998291015625, -0.0267791748046875, -0.02972412109375, 0.014678955078125, -0.0305633544921875, -0.035797119140625, -0.05029296875, 0.01157379150390625, 0.02569580078125, 0.0372314453125, 0.0270843505859375, -0.034149169921875, 0.0299072265625, 0.0386962890625, -0.049102783203125, -0.054901123046875, -0.00794219970703125, -0.054656982421875, -0.01044464111328125, -0.003307342529296875, -0.0237579345703125, 0.0135955810546875, 0.00966644287109375, 0.004730224609375, -0.005580902099609375, -0.0007672309875488281, -0.046051025390625, -0.034423828125, -0.059600830078125, 0.0099639892578125, -0.0179901123046875, 0.007663726806640625, 0.0002942085266113281, 0.052276611328125, 0.04302978515625, -0.008514404296875, 0.0478515625, 0.039093017578125, -0.0188140869140625, -0.005214691162109375, -0.034942626953125, -0.026611328125, 0.02935791015625, -0.0186767578125, -0.018218994140625, -0.00786590576171875, 0.041961669921875, 0.007518768310546875, -0.01849365234375, 0.02191162109375, -0.00659942626953125, 0.0149078369140625, 0.0261383056640625, 0.01032257080078125, 0.004283905029296875, -0.03271484375, 0.0284576416015625, -0.007335662841796875, -0.0117645263671875, -0.0386962890625, -0.011871337890625, -0.01238250732421875, 0.0096893310546875, -0.0297393798828125, -0.01812744140625, 0.014923095703125, 0.0227508544921875, -0.01052093505859375, 0.0345458984375, -0.0257415771484375, -0.048309326171875, -0.01548004150390625, 0.0159759521484375, -0.033050537109375, 0.002620697021484375, 0.00008910894393920898, 0.01226043701171875, 0.0204620361328125, -0.0401611328125, -0.01551055908203125, -0.00678253173828125, 0.0546875, 0.01392364501953125, 0.01480865478515625, -0.0236358642578125, -0.0509033203125, -0.0045318603515625, 0.08544921875, -0.0609130859375, -0.01239776611328125, -0.039031982421875, 0.0128173828125, 0.00815582275390625, -0.0870361328125, 0.0030879974365234375, -0.00959014892578125, -0.04156494140625, -0.0162353515625, -0.01776123046875, -0.0194091796875, -0.00223541259765625, 0.0115509033203125, -0.03662109375, -0.02008056640625, -0.00974273681640625, 0.0016155242919921875, -0.0007486343383789062, -0.024505615234375, -0.03143310546875, -0.004802703857421875, 0.0199432373046875, -0.048370361328125, -0.09228515625, -0.01273345947265625, -0.0129547119140625, 0.05364990234375, 0.0167694091796875, -0.0267791748046875, -0.0056915283203125, 0.047576904296875, 0.00902557373046875, 0.0238800048828125, 0.01366424560546875, -0.008819580078125, 0.00656890869140625, 0.0023632049560546875, 0.013397216796875, -0.0262603759765625, -0.0196685791015625, 0.00662994384765625, 0.00807952880859375, 0.04425048828125, -0.00982666015625, 0.005672454833984375, -0.00848388671875, 0.007335662841796875, -0.0278472900390625, -0.03839111328125, 0.00788116455078125, 0.01113128662109375, -0.060211181640625, 0.042572021484375, -0.0123291015625, -0.00443267822265625, 0.0261077880859375, 0.0236358642578125, 0.004978179931640625, -0.02362060546875, 0.048065185546875, 0.021484375, -0.034210205078125, 0.031402587890625, 0.0291290283203125, 0.018035888671875, -0.0095977783203125, 0.035308837890625, -0.0164947509765625, -0.0265655517578125, 0.07843017578125, -0.01480865478515625, -0.003406524658203125, -0.037750244140625, 0.06829833984375, 0.00478363037109375, -0.02252197265625, 0.032073974609375, 0.00862884521484375, 0.0198516845703125, 0.0244598388671875, -0.040863037109375, 0.0233306884765625, 0.0136871337890625, 0.00922393798828125, -0.040985107421875, 0.0207672119140625, 0.0032367706298828125, 0.022613525390625, -0.0258331298828125, 0.005649566650390625, 0.0784912109375, 0.047149658203125, -0.007232666015625, -0.0016489028930664062, 0.0261993408203125, -0.0283660888671875, 0.005054473876953125, -0.0210418701171875, 0.031524658203125, 0.004009246826171875, -0.00504302978515625, -0.004337310791015625, -0.01084136962890625, -0.01270294189453125, 0.0015316009521484375, 0.01303863525390625, -0.006877899169921875, -0.024017333984375, -0.00579071044921875, 0.045440673828125, -0.0310211181640625, 0.023193359375, -0.0167388916015625, -0.00975799560546875, 0.0249176025390625, 0.042510986328125, 0.034515380859375, 0.0018415451049804688, 0.00244903564453125, 0.033050537109375, 0.00547027587890625, -0.0021076202392578125, 0.01311492919921875, 0.034759521484375, -0.0275115966796875, 0.03424072265625, -0.0009431838989257812, -0.0221405029296875, 0.00251007080078125, -0.00615692138671875, 0.040130615234375, -0.030487060546875, 0.0186309814453125, -0.041290283203125, 0.0400390625, -0.005947113037109375, 0.0037479400634765625, 0.0186767578125, -0.0256500244140625, 0.01934814453125, 0.0251922607421875, 0.0109100341796875, 0.033294677734375, -0.033935546875, 0.0254669189453125, 0.045196533203125, -0.004238128662109375, -0.024261474609375, 0.0186767578125, 0.0167236328125, 0.035614013671875, -0.01031494140625, 0.0015783309936523438, -0.0189666748046875, -0.001644134521484375, 0.006000518798828125, -0.045013427734375, -0.0041961669921875, 0.0132598876953125, -0.010498046875, -0.02996826171875, -0.012054443359375, -0.0723876953125, -0.01242828369140625, -0.0069732666015625, 0.0015745162963867188, 0.01471710205078125, -0.01074981689453125, -0.01336669921875, -0.006816864013671875, 0.0225830078125, -0.0350341796875, 0.004428863525390625, 0.006198883056640625, -0.0223236083984375, -0.032470703125, -0.0091094970703125, -0.05657958984375, -0.0236358642578125, -0.050384521484375, -0.00441741943359375, -0.037994384765625, 0.01366424560546875, 0.01110076904296875, 0.0038204193115234375, 0.003879547119140625, -0.01462554931640625, 0.029510498046875, 0.0091094970703125, -0.00020015239715576172, 0.021575927734375, 0.01482391357421875, 0.03326416015625, -0.0511474609375, 0.02459716796875, -0.01605224609375, -0.0058441162109375, -0.0079345703125, -0.0022106170654296875, 0.013671875, -0.07647705078125, -0.030120849609375, -0.0084991455078125, -0.045928955078125, 0.0267181396484375, 0.01299285888671875, 0.0003123283386230469, -0.0260467529296875, 0.0196380615234375, -0.00461578369140625, -0.01509857177734375, 0.0382080078125, 0.034027099609375, -0.0241851806640625, 0.05657958984375, -0.0258331298828125, -0.0236968994140625, -0.004810333251953125, -0.00864410400390625, 0.0202789306640625, -0.0125885009765625, 0.0087890625, 0.006946563720703125, -0.041839599609375, 0.052703857421875, 0.049774169921875, 0.029052734375, 0.0231781005859375, 0.0059967041015625, 0.015777587890625, -0.032196044921875, 0.0189971923828125, -0.0052642822265625, 0.0095672607421875, 0.07794189453125, 0.00638580322265625, -0.02789306640625, 0.055145263671875, -0.04150390625, 0.01056671142578125, 0.0045623779296875, -0.00020968914031982422, -0.061279296875, 0.01194000244140625, -0.0369873046875, -0.0172882080078125, 0.040435791015625, 0.04925537109375, 0.02130126953125, 0.0138397216796875, 0.00719451904296875, 0.01284027099609375, 0.02801513671875, 0.036346435546875, 0.01331329345703125, -0.002155303955078125, -0.019287109375, 0.0043182373046875, 0.01180267333984375, -0.015716552734375, 0.0159912109375, 0.0214691162109375, 0.05657958984375, -0.01117706298828125, 0.01401519775390625, -0.02667236328125, -0.03814697265625, -0.08160400390625, -0.048614501953125, 0.00640106201171875, -0.040252685546875, 0.02606201171875, -0.0093841552734375, 0.03546142578125, 0.04632568359375, -0.007549285888671875, 0.01015472412109375, 0.02032470703125, -0.03790283203125, 0.0197296142578125, -0.0137176513671875, -0.0008835792541503906, 0.01415252685546875, -0.04559326171875, 0.007537841796875, -0.024444580078125, 0.007343292236328125, -0.0220184326171875, -0.036163330078125, 0.08453369140625, -0.00366973876953125, -0.031463623046875, 0.0210113525390625, -0.020538330078125, -0.023406982421875, -0.01983642578125, -0.00566864013671875, -0.0465087890625, -0.0186920166015625, -0.0238494873046875, -0.049285888671875, 0.003875732421875, -0.04998779296875, -0.0682373046875, 0.059600830078125, 0.02740478515625, 0.0185699462890625, -0.00970458984375, 0.027130126953125, -0.046234130859375, -0.0081329345703125, -0.0238494873046875, 0.0243377685546875, -0.00606536865234375, 0.041595458984375, -0.046630859375, -0.018035888671875, 0.004062652587890625, 0.05181884765625, -0.0161895751953125, -0.017913818359375, 0.0013027191162109375, 0.00827789306640625, 0.06744384765625, 0.043792724609375, 0.01323699951171875, -0.006313323974609375, 0.03155517578125, -0.001361846923828125, 0.053680419921875, -0.0254058837890625, 0.0286865234375, -0.043609619140625, 0.046234130859375, 0.05096435546875, -0.0107421875, -0.01227569580078125, -0.0161895751953125, 0.01641845703125, -0.029571533203125, -0.01552581787109375, 0.00946807861328125, -0.01364898681640625, -0.0200042724609375, 0.033538818359375, -0.0144500732421875, -0.027923583984375, -0.003841400146484375, -0.040863037109375, 0.0169830322265625, -0.00963592529296875, 0.01561737060546875, 0.0040283203125, -0.00629425048828125, 0.06781005859375, 0.0131072998046875, 0.00461578369140625, 0.017669677734375, 0.0283660888671875, 0.028533935546875, 0.016510009765625, 0.01187896728515625, -0.01044464111328125, 0.01922607421875, 0.0504150390625, 0.03759765625, -0.037689208984375, 0.0004520416259765625, 0.003086090087890625, -0.01055908203125, -0.00788116455078125, -0.0162811279296875, -0.01442718505859375, 0.06646728515625, 0.0645751953125, -0.007244110107421875, -0.039459228515625, -0.029388427734375, 0.0199432373046875, -0.0162200927734375, -0.0408935546875, 0.06005859375, -0.035064697265625, -0.03643798828125, 0.0294036865234375, 0.0128326416015625, 0.051483154296875, -0.017578125, 0.093017578125, -0.03350830078125, -0.0079803466796875, -0.0224609375, -0.0265045166015625, 0.00481414794921875, 0.035125732421875, -0.00994873046875, 0.03485107421875, -0.005413055419921875, 0.0245208740234375, 0.047698974609375, 0.0455322265625, 0.029541015625, -0.005767822265625, 0.0139007568359375, 0.030670166015625, 0.0261383056640625, -0.0287322998046875, 0.01922607421875, -0.030853271484375, 0.0022830963134765625, 0.023040771484375, -0.00992584228515625, 0.008087158203125, -0.044891357421875, 0.04852294921875, -0.02691650390625, 0.03363037109375, -0.004161834716796875, -0.035430908203125, 0.041168212890625, 0.01042938232421875, 0.12005615234375, 0.022979736328125, -0.0655517578125, -0.0158843994140625, -0.0309906005859375, -0.045928955078125, 0.046844482421875, 0.05267333984375, 0.01953125, -0.03155517578125, 0.049102783203125, -0.02471923828125, -0.01352691650390625, 0.0120086669921875, 0.033355712890625, 0.032501220703125, 0.022430419921875, 0.0307159423828125, -0.06976318359375, -0.028900146484375, 0.0014238357543945312, 0.006793975830078125, 0.0020351409912109375, -0.007659912109375, 0.03729248046875, 0.01580810546875, -0.0003368854522705078, -0.02447509765625, 0.027130126953125, -0.03765869140625, 0.0635986328125, -0.004779815673828125, -0.021148681640625, -0.01219940185546875, -0.01763916015625, -0.0233306884765625, 0.045623779296875, -0.047119140625, -0.018707275390625, 0.007598876953125, 0.0309600830078125, -0.037445068359375, -0.039703369140625, -0.03314208984375, -0.0262298583984375, -0.007110595703125, -0.00836944580078125, 0.0167999267578125, -0.00226593017578125, -0.022735595703125, 0.039703369140625, 0.006824493408203125, 0.0002758502960205078, 0.033599853515625, -0.030914306640625, 0.047393798828125, 0.027313232421875, 0.00652313232421875, 0.0153350830078125, -0.0293731689453125, -0.033782958984375, 0.0230255126953125, -0.004314422607421875, -0.014251708984375, -0.01493072509765625, 0.0171661376953125, -0.01428985595703125, 0.0229949951171875, 0.04705810546875, -0.024932861328125, 0.0230712890625, 0.0103759765625, -0.0283966064453125, -0.0073089599609375, -0.016082763671875, -0.046478271484375, -0.03973388671875, 0.0052337646484375, -0.02801513671875, 0.02783203125, -0.06658935546875, 0.0189208984375, -0.0188751220703125, 0.031829833984375, 0.0052032470703125, -0.07794189453125, 0.00907135009765625, 0.006320953369140625, 0.042572021484375, -0.0244293212890625, 0.0209197998046875, -0.0128326416015625, -0.004993438720703125, -0.032196044921875, 0.0089874267578125, -0.0284576416015625, 0.003894805908203125, 0.0079345703125, -0.019989013671875, 0.0212554931640625, 0.01212310791015625, -0.00030040740966796875, -0.036407470703125, -0.03143310546875, 0.0078277587890625, -0.030303955078125, -0.018951416015625, 0.036224365234375, -0.02130126953125, -0.0170135498046875, 0.01065826416015625, 0.011627197265625, -0.0242462158203125, -0.0185699462890625, 0.04071044921875, -0.01214599609375, 0.01861572265625, -0.033050537109375, -0.10125732421875, 0.0277099609375, 0.0037631988525390625, -0.046539306640625, -0.046478271484375, -0.01348114013671875, -0.01349639892578125, 0.01971435546875, -0.011566162109375, -0.026947021484375, -0.038421630859375, 0.033416748046875, 0.003917694091796875, -0.0024356842041015625, 0.04266357421875, 0.01230621337890625, -0.07183837890625, -0.044525146484375, -0.0665283203125, -0.01551055908203125, -0.00939178466796875, 0.007709503173828125, 0.02264404296875, 0.033477783203125, -0.0247802734375, -0.0199127197265625, -0.01080322265625, -0.014251708984375, -0.017120361328125, -0.0014963150024414062, 0.004123687744140625, -0.001026153564453125, 0.07073974609375, -0.02215576171875, 0.00519561767578125, -0.01103973388671875, -0.031158447265625, 0.020050048828125, -0.063232421875, -0.03668212890625, 0.057098388671875, -0.0897216796875, -0.02178955078125, -0.03753662109375, -0.0008273124694824219, -0.01227569580078125, -0.01065826416015625, -0.034454345703125, -0.0209197998046875, 0.0149383544921875, 0.0194244384765625, -0.01143646240234375, 0.032318115234375, 0.09661865234375, -0.06549072265625, -0.049468994140625, 0.0281829833984375, -0.01788330078125, 0.0211334228515625, -0.00423431396484375, 0.0305328369140625, 0.04046630859375, -0.0599365234375, -0.010101318359375, 0.0312042236328125, 0.050567626953125, -0.009521484375, -0.011138916015625, -0.048736572265625, 0.03076171875, 0.0167083740234375, 0.00971221923828125, -0.0213775634765625, 0.052978515625, 0.0286865234375, 0.10467529296875, -0.0157318115234375, 0.042449951171875, 0.004909515380859375, 0.025726318359375, 0.0027923583984375, 0.003238677978515625, 0.05218505859375, -0.034576416015625, 0.0032176971435546875, -0.0271453857421875, -0.0257568359375, -0.02716064453125, 0.0166778564453125, -0.005401611328125, -0.01708984375, 0.038238525390625 ]
e12aa565b5d50ddfa3f2fd882b69f280b5a6ae33
Wordpress Stackexchange Q: REST API, get user role? I'm trying to figure out how to retrieve a user's roles from the API, but I haven't been able to sort it. Is this information not accessible by default? Can anyone point me in the right direction? A: This is totally possible by registering your own rest field into the response. Here's some documentation on modifying response data. https://developer.wordpress.org/rest-api/extending-the-rest-api/modifying-responses/ Here's how to add roles to the endpoint: function get_user_roles($object, $field_name, $request) { return get_userdata($object['id'])->roles; } add_action('rest_api_init', function() { register_rest_field('user', 'roles', array( 'get_callback' => 'get_user_roles', 'update_callback' => null, 'schema' => array( 'type' => 'array' ) )); }); Specifically, what I'm doing is creating a function called get_user_roles that retrieves the user roles, then registering a 'roles' field in the response, and tell it that the data comes from that function. I also ran into an issue of it not playing nice when the data returned an array, so I told the schema to expect it in the schema property of the array passed in register_rest_field
Q: REST API, get user role? I'm trying to figure out how to retrieve a user's roles from the API, but I haven't been able to sort it. Is this information not accessible by default? Can anyone point me in the right direction? A: This is totally possible by registering your own rest field into the response. Here's some documentation on modifying response data. https://developer.wordpress.org/rest-api/extending-the-rest-api/modifying-responses/ Here's how to add roles to the endpoint: function get_user_roles($object, $field_name, $request) { return get_userdata($object['id'])->roles; } add_action('rest_api_init', function() { register_rest_field('user', 'roles', array( 'get_callback' => 'get_user_roles', 'update_callback' => null, 'schema' => array( 'type' => 'array' ) )); }); Specifically, what I'm doing is creating a function called get_user_roles that retrieves the user roles, then registering a 'roles' field in the response, and tell it that the data comes from that function. I also ran into an issue of it not playing nice when the data returned an array, so I told the schema to expect it in the schema property of the array passed in register_rest_field A: You just need to pass the context parameter with a value of edit in your url: http://demo.wp-api.org/wp-json/wp/v2/users/1?context=edit According to the WordPress REST API Handbook, you have to pass the context=edit to make this attribute appear in the response. If you do not include ?context=edit the roles attribute will not be shown. A: It seems that the short answer is you can't get there from here. While it's possible create users with a given role, there's no mechanism (via this interface) to retrieve a user's roles. If desired, one could extend the API to create a custom endpoint, but I will likely pursue a different route. A: I tried to figure it out and it looks like you can get a list of capabilities and user's role by adding edit context to your request. It's also possible to receive list of users by specifying roles in request. Hope it helps.
wordpress
{ "language": "en", "length": 320, "provenance": "stackexchange_00019.jsonl.gz:474123", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/259567" }
[ 0.041900634765625, -0.0377197265625, -0.01413726806640625, -0.019744873046875, -0.01309967041015625, -0.039825439453125, 0.042022705078125, 0.0168304443359375, 0.0204620361328125, 0.0183563232421875, -0.00746917724609375, -0.0110626220703125, -0.018463134765625, -0.0236968994140625, -0.03857421875, -0.0299835205078125, 0.00923919677734375, 0.04254150390625, 0.031524658203125, -0.002231597900390625, -0.011138916015625, -0.0006623268127441406, 0.02984619140625, 0.0338134765625, 0.0362548828125, 0.02655029296875, 0.02825927734375, -0.04168701171875, 0.021087646484375, -0.0006413459777832031, 0.0196380615234375, -0.036773681640625, -0.006931304931640625, 0.018035888671875, 0.01415252685546875, -0.01554107666015625, 0.050872802734375, -0.0092010498046875, 0.00457000732421875, 0.04150390625, 0.01043701171875, 0.0016183853149414062, 0.01342010498046875, 0.02288818359375, -0.022125244140625, -0.045196533203125, 0.0400390625, -0.00684356689453125, 0.0194854736328125, 0.0335693359375, 0.023590087890625, -0.0013151168823242188, 0.00978851318359375, 0.02239990234375, 0.001567840576171875, 0.0033473968505859375, -0.00307464599609375, 0.01611328125, 0.027191162109375, -0.0194244384765625, -0.0261688232421875, -0.003971099853515625, 0.0236358642578125, -0.01189422607421875, 0.003932952880859375, 0.0026111602783203125, 0.052459716796875, 0.0194549560546875, -0.024322509765625, -0.0117034912109375, -0.005733489990234375, 0.0004405975341796875, -0.0269775390625, 0.00521087646484375, -0.044677734375, 0.0097198486328125, -0.01045989990234375, -0.0382080078125, 0.03045654296875, 0.0102081298828125, -0.0012760162353515625, -0.02557373046875, 0.03106689453125, 0.0145263671875, -0.01425933837890625, 0.0035533905029296875, -0.00943756103515625, -0.004291534423828125, -0.00952911376953125, -0.0113677978515625, -0.00286865234375, -0.08941650390625, 0.006561279296875, 0.040679931640625, 0.00258636474609375, -0.02960205078125, 0.016143798828125, -0.0011148452758789062, 0.01303863525390625, -0.0034046173095703125, 0.03424072265625, -0.057525634765625, 0.02105712890625, -0.0098419189453125, 0.006694793701171875, 0.0015687942504882812, 0.00582122802734375, -0.0273284912109375, 0.006656646728515625, 0.02532958984375, -0.016448974609375, 0.04364013671875, 0.0218353271484375, -0.005565643310546875, -0.039886474609375, -0.0202178955078125, -0.004077911376953125, -0.00736236572265625, 0.004001617431640625, -0.0183868408203125, -0.0157318115234375, -0.003551483154296875, 0.0325927734375, 0.0124359130859375, -0.0121612548828125, -0.004352569580078125, -0.0239715576171875, -0.0264739990234375, -0.01611328125, 0.0160064697265625, -0.0106658935546875, 0.0282440185546875, 0.0190887451171875, 0.006870269775390625, -0.0228424072265625, -0.0133056640625, 0.0230865478515625, -0.0086517333984375, 0.0008974075317382812, 0.040313720703125, -0.0107421875, -0.03216552734375, 0.0070648193359375, 0.003566741943359375, 0.0168304443359375, -0.03277587890625, 0.0145111083984375, 0.03387451171875, 0.015869140625, 0.035980224609375, -0.035247802734375, 0.041015625, -0.021820068359375, 0.037139892578125, 0.071044921875, 0.031494140625, 0.052947998046875, -0.01084136962890625, 0.0199737548828125, 0.02056884765625, 0.036041259765625, -0.01052093505859375, 0.0116119384765625, -0.03619384765625, -0.06060791015625, 0.0124053955078125, -0.053802490234375, -0.009796142578125, 0.032562255859375, 0.0340576171875, 0.04205322265625, -0.0206451416015625, 0.00457000732421875, 0.01105499267578125, 0.00031065940856933594, 0.01500701904296875, 0.005157470703125, 0.02294921875, 0.0160369873046875, -0.0360107421875, -0.020965576171875, -0.040740966796875, 0.01392364501953125, 0.0019388198852539062, -0.035247802734375, 0.0457763671875, -0.0020542144775390625, 0.049957275390625, -0.002498626708984375, 0.0264892578125, -0.0162506103515625, 0.07147216796875, -0.026824951171875, -0.04998779296875, -0.0011587142944335938, -0.0083465576171875, 0.038726806640625, -0.01165771484375, 0.0045166015625, 0.0268096923828125, 0.0190277099609375, -0.0230255126953125, -0.0120697021484375, -0.0283355712890625, -0.047210693359375, -0.029296875, -0.0098114013671875, 0.01093292236328125, -0.0207366943359375, 0.00977325439453125, 0.0194244384765625, 0.0271453857421875, -0.060028076171875, 0.0255126953125, -0.006923675537109375, 0.01528167724609375, -0.01049041748046875, 0.0287322998046875, -0.0045166015625, 0.01212310791015625, -0.0204620361328125, -0.016510009765625, 0.00914764404296875, 0.0281829833984375, 0.034210205078125, -0.01922607421875, 0.0033931732177734375, -0.02288818359375, 0.08892822265625, -0.0197601318359375, 0.063720703125, 0.0004982948303222656, 0.03399658203125, 0.038848876953125, 0.0012187957763671875, 0.01361846923828125, 0.0283050537109375, -0.058349609375, 0.007904052734375, 0.043182373046875, 0.02655029296875, 0.01444244384765625, 0.00022113323211669922, 0.026123046875, 0.012786865234375, -0.0142822265625, 0.022674560546875, -0.0100250244140625, -0.0025920867919921875, 0.06689453125, -0.01009368896484375, 0.0210723876953125, 0.00597381591796875, -0.042083740234375, -0.029266357421875, 0.0560302734375, -0.03216552734375, -0.0038890838623046875, -0.037689208984375, -0.00757598876953125, 0.00981903076171875, -0.09716796875, -0.0220794677734375, -0.04840087890625, -0.040313720703125, 0.01311492919921875, -0.006595611572265625, 0.01122283935546875, -0.0156707763671875, -0.0208740234375, 0.032867431640625, 0.035400390625, -0.0018711090087890625, 0.02215576171875, -0.0037441253662109375, 0.004314422607421875, -0.01239013671875, -0.005260467529296875, -0.009490966796875, 0.0013637542724609375, -0.0006575584411621094, -0.006694793701171875, 0.01462554931640625, 0.0059814453125, 0.01715087890625, -0.05169677734375, 0.032379150390625, 0.024658203125, 0.045745849609375, 0.03875732421875, 0.04949951171875, 0.026611328125, 0.017852783203125, 0.019073486328125, -0.0024261474609375, -0.0018157958984375, -0.0017194747924804688, -0.03497314453125, 0.0269927978515625, -0.04595947265625, -0.0239715576171875, 0.04412841796875, 0.01331329345703125, -0.033477783203125, 0.0140228271484375, -0.035980224609375, -0.03271484375, 0.034332275390625, 0.00555419921875, -0.046173095703125, 0.00832366943359375, 0.08782958984375, 0.02716064453125, 0.0032100677490234375, 0.01546478271484375, -0.03582763671875, -0.0119781494140625, 0.016357421875, -0.05279541015625, -0.061431884765625, 0.06689453125, -0.0653076171875, -0.0204315185546875, 0.00145721435546875, -0.058990478515625, -0.01102447509765625, 0.039459228515625, -0.0170135498046875, 0.041961669921875, -0.005611419677734375, -0.04180908203125, 0.01210784912109375, -0.06964111328125, 0.0299072265625, -0.002716064453125, 0.014739990234375, -0.0011425018310546875, 0.04742431640625, 0.018341064453125, -0.00507354736328125, -0.0094451904296875, 0.018524169921875, -0.00494384765625, -0.0281219482421875, 0.0362548828125, -0.0305023193359375, 0.0078277587890625, 0.00032830238342285156, 0.01219940185546875, 0.033294677734375, -0.0237884521484375, -0.0027942657470703125, -0.0004413127899169922, -0.0216522216796875, 0.017303466796875, 0.03106689453125, -0.026824951171875, 0.0196075439453125, 0.05731201171875, -0.0338134765625, -0.01812744140625, 0.009796142578125, -0.0300140380859375, -0.018768310546875, -0.0033893585205078125, -0.0110321044921875, -0.0222930908203125, 0.03411865234375, 0.00431060791015625, 0.000972747802734375, -0.02838134765625, 0.0036754608154296875, 0.01422882080078125, 0.0031871795654296875, 0.00099945068359375, 0.01372528076171875, 0.0543212890625, 0.0147857666015625, -0.038299560546875, 0.0118560791015625, 0.03094482421875, -0.0291900634765625, 0.0195770263671875, -0.07891845703125, -0.0750732421875, 0.05377197265625, -0.01462554931640625, 0.0189208984375, -0.039886474609375, -0.036102294921875, 0.010467529296875, 0.1258544921875, 0.018310546875, -0.02392578125, -0.017120361328125, 0.0218963623046875, -0.05328369140625, -0.0024547576904296875, -0.02166748046875, 0.018951416015625, -0.0013885498046875, -0.0288543701171875, -0.006763458251953125, -0.01611328125, -0.007965087890625, 0.0031414031982421875, -0.00331878662109375, -0.0178375244140625, 0.036468505859375, -0.059814453125, 0.00818634033203125, 0.014617919921875, 0.0289459228515625, -0.057769775390625, -0.0077667236328125, -0.0231170654296875, -0.076171875, -0.0215606689453125, -0.01250457763671875, 0.0872802734375, 0.0306396484375, -0.03057861328125, 0.0096435546875, 0.056488037109375, 0.0180511474609375, -0.003997802734375, 0.0178985595703125, 0.0010175704956054688, 0.028533935546875, -0.02099609375, -0.00482177734375, -0.0159912109375, -0.0274200439453125, -0.01355743408203125, 0.0038433074951171875, 0.01480865478515625, -0.03363037109375, -0.016143798828125, -0.0256805419921875, -0.00637054443359375, -0.0275421142578125, -0.0081939697265625, -0.0086212158203125, 0.0305938720703125, -0.0232391357421875, 0.018096923828125, -0.032196044921875, -0.05426025390625, 0.04107666015625, -0.0272674560546875, 0.002593994140625, 0.009002685546875, 0.06390380859375, 0.0100250244140625, -0.0217132568359375, -0.0323486328125, 0.01312255859375, 0.049591064453125, -0.00566864013671875, 0.05096435546875, 0.0538330078125, -0.0245208740234375, 0.06048583984375, 0.041351318359375, 0.015350341796875, 0.025421142578125, -0.0025768280029296875, 0.036865234375, -0.0211944580078125, 0.0173492431640625, 0.051910400390625, -0.057891845703125, -0.0259246826171875, 0.0006933212280273438, -0.01149749755859375, 0.07415771484375, 0.00659942626953125, -0.061859130859375, 0.0626220703125, 0.0301666259765625, -0.03338623046875, 0.00812530517578125, -0.060150146484375, 0.01319122314453125, 0.0122528076171875, 0.0015869140625, -0.00847625732421875, -0.00196075439453125, 0.006694793701171875, -0.0516357421875, -0.0259857177734375, -0.018402099609375, 0.053314208984375, -0.09375, 0.007518768310546875, -0.035980224609375, -0.00850677490234375, 0.06427001953125, -0.00859832763671875, -0.076904296875, 0.0250244140625, -0.036041259765625, 0.063720703125, 0.042236328125, 0.0031681060791015625, 0.0252685546875, 0.0411376953125, 0.017364501953125, -0.0065155029296875, -0.0215911865234375, 0.047576904296875, -0.02606201171875, 0.0482177734375, -0.0088653564453125, -0.00240325927734375, -0.0258331298828125, 0.07958984375, -0.01342010498046875, 0.03387451171875, -0.01082611083984375, 0.055877685546875, 0.007045745849609375, 0.0285186767578125, -0.01061248779296875, 0.0252532958984375, 0.013153076171875, 0.01385498046875, 0.0123291015625, -0.0221405029296875, 0.0191650390625, 0.0311279296875, 0.03326416015625, -0.00012218952178955078, -0.035980224609375, 0.0191192626953125, -0.048614501953125, 0.0038433074951171875, 0.0198974609375, -0.0760498046875, -0.0648193359375, -0.0546875, 0.0008568763732910156, 0.057220458984375, -0.042633056640625, 0.01523590087890625, 0.00728607177734375, 0.027496337890625, 0.01507568359375, -0.0220794677734375, -0.0269622802734375, 0.00811004638671875, 0.0266876220703125, -0.06201171875, -0.036376953125, -0.01503753662109375, 0.00370025634765625, 0.01224517822265625, 0.0035552978515625, -0.052154541015625, 0.001567840576171875, -0.0176544189453125, 0.0032100677490234375, -0.0701904296875, 0.052337646484375, -0.11346435546875, -0.0019359588623046875, 0.0557861328125, 0.033782958984375, -0.04107666015625, -0.01255035400390625, -0.06170654296875, -0.019989013671875, 0.0220489501953125, 0.011627197265625, -0.01143646240234375, -0.006397247314453125, 0.0105743408203125, 0.03466796875, -0.006900787353515625, -0.034393310546875, -0.0169219970703125, -0.01380157470703125, 0.0236358642578125, 0.0240631103515625, 0.01184844970703125, 0.0693359375, -0.01314544677734375, 0.05242919921875, 0.0303802490234375, 0.0126800537109375, -0.08270263671875, 0.005397796630859375, -0.0189056396484375, -0.07269287109375, -0.0027828216552734375, 0.01090240478515625, -0.01103973388671875, 0.06292724609375, 0.044097900390625, 0.0197296142578125, 0.01538848876953125, -0.0018024444580078125, 0.00958251953125, -0.01751708984375, 0.01409912109375, -0.0031147003173828125, -0.006931304931640625, 0.037139892578125, 0.0141448974609375, 0.01230621337890625, -0.0214691162109375, 0.0021572113037109375, 0.002338409423828125, 0.003143310546875, 0.0090484619140625, -0.030303955078125, -0.061431884765625, 0.0251617431640625, 0.07672119140625, -0.00717926025390625, 0.034149169921875, 0.0081329345703125, 0.0018949508666992188, 0.039764404296875, 0.01325225830078125, -0.0168914794921875, 0.0006151199340820312, -0.01354217529296875, -0.0128021240234375, 0.00910186767578125, -0.029296875, -0.0115966796875, 0.01605224609375, 0.0259552001953125, 0.037445068359375, -0.059844970703125, 0.018951416015625, -0.031585693359375, -0.0134124755859375, 0.0721435546875, -0.0032958984375, -0.042205810546875, -0.06842041015625, 0.016357421875, -0.02777099609375, -0.054046630859375, -0.025054931640625, -0.00693511962890625, -0.019287109375, -0.01116180419921875, -0.002040863037109375, 0.0038738250732421875, 0.08856201171875, -0.00606536865234375, -0.0660400390625, 0.054718017578125, 0.0192413330078125, 0.0298919677734375, 0.00965118408203125, -0.022186279296875, -0.07012939453125, -0.0196990966796875, -0.0128631591796875, -0.08270263671875, -0.040740966796875, -0.0445556640625, 0.048736572265625, 0.04559326171875, -0.0300445556640625, -0.0178375244140625, 0.039459228515625, -0.0190277099609375, -0.0108642578125, -0.04327392578125, -0.0028324127197265625, 0.00351715087890625, -0.00714111328125, 0.0126495361328125, 0.00571441650390625, -0.0421142578125, -0.017974853515625, -0.040283203125, 0.07666015625, -0.021453857421875, -0.029998779296875, -0.0026950836181640625, 0.01201629638671875, 0.0097503662109375, -0.007965087890625, 0.03814697265625, -0.0233306884765625, -0.0114288330078125, 0.0103302001953125, -0.0164947509765625, 0.0093841552734375, 0.003200531005859375, -0.02276611328125, 0.075439453125, -0.010498046875, -0.005706787109375, 0.0255584716796875, 0.030303955078125, -0.02825927734375, 0.007450103759765625, -0.035430908203125, 0.049560546875, 0.022430419921875, 0.0197906494140625, -0.0178680419921875, -0.00592041015625, -0.006000518798828125, 0.032470703125, 0.0614013671875, 0.0236968994140625, -0.035003662109375, -0.0312042236328125, 0.0097503662109375, -0.0252227783203125, -0.04522705078125, 0.0587158203125, 0.0139617919921875, 0.07257080078125, 0.0254058837890625, -0.036773681640625, 0.0419921875, -0.037445068359375, -0.038330078125, 0.036346435546875, 0.0236663818359375, 0.0201568603515625, 0.026336669921875, 0.04473876953125, -0.03509521484375, 0.006832122802734375, 0.042510986328125, -0.041168212890625, -0.01433563232421875, 0.02679443359375, 0.029693603515625, -0.0010623931884765625, 0.0277862548828125, -0.038116455078125, 0.051910400390625, 0.0311279296875, 0.0288848876953125, 0.0135955810546875, 0.0216827392578125, 0.033660888671875, -0.00450897216796875, 0.0225677490234375, 0.05718994140625, -0.047515869140625, 0.0310516357421875, 0.03948974609375, 0.035186767578125, -0.0012464523315429688, 0.0164031982421875, 0.020843505859375, 0.039093017578125, -0.04083251953125, -0.0242156982421875, 0.0245208740234375, 0.02996826171875, 0.0182647705078125, 0.0162506103515625, 0.0269012451171875, -0.04437255859375, 0.02496337890625, -0.020599365234375, 0.01239013671875, 0.00203704833984375, -0.00695037841796875, -0.0089569091796875, 0.0162506103515625, 0.006031036376953125, 0.0252532958984375, -0.021881103515625, -0.0166473388671875, 0.003826141357421875, 0.0157012939453125, 0.0167083740234375, 0.01282501220703125, 0.01210784912109375, 0.0069732666015625, 0.0305633544921875, -0.00754547119140625, -0.0214385986328125, -0.030517578125, 0.01313018798828125, -0.040985107421875, -0.0270233154296875, 0.0191650390625, -0.0038318634033203125, -0.027801513671875, -0.0030002593994140625, 0.043701171875, -0.0182952880859375, -0.03729248046875, 0.04217529296875, -0.0010395050048828125, -0.009063720703125, -0.03936767578125, 0.004283905029296875, 0.0218048095703125, 0.0004930496215820312, 0.0235137939453125, -0.00461578369140625, 0.039520263671875, -0.034423828125, 0.05413818359375, -0.0277557373046875, 0.01018524169921875, 0.0079345703125, -0.042510986328125, 0.01016998291015625, -0.032257080078125, -0.04974365234375, 0.011993408203125, -0.041168212890625, -0.07952880859375, 0.024139404296875, 0.037078857421875, -0.0338134765625, 0.0282745361328125, -0.036041259765625, -0.0211334228515625, 0.018646240234375, 0.0265350341796875, -0.01983642578125, 0.008636474609375, 0.02630615234375, -0.0209503173828125, -0.015960693359375, -0.01727294921875, -0.00019991397857666016, 0.01690673828125, 0.00896453857421875, 0.06109619140625, -0.0021572113037109375, 0.005710601806640625, -0.07904052734375, 0.0126190185546875, -0.05255126953125, -0.0787353515625, 0.041961669921875, 0.04071044921875, -0.00632476806640625, 0.013458251953125, -0.00563812255859375, 0.050811767578125, 0.0205841064453125, -0.004238128662109375, 0.0309600830078125, -0.020477294921875, 0.0032711029052734375, -0.0227813720703125, 0.031280517578125, -0.01041412353515625, -0.0296783447265625, -0.03564453125, 0.00867462158203125, 0.0205230712890625, 0.048583984375, 0.00897216796875, 0.01474761962890625, 0.01001739501953125, -0.027618408203125, -0.004833221435546875, 0.006134033203125, -0.011474609375, 0.02264404296875, -0.005252838134765625, 0.04681396484375, -0.01413726806640625, -0.0164337158203125, 0.0367431640625, -0.005390167236328125, -0.00799560546875, 0.0167999267578125, 0.032318115234375, -0.01123046875, 0.033843994140625, 0.054473876953125, -0.0024547576904296875, 0.0137939453125, 0.000644683837890625, -0.010284423828125, -0.027130126953125, -0.0018415451049804688, -0.01296234130859375, -0.031097412109375, -0.0181732177734375, 0.0207061767578125, -0.0124969482421875, -0.01285552978515625, -0.033599853515625, -0.01558685302734375, 0.01104736328125, -0.003757476806640625, -0.041839599609375, 0.0018863677978515625, 0.014556884765625, 0.04779052734375, -0.04071044921875, -0.055908203125, 0.052703857421875, 0.07659912109375, -0.035614013671875, 0.024932861328125, 0.018402099609375, -0.07391357421875, 0.00901031494140625, -0.0225982666015625, -0.0181427001953125, 0.0207366943359375, 0.00569915771484375, 0.01035308837890625, -0.0217132568359375, 0.0469970703125, -0.046905517578125, 0.0044708251953125, -0.0264892578125, 0.04205322265625, -0.032135009765625, -0.0714111328125, 0.027862548828125, -0.035858154296875, -0.02777099609375, -0.052093505859375, 0.059783935546875, 0.06439208984375, -0.01446533203125, -0.050079345703125, 0.098876953125, -0.049468994140625, -0.005126953125, -0.05401611328125, -0.01494598388671875, 0.01552581787109375, -0.00864410400390625, -0.0236663818359375, -0.01183319091796875, -0.058990478515625, 0.0193023681640625, 0.0244903564453125, 0.004413604736328125, 0.0170135498046875, 0.027252197265625, -0.08111572265625, 0.032012939453125, 0.00556182861328125, 0.01438140869140625, -0.0141448974609375, 0.008697509765625, 0.0220489501953125, 0.039093017578125, -0.0008807182312011719, 0.01444244384765625, -0.0026988983154296875, -0.0260467529296875, -0.027435302734375, -0.05230712890625, 0.0157470703125, -0.005939483642578125, 0.0509033203125, 0.036285400390625, -0.005260467529296875, -0.038299560546875, -0.027435302734375, 0.0032749176025390625, -0.0288543701171875, -0.0217437744140625, 0.0268402099609375, -0.061370849609375, -0.01324462890625, -0.0283660888671875, 0.007568359375, 0.013427734375, -0.04620361328125, -0.019317626953125, -0.0189208984375, 0.000980377197265625, 0.036895751953125, -0.04052734375, 0.0421142578125, -0.01251220703125, -0.030364990234375, -0.031219482421875, -0.01351165771484375, -0.0079193115234375, -0.0268707275390625, -0.01873779296875, -0.0300750732421875, 0.00414276123046875, -0.0032501220703125, 0.0288238525390625, -0.0015764236450195312, -0.00021767616271972656, -0.022552490234375, 0.01378631591796875, -0.01007843017578125, 0.01055145263671875, 0.01209259033203125, 0.0174713134765625, -0.00766754150390625, 0.029693603515625, 0.01129913330078125, 0.036376953125, -0.0149383544921875, 0.026641845703125, -0.0142364501953125, 0.016937255859375, -0.00870513916015625, 0.00312042236328125, 0.0271759033203125, -0.01381683349609375, 0.006305694580078125, 0.0301513671875, -0.00457763671875, -0.0170135498046875, 0.0131378173828125, 0.0267181396484375, 0.00946044921875, 0.0055389404296875 ]
b42feae8350e48beb723cc9ebaf601deb22b7a1a
Wordpress Stackexchange Q: Count the number of images uploded on the website I mention "full website" because I don't need the number of attachments on one post (as answered in many questions). I basically need a function that returns the number of uploaded images (attached and unattached) on the website, excluding non-image files. I've done some research, but there isn’t any direct function that counts only the images. What is the most simple way to do this? A: There's a handy built-in function, namely wp_count_attachments(). We can filter out images with wp_count_attachments( $mime_type = 'image' ) that returns an object like: stdClass Object ( [image/gif] => 9 [image/jpeg] => 121 [image/png] => 20 [image/x-icon] => 6 [trash] => 0 ) So we can use the one-liner: $count = array_sum( (array) wp_count_attachments( $mime_type = 'image' ) ); for the total number of images.
Q: Count the number of images uploded on the website I mention "full website" because I don't need the number of attachments on one post (as answered in many questions). I basically need a function that returns the number of uploaded images (attached and unattached) on the website, excluding non-image files. I've done some research, but there isn’t any direct function that counts only the images. What is the most simple way to do this? A: There's a handy built-in function, namely wp_count_attachments(). We can filter out images with wp_count_attachments( $mime_type = 'image' ) that returns an object like: stdClass Object ( [image/gif] => 9 [image/jpeg] => 121 [image/png] => 20 [image/x-icon] => 6 [trash] => 0 ) So we can use the one-liner: $count = array_sum( (array) wp_count_attachments( $mime_type = 'image' ) ); for the total number of images. A: The simplest way I know is: global $wpdb ; $sql = "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = 'attachment'" ; $count = (int) $wpdb->get_var ($sql) ; You could also use WP_Query, altho doing so is more expensive: $args = array ( 'post_type' => 'attachment', 'post_status' => 'inherit', 'posts_per_page' => 0, ) ; $attatchments = new WP_Query ($args) ; $count = $attatchments->found_posts ; note: setting 'posts_per_page' => 0 and reading found_posts is an optimization when using WP_Query in cases like this that I just learned from the answer to another question here on WPSE a few days ago...I don't remember which question it was, otherwise I'd credit the author for the tip.
wordpress
{ "language": "en", "length": 252, "provenance": "stackexchange_00019.jsonl.gz:474140", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/259639" }
[ 0.059417724609375, -0.003246307373046875, 0.0025844573974609375, -0.012847900390625, 0.01383209228515625, -0.043426513671875, 0.0772705078125, -0.0279998779296875, 0.05078125, 0.03253173828125, -0.03289794921875, -0.0164794921875, -0.01064300537109375, -0.0191497802734375, -0.0582275390625, -0.02349853515625, 0.0390625, -0.0012454986572265625, 0.054290771484375, 0.0310821533203125, -0.00952911376953125, 0.088623046875, 0.0103607177734375, 0.01035308837890625, -0.026214599609375, 0.0066375732421875, 0.07354736328125, -0.0214385986328125, -0.014923095703125, -0.03765869140625, 0.00263214111328125, 0.03680419921875, 0.00988006591796875, 0.021575927734375, -0.0156707763671875, 0.0132598876953125, -0.003177642822265625, 0.0021381378173828125, 0.00042939186096191406, 0.027374267578125, 0.037567138671875, -0.015594482421875, 0.07244873046875, -0.021209716796875, 0.0286407470703125, -0.0135345458984375, 0.0253448486328125, -0.050445556640625, 0.0273590087890625, -0.0304718017578125, 0.00811004638671875, 0.069580078125, 0.0218963623046875, -0.036956787109375, 0.00518798828125, 0.0257720947265625, 0.0257568359375, 0.0142822265625, 0.046630859375, -0.037841796875, -0.0626220703125, -0.028228759765625, 0.05169677734375, -0.030792236328125, -0.0277252197265625, 0.0001627206802368164, -0.022430419921875, 0.0294952392578125, -0.047943115234375, -0.07720947265625, 0.00330352783203125, -0.01136016845703125, -0.0199432373046875, -0.027801513671875, 0.0029010772705078125, 0.005245208740234375, -0.01044464111328125, -0.036895751953125, 0.00858306884765625, 0.0078887939453125, 0.01195526123046875, -0.01543426513671875, -0.049346923828125, 0.043975830078125, -0.0106048583984375, 0.060546875, -0.004302978515625, -0.032989501953125, -0.0189361572265625, 0.0260772705078125, -0.01087188720703125, 0.03155517578125, -0.030548095703125, 0.007343292236328125, 0.0075836181640625, -0.016754150390625, 0.049407958984375, 0.053741455078125, -0.0106658935546875, -0.051025390625, -0.0020599365234375, -0.04217529296875, -0.03485107421875, -0.02374267578125, 0.06268310546875, 0.0237579345703125, -0.0261077880859375, -0.04736328125, 0.056396484375, 0.01412200927734375, -0.00864410400390625, 0.056793212890625, -0.00495147705078125, -0.01245880126953125, -0.00908660888671875, 0.0072784423828125, -0.04107666015625, 0.0460205078125, 0.005107879638671875, 0.015655517578125, -0.0263671875, -0.0006923675537109375, -0.0171356201171875, -0.00412750244140625, 0.00504302978515625, -0.00786590576171875, -0.004764556884765625, 0.005870819091796875, 0.059814453125, 0.0267791748046875, -0.041839599609375, 0.01177215576171875, 0.0002810955047607422, -0.05157470703125, -0.0224761962890625, -0.004505157470703125, 0.018310546875, -0.023193359375, -0.00612640380859375, 0.0296173095703125, 0.0105133056640625, -0.05615234375, -0.0227508544921875, 0.0173797607421875, -0.0008502006530761719, 0.0260467529296875, -0.001346588134765625, 0.0243988037109375, 0.0209197998046875, -0.08306884765625, 0.060943603515625, -0.050811767578125, 0.0271148681640625, 0.004878997802734375, -0.0295257568359375, 0.00045228004455566406, -0.036346435546875, 0.0051116943359375, -0.0006837844848632812, -0.00909423828125, 0.0219573974609375, 0.004673004150390625, -0.0175933837890625, 0.01824951171875, -0.0012273788452148438, -0.01261138916015625, -0.0036907196044921875, 0.0012121200561523438, 0.022308349609375, 0.031707763671875, 0.01702880859375, -0.020355224609375, 0.044921875, 0.0081024169921875, -0.007282257080078125, 0.005718231201171875, 0.01502227783203125, 0.02655029296875, -0.01303863525390625, 0.06597900390625, 0.028228759765625, -0.03009033203125, 0.031585693359375, 0.0005960464477539062, -0.053497314453125, 0.03387451171875, -0.0189361572265625, 0.0155029296875, 0.04150390625, -0.0108642578125, 0.026763916015625, 0.0146636962890625, -0.0164947509765625, -0.0130462646484375, -0.022247314453125, 0.0200958251953125, -0.0372314453125, 0.018341064453125, -0.0290985107421875, 0.0089111328125, 0.054473876953125, -0.0159454345703125, 0.0131072998046875, -0.019561767578125, -0.00177001953125, -0.0298004150390625, 0.007472991943359375, 0.0013647079467773438, -0.06884765625, 0.04632568359375, 0.051239013671875, 0.01171875, -0.059967041015625, 0.0265350341796875, 0.0633544921875, 0.0012073516845703125, -0.00775146484375, -0.00232696533203125, -0.03509521484375, 0.002223968505859375, -0.0426025390625, -0.017791748046875, -0.04388427734375, 0.032989501953125, 0.04534912109375, 0.0240631103515625, -0.02850341796875, -0.00870513916015625, 0.021942138671875, 0.0260772705078125, -0.050323486328125, 0.0304718017578125, -0.045989990234375, -0.022979736328125, -0.01277923583984375, -0.0161285400390625, -0.00943756103515625, -0.07733154296875, 0.01523590087890625, 0.057373046875, 0.053131103515625, 0.00820159912109375, 0.0074310302734375, -0.01181793212890625, 0.07916259765625, 0.02032470703125, 0.032745361328125, -0.036407470703125, -0.01297760009765625, -0.01496124267578125, 0.00832366943359375, 0.001293182373046875, 0.0262298583984375, -0.0156707763671875, 0.004070281982421875, 0.038848876953125, -0.007167816162109375, -0.0223236083984375, -0.027069091796875, 0.053955078125, -0.0002651214599609375, 0.024810791015625, 0.0037212371826171875, -0.000667572021484375, -0.0217742919921875, 0.010040283203125, 0.01152801513671875, 0.01453399658203125, -0.0240325927734375, 0.0049591064453125, 0.0202789306640625, -0.00695037841796875, -0.00637054443359375, 0.027069091796875, -0.01146697998046875, -0.01020050048828125, -0.04071044921875, 0.0102996826171875, 0.00791168212890625, -0.005817413330078125, -0.050048828125, -0.01483154296875, -0.0296173095703125, -0.01312255859375, -0.0228271484375, -0.051666259765625, 0.037078857421875, -0.015411376953125, -0.0355224609375, 0.0304412841796875, 0.02850341796875, 0.054107666015625, 0.01568603515625, -0.00757598876953125, -0.00098419189453125, 0.036529541015625, 0.005260467529296875, -0.04986572265625, 0.04351806640625, -0.04315185546875, 0.0382080078125, 0.0587158203125, -0.0408935546875, 0.041748046875, 0.00600433349609375, -0.0202789306640625, 0.0030612945556640625, 0.0216827392578125, 0.00443267822265625, -0.01114654541015625, -0.0557861328125, 0.020172119140625, -0.0048828125, -0.006862640380859375, -0.039306640625, -0.044403076171875, -0.03509521484375, -0.039459228515625, -0.11993408203125, -0.0859375, -0.0164337158203125, -0.0667724609375, -0.0217132568359375, 0.010772705078125, -0.042816162109375, 0.00919342041015625, 0.044403076171875, 0.004718780517578125, -0.053436279296875, -0.00360107421875, -0.018646240234375, -0.0474853515625, -0.0386962890625, 0.01399993896484375, 0.00428009033203125, 0.0299224853515625, -0.00582122802734375, 0.0458984375, -0.01454925537109375, -0.042694091796875, -0.0017948150634765625, 0.0310821533203125, 0.0267486572265625, 0.00818634033203125, 0.0031909942626953125, 0.0210418701171875, -0.047760009765625, 0.01551055908203125, -0.01551055908203125, -0.006977081298828125, -0.0126190185546875, -0.023162841796875, -0.021148681640625, -0.045440673828125, -0.01436614990234375, 0.040313720703125, 0.0275115966796875, -0.040557861328125, 0.011199951171875, -0.06475830078125, -0.0147552490234375, -0.0141448974609375, -0.032470703125, -0.01690673828125, -0.00032448768615722656, -0.0071258544921875, -0.0253753662109375, 0.028900146484375, 0.016204833984375, 0.00817108154296875, -0.025482177734375, -0.007232666015625, 0.05645751953125, -0.007640838623046875, 0.01141357421875, 0.000858306884765625, 0.0033435821533203125, -0.0103302001953125, 0.030609130859375, -0.01415252685546875, 0.028411865234375, -0.025604248046875, 0.037017822265625, -0.0479736328125, -0.048126220703125, 0.052337646484375, 0.01502227783203125, -0.0006756782531738281, -0.0109405517578125, -0.03875732421875, -0.004940032958984375, 0.07611083984375, -0.0023479461669921875, -0.034332275390625, -0.05029296875, 0.0164794921875, -0.01331329345703125, -0.061614990234375, 0.053802490234375, -0.01097869873046875, -0.07513427734375, -0.00847625732421875, -0.0214996337890625, -0.0187835693359375, 0.0132293701171875, -0.052703857421875, -0.0205841064453125, -0.047210693359375, 0.0213165283203125, -0.008544921875, 0.00925445556640625, -0.0052032470703125, -0.0113067626953125, -0.017578125, 0.003787994384765625, -0.032379150390625, -0.045166015625, -0.01364898681640625, -0.01519775390625, 0.029693603515625, -0.023712158203125, 0.041015625, -0.022369384765625, 0.033233642578125, 0.0001970529556274414, 0.02764892578125, -0.021392822265625, 0.00980377197265625, -0.0147705078125, -0.02972412109375, -0.0013484954833984375, -0.041259765625, -0.0125732421875, -0.07794189453125, -0.069580078125, -0.06353759765625, -0.0255889892578125, 0.00864410400390625, -0.00014162063598632812, -0.0024127960205078125, 0.03887939453125, -0.00879669189453125, -0.0179901123046875, 0.0303802490234375, -0.0063934326171875, -0.0103607177734375, -0.0145111083984375, 0.0181732177734375, 0.0228729248046875, -0.0048370361328125, -0.042083740234375, 0.018585205078125, 0.050872802734375, 0.00872039794921875, -0.013427734375, -0.09222412109375, 0.00717926025390625, 0.0390625, -0.007648468017578125, 0.0276947021484375, 0.01351165771484375, -0.0205841064453125, 0.0310516357421875, 0.0031681060791015625, 0.04833984375, -0.034423828125, -0.01580810546875, -0.00089263916015625, -0.0111236572265625, 0.0120086669921875, 0.013031005859375, 0.031982421875, -0.00936126708984375, -0.049713134765625, 0.0188446044921875, -0.004352569580078125, 0.00981903076171875, -0.02813720703125, 0.035400390625, 0.00441741943359375, -0.035858154296875, 0.003955841064453125, 0.00720977783203125, 0.045623779296875, -0.01247406005859375, 0.01187896728515625, 0.03338623046875, 0.07916259765625, 0.044891357421875, 0.00859832763671875, 0.0254364013671875, -0.030303955078125, 0.073974609375, -0.0071258544921875, 0.0369873046875, 0.00325775146484375, -0.004711151123046875, -0.00018870830535888672, 0.00048661231994628906, -0.054595947265625, 0.0227508544921875, 0.000988006591796875, -0.0225067138671875, 0.00818634033203125, 0.01184844970703125, 0.056243896484375, -0.0162506103515625, -0.0244140625, -0.0284271240234375, -0.04302978515625, -0.03375244140625, -0.07025146484375, 0.00865936279296875, 0.0025882720947265625, -0.0189361572265625, 0.047027587890625, -0.0215301513671875, -0.03289794921875, 0.014129638671875, 0.006549835205078125, -0.011505126953125, 0.014190673828125, 0.04376220703125, 0.0247344970703125, -0.0280914306640625, -0.031219482421875, 0.04388427734375, 0.0201873779296875, -0.034332275390625, 0.002910614013671875, 0.02056884765625, 0.04766845703125, -0.0084228515625, -0.02777099609375, -0.0039215087890625, -0.030914306640625, -0.0167999267578125, 0.044525146484375, -0.0005860328674316406, -0.036773681640625, -0.03790283203125, -0.00881195068359375, 0.047821044921875, -0.0146331787109375, -0.0258636474609375, -0.004039764404296875, -0.0141754150390625, 0.0007185935974121094, 0.034881591796875, -0.058685302734375, 0.0213775634765625, 0.02880859375, -0.03179931640625, -0.0017919540405273438, -0.01482391357421875, -0.02252197265625, -0.041595458984375, -0.00212860107421875, -0.0189361572265625, 0.046478271484375, -0.0023822784423828125, 0.004329681396484375, -0.01361846923828125, -0.01287078857421875, -0.004444122314453125, 0.00975799560546875, 0.031768798828125, -0.01776123046875, 0.0012006759643554688, -0.01425933837890625, -0.03302001953125, -0.0236358642578125, 0.0826416015625, 0.040557861328125, -0.01458740234375, -0.035308837890625, 0.0088958740234375, 0.031768798828125, -0.00936126708984375, 0.002376556396484375, 0.0185546875, 0.01483917236328125, -0.01056671142578125, 0.045501708984375, 0.0167999267578125, -0.01209259033203125, 0.0086517333984375, 0.0268402099609375, 0.00704193115234375, -0.0032100677490234375, -0.00753021240234375, -0.039276123046875, 0.002033233642578125, -0.032684326171875, 0.0211334228515625, -0.0011510848999023438, 0.039337158203125, -0.032257080078125, -0.0273590087890625, 0.0223846435546875, -0.028594970703125, -0.0228118896484375, -0.004528045654296875, -0.0299072265625, 0.055267333984375, -0.0005741119384765625, 0.0029010772705078125, -0.010894775390625, -0.00965118408203125, 0.019775390625, -0.0195465087890625, 0.002101898193359375, -0.006465911865234375, 0.004375457763671875, -0.0013637542724609375, 0.007205963134765625, -0.006168365478515625, 0.030303955078125, 0.040374755859375, -0.027435302734375, 0.0104217529296875, 0.0322265625, -0.003917694091796875, -0.0106201171875, 0.042144775390625, 0.01019287109375, -0.0306549072265625, 0.0782470703125, 0.028533935546875, -0.0020465850830078125, 0.055084228515625, -0.0275421142578125, 0.01447296142578125, -0.0266265869140625, 0.0304718017578125, 0.0257110595703125, 0.0029468536376953125, -0.005794525146484375, -0.045440673828125, 0.020782470703125, -0.038787841796875, 0.00966644287109375, -0.041168212890625, 0.08349609375, -0.0027561187744140625, -0.016082763671875, 0.000022470951080322266, -0.046234130859375, -0.0089263916015625, -0.0008325576782226562, 0.0257720947265625, 0.013763427734375, 0.0018138885498046875, -0.036956787109375, 0.0225067138671875, -0.035247802734375, -0.027191162109375, 0.020111083984375, -0.0186614990234375, 0.0341796875, -0.017547607421875, 0.03936767578125, -0.02996826171875, 0.039764404296875, -0.0138092041015625, -0.028350830078125, 0.04327392578125, 0.055267333984375, -0.02166748046875, -0.009552001953125, 0.044219970703125, -0.0560302734375, -0.00296783447265625, -0.009063720703125, 0.027679443359375, -0.0262451171875, -0.059844970703125, 0.00909423828125, -0.06951904296875, 0.003383636474609375, -0.0017843246459960938, 0.0215911865234375, 0.0303955078125, -0.06146240234375, 0.01006317138671875, 0.06103515625, 0.0635986328125, -0.01502227783203125, -0.004344940185546875, 0.033447265625, -0.05169677734375, -0.02099609375, 0.0160675048828125, -0.021026611328125, -0.0192718505859375, -0.0107879638671875, -0.066162109375, 0.077880859375, -0.0295257568359375, 0.06072998046875, 0.0240325927734375, 0.0164337158203125, 0.01123809814453125, 0.003215789794921875, -0.03790283203125, 0.033416748046875, -0.0262298583984375, 0.033782958984375, -0.029296875, 0.0171966552734375, 0.0013513565063476562, 0.0240325927734375, 0.0650634765625, 0.00693511962890625, -0.0232086181640625, -0.0017223358154296875, 0.046722412109375, 0.043365478515625, 0.002422332763671875, 0.0309600830078125, 0.01739501953125, 0.0039520263671875, 0.056182861328125, -0.006000518798828125, 0.020416259765625, -0.003173828125, 0.0167694091796875, 0.032470703125, -0.0005402565002441406, 0.0012645721435546875, -0.00614166259765625, 0.0220184326171875, -0.053466796875, -0.0080413818359375, 0.03369140625, -0.004077911376953125, -0.0037174224853515625, 0.0758056640625, 0.0089874267578125, -0.053985595703125, -0.00731658935546875, -0.038177490234375, 0.05364990234375, -0.045928955078125, 0.0308685302734375, 0.0309295654296875, 0.01198577880859375, 0.053680419921875, -0.01513671875, 0.00766754150390625, 0.005786895751953125, -0.0155792236328125, 0.021881103515625, 0.00008094310760498047, 0.0117340087890625, -0.0628662109375, -0.042724609375, 0.041595458984375, 0.05419921875, -0.0208282470703125, -0.0243682861328125, 0.0227813720703125, -0.0095672607421875, -0.01459503173828125, 0.007511138916015625, 0.0285186767578125, -0.00750732421875, -0.0264892578125, 0.010711669921875, -0.007568359375, 0.0195159912109375, 0.0256500244140625, 0.0197296142578125, 0.035552978515625, -0.03302001953125, -0.0170745849609375, -0.015960693359375, 0.00260162353515625, -0.00878143310546875, 0.023895263671875, -0.00881195068359375, 0.04071044921875, -0.02203369140625, 0.00307464599609375, -0.00820159912109375, 0.024322509765625, -0.048919677734375, 0.0384521484375, -0.037994384765625, -0.0511474609375, -0.030487060546875, 0.04736328125, 0.0108795166015625, -0.03399658203125, 0.0252685546875, 0.039154052734375, -0.0250701904296875, -0.0224151611328125, 0.0005311965942382812, -0.019287109375, -0.022308349609375, -0.01104736328125, 0.01605224609375, 0.07171630859375, 0.0157470703125, 0.00917816162109375, 0.004856109619140625, 0.08697509765625, -0.037994384765625, 0.0277557373046875, -0.0129241943359375, -0.0460205078125, 0.0151824951171875, -0.02154541015625, 0.0877685546875, -0.01177978515625, -0.07598876953125, -0.003326416015625, -0.009918212890625, -0.047332763671875, 0.0296478271484375, 0.0260772705078125, -0.06298828125, 0.0609130859375, -0.00283050537109375, -0.034698486328125, -0.01190948486328125, 0.019805908203125, 0.0100250244140625, 0.016571044921875, 0.0142822265625, -0.004573822021484375, -0.024871826171875, -0.022125244140625, 0.0207366943359375, 0.03546142578125, 0.0044708251953125, 0.04119873046875, -0.007415771484375, 0.01042938232421875, 0.03692626953125, -0.0044403076171875, 0.007076263427734375, 0.03240966796875, -0.01189422607421875, -0.00934600830078125, 0.014739990234375, -0.0283660888671875, -0.057342529296875, -0.01409912109375, 0.0294189453125, -0.02374267578125, -0.01531219482421875, -0.00867462158203125, 0.033447265625, 0.0187225341796875, 0.0263214111328125, -0.0190887451171875, 0.0096282958984375, -0.0166778564453125, -0.03436279296875, 0.036163330078125, 0.0009250640869140625, 0.0144805908203125, 0.038665771484375, -0.005001068115234375, -0.0115814208984375, 0.025909423828125, -0.03900146484375, 0.0267181396484375, 0.0283050537109375, -0.008636474609375, -0.037261962890625, 0.001003265380859375, -0.021331787109375, -0.008148193359375, 0.0032215118408203125, 0.046783447265625, 0.002246856689453125, -0.0330810546875, -0.0028133392333984375, -0.006473541259765625, 0.0260162353515625, -0.0235443115234375, -0.00351715087890625, 0.0024967193603515625, 0.0084686279296875, 0.01824951171875, -0.0266876220703125, -0.0183868408203125, -0.0297088623046875, 0.0011138916015625, 0.02020263671875, 0.01214599609375, -0.0003037452697753906, 0.048126220703125, -0.029449462890625, 0.01061248779296875, 0.0185394287109375, -0.04425048828125, 0.037017822265625, -0.0034236907958984375, -0.04400634765625, -0.010650634765625, 0.0033855438232421875, -0.003665924072265625, 0.019805908203125, -0.01776123046875, -0.062469482421875, -0.041259765625, 0.0499267578125, -0.05078125, 0.02374267578125, 0.0296173095703125, -0.04473876953125, 0.03668212890625, 0.038299560546875, 0.0435791015625, 0.0699462890625, 0.00914764404296875, -0.008270263671875, 0.002201080322265625, 0.01462554931640625, -0.0243682861328125, -0.0181732177734375, 0.0310211181640625, -0.022308349609375, -0.028533935546875, -0.04925537109375, 0.0016994476318359375, -0.00067138671875, -0.05218505859375, -0.08734130859375, 0.0452880859375, -0.028167724609375, -0.03753662109375, -0.08203125, 0.06475830078125, -0.0056915283203125, 0.0221405029296875, -0.023468017578125, 0.0089874267578125, 0.03704833984375, 0.0304107666015625, 0.015594482421875, -0.032196044921875, 0.0458984375, -0.01538848876953125, -0.06536865234375, 0.0035877227783203125, 0.01153564453125, 0.0194549560546875, 0.03863525390625, -0.034332275390625, 0.07080078125, 0.055450439453125, -0.007160186767578125, 0.05120849609375, 0.0149993896484375, -0.055908203125, -0.025421142578125, -0.03558349609375, -0.0271759033203125, -0.01541900634765625, 0.064697265625, 0.062744140625, 0.0190277099609375, -0.040374755859375, -0.030029296875, -0.00222015380859375, -0.0018720626831054688, -0.03204345703125, -0.0005898475646972656, -0.034149169921875, -0.008331298828125, -0.0533447265625, -0.01372528076171875, -0.04022216796875, -0.0169219970703125, -0.04510498046875, -0.022796630859375, -0.024261474609375, 0.0241241455078125, -0.020050048828125, 0.0015411376953125, 0.0189056396484375, -0.00785064697265625, 0.0364990234375, -0.0272216796875, 0.01447296142578125, 0.02099609375, 0.0279541015625, 0.00893402099609375, 0.005828857421875, -0.01580810546875, 0.0185394287109375, 0.013275146484375, -0.0017271041870117188, -0.005252838134765625, -0.0047760009765625, 0.0008959770202636719, 0.008392333984375, 0.013031005859375, 0.0081634521484375, -0.04217529296875, 0.032196044921875, -0.0025691986083984375, 0.014801025390625, -0.031829833984375, 0.01763916015625, -0.010833740234375, -0.002872467041015625, -0.0210113525390625, 0.01271820068359375, 0.040130615234375, -0.0227203369140625, 0.0008912086486816406, -0.0165557861328125, -0.037994384765625, -0.05413818359375, 0.02978515625, -0.005161285400390625, -0.01009368896484375, 0.036895751953125 ]
dd79fbb12080e811627606f9121dcb10d314a25a
Wordpress Stackexchange Q: How can 'admin_email' be set? Where is the value for admin_email set? $email = get_option('admin_email'); How can I change it? A: In Wordpress backend go to: Settings > General and the field 'Email Address'. Or in php: update_option('admin_email', '[email protected]'); https://codex.wordpress.org/Function_Reference/update_option
Q: How can 'admin_email' be set? Where is the value for admin_email set? $email = get_option('admin_email'); How can I change it? A: In Wordpress backend go to: Settings > General and the field 'Email Address'. Or in php: update_option('admin_email', '[email protected]'); https://codex.wordpress.org/Function_Reference/update_option A: As of 4.9 there is a requirement the user send an outbound email in order to change the admin email from the backend. If you can't send outbound email, you can't change the email without custom code. This plugin restores functionality to pre-4.9: Change Admin Email
wordpress
{ "language": "en", "length": 88, "provenance": "stackexchange_00019.jsonl.gz:474199", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/259942" }
[ 0.044525146484375, -0.016693115234375, 0.0224456787109375, -0.0232391357421875, -0.00954437255859375, -0.0269012451171875, 0.017547607421875, -0.04571533203125, 0.00957489013671875, -0.00234222412109375, 0.0015192031860351562, -0.0247955322265625, -0.0034332275390625, -0.038421630859375, -0.0027027130126953125, -0.0292816162109375, 0.016632080078125, -0.00020325183868408203, -0.0298309326171875, -0.01435089111328125, 0.02685546875, 0.0030193328857421875, -0.07537841796875, 0.03289794921875, -0.0158233642578125, 0.01544952392578125, 0.052093505859375, -0.034820556640625, -0.01088714599609375, -0.024871826171875, 0.0011501312255859375, 0.01026153564453125, 0.03887939453125, 0.0015163421630859375, -0.0175323486328125, -0.0271453857421875, 0.018218994140625, -0.01030731201171875, -0.00930023193359375, 0.031219482421875, 0.03936767578125, -0.0217437744140625, 0.01299285888671875, 0.0247650146484375, -0.00028824806213378906, -0.046783447265625, 0.03619384765625, -0.03204345703125, 0.03363037109375, -0.0088348388671875, -0.006374359130859375, 0.021240234375, -0.00727081298828125, -0.0220184326171875, 0.0037326812744140625, 0.00841522216796875, 0.0264129638671875, -0.015380859375, 0.0236663818359375, -0.019439697265625, -0.03570556640625, 0.0197906494140625, 0.02252197265625, -0.006618499755859375, 0.0213623046875, -0.024627685546875, 0.024932861328125, 0.039703369140625, -0.029693603515625, 0.0111236572265625, 0.040130615234375, -0.0095672607421875, 0.01003265380859375, -0.050811767578125, 0.0109710693359375, 0.0411376953125, 0.0024566650390625, 0.0225372314453125, 0.006458282470703125, 1.7881393432617188e-7, 0.0394287109375, -0.028411865234375, -0.034423828125, 0.02471923828125, 0.0173797607421875, 0.044647216796875, -0.0020313262939453125, -0.033050537109375, -0.002437591552734375, 0.0003123283386230469, -0.0102996826171875, 0.0032501220703125, -0.0035648345947265625, -0.004482269287109375, -0.0184173583984375, -0.03363037109375, 0.03460693359375, 0.0228118896484375, -0.0012140274047851562, -0.037689208984375, -0.03082275390625, -0.01053619384765625, -0.05487060546875, 0.002288818359375, -0.00550079345703125, 0.0226593017578125, -0.005893707275390625, 0.0014638900756835938, 0.007335662841796875, 0.01551055908203125, -0.0169677734375, -0.012542724609375, -0.0213775634765625, -0.006488800048828125, -0.0179290771484375, -0.006244659423828125, -0.060577392578125, 0.027252197265625, -0.0017518997192382812, 0.0219879150390625, 0.0231170654296875, 0.039306640625, 0.00890350341796875, -0.044525146484375, -0.0316162109375, -0.0482177734375, -0.04595947265625, -0.0285186767578125, -0.0177001953125, 0.0144195556640625, -0.0439453125, 0.0130157470703125, 0.08294677734375, 0.04791259765625, 0.033843994140625, -0.0172271728515625, -0.01386260986328125, 0.016204833984375, -0.010772705078125, 0.02215576171875, 0.01180267333984375, -0.0305023193359375, -0.0033740997314453125, 0.017181396484375, -0.021575927734375, 0.0187530517578125, 0.01296234130859375, 0.008087158203125, -0.029327392578125, -0.0335693359375, -0.002166748046875, -0.019775390625, -0.024688720703125, 0.052886962890625, 0.03741455078125, 0.07427978515625, 0.0386962890625, 0.0260772705078125, -0.05010986328125, 0.028717041015625, 0.023590087890625, -0.0182342529296875, 0.0200958251953125, 0.009521484375, -0.02789306640625, 0.0304718017578125, -0.061492919921875, -0.0216217041015625, 0.01715087890625, -0.054107666015625, 0.061553955078125, 0.02056884765625, 0.007717132568359375, -0.0180816650390625, 0.004199981689453125, -0.025115966796875, -0.03936767578125, 0.01611328125, 0.01849365234375, -0.00499725341796875, 0.0026569366455078125, -0.0300445556640625, -0.0151214599609375, 0.036468505859375, 0.017181396484375, -0.0266876220703125, -0.0018987655639648438, -0.00811767578125, 0.01174163818359375, 0.02337646484375, -0.039459228515625, 0.012603759765625, 0.0027866363525390625, -0.004756927490234375, -0.0188140869140625, -0.007297515869140625, -0.032745361328125, 0.016693115234375, -0.032318115234375, -0.006183624267578125, -0.00635528564453125, -0.02239990234375, 0.0179595947265625, 0.0087738037109375, 0.0002541542053222656, -0.004444122314453125, -0.005016326904296875, 0.01453399658203125, -0.007144927978515625, -0.005886077880859375, 0.0081329345703125, -0.0238189697265625, 0.013580322265625, -0.0517578125, -0.03515625, 0.021484375, -0.02001953125, 0.0360107421875, -0.0148162841796875, 0.07171630859375, -0.041748046875, -0.0548095703125, -0.03826904296875, -0.00928497314453125, 0.0224761962890625, 0.0032405853271484375, -0.0179595947265625, -0.01047515869140625, 0.017669677734375, -0.003398895263671875, -0.005298614501953125, 0.033172607421875, 0.0147857666015625, 0.002933502197265625, -0.040313720703125, -0.0006971359252929688, -0.022857666015625, -0.039306640625, -0.001132965087890625, 0.058074951171875, 0.043304443359375, 0.0071563720703125, 0.0214996337890625, 0.00870513916015625, 0.03814697265625, 0.017181396484375, 0.04632568359375, -0.03106689453125, 0.012786865234375, 0.0556640625, -0.059661865234375, -0.01019287109375, 0.020263671875, -0.0628662109375, -0.034912109375, 0.06591796875, -0.0081634521484375, -0.02545166015625, -0.010101318359375, 0.021026611328125, -0.0020961761474609375, -0.04351806640625, -0.0230560302734375, -0.0100555419921875, 0.023406982421875, 0.01059722900390625, 0.0279083251953125, 0.0179443359375, -0.0372314453125, -0.0024051666259765625, 0.020660400390625, 0.01519775390625, 0.0009613037109375, -0.0108795166015625, -0.01026153564453125, 0.0262908935546875, -0.038330078125, 0.0181427001953125, 0.035675048828125, 0.002101898193359375, -0.046051025390625, -0.047454833984375, 0.00279998779296875, -0.006988525390625, 0.0091552734375, -0.047454833984375, 0.042633056640625, -0.03326416015625, 0.0230560302734375, -0.013397216796875, 0.025054931640625, 0.0021209716796875, -0.0307769775390625, 0.047149658203125, -0.044708251953125, -0.05029296875, -0.037200927734375, -0.005115509033203125, -0.0022945404052734375, -0.020721435546875, 0.041046142578125, 0.052276611328125, 0.0126495361328125, -0.0107879638671875, 0.006011962890625, -0.0164642333984375, -0.016937255859375, 0.033172607421875, 0.019989013671875, -0.029571533203125, -0.00283050537109375, 0.053863525390625, 0.0008358955383300781, 0.01534271240234375, -0.053436279296875, -0.052001953125, -0.04925537109375, -0.0189361572265625, -0.10137939453125, -0.023284912109375, -0.01800537109375, -0.049224853515625, -0.0396728515625, -0.00028896331787109375, -0.0303955078125, 0.0291748046875, 0.003509521484375, 0.005199432373046875, 0.05810546875, -0.03399658203125, -0.061859130859375, -0.034423828125, -0.07525634765625, -0.06011962890625, -0.0120697021484375, -0.0035991668701171875, -0.004787445068359375, 0.068359375, -0.00467681884765625, -0.0487060546875, -0.0103759765625, -0.0239715576171875, -0.0022716522216796875, -0.00283050537109375, -0.0164947509765625, -0.056549072265625, 0.03753662109375, -0.009918212890625, 0.0556640625, 0.0025272369384765625, 0.01340484619140625, -0.0010023117065429688, 0.0007653236389160156, -0.0104217529296875, 0.026611328125, -0.0264892578125, -0.0163726806640625, -0.0185699462890625, -0.0023822784423828125, -0.0548095703125, 0.01007080078125, 0.005397796630859375, -0.003631591796875, 0.0257568359375, -0.0191497802734375, -0.0181121826171875, 0.026336669921875, 0.014923095703125, 0.00537109375, -0.003749847412109375, 0.0297088623046875, -0.028717041015625, 0.011474609375, -0.01145172119140625, -0.003955841064453125, -0.01438140869140625, -0.0062255859375, -0.01947021484375, -0.015716552734375, -0.01251220703125, 0.01824951171875, -0.002704620361328125, 0.036285400390625, -0.004512786865234375, -0.0946044921875, 0.08404541015625, -0.03216552734375, -0.0167083740234375, -0.05657958984375, -0.0562744140625, -0.007232666015625, 0.142822265625, 0.0472412109375, 0.0080108642578125, 0.00628662109375, 0.003040313720703125, -0.068603515625, -0.0360107421875, -0.060302734375, 0.0124359130859375, -0.049652099609375, 0.007476806640625, -0.0086669921875, -0.0096893310546875, -0.031951904296875, 0.0124053955078125, -0.0294342041015625, -0.034149169921875, 0.0252227783203125, -0.0305633544921875, -0.015716552734375, 0.0207977294921875, -0.024505615234375, -0.00234222412109375, -0.01023101806640625, -0.013763427734375, -0.044342041015625, -0.0155487060546875, 0.0295867919921875, 0.014923095703125, -0.0177001953125, 0.0128173828125, -0.024658203125, 0.01313018798828125, -0.0012722015380859375, -0.0237579345703125, 0.0142822265625, 0.0250701904296875, -0.00710296630859375, -0.0228729248046875, -0.0003898143768310547, -0.027130126953125, -0.01023101806640625, -0.01361846923828125, -0.04632568359375, 0.027435302734375, 0.00506591796875, 0.035125732421875, 0.0328369140625, -0.027923583984375, -0.049652099609375, -0.0094451904296875, -0.027862548828125, -0.01047515869140625, -0.01308441162109375, -0.0218505859375, -0.01169586181640625, -0.053924560546875, 0.07672119140625, -0.0229339599609375, -0.01404571533203125, -0.00594329833984375, 0.07666015625, 0.0142822265625, -0.024444580078125, 0.0008287429809570312, 0.001842498779296875, 0.047943115234375, 0.0181121826171875, 0.0291290283203125, 0.0281829833984375, -0.029266357421875, 0.051727294921875, 0.03594970703125, -0.0005035400390625, -0.04345703125, 0.067138671875, 0.019256591796875, 0.01245880126953125, 0.0083160400390625, 0.001468658447265625, 0.0256500244140625, 0.0193328857421875, 0.004425048828125, -0.019287109375, -0.0045166015625, 0.0238189697265625, -0.012176513671875, 0.024566650390625, -0.011962890625, -0.056549072265625, 0.03472900390625, -0.0129547119140625, -0.006160736083984375, 0.013336181640625, -0.005859375, 0.01378631591796875, 0.00640869140625, -0.0137176513671875, -0.0374755859375, -0.04376220703125, -0.0150146484375, -0.00383758544921875, -0.021881103515625, -0.019287109375, -0.010955810546875, -0.01447296142578125, 0.056854248046875, 0.01007843017578125, -0.037139892578125, 0.006694793701171875, -0.026702880859375, 0.0197296142578125, 0.0182037353515625, -0.055908203125, 0.01535797119140625, 0.039398193359375, -0.022369384765625, 0.00494384765625, -0.0264129638671875, 0.0017099380493164062, -0.04052734375, 0.039825439453125, 0.00878143310546875, 0.007549285888671875, 0.0167083740234375, 0.09161376953125, 0.03826904296875, 0.035491943359375, -0.0333251953125, 0.043609619140625, 0.051971435546875, 0.00989532470703125, 0.018402099609375, 0.015869140625, -0.004413604736328125, -0.027557373046875, 0.00626373291015625, -0.00403594970703125, 0.0207977294921875, 0.0139923095703125, 0.00229644775390625, 0.03057861328125, 0.0154571533203125, -0.02008056640625, -0.0246734619140625, 0.000797271728515625, 0.037689208984375, -0.03424072265625, -0.05938720703125, -0.0164794921875, -0.00035953521728515625, 0.0111541748046875, -0.0596923828125, -0.00844573974609375, 0.01947021484375, -0.03057861328125, 0.01221466064453125, 0.026611328125, -0.0046539306640625, -0.0335693359375, -0.0263671875, 0.004261016845703125, -0.005626678466796875, -0.01611328125, -0.0572509765625, -0.026397705078125, -0.00047326087951660156, -0.00212860107421875, 0.032440185546875, 0.006221771240234375, 0.019195556640625, -0.00435638427734375, -0.0163726806640625, -0.035430908203125, 0.0018911361694335938, 0.043670654296875, 0.01175689697265625, -0.0579833984375, -0.01157379150390625, -0.05419921875, -0.0019006729125976562, -0.015716552734375, -0.00804901123046875, -0.006862640380859375, 0.004199981689453125, 0.0070343017578125, 0.020843505859375, -0.0289459228515625, -0.0472412109375, -0.026458740234375, 0.005687713623046875, 0.053192138671875, 0.05401611328125, 0.004024505615234375, 0.033966064453125, -0.037841796875, 0.04437255859375, -0.01837158203125, -0.02703857421875, -0.046173095703125, 0.0014219284057617188, 0.004428863525390625, -0.007358551025390625, 0.00372314453125, 0.001270294189453125, -0.00435638427734375, -0.0469970703125, 0.0207366943359375, -0.007091522216796875, -0.001163482666015625, -0.039306640625, -0.004367828369140625, -0.01392364501953125, 0.06201171875, -0.045074462890625, 0.0092010498046875, -0.006587982177734375, -0.004749298095703125, 0.0061187744140625, -0.0083465576171875, -0.01169586181640625, 0.017730712890625, -0.01097869873046875, 0.00992584228515625, 0.0224761962890625, -0.042510986328125, 0.072021484375, 0.08416748046875, 0.005695343017578125, 0.034271240234375, 0.017181396484375, 0.0003044605255126953, -0.0214996337890625, 0.035247802734375, -0.04083251953125, -0.036163330078125, 0.03277587890625, 0.01311492919921875, -0.0224456787109375, 0.0131683349609375, -0.018218994140625, 0.0085906982421875, 0.08056640625, 0.1024169921875, -0.10260009765625, 0.0212554931640625, 0.01357269287109375, 0.005077362060546875, 0.041961669921875, 0.0277557373046875, -0.052215576171875, -0.0731201171875, 0.038818359375, -0.0679931640625, 0.0008249282836914062, 0.0017652511596679688, -0.0029544830322265625, -0.0276641845703125, -0.0142059326171875, 0.041290283203125, 0.0265350341796875, 0.00357818603515625, 0.01401519775390625, -0.00257110595703125, -0.0004208087921142578, -0.026641845703125, 0.0162506103515625, 0.0290985107421875, -0.025665283203125, -0.08233642578125, 0.0009794235229492188, 0.01226043701171875, -0.022125244140625, -0.04638671875, 0.01413726806640625, 0.03228759765625, 0.042694091796875, -0.00231170654296875, -0.04437255859375, 0.03466796875, -0.0118408203125, 0.0159149169921875, -0.0229949951171875, -0.003322601318359375, 0.032806396484375, -0.0367431640625, 0.01078033447265625, -0.01451873779296875, -0.005168914794921875, -0.004375457763671875, 0.0311431884765625, 0.0191497802734375, 0.020538330078125, -0.0306549072265625, 0.0443115234375, 0.0247802734375, -0.01556396484375, -0.006195068359375, -0.0257720947265625, -0.0028285980224609375, 0.023162841796875, -0.0261383056640625, -0.047027587890625, 0.01788330078125, -0.0260772705078125, -0.047760009765625, 0.0880126953125, 0.0220794677734375, 0.00246429443359375, 0.0190277099609375, 0.038177490234375, -0.0364990234375, 0.01073455810546875, -0.009796142578125, 0.0086822509765625, -0.008026123046875, 0.0179595947265625, -0.03759765625, -0.00632476806640625, -0.0025634765625, 0.03076171875, 0.059112548828125, 0.01499176025390625, -0.0149993896484375, -0.0015459060668945312, 0.058258056640625, 0.026885986328125, -0.015838623046875, 0.03076171875, 0.02825927734375, 0.04559326171875, 0.06451416015625, -0.049346923828125, 0.0264739990234375, -0.027923583984375, 0.0136871337890625, 0.049285888671875, -0.0011138916015625, 0.0086517333984375, -0.0004930496215820312, 0.0287017822265625, -0.01959228515625, -0.01361846923828125, 0.0185089111328125, -0.08746337890625, -0.011932373046875, 0.01617431640625, 0.01317596435546875, -0.0390625, 0.037689208984375, -0.03961181640625, 0.05499267578125, -0.0006008148193359375, -0.0178680419921875, 0.016082763671875, 0.0017538070678710938, 0.00848388671875, 0.0233154296875, -0.0017290115356445312, 0.032257080078125, 0.020233154296875, 0.0162200927734375, -0.005573272705078125, 0.0243072509765625, -0.040252685546875, -0.0213165283203125, 0.0102081298828125, 0.023590087890625, -0.00890350341796875, -0.0117645263671875, 0.0036716461181640625, 0.0306854248046875, 0.01137542724609375, -0.03265380859375, 0.01016998291015625, -0.025054931640625, 0.0178375244140625, -0.0670166015625, -0.00812530517578125, 0.05517578125, 0.03570556640625, -0.005504608154296875, 0.00147247314453125, -0.0379638671875, -0.052032470703125, -0.017364501953125, -0.00669097900390625, 0.039520263671875, 0.03466796875, 0.0135040283203125, 0.017303466796875, 0.018890380859375, -0.0103302001953125, -0.0197296142578125, 0.038299560546875, 0.01099395751953125, 0.00783538818359375, -0.003734588623046875, 0.0074005126953125, -0.024322509765625, 0.015838623046875, -0.00989532470703125, 0.017425537109375, 0.038818359375, 0.04022216796875, -0.02545166015625, -0.02734375, 0.00504302978515625, -0.03814697265625, 0.0635986328125, -0.037689208984375, 0.035797119140625, -0.0204315185546875, -0.0015869140625, -0.0657958984375, 0.04058837890625, 0.0185546875, 0.016357421875, -0.0083160400390625, 0.018951416015625, 0.0011892318725585938, 0.038604736328125, 0.0031909942626953125, 0.0014657974243164062, 0.04254150390625, -0.03521728515625, -0.0238800048828125, 0.0247955322265625, -0.0257110595703125, 0.035003662109375, 0.046722412109375, -0.0202178955078125, 0.0220489501953125, -0.050567626953125, -0.01055145263671875, 0.002712249755859375, 0.006206512451171875, -0.0262451171875, 0.016571044921875, 0.0283966064453125, -0.018585205078125, -0.038421630859375, -0.032257080078125, -0.0093231201171875, 0.0253753662109375, 0.0167236328125, 0.00704193115234375, 0.0146636962890625, 0.0236968994140625, -0.053680419921875, 0.033935546875, -0.06793212890625, -0.037200927734375, 0.01113128662109375, -0.0101318359375, -0.0248870849609375, 0.01297760009765625, -0.048919677734375, 0.0285186767578125, 0.024871826171875, -0.029296875, 0.055511474609375, -0.024017333984375, -0.01052093505859375, -0.06219482421875, 0.0209503173828125, -0.0160980224609375, -0.06829833984375, -0.044677734375, 0.0212860107421875, -0.0026836395263671875, 0.038330078125, -0.0247802734375, -0.005687713623046875, -0.01812744140625, -0.002269744873046875, 0.0249481201171875, 0.02276611328125, 0.046478271484375, 0.03564453125, -0.10406494140625, -0.014007568359375, 0.004589080810546875, -0.0189361572265625, 0.035369873046875, -0.021484375, 0.0557861328125, 0.00699615478515625, 0.0107574462890625, -0.024139404296875, 0.003925323486328125, 0.0201568603515625, -0.00879669189453125, 0.01244354248046875, -0.0260772705078125, -0.00015723705291748047, 0.01462554931640625, -0.02532958984375, -0.029296875, -0.06781005859375, 0.00591278076171875, 0.0194091796875, -0.0362548828125, -0.01654052734375, -0.05133056640625, 0.05865478515625, 0.031097412109375, -0.01375579833984375, -0.0226898193359375, 0.01873779296875, -0.042327880859375, 0.08416748046875, -0.001079559326171875, -0.0170440673828125, 0.00846099853515625, 0.0628662109375, -0.0443115234375, -0.040313720703125, -0.052764892578125, 0.0008215904235839844, -0.0736083984375, -0.0054473876953125, 0.04571533203125, -0.001819610595703125, -0.044281005859375, 0.005229949951171875, -0.0032958984375, 0.0491943359375, -0.05865478515625, -0.010711669921875, 0.03228759765625, 0.01409149169921875, -0.0457763671875, -0.09619140625, -0.004985809326171875, -0.059356689453125, 0.0335693359375, -0.032196044921875, 0.016998291015625, 0.020538330078125, -0.04193115234375, -0.0902099609375, 0.003513336181640625, -0.0177764892578125, -0.03265380859375, 0.0076751708984375, 0.003662109375, -0.0047760009765625, 0.020355224609375, 0.01488494873046875, -0.0251007080078125, -0.036956787109375, -0.00969696044921875, 0.0161590576171875, 0.054473876953125, -0.00632476806640625, 0.01064300537109375, -0.039031982421875, 0.033721923828125, 0.006404876708984375, 0.0290374755859375, 0.01910400390625, -0.027618408203125, 0.045745849609375, 0.0614013671875, -0.01233673095703125, -0.0382080078125, -0.0006532669067382812, -0.07061767578125, -0.014495849609375, -0.03643798828125, -0.02996826171875, -0.00258636474609375, 0.06927490234375, 0.05206298828125, 0.013946533203125, -0.045989990234375, -0.038909912109375, -0.00015997886657714844, -0.01506805419921875, -0.022918701171875, 0.032470703125, -0.08209228515625, -0.01409912109375, 0.005397796630859375, 0.00006479024887084961, -0.0224151611328125, 0.0182037353515625, -0.0145416259765625, 0.0013217926025390625, 0.031158447265625, -0.027587890625, -0.007419586181640625, -0.02117919921875, 0.0200958251953125, -0.0156707763671875, 0.0020198822021484375, -0.00818634033203125, 0.021453857421875, 0.0015735626220703125, 0.028778076171875, 0.027587890625, -0.0174407958984375, -0.0185546875, 0.0101470947265625, 0.0075836181640625, 0.01568603515625, -0.0181884765625, -0.04400634765625, -0.027984619140625, 0.01654052734375, -0.0024280548095703125, -0.01305389404296875, -0.01483154296875, 0.056243896484375, 0.003345489501953125, 0.08636474609375, 0.005458831787109375, -0.0270843505859375, -0.0275421142578125, 0.04998779296875, -0.01007843017578125, -0.0164337158203125, -0.006206512451171875, -0.00023603439331054688, 0.023406982421875, 0.007415771484375, 0.104248046875, -0.022186279296875, 0.03192138671875, -0.0020198822021484375, 0.04541015625, 0.028106689453125 ]
029116e059d0a183b4836b5c3aed24a5995fe68e
Wordpress Stackexchange Q: How get post id from meta value Please look at the picture below. I want to get post_id from meta_value = 93. How can I do that? A: Try this. It will work. $prepare_guery = $wpdb->prepare( "SELECT post_id FROM $wpdp->posts where meta_key ='_Wps_crossells' and meta_value like '%%d%'", $meta_value ); $get_values = $wpdb->get_col( $prepare_guery ); Let me know it's working or not.
Q: How get post id from meta value Please look at the picture below. I want to get post_id from meta_value = 93. How can I do that? A: Try this. It will work. $prepare_guery = $wpdb->prepare( "SELECT post_id FROM $wpdp->posts where meta_key ='_Wps_crossells' and meta_value like '%%d%'", $meta_value ); $get_values = $wpdb->get_col( $prepare_guery ); Let me know it's working or not. A: global $wpdb; $tbl = $wpdb->prefix.'postmeta'; $prepare_guery = $wpdb->prepare( "SELECT post_id FROM $tbl where meta_key ='_Wps_crossells' and meta_value like '%%d%'", $meta_value ); $get_values = $wpdb->get_col( $prepare_guery ); Note: Table Should be $wpdb->prefix.'postmeta';
wordpress
{ "language": "en", "length": 94, "provenance": "stackexchange_00019.jsonl.gz:474223", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/260035" }
[ 0.01253509521484375, 0.005435943603515625, 0.04400634765625, 0.03558349609375, 0.00027298927307128906, -0.0004420280456542969, 0.054840087890625, -0.069580078125, 0.02740478515625, 0.0268096923828125, -0.051727294921875, -0.02349853515625, -0.01326751708984375, -0.007965087890625, -0.032440185546875, -0.048828125, 0.0250396728515625, 0.02099609375, 0.033660888671875, -0.003875732421875, 0.022705078125, 0.010589599609375, -0.0020732879638671875, -0.0026397705078125, 0.055511474609375, -0.07318115234375, 0.02813720703125, -0.0113525390625, 0.033477783203125, -0.0070343017578125, 0.0299835205078125, 0.0121917724609375, 0.01107025146484375, -0.029144287109375, 0.048126220703125, 0.0302581787109375, 0.005634307861328125, 0.007518768310546875, 0.0311279296875, -0.0023822784423828125, -0.0007424354553222656, 0.00438690185546875, 0.0011310577392578125, -0.0018024444580078125, -0.0306396484375, -0.01076507568359375, -0.00960540771484375, -0.015625, 0.04962158203125, -0.004375457763671875, -0.0190582275390625, 0.035858154296875, -0.0056915283203125, 0.005748748779296875, -0.0263824462890625, -0.04302978515625, 0.007007598876953125, -0.043914794921875, 0.03887939453125, 0.00914764404296875, -0.02301025390625, -0.0243988037109375, 0.027313232421875, -0.041717529296875, 0.004535675048828125, -0.006061553955078125, 0.037628173828125, 0.017852783203125, -0.0084991455078125, 0.00013458728790283203, 0.01922607421875, 0.0122528076171875, 0.0112762451171875, -0.015899658203125, -0.0023479461669921875, -0.0264129638671875, 0.0234375, -0.022918701171875, -0.001972198486328125, 0.01235198974609375, 0.0109710693359375, -0.024658203125, -0.02593994140625, 0.00417327880859375, 0.00811767578125, 0.03509521484375, -0.0133514404296875, -0.033416748046875, -0.034515380859375, -0.061309814453125, -0.0197601318359375, -0.0296478271484375, -0.068603515625, -0.019256591796875, -0.00902557373046875, -0.055084228515625, -0.00984954833984375, 0.038177490234375, -0.048797607421875, -0.00200653076171875, -0.0286712646484375, -0.01024627685546875, -0.00974273681640625, -0.0341796875, -0.00927734375, -0.0097503662109375, 0.031402587890625, 0.0150909423828125, 0.00743865966796875, 0.031707763671875, -0.0228271484375, -0.002674102783203125, -0.0216522216796875, 0.0157623291015625, -0.06304931640625, 0.0207366943359375, -0.032562255859375, -0.0333251953125, -0.0157012939453125, -0.006061553955078125, 0.030426025390625, 0.045318603515625, 0.031463623046875, -0.0183868408203125, 0.01552581787109375, 0.01776123046875, -0.042877197265625, -0.0430908203125, -0.0377197265625, 0.0221710205078125, -0.040802001953125, -0.007167816162109375, 0.07464599609375, 0.049102783203125, 0.0057525634765625, -0.031158447265625, 0.01593017578125, -0.0379638671875, -0.0096893310546875, 0.01340484619140625, -0.0177459716796875, -0.031585693359375, 0.0207366943359375, -0.01042938232421875, -0.043792724609375, 0.01287078857421875, 0.0129852294921875, 0.00506591796875, 0.0020160675048828125, -0.02264404296875, -0.066650390625, -0.00081634521484375, -0.0035724639892578125, 0.0156707763671875, 0.0208282470703125, -0.0062255859375, 0.047088623046875, -0.0406494140625, 0.00016367435455322266, -0.033111572265625, 0.0206298828125, 0.00788116455078125, 0.0152740478515625, 0.022308349609375, -0.00492095947265625, 0.00823211669921875, -0.0218505859375, -0.0153961181640625, 0.0221099853515625, 0.076171875, 0.05401611328125, 0.005290985107421875, -0.01413726806640625, -0.00004106760025024414, -0.0106964111328125, -0.03814697265625, -0.0024700164794921875, 0.01947021484375, 0.01212310791015625, -0.005268096923828125, -0.0050811767578125, -0.03521728515625, 0.006832122802734375, 0.044158935546875, -0.0157928466796875, 0.030029296875, 0.03399658203125, 0.057891845703125, -0.013092041015625, 0.0233917236328125, 0.0294036865234375, 0.01971435546875, -0.0494384765625, 0.0105743408203125, -0.0041961669921875, -0.0034389495849609375, -0.0006723403930664062, 0.0053253173828125, 0.00797271728515625, -0.00994873046875, 0.0214080810546875, -0.01468658447265625, 0.038421630859375, 0.0166168212890625, -0.041839599609375, 0.00899505615234375, -0.022064208984375, 0.026153564453125, -0.009033203125, 0.007633209228515625, 0.0299072265625, -0.0289459228515625, -0.011688232421875, -0.02545166015625, -0.024017333984375, 0.0145111083984375, -0.025634765625, -0.0260772705078125, -0.040069580078125, 0.023284912109375, -0.06768798828125, -0.00797271728515625, -0.08270263671875, 0.0023632049560546875, 0.03857421875, -0.00421905517578125, -0.00040912628173828125, -0.004276275634765625, 0.057861328125, 0.035430908203125, -0.03631591796875, -0.0233001708984375, 0.002597808837890625, -0.01145172119140625, -0.0172271728515625, 0.008392333984375, 0.0206298828125, -0.08172607421875, 0.01184844970703125, 0.06195068359375, 0.035186767578125, 0.053436279296875, -0.00528717041015625, 0.00420379638671875, 0.0165252685546875, -0.0165252685546875, 0.01568603515625, -0.0198516845703125, 0.01300048828125, 0.03472900390625, -0.03143310546875, 0.015106201171875, 0.02069091796875, 0.006320953369140625, 0.0079803466796875, 0.037200927734375, -0.0010423660278320312, 0.032684326171875, -0.01499176025390625, 0.006687164306640625, -0.02886962890625, -0.01397705078125, -0.0004253387451171875, -0.01427459716796875, 0.0225982666015625, 0.03399658203125, 0.05914306640625, 0.060546875, -0.0181884765625, 0.015960693359375, -0.0035610198974609375, 0.02728271484375, -0.000751495361328125, 0.00740814208984375, -0.01116180419921875, 0.0020809173583984375, -0.045623779296875, 0.0167999267578125, 0.0236053466796875, -0.0016078948974609375, 0.016571044921875, 0.044158935546875, -0.03387451171875, -0.004856109619140625, -0.007114410400390625, -0.04705810546875, -0.0152435302734375, 0.04205322265625, -0.0323486328125, 0.005603790283203125, 0.0245208740234375, 0.06414794921875, -0.00476837158203125, 0.04193115234375, -0.01898193359375, 0.0174560546875, 0.058197021484375, -0.0457763671875, 0.039031982421875, -0.0305938720703125, 0.043670654296875, 0.054168701171875, -0.045928955078125, 0.046539306640625, -0.02081298828125, 0.020965576171875, -0.0477294921875, 0.022735595703125, 0.003570556640625, -0.04339599609375, 0.000942230224609375, 0.03302001953125, 0.006534576416015625, 0.06927490234375, -0.0258026123046875, -0.04833984375, 0.0188140869140625, 0.00897979736328125, -0.0838623046875, -0.10345458984375, 0.042572021484375, -0.01959228515625, -0.040496826171875, -0.0482177734375, -0.03204345703125, 0.007076263427734375, -0.06463623046875, -0.023712158203125, 0.00490570068359375, -0.03216552734375, -0.0753173828125, -0.05755615234375, -0.055908203125, -0.0052642822265625, -0.01113128662109375, -0.00811767578125, -0.00830078125, 0.0113372802734375, -0.0129241943359375, -0.0214691162109375, -0.014373779296875, 0.03125, -0.006160736083984375, -0.040496826171875, -0.022979736328125, -0.03857421875, -0.004222869873046875, 0.0035762786865234375, -0.0008878707885742188, -0.0259246826171875, 0.036956787109375, -0.015716552734375, 0.0019054412841796875, 0.032562255859375, 0.036956787109375, -0.0215301513671875, -0.0247039794921875, 0.042938232421875, 0.0260162353515625, -0.00988006591796875, -0.0018215179443359375, -0.043212890625, -0.0423583984375, 0.02337646484375, 0.0194549560546875, 0.017822265625, -0.0184783935546875, 0.008453369140625, 0.01715087890625, -0.006084442138671875, 0.028839111328125, -0.0278472900390625, 0.0239105224609375, 0.006656646728515625, 0.0195465087890625, -0.0345458984375, -0.00897979736328125, -0.0374755859375, 0.0479736328125, -0.01959228515625, -0.01531982421875, -0.01462554931640625, -0.023895263671875, -0.0250244140625, -0.047760009765625, 0.081787109375, 0.051177978515625, 0.03448486328125, -0.040008544921875, -0.076416015625, -0.0250396728515625, 0.117431640625, 0.01171112060546875, -0.027587890625, -0.0113525390625, 0.0129852294921875, -0.03839111328125, -0.060546875, -0.01666259765625, 0.00592041015625, -0.077392578125, 0.01214599609375, 0.01473236083984375, -0.048309326171875, -0.017974853515625, 0.0077056884765625, -0.0635986328125, -0.024078369140625, 0.0281219482421875, -0.01041412353515625, -0.0033931732177734375, 0.027923583984375, -0.02239990234375, 0.0204620361328125, -0.0208892822265625, -0.007579803466796875, -0.043212890625, -0.03668212890625, 0.01104736328125, 0.0601806640625, 0.0035400390625, -0.0330810546875, -0.0089874267578125, 0.0270843505859375, -0.01067352294921875, -0.0045013427734375, -0.005584716796875, 0.0341796875, -0.011505126953125, -0.0289764404296875, -0.01216888427734375, -0.042236328125, -0.046844482421875, -0.048919677734375, 0.0084686279296875, 0.0119781494140625, -0.020904541015625, 0.0005483627319335938, -0.0179443359375, 0.011474609375, -0.016937255859375, -0.034423828125, -0.01204681396484375, 0.039215087890625, -0.01580810546875, 0.0221405029296875, -0.048919677734375, -0.029937744140625, 0.03363037109375, 0.0693359375, -0.006076812744140625, -0.01232147216796875, 0.083984375, 0.0205230712890625, -0.050048828125, -0.048736572265625, -0.02484130859375, 0.0262908935546875, -0.005523681640625, 0.01641845703125, 0.00806427001953125, -0.03741455078125, 0.07061767578125, -0.0005464553833007812, 0.0181732177734375, -0.03424072265625, 0.05303955078125, -0.017303466796875, -0.01267242431640625, 0.0233612060546875, -0.034149169921875, 0.0257720947265625, 0.037353515625, 0.0208892822265625, -0.0533447265625, -0.0099334716796875, 0.04156494140625, 0.01861572265625, -0.00023639202117919922, -0.02264404296875, -0.01299285888671875, 0.0189971923828125, -0.06365966796875, 0.006732940673828125, -0.02191162109375, 0.0036334991455078125, -0.0186004638671875, 0.010223388671875, -0.01392364501953125, 0.007686614990234375, 0.0228271484375, 0.0252532958984375, 0.0035190582275390625, 0.024261474609375, -0.01947021484375, -0.03228759765625, 0.0030422210693359375, 0.045745849609375, -0.025909423828125, -0.060760498046875, -0.01428985595703125, -0.019134521484375, 0.038299560546875, 0.051239013671875, -0.054290771484375, 0.035308837890625, 0.06829833984375, -0.045166015625, 0.0022678375244140625, -0.02099609375, -0.00732421875, -0.059417724609375, -0.0167083740234375, 0.0146942138671875, -0.022979736328125, -0.017364501953125, 0.11016845703125, -0.00323486328125, 0.047393798828125, -0.0222625732421875, 0.05224609375, -0.0068817138671875, 0.044158935546875, -0.0006852149963378906, -0.00838470458984375, -0.0019283294677734375, 0.04376220703125, -0.0234222412109375, -0.04022216796875, 0.01456451416015625, 0.0191802978515625, 0.0235137939453125, 0.0145111083984375, -0.025970458984375, 0.0283355712890625, -0.0123291015625, -0.0039215087890625, 0.0003285408020019531, -0.0171356201171875, -0.02703857421875, -0.013397216796875, 0.0231170654296875, 0.026458740234375, 0.00347900390625, 0.0238494873046875, -0.0286407470703125, 0.0030040740966796875, 0.0357666015625, -0.055694580078125, 0.03021240234375, -0.0179901123046875, -0.013397216796875, 0.006786346435546875, -0.00852203369140625, -0.01317596435546875, -0.0220489501953125, -0.0225372314453125, -0.003204345703125, -0.003681182861328125, 0.053466796875, -0.01111602783203125, 0.0222320556640625, -0.028350830078125, 0.005962371826171875, 0.00386810302734375, 0.007534027099609375, 0.044219970703125, 0.001590728759765625, 0.0108184814453125, -0.029083251953125, 0.0112457275390625, 0.003326416015625, 0.07061767578125, -0.02801513671875, 0.017303466796875, -0.03131103515625, -0.0248870849609375, 0.0247802734375, -0.0238189697265625, 0.0018672943115234375, 0.027740478515625, 0.0228729248046875, -0.02496337890625, 0.034912109375, 0.002338409423828125, 0.04229736328125, -0.0247802734375, 0.0248870849609375, 0.01134490966796875, 0.036468505859375, 0.005535125732421875, -0.0311126708984375, 0.00917816162109375, -0.01003265380859375, -0.03253173828125, -0.005855560302734375, 0.00989532470703125, -0.02203369140625, 0.017547607421875, -0.0194244384765625, 0.0238189697265625, -0.0119476318359375, 0.0070343017578125, -0.0112152099609375, -0.04937744140625, -0.0218963623046875, 0.0013675689697265625, 0.0195465087890625, -0.054931640625, -0.03277587890625, 0.0269012451171875, 0.0330810546875, -0.0016021728515625, -0.033233642578125, 0.0031108856201171875, 0.03924560546875, -0.0294189453125, 0.06011962890625, 0.11065673828125, 0.0245361328125, 0.053558349609375, 0.0012769699096679688, 0.0167694091796875, 0.00005710124969482422, 0.00922393798828125, -0.00457763671875, -0.0131378173828125, 0.07489013671875, 0.0206451416015625, -0.01493072509765625, 0.056060791015625, -0.0238800048828125, 0.0208587646484375, -0.007007598876953125, 0.05377197265625, -0.01534271240234375, 0.033599853515625, 0.0430908203125, -0.0243988037109375, -0.005451202392578125, 0.016693115234375, -0.0291290283203125, -0.048553466796875, 0.01055908203125, -0.035888671875, -0.0174560546875, 0.0029048919677734375, 0.0034332275390625, -0.017303466796875, -0.048858642578125, 0.00414276123046875, 0.0083770751953125, 0.032928466796875, 0.01560211181640625, -0.0159912109375, 0.01132965087890625, -0.0298614501953125, -0.0151824951171875, 0.0023040771484375, -0.0303192138671875, -0.0772705078125, -0.0206451416015625, -0.0372314453125, 0.004016876220703125, 0.0090789794921875, 0.07061767578125, 0.039703369140625, 0.017730712890625, 0.044219970703125, -0.047637939453125, -0.031982421875, 0.044921875, -0.0210418701171875, -0.054229736328125, -0.0295562744140625, 0.0305633544921875, -0.0032482147216796875, 0.0279541015625, 0.028411865234375, -0.04296875, -0.0037784576416015625, -0.0195465087890625, 0.052032470703125, -0.061279296875, 0.009185791015625, 0.05126953125, 0.043243408203125, -0.0248260498046875, 0.018096923828125, 0.0018987655639648438, -0.0004761219024658203, 0.05078125, 0.004711151123046875, 0.0391845703125, -0.003368377685546875, 0.0139617919921875, -0.080810546875, 0.05072021484375, 0.019989013671875, 0.0236358642578125, -0.01351165771484375, 0.0121612548828125, -0.0164947509765625, -0.007549285888671875, -0.0262451171875, 0.0435791015625, -0.0155029296875, 0.021759033203125, -0.05419921875, -0.00832366943359375, -0.0015344619750976562, 0.044586181640625, 0.0889892578125, 0.019378662109375, -0.020721435546875, -0.0214385986328125, 0.02703857421875, 0.05078125, -0.004016876220703125, 0.01171112060546875, -0.00994873046875, 0.055389404296875, 0.060333251953125, -0.095458984375, 0.024139404296875, -0.054962158203125, 0.02337646484375, 0.00395965576171875, 0.01387786865234375, 0.006832122802734375, -0.0214996337890625, -0.028228759765625, -0.0013217926025390625, -0.013397216796875, -0.001323699951171875, 0.004058837890625, 0.032257080078125, 0.016876220703125, 0.042724609375, -0.028900146484375, 0.01885986328125, -0.02227783203125, 0.051788330078125, 0.0008101463317871094, -0.005031585693359375, 0.042694091796875, 0.00998687744140625, 0.04937744140625, 0.042510986328125, 0.0072784423828125, 0.02923583984375, 0.04107666015625, 0.06402587890625, 0.0296478271484375, 0.00868988037109375, -0.05633544921875, 0.0300445556640625, 0.03802490234375, 0.062408447265625, -0.06402587890625, 0.019317626953125, 0.0236358642578125, -0.00629425048828125, -0.015838623046875, -0.0399169921875, 0.0178375244140625, 0.011962890625, -0.01407623291015625, -0.034912109375, -0.026458740234375, -0.0090789794921875, 0.056915283203125, -0.007843017578125, -0.007171630859375, -0.0299530029296875, -0.066162109375, -0.05621337890625, -0.00189208984375, 0.029876708984375, 0.051727294921875, 0.046142578125, 0.042236328125, 0.0218505859375, -0.031524658203125, -0.01052093505859375, 0.0196533203125, 0.0204925537109375, -0.00772857666015625, -0.036407470703125, -0.026092529296875, 0.021240234375, 0.042633056640625, 0.01329803466796875, -0.0021266937255859375, 0.0291900634765625, 0.0247650146484375, -0.042999267578125, -0.01071929931640625, 0.035247802734375, -0.0262298583984375, 0.01189422607421875, -0.041259765625, 0.01428985595703125, -0.00878143310546875, 0.0106964111328125, -0.01617431640625, 0.044921875, -0.00005990266799926758, 0.01146697998046875, 0.042022705078125, 0.01279449462890625, 0.028961181640625, 0.006526947021484375, 0.0035190582275390625, -0.0272979736328125, 0.02667236328125, -0.045654296875, 0.0046844482421875, -0.0006165504455566406, -0.0452880859375, 0.004383087158203125, 0.0231781005859375, -0.035308837890625, 0.0419921875, -0.02276611328125, -0.00018465518951416016, -0.006343841552734375, 0.02069091796875, 0.00138092041015625, 0.04046630859375, 0.024932861328125, 0.0104217529296875, -0.061676025390625, -0.0460205078125, 0.01026153564453125, 0.0210418701171875, 0.00528717041015625, 0.006832122802734375, 0.0178375244140625, 0.01438140869140625, -0.057373046875, 0.00960540771484375, -0.042449951171875, -0.0297088623046875, -0.004108428955078125, 0.006374359130859375, 0.0015783309936523438, 0.0034465789794921875, 0.0008215904235839844, 0.0074920654296875, 0.042236328125, 0.00824737548828125, -0.01015472412109375, -0.0200653076171875, 0.0262603759765625, 0.0085601806640625, -0.004749298095703125, -0.02508544921875, -0.01096343994140625, -0.038909912109375, -0.0157318115234375, 0.05706787109375, 0.05364990234375, -0.0247344970703125, 0.00665283203125, 0.0095062255859375, -0.012847900390625, 0.0223388671875, 0.013214111328125, 0.034515380859375, 0.045440673828125, -0.05859375, 0.0023975372314453125, 0.01451873779296875, -0.01983642578125, 0.0311126708984375, -0.00083160400390625, 0.0195465087890625, 0.01404571533203125, -0.038726806640625, -0.0107421875, 0.0158843994140625, 0.03704833984375, -0.01641845703125, 0.00452423095703125, 0.006008148193359375, -0.0052642822265625, 0.017578125, -0.0118560791015625, -0.019683837890625, -0.01410675048828125, -0.00672149658203125, 0.023651123046875, 0.00273895263671875, 0.010650634765625, -0.0013437271118164062, -0.0216217041015625, -0.0078277587890625, -0.00020873546600341797, 0.0013294219970703125, 0.0021724700927734375, 0.0023059844970703125, -0.0237579345703125, -0.0225067138671875, -0.01290130615234375, 0.0104827880859375, 0.03570556640625, -0.0111083984375, -0.016387939453125, -0.0037899017333984375, 0.0264739990234375, 0.0208282470703125, 0.0224151611328125, 0.01971435546875, -0.03167724609375, 0.006999969482421875, 0.01221466064453125, 0.0220489501953125, 0.028564453125, 0.042694091796875, -0.022491455078125, -0.00885772705078125, 0.0186614990234375, -0.00801849365234375, -0.09356689453125, 0.00439453125, -0.09393310546875, -0.0008716583251953125, -0.0103759765625, 0.00727081298828125, 0.03350830078125, -0.011505126953125, -0.06103515625, 0.06280517578125, -0.0306549072265625, -0.0297698974609375, -0.027191162109375, -0.0264434814453125, 0.020477294921875, 0.005756378173828125, -0.01093292236328125, -0.0192718505859375, -0.07403564453125, -0.00725555419921875, 0.044647216796875, -0.0305633544921875, 0.06658935546875, 0.0283203125, -0.0740966796875, 0.0058441162109375, -0.019134521484375, 0.0031585693359375, -0.031585693359375, 0.014312744140625, -0.000011205673217773438, 0.0087890625, -0.07269287109375, -0.003574371337890625, -0.0037994384765625, 0.08642578125, 0.0080413818359375, -0.062469482421875, -0.031280517578125, -0.00531005859375, 0.033172607421875, 0.04473876953125, 0.008087158203125, -0.05902099609375, 0.01885986328125, -0.02392578125, -0.0352783203125, -0.0196685791015625, 0.0221710205078125, -0.0716552734375, -0.0236968994140625, 0.0286102294921875, -0.0197906494140625, 0.0200042724609375, -0.03192138671875, -0.0121917724609375, 0.0137176513671875, -0.003032684326171875, -0.0157318115234375, 0.0138092041015625, -0.00027489662170410156, 0.0517578125, -0.042816162109375, -0.0293731689453125, 0.00042319297790527344, 0.01702880859375, -0.007205963134765625, -0.03045654296875, 0.0241851806640625, -0.0041351318359375, -0.0026035308837890625, 0.030670166015625, 0.022857666015625, -0.0013475418090820312, -0.015869140625, -0.042816162109375, -0.0019817352294921875, 0.00461578369140625, 0.01198577880859375, 0.01235198974609375, -0.01285552978515625, -0.03564453125, -0.01448822021484375, -0.00685882568359375, -0.0160980224609375, 0.061981201171875, -0.022247314453125, 0.052398681640625, -0.0227203369140625, -0.0122528076171875, 0.0183868408203125, -0.0128326416015625, -0.01045989990234375, 0.016876220703125, -0.00589752197265625, -0.0582275390625, 0.044830322265625, 0.023162841796875, 0.0154571533203125, 0.0298004150390625 ]
b9bbe091b928be461d1703a55d5e2874986d353b
Wordpress Stackexchange Q: How can I fix fatal RevSlider error in dashboard after upgrading to PHP 7? I can access the public side of the site. But the dashboard comes up blank. The log shows an error pointing to the RevSlider plugin: PHP Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/html/wp-content/plugins/revslider/includes/framework/base-admin.class.php:141 Here's the full trace: #0 /var/www/html/wp-content/plugins/revslider/admin/revslider-admin.class.php(1143): RevSliderBaseAdmin::addMetaBox('Revolution Slid...', '', Array, NULL) #1 /var/www/html/wp-content/plugins/revslider/admin/revslider-admin.class.php(145): RevSliderAdmin->addSliderMetaBox() #2 /var/www/html/wp-content/plugins/revslider/admin/revslider-admin.class.php(87): RevSliderAdmin->init() #3 /var/www/html/wp-content/plugins/revslider/revslider.php(327): RevSliderAdmin->__construct('/var/www/html/w...') #4 /var/www/html/wp-settings.php(304): include_once('/var/www/html/w...') #5 /var/www/html/wp-config.php(81): require_once('/var/www/html/w...') #6 /var/www/html/wp-load.php(37): require_once('/var/www/html/w...') #7 /var/www/html/wp-admin/admin-ajax.php(22): require_once('/var/www/html/w...') #8 {main} thrown in /var/www/html/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 141, referer: https://192.168.16.18/wp-admin/plugins.php A: I was able to fix the error by hotfixing the RevSlider plugin on my server as documented here. In revslider/includes/framework/base-admin.class.php, I changed the following line (l. 21 of my version) from: private static $arrMetaBoxes = ''; //option boxes that will be added to post to: private static $arrMetaBoxes = array(); //option boxes that will be added to post
Q: How can I fix fatal RevSlider error in dashboard after upgrading to PHP 7? I can access the public side of the site. But the dashboard comes up blank. The log shows an error pointing to the RevSlider plugin: PHP Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/html/wp-content/plugins/revslider/includes/framework/base-admin.class.php:141 Here's the full trace: #0 /var/www/html/wp-content/plugins/revslider/admin/revslider-admin.class.php(1143): RevSliderBaseAdmin::addMetaBox('Revolution Slid...', '', Array, NULL) #1 /var/www/html/wp-content/plugins/revslider/admin/revslider-admin.class.php(145): RevSliderAdmin->addSliderMetaBox() #2 /var/www/html/wp-content/plugins/revslider/admin/revslider-admin.class.php(87): RevSliderAdmin->init() #3 /var/www/html/wp-content/plugins/revslider/revslider.php(327): RevSliderAdmin->__construct('/var/www/html/w...') #4 /var/www/html/wp-settings.php(304): include_once('/var/www/html/w...') #5 /var/www/html/wp-config.php(81): require_once('/var/www/html/w...') #6 /var/www/html/wp-load.php(37): require_once('/var/www/html/w...') #7 /var/www/html/wp-admin/admin-ajax.php(22): require_once('/var/www/html/w...') #8 {main} thrown in /var/www/html/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 141, referer: https://192.168.16.18/wp-admin/plugins.php A: I was able to fix the error by hotfixing the RevSlider plugin on my server as documented here. In revslider/includes/framework/base-admin.class.php, I changed the following line (l. 21 of my version) from: private static $arrMetaBoxes = ''; //option boxes that will be added to post to: private static $arrMetaBoxes = array(); //option boxes that will be added to post
wordpress
{ "language": "en", "length": 154, "provenance": "stackexchange_00019.jsonl.gz:474268", "question_score": "55", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/260187" }
[ 0.0421142578125, -0.0469970703125, -0.048675537109375, -0.06890869140625, 0.0033397674560546875, -0.037506103515625, 0.0032253265380859375, 0.0577392578125, 0.0223236083984375, 0.0038928985595703125, -0.049957275390625, 0.0219573974609375, -0.050811767578125, 0.00669097900390625, -0.017578125, -0.024749755859375, 0.04522705078125, -0.033233642578125, 0.035491943359375, 0.01422882080078125, 0.003170013427734375, 0.0430908203125, 0.0369873046875, 0.01528167724609375, -0.0195159912109375, -0.0005383491516113281, 0.05462646484375, -0.050933837890625, -0.008514404296875, -0.04449462890625, -0.0028324127197265625, 0.0011606216430664062, 0.036376953125, 0.0020465850830078125, -0.0245513916015625, -0.01122283935546875, 0.006649017333984375, -0.0038051605224609375, -0.03558349609375, 0.050140380859375, 0.0325927734375, -0.031951904296875, -0.018646240234375, 0.034210205078125, -0.012847900390625, -0.040313720703125, 0.03765869140625, -0.048065185546875, 0.02435302734375, 0.02093505859375, 0.016632080078125, 0.0472412109375, 0.00885772705078125, 0.0482177734375, -0.00409698486328125, -0.0011377334594726562, -0.01056671142578125, 0.06500244140625, 0.0206756591796875, 0.010986328125, -0.0201568603515625, 0.020050048828125, -0.008056640625, -0.027069091796875, -0.01983642578125, -0.025421142578125, 0.035308837890625, 0.019989013671875, -0.05242919921875, -0.020477294921875, 0.039459228515625, 0.004795074462890625, -0.007110595703125, -0.01172637939453125, 0.02166748046875, -0.0109100341796875, 0.006114959716796875, -0.004245758056640625, 0.000881195068359375, 0.0249786376953125, 0.031341552734375, 0.001338958740234375, 0.033294677734375, -0.01410675048828125, 0.015716552734375, 0.040008544921875, -0.0196990966796875, -0.0180511474609375, -0.006359100341796875, 0.0007886886596679688, -0.0109710693359375, 0.01129150390625, -0.02490234375, 0.0197906494140625, 0.00016820430755615234, -0.01100921630859375, 0.03076171875, 0.023468017578125, -0.0009188652038574219, 0.006744384765625, -0.009674072265625, -0.041290283203125, 0.033721923828125, -0.0244293212890625, 0.029205322265625, 0.031585693359375, -0.04376220703125, 0.0300140380859375, 0.07177734375, 0.02789306640625, 0.033843994140625, 0.0247650146484375, -0.00036978721618652344, -0.017059326171875, -0.0196380615234375, 0.00007659196853637695, -0.00341033935546875, -0.027252197265625, -0.008392333984375, -0.0176544189453125, -0.004512786865234375, 0.02740478515625, -0.07379150390625, -0.00514984130859375, -0.0167999267578125, -0.026947021484375, 0.0056610107421875, 0.0308380126953125, -0.003589630126953125, -0.02301025390625, -0.0179595947265625, 0.039703369140625, 0.051910400390625, 0.0218048095703125, -0.0007958412170410156, -0.0005087852478027344, 0.0303192138671875, 0.0079345703125, 0.01016998291015625, 0.0284271240234375, -0.0039825439453125, -0.068603515625, -0.035491943359375, 0.0018796920776367188, 0.00899505615234375, 0.029876708984375, 0.031951904296875, -0.003894805908203125, -0.01427459716796875, -0.048431396484375, 0.0311279296875, -0.0418701171875, 0.0147247314453125, 0.02978515625, 0.005527496337890625, -0.01087188720703125, 0.05523681640625, -0.03173828125, -0.01329803466796875, -0.041473388671875, 0.011962890625, -0.0115203857421875, 0.00160980224609375, -0.04931640625, -0.056884765625, -0.0030689239501953125, -0.044708251953125, 0.0018520355224609375, 0.0125579833984375, 0.012054443359375, -0.0177001953125, -0.019683837890625, -0.001895904541015625, 0.00624847412109375, -0.0031604766845703125, 0.034759521484375, -0.006671905517578125, 0.005535125732421875, 0.0198974609375, 0.07489013671875, 0.0015611648559570312, -0.042144775390625, 0.006557464599609375, -0.00978851318359375, -0.05126953125, 0.0029201507568359375, -0.017364501953125, -0.0047454833984375, 0.0369873046875, -0.0126190185546875, 0.03271484375, 0.00922393798828125, 0.035003662109375, 0.044036865234375, -0.022186279296875, -0.0633544921875, -0.0439453125, -0.005702972412109375, -0.041259765625, 0.0187225341796875, 0.0217437744140625, 0.007781982421875, 0.01678466796875, -0.031402587890625, -0.05743408203125, 0.0033626556396484375, -0.016998291015625, 0.04644775390625, -0.0309295654296875, 0.0516357421875, 0.04290771484375, 0.039764404296875, -0.08355712890625, 0.048553466796875, 0.0121917724609375, -0.044952392578125, -0.0308837890625, 0.035400390625, 0.009063720703125, 0.054473876953125, 0.0389404296875, -0.0386962890625, 0.028076171875, -0.0034389495849609375, 0.0712890625, 0.0249786376953125, -0.0142364501953125, 0.00028061866760253906, 0.0784912109375, 0.003993988037109375, 0.0141143798828125, 0.00995635986328125, 0.0028476715087890625, 0.00006961822509765625, -0.0252227783203125, -0.0098876953125, -0.03546142578125, -0.10076904296875, 0.011260986328125, 0.0699462890625, 0.04351806640625, 0.005764007568359375, -0.010986328125, -0.0222930908203125, 0.001689910888671875, -0.08734130859375, -0.00292205810546875, -0.02166748046875, -0.03826904296875, -0.040985107421875, 0.01055908203125, 0.016571044921875, 0.048858642578125, 0.044403076171875, 0.0281982421875, 0.0261688232421875, 0.0025234222412109375, -0.00931549072265625, -0.014373779296875, 0.01381683349609375, 0.024627685546875, 0.006290435791015625, -0.033050537109375, 0.021087646484375, -0.0229339599609375, -0.0293731689453125, -0.034149169921875, -0.023529052734375, -0.002956390380859375, -0.025848388671875, 0.021636962890625, -0.0533447265625, -0.0100860595703125, 0.0161590576171875, 0.0224609375, 0.03582763671875, -0.0560302734375, 0.0094451904296875, 0.01154327392578125, 0.007564544677734375, 0.01172637939453125, 0.059906005859375, 0.027679443359375, -0.0103302001953125, -0.0073394775390625, 0.0004165172576904297, 0.01328277587890625, 0.00963592529296875, 0.0189666748046875, 0.0153656005859375, 0.045745849609375, 0.0021762847900390625, -0.0187225341796875, 0.0239715576171875, -0.01393890380859375, -0.0209197998046875, 0.060546875, 0.054443359375, -0.0253753662109375, 0.05572509765625, 0.09173583984375, 0.038543701171875, -0.0034542083740234375, 0.0206298828125, -0.007289886474609375, 0.04803466796875, 0.0173797607421875, -0.004665374755859375, -0.00167083740234375, 0.003711700439453125, -0.018157958984375, -0.0021724700927734375, 0.035308837890625, -0.009796142578125, 0.032562255859375, -0.020355224609375, -0.0001360177993774414, 0.01258087158203125, -0.084228515625, -0.10479736328125, -0.004756927490234375, -0.052398681640625, -0.0195159912109375, 0.005340576171875, -0.0394287109375, 0.015106201171875, 0.0227203369140625, -0.008148193359375, 0.020751953125, -0.03759765625, -0.11651611328125, -0.06341552734375, -0.111083984375, -0.0023097991943359375, -0.00998687744140625, 0.01322174072265625, 0.011810302734375, 0.01465606689453125, -0.01180267333984375, -0.037384033203125, -0.0011072158813476562, 0.0082244873046875, -0.00383758544921875, -0.0010557174682617188, 0.016937255859375, 0.03814697265625, 0.007720947265625, 0.0228118896484375, -0.001483917236328125, 0.035675048828125, -0.06268310546875, -0.046478271484375, 0.01189422607421875, -0.0152130126953125, 0.00739288330078125, 0.0521240234375, -0.0014286041259765625, -0.0389404296875, 0.034332275390625, -0.05792236328125, -0.021331787109375, 0.01055145263671875, -0.0239715576171875, 0.039825439453125, 0.0037097930908203125, -0.017333984375, 0.00830078125, 0.0147857666015625, -0.02264404296875, 0.0079803466796875, 0.0045166015625, -0.0282440185546875, 0.013031005859375, -0.0207061767578125, -0.0158233642578125, -0.0012340545654296875, 0.028564453125, -0.022186279296875, -0.01361846923828125, -0.003238677978515625, -0.003597259521484375, 0.007755279541015625, -0.053131103515625, -0.01349639892578125, -0.042266845703125, 0.02496337890625, -0.057861328125, -0.0015172958374023438, -0.028900146484375, -0.00861358642578125, 0.00431060791015625, 0.061920166015625, -0.060333251953125, -0.03594970703125, 0.0186309814453125, -0.0003826618194580078, 0.016326904296875, 0.0318603515625, -0.0216217041015625, -0.035430908203125, -0.066162109375, -0.022705078125, -0.0023975372314453125, -0.054840087890625, 0.0184326171875, -0.007534027099609375, -0.01430511474609375, -0.04046630859375, 0.044921875, -0.0303955078125, 0.002044677734375, 0.034088134765625, 0.0011072158813476562, 0.0024204254150390625, -0.021453857421875, -0.01544952392578125, -0.10040283203125, -0.0401611328125, -0.004062652587890625, 0.1185302734375, 0.0235595703125, -0.02325439453125, -0.038238525390625, 0.06707763671875, -0.01508331298828125, -0.060699462890625, 0.0261383056640625, 0.038055419921875, -0.0257110595703125, 0.0235595703125, -0.0113677978515625, -0.0013494491577148438, 0.01447296142578125, -0.00620269775390625, -0.0067596435546875, 0.0352783203125, -0.049224853515625, -0.004230499267578125, -0.0009832382202148438, -0.0257720947265625, -0.038299560546875, -0.027313232421875, -0.0107421875, 0.022247314453125, -0.025970458984375, 0.01160430908203125, -0.0228729248046875, -0.046295166015625, 0.0209808349609375, -0.0208740234375, -0.01519775390625, 0.00849151611328125, 0.037872314453125, 0.0178375244140625, -0.0254669189453125, 0.0160369873046875, -0.00838470458984375, 0.04058837890625, 0.0294952392578125, 0.020660400390625, 0.00836944580078125, -0.039306640625, 0.04693603515625, 0.00897216796875, 0.030609130859375, -0.05853271484375, -0.00743865966796875, -0.0172119140625, -0.0204010009765625, 0.004512786865234375, -0.0013837814331054688, 0.04376220703125, -0.0222015380859375, -0.018829345703125, 0.017181396484375, 0.0024585723876953125, 0.0066986083984375, -0.01114654541015625, 0.0340576171875, -0.01534271240234375, -0.042236328125, 0.0124359130859375, -0.0192108154296875, 0.0535888671875, 0.0025997161865234375, 0.0203094482421875, 0.023773193359375, 0.039276123046875, 0.0283355712890625, 0.0264129638671875, 0.02703857421875, -0.0164031982421875, 0.0296783447265625, 0.069091796875, 0.0130157470703125, 0.01087188720703125, -0.01157379150390625, -0.0007944107055664062, 0.016632080078125, -0.0247650146484375, -0.015350341796875, 0.01715087890625, 0.042236328125, -0.033843994140625, 0.02227783203125, 0.0048675537109375, 0.0023555755615234375, 0.00907135009765625, 0.024200439453125, 0.042999267578125, -0.0205230712890625, 0.01126861572265625, 0.033294677734375, 0.0028533935546875, -0.006137847900390625, -0.00799560546875, 0.028106689453125, 0.05596923828125, -0.020111083984375, -0.034637451171875, -0.005260467529296875, 0.007720947265625, 0.055816650390625, -0.006511688232421875, -0.01532745361328125, 0.020538330078125, 0.031463623046875, 0.03955078125, -0.05859375, 0.02191162109375, 0.01421356201171875, 0.07977294921875, 0.0245361328125, -0.0567626953125, 0.00975799560546875, -0.0560302734375, -0.032684326171875, 0.0309295654296875, -0.0149383544921875, -0.059844970703125, -0.0199127197265625, 0.0311126708984375, 0.0011539459228515625, -0.00414276123046875, -0.009063720703125, 0.016387939453125, 0.00766754150390625, 0.031982421875, 0.06573486328125, -0.02447509765625, 0.0148162841796875, 0.0055389404296875, 0.0177764892578125, 0.01079559326171875, -0.0118560791015625, -0.0229949951171875, -0.027618408203125, -0.0100250244140625, -0.02496337890625, 0.042144775390625, -0.01535797119140625, 0.0008096694946289062, -0.0197296142578125, 0.01361846923828125, -0.035064697265625, 0.01222991943359375, 0.0108184814453125, 0.00855255126953125, 0.03802490234375, 0.0117950439453125, -0.029388427734375, -0.036529541015625, 0.056732177734375, -0.00830841064453125, -0.045654296875, -0.0296173095703125, 0.00249481201171875, -0.02166748046875, 0.014190673828125, 0.01502227783203125, -0.048187255859375, 0.03900146484375, 0.0389404296875, -0.000553131103515625, -0.0249176025390625, 0.04150390625, 0.04339599609375, 0.0187835693359375, 0.0025577545166015625, -0.00872802734375, -0.0006313323974609375, -0.01861572265625, 0.02490234375, -0.007457733154296875, -0.0245513916015625, -0.03594970703125, 0.00860595703125, -0.00862884521484375, 0.038482666015625, -0.005153656005859375, 0.008331298828125, -0.00604248046875, -0.0241241455078125, -0.0192108154296875, 0.020294189453125, 0.01439666748046875, 0.0149078369140625, 0.0134124755859375, -0.0019178390502929688, 0.016571044921875, -0.0139617919921875, 0.0218505859375, -0.026397705078125, -0.004665374755859375, -0.02264404296875, 0.004535675048828125, -0.05584716796875, 0.043853759765625, 0.09228515625, 0.0367431640625, 0.0755615234375, -0.00614166259765625, 0.033447265625, 0.04705810546875, 0.0430908203125, 0.029510498046875, -0.0213623046875, 0.040679931640625, -0.0163421630859375, -0.0146636962890625, -0.003154754638671875, -0.021026611328125, 0.0097808837890625, 0.067138671875, 0.053680419921875, -0.09228515625, -0.01319122314453125, -0.0097808837890625, -0.050323486328125, 0.00887298583984375, -0.0235595703125, -0.0181121826171875, 0.0087127685546875, 0.007282257080078125, -0.0028057098388671875, -0.043182373046875, -0.01312255859375, 0.0255279541015625, -0.0146942138671875, -0.01494598388671875, 0.0010404586791992188, 0.0072784423828125, -0.0225677490234375, 0.01392364501953125, 0.00472259521484375, 0.004352569580078125, -0.0163116455078125, -0.01389312744140625, 0.03228759765625, -0.02935791015625, -0.0560302734375, 0.01136016845703125, -0.0205078125, -0.0080108642578125, -0.03875732421875, 0.0018701553344726562, 0.036163330078125, 0.0165863037109375, 0.00893402099609375, -0.0545654296875, 0.0022640228271484375, -0.03912353515625, 0.057952880859375, -0.020416259765625, -0.0029125213623046875, 0.033447265625, -0.044525146484375, 0.0023040771484375, 0.00267791748046875, 0.0172271728515625, 0.0012760162353515625, -0.048370361328125, 0.0226593017578125, -0.01763916015625, -0.0057220458984375, -0.01117706298828125, -0.0093994140625, 0.016510009765625, -0.01129913330078125, -0.0302734375, -0.0311279296875, -0.0303497314453125, -0.018890380859375, -0.06304931640625, 0.01983642578125, -0.034210205078125, -0.01348114013671875, 0.04376220703125, -0.03741455078125, -0.0013647079467773438, 0.032928466796875, 0.024444580078125, -0.0284423828125, 0.00843048095703125, 0.0240631103515625, -0.00180816650390625, -0.00681304931640625, -0.060333251953125, 0.00603485107421875, 0.00734710693359375, -0.031463623046875, 0.0209808349609375, -0.065673828125, -0.01042938232421875, -0.0204315185546875, 0.0169219970703125, 0.0226593017578125, 0.037811279296875, 0.039703369140625, 0.011505126953125, -0.0101165771484375, 0.0168914794921875, 0.020721435546875, -0.043365478515625, 0.0010690689086914062, -0.00614166259765625, -0.0192413330078125, 0.01318359375, -0.006626129150390625, 0.011505126953125, -0.005901336669921875, -0.0209808349609375, 0.0091400146484375, -0.0023651123046875, -0.0228424072265625, 0.0206298828125, -0.01287841796875, 0.021575927734375, -0.01224517822265625, 0.02301025390625, -0.03955078125, 0.0061798095703125, 0.00437164306640625, 0.004253387451171875, -0.0308990478515625, 0.04803466796875, 0.00628662109375, -0.0430908203125, 0.00705718994140625, -0.00467681884765625, -0.00795745849609375, 0.0193328857421875, 0.03033447265625, 0.02593994140625, 0.026123046875, -0.00832366943359375, 0.0012006759643554688, 0.0207672119140625, 0.043060302734375, -0.030303955078125, -0.059906005859375, -0.005863189697265625, 0.0008068084716796875, 0.020172119140625, 0.033294677734375, 0.0096588134765625, 0.00649261474609375, 0.01678466796875, -0.014739990234375, -0.0031585693359375, 0.0200042724609375, -0.007640838623046875, 0.01361846923828125, 0.0135650634765625, 0.0161285400390625, 0.021514892578125, -0.005260467529296875, -0.05255126953125, 0.0111236572265625, 0.06439208984375, 0.032501220703125, 0.0238494873046875, -0.04461669921875, -0.024688720703125, -0.0020999908447265625, 0.038787841796875, -0.016448974609375, 0.01136016845703125, -0.055267333984375, -0.07818603515625, 0.034698486328125, 0.037506103515625, 0.0009274482727050781, -0.0167388916015625, 0.00974273681640625, 0.01232147216796875, -0.0170135498046875, -0.011932373046875, 0.01280975341796875, -0.013092041015625, -0.03631591796875, 0.000980377197265625, -0.0039825439453125, 0.024627685546875, 0.00722503662109375, -0.01045989990234375, 0.0297088623046875, -0.00493621826171875, 0.031219482421875, 0.0126800537109375, 0.0269622802734375, 0.01446533203125, 0.044403076171875, 0.050933837890625, 0.037384033203125, 0.0726318359375, -0.0016584396362304688, -0.001232147216796875, -0.002857208251953125, -0.031585693359375, -0.006488800048828125, 0.02960205078125, -0.01149749755859375, 0.0235595703125, -0.04144287109375, -0.0020961761474609375, 0.0261077880859375, -0.01385498046875, -0.0148773193359375, -0.00803375244140625, 0.0214080810546875, -0.031982421875, -0.03924560546875, -0.037811279296875, -0.03973388671875, 0.06182861328125, -0.0017786026000976562, 0.10052490234375, -0.05133056640625, 0.038665771484375, -0.0230865478515625, -0.003383636474609375, -0.0012159347534179688, -0.01397705078125, 0.00024080276489257812, 0.021270751953125, -0.0026912689208984375, -0.0236968994140625, -0.032379150390625, 0.0506591796875, 0.02099609375, -0.01052093505859375, 0.041168212890625, -0.0087127685546875, 0.0016469955444335938, -0.0225830078125, 0.0029735565185546875, -0.0184783935546875, -0.07049560546875, -0.0306854248046875, 0.03753662109375, 0.00921630859375, 0.06298828125, -0.0191497802734375, -0.0304718017578125, 0.028717041015625, -0.047943115234375, 0.0145111083984375, 0.01314544677734375, 0.0169525146484375, 0.0187530517578125, 0.0416259765625, -0.0194244384765625, -0.0311279296875, -0.00823974609375, -0.01152801513671875, 0.013580322265625, 0.01010894775390625, -0.0225067138671875, 0.0136566162109375, 0.0215911865234375, 0.0667724609375, 0.0599365234375, 0.01546478271484375, 0.03411865234375, 0.006191253662109375, -0.028961181640625, 0.0011272430419921875, -0.0435791015625, -0.00621795654296875, -0.03265380859375, -0.040802001953125, 0.0030078887939453125, -0.036224365234375, -0.045928955078125, -0.020904541015625, 0.004547119140625, 0.031707763671875, 0.01456451416015625, -0.08746337890625, 0.004024505615234375, -0.00841522216796875, 0.10211181640625, -0.0197296142578125, -0.0035572052001953125, 0.009124755859375, 0.037628173828125, -0.04217529296875, -0.01181793212890625, -0.015167236328125, -0.0078277587890625, -0.02197265625, 0.006938934326171875, 0.0401611328125, 0.00415802001953125, -0.01329803466796875, -0.022705078125, -0.025482177734375, 0.033111572265625, -0.045623779296875, 0.0020694732666015625, 0.01019287109375, 0.0119476318359375, -0.0406494140625, -0.07757568359375, 0.00021827220916748047, -0.039794921875, -0.0152435302734375, -0.0255584716796875, 0.011138916015625, 0.016937255859375, -0.041839599609375, -0.08355712890625, 0.0640869140625, -0.02801513671875, -0.0229644775390625, -0.038360595703125, -0.0115203857421875, 0.0159149169921875, 0.037689208984375, -0.00553131103515625, -0.027374267578125, -0.057220458984375, 0.004970550537109375, 0.045989990234375, -0.0556640625, 0.0699462890625, 0.0028934478759765625, -0.0582275390625, 0.0203857421875, 0.00384521484375, -0.0025157928466796875, -0.01090240478515625, 0.0244293212890625, -0.0026073455810546875, 0.048858642578125, -0.0244293212890625, -0.0167236328125, -0.017486572265625, -0.0253448486328125, 0.0128021240234375, 0.00033855438232421875, -0.0206146240234375, -0.0018177032470703125, 0.042755126953125, 0.0035800933837890625, 0.0170135498046875, -0.01971435546875, 0.004779815673828125, -0.06549072265625, -0.038818359375, -0.0196685791015625, 0.0190277099609375, -0.07080078125, 0.00405120849609375, 0.029449462890625, 0.0002865791320800781, 0.0142822265625, -0.005992889404296875, -0.022247314453125, -0.004241943359375, 0.00048542022705078125, -0.0114898681640625, -0.0167236328125, 0.01739501953125, 0.02294921875, -0.030487060546875, -0.005420684814453125, 0.0006999969482421875, -0.01412200927734375, 0.01013946533203125, 0.023193359375, 0.0109100341796875, 0.004749298095703125, -0.03564453125, 0.037322998046875, -0.00811767578125, 0.0411376953125, -0.051422119140625, -0.0276031494140625, 0.01361846923828125, 0.0254058837890625, -0.019805908203125, 0.0149688720703125, -0.025360107421875, 0.07879638671875, -0.01221466064453125, 0.05682373046875, -0.044219970703125, -0.004512786865234375, -0.03875732421875, 0.028350830078125, -0.050994873046875, 0.017425537109375, 0.002105712890625, -0.035003662109375, -0.00576019287109375, 0.0740966796875, 0.01514434814453125, -0.02447509765625, 0.0166473388671875, 0.01514434814453125, 0.05316162109375, -0.007495880126953125 ]
e4e08055ea4c3b358d00ed6958ad19e407461bd7
Wordpress Stackexchange Q: Wordpress behind Proxy - Mixed Content My Server Env for a wordpress site is as follows: ---------- --------- ------------- | Client | <-- HTTPS --> | Proxy | <-- HTTP --> | Wordpress | ---------- --------- ------------- The Problem is that the Wordpress Site itself is served internally over HTTP but the Client communicates over HTTPS with the Proxy. Since Wordpress is configured with HTTP it returns links and images-src with "http://" which leads to mixed-content errors in the browsers. (Eg. all css / script links generated by wp_head() return http:// urls) Can i configure Wordpress to generate only "https://" urls, even if it's serverd over HTTP? Wordpress runs on nginx webserver The Proxy is also nginx A: Please take a look at Administation Over SSL, particularly the "Using a Reverse Proxy" section.
Q: Wordpress behind Proxy - Mixed Content My Server Env for a wordpress site is as follows: ---------- --------- ------------- | Client | <-- HTTPS --> | Proxy | <-- HTTP --> | Wordpress | ---------- --------- ------------- The Problem is that the Wordpress Site itself is served internally over HTTP but the Client communicates over HTTPS with the Proxy. Since Wordpress is configured with HTTP it returns links and images-src with "http://" which leads to mixed-content errors in the browsers. (Eg. all css / script links generated by wp_head() return http:// urls) Can i configure Wordpress to generate only "https://" urls, even if it's serverd over HTTP? Wordpress runs on nginx webserver The Proxy is also nginx A: Please take a look at Administation Over SSL, particularly the "Using a Reverse Proxy" section. A: What about using a Force SSL plugin like this one?
wordpress
{ "language": "en", "length": 145, "provenance": "stackexchange_00019.jsonl.gz:474290", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/260284" }
[ 0.037078857421875, 0.01110076904296875, -0.0038471221923828125, 0.00966644287109375, 0.0175323486328125, -0.042633056640625, 0.0465087890625, -0.035614013671875, 0.00586700439453125, -0.0162506103515625, -0.04486083984375, 0.00560760498046875, -0.01297760009765625, -0.032623291015625, 0.032867431640625, -0.04180908203125, 0.0143585205078125, 0.0101470947265625, 0.006938934326171875, -0.0074462890625, 0.00188446044921875, 0.0206298828125, -0.017181396484375, -0.01507568359375, 0.036529541015625, -0.01464080810546875, 0.11236572265625, -0.034942626953125, 0.0304412841796875, -0.0158233642578125, 0.0283203125, -0.033935546875, 0.021148681640625, 0.0313720703125, -0.0643310546875, -0.006641387939453125, -0.031341552734375, 0.0128173828125, -0.03076171875, 0.0552978515625, 0.007476806640625, -0.003421783447265625, 0.06622314453125, 0.0160675048828125, 0.032257080078125, -0.033843994140625, 0.00335693359375, -0.10107421875, -0.0002465248107910156, 0.0224761962890625, 0.0021305084228515625, 0.0025196075439453125, 0.01293182373046875, 0.0169677734375, -0.0034160614013671875, -0.006103515625, 0.0239715576171875, -0.005725860595703125, 0.0289154052734375, -0.042144775390625, -0.037689208984375, 0.00688934326171875, 0.021881103515625, 0.00653076171875, 0.0207061767578125, -0.004085540771484375, 0.03857421875, 0.0178070068359375, -0.0777587890625, 0.007457733154296875, 0.06134033203125, -0.043212890625, -0.015472412109375, -0.0257110595703125, -0.0087127685546875, 0.06695556640625, -0.017669677734375, 0.0298309326171875, 0.0261383056640625, -0.01255035400390625, 0.0285186767578125, 0.046722412109375, -0.037384033203125, -0.0274810791015625, 0.01873779296875, 0.0008006095886230469, 0.0063018798828125, -0.037200927734375, -0.005962371826171875, 0.0213165283203125, -0.019287109375, 0.00513458251953125, -0.0025539398193359375, 0.0198211669921875, -0.0192718505859375, 0.0092926025390625, -0.01291656494140625, -0.01395416259765625, 0.02154541015625, 0.0225372314453125, 0.00910186767578125, -0.0426025390625, 0.0509033203125, -0.0360107421875, 0.013671875, 0.0167083740234375, -0.03363037109375, 0.0112762451171875, 0.0655517578125, 0.040191650390625, 0.0019426345825195312, 0.02935791015625, -0.02752685546875, -0.024261474609375, -0.0036983489990234375, 0.046905517578125, -0.0249176025390625, 0.0122222900390625, -0.010894775390625, 0.027099609375, 0.00220489501953125, 0.0257110595703125, 0.0006432533264160156, -0.0009527206420898438, 0.01837158203125, 0.01367950439453125, -0.003314971923828125, -0.03717041015625, -0.0164031982421875, 0.04486083984375, -0.0261993408203125, 0.0014715194702148438, 0.0689697265625, 0.03692626953125, 0.01496124267578125, -0.0301055908203125, 0.0224456787109375, -0.0284271240234375, -0.019561767578125, 0.03814697265625, -0.00977325439453125, -0.032562255859375, -0.006195068359375, -0.006443023681640625, 0.037445068359375, -0.00949859619140625, 0.00994873046875, 0.04705810546875, 0.021881103515625, 0.00792694091796875, 0.039459228515625, -0.0135955810546875, 0.034149169921875, 0.0037994384765625, 0.0292510986328125, -0.0085601806640625, 0.065673828125, -0.042938232421875, -0.04180908203125, -0.031585693359375, -0.004810333251953125, 0.02410888671875, 0.051971435546875, -0.01995849609375, -0.0255126953125, -0.0252838134765625, -0.038970947265625, -0.00927734375, 0.0307464599609375, 0.0292816162109375, 0.02508544921875, -0.035552978515625, 0.00962066650390625, 0.00017976760864257812, -0.01132965087890625, 0.00933074951171875, 0.00966644287109375, 0.0123748779296875, 0.0120849609375, 0.037078857421875, 0.0313720703125, -0.0153045654296875, 0.049530029296875, -0.00960540771484375, -0.04046630859375, 0.023345947265625, -0.0189056396484375, 0.043670654296875, 0.048828125, 0.017059326171875, -0.00662994384765625, 0.0093231201171875, -0.0272216796875, 0.06817626953125, -0.030426025390625, -0.054534912109375, -0.0452880859375, 0.000047206878662109375, -0.046783447265625, -0.01499176025390625, 0.01181793212890625, 0.01122283935546875, -0.01397705078125, -0.01110076904296875, -0.01395416259765625, -0.0126495361328125, -0.005733489990234375, 0.01483154296875, -0.00628662109375, 0.04376220703125, -0.001010894775390625, -0.023956298828125, -0.01322174072265625, -0.0014467239379882812, 0.00727081298828125, -0.0279541015625, -0.019287109375, 0.0038299560546875, -0.0078277587890625, 0.0078887939453125, -0.00713348388671875, -0.021087646484375, -0.00975799560546875, 0.01042938232421875, 0.0312347412109375, 0.031951904296875, -0.0210723876953125, 0.0161895751953125, 0.05816650390625, 0.035858154296875, 0.01207733154296875, -0.0096282958984375, 0.0115203857421875, 0.05487060546875, -0.0197601318359375, -0.015045166015625, -0.003948211669921875, -0.0292510986328125, 0.0168304443359375, 0.03521728515625, 0.031341552734375, -0.007541656494140625, -0.022247314453125, -0.01555633544921875, 0.0206756591796875, -0.047027587890625, 0.0082244873046875, -0.0104217529296875, 0.0206451416015625, -0.01184844970703125, -0.0115966796875, -0.040863037109375, 0.047149658203125, -0.060943603515625, 0.008575439453125, 0.04791259765625, -0.003063201904296875, -0.052093505859375, 0.0196075439453125, 0.004077911376953125, 0.027008056640625, 0.0193939208984375, -0.0323486328125, 0.0191802978515625, -0.0036754608154296875, -0.020172119140625, 0.0038967132568359375, -0.0046844482421875, -0.004169464111328125, -0.03179931640625, 0.0166473388671875, -0.0213623046875, 0.00447845458984375, 0.035186767578125, 0.0310516357421875, 0.0222015380859375, -0.0248870849609375, -0.005916595458984375, 0.0206298828125, 0.0292510986328125, -0.0246124267578125, 0.01444244384765625, -0.00077056884765625, -0.0038433074951171875, -0.0194244384765625, -0.02020263671875, 0.02947998046875, 0.004306793212890625, 0.02716064453125, 0.0302734375, 0.034454345703125, 0.01442718505859375, -0.01419830322265625, 0.039215087890625, 0.02203369140625, -0.0169219970703125, 0.0189666748046875, -0.05853271484375, 0.028900146484375, -0.019989013671875, 0.082763671875, 0.05810546875, -0.0102081298828125, 0.013031005859375, -0.0192108154296875, 0.0192718505859375, -0.00299835205078125, -0.0146331787109375, -0.032073974609375, -0.001251220703125, -0.07757568359375, -0.025360107421875, -0.0008606910705566406, -0.07257080078125, 0.0218505859375, -0.0031261444091796875, -0.02471923828125, -0.0137176513671875, -0.08563232421875, -0.041839599609375, -0.04876708984375, -0.0236053466796875, -0.000051140785217285156, 0.0213775634765625, -0.0017681121826171875, 0.0031757354736328125, 0.020416259765625, 0.0157928466796875, -0.0146484375, -0.039825439453125, -0.0635986328125, -0.0919189453125, -0.09466552734375, -0.02069091796875, 0.00028443336486816406, 0.023895263671875, 0.01165771484375, 0.034027099609375, 0.006717681884765625, -0.05999755859375, -0.01074981689453125, 0.0300140380859375, -0.030029296875, -0.028228759765625, -0.015625, -0.04986572265625, -0.0257110595703125, -0.017578125, 0.03662109375, 0.0020809173583984375, 0.0039215087890625, 0.050506591796875, -0.0302734375, -0.03924560546875, -0.016815185546875, -0.07806396484375, 0.0220794677734375, -0.021636962890625, -0.047515869140625, -0.0531005859375, -0.0159149169921875, 0.0129547119140625, -0.021026611328125, 0.003215789794921875, 0.006801605224609375, -0.0214385986328125, -0.0059661865234375, 0.01055908203125, 0.00875091552734375, 0.004299163818359375, 0.033782958984375, -0.00566864013671875, 0.05108642578125, -0.0165252685546875, -0.0266876220703125, -0.05938720703125, 0.0197296142578125, -0.02496337890625, 0.026824951171875, -0.01026153564453125, -0.01218414306640625, -0.03240966796875, 0.029266357421875, -0.063720703125, -0.028656005859375, 0.05072021484375, -0.003795623779296875, 0.003047943115234375, -0.032073974609375, -0.02703857421875, -0.037384033203125, 0.062286376953125, -0.0260467529296875, -0.00260162353515625, 0.03271484375, 0.028961181640625, -0.0400390625, -0.041290283203125, -0.050994873046875, -0.0257415771484375, -0.048492431640625, -0.00437164306640625, -0.0283660888671875, -0.00768280029296875, 0.00469970703125, -0.06829833984375, -0.03594970703125, -0.047393798828125, 0.01418304443359375, 0.0263671875, 0.039276123046875, -0.0163116455078125, 0.037567138671875, -0.033172607421875, 0.0163116455078125, -0.0219573974609375, -0.046661376953125, -0.02520751953125, 0.006603240966796875, 0.050323486328125, 0.0199432373046875, -0.01076507568359375, 0.004550933837890625, 0.066162109375, 0.00914764404296875, 0.0161590576171875, 0.0170440673828125, -0.0264434814453125, 0.0548095703125, 0.0306549072265625, 0.023162841796875, -0.0082550048828125, -0.018585205078125, -0.0165557861328125, -0.038299560546875, -0.017852783203125, -0.007350921630859375, -0.028717041015625, 0.037200927734375, -0.032257080078125, -0.0291290283203125, -0.0064849853515625, -0.01317596435546875, 0.0027313232421875, -0.004364013671875, -0.020660400390625, -0.0225830078125, -0.0198974609375, 0.044769287109375, -0.0174560546875, -0.01096343994140625, -0.0044097900390625, 0.05450439453125, 0.00649261474609375, -0.030242919921875, -0.00873565673828125, -0.0007276535034179688, 0.0035552978515625, -0.0106353759765625, 0.11529541015625, 0.058197021484375, 0.0408935546875, 0.04815673828125, 0.0009417533874511719, 0.018768310546875, 0.0233917236328125, 0.00018858909606933594, -0.004230499267578125, -0.03509521484375, 0.0230255126953125, 0.007030487060546875, -0.02740478515625, 0.0245819091796875, -0.0047760009765625, 0.02996826171875, 0.0031452178955078125, -0.03070068359375, -0.0025577545166015625, -0.030853271484375, 0.0028591156005859375, -0.03875732421875, 0.02130126953125, -0.049072265625, 0.05596923828125, 0.025543212890625, 0.0007710456848144531, 0.050689697265625, 0.036407470703125, -0.0023040771484375, -0.011627197265625, 0.0021381378173828125, -0.0394287109375, 0.053436279296875, -0.057891845703125, -0.031585693359375, 0.00769805908203125, -0.022705078125, 0.10797119140625, 0.0016241073608398438, -0.0709228515625, 0.0262908935546875, -0.0203399658203125, -0.018096923828125, 0.0256195068359375, -0.01837158203125, 0.01885986328125, -0.01349639892578125, -0.0171051025390625, -0.006317138671875, -0.0307159423828125, -0.0225372314453125, -0.05035400390625, 0.01038360595703125, -0.016937255859375, 0.004150390625, -0.0248260498046875, 0.0867919921875, -0.00444793701171875, 0.03302001953125, -0.01332855224609375, -0.01088714599609375, 0.00847625732421875, 0.02044677734375, 0.02191162109375, -0.0168914794921875, 0.017608642578125, -0.020751953125, 0.0278778076171875, -0.0574951171875, -0.04833984375, 0.039093017578125, 0.06488037109375, 0.0323486328125, 0.0107574462890625, -0.005382537841796875, 0.0361328125, -0.0229644775390625, 0.0145111083984375, 0.00662994384765625, 0.01849365234375, -0.040802001953125, -0.03857421875, 0.035552978515625, 0.034271240234375, -0.028350830078125, 0.0208892822265625, 0.0132598876953125, 0.050018310546875, -0.0014734268188476562, -0.021728515625, 0.0196075439453125, 0.023468017578125, 0.0225677490234375, -0.031707763671875, -0.0328369140625, -0.006183624267578125, 0.0264892578125, -0.03277587890625, -0.0024394989013671875, 0.045806884765625, -0.014678955078125, -0.023895263671875, -0.02545166015625, 0.043243408203125, -0.02581787109375, 0.01436614990234375, 0.01403045654296875, -0.01342010498046875, -0.048065185546875, 0.015380859375, -0.022186279296875, -0.0018301010131835938, 0.0289154052734375, -0.0259857177734375, -0.039154052734375, -0.03131103515625, 0.01546478271484375, 0.00923919677734375, -0.019134521484375, -0.0396728515625, -0.0197906494140625, 0.0142364501953125, 0.027862548828125, -0.0024929046630859375, -0.01068878173828125, 0.06768798828125, -0.008331298828125, 0.031982421875, 0.019866943359375, 0.045562744140625, -0.0011110305786132812, -0.019866943359375, 0.0033397674560546875, -0.07647705078125, -0.0426025390625, -0.0155792236328125, -0.0009164810180664062, 0.037200927734375, -0.002124786376953125, -0.01532745361328125, 0.0123291015625, -0.0169219970703125, -0.0015354156494140625, -0.0162353515625, -0.0143280029296875, 0.01239776611328125, -0.001354217529296875, 0.020477294921875, 0.02569580078125, 0.0278778076171875, -0.06268310546875, -0.0501708984375, -0.01103973388671875, 0.042266845703125, -0.0193634033203125, 0.022247314453125, 0.017669677734375, 0.0186309814453125, 0.105712890625, -0.0017557144165039062, 0.066650390625, 0.0728759765625, 0.02679443359375, 0.047515869140625, 0.0226287841796875, -0.04864501953125, -0.04180908203125, -0.01483154296875, 0.007511138916015625, 0.0014276504516601562, 0.00855255126953125, -0.00681304931640625, 0.02313232421875, 0.1011962890625, 0.1046142578125, -0.1124267578125, -0.00031566619873046875, 0.039215087890625, -0.047760009765625, -0.019317626953125, 0.0083160400390625, 0.002941131591796875, -0.013946533203125, 0.0027065277099609375, 0.025665283203125, -0.010040283203125, 0.00601959228515625, 0.013671875, -0.005062103271484375, 0.0089111328125, 0.033416748046875, -0.0006804466247558594, -0.048675537109375, -0.006107330322265625, 0.023223876953125, 0.003757476806640625, 0.00591278076171875, 0.033203125, -0.00951385498046875, -0.01326751708984375, -0.038482666015625, -0.003200531005859375, -0.0075531005859375, -0.0263824462890625, -0.0098724365234375, -0.005260467529296875, -0.0006594657897949219, 0.038482666015625, -0.0284881591796875, 0.01103973388671875, 0.02203369140625, -0.0120697021484375, 0.052825927734375, -0.026641845703125, -0.01486968994140625, 0.0034694671630859375, -0.0179595947265625, -0.0031414031982421875, 0.001575469970703125, -0.030548095703125, -0.010772705078125, 0.03411865234375, 0.0902099609375, -0.040802001953125, -0.0140533447265625, 0.046356201171875, 0.043212890625, -0.0233306884765625, -0.0146484375, -0.004306793212890625, -0.06201171875, -0.0277252197265625, -0.018218994140625, -0.043121337890625, 0.01214599609375, -0.0292510986328125, -0.0584716796875, 0.07269287109375, -0.02972412109375, 0.03912353515625, 0.0183563232421875, 0.00464630126953125, -0.0157928466796875, -0.0053253173828125, 0.0079345703125, 0.035888671875, 0.004032135009765625, -0.0010089874267578125, -0.0268402099609375, -0.0272674560546875, 0.007076263427734375, 0.07464599609375, 0.0755615234375, 0.02996826171875, -0.08026123046875, -0.003093719482421875, 0.056427001953125, 0.03515625, 0.00872039794921875, 0.07562255859375, 0.02349853515625, 0.002231597900390625, 0.032196044921875, -0.035369873046875, 0.0231170654296875, -0.052001953125, 0.0294952392578125, 0.0233154296875, 0.028472900390625, 0.0263519287109375, -0.00045108795166015625, 0.02606201171875, -0.049530029296875, 0.01244354248046875, 0.03485107421875, 0.00968170166015625, 0.036651611328125, -0.01459503173828125, 0.00296783447265625, -0.00850677490234375, -0.0159759521484375, -0.0034236907958984375, 0.0256500244140625, -0.004642486572265625, -0.01265716552734375, 0.037109375, 0.010711669921875, 0.011962890625, -0.0066986083984375, -0.008087158203125, -0.0089569091796875, 0.0140838623046875, -0.0168304443359375, 0.0009255409240722656, 0.0132598876953125, -0.0220184326171875, 0.033050537109375, 0.0361328125, 0.0006046295166015625, -0.0201873779296875, -0.0362548828125, 0.007167816162109375, -0.009735107421875, 0.007442474365234375, -0.0007319450378417969, 0.0042266845703125, -0.01169586181640625, 0.0037899017333984375, -0.00469207763671875, -0.0029315948486328125, 0.0236968994140625, 0.00302886962890625, 0.0158233642578125, 0.0404052734375, -0.021087646484375, -0.0010633468627929688, -0.040008544921875, 0.01568603515625, 0.0176849365234375, 0.0577392578125, 0.004192352294921875, 0.06329345703125, -0.036651611328125, -0.0280609130859375, 0.00446319580078125, 0.0290985107421875, 0.01030731201171875, -0.03497314453125, -0.007717132568359375, -0.04974365234375, 0.0074615478515625, 0.0253753662109375, 0.010467529296875, -0.0166015625, 0.01134490966796875, 0.040252685546875, 0.0222625732421875, -0.01088714599609375, 0.036224365234375, 0.0032806396484375, -0.004787445068359375, -0.006633758544921875, -0.0262908935546875, 0.0253753662109375, -0.0244293212890625, 0.0138397216796875, -0.022125244140625, 0.055450439453125, 0.01267242431640625, 0.054229736328125, 0.0014133453369140625, 0.015655517578125, 0.020294189453125, -0.014678955078125, 0.006038665771484375, 0.021240234375, -0.046356201171875, -0.019500732421875, 0.027374267578125, -0.03192138671875, 0.00714111328125, 0.0390625, -0.01483917236328125, 0.0239105224609375, 0.01538848876953125, -0.040802001953125, 0.037811279296875, 0.020111083984375, 0.002368927001953125, 0.006183624267578125, 0.0010700225830078125, -0.0278167724609375, -0.0191650390625, -0.0281524658203125, -0.025909423828125, 0.0772705078125, 0.0185546875, 0.072509765625, -0.048065185546875, 0.03570556640625, 0.042633056640625, -0.0156097412109375, 0.032257080078125, 0.016143798828125, -0.0026702880859375, -0.0161590576171875, 0.0085296630859375, -0.01202392578125, -0.0207366943359375, -0.01806640625, 0.02191162109375, -0.06243896484375, -0.0241851806640625, -0.01097869873046875, 0.03271484375, -0.01055908203125, -0.0078277587890625, -0.039398193359375, -0.075927734375, -0.060272216796875, 0.0215301513671875, -0.01267242431640625, -0.0010461807250976562, 0.0014829635620117188, 0.035308837890625, 0.02496337890625, -0.00374603271484375, 0.0223846435546875, -0.0226593017578125, 0.028900146484375, 0.0207672119140625, -0.007720947265625, -0.02130126953125, 0.044281005859375, -0.0062408447265625, 0.0302886962890625, 0.00566864013671875, 0.052490234375, 0.0125579833984375, -0.00057220458984375, -0.054931640625, 0.00025916099548339844, 0.005764007568359375, 0.00047135353088378906, -0.0032520294189453125, -0.007415771484375, -0.03173828125, -0.01690673828125, -0.006683349609375, -0.017913818359375, -0.0012731552124023438, -0.05035400390625, -0.0131988525390625, -0.00542449951171875, -0.0853271484375, -0.02166748046875, -0.0181121826171875, 0.0284423828125, -0.01617431640625, -0.00934600830078125, 0.00911712646484375, -0.04833984375, -0.0052642822265625, -0.0198211669921875, 0.02337646484375, -0.015625, -0.0026683807373046875, -0.036285400390625, -0.01549530029296875, -0.0360107421875, 0.0296173095703125, -0.043487548828125, 0.021820068359375, 0.055816650390625, -0.009521484375, -0.026214599609375, -0.0057373046875, -0.0034503936767578125, 0.0504150390625, -0.041229248046875, -0.0010356903076171875, -0.01983642578125, 0.025634765625, -0.046783447265625, -0.06903076171875, 0.023345947265625, -0.040679931640625, -0.0239105224609375, 0.00016748905181884766, 0.00495147705078125, 0.01445770263671875, -0.035491943359375, -0.06915283203125, 0.06439208984375, -0.0178070068359375, -0.03302001953125, -0.07257080078125, 0.00244903564453125, -0.008819580078125, 0.02398681640625, -0.015594482421875, -0.018890380859375, -0.04400634765625, 0.036346435546875, 0.02813720703125, 0.047088623046875, -0.001773834228515625, 0.03143310546875, 0.01168060302734375, 0.03912353515625, 0.021697998046875, 0.01372528076171875, -0.032379150390625, 0.025054931640625, -0.0029296875, 0.0360107421875, -0.0016498565673828125, 0.009552001953125, 0.00679779052734375, -0.0209808349609375, 0.0180816650390625, -0.02984619140625, -0.01174163818359375, -0.031463623046875, -0.039947509765625, 0.0009202957153320312, -0.00321197509765625, 0.0085296630859375, -0.07049560546875, -0.058380126953125, -0.01184844970703125, -0.032806396484375, 0.0193634033203125, -0.07275390625, 0.0235595703125, 0.0044708251953125, -0.0178070068359375, 0.0350341796875, -0.0011167526245117188, -0.044158935546875, 0.006343841552734375, -0.005603790283203125, -0.0234832763671875, -0.0384521484375, -0.02703857421875, 0.08544921875, -0.048553466796875, 0.005008697509765625, -0.001949310302734375, 0.033233642578125, 0.0325927734375, -0.0099029541015625, 0.00855255126953125, 0.059326171875, -0.0025634765625, 0.00888824462890625, 0.039886474609375, -0.033172607421875, 0.0015048980712890625, 0.0125732421875, -0.0037708282470703125, 0.007808685302734375, 0.0096893310546875, 0.01117706298828125, -0.016754150390625, -0.027252197265625, -0.0191497802734375, 0.034820556640625, -0.01282501220703125, -0.034454345703125, -0.003734588623046875, 0.029083251953125, -0.0338134765625, -0.004825592041015625, 0.0017528533935546875, -0.061859130859375, -0.004611968994140625, 0.01270294189453125, -0.0139617919921875, -0.0216522216796875, -0.01035308837890625, -0.0389404296875, -0.01500701904296875, 0.0011730194091796875 ]
4690330fa15c06d01dff595e46bf920226fd913a
Wordpress Stackexchange Q: Slider image issue in wordpress I am developing a wordpress site using the theme Enlighten. For other theme i had used page concept for adding sliders and other contents. But accoding to the documentation provided by the enlighten theme, they are using post concept to add sliders and other contents. Here i am attaching the documentation link: http://doc.accesspressthemes.com/enlighten-documentation/#!/news_slide_section_setting I have successfully added slider to my website. but i am facing an issue that my slider images are coming as seperate posts. I have attached a screen shot below; [![enter image description here][2]][2] A: Go to Setting --> Reading Setting Change front page display as static page Select the static page Save the page
Q: Slider image issue in wordpress I am developing a wordpress site using the theme Enlighten. For other theme i had used page concept for adding sliders and other contents. But accoding to the documentation provided by the enlighten theme, they are using post concept to add sliders and other contents. Here i am attaching the documentation link: http://doc.accesspressthemes.com/enlighten-documentation/#!/news_slide_section_setting I have successfully added slider to my website. but i am facing an issue that my slider images are coming as seperate posts. I have attached a screen shot below; [![enter image description here][2]][2] A: Go to Setting --> Reading Setting Change front page display as static page Select the static page Save the page
wordpress
{ "language": "en", "length": 114, "provenance": "stackexchange_00019.jsonl.gz:474292", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/260289" }
[ 0.080078125, 0.005016326904296875, 0.0177154541015625, 0.009979248046875, 0.0223236083984375, -0.055419921875, 0.106201171875, -0.0501708984375, -0.00470733642578125, -0.00888824462890625, -0.060699462890625, 0.066162109375, -0.0301666259765625, -0.006259918212890625, 0.039215087890625, -0.014129638671875, 0.0265350341796875, 0.006011962890625, 0.045257568359375, 0.0126495361328125, -0.00446319580078125, 0.0283050537109375, -0.006626129150390625, -0.0131072998046875, 0.031097412109375, 0.0189361572265625, 0.0259552001953125, -0.0181732177734375, 0.026123046875, -0.0070953369140625, 0.028656005859375, -0.041229248046875, 0.01114654541015625, 0.0159149169921875, -0.0176849365234375, -0.0218505859375, 0.0000814199447631836, 0.01007080078125, 0.00875091552734375, 0.0108184814453125, 0.0029239654541015625, 0.03070068359375, 0.0389404296875, 0.036651611328125, 0.0019664764404296875, -0.056396484375, 0.01317596435546875, -0.05279541015625, -0.0020084381103515625, -0.0084228515625, 0.0265960693359375, -0.01230621337890625, 0.0421142578125, 0.004161834716796875, -0.031982421875, -0.039093017578125, 0.00890350341796875, -0.0237884521484375, 0.0216217041015625, 0.00970458984375, -0.0184783935546875, 0.00347137451171875, 0.018707275390625, -0.0180206298828125, 0.0003364086151123047, -0.007549285888671875, 0.0278472900390625, 0.0242156982421875, -0.051361083984375, -0.0234527587890625, 0.03594970703125, -0.035491943359375, 0.0223846435546875, -0.029876708984375, -0.022796630859375, 0.03607177734375, -0.040252685546875, -0.01110076904296875, 0.033447265625, -0.042724609375, -0.0132598876953125, 0.014190673828125, -0.0274810791015625, -0.029693603515625, 0.02294921875, 0.0102691650390625, -0.015960693359375, -0.0066375732421875, 0.000011146068572998047, -0.0184783935546875, -0.01270294189453125, -0.020172119140625, -0.0297698974609375, 0.05181884765625, -0.00989532470703125, 0.01390838623046875, 0.028472900390625, 0.0509033203125, 0.0028228759765625, 0.0322265625, 0.0142669677734375, -0.06646728515625, 0.08404541015625, -0.047454833984375, 0.0025234222412109375, 0.01227569580078125, 0.01340484619140625, -0.0048065185546875, 0.029571533203125, 0.032196044921875, -0.0186004638671875, 0.058441162109375, -0.007598876953125, -0.06304931640625, 0.0043182373046875, 0.01873779296875, -0.02496337890625, 0.0220794677734375, 0.033477783203125, -0.006500244140625, -0.0170440673828125, 0.005828857421875, -0.0247955322265625, -0.00403594970703125, 0.0305938720703125, 0.018585205078125, 0.006099700927734375, -0.013153076171875, 0.0263519287109375, 0.036376953125, -0.0411376953125, -0.0012493133544921875, 0.07666015625, 0.01238250732421875, 0.010955810546875, -0.0345458984375, 0.01629638671875, -0.0183868408203125, -0.0295867919921875, 0.024169921875, 0.0024166107177734375, -0.0478515625, -0.02178955078125, -0.0345458984375, 0.019989013671875, 0.038421630859375, 0.00598907470703125, 0.01128387451171875, 0.02880859375, -0.0259552001953125, 0.015869140625, -0.04443359375, 0.0199127197265625, 0.01094818115234375, 0.0129852294921875, -0.03948974609375, 0.03839111328125, -0.039764404296875, 0.01291656494140625, -0.02294921875, 0.033203125, 0.0298614501953125, 0.02093505859375, 0.0261993408203125, 0.030029296875, -0.051422119140625, -0.0008487701416015625, -0.0024700164794921875, 0.0225982666015625, 0.0249481201171875, -0.01263427734375, -0.037506103515625, 0.0268402099609375, 0.0144805908203125, -0.018707275390625, 0.0379638671875, 0.025115966796875, -0.03680419921875, 0.0234375, 0.05767822265625, -0.0022487640380859375, -0.01500701904296875, 0.0184326171875, -0.0174713134765625, -0.039947509765625, 0.021697998046875, -0.00646209716796875, 0.01220703125, 0.00925445556640625, 0.01107025146484375, 0.018707275390625, 0.0175933837890625, -0.0205535888671875, -0.0084991455078125, 0.0300140380859375, 0.004245758056640625, -0.0069122314453125, -0.0013217926025390625, 0.01012420654296875, -0.0275421142578125, 0.0150604248046875, 0.030120849609375, -0.00885772705078125, 0.0007538795471191406, 0.01172637939453125, 0.0035915374755859375, 0.007526397705078125, 0.024139404296875, -0.04327392578125, 0.04791259765625, 0.03253173828125, 0.0224609375, -0.035552978515625, -0.0099639892578125, 0.004657745361328125, -0.00931549072265625, -0.0254974365234375, 0.0157470703125, -0.00717926025390625, 0.0217437744140625, 0.01346588134765625, -0.0341796875, 0.0118865966796875, 0.0188140869140625, 0.08056640625, 0.0179443359375, -0.01465606689453125, -0.02215576171875, 0.043701171875, 0.017059326171875, -0.06634521484375, 0.03802490234375, -0.01451873779296875, 0.0066070556640625, -0.0286102294921875, 0.01071929931640625, 0.007648468017578125, 0.0211029052734375, 0.01401519775390625, 0.014068603515625, 0.02325439453125, 0.049163818359375, -0.04833984375, -0.04925537109375, 0.06280517578125, -0.0294342041015625, -0.01064300537109375, -0.009368896484375, -0.0662841796875, -0.058990478515625, 0.06658935546875, 0.022979736328125, 0.0318603515625, -0.00539398193359375, 0.00962066650390625, 0.0323486328125, -0.0245819091796875, 0.00913238525390625, -0.004619598388671875, 0.005771636962890625, 0.012237548828125, -0.01080322265625, -0.00988006591796875, -0.020721435546875, -0.003086090087890625, -0.01534271240234375, 0.0008916854858398438, -0.0247955322265625, -0.0030345916748046875, -0.012542724609375, 0.0125274658203125, -0.0830078125, 0.0189666748046875, 0.00030612945556640625, -0.0013332366943359375, 0.02545166015625, -0.007724761962890625, -0.01457977294921875, 0.01739501953125, -0.00650787353515625, -0.0130157470703125, 0.004730224609375, -0.0552978515625, -0.015106201171875, 0.01568603515625, -0.0469970703125, -0.017120361328125, -0.001461029052734375, -0.0220184326171875, -0.032501220703125, -0.005863189697265625, 0.029937744140625, -0.004543304443359375, 0.0099639892578125, 0.0025043487548828125, -0.0160675048828125, 0.01094818115234375, -0.0660400390625, 0.07171630859375, -0.050750732421875, 0.06103515625, 0.07000732421875, -0.031707763671875, 0.024932861328125, -0.006107330322265625, 0.01346588134765625, -0.003173828125, 0.00791168212890625, -0.0110626220703125, -0.020721435546875, -0.043609619140625, -0.031494140625, 0.032012939453125, 0.00815582275390625, 0.00679779052734375, -0.017120361328125, -0.0232696533203125, 0.02935791015625, -0.05157470703125, -0.046142578125, -0.0186920166015625, -0.0997314453125, 0.0268402099609375, -0.004001617431640625, -0.036224365234375, -0.0200653076171875, 0.04974365234375, 0.0184478759765625, -0.0240936279296875, -0.01316070556640625, -0.06451416015625, -0.03948974609375, -0.059600830078125, 0.0323486328125, 0.00024890899658203125, 0.029876708984375, -0.001110076904296875, 0.0556640625, 0.01325225830078125, -0.050445556640625, 0.0161590576171875, 0.052459716796875, -0.0117034912109375, 0.0106048583984375, -0.018585205078125, 0.03448486328125, 0.0156097412109375, 0.0194854736328125, -0.018341064453125, 0.0004131793975830078, -0.012969970703125, -0.0266876220703125, -0.047821044921875, 0.0003294944763183594, -0.05047607421875, 0.0703125, 0.085205078125, -0.00865936279296875, -0.0014066696166992188, -0.03619384765625, -0.041839599609375, -0.0188446044921875, -0.07037353515625, -0.033050537109375, 0.062408447265625, 0.0032367706298828125, -0.03314208984375, -0.019622802734375, 0.00330352783203125, -0.0240478515625, 0.032989501953125, -0.031585693359375, 0.0633544921875, -0.006359100341796875, 0.005157470703125, -0.039093017578125, -0.023590087890625, -0.04583740234375, 0.07574462890625, -0.00974273681640625, -0.01236724853515625, -0.030792236328125, 0.013702392578125, -0.02056884765625, -0.06494140625, 0.0281829833984375, -0.005321502685546875, -0.0084991455078125, -0.006626129150390625, -0.022186279296875, 0.0195770263671875, 0.0682373046875, -0.092529296875, 0.01788330078125, 0.037445068359375, 0.004383087158203125, 0.0150299072265625, -0.038818359375, -0.09942626953125, -0.03460693359375, -0.04290771484375, 0.003383636474609375, 0.00788116455078125, -0.035491943359375, -0.0177459716796875, -0.00475311279296875, -0.0458984375, -0.0220184326171875, 0.038726806640625, 0.0120697021484375, 0.0090789794921875, -0.00218963623046875, 0.0016794204711914062, -0.0097808837890625, -0.02447509765625, 0.005207061767578125, -0.126953125, -0.046051025390625, 0.045989990234375, 0.09869384765625, -0.0231475830078125, -0.035125732421875, -0.0340576171875, 0.07891845703125, -0.031585693359375, 0.020111083984375, -0.025360107421875, 0.0262603759765625, -0.01568603515625, 0.020965576171875, -0.0236358642578125, -0.005535125732421875, 0.00612640380859375, -0.0307769775390625, -0.049072265625, -0.0292816162109375, -0.029022216796875, -0.0081024169921875, 0.013092041015625, -0.0201568603515625, -0.0247039794921875, 0.0240325927734375, -0.0177001953125, -0.014556884765625, 0.0086517333984375, -0.0460205078125, 0.0190887451171875, -0.03277587890625, 0.0172882080078125, 0.00926971435546875, 0.00024819374084472656, 0.01202392578125, 0.07025146484375, 0.0245819091796875, -0.01322174072265625, -0.06793212890625, 0.01012420654296875, 0.04638671875, 0.00527191162109375, 0.06536865234375, 0.03399658203125, -0.0148773193359375, 0.0550537109375, 0.0286102294921875, -0.01169586181640625, -0.017547607421875, 0.050811767578125, 0.0032100677490234375, -0.0062255859375, 0.0020885467529296875, -0.009063720703125, 0.0198822021484375, -0.0011434555053710938, -0.0149383544921875, -0.001953125, -0.00083160400390625, 0.0036678314208984375, -0.0137481689453125, 0.020721435546875, 0.004711151123046875, -0.0347900390625, 0.000164031982421875, -0.034088134765625, 0.05181884765625, 0.021514892578125, 0.00812530517578125, 0.042236328125, 0.07373046875, -0.01641845703125, -0.01279449462890625, -0.0055999755859375, 0.002437591552734375, -0.007671356201171875, 0.07525634765625, 0.002407073974609375, -0.0255889892578125, -0.006862640380859375, 0.031768798828125, 0.00615692138671875, -0.032501220703125, -0.06304931640625, 0.01873779296875, 0.074951171875, -0.004634857177734375, 0.01409912109375, 0.03167724609375, -0.024993896484375, -0.030364990234375, -0.043304443359375, 0.015289306640625, -0.0292510986328125, -0.055206298828125, -0.03594970703125, 0.007244110107421875, -0.0233306884765625, 0.04620361328125, 0.006664276123046875, 0.0055694580078125, 0.0091400146484375, -0.01444244384765625, -0.0200958251953125, 0.008636474609375, 0.0297698974609375, 0.022369384765625, -0.0023441314697265625, 0.0029010772705078125, 0.022125244140625, 0.043487548828125, -0.049285888671875, 0.011383056640625, 0.00494384765625, 0.042327880859375, 0.02166748046875, -0.03521728515625, 0.02703857421875, -0.0232391357421875, 0.007640838623046875, -0.01544952392578125, -0.048583984375, -0.037017822265625, 0.008209228515625, 0.014556884765625, 0.0200958251953125, -0.027801513671875, -0.0213165283203125, 0.0270843505859375, -0.00704193115234375, 0.00635528564453125, 0.02166748046875, -0.05145263671875, 0.031097412109375, 0.0286102294921875, 0.0269622802734375, 0.00390625, -0.025177001953125, -0.0024261474609375, -0.0267791748046875, -0.0074615478515625, -0.012420654296875, 0.054229736328125, -0.0198974609375, -0.01068878173828125, -0.020477294921875, 0.0190887451171875, -0.04949951171875, 0.027496337890625, 0.0321044921875, 0.01451873779296875, -0.0166015625, -0.00010144710540771484, -0.02880859375, -0.0235595703125, 0.0182037353515625, -0.0172576904296875, -0.0281524658203125, -0.037353515625, 0.028564453125, 0.038238525390625, -0.032196044921875, -0.08990478515625, 0.003871917724609375, -0.022430419921875, 0.0250244140625, 0.0287628173828125, 0.00039887428283691406, 0.01953125, -0.03619384765625, 0.057891845703125, -0.0214996337890625, -0.031494140625, -0.0191802978515625, -0.0099334716796875, -0.0200347900390625, -0.05023193359375, -0.0030612945556640625, 0.0234527587890625, -0.0033092498779296875, 0.051605224609375, 0.0307464599609375, 0.013580322265625, 0.00969696044921875, 0.00986480712890625, 0.0111846923828125, -0.01087188720703125, -0.0154266357421875, 0.005901336669921875, -0.0099639892578125, 0.030670166015625, -0.0293121337890625, -0.00835418701171875, -0.0101470947265625, 0.031280517578125, 0.0176849365234375, -0.03753662109375, 0.00909423828125, 0.010772705078125, -0.016021728515625, 0.022308349609375, 0.094970703125, 0.036529541015625, 0.078125, 0.04925537109375, 0.026123046875, 0.042327880859375, 0.0400390625, -0.04132080078125, -0.00537109375, 0.02862548828125, -0.0052947998046875, -0.04229736328125, -0.0245513916015625, -0.028839111328125, 0.00223541259765625, 0.0264892578125, 0.061981201171875, -0.0298004150390625, 0.005107879638671875, 0.029510498046875, -0.01605224609375, -0.0034465789794921875, -0.02337646484375, 0.0190887451171875, 0.028289794921875, 0.01143646240234375, 0.027984619140625, -0.02093505859375, 0.0158233642578125, 0.007442474365234375, -0.00720977783203125, 0.01824951171875, 0.015350341796875, 0.0011777877807617188, -0.1107177734375, 0.0023059844970703125, 0.059783935546875, -0.0276336669921875, -0.0384521484375, 0.0038890838623046875, -0.01544189453125, -0.04107666015625, -0.0845947265625, -0.03302001953125, 0.0084075927734375, -0.0010271072387695312, 0.010589599609375, 0.0014781951904296875, 0.0269317626953125, 0.02789306640625, 0.002285003662109375, -0.0063934326171875, -0.0045013427734375, -0.042236328125, -0.005451202392578125, -0.0188446044921875, 0.0286102294921875, 0.01428985595703125, -0.056671142578125, 0.017333984375, -0.0124969482421875, -0.004180908203125, -0.03497314453125, -0.046722412109375, 0.10394287109375, -0.055419921875, -0.002941131591796875, -0.0206756591796875, 0.035919189453125, 0.030364990234375, -0.002864837646484375, 0.0242767333984375, -0.038970947265625, -0.0360107421875, 0.01161956787109375, -0.03155517578125, 0.015411376953125, -0.0171661376953125, -0.0634765625, 0.056793212890625, -0.037109375, 0.044219970703125, 0.0142364501953125, 0.00861358642578125, -0.009521484375, -0.0193939208984375, -0.00405120849609375, 0.03509521484375, 0.0155181884765625, 0.0462646484375, -0.026702880859375, -0.0162200927734375, 0.019134521484375, 0.062225341796875, 0.06915283203125, 0.0006351470947265625, 0.03759765625, -0.0074920654296875, 0.07257080078125, 0.04010009765625, -0.0269775390625, -0.01123809814453125, 0.0077972412109375, 0.0024890899658203125, -0.01473236083984375, 0.03009033203125, 0.039337158203125, -0.0411376953125, -0.0458984375, 0.036407470703125, 0.007659912109375, 0.01357269287109375, 0.009368896484375, 0.0084228515625, -0.019500732421875, 0.0020847320556640625, 0.013427734375, 0.020660400390625, 0.039337158203125, 0.0093994140625, 0.0226898193359375, 0.030517578125, -0.038909912109375, 0.022491455078125, 0.0145721435546875, -0.00238037109375, 0.0104522705078125, 0.03497314453125, 0.01177215576171875, 0.0092620849609375, 0.01512908935546875, 0.01491546630859375, 0.0103302001953125, 0.01493072509765625, 0.006114959716796875, 0.0089874267578125, 0.0160980224609375, -0.035858154296875, -0.017303466796875, 0.0296630859375, 0.021697998046875, -0.0235748291015625, -0.049163818359375, 0.00505828857421875, 0.01021575927734375, 0.01047515869140625, 0.00019872188568115234, -0.0009250640869140625, -0.025482177734375, 0.0036754608154296875, -0.007274627685546875, 0.01514434814453125, -0.00015091896057128906, 0.038421630859375, -0.01235198974609375, 0.005954742431640625, -0.052642822265625, 0.018096923828125, -0.051300048828125, 0.00252532958984375, 0.007701873779296875, 0.06390380859375, 0.032501220703125, 0.0287017822265625, -0.0135955810546875, -0.03173828125, -0.0292510986328125, 0.03167724609375, 0.00951385498046875, 0.035980224609375, -0.051849365234375, -0.031524658203125, 0.0235595703125, 0.036224365234375, -0.0103302001953125, 0.0022792816162109375, 0.0168914794921875, 0.048675537109375, -0.01375579833984375, -0.029083251953125, 0.0174713134765625, -0.01898193359375, -0.0021915435791015625, 0.020416259765625, -0.0279693603515625, 0.04791259765625, -0.0328369140625, -0.0215911865234375, 0.006290435791015625, 0.07269287109375, -0.0270233154296875, 0.034271240234375, 0.0071868896484375, -0.0270233154296875, 0.00522613525390625, 0.02215576171875, 0.0219573974609375, 0.0164031982421875, -0.09661865234375, -0.044219970703125, -0.0027294158935546875, 0.0121612548828125, 0.016387939453125, 0.033355712890625, -0.0198211669921875, 0.032470703125, 0.0036411285400390625, 0.01152801513671875, 0.006771087646484375, -0.0308380126953125, 0.0072479248046875, -0.0367431640625, 0.00489044189453125, -0.0006103515625, -0.004840850830078125, -0.0183258056640625, -0.007049560546875, 0.0655517578125, 0.0014085769653320312, 0.08197021484375, -0.046539306640625, 0.01387786865234375, 0.037841796875, 0.018951416015625, -0.00975799560546875, 0.0295562744140625, 0.015625, -0.0116424560546875, -0.00981903076171875, -0.027587890625, -0.032928466796875, -0.007442474365234375, 0.03399658203125, -0.0294342041015625, 0.006877899169921875, -0.0235595703125, 0.0203094482421875, -0.01538848876953125, 0.0204010009765625, -0.024658203125, -0.0245513916015625, -0.0029449462890625, 0.0153656005859375, 0.00344085693359375, 0.00730133056640625, 0.007663726806640625, -0.0153045654296875, 0.038818359375, -0.038726806640625, 0.051971435546875, -0.009918212890625, 0.06903076171875, 0.024261474609375, 0.033050537109375, -0.0654296875, -0.0306549072265625, 0.0007424354553222656, -0.06103515625, 0.0206756591796875, 0.0271453857421875, -0.0377197265625, -0.0416259765625, 0.0355224609375, -0.0027980804443359375, 0.023956298828125, -0.0282440185546875, -0.01456451416015625, 0.04290771484375, 0.00229644775390625, -0.0268096923828125, 0.0279083251953125, -0.00298309326171875, -0.033538818359375, -0.02496337890625, -0.01236724853515625, 0.006580352783203125, -0.01374053955078125, -0.0110626220703125, -0.0129852294921875, 0.038543701171875, 0.040374755859375, -0.04229736328125, 0.038177490234375, -0.013275146484375, -0.037506103515625, 0.040435791015625, -0.0714111328125, 0.040313720703125, 0.056121826171875, -0.00656890869140625, -0.00047969818115234375, -0.01349639892578125, -0.024444580078125, -0.01552581787109375, 0.032806396484375, 0.057952880859375, -0.03277587890625, 0.004638671875, -0.0069732666015625, 0.03021240234375, 0.051361083984375, 0.0055694580078125, 0.01751708984375, -0.01019287109375, 0.032745361328125, -0.05462646484375, -0.0311279296875, 0.03369140625, 0.0168914794921875, -0.048583984375, 0.0032863616943359375, 0.004009246826171875, 0.01453399658203125, -0.046051025390625, -0.08355712890625, 0.0255889892578125, -0.0107421875, -0.0377197265625, -0.033599853515625, 0.004604339599609375, -0.0201416015625, 0.00563812255859375, -0.022186279296875, 0.001903533935546875, 0.01253509521484375, 0.0648193359375, -0.00785064697265625, 0.0274810791015625, 0.047119140625, -0.03338623046875, 0.0171051025390625, -0.0159912109375, -0.0137176513671875, -0.0136871337890625, -0.015228271484375, -0.0201568603515625, 0.0106353759765625, 0.0303955078125, -0.0244140625, -0.07342529296875, 0.0218963623046875, -0.0037326812744140625, 0.0033111572265625, -0.00012421607971191406, -0.0002639293670654297, 0.006862640380859375, 0.0031833648681640625, 0.056915283203125, -0.0016164779663085938, -0.03668212890625, 0.016815185546875, -0.0297698974609375, -0.03717041015625, -0.003570556640625, 0.029937744140625, -0.06219482421875, 0.0034923553466796875, 0.015899658203125, -0.0116119384765625, -0.029144287109375, -0.00978851318359375, -0.04681396484375, -0.0154876708984375, -0.0015897750854492188, 0.026885986328125, -0.041595458984375, -0.03375244140625, 0.018798828125, -0.00525665283203125, 0.0175628662109375, -0.01418304443359375, 0.0175323486328125, 0.0120391845703125, 0.03778076171875, -0.0099029541015625, 0.024505615234375, -0.0345458984375, 0.01019287109375, -0.005741119384765625, 0.00379180908203125, -0.03167724609375, 0.0127105712890625, -0.0048980712890625, 0.0029144287109375, -0.006618499755859375, -0.01464080810546875, -0.01351165771484375, -0.0010156631469726562, -0.0162811279296875, 0.07275390625, -0.0200958251953125, 0.020477294921875, -0.0006661415100097656, 0.0263214111328125, -0.0321044921875, 0.00748443603515625, 0.00991058349609375, -0.0257415771484375, 0.00920867919921875, 0.0120086669921875, -0.007061004638671875, 0.007534027099609375, 0.004085540771484375, -0.01306915283203125, -0.01143646240234375, -0.0107421875 ]
5c34bd3e9dcb9984c2eca9e6a5ea08ad9ea94be5
Wordpress Stackexchange Q: What does the raw value for the get_bloginfo's filter argument exactly do? The $filter argument for the get_bloginfo function has a default value of raw but WordPress' Code Reference didn't mention another allowed values. What this raw stands for and what are other possible values if any? A: We have the following filters added by default (source) add_filter( 'bloginfo', 'wptexturize' ); add_filter( 'bloginfo', 'convert_chars' ); add_filter( 'bloginfo', 'esc_html' ); The bloginfo filter (source) is applied on the get_bloginfo() output, in the display mode, except for the url that has it's own bloginfo_url filter. The core isn't using that url filter currently and there's a wontfix (see #26803) on escaping the url in display mode. So the raw mode, skips these filters. The bloginfo() function is a wrapper for get_bloginfo() in display mode (source).
Q: What does the raw value for the get_bloginfo's filter argument exactly do? The $filter argument for the get_bloginfo function has a default value of raw but WordPress' Code Reference didn't mention another allowed values. What this raw stands for and what are other possible values if any? A: We have the following filters added by default (source) add_filter( 'bloginfo', 'wptexturize' ); add_filter( 'bloginfo', 'convert_chars' ); add_filter( 'bloginfo', 'esc_html' ); The bloginfo filter (source) is applied on the get_bloginfo() output, in the display mode, except for the url that has it's own bloginfo_url filter. The core isn't using that url filter currently and there's a wontfix (see #26803) on escaping the url in display mode. So the raw mode, skips these filters. The bloginfo() function is a wrapper for get_bloginfo() in display mode (source).
wordpress
{ "language": "en", "length": 134, "provenance": "stackexchange_00019.jsonl.gz:474357", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/260525" }
[ 0.030029296875, -0.01116943359375, 0.008087158203125, -0.036529541015625, 0.0077362060546875, 0.0005249977111816406, 0.028106689453125, -0.0023479461669921875, 0.018829345703125, 0.0030956268310546875, -0.037445068359375, -0.0307159423828125, 0.01282501220703125, -0.0304718017578125, 0.00957489013671875, -0.02996826171875, 0.026763916015625, -0.015838623046875, 0.008209228515625, -0.007137298583984375, 0.0107421875, -0.010589599609375, 0.0300750732421875, -0.03546142578125, 0.045501708984375, -0.036285400390625, 0.088134765625, -0.016693115234375, 0.051177978515625, 0.0019893646240234375, 0.028289794921875, -0.05224609375, 0.024566650390625, 0.041046142578125, -0.045654296875, 0.026611328125, -0.007053375244140625, 0.0244140625, -0.0024089813232421875, 0.0250396728515625, -0.0015363693237304688, 0.0040130615234375, -0.04119873046875, -0.0283660888671875, -0.055419921875, -0.026214599609375, -0.0011234283447265625, 0.015533447265625, 0.038360595703125, -0.01849365234375, 0.0042266845703125, 0.0394287109375, 0.0200347900390625, 0.0105743408203125, -0.044647216796875, -0.05950927734375, 0.0238494873046875, 0.00007331371307373047, 0.0243988037109375, -0.0330810546875, -0.032684326171875, 0.0158538818359375, 0.0274658203125, -0.0001245737075805664, 0.004852294921875, -0.028839111328125, 0.01151275634765625, 0.035003662109375, -0.03790283203125, 0.00557708740234375, 0.037506103515625, -0.00505828857421875, -0.005062103271484375, -0.0022678375244140625, -0.0169677734375, 0.00013399124145507812, -0.0037975311279296875, -0.0241851806640625, 0.0285491943359375, 0.00146484375, 0.01239776611328125, -0.0258331298828125, -0.017913818359375, 0.036773681640625, -0.0159759521484375, 0.051544189453125, -0.007476806640625, -0.0275115966796875, -0.01324462890625, -0.0089874267578125, 0.0013418197631835938, 0.030426025390625, -0.047210693359375, 0.0215301513671875, -0.01523590087890625, -0.0186614990234375, 0.0026950836181640625, 0.037109375, -0.01334381103515625, 0.042144775390625, -0.0242919921875, -0.0247650146484375, 0.032379150390625, -0.04901123046875, -0.0081634521484375, 0.0390625, 0.0157318115234375, 0.044769287109375, 0.0143890380859375, 0.0183258056640625, 0.0016164779663085938, -0.0289306640625, -0.038238525390625, -0.06317138671875, -0.0052490234375, 0.0287628173828125, -0.05316162109375, 0.0048980712890625, 0.01415252685546875, -0.018768310546875, 0.012054443359375, 0.033721923828125, 0.02056884765625, 0.0025691986083984375, 0.002399444580078125, 0.021514892578125, 0.0026683807373046875, -0.056427001953125, -0.036102294921875, 0.0452880859375, 0.0037784576416015625, 0.0180816650390625, -0.0055389404296875, -0.0170745849609375, -0.0465087890625, -0.02337646484375, -0.01235198974609375, -0.00765228271484375, 0.0303802490234375, -0.0110931396484375, 0.01953125, -0.03717041015625, 0.00820159912109375, 0.0457763671875, -0.021881103515625, 0.01293182373046875, 0.0301513671875, 0.0188446044921875, -0.010101318359375, -0.0440673828125, -0.03143310546875, 0.03790283203125, 0.036102294921875, 0.00763702392578125, -0.02093505859375, -0.02606201171875, 0.052520751953125, -0.0654296875, -0.0242462158203125, -0.078369140625, 0.01036834716796875, -0.0169219970703125, -0.027740478515625, 0.0009226799011230469, -0.027801513671875, 0.030029296875, -0.006900787353515625, -0.01233673095703125, 0.00997161865234375, -0.017822265625, -0.00962066650390625, 0.0129547119140625, -0.031982421875, 0.01129913330078125, 0.0227813720703125, 0.00041747093200683594, -0.01316070556640625, 0.0584716796875, -0.006744384765625, 0.03460693359375, 0.031494140625, -0.0291748046875, 0.072021484375, 0.0157623291015625, -0.09344482421875, 0.046661376953125, -0.0211944580078125, 0.056732177734375, 0.0787353515625, 0.00537109375, 0.0025691986083984375, -0.0277252197265625, -0.0199737548828125, 0.006832122802734375, -0.005756378173828125, -0.0323486328125, 0.01226806640625, 0.0010433197021484375, -0.002796173095703125, 0.0088043212890625, 0.058868408203125, -0.00823974609375, 0.0247802734375, -0.0230712890625, -0.06488037109375, 0.006641387939453125, -0.027496337890625, 0.0302581787109375, 0.0086212158203125, 0.017120361328125, 0.012359619140625, -0.00952911376953125, -0.0190887451171875, 0.037200927734375, -0.0162200927734375, 0.0168304443359375, -0.00786590576171875, 0.005218505859375, -0.011993408203125, -0.018402099609375, -0.0194244384765625, -0.039398193359375, -0.0372314453125, 0.0165252685546875, 0.06805419921875, -0.027069091796875, 0.007724761962890625, -0.038726806640625, 0.0679931640625, -0.00638580322265625, -0.00939178466796875, 0.0205535888671875, 0.030609130859375, 0.0787353515625, -0.0050811767578125, -0.031707763671875, -0.01451873779296875, -0.0843505859375, 0.040313720703125, 0.0595703125, 0.03472900390625, 0.04583740234375, 0.0149688720703125, 0.01006317138671875, 0.07928466796875, 0.023193359375, 0.03277587890625, -0.013671875, 0.032470703125, 0.057373046875, -0.03997802734375, -0.0241241455078125, 0.01140594482421875, -0.0252532958984375, 0.0143280029296875, 0.0082550048828125, 0.001312255859375, -0.0113677978515625, 0.004024505615234375, 0.01465606689453125, -0.004299163818359375, 0.01131439208984375, -0.0086669921875, 0.0161590576171875, 0.0158538818359375, -0.00984954833984375, -0.018890380859375, -0.0279388427734375, -0.03143310546875, 0.01375579833984375, 0.04010009765625, -0.00994110107421875, -0.010223388671875, 0.01361846923828125, 0.028900146484375, -0.0064849853515625, 0.0026073455810546875, -0.000946044921875, -0.01399993896484375, -0.016357421875, 0.0057373046875, 0.00913238525390625, -0.03289794921875, -0.00783538818359375, 0.0272064208984375, 0.01312255859375, 0.0005240440368652344, 0.0096588134765625, 0.012359619140625, -0.01224517822265625, 0.0098876953125, 0.0022029876708984375, -0.0245513916015625, 0.053985595703125, -0.00986480712890625, -0.033233642578125, -0.0283050537109375, -0.08758544921875, 0.05145263671875, -0.045806884765625, 0.050689697265625, 0.08660888671875, 0.007457733154296875, 0.0167236328125, 0.00495147705078125, 0.01187896728515625, -0.015533447265625, 0.034942626953125, 0.0097808837890625, 0.0038280487060546875, -0.03436279296875, 0.0501708984375, -0.00714874267578125, -0.0191497802734375, -0.044921875, -0.027252197265625, -0.0699462890625, -0.040191650390625, -0.07647705078125, 0.0292205810546875, -0.004184722900390625, -0.053802490234375, -0.043304443359375, -0.0162200927734375, -0.0310516357421875, 0.034820556640625, -0.0164642333984375, 0.001556396484375, 0.00191497802734375, -0.041168212890625, -0.0777587890625, -0.07666015625, -0.06854248046875, -0.00603485107421875, -0.017181396484375, -0.00926971435546875, 0.00766754150390625, 0.02783203125, -0.006175994873046875, -0.068603515625, 0.01812744140625, -0.018463134765625, 0.004596710205078125, 0.04461669921875, -0.0276031494140625, -0.0231170654296875, 0.0233612060546875, -0.021820068359375, -0.001346588134765625, 0.0214996337890625, -0.0003085136413574219, 0.0125885009765625, -0.0147705078125, -0.0183258056640625, -0.0189361572265625, 0.018157958984375, 0.016143798828125, -0.0157928466796875, -0.0011587142944335938, -0.04144287109375, -0.004489898681640625, -0.054656982421875, -0.04132080078125, 0.07391357421875, 0.0567626953125, -0.0028228759765625, -0.034210205078125, 0.032867431640625, -0.049896240234375, -0.01271820068359375, 0.02825927734375, -0.0426025390625, -0.0011987686157226562, -0.0264434814453125, -0.04998779296875, 0.0130157470703125, 0.0299224853515625, -0.0299530029296875, -0.00775146484375, 0.0006513595581054688, 0.0018444061279296875, 0.016754150390625, -0.057647705078125, -0.00504302978515625, -0.014801025390625, 0.02978515625, -0.0113525390625, 0.0133819580078125, -0.0244903564453125, -0.0196990966796875, -0.0307159423828125, 0.051971435546875, -0.04437255859375, -0.0372314453125, -0.0240631103515625, 0.024200439453125, 0.0170135498046875, -0.051055908203125, 0.046783447265625, -0.026824951171875, -0.072265625, 0.004589080810546875, -0.0030517578125, -0.03192138671875, 0.0168609619140625, -0.048980712890625, -0.017242431640625, -0.046356201171875, 0.0025272369384765625, 0.0173492431640625, -0.0093994140625, -0.01206207275390625, -0.015899658203125, -0.015899658203125, 0.0180511474609375, -0.011627197265625, -0.02850341796875, -0.0199127197265625, 0.0096435546875, 0.02374267578125, 0.01279449462890625, -0.0307159423828125, 0.0225677490234375, 0.0379638671875, 0.0099945068359375, -0.018157958984375, 0.0204620361328125, 0.00133514404296875, 0.035614013671875, -0.0211639404296875, 0.0021953582763671875, -0.0269927978515625, -0.0295562744140625, -0.041717529296875, -0.02569580078125, 0.01849365234375, 0.0048980712890625, 0.036895751953125, 0.01013946533203125, -0.0016326904296875, -0.072265625, -0.06390380859375, -0.01139068603515625, -0.008941650390625, -0.00970458984375, 0.00859832763671875, -0.050628662109375, -0.050689697265625, 0.027130126953125, -0.0032787322998046875, -0.013641357421875, -0.0033931732177734375, 0.0826416015625, 0.03570556640625, -0.0159454345703125, 0.01070404052734375, 0.0010900497436523438, 0.0091705322265625, -0.0089111328125, 0.08721923828125, 0.04071044921875, 0.0110015869140625, 0.042999267578125, -0.004024505615234375, 0.06573486328125, -0.038848876953125, 0.0223388671875, 0.0028476715087890625, 0.0200958251953125, 0.039215087890625, 0.036285400390625, -0.0245208740234375, -0.005329132080078125, -0.014190673828125, 0.00476837158203125, -0.00653839111328125, 0.03472900390625, -0.01142120361328125, 0.005157470703125, -0.036529541015625, -0.0239105224609375, 0.00661468505859375, -0.05950927734375, 0.004421234130859375, 0.03143310546875, -0.02801513671875, 0.01220703125, 0.00850677490234375, 0.004669189453125, 0.01383209228515625, 0.0284881591796875, -0.005092620849609375, 0.027923583984375, 0.0019321441650390625, -0.0096282958984375, -0.01165771484375, -0.0010852813720703125, -0.005126953125, -0.013458251953125, -0.03546142578125, 0.0030307769775390625, 0.0093841552734375, 0.053985595703125, 0.03955078125, -0.006366729736328125, 0.03350830078125, 0.0487060546875, -0.037384033203125, -0.0068359375, 0.0003561973571777344, 0.00865936279296875, -0.0540771484375, -0.0007028579711914062, -0.0307769775390625, 0.0032787322998046875, 0.010406494140625, 0.01546478271484375, -0.022247314453125, 0.0148468017578125, -0.01422882080078125, -0.01348876953125, 0.01018524169921875, 0.0083465576171875, 0.041290283203125, 0.0021839141845703125, -0.0113372802734375, -0.0084991455078125, 0.013916015625, -0.020721435546875, -0.06219482421875, -0.026824951171875, -0.00917816162109375, -0.030548095703125, 0.0421142578125, 0.040802001953125, 0.0341796875, 0.0017976760864257812, 0.006801605224609375, 0.0129241943359375, 0.004199981689453125, -0.020843505859375, -0.0092010498046875, 0.03521728515625, -0.005832672119140625, 0.0190887451171875, -0.0279388427734375, 0.0076904296875, 0.01287841796875, -0.01155853271484375, -0.009735107421875, -0.005748748779296875, -0.01849365234375, 0.0020904541015625, -0.0211639404296875, -0.0202789306640625, -0.040130615234375, -0.03228759765625, -0.0051727294921875, 0.01061248779296875, 0.044769287109375, -0.0390625, 0.0362548828125, -0.018890380859375, -0.0115509033203125, -0.014556884765625, 0.0168609619140625, 0.03131103515625, 0.0345458984375, 0.00035834312438964844, -0.0163726806640625, 0.0086822509765625, -0.026336669921875, 0.07623291015625, 0.0124053955078125, -0.0255889892578125, -0.0271759033203125, -0.0150299072265625, -0.006900787353515625, 0.0054931640625, 0.0283203125, 0.0204620361328125, 0.03900146484375, -0.014495849609375, 0.0272979736328125, -0.014984130859375, 0.0264434814453125, -0.006488800048828125, 0.005718231201171875, -0.00008755922317504883, -0.01209259033203125, -0.0401611328125, 0.0066680908203125, 0.0164947509765625, -0.00830841064453125, -0.009735107421875, -0.01116943359375, -0.033843994140625, -0.028045654296875, 0.046844482421875, -0.00977325439453125, 0.0159454345703125, -0.01013946533203125, -0.01444244384765625, 0.0011768341064453125, 0.0231475830078125, -0.006076812744140625, 0.032928466796875, 0.01023101806640625, -0.00402069091796875, 0.01418304443359375, -0.008575439453125, 0.005283355712890625, -0.053680419921875, 0.00624847412109375, -0.035919189453125, 0.03717041015625, -0.044097900390625, 0.07891845703125, 0.06292724609375, -0.0169525146484375, 0.035736083984375, 0.0013608932495117188, -0.0180511474609375, 0.0030727386474609375, -0.003803253173828125, -0.0031223297119140625, -0.00860595703125, 0.01244354248046875, -0.00800323486328125, 0.0205078125, 0.02301025390625, -0.016815185546875, 0.034881591796875, 0.031768798828125, 0.05975341796875, -0.07708740234375, 0.0246124267578125, 0.04132080078125, -0.005352020263671875, 0.03826904296875, 0.00916290283203125, -0.0355224609375, -0.01305389404296875, 0.0236968994140625, -0.0579833984375, -0.02935791015625, 0.0169525146484375, 0.0217132568359375, -0.02105712890625, -0.0303192138671875, 0.01038360595703125, 0.01529693603515625, 0.00830841064453125, -0.0042724609375, 0.00084686279296875, -0.037628173828125, -0.003917694091796875, 0.054290771484375, -0.0172882080078125, -0.024871826171875, -0.10882568359375, -0.053253173828125, 0.01401519775390625, -0.074951171875, 0.004528045654296875, 0.001251220703125, 0.05169677734375, 0.0489501953125, -0.006744384765625, 0.01806640625, 0.01177978515625, 0.032684326171875, -0.004520416259765625, -0.0178680419921875, -0.0005598068237304688, 0.028289794921875, -0.025238037109375, 0.0248870849609375, 0.0008940696716308594, -0.016448974609375, -0.01324462890625, -0.063232421875, 0.05181884765625, 0.0000985264778137207, -0.00894927978515625, 0.050079345703125, -0.01226806640625, -0.0377197265625, -0.030242919921875, 0.034149169921875, -0.0421142578125, -0.008392333984375, -0.020294189453125, -0.032470703125, -0.0253753662109375, -0.04888916015625, -0.07757568359375, 0.036651611328125, 0.0001876354217529297, 0.0655517578125, 0.005260467529296875, -0.0187225341796875, -0.0209503173828125, -0.0416259765625, -0.02197265625, 0.035675048828125, 0.030120849609375, 0.042510986328125, -0.052093505859375, -0.0226287841796875, -0.0003204345703125, 0.0736083984375, 0.00447845458984375, -0.01520538330078125, 0.02862548828125, 0.0029449462890625, 0.042022705078125, 0.0156707763671875, -0.01187896728515625, -0.006198883056640625, 0.037689208984375, 0.0550537109375, 0.044952392578125, -0.053070068359375, 0.012054443359375, -0.0149993896484375, 0.019317626953125, 0.06524658203125, 0.00927734375, -0.01126861572265625, -0.0019025802612304688, 0.03369140625, -0.030181884765625, 0.0024166107177734375, 0.01306915283203125, -0.03509521484375, -0.009552001953125, 0.06005859375, 0.032073974609375, -0.0589599609375, -0.01904296875, -0.046112060546875, 0.050506591796875, -0.0052947998046875, -0.0099334716796875, 0.07611083984375, 0.019989013671875, 0.059661865234375, -0.036834716796875, -0.00266265869140625, -0.0310821533203125, 0.0208892822265625, 0.057342529296875, 0.04266357421875, 0.030609130859375, 0.0008859634399414062, 0.003505706787109375, 0.04449462890625, 0.0511474609375, -0.0211181640625, -0.035919189453125, -0.000583648681640625, -0.0103302001953125, 0.0220489501953125, -0.041290283203125, -0.01751708984375, -0.0494384765625, -0.01090240478515625, -0.0277862548828125, -0.00884246826171875, 0.0150146484375, 0.005584716796875, 0.0002486705780029297, 0.0093841552734375, -0.0054931640625, -0.015716552734375, -0.0389404296875, -0.022674560546875, 0.00919342041015625, 0.0892333984375, 0.04119873046875, 0.05908203125, -0.0301055908203125, -0.0548095703125, -0.04547119140625, 0.052093505859375, 0.035919189453125, 0.03692626953125, -0.058685302734375, -0.004665374755859375, 0.041595458984375, 0.037841796875, 0.0202484130859375, -0.01044464111328125, 0.01261138916015625, 0.00850677490234375, -0.019683837890625, 0.0018453598022460938, 0.0092010498046875, -0.0208282470703125, -0.03656005859375, -0.0594482421875, 0.037200927734375, 0.03802490234375, 0.02239990234375, 0.0230560302734375, 0.0245819091796875, 0.0182647705078125, -0.039794921875, 0.02471923828125, -0.006473541259765625, -0.042572021484375, 0.032562255859375, -0.004058837890625, 0.045440673828125, -0.009002685546875, -0.045318603515625, 0.00872802734375, -0.048187255859375, -0.084228515625, 0.042816162109375, 0.053558349609375, -0.018463134765625, 0.0169830322265625, -0.03021240234375, 0.0006895065307617188, -0.017059326171875, 0.005035400390625, 0.000005602836608886719, 0.006561279296875, 0.0214996337890625, -0.0093536376953125, 0.020477294921875, -0.0036907196044921875, 0.01953125, 0.02960205078125, 0.01085662841796875, 0.0855712890625, -0.0304412841796875, 0.006572723388671875, 0.040802001953125, -0.035247802734375, 0.0254974365234375, 0.038909912109375, -0.039947509765625, -0.0268707275390625, 0.00827789306640625, -0.0021820068359375, -0.016571044921875, 0.0208587646484375, 0.0245208740234375, -0.0242767333984375, 0.0211334228515625, -0.005748748779296875, 0.0023822784423828125, -0.0292816162109375, 0.055755615234375, -0.032012939453125, -0.041473388671875, -0.07135009765625, -0.0232696533203125, 0.0357666015625, -0.0112152099609375, -0.02001953125, 0.0213470458984375, 0.050445556640625, -0.003208160400390625, 0.0172576904296875, 0.0169219970703125, 0.033294677734375, 0.0355224609375, 0.0116119384765625, 0.01629638671875, -0.023651123046875, -0.04132080078125, 0.026519775390625, -0.019134521484375, 0.033111572265625, -0.039703369140625, 0.0012483596801757812, -0.0041046142578125, -0.034454345703125, 0.001148223876953125, -0.040069580078125, -0.0168609619140625, 0.00213623046875, 0.0303497314453125, -0.00023090839385986328, 0.0153656005859375, -0.0256805419921875, -0.0043487548828125, -0.029052734375, -0.02520751953125, 0.001495361328125, -0.0888671875, -0.0025310516357421875, 0.025482177734375, -0.0227508544921875, -0.043792724609375, 0.033355712890625, 0.0027904510498046875, -0.054046630859375, 0.002597808837890625, -0.06304931640625, -0.0166015625, -0.0006470680236816406, 0.01910400390625, -0.0291900634765625, -0.043212890625, -0.030914306640625, 0.0504150390625, -0.038604736328125, 0.01145172119140625, 0.0333251953125, -0.00678253173828125, -0.04376220703125, 0.050018310546875, -0.01715087890625, 0.08905029296875, -0.064453125, -0.03985595703125, 0.004238128662109375, -0.0123291015625, 0.01509857177734375, -0.054595947265625, 0.0023708343505859375, -0.06829833984375, 0.0037841796875, 0.05126953125, -0.0595703125, -0.037750244140625, -0.041107177734375, -0.0343017578125, 0.0516357421875, 0.035797119140625, -0.0350341796875, 0.007656097412109375, -0.0157928466796875, 0.0036602020263671875, 0.040069580078125, 0.009857177734375, -0.011932373046875, -0.05291748046875, -0.018951416015625, -0.004871368408203125, -0.01474761962890625, 0.04150390625, -0.036285400390625, -0.02447509765625, -0.004123687744140625, 0.018218994140625, -0.02886962890625, -0.015045166015625, -0.02288818359375, 0.03924560546875, 0.0282745361328125, -0.0298004150390625, 0.00536346435546875, 0.03289794921875, 0.0034542083740234375, 0.01605224609375, -0.0292510986328125, -0.055816650390625, -0.01378631591796875, 0.07012939453125, 0.048583984375, 0.034393310546875, -0.0247344970703125, 0.013916015625, -0.034698486328125, -0.039520263671875, -0.0105438232421875, 0.03179931640625, -0.0787353515625, -0.0172576904296875, 0.038482666015625, -0.007488250732421875, -0.0132598876953125, -0.007244110107421875, -0.0245361328125, 0.0015993118286132812, 0.041259765625, 0.028106689453125, -0.0155029296875, -0.047576904296875, 0.0179290771484375, -0.0167999267578125, -0.0185089111328125, 0.0168914794921875, 0.0253448486328125, -0.0293731689453125, 0.0455322265625, -0.00994873046875, -0.0009784698486328125, 0.01467132568359375, 0.00298309326171875, 0.01502227783203125, -0.031646728515625, 0.0379638671875, -0.0165863037109375, -0.018524169921875, -0.0266265869140625, 0.01021575927734375, -0.0347900390625, 0.019012451171875, -0.038787841796875, 0.000002682209014892578, -0.0118560791015625, -0.0203704833984375, 0.036041259765625, -0.0186309814453125, 0.033905029296875, -0.0287628173828125, 0.0004940032958984375, 0.0242156982421875, -0.0009622573852539062, 0.008026123046875, -0.0232086181640625, -0.0205078125, -0.03533935546875, 0.0102996826171875, 0.0079498291015625, -0.0288848876953125, 0.0217437744140625 ]
1443c5a6acef5087b2fcfe628646fe7b81904d4f
Wordpress Stackexchange Q: difference between $wp_the_query and $wp_query? & getting the values properly i have seen $wp_query and $wp_the_query in many plugins and themes. for me these two are just same thing with no difference. i am not looking to either use or get the values from $GLOBALS. what is the actual difference between these two objects and when to use them? What is the proper action /filter hook for getting and reading values from $wp_query and $wp_the_query. A: You should read in this answer it explains it in depth. in short, * *$wp_query is the variable that holds a copy of $wp_the_query global query that could/can be modified by plugins and themes *$wp_the_query is the variable that holds an unmodified copy of the global query object and used to reset the $wp_query object when we call wp_reset_query() I think you now understand as to why it makes sense to have both available to us.
Q: difference between $wp_the_query and $wp_query? & getting the values properly i have seen $wp_query and $wp_the_query in many plugins and themes. for me these two are just same thing with no difference. i am not looking to either use or get the values from $GLOBALS. what is the actual difference between these two objects and when to use them? What is the proper action /filter hook for getting and reading values from $wp_query and $wp_the_query. A: You should read in this answer it explains it in depth. in short, * *$wp_query is the variable that holds a copy of $wp_the_query global query that could/can be modified by plugins and themes *$wp_the_query is the variable that holds an unmodified copy of the global query object and used to reset the $wp_query object when we call wp_reset_query() I think you now understand as to why it makes sense to have both available to us.
wordpress
{ "language": "en", "length": 153, "provenance": "stackexchange_00019.jsonl.gz:474388", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/260647" }
[ 0.043426513671875, -0.01305389404296875, 0.0165557861328125, -0.0531005859375, 0.021728515625, -0.0262908935546875, 0.032440185546875, 0.010101318359375, 0.0184326171875, 0.035980224609375, -0.04833984375, -0.01558685302734375, 0.01580810546875, -0.01453399658203125, 0.01351165771484375, -0.0307464599609375, 0.047821044921875, -0.08709716796875, -0.01515960693359375, -0.0219268798828125, 0.0245513916015625, 0.0213775634765625, 0.00533294677734375, 0.07073974609375, 0.01129150390625, -0.038360595703125, 0.0411376953125, -0.004604339599609375, 0.029266357421875, -0.00013637542724609375, 0.01136016845703125, -0.0157470703125, 0.0328369140625, 0.017974853515625, -0.05035400390625, -0.021240234375, 0.0018720626831054688, -0.00379180908203125, 0.0059661865234375, -0.0067901611328125, 0.0306854248046875, -0.02447509765625, -0.04327392578125, -0.015655517578125, -0.0186614990234375, -0.0185699462890625, 0.041839599609375, -0.0303802490234375, -0.01129913330078125, -0.023895263671875, 0.005828857421875, 0.00262451171875, 0.0364990234375, -0.035247802734375, -0.00905609130859375, -0.00333404541015625, 0.00875091552734375, -0.021453857421875, 0.0298004150390625, -0.0249786376953125, -0.037353515625, -0.023468017578125, 0.040924072265625, -0.0162353515625, 0.0138092041015625, 0.01122283935546875, 0.057647705078125, 0.03570556640625, -0.026092529296875, -0.01021575927734375, 0.00107574462890625, 0.003398895263671875, -0.00481414794921875, 0.0010881423950195312, -0.0006198883056640625, -0.048126220703125, 0.024322509765625, -0.0292510986328125, 0.004314422607421875, 0.0401611328125, -0.007297515869140625, -0.031768798828125, -0.11767578125, 0.040863037109375, -0.011688232421875, 0.054351806640625, -0.0002522468566894531, -0.01861572265625, -0.00421142578125, -0.0377197265625, -0.013946533203125, -0.00798797607421875, -0.023101806640625, -0.01508331298828125, -0.0083160400390625, -0.04998779296875, 0.0140380859375, 0.024383544921875, -0.03619384765625, 0.007228851318359375, -0.0220489501953125, -0.00885009765625, -0.004150390625, -0.01507568359375, 0.0196075439453125, 0.0240325927734375, 0.014068603515625, 0.010345458984375, 0.051116943359375, 0.01122283935546875, 0.00547027587890625, 0.03546142578125, -0.0044097900390625, -0.0299835205078125, -0.0308074951171875, 0.02484130859375, -0.0209503173828125, -0.01470947265625, 0.0118255615234375, -0.0015735626220703125, 0.0157623291015625, 0.006504058837890625, 0.01062774658203125, 0.02301025390625, -0.0187835693359375, -0.02215576171875, -0.0146942138671875, -0.01727294921875, -0.0528564453125, 0.050445556640625, -0.0218048095703125, -0.0206756591796875, 0.045440673828125, 0.03729248046875, -0.006504058837890625, -0.036865234375, -0.0143890380859375, 0.0285186767578125, 0.033843994140625, 0.006549835205078125, 0.0114593505859375, -0.06158447265625, -0.025634765625, 0.03875732421875, -0.01349639892578125, -0.0014286041259765625, 0.0328369140625, 0.0325927734375, -0.034820556640625, -0.04010009765625, 0.023040771484375, 0.020782470703125, 0.0043182373046875, 0.004962921142578125, -0.017547607421875, -0.0104522705078125, -0.005443572998046875, -0.0323486328125, 0.003185272216796875, -0.023193359375, 0.0021305084228515625, 0.0110015869140625, 0.0145111083984375, -0.002994537353515625, 0.003185272216796875, -0.037017822265625, -0.01464080810546875, 0.01381683349609375, 0.01206207275390625, -0.0024890899658203125, 0.044464111328125, 0.011260986328125, 0.037139892578125, -0.00841522216796875, -0.01209259033203125, -0.035400390625, -0.0103912353515625, -0.0030536651611328125, -0.0004630088806152344, -0.01081085205078125, -0.042877197265625, -0.056365966796875, -0.01245880126953125, -0.019073486328125, -0.0209808349609375, 0.01540374755859375, 0.0061492919921875, 0.0006017684936523438, 0.0023746490478515625, 0.0120849609375, 0.042510986328125, 0.0265350341796875, -0.0223388671875, 0.03955078125, 0.012481689453125, -0.02874755859375, -0.0166168212890625, -0.01178741455078125, 0.00295257568359375, -0.040740966796875, 0.00957489013671875, 0.01230621337890625, -0.0163726806640625, 0.0009984970092773438, -0.1318359375, 0.0325927734375, -0.03814697265625, 0.04803466796875, -0.046600341796875, 0.0118560791015625, 0.03076171875, 0.01056671142578125, -0.037139892578125, 0.00684356689453125, -0.002475738525390625, 0.0230865478515625, -0.053131103515625, 0.006023406982421875, 0.00968170166015625, 0.018096923828125, 0.0147247314453125, -0.0170135498046875, -0.01493072509765625, -0.02978515625, 0.09063720703125, -0.0160675048828125, -0.0008382797241210938, -0.02410888671875, 0.0931396484375, -0.03131103515625, 0.0171661376953125, 0.0308990478515625, 0.0263214111328125, 0.080078125, 0.0252532958984375, -0.0010404586791992188, 0.037445068359375, -0.0670166015625, 0.01509857177734375, 0.023468017578125, 0.043609619140625, 0.043365478515625, -0.02569580078125, -0.0460205078125, 0.05047607421875, -0.041473388671875, 0.00997161865234375, -0.033782958984375, 0.005069732666015625, 0.02734375, 0.0479736328125, -0.0240020751953125, 0.01485443115234375, 0.0004944801330566406, -0.0157623291015625, -0.003597259521484375, 0.00008660554885864258, 0.0428466796875, -0.039581298828125, 0.0391845703125, -0.053680419921875, -0.0241851806640625, 0.05023193359375, -0.036163330078125, 0.0032100677490234375, -0.0216064453125, -0.0015287399291992188, -0.0072021484375, 0.0240478515625, -0.03143310546875, 0.0226593017578125, -0.03363037109375, -0.00939178466796875, 0.0008206367492675781, -0.03912353515625, 0.0265960693359375, -0.03729248046875, 0.0163421630859375, -0.005550384521484375, -0.0167236328125, -0.0124053955078125, 0.01849365234375, -0.054229736328125, -0.0124664306640625, -0.0185089111328125, -0.0190887451171875, -0.006290435791015625, 0.041229248046875, 0.00789642333984375, -0.0023136138916015625, 0.045654296875, -0.0014009475708007812, -0.063232421875, 0.053009033203125, -0.024261474609375, -0.02655029296875, 0.01464080810546875, -0.0032138824462890625, 0.0011644363403320312, -0.02569580078125, 0.048187255859375, 0.04791259765625, 0.001621246337890625, -0.02728271484375, 0.018218994140625, -0.03680419921875, 0.031768798828125, 0.0079498291015625, -0.004795074462890625, 0.0278472900390625, -0.08319091796875, -0.00013196468353271484, 0.0221405029296875, 0.033203125, -0.0056915283203125, -0.037384033203125, -0.02484130859375, 0.0303192138671875, -0.10369873046875, -0.09967041015625, -0.007965087890625, -0.079833984375, 0.0146026611328125, -0.02996826171875, -0.0306396484375, 0.009307861328125, -0.012939453125, 0.0146026611328125, 0.012054443359375, -0.006378173828125, -0.044921875, -0.046234130859375, -0.06561279296875, -0.003314971923828125, -0.0021991729736328125, 0.02484130859375, -0.0022563934326171875, 0.05755615234375, 0.00872039794921875, -0.002765655517578125, -0.01256561279296875, -0.0034084320068359375, 0.00107574462890625, -0.022003173828125, 0.03155517578125, -0.0067291259765625, 0.010284423828125, 0.01319122314453125, -0.00885772705078125, 0.03753662109375, -0.0241241455078125, -0.0307159423828125, 0.046417236328125, 0.0201873779296875, 0.0526123046875, 0.01397705078125, -0.064697265625, 0.0034008026123046875, 0.028839111328125, -0.050750732421875, -0.04986572265625, -0.01514434814453125, -0.05670166015625, 0.0911865234375, 0.06732177734375, -0.0086517333984375, -0.003910064697265625, 0.0333251953125, 0.01096343994140625, 0.00206756591796875, -0.00966644287109375, -0.044708251953125, 0.0648193359375, 0.0207977294921875, 0.0406494140625, 0.01229095458984375, -0.0091094970703125, -0.050567626953125, 0.0157928466796875, -0.008758544921875, -0.0223541259765625, 0.0084686279296875, -0.040679931640625, 0.013671875, -0.0271759033203125, 0.03448486328125, -0.01654052734375, 0.005031585693359375, -0.012786865234375, -0.0224456787109375, -0.0185089111328125, 0.060791015625, -0.000843048095703125, -0.00479888916015625, 0.00868988037109375, 0.01517486572265625, -0.062255859375, -0.033447265625, -0.055145263671875, -0.00011366605758666992, -0.046539306640625, 0.0032100677490234375, -0.00928497314453125, -0.0141754150390625, -0.002399444580078125, 0.0634765625, -0.02313232421875, -0.013153076171875, 0.0289764404296875, -0.039459228515625, -0.0106658935546875, 0.0211181640625, -0.0418701171875, 0.0016345977783203125, -0.0085601806640625, -0.035614013671875, -0.057586669921875, -0.022674560546875, 0.042144775390625, 0.04449462890625, 0.007244110107421875, -0.054473876953125, -0.0066070556640625, 0.0267333984375, 0.0261993408203125, -0.0006914138793945312, 0.0175018310546875, -0.00530242919921875, 0.0208892822265625, -0.01385498046875, 0.0120697021484375, -0.038848876953125, 0.005645751953125, -0.037445068359375, -0.02587890625, -0.0243377685546875, -0.04052734375, -0.0002560615539550781, -0.039764404296875, -0.01308441162109375, -0.06201171875, 0.006763458251953125, -0.01190185546875, -0.0207672119140625, -0.0284423828125, 0.02581787109375, 0.046142578125, -0.042144775390625, 0.055450439453125, 0.05511474609375, -0.01959228515625, -0.0149383544921875, 0.07354736328125, 0.0258331298828125, -0.0516357421875, -0.032470703125, -0.0535888671875, 0.020660400390625, -0.025787353515625, 0.00975799560546875, 0.0119476318359375, -0.0217437744140625, 0.0021762847900390625, -0.001758575439453125, 0.01470947265625, -0.00580596923828125, 0.051177978515625, 0.0196685791015625, 0.021209716796875, -0.0007128715515136719, 0.01514434814453125, -0.022125244140625, 0.038970947265625, 0.005558013916015625, -0.04534912109375, 0.036468505859375, 0.02862548828125, -0.040496826171875, 0.044830322265625, -0.006336212158203125, -0.006557464599609375, 0.0095367431640625, 0.0198516845703125, 0.042755126953125, 0.0211334228515625, 0.00798797607421875, -0.01093292236328125, 0.01003265380859375, 0.0175628662109375, 0.0281219482421875, 0.06048583984375, -0.005527496337890625, 0.043212890625, 0.045166015625, 0.0119171142578125, -0.037353515625, 0.00025844573974609375, 0.038238525390625, -0.0177459716796875, -0.02484130859375, 0.0142364501953125, -0.0012311935424804688, 0.0272064208984375, 0.032867431640625, 0.0016908645629882812, 0.05487060546875, 0.024993896484375, -0.0013179779052734375, 0.0169830322265625, 0.0218048095703125, -0.038360595703125, -0.0285797119140625, 0.01448822021484375, 0.0066375732421875, -0.0004863739013671875, 0.0204925537109375, 0.09539794921875, -0.064453125, 0.08282470703125, -0.0102691650390625, -0.0121612548828125, -0.0087890625, 0.003284454345703125, 0.0166778564453125, 0.00928497314453125, 0.0197906494140625, -0.016845703125, 0.0222930908203125, 0.003414154052734375, 0.002277374267578125, 0.03363037109375, 0.0036792755126953125, -0.01849365234375, -0.011932373046875, 0.01422882080078125, 0.01021575927734375, -0.001438140869140625, 0.044586181640625, 0.0254364013671875, -0.0156707763671875, -0.032501220703125, -0.0192413330078125, 0.035308837890625, -0.003871917724609375, 0.0029621124267578125, 0.0041961669921875, -0.019866943359375, 0.0276947021484375, 0.0341796875, 0.003871917724609375, -0.00992584228515625, -0.03662109375, 0.006092071533203125, -0.0113983154296875, 0.0018301010131835938, -0.00592041015625, 0.0181427001953125, -0.0252838134765625, -0.02545166015625, 0.0301361083984375, 0.0203857421875, 0.050567626953125, -0.07659912109375, -0.0047149658203125, -0.043243408203125, -0.0256500244140625, 0.08575439453125, 0.0487060546875, -0.042449951171875, -0.00753021240234375, -0.0247955322265625, -0.0034313201904296875, -0.00005638599395751953, -0.032012939453125, -0.03179931640625, 0.00559234619140625, -0.017333984375, 0.006687164306640625, -0.018218994140625, 0.00580596923828125, -0.0019178390502929688, 0.0151824951171875, -0.019195556640625, 0.026611328125, -0.01318359375, 0.006771087646484375, 0.04010009765625, 0.02740478515625, 0.0118865966796875, -0.016326904296875, -0.010772705078125, -0.0224761962890625, 0.021087646484375, -0.038909912109375, -0.0421142578125, -0.039276123046875, 0.00527191162109375, 0.004764556884765625, -0.004283905029296875, -0.01474761962890625, 0.0311126708984375, -0.00640869140625, 0.004344940185546875, -0.006328582763671875, -0.0173797607421875, -0.032958984375, -0.02532958984375, 0.0670166015625, -0.03839111328125, 0.01213836669921875, 0.0200958251953125, 0.002933502197265625, 0.0286407470703125, -0.0283203125, 0.0065155029296875, 0.0301971435546875, -0.035614013671875, 0.014251708984375, 0.046173095703125, 0.0126953125, 0.032745361328125, -0.0189666748046875, 0.00832366943359375, 0.021026611328125, -0.01226043701171875, -0.0186767578125, -0.0018186569213867188, 0.0301055908203125, 0.0016450881958007812, -0.0229034423828125, 0.014801025390625, -0.0185546875, 0.01102447509765625, 0.01422119140625, 0.05694580078125, -0.02960205078125, 0.0038356781005859375, 0.035400390625, -0.005611419677734375, -0.016876220703125, 0.03155517578125, -0.0261383056640625, -0.045867919921875, 0.004642486572265625, -0.0091705322265625, -0.00724029541015625, 0.01546478271484375, 0.01107025146484375, -0.04034423828125, 0.0012912750244140625, 0.0004153251647949219, 0.0119171142578125, -0.0193634033203125, 0.04217529296875, 0.0010204315185546875, 0.0007042884826660156, -0.005588531494140625, 0.01479339599609375, -0.0006756782531738281, -0.0240325927734375, -0.05950927734375, -0.01349639892578125, 0.0009012222290039062, -0.02099609375, 0.02166748046875, 0.0092315673828125, 0.03631591796875, 0.04986572265625, 0.00572967529296875, 0.0146484375, -0.0004849433898925781, 0.024627685546875, -0.04071044921875, -0.005340576171875, 0.01169586181640625, 0.040130615234375, -0.039520263671875, 0.0307159423828125, -0.039794921875, 0.0012960433959960938, 0.01100921630859375, -0.0064544677734375, 0.015899658203125, -0.032318115234375, -0.005863189697265625, 0.0242462158203125, -0.017242431640625, 0.007587432861328125, -0.016143798828125, 0.01322174072265625, -0.045623779296875, -0.001186370849609375, -0.007732391357421875, 0.006561279296875, -0.00571441650390625, -0.0115814208984375, -0.058868408203125, 0.06292724609375, -0.0179595947265625, 0.03369140625, 0.051361083984375, -0.0102996826171875, -0.0394287109375, -0.044158935546875, -0.046356201171875, 0.07269287109375, 0.0134124755859375, 0.0517578125, -0.05987548828125, -0.0169525146484375, 0.003940582275390625, 0.008392333984375, 0.06976318359375, 0.0020122528076171875, -0.0338134765625, -0.016082763671875, 0.047637939453125, 0.0262451171875, -0.0023212432861328125, 0.033203125, 0.051422119140625, 0.059234619140625, 0.07281494140625, -0.027008056640625, 0.0251312255859375, -0.035980224609375, 0.01311492919921875, 0.07586669921875, -0.00262451171875, -0.0141448974609375, -0.00048542022705078125, 0.027496337890625, -0.0288543701171875, -0.00836944580078125, 0.005237579345703125, 0.01148223876953125, 0.0137481689453125, 0.0477294921875, 0.002956390380859375, -0.019927978515625, -0.04510498046875, -0.017333984375, 0.0240936279296875, -0.01568603515625, 0.040008544921875, 0.034637451171875, -0.003108978271484375, 0.093017578125, 0.006317138671875, 0.0165863037109375, 0.0226287841796875, 0.0011692047119140625, 0.034332275390625, 0.02642822265625, 0.00933837890625, -0.047882080078125, 0.02947998046875, 0.0174407958984375, 0.0423583984375, -0.06353759765625, -0.064208984375, 0.00830078125, 0.006221771240234375, 0.023284912109375, -0.00040149688720703125, 0.0218658447265625, -0.0075225830078125, 0.0257720947265625, -0.01280975341796875, 0.01313018798828125, 0.054046630859375, -0.0528564453125, -0.002353668212890625, 0.027069091796875, 0.014404296875, 0.045074462890625, -0.01221466064453125, -0.016448974609375, 0.019775390625, 0.043914794921875, -0.0016355514526367188, 0.05657958984375, -0.0203704833984375, -0.0186004638671875, -0.0247802734375, 0.050018310546875, -0.030548095703125, 0.0546875, -0.064697265625, -0.046600341796875, 0.034912109375, 0.041839599609375, 0.055206298828125, 0.005229949951171875, 0.0679931640625, 0.035919189453125, -0.03570556640625, 0.022857666015625, 0.0241546630859375, -0.0164031982421875, -0.0048980712890625, 0.005916595458984375, 0.0180206298828125, 0.0181732177734375, -0.008636474609375, -0.029754638671875, 0.0635986328125, 0.00582122802734375, 0.0220794677734375, 0.018218994140625, -0.0011491775512695312, -0.0286102294921875, -0.0009965896606445312, 0.002559661865234375, 0.050201416015625, 0.01241302490234375, -0.0211944580078125, -0.0121612548828125, -0.0038776397705078125, 0.00811004638671875, 0.01629638671875, 0.0301513671875, 0.0222320556640625, 0.0240936279296875, 0.020721435546875, -0.0311431884765625, 0.006008148193359375, 0.0172119140625, 0.0144500732421875, -0.03662109375, -0.0105743408203125, -0.0235137939453125, -0.06658935546875, -0.034698486328125, -0.0017070770263671875, 0.0001844167709350586, 0.0035724639892578125, -0.0005097389221191406, 0.03594970703125, 0.01375579833984375, -0.0024261474609375, 0.029541015625, -0.040924072265625, -0.00848388671875, 0.049774169921875, -0.04156494140625, -0.0080413818359375, 0.009124755859375, -0.0310516357421875, -0.0019817352294921875, 0.044281005859375, -0.035186767578125, 0.0029430389404296875, -0.0038166046142578125, 0.0203857421875, -0.0260162353515625, 0.01357269287109375, -0.0095672607421875, 0.04840087890625, 0.058319091796875, -0.007724761962890625, 0.03857421875, -0.0333251953125, -0.020355224609375, 0.0023937225341796875, -0.0269317626953125, -0.0418701171875, 0.039337158203125, -0.03472900390625, 0.0183563232421875, 0.03289794921875, -0.012786865234375, -0.0230712890625, -0.00814056396484375, -0.01464080810546875, -0.00945281982421875, 0.017486572265625, 0.0008382797241210938, 0.0173492431640625, -0.0249786376953125, -0.0545654296875, -0.04400634765625, 0.028228759765625, 0.00811767578125, 0.01029205322265625, -0.04266357421875, 0.01253509521484375, -0.0302276611328125, -0.019989013671875, -0.02069091796875, -0.0222930908203125, -0.007236480712890625, -0.0009531974792480469, 0.00440216064453125, -0.053985595703125, -0.0142974853515625, 0.0092620849609375, 0.0172576904296875, 0.00005173683166503906, -0.0177154541015625, 0.006580352783203125, -0.03131103515625, 0.0022678375244140625, -0.0038318634033203125, -0.0556640625, 0.0092620849609375, -0.00740814208984375, -0.0099029541015625, 0.017303466796875, -0.07281494140625, -0.03680419921875, -0.01531219482421875, 0.019561767578125, 0.04052734375, -0.033477783203125, -0.009490966796875, 0.080322265625, 0.03271484375, 0.11968994140625, -0.0146026611328125, -0.0247650146484375, 0.0247802734375, 0.00815582275390625, -0.00675201416015625, -0.03643798828125, -0.0011682510375976562, -0.021087646484375, 0.02386474609375, 0.0201873779296875, -0.0006093978881835938, 0.0180816650390625, -0.0260162353515625, -0.07464599609375, 0.008148193359375, 0.0017309188842773438, -0.0302581787109375, -0.0262603759765625, -0.033050537109375, 0.029022216796875, -0.0033588409423828125, -0.0085906982421875, -0.025390625, -0.10162353515625, -0.02020263671875, 0.02203369140625, 0.01340484619140625, 0.0178680419921875, -0.00861358642578125, -0.09344482421875, -0.0035915374755859375, -0.0169525146484375, 0.06219482421875, 0.009918212890625, -0.0267791748046875, 0.0160675048828125, 0.00873565673828125, -0.028900146484375, 0.0076446533203125, -0.0027637481689453125, -0.0160369873046875, -0.038726806640625, 0.0262298583984375, 0.0144195556640625, 0.033966064453125, 0.01360321044921875, 0.06524658203125, -0.0036334991455078125, -0.0399169921875, -0.0042266845703125, 0.02154541015625, -0.01995849609375, -0.024139404296875, 0.0361328125, -0.0755615234375, -0.0460205078125, -0.0195159912109375, -0.029144287109375, 0.0188140869140625, -0.042449951171875, -0.037384033203125, -0.002880096435546875, -0.035125732421875, 0.0007796287536621094, -0.0291290283203125, -0.0848388671875, 0.0276641845703125, -0.016693115234375, -0.0176239013671875, -0.0002608299255371094, 0.056060791015625, -0.0084991455078125, 0.0256805419921875, 0.0268707275390625, 0.024200439453125, -0.007091522216796875, 0.01406097412109375, 0.014617919921875, -0.060943603515625, -0.0017461776733398438, -0.0016345977783203125, -0.016998291015625, 0.0286865234375, -0.0137786865234375, 0.035186767578125, -0.0176544189453125, 0.07110595703125, 0.0277099609375, 0.042724609375, 0.0281219482421875, 0.031982421875, -0.0059814453125, 0.05474853515625, 0.0006127357482910156, -0.04833984375, -0.015869140625, -0.025604248046875, -0.007427215576171875, -0.0077972412109375, -0.00982666015625, -0.0640869140625, 0.036590576171875, -0.03399658203125, 0.01444244384765625, 0.03045654296875 ]
d314bb690624ae066d43db6dcc6dfe7dc1a8bb8e
Wordpress Stackexchange Q: Limit search to latin characters I'd like to limit search to characters used on the English language + numbers. The reason is that looking at the slowest queries on mysql log i found most come from searches in Arab, Russian and Chinese characters, so i'd like to skip them and display an error message instead. A: You would do this by putting in a validation function in PHP to test the input against a regular expression like ^[a-zA-Z0-9,.!?' ]* So it would look like this: if ( preg_match( "^[a-zA-Z0-9,.!?'" ]*", {search variable} ) ) { // Success } else { // Fail } The RexEx I used for all characters A-Z, a-z, 0-9, as well as ,, ., !, ?, ', ", and (space).
Q: Limit search to latin characters I'd like to limit search to characters used on the English language + numbers. The reason is that looking at the slowest queries on mysql log i found most come from searches in Arab, Russian and Chinese characters, so i'd like to skip them and display an error message instead. A: You would do this by putting in a validation function in PHP to test the input against a regular expression like ^[a-zA-Z0-9,.!?' ]* So it would look like this: if ( preg_match( "^[a-zA-Z0-9,.!?'" ]*", {search variable} ) ) { // Success } else { // Fail } The RexEx I used for all characters A-Z, a-z, 0-9, as well as ,, ., !, ?, ', ", and (space). A: EDIT: This solution is not recommended My solution below is a hack which abuses PHP's mbstring functions in an attempt to magically divine alphabets by looking at the arrangement of bytes which compose the string. This is a really bad idea and is highly prone to error. Please see my other answer for a far simpler and much more reliable solution. One means to prevent searches using non-Latin alphabets is to use PHP's mb_detect_encoding() function to see if the search string conforms to one of a custom selection of character encodings. A good place to do this is the pre_get_posts action, as it fires right before the query is executed. What you actually do after you've determined a search is using an invalid encoding is really application specific. Here I've set the search query to a single space to ensure that WordPress still interprets the query as a search, and thus still loads the search.php template (and does not direct the user to the front-page, as happens when the search string is an empty string). I also take an added precaution of setting 'post__in' to an array with an impossible post ID in order to make sure that absolutely nothing is returned. Alternately, you might consider setting the search string to null and setting page_id in order to direct the user to a page with your custom error message. function wpse261038_validate_search_query_encoding( $query ) { $valid_encodings = array( 'Windows-1252' ); // Ignore admin, non-main query, and non-search queries if( is_admin() || !$query->is_main_query() || !$query->is_seach() ) return; // Retrieve the encoding of the search string (if it's one listed in $valid_encodings) $search_encoding = mb_detect_encoding( $query->get( 's' ), $valid_encodings, true ); // If the search encoding is one in $valid_encodings, leave the query as-is if( in_array( $search_encoding, $valid_encodings ) ) return; // If it wasn't, sabotage the search query $query->set( 's', ' ' ); $query->set( 'post__in', array(0) ); // Set up your error message logic here somehow, perhaps one of the following: // - Add a template_include filter to load a custom error template // - Add a wp_enqueue_scripts hook with a greater priority than your theme/plugin's, and // use wp_localize_script() in the hook to pass an error message for your JavaScript // to display // - Perform a wp_redirect() to send the user to the URL of your choice // - Set a variable with an error message which your theme or plugin can display } add_action( 'pre_get_posts', 'wpse261038_validate_search_query_encoding' ); Choosing Encodings I wrote a coverage test comparing some dummy strings in different alphabets against all of the default encodings supported by PHP. It's not perfect by any stretch (I have no idea how realistic my dummy strings are, and it seems to choke on Japanese detection), but it's somewhat useful for determining candidates. You can see it in action here. After researching potential character encodings flagged by that test, it seems like Windows-1252 is the perfect choice for your needs, covering the Latin alphabet as well as the accents for common Latin languages. A selection of the ISO-8859 character sets should be another viable choice, however for reasons I can't wrap my head around, the mb_ functions don't seem to differentiate between ISO-8859's different character sets, despite listing them as separate encodings. To allow some other common characters, you might also consider adding HTML-ENTITIES. A: This solution filters search strings by applying a regular expression which only matches characters from the Common and Latin Unicode scripts. Matching Latin Characters with Regular Expressions I just had my mind blown over at Stack Overflow. As it turns out, regular expressions have a mechanism to match entire Unicode categories, including values to specify entire Unicode "scripts", each corresponding to groups of characters used in different writing systems. This is done by using the \p meta-character followed by a Unicode category identifier in curly braces - so [\p{Common}\p{Latin}] matches a single character in either the Latin or Common scripts - this includes punctuation, numerals, and miscellaneous symbols. As @Paul 'Sparrow Hawk' Biron points out, the u pattern modifier flag should be set at the end of the regular expression in order for PHP's PCRE functions to treat the subject string as UTF-8 Unicode encoded. All together then, the pattern /^[\p{Latin}\p{Common}]+$/u will match an entire string composed of one or more characters in the Latin and Common Unicode scripts. Filtering the Search String A good place to intercept a search string is the pre_get_posts action as it fires immediately before WordPress executes the query. With more care, this could also be accomplished using a request filter. function wpse261038_validate_search_characters( $query ) { // Leave admin, non-main query, and non-search queries alone if( is_admin() || !$query->is_main_query() || !$query->is_seach() ) return; // Check if the search string contains only Latin/Common Unicode characters $match_result = preg_match( '/^[\p{Latin}\p{Common}]+$/u', $query->get( 's' ) ); // If the search string only contains Latin/Common characters, let it continue if( 1 === $match_result ) return; // If execution reaches this point, the search string contains non-Latin characters //TODO: Handle non-Latin search strings //TODO: Set up logic to display error message } add_action( 'pre_get_posts', 'wpse261038_validate_search_characters' ); Responding to Disallowed Searches Once it's been determined that a search string contains non-Latin characters, you can use WP_Query::set() in order to modify the query by changing it's named query vars - thus affecting the SQL query WordPress subsequently composes and executes. The most relevant query variables are probably the following: * *s is the query variable corresponding to a search string. Setting it to null or an empty string ('') will result in the WordPress no longer treating the query as a search - often times this results in an archive template displaying all posts or the front-page of the site, depending on the values of the other query vars. Setting it to a single space (' '), however, will result in WordPress recognizing it as a search, and thus attempting to display the search.php template. *page_id could be used to direct the user to a specific page of your choice. *post__in can restrict the query to a specific selection of posts. By setting it to an array with an impossible post ID, it can serve as a measure to ensure that the query returns absolutely nothing. The above in mind, you might do the following in order to respond to a bad search by loading the search.php template with no results: function wpse261038_validate_search_characters( $query ) { // Leave admin, non-main query, and non-search queries alone if( is_admin() || !$query->is_main_query() || !$query->is_seach() ) return; // Check if the search string contains only Latin/Common Unicode characters $match_result = preg_match( '/^[\p{Latin}\p{Common}]+$/u', $query->get( 's' ) ); // If the search string only contains Latin/Common characters, let it continue if( 1 === $match_result ) return; $query->set( 's', ' ' ); // Replace the non-latin search with an empty one $query->set( 'post__in', array(0) ); // Make sure no post is ever returned //TODO: Set up logic to display error message } add_action( 'pre_get_posts', 'wpse261038_validate_search_characters' ); Displaying an Error The way in which you actually display the error message is highly dependent on your application and the abilities of your theme - there are many ways which this can be done. If your theme calls get_search_form() in it's search template, the easiest solution is probably to use a pre_get_search_form action hook to output your error immediately above the search form: function wpse261038_validate_search_characters( $query ) { // Leave admin, non-main query, and non-search queries alone if( is_admin() || !$query->is_main_query() || !$query->is_seach() ) return; // Check if the search string contains only Latin/Common Unicode characters $match_result = preg_match( '/^[\p{Latin}\p{Common}]+$/u', $query->get( 's' ) ); // If the search string only contains Latin/Common characters, let it continue if( 1 === $match_result ) return; $query->set( 's', ' ' ); // Replace the non-latin search with an empty one $query->set( 'post__in', array(0) ); // Make sure no post is ever returned add_action( 'pre_get_search_form', 'wpse261038_display_search_error' ); } add_action( 'pre_get_posts', 'wpse261038_validate_search_characters' ); function wpse261038_display_search_error() { echo '<div class="notice notice-error"><p>Your search could not be completed as it contains characters from non-Latin alphabets.<p></div>'; } Some other possibilities for displaying an error message include: * *If your site uses JavaScript which can display "flash" or "modal" messages (or you add such abilities on your own), add to it the logic to display messages on page-load when a specific variable is set, then add a wp_enqueue_script hook with a $priority larger than that which enqueues that JavaScript, and use wp_localize_script() to set that variable to include your error message. *Use wp_redirect() to send the user to the URL of your choice (this method requires an additional page load). *Set a PHP variable or invoke a method which will inform your theme/plugin about the error such that it may display it where appropriate. *Set the s query variable to '' instead of ' ' and use page_id in place of post__in in order to return a page of your choosing. *Use a loop_start hook to inject a fake WP_Post object containing your error into the query results - this is most definitely an ugly hack and may not look right with your particular theme, but it has the potentially desirable side effect of suppressing the "No Results" message. *Use a template_include filter hook to swap out the search template with a custom one in your theme or plugin which displays your error. Without examining the theme in question, it's difficult to determine which route you should take. A: As I tried to explain to @MichaelRogers when he posted a similar question several days ago, knowing the character set (or script) used in a string is NOT sufficient to detect the language of that string. Thus, while the method detailed by @bosco will remove Russian, etc strings (with the 2 corrections below), it will NOT limit your searches to English. To see this, try: $strings = array ( 'I\'m sorry', // English 'Je suis désolé', // French 'Es tut mir Leid', // German 'Lorem ipsum dolor sit amet', // Lorem ipsum 'أنا سعيد', // Arabic 'я счастлив', // Russian '我很高兴', // Chinese (Simplified) '我很高興', // Chinese (Traditional) ) ; foreach ($strings as $s) { if (preg_match ('/^[\p{Latin}\p{Common}]+$/u', $s) === 1) { echo "$s: matches latin+common\n" ; } else { echo "$s: does not match latin+common\n" ; } } [note: the 2 corrections mentioned above to what @bosco provided are: * *the pattern is enclosed a string (required to be syntactically correct PHP) *added the /u modifier (required to treat pattern and subject as UTF-8 encoded, see PHP: Regex Pattern Modifiers] which will produce: I'm sorry: matches latin+common Je suis désolé: matches latin+common Es tut mir Leid: matches latin+common Lorem ipsum dolor sit amet: matches latin+common أنا سعيد: does not match latin+common я счастлив: does not match latin+common 我很高兴: does not match latin+common 我很高興: does not match latin+common [note: I speak English, French & some German (and a bit of Lorem ipsum :-), but relied on Google Translate for the Arabic, Russian and Chinese] As you can see, relying on checking for the latin script will NOT ensure you have English. There are a number of threads on StackOverflow (e.g., Detect language from string in PHP) that provide more info on the subject.
wordpress
{ "language": "en", "length": 1988, "provenance": "stackexchange_00019.jsonl.gz:474491", "question_score": "9", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/261038" }
[ 0.00566864013671875, -0.004512786865234375, 0.0086212158203125, 0.06201171875, -0.0185699462890625, -0.0198822021484375, 0.050262451171875, -0.046600341796875, 0.0267486572265625, 0.0301361083984375, -0.007091522216796875, -0.021759033203125, 0.0095672607421875, -0.0396728515625, -0.0144195556640625, -0.01384735107421875, 0.00164031982421875, 0.0224456787109375, 0.0245208740234375, -0.0254669189453125, 0.0311126708984375, -0.0270538330078125, -0.00354766845703125, -0.00804901123046875, 0.0190582275390625, -0.071044921875, 0.08880615234375, -0.032379150390625, 0.003330230712890625, -0.044158935546875, 0.017730712890625, 0.034454345703125, 0.0020847320556640625, 0.0191650390625, 0.0020618438720703125, 0.037384033203125, -0.00859832763671875, 0.02850341796875, 0.0259552001953125, -0.0020503997802734375, 0.040618896484375, -0.0423583984375, -0.0252227783203125, 0.035400390625, -0.0224761962890625, -0.07421875, 0.07501220703125, -0.031890869140625, 0.0029430389404296875, -0.021881103515625, 0.00396728515625, 0.051666259765625, 0.0205230712890625, -0.0101776123046875, -0.0018100738525390625, 0.00855255126953125, 0.006549835205078125, 0.020782470703125, 0.033111572265625, -0.007965087890625, -0.02471923828125, -0.0032863616943359375, 0.008575439453125, -0.015228271484375, -0.0157928466796875, -0.01425933837890625, 0.038787841796875, 0.010955810546875, 0.014068603515625, -0.02252197265625, -0.0022144317626953125, 0.0250701904296875, -0.0126190185546875, -0.02911376953125, 0.0005145072937011719, 0.025970458984375, -0.0155181884765625, -0.023101806640625, 0.0189666748046875, 0.0227203369140625, -0.0160675048828125, -0.024322509765625, -0.0438232421875, -0.0102996826171875, -0.00992584228515625, -0.005825042724609375, -0.0225067138671875, 0.00885009765625, -0.037384033203125, -0.067138671875, -0.021453857421875, -0.01090240478515625, -0.0830078125, -0.01497650146484375, -0.00093841552734375, -0.060211181640625, 0.0247344970703125, -0.0197601318359375, -0.0003523826599121094, -0.02545166015625, 0.01617431640625, -0.05029296875, 0.0108489990234375, 0.01031494140625, 0.00797271728515625, 0.019317626953125, -0.0241851806640625, 0.031585693359375, 0.054840087890625, 0.0416259765625, 0.030029296875, 0.002170562744140625, -0.040557861328125, -0.02154541015625, -0.0238494873046875, 0.04486083984375, -0.04168701171875, -0.005931854248046875, -0.01239013671875, -0.006988525390625, 0.029510498046875, 0.0286102294921875, 0.01320648193359375, -0.055023193359375, 0.0103607177734375, -0.026092529296875, -0.05035400390625, -0.01294708251953125, -0.004215240478515625, 0.06610107421875, -0.004329681396484375, -0.0303192138671875, -0.036102294921875, 0.029266357421875, -0.0209503173828125, -0.0246734619140625, -0.00048065185546875, 0.0245361328125, 0.0194854736328125, -0.024444580078125, 0.0296478271484375, -0.0193939208984375, 0.0151214599609375, 0.034820556640625, -0.03228759765625, 0.006832122802734375, 0.01430511474609375, 0.024322509765625, -0.0136566162109375, -0.07537841796875, 0.031097412109375, -0.0202789306640625, 0.097412109375, -0.026123046875, -0.1400146484375, -0.037750244140625, 0.005077362060546875, -0.046844482421875, -0.077392578125, -0.1107177734375, -0.0650634765625, -0.0206451416015625, 0.04656982421875, -0.05145263671875, -0.01015472412109375, 0.01364898681640625, -0.004520416259765625, 0.017669677734375, -0.0021820068359375, -0.06610107421875, -0.0008754730224609375, 0.03302001953125, 0.00728607177734375, -0.031982421875, 0.00046253204345703125, -0.0180816650390625, 0.01012420654296875, -0.0151214599609375, -0.0017404556274414062, 0.102294921875, 0.041290283203125, -0.005359649658203125, 0.022613525390625, 0.010894775390625, -0.0447998046875, 0.0295867919921875, 0.007568359375, 0.0255279541015625, -0.0006403923034667969, -0.009521484375, 0.043701171875, 0.0296173095703125, -0.04132080078125, 0.008331298828125, -0.005359649658203125, -0.0198211669921875, -0.0031185150146484375, 0.007251739501953125, 0.00934600830078125, -0.01261138916015625, 0.07818603515625, -0.00461578369140625, 0.0015821456909179688, -0.029083251953125, -0.08856201171875, -0.0087738037109375, -0.02960205078125, 0.0115203857421875, -0.0211334228515625, 0.024566650390625, 0.014801025390625, -0.0236663818359375, -0.03302001953125, 0.043365478515625, 0.0215301513671875, 0.01320648193359375, -0.0089263916015625, 0.0268707275390625, 0.0215301513671875, 0.0180816650390625, 0.05133056640625, -0.0274658203125, 0.050323486328125, -0.0028514862060546875, -0.0163421630859375, 0.0160369873046875, -0.034149169921875, 0.01448822021484375, 0.0034389495849609375, 0.005939483642578125, 0.049468994140625, 0.0180206298828125, 0.096435546875, 0.080322265625, 0.01403045654296875, 0.0290679931640625, 0.05377197265625, -0.0533447265625, -0.01904296875, 0.019256591796875, 0.0362548828125, 0.0212860107421875, -0.0218505859375, -0.0218353271484375, -0.00823974609375, -0.07769775390625, 0.005886077880859375, -0.014923095703125, 0.0115966796875, 0.01418304443359375, -0.03607177734375, -0.006011962890625, 0.04449462890625, -0.007480621337890625, 0.01226043701171875, 0.04071044921875, -0.00992584228515625, -0.005710601806640625, -0.031463623046875, 0.0059814453125, 0.0307769775390625, 0.0218505859375, -0.0274505615234375, 0.0199737548828125, -0.047607421875, 0.00969696044921875, -0.0097198486328125, 0.009735107421875, -0.002429962158203125, -0.006633758544921875, 0.0296783447265625, 0.0099945068359375, 0.01251983642578125, 0.0220184326171875, -0.0282745361328125, 0.0232086181640625, -0.01512908935546875, 0.0015153884887695312, 0.014556884765625, 0.00946807861328125, 0.03668212890625, 0.07183837890625, 0.02874755859375, -0.00650787353515625, -0.0133514404296875, -0.030029296875, 0.0033054351806640625, 0.0286102294921875, 0.004787445068359375, 0.009033203125, 0.02789306640625, 0.011444091796875, -0.01398468017578125, 0.00860595703125, 0.027618408203125, -0.0240631103515625, 0.007762908935546875, 0.0220489501953125, 0.01293182373046875, -0.0142822265625, -0.0200653076171875, 0.0345458984375, -0.01934814453125, -0.0032062530517578125, -0.006328582763671875, 0.005374908447265625, -0.0195770263671875, 0.0189208984375, -0.00751495361328125, -0.01070404052734375, -0.055450439453125, -0.0110931396484375, 0.0165252685546875, 0.0165863037109375, 0.012237548828125, -0.029296875, -0.006656646728515625, 0.0157470703125, -0.07867431640625, -0.08587646484375, 0.025299072265625, -0.005603790283203125, -0.0074462890625, 0.030609130859375, 0.00641632080078125, -0.0164794921875, 0.043975830078125, -0.005954742431640625, 0.0009751319885253906, -0.0121612548828125, -0.0251617431640625, 0.00281524658203125, -0.01264190673828125, 0.040924072265625, -0.01100921630859375, -0.0036182403564453125, 0.0157012939453125, 0.060821533203125, -0.00624847412109375, -0.061126708984375, -0.009002685546875, 0.0240936279296875, -0.023284912109375, -0.000736236572265625, 0.01486968994140625, -0.026519775390625, 0.000209808349609375, -0.00412750244140625, 0.00188446044921875, 0.0219573974609375, -0.017364501953125, 0.016937255859375, 0.044281005859375, 0.011993408203125, 0.051605224609375, -0.0108642578125, -0.06842041015625, 0.0177154541015625, 0.0098876953125, -0.047882080078125, -0.0278167724609375, 0.039703369140625, -0.006710052490234375, 0.028717041015625, -0.0012636184692382812, -0.039459228515625, 0.017303466796875, 0.039703369140625, 0.058380126953125, 0.026580810546875, -0.047454833984375, -0.00383758544921875, 0.040679931640625, 0.0384521484375, 0.09405517578125, 0.0033321380615234375, 0.0250396728515625, -0.0310516357421875, 0.043060302734375, 0.0253448486328125, -0.0038623809814453125, 0.0119171142578125, -0.00738525390625, 0.0379638671875, -0.020904541015625, 0.0279083251953125, -0.0230255126953125, 0.047119140625, -0.03314208984375, -0.02825927734375, -0.03759765625, 0.07037353515625, -0.031768798828125, -0.024017333984375, -0.0478515625, -0.0015773773193359375, -0.0185394287109375, -0.0258331298828125, 0.0017595291137695312, 0.0053253173828125, -0.034423828125, 0.01247406005859375, -0.0106048583984375, -0.0196533203125, -0.00616455078125, -0.056976318359375, -0.00931549072265625, -0.021697998046875, 0.02947998046875, -0.0151519775390625, -0.0147552490234375, -0.019744873046875, -0.006000518798828125, -0.036041259765625, -0.0019817352294921875, -0.0153961181640625, -0.06597900390625, -0.0228271484375, -0.0034046173095703125, 0.048553466796875, 0.0163116455078125, -0.0273284912109375, -0.0081024169921875, 0.061737060546875, 0.03271484375, 0.012542724609375, 0.033782958984375, -0.01495361328125, 0.060577392578125, 0.029052734375, 0.02294921875, -0.0144195556640625, -0.0004317760467529297, 0.024200439453125, 0.01387786865234375, 0.05718994140625, 0.00360107421875, -0.0152740478515625, 0.007503509521484375, -0.032623291015625, -0.034393310546875, -0.029693603515625, -0.004611968994140625, 0.042388916015625, -0.025909423828125, 0.0296173095703125, -0.0284423828125, -0.03387451171875, 0.048797607421875, 0.040771484375, -0.007129669189453125, -0.0153045654296875, 0.03277587890625, 0.0214385986328125, -0.0518798828125, -0.0008792877197265625, -0.01885986328125, -0.00933074951171875, -0.0142974853515625, 0.0277557373046875, -0.0623779296875, -0.02032470703125, 0.09710693359375, -0.058685302734375, -0.00664520263671875, -0.0082855224609375, 0.03900146484375, -0.003143310546875, -0.0194549560546875, 0.0152130126953125, -0.00833892822265625, 0.023590087890625, 0.048919677734375, 0.01136016845703125, -0.0604248046875, 0.0105743408203125, 0.060302734375, -0.0171966552734375, 0.055633544921875, -0.02532958984375, -0.023162841796875, 0.020263671875, -0.00910186767578125, -0.005039215087890625, -0.005702972412109375, 0.009246826171875, -0.0187530517578125, -0.0124969482421875, 0.00429534912109375, 0.040069580078125, 0.04595947265625, -0.0299530029296875, 0.04779052734375, -0.0081634521484375, -0.03094482421875, 0.0181427001953125, -0.01409149169921875, 0.0233154296875, 0.0119171142578125, -0.037078857421875, 0.0179290771484375, 0.0011014938354492188, -0.00266265869140625, -0.006252288818359375, 0.031524658203125, -0.03900146484375, -0.01081085205078125, 0.004852294921875, 0.033721923828125, 0.083251953125, -0.011383056640625, 0.01488494873046875, 0.03204345703125, 0.0145111083984375, -0.004665374755859375, 0.01201629638671875, 0.042236328125, -0.036224365234375, 0.01837158203125, -0.0019397735595703125, 0.0031642913818359375, -0.0006489753723144531, 0.021728515625, 0.01132965087890625, 0.016571044921875, -0.010009765625, 0.016326904296875, 0.024566650390625, 0.0227813720703125, -0.02044677734375, -0.0221710205078125, -0.03472900390625, -0.02410888671875, 0.046661376953125, 0.038482666015625, 0.02117919921875, -0.0178985595703125, -0.0016622543334960938, 0.059814453125, 0.0304107666015625, -0.0224609375, -0.049560546875, 0.003528594970703125, 0.038116455078125, -0.006519317626953125, 0.0237274169921875, -0.0283203125, 0.01100921630859375, 0.03155517578125, -0.0116119384765625, -0.01441192626953125, 0.000614166259765625, -0.0278472900390625, -0.035064697265625, 0.00070953369140625, -0.03515625, -0.00786590576171875, 0.01244354248046875, 0.0013036727905273438, -0.0260009765625, -0.011016845703125, 0.056854248046875, -0.00319671630859375, -0.04180908203125, 0.06634521484375, 0.035797119140625, -0.0001995563507080078, -0.03778076171875, -0.006267547607421875, -0.00498199462890625, -0.0513916015625, -0.0092315673828125, 0.0180206298828125, -0.0272369384765625, -0.0168914794921875, -0.031005859375, -0.020416259765625, 0.00714111328125, -0.0218658447265625, -0.004055023193359375, -0.01314544677734375, 0.028411865234375, 0.0242919921875, 0.02520751953125, -0.057037353515625, 0.039306640625, 0.037322998046875, -0.010345458984375, -0.00579833984375, 0.054718017578125, 0.08221435546875, -0.0212860107421875, 0.01366424560546875, -0.0301361083984375, -0.0269012451171875, 0.0175018310546875, -0.0733642578125, -0.00603485107421875, 0.033660888671875, 0.005031585693359375, -0.0021915435791015625, -0.0419921875, -0.0068511962890625, -0.021148681640625, 0.076904296875, -0.041717529296875, 0.009918212890625, -0.0017452239990234375, 0.019622802734375, 0.052703857421875, -0.0421142578125, -0.028411865234375, 0.056488037109375, -0.0125579833984375, 0.053192138671875, -0.0235595703125, 0.046661376953125, -0.017242431640625, 0.00548553466796875, 0.00109100341796875, 0.0218353271484375, 0.00849151611328125, 0.0186004638671875, -0.007061004638671875, -0.02972412109375, 0.0211029052734375, 0.04315185546875, 0.042449951171875, -0.0251922607421875, 0.0237274169921875, 0.028472900390625, -0.00778961181640625, -0.0233154296875, 0.081298828125, 0.041015625, -0.1046142578125, -0.04022216796875, -0.0111846923828125, -0.0226898193359375, -0.047454833984375, 0.035003662109375, -0.00998687744140625, -0.032379150390625, 0.004505157470703125, -0.0278167724609375, -0.00783538818359375, 0.01213836669921875, -0.004505157470703125, -0.01297760009765625, 0.00742340087890625, -0.008087158203125, 0.006015777587890625, 0.004116058349609375, -0.00954437255859375, -0.0012531280517578125, 0.02984619140625, -0.01166534423828125, -0.0011491775512695312, -0.007808685302734375, -0.0290374755859375, -0.048858642578125, -0.0150146484375, -0.0249786376953125, 0.0126190185546875, 0.03662109375, 0.016815185546875, 0.0673828125, 0.050018310546875, 0.019989013671875, -0.035675048828125, 0.0199432373046875, 0.00724029541015625, 0.032073974609375, -0.0179901123046875, -0.004245758056640625, 0.04254150390625, -0.0169219970703125, 0.007595062255859375, -0.006679534912109375, 0.0033855438232421875, 0.007232666015625, -0.03485107421875, 0.0218963623046875, -0.0237579345703125, -0.014678955078125, 0.0186767578125, -0.0142669677734375, 0.009796142578125, -0.00878143310546875, -0.02911376953125, -0.04132080078125, -0.0261077880859375, -0.0240631103515625, -0.07537841796875, 0.010467529296875, -0.0406494140625, -0.043853759765625, -0.01593017578125, -0.0167083740234375, 0.041015625, -0.010223388671875, -0.00542449951171875, 0.0213470458984375, -0.0197601318359375, -0.0276641845703125, 0.024658203125, -0.01152801513671875, 0.0141448974609375, -0.0216522216796875, 0.0089569091796875, -0.0111236572265625, -0.0028781890869140625, 0.02166748046875, -0.01316070556640625, 0.0193939208984375, -0.023101806640625, 0.03125, 0.050079345703125, 0.01103973388671875, -0.0181884765625, -0.00787353515625, 0.03759765625, 0.06756591796875, -0.050689697265625, 0.01454925537109375, 0.043792724609375, -0.0128326416015625, 0.025909423828125, 0.006923675537109375, -0.00019657611846923828, 0.0172271728515625, -0.0042877197265625, -0.054107666015625, 0.00850677490234375, 0.045654296875, -0.04571533203125, 0.0293731689453125, 0.04437255859375, 0.08331298828125, -0.06500244140625, -0.049652099609375, -0.020660400390625, 0.051971435546875, 0.025604248046875, 0.039581298828125, 0.0487060546875, 0.01459503173828125, 0.0831298828125, 0.0041961669921875, 0.03277587890625, -0.01141357421875, -0.005336761474609375, -0.0105133056640625, 0.0347900390625, 0.0296783447265625, 0.006587982177734375, 0.00030517578125, 0.0235137939453125, 0.00121307373046875, -0.00487518310546875, -0.060791015625, -0.002288818359375, -0.0089569091796875, 0.01123046875, 0.0231475830078125, -0.0016508102416992188, 0.0303802490234375, 0.068603515625, -0.01526641845703125, 0.0219268798828125, 0.01490020751953125, 0.004802703857421875, -0.006389617919921875, -0.0096435546875, -0.0228271484375, 0.046417236328125, -0.0285186767578125, 0.01383209228515625, 0.00965118408203125, 0.0220184326171875, -0.010101318359375, 0.0262908935546875, -0.01517486572265625, 0.009765625, 0.00089263916015625, -0.015045166015625, -0.01097869873046875, 0.009002685546875, 0.01194000244140625, 0.032135009765625, -0.0350341796875, 0.005390167236328125, 0.01019287109375, -0.04156494140625, 0.016571044921875, 0.01403045654296875, -0.055877685546875, -0.0113983154296875, -0.01806640625, -0.0203857421875, -0.0094146728515625, -0.01776123046875, 0.044891357421875, 0.040863037109375, 0.00879669189453125, -0.004825592041015625, 0.00917816162109375, 0.05560302734375, 0.0274810791015625, 0.0086212158203125, 0.0266876220703125, -0.0126495361328125, -0.005046844482421875, -0.01611328125, -0.0023040771484375, 0.0421142578125, -0.0289459228515625, -0.010772705078125, 0.005786895751953125, -0.01294708251953125, 0.0029754638671875, 0.025238037109375, -0.006389617919921875, 0.0193634033203125, 0.019134521484375, -0.055450439453125, 0.020965576171875, 0.01479339599609375, 0.025726318359375, 0.00830078125, -0.01342010498046875, -0.005580902099609375, -0.016632080078125, 0.0018587112426757812, 0.0030727386474609375, 0.01629638671875, -0.0277099609375, 0.039154052734375, -0.0140533447265625, 0.007457733154296875, -0.0089569091796875, -0.035797119140625, 0.044921875, 0.00568389892578125, 0.03466796875, 0.0295562744140625, -0.0182037353515625, -0.046661376953125, -0.00980377197265625, 0.031494140625, 0.01149749755859375, -0.042327880859375, 0.0391845703125, -0.048248291015625, -0.0012063980102539062, -0.0364990234375, 0.0158843994140625, -0.0174407958984375, -0.0335693359375, -0.014190673828125, -0.034881591796875, 0.038665771484375, 0.040008544921875, 0.0035991668701171875, 0.044891357421875, -0.0604248046875, -0.0110015869140625, 0.021087646484375, -0.048583984375, 0.0028018951416015625, 0.02178955078125, -0.04180908203125, 0.0229949951171875, -0.050079345703125, -0.0297393798828125, -0.014892578125, 0.00957489013671875, -0.038482666015625, -0.0309295654296875, 0.034393310546875, -0.033203125, 0.0236053466796875, 0.03424072265625, 0.001842498779296875, 0.01593017578125, -0.02801513671875, -0.017974853515625, 0.0008478164672851562, 0.04296875, 0.0218505859375, 0.006195068359375, -0.029693603515625, -0.01387786865234375, 0.0152130126953125, 0.0005383491516113281, 0.026397705078125, 0.016510009765625, -0.0026760101318359375, -0.00725555419921875, -0.03802490234375, 0.0230712890625, -0.01006317138671875, 0.0380859375, -0.0230255126953125, -0.0157470703125, -0.00882720947265625, -0.0164337158203125, -0.034759521484375, -0.055419921875, -0.0396728515625, 0.0355224609375, -0.02630615234375, 0.0074920654296875, 0.0299530029296875, -0.009857177734375, -0.003955841064453125, -0.004528045654296875, 0.002407073974609375, 0.042724609375, -0.0038471221923828125, -0.005382537841796875, 0.054412841796875, -0.02557373046875, -0.04473876953125, -0.06842041015625, -0.0004360675811767578, -0.05694580078125, -0.01513671875, 0.0045013427734375, -0.007724761962890625, 0.007495880126953125, -0.041839599609375, -0.07733154296875, 0.0286407470703125, -0.0019931793212890625, -0.032196044921875, -0.033233642578125, 0.0164794921875, 0.00690460205078125, -0.0104827880859375, -0.0085601806640625, -0.02056884765625, -0.040496826171875, 0.003208160400390625, 0.03448486328125, -0.0146331787109375, 0.0180511474609375, 0.009185791015625, -0.042724609375, 0.054168701171875, 0.043182373046875, 0.0198516845703125, -0.0002961158752441406, -0.01258087158203125, 0.02728271484375, 0.023895263671875, -0.035614013671875, 0.034881591796875, 0.006687164306640625, -0.0117645263671875, -0.0338134765625, -0.0276336669921875, -0.034271240234375, -0.03082275390625, 0.08074951171875, 0.0196075439453125, 0.02471923828125, -0.01424407958984375, 0.028167724609375, 0.0285491943359375, 0.04522705078125, 0.00760650634765625, -0.0028018951416015625, -0.01113128662109375, -0.01226043701171875, -0.021484375, 0.0191650390625, 0.04486083984375, 0.0085296630859375, -0.001880645751953125, -0.0145416259765625, 0.039154052734375, -0.00849151611328125, -0.06878662109375, 0.0401611328125, 0.0482177734375, -0.039581298828125, -0.03857421875, -0.00186920166015625, -0.00908660888671875, -0.021881103515625, -0.02423095703125, -0.03643798828125, -0.043914794921875, 0.0521240234375, 0.06298828125, 0.006748199462890625, -0.042144775390625, 0.029937744140625, 0.0217132568359375, -0.025421142578125, 0.032928466796875, 0.03802490234375, 0.05743408203125, -0.067138671875, 0.0190277099609375, 0.0299072265625, -0.016204833984375, -0.00827789306640625, -0.07171630859375, -0.016815185546875, 0.009735107421875, -0.0100860595703125, -0.002979278564453125, 0.0335693359375, -0.03948974609375, 0.04217529296875, -0.0212249755859375, 0.045166015625, 0.00980377197265625, 0.0021991729736328125, -0.055908203125, -0.0160064697265625, 0.006072998046875 ]
d9197e6acf31235d04a3611056f472e50012030c
Wordpress Stackexchange Q: Best way to send users password? I used a plugin called WP Import to import a mass amount of users to my website. I now want to be able for them to log in using those accounts. How am I able to send them their passwords or get them to login to their account that we created for them? A: You shouldn't have to send them passwords. That's a bad idea. Instead, make sure your web server has email setup properly and your user accounts have the correct email addresses. Then all you'll have to do is send them the link to the Forgot Password link provided by WordPress by default. It looks like this: http://example.com/wp-login.php?action=lostpassword. Then from that page they'll be able to reset their passwords using their own email address. Alternatively, you may use a plugin like Bulk Password Reset or Emergency Password Reset to reset the passwords and send the password reset link to your users. Whichever method you follow, you must make sure your web server can send email to your users properly. Read more about WordPress password reset options.
Q: Best way to send users password? I used a plugin called WP Import to import a mass amount of users to my website. I now want to be able for them to log in using those accounts. How am I able to send them their passwords or get them to login to their account that we created for them? A: You shouldn't have to send them passwords. That's a bad idea. Instead, make sure your web server has email setup properly and your user accounts have the correct email addresses. Then all you'll have to do is send them the link to the Forgot Password link provided by WordPress by default. It looks like this: http://example.com/wp-login.php?action=lostpassword. Then from that page they'll be able to reset their passwords using their own email address. Alternatively, you may use a plugin like Bulk Password Reset or Emergency Password Reset to reset the passwords and send the password reset link to your users. Whichever method you follow, you must make sure your web server can send email to your users properly. Read more about WordPress password reset options. A: You should give them a one-use limited-life access key via email this key is embedded in a URL (and it can only be used once, so if they try using it again, it is disabled, and if it not used within a short period of time, say an hour, it is disabled and a new key must be sent). Then, when the user clicks on that URL, he/she is redirected to the reset password page, where they enter a new password for their account.
wordpress
{ "language": "en", "length": 270, "provenance": "stackexchange_00019.jsonl.gz:474496", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/261050" }
[ 0.037384033203125, -0.0009579658508300781, 0.005168914794921875, 0.02947998046875, -0.01168060302734375, -0.038299560546875, 0.049163818359375, -0.0484619140625, -0.02154541015625, 0.0178070068359375, 0.01097869873046875, -0.01142120361328125, -0.031097412109375, -0.037567138671875, -0.005352020263671875, -0.042388916015625, -0.0012598037719726562, -0.0053558349609375, -0.0099945068359375, -0.0282440185546875, 0.001705169677734375, -0.0174407958984375, 0.009368896484375, -0.0273590087890625, -0.0135040283203125, 0.0726318359375, 0.0821533203125, -0.0165863037109375, 0.0032978057861328125, -0.0008068084716796875, 0.0022335052490234375, -0.06573486328125, 0.01277923583984375, 0.00238037109375, -0.0157928466796875, -0.056121826171875, -0.009521484375, 0.000060558319091796875, -0.0248260498046875, 0.04638671875, 0.029022216796875, -0.00811767578125, 0.0120697021484375, 0.0188140869140625, -0.0039825439453125, -0.0389404296875, 0.05084228515625, -0.0271759033203125, 0.01509857177734375, 0.0273284912109375, 0.031982421875, -0.013641357421875, 0.034210205078125, 0.007778167724609375, -0.0193023681640625, -0.00461578369140625, -0.0026264190673828125, 0.0013904571533203125, 0.029937744140625, 0.026458740234375, -0.0335693359375, -0.0202789306640625, 0.00452423095703125, -0.05755615234375, 0.006412506103515625, -0.00439453125, 0.0251617431640625, 0.019439697265625, -0.0022106170654296875, -0.003734588623046875, 0.00762939453125, -0.00148773193359375, -0.01424407958984375, -0.0223541259765625, -0.0159759521484375, 0.03558349609375, -0.024261474609375, -0.01161956787109375, 0.04052734375, 0.00588226318359375, -0.038726806640625, 0.0165863037109375, -0.024871826171875, -0.039276123046875, 0.0052337646484375, 0.00606536865234375, -0.0256500244140625, -0.00405120849609375, -0.005893707275390625, -0.0030517578125, -0.00791168212890625, -0.00823974609375, -0.035919189453125, 0.0277252197265625, -0.00812530517578125, -0.010650634765625, -0.005558013916015625, 0.005558013916015625, 0.007495880126953125, 0.0126953125, -0.01479339599609375, -0.0250244140625, -0.01947021484375, -0.0004737377166748047, -0.002056121826171875, 0.0311737060546875, 0.0088958740234375, -0.0180511474609375, 0.008575439453125, 0.01220703125, -0.0197601318359375, 0.007785797119140625, -0.006175994873046875, -0.044342041015625, 0.0189361572265625, 0.033538818359375, -0.00830078125, 0.037750244140625, 0.01216888427734375, 0.021148681640625, -0.042999267578125, -0.01322174072265625, -0.0469970703125, -0.0010957717895507812, -0.0298919677734375, -0.059173583984375, 0.004482269287109375, 0.043243408203125, 0.00965118408203125, 0.0134735107421875, -0.05413818359375, 0.01248931884765625, 0.0977783203125, 0.004734039306640625, 0.01096343994140625, -0.031890869140625, 0.0105133056640625, 0.0196075439453125, 0.004291534423828125, 0.0237579345703125, -0.012359619140625, -0.040069580078125, 0.007289886474609375, -0.012237548828125, 0.00016510486602783203, 0.00225830078125, -0.00777435302734375, 0.02716064453125, 0.029541015625, -0.0101165771484375, 0.01123809814453125, -0.031829833984375, -0.02618408203125, 0.02154541015625, 0.05023193359375, 0.03448486328125, 0.00948333740234375, 0.0135650634765625, 0.0041656494140625, 0.0294647216796875, 0.0391845703125, -0.001956939697265625, 0.0189971923828125, 0.050018310546875, 0.0012340545654296875, 0.0096435546875, -0.049652099609375, -0.00983428955078125, 0.01690673828125, -0.0545654296875, -0.0182342529296875, -0.00392913818359375, 0.0246429443359375, -0.0000928044319152832, 0.00011652708053588867, 0.04766845703125, -0.006992340087890625, 0.04266357421875, 0.01473236083984375, 0.0303955078125, 0.02081298828125, -0.0274505615234375, 0.0848388671875, -0.020050048828125, 0.0025482177734375, -0.05352783203125, 0.0157623291015625, 0.026153564453125, 0.01103973388671875, 0.050201416015625, -0.0123291015625, -0.00789642333984375, -0.024749755859375, 0.00984954833984375, -0.00894927978515625, -0.0279083251953125, 0.01248931884765625, 0.0017042160034179688, -0.0015878677368164062, 0.00879669189453125, 0.0137176513671875, -0.025848388671875, 0.03790283203125, -0.03228759765625, -0.0307464599609375, -0.0037326812744140625, -0.00911712646484375, 0.026092529296875, -0.0060882568359375, 0.0106201171875, 0.01352691650390625, 0.00870513916015625, -0.0144805908203125, -0.037567138671875, -0.034423828125, -0.01395416259765625, -0.035797119140625, 0.06561279296875, -0.0029144287109375, 0.08782958984375, -0.0096435546875, -0.053375244140625, -0.0011529922485351562, -0.03826904296875, -0.0298004150390625, -0.030670166015625, -0.0238494873046875, -0.020599365234375, -0.06549072265625, -0.01233673095703125, 0.0036602020263671875, 0.058868408203125, 0.0091552734375, 0.04620361328125, -0.02508544921875, 0.003021240234375, 0.0099334716796875, 0.0164031982421875, 0.00708770751953125, 0.0185089111328125, 0.027099609375, 0.034576416015625, 0.005786895751953125, 0.02313232421875, 0.01229095458984375, -0.053863525390625, 0.01192474365234375, 0.0153656005859375, 0.0006356239318847656, 0.0250244140625, 0.0018701553344726562, -0.01934814453125, 0.01311492919921875, -0.04541015625, -0.016204833984375, 0.02862548828125, -0.017120361328125, 0.0018548965454101562, -0.0026569366455078125, -0.0235137939453125, 0.0006985664367675781, -0.0665283203125, -0.035552978515625, -0.0275115966796875, 0.0008258819580078125, -0.03497314453125, 0.00013327598571777344, -0.002552032470703125, 0.015838623046875, -0.030426025390625, 0.00945281982421875, -0.081787109375, -0.00478363037109375, 0.034576416015625, 0.03948974609375, 0.0235443115234375, -0.034393310546875, -0.0304412841796875, 0.0224609375, 0.031768798828125, -0.005107879638671875, -0.0200042724609375, -0.0030956268310546875, -0.00010037422180175781, 0.007350921630859375, 0.03070068359375, 0.032501220703125, 0.01384735107421875, 0.009490966796875, 0.01397705078125, 0.0606689453125, 0.0103607177734375, -0.005771636962890625, 0.02911376953125, -0.0372314453125, -0.0242919921875, -0.07177734375, -0.032684326171875, 0.033172607421875, -0.03448486328125, 0.006710052490234375, 0.07891845703125, 0.035308837890625, -0.0215606689453125, -0.0254974365234375, 0.01617431640625, -0.0128631591796875, 0.00731658935546875, -0.026641845703125, -0.04779052734375, -0.015289306640625, -0.00380706787109375, 0.0239105224609375, 0.042022705078125, -0.036712646484375, -0.0440673828125, -0.034332275390625, -0.003635406494140625, -0.0733642578125, -0.056427001953125, -0.03326416015625, -0.09088134765625, -0.0164947509765625, 0.005565643310546875, -0.04229736328125, 0.007904052734375, 0.052947998046875, 0.0200958251953125, 0.0279388427734375, -0.033660888671875, -0.02691650390625, -0.031341552734375, -0.048004150390625, -0.0130462646484375, 0.0031185150146484375, -0.00872039794921875, -0.0102081298828125, 0.057861328125, 0.0018396377563476562, -0.009765625, -0.0096893310546875, 0.039825439453125, 0.00388336181640625, -0.0411376953125, -0.0172119140625, -0.01131439208984375, 0.01523590087890625, -0.0012617111206054688, 0.003223419189453125, 0.0003027915954589844, 0.005481719970703125, -0.0198822021484375, -0.00936126708984375, -0.0301971435546875, -0.005931854248046875, -0.0097808837890625, -0.002750396728515625, -0.0269317626953125, -0.02972412109375, -0.064697265625, 0.032867431640625, 0.0140533447265625, -0.0009655952453613281, 0.01001739501953125, -0.0201263427734375, -0.03875732421875, 0.02392578125, -0.01250457763671875, 0.0019216537475585938, 0.00881195068359375, 0.0075531005859375, -0.01450347900390625, -0.01158905029296875, -0.008880615234375, -0.01087188720703125, 0.0018987655639648438, 0.032318115234375, -0.0247039794921875, -0.00559234619140625, 0.0042266845703125, 0.0184326171875, -0.00652313232421875, -0.0003113746643066406, -0.027679443359375, -0.089599609375, 0.060516357421875, -0.01535797119140625, -0.0112152099609375, -0.042755126953125, -0.0279693603515625, 0.0030841827392578125, 0.1295166015625, -0.005512237548828125, -0.0193328857421875, 0.0166168212890625, 0.01241302490234375, -0.037109375, 0.0009331703186035156, -0.0506591796875, -0.0057830810546875, -0.0033550262451171875, -0.0467529296875, -0.036041259765625, -0.03533935546875, 0.04010009765625, -0.1351318359375, 0.0265655517578125, -0.036529541015625, 0.03143310546875, -0.00962066650390625, 0.0357666015625, -0.018829345703125, 0.021881103515625, -0.034423828125, -0.012420654296875, -0.001964569091796875, -0.0306396484375, -0.013916015625, 0.0262908935546875, 0.0228271484375, 0.0205535888671875, -0.06793212890625, 0.0017719268798828125, 0.0288848876953125, -0.0124969482421875, 0.0238494873046875, 0.0027484893798828125, 0.0098419189453125, 0.0121917724609375, 0.017913818359375, 0.00566864013671875, 0.0037078857421875, 0.0129547119140625, -0.0311279296875, -0.06536865234375, -0.053497314453125, -0.038909912109375, 0.0117340087890625, 0.00809478759765625, -0.0209503173828125, -0.06982421875, -0.0562744140625, -0.0153961181640625, 0.004627227783203125, -0.0238800048828125, 0.01316070556640625, -0.04779052734375, -0.046783447265625, 0.06494140625, 0.055877685546875, -0.0150909423828125, -0.005840301513671875, 0.058868408203125, 0.004917144775390625, -0.05084228515625, -0.033203125, 0.031829833984375, 0.032196044921875, 0.01528167724609375, -0.01325225830078125, -0.00853729248046875, -0.02398681640625, 0.0010976791381835938, 0.01206207275390625, -0.006122589111328125, -0.032989501953125, 0.04559326171875, 0.00933837890625, -0.01036834716796875, 0.01383209228515625, -0.00659942626953125, 0.034271240234375, 0.06005859375, 0.02374267578125, -0.031097412109375, 0.032012939453125, 0.007389068603515625, -0.008636474609375, -0.04156494140625, -0.009368896484375, -0.0556640625, 0.031463623046875, -0.01319122314453125, -0.0289306640625, -0.01727294921875, 0.0019006729125976562, -0.02606201171875, -0.040008544921875, -0.0209808349609375, -0.00635528564453125, -0.04754638671875, 0.0283660888671875, 0.00379180908203125, -0.015777587890625, 0.00878143310546875, -0.01087188720703125, -0.02423095703125, 0.106201171875, 0.0219268798828125, -0.04437255859375, -0.018768310546875, -0.0263824462890625, 0.04510498046875, 0.01309967041015625, 0.007686614990234375, 0.06878662109375, 0.0013475418090820312, -0.04193115234375, -0.00621795654296875, -0.035675048828125, -0.0233612060546875, -0.06903076171875, -0.0096893310546875, -0.0121307373046875, -0.022674560546875, -0.0191802978515625, 0.061614990234375, -0.055755615234375, 0.03680419921875, 0.0176849365234375, 0.032989501953125, 0.038116455078125, -0.00656890869140625, 0.0091552734375, 0.040435791015625, -0.0116424560546875, -0.004497528076171875, 0.0226593017578125, -0.05645751953125, -0.02435302734375, -0.00405120849609375, 0.056610107421875, -0.01099395751953125, 0.006481170654296875, 0.0311279296875, -0.01837158203125, 0.00482177734375, 0.042938232421875, -0.044677734375, -0.0677490234375, -0.032073974609375, 0.01061248779296875, 0.044158935546875, -0.053802490234375, 0.031829833984375, -0.0236358642578125, 0.017852783203125, -0.0165557861328125, -0.00069427490234375, -0.00824737548828125, -0.040130615234375, -0.0279693603515625, 0.03155517578125, -0.01509857177734375, -0.027130126953125, 0.0340576171875, 0.0151519775390625, -0.02862548828125, -0.00843048095703125, 0.05804443359375, -0.01160430908203125, -0.004364013671875, -0.0203857421875, 0.0166168212890625, -0.036834716796875, 0.0100860595703125, 0.0061187744140625, -0.0214385986328125, -0.07025146484375, 0.006603240966796875, -0.0204010009765625, 0.0018987655639648438, -0.01035308837890625, -0.0155181884765625, -0.04852294921875, -0.0193328857421875, -0.006412506103515625, 0.01568603515625, -0.002506256103515625, -0.006328582763671875, -0.0178375244140625, 0.004398345947265625, 0.00799560546875, -0.01560211181640625, 0.000039577484130859375, 0.036529541015625, -0.0091705322265625, 0.04803466796875, 0.0143585205078125, 0.02642822265625, -0.004871368408203125, -0.026123046875, 0.0174407958984375, 0.01084136962890625, -0.0183563232421875, -0.058258056640625, 0.0540771484375, -0.00991058349609375, 0.035980224609375, -0.0082855224609375, -0.02520751953125, -0.0155487060546875, 0.00713348388671875, -0.006954193115234375, 0.07672119140625, 0.03411865234375, -0.04583740234375, 0.04998779296875, -0.016082763671875, 0.013916015625, -0.01354217529296875, -0.0158233642578125, 0.035369873046875, -0.01470947265625, 0.02362060546875, 0.004741668701171875, -0.0203399658203125, 0.03717041015625, 0.0238800048828125, -0.02130126953125, 0.035064697265625, 0.01800537109375, 0.019927978515625, 0.009918212890625, -0.007228851318359375, -0.019927978515625, -0.0006914138793945312, 0.0203094482421875, -0.0089874267578125, -0.0220489501953125, -0.0082550048828125, -0.027313232421875, 0.023590087890625, 0.06610107421875, 0.071533203125, -0.0889892578125, 0.006130218505859375, -0.00463104248046875, -0.04052734375, 0.0108795166015625, -0.01232147216796875, -0.006336212158203125, -0.027008056640625, 0.08709716796875, -0.0302581787109375, 0.00006330013275146484, 0.0297698974609375, -0.032867431640625, -0.004116058349609375, -0.0029430389404296875, 0.0157318115234375, 0.00750732421875, -0.0377197265625, -0.0264892578125, 0.036956787109375, -0.032318115234375, -0.0187835693359375, -0.0177764892578125, 0.007297515869140625, -0.04656982421875, -0.056182861328125, -0.010528564453125, -0.00951385498046875, -0.019134521484375, -0.0167083740234375, -0.00969696044921875, 0.045654296875, 0.0297393798828125, -0.01155853271484375, -0.0088348388671875, -0.00571441650390625, 0.02874755859375, 0.029083251953125, -0.0249176025390625, -0.0139312744140625, 0.01092529296875, -0.03289794921875, 0.004062652587890625, 0.0006532669067382812, -0.01141357421875, -0.0219268798828125, -0.042510986328125, 0.06170654296875, 0.001636505126953125, -0.0185089111328125, 0.01372528076171875, 0.0167083740234375, 0.0047607421875, -0.03472900390625, 0.03485107421875, -0.0340576171875, 0.031402587890625, -0.014007568359375, 0.012847900390625, -0.000579833984375, -0.023895263671875, -0.03265380859375, 0.11297607421875, -0.017547607421875, -0.006679534912109375, -0.001956939697265625, 0.063232421875, -0.004421234130859375, 0.05120849609375, -0.044464111328125, 0.058837890625, 0.0149993896484375, 0.031829833984375, -0.041046142578125, 0.0034732818603515625, -0.00826263427734375, -0.01494598388671875, 0.057525634765625, 0.0241546630859375, -0.06146240234375, -0.0229339599609375, 0.03289794921875, 0.035430908203125, 0.01041412353515625, 0.05706787109375, 0.00946807861328125, 0.032958984375, 0.06353759765625, -0.06976318359375, 0.01751708984375, 0.01331329345703125, 0.020172119140625, 0.034423828125, -0.00534820556640625, -0.053436279296875, -0.00743865966796875, 0.0394287109375, -0.08221435546875, 0.0186767578125, 0.034210205078125, 0.0330810546875, 0.03167724609375, -0.008575439453125, 0.0201416015625, -0.0131988525390625, 0.0158233642578125, -0.00771331787109375, 0.032012939453125, -0.01140594482421875, 0.0188446044921875, 0.06719970703125, 0.02960205078125, 0.048583984375, 0.0006608963012695312, 0.01873779296875, -0.0159759521484375, 0.00771331787109375, 0.06494140625, 0.005615234375, 0.0245361328125, -0.0635986328125, -0.0195465087890625, 0.01271820068359375, 0.0836181640625, -0.044586181640625, -0.03973388671875, 0.015411376953125, 0.029449462890625, 0.04425048828125, 0.012603759765625, 0.0843505859375, -0.035064697265625, -0.0059967041015625, 0.0088653564453125, -0.0009088516235351562, -0.00499725341796875, -0.0289154052734375, -0.0012826919555664062, 0.03204345703125, 0.029144287109375, 0.04937744140625, 0.01549530029296875, 0.0156707763671875, 0.011932373046875, -0.0175933837890625, -0.0521240234375, 0.0212249755859375, -0.026397705078125, 0.03143310546875, -0.01611328125, -0.0012483596801757812, 0.049713134765625, 0.0037403106689453125, 0.0203094482421875, 0.046539306640625, 0.005771636962890625, 0.016082763671875, -0.00664520263671875, 0.007366180419921875, 0.043853759765625, 0.03021240234375, -0.034454345703125, -0.0229949951171875, -0.0110015869140625, -0.02642822265625, 0.03448486328125, -0.0127716064453125, -0.004398345947265625, -0.018280029296875, -0.0268402099609375, -0.0294189453125, 0.0162506103515625, 0.0200042724609375, -0.0106048583984375, 0.037200927734375, -0.0011501312255859375, 0.0161895751953125, 0.022674560546875, -0.00461578369140625, 0.02020263671875, 0.01512908935546875, -0.03192138671875, 0.0022068023681640625, -0.0089111328125, -0.0108184814453125, 0.0047607421875, 0.0240478515625, -0.0227508544921875, 0.044677734375, 0.040008544921875, -0.036956787109375, 0.0259857177734375, 0.0186614990234375, -0.0001780986785888672, -0.046844482421875, -0.004833221435546875, -0.038543701171875, -0.044097900390625, -0.0239715576171875, -0.02496337890625, 0.043975830078125, 0.03155517578125, 0.03472900390625, 0.0184478759765625, 0.0352783203125, -0.018951416015625, 0.0225982666015625, -0.035430908203125, -0.01129913330078125, -0.01396942138671875, -0.01213836669921875, 0.0023746490478515625, 0.00684356689453125, -0.058868408203125, 0.06890869140625, -0.01480865478515625, 0.034454345703125, 0.01776123046875, -0.01001739501953125, -0.002140045166015625, 0.05224609375, 0.030548095703125, -0.0283050537109375, -0.055572509765625, -0.038543701171875, 0.0094146728515625, 0.00496673583984375, 0.01531982421875, -0.0242919921875, 0.01348876953125, -0.036407470703125, -0.0129547119140625, -0.00811004638671875, -0.018341064453125, -0.02911376953125, 0.0091705322265625, -0.022308349609375, -0.024658203125, 0.00420379638671875, -0.0114898681640625, -0.0240325927734375, 0.0185394287109375, 0.023193359375, 0.00934600830078125, -0.043487548828125, 0.01514434814453125, 0.045013427734375, 0.0819091796875, 0.0367431640625, 0.03424072265625, -0.0224761962890625, 0.0008912086486816406, 0.017974853515625, -0.055816650390625, -0.03240966796875, -0.040985107421875, 0.0037631988525390625, 0.0114593505859375, -0.01067352294921875, -0.037200927734375, -0.039764404296875, 0.0380859375, 0.019287109375, -0.01500701904296875, -0.04449462890625, 0.013214111328125, -0.0258941650390625, 0.0626220703125, -0.0245513916015625, -0.033050537109375, 0.006168365478515625, 0.035186767578125, -0.040802001953125, -0.04876708984375, -0.0618896484375, -0.006893157958984375, -0.091064453125, 0.001983642578125, 0.05194091796875, -0.00937652587890625, 0.0089263916015625, -0.020843505859375, -0.00443267822265625, 0.0222930908203125, -0.0849609375, -0.0179443359375, 0.0260772705078125, -0.004241943359375, 0.004970550537109375, -0.049041748046875, -0.0187530517578125, -0.037109375, 0.01044464111328125, -0.0176849365234375, 0.01358795166015625, 0.028167724609375, -0.051177978515625, -0.0909423828125, 0.07037353515625, -0.0247344970703125, -0.02801513671875, -0.0207061767578125, -0.00873565673828125, -0.000006198883056640625, 0.00217437744140625, -0.00738525390625, -0.00487518310546875, -0.04931640625, 0.007251739501953125, 0.005023956298828125, 0.016937255859375, 0.004741668701171875, -0.004184722900390625, -0.01416778564453125, 0.0237579345703125, 0.035614013671875, -0.01303863525390625, 0.008056640625, -0.01488494873046875, 0.05157470703125, 0.05322265625, -0.0161895751953125, 0.0287933349609375, 0.018524169921875, -0.0211334228515625, -0.0157928466796875, 0.0014238357543945312, 0.013519287109375, 0.00994110107421875, 0.0275115966796875, 0.02935791015625, -0.0033721923828125, -0.0272064208984375, -0.02764892578125, -0.00555419921875, 0.032257080078125, 0.007129669189453125, -0.0025653839111328125, -0.06085205078125, -0.01468658447265625, 0.00815582275390625, -0.00559234619140625, -0.01279449462890625, -0.014251708984375, -0.01235198974609375, -0.012359619140625, 0.00765228271484375, -0.01036834716796875, 0.0139923095703125, -0.03594970703125, 0.087646484375, -0.057891845703125, -0.00653839111328125, 0.0289306640625, 0.0170135498046875, 0.0261993408203125, 0.0200653076171875, -0.0027790069580078125, -0.0031604766845703125, -0.0440673828125, 0.01554107666015625, -0.01800537109375, 0.03289794921875, -0.050994873046875, -0.0166473388671875, 0.025299072265625, 0.0240936279296875, -0.03009033203125, 0.029449462890625, 0.022705078125, 0.041229248046875, -0.0124359130859375, 0.041168212890625, -0.021240234375, -0.08355712890625, -0.05072021484375, 0.0300140380859375, 0.01142120361328125, -0.0190582275390625, 0.05352783203125, -0.006671905517578125, 0.0011377334594726562, 0.0042877197265625, 0.064697265625, -0.03692626953125, 0.051513671875, -0.006053924560546875, 0.0325927734375, 0.0245208740234375 ]
515758fae9775ec12a58d5568af443c1a7300a94
Wordpress Stackexchange Q: How to implement ERP (Enterprise Resource Planning) into WordPress? How can I develop my ERP software in garments industry by using Wordpress? Is it best to use WordPress to use a ERP using WordPress. Have any readymade ERP in WordPress? A: Wordpress is a CMS, not a platform for ERP. You can force wordpress to be the core of an ERP system, and if the relevant organization is small enough it might even work, but it is unlikely to scale. There is a reason why ERP systems take long time and a lot of money to implement even when using an ERP product/framework.
Q: How to implement ERP (Enterprise Resource Planning) into WordPress? How can I develop my ERP software in garments industry by using Wordpress? Is it best to use WordPress to use a ERP using WordPress. Have any readymade ERP in WordPress? A: Wordpress is a CMS, not a platform for ERP. You can force wordpress to be the core of an ERP system, and if the relevant organization is small enough it might even work, but it is unlikely to scale. There is a reason why ERP systems take long time and a lot of money to implement even when using an ERP product/framework. A: @Mark Kuplun is 100% correct. You can try We ERP. You need lot of customize if you fulfill requirements.
wordpress
{ "language": "en", "length": 124, "provenance": "stackexchange_00019.jsonl.gz:474503", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/261076" }
[ -0.0029659271240234375, 0.004390716552734375, -0.002017974853515625, 0.0293426513671875, -0.005889892578125, -0.01395416259765625, 0.04254150390625, -0.039825439453125, 0.00899505615234375, -0.00882720947265625, -0.06072998046875, 0.006046295166015625, -0.00670623779296875, -0.0085601806640625, 0.0207061767578125, -0.039642333984375, 0.0254669189453125, -0.0001970529556274414, 0.05108642578125, 0.0010509490966796875, 0.008392333984375, 0.0060272216796875, 0.05792236328125, -0.0423583984375, 0.04083251953125, -0.0195770263671875, 0.005771636962890625, -0.0166015625, 0.04388427734375, 0.00811004638671875, 0.03564453125, -0.041778564453125, 0.01221466064453125, 0.0032806396484375, -0.0005373954772949219, -0.09088134765625, -0.020477294921875, -0.003173828125, -0.0008397102355957031, 0.004547119140625, -0.01244354248046875, 0.014251708984375, 0.06488037109375, -0.0287322998046875, 0.004352569580078125, 0.008270263671875, -0.0282745361328125, -0.045928955078125, 0.011627197265625, -0.0157012939453125, 0.03167724609375, 0.054290771484375, 0.055999755859375, -0.008056640625, -0.007572174072265625, 0.006622314453125, 0.0294952392578125, -0.029449462890625, 0.0333251953125, -0.0017604827880859375, -0.0248260498046875, 0.00791168212890625, 0.0237884521484375, -0.0163116455078125, -0.00457000732421875, 0.00113677978515625, -0.0017337799072265625, 0.01236724853515625, -0.0260162353515625, -0.00730133056640625, 0.0219268798828125, -0.02227783203125, -0.0094146728515625, 0.00946044921875, -0.01131439208984375, -0.039031982421875, 0.0274200439453125, -0.028350830078125, -0.01258087158203125, 0.050689697265625, 0.01336669921875, 0.029510498046875, -0.020782470703125, -0.062469482421875, 0.0022563934326171875, -0.047149658203125, -0.0233001708984375, 0.001476287841796875, -0.052001953125, -0.0260467529296875, -0.033111572265625, 0.0306396484375, -0.0750732421875, -0.0177001953125, -0.0218505859375, -0.003597259521484375, -0.037689208984375, -0.058197021484375, 0.00528717041015625, 0.016845703125, 0.01490020751953125, -0.0426025390625, 0.039306640625, -0.0012063980102539062, -0.007740020751953125, 0.04754638671875, 0.004093170166015625, -0.0142669677734375, -0.002429962158203125, 0.0159149169921875, -0.00428009033203125, -0.00524139404296875, 0.039825439453125, -0.0411376953125, 0.013092041015625, 0.017425537109375, 0.0240936279296875, 0.049896240234375, 0.0071563720703125, 0.0272979736328125, -0.012176513671875, 0.01030731201171875, -0.0284271240234375, 0.006855010986328125, 0.003444671630859375, 0.004245758056640625, 0.0022869110107421875, 0.0013628005981445312, 0.01216888427734375, 0.0274810791015625, -0.00910186767578125, 0.016143798828125, 0.00970458984375, -0.006317138671875, -0.0384521484375, -0.0052947998046875, 0.038177490234375, 0.032440185546875, 0.0215606689453125, -0.01678466796875, 0.05010986328125, -0.025543212890625, -0.038818359375, 0.0309906005859375, 0.0225677490234375, -0.0309906005859375, 0.0207366943359375, 0.0458984375, 0.015533447265625, 0.045196533203125, -0.01318359375, 0.03662109375, -0.035247802734375, 0.01328277587890625, 0.07977294921875, 0.029571533203125, -0.01910400390625, 0.0182952880859375, 0.041473388671875, 0.0653076171875, 0.0086669921875, 0.0091552734375, 0.0545654296875, -0.027252197265625, -0.0155029296875, -0.014373779296875, -0.07708740234375, -0.00949859619140625, 0.023956298828125, -0.056549072265625, -0.00555419921875, -0.0028018951416015625, 0.045196533203125, 0.005550384521484375, 0.0017757415771484375, 0.04241943359375, 0.01021575927734375, 0.016510009765625, 0.022705078125, 0.0345458984375, 0.006916046142578125, -0.0229949951171875, 0.072998046875, -0.017120361328125, -0.0255584716796875, 0.00036644935607910156, 0.0007414817810058594, 0.0303955078125, 0.03546142578125, 0.0222015380859375, -0.0033054351806640625, -0.026458740234375, 0.0204315185546875, 0.024444580078125, -0.0007257461547851562, -0.05694580078125, 0.005115509033203125, -0.0010833740234375, -0.004764556884765625, -0.0205841064453125, -0.0094146728515625, 0.0265045166015625, -0.018035888671875, -0.0029926300048828125, -0.048828125, 0.006072998046875, -0.017242431640625, 0.040130615234375, 0.00586700439453125, 0.007640838623046875, -0.006282806396484375, 0.0127716064453125, 0.012420654296875, -0.0618896484375, -0.03143310546875, 0.006778717041015625, 0.0005717277526855469, 0.01177215576171875, 0.007015228271484375, -0.032867431640625, 0.022064208984375, -0.021728515625, 0.034332275390625, 0.0523681640625, -0.00269317626953125, 0.02142333984375, -0.020416259765625, 0.00962066650390625, 0.009613037109375, 0.0125274658203125, 0.048797607421875, 0.0105133056640625, -0.0091705322265625, 0.0146331787109375, -0.02764892578125, -0.021484375, -0.01104736328125, -0.019287109375, 0.0181732177734375, 0.0301361083984375, 0.0252227783203125, 0.00736236572265625, 0.00021123886108398438, 0.03277587890625, -0.00508880615234375, -0.07037353515625, 0.00417327880859375, 0.0264434814453125, -0.03692626953125, 0.004016876220703125, 0.0224151611328125, 0.00836181640625, 0.0225067138671875, 0.0252685546875, -0.044342041015625, 0.02105712890625, 0.007030487060546875, -0.0119171142578125, -0.0103759765625, -0.01068878173828125, 0.0094451904296875, -0.0880126953125, -0.069580078125, -0.0118255615234375, 0.01078033447265625, 0.037506103515625, 0.039337158203125, 0.03594970703125, -0.0151214599609375, 0.0210113525390625, 0.006519317626953125, -0.011199951171875, 0.00811767578125, 0.016082763671875, -0.055877685546875, 0.043426513671875, -0.04058837890625, 0.01140594482421875, 0.0176239013671875, 0.008056640625, -0.016204833984375, 0.00896453857421875, -0.006206512451171875, -0.00832366943359375, 0.0026493072509765625, 0.009063720703125, 0.0167694091796875, 0.0049896240234375, 0.022064208984375, -0.0259552001953125, 0.00968170166015625, -0.022735595703125, -0.0479736328125, 0.03973388671875, 0.039215087890625, -0.054931640625, -0.0022735595703125, -0.01544189453125, 0.01493072509765625, -0.0208587646484375, -0.0207977294921875, 0.043731689453125, 0.0265655517578125, -0.02740478515625, -0.0013399124145507812, -0.025299072265625, 0.005374908447265625, -0.007488250732421875, -0.0174713134765625, 0.0160369873046875, -0.07000732421875, 0.0240325927734375, 0.0079345703125, 0.015533447265625, 0.00037026405334472656, -0.02813720703125, 0.0032024383544921875, 0.020721435546875, -0.043487548828125, -0.04901123046875, 0.005496978759765625, -0.05950927734375, -0.0091552734375, -0.01171875, -0.026641845703125, 0.00649261474609375, 0.016326904296875, -0.0096588134765625, -0.0179443359375, -0.01308441162109375, -0.03643798828125, -0.07867431640625, -0.0655517578125, -0.021148681640625, -0.007343292236328125, 0.021209716796875, 0.004405975341796875, 0.1256103515625, 0.03009033203125, -0.06805419921875, 0.00006651878356933594, 0.0130157470703125, -0.031005859375, 0.042694091796875, 0.00145721435546875, -0.01483154296875, 0.0055389404296875, -0.0186614990234375, 0.028717041015625, 0.0180206298828125, -0.01983642578125, 0.01107025146484375, -0.035003662109375, -0.0055694580078125, -0.042572021484375, 0.038482666015625, 0.0546875, -0.0309295654296875, -0.0258331298828125, -0.050262451171875, 0.022247314453125, 0.0014486312866210938, -0.0151824951171875, -0.070068359375, 0.0031642913818359375, -0.02545166015625, -0.04791259765625, -0.0253143310546875, -0.01435089111328125, 0.02423095703125, -0.05255126953125, 0.00878143310546875, 0.025970458984375, -0.0179290771484375, -0.0259246826171875, 0.01386260986328125, 0.030059814453125, -0.032257080078125, -0.0162506103515625, -0.012451171875, -0.0277099609375, -0.047119140625, -0.00847625732421875, -0.06719970703125, -0.061859130859375, 0.0313720703125, -0.0367431640625, 0.005863189697265625, -0.0289459228515625, -0.006427764892578125, 0.00013172626495361328, 0.0909423828125, 0.00923919677734375, -0.0123443603515625, 0.023895263671875, 0.01580810546875, -0.060089111328125, -0.0259552001953125, -0.05126953125, -0.00390625, 0.041229248046875, -0.003704071044921875, -0.0028629302978515625, 0.0162200927734375, -0.0224609375, 0.0491943359375, 0.01461029052734375, -0.00630950927734375, 0.024017333984375, -0.033782958984375, 0.009368896484375, 0.0084686279296875, -0.01021575927734375, -0.0262908935546875, 0.0013093948364257812, -0.028564453125, -0.0494384765625, -0.0054168701171875, -0.01092529296875, 0.050140380859375, 0.01129150390625, -0.0283050537109375, -0.0093841552734375, 0.037445068359375, -0.00653076171875, 0.026611328125, 0.00757598876953125, 0.0264129638671875, -0.016937255859375, -0.044403076171875, 0.00917816162109375, -0.0523681640625, -0.004833221435546875, -0.038055419921875, -0.037811279296875, -0.04248046875, -0.0207061767578125, 0.01666259765625, 0.01132965087890625, -0.01290130615234375, 0.0171356201171875, -0.004638671875, 0.0003218650817871094, 0.0200042724609375, -0.026885986328125, 0.0260162353515625, 0.001911163330078125, 0.02069091796875, 0.0496826171875, 0.049835205078125, -0.01517486572265625, 0.0074310302734375, 0.06512451171875, 0.01302337646484375, -0.041107177734375, -0.08782958984375, 0.005367279052734375, 0.03790283203125, 0.00952911376953125, 0.0079345703125, -0.00490570068359375, -0.028839111328125, 0.0305938720703125, 0.016265869140625, 0.022216796875, -0.025634765625, 0.0511474609375, 0.0107574462890625, -0.0008821487426757812, 0.02691650390625, 0.00848388671875, -0.0360107421875, 0.03497314453125, 0.00041174888610839844, -0.05731201171875, 0.00615692138671875, 0.059814453125, -0.023712158203125, 0.0284881591796875, -0.0297393798828125, -0.0240020751953125, 0.003818511962890625, -0.0199432373046875, 0.021942138671875, 0.0152435302734375, 0.000522613525390625, 0.0038127899169921875, 0.004581451416015625, -0.036346435546875, 0.00490570068359375, -0.0155029296875, 0.0247344970703125, -0.0083160400390625, 0.034210205078125, -0.0184326171875, -0.0193328857421875, -0.01485443115234375, 0.057769775390625, 0.00809478759765625, -0.0158843994140625, -0.0220489501953125, -0.009063720703125, -0.0020732879638671875, 0.006561279296875, -0.0501708984375, 0.03533935546875, 0.0304107666015625, -0.04541015625, -0.0204620361328125, -0.050811767578125, -0.032928466796875, -0.05548095703125, -0.0180206298828125, -0.005451202392578125, -0.01593017578125, 0.019500732421875, 0.0026302337646484375, 0.00010204315185546875, 0.0051116943359375, -0.0247955322265625, 0.06719970703125, 0.06280517578125, -0.0302276611328125, 0.0009927749633789062, 0.022918701171875, 0.01806640625, -0.054901123046875, -0.0016546249389648438, -0.03271484375, 0.0322265625, -0.012542724609375, 0.0404052734375, -0.00884246826171875, -0.04510498046875, 0.048675537109375, -0.03912353515625, 0.0037994384765625, -0.034454345703125, -0.04791259765625, 0.006175994873046875, 0.013580322265625, 0.03131103515625, 0.005123138427734375, -0.0004639625549316406, -0.01313018798828125, 0.045989990234375, 0.002109527587890625, 0.032440185546875, 0.0009427070617675781, -0.0250244140625, 0.0238037109375, 0.0255584716796875, -0.00995635986328125, -0.0212860107421875, -0.00481414794921875, -0.06085205078125, -0.0080718994140625, -0.0222015380859375, -0.0119171142578125, 0.049072265625, -0.031524658203125, -0.0250701904296875, -0.035125732421875, 0.049163818359375, -0.0537109375, 0.0012693405151367188, 0.06695556640625, 0.047821044921875, -0.0208587646484375, -0.01129913330078125, -0.02911376953125, -0.0292816162109375, -0.005313873291015625, 0.005580902099609375, -0.0235137939453125, 0.01360321044921875, -0.032135009765625, 0.021575927734375, -0.036895751953125, -0.0020618438720703125, -0.0018453598022460938, 0.0285186767578125, -0.01062774658203125, 0.06591796875, -0.0170440673828125, 0.08306884765625, -0.031707763671875, 0.045135498046875, 0.001445770263671875, 0.03387451171875, -0.0292510986328125, -0.0042877197265625, -0.0062103271484375, -0.0390625, -0.0169525146484375, -0.01885986328125, -0.001659393310546875, 0.0198974609375, 0.035308837890625, 0.00001710653305053711, 0.0460205078125, -0.045013427734375, 0.005344390869140625, -0.0038166046142578125, 0.02093505859375, -0.0777587890625, -0.01678466796875, 0.05706787109375, -0.0244903564453125, 0.030426025390625, -0.0311737060546875, 0.01107025146484375, 0.02691650390625, -0.0560302734375, 0.02960205078125, 0.0311431884765625, 0.006305694580078125, 0.042999267578125, 0.042755126953125, -0.034210205078125, 0.007465362548828125, 0.0455322265625, 0.0027751922607421875, -0.02301025390625, 0.0295562744140625, -0.036346435546875, -0.035614013671875, 0.006778717041015625, 0.00589752197265625, -0.02490234375, -0.00829315185546875, -0.0135345458984375, 0.03717041015625, 0.125732421875, 0.1068115234375, -0.16162109375, 0.01361846923828125, -0.0020275115966796875, -0.0250701904296875, 0.0261688232421875, -0.032501220703125, 0.0175933837890625, 0.0196075439453125, 0.049346923828125, 0.035552978515625, -0.0198974609375, 0.01230621337890625, -0.001190185546875, 0.0004489421844482422, -0.048126220703125, 0.09619140625, 0.0289154052734375, -0.10595703125, 0.0718994140625, 0.0618896484375, 0.00911712646484375, -0.044036865234375, 0.00408172607421875, 0.0189971923828125, -0.0037517547607421875, -0.0496826171875, 0.039306640625, -0.023773193359375, 0.0255279541015625, 0.021240234375, -0.026123046875, 0.0191192626953125, 0.01438140869140625, -0.0194091796875, -0.003452301025390625, -0.00411224365234375, 0.0016775131225585938, -0.0017223358154296875, -0.004749298095703125, 0.0233917236328125, 0.046478271484375, -0.10791015625, 0.0218963623046875, -0.052490234375, 0.038116455078125, -0.009918212890625, 0.005596160888671875, 0.04876708984375, -0.00390625, -0.0137939453125, 0.04339599609375, 0.0003936290740966797, -0.03070068359375, 0.006313323974609375, -0.0213775634765625, -0.0384521484375, -0.00795745849609375, -0.01280975341796875, -0.040008544921875, 0.033782958984375, 0.016204833984375, -0.018646240234375, 0.064697265625, 0.00208282470703125, -0.0185394287109375, 0.0129547119140625, 0.0418701171875, -0.01232147216796875, 0.0423583984375, -0.0355224609375, 0.0259552001953125, -0.03021240234375, 0.036285400390625, -0.02679443359375, 0.0015125274658203125, 0.00435638427734375, -0.01047515869140625, 0.017974853515625, 0.0009293556213378906, -0.023834228515625, 0.01378631591796875, 0.0755615234375, 0.054901123046875, 0.0325927734375, 0.0227813720703125, -0.00047469139099121094, -0.01239776611328125, 0.0227508544921875, 0.006519317626953125, 0.051116943359375, -0.036285400390625, -0.014984130859375, 0.008148193359375, -0.0011987686157226562, -0.0287628173828125, 0.008636474609375, 0.0210113525390625, -0.03631591796875, 0.0044403076171875, 0.00928497314453125, -0.012603759765625, -0.01239013671875, 0.006465911865234375, 0.004932403564453125, -0.06634521484375, -0.03070068359375, -0.027374267578125, 0.0294036865234375, -0.00820159912109375, 0.034912109375, -0.010986328125, -0.00836181640625, 0.038055419921875, 0.034027099609375, 0.00734710693359375, 0.07073974609375, -0.0123748779296875, 0.0077362060546875, 0.00972747802734375, 0.024566650390625, -0.0386962890625, -0.01412200927734375, 0.04290771484375, 0.03594970703125, -0.0224761962890625, -0.021575927734375, 0.01093292236328125, 0.0123748779296875, 0.021240234375, -0.03607177734375, 0.01824951171875, -0.005077362060546875, 0.023223876953125, 0.01354217529296875, 0.0113983154296875, 0.0207672119140625, -0.015350341796875, 0.0092315673828125, 0.0594482421875, -0.031707763671875, 0.036468505859375, -0.0018644332885742188, 0.002040863037109375, -0.005218505859375, 0.0399169921875, 0.004161834716796875, 0.056549072265625, -0.05413818359375, -0.018157958984375, -0.006519317626953125, 0.0396728515625, 0.0240631103515625, 0.0015935897827148438, -0.01419830322265625, -0.01499176025390625, -0.004711151123046875, 0.0221099853515625, 0.018402099609375, 0.011138916015625, 0.039886474609375, 0.0428466796875, -0.00728607177734375, -0.0098724365234375, 0.041534423828125, -0.0058441162109375, 0.002620697021484375, 0.0066680908203125, -0.040679931640625, -0.01092529296875, -0.0289459228515625, -0.030487060546875, 0.015960693359375, 0.00560760498046875, 0.009185791015625, 0.0185699462890625, 0.006626129150390625, -0.004779815673828125, 0.01904296875, -0.00330352783203125, 0.0260772705078125, 0.017578125, -0.022216796875, -0.017547607421875, -0.00859832763671875, 0.02880859375, -0.0164947509765625, 0.01284027099609375, 0.00743865966796875, 0.01043701171875, 0.0021457672119140625, 0.042999267578125, 0.00235748291015625, -0.02947998046875, -0.0123443603515625, -0.0232696533203125, 0.0498046875, 0.005401611328125, 0.03082275390625, 0.0023193359375, 0.035736083984375, 0.051483154296875, 0.0181732177734375, 0.05078125, -0.046539306640625, 0.017578125, -0.02642822265625, -0.037628173828125, 0.0111236572265625, -0.00362396240234375, -0.004180908203125, 0.0175018310546875, -0.0282745361328125, -0.004230499267578125, -0.031829833984375, -0.0192108154296875, 0.029937744140625, -0.045166015625, 0.0019483566284179688, -0.040130615234375, 0.02301025390625, -0.0183868408203125, -0.01094818115234375, -0.0316162109375, 0.01528167724609375, 0.007556915283203125, -0.020538330078125, 0.019500732421875, -0.0404052734375, -0.006771087646484375, 0.053558349609375, 0.0024623870849609375, 0.022735595703125, 0.0006132125854492188, -0.0238800048828125, -0.0196990966796875, 0.022979736328125, -0.0130767822265625, -0.0199737548828125, 0.037841796875, -0.01580810546875, -0.01442718505859375, 0.0297393798828125, 0.0198822021484375, 0.0154876708984375, -0.062469482421875, 0.01268768310546875, 0.0614013671875, 0.06756591796875, 0.01947021484375, 0.025299072265625, -0.0025196075439453125, -0.017608642578125, 0.0128021240234375, 0.0100555419921875, -0.02471923828125, -0.0083465576171875, 0.01088714599609375, 0.028656005859375, 0.006114959716796875, 0.00566864013671875, -0.06512451171875, -0.01800537109375, 0.0328369140625, -0.00672149658203125, -0.0009260177612304688, 0.006961822509765625, -0.01442718505859375, -0.02130126953125, 0.0070343017578125, -0.049835205078125, 0.01247406005859375, 0.02703857421875, -0.0203857421875, -0.02093505859375, -0.04180908203125, -0.01535797119140625, -0.029144287109375, 0.0350341796875, 0.04718017578125, -0.03887939453125, -0.0035610198974609375, 0.0189056396484375, 0.039398193359375, 0.057037353515625, 0.01155853271484375, -0.0257568359375, -0.0173797607421875, 0.004848480224609375, -0.006015777587890625, -0.0124664306640625, 0.0288238525390625, -0.048675537109375, -0.033935546875, -0.06878662109375, 0.056884765625, 0.06060791015625, -0.047454833984375, -0.140869140625, 0.040771484375, -0.06427001953125, -0.039276123046875, -0.06982421875, -0.00861358642578125, 0.00048804283142089844, 0.01296234130859375, -0.041656494140625, 0.018707275390625, -0.0305938720703125, 0.0531005859375, 0.0141143798828125, 0.0006957054138183594, 0.02685546875, -0.0133514404296875, -0.029998779296875, 0.019744873046875, 0.0272216796875, 0.006710052490234375, -0.0146331787109375, 0.01226043701171875, 0.0184478759765625, 0.033111572265625, -0.0274658203125, 0.00710296630859375, 0.010406494140625, -0.01152801513671875, -0.02587890625, -0.0006117820739746094, -0.01654052734375, 0.0012731552124023438, 0.0272979736328125, 0.10699462890625, -0.0018587112426757812, -0.0498046875, -0.036865234375, -0.03106689453125, 0.0124664306640625, -0.0097808837890625, 0.00699615478515625, -0.04437255859375, 0.016876220703125, -0.016143798828125, -0.0166015625, -0.004314422607421875, -0.0005202293395996094, -0.025054931640625, -0.00606536865234375, -0.0258636474609375, -0.036773681640625, -0.0296630859375, -0.0181732177734375, 0.018096923828125, -0.0296478271484375, -0.04437255859375, -0.003276824951171875, 0.0145111083984375, -0.026885986328125, 0.0047149658203125, -0.01580810546875, 0.05047607421875, -0.0200042724609375, -0.004856109619140625, 0.01354217529296875, 0.01392364501953125, 0.005329132080078125, 0.0229339599609375, -0.0097198486328125, 0.03143310546875, -0.0004258155822753906, 0.032867431640625, -0.0260772705078125, 0.07550048828125, 0.011871337890625, 0.0499267578125, -0.01439666748046875, -0.039398193359375, -0.0120391845703125, 0.0033512115478515625, -0.038726806640625, 0.0244903564453125, -0.014739990234375, -0.0006833076477050781, 0.010101318359375, 0.0145416259765625, -0.00888824462890625, -0.0196533203125, 0.006336212158203125, -0.01125335693359375, -0.00475311279296875, 0.0007824897766113281 ]
d0aa633537299aae18590aa0b57d4af8e55516eb
Wordpress Stackexchange Q: Adding a menu item in the admin bar I would like to add a new menu item in the admin bar. So far, I have done the following: function add_book_menu_item ($wp_admin_bar) { $args = array ( 'id' => 'book', 'title' => 'Book', 'href' => 'http://example.com/', 'parent' => 'new-content' ); $wp_admin_bar->add_node( $args ); } add_action('admin_bar_menu', 'add_book_menu_item'); This is creating the Book menu item underneath the + New menu (in the admin toolbar). However, the Book item comes in first (it is before the Post menu item). I would like it to appear between the Media and Page items. The following image shows what I would like to do. How do I do that? Thanks. A: every menu have an number . lower the number priority. add_action( 'admin_bar_menu', 'wp_admin_bar_sidebar_toggle', 0 ); add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 ); add_action( 'admin_bar_menu', 'wp_admin_bar_my_sites_menu', 20 ); add_action( 'admin_bar_menu', 'wp_admin_bar_site_menu', 30 ); more clear idea you can check the link below http://natko.com/custom-menu-item-position-in-wordpress-admin-bar-toolbar/
Q: Adding a menu item in the admin bar I would like to add a new menu item in the admin bar. So far, I have done the following: function add_book_menu_item ($wp_admin_bar) { $args = array ( 'id' => 'book', 'title' => 'Book', 'href' => 'http://example.com/', 'parent' => 'new-content' ); $wp_admin_bar->add_node( $args ); } add_action('admin_bar_menu', 'add_book_menu_item'); This is creating the Book menu item underneath the + New menu (in the admin toolbar). However, the Book item comes in first (it is before the Post menu item). I would like it to appear between the Media and Page items. The following image shows what I would like to do. How do I do that? Thanks. A: every menu have an number . lower the number priority. add_action( 'admin_bar_menu', 'wp_admin_bar_sidebar_toggle', 0 ); add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 ); add_action( 'admin_bar_menu', 'wp_admin_bar_my_sites_menu', 20 ); add_action( 'admin_bar_menu', 'wp_admin_bar_site_menu', 30 ); more clear idea you can check the link below http://natko.com/custom-menu-item-position-in-wordpress-admin-bar-toolbar/ A: You could try using Jquery. The new menu drop down --- wp-admin-bar-new-content ordering ---- li:eq(0) jQuery(document).ready(function ($) { // swaps 3rd and puts it before the 1st menu (note that orders start at 0) $("#wp-admin-bar-new-content li:eq(3)").before($("#wp-admin-bar-new-content li:eq(0)")); }); new order would be (post,media,book,page) You would have to change this if new plugins add new menus but it will work for you until you look into the below. This page from the wordpress https://codex.wordpress.org/Function_Reference/get_nodes shows how to build a new menu drop down containing all menus in the admin bar and possibly could be edited to recreate the changes via a wordpress hook letting you rebuild the 'new-content' to suit your needs with more control.
wordpress
{ "language": "en", "length": 270, "provenance": "stackexchange_00019.jsonl.gz:474521", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/261135" }
[ 0.055694580078125, 0.0140533447265625, 0.0086517333984375, 0.017364501953125, 0.0233001708984375, -0.03790283203125, 0.051544189453125, -0.060882568359375, -0.0177459716796875, 0.004962921142578125, -0.010467529296875, -0.00022518634796142578, -0.01190948486328125, -0.0287017822265625, 0.00852203369140625, -0.0300140380859375, 0.02947998046875, 0.0146636962890625, 0.047607421875, 0.005840301513671875, 0.01515960693359375, 0.028564453125, 0.0217742919921875, 0.01450347900390625, 0.035797119140625, -0.060455322265625, 0.0360107421875, -0.0067596435546875, 0.033233642578125, 0.005832672119140625, 0.0114593505859375, -0.023651123046875, 0.01245880126953125, -0.0069580078125, 0.0570068359375, 0.034027099609375, 0.00681304931640625, 0.01122283935546875, 0.0303192138671875, -0.00791168212890625, 0.048583984375, -0.01120758056640625, -0.00897216796875, 0.06524658203125, -0.0220947265625, -0.0399169921875, 0.01468658447265625, -0.0291900634765625, -0.0237884521484375, -0.0675048828125, 0.0003612041473388672, -0.01139068603515625, 0.0249176025390625, -0.03076171875, -0.00251007080078125, 0.035247802734375, 0.04010009765625, -0.080078125, 0.01396942138671875, 0.0537109375, 0.002101898193359375, 0.003726959228515625, 0.0029125213623046875, -0.047576904296875, -0.012237548828125, 0.036529541015625, 0.0189208984375, -0.00907135009765625, -0.070556640625, -0.016998291015625, 0.022064208984375, -0.06134033203125, -0.028076171875, 0.005931854248046875, -0.024078369140625, -0.02996826171875, 0.003353118896484375, -0.03765869140625, 0.016845703125, 0.040679931640625, 0.00447845458984375, 0.06793212890625, -0.0129852294921875, -0.03753662109375, 0.0007114410400390625, -0.017059326171875, -0.0285491943359375, -0.0199127197265625, -0.0225372314453125, -0.00481414794921875, -0.0149688720703125, -0.052642822265625, 0.0109405517578125, 0.014556884765625, -0.006855010986328125, -0.0250701904296875, 0.04766845703125, 0.048583984375, 0.0145416259765625, 0.020843505859375, -0.003040313720703125, -0.037017822265625, 0.0289764404296875, -0.026702880859375, 0.0153350830078125, 0.054351806640625, -0.00897216796875, -0.0177459716796875, 0.03338623046875, 0.001129150390625, 0.006343841552734375, 0.008331298828125, -0.00643157958984375, -0.03814697265625, -0.0021190643310546875, 0.0089874267578125, -0.0251617431640625, 0.005199432373046875, 0.0196533203125, -0.0241851806640625, -0.029327392578125, -0.01580810546875, 0.0017766952514648438, 0.007152557373046875, 0.016326904296875, 0.0006976127624511719, -0.0150299072265625, 0.005046844482421875, -0.0279541015625, 0.0013284683227539062, -0.01488494873046875, 0.022369384765625, 0.0297698974609375, 0.038116455078125, 0.01007080078125, -0.005496978759765625, 0.01114654541015625, -0.0285491943359375, 0.0350341796875, -0.01983642578125, 0.028717041015625, -0.00228118896484375, 0.007061004638671875, 0.024261474609375, 0.006435394287109375, 0.0114288330078125, -0.016204833984375, 0.0029888153076171875, 0.03387451171875, -0.00640106201171875, -0.006641387939453125, -0.051849365234375, 0.039398193359375, 0.017364501953125, -0.048095703125, 0.04254150390625, 0.01444244384765625, 0.003253936767578125, -0.06793212890625, -0.0222320556640625, -0.033966064453125, 0.00609588623046875, 0.01407623291015625, -0.07666015625, -0.056793212890625, 0.000028252601623535156, -0.01097869873046875, -0.0028629302978515625, 0.0261383056640625, 0.0003142356872558594, 0.0100860595703125, -0.0389404296875, 0.03369140625, 0.038726806640625, 0.0022449493408203125, 0.045684814453125, 0.0182647705078125, 0.0156707763671875, 0.0157928466796875, 0.044586181640625, 0.001575469970703125, -0.0250244140625, 0.0565185546875, -0.0139312744140625, -0.0477294921875, 0.035858154296875, -0.01035308837890625, 0.065673828125, 0.030731201171875, 0.02301025390625, -0.01953125, -0.008697509765625, -0.0209503173828125, -0.0294036865234375, -0.024200439453125, 0.0093841552734375, 0.00658416748046875, 0.0251007080078125, -0.023834228515625, 0.024810791015625, -0.021942138671875, 0.0023441314697265625, 0.008209228515625, 0.0302886962890625, -0.0037479400634765625, 0.003917694091796875, -0.003993988037109375, 0.032379150390625, 0.052337646484375, -0.004344940185546875, -0.0259857177734375, -0.007076263427734375, 0.01323699951171875, -0.0592041015625, -0.045562744140625, 0.042236328125, -0.0194854736328125, 0.0269317626953125, -0.0109710693359375, 0.044830322265625, -0.011077880859375, -0.0253143310546875, -0.0012559890747070312, 0.01262664794921875, 0.05126953125, -0.0293426513671875, -0.0078582763671875, -0.0260467529296875, 0.037109375, 0.0017709732055664062, -0.054840087890625, 0.046112060546875, 0.050537109375, 0.0034809112548828125, -0.037628173828125, -0.0045013427734375, 0.00021600723266601562, -0.05426025390625, -0.005382537841796875, 0.05682373046875, 0.036651611328125, -0.0106353759765625, 0.0182952880859375, 0.041412353515625, 0.00011587142944335938, -0.046295166015625, 0.021942138671875, -0.0088653564453125, -0.045501708984375, -0.00720977783203125, 0.0418701171875, 0.0103912353515625, 0.019378662109375, -0.05279541015625, -0.0235748291015625, 0.042755126953125, -0.0265045166015625, -0.03228759765625, -0.026580810546875, 0.0020732879638671875, 0.0261688232421875, -0.031097412109375, -0.035858154296875, 0.0022220611572265625, 0.0379638671875, 0.0196685791015625, 0.03900146484375, 0.03411865234375, -0.047210693359375, 0.00025153160095214844, 0.0193023681640625, 0.056640625, 0.0040435791015625, -0.019775390625, -0.033660888671875, -0.045379638671875, -0.004520416259765625, 0.0204315185546875, 0.00353240966796875, -0.0460205078125, -0.0212860107421875, 0.03936767578125, 0.01186370849609375, -0.014373779296875, -0.0303192138671875, -0.04644775390625, 0.0214080810546875, -0.00975799560546875, 0.003948211669921875, -0.067626953125, -0.016998291015625, -0.000827789306640625, -0.0209503173828125, 0.036712646484375, 0.016998291015625, -0.054443359375, 0.09942626953125, 0.017974853515625, 0.01617431640625, 0.00855255126953125, 0.08551025390625, 0.04345703125, -0.033721923828125, 0.02813720703125, 0.004535675048828125, -0.031646728515625, -0.017547607421875, 0.041900634765625, 0.005321502685546875, -0.045135498046875, -0.0100555419921875, 0.032135009765625, 0.024993896484375, -0.027008056640625, 0.041046142578125, -0.0138397216796875, -0.02459716796875, 0.02166748046875, -0.03082275390625, -0.01143646240234375, -0.006237030029296875, -0.0672607421875, 0.0224151611328125, 0.0200347900390625, -0.0311431884765625, -0.0127410888671875, 0.06268310546875, 0.0114593505859375, -0.0179443359375, -0.010284423828125, -0.00705718994140625, -0.0090484619140625, -0.0274200439453125, 0.0012722015380859375, 0.004589080810546875, -0.01165008544921875, 0.005153656005859375, 0.046356201171875, -0.01032257080078125, -0.041046142578125, 0.01326751708984375, -0.03564453125, 0.00882720947265625, 0.01287841796875, 0.052703857421875, -0.038787841796875, -0.0174560546875, -0.0037746429443359375, 0.055145263671875, 0.040008544921875, -0.047088623046875, 0.0054473876953125, -0.03057861328125, 0.017669677734375, 0.013641357421875, -0.0229644775390625, 0.020263671875, 0.003643035888671875, -0.0014238357543945312, -0.041961669921875, -0.0094451904296875, 0.0177001953125, -0.0158538818359375, 0.028076171875, -0.00867462158203125, -0.0230560302734375, 0.004894256591796875, 0.00803375244140625, -0.00292205810546875, 0.004791259765625, 0.04412841796875, -0.01348876953125, -0.0213775634765625, -0.027740478515625, -0.040283203125, -0.0270538330078125, 0.04095458984375, -0.00505828857421875, -0.00022804737091064453, 0.02813720703125, 0.022216796875, 0.0177764892578125, 0.00009655952453613281, 0.003200531005859375, -0.04296875, 0.034423828125, -0.004817962646484375, 0.05926513671875, -0.03692626953125, -0.036865234375, -0.0030155181884765625, 0.10491943359375, -0.053802490234375, -0.0302886962890625, -0.00632476806640625, 0.0289764404296875, -0.021728515625, -0.05731201171875, 0.0027313232421875, -0.0245361328125, -0.08831787109375, 0.031982421875, 0.014923095703125, -0.0249786376953125, -0.0162353515625, 0.04632568359375, -0.044342041015625, -0.030609130859375, 0.0323486328125, -0.056915283203125, 0.0009150505065917969, 0.04583740234375, -0.00995635986328125, -0.003803253173828125, -0.0240020751953125, -0.0210723876953125, -0.08782958984375, -0.0149688720703125, -0.046051025390625, 0.084228515625, 0.039276123046875, -0.0211181640625, -0.020294189453125, 0.04107666015625, 0.0266265869140625, 0.014312744140625, 0.0289459228515625, 0.01248931884765625, -0.0152587890625, -0.026123046875, 0.02099609375, -0.04803466796875, -0.01418304443359375, 0.024139404296875, -0.0200653076171875, 0.01551055908203125, -0.0093231201171875, -0.029205322265625, 0.047882080078125, -0.041259765625, -0.0595703125, -0.057708740234375, -0.005413055419921875, -0.012481689453125, -0.007843017578125, 0.00917816162109375, -0.03472900390625, -0.0439453125, -0.0078887939453125, -0.06890869140625, -0.0024547576904296875, 0.0232391357421875, 0.07220458984375, 0.0284271240234375, 0.0048065185546875, 0.01380157470703125, 0.0279541015625, 0.0309906005859375, -0.01190948486328125, 0.038726806640625, 0.0105133056640625, -0.026885986328125, 0.045654296875, 0.0003960132598876953, 0.051910400390625, -0.024444580078125, 0.03857421875, 0.00818634033203125, 0.01204681396484375, 0.0201568603515625, 0.006916046142578125, -0.036529541015625, -0.01214599609375, -0.0193023681640625, -0.0077362060546875, -0.05035400390625, 0.0386962890625, 0.000804901123046875, 0.04425048828125, -0.0380859375, 0.0162200927734375, -0.0232086181640625, 0.0005364418029785156, 0.0443115234375, 0.0489501953125, -0.01100921630859375, -0.0171356201171875, 0.00688934326171875, -0.00911712646484375, 0.00868988037109375, -0.016021728515625, -0.000751495361328125, 0.029388427734375, -0.021453857421875, -0.0101318359375, 0.033172607421875, -0.00798797607421875, 0.0780029296875, 0.0293121337890625, -0.0237884521484375, -0.0229034423828125, -0.005443572998046875, 0.062469482421875, -0.015045166015625, 0.028594970703125, 0.017059326171875, 0.00782012939453125, 0.0126800537109375, 0.0020046234130859375, -0.00893402099609375, 0.0189056396484375, -0.0273590087890625, 0.036956787109375, 0.012786865234375, 0.0045928955078125, -0.0173797607421875, 0.0955810546875, 0.00827789306640625, 0.032501220703125, -0.0204620361328125, 0.0565185546875, 0.05133056640625, 0.0288543701171875, 0.017913818359375, -0.0240478515625, 0.003437042236328125, 0.004840850830078125, -0.0024929046630859375, -0.0130767822265625, -0.00238037109375, 0.02081298828125, 0.010101318359375, 0.0494384765625, 0.0167236328125, -0.017059326171875, -0.01084136962890625, -0.03973388671875, 0.024383544921875, -0.01556396484375, -0.0645751953125, -0.0189056396484375, 0.04473876953125, 0.0239715576171875, -0.019439697265625, -0.0250701904296875, 0.04962158203125, -0.0289764404296875, 0.037506103515625, -0.0041961669921875, 0.00737762451171875, 0.004955291748046875, -0.00046706199645996094, -0.0209808349609375, -0.026763916015625, -0.00626373291015625, -0.0200347900390625, -0.026763916015625, -0.006000518798828125, -0.0103607177734375, 0.01313018798828125, -0.02532958984375, 0.042694091796875, -0.056365966796875, 0.0295867919921875, -0.0252838134765625, -0.004947662353515625, 0.04852294921875, 0.028778076171875, 0.006023406982421875, 0.005496978759765625, -0.01605224609375, -0.0394287109375, -0.0352783203125, -0.008148193359375, -0.050262451171875, -0.006069183349609375, -0.016510009765625, -0.006465911865234375, 0.004344940185546875, 0.03570556640625, -0.0149993896484375, 0.038238525390625, -0.00450897216796875, 0.0010557174682617188, -0.0286102294921875, 0.06768798828125, -0.007244110107421875, 0.0394287109375, -0.01690673828125, -0.00283050537109375, -0.019989013671875, 0.0197296142578125, 0.006710052490234375, -0.0080413818359375, -0.0095367431640625, -0.0308685302734375, -0.003376007080078125, 0.0177764892578125, 0.07037353515625, -0.0006537437438964844, 0.0283050537109375, 0.00731658935546875, 0.00241851806640625, -0.00461578369140625, -0.01129150390625, -0.0171966552734375, 0.01465606689453125, 0.029449462890625, -0.0204315185546875, 0.0266876220703125, -0.00591278076171875, 0.0018453598022460938, -0.00720977783203125, -0.01401519775390625, 0.0193328857421875, 0.0181732177734375, -0.07305908203125, 0.07830810546875, 0.08270263671875, 0.0104827880859375, 0.044708251953125, 0.0021152496337890625, 0.007781982421875, -0.00727081298828125, 0.00516510009765625, 0.033966064453125, 0.01253509521484375, 0.0521240234375, -0.010345458984375, -0.0021724700927734375, 0.038818359375, -0.0352783203125, 0.00943756103515625, 0.056793212890625, 0.044403076171875, -0.070556640625, -0.0014019012451171875, -0.0012760162353515625, -0.002246856689453125, 0.05029296875, 0.0038318634033203125, -0.031463623046875, -0.048431396484375, 0.047882080078125, -0.049713134765625, -0.0092926025390625, 0.01419830322265625, -0.00750732421875, -0.00988006591796875, -0.021148681640625, -0.01548004150390625, 0.005374908447265625, 0.0249786376953125, -0.0095672607421875, -0.02069091796875, -0.006412506103515625, -0.0011138916015625, 0.023834228515625, -0.002674102783203125, 0.0004954338073730469, -0.00775146484375, 0.047454833984375, -0.0296173095703125, 0.0150146484375, 0.025177001953125, 0.01299285888671875, 0.0161895751953125, 0.05242919921875, -0.02423095703125, 0.016387939453125, 0.0111083984375, 0.0193634033203125, -0.0193328857421875, -0.0143890380859375, -0.0052490234375, -0.0262603759765625, -0.0300445556640625, 0.01544952392578125, -0.049041748046875, -0.015625, 0.0173492431640625, 0.033905029296875, 0.054718017578125, -0.058197021484375, -0.009033203125, 0.02716064453125, -0.020111083984375, 0.002452850341796875, -0.001483917236328125, 0.04412841796875, -0.06964111328125, -0.0279388427734375, 0.02825927734375, -0.0127410888671875, -0.031982421875, 0.0006442070007324219, -0.0080108642578125, 0.07000732421875, -0.03594970703125, -0.026580810546875, 0.01953125, 0.041259765625, -0.0213165283203125, 0.0311737060546875, -0.019073486328125, 0.030975341796875, 0.0187835693359375, 0.01255035400390625, -0.02349853515625, -0.01299285888671875, -0.0018453598022460938, 0.039306640625, 0.05517578125, 0.01233673095703125, -0.048858642578125, 0.002857208251953125, 0.05224609375, 0.01320648193359375, -0.006610870361328125, 0.05902099609375, -0.0161590576171875, -0.037841796875, 0.0284576416015625, 0.01235198974609375, 0.037689208984375, -0.0110626220703125, -0.025360107421875, -0.014495849609375, 0.0018701553344726562, -0.004070281982421875, -0.0130157470703125, -0.005756378173828125, 0.01535797119140625, -0.01336669921875, -0.0216217041015625, -0.029571533203125, 0.006336212158203125, -0.001277923583984375, -0.0247344970703125, 0.03143310546875, -0.0030670166015625, -0.01392364501953125, 0.01568603515625, -0.01161956787109375, 0.009063720703125, 0.00908660888671875, 0.01806640625, -0.0192108154296875, 0.01178741455078125, 0.009613037109375, 0.0447998046875, -0.043670654296875, 0.058807373046875, 0.01415252685546875, 0.0272064208984375, -0.040313720703125, -0.0027713775634765625, 0.01580810546875, 0.066650390625, -0.05108642578125, -0.037841796875, 0.0180816650390625, 0.00814056396484375, -0.00765228271484375, -0.0008196830749511719, -0.00872039794921875, -0.0168609619140625, 0.032745361328125, -0.012420654296875, -0.0035495758056640625, 0.0285797119140625, 0.0066680908203125, 0.00740814208984375, 0.0203094482421875, -0.01071929931640625, 0.0159149169921875, -0.047088623046875, 0.038177490234375, 0.00342559814453125, 0.0628662109375, 0.017974853515625, 0.035400390625, -0.048736572265625, -0.0221099853515625, -0.005367279052734375, 0.023223876953125, -0.032440185546875, 0.01396942138671875, -0.034393310546875, -0.0443115234375, -0.0266265869140625, 0.032196044921875, 0.00435638427734375, 0.02276611328125, 0.018341064453125, 0.0182342529296875, 0.02581787109375, -0.005420684814453125, 0.04229736328125, -0.004795074462890625, -0.04156494140625, -0.0207366943359375, 0.0269622802734375, 0.0380859375, 0.032073974609375, 0.0161285400390625, 0.045654296875, 0.0182037353515625, -0.0035839080810546875, 0.00041174888610839844, 0.0023593902587890625, -0.01380157470703125, 0.020355224609375, 0.0169219970703125, 0.0256805419921875, 0.04046630859375, -0.133544921875, -0.053253173828125, -0.01457977294921875, -0.042694091796875, 0.0572509765625, 0.05682373046875, -0.0262298583984375, 0.021881103515625, -0.0041351318359375, 0.022979736328125, -0.0401611328125, -0.00812530517578125, 0.0172119140625, 0.0207977294921875, 0.037200927734375, 0.043060302734375, -0.048828125, -0.00391387939453125, 0.009033203125, -0.0136260986328125, 0.042022705078125, -0.018646240234375, 0.050384521484375, 0.02374267578125, -0.04443359375, 0.004673004150390625, -0.043121337890625, -0.027130126953125, -0.0231170654296875, 0.00710296630859375, -0.00968170166015625, 0.00963592529296875, -0.03240966796875, -0.0017480850219726562, 0.05413818359375, -0.04534912109375, -0.00998687744140625, -0.0034160614013671875, 0.0116119384765625, -0.059906005859375, 0.024200439453125, -0.01255035400390625, -0.0167236328125, -0.0241241455078125, -0.03314208984375, 0.0361328125, 0.0288543701171875, 0.01338958740234375, 0.0186920166015625, -0.0092010498046875, 0.0034618377685546875, 0.005832672119140625, 0.0080108642578125, 0.003551483154296875, 0.03326416015625, -0.029541015625, 0.028533935546875, 0.02752685546875, -0.012176513671875, 0.033843994140625, 0.022064208984375, -0.003337860107421875, 0.0179290771484375, 0.0025348663330078125, 0.0401611328125, 0.00923919677734375, 0.030487060546875, -0.027496337890625, 0.0008487701416015625, 0.0092926025390625, 0.0034332275390625, -0.005855560302734375, 0.0063934326171875, -0.05078125, -0.03643798828125, -0.0022602081298828125, 0.006168365478515625, -0.01505279541015625, -0.058746337890625, -0.10089111328125, 0.041656494140625, 0.05029296875, 0.02801513671875, -0.061187744140625, 0.073486328125, -0.04913330078125, 0.0200653076171875, 0.0247650146484375, 0.0027408599853515625, 0.004207611083984375, 0.024810791015625, -0.054962158203125, -0.0273284912109375, -0.0426025390625, -0.00769805908203125, -0.05926513671875, -0.0111846923828125, -0.009918212890625, -0.007778167724609375, 0.01458740234375, -0.0160675048828125, 0.005809783935546875, 0.025604248046875, 0.039459228515625, -0.01503753662109375, 0.0111846923828125, 0.0074005126953125, -0.029083251953125, -0.0144805908203125, 0.01580810546875, -0.03387451171875, -0.0129852294921875, -0.032073974609375, 0.035064697265625, 0.042724609375, -0.032745361328125, -0.061126708984375, -0.01503753662109375, -0.00943756103515625, -0.037689208984375, -0.0292510986328125, 0.0112762451171875, -0.034637451171875, 0.054107666015625, -0.0007529258728027344, -0.0056915283203125, 0.039215087890625, 0.046356201171875, -0.0009832382202148438, 0.05108642578125, 0.0009217262268066406, 0.003643035888671875, -0.01971435546875, -0.00936126708984375, -0.025909423828125, -0.00994873046875, 0.00908660888671875, -0.031768798828125, 0.0156402587890625, 0.003665924072265625, -0.06292724609375, -0.0396728515625, -0.0169677734375, 0.0235443115234375, -0.01062774658203125, -0.00685882568359375, -0.04449462890625, 0.0003345012664794922, 0.062347412109375, 0.0667724609375, 0.02423095703125, -0.0307464599609375, 0.0147857666015625, -0.036376953125, -0.017852783203125, -0.0364990234375, 0.0036220550537109375, -0.059722900390625, -0.02239990234375, 0.006946563720703125, -0.01568603515625, -0.0251007080078125, 0.037628173828125, -0.021575927734375, -0.0009627342224121094, 0.06622314453125, -0.0011072158813476562, -0.0318603515625, -0.04852294921875, 0.1080322265625, -0.067626953125, -0.0302581787109375, 0.0205841064453125, 0.0285491943359375, 0.0130462646484375, -0.03399658203125, -0.0338134765625, -0.022552490234375, -0.042388916015625, 0.027587890625, -0.03759765625, 0.03521728515625, -0.036529541015625, -0.006343841552734375, -0.0022869110107421875, 0.0208587646484375, -0.015960693359375, 0.019775390625, -0.0045013427734375, 0.059051513671875, 0.01053619384765625, 0.073974609375, 0.0303192138671875, 0.06378173828125, 0.00213623046875, 0.06060791015625, 0.0138702392578125, -0.046295166015625, 0.0360107421875, -0.043609619140625, -0.005443572998046875, 0.0159454345703125, -0.004302978515625, -0.07305908203125, 0.025421142578125, 0.0015420913696289062, 0.0357666015625, 0.02716064453125 ]
5983eed196380fb84fa64e058b6f1c97890b3b9f
Wordpress Stackexchange Q: WP-CLI - Return posts with matching meta key I am using the WP-CLI to manage my sites. I can run the following command wp post list --fields=ID,mycustomfield ID | mycustomfield ----------------------- 1 | active 2 | active 3 | disabled 4 | active I am trying to narrow this list down by only returning those which has mycustomfield as active Any ideas how I can do this? A: Managed to figure this out, you can pass --meta_key and --meta_compare arguments like this... wp post list --fields=ID,mycustomfield --meta_key=mycustomfield '--meta_compare=active' ID | mycustomfield ----------------------- 1 | active 2 | active 4 | active
Q: WP-CLI - Return posts with matching meta key I am using the WP-CLI to manage my sites. I can run the following command wp post list --fields=ID,mycustomfield ID | mycustomfield ----------------------- 1 | active 2 | active 3 | disabled 4 | active I am trying to narrow this list down by only returning those which has mycustomfield as active Any ideas how I can do this? A: Managed to figure this out, you can pass --meta_key and --meta_compare arguments like this... wp post list --fields=ID,mycustomfield --meta_key=mycustomfield '--meta_compare=active' ID | mycustomfield ----------------------- 1 | active 2 | active 4 | active A: You may pass any standard WP_Query arguments as flags to the wp post list command. --<field>=<value> In your example you would use the meta query arguments. wp post list --fields=ID,mycustomfield --meta_key=mycustomfield --meta_value=active Vague documentation is here.
wordpress
{ "language": "en", "length": 139, "provenance": "stackexchange_00019.jsonl.gz:474606", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/261410" }
[ -0.01483917236328125, 0.0023097991943359375, -0.00705718994140625, 0.044219970703125, -0.0219573974609375, -0.0138702392578125, 0.0254058837890625, -0.050018310546875, 0.028778076171875, 0.022857666015625, 0.0042877197265625, -0.024078369140625, -0.0019664764404296875, -0.0262908935546875, -0.026580810546875, -0.0221405029296875, 0.04638671875, -0.00946044921875, 0.01175689697265625, -0.003261566162109375, 0.0116729736328125, 0.03729248046875, 0.00872802734375, 0.0279693603515625, 0.05078125, -0.05157470703125, 0.011260986328125, -0.014434814453125, 0.03564453125, -0.00033593177795410156, 0.04034423828125, -0.00717926025390625, 0.0005483627319335938, -0.01241302490234375, 0.036712646484375, 0.0199127197265625, 0.024078369140625, -0.01152801513671875, 0.00791168212890625, 0.014617919921875, -0.00890350341796875, -0.0031261444091796875, -0.03167724609375, -0.0109710693359375, -0.02386474609375, -0.037567138671875, 0.004032135009765625, -0.012908935546875, 0.043365478515625, 0.043609619140625, -0.037078857421875, 0.0186767578125, -0.04290771484375, -0.0267333984375, 0.0150909423828125, -0.024810791015625, -0.00893402099609375, -0.048431396484375, 0.046478271484375, 0.00934600830078125, -0.0164337158203125, -0.04925537109375, 0.0235137939453125, -0.031280517578125, -0.0066070556640625, 0.0113983154296875, 0.00901031494140625, -0.00630950927734375, -0.03839111328125, -0.01031494140625, 0.0360107421875, -0.03533935546875, 0.03704833984375, -0.033172607421875, -0.0016460418701171875, -0.02301025390625, 0.029632568359375, -0.00984954833984375, -0.01085662841796875, -0.00658416748046875, 0.023406982421875, 0.038360595703125, 0.00142669677734375, 0.001056671142578125, -0.005710601806640625, 0.0160369873046875, -0.0220184326171875, -0.0181884765625, -0.022003173828125, -0.062164306640625, -0.0183868408203125, -0.055877685546875, -0.047882080078125, -0.004787445068359375, -0.02935791015625, -0.0219573974609375, 0.03143310546875, 0.02581787109375, -0.002101898193359375, -0.0190582275390625, -0.0015659332275390625, -0.046661376953125, -0.0142364501953125, 0.0024776458740234375, 0.017974853515625, 0.06585693359375, -0.01459503173828125, 0.0205535888671875, 0.03875732421875, 0.0212249755859375, 0.020263671875, -0.020172119140625, 0.02459716796875, 0.048858642578125, -0.0401611328125, -0.033447265625, -0.032806396484375, 0.00836181640625, -0.035797119140625, -0.0034656524658203125, 0.031402587890625, 0.043548583984375, 0.0210418701171875, -0.06048583984375, 0.0023651123046875, 0.000579833984375, -0.03985595703125, -0.044281005859375, -0.0187225341796875, 0.03399658203125, -0.0181884765625, 0.0019483566284179688, 0.0491943359375, 0.0252838134765625, -0.0171661376953125, -0.016326904296875, -0.0345458984375, -0.037322998046875, 0.01361083984375, 0.019134521484375, -0.03570556640625, -0.07952880859375, 0.035858154296875, 0.01148223876953125, 0.045806884765625, 0.07598876953125, 0.01580810546875, -0.04815673828125, 0.006450653076171875, -0.0257568359375, -0.045166015625, -0.03472900390625, 0.0211029052734375, 0.029510498046875, 0.0270843505859375, 0.0159454345703125, 0.05841064453125, -0.031829833984375, -0.003902435302734375, -0.0252227783203125, 0.0243988037109375, 0.015777587890625, 0.010650634765625, -0.0498046875, -0.054779052734375, -0.031280517578125, -0.045013427734375, -0.00888824462890625, 0.0240325927734375, 0.0423583984375, 0.0280303955078125, 0.0142364501953125, 0.0390625, -0.005908966064453125, -0.01215362548828125, -0.0249176025390625, 0.00798797607421875, 0.017608642578125, 0.01386260986328125, 0.021087646484375, -0.00255584716796875, -0.0199432373046875, 0.06494140625, -0.01026153564453125, -0.0660400390625, 0.043670654296875, 0.0180816650390625, 0.07843017578125, 0.0013580322265625, 0.0066375732421875, 0.093017578125, -0.001895904541015625, 0.007076263427734375, -0.006153106689453125, -0.0125885009765625, -0.01181793212890625, -0.0265655517578125, 0.01322174072265625, -0.0186920166015625, -0.0021533966064453125, 0.03594970703125, -0.01387786865234375, -0.004119873046875, 0.002796173095703125, -0.08172607421875, 0.00591278076171875, -0.04620361328125, 0.023590087890625, -0.044586181640625, -0.0162200927734375, 0.022857666015625, -0.010223388671875, -0.0114898681640625, 0.0184173583984375, 0.00319671630859375, 0.007598876953125, -0.018798828125, 0.0204010009765625, -0.010833740234375, 0.0260009765625, -0.046661376953125, 0.005817413330078125, -0.047607421875, -0.005908966064453125, 0.025543212890625, 0.034576416015625, -0.0246734619140625, 0.005107879638671875, 0.043609619140625, 0.0140380859375, 0.0012969970703125, 0.00858306884765625, 0.033660888671875, 0.002834320068359375, -0.0229339599609375, 0.031951904296875, 0.047332763671875, -0.0058746337890625, -0.00897216796875, 0.02374267578125, 0.0302276611328125, 0.017547607421875, 0.0222625732421875, 0.018798828125, 0.0748291015625, 0.00600433349609375, 0.029937744140625, -0.0198516845703125, 0.0047607421875, 0.05133056640625, -0.06048583984375, 0.0009317398071289062, 0.0288543701171875, -0.035919189453125, -0.0306549072265625, 0.06561279296875, -0.035858154296875, -0.0034694671630859375, -0.02001953125, -0.019561767578125, 0.0142669677734375, -0.068603515625, -0.021575927734375, -0.021240234375, 0.057708740234375, -0.00847625732421875, 0.03741455078125, 0.01407623291015625, -0.0435791015625, 0.0154571533203125, 0.0219268798828125, 0.0161285400390625, 0.016510009765625, 0.048980712890625, -0.00527191162109375, 0.0450439453125, -0.01160430908203125, -0.029815673828125, 0.00897216796875, 0.027252197265625, 0.00980377197265625, 0.003711700439453125, -0.0090789794921875, -0.004150390625, 0.0251617431640625, -0.0305023193359375, 0.01160430908203125, 0.0322265625, -0.0002963542938232422, -0.0214385986328125, 0.01172637939453125, 0.03204345703125, 0.0131683349609375, 0.034332275390625, -0.00849151611328125, -0.01528167724609375, 0.04254150390625, -0.032806396484375, 0.037811279296875, -0.0408935546875, 0.03851318359375, 0.04779052734375, -0.024566650390625, 0.003238677978515625, -0.035552978515625, 0.037567138671875, -0.03485107421875, 0.00766754150390625, -0.02093505859375, -0.0546875, -0.01309967041015625, 0.0004837512969970703, 0.032867431640625, 0.06756591796875, 0.0267486572265625, -0.0298919677734375, 0.02862548828125, 0.033050537109375, -0.0858154296875, -0.13427734375, 0.016082763671875, -0.0226898193359375, -0.01018524169921875, -0.0077667236328125, -0.028167724609375, -0.0047454833984375, 0.01091766357421875, 0.0084991455078125, 0.025970458984375, 0.0101165771484375, -0.067626953125, -0.018218994140625, -0.07867431640625, -0.026214599609375, -0.02044677734375, 0.0262298583984375, 0.01837158203125, 0.067626953125, 0.0167694091796875, -0.0247802734375, 0.0226898193359375, 0.03192138671875, -0.0245208740234375, 0.008087158203125, 0.007198333740234375, -0.036407470703125, -0.01042938232421875, -0.005802154541015625, 0.0164642333984375, 0.009124755859375, 0.0014629364013671875, -0.00409698486328125, 0.0167999267578125, 0.004795074462890625, 0.037841796875, -0.0030918121337890625, -0.023468017578125, 0.046966552734375, 0.05609130859375, -0.01271820068359375, 0.01678466796875, -0.0246734619140625, -0.004489898681640625, 0.0087738037109375, -0.023681640625, 0.0005702972412109375, -0.028656005859375, 0.049835205078125, 0.0217132568359375, -0.0194244384765625, -0.0028553009033203125, -0.035552978515625, 0.061248779296875, 0.02166748046875, 0.058990478515625, -0.020416259765625, 0.0139617919921875, -0.003711700439453125, -0.04278564453125, -0.01100921630859375, 0.0232696533203125, -0.0202484130859375, 0.034210205078125, -0.04620361328125, -0.0180206298828125, 0.05548095703125, 0.033355712890625, 0.020111083984375, -0.022918701171875, -0.035186767578125, -0.0350341796875, 0.0537109375, -0.048675537109375, -0.051513671875, -0.0225830078125, 0.0106658935546875, 0.0251312255859375, -0.0121307373046875, 0.02667236328125, -0.02862548828125, -0.079345703125, -0.01093292236328125, -0.0027256011962890625, -0.0310516357421875, -0.01291656494140625, 0.01263427734375, -0.05242919921875, -0.04693603515625, 0.0379638671875, -0.0231475830078125, 0.037353515625, -0.0008115768432617188, 0.0357666015625, -0.038360595703125, -0.023712158203125, -0.01012420654296875, -0.07568359375, -0.00455474853515625, 0.00745391845703125, 0.0174560546875, -0.03314208984375, 0.0189971923828125, -0.01140594482421875, 0.03143310546875, 0.0179901123046875, 0.033477783203125, 0.0031871795654296875, -0.01537322998046875, 0.0372314453125, -0.017791748046875, 0.01262664794921875, -0.015106201171875, -0.051544189453125, -0.048797607421875, -0.0078277587890625, -0.056182861328125, -0.01303863525390625, -0.0467529296875, 0.00279998779296875, -0.0034809112548828125, -0.0311737060546875, -0.0158538818359375, -0.04486083984375, -0.0020904541015625, -0.02862548828125, -0.0235748291015625, -0.0224151611328125, -0.0299072265625, 0.026763916015625, 0.00269317626953125, -0.00911712646484375, -0.0010938644409179688, 0.034698486328125, 0.003215789794921875, -0.0255584716796875, 0.0029735565185546875, -0.030029296875, -0.01157379150390625, -0.018218994140625, 0.057037353515625, 0.0006422996520996094, 0.011199951171875, 0.048736572265625, -0.032684326171875, -0.024749755859375, -0.01334381103515625, 0.060150146484375, -0.00498199462890625, 0.0045318603515625, -0.0299530029296875, -0.0511474609375, 0.033172607421875, 0.032501220703125, 0.005947113037109375, -0.0308074951171875, -0.01007843017578125, 0.05010986328125, 0.01074981689453125, -0.0411376953125, -0.061370849609375, -0.0628662109375, 0.0275421142578125, -0.065185546875, -0.002567291259765625, 0.01320648193359375, -0.0037059783935546875, 0.039703369140625, -0.005191802978515625, 0.01424407958984375, 0.018798828125, 0.0214996337890625, -0.0203399658203125, 0.0306396484375, 0.0204620361328125, -0.00957489013671875, -0.0019245147705078125, -0.0112762451171875, 0.0433349609375, -0.025970458984375, -0.09393310546875, 0.022796630859375, -0.01340484619140625, 0.02960205078125, 0.046478271484375, -0.010955810546875, 0.04608154296875, 0.05450439453125, -0.0462646484375, -0.01387786865234375, -0.0275726318359375, 0.01468658447265625, -0.07635498046875, 0.0033359527587890625, -0.01126861572265625, -0.00011014938354492188, -0.003978729248046875, 0.059295654296875, 0.0016689300537109375, 0.0220489501953125, -0.0274200439453125, 0.05535888671875, 0.02667236328125, 0.051910400390625, 0.01483917236328125, -0.041259765625, -0.019256591796875, 0.043060302734375, -0.04058837890625, -0.0267791748046875, 0.0013599395751953125, -0.00884246826171875, 0.01280975341796875, 0.047271728515625, 0.00516510009765625, 0.0123748779296875, 0.005950927734375, -0.01953125, 0.006420135498046875, -0.005825042724609375, -0.00421142578125, -0.029266357421875, -0.04302978515625, -0.0170440673828125, 0.0189208984375, 0.008148193359375, 0.015869140625, 0.01165008544921875, 0.024322509765625, 0.01824951171875, -0.0176544189453125, -0.00572967529296875, 0.01421356201171875, -0.029510498046875, 0.01177978515625, 0.009368896484375, -0.05242919921875, -0.050628662109375, 0.00707244873046875, -0.02313232421875, 0.051239013671875, 0.006069183349609375, 0.0277252197265625, -0.0235443115234375, -0.00482177734375, -0.0013942718505859375, 0.00604248046875, 0.003520965576171875, -0.0224456787109375, 0.004940032958984375, 0.00873565673828125, -0.0498046875, -0.0159912109375, 0.04217529296875, 0.005962371826171875, -0.0188751220703125, -0.017425537109375, 0.01535797119140625, 0.01457977294921875, 0.0017375946044921875, -0.02899169921875, -0.01168060302734375, 0.0007152557373046875, 0.021392822265625, 0.00719451904296875, 0.010498046875, 0.0195770263671875, -0.0157623291015625, 0.0182037353515625, 0.00859832763671875, 0.01244354248046875, -0.0280609130859375, -0.01312255859375, -0.0318603515625, -0.0740966796875, 0.03155517578125, 0.01467132568359375, 0.0257720947265625, 0.0438232421875, 0.0108184814453125, 0.0299530029296875, 0.0023403167724609375, 0.00038552284240722656, 0.0203704833984375, -0.027496337890625, 0.0172119140625, -0.009735107421875, -0.009735107421875, 0.01102447509765625, -0.02374267578125, -0.006195068359375, 0.004215240478515625, 0.0195770263671875, -0.0244903564453125, -0.0003681182861328125, -0.0230865478515625, 0.021148681640625, -0.0217437744140625, 0.05029296875, 0.08917236328125, 0.02392578125, 0.0538330078125, 0.0036792755126953125, 0.0191650390625, 0.0194854736328125, -0.0111541748046875, 0.018096923828125, 0.035491943359375, 0.0703125, -0.012908935546875, -0.01439666748046875, 0.037506103515625, -0.044677734375, 0.00104522705078125, 0.0216827392578125, 0.03375244140625, -0.05084228515625, 0.01385498046875, 0.0120849609375, -0.01465606689453125, 0.00423431396484375, 0.0076751708984375, -0.0206146240234375, -0.052276611328125, -0.019989013671875, 0.01528167724609375, -0.0250244140625, -0.0202178955078125, 0.0110626220703125, -0.00926971435546875, -0.0305023193359375, -0.0218658447265625, 0.005825042724609375, 0.038482666015625, -0.0071258544921875, -0.00901031494140625, -0.007434844970703125, -0.0005135536193847656, -0.015625, -0.039459228515625, -0.038604736328125, -0.06396484375, -0.046875, -0.039642333984375, -0.015838623046875, 0.047332763671875, 0.0287322998046875, 0.024383544921875, 0.047515869140625, 0.01142120361328125, -0.014068603515625, 0.0152587890625, 0.007904052734375, -0.0736083984375, -0.049163818359375, 0.0249176025390625, 0.0119781494140625, -0.034027099609375, 0.0301513671875, -0.0137939453125, -0.05938720703125, -0.0011014938354492188, 0.01290130615234375, 0.09051513671875, -0.05810546875, -0.01403045654296875, 0.0271759033203125, 0.019439697265625, -0.0012750625610351562, 0.0247650146484375, 0.034423828125, -0.012176513671875, -0.01102447509765625, 0.00982666015625, -0.035003662109375, -0.030853271484375, 0.00965118408203125, -0.04449462890625, 0.04681396484375, -0.0026836395263671875, -0.0038967132568359375, 0.00311279296875, 0.0286712646484375, 0.0023059844970703125, 0.01494598388671875, -0.016357421875, 0.05230712890625, -0.03948974609375, 0.04974365234375, -0.0556640625, -0.0170745849609375, 0.019134521484375, 0.053436279296875, 0.08154296875, 0.01042938232421875, -0.0343017578125, -0.027099609375, 0.042633056640625, 0.01494598388671875, -0.0083770751953125, 0.052459716796875, 0.00789642333984375, 0.08184814453125, 0.04486083984375, -0.07708740234375, 0.01381683349609375, -0.01514434814453125, -0.0256805419921875, 0.02239990234375, 0.01074981689453125, 0.0146942138671875, -0.0252227783203125, 0.07965087890625, 0.00772857666015625, -0.0216522216796875, -0.00827789306640625, -0.0074615478515625, 0.021209716796875, 0.020782470703125, 0.015899658203125, 0.0167236328125, -0.016754150390625, -0.0255279541015625, 0.0241546630859375, 0.019500732421875, 0.0247802734375, 0.043365478515625, 0.03411865234375, 0.08203125, -0.0289764404296875, 0.020904541015625, 0.005413055419921875, -0.0248870849609375, 0.03778076171875, 0.0245513916015625, 0.0126190185546875, -0.00740814208984375, 0.061004638671875, 0.04229736328125, 0.030181884765625, -0.05242919921875, -0.07037353515625, 0.01284027099609375, 0.0119171142578125, -0.0006251335144042969, 0.002788543701171875, -0.031524658203125, 0.0013332366943359375, 0.09112548828125, -0.038848876953125, 0.01447296142578125, 0.04052734375, -0.0106201171875, 0.0074615478515625, 0.044769287109375, -0.046630859375, 0.0206451416015625, -0.041534423828125, 0.021942138671875, 0.041168212890625, 0.043975830078125, 0.0167999267578125, 0.022491455078125, 0.01287078857421875, -0.00927734375, -0.0142059326171875, 0.0343017578125, 0.026275634765625, 0.01285552978515625, -0.02728271484375, -0.007396697998046875, 0.040679931640625, 0.026397705078125, 0.0297698974609375, 0.01071929931640625, 0.032073974609375, 0.043365478515625, -0.018524169921875, 0.001251220703125, 0.07232666015625, -0.01078033447265625, -0.0186004638671875, 0.0075531005859375, -0.0025920867919921875, 0.0202789306640625, -0.018402099609375, 0.0003070831298828125, 0.038848876953125, 0.0223388671875, 0.018280029296875, 0.0384521484375, 0.0227813720703125, 0.0406494140625, 0.0173492431640625, 0.040313720703125, -0.0416259765625, 0.055389404296875, -0.0709228515625, -0.0034084320068359375, -0.035369873046875, -0.07232666015625, 0.0224456787109375, 0.048095703125, -0.014312744140625, 0.0078125, 0.026092529296875, -0.03717041015625, -0.006946563720703125, 0.043609619140625, 0.0224151611328125, 0.05224609375, 0.0118560791015625, 0.0263824462890625, 0.0025844573974609375, -0.003826141357421875, 0.004852294921875, 0.02685546875, 0.0310516357421875, -0.00431060791015625, 0.0131072998046875, 0.033172607421875, -0.048583984375, -0.0104522705078125, -0.0101165771484375, -0.0245513916015625, 0.029571533203125, 0.01078033447265625, -0.01261138916015625, -0.01308441162109375, -0.0188140869140625, 0.020172119140625, 0.0169525146484375, 0.013824462890625, 0.008453369140625, -0.023651123046875, 0.023773193359375, 0.03411865234375, -0.0003898143768310547, -0.031982421875, 0.0038089752197265625, -0.035675048828125, -0.038360595703125, 0.0565185546875, 0.0265045166015625, 0.0211944580078125, 0.0013065338134765625, 0.00225067138671875, -0.03228759765625, 0.035430908203125, -0.00989532470703125, 0.051177978515625, 0.03717041015625, -0.031463623046875, 0.045562744140625, 0.00904083251953125, -0.0255584716796875, 0.032318115234375, 0.00681304931640625, -0.0322265625, 0.021240234375, -0.043731689453125, -0.0089111328125, 0.038330078125, 0.024688720703125, -0.026092529296875, 0.006336212158203125, 0.02117919921875, -0.0182952880859375, 0.0017900466918945312, -0.055816650390625, -0.00505828857421875, -0.034515380859375, -0.02362060546875, 0.0258636474609375, -0.0273284912109375, -0.0059814453125, -0.0037250518798828125, -0.01067352294921875, -0.019195556640625, -0.0299835205078125, 0.0308990478515625, 0.0236663818359375, -0.027496337890625, -0.06494140625, -0.0186614990234375, 0.0173187255859375, -0.0240325927734375, -0.0043182373046875, -0.016387939453125, -0.0211944580078125, -0.026275634765625, 0.041351318359375, 0.00786590576171875, 0.002414703369140625, 0.0179595947265625, -0.0085601806640625, -0.036956787109375, -0.031982421875, -0.01141357421875, 0.01324462890625, 0.011199951171875, -0.0069122314453125, 0.0086517333984375, 0.0179901123046875, -0.0386962890625, -0.059173583984375, 0.04168701171875, -0.053955078125, -0.030731201171875, -0.0188751220703125, 0.0181427001953125, 0.042236328125, -0.0377197265625, -0.09674072265625, 0.06585693359375, -0.035003662109375, -0.031982421875, -0.0248565673828125, -0.06597900390625, 0.018829345703125, 0.00543975830078125, -0.01154327392578125, -0.0295562744140625, -0.08721923828125, 0.033050537109375, -0.005084991455078125, 0.0007905960083007812, 0.01314544677734375, 0.0251617431640625, -0.046234130859375, 0.015411376953125, 0.00623321533203125, -0.0252685546875, -0.018829345703125, 0.0307464599609375, 0.00027632713317871094, 0.0298614501953125, -0.031951904296875, 0.0305938720703125, -0.0090484619140625, 0.0179443359375, 0.002864837646484375, -0.0484619140625, -0.027313232421875, -0.0270843505859375, 0.01168060302734375, 0.0312042236328125, -0.007747650146484375, -0.0197601318359375, -0.04217529296875, -0.0211334228515625, -0.01097869873046875, -0.0311279296875, 0.015869140625, -0.0836181640625, -0.0169219970703125, 0.00847625732421875, 0.015350341796875, 0.01094818115234375, -0.0036067962646484375, 0.0157318115234375, -0.012847900390625, 0.071533203125, 0.0169219970703125, -0.0306396484375, -0.0252227783203125, 0.0374755859375, -0.044219970703125, -0.0267791748046875, 0.01335906982421875, 0.023468017578125, -0.0006170272827148438, -0.0061798095703125, -0.041015625, -0.0084991455078125, 0.04656982421875, 0.02105712890625, -0.005306243896484375, 0.004180908203125, 0.0089263916015625, 0.03009033203125, -0.0215301513671875, 0.03643798828125, 0.0107421875, 0.0271759033203125, 0.0157928466796875, -0.0085296630859375, 0.0218963623046875, -0.00847625732421875, 0.00930023193359375, 0.02496337890625, -0.0276336669921875, 0.0709228515625, -0.011688232421875, -0.039947509765625, 0.024688720703125, -0.029205322265625, -0.00215911865234375, 0.0152435302734375, -0.01006317138671875, -0.037628173828125, 0.036773681640625, 0.058868408203125, -0.00972747802734375, 0.024383544921875 ]
18119fe8d3fab32ed04746dd2543132f5cd1d175
Wordpress Stackexchange Q: Finding where a shortcode comes from I have to change a few things in a page that I have not created. I have to insert some text inside a contact form. When I go to edit that page all I see is some shortcode. It's a custom shortcode that looks like [companyName_apply_form]. I have no idea where it comes from. It's not coming from the contact form plugin that created the other contact forms in the page and I also can't find anything in the template files. Any idea where a custom shortcode like that may come from? A: Just use the Windows search bar in wp-content directory and search for companyName_apply_form. You should find the file where the shortcode is created. To add a shortcode in Wordpress you normally use this syntax: 'add_shortcode("shortcode_name", "function_name")'
Q: Finding where a shortcode comes from I have to change a few things in a page that I have not created. I have to insert some text inside a contact form. When I go to edit that page all I see is some shortcode. It's a custom shortcode that looks like [companyName_apply_form]. I have no idea where it comes from. It's not coming from the contact form plugin that created the other contact forms in the page and I also can't find anything in the template files. Any idea where a custom shortcode like that may come from? A: Just use the Windows search bar in wp-content directory and search for companyName_apply_form. You should find the file where the shortcode is created. To add a shortcode in Wordpress you normally use this syntax: 'add_shortcode("shortcode_name", "function_name")' A: If you only have FTP access and you don't want to download the entire wp-content directory. Try logging in via ssh and using grep in your wp-content directory: grep -iRl "shortcode_name" ./
wordpress
{ "language": "en", "length": 169, "provenance": "stackexchange_00019.jsonl.gz:474624", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/261459" }
[ -0.005138397216796875, -0.02520751953125, -0.0050048828125, 0.011932373046875, -0.05133056640625, -0.011871337890625, -0.0124359130859375, -0.0183563232421875, -0.031005859375, 0.00432586669921875, -0.017547607421875, -0.0008563995361328125, -0.059539794921875, -0.034698486328125, -0.0083770751953125, -0.06500244140625, 0.0189971923828125, 0.0115509033203125, 0.0438232421875, -0.0130767822265625, 0.02862548828125, 0.00504302978515625, -0.012969970703125, 0.0016078948974609375, -0.0013303756713867188, -0.04437255859375, 0.109375, -0.01230621337890625, 0.04638671875, 0.01012420654296875, 0.0280609130859375, -0.06103515625, 0.049896240234375, 0.0007691383361816406, -0.0445556640625, 0.01898193359375, -0.01221466064453125, -0.01259613037109375, -0.038543701171875, 0.04376220703125, 0.03509521484375, -0.0189361572265625, 0.042999267578125, 0.01226043701171875, 0.024444580078125, -0.0428466796875, 0.0506591796875, -0.06011962890625, 0.01120758056640625, -0.00411224365234375, 0.001125335693359375, 0.01213836669921875, 0.0282135009765625, -0.0264129638671875, -0.021820068359375, -0.014923095703125, -0.01198577880859375, -0.01120758056640625, 0.03094482421875, 0.01751708984375, -0.01611328125, -0.021484375, 0.01788330078125, -0.0191802978515625, -0.014190673828125, 0.0050048828125, 0.019073486328125, 0.00939178466796875, 0.01171112060546875, -0.0159149169921875, -0.00750732421875, -0.0017061233520507812, -0.002044677734375, 0.008209228515625, -0.006557464599609375, -0.009521484375, 0.0228729248046875, -0.004913330078125, 0.00688934326171875, 0.0172576904296875, 0.000102996826171875, -0.046539306640625, -0.0167083740234375, 0.021209716796875, -0.034759521484375, 0.0293426513671875, -0.011077880859375, 0.0023555755615234375, -0.0069732666015625, -0.01031494140625, -0.0189361572265625, 0.00952911376953125, -0.0261077880859375, 0.015533447265625, -0.02471923828125, -0.0037059783935546875, 0.0322265625, 0.07196044921875, -0.0125579833984375, 0.01212310791015625, -0.0222625732421875, -0.036651611328125, 0.036224365234375, -0.043853759765625, -0.004901885986328125, 0.006748199462890625, 0.038116455078125, -0.01172637939453125, 0.0105743408203125, -0.01042938232421875, -0.031982421875, 0.04132080078125, -0.0478515625, 0.005855560302734375, -0.0361328125, 0.03863525390625, -0.04937744140625, 0.004016876220703125, -0.0214080810546875, 0.0419921875, 0.01477813720703125, 0.033447265625, 0.0286407470703125, -0.044219970703125, 0.0015592575073242188, -0.0034275054931640625, -0.03448486328125, -0.0443115234375, 0.0736083984375, -0.0013780593872070312, -0.04229736328125, 0.000006079673767089844, 0.052520751953125, 0.035400390625, 0.0282135009765625, -0.01554107666015625, -0.037872314453125, 0.01142120361328125, 0.00882720947265625, -0.0151214599609375, 0.0241851806640625, -0.018341064453125, 0.02093505859375, 0.003520965576171875, 0.00080108642578125, -0.0232696533203125, 0.01293182373046875, 0.059051513671875, 0.0098419189453125, -0.00736236572265625, -0.0032405853271484375, 0.043975830078125, 0.061920166015625, 0.01451873779296875, -0.020294189453125, 0.0089874267578125, 0.07037353515625, -0.047393798828125, -0.068359375, -0.061981201171875, 0.017913818359375, -0.0222625732421875, -0.0307159423828125, -0.0361328125, -0.045166015625, 0.0032100677490234375, -0.0259552001953125, -0.0015344619750976562, 0.0206146240234375, 0.004428863525390625, 0.028564453125, 0.01381683349609375, -0.023773193359375, 0.0164337158203125, 0.0203399658203125, -0.01064300537109375, -0.00891876220703125, 0.01180267333984375, 0.022216796875, 0.0020809173583984375, -0.028839111328125, -0.03369140625, 0.05426025390625, -0.0282135009765625, -0.08770751953125, 0.06298828125, 0.037200927734375, 0.10015869140625, -0.022125244140625, 0.01181793212890625, 0.094482421875, 0.043701171875, -0.0297698974609375, 0.009124755859375, 0.0102081298828125, -0.0036334991455078125, -0.05010986328125, -0.00664520263671875, -0.01087188720703125, 0.00865936279296875, -0.052886962890625, 0.002124786376953125, 0.010467529296875, 0.0123748779296875, -0.0211944580078125, 0.030853271484375, -0.037750244140625, 0.040863037109375, 0.0171661376953125, -0.005214691162109375, -0.0012845993041992188, 0.012481689453125, -0.0173797607421875, -0.051666259765625, -0.043853759765625, 0.03729248046875, -0.0199737548828125, 0.022003173828125, 0.0078125, 0.0013494491577148438, 0.023651123046875, -0.032745361328125, 0.0101165771484375, -0.0103759765625, -0.0193328857421875, -0.00476837158203125, -0.034576416015625, -0.0038394927978515625, -0.06268310546875, 0.0202484130859375, -0.034423828125, 0.02197265625, -0.022308349609375, -0.01383209228515625, -0.0369873046875, -0.005947113037109375, -0.007671356201171875, -0.01528167724609375, 0.009368896484375, 0.03741455078125, 0.0635986328125, 0.047760009765625, 0.0205078125, 0.0014133453369140625, 0.08819580078125, -0.044586181640625, 0.007389068603515625, -0.0284271240234375, 0.03369140625, 0.09295654296875, -0.0162353515625, 0.0237579345703125, -0.014801025390625, -0.0292205810546875, -0.00208282470703125, 0.0198974609375, -0.05865478515625, -0.0648193359375, 0.0281219482421875, -0.01247406005859375, 0.01519775390625, -0.0928955078125, -0.03717041015625, -0.047821044921875, 0.0272369384765625, 0.0107574462890625, 0.0237884521484375, 0.03582763671875, -0.02691650390625, 0.01438140869140625, 0.006549835205078125, -0.02691650390625, -0.0040740966796875, -0.005573272705078125, 0.06622314453125, 0.0589599609375, -0.044036865234375, -0.00850677490234375, 0.0298309326171875, 0.022918701171875, -0.03460693359375, 0.0008287429809570312, -0.03863525390625, -0.0261077880859375, -0.0169830322265625, -0.034423828125, 0.0008587837219238281, -0.022705078125, 0.01496124267578125, -0.00795745849609375, 0.01071929931640625, 0.005146026611328125, -0.0113372802734375, 0.02569580078125, 0.01904296875, -0.0321044921875, 0.00798797607421875, -0.0102996826171875, 0.03875732421875, -0.030487060546875, -0.01812744140625, 0.0570068359375, -0.020660400390625, 0.0311126708984375, -0.00467681884765625, -0.01241302490234375, -0.031768798828125, 0.013824462890625, 0.003570556640625, -0.01239013671875, -0.036590576171875, 0.0394287109375, 0.0179901123046875, 0.041107177734375, -0.01399993896484375, -0.052337646484375, 0.01461029052734375, 0.003711700439453125, -0.053802490234375, -0.029998779296875, -0.0009098052978515625, 0.01971435546875, -0.037994384765625, -0.00818634033203125, 0.00800323486328125, 0.0022869110107421875, -0.016387939453125, -0.0083465576171875, 0.01029205322265625, -0.0272369384765625, -0.0211334228515625, -0.034576416015625, -0.05987548828125, -0.022003173828125, 0.0166168212890625, 0.0196075439453125, -0.0022792816162109375, 0.03692626953125, 0.002208709716796875, -0.0321044921875, -0.005947113037109375, 0.03289794921875, -0.027252197265625, -0.01071929931640625, -0.0256805419921875, -0.046661376953125, 0.00011038780212402344, -0.00611114501953125, -0.053802490234375, -0.02984619140625, 0.059661865234375, -0.0160064697265625, -0.0309600830078125, -0.022216796875, 0.003223419189453125, 0.051605224609375, 0.031097412109375, -0.0235748291015625, 0.045806884765625, -0.059478759765625, -0.016387939453125, 0.0215301513671875, -0.01386260986328125, 0.036376953125, -0.00962066650390625, -0.026092529296875, 0.03131103515625, 0.0205230712890625, 0.050689697265625, 0.01873779296875, 0.037506103515625, -0.0090789794921875, 0.03485107421875, 0.01116180419921875, 0.0230255126953125, -0.05914306640625, 0.03955078125, -0.039703369140625, 0.03521728515625, 0.0269775390625, -0.01183319091796875, 0.0065765380859375, -0.004673004150390625, 0.018280029296875, -0.054718017578125, 0.0295257568359375, -0.0821533203125, 0.016082763671875, -0.05303955078125, -0.01020050048828125, -0.004978179931640625, 0.0872802734375, 0.004207611083984375, 0.00301361083984375, 0.024871826171875, -0.0268707275390625, 0.01220703125, 0.0178985595703125, -0.08367919921875, -0.032745361328125, -0.10693359375, 0.029083251953125, 0.006793975830078125, -0.0147857666015625, -0.037750244140625, 0.044403076171875, -0.0665283203125, -0.034027099609375, 0.040283203125, 0.00293731689453125, 0.053131103515625, -0.0311126708984375, 0.0166015625, -0.0252838134765625, -0.0212860107421875, -0.019287109375, -0.0767822265625, 0.004993438720703125, -0.042755126953125, 0.035797119140625, 0.01259613037109375, -0.031982421875, -0.005550384521484375, 0.036529541015625, 0.0271453857421875, -0.00991058349609375, -0.0008101463317871094, -0.00626373291015625, -0.0298004150390625, 0.00150299072265625, -0.0037899017333984375, -0.023681640625, -0.0037822723388671875, 0.0169830322265625, 0.0080718994140625, 0.057464599609375, -0.0163116455078125, -0.01125335693359375, 0.0265045166015625, -0.0238800048828125, -0.0263824462890625, -0.006229400634765625, 0.0038776397705078125, 0.0302581787109375, -0.041168212890625, 0.024017333984375, -0.0016946792602539062, -0.025665283203125, 0.0374755859375, -0.002567291259765625, -0.008087158203125, 0.020050048828125, 0.03369140625, -0.0023040771484375, -0.025115966796875, -0.054962158203125, 0.01325225830078125, 0.0528564453125, 0.04742431640625, 0.0207366943359375, 0.021942138671875, -0.040008544921875, 0.05584716796875, 0.036712646484375, 0.021881103515625, -0.0401611328125, 0.0716552734375, -0.00492095947265625, 0.0258636474609375, -0.004459381103515625, -0.0042572021484375, -0.01212310791015625, 0.0251007080078125, -0.0035533905029296875, -0.012603759765625, 0.0013933181762695312, 0.0122528076171875, -0.01386260986328125, 0.027679443359375, 0.004070281982421875, 0.0007076263427734375, -0.005184173583984375, 0.0264434814453125, 0.00913238525390625, 0.01299285888671875, -0.008331298828125, -0.0225372314453125, 0.00623321533203125, 0.01320648193359375, -0.015655517578125, 0.01293182373046875, -0.0199737548828125, 0.0421142578125, -0.031341552734375, 0.0030422210693359375, -0.0234222412109375, 0.01155853271484375, 0.036102294921875, -0.0031223297119140625, -0.0244293212890625, -0.02032470703125, -0.00305938720703125, -0.0389404296875, 0.0022335052490234375, 0.0117645263671875, 0.0241851806640625, 0.02099609375, 0.0113525390625, 0.03631591796875, 0.007171630859375, 0.02752685546875, -0.013671875, 0.0130767822265625, -0.0330810546875, 0.004009246826171875, -0.00919342041015625, 0.016204833984375, -0.046722412109375, 0.0105743408203125, 0.008148193359375, 0.01192474365234375, 0.01800537109375, 0.01215362548828125, 0.0241241455078125, -0.019805908203125, 0.02178955078125, -0.0211029052734375, 0.01227569580078125, -0.066650390625, -0.03240966796875, -0.00041675567626953125, 0.08331298828125, -0.0435791015625, -0.03289794921875, 0.024658203125, -0.036712646484375, -0.00611114501953125, -0.059783935546875, 0.00530242919921875, 0.059539794921875, -0.0196075439453125, -0.044219970703125, -0.00817108154296875, 0.04791259765625, 0.004596710205078125, 0.027130126953125, -0.032867431640625, -0.005374908447265625, 0.03106689453125, -0.0244293212890625, -0.021820068359375, -0.0253143310546875, 0.057403564453125, 0.0284271240234375, -0.039031982421875, -0.003948211669921875, -0.03173828125, 0.006984710693359375, 0.00743865966796875, 0.04132080078125, -0.02838134765625, 0.0245361328125, 0.005741119384765625, -0.0165863037109375, -0.0090179443359375, 0.0230865478515625, 0.0312042236328125, 0.01389312744140625, -0.06036376953125, -0.00894927978515625, -0.0406494140625, 0.0200347900390625, 0.0053558349609375, -0.0290374755859375, -0.00963592529296875, -0.008514404296875, -0.017669677734375, 0.01287841796875, -0.0196533203125, -0.0030975341796875, -0.01496124267578125, 0.01739501953125, -0.00922393798828125, 0.023590087890625, 0.0186920166015625, 0.0256195068359375, -0.01983642578125, 0.03314208984375, 0.006870269775390625, 0.0208282470703125, -0.0034389495849609375, -0.0352783203125, 0.002658843994140625, -0.0287933349609375, -0.0206451416015625, -0.01018524169921875, 0.01219940185546875, 0.0244598388671875, 0.038177490234375, 0.002716064453125, 0.0206451416015625, -0.028411865234375, 0.005130767822265625, 0.002964019775390625, 0.0193023681640625, -0.034698486328125, -0.03826904296875, 0.040435791015625, -0.066162109375, -0.0079345703125, 0.0185394287109375, -0.0169830322265625, 0.048065185546875, -0.043914794921875, 0.0262908935546875, 0.045623779296875, -0.026214599609375, 0.072265625, 0.060943603515625, -0.0032634735107421875, 0.035064697265625, 0.044677734375, 0.0147857666015625, -0.000045418739318847656, 0.032958984375, 0.01371002197265625, -0.04150390625, 0.052825927734375, 0.0014982223510742188, -0.0157012939453125, 0.0372314453125, -0.033660888671875, 0.044036865234375, 0.039306640625, 0.0650634765625, -0.072998046875, 0.0217742919921875, 0.01255035400390625, -0.0192413330078125, 0.033599853515625, 0.01369476318359375, -0.05706787109375, -0.09014892578125, 0.035003662109375, -0.041259765625, 0.00109100341796875, 0.0058441162109375, 0.01556396484375, -0.017608642578125, -0.040863037109375, 0.1033935546875, 0.0063018798828125, 0.03424072265625, -0.0187835693359375, -0.054046630859375, -0.004886627197265625, -0.0203857421875, -0.006572723388671875, 0.0203399658203125, -0.01042938232421875, -0.0428466796875, 0.0513916015625, -0.0125579833984375, 0.0112457275390625, -0.01107025146484375, -0.0193023681640625, 0.04473876953125, 0.045989990234375, -0.0306396484375, 0.0237579345703125, 0.01267242431640625, 0.03460693359375, 0.0109100341796875, -0.02642822265625, 0.0008149147033691406, 0.037017822265625, -0.047332763671875, 0.023193359375, 0.00977325439453125, -0.00919342041015625, -0.0093536376953125, -0.0167388916015625, 0.047332763671875, -0.029541015625, -0.018463134765625, 0.0211181640625, -0.001560211181640625, -0.0013427734375, -0.003173828125, -0.0165252685546875, -0.0122222900390625, 0.006725311279296875, -0.0197906494140625, -0.0377197265625, 0.005672454833984375, -0.0224456787109375, -0.07415771484375, 0.03179931640625, 0.0186767578125, 0.035491943359375, 0.018829345703125, 0.00621795654296875, -0.02972412109375, -0.026123046875, -0.031829833984375, 0.045623779296875, -0.016693115234375, 0.07135009765625, -0.04400634765625, -0.0189056396484375, 0.028350830078125, 0.051544189453125, 0.0452880859375, -0.005199432373046875, 0.02032470703125, 0.0070037841796875, 0.061248779296875, 0.0124053955078125, -0.0251007080078125, 0.0031280517578125, 0.01190948486328125, 0.017120361328125, 0.080810546875, -0.0280609130859375, 0.0297393798828125, 0.00006455183029174805, 0.016082763671875, 0.01253509521484375, -0.01239776611328125, -0.002384185791015625, 0.01140594482421875, -0.006526947021484375, 0.0048828125, -0.0029163360595703125, -0.0004172325134277344, -0.0195465087890625, -0.0193328857421875, 0.051361083984375, 0.0024776458740234375, -0.05810546875, -0.06982421875, -0.0256805419921875, 0.03192138671875, -0.007015228271484375, 0.07861328125, 0.0003902912139892578, 0.019073486328125, 0.0865478515625, -0.005245208740234375, 0.05401611328125, 0.044647216796875, -0.045684814453125, 0.0110931396484375, -0.0023326873779296875, 0.0104217529296875, -0.0643310546875, 0.013824462890625, 0.0401611328125, 0.038970947265625, -0.03448486328125, -0.0083770751953125, 0.004947662353515625, 0.00601959228515625, -0.01454925537109375, -0.04168701171875, -0.02593994140625, -0.005672454833984375, 0.0022106170654296875, -0.0335693359375, -0.00923919677734375, 0.0046234130859375, 0.01383209228515625, -0.019775390625, -0.0019330978393554688, 0.002384185791015625, -0.00919342041015625, -0.01195526123046875, 0.016632080078125, -0.01343536376953125, 0.03509521484375, 0.006771087646484375, 0.0440673828125, -0.062103271484375, -0.01336669921875, -0.0190582275390625, 0.00896453857421875, 0.02227783203125, 0.01201629638671875, -0.0041351318359375, 0.033538818359375, -0.00478363037109375, 0.01385498046875, 0.023284912109375, 0.0628662109375, 0.0003185272216796875, -0.030517578125, 0.015411376953125, 0.019134521484375, 0.007801055908203125, -0.040496826171875, 0.0283203125, -0.0286102294921875, -0.01371002197265625, 0.0034580230712890625, -0.02899169921875, -0.0291900634765625, -0.0276641845703125, 0.051666259765625, -0.037261962890625, 0.023468017578125, 0.0019254684448242188, -0.0301055908203125, 0.04443359375, -0.0225982666015625, 0.036376953125, -0.0062408447265625, -0.058319091796875, -0.0224609375, 0.0007605552673339844, -0.0244140625, 0.0027256011962890625, 0.0338134765625, -0.01068878173828125, 0.00940704345703125, 0.018310546875, -0.00033283233642578125, -0.02264404296875, 0.029815673828125, 0.00409698486328125, -0.01502227783203125, 0.0267486572265625, -0.01351165771484375, -0.042144775390625, -0.00672149658203125, 0.01198577880859375, 0.00537109375, 0.024017333984375, -0.020538330078125, 0.042633056640625, 0.0036983489990234375, -0.04449462890625, -0.0380859375, 0.01395416259765625, -0.035369873046875, 0.059722900390625, 0.0234527587890625, -0.033843994140625, -0.0171661376953125, -0.0246124267578125, 0.0188751220703125, 0.043548583984375, -0.0237579345703125, 0.0090484619140625, 0.014404296875, 0.0125885009765625, -0.024322509765625, -0.0021305084228515625, -0.02618408203125, -0.01190948486328125, -0.0178070068359375, -0.0207977294921875, 0.0127105712890625, -0.01416778564453125, -0.0006737709045410156, 0.0223846435546875, 0.039276123046875, 0.024627685546875, 0.03338623046875, -0.0128936767578125, 0.045318603515625, 0.0309295654296875, -0.026397705078125, -0.014984130859375, -0.0176849365234375, -0.0269775390625, 0.00363922119140625, -0.002109527587890625, 0.00897979736328125, -0.00357818603515625, -0.034271240234375, 0.03173828125, 0.0021114349365234375, 0.0231170654296875, -0.0243072509765625, -0.003513336181640625, 0.0084381103515625, -0.00008237361907958984, -0.003208160400390625, -0.034912109375, -0.01290130615234375, -0.056121826171875, 0.019500732421875, 0.052093505859375, -0.0043182373046875, 0.061309814453125, 0.0100860595703125, -0.0194854736328125, 0.0343017578125, 0.0306243896484375, -0.09088134765625, 0.035430908203125, 0.0215911865234375, 0.007106781005859375, 0.02655029296875, 0.06488037109375, -0.002651214599609375, 0.0159454345703125, -0.02508544921875, -0.0169677734375, 0.0203399658203125, 0.0445556640625, 0.0296630859375, 0.021820068359375, 0.05584716796875, -0.00339508056640625, -0.01117706298828125, 0.04864501953125, 0.00876617431640625, 0.09710693359375, -0.0701904296875, -0.0221405029296875, 0.055572509765625, -0.01239776611328125, -0.004974365234375, -0.0215911865234375, -0.0220794677734375, 0.0028209686279296875, 0.016265869140625, -0.01268768310546875, -0.0233001708984375, -0.0147247314453125, -0.0460205078125, -0.053192138671875, -0.0159912109375, 0.0205841064453125, -0.042236328125, -0.04583740234375, -0.0135955810546875, 0.0159149169921875, -0.00498199462890625, -0.047271728515625, 0.0006694793701171875, -0.054412841796875, 0.0249481201171875, -0.01406097412109375, 0.0814208984375, 0.0028820037841796875, -0.015350341796875, -0.0260772705078125, -0.0197296142578125, -0.052276611328125, -0.0004444122314453125, 0.02923583984375, -0.01104736328125, 0.03753662109375, 0.056121826171875, -0.017364501953125, -0.0323486328125, -0.01328277587890625, -0.04937744140625, 0.0182342529296875, -0.018646240234375, -0.010101318359375, -0.0236968994140625, 0.032806396484375, 0.037384033203125, 0.0107879638671875, -0.0122528076171875, 0.0115814208984375, 0.0215301513671875, -0.006153106689453125, 0.004550933837890625, -0.0079498291015625, -0.01506805419921875, 0.0064849853515625, -0.03863525390625, -0.0335693359375, 0.0012359619140625, 0.0169677734375, -0.063232421875, 0.0052490234375, -0.04949951171875, -0.040557861328125, -0.06781005859375, -0.009613037109375, 0.040008544921875, -0.0202789306640625, 0.0218658447265625, 0.0051116943359375, 0.015106201171875, 0.0340576171875, 0.05548095703125, 0.017974853515625, 0.00212860107421875, -0.02423095703125, 0.0340576171875, 0.01003265380859375, 0.006229400634765625, -0.0250396728515625, -0.01192474365234375, 0.01078033447265625, 0.0258331298828125, -0.01284027099609375, -0.005687713623046875, -0.0333251953125, 0.07061767578125, -0.00786590576171875, 0.07952880859375, 0.00292205810546875, -0.0100860595703125, -0.022705078125, 0.04718017578125, 0.0030727386474609375, -0.0182037353515625, 0.033966064453125, -0.01861572265625, 0.00789642333984375, 0.0229339599609375, -0.01096343994140625, -0.0087890625, -0.0034847259521484375, 0.0260009765625, -0.00004750490188598633, 0.004913330078125 ]
e15f91e02f7f154caf3c5d1b3cb60998ab36c9e9
Wordpress Stackexchange Q: MU domain mapping login issue From this answer, a MU site has the following in wp-config.php: define('WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'www.example.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('COOKIE_DOMAIN', ''); define('ADMIN_COOKIE_PATH', '/'); define('COOKIE_DOMAIN', ''); define('COOKIEPATH', ''); define('SITECOOKIEPATH', ''); If I try to login to a child site @ http://example2.net/wp-login.php, I receive the error: The constant "COOKIE_DOMAIN" is defined (probably in wp-config.php). Please remove or comment out that define() line. If I comment out: define('COOKIE_DOMAIN', ''); I receive the error: ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress The site the answer above refers to is working with the definitions above. Any ideas why the same definitions are not working on this earlier installed Wordpress? (perhaps from around v4.3?) A: Strangely it worked for me (on more than one multisites) to set SUBDOMAIN_INSTALL to false. To be honest, I hadn't had time to investigate further why ... define('SUBDOMAIN_INSTALL', false);
Q: MU domain mapping login issue From this answer, a MU site has the following in wp-config.php: define('WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'www.example.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('COOKIE_DOMAIN', ''); define('ADMIN_COOKIE_PATH', '/'); define('COOKIE_DOMAIN', ''); define('COOKIEPATH', ''); define('SITECOOKIEPATH', ''); If I try to login to a child site @ http://example2.net/wp-login.php, I receive the error: The constant "COOKIE_DOMAIN" is defined (probably in wp-config.php). Please remove or comment out that define() line. If I comment out: define('COOKIE_DOMAIN', ''); I receive the error: ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress The site the answer above refers to is working with the definitions above. Any ideas why the same definitions are not working on this earlier installed Wordpress? (perhaps from around v4.3?) A: Strangely it worked for me (on more than one multisites) to set SUBDOMAIN_INSTALL to false. To be honest, I hadn't had time to investigate further why ... define('SUBDOMAIN_INSTALL', false); A: Ensure sunrise.php is in the wp-content directory and that you have defined the following in wp-config.php: define( 'SUNRISE', 'on' ); With sunrise on, you should not define COOKIE_DOMAIN anywhere else as it handles that dynamically on all mapped domains. My guess is that either you don't have define( 'SUNRISE', 'on' ); or you don't have sunrise.php installed correctly. Another thing to check would be that the domain is correctly configured in wp-admin. A: For anyone still struggling with this. It turned out it was the sunrise code that was causing the conflict: <?php if ( !defined( 'SUNRISE_LOADED' ) ) define( 'SUNRISE_LOADED', 1 ); if ( defined( 'COOKIE_DOMAIN' ) ) { die( 'The constant "COOKIE_DOMAIN" is defined (probably in wp-config.php). Please remove or comment out that define() line.' ); } ... I commented out the sunrise in wp-config.php //define( 'SUNRISE', 'on' ); And added define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']); before the /* That's all, stop editing! Happy blogging. */ comment. That made me login to my multisite again and all sub sites, but worked like a charm!!! Really hope this helps someone else struggling with this very very frustrating issue. :) A: the first error come from additionnal code which would probably not be usefull with the actual WordPress version (4.7.3 today) try to comment the line define("SUNRISE"... in wp-config.php A: I bypassed the inbuilt Wordpress domain mapping, and instead used the Wordpress MU Domain Mapping plugin, which proved to be much easier to maintain and troubleshoot.
wordpress
{ "language": "en", "length": 405, "provenance": "stackexchange_00019.jsonl.gz:474633", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/261478" }
[ 0.039794921875, -0.02801513671875, 0.029693603515625, 0.026123046875, -0.01265716552734375, -0.03326416015625, 0.069580078125, -0.020965576171875, -0.006534576416015625, -0.00041484832763671875, -0.00209808349609375, 0.00531768798828125, -0.0012798309326171875, -0.041778564453125, 0.0056610107421875, -0.023956298828125, 0.0108489990234375, -0.038848876953125, -0.028961181640625, -0.03802490234375, 0.01081085205078125, -0.01343536376953125, -0.0258026123046875, -0.0218505859375, 0.041595458984375, -0.052520751953125, 0.0053558349609375, -0.00545501708984375, 0.00836181640625, -0.01389312744140625, 0.0210723876953125, 0.0081787109375, 0.00450897216796875, 0.04608154296875, -0.029449462890625, -0.08697509765625, 0.0221099853515625, -0.0009126663208007812, 0.0025310516357421875, 0.034454345703125, 0.005962371826171875, 0.0089263916015625, 0.0177764892578125, 0.026092529296875, -0.025421142578125, -0.05609130859375, 0.045074462890625, -0.0074310302734375, 0.019561767578125, 0.026123046875, -0.0228271484375, 0.0182952880859375, -0.016387939453125, 0.0325927734375, -0.026702880859375, -0.0299835205078125, 0.00844573974609375, 0.0109405517578125, -0.0008392333984375, 0.008758544921875, -0.0030384063720703125, 0.052032470703125, 0.0024776458740234375, 0.00910186767578125, 0.02783203125, -0.0291748046875, -0.0269927978515625, 0.02520751953125, -0.061737060546875, 0.032012939453125, 0.061279296875, -0.057830810546875, 0.035186767578125, -0.026123046875, -0.02496337890625, -0.033233642578125, -0.01025390625, -0.0243988037109375, 0.040374755859375, -0.0377197265625, 0.004344940185546875, -0.01335906982421875, -0.04888916015625, 0.00653076171875, 0.01473236083984375, 0.063232421875, -0.00812530517578125, -0.026947021484375, -0.0133819580078125, -0.005603790283203125, -0.016510009765625, -0.032012939453125, 0.0197906494140625, 0.003509521484375, -0.016845703125, -0.01383209228515625, 0.05084228515625, 0.0860595703125, -0.0004906654357910156, -0.0350341796875, -0.032623291015625, -0.007843017578125, -0.082275390625, -0.005031585693359375, 0.0007123947143554688, 0.06622314453125, 0.017822265625, 0.0031719207763671875, 0.01200103759765625, 0.0075531005859375, 0.010955810546875, -0.03240966796875, -0.01096343994140625, -0.0677490234375, -0.0308837890625, 0.025390625, -0.01143646240234375, -0.016815185546875, 0.036590576171875, -0.04425048828125, -0.01322174072265625, 0.00608062744140625, -0.01837158203125, 0.006130218505859375, 0.023406982421875, 0.0150604248046875, 0.010345458984375, -0.021240234375, -0.09625244140625, 0.041473388671875, -0.01491546630859375, 0.0056304931640625, 0.005809783935546875, 0.037261962890625, -0.0223236083984375, -0.017730712890625, 0.04248046875, 0.018218994140625, -0.00655364990234375, 0.0029926300048828125, 0.012786865234375, -0.056640625, -0.039215087890625, 0.0032196044921875, -0.029144287109375, 0.022705078125, 0.03759765625, 0.0154876708984375, -0.0276336669921875, -0.08685302734375, 0.0211334228515625, -0.03082275390625, 0.0148162841796875, -0.0039005279541015625, -0.0220794677734375, -0.011993408203125, -0.03240966796875, -0.0034198760986328125, -0.009796142578125, -0.00569915771484375, -0.033203125, -0.010040283203125, 0.043243408203125, -0.031707763671875, -0.044830322265625, 0.0174560546875, -0.0181427001953125, -0.0169219970703125, 0.0235137939453125, 0.004917144775390625, 0.0038394927978515625, -0.01629638671875, 0.044097900390625, 0.016754150390625, -0.004520416259765625, 0.025543212890625, 0.004055023193359375, 0.0599365234375, 0.01555633544921875, 0.037078857421875, 0.0213775634765625, -0.026702880859375, 0.05804443359375, 0.0020542144775390625, -0.053955078125, 0.0438232421875, 0.00807952880859375, 0.056427001953125, -0.005199432373046875, 0.010406494140625, 0.021026611328125, 0.029083251953125, -0.05743408203125, 0.06622314453125, -0.0088043212890625, -0.05023193359375, -0.0333251953125, -0.0140533447265625, -0.01549530029296875, -0.0055999755859375, -0.007843017578125, -0.039306640625, 0.0247344970703125, -0.0006151199340820312, -0.01007080078125, -0.0248260498046875, 0.0010824203491210938, -0.004268646240234375, 0.058258056640625, 0.024200439453125, 0.0008831024169921875, 0.019622802734375, 0.00818634033203125, -0.054290771484375, -0.057586669921875, 0.012725830078125, -0.040771484375, 0.059722900390625, -0.00720977783203125, 0.052642822265625, -0.0266571044921875, -0.05047607421875, -0.003269195556640625, -0.0526123046875, 0.023773193359375, -0.00669097900390625, -0.00859832763671875, -0.00960540771484375, 0.0264129638671875, -0.00267791748046875, 0.01152801513671875, 0.0307464599609375, -0.0018548965454101562, 0.015899658203125, -0.03668212890625, -0.01024627685546875, -0.0244140625, -0.047393798828125, 0.00624847412109375, 0.048126220703125, 0.042694091796875, 0.0206146240234375, -0.00959014892578125, -0.0261383056640625, 0.0209503173828125, -0.06683349609375, 0.0088958740234375, -0.032623291015625, -0.0211181640625, 0.026763916015625, 0.026824951171875, 0.0296173095703125, 0.0009226799011230469, -0.003383636474609375, -0.002368927001953125, 0.02056884765625, -0.032257080078125, -0.024169921875, 0.0017442703247070312, -0.0278778076171875, 0.019256591796875, -0.0210113525390625, -0.030181884765625, -0.005367279052734375, -0.051666259765625, 0.0201568603515625, 0.011474609375, 0.0083465576171875, 0.00897216796875, -0.0103912353515625, 0.02581787109375, -0.03851318359375, -0.00707244873046875, 0.00968170166015625, 0.081787109375, -0.0077362060546875, -0.040069580078125, -0.017120361328125, 0.001445770263671875, 0.00858306884765625, -0.0321044921875, -0.0147705078125, -0.04376220703125, 0.0011081695556640625, 0.002033233642578125, -0.019317626953125, 0.022796630859375, 0.02239990234375, -0.0026302337646484375, -0.046783447265625, 0.0038509368896484375, -0.0178375244140625, -0.0537109375, 0.05963134765625, -0.011260986328125, -0.0716552734375, 0.0225982666015625, -0.0560302734375, 0.039031982421875, -0.015594482421875, 0.055938720703125, 0.07269287109375, 0.0230712890625, -0.00278472900390625, -0.0078277587890625, -0.01387786865234375, -0.006755828857421875, 0.0300445556640625, 0.017242431640625, -0.039031982421875, -0.02001953125, 0.035430908203125, 0.0186614990234375, -0.0400390625, 0.0299835205078125, -0.0050506591796875, -0.0281829833984375, 0.0028781890869140625, -0.05828857421875, -0.02703857421875, -0.05682373046875, -0.049591064453125, -0.00421142578125, 0.0010004043579101562, -0.0097503662109375, 0.01264190673828125, 0.0010538101196289062, 0.00800323486328125, -0.03302001953125, -0.034027099609375, -0.04644775390625, -0.073974609375, -0.057159423828125, 0.0126953125, 0.00281524658203125, 0.017242431640625, 0.004913330078125, 0.03033447265625, -0.0008373260498046875, 0.0031986236572265625, 0.0026874542236328125, 0.0294036865234375, -0.00382232666015625, -0.06939697265625, -0.023406982421875, -0.00974273681640625, 0.0281982421875, -0.0035858154296875, -0.0273895263671875, 0.0008878707885742188, 0.0132598876953125, -0.021148681640625, -0.002445220947265625, -0.01776123046875, -0.01153564453125, -0.0258941650390625, 0.007106781005859375, -0.0180816650390625, -0.0404052734375, -0.06689453125, 0.0217437744140625, -0.0207977294921875, -0.0193023681640625, 0.0276947021484375, 0.0190887451171875, -0.03802490234375, 0.02386474609375, -0.0251617431640625, -0.00182342529296875, -0.0220794677734375, 0.0008912086486816406, -0.039337158203125, 0.031280517578125, 0.005123138427734375, 0.02117919921875, -0.00634002685546875, 0.06353759765625, -0.01139068603515625, -0.051361083984375, -0.0045013427734375, -0.0020771026611328125, -0.019805908203125, -0.017669677734375, -0.07965087890625, -0.006443023681640625, 0.0302734375, -0.04791259765625, 0.028106689453125, -0.0550537109375, -0.01355743408203125, -0.037994384765625, 0.0673828125, -0.00925445556640625, -0.0117950439453125, 0.0016040802001953125, 0.0009813308715820312, -0.0146484375, 0.00930023193359375, -0.037353515625, 0.00229644775390625, -0.029205322265625, -0.0340576171875, -0.035919189453125, -0.020965576171875, 0.03277587890625, -0.032745361328125, 0.044219970703125, -0.06390380859375, 0.032318115234375, 0.051910400390625, 0.00833892822265625, 0.00875091552734375, 0.01262664794921875, 0.00691986083984375, -0.0008082389831542969, 0.0099945068359375, -0.034637451171875, -0.01169586181640625, -0.037994384765625, 0.037139892578125, 0.0224761962890625, 0.015289306640625, -0.028717041015625, 0.0213470458984375, -0.020965576171875, -0.04119873046875, 0.006031036376953125, 0.0136260986328125, -0.020904541015625, 0.03192138671875, -0.019073486328125, -0.01403045654296875, -0.0189208984375, -0.01300048828125, -0.019744873046875, -0.0168609619140625, -0.0261077880859375, -0.0304718017578125, 0.0200347900390625, -0.0219573974609375, -0.0447998046875, -0.025299072265625, -0.01500701904296875, -0.0176849365234375, -0.0287628173828125, -0.005718231201171875, -0.0020503997802734375, -0.0133819580078125, 0.045074462890625, 0.0184173583984375, -0.035308837890625, -0.014373779296875, 0.035552978515625, 0.021148681640625, -0.039825439453125, 0.0156402587890625, -0.008270263671875, 0.00228118896484375, -0.037567138671875, 0.05438232421875, 0.006000518798828125, -0.001190185546875, 0.040435791015625, -0.041534423828125, 0.0308074951171875, 0.004486083984375, 0.0075531005859375, -0.01425933837890625, -0.04107666015625, 0.0325927734375, 0.00649261474609375, -0.03131103515625, 0.0230865478515625, 0.00916290283203125, -0.01224517822265625, -0.0260772705078125, 0.0130767822265625, 0.031585693359375, -0.035369873046875, -0.021759033203125, -0.034515380859375, 0.01898193359375, -0.037933349609375, -0.00887298583984375, 0.00827789306640625, 0.006175994873046875, -0.006916046142578125, -0.0139007568359375, -0.0279693603515625, 0.0182952880859375, -0.00238800048828125, 0.036041259765625, 0.02691650390625, 0.0032062530517578125, 0.0018100738525390625, 0.003322601318359375, -0.0278167724609375, 0.11175537109375, -0.0011262893676757812, -0.05859375, 0.02276611328125, -0.016876220703125, 0.0262908935546875, 0.027008056640625, -0.00823211669921875, 0.052947998046875, 0.0022869110107421875, -0.057769775390625, -0.0104522705078125, 0.007160186767578125, -0.06561279296875, -0.06414794921875, 0.00585174560546875, -0.0204010009765625, 0.0109405517578125, -0.00782012939453125, 0.061859130859375, -0.0251922607421875, 0.044647216796875, -0.0064849853515625, 0.00563812255859375, 0.058624267578125, 0.06964111328125, 0.01502227783203125, -0.042816162109375, -0.04974365234375, 0.09991455078125, -0.00197601318359375, -0.0180206298828125, -0.03118896484375, 0.03424072265625, 0.0269775390625, 0.00904083251953125, 0.0219879150390625, -0.00922393798828125, -0.005146026611328125, 0.0054168701171875, 0.0270233154296875, -0.037322998046875, -0.06378173828125, 0.007427215576171875, 0.00852203369140625, 0.025390625, -0.055908203125, 0.008331298828125, -0.0221710205078125, -0.044097900390625, -0.01540374755859375, -0.003658294677734375, -0.007534027099609375, -0.03460693359375, -0.035369873046875, -0.036651611328125, 0.0204010009765625, 0.0035915374755859375, -0.02191162109375, -0.07049560546875, 0.01026153564453125, -0.030609130859375, 0.047454833984375, -0.01861572265625, -0.0174407958984375, -0.005878448486328125, 0.02044677734375, 0.0020999908447265625, 0.01207733154296875, 0.0298614501953125, -0.0027828216552734375, -0.048919677734375, 0.014404296875, -0.02081298828125, 0.0047607421875, 0.0015010833740234375, -0.00627899169921875, -0.038787841796875, -0.0294952392578125, 0.0133056640625, 0.030303955078125, -0.00885772705078125, -0.0345458984375, -0.019073486328125, -0.0292816162109375, 0.0015249252319335938, 0.0185699462890625, -0.0071258544921875, 0.03082275390625, 0.01171875, -0.01073455810546875, 0.0180816650390625, 0.037445068359375, 0.01515960693359375, -0.0090179443359375, 0.018035888671875, -0.039794921875, -0.038482666015625, -0.0269622802734375, -0.0210113525390625, 0.040863037109375, 0.075927734375, -0.01439666748046875, 0.002849578857421875, -0.00818634033203125, -0.00330352783203125, -0.0162506103515625, 0.03570556640625, -0.0031280517578125, 0.0195770263671875, 0.0118865966796875, -0.025421142578125, 0.047119140625, -0.00909423828125, -0.021514892578125, 0.03192138671875, -0.03143310546875, 0.0306549072265625, 0.044036865234375, -0.00640869140625, -0.0027523040771484375, 0.040618896484375, -0.0024662017822265625, 0.034698486328125, 0.004878997802734375, 0.009429931640625, 0.036712646484375, 0.0116729736328125, -0.0197296142578125, -0.02880859375, 0.026641845703125, 0.0022640228271484375, -0.0262908935546875, 0.024932861328125, -0.032135009765625, 0.004589080810546875, 0.0880126953125, 0.07281494140625, -0.10882568359375, -0.006153106689453125, 0.0193939208984375, -0.0034656524658203125, -0.007526397705078125, 0.00600433349609375, 0.007297515869140625, 0.02264404296875, -0.0026874542236328125, 0.0170440673828125, -0.0258331298828125, 0.0032749176025390625, 0.02740478515625, -0.003604888916015625, 0.01543426513671875, 0.0289154052734375, 0.0249176025390625, 0.0310516357421875, -0.006488800048828125, -0.0253753662109375, 0.047210693359375, 0.01253509521484375, -0.006103515625, 0.031768798828125, -0.036529541015625, -0.04827880859375, 0.0208587646484375, -0.054779052734375, -0.01061248779296875, 0.01438140869140625, -0.005611419677734375, 0.0288238525390625, 0.04412841796875, -0.01593017578125, 0.004566192626953125, 0.0151519775390625, 0.013916015625, 0.0095367431640625, -0.010498046875, 0.0288848876953125, -0.0068817138671875, -0.0767822265625, 0.00543975830078125, -0.06134033203125, -0.0185546875, -0.0120849609375, -0.032440185546875, 0.005634307861328125, 0.0093536376953125, -0.00440216064453125, 0.044769287109375, 0.033599853515625, -0.02374267578125, 0.005031585693359375, 0.0237579345703125, -0.05084228515625, -0.06243896484375, 0.02178955078125, -0.06103515625, -0.020599365234375, 0.00791168212890625, -0.05322265625, 0.1112060546875, -0.007373809814453125, 0.02593994140625, 0.005832672119140625, 0.045745849609375, -0.0300750732421875, 0.0242462158203125, -0.005672454833984375, 0.0367431640625, -0.0007882118225097656, -0.0117950439453125, -0.0131988525390625, -0.0084075927734375, -0.0010223388671875, 0.026947021484375, 0.0025157928466796875, 0.010772705078125, -0.054473876953125, -0.0234375, -0.028533935546875, -0.0095062255859375, -0.006496429443359375, 0.068115234375, -0.03607177734375, 0.015167236328125, 0.0165863037109375, -0.046051025390625, 0.01202392578125, 0.02215576171875, -0.06549072265625, -0.0152435302734375, -0.006717681884765625, -0.03173828125, 0.01082611083984375, 0.0242767333984375, -0.038604736328125, 0.02215576171875, 0.0107269287109375, 0.03179931640625, 0.03765869140625, -0.032989501953125, -0.023406982421875, 0.029815673828125, 0.0556640625, -0.01141357421875, 0.0252227783203125, -0.005107879638671875, -0.0204620361328125, -0.0077972412109375, 0.0019931793212890625, 0.0032520294189453125, -0.018218994140625, -0.03179931640625, 0.0298919677734375, -0.0066680908203125, -0.015655517578125, 0.0181732177734375, 0.0203704833984375, -0.004878997802734375, 0.047210693359375, 0.06182861328125, 0.0188446044921875, -0.0243988037109375, -0.038482666015625, 0.00749969482421875, 0.00017309188842773438, 0.0091552734375, 0.0260467529296875, 0.016693115234375, 0.014678955078125, 0.02423095703125, -0.035247802734375, 0.00994873046875, 0.04437255859375, 0.0082550048828125, 0.01541900634765625, 0.043670654296875, -0.0308990478515625, -0.002750396728515625, -0.01776123046875, -0.012603759765625, -0.02130126953125, 0.0498046875, 0.04766845703125, 0.0206451416015625, -0.058502197265625, -0.030517578125, -0.0082550048828125, 0.0184783935546875, -0.0018062591552734375, 0.00937652587890625, -0.0670166015625, -0.07037353515625, 0.053497314453125, 0.065185546875, 0.0265045166015625, 0.0107574462890625, 0.04888916015625, 0.043182373046875, -0.032318115234375, 0.005420684814453125, 0.07781982421875, -0.01210784912109375, 0.01386260986328125, 0.01171875, -0.02593994140625, 0.01224517822265625, -0.0286102294921875, -0.0208892822265625, 0.006732940673828125, 0.045501708984375, 0.026611328125, 0.03466796875, 0.007251739501953125, 0.028961181640625, 0.018280029296875, 0.01168060302734375, 0.00992584228515625, 0.04364013671875, -0.0418701171875, 0.0050811767578125, -0.031524658203125, -0.04583740234375, 0.0145416259765625, 0.034393310546875, -0.019561767578125, 0.01355743408203125, 0.007556915283203125, 0.0106964111328125, 0.02069091796875, -0.0267181396484375, -0.0208282470703125, -0.031982421875, 0.03778076171875, -0.0186309814453125, -0.0206146240234375, 0.01192474365234375, 0.030517578125, 0.004787445068359375, -0.0106048583984375, 0.0791015625, -0.01861572265625, -0.020660400390625, -0.011749267578125, -0.0254058837890625, 0.01678466796875, 0.00010150671005249023, -0.047943115234375, 0.0073394775390625, 0.01313018798828125, 0.00238800048828125, -0.035400390625, 0.08258056640625, -0.026763916015625, 0.0019388198852539062, 0.055450439453125, -0.0009212493896484375, -0.0107269287109375, 0.016693115234375, 0.0416259765625, -0.0190277099609375, -0.08984375, -0.0721435546875, 0.035858154296875, 0.027740478515625, 0.0670166015625, -0.032073974609375, 0.00452423095703125, -0.00850677490234375, -0.040496826171875, 0.004543304443359375, -0.031982421875, -0.006389617919921875, 0.023193359375, 0.026763916015625, -0.01001739501953125, -0.010223388671875, -0.0145263671875, -0.01380157470703125, 0.01134490966796875, -0.005741119384765625, 0.0004315376281738281, -0.04656982421875, 0.04547119140625, 0.06365966796875, 0.04071044921875, -0.047149658203125, 0.00550079345703125, 0.0689697265625, -0.0201873779296875, 0.043731689453125, -0.045562744140625, -0.0333251953125, -0.037200927734375, 0.0024776458740234375, -0.0009655952453613281, -0.017913818359375, -0.09149169921875, -0.040069580078125, 0.0007119178771972656, 0.059295654296875, 0.0107574462890625, -0.0477294921875, 0.007282257080078125, -0.018280029296875, 0.056243896484375, 0.01395416259765625, -0.04638671875, -0.006313323974609375, 0.01297760009765625, 0.0181427001953125, 0.025726318359375, -0.05279541015625, -0.0158233642578125, 0.0027408599853515625, 0.0011615753173828125, 0.0248870849609375, -0.00016558170318603516, -0.0131378173828125, -0.01271820068359375, -0.036865234375, 0.018463134765625, -0.0304107666015625, 0.0032806396484375, 0.0175018310546875, 0.005565643310546875, -0.041168212890625, -0.07513427734375, 0.019927978515625, -0.07257080078125, -0.0228424072265625, -0.002933502197265625, -0.0196685791015625, -0.01580810546875, -0.03924560546875, -0.036376953125, 0.04058837890625, 0.0180206298828125, -0.0303955078125, -0.083740234375, -0.0289306640625, 0.006084442138671875, 0.02215576171875, -0.022369384765625, -0.02154541015625, -0.04974365234375, 0.062744140625, 0.0185546875, -0.035858154296875, 0.011932373046875, 0.01279449462890625, -0.0078125, 0.04534912109375, 0.05731201171875, -0.032318115234375, 0.01416778564453125, 0.0089263916015625, 0.029541015625, 0.06439208984375, -0.0033817291259765625, 0.0189208984375, -0.007495880126953125, -0.052093505859375, -0.00547027587890625, -0.008087158203125, 0.007659912109375, -0.0035495758056640625, 0.0299835205078125, 0.004436492919921875, -0.006000518798828125, -0.006988525390625, -0.01378631591796875, -0.044952392578125, -0.0223541259765625, -0.009521484375, 0.025238037109375, -0.06219482421875, -0.00855255126953125, 0.0234375, -0.0236968994140625, -0.0030269622802734375, 0.025665283203125, -0.0343017578125, 0.0098724365234375, 0.0215911865234375, -0.02203369140625, -0.0214080810546875, 0.01030731201171875, 0.045379638671875, -0.042724609375, -0.01385498046875, 0.0002410411834716797, 0.0018138885498046875, 0.002086639404296875, 0.007659912109375, 0.026397705078125, 0.03955078125, -0.041259765625, -0.0190582275390625, 0.03936767578125, 0.030548095703125, 0.01097869873046875, -0.04046630859375, -0.03436279296875, -0.0010280609130859375, -0.002704620361328125, 0.01364898681640625, 0.0194854736328125, -0.0187835693359375, 0.0210418701171875, 0.016937255859375, -0.0072479248046875, -0.0181732177734375, -0.0305328369140625, 0.036285400390625, 0.0184326171875, -0.0257720947265625, 0.039947509765625, -0.01313018798828125, 0.0292510986328125, -0.02606201171875, 0.03662109375, -0.00872802734375, 0.0239715576171875, -0.058807373046875, -0.01312255859375, 0.017364501953125 ]
ad204ccb4c0c6096ec8281a3f06d4608ef8c2ea8
Wordpress Stackexchange Q: Updating users_can_register option? I have a custom setting page, where i have a radio to Enable or Disable Registration then try to update the wpoption (users_can_register). Screenshot: I've tried both true/false & 1/0 but it doesnt update when i saved it in my custom settings, but when i checked the checkbox in the general settings, it gets updated.. Here's the codes im trying to use on my theme's functions.php if (get_option('user-reg-allow') == 'enable') { update_option('users_can_register',1); } elseif (get_option('user-reg-allow') == 'disable') { update_option('users_can_register',0); }
Q: Updating users_can_register option? I have a custom setting page, where i have a radio to Enable or Disable Registration then try to update the wpoption (users_can_register). Screenshot: I've tried both true/false & 1/0 but it doesnt update when i saved it in my custom settings, but when i checked the checkbox in the general settings, it gets updated.. Here's the codes im trying to use on my theme's functions.php if (get_option('user-reg-allow') == 'enable') { update_option('users_can_register',1); } elseif (get_option('user-reg-allow') == 'disable') { update_option('users_can_register',0); }
wordpress
{ "language": "en", "length": 84, "provenance": "stackexchange_00019.jsonl.gz:474796", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262009" }
[ 0.069580078125, 0.0009455680847167969, 0.004985809326171875, -0.056396484375, 0.0108489990234375, -0.03607177734375, 0.02288818359375, -0.0255279541015625, 0.0293121337890625, 0.0241241455078125, -0.02581787109375, -0.0300140380859375, -0.00463104248046875, -0.01068115234375, -0.0474853515625, -0.053314208984375, 0.00731658935546875, 0.0011310577392578125, -0.00725555419921875, -0.041015625, 0.00444793701171875, -0.025787353515625, -0.0306549072265625, 0.0435791015625, -0.0006284713745117188, -0.036651611328125, 0.059600830078125, 0.00004315376281738281, 0.0007281303405761719, -0.016815185546875, 0.013092041015625, 0.000926971435546875, 0.0004935264587402344, 0.03216552734375, -0.047088623046875, -0.043731689453125, 0.017120361328125, -0.0012912750244140625, -0.0201416015625, 0.046630859375, 0.027984619140625, -0.008819580078125, -0.020477294921875, -0.000016987323760986328, -0.017059326171875, -0.06439208984375, 0.063720703125, -0.01666259765625, 0.019256591796875, -0.020355224609375, 0.01044464111328125, -0.0058746337890625, 0.02166748046875, -0.054168701171875, -0.004154205322265625, 0.01352691650390625, -0.0654296875, 0.040679931640625, 0.0227203369140625, 0.034423828125, 0.0015277862548828125, -0.00832366943359375, 0.00024628639221191406, -0.041015625, 0.0144805908203125, -0.032958984375, -0.0085601806640625, 0.025421142578125, -0.045806884765625, 0.005504608154296875, 0.05413818359375, -0.02484130859375, -0.006359100341796875, -0.00785064697265625, 0.00484466552734375, -0.0178680419921875, -0.0206756591796875, -0.0428466796875, 0.029510498046875, 0.034515380859375, 0.0205078125, -0.0276336669921875, -0.011871337890625, 0.032379150390625, 0.0024871826171875, 0.0596923828125, 0.0042572021484375, -0.0340576171875, 0.00469970703125, -0.019866943359375, 0.005077362060546875, -0.00647735595703125, -0.0325927734375, 0.0167388916015625, 0.0041046142578125, -0.032562255859375, 0.0264739990234375, 0.0706787109375, -0.034881591796875, -0.03118896484375, 0.036285400390625, -0.04022216796875, -0.0016088485717773438, -0.0294647216796875, 0.01654052734375, 0.0677490234375, 0.02392578125, 0.0184478759765625, 0.030792236328125, -0.0165557861328125, 0.01593017578125, 0.0171966552734375, -0.0229949951171875, -0.034698486328125, -0.020233154296875, -0.00048041343688964844, -0.04730224609375, 0.0078887939453125, 0.018890380859375, -0.01006317138671875, 0.0094451904296875, 0.050994873046875, 0.0036640167236328125, -0.060760498046875, -0.0033893585205078125, -0.029449462890625, -0.013824462890625, -0.041778564453125, -0.0005750656127929688, 0.017547607421875, -0.05712890625, 0.0006318092346191406, 0.034881591796875, 0.01568603515625, 0.00659942626953125, -0.020751953125, 0.016571044921875, -0.0129547119140625, -0.0196380615234375, 0.043304443359375, 0.025634765625, -0.0645751953125, -0.05242919921875, 0.0212860107421875, 0.0161590576171875, 0.0184478759765625, 0.00513458251953125, 0.012298583984375, 0.0208892822265625, -0.0137939453125, -0.00827789306640625, -0.020355224609375, 0.0066680908203125, 0.01629638671875, -0.002788543701171875, -0.00463104248046875, 0.01078033447265625, 0.004512786865234375, -0.0066680908203125, -0.01593017578125, 0.02911376953125, 0.006450653076171875, 0.0196685791015625, -0.01007843017578125, -0.032806396484375, -0.01470947265625, -0.03350830078125, -0.018646240234375, 0.03125, 0.0238494873046875, 0.043243408203125, -0.006618499755859375, -0.0023784637451171875, 0.0187530517578125, 0.011688232421875, 0.013336181640625, 0.0009560585021972656, 0.022308349609375, 0.01174163818359375, 0.01515960693359375, -0.0098876953125, -0.034759521484375, 0.047393798828125, -0.0275421142578125, -0.047943115234375, 0.0299530029296875, -0.01023101806640625, 0.03131103515625, 0.034210205078125, -0.00762939453125, 0.0032196044921875, 0.0204315185546875, 0.004848480224609375, -0.0021038055419921875, 0.01568603515625, -0.0104522705078125, -0.0225982666015625, -0.0085906982421875, -0.006839752197265625, -0.003887176513671875, -0.029754638671875, -0.0252685546875, 0.01153564453125, -0.0074005126953125, -0.032684326171875, -0.0240325927734375, -0.012298583984375, 0.041168212890625, 0.010528564453125, 0.027435302734375, 0.0052642822265625, 0.00711822509765625, -0.0310821533203125, 0.01358795166015625, -0.005725860595703125, 0.026336669921875, -0.0088043212890625, 0.07440185546875, 0.0190582275390625, 0.044158935546875, 0.0355224609375, -0.045654296875, 0.0458984375, 0.013458251953125, 0.00585174560546875, -0.0287322998046875, -0.0029048919677734375, -0.00833892822265625, 0.00543975830078125, -0.009735107421875, 0.025238037109375, 0.03369140625, 0.0056304931640625, -0.0107574462890625, -0.036865234375, -0.004154205322265625, 0.00390625, -0.05419921875, 0.007602691650390625, 0.053955078125, 0.028045654296875, 0.0068206787109375, -0.0091094970703125, 0.01275634765625, 0.067138671875, -0.0011882781982421875, -0.0025119781494140625, 0.0174102783203125, -0.006618499755859375, -0.0008044242858886719, 0.038818359375, 0.0180816650390625, 0.0333251953125, 0.0190887451171875, 0.037628173828125, 0.0157928466796875, -0.037139892578125, 0.006870269775390625, -0.0039215087890625, -0.0251007080078125, -0.00727081298828125, -0.09375, 0.0029468536376953125, -0.050750732421875, 0.0084381103515625, -0.0211639404296875, 0.0028133392333984375, -0.01200103759765625, -0.005626678466796875, -0.001842498779296875, 0.01348114013671875, -0.06854248046875, 0.006755828857421875, -0.0265045166015625, -0.046844482421875, 0.03369140625, -0.0455322265625, 0.037445068359375, 0.0024890899658203125, -0.024200439453125, -0.005908966064453125, -0.02215576171875, -0.0207061767578125, 0.0007367134094238281, 0.031005859375, -0.07464599609375, 0.0175628662109375, 0.0377197265625, -0.0313720703125, -0.04656982421875, 0.015899658203125, -0.01424407958984375, -0.0399169921875, 0.02093505859375, -0.028411865234375, -0.047637939453125, -0.0300140380859375, -0.04144287109375, 0.0293731689453125, -0.0273284912109375, 0.020782470703125, 0.09027099609375, 0.0287628173828125, 0.0017442703247070312, 0.0194091796875, -0.0384521484375, 0.0169219970703125, 0.0228271484375, 0.016693115234375, -0.0169525146484375, 0.0006690025329589844, 0.054840087890625, 0.02264404296875, -0.0106964111328125, 0.020782470703125, -0.0018434524536132812, -0.005214691162109375, 0.0209808349609375, -0.026153564453125, -0.009002685546875, -0.046783447265625, -0.033935546875, 0.035003662109375, 0.01702880859375, 0.007740020751953125, -0.01470184326171875, 0.0204620361328125, 0.0239105224609375, -0.0181121826171875, -0.017547607421875, -0.01068115234375, -0.03338623046875, -0.0256805419921875, -0.004199981689453125, 0.00714111328125, 0.009429931640625, -0.01197052001953125, 0.057891845703125, -0.01398468017578125, -0.035369873046875, -0.0236663818359375, -0.0282135009765625, 0.013763427734375, -0.0003159046173095703, 0.01093292236328125, -0.006618499755859375, 0.025238037109375, -0.00017559528350830078, -0.0165863037109375, 0.0243682861328125, -0.017974853515625, -0.0280914306640625, 0.00766754150390625, -0.04296875, 0.0308074951171875, -0.01995849609375, -0.0236968994140625, 0.0185394287109375, 0.00890350341796875, -0.0379638671875, -0.0043487548828125, -0.01073455810546875, -0.03179931640625, 0.0027942657470703125, -0.00955963134765625, -0.0034332275390625, -0.0108642578125, 0.0238037109375, -0.0272674560546875, -0.0116424560546875, 0.0038242340087890625, -0.04425048828125, 0.0250701904296875, -0.005283355712890625, -0.0151824951171875, 0.0128631591796875, -0.0013151168823242188, -0.0192108154296875, 0.043060302734375, 0.004608154296875, -0.00746917724609375, -0.0576171875, 0.0736083984375, -0.1051025390625, -0.0791015625, 0.065673828125, -0.0236663818359375, -0.0208740234375, -0.0296173095703125, -0.037628173828125, 0.0225830078125, 0.105224609375, -0.01538848876953125, -0.0198211669921875, 0.0151214599609375, 0.0283050537109375, -0.040283203125, -0.0176239013671875, -0.01216888427734375, -0.018341064453125, -0.019287109375, -0.03094482421875, -0.0204620361328125, -0.0321044921875, 0.00457000732421875, -0.0304718017578125, -0.005107879638671875, -0.0205841064453125, 0.06683349609375, -0.037322998046875, 0.0092620849609375, 0.0185089111328125, -0.0245361328125, -0.003505706787109375, -0.056549072265625, 0.01334381103515625, -0.0926513671875, -0.01953125, 0.007171630859375, 0.042266845703125, 0.01305389404296875, -0.0426025390625, 0.005168914794921875, 0.05499267578125, 0.0390625, -0.025909423828125, -0.0032329559326171875, -0.034393310546875, 0.004608154296875, -0.003574371337890625, -0.028106689453125, 0.0015554428100585938, -0.01433563232421875, -0.00519561767578125, 0.00022399425506591797, 0.051849365234375, -0.024749755859375, 0.01558685302734375, 0.0012226104736328125, -0.0095672607421875, -0.057647705078125, -0.00461578369140625, -0.04705810546875, 0.0007243156433105469, -0.01502227783203125, -0.006717681884765625, -0.0301361083984375, -0.08758544921875, 0.0460205078125, -0.07476806640625, 0.00885772705078125, -0.00754547119140625, 0.08935546875, 0.0126495361328125, 0.006343841552734375, 0.03125, -0.040191650390625, 0.0224761962890625, 0.03759765625, 0.01255035400390625, 0.032806396484375, -0.00714111328125, -0.005565643310546875, 0.021728515625, -0.0164337158203125, -0.009552001953125, 0.04461669921875, 0.03717041015625, 0.003173828125, -0.013427734375, 0.025482177734375, -0.011627197265625, 0.03668212890625, -0.008453369140625, -0.0189361572265625, 0.006855010986328125, 0.041168212890625, -0.01287841796875, 0.00017571449279785156, -0.036407470703125, -0.034912109375, 0.00792694091796875, -0.035430908203125, 0.00978851318359375, 0.00991058349609375, -0.0005488395690917969, -0.006587982177734375, -0.0015811920166015625, -0.02716064453125, -0.01514434814453125, -0.0211334228515625, 0.0204315185546875, 0.00861358642578125, -0.005096435546875, -0.004268646240234375, -0.025909423828125, -0.01369476318359375, 0.033782958984375, -0.014068603515625, -0.052734375, -0.01360321044921875, -0.01076507568359375, 0.04827880859375, 0.028839111328125, 0.034271240234375, 0.05157470703125, 0.0272979736328125, 0.01262664794921875, -0.0223236083984375, 0.006732940673828125, 0.033599853515625, -0.04736328125, -0.0102386474609375, 0.027374267578125, -0.033172607421875, 0.004486083984375, 0.02313232421875, 0.036407470703125, -0.0078277587890625, -0.0243988037109375, 0.05230712890625, 0.0467529296875, -0.0210723876953125, 0.00737762451171875, 0.0606689453125, -0.006046295166015625, -0.0533447265625, -0.006282806396484375, -0.00982666015625, -0.0018148422241210938, 0.03179931640625, 0.02532958984375, 0.0216522216796875, 0.002986907958984375, -0.026397705078125, -0.0264892578125, -0.002437591552734375, 0.0280609130859375, -0.07611083984375, -0.093017578125, -0.027069091796875, 0.0182952880859375, 0.0276641845703125, -0.054290771484375, 0.0008707046508789062, -0.040496826171875, -0.049530029296875, -0.057861328125, 0.029815673828125, -0.0438232421875, -0.029754638671875, -0.0244140625, -0.0120391845703125, -0.02276611328125, -0.0167388916015625, 0.047332763671875, 0.025543212890625, -0.018585205078125, -0.0132598876953125, 0.0176239013671875, -0.0284271240234375, -0.01229095458984375, -0.052215576171875, 0.040313720703125, -0.0248565673828125, -0.007717132568359375, 0.07232666015625, 0.028106689453125, -0.04315185546875, -0.00807952880859375, -0.05426025390625, -0.006992340087890625, -0.05670166015625, -0.055450439453125, -0.032379150390625, 0.01401519775390625, 0.045318603515625, 0.0215606689453125, 0.0007557868957519531, -0.06268310546875, -0.062042236328125, 0.0090789794921875, 0.07635498046875, 0.072265625, 0.01021575927734375, 0.0192413330078125, -0.00270843505859375, 0.057220458984375, 0.026031494140625, -0.00803375244140625, -0.03558349609375, -0.037689208984375, 0.0140380859375, 0.003955841064453125, -0.027130126953125, -0.046875, 0.00666046142578125, 0.02301025390625, 0.079345703125, -0.0176544189453125, 0.01268768310546875, -0.0034313201904296875, 0.00994873046875, -0.01454925537109375, -0.002002716064453125, -0.0273590087890625, 0.00017654895782470703, 0.006580352783203125, -0.0312347412109375, -0.019378662109375, 0.0292510986328125, -0.0165557861328125, 0.02972412109375, -0.01068878173828125, 0.0260009765625, 0.0173797607421875, -0.05792236328125, 0.037841796875, 0.0093994140625, -0.007587432861328125, 0.0240936279296875, -0.031890869140625, 0.03125, 0.039337158203125, 0.011566162109375, -0.0526123046875, 0.03948974609375, 0.0280609130859375, -0.0010213851928710938, -0.031494140625, -0.00469207763671875, -0.01611328125, 0.051025390625, 0.06842041015625, 0.09808349609375, -0.09393310546875, 0.0162506103515625, 0.0227203369140625, -0.01447296142578125, 0.049896240234375, 0.01568603515625, -0.048492431640625, -0.07586669921875, 0.049285888671875, -0.07159423828125, -0.00868988037109375, 0.007568359375, -0.0227508544921875, -0.014801025390625, 0.0218353271484375, 0.031768798828125, 0.03057861328125, 0.004055023193359375, 0.0128326416015625, -0.0137176513671875, 0.031494140625, 0.0158233642578125, 0.01230621337890625, -0.00677490234375, -0.02203369140625, -0.051025390625, -0.009857177734375, -0.0159759521484375, -0.057159423828125, 0.05462646484375, -0.0052947998046875, 0.048248291015625, 0.04248046875, 0.0110931396484375, -0.02093505859375, 0.005279541015625, -0.018096923828125, -0.0277099609375, -0.040618896484375, -0.01355743408203125, -0.01190185546875, 0.0015850067138671875, 0.0221099853515625, -0.0003192424774169922, -0.050750732421875, -0.020477294921875, -0.036590576171875, 0.064697265625, -0.00921630859375, -0.0126800537109375, 0.0210418701171875, 0.0233306884765625, -0.01282501220703125, -0.00020301342010498047, -0.0022125244140625, -0.041046142578125, -0.039031982421875, -0.0198211669921875, -0.07794189453125, 0.0007085800170898438, -0.0259246826171875, -0.03961181640625, 0.09808349609375, -0.039398193359375, -0.0019626617431640625, 0.00018322467803955078, 0.04229736328125, 0.0016117095947265625, 0.045806884765625, -0.034515380859375, 0.0372314453125, -0.00786590576171875, 0.0213470458984375, -0.017303466796875, 0.005176544189453125, 0.00016021728515625, 0.00800323486328125, 0.040924072265625, 0.024078369140625, -0.005046844482421875, -0.0081939697265625, 0.006832122802734375, 0.006988525390625, -0.02911376953125, 0.0248870849609375, -0.00848388671875, 0.00817108154296875, 0.030120849609375, -0.0130157470703125, 0.0316162109375, -0.0198516845703125, -0.04437255859375, -0.00981903076171875, -0.0010137557983398438, -0.015869140625, 0.0120697021484375, 0.06549072265625, -0.024261474609375, -0.00858306884765625, 0.005702972412109375, 0.0123748779296875, -0.050872802734375, 0.027618408203125, -0.043182373046875, 0.06573486328125, 0.06317138671875, -0.038421630859375, 0.0307464599609375, -0.00473785400390625, 0.037506103515625, 0.0016164779663085938, 0.0098419189453125, 0.0295257568359375, -0.00860595703125, 0.00484466552734375, 0.01284027099609375, -0.021453857421875, 0.027984619140625, 0.0236968994140625, 0.0117950439453125, -0.00567626953125, 0.07275390625, 0.0455322265625, 0.0330810546875, -0.062042236328125, -0.03717041015625, 0.004970550537109375, 0.00875091552734375, 0.0159759521484375, 0.00927734375, 0.037841796875, -0.039398193359375, -0.00914764404296875, -0.05975341796875, 0.0142822265625, 0.03277587890625, 0.00807952880859375, -0.01629638671875, 0.006145477294921875, -0.0237884521484375, -0.00025582313537597656, -0.035552978515625, 0.00618743896484375, 0.00023317337036132812, 0.0168609619140625, 0.029510498046875, 0.0122833251953125, 0.049774169921875, 0.0011882781982421875, -0.0191192626953125, 0.03839111328125, -0.0047454833984375, 0.01552581787109375, -0.0439453125, -0.04840087890625, -0.0157928466796875, 0.05169677734375, -0.0186767578125, -0.0028247833251953125, 0.015106201171875, 0.04571533203125, -0.01039886474609375, -0.025177001953125, 0.11431884765625, -0.0018892288208007812, -0.016815185546875, -0.0328369140625, 0.03289794921875, 0.0119781494140625, 0.0177001953125, -0.006992340087890625, 0.0220947265625, 0.0297393798828125, 0.0038890838623046875, 0.052276611328125, -0.005138397216796875, 0.01293182373046875, 0.0222625732421875, 0.02099609375, 0.04931640625, 0.0377197265625, -0.058013916015625, -0.005420684814453125, -0.059844970703125, -0.0305938720703125, 0.0239105224609375, 0.023101806640625, -0.0137481689453125, 0.0239105224609375, -0.0311737060546875, 0.0026721954345703125, 0.041351318359375, -0.017608642578125, -0.0131683349609375, 0.01165008544921875, 0.02191162109375, -0.0251007080078125, -0.03265380859375, -0.01511383056640625, 0.021514892578125, 0.0240936279296875, -0.027313232421875, 0.0531005859375, -0.01251220703125, -0.01419830322265625, -0.043426513671875, -0.015869140625, 0.0040283203125, -0.04705810546875, 0.0287933349609375, 0.0230255126953125, 0.0034046173095703125, -0.004192352294921875, -0.033660888671875, 0.06732177734375, 0.01806640625, 0.0248260498046875, 0.05950927734375, -0.014312744140625, -0.0014696121215820312, -0.0204620361328125, -0.0102386474609375, -0.0316162109375, -0.036468505859375, 0.0114898681640625, 0.03265380859375, -0.01885986328125, -0.024261474609375, -0.023956298828125, 0.023956298828125, -0.005275726318359375, 0.0058746337890625, 0.004505157470703125, 0.004840850830078125, -0.00785064697265625, 0.0225372314453125, -0.007007598876953125, 0.002117156982421875, -0.010284423828125, -0.0126190185546875, 0.0009713172912597656, -0.00041174888610839844, -0.0007700920104980469, 0.006443023681640625, -0.0017061233520507812, -0.01175689697265625, 0.01180267333984375, 0.01202392578125, -0.0028514862060546875, -0.0111846923828125, 0.00887298583984375, -0.03570556640625, 0.035736083984375, -0.036712646484375, -0.0267333984375, 0.0009870529174804688, -0.0115814208984375, 0.0191192626953125, 0.01678466796875, -0.03900146484375, -0.048736572265625, 0.00568389892578125, 0.0313720703125, -0.0162506103515625, -0.044952392578125, -0.0233001708984375, -0.00534820556640625, 0.09930419921875, -0.036651611328125, -0.04486083984375, 0.037109375, 0.04986572265625, -0.01336669921875, 0.0130462646484375, -0.0020008087158203125, -0.0240936279296875, 0.01110076904296875, -0.00457000732421875, 0.01259613037109375, 0.01125335693359375, -0.04034423828125, 0.025909423828125, -0.0258331298828125, 0.06500244140625, -0.0016937255859375, -0.0194244384765625, 0.008056640625, 0.0240325927734375, 0.0079345703125, -0.072265625, -0.0193634033203125, -0.0216064453125, 0.01384735107421875, -0.0718994140625, 0.0260009765625, 0.040069580078125, -0.03460693359375, -0.080810546875, 0.00717926025390625, -0.032989501953125, -0.043975830078125, -0.04095458984375, 0.0012559890747070312, 0.005382537841796875, -0.029937744140625, -0.019256591796875, -0.053985595703125, -0.03765869140625, 0.038970947265625, 0.02703857421875, 0.060455322265625, 0.00461578369140625, 0.026458740234375, -0.056304931640625, -0.0191650390625, -0.047698974609375, 0.048004150390625, 0.040069580078125, -0.0248565673828125, 0.026214599609375, 0.01507568359375, -0.04608154296875, -0.06097412109375, -0.034332275390625, -0.01068878173828125, -0.018524169921875, -0.0718994140625, -0.014862060546875, -0.05059814453125, 0.046600341796875, 0.003612518310546875, 0.00698089599609375, 0.0037326812744140625, -0.05426025390625, -0.06024169921875, 0.0014219284057617188, -0.01166534423828125, 0.004547119140625, -0.055633544921875, 0.0175018310546875, 0.004100799560546875, -0.018829345703125, -0.0031604766845703125, 0.042205810546875, -0.026763916015625, -0.0011701583862304688, 0.0233306884765625, -0.0186767578125, -0.04180908203125, -0.00411224365234375, -0.010498046875, -0.010955810546875, -0.0229034423828125, -0.00655364990234375, 0.00797271728515625, -0.031768798828125, -0.0001933574676513672, -0.0089263916015625, 0.045074462890625, -0.048065185546875, 0.00885772705078125, -0.0038166046142578125, 0.01143646240234375, -0.043365478515625, 0.0221099853515625, 0.0017766952514648438, 0.0135040283203125, 0.00020003318786621094, 0.01312255859375, -0.03717041015625, 0.054931640625, -0.006641387939453125, 0.04278564453125, -0.0174713134765625, -0.0300750732421875, -0.037872314453125, 0.027587890625, 0.0169219970703125, -0.013946533203125, 0.040740966796875, -0.006305694580078125, 0.006046295166015625, -0.0267333984375, 0.0240936279296875, -0.032623291015625, 0.025421142578125, -0.05059814453125, -0.01491546630859375, 0.0225372314453125 ]
e32a55dc07f3de54d490a862a3a2f0f41cf4b6c7
Wordpress Stackexchange Q: get WP-API by page id Im trying to get the json of my homepage, before i only got the json by post id and im not being able to get it by page. This is what im trying: mysite.me/wp/v2/pages/2304 But it just redirects me to my homepage. By post id, this is how i do it: http://mysite.me/wp-json/mysite/v1/items/id/92570 Any help? A: If you want to use v2 of the API (which is the current one you should be using), the endpoint is mysite.me/wp-json/wp/v2/pages/1234 where 1234 is the page ID. https://developer.wordpress.org/rest-api/reference/pages/#retrieve-a-page
Q: get WP-API by page id Im trying to get the json of my homepage, before i only got the json by post id and im not being able to get it by page. This is what im trying: mysite.me/wp/v2/pages/2304 But it just redirects me to my homepage. By post id, this is how i do it: http://mysite.me/wp-json/mysite/v1/items/id/92570 Any help? A: If you want to use v2 of the API (which is the current one you should be using), the endpoint is mysite.me/wp-json/wp/v2/pages/1234 where 1234 is the page ID. https://developer.wordpress.org/rest-api/reference/pages/#retrieve-a-page
wordpress
{ "language": "en", "length": 90, "provenance": "stackexchange_00019.jsonl.gz:474802", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262025" }
[ 0.0099639892578125, 0.00673675537109375, -0.03973388671875, -0.0016222000122070312, 0.00946044921875, -0.042205810546875, 0.0240020751953125, -0.0187225341796875, -0.0015697479248046875, 0.0206146240234375, -0.01556396484375, 0.00868988037109375, -0.0176849365234375, -0.0262603759765625, 0.0119476318359375, -0.03570556640625, 0.04913330078125, -0.0048828125, 0.037109375, 0.00251007080078125, -0.00428009033203125, 0.027191162109375, 0.021148681640625, 0.0748291015625, 0.038787841796875, -0.0389404296875, 0.0159759521484375, -0.019989013671875, 0.0191192626953125, -0.006381988525390625, 0.0189361572265625, 0.0032501220703125, 0.002956390380859375, 0.0114898681640625, -0.0035610198974609375, -0.048248291015625, 0.0103759765625, 0.0142669677734375, 0.008880615234375, 0.0160369873046875, -0.00617218017578125, 0.01139068603515625, 0.0027484893798828125, 0.032989501953125, -0.034332275390625, -0.0184173583984375, -0.00019359588623046875, -0.014190673828125, -0.0193328857421875, 0.0284576416015625, 0.0061492919921875, 0.00803375244140625, 0.010467529296875, 0.035552978515625, 0.0094451904296875, 0.005794525146484375, 0.07135009765625, -0.037933349609375, 0.024505615234375, -0.06304931640625, -0.05438232421875, 0.01361846923828125, 0.035003662109375, 0.01505279541015625, -0.00058746337890625, 0.00923919677734375, 0.00513458251953125, 0.006656646728515625, -0.0377197265625, 0.004573822021484375, 0.0195770263671875, -0.0284271240234375, 0.0109405517578125, -0.035430908203125, -0.0298004150390625, -0.038604736328125, 0.0191802978515625, -0.047210693359375, -0.00670623779296875, -0.0087890625, -0.022186279296875, -0.018768310546875, -0.0616455078125, 0.0102386474609375, -0.01155853271484375, 0.0390625, -0.01502227783203125, -0.0214385986328125, -0.0079498291015625, 0.005157470703125, -0.0112457275390625, -0.01342010498046875, -0.01145172119140625, 0.04791259765625, -0.016632080078125, 0.00614166259765625, -0.01141357421875, 0.0127105712890625, -0.01389312744140625, 0.030242919921875, 0.0007410049438476562, -0.04730224609375, 0.058013916015625, -0.045745849609375, 0.0197296142578125, -0.01453399658203125, 0.03173828125, 0.00959014892578125, 0.04608154296875, 0.006282806396484375, -0.02001953125, 0.08203125, 0.012237548828125, -0.025421142578125, -0.024261474609375, 0.00928497314453125, 0.0027751922607421875, -0.046356201171875, 0.00833892822265625, -0.05328369140625, -0.006412506103515625, 0.0024433135986328125, 0.031951904296875, 0.0343017578125, 0.0010242462158203125, 0.01201629638671875, -0.019134521484375, -0.041656494140625, 0.01114654541015625, -0.0032863616943359375, -0.0296783447265625, 0.01413726806640625, 0.05682373046875, 0.022613525390625, 0.00632476806640625, -0.01702880859375, -0.01094818115234375, 0.0035991668701171875, -0.00485992431640625, -0.0096282958984375, 0.0189666748046875, -0.00199127197265625, 0.01383209228515625, -0.016876220703125, 0.0015583038330078125, -0.002384185791015625, 0.00930023193359375, 0.040252685546875, -0.012664794921875, 0.005672454833984375, 0.028961181640625, -0.01045989990234375, 0.01076507568359375, 0.023345947265625, 0.03631591796875, -0.02081298828125, 0.08428955078125, -0.04327392578125, 0.009979248046875, -0.04400634765625, 0.0126800537109375, -0.0029697418212890625, 0.0125885009765625, 0.00591278076171875, -0.01215362548828125, -0.01013946533203125, -0.0017786026000976562, -0.01505279541015625, 0.0242156982421875, 0.0943603515625, 0.0167999267578125, -0.04193115234375, -0.01273345947265625, -0.0164642333984375, -0.030548095703125, -0.0240936279296875, 0.0107269287109375, -0.01922607421875, 0.024139404296875, 0.03851318359375, -0.0012769699096679688, -0.014251708984375, 0.01134490966796875, 0.0003826618194580078, -0.041015625, 0.07769775390625, 0.033050537109375, 0.1029052734375, -0.04443359375, 0.035675048828125, 0.032257080078125, 0.053741455078125, -0.0462646484375, 0.01326751708984375, -0.012969970703125, -0.01467132568359375, 0.0276641845703125, 0.01129150390625, -0.0103607177734375, 0.00270843505859375, -0.01187896728515625, -0.0178375244140625, -0.0010128021240234375, 0.009033203125, 0.01158905029296875, -0.0362548828125, 0.0027523040771484375, 0.00782012939453125, 0.0289306640625, 0.020843505859375, 0.0016384124755859375, 0.01419830322265625, -0.0153045654296875, -0.0313720703125, -0.05084228515625, 0.04473876953125, -0.02777099609375, -0.010101318359375, -0.0183868408203125, 0.0059814453125, -0.04681396484375, 0.0062408447265625, -0.045623779296875, 0.004222869873046875, 0.045684814453125, -0.0229644775390625, -0.0005927085876464844, -0.037139892578125, 0.04888916015625, -0.007625579833984375, -0.02496337890625, 0.0151214599609375, 0.0252227783203125, 0.0513916015625, -0.01540374755859375, -0.003887176513671875, 0.0014553070068359375, -0.03564453125, 0.0264739990234375, 0.035736083984375, 0.02825927734375, 0.01519012451171875, -0.005832672119140625, -0.0013666152954101562, 0.0069732666015625, -0.043243408203125, 0.0117034912109375, -0.02008056640625, 0.02313232421875, 0.04803466796875, -0.01006317138671875, 0.00311279296875, 0.0126800537109375, -0.07598876953125, -0.0082855224609375, 0.049591064453125, -0.0016651153564453125, 0.034423828125, -0.0265655517578125, -0.0067138671875, -0.00534820556640625, -0.033416748046875, -0.0028934478759765625, -0.032623291015625, 0.0357666015625, -0.002048492431640625, 0.0528564453125, 0.050811767578125, -0.004032135009765625, -0.045379638671875, 0.0036640167236328125, 0.04730224609375, -0.003604888916015625, 0.06292724609375, 0.06268310546875, -0.033966064453125, -0.033355712890625, -0.0219573974609375, 0.0153961181640625, 0.03399658203125, 0.00412750244140625, 0.0232391357421875, -0.042694091796875, -0.01219940185546875, 0.007476806640625, -0.041412353515625, -0.017120361328125, 0.04473876953125, 0.00496673583984375, 0.047149658203125, 0.042572021484375, 0.043975830078125, -0.0170135498046875, 0.0308074951171875, -0.0127410888671875, 0.016998291015625, 0.0631103515625, -0.035369873046875, 0.040069580078125, -0.025421142578125, 0.0360107421875, 0.04486083984375, -0.0244903564453125, 0.023284912109375, -0.0007648468017578125, -0.02154541015625, 0.004360198974609375, -0.016815185546875, -0.0059051513671875, -0.0126190185546875, -0.01129913330078125, 0.060943603515625, 0.0161285400390625, 0.06396484375, -0.007293701171875, -0.034149169921875, -0.00438690185546875, 0.0240631103515625, -0.1336669921875, -0.158935546875, 0.0653076171875, -0.052764892578125, -0.0239715576171875, -0.030303955078125, -0.045501708984375, 0.002307891845703125, 0.006633758544921875, -0.01416778564453125, -0.0006041526794433594, -0.030303955078125, -0.07318115234375, -0.047943115234375, -0.07904052734375, -0.004852294921875, -0.00981903076171875, 0.0169219970703125, 0.01001739501953125, 0.01383209228515625, -0.0049896240234375, -0.0296630859375, -0.01155853271484375, 0.059356689453125, -0.02508544921875, -0.0506591796875, -0.056640625, 0.004543304443359375, -0.0088043212890625, -0.002685546875, 0.0037670135498046875, 0.01256561279296875, 0.009307861328125, 0.005413055419921875, -0.0300750732421875, -0.00284576416015625, -0.0137939453125, 0.032867431640625, 0.046783447265625, 0.01364898681640625, 0.01995849609375, -0.0294342041015625, -0.006988525390625, -0.0206756591796875, -0.047637939453125, 0.0296783447265625, 0.042694091796875, -0.01059722900390625, -0.00899505615234375, 0.0056304931640625, 0.00139617919921875, -0.0202789306640625, 0.0286712646484375, -0.0126495361328125, 0.0684814453125, -0.0177001953125, -0.00969696044921875, -0.03070068359375, 0.059600830078125, 0.0073394775390625, -0.022796630859375, 0.018829345703125, -0.0146942138671875, -0.04620361328125, 0.029266357421875, -0.05572509765625, -0.07135009765625, 0.04913330078125, 0.00897216796875, 0.01029205322265625, -0.006893157958984375, -0.03857421875, 0.0245819091796875, 0.09979248046875, -0.014862060546875, -0.0219268798828125, 0.0067901611328125, 0.021514892578125, -0.03765869140625, -0.04840087890625, -0.0240325927734375, -0.0162200927734375, -0.032470703125, -0.0152587890625, -0.047088623046875, 0.0025539398193359375, -0.01303863525390625, 0.015838623046875, 0.014556884765625, -0.04156494140625, 0.03900146484375, -0.049774169921875, -0.0231170654296875, 0.02703857421875, -0.0177154541015625, -0.00206756591796875, -0.0321044921875, -0.007610321044921875, -0.04888916015625, -0.00632476806640625, 0.022552490234375, 0.0254364013671875, 0.002346038818359375, -0.051055908203125, -0.0114288330078125, 0.028167724609375, 0.00771331787109375, 0.0653076171875, -0.01898193359375, -0.0038242340087890625, -0.01849365234375, -0.0155029296875, 0.00811767578125, -0.01446533203125, -0.0085296630859375, -0.01061248779296875, -0.0127716064453125, 0.0249176025390625, -0.0146331787109375, 0.0299835205078125, 0.00940704345703125, 0.0004611015319824219, -0.015167236328125, -0.0601806640625, -0.0391845703125, -0.0051116943359375, -0.01078033447265625, 0.0013856887817382812, -0.0570068359375, -0.0199432373046875, 0.058746337890625, 0.057708740234375, -0.00743865966796875, -0.0125579833984375, 0.056182861328125, 0.0076141357421875, -0.053863525390625, -0.05859375, -0.0109710693359375, 0.010833740234375, 0.003936767578125, 0.0794677734375, 0.011444091796875, -0.00986480712890625, 0.10198974609375, -0.0193634033203125, -0.0151824951171875, 0.0224761962890625, 0.0377197265625, 0.00832366943359375, -0.0295562744140625, 0.026519775390625, 0.0034885406494140625, -0.036285400390625, 0.0279083251953125, -0.006580352783203125, -0.0220794677734375, 0.03125, 0.0289459228515625, -0.06573486328125, 0.05841064453125, 0.0017299652099609375, -0.04547119140625, 0.01264190673828125, 0.0107574462890625, 0.0153045654296875, 0.006626129150390625, 0.0051116943359375, 0.0297088623046875, 0.022735595703125, 0.00440216064453125, 0.0164031982421875, 0.0225830078125, -0.0162811279296875, 0.03363037109375, -0.031005859375, -0.03204345703125, -0.006500244140625, -0.01354217529296875, 0.051300048828125, -0.0153350830078125, -0.06103515625, 0.0257568359375, -0.059417724609375, 0.004047393798828125, 0.0401611328125, -0.0201873779296875, 0.042236328125, 0.051300048828125, -0.03643798828125, -0.0213775634765625, -0.027984619140625, 0.0037136077880859375, -0.06982421875, 0.00136566162109375, 0.0103302001953125, -0.00848388671875, -0.0028934478759765625, 0.1005859375, 0.01062774658203125, 0.04901123046875, -0.033203125, 0.024688720703125, -0.03228759765625, 0.0728759765625, -0.00716400146484375, 0.0006470680236816406, 0.0290374755859375, 0.0301055908203125, -0.004047393798828125, -0.021514892578125, -0.0235137939453125, 0.039154052734375, 0.051727294921875, -0.0276641845703125, -0.025482177734375, 0.00433349609375, -0.02783203125, -0.00949859619140625, -0.0003795623779296875, -0.017547607421875, -0.0205230712890625, -0.0053863525390625, 0.039154052734375, 0.036865234375, 0.0240325927734375, 0.001171112060546875, 0.00983428955078125, 0.03424072265625, 0.036163330078125, -0.014404296875, -0.01910400390625, 0.0216522216796875, 0.0243988037109375, -0.0191192626953125, -0.0298309326171875, -0.0221099853515625, -0.0191802978515625, 0.00690460205078125, -0.01102447509765625, -0.02923583984375, 0.034637451171875, -0.0232391357421875, 0.044097900390625, -0.0169830322265625, -0.0101165771484375, -0.027130126953125, 0.0130157470703125, 0.0258636474609375, 0.0298309326171875, -0.029296875, -0.00949859619140625, -0.05078125, -0.005096435546875, 0.075927734375, 0.004241943359375, -0.024932861328125, -0.03472900390625, -0.00988006591796875, 0.0311126708984375, -0.0119781494140625, -0.019500732421875, -0.0005173683166503906, 0.01081085205078125, -0.01824951171875, 0.01363372802734375, -0.035552978515625, 0.114990234375, -0.03363037109375, 0.0780029296875, -0.0082855224609375, 0.053741455078125, -0.01373291015625, -0.00916290283203125, 0.00615692138671875, -0.039520263671875, -0.0055694580078125, 0.00772857666015625, -0.01230621337890625, 0.0190582275390625, 0.023162841796875, 0.0174560546875, -0.00412750244140625, -0.004486083984375, -0.002208709716796875, -0.0185089111328125, 0.04315185546875, 0.004825592041015625, -0.01202392578125, 0.026611328125, -0.00444793701171875, -0.0197601318359375, -0.026580810546875, 0.01177215576171875, -0.01959228515625, 0.01140594482421875, -0.00479888916015625, -0.014312744140625, -0.00209808349609375, 0.0533447265625, 0.12213134765625, -0.006740570068359375, 0.07391357421875, 0.042999267578125, 0.0028209686279296875, 0.052703857421875, 0.046844482421875, -0.033233642578125, -0.0684814453125, 0.02984619140625, 0.0179901123046875, -0.04034423828125, 0.0154876708984375, -0.03216552734375, -0.0037326812744140625, -0.0249176025390625, 0.03350830078125, -0.0083160400390625, 0.004024505615234375, 0.00632476806640625, -0.0355224609375, -0.00801849365234375, 0.0135498046875, -0.00617218017578125, -0.0218505859375, 0.033721923828125, -0.01751708984375, -0.00958251953125, 0.01971435546875, -0.00270843505859375, -0.01316070556640625, -0.056060791015625, 0.05963134765625, 0.018341064453125, 0.00986480712890625, 0.0239715576171875, -0.01629638671875, 0.01512908935546875, -0.01154327392578125, -0.00594329833984375, 0.0180816650390625, -0.04949951171875, -0.058868408203125, 0.0101470947265625, -0.01326751708984375, -0.02423095703125, -0.00457000732421875, 0.0184173583984375, 0.02532958984375, 0.03515625, -0.004329681396484375, -0.026092529296875, 0.02093505859375, -0.034149169921875, 0.044586181640625, -0.0112762451171875, -0.0017366409301757812, -0.0135498046875, -0.038787841796875, -0.001659393310546875, -0.028045654296875, 0.005184173583984375, -0.018951416015625, -0.03399658203125, 0.07635498046875, -0.053680419921875, -0.0004601478576660156, -0.01239776611328125, 0.051788330078125, 0.032196044921875, -0.00930023193359375, 0.0235443115234375, -0.0167694091796875, 0.031402587890625, 0.02252197265625, 0.039215087890625, -0.02301025390625, -0.0082550048828125, -0.0318603515625, 0.07342529296875, -0.0156402587890625, -0.0011577606201171875, 0.00505828857421875, 0.033203125, -0.0100555419921875, 0.0293121337890625, -0.024169921875, 0.022186279296875, -0.0143280029296875, 0.032073974609375, -0.024017333984375, 0.000370025634765625, -0.0019311904907226562, 0.0345458984375, 0.0640869140625, 0.0203857421875, -0.04302978515625, -0.020233154296875, -0.005580902099609375, 0.0124053955078125, -0.00933074951171875, 0.051177978515625, 0.020416259765625, 0.0018596649169921875, 0.032958984375, -0.055572509765625, -0.0020503997802734375, -0.01337432861328125, 0.039031982421875, 0.03369140625, 0.01959228515625, 0.0006432533264160156, 0.021759033203125, -0.005374908447265625, -0.00814056396484375, 0.011444091796875, 0.005741119384765625, 0.0078277587890625, -0.03204345703125, 0.060150146484375, 0.0281829833984375, -0.0152740478515625, -0.0210418701171875, -0.03826904296875, 0.042724609375, 0.017791748046875, 0.0298004150390625, 0.032440185546875, 0.0275115966796875, 0.0181884765625, 0.0277099609375, 0.023895263671875, 0.05242919921875, -0.016571044921875, 0.099853515625, 0.058929443359375, 0.043914794921875, -0.053466796875, -0.04656982421875, 0.040283203125, 0.11578369140625, -0.052520751953125, -0.048797607421875, 0.0004911422729492188, -0.00963592529296875, 0.03204345703125, -0.0004417896270751953, 0.039581298828125, 0.004852294921875, 0.0179901123046875, -0.0029449462890625, 0.01042938232421875, 0.023529052734375, 0.023956298828125, 0.01220703125, 0.0007300376892089844, -0.046112060546875, 0.0242919921875, -0.042083740234375, 0.03570556640625, -0.0009012222290039062, 0.0289306640625, 0.006237030029296875, 0.0384521484375, -0.025909423828125, 0.0017719268798828125, 0.0278167724609375, 0.035003662109375, 0.0207977294921875, -0.03912353515625, -0.004169464111328125, -0.07647705078125, 0.033233642578125, 0.01104736328125, 0.01276397705078125, 0.010162353515625, 0.0127105712890625, -0.0030651092529296875, -0.01535797119140625, -0.00809478759765625, 0.009979248046875, -0.028411865234375, -0.0111236572265625, -0.0338134765625, 0.004894256591796875, 0.020263671875, -0.013336181640625, 0.02117919921875, -0.0002551078796386719, 0.02581787109375, -0.01441192626953125, 0.0662841796875, 0.0026149749755859375, -0.0087432861328125, 0.032135009765625, -0.00269317626953125, 0.06060791015625, 0.00865936279296875, -0.032684326171875, 0.005321502685546875, -0.041534423828125, -0.026580810546875, 0.018218994140625, 0.035003662109375, -0.0027599334716796875, 0.0146484375, -0.0022029876708984375, 0.0027217864990234375, 0.01157379150390625, -0.00948333740234375, 0.00624847412109375, 0.01097869873046875, 0.0250396728515625, -0.0051116943359375, -0.072509765625, -0.036468505859375, -0.0208740234375, -0.00466156005859375, 0.0038776397705078125, 0.04949951171875, 0.03662109375, -0.00036215782165527344, -0.0577392578125, 0.023101806640625, -0.058685302734375, -0.05035400390625, 0.03424072265625, 0.0428466796875, 0.0212249755859375, -0.0084991455078125, -0.0567626953125, 0.074462890625, -0.005741119384765625, 0.0297393798828125, 0.06158447265625, -0.0297393798828125, -0.0018911361694335938, -0.004322052001953125, 0.0048828125, -0.0256500244140625, -0.0257568359375, -0.02545166015625, -0.00099945068359375, 0.021881103515625, 0.032379150390625, -0.01308441162109375, 0.03094482421875, 0.006244659423828125, -0.0218658447265625, 0.0252838134765625, -0.033935546875, 0.051025390625, 0.032470703125, -0.009979248046875, 0.04638671875, -0.01128387451171875, -0.01305389404296875, 0.0164947509765625, 0.0074310302734375, -0.037628173828125, 0.0128021240234375, 0.0212249755859375, -0.0225067138671875, -0.03240966796875, -0.00952911376953125, -0.0109710693359375, -0.0268707275390625, 0.0033855438232421875, -0.010772705078125, -0.0281829833984375, -0.049957275390625, -0.0112457275390625, -0.047760009765625, 0.0235595703125, 0.040924072265625, 0.0021820068359375, 0.053741455078125, -0.002460479736328125, -0.0211334228515625, 0.004268646240234375, -0.01297760009765625, 0.00836181640625, 0.0090789794921875, -0.03509521484375, -0.015899658203125, -0.01213836669921875, 0.05340576171875, -0.039581298828125, -0.00942230224609375, -0.04150390625, 0.00799560546875, -0.033294677734375, 0.01715087890625, 0.008544921875, -0.0028629302978515625, 0.01467132568359375, -0.019012451171875, 0.01025390625, -0.0127105712890625, 0.022613525390625, 0.0294647216796875, -0.0106658935546875, -0.0266571044921875, 0.01435089111328125, -0.00646209716796875, -0.004230499267578125, -0.055938720703125, -0.004077911376953125, -0.04168701171875, 0.0179290771484375, 0.0102691650390625, -0.0012559890747070312, 0.002521514892578125, -0.031829833984375, -0.0192413330078125, 0.03741455078125, 0.01202392578125, -0.026824951171875, -0.03900146484375, -0.00472259521484375, 0.02447509765625, -0.05963134765625, -0.027191162109375, -0.01432037353515625, -0.03021240234375, 0.0306854248046875, 0.0258941650390625, 0.049591064453125, -0.00951385498046875, 0.038116455078125, -0.049407958984375, 0.037750244140625, -0.003223419189453125, 0.033538818359375, -0.0066986083984375, -0.0028133392333984375, 0.006740570068359375, 0.01306915283203125, -0.04656982421875, 0.03863525390625, 0.0030364990234375, 0.042449951171875, -0.0175933837890625, -0.00273895263671875, -0.02532958984375, -0.01505279541015625, 0.023193359375, 0.06005859375, 0.00482940673828125, -0.01477813720703125, 0.002803802490234375, -0.0220489501953125, 0.002529144287109375, -0.0175933837890625, 0.0020294189453125, -0.040069580078125, 0.0016193389892578125, -0.0013799667358398438, 0.0037670135498046875, 0.018890380859375, -0.039825439453125, -0.0201416015625, -0.0105438232421875, 0.0015554428100585938, 0.00399017333984375, -0.0033512115478515625, -0.00885009765625, 0.00614166259765625, -0.0289306640625, -0.0211181640625, -0.0111846923828125, 0.0225067138671875, -0.0259857177734375, -0.0240631103515625, 0.00905609130859375, 0.041046142578125, -0.021820068359375, -0.018341064453125, 0.0246124267578125, 0.01727294921875, -0.005062103271484375, -0.00800323486328125, -0.00624847412109375, 0.03033447265625, 0.0137176513671875, 0.0416259765625, -0.0138397216796875, -0.0224761962890625, -0.009246826171875, -0.010711669921875, -0.001361846923828125, 0.07379150390625, -0.0035228729248046875, 0.041778564453125, -0.029327392578125, -0.018585205078125, 0.00677490234375, -0.04400634765625, -0.004283905029296875, 0.0134124755859375, 0.00238037109375, -0.050018310546875, 0.01345062255859375, 0.0289306640625, 0.020660400390625, 0.0126953125 ]
d7376338153155520fee34eb02fa0c9d0972e7ea
Wordpress Stackexchange Q: How to upload images from my directory into my wordpress? I'm doing a paste the link onto input and then uses PHP(imagecrop) to crop and store the image onto server directory. $imagesrc = $_GET['img']; $img = file_get_contents($imagesrc); $im = imagecreatefromstring($img); $width = imagesx($im); $height = imagesy($im); $newwidth = '400'; $newheight = '800'; $thumb = imagecreatetruecolor($newwidth, $newheight); imagecopyresized($thumb, $im, 0, 0, 0, 0, $newwidth, $newheight, $width, $height); $filename = basename($imagesrc); imagejpeg($thumb,'image/'.$filename); //save image as jpg imagedestroy($thumb); imagedestroy($im); My question is how to upload images that is stored in the directory into wordpress? I know how to do it using <form> using manually but no idea how to do it after successfully cropping the image then upload to wordpress database automatically. Update: Tried uploading or saving it to wp-content\uploads and then I looked up in to wp-admin/upload.php and the images that I uploaded is not showing there. A: I think this will be helpful for you. It has describe everything step by step and there are part 1 & 3 of that tutorial series. Follow them as well. Creating a WordPress Plugin Part 2: Uploading Media and using Web Services
Q: How to upload images from my directory into my wordpress? I'm doing a paste the link onto input and then uses PHP(imagecrop) to crop and store the image onto server directory. $imagesrc = $_GET['img']; $img = file_get_contents($imagesrc); $im = imagecreatefromstring($img); $width = imagesx($im); $height = imagesy($im); $newwidth = '400'; $newheight = '800'; $thumb = imagecreatetruecolor($newwidth, $newheight); imagecopyresized($thumb, $im, 0, 0, 0, 0, $newwidth, $newheight, $width, $height); $filename = basename($imagesrc); imagejpeg($thumb,'image/'.$filename); //save image as jpg imagedestroy($thumb); imagedestroy($im); My question is how to upload images that is stored in the directory into wordpress? I know how to do it using <form> using manually but no idea how to do it after successfully cropping the image then upload to wordpress database automatically. Update: Tried uploading or saving it to wp-content\uploads and then I looked up in to wp-admin/upload.php and the images that I uploaded is not showing there. A: I think this will be helpful for you. It has describe everything step by step and there are part 1 & 3 of that tutorial series. Follow them as well. Creating a WordPress Plugin Part 2: Uploading Media and using Web Services
wordpress
{ "language": "en", "length": 189, "provenance": "stackexchange_00019.jsonl.gz:474809", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262035" }
[ 0.0489501953125, -0.0141448974609375, 0.0333251953125, 0.010009765625, 0.00530242919921875, -0.033966064453125, 0.085205078125, -0.046630859375, 0.05499267578125, 0.00373077392578125, -0.05615234375, -0.004642486572265625, -0.016845703125, -0.0107879638671875, -0.04150390625, -0.027862548828125, 0.0361328125, -0.031707763671875, 0.0430908203125, 0.0109710693359375, -0.00194549560546875, 0.053497314453125, 0.031585693359375, -0.00860595703125, 0.0018129348754882812, 0.0169219970703125, 0.0355224609375, 0.0029754638671875, -0.01305389404296875, -0.0209808349609375, -0.0005612373352050781, 0.01715087890625, 0.0259552001953125, 0.00775909423828125, -0.01313018798828125, 0.03118896484375, 0.001804351806640625, -0.003387451171875, 0.00849151611328125, 0.016387939453125, 0.00737762451171875, -0.003009796142578125, 0.055267333984375, -0.00384521484375, 0.01113128662109375, -0.0164947509765625, 0.007785797119140625, -0.043487548828125, -0.0034732818603515625, 0.0066070556640625, 0.01302337646484375, 0.035186767578125, 0.02545166015625, -0.026641845703125, 0.0020160675048828125, -0.003734588623046875, -0.01094818115234375, 0.06463623046875, 0.03515625, -0.0283203125, -0.06781005859375, -0.0160675048828125, 0.02398681640625, -0.01354217529296875, 0.00399017333984375, 0.0024814605712890625, 0.0163421630859375, 0.0227508544921875, -0.050262451171875, -0.02203369140625, -0.004261016845703125, -0.03704833984375, -0.00257110595703125, -0.068359375, 0.0205841064453125, 0.05828857421875, -0.02294921875, -0.016510009765625, 0.005527496337890625, -0.01171112060546875, 0.010986328125, -0.0263824462890625, -0.0208740234375, 0.01103973388671875, 0.005100250244140625, 0.036895751953125, -0.0010509490966796875, -0.0123291015625, -0.01013946533203125, 0.0458984375, -0.0159149169921875, 0.01348114013671875, -0.01345062255859375, 0.045989990234375, -0.006671905517578125, -0.00861358642578125, 0.01084136962890625, 0.003871917724609375, -0.01422882080078125, 0.0190277099609375, -0.003162384033203125, -0.03643798828125, 0.050384521484375, -0.027099609375, 0.0201416015625, 0.01983642578125, 0.0002703666687011719, -0.062744140625, 0.0199737548828125, 0.014739990234375, -0.00530242919921875, 0.039794921875, -0.0318603515625, -0.05242919921875, -0.01020050048828125, 0.047760009765625, -0.0215606689453125, 0.016632080078125, 0.0217742919921875, -0.00164031982421875, -0.048065185546875, 0.01174163818359375, -0.043853759765625, -0.0149383544921875, 0.045013427734375, 0.00946807861328125, -0.005992889404296875, 0.0217132568359375, 0.00524139404296875, 0.020599365234375, -0.04351806640625, 0.032379150390625, 0.06353759765625, -0.0159759521484375, -0.0099945068359375, -0.01219940185546875, -0.01080322265625, -0.01007080078125, -0.0117034912109375, 0.04443359375, -0.023406982421875, -0.045379638671875, 0.0278472900390625, -0.0244903564453125, -0.0125274658203125, 0.03509521484375, -0.01263427734375, 0.01436614990234375, 0.008575439453125, -0.0601806640625, -0.0157318115234375, -0.00991058349609375, 0.0220184326171875, 0.020050048828125, 0.029052734375, -0.02020263671875, 0.0537109375, -0.0484619140625, 0.0167999267578125, -0.054046630859375, 0.023956298828125, 0.006435394287109375, 0.04339599609375, 0.0206451416015625, 0.007656097412109375, -0.0130462646484375, -0.07952880859375, -0.01319122314453125, 0.020233154296875, -0.0413818359375, 0.02130126953125, 0.004180908203125, 0.042144775390625, -0.007373809814453125, -0.0097503662109375, 0.00689697265625, 0.0308837890625, -0.025787353515625, 0.0206298828125, 0.085693359375, 0.01294708251953125, -0.00695037841796875, 0.05035400390625, -0.01153564453125, 0.002166748046875, -0.0165252685546875, 0.0209808349609375, -0.000027239322662353516, -0.00617218017578125, 0.0200347900390625, 0.033050537109375, 0.0286865234375, -0.058929443359375, 0.0128021240234375, -0.03387451171875, -0.005771636962890625, -0.0131683349609375, 0.0157318115234375, -0.0159454345703125, 0.0126190185546875, 0.0012083053588867188, -0.0200347900390625, 0.0280303955078125, 0.004215240478515625, 0.0161285400390625, -0.02197265625, -0.006198883056640625, -0.004741668701171875, -0.004428863525390625, 0.0019073486328125, 0.0221099853515625, -0.0035552978515625, -0.0191650390625, -0.051116943359375, -0.03411865234375, 0.014739990234375, -0.0183868408203125, 0.022613525390625, -0.017974853515625, 0.06146240234375, -0.032196044921875, -0.0438232421875, -0.042816162109375, -0.009490966796875, 0.0328369140625, 0.0160369873046875, -0.0235595703125, -0.005462646484375, 0.00774383544921875, 0.007297515869140625, -0.0230255126953125, 0.0293731689453125, -0.03521728515625, 0.01209259033203125, -0.0210418701171875, -0.033294677734375, -0.046875, -0.051116943359375, 0.0213775634765625, 0.047637939453125, 0.0172882080078125, 0.03802490234375, -0.006824493408203125, 0.035552978515625, 0.055328369140625, -0.0165863037109375, 0.00007873773574829102, 0.01690673828125, -0.00820159912109375, -0.0217437744140625, -0.0153656005859375, -0.0224456787109375, 0.02294921875, -0.066650390625, -0.006374359130859375, 0.0193634033203125, -0.0267333984375, 0.004070281982421875, -0.03289794921875, 0.0193023681640625, 0.00495147705078125, 0.016998291015625, -0.01235198974609375, -0.0030803680419921875, -0.000476837158203125, 0.02374267578125, 0.01611328125, 0.00821685791015625, -0.041412353515625, 0.021759033203125, 0.0225677490234375, -0.0204315185546875, -0.005397796630859375, 0.026123046875, 0.0174713134765625, 0.00562286376953125, -0.04473876953125, 0.0036945343017578125, 0.0175323486328125, 0.021697998046875, -0.00763702392578125, 0.0227813720703125, -0.0170135498046875, -0.013031005859375, -0.02679443359375, -0.0247039794921875, 0.0276336669921875, 0.02838134765625, -0.0113067626953125, -0.0098724365234375, 0.0182647705078125, 0.042266845703125, -0.01020050048828125, 0.046661376953125, -0.0258941650390625, 0.0016374588012695312, 0.0433349609375, -0.02154541015625, 0.016387939453125, 0.0014657974243164062, 0.0535888671875, 0.059814453125, 0.020782470703125, -0.021697998046875, 0.0012578964233398438, -0.01087188720703125, -0.007282257080078125, 0.023162841796875, -0.0038604736328125, -0.044403076171875, -0.0177001953125, -0.004856109619140625, 0.007694244384765625, 0.00830841064453125, -0.006591796875, -0.0198516845703125, -0.020782470703125, 0.00879669189453125, -0.07366943359375, -0.04730224609375, -0.02813720703125, -0.089599609375, 0.00566864013671875, 0.00814056396484375, -0.0394287109375, -0.00001627206802368164, 0.04443359375, 0.0065155029296875, -0.030181884765625, -0.01204681396484375, 0.0104522705078125, -0.0430908203125, -0.0294952392578125, -0.013702392578125, 0.02142333984375, 0.020538330078125, 0.0158843994140625, -0.002002716064453125, -0.0009245872497558594, -0.025115966796875, 0.0255889892578125, 0.057342529296875, -0.0012998580932617188, 0.00250244140625, 0.0191802978515625, -0.004547119140625, 0.0025615692138671875, -0.0133056640625, 0.0328369140625, 0.06549072265625, -0.06109619140625, 0.0036163330078125, -0.0267791748046875, -0.042572021484375, -0.040496826171875, 0.032012939453125, 0.042938232421875, -0.05633544921875, -0.025146484375, -0.072509765625, 0.0009160041809082031, -0.03173828125, -0.032073974609375, 0.00887298583984375, 0.0174102783203125, -0.01058197021484375, -0.03179931640625, 0.0283050537109375, 0.028533935546875, 0.04888916015625, -0.019989013671875, -0.0002338886260986328, 0.016693115234375, -0.005268096923828125, 0.0082855224609375, 0.0020198822021484375, 0.029083251953125, -0.008056640625, 0.050811767578125, 0.02154541015625, 0.027435302734375, -0.0301666259765625, 0.030548095703125, -0.08551025390625, -0.08465576171875, 0.045257568359375, -0.02178955078125, 0.002166748046875, -0.0257568359375, -0.0113067626953125, 0.0185699462890625, 0.08563232421875, -0.04913330078125, -0.033050537109375, -0.0179901123046875, 0.036346435546875, -0.04974365234375, -0.0565185546875, 0.0034732818603515625, 0.0033721923828125, -0.05242919921875, -0.007747650146484375, 0.0022220611572265625, -0.042266845703125, 0.050506591796875, -0.06103515625, 0.0132293701171875, -0.040069580078125, 0.028289794921875, -0.048675537109375, 0.032012939453125, -0.01284027099609375, 0.0045166015625, -0.0256805419921875, 0.00707244873046875, -0.046783447265625, -0.1392822265625, -0.0196380615234375, 0.0079498291015625, 0.0601806640625, -0.042266845703125, 0.03717041015625, -0.07257080078125, 0.038848876953125, -0.015655517578125, 0.0400390625, 0.0057220458984375, 0.032379150390625, -0.00679779052734375, -0.042205810546875, 0.0225677490234375, -0.060333251953125, -0.0037326812744140625, -0.0748291015625, -0.040557861328125, -0.046417236328125, -0.046905517578125, 0.01558685302734375, -0.040802001953125, 0.0008511543273925781, 0.0262603759765625, -0.0191650390625, -0.04779052734375, 0.0174407958984375, -0.023223876953125, -0.027984619140625, -0.038116455078125, -0.0241241455078125, 0.040557861328125, -0.032562255859375, -0.002651214599609375, 0.0196075439453125, 0.088623046875, -0.0015802383422851562, -0.0023670196533203125, -0.090576171875, -0.0204620361328125, 0.033599853515625, 0.0102996826171875, 0.027130126953125, 0.0297698974609375, -0.01123046875, 0.01543426513671875, 0.01010894775390625, -0.006961822509765625, -0.007045745849609375, 0.06561279296875, 0.00038933753967285156, -0.00867462158203125, -0.0067901611328125, -0.0181732177734375, -0.003543853759765625, 0.042694091796875, -0.0289459228515625, 0.0013723373413085938, -0.01953125, 0.03253173828125, -0.035919189453125, 0.040374755859375, -0.0266265869140625, -0.0684814453125, 0.01690673828125, -0.061126708984375, 0.024871826171875, 0.0077667236328125, -0.0124969482421875, 0.04803466796875, 0.040374755859375, -0.007598876953125, 0.01511383056640625, -0.0001881122589111328, 0.0189208984375, 0.007572174072265625, 0.042816162109375, 0.0028743743896484375, 0.00197601318359375, 0.0094451904296875, 0.0017385482788085938, 0.02301025390625, -0.006610870361328125, -0.047698974609375, -0.00675201416015625, 0.001262664794921875, -0.031951904296875, -0.0158843994140625, 0.0199432373046875, 0.0501708984375, 0.003215789794921875, -0.0085296630859375, -0.01137542724609375, 0.0279388427734375, -0.039764404296875, 0.0134429931640625, 0.01222991943359375, -0.0231475830078125, 0.026519775390625, -0.0243072509765625, -0.0298309326171875, -0.00762939453125, 0.01544189453125, 0.01222991943359375, 0.05499267578125, 0.00582122802734375, 0.0245361328125, -0.00579071044921875, -0.031463623046875, -0.0085906982421875, 0.01654052734375, -0.052947998046875, 0.00702667236328125, 0.005645751953125, 0.041107177734375, -0.045989990234375, -0.06549072265625, 0.06024169921875, -0.01446533203125, -0.01300811767578125, -0.0183868408203125, -0.045623779296875, -0.035491943359375, -0.01383209228515625, 0.0266876220703125, 0.04541015625, 0.0014505386352539062, -0.01314544677734375, -0.006877899169921875, -0.02008056640625, 0.0008544921875, 0.036407470703125, -0.0283050537109375, 0.0029277801513671875, -0.0037994384765625, 0.01367950439453125, -0.0196075439453125, -0.0255584716796875, 0.018402099609375, 0.0233306884765625, -0.03961181640625, -0.0224609375, 0.0584716796875, -0.0379638671875, -0.015594482421875, -0.014556884765625, 0.0237884521484375, -0.019500732421875, 0.015472412109375, 0.0213165283203125, -0.00394439697265625, -0.0018711090087890625, -0.028167724609375, -0.0145263671875, -0.0165252685546875, 0.02288818359375, 0.014556884765625, -0.012176513671875, -0.0179595947265625, -0.0281982421875, 0.011871337890625, -0.01078033447265625, 0.01250457763671875, -0.02410888671875, 0.0122222900390625, -0.0084381103515625, -0.007076263427734375, 0.0290374755859375, 0.0261993408203125, -0.029541015625, 0.0379638671875, 0.019378662109375, 0.0287628173828125, -0.0265350341796875, -0.034088134765625, -0.0250244140625, -0.04144287109375, -0.004932403564453125, 0.004283905029296875, 0.007762908935546875, 0.057586669921875, 0.06695556640625, 0.016357421875, 0.00975799560546875, -0.0063018798828125, 0.0010890960693359375, -0.01910400390625, 0.0290679931640625, 0.001007080078125, -0.00829315185546875, 0.0196533203125, -0.0321044921875, 0.0380859375, -0.021942138671875, -0.0156707763671875, 0.026519775390625, -0.035186767578125, 0.01293182373046875, 0.053985595703125, 0.0122528076171875, 0.0265350341796875, 0.08489990234375, -0.0019445419311523438, 0.056365966796875, 0.043792724609375, 0.010284423828125, 0.0284271240234375, 0.01531219482421875, 0.0241241455078125, 0.016876220703125, 0.06005859375, -0.00237274169921875, -0.00919342041015625, 0.01885986328125, -0.03546142578125, 0.0209503173828125, 0.039093017578125, 0.06756591796875, -0.040863037109375, 0.01885986328125, 0.007061004638671875, -0.01110076904296875, 0.0296630859375, -0.001953125, -0.017852783203125, -0.027252197265625, 0.021759033203125, -0.03082275390625, -0.03363037109375, -0.016387939453125, 0.005519866943359375, -0.0028533935546875, 0.0138702392578125, 0.034088134765625, 0.001438140869140625, -0.078369140625, -0.01271820068359375, 0.05126953125, -0.0364990234375, 0.01284027099609375, 0.0235443115234375, -0.00730133056640625, -0.0107879638671875, -0.0191192626953125, 0.0164947509765625, -0.0272216796875, -0.014923095703125, 0.037384033203125, -0.0081024169921875, 0.06488037109375, 0.06927490234375, 0.00811004638671875, -0.00449371337890625, 0.0341796875, 0.01195526123046875, 0.02728271484375, 0.00519561767578125, 0.0258941650390625, 0.0291595458984375, -0.07940673828125, 0.002727508544921875, -0.042083740234375, 0.054901123046875, 0.01152801513671875, -0.00893402099609375, 0.04034423828125, -0.047088623046875, -0.0112457275390625, 0.023773193359375, 0.003620147705078125, 0.002471923828125, -0.01070404052734375, 0.030029296875, -0.060211181640625, -0.01312255859375, 0.00873565673828125, -0.00841522216796875, -0.01216888427734375, -0.00795745849609375, -0.049163818359375, 0.065673828125, -0.0146026611328125, 0.0026683807373046875, 0.0228271484375, 0.0341796875, -0.01541900634765625, 0.003459930419921875, -0.033050537109375, 0.0240631103515625, -0.01357269287109375, 0.00811004638671875, -0.08251953125, 0.01275634765625, -0.042327880859375, 0.022125244140625, 0.092529296875, 0.0165557861328125, -0.061859130859375, -0.01837158203125, 0.05584716796875, 0.062164306640625, 0.0184478759765625, 0.042388916015625, 0.00415802001953125, -0.042877197265625, 0.0213165283203125, 0.010955810546875, 0.01000213623046875, 0.0245208740234375, -0.004360198974609375, 0.03631591796875, 0.01047515869140625, 0.008819580078125, 0.0171051025390625, -0.01739501953125, -0.03375244140625, 0.0122528076171875, 0.028076171875, -0.028533935546875, 0.006008148193359375, 0.0321044921875, 0.0157470703125, -0.01898193359375, -0.0293426513671875, -0.0081939697265625, 0.0302886962890625, -0.00426483154296875, 0.0584716796875, 0.023345947265625, 0.022247314453125, 0.01503753662109375, 0.0133209228515625, 0.03192138671875, 0.0239715576171875, -0.03167724609375, 0.0338134765625, 0.0288848876953125, 0.012542724609375, -0.041778564453125, 0.022369384765625, 0.036285400390625, 0.041107177734375, -0.049468994140625, -0.034820556640625, 0.0109710693359375, 0.0004391670227050781, 0.006092071533203125, -0.0069732666015625, 0.0008955001831054688, -0.061920166015625, -0.0268707275390625, -0.027862548828125, -0.0002269744873046875, 0.048431396484375, 0.032012939453125, 0.00441741943359375, 0.004848480224609375, -0.047210693359375, -0.0291290283203125, -0.0181121826171875, 0.0154266357421875, -0.004756927490234375, 0.0175018310546875, -0.0127716064453125, 0.0302734375, 0.00249481201171875, 0.003322601318359375, -0.000598907470703125, 0.035797119140625, -0.011199951171875, 0.0005664825439453125, -0.00881195068359375, -0.048126220703125, -0.00131988525390625, 0.034881591796875, 0.003917694091796875, 0.05377197265625, 0.06524658203125, 0.00926971435546875, -0.07257080078125, -0.00726318359375, 0.0156707763671875, -0.054168701171875, -0.006134033203125, -0.0287628173828125, 0.025146484375, 0.0322265625, 0.004322052001953125, -0.024810791015625, 0.0209197998046875, 0.07293701171875, -0.0518798828125, 0.05029296875, -0.021026611328125, -0.038116455078125, 0.021484375, -0.049163818359375, 0.08697509765625, -0.04522705078125, -0.051910400390625, -0.01361083984375, -0.035491943359375, 0.028411865234375, 0.008270263671875, 0.0280303955078125, 0.021240234375, 0.01398468017578125, 0.013031005859375, -0.03277587890625, 0.0022869110107421875, 0.0038242340087890625, 0.0199432373046875, -0.01537322998046875, -0.003444671630859375, -0.011688232421875, -0.03204345703125, -0.0099334716796875, -0.033782958984375, 0.036651611328125, 0.0167083740234375, 0.10345458984375, -0.034210205078125, 0.021453857421875, -0.00585174560546875, 0.004222869873046875, -0.03570556640625, 0.00638580322265625, 0.016876220703125, -0.01395416259765625, -0.01444244384765625, -0.024688720703125, 0.0002663135528564453, -0.01336669921875, 0.01027679443359375, -0.046142578125, -0.054656982421875, -0.01047515869140625, 0.04010009765625, 0.0694580078125, 0.0372314453125, -0.0197906494140625, -0.00040984153747558594, -0.032867431640625, -0.0066375732421875, 0.042449951171875, 0.0196380615234375, -0.018218994140625, 0.0389404296875, 0.000782012939453125, -0.0190887451171875, 0.0258026123046875, -0.06005859375, 0.05767822265625, 0.055419921875, -0.0233612060546875, -0.05218505859375, -0.0241241455078125, -0.017730712890625, -0.0286865234375, 0.004123687744140625, 0.0281219482421875, -0.0243682861328125, -0.052337646484375, -0.0006685256958007812, 0.01413726806640625, 0.0253143310546875, -0.00530242919921875, 0.0019969940185546875, -0.01068115234375, -0.005298614501953125, -0.00531768798828125, -0.0208587646484375, -0.02093505859375, -0.0625, 0.02130126953125, 0.035552978515625, -0.004608154296875, 0.00957489013671875, -0.020843505859375, 0.01320648193359375, 0.0423583984375, 0.01288604736328125, -0.05078125, 0.010955810546875, -0.032257080078125, 0.0170135498046875, 0.018096923828125, -0.01207733154296875, 0.0100250244140625, 0.032867431640625, 0.0008788108825683594, -0.05328369140625, -0.0184326171875, 0.039794921875, -0.011932373046875, 0.031005859375, 0.026092529296875, -0.0258331298828125, 0.025177001953125, 0.03009033203125, 0.034210205078125, 0.0887451171875, 0.00286865234375, -0.034637451171875, 0.005279541015625, -0.00925445556640625, 0.00823974609375, 0.01291656494140625, 0.01151275634765625, -0.026824951171875, -0.01543426513671875, -0.090087890625, 0.018768310546875, -0.01538848876953125, -0.054534912109375, -0.105224609375, 0.0059051513671875, -0.04522705078125, -0.045654296875, -0.00255584716796875, -0.0006003379821777344, -0.01097869873046875, 0.0309906005859375, 0.0009870529174804688, -0.0215911865234375, 0.008087158203125, 0.0288543701171875, -0.010162353515625, 0.02716064453125, -0.005031585693359375, -0.0003998279571533203, -0.0269622802734375, 0.00797271728515625, 0.003330230712890625, -0.0163421630859375, 0.0379638671875, -0.0273895263671875, 0.05084228515625, 0.0782470703125, -0.0054168701171875, 0.0123443603515625, -0.0060272216796875, -0.07940673828125, -0.018646240234375, -0.0321044921875, -0.040985107421875, 0.002288818359375, 0.07904052734375, 0.06097412109375, 0.0224151611328125, -0.04034423828125, -0.00032639503479003906, -0.0297393798828125, -0.0018033981323242188, -0.0165863037109375, 0.006877899169921875, -0.061126708984375, -0.0113372802734375, 0.01849365234375, -0.0034809112548828125, -0.0244903564453125, -0.003459930419921875, -0.035797119140625, -0.0262451171875, -0.038543701171875, -0.029388427734375, -0.0408935546875, -0.00470733642578125, 0.07196044921875, -0.02996826171875, 0.0252227783203125, -0.01617431640625, 0.0226287841796875, 0.0439453125, -0.0143585205078125, 0.0009908676147460938, 0.0136260986328125, -0.0189056396484375, 0.0242156982421875, 0.0011959075927734375, 0.0036067962646484375, -0.01482391357421875, -0.008026123046875, 0.0142974853515625, -0.01087188720703125, -0.0201568603515625, -0.026123046875, 0.005046844482421875, 0.0127716064453125, -0.03173828125, 0.04388427734375, -0.0165863037109375, -0.042449951171875, -0.03643798828125, 0.03778076171875, -0.045257568359375, -0.00576019287109375, 0.01213836669921875, -0.034576416015625, 0.0156707763671875, -0.00931549072265625, 0.003299713134765625, -0.019317626953125, 0.007701873779296875, -0.01593017578125, -0.0189666748046875, 0.00833892822265625 ]
cf50965c1ecb7d3a7c651cb1f6182780896ba3e5
Wordpress Stackexchange Q: Delete duplicated wp_postmeta record I have many duplicated wp_postmeta record (about hundreds record with same post_id & meta_key) and need to delete safely via mysql, is there any effective way to delete the postmeta record. Further question is how to create code implementation to prevent this postmeta duplication. Many Thanks :-) A: It is quite complicates grouped request, so to avoid problems, consider to use Cleanup Duplicate Meta plugin. The reason why duplicate entries are occured is usage of add_post_meta(). Just use update_post_meta() (even to create meta, it works) - and you will have always one meta field with certain name per post.
Q: Delete duplicated wp_postmeta record I have many duplicated wp_postmeta record (about hundreds record with same post_id & meta_key) and need to delete safely via mysql, is there any effective way to delete the postmeta record. Further question is how to create code implementation to prevent this postmeta duplication. Many Thanks :-) A: It is quite complicates grouped request, so to avoid problems, consider to use Cleanup Duplicate Meta plugin. The reason why duplicate entries are occured is usage of add_post_meta(). Just use update_post_meta() (even to create meta, it works) - and you will have always one meta field with certain name per post. A: Try it to delete duplicated wp_postmeta record: DELETE FROM `wp_postmeta` WHERE `meta_id` NOT IN (SELECT * FROM (SELECT MAX(`pm`.`meta_id`) FROM `wp_postmeta` pm GROUP BY `pm`.`post_id`, `pm`.`meta_key`) x) Use update_post_meta instead of add_post_meta to prevent create duplicate postmeta.
wordpress
{ "language": "en", "length": 142, "provenance": "stackexchange_00019.jsonl.gz:474811", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262038" }
[ 0.05047607421875, 0.0225982666015625, -0.0239715576171875, -0.00933074951171875, 0.045562744140625, -0.037078857421875, 0.06573486328125, -0.037384033203125, 0.01311492919921875, 0.043792724609375, -0.0001201629638671875, -0.011077880859375, 0.04083251953125, -0.0162506103515625, -0.02117919921875, -0.012847900390625, 0.01311492919921875, 0.035247802734375, 0.04559326171875, 0.0038928985595703125, 0.00988006591796875, 0.0185089111328125, 0.001953125, 0.00045609474182128906, 0.01739501953125, -0.01438140869140625, 0.0260162353515625, -0.00901031494140625, -0.01971435546875, -0.041839599609375, 0.00844573974609375, 0.06396484375, -0.005817413330078125, 0.01348876953125, 0.0182342529296875, -0.042633056640625, 0.026214599609375, 0.00838470458984375, 0.0231170654296875, 0.01513671875, 0.020355224609375, -0.023712158203125, 0.01146697998046875, -0.0232086181640625, -0.00778961181640625, -0.018035888671875, 0.031890869140625, -0.018890380859375, -0.00030803680419921875, 0.02154541015625, 0.011322021484375, -0.0211029052734375, 0.007610321044921875, 0.0208587646484375, -0.009918212890625, -0.025970458984375, 0.012908935546875, -0.032928466796875, 0.040191650390625, -0.006847381591796875, -0.0341796875, -0.01374053955078125, 0.026580810546875, -0.0213470458984375, -0.013916015625, -0.0007977485656738281, -0.0031414031982421875, 0.0025959014892578125, -0.02020263671875, 0.008575439453125, 0.047332763671875, -0.024810791015625, -0.00482177734375, -0.006103515625, 0.0021152496337890625, 0.0107269287109375, 0.004070281982421875, 0.0146484375, -0.01202392578125, 0.024749755859375, -0.004581451416015625, -0.01123809814453125, -0.0455322265625, -0.0218048095703125, -0.025543212890625, -0.0223541259765625, -0.0110321044921875, 0.0110931396484375, -0.03302001953125, -0.057952880859375, -0.022979736328125, -0.1334228515625, -0.04144287109375, 0.01221466064453125, -0.004489898681640625, -0.02593994140625, 0.03466796875, 0.09454345703125, -0.022552490234375, -0.035736083984375, -0.006847381591796875, -0.02862548828125, -0.051055908203125, -0.0228424072265625, -0.00035071372985839844, 0.0021877288818359375, -0.021820068359375, -0.0289306640625, 0.01279449462890625, 0.03936767578125, -0.038604736328125, -0.01824951171875, 0.0230560302734375, -0.05682373046875, -0.00624847412109375, 0.0341796875, 0.0239715576171875, 0.0203094482421875, 0.031829833984375, 0.00710296630859375, -0.0179901123046875, -0.01021575927734375, 0.0180816650390625, 0.0157470703125, 0.00531768798828125, 0.006923675537109375, -0.034423828125, -0.0008749961853027344, -0.03961181640625, 0.0070953369140625, -0.040618896484375, 0.026092529296875, 0.0855712890625, 0.00269317626953125, -0.01349639892578125, -0.0276947021484375, 0.00432586669921875, -0.0286102294921875, -0.0005216598510742188, 0.0157318115234375, -0.0108489990234375, -0.041961669921875, 0.0202484130859375, -0.0016050338745117188, 0.01068115234375, 0.06317138671875, 0.012664794921875, -0.03460693359375, 0.0157623291015625, -0.023162841796875, -0.0791015625, -0.0158538818359375, 0.00022542476654052734, 0.010894775390625, 0.041412353515625, -0.0416259765625, 0.062255859375, -0.041961669921875, 0.0247650146484375, -0.04156494140625, 0.0452880859375, -0.01336669921875, -0.015655517578125, -0.00957489013671875, -0.06658935546875, 0.00641632080078125, -0.038116455078125, -0.0233306884765625, 0.021453857421875, -0.01349639892578125, 0.01776123046875, -0.012481689453125, -0.031707763671875, 0.00127410888671875, 0.01197052001953125, 0.02294921875, 0.012237548828125, -0.064453125, 0.042633056640625, 0.0182647705078125, -0.0496826171875, -0.02117919921875, -0.0185394287109375, -0.0015840530395507812, -0.05657958984375, 0.029815673828125, 0.00897979736328125, 0.06341552734375, 0.032073974609375, 0.004932403564453125, 0.049468994140625, -0.034149169921875, 0.003574371337890625, 0.00321197509765625, -0.002552032470703125, -0.026123046875, -0.0157012939453125, -0.01378631591796875, -0.01187896728515625, 0.007671356201171875, -0.0013208389282226562, 0.033721923828125, -0.02764892578125, 0.00678253173828125, -0.08978271484375, 0.033935546875, -0.0306396484375, 0.047607421875, -0.041595458984375, 0.0274505615234375, 0.0281524658203125, -0.029296875, -0.03656005859375, 0.041534423828125, 0.005077362060546875, -0.025543212890625, 0.0080718994140625, -0.03448486328125, -0.006671905517578125, 0.016204833984375, -0.0270233154296875, -0.006313323974609375, -0.061370849609375, -0.01236724853515625, 0.01390838623046875, -0.00998687744140625, -0.032684326171875, -0.0285797119140625, -0.02392578125, 0.00018453598022460938, -0.058624267578125, 0.07989501953125, 0.0252838134765625, 0.035247802734375, 0.004314422607421875, 0.004314422607421875, 0.005504608154296875, -0.09033203125, 0.0021343231201171875, 0.046600341796875, 0.0153656005859375, -0.0335693359375, -0.0273895263671875, 0.046539306640625, -0.033966064453125, -0.059234619140625, 0.0001474618911743164, 0.041229248046875, 0.020416259765625, 0.05865478515625, -0.029144287109375, -0.003429412841796875, 0.00928497314453125, -0.049957275390625, -0.01250457763671875, 0.0408935546875, -0.01094818115234375, 0.0158233642578125, -0.019195556640625, 0.0119476318359375, -0.0131378173828125, -0.029693603515625, -0.0101470947265625, -0.0236053466796875, 0.08154296875, 0.00389862060546875, 0.0738525390625, 0.051177978515625, -0.00028324127197265625, 0.016357421875, -0.01255035400390625, -0.03228759765625, 0.01494598388671875, 0.0009822845458984375, -0.00438690185546875, 0.07147216796875, -0.048675537109375, -0.0066375732421875, 0.0728759765625, 0.02606201171875, -0.0169525146484375, 0.0226287841796875, -0.0230712890625, -0.012908935546875, -0.01016998291015625, -0.01221466064453125, 0.006893157958984375, -0.00308990478515625, 0.0092315673828125, -0.035125732421875, -0.00860595703125, 0.034698486328125, -0.00420379638671875, 0.0401611328125, 0.003875732421875, -0.0200653076171875, 0.004913330078125, -0.04718017578125, 0.041015625, -0.048919677734375, 0.026763916015625, 0.053253173828125, -0.029296875, 0.0202789306640625, -0.01019287109375, -0.01317596435546875, -0.0213775634765625, 0.0006251335144042969, -0.013671875, -0.0175323486328125, -0.04315185546875, 0.01556396484375, 0.0300140380859375, 0.090087890625, 0.0157470703125, -0.02740478515625, 0.03521728515625, 0.0474853515625, -0.0247039794921875, -0.08917236328125, -0.0107269287109375, 0.00005370378494262695, 0.0252838134765625, -0.01015472412109375, 0.0060272216796875, -0.0250244140625, 0.01513671875, 0.0084686279296875, 0.054595947265625, -0.028350830078125, -0.040557861328125, -0.0021190643310546875, -0.04425048828125, -0.021820068359375, -0.0010662078857421875, -0.0169219970703125, 0.00753021240234375, 0.044158935546875, 0.005451202392578125, -0.032928466796875, 0.0079193115234375, -0.010498046875, -0.0188751220703125, 0.0050048828125, -0.0013675689697265625, 0.0140380859375, -0.0267333984375, 0.018585205078125, -0.015594482421875, 0.032257080078125, -0.03192138671875, -0.01554107666015625, 0.00106048583984375, -0.0026607513427734375, 0.035736083984375, -0.03216552734375, -0.033111572265625, 0.050201416015625, 0.0589599609375, -0.002727508544921875, -0.004306793212890625, -0.02734375, -0.0246124267578125, -0.02496337890625, -0.01461029052734375, 0.013824462890625, -0.00783538818359375, 0.0134735107421875, 0.03436279296875, 0.021636962890625, -0.01464080810546875, -0.00038552284240722656, 0.016357421875, 0.00920867919921875, 0.031494140625, -0.022491455078125, -0.0330810546875, -0.042266845703125, -0.0169830322265625, -0.05291748046875, -0.024810791015625, -0.0304718017578125, 0.0069732666015625, -0.0121307373046875, -0.01898193359375, 0.051300048828125, 0.01171875, 0.058868408203125, -0.043731689453125, -0.0404052734375, -0.04107666015625, 0.0887451171875, 0.0079803466796875, -0.036712646484375, -0.014373779296875, -0.0009236335754394531, 0.006877899169921875, 0.023956298828125, 0.0207061767578125, -0.01346588134765625, -0.057464599609375, 0.008270263671875, 0.00862884521484375, -0.024383544921875, -0.043212890625, 0.047210693359375, -0.055572509765625, -0.0038738250732421875, 0.01849365234375, -0.062744140625, 0.055816650390625, -0.005344390869140625, 0.0256805419921875, -0.004894256591796875, 0.0037097930908203125, -0.08111572265625, -0.0469970703125, -0.0113372802734375, -0.043304443359375, 0.06524658203125, 0.01433563232421875, -0.01505279541015625, -0.000843048095703125, 0.042816162109375, -0.011016845703125, 0.06201171875, -0.0345458984375, 0.000606536865234375, -0.0006694793701171875, -0.012603759765625, -0.00524139404296875, -0.013336181640625, -0.01311492919921875, -0.016876220703125, 0.0164337158203125, 0.00347137451171875, -0.034698486328125, 0.0011081695556640625, -0.0231475830078125, 0.0027523040771484375, -0.0172576904296875, -0.01149749755859375, -0.0309906005859375, 0.00380706787109375, -0.0003101825714111328, -0.01297760009765625, -0.00984954833984375, -0.04644775390625, 0.00960540771484375, -0.0137176513671875, -0.013824462890625, 0.0380859375, 0.0318603515625, -0.01216888427734375, -0.009796142578125, -0.11968994140625, -0.00897216796875, 0.003757476806640625, 0.00057220458984375, 0.03564453125, 0.018890380859375, 0.016204833984375, -0.0026683807373046875, -0.0172119140625, -0.0216064453125, -0.022796630859375, 0.053314208984375, -0.006679534912109375, 0.02545166015625, -0.028045654296875, -0.039306640625, 0.057342529296875, 0.050994873046875, -0.0092010498046875, -0.0012903213500976562, -0.0003941059112548828, 0.03277587890625, -0.005397796630859375, -0.036651611328125, -0.05718994140625, -0.0240325927734375, 0.02301025390625, -0.041107177734375, 0.0244903564453125, -0.0247344970703125, 0.011260986328125, 0.0006585121154785156, 0.00403594970703125, 0.02685546875, -0.01241302490234375, 0.05267333984375, -0.040130615234375, 0.0462646484375, -0.00730133056640625, -0.0033626556396484375, -0.052764892578125, -0.0109405517578125, 0.058563232421875, 0.01137542724609375, -0.046539306640625, 0.01751708984375, -0.01540374755859375, -0.031005859375, 0.032196044921875, 0.0032711029052734375, 0.0341796875, 0.046966552734375, -0.00495147705078125, -0.004436492919921875, -0.010986328125, 0.023651123046875, -0.03448486328125, 0.021697998046875, 0.0007195472717285156, 0.002086639404296875, 0.037353515625, 0.036773681640625, -0.0230865478515625, 0.060577392578125, -0.013031005859375, 0.0574951171875, 0.0305023193359375, 0.0806884765625, 0.0199737548828125, -0.058258056640625, -0.019500732421875, 0.058013916015625, -0.06390380859375, -0.0638427734375, -0.046630859375, 0.045318603515625, 0.059356689453125, 0.0008816719055175781, -0.0044708251953125, -0.00373077392578125, 0.00775909423828125, 0.007297515869140625, -0.01776123046875, -0.015045166015625, -0.0015735626220703125, 0.0010890960693359375, 0.023040771484375, 0.01038360595703125, -0.00449371337890625, -0.0002892017364501953, -0.032318115234375, -0.04278564453125, 0.0240325927734375, -0.0394287109375, 0.04156494140625, -0.029998779296875, -0.0439453125, 0.02191162109375, -0.0226898193359375, -0.03662109375, -0.00995635986328125, -0.0125274658203125, -0.01308441162109375, -0.0000095367431640625, 0.032928466796875, 0.01508331298828125, 0.0195465087890625, 0.0111236572265625, -0.04620361328125, 0.033782958984375, 0.0092620849609375, 0.01454925537109375, -0.0310211181640625, 0.007404327392578125, -0.033935546875, -0.027069091796875, -0.037567138671875, 0.020721435546875, -0.0003845691680908203, -0.006267547607421875, 0.01198577880859375, -0.0129241943359375, 0.017547607421875, -0.019287109375, 0.01444244384765625, -0.0036754608154296875, 0.00226593017578125, -0.0001996755599975586, -0.01448822021484375, -0.040802001953125, 0.0227813720703125, 0.0310516357421875, -0.0037937164306640625, -0.003208160400390625, 0.040924072265625, 0.05047607421875, -0.0343017578125, -0.0018644332885742188, -0.077392578125, -0.00872039794921875, -0.006839752197265625, 0.00011479854583740234, 0.001071929931640625, -0.01078033447265625, -0.0027828216552734375, 0.019012451171875, -0.023101806640625, -0.002166748046875, -0.0267333984375, 0.032867431640625, -0.020263671875, 0.00018072128295898438, 0.00649261474609375, -0.00927734375, 0.0255279541015625, -0.0343017578125, 0.014556884765625, -0.01849365234375, -0.01052093505859375, 0.0009455680847167969, 0.007476806640625, -0.009307861328125, 0.0084991455078125, 0.036773681640625, 0.01177215576171875, 0.03717041015625, 0.0151214599609375, 0.0223846435546875, 0.019287109375, -0.027740478515625, 0.01507568359375, 0.0260009765625, 0.059417724609375, -0.0122222900390625, -0.00728607177734375, 0.039794921875, -0.033538818359375, -0.004291534423828125, -0.00928497314453125, 0.042724609375, -0.0235137939453125, 0.01690673828125, 0.0211029052734375, 0.00775146484375, 0.017120361328125, 0.01544189453125, 0.0066986083984375, -0.00720977783203125, -0.006931304931640625, 0.03375244140625, -0.000045359134674072266, 0.02252197265625, 0.001163482666015625, -0.0140838623046875, -0.0185394287109375, -0.007015228271484375, 0.01157379150390625, 0.0249176025390625, -0.022064208984375, 0.0028228759765625, -0.002079010009765625, -0.0175018310546875, 0.00313568115234375, 0.0325927734375, -0.013214111328125, -0.062225341796875, 0.032501220703125, -0.035369873046875, -0.00576019287109375, -0.010528564453125, 0.04376220703125, 0.050384521484375, 0.019744873046875, 0.03643798828125, -0.0389404296875, -0.00531768798828125, 0.010986328125, -0.0202484130859375, -0.05657958984375, -0.00447845458984375, -0.00307464599609375, -0.041107177734375, 0.0232696533203125, -0.0087738037109375, -0.043121337890625, -0.00966644287109375, 0.01351165771484375, 0.09490966796875, -0.06597900390625, -0.0035800933837890625, 0.0428466796875, 0.0245513916015625, -0.024810791015625, -0.03082275390625, 0.033599853515625, -0.050262451171875, 0.00440216064453125, -0.01422882080078125, 0.01313018798828125, -0.00811767578125, -0.031829833984375, -0.0914306640625, 0.07342529296875, 0.045257568359375, 0.02490234375, -0.0264892578125, 0.032379150390625, -0.0170135498046875, 0.0141448974609375, -0.014404296875, 0.09283447265625, -0.01145172119140625, 0.0225677490234375, -0.04132080078125, 0.00542449951171875, 0.0064697265625, 0.016082763671875, 0.1260986328125, 0.03546142578125, -0.017120361328125, -0.005130767822265625, 0.046051025390625, 0.0136260986328125, -0.04376220703125, 0.044158935546875, -0.0137176513671875, 0.037750244140625, 0.057861328125, -0.069091796875, 0.002716064453125, 0.03485107421875, 0.003387451171875, 0.0245208740234375, -0.0010099411010742188, -0.01435089111328125, -0.0142974853515625, 0.0330810546875, 0.0020751953125, -0.014007568359375, -0.004802703857421875, -0.019561767578125, 0.0242156982421875, 0.01398468017578125, 0.0273895263671875, -0.018646240234375, -0.00384521484375, -0.0082550048828125, 0.044586181640625, 0.01184844970703125, 0.0245513916015625, 0.0037078857421875, 0.01385498046875, 0.043304443359375, -0.0172882080078125, 0.005527496337890625, 0.0212860107421875, -0.027618408203125, 0.062408447265625, 0.0180816650390625, 0.0159454345703125, -0.02911376953125, 0.0179901123046875, 0.005191802978515625, 0.057281494140625, -0.049102783203125, -0.048187255859375, 0.025543212890625, 0.0024394989013671875, -0.024200439453125, -0.005710601806640625, -0.04278564453125, -0.05029296875, 0.0263824462890625, -0.031494140625, 0.0002758502960205078, 0.0033130645751953125, 0.0036792755126953125, -0.0007648468017578125, 0.003814697265625, -0.00690460205078125, 0.01097869873046875, -0.0570068359375, 0.020233154296875, 0.0106353759765625, 0.0653076171875, 0.03106689453125, 0.05322265625, 0.0084991455078125, -0.0266571044921875, -0.004283905029296875, 0.004425048828125, 0.004611968994140625, -0.00920867919921875, -0.03814697265625, -0.058868408203125, 0.059844970703125, 0.04541015625, 0.01462554931640625, 0.04339599609375, 0.052642822265625, 0.01488494873046875, -0.0285491943359375, -0.0179595947265625, 0.005828857421875, -0.043487548828125, 0.00804901123046875, -0.0244140625, -0.02984619140625, -0.04815673828125, -0.024688720703125, -0.0234527587890625, 0.048095703125, -0.061492919921875, 0.0060577392578125, 0.01629638671875, 0.007312774658203125, 0.00414276123046875, 0.04229736328125, -0.00556182861328125, -0.01082611083984375, 0.01181793212890625, -0.06280517578125, 0.009246826171875, -0.064208984375, -0.0204315185546875, 0.002056121826171875, 0.0178070068359375, -0.0236663818359375, 0.035400390625, -0.009552001953125, -0.0155029296875, -0.0040283203125, 0.0015163421630859375, 0.028472900390625, 0.04534912109375, 0.012451171875, 0.0232086181640625, -0.036529541015625, -0.020782470703125, -0.005268096923828125, 0.0275115966796875, 0.0068206787109375, 0.046417236328125, -0.0023517608642578125, 0.0199432373046875, -0.047027587890625, 0.039764404296875, -0.036407470703125, -0.0135498046875, 0.0245361328125, 0.03253173828125, -0.00797271728515625, -0.028076171875, -0.022125244140625, -0.00714111328125, 0.052337646484375, -0.00982666015625, 0.007396697998046875, -0.0198822021484375, 0.0238800048828125, -0.020599365234375, 0.0288238525390625, -0.00823974609375, -0.00039768218994140625, 0.0073699951171875, 0.0096435546875, 0.034820556640625, 0.051483154296875, 0.0159454345703125, 0.00310516357421875, 0.0304718017578125, -0.037200927734375, 0.045379638671875, -0.0162811279296875, 0.055572509765625, 0.0304107666015625, 0.01488494873046875, 0.0028896331787109375, -0.004711151123046875, -0.023712158203125, 0.01132965087890625, -0.002899169921875, 0.026275634765625, 0.0107879638671875, -0.029052734375, -0.0255889892578125, -0.003437042236328125, 0.0193023681640625, -0.004611968994140625, -0.003955841064453125, -0.025909423828125, 0.000919342041015625, -0.0013580322265625, 0.047393798828125, -0.0107879638671875, -0.0096282958984375, -0.00740814208984375, -0.00888824462890625, -0.0009760856628417969, -0.0277557373046875, -0.0167694091796875, -0.00704193115234375, 0.0196380615234375, 0.001316070556640625, -0.01020050048828125, 0.037353515625, -0.0284271240234375, -0.03778076171875, 0.0203857421875, -0.052459716796875, -0.007781982421875, -0.0005640983581542969, -0.0128326416015625, -0.034332275390625, -0.050445556640625, 0.0310516357421875, -0.02435302734375, -0.01018524169921875, -0.01125335693359375, -0.0168914794921875, -0.005901336669921875, -0.009674072265625, 0.0251312255859375, 0.01654052734375, 0.07550048828125, -0.036773681640625, -0.0070037841796875, 0.004734039306640625, -0.0010890960693359375, -0.03131103515625, 0.0177001953125, -0.07501220703125, -0.0277862548828125, -0.03717041015625, 0.04974365234375, 0.0511474609375, -0.02911376953125, -0.1202392578125, 0.024383544921875, -0.038970947265625, -0.04241943359375, -0.0306243896484375, -0.0190277099609375, -0.007488250732421875, 0.031707763671875, 0.0027141571044921875, -0.00514984130859375, -0.0290069580078125, 0.049468994140625, -0.01299285888671875, 0.05059814453125, 0.00667572021484375, -0.015899658203125, 0.037384033203125, 0.0199432373046875, 0.027099609375, 0.007354736328125, -0.03802490234375, 0.0360107421875, 0.0169219970703125, 0.0565185546875, -0.002918243408203125, 0.04364013671875, 0.021484375, -0.0277099609375, -0.00757598876953125, -0.0165252685546875, -0.034820556640625, 0.0022792816162109375, 0.07562255859375, 0.07476806640625, 0.0266265869140625, -0.05889892578125, -0.002025604248046875, -0.04327392578125, -0.0161895751953125, -0.038665771484375, 0.011383056640625, -0.0718994140625, -0.029998779296875, 0.0095672607421875, -0.0171661376953125, 0.01458740234375, -0.03167724609375, -0.01617431640625, -0.001949310302734375, 0.0018262863159179688, 0.01354217529296875, -0.0266876220703125, 0.044342041015625, 0.0178070068359375, -0.031524658203125, -0.0241851806640625, -0.01409912109375, -0.00909423828125, -0.01091766357421875, -0.02374267578125, 0.00841522216796875, -0.01739501953125, -0.0235748291015625, 0.01348114013671875, 0.0038127899169921875, 0.0037403106689453125, -0.0281219482421875, -0.0260467529296875, -0.030517578125, 0.0133819580078125, 0.00963592529296875, 0.01161956787109375, 0.010772705078125, 0.0285797119140625, 0.0300445556640625, 0.0187530517578125, -0.033355712890625, 0.05889892578125, -0.01422119140625, 0.03070068359375, -0.0050506591796875, -0.0000890493392944336, 0.041168212890625, -0.00983428955078125, -0.010528564453125, 0.0287322998046875, 0.00507354736328125, -0.08123779296875, 0.04730224609375, 0.048431396484375, 0.0418701171875, 0.034332275390625 ]
fb7629f37667b4d8ad243ff471c24d89da69a956
Wordpress Stackexchange Q: Css of both themes of my child theme isn't showing up! I made a child theme of a child called one-edge. One edge is a child theme of the theme llorix-one-lite. in the one-edge child theme folder I put a style.css and a functions.php. in the style.css I am linking to the parent template: llorix-one-lite. In the functions.php I placed the following code: <?php add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } ?> The problem is that when I inspect the code of my website it only shows the css of the parent theme: llorix-one-lite. Should i just put both theme names in the style.css like this to make them both show up?: Template: llorix-one-lite, one-edge? thank you guys A: Child themes of child themes (aka grandchild themes) are not supported, so this will not work: Template: llorix-one-lite, one-edge Instead, I'd suggest forking the llorix-one-lite theme into One Edge and proceeding from there.
Q: Css of both themes of my child theme isn't showing up! I made a child theme of a child called one-edge. One edge is a child theme of the theme llorix-one-lite. in the one-edge child theme folder I put a style.css and a functions.php. in the style.css I am linking to the parent template: llorix-one-lite. In the functions.php I placed the following code: <?php add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } ?> The problem is that when I inspect the code of my website it only shows the css of the parent theme: llorix-one-lite. Should i just put both theme names in the style.css like this to make them both show up?: Template: llorix-one-lite, one-edge? thank you guys A: Child themes of child themes (aka grandchild themes) are not supported, so this will not work: Template: llorix-one-lite, one-edge Instead, I'd suggest forking the llorix-one-lite theme into One Edge and proceeding from there.
wordpress
{ "language": "en", "length": 160, "provenance": "stackexchange_00019.jsonl.gz:474818", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262054" }
[ -0.0411376953125, -0.0095367431640625, -0.0214996337890625, -0.00152587890625, -0.017974853515625, -0.005329132080078125, 0.0014171600341796875, 0.00576019287109375, -0.0526123046875, 0.0255126953125, -0.01503753662109375, 0.06231689453125, -0.0438232421875, -0.015838623046875, 0.025360107421875, -0.032318115234375, 0.024078369140625, -0.0380859375, -0.013763427734375, 0.00679779052734375, -0.00478363037109375, 0.03228759765625, -0.03814697265625, 0.006694793701171875, 0.02508544921875, -0.054168701171875, 0.057159423828125, -0.05267333984375, 0.0238494873046875, -0.02984619140625, 0.01953125, 0.0026111602783203125, 0.049896240234375, 0.0010614395141601562, -0.04931640625, -0.06671142578125, -0.0343017578125, -0.0029315948486328125, -0.046875, 0.02178955078125, -0.00426483154296875, -0.001567840576171875, -0.03228759765625, 0.0200653076171875, -0.0228271484375, -0.078857421875, 0.0160369873046875, -0.06304931640625, -0.0018110275268554688, 0.0167999267578125, 0.0209808349609375, -0.005962371826171875, 0.0162353515625, 0.003910064697265625, 0.0028781890869140625, 0.03289794921875, -0.0254364013671875, 0.018463134765625, 0.031646728515625, 0.024169921875, -0.0264434814453125, -0.0016660690307617188, 0.002155303955078125, -0.05560302734375, -0.030426025390625, -0.025665283203125, -0.06182861328125, 0.006465911865234375, -0.03173828125, -0.0246734619140625, 0.046783447265625, -0.0303192138671875, 0.0472412109375, -0.057098388671875, 0.0237274169921875, 0.00511932373046875, -0.03387451171875, -0.005664825439453125, 0.037139892578125, -0.029144287109375, -0.00246429443359375, -0.03594970703125, -0.060455322265625, -0.056182861328125, 0.0462646484375, -0.0075836181640625, 0.0069122314453125, 0.005645751953125, 0.0110931396484375, -0.01352691650390625, 0.00444793701171875, -0.0117034912109375, -0.00228118896484375, 0.017578125, 0.01556396484375, -0.054718017578125, 0.057830810546875, 0.0266265869140625, -0.0137939453125, -0.0341796875, 0.038360595703125, -0.060516357421875, 0.023162841796875, -0.011260986328125, 0.006687164306640625, 0.00798797607421875, 0.01528167724609375, 0.0163421630859375, 0.0275115966796875, 0.0151824951171875, 0.0022029876708984375, 0.0635986328125, -0.0091400146484375, -0.03607177734375, -0.01418304443359375, 0.025146484375, -0.01250457763671875, 0.02117919921875, 0.0281219482421875, 0.0149383544921875, -0.0120849609375, 0.0294036865234375, 0.01055145263671875, -0.01245880126953125, 0.00927734375, -0.004917144775390625, 0.00019347667694091797, -0.0283355712890625, 0.033966064453125, 0.005313873291015625, -0.027801513671875, 0.0205535888671875, 0.03369140625, -0.01837158203125, -0.01123809814453125, -0.00775146484375, 0.0400390625, 0.07476806640625, 0.04718017578125, -0.0016622543334960938, 0.042510986328125, -0.04058837890625, -0.0289764404296875, 0.0738525390625, -0.0311126708984375, 0.023529052734375, 0.01491546630859375, 0.0165252685546875, 0.006381988525390625, -0.04925537109375, 0.004322052001953125, -0.03497314453125, 0.033538818359375, -0.0146331787109375, -0.003665924072265625, -0.07525634765625, 0.006801605224609375, -0.038818359375, 0.044158935546875, -0.041656494140625, -0.040618896484375, 0.01934814453125, 0.0819091796875, 0.0008759498596191406, 0.0170745849609375, -0.0248870849609375, -0.0236663818359375, 0.016937255859375, 0.0184783935546875, -0.01517486572265625, -0.002288818359375, -0.039215087890625, 0.00785064697265625, -0.00621795654296875, -0.007221221923828125, 0.036407470703125, -0.0259857177734375, 0.0034809112548828125, 0.0185699462890625, 0.040252685546875, -0.0007352828979492188, -0.04144287109375, 0.035064697265625, -0.00638580322265625, -0.019256591796875, -0.019775390625, 0.00971221923828125, -0.00699615478515625, 0.01222991943359375, 0.0190887451171875, 0.007381439208984375, 0.01494598388671875, 0.0211181640625, -0.027374267578125, -0.0019664764404296875, -0.0188140869140625, -0.0164947509765625, -0.002227783203125, -0.012847900390625, 0.01491546630859375, -0.007598876953125, -0.005008697509765625, 0.038116455078125, -0.0247344970703125, -0.0048828125, -0.00649261474609375, -0.0156707763671875, 0.03466796875, -0.0197601318359375, 0.037872314453125, 0.0024204254150390625, 0.0095672607421875, -0.006988525390625, -0.0399169921875, 0.007740020751953125, 0.0186614990234375, 0.048858642578125, 0.036102294921875, 0.025665283203125, -0.010528564453125, 0.044647216796875, 0.0158233642578125, 0.027252197265625, 0.042724609375, 0.04345703125, 0.017822265625, -0.03106689453125, -0.004077911376953125, 0.0078277587890625, 0.0347900390625, -0.07464599609375, 0.0307159423828125, 0.0288238525390625, 0.0215301513671875, -0.0455322265625, 0.011077880859375, 0.0035686492919921875, 0.005771636962890625, 0.00507354736328125, 0.0187835693359375, 0.0099029541015625, 0.04632568359375, -0.0545654296875, -0.01123046875, 0.0704345703125, -0.0011568069458007812, -0.022064208984375, 0.019439697265625, -0.0029010772705078125, -0.0016736984252929688, 0.07342529296875, -0.0162200927734375, 0.01568603515625, -0.045166015625, 0.04217529296875, -0.006256103515625, 0.0001055598258972168, -0.0250244140625, -0.0116119384765625, 0.0164337158203125, 0.02679443359375, 0.019500732421875, -0.040130615234375, 0.0274505615234375, 0.0161895751953125, -0.01171875, 0.005767822265625, -0.00916290283203125, -0.029998779296875, 0.0106658935546875, 0.032318115234375, -0.009552001953125, 0.0015153884887695312, 0.0307769775390625, 0.02386474609375, 0.0216522216796875, -0.0086212158203125, -0.01226043701171875, 0.00904083251953125, 0.0177459716796875, -0.016693115234375, 0.002025604248046875, -0.00534820556640625, -0.01027679443359375, -0.0090789794921875, -0.046142578125, 0.0120849609375, 0.0188140869140625, 0.0288543701171875, 0.00634765625, 0.0091400146484375, 0.038909912109375, -0.00301361083984375, 0.04583740234375, 0.004596710205078125, -0.01497650146484375, 0.013702392578125, 0.006267547607421875, 0.007343292236328125, -0.020538330078125, 0.0113525390625, 0.0322265625, 0.002819061279296875, -0.02740478515625, 0.01114654541015625, -0.0242919921875, 0.0230712890625, 0.02850341796875, 0.0186614990234375, -0.046417236328125, 0.0204925537109375, -0.01229095458984375, 0.043548583984375, 0.01428985595703125, 0.035614013671875, -0.01739501953125, 0.00782012939453125, 0.05291748046875, -0.000911712646484375, -0.0010967254638671875, -0.030792236328125, -0.06402587890625, 0.0031185150146484375, -0.032989501953125, -0.040069580078125, 0.004528045654296875, -0.024139404296875, 0.020538330078125, 0.035125732421875, -0.056976318359375, -0.0439453125, -0.041412353515625, -0.08209228515625, 0.009674072265625, 0.0181884765625, 0.0157928466796875, 0.01012420654296875, 0.03204345703125, 0.009613037109375, -0.037322998046875, 0.01824951171875, 0.0556640625, -0.01403045654296875, -0.003787994384765625, 0.0178680419921875, -0.052764892578125, 0.0089263916015625, 0.0110321044921875, -0.043548583984375, 0.00197601318359375, 0.009429931640625, -0.029998779296875, -0.0032024383544921875, -0.0003666877746582031, 0.018707275390625, 0.03497314453125, -0.0022430419921875, -0.019775390625, 0.0211029052734375, -0.0552978515625, -0.0908203125, -0.0038776397705078125, -0.07110595703125, 0.08831787109375, 0.058929443359375, -0.021636962890625, -0.00711822509765625, 0.05340576171875, 0.01403045654296875, -0.011260986328125, 0.0174560546875, -0.017974853515625, 0.053070068359375, -0.0144805908203125, -0.012786865234375, -0.031829833984375, -0.01025390625, -0.0206146240234375, 0.041595458984375, -0.004695892333984375, 0.027557373046875, -0.024932861328125, 0.045623779296875, -0.038299560546875, -0.005481719970703125, 0.028106689453125, -0.00719451904296875, 0.01412200927734375, -0.006683349609375, -0.005889892578125, -0.01486968994140625, 0.038238525390625, -0.09417724609375, -0.03668212890625, 0.046600341796875, 0.054168701171875, -0.059051513671875, -0.0105133056640625, -0.046630859375, -0.0146026611328125, -0.07525634765625, -0.0087890625, 0.0011911392211914062, -0.049224853515625, -0.0230865478515625, 0.02880859375, -0.0771484375, -0.0289459228515625, 0.0253753662109375, 0.0217742919921875, -0.02703857421875, 0.054443359375, -0.048858642578125, 0.04266357421875, -0.035919189453125, 0.0012712478637695312, -0.05419921875, -0.0214385986328125, -0.0038242340087890625, 0.0450439453125, 0.0217437744140625, -0.01082611083984375, 0.0043792724609375, 0.0675048828125, -0.052276611328125, 0.054595947265625, -0.003589630126953125, 0.061370849609375, -0.0030956268310546875, -0.0036296844482421875, -0.0009708404541015625, -0.023590087890625, 0.002887725830078125, -0.007389068603515625, -0.07196044921875, -0.0208587646484375, -0.020599365234375, 0.00843048095703125, 0.059661865234375, -0.04266357421875, -0.038116455078125, -0.01284027099609375, -0.020172119140625, -0.0006012916564941406, 0.0245513916015625, -0.037353515625, -0.023284912109375, -0.04693603515625, 0.0220489501953125, -0.002391815185546875, 0.0231170654296875, 0.0026721954345703125, 0.0229949951171875, 0.0023860931396484375, -0.0282745361328125, -0.003963470458984375, -0.01198577880859375, 0.0298004150390625, 0.0017709732055664062, -0.002574920654296875, 0.0009326934814453125, -0.0306243896484375, -0.0008878707885742188, 0.01031494140625, 0.01340484619140625, 0.038665771484375, 0.061737060546875, 0.02386474609375, -0.02996826171875, 0.023101806640625, 0.045196533203125, -0.11273193359375, -0.0106658935546875, -0.017303466796875, -0.0118865966796875, 0.01503753662109375, 0.04241943359375, 0.0137481689453125, -0.01194000244140625, -0.0589599609375, -0.0030460357666015625, -0.01200103759765625, 0.028289794921875, 0.033660888671875, 0.0299224853515625, 0.01357269287109375, 0.00656890869140625, 0.04022216796875, -0.0030117034912109375, 0.019989013671875, 0.031524658203125, 0.0041961669921875, 0.0305633544921875, 0.0186309814453125, -0.0262298583984375, -0.0018644332885742188, -0.026702880859375, 0.068359375, 0.039947509765625, -0.017822265625, 0.040924072265625, -0.0156402587890625, -0.00576019287109375, -0.0404052734375, -0.00533294677734375, 0.015106201171875, 0.005054473876953125, -0.0352783203125, -0.0086517333984375, 0.0291748046875, -0.0304107666015625, -0.0286865234375, -0.0019855499267578125, 0.0233306884765625, -0.0216827392578125, 0.004001617431640625, -0.0024585723876953125, 0.0294952392578125, -0.019012451171875, -0.01103973388671875, -0.0640869140625, -0.07330322265625, 0.029632568359375, 0.03753662109375, -0.03497314453125, 0.0577392578125, -0.036529541015625, 0.055816650390625, -0.023651123046875, -0.044281005859375, 0.0533447265625, 0.059478759765625, -0.005268096923828125, 0.00551605224609375, -0.01412200927734375, 0.01155853271484375, -0.023834228515625, -0.0225830078125, -0.01345062255859375, -0.00380706787109375, 0.006130218505859375, 0.02825927734375, 0.0014696121215820312, 0.0400390625, -0.0032482147216796875, -0.0106201171875, -0.011871337890625, -0.0190582275390625, 0.060028076171875, -0.072998046875, 0.01413726806640625, 0.0188751220703125, -0.0126800537109375, -0.02703857421875, -0.00626373291015625, -0.05047607421875, -0.0180511474609375, -0.01953125, -0.0162506103515625, 0.011993408203125, -0.01450347900390625, 0.043792724609375, -0.043792724609375, -0.006923675537109375, -0.045379638671875, -0.01351165771484375, 0.0740966796875, 0.04876708984375, -0.046112060546875, 0.01354217529296875, -0.040252685546875, -0.0153961181640625, -0.008392333984375, -0.0229949951171875, -0.056427001953125, -0.0129547119140625, -0.0167083740234375, 0.00279998779296875, 0.00301361083984375, 0.01271820068359375, -0.0009675025939941406, 0.0202789306640625, -0.00807952880859375, -0.0032253265380859375, -0.020416259765625, 0.0411376953125, 0.0035762786865234375, 0.0291595458984375, 0.01267242431640625, 0.0291290283203125, 0.01483917236328125, -0.033172607421875, -0.013214111328125, -0.048370361328125, 0.0296478271484375, -0.023529052734375, 0.0305328369140625, 0.0240631103515625, 0.0443115234375, 0.0228729248046875, 0.039794921875, -0.0007758140563964844, 0.01338958740234375, -0.01045989990234375, -0.00019919872283935547, -0.0352783203125, 0.01229095458984375, 0.0189361572265625, -0.0048980712890625, -0.00580596923828125, 0.00574493408203125, 0.04180908203125, 0.006061553955078125, -0.00635528564453125, 0.0131988525390625, -0.028350830078125, -0.044708251953125, 0.0303497314453125, 0.042388916015625, -0.0010557174682617188, 0.0203704833984375, 0.0008645057678222656, 0.0204925537109375, 0.016510009765625, -0.00798797607421875, 0.0175628662109375, -0.0007157325744628906, 0.0143280029296875, -0.0184478759765625, 0.0215911865234375, 0.004428863525390625, 0.0004305839538574219, -0.0362548828125, 0.00850677490234375, 0.01430511474609375, -0.02313232421875, -0.019012451171875, 0.006404876708984375, -0.008758544921875, -0.0396728515625, -0.0217742919921875, 0.010650634765625, -0.01374053955078125, 0.032073974609375, 0.050628662109375, -0.0207977294921875, 0.00400543212890625, 0.01459503173828125, 0.020050048828125, -0.03289794921875, 0.035614013671875, 0.0014181137084960938, -0.055389404296875, 0.0017499923706054688, 0.0232391357421875, -0.0128631591796875, 0.0009026527404785156, 0.0024738311767578125, -0.0160369873046875, -0.04571533203125, -0.051666259765625, -0.0263214111328125, -0.0217742919921875, -0.02093505859375, 0.0601806640625, 0.0029735565185546875, 0.0014705657958984375, 0.040802001953125, -0.01480865478515625, 0.061492919921875, -0.030029296875, 0.020416259765625, -0.0194244384765625, -0.0247650146484375, 0.033660888671875, -0.034423828125, -0.050445556640625, 0.017791748046875, -0.0472412109375, -0.0154571533203125, -0.00250244140625, 0.00424957275390625, 0.0247650146484375, -0.004405975341796875, -0.01910400390625, 0.0186004638671875, 0.0160064697265625, 0.019256591796875, -0.00457763671875, 0.0303497314453125, -0.0399169921875, -0.032623291015625, -0.00164794921875, -0.0188140869140625, 0.01212310791015625, -0.003612518310546875, -0.04034423828125, 0.08544921875, -0.037078857421875, 0.0511474609375, 0.036773681640625, 0.036865234375, -0.01209259033203125, 0.005764007568359375, -0.01025390625, 0.043365478515625, 0.0161895751953125, -0.0002739429473876953, -0.0236663818359375, -0.00896453857421875, 0.021514892578125, 0.032012939453125, 0.036834716796875, -0.0009593963623046875, -0.037353515625, -0.0285797119140625, -0.004886627197265625, 0.00494384765625, -0.03302001953125, 0.058563232421875, 0.01151275634765625, -0.039947509765625, -0.0082550048828125, 0.031951904296875, 0.0255584716796875, 0.00102996826171875, -0.0347900390625, 0.040191650390625, 0.006481170654296875, -0.019927978515625, 0.00717926025390625, 0.0156707763671875, -0.07122802734375, 0.0206146240234375, 0.052459716796875, -0.00437164306640625, 0.049102783203125, -0.049346923828125, 0.02154541015625, -0.075927734375, -0.014312744140625, -0.000015079975128173828, 0.0262451171875, -0.00024127960205078125, -0.036590576171875, -0.032379150390625, 0.0063934326171875, -0.08880615234375, -0.058868408203125, -0.050048828125, 0.005794525146484375, -0.035552978515625, -0.01082611083984375, -0.016143798828125, 0.0115509033203125, -0.03680419921875, -0.010498046875, -0.0166778564453125, -0.00942230224609375, -0.01776123046875, -0.03485107421875, 0.0222320556640625, 0.0187835693359375, -0.008880615234375, -0.003940582275390625, 0.002178192138671875, -0.06365966796875, -0.001293182373046875, 0.0272216796875, -0.00284576416015625, 0.004634857177734375, -0.0026092529296875, 0.02215576171875, 0.025787353515625, 0.00240325927734375, 0.035369873046875, -0.01108551025390625, -0.0006413459777832031, -0.00019109249114990234, 0.01528167724609375, -0.0091400146484375, 0.054046630859375, 0.009918212890625, -0.01018524169921875, -0.041717529296875, 0.01824951171875, 0.0174713134765625, 0.0284576416015625, -0.00887298583984375, 0.008056640625, 0.0240631103515625, 0.01497650146484375, 0.006710052490234375, -0.031402587890625, 0.034515380859375, 0.0312042236328125, -0.0291748046875, -0.017333984375, 0.0138702392578125, -0.012359619140625, 0.021484375, -0.0285797119140625, 0.0384521484375, 0.0267181396484375, 0.0092010498046875, 0.01288604736328125, 0.01287078857421875, 0.062255859375, -0.002811431884765625, 0.026123046875, 0.0161590576171875, -0.0020427703857421875, -0.0176849365234375, 0.0246734619140625, -0.004932403564453125, 0.0286102294921875, -0.0618896484375, -0.037994384765625, 0.0189361572265625, 0.014068603515625, 0.01287078857421875, 0.037872314453125, -0.0007352828979492188, 0.0159759521484375, 0.03277587890625, 0.002552032470703125, -0.033721923828125, 0.022705078125, 0.00585174560546875, -0.003261566162109375, 0.025054931640625, 0.0229339599609375, -0.040496826171875, -0.038360595703125, 0.01219940185546875, 0.03033447265625, 0.0207977294921875, 0.05120849609375, -0.004383087158203125, 0.010711669921875, 0.01213836669921875, -0.00539398193359375, 0.0017194747924804688, -0.0238189697265625, 0.06243896484375, -0.0231781005859375, -0.00218963623046875, -0.00858306884765625, -0.096923828125, -0.021240234375, 0.043701171875, -0.0207366943359375, -0.00807952880859375, 0.03466796875, 0.02215576171875, -0.023223876953125, -0.00670623779296875, -0.01451873779296875, -0.011077880859375, -0.034393310546875, -0.02484130859375, 0.047271728515625, 0.043975830078125, 0.01181793212890625, 0.01702880859375, 0.09014892578125, -0.0239715576171875, 0.02264404296875, 0.0209808349609375, 0.038726806640625, 0.033538818359375, 0.057281494140625, 0.0031070709228515625, 0.005657196044921875, -0.02154541015625, 0.0570068359375, -0.01617431640625, 0.026947021484375, 0.0247650146484375, -0.01519012451171875, 0.07904052734375, 0.06170654296875, 0.0248870849609375, -0.0531005859375, -0.005218505859375, 0.1268310546875, -0.03173828125, -0.0013170242309570312, -0.00777435302734375, -0.00632476806640625, -0.053131103515625, 0.013763427734375, 0.0322265625, -0.017303466796875, 0.050506591796875, -0.0307159423828125, 0.0108184814453125, 0.05230712890625, -0.006961822509765625, -0.050628662109375, 0.0169525146484375, -0.05078125, 0.053680419921875, -0.00994110107421875, 0.0136566162109375, -0.004001617431640625, 0.0178070068359375, -0.017333984375, -0.01055908203125, -0.04510498046875, 0.01406097412109375, -0.03729248046875, -0.0095672607421875, -0.0137176513671875, 0.014892578125, 0.062744140625, -0.03948974609375, 0.0007343292236328125, 0.01251983642578125, -0.046875, -0.0158843994140625, 0.0047149658203125, -0.0164642333984375, -0.02972412109375, 0.0010747909545898438, 0.045440673828125, -0.06268310546875, -0.036834716796875, 0.01280975341796875, -0.01299285888671875, 0.005512237548828125, -0.031280517578125, -0.0621337890625, 0.0211029052734375, 0.0037689208984375, -0.0330810546875, 0.0017271041870117188, -0.0193328857421875, -0.035491943359375, 0.05615234375, 0.01434326171875, 0.00026798248291015625, 0.012725830078125, 0.046905517578125, 0.0132904052734375, 0.042449951171875, 0.022857666015625, 0.00037217140197753906, -0.031768798828125, -0.0017948150634765625, -0.01849365234375, 0.0034160614013671875, -0.0194244384765625, 0.0036220550537109375, 0.013946533203125, 0.0202178955078125, -0.032012939453125, -0.0165252685546875, -0.00787353515625, 0.0218048095703125, 0.01947021484375, 0.0234222412109375, -0.031036376953125, -0.028167724609375, 0.01380157470703125, 0.0062713623046875, -0.00043201446533203125, 0.0153961181640625, -0.027679443359375, -0.08331298828125, -0.0784912109375, -0.0102081298828125, 0.0423583984375, -0.094970703125, 0.0192413330078125, 0.06463623046875, -0.027130126953125, 0.01560211181640625, -0.01110076904296875, -0.0489501953125, 0.011199951171875, -0.0253753662109375, -0.0130615234375, -0.04815673828125, 0.0219573974609375, 0.07806396484375, -0.0301666259765625, 0.042755126953125, -0.00745391845703125, 0.0009007453918457031, 0.0823974609375, 0.0299224853515625, 0.0257568359375, 0.036651611328125, -0.027801513671875, 0.018585205078125, 0.0230255126953125, 0.0013399124145507812, -0.037841796875, -0.0276947021484375, -0.0130767822265625, -0.0212860107421875, -0.0105133056640625, -0.04718017578125, 0.00209808349609375, 0.040771484375, -0.004154205322265625, 0.08404541015625, 0.0043487548828125, 0.027984619140625, 0.0007390975952148438, 0.0077056884765625, -0.0220489501953125, 0.01195526123046875, -0.0280609130859375, 0.01190948486328125, 0.00775146484375, -0.048065185546875, 0.018890380859375, -0.053009033203125, 0.0301513671875, -0.0194091796875, -0.0169219970703125, 0.02813720703125 ]
3c65589947e01fe69df333b77ed907b076fe457d
Wordpress Stackexchange Q: Need logged in users returing to site redirected to a separate page Users to the site can register and log in and access a special page members.php, which is the home page of their account. But if they leave the site and come back (provided they are still logged in) they need to be landing on members.php and not my regular home page. Now everyone, logged in as well as logged out, folks land on the index.php page of my site. How to make the above possible? A: Add this piece of code to your theme's functions.php file: <?php if (is_user_logged_in() && !is_page('YOUR PAGE SLUG') && empty($_SERVER['HTTP_REFERER'])) { wp_safe_redirect( site_url('/members.php')); exit; } ?> Assuming that your members.php is located at http://example.com/members.php. This will redirect any logged in users to that page.
Q: Need logged in users returing to site redirected to a separate page Users to the site can register and log in and access a special page members.php, which is the home page of their account. But if they leave the site and come back (provided they are still logged in) they need to be landing on members.php and not my regular home page. Now everyone, logged in as well as logged out, folks land on the index.php page of my site. How to make the above possible? A: Add this piece of code to your theme's functions.php file: <?php if (is_user_logged_in() && !is_page('YOUR PAGE SLUG') && empty($_SERVER['HTTP_REFERER'])) { wp_safe_redirect( site_url('/members.php')); exit; } ?> Assuming that your members.php is located at http://example.com/members.php. This will redirect any logged in users to that page. A: There is no way to determine "they leave the site". Instead you will need to check user inactive time. For that you will need to track User's login session. Check this plugin, if it helps https://wordpress.org/plugins/idle-user-logout/
wordpress
{ "language": "en", "length": 169, "provenance": "stackexchange_00019.jsonl.gz:474828", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262079" }
[ 0.07275390625, 0.0294036865234375, 0.0100860595703125, -0.0110626220703125, 0.04815673828125, -0.047576904296875, 0.0687255859375, -0.059722900390625, -0.0241241455078125, 0.0222930908203125, -0.005130767822265625, 0.0114593505859375, -0.031280517578125, -0.0313720703125, 0.01448822021484375, -0.03271484375, 0.0245513916015625, -0.0333251953125, -0.0031890869140625, -0.022705078125, 0.00543975830078125, 0.01242828369140625, 0.02398681640625, 0.0250701904296875, 0.0139312744140625, 0.0006542205810546875, 0.0858154296875, -0.028106689453125, -0.00186920166015625, -0.03033447265625, 0.0152130126953125, -0.0263519287109375, 0.02215576171875, 0.0238494873046875, -0.03729248046875, -0.0186309814453125, 0.003108978271484375, -0.0015544891357421875, 0.0003726482391357422, 0.029571533203125, 0.005702972412109375, -0.0015268325805664062, 0.0038509368896484375, 0.00527191162109375, -0.0279541015625, -0.03363037109375, 0.0257110595703125, 0.001064300537109375, 0.030487060546875, 0.0168914794921875, 0.01000213623046875, 0.041717529296875, 0.0090789794921875, -0.006931304931640625, -0.01873779296875, -0.00295257568359375, 0.01751708984375, -0.0004978179931640625, 0.0308685302734375, -0.01561737060546875, -0.031005859375, -0.020263671875, 0.0245361328125, -0.02239990234375, -0.031280517578125, -0.009552001953125, -0.024932861328125, 0.0188751220703125, -0.039276123046875, -0.055999755859375, -0.0004925727844238281, -0.01328277587890625, 0.0019969940185546875, 0.0297088623046875, -0.03961181640625, 0.00003039836883544922, 0.0153045654296875, 0.00843048095703125, 0.032318115234375, 0.01480865478515625, -0.07232666015625, -0.039093017578125, -0.03240966796875, -0.041748046875, 0.0071258544921875, 0.00763702392578125, -0.035980224609375, 0.018463134765625, -0.0245513916015625, 0.0116729736328125, -0.0222015380859375, 0.0008831024169921875, -0.02667236328125, -0.004695892333984375, -0.0023403167724609375, -0.0225067138671875, 0.0256805419921875, 0.052947998046875, -0.0009064674377441406, -0.002872467041015625, -0.007465362548828125, -0.03668212890625, 0.000007569789886474609, -0.02880859375, -0.00948333740234375, 0.0439453125, 0.01305389404296875, -0.001094818115234375, -0.015625, 0.001453399658203125, 0.0126190185546875, -0.041351318359375, -0.0196533203125, -0.05963134765625, -0.0247650146484375, 0.051971435546875, -0.01192474365234375, -0.026031494140625, 0.017822265625, -0.00998687744140625, -0.00713348388671875, 0.0280609130859375, -0.004512786865234375, -0.0386962890625, -0.00949859619140625, -0.03302001953125, 0.004734039306640625, -0.01971435546875, 0.00885772705078125, 0.0290069580078125, -0.0170745849609375, -0.005664825439453125, 0.04376220703125, 0.01392364501953125, -0.002407073974609375, -0.029754638671875, 0.0606689453125, -0.0142822265625, -0.0029449462890625, 0.007389068603515625, 0.0238189697265625, -0.04132080078125, -0.0341796875, -0.01163482666015625, 0.041412353515625, 0.01424407958984375, 0.02874755859375, 0.0198516845703125, -0.00023424625396728516, -0.02825927734375, 0.03564453125, -0.0013360977172851562, -0.0226593017578125, -0.0007309913635253906, 0.05462646484375, -0.01324462890625, 0.003032684326171875, -0.012939453125, 0.033660888671875, 0.03814697265625, 0.030853271484375, 0.01397705078125, 0.0128936767578125, -0.020233154296875, -0.04034423828125, -0.045867919921875, -0.041351318359375, -0.01513671875, 0.0148162841796875, 0.01082611083984375, 0.028106689453125, -0.0206298828125, -0.0034961700439453125, 0.0209503173828125, 0.006977081298828125, 0.015899658203125, -0.042877197265625, 0.046966552734375, 0.01739501953125, 0.0306396484375, 0.0281219482421875, -0.0261993408203125, 0.03387451171875, 0.0230865478515625, -0.01885986328125, 0.06390380859375, -0.0293426513671875, 0.0286407470703125, 0.0226287841796875, -0.002429962158203125, -0.032257080078125, 0.031768798828125, -0.01079559326171875, 0.0155181884765625, -0.028717041015625, -0.02667236328125, 0.0052337646484375, 0.007656097412109375, -0.0218658447265625, 0.01001739501953125, 0.0223236083984375, 0.0192108154296875, -0.0175018310546875, -0.0152435302734375, -0.0063629150390625, -0.0166168212890625, 0.01261138916015625, 0.020751953125, 0.0225830078125, 0.025787353515625, 0.0038299560546875, 0.0304107666015625, -0.0083465576171875, -0.053924560546875, -0.03765869140625, 0.004833221435546875, -0.038055419921875, 0.036163330078125, 0.01233673095703125, 0.040313720703125, 0.008880615234375, 0.00693511962890625, 0.0012388229370117188, -0.0555419921875, 0.058563232421875, -0.0157470703125, -0.031951904296875, -0.037628173828125, -0.01397705078125, -0.005245208740234375, -0.054046630859375, 0.06378173828125, -0.004550933837890625, 0.0204315185546875, -0.03253173828125, 0.00867462158203125, -0.006946563720703125, 0.004009246826171875, -0.010223388671875, 0.01078033447265625, 0.0173797607421875, 0.0355224609375, -0.034027099609375, 0.0196533203125, 0.0269927978515625, -0.049957275390625, -0.01023101806640625, 0.02545166015625, -0.0036182403564453125, 0.0287933349609375, 0.0160675048828125, -0.01523590087890625, 0.0133819580078125, -0.026885986328125, -0.0041046142578125, 0.03192138671875, -0.0098419189453125, 0.007236480712890625, -0.00754547119140625, -0.029632568359375, 0.006565093994140625, -0.0640869140625, -0.026947021484375, -0.0236968994140625, -0.0380859375, -0.0335693359375, -0.0163421630859375, -0.0256805419921875, 0.006748199462890625, -0.057769775390625, 0.0113372802734375, -0.0296173095703125, -0.0070953369140625, 0.04058837890625, 0.0218963623046875, -0.041473388671875, -0.0090179443359375, -0.0186767578125, 0.0008745193481445312, -0.003215789794921875, -0.002483367919921875, 0.0272674560546875, -0.00531005859375, -0.0160064697265625, 0.0035152435302734375, -0.01983642578125, 0.0114898681640625, 0.01898193359375, 0.0357666015625, -0.01036834716796875, 0.0157470703125, 0.00899505615234375, -0.0191650390625, 0.053009033203125, 0.015869140625, -0.0355224609375, 0.0201263427734375, -0.0323486328125, 0.034454345703125, -0.024688720703125, 0.028350830078125, 0.0648193359375, 0.005939483642578125, -0.0007700920104980469, -0.006092071533203125, -0.01145172119140625, -0.00787353515625, 0.001956939697265625, -0.0161285400390625, -0.056884765625, 0.0156402587890625, 0.050445556640625, 0.0277862548828125, 0.0157623291015625, -0.005855560302734375, -0.02764892578125, -0.01702880859375, 0.0083160400390625, -0.0714111328125, -0.06903076171875, -0.06597900390625, -0.07806396484375, 0.034515380859375, -0.0032291412353515625, -0.023712158203125, -0.000060439109802246094, 0.04205322265625, 0.037933349609375, 0.00577545166015625, 0.000762939453125, -0.037994384765625, -0.040771484375, -0.0528564453125, 0.00244140625, -0.0119476318359375, 0.003314971923828125, 0.0018510818481445312, -0.0254974365234375, -0.0258636474609375, -0.024658203125, -0.0189666748046875, 0.024688720703125, 0.0222930908203125, -0.03900146484375, -0.06072998046875, 0.028900146484375, -0.01314544677734375, -0.0035400390625, 0.01261138916015625, -0.0304412841796875, 0.0229949951171875, -0.0205535888671875, 0.00496673583984375, -0.0086669921875, 0.0076904296875, -0.0306854248046875, -0.01702880859375, 0.0083465576171875, -0.0105133056640625, -0.036956787109375, -0.0224151611328125, -0.0158538818359375, -0.06671142578125, -0.016693115234375, 0.061309814453125, -0.0181427001953125, -0.00029540061950683594, -0.054168701171875, 0.0188751220703125, 0.0211944580078125, -0.00684356689453125, 0.00882720947265625, 0.006275177001953125, 0.003429412841796875, 0.01399993896484375, -0.00527191162109375, 0.019012451171875, -0.0170135498046875, -0.0038776397705078125, -0.00994873046875, 0.0020122528076171875, -0.02191162109375, 0.02978515625, -0.04669189453125, -0.07940673828125, 0.050689697265625, -0.0140228271484375, 0.0019359588623046875, -0.03826904296875, -0.01459503173828125, -0.01441192626953125, 0.09844970703125, -0.073486328125, 0.01447296142578125, 0.0199737548828125, 0.0094146728515625, -0.008941650390625, 0.0008530616760253906, -0.0938720703125, -0.0221099853515625, -0.0265045166015625, -0.00962066650390625, 0.004703521728515625, -0.027435302734375, -0.0009737014770507812, -0.0080718994140625, -0.016937255859375, -0.016876220703125, 0.0099029541015625, 0.03839111328125, 0.0237579345703125, -0.01422119140625, 0.01284027099609375, -0.0114288330078125, 0.032928466796875, -0.020721435546875, -0.060150146484375, -0.0174102783203125, -0.0192718505859375, 0.06884765625, 0.05889892578125, -0.047332763671875, 0.0047607421875, 0.04949951171875, -0.00909423828125, -0.0206756591796875, -0.0018358230590820312, -0.00493621826171875, 0.040374755859375, 0.01241302490234375, -0.031646728515625, 0.0090484619140625, 0.020477294921875, -0.01238250732421875, -0.04925537109375, -0.03363037109375, -0.045257568359375, -0.0262908935546875, 0.0016279220581054688, -0.04150390625, -0.034271240234375, -0.029937744140625, 0.00466156005859375, 0.0035343170166015625, 0.00699615478515625, -0.01250457763671875, -0.01175689697265625, -0.0275726318359375, 0.033233642578125, 0.0102386474609375, -0.02703857421875, 0.01727294921875, 0.037811279296875, 0.023834228515625, -0.023101806640625, -0.036468505859375, 0.0235137939453125, 0.0268096923828125, 0.0070953369140625, 0.06414794921875, 0.01462554931640625, -0.0164031982421875, 0.0738525390625, 0.01074981689453125, 0.0106658935546875, -0.01399993896484375, 0.034088134765625, -0.024993896484375, -0.03704833984375, 0.0179595947265625, -0.0546875, 0.01751708984375, 0.045623779296875, 0.01406097412109375, -0.00616455078125, 0.0264739990234375, -0.00682830810546875, -0.025482177734375, -0.0132293701171875, 0.0128936767578125, -0.032684326171875, 0.005748748779296875, 0.028106689453125, 0.021453857421875, 0.01629638671875, 0.00713348388671875, 0.024993896484375, 0.042510986328125, -0.031768798828125, 0.00003069639205932617, -0.040252685546875, -0.005001068115234375, -0.0026149749755859375, -0.01300811767578125, -0.03704833984375, 0.032012939453125, -0.01232147216796875, 0.06268310546875, 0.030364990234375, -0.049835205078125, 0.047332763671875, -0.0301513671875, -0.00026106834411621094, 0.01226806640625, 0.002803802490234375, 0.0589599609375, 0.0075531005859375, -0.0335693359375, -0.00846099853515625, -0.006214141845703125, -0.0227813720703125, -0.0633544921875, -0.01515960693359375, -0.015380859375, 0.0016231536865234375, 0.0178985595703125, 0.07183837890625, -0.0172271728515625, 0.0648193359375, -0.030364990234375, 0.0482177734375, 0.05645751953125, 0.0113525390625, 0.0044708251953125, 0.041900634765625, -0.024200439453125, 0.0034351348876953125, -0.01354217529296875, -0.03277587890625, 0.0078887939453125, 0.01250457763671875, 0.00717926025390625, 0.01285552978515625, -0.021514892578125, 0.0198516845703125, -0.00992584228515625, 0.0168914794921875, 0.048919677734375, -0.040557861328125, -0.09576416015625, -0.0233612060546875, 0.006336212158203125, 0.036346435546875, -0.07244873046875, -0.005817413330078125, -0.01541900634765625, -0.007537841796875, -0.0018138885498046875, -0.005908966064453125, -0.028900146484375, 0.0015897750854492188, 0.006832122802734375, -0.0108642578125, -0.0174560546875, 0.0153350830078125, -0.0207977294921875, 0.01105499267578125, -0.0263671875, -0.032684326171875, 0.0355224609375, -0.0165557861328125, 0.020111083984375, -0.022552490234375, -0.0084686279296875, 0.007171630859375, -0.00476837158203125, 0.06072998046875, 0.0195465087890625, -0.051971435546875, 0.01544189453125, -0.04620361328125, 0.007053375244140625, 0.01374053955078125, -0.0277099609375, -0.03814697265625, -0.034637451171875, 0.029449462890625, 0.0299224853515625, -0.00012362003326416016, -0.049652099609375, -0.0172271728515625, -0.01169586181640625, 0.0306243896484375, 0.02191162109375, -0.00273895263671875, 0.0361328125, 0.005718231201171875, 0.041351318359375, 0.0199432373046875, 0.030029296875, -0.011962890625, -0.03656005859375, 0.0262451171875, 0.00005054473876953125, -0.02581787109375, -0.05181884765625, 0.007633209228515625, 0.0023975372314453125, 0.08221435546875, -0.0070953369140625, -0.02740478515625, -0.0087738037109375, 0.005084991455078125, -0.0272369384765625, 0.042266845703125, 0.0127410888671875, 0.00481414794921875, -0.032440185546875, -0.0029735565185546875, -0.015106201171875, -0.0008912086486816406, 0.01215362548828125, -0.029937744140625, 0.02581787109375, -0.016143798828125, -0.013763427734375, -0.056060791015625, 0.01386260986328125, 0.08245849609375, 0.03607177734375, 0.06494140625, 0.0019359588623046875, 0.03192138671875, 0.043121337890625, -0.0051727294921875, -0.02880859375, -0.00766754150390625, 0.0157012939453125, -0.0158843994140625, -0.007450103759765625, 0.00930023193359375, -0.00926971435546875, -0.00170135498046875, 0.083740234375, 0.0804443359375, -0.11865234375, 0.01354217529296875, 0.01189422607421875, 0.01275634765625, 0.0278472900390625, 0.0160064697265625, -0.0019407272338867188, -0.008453369140625, 0.0048370361328125, 0.012237548828125, -0.006671905517578125, 0.0068511962890625, 0.0176239013671875, -0.01580810546875, -0.038848876953125, 0.038818359375, 0.0005207061767578125, -0.0227508544921875, -0.01165008544921875, 0.00667572021484375, -0.0288238525390625, -0.026336669921875, -0.0169830322265625, 0.0377197265625, -0.0272369384765625, -0.06622314453125, 0.024749755859375, -0.01812744140625, 0.007740020751953125, 0.048370361328125, -0.0243072509765625, 0.035247802734375, 0.030029296875, -0.005168914794921875, 0.0170135498046875, -0.01239776611328125, -0.01447296142578125, 0.03729248046875, -0.004528045654296875, 0.00882720947265625, -0.01751708984375, -0.033660888671875, -0.0001436471939086914, -0.020751953125, -0.0093231201171875, -0.0247955322265625, -0.059906005859375, 0.0821533203125, -0.0011959075927734375, -0.03778076171875, -0.017852783203125, 0.005680084228515625, 0.0151519775390625, -0.0167388916015625, 0.039337158203125, -0.0631103515625, -0.037506103515625, 0.006763458251953125, -0.0269012451171875, 0.0014362335205078125, -0.0274810791015625, -0.04803466796875, 0.06072998046875, 0.0131378173828125, 0.0243377685546875, 0.014373779296875, 0.026092529296875, -0.037445068359375, 0.0092926025390625, -0.01849365234375, 0.06390380859375, 0.05029296875, 0.042938232421875, -0.0181732177734375, -0.0208740234375, 0.04144287109375, 0.042633056640625, 0.0316162109375, 0.022247314453125, -0.07366943359375, 0.000015676021575927734, 0.00988006591796875, 0.01114654541015625, -0.0003383159637451172, 0.0760498046875, -0.0115203857421875, 0.00739288330078125, 0.0382080078125, -0.0210723876953125, 0.0112457275390625, 0.03289794921875, -0.0360107421875, 0.0031414031982421875, 0.005168914794921875, -0.044097900390625, -0.0179443359375, 0.006526947021484375, -0.096435546875, 0.00951385498046875, 0.0297393798828125, 0.07666015625, -0.006694793701171875, 0.00992584228515625, 0.0004322528839111328, -0.016845703125, 0.031829833984375, -0.04034423828125, 0.0389404296875, 0.0025348663330078125, 0.0204925537109375, 0.0285186767578125, 0.01412200927734375, 0.026611328125, 0.0121917724609375, 0.00722503662109375, 0.031768798828125, -0.003368377685546875, 0.0919189453125, 0.03118896484375, 0.034576416015625, -0.052764892578125, -0.0030956268310546875, 0.03564453125, 0.119384765625, -0.049407958984375, -0.01515960693359375, -0.007495880126953125, 0.0028781890869140625, 0.03497314453125, 0.00005429983139038086, 0.06463623046875, 0.002460479736328125, -0.005950927734375, -0.031829833984375, -0.0118408203125, 0.037200927734375, -0.003948211669921875, -0.00634002685546875, -0.052947998046875, 0.0243072509765625, 0.032440185546875, -0.00616455078125, -0.010498046875, -0.003940582275390625, -0.0226898193359375, -0.003299713134765625, 0.0102081298828125, 0.0472412109375, 0.021881103515625, -0.007106781005859375, 0.021942138671875, 0.02825927734375, -0.0110321044921875, -0.038177490234375, -0.03460693359375, 0.0277557373046875, 0.0428466796875, 0.01483154296875, -0.0236053466796875, 0.00691986083984375, 0.01165008544921875, -0.033050537109375, -0.0161285400390625, 0.004810333251953125, -0.01456451416015625, 0.04473876953125, -0.0116729736328125, 0.018585205078125, 0.00820159912109375, -0.0111236572265625, -0.0274200439453125, 0.00615692138671875, 0.05169677734375, -0.03021240234375, 0.07781982421875, -0.0036869049072265625, -0.0262451171875, -0.02496337890625, -0.0245208740234375, 0.07861328125, -0.007232666015625, -0.0274658203125, -0.007049560546875, -0.01020050048828125, -0.026123046875, -0.0006761550903320312, 0.0265960693359375, 0.00885009765625, 0.004825592041015625, 0.042388916015625, 0.0156707763671875, 0.01097869873046875, -0.026947021484375, 0.020263671875, -0.03558349609375, 0.032989501953125, 0.0080108642578125, -0.08074951171875, -0.0362548828125, -0.042877197265625, 0.024810791015625, -0.00896453857421875, 0.078369140625, -0.017120361328125, 0.02685546875, -0.0372314453125, 0.002658843994140625, -0.0222320556640625, -0.049652099609375, 0.035125732421875, -0.0189361572265625, -0.0172576904296875, 0.0022830963134765625, -0.0615234375, 0.056549072265625, -0.0084686279296875, 0.02630615234375, 0.05303955078125, -0.018463134765625, -0.001995086669921875, 0.0210113525390625, -0.024444580078125, -0.016693115234375, -0.053497314453125, -0.0285491943359375, 0.0230865478515625, 0.0225067138671875, 0.0537109375, -0.020294189453125, 0.05535888671875, -0.053314208984375, -0.032073974609375, -0.0094146728515625, -0.08306884765625, -0.04461669921875, 0.01189422607421875, 0.0234527587890625, 0.0228424072265625, 0.0149688720703125, -0.0137176513671875, 0.0220794677734375, 0.01226043701171875, 0.00457763671875, -0.0029582977294921875, 0.033660888671875, 0.01531219482421875, 0.0199432373046875, 0.02142333984375, -0.0002053976058959961, -0.01751708984375, 0.017364501953125, -0.0399169921875, -0.015625, -0.043914794921875, -0.03546142578125, -0.051422119140625, -0.0077056884765625, 0.020477294921875, -0.0268096923828125, -0.047332763671875, -0.0462646484375, 0.006343841552734375, 0.033355712890625, -0.0108795166015625, -0.016204833984375, -0.00432586669921875, -0.0301361083984375, 0.06280517578125, -0.027801513671875, -0.0218353271484375, 0.01123046875, 0.028961181640625, -0.036468505859375, 0.0204010009765625, -0.045257568359375, -0.044097900390625, -0.0278778076171875, -0.01384735107421875, 0.0565185546875, 0.01169586181640625, -0.00843048095703125, -0.072998046875, -0.0540771484375, -0.005420684814453125, -0.0882568359375, -0.0155792236328125, 0.004467010498046875, 0.00679779052734375, -0.01027679443359375, 0.0174102783203125, -0.006687164306640625, 0.053131103515625, -0.0210113525390625, 0.0219573974609375, -0.0189208984375, 0.0084228515625, -0.0335693359375, -0.07452392578125, 0.0897216796875, -0.00991058349609375, -0.0227508544921875, -0.06719970703125, 0.036773681640625, 0.006855010986328125, -0.0203704833984375, -0.0298919677734375, -0.00995635986328125, 0.00203704833984375, 0.03448486328125, 0.032928466796875, -0.0014257431030273438, 0.03582763671875, 0.037200927734375, -0.061859130859375, 0.00830841064453125, -0.025299072265625, 0.01351165771484375, 0.004241943359375, 0.00835418701171875, 0.040008544921875, 0.04815673828125, -0.01837158203125, 0.03997802734375, -0.007213592529296875, -0.019317626953125, 0.0017147064208984375, -0.033233642578125, 0.038726806640625, -0.03863525390625, -0.03125, -0.06634521484375, -0.0280609130859375, 0.041412353515625, -0.0726318359375, -0.050933837890625, -0.0015964508056640625, -0.01514434814453125, 0.0188446044921875, -0.0823974609375, 0.0107421875, 0.0167694091796875, -0.0183258056640625, -0.0032958984375, 0.0394287109375, -0.0274658203125, -0.004001617431640625, 0.0369873046875, -0.032928466796875, -0.0108642578125, -0.04345703125, 0.0180816650390625, -0.021270751953125, -0.0194549560546875, -0.0014581680297851562, 0.035064697265625, -0.0274810791015625, -0.0190582275390625, 0.049530029296875, 0.0127410888671875, -0.016204833984375, -0.013031005859375, 0.0350341796875, 0.039337158203125, -0.0033130645751953125, -0.060394287109375, -0.015655517578125, 0.0487060546875, 0.0088958740234375, 0.057159423828125, -0.0322265625, 0.0156097412109375, 0.0243072509765625, 0.0321044921875, -0.0123748779296875, -0.01045989990234375, -0.0228729248046875, 0.05755615234375, -0.00605010986328125, -0.037872314453125, 0.0225677490234375, -0.01305389404296875, 0.01171112060546875, 0.004032135009765625, 0.05194091796875, -0.0229339599609375, 0.034759521484375, 0.0031795501708984375, 0.0283355712890625, 0.0213165283203125 ]
4eda7bac50c12fe995d5ab43e773368d1ef89109
Wordpress Stackexchange Q: Display a list of child posts on parent posts of a custom post type I have a hierarchical custom post type called 'products'and I have created a 2 level parent-child relationship. I want to list all the subpages/child posts on each parent post but I have tried everything and nothing works. I tried the page-list plugin and it only works for the default 'Page' post type. Same with the tutorial found on wpbeinner.com titled "How to Display a List of Child Pages For a Parent Page in WordPress". Both work for default page type but not the custom post types. Would appreciate some input. Thanks A: The best way is using WP_Query. I think your error or plugin error could be that the 'post_type' of childs is not define. WP Query : https://codex.wordpress.org/Class_Reference/WP_Query global $post; $args = array( 'post_parent' => $post->ID, 'posts_per_page' => -1, 'post_type' => 'products', //you can use also 'any' ); $the_query = new WP_Query( $args ); // The Loop if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); // Do Stuff the_title(); echo "<br>"; the_content(); endwhile; endif; // Reset Post Data wp_reset_postdata();
Q: Display a list of child posts on parent posts of a custom post type I have a hierarchical custom post type called 'products'and I have created a 2 level parent-child relationship. I want to list all the subpages/child posts on each parent post but I have tried everything and nothing works. I tried the page-list plugin and it only works for the default 'Page' post type. Same with the tutorial found on wpbeinner.com titled "How to Display a List of Child Pages For a Parent Page in WordPress". Both work for default page type but not the custom post types. Would appreciate some input. Thanks A: The best way is using WP_Query. I think your error or plugin error could be that the 'post_type' of childs is not define. WP Query : https://codex.wordpress.org/Class_Reference/WP_Query global $post; $args = array( 'post_parent' => $post->ID, 'posts_per_page' => -1, 'post_type' => 'products', //you can use also 'any' ); $the_query = new WP_Query( $args ); // The Loop if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); // Do Stuff the_title(); echo "<br>"; the_content(); endwhile; endif; // Reset Post Data wp_reset_postdata();
wordpress
{ "language": "en", "length": 188, "provenance": "stackexchange_00019.jsonl.gz:474831", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262090" }
[ 0.0194854736328125, 0.01226043701171875, -0.0175628662109375, -0.047393798828125, 0.02508544921875, -0.0202484130859375, 0.01023101806640625, -0.012176513671875, -0.0195159912109375, 0.0090789794921875, -0.03826904296875, -0.034210205078125, -0.0496826171875, -0.0421142578125, -0.003253936767578125, -0.07928466796875, 0.053131103515625, -0.02545166015625, 0.0304718017578125, -0.01152801513671875, -0.0021762847900390625, 0.0306854248046875, 0.053955078125, 0.04754638671875, 0.0185699462890625, -0.00090789794921875, 0.01532745361328125, -0.046783447265625, 0.010406494140625, -0.02532958984375, 0.01092529296875, 0.01061248779296875, 0.0178070068359375, -0.0162506103515625, 0.0423583984375, -0.0261993408203125, 0.022979736328125, -0.030059814453125, 0.01476287841796875, 0.0170745849609375, -0.0038604736328125, 0.016082763671875, 0.0228424072265625, 0.01300048828125, -0.0147705078125, -0.0159912109375, -0.00493621826171875, -0.03948974609375, 0.0309295654296875, -0.030517578125, 0.015289306640625, -0.0218963623046875, 0.0275726318359375, -0.041839599609375, -0.027984619140625, -0.0012292861938476562, 0.0230712890625, -0.0167388916015625, 0.046356201171875, -0.0506591796875, -0.05126953125, -0.0194854736328125, 0.049285888671875, 0.0130157470703125, 0.009124755859375, 0.023590087890625, -0.0024623870849609375, 0.01146697998046875, -0.0199737548828125, 0.0005941390991210938, 0.009765625, -0.031402587890625, 0.02020263671875, -0.003662109375, -0.0086517333984375, -0.056732177734375, 0.00418853759765625, -0.0316162109375, 0.0145721435546875, 0.0222930908203125, -0.0037860870361328125, -0.01027679443359375, -0.0640869140625, 0.00910186767578125, -0.0214996337890625, 0.002941131591796875, -0.0142974853515625, -0.0016021728515625, -0.0292205810546875, -0.006702423095703125, -0.02154541015625, -0.021270751953125, -0.0079193115234375, 0.0039520263671875, -0.0037441253662109375, -0.0213165283203125, 0.035919189453125, 0.052886962890625, -0.03521728515625, 0.01476287841796875, -0.01123809814453125, -0.031524658203125, 0.0244293212890625, -0.034698486328125, 0.03753662109375, 0.00750732421875, -0.03521728515625, -0.025787353515625, 0.0919189453125, 0.055938720703125, 0.01806640625, 0.09002685546875, -0.0191802978515625, -0.021484375, -0.033294677734375, 0.038482666015625, -0.020172119140625, -0.0283203125, -0.0005717277526855469, -0.00128936767578125, 0.005046844482421875, 0.014923095703125, -0.0242767333984375, -0.006282806396484375, 0.0174407958984375, 0.005596160888671875, -0.0012054443359375, -0.0169677734375, 0.0306396484375, 0.00566864013671875, -0.0474853515625, -0.008575439453125, 0.0677490234375, 0.0235748291015625, 0.0156402587890625, -0.01396942138671875, -0.005260467529296875, -0.01067352294921875, 0.01983642578125, -0.016357421875, 0.028778076171875, -0.0235443115234375, 0.01511383056640625, 0.01690673828125, -0.0035610198974609375, 0.0065155029296875, 0.006683349609375, 0.0159149169921875, -0.0108184814453125, -0.0036468505859375, -0.002994537353515625, -0.017822265625, 0.037567138671875, -0.01285552978515625, -0.0225830078125, -0.0455322265625, 0.00394439697265625, -0.033111572265625, 0.0005593299865722656, -0.041412353515625, 0.0008616447448730469, 0.009033203125, 0.043304443359375, -0.0301971435546875, -0.048675537109375, 0.0044708251953125, -0.06494140625, -0.019378662109375, 0.0272216796875, -0.030853271484375, 0.0531005859375, -0.027587890625, 0.018218994140625, 0.0113677978515625, 0.0118865966796875, 0.01290130615234375, -0.0225982666015625, -0.0274658203125, 0.042266845703125, -0.0003895759582519531, -0.02349853515625, -0.0235137939453125, -0.0003554821014404297, 0.00577545166015625, -0.037139892578125, 0.016571044921875, 0.02459716796875, 0.019683837890625, -0.01629638671875, 0.0216522216796875, 0.057373046875, 0.047027587890625, -0.07415771484375, 0.06304931640625, 0.0167999267578125, -0.0328369140625, -0.034759521484375, -0.036376953125, -0.0045166015625, -0.00815582275390625, -0.048553466796875, -0.0238494873046875, -0.0069732666015625, -0.0029582977294921875, -0.055389404296875, 0.005077362060546875, -0.02099609375, 0.04461669921875, 0.0604248046875, 0.020233154296875, 0.004329681396484375, 0.0283050537109375, -0.030670166015625, -0.030426025390625, -0.071044921875, 0.0091705322265625, -0.0007410049438476562, 0.0223541259765625, 0.0008540153503417969, 0.0013170242309570312, -0.002410888671875, -0.03192138671875, -0.003391265869140625, 0.002475738525390625, 0.08624267578125, -0.0033664703369140625, -0.0087432861328125, -0.01532745361328125, 0.08056640625, 0.011749267578125, -0.0325927734375, 0.0230712890625, 0.0228271484375, 0.003849029541015625, -0.052947998046875, 0.006103515625, -0.0078277587890625, -0.019012451171875, 0.00522613525390625, 0.05511474609375, 0.026275634765625, 0.035614013671875, -0.0169677734375, -0.0033969879150390625, 0.0621337890625, -0.040283203125, -0.0117645263671875, -0.00920867919921875, 0.004779815673828125, 0.04443359375, 0.0243988037109375, 0.0016756057739257812, 0.02288818359375, 0.030914306640625, 0.0374755859375, 0.0021190643310546875, 0.024383544921875, 0.0203094482421875, -0.041351318359375, 0.0190582275390625, -0.0040130615234375, -0.004001617431640625, -0.0282135009765625, 0.0033359527587890625, 0.053314208984375, 0.0212860107421875, 0.056793212890625, 0.0291290283203125, -0.0269317626953125, -0.0012664794921875, 0.004459381103515625, 0.009613037109375, 0.00469207763671875, 0.0008683204650878906, -0.02252197265625, -0.01198577880859375, -0.056640625, 0.0096893310546875, 0.0122222900390625, -0.018218994140625, 0.0140380859375, 0.02398681640625, -0.0195770263671875, -0.0017633438110351562, -0.0255279541015625, -0.041046142578125, 0.006305694580078125, 0.07403564453125, -0.01537322998046875, -0.0011568069458007812, 0.031524658203125, 0.040679931640625, -0.0255584716796875, 0.041107177734375, -0.0225067138671875, 0.00313568115234375, 0.021026611328125, -0.052764892578125, 0.057708740234375, -0.058624267578125, 0.0419921875, 0.06005859375, -0.0093994140625, 0.005558013916015625, 0.0019092559814453125, -0.006717681884765625, 0.012451171875, 0.045074462890625, 0.00832366943359375, -0.033721923828125, -0.0194854736328125, -0.00832366943359375, 0.0360107421875, 0.0714111328125, 0.022186279296875, -0.0291290283203125, 0.005847930908203125, 0.0758056640625, -0.06549072265625, -0.09228515625, 0.009368896484375, -0.07379150390625, -0.0255584716796875, -0.0283203125, -0.04547119140625, 0.0140228271484375, -0.01404571533203125, 0.0107269287109375, -0.0269775390625, -0.0204925537109375, -0.0244293212890625, -0.06475830078125, -0.060028076171875, -0.01010894775390625, 0.004344940185546875, 0.019256591796875, 0.0110626220703125, 0.0609130859375, 0.011932373046875, -0.057891845703125, -0.013946533203125, 0.05694580078125, -0.022064208984375, -0.010345458984375, 0.01335906982421875, -0.0135345458984375, 0.01139068603515625, 0.0074920654296875, -0.0203094482421875, 0.03302001953125, -0.01219940185546875, -0.02459716796875, 0.0008177757263183594, 0.0208892822265625, 0.020843505859375, -0.0198211669921875, -0.0016689300537109375, 0.050872802734375, 0.019805908203125, -0.0141448974609375, -0.06329345703125, -0.01451873779296875, -0.05908203125, 0.012969970703125, 0.025604248046875, 0.0121612548828125, -0.039794921875, 0.037872314453125, 0.0174713134765625, 0.0118560791015625, 0.0290069580078125, -0.031097412109375, 0.031463623046875, 0.01200103759765625, 0.018096923828125, -0.02606201171875, 0.0229034423828125, -0.0186614990234375, 0.00424957275390625, 0.0027523040771484375, 0.01065826416015625, 0.01082611083984375, -0.00994873046875, -0.02301025390625, -0.0540771484375, 0.040557861328125, 0.0088958740234375, 0.01279449462890625, -0.0264892578125, -0.03289794921875, -0.00244903564453125, 0.08087158203125, -0.041839599609375, -0.006145477294921875, -0.03985595703125, -0.004528045654296875, -0.02935791015625, -0.05975341796875, -0.04522705078125, -0.0021686553955078125, -0.04705810546875, 0.01082611083984375, 0.00022673606872558594, -0.0298004150390625, 0.0196075439453125, 0.01303863525390625, -0.020233154296875, -0.009735107421875, 0.044189453125, -0.0234832763671875, -0.02099609375, 0.0200347900390625, -0.0182647705078125, -0.0157623291015625, -0.028106689453125, 0.00788116455078125, -0.08551025390625, -0.0236968994140625, 0.03363037109375, 0.061126708984375, -0.00017440319061279297, -0.048980712890625, 0.0019741058349609375, 0.06915283203125, 0.052276611328125, 0.022003173828125, -0.01293182373046875, -0.040679931640625, -0.0244903564453125, -0.0165863037109375, 0.0018825531005859375, -0.02581787109375, -0.0321044921875, -0.03167724609375, 0.0227813720703125, 0.01959228515625, -0.0390625, -0.021209716796875, -0.032562255859375, 0.0129852294921875, -0.041748046875, -0.029571533203125, -0.01971435546875, -0.0186920166015625, -0.020050048828125, -0.0031280517578125, -0.01068878173828125, -0.05975341796875, -0.0015554428100585938, 0.03289794921875, -0.040863037109375, 0.0218963623046875, 0.032318115234375, 0.0247344970703125, -0.02410888671875, -0.053802490234375, -0.0367431640625, 0.0003418922424316406, -0.022857666015625, 0.036895751953125, 0.0026073455810546875, 0.00804901123046875, 0.026947021484375, -0.0233917236328125, 0.03057861328125, 0.006740570068359375, 0.0261383056640625, 0.01049041748046875, -0.0091400146484375, 0.0242156982421875, 0.0111083984375, -0.029083251953125, 0.01512908935546875, -0.0187835693359375, -0.036529541015625, -0.007633209228515625, 0.0604248046875, -0.0193634033203125, 0.037628173828125, -0.050567626953125, -0.00952911376953125, 0.00971221923828125, 0.034149169921875, -0.0149993896484375, 0.0239410400390625, 0.0003542900085449219, -0.0163421630859375, -0.03192138671875, 0.02740478515625, 0.025115966796875, 0.08099365234375, 0.006900787353515625, 0.069091796875, 0.0254058837890625, 0.020721435546875, -0.04278564453125, 0.0030574798583984375, 0.0261077880859375, 0.00868988037109375, -0.0323486328125, 0.01027679443359375, -0.0023632049560546875, 0.004764556884765625, -0.01056671142578125, 0.049957275390625, 0.04229736328125, 0.03436279296875, 0.01119232177734375, -0.01428985595703125, 0.0258941650390625, 0.026611328125, -0.028411865234375, 0.003932952880859375, 0.005184173583984375, -0.005168914794921875, -0.032684326171875, 0.08447265625, -0.0006914138793945312, 0.032623291015625, -0.0177459716796875, 0.0084991455078125, 0.01007843017578125, 0.040283203125, 0.019561767578125, -0.01201629638671875, 0.004024505615234375, 0.0127410888671875, 0.02325439453125, -0.050262451171875, -0.030426025390625, 0.024444580078125, 0.0791015625, 0.00647735595703125, -0.01067352294921875, 0.005611419677734375, -0.0194091796875, -0.005733489990234375, 0.0225830078125, -0.005035400390625, -0.01137542724609375, -0.01947021484375, 0.010498046875, 0.05548095703125, 0.0079498291015625, -0.0262298583984375, 0.01910400390625, -0.033294677734375, 0.011749267578125, -0.01113128662109375, -0.033416748046875, 0.0124053955078125, 0.005435943603515625, -0.042572021484375, -0.0252532958984375, 0.0216217041015625, -0.03509521484375, -0.0214691162109375, -0.00347137451171875, -0.014068603515625, -0.005176544189453125, -0.006031036376953125, 0.056976318359375, -0.044403076171875, -0.0221099853515625, -0.038421630859375, -0.0054779052734375, 0.07794189453125, 0.05096435546875, -0.0440673828125, 0.002689361572265625, -0.017303466796875, -0.01971435546875, 0.005542755126953125, -0.0186614990234375, -0.060394287109375, -0.019073486328125, -0.013427734375, 0.0262451171875, -0.0313720703125, -0.027435302734375, -0.03692626953125, -0.02044677734375, -0.0017757415771484375, 0.0243072509765625, -0.01416778564453125, 0.08172607421875, -0.040557861328125, 0.05560302734375, 0.0014476776123046875, 0.01715087890625, -0.0178070068359375, -0.00298309326171875, 0.008880615234375, -0.04193115234375, -0.022796630859375, -0.009674072265625, -0.0238037109375, 0.01678466796875, 0.031707763671875, -0.006969451904296875, 0.02581787109375, -0.03594970703125, -0.01348876953125, -0.0207366943359375, 0.0236968994140625, -0.042144775390625, 0.007404327392578125, 0.032135009765625, -0.0197906494140625, -0.0024471282958984375, 0.0263519287109375, -0.0220794677734375, 0.0173187255859375, 0.01509857177734375, -0.00125885009765625, -0.006793975830078125, -0.054229736328125, 0.045440673828125, 0.05035400390625, -0.00293731689453125, 0.0362548828125, -0.0004448890686035156, 0.01233673095703125, 0.010101318359375, 0.007266998291015625, 0.00027060508728027344, 0.0096282958984375, 0.06610107421875, -0.00600433349609375, -0.03118896484375, 0.0273284912109375, -0.03948974609375, -0.04095458984375, -0.00008934736251831055, -0.01229095458984375, -0.0264129638671875, -0.0090179443359375, -0.00940704345703125, 0.01220703125, 0.0189666748046875, -0.00063323974609375, 0.0181884765625, 0.0194244384765625, -0.0234527587890625, 0.0152435302734375, -0.045928955078125, -0.0185089111328125, 0.0057373046875, -0.0063629150390625, -0.0096435546875, 0.0704345703125, 0.01178741455078125, -0.00347137451171875, -0.017913818359375, -0.016845703125, -0.02392578125, -0.0386962890625, 0.00640869140625, -0.0260009765625, 0.0085296630859375, -0.0533447265625, 0.01459503173828125, -0.031463623046875, 0.0244598388671875, 0.0274505615234375, 0.0268402099609375, -0.03314208984375, 0.07086181640625, -0.036529541015625, 0.054840087890625, 0.033966064453125, -0.06268310546875, -0.06695556640625, -0.0018815994262695312, 0.00010347366333007812, 0.0174560546875, -0.062286376953125, 0.0295867919921875, -0.07769775390625, 0.02099609375, -0.00213623046875, -0.013519287109375, 0.01113128662109375, -0.04010009765625, 0.0020313262939453125, 0.0240478515625, 0.032012939453125, 0.0030078887939453125, 0.007549285888671875, -0.005863189697265625, -0.0101165771484375, 0.0110931396484375, -0.0034275054931640625, -0.01020050048828125, -0.0264739990234375, -0.01403045654296875, -0.07012939453125, 0.0955810546875, -0.0234222412109375, 0.047332763671875, 0.018157958984375, 0.020416259765625, -0.0152435302734375, -0.00775146484375, -0.0290985107421875, 0.05023193359375, 0.049102783203125, 0.055511474609375, -0.070556640625, -0.049224853515625, 0.020477294921875, 0.0888671875, 0.038848876953125, -0.00304412841796875, -0.05706787109375, -0.00153350830078125, 0.030181884765625, 0.0096588134765625, 0.00414276123046875, 0.05706787109375, 0.0152740478515625, 0.0233917236328125, 0.044891357421875, -0.01824951171875, 0.0347900390625, -0.00972747802734375, -0.00148773193359375, 0.0303497314453125, 0.01222991943359375, 0.01593017578125, -0.036773681640625, 0.0065155029296875, -0.0308074951171875, -0.0267181396484375, 0.01406097412109375, -0.003238677978515625, 0.03253173828125, 0.052337646484375, 0.044158935546875, -0.059356689453125, -0.0282440185546875, -0.032440185546875, 0.05047607421875, -0.0219879150390625, 0.020233154296875, -0.0008902549743652344, 0.015869140625, 0.0210418701171875, -0.0203094482421875, 0.005199432373046875, 0.0283966064453125, -0.0384521484375, 0.022186279296875, 0.0192718505859375, -0.0007333755493164062, -0.044586181640625, 0.0426025390625, 0.0249176025390625, 0.0267486572265625, -0.06494140625, -0.1007080078125, 0.028411865234375, 0.01087188720703125, 0.00901031494140625, 0.0229949951171875, -0.01202392578125, 0.0104217529296875, 0.09210205078125, -0.035552978515625, -0.01259613037109375, 0.0244598388671875, 0.0215606689453125, -0.003326416015625, -0.040679931640625, -0.00797271728515625, -0.0257415771484375, 0.0164947509765625, -0.03057861328125, 0.02154541015625, 0.0467529296875, 0.02386474609375, 0.0284881591796875, -0.06915283203125, -0.033294677734375, -0.005157470703125, -0.010101318359375, 0.00923919677734375, 0.0009860992431640625, -0.0069732666015625, -0.000850677490234375, -0.006488800048828125, 0.0267333984375, 0.060028076171875, 0.0178680419921875, 0.048980712890625, 0.035919189453125, -0.0203857421875, 0.01410675048828125, 0.035736083984375, -0.01113128662109375, -0.0158843994140625, 0.01018524169921875, -0.0061492919921875, 0.0002225637435913086, -0.008636474609375, 0.00638580322265625, 0.06036376953125, -0.01529693603515625, 0.010894775390625, 0.03826904296875, -0.006359100341796875, -0.005809783935546875, 0.037200927734375, 0.039093017578125, 0.0792236328125, 0.031463623046875, -0.0701904296875, -0.0364990234375, 0.01110076904296875, -0.0218353271484375, 0.051025390625, 0.04510498046875, -0.015960693359375, 0.018035888671875, 0.0235748291015625, -0.01525115966796875, -0.005641937255859375, 0.0086517333984375, 0.005809783935546875, 0.006793975830078125, 0.007114410400390625, 0.0120391845703125, -0.0026874542236328125, 0.0088958740234375, -0.0007710456848144531, -0.01336669921875, 0.027496337890625, 0.059173583984375, -0.00545501708984375, 0.017303466796875, -0.0278167724609375, 0.05206298828125, -0.061859130859375, -0.023712158203125, 0.04998779296875, -0.023529052734375, -0.00524139404296875, 0.006130218505859375, -0.01413726806640625, 0.026580810546875, 0.04156494140625, -0.0182342529296875, 0.012176513671875, -0.00965118408203125, 0.0111083984375, -0.05084228515625, 0.004852294921875, -0.01328277587890625, 0.0308685302734375, -0.00396728515625, -0.037689208984375, 0.06903076171875, 0.0209503173828125, -0.01476287841796875, 0.0305633544921875, 0.004985809326171875, -0.046295166015625, 0.038360595703125, -0.05755615234375, 0.045257568359375, 0.036224365234375, 0.016204833984375, -0.04052734375, 0.020599365234375, -0.006763458251953125, 0.01551055908203125, 0.0196380615234375, 0.0377197265625, 0.042449951171875, -0.0276336669921875, -0.008697509765625, 0.0163116455078125, 0.0206451416015625, -0.030242919921875, -0.0097808837890625, 0.0177764892578125, -0.0304107666015625, 0.00746917724609375, -0.0272369384765625, -0.0305023193359375, -0.0482177734375, 0.025665283203125, 0.0048065185546875, 0.0032672882080078125, -0.030914306640625, -0.01220703125, 0.02740478515625, 0.0361328125, 0.0259246826171875, -0.05987548828125, 0.052703857421875, -0.0201263427734375, 0.0120697021484375, 0.007518768310546875, -0.040252685546875, 0.01454925537109375, -0.01214599609375, -0.00991058349609375, 0.049346923828125, -0.04547119140625, -0.040679931640625, 0.01236724853515625, 0.02410888671875, 0.0287322998046875, -0.0413818359375, -0.0298309326171875, 0.0313720703125, 0.042938232421875, 0.07171630859375, 0.0782470703125, -0.01166534423828125, 0.0084381103515625, 0.0153350830078125, -0.04559326171875, -0.0333251953125, 0.049652099609375, -0.06317138671875, -0.024261474609375, -0.006641387939453125, 0.0406494140625, 0.07843017578125, -0.0140380859375, -0.0694580078125, 0.0909423828125, -0.039764404296875, -0.0285186767578125, -0.01183319091796875, 0.006130218505859375, -0.009979248046875, 0.0215911865234375, 0.0238494873046875, -0.027374267578125, -0.0264892578125, 0.008026123046875, -0.01401519775390625, 0.026641845703125, 0.0127716064453125, 0.0024242401123046875, -0.0357666015625, -0.0006794929504394531, -0.01666259765625, -0.01099395751953125, 0.029022216796875, -0.005275726318359375, 0.022979736328125, 0.0307769775390625, -0.039520263671875, 0.0098876953125, -0.01258087158203125, -0.0033359527587890625, 0.009918212890625, 0.01166534423828125, -0.0139007568359375, -0.02593994140625, -0.0144805908203125, 0.0031909942626953125, -0.0007724761962890625, 0.0196380615234375, -0.0175933837890625, -0.0298309326171875, -0.0250396728515625, -0.0179595947265625, 0.01342010498046875, -0.039581298828125, 0.0026073455810546875, -0.01351165771484375, -0.01041412353515625, -0.0214385986328125, -0.004161834716796875, -0.031646728515625, -0.0323486328125, 0.000579833984375, 0.00421142578125, -0.0143585205078125, 0.01215362548828125, -0.0189666748046875, -0.002758026123046875, -0.0166015625, -0.023956298828125, 0.01093292236328125, -0.036529541015625, -0.000048041343688964844, -0.006900787353515625, 0.0191497802734375, -0.006999969482421875, 0.01204681396484375, 0.0109100341796875, -0.011688232421875, -0.0166168212890625, 0.021209716796875, -0.02972412109375, -0.004482269287109375, -0.0025959014892578125, -0.0300140380859375, -0.0163726806640625, 0.08221435546875, 0.025848388671875, 0.0687255859375, 0.0173797607421875, 0.0384521484375, 0.00403594970703125, 0.046417236328125, 0.01422882080078125, -0.037109375, 0.01300811767578125, -0.02838134765625, -0.01427459716796875, -0.0260162353515625, -0.03656005859375, -0.055328369140625, 0.0048980712890625, 0.034912109375, -0.033538818359375, 0.0200653076171875 ]
32d10dc4a30aed9efeb0e5ccefc6b13db55d4894
Wordpress Stackexchange Q: Website not updating - no cache plugins active! I've a problem with my WordPress website getting updated after I make changes to its code: I'm using phpStorm with auto-save, running the website on WAMP, locally. Therefore, right after I right new code, the file in which I write the code in should be updated, and the website quickly after that. Yet the website doesn't update. I'm not using any cache plugins, and in my browser, Chrome, I disabled caching. Also, it does get updated, but only after I make changes to the website - like disable and then enable again a plugin - so it can store new cache, but for some reason, it doesn't do it automatically, and keeps using old cache when I don't make any changes via the dashboard. Why does this happen and how can I fix it? A: This is related to expire header. Try to add a time less than 180 seconds ExpiresByType text/html "access plus 180 seconds" either in server or htaccess.
Q: Website not updating - no cache plugins active! I've a problem with my WordPress website getting updated after I make changes to its code: I'm using phpStorm with auto-save, running the website on WAMP, locally. Therefore, right after I right new code, the file in which I write the code in should be updated, and the website quickly after that. Yet the website doesn't update. I'm not using any cache plugins, and in my browser, Chrome, I disabled caching. Also, it does get updated, but only after I make changes to the website - like disable and then enable again a plugin - so it can store new cache, but for some reason, it doesn't do it automatically, and keeps using old cache when I don't make any changes via the dashboard. Why does this happen and how can I fix it? A: This is related to expire header. Try to add a time less than 180 seconds ExpiresByType text/html "access plus 180 seconds" either in server or htaccess.
wordpress
{ "language": "en", "length": 170, "provenance": "stackexchange_00019.jsonl.gz:474838", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262113" }
[ 0.00676727294921875, 0.0186004638671875, -0.026611328125, 0.0005245208740234375, 0.007648468017578125, -0.0224456787109375, 0.0193023681640625, -0.03497314453125, 0.0118865966796875, 0.017181396484375, -0.046539306640625, -0.005279541015625, -0.0057830810546875, -0.031280517578125, -0.0005307197570800781, -0.022613525390625, 0.03790283203125, -0.0087738037109375, 0.0306396484375, -0.0093536376953125, -0.01910400390625, 0.042144775390625, 0.0258941650390625, 0.076904296875, 0.0269012451171875, -0.01641845703125, 0.035430908203125, 0.0040740966796875, 0.025787353515625, 0.00629425048828125, 0.0250701904296875, -0.0457763671875, 0.0284881591796875, 0.046600341796875, -0.08642578125, -0.0224609375, -0.010162353515625, 0.0168304443359375, -0.0196380615234375, 0.032989501953125, -0.0005621910095214844, 0.0107421875, 0.042633056640625, 0.025421142578125, 0.00850677490234375, -0.050140380859375, -0.0038547515869140625, -0.064208984375, -0.00087738037109375, -0.022857666015625, -0.00933837890625, -0.01233673095703125, 0.016448974609375, -0.0171661376953125, 0.0008311271667480469, -0.0010051727294921875, -0.0032100677490234375, 0.00572967529296875, 0.02142333984375, -0.052215576171875, -0.0308380126953125, -0.012847900390625, 0.044036865234375, 0.036407470703125, -0.036712646484375, -0.014190673828125, 0.040557861328125, -0.0099945068359375, -0.0572509765625, -0.0178985595703125, 0.0723876953125, -0.02239990234375, -0.0168609619140625, -0.00311279296875, 0.00012862682342529297, -0.01384735107421875, 0.03302001953125, -0.008575439453125, -0.013153076171875, 0.02581787109375, 0.04443359375, 0.019287109375, 0.012969970703125, -0.0457763671875, 0.03924560546875, 0.0002765655517578125, 0.0024738311767578125, -0.028778076171875, -0.061248779296875, -0.032867431640625, -0.04736328125, -0.037200927734375, -0.044708251953125, -0.031219482421875, -0.02166748046875, -0.0086517333984375, 0.00792694091796875, 0.075927734375, -0.02484130859375, 0.01910400390625, -0.031768798828125, -0.0125732421875, 0.0140380859375, -0.0546875, 0.0008678436279296875, 0.049102783203125, 0.0221405029296875, 0.0267333984375, 0.0273895263671875, 0.007419586181640625, 0.018035888671875, 0.032867431640625, -0.01126861572265625, -0.040435791015625, 0.0096588134765625, 0.009857177734375, -0.032684326171875, 0.0282745361328125, 0.01361846923828125, -0.01264190673828125, -0.0011444091796875, 0.03485107421875, -0.059051513671875, -0.0618896484375, 0.0194854736328125, -0.035186767578125, -0.026947021484375, 0.037322998046875, 0.0083465576171875, -0.03985595703125, -0.041259765625, 0.0253448486328125, 0.08349609375, 0.04254150390625, 0.02288818359375, 0.0047149658203125, 0.01678466796875, -0.01050567626953125, -0.0266876220703125, 0.03558349609375, -0.044342041015625, -0.0374755859375, 0.00047588348388671875, -0.057647705078125, 0.042938232421875, -0.00909423828125, 0.0005950927734375, 0.031890869140625, 0.0301055908203125, 0.006534576416015625, 0.0305633544921875, -0.0288543701171875, 0.045867919921875, -0.0020771026611328125, -0.022247314453125, -0.04241943359375, 0.00817108154296875, -0.03436279296875, 0.0053253173828125, -0.0372314453125, 0.0130157470703125, -0.012969970703125, -0.0014772415161132812, -0.014312744140625, -0.031951904296875, -0.002834320068359375, -0.033416748046875, 0.002124786376953125, 0.037841796875, 0.007293701171875, 0.029510498046875, -0.0206756591796875, 0.0743408203125, 0.04840087890625, 0.003101348876953125, 0.0435791015625, 0.0133514404296875, -0.005039215087890625, 0.025238037109375, 0.0008921623229980469, -0.008880615234375, 0.003429412841796875, 0.05670166015625, -0.000244140625, -0.0212249755859375, 0.0093994140625, -0.00560760498046875, 0.0200042724609375, 0.018646240234375, 0.002986907958984375, 0.0251617431640625, -0.003147125244140625, 0.0033512115478515625, 0.055877685546875, -0.006359100341796875, -0.00904083251953125, -0.019012451171875, 0.061370849609375, -0.0187225341796875, -0.10321044921875, 0.0243988037109375, 0.0007452964782714844, -0.0347900390625, -0.0244293212890625, -0.09716796875, -0.0135345458984375, -0.0297698974609375, 0.03448486328125, 0.061859130859375, 0.040863037109375, -0.01983642578125, 0.01456451416015625, -0.00994873046875, -0.03253173828125, -0.056488037109375, -0.002674102783203125, -0.02459716796875, 0.07037353515625, 0.0007042884826660156, 0.048583984375, -0.0033435821533203125, -0.033355712890625, 0.00968170166015625, -0.019927978515625, 0.017791748046875, 0.01457977294921875, -0.024078369140625, -0.00449371337890625, 0.00414276123046875, 0.0015077590942382812, -0.00217437744140625, 0.048065185546875, -0.0009741783142089844, 0.0116424560546875, -0.027191162109375, -0.01279449462890625, -0.051361083984375, -0.10455322265625, 0.0083770751953125, 0.07220458984375, 0.04241943359375, -0.02099609375, 0.01094818115234375, 0.018035888671875, 0.043914794921875, -0.0253448486328125, 0.01442718505859375, -0.00424957275390625, 0.01263427734375, 0.0207672119140625, 0.0105743408203125, -0.0306396484375, 0.0230712890625, -0.0308685302734375, 0.0225982666015625, 0.0203857421875, 0.0020999908447265625, 0.021270751953125, -0.01442718505859375, -0.003787994384765625, -0.00782012939453125, -0.035308837890625, -0.00940704345703125, -0.0204620361328125, 0.0309600830078125, -0.01035308837890625, 0.0253753662109375, 0.025177001953125, -0.0189971923828125, 0.0014324188232421875, 0.0157012939453125, -0.00142669677734375, 0.017059326171875, 0.035858154296875, -0.006267547607421875, 0.0343017578125, 0.00537872314453125, -0.02960205078125, -0.0014781951904296875, 0.0266876220703125, -0.037322998046875, -0.052001953125, 0.005855560302734375, -0.004322052001953125, 0.035186767578125, 0.0252685546875, 0.03338623046875, -0.0242156982421875, -0.02691650390625, 0.007415771484375, 0.04486083984375, 0.00569915771484375, -0.0257110595703125, 0.023834228515625, -0.0233306884765625, -0.008087158203125, 0.0267486572265625, -0.0128173828125, 0.007476806640625, -0.0010833740234375, 0.055908203125, 0.0609130859375, 0.00966644287109375, -0.00604248046875, -0.0035305023193359375, 0.032623291015625, 0.01922607421875, 0.0006670951843261719, -0.01629638671875, 0.00150299072265625, -0.04962158203125, -0.0186614990234375, 0.0303802490234375, 0.045654296875, -0.0035686492919921875, -0.034942626953125, -0.04437255859375, 0.026153564453125, -0.11090087890625, -0.09918212890625, -0.04302978515625, -0.033111572265625, -0.003269195556640625, 0.0253448486328125, -0.00901031494140625, 0.0007152557373046875, 0.034027099609375, 0.01385498046875, -0.0016736984252929688, -0.03436279296875, -0.0400390625, -0.0606689453125, -0.0836181640625, -0.01788330078125, 0.0162506103515625, 0.01529693603515625, -0.00514984130859375, 0.052215576171875, -0.0219573974609375, -0.071044921875, -0.046539306640625, -0.02685546875, -0.0247039794921875, -0.00543975830078125, 0.0168304443359375, -0.02777099609375, 0.01352691650390625, 0.00939178466796875, 0.0232086181640625, 0.0272674560546875, -0.018218994140625, -0.01090240478515625, -0.01239776611328125, -0.058563232421875, -0.00006693601608276367, 0.003993988037109375, 0.01568603515625, -0.010284423828125, 0.028045654296875, -0.03369140625, -0.0321044921875, 0.0175018310546875, -0.031646728515625, 0.008880615234375, 0.01230621337890625, -0.02020263671875, -0.01488494873046875, 0.01493072509765625, -0.00725555419921875, -0.0161285400390625, 0.0305633544921875, -0.0400390625, 0.0248870849609375, -0.0168914794921875, -0.01605224609375, -0.00836181640625, 0.03509521484375, -0.0011968612670898438, 0.0308380126953125, 0.00951385498046875, 0.01367950439453125, -0.0306243896484375, 0.054229736328125, -0.08154296875, -0.0094146728515625, 0.007110595703125, -0.048858642578125, 0.023773193359375, -0.034698486328125, -0.0010547637939453125, -0.025390625, 0.06365966796875, -0.021484375, -0.0167999267578125, 0.0318603515625, 0.0235137939453125, -0.0452880859375, -0.0131378173828125, -0.038726806640625, -0.01239013671875, -0.02044677734375, -0.01409912109375, -0.003185272216796875, -0.0292205810546875, -0.005313873291015625, 0.0166778564453125, -0.011871337890625, -0.0178070068359375, 0.04815673828125, -0.0521240234375, 0.0148773193359375, -0.014129638671875, 0.01190948486328125, -0.0711669921875, -0.0256500244140625, -0.0151824951171875, -0.0799560546875, 0.003620147705078125, -0.031494140625, 0.029052734375, 0.0257720947265625, -0.01251220703125, -0.019317626953125, 0.02874755859375, -0.024139404296875, 0.03302001953125, -0.017974853515625, 0.026611328125, -0.01529693603515625, -0.0251312255859375, -0.00007843971252441406, -0.0364990234375, -0.01305389404296875, 0.0125579833984375, -0.005252838134765625, 0.0096588134765625, -0.0200653076171875, -0.050140380859375, 0.01009368896484375, -0.040618896484375, 0.005695343017578125, -0.004787445068359375, -0.0202178955078125, -0.0033283233642578125, -0.0007429122924804688, 0.0015020370483398438, -0.004222869873046875, 0.01291656494140625, 0.095458984375, -0.050628662109375, 0.030426025390625, -0.004528045654296875, 0.1287841796875, -0.00154876708984375, -0.0188751220703125, -0.018585205078125, 0.004062652587890625, 0.026641845703125, 0.0369873046875, -0.021759033203125, -0.01593017578125, -0.03564453125, 0.022674560546875, 0.01751708984375, 0.041046142578125, -0.03167724609375, 0.043243408203125, -0.007617950439453125, -0.025848388671875, 0.03363037109375, 0.00970458984375, -0.025787353515625, 0.05169677734375, 0.00917816162109375, -0.01511383056640625, -0.019195556640625, 0.00708770751953125, 0.01425933837890625, -0.024566650390625, -0.024078369140625, -0.06298828125, 0.024658203125, 0.01055145263671875, 0.0341796875, 0.0268402099609375, -0.01093292236328125, 0.08056640625, 0.01739501953125, -0.01326751708984375, -0.040802001953125, -0.0202789306640625, -0.036651611328125, 0.0009093284606933594, -0.0017213821411132812, -0.0207672119140625, -0.0113067626953125, -0.02728271484375, 0.0787353515625, 0.007144927978515625, -0.0765380859375, 0.0654296875, 0.0005512237548828125, 0.0165252685546875, 0.041778564453125, 0.0217742919921875, 0.02105712890625, -0.02349853515625, -0.0016460418701171875, -0.0081939697265625, 0.0092926025390625, -0.0018281936645507812, -0.0197906494140625, -0.0079193115234375, -0.0035037994384765625, -0.0244903564453125, 0.00981903076171875, -0.016815185546875, 0.0243377685546875, -0.0305328369140625, -0.0081329345703125, 0.025665283203125, 0.0286407470703125, 0.010528564453125, 0.01413726806640625, 0.003795623779296875, -0.00005811452865600586, -0.00782012939453125, 0.03363037109375, -0.0245819091796875, 0.0184478759765625, 0.01348876953125, 0.0253753662109375, 0.027679443359375, -0.01190948486328125, 0.00797271728515625, 0.003185272216796875, -0.01430511474609375, 0.02685546875, -0.0108795166015625, -0.036041259765625, -0.0299224853515625, -0.01800537109375, 0.039276123046875, 0.00006318092346191406, -0.0137939453125, 0.02398681640625, -0.0341796875, 0.0183563232421875, 0.03033447265625, -0.01474761962890625, -0.00951385498046875, -0.0174560546875, 0.021820068359375, -0.0186614990234375, -0.0173187255859375, -0.002689361572265625, 0.0166473388671875, -0.039154052734375, -0.005954742431640625, 0.0623779296875, -0.0301361083984375, 0.00537872314453125, -0.0257720947265625, 0.010162353515625, 0.0311737060546875, 0.0135955810546875, 0.040252685546875, 0.0025787353515625, -0.03424072265625, -0.0104827880859375, -0.058502197265625, -0.040374755859375, -0.02783203125, -0.012298583984375, -0.04522705078125, -0.0006833076477050781, 0.0184783935546875, 0.02740478515625, -0.029571533203125, -0.04486083984375, -0.04248046875, 0.03302001953125, 0.07049560546875, 0.07403564453125, -0.007015228271484375, 0.037750244140625, -0.01134490966796875, 0.057159423828125, 0.0024280548095703125, 0.0005726814270019531, -0.0313720703125, -0.013946533203125, 0.0145416259765625, -0.00844573974609375, -0.038238525390625, -0.00222015380859375, -0.040008544921875, -0.0048828125, 0.061798095703125, -0.017303466796875, -0.007328033447265625, -0.0196990966796875, 0.007843017578125, -0.03070068359375, 0.033294677734375, -0.0203704833984375, -0.0200653076171875, -0.00830841064453125, -0.0253753662109375, -0.0258636474609375, 0.007602691650390625, -0.022491455078125, 0.0189361572265625, 0.01227569580078125, 0.01122283935546875, -0.022247314453125, -0.00341033935546875, 0.0106658935546875, 0.08404541015625, 0.022857666015625, 0.0589599609375, 0.039154052734375, 0.033721923828125, 0.0250396728515625, -0.00884246826171875, 0.0142822265625, 0.01557159423828125, 0.045562744140625, -0.01299285888671875, -0.046783447265625, -0.006259918212890625, -0.04449462890625, 0.0084381103515625, 0.0341796875, 0.03564453125, -0.059600830078125, 0.00501251220703125, -0.004642486572265625, -0.01947021484375, 0.011260986328125, -0.012176513671875, -0.026458740234375, -0.056121826171875, 0.059295654296875, -0.00896453857421875, -0.0213470458984375, 0.01995849609375, 0.01082611083984375, -0.003978729248046875, 0.01255035400390625, 0.048004150390625, 0.01212310791015625, -0.0638427734375, -0.0023670196533203125, 0.043731689453125, -0.01081085205078125, 0.0010137557983398438, -0.01554107666015625, 0.03271484375, -0.028045654296875, -0.044708251953125, 0.0149688720703125, -0.0213623046875, -0.0120086669921875, 0.026153564453125, 0.00911712646484375, -0.011077880859375, 0.03717041015625, -0.006420135498046875, -0.006526947021484375, 0.01483154296875, -0.00820159912109375, 0.027679443359375, -0.0288848876953125, 0.02435302734375, 0.03411865234375, -0.04876708984375, 0.013275146484375, 0.01471710205078125, -0.015289306640625, -0.00981903076171875, 0.02252197265625, 0.0633544921875, -0.02093505859375, -0.0229949951171875, 0.0293731689453125, 0.0302276611328125, -0.009307861328125, -0.0192718505859375, -0.0126495361328125, -0.02032470703125, 0.03118896484375, -0.01371002197265625, 0.020538330078125, 0.0156402587890625, 0.007595062255859375, -0.07757568359375, 0.0740966796875, 0.0355224609375, 0.03289794921875, 0.0159454345703125, 0.0270233154296875, -0.061431884765625, -0.0236968994140625, -0.0261993408203125, 0.06292724609375, -0.058685302734375, 0.04351806640625, -0.0474853515625, 0.031463623046875, 0.019744873046875, -0.001430511474609375, 0.05645751953125, 0.015777587890625, -0.01959228515625, 0.01461029052734375, 0.02899169921875, -0.002521514892578125, -0.0287933349609375, 0.05291748046875, -0.00640106201171875, 0.01345062255859375, -0.0111541748046875, -0.01904296875, 0.032379150390625, -0.045867919921875, -0.044586181640625, 0.0193328857421875, -0.0010690689086914062, -0.0079345703125, -0.0125732421875, 0.06317138671875, -0.03070068359375, -0.001644134521484375, 0.0112152099609375, 0.04949951171875, -0.002361297607421875, 0.0256195068359375, 0.006427764892578125, -0.025421142578125, -0.0401611328125, -0.01351165771484375, 0.01995849609375, 0.0006647109985351562, -0.0099639892578125, -0.0345458984375, -0.00786590576171875, -0.0235443115234375, -0.0394287109375, -0.0279083251953125, 0.0236358642578125, -0.032623291015625, 0.0233306884765625, 0.0340576171875, 0.046661376953125, -0.0073089599609375, -0.015777587890625, 0.041412353515625, 0.050048828125, -0.0162200927734375, -0.0279083251953125, 0.0067291259765625, 0.0060272216796875, 0.01433563232421875, -0.018310546875, 0.0252838134765625, -0.036529541015625, -0.011077880859375, 0.036285400390625, -0.005207061767578125, -0.0074462890625, -0.02813720703125, 0.01244354248046875, 0.04791259765625, 0.0119781494140625, 0.032135009765625, -0.033355712890625, 0.01161956787109375, -0.0149688720703125, 0.0294189453125, 0.007434844970703125, 0.0338134765625, -0.023223876953125, -0.01050567626953125, -0.0232696533203125, 0.033050537109375, -0.020294189453125, 0.0341796875, -0.0675048828125, -0.06793212890625, 0.04229736328125, 0.05615234375, 0.0235748291015625, -0.006351470947265625, 0.049652099609375, 0.033203125, -0.033203125, -0.00746917724609375, 0.016021728515625, -0.01026153564453125, 0.0239410400390625, -0.017578125, 0.0187225341796875, 0.0087890625, -0.0147705078125, -0.034698486328125, 0.004695892333984375, 0.06317138671875, -0.026947021484375, 0.0231475830078125, 0.0005154609680175781, -0.034210205078125, 0.0207672119140625, 0.013519287109375, 0.047882080078125, 0.01132965087890625, 0.04998779296875, 0.01824951171875, -0.0221099853515625, -0.01206207275390625, -0.00975799560546875, 0.0124053955078125, 0.01165771484375, 0.0278778076171875, -0.023193359375, 0.02032470703125, 0.0006823539733886719, -0.027496337890625, 0.00806427001953125, 0.01232147216796875, 0.01305389404296875, 0.01043701171875, 0.004833221435546875, -0.024871826171875, 0.01418304443359375, 0.06317138671875, -0.002193450927734375, 0.0657958984375, -0.03814697265625, 0.01207733154296875, 0.02447509765625, -0.0367431640625, 0.0228118896484375, 0.0265960693359375, -0.049041748046875, -0.0285797119140625, -0.008392333984375, -0.003936767578125, -0.07513427734375, 0.01641845703125, 0.035675048828125, 0.016998291015625, 0.00946044921875, -0.004573822021484375, 0.0167388916015625, -0.00330352783203125, -0.01214599609375, -0.044586181640625, -0.037994384765625, -0.00724029541015625, 0.006229400634765625, -0.004520416259765625, -0.03240966796875, -0.0189971923828125, 0.03350830078125, 0.006500244140625, -0.007122039794921875, 0.0189666748046875, -0.031585693359375, 0.0225372314453125, 0.0291290283203125, -0.0171356201171875, -0.01641845703125, -0.0260467529296875, -0.02734375, -0.009246826171875, -0.0021686553955078125, 0.0213165283203125, -0.036529541015625, 0.00634002685546875, 0.0271148681640625, 0.031829833984375, 0.025299072265625, -0.054351806640625, 0.005573272705078125, 0.050689697265625, 0.00958251953125, 0.025482177734375, -0.0053558349609375, -0.02032470703125, -0.032318115234375, -0.0110015869140625, -0.0052032470703125, -0.0007758140563964844, -0.029022216796875, 0.00024139881134033203, 0.032318115234375, 0.032928466796875, 0.005832672119140625, -0.0565185546875, 0.04022216796875, -0.043701171875, 0.043487548828125, 0.0018892288208007812, -0.048675537109375, 0.0045928955078125, 0.02642822265625, -0.00555419921875, -0.033172607421875, -0.040771484375, 0.020904541015625, -0.034820556640625, -0.0308074951171875, -0.005283355712890625, 0.032745361328125, -0.033935546875, -0.034423828125, -0.037078857421875, 0.01837158203125, -0.01255035400390625, 0.0168609619140625, 0.07952880859375, -0.0245208740234375, -0.050201416015625, -0.07080078125, -0.0164337158203125, -0.00916290283203125, 0.004425048828125, -0.028778076171875, -0.0121917724609375, -0.01776123046875, -0.06439208984375, -0.0819091796875, -0.01666259765625, 0.004238128662109375, -0.048095703125, -0.0706787109375, -0.0289764404296875, -0.00917816162109375, 0.0219268798828125, -0.0308837890625, -0.037322998046875, -0.051361083984375, 0.08447265625, 0.0025234222412109375, 0.032745361328125, 0.005443572998046875, 0.0179290771484375, -0.0235595703125, 0.0167999267578125, 0.008697509765625, -0.00583648681640625, -0.006366729736328125, -0.00022590160369873047, 0.0233001708984375, 0.057525634765625, -0.005199432373046875, -0.01494598388671875, 0.0227508544921875, -0.0341796875, -0.0008063316345214844, -0.05291748046875, -0.037994384765625, -0.0033893585205078125, 0.08343505859375, 0.04742431640625, 0.03143310546875, -0.04229736328125, 0.01213836669921875, -0.0036182403564453125, -0.055755615234375, -0.01218414306640625, 0.0292510986328125, -0.0273284912109375, 0.013946533203125, -0.03668212890625, -0.01093292236328125, -0.0125732421875, -0.006587982177734375, -0.0120697021484375, -0.00638580322265625, 0.0240936279296875, -0.012847900390625, 0.034210205078125, -0.02911376953125, 0.032501220703125, -0.0022945404052734375, 0.027008056640625, 0.0274658203125, 0.00589752197265625, 0.038421630859375, 0.10107421875, 0.0416259765625, 0.03997802734375, -0.040191650390625, -0.0001633167266845703, 0.031280517578125, -0.017120361328125, -0.014739990234375, -0.035308837890625, -0.0065460205078125, -0.014862060546875, -0.0006814002990722656, -0.032135009765625, -0.0160064697265625, 0.0126495361328125, -0.0203399658203125, 0.030242919921875, 0.0143280029296875, -0.045257568359375, -0.0210113525390625, 0.05780029296875, -0.0114593505859375, -0.022003173828125, -0.0004410743713378906, -0.036865234375, -0.0063323974609375, 0.031768798828125, -0.004573822021484375, -0.0357666015625, 0.024932861328125, -0.09423828125, 0.01094818115234375, 0.01256561279296875 ]
c38622973de7c15f17941dbd2d87697773f317ae
Wordpress Stackexchange Q: How to query only for products with status "in stock" in WooCommerce? I am trying to build a query that only pulls back products that are in stock within a given product category. Here is my working code where I pull all items back in the category and then I have to loop through them until I verify there is one that is in stock. function CheckCategoryStock( $catToCheck ) { $args = array( 'posts_per_page' => -1, 'post_type' => 'product', 'hide_empty' => 1, 'product_cat' => $catToCheck, ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { while ( $query->have_posts() ) : $query->the_post(); global $product; if ( $product->is_in_stock() ) { $catCounter = 0; return 1; } endwhile; } return 0; } Doing it this way works, but sometimes the code is slow because it has to loop through a number of products before it locates one that is in stock. A: That worked great! Just added this: 'meta_query' => array( array( 'key' => '_stock_status', 'value' => 'instock', 'compare' => '=', ) ) Thanks!
Q: How to query only for products with status "in stock" in WooCommerce? I am trying to build a query that only pulls back products that are in stock within a given product category. Here is my working code where I pull all items back in the category and then I have to loop through them until I verify there is one that is in stock. function CheckCategoryStock( $catToCheck ) { $args = array( 'posts_per_page' => -1, 'post_type' => 'product', 'hide_empty' => 1, 'product_cat' => $catToCheck, ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { while ( $query->have_posts() ) : $query->the_post(); global $product; if ( $product->is_in_stock() ) { $catCounter = 0; return 1; } endwhile; } return 0; } Doing it this way works, but sometimes the code is slow because it has to loop through a number of products before it locates one that is in stock. A: That worked great! Just added this: 'meta_query' => array( array( 'key' => '_stock_status', 'value' => 'instock', 'compare' => '=', ) ) Thanks!
wordpress
{ "language": "en", "length": 174, "provenance": "stackexchange_00019.jsonl.gz:474844", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262136" }
[ 0.023529052734375, -0.0015192031860351562, -0.031280517578125, -0.0201416015625, 0.019317626953125, -0.04425048828125, 0.046112060546875, 0.00627899169921875, 0.0260009765625, 0.033203125, -0.047576904296875, -0.029632568359375, 0.007770538330078125, -0.00801849365234375, -0.04486083984375, -0.044189453125, 0.0298309326171875, 0.0084381103515625, 0.037628173828125, 0.0096435546875, 0.00702667236328125, 0.04058837890625, 0.01421356201171875, 0.0014667510986328125, 0.0106658935546875, -0.046966552734375, 0.08758544921875, -0.039825439453125, 0.034820556640625, -0.035675048828125, 0.01549530029296875, -0.0171661376953125, 0.03289794921875, -0.01198577880859375, 0.00949859619140625, 0.0289459228515625, 0.027008056640625, -0.00960540771484375, 0.0082244873046875, 0.0210418701171875, 0.04632568359375, -0.042724609375, -0.0098876953125, 0.040771484375, -0.0159149169921875, -0.0101776123046875, 0.030303955078125, -0.033966064453125, 0.0290985107421875, -0.03570556640625, -0.0139312744140625, 0.05474853515625, -0.003864288330078125, -0.0299530029296875, -0.0155487060546875, 0.01776123046875, -0.023773193359375, -0.0027561187744140625, 0.0325927734375, -0.017181396484375, -0.02838134765625, -0.032073974609375, 0.02569580078125, -0.0176544189453125, -0.0215606689453125, -0.0003101825714111328, 0.01151275634765625, 0.00860595703125, -0.0313720703125, -0.039764404296875, 0.020294189453125, -0.00977325439453125, -0.0168609619140625, 0.00628662109375, -0.0259857177734375, -0.006656646728515625, -0.004085540771484375, -0.0229339599609375, 0.030426025390625, 0.0202789306640625, -0.02593994140625, -0.032318115234375, -0.063720703125, -0.0418701171875, 0.0263214111328125, -0.0035877227783203125, -0.00830841064453125, 0.01352691650390625, -0.01416015625, -0.038970947265625, -0.02001953125, 0.01220703125, -0.0411376953125, -0.0128631591796875, -0.0278778076171875, -0.03466796875, 0.00024056434631347656, 0.033843994140625, 0.01885986328125, 0.0265045166015625, -0.037017822265625, -0.0152130126953125, -0.023406982421875, -0.02789306640625, 0.03424072265625, 0.05633544921875, -0.0299835205078125, -0.042388916015625, 0.06439208984375, 0.018280029296875, 0.04718017578125, 0.0628662109375, -0.044830322265625, -0.0511474609375, -0.00336456298828125, 0.058380126953125, -0.042205810546875, -0.005428314208984375, 0.00518798828125, -0.006786346435546875, 0.031890869140625, 0.059051513671875, 0.047637939453125, -0.04302978515625, -0.019744873046875, -0.0023059844970703125, -0.0081634521484375, -0.094970703125, 0.01007080078125, 0.00984954833984375, -0.033782958984375, 0.02630615234375, 0.03021240234375, 0.0043182373046875, -0.006427764892578125, -0.0018148422241210938, 0.003429412841796875, 0.0197906494140625, 0.028289794921875, -0.0078582763671875, 0.031768798828125, -0.01448822021484375, -0.004680633544921875, 0.027923583984375, 0.02545166015625, 0.01507568359375, 0.01332855224609375, 0.01220703125, 0.00628662109375, -0.0293121337890625, 0.00959014892578125, -0.00997161865234375, 0.00792694091796875, 0.0191650390625, -0.006160736083984375, 0.020751953125, 0.03033447265625, -0.0121612548828125, -0.035675048828125, -0.038970947265625, 0.00925445556640625, 0.0017461776733398438, -0.00032806396484375, -0.02667236328125, -0.042144775390625, 0.00394439697265625, -0.0127716064453125, -0.01367950439453125, 0.01128387451171875, 0.0216064453125, -0.035369873046875, 0.032989501953125, 0.046783447265625, 0.0008749961853027344, -0.01806640625, -0.006256103515625, -0.0033512115478515625, 0.00241851806640625, 0.033660888671875, -0.037017822265625, -0.060882568359375, -0.04461669921875, 0.02191162109375, -0.0146484375, -0.05047607421875, 0.03143310546875, 0.014251708984375, 0.0147705078125, -0.0094757080078125, -0.00518798828125, 0.07232666015625, 0.0562744140625, -0.0241241455078125, 0.008087158203125, -0.00225067138671875, -0.0380859375, 0.038421630859375, -0.00923919677734375, 0.004215240478515625, -0.004364013671875, 0.05377197265625, 0.02752685546875, -0.00885009765625, 0.00792694091796875, -0.066162109375, 0.0268707275390625, -0.0158843994140625, 0.02825927734375, -0.0533447265625, 0.00641632080078125, 0.034912109375, -0.00978851318359375, -0.030487060546875, 0.00994110107421875, 0.0201263427734375, -0.017303466796875, 0.002685546875, 0.031707763671875, -0.00566864013671875, 0.00455474853515625, 0.01227569580078125, -0.036285400390625, 0.025115966796875, 0.046417236328125, 0.0199432373046875, 0.01175689697265625, -0.0018472671508789062, 0.01056671142578125, 0.056884765625, 0.02716064453125, -0.01091766357421875, -0.034149169921875, 0.065185546875, 0.03839111328125, -0.0310516357421875, 0.02862548828125, 0.025665283203125, -0.029388427734375, -0.016448974609375, 0.031982421875, 0.038970947265625, -0.02825927734375, -0.01551055908203125, -0.01178741455078125, 0.0692138671875, -0.020599365234375, -0.0037670135498046875, -0.0001895427703857422, -0.0131988525390625, -0.0017938613891601562, 0.0286407470703125, 0.0065460205078125, 0.0328369140625, 0.023406982421875, 0.02178955078125, 0.02294921875, 0.018463134765625, 0.05072021484375, -0.0682373046875, 0.04144287109375, -0.02490234375, -0.01666259765625, -0.0011358261108398438, -0.023345947265625, 0.0631103515625, -0.02099609375, 0.03851318359375, 0.01032257080078125, -0.015045166015625, -0.0016679763793945312, 0.00037980079650878906, -0.041046142578125, -0.004337310791015625, 0.0380859375, -0.024444580078125, -0.01357269287109375, -0.02825927734375, 0.01183319091796875, 0.0166778564453125, 0.0096893310546875, -0.004550933837890625, 0.017181396484375, 0.0251617431640625, -0.0114593505859375, -0.01207733154296875, -0.0305633544921875, 0.027923583984375, 0.00897979736328125, -0.01161956787109375, -0.0213775634765625, 0.0191802978515625, 0.00970458984375, -0.03155517578125, 0.0291748046875, -0.036865234375, -0.0208740234375, -0.0039215087890625, -0.0202484130859375, 0.0333251953125, -0.01076507568359375, 0.032989501953125, 0.06982421875, 0.00785064697265625, 0.0185394287109375, 0.005420684814453125, -0.0550537109375, 0.0027980804443359375, 0.005573272705078125, -0.01904296875, 0.032806396484375, -0.08160400390625, 0.05413818359375, 0.0528564453125, 0.05975341796875, 0.04803466796875, -0.0137176513671875, 0.0229949951171875, 0.057525634765625, -0.0606689453125, -0.1278076171875, -0.03863525390625, -0.035430908203125, 0.0053863525390625, -0.007232666015625, 0.005710601806640625, 0.014312744140625, -0.0047607421875, 0.0164947509765625, -0.023101806640625, -0.0101318359375, -0.047332763671875, -0.04254150390625, -0.051055908203125, 0.02398681640625, -0.0159454345703125, 0.01123046875, 0.017120361328125, 0.052886962890625, 0.017791748046875, -0.06756591796875, 0.0267181396484375, 0.061767578125, -0.007762908935546875, 0.072265625, 0.0003521442413330078, -0.016448974609375, -0.016754150390625, 0.01360321044921875, 0.0289764404296875, 0.021820068359375, -0.021942138671875, 0.00899505615234375, 0.0192718505859375, 0.0228729248046875, 0.048370361328125, 0.0208892822265625, -0.030792236328125, 0.0625, 0.0489501953125, -0.005336761474609375, -0.07598876953125, 0.00138092041015625, -0.058258056640625, 0.03125, 0.01369476318359375, 0.017425537109375, 0.00890350341796875, 0.040130615234375, 0.0171051025390625, 0.01580810546875, -0.016998291015625, -0.0255126953125, 0.01322174072265625, 0.0211334228515625, 0.02496337890625, 0.00836944580078125, -0.01751708984375, -0.0401611328125, 0.019989013671875, 0.00036907196044921875, -0.00861358642578125, -0.0297088623046875, 0.051116943359375, -0.019195556640625, -0.00971221923828125, 0.01163482666015625, -0.0178375244140625, 0.0232086181640625, -0.01465606689453125, -0.0153656005859375, -0.01776123046875, 0.05712890625, -0.0167083740234375, -0.025115966796875, -0.023590087890625, 0.0232086181640625, -0.049407958984375, -0.067626953125, -0.0162811279296875, 0.0126495361328125, -0.0276336669921875, 0.01013946533203125, -0.0131683349609375, -0.0232696533203125, 0.005794525146484375, -0.11248779296875, -0.01763916015625, -0.039459228515625, 0.01873779296875, -0.060394287109375, 0.017578125, -0.0015430450439453125, 0.0168304443359375, -0.033172607421875, 0.01364898681640625, -0.054473876953125, -0.053192138671875, -0.0189208984375, 0.02197265625, 0.0313720703125, -0.015655517578125, -0.0012216567993164062, -0.0205841064453125, 0.03582763671875, 0.005191802978515625, 0.03131103515625, 0.00463104248046875, 0.01959228515625, -0.007129669189453125, -0.0341796875, -0.00348663330078125, -0.05401611328125, 0.00711822509765625, -0.0102081298828125, 0.01557159423828125, -0.007251739501953125, -0.0587158203125, -0.0299530029296875, -0.0400390625, -0.0162811279296875, -0.08343505859375, -0.0076446533203125, 0.043060302734375, 0.0164642333984375, -0.00203704833984375, 0.0175018310546875, -0.01145172119140625, -0.046295166015625, 0.028228759765625, 0.0306396484375, -0.0408935546875, 0.006015777587890625, 0.029052734375, 0.0281219482421875, -0.046051025390625, -0.01593017578125, -0.025482177734375, 0.01290130615234375, 0.0186920166015625, 0.0258941650390625, 0.002094268798828125, -0.018707275390625, 0.024871826171875, 0.0150909423828125, -0.039337158203125, -0.0028667449951171875, 0.0229339599609375, 0.00899505615234375, -0.0225372314453125, -0.022552490234375, -0.060211181640625, 0.07501220703125, 0.0183563232421875, -0.01788330078125, -0.0183563232421875, 0.01004791259765625, 0.036895751953125, 0.005580902099609375, 0.0004360675811767578, -0.039947509765625, -0.01081085205078125, 0.004123687744140625, -0.004058837890625, 0.03460693359375, 0.0660400390625, -0.0213775634765625, 0.0277252197265625, 0.0168914794921875, 0.02362060546875, -0.024993896484375, -0.0009465217590332031, -0.06292724609375, 0.0282440185546875, -0.020721435546875, -0.01044464111328125, -0.0006251335144042969, 0.016754150390625, -0.07000732421875, -0.054412841796875, -0.061279296875, -0.0297393798828125, -0.00817108154296875, 0.011505126953125, 0.062469482421875, -0.00923919677734375, 0.046600341796875, -0.00010722875595092773, -0.0222015380859375, -0.00567626953125, -0.075927734375, -0.0028209686279296875, -0.052215576171875, -0.013946533203125, -0.005008697509765625, 0.0000903010368347168, -0.0042724609375, 0.0694580078125, -0.0012922286987304688, 0.03656005859375, -0.012603759765625, 0.034698486328125, 0.009246826171875, 0.032073974609375, 0.026031494140625, -0.032684326171875, 0.0304718017578125, -0.0310516357421875, 0.01052093505859375, -0.0260467529296875, -0.0205230712890625, 0.0016450881958007812, 0.0238037109375, -0.050537109375, -0.0300445556640625, 0.045318603515625, -0.00881195068359375, -0.042144775390625, 0.038665771484375, 0.0207061767578125, -0.005123138427734375, -0.0697021484375, -0.051666259765625, 0.037933349609375, 0.0272216796875, 0.0016279220581054688, 0.0016450881958007812, -0.02593994140625, -0.019775390625, -0.0234527587890625, -0.0259857177734375, 0.01019287109375, 0.0251312255859375, -0.044097900390625, -0.0277862548828125, 0.004894256591796875, -0.00482177734375, -0.0019330978393554688, -0.005786895751953125, -0.0266876220703125, 0.022247314453125, -0.016632080078125, 0.051513671875, -0.01131439208984375, -0.045654296875, -0.0677490234375, 0.0015287399291992188, 0.0208740234375, 0.034576416015625, -0.020751953125, -0.0171966552734375, -0.02447509765625, -0.03363037109375, 0.031280517578125, 0.016845703125, -0.0206146240234375, -0.013824462890625, 0.0172882080078125, 0.04107666015625, -0.002849578857421875, -0.07513427734375, -0.0232696533203125, -0.0307464599609375, 0.034271240234375, -0.00579833984375, -0.022430419921875, 0.01617431640625, 0.011016845703125, 0.054351806640625, -0.0220794677734375, -0.0026950836181640625, -0.0099029541015625, -0.035552978515625, -0.0076141357421875, -0.035186767578125, 0.011932373046875, 0.0021572113037109375, -0.01219940185546875, -0.0164337158203125, 0.017822265625, 0.0016078948974609375, 0.00360107421875, -0.012542724609375, 0.0023555755615234375, -0.0242462158203125, 0.05615234375, -0.006999969482421875, 0.0205230712890625, 0.01250457763671875, -0.0089111328125, 0.00836181640625, -0.0283050537109375, -0.004482269287109375, 0.01419830322265625, -0.0093536376953125, 0.0099029541015625, -0.003177642822265625, -0.048858642578125, 0.044708251953125, 0.023406982421875, 0.0035419464111328125, 0.0262451171875, -0.0234222412109375, 0.009429931640625, -0.012939453125, 0.041351318359375, -0.0183563232421875, -0.007762908935546875, 0.03704833984375, -0.0001741647720336914, -0.016632080078125, 0.0234222412109375, -0.0266265869140625, 0.004077911376953125, 0.0299530029296875, 0.0313720703125, -0.04949951171875, 0.00455474853515625, 0.0196533203125, -0.0172882080078125, -0.0050811767578125, -0.0155181884765625, 0.0018243789672851562, -0.034149169921875, 0.036346435546875, -0.0276336669921875, -0.031524658203125, -0.0015010833740234375, -0.029022216796875, 0.012664794921875, 0.00946044921875, -0.0227203369140625, -0.013946533203125, -0.107666015625, -0.0233612060546875, 0.0772705078125, -0.053131103515625, -0.0049896240234375, 0.004108428955078125, 0.0235595703125, -0.005764007568359375, -0.0310211181640625, 0.0399169921875, -0.0023288726806640625, -0.01337432861328125, 0.0102386474609375, -0.005207061767578125, 0.0048828125, 0.0584716796875, -0.0274200439453125, 0.0211029052734375, 0.016510009765625, -0.03564453125, -0.0634765625, 0.020751953125, 0.0234832763671875, 0.0390625, -0.03936767578125, 0.0149383544921875, -0.06683349609375, 0.045379638671875, 0.00437164306640625, 0.0006575584411621094, -0.01082611083984375, -0.0499267578125, 0.00431060791015625, 0.034576416015625, 0.0109100341796875, 0.0124053955078125, 0.0084381103515625, 0.06488037109375, 0.0208740234375, 0.044677734375, 0.01552581787109375, 0.0159912109375, -0.0406494140625, -0.0187225341796875, -0.057220458984375, 0.0117034912109375, -0.06976318359375, 0.03851318359375, 0.0158233642578125, -0.01280975341796875, 0.0215606689453125, -0.027069091796875, -0.0726318359375, 0.07757568359375, 0.048309326171875, 0.09130859375, -0.047332763671875, -0.034271240234375, 0.052276611328125, 0.048004150390625, 0.0158843994140625, -0.00896453857421875, -0.020599365234375, -0.0019130706787109375, 0.043548583984375, 0.040435791015625, 0.0193939208984375, 0.00589752197265625, -0.00910186767578125, 0.005657196044921875, 0.07196044921875, -0.032623291015625, 0.041168212890625, 0.0077972412109375, -0.003849029541015625, -0.00830078125, 0.01873779296875, 0.0194091796875, -0.0119171142578125, 0.0255584716796875, -0.0323486328125, -0.004436492919921875, 0.0263519287109375, -0.0137176513671875, 0.024810791015625, 0.01363372802734375, 0.01154327392578125, -0.0172576904296875, -0.026153564453125, -0.01580810546875, 0.035369873046875, -0.0118560791015625, 0.063720703125, 0.041412353515625, 0.01800537109375, 0.1370849609375, -0.03448486328125, 0.042724609375, -0.004085540771484375, -0.0394287109375, 0.007442474365234375, 0.0001399517059326172, 0.004547119140625, -0.00732421875, 0.06915283203125, 0.01265716552734375, -0.002140045166015625, -0.04327392578125, -0.045135498046875, 0.01044464111328125, 0.001316070556640625, 0.003841400146484375, 0.0189361572265625, -0.0038204193115234375, 0.0175323486328125, 0.0484619140625, -0.0340576171875, 0.018707275390625, 0.00862884521484375, 0.031982421875, 0.005939483642578125, 0.02301025390625, -0.06866455078125, -0.027587890625, -0.039337158203125, 0.04486083984375, 0.0177001953125, 0.02496337890625, -0.0226593017578125, 0.051177978515625, -0.02813720703125, -0.020233154296875, -0.03466796875, 0.02093505859375, -0.0250244140625, 0.034393310546875, -0.05462646484375, -0.031890869140625, -0.0053863525390625, 0.047271728515625, 0.002521514892578125, -0.023681640625, 0.01351165771484375, 0.039703369140625, 0.0097198486328125, -0.00044846534729003906, 0.0307464599609375, -0.012939453125, -0.0611572265625, -0.0177459716796875, 0.0287933349609375, 0.048248291015625, 0.036407470703125, 0.01027679443359375, 0.07879638671875, 0.0118408203125, -0.027587890625, 0.016632080078125, -0.0028533935546875, -0.044647216796875, 0.00843048095703125, -0.000919342041015625, 0.06591796875, 0.0025463104248046875, -0.01444244384765625, -0.0170440673828125, 0.0167388916015625, 0.0159149169921875, -0.03363037109375, 0.0060882568359375, -0.012786865234375, 0.0447998046875, 0.043243408203125, -0.016357421875, -0.018463134765625, 0.0310516357421875, 0.013275146484375, -0.029510498046875, 0.004638671875, 0.01160430908203125, -0.00029850006103515625, 0.01439666748046875, 0.0148773193359375, 0.006744384765625, 0.0396728515625, -0.01355743408203125, 0.02508544921875, 0.0271453857421875, 0.0182647705078125, 0.00982666015625, 0.00653076171875, -0.009552001953125, 0.03631591796875, -0.03692626953125, 0.002910614013671875, 0.004993438720703125, 0.051055908203125, -0.0269927978515625, 0.084228515625, -0.04168701171875, -0.050201416015625, -0.01251220703125, 0.041961669921875, -0.019500732421875, 0.0205078125, -0.016448974609375, -0.004764556884765625, -0.00677490234375, -0.032379150390625, 0.03204345703125, -0.0043182373046875, 0.012908935546875, 0.0002853870391845703, -0.0274658203125, -0.044403076171875, 0.0108184814453125, -0.005748748779296875, 0.0201416015625, 0.03643798828125, -0.026123046875, 0.057220458984375, 0.022857666015625, -0.0247650146484375, 0.03857421875, -0.0024051666259765625, 0.007404327392578125, -0.0035400390625, -0.01125335693359375, -0.0279388427734375, 0.042327880859375, 0.00760650634765625, -0.0193939208984375, 0.011322021484375, 0.039886474609375, -0.056854248046875, -0.005413055419921875, -0.0256195068359375, -0.016845703125, -0.0396728515625, -0.010498046875, -0.0203857421875, -0.007068634033203125, -0.053863525390625, 0.05023193359375, -0.0011339187622070312, 0.048095703125, 0.0047454833984375, -0.028076171875, 0.0090179443359375, -0.021942138671875, 0.033447265625, 0.018829345703125, -0.019439697265625, 0.025726318359375, 0.026031494140625, -0.01898193359375, 0.01019287109375, -0.023468017578125, -0.01149749755859375, 0.00675201416015625, -0.00769805908203125, 0.01248931884765625, -0.00543975830078125, -0.025238037109375, -0.0249176025390625, -0.0069580078125, 0.0102386474609375, 0.019073486328125, -0.006443023681640625, 0.04443359375, 0.0087738037109375, -0.051910400390625, -0.0308380126953125, 0.0274658203125, -0.02423095703125, -0.005786895751953125, 0.00013196468353271484, 0.006404876708984375, 0.0182647705078125, -0.02508544921875, -0.04669189453125, 0.039642333984375, -0.0081939697265625, -0.022613525390625, -0.05926513671875, 0.0015249252319335938, -0.0161285400390625, 0.050933837890625, -0.029022216796875, 0.0128631591796875, -0.0396728515625, 0.0201873779296875, 0.00958251953125, -0.004474639892578125, 0.021697998046875, -0.009124755859375, -0.06658935546875, -0.002925872802734375, -0.0208740234375, 0.0177001953125, -0.041748046875, 0.042205810546875, -0.0274200439453125, 0.034515380859375, -0.0099639892578125, 0.006389617919921875, -0.0005388259887695312, 0.008514404296875, 0.053070068359375, -0.034149169921875, -0.041229248046875, -0.038116455078125, -0.0038814544677734375, -0.0234222412109375, 0.00638580322265625, 0.0079803466796875, -0.045196533203125, -0.041748046875, 0.0021190643310546875, 0.0047760009765625, -0.00359344482421875, -0.05401611328125, 0.0269012451171875, 0.01406097412109375, -0.01537322998046875, 0.00713348388671875, 0.0031871795654296875, -0.046295166015625, -0.011474609375, -0.0194549560546875, 0.00982666015625, -0.06842041015625, -0.004245758056640625, -0.031280517578125, -0.011077880859375, -0.0234527587890625, -0.020233154296875, 0.0152435302734375, -0.045196533203125, -0.022186279296875, 0.01485443115234375, 0.0195770263671875, -0.007709503173828125, 0.0002651214599609375, 0.024200439453125, -0.01096343994140625, -0.0011377334594726562, -0.0050201416015625, -0.0160675048828125, 0.0192413330078125, 0.029144287109375, 0.00927734375, -0.048797607421875, 0.004268646240234375, 0.0202178955078125, 0.05230712890625, -0.0003325939178466797, 0.046661376953125, 0.01446533203125, 0.02862548828125, 0.0308074951171875, -0.003936767578125, 0.07891845703125, -0.055084228515625, -0.01953125, 0.0020580291748046875, -0.0552978515625, -0.070068359375, 0.03564453125, -0.0238037109375, -0.0116424560546875, 0.020263671875 ]
82a3062caf383d296ffa333622bd2723ea0d454c
Wordpress Stackexchange Q: How to add a style to taxonomy edit page Is there anyway to load a custom style in specific taxonomy pages? for example these two pages: wp-admin/edit-tags.php?taxonomy=news-category&post_type=news wp-admin/term.php?taxonomy=news-category&.. I added a style to admin but other pager got edited too, how can we load the style when in these two pages of custom post type taxonomy? A: You can do it like this: add_action ('admin_enqueue_scripts', 'wpse_style_tax') ; function wpse_style_tax () { // these 3 globals are set during execution of {edit-tags,term}.php global $pagenow, $typenow, $taxnow ; if (!in_array ($pagenow, array ('edit-tags.php', 'term.php')) { return ; } if ('news' != $typenow) { return ; } if ('news-category' != $taxnow) { return ; } wp_enqueue_style ('wpse_my_handle', 'path_to_css_file', ...) ; return ; }
Q: How to add a style to taxonomy edit page Is there anyway to load a custom style in specific taxonomy pages? for example these two pages: wp-admin/edit-tags.php?taxonomy=news-category&post_type=news wp-admin/term.php?taxonomy=news-category&.. I added a style to admin but other pager got edited too, how can we load the style when in these two pages of custom post type taxonomy? A: You can do it like this: add_action ('admin_enqueue_scripts', 'wpse_style_tax') ; function wpse_style_tax () { // these 3 globals are set during execution of {edit-tags,term}.php global $pagenow, $typenow, $taxnow ; if (!in_array ($pagenow, array ('edit-tags.php', 'term.php')) { return ; } if ('news' != $typenow) { return ; } if ('news-category' != $taxnow) { return ; } wp_enqueue_style ('wpse_my_handle', 'path_to_css_file', ...) ; return ; } A: I know there's already an accepted answer, but here's another way to accomplish the same thing using hooks. //* Make sure we're on the load edit tags admin page add_action( 'load-edit-tags.php', 'wpse_262299_edit_tags' ); add_action( 'load-term.php', 'wpse_262299_edit_tags' ); function wpse_262299_edit_tags() { //* Return early if not the news post type if( 'news' !== get_current_screen()->post_type ) { return; } $taxonomies = [ 'news-category', 'other-taxonomy' ]; //* Add actions to $taxonomy_pre_add_form and $taxonomy_pre_edit_form array_filter( $taxonomies, function( $taxonomy ) { add_action( "{$taxonomy}_pre_add_form", 'wpse_262299_enqueue_style' ); add_action( "{$taxonomy}_pre_edit_form", 'wpse_262299_enqueue_style' ); }); } function wpse_262299_enqueue_style( $taxonomy ) { //* All the logic has already been done, do enqueue the style wp_enqueue_style( 'wpse-262299', plugins_url( 'style.css', __FILE__ ) ); }
wordpress
{ "language": "en", "length": 233, "provenance": "stackexchange_00019.jsonl.gz:474888", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262299" }
[ 0.0213775634765625, 0.00811004638671875, -0.0289764404296875, -0.051666259765625, 0.0230712890625, -0.030517578125, 0.0180511474609375, 0.00824737548828125, -0.046173095703125, -0.030609130859375, -0.04266357421875, 0.007755279541015625, -0.03369140625, -0.0318603515625, 0.06005859375, -0.057464599609375, 0.0272674560546875, -0.01092529296875, 0.03228759765625, 0.004833221435546875, -0.0134735107421875, 0.0181121826171875, 0.03533935546875, -0.0182952880859375, 0.0117340087890625, -0.0252227783203125, 0.06488037109375, 0.01473236083984375, 0.011505126953125, -0.0022182464599609375, 0.0295257568359375, -0.042816162109375, 0.0277252197265625, 0.02093505859375, -0.0303802490234375, -0.0076751708984375, 0.0322265625, -0.00923919677734375, -0.0032520294189453125, 0.0294647216796875, 0.036834716796875, -0.0207061767578125, 0.0012073516845703125, 0.05853271484375, -0.006542205810546875, -0.041656494140625, 0.030548095703125, -0.032012939453125, -0.015106201171875, 0.0021152496337890625, 0.02935791015625, -0.02569580078125, 0.038421630859375, -0.0269927978515625, -0.0135345458984375, 0.0021152496337890625, -0.04156494140625, 0.01812744140625, 0.01425933837890625, -0.01605224609375, -0.014617919921875, -0.012664794921875, 0.032958984375, 0.00318145751953125, 0.0036373138427734375, 0.0157928466796875, 0.079345703125, -0.0032901763916015625, -0.060638427734375, 0.004100799560546875, 0.03656005859375, -0.038818359375, 0.0026912689208984375, -0.0233154296875, -0.00579071044921875, -0.0260162353515625, 0.0221710205078125, -0.0290985107421875, -0.004657745361328125, 0.018402099609375, 0.034332275390625, 0.0102996826171875, -0.00911712646484375, -0.0214385986328125, 0.037384033203125, 0.0047607421875, -0.0126190185546875, -0.024993896484375, -0.028839111328125, -0.03143310546875, -0.0202178955078125, -0.04107666015625, -0.04400634765625, -0.0034427642822265625, -0.0012102127075195312, -0.0288543701171875, -0.006885528564453125, 0.05291748046875, -0.007465362548828125, 0.037261962890625, -0.028778076171875, -0.027374267578125, 0.024688720703125, -0.05023193359375, 0.0267181396484375, 0.037933349609375, -0.020263671875, 0.0009613037109375, 0.056427001953125, 0.002658843994140625, 0.0114288330078125, 0.0202789306640625, 0.003582000732421875, 0.005588531494140625, -0.0068511962890625, -0.013824462890625, -0.01953125, 0.018096923828125, -0.0224609375, -0.0192413330078125, 0.003437042236328125, 0.02777099609375, 0.025909423828125, -0.0411376953125, -0.01641845703125, -0.00926971435546875, -0.0181427001953125, -0.050506591796875, 0.0181121826171875, -0.0009541511535644531, -0.034271240234375, 0.0205535888671875, 0.07354736328125, 0.023284912109375, 0.01238250732421875, -0.0200042724609375, 0.037445068359375, -0.04638671875, -0.0296783447265625, 0.005786895751953125, -0.0053253173828125, -0.0030117034912109375, 0.0078277587890625, -0.0285186767578125, 0.020782470703125, 0.03326416015625, 0.0261383056640625, -0.00652313232421875, 0.0096282958984375, -0.041259765625, 0.0254364013671875, -0.03277587890625, 0.081298828125, -0.00748443603515625, -0.0673828125, -0.0166778564453125, 0.06561279296875, -0.032501220703125, -0.08477783203125, -0.0799560546875, -0.0204010009765625, -0.00612640380859375, 0.048126220703125, -0.0211944580078125, -0.00888824462890625, 0.0173797607421875, -0.050994873046875, 0.0006809234619140625, 0.034881591796875, -0.0052490234375, 0.02587890625, -0.006679534912109375, 0.033294677734375, 0.0292510986328125, 0.00396728515625, 0.0279541015625, -0.01363372802734375, 0.0278167724609375, 0.0156402587890625, 0.0367431640625, -0.0027141571044921875, -0.046051025390625, 0.04791259765625, -0.02008056640625, -0.02435302734375, -0.0242462158203125, -0.0008153915405273438, 0.033935546875, 0.031951904296875, 0.037506103515625, -0.0273895263671875, -0.00859832763671875, -0.0163421630859375, -0.01309967041015625, 0.028411865234375, 0.0059051513671875, -0.0260009765625, 0.007785797119140625, 0.0151824951171875, -0.034149169921875, -0.056304931640625, 0.033660888671875, -0.0042877197265625, 0.020538330078125, -0.028350830078125, 0.038604736328125, -0.0252685546875, 0.058380126953125, -0.041778564453125, -0.0181427001953125, 0.0190887451171875, -0.02899169921875, 0.013336181640625, -0.07421875, -0.03656005859375, 0.01071929931640625, 0.0172576904296875, 0.03558349609375, 0.01546478271484375, 0.00213623046875, 0.037811279296875, -0.04388427734375, 0.023834228515625, 0.018035888671875, -0.01154327392578125, 0.0235443115234375, -0.034088134765625, 0.00048351287841796875, -0.0289764404296875, 0.0226898193359375, -0.01345062255859375, 0.01174163818359375, 0.0478515625, 0.039337158203125, -0.014862060546875, -0.003208160400390625, 0.00859832763671875, -0.07818603515625, 0.00018978118896484375, 0.044189453125, 0.03131103515625, -0.01389312744140625, -0.0208740234375, 0.01177978515625, 0.058319091796875, 0.01441192626953125, 0.0044097900390625, -0.003063201904296875, 0.0026645660400390625, 0.03448486328125, -0.0083465576171875, 0.01476287841796875, 0.0162811279296875, -0.043182373046875, 0.003490447998046875, 0.0443115234375, -0.041229248046875, -0.0026683807373046875, 0.03424072265625, -0.035369873046875, 0.0102996826171875, -0.005115509033203125, 0.00799560546875, -0.004238128662109375, 0.023773193359375, 0.017059326171875, 0.0239105224609375, 0.006732940673828125, -0.01439666748046875, 0.0117034912109375, 0.0240936279296875, -0.044158935546875, 0.004207611083984375, 0.0244293212890625, 0.00989532470703125, -0.042144775390625, -0.0097198486328125, -0.007358551025390625, -0.0100250244140625, -0.01053619384765625, -0.0066375732421875, 0.043426513671875, -0.01288604736328125, -0.00662994384765625, -0.0269317626953125, -0.08929443359375, -0.0001042485237121582, 0.0033054351806640625, -0.0095672607421875, -0.0462646484375, -0.00006866455078125, 0.026458740234375, -0.0287933349609375, 0.0246124267578125, 0.00555419921875, -0.0256195068359375, 0.00131988525390625, 0.004245758056640625, 0.0163116455078125, -0.006214141845703125, 0.0265350341796875, 0.051025390625, 0.0123291015625, -0.002716064453125, 0.0082244873046875, -0.00614166259765625, -0.005649566650390625, 0.01531219482421875, 0.003070831298828125, -0.00771331787109375, -0.0183868408203125, 0.044036865234375, 0.02386474609375, -0.0050201416015625, 0.016265869140625, -0.026702880859375, 0.0022563934326171875, 0.0009555816650390625, -0.0653076171875, -0.035552978515625, -0.00539398193359375, -0.06536865234375, -0.01107025146484375, -0.005702972412109375, -0.04034423828125, -0.01401519775390625, 0.0171661376953125, -0.00273895263671875, 0.0283660888671875, -0.04345703125, -0.01143646240234375, -0.05767822265625, -0.07281494140625, -0.08270263671875, 0.019744873046875, -0.007541656494140625, 0.0012464523315429688, 0.0740966796875, 0.0153961181640625, -0.04583740234375, 0.019683837890625, 0.0007929801940917969, -0.0137481689453125, 0.01001739501953125, 0.010528564453125, -0.039459228515625, 0.04815673828125, -0.002620697021484375, 0.0203399658203125, 0.0484619140625, -0.027557373046875, 0.0012416839599609375, -0.0267333984375, -0.01119232177734375, 0.007610321044921875, 0.0211334228515625, 0.0413818359375, -0.002475738525390625, 0.01551055908203125, -0.042144775390625, -0.047698974609375, 0.0234527587890625, -0.021820068359375, 0.0474853515625, -0.00043129920959472656, -0.0246124267578125, 0.0068511962890625, 0.0491943359375, -0.022491455078125, -0.01345062255859375, -0.01470184326171875, -0.0239715576171875, 0.01375579833984375, -0.0180206298828125, -0.01873779296875, 0.0151519775390625, -0.0198516845703125, -0.0265655517578125, 0.042999267578125, -0.0019207000732421875, -0.002044677734375, -0.022796630859375, 0.0264129638671875, -0.03436279296875, -0.044769287109375, 0.00949859619140625, -0.05633544921875, -0.00628662109375, -0.04327392578125, 0.009613037109375, 0.0016202926635742188, 0.058013916015625, -0.01520538330078125, -0.0219573974609375, 0.0145721435546875, 0.021331787109375, -0.038970947265625, -0.039764404296875, -0.012359619140625, -0.007175445556640625, -0.11676025390625, 0.0214691162109375, 0.0077972412109375, -0.03173828125, -0.02911376953125, 0.044189453125, -0.10113525390625, -0.04180908203125, 0.045684814453125, -0.056121826171875, -0.00028634071350097656, 0.034576416015625, -0.038421630859375, 0.005252838134765625, -0.034088134765625, -0.0266265869140625, -0.08660888671875, -0.01209259033203125, -0.04400634765625, 0.06707763671875, 0.0214080810546875, 0.004486083984375, -0.004299163818359375, 0.04302978515625, 0.0283660888671875, -0.039306640625, 0.007701873779296875, -0.006191253662109375, -0.043121337890625, -0.0174102783203125, -0.01507568359375, -0.03076171875, -0.0117950439453125, 0.0183258056640625, -0.030670166015625, 0.074462890625, 0.0007228851318359375, 0.0301361083984375, 0.03790283203125, -0.028411865234375, -0.06683349609375, -0.0035686492919921875, -0.025604248046875, -0.005565643310546875, -0.01385498046875, -0.0335693359375, 0.0005254745483398438, -0.0654296875, 0.034027099609375, 0.001613616943359375, -0.006439208984375, 0.00722503662109375, 0.0731201171875, 0.0275115966796875, -0.0220184326171875, -0.056304931640625, 0.0174407958984375, 0.04998779296875, 0.0124359130859375, 0.03033447265625, 0.018951416015625, -0.033782958984375, 0.04925537109375, 0.031494140625, -0.007564544677734375, -0.0145111083984375, 0.06268310546875, 0.003200531005859375, -0.05364990234375, 0.034942626953125, -0.0263824462890625, 0.025177001953125, 0.018890380859375, -0.00600433349609375, -0.042510986328125, 0.01445770263671875, 0.0264129638671875, -0.0106201171875, 0.035125732421875, -0.011322021484375, -0.0053863525390625, -0.0055999755859375, 0.0214385986328125, 0.04754638671875, 0.0265960693359375, -0.0018243789672851562, -0.00237274169921875, 0.002964019775390625, -0.0105743408203125, 0.0217742919921875, 0.026885986328125, -0.01236724853515625, 0.0011625289916992188, 0.032318115234375, -0.0287628173828125, -0.01229095458984375, -0.007476806640625, 0.0228729248046875, -0.01561737060546875, -0.04486083984375, -0.0205841064453125, 0.0107421875, 0.0604248046875, 0.04205322265625, 0.00629425048828125, 0.051239013671875, -0.00232696533203125, -0.017974853515625, -0.0294036865234375, -0.046142578125, 0.00008559226989746094, -0.054656982421875, 0.025299072265625, 0.0195770263671875, -0.0260162353515625, 0.0232391357421875, 0.005733489990234375, 0.0310516357421875, -0.00878143310546875, -0.01458740234375, 0.00739288330078125, 0.01241302490234375, 0.004581451416015625, 0.0036144256591796875, 0.0167083740234375, 0.01145172119140625, -0.0156402587890625, 0.047943115234375, -0.02435302734375, -0.011138916015625, -0.00042057037353515625, 0.0305938720703125, -0.058807373046875, -0.02386474609375, 0.045440673828125, -0.015380859375, -0.0038204193115234375, -0.045623779296875, -0.05072021484375, -0.01084136962890625, -0.00887298583984375, 0.0193939208984375, 0.025665283203125, 0.0193328857421875, -0.0064239501953125, 0.0218505859375, -0.0093536376953125, 0.0299530029296875, -0.004619598388671875, -0.00885009765625, -0.004222869873046875, -0.0141143798828125, -0.023651123046875, 0.00762939453125, 0.0308685302734375, -0.05450439453125, -0.0374755859375, -0.01102447509765625, -0.0187835693359375, 0.029998779296875, -0.0167388916015625, 0.04888916015625, -0.016265869140625, -0.04345703125, -0.0199737548828125, 0.00832366943359375, 0.0499267578125, 0.03338623046875, -0.0270538330078125, -0.0038967132568359375, -0.04852294921875, -0.01520538330078125, -0.05291748046875, -0.05889892578125, -0.0109710693359375, 0.0048370361328125, 0.00710296630859375, 0.01108551025390625, -0.0191192626953125, -0.03955078125, -0.043731689453125, 0.01739501953125, 0.046600341796875, 0.053009033203125, -0.0181121826171875, 0.0816650390625, -0.0157470703125, 0.0323486328125, 0.003101348876953125, 0.01983642578125, -0.03515625, 0.01087188720703125, -0.03619384765625, -0.06536865234375, -0.000843048095703125, 0.0211944580078125, -0.029052734375, 0.0926513671875, 0.09661865234375, 0.02130126953125, 0.050811767578125, -0.02447509765625, 0.005275726318359375, -0.0273590087890625, -0.043426513671875, -0.048126220703125, -0.01435089111328125, 0.0199432373046875, 0.0172271728515625, 0.07806396484375, -0.04315185546875, -0.0211334228515625, 0.0274200439453125, -0.019287109375, 0.0660400390625, -0.00783538818359375, -0.032989501953125, 0.036895751953125, 0.0168914794921875, 0.0108795166015625, 0.03802490234375, -0.01183319091796875, 0.024200439453125, -0.0006976127624511719, -0.005878448486328125, 0.017547607421875, 0.0296478271484375, 0.043121337890625, -0.009796142578125, 0.01087188720703125, 0.0089569091796875, -0.0176849365234375, -0.01934814453125, 0.060638427734375, 0.05853271484375, -0.07379150390625, -0.00643157958984375, 0.01111602783203125, 0.005218505859375, 0.0269622802734375, 0.01004791259765625, -0.01004791259765625, -0.01274871826171875, 0.040313720703125, -0.0223236083984375, -0.012420654296875, 0.0296478271484375, -0.00617218017578125, -0.0193939208984375, -0.04168701171875, -0.004241943359375, 0.01273345947265625, -0.021270751953125, 0.017791748046875, 0.00977325439453125, -0.0191497802734375, -0.020111083984375, 0.02264404296875, -0.03759765625, -0.01427459716796875, -0.0306854248046875, 0.00887298583984375, 0.0035915374755859375, -0.01390838623046875, 0.04022216796875, -0.0102691650390625, -0.009490966796875, 0.0092620849609375, -0.013519287109375, 0.0333251953125, -0.04974365234375, -0.0017566680908203125, -0.01483154296875, -0.0253753662109375, 0.0006575584411621094, -0.0238800048828125, -0.00850677490234375, 0.01715087890625, -0.01334381103515625, -0.04974365234375, -0.01323699951171875, -0.01448822021484375, 0.0765380859375, -0.035369873046875, -0.012237548828125, 0.0249176025390625, 0.0207061767578125, -0.00762939453125, -0.00504302978515625, 0.022552490234375, -0.041778564453125, -0.0447998046875, 0.0015172958374023438, -0.058624267578125, -0.0189361572265625, -0.04998779296875, -0.064697265625, 0.08160400390625, -0.04168701171875, 0.038665771484375, 0.0291748046875, 0.02880859375, -0.0162200927734375, 0.00006753206253051758, -0.01142120361328125, 0.0298919677734375, 0.01294708251953125, -0.0284881591796875, -0.0257415771484375, -0.0037555694580078125, -0.02099609375, 0.0285186767578125, 0.0474853515625, 0.00811767578125, -0.042755126953125, 0.007381439208984375, 0.07183837890625, 0.050506591796875, 0.0192413330078125, 0.0185089111328125, -0.004352569580078125, -0.023193359375, 0.015594482421875, 0.035980224609375, 0.045013427734375, 0.006679534912109375, -0.0411376953125, 0.028289794921875, -0.0009093284606933594, 0.0130462646484375, 0.00756072998046875, -0.0072784423828125, -0.0189056396484375, -0.0003020763397216797, 0.0308837890625, -0.043182373046875, -0.0021877288818359375, 0.0190277099609375, -0.006256103515625, -0.0379638671875, -0.019866943359375, -0.01526641845703125, 0.021942138671875, -0.0191802978515625, 0.0225372314453125, -0.030487060546875, -0.00034737586975097656, 0.041290283203125, -0.0035648345947265625, -0.0059661865234375, 0.0396728515625, 0.0037021636962890625, 0.0716552734375, 0.0081787109375, 0.0217437744140625, -0.038360595703125, -0.004955291748046875, -0.03240966796875, 0.0499267578125, -0.04412841796875, -0.00815582275390625, 0.01483154296875, 0.02642822265625, -0.016998291015625, 0.00504302978515625, 0.00901031494140625, 0.0045928955078125, 0.0321044921875, -0.055572509765625, 0.0023403167724609375, 0.034912109375, 0.0167083740234375, -0.01207733154296875, 0.019927978515625, -0.038421630859375, -0.006793975830078125, -0.060272216796875, 0.0115814208984375, 0.0235443115234375, 0.068115234375, 0.006793975830078125, 0.06268310546875, -0.0011873245239257812, -0.0283050537109375, -0.01103973388671875, 0.024566650390625, 0.016632080078125, -0.0091094970703125, 0.0033435821533203125, -0.00150299072265625, -0.0274200439453125, 0.0143890380859375, -0.0207366943359375, 0.0288543701171875, 0.0295562744140625, 0.021484375, -0.00885009765625, -0.0260009765625, -0.0131378173828125, -0.032257080078125, 0.00153350830078125, -0.043212890625, 0.048431396484375, 0.041595458984375, 0.0071258544921875, -0.0017385482788085938, -0.00167083740234375, 0.071044921875, -0.0212860107421875, -0.00614166259765625, 0.011474609375, -0.03558349609375, 0.0279998779296875, 0.00995635986328125, 0.01959228515625, 0.022369384765625, -0.1005859375, -0.01751708984375, -0.05426025390625, -0.00650787353515625, 0.027008056640625, 0.03717041015625, -0.0281219482421875, 0.0347900390625, -0.0030384063720703125, -0.0180816650390625, -0.008026123046875, 0.0192413330078125, 0.0013246536254882812, 0.0004851818084716797, 0.0022258758544921875, -0.0044403076171875, -0.053497314453125, -0.0306549072265625, -0.04638671875, 0.0364990234375, -0.0022869110107421875, 0.0875244140625, -0.0198516845703125, 0.0188446044921875, 0.003955841064453125, 0.0313720703125, -0.0214996337890625, -0.0166015625, 0.0154266357421875, 0.016143798828125, 0.02801513671875, -0.00829315185546875, -0.02886962890625, 0.005664825439453125, 0.04638671875, -0.041259765625, -0.00702667236328125, 0.0212249755859375, 0.0063018798828125, -0.022674560546875, 0.042327880859375, -0.017974853515625, -0.0269927978515625, -0.038177490234375, -0.0161895751953125, 0.01482391357421875, 0.027008056640625, 0.005077362060546875, 0.0059967041015625, 0.011932373046875, -0.01837158203125, 0.03265380859375, -0.0028324127197265625, 0.056610107421875, 0.031768798828125, -0.0408935546875, -0.0262298583984375, 0.0386962890625, 0.0015316009521484375, 0.00011438131332397461, 0.018280029296875, 0.03460693359375, 0.0189208984375, -0.0028171539306640625, 0.06549072265625, 0.0181732177734375, 0.06024169921875, -0.018707275390625, 0.00933837890625, 0.033233642578125, 0.00467681884765625, 0.026702880859375, -0.0195770263671875, -0.03009033203125, -0.05877685546875, 0.0128326416015625, 0.0206146240234375, -0.025787353515625, -0.02459716796875, -0.059326171875, 0.0389404296875, 0.043212890625, -0.005817413330078125, -0.0560302734375, 0.044158935546875, -0.06524658203125, 0.073974609375, -0.00531005859375, -0.026824951171875, 0.020599365234375, 0.035888671875, -0.03704833984375, -0.005374908447265625, -0.030487060546875, -0.0156402587890625, -0.0491943359375, 0.00592803955078125, 0.01345062255859375, -0.0239105224609375, 0.0546875, 0.0151214599609375, 0.0236663818359375, 0.06060791015625, -0.00952911376953125, -0.007160186767578125, 0.032623291015625, -0.0005125999450683594, -0.018280029296875, -0.0693359375, -0.0152587890625, -0.026702880859375, 0.01361846923828125, -0.006744384765625, -0.020263671875, -0.0118255615234375, -0.055084228515625, -0.100830078125, 0.031890869140625, -0.007526397705078125, -0.03924560546875, -0.004302978515625, -0.01494598388671875, -0.0036144256591796875, -0.04022216796875, -0.00592041015625, -0.0166778564453125, -0.01419830322265625, 0.040283203125, -0.0021839141845703125, 0.06622314453125, 0.01340484619140625, 0.002819061279296875, -0.0545654296875, -0.027801513671875, -0.05328369140625, 0.01087188720703125, 0.0051422119140625, -0.031280517578125, 0.0228271484375, -0.00736236572265625, -0.0633544921875, -0.058563232421875, 0.01313018798828125, 0.036895751953125, -0.0015192031860351562, -0.00749969482421875, -0.03900146484375, -0.0272064208984375, 0.091064453125, 0.01065826416015625, 0.0247650146484375, -0.0014238357543945312, -0.0003662109375, -0.0113372802734375, -0.035888671875, 0.004840850830078125, 0.0292816162109375, -0.05657958984375, -0.008758544921875, 0.031768798828125, 0.0108642578125, 0.006366729736328125, -0.0245361328125, -0.01561737060546875, -0.0193328857421875, -0.0136871337890625, 0.01486968994140625, -0.06134033203125, 0.0272216796875, 0.00614166259765625, -0.02081298828125, 0.00064849853515625, -0.01509857177734375, -0.000858306884765625, -0.007266998291015625, 0.01343536376953125, -0.040740966796875, 0.016326904296875, -0.043060302734375, 0.0029315948486328125, -0.02899169921875, 0.006008148193359375, -0.02801513671875, 0.03485107421875, -0.00550079345703125, 0.007610321044921875, -0.020172119140625, -0.0016431808471679688, 0.0211029052734375, -0.001537322998046875, -0.045806884765625, 0.0989990234375, -0.0307769775390625, 0.040313720703125, -0.0163421630859375, 0.00957489013671875, -0.034393310546875, 0.024078369140625, 0.006656646728515625, -0.00946044921875, 0.01329803466796875, -0.0253753662109375, 0.01548004150390625, -0.035858154296875, 0.0171966552734375, -0.01523590087890625, -0.005039215087890625, 0.0171966552734375 ]
dc5280d4d45636ea519f989f09c49b3e7b88a0db
Wordpress Stackexchange Q: Difference between hooks Plugin_loaded and admin_int? As per my understanding, functions attached to plugin_loaded and admin_init hooks are called whenever any admin page is loaded. What's the difference between them? A: plugins_loaded fires once activated plugins have loaded. This fires on both admin and public screens. admin_init fires as an admin screen or script is being initialized. This fires only on admin screens. The typical order for firing of hooks on the admin screen is: * *muplugins_loaded - this is the first hook available to must-use plugins *registered_taxonomy *registered_post_type *plugins_loaded - this is the first hook available to regular plugins *auth_cookie_valid *set_current_user *load_textdomain *sanitize_comment_cookies *setup_theme *unload_textdomain *after_setup_theme - this is the first hook available to themes *init *widgets_init *register_sidebar *wp_register_sidebar_widget *wp_default_styles *wp_default_scripts *debug_bar_enqueue_scripts *wp_loaded - This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated. *auth_redirect *admin_menu *pre_get_users *pre_user_query *admin_init *... lots of other stuff As you can see, a lot happens between plugins_loaded and admin_init. Hooks on the public side are similar to those above, with the notable absence of admin_init.
Q: Difference between hooks Plugin_loaded and admin_int? As per my understanding, functions attached to plugin_loaded and admin_init hooks are called whenever any admin page is loaded. What's the difference between them? A: plugins_loaded fires once activated plugins have loaded. This fires on both admin and public screens. admin_init fires as an admin screen or script is being initialized. This fires only on admin screens. The typical order for firing of hooks on the admin screen is: * *muplugins_loaded - this is the first hook available to must-use plugins *registered_taxonomy *registered_post_type *plugins_loaded - this is the first hook available to regular plugins *auth_cookie_valid *set_current_user *load_textdomain *sanitize_comment_cookies *setup_theme *unload_textdomain *after_setup_theme - this is the first hook available to themes *init *widgets_init *register_sidebar *wp_register_sidebar_widget *wp_default_styles *wp_default_scripts *debug_bar_enqueue_scripts *wp_loaded - This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated. *auth_redirect *admin_menu *pre_get_users *pre_user_query *admin_init *... lots of other stuff As you can see, a lot happens between plugins_loaded and admin_init. Hooks on the public side are similar to those above, with the notable absence of admin_init.
wordpress
{ "language": "en", "length": 179, "provenance": "stackexchange_00019.jsonl.gz:474911", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262396" }
[ 0.07952880859375, -0.002368927001953125, 0.01129150390625, -0.06634521484375, 0.00543975830078125, -0.0038509368896484375, -0.01020050048828125, -0.022369384765625, -0.0660400390625, 0.0270538330078125, 0.0010519027709960938, 0.06005859375, -0.043487548828125, -0.0107574462890625, 0.0254669189453125, -0.03759765625, 0.034698486328125, -0.043914794921875, -0.00582122802734375, -0.03326416015625, 0.0205841064453125, 0.0035533905029296875, -0.003910064697265625, 0.0855712890625, 0.0408935546875, -0.088623046875, 0.0017442703247070312, -0.005924224853515625, 0.0199127197265625, -0.0164947509765625, 0.01345062255859375, 0.02288818359375, 0.025543212890625, 0.052764892578125, -0.04656982421875, -0.0002435445785522461, -0.01605224609375, 0.0399169921875, 0.0019102096557617188, 0.0174560546875, 0.041839599609375, -0.031158447265625, 0.0201263427734375, 0.052703857421875, 0.0013713836669921875, -0.0379638671875, 0.047332763671875, -0.0307159423828125, 0.01506805419921875, -0.042633056640625, 0.0306243896484375, -0.0089569091796875, 0.04534912109375, -0.019256591796875, -0.021881103515625, 0.0221710205078125, -0.048980712890625, 0.0276947021484375, 0.031036376953125, 0.058135986328125, -0.0044097900390625, -0.023406982421875, -0.00406646728515625, -0.0648193359375, 0.004734039306640625, -0.004131317138671875, -0.01181793212890625, 0.0394287109375, -0.052703857421875, -0.0068511962890625, -0.00113677978515625, -0.04046630859375, -0.03369140625, 0.0005698204040527344, -0.04705810546875, 0.0048828125, 0.052734375, -0.01222991943359375, -0.01226043701171875, 0.02667236328125, 0.002719879150390625, -0.001110076904296875, -0.04962158203125, 0.0224609375, -0.0024566650390625, 0.0439453125, -0.017425537109375, -0.035003662109375, -0.00319671630859375, -0.004180908203125, -0.02294921875, 0.0014429092407226562, 0.034393310546875, 0.00615692138671875, -0.036285400390625, -0.006320953369140625, 0.0243377685546875, 0.0341796875, 0.004512786865234375, -0.0117645263671875, -0.0272216796875, -0.002460479736328125, -0.0316162109375, -0.0108489990234375, 0.0142059326171875, 0.049468994140625, 0.014923095703125, -0.0035533905029296875, 0.01119232177734375, -0.0176239013671875, 0.002017974853515625, 0.0120849609375, 0.0160064697265625, 0.00728607177734375, -0.01065826416015625, -0.0289459228515625, -0.037445068359375, 0.04290771484375, -0.0078582763671875, 0.0288848876953125, 0.00853729248046875, 0.0005106925964355469, 0.05950927734375, 0.000606536865234375, -0.0193939208984375, -0.00559234619140625, -0.01409149169921875, -0.047698974609375, -0.06707763671875, 0.0211639404296875, 0.01068115234375, 0.0209503173828125, 0.012481689453125, 0.008026123046875, -0.0241851806640625, -0.00907135009765625, -0.000331878662109375, 0.0078277587890625, -0.0024261474609375, 0.0023097991943359375, -0.01020050048828125, -0.07110595703125, -0.042205810546875, 0.0137176513671875, -0.00881195068359375, 0.0098724365234375, -0.0012569427490234375, 0.01134490966796875, 0.01389312744140625, -0.0548095703125, 0.0109100341796875, -0.033447265625, 0.01001739501953125, 0.01010894775390625, 0.007648468017578125, 0.035430908203125, 0.03363037109375, 0.004756927490234375, -0.0587158203125, 0.001178741455078125, -0.001674652099609375, -0.015899658203125, -0.0318603515625, -0.035858154296875, -0.07586669921875, 0.00904083251953125, 0.0092010498046875, -0.00437164306640625, 0.023284912109375, 0.0011730194091796875, 0.05572509765625, 0.015777587890625, 0.022735595703125, 0.0030841827392578125, -0.0019140243530273438, -0.01934814453125, -0.02838134765625, 0.006946563720703125, 0.03070068359375, 0.0010433197021484375, -0.0262603759765625, -0.0247344970703125, 0.037567138671875, -0.007778167724609375, -0.07098388671875, 0.0189971923828125, 0.0160675048828125, 0.052520751953125, 0.022705078125, 0.0105743408203125, 0.0311431884765625, 0.015106201171875, -0.004974365234375, 0.039154052734375, -0.005191802978515625, -0.052154541015625, 0.001636505126953125, 0.004894256591796875, -0.00876617431640625, -0.0193328857421875, -0.01322174072265625, 0.0158843994140625, -0.0213623046875, -0.00574493408203125, -0.088134765625, -0.0026683807373046875, -0.026947021484375, 0.0511474609375, 0.052581787109375, 0.0213623046875, -0.0248565673828125, -0.005168914794921875, 0.012725830078125, -0.037506103515625, -0.0318603515625, 0.048919677734375, -0.055450439453125, 0.065185546875, 0.01218414306640625, 0.035980224609375, 0.0275726318359375, -0.043121337890625, 0.026092529296875, -0.04248046875, 0.040771484375, 0.01300048828125, 0.00504302978515625, -0.0117034912109375, 0.06402587890625, -0.0021686553955078125, 0.034759521484375, 0.0165863037109375, 0.030548095703125, 0.07244873046875, -0.0258331298828125, -0.00937652587890625, -0.0021381378173828125, -0.04132080078125, 0.006420135498046875, 0.034271240234375, 0.0352783203125, 0.04998779296875, -0.0305938720703125, 0.00673675537109375, 0.018310546875, -0.03289794921875, 0.01580810546875, -0.014892578125, 0.0166778564453125, 0.0576171875, -0.01629638671875, 0.0180511474609375, 0.0129547119140625, 0.01531982421875, 0.0105133056640625, 0.0357666015625, -0.032318115234375, -0.04901123046875, 0.01490020751953125, -0.0113983154296875, 0.0262603759765625, -0.06048583984375, -0.037994384765625, -0.012969970703125, -0.0132904052734375, -0.033966064453125, -0.035369873046875, -0.045196533203125, -0.03619384765625, -0.03179931640625, 0.06439208984375, 0.025909423828125, -0.026153564453125, 0.01424407958984375, 0.08447265625, -0.0501708984375, -0.04766845703125, 0.0032787322998046875, -0.0025615692138671875, -0.0036258697509765625, -0.024383544921875, -0.03515625, -0.0455322265625, -0.00032067298889160156, 0.0012006759643554688, -0.0587158203125, 0.0294647216796875, 0.053131103515625, 0.032012939453125, 0.00656890869140625, 0.0217132568359375, -0.0126800537109375, -0.030426025390625, 0.047943115234375, -0.006946563720703125, -0.025115966796875, -0.054779052734375, -0.023712158203125, 0.016021728515625, -0.0155487060546875, 0.043548583984375, 0.06524658203125, 0.0196380615234375, -0.0086822509765625, 0.0093841552734375, -0.015472412109375, 0.025970458984375, -0.007038116455078125, -0.0006918907165527344, -0.0168914794921875, -0.0021038055419921875, 0.06072998046875, 0.020416259765625, 0.06414794921875, -0.01242828369140625, -0.05462646484375, -0.0258331298828125, 0.0115966796875, -0.06927490234375, -0.051177978515625, -0.0791015625, -0.05950927734375, 0.06146240234375, -0.044677734375, 0.0008487701416015625, 0.0007047653198242188, -0.0411376953125, 0.04376220703125, -0.0211029052734375, 0.0005035400390625, -0.00713348388671875, -0.004306793212890625, -0.0137939453125, 0.03900146484375, -0.0066680908203125, -0.0028858184814453125, -0.0038299560546875, 0.06011962890625, -0.012908935546875, -0.0258331298828125, -0.013702392578125, -0.0274658203125, -0.0141754150390625, -0.01065826416015625, -0.006969451904296875, 0.00487518310546875, 0.025665283203125, 0.0238189697265625, 0.00246429443359375, 0.0002644062042236328, -0.01064300537109375, -0.05670166015625, 0.0225830078125, -0.041534423828125, 0.023193359375, 0.0196685791015625, -0.036529541015625, -0.035186767578125, 0.0093231201171875, -0.06787109375, 0.01323699951171875, -0.0111236572265625, -0.04052734375, 0.01178741455078125, 0.035064697265625, -0.01352691650390625, 0.02398681640625, -0.033477783203125, -0.0113677978515625, 0.007678985595703125, -0.0196990966796875, -0.0202178955078125, 0.0338134765625, -0.01242828369140625, 0.00807952880859375, 0.01995849609375, -0.0004565715789794922, -0.035614013671875, -0.01462554931640625, -0.01123046875, -0.011322021484375, -0.0143890380859375, -0.0081329345703125, -0.01497650146484375, 0.00009512901306152344, 0.0198822021484375, -0.0118560791015625, 0.020843505859375, -0.0180511474609375, -0.01898193359375, -0.031005859375, 0.04327392578125, -0.035491943359375, 0.0224151611328125, 0.0390625, 0.0088348388671875, -0.040557861328125, -0.018463134765625, -0.108154296875, -0.002292633056640625, -0.07672119140625, 0.005107879638671875, 0.0174407958984375, -0.0178680419921875, -0.03912353515625, 0.053436279296875, -0.0718994140625, -0.0260772705078125, 0.020172119140625, -0.01129150390625, 0.0180511474609375, 0.006130218505859375, 0.0095672607421875, -0.007183074951171875, -0.004642486572265625, -0.0234375, -0.06719970703125, -0.007389068603515625, -0.037933349609375, 0.05548095703125, 0.06134033203125, -0.045013427734375, -0.022491455078125, 0.00885772705078125, 0.0165557861328125, -0.0018911361694335938, 0.0068817138671875, -0.00412750244140625, -0.01181793212890625, -0.00876617431640625, -0.00612640380859375, -0.01081085205078125, -0.0026378631591796875, -0.040191650390625, -0.04693603515625, -0.0300140380859375, -0.0247802734375, 0.0173492431640625, -0.0135345458984375, -0.01263427734375, -0.03826904296875, 0.00890350341796875, -0.0390625, -0.0305023193359375, -0.0002989768981933594, -0.0256805419921875, 0.0290985107421875, -0.0555419921875, -0.0004668235778808594, -0.045013427734375, -0.013427734375, 0.005870819091796875, 0.039215087890625, 0.0416259765625, 0.013580322265625, 0.0640869140625, -0.033447265625, 0.0013685226440429688, -0.0057525634765625, 0.055450439453125, 0.036956787109375, 0.0168914794921875, 0.01049041748046875, -0.0013952255249023438, 0.040069580078125, -0.021270751953125, 0.04986572265625, -0.0139007568359375, -0.0049591064453125, 0.01392364501953125, -0.0006694793701171875, -0.022247314453125, 0.033538818359375, -0.0189971923828125, 0.01751708984375, -0.0018053054809570312, -0.00997161865234375, -0.035125732421875, 0.0157623291015625, -0.0020465850830078125, 0.0060272216796875, -0.0035552978515625, 0.042205810546875, 0.022003173828125, 0.0142974853515625, 0.004894256591796875, -0.0244293212890625, 0.00699615478515625, -0.00749969482421875, 0.034271240234375, 0.005756378173828125, -0.01097869873046875, -0.018402099609375, 0.077880859375, -0.020233154296875, 0.0035915374755859375, -0.01001739501953125, 0.053009033203125, -0.0187225341796875, -0.032684326171875, -0.05426025390625, -0.0153350830078125, 0.06219482421875, 0.02587890625, 0.0137481689453125, 0.048431396484375, 0.0239410400390625, -0.024017333984375, -0.00843048095703125, 0.0277099609375, -0.01482391357421875, -0.03875732421875, 0.0170440673828125, -0.006988525390625, 0.0079193115234375, 0.03680419921875, 0.047760009765625, 0.0216217041015625, 0.0330810546875, -0.02947998046875, 0.021697998046875, -0.00778961181640625, 0.0318603515625, 0.0236663818359375, 0.0010471343994140625, -0.01015472412109375, 0.01215362548828125, -0.004962921142578125, -0.03155517578125, 0.005252838134765625, 0.016357421875, 0.01396942138671875, -0.0028743743896484375, -0.01079559326171875, 0.015899658203125, -0.006465911865234375, -0.0302734375, 0.1080322265625, 0.0202484130859375, -0.098388671875, -0.056396484375, -0.01201629638671875, 0.048126220703125, -0.0308074951171875, -0.0006532669067382812, 0.05633544921875, 0.004730224609375, 0.00783538818359375, -0.01406097412109375, -0.04119873046875, 0.004039764404296875, 0.0234832763671875, 0.00307464599609375, -0.00829315185546875, -0.0069427490234375, -0.017974853515625, -0.0099945068359375, -0.008331298828125, -0.004894256591796875, 0.056304931640625, -0.0200653076171875, 0.015106201171875, -0.0288543701171875, 0.010955810546875, -0.032928466796875, 0.01323699951171875, 0.053070068359375, 0.027130126953125, -0.0523681640625, 0.0082550048828125, -0.041046142578125, 0.01274871826171875, -0.0462646484375, -0.047576904296875, -0.0243682861328125, 0.0009832382202148438, -0.00771331787109375, 0.03936767578125, -0.0028781890869140625, 0.0075531005859375, -0.0129241943359375, -0.01544189453125, -0.005290985107421875, 0.0228118896484375, -0.0012149810791015625, 0.045654296875, -0.001247406005859375, 0.005229949951171875, 0.01250457763671875, 0.02337646484375, -0.026397705078125, -0.0049896240234375, -0.0004153251647949219, -0.027252197265625, -0.0012025833129882812, -0.0031719207763671875, 0.0316162109375, -0.0014801025390625, 0.0196075439453125, 0.00182342529296875, -0.0031909942626953125, 0.01560211181640625, 0.0038433074951171875, 0.00405120849609375, 0.019775390625, 0.052703857421875, 0.0179595947265625, 0.0199737548828125, 0.00841522216796875, -0.00600433349609375, -0.015869140625, -0.03509521484375, 0.020904541015625, 0.0188140869140625, 0.005168914794921875, -0.0072479248046875, -0.05535888671875, 0.0418701171875, -0.0012540817260742188, 0.007129669189453125, 0.022125244140625, 0.00234222412109375, 0.027252197265625, 0.013885498046875, 0.00832366943359375, 0.0157623291015625, -0.008636474609375, 0.03485107421875, 0.0007348060607910156, 0.01229095458984375, 0.028411865234375, -0.0229339599609375, 0.007724761962890625, 0.0592041015625, 0.06475830078125, -0.1009521484375, 0.015655517578125, 0.037994384765625, -0.0011444091796875, -0.0172271728515625, -0.00525665283203125, -0.0164031982421875, -0.0323486328125, 0.048553466796875, 0.028076171875, -0.006744384765625, 0.0389404296875, 0.0284576416015625, -0.04608154296875, -0.016082763671875, -0.019561767578125, 0.033447265625, 0.0215606689453125, 0.0654296875, -0.034454345703125, 0.037933349609375, -0.0062103271484375, -0.0006690025329589844, 0.0106353759765625, -0.033935546875, -0.044677734375, 0.0002942085266113281, -0.0175018310546875, -0.0223846435546875, 0.057769775390625, -0.0003559589385986328, 0.047882080078125, 0.0206756591796875, 0.0227508544921875, -0.022613525390625, -0.013153076171875, 0.00933837890625, -0.040008544921875, -0.032012939453125, 0.0148468017578125, 0.045318603515625, -0.035858154296875, 0.03363037109375, -0.0090484619140625, -0.0212249755859375, 0.001346588134765625, -0.0268707275390625, 0.00878143310546875, -0.0307464599609375, -0.007335662841796875, 0.026123046875, -0.00506591796875, 0.00286102294921875, -0.014373779296875, 0.03546142578125, -0.0005717277526855469, 0.0234222412109375, -0.01203155517578125, -0.0147247314453125, -0.0268402099609375, -0.032684326171875, -0.08160400390625, 0.0914306640625, 0.052093505859375, 0.032928466796875, -0.0128326416015625, 0.013275146484375, -0.03155517578125, -0.0203857421875, -0.008758544921875, 0.055206298828125, -0.001720428466796875, -0.006175994873046875, 0.00031304359436035156, 0.0195770263671875, -0.00574493408203125, -0.01495361328125, 0.02734375, 0.007274627685546875, -0.018829345703125, 0.01061248779296875, 0.04608154296875, -0.01372528076171875, -0.01161956787109375, 0.03594970703125, 0.02337646484375, 0.044769287109375, 0.0168609619140625, -0.0169219970703125, 0.051177978515625, -0.083984375, -0.03509521484375, 0.0214996337890625, -0.00836181640625, -0.01308441162109375, -0.007266998291015625, 0.0029754638671875, -0.052215576171875, -0.00896453857421875, 0.0259552001953125, 0.008026123046875, -0.0228271484375, -0.00701141357421875, -0.03094482421875, -0.00611114501953125, -0.01258087158203125, -0.0188140869140625, 0.0143585205078125, -0.004085540771484375, -0.01219940185546875, 0.0009212493896484375, 0.01727294921875, 0.007602691650390625, -0.030975341796875, -0.007266998291015625, 0.046661376953125, -0.0458984375, 0.062042236328125, 0.004261016845703125, 0.04425048828125, -0.035552978515625, -0.019561767578125, 0.00061798095703125, 0.06591796875, -0.022613525390625, -0.0706787109375, 0.0026569366455078125, 0.00632476806640625, 0.0036602020263671875, 0.047637939453125, 0.01340484619140625, -0.046142578125, 0.036651611328125, 0.006740570068359375, -0.033721923828125, 0.004180908203125, 0.026275634765625, 0.004413604736328125, 0.00347900390625, 0.005199432373046875, -0.03363037109375, -0.0004127025604248047, 0.007579803466796875, 0.0113372802734375, -0.00197601318359375, -0.040618896484375, 0.01739501953125, 0.0069580078125, 0.0179290771484375, -0.01065826416015625, 0.0228424072265625, -0.01503753662109375, 0.03387451171875, -0.07379150390625, -0.046905517578125, 0.0288543701171875, 0.06414794921875, 0.037109375, -0.006038665771484375, 0.0343017578125, 0.029815673828125, -0.01153564453125, 0.0144805908203125, 0.028350830078125, 0.004917144775390625, -0.04071044921875, 0.0101776123046875, 0.01277923583984375, 0.007183074951171875, -0.00408172607421875, 0.0006666183471679688, 0.044189453125, 0.0009098052978515625, -0.0286102294921875, 0.02130126953125, -0.00030350685119628906, -0.032196044921875, 0.03289794921875, -0.013519287109375, 0.0693359375, 0.0022716522216796875, -0.05780029296875, -0.012969970703125, -0.0311126708984375, -0.0263824462890625, 0.05322265625, 0.056182861328125, 0.01087188720703125, 0.0068359375, 0.06793212890625, 0.0169677734375, -0.01012420654296875, 0.00391387939453125, 0.0200042724609375, -0.06842041015625, 0.0291290283203125, 0.00804901123046875, 0.0009388923645019531, 0.0169525146484375, 0.034912109375, -0.01678466796875, 0.00138092041015625, 0.042724609375, -0.00189971923828125, -0.0123748779296875, 0.010528564453125, -0.0106658935546875, -0.017242431640625, -0.02130126953125, 0.0234375, -0.05804443359375, -0.027862548828125, 0.0184478759765625, -0.05889892578125, 0.0309600830078125, 0.0116119384765625, -0.0002613067626953125, -0.00673675537109375, 0.00699615478515625, 0.0254974365234375, 0.019134521484375, 0.0220184326171875, -0.0162811279296875, -0.053680419921875, -0.02593994140625, 0.0291290283203125, 0.013397216796875, 0.017303466796875, -0.038177490234375, -0.00037598609924316406, -0.0311737060546875, -0.039703369140625, -0.031219482421875, 0.00043129920959472656, -0.0831298828125, 0.002185821533203125, 0.0175018310546875, 0.006595611572265625, 0.03131103515625, -0.01495361328125, 0.0284271240234375, 0.005229949951171875, 0.03216552734375, 0.010009765625, -0.03436279296875, 0.03173828125, 0.020751953125, 0.0521240234375, -0.0276641845703125, 0.017578125, 0.0258331298828125, 0.004482269287109375, 0.00690460205078125, -0.057037353515625, -0.038909912109375, -0.056976318359375, -0.017974853515625, 0.0194549560546875, -0.042236328125, -0.07275390625, -0.048675537109375, 0.031494140625, 0.00992584228515625, 0.0008015632629394531, -0.06573486328125, 0.0190887451171875, -0.0188446044921875, 0.06878662109375, -0.0223236083984375, 0.00208282470703125, -0.0162353515625, -0.0042266845703125, -0.03521728515625, -0.016326904296875, -0.034698486328125, 0.0291748046875, -0.0235595703125, 0.01904296875, 0.041015625, -0.0285797119140625, -0.01433563232421875, 0.010772705078125, 0.00968170166015625, 0.07611083984375, -0.007598876953125, -0.0033111572265625, 0.0328369140625, 0.02142333984375, -0.02130126953125, -0.06591796875, -0.029022216796875, 0.0031795501708984375, 0.0165863037109375, -0.004940032958984375, -0.0180816650390625, -0.0023365020751953125, -0.04376220703125, -0.039031982421875, 0.09149169921875, 0.003467559814453125, -0.0162811279296875, -0.06280517578125, 0.030029296875, 0.0213470458984375, -0.01267242431640625, -0.0247039794921875, -0.0142364501953125, -0.0489501953125, 0.0140228271484375, 0.03125, -0.0257415771484375, 0.07550048828125, -0.00978851318359375, -0.0116424560546875, 0.01386260986328125, 0.022552490234375, 0.00485992431640625, 0.010040283203125, -0.0244293212890625, 0.052490234375, 0.0616455078125, -0.0134735107421875, 0.025634765625, 0.0018739700317382812, -0.0079803466796875, -0.045135498046875, -0.04510498046875, 0.039794921875, 0.020263671875, 0.054901123046875, -0.0010576248168945312, -0.0020904541015625, -0.0350341796875, -0.0303802490234375, -0.02276611328125, -0.0072784423828125, -0.035491943359375, 0.022979736328125, -0.0927734375, -0.032470703125, 0.01419830322265625, -0.007476806640625, 0.00044727325439453125, -0.0035877227783203125, -0.0234375, -0.0093994140625, -0.0024242401123046875, -0.01442718505859375, 0.0117950439453125, -0.051513671875, 0.0733642578125, -0.040130615234375, -0.03399658203125, 0.037994384765625, 0.0301055908203125, -0.0027904510498046875, 0.03851318359375, 0.050872802734375, 0.0176239013671875, -0.048309326171875, 0.005443572998046875, 0.007843017578125, 0.01398468017578125, -0.032196044921875, -0.052215576171875, -0.0005626678466796875, 0.025299072265625, -0.0079803466796875, 0.022369384765625, 0.0065155029296875, 0.0226898193359375, -0.00919342041015625, 0.06146240234375, 0.002079010009765625, 0.050384521484375, -0.023406982421875, 0.041839599609375, -0.0036334991455078125, -0.00441741943359375, -0.00620269775390625, 0.01412200927734375, -0.0010061264038085938, 0.0221099853515625, 0.00379180908203125, -0.044281005859375, 0.05517578125, 0.0255584716796875, 0.00894927978515625, 0.036895751953125 ]
18876e8c3e0972991a79e308c2f2bdd215a1879c
Wordpress Stackexchange Q: Keep getting same permalink with WP_Query? I have this code below, and I wish to show each link of each post, but I keep getting same link to all posts which is the link of the page. $args = array('posts_per_page' => 5,'order' => 'DESC'); $rp = new WP_Query($args); if($rp->have_posts()) : while($rp->have_posts()) : $rp->the_post(); the_title(); $link=the_permalink(); echo '<a href="'.$link.'">Welcome</a>'; echo "<br />"; endwhile; wp_reset_postdata(); endif; Thank you. A: Don't forget to use esc_url() echo '<a href="'. esc_url( $link ).'">Welcome</a>'; Also try this: get_permalink( get_the_ID() );
Q: Keep getting same permalink with WP_Query? I have this code below, and I wish to show each link of each post, but I keep getting same link to all posts which is the link of the page. $args = array('posts_per_page' => 5,'order' => 'DESC'); $rp = new WP_Query($args); if($rp->have_posts()) : while($rp->have_posts()) : $rp->the_post(); the_title(); $link=the_permalink(); echo '<a href="'.$link.'">Welcome</a>'; echo "<br />"; endwhile; wp_reset_postdata(); endif; Thank you. A: Don't forget to use esc_url() echo '<a href="'. esc_url( $link ).'">Welcome</a>'; Also try this: get_permalink( get_the_ID() ); A: $args = array('posts_per_page' => 5, 'order' => 'DESC'); $rp = new WP_Query($args); if ($rp->have_posts()) : $i = 0; $link = ''; while ($rp->have_posts()) : $rp->the_post(); the_title(); if ($i == 0) $link = get_permalink(); echo '<a href="' . $link . '">Welcome</a>'; echo "<br />"; $i++; endwhile; wp_reset_postdata(); endif; this core get only first post link A: You are missing get_the_ID() inside the loop. Thats why its showing the permalink of first post for each post inside the loop; Try this code $args = array('posts_per_page' => 5,'order' => 'DESC'); $rp = new WP_Query($args); if($rp->have_posts()) : while($rp->have_posts()) : $rp->the_post(); the_title(); $link=get_the_permalink(get_the_ID()); //get_the_ID() gets the id of the post inside a loop echo '<a href="'.$link.'">Welcome</a>'; echo "<br />"; endwhile; wp_reset_postdata(); endif; Note: Please check the documentation for better understanding.
wordpress
{ "language": "en", "length": 211, "provenance": "stackexchange_00019.jsonl.gz:475020", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262801" }
[ 0.080078125, -0.0014123916625976562, 0.017669677734375, -0.00688934326171875, 0.035614013671875, -0.04583740234375, 0.08099365234375, -0.04150390625, -0.0020427703857421875, 0.0216217041015625, -0.0526123046875, 0.01210784912109375, -0.004604339599609375, -0.0178070068359375, 0.0257720947265625, -0.0252685546875, 0.03729248046875, -0.029510498046875, 0.0167694091796875, -0.005672454833984375, 0.00681304931640625, 0.01459503173828125, 0.0382080078125, 0.061309814453125, 0.01153564453125, -0.0093536376953125, 0.039031982421875, -0.01739501953125, 0.006504058837890625, -0.0118255615234375, 0.0084075927734375, -0.00699615478515625, 0.0113372802734375, 0.0111541748046875, -0.0116424560546875, -0.037109375, 0.0265655517578125, -0.02239990234375, -0.0030651092529296875, 0.0246429443359375, 0.01395416259765625, -0.00124359130859375, 0.0204315185546875, 0.042510986328125, -0.0233001708984375, -0.003726959228515625, -0.0005021095275878906, -0.029266357421875, -0.020111083984375, 0.0160064697265625, 0.0175628662109375, 0.0251312255859375, 0.013916015625, 0.0272216796875, 0.00908660888671875, 0.046844482421875, 0.01560211181640625, -0.072509765625, 0.0302734375, -0.04449462890625, -0.037445068359375, -0.055267333984375, 0.04974365234375, 0.0016756057739257812, -0.044769287109375, 0.0215606689453125, 0.0263824462890625, 0.002056121826171875, -0.01480865478515625, -0.059173583984375, -0.0023517608642578125, -0.00931549072265625, -0.0235595703125, -0.035369873046875, -0.03375244140625, -0.0158538818359375, 0.00815582275390625, -0.058868408203125, -0.0222625732421875, 0.0203857421875, 0.0264129638671875, -0.0183868408203125, -0.059417724609375, 0.0112457275390625, 0.00803375244140625, 0.0229644775390625, 0.0028667449951171875, -0.01824951171875, -0.034027099609375, -0.028900146484375, -0.03289794921875, -0.0009860992431640625, -0.024169921875, -0.0279693603515625, -0.0313720703125, -0.019317626953125, 0.01270294189453125, 0.04931640625, -0.0199737548828125, 0.007843017578125, -0.0313720703125, -0.0160064697265625, 0.0217132568359375, -0.035858154296875, -0.013519287109375, 0.0028743743896484375, 0.034210205078125, 0.0684814453125, 0.043487548828125, 0.02044677734375, -0.00567626953125, 0.0660400390625, -0.0089569091796875, -0.0260772705078125, -0.0133819580078125, 0.01302337646484375, -0.045989990234375, 0.0168914794921875, 0.01274871826171875, 0.01319122314453125, -0.005939483642578125, 0.01374053955078125, 0.016510009765625, -0.007396697998046875, 0.0155029296875, 0.0189208984375, 0.0038471221923828125, -0.0623779296875, -0.03656005859375, 0.0308990478515625, -0.01995849609375, -0.005245208740234375, 0.033294677734375, 0.05682373046875, 0.0099945068359375, -0.0280914306640625, -0.0124969482421875, -0.059478759765625, -0.0107879638671875, 0.0299072265625, -0.0184478759765625, -0.032958984375, 0.0248565673828125, -0.011077880859375, 0.008026123046875, 0.02996826171875, -0.0004513263702392578, -0.0099639892578125, 0.02593994140625, 0.01042938232421875, -0.052093505859375, -0.031005859375, 0.026702880859375, -0.00212860107421875, -0.027801513671875, -0.035614013671875, 0.003643035888671875, -0.0171356201171875, 0.0137481689453125, -0.038970947265625, 0.06439208984375, 0.0001310110092163086, -0.0086212158203125, -0.005985260009765625, -0.060272216796875, -0.0039825439453125, -0.056793212890625, -0.027557373046875, 0.01091766357421875, 0.05810546875, -0.0036373138427734375, -0.00905609130859375, -0.005702972412109375, -0.0213470458984375, -0.0249176025390625, -0.032012939453125, -0.007663726806640625, -0.007724761962890625, 0.037445068359375, 0.01058197021484375, -0.01971435546875, -0.0258941650390625, 0.0261383056640625, -0.01131439208984375, -0.06951904296875, 0.041229248046875, 0.00836181640625, 0.043121337890625, 0.01470184326171875, 0.01277923583984375, 0.040557861328125, 0.04058837890625, -0.05523681640625, 0.05316162109375, -0.01357269287109375, -0.0241241455078125, -0.0183258056640625, 0.00707244873046875, -0.02069091796875, -0.007587432861328125, 0.001659393310546875, -0.0118865966796875, 0.019989013671875, 0.01551055908203125, -0.028167724609375, 0.033355712890625, -0.0124359130859375, 0.02374267578125, 0.03564453125, 0.040924072265625, 0.0172576904296875, 0.03778076171875, -0.049468994140625, -0.01007080078125, -0.01751708984375, 0.03961181640625, -0.034393310546875, -0.00787353515625, -0.039642333984375, -0.0142974853515625, -0.051971435546875, -0.0292205810546875, -0.0465087890625, 0.041900634765625, 0.05267333984375, -0.0467529296875, -0.004550933837890625, -0.0537109375, -0.00707244873046875, -0.0254058837890625, -0.055450439453125, 0.07635498046875, 0.0310821533203125, 0.0504150390625, -0.0263519287109375, 0.01485443115234375, 0.0093994140625, -0.0011415481567382812, -0.010833740234375, 0.0196380615234375, 0.05224609375, 0.01317596435546875, 0.0026187896728515625, -0.033111572265625, 0.0205841064453125, -0.0626220703125, 0.038543701171875, -0.052459716796875, 0.006381988525390625, 0.035308837890625, 0.00662994384765625, 0.040252685546875, 0.019744873046875, 0.0030803680419921875, 0.02801513671875, 0.036773681640625, 0.01507568359375, 0.05224609375, -0.06268310546875, 0.042327880859375, -0.0167999267578125, -0.0225982666015625, 0.006847381591796875, -0.034423828125, -0.021636962890625, 0.0256805419921875, 0.0151214599609375, 0.01629638671875, -0.0220947265625, 0.00299072265625, 0.0060577392578125, 0.00988006591796875, -0.01546478271484375, -0.00421142578125, 0.0176239013671875, -0.03228759765625, -0.0450439453125, 0.005062103271484375, 0.011749267578125, -0.00689697265625, -0.00699615478515625, 0.020477294921875, 0.01181793212890625, -0.004520416259765625, -0.0025177001953125, -0.0411376953125, 0.0062408447265625, -0.00901031494140625, 0.01383209228515625, 0.01140594482421875, 0.02960205078125, 0.00798797607421875, -0.0223236083984375, 0.032196044921875, 0.001567840576171875, -0.0244293212890625, -0.01195526123046875, -0.043548583984375, 0.046417236328125, -0.05328369140625, 0.031890869140625, 0.065673828125, -0.01171875, 0.035369873046875, -0.0186309814453125, -0.00565338134765625, -0.0391845703125, 0.0019779205322265625, -0.038116455078125, -0.01361083984375, -0.0966796875, -0.0172119140625, 0.0202789306640625, 0.0640869140625, -0.00884246826171875, -0.050933837890625, 0.0031833648681640625, 0.0208892822265625, -0.10821533203125, -0.11798095703125, 0.01171112060546875, -0.01953125, 0.02398681640625, 0.0184478759765625, 0.0017271041870117188, -0.036041259765625, 0.022125244140625, -0.0008068084716796875, 0.00812530517578125, 0.015350341796875, -0.08294677734375, -0.024871826171875, -0.0733642578125, 0.021759033203125, -0.025726318359375, 0.0221099853515625, 0.0026454925537109375, 0.0179290771484375, -0.0080413818359375, -0.0225677490234375, 0.0014734268188476562, 0.04681396484375, -0.0200347900390625, -0.045745849609375, -0.01441192626953125, -0.0003781318664550781, 0.00669097900390625, -0.014190673828125, 0.07073974609375, 0.0447998046875, -0.041900634765625, 0.0240325927734375, 0.0138702392578125, -0.01512908935546875, 0.05804443359375, -0.0103912353515625, -0.042327880859375, 0.0614013671875, 0.06884765625, -0.005748748779296875, -0.01416015625, -0.04107666015625, -0.044952392578125, 0.037139892578125, 0.00885009765625, 0.01503753662109375, -0.003509521484375, 0.023590087890625, 0.01027679443359375, -0.006072998046875, 0.021514892578125, -0.0325927734375, 0.042694091796875, -0.0047760009765625, 0.01222991943359375, -0.03546142578125, 0.0075836181640625, -0.0244293212890625, 0.0016193389892578125, -0.006450653076171875, -0.0157318115234375, -0.0318603515625, -0.0010824203491210938, -0.05181884765625, -0.02496337890625, 0.04876708984375, -0.0210418701171875, 0.019989013671875, -0.03741455078125, -0.0408935546875, -0.0200958251953125, 0.0711669921875, -0.0060882568359375, -0.02166748046875, -0.010101318359375, -0.00835418701171875, -0.01322174072265625, -0.0162506103515625, -0.0214385986328125, 0.00434112548828125, -0.021087646484375, -0.039154052734375, -0.023162841796875, -0.03570556640625, -0.01363372802734375, -0.004974365234375, -0.0302734375, -0.00894927978515625, 0.048583984375, -0.0038242340087890625, 0.007343292236328125, 0.0233001708984375, -0.01023101806640625, 0.00997161865234375, -0.049285888671875, 0.0066986083984375, -0.0994873046875, -0.018218994140625, 0.037109375, 0.054412841796875, -0.007114410400390625, -0.0406494140625, -0.0157470703125, 0.051300048828125, 0.007015228271484375, 0.036346435546875, 0.0010652542114257812, -0.00919342041015625, -0.0171966552734375, 0.0106964111328125, 0.010101318359375, -0.021728515625, 0.0027790069580078125, -0.025360107421875, -0.007099151611328125, -0.0033168792724609375, -0.053375244140625, -0.0062408447265625, -0.04150390625, -0.0117034912109375, -0.0626220703125, -0.0038280487060546875, 0.02862548828125, 0.040191650390625, -0.0099639892578125, 0.0148773193359375, -0.0080413818359375, -0.059783935546875, 0.0010738372802734375, -0.00640869140625, -0.00801849365234375, 0.007762908935546875, 0.0667724609375, 0.0279693603515625, 0.00026106834411621094, -0.016510009765625, 0.002750396728515625, 0.0229644775390625, -0.0293731689453125, 0.078125, 0.038909912109375, 0.01239776611328125, 0.043182373046875, -0.019805908203125, 0.0261077880859375, -0.01303863525390625, 0.0181732177734375, -0.0119171142578125, -0.016632080078125, 0.03338623046875, -0.0100860595703125, -0.00943756103515625, 0.036376953125, -0.00020396709442138672, -0.00809478759765625, -0.0189056396484375, 0.043304443359375, 0.0165863037109375, -0.035369873046875, -0.06011962890625, -0.02239990234375, 0.0019969940185546875, 0.0306854248046875, 0.02850341796875, 0.0244598388671875, 0.0045013427734375, 0.019927978515625, 0.036376953125, 0.0119171142578125, 0.02581787109375, 0.0914306640625, 0.007595062255859375, 0.058868408203125, 0.022552490234375, 0.006671905517578125, -0.05078125, -0.01898193359375, 0.060546875, 0.045623779296875, 0.0020847320556640625, 0.0243682861328125, -0.0257720947265625, -0.01654052734375, -0.0165863037109375, 0.0321044921875, 0.05230712890625, 0.00272369384765625, 0.0201873779296875, -0.010650634765625, -0.007312774658203125, -0.02471923828125, -0.03277587890625, 0.0231170654296875, -0.0004582405090332031, 0.0126495361328125, 0.038360595703125, 0.060028076171875, -0.0012445449829101562, 0.0645751953125, -0.0208892822265625, -0.03009033203125, -0.007747650146484375, 0.038055419921875, 0.038299560546875, -0.012237548828125, -0.010772705078125, 0.0157928466796875, 0.0357666015625, -0.04632568359375, -0.03887939453125, 0.041534423828125, 0.07440185546875, 0.0187225341796875, 0.0116119384765625, -0.0187225341796875, -0.0018901824951171875, -0.031463623046875, 0.0716552734375, 0.015716552734375, -0.05462646484375, -0.06427001953125, 0.001987457275390625, 0.0501708984375, -0.002033233642578125, 0.01129913330078125, -0.022796630859375, 0.0165557861328125, -0.01284027099609375, -0.050018310546875, -0.0205230712890625, 0.01092529296875, 0.0186309814453125, 0.010772705078125, -0.05218505859375, -0.01136016845703125, -0.00868988037109375, 0.0307464599609375, -0.02734375, -0.0032100677490234375, 0.0209197998046875, 0.0269622802734375, 0.08740234375, -0.047576904296875, -0.060150146484375, 0.0115966796875, -0.0175628662109375, 0.06610107421875, 0.0357666015625, -0.0704345703125, 0.0014438629150390625, -0.0295867919921875, 0.005352020263671875, 0.01458740234375, -0.038818359375, -0.022705078125, -0.041290283203125, 0.012908935546875, 0.0107269287109375, 0.002834320068359375, -0.005023956298828125, -0.02569580078125, 0.007965087890625, -0.0033397674560546875, 0.040618896484375, -0.01537322998046875, 0.0660400390625, -0.0192718505859375, 0.0421142578125, -0.0104522705078125, 0.01271820068359375, -0.030364990234375, -0.005336761474609375, -0.0018148422241210938, -0.0394287109375, -0.035247802734375, 0.0143280029296875, -0.0153350830078125, -0.00475311279296875, 0.005817413330078125, -0.00215911865234375, 0.003620147705078125, -0.0165557861328125, 0.00550079345703125, -0.0113067626953125, 0.01419830322265625, -0.01512908935546875, -0.0031280517578125, 0.0350341796875, 0.0159759521484375, 0.03912353515625, -0.01238250732421875, -0.003528594970703125, -0.01812744140625, 0.003292083740234375, -0.01093292236328125, -0.0161285400390625, 0.0087432861328125, 0.00479888916015625, 0.05804443359375, 0.0175018310546875, 0.06494140625, 0.03759765625, 0.04510498046875, 0.0650634765625, 0.004924774169921875, 0.062469482421875, 0.01263427734375, 0.048858642578125, -0.015899658203125, 0.0362548828125, 0.03875732421875, -0.0162200927734375, -0.0299835205078125, -0.01629638671875, 0.0216522216796875, 0.003376007080078125, 0.006549835205078125, 0.020904541015625, -0.002674102783203125, -0.01044464111328125, 0.01316070556640625, 0.0321044921875, 0.022613525390625, -0.003330230712890625, -0.00597381591796875, -0.005680084228515625, -0.0023441314697265625, -0.0284423828125, 0.025238037109375, -0.02362060546875, 0.050445556640625, -0.007419586181640625, -0.0703125, -0.0247344970703125, 0.05059814453125, -0.0309600830078125, -0.0057525634765625, -0.033447265625, 0.01433563232421875, -0.0172119140625, -0.0615234375, -0.00183868408203125, -0.06915283203125, 0.024688720703125, 0.022247314453125, 0.011138916015625, 0.000919342041015625, 0.058807373046875, -0.0258026123046875, 0.0538330078125, 0.010040283203125, 0.007274627685546875, -0.035400390625, -0.048675537109375, -0.0209808349609375, 0.03863525390625, -0.0213623046875, 0.0279541015625, 0.0009450912475585938, -0.019989013671875, -0.007297515869140625, -0.005748748779296875, 0.079833984375, -0.06719970703125, -0.010711669921875, 0.01812744140625, 0.0014429092407226562, -0.0003552436828613281, -0.00875091552734375, 0.01312255859375, -0.043792724609375, -0.0091094970703125, 0.003307342529296875, -0.0017328262329101562, -0.0174560546875, -0.035614013671875, -0.06048583984375, 0.09588623046875, 0.00035452842712402344, 0.048309326171875, 0.04071044921875, 0.02447509765625, -0.025543212890625, 0.007598876953125, -0.035064697265625, 0.0802001953125, 0.02618408203125, 0.0369873046875, -0.049560546875, -0.0215606689453125, 0.0181427001953125, 0.0511474609375, 0.0689697265625, 0.012908935546875, -0.034698486328125, 0.003940582275390625, 0.05224609375, 0.0355224609375, -0.0168609619140625, 0.02728271484375, 0.0167388916015625, 0.057830810546875, 0.07208251953125, -0.06878662109375, 0.0271453857421875, -0.01995849609375, 0.01458740234375, 0.02410888671875, 0.0236663818359375, 0.03155517578125, -0.00237274169921875, -0.01044464111328125, -0.062225341796875, 0.0257110595703125, 0.049591064453125, 0.0098876953125, 0.01485443115234375, 0.0288238525390625, 0.055023193359375, -0.0865478515625, -0.03826904296875, -0.03985595703125, 0.045257568359375, 0.033233642578125, 0.00782012939453125, 0.006145477294921875, 0.00980377197265625, 0.10113525390625, -0.035888671875, -0.005855560302734375, 0.01358795166015625, -0.0009403228759765625, 0.056488037109375, 0.017578125, 0.0255279541015625, -0.070556640625, -0.05072021484375, 0.0894775390625, 0.1055908203125, -0.046234130859375, -0.040130615234375, 0.016265869140625, 0.02947998046875, 0.0010929107666015625, 0.0190277099609375, 0.0189666748046875, -0.0119476318359375, 0.039703369140625, 0.012847900390625, -0.01242828369140625, 0.004749298095703125, 0.037078857421875, 0.0017595291137695312, -0.024658203125, -0.0248565673828125, -0.00579833984375, -0.034881591796875, 0.0286712646484375, 0.0015764236450195312, 0.02783203125, -0.0003781318664550781, 0.044036865234375, -0.03253173828125, -0.004055023193359375, -0.0025787353515625, 0.014373779296875, -0.020263671875, 0.0235595703125, -0.02587890625, -0.02764892578125, -0.00012230873107910156, 0.034576416015625, 0.047210693359375, -0.01397705078125, 0.011871337890625, -0.01552581787109375, -0.01200103759765625, 0.0023937225341796875, -0.01812744140625, -0.018890380859375, 0.01093292236328125, -0.0284271240234375, 0.014007568359375, 0.0086822509765625, -0.00820159912109375, -0.01222991943359375, 0.00547027587890625, 0.027801513671875, -0.0047607421875, -0.0202789306640625, -0.000010907649993896484, -0.041351318359375, 0.019439697265625, 0.027069091796875, 0.03961181640625, 0.0198974609375, -0.0596923828125, -0.0156402587890625, -0.023895263671875, -0.0192413330078125, 0.0277557373046875, 0.031494140625, -0.006076812744140625, 0.018585205078125, 0.0018167495727539062, 0.0263214111328125, 0.033233642578125, -0.05072021484375, -0.01409912109375, 0.0304718017578125, 0.034088134765625, 0.0183258056640625, -0.0482177734375, -0.0177764892578125, 0.00972747802734375, -0.0008287429809570312, -0.00208282470703125, 0.026123046875, 0.0264739990234375, -0.0006542205810546875, 0.0030059814453125, 0.0192108154296875, 0.0141143798828125, -0.01128387451171875, 0.06976318359375, 0.019805908203125, -0.005825042724609375, -0.034820556640625, -0.01861572265625, -0.0008721351623535156, 0.045501708984375, -0.01476287841796875, -0.004985809326171875, -0.017120361328125, 0.017303466796875, -0.02301025390625, 0.039031982421875, -0.02386474609375, -0.01070404052734375, -0.042816162109375, -0.02935791015625, 0.03643798828125, 0.004486083984375, 0.003223419189453125, 0.03277587890625, -0.004657745361328125, -0.031982421875, 0.0251922607421875, -0.04559326171875, 0.0160675048828125, 0.036712646484375, 0.0205841064453125, 0.007663726806640625, -0.0273284912109375, -0.037353515625, 0.00007581710815429688, 0.004642486572265625, -0.045654296875, 0.0007205009460449219, -0.0379638671875, -0.006145477294921875, 0.008514404296875, 0.02093505859375, -0.0198516845703125, 0.007617950439453125, 0.0251007080078125, -0.02490234375, -0.0169525146484375, -0.0129547119140625, -0.02862548828125, -0.0305328369140625, 0.009185791015625, 0.004482269287109375, -0.0038967132568359375, -0.037353515625, -0.00052642822265625, -0.0034427642822265625, 0.0164947509765625, -0.0005388259887695312, -0.0244598388671875, 0.0084686279296875, -0.023223876953125, 0.03985595703125, -0.033355712890625, -0.0245513916015625, 0.0143890380859375, 0.0384521484375, -0.0252838134765625, -0.0005254745483398438, -0.038909912109375, -0.0205078125, -0.040802001953125, -0.0106201171875, 0.0079345703125, -0.0185699462890625, -0.004352569580078125, -0.0286102294921875, -0.0168304443359375, 0.01551055908203125, 0.0233612060546875, -0.01151275634765625, 0.0198211669921875, 0.01183319091796875, -0.008087158203125, -0.062255859375, 0.0094757080078125, -0.045013427734375, 0.001987457275390625, 0.0007557868957519531, 0.001865386962890625, 0.02886962890625, -0.0298919677734375, -0.068359375, 0.04827880859375, -0.0142669677734375, -0.0325927734375, -0.028594970703125, -0.026824951171875, -0.0008120536804199219, 0.0203399658203125, 0.0020580291748046875, -0.027374267578125, -0.06268310546875, 0.01137542724609375, -0.004730224609375, 0.0204925537109375, 0.00554656982421875, 0.026397705078125, 0.00965118408203125, 0.0439453125, 0.0318603515625, -0.0269622802734375, 0.022613525390625, -0.0229644775390625, 0.037567138671875, 0.035919189453125, -0.036590576171875, -0.0145721435546875, -0.0195159912109375, -0.0196990966796875, -0.000053882598876953125, -0.009368896484375, -0.0196533203125, -0.00556182861328125, 0.0489501953125, 0.018096923828125, 0.00299072265625, -0.027801513671875, -0.00751495361328125, -0.00820159912109375, 0.00057220458984375, 0.01270294189453125, 0.011810302734375, -0.040313720703125, 0.01099395751953125, 0.0080718994140625, -0.0014400482177734375, -0.0297088623046875, -0.0160980224609375, -0.0267486572265625, -0.0275115966796875, 0.00008153915405273438, 0.0278167724609375, -0.0127410888671875, 0.003559112548828125, 0.04681396484375, -0.0276947021484375, 0.0241241455078125, -0.0161285400390625, 0.017364501953125, 0.0224456787109375, -0.0117034912109375, 0.00010293722152709961, 0.0266265869140625, -0.0024929046630859375, -0.0250091552734375, 0.0364990234375, -0.0200653076171875, 0.0231781005859375, -0.0080718994140625, -0.01751708984375, 0.0144805908203125, 0.004154205322265625, -0.00595855712890625, -0.0083160400390625, 0.04443359375, 0.016021728515625, 0.06365966796875, -0.009246826171875, 0.0281524658203125, 0.020599365234375, 0.01287078857421875, -0.045684814453125, 0.01319122314453125, -0.010528564453125, -0.04998779296875, -0.006427764892578125, 0.031219482421875, -0.04315185546875, 0.0028247833251953125, -0.0099945068359375, 0.0016117095947265625, -0.023590087890625, -0.00579833984375 ]
3d10ee34bf15eb9171c7d4d13b4fdd7067321885
Wordpress Stackexchange Q: Get the php template file from other theme folder How to get the php template file from other theme folder? For Example : My Current Theme Folder is promax . Im working on archive.php and want to include a template file inside of archive.php from other folder called child theme promax-child' and a folder inside called includes has a file archive-desc.php. A: You can filter the template with the template_include filter. This example will filter the archive template for all archive pages. If you need to do this for a specific archive, use is_post_type_archive( $post_types ) as your condition. Put this in your functions.php file of your child theme. function my_archive_filter( $template) { if ( is_archive() ) { return 'path/to/includes/archive-desc.php'; // Path to your child theme template. } else { return $template; } } apply_filters( 'template_include', 'my_archive_filter' ); Edit: It should now fall back to the default template if the custom template fails for some reason.
Q: Get the php template file from other theme folder How to get the php template file from other theme folder? For Example : My Current Theme Folder is promax . Im working on archive.php and want to include a template file inside of archive.php from other folder called child theme promax-child' and a folder inside called includes has a file archive-desc.php. A: You can filter the template with the template_include filter. This example will filter the archive template for all archive pages. If you need to do this for a specific archive, use is_post_type_archive( $post_types ) as your condition. Put this in your functions.php file of your child theme. function my_archive_filter( $template) { if ( is_archive() ) { return 'path/to/includes/archive-desc.php'; // Path to your child theme template. } else { return $template; } } apply_filters( 'template_include', 'my_archive_filter' ); Edit: It should now fall back to the default template if the custom template fails for some reason.
wordpress
{ "language": "en", "length": 157, "provenance": "stackexchange_00019.jsonl.gz:475042", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/262893" }
[ 0.04925537109375, -0.032928466796875, 0.010894775390625, -0.033660888671875, -0.0086517333984375, -0.01415252685546875, 0.037445068359375, -0.00787353515625, -0.01287078857421875, 0.04364013671875, -0.024871826171875, 0.0078277587890625, -0.01345062255859375, 0.00608062744140625, -0.0311126708984375, -0.0250091552734375, 0.02069091796875, -0.03497314453125, 0.01248931884765625, -0.01395416259765625, 0.0129852294921875, 0.00418853759765625, 0.0147705078125, 0.03643798828125, -0.00262451171875, 0.020294189453125, 0.06744384765625, -0.01140594482421875, -0.006275177001953125, -0.0242767333984375, 0.01325225830078125, -0.005649566650390625, 0.0215606689453125, 0.0035457611083984375, -0.00833892822265625, -0.0290679931640625, 0.013763427734375, -0.002025604248046875, 0.0009813308715820312, 0.0167694091796875, 0.006622314453125, -0.005725860595703125, 0.0029163360595703125, 0.0179290771484375, -0.01294708251953125, -0.0301055908203125, 0.005527496337890625, -0.0458984375, -0.020172119140625, 0.032073974609375, 0.025848388671875, 0.015655517578125, 0.032989501953125, 0.0037174224853515625, 0.01306915283203125, 0.002262115478515625, 0.004451751708984375, 0.007419586181640625, 0.0311737060546875, -0.056793212890625, -0.047760009765625, -0.01092529296875, 0.03814697265625, 0.01471710205078125, -0.0200653076171875, -0.00768280029296875, 0.002689361572265625, 0.02349853515625, -0.050537109375, -0.041748046875, 0.0230255126953125, -0.0199127197265625, 0.027313232421875, -0.037750244140625, -0.0160980224609375, 0.0099334716796875, -0.0018672943115234375, -0.02972412109375, 0.0227203369140625, -0.036956787109375, -0.00591278076171875, -0.0216217041015625, -0.04852294921875, -0.062103271484375, 0.02532958984375, -0.0262603759765625, -0.0015707015991210938, 0.00661468505859375, -0.02667236328125, 0.00937652587890625, -0.0269012451171875, -0.0188446044921875, 0.00830841064453125, 0.005428314208984375, -0.01276397705078125, -0.004680633544921875, 0.0196685791015625, 0.045654296875, -0.04058837890625, 0.01458740234375, -0.00994873046875, -0.01776123046875, 0.040191650390625, -0.043212890625, -0.006404876708984375, 0.033660888671875, 0.023193359375, 0.033111572265625, 0.0260772705078125, 0.0241546630859375, 0.0223236083984375, 0.033477783203125, -0.0290985107421875, -0.04083251953125, -0.0168304443359375, 0.07232666015625, -0.0154266357421875, -0.01552581787109375, 0.0158538818359375, 0.01309967041015625, 0.0026874542236328125, 0.0035724639892578125, 0.03662109375, -0.037689208984375, 0.01099395751953125, -0.0196533203125, -0.046356201171875, -0.03448486328125, 0.001445770263671875, 0.039703369140625, -0.014984130859375, -0.00896453857421875, -0.0242767333984375, -0.0023708343505859375, -0.031402587890625, -0.0196685791015625, 0.00276947021484375, 0.018646240234375, 0.0180816650390625, -0.042236328125, 0.056396484375, 0.00377655029296875, -0.0039520263671875, 0.031036376953125, -0.051513671875, 0.015716552734375, 0.01308441162109375, 0.0174560546875, -0.024505615234375, -0.0440673828125, -0.0145416259765625, -0.0129547119140625, 0.025970458984375, -0.01145172119140625, 0.040130615234375, -0.045318603515625, -0.0048828125, -0.0292510986328125, 0.020263671875, -0.00711822509765625, -0.00397491455078125, -0.005863189697265625, 0.0099945068359375, -0.0192413330078125, -0.0491943359375, 0.006710052490234375, -0.0012845993041992188, -0.006679534912109375, 0.0260772705078125, 0.00058746337890625, 0.029541015625, -0.0220794677734375, -0.0079498291015625, 0.01568603515625, 0.0083770751953125, 0.009124755859375, 0.0005578994750976562, -0.0012149810791015625, 0.0184783935546875, 0.045257568359375, -0.01102447509765625, -0.0297088623046875, 0.01555633544921875, 0.0001977682113647461, -0.030670166015625, -0.006744384765625, 0.01654052734375, 0.002166748046875, -0.0026397705078125, 0.01053619384765625, 0.03448486328125, 0.04656982421875, -0.041107177734375, -0.0026721954345703125, -0.01025390625, 0.01387786865234375, -0.004604339599609375, 0.0244293212890625, -0.006351470947265625, -0.01555633544921875, -0.009002685546875, -0.0125885009765625, 0.02593994140625, -0.002346038818359375, -0.0272369384765625, -0.0167694091796875, -0.0214691162109375, 0.032470703125, -0.00865936279296875, 0.04376220703125, 0.01189422607421875, 0.00569915771484375, -0.02728271484375, 0.0004436969757080078, 0.0160675048828125, 0.019927978515625, -0.02581787109375, 0.01983642578125, 0.004398345947265625, 0.0299072265625, 0.0090179443359375, -0.0020122528076171875, -0.00487518310546875, -0.0252685546875, 0.040252685546875, -0.006984710693359375, -0.0293121337890625, -0.0161590576171875, -0.022064208984375, 0.0293121337890625, -0.0894775390625, 0.04736328125, -0.007843017578125, -0.003940582275390625, -0.03338623046875, -0.0003998279571533203, -0.0251617431640625, -0.041717529296875, 0.00872039794921875, 0.052276611328125, 0.0245208740234375, 0.08123779296875, 0.0189056396484375, 0.048583984375, 0.08465576171875, -0.0307464599609375, -0.0020923614501953125, 0.01093292236328125, 0.0265045166015625, 0.0233306884765625, -0.005130767822265625, -0.0113525390625, 0.035003662109375, -0.04595947265625, 0.00943756103515625, 0.0270233154296875, 0.016204833984375, -0.0123291015625, -0.0015850067138671875, 0.04437255859375, 0.00434112548828125, 0.0389404296875, -0.027740478515625, 0.02581787109375, 0.0267181396484375, 0.03326416015625, 0.03204345703125, 0.0163116455078125, -0.034942626953125, 0.0224151611328125, 0.01131439208984375, -0.00580596923828125, 0.0204620361328125, 0.043701171875, -0.0406494140625, 0.06085205078125, 0.01409149169921875, -0.024749755859375, 0.01548004150390625, 0.0198516845703125, -0.0078887939453125, 0.0168914794921875, 0.0058746337890625, -0.0025196075439453125, -0.0269317626953125, -0.05767822265625, 0.040069580078125, 0.05230712890625, -0.00925445556640625, 0.0032291412353515625, 0.004383087158203125, 0.08209228515625, 0.005619049072265625, 0.03790283203125, 0.0027217864990234375, 0.0239410400390625, 0.05279541015625, 0.00034046173095703125, 0.0181427001953125, 0.0176849365234375, 0.057891845703125, 0.049713134765625, -0.01067352294921875, 0.005191802978515625, 0.01012420654296875, 0.00762939453125, 0.036407470703125, -0.002613067626953125, -0.011627197265625, -0.03460693359375, -0.01204681396484375, 0.0004291534423828125, 0.0175628662109375, 0.022308349609375, -0.0281829833984375, -0.0399169921875, -0.030609130859375, 0.004871368408203125, -0.060546875, -0.02947998046875, 0.0186767578125, -0.046600341796875, 0.006015777587890625, -0.0174407958984375, -0.0279998779296875, -0.0275726318359375, 0.0020008087158203125, 0.0007762908935546875, 0.05682373046875, -0.041412353515625, -0.053985595703125, -0.02764892578125, -0.06134033203125, -0.031280517578125, 0.00286102294921875, -0.02862548828125, -0.004741668701171875, 0.0870361328125, 0.004913330078125, -0.06805419921875, -0.005588531494140625, 0.02783203125, -0.0100250244140625, 0.016937255859375, 0.0229034423828125, -0.040740966796875, -0.045135498046875, 0.0170135498046875, -0.007537841796875, 0.0025653839111328125, -0.01006317138671875, -0.0112457275390625, -0.018310546875, -0.031005859375, -0.006282806396484375, 0.050262451171875, 0.01526641845703125, -0.0289459228515625, 0.0158233642578125, -0.062042236328125, -0.0792236328125, 0.00977325439453125, -0.05419921875, 0.1107177734375, 0.06365966796875, -0.021270751953125, 0.01438140869140625, 0.03216552734375, 0.01263427734375, -0.00568389892578125, -0.0013446807861328125, -0.030609130859375, 0.06591796875, 0.005680084228515625, 0.01050567626953125, -0.0143890380859375, 0.01849365234375, -0.0262603759765625, 0.05560302734375, 0.018096923828125, 0.007732391357421875, 0.0091705322265625, -0.0239715576171875, -0.0133056640625, -0.0621337890625, 0.050445556640625, 0.01387786865234375, 0.036865234375, -0.041046142578125, -0.037139892578125, -0.0126800537109375, 0.083251953125, -0.061492919921875, -0.0540771484375, -0.007137298583984375, 0.01629638671875, 0.025604248046875, -0.01149749755859375, 0.017425537109375, -0.03814697265625, -0.026092529296875, -0.0064697265625, -0.0242767333984375, -0.024871826171875, 0.0026683807373046875, -0.041534423828125, -0.004940032958984375, -0.0283355712890625, 0.03826904296875, -0.0231475830078125, 0.03753662109375, 0.0186309814453125, -0.006572723388671875, 0.00262451171875, -0.035064697265625, -0.04095458984375, -0.06781005859375, -0.01114654541015625, -0.040008544921875, 0.050689697265625, 0.0234222412109375, -0.0103302001953125, -0.010528564453125, 0.04290771484375, -0.0163421630859375, 0.02545166015625, -0.008209228515625, 0.01291656494140625, -0.0036716461181640625, 0.026397705078125, 0.00762939453125, -0.00994110107421875, -0.0024089813232421875, -0.021392822265625, -0.03363037109375, 0.0248260498046875, -0.035369873046875, 0.00811004638671875, -0.006866455078125, -0.020355224609375, -0.047332763671875, -0.0018281936645507812, 0.01477813720703125, -0.0108489990234375, 0.01363372802734375, -0.03497314453125, 0.01044464111328125, -0.040435791015625, 0.04638671875, 0.037872314453125, -0.0458984375, -0.0006470680236816406, 0.06744384765625, 0.014251708984375, -0.059112548828125, -0.07244873046875, 0.011505126953125, 0.040496826171875, -0.02496337890625, 0.04571533203125, 0.038726806640625, -0.0211639404296875, 0.04925537109375, 0.0147552490234375, 0.007694244384765625, -0.0272216796875, 0.08575439453125, -0.005069732666015625, -0.006824493408203125, 0.01385498046875, -0.01345062255859375, 0.0018320083618164062, 0.0024585723876953125, -0.01178741455078125, -0.020782470703125, 0.01461029052734375, 0.051666259765625, -0.0055084228515625, 0.0277252197265625, -0.050201416015625, -0.023712158203125, -0.00018084049224853516, -0.0012350082397460938, 0.059906005859375, 0.04351806640625, -0.0054779052734375, 0.043914794921875, 0.01381683349609375, 0.004650115966796875, 0.0286712646484375, 0.04339599609375, 0.0145721435546875, 0.06512451171875, -0.0224456787109375, -0.0061492919921875, -0.0167999267578125, 0.00933837890625, -0.025238037109375, 0.0017299652099609375, -0.0232086181640625, -0.0225067138671875, 0.003543853759765625, 0.003841400146484375, -0.01082611083984375, -0.0667724609375, 0.01788330078125, 0.040618896484375, -0.05572509765625, 0.01488494873046875, -0.032958984375, -0.01526641845703125, -0.046356201171875, 0.016571044921875, 0.0045318603515625, -0.0098114013671875, 0.01210784912109375, 0.02618408203125, -0.006824493408203125, 0.01105499267578125, -0.00803375244140625, -0.0207977294921875, -0.025604248046875, 0.03729248046875, 0.036224365234375, -0.05682373046875, 0.0300750732421875, -0.0096282958984375, 0.04058837890625, -0.04254150390625, -0.0246124267578125, -0.0018815994262695312, 0.07861328125, -0.028472900390625, -0.0210113525390625, 0.038421630859375, -0.035980224609375, 0.01001739501953125, -0.011993408203125, 0.0033664703369140625, 0.011993408203125, -0.0200653076171875, -0.032745361328125, 0.0023403167724609375, -0.0035762786865234375, -0.022125244140625, 0.044097900390625, -0.0226593017578125, 0.0002244710922241211, 0.039642333984375, -0.062744140625, -0.002227783203125, 0.01348876953125, -0.00200653076171875, 0.021148681640625, -0.002887725830078125, -0.052032470703125, -0.0662841796875, -0.015960693359375, -0.005252838134765625, 0.08544921875, -0.0244140625, -0.0028629302978515625, -0.00020372867584228516, 0.004299163818359375, -0.024566650390625, 0.006778717041015625, 0.05670166015625, 0.03204345703125, -0.077880859375, 0.019561767578125, -0.04510498046875, -0.01268768310546875, -0.0447998046875, -0.06085205078125, -0.0460205078125, 0.0111236572265625, -0.037933349609375, -0.0011501312255859375, 0.02691650390625, 0.060455322265625, -0.0170135498046875, 0.038848876953125, -0.026458740234375, 0.047210693359375, -0.033843994140625, 0.1185302734375, -0.0254364013671875, 0.0478515625, -0.0152740478515625, 0.02593994140625, -0.031494140625, 0.022247314453125, -0.0025348663330078125, -0.029266357421875, 0.00537109375, -0.007686614990234375, -0.0008158683776855469, 0.01285552978515625, 0.0562744140625, 0.0155029296875, -0.0200653076171875, -0.0294036865234375, -0.0037593841552734375, -0.0211334228515625, 0.0889892578125, -0.0025348663330078125, -0.040435791015625, 0.0256195068359375, -0.0235595703125, 0.006427764892578125, 0.004512786865234375, -0.040313720703125, 0.040283203125, 0.00738525390625, 0.004726409912109375, 0.0292510986328125, -0.066650390625, 0.08795166015625, 0.08447265625, 0.0196990966796875, 0.037261962890625, 0.005512237548828125, 0.004909515380859375, -0.0197296142578125, 0.042388916015625, -0.027435302734375, -0.001216888427734375, 0.0330810546875, 0.0211181640625, 0.0010738372802734375, 0.01264190673828125, -0.009918212890625, -0.0037899017333984375, 0.003215789794921875, 0.028411865234375, -0.000995635986328125, -0.0182037353515625, -0.0016117095947265625, -0.020050048828125, -0.01092529296875, 0.009613037109375, -0.028564453125, -0.0295257568359375, 0.037017822265625, -0.0080108642578125, -0.00928497314453125, 0.0240020751953125, 0.021026611328125, -0.02093505859375, -0.00806427001953125, 0.05126953125, 0.0225677490234375, -0.015411376953125, 0.018280029296875, 0.006763458251953125, 0.0207977294921875, -0.006427764892578125, 0.023223876953125, -0.059478759765625, 0.0069732666015625, 0.01212310791015625, -0.00044989585876464844, -0.0264739990234375, 0.01251220703125, -0.025299072265625, 0.0218658447265625, 0.030426025390625, 0.032958984375, -0.003200531005859375, -0.006011962890625, 0.01255035400390625, 0.0016021728515625, -0.039794921875, -0.0223846435546875, 0.00006455183029174805, 0.00617218017578125, -0.0253143310546875, 0.01053619384765625, -0.02978515625, -0.0014219284057617188, 0.000812530517578125, 0.0274200439453125, 0.06378173828125, -0.004856109619140625, -0.03570556640625, 0.052276611328125, 0.026519775390625, -0.0322265625, 0.036865234375, 0.068603515625, -0.039306640625, -0.0240936279296875, 0.062744140625, -0.01568603515625, -0.033294677734375, 0.05718994140625, -0.05194091796875, 0.050628662109375, 0.01421356201171875, 0.0091705322265625, 0.0216827392578125, 0.02923583984375, -0.042205810546875, -0.0089263916015625, 0.000400543212890625, -0.0012922286987304688, 0.0269622802734375, 0.020782470703125, -0.0102081298828125, -0.010955810546875, -0.001087188720703125, 0.06671142578125, 0.01508331298828125, -0.004802703857421875, -0.0200347900390625, -0.0133209228515625, 0.048919677734375, 0.054168701171875, 0.0249481201171875, 0.005603790283203125, 0.00738525390625, 0.0114288330078125, 0.02227783203125, -0.0396728515625, 0.0171966552734375, -0.0187530517578125, -0.00003886222839355469, 0.031280517578125, 0.01386260986328125, 0.0030040740966796875, 0.020294189453125, -0.005706787109375, -0.029266357421875, 0.0056304931640625, 0.019622802734375, -0.025054931640625, -0.003665924072265625, 0.004467010498046875, 0.014190673828125, -0.07037353515625, -0.0265960693359375, -0.030548095703125, 0.034393310546875, 0.01415252685546875, -0.005340576171875, -0.014984130859375, 0.0010786056518554688, -0.00772857666015625, -0.0224609375, -0.02178955078125, 0.02435302734375, -0.023101806640625, 0.022491455078125, 0.0171051025390625, 0.03125, -0.0200958251953125, 0.01219940185546875, -0.0210418701171875, 0.004955291748046875, -0.0198516845703125, -0.0201263427734375, 0.0165252685546875, 0.00609588623046875, -0.0281829833984375, 0.010101318359375, -0.0211029052734375, 0.00801849365234375, 0.03118896484375, -0.036590576171875, -0.01493072509765625, 0.026336669921875, 0.004528045654296875, -0.00983428955078125, -0.028717041015625, 0.03192138671875, -0.01064300537109375, -0.0281982421875, 0.0115814208984375, 0.026580810546875, 0.0251922607421875, -0.006443023681640625, 0.068115234375, -0.006320953369140625, -0.0093231201171875, -0.0223846435546875, 0.0256805419921875, -0.0223541259765625, 0.0226593017578125, -0.0469970703125, -0.0296478271484375, 0.01273345947265625, 0.048797607421875, 0.0009608268737792969, -0.04718017578125, 0.006214141845703125, -0.004253387451171875, -0.039459228515625, -0.0236968994140625, -0.0129241943359375, -0.026214599609375, 0.05633544921875, -0.03375244140625, 0.0236663818359375, 0.00919342041015625, -0.0218658447265625, -0.0200042724609375, -0.0191650390625, 0.0753173828125, -0.052734375, 0.0567626953125, -0.01210784912109375, -0.003307342529296875, -0.005390167236328125, -0.018524169921875, 0.00872802734375, -0.01690673828125, -0.055389404296875, 0.006267547607421875, -0.0428466796875, -0.0063629150390625, 0.0034008026123046875, 0.038909912109375, 0.0006055831909179688, 0.017822265625, 0.054840087890625, -0.0009546279907226562, -0.0233306884765625, -0.00826263427734375, 0.03729248046875, 0.018341064453125, 0.01561737060546875, 0.05181884765625, -0.0236358642578125, -0.04815673828125, -0.040557861328125, 0.07977294921875, 0.042144775390625, 0.0654296875, -0.04290771484375, 0.0615234375, 0.0099334716796875, 0.0300445556640625, -0.039337158203125, -0.02044677734375, 0.06658935546875, -0.020904541015625, -0.023651123046875, -0.016021728515625, -0.040740966796875, 0.0017070770263671875, 0.05609130859375, -0.046142578125, 0.0023174285888671875, 0.028106689453125, 0.0090484619140625, -0.036895751953125, 0.0139312744140625, -0.00984954833984375, -0.03216552734375, -0.0496826171875, 0.005084991455078125, 0.037109375, 0.05657958984375, -0.0014925003051757812, 0.0343017578125, 0.032958984375, -0.0060882568359375, 0.029144287109375, 0.005039215087890625, 0.036285400390625, 0.03546142578125, -0.02215576171875, -0.057952880859375, -0.0095062255859375, -0.0192718505859375, 0.0290679931640625, -0.021331787109375, 0.10015869140625, -0.0038967132568359375, 0.01125335693359375, 0.005947113037109375, 0.0096893310546875, 0.04071044921875, -0.0294952392578125, 0.0218658447265625, 0.00441741943359375, 0.00795745849609375, 0.02667236328125, -0.037261962890625, -0.020111083984375, -0.0282745361328125, 0.005168914794921875, 0.03240966796875, -0.01137542724609375, -0.0221405029296875, -0.050628662109375, 0.001476287841796875, 0.0440673828125, 0.02423095703125, -0.0650634765625, 0.01276397705078125, -0.0209503173828125, 0.038726806640625, 0.0099945068359375, -0.026641845703125, 0.005275726318359375, -0.026641845703125, -0.03887939453125, -0.0029144287109375, -0.0430908203125, -0.0028514862060546875, -0.01129913330078125, -0.003658294677734375, 0.040130615234375, 0.00644683837890625, 0.018463134765625, 0.0125274658203125, -0.01374053955078125, 0.07403564453125, -0.110595703125, -0.028839111328125, 0.01178741455078125, -0.01183319091796875, 0.0031566619873046875, -0.018829345703125, 0.000028908252716064453, -0.0335693359375, -0.00550079345703125, -0.010009765625, 0.01461029052734375, 0.0279998779296875, -0.038818359375, -0.10589599609375, 0.0361328125, -0.024810791015625, -0.05389404296875, -0.03363037109375, 0.00016117095947265625, -0.00652313232421875, -0.024749755859375, -0.0340576171875, 0.0005869865417480469, 0.0020122528076171875, 0.056976318359375, 0.019805908203125, 0.0008111000061035156, 0.0309295654296875, -0.005474090576171875, -0.06341552734375, 0.0070343017578125, -0.0019626617431640625, 0.0019063949584960938, -0.040802001953125, -0.0090484619140625, 0.0212249755859375, 0.037750244140625, -0.007633209228515625, -0.0148773193359375, 0.050933837890625, 0.0035762786865234375, -0.007091522216796875, 0.00037026405334472656, -0.01953125, 0.004058837890625, 0.06292724609375, 0.047760009765625, 0.0219573974609375, -0.03155517578125, 0.0096893310546875, -0.0205078125, -0.044586181640625, -0.00949859619140625, 0.022979736328125, -0.05645751953125, -0.007617950439453125, 0.0238800048828125, -0.0296783447265625, 0.0244140625, -0.04010009765625, -0.041748046875, 0.01018524169921875, -0.0267333984375, 0.0051422119140625, -0.01557159423828125, -0.0122833251953125, 0.07867431640625, -0.0308837890625, 0.0257720947265625, -0.01186370849609375, 0.020660400390625, 0.047088623046875, -0.01788330078125, -0.01003265380859375, 0.051116943359375, -0.048919677734375, 0.00039649009704589844, 0.01004791259765625, 0.03851318359375, -0.01922607421875, 0.0074310302734375, 0.0159149169921875, 0.0022411346435546875, -0.020904541015625, -0.0310516357421875, -0.000148773193359375, 0.07244873046875, -0.0278167724609375, 0.1427001953125, 0.0250396728515625, 0.02801513671875, 0.01480865478515625, 0.053497314453125, -0.0243377685546875, -0.034942626953125, -0.0245208740234375, -0.033233642578125, -0.0006036758422851562, 0.0036449432373046875, -0.028594970703125, -0.042205810546875, 0.0257415771484375, 0.021392822265625, -0.00868988037109375, 0.0207366943359375 ]
da1cbb49c493f2cd91165229a3a98079f0d170d5
Wordpress Stackexchange Q: What determines the order of enqueued styles? Typically when I add stylesheets I use wp_enqueue_style multiple times within a single function, then call that function once with wp_enqueue_scripts. There doesn't seem to be any logic to the order those sheets loaded. They don't load in the order they are listed, or any other reasonable order I can find. I understand how to use priority on actions, but that requires a unique function for use with each hook. I'm currently using that to overcome this issue, but I'm curious. Is there something that determines how styles are loaded when several are enqueued within the same function? And if not why? A: In the codex for wp_enqueue_style, there is an argument for dependencies. So if I enqueue style A with deps B and C, A will be loaded after B and C. :)
Q: What determines the order of enqueued styles? Typically when I add stylesheets I use wp_enqueue_style multiple times within a single function, then call that function once with wp_enqueue_scripts. There doesn't seem to be any logic to the order those sheets loaded. They don't load in the order they are listed, or any other reasonable order I can find. I understand how to use priority on actions, but that requires a unique function for use with each hook. I'm currently using that to overcome this issue, but I'm curious. Is there something that determines how styles are loaded when several are enqueued within the same function? And if not why? A: In the codex for wp_enqueue_style, there is an argument for dependencies. So if I enqueue style A with deps B and C, A will be loaded after B and C. :)
wordpress
{ "language": "en", "length": 142, "provenance": "stackexchange_00019.jsonl.gz:475197", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263418" }
[ -0.026519775390625, 0.007762908935546875, -0.07098388671875, -0.038970947265625, -0.00804901123046875, -0.034759521484375, -0.04058837890625, 0.02642822265625, -0.02496337890625, 0.01207733154296875, -0.03228759765625, 0.012115478515625, -0.026123046875, -0.01062774658203125, 0.01459503173828125, -0.060394287109375, 0.0462646484375, -0.0401611328125, -0.0169219970703125, -0.01092529296875, -0.002124786376953125, 0.0218048095703125, -0.01544952392578125, 0.09808349609375, 0.0227203369140625, -0.0290985107421875, 0.061248779296875, 0.01163482666015625, 0.03338623046875, 0.0143280029296875, 0.024444580078125, -0.0606689453125, 0.01325225830078125, 0.031524658203125, -0.029876708984375, 0.006130218505859375, 0.037322998046875, -0.0032329559326171875, 0.002277374267578125, 0.045684814453125, 0.0270538330078125, -0.01430511474609375, 0.0254669189453125, 0.047882080078125, -0.005222320556640625, -0.03253173828125, 0.02923583984375, -0.0204010009765625, -0.0255584716796875, 0.0182342529296875, 0.045867919921875, -0.00555419921875, 0.052459716796875, -0.01222991943359375, -0.003025054931640625, -0.00539398193359375, -0.026153564453125, 0.027740478515625, 0.013214111328125, 0.0019207000732421875, -0.0020999908447265625, 0.0244140625, 0.01380157470703125, -0.0108184814453125, -0.0169219970703125, 0.0006299018859863281, 0.01788330078125, 0.003513336181640625, -0.03369140625, -0.01546478271484375, 0.02777099609375, -0.0085906982421875, -0.0238494873046875, -0.052032470703125, -0.004085540771484375, 0.0626220703125, -0.007598876953125, -0.00553131103515625, 0.013275146484375, -0.0120697021484375, 0.015777587890625, -0.0285797119140625, -0.023345947265625, -0.01531982421875, 0.01482391357421875, -0.007076263427734375, -0.00403594970703125, -0.004833221435546875, -0.01343536376953125, -0.06561279296875, -0.01593017578125, 0.004650115966796875, -0.036468505859375, -0.0208892822265625, -0.0293731689453125, -0.0200347900390625, 0.05438232421875, 0.0478515625, 0.0308837890625, 0.0036334991455078125, -0.015777587890625, -0.050933837890625, 0.0007791519165039062, -0.0179901123046875, -0.0134735107421875, -0.020172119140625, -0.005573272705078125, -0.020477294921875, 0.0106201171875, 0.03314208984375, -0.0362548828125, -0.005023956298828125, 0.034210205078125, 0.01461029052734375, -0.0079803466796875, -0.052703857421875, -0.0255889892578125, 0.041656494140625, -0.01340484619140625, -0.007511138916015625, 0.010986328125, 0.0270233154296875, 0.01702880859375, -0.03045654296875, -0.0171356201171875, -0.0019521713256835938, -0.0078887939453125, -0.058990478515625, 0.0106658935546875, 0.035491943359375, -0.01543426513671875, 0.0008778572082519531, 0.045074462890625, 0.00913238525390625, -0.01336669921875, -0.0306854248046875, 0.01422119140625, -0.0290679931640625, -0.052490234375, 0.0169525146484375, -0.0023136138916015625, -0.03173828125, -0.01497650146484375, -0.038238525390625, -0.004100799560546875, 0.0266265869140625, 0.012054443359375, 0.014892578125, -0.0128936767578125, -0.040374755859375, 0.02984619140625, -0.05267333984375, 0.047515869140625, -0.007160186767578125, 0.01279449462890625, -0.00925445556640625, 0.026824951171875, -0.01352691650390625, -0.028839111328125, -0.0218505859375, -0.060577392578125, 0.01465606689453125, 0.039306640625, -0.0185394287109375, -0.005855560302734375, -0.003551483154296875, 0.005252838134765625, -0.0017213821411132812, 0.031982421875, 0.01390838623046875, -0.044525146484375, -0.0419921875, 0.0316162109375, 0.0159454345703125, -0.0203399658203125, 0.052154541015625, 0.0311431884765625, -0.04400634765625, 0.0273590087890625, 0.01546478271484375, -0.044921875, -0.04058837890625, 0.027252197265625, -0.046142578125, -0.0296783447265625, -0.01479339599609375, 0.0165863037109375, 0.054534912109375, 0.0203857421875, 0.038177490234375, 0.0150909423828125, -0.01094818115234375, -0.0132293701171875, -0.0125732421875, 0.008026123046875, 0.009033203125, 0.01224517822265625, 0.036407470703125, 0.01108551025390625, -0.041229248046875, 0.036346435546875, -0.00321197509765625, 0.0224609375, -0.0303192138671875, -0.0147247314453125, -0.01018524169921875, 0.0051727294921875, 0.023681640625, -0.016448974609375, -0.003803253173828125, -0.0028057098388671875, -0.024871826171875, 0.0100860595703125, -0.03912353515625, -0.0245513916015625, 0.0290985107421875, 0.009368896484375, 0.06536865234375, -0.0002009868621826172, 0.025482177734375, 0.01445770263671875, -0.048126220703125, 0.01849365234375, 0.03680419921875, -0.004604339599609375, 0.00325775146484375, -0.026702880859375, -0.0025043487548828125, -0.000006735324859619141, 0.01055145263671875, 0.0190887451171875, 0.0092315673828125, 0.03924560546875, 0.09808349609375, -0.00081634521484375, -0.0135650634765625, 0.0080108642578125, -0.0281982421875, 0.027099609375, 0.0181884765625, 0.0301666259765625, 0.029937744140625, 0.00000858306884765625, 0.0296478271484375, 0.0295867919921875, 0.004314422607421875, 0.0296478271484375, -0.00408935546875, 0.00969696044921875, 0.01727294921875, 0.01934814453125, 0.010986328125, 0.01165771484375, -0.034332275390625, 0.02349853515625, 0.02911376953125, -0.0250091552734375, -0.03533935546875, -0.005069732666015625, 0.0161590576171875, 0.019622802734375, 0.00937652587890625, -0.01129150390625, 0.007843017578125, 0.0223388671875, -0.049163818359375, -0.007354736328125, -0.037506103515625, -0.002330780029296875, -0.01104736328125, 0.0282745361328125, -0.07135009765625, 0.01081085205078125, 0.00506591796875, 0.0217437744140625, -0.033111572265625, -0.01050567626953125, -0.00969696044921875, -0.0100250244140625, -0.0030059814453125, -0.0138702392578125, 0.0139007568359375, -0.043426513671875, -0.01041412353515625, -0.0323486328125, -0.049102783203125, 0.01462554931640625, 0.04193115234375, 0.0023345947265625, 0.00164794921875, 0.01198577880859375, 0.059326171875, 0.0200042724609375, 0.007465362548828125, 0.0194549560546875, 0.0013456344604492188, -0.01641845703125, 0.0198211669921875, 0.019927978515625, -0.0289154052734375, -0.0198211669921875, 0.03399658203125, -0.016326904296875, -0.00678253173828125, 0.01158905029296875, 0.037689208984375, 0.02960205078125, -0.0027713775634765625, -0.0003254413604736328, 0.01111602783203125, -0.06341552734375, -0.0188446044921875, 0.057098388671875, 0.0621337890625, 0.05059814453125, -0.003734588623046875, 0.028045654296875, 0.0667724609375, -0.03436279296875, -0.09295654296875, -0.043609619140625, -0.03240966796875, 0.061798095703125, -0.045318603515625, 0.02410888671875, -0.0204925537109375, -0.053009033203125, 0.027191162109375, -0.019866943359375, -0.019927978515625, -0.02178955078125, -0.047637939453125, -0.039031982421875, 0.030487060546875, 0.0166168212890625, 0.016845703125, 0.0114898681640625, 0.04241943359375, 0.0012292861938476562, -0.05877685546875, -0.0111236572265625, -0.0100860595703125, -0.0172882080078125, -0.009796142578125, 0.036468505859375, -0.0728759765625, 0.00916290283203125, -0.01168060302734375, -0.0225830078125, 0.01093292236328125, 0.01346588134765625, 0.002017974853515625, -0.03668212890625, -0.04144287109375, 0.00954437255859375, 0.04302978515625, 0.020751953125, -0.01080322265625, 0.06201171875, -0.050567626953125, -0.032684326171875, 0.0089111328125, -0.03509521484375, 0.0114898681640625, 0.01314544677734375, -0.01087188720703125, -0.022064208984375, 0.02239990234375, -0.006191253662109375, -0.0293426513671875, -0.0174713134765625, -0.019622802734375, 0.058807373046875, -0.0091705322265625, 0.005924224853515625, -0.006732940673828125, 0.065673828125, -0.004436492919921875, -0.0048828125, 0.025146484375, 0.0033416748046875, -0.02587890625, -0.0219268798828125, -0.08233642578125, -0.0198211669921875, 0.013092041015625, -0.01727294921875, 0.0477294921875, -0.0310516357421875, -0.0194091796875, 0.006557464599609375, 0.0927734375, -0.0374755859375, -0.01094818115234375, 0.036346435546875, 0.030120849609375, -0.06982421875, -0.033538818359375, -0.059326171875, -0.0009274482727050781, -0.07843017578125, 0.031707763671875, -0.006237030029296875, -0.019561767578125, -0.039642333984375, -0.0226593017578125, -0.0814208984375, -0.036529541015625, 0.043792724609375, 0.0019664764404296875, -0.0016450881958007812, 0.047271728515625, -0.002155303955078125, 0.0223846435546875, -0.0274505615234375, -0.005218505859375, -0.110595703125, -0.01513671875, -0.05694580078125, 0.07635498046875, 0.0263519287109375, -0.022125244140625, -0.0027828216552734375, 0.0557861328125, -0.001285552978515625, 0.017578125, 0.053070068359375, 0.019317626953125, 0.039031982421875, -0.0245208740234375, 0.01482391357421875, -0.03668212890625, -0.019134521484375, 0.0123748779296875, -0.0307159423828125, 0.059112548828125, -0.00322723388671875, -0.005847930908203125, 0.03814697265625, -0.030029296875, -0.0271453857421875, 0.003276824951171875, -0.0193939208984375, 0.00884246826171875, 0.015838623046875, -0.043121337890625, -0.0029888153076171875, -0.033111572265625, 0.0210418701171875, -0.0182647705078125, 0.00351715087890625, -0.00452423095703125, 0.050262451171875, 0.027587890625, -0.015289306640625, 0.0086669921875, 0.0166015625, 0.031341552734375, 0.033233642578125, 0.009521484375, -0.011474609375, -0.018951416015625, 0.022247314453125, 0.01959228515625, 0.0016994476318359375, 0.01432037353515625, 0.07305908203125, 0.01255035400390625, -0.0219879150390625, 0.01739501953125, 0.005756378173828125, -0.052581787109375, 0.0281219482421875, -0.006557464599609375, 0.006786346435546875, 0.00667572021484375, -0.00521087646484375, -0.0009984970092773438, -0.0352783203125, -0.0136871337890625, -0.00466156005859375, -0.01021575927734375, 0.01322174072265625, 0.08056640625, 0.03839111328125, -0.01059722900390625, 0.0304107666015625, 0.0677490234375, 0.0171051025390625, 0.013153076171875, 0.027313232421875, -0.016143798828125, 0.03924560546875, 0.024749755859375, 0.01018524169921875, -0.00022459030151367188, -0.01393890380859375, 0.07415771484375, -0.0024566650390625, -0.0367431640625, -0.02880859375, 0.000713348388671875, 0.08624267578125, 0.029449462890625, -0.028228759765625, 0.029449462890625, 0.01244354248046875, -0.038360595703125, -0.0083160400390625, -0.032745361328125, -0.0217437744140625, -0.044830322265625, 0.04400634765625, -0.0133056640625, -0.01210784912109375, -0.0023956298828125, 0.0148773193359375, 0.0174560546875, -0.00841522216796875, -0.01531219482421875, -0.022705078125, -0.0187835693359375, 0.0044403076171875, 0.0236663818359375, 0.0171966552734375, 0.018218994140625, -0.01363372802734375, 0.076416015625, -0.024810791015625, -0.00936126708984375, 0.00284576416015625, 0.037994384765625, -0.04656982421875, -0.012664794921875, 0.04693603515625, -0.01715087890625, -0.0377197265625, 0.014892578125, 0.0189971923828125, -0.0263824462890625, -0.018218994140625, -0.00856781005859375, 0.00975799560546875, 0.03375244140625, -0.005096435546875, 0.0132293701171875, -0.0030422210693359375, 0.041229248046875, 0.0008859634399414062, -0.003833770751953125, 0.0184326171875, 0.007293701171875, -0.027984619140625, 0.0085296630859375, 0.0207672119140625, -0.069091796875, -0.05615234375, 0.0163726806640625, -0.0062408447265625, -0.01071929931640625, -0.025482177734375, 0.0440673828125, -0.01279449462890625, -0.02252197265625, -0.041717529296875, 0.03326416015625, 0.0110931396484375, 0.0139007568359375, 0.0239410400390625, -0.01020050048828125, -0.057464599609375, -0.021209716796875, -0.054229736328125, -0.053741455078125, -0.00469970703125, 0.0124053955078125, -0.0168914794921875, 0.003086090087890625, -0.037078857421875, -0.0290069580078125, -0.02239990234375, 0.02459716796875, 0.0133819580078125, -0.0007085800170898438, -0.01383209228515625, 0.07940673828125, -0.0100555419921875, 0.014190673828125, 0.01090240478515625, 0.03936767578125, -0.00222015380859375, 0.004695892333984375, -0.0234375, -0.051666259765625, 0.022491455078125, 0.0012149810791015625, -0.0006885528564453125, 0.03436279296875, 0.05560302734375, 0.0163116455078125, 0.04986572265625, -0.0089569091796875, 0.01058197021484375, -0.0014324188232421875, -0.00604248046875, -0.0202789306640625, -0.0065460205078125, 0.051025390625, 0.0221405029296875, 0.08197021484375, -0.0290374755859375, -0.018035888671875, 0.02587890625, -0.0310821533203125, 0.062744140625, -0.0182952880859375, -0.056549072265625, 0.04254150390625, 0.00936126708984375, 0.04290771484375, 0.027496337890625, -0.0217437744140625, 0.032867431640625, -0.00011450052261352539, 0.003002166748046875, 0.01172637939453125, -0.015716552734375, 0.01230621337890625, -0.021209716796875, 0.0333251953125, -0.01212310791015625, -0.0079345703125, 0.003421783447265625, 0.0231475830078125, 0.042327880859375, -0.041900634765625, 0.0038661956787109375, -0.00897216796875, -0.005504608154296875, 0.0231781005859375, -0.01922607421875, 0.015869140625, 0.007244110107421875, 0.10931396484375, -0.006256103515625, 0.00988006591796875, 0.06463623046875, -0.04241943359375, -0.01342010498046875, -0.041351318359375, -0.040008544921875, -0.0026988983154296875, -0.0300445556640625, 0.01885986328125, 0.032257080078125, -0.0097503662109375, -0.0293426513671875, -0.00513458251953125, 0.00179290771484375, -0.03826904296875, -0.049163818359375, -0.007617950439453125, -0.0101776123046875, -0.0176544189453125, 0.00865936279296875, -0.00971221923828125, 0.02734375, 0.019927978515625, -0.01168060302734375, 0.009613037109375, -0.0198211669921875, 0.019073486328125, 0.007518768310546875, -0.026397705078125, 0.04449462890625, -0.00728607177734375, -0.04522705078125, 0.0262298583984375, 0.00626373291015625, -0.0521240234375, -0.015594482421875, -0.036285400390625, 0.0496826171875, -0.04901123046875, 0.01064300537109375, 0.008056640625, 0.05010986328125, 0.01367950439453125, -0.00756072998046875, 0.0199432373046875, -0.07171630859375, -0.04913330078125, 0.011962890625, -0.04010009765625, -0.0110321044921875, -0.021453857421875, -0.044281005859375, 0.025115966796875, -0.04388427734375, 0.0267791748046875, 0.01483154296875, 0.0010013580322265625, 0.01160430908203125, -0.00997161865234375, -0.005947113037109375, 0.039154052734375, -0.006683349609375, 0.03839111328125, -0.051361083984375, -0.0290374755859375, 0.0190887451171875, 0.07427978515625, -0.00722503662109375, -0.0110626220703125, -0.0024929046630859375, 0.03778076171875, 0.119140625, 0.07635498046875, 0.051422119140625, -0.014984130859375, -0.00432586669921875, -0.01503753662109375, -0.01299285888671875, -0.004878997802734375, 0.0256805419921875, -0.0474853515625, -0.044036865234375, 0.01666259765625, -0.003086090087890625, 0.01409149169921875, -0.007808685302734375, 0.0205535888671875, -0.0557861328125, -0.0005097389221191406, 0.045196533203125, -0.0279998779296875, -0.0081329345703125, 0.049407958984375, 0.032318115234375, -0.0276336669921875, -0.052093505859375, -0.0114288330078125, 0.031585693359375, -0.0082244873046875, -0.0096282958984375, 0.0032405853271484375, 0.0018558502197265625, 0.0278472900390625, -0.00818634033203125, -0.0136871337890625, 0.016937255859375, -0.00954437255859375, 0.041839599609375, 0.0090484619140625, 0.035980224609375, -0.02227783203125, -0.0245513916015625, -0.016326904296875, 0.0287628173828125, -0.016448974609375, 0.0139617919921875, 0.0229949951171875, 0.0047760009765625, -0.01035308837890625, -0.034393310546875, 0.00818634033203125, -0.064697265625, -0.05340576171875, -0.0222930908203125, -0.0224151611328125, 0.006885528564453125, -0.004665374755859375, -0.00968170166015625, 0.01030731201171875, 0.02508544921875, 0.0014066696166992188, -0.0257415771484375, 0.055084228515625, -0.0024089813232421875, 0.00881195068359375, -0.0439453125, 0.05072021484375, -0.0146026611328125, 0.009674072265625, -0.03509521484375, 0.04425048828125, -0.027435302734375, 0.04248046875, -0.0340576171875, 0.001251220703125, -0.0400390625, 0.05035400390625, 0.03009033203125, -0.0050048828125, 0.03826904296875, 0.0238037109375, -0.0216522216796875, -0.0016880035400390625, 0.0269775390625, -0.01165008544921875, 0.01230621337890625, -0.031951904296875, 0.032989501953125, 0.03668212890625, -0.01361846923828125, 0.0012264251708984375, -0.00986480712890625, 0.08135986328125, -0.0159454345703125, 0.00290679931640625, 0.01055908203125, -0.01340484619140625, 0.01611328125, -0.00720977783203125, -0.0031185150146484375, 0.0166015625, -0.0089263916015625, -0.00885009765625, -0.00873565673828125, 0.01416015625, -0.006893157958984375, 0.021392822265625, 0.00200653076171875, 0.030853271484375, 0.039947509765625, -0.0489501953125, -0.01483917236328125, 0.036376953125, 0.03082275390625, 0.0311279296875, 0.0072479248046875, 0.033172607421875, -0.0758056640625, -0.02874755859375, -0.029998779296875, 0.0267333984375, 0.00392913818359375, 0.0187530517578125, 0.017913818359375, 0.024017333984375, 0.07525634765625, -0.036468505859375, 0.062744140625, 0.01560211181640625, 0.052490234375, -0.0236663818359375, -0.00860595703125, -0.0153350830078125, -0.0053863525390625, -0.0039825439453125, 0.0312042236328125, -0.00701141357421875, -0.03179931640625, -0.01337432861328125, 0.034027099609375, 0.033447265625, 0.0182037353515625, -0.045684814453125, -0.028564453125, -0.049041748046875, -0.0164947509765625, -0.007427215576171875, -0.0286865234375, 0.01099395751953125, -0.0011959075927734375, 0.00921630859375, -0.038116455078125, 0.0274505615234375, -0.0169830322265625, 0.035736083984375, 0.01177978515625, 0.0274505615234375, -0.028350830078125, 0.0272674560546875, -0.01389312744140625, 0.029510498046875, 0.0062408447265625, 0.050079345703125, 0.01541900634765625, -0.040771484375, 0.041839599609375, 0.0726318359375, 0.08843994140625, 0.035125732421875, 0.03485107421875, 0.03448486328125, -0.028961181640625, -0.0294189453125, -0.0287628173828125, -0.0266571044921875, -0.03656005859375, 0.01523590087890625, 0.00945281982421875, 0.0180206298828125, 0.003887176513671875, 0.011444091796875, 0.0157928466796875, 0.043365478515625, -0.00608062744140625, -0.04376220703125, 0.038299560546875, -0.0694580078125, 0.028045654296875, -0.00592803955078125, 0.0264129638671875, 0.01302337646484375, -0.00681304931640625, -0.051513671875, -0.0129241943359375, -0.018280029296875, 0.025665283203125, -0.01904296875, 0.0029354095458984375, 0.031829833984375, -0.0067291259765625, 0.03082275390625, -0.019744873046875, -0.0084381103515625, 0.032257080078125, -0.05145263671875, -0.00142669677734375, 0.05462646484375, 0.0161895751953125, -0.033294677734375, -0.11346435546875, -0.023162841796875, -0.03900146484375, 0.05267333984375, -0.00799560546875, -0.0163726806640625, 0.00630950927734375, -0.03076171875, -0.048370361328125, 0.0667724609375, -0.0014448165893554688, -0.0303497314453125, -0.06109619140625, 0.0095672607421875, 0.00769805908203125, -0.048583984375, -0.0248565673828125, -0.01751708984375, -0.0199432373046875, 0.044921875, -0.0028896331787109375, 0.038848876953125, 0.0272674560546875, -0.0172119140625, -0.0242767333984375, -0.01812744140625, -0.0232086181640625, 0.003238677978515625, -0.03460693359375, -0.0165863037109375, 0.04534912109375, 0.0255279541015625, 0.002101898193359375, 0.0501708984375, 0.0753173828125, 0.031890869140625, -0.0107421875, 0.005092620849609375, -0.018890380859375, 0.01416778564453125, 0.07293701171875, 0.05682373046875, 0.0205841064453125, -0.042022705078125, 0.03948974609375, 0.0203094482421875, -0.00853729248046875, -0.007801055908203125, -0.004993438720703125, -0.0233001708984375, -0.042144775390625, -0.004787445068359375, -0.01099395751953125, -0.005794525146484375, -0.0521240234375, -0.061370849609375, -0.00724029541015625, -0.052581787109375, 0.0221099853515625, -0.049957275390625, -0.032501220703125, 0.034149169921875, -0.005817413330078125, 0.00803375244140625, -0.006023406982421875, 0.036346435546875, 0.0044403076171875, 0.032928466796875, -0.0211944580078125, 0.045074462890625, -0.0689697265625, 0.00013697147369384766, -0.01995849609375, 0.0070037841796875, -0.0396728515625, 0.0277862548828125, 0.0275421142578125, 0.0007786750793457031, -0.0193634033203125, -0.01873779296875, 0.006145477294921875, 0.01436614990234375, -0.035186767578125, 0.048675537109375, -0.02081298828125, 0.05670166015625, 0.0033721923828125, 0.0099334716796875, -0.01280975341796875, 0.020843505859375, 0.0302276611328125, -0.014862060546875, 0.0284576416015625, -0.01001739501953125, 0.05767822265625, -0.0012912750244140625, 0.02252197265625, -0.014404296875, -0.0017862319946289062, 0.00757598876953125 ]
627d24beb73059e4ca1802f5ff9bfe1a3c20578b
Wordpress Stackexchange Q: 'Preview Changes' for custom meta boxes? How can I have the 'Preview Changes' working for custom meta boxes? For instance, I just want to test/ preview some text in a custom meta box but I don't want to save/ update because that post/ page is already gone live. eg: $post_id = $post->ID; $meta = get_post_meta( get_the_ID(), 'meta_tile1_text', TRUE ); var_dump($meta); ?> <p><?php echo $meta;?> </p> This only works when I click 'Update' button in the backend. But it does not when I click 'Preview Changes'. I have to save the 'preview' text in order to see it. Is it possible? A: Are you using or do you have gutenberg enabled? If so is it up to date? If not can you please let us know what theme if any and what editor if any. There is a well known bug that seems to show it's face if you are using gutenberg. It was meant to have been fixed (please make sure your wordpress and gutenberg are up to date) however there are recent reports this could still be an issue: Original report and confirmed bug here: https://github.com/WordPress/gutenberg/issues/11280 Confirmed bug fixed here: https://github.com/WordPress/gutenberg/pull/11409
Q: 'Preview Changes' for custom meta boxes? How can I have the 'Preview Changes' working for custom meta boxes? For instance, I just want to test/ preview some text in a custom meta box but I don't want to save/ update because that post/ page is already gone live. eg: $post_id = $post->ID; $meta = get_post_meta( get_the_ID(), 'meta_tile1_text', TRUE ); var_dump($meta); ?> <p><?php echo $meta;?> </p> This only works when I click 'Update' button in the backend. But it does not when I click 'Preview Changes'. I have to save the 'preview' text in order to see it. Is it possible? A: Are you using or do you have gutenberg enabled? If so is it up to date? If not can you please let us know what theme if any and what editor if any. There is a well known bug that seems to show it's face if you are using gutenberg. It was meant to have been fixed (please make sure your wordpress and gutenberg are up to date) however there are recent reports this could still be an issue: Original report and confirmed bug here: https://github.com/WordPress/gutenberg/issues/11280 Confirmed bug fixed here: https://github.com/WordPress/gutenberg/pull/11409
wordpress
{ "language": "en", "length": 193, "provenance": "stackexchange_00019.jsonl.gz:475199", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263426" }
[ -0.0184478759765625, -0.0240325927734375, 0.0258026123046875, 0.0190887451171875, -0.054779052734375, 0.0018787384033203125, -0.009124755859375, -0.050079345703125, 0.006969451904296875, 0.070556640625, -0.02935791015625, -0.0213623046875, 0.0430908203125, 0.0012655258178710938, -0.054840087890625, -0.024200439453125, 0.038909912109375, 0.002452850341796875, 0.048614501953125, 0.0113372802734375, -0.0231170654296875, 0.03363037109375, 0.045806884765625, 0.034637451171875, 0.0187225341796875, -0.036529541015625, 0.01282501220703125, -0.0018587112426757812, 0.0177459716796875, -0.0130767822265625, 0.0146636962890625, -0.000014483928680419922, 0.036468505859375, 0.0155181884765625, -0.054840087890625, 0.0182037353515625, 0.045928955078125, -0.018524169921875, -0.01108551025390625, 0.036407470703125, 0.01239013671875, 0.018524169921875, -0.023468017578125, -0.0103607177734375, -0.036041259765625, -0.021514892578125, -0.0300750732421875, -0.03973388671875, -0.00007724761962890625, 0.0159759521484375, -0.0133209228515625, -0.003154754638671875, 0.0018110275268554688, 0.0269927978515625, 0.002887725830078125, -0.00914764404296875, -0.051605224609375, 0.04443359375, 0.002201080322265625, 0.041961669921875, 0.0255279541015625, 0.05267333984375, -0.030364990234375, -0.005889892578125, 0.00047779083251953125, -0.01088714599609375, -0.0084381103515625, 0.0145111083984375, 0.003162384033203125, -0.01332855224609375, 0.01403045654296875, -0.0150604248046875, -0.006160736083984375, -0.07635498046875, 0.0259857177734375, 0.026580810546875, -0.032806396484375, -0.05780029296875, -0.003704071044921875, -0.00092315673828125, 0.0261383056640625, -0.0005521774291992188, -0.03912353515625, -0.0019550323486328125, 0.0204925537109375, 0.01221466064453125, -0.006381988525390625, -0.0216827392578125, -0.01183319091796875, -0.036712646484375, -0.005313873291015625, -0.079833984375, -0.04998779296875, 0.0289459228515625, 0.016448974609375, -0.032379150390625, 0.0027217864990234375, 0.063720703125, -0.0225677490234375, 0.00603485107421875, -0.01294708251953125, -0.0330810546875, 0.010040283203125, -0.036895751953125, 0.00829315185546875, 0.0190277099609375, -0.01519775390625, 0.0176544189453125, 0.051971435546875, 0.04046630859375, 0.004909515380859375, 0.0257720947265625, -0.0189666748046875, -0.02252197265625, 0.01296234130859375, 0.02081298828125, -0.03387451171875, 0.037628173828125, -0.01507568359375, 0.0190887451171875, 0.035430908203125, 0.052093505859375, -0.00872039794921875, -0.058502197265625, 0.047760009765625, 0.01995849609375, -0.042327880859375, -0.020355224609375, -0.0073089599609375, 0.0113525390625, -0.03045654296875, -0.010772705078125, 0.06732177734375, 0.062103271484375, 0.0340576171875, -0.02020263671875, 0.020538330078125, 0.01407623291015625, -0.01554107666015625, 0.018798828125, -0.061553955078125, -0.02313232421875, 0.0115509033203125, -0.063720703125, -0.0355224609375, 0.01708984375, 0.0174560546875, 0.01485443115234375, -0.0184326171875, -0.0633544921875, -0.0144805908203125, 0.00374603271484375, 0.041412353515625, -0.006351470947265625, 0.0225067138671875, -0.04998779296875, 0.074462890625, -0.06884765625, -0.008209228515625, -0.0762939453125, 0.0169525146484375, -0.0026988983154296875, -0.001964569091796875, -0.003948211669921875, -0.01136016845703125, -0.00252532958984375, -0.026214599609375, 0.004795074462890625, 0.02117919921875, 0.031524658203125, 0.010345458984375, -0.0072479248046875, 0.0176239013671875, -0.016357421875, -0.0253753662109375, -0.00789642333984375, 0.0008025169372558594, 0.03997802734375, -0.00440216064453125, -0.004962921142578125, -0.018218994140625, -0.041534423828125, 0.03948974609375, -0.020294189453125, -0.01514434814453125, 0.0076446533203125, -0.019622802734375, 0.01358795166015625, 0.04058837890625, 0.0077362060546875, -0.025421142578125, -0.01055908203125, -0.059722900390625, 0.0267181396484375, 0.0029850006103515625, 0.03521728515625, -0.04339599609375, 0.01507568359375, -0.00763702392578125, -0.019775390625, 0.01123046875, -0.00833892822265625, 0.023651123046875, -0.035186767578125, -0.08984375, 0.026275634765625, -0.039642333984375, 0.065673828125, -0.0099334716796875, 0.003154754638671875, 0.018524169921875, -0.0184478759765625, -0.0201568603515625, 0.0234222412109375, -0.01873779296875, 0.0102996826171875, -0.0045166015625, 0.06085205078125, 0.0058441162109375, 0.02215576171875, 0.0156707763671875, -0.031341552734375, 0.007236480712890625, 0.00312042236328125, 0.03765869140625, 0.0194244384765625, -0.00850677490234375, 0.00732421875, 0.048553466796875, 0.01971435546875, 0.01172637939453125, -0.007080078125, -0.0179443359375, -0.04541015625, -0.0247802734375, 0.00485992431640625, 0.0054168701171875, -0.0985107421875, 0.00208282470703125, 0.055999755859375, -0.0007376670837402344, -0.0040283203125, -0.03594970703125, 0.0229339599609375, 0.0294189453125, 0.01137542724609375, 0.00890350341796875, 0.0177764892578125, 0.0151519775390625, 0.0269927978515625, -0.0626220703125, -0.0004868507385253906, 0.039886474609375, 0.0004367828369140625, 0.021759033203125, 0.051483154296875, -0.0035991668701171875, 0.014556884765625, -0.0181884765625, 0.004337310791015625, 0.002552032470703125, 0.024078369140625, 0.0005917549133300781, -0.005649566650390625, 0.0164642333984375, 0.006847381591796875, 0.04541015625, 0.035369873046875, -0.00677490234375, -0.0120849609375, -0.00783538818359375, 0.00856781005859375, 0.02288818359375, 0.034912109375, 0.0170440673828125, 0.0418701171875, -0.0269012451171875, -0.0294647216796875, 0.036407470703125, 0.040771484375, -0.028961181640625, 0.035003662109375, -0.0433349609375, -0.0248565673828125, -0.0119476318359375, -0.055877685546875, -0.026458740234375, -0.057861328125, 0.0254364013671875, 0.0264892578125, 0.046539306640625, 0.022064208984375, 0.005462646484375, 0.016357421875, 0.0110626220703125, -0.004444122314453125, 0.034088134765625, -0.07305908203125, 0.04302978515625, -0.0280303955078125, 0.053375244140625, 0.07708740234375, -0.01152801513671875, 0.01377105712890625, -0.01453399658203125, -0.0145111083984375, -0.029510498046875, 0.0217437744140625, -0.0183563232421875, -0.04327392578125, -0.06817626953125, -0.0244903564453125, 0.031524658203125, 0.03546142578125, 0.01873779296875, -0.004528045654296875, 0.0085906982421875, 0.040771484375, -0.005207061767578125, -0.008697509765625, -0.02825927734375, -0.0278167724609375, -0.0394287109375, -0.0274658203125, -0.037200927734375, 0.03912353515625, -0.047454833984375, 0.002857208251953125, -0.03662109375, -0.041046142578125, -0.0316162109375, -0.065185546875, -0.05426025390625, 0.00005751848220825195, 0.0220794677734375, 0.007755279541015625, 0.0012350082397460938, 0.041107177734375, -0.0033245086669921875, -0.038360595703125, 0.002132415771484375, 0.0535888671875, 0.01065826416015625, -0.003231048583984375, 0.0496826171875, -0.0217437744140625, 0.006656646728515625, 0.0021991729736328125, 0.0302734375, 0.034698486328125, -0.0506591796875, -0.021575927734375, -0.0288543701171875, -0.0182952880859375, 0.005039215087890625, 0.032958984375, 0.035400390625, 0.032257080078125, 0.052154541015625, -0.002223968505859375, -0.004085540771484375, -0.0084991455078125, -0.016845703125, 0.0231475830078125, 0.00027751922607421875, -0.017608642578125, -0.0137481689453125, 0.02081298828125, 0.01800537109375, 0.041595458984375, 0.05792236328125, 0.00672149658203125, -0.0032138824462890625, -0.0210418701171875, -0.035308837890625, -0.06500244140625, -0.0051727294921875, -0.01326751708984375, 0.0596923828125, -0.006565093994140625, 0.06610107421875, 0.0200653076171875, 0.01070404052734375, -0.0406494140625, -0.045379638671875, 0.0297698974609375, -0.048583984375, 0.01348876953125, -0.051361083984375, -0.018035888671875, -0.0311279296875, 0.0697021484375, -0.0309906005859375, -0.01290130615234375, 0.01513671875, 0.0003695487976074219, 0.012847900390625, 0.0416259765625, -0.03997802734375, -0.015472412109375, -0.06976318359375, 0.010284423828125, -0.007266998291015625, -0.02923583984375, -0.016265869140625, -0.0124969482421875, -0.049530029296875, -0.037567138671875, 0.04547119140625, -0.021392822265625, 0.0202789306640625, -0.01126861572265625, 0.0244598388671875, -0.060150146484375, -0.009796142578125, -0.0234222412109375, -0.08074951171875, -0.0128936767578125, -0.01288604736328125, 0.057220458984375, 0.0092315673828125, -0.031585693359375, -0.020538330078125, 0.041595458984375, 0.051971435546875, 0.059661865234375, 0.01059722900390625, -0.0169830322265625, 0.024810791015625, -0.043304443359375, 0.037109375, -0.049041748046875, -0.0090484619140625, 0.00794219970703125, -0.03460693359375, 0.03839111328125, 0.0017042160034179688, -0.0013704299926757812, 0.041900634765625, -0.0372314453125, -0.034912109375, -0.045928955078125, -0.0550537109375, -0.0027523040771484375, -0.0211334228515625, -0.0301971435546875, -0.043365478515625, -0.05230712890625, -0.01197052001953125, -0.02972412109375, -0.0157623291015625, 0.01885986328125, 0.06390380859375, 0.033172607421875, 0.00879669189453125, 0.006015777587890625, -0.008758544921875, 0.043670654296875, 0.0391845703125, -0.01509857177734375, -0.0038928985595703125, -0.041900634765625, 0.0234527587890625, 0.040802001953125, 0.003978729248046875, -0.0634765625, 0.083251953125, -0.0208740234375, -0.017974853515625, 0.0299835205078125, -0.031280517578125, 0.0223846435546875, 0.0338134765625, -0.01947021484375, -0.03436279296875, -0.0284271240234375, 0.06494140625, -0.0264129638671875, 0.050018310546875, -0.0389404296875, -0.002841949462890625, 0.0018949508666992188, 0.012725830078125, 0.0513916015625, 0.03460693359375, -0.0110626220703125, 0.033050537109375, 0.043121337890625, 0.0014181137084960938, -0.00977325439453125, -0.04083251953125, -0.04351806640625, -0.01465606689453125, 0.028594970703125, -0.0180511474609375, 0.0185394287109375, -0.00836181640625, 0.06964111328125, -0.006694793701171875, -0.060546875, -0.01413726806640625, -0.01284027099609375, 0.028411865234375, 0.019683837890625, 0.0264434814453125, 0.0258331298828125, -0.0014047622680664062, -0.0172271728515625, 0.0038013458251953125, 0.0435791015625, -0.015045166015625, -0.03216552734375, -0.01538848876953125, 0.01629638671875, -0.028045654296875, 0.0197296142578125, 0.01910400390625, -0.0443115234375, 0.01332855224609375, 0.0105438232421875, 0.027740478515625, 0.017913818359375, 0.0213623046875, 0.0293121337890625, -0.0011138916015625, 0.0005617141723632812, -0.018951416015625, -0.00618743896484375, -0.00595855712890625, -0.013946533203125, 0.01104736328125, -0.01108551025390625, 0.0013227462768554688, 0.0072479248046875, 0.0240020751953125, 0.01953125, -0.007312774658203125, 0.0021877288818359375, -0.00341033935546875, -0.0207672119140625, -0.002826690673828125, -0.0011663436889648438, -0.003337860107421875, -0.01253509521484375, 0.0010814666748046875, -0.015106201171875, -0.01378631591796875, 0.0189971923828125, -0.06256103515625, 0.01288604736328125, -0.01251983642578125, -0.0051422119140625, 0.01129913330078125, 0.003261566162109375, 0.002643585205078125, -0.039093017578125, -0.013336181640625, -0.035797119140625, -0.025390625, 0.07672119140625, -0.02093505859375, -0.00002396106719970703, -0.01512908935546875, -0.002513885498046875, -0.0289154052734375, 0.0240325927734375, 0.018280029296875, 0.006771087646484375, 0.01134490966796875, -0.0186004638671875, -0.041412353515625, -0.0254974365234375, -0.00839996337890625, -0.04541015625, -0.025115966796875, -0.0081024169921875, 0.011383056640625, 0.036895751953125, -0.013031005859375, -0.011871337890625, -0.0188751220703125, 0.0184173583984375, 0.016021728515625, 0.1282958984375, -0.0006871223449707031, 0.06512451171875, -0.022613525390625, 0.07086181640625, -0.0015659332275390625, -0.0031871795654296875, -0.049407958984375, -0.007663726806640625, 0.0028324127197265625, 0.0230560302734375, -0.00403594970703125, -0.03424072265625, 0.050079345703125, 0.0009641647338867188, 0.035369873046875, -0.006626129150390625, -0.0140533447265625, -0.015777587890625, 0.01277923583984375, -0.033782958984375, 0.06707763671875, -0.0193939208984375, -0.040985107421875, 0.044830322265625, -0.031707763671875, -0.035400390625, 0.0059051513671875, 0.0269622802734375, 0.005954742431640625, -0.01458740234375, -0.00885009765625, -0.001407623291015625, -0.037628173828125, 0.0272216796875, 0.06427001953125, 0.039520263671875, 0.051849365234375, 0.01763916015625, 0.041351318359375, 0.0032215118408203125, -0.00940704345703125, 0.015106201171875, -0.004314422607421875, 0.01513671875, -0.00600433349609375, 0.0013456344604492188, 0.0037078857421875, 0.0074005126953125, 0.008636474609375, 0.05450439453125, 0.0243072509765625, -0.09454345703125, 0.0121612548828125, -0.0067138671875, 0.0012912750244140625, 0.0374755859375, 0.0107879638671875, -0.02783203125, -0.030853271484375, -0.0027923583984375, -0.02325439453125, -0.02423095703125, 0.011871337890625, 0.0252685546875, -0.006313323974609375, -0.052947998046875, -0.0227508544921875, -0.0093841552734375, 0.01428985595703125, 0.0237884521484375, 0.001049041748046875, 0.01552581787109375, -0.01898193359375, -0.01352691650390625, 0.020477294921875, -0.035247802734375, -0.06591796875, 0.004108428955078125, -0.016632080078125, -0.01116943359375, 0.01007843017578125, 0.034942626953125, 0.029052734375, 0.05938720703125, -0.0124969482421875, 0.0144805908203125, 0.005367279052734375, 0.0293731689453125, -0.0283966064453125, -0.048553466796875, -0.00035858154296875, 0.038604736328125, -0.03558349609375, 0.044189453125, 0.00595855712890625, -0.029266357421875, 0.0021533966064453125, 0.036224365234375, 0.0716552734375, -0.0128936767578125, -0.0294189453125, 0.0234832763671875, 0.00865936279296875, -0.0133514404296875, 0.025421142578125, -0.003452301025390625, -0.01165008544921875, 0.0071868896484375, 0.019866943359375, -0.0234222412109375, -0.0104827880859375, 0.030975341796875, -0.08880615234375, 0.09130859375, 0.0180511474609375, 0.0494384765625, 0.01105499267578125, 0.0132904052734375, -0.056671142578125, -0.024871826171875, -0.0306549072265625, 0.0460205078125, -0.00844573974609375, 0.03594970703125, -0.05145263671875, -0.01377105712890625, -0.0034503936767578125, 0.036865234375, -0.0020465850830078125, 0.0008749961853027344, -0.0031375885009765625, -0.01001739501953125, -0.0009436607360839844, 0.037139892578125, 0.0001552104949951172, 0.00194549560546875, 0.002407073974609375, 0.02667236328125, 0.00330352783203125, -0.03076171875, 0.028778076171875, -0.04168701171875, -0.043243408203125, 0.017303466796875, 0.00698089599609375, 0.0101776123046875, -0.0188140869140625, 0.034942626953125, -0.0165252685546875, -0.01212310791015625, 0.0187530517578125, -0.02020263671875, -0.01702880859375, -0.00711822509765625, -0.0006504058837890625, -0.00402069091796875, 0.00366973876953125, -0.01050567626953125, 0.0250244140625, 0.031890869140625, 0.00881195068359375, 0.00400543212890625, 0.0168609619140625, -0.0084991455078125, -0.01806640625, 0.01184844970703125, 0.023193359375, -0.03509521484375, 0.058258056640625, 0.024658203125, -0.0078125, -0.01256561279296875, 0.06500244140625, 0.03759765625, 0.042083740234375, -0.07049560546875, -0.0418701171875, -0.00412750244140625, -0.020477294921875, 0.041351318359375, -0.01064300537109375, 0.038330078125, -0.008697509765625, -0.025726318359375, -0.01325225830078125, -0.03729248046875, -0.02972412109375, 0.0240936279296875, -0.018035888671875, 0.003177642822265625, 0.031951904296875, -0.0309600830078125, -0.0726318359375, -0.00469970703125, 0.032867431640625, 0.0667724609375, 0.035064697265625, 0.052520751953125, 0.0435791015625, -0.0221710205078125, -0.0166778564453125, 0.024627685546875, 0.005710601806640625, 0.010650634765625, -0.0322265625, -0.029693603515625, 0.045318603515625, 0.031707763671875, -0.00763702392578125, 0.040008544921875, 0.041717529296875, 0.01116180419921875, -0.02569580078125, 0.0008211135864257812, 0.043975830078125, -0.04315185546875, -0.025787353515625, -0.05767822265625, 0.0186920166015625, 0.01389312744140625, 0.025299072265625, -0.0017595291137695312, 0.022918701171875, 0.006927490234375, -0.017913818359375, 0.0291595458984375, 0.00518035888671875, -0.037689208984375, 0.00798797607421875, -0.0011768341064453125, 0.044189453125, 0.0233001708984375, -0.002468109130859375, -0.016510009765625, -0.0034923553466796875, -0.0095062255859375, -0.00498199462890625, 0.0249481201171875, 0.0010480880737304688, 0.027191162109375, -0.0299835205078125, 0.020782470703125, 0.03985595703125, -0.08087158203125, 0.0293731689453125, 0.052490234375, -0.0133819580078125, 0.0133819580078125, -0.043304443359375, -0.0338134765625, 0.0217742919921875, 0.038787841796875, -0.058258056640625, 0.1265869140625, -0.04986572265625, -0.030181884765625, 0.013214111328125, 0.0296630859375, -0.02227783203125, -0.03271484375, 0.05535888671875, -0.0095367431640625, 0.007793426513671875, -0.004604339599609375, -0.005031585693359375, 0.050140380859375, 0.016204833984375, -0.01934814453125, 0.0430908203125, -0.0006699562072753906, -0.00817108154296875, -0.034393310546875, -0.042388916015625, -0.026885986328125, -0.025146484375, -0.010894775390625, 0.0167236328125, 0.01415252685546875, 0.0129852294921875, -0.025604248046875, 0.0233917236328125, 0.035369873046875, 0.01030731201171875, 0.00394439697265625, 0.00673675537109375, 0.01314544677734375, 0.0270538330078125, -0.0018396377563476562, 0.027252197265625, -0.033050537109375, -0.02252197265625, -0.006610870361328125, 0.0030384063720703125, -0.040802001953125, -0.0157470703125, -0.01055908203125, -0.0004963874816894531, 0.00634765625, 0.001804351806640625, -0.057769775390625, -0.0023956298828125, 0.04229736328125, 0.00461578369140625, 0.0092926025390625, 0.0099945068359375, 0.00002872943878173828, -0.04656982421875, 0.004215240478515625, 0.0155792236328125, -0.006130218505859375, 0.0219879150390625, -0.005950927734375, 0.01064300537109375, 0.02008056640625, 0.0133209228515625, -0.07073974609375, 0.06341552734375, -0.006374359130859375, -0.0063934326171875, 0.004886627197265625, -0.0177154541015625, 0.003208160400390625, 0.06134033203125, 0.02349853515625, -0.02056884765625, -0.038238525390625, 0.039703369140625, -0.0298309326171875, 0.015899658203125, 0.021942138671875, -0.029327392578125, -0.00507354736328125, -0.0230255126953125, 0.0270843505859375, 0.01303863525390625, 0.050201416015625, -0.0137786865234375, -0.012420654296875, 0.01096343994140625, 0.0125274658203125, -0.041961669921875, 0.0008511543273925781, 0.0037631988525390625, -0.0027256011962890625, -0.029266357421875, 0.0251922607421875, 0.031036376953125, -0.0305938720703125, -0.058197021484375, -0.03704833984375, 0.00812530517578125, -0.04437255859375, -0.051971435546875, 0.00241851806640625, 0.00031185150146484375, 0.064208984375, -0.0127105712890625, 0.006076812744140625, -0.02276611328125, 0.0172119140625, -0.002681732177734375, 0.0377197265625, -0.0003867149353027344, 0.006305694580078125, -0.018890380859375, 0.002948760986328125, 0.002254486083984375, -0.024993896484375, -0.0240478515625, -0.0148773193359375, 0.005901336669921875, 0.0085296630859375, -0.0438232421875, -0.0684814453125, 0.03466796875, 0.017669677734375, 0.0003426074981689453, -0.0084686279296875, -0.04864501953125, 0.0132293701171875, 0.061737060546875, 0.07806396484375, 0.0196533203125, -0.05511474609375, 0.0379638671875, 0.0033054351806640625, -0.0709228515625, -0.032806396484375, 0.0297393798828125, -0.07672119140625, -0.0305328369140625, 0.0011959075927734375, -0.0221405029296875, -0.01157379150390625, 0.00814056396484375, -0.042572021484375, 0.004962921142578125, 0.00327301025390625, 0.006282806396484375, -0.047760009765625, -0.023834228515625, 0.0902099609375, -0.046966552734375, 0.0165557861328125, 0.01323699951171875, 0.01172637939453125, 0.05487060546875, 0.01702880859375, -0.0019292831420898438, -0.021759033203125, -0.032684326171875, 0.01427459716796875, -0.0226593017578125, 0.04693603515625, -0.031463623046875, -0.0247955322265625, 0.00504302978515625, -0.0288238525390625, -0.0180816650390625, -0.054229736328125, 0.005039215087890625, -0.0164031982421875, -0.045989990234375, 0.0224609375, -0.0194549560546875, 0.01727294921875, -0.02264404296875, 0.01021575927734375, 0.0233306884765625, -0.005634307861328125, 0.0682373046875, -0.035400390625, 0.019866943359375, -0.0164031982421875, 0.015625, -0.049591064453125, 0.0037326812744140625, -0.0043182373046875, -0.0017366409301757812, 0.0322265625 ]
e19fccf64904a117d808dd6e7e5be0edadbe39ee
Wordpress Stackexchange Q: check if tag exists in wp database I have to display a button that links to a tag, but I have to hide the button if tag doesn't exists to avoid broken links. How can I check if a specific tag exists inside wp database? This is what I have so far: $tag_path = '/tag/testing/'; if( !$page = get_page_by_path( $tag_path ) ){ //hide button link } else { //show button link } A: I think you're looking for term_exists function. Example Code: <?php $term = term_exists('tag1', 'post_tag'); if ($term !== 0 && $term !== null) { echo "'tag1' post_tag exists!"; } else { echo "'tag1' post_tag does not exist!"; } ?>
Q: check if tag exists in wp database I have to display a button that links to a tag, but I have to hide the button if tag doesn't exists to avoid broken links. How can I check if a specific tag exists inside wp database? This is what I have so far: $tag_path = '/tag/testing/'; if( !$page = get_page_by_path( $tag_path ) ){ //hide button link } else { //show button link } A: I think you're looking for term_exists function. Example Code: <?php $term = term_exists('tag1', 'post_tag'); if ($term !== 0 && $term !== null) { echo "'tag1' post_tag exists!"; } else { echo "'tag1' post_tag does not exist!"; } ?> A: I think you can check has_tag if(has_tag('tag_name')) { // do something } else { // do something } Ref - https://developer.wordpress.org/reference/functions/has_tag/
wordpress
{ "language": "en", "length": 134, "provenance": "stackexchange_00019.jsonl.gz:475242", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263574" }
[ 0.04736328125, 0.02264404296875, -0.012420654296875, -0.0015420913696289062, 0.039215087890625, -0.049713134765625, 0.072265625, -0.044525146484375, 0.034210205078125, 0.0217742919921875, -0.0692138671875, -0.0308990478515625, 0.0015010833740234375, -0.001705169677734375, -0.045562744140625, -0.058929443359375, 0.0175018310546875, -0.0106353759765625, 0.03778076171875, 0.0016498565673828125, 0.029541015625, 0.007526397705078125, 0.021026611328125, -0.0128326416015625, 0.0214385986328125, -0.05029296875, 0.07159423828125, -0.02642822265625, 0.033233642578125, -0.01194000244140625, 0.03802490234375, -0.01059722900390625, 0.011322021484375, 0.0026187896728515625, -0.013275146484375, -0.028961181640625, -0.0130157470703125, 0.011749267578125, 0.006336212158203125, -0.0030975341796875, 0.039764404296875, -0.0194854736328125, 0.03314208984375, 0.0216827392578125, 0.01024627685546875, -0.042633056640625, 0.051116943359375, -0.042724609375, -0.016082763671875, 0.01438140869140625, 0.0521240234375, 0.0127716064453125, 0.052886962890625, -0.0176239013671875, -0.005596160888671875, 0.0194244384765625, -0.01210784912109375, -0.0026226043701171875, 0.0204620361328125, 0.01416015625, 0.0009431838989257812, 0.008544921875, -0.0040283203125, 0.001911163330078125, -0.0243377685546875, -0.0015010833740234375, 0.026092529296875, 0.01544189453125, -0.036865234375, -0.04412841796875, 0.0156097412109375, -0.0089874267578125, -0.0157623291015625, 0.0124359130859375, -0.0187835693359375, 0.00672149658203125, 0.0229034423828125, -0.002834320068359375, -0.00827789306640625, 0.03472900390625, 0.0277252197265625, -0.01273345947265625, 0.007568359375, 0.006465911865234375, -0.0015964508056640625, 0.0182952880859375, -0.0017299652099609375, -0.0074615478515625, -0.004638671875, -0.03125, -0.00460052490234375, -0.01190185546875, -0.0394287109375, 0.005275726318359375, -0.01308441162109375, -0.042816162109375, 0.0301513671875, 0.078125, -0.04193115234375, -0.003936767578125, 0.005069732666015625, -0.038360595703125, 0.02276611328125, -0.05438232421875, 0.0328369140625, 0.08343505859375, -0.008209228515625, -0.007518768310546875, 0.0272216796875, -0.006900787353515625, 0.022918701171875, -0.01165771484375, -0.018798828125, -0.013153076171875, -0.03546142578125, 0.0029659271240234375, -0.043121337890625, -0.0182647705078125, -0.0187530517578125, -0.01555633544921875, -0.01412200927734375, 0.0210418701171875, -0.06866455078125, -0.00885772705078125, -0.0034046173095703125, -0.034027099609375, 0.004344940185546875, 0.032257080078125, -0.050872802734375, 0.00832366943359375, -0.018707275390625, 0.030181884765625, 0.06353759765625, 0.015899658203125, -0.019287109375, -0.01166534423828125, 0.03521728515625, -0.00020945072174072266, -0.024139404296875, 0.0176239013671875, 0.036529541015625, -0.0377197265625, -0.0098724365234375, -0.013885498046875, -0.01424407958984375, 0.04022216796875, 0.0325927734375, -0.00946044921875, -0.043670654296875, -0.0595703125, 0.0102081298828125, -0.01151275634765625, 0.0311126708984375, -0.009796142578125, -0.0268707275390625, -0.0175628662109375, -0.01055908203125, -0.01233673095703125, -0.0073089599609375, -0.033782958984375, 0.01364898681640625, -0.0247039794921875, 0.0207672119140625, -0.01120758056640625, -0.034271240234375, 0.028045654296875, -0.059783935546875, -0.0091552734375, 0.0250091552734375, 0.04119873046875, -0.01102447509765625, 0.006145477294921875, 0.04669189453125, 0.020172119140625, -0.01142120361328125, 0.00262451171875, 0.00890350341796875, 0.004604339599609375, 0.02532958984375, 0.0235137939453125, -0.01483154296875, -0.02008056640625, 0.08526611328125, -0.03717041015625, -0.08319091796875, 0.076416015625, -0.01230621337890625, 0.056396484375, 0.02655029296875, -0.005054473876953125, 0.04766845703125, 0.023040771484375, -0.032623291015625, 0.040985107421875, -0.00803375244140625, 0.0030078887939453125, -0.033721923828125, 0.0222930908203125, -0.0243072509765625, -0.041015625, -0.005859375, 0.027557373046875, -0.01090240478515625, 0.0210113525390625, -0.05224609375, 0.0268707275390625, -0.0235443115234375, 0.049530029296875, -0.00557708740234375, 0.03643798828125, 0.01280975341796875, 0.0027599334716796875, -0.01410675048828125, -0.0176544189453125, 0.00659942626953125, 0.007556915283203125, -0.039031982421875, -0.0149993896484375, -0.01396942138671875, 0.0064544677734375, -0.00907135009765625, 0.022857666015625, -0.0242462158203125, -0.0205078125, -0.001766204833984375, 0.00806427001953125, -0.0035572052001953125, 0.01483917236328125, 0.0025577545166015625, 0.057769775390625, -0.0246124267578125, -0.05047607421875, 0.060394287109375, 0.045135498046875, -0.0274810791015625, -0.01006317138671875, 0.00606536865234375, -0.0755615234375, 0.005893707275390625, 0.0628662109375, 0.034210205078125, 0.0218658447265625, -0.0294189453125, -0.0202178955078125, 0.03399658203125, -0.087646484375, -0.024505615234375, -0.0009226799011230469, -0.002727508544921875, 0.0011777877807617188, -0.013336181640625, 0.01520538330078125, 0.0272369384765625, 0.0036945343017578125, 0.008148193359375, 0.055206298828125, -0.03289794921875, 0.0260467529296875, 0.002483367919921875, -0.0293731689453125, -0.006023406982421875, 0.0014133453369140625, 0.0210418701171875, -0.033538818359375, 0.06671142578125, 0.01105499267578125, 0.0654296875, 0.041351318359375, -0.0136566162109375, 0.02142333984375, -0.0110626220703125, -0.034759521484375, 0.01261138916015625, 0.0288543701171875, -0.02752685546875, 0.0667724609375, -0.02435302734375, -0.0130157470703125, 0.0216522216796875, 0.037628173828125, -0.01456451416015625, 0.045989990234375, 0.0064239501953125, -0.01361083984375, -0.035491943359375, -0.019927978515625, 0.01605224609375, 0.003208160400390625, 0.005435943603515625, -0.024078369140625, -0.00072479248046875, 0.02880859375, -0.0201873779296875, 0.05706787109375, 0.0103912353515625, -0.026580810546875, -0.014862060546875, -0.023223876953125, 0.03656005859375, -0.03533935546875, 0.027801513671875, 0.0684814453125, -0.0076751708984375, 0.0103759765625, 0.0091094970703125, 0.0275421142578125, 0.00713348388671875, 0.01629638671875, 0.005344390869140625, 0.0142364501953125, -0.060546875, -0.00921630859375, 0.0200042724609375, 0.00435638427734375, -0.0198211669921875, -0.04595947265625, -0.044769287109375, -0.00748443603515625, -0.10675048828125, -0.0621337890625, -0.0099945068359375, -0.021087646484375, -0.0002956390380859375, -0.001338958740234375, -0.002655029296875, -0.0156707763671875, 0.018890380859375, -0.0015316009521484375, -0.054962158203125, -0.019195556640625, -0.0731201171875, -0.07696533203125, -0.074462890625, 0.033447265625, -0.01241302490234375, 0.0323486328125, 0.01264190673828125, 0.06671142578125, 0.008575439453125, -0.06890869140625, 0.0189056396484375, -0.0294952392578125, -0.0121307373046875, 0.0538330078125, 0.007556915283203125, -0.028076171875, 0.0042266845703125, 0.0014696121215820312, 0.02691650390625, 0.007556915283203125, 0.0068206787109375, -0.0229644775390625, 0.0086822509765625, -0.01490020751953125, 0.043548583984375, 0.007137298583984375, -0.0288543701171875, 0.016448974609375, 0.05230712890625, -0.016845703125, -0.020904541015625, -0.0027256011962890625, -0.0260009765625, 0.0772705078125, -0.00791168212890625, -0.014190673828125, 0.0243988037109375, 0.0243377685546875, 0.049468994140625, 0.032135009765625, 0.0198974609375, 0.020172119140625, -0.01313018798828125, 0.0041046142578125, -0.01020050048828125, -0.03094482421875, 0.025482177734375, -0.026611328125, 0.001323699951171875, -0.01505279541015625, -0.0207672119140625, -0.0455322265625, 0.0308380126953125, -0.05267333984375, 0.00632476806640625, 0.0226287841796875, -0.01373291015625, 0.044525146484375, -0.040435791015625, -0.0177459716796875, -0.030792236328125, 0.0308990478515625, 0.01678466796875, -0.0221405029296875, -0.03338623046875, -0.0003314018249511719, -0.0196533203125, -0.0361328125, -0.00492095947265625, 0.01309967041015625, -0.042633056640625, 0.0172882080078125, 0.0004291534423828125, -0.021453857421875, -0.016265869140625, -0.0204620361328125, -0.03558349609375, -0.017181396484375, 0.037353515625, -0.06658935546875, 0.04638671875, -0.0038585662841796875, 0.026214599609375, -0.01358795166015625, -0.0011444091796875, -0.060089111328125, -0.0191497802734375, 0.009063720703125, -0.058929443359375, -0.00815582275390625, 0.0184326171875, -0.0015506744384765625, -0.00203704833984375, 0.00951385498046875, 0.037200927734375, -0.0010967254638671875, 0.0255889892578125, -0.00787353515625, 0.02069091796875, -0.0249786376953125, -0.003185272216796875, -0.032806396484375, -0.018035888671875, -0.0262451171875, -0.01409912109375, 0.03717041015625, -0.036224365234375, 0.037384033203125, -0.0189971923828125, 0.0004436969757080078, 0.0278778076171875, -0.01220703125, -0.053680419921875, 0.01026153564453125, -0.038909912109375, -0.0028839111328125, -0.0084228515625, -0.0192718505859375, 0.05230712890625, -0.01436614990234375, -0.021575927734375, 0.015350341796875, 0.07305908203125, 0.01329803466796875, -0.023712158203125, -0.07977294921875, 0.0247039794921875, 0.037750244140625, 0.00826263427734375, 0.038909912109375, 0.0141448974609375, -0.0296173095703125, 0.034423828125, 0.02813720703125, -0.0128631591796875, 0.01031494140625, 0.06951904296875, -0.01531982421875, -0.0233917236328125, 0.00960540771484375, -0.0223236083984375, -0.01561737060546875, 0.043731689453125, 0.0006508827209472656, -0.03204345703125, 0.0272064208984375, 0.04364013671875, -0.036712646484375, 0.0023193359375, -0.035888671875, -0.0232696533203125, 0.0003399848937988281, 0.01207733154296875, 0.01519012451171875, 0.00917816162109375, 0.0081787109375, 0.01171112060546875, 0.014312744140625, 0.00023877620697021484, -0.0017137527465820312, 0.0200653076171875, -0.032745361328125, 0.0311431884765625, -0.003528594970703125, -0.0229034423828125, -0.0007662773132324219, -0.012939453125, 0.03509521484375, -0.00736236572265625, -0.06158447265625, 0.021820068359375, -0.0177764892578125, -0.00533294677734375, 0.0304718017578125, 0.005413055419921875, 0.00762176513671875, -0.0177154541015625, -0.016204833984375, 0.0148773193359375, 0.004123687744140625, -0.035308837890625, -0.0156707763671875, -0.040496826171875, -0.00936126708984375, -0.018341064453125, 0.0217437744140625, 0.02947998046875, -0.020904541015625, 0.0300445556640625, -0.01378631591796875, 0.01279449462890625, 0.0016164779663085938, 0.051513671875, 0.03143310546875, -0.040130615234375, -0.00875091552734375, 0.01326751708984375, -0.01497650146484375, -0.035430908203125, -0.039886474609375, -0.0055999755859375, 0.038787841796875, -0.0311126708984375, -0.014129638671875, 0.053253173828125, 0.0161285400390625, -0.00962066650390625, 0.03271484375, -0.0012674331665039062, -0.031036376953125, -0.049774169921875, 0.0102081298828125, 0.051849365234375, 0.0193023681640625, -0.030609130859375, 0.026947021484375, -0.0301361083984375, 0.036407470703125, 0.01904296875, -0.0014352798461914062, 0.01934814453125, 0.0027141571044921875, 0.019134521484375, -0.0302734375, -0.044830322265625, 0.072265625, 0.0290985107421875, -0.029144287109375, -0.032012939453125, 0.0256500244140625, -0.041717529296875, 0.016693115234375, -0.0126800537109375, -0.003810882568359375, 0.0267486572265625, 0.001178741455078125, 0.05914306640625, 0.04595947265625, -0.0218505859375, 0.016143798828125, -0.05291748046875, 0.005828857421875, -0.0079803466796875, -0.05419921875, -0.034912109375, -0.0231475830078125, -0.0011053085327148438, 0.0061798095703125, -0.0142669677734375, -0.00010633468627929688, -0.023712158203125, 0.02691650390625, 0.0161590576171875, -0.0012426376342773438, 0.00807952880859375, 0.049713134765625, -0.01479339599609375, 0.049957275390625, 0.0185699462890625, 0.012451171875, -0.0232696533203125, -0.0335693359375, 0.01311492919921875, -0.01137542724609375, -0.00830841064453125, -0.026641845703125, 0.04595947265625, -0.019683837890625, -0.0089569091796875, -0.002803802490234375, 0.01206207275390625, -0.01561737060546875, -0.0016031265258789062, 0.007625579833984375, 0.0221710205078125, 0.0295867919921875, -0.006641387939453125, 0.0628662109375, -0.004070281982421875, -0.004558563232421875, -0.0019159317016601562, 0.022979736328125, -0.03173828125, 0.018402099609375, -0.033203125, -0.006778717041015625, -0.02960205078125, 0.026123046875, 0.0208587646484375, 0.00843048095703125, 0.029754638671875, -0.0208892822265625, 0.00974273681640625, 0.011444091796875, -0.0206298828125, -0.0584716796875, -0.015594482421875, 0.04693603515625, 0.01207733154296875, 0.01453399658203125, 0.08648681640625, -0.00493621826171875, -0.0501708984375, 0.00788116455078125, -0.0095977783203125, -0.0033626556396484375, -0.03338623046875, 0.005596160888671875, -0.00730133056640625, -0.057952880859375, -0.01873779296875, -0.011016845703125, -0.04345703125, 0.028656005859375, -0.0018310546875, -0.019134521484375, -0.0011243820190429688, -0.005199432373046875, 0.003627777099609375, -0.0248260498046875, 0.05706787109375, 0.019866943359375, -0.048675537109375, 0.022735595703125, 0.040130615234375, -0.01342010498046875, 0.007091522216796875, 0.0196685791015625, -0.01386260986328125, -0.01422119140625, -0.0323486328125, 0.0116424560546875, -0.0080718994140625, -0.00799560546875, -0.00807952880859375, -0.0014553070068359375, 0.03326416015625, 0.04150390625, -0.006908416748046875, -0.0255279541015625, 0.016357421875, -0.0244293212890625, -0.07269287109375, 0.006008148193359375, 0.021636962890625, -0.004489898681640625, -0.03936767578125, 0.0232391357421875, -0.0736083984375, 0.00867462158203125, -0.0199737548828125, -0.03338623046875, 0.09368896484375, -0.0174407958984375, -0.0294189453125, -0.0007491111755371094, 0.0333251953125, 0.0106964111328125, -0.022735595703125, 0.0298919677734375, -0.04058837890625, -0.03240966796875, -0.0031719207763671875, -0.03900146484375, -0.019317626953125, -0.0281829833984375, -0.0791015625, 0.08233642578125, 0.00618743896484375, 0.0283050537109375, -0.005222320556640625, 0.0301666259765625, -0.02252197265625, 0.01358795166015625, -0.06292724609375, 0.044219970703125, -0.003726959228515625, 0.0494384765625, -0.03533935546875, 0.020263671875, 0.014862060546875, -0.0033054351806640625, 0.03985595703125, -0.003032684326171875, 0.043182373046875, -0.002521514892578125, 0.037384033203125, 0.0307769775390625, -0.0208740234375, -0.0078887939453125, -0.004619598388671875, -0.01177215576171875, 0.0203399658203125, -0.01568603515625, 0.034576416015625, -0.036468505859375, -0.00992584228515625, 0.01751708984375, 0.0214691162109375, 0.0227813720703125, -0.01448822021484375, 0.0224609375, -0.004241943359375, -0.0069580078125, 0.015869140625, -0.0484619140625, 0.0117034912109375, 0.013458251953125, 0.0374755859375, -0.10467529296875, -0.071533203125, -0.01690673828125, 0.024566650390625, 0.01210784912109375, 0.0269927978515625, -0.00016045570373535156, 0.003734588623046875, 0.069091796875, -0.0235137939453125, -0.0108489990234375, 0.00695037841796875, -0.0002963542938232422, 0.062347412109375, 0.04931640625, 0.01776123046875, -0.0290374755859375, -0.0225372314453125, 0.051300048828125, 0.08489990234375, -0.0400390625, -0.0301513671875, 0.00891876220703125, 0.01212310791015625, -0.015777587890625, 0.0020008087158203125, 0.001544952392578125, 0.068115234375, 0.09454345703125, -0.036956787109375, 0.0137176513671875, 0.0416259765625, 0.0209808349609375, 0.01044464111328125, 0.01297760009765625, -0.057586669921875, 0.0043182373046875, -0.052734375, 0.005523681640625, 0.0267486572265625, 0.05023193359375, 0.021514892578125, -0.006687164306640625, 0.042205810546875, -0.015716552734375, -0.0120697021484375, 0.05224609375, -0.019012451171875, 0.0154571533203125, -0.0606689453125, -0.0845947265625, 0.037384033203125, 0.03955078125, 0.019256591796875, 0.01457977294921875, 0.02484130859375, 0.040008544921875, 0.0177459716796875, -0.00853729248046875, 0.039306640625, -0.0049285888671875, -0.0292205810546875, -0.03839111328125, 0.00299835205078125, 0.033447265625, 0.0235443115234375, 0.02496337890625, 0.03997802734375, 0.01021575927734375, -0.0269622802734375, 0.039825439453125, 0.004108428955078125, -0.00972747802734375, 0.033843994140625, 0.0081634521484375, 0.03118896484375, 0.0266571044921875, -0.05413818359375, -0.004695892333984375, -0.01210784912109375, -0.042236328125, -0.0093994140625, 0.040679931640625, -0.0058746337890625, 0.0178375244140625, 0.03167724609375, 0.005706787109375, 0.01812744140625, -0.01303863525390625, 0.005832672119140625, 0.036102294921875, 0.0265350341796875, 0.040435791015625, -0.022247314453125, 0.00853729248046875, 0.036468505859375, -0.0135040283203125, -0.02886962890625, 0.06353759765625, -0.006305694580078125, -0.0300140380859375, -0.0017900466918945312, 0.0399169921875, -0.052734375, -0.02215576171875, 0.055389404296875, -0.027008056640625, -0.004451751708984375, -0.0029277801513671875, -0.053497314453125, 0.0171356201171875, 0.024139404296875, -0.00238800048828125, 0.024200439453125, -0.01348114013671875, 0.0209197998046875, -0.0010213851928710938, 0.01934814453125, -0.0126800537109375, -0.05767822265625, -0.0211944580078125, 0.046051025390625, 0.0029163360595703125, 0.09228515625, 0.016693115234375, 0.0204010009765625, -0.0193328857421875, -0.0173797607421875, 0.01153564453125, -0.0257415771484375, -0.01497650146484375, 0.01910400390625, -0.0016307830810546875, -0.0217132568359375, -0.0202789306640625, -0.0217132568359375, -0.007015228271484375, 0.0071868896484375, 0.005706787109375, -0.00519561767578125, 0.019866943359375, 0.0029735565185546875, 0.036651611328125, 0.00749969482421875, -0.0253448486328125, 0.019439697265625, 0.024017333984375, -0.01242828369140625, 0.036834716796875, -0.00803375244140625, -0.0197296142578125, -0.0103607177734375, -0.01309967041015625, 0.004291534423828125, -0.003414154052734375, -0.039459228515625, -0.0308990478515625, 0.01312255859375, 0.037628173828125, -0.013458251953125, 0.0016717910766601562, -0.0029087066650390625, -0.0455322265625, 0.03497314453125, 0.00000852346420288086, -0.005992889404296875, 0.00861358642578125, 0.004001617431640625, -0.0273590087890625, 0.0222625732421875, -0.01229095458984375, -0.02545166015625, 0.0286407470703125, 0.0380859375, 0.021331787109375, -0.04345703125, -0.03289794921875, 0.0106964111328125, 0.044647216796875, 0.037506103515625, 0.06475830078125, -0.0240936279296875, -0.022430419921875, -0.00896453857421875, -0.010498046875, -0.0307464599609375, 0.034881591796875, -0.0966796875, -0.047515869140625, -0.041656494140625, 0.0164794921875, 0.0192413330078125, -0.05328369140625, -0.11773681640625, 0.062744140625, -0.035919189453125, -0.032684326171875, -0.006145477294921875, 0.023284912109375, -0.029754638671875, -0.01073455810546875, 0.0011568069458007812, 0.0051727294921875, 0.0411376953125, 0.035369873046875, -0.006206512451171875, 0.0192413330078125, -0.0006122589111328125, -0.0173187255859375, -0.0738525390625, -0.022491455078125, -0.034210205078125, 0.0017099380493164062, 0.023773193359375, -0.00946807861328125, 0.0244598388671875, 0.050079345703125, -0.035003662109375, -0.055023193359375, -0.031219482421875, -0.040313720703125, 0.01496124267578125, -0.042755126953125, 0.0111236572265625, -0.0257110595703125, 0.041107177734375, -0.0080413818359375, -0.0009546279907226562, -0.001628875732421875, -0.033782958984375, -0.03369140625, -0.056915283203125, 0.019287109375, 0.0377197265625, -0.062286376953125, 0.038299560546875, 0.01444244384765625, -0.0009918212890625, -0.041473388671875, 0.038299560546875, -0.05169677734375, -0.0202789306640625, -0.0187835693359375, -0.006305694580078125, -0.07342529296875, -0.00933074951171875, 0.03533935546875, -0.0309600830078125, -0.011444091796875, -0.01352691650390625, 0.01523590087890625, 0.007457733154296875, -0.0108489990234375, 0.0137786865234375, -0.0030269622802734375, -0.01256561279296875, 0.001415252685546875, 0.0266265869140625, -0.01422882080078125, 0.013153076171875, -0.028900146484375, 0.004619598388671875, 0.00612640380859375, -0.00836181640625, -0.0236968994140625, -0.01358795166015625, 0.007659912109375, -0.0318603515625, 0.0797119140625, -0.00145721435546875, 0.0906982421875, -0.008026123046875, 0.056549072265625, -0.0189666748046875, -0.0257415771484375, 0.0067291259765625, -0.020904541015625, -0.00862884521484375, -0.00927734375, -0.0013275146484375, -0.08001708984375, 0.06365966796875, -0.0012941360473632812, 0.01134490966796875, 0.04864501953125 ]
62748d6d559d3732b4a436590411ff562eb75827
Wordpress Stackexchange Q: Filter Widget Title Wrap This code i wrote works but it doesn't remove the h4 add_filter( 'widget_title','modify_text_widget_title_tags', 10, 3 ); function modify_text_widget_title_tags( $title, $instance, $id_base ) { if ( 'text' == $id_base ) return '<h2 class="widget-title widgettitle">' . $title . '</h2>'; } It does output h2 but i need to filter the h4 tags and replace them with h2. I looked in class-wp-widget-text.php but there is no filter for the widget title wrapping tags or any div class which wraps the widget title. A: The filter to do this is dynamic_sidebar_params also see this tutorial on this filter at ACF's site (even if you don't use ACF). function prefix_filter_widget_title_tag( $params ) { $params[0]['before_title'] = '<h2 class="widget-title widgettitle">' ; $params[0]['after_title'] = '</h2>' ; return $params; } add_filter( 'dynamic_sidebar_params' , 'prefix_filter_widget_title_tag' );
Q: Filter Widget Title Wrap This code i wrote works but it doesn't remove the h4 add_filter( 'widget_title','modify_text_widget_title_tags', 10, 3 ); function modify_text_widget_title_tags( $title, $instance, $id_base ) { if ( 'text' == $id_base ) return '<h2 class="widget-title widgettitle">' . $title . '</h2>'; } It does output h2 but i need to filter the h4 tags and replace them with h2. I looked in class-wp-widget-text.php but there is no filter for the widget title wrapping tags or any div class which wraps the widget title. A: The filter to do this is dynamic_sidebar_params also see this tutorial on this filter at ACF's site (even if you don't use ACF). function prefix_filter_widget_title_tag( $params ) { $params[0]['before_title'] = '<h2 class="widget-title widgettitle">' ; $params[0]['after_title'] = '</h2>' ; return $params; } add_filter( 'dynamic_sidebar_params' , 'prefix_filter_widget_title_tag' );
wordpress
{ "language": "en", "length": 131, "provenance": "stackexchange_00019.jsonl.gz:475263", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263634" }
[ 0.02197265625, -0.006717681884765625, 0.0079803466796875, -0.0271453857421875, 0.007617950439453125, -0.01507568359375, 0.036895751953125, -0.0247344970703125, -0.0290374755859375, 0.04052734375, 0.032318115234375, -0.00949859619140625, -0.0274505615234375, -0.038238525390625, -0.0197906494140625, -0.027740478515625, 0.00336456298828125, 0.0198516845703125, 0.005359649658203125, -0.0130157470703125, -0.01479339599609375, -0.0167999267578125, -0.000009059906005859375, 0.0196990966796875, -0.0106201171875, -0.0419921875, 0.1070556640625, -0.028961181640625, 0.01549530029296875, -0.023406982421875, 0.019012451171875, -0.01241302490234375, 0.04205322265625, 0.005115509033203125, -0.037872314453125, 0.0137786865234375, -0.014739990234375, -0.0010395050048828125, -0.01513671875, 0.006092071533203125, 0.0308837890625, -0.0029430389404296875, -0.007965087890625, 0.033538818359375, -0.035247802734375, -0.0220489501953125, 0.0357666015625, 0.0027637481689453125, 0.05120849609375, -0.0146026611328125, 0.005382537841796875, -0.005168914794921875, 0.0178680419921875, -0.035675048828125, -0.018218994140625, 0.035400390625, 0.01068878173828125, -0.0124359130859375, 0.01546478271484375, 0.0095062255859375, -0.0026340484619140625, 0.00977325439453125, 0.00609588623046875, -0.0227813720703125, -0.0258941650390625, -0.03753662109375, 0.056365966796875, -0.014404296875, -0.0085906982421875, 0.00826263427734375, 0.07244873046875, 0.012603759765625, -0.0193023681640625, -0.01532745361328125, -0.01800537109375, 0.00632476806640625, -0.039581298828125, -0.054473876953125, 0.032623291015625, -0.005252838134765625, 0.0298309326171875, -0.01224517822265625, 0.0003376007080078125, 0.0250396728515625, 0.0159149169921875, 0.036834716796875, -0.01428985595703125, -0.0166015625, -0.006786346435546875, 0.0272064208984375, -0.01200103759765625, -0.04864501953125, 0.07281494140625, -0.00757598876953125, -0.01849365234375, -0.0262451171875, -0.0080413818359375, 0.034942626953125, -0.031982421875, 0.040252685546875, 0.00769805908203125, -0.025909423828125, 0.0611572265625, -0.0771484375, 0.018829345703125, 0.0157318115234375, -0.062225341796875, 0.0509033203125, 0.07550048828125, 0.06353759765625, 0.0401611328125, -0.017120361328125, 0.004886627197265625, -0.001071929931640625, -0.046966552734375, 0.0118865966796875, -0.0010480880737304688, -0.0231781005859375, 0.0020656585693359375, 0.0172271728515625, 0.009552001953125, 0.0158538818359375, 0.0288543701171875, -0.01309967041015625, 0.041778564453125, 0.039581298828125, -0.0243377685546875, -0.04150390625, -0.003711700439453125, -0.03497314453125, 0.0098876953125, 0.00975799560546875, 0.0236663818359375, 0.053619384765625, 0.0190887451171875, 0.01280975341796875, 0.042938232421875, -0.00162506103515625, -0.0132904052734375, 0.007625579833984375, 0.0240325927734375, -0.016998291015625, -0.0205078125, -0.00907135009765625, 0.042205810546875, 0.028900146484375, 0.01529693603515625, -0.00848388671875, 0.0015840530395507812, -0.043060302734375, 0.04193115234375, -0.045257568359375, 0.06207275390625, -0.0016450881958007812, -0.06683349609375, -0.0247802734375, 0.0362548828125, -0.0440673828125, -0.0460205078125, -0.0771484375, 0.0192108154296875, -0.0257415771484375, -0.037078857421875, 0.0096588134765625, 0.0013561248779296875, 0.0234375, 0.0262908935546875, 0.01543426513671875, 0.01099395751953125, 0.0218505859375, -0.020294189453125, -0.04571533203125, -0.01287841796875, 0.019989013671875, -0.010589599609375, 0.06768798828125, -0.005619049072265625, 0.0202484130859375, 0.0216827392578125, -0.0112152099609375, -0.0318603515625, -0.039398193359375, 0.05548095703125, -0.0081634521484375, -0.0662841796875, -0.0053558349609375, 0.016693115234375, 0.056976318359375, 0.02423095703125, 0.0214385986328125, 0.03399658203125, -0.02142333984375, -0.058929443359375, 0.0063934326171875, -0.0006422996520996094, -0.005634307861328125, 0.0016307830810546875, -0.0149993896484375, -0.0030651092529296875, 0.01678466796875, 0.01678466796875, -0.004413604736328125, 0.01216888427734375, -0.03497314453125, -0.0282745361328125, -0.0290679931640625, -0.0019893646240234375, 0.035064697265625, -0.0196380615234375, 0.0233612060546875, 0.0239105224609375, 0.0005970001220703125, -0.03277587890625, 0.0223846435546875, -0.00518798828125, -0.0241851806640625, 0.018157958984375, 0.055328369140625, 0.00016236305236816406, 0.0279541015625, 0.005207061767578125, -0.018890380859375, 0.0274658203125, 0.03509521484375, 0.08477783203125, -0.035552978515625, 0.03118896484375, -0.0352783203125, 0.0919189453125, 0.01763916015625, -0.06536865234375, 0.0017442703247070312, 0.03997802734375, 0.0276031494140625, -0.056060791015625, -0.015655517578125, -0.05474853515625, -0.041961669921875, -0.004756927490234375, 0.054473876953125, 0.035675048828125, 0.0188751220703125, -0.0115203857421875, 0.00949859619140625, 0.030426025390625, -0.07403564453125, -0.004856109619140625, -0.0072479248046875, -0.0023670196533203125, 0.0261077880859375, -0.006076812744140625, -0.0012254714965820312, 0.01045989990234375, -0.0234222412109375, 0.0100555419921875, 0.0208740234375, 0.023223876953125, -0.0005512237548828125, -0.01351165771484375, -0.00872039794921875, 0.00879669189453125, -0.061981201171875, -0.058349609375, -0.0109405517578125, 0.0445556640625, 0.007396697998046875, 0.0513916015625, 0.047454833984375, -0.0135040283203125, -0.004650115966796875, 0.00934600830078125, 0.032196044921875, 0.004131317138671875, -0.00586700439453125, 0.0260009765625, -0.012908935546875, -0.0308685302734375, 0.007175445556640625, 0.0216827392578125, -0.0222015380859375, 0.01183319091796875, 0.054229736328125, -0.0022144317626953125, -0.018768310546875, -0.0107269287109375, -0.0307159423828125, -0.0016460418701171875, 0.002269744873046875, 0.0187835693359375, 0.0041351318359375, -0.0037250518798828125, 0.0272369384765625, 0.005382537841796875, 0.0229034423828125, 0.051849365234375, -0.01265716552734375, -0.00501251220703125, -0.038238525390625, 0.038726806640625, -0.034332275390625, 0.032867431640625, 0.0567626953125, -0.0012416839599609375, -0.0050506591796875, -0.00902557373046875, 0.037933349609375, -0.0103302001953125, -0.00970458984375, -0.01174163818359375, 0.024261474609375, -0.05035400390625, 0.01043701171875, 0.0023059844970703125, 0.0836181640625, -0.01354217529296875, -0.044189453125, 0.0177459716796875, 0.0289154052734375, 0.00222015380859375, -0.01088714599609375, 0.032501220703125, 0.0013484954833984375, -0.051361083984375, 0.04998779296875, -0.016021728515625, 0.002040863037109375, 0.042816162109375, -0.034637451171875, -0.026885986328125, -0.016265869140625, -0.04620361328125, -0.01904296875, -0.039276123046875, 0.044219970703125, -0.0218658447265625, 0.00426483154296875, 0.006317138671875, 0.0230560302734375, 0.007640838623046875, -0.018951416015625, 0.045623779296875, 0.006755828857421875, 0.005550384521484375, 0.03179931640625, 0.0013027191162109375, -0.031524658203125, 0.022247314453125, -0.01151275634765625, -0.0079803466796875, 0.025238037109375, -0.0160369873046875, 0.0013408660888671875, 0.016571044921875, 0.00888824462890625, 0.0225067138671875, 0.0330810546875, 0.004852294921875, 0.0110626220703125, 0.0287933349609375, -0.03582763671875, -0.0308837890625, 0.0018587112426757812, -0.0196685791015625, 0.028350830078125, 0.006298065185546875, -0.00528717041015625, -0.00479888916015625, 0.045684814453125, -0.0020351409912109375, 0.0027332305908203125, 0.0218658447265625, -0.044769287109375, 0.0212554931640625, 0.00604248046875, 0.0192718505859375, -0.01335906982421875, -0.00200653076171875, -0.0214385986328125, 0.07330322265625, 0.01384735107421875, 0.0108795166015625, 0.00952911376953125, 0.019744873046875, 0.011016845703125, -0.026275634765625, 0.04052734375, -0.031829833984375, -0.0140533447265625, -0.0008873939514160156, -0.019317626953125, 0.0191650390625, 0.053985595703125, -0.0733642578125, -0.02374267578125, 0.0217742919921875, 0.0274658203125, -0.01316070556640625, -0.04510498046875, -0.022003173828125, -0.0261383056640625, -0.1435546875, 0.033416748046875, -0.01395416259765625, -0.0081024169921875, -0.02923583984375, 0.032012939453125, -0.06817626953125, -0.05389404296875, 0.036834716796875, -0.035736083984375, -0.000011861324310302734, 0.006404876708984375, -0.045684814453125, 0.01555633544921875, -0.0307769775390625, -0.0241546630859375, -0.058837890625, 0.0011463165283203125, -0.01934814453125, 0.0215606689453125, -0.01251220703125, 0.03399658203125, -0.0279541015625, 0.03070068359375, 0.009185791015625, -0.017608642578125, 0.01788330078125, -0.0020046234130859375, 0.0255126953125, 0.01503753662109375, -0.0046539306640625, -0.0143585205078125, -0.00994873046875, 0.00479888916015625, -0.05194091796875, 0.040740966796875, 0.0029144287109375, 0.034637451171875, 0.030914306640625, -0.04022216796875, -0.0782470703125, -0.0499267578125, -0.0186920166015625, -0.0196533203125, -0.022308349609375, 0.005218505859375, -0.04339599609375, -0.047271728515625, 0.0345458984375, -0.0011415481567382812, -0.00531768798828125, 0.006320953369140625, 0.0498046875, 0.00659942626953125, -0.0357666015625, 0.004467010498046875, -0.00774383544921875, 0.02520751953125, -0.022369384765625, 0.01641845703125, 0.0149078369140625, -0.03704833984375, 0.052734375, -0.01500701904296875, -0.00022459030151367188, 0.0185546875, 0.06890869140625, 0.0092926025390625, -0.0084228515625, 0.00844573974609375, 0.015655517578125, -0.031494140625, 0.0335693359375, 0.00514984130859375, -0.0024089813232421875, 0.0242156982421875, 0.0258026123046875, 0.0007467269897460938, -0.03155517578125, -0.0212249755859375, -0.0225830078125, 0.021087646484375, -0.003063201904296875, -0.034393310546875, -0.033111572265625, 0.0357666015625, -0.082275390625, -0.0423583984375, 0.0133514404296875, -0.024078369140625, -0.055023193359375, -0.03204345703125, 0.03692626953125, -0.0321044921875, -0.0008816719055175781, 0.040130615234375, 0.0109100341796875, 0.01494598388671875, 0.0150146484375, 0.0035076141357421875, -0.0369873046875, 0.0014743804931640625, -0.0162506103515625, -0.01374053955078125, 0.040740966796875, 0.0156097412109375, 0.0140228271484375, -0.01100921630859375, -0.0087432861328125, 0.022003173828125, 0.01508331298828125, -0.026031494140625, 0.0132904052734375, -0.0018205642700195312, 0.0025882720947265625, 0.02288818359375, 0.041015625, 0.0239715576171875, 0.027679443359375, -0.03985595703125, 0.0338134765625, 0.0166015625, 0.005733489990234375, 0.0023899078369140625, 0.017608642578125, 0.011993408203125, -0.0155792236328125, 0.0289764404296875, -0.0283050537109375, -0.018768310546875, 0.035491943359375, 0.0243072509765625, 0.004123687744140625, -0.005405426025390625, -0.0018968582153320312, -0.00061798095703125, -0.0389404296875, 0.0426025390625, 0.00699615478515625, -0.039886474609375, -0.039886474609375, -0.0218353271484375, 0.0262908935546875, 0.014373779296875, -0.007602691650390625, -0.004787445068359375, -0.0360107421875, 0.0032787322998046875, 0.0022296905517578125, -0.007335662841796875, 0.00463104248046875, 0.005367279052734375, -0.0102691650390625, -0.005828857421875, -0.034942626953125, -0.06402587890625, -0.06170654296875, 0.0322265625, 0.0207977294921875, 0.0022983551025390625, -0.0404052734375, 0.053741455078125, -0.02032470703125, -0.00908660888671875, 0.01456451416015625, 0.01413726806640625, 0.02923583984375, 0.037322998046875, -0.04705810546875, -0.0005025863647460938, -0.033355712890625, -0.0079345703125, -0.06439208984375, -0.0467529296875, -0.034698486328125, 0.0014238357543945312, 0.002628326416015625, 0.032867431640625, 0.001102447509765625, -0.012298583984375, -0.0144500732421875, -0.0242462158203125, 0.0132293701171875, 0.0187835693359375, -0.029388427734375, 0.042327880859375, 0.0289764404296875, 0.033172607421875, 0.0059051513671875, 0.011962890625, 0.00685882568359375, -0.024261474609375, 0.0239715576171875, -0.035064697265625, -0.029022216796875, -0.013763427734375, -0.03033447265625, -0.0201568603515625, 0.0265655517578125, -0.015869140625, 0.0379638671875, -0.0273284912109375, -0.00496673583984375, -0.00774383544921875, -0.01448822021484375, -0.045166015625, -0.0279541015625, 0.03546142578125, -0.0247650146484375, -0.01050567626953125, -0.0257110595703125, 0.0208892822265625, 0.0018329620361328125, -0.036041259765625, -0.006011962890625, 0.02947998046875, -0.0628662109375, 0.057403564453125, 0.0433349609375, -0.004673004150390625, 0.02508544921875, -0.0162200927734375, 0.01480865478515625, 0.03472900390625, -0.017425537109375, -0.0311279296875, 0.001926422119140625, 0.04290771484375, 0.00363922119140625, -0.01605224609375, 0.052520751953125, -0.0235443115234375, 0.0120086669921875, -0.019561767578125, 0.00629425048828125, 0.0011205673217773438, -0.0035247802734375, -0.0154876708984375, -0.022125244140625, 0.043121337890625, 0.007572174072265625, -0.017913818359375, -0.0382080078125, -0.0019025802612304688, 0.031219482421875, -0.01519775390625, 0.005687713623046875, 0.042144775390625, 0.00823974609375, -0.051605224609375, 0.04736328125, 0.0042266845703125, -0.0176239013671875, -0.0171661376953125, 0.004180908203125, -0.00047588348388671875, -0.0206451416015625, -0.032867431640625, 0.0657958984375, -0.062744140625, -0.12469482421875, -0.0298614501953125, -0.01074981689453125, -0.0478515625, 0.0020961761474609375, 0.005615234375, 0.053985595703125, 0.0208740234375, 0.00605010986328125, 0.0021495819091796875, -0.01255035400390625, -0.044219970703125, 0.0056304931640625, -0.0250701904296875, -0.005596160888671875, -0.004985809326171875, -0.02520751953125, 0.017120361328125, -0.025482177734375, -0.0301361083984375, -0.021697998046875, -0.0286712646484375, 0.054840087890625, 0.0236358642578125, -0.054412841796875, -0.00839996337890625, 0.0260772705078125, 0.016204833984375, -0.012603759765625, 0.04205322265625, -0.08758544921875, -0.059051513671875, 0.0182037353515625, -0.0625, -0.0193328857421875, -0.01953125, -0.06524658203125, 0.09930419921875, 0.043853759765625, 0.0250244140625, -0.0052337646484375, 0.04364013671875, -0.05169677734375, 0.00675201416015625, -0.0281982421875, 0.01776123046875, -0.01422119140625, 0.0239105224609375, -0.0004200935363769531, 0.0241546630859375, 0.026214599609375, 0.00664520263671875, -0.01291656494140625, -0.0064697265625, 0.0015316009521484375, -0.027984619140625, -0.0152587890625, 0.0675048828125, 0.016510009765625, -0.01227569580078125, 0.01678466796875, 0.0121002197265625, -0.0399169921875, 0.00833892822265625, 0.039642333984375, -0.07757568359375, -0.031280517578125, 0.05950927734375, 0.0313720703125, 0.03643798828125, -0.0207977294921875, 0.040069580078125, 0.01922607421875, -0.028228759765625, 0.0160369873046875, -0.0283966064453125, -0.048858642578125, 0.060272216796875, -0.0026950836181640625, -0.0200042724609375, -0.0263824462890625, -0.038055419921875, 0.035614013671875, 0.01418304443359375, 0.018524169921875, 0.040435791015625, 0.0283355712890625, 0.0004146099090576172, 0.0162811279296875, 0.02362060546875, 0.02960205078125, -0.01258087158203125, 0.027252197265625, 0.04461669921875, 0.043426513671875, 0.01393890380859375, 0.007686614990234375, 0.0207061767578125, 0.033447265625, -0.030120849609375, -0.03875732421875, 0.01483154296875, -0.0014591217041015625, 0.0018243789672851562, 0.00675201416015625, 0.00354766845703125, -0.05859375, -0.0120391845703125, -0.035980224609375, 0.0037975311279296875, 0.042572021484375, 0.0278167724609375, -0.0042877197265625, -0.012237548828125, -0.02618408203125, -0.006710052490234375, -0.0699462890625, -0.012237548828125, 0.0156402587890625, 0.09698486328125, 0.07177734375, 0.0152740478515625, -0.003787994384765625, -0.0576171875, 0.01180267333984375, -0.005126953125, -0.0267333984375, -0.0038738250732421875, -0.02923583984375, -0.0296173095703125, -0.00588226318359375, 0.021942138671875, 0.034027099609375, 0.0137939453125, 0.020660400390625, 0.025482177734375, 0.02313232421875, 0.017333984375, 0.008087158203125, 0.002590179443359375, 0.0207977294921875, -0.042816162109375, 0.05181884765625, 0.0064239501953125, 0.005687713623046875, -0.0156707763671875, 0.035614013671875, 0.0034046173095703125, 0.007549285888671875, -0.0215301513671875, 0.0152587890625, -0.0289764404296875, 0.0287933349609375, -0.0016069412231445312, 0.006389617919921875, -0.004459381103515625, -0.07647705078125, -0.004108428955078125, -0.00775146484375, -0.09307861328125, 0.0239715576171875, 0.046661376953125, -0.046630859375, 0.0082855224609375, -0.016387939453125, 0.007633209228515625, -0.007122039794921875, -0.0116729736328125, 0.0112152099609375, 0.03411865234375, 0.0159759521484375, 0.032440185546875, -0.01459503173828125, -0.0105133056640625, 0.01401519775390625, 0.0313720703125, 0.0239105224609375, 0.035125732421875, 0.0023345947265625, 0.031158447265625, -0.009307861328125, -0.00003337860107421875, -0.00820159912109375, -0.017486572265625, 0.033782958984375, 0.0128326416015625, -0.006481170654296875, -0.02679443359375, -0.0207366943359375, -0.0110321044921875, 0.07025146484375, -0.0109100341796875, 0.004528045654296875, -0.0262603759765625, 0.0242919921875, -0.04168701171875, 0.0181732177734375, -0.0164642333984375, -0.00914764404296875, -0.0198516845703125, -0.021636962890625, 0.04498291015625, 0.017303466796875, -0.00865936279296875, 0.01702880859375, 0.038299560546875, 0.0379638671875, 0.0364990234375, 0.01326751708984375, 0.07379150390625, 0.03753662109375, -0.0965576171875, -0.01265716552734375, 0.0130157470703125, -0.0162353515625, 0.0243072509765625, 0.00791168212890625, 0.0399169921875, 0.0018911361694335938, -0.0240020751953125, -0.0271453857421875, -0.005992889404296875, 0.0226287841796875, -0.035400390625, 0.0273284912109375, -0.00690460205078125, 0.00441741943359375, 0.0016460418701171875, 0.00890350341796875, -0.036407470703125, -0.06231689453125, -0.0268402099609375, 0.024017333984375, -0.0693359375, -0.056182861328125, -0.117919921875, -0.0170135498046875, 0.0014667510986328125, 0.007595062255859375, -0.023284912109375, 0.0210418701171875, -0.01456451416015625, -0.0190582275390625, 0.00363922119140625, 0.0132598876953125, -0.00258636474609375, -0.004436492919921875, -0.08404541015625, -0.035797119140625, -0.05908203125, 0.0052490234375, -0.05499267578125, -0.004390716552734375, 0.0230865478515625, -0.0187225341796875, -0.00800323486328125, -0.0142364501953125, 0.006816864013671875, 0.030303955078125, -0.022216796875, -0.00568389892578125, 0.0155487060546875, -0.00006097555160522461, -0.034393310546875, -0.07635498046875, 0.003498077392578125, -0.036407470703125, -0.022857666015625, 0.022308349609375, -0.055633544921875, -0.06402587890625, -0.053466796875, -0.054656982421875, 0.0452880859375, 0.01538848876953125, -0.0285797119140625, -0.032989501953125, 0.01125335693359375, -0.027984619140625, 0.01270294189453125, 0.00897216796875, -0.046356201171875, 0.005725860595703125, 0.0462646484375, 0.01219940185546875, 0.038848876953125, 0.0273590087890625, 0.0114288330078125, -0.018768310546875, -0.007534027099609375, -0.0150604248046875, 0.0235443115234375, -0.0007910728454589844, -0.046295166015625, 0.033050537109375, 0.0122833251953125, -0.04827880859375, -0.008819580078125, 0.01523590087890625, 0.00815582275390625, 0.01189422607421875, -0.04443359375, -0.03155517578125, -0.03228759765625, 0.050018310546875, 0.02044677734375, 0.00916290283203125, 0.0001684427261352539, 0.0034046173095703125, 0.0189361572265625, -0.044403076171875, 0.03759765625, 0.0244598388671875, -0.01224517822265625, 0.01441192626953125, 0.002208709716796875, 0.007343292236328125, 0.01947021484375, -0.043548583984375, -0.0187225341796875, -0.004241943359375, 0.016845703125, 0.039794921875, -0.051513671875, 0.0090484619140625, 0.0721435546875, -0.0511474609375, 0.0011510848999023438, -0.0214080810546875, 0.014404296875, 0.03009033203125, -0.051666259765625, -0.05517578125, -0.006252288818359375, 0.00482177734375, -0.0004584789276123047, 0.0030307769775390625, 0.046112060546875, 0.01605224609375, 0.0214385986328125, -0.04718017578125, -0.018218994140625, 0.0150146484375, -0.038818359375, -0.002437591552734375, -0.00048828125, 0.0143280029296875, 0.0772705078125, -0.031646728515625, 0.043975830078125, -0.0131072998046875, 0.036346435546875, 0.0240631103515625, -0.005580902099609375, 0.04461669921875, 0.015777587890625, -0.006011962890625, -0.024688720703125, -0.01241302490234375, -0.07373046875, 0.0163726806640625, -0.032440185546875, 0.0159149169921875, 0.033660888671875 ]
1fe62d9e84a9af7827c5f444266d0f7ff1d9b7ba
Wordpress Stackexchange Q: Retrieve custom fields on Categories, using WP-API I've added a single Advanced Custom Field to the categories taxonomy (that appears to work as expected) and am trying to retrieve it along with the categories using the REST API, via /wp-json/wp/v2/categories. I've managed to customise the posts JSON returned, using the rest_prepare_post filter... function prepare_restful_posts($data, $post, $request) { // Do stuff to $data } add_filter('rest_prepare_post', 'prepare_restful_posts', 10, 3); ...but I can't seem to find any helpful information about how to customise the categories JSON. Can someone possibly shed some light on this? A: Turns out it's the helpfully titled rest_prepare_categoryfilter function prepare_restful_categories($response, $item, $request) { // Do stuff to categories } add_filter('rest_prepare_category', 'prepare_restful_categories', 10, 3);
Q: Retrieve custom fields on Categories, using WP-API I've added a single Advanced Custom Field to the categories taxonomy (that appears to work as expected) and am trying to retrieve it along with the categories using the REST API, via /wp-json/wp/v2/categories. I've managed to customise the posts JSON returned, using the rest_prepare_post filter... function prepare_restful_posts($data, $post, $request) { // Do stuff to $data } add_filter('rest_prepare_post', 'prepare_restful_posts', 10, 3); ...but I can't seem to find any helpful information about how to customise the categories JSON. Can someone possibly shed some light on this? A: Turns out it's the helpfully titled rest_prepare_categoryfilter function prepare_restful_categories($response, $item, $request) { // Do stuff to categories } add_filter('rest_prepare_category', 'prepare_restful_categories', 10, 3);
wordpress
{ "language": "en", "length": 115, "provenance": "stackexchange_00019.jsonl.gz:475275", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263668" }
[ 0.048492431640625, -0.0028095245361328125, -0.0218505859375, -0.0814208984375, 0.0222930908203125, -0.0237884521484375, 0.0036678314208984375, 0.027069091796875, -0.0538330078125, 0.017608642578125, 0.0060882568359375, -0.005603790283203125, -0.0191497802734375, -0.03533935546875, 0.00018656253814697266, -0.0625, 0.025848388671875, 0.018768310546875, 0.049102783203125, 0.0025787353515625, 0.0209503173828125, 0.00902557373046875, 0.031768798828125, 0.04193115234375, 0.0247039794921875, 0.01177215576171875, 0.0215911865234375, -0.02789306640625, 0.031646728515625, -0.005626678466796875, 0.0284881591796875, -0.036346435546875, 0.02154541015625, 0.0204620361328125, -0.0168304443359375, 0.0005474090576171875, 0.0347900390625, -0.01117706298828125, -0.02203369140625, 0.06439208984375, 0.033447265625, -0.03179931640625, 0.029693603515625, 0.006305694580078125, 0.004650115966796875, -0.01531982421875, 0.03338623046875, -0.03619384765625, 0.022369384765625, 0.0005249977111816406, -0.00077056884765625, -0.011962890625, 0.006320953369140625, -0.038238525390625, -0.0236663818359375, -0.0200958251953125, 0.008819580078125, 0.006175994873046875, 0.048095703125, -0.0167388916015625, -0.048492431640625, -0.02178955078125, 0.031280517578125, -0.02099609375, 0.015838623046875, -0.024383544921875, 0.032867431640625, 0.023956298828125, -0.017364501953125, 0.00518798828125, 0.0372314453125, -0.00751495361328125, 0.0112762451171875, 0.02044677734375, -0.025726318359375, -0.052490234375, 0.018402099609375, -0.0233917236328125, 0.017974853515625, 0.0110931396484375, 0.00598907470703125, -0.011871337890625, 0.0265350341796875, -0.01520538330078125, -0.01038360595703125, -0.022735595703125, -0.012542724609375, 0.0002486705780029297, -0.01529693603515625, -0.022705078125, -0.007030487060546875, -0.10833740234375, -0.06280517578125, 0.07281494140625, 0.02783203125, -0.0245819091796875, -0.00543975830078125, -0.0137176513671875, -0.01397705078125, 0.02978515625, 0.033843994140625, -0.048858642578125, 0.077392578125, -0.033050537109375, 0.03131103515625, -0.02825927734375, -0.01493072509765625, -0.018829345703125, 0.06298828125, 0.033447265625, -0.0255126953125, 0.095703125, 0.01326751708984375, 0.008148193359375, -0.044036865234375, -0.0018777847290039062, 0.004795074462890625, -0.03265380859375, -0.01308441162109375, -0.0400390625, 0.0023517608642578125, 0.0107879638671875, 0.023101806640625, -0.0009655952453613281, 0.01605224609375, -0.0007419586181640625, -0.0296630859375, -0.00704193115234375, 0.0242156982421875, 0.0027065277099609375, -0.0303497314453125, 0.0280914306640625, 0.044342041015625, 0.01280975341796875, 0.0037479400634765625, -0.01419830322265625, 0.017547607421875, -0.0050811767578125, 0.015228271484375, 0.0200958251953125, 0.001491546630859375, -0.0114593505859375, 0.022430419921875, -0.004528045654296875, -0.0217132568359375, -0.024688720703125, -0.0003631114959716797, 0.0294189453125, -0.002773284912109375, -0.0088043212890625, 0.0174407958984375, -0.00743865966796875, 0.036834716796875, 0.023590087890625, 0.00647735595703125, 0.0099639892578125, 0.078369140625, -0.037750244140625, -0.043243408203125, -0.054351806640625, 0.034210205078125, -0.020599365234375, -0.01291656494140625, -0.024688720703125, -0.047821044921875, 0.0262451171875, -0.034515380859375, -0.00272369384765625, 0.0247650146484375, 0.00887298583984375, 0.018463134765625, -0.024139404296875, -0.0516357421875, 0.0095062255859375, 0.0247955322265625, 0.022857666015625, 0.005481719970703125, 0.0188446044921875, 0.01422119140625, 0.00766754150390625, -0.0010652542114257812, -0.0374755859375, 0.0186004638671875, -0.00566864013671875, -0.057525634765625, 0.050018310546875, 0.0211639404296875, 0.09814453125, -0.0037994384765625, 0.03082275390625, 0.0032958984375, 0.02520751953125, -0.02459716796875, -0.02911376953125, 0.01300048828125, -0.006175994873046875, 0.0017719268798828125, -0.0130767822265625, 0.003406524658203125, 0.01525115966796875, -0.0225982666015625, 0.011016845703125, 0.002574920654296875, 0.0201263427734375, -0.00005054473876953125, 0.0045318603515625, -0.01015472412109375, 0.0291290283203125, -0.03314208984375, -0.0005826950073242188, 0.032501220703125, -0.0141754150390625, -0.02459716796875, 0.01317596435546875, 0.0060577392578125, 0.0102386474609375, 0.0155792236328125, 0.005039215087890625, -0.01049041748046875, 0.001918792724609375, -0.003864288330078125, -0.019378662109375, -0.03338623046875, 0.0418701171875, 0.0224609375, -0.006656646728515625, -0.000949859619140625, -0.0120849609375, 0.050018310546875, 0.0229034423828125, 0.00263214111328125, -0.01113128662109375, 0.0726318359375, 0.0400390625, -0.01102447509765625, 0.0135498046875, 0.03143310546875, -0.053466796875, -0.01255035400390625, 0.046356201171875, 0.0156707763671875, 0.0026760101318359375, -0.028717041015625, -0.0082855224609375, 0.05889892578125, 0.0076141357421875, 0.0031757354736328125, -0.00756072998046875, 0.042083740234375, 0.0645751953125, 0.006259918212890625, -0.004550933837890625, 0.0186004638671875, -0.049468994140625, 0.02398681640625, 0.03375244140625, -0.0235748291015625, -0.046600341796875, 0.0172882080078125, -0.01470184326171875, 0.024627685546875, -0.01947021484375, -0.0477294921875, 0.004405975341796875, 0.04052734375, 0.027923583984375, 0.04827880859375, 0.040618896484375, -0.036865234375, 0.012359619140625, 0.0095062255859375, 0.02447509765625, -0.00650787353515625, 0.0205841064453125, 0.01448822021484375, 0.00287628173828125, -0.0178070068359375, -0.00914764404296875, 0.005031585693359375, 0.005084991455078125, 0.01241302490234375, 0.06475830078125, -0.0287628173828125, -0.006534576416015625, -0.017852783203125, -0.055267333984375, -0.016082763671875, 0.025054931640625, 0.00850677490234375, 0.0198974609375, 0.026458740234375, 0.045867919921875, 0.00445556640625, 0.017669677734375, -0.02996826171875, 0.00262451171875, 0.00591278076171875, -0.03741455078125, 0.041046142578125, -0.038818359375, -0.00885009765625, 0.0606689453125, -0.005107879638671875, 0.0122528076171875, -0.00027632713317871094, 0.007843017578125, 0.0086517333984375, 0.0304107666015625, 0.009033203125, -0.0504150390625, 0.032806396484375, 0.035430908203125, 0.032684326171875, 0.059356689453125, 0.01181793212890625, -0.055572509765625, 0.01306915283203125, 0.033172607421875, -0.08203125, -0.08660888671875, 0.088623046875, -0.0238494873046875, -0.0069427490234375, -0.01763916015625, -0.022247314453125, -0.0276336669921875, -0.0195770263671875, -0.0215301513671875, 0.046630859375, -0.03369140625, -0.07257080078125, -0.034027099609375, -0.094482421875, -0.0400390625, -0.0100860595703125, -0.0076446533203125, 0.0089874267578125, 0.0858154296875, 0.021026611328125, -0.032012939453125, 0.0098876953125, 0.0007548332214355469, -0.017425537109375, 0.0033664703369140625, 0.00933837890625, -0.00952911376953125, 0.0247344970703125, 0.00742340087890625, 0.04559326171875, 0.035186767578125, -0.03662109375, -0.0230560302734375, -0.03253173828125, 0.03424072265625, -0.0248565673828125, 0.03680419921875, 0.057891845703125, 0.034210205078125, 0.003322601318359375, -0.0175628662109375, 0.00188446044921875, -0.01412200927734375, -0.0083160400390625, 0.01412200927734375, 0.00925445556640625, -0.0273895263671875, -0.040679931640625, 0.048553466796875, -0.01153564453125, -0.024749755859375, -0.0107879638671875, -0.029541015625, 0.036224365234375, -0.003101348876953125, 0.006740570068359375, 0.0078887939453125, 0.0167083740234375, -0.01389312744140625, -0.002063751220703125, 0.0062103271484375, 0.00927734375, -0.01776123046875, 0.0093536376953125, -0.03564453125, -0.07781982421875, 0.057464599609375, -0.031707763671875, -0.0191802978515625, -0.034210205078125, -0.0184326171875, 0.005985260009765625, 0.07666015625, -0.057830810546875, -0.020904541015625, -0.0249786376953125, 0.021026611328125, -0.0260162353515625, -0.044403076171875, -0.0244140625, 0.0032558441162109375, -0.0784912109375, 0.01000213623046875, -0.01165008544921875, -0.042816162109375, -0.0193328857421875, 0.033843994140625, -0.058807373046875, -0.0303955078125, 0.0343017578125, -0.063232421875, 0.01361083984375, -0.0216064453125, 0.006534576416015625, -0.050018310546875, -0.0035343170166015625, -0.0252532958984375, -0.06585693359375, -0.01003265380859375, -0.0167388916015625, 0.0222320556640625, 0.01995849609375, -0.0186004638671875, -0.0025272369384765625, 0.03997802734375, 0.0255584716796875, 0.0002720355987548828, 0.0179290771484375, -0.00936126708984375, 0.005023956298828125, 0.01187896728515625, 0.020751953125, -0.024627685546875, -0.0293426513671875, -0.029998779296875, -0.0083160400390625, 0.014373779296875, -0.00234222412109375, -0.005023956298828125, 0.0061187744140625, -0.01032257080078125, -0.0472412109375, -0.036651611328125, -0.052520751953125, -0.017333984375, -0.04803466796875, 0.0104522705078125, -0.01197052001953125, -0.046112060546875, 0.016693115234375, 0.0233612060546875, 0.0005097389221191406, 0.00449371337890625, 0.0447998046875, 0.0208587646484375, -0.0178985595703125, -0.049041748046875, 0.00966644287109375, 0.033477783203125, -0.0113677978515625, 0.0560302734375, 0.005001068115234375, -0.0308837890625, 0.1224365234375, -0.0105743408203125, -0.00006836652755737305, 0.00799560546875, 0.04205322265625, 0.019927978515625, 0.005035400390625, -0.004486083984375, 0.0230865478515625, -0.0290679931640625, 0.025238037109375, -0.01102447509765625, -0.0006818771362304688, 0.03155517578125, 0.00927734375, -0.044647216796875, 0.005237579345703125, 0.006694793701171875, -0.04364013671875, 0.0269622802734375, -0.01384735107421875, 0.022125244140625, 0.0024433135986328125, -0.002716064453125, 0.027191162109375, -0.0063629150390625, 0.020172119140625, -0.04150390625, -0.01568603515625, -0.037261962890625, 0.03466796875, -0.0526123046875, -0.0009379386901855469, -0.0181732177734375, 0.0018014907836914062, 0.0181732177734375, -0.045318603515625, -0.04986572265625, -0.03466796875, -0.007068634033203125, 0.048858642578125, 0.046722412109375, -0.031494140625, 0.026275634765625, 0.044189453125, -0.0195770263671875, 0.016265869140625, -0.031036376953125, 0.01508331298828125, -0.0263519287109375, 0.047607421875, 0.00943756103515625, -0.0027217864990234375, -0.0167999267578125, 0.07379150390625, 0.0170745849609375, 0.023223876953125, -0.0204925537109375, 0.0401611328125, 0.0185546875, 0.03900146484375, 0.017791748046875, -0.0218963623046875, 0.00789642333984375, -0.002288818359375, -0.0207366943359375, -0.047027587890625, -0.00789642333984375, 0.01226806640625, 0.0266571044921875, -0.039306640625, -0.04400634765625, 0.061309814453125, -0.003757476806640625, -0.0175323486328125, 0.0017805099487304688, -0.0122528076171875, -0.018463134765625, -0.0242767333984375, 0.0087127685546875, 0.0286102294921875, 0.0177001953125, -0.00624847412109375, 0.01393890380859375, -0.004180908203125, 0.0277252197265625, -0.011077880859375, 0.0030040740966796875, -0.0004088878631591797, 0.006473541259765625, -0.042205810546875, -0.0254058837890625, 0.0081329345703125, -0.01149749755859375, -0.0184478759765625, 0.00640106201171875, -0.039337158203125, 0.0037899017333984375, 0.0019683837890625, 0.02410888671875, -0.021209716796875, -0.0114898681640625, -0.0281219482421875, -0.01062774658203125, 0.08245849609375, 0.04803466796875, -0.02606201171875, -0.0133819580078125, -0.0247650146484375, -0.023834228515625, 0.00984954833984375, -0.0010766983032226562, -0.0192413330078125, -0.01074981689453125, 0.019561767578125, 0.0208892822265625, 0.033416748046875, -0.00405120849609375, -0.021087646484375, -0.0118408203125, 0.0081787109375, -0.004993438720703125, -0.00835418701171875, 0.03228759765625, -0.003368377685546875, 0.06817626953125, -0.0015306472778320312, -0.00656890869140625, -0.03533935546875, -0.01425933837890625, -0.0279693603515625, -0.09857177734375, -0.01751708984375, 0.03167724609375, -0.05859375, 0.09442138671875, 0.04632568359375, 0.0205078125, 0.02239990234375, -0.027862548828125, -0.0009450912475585938, -0.0201416015625, 0.02215576171875, -0.045654296875, -0.005840301513671875, 0.043487548828125, 0.01232147216796875, 0.046783447265625, -0.0218353271484375, -0.038238525390625, 0.02783203125, -0.007556915283203125, 0.046112060546875, -0.011260986328125, -0.04095458984375, 0.057891845703125, 0.07904052734375, 0.00417327880859375, 0.036529541015625, 0.0251007080078125, 0.00940704345703125, 0.01568603515625, -0.0011529922485351562, -0.01068115234375, -0.0194854736328125, 0.000942230224609375, -0.012603759765625, 0.0022945404052734375, -0.004657745361328125, -0.002742767333984375, -0.0135040283203125, -0.0045166015625, 0.04815673828125, -0.01617431640625, 0.0117950439453125, 0.01483154296875, -0.0227813720703125, -0.0031890869140625, 0.025390625, -0.0323486328125, -0.026885986328125, -0.0203094482421875, -0.0309600830078125, -0.03277587890625, -0.020782470703125, 0.01418304443359375, -0.022216796875, 0.00835418701171875, 0.0182037353515625, 0.01454925537109375, 0.035125732421875, -0.014892578125, -0.034881591796875, 0.02960205078125, 0.01800537109375, 0.005527496337890625, 0.014923095703125, -0.03314208984375, -0.057891845703125, 0.011505126953125, -0.015228271484375, -0.04034423828125, -0.01195526123046875, -0.0247344970703125, 0.038360595703125, 0.033233642578125, -0.01425933837890625, -0.0018529891967773438, -0.00391387939453125, -0.022491455078125, 0.022491455078125, -0.03717041015625, 0.00310516357421875, 0.023284912109375, -0.03326416015625, 0.01070404052734375, 0.003387451171875, -0.0215301513671875, -0.020843505859375, -0.037261962890625, 0.090087890625, -0.056884765625, 0.0021648406982421875, 0.0113372802734375, 0.047576904296875, 0.005725860595703125, -0.007598876953125, 0.052764892578125, -0.0264739990234375, 0.02337646484375, 0.01534271240234375, 0.0272216796875, -0.0254669189453125, -0.0017862319946289062, -0.04937744140625, 0.04876708984375, 0.02227783203125, 0.0076141357421875, -0.0016021728515625, 0.016937255859375, -0.027008056640625, 0.004364013671875, -0.045440673828125, 0.0533447265625, 0.048004150390625, 0.00434112548828125, -0.04736328125, -0.01236724853515625, -0.01169586181640625, 0.032012939453125, 0.051422119140625, 0.0155029296875, -0.031463623046875, -0.00940704345703125, 0.002994537353515625, 0.016815185546875, -0.02850341796875, 0.04388427734375, 0.028656005859375, 0.01824951171875, 0.032562255859375, -0.01116180419921875, 0.0209808349609375, 0.0026340484619140625, 0.005313873291015625, 0.0498046875, 0.025909423828125, 0.03839111328125, 0.0026683807373046875, 0.0411376953125, -0.030242919921875, -0.0086669921875, 0.041839599609375, -0.04388427734375, 0.0001825094223022461, 0.06829833984375, 0.03997802734375, 0.00618743896484375, 0.01045989990234375, -0.02899169921875, 0.04595947265625, 0.00235748291015625, 0.0703125, 0.046295166015625, 0.031829833984375, 0.06072998046875, 0.006961822509765625, 0.037933349609375, 0.0269775390625, -0.03228759765625, 0.0689697265625, 0.003528594970703125, 0.01457977294921875, -0.037139892578125, 0.007228851318359375, 0.0288543701171875, 0.0638427734375, -0.050323486328125, -0.08026123046875, 0.0121917724609375, 0.0174713134765625, 0.035247802734375, 0.040496826171875, 0.050079345703125, -0.01215362548828125, 0.0501708984375, -0.08648681640625, 0.02728271484375, 0.061004638671875, 0.0276947021484375, -0.0014858245849609375, -0.00630950927734375, -0.068603515625, 0.0010471343994140625, -0.056549072265625, 0.0037364959716796875, 0.017486572265625, 0.06475830078125, 0.03326416015625, 0.0518798828125, -0.006755828857421875, -0.041900634765625, 0.021942138671875, 0.006549835205078125, 0.007785797119140625, -0.024139404296875, 0.0352783203125, -0.0137176513671875, -0.004825592041015625, 0.0017261505126953125, -0.0008573532104492188, 0.0010919570922851562, 0.05078125, 0.053924560546875, -0.026397705078125, -0.0225677490234375, 0.01708984375, -0.00970458984375, -0.0064239501953125, -0.0662841796875, 0.0258331298828125, 0.027923583984375, 0.016815185546875, 0.026336669921875, -0.025299072265625, 0.06219482421875, -0.016632080078125, 0.04705810546875, -0.0015535354614257812, -0.0207061767578125, 0.056549072265625, -0.0136566162109375, 0.08795166015625, 0.0086822509765625, -0.08184814453125, -0.00005429983139038086, -0.0670166015625, -0.066162109375, 0.055023193359375, 0.0462646484375, -0.010009765625, 0.0044403076171875, -0.01058197021484375, -0.02313232421875, 0.0031414031982421875, 0.00882720947265625, 0.00772857666015625, -0.0258941650390625, -0.015869140625, -0.026947021484375, -0.033477783203125, -0.0209197998046875, 0.0018568038940429688, 0.0191650390625, 0.00513458251953125, 0.01375579833984375, 0.0203857421875, 0.0118865966796875, -0.058746337890625, 0.03643798828125, -0.0699462890625, -0.0340576171875, 0.0152587890625, 0.028594970703125, 0.006687164306640625, 0.002216339111328125, 0.010528564453125, 0.006443023681640625, 0.050537109375, -0.04193115234375, 0.00093841552734375, -0.015106201171875, 0.0175933837890625, -0.0255889892578125, -0.030120849609375, -0.042633056640625, -0.01910400390625, -0.04412841796875, -0.04083251953125, 0.0225982666015625, -0.00004565715789794922, 0.016998291015625, -0.0063629150390625, 0.01873779296875, 0.01277923583984375, 0.0182342529296875, 0.02978515625, 0.054901123046875, 0.045806884765625, -0.06103515625, 0.043670654296875, -0.0007467269897460938, -0.033416748046875, 0.0231781005859375, 0.008392333984375, -0.02197265625, 0.00444793701171875, 0.0179901123046875, -0.0226287841796875, 0.0206451416015625, 0.0200347900390625, -0.0148468017578125, 0.00749969482421875, 0.005615234375, -0.0231781005859375, 0.0037822723388671875, -0.0215606689453125, -0.0303955078125, -0.054931640625, 0.004009246826171875, 0.023284912109375, -0.0247955322265625, -0.0204925537109375, -0.04791259765625, -0.0148773193359375, 0.016632080078125, -0.015960693359375, -0.00705718994140625, 0.00801849365234375, -0.0316162109375, 0.02276611328125, -0.02191162109375, -0.031829833984375, 0.024566650390625, 0.0750732421875, -0.0212554931640625, 0.00913238525390625, -0.0228271484375, -0.0496826171875, -0.0157928466796875, 0.0029697418212890625, 0.0200958251953125, -0.0029697418212890625, -0.0243682861328125, 0.00330352783203125, 0.004913330078125, 0.044586181640625, -0.0009946823120117188, -0.011260986328125, 0.00922393798828125, 0.0174407958984375, -0.04840087890625, -0.04327392578125, 0.0445556640625, -0.0400390625, -0.004299163818359375, -0.037750244140625, 0.0281524658203125, 0.0350341796875, -0.0241546630859375, -0.06298828125, 0.038360595703125, -0.029693603515625, -0.01995849609375, -0.07391357421875, 0.00930023193359375, 0.0005450248718261719, 0.0220489501953125, -0.02130126953125, -0.034149169921875, -0.028472900390625, 0.0445556640625, 0.0196990966796875, 0.03216552734375, 0.01427459716796875, 0.0225067138671875, -0.10540771484375, -0.0007481575012207031, -0.0474853515625, 0.038543701171875, -0.0208282470703125, 0.00605010986328125, -0.0049285888671875, 0.018768310546875, -0.057281494140625, -0.01336669921875, -0.017669677734375, 0.053802490234375, -0.00045752525329589844, -0.056243896484375, -0.041290283203125, -0.02740478515625, 0.042816162109375, 0.03924560546875, 0.01541900634765625, -0.0254058837890625, -0.0364990234375, -0.0090484619140625, 0.016998291015625, -0.01416015625, 0.000537872314453125, -0.05816650390625, 0.007259368896484375, -0.0007643699645996094, 0.01461029052734375, 0.017486572265625, -0.056610107421875, 0.00447845458984375, -0.01480865478515625, 0.025054931640625, 0.015289306640625, -0.0136260986328125, 0.034271240234375, -0.0262298583984375, -0.01043701171875, -0.0283203125, -0.00665283203125, -0.00225067138671875, -0.04266357421875, 0.00695037841796875, -0.050018310546875, -0.0438232421875, -0.002170562744140625, 0.0025177001953125, -0.0200653076171875, 0.01172637939453125, 0.0094146728515625, 0.01435089111328125, -0.01058197021484375, 0.019256591796875, -0.0096435546875, 0.007312774658203125, 0.005016326904296875, 0.031951904296875, 0.0131072998046875, 0.033447265625, 0.003204345703125, 0.018707275390625, -0.0263214111328125, 0.038299560546875, 0.0010576248168945312, -0.0121307373046875, 0.016204833984375, -0.000007569789886474609, -0.00484466552734375, 0.01788330078125, -0.0299835205078125, -0.032379150390625, 0.018585205078125, -0.00852203369140625, -0.005634307861328125, 0.012969970703125 ]
13e5fc4f9dfbf0bd0be7d3667b2394af80f17557
Wordpress Stackexchange Q: Attach a Custom Post Type to a Woocommerc product as a variation or add-on I am building a website where the users will post their events. In order to highlight the event or promote it on the homepage they will need to buy a subscription and attach it to the event they've published. Once the subscription will be expired, the event will be not more highlighted. So this subscription should be attached somehow to a Custom Post Type called "event". I am thinking that Woocommerce Subscription plugin is a good thing, but how attach the event to it when user buys the subscription, I can't find a way. Will be happy for any help or advice, thank you!
Q: Attach a Custom Post Type to a Woocommerc product as a variation or add-on I am building a website where the users will post their events. In order to highlight the event or promote it on the homepage they will need to buy a subscription and attach it to the event they've published. Once the subscription will be expired, the event will be not more highlighted. So this subscription should be attached somehow to a Custom Post Type called "event". I am thinking that Woocommerce Subscription plugin is a good thing, but how attach the event to it when user buys the subscription, I can't find a way. Will be happy for any help or advice, thank you!
wordpress
{ "language": "en", "length": 119, "provenance": "stackexchange_00019.jsonl.gz:475313", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263769" }
[ 0.0645751953125, 0.0092010498046875, 0.00510406494140625, -0.063720703125, 0.021942138671875, -0.01342010498046875, 0.0125274658203125, -0.023468017578125, -0.0144500732421875, 0.021575927734375, 0.043365478515625, -0.019866943359375, -0.01145172119140625, -0.051788330078125, 0.0046234130859375, 0.0007953643798828125, 0.039703369140625, 0.0170440673828125, 0.05169677734375, -0.00600433349609375, -0.0021610260009765625, 0.026123046875, 0.03399658203125, 0.035675048828125, 0.0311279296875, 0.025177001953125, 0.1201171875, -0.02655029296875, 0.06976318359375, 0.02978515625, 0.049774169921875, -0.1070556640625, 0.039459228515625, -0.016845703125, 0.0003173351287841797, 0.04583740234375, 0.01039886474609375, -0.0095672607421875, 0.006618499755859375, 0.01495361328125, 0.0219573974609375, -0.015045166015625, 0.021759033203125, 0.00911712646484375, -0.00042629241943359375, -0.0202484130859375, 0.0199432373046875, -0.0367431640625, -0.00501251220703125, 0.0011310577392578125, 0.00870513916015625, 0.0021877288818359375, 0.019073486328125, -0.03607177734375, 0.0001442432403564453, 0.005817413330078125, -0.053131103515625, 0.045928955078125, 0.00858306884765625, 0.0163421630859375, 0.01152801513671875, 0.0262451171875, -0.00665283203125, 0.00911712646484375, 0.0141754150390625, -0.002513885498046875, 0.0399169921875, 0.0053253173828125, -0.044586181640625, 0.0059051513671875, 0.039886474609375, -0.0235595703125, -0.009552001953125, 0.0180206298828125, -0.01219940185546875, -0.051971435546875, 0.034698486328125, -0.04034423828125, -0.0102386474609375, 0.049102783203125, -0.0150909423828125, 0.0263824462890625, 0.026397705078125, -0.046966552734375, -0.0159454345703125, -0.042205810546875, -0.02099609375, 0.012115478515625, 0.01215362548828125, -0.0670166015625, 0.0003197193145751953, -0.002735137939453125, -0.0384521484375, 0.01259613037109375, -0.03619384765625, -0.030548095703125, 0.03131103515625, 0.023284912109375, -0.004703521728515625, -0.0013494491577148438, 0.01311492919921875, -0.0309295654296875, 0.01983642578125, -0.0239715576171875, 0.0084075927734375, 0.0296173095703125, -0.0100555419921875, 0.00803375244140625, 0.05364990234375, 0.0208740234375, -0.0022487640380859375, 0.0386962890625, 0.05010986328125, -0.01702880859375, 0.0039005279541015625, -0.0053253173828125, 0.025054931640625, 0.05279541015625, 0.0156707763671875, 0.032958984375, 0.006511688232421875, 0.0296783447265625, 0.02618408203125, -0.0352783203125, -0.002910614013671875, -0.0117950439453125, -0.01549530029296875, -0.045867919921875, 0.0217742919921875, 0.00839996337890625, -0.0233306884765625, -0.0011234283447265625, 0.0538330078125, 0.045745849609375, 0.0206298828125, 0.0032291412353515625, 0.0167388916015625, 0.01522064208984375, 0.00322723388671875, -0.0004127025604248047, 0.05584716796875, -0.023681640625, -0.04107666015625, 0.041259765625, 0.03857421875, -0.0010833740234375, 0.01137542724609375, 0.034393310546875, 0.0267791748046875, 0.0155029296875, 0.025604248046875, -0.0090179443359375, 0.0150299072265625, 0.005126953125, -0.014892578125, -0.00804901123046875, -0.017822265625, 0.0013761520385742188, 0.0238494873046875, -0.0033092498779296875, -0.0161590576171875, -0.01210784912109375, 0.0077362060546875, -0.035186767578125, -0.046600341796875, 0.016510009765625, -0.0297393798828125, -0.01535797119140625, 0.0180816650390625, 0.00833892822265625, 0.0038127899169921875, 0.008819580078125, -0.0190582275390625, -0.029541015625, -0.01540374755859375, -0.020538330078125, 0.009307861328125, 0.06622314453125, 0.035400390625, -0.0144805908203125, -0.00814056396484375, -0.02349853515625, 0.1328125, -0.0450439453125, -0.0478515625, 0.01517486572265625, 0.00902557373046875, 0.0285186767578125, 0.0136871337890625, 0.0153045654296875, 0.01114654541015625, 0.0199432373046875, -0.0132904052734375, -0.043426513671875, -0.04931640625, 0.0125732421875, 0.01480865478515625, 0.018798828125, -0.01496124267578125, 0.051239013671875, -0.0226593017578125, 0.00493621826171875, -0.00567626953125, -0.00611114501953125, -0.01375579833984375, 0.003978729248046875, -0.00949859619140625, 0.036163330078125, -0.049224853515625, -0.005977630615234375, 0.025726318359375, 0.001712799072265625, -0.0224456787109375, -0.046356201171875, -0.0103759765625, 0.0160064697265625, 0.0221405029296875, 0.0616455078125, -0.00922393798828125, 0.0257110595703125, -0.0224761962890625, -0.04730224609375, -0.029632568359375, 0.0228271484375, 0.033416748046875, -0.01415252685546875, 0.004428863525390625, -0.0183563232421875, 0.026458740234375, 0.03314208984375, -0.04742431640625, -0.01078033447265625, 0.03094482421875, -0.054962158203125, -0.051513671875, 0.023681640625, 0.00962066650390625, -0.039459228515625, -0.034088134765625, 0.0595703125, 0.0109100341796875, 0.033843994140625, 0.00907135009765625, 0.0699462890625, 0.06475830078125, 0.028961181640625, 0.0203857421875, 0.0196075439453125, -0.01486968994140625, 0.036041259765625, -0.016448974609375, 0.03900146484375, -0.00569915771484375, -0.0426025390625, 0.004024505615234375, 0.04425048828125, 0.020233154296875, 0.017852783203125, -0.03363037109375, 0.043975830078125, -0.0158538818359375, 0.03631591796875, -0.00400543212890625, 0.004886627197265625, -0.00482177734375, 0.01416015625, 0.02349853515625, 0.0300445556640625, -0.012786865234375, -0.0150604248046875, 0.01174163818359375, 0.0301055908203125, -0.004405975341796875, 0.02618408203125, 0.05523681640625, 0.00762939453125, -0.0210418701171875, -0.02239990234375, 0.0184173583984375, 0.01232147216796875, 0.0235748291015625, 0.06170654296875, -0.01042938232421875, -0.01251220703125, -0.007221221923828125, -0.0295867919921875, -0.01540374755859375, 0.0215606689453125, -0.043182373046875, -0.06549072265625, 0.00827789306640625, -0.01068115234375, -0.052001953125, 0.0029773712158203125, 0.00530242919921875, -0.05767822265625, -0.0122528076171875, -0.020660400390625, 0.035430908203125, -0.0338134765625, 0.018157958984375, 0.06524658203125, -0.02117919921875, 0.037811279296875, 0.0172882080078125, 0.022705078125, 0.0216827392578125, 0.006732940673828125, -0.00998687744140625, 0.032135009765625, -0.0809326171875, -0.0032138824462890625, 0.0214691162109375, 0.05975341796875, 0.00031447410583496094, -0.033599853515625, 0.013092041015625, 0.03759765625, -0.03009033203125, -0.043243408203125, -0.034027099609375, -0.016998291015625, 0.01334381103515625, -0.01221466064453125, -0.00205230712890625, -0.0054473876953125, -0.006015777587890625, 0.01369476318359375, -0.07977294921875, -0.004108428955078125, 0.01140594482421875, -0.066162109375, -0.007534027099609375, 0.004878997802734375, 0.0008087158203125, 0.0133514404296875, -0.0005121231079101562, 0.028350830078125, 0.00728607177734375, -0.034393310546875, 0.0099945068359375, 0.053985595703125, -0.0096435546875, -0.0021381378173828125, -0.013031005859375, -0.01399993896484375, 0.01097869873046875, 0.006420135498046875, 0.0233612060546875, 0.006488800048828125, -0.0262908935546875, -0.01158905029296875, -0.00534820556640625, 0.03131103515625, 0.017486572265625, 0.0169219970703125, 0.01593017578125, 0.07269287109375, 0.0285186767578125, -0.01396942138671875, 0.00788116455078125, 0.0218505859375, -0.01523590087890625, -0.0290679931640625, 0.0119781494140625, -0.03021240234375, -0.01442718505859375, -0.00234222412109375, 0.01123809814453125, 0.00653076171875, 0.03558349609375, -0.004131317138671875, 0.0237274169921875, -0.01143646240234375, -0.0196380615234375, -0.042083740234375, -0.037689208984375, -0.0183868408203125, 0.066162109375, -0.004802703857421875, 0.02203369140625, -0.007030487060546875, 0.03692626953125, -0.034881591796875, -0.093994140625, 0.0728759765625, -0.0284881591796875, -0.004573822021484375, -0.05316162109375, -0.045166015625, -0.0035953521728515625, 0.1361083984375, -0.0675048828125, -0.03668212890625, 0.005191802978515625, 0.0115203857421875, 0.00836181640625, 0.01372528076171875, -0.01015472412109375, -0.027252197265625, 0.015838623046875, 0.007762908935546875, -0.005443572998046875, 0.01270294189453125, -0.03448486328125, 0.01470184326171875, 0.0101318359375, -0.009033203125, 0.033203125, -0.04840087890625, 0.0028743743896484375, 0.06201171875, -0.032440185546875, 0.04901123046875, -0.04437255859375, -0.04278564453125, -0.034759521484375, -0.01495361328125, 0.045166015625, 0.01031494140625, -0.0179443359375, -0.01953125, -0.008026123046875, 0.02825927734375, 0.036773681640625, 0.0114898681640625, -0.00495147705078125, -0.033966064453125, -0.00510406494140625, -0.017974853515625, -0.001384735107421875, -0.031768798828125, -0.0185546875, -0.03497314453125, -0.03985595703125, 0.0166473388671875, 0.00783538818359375, 0.060272216796875, 0.0223236083984375, 0.0033359527587890625, -0.04278564453125, -0.00798797607421875, 0.026885986328125, 0.04107666015625, -0.01538848876953125, 0.0132293701171875, -0.01282501220703125, -0.035186767578125, 0.01702880859375, -0.0008854866027832031, -0.03564453125, 0.0197296142578125, 0.0148773193359375, 0.01107025146484375, -0.004306793212890625, -0.0284271240234375, 0.02252197265625, 0.03594970703125, 0.0299835205078125, 0.0416259765625, 0.0019989013671875, -0.023681640625, 0.0633544921875, 0.0060577392578125, 0.024993896484375, -0.0243682861328125, 0.0266265869140625, -0.00731658935546875, -0.00981903076171875, 0.034088134765625, -0.00445556640625, 0.00995635986328125, -0.011260986328125, -0.0245819091796875, 0.0113372802734375, -0.0124053955078125, 0.0023899078369140625, -0.033599853515625, 0.0711669921875, 0.01091766357421875, 0.022064208984375, 0.0022296905517578125, 0.01288604736328125, 0.02947998046875, 0.02703857421875, -0.00616455078125, -0.032318115234375, -0.040191650390625, -0.01332855224609375, -0.00998687744140625, -0.0310516357421875, 0.0018482208251953125, -0.00612640380859375, 0.0081939697265625, 0.007579803466796875, -0.018463134765625, 0.003429412841796875, 0.01457977294921875, -0.0094451904296875, -0.0234222412109375, -0.04266357421875, -0.007747650146484375, -0.0088348388671875, -0.00133514404296875, -0.01922607421875, 0.036102294921875, 0.034149169921875, 0.00015175342559814453, -0.011932373046875, -0.0545654296875, 0.02435302734375, -0.053924560546875, -0.039337158203125, -0.0042266845703125, -0.004863739013671875, 0.040924072265625, 0.024017333984375, -0.007965087890625, 0.0389404296875, -0.019622802734375, 0.062744140625, 0.060699462890625, 0.01438140869140625, 0.0216064453125, -0.0218353271484375, -0.031494140625, -0.00014340877532958984, -0.051605224609375, -0.03021240234375, 0.0016765594482421875, 0.00934600830078125, 0.0162353515625, -0.0118408203125, -0.01531219482421875, 0.0389404296875, -0.0038509368896484375, -0.0088653564453125, -0.025726318359375, 0.003932952880859375, 0.0292510986328125, 0.0018901824951171875, 0.0258026123046875, 0.028289794921875, 0.03546142578125, -0.024658203125, -0.0029926300048828125, -0.0570068359375, -0.0081024169921875, 0.0212249755859375, -0.03448486328125, 0.01006317138671875, -0.0013532638549804688, -0.04302978515625, -0.011627197265625, 0.01302337646484375, -0.052703857421875, -0.0197601318359375, -0.006343841552734375, -0.016387939453125, 0.02105712890625, -0.0248870849609375, 0.046722412109375, -0.0267181396484375, -0.03521728515625, -0.0672607421875, 0.0229339599609375, 0.0132598876953125, 0.01433563232421875, -0.02667236328125, -0.003894805908203125, -0.007541656494140625, -0.030792236328125, -0.058013916015625, -0.0240478515625, -0.05328369140625, -0.0063018798828125, 0.0457763671875, 0.064453125, -0.0290679931640625, -0.089111328125, -0.0302276611328125, -0.019317626953125, 0.0447998046875, 0.08123779296875, 0.0171966552734375, 0.040313720703125, -0.0083770751953125, 0.07501220703125, 0.0162811279296875, -0.00440216064453125, -0.051483154296875, -0.0262908935546875, -0.01007080078125, -0.01367950439453125, -0.016021728515625, -0.0006923675537109375, 0.0084228515625, 0.0157470703125, 0.035552978515625, -0.010833740234375, 0.0004229545593261719, -0.0224151611328125, 0.0028896331787109375, -0.0276641845703125, 0.0211334228515625, -0.039947509765625, -0.039764404296875, 0.0189361572265625, -0.051025390625, 0.0131378173828125, 0.026763916015625, 0.06011962890625, -0.00844573974609375, -0.0472412109375, 0.00592803955078125, 0.01012420654296875, 0.038787841796875, -0.007122039794921875, 0.00989532470703125, -0.0258026123046875, 0.0218963623046875, 0.005588531494140625, 0.01214599609375, 0.02880859375, 0.06060791015625, -0.04339599609375, -0.07989501953125, 0.0272979736328125, 0.0064544677734375, -0.0743408203125, 0.004543304443359375, -0.030426025390625, 0.00539398193359375, 0.0087890625, 0.038238525390625, -0.06439208984375, 0.01491546630859375, -0.01238250732421875, 0.01319122314453125, 0.0640869140625, 0.022674560546875, 0.0036945343017578125, 0.0012264251708984375, -0.0159149169921875, 0.019805908203125, -0.0031871795654296875, 0.003631591796875, 0.0209197998046875, 0.01287078857421875, 0.015289306640625, 0.0433349609375, -0.006961822509765625, -0.03759765625, -0.037200927734375, 0.029144287109375, -0.0260467529296875, -0.0037384033203125, 0.01416015625, -0.0098419189453125, -0.01280975341796875, -0.02923583984375, 0.0128021240234375, -0.033111572265625, 0.00897216796875, 0.021697998046875, -0.006656646728515625, 0.041595458984375, 0.0521240234375, -0.00881195068359375, 0.02752685546875, 0.00273895263671875, 0.00876617431640625, -0.0052490234375, -0.004955291748046875, 0.0097198486328125, 0.054290771484375, -0.06622314453125, 0.01248931884765625, -0.037994384765625, 0.0192718505859375, -0.00860595703125, 0.0025157928466796875, 0.08184814453125, -0.0404052734375, -0.0217132568359375, 0.0014133453369140625, 0.0190582275390625, 0.01041412353515625, -0.0007295608520507812, 0.007110595703125, -0.0286407470703125, -0.004070281982421875, 0.000019788742065429688, -0.02984619140625, -0.044342041015625, -0.01255035400390625, -0.042633056640625, 0.0548095703125, -0.0301666259765625, -0.01108551025390625, 0.0123443603515625, 0.03216552734375, -0.0127105712890625, 0.0139007568359375, -0.0116729736328125, 0.04388427734375, -0.0188446044921875, 0.021697998046875, -0.041351318359375, -0.007144927978515625, -0.01136016845703125, 0.0421142578125, 0.062744140625, 0.0173187255859375, -0.0310821533203125, 0.0144805908203125, 0.052398681640625, -0.0143585205078125, -0.034271240234375, 0.056304931640625, -0.0009112358093261719, -0.036865234375, 0.07427978515625, 0.045989990234375, 0.057952880859375, -0.003971099853515625, -0.006633758544921875, -0.0103912353515625, -0.028778076171875, -0.03936767578125, -0.0122528076171875, 0.00885772705078125, 0.014801025390625, -0.0230865478515625, -0.031524658203125, -0.0194244384765625, 0.00911712646484375, 0.0087127685546875, -0.0012969970703125, 0.040252685546875, -0.005672454833984375, -0.0017824172973632812, 0.02581787109375, 0.0041351318359375, 0.05413818359375, 0.0252685546875, 0.0269775390625, 0.015411376953125, -0.01290130615234375, 0.0223541259765625, 0.01248931884765625, -0.03369140625, 0.0207366943359375, 0.004497528076171875, 0.0272216796875, -0.0379638671875, -0.030548095703125, 0.034576416015625, 0.0309600830078125, -0.018280029296875, -0.007442474365234375, 0.026824951171875, 0.0231781005859375, 0.011627197265625, -0.0184478759765625, 0.01477813720703125, -0.062042236328125, -0.0290679931640625, -0.048583984375, 0.03271484375, 0.0241546630859375, 0.022369384765625, 0.0012617111206054688, 0.06256103515625, -0.0770263671875, -0.00377655029296875, -0.03851318359375, 0.0195159912109375, 0.006622314453125, 0.030609130859375, 0.01654052734375, 0.0361328125, 0.0253143310546875, -0.002147674560546875, 0.007080078125, 0.005886077880859375, 0.014251708984375, -0.036102294921875, 0.01369476318359375, -0.0213623046875, 0.0097808837890625, 0.0229644775390625, 0.00797271728515625, 0.0037212371826171875, 0.0282135009765625, 0.0280609130859375, -0.0157318115234375, -0.0166778564453125, 0.022613525390625, -0.0191192626953125, 0.037872314453125, -0.027252197265625, 0.042236328125, 0.01131439208984375, -0.0175018310546875, -0.046173095703125, 0.005794525146484375, 0.04632568359375, 0.0184173583984375, 0.016448974609375, 0.00701141357421875, -0.0389404296875, 0.03741455078125, 0.0176849365234375, 0.0869140625, 0.04656982421875, -0.062103271484375, -0.004825592041015625, -0.032806396484375, -0.050445556640625, 0.0309906005859375, 0.04791259765625, -0.04473876953125, 0.0287933349609375, -0.00759124755859375, 0.022003173828125, 0.0152130126953125, -0.05047607421875, 0.004878997802734375, 0.00806427001953125, 0.0117645263671875, 0.007648468017578125, -0.023529052734375, -0.0297393798828125, -0.002353668212890625, 0.0364990234375, -0.00977325439453125, 0.06610107421875, -0.0149993896484375, 0.0185089111328125, -0.026092529296875, 0.0014142990112304688, 0.00710296630859375, -0.007083892822265625, -0.0287933349609375, 0.04205322265625, 0.02667236328125, -0.023590087890625, -0.0084381103515625, -0.033355712890625, 0.05377197265625, -0.03839111328125, -0.0252227783203125, -0.01922607421875, 0.033905029296875, -0.0203094482421875, 0.02984619140625, -0.01424407958984375, 0.0256500244140625, -0.01319122314453125, -0.055084228515625, 0.05035400390625, 0.017608642578125, 0.034820556640625, 0.052398681640625, 0.0173187255859375, 0.0152130126953125, -0.0031757354736328125, -0.0289306640625, 0.006137847900390625, 0.02520751953125, 0.01424407958984375, -0.0021038055419921875, 0.0615234375, 0.0113525390625, 0.0322265625, 0.01285552978515625, 0.035430908203125, 0.06500244140625, -0.0482177734375, 0.0221405029296875, -0.00019943714141845703, 0.0206298828125, -0.000008165836334228516, -0.017364501953125, 0.017822265625, -0.01959228515625, -0.018890380859375, -0.0206298828125, -0.0406494140625, -0.020172119140625, 0.0298309326171875, 0.0117340087890625, 0.0208892822265625, -0.03680419921875, -0.05303955078125, -0.020233154296875, 0.0361328125, -0.0029296875, -0.0362548828125, 0.004802703857421875, -0.0132598876953125, 0.03094482421875, -0.005126953125, -0.056793212890625, 0.01873779296875, 0.057769775390625, 0.004245758056640625, -0.060760498046875, -0.04290771484375, 0.0240631103515625, -0.07666015625, 0.0154266357421875, 0.05682373046875, -0.022552490234375, -0.0419921875, -0.0219573974609375, 0.00922393798828125, 0.037200927734375, -0.01097869873046875, -0.03594970703125, 0.025238037109375, -0.021148681640625, 0.006046295166015625, -0.0157470703125, -0.00490570068359375, -0.027618408203125, -0.0240478515625, -0.030731201171875, -0.0007901191711425781, 0.00823211669921875, -0.0298919677734375, -0.0399169921875, 0.07208251953125, -0.01175689697265625, -0.01041412353515625, -0.0843505859375, 0.0333251953125, 0.00042891502380371094, 0.00872802734375, -0.02655029296875, -0.02667236328125, -0.0172882080078125, 0.0279693603515625, -0.03802490234375, -0.022613525390625, 0.036590576171875, -0.054901123046875, -0.05706787109375, -0.0340576171875, -0.01296234130859375, -0.042999267578125, 0.0229339599609375, -0.046478271484375, 0.022979736328125, -0.0164031982421875, -0.06219482421875, -0.045623779296875, 0.0065155029296875, 0.03564453125, 0.006298065185546875, -0.0195159912109375, -0.03546142578125, -0.026031494140625, 0.0176849365234375, 0.057342529296875, 0.016845703125, -0.007556915283203125, 0.0115509033203125, -0.018646240234375, -0.038787841796875, -0.041046142578125, 0.0110321044921875, -0.0256805419921875, 0.00785064697265625, -0.045623779296875, -0.034149169921875, -0.0469970703125, 0.058380126953125, -0.07598876953125, 0.005748748779296875, 0.0033702850341796875, -0.0167694091796875, -0.07489013671875, -0.0050201416015625, 0.00652313232421875, -0.0275115966796875, -0.02728271484375, 0.0282745361328125, -0.006298065185546875, -0.006866455078125, 0.0304107666015625, -0.0029449462890625, -0.04937744140625, -0.0188446044921875, 0.0440673828125, -0.0210723876953125, 0.0623779296875, -0.047271728515625, -0.031463623046875, -0.0141754150390625, 0.02899169921875, -0.00920867919921875, 0.0318603515625, -0.003215789794921875, 0.034423828125, 0.0057830810546875, 0.06988525390625, 0.011749267578125, -0.014068603515625, -0.0177001953125, 0.0330810546875, -0.010498046875, -0.006305694580078125, 0.00438690185546875, -0.01471710205078125, -0.0008640289306640625, -0.054290771484375, -0.04925537109375, -0.05682373046875, -0.0203857421875, -0.01482391357421875, -0.04156494140625, 0.0157928466796875 ]
500a4b2b8b6fb01f0b8123415f6a94eec1182c96
Wordpress Stackexchange Q: WordPress localhost site redirect to live site I have download the code and export the database from server and setup the site on my localhost also I have been changed the home and site URL in wp_options table I am able to login at wp-admin but when I am clicking on the home page it redirect me to live site. If anyone know the issue please help me. Thanks in Advance. A: According to the wordpress reference here Add these two lines to your wp-config.php, where "example.com" is the correct location of your site. define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com'); OR Edit functions.php Add these two lines to the file, immediately after the initial " update_option( 'siteurl', 'http://example.com' ); update_option( 'home', 'http://example.com' ); Or check the .htaccess file as well if added any rewrite rule for redirect the website. Hope this help!!
Q: WordPress localhost site redirect to live site I have download the code and export the database from server and setup the site on my localhost also I have been changed the home and site URL in wp_options table I am able to login at wp-admin but when I am clicking on the home page it redirect me to live site. If anyone know the issue please help me. Thanks in Advance. A: According to the wordpress reference here Add these two lines to your wp-config.php, where "example.com" is the correct location of your site. define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com'); OR Edit functions.php Add these two lines to the file, immediately after the initial " update_option( 'siteurl', 'http://example.com' ); update_option( 'home', 'http://example.com' ); Or check the .htaccess file as well if added any rewrite rule for redirect the website. Hope this help!! A: Try following * *If there are caching plugins installed like W3 total cache. Then purge cache first. Or may be disable them for time being *Perform Search and Replace in the database for Old Site URL. You can Use this Plugin *Reset Permalinks ( Dashboard >> Settings >> Permalinks ) *Last but not the least. Clear your browser Cache and History * *In Chrome, you can try to clear your DNS cache before clearing all your cache A: Had to change these lines in my wp-config.php from define('WP_CACHE', true); define( 'WPCACHEHOME', 'C:\wamp64\www\wp-content\plugins\wp-super-cache/' ); to define('WP_CACHE', false); //define( 'WPCACHEHOME', 'C:\wamp64\www\wp-content\plugins\wp-super-cache/' ); A: You can also solve this problem by installing WP cli and running : wp search-replace 'example.com' 'example.local' Check the codex for more info. But as JItendra said, it's important to clear the browser cache too after doing this. A: you can change live url to local url directly in database table wp_options two option_name field 1) siteurl 2) home After this save permalink. Hope is useful A: Try remove any redirecting plugins if you have in your live site codebase. I solved the same issue by removing the "safe-redirect-manager" plugin in local. A: I just change my permalink structure to plain and again to old one then Its working. thanks all of you for your help. :)
wordpress
{ "language": "en", "length": 358, "provenance": "stackexchange_00019.jsonl.gz:475353", "question_score": "16", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263924" }
[ 0.04315185546875, 0.018524169921875, 0.0016012191772460938, 0.01241302490234375, 0.0234222412109375, -0.05401611328125, 0.0814208984375, -0.05987548828125, -0.0030078887939453125, 0.006580352783203125, -0.000713348388671875, -0.01094818115234375, -0.026763916015625, -0.03338623046875, 0.003948211669921875, -0.02508544921875, 0.035980224609375, -0.00823974609375, 0.0294342041015625, -0.00357818603515625, -0.00865936279296875, 0.031890869140625, 0.0153350830078125, 0.026702880859375, -0.00325775146484375, -0.0266876220703125, 0.10894775390625, -0.01102447509765625, 0.0162506103515625, -0.0206146240234375, 0.0282440185546875, -0.026824951171875, 0.004974365234375, 0.0294189453125, -0.003940582275390625, -0.0439453125, 0.0189056396484375, 0.0011043548583984375, -0.0160980224609375, 0.053497314453125, 0.01522064208984375, -0.01318359375, 0.0032958984375, 0.03363037109375, -0.0259552001953125, -0.026947021484375, 0.0197296142578125, -0.016845703125, -0.00920867919921875, -0.02752685546875, 0.0090179443359375, 0.0136566162109375, 0.020294189453125, -0.0223236083984375, -0.01541900634765625, -0.01274871826171875, 0.0108642578125, 0.0172576904296875, 0.03741455078125, -0.0333251953125, -0.030853271484375, -0.0159759521484375, 0.027252197265625, 0.00969696044921875, -0.027435302734375, 0.0078277587890625, 0.0293426513671875, 0.0000864267349243164, -0.049591064453125, -0.026214599609375, 0.0249786376953125, -0.0277862548828125, 0.00011897087097167969, -0.031768798828125, -0.019256591796875, 0.016265869140625, 0.0162200927734375, 0.0117340087890625, 0.01165771484375, -0.01430511474609375, 0.01515960693359375, -0.01561737060546875, 0.0028553009033203125, -0.048095703125, 0.0712890625, 0.007476806640625, -0.00580596923828125, -0.034210205078125, -0.02471923828125, -0.03570556640625, -0.024871826171875, -0.0033092498779296875, -0.02154541015625, 0.001617431640625, -0.03265380859375, -0.002361297607421875, 0.01317596435546875, 0.022247314453125, 0.004180908203125, 0.00545501708984375, -0.022613525390625, -0.032867431640625, -0.005847930908203125, -0.00702667236328125, -0.0139007568359375, 0.0253448486328125, 0.0299224853515625, 0.04437255859375, 0.0023021697998046875, 0.01345062255859375, -0.0076446533203125, -0.0038318634033203125, -0.0447998046875, -0.041961669921875, -0.0205535888671875, 0.039031982421875, -0.0416259765625, 0.0017995834350585938, 0.01151275634765625, 0.016387939453125, -0.01195526123046875, 0.0192108154296875, 0.0192108154296875, 0.00820159912109375, 0.0015287399291992188, -0.002735137939453125, -0.005420684814453125, -0.041351318359375, -0.01427459716796875, 0.01003265380859375, -0.0229644775390625, 0.017791748046875, 0.06512451171875, 0.036865234375, 0.0090789794921875, -0.01439666748046875, 0.08331298828125, 0.01189422607421875, -0.01068878173828125, 0.03753662109375, -0.00431060791015625, -0.0268096923828125, -0.0428466796875, -0.01447296142578125, 0.05169677734375, 0.04791259765625, 0.01776123046875, -0.0068206787109375, -0.0181427001953125, -0.036346435546875, 0.0297698974609375, -0.0330810546875, 0.021728515625, 0.007518768310546875, 0.039642333984375, -0.0299835205078125, 0.03485107421875, -0.023040771484375, 0.01690673828125, -0.01497650146484375, -0.010223388671875, 0.01007080078125, 0.036956787109375, -0.042724609375, -0.047454833984375, -0.0286407470703125, -0.041900634765625, -0.0175323486328125, 0.0224151611328125, 0.00559234619140625, 0.042236328125, -0.033355712890625, 0.0232391357421875, -0.00635528564453125, -0.00991058349609375, 0.007965087890625, -0.00830841064453125, 0.0085601806640625, 0.0107879638671875, 0.037506103515625, 0.0382080078125, 0.0046844482421875, 0.021820068359375, 0.03131103515625, -0.029205322265625, 0.05804443359375, -0.00627899169921875, 0.05047607421875, -0.0012350082397460938, 0.0075836181640625, -0.0258026123046875, 0.017425537109375, -0.02301025390625, 0.040863037109375, -0.0258636474609375, -0.0345458984375, -0.0173797607421875, 0.0014257431030273438, -0.029998779296875, -0.006862640380859375, 0.002918243408203125, 0.02081298828125, -0.027130126953125, -0.005001068115234375, -0.016143798828125, -0.01053619384765625, 0.003406524658203125, 0.018035888671875, 0.06695556640625, 0.0190582275390625, -0.0241546630859375, -0.003856658935546875, 0.01229095458984375, -0.088623046875, -0.08343505859375, 0.034149169921875, -0.04058837890625, 0.02935791015625, -0.0149688720703125, 0.043548583984375, -0.011077880859375, -0.040924072265625, -0.0182342529296875, -0.03533935546875, 0.02301025390625, 0.0022869110107421875, -0.042327880859375, -0.00788116455078125, -0.0117340087890625, 0.007358551025390625, -0.0504150390625, 0.058441162109375, 0.035003662109375, 0.0009083747863769531, -0.07861328125, -0.0024394989013671875, -0.055206298828125, -0.0040283203125, -0.02630615234375, 0.050262451171875, 0.027099609375, 0.004215240478515625, -0.00891876220703125, 0.0243072509765625, 0.00458526611328125, -0.041717529296875, 0.0111083984375, 0.0059356689453125, 0.0284423828125, 0.0654296875, -0.012054443359375, 0.0007038116455078125, 0.004856109619140625, -0.08685302734375, 0.009552001953125, 0.060394287109375, -0.042388916015625, 0.00739288330078125, -0.01030731201171875, -0.0159912109375, -0.002361297607421875, -0.037200927734375, 0.000008225440979003906, -0.0246734619140625, -0.031036376953125, 0.00046706199645996094, -0.03228759765625, -0.0224761962890625, -0.0357666015625, -0.0016155242919921875, 0.035858154296875, -0.0171356201171875, 0.0009474754333496094, 0.034942626953125, 0.01751708984375, -0.019073486328125, -0.038909912109375, 0.0010814666748046875, 0.0229034423828125, 0.0253143310546875, -0.024627685546875, -0.005344390869140625, -0.01306915283203125, -0.0064697265625, 0.0178070068359375, -0.039520263671875, 0.0193023681640625, -0.00478363037109375, 0.054443359375, 0.01270294189453125, 0.05218505859375, -0.0309906005859375, -0.0117645263671875, 0.0201263427734375, 0.00560760498046875, -0.061767578125, 0.056671142578125, -0.0369873046875, 0.0296173095703125, -0.01428985595703125, 0.053314208984375, 0.0572509765625, -0.0172576904296875, 0.0258331298828125, -0.0018033981323242188, 0.01491546630859375, 0.01422119140625, -0.0120086669921875, -0.0178375244140625, 0.00598907470703125, -0.072998046875, -0.025054931640625, 0.0277252197265625, -0.00327301025390625, 0.0260772705078125, -0.01546478271484375, -0.0097503662109375, 0.015960693359375, -0.061553955078125, -0.040557861328125, -0.074951171875, -0.0188751220703125, 0.0517578125, 0.028717041015625, 0.00856781005859375, -0.012603759765625, 0.0462646484375, 0.041290283203125, 0.02655029296875, -0.033599853515625, -0.0693359375, -0.0460205078125, -0.065673828125, -0.01373291015625, -0.01418304443359375, 0.003948211669921875, 0.01363372802734375, 0.0290985107421875, 0.00669097900390625, -0.03240966796875, 0.0166778564453125, 0.0369873046875, -0.0181884765625, -0.0174560546875, -0.019744873046875, -0.019622802734375, 0.01538848876953125, -0.00075531005859375, 0.048309326171875, 0.00030493736267089844, 0.00742340087890625, -0.01523590087890625, 0.0011625289916992188, 0.00341033935546875, -0.0015993118286132812, -0.02899169921875, 0.01485443115234375, -0.03289794921875, -0.04730224609375, -0.059173583984375, 0.0008320808410644531, -0.007602691650390625, -0.0289154052734375, 0.01136016845703125, 0.01837158203125, -0.0242156982421875, 0.012359619140625, -0.0222015380859375, 0.0225677490234375, -0.022003173828125, 0.03131103515625, -0.022552490234375, 0.05316162109375, -0.001285552978515625, 0.00521087646484375, -0.050537109375, 0.0477294921875, -0.01134490966796875, -0.0266571044921875, 0.00878143310546875, -0.03375244140625, -0.0467529296875, 0.01262664794921875, -0.07037353515625, -0.07421875, 0.049957275390625, -0.01788330078125, 0.00859832763671875, -0.035736083984375, -0.02703857421875, 0.00777435302734375, 0.11669921875, -0.020721435546875, 0.00287628173828125, 0.0024700164794921875, 0.0090179443359375, -0.00994873046875, -0.01385498046875, -0.043548583984375, -0.00026416778564453125, -0.09735107421875, 0.005657196044921875, -0.023284912109375, -0.00183868408203125, -0.01468658447265625, -0.0007152557373046875, -0.020904541015625, -0.06890869140625, 0.02203369140625, 0.03765869140625, 0.01605224609375, -0.024444580078125, -0.0006785392761230469, -0.01218414306640625, 0.00989532470703125, -0.0000622868537902832, -0.06915283203125, -0.0198211669921875, -0.0017461776733398438, 0.05474853515625, 0.024017333984375, -0.0242919921875, -0.01806640625, 0.041351318359375, 0.017303466796875, 0.004451751708984375, 0.007282257080078125, -0.016632080078125, 0.01554107666015625, 0.01131439208984375, 0.0037174224853515625, -0.006649017333984375, -0.0165863037109375, -0.038909912109375, -0.032135009765625, -0.0009045600891113281, -0.006244659423828125, 0.02398681640625, 0.02178955078125, -0.0167388916015625, -0.0303497314453125, -0.01399993896484375, -0.0312347412109375, 0.004360198974609375, -0.0087890625, -0.0196380615234375, -0.005084991455078125, -0.04119873046875, 0.058013916015625, -0.009185791015625, -0.01132965087890625, 0.00682830810546875, 0.08782958984375, 0.00788116455078125, -0.01239013671875, -0.0041046142578125, 0.024383544921875, 0.032379150390625, -0.0014667510986328125, 0.0579833984375, 0.006198883056640625, 0.0043182373046875, 0.084716796875, -0.01041412353515625, 0.00836181640625, -0.00267791748046875, 0.03271484375, 0.0009107589721679688, -0.0224456787109375, 0.013427734375, 0.0009479522705078125, -0.022430419921875, 0.031219482421875, 0.0140838623046875, -0.032989501953125, 0.0416259765625, 0.0251922607421875, -0.021636962890625, 0.002170562744140625, -0.006183624267578125, -0.04339599609375, 0.006153106689453125, 0.0038356781005859375, 0.0234375, 0.0262908935546875, -0.0186614990234375, 0.044189453125, 0.039093017578125, -0.0089263916015625, -0.019561767578125, -0.024383544921875, -0.014556884765625, 0.0014801025390625, -0.0052032470703125, -0.0171356201171875, -0.0117034912109375, -0.0263824462890625, 0.10418701171875, 0.002201080322265625, -0.05548095703125, 0.036407470703125, -0.031097412109375, -0.00972747802734375, 0.055511474609375, 0.00011217594146728516, 0.01288604736328125, 0.0143585205078125, -0.01436614990234375, -0.019073486328125, 0.00897979736328125, -0.039886474609375, -0.040069580078125, 0.031707763671875, -0.01067352294921875, 0.0250396728515625, 0.054046630859375, 0.0743408203125, 0.0254058837890625, 0.0643310546875, -0.035980224609375, 0.00714111328125, 0.0289764404296875, 0.029693603515625, 0.019500732421875, -0.01134490966796875, 0.008148193359375, -0.002838134765625, 0.02777099609375, -0.0462646484375, -0.0214385986328125, 0.0200347900390625, 0.045928955078125, -0.008819580078125, -0.0229034423828125, 0.040069580078125, -0.0049896240234375, -0.0198822021484375, 0.04193115234375, -0.04071044921875, -0.09661865234375, -0.0260162353515625, -0.012939453125, 0.01392364501953125, -0.0484619140625, -0.0222625732421875, 0.0020427703857421875, -0.0110321044921875, 0.03021240234375, 0.036102294921875, -0.030914306640625, 0.0169525146484375, 0.0034275054931640625, -0.0298004150390625, -0.056884765625, -0.0225067138671875, 0.00893402099609375, 0.0283966064453125, -0.0200042724609375, -0.013397216796875, 0.0152130126953125, -0.004344940185546875, 0.0362548828125, -0.006439208984375, -0.053680419921875, 0.04547119140625, -0.006866455078125, 0.06402587890625, 0.0123138427734375, -0.05072021484375, -0.0160369873046875, -0.059906005859375, -0.003940582275390625, 0.043426513671875, 0.007556915283203125, -0.0268402099609375, -0.01322174072265625, 0.04302978515625, 0.019317626953125, -0.00359344482421875, -0.054473876953125, -0.0255584716796875, -0.01629638671875, 0.031524658203125, -0.032012939453125, -0.004978179931640625, 0.052947998046875, -0.00426483154296875, 0.02947998046875, 0.00563812255859375, 0.0227508544921875, -0.02069091796875, -0.0255279541015625, 0.05889892578125, 0.018951416015625, -0.058624267578125, -0.04632568359375, -0.007965087890625, -0.0357666015625, 0.039886474609375, -0.0301055908203125, -0.0268096923828125, -0.00341033935546875, -0.0045928955078125, -0.0288543701171875, 0.0465087890625, 0.01336669921875, 0.025909423828125, -0.042999267578125, 0.0013303756713867188, 0.0210723876953125, -0.005828857421875, -0.0191802978515625, -0.006900787353515625, 0.022705078125, -0.003002166748046875, 0.01033782958984375, -0.0653076171875, 0.06243896484375, 0.10858154296875, 0.0201568603515625, 0.0614013671875, 0.041748046875, -0.00029921531677246094, 0.0156402587890625, 0.0296478271484375, -0.033721923828125, -0.01001739501953125, 0.0219268798828125, 0.007465362548828125, -0.0123138427734375, -0.0004024505615234375, -0.01148223876953125, -0.00457000732421875, 0.103515625, 0.06536865234375, -0.1341552734375, 0.008575439453125, 0.004638671875, 0.021759033203125, 0.040679931640625, -0.00392913818359375, -0.00315093994140625, 0.004047393798828125, -0.00146484375, -0.00754547119140625, -0.0273895263671875, -0.00559234619140625, 0.012451171875, -0.015411376953125, -0.00420379638671875, 0.0217742919921875, -0.003948211669921875, -0.06378173828125, -0.006103515625, 0.031982421875, -0.024566650390625, -0.0048828125, -0.0295867919921875, 0.0137176513671875, -0.0413818359375, -0.052215576171875, 0.0036163330078125, -0.042724609375, 0.01108551025390625, 0.02215576171875, -0.018463134765625, 0.01453399658203125, 0.04595947265625, -0.023468017578125, 0.021453857421875, 0.007495880126953125, -0.02227783203125, 0.04986572265625, -0.006694793701171875, 0.0038013458251953125, -0.034515380859375, -0.054351806640625, -0.0164642333984375, -0.033905029296875, -0.00858306884765625, -0.01422119140625, -0.030242919921875, 0.054107666015625, 0.005706787109375, -0.0228118896484375, 0.0247344970703125, 0.0269622802734375, -0.01203155517578125, -0.01210784912109375, 0.0021038055419921875, -0.057464599609375, -0.022186279296875, -0.016357421875, -0.0411376953125, 0.007442474365234375, -0.040618896484375, -0.01229095458984375, 0.0626220703125, -0.04412841796875, -0.015655517578125, 0.0496826171875, 0.0290374755859375, -0.05029296875, 0.0109710693359375, -0.00620269775390625, 0.04290771484375, 0.019683837890625, -0.005096435546875, -0.01171112060546875, 0.00992584228515625, 0.00034427642822265625, 0.00965118408203125, 0.050872802734375, 0.0256500244140625, -0.047515869140625, 0.0024089813232421875, 0.03094482421875, 0.041656494140625, 0.004283905029296875, 0.043975830078125, -0.044403076171875, 0.0269317626953125, -0.0288543701171875, -0.04962158203125, 0.001102447509765625, 0.0004189014434814453, -0.0823974609375, -0.01338958740234375, 0.0156402587890625, -0.01727294921875, -0.01500701904296875, 0.0078582763671875, -0.043365478515625, 0.0092926025390625, 0.025177001953125, 0.0284576416015625, -0.0172576904296875, 0.02239990234375, 0.008941650390625, -0.03717041015625, 0.030059814453125, -0.0404052734375, 0.03253173828125, 0.0001176595687866211, -0.0163726806640625, 0.01496124267578125, 0.0169219970703125, 0.0163421630859375, -0.007232666015625, -0.01546478271484375, 0.0257720947265625, -0.006343841552734375, 0.07354736328125, 0.0557861328125, 0.039794921875, -0.004009246826171875, 0.01226043701171875, 0.05194091796875, 0.09326171875, -0.053192138671875, -0.01171875, -0.00046944618225097656, -0.0157623291015625, 0.0292816162109375, -0.0308990478515625, 0.041534423828125, 0.006694793701171875, -0.01023101806640625, 0.006992340087890625, -0.0104522705078125, 0.005153656005859375, -0.0073699951171875, -0.0011682510375976562, 0.0308380126953125, 0.002895355224609375, 0.0230560302734375, 0.0202178955078125, -0.01947021484375, -0.01007080078125, -0.00357818603515625, -0.0015134811401367188, -0.0031566619873046875, 0.00975799560546875, 0.0218353271484375, 0.005725860595703125, 0.032745361328125, 0.01207733154296875, -0.00750732421875, -0.062744140625, -0.065185546875, 0.040924072265625, 0.056884765625, 0.01434326171875, 0.01513671875, 0.04522705078125, 0.050933837890625, -0.0087890625, -0.01910400390625, 0.02777099609375, -0.006988525390625, -0.0045318603515625, -0.0277099609375, 0.01540374755859375, 0.024749755859375, -0.0034351348876953125, 0.0083160400390625, 0.02996826171875, 0.01509857177734375, -0.01800537109375, 0.06072998046875, -0.0150146484375, -0.0301055908203125, 0.002819061279296875, -0.0256805419921875, 0.08013916015625, 0.002414703369140625, -0.028228759765625, -0.00170135498046875, 0.0006947517395019531, -0.040191650390625, 0.004283905029296875, 0.036590576171875, 0.00057220458984375, 0.0037517547607421875, -0.040191650390625, -0.0036640167236328125, 0.0232696533203125, -0.0239715576171875, -0.00891876220703125, 0.0162200927734375, 0.01678466796875, -0.0178375244140625, -0.0753173828125, -0.0185089111328125, -0.0258636474609375, 0.009368896484375, -0.03033447265625, 0.135009765625, -0.033935546875, 0.00528717041015625, -0.005672454833984375, -0.0021228790283203125, -0.009918212890625, -0.0185089111328125, 0.037322998046875, -0.0088958740234375, 0.00618743896484375, -0.01299285888671875, -0.0709228515625, 0.04925537109375, -0.0155792236328125, 0.00959014892578125, 0.057830810546875, -0.042022705078125, 0.002166748046875, -0.004364013671875, 0.032958984375, -0.0280914306640625, -0.06329345703125, -0.056640625, 0.004627227783203125, 0.014678955078125, 0.0249786376953125, 0.0014677047729492188, 0.035614013671875, -0.035858154296875, -0.0103759765625, 0.005794525146484375, -0.056671142578125, -0.01016998291015625, 0.027130126953125, -0.00958251953125, -0.032470703125, 0.051239013671875, -0.000926971435546875, 0.0198822021484375, 0.00632476806640625, 0.060302734375, 0.0106048583984375, 0.01080322265625, -0.03399658203125, -0.01385498046875, -0.0234832763671875, -0.01009368896484375, -0.0101776123046875, 0.01494598388671875, -0.025665283203125, -0.0328369140625, -0.028045654296875, -0.0206756591796875, -0.033416748046875, -0.00751495361328125, 0.04058837890625, -0.01140594482421875, -0.00637054443359375, -0.057891845703125, 0.01065826416015625, 0.031982421875, -0.0196990966796875, -0.01551055908203125, -0.0123138427734375, -0.04345703125, 0.07733154296875, -0.0282135009765625, -0.007007598876953125, -0.0104217529296875, 0.031585693359375, -0.0152587890625, -0.0221405029296875, -0.038726806640625, -0.004241943359375, -0.03887939453125, 0.01515960693359375, 0.0438232421875, -0.0091552734375, -0.0019989013671875, -0.03375244140625, -0.01873779296875, 0.036834716796875, -0.0224609375, -0.022216796875, 0.049774169921875, -0.03277587890625, -0.005008697509765625, -0.006023406982421875, -0.00699615478515625, 0.0014219284057617188, -0.01131439208984375, 0.00836944580078125, 0.003017425537109375, 0.0203704833984375, -0.036956787109375, -0.052459716796875, 0.01568603515625, 0.01247406005859375, -0.03326416015625, -0.038726806640625, 0.044464111328125, 0.0005135536193847656, -0.02655029296875, -0.0017099380493164062, -0.034637451171875, 0.01788330078125, 0.0126953125, -0.0005435943603515625, 0.0341796875, -0.01488494873046875, 0.0210723876953125, 0.01947021484375, 0.04608154296875, 0.037750244140625, -0.01727294921875, -0.01102447509765625, -0.00699615478515625, 0.0244903564453125, 0.06048583984375, -0.00677490234375, -0.00901031494140625, 0.01605224609375, -0.0279083251953125, -0.00696563720703125, -0.04595947265625, 0.002124786376953125, -0.0184478759765625, -0.00945281982421875, 0.0207061767578125, -0.01422882080078125, 0.005405426025390625, -0.04962158203125, -0.01172637939453125, -0.009002685546875, -0.042755126953125, 0.00836944580078125, -0.072509765625, -0.022125244140625, -0.020843505859375, -0.013519287109375, -0.01332855224609375, 0.015716552734375, -0.030853271484375, 0.017242431640625, 0.027313232421875, -0.01505279541015625, -0.0123138427734375, -0.0362548828125, 0.0823974609375, -0.055267333984375, -0.0003371238708496094, 0.0091094970703125, 0.0350341796875, 0.025390625, -0.01039886474609375, 0.0272674560546875, -0.0034923553466796875, -0.006191253662109375, -0.038482666015625, 0.0288543701171875, 0.0121917724609375, 0.0164337158203125, -0.05267333984375, -0.0279083251953125, 0.02142333984375, 0.00327301025390625, 0.02545166015625, 0.01160430908203125, -0.0176849365234375, 0.009490966796875, 0.021636962890625, 0.01026153564453125, -0.0084381103515625, -0.006877899169921875, 0.0489501953125, -0.049041748046875, -0.0178985595703125, -0.0187225341796875, -0.056365966796875, 0.007022857666015625, 0.0307769775390625, 0.0172119140625, -0.02496337890625, 0.006183624267578125, 0.0137939453125, 0.0237579345703125, 0.0114288330078125 ]
9fae6a4f18c38b17a29ec4615d20caa410d87836
Wordpress Stackexchange Q: "#1067 - Invalid default value for 'post_date'" when trying to reset AI after backup I've restored my Wordpress database from an sql backup. However, in doing so, all of the tables have lost auto increment. When I try to add it back in with this sql ALTER TABLE `mercury_posts` CHANGE `ID` `ID` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT; I get the error #1067 - Invalid default value for 'post_date'. How do I fix this? A: You must to add this code at the top of your SQL SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00";
Q: "#1067 - Invalid default value for 'post_date'" when trying to reset AI after backup I've restored my Wordpress database from an sql backup. However, in doing so, all of the tables have lost auto increment. When I try to add it back in with this sql ALTER TABLE `mercury_posts` CHANGE `ID` `ID` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT; I get the error #1067 - Invalid default value for 'post_date'. How do I fix this? A: You must to add this code at the top of your SQL SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; A: I eventually solved this by deleting the faulty database, backing up again from the working database but exporting structure and data separately. A: You can use following command to change your default post_date:- ALTER TABLE `wp_posts` CHANGE `post_date` `post_date` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP A: The post_date default value is 0000-00-00 00:00:00. If you check the sql_mode variable like this: show variables like 'sql_mode'; ... it will show you the sql_mode variable, that will be sth like this: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION You have to set up again sql_mode variable without NO_ZERO_IN_DATE,NO_ZERO_DATE So in the previous example you should set the sql_mode like this: SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; Then check the sql_mode variable again to be sure it has changed correctly: show variables like 'sql_mode'; Then the restriction is gone ;D Found the solution here: https://stackoverflow.com/a/37696251/504910 A: Changing sql_mode to ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION works, but it only lasts until you restart the sql server. So in case you need it again, you have to change sql_mode again.
wordpress
{ "language": "en", "length": 264, "provenance": "stackexchange_00019.jsonl.gz:475370", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/263989" }
[ 0.01494598388671875, -0.01763916015625, 0.00630950927734375, -0.0215911865234375, 0.00566864013671875, -0.0169525146484375, 0.04510498046875, -0.020538330078125, 0.06695556640625, 0.004024505615234375, -0.06646728515625, -0.0177001953125, 0.005939483642578125, 0.0004286766052246094, -0.0443115234375, -0.0262603759765625, 0.040863037109375, -0.04559326171875, 0.0047149658203125, -0.004909515380859375, -0.01447296142578125, 0.0193634033203125, 0.0341796875, -0.0086517333984375, 0.0357666015625, 0.01427459716796875, 0.0272674560546875, -0.033416748046875, 0.05914306640625, 0.0137786865234375, 0.0251617431640625, -0.0462646484375, 0.0372314453125, -0.03924560546875, 0.02587890625, -0.0181732177734375, 0.03692626953125, -0.0169525146484375, -0.0228118896484375, 0.0377197265625, 0.0259246826171875, -0.0111083984375, 0.031463623046875, -0.00689697265625, -0.007404327392578125, -0.004268646240234375, 0.0308380126953125, -0.007965087890625, 0.01499176025390625, -0.0237579345703125, -0.0172271728515625, 0.033203125, 0.010040283203125, -0.022613525390625, -0.00766754150390625, -0.004940032958984375, -0.03363037109375, -0.0005354881286621094, 0.023468017578125, 0.03778076171875, 0.01409149169921875, -0.0191497802734375, -0.002960205078125, -0.048492431640625, 0.024993896484375, -0.025299072265625, 0.0301971435546875, 0.0360107421875, -0.0577392578125, 0.0098114013671875, 0.05963134765625, -0.0197906494140625, -0.007442474365234375, 0.0083465576171875, -0.0071258544921875, -0.01538848876953125, 0.0172119140625, -0.000980377197265625, 0.00897979736328125, 0.035064697265625, 0.04119873046875, 0.034088134765625, -0.016204833984375, -0.015533447265625, 0.0147552490234375, -0.00092315673828125, -0.004863739013671875, -0.02960205078125, -0.04327392578125, -0.038299560546875, -0.033905029296875, -0.0491943359375, -0.067626953125, -0.002960205078125, 0.00551605224609375, -0.0256500244140625, 0.009613037109375, 0.08526611328125, -0.0108642578125, 0.033599853515625, -0.01473236083984375, -0.024261474609375, 0.0141754150390625, -0.05810546875, 0.003612518310546875, 0.0258331298828125, 0.007282257080078125, -0.01739501953125, 0.0157623291015625, 0.0265350341796875, -0.0053253173828125, 0.011627197265625, -0.0161590576171875, -0.0162506103515625, -0.043731689453125, 0.029876708984375, -0.0105438232421875, -0.0185089111328125, -0.0096588134765625, -0.0212554931640625, -0.00972747802734375, 0.031829833984375, -0.08575439453125, -0.054046630859375, 0.0142364501953125, -0.0304718017578125, -0.02276611328125, 0.0714111328125, -0.046356201171875, 0.007198333740234375, -0.047821044921875, 0.015106201171875, 0.10443115234375, 0.050079345703125, 0.01520538330078125, -0.026519775390625, 0.011383056640625, -0.045501708984375, -0.041290283203125, 0.045989990234375, 0.00916290283203125, -0.056884765625, -0.0246124267578125, -0.0026092529296875, -0.005504608154296875, -0.0001455545425415039, 0.0196533203125, 0.029693603515625, -0.0168914794921875, -0.042816162109375, 0.03656005859375, 0.00550079345703125, 0.0196990966796875, -0.021881103515625, 0.00498199462890625, -0.038116455078125, -0.0063323974609375, -0.01517486572265625, 0.010772705078125, -0.00896453857421875, -0.0078582763671875, -0.01666259765625, 0.01165771484375, -0.03265380859375, -0.06390380859375, 0.0063018798828125, -0.0294952392578125, -0.016021728515625, 0.03173828125, -0.0032978057861328125, -0.027740478515625, 0.01200103759765625, 0.02685546875, 0.0199432373046875, 0.00566864013671875, 0.037750244140625, 0.0131988525390625, -0.036407470703125, 0.0213470458984375, 0.039947509765625, 0.00496673583984375, -0.0194854736328125, 0.0033435821533203125, 0.007526397705078125, -0.005832672119140625, 0.01163482666015625, -0.01126861572265625, 0.02069091796875, 0.016754150390625, 0.011138916015625, -0.0087432861328125, 0.00759124755859375, -0.060394287109375, 0.0130157470703125, 0.0113983154296875, -0.01084136962890625, -0.027618408203125, -0.0186767578125, 0.0018901824951171875, 0.0059967041015625, 0.01374053955078125, 0.0528564453125, -0.054779052734375, 0.01338958740234375, -0.126708984375, 0.0259552001953125, -0.039031982421875, 0.050140380859375, -0.0361328125, 0.0306396484375, 0.0218963623046875, 0.0010423660278320312, -0.0179443359375, 0.00720977783203125, 0.0187225341796875, -0.01464080810546875, -0.032928466796875, 0.036468505859375, -0.05615234375, 0.05328369140625, -0.08636474609375, -0.05633544921875, -0.06396484375, -0.0022144317626953125, 0.035552978515625, -0.032379150390625, -0.00359344482421875, -0.03387451171875, 0.0535888671875, -0.0274810791015625, 0.04058837890625, 0.033721923828125, -0.044830322265625, -0.047576904296875, -0.06158447265625, -0.03765869140625, -0.07086181640625, -0.080810546875, 0.0223388671875, 0.10174560546875, 0.0166168212890625, 0.00435638427734375, -0.024566650390625, 0.028350830078125, 0.0176239013671875, -0.029815673828125, -0.007965087890625, 0.0275115966796875, -0.016082763671875, 0.01678466796875, 0.01068878173828125, 0.0015430450439453125, 0.010009765625, -0.0208282470703125, -0.02911376953125, 0.0322265625, -0.0196990966796875, -0.0177154541015625, -0.0240631103515625, 0.0225982666015625, -0.0126495361328125, -0.08111572265625, -0.0204010009765625, -0.032196044921875, 0.064208984375, -0.0270233154296875, 0.0533447265625, 0.028045654296875, 0.00418853759765625, -0.004482269287109375, 0.008941650390625, -0.045806884765625, 0.0063629150390625, -0.036376953125, -0.038238525390625, 0.022064208984375, -0.02783203125, 0.0296478271484375, 0.0079498291015625, -0.0175018310546875, -0.006366729736328125, 0.037017822265625, -0.0133514404296875, -0.01273345947265625, -0.0245361328125, -0.0142669677734375, -0.000682830810546875, 0.0105438232421875, -0.03564453125, -0.048919677734375, 0.0011644363403320312, 0.0170135498046875, -0.030853271484375, 0.015777587890625, 0.0199127197265625, -0.032257080078125, -0.0033512115478515625, -0.0160369873046875, 0.0262451171875, -0.03448486328125, -0.00010383129119873047, 0.03619384765625, -0.037750244140625, 0.007511138916015625, 0.00022983551025390625, 0.009765625, 0.00844573974609375, 0.018524169921875, -0.0012712478637695312, -0.0308837890625, -0.0292510986328125, -0.00870513916015625, 0.04058837890625, 0.065185546875, 0.01288604736328125, -0.039154052734375, 0.01474761962890625, 0.052215576171875, -0.07220458984375, -0.10882568359375, 0.0022125244140625, 0.01186370849609375, -0.0155792236328125, -0.01453399658203125, 0.00708770751953125, 0.011505126953125, -0.035614013671875, -0.00543975830078125, 0.0197906494140625, -0.019622802734375, -0.03619384765625, -0.052337646484375, -0.06512451171875, -0.06427001953125, 0.00589752197265625, -0.0018701553344726562, -0.01053619384765625, 0.07672119140625, -0.00922393798828125, -0.073974609375, -0.05145263671875, -0.0188140869140625, -0.016265869140625, -0.0306854248046875, -0.0077362060546875, 0.01540374755859375, 0.011962890625, 0.0144195556640625, -0.0106353759765625, 0.015106201171875, -0.015411376953125, -0.0253753662109375, -0.0121612548828125, -0.00183868408203125, -0.0057830810546875, 0.0018777847290039062, 0.0239105224609375, 0.02557373046875, 0.0182037353515625, -0.01922607421875, -0.035919189453125, -0.007495880126953125, -0.05474853515625, 0.0426025390625, 0.044952392578125, 0.002590179443359375, -0.0133056640625, 0.0033397674560546875, -0.022674560546875, -0.01392364501953125, 0.057708740234375, -0.03204345703125, 0.0101776123046875, -0.03228759765625, -0.045562744140625, -0.041015625, 0.058990478515625, -0.01033782958984375, -0.0025310516357421875, 0.022918701171875, -0.0139617919921875, 0.0187530517578125, -0.050811767578125, 0.0008268356323242188, -0.051483154296875, 0.003345489501953125, -0.07281494140625, 0.002712249755859375, -0.036651611328125, 0.01291656494140625, -0.01055908203125, 0.062164306640625, -0.006893157958984375, -0.0183868408203125, 0.0364990234375, 0.03338623046875, -0.04608154296875, -0.0171966552734375, -0.0249176025390625, -0.0144195556640625, -0.01446533203125, -0.01195526123046875, -0.0057830810546875, -0.022247314453125, -0.022216796875, -0.018524169921875, -0.021636962890625, -0.0211334228515625, 0.04083251953125, -0.05621337890625, 0.00623321533203125, 0.0234527587890625, -0.013427734375, 0.007732391357421875, -0.03143310546875, -0.029052734375, -0.08941650390625, -0.0222320556640625, -0.018096923828125, 0.063720703125, 0.00621795654296875, 0.01226043701171875, -0.0024967193603515625, 0.043365478515625, -0.0083770751953125, -0.005168914794921875, 0.0055084228515625, 0.0269927978515625, -0.048095703125, -0.0169830322265625, 0.01506805419921875, -0.0474853515625, -0.0025997161865234375, -0.0286407470703125, -0.041259765625, -0.01776123046875, -0.029754638671875, 0.026214599609375, -0.00737762451171875, -0.0079345703125, -0.0164337158203125, -0.01508331298828125, 0.0015230178833007812, 0.033447265625, -0.005767822265625, 0.01267242431640625, -0.042724609375, -0.0362548828125, 0.0606689453125, -0.0013027191162109375, 0.01029205322265625, -0.0131072998046875, 0.06671142578125, 0.0123291015625, -0.02587890625, 0.0185546875, 0.004695892333984375, 0.0357666015625, -0.0230865478515625, 0.003002166748046875, -0.025421142578125, -0.02667236328125, 0.0655517578125, -0.03265380859375, -0.04705810546875, -0.0460205078125, 0.022613525390625, 0.0028171539306640625, -0.007129669189453125, -0.02008056640625, -0.04241943359375, 0.103271484375, 0.03961181640625, 0.004730224609375, -0.00726318359375, -0.0023708343505859375, 0.022918701171875, -0.000568389892578125, -0.0027446746826171875, -0.0236053466796875, -0.046356201171875, 0.03521728515625, -0.03265380859375, -0.040130615234375, -0.039031982421875, 0.01493072509765625, -0.035003662109375, -0.032867431640625, -0.0015707015991210938, 0.0012998580932617188, -0.01122283935546875, -0.00970458984375, 0.0175323486328125, 0.02142333984375, 0.0027313232421875, 0.005764007568359375, -0.02081298828125, 0.060882568359375, 0.02655029296875, -0.036041259765625, 0.044219970703125, -0.0190582275390625, -0.0076141357421875, -0.020904541015625, 0.001880645751953125, 0.03582763671875, 0.035736083984375, -0.0017480850219726562, 0.003688812255859375, -0.023468017578125, 0.0390625, -0.044769287109375, -0.0015878677368164062, 0.0226593017578125, -0.020721435546875, 0.03643798828125, 0.0112762451171875, 0.0689697265625, -0.0209808349609375, -0.035247802734375, 0.00618743896484375, -0.0191192626953125, 0.03936767578125, 0.0016155242919921875, -0.007732391357421875, -0.0155181884765625, 0.05780029296875, 0.019622802734375, -0.039215087890625, -0.005397796630859375, 0.01080322265625, 0.03765869140625, -0.006591796875, -0.024810791015625, 0.023651123046875, -0.029693603515625, -0.00252532958984375, -0.002803802490234375, -0.0230865478515625, -0.02728271484375, 0.005565643310546875, 0.01361846923828125, 0.0102386474609375, -0.0047760009765625, 0.0144805908203125, -0.034912109375, -0.006072998046875, 0.041778564453125, -0.036834716796875, 0.05517578125, -0.042999267578125, -0.0660400390625, 0.049652099609375, -0.033660888671875, -0.055206298828125, 0.038177490234375, 0.0416259765625, -0.03021240234375, -0.0176239013671875, 0.045806884765625, -0.01296234130859375, 0.0230712890625, -0.032623291015625, -0.00807952880859375, 0.0018625259399414062, 0.0218048095703125, 0.0015535354614257812, -0.02520751953125, -0.0034122467041015625, -0.03729248046875, -0.0452880859375, -0.05078125, 0.0474853515625, 0.0209503173828125, -0.0279388427734375, -0.00925445556640625, 0.00942230224609375, 0.046875, -0.0244293212890625, -0.04193115234375, -0.0112457275390625, 0.0025959014892578125, 0.011505126953125, 0.07421875, -0.023681640625, 0.0458984375, 0.02325439453125, 0.0173797607421875, 0.0287628173828125, 0.044158935546875, 0.016082763671875, -0.0299224853515625, 0.00856781005859375, -0.03289794921875, -0.007526397705078125, -0.00597381591796875, -0.0036411285400390625, -0.0105743408203125, 0.00435638427734375, -0.00740814208984375, 0.049957275390625, -0.041412353515625, -0.0038318634033203125, -0.0239410400390625, 0.034759521484375, -0.056182861328125, 0.05230712890625, 0.01041412353515625, -0.0183258056640625, 0.00351715087890625, 0.01296234130859375, 0.03839111328125, -0.01152801513671875, -0.023193359375, -0.01056671142578125, -0.020965576171875, -0.0199737548828125, 0.0242462158203125, 0.027923583984375, -0.00431060791015625, 0.04278564453125, 0.0166168212890625, 0.0277557373046875, 0.03997802734375, 0.01043701171875, -0.07763671875, -0.052398681640625, 0.01270294189453125, 0.0158843994140625, -0.01226043701171875, 0.0242462158203125, 0.005664825439453125, -0.004425048828125, 0.0205535888671875, 0.0311431884765625, -0.03411865234375, 0.006427764892578125, 0.02001953125, -0.01268768310546875, -0.0114898681640625, -0.016021728515625, 0.01155853271484375, -0.0022125244140625, 0.0018157958984375, 0.031951904296875, -0.0261383056640625, 0.0019283294677734375, 0.0225372314453125, -0.02490234375, -0.0132904052734375, -0.00601959228515625, -0.00499725341796875, 0.0243682861328125, -0.0207672119140625, -0.01520538330078125, 0.0014209747314453125, -0.0213623046875, -0.00443267822265625, 0.0028629302978515625, -0.0267791748046875, -0.1016845703125, -0.03973388671875, -0.0220184326171875, -0.0295562744140625, -0.013702392578125, -0.0064697265625, 0.056884765625, 0.00437164306640625, 0.01263427734375, -0.027618408203125, -0.024017333984375, 0.0110626220703125, -0.035797119140625, -0.0479736328125, 0.033935546875, 0.043853759765625, -0.0228118896484375, 0.037445068359375, 0.0238189697265625, -0.06158447265625, 0.005847930908203125, -0.01959228515625, 0.007770538330078125, -0.0226593017578125, 0.00229644775390625, 0.043975830078125, -0.0158538818359375, -0.01287841796875, 0.0012941360473632812, 0.0305938720703125, -0.0506591796875, 0.01403045654296875, 0.0240936279296875, 0.0168609619140625, -0.033355712890625, 0.02801513671875, -0.0284423828125, 0.0933837890625, -0.043670654296875, -0.0155029296875, -0.0054931640625, 0.05694580078125, -0.0129547119140625, 0.039947509765625, -0.027130126953125, 0.021331787109375, -0.030975341796875, 0.0161590576171875, -0.06768798828125, -0.007617950439453125, -0.0297698974609375, 0.0234222412109375, 0.061920166015625, 0.00826263427734375, -0.04241943359375, 0.00380706787109375, 0.05755615234375, 0.029998779296875, 0.004425048828125, 0.03607177734375, 0.00766754150390625, 0.0242919921875, 0.046478271484375, -0.0298614501953125, 0.021392822265625, -0.00916290283203125, 0.002765655517578125, 0.017578125, 0.006744384765625, 0.00820159912109375, -0.0001779794692993164, -0.00791168212890625, 0.0210418701171875, -0.0177459716796875, -0.011322021484375, -0.0296478271484375, 0.0413818359375, 0.046417236328125, 0.0753173828125, -0.0305023193359375, -0.036895751953125, -0.0137939453125, 0.054443359375, 0.01247406005859375, -0.03118896484375, 0.060821533203125, 0.02142333984375, -0.05615234375, 0.004779815673828125, -0.0139312744140625, -0.021514892578125, 0.0036487579345703125, 0.05377197265625, 0.0084381103515625, 0.039093017578125, -0.01064300537109375, 0.034210205078125, -0.007617950439453125, 0.035064697265625, -0.051849365234375, -0.0228424072265625, 0.01483154296875, -0.006671905517578125, 0.0123138427734375, -0.0253753662109375, 0.00914764404296875, -0.013824462890625, -0.005573272705078125, -0.0308074951171875, 0.00605010986328125, 0.0288543701171875, 0.006519317626953125, -0.0077362060546875, 0.00897216796875, -0.01251983642578125, 0.0008697509765625, -0.0254058837890625, 0.0391845703125, 0.01140594482421875, 0.01421356201171875, -0.03253173828125, 0.042816162109375, 0.0081634521484375, 0.013916015625, -0.0124053955078125, 0.0057220458984375, 0.0213623046875, 0.00434112548828125, -0.033172607421875, -0.0271759033203125, 0.028411865234375, 0.037353515625, -0.03521728515625, -0.001708984375, 0.046783447265625, 0.025299072265625, -0.07281494140625, -0.0377197265625, -0.00237274169921875, -0.04327392578125, -0.045684814453125, -0.0218963623046875, -0.037322998046875, -0.003269195556640625, -0.00820159912109375, 0.005016326904296875, 0.049407958984375, -0.027801513671875, -0.01038360595703125, -0.00238037109375, 0.01479339599609375, 0.0006108283996582031, 0.039093017578125, 0.0129852294921875, -0.02667236328125, 0.020416259765625, 0.05474853515625, 0.02593994140625, -0.002010345458984375, -0.006702423095703125, -0.053009033203125, -0.0060272216796875, -0.00165557861328125, 0.04852294921875, -0.0261993408203125, 0.01110076904296875, -0.011566162109375, 0.0008068084716796875, 0.016448974609375, 0.003284454345703125, 0.0131683349609375, 0.00716400146484375, -0.051666259765625, -0.026153564453125, -0.0139923095703125, 0.027557373046875, -0.004730224609375, 0.042205810546875, 0.0012493133544921875, 0.01715087890625, -0.041412353515625, 0.03143310546875, -0.0772705078125, -0.033935546875, -0.01605224609375, -0.02703857421875, 0.0012254714965820312, 0.0289154052734375, -0.0134735107421875, 0.03253173828125, 0.027130126953125, -0.00457000732421875, 0.035919189453125, -0.038330078125, 0.006317138671875, -0.024169921875, 0.01044464111328125, -0.02813720703125, -0.016510009765625, -0.0017528533935546875, 0.007511138916015625, 0.0241241455078125, 0.015777587890625, -0.006053924560546875, 0.00991058349609375, -0.0274200439453125, 0.0016422271728515625, 0.0159912109375, -0.0225067138671875, 0.0201568603515625, 0.0182647705078125, -0.06640625, 0.0269012451171875, 0.0037441253662109375, -0.0199737548828125, 0.032928466796875, 0.00783538818359375, -0.0177154541015625, 0.028533935546875, -0.007656097412109375, 0.021820068359375, 0.0182952880859375, 0.031005859375, -0.02886962890625, 0.00675201416015625, 0.02587890625, 0.0010290145874023438, 0.0300445556640625, 0.0192108154296875, -0.0168304443359375, -0.050933837890625, -0.003021240234375, 0.001720428466796875, -0.03265380859375, 0.01091766357421875, -0.01403045654296875, 0.01540374755859375, 0.0032062530517578125, 0.005115509033203125, -0.0389404296875, 0.05047607421875, -0.0135498046875, -0.0152130126953125, -0.0171356201171875, -0.03125, -0.002429962158203125, -0.006526947021484375, -0.013519287109375, -0.05279541015625, -0.040802001953125, 0.050201416015625, -0.0222015380859375, -0.006778717041015625, 0.00864410400390625, 0.006805419921875, -0.04901123046875, -0.0219268798828125, -0.004673004150390625, 0.0032176971435546875, -0.00026726722717285156, 0.0036220550537109375, 0.05096435546875, -0.0021305084228515625, -0.05914306640625, -0.124267578125, -0.0078582763671875, -0.09320068359375, 0.0252838134765625, -0.0300750732421875, 0.0276031494140625, 0.03485107421875, -0.0216064453125, -0.0274658203125, -0.01537322998046875, 0.005329132080078125, -0.0167694091796875, -0.0211334228515625, -0.00519561767578125, -0.02764892578125, 0.049407958984375, 0.01097869873046875, -0.022125244140625, -0.007114410400390625, 0.035003662109375, -0.00449371337890625, 0.020965576171875, 0.04638671875, -0.04669189453125, -0.022705078125, -0.02386474609375, -0.0248260498046875, 0.0009088516235351562, 0.042633056640625, -0.0126190185546875, 0.020477294921875, 0.06451416015625, -0.041351318359375, -0.05426025390625, -0.052642822265625, -0.0457763671875, 0.0019588470458984375, 0.00313568115234375, -0.060150146484375, -0.004184722900390625, 0.0672607421875, 0.0863037109375, 0.035858154296875, -0.054412841796875, -0.00966644287109375, -0.03948974609375, 0.0183868408203125, -0.035247802734375, -0.0017099380493164062, -0.066162109375, -0.038818359375, -0.0018444061279296875, -0.004619598388671875, 0.037261962890625, -0.021453857421875, -0.002956390380859375, 0.0002008676528930664, -0.01318359375, -0.03179931640625, -0.01168060302734375, 0.0166015625, 0.01110076904296875, -0.01004791259765625, -0.0193939208984375, 0.0191497802734375, -0.008880615234375, -0.01605224609375, 0.0479736328125, 0.017608642578125, 0.009002685546875, -0.01490020751953125, -0.0022754669189453125, 0.01555633544921875, 0.01708984375, -0.01580810546875, -0.03179931640625, 0.0016222000122070312, 0.0092926025390625, -0.01375579833984375, 0.0225067138671875, 0.03582763671875, 0.0171661376953125, -0.01279449462890625, 0.048828125, 0.01287841796875, -0.0195770263671875, -0.00487518310546875, 0.020294189453125, -0.053802490234375, -0.0099639892578125, -0.037078857421875, -0.04071044921875, 0.0013952255249023438, 0.007099151611328125, 0.02203369140625, -0.0285797119140625, 0.0219879150390625, 0.023101806640625, 0.008514404296875, 0.01096343994140625 ]
53787fe672a5d9d214c766babde8608548677b6f
Wordpress Stackexchange Q: change default 'post' slug with register_post_type_args I'm trying to change the default slug for default wordpress post. With register_post_type works fine with this code: add_action( 'init', 'my_new_default_post_type', 1 ); function my_new_default_post_type() { register_post_type( 'post', array( 'rewrite' => array( 'slug' => 'blog' ), ) ); } But with recent register_post_type_args is not possible. This is my code: add_filter( 'register_post_type_args', 'new_register_post_type_args', 10, 2 ); function new_register_post_type_args( $args, $post_type ) { if ( 'post' === $post_type ) { $args['rewrite']['slug'] = 'blog'; } return $args; } Any ideas?
Q: change default 'post' slug with register_post_type_args I'm trying to change the default slug for default wordpress post. With register_post_type works fine with this code: add_action( 'init', 'my_new_default_post_type', 1 ); function my_new_default_post_type() { register_post_type( 'post', array( 'rewrite' => array( 'slug' => 'blog' ), ) ); } But with recent register_post_type_args is not possible. This is my code: add_filter( 'register_post_type_args', 'new_register_post_type_args', 10, 2 ); function new_register_post_type_args( $args, $post_type ) { if ( 'post' === $post_type ) { $args['rewrite']['slug'] = 'blog'; } return $args; } Any ideas?
wordpress
{ "language": "en", "length": 85, "provenance": "stackexchange_00019.jsonl.gz:475376", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264007" }
[ 0.01983642578125, -0.03009033203125, 0.0274810791015625, 0.02288818359375, -0.029449462890625, -0.0133819580078125, 0.06573486328125, -0.048370361328125, -0.04736328125, 0.009124755859375, -0.01042938232421875, 0.00557708740234375, -0.046295166015625, -0.0204925537109375, 0.01248931884765625, -0.0596923828125, 0.031097412109375, 0.0016994476318359375, 0.0228729248046875, -0.033355712890625, 0.021087646484375, -0.019287109375, 0.04339599609375, 0.07470703125, 0.0121612548828125, 0.003875732421875, 0.054901123046875, -0.04119873046875, 0.01251983642578125, -0.0285491943359375, 0.02392578125, 0.0017299652099609375, 0.0219268798828125, -0.00946807861328125, 0.005084991455078125, 0.01367950439453125, -0.01395416259765625, 0.007106781005859375, 0.0303955078125, -0.00263214111328125, 0.009002685546875, -0.0026607513427734375, 0.01593017578125, 0.01012420654296875, -0.0258636474609375, -0.0202484130859375, 0.0004820823669433594, -0.01311492919921875, 0.0153656005859375, -0.0278167724609375, -0.004543304443359375, 0.0216522216796875, 0.0187530517578125, -0.0693359375, -0.00920867919921875, -0.00684356689453125, -0.002044677734375, 0.030242919921875, 0.04791259765625, -0.016876220703125, -0.030670166015625, -0.0015926361083984375, 0.0183563232421875, -0.021209716796875, 0.00946807861328125, 0.006595611572265625, -0.01493072509765625, 0.0178985595703125, -0.045135498046875, 0.006465911865234375, 0.03485107421875, -0.0621337890625, 0.0027751922607421875, -0.00472259521484375, -0.0007700920104980469, -0.033538818359375, 0.020294189453125, -0.01357269287109375, -0.0010089874267578125, 0.026580810546875, 0.017486572265625, -0.03521728515625, 0.051727294921875, -0.014373779296875, -0.00460052490234375, -0.01413726806640625, -0.01055908203125, -0.01232147216796875, -0.0217742919921875, -0.026763916015625, -0.0128326416015625, -0.01395416259765625, -0.018402099609375, 0.0006690025329589844, -0.013397216796875, -0.02496337890625, 0.01224517822265625, -0.0123748779296875, -0.006664276123046875, 0.0074920654296875, 0.0130767822265625, -0.06475830078125, 0.050018310546875, -0.0095062255859375, 0.0281524658203125, 0.0775146484375, -0.01364898681640625, -0.00511932373046875, 0.0372314453125, 0.0238494873046875, 0.04071044921875, 0.0341796875, -0.013214111328125, -0.003704071044921875, -0.0489501953125, 0.01082611083984375, -0.035980224609375, -0.0224456787109375, -0.006252288818359375, 0.00955963134765625, 0.00868988037109375, 0.0374755859375, 0.057769775390625, -0.051788330078125, 0.0161590576171875, 0.0070648193359375, -0.0250701904296875, -0.08013916015625, -0.017547607421875, 0.024200439453125, -0.040557861328125, -0.00469207763671875, 0.10552978515625, 0.042510986328125, 0.0206298828125, -0.0298004150390625, 0.005489349365234375, -0.031585693359375, -0.0018444061279296875, 0.0170135498046875, 0.009857177734375, -0.028717041015625, -0.00354766845703125, 0.01380157470703125, 0.0535888671875, 0.0285797119140625, 0.004009246826171875, -0.0051727294921875, 0.013092041015625, 0.02166748046875, -0.031829833984375, -0.01473236083984375, 0.0269317626953125, 0.036163330078125, -0.01174163818359375, -0.00405120849609375, 0.021820068359375, -0.0211029052734375, -0.0281524658203125, -0.04522705078125, -0.004856109619140625, -0.015655517578125, -0.0133056640625, -0.04754638671875, -0.07867431640625, 0.049041748046875, -0.0179595947265625, -0.019561767578125, 0.015655517578125, -0.0305938720703125, 0.0013065338134765625, 0.0109710693359375, 0.0069732666015625, 0.0093841552734375, 0.01358795166015625, 0.01189422607421875, -0.023468017578125, 0.00521087646484375, 0.030853271484375, 0.041534423828125, 0.01415252685546875, -0.02496337890625, 0.027099609375, 0.018157958984375, -0.06402587890625, 0.0283660888671875, 0.0137786865234375, 0.02880859375, 0.0170135498046875, -0.0003762245178222656, 0.039581298828125, 0.0182647705078125, -0.04052734375, 0.02655029296875, -0.00632476806640625, -0.021697998046875, 0.0002586841583251953, -0.00913238525390625, -0.0068206787109375, 0.006328582763671875, -0.0268402099609375, 0.00930023193359375, -0.0284576416015625, 0.0312042236328125, -0.0283660888671875, -0.0246124267578125, 0.0111236572265625, 0.02490234375, 0.02886962890625, 0.01018524169921875, -0.0012187957763671875, -0.0105438232421875, -0.0136260986328125, -0.0137176513671875, -0.0430908203125, 0.037200927734375, -0.017974853515625, -0.010772705078125, -0.0265045166015625, 0.02166748046875, -0.05596923828125, 0.006542205810546875, -0.0572509765625, 0.010009765625, 0.06524658203125, -0.040191650390625, 0.0022182464599609375, -0.053253173828125, 0.03131103515625, -0.0078887939453125, -0.06951904296875, 0.048919677734375, 0.0020236968994140625, -0.03057861328125, -0.053741455078125, 0.01074981689453125, 0.01161956787109375, 0.0005178451538085938, 0.00405120849609375, 0.0517578125, 0.001743316650390625, 0.02667236328125, -0.00267791748046875, 0.039886474609375, 0.0350341796875, 0.0006127357482910156, 0.0208892822265625, 0.0125732421875, 0.00603485107421875, 0.036773681640625, 0.01413726806640625, 0.035552978515625, 0.0182647705078125, 0.0183563232421875, 0.0217132568359375, 0.03076171875, -0.0179595947265625, -0.048919677734375, 0.0020732879638671875, 0.003711700439453125, 0.0020503997802734375, -0.0693359375, -0.03558349609375, -0.0268707275390625, 0.01010894775390625, 0.004947662353515625, 0.008331298828125, 0.0028285980224609375, -0.0423583984375, 0.017181396484375, 0.024322509765625, -0.00244140625, -0.01425933837890625, 0.01403045654296875, 0.058197021484375, 0.006191253662109375, -0.04443359375, -0.0030307769775390625, 0.02484130859375, 0.007572174072265625, -0.0164642333984375, 0.0172882080078125, -0.0080108642578125, -0.0071258544921875, -0.0184478759765625, -0.0716552734375, 0.02154541015625, 0.0205841064453125, 0.0007634162902832031, -0.045867919921875, 0.0010509490966796875, 0.01146697998046875, -0.036712646484375, 0.0254364013671875, 0.02392578125, -0.03662109375, 0.0174407958984375, -0.0723876953125, 0.06939697265625, -0.0562744140625, 0.039703369140625, 0.059722900390625, -0.034515380859375, 0.023590087890625, 0.01336669921875, 0.018951416015625, -0.006641387939453125, 0.0293731689453125, -0.004314422607421875, -0.0049591064453125, -0.057891845703125, 0.0021076202392578125, 0.0078125, 0.0017232894897460938, -0.0084228515625, -0.0125885009765625, -0.0093231201171875, -0.0092315673828125, -0.050384521484375, -0.004276275634765625, -0.0291748046875, -0.0535888671875, -0.01751708984375, -0.0154266357421875, -0.022247314453125, 0.00870513916015625, -0.0037708282470703125, 0.00559234619140625, 0.035797119140625, -0.01275634765625, -0.06585693359375, -0.032073974609375, -0.076904296875, -0.0104217529296875, -0.01061248779296875, 0.0187530517578125, 0.01458740234375, 0.05706787109375, 0.01120758056640625, -0.04327392578125, 0.031494140625, 0.004131317138671875, -0.024383544921875, 0.007167816162109375, 0.00814056396484375, -0.04046630859375, 0.00936126708984375, -0.0213470458984375, 0.05487060546875, 0.048126220703125, -0.0193023681640625, 0.00884246826171875, -0.00536346435546875, -0.0184173583984375, -0.00920867919921875, 0.04852294921875, 0.01515960693359375, -0.030609130859375, 0.0013113021850585938, -0.050567626953125, -0.0288848876953125, -0.00753021240234375, -0.04681396484375, 0.0253448486328125, -0.00800323486328125, 0.0177001953125, -0.00850677490234375, 0.044189453125, -0.026397705078125, 0.002471923828125, 0.06915283203125, -0.04608154296875, 0.039794921875, -0.022674560546875, -0.053619384765625, -0.042510986328125, 0.01226043701171875, -0.0197906494140625, -0.040740966796875, -0.0124969482421875, 0.02166748046875, -0.005229949951171875, -0.00318145751953125, -0.03607177734375, -0.08245849609375, 0.0426025390625, -0.060699462890625, -0.025146484375, -0.0290679931640625, -0.0051116943359375, 0.0052490234375, 0.07196044921875, -0.0216522216796875, -0.01708984375, -0.005092620849609375, -0.0030193328857421875, 0.021087646484375, -0.042724609375, -0.0189971923828125, -0.02886962890625, -0.007720947265625, -0.00994873046875, -0.005764007568359375, -0.01141357421875, -0.0208892822265625, 0.014190673828125, -0.007572174072265625, -0.022735595703125, 0.058990478515625, -0.0433349609375, 0.01047515869140625, 0.03887939453125, 0.01473236083984375, 0.0017023086547851562, -0.0513916015625, 0.0010662078857421875, -0.09576416015625, -0.0301971435546875, 0.0207366943359375, 0.07147216796875, -0.006805419921875, -0.0275726318359375, -0.0152130126953125, 0.05059814453125, 0.0204925537109375, 0.022369384765625, 0.00009191036224365234, -0.00716400146484375, -0.0113677978515625, 0.007244110107421875, 0.0099029541015625, -0.006557464599609375, -0.005962371826171875, -0.002216339111328125, -0.06365966796875, 0.027801513671875, -0.00766754150390625, 0.0350341796875, 0.03411865234375, -0.040130615234375, -0.044891357421875, -0.0242919921875, 0.0019741058349609375, 0.0162811279296875, 0.007293701171875, 0.00431060791015625, -0.043243408203125, -0.047210693359375, 0.057952880859375, -0.01338958740234375, -0.015411376953125, -0.0082855224609375, 0.0972900390625, 0.0172271728515625, -0.0168609619140625, 0.0029144287109375, -0.0029659271240234375, 0.0010700225830078125, -0.003997802734375, 0.035797119140625, -0.007312774658203125, 0.026153564453125, 0.00885009765625, -0.038726806640625, -0.038116455078125, -0.01708984375, 0.055694580078125, 0.007778167724609375, 0.00882720947265625, -0.0170440673828125, -0.041748046875, 0.060577392578125, 0.030059814453125, -0.00870513916015625, -0.0159759521484375, -0.0108489990234375, 0.0579833984375, -0.0029850006103515625, -0.00861358642578125, -0.081298828125, -0.03668212890625, 0.0245208740234375, 0.0037708282470703125, -0.0041961669921875, 0.00038361549377441406, 0.002147674560546875, 0.0049896240234375, -0.00543212890625, 0.00002288818359375, -0.006565093994140625, 0.01119232177734375, 0.0209808349609375, 0.024627685546875, 0.0243377685546875, 0.01401519775390625, -0.03564453125, -0.00530242919921875, 0.00951385498046875, 0.0096282958984375, -0.0447998046875, 0.0040130615234375, -0.01123046875, 0.034027099609375, -0.0009679794311523438, 0.004199981689453125, 0.055999755859375, 0.05841064453125, 0.01107025146484375, -0.021240234375, -0.051300048828125, 0.040313720703125, -0.053466796875, 0.01174163818359375, 0.006122589111328125, -0.0036640167236328125, 0.0079803466796875, 0.046600341796875, 0.041534423828125, 0.0174407958984375, -0.0276336669921875, -0.0016241073608398438, -0.0162811279296875, 0.03729248046875, 0.03082275390625, 0.00020682811737060547, -0.01690673828125, 0.00978851318359375, 0.0113525390625, -0.027984619140625, -0.01175689697265625, -0.00946807861328125, 0.0195770263671875, -0.0220794677734375, -0.011871337890625, 0.041259765625, -0.017333984375, 0.00762176513671875, -0.01280975341796875, -0.041259765625, -0.049957275390625, -0.002918243408203125, 0.03729248046875, 0.03326416015625, -0.037872314453125, -0.033355712890625, 0.022857666015625, -0.032012939453125, 0.037078857421875, -0.020477294921875, -0.0025463104248046875, 0.01409149169921875, 0.01922607421875, 0.017547607421875, -0.03594970703125, -0.006183624267578125, -0.006076812744140625, 0.01410675048828125, -0.032196044921875, -0.010345458984375, 0.05145263671875, -0.010589599609375, 0.048614501953125, -0.0232086181640625, -0.0275115966796875, 0.0309600830078125, 0.0017557144165039062, 0.0626220703125, 0.013458251953125, -0.0092926025390625, 0.008758544921875, -0.061798095703125, -0.01519012451171875, 0.01195526123046875, -0.0419921875, -0.038299560546875, -0.03839111328125, 0.00547027587890625, 0.0262298583984375, -0.01511383056640625, -0.00930023193359375, -0.0182342529296875, 0.010467529296875, 0.01139068603515625, 0.05743408203125, -0.0171356201171875, 0.01107025146484375, 0.01102447509765625, -0.00420379638671875, -0.02069091796875, -0.028778076171875, -0.021240234375, -0.0007691383361816406, -0.016510009765625, -0.06298828125, -0.007480621337890625, 0.022491455078125, -0.062255859375, 0.05035400390625, 0.0672607421875, 0.0088958740234375, 0.00974273681640625, -0.006122589111328125, -0.00649261474609375, -0.0128631591796875, -0.00153350830078125, -0.004161834716796875, 0.0372314453125, -0.0029621124267578125, 0.007472991943359375, 0.03564453125, -0.0174407958984375, 0.01291656494140625, -0.01031494140625, -0.0156402587890625, -0.01045989990234375, 0.001476287841796875, -0.0594482421875, 0.04248046875, 0.03912353515625, 0.0027675628662109375, 0.029510498046875, 0.00431060791015625, 0.00516510009765625, 0.032928466796875, -0.0215911865234375, 0.01568603515625, 0.0198516845703125, 0.041961669921875, -0.005092620849609375, 0.002010345458984375, 0.0211181640625, -0.0248870849609375, 0.0196685791015625, 0.06317138671875, 0.06097412109375, -0.09405517578125, 0.01323699951171875, 0.0289459228515625, 0.0079498291015625, 0.051605224609375, 0.011505126953125, -0.0245208740234375, 0.026275634765625, 0.0169677734375, -0.0771484375, -0.0419921875, 0.00923919677734375, 0.016143798828125, 0.00008016824722290039, 0.00736236572265625, 0.053985595703125, 0.0159149169921875, -0.009246826171875, 0.0025081634521484375, -0.01032257080078125, 0.01873779296875, -0.0277557373046875, 0.01358795166015625, -0.0235595703125, -0.0074005126953125, -0.0870361328125, 0.014923095703125, -0.0285186767578125, 0.0021419525146484375, 0.040496826171875, -0.03472900390625, 0.01271820068359375, 0.048126220703125, -0.0180206298828125, 0.01436614990234375, 0.0103607177734375, -0.0244293212890625, -0.043212890625, -0.0226898193359375, 0.002941131591796875, 0.043609619140625, -0.01611328125, 0.033966064453125, -0.00971221923828125, -0.027069091796875, -0.0030059814453125, -0.053314208984375, 0.03955078125, -0.04571533203125, 0.007904052734375, 0.0219879150390625, 0.03143310546875, 0.0002353191375732422, -0.007568359375, -0.0174560546875, -0.037994384765625, -0.0322265625, -0.0225677490234375, -0.0599365234375, -0.01678466796875, -0.056121826171875, -0.06494140625, 0.11822509765625, 0.01399993896484375, 0.03521728515625, -0.00717926025390625, 0.042755126953125, -0.026275634765625, 0.026885986328125, -0.038177490234375, 0.034881591796875, 0.00665283203125, 0.04840087890625, -0.015380859375, 0.0015697479248046875, 0.0236663818359375, 0.01482391357421875, 0.07568359375, 0.00827789306640625, -0.014404296875, -0.004894256591796875, 0.05584716796875, 0.0267333984375, -0.0116424560546875, 0.031036376953125, -0.00969696044921875, 0.032012939453125, 0.037628173828125, -0.044158935546875, 0.02178955078125, 0.01047515869140625, -0.02606201171875, 0.00936126708984375, 0.0209197998046875, 0.016937255859375, 0.018890380859375, 0.011993408203125, -0.03521728515625, 0.00835418701171875, 0.034881591796875, -0.00397491455078125, -0.015716552734375, 0.0697021484375, 0.057708740234375, -0.045562744140625, -0.00969696044921875, -0.047698974609375, 0.06427001953125, 0.0029582977294921875, -0.0296783447265625, 0.0263519287109375, 0.00815582275390625, 0.0006184577941894531, -0.0310821533203125, -0.02313232421875, 0.005809783935546875, -0.0120086669921875, 0.06744384765625, 0.024322509765625, 0.01343536376953125, -0.04083251953125, 0.0182342529296875, 0.055877685546875, 0.06939697265625, -0.059539794921875, -0.0254058837890625, 0.0278778076171875, 0.02349853515625, -0.01067352294921875, -0.03179931640625, 0.0027523040771484375, -0.0654296875, -0.01197052001953125, -0.057281494140625, -0.01181793212890625, 0.0163726806640625, 0.024322509765625, -0.035400390625, -0.0633544921875, 0.0034770965576171875, -0.00897216796875, -0.036468505859375, 0.01494598388671875, 0.01033782958984375, 0.06329345703125, 0.00731658935546875, 0.05657958984375, -0.0355224609375, -0.021942138671875, 0.01035308837890625, 0.0192108154296875, -0.01078033447265625, -0.004924774169921875, -0.032012939453125, -0.0423583984375, -0.0226593017578125, 0.039306640625, 0.034759521484375, 0.0031795501708984375, 0.0428466796875, 0.003475189208984375, -0.049468994140625, -0.009857177734375, 0.02197265625, -0.02587890625, 0.0241546630859375, -0.033721923828125, 0.0118865966796875, -0.01033782958984375, -0.019287109375, -0.006572723388671875, 0.01013946533203125, 0.0155029296875, -0.0108795166015625, 0.03143310546875, 0.00893402099609375, -0.005977630615234375, 0.059844970703125, 0.03759765625, 0.054718017578125, 0.031280517578125, -0.0626220703125, -0.0175628662109375, -0.0243682861328125, -0.0909423828125, 0.0511474609375, 0.053741455078125, -0.0217742919921875, -0.0009098052978515625, -0.0005283355712890625, 0.0157623291015625, 0.00957489013671875, -0.028656005859375, -0.0085601806640625, -0.010650634765625, 0.0252838134765625, 0.0009236335754394531, -0.050323486328125, -0.031829833984375, -0.0175018310546875, 0.015625, -0.01161956787109375, 0.0960693359375, -0.0181884765625, -0.00809478759765625, -0.0306396484375, 0.0165252685546875, -0.0267333984375, -0.01678466796875, -0.0010404586791992188, 0.0028820037841796875, -0.0022907257080078125, 0.0032062530517578125, -0.0017423629760742188, 0.003459930419921875, 0.053741455078125, -0.0390625, 0.004474639892578125, -0.019927978515625, 0.0103302001953125, -0.043609619140625, -0.005199432373046875, -0.041961669921875, -0.063232421875, -0.06744384765625, 0.01369476318359375, 0.00408172607421875, -0.0074615478515625, -0.029693603515625, 0.04364013671875, -0.04095458984375, -0.040374755859375, -0.00493621826171875, -0.0479736328125, -0.03619384765625, 0.02130126953125, 0.0206298828125, -0.023529052734375, 0.01297760009765625, -0.010162353515625, 0.00017511844635009766, 0.0185699462890625, 0.0223541259765625, -0.00910186767578125, -0.01203155517578125, -0.039337158203125, -0.0223236083984375, 0.0195465087890625, -0.02142333984375, 0.01947021484375, -0.038330078125, 0.00926971435546875, 0.0091400146484375, -0.0206146240234375, -0.0272216796875, -0.034942626953125, -0.004039764404296875, 0.01445770263671875, -0.0190887451171875, -0.0404052734375, -0.03411865234375, 0.01016998291015625, 0.0325927734375, -0.0285797119140625, 0.007427215576171875, 0.006832122802734375, -0.052001953125, 0.0247802734375, -0.00701904296875, -0.0784912109375, 0.0233001708984375, -0.0030364990234375, -0.0338134765625, 0.012542724609375, -0.054931640625, -0.05584716796875, -0.037200927734375, 0.033355712890625, 0.058746337890625, -0.035797119140625, -0.041748046875, 0.0066375732421875, -0.00023686885833740234, 0.0650634765625, -0.0261383056640625, -0.007236480712890625, 0.0165863037109375, 0.01580810546875, -0.0330810546875, -0.0850830078125, 0.0158538818359375, -0.08074951171875, -0.00505828857421875, -0.015380859375, 0.004116058349609375, 0.028717041015625, -0.023590087890625, -0.04351806640625, 0.072265625, -0.023193359375, -0.0125274658203125, -0.0723876953125, 0.0460205078125, 0.01430511474609375, -0.007171630859375, -0.014312744140625, -0.021820068359375, -0.0180816650390625, 0.01885986328125, -0.0029315948486328125, 0.061859130859375, -0.0011091232299804688, 0.000507354736328125, 0.04229736328125, 0.0267486572265625, 0.0247039794921875, -0.0306396484375, 0.057037353515625, -0.039337158203125, 0.034454345703125, 0.056121826171875, -0.04962158203125, -0.03875732421875, -0.0391845703125, -0.014404296875, -0.0060577392578125, -0.03857421875, -0.04168701171875, -0.00855255126953125, 0.0810546875, 0.056915283203125, 0.0211334228515625, -0.03741455078125, -0.0287322998046875, -0.019775390625, -0.0293731689453125, -0.00968170166015625, 0.0401611328125, -0.0821533203125, -0.00630950927734375, 0.024658203125, 0.0140838623046875, -0.0367431640625, -0.01154327392578125, -0.00698089599609375, -0.027374267578125, 0.005504608154296875, 0.0015916824340820312, 0.01398468017578125, 0.0227813720703125, 0.009521484375, 0.0087890625, 0.058258056640625, -0.0275726318359375, 0.01422882080078125, 0.038604736328125, 0.020050048828125, -0.0130462646484375, 0.00936126708984375, 0.0004374980926513672, -0.00301361083984375, 0.0186920166015625, -0.01113128662109375, 0.029541015625, 0.01155853271484375, -0.015106201171875, 0.01210784912109375, 0.009124755859375, 0.026214599609375, 0.00887298583984375, 0.034942626953125, 0.01004791259765625, 0.02423095703125, 0.0161590576171875, -0.0265960693359375, 0.00455474853515625, 0.0241546630859375, -0.0311431884765625, -0.005878448486328125, -0.0131378173828125, -0.036346435546875, 0.01177978515625, 0.003986358642578125, 0.0223236083984375, -0.0078582763671875, 0.0224456787109375, 0.017486572265625, -0.0089111328125, 0.00689697265625 ]
afc96642a9ff68bfc9bafd771caff3e2aff6b0d7
Wordpress Stackexchange Q: Redirect loop when trying to login to /wp-admin/ Stuck in an infinite loop when trying to log in to my wordpress site. I type in the URL/wp-admin and then it loops me back to the regular website, not the admin login page. I have tried with http and https to no luck... A: Don't worry, you'll be back in quick if you follow these steps one at a time, until one succeeds! * *Clear you cookies - Clear your local browser cookies (follow instructions for whatever browser you are using. *Deactivate All Plugins - Rename /wp-content/plugins/ directory to plugins_OLD *Revert Back to the Default Theme - Go to /wp-content/themes/ directory and rename your current theme directory to anything (like theme_OLD). *"Delete" .htaccess File - Again using FTP software, rename this to .htaccess_OLD *Update Site URL - In wp-config.php add these lines (using your url of course): define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com');
Q: Redirect loop when trying to login to /wp-admin/ Stuck in an infinite loop when trying to log in to my wordpress site. I type in the URL/wp-admin and then it loops me back to the regular website, not the admin login page. I have tried with http and https to no luck... A: Don't worry, you'll be back in quick if you follow these steps one at a time, until one succeeds! * *Clear you cookies - Clear your local browser cookies (follow instructions for whatever browser you are using. *Deactivate All Plugins - Rename /wp-content/plugins/ directory to plugins_OLD *Revert Back to the Default Theme - Go to /wp-content/themes/ directory and rename your current theme directory to anything (like theme_OLD). *"Delete" .htaccess File - Again using FTP software, rename this to .htaccess_OLD *Update Site URL - In wp-config.php add these lines (using your url of course): define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com'); A: I've just solved an issue with this symptom. The 8 key and salt values must be present in the wp-config.php file or admin doesn't work. I had these in the file, but because of how I dynamically generated wp-config.php the values were appended at the bottom of the file. Any constant definitions (define()) must be placed above the /* That's all, stop editing! Happy blogging. */ line. Wordpress gave no error or logs to indicate it was missing config items. This also stopped 'WP_DEBUG', true working. Once I moved all of these higher in the wp-config.php file everything started working. A: I found a solution. In wp-config.php add: define('FORCE_SSL_ADMIN', false); In my situation, I migrated to https from http, and use plugin Rename wp-login.php My wp-config.php contained the lines: define('WP_SITEURL','https://example.com'); define('WP_HOME','https://example.com'); Without the line define('FORCE_SSL_ADMIN', false);, a redirect loop occurs. A: I spend hours trying to resolve this, did everything. Eventually notice a log about group write permissions on the wp-login.php file. Looked and the server file permissions were 664 .. changed them to 644 and problem solved. A: I had the same issue after moving my site from a production host to localhost for dev testing. Steps that work for me in production didn't work locally. For instance, when using Chrome as my browser, entering http://localhost/wp/wp-admin would redirect to http://localhost/wp/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwp%2Fwpcurrent%2Fwp-admin%2F&reauth=1. Entering my username/password would redirect back to the second link with a new username/password prompt. Firefox resolution: add to wp-config.php: define('WP_HOME','http://your_url.com'); define('WP_SITEURL','http://your_url.com'); Chrome resolution: Remove the redirect querystring from the login page: e.g. http://localhost/wp/wp-login.php . Yes, I'm fairly new to Wordpress and I'm not 100% certain of the internal route for logins and redirects after authentication, so much trial and error was involved to find these two solutions. Hopefully they can help someone else.
wordpress
{ "language": "en", "length": 445, "provenance": "stackexchange_00019.jsonl.gz:475392", "question_score": "13", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264070" }
[ 0.03594970703125, 0.007671356201171875, 0.016357421875, 0.01727294921875, 0.021209716796875, -0.033599853515625, 0.060943603515625, -0.060699462890625, -0.0015439987182617188, 0.0291900634765625, -0.0038623809814453125, 0.0015544891357421875, -0.0038661956787109375, -0.02984619140625, -0.0004143714904785156, -0.01541900634765625, 0.01261138916015625, 0.004489898681640625, 0.0210418701171875, 0.00848388671875, 0.0010328292846679688, 0.03057861328125, -0.0054168701171875, -0.045318603515625, -0.0187530517578125, -0.0019664764404296875, 0.0887451171875, -0.0430908203125, -0.014984130859375, -0.0311279296875, -0.00582122802734375, 0.006877899169921875, 0.0126800537109375, 0.0594482421875, -0.04931640625, -0.06573486328125, -0.01548004150390625, 0.0168304443359375, -0.01361083984375, 0.01541900634765625, 0.0209503173828125, -0.00695037841796875, -0.00897979736328125, 0.0411376953125, -0.032135009765625, -0.0237884521484375, 0.00135040283203125, -0.033233642578125, -0.0087890625, -0.007656097412109375, 0.00713348388671875, -0.0222015380859375, 0.00952911376953125, 0.0165557861328125, -0.017120361328125, -0.0186309814453125, 0.005886077880859375, -0.0173492431640625, 0.033447265625, -0.0498046875, -0.04071044921875, -0.046051025390625, 0.04156494140625, 0.009857177734375, -0.0033931732177734375, 0.0115814208984375, 0.00927734375, 0.019378662109375, -0.01015472412109375, -0.0018167495727539062, -0.0123748779296875, -0.022064208984375, -0.0182647705078125, -0.0279388427734375, -0.0279693603515625, 0.012542724609375, 0.01261138916015625, -0.0002968311309814453, 0.00673675537109375, 0.00711822509765625, -0.00934600830078125, -0.005908966064453125, -0.0238189697265625, -0.0218048095703125, 0.0121612548828125, 0.016845703125, -0.0217742919921875, -0.0288238525390625, -0.0177154541015625, -0.0210418701171875, -0.0289306640625, -0.0133209228515625, 0.0032196044921875, -0.0102996826171875, -0.0316162109375, -0.0184478759765625, 0.0168304443359375, -0.01250457763671875, 0.0274200439453125, -0.0075225830078125, -0.039459228515625, -0.0249786376953125, -0.036102294921875, 0.0090484619140625, 0.002544403076171875, 0.0294189453125, 0.0298919677734375, 0.057525634765625, 0.038421630859375, 0.01337432861328125, 0.01171112060546875, 0.04449462890625, -0.03594970703125, -0.0386962890625, -0.0052642822265625, 0.032684326171875, -0.034515380859375, -0.006134033203125, 0.007793426513671875, -0.0012445449829101562, -0.06390380859375, -0.01971435546875, 0.0194854736328125, 0.0022220611572265625, -0.003566741943359375, -0.017333984375, 0.0102996826171875, -0.0174407958984375, -0.0172882080078125, 0.0006432533264160156, -0.0333251953125, 0.006572723388671875, 0.058502197265625, 0.045928955078125, 0.02783203125, -0.016693115234375, 0.04132080078125, 0.00948333740234375, -0.0163421630859375, 0.021209716796875, -0.0006361007690429688, -0.030548095703125, -0.045196533203125, -0.019073486328125, 0.02252197265625, 0.06951904296875, 0.01378631591796875, -0.0233306884765625, -0.00792694091796875, -0.0660400390625, 0.00518035888671875, -0.0318603515625, 0.004329681396484375, 0.036865234375, 0.0457763671875, -0.0026302337646484375, 0.0694580078125, -0.031402587890625, 0.0008907318115234375, -0.015594482421875, -0.01012420654296875, -0.00783538818359375, 0.0227203369140625, -0.004085540771484375, -0.03192138671875, 0.0024623870849609375, -0.032440185546875, -0.0193328857421875, 0.022003173828125, 0.022674560546875, 0.019317626953125, -0.005435943603515625, 0.0007486343383789062, 0.008148193359375, 0.0002753734588623047, -0.0034618377685546875, -0.0160369873046875, -0.0028705596923828125, 0.02703857421875, 0.020904541015625, 0.008514404296875, -0.00966644287109375, -0.009613037109375, 0.0338134765625, -0.04339599609375, 0.0013799667358398438, 0.0017671585083007812, 0.0307464599609375, 0.0185546875, 0.00357818603515625, 0.03045654296875, -0.007373809814453125, -0.04302978515625, 0.052764892578125, -0.044525146484375, -0.041351318359375, -0.0131683349609375, 0.002532958984375, -0.03997802734375, 0.00238037109375, -0.0051116943359375, 0.022979736328125, -0.043426513671875, -0.01128387451171875, -0.0295562744140625, -0.0178985595703125, 0.01071929931640625, 0.022857666015625, 0.0654296875, 0.040130615234375, -0.0206298828125, 0.00931549072265625, -0.01212310791015625, -0.032562255859375, -0.042449951171875, 0.0102691650390625, -0.0236663818359375, 0.048828125, -0.00018644332885742188, 0.059173583984375, 0.003997802734375, -0.0280914306640625, -0.019500732421875, -0.04986572265625, 0.017486572265625, 0.002933502197265625, -0.030914306640625, -0.0011873245239257812, -0.001605987548828125, -0.00279998779296875, -0.03228759765625, 0.055389404296875, 0.006622314453125, -0.005126953125, -0.0712890625, -0.0027599334716796875, -0.044158935546875, -0.01953125, -0.00848388671875, 0.042724609375, 0.04425048828125, 0.0220794677734375, -0.0222930908203125, -0.005802154541015625, -0.0038394927978515625, -0.09564208984375, -0.0011472702026367188, 0.0038089752197265625, 0.015380859375, 0.054901123046875, 0.01552581787109375, 0.016357421875, 0.01348114013671875, 0.0083465576171875, 0.0084991455078125, 0.03558349609375, -0.01324462890625, -0.0116424560546875, -0.048004150390625, 0.01560211181640625, 0.005512237548828125, -0.043060302734375, -0.0304718017578125, -0.0205535888671875, -0.0283966064453125, -0.02105712890625, -0.01157379150390625, -0.01904296875, -0.0022907257080078125, -0.0286865234375, 0.030242919921875, -0.021881103515625, -0.0136260986328125, -0.01430511474609375, 0.048065185546875, -0.0733642578125, -0.053314208984375, 0.0140838623046875, 0.038604736328125, -0.023834228515625, -0.01934814453125, 0.0218353271484375, -0.028564453125, -0.0195159912109375, -0.01456451416015625, -0.0228118896484375, 0.01175689697265625, 0.00928497314453125, 0.0232391357421875, 0.007228851318359375, 0.034271240234375, -0.010284423828125, -0.031890869140625, 0.04718017578125, -0.0217742919921875, -0.04638671875, 0.0104217529296875, -0.028656005859375, 0.03363037109375, -0.005615234375, 0.053375244140625, 0.07330322265625, 0.01238250732421875, 0.0178680419921875, 0.020263671875, -0.00783538818359375, 0.01287841796875, 0.02685546875, 0.01055145263671875, 0.00988006591796875, -0.0545654296875, 0.00933837890625, 0.04803466796875, 0.0283355712890625, 0.054595947265625, -0.01129150390625, 0.0134735107421875, 0.050445556640625, -0.07806396484375, -0.10345458984375, -0.06182861328125, -0.07232666015625, 0.03680419921875, 0.01142120361328125, -0.0114288330078125, 0.000013709068298339844, 0.039886474609375, 0.021392822265625, 0.0242767333984375, -0.01264190673828125, -0.07861328125, -0.062225341796875, -0.0859375, -0.0548095703125, -0.0238800048828125, 0.0282135009765625, 0.0173187255859375, -0.007373809814453125, -0.012481689453125, -0.048309326171875, -0.0008711814880371094, 0.025054931640625, -0.0064697265625, -0.0290374755859375, -0.071044921875, 0.01486968994140625, 0.00931549072265625, 0.000008344650268554688, 0.009979248046875, -0.0218505859375, 0.03515625, -0.014251708984375, -0.004711151123046875, -0.049896240234375, 0.01457977294921875, -0.03912353515625, -0.01424407958984375, -0.0207977294921875, 0.002223968505859375, -0.06512451171875, 0.0260009765625, 0.01178741455078125, -0.007228851318359375, 0.01308441162109375, 0.006542205810546875, -0.037933349609375, 0.026092529296875, -0.03009033203125, -0.0058746337890625, -0.01546478271484375, -0.01424407958984375, -0.039031982421875, 0.07696533203125, -0.007244110107421875, 0.00839996337890625, 0.0012445449829101562, 0.031829833984375, -0.02410888671875, -0.0340576171875, -0.0092010498046875, -0.0135498046875, -0.00818634033203125, -0.021514892578125, -0.03448486328125, -0.07415771484375, 0.051055908203125, -0.027069091796875, 0.011138916015625, -0.044952392578125, -0.034088134765625, -0.028656005859375, 0.106689453125, -0.049591064453125, 0.01605224609375, -0.00957489013671875, 0.0169525146484375, -0.01140594482421875, -0.03704833984375, -0.0643310546875, -0.0157318115234375, -0.0869140625, 0.007602691650390625, -0.0236968994140625, -0.00701904296875, 0.007904052734375, -0.0310211181640625, -0.0288238525390625, -0.0665283203125, 0.0187225341796875, -0.00817108154296875, 0.0238189697265625, -0.025909423828125, 0.023590087890625, -0.0494384765625, 0.039794921875, -0.034210205078125, -0.09967041015625, -0.031585693359375, 0.008087158203125, 0.10650634765625, 0.01242828369140625, -0.00144195556640625, -0.025299072265625, 0.059600830078125, -0.00043773651123046875, 0.00691986083984375, 0.0027675628662109375, -0.006221771240234375, 0.0007905960083007812, 0.036834716796875, 0.005767822265625, -0.00034165382385253906, -0.015899658203125, -0.057342529296875, -0.014892578125, -0.006786346435546875, -0.021270751953125, -0.003757476806640625, -0.00467681884765625, 0.005260467529296875, -0.00537872314453125, -0.006195068359375, -0.0174713134765625, 0.00814056396484375, 0.002552032470703125, 0.007534027099609375, -0.0172576904296875, -0.033599853515625, 0.05322265625, -0.018035888671875, -0.0333251953125, 0.0193328857421875, 0.06121826171875, 0.003658294677734375, -0.0182647705078125, -0.0404052734375, 0.00678253173828125, 0.01143646240234375, -0.01052093505859375, 0.09564208984375, 0.0188751220703125, 0.0166015625, 0.0802001953125, -0.013275146484375, 0.001476287841796875, 0.01605224609375, 0.03472900390625, -0.005275726318359375, -0.029937744140625, 0.003948211669921875, -0.0276031494140625, -0.0192413330078125, 0.0396728515625, 0.0162811279296875, -0.0181884765625, -0.0026454925537109375, 0.01605224609375, 0.0190277099609375, -0.044586181640625, -0.026885986328125, -0.055877685546875, 0.02398681640625, -0.01739501953125, 0.0003154277801513672, 0.017120361328125, -0.0200653076171875, 0.023681640625, 0.01861572265625, -0.00841522216796875, -0.01971435546875, -0.029937744140625, -0.00235748291015625, 0.02777099609375, -0.0235748291015625, -0.0010623931884765625, -0.0005083084106445312, -0.0247344970703125, 0.1304931640625, 0.027099609375, -0.053436279296875, 0.0418701171875, -0.0389404296875, -0.01395416259765625, 0.03564453125, 0.01461029052734375, 0.0167388916015625, -0.014190673828125, -0.039581298828125, -0.01520538330078125, 0.0124969482421875, -0.046112060546875, -0.04376220703125, 0.0300140380859375, -0.0098876953125, 0.01708984375, 0.015625, 0.0828857421875, 0.0040283203125, 0.052093505859375, -0.017578125, 0.001941680908203125, 0.01322174072265625, 0.044952392578125, 0.0099639892578125, -0.003902435302734375, 0.00507354736328125, 0.0127410888671875, 0.0399169921875, -0.0496826171875, -0.01351165771484375, 0.01441192626953125, 0.0640869140625, 0.03369140625, -0.0223541259765625, -0.0013427734375, -0.032196044921875, 0.0191650390625, 0.055572509765625, -0.028228759765625, -0.0716552734375, -0.0112762451171875, 0.0038509368896484375, 0.044158935546875, -0.07440185546875, -0.0017910003662109375, -0.0100860595703125, -0.035247802734375, -0.01422882080078125, 0.00859832763671875, -0.03179931640625, -0.00792694091796875, -0.0149993896484375, -0.049957275390625, -0.0251312255859375, -0.00905609130859375, -0.019378662109375, -0.006443023681640625, -0.004703521728515625, -0.01666259765625, 0.0024814605712890625, -0.0021038055419921875, 0.0187530517578125, 0.0057525634765625, -0.040924072265625, 0.0191650390625, -0.0048980712890625, 0.070556640625, 0.01557159423828125, -0.072265625, -0.004199981689453125, -0.053802490234375, 0.00519561767578125, -0.02545166015625, -0.0027256011962890625, -0.047821044921875, 0.0074920654296875, 0.032440185546875, 0.0203857421875, 0.02838134765625, -0.00702667236328125, -0.0274810791015625, 0.00010830163955688477, 0.0108489990234375, 0.01279449462890625, -0.0144500732421875, -0.005596160888671875, 0.021881103515625, -0.01099395751953125, -0.0020198822021484375, 0.005451202392578125, 0.0186614990234375, -0.020172119140625, 0.03741455078125, -0.01064300537109375, -0.0298004150390625, -0.06219482421875, 0.02349853515625, 0.0034503936767578125, 0.047698974609375, -0.024078369140625, -0.0218963623046875, -0.00601959228515625, -0.004070281982421875, -0.0168609619140625, 0.07220458984375, 0.0305328369140625, 0.0140228271484375, 0.005970001220703125, -0.00472259521484375, 0.007793426513671875, -0.01108551025390625, -0.0384521484375, 0.004039764404296875, 0.0283355712890625, -0.01560211181640625, 0.0229949951171875, -0.048797607421875, 0.041229248046875, 0.0435791015625, 0.01320648193359375, 0.0489501953125, -0.0045928955078125, 0.020416259765625, 0.022979736328125, 0.01125335693359375, 0.00682830810546875, -0.0206451416015625, 0.06292724609375, 0.016204833984375, -0.00717926025390625, 0.057525634765625, -0.032257080078125, -0.006885528564453125, 0.0765380859375, 0.057373046875, -0.1044921875, 0.0013437271118164062, 0.01216888427734375, 0.021087646484375, 0.003570556640625, -0.0024566650390625, 0.01258087158203125, 0.00598907470703125, 0.0089569091796875, 0.022674560546875, -0.003292083740234375, 0.0008044242858886719, 0.0196685791015625, -0.0250701904296875, -0.031158447265625, 0.01837158203125, -0.00366973876953125, -0.043121337890625, -0.00986480712890625, 0.032470703125, -0.047943115234375, -0.01617431640625, -0.0234527587890625, 0.01010894775390625, -0.03460693359375, -0.0506591796875, 0.00795745849609375, -0.025909423828125, 0.01433563232421875, 0.033782958984375, 0.014556884765625, 0.039947509765625, 0.051361083984375, -0.0031070709228515625, 0.022186279296875, 0.00505828857421875, -0.0170440673828125, 0.092041015625, 0.00464630126953125, 0.0105438232421875, -0.007572174072265625, -0.028411865234375, -0.018157958984375, -0.0079498291015625, 0.0036182403564453125, 0.0014820098876953125, -0.04412841796875, 0.0094757080078125, -0.0015621185302734375, -0.0017337799072265625, 0.054107666015625, -0.0202178955078125, -0.036102294921875, -0.022216796875, 0.046234130859375, -0.05419921875, -0.0162353515625, -0.005611419677734375, -0.02398681640625, 0.004444122314453125, -0.036895751953125, -0.025054931640625, 0.072265625, -0.004512786865234375, -0.01294708251953125, 0.03826904296875, 0.035797119140625, -0.042938232421875, 0.023223876953125, -0.0015697479248046875, 0.042999267578125, 0.027862548828125, -0.002376556396484375, -0.00623321533203125, 0.01219940185546875, -0.00189971923828125, 0.022003173828125, 0.01522064208984375, 0.0180511474609375, -0.0859375, 0.0083160400390625, 0.033660888671875, 0.0232086181640625, 0.033966064453125, 0.07513427734375, 0.00838470458984375, 0.055694580078125, 0.04681396484375, -0.0445556640625, 0.0222930908203125, -0.0105133056640625, -0.050445556640625, 0.01009368896484375, 0.006084442138671875, -0.033050537109375, 0.014404296875, 0.0058135986328125, -0.0867919921875, 0.03466796875, 0.04742431640625, 0.0115814208984375, -0.01247406005859375, 0.0171661376953125, -0.01517486572265625, -0.0070037841796875, 0.0316162109375, -0.0428466796875, 0.028778076171875, -0.01453399658203125, 0.00838470458984375, -0.0290374755859375, 0.009979248046875, 0.0166015625, -0.0450439453125, -0.0227203369140625, 0.034820556640625, -0.041351318359375, 0.04559326171875, 0.0178680419921875, 0.0292510986328125, -0.0452880859375, 0.033111572265625, 0.0309295654296875, 0.05450439453125, -0.047576904296875, -0.049346923828125, 0.004711151123046875, -0.007663726806640625, 0.02545166015625, 0.030029296875, 0.055877685546875, 0.0141448974609375, 0.0248260498046875, -0.004253387451171875, 0.021087646484375, 0.028717041015625, -0.0132904052734375, -0.006626129150390625, 0.01230621337890625, -0.016693115234375, 0.055999755859375, 0.0020923614501953125, 0.0029468536376953125, -0.015167236328125, 0.0220794677734375, 0.0028438568115234375, 0.01326751708984375, -0.0227508544921875, 0.005279541015625, -0.0207977294921875, 0.037567138671875, -0.0163421630859375, 0.01479339599609375, -0.047271728515625, -0.04791259765625, -0.00560760498046875, 0.05450439453125, 0.005035400390625, 0.0131072998046875, 0.0265045166015625, 0.030670166015625, -0.0075531005859375, -0.01555633544921875, 0.0284423828125, -0.0109405517578125, -0.01230621337890625, -0.0250091552734375, 0.01174163818359375, 0.02435302734375, -0.002925872802734375, 0.0268707275390625, 0.005382537841796875, 0.0225372314453125, 0.037689208984375, -0.008758544921875, 0.005382537841796875, -0.029327392578125, -0.002330780029296875, -0.00852203369140625, 0.03082275390625, 0.027099609375, -0.041778564453125, -0.00548553466796875, -0.01512908935546875, -0.037872314453125, 0.0280609130859375, 0.040557861328125, -0.00576019287109375, 0.014739990234375, 0.004039764404296875, -0.0064239501953125, 0.0285797119140625, -0.0091400146484375, -0.013153076171875, -0.0171661376953125, 0.025726318359375, -0.020843505859375, -0.1090087890625, -0.03594970703125, -0.048828125, 0.0009717941284179688, 0.0251007080078125, 0.0521240234375, 0.0281982421875, 0.035125732421875, -0.009796142578125, -0.0187835693359375, 0.00571441650390625, 0.002239227294921875, -0.0250091552734375, 0.0156707763671875, -0.0015077590942382812, -0.019287109375, -0.09259033203125, 0.051971435546875, -0.01373291015625, 0.0129852294921875, 0.027587890625, -0.01116943359375, 0.00251007080078125, 0.0014600753784179688, 0.01385498046875, -0.0269927978515625, -0.083984375, -0.0423583984375, 0.055816650390625, -0.0135040283203125, 0.0132293701171875, -0.04193115234375, 0.040985107421875, -0.02978515625, 0.0036869049072265625, 0.001018524169921875, -0.0216064453125, -0.0310516357421875, 0.02606201171875, -0.024810791015625, -0.00140380859375, -0.0065765380859375, -0.01276397705078125, 0.0178680419921875, -0.004070281982421875, 0.020721435546875, -0.0030078887939453125, 0.024078369140625, -0.00571441650390625, 0.041961669921875, 0.0257568359375, -0.00545501708984375, 0.0191192626953125, 0.02752685546875, -0.025970458984375, 0.002689361572265625, -0.01654052734375, -0.04022216796875, -0.048553466796875, -0.0177764892578125, 0.0034542083740234375, -0.0254364013671875, -0.044769287109375, -0.04864501953125, 0.04730224609375, 0.020843505859375, -0.01065826416015625, -0.0223236083984375, 0.0191192626953125, -0.0452880859375, 0.0491943359375, -0.01358795166015625, -0.0019140243530273438, 0.025665283203125, 0.04522705078125, -0.02520751953125, 0.0013637542724609375, -0.025482177734375, -0.007228851318359375, -0.0221710205078125, -0.03717041015625, -0.0192108154296875, 0.0032062530517578125, 0.0227508544921875, -0.08258056640625, -0.04168701171875, -0.0260467529296875, -0.00485992431640625, 0.006256103515625, 0.02978515625, -0.01261138916015625, -0.0299072265625, -0.048980712890625, -0.00732421875, -0.010955810546875, 0.003986358642578125, -0.0027332305908203125, -0.007038116455078125, 0.00594329833984375, -0.03448486328125, -0.0545654296875, 0.00669097900390625, 0.01178741455078125, -0.03582763671875, -0.08673095703125, 0.0220794677734375, 0.015838623046875, -0.0087127685546875, -0.0265045166015625, -0.02081298828125, -0.0321044921875, 0.03271484375, 0.02447509765625, -0.0133209228515625, 0.0168914794921875, 0.056640625, -0.01171112060546875, 0.04736328125, 0.03338623046875, -0.0116119384765625, 0.03387451171875, -0.00909423828125, 0.033355712890625, 0.073974609375, -0.0021266937255859375, -0.0230712890625, -0.038055419921875, -0.068115234375, -0.004241943359375, -0.026611328125, 0.01451873779296875, -0.018524169921875, 0.0039825439453125, 0.01824951171875, 0.00201416015625, 0.0071868896484375, -0.053131103515625, -0.024688720703125, 0.006885528564453125, -0.0176849365234375, 0.0195159912109375, -0.080322265625, -0.0120086669921875, 0.01291656494140625, -0.0162506103515625, -0.050384521484375, 0.040771484375, -0.041412353515625, -0.0002199411392211914, 0.03570556640625, -0.01043701171875, 0.00836944580078125, 0.0111083984375, 0.03155517578125, -0.028717041015625, 0.00508880615234375, -0.015869140625, 0.0175323486328125, 0.00952911376953125, -0.029296875, 0.0154266357421875, 0.02874755859375, -0.0216827392578125, -0.0165863037109375, 0.0193328857421875, 0.0001291036605834961, 0.0059051513671875, -0.0294036865234375, -0.0054931640625, 0.017669677734375, -0.0241546630859375, 0.0092620849609375, 0.009613037109375, 0.0099945068359375, -0.007465362548828125, 0.06414794921875, 0.01983642578125, -0.0207366943359375, -0.0164642333984375, 0.043121337890625, -0.0269775390625, -0.0290069580078125, -0.00537872314453125, -0.04052734375, -0.0021610260009765625, 0.048126220703125, 0.039825439453125, -0.0092010498046875, 0.00968170166015625, -0.019195556640625, 0.038665771484375, 0.000019669532775878906 ]
6414af18cb4e929252c133d7baa2999580f86f31
Wordpress Stackexchange Q: Show only images and videos in a wp.media window I'm using the following JS code to open a wp.media window to allow users to select images and videos for a gallery. Everything is working as expected, but I'm unable to restrict the window to show images and videos only, it's showing everything. Any ideas on what might be wrong? Thanks in advance JS: $( '#add_item' ).on( 'click', function( e ) { var $el = $( this ); e.preventDefault(); // If the media frame already exists, reopen it. if ( items_frame ) { items_frame.open(); return; } // Create the media frame. items_frame = wp.media.frames.items = wp.media({ title: 'Add to Gallery', button: { text: 'Select' }, states: [ new wp.media.controller.Library({ title: 'Add to Gallery', filterable: 'all', type: ['image', 'video'], multiple: true }) ] }); // Finally, open the modal. items_frame.open(); }); A: It's been a while since this question was asked, but on the off chance that you are still looking for a solution: items_frame = wp.media.frames.items = wp.media({ title: 'Add to Gallery', button: { text: 'Select' }, library: { type: [ 'video', 'image' ] }, });
Q: Show only images and videos in a wp.media window I'm using the following JS code to open a wp.media window to allow users to select images and videos for a gallery. Everything is working as expected, but I'm unable to restrict the window to show images and videos only, it's showing everything. Any ideas on what might be wrong? Thanks in advance JS: $( '#add_item' ).on( 'click', function( e ) { var $el = $( this ); e.preventDefault(); // If the media frame already exists, reopen it. if ( items_frame ) { items_frame.open(); return; } // Create the media frame. items_frame = wp.media.frames.items = wp.media({ title: 'Add to Gallery', button: { text: 'Select' }, states: [ new wp.media.controller.Library({ title: 'Add to Gallery', filterable: 'all', type: ['image', 'video'], multiple: true }) ] }); // Finally, open the modal. items_frame.open(); }); A: It's been a while since this question was asked, but on the off chance that you are still looking for a solution: items_frame = wp.media.frames.items = wp.media({ title: 'Add to Gallery', button: { text: 'Select' }, library: { type: [ 'video', 'image' ] }, }); A: With a bit more searching I found that you can specify the exact file type within the library property. This may come in handy when creating a plugin where only certain files are permitted. var frame = wp.media({ title: 'Insert movie', library: {type: 'video/MP4'}, multiple: false, button: {text: 'Insert'} }); Unfortunately, there does not seem to be a list anywhere that specifies which values work for a particular extension. A: $( '#add_item' ).on( 'click', function( e ) { var $el = $( this ); e.preventDefault(); // If the media frame already exists, reopen it. if ( items_frame ) { items_frame.open(); return; } // Create the media frame. items_frame = wp.media.frames.items = wp.media({ title: 'Add to Gallery', button: { text: 'Select' }, library: { type: [ 'video', 'image' ] }, }); // Finally, open the modal. items_frame.open(); }); Use the above code and check the line number 18,19 and 20 I checked some other comments too for the different file type. Try the below list of mime types: Extension MIME Type .doc application/msword .dot application/msword .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template .docm application/vnd.ms-word.document.macroEnabled.12 .dotm application/vnd.ms-word.template.macroEnabled.12 .xls application/vnd.ms-excel .xlt application/vnd.ms-excel .xla application/vnd.ms-excel .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template .xlsm application/vnd.ms-excel.sheet.macroEnabled.12 .xltm application/vnd.ms-excel.template.macroEnabled.12 .xlam application/vnd.ms-excel.addin.macroEnabled.12 .xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12 .ppt application/vnd.ms-powerpoint .pot application/vnd.ms-powerpoint .pps application/vnd.ms-powerpoint .ppa application/vnd.ms-powerpoint .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation .potx application/vnd.openxmlformats-officedocument.presentationml.template .ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow .ppam application/vnd.ms-powerpoint.addin.macroEnabled.12 .pptm application/vnd.ms-powerpoint.presentation.macroEnabled.12 .potm application/vnd.ms-powerpoint.template.macroEnabled.12 .ppsm application/vnd.ms-powerpoint.slideshow.macroEnabled.12 .mdb application/vnd.ms-access A: I am pretty much late to this answer and i was stuck but this how I was able to get it right after spending hours. Hopefully this will help anyone who is reading. Basically just modify the media picker's input attribute on the go. items_frame.on('uploader:ready', function () { jQuery('.moxie-shim-html5 input[type="file"]') .attr({ tabIndex: '-1', 'multiple': false, 'accept': 'application/pdf, application/epub+zip', // this where to add your mime type 'aria-hidden': 'true' }); });
wordpress
{ "language": "en", "length": 482, "provenance": "stackexchange_00019.jsonl.gz:475405", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264115" }
[ 0.05242919921875, -0.0003566741943359375, 0.0283203125, 0.01561737060546875, 0.007221221923828125, -0.0308990478515625, 0.0721435546875, -0.049041748046875, 0.04669189453125, 0.0125274658203125, -0.06732177734375, 0.00841522216796875, -0.0161895751953125, -0.01291656494140625, -0.0242462158203125, -0.028228759765625, 0.031890869140625, -0.026611328125, 0.028411865234375, -0.02020263671875, 0.0308837890625, -0.002307891845703125, 0.040863037109375, 0.044097900390625, 0.00356292724609375, -0.0091552734375, 0.0333251953125, -0.01326751708984375, -0.0038433074951171875, -0.01142120361328125, 0.01139068603515625, 0.00536346435546875, 0.014373779296875, 0.0141448974609375, -0.0040130615234375, 0.039093017578125, 0.0088043212890625, 0.00864410400390625, 0.033111572265625, 0.00958251953125, -0.01238250732421875, 0.006175994873046875, -0.048797607421875, -0.0013513565063476562, -0.05303955078125, -0.0118255615234375, -0.02581787109375, -0.0128631591796875, 0.00829315185546875, -0.0265350341796875, -0.003269195556640625, 0.01560211181640625, 0.014495849609375, -0.003925323486328125, -0.0118408203125, 0.007965087890625, 0.003143310546875, -0.027130126953125, 0.0233154296875, 0.04205322265625, -0.010223388671875, 0.00868988037109375, -0.0185089111328125, -0.049346923828125, 0.0212554931640625, -0.004871368408203125, -0.02056884765625, 0.036865234375, -0.0487060546875, -0.0045623779296875, 0.0282440185546875, -0.052001953125, -0.0048980712890625, -0.06524658203125, -0.0194549560546875, 0.0570068359375, 0.00698089599609375, -0.006999969482421875, 0.01201629638671875, -0.0310821533203125, 0.03826904296875, -0.0054779052734375, 0.002376556396484375, -0.005733489990234375, 0.024169921875, 0.016632080078125, -0.0026111602783203125, -0.0276031494140625, -0.01242828369140625, 0.0215606689453125, -0.0038967132568359375, -0.03350830078125, 0.019073486328125, 0.01053619384765625, 0.0006670951843261719, -0.0112152099609375, 0.007472991943359375, 0.0112762451171875, 0.01216888427734375, 0.032440185546875, 0.00276947021484375, -0.031280517578125, 0.0323486328125, -0.039642333984375, 0.02801513671875, 0.042877197265625, -0.005352020263671875, -0.027252197265625, 0.0364990234375, 0.01300811767578125, -0.0044097900390625, 0.032379150390625, 0.00041937828063964844, 0.006622314453125, -0.0161590576171875, -0.00882720947265625, -0.048980712890625, 0.029876708984375, -0.00811767578125, 0.0284271240234375, -0.01983642578125, -0.0163726806640625, -0.0017824172973632812, 0.044891357421875, 0.022735595703125, 0.036529541015625, -0.0232086181640625, 0.0085296630859375, 0.0021228790283203125, 0.0167236328125, -0.006805419921875, 0.0163421630859375, 0.01078033447265625, 0.022613525390625, -0.0023555755615234375, -0.0019435882568359375, 0.0218048095703125, -0.007488250732421875, 0.01105499267578125, 0.005443572998046875, 0.038665771484375, -0.014984130859375, 0.0084991455078125, 0.0292510986328125, -0.004337310791015625, 0.01275634765625, 0.0021076202392578125, 0.0110015869140625, 0.01641845703125, -0.030181884765625, 0.0020542144775390625, -0.048309326171875, 0.0225677490234375, 0.023529052734375, 0.0245208740234375, 0.00928497314453125, 0.12103271484375, -0.0338134765625, -0.041748046875, -0.052398681640625, 0.032562255859375, 0.0177764892578125, 0.012939453125, -0.0189971923828125, -0.01806640625, -0.0300750732421875, -0.04925537109375, 0.00006264448165893555, 0.03497314453125, 0.09246826171875, 0.0171356201171875, -0.043426513671875, 0.0265350341796875, 0.055023193359375, -0.00757598876953125, 0.0303955078125, -0.0006451606750488281, -0.0019626617431640625, -0.0024013519287109375, 0.057952880859375, 0.007740020751953125, -0.0229034423828125, 0.058502197265625, -0.016998291015625, -0.05224609375, 0.0245361328125, 0.005706787109375, 0.0274200439453125, 0.0267486572265625, 0.0030918121337890625, 0.07696533203125, 0.036529541015625, -0.014129638671875, -0.052093505859375, -0.0156402587890625, -0.00643157958984375, -0.02740478515625, -0.0059814453125, -0.0238037109375, 0.049224853515625, 0.0882568359375, -0.0081024169921875, 0.04266357421875, -0.049163818359375, -0.040069580078125, -0.008941650390625, -0.005046844482421875, 0.0201873779296875, -0.061431884765625, 0.0233612060546875, 0.03155517578125, -0.0138702392578125, -0.03564453125, 0.054595947265625, 0.04412841796875, -0.003429412841796875, -0.0438232421875, 0.045623779296875, -0.0256805419921875, 0.040985107421875, -0.01038360595703125, -0.06732177734375, 0.0121307373046875, 0.029632568359375, 0.0240325927734375, 0.000010013580322265625, -0.011993408203125, -0.01153564453125, 0.045166015625, 0.027557373046875, -0.01378631591796875, -0.002498626708984375, 0.01334381103515625, -0.0144500732421875, -0.06854248046875, -0.005802154541015625, -0.045623779296875, -0.031494140625, -0.0050506591796875, 0.07177734375, 0.027862548828125, 0.025543212890625, 0.0072174072265625, 0.0252532958984375, 0.06866455078125, 0.008453369140625, 0.0288238525390625, -0.01457977294921875, 0.00615692138671875, 0.0220489501953125, -0.0032958984375, -0.00463104248046875, 0.024658203125, -0.035552978515625, 0.028106689453125, 0.031036376953125, 0.01641845703125, 0.0606689453125, -0.021820068359375, 0.0204925537109375, -0.0230865478515625, 0.052398681640625, 0.024444580078125, 0.005352020263671875, 0.0039825439453125, 0.045623779296875, 0.0384521484375, 0.04290771484375, -0.01412200927734375, 0.0232086181640625, -0.00023996829986572266, -0.00910186767578125, 0.008453369140625, 0.0198211669921875, 0.049102783203125, -0.0193328857421875, -0.03277587890625, -0.01422882080078125, 0.01788330078125, 0.00016605854034423828, 0.007110595703125, 0.024566650390625, -0.00791168212890625, -0.01776123046875, 0.021240234375, -0.04449462890625, -0.0092620849609375, -0.006595611572265625, 0.00815582275390625, -0.030120849609375, 0.0257110595703125, -0.0091400146484375, -0.0259246826171875, 0.02410888671875, 0.026519775390625, -0.052978515625, 0.0128173828125, -0.0401611328125, 0.038421630859375, -0.0170135498046875, 0.076904296875, 0.0640869140625, -0.047088623046875, 0.050537109375, -0.00913238525390625, -0.019927978515625, -0.0012025833129882812, 0.00859832763671875, -0.0208892822265625, -0.0234527587890625, -0.048675537109375, 0.0004780292510986328, 0.023193359375, -0.0227508544921875, 0.01436614990234375, -0.0224761962890625, -0.03668212890625, -0.0102081298828125, -0.068115234375, -0.027862548828125, 0.04766845703125, -0.06951904296875, 0.0126190185546875, 0.0074005126953125, -0.057159423828125, -0.0266265869140625, 0.04510498046875, -0.0022373199462890625, -0.07073974609375, 0.03485107421875, 0.00496673583984375, 0.00713348388671875, 0.0181884765625, 0.041412353515625, -0.0222320556640625, -0.0089111328125, 0.01015472412109375, 0.05987548828125, 0.0262451171875, -0.0208892822265625, 0.04052734375, -0.0187835693359375, -0.00640869140625, 0.0249786376953125, 0.0252227783203125, -0.03277587890625, -0.017913818359375, 0.005451202392578125, 0.0168609619140625, 0.0012216567993164062, 0.0003108978271484375, -0.0105743408203125, -0.006435394287109375, -0.055908203125, 0.0010480880737304688, 0.019866943359375, 0.0021839141845703125, -0.0092315673828125, 0.039825439453125, -0.0266876220703125, -0.01020050048828125, -0.03240966796875, -0.04205322265625, 0.029510498046875, 0.02703857421875, -0.000514984130859375, -0.0124969482421875, 0.007781982421875, 0.01194000244140625, 0.00995635986328125, 0.0030155181884765625, -0.0175933837890625, 0.01140594482421875, 0.003082275390625, -0.00505828857421875, -0.0108489990234375, 0.0457763671875, -0.01456451416015625, -0.035491943359375, -0.0026092529296875, -0.0301513671875, -0.01239013671875, -0.0175933837890625, -0.03668212890625, 0.0145263671875, 0.0146484375, 0.00853729248046875, 0.04296875, -0.018035888671875, -0.0173187255859375, -0.03460693359375, 0.0267333984375, -0.031707763671875, -0.01285552978515625, -0.01800537109375, 0.0140380859375, 0.002933502197265625, -0.0660400390625, -0.017974853515625, -0.01678466796875, -0.00856781005859375, 0.00907135009765625, -0.025604248046875, 0.00974273681640625, -0.0005316734313964844, -0.0543212890625, 0.0076751708984375, -0.03564453125, 0.035064697265625, 0.0084686279296875, 0.0186614990234375, -0.0026607513427734375, 0.037109375, -0.033538818359375, -0.0084381103515625, -0.01715087890625, -0.115966796875, -0.034271240234375, 0.04034423828125, 0.07708740234375, -0.03582763671875, -0.0209808349609375, -0.0494384765625, 0.0704345703125, 0.025543212890625, -0.0069427490234375, 0.0233612060546875, -0.01259613037109375, 0.0017833709716796875, 0.007022857666015625, 0.0173187255859375, -0.033660888671875, -0.0090789794921875, -0.07708740234375, -0.048675537109375, -0.0211181640625, -0.04241943359375, 0.03515625, -0.0382080078125, 0.005764007568359375, -0.056060791015625, -0.0302276611328125, -0.034088134765625, -0.005016326904296875, -0.01203155517578125, -0.026031494140625, -0.041900634765625, -0.060089111328125, -0.024169921875, -0.00860595703125, -0.023956298828125, 0.03192138671875, 0.0283203125, 0.030059814453125, -0.006710052490234375, -0.04339599609375, 0.01197052001953125, 0.01444244384765625, -0.01100921630859375, 0.024993896484375, -0.0248260498046875, -0.032379150390625, 0.0814208984375, -0.03460693359375, 0.0290985107421875, -0.0279541015625, 0.05523681640625, -0.01519012451171875, -0.0369873046875, 0.046722412109375, -0.0006232261657714844, -0.0267181396484375, -0.005084991455078125, -0.014923095703125, 0.02032470703125, 0.035430908203125, -0.004180908203125, -0.0038433074951171875, -0.0200347900390625, -0.006595611572265625, 0.0010175704956054688, -0.007625579833984375, 0.047454833984375, 0.048431396484375, 0.025146484375, 0.01181793212890625, 0.006259918212890625, 0.0352783203125, 0.00534820556640625, 0.048065185546875, 0.04034423828125, -0.0149078369140625, 0.05743408203125, 0.01397705078125, -0.00406646728515625, 0.0207061767578125, 0.0173492431640625, -0.03314208984375, -0.016876220703125, -0.036712646484375, -0.050994873046875, 0.031585693359375, 0.04144287109375, 0.03814697265625, 0.01097869873046875, 0.0267791748046875, 0.0002224445343017578, -0.0312347412109375, -0.01236724853515625, -0.0005431175231933594, -0.037445068359375, -0.050140380859375, 0.04541015625, -0.01174163818359375, 0.012603759765625, 0.007358551025390625, 0.07220458984375, -0.0035247802734375, 0.033233642578125, -0.01557159423828125, 0.0260162353515625, 0.0234375, 0.0300445556640625, 0.01409149169921875, -0.0113983154296875, -0.032318115234375, 0.03375244140625, 0.019012451171875, 0.00335693359375, 0.0096588134765625, -0.011810302734375, -0.00514984130859375, 0.004070281982421875, 0.01242828369140625, 0.01873779296875, -0.01050567626953125, -0.0159759521484375, 0.0151519775390625, -0.033355712890625, -0.0241546630859375, -0.03533935546875, 0.0105438232421875, 0.044525146484375, -0.007686614990234375, -0.0185546875, 0.025634765625, 0.01372528076171875, 0.0232696533203125, 0.042877197265625, -0.06842041015625, 0.047119140625, 0.078125, -0.0380859375, -0.03314208984375, 0.0084075927734375, -0.04632568359375, 0.0036296844482421875, -0.03643798828125, -0.0232086181640625, 0.05609130859375, -0.042083740234375, 0.016448974609375, -0.0231781005859375, 0.0040740966796875, -0.08001708984375, 0.0322265625, -0.0142822265625, 0.00853729248046875, -0.046356201171875, -0.01216888427734375, -0.0241546630859375, -0.0301361083984375, -0.067138671875, -0.03204345703125, -0.050384521484375, 0.005435943603515625, -0.0251312255859375, -0.003475189208984375, 0.003231048583984375, 0.032257080078125, 0.0213775634765625, 0.047088623046875, -0.00585174560546875, 0.015228271484375, -0.01470184326171875, 0.034454345703125, 0.018829345703125, 0.060760498046875, 0.0049285888671875, -0.03436279296875, -0.053466796875, -0.01763916015625, -0.0002658367156982422, -0.037689208984375, -0.024749755859375, 0.0024280548095703125, -0.039825439453125, 0.0027675628662109375, 0.036163330078125, -0.0104522705078125, 0.0245208740234375, -0.04632568359375, -0.01861572265625, -0.0233154296875, 0.0462646484375, -0.0426025390625, 0.01493072509765625, -0.0218505859375, 0.003108978271484375, 0.048797607421875, -0.03582763671875, -0.034149169921875, 0.0256805419921875, -0.00690460205078125, 0.034912109375, 0.014739990234375, -0.01277923583984375, 0.040863037109375, 0.04815673828125, -0.035308837890625, 0.032501220703125, 0.0064239501953125, -0.01641845703125, 0.033935546875, 0.0171966552734375, -0.0028095245361328125, -0.022491455078125, 0.0645751953125, 0.0238037109375, -0.0101470947265625, 0.06829833984375, -0.02032470703125, 0.0014829635620117188, 0.00919342041015625, 0.0241546630859375, -0.0115203857421875, -0.00897216796875, -0.0163421630859375, -0.033782958984375, 0.006622314453125, -0.0180816650390625, 0.018096923828125, 0.0050048828125, 0.0565185546875, -0.015625, -0.01580810546875, 0.0269012451171875, -0.034332275390625, 0.00763702392578125, 0.029327392578125, -0.0004944801330566406, -0.027374267578125, -0.0821533203125, -0.0672607421875, 0.044586181640625, -0.062225341796875, 0.02685546875, 0.01910400390625, -0.0295562744140625, -0.0341796875, -0.0292816162109375, -0.0164031982421875, 0.004352569580078125, -0.04510498046875, -0.0003657341003417969, 0.033905029296875, 0.0257568359375, 0.05694580078125, -0.0086517333984375, 0.0005154609680175781, 0.0283203125, 0.01219940185546875, -0.0494384765625, -0.0119476318359375, 0.036529541015625, 0.045867919921875, -0.08258056640625, 0.0352783203125, -0.045379638671875, 0.01161956787109375, 0.00942230224609375, 0.0032367706298828125, 0.026580810546875, 0.0020771026611328125, -0.031982421875, 0.032135009765625, -0.01276397705078125, -0.01739501953125, 0.011962890625, 0.01580810546875, -0.0762939453125, -0.0594482421875, 0.023040771484375, -0.0582275390625, -0.01678466796875, 0.021697998046875, -0.033447265625, 0.03131103515625, -0.016998291015625, 0.024078369140625, 0.0237579345703125, -0.0016298294067382812, -0.01953125, -0.01004791259765625, -0.040374755859375, 0.027130126953125, 0.00789642333984375, 0.0009126663208007812, -0.0214385986328125, 0.01168060302734375, -0.0246734619140625, 0.004772186279296875, -0.0032978057861328125, -0.0164794921875, 0.0160980224609375, -0.03216552734375, 0.0188140869140625, 0.0635986328125, 0.0159912109375, -0.01532745361328125, -0.028045654296875, 0.0071258544921875, 0.052947998046875, -0.034637451171875, 0.0379638671875, -0.016387939453125, -0.028717041015625, -0.023773193359375, 0.005283355712890625, 0.03045654296875, -0.022186279296875, 0.0189666748046875, -0.0186614990234375, -0.01381683349609375, 0.029144287109375, -0.041900634765625, -0.01084136962890625, 0.06939697265625, 0.0401611328125, 0.0033206939697265625, 0.020172119140625, -0.045806884765625, 0.054443359375, -0.0006036758422851562, -0.0212860107421875, 0.025665283203125, 0.006168365478515625, -0.011016845703125, 0.002399444580078125, -0.02490234375, 0.00342559814453125, 0.01386260986328125, -0.03924560546875, -0.00033545494079589844, 0.0092620849609375, -0.04583740234375, -0.0019664764404296875, 0.041778564453125, -0.0170135498046875, -0.004852294921875, -0.036834716796875, 0.010986328125, 0.026885986328125, 0.010406494140625, 0.023712158203125, 0.0274810791015625, -0.007808685302734375, 0.043609619140625, -0.045440673828125, 0.033233642578125, 0.036346435546875, 0.032257080078125, 0.00737762451171875, 0.036041259765625, -0.0855712890625, 0.0120391845703125, -0.025299072265625, 0.0163421630859375, -0.0128936767578125, 0.0218963623046875, 0.0056304931640625, 0.03350830078125, 0.004974365234375, 0.001811981201171875, -0.025115966796875, 0.0716552734375, 0.004619598388671875, 0.0249176025390625, -0.039398193359375, -0.06005859375, 0.032470703125, 0.0214996337890625, 0.04669189453125, 0.03759765625, 0.049896240234375, 0.01200103759765625, -0.00850677490234375, 0.030029296875, 0.06768798828125, -0.01325225830078125, -0.0098114013671875, -0.01470947265625, -0.0027103424072265625, 0.0176544189453125, -0.0237579345703125, 0.033782958984375, 0.00791168212890625, 0.023193359375, -0.04376220703125, 0.037078857421875, -0.01551055908203125, -0.0282440185546875, 0.024871826171875, 0.0024623870849609375, 0.07415771484375, -0.006343841552734375, -0.07952880859375, -0.008270263671875, -0.017333984375, -0.051055908203125, 0.007717132568359375, 0.0303192138671875, -0.034027099609375, 0.032470703125, 0.0169219970703125, -0.005107879638671875, -0.0138702392578125, -0.0005526542663574219, 0.01849365234375, -0.017303466796875, 0.0063018798828125, 0.01515960693359375, -0.08013916015625, -0.03924560546875, -0.022430419921875, 0.0305023193359375, -0.002948760986328125, 0.0253753662109375, 0.01480865478515625, 0.03790283203125, 0.004734039306640625, 0.018707275390625, -0.0036525726318359375, -0.0114288330078125, 0.0665283203125, 0.0146942138671875, -0.002056121826171875, -0.0293426513671875, 0.053802490234375, 0.02252197265625, 0.009796142578125, -0.0555419921875, 0.026458740234375, -0.08428955078125, 0.01151275634765625, 0.0042572021484375, 0.041748046875, -0.0169219970703125, -0.0380859375, -0.01873779296875, -0.0038433074951171875, 0.01861572265625, 0.03619384765625, 0.0045318603515625, 0.04364013671875, -0.03558349609375, -0.005706787109375, 0.00577545166015625, -0.024810791015625, -0.040924072265625, 0.003719329833984375, -0.01329803466796875, 0.009246826171875, 0.0020618438720703125, -0.0192413330078125, -0.0003650188446044922, 0.0200958251953125, -0.0169677734375, -0.005222320556640625, -0.0007491111755371094, 0.00635528564453125, 0.01702880859375, -0.01070404052734375, -0.03826904296875, -0.0242462158203125, 0.056060791015625, -0.0277099609375, -0.0164031982421875, -0.029510498046875, -0.005420684814453125, -0.027130126953125, -0.029388427734375, 0.031158447265625, -0.0279388427734375, -0.01800537109375, -0.047210693359375, 0.01366424560546875, 0.0250701904296875, 0.020721435546875, -0.0628662109375, 0.07354736328125, -0.033935546875, -0.004791259765625, 0.0024585723876953125, 0.00846099853515625, -0.0140838623046875, -0.017791748046875, -0.040679931640625, -0.040618896484375, -0.0377197265625, 0.038970947265625, -0.0287933349609375, 0.01151275634765625, 0.00150299072265625, -0.029083251953125, 0.028656005859375, 0.036376953125, 0.036407470703125, 0.08740234375, 0.060302734375, -0.019195556640625, -0.05426025390625, 0.031646728515625, -0.006923675537109375, 0.02142333984375, 0.0306854248046875, 0.01276397705078125, -0.055877685546875, 0.0286102294921875, -0.051055908203125, -0.0262603759765625, -0.062042236328125, -0.082275390625, 0.047454833984375, 0.01496124267578125, -0.041107177734375, -0.0589599609375, 0.025299072265625, -0.0204925537109375, 0.0244140625, -0.0058746337890625, -0.011322021484375, 0.01161956787109375, 0.0269622802734375, 0.006496429443359375, -0.0159454345703125, 0.044403076171875, -0.01499176025390625, -0.045074462890625, -0.0118255615234375, -0.018707275390625, 0.006076812744140625, -0.016021728515625, 0.00377655029296875, 0.0243988037109375, 0.03399658203125, -0.0282135009765625, 0.03533935546875, -0.005107879638671875, 0.020660400390625, 0.029144287109375, -0.01352691650390625, -0.054412841796875, -0.039276123046875, 0.0190887451171875, 0.026947021484375, 0.0215301513671875, -0.0019369125366210938, -0.0036220550537109375, -0.01302337646484375, -0.02880859375, -0.0010280609130859375, 0.004085540771484375, -0.0276336669921875, 0.0110015869140625, -0.0229644775390625, -0.004772186279296875, -0.0024776458740234375, -0.025299072265625, -0.0394287109375, -0.0234832763671875, -0.03924560546875, 0.0175323486328125, -0.0567626953125, 0.0243377685546875, 0.09307861328125, -0.07427978515625, -0.02801513671875, -0.0014095306396484375, 0.004329681396484375, 0.027740478515625, -0.06939697265625, -0.00986480712890625, -0.0283050537109375, -0.009033203125, 0.0290985107421875, -0.001392364501953125, 0.022216796875, -0.0026874542236328125, -0.0236358642578125, -0.025726318359375, 0.01094818115234375, 0.0106964111328125, 0.0289459228515625, 0.0157470703125, 0.00562286376953125, 0.016387939453125, 0.0094146728515625, -0.03717041015625, 0.0291748046875, 0.00513458251953125, -0.01462554931640625, -0.005512237548828125, 0.0287628173828125, 0.0565185546875, -0.0313720703125, -0.006252288818359375, 0.02679443359375, -0.045318603515625, -0.052093505859375, 0.0167388916015625, -0.01090240478515625, -0.0095672607421875, 0.00992584228515625 ]
27fdb1f1ada749b8f4624b96f3c28ceee86e57ad
Wordpress Stackexchange Q: Filtered query_vars becomes global. Why does this work? For some reason that's not quite clear, when I add custom query_vars, they become available everywhere without the need of an accessor like global or get_query_var() // if your url contains the var http://example.com?document_id=99 // and you add it to $query_vars... <?php function filter__query_vars( $query_vars ) { $query_vars[] = 'document_id'; return $query_vars; } add_filter( 'query_vars', 'filter__query_vars' ); // you can reference it anywhere. /* single.php */ <?php echo $document_id; // outputs 99. wtf? Why does this work? A: Within the WP::parse_request() method (src) we locate the query_vars filter: $this->public_query_vars = apply_filters( 'query_vars', $this->public_query_vars ); and within WP::register_globals() we can see why it becomes globally accessible (src): // Extract updated query vars back into global namespace. foreach ( (array) $wp_query->query_vars as $key => $value ) { $GLOBALS[ $key ] = $value; } where the global $Wp_query has been fed with the query vars from the global $wp object.
Q: Filtered query_vars becomes global. Why does this work? For some reason that's not quite clear, when I add custom query_vars, they become available everywhere without the need of an accessor like global or get_query_var() // if your url contains the var http://example.com?document_id=99 // and you add it to $query_vars... <?php function filter__query_vars( $query_vars ) { $query_vars[] = 'document_id'; return $query_vars; } add_filter( 'query_vars', 'filter__query_vars' ); // you can reference it anywhere. /* single.php */ <?php echo $document_id; // outputs 99. wtf? Why does this work? A: Within the WP::parse_request() method (src) we locate the query_vars filter: $this->public_query_vars = apply_filters( 'query_vars', $this->public_query_vars ); and within WP::register_globals() we can see why it becomes globally accessible (src): // Extract updated query vars back into global namespace. foreach ( (array) $wp_query->query_vars as $key => $value ) { $GLOBALS[ $key ] = $value; } where the global $Wp_query has been fed with the query vars from the global $wp object.
wordpress
{ "language": "en", "length": 156, "provenance": "stackexchange_00019.jsonl.gz:475421", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264178" }
[ 0.08111572265625, -0.034515380859375, 0.01529693603515625, -0.0772705078125, 0.0202484130859375, -0.015838623046875, 0.0229644775390625, 0.0438232421875, 0.03466796875, 0.031646728515625, -0.029266357421875, -0.028778076171875, 0.0112762451171875, -0.020233154296875, -0.025787353515625, -0.01385498046875, 0.039703369140625, -0.05462646484375, -0.0313720703125, -0.01129913330078125, 0.0031642913818359375, 0.002597808837890625, 0.0078582763671875, 0.058197021484375, 0.0318603515625, -0.0233154296875, 0.024932861328125, -0.0295562744140625, 0.00911712646484375, -0.02398681640625, -0.00560760498046875, 0.00852203369140625, 0.020416259765625, 0.0197601318359375, -0.0225830078125, -0.030914306640625, 0.007610321044921875, 0.01070404052734375, 0.0021686553955078125, 0.01157379150390625, 0.05267333984375, -0.045135498046875, 0.0293426513671875, 0.0066375732421875, 0.0159759521484375, -0.03369140625, 0.064453125, -0.040374755859375, -0.0149078369140625, 0.038360595703125, -0.022918701171875, 0.0290374755859375, -0.005725860595703125, 0.02581787109375, 0.0016260147094726562, -0.0296478271484375, 0.0443115234375, -0.070068359375, 0.032012939453125, 0.00603485107421875, -0.033233642578125, -0.034698486328125, 0.035736083984375, -0.032440185546875, 0.010589599609375, 0.012420654296875, 0.0294647216796875, 0.020599365234375, -0.06597900390625, -0.0263214111328125, 0.00577545166015625, -0.0244903564453125, -0.00606536865234375, 0.01372528076171875, -0.0274505615234375, -0.048309326171875, 0.0297088623046875, -0.02886962890625, 0.0012989044189453125, 0.03399658203125, -0.01488494873046875, -0.025482177734375, -0.062042236328125, 0.0126190185546875, -0.026580810546875, 0.0245361328125, -0.017333984375, -0.01094818115234375, -0.02783203125, -0.045196533203125, -0.02001953125, -0.004638671875, -0.0740966796875, -0.0205841064453125, -0.005947113037109375, -0.0286712646484375, 0.006557464599609375, 0.049591064453125, -0.0208892822265625, -0.00919342041015625, -0.007282257080078125, -0.0015287399291992188, -0.01401519775390625, -0.024444580078125, -0.018402099609375, 0.05047607421875, 0.033203125, 0.05645751953125, 0.00395965576171875, 0.0103302001953125, 0.01434326171875, -0.0059814453125, -0.0198516845703125, 0.0180816650390625, -0.058990478515625, -0.004665374755859375, -0.03192138671875, -0.06060791015625, -0.024261474609375, -0.030487060546875, 0.0243377685546875, 0.007801055908203125, -0.0013189315795898438, 0.0182342529296875, -0.00803375244140625, -0.0174713134765625, -0.0295257568359375, -0.0022487640380859375, -0.0750732421875, 0.0377197265625, -0.018463134765625, 0.01233673095703125, 0.006374359130859375, 0.0206146240234375, -0.019287109375, -0.0193634033203125, 0.054290771484375, -0.0124969482421875, 0.0108642578125, 0.0272674560546875, 0.034332275390625, -0.03271484375, -0.0104217529296875, 0.032623291015625, -0.0032501220703125, 0.01242828369140625, 0.040374755859375, 0.0185394287109375, -0.04296875, -0.03094482421875, 0.00812530517578125, 0.036773681640625, 0.04241943359375, -0.0191497802734375, -0.052398681640625, -0.027069091796875, 0.041717529296875, -0.043182373046875, -0.044189453125, -0.049560546875, -0.0106201171875, -0.00598907470703125, -0.0191802978515625, -0.0018835067749023438, 0.004375457763671875, -0.0189056396484375, 0.01444244384765625, 0.019866943359375, 0.01025390625, 0.061004638671875, 0.00502777099609375, -0.00463104248046875, 0.006649017333984375, 0.0253143310546875, -0.00794219970703125, -0.0025272369384765625, -0.00998687744140625, 0.004878997802734375, 0.02227783203125, -0.01107025146484375, -0.0243072509765625, -0.0445556640625, 0.0264739990234375, -0.00476837158203125, -0.046173095703125, 0.0183258056640625, 0.0030612945556640625, 0.0188446044921875, 0.0211944580078125, -0.0022792816162109375, 0.038726806640625, 0.0195465087890625, -0.0245819091796875, 0.0000095367431640625, 0.016082763671875, 0.016754150390625, -0.0001971721649169922, 0.0160369873046875, 0.01617431640625, -0.0306549072265625, 0.04400634765625, -0.03558349609375, 0.062347412109375, -0.028411865234375, -0.048370361328125, 0.002422332763671875, -0.028472900390625, 0.01971435546875, -0.0138092041015625, -0.006488800048828125, 0.0253753662109375, 0.0200347900390625, -0.02532958984375, -0.0184173583984375, -0.0200042724609375, 0.045989990234375, -0.0037994384765625, 0.03143310546875, 0.002811431884765625, 0.01392364501953125, 0.0143585205078125, 0.00020515918731689453, 0.01617431640625, 0.017242431640625, 0.0225067138671875, 0.00646209716796875, -0.01300811767578125, -0.0012760162353515625, 0.02392578125, 0.0013341903686523438, 0.0011262893676757812, 0.0293121337890625, 0.0289306640625, 0.031158447265625, -0.007904052734375, -0.006961822509765625, -0.0119476318359375, -0.06756591796875, -0.00626373291015625, 0.051666259765625, 0.0423583984375, 0.0276031494140625, -0.004550933837890625, -0.019500732421875, 0.0367431640625, -0.032562255859375, -0.0016231536865234375, -0.0316162109375, -0.00751495361328125, 0.0160675048828125, -0.004638671875, -0.034149169921875, 0.014373779296875, -0.06884765625, -0.013916015625, 0.011810302734375, -0.0152435302734375, 0.0129852294921875, -0.036102294921875, 0.0308074951171875, -0.037445068359375, -0.029022216796875, 0.0208892822265625, -0.028472900390625, 0.01641845703125, -0.037811279296875, 0.0123291015625, 0.004467010498046875, 0.006336212158203125, -0.0372314453125, 0.0032825469970703125, -0.01629638671875, -0.01331329345703125, -0.04541015625, -0.0291748046875, -0.011505126953125, -0.0254669189453125, 0.0535888671875, -0.0017490386962890625, -0.048553466796875, 0.012176513671875, 0.043975830078125, -0.024139404296875, -0.0110321044921875, -0.004024505615234375, 0.002056121826171875, -0.002166748046875, 0.0141143798828125, 0.034515380859375, -0.0178985595703125, 0.01224517822265625, 0.01155853271484375, -0.031524658203125, 0.05816650390625, -0.0084991455078125, -0.040924072265625, 0.02001953125, -0.0214385986328125, 0.01236724853515625, -0.0109100341796875, 0.061187744140625, 0.0635986328125, 0.00811004638671875, 0.0191650390625, 0.0118408203125, 0.024566650390625, 0.0323486328125, -0.027099609375, -0.011199951171875, 0.04095458984375, -0.08099365234375, -0.00609588623046875, -0.0071868896484375, -0.0013217926025390625, -0.0182952880859375, -0.053070068359375, -0.01605224609375, -0.036865234375, -0.1080322265625, -0.08587646484375, 0.0299072265625, -0.04315185546875, -0.0158233642578125, -0.0251007080078125, -0.03277587890625, 0.01702880859375, -0.029449462890625, -0.00975799560546875, 0.00533294677734375, -0.031341552734375, -0.113037109375, -0.06903076171875, -0.09625244140625, 0.0282745361328125, -0.00522613525390625, 0.0215606689453125, 0.0032253265380859375, 0.06396484375, 0.025390625, 0.00295257568359375, 0.036834716796875, 0.0299072265625, -0.009613037109375, -0.02728271484375, 0.0157318115234375, -0.0775146484375, 0.061920166015625, -0.03240966796875, 0.0286712646484375, 0.062042236328125, -0.011383056640625, 0.01910400390625, 0.0421142578125, 0.0184326171875, 0.052703857421875, -0.01081085205078125, -0.057861328125, 0.017486572265625, 0.040863037109375, -0.03125, -0.0131378173828125, -0.00650787353515625, -0.0313720703125, 0.0006012916564941406, 0.0247039794921875, -0.00238800048828125, -0.01540374755859375, 0.0150299072265625, 0.00733184814453125, -0.0147247314453125, -0.0159759521484375, -0.02545166015625, 0.018707275390625, 0.0168914794921875, 0.044525146484375, 0.0289154052734375, 0.04833984375, -0.043792724609375, -0.01031494140625, 0.018218994140625, -0.05072021484375, 0.0164337158203125, -0.058807373046875, 0.0218505859375, -0.000995635986328125, 0.058441162109375, 0.0234375, 0.02081298828125, -0.0257110595703125, -0.041015625, -0.03753662109375, 0.052093505859375, -0.07232666015625, -0.0186920166015625, 0.0275115966796875, 0.0285797119140625, -0.0290985107421875, -0.07659912109375, -0.0024890899658203125, -0.031951904296875, -0.04107666015625, 0.041717529296875, -0.00015401840209960938, 0.002872467041015625, -0.03594970703125, 0.0083160400390625, -0.0238037109375, -0.023223876953125, 0.035552978515625, -0.0198822021484375, 0.0189971923828125, -0.0058135986328125, -0.0087738037109375, -0.012542724609375, -0.01163482666015625, -0.01253509521484375, -0.09991455078125, -0.0270538330078125, 0.0186004638671875, 0.08441162109375, 0.01898193359375, -0.06915283203125, -0.00983428955078125, 0.052001953125, 0.01355743408203125, 0.028594970703125, -0.018646240234375, -0.0181121826171875, -0.021484375, 0.00719451904296875, -0.007411956787109375, -0.01166534423828125, 0.01483154296875, -0.0024623870849609375, -0.0472412109375, -0.040435791015625, -0.031585693359375, -0.0648193359375, 0.00281524658203125, -0.0380859375, -0.0771484375, -0.0009441375732421875, 0.006313323974609375, 0.0063018798828125, -0.0272674560546875, 0.0127716064453125, 0.02532958984375, -0.0615234375, 0.059356689453125, 0.0233612060546875, -0.021728515625, -0.01450347900390625, 0.049407958984375, 0.024932861328125, -0.045440673828125, -0.0188751220703125, -0.0006403923034667969, 0.01812744140625, -0.00482177734375, 0.053314208984375, 0.01419830322265625, 0.001270294189453125, 0.038726806640625, -0.00818634033203125, 0.036407470703125, -0.04229736328125, 0.061798095703125, 0.00044035911560058594, 0.0054473876953125, 0.021026611328125, 0.0159759521484375, -0.0174102783203125, 0.020416259765625, 0.0009322166442871094, -0.05389404296875, 0.03570556640625, 0.05841064453125, -0.034423828125, 0.050628662109375, -0.024444580078125, -0.0081024169921875, 0.0148162841796875, -0.0210113525390625, 0.047760009765625, -0.002307891845703125, -0.00440216064453125, -0.01922607421875, -0.01373291015625, 0.0303955078125, 0.029541015625, 0.04681396484375, -0.0170745849609375, 0.052581787109375, 0.02008056640625, 0.0015506744384765625, 0.0006966590881347656, -0.0017681121826171875, 0.06793212890625, -0.0274505615234375, -0.0212554931640625, -0.0270233154296875, -0.0229339599609375, -0.029449462890625, 0.027374267578125, -0.0302276611328125, 0.00533294677734375, 0.0158233642578125, 0.002685546875, -0.003948211669921875, -0.00044417381286621094, -0.0209503173828125, -0.0250701904296875, 0.061737060546875, -0.00252532958984375, 0.0168609619140625, -0.034942626953125, 0.10028076171875, -0.043212890625, 0.039947509765625, 0.0007729530334472656, -0.0261993408203125, 0.0084686279296875, 0.00519561767578125, 0.0196533203125, 0.0005469322204589844, 0.0020618438720703125, 0.0294036865234375, 0.05828857421875, -0.003437042236328125, -0.0027980804443359375, 0.0023632049560546875, -0.007465362548828125, 0.0285186767578125, 0.02691650390625, -0.0002830028533935547, 0.019439697265625, -0.0240325927734375, 0.00492095947265625, -0.00910186767578125, -0.019073486328125, -0.03564453125, -0.0224761962890625, 0.02777099609375, 0.01131439208984375, -0.01132965087890625, -0.033843994140625, -0.0311737060546875, 0.020843505859375, 0.0070343017578125, 0.0149383544921875, 0.0006990432739257812, -0.0161285400390625, 0.01348876953125, -0.0116729736328125, -0.0269012451171875, -0.0197601318359375, -0.0100555419921875, -0.02734375, -0.01291656494140625, 0.049713134765625, 0.00011926889419555664, 0.0361328125, -0.027130126953125, -0.01544952392578125, 0.00574493408203125, -0.0063934326171875, 0.061676025390625, 0.0246124267578125, -0.03948974609375, -0.0254058837890625, -0.0171661376953125, -0.00004494190216064453, 0.050140380859375, -0.00403594970703125, -0.005672454833984375, -0.0037841796875, -0.01155853271484375, 0.00206756591796875, -0.003971099853515625, -0.00856781005859375, -0.0149688720703125, 0.005138397216796875, 0.01284027099609375, -0.00850677490234375, -0.020263671875, 0.041351318359375, -0.0152435302734375, 0.036102294921875, -0.0024261474609375, -0.00548553466796875, -0.026824951171875, -0.011016845703125, 0.00580596923828125, -0.06622314453125, -0.0209808349609375, -0.023223876953125, -0.037811279296875, 0.038421630859375, 0.048828125, 0.004238128662109375, 0.040924072265625, 0.00989532470703125, 0.0037860870361328125, -0.006412506103515625, -0.08038330078125, -0.005207061767578125, -0.0103302001953125, 0.039794921875, -0.01629638671875, -0.0255126953125, -0.01029205322265625, -0.0057373046875, 0.01336669921875, -0.0183258056640625, 0.00247955322265625, 0.0279998779296875, -0.004863739013671875, -0.0087127685546875, 0.06011962890625, 0.022125244140625, 0.056640625, 0.0003421306610107422, 0.026519775390625, 0.03973388671875, 0.0258331298828125, -0.0112152099609375, 0.01258087158203125, 0.0298004150390625, -0.01064300537109375, -0.01354217529296875, 0.0091400146484375, -0.0169525146484375, -0.00811004638671875, 0.035400390625, 0.032562255859375, -0.06768798828125, 0.002681732177734375, 0.0064239501953125, 0.0298309326171875, 0.0316162109375, 0.055938720703125, -0.0455322265625, -0.0367431640625, -0.056060791015625, -0.032440185546875, -0.0243682861328125, -0.0221099853515625, 0.044342041015625, 0.00789642333984375, 0.009490966796875, 0.031341552734375, -0.01432037353515625, -0.0260009765625, -0.015899658203125, 0.0157318115234375, -0.021484375, 0.005596160888671875, 0.0002818107604980469, 0.01274871826171875, -0.02471923828125, -0.04058837890625, 0.00206756591796875, -0.035888671875, -0.025146484375, -0.011077880859375, 0.0016679763793945312, 0.053558349609375, 0.0231475830078125, 0.018951416015625, -0.0260467529296875, 0.0008649826049804688, 0.0159149169921875, -0.003185272216796875, -0.0187835693359375, -0.011016845703125, 0.015289306640625, -0.01593017578125, 0.0191192626953125, -0.02130126953125, -0.0003666877746582031, -0.01126861572265625, 0.02032470703125, 0.036834716796875, 0.002277374267578125, -0.0223388671875, 0.045013427734375, 0.01004791259765625, -0.0161895751953125, 0.01513671875, -0.0194091796875, -0.06781005859375, -0.05633544921875, 0.01245880126953125, -0.07000732421875, 0.011566162109375, 0.00015270709991455078, -0.04998779296875, 0.0760498046875, -0.00626373291015625, 0.0296630859375, 0.048370361328125, 0.01922607421875, -0.04034423828125, -0.01079559326171875, -0.037994384765625, 0.0411376953125, 0.038848876953125, 0.059906005859375, -0.060150146484375, -0.0322265625, 0.0264739990234375, 0.07159423828125, 0.0709228515625, 0.006702423095703125, -0.01739501953125, -0.014190673828125, 0.043548583984375, 0.041961669921875, -0.006069183349609375, 0.011505126953125, 0.03839111328125, 0.07659912109375, 0.0726318359375, -0.0498046875, 0.038421630859375, -0.062042236328125, 0.0239410400390625, 0.046478271484375, 0.019256591796875, 0.0307159423828125, 0.007518768310546875, -0.014984130859375, -0.0133056640625, 0.01082611083984375, 0.0074920654296875, 0.0022068023681640625, 0.004184722900390625, 0.0160980224609375, -0.0121917724609375, 0.0185546875, -0.05328369140625, 0.0011625289916992188, 0.0163421630859375, 0.00424957275390625, 0.00628662109375, 0.053314208984375, 0.01047515869140625, 0.04962158203125, 0.019927978515625, 0.01007080078125, 0.0260162353515625, 0.02398681640625, 0.0689697265625, 0.0168914794921875, 0.03271484375, -0.045928955078125, 0.01038360595703125, 0.02069091796875, 0.065185546875, -0.04718017578125, -0.058746337890625, 0.00033545494079589844, -0.005092620849609375, -0.006072998046875, 0.0190582275390625, -0.0013141632080078125, 0.027801513671875, 0.04888916015625, -0.0277252197265625, 0.00911712646484375, 0.0589599609375, -0.0035800933837890625, 0.00946807861328125, 0.031890869140625, -0.03729248046875, 0.01099395751953125, -0.058746337890625, -0.0300750732421875, 0.04248046875, 0.06842041015625, 0.035797119140625, 0.059234619140625, 0.035675048828125, -0.04779052734375, -0.052032470703125, 0.034210205078125, 0.0032901763916015625, 0.0750732421875, -0.06402587890625, -0.006626129150390625, 0.0023441314697265625, 0.052764892578125, 0.046417236328125, 0.0025310516357421875, 0.049285888671875, -0.01515960693359375, -0.05908203125, 0.00827789306640625, 0.01413726806640625, -0.037750244140625, 0.01715087890625, -0.01149749755859375, 0.018310546875, -0.00875091552734375, -0.01558685302734375, -0.027252197265625, 0.0126190185546875, 0.006313323974609375, 0.00879669189453125, 0.0002853870391845703, 0.004558563232421875, -0.05975341796875, 0.00783538818359375, -0.01186370849609375, 0.09039306640625, 0.010223388671875, -0.03515625, 0.002826690673828125, -0.048431396484375, -0.04473876953125, 0.0390625, 0.041778564453125, -0.0039825439453125, 0.00290679931640625, 0.02154541015625, -0.0287628173828125, 0.0015916824340820312, 0.0258941650390625, 0.00734710693359375, -0.003734588623046875, 0.0114593505859375, -0.007213592529296875, -0.05169677734375, -0.01131439208984375, 0.01293182373046875, -0.01233673095703125, 0.024871826171875, 0.02398681640625, 0.021453857421875, 0.01010894775390625, 0.0256500244140625, 0.0189056396484375, -0.0099639892578125, 0.026031494140625, -0.01702880859375, -0.0286712646484375, 0.01019287109375, 0.00139617919921875, -0.00865936279296875, 0.01434326171875, 0.037628173828125, -0.01983642578125, 0.0297393798828125, -0.041778564453125, 0.0276641845703125, -0.02777099609375, 0.032928466796875, -0.0115966796875, -0.0007929801940917969, 0.00553131103515625, -0.0238037109375, 0.0482177734375, 0.02325439453125, 0.0019044876098632812, 0.03997802734375, 0.01110076904296875, 0.001918792724609375, 0.042022705078125, -0.0250091552734375, 0.0474853515625, 0.024932861328125, -0.00921630859375, 0.033935546875, -0.0288543701171875, -0.036895751953125, -0.01702880859375, 0.01282501220703125, -0.0278167724609375, -0.02508544921875, 0.0256500244140625, -0.0165863037109375, -0.01934814453125, 0.040618896484375, 0.01116180419921875, -0.005779266357421875, -0.00189971923828125, -0.008453369140625, -0.06396484375, 0.00370025634765625, -0.020233154296875, -0.0006508827209472656, -0.0284271240234375, -0.0029506683349609375, 0.00428009033203125, -0.0775146484375, -0.0382080078125, -0.006107330322265625, 0.0267333984375, 0.00846099853515625, -0.056976318359375, 0.022003173828125, -0.02178955078125, 0.0313720703125, -0.01081085205078125, -0.0022125244140625, -0.0167694091796875, 0.0087127685546875, 0.006404876708984375, 0.0216522216796875, -0.04461669921875, 0.01114654541015625, 0.0260772705078125, 0.01102447509765625, 0.01305389404296875, -0.0013942718505859375, 0.0017290115356445312, 0.05609130859375, 0.013153076171875, 0.0938720703125, -0.024444580078125, -0.03228759765625, 0.00907135009765625, 0.00738525390625, -0.01800537109375, -0.020111083984375, -0.0019474029541015625, -0.013580322265625, 0.003444671630859375, -0.00829315185546875, 0.015350341796875, 0.0328369140625, -0.0231475830078125, -0.0748291015625, 0.025299072265625, -0.00864410400390625, -0.033355712890625, -0.03875732421875, -0.0172576904296875, -0.0003063678741455078, 0.039825439453125, -0.0044097900390625, -0.050201416015625, -0.042388916015625, 0.017913818359375, 0.03900146484375, 0.0199432373046875, 0.03839111328125, 0.0266571044921875, -0.057525634765625, 0.00560760498046875, -0.040283203125, 0.03594970703125, -0.03375244140625, 0.01314544677734375, 0.0290679931640625, 0.03857421875, 0.00974273681640625, 0.017120361328125, 0.03497314453125, -0.0269775390625, -0.0025615692138671875, -0.006011962890625, -0.021453857421875, 0.002079010009765625, 0.038604736328125, 0.0311279296875, 0.005855560302734375, -0.0250244140625, 0.02056884765625, -0.003753662109375, -0.038909912109375, -0.00772857666015625, 0.008819580078125, -0.05908203125, -0.0244903564453125, 0.0205841064453125, -0.01052093505859375, 0.004558563232421875, -0.035308837890625, -0.0242156982421875, -0.0031585693359375, 0.0090484619140625, 0.0005240440368652344, 0.0156707763671875, -0.050201416015625, 0.005855560302734375, -0.017578125, -0.049530029296875, 0.0159149169921875, 0.0276947021484375, -0.042724609375, 0.0108642578125, -0.0165863037109375, -0.01136016845703125, -0.00885772705078125, 0.0328369140625, -0.006435394287109375, 0.008514404296875, -0.0162811279296875, -0.009674072265625, -0.031463623046875, 0.037567138671875, 0.0243988037109375, 0.039337158203125, -0.048736572265625, 0.05902099609375, 0.021270751953125, 0.04931640625, -0.0135498046875, 0.032806396484375, 0.01393890380859375, -0.00489044189453125, -0.0037517547607421875, 0.0240631103515625, 0.0252685546875, -0.0130615234375, -0.0185546875, -0.01192474365234375, -0.0570068359375, -0.048095703125, -0.001232147216796875, -0.01462554931640625, -0.0075225830078125, 0.0305938720703125 ]
a0c843a77cb62bafe6918a2495f85c4d55c12373
Wordpress Stackexchange Q: Change / Delete the default post type and category? I'm developing a website with 3 different post types, and 4 different taxonomies to save the posts under. The default post type and categories are unused in this template, and since many of authors are not very familiar with WordPress and we can't always control them, i wish to delete, change or at least hide the categories and default post from them, so they have to post it under a custom type. For example, someone creates a new post under 'Breaking news' type, and assigns it to News Taxonomy, this post won't be categorized under any category (Uncategorized). If he publishes this as a normal post type,it won't be shown anywhere in the website. Is it possible to work around this? A: Yes this is possible with a very simple solution. Add this code snippet to your theme's funtion.php add_action('admin_menu','remove_default_post_type'); function remove_default_post_type() { remove_menu_page('edit.php'); } More info: https://www.techjunkie.com/remove-default-post-type-from-admin-menu-wordpress/ or https://codex.wordpress.org/Function_Reference/remove_menu_page
Q: Change / Delete the default post type and category? I'm developing a website with 3 different post types, and 4 different taxonomies to save the posts under. The default post type and categories are unused in this template, and since many of authors are not very familiar with WordPress and we can't always control them, i wish to delete, change or at least hide the categories and default post from them, so they have to post it under a custom type. For example, someone creates a new post under 'Breaking news' type, and assigns it to News Taxonomy, this post won't be categorized under any category (Uncategorized). If he publishes this as a normal post type,it won't be shown anywhere in the website. Is it possible to work around this? A: Yes this is possible with a very simple solution. Add this code snippet to your theme's funtion.php add_action('admin_menu','remove_default_post_type'); function remove_default_post_type() { remove_menu_page('edit.php'); } More info: https://www.techjunkie.com/remove-default-post-type-from-admin-menu-wordpress/ or https://codex.wordpress.org/Function_Reference/remove_menu_page A: You can delete the default post type and category menu using below code. add_action('admin_menu','remove_post_cat_menu'); function remove_post_cat_menu() { remove_submenu_page( 'edit.php', 'post-new.php' ); remove_submenu_page( 'edit.php', 'edit-tags.php?taxonomy=category' ); // Removes default category menu } A: Based on @Thijs answer, i managed to do this in 3 parts: First, by removing the edit posts menu from the admin menu. add_action('admin_menu','remove_default_post_type'); function remove_default_post_type() { remove_menu_page('edit.php'); } Then, by removing the new-post button from admin bar, and changing the default link. add_action('admin_menu','remove_default_post_type'); function remove_default_post_type() { remove_menu_page('edit.php'); $default_link = $wp_admin_bar->get_node('new-content'); $default_link->href = '#'; $wp_admin_bar->add_node($default_link); } Now, it's time to completely wipe categories from custom post types, but only assigning tags to taxonomies, while creating custom taxonomies. 'taxonomies' => array('post_tag' ) This will remove any trace of default post type and categories. Since the tag is assigned to taxonomies, we can still access tags from custom post type's menu. However the direct link will still be accessible, which can easily be blocked or redirected using user roles hook.
wordpress
{ "language": "en", "length": 321, "provenance": "stackexchange_00019.jsonl.gz:475436", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264233" }
[ 0.0153656005859375, 0.01898193359375, -0.02178955078125, 0.00408935546875, 0.02838134765625, -0.04547119140625, 0.07220458984375, -0.03143310546875, -0.05364990234375, -0.016387939453125, 0.0012617111206054688, -0.020751953125, -0.032958984375, -0.04071044921875, 0.0280609130859375, -0.061676025390625, 0.020355224609375, 0.0274505615234375, 0.05438232421875, -0.0164642333984375, 0.019287109375, -0.01187896728515625, 0.047119140625, 0.047271728515625, 0.0164642333984375, 0.005336761474609375, 0.03753662109375, -0.03094482421875, -0.0142669677734375, -0.0303192138671875, 0.0175018310546875, 0.0235748291015625, -0.004253387451171875, 0.03167724609375, 0.0014133453369140625, 0.037139892578125, -0.009674072265625, 0.0307464599609375, 0.040283203125, -0.0005154609680175781, 0.0038585662841796875, -0.0007772445678710938, 0.037322998046875, 0.00530242919921875, 0.001483917236328125, -0.042694091796875, 0.0138702392578125, -0.035003662109375, 0.00843048095703125, -0.034576416015625, 0.0222930908203125, -0.0186309814453125, 0.048370361328125, -0.07647705078125, -0.0250244140625, -0.010498046875, -0.01068115234375, -0.019439697265625, 0.057464599609375, 0.01129913330078125, -0.03582763671875, -0.0469970703125, 0.0186004638671875, -0.065673828125, 0.006488800048828125, 0.0049896240234375, 0.0579833984375, 0.01491546630859375, -0.07421875, 0.004497528076171875, 0.056121826171875, -0.028533935546875, 0.024261474609375, -0.01715087890625, 0.006938934326171875, -0.01023101806640625, 0.01042938232421875, 0.028900146484375, 0.0185394287109375, -0.0090789794921875, 0.052642822265625, 0.01885986328125, 0.00542449951171875, -0.0252227783203125, 0.02764892578125, -0.01105499267578125, 0.005367279052734375, -0.027435302734375, -0.0341796875, -0.01267242431640625, -0.0174102783203125, -0.05133056640625, -0.0249176025390625, 0.01169586181640625, 0.006900787353515625, -0.01959228515625, 0.0135955810546875, 0.05572509765625, -0.00940704345703125, 0.0261077880859375, -0.036407470703125, -0.02178955078125, 0.0038700103759765625, -0.04449462890625, 0.0276031494140625, 0.02886962890625, -0.028106689453125, -0.026763916015625, 0.04638671875, 0.03009033203125, 0.0026264190673828125, 0.0129852294921875, -0.0207672119140625, -0.0256805419921875, -0.0098724365234375, 0.03668212890625, -0.02423095703125, 0.03363037109375, -0.002407073974609375, 0.040130615234375, -0.006862640380859375, 0.02496337890625, 0.006130218505859375, -0.06658935546875, 0.0295867919921875, 0.00043201446533203125, -0.042938232421875, -0.01202392578125, 0.0272369384765625, 0.001041412353515625, -0.058502197265625, -0.001667022705078125, 0.10186767578125, 0.047088623046875, 0.045013427734375, -0.0192108154296875, -0.007549285888671875, 0.0005369186401367188, 0.00994873046875, 0.007732391357421875, 0.017547607421875, -0.0230560302734375, 0.00627899169921875, 0.0193634033203125, 0.0293426513671875, 0.036865234375, 0.027618408203125, -0.0161895751953125, -0.0037364959716796875, -0.01090240478515625, -0.02154541015625, -0.0133056640625, 0.0789794921875, 0.0012006759643554688, -0.053375244140625, -0.0221710205078125, 0.072021484375, -0.050048828125, -0.080810546875, -0.0965576171875, 0.0130767822265625, -0.023590087890625, 0.0087890625, -0.0355224609375, -0.05120849609375, 0.040985107421875, -0.0655517578125, -0.006542205810546875, 0.0244903564453125, -0.050811767578125, 0.0232086181640625, -0.0229339599609375, -0.0000546574592590332, 0.008880615234375, 0.0136871337890625, 0.03570556640625, -0.01190948486328125, -0.0120849609375, 0.0132598876953125, 0.0287322998046875, -0.01328277587890625, -0.042083740234375, -0.01264190673828125, 0.0016469955444335938, -0.06951904296875, 0.02569580078125, 0.025848388671875, 0.070068359375, 0.010009765625, 0.0223236083984375, 0.0675048828125, -0.00399017333984375, -0.029266357421875, -0.01457977294921875, 0.0180816650390625, -0.005859375, -0.024658203125, -0.01654052734375, 0.001522064208984375, 0.007350921630859375, -0.01490020751953125, 0.005558013916015625, -0.013427734375, 0.00801849365234375, -0.04132080078125, -0.01129913330078125, -0.01560211181640625, 0.0439453125, -0.0269012451171875, -0.002079010009765625, 0.0211639404296875, -0.037078857421875, -0.004974365234375, -0.044403076171875, -0.0194244384765625, 0.020904541015625, -0.0030364990234375, 0.022705078125, -0.01708984375, 0.02886962890625, -0.0295867919921875, -0.0288238525390625, -0.031951904296875, 0.005420684814453125, 0.06610107421875, 0.01511383056640625, -0.01904296875, -0.0237579345703125, 0.054412841796875, 0.01541900634765625, -0.046783447265625, 0.0127410888671875, 0.005779266357421875, -0.0175628662109375, -0.03485107421875, 0.0221405029296875, 0.0338134765625, -0.0250244140625, -0.01136016845703125, 0.03509521484375, 0.022064208984375, 0.0015935897827148438, -0.0285186767578125, 0.0053253173828125, 0.04107666015625, -0.024932861328125, 0.0036449432373046875, 0.003368377685546875, 0.006519317626953125, 0.0138092041015625, 0.00934600830078125, 0.001678466796875, 0.0286407470703125, 0.00716400146484375, 0.036712646484375, 0.0103607177734375, -0.00589752197265625, -0.0382080078125, 0.041900634765625, -0.0248870849609375, 0.0142059326171875, -0.0184478759765625, -0.038482666015625, 0.01161956787109375, 0.06243896484375, -0.0257415771484375, 0.032379150390625, -0.0004048347473144531, -0.0396728515625, -0.0029544830322265625, 0.02264404296875, -0.011566162109375, -0.020721435546875, 0.02020263671875, 0.05609130859375, 0.00270843505859375, -0.0364990234375, -0.01158905029296875, -0.0014781951904296875, 0.017791748046875, -0.00446319580078125, 0.06793212890625, -0.0205841064453125, -0.0160064697265625, -0.0390625, -0.044189453125, -0.0185089111328125, -0.00370025634765625, -0.0172271728515625, -0.032989501953125, -0.002002716064453125, 0.025115966796875, -0.037628173828125, 0.040863037109375, 0.0014047622680664062, -0.02252197265625, 0.016693115234375, -0.047210693359375, 0.0450439453125, -0.036865234375, 0.044219970703125, 0.0703125, -0.0180511474609375, 0.0201416015625, 0.015777587890625, 0.020111083984375, 0.01538848876953125, 0.03118896484375, 0.0039825439453125, -0.005870819091796875, -0.023345947265625, 0.0111846923828125, -0.0029048919677734375, -0.005298614501953125, -0.004886627197265625, -0.028839111328125, 0.00862884521484375, -0.00608062744140625, -0.0285797119140625, 0.0161285400390625, 0.03985595703125, -0.023651123046875, -0.0025997161865234375, -0.01548004150390625, -0.01290130615234375, -0.0276641845703125, -0.00359344482421875, -0.009033203125, 0.04119873046875, -0.011962890625, -0.036895751953125, -0.00737762451171875, -0.047943115234375, -0.040679931640625, -0.0157012939453125, -0.0098114013671875, 0.0038127899169921875, 0.089599609375, 0.02099609375, -0.06866455078125, 0.01007080078125, 0.0099639892578125, -0.03314208984375, 0.0374755859375, 0.055694580078125, -0.0167388916015625, 0.034698486328125, 0.0187835693359375, 0.0018358230590820312, 0.054779052734375, -0.041473388671875, -0.049224853515625, -0.0250091552734375, 0.0084686279296875, 0.01198577880859375, 0.01284027099609375, 0.019805908203125, 0.00211334228515625, 0.003711700439453125, -0.047027587890625, -0.0296783447265625, -0.006565093994140625, -0.035247802734375, 0.0141448974609375, 0.00673675537109375, -0.0039520263671875, -0.0244140625, 0.04248046875, -0.00347900390625, 0.015411376953125, 0.031097412109375, -0.0190887451171875, -0.0023632049560546875, -0.019775390625, -0.022979736328125, -0.02032470703125, 0.00844573974609375, -0.036407470703125, -0.002880096435546875, -0.0114898681640625, 0.00647735595703125, 0.00870513916015625, -0.029052734375, 0.00740814208984375, -0.08306884765625, 0.0284423828125, -0.0953369140625, -0.03045654296875, -0.050079345703125, 0.01593017578125, -0.0014944076538085938, 0.08050537109375, -0.048736572265625, -0.0055084228515625, -0.02484130859375, 0.007175445556640625, 0.0019969940185546875, -0.061279296875, -0.0264739990234375, -0.0184173583984375, -0.074462890625, 0.0259552001953125, 0.002231597900390625, -0.00750732421875, -0.03887939453125, 0.088623046875, -0.06341552734375, -0.0283355712890625, 0.05657958984375, -0.053314208984375, 0.0207977294921875, 0.025970458984375, -0.00293731689453125, -0.01337432861328125, -0.044464111328125, -0.018768310546875, -0.036773681640625, -0.0219268798828125, 0.0010814666748046875, 0.046722412109375, 0.01294708251953125, -0.0012483596801757812, -0.002025604248046875, 0.043060302734375, 0.01497650146484375, -0.0018453598022460938, -0.013214111328125, -0.0024852752685546875, -0.0203857421875, -0.0224761962890625, -0.01302337646484375, -0.0217742919921875, -0.0087738037109375, -0.004360198974609375, -0.0294952392578125, 0.0148773193359375, -0.006587982177734375, 0.02850341796875, 0.019134521484375, -0.023773193359375, -0.0537109375, -0.041595458984375, -0.043182373046875, -0.010040283203125, -0.007381439208984375, -0.01165771484375, -0.040008544921875, -0.06787109375, 0.053497314453125, -0.01203155517578125, 0.0024127960205078125, 0.006378173828125, 0.06646728515625, 0.002349853515625, -0.0218963623046875, -0.04302978515625, -0.00879669189453125, 0.01837158203125, -0.0101165771484375, 0.05322265625, 0.005657196044921875, 0.01412200927734375, 0.048095703125, -0.020721435546875, 0.0094757080078125, -0.058013916015625, 0.0858154296875, -0.0174713134765625, -0.00710296630859375, 0.0198516845703125, -0.048370361328125, 0.04559326171875, 0.02752685546875, 0.0024089813232421875, -0.018157958984375, -0.006134033203125, 0.036895751953125, 0.00408172607421875, -0.0134735107421875, -0.04522705078125, 0.038055419921875, -0.006603240966796875, 0.0279083251953125, 0.0113677978515625, 0.037384033203125, -0.01092529296875, -0.03515625, -0.0255889892578125, 0.0178375244140625, -0.00836944580078125, 0.0111236572265625, -0.01080322265625, 0.030670166015625, -0.004703521728515625, 0.011871337890625, -0.011444091796875, 0.0012445449829101562, -0.00045490264892578125, -0.034942626953125, -0.04656982421875, -0.05059814453125, 0.0026264190673828125, 0.054229736328125, 0.040802001953125, 0.0016956329345703125, 0.04888916015625, 0.0253753662109375, -0.0032596588134765625, -0.0238800048828125, -0.045013427734375, 0.006504058837890625, -0.055633544921875, -0.007656097412109375, 0.01294708251953125, -0.0115966796875, 0.04608154296875, 0.0215911865234375, 0.0090179443359375, 0.0275726318359375, -0.028533935546875, 0.040130615234375, 0.00795745849609375, 0.0244903564453125, -0.01111602783203125, 0.044036865234375, -0.006351470947265625, 0.0007829666137695312, 0.01290130615234375, -0.0211334228515625, -0.0374755859375, 0.031463623046875, 0.005161285400390625, -0.032196044921875, -0.006870269775390625, 0.01824951171875, 0.0266571044921875, -0.00484466552734375, -0.005725860595703125, -0.03912353515625, -0.045989990234375, 0.0017423629760742188, 0.03814697265625, 0.0294189453125, -0.02581787109375, -0.0345458984375, 0.0043487548828125, -0.049957275390625, -0.004314422607421875, -0.023345947265625, -0.044036865234375, 0.01959228515625, 0.0285186767578125, -0.0411376953125, -0.0274658203125, 0.01837158203125, -0.056976318359375, -0.01253509521484375, -0.0028247833251953125, -0.00778961181640625, 0.01010894775390625, -0.0096282958984375, 0.0257720947265625, -0.006237030029296875, -0.01503753662109375, 0.043121337890625, -0.003299713134765625, 0.05853271484375, 0.01082611083984375, -0.0030670166015625, -0.01415252685546875, -0.04931640625, -0.037139892578125, -0.0302886962890625, -0.0195159912109375, -0.038421630859375, 0.00576019287109375, 0.01207733154296875, 0.00907135009765625, -0.002109527587890625, 0.0023937225341796875, -0.0251922607421875, 0.0325927734375, 0.01995849609375, 0.052001953125, -0.0146331787109375, 0.055511474609375, 0.0038623809814453125, 0.0134735107421875, 0.00637054443359375, 0.0030918121337890625, -0.0396728515625, 0.01325225830078125, 0.01019287109375, -0.04364013671875, -0.01727294921875, -0.00656890869140625, -0.06268310546875, 0.0203704833984375, 0.053741455078125, -0.0007572174072265625, 0.002803802490234375, 0.004375457763671875, 0.0037746429443359375, -0.037750244140625, 0.004360198974609375, 0.005649566650390625, 0.030548095703125, -0.0269317626953125, 0.0030231475830078125, 0.0297393798828125, -0.0056915283203125, 0.0035343170166015625, -0.0066375732421875, -0.0303802490234375, 0.01010894775390625, 0.0217437744140625, -0.0457763671875, 0.0382080078125, 0.034454345703125, -0.01849365234375, 0.01548004150390625, 0.0005035400390625, -0.01078033447265625, 0.00992584228515625, -0.03765869140625, -0.003662109375, 0.0140838623046875, 0.020477294921875, -0.014129638671875, 0.0002105236053466797, 0.0188446044921875, -0.0155792236328125, 0.0013751983642578125, 0.0748291015625, 0.064697265625, -0.10107421875, 0.004180908203125, 0.034088134765625, -0.00009065866470336914, 0.0178680419921875, -0.003963470458984375, -0.0239105224609375, -0.0106353759765625, -0.0233154296875, -0.0243682861328125, -0.05877685546875, -0.0276031494140625, 0.019683837890625, -0.016510009765625, 0.00579833984375, 0.018768310546875, 0.01062774658203125, 0.00403594970703125, -0.013641357421875, -0.012359619140625, 0.0028839111328125, -0.02978515625, 0.017364501953125, 0.00293731689453125, -0.03546142578125, -0.07501220703125, 0.01690673828125, 0.00860595703125, -0.016021728515625, 0.02813720703125, -0.03265380859375, -0.0023212432861328125, 0.042877197265625, -0.04510498046875, 0.038665771484375, 0.0101470947265625, -0.046356201171875, -0.0518798828125, -0.040191650390625, 0.0345458984375, 0.0192413330078125, -0.04351806640625, 0.03802490234375, -0.0253143310546875, -0.06903076171875, -0.00531005859375, -0.04345703125, 0.0845947265625, -0.06536865234375, -0.005950927734375, -0.0022735595703125, 0.01308441162109375, 0.0257110595703125, -0.0230712890625, 0.01922607421875, -0.01287841796875, 0.0180206298828125, -0.024658203125, -0.0018167495727539062, -0.0107421875, -0.042755126953125, -0.07733154296875, 0.059112548828125, -0.0002129077911376953, 0.046630859375, -0.0031375885009765625, 0.0037403106689453125, 0.0003750324249267578, -0.003143310546875, -0.015838623046875, 0.05169677734375, 0.032958984375, 0.0123748779296875, -0.009765625, -0.0161285400390625, 0.01294708251953125, 0.034912109375, 0.062164306640625, 0.0110626220703125, 0.00860595703125, 0.0147552490234375, 0.068115234375, 0.0308074951171875, -0.0168304443359375, 0.00644683837890625, -0.010528564453125, -0.0207061767578125, -0.0108489990234375, -0.00290679931640625, 0.01363372802734375, -0.00696563720703125, -0.039154052734375, 0.0220184326171875, 0.0300140380859375, 0.0523681640625, -0.0014200210571289062, 0.019012451171875, -0.0293426513671875, -0.002178192138671875, 0.032379150390625, -0.005298614501953125, -0.0176849365234375, 0.04229736328125, 0.043212890625, -0.06427001953125, 0.04803466796875, -0.04931640625, 0.07098388671875, 0.01922607421875, 0.025360107421875, 0.0252532958984375, 0.01534271240234375, 0.004062652587890625, -0.034576416015625, 0.0038299560546875, -0.01064300537109375, -0.024444580078125, 0.059783935546875, 0.0328369140625, 0.02362060546875, -0.01189422607421875, 0.01250457763671875, 0.03570556640625, 0.0689697265625, -0.043548583984375, -0.061065673828125, 0.011688232421875, 0.035247802734375, 0.0287017822265625, 0.0177154541015625, 0.03509521484375, -0.00936126708984375, 0.06463623046875, -0.05474853515625, -0.0030307769775390625, 0.005496978759765625, 0.0193939208984375, -0.0292205810546875, -0.01386260986328125, -0.01377105712890625, -0.0033473968505859375, -0.073486328125, 0.030303955078125, 0.019378662109375, 0.066162109375, 0.0207366943359375, 0.060089111328125, 0.0223236083984375, -0.0232696533203125, 0.01032257080078125, -0.0022106170654296875, -0.0247802734375, -0.010772705078125, -0.0231475830078125, -0.039398193359375, -0.006496429443359375, 0.0286102294921875, -0.0012845993041992188, 0.01189422607421875, 0.04644775390625, 0.0341796875, -0.039947509765625, -0.0234527587890625, 0.0125579833984375, -0.0233001708984375, -0.035064697265625, -0.031585693359375, -0.01654052734375, 0.004154205322265625, -0.0117034912109375, 0.030914306640625, 0.0184478759765625, -0.006175994873046875, -0.00893402099609375, -0.00266265869140625, 0.015350341796875, -0.041534423828125, 0.07354736328125, 0.0071258544921875, 0.0616455078125, 0.01222991943359375, -0.1004638671875, -0.027862548828125, -0.023223876953125, -0.03936767578125, 0.04278564453125, 0.037841796875, -0.036895751953125, 0.0166473388671875, 0.0167999267578125, -0.00467681884765625, -0.0004968643188476562, -0.010711669921875, 0.014862060546875, -0.0071868896484375, 0.0152587890625, 0.0095062255859375, -0.005893707275390625, -0.023651123046875, -0.0031070709228515625, 0.05462646484375, 0.01165771484375, 0.0614013671875, -0.0162811279296875, 0.0176239013671875, -0.0435791015625, 0.07098388671875, -0.08203125, -0.038787841796875, 0.001293182373046875, 0.021240234375, 0.0299835205078125, 0.00579833984375, 0.00519561767578125, -0.00910186767578125, 0.054107666015625, -0.0751953125, 0.0015773773193359375, -0.004177093505859375, 0.006107330322265625, -0.068359375, 0.0302734375, -0.008087158203125, -0.003330230712890625, -0.01708984375, 0.006923675537109375, 0.03460693359375, 0.026336669921875, -0.026702880859375, 0.0027904510498046875, -0.038482666015625, -0.026519775390625, 0.005390167236328125, -0.00507354736328125, -0.0157012939453125, 0.0286102294921875, -0.01448822021484375, -0.027984619140625, 0.0465087890625, 0.0037403106689453125, 0.000021159648895263672, 0.0478515625, 0.01558685302734375, 0.04290771484375, -0.0217742919921875, 0.0037689208984375, -0.0189208984375, 0.0221710205078125, -0.024749755859375, -0.00771331787109375, -0.01468658447265625, 0.007541656494140625, 0.006099700927734375, 0.051910400390625, -0.0333251953125, -0.0318603515625, -0.01053619384765625, -0.01024627685546875, -0.021209716796875, -0.056610107421875, -0.071044921875, 0.0352783203125, 0.0305328369140625, -0.00678253173828125, -0.0263519287109375, 0.05438232421875, -0.0496826171875, 0.0218353271484375, 0.0023174285888671875, -0.0350341796875, -0.005161285400390625, 0.0106201171875, -0.0276641845703125, 0.0033435821533203125, -0.0648193359375, -0.03558349609375, -0.054412841796875, 0.01145172119140625, 0.02703857421875, -0.009613037109375, -0.0038299560546875, -0.0175323486328125, -0.0015506744384765625, 0.0428466796875, 0.00518035888671875, -0.0239105224609375, -0.01416778564453125, 0.0100860595703125, -0.020263671875, -0.020721435546875, 0.0260009765625, -0.051116943359375, -0.03729248046875, 0.0177764892578125, 0.0051422119140625, 0.047210693359375, -0.0158233642578125, -0.04107666015625, 0.061920166015625, -0.01078033447265625, -0.0260772705078125, 0.0129852294921875, 0.01690673828125, -0.021514892578125, 0.03094482421875, 0.01546478271484375, -0.025726318359375, 0.003894805908203125, -0.002544403076171875, -0.01331329345703125, 0.0390625, 0.01763916015625, -0.03955078125, -0.0038890838623046875, -0.0211334228515625, -0.0084991455078125, 0.0031147003173828125, 0.011260986328125, -0.0076904296875, 0.02978515625, 0.037353515625, -0.043487548828125, 0.00800323486328125, -0.01555633544921875, 0.009368896484375, 0.00823211669921875, -0.0161590576171875, -0.06280517578125, -0.0299072265625, 0.06219482421875, 0.0618896484375, 0.0250396728515625, -0.0118408203125, -0.022064208984375, -0.03692626953125, -0.021209716796875, -0.034912109375, 0.0272674560546875, -0.0814208984375, -0.02093505859375, 0.025634765625, -0.0156707763671875, -0.0254974365234375, -0.006526947021484375, -0.0369873046875, -0.005252838134765625, -0.0028171539306640625, 0.0009832382202148438, -0.0325927734375, 0.047271728515625, -0.043670654296875, 0.0085906982421875, 0.01520538330078125, -0.038604736328125, -0.004474639892578125, -0.00855255126953125, -0.00733184814453125, -0.03948974609375, -0.0189361572265625, -0.026641845703125, 0.006351470947265625, -0.0212249755859375, 0.01267242431640625, -0.0205535888671875, 0.0197296142578125, -0.026458740234375, 0.0021915435791015625, 0.0160675048828125, 0.00914764404296875, -0.020721435546875, 0.017425537109375, 0.035858154296875, -0.033477783203125, 0.01678466796875, 0.0012216567993164062, -0.01168060302734375, 0.05059814453125, -0.00513458251953125, -0.036102294921875, 0.0200347900390625, -0.0465087890625, -0.00482177734375, 0.0052642822265625, 0.0030269622802734375, -0.055694580078125, 0.0406494140625, 0.006755828857421875, 0.02593994140625, 0.031829833984375 ]
1525c31b05a081dcf3dacfa02aaaa7e0a855f73b
Wordpress Stackexchange Q: Switching from editing on directly on remote server to PHPstorm local development? I was recently told that my workflow would be improved if I switched from using emacs to edit the files on a staging server directly to using PHPstorm to make changes to my website. I am fairly lost on what I should do to set PHPstorm up properly as well as correctly cloning my website. I have set the website up using version control however it's not all of the content for the site, just the relevant files in the wp-content directory. Where should I start in getting my local environment set up properly? Thanks!
Q: Switching from editing on directly on remote server to PHPstorm local development? I was recently told that my workflow would be improved if I switched from using emacs to edit the files on a staging server directly to using PHPstorm to make changes to my website. I am fairly lost on what I should do to set PHPstorm up properly as well as correctly cloning my website. I have set the website up using version control however it's not all of the content for the site, just the relevant files in the wp-content directory. Where should I start in getting my local environment set up properly? Thanks!
wordpress
{ "language": "en", "length": 108, "provenance": "stackexchange_00019.jsonl.gz:475498", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264437" }
[ -0.030364990234375, -0.006000518798828125, -0.042205810546875, -0.04620361328125, 0.0005426406860351562, 0.01161956787109375, -0.0265960693359375, 0.0261993408203125, 0.027618408203125, -0.0238494873046875, -0.0011205673217773438, -0.035430908203125, -0.0251007080078125, -0.0516357421875, 0.023651123046875, -0.0278167724609375, 0.0254974365234375, -0.02484130859375, -0.0230255126953125, -0.029083251953125, -0.00711822509765625, -0.030670166015625, 0.0247344970703125, 0.05731201171875, 0.0190277099609375, -0.002471923828125, -0.022247314453125, 0.0290069580078125, -0.0292816162109375, -0.019989013671875, 0.00634002685546875, 0.037139892578125, 0.0297698974609375, 0.0154571533203125, -0.04400634765625, 0.0010194778442382812, 0.0225067138671875, 0.0022640228271484375, -0.01168060302734375, 0.035980224609375, 0.0252227783203125, -0.0396728515625, -0.014617919921875, -0.0216522216796875, -0.01342010498046875, -0.0027980804443359375, 0.0200042724609375, -0.018218994140625, 0.0225372314453125, -0.053314208984375, -0.0322265625, 0.01019287109375, -0.0171966552734375, -0.0126190185546875, -0.005382537841796875, 0.002593994140625, 0.01464080810546875, 0.012359619140625, 0.026458740234375, -0.006031036376953125, -0.05419921875, 0.0039520263671875, 0.02728271484375, -0.01219940185546875, -0.0151519775390625, -0.020355224609375, -0.020843505859375, 0.01739501953125, -0.004119873046875, -0.0221710205078125, 0.008758544921875, -0.0105743408203125, 0.0157470703125, -0.05242919921875, -0.0325927734375, 0.040679931640625, 0.0012264251708984375, -0.002895355224609375, 0.0201873779296875, -0.045623779296875, 0.020477294921875, 0.0286407470703125, 0.0092620849609375, -0.0888671875, 0.062469482421875, -0.0400390625, 0.0016603469848632812, -0.0116119384765625, -0.052947998046875, -0.02740478515625, -0.028289794921875, -0.0219879150390625, -0.0831298828125, -0.00670623779296875, 0.0023975372314453125, -0.0219573974609375, -0.017791748046875, -0.036529541015625, 0.0307159423828125, 0.007785797119140625, 0.0162811279296875, -0.036224365234375, 0.007476806640625, 0.0024509429931640625, -0.005634307861328125, -0.0023288726806640625, -0.01079559326171875, 0.0086822509765625, 0.0297088623046875, 0.0294647216796875, -0.0281829833984375, 0.0107574462890625, -0.010467529296875, -0.00222015380859375, -0.0126800537109375, 0.019317626953125, -0.01544952392578125, 0.028167724609375, -0.005645751953125, 0.026336669921875, 0.0103759765625, 0.0177764892578125, -0.022979736328125, 0.01190948486328125, 0.01409912109375, 0.008758544921875, -0.0019588470458984375, -0.00896453857421875, 0.01197052001953125, -0.00815582275390625, -0.05029296875, 0.020904541015625, 0.11712646484375, 0.043426513671875, 0.0200042724609375, -0.00659942626953125, 0.002033233642578125, 0.00823974609375, 0.021697998046875, 0.0110931396484375, -0.033782958984375, -0.026458740234375, 0.0225982666015625, -0.0032672882080078125, -0.00281524658203125, 0.01007843017578125, 0.020050048828125, 0.0191192626953125, -0.01216888427734375, -0.005828857421875, 0.0105133056640625, -0.010894775390625, -0.00548553466796875, -0.004138946533203125, 0.0875244140625, -0.031951904296875, 0.03729248046875, -0.032073974609375, 0.038421630859375, 0.0174560546875, 0.0244903564453125, -0.002777099609375, 0.0092926025390625, -0.0380859375, -0.04345703125, -0.0133209228515625, -0.0517578125, -0.0014944076538085938, 0.02105712890625, -0.0196075439453125, 0.0276336669921875, -0.0121612548828125, 0.025909423828125, 0.0025787353515625, 0.0100555419921875, 0.01544189453125, -0.0131988525390625, -0.0015869140625, -0.00466156005859375, 0.019805908203125, 0.0306396484375, -0.0163726806640625, -0.016998291015625, 0.04345703125, -0.0509033203125, 0.005779266357421875, 0.0010862350463867188, 0.033843994140625, 0.054473876953125, -0.0113525390625, 0.017608642578125, -0.0322265625, -0.00940704345703125, 0.00958251953125, 0.01702880859375, -0.01238250732421875, -0.006927490234375, 0.011566162109375, 0.007389068603515625, -0.046722412109375, -0.0060577392578125, 0.0029773712158203125, -0.003009796142578125, -0.0281829833984375, -0.047119140625, -0.0082855224609375, -0.01461029052734375, 0.0350341796875, 0.060211181640625, -0.004413604736328125, -0.031280517578125, -0.02105712890625, 0.038848876953125, -0.08367919921875, -0.076171875, 0.0197906494140625, -0.0270538330078125, 0.017791748046875, 0.0067291259765625, -0.005786895751953125, 0.00879669189453125, 0.0006928443908691406, 0.005146026611328125, -0.0161285400390625, -0.00714111328125, 0.038299560546875, -0.04608154296875, 0.0232696533203125, -0.02423095703125, 0.0308380126953125, -0.019775390625, 0.02557373046875, -0.022369384765625, 0.01971435546875, 0.01213836669921875, -0.007236480712890625, 0.01384735107421875, -0.06988525390625, 0.03106689453125, 0.025390625, 0.022186279296875, 0.0160675048828125, 0.0144805908203125, 0.033111572265625, 0.040802001953125, -0.024261474609375, 0.0313720703125, -0.007335662841796875, 0.0033855438232421875, 0.045562744140625, -0.022430419921875, -0.00379180908203125, 0.00919342041015625, -0.032501220703125, -0.036773681640625, 0.03485107421875, -0.0257110595703125, -0.031646728515625, 0.016387939453125, -0.0211944580078125, 0.02197265625, -0.0780029296875, -0.058319091796875, -0.0210418701171875, 0.01641845703125, -0.0178375244140625, 0.031951904296875, 0.029449462890625, -0.01947021484375, -0.0065765380859375, 0.017913818359375, 0.01409912109375, 0.0248565673828125, 0.024505615234375, -0.0128326416015625, 0.046661376953125, -0.0181121826171875, -0.014404296875, 0.037750244140625, 0.0169525146484375, -0.0423583984375, -0.0216827392578125, 0.03265380859375, -0.006923675537109375, -0.001312255859375, -0.031097412109375, 0.05743408203125, -0.0083160400390625, -0.0198516845703125, 0.01995849609375, 0.044403076171875, 0.0280914306640625, -0.034759521484375, 0.0322265625, -0.0230865478515625, 0.001346588134765625, 0.08673095703125, 0.01068115234375, -0.0146026611328125, 0.021942138671875, 0.0318603515625, 0.03582763671875, 0.01125335693359375, -0.048095703125, 0.004489898681640625, 0.05145263671875, 0.034881591796875, -0.03607177734375, -0.0178070068359375, 0.02496337890625, -0.0947265625, -0.06671142578125, -0.00701904296875, 0.0002968311309814453, -0.0333251953125, -0.043243408203125, -0.043426513671875, -0.01503753662109375, -0.0804443359375, -0.017578125, -0.0150299072265625, -0.0269775390625, -0.004215240478515625, 0.027984619140625, -0.0110626220703125, -0.019927978515625, 0.04351806640625, 0.0084686279296875, 0.036529541015625, -0.045135498046875, -0.035247802734375, -0.07281494140625, -0.07635498046875, -0.06805419921875, 0.0069732666015625, 0.00010657310485839844, 0.0146331787109375, 0.0229949951171875, 0.01971435546875, 0.004840850830078125, 0.04400634765625, 0.01806640625, -0.0230255126953125, -0.0005631446838378906, 0.0009493827819824219, -0.02301025390625, 0.023895263671875, 0.0007147789001464844, -0.0214385986328125, -0.0012950897216796875, 0.0037899017333984375, -0.0272674560546875, -0.0151519775390625, 0.0099334716796875, -0.00725555419921875, 0.0030574798583984375, 0.01739501953125, -0.00640869140625, -0.020599365234375, -0.0418701171875, -0.0127105712890625, 0.018402099609375, -0.0229339599609375, -0.021881103515625, 0.016998291015625, -0.0211944580078125, 0.0003783702850341797, -0.0192108154296875, 0.0295257568359375, 0.01506805419921875, 0.043121337890625, -0.0176239013671875, 0.0250396728515625, -0.01140594482421875, 0.0062103271484375, -0.047454833984375, 0.048614501953125, -0.0165557861328125, 0.050506591796875, 0.038787841796875, -0.003627777099609375, -0.01739501953125, 0.00943756103515625, -0.054840087890625, -0.037628173828125, 0.01371002197265625, -0.049224853515625, 0.005939483642578125, -0.02154541015625, 0.0008993148803710938, 0.01360321044921875, 0.057037353515625, -0.035552978515625, -0.0192413330078125, 0.0257415771484375, 0.0038661956787109375, -0.0445556640625, 0.02215576171875, -0.07220458984375, 0.002544403076171875, -0.056060791015625, 0.01371002197265625, -0.00676727294921875, -0.0201568603515625, 0.007610321044921875, -0.0310516357421875, -0.013427734375, -0.04345703125, 0.0308685302734375, -0.054351806640625, 0.031951904296875, -0.007282257080078125, 0.03192138671875, -0.035675048828125, -0.023284912109375, -0.040130615234375, -0.145263671875, -0.0220489501953125, -0.0294342041015625, 0.06927490234375, -0.0091705322265625, 0.007244110107421875, -0.04595947265625, 0.0633544921875, -0.052459716796875, -0.0054779052734375, -0.003536224365234375, 0.057403564453125, -0.0280609130859375, -0.016876220703125, -0.0223541259765625, -0.031768798828125, -0.032196044921875, -0.0361328125, -0.062103271484375, -0.0159912109375, -0.002231597900390625, 0.00981903076171875, 0.0238037109375, -0.0283660888671875, -0.038970947265625, 0.006511688232421875, -0.0169219970703125, -0.0085601806640625, 0.005924224853515625, -0.034423828125, 0.00341033935546875, -0.0394287109375, 0.09661865234375, 0.00379180908203125, 0.00928497314453125, -0.036895751953125, 0.08367919921875, 0.00617218017578125, -0.04669189453125, 0.02783203125, -0.0091400146484375, 0.05291748046875, 0.0224151611328125, 0.01007080078125, 0.001873016357421875, -0.053863525390625, 0.07623291015625, 0.027923583984375, 0.028076171875, -0.01103973388671875, 0.01035308837890625, 0.0021381378173828125, 0.0211944580078125, -0.01120758056640625, 0.0223236083984375, 0.01495361328125, 0.0214996337890625, 0.005039215087890625, -0.00626373291015625, 0.016571044921875, 0.01097869873046875, 0.008514404296875, -0.023193359375, -0.0227203369140625, -0.051483154296875, 0.02532958984375, -0.0205535888671875, 0.036102294921875, 0.017425537109375, -0.00586700439453125, 0.0299072265625, -0.0160369873046875, -0.00797271728515625, 0.035125732421875, -0.0058441162109375, 0.0029888153076171875, 0.0007982254028320312, 0.0311431884765625, -0.027557373046875, 0.02264404296875, -0.012664794921875, 0.05499267578125, 0.024566650390625, -0.02459716796875, 0.0163116455078125, 0.00588226318359375, -0.001590728759765625, -0.020263671875, 0.0206298828125, -0.01404571533203125, -0.02716064453125, -0.0027256011962890625, -0.01081085205078125, 0.0244903564453125, -0.036834716796875, -0.027252197265625, -0.05865478515625, -0.01035308837890625, -0.040679931640625, 0.03729248046875, -0.03973388671875, -0.007007598876953125, -0.0301361083984375, -0.005855560302734375, 0.041748046875, 0.07080078125, -0.061431884765625, 0.00508880615234375, 0.048980712890625, 0.02154541015625, -0.10888671875, 0.0440673828125, -0.00670623779296875, -0.02325439453125, 0.020721435546875, 0.00335693359375, 0.0010271072387695312, 0.00986480712890625, -0.0031337738037109375, -0.004180908203125, -0.01519012451171875, 0.04095458984375, -0.0222320556640625, -0.0587158203125, -0.04180908203125, -0.03509521484375, 0.030364990234375, -0.0259552001953125, 0.004184722900390625, 0.00818634033203125, 0.0121612548828125, 0.0216217041015625, 0.0191497802734375, -0.0347900390625, -0.006603240966796875, 0.00778961181640625, 0.02862548828125, -0.0170440673828125, 0.019195556640625, -0.0562744140625, 0.022216796875, -0.04058837890625, -0.01242828369140625, 0.06646728515625, -0.0172119140625, -0.013671875, -0.01184844970703125, 0.01410675048828125, -0.040008544921875, 0.021881103515625, 0.00315093994140625, -0.017486572265625, -0.0270843505859375, 0.0020999908447265625, -0.04876708984375, -0.028350830078125, -0.022064208984375, -0.002925872802734375, -0.06134033203125, 0.00804901123046875, 0.0296478271484375, -0.00394439697265625, 0.0013284683227539062, -0.034149169921875, -0.0667724609375, 0.06695556640625, 0.0645751953125, 0.0472412109375, 0.0009694099426269531, 0.01959228515625, -0.0110626220703125, 0.055999755859375, -0.007740020751953125, -0.01910400390625, -0.034454345703125, -0.019439697265625, 0.006313323974609375, -0.0266265869140625, -0.039581298828125, 0.003551483154296875, -0.037384033203125, 0.00797271728515625, 0.038543701171875, -0.022796630859375, -0.0018978118896484375, -0.036956787109375, 0.01119232177734375, -0.02532958984375, 0.03790283203125, -0.05194091796875, -0.031829833984375, -0.01259613037109375, -0.007625579833984375, 0.0010404586791992188, 0.0018873214721679688, 0.003326416015625, -0.0270538330078125, 0.0133514404296875, -0.033660888671875, 0.0011034011840820312, 0.0035400390625, 0.01385498046875, 0.07073974609375, -0.0227508544921875, 0.017059326171875, 0.058074951171875, -0.002262115478515625, 0.005138397216796875, 0.007747650146484375, -0.0247039794921875, -0.00537109375, 0.00875091552734375, -0.020416259765625, -0.02410888671875, -0.0294342041015625, -0.01468658447265625, 0.006999969482421875, 0.0285797119140625, 0.0634765625, -0.0401611328125, 0.0133819580078125, 0.031402587890625, -0.03271484375, -0.0260467529296875, 0.0094451904296875, 0.005970001220703125, -0.041351318359375, -0.0101776123046875, -0.016143798828125, -0.02105712890625, -0.02874755859375, -0.02569580078125, 0.01433563232421875, -0.01325225830078125, 0.0782470703125, 0.0186614990234375, -0.06951904296875, 0.021148681640625, 0.04638671875, 0.0279083251953125, -0.0309906005859375, 0.017913818359375, 0.00656890869140625, -0.006755828857421875, -0.059844970703125, 0.01273345947265625, -0.0036983489990234375, -0.01177215576171875, 0.007144927978515625, -0.01392364501953125, 0.027557373046875, 0.028045654296875, -0.0012311935424804688, -0.00591278076171875, -0.0030994415283203125, -0.0113677978515625, -0.01044464111328125, 0.0196075439453125, -0.00923919677734375, 0.027313232421875, -0.027191162109375, 0.00689697265625, -0.042999267578125, 0.03802490234375, -0.007843017578125, 0.050323486328125, 0.07763671875, 0.0021419525146484375, -0.035247802734375, 0.07269287109375, 0.034515380859375, -0.046142578125, -0.0259246826171875, -0.042755126953125, -0.07000732421875, -0.0294342041015625, -0.0318603515625, -0.0457763671875, 0.01910400390625, -0.0276641845703125, -0.01348876953125, 0.049407958984375, 0.01454925537109375, -0.0038204193115234375, 0.03948974609375, 0.018310546875, -0.040069580078125, -0.00431060791015625, -0.0179290771484375, 0.0460205078125, 0.003719329833984375, 0.00746917724609375, -0.0283203125, 0.0074462890625, 0.01885986328125, 0.00820159912109375, 0.046539306640625, 0.00595855712890625, -0.0183563232421875, 0.006832122802734375, 0.03936767578125, 0.011993408203125, -0.014739990234375, 0.0601806640625, -0.0015316009521484375, 0.024444580078125, 0.01360321044921875, -0.026153564453125, 0.0274505615234375, -0.0167236328125, -0.031341552734375, 0.028076171875, 0.0255126953125, 0.01375579833984375, -0.0222320556640625, 0.0545654296875, -0.05523681640625, 0.004184722900390625, 0.045928955078125, 0.024383544921875, 0.0259857177734375, -0.00897979736328125, 0.0068206787109375, -0.014923095703125, -0.0276947021484375, -0.0025196075439453125, 0.02471923828125, -0.0024929046630859375, -0.01073455810546875, 0.0003647804260253906, 0.0027618408203125, -0.0250396728515625, -0.00472259521484375, -0.0186309814453125, 0.01371002197265625, 0.00675201416015625, -0.01324462890625, 0.0172271728515625, 0.006618499755859375, -0.01416015625, 0.037353515625, 0.040283203125, -0.0067291259765625, -0.02593994140625, 0.0033416748046875, -0.00542449951171875, 0.00832366943359375, -0.002819061279296875, -0.032196044921875, 0.01523590087890625, -0.00310516357421875, 0.00461578369140625, -0.03131103515625, -0.002483367919921875, 0.00719451904296875, -0.044158935546875, -0.0010852813720703125, -0.01229095458984375, 0.066162109375, 0.04046630859375, -0.0196380615234375, 0.0117034912109375, 0.022430419921875, 0.018096923828125, -0.005886077880859375, 0.0282440185546875, 0.0051116943359375, -0.002048492431640625, -0.0210113525390625, 0.0022716522216796875, -0.004749298095703125, 0.00550079345703125, -0.0517578125, -0.0290679931640625, 0.037445068359375, 0.04962158203125, 0.036834716796875, -0.0160369873046875, 0.0254058837890625, 0.0183563232421875, -0.0176849365234375, -0.01399993896484375, 0.014862060546875, -0.01727294921875, 0.055450439453125, -0.0269317626953125, 0.0013189315795898438, -0.0172576904296875, -0.03057861328125, -0.0450439453125, 0.0159759521484375, 0.040618896484375, -0.0233154296875, 0.044769287109375, -0.0032100677490234375, -0.037994384765625, 0.035552978515625, -0.01212310791015625, 0.0714111328125, 0.01027679443359375, 0.036407470703125, 0.01561737060546875, 0.0104217529296875, 0.004184722900390625, -0.0416259765625, 0.006153106689453125, 0.0167999267578125, 0.036468505859375, -0.005756378173828125, 0.0113525390625, -0.0088348388671875, -0.0095672607421875, -0.0045166015625, 0.0014886856079101562, 0.02362060546875, -0.0000035762786865234375, -0.0153045654296875, -0.0244140625, -0.05206298828125, 0.1109619140625, 0.01453399658203125, 0.10498046875, -0.07391357421875, 0.06036376953125, 0.005458831787109375, 0.031890869140625, -0.022491455078125, -0.00013756752014160156, 0.0164031982421875, 0.01415252685546875, 0.0243682861328125, -0.01384735107421875, -0.0240020751953125, 0.00855255126953125, 0.0097808837890625, -0.015228271484375, -0.037200927734375, -0.0016946792602539062, 0.025848388671875, 0.04510498046875, 0.0207977294921875, -0.027008056640625, -0.03302001953125, -0.0260009765625, 0.0031147003173828125, 0.0261688232421875, 0.017822265625, -0.0114898681640625, 0.0305633544921875, -0.0189971923828125, -0.015350341796875, 0.00504302978515625, -0.036376953125, -0.01549530029296875, 0.0257110595703125, -0.0170135498046875, -0.08050537109375, 0.042633056640625, 0.0010499954223632812, -0.0179901123046875, 0.032989501953125, 0.06683349609375, 0.0301513671875, -0.039581298828125, 0.01464080810546875, 0.03924560546875, 0.0147857666015625, -0.00827789306640625, -0.00411224365234375, 0.04656982421875, -0.03094482421875, -0.0084381103515625, -0.0274505615234375, -0.0267791748046875, -0.044891357421875, 0.0256195068359375, 0.0306854248046875, 0.01190948486328125, 0.007236480712890625, -0.0062713623046875, -0.0535888671875, 0.04144287109375, -0.00960540771484375, 0.0157623291015625, -0.0316162109375, -0.027862548828125, 0.007610321044921875, 0.01294708251953125, -0.040618896484375, 0.00156402587890625, -0.009185791015625, -0.0396728515625, -0.035552978515625, -0.042449951171875, 0.0157623291015625, -0.0186309814453125, 0.024169921875, 0.0538330078125, -0.00623321533203125, -0.061737060546875, 0.012939453125, -0.00274658203125, 0.0552978515625, -0.056732177734375, -0.029266357421875, 0.01593017578125, 0.0046234130859375, -0.020538330078125, 0.004665374755859375, -0.0041656494140625, 0.034027099609375, -0.00954437255859375, -0.003376007080078125, -0.01444244384765625, 0.00533294677734375, -0.06610107421875, -0.1302490234375, 0.020904541015625, -0.01203155517578125, -0.048858642578125, -0.017852783203125, -0.003017425537109375, -0.02374267578125, 0.05279541015625, -0.00399017333984375, -0.01299285888671875, -0.0039825439453125, 0.03125, -0.00806427001953125, 0.048065185546875, 0.006946563720703125, -0.015380859375, 0.0095062255859375, 0.0172271728515625, 0.01299285888671875, -0.004138946533203125, -0.0119171142578125, 0.0032749176025390625, 0.004520416259765625, 0.0280303955078125, -0.02679443359375, -0.03192138671875, 0.0179595947265625, 0.0085601806640625, -0.0180206298828125, 0.0006890296936035156, -0.04290771484375, 0.004581451416015625, 0.1529541015625, 0.0648193359375, 0.047821044921875, -0.05426025390625, 0.0020961761474609375, -0.00936126708984375, -0.027679443359375, -0.019256591796875, -0.00203704833984375, -0.0125732421875, 0.01273345947265625, -0.0538330078125, -0.02301025390625, 0.0313720703125, -0.0194244384765625, -0.0295562744140625, 0.00687408447265625, -0.0170745849609375, -0.032440185546875, 0.01226806640625, -0.04327392578125, 0.08233642578125, -0.031768798828125, 0.0283050537109375, 0.0213623046875, 0.016326904296875, 0.05511474609375, 0.07989501953125, 0.02093505859375, 0.006877899169921875, -0.0272674560546875, 0.01549530029296875, 0.0168304443359375, 0.007633209228515625, -0.0114288330078125, -0.0300445556640625, -0.006183624267578125, -0.0011444091796875, 0.0036792755126953125, -0.0010547637939453125, -0.00801849365234375, 0.02032470703125, -0.007274627685546875, 0.044525146484375, -0.032684326171875, -0.01065826416015625, -0.0404052734375, 0.0111083984375, -0.043853759765625, 0.04034423828125, -0.02679443359375, 0.01052093505859375, -0.00708770751953125, -0.01308441162109375, -0.0161285400390625, -0.0400390625, 0.004604339599609375, 0.036712646484375, -0.0175018310546875, 0.0185699462890625 ]
8f2193561d8cd9d8d4fbdb8277b0b37d3a94b419
Wordpress Stackexchange Q: Access post from post id in URL I'm doing unit tests for my plugin, and in my unit test, I check some basic things such as posting a custom post type. My script can create new post, and I can retrieve the ID of the posted item (I'm redirected to an URL like http://wordpress.loc/wp-admin/post.php?post=16&action=edit&message=6, so I can deduce that the new post has the ID 16). From this ID, I'd like to check if the post is as it should be by accessing it via URL, with something like http://wordpress.loc/?post=16, but I can't find a way to get directly to my new post using just the ID and without doing any PHP stuff. Is that possible? A: Post can be accessed using post id by passing it as page_id query param to index.php. e.g. http://wordpress.loc/index.php?page_id=16 Or simply http://wordpress.loc/?page_id=16
Q: Access post from post id in URL I'm doing unit tests for my plugin, and in my unit test, I check some basic things such as posting a custom post type. My script can create new post, and I can retrieve the ID of the posted item (I'm redirected to an URL like http://wordpress.loc/wp-admin/post.php?post=16&action=edit&message=6, so I can deduce that the new post has the ID 16). From this ID, I'd like to check if the post is as it should be by accessing it via URL, with something like http://wordpress.loc/?post=16, but I can't find a way to get directly to my new post using just the ID and without doing any PHP stuff. Is that possible? A: Post can be accessed using post id by passing it as page_id query param to index.php. e.g. http://wordpress.loc/index.php?page_id=16 Or simply http://wordpress.loc/?page_id=16
wordpress
{ "language": "en", "length": 139, "provenance": "stackexchange_00019.jsonl.gz:475515", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264482" }
[ 0.08740234375, 0.00911712646484375, 0.0478515625, 0.016326904296875, 0.0102691650390625, -0.009429931640625, 0.0552978515625, -0.0882568359375, -0.002666473388671875, 0.00519561767578125, -0.041473388671875, -0.01355743408203125, -0.0240936279296875, -0.037628173828125, 0.0143585205078125, -0.052001953125, 0.043426513671875, -0.0251617431640625, 0.02569580078125, -0.0087432861328125, 0.0034236907958984375, 0.003406524658203125, 0.054168701171875, 0.0227508544921875, 0.04644775390625, 0.01183319091796875, 0.0290679931640625, -0.0025005340576171875, 0.0205078125, -0.00290679931640625, 0.036224365234375, -0.0452880859375, 0.016876220703125, -0.004657745361328125, 0.0093841552734375, -0.034088134765625, 0.0026607513427734375, -0.0001875162124633789, 0.0172119140625, 0.0165863037109375, 0.039093017578125, -0.025634765625, -0.0098876953125, 0.035125732421875, -0.0110626220703125, -0.036651611328125, 0.030548095703125, -0.042266845703125, 0.006122589111328125, 0.027191162109375, 0.01251220703125, 0.046051025390625, 0.024200439453125, 0.01189422607421875, -0.005603790283203125, -0.00786590576171875, 0.03277587890625, -0.00583648681640625, 0.035736083984375, -0.03802490234375, -0.05364990234375, -0.005474090576171875, 0.0340576171875, -0.0017604827880859375, 0.0086669921875, -0.0026187896728515625, 0.031524658203125, 0.01971435546875, -0.03411865234375, 0.0019016265869140625, 0.03118896484375, -0.00864410400390625, -0.0173797607421875, -0.038726806640625, -0.01357269287109375, -0.033538818359375, 0.057861328125, -0.050140380859375, -0.04595947265625, 0.0297088623046875, -0.0190277099609375, -0.0198974609375, -0.04730224609375, 0.00727081298828125, -0.018951416015625, 0.0248260498046875, -0.0162200927734375, -0.0163116455078125, -0.0421142578125, -0.0261383056640625, -0.040924072265625, -0.031463623046875, -0.021881103515625, -0.0265655517578125, -0.03497314453125, -0.025787353515625, 0.0224761962890625, 0.041748046875, 0.01197052001953125, 0.02606201171875, -0.0177459716796875, -0.048797607421875, 0.044281005859375, -0.0377197265625, -0.0210723876953125, 0.028472900390625, 0.056854248046875, 0.05633544921875, 0.01849365234375, -0.005771636962890625, -0.0164031982421875, 0.0184326171875, -0.0123443603515625, 0.015777587890625, -0.0438232421875, 0.0222930908203125, -0.0274810791015625, -0.03924560546875, -0.0285186767578125, -0.006282806396484375, -0.00472259521484375, 0.0207061767578125, 0.0030727386474609375, -0.0095062255859375, 0.028228759765625, 0.009246826171875, -0.02532958984375, -0.015228271484375, -0.007717132568359375, -0.02423095703125, -0.0277862548828125, 0.03985595703125, 0.07452392578125, 0.0291290283203125, 0.01055908203125, 0.0008687973022460938, -0.0225067138671875, -0.0021381378173828125, -0.011932373046875, 0.006824493408203125, -0.0194854736328125, -0.027557373046875, 0.0218048095703125, -0.0212249755859375, -0.028411865234375, 0.05828857421875, 0.005138397216796875, -0.0173797607421875, -0.0233001708984375, -0.050384521484375, -0.04290771484375, -0.042510986328125, 0.0199737548828125, 0.0146484375, 0.033477783203125, -0.018157958984375, 0.04974365234375, -0.039886474609375, 0.00868988037109375, -0.03387451171875, 0.05584716796875, 0.038421630859375, 0.02642822265625, 0.00913238525390625, -0.0187225341796875, -0.05859375, -0.06036376953125, -0.0205230712890625, 0.0116424560546875, 0.037567138671875, 0.0029392242431640625, -0.0118560791015625, -0.0124359130859375, -0.0004901885986328125, -0.0011167526245117188, -0.0060272216796875, -0.006824493408203125, -0.0029430389404296875, 0.016326904296875, 0.03729248046875, 0.01282501220703125, -0.020721435546875, 0.0305633544921875, 0.0181884765625, -0.0440673828125, 0.07666015625, 0.01910400390625, 0.07952880859375, -0.0143890380859375, 0.01702880859375, 0.048614501953125, 0.0244903564453125, -0.050994873046875, 0.04345703125, 0.0013837814331054688, -0.021881103515625, -0.01092529296875, 0.004573822021484375, -0.0058135986328125, -0.0260162353515625, 0.0186004638671875, 0.018463134765625, -0.0038471221923828125, 0.0266571044921875, -0.01031494140625, 0.0057525634765625, -0.002216339111328125, 0.0196685791015625, -0.0039520263671875, 0.0018396377563476562, 0.01380157470703125, -0.022216796875, 0.0007214546203613281, -0.047515869140625, -0.0273284912109375, 0.009185791015625, -0.0234375, -0.0030803680419921875, -0.0302886962890625, 0.007663726806640625, -0.048828125, 0.0058135986328125, -0.055999755859375, 0.0278472900390625, 0.044830322265625, 0.00710296630859375, 0.006412506103515625, -0.0068359375, 0.054412841796875, 0.044891357421875, -0.05853271484375, -0.05078125, 0.007404327392578125, 0.0022125244140625, -0.013427734375, -0.0168609619140625, 0.000759124755859375, -0.081298828125, 0.024810791015625, 0.0635986328125, 0.0279388427734375, 0.0212554931640625, 0.000946044921875, 0.008056640625, 0.02008056640625, -0.02923583984375, 0.00742340087890625, -0.0117645263671875, 0.01166534423828125, 0.07012939453125, -0.016265869140625, 0.01043701171875, 0.021209716796875, 0.00506591796875, -0.04071044921875, 0.049774169921875, 0.0251617431640625, 0.0187225341796875, -0.05255126953125, 0.0193328857421875, -0.0090179443359375, -0.016387939453125, -0.018829345703125, -0.01180267333984375, 0.048187255859375, 0.00797271728515625, 0.046875, 0.0555419921875, -0.035125732421875, 0.0021877288818359375, 0.0066680908203125, 0.0185699462890625, 0.0031719207763671875, 0.0199737548828125, 0.0233917236328125, -0.0284576416015625, -0.0113983154296875, -0.01496124267578125, 0.031646728515625, 0.00234222412109375, -0.0022220611572265625, 0.0184326171875, -0.017364501953125, -0.0199737548828125, 0.019317626953125, -0.042572021484375, -0.01287841796875, -0.00811004638671875, 0.0119171142578125, 0.005313873291015625, 0.04443359375, 0.0004658699035644531, -0.03814697265625, 0.059417724609375, -0.0092926025390625, -0.0282440185546875, 0.0218658447265625, -0.045989990234375, 0.04931640625, -0.026763916015625, 0.03912353515625, 0.07135009765625, -0.0240936279296875, 0.055206298828125, 0.004100799560546875, 0.021759033203125, 0.00815582275390625, 0.0274658203125, 0.022003173828125, -0.00473785400390625, -0.022216796875, 0.0248260498046875, 0.01012420654296875, 0.05255126953125, -0.002628326416015625, -0.043670654296875, 0.0101165771484375, 0.00021183490753173828, -0.09881591796875, -0.10302734375, -0.0120849609375, -0.10357666015625, -0.00991058349609375, -0.0246734619140625, -0.046875, 0.00753021240234375, 0.0093231201171875, 0.0083465576171875, -0.025909423828125, -0.0157318115234375, -0.0855712890625, -0.05712890625, -0.08331298828125, 0.0034770965576171875, -0.02301025390625, 0.01265716552734375, 0.00788116455078125, -0.00986480712890625, -0.00682830810546875, -0.03009033203125, -0.0050201416015625, 0.0245819091796875, -0.0197601318359375, -0.0330810546875, -0.0197601318359375, -0.004199981689453125, -0.026031494140625, 0.0024585723876953125, 0.0214080810546875, -0.0005435943603515625, 0.002452850341796875, -0.002002716064453125, -0.009429931640625, -0.018707275390625, 0.0229034423828125, -0.0287628173828125, -0.0093994140625, 0.0243988037109375, 0.032470703125, -0.0233917236328125, -0.008758544921875, -0.044158935546875, -0.056732177734375, -0.0148162841796875, 0.04156494140625, 0.0099334716796875, -0.032562255859375, -0.01403045654296875, 0.00963592529296875, -0.03717041015625, 0.049163818359375, -0.0418701171875, 0.0262603759765625, -0.004917144775390625, 0.0244140625, -0.03759765625, 0.0178985595703125, -0.01224517822265625, -0.027557373046875, -0.01267242431640625, -0.0031719207763671875, -0.016021728515625, 0.00304412841796875, -0.03131103515625, -0.045257568359375, 0.036102294921875, -0.00695037841796875, 0.033905029296875, -0.029327392578125, -0.027984619140625, -0.0141448974609375, 0.0838623046875, -0.018157958984375, -0.01250457763671875, -0.0245208740234375, 0.01806640625, -0.036773681640625, -0.085205078125, -0.01751708984375, -0.002506256103515625, -0.005268096923828125, -0.00293731689453125, -0.0176849365234375, 0.00614166259765625, -0.036163330078125, 0.057220458984375, -0.0152130126953125, -0.008636474609375, 0.034027099609375, -0.0222015380859375, 0.038665771484375, -0.01343536376953125, 0.0093841552734375, -0.002655029296875, -0.028839111328125, -0.0122833251953125, -0.05682373046875, -0.00873565673828125, 0.034912109375, 0.0144195556640625, -0.00795745849609375, -0.0478515625, -0.0035114288330078125, 0.031646728515625, -0.01462554931640625, 0.0421142578125, -0.0300750732421875, 0.01508331298828125, -0.0215606689453125, -0.0128936767578125, -0.013702392578125, -0.0222320556640625, 0.0025577545166015625, -0.0214691162109375, -0.032501220703125, -0.0219268798828125, -0.043243408203125, -0.0230712890625, -0.0262908935546875, -0.01708984375, -0.058319091796875, -0.035430908203125, 0.005847930908203125, 0.0173797607421875, -0.0244598388671875, 0.01629638671875, -0.03594970703125, -0.060272216796875, 0.0572509765625, 0.007595062255859375, -0.0086212158203125, -0.0193023681640625, 0.046142578125, 0.0089569091796875, -0.038421630859375, 0.00682830810546875, 0.0100250244140625, 0.035400390625, 0.01476287841796875, 0.02532958984375, 0.0026397705078125, -0.032379150390625, 0.0689697265625, 0.0164642333984375, -0.002971649169921875, 0.0004639625549316406, 0.0233001708984375, -0.0023193359375, -0.013885498046875, 0.01409149169921875, -0.0008673667907714844, 0.0135345458984375, 0.0199432373046875, -0.033782958984375, -0.0189666748046875, -0.0078277587890625, 0.048614501953125, -0.07879638671875, 0.09490966796875, -0.0065460205078125, -0.06500244140625, 0.0333251953125, -0.05902099609375, -0.01366424560546875, 0.012298583984375, -0.004093170166015625, 0.019287109375, -0.0178375244140625, 0.0129852294921875, 0.04254150390625, 0.05279541015625, 0.0041961669921875, 0.031097412109375, 0.036590576171875, -0.00988006591796875, -0.0169219970703125, -0.0089263916015625, 0.053192138671875, -0.01910400390625, -0.06939697265625, 0.015289306640625, -0.0096435546875, 0.018585205078125, 0.049072265625, -0.0223846435546875, 0.02484130859375, 0.0233154296875, -0.0012502670288085938, 0.005096435546875, -0.00942230224609375, -0.00859832763671875, -0.025665283203125, 0.01473236083984375, 0.00850677490234375, 0.0006728172302246094, 0.069091796875, 0.05328369140625, 0.012176513671875, 0.061767578125, -0.04168701171875, 0.06829833984375, 0.005908966064453125, 0.05987548828125, -0.00225830078125, 0.0038738250732421875, 0.0190582275390625, 0.017730712890625, -0.0287628173828125, -0.03662109375, 0.007724761962890625, 0.0313720703125, 0.0299530029296875, -0.0104522705078125, -0.0311126708984375, 0.02655029296875, 0.0016574859619140625, -0.00724029541015625, 0.0215301513671875, 0.0675048828125, -0.00335693359375, -0.0088653564453125, 0.019500732421875, 0.0124359130859375, 0.03179931640625, -0.0016317367553710938, -0.0147552490234375, -0.0277862548828125, 0.0295867919921875, -0.032135009765625, 0.0234832763671875, -0.0008473396301269531, -0.00894927978515625, 0.0208282470703125, -0.0416259765625, -0.0279083251953125, 0.04052734375, 0.039886474609375, -0.041290283203125, -0.023651123046875, 0.04522705078125, 0.0236663818359375, 0.0341796875, -0.03729248046875, -0.0243072509765625, -0.005283355712890625, -0.01134490966796875, 0.07464599609375, 0.01374053955078125, -0.01788330078125, 0.0101470947265625, -0.027191162109375, -0.013153076171875, 0.043609619140625, -0.01302337646484375, -0.03399658203125, -0.025848388671875, 0.00890350341796875, 0.03790283203125, -0.00955963134765625, -0.008819580078125, 0.0029621124267578125, -0.00339508056640625, -0.0106658935546875, 0.0193634033203125, -0.0010519027709960938, 0.053375244140625, -0.0256500244140625, 0.04754638671875, -0.005001068115234375, 0.01306915283203125, -0.0300140380859375, -0.01473236083984375, -0.000896453857421875, -0.0217437744140625, -0.00705718994140625, -0.0015583038330078125, -0.004520416259765625, -0.0186920166015625, 0.00968170166015625, 0.0014438629150390625, -0.00954437255859375, -0.0112152099609375, 0.002971649169921875, -0.0308074951171875, 0.0191192626953125, -0.0129852294921875, -0.01451873779296875, -0.0160369873046875, -0.03253173828125, -0.036895751953125, 0.031280517578125, 0.053314208984375, -0.046905517578125, -0.00229644775390625, -0.044219970703125, 0.00513458251953125, -0.030426025390625, 0.0384521484375, 0.11993408203125, 0.01421356201171875, 0.075439453125, 0.0268402099609375, 0.021484375, 0.0706787109375, 0.0105438232421875, -0.0150909423828125, -0.0216217041015625, 0.0418701171875, 0.00689697265625, -0.0286102294921875, 0.0251312255859375, -0.0284576416015625, 0.005462646484375, -0.0180511474609375, 0.0223541259765625, -0.00913238525390625, 0.01947021484375, -0.0034313201904296875, -0.037261962890625, 0.006069183349609375, -0.00577545166015625, 0.0017061233520507812, 0.008087158203125, 0.01039886474609375, -0.02679443359375, -0.033782958984375, 0.0037384033203125, -0.0037670135498046875, 0.00077056884765625, -0.03411865234375, 0.0343017578125, 0.0068206787109375, -0.0311126708984375, 0.020416259765625, 0.028533935546875, 0.0031452178955078125, -0.041748046875, -0.032684326171875, 0.0328369140625, -0.031463623046875, -0.06329345703125, 0.032073974609375, -0.03466796875, 0.0272369384765625, 0.027130126953125, -0.00823211669921875, 0.020477294921875, 0.0175018310546875, 0.006542205810546875, -0.0155792236328125, -0.020965576171875, -0.01216888427734375, 0.00835418701171875, -0.036895751953125, -0.0118408203125, 0.0212249755859375, -0.013275146484375, 0.01442718505859375, 0.0153656005859375, -0.0307464599609375, 0.0023593902587890625, 0.00885772705078125, 0.0712890625, -0.04541015625, -0.006015777587890625, 0.029022216796875, 0.038421630859375, -0.0139617919921875, 0.0012922286987304688, -0.0241546630859375, 0.002475738525390625, 0.054107666015625, -0.0274505615234375, 0.0186004638671875, 0.0254669189453125, -0.0193939208984375, -0.06011962890625, 0.0894775390625, 0.0110931396484375, 0.014434814453125, 0.0185394287109375, 0.036865234375, -0.02496337890625, 0.014190673828125, -0.0280609130859375, 0.0338134765625, -0.00103759765625, 0.0236053466796875, -0.0380859375, -0.0072479248046875, -0.00899505615234375, 0.032196044921875, 0.09942626953125, 0.0184478759765625, -0.048065185546875, -0.005603790283203125, 0.0657958984375, 0.06689453125, 0.019073486328125, 0.028472900390625, 0.04150390625, 0.05059814453125, 0.07476806640625, -0.03863525390625, 0.04095458984375, -0.00945281982421875, 0.0245361328125, 0.050567626953125, 0.0216064453125, 0.0175323486328125, 0.0233917236328125, -0.0322265625, -0.0292816162109375, 0.0247650146484375, 0.0251007080078125, -0.0284271240234375, -0.002895355224609375, 0.0213775634765625, 0.05084228515625, -0.06658935546875, -0.0367431640625, -0.022857666015625, 0.04736328125, 0.038330078125, 0.028106689453125, 0.01194000244140625, 0.025482177734375, 0.047088623046875, -0.0006709098815917969, 0.00975799560546875, 0.02642822265625, -0.0276947021484375, 0.09417724609375, 0.045989990234375, 0.01617431640625, -0.052947998046875, 0.00588226318359375, 0.0728759765625, 0.102294921875, -0.07470703125, 0.0225067138671875, 0.0094757080078125, 0.00946044921875, 0.013427734375, -0.04449462890625, 0.05316162109375, 0.035491943359375, -0.01480865478515625, -0.019989013671875, 0.00545501708984375, 0.0251617431640625, 0.0201416015625, -0.00748443603515625, 0.01161956787109375, -0.046875, 0.01116943359375, -0.02923583984375, 0.0113983154296875, -0.0123443603515625, 0.01543426513671875, 0.0165863037109375, 0.0203399658203125, -0.0095672607421875, 0.00940704345703125, 0.014495849609375, 0.020050048828125, 0.01364898681640625, -0.00836944580078125, -0.019500732421875, -0.05084228515625, 0.0302734375, 0.036956787109375, -0.01474761962890625, 0.04583740234375, 0.0167694091796875, 0.011962890625, 0.01268768310546875, -0.0200042724609375, -0.01494598388671875, -0.0309600830078125, 0.040283203125, -0.02227783203125, -0.006404876708984375, -0.01068115234375, -0.03460693359375, -0.0313720703125, 0.0009679794311523438, 0.02642822265625, -0.01290130615234375, 0.050689697265625, 0.0019245147705078125, 0.005279541015625, 0.041107177734375, -0.0177154541015625, 0.0225677490234375, -0.007114410400390625, -0.06280517578125, -0.01526641845703125, -0.007724761962890625, -0.019683837890625, 0.0007724761962890625, 0.0306549072265625, 0.01132965087890625, 0.006473541259765625, 0.0200347900390625, 0.02056884765625, -0.003185272216796875, -0.0323486328125, 0.0298004150390625, -0.0021800994873046875, 0.01506805419921875, 0.0194244384765625, -0.024993896484375, -0.034912109375, 0.007297515869140625, 0.02227783203125, 0.0247955322265625, 0.00450897216796875, 0.01097869873046875, 0.0167999267578125, -0.03839111328125, 0.05426025390625, -0.0792236328125, -0.025238037109375, 0.00791168212890625, -0.0139923095703125, 0.01348876953125, 0.0152740478515625, -0.041290283203125, 0.046478271484375, -0.0026950836181640625, 0.0255889892578125, 0.051422119140625, -0.0587158203125, 0.00879669189453125, 0.01021575927734375, 0.0111236572265625, -0.021759033203125, -0.0355224609375, -0.040008544921875, -0.004852294921875, 0.0262908935546875, 0.0276947021484375, -0.02447509765625, 0.0310211181640625, -0.03118896484375, -0.01505279541015625, 0.0216217041015625, -0.0294036865234375, 0.01922607421875, 0.031982421875, -0.05487060546875, 0.0025310516357421875, 0.007022857666015625, -0.01274871826171875, -0.003292083740234375, 0.023162841796875, -0.00878143310546875, 0.01532745361328125, 0.0031452178955078125, -0.0189208984375, 0.00392913818359375, 0.047332763671875, 0.01000213623046875, 0.01183319091796875, -0.0261077880859375, 0.0001671314239501953, -0.0221710205078125, -0.0462646484375, -0.02117919921875, -0.045501708984375, -0.0114898681640625, 0.021331787109375, -0.024078369140625, -0.005580902099609375, -0.01373291015625, -0.00771331787109375, -0.00925445556640625, -0.0093841552734375, -0.05438232421875, 0.00396728515625, -0.00604248046875, 0.05523681640625, -0.066162109375, 0.049072265625, -0.006710052490234375, 0.0295867919921875, -0.044769287109375, -0.0008320808410644531, -0.005401611328125, 0.01050567626953125, 0.0139923095703125, 0.035552978515625, 0.04376220703125, -0.05975341796875, -0.039520263671875, 0.0117340087890625, 0.043701171875, 0.051544189453125, 0.0186767578125, -0.01178741455078125, 0.015228271484375, 0.00249481201171875, -0.01009368896484375, -0.0635986328125, 0.004779815673828125, -0.059051513671875, 0.010162353515625, -0.022430419921875, 0.005947113037109375, 0.0180816650390625, -0.0241851806640625, -0.041900634765625, 0.0250244140625, -0.0017910003662109375, -0.029022216796875, -0.042816162109375, -0.0021877288818359375, 0.0209503173828125, -0.0008096694946289062, -0.018524169921875, -0.0286712646484375, -0.0645751953125, 0.011138916015625, -0.004913330078125, 0.0323486328125, 0.0223388671875, -0.00380706787109375, -0.04217529296875, 0.0036334991455078125, -0.00809478759765625, -0.004276275634765625, 0.003726959228515625, 0.0008425712585449219, -0.0016002655029296875, 0.0146636962890625, -0.045440673828125, -0.0230865478515625, -0.0152740478515625, 0.0215911865234375, -0.026092529296875, -0.03680419921875, -0.031036376953125, -0.0107879638671875, 0.047607421875, 0.09539794921875, 0.01274871826171875, -0.048675537109375, 0.005565643310546875, -0.0292205810546875, -0.060028076171875, -0.009613037109375, 0.038238525390625, -0.056304931640625, 0.013153076171875, 0.019989013671875, -0.01198577880859375, -0.003429412841796875, -0.015899658203125, -0.054656982421875, -0.01503753662109375, -0.042694091796875, -0.007080078125, -0.036163330078125, 0.00772857666015625, 0.0574951171875, -0.04547119140625, 0.00261688232421875, 0.00628662109375, 0.01096343994140625, 0.0190582275390625, -0.0223541259765625, 0.011444091796875, 0.01377105712890625, 0.004711151123046875, 0.0263671875, 0.00965118408203125, 0.002933502197265625, -0.020843505859375, -0.0171966552734375, -0.0255584716796875, 0.027099609375, -0.00665283203125, 0.0150146484375, 0.014434814453125, 0.004222869873046875, -0.0005955696105957031, 0.060150146484375, 0.0166778564453125, 0.03839111328125, 0.0022869110107421875, 0.048797607421875, -0.025238037109375, -0.0232391357421875, 0.01543426513671875, -0.063720703125, -0.0084991455078125, 0.0163726806640625, 0.01165008544921875, -0.033233642578125, 0.01959228515625, 0.035919189453125, 0.01251220703125, 0.0005655288696289062 ]
6ec7cef3a5dbc25584a6e7877a9ed6b819777f8c
Wordpress Stackexchange Q: Trying to remove the download button on Wordpress Native Video Player? Can I remove the download button in the Wordpress Native Video Player? I don't want to encourage people to download my video's. A: This is actually the default behavior of how the browser renders HTML5 video. From this post you should be able to use the following CSS to hide the button. video::-internal-media-controls-download-button { display:none; } video::-webkit-media-controls-enclosure { overflow:hidden; } video::-webkit-media-controls-panel { width: calc(100% + 30px); /* Adjust as needed */ }
Q: Trying to remove the download button on Wordpress Native Video Player? Can I remove the download button in the Wordpress Native Video Player? I don't want to encourage people to download my video's. A: This is actually the default behavior of how the browser renders HTML5 video. From this post you should be able to use the following CSS to hide the button. video::-internal-media-controls-download-button { display:none; } video::-webkit-media-controls-enclosure { overflow:hidden; } video::-webkit-media-controls-panel { width: calc(100% + 30px); /* Adjust as needed */ }
wordpress
{ "language": "en", "length": 84, "provenance": "stackexchange_00019.jsonl.gz:475545", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264605" }
[ 0.016754150390625, 0.0161590576171875, 0.00766754150390625, 0.046783447265625, 0.016387939453125, -0.0297698974609375, 0.08489990234375, -0.057586669921875, 0.009429931640625, 0.02880859375, 0.005748748779296875, -0.0113677978515625, -0.024383544921875, -0.024261474609375, -0.03936767578125, -0.0206298828125, 0.042999267578125, 0.032012939453125, 0.10235595703125, 0.0160064697265625, 0.0095977783203125, 0.050994873046875, 0.0701904296875, 0.0082550048828125, -0.0220794677734375, 0.048065185546875, 0.07989501953125, -0.033447265625, -0.01251983642578125, -0.0228729248046875, -0.017120361328125, 0.010650634765625, -0.01441192626953125, 0.0694580078125, -0.07318115234375, -0.07061767578125, -0.04107666015625, 0.03790283203125, -0.0033626556396484375, 0.0031070709228515625, 0.0102386474609375, 0.001850128173828125, -0.04718017578125, -0.0394287109375, -0.0731201171875, 0.01114654541015625, -0.0194091796875, 0.00890350341796875, 0.029449462890625, 0.0187225341796875, -0.00560760498046875, 0.0091094970703125, -0.00511932373046875, 0.010498046875, -0.0218658447265625, -0.0242919921875, -0.0472412109375, 0.0499267578125, 0.0030498504638671875, 0.029449462890625, 0.01161956787109375, 0.042388916015625, -0.017974853515625, 0.0006756782531738281, -0.00600433349609375, -0.01016998291015625, 0.00927734375, -0.00009804964065551758, -0.050994873046875, -0.00118255615234375, 0.0458984375, -0.032470703125, -0.007568359375, -0.03955078125, 0.031402587890625, 0.0247955322265625, -0.033172607421875, -0.0106048583984375, 0.02545166015625, 0.01174163818359375, 0.015655517578125, -0.01416778564453125, -0.019073486328125, -0.036224365234375, 0.0567626953125, 0.0175323486328125, 0.00039124488830566406, -0.0220184326171875, -0.00868988037109375, -0.0286865234375, -0.01641845703125, -0.0386962890625, 0.01134490966796875, -0.0270843505859375, -0.0546875, -0.0191192626953125, 0.01038360595703125, -0.0048980712890625, 0.028411865234375, -0.0009565353393554688, 0.017791748046875, -0.05279541015625, 0.0055999755859375, -0.01354217529296875, -0.005825042724609375, -0.0130615234375, 0.01015472412109375, -0.0205841064453125, 0.037322998046875, 0.038787841796875, -0.029510498046875, 0.056640625, 0.00872802734375, -0.0110626220703125, -0.055999755859375, 0.0037097930908203125, -0.005863189697265625, -0.00879669189453125, 0.015045166015625, 0.016754150390625, -0.0171356201171875, -0.0117645263671875, -0.039337158203125, 0.0302886962890625, 0.0005550384521484375, -0.0130462646484375, -0.017791748046875, 0.04608154296875, -0.0009317398071289062, 0.03497314453125, -0.051055908203125, -0.005786895751953125, 0.07672119140625, 0.028076171875, 0.0182952880859375, -0.0335693359375, 0.0369873046875, 0.018402099609375, 0.0185699462890625, 0.022705078125, -0.0299835205078125, -0.042694091796875, -0.006923675537109375, -0.00588226318359375, 0.025909423828125, -0.0289154052734375, -0.004543304443359375, 0.055511474609375, 0.04791259765625, -0.011932373046875, 0.04217529296875, -0.01085662841796875, 0.0306243896484375, 0.0303497314453125, 0.01325225830078125, 0.009765625, 0.06884765625, -0.0186920166015625, -0.050445556640625, -0.0458984375, 0.01971435546875, -0.00852203369140625, 0.016326904296875, 0.03277587890625, -0.00579071044921875, 0.0242462158203125, -0.00797271728515625, -0.001399993896484375, 0.020050048828125, 0.05926513671875, -0.035308837890625, -0.0555419921875, 0.0122222900390625, 0.02838134765625, -0.018463134765625, 0.060760498046875, 0.0338134765625, -0.025970458984375, 0.0020694732666015625, 0.035125732421875, -0.017822265625, -0.024932861328125, 0.0501708984375, -0.048980712890625, -0.0802001953125, 0.058319091796875, -0.00519561767578125, 0.036102294921875, 0.018585205078125, -0.005832672119140625, 0.077880859375, 0.03515625, -0.03790283203125, 0.016693115234375, -0.00994873046875, -0.0032405853271484375, -0.024627685546875, -0.0012674331665039062, -0.0079498291015625, -0.0033931732177734375, 0.0227203369140625, 0.032196044921875, -0.0006728172302246094, 0.03839111328125, -0.054779052734375, 0.055084228515625, -0.03167724609375, 0.033355712890625, -0.004650115966796875, 0.006198883056640625, 0.01898193359375, 0.01407623291015625, -0.01499176025390625, -0.0312347412109375, -0.028289794921875, 0.0211334228515625, 0.01296234130859375, 0.036285400390625, -0.007526397705078125, 0.030181884765625, -0.0264892578125, -0.019256591796875, -0.0164642333984375, 0.0167999267578125, 0.01110076904296875, -0.040618896484375, -0.009033203125, -0.040618896484375, 0.05877685546875, -0.04473876953125, 0.043853759765625, 0.050140380859375, 0.01093292236328125, 0.01012420654296875, -0.0131072998046875, 0.01629638671875, 0.0066070556640625, -0.07183837890625, -0.0017490386962890625, 0.050994873046875, 0.0275421142578125, 0.0272064208984375, -0.0116119384765625, 0.0234375, 0.05401611328125, -0.0081634521484375, 0.00766754150390625, 0.0006999969482421875, 0.00933074951171875, -0.044036865234375, 0.03961181640625, -0.05712890625, 0.036651611328125, -0.037811279296875, 0.042236328125, 0.01806640625, -0.0128631591796875, 0.01432037353515625, 0.0141143798828125, 0.0057373046875, -0.0262908935546875, 0.02337646484375, 0.054718017578125, -0.0225372314453125, -0.005527496337890625, 0.019866943359375, 0.01180267333984375, 0.0229339599609375, -0.0275726318359375, -0.01177215576171875, 0.0287933349609375, 0.051361083984375, -0.0142974853515625, 0.047882080078125, 0.07220458984375, -0.030853271484375, -0.0150604248046875, -0.031219482421875, -0.0237884521484375, 0.02386474609375, -0.0031032562255859375, -0.0138397216796875, -0.0212249755859375, -0.01548004150390625, 0.0262451171875, -0.0013799667358398438, 0.0098724365234375, 0.007251739501953125, -0.00824737548828125, -0.006809234619140625, 0.0036640167236328125, 0.04730224609375, 0.01181793212890625, 0.02410888671875, 0.0189361572265625, -0.0096588134765625, 0.0200042724609375, -0.047943115234375, 0.053558349609375, -0.03192138671875, 0.042755126953125, 0.06585693359375, -0.01016998291015625, 0.0148162841796875, 0.015045166015625, -0.005001068115234375, 0.030792236328125, -0.00605010986328125, -0.02093505859375, 0.0301666259765625, -0.087890625, -0.0227813720703125, -0.005062103271484375, -0.0230712890625, -0.06243896484375, -0.0396728515625, -0.0750732421875, -0.03521728515625, -0.12017822265625, -0.050048828125, 0.01132965087890625, -0.023223876953125, 0.06585693359375, 0.0106048583984375, 0.013916015625, -0.05999755859375, 0.038818359375, 0.014923095703125, -0.028076171875, 0.0098724365234375, 0.007144927978515625, 0.0278778076171875, 0.01271820068359375, 0.0274810791015625, -0.01267242431640625, -0.006359100341796875, 0.0157928466796875, 0.056060791015625, 0.0211181640625, -0.03009033203125, 0.01549530029296875, -0.0147247314453125, -0.01197052001953125, 0.027862548828125, 0.031463623046875, -0.029571533203125, 0.01044464111328125, 0.01541900634765625, -0.01204681396484375, -0.005828857421875, 0.021026611328125, -0.047515869140625, -0.004169464111328125, -0.0423583984375, -0.0157012939453125, 0.0361328125, -0.004795074462890625, -0.047027587890625, 0.004489898681640625, -0.075927734375, -0.00984954833984375, 0.0114288330078125, -0.02020263671875, 0.015289306640625, -0.0189971923828125, -0.026458740234375, 0.01934814453125, 0.01444244384765625, 0.0186309814453125, -0.00925445556640625, -0.0309600830078125, -0.0150299072265625, 0.050445556640625, 0.00849151611328125, 0.03271484375, -0.004886627197265625, 0.05023193359375, 0.0033206939697265625, -0.0079803466796875, 0.01715087890625, 0.0026073455810546875, 0.01256561279296875, -0.0301666259765625, -0.024627685546875, -0.006206512451171875, 0.0224761962890625, -0.02142333984375, -0.00206756591796875, -0.01953125, -0.0033359527587890625, -0.00428009033203125, 0.0406494140625, -0.0178985595703125, -0.0140228271484375, -0.0171966552734375, 0.0036468505859375, -0.006259918212890625, -0.037811279296875, -0.016876220703125, 0.00566864013671875, 0.02154541015625, -0.01093292236328125, -0.004047393798828125, -0.0068206787109375, -0.0174560546875, -0.0009746551513671875, 0.00018215179443359375, -0.0162200927734375, 0.0423583984375, 0.036346435546875, -0.003734588623046875, -0.03668212890625, -0.008697509765625, -0.0215301513671875, -0.01776123046875, 0.01549530029296875, -0.0117034912109375, 0.0014209747314453125, -0.0467529296875, 0.0281982421875, 0.00849151611328125, 0.0147857666015625, -0.0090484619140625, 0.017608642578125, -0.018524169921875, -0.02099609375, 0.005184173583984375, -0.007656097412109375, 0.0263519287109375, 0.059661865234375, 0.01511383056640625, 0.01055908203125, 0.0102996826171875, 0.0018978118896484375, -0.019683837890625, 0.0269317626953125, -0.0509033203125, 0.0207672119140625, -0.0079803466796875, -0.0160064697265625, -0.04608154296875, -0.04461669921875, -0.0276947021484375, -0.00618743896484375, -0.0257110595703125, 0.01404571533203125, -0.0330810546875, -0.039459228515625, 0.0294952392578125, 0.007778167724609375, -0.0011415481567382812, 0.0010900497436523438, 0.01560211181640625, 0.0149383544921875, -0.031097412109375, 0.0018291473388671875, 0.02618408203125, 0.01091766357421875, -0.0224151611328125, 0.037872314453125, -0.006328582763671875, -0.00836944580078125, 0.0313720703125, -0.03912353515625, 0.0113677978515625, 0.0205841064453125, 0.0248870849609375, -0.005397796630859375, -0.034027099609375, 0.0462646484375, -0.022918701171875, -0.0294952392578125, -0.0049896240234375, 0.0051727294921875, 0.01059722900390625, 0.0161895751953125, -0.021270751953125, 0.0264434814453125, -0.059539794921875, -0.0037078857421875, -0.025482177734375, 0.0057220458984375, -0.068115234375, 0.061431884765625, 0.03759765625, -0.000021636486053466797, 0.03985595703125, 0.03759765625, -0.0134124755859375, -0.02471923828125, -0.0035114288330078125, -0.0457763671875, 0.037109375, -0.02783203125, -0.024200439453125, -0.006710052490234375, 0.01363372802734375, -0.06890869140625, 0.007442474365234375, -0.041168212890625, -0.0294342041015625, 0.0283355712890625, 0.0006976127624511719, 0.01280975341796875, -0.0169219970703125, 0.0238800048828125, 0.003299713134765625, -0.0355224609375, -0.0017719268798828125, -0.0106658935546875, -0.04766845703125, -0.05316162109375, 0.006092071533203125, -0.00521087646484375, -0.006805419921875, 0.0222320556640625, 0.030303955078125, -0.02032470703125, 0.0231475830078125, 0.0037059783935546875, 0.04461669921875, 0.01629638671875, 0.00738525390625, 0.0238037109375, 0.00214385986328125, 0.00911712646484375, -0.028350830078125, -0.0159454345703125, -0.002536773681640625, -0.0244598388671875, -0.0059661865234375, 0.0202178955078125, -0.030792236328125, 0.01399993896484375, 0.0345458984375, -0.0298614501953125, -0.009857177734375, -0.0109405517578125, -0.01113128662109375, -0.0024261474609375, -0.00838470458984375, 0.0170135498046875, -0.005382537841796875, 0.0142059326171875, 0.00341796875, -0.033203125, 0.003406524658203125, -0.032989501953125, 0.06781005859375, -0.102294921875, 0.00992584228515625, 0.034576416015625, 0.0233001708984375, -0.0271453857421875, -0.027130126953125, -0.039337158203125, 0.0219879150390625, -0.0401611328125, 0.01812744140625, 0.06378173828125, -0.023406982421875, 0.0008153915405273438, -0.04315185546875, 0.037445068359375, -0.046722412109375, 0.01413726806640625, 0.031494140625, -0.0017910003662109375, 0.01354217529296875, -0.0213623046875, -0.0305938720703125, -0.036865234375, -0.048858642578125, -0.03204345703125, -0.043792724609375, -0.0027637481689453125, -0.012969970703125, -0.01505279541015625, 0.007686614990234375, 0.0275421142578125, -0.005680084228515625, 0.0460205078125, 0.010406494140625, -0.01788330078125, -0.0009279251098632812, 0.014739990234375, 0.038970947265625, 0.03228759765625, 0.03509521484375, 0.0161285400390625, 0.0127105712890625, -0.04119873046875, 0.015625, 0.011627197265625, -0.0190887451171875, 0.00359344482421875, -0.00815582275390625, -0.05230712890625, -0.00777435302734375, -0.022613525390625, 0.01555633544921875, -0.003932952880859375, 0.00739288330078125, -0.030242919921875, 0.01311492919921875, -0.01617431640625, 0.006221771240234375, -0.00614166259765625, -0.0352783203125, -0.007595062255859375, 0.0005755424499511719, -0.006046295166015625, 0.0157928466796875, -0.017608642578125, -0.0196990966796875, 0.0389404296875, 0.015350341796875, 0.01824951171875, 0.041748046875, -0.0216522216796875, 0.036712646484375, 0.02557373046875, 0.007579803466796875, 0.020233154296875, -0.004703521728515625, -0.023223876953125, -0.02593994140625, 0.00926971435546875, -0.004852294921875, -0.0081939697265625, 0.0200042724609375, -0.00868988037109375, 0.04595947265625, 0.004680633544921875, 0.050811767578125, -0.036041259765625, 0.00972747802734375, -0.00846099853515625, -0.0244903564453125, 0.05682373046875, -0.04327392578125, 0.00702667236328125, -0.050445556640625, 0.03668212890625, 0.043060302734375, -0.043365478515625, -0.01849365234375, -0.006427764892578125, 0.004680633544921875, 0.00978851318359375, -0.0021209716796875, 0.003147125244140625, -0.09912109375, -0.0026378631591796875, 0.05255126953125, -0.04547119140625, 0.01239013671875, 0.0184173583984375, 0.005054473876953125, -0.0499267578125, -0.06451416015625, -0.02593994140625, 0.0177001953125, -0.06085205078125, 0.06268310546875, 0.0290069580078125, -0.01493072509765625, 0.049346923828125, -0.0231475830078125, 0.053955078125, 0.01509857177734375, -0.048919677734375, -0.004070281982421875, -0.039764404296875, -0.0072784423828125, -0.0011510848999023438, -0.033355712890625, 0.01049041748046875, -0.02288818359375, -0.033477783203125, 0.0110626220703125, 0.00505828857421875, 0.04937744140625, -0.0379638671875, -0.0170135498046875, 0.0239410400390625, 0.0115203857421875, 0.0021209716796875, -0.0219268798828125, 0.038116455078125, -0.027740478515625, 0.0160675048828125, -0.0038471221923828125, -0.007808685302734375, -0.03363037109375, -0.01270294189453125, -0.0562744140625, 0.0498046875, 0.0294647216796875, 0.01432037353515625, -0.006710052490234375, 0.01160430908203125, -0.038177490234375, -0.0160369873046875, -0.0038509368896484375, 0.02880859375, 0.0682373046875, -0.029022216796875, 0.012420654296875, -0.007568359375, -0.0205078125, 0.02728271484375, 0.01476287841796875, -0.0160064697265625, 0.03900146484375, 0.0255584716796875, 0.1004638671875, 0.07647705078125, 0.03570556640625, -0.03790283203125, -0.0005011558532714844, 0.01044464111328125, 0.002285003662109375, 0.00865936279296875, 0.03955078125, -0.044036865234375, -0.05718994140625, 0.0190277099609375, 0.0291748046875, 0.0231475830078125, 0.0163421630859375, 0.06829833984375, -0.01058197021484375, 0.01355743408203125, 0.0158233642578125, 0.0188751220703125, 0.01291656494140625, 0.02252197265625, 0.014892578125, -0.07025146484375, 0.01355743408203125, -0.051361083984375, 0.04937744140625, -0.007663726806640625, -0.00635528564453125, 0.050933837890625, 0.01535797119140625, -0.011444091796875, -0.0183258056640625, -0.0005626678466796875, -0.0174407958984375, -0.00601959228515625, -0.002834320068359375, -0.00045680999755859375, 0.01416015625, -0.01383209228515625, 0.01220703125, 0.006084442138671875, 0.011962890625, -0.01097869873046875, -0.05419921875, 0.01456451416015625, -0.00015103816986083984, 0.00897979736328125, -0.0272064208984375, -0.0205535888671875, -0.074462890625, 0.0035495758056640625, -0.016082763671875, 0.0074005126953125, -0.006511688232421875, 0.0202789306640625, -0.0036640167236328125, 0.0202789306640625, -0.03289794921875, -0.004322052001953125, -0.0160675048828125, -0.0169677734375, 0.01763916015625, -0.01021575927734375, 0.0200653076171875, -0.007232666015625, 0.06341552734375, 0.01395416259765625, -0.01258087158203125, 0.04119873046875, -0.01690673828125, 0.03485107421875, -0.06610107421875, -0.059600830078125, -0.0103759765625, 0.049835205078125, 0.038177490234375, 0.035736083984375, 0.048553466796875, 0.01555633544921875, -0.0169525146484375, 0.01776123046875, 0.01971435546875, -0.01934814453125, -0.006328582763671875, -0.05010986328125, 0.022796630859375, 0.024627685546875, 0.0098419189453125, 0.01372528076171875, -0.034942626953125, 0.0743408203125, -0.047119140625, 0.04803466796875, -0.0182952880859375, -0.024932861328125, 0.0635986328125, -0.017852783203125, 0.08837890625, -0.0159454345703125, -0.0170440673828125, -0.00780487060546875, -0.0026187896728515625, -0.0277862548828125, -0.001033782958984375, 0.033538818359375, -0.0165252685546875, 0.044097900390625, 0.0134429931640625, 0.0205841064453125, -0.0316162109375, -0.002777099609375, 0.00506591796875, 0.0117034912109375, 0.036834716796875, 0.0294952392578125, -0.086669921875, -0.0347900390625, -0.05194091796875, 0.0082550048828125, 0.01134490966796875, 0.12139892578125, -0.01399993896484375, 0.01558685302734375, -0.0263671875, -0.021728515625, 0.01308441162109375, -0.0055999755859375, -0.03741455078125, 0.031158447265625, 0.007770538330078125, -0.007076263427734375, -0.014892578125, 0.0232086181640625, 0.008819580078125, -0.03814697265625, 0.030609130859375, -0.0303802490234375, -0.0005955696105957031, -0.0277252197265625, -0.0173492431640625, -0.03009033203125, -0.03704833984375, 0.0237579345703125, 0.04705810546875, -0.00989532470703125, 0.002498626708984375, -0.03509521484375, 0.00447845458984375, -0.004581451416015625, -0.00312042236328125, 0.0304107666015625, 0.02056884765625, 0.0299224853515625, 0.016998291015625, -0.0361328125, -0.015777587890625, 0.0028018951416015625, -0.0170745849609375, 0.005115509033203125, -0.003749847412109375, 0.01113128662109375, 0.0276947021484375, -0.064453125, -0.065185546875, -0.00046944618225097656, 0.0028228759765625, -0.0281524658203125, 0.01099395751953125, -0.00982666015625, -0.017303466796875, 0.01271820068359375, 0.05157470703125, 0.006381988525390625, 0.0217132568359375, -0.047027587890625, -0.01256561279296875, -0.0187835693359375, -0.052154541015625, -0.031524658203125, 0.01218414306640625, 0.028350830078125, 0.018798828125, -0.08270263671875, 0.032958984375, 0.007228851318359375, 0.04290771484375, 0.001708984375, 0.06488037109375, -0.0313720703125, -0.01251983642578125, -0.03619384765625, -0.038055419921875, -0.019195556640625, 0.06591796875, -0.01163482666015625, 0.0038204193115234375, -0.006847381591796875, -0.025665283203125, 0.03857421875, 0.0262451171875, 0.038543701171875, 0.06964111328125, 0.02508544921875, -0.0293121337890625, -0.043060302734375, 0.01271820068359375, 0.0219573974609375, -0.03729248046875, 0.018524169921875, -0.07757568359375, -0.038818359375, -0.01308441162109375, -0.007564544677734375, -0.0174407958984375, -0.059326171875, -0.0704345703125, 0.036376953125, -0.004177093505859375, -0.031005859375, 0.006481170654296875, 0.05377197265625, -0.01010894775390625, -0.01446533203125, 0.01279449462890625, 0.012481689453125, 0.022796630859375, -0.023681640625, 0.0046844482421875, -0.0025482177734375, -0.01068115234375, 0.00927734375, -0.047454833984375, 0.044219970703125, 0.036285400390625, -0.0020732879638671875, -0.0121612548828125, 0.0147857666015625, 0.004360198974609375, 0.01151275634765625, -0.032470703125, 0.037384033203125, 0.007434844970703125, 0.01104736328125, -0.0239715576171875, -0.005523681640625, 0.003948211669921875, 0.0006036758422851562, 0.01226806640625, 0.050323486328125, -0.01593017578125, -0.0198974609375, -0.0233612060546875, -0.022552490234375, -0.041534423828125, -0.020599365234375, 0.039581298828125, -0.1004638671875, -0.0272674560546875, 0.02728271484375, -0.01554107666015625, -0.001861572265625, -0.01483154296875, -0.060821533203125, -0.01253509521484375, -0.03875732421875, 0.0180816650390625, -0.076904296875, 0.03424072265625, 0.047515869140625, -0.03961181640625, 0.01084136962890625, 0.0162353515625, -0.01407623291015625, 0.04388427734375, 0.028411865234375, 0.00514984130859375, -0.005962371826171875, -0.03228759765625, 0.03155517578125, -0.0004813671112060547, -0.0052947998046875, -0.03448486328125, -0.0219268798828125, -0.01300048828125, 0.00650787353515625, 0.01256561279296875, 0.03240966796875, -0.032318115234375, 0.020751953125, 0.01617431640625, -0.015380859375, -0.04351806640625, 0.0019197463989257812, -0.037841796875, 0.006435394287109375, 0.01219940185546875, 0.020263671875, 0.05938720703125, -0.01238250732421875, -0.006622314453125, 0.008697509765625, -0.0174102783203125, -0.06329345703125, 0.0316162109375, -0.064453125, -0.006862640380859375, 0.0379638671875 ]
7b9b66e5624b997e23c80846ee5dd381b70e367e
Wordpress Stackexchange Q: How to query custom posts using a dynamic category I'm not sure if this is possible.. I need help as I am probably asking the wrong questions in Google. What I need to do is: Pull CPT 'team' to a CPT 'location' template (I can do this part) However, each 'location' will have a different team, I realise that I can't code in the category 'Bristol' in the query because then my post template will only show 'Bristol' 'Team' I need it to be user friendly in the CMS as there might be new locations and teams to add. Any help in the right direction will be much appreciated. A: If it is a category page, you can get the id of the current category by using get_category: $category = get_category( get_query_var( 'cat' ) ); $cat_id = $category->cat_ID; EDIT: You could use the variable $cat_id inside your query instead of 'Bristol' and it would pull the correct category for each page.
Q: How to query custom posts using a dynamic category I'm not sure if this is possible.. I need help as I am probably asking the wrong questions in Google. What I need to do is: Pull CPT 'team' to a CPT 'location' template (I can do this part) However, each 'location' will have a different team, I realise that I can't code in the category 'Bristol' in the query because then my post template will only show 'Bristol' 'Team' I need it to be user friendly in the CMS as there might be new locations and teams to add. Any help in the right direction will be much appreciated. A: If it is a category page, you can get the id of the current category by using get_category: $category = get_category( get_query_var( 'cat' ) ); $cat_id = $category->cat_ID; EDIT: You could use the variable $cat_id inside your query instead of 'Bristol' and it would pull the correct category for each page.
wordpress
{ "language": "en", "length": 162, "provenance": "stackexchange_00019.jsonl.gz:475575", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264705" }
[ 0.04949951171875, 0.03131103515625, -0.007221221923828125, -0.046295166015625, 0.04736328125, -0.020477294921875, 0.03204345703125, -0.02532958984375, 0.00039267539978027344, 0.0179290771484375, -0.057891845703125, -0.0089569091796875, -0.036956787109375, -0.0152740478515625, -0.018890380859375, -0.05743408203125, 0.042877197265625, -0.01448822021484375, 0.0274658203125, -0.0102691650390625, 0.007495880126953125, 0.004749298095703125, 0.0308837890625, 0.08917236328125, 0.0033016204833984375, 0.004123687744140625, 0.016326904296875, -0.02081298828125, -0.00652313232421875, -0.01490020751953125, 0.0164947509765625, -0.0016069412231445312, 0.02581787109375, -0.0367431640625, 0.0389404296875, 0.0168914794921875, 0.040252685546875, -0.0212249755859375, 0.0026302337646484375, 0.02239990234375, 0.01512908935546875, -0.01393890380859375, 0.040374755859375, 0.02447509765625, 0.00913238525390625, -0.02783203125, 0.0252685546875, -0.0614013671875, 0.0180816650390625, -0.013885498046875, -0.005435943603515625, 0.01094818115234375, 0.01317596435546875, -0.00884246826171875, -0.0226287841796875, -0.01371002197265625, -0.037200927734375, -0.052642822265625, 0.0191497802734375, 0.0011968612670898438, 0.0107574462890625, -0.043121337890625, 0.05029296875, 0.0093994140625, -0.034393310546875, -0.016387939453125, 0.066162109375, 0.01438140869140625, -0.011199951171875, -0.059417724609375, 0.0245819091796875, 0.043426513671875, -0.0029582977294921875, 0.00824737548828125, -0.052398681640625, -0.037261962890625, 0.0140838623046875, -0.056365966796875, 0.02081298828125, 0.0016813278198242188, 0.005100250244140625, -0.03631591796875, -0.0245361328125, 0.01001739501953125, -0.0015439987182617188, 0.0308380126953125, -0.008209228515625, -0.00899505615234375, -0.040008544921875, -0.0408935546875, -0.033050537109375, -0.042755126953125, -0.050384521484375, -0.0028514862060546875, -0.008453369140625, -0.0294647216796875, 0.01788330078125, 0.0164337158203125, -0.0304412841796875, -0.006801605224609375, -0.036407470703125, -0.0255126953125, -0.0036296844482421875, -0.01250457763671875, 0.03326416015625, 0.0299072265625, -0.0262451171875, 0.0181427001953125, 0.06292724609375, 0.0309295654296875, 0.0227813720703125, 0.040283203125, -0.019195556640625, 0.00897216796875, -0.038421630859375, 0.035980224609375, -0.0088958740234375, -0.0390625, -0.047943115234375, 0.002166748046875, -0.01001739501953125, 0.009735107421875, 0.024383544921875, -0.03314208984375, 0.0333251953125, 0.0150909423828125, -0.01456451416015625, -0.0233154296875, 0.0022678375244140625, -0.0223236083984375, -0.044769287109375, 0.0335693359375, 0.0498046875, 0.035430908203125, 0.0165863037109375, 0.004913330078125, 0.031280517578125, -0.0059051513671875, 0.014862060546875, -0.0301055908203125, 0.04327392578125, 0.0008091926574707031, -0.00635528564453125, -0.0031185150146484375, -0.0085296630859375, -0.003948211669921875, 0.0195770263671875, 0.037689208984375, -0.00792694091796875, -0.0214691162109375, 0.0298919677734375, -0.028533935546875, 0.0292510986328125, -0.0005288124084472656, -0.014251708984375, -0.0230712890625, 0.025054931640625, -0.04022216796875, 0.00402069091796875, -0.038543701171875, 0.09173583984375, 0.0220489501953125, -0.002788543701171875, 0.005962371826171875, -0.00998687744140625, -0.044647216796875, -0.052337646484375, 0.0028667449951171875, 0.0306549072265625, 0.03741455078125, 0.020599365234375, -0.0225830078125, -0.0077972412109375, 0.0233154296875, 0.004360198974609375, 0.0296783447265625, -0.00439453125, 0.0160369873046875, 0.01438140869140625, 0.005496978759765625, -0.03228759765625, -0.039398193359375, 0.042938232421875, -0.0218505859375, -0.042633056640625, 0.0185546875, 0.0102386474609375, 0.040435791015625, -0.0142822265625, 0.00838470458984375, 0.0283966064453125, 0.02459716796875, -0.035614013671875, -0.00753021240234375, 0.0028533935546875, -0.01406097412109375, -0.0116729736328125, -0.0158233642578125, 0.0020618438720703125, 0.00963592529296875, -0.02349853515625, -0.0039215087890625, 0.00516510009765625, 0.03326416015625, 0.020721435546875, 0.0038814544677734375, -0.0037841796875, 0.0291290283203125, -0.006587982177734375, 0.015228271484375, 0.004734039306640625, -0.0234527587890625, -0.0008840560913085938, -0.0282440185546875, -0.0146636962890625, 0.01885986328125, -0.003810882568359375, -0.0022945404052734375, -0.0128631591796875, -0.006122589111328125, -0.01447296142578125, -0.019500732421875, -0.0362548828125, 0.0279083251953125, 0.03875732421875, -0.0005450248718261719, -0.0035495758056640625, -0.0031642913818359375, 0.034332275390625, 0.052642822265625, -0.060333251953125, -0.032501220703125, 0.00714874267578125, 0.0250244140625, -0.0223541259765625, 0.0222320556640625, 0.039398193359375, 0.0275421142578125, -0.00658416748046875, -0.007843017578125, 0.03167724609375, 0.004619598388671875, -0.026153564453125, -0.0302886962890625, 0.0418701171875, -0.0273895263671875, 0.0072174072265625, -0.0235443115234375, 0.03289794921875, 0.05926513671875, -0.01123809814453125, -0.0065460205078125, 0.005825042724609375, -0.051361083984375, 0.0090484619140625, 0.03265380859375, 0.0220794677734375, 0.00809478759765625, -0.00959014892578125, -0.00936126708984375, 0.0162506103515625, -0.003925323486328125, -0.036468505859375, 0.0196533203125, 0.043609619140625, -0.00542449951171875, 0.05609130859375, 0.0526123046875, -0.005519866943359375, -0.01219940185546875, -0.0095672607421875, 0.01172637939453125, 0.022491455078125, 0.0267486572265625, 0.01361083984375, 0.04766845703125, -0.0128631591796875, -0.03497314453125, 0.053741455078125, 0.0248260498046875, -0.00827789306640625, 0.0699462890625, -0.040191650390625, -0.01502227783203125, -0.033843994140625, -0.0401611328125, -0.0303497314453125, -0.004856109619140625, -0.0283355712890625, 0.009033203125, 0.016021728515625, 0.06658935546875, 0.006679534912109375, 0.0253448486328125, -0.0498046875, 0.017425537109375, 0.056671142578125, 0.0002970695495605469, -0.01087188720703125, 0.004161834716796875, 0.059783935546875, 0.050567626953125, 0.013458251953125, -0.0123748779296875, -0.003993988037109375, 0.003536224365234375, 0.00848388671875, 0.016693115234375, -0.0032939910888671875, -0.048797607421875, 0.032562255859375, 0.0091705322265625, 0.0374755859375, 0.0411376953125, 0.041656494140625, -0.01751708984375, 0.01904296875, 0.057708740234375, -0.055450439453125, -0.07977294921875, 0.0335693359375, 0.0008864402770996094, 0.0452880859375, 0.0157012939453125, 0.0186920166015625, -0.061309814453125, 0.0241241455078125, 0.010040283203125, 0.0416259765625, -0.0089111328125, -0.05535888671875, -0.030670166015625, -0.05609130859375, -0.0208282470703125, -0.0087890625, -0.006587982177734375, 0.016876220703125, 0.03936767578125, 0.0179595947265625, -0.0455322265625, 0.01338958740234375, 0.0252685546875, -0.042083740234375, 0.0308380126953125, -0.012481689453125, 0.007556915283203125, 0.054046630859375, 0.0017881393432617188, 0.01788330078125, 0.033111572265625, -0.0196685791015625, -0.0227813720703125, -0.0019464492797851562, 0.0273895263671875, 0.0435791015625, -0.007160186767578125, -0.008026123046875, 0.07080078125, 0.032012939453125, -0.0075836181640625, -0.051239013671875, -0.0271148681640625, -0.0455322265625, 0.0301055908203125, 0.024261474609375, 0.026763916015625, -0.043365478515625, 0.044189453125, 0.0270233154296875, -0.00885772705078125, -0.00951385498046875, -0.032440185546875, 0.02117919921875, 0.025787353515625, 0.06781005859375, 0.0008001327514648438, -0.0013427734375, -0.023712158203125, 0.00560760498046875, -0.01849365234375, -0.0010013580322265625, -0.0293731689453125, 0.00942230224609375, -0.0308380126953125, -0.0594482421875, 0.06805419921875, -0.0101776123046875, -0.00350189208984375, -0.017303466796875, -0.030303955078125, 0.01526641845703125, 0.1002197265625, -0.035430908203125, -0.033294677734375, -0.00501251220703125, -0.01137542724609375, -0.0181884765625, -0.018890380859375, -0.032623291015625, -0.01568603515625, -0.05877685546875, 0.00835418701171875, 0.004375457763671875, -0.0287017822265625, -0.00894927978515625, 0.058837890625, -0.04730224609375, -0.02764892578125, 0.044036865234375, -0.00803375244140625, 0.0230560302734375, -0.020477294921875, 0.0162811279296875, -0.01410675048828125, -0.002651214599609375, -0.0083770751953125, -0.01551055908203125, -0.003490447998046875, -0.01488494873046875, 0.017333984375, 0.0203704833984375, -0.01094818115234375, -0.0031261444091796875, 0.035675048828125, 0.0283966064453125, 0.0024127960205078125, 0.0199127197265625, -0.0116729736328125, 0.01094818115234375, -0.0007929801940917969, 0.002559661865234375, -0.0175323486328125, 0.019500732421875, -0.03009033203125, -0.0330810546875, 0.01519012451171875, -0.06329345703125, 0.0108489990234375, -0.058868408203125, -0.0216827392578125, -0.07403564453125, -0.004116058349609375, 0.0225830078125, 0.003387451171875, -0.01171112060546875, 0.0110931396484375, 0.01302337646484375, -0.047607421875, 0.044342041015625, 0.0177154541015625, 0.0197601318359375, 0.001873016357421875, 0.07073974609375, -0.01316070556640625, -0.0230712890625, -0.06353759765625, -0.01316070556640625, 0.03497314453125, 0.0283355712890625, 0.0209503173828125, 0.0301361083984375, -0.0022735595703125, 0.00939178466796875, 0.023193359375, -0.007015228271484375, -0.019317626953125, 0.08673095703125, 0.006317138671875, 0.0109100341796875, 0.002246856689453125, 0.00368499755859375, -0.0133056640625, 0.0286102294921875, -0.01457977294921875, -0.01207733154296875, -0.01399993896484375, 0.059295654296875, -0.00016129016876220703, -0.0123748779296875, -0.056610107421875, 0.00048732757568359375, 0.00823974609375, -0.011688232421875, 0.024749755859375, 0.0286712646484375, -0.00344085693359375, -0.0312347412109375, -0.046051025390625, 0.006336212158203125, 0.003917694091796875, -0.0321044921875, 0.0136260986328125, -0.004947662353515625, 0.05328369140625, 0.00969696044921875, 0.0081634521484375, 0.017303466796875, -0.0025539398193359375, -0.08306884765625, -0.05126953125, -0.0538330078125, -0.032470703125, 0.0268096923828125, 0.07147216796875, -0.0233612060546875, 0.00495147705078125, 0.035186767578125, 0.0171661376953125, 0.0318603515625, -0.0004279613494873047, -0.00461578369140625, 0.0110626220703125, -0.008026123046875, 0.00665283203125, -0.00921630859375, 0.041534423828125, 0.0467529296875, 0.0016813278198242188, 0.058197021484375, -0.03460693359375, 0.03271484375, 0.0205230712890625, 0.00797271728515625, -0.0011272430419921875, 0.0235748291015625, 0.01308441162109375, -0.033233642578125, 0.0013742446899414062, -0.0299835205078125, 0.006862640380859375, -0.00836181640625, 0.047088623046875, -0.00827789306640625, -0.03271484375, 0.033355712890625, -0.048095703125, -0.005229949951171875, 0.0228118896484375, -0.002231597900390625, -0.01023101806640625, -0.02410888671875, -0.053314208984375, 0.004261016845703125, 0.006084442138671875, -0.0278472900390625, 0.031951904296875, -0.05426025390625, 0.048553466796875, 0.01155853271484375, 0.02099609375, -0.0015363693237304688, -0.01263427734375, -0.10211181640625, -0.037811279296875, 0.01617431640625, 0.037933349609375, 0.01045989990234375, -0.002758026123046875, -0.06927490234375, -0.027313232421875, -0.002044677734375, 0.04931640625, -0.029266357421875, -0.04864501953125, 0.0272064208984375, -0.0027942657470703125, 0.08465576171875, 0.061431884765625, -0.038787841796875, 0.01143646240234375, -0.029541015625, -0.0210418701171875, 0.0152435302734375, -0.017242431640625, -0.046539306640625, -0.0269012451171875, 0.028411865234375, 0.0286712646484375, 0.03472900390625, 0.001026153564453125, -0.0233001708984375, -0.0038471221923828125, 0.01849365234375, 0.03216552734375, -0.013427734375, 0.0172271728515625, 0.0343017578125, 0.0286407470703125, 0.01139068603515625, -0.0033130645751953125, -0.005840301513671875, -0.0273590087890625, 0.01031494140625, -0.04644775390625, -0.01959228515625, -0.01329803466796875, -0.01026153564453125, 0.0310516357421875, 0.044952392578125, 0.00015234947204589844, 0.044525146484375, -0.02728271484375, -0.005550384521484375, -0.00980377197265625, -0.031585693359375, -0.051788330078125, 0.001373291015625, 0.055450439453125, -0.020843505859375, -0.0025806427001953125, -0.01373291015625, -0.00826263427734375, 0.04425048828125, -0.040802001953125, 0.029388427734375, 0.026824951171875, -0.04302978515625, 0.059112548828125, 0.0921630859375, 0.033111572265625, 0.053558349609375, 0.0229644775390625, 0.00847625732421875, -0.0101165771484375, 0.0310821533203125, 0.0070953369140625, -0.0162506103515625, 0.0150146484375, -0.015899658203125, -0.0038852691650390625, -0.007358551025390625, -0.0206146240234375, -0.02655029296875, -0.01395416259765625, 0.007099151611328125, -0.0121002197265625, 0.003376007080078125, 0.003993988037109375, -0.0203704833984375, -0.01959228515625, 0.036529541015625, -0.016204833984375, -0.008209228515625, -0.03863525390625, -0.0019292831420898438, -0.0170745849609375, -0.0211029052734375, 0.0179443359375, 0.0019893646240234375, 0.0020542144775390625, 0.054290771484375, 0.01145172119140625, -0.031524658203125, -0.0009393692016601562, 0.01082611083984375, 0.0131683349609375, -0.032379150390625, -0.019256591796875, 0.03607177734375, -0.0211029052734375, -0.0604248046875, 0.03302001953125, -0.03326416015625, 0.0124053955078125, 0.0389404296875, 0.006519317626953125, 0.029083251953125, 0.0299835205078125, 0.0065765380859375, -0.003955841064453125, -0.0027008056640625, -0.046844482421875, -0.044952392578125, -0.0248565673828125, -0.0185546875, 0.046356201171875, -0.018463134765625, 0.02886962890625, -0.0235748291015625, 0.0257720947265625, 0.0043792724609375, -0.0094757080078125, 0.0247650146484375, -0.0225830078125, -0.0189361572265625, 0.0295257568359375, 0.031951904296875, -0.01230621337890625, 0.0307464599609375, 0.002323150634765625, -0.0226287841796875, -0.036376953125, 0.0254669189453125, -0.03790283203125, -0.0088348388671875, 0.022125244140625, -0.0130157470703125, 0.01467132568359375, 0.01232147216796875, -0.01126861572265625, 0.048309326171875, -0.00313568115234375, -0.03167724609375, -0.0030231475830078125, -0.05706787109375, 0.07562255859375, -0.022308349609375, 0.054901123046875, -0.0843505859375, -0.025787353515625, 0.021148681640625, 0.04083251953125, 0.0257720947265625, 0.0158538818359375, -0.0218048095703125, -0.01470184326171875, -0.00907135009765625, 0.00922393798828125, -0.035430908203125, 0.027862548828125, 0.0006246566772460938, 0.041046142578125, 0.0281524658203125, -0.003749847412109375, 0.033233642578125, 0.012481689453125, -0.04833984375, 0.0225372314453125, 0.020843505859375, 0.022918701171875, -0.0230255126953125, 0.01268768310546875, -0.0188751220703125, -0.0179290771484375, 0.0054168701171875, 0.00501251220703125, 0.043914794921875, 0.06317138671875, 0.1082763671875, -0.03826904296875, -0.0175933837890625, -0.01678466796875, 0.07135009765625, 0.0157012939453125, 0.042022705078125, 0.04296875, 0.020904541015625, 0.07122802734375, 0.00543975830078125, 0.021453857421875, 0.006404876708984375, -0.01375579833984375, 0.06982421875, 0.0267791748046875, 0.0126190185546875, -0.042877197265625, 0.01534271240234375, 0.05572509765625, 0.09161376953125, -0.06591796875, -0.01056671142578125, 0.005687713623046875, 0.0092010498046875, 0.00885009765625, -0.0170135498046875, 0.01444244384765625, 0.0462646484375, 0.03399658203125, -0.06512451171875, 0.0004341602325439453, 0.0036640167236328125, 0.0190277099609375, -0.024078369140625, -0.032867431640625, 0.00888824462890625, -0.01525115966796875, -0.050506591796875, 0.005542755126953125, 0.03814697265625, 0.0736083984375, 0.031585693359375, 0.017974853515625, -0.0187835693359375, -0.04058837890625, 0.015472412109375, 0.00905609130859375, 0.0238037109375, -0.0249481201171875, 0.01552581787109375, 0.01035308837890625, -0.006786346435546875, 0.002292633056640625, 0.0075225830078125, 0.0174713134765625, 0.046600341796875, 0.0679931640625, 0.0303497314453125, -0.0110626220703125, 0.0321044921875, 0.00722503662109375, 0.0279083251953125, -0.03460693359375, 0.031982421875, 0.0098724365234375, -0.014556884765625, -0.023834228515625, 0.0149383544921875, 0.040618896484375, 0.0254669189453125, 0.0226287841796875, 0.007511138916015625, -0.0012273788452148438, 0.0665283203125, 0.0123291015625, 0.0504150390625, 0.041717529296875, -0.04412841796875, 0.024566650390625, -0.058563232421875, -0.06378173828125, 0.0226287841796875, 0.034149169921875, 0.0001188516616821289, 0.01377105712890625, 0.006435394287109375, -0.032867431640625, 0.012420654296875, 0.00572967529296875, 0.00763702392578125, -0.013092041015625, -0.0032711029052734375, -0.0122222900390625, -0.00746917724609375, -0.01128387451171875, 0.00914764404296875, 0.0170440673828125, 0.00879669189453125, 0.041351318359375, 0.00653839111328125, 0.01261138916015625, 0.0125732421875, 0.050872802734375, -0.02825927734375, -0.007049560546875, 0.04608154296875, 0.013824462890625, 0.0018253326416015625, -0.0286865234375, 0.024200439453125, -0.006069183349609375, 0.0609130859375, -0.0439453125, -0.0196685791015625, -0.009002685546875, 0.01410675048828125, -0.027130126953125, 0.0290679931640625, -0.017547607421875, -0.004917144775390625, -0.0201568603515625, -0.033966064453125, 0.045867919921875, 0.057769775390625, -0.00017845630645751953, 0.0005583763122558594, 0.0026302337646484375, -0.0231781005859375, 0.0232391357421875, 0.0037136077880859375, 0.053863525390625, 0.046539306640625, -0.05010986328125, 0.01171875, 0.03759765625, -0.00743865966796875, 0.026031494140625, 0.031005859375, -0.005863189697265625, 0.045196533203125, -0.0016412734985351562, 0.001232147216796875, -0.01390838623046875, 0.0218505859375, -0.0151214599609375, 0.00893402099609375, -0.0236358642578125, 0.002704620361328125, 0.01050567626953125, -0.03680419921875, -0.04296875, -0.0587158203125, 0.018402099609375, 0.032562255859375, -0.033843994140625, 0.0020999908447265625, -0.06658935546875, -0.0169677734375, 0.040069580078125, -0.0118408203125, -0.01491546630859375, 0.002777099609375, -0.05999755859375, 0.031463623046875, -0.016448974609375, -0.047271728515625, 0.0182952880859375, 0.0406494140625, -0.025177001953125, 0.041259765625, -0.01351165771484375, -0.03961181640625, 0.015899658203125, -0.00015342235565185547, 0.0137481689453125, 0.0026111602783203125, -0.02105712890625, 0.029937744140625, -0.006877899169921875, 0.0784912109375, -0.03094482421875, 0.0031032562255859375, 0.0122222900390625, 0.0246429443359375, -0.07586669921875, -0.04974365234375, 0.04443359375, -0.0120849609375, -0.026458740234375, 0.059967041015625, -0.01554107666015625, 0.016021728515625, -0.01029205322265625, -0.07391357421875, 0.057952880859375, 0.0003917217254638672, -0.0330810546875, -0.03466796875, 0.01503753662109375, -0.00991058349609375, 0.00628662109375, -0.003719329833984375, -0.037994384765625, -0.015411376953125, 0.0290374755859375, 0.00986480712890625, 0.04534912109375, 0.0233612060546875, -0.0107421875, -0.08685302734375, -0.024810791015625, -0.051361083984375, 0.032806396484375, -0.0121002197265625, 0.0030231475830078125, -0.018463134765625, 0.0172271728515625, -0.048370361328125, -0.0699462890625, -0.0176544189453125, 0.028045654296875, 0.0105743408203125, -0.0160675048828125, -0.050811767578125, -0.018768310546875, 0.0604248046875, 0.048858642578125, 0.0245208740234375, -0.03631591796875, -0.0147705078125, -0.050323486328125, -0.0240936279296875, -0.03668212890625, 0.0163421630859375, -0.061676025390625, 0.0038356781005859375, -0.005191802978515625, -0.00533294677734375, 0.027587890625, -0.0413818359375, -0.033233642578125, -0.01393890380859375, -0.021087646484375, -0.01093292236328125, -0.0184783935546875, 0.050689697265625, -0.0017242431640625, -0.0286712646484375, -0.06787109375, -0.01000213623046875, -0.0198974609375, -0.0491943359375, -0.052276611328125, -0.03631591796875, 0.036834716796875, -0.032440185546875, 0.0020351409912109375, -0.00978851318359375, 0.00927734375, -0.006443023681640625, 0.0296783447265625, -0.06024169921875, 0.01308441162109375, 0.01541900634765625, 0.006656646728515625, -0.01910400390625, 0.023284912109375, 0.052581787109375, 0.0419921875, 0.040863037109375, -0.00612640380859375, 0.0014705657958984375, 0.057159423828125, 0.002117156982421875, -0.0667724609375, 0.00543212890625, -0.058563232421875, -0.017303466796875, 0.008575439453125, -0.01413726806640625, -0.0675048828125, 0.039642333984375, 0.00907135009765625, 0.00931549072265625, 0.0308074951171875 ]
e70ce8075d08f162f2602f9d2245c3ec06229677
Wordpress Stackexchange Q: trigger save_post event programmatically Is there a way to trigger the post saving or updating event in code? such as do_action('save_post', $post_id); The function here seems to imply that a WP_POST object needs to be passed in. Is there a way to basically imitate the action of updating the post with all its existing values. The point is for the other hooks linked to all trigger on post update. Maybe do a wp_insert_post(), just passing in the post id? https://developer.wordpress.org/reference/hooks/save_post/ do_action( 'save_post', int $post_ID, WP_Post $post, bool $update ) A: It's wp_insert_post() vs. wp_update_post() - where update will ultimately also call: return wp_insert_post( $postarr, $wp_error, $fire_after_hooks ); The term "once" implies that it is being fired "afterwards". /** * Fires once a post has been saved. * * @since 1.5.0 * * @param int $post_ID Post ID. * @param WP_Post $post Post object. * @param bool $update Whether this is an existing post being updated. */ do_action( 'save_post', $post_ID, $post, $update ); When inserting a post, save_post is being fired while $fire_after_hooks is true. And usually one may want to insert/update the record and not only fire the hook ...
Q: trigger save_post event programmatically Is there a way to trigger the post saving or updating event in code? such as do_action('save_post', $post_id); The function here seems to imply that a WP_POST object needs to be passed in. Is there a way to basically imitate the action of updating the post with all its existing values. The point is for the other hooks linked to all trigger on post update. Maybe do a wp_insert_post(), just passing in the post id? https://developer.wordpress.org/reference/hooks/save_post/ do_action( 'save_post', int $post_ID, WP_Post $post, bool $update ) A: It's wp_insert_post() vs. wp_update_post() - where update will ultimately also call: return wp_insert_post( $postarr, $wp_error, $fire_after_hooks ); The term "once" implies that it is being fired "afterwards". /** * Fires once a post has been saved. * * @since 1.5.0 * * @param int $post_ID Post ID. * @param WP_Post $post Post object. * @param bool $update Whether this is an existing post being updated. */ do_action( 'save_post', $post_ID, $post, $update ); When inserting a post, save_post is being fired while $fire_after_hooks is true. And usually one may want to insert/update the record and not only fire the hook ... A: The answer to your question is to call do_action with the correct parameters. However, I would like to know more about why you're doing this - is there a post your saving programmatically?
wordpress
{ "language": "en", "length": 225, "provenance": "stackexchange_00019.jsonl.gz:475595", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264749" }
[ 0.0831298828125, 0.01120758056640625, 0.00994110107421875, -0.0262603759765625, 0.047576904296875, -0.03375244140625, 0.0816650390625, -0.04278564453125, -0.004978179931640625, -0.00008910894393920898, -0.04632568359375, 0.0190887451171875, 0.02044677734375, -0.022674560546875, 0.0408935546875, -0.01255035400390625, 0.05364990234375, -0.04400634765625, 0.01708984375, -0.00982666015625, -0.01393890380859375, 0.0169219970703125, 0.0316162109375, 0.045318603515625, 0.05291748046875, 0.0196380615234375, 0.0157012939453125, -0.022918701171875, 0.03472900390625, 0.0158538818359375, 0.03790283203125, -0.060211181640625, 0.04180908203125, 0.02911376953125, -0.07177734375, 0.000743865966796875, -0.019134521484375, 0.005977630615234375, -0.019256591796875, 0.031494140625, 0.0313720703125, -0.01824951171875, -0.0019235610961914062, -0.007781982421875, -0.0050506591796875, -0.0130462646484375, 0.022003173828125, -0.028533935546875, 0.0296783447265625, -0.00872039794921875, -0.0022373199462890625, -0.006595611572265625, 0.00010633468627929688, 0.0142974853515625, -0.00989532470703125, 0.0074920654296875, -0.069091796875, 0.0300140380859375, 0.052490234375, 0.045013427734375, -0.0142974853515625, -0.04931640625, 0.004146575927734375, -0.07550048828125, 0.015899658203125, 0.0081329345703125, 0.040924072265625, 0.00475311279296875, -0.054718017578125, 0.00992584228515625, 0.031982421875, -0.043182373046875, -0.034759521484375, 0.00604248046875, 0.0268707275390625, -0.0224609375, 0.0389404296875, 0.006511688232421875, -0.0345458984375, 0.07366943359375, 0.0304412841796875, 0.01415252685546875, 0.0176544189453125, -0.03656005859375, -0.0038890838623046875, -0.0229034423828125, -0.0084228515625, 0.0008754730224609375, -0.0552978515625, -0.06689453125, -0.036102294921875, 0.01462554931640625, -0.0843505859375, -0.0584716796875, -0.029541015625, -0.0250091552734375, -0.01141357421875, 0.016082763671875, -0.050323486328125, -0.006557464599609375, -0.0209197998046875, -0.0223846435546875, 0.01558685302734375, -0.0179443359375, -0.002384185791015625, 0.040374755859375, 0.0197601318359375, -0.01873779296875, -0.003498077392578125, 0.0102691650390625, -0.00638580322265625, -0.0248870849609375, 0.0081329345703125, 0.0034923553466796875, -0.01369476318359375, -0.015838623046875, -0.04608154296875, 0.043304443359375, 0.004276275634765625, 0.038848876953125, 0.00606536865234375, 0.00975799560546875, 0.0003032684326171875, -0.029449462890625, 0.0233306884765625, -0.005451202392578125, -0.038421630859375, -0.002735137939453125, 0.0168609619140625, -0.0073394775390625, -0.046356201171875, 0.01495361328125, 0.1134033203125, 0.029296875, 0.0222320556640625, -0.0183868408203125, -0.0083770751953125, 0.0026645660400390625, -0.00872039794921875, -0.00039267539978027344, -0.0006036758422851562, -0.03253173828125, -0.0079498291015625, 0.00087738037109375, 0.0201416015625, 0.01201629638671875, -0.0098114013671875, 0.019317626953125, 0.055908203125, -0.0160064697265625, 0.0128326416015625, -0.0379638671875, 0.0143280029296875, 0.021881103515625, 0.0000807046890258789, -0.027374267578125, 0.0245208740234375, -0.03314208984375, 0.0191802978515625, -0.04266357421875, 0.0019397735595703125, -0.01140594482421875, 0.03289794921875, -0.012237548828125, -0.039520263671875, 0.0232391357421875, -0.054168701171875, -0.01331329345703125, 0.0279388427734375, 0.054779052734375, 0.00522613525390625, 0.00867462158203125, 0.0260772705078125, 0.01556396484375, -0.0223541259765625, -0.00762939453125, 0.0171661376953125, -0.040374755859375, 0.0364990234375, 0.00827789306640625, -0.048095703125, -0.01605224609375, 0.036376953125, -0.0299835205078125, -0.02777099609375, 0.03497314453125, 0.003360748291015625, 0.0273590087890625, 0.01342010498046875, 0.010223388671875, 0.00452423095703125, 0.0289459228515625, -0.0151214599609375, 0.0037841796875, -0.0123138427734375, -0.0072784423828125, 0.002124786376953125, 0.0108489990234375, -0.0117340087890625, 0.0016918182373046875, -0.005725860595703125, 0.0221710205078125, -0.015625, 0.011749267578125, -0.09356689453125, 0.030426025390625, -0.047454833984375, 0.0611572265625, -0.0059661865234375, 0.00727081298828125, 0.0214691162109375, 0.02325439453125, -0.0252838134765625, -0.0267486572265625, -0.0367431640625, 0.0013179779052734375, -0.0396728515625, 0.017730712890625, -0.0161285400390625, 0.038787841796875, -0.023193359375, -0.0247650146484375, -0.0313720703125, -0.03253173828125, 0.06365966796875, -0.0626220703125, 0.01947021484375, -0.05609130859375, 0.019378662109375, 0.0006089210510253906, -0.06744384765625, 0.03857421875, 0.0260009765625, 0.0083465576171875, -0.0194854736328125, -0.0101776123046875, -0.0115966796875, -0.1016845703125, 0.007022857666015625, 0.083740234375, 0.0242462158203125, -0.0005016326904296875, 0.004390716552734375, 0.02496337890625, 0.01544189453125, 0.006927490234375, 0.03265380859375, -0.022979736328125, 0.0179443359375, 0.0689697265625, -0.01448822021484375, 0.01291656494140625, 0.01036834716796875, -0.05322265625, 0.003082275390625, 0.04803466796875, 0.0014848709106445312, 0.0275726318359375, -0.034515380859375, -0.019622802734375, 0.00843048095703125, -0.082275390625, -0.043914794921875, -0.0240631103515625, 0.016998291015625, -0.0037517547607421875, 0.017791748046875, 0.0062103271484375, -0.00893402099609375, -0.003337860107421875, 0.0137786865234375, -0.04656982421875, 0.009429931640625, 0.038177490234375, -0.0184326171875, 0.0350341796875, -0.031829833984375, -0.007717132568359375, 0.01424407958984375, 0.024810791015625, -0.029205322265625, -0.0023250579833984375, -0.015960693359375, -0.007843017578125, 0.0082244873046875, -0.040863037109375, 0.009002685546875, -0.032501220703125, -0.004276275634765625, -0.0252838134765625, -0.001026153564453125, 0.0174102783203125, -0.0254669189453125, 0.03802490234375, 0.0054779052734375, -0.0294189453125, -0.048431396484375, -0.0020885467529296875, 0.0141143798828125, -0.0178375244140625, 0.005802154541015625, 0.058258056640625, 0.0032215118408203125, 0.01059722900390625, 0.0205841064453125, -0.008270263671875, 0.0178985595703125, 0.01393890380859375, -0.0058135986328125, -0.0172119140625, -0.03179931640625, 0.016571044921875, 0.052581787109375, 0.10321044921875, 0.005340576171875, -0.041534423828125, 0.01305389404296875, 0.07232666015625, -0.03411865234375, -0.09063720703125, -0.02545166015625, -0.07928466796875, 0.0251617431640625, -0.0256500244140625, -0.0311737060546875, -0.0171966552734375, -0.00936126708984375, 0.030120849609375, -0.0616455078125, 0.0017175674438476562, 0.0131072998046875, -0.033905029296875, -0.01093292236328125, 0.0122222900390625, 0.00799560546875, 0.01326751708984375, 0.01314544677734375, 0.0814208984375, 0.00986480712890625, -0.05718994140625, -0.00274658203125, -0.0216217041015625, -0.047515869140625, -0.0059967041015625, -0.0198822021484375, -0.040863037109375, 0.0350341796875, -0.033233642578125, -0.0241546630859375, 0.01541900634765625, 0.02130126953125, 0.010528564453125, 0.0031280517578125, -0.01029205322265625, 0.02496337890625, 0.0389404296875, 0.0033664703369140625, 0.04034423828125, 0.0682373046875, -0.0133514404296875, -0.0095062255859375, -0.037353515625, -0.05523681640625, -0.0029926300048828125, 0.03271484375, 0.017852783203125, -0.0204925537109375, 0.0002117156982421875, -0.0117034912109375, 0.00867462158203125, 0.00852203369140625, -0.00862884521484375, -0.00017821788787841797, -0.01314544677734375, -0.02008056640625, -0.00843048095703125, 0.0021572113037109375, -0.020660400390625, 0.017608642578125, -0.0190887451171875, 0.029022216796875, -0.024871826171875, 0.033660888671875, -0.0770263671875, -0.021392822265625, 0.0019588470458984375, -0.042236328125, 0.0221405029296875, -0.045684814453125, -0.00527191162109375, -0.0350341796875, 0.031646728515625, -0.031524658203125, -0.023681640625, -0.004024505615234375, 0.025848388671875, -0.042877197265625, -0.046356201171875, -0.01125335693359375, 0.0006012916564941406, 0.0136566162109375, 0.021331787109375, 0.005580902099609375, -0.004566192626953125, -0.03521728515625, 0.039398193359375, -0.01104736328125, 0.016143798828125, 0.045196533203125, -0.048431396484375, 0.0156707763671875, 0.02874755859375, 0.006561279296875, 0.01067352294921875, -0.0242919921875, -0.01641845703125, -0.10748291015625, -0.01207733154296875, -0.01358795166015625, 0.0484619140625, 0.010406494140625, -0.019989013671875, -0.0289459228515625, 0.0288848876953125, 0.015594482421875, 0.037200927734375, 0.015960693359375, 0.0226287841796875, -0.01230621337890625, -0.049896240234375, 0.018157958984375, -0.036834716796875, -0.0215301513671875, -0.01331329345703125, 0.00543212890625, 0.039276123046875, -0.0389404296875, -0.024017333984375, -0.042510986328125, -0.00531005859375, -0.051666259765625, -0.021636962890625, -0.0277252197265625, 0.015838623046875, -0.0165252685546875, -0.005977630615234375, -0.045257568359375, -0.082763671875, 0.055999755859375, -0.030059814453125, 0.019317626953125, -0.01021575927734375, 0.1136474609375, 0.0090484619140625, -0.004611968994140625, -0.00559234619140625, 0.0142974853515625, 0.0245208740234375, 0.034271240234375, -0.0028934478759765625, -0.00060272216796875, -0.0016393661499023438, -0.0286712646484375, 0.023956298828125, -0.01519012451171875, -0.04974365234375, 0.0718994140625, 0.0005283355712890625, 0.01511383056640625, -0.01450347900390625, -0.0261688232421875, 0.040802001953125, 0.01450347900390625, -0.02606201171875, -0.00748443603515625, 0.0110321044921875, 0.04296875, -0.05096435546875, 0.044677734375, -0.0302734375, -0.0273590087890625, 0.00505828857421875, 0.034881591796875, 0.01532745361328125, 0.028289794921875, -0.0011472702026367188, 0.01904296875, 0.0025653839111328125, -0.01495361328125, 0.00665283203125, -0.027008056640625, 0.014984130859375, 0.0018138885498046875, 0.0341796875, 0.0119476318359375, -0.013031005859375, 0.0009589195251464844, 0.005855560302734375, 0.004180908203125, -0.0194244384765625, -0.04522705078125, 0.003704071044921875, 0.041656494140625, -0.0108184814453125, 0.00690460205078125, 0.047393798828125, 0.052215576171875, 0.013031005859375, -0.00452423095703125, 0.005603790283203125, 0.040679931640625, -0.039581298828125, -0.0279998779296875, 0.0207977294921875, -0.019012451171875, 0.0308990478515625, 0.0027561187744140625, 0.04998779296875, -0.00495147705078125, -0.046966552734375, 0.06768798828125, 0.06719970703125, 0.01232147216796875, 0.03240966796875, -0.0283966064453125, -0.01274871826171875, -0.011688232421875, -0.04302978515625, -0.042449951171875, 0.0145263671875, 0.0239410400390625, 0.018890380859375, 0.0196075439453125, -0.0303955078125, 0.0218658447265625, -0.00524139404296875, -0.0138702392578125, 0.03375244140625, 0.042449951171875, -0.03826904296875, 0.01032257080078125, 0.01273345947265625, -0.01287078857421875, -0.0194091796875, 0.0186004638671875, -0.035247802734375, -0.022369384765625, -0.002849578857421875, -0.041107177734375, 0.02471923828125, -0.033660888671875, -0.040985107421875, 0.002841949462890625, -0.0191802978515625, 0.0017747879028320312, 0.06280517578125, 0.0219268798828125, -0.0312042236328125, -0.059112548828125, 0.05316162109375, 0.0005383491516113281, 0.0017194747924804688, -0.027984619140625, 0.007720947265625, -0.018280029296875, 0.00421142578125, 0.053985595703125, 0.01348876953125, 0.01580810546875, 0.004138946533203125, -0.028106689453125, -0.0287933349609375, 0.0111541748046875, -0.032928466796875, -0.03668212890625, -0.0174102783203125, 0.0213775634765625, 0.03271484375, -0.0054473876953125, -0.0302886962890625, 0.0169830322265625, -0.024566650390625, -0.01529693603515625, 0.0213165283203125, 0.005710601806640625, 0.0767822265625, -0.05615234375, 0.042755126953125, 0.000006079673767089844, 0.00475311279296875, -0.05694580078125, 0.006389617919921875, -0.01509857177734375, -0.0253448486328125, 0.0235443115234375, 0.014068603515625, 0.042236328125, -0.021514892578125, -0.00850677490234375, -0.00545501708984375, -0.0154571533203125, -0.006359100341796875, 0.0031261444091796875, -0.0262298583984375, 0.03436279296875, -0.0031108856201171875, -0.056915283203125, 0.054718017578125, -0.0634765625, -0.047760009765625, 0.01557159423828125, 0.0369873046875, 0.0195770263671875, -0.044952392578125, 0.0017728805541992188, 0.0364990234375, -0.004138946533203125, -0.0117645263671875, 0.012969970703125, 0.04193115234375, 0.051788330078125, -0.00946807861328125, 0.0438232421875, 0.006866455078125, -0.00799560546875, -0.011566162109375, 0.01381683349609375, 0.061553955078125, -0.0012359619140625, -0.014617919921875, 0.0301666259765625, -0.023895263671875, 0.044189453125, 0.00850677490234375, 0.0819091796875, -0.0216217041015625, 0.024017333984375, 0.03155517578125, -0.033782958984375, 0.04718017578125, 0.00252532958984375, -0.014312744140625, -0.00884246826171875, 0.0177459716796875, 0.0000699758529663086, -0.02569580078125, 0.006317138671875, 0.0022907257080078125, 0.0004892349243164062, -0.0136871337890625, 0.00815582275390625, 0.003963470458984375, -0.01148223876953125, 0.00958251953125, 0.0068817138671875, 0.0221099853515625, -0.0312347412109375, 0.01373291015625, -0.0123748779296875, -0.0181732177734375, -0.0643310546875, 0.0004241466522216797, 0.0104217529296875, -0.00971221923828125, 0.0103302001953125, 0.007396697998046875, 0.06146240234375, 0.0263824462890625, 0.031646728515625, -0.0352783203125, 0.0062103271484375, 0.008056640625, -0.11669921875, -0.0244598388671875, 0.032318115234375, 0.061187744140625, -0.025634765625, 0.050384521484375, -0.023651123046875, -0.017486572265625, 0.0008993148803710938, 0.00960540771484375, 0.05804443359375, -0.05462646484375, -0.00440216064453125, 0.01132965087890625, 0.002864837646484375, 0.0243072509765625, -0.0197601318359375, 0.00653076171875, -0.05047607421875, -0.020263671875, -0.0268402099609375, -0.051422119140625, -0.0084991455078125, -0.06231689453125, -0.059356689453125, 0.137451171875, 0.0294189453125, 0.01861572265625, 0.0095062255859375, 0.0528564453125, -0.06585693359375, 0.01158905029296875, -0.0784912109375, 0.0706787109375, -0.010894775390625, 0.048828125, -0.07342529296875, 0.0114288330078125, -0.01387786865234375, -0.00374603271484375, 0.024871826171875, -0.0012407302856445312, 0.0041656494140625, -0.00757598876953125, 0.02667236328125, 0.00955963134765625, -0.0103912353515625, 0.017364501953125, -0.0182952880859375, 0.00775146484375, -0.0018377304077148438, -0.03741455078125, 0.02838134765625, -0.04412841796875, -0.0210723876953125, 0.006992340087890625, 0.001026153564453125, -0.001678466796875, 0.0113372802734375, -0.0411376953125, 0.0080413818359375, 0.00008910894393920898, -0.01314544677734375, -0.00891876220703125, 0.0183258056640625, -0.0004200935363769531, 0.0305023193359375, -0.0030651092529296875, 0.01134490966796875, -0.024200439453125, 0.046966552734375, 0.0285797119140625, -0.016845703125, -0.0009121894836425781, -0.00800323486328125, 0.007049560546875, 0.0265045166015625, -0.0236358642578125, 0.042724609375, 0.0186920166015625, 0.07952880859375, 0.0302276611328125, 0.026214599609375, -0.022674560546875, 0.024200439453125, 0.032562255859375, 0.080078125, -0.06256103515625, -0.0020313262939453125, 0.024688720703125, 0.01396942138671875, -0.0225677490234375, -0.035675048828125, -0.0245208740234375, -0.044769287109375, -0.001979827880859375, -0.0248870849609375, -0.0238037109375, -0.0022983551025390625, 0.0140228271484375, 0.00959014892578125, 0.04888916015625, -0.0091094970703125, -0.0469970703125, -0.04705810546875, 0.0288543701171875, 0.0237274169921875, 0.037567138671875, -0.00461578369140625, 0.051971435546875, 0.0009317398071289062, -0.00791168212890625, -0.0178680419921875, 0.01059722900390625, 0.00826263427734375, 0.0204010009765625, -0.031768798828125, -0.0316162109375, 0.01763916015625, 0.04644775390625, 0.02313232421875, 0.09075927734375, 0.0875244140625, 0.0537109375, -0.0296783447265625, 0.006618499755859375, 0.04571533203125, -0.0289459228515625, -0.00617218017578125, -0.028472900390625, -0.00652313232421875, 0.0008172988891601562, -0.01910400390625, 0.014495849609375, -0.007137298583984375, 0.0276947021484375, -0.0190887451171875, 0.0294036865234375, -0.007232666015625, -0.0016937255859375, 0.05950927734375, -0.00255584716796875, 0.0570068359375, 0.018798828125, -0.006877899169921875, -0.0032520294189453125, -0.0247344970703125, -0.019989013671875, -0.0003407001495361328, 0.016326904296875, -0.0167236328125, 0.050689697265625, 0.0022029876708984375, 0.00969696044921875, 0.041290283203125, -0.03717041015625, 0.0021991729736328125, 0.016815185546875, 0.0168304443359375, 0.0121307373046875, -0.03167724609375, -0.00302886962890625, 0.012237548828125, 0.00984954833984375, -0.00447845458984375, 0.040252685546875, 0.008331298828125, 0.005767822265625, 0.00894927978515625, 0.043731689453125, -0.039764404296875, -0.0031833648681640625, -0.00908660888671875, -0.027435302734375, 0.01450347900390625, -0.002960205078125, -0.033172607421875, 0.01226806640625, 0.0212249755859375, -0.0010919570922851562, 0.022705078125, -0.03082275390625, 0.0222930908203125, -0.0057220458984375, 0.033843994140625, -0.0089874267578125, 0.01209259033203125, 0.0022029876708984375, -0.005481719970703125, 0.045074462890625, 0.0161895751953125, -0.015533447265625, 0.0095062255859375, -0.004749298095703125, -0.0146331787109375, 0.0165252685546875, -0.0145111083984375, -0.0002243518829345703, 0.01145172119140625, -0.01386260986328125, 0.030548095703125, -0.012939453125, -0.0194244384765625, 0.00557708740234375, 0.0192413330078125, -0.04656982421875, 0.01345062255859375, -0.035308837890625, -0.026214599609375, 0.015899658203125, 0.06622314453125, 0.0257720947265625, 0.03118896484375, -0.0372314453125, -0.002899169921875, -0.0001436471939086914, 0.00931549072265625, -0.023529052734375, -0.0280609130859375, -0.01605224609375, -0.00017321109771728516, -0.0211944580078125, -0.046844482421875, -0.049041748046875, -0.008544921875, 0.041229248046875, 0.004474639892578125, -0.04425048828125, 0.01898193359375, -0.0330810546875, 0.02178955078125, -0.00287628173828125, -0.0310516357421875, 0.0270233154296875, 0.06744384765625, -0.0088043212890625, -0.023101806640625, 0.00222015380859375, 0.007236480712890625, -0.02081298828125, -0.00545501708984375, 0.00795745849609375, -0.007488250732421875, -0.0673828125, -0.0004296302795410156, 0.00839996337890625, 0.03466796875, 0.0279541015625, -0.0196075439453125, -0.006763458251953125, 0.02374267578125, -0.0012226104736328125, -0.0283050537109375, 0.019561767578125, -0.035614013671875, -0.0261383056640625, -0.003810882568359375, 0.01081085205078125, 0.05029296875, -0.0178680419921875, -0.05963134765625, 0.0330810546875, -0.0073394775390625, -0.0263214111328125, -0.02777099609375, 0.015625, -0.0007052421569824219, -0.005405426025390625, -0.01526641845703125, -0.006633758544921875, -0.008270263671875, 0.029693603515625, 0.0008845329284667969, 0.018829345703125, 0.0201568603515625, -0.00743865966796875, -0.047119140625, -0.01641845703125, -0.035308837890625, -0.00576019287109375, 0.012969970703125, -0.0305328369140625, 0.037445068359375, 0.023468017578125, -0.05181884765625, 0.0023746490478515625, 0.007656097412109375, -0.005756378173828125, -0.02239990234375, -0.01483154296875, -0.00630950927734375, 0.02435302734375, 0.06903076171875, 0.06317138671875, 0.00983428955078125, -0.06683349609375, 0.017852783203125, -0.041046142578125, -0.035125732421875, 0.01107025146484375, 0.0006761550903320312, 0.0126953125, 0.038177490234375, -0.012908935546875, 0.01441192626953125, 0.01192474365234375, -0.0277557373046875, -0.0026073455810546875, -0.02777099609375, -0.00875091552734375, -0.00698089599609375, -0.0399169921875, -0.0271148681640625, 0.0570068359375, -0.031280517578125, -0.0155181884765625, 0.0287628173828125, 0.006122589111328125, 0.0108642578125, 0.061798095703125, 0.037933349609375, 0.04327392578125, -0.04150390625, -0.01422882080078125, 0.0223846435546875, 0.03125, -0.01290130615234375, -0.0220184326171875, -0.0162811279296875, 0.015228271484375, -0.0059814453125, 0.0080413818359375, -0.01183319091796875, 0.023345947265625, -0.0027332305908203125, 0.08795166015625, -0.0208740234375, 0.0006189346313476562, -0.007198333740234375, 0.0171966552734375, -0.020538330078125, 0.01328277587890625, 0.0175628662109375, -0.00778961181640625, 0.0019931793212890625, 0.035186767578125, 0.01971435546875, -0.024627685546875, 0.03070068359375, 0.0357666015625, 0.024261474609375, 0.004413604736328125 ]
7c86e0faa00992f49ae4d17f1c621a7be3885703
Wordpress Stackexchange Q: WP API : date_query parameter I'm using Wordpress API just to perform some tests. I'm currently working with the date_query parameter, which, in my case, doesn't work as expected. Just consider this request : https://wptest.enguerranweiss.com/wp-json/wp/v2/posts?filter[orderBy]=date&filter[order]=DESC&filter[date_query][after]=2016-10-13T17 (dummy install, dummy content) What I expect : the API should only return the posts more recent than 2016-10-13. Right now, the filter seems to be ignored. Any idea? A: As of WP >= 4.7 filter[] is not supported and have been removed. Also WP REST API Plugin became part of WordPress Core. According docs your link should be: https://wptest.enguerranweiss.com/wp-json/wp/v2/posts?orderby=date&order=desc&after=2016-10-13T17:00:00 EDIT As enguerranws mentioned the date should be in ISO8601 format
Q: WP API : date_query parameter I'm using Wordpress API just to perform some tests. I'm currently working with the date_query parameter, which, in my case, doesn't work as expected. Just consider this request : https://wptest.enguerranweiss.com/wp-json/wp/v2/posts?filter[orderBy]=date&filter[order]=DESC&filter[date_query][after]=2016-10-13T17 (dummy install, dummy content) What I expect : the API should only return the posts more recent than 2016-10-13. Right now, the filter seems to be ignored. Any idea? A: As of WP >= 4.7 filter[] is not supported and have been removed. Also WP REST API Plugin became part of WordPress Core. According docs your link should be: https://wptest.enguerranweiss.com/wp-json/wp/v2/posts?orderby=date&order=desc&after=2016-10-13T17:00:00 EDIT As enguerranws mentioned the date should be in ISO8601 format
wordpress
{ "language": "en", "length": 107, "provenance": "stackexchange_00019.jsonl.gz:475615", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/264844" }
[ 0.05340576171875, 0.01035308837890625, -0.01392364501953125, -0.039764404296875, 0.0299224853515625, -0.042724609375, 0.028533935546875, -0.01433563232421875, 0.056884765625, 0.0183563232421875, 0.0014219284057617188, -0.044342041015625, -0.01038360595703125, -0.035736083984375, -0.050750732421875, -0.02978515625, 0.0418701171875, -0.047576904296875, -0.00974273681640625, -0.0121917724609375, -0.0083465576171875, 0.0207366943359375, 0.0083160400390625, 0.041015625, 0.0266876220703125, 0.018707275390625, 0.06378173828125, -0.025787353515625, 0.06121826171875, 0.019073486328125, 0.0157623291015625, -0.0711669921875, -0.00836944580078125, 0.053314208984375, -0.00717926025390625, 0.017974853515625, 0.0548095703125, 0.0123138427734375, 0.0145721435546875, 0.045989990234375, 0.0225677490234375, -0.0182037353515625, -0.031951904296875, 0.00891876220703125, -0.04180908203125, -0.017974853515625, 0.03662109375, 0.016082763671875, -0.0015401840209960938, 0.0310211181640625, 0.0005717277526855469, -0.01284027099609375, 0.006168365478515625, 0.011260986328125, -0.00746917724609375, -0.02734375, 0.018463134765625, -0.01082611083984375, 0.0222930908203125, -0.01474761962890625, -0.01459503173828125, 0.0291595458984375, 0.00923919677734375, 0.00649261474609375, 0.00547027587890625, 0.0036029815673828125, 0.07177734375, 0.0247955322265625, -0.024261474609375, -0.015594482421875, 0.01345062255859375, 0.003795623779296875, -0.01971435546875, -0.0144500732421875, -0.0255279541015625, 0.002628326416015625, -0.0036258697509765625, -0.029144287109375, 0.022613525390625, 0.016876220703125, 0.005657196044921875, 0.0008678436279296875, -0.038726806640625, -0.006786346435546875, -0.00925445556640625, -0.00765228271484375, -0.0097198486328125, -0.0011768341064453125, -0.044677734375, -0.0269927978515625, -0.034332275390625, -0.051849365234375, -0.05902099609375, 0.0009927749633789062, 0.003627777099609375, -0.0345458984375, 0.01117706298828125, 0.034271240234375, -0.0268707275390625, -0.0029926300048828125, -0.018218994140625, -0.023712158203125, -0.0175933837890625, -0.006359100341796875, 0.0256500244140625, 0.01392364501953125, 0.0031147003173828125, 0.031768798828125, 0.06884765625, 0.018646240234375, 0.00534820556640625, 0.08392333984375, -0.0260162353515625, -0.011077880859375, -0.0122833251953125, 0.0164642333984375, -0.02642822265625, -0.0243988037109375, -0.00244903564453125, -0.0430908203125, 0.0006194114685058594, 0.00010770559310913086, 0.002685546875, 0.0012636184692382812, 0.03643798828125, 0.0129547119140625, -0.041900634765625, 0.0174560546875, -0.0164794921875, 0.00543212890625, 0.0018100738525390625, 0.0254974365234375, -0.0124664306640625, -0.0156402587890625, -0.036041259765625, -0.005764007568359375, 0.040679931640625, -0.0081329345703125, -0.0187225341796875, 0.03228759765625, -0.0022792816162109375, -0.0237274169921875, -0.0159759521484375, -0.028106689453125, 0.0341796875, 0.00958251953125, 0.006275177001953125, 0.01543426513671875, 0.0151519775390625, 0.001766204833984375, 0.016845703125, 0.004795074462890625, 0.0289306640625, -0.0068817138671875, -0.02685546875, -0.0164337158203125, 0.0174560546875, -0.02130126953125, -0.0078277587890625, -0.037139892578125, 0.00991058349609375, -0.00939178466796875, -0.01087188720703125, -0.01953125, -0.03875732421875, -0.009033203125, -0.007175445556640625, -0.0002510547637939453, 0.0020427703857421875, 0.0279998779296875, -0.01885986328125, -0.0212249755859375, -0.01097869873046875, -0.0279083251953125, -0.041351318359375, 0.005603790283203125, 0.0167236328125, -0.01806640625, 0.011962890625, 0.04779052734375, -0.010589599609375, -0.02642822265625, 0.040069580078125, -0.01523590087890625, -0.0283966064453125, 0.02703857421875, 0.0136871337890625, 0.0311279296875, -0.0228729248046875, 0.0178375244140625, 0.03741455078125, 0.06878662109375, -0.0163421630859375, 0.03558349609375, -0.0135040283203125, -0.052642822265625, -0.00884246826171875, 0.005229949951171875, -0.01532745361328125, -0.01293182373046875, 0.01904296875, 0.045989990234375, -0.0285797119140625, 0.032073974609375, -0.0703125, 0.0458984375, -0.035675048828125, 0.027679443359375, -0.04034423828125, 0.025787353515625, 0.043243408203125, 0.0094451904296875, -0.065185546875, 0.031585693359375, 0.0230712890625, 0.0296478271484375, -0.006877899169921875, 0.0458984375, -0.01165771484375, 0.04022216796875, -0.003993988037109375, -0.047637939453125, -0.0022602081298828125, 0.031585693359375, 0.055572509765625, -0.04034423828125, 0.01175689697265625, -0.03851318359375, 0.08258056640625, 0.002201080322265625, 0.021759033203125, -0.0008940696716308594, 0.06439208984375, 0.09735107421875, -0.021728515625, -0.023162841796875, -0.00025773048400878906, -0.0062255859375, 0.01277923583984375, 0.037139892578125, 0.0251312255859375, 0.0243072509765625, 0.0260009765625, 0.043060302734375, 0.037017822265625, -0.043182373046875, 0.00620269775390625, -0.007251739501953125, -0.017181396484375, -0.007724761962890625, 0.01488494873046875, -0.036224365234375, 0.0093994140625, -0.0478515625, 0.0128936767578125, -0.003078460693359375, -0.0202484130859375, -0.0091705322265625, -0.01256561279296875, -0.007537841796875, 0.0166168212890625, -0.06573486328125, -0.040283203125, -0.0141143798828125, 0.0088653564453125, -0.0217742919921875, 0.043701171875, 0.03546142578125, -0.00698089599609375, -0.0257720947265625, 0.01520538330078125, 0.0282745361328125, 0.006031036376953125, 0.0311737060546875, -0.0154266357421875, 0.0049285888671875, -0.0101165771484375, 0.013275146484375, 0.000053048133850097656, 0.01131439208984375, 0.007488250732421875, 0.0343017578125, -0.0008449554443359375, -0.0237274169921875, 0.002933502197265625, -0.0056915283203125, 0.003082275390625, 0.0140380859375, 0.013824462890625, 0.00945281982421875, 0.051849365234375, -0.0037822723388671875, -0.024658203125, 0.0307769775390625, -0.02197265625, -0.0217437744140625, -0.013092041015625, -0.044158935546875, 0.042205810546875, -0.058685302734375, -0.004863739013671875, 0.03765869140625, -0.013671875, -0.0022144317626953125, -0.0005812644958496094, 0.00185394287109375, 0.01849365234375, -0.0023441314697265625, -0.0174713134765625, -0.0020465850830078125, -0.048828125, 0.03289794921875, 0.01428985595703125, 0.04388427734375, -0.014678955078125, -0.048187255859375, -0.01123046875, 0.00818634033203125, -0.11376953125, -0.10211181640625, -0.009796142578125, -0.03387451171875, -0.0079345703125, -0.00582122802734375, -0.0157318115234375, 0.01175689697265625, -0.0021572113037109375, -0.0028858184814453125, -0.007343292236328125, -0.02337646484375, -0.053619384765625, -0.051971435546875, -0.06573486328125, 0.018096923828125, -0.00861358642578125, 0.01045989990234375, -0.005207061767578125, 0.11822509765625, 0.01032257080078125, -0.0670166015625, -0.032928466796875, 0.00946044921875, -0.01061248779296875, 0.00772857666015625, 0.013336181640625, -0.0040130615234375, -0.006206512451171875, -0.006732940673828125, 0.07037353515625, 0.0576171875, -0.06982421875, 0.027587890625, 0.005390167236328125, 0.0002053976058959961, -0.0031871795654296875, 0.0017004013061523438, 0.005634307861328125, 0.006992340087890625, 0.0071563720703125, -0.05035400390625, -0.0139007568359375, -0.0105438232421875, -0.0280303955078125, 0.0250244140625, 0.017364501953125, -0.009368896484375, 0.01342010498046875, -0.0028934478759765625, -0.01325225830078125, -0.034942626953125, 0.0335693359375, -0.060546875, 0.0325927734375, 0.00366973876953125, -0.00811767578125, -0.0186309814453125, 0.02154541015625, -0.031646728515625, -0.0188140869140625, -0.0099029541015625, -0.03265380859375, -0.032257080078125, -0.0254974365234375, -0.044219970703125, -0.041656494140625, 0.061859130859375, 0.0057830810546875, -0.001163482666015625, -0.039642333984375, -0.039581298828125, -0.00960540771484375, 0.07635498046875, -0.01229095458984375, -0.030242919921875, 0.0008449554443359375, 0.0204010009765625, -0.04437255859375, -0.0279083251953125, -0.0076904296875, -0.01861572265625, -0.0264892578125, -0.0198822021484375, -0.0269622802734375, -0.01629638671875, -0.0189208984375, -0.01849365234375, -0.025360107421875, -0.024200439453125, 0.0273284912109375, 0.01258087158203125, -0.02294921875, 0.0357666015625, -0.034698486328125, 0.01053619384765625, -0.01383209228515625, -0.002422332763671875, -0.0528564453125, -0.01788330078125, 0.0264129638671875, 0.0170745849609375, -0.0170745849609375, -0.037322998046875, -0.035186767578125, 0.0129547119140625, 0.033477783203125, 0.017578125, 0.028289794921875, -0.033447265625, 0.035003662109375, 0.0321044921875, 0.044342041015625, -0.011474609375, -0.0207977294921875, -0.0176544189453125, -0.0187530517578125, 0.0198211669921875, -0.0036411285400390625, 0.0283966064453125, -0.0036716461181640625, 0.001659393310546875, -0.003955841064453125, -0.005496978759765625, -0.0105743408203125, 0.0251312255859375, -0.041351318359375, 0.01136016845703125, -0.007244110107421875, -0.0223236083984375, 0.080322265625, 0.048370361328125, 0.0022525787353515625, -0.014862060546875, 0.06475830078125, 0.01213836669921875, -0.05584716796875, -0.035003662109375, 0.01296234130859375, 0.0237884521484375, -0.0162200927734375, 0.046234130859375, -0.0172882080078125, -0.030242919921875, 0.0999755859375, -0.031097412109375, 0.005214691162109375, -0.02777099609375, 0.04571533203125, 0.0060577392578125, 0.00018477439880371094, 0.0191192626953125, 0.0217132568359375, -0.00962066650390625, 0.02886962890625, 0.00020956993103027344, -0.03594970703125, 0.038238525390625, 0.0711669921875, -0.044891357421875, 0.0268402099609375, -0.02911376953125, -0.055023193359375, 0.038177490234375, -0.0321044921875, -0.0243072509765625, -0.01430511474609375, -0.0014867782592773438, -0.00011205673217773438, 0.0006818771362304688, 0.0281829833984375, -0.0251617431640625, 0.036773681640625, -0.037200927734375, 0.055755615234375, -0.01058197021484375, 0.01385498046875, -0.04547119140625, -0.0098114013671875, 0.07391357421875, -0.0149993896484375, -0.04083251953125, -0.00455474853515625, -0.035552978515625, -0.01056671142578125, 0.04095458984375, -0.04791259765625, 0.02777099609375, 0.0238494873046875, -0.005558013916015625, -0.005931854248046875, -0.048583984375, -0.00991058349609375, -0.05084228515625, 0.0269012451171875, 0.0169525146484375, -0.00034308433532714844, 0.0178375244140625, 0.05322265625, 0.0146026611328125, 0.0262298583984375, -0.0225372314453125, 0.0222015380859375, -0.0433349609375, 0.050689697265625, 0.020599365234375, -0.054046630859375, 0.03424072265625, 0.0204315185546875, -0.01253509521484375, 0.0017108917236328125, -0.023101806640625, -0.004962921142578125, -0.0313720703125, -0.01544952392578125, 0.02850341796875, 0.034881591796875, 0.052032470703125, -0.0268096923828125, -0.037078857421875, 0.028076171875, 0.053466796875, -0.00965118408203125, -0.0218963623046875, 0.00624847412109375, 0.074462890625, -0.006366729736328125, 0.00205230712890625, -0.01003265380859375, 0.04290771484375, -0.0014705657958984375, 0.0313720703125, -0.01229095458984375, -0.041595458984375, 0.04058837890625, -0.040679931640625, -0.06451416015625, 0.040618896484375, 0.0218963623046875, -0.01470947265625, -0.01154327392578125, 0.0577392578125, -0.01358795166015625, 0.07574462890625, -0.051788330078125, 0.005096435546875, -0.038421630859375, 0.0035190582275390625, 0.036865234375, 0.030364990234375, -0.006122589111328125, -0.025543212890625, -0.0163421630859375, -0.0202789306640625, 0.0194549560546875, -0.0012722015380859375, -0.0234832763671875, -0.027862548828125, 0.0222320556640625, 0.04217529296875, -0.0199737548828125, -0.06768798828125, 0.00994110107421875, -0.0195770263671875, 0.003871917724609375, 0.03155517578125, -0.037689208984375, 0.12103271484375, -0.029052734375, 0.08038330078125, 0.0030727386474609375, 0.04205322265625, -0.045379638671875, 0.0008602142333984375, 0.037872314453125, -0.04559326171875, -0.047607421875, -0.004291534423828125, -0.06414794921875, -0.0017976760864257812, -0.0027980804443359375, -0.01129913330078125, 0.0565185546875, -0.016937255859375, -0.0005698204040527344, -0.0050201416015625, 0.02093505859375, -0.044769287109375, 0.05694580078125, 0.0231475830078125, 0.004261016845703125, 0.0238189697265625, -0.02972412109375, 0.022308349609375, -0.026397705078125, -0.00858306884765625, -0.0240325927734375, 0.01332855224609375, 0.0204315185546875, 0.00907135009765625, 0.06396484375, 0.01340484619140625, 0.061737060546875, 0.0308990478515625, 0.03436279296875, 0.0303192138671875, 0.0164947509765625, -0.0226593017578125, -0.0103302001953125, -0.011566162109375, -0.0255889892578125, -0.0223541259765625, -0.021759033203125, -0.0248260498046875, 0.029205322265625, -0.0234527587890625, 0.031524658203125, -0.00226593017578125, 0.0168304443359375, 0.00231170654296875, -0.028656005859375, 0.0311126708984375, 0.00372314453125, -0.0012159347534179688, 0.033172607421875, 0.0335693359375, -0.036102294921875, -0.01430511474609375, 0.02459716796875, 0.0017614364624023438, -0.0072784423828125, -0.005458831787109375, 0.0394287109375, 0.003612518310546875, -0.023956298828125, 0.0174713134765625, 0.003253936767578125, 0.01209259033203125, 0.005374908447265625, 0.00423431396484375, 0.00449371337890625, -0.033050537109375, -0.095947265625, -0.0218963623046875, -0.0191192626953125, -0.03515625, -0.00963592529296875, 0.0019388198852539062, 0.041778564453125, 0.0294189453125, -0.0013933181762695312, -0.020843505859375, -0.002685546875, 0.02459716796875, -0.037200927734375, -0.05804443359375, 0.01331329345703125, 0.07159423828125, -0.03790283203125, 0.047210693359375, 0.03558349609375, -0.03955078125, -0.012451171875, -0.022125244140625, 0.045074462890625, -0.0212554931640625, -0.00897979736328125, 0.035675048828125, 0.021820068359375, -0.0186614990234375, -0.0153045654296875, 0.00286865234375, -0.0418701171875, 0.013336181640625, -0.00681304931640625, 0.0153961181640625, 0.032806396484375, -0.002532958984375, -0.0300750732421875, 0.052764892578125, -0.016448974609375, 0.01030731201171875, 0.00843048095703125, 0.0214385986328125, -0.007144927978515625, 0.011688232421875, -0.03424072265625, 0.047607421875, -0.005046844482421875, 0.0323486328125, -0.0482177734375, -0.003223419189453125, -0.00011056661605834961, 0.018707275390625, 0.0460205078125, -0.011993408203125, -0.03997802734375, -0.020660400390625, 0.0552978515625, 0.0413818359375, 0.01806640625, 0.0418701171875, 0.0154876708984375, 0.0301971435546875, 0.0290069580078125, -0.05108642578125, 0.01163482666015625, -0.018463134765625, 0.008087158203125, 0.040802001953125, 0.016387939453125, 0.0283966064453125, -0.01099395751953125, -0.000008404254913330078, 0.00601959228515625, -0.00705718994140625, 0.01232147216796875, -0.050994873046875, 0.01126861572265625, 0.0279998779296875, 0.0665283203125, -0.08251953125, -0.059906005859375, -0.0189056396484375, 0.032684326171875, 0.03607177734375, 0.023895263671875, 0.0430908203125, 0.0238037109375, 0.0158233642578125, -0.0013856887817382812, 0.0198516845703125, 0.00991058349609375, -0.0269622802734375, 0.07391357421875, -0.00434112548828125, 0.032501220703125, -0.06622314453125, -0.01593017578125, 0.04327392578125, 0.0784912109375, -0.036285400390625, -0.00029015541076660156, 0.001232147216796875, -0.006870269775390625, 0.01031494140625, -0.030792236328125, 0.026580810546875, -0.007904052734375, -0.01358795166015625, -0.0206298828125, 0.0158843994140625, 0.0306854248046875, 0.00891876220703125, 0.00547027587890625, 0.056427001953125, -0.057098388671875, 0.00684356689453125, -0.0240478515625, -0.0025806427001953125, 0.01027679443359375, 0.058929443359375, 0.01352691650390625, 0.0416259765625, -0.042724609375, -0.0272369384765625, 0.03131103515625, 0.022369384765625, 0.01177215576171875, -0.040618896484375, 0.0455322265625, -0.017730712890625, -0.004901885986328125, -0.005340576171875, -0.0017309188842773438, 0.0188140869140625, 0.0308990478515625, 0.01358795166015625, -0.01435089111328125, -0.010009765625, 0.03533935546875, -0.0283203125, -0.055419921875, -0.032867431640625, -0.046173095703125, 0.02655029296875, -0.01763916015625, 0.036102294921875, -0.01104736328125, 0.0111846923828125, -0.0445556640625, 0.0313720703125, -0.0073089599609375, -0.00293731689453125, 0.038177490234375, -0.002391815185546875, 0.00894927978515625, -0.017791748046875, -0.01409912109375, -0.008453369140625, -0.03424072265625, -0.0239715576171875, 0.0396728515625, 0.044281005859375, -0.004421234130859375, 0.0131378173828125, -0.00531005859375, -0.04925537109375, 0.041412353515625, 0.01035308837890625, 0.00897216796875, -0.0204620361328125, -0.0021820068359375, -0.045745849609375, -0.083251953125, -0.0330810546875, -0.03948974609375, 0.009185791015625, 0.013519287109375, 0.032135009765625, 0.037933349609375, 0.0167388916015625, -0.0230255126953125, 0.0059356689453125, -0.0430908203125, -0.0266876220703125, 0.042724609375, -0.0204620361328125, -0.0201416015625, 0.0165252685546875, -0.0268402099609375, -0.01116943359375, 0.051727294921875, 0.01338958740234375, 0.0174560546875, -0.038787841796875, 0.031341552734375, -0.0132598876953125, -0.01194000244140625, -0.032440185546875, 0.0036525726318359375, 0.04083251953125, 0.0007295608520507812, -0.007843017578125, -0.0172271728515625, 0.0161590576171875, 0.004497528076171875, 0.023590087890625, -0.009033203125, 0.051422119140625, -0.0086669921875, 0.0703125, 0.034149169921875, -0.038818359375, 0.0975341796875, -0.03863525390625, -0.03985595703125, 0.0021877288818359375, 0.01345062255859375, -0.08837890625, -0.04180908203125, 0.054656982421875, -0.06439208984375, 0.01453399658203125, 0.01062774658203125, -0.010162353515625, 0.01251983642578125, 0.00714874267578125, -0.0278472900390625, -0.0298004150390625, 0.0109100341796875, -0.00902557373046875, -0.034912109375, 0.0097503662109375, 0.018585205078125, 0.003498077392578125, 0.0177459716796875, 0.01102447509765625, 0.0023345947265625, 0.00910186767578125, -0.00514984130859375, -0.034332275390625, 0.02252197265625, -0.0167388916015625, -0.0023899078369140625, -0.0026645660400390625, -0.0264892578125, -0.00852203369140625, 0.004817962646484375, -0.01336669921875, -0.03057861328125, -0.048553466796875, 0.0222015380859375, -0.0313720703125, -0.0182952880859375, -0.0032711029052734375, 0.00946807861328125, -0.02471923828125, -0.01253509521484375, -0.0204925537109375, 0.019744873046875, -0.031646728515625, 0.004726409912109375, 0.035430908203125, 0.021942138671875, -0.059814453125, -0.0601806640625, 0.035552978515625, -0.0272674560546875, 0.01502227783203125, 0.0013513565063476562, -0.0144500732421875, 0.007305145263671875, -0.03875732421875, -0.115966796875, 0.018829345703125, -0.014068603515625, -0.048187255859375, -0.037109375, 0.0186004638671875, 0.013458251953125, -0.0213470458984375, 0.0015573501586914062, -0.045257568359375, -0.0438232421875, -0.00008696317672729492, -0.005634307861328125, 0.045257568359375, -0.013641357421875, -0.004123687744140625, -0.059173583984375, 0.0003616809844970703, -0.03131103515625, -0.0005574226379394531, -0.01568603515625, 0.00841522216796875, 0.01873779296875, 0.033203125, -0.00988006591796875, 0.0288238525390625, 0.0101776123046875, -0.023284912109375, -0.024658203125, 0.0101470947265625, -0.0438232421875, 0.0021457672119140625, 0.059661865234375, 0.1116943359375, 0.026031494140625, -0.05572509765625, 0.018035888671875, -0.007099151611328125, 0.028533935546875, -0.030059814453125, -0.01275634765625, -0.037322998046875, -0.0394287109375, -0.01824951171875, 0.011260986328125, 0.0133209228515625, -0.0197906494140625, 0.01094818115234375, -0.0050811767578125, 0.0285186767578125, -0.0012302398681640625, -0.019439697265625, -0.00412750244140625, 0.0287628173828125, -0.03668212890625, -0.0205841064453125, -0.0163726806640625, 0.02655029296875, -0.0282135009765625, -0.029693603515625, -0.006076812744140625, 0.01192474365234375, 0.0296478271484375, -0.02740478515625, 0.043701171875, -0.047332763671875, 0.059173583984375, 0.0103607177734375, -0.01132965087890625, -0.0252227783203125, 0.011199951171875, -0.036529541015625, 0.00262451171875, -0.0210723876953125, -0.0218963623046875, 0.041046142578125, 0.0146636962890625, 0.038604736328125, -0.0023555755615234375, 0.032440185546875, -0.01160430908203125, -0.021728515625, 0.0207061767578125, -0.03387451171875, -0.006465911865234375, 0.004283905029296875, -0.0202178955078125, -0.043853759765625, -0.018768310546875, -0.049407958984375, 0.00531768798828125, 0.00048661231994628906 ]
8d3d2a809fdce83b1eac0595a6161beeb3512e1f
Wordpress Stackexchange Q: Adding custom fields to the header.php I want to add advanced custom fields/custom fields to my header.php as it contains text and phone numbers that we may change - I have tried referencing them but it didn't work. I have also Googled and not found a solution yet. I want to be able to edit the content of the fields from my home page, so I am thinking that might be what I am doing wrong? When I reference the advanced custom fields at the top of my header page in Adobe brackets, the colour of the code doesn't change so I am guessing it isn't allowed there. Would I set something up in functions.php ? EDIT: Adding code example - I have a few fields to add but obvs just need to get one right. As I mentioned, cannot add ref to ACF in the file as you normally do, it doesn't work the same. <div class="pull-right hidden-sm"> <h3>Recruitment: <a href="tel:<?php echo $recruitment_number_ctc; ?>"><?php echo $recruitment; ?></a></h3> A: Can you put the following code for displaying content of custom filed? <?php the_field('filed_name'); ?>
Q: Adding custom fields to the header.php I want to add advanced custom fields/custom fields to my header.php as it contains text and phone numbers that we may change - I have tried referencing them but it didn't work. I have also Googled and not found a solution yet. I want to be able to edit the content of the fields from my home page, so I am thinking that might be what I am doing wrong? When I reference the advanced custom fields at the top of my header page in Adobe brackets, the colour of the code doesn't change so I am guessing it isn't allowed there. Would I set something up in functions.php ? EDIT: Adding code example - I have a few fields to add but obvs just need to get one right. As I mentioned, cannot add ref to ACF in the file as you normally do, it doesn't work the same. <div class="pull-right hidden-sm"> <h3>Recruitment: <a href="tel:<?php echo $recruitment_number_ctc; ?>"><?php echo $recruitment; ?></a></h3> A: Can you put the following code for displaying content of custom filed? <?php the_field('filed_name'); ?>
wordpress
{ "language": "en", "length": 185, "provenance": "stackexchange_00019.jsonl.gz:475676", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265077" }
[ 0.05389404296875, 0.009857177734375, 0.0123138427734375, -0.055633544921875, 0.005649566650390625, -0.00727081298828125, 0.0003173351287841797, -0.01983642578125, -0.050750732421875, 0.0018529891967773438, -0.035888671875, 0.0269775390625, -0.063232421875, -0.0270538330078125, 0.03826904296875, -0.0684814453125, 0.0208740234375, -0.007419586181640625, 0.033416748046875, 0.0018301010131835938, 0.01107025146484375, 0.0068817138671875, 0.035614013671875, -0.0161895751953125, 0.0200042724609375, -0.04144287109375, 0.022064208984375, -0.0030269622802734375, 0.020050048828125, 0.0007257461547851562, 0.0244598388671875, -0.00795745849609375, 0.0206451416015625, 0.0400390625, -0.052703857421875, -0.0131683349609375, 0.040130615234375, -0.0201568603515625, -0.0229339599609375, 0.067626953125, 0.0285797119140625, -0.0024814605712890625, 0.021942138671875, 0.039703369140625, 0.006927490234375, -0.050201416015625, 0.044464111328125, -0.040618896484375, 0.00843048095703125, -0.01433563232421875, -0.0163421630859375, 0.004489898681640625, -0.0077362060546875, 0.00734710693359375, -0.016021728515625, -0.0231475830078125, -0.045166015625, 0.0245361328125, 0.0343017578125, 0.00022935867309570312, -0.015838623046875, -0.0364990234375, 0.0155029296875, -0.0232086181640625, -0.0262908935546875, 0.005985260009765625, -0.0098876953125, 0.0007419586181640625, -0.056640625, -0.050262451171875, 0.038116455078125, -0.04107666015625, 0.01178741455078125, -0.0200958251953125, -0.006938934326171875, -0.0261688232421875, 0.01303863525390625, -0.031951904296875, 0.006298065185546875, -0.0022754669189453125, -0.00722503662109375, 0.019744873046875, -0.01031494140625, -0.017730712890625, -0.003986358642578125, 0.00119781494140625, -0.021820068359375, -0.0187835693359375, 0.011749267578125, -0.0233612060546875, -0.00567626953125, -0.02001953125, -0.0087890625, 0.006855010986328125, -0.01806640625, -0.0255126953125, 0.00550079345703125, 0.0199127197265625, 0.01043701171875, 0.034698486328125, -0.0079345703125, -0.0233917236328125, 0.036285400390625, -0.034881591796875, 0.0033359527587890625, 0.037445068359375, -0.0262603759765625, -0.0164337158203125, 0.0205230712890625, 0.0222625732421875, -0.00392913818359375, -0.032318115234375, 0.0012464523315429688, 0.011260986328125, -0.040802001953125, 0.0008640289306640625, -0.01485443115234375, -0.0208282470703125, -0.0179595947265625, 0.020050048828125, 0.00926971435546875, 0.0089569091796875, 0.0188140869140625, -0.061431884765625, -0.01209259033203125, -0.05731201171875, -0.05535888671875, 0.0018854141235351562, 0.0133056640625, 0.02215576171875, -0.02679443359375, 0.007843017578125, 0.0234832763671875, 0.0194244384765625, 0.01058197021484375, -0.0099639892578125, -0.0004200935363769531, -0.0034122467041015625, -0.0018987655639648438, 0.002704620361328125, 0.0189361572265625, -0.0323486328125, -0.0204925537109375, 0.0085296630859375, -0.0302734375, -0.01861572265625, 0.007656097412109375, 0.04742431640625, -0.013397216796875, -0.0433349609375, 0.02459716796875, -0.002201080322265625, 0.044281005859375, 0.0249481201171875, -0.01387786865234375, 0.00858306884765625, 0.037322998046875, -0.0243072509765625, -0.0253753662109375, -0.027496337890625, 0.041229248046875, -0.040924072265625, -0.031402587890625, -0.06781005859375, -0.0745849609375, 0.027740478515625, -0.060943603515625, -0.0027923583984375, 0.031280517578125, -0.048919677734375, 0.044952392578125, -0.01010894775390625, 0.0154266357421875, 0.0255889892578125, 0.0279541015625, 0.0277099609375, 0.00804901123046875, 0.05755615234375, 0.02001953125, 0.0335693359375, -0.00531768798828125, -0.05084228515625, 0.05450439453125, -0.03692626953125, -0.08135986328125, 0.06280517578125, -0.007289886474609375, 0.0565185546875, 0.0215911865234375, -0.0022716522216796875, 0.03729248046875, 0.0098724365234375, 0.01233673095703125, -0.01534271240234375, -0.012725830078125, -0.01203155517578125, -0.0209808349609375, 0.004680633544921875, -0.0282135009765625, 0.0211639404296875, -0.04595947265625, -0.016876220703125, 0.015869140625, 0.0075531005859375, 0.0277099609375, -0.01496124267578125, 0.00011146068572998047, 0.0306854248046875, -0.004058837890625, -0.0156707763671875, 0.0162506103515625, -0.024261474609375, -0.006320953369140625, -0.025634765625, -0.0400390625, -0.006671905517578125, 0.0184783935546875, 0.03631591796875, 0.01285552978515625, 0.0186309814453125, 0.0294342041015625, -0.03216552734375, 0.01088714599609375, 0.02459716796875, 0.01122283935546875, -0.0015125274658203125, -0.0096893310546875, -0.0015506744384765625, 0.027130126953125, 0.0035648345947265625, 0.0185394287109375, 0.010894775390625, -0.01152801513671875, -0.00279998779296875, -0.031097412109375, 0.0009684562683105469, -0.00933837890625, -0.050018310546875, 0.0012769699096679688, 0.042633056640625, 0.05352783203125, -0.00537872314453125, 0.011627197265625, 0.0183868408203125, 0.10845947265625, 0.035186767578125, 0.0190582275390625, -0.0268402099609375, 0.012115478515625, 0.01070404052734375, 0.0017566680908203125, -0.01538848876953125, 0.047943115234375, -0.058502197265625, 0.0071868896484375, 0.0479736328125, -0.050323486328125, -0.07330322265625, -0.00826263427734375, -0.0009264945983886719, 0.03936767578125, -0.0682373046875, -0.046966552734375, -0.0095672607421875, 0.06439208984375, 0.006900787353515625, 0.0265350341796875, 0.0091552734375, -0.0518798828125, 0.0196380615234375, 0.0219268798828125, -0.00267791748046875, -0.0172576904296875, -0.0187530517578125, -0.0261688232421875, 0.031524658203125, -0.0301666259765625, 0.03228759765625, -0.0254669189453125, -0.0222625732421875, -0.0020084381103515625, 0.0258026123046875, -0.00988006591796875, 0.0099639892578125, -0.004016876220703125, -0.042694091796875, 0.01332855224609375, 0.0283203125, 0.0004780292510986328, -0.00237274169921875, 0.01242828369140625, 0.03509521484375, -0.0220489501953125, 0.03076171875, -0.00400543212890625, -0.004962921142578125, -0.0148162841796875, -0.042236328125, 0.04754638671875, -0.046234130859375, -0.01195526123046875, 0.058929443359375, -0.01910400390625, 0.00839996337890625, -0.0301361083984375, -0.0033969879150390625, -0.04083251953125, 0.0244293212890625, -0.006591796875, -0.08917236328125, 0.018341064453125, 0.0038967132568359375, 0.042236328125, 0.09002685546875, -0.0096588134765625, -0.038360595703125, 0.0009479522705078125, 0.06402587890625, -0.069580078125, -0.0889892578125, 0.02490234375, -0.03515625, -0.0122833251953125, -0.00568389892578125, -0.027069091796875, 0.0013446807861328125, -0.00037598609924316406, -0.006259918212890625, -0.005191802978515625, -0.01451873779296875, -0.0020465850830078125, -0.038726806640625, -0.055633544921875, -0.049774169921875, -0.00243377685546875, 0.0099945068359375, -0.008697509765625, 0.049468994140625, -0.00421142578125, -0.0208587646484375, -0.00704193115234375, -0.0284423828125, 0.002513885498046875, -0.00868988037109375, 0.0068359375, -0.0535888671875, 0.059844970703125, -0.005542755126953125, 0.00960540771484375, 0.020050048828125, 0.00885772705078125, -0.035430908203125, -0.03094482421875, 0.0029582977294921875, -0.04595947265625, 0.067626953125, 0.0623779296875, -0.0284576416015625, -0.0089263916015625, -0.061279296875, -0.00797271728515625, 0.01593017578125, -0.0027332305908203125, 0.026275634765625, -0.0256195068359375, -0.0131988525390625, -0.0095062255859375, 0.044769287109375, -0.016815185546875, -0.01258087158203125, -0.03619384765625, -0.032745361328125, 0.01465606689453125, 0.0222625732421875, 0.034393310546875, 0.048187255859375, 0.012237548828125, -0.0033054351806640625, 0.06768798828125, 0.024444580078125, 0.0228729248046875, -0.0248565673828125, 0.041839599609375, -0.073974609375, -0.142333984375, 0.041290283203125, -0.11260986328125, -0.049560546875, -0.055206298828125, 0.0146331787109375, 0.0338134765625, 0.1217041015625, -0.0511474609375, -0.027130126953125, 0.0025653839111328125, 0.0280914306640625, -0.0300140380859375, -0.01611328125, -0.004329681396484375, -0.01157379150390625, -0.068359375, 0.020965576171875, 0.00030350685119628906, -0.00714874267578125, -0.034912109375, 0.079345703125, -0.035736083984375, -0.021728515625, 0.0282745361328125, 0.00579833984375, -0.01287078857421875, 0.0462646484375, -0.020416259765625, 0.0258026123046875, 0.0012731552124023438, -0.006191253662109375, -0.0828857421875, -0.026763916015625, -0.01371002197265625, 0.05419921875, 0.01517486572265625, -0.024383544921875, -0.0201568603515625, 0.04718017578125, 0.019256591796875, 0.027374267578125, 0.0027446746826171875, -0.016204833984375, 0.026275634765625, -0.0023441314697265625, 0.006298065185546875, -0.0175933837890625, -0.01030731201171875, -0.004978179931640625, -0.0043792724609375, 0.055908203125, -0.0196075439453125, 0.0063629150390625, -0.00017571449279785156, -0.0305328369140625, 0.0015459060668945312, 0.0065155029296875, -0.014434814453125, 0.01462554931640625, -0.01776123046875, 0.000812530517578125, 0.0071868896484375, -0.01084136962890625, 0.012969970703125, 0.00008088350296020508, -0.0094146728515625, 0.01739501953125, 0.035125732421875, 0.0252685546875, -0.00832366943359375, -0.037200927734375, 0.016754150390625, 0.04302978515625, -0.0207366943359375, 0.03765869140625, 0.019561767578125, -0.0408935546875, 0.09356689453125, -0.011260986328125, 0.035064697265625, -0.01105499267578125, 0.01453399658203125, 0.02459716796875, -0.0015735626220703125, 0.0115814208984375, 0.041015625, -0.012542724609375, 0.018890380859375, -0.0101470947265625, -0.026275634765625, 0.0174102783203125, 0.038238525390625, -0.035675048828125, 0.045501708984375, -0.028472900390625, -0.01934814453125, -0.0027256011962890625, -0.0044708251953125, 0.0179595947265625, 0.028656005859375, -0.009185791015625, -0.0087890625, -0.01305389404296875, 0.03240966796875, -0.04168701171875, -0.018890380859375, -0.037872314453125, 0.0241241455078125, 0.002197265625, 0.0123443603515625, -0.0025844573974609375, -0.0160369873046875, 0.11395263671875, -0.0003886222839355469, -0.060394287109375, 0.00643157958984375, -0.035552978515625, 0.025177001953125, 0.00588226318359375, 0.03338623046875, 0.019256591796875, 0.03289794921875, 0.02850341796875, 0.024658203125, 0.009979248046875, 0.040435791015625, -0.011016845703125, -0.001491546630859375, 0.042755126953125, -0.042510986328125, -0.032958984375, 0.023681640625, 0.048828125, -0.032196044921875, -0.0250701904296875, 0.0472412109375, 0.04718017578125, -0.0035572052001953125, 0.006359100341796875, 0.032379150390625, -0.0052642822265625, -0.0296173095703125, -0.0003383159637451172, -0.01515960693359375, 0.0251007080078125, -0.027618408203125, 0.04205322265625, 0.006072998046875, -0.0216827392578125, 0.033111572265625, -0.06610107421875, 0.0019702911376953125, 0.012725830078125, 0.0052337646484375, -0.023712158203125, 0.006992340087890625, 0.0193023681640625, -0.00815582275390625, -0.004669189453125, -0.009246826171875, 0.033935546875, -0.05963134765625, 0.00965118408203125, -0.0107879638671875, 0.026824951171875, -0.04632568359375, -0.046234130859375, -0.0286102294921875, -0.0253143310546875, 0.0186614990234375, -0.053436279296875, -0.02734375, -0.006832122802734375, -0.0102691650390625, 0.0230865478515625, -0.00420379638671875, 0.03472900390625, -0.03302001953125, -0.014862060546875, -0.00634002685546875, -0.01235198974609375, 0.04827880859375, 0.01861572265625, -0.048553466796875, -0.0110321044921875, -0.0211029052734375, -0.014373779296875, -0.03436279296875, -0.04241943359375, -0.0193023681640625, -0.009796142578125, 0.00865936279296875, 0.019439697265625, -0.0245513916015625, -0.06048583984375, -0.0296173095703125, 0.0078582763671875, 0.034820556640625, 0.03485107421875, 0.0085296630859375, 0.02130126953125, 0.026458740234375, 0.050018310546875, 0.04443359375, 0.0321044921875, -0.0018253326416015625, -0.05474853515625, 0.0111083984375, -0.042022705078125, -0.02996826171875, -0.0148773193359375, -0.020263671875, 0.016143798828125, 0.014495849609375, -0.00787353515625, 0.0011243820190429688, -0.0232086181640625, 0.007427215576171875, -0.0249481201171875, 0.0225677490234375, -0.038421630859375, -0.047882080078125, 0.0153045654296875, -0.019989013671875, 0.0111236572265625, 0.003086090087890625, -0.0164031982421875, 0.045654296875, -0.006061553955078125, 0.043060302734375, -0.0084686279296875, -0.05743408203125, 0.0521240234375, 0.05804443359375, -0.01145172119140625, 0.023681640625, -0.0008664131164550781, -0.0086822509765625, 0.00762176513671875, 0.03302001953125, -0.00701904296875, -0.02130126953125, 0.06280517578125, 0.004596710205078125, -0.055419921875, 0.0237274169921875, -0.03997802734375, 0.0117034912109375, 0.04840087890625, 0.03582763671875, -0.0838623046875, 0.007297515869140625, -0.02947998046875, -0.0028553009033203125, 0.07177734375, 0.01047515869140625, -0.0147552490234375, -0.01226806640625, -0.003383636474609375, 0.0241546630859375, -0.0160980224609375, 0.007114410400390625, 0.0280609130859375, -0.0203704833984375, -0.002452850341796875, -0.01221466064453125, -0.00829315185546875, 0.0026226043701171875, -0.0187530517578125, -0.010467529296875, -0.010833740234375, 0.006244659423828125, -0.0034027099609375, 0.0087890625, -0.04144287109375, -0.0281524658203125, -0.0022716522216796875, -0.0284576416015625, -0.021209716796875, 0.0226287841796875, 0.0093841552734375, 0.0511474609375, 0.031402587890625, 0.004901885986328125, 0.01236724853515625, -0.00891876220703125, 0.05218505859375, -0.0019626617431640625, -0.04779052734375, 0.001617431640625, 0.0059356689453125, -0.048004150390625, 0.0172119140625, -0.00183868408203125, -0.045806884765625, -0.0104827880859375, 0.0267791748046875, 0.07794189453125, -0.00925445556640625, -0.05560302734375, 0.0199737548828125, 0.0134429931640625, -0.00567626953125, 0.011016845703125, 0.0252532958984375, -0.030029296875, 0.005084991455078125, 0.0123291015625, -0.0229034423828125, 0.01012420654296875, 0.0176849365234375, -0.0400390625, 0.0872802734375, -0.00982666015625, 0.01215362548828125, 0.0318603515625, 0.0318603515625, -0.042694091796875, 0.0157012939453125, -0.0170440673828125, 0.03656005859375, 0.0171356201171875, 0.00916290283203125, -0.0667724609375, -0.03607177734375, -0.0282745361328125, 0.073974609375, 0.03125, 0.01036834716796875, 0.0099334716796875, 0.0021228790283203125, 0.042388916015625, 0.0120391845703125, -0.0268402099609375, 0.0032176971435546875, -0.00902557373046875, -0.00533294677734375, -0.014129638671875, -0.01445770263671875, 0.00867462158203125, -0.003337860107421875, -0.040985107421875, 0.032135009765625, 0.0261077880859375, 0.017974853515625, -0.00899505615234375, -0.0101165771484375, -0.058074951171875, -0.0017852783203125, 0.042327880859375, 0.00867462158203125, -0.001819610595703125, 0.05682373046875, 0.025970458984375, 0.0221099853515625, 0.018463134765625, -0.036163330078125, 0.05450439453125, 0.027618408203125, 0.07086181640625, 0.036834716796875, 0.0280303955078125, 0.08416748046875, -0.031890869140625, 0.036651611328125, 0.004283905029296875, -0.03424072265625, 0.0145111083984375, 0.017486572265625, -0.0026721954345703125, -0.030609130859375, 0.01190948486328125, 0.032379150390625, 0.034454345703125, -0.03546142578125, -0.025848388671875, 0.01029205322265625, 0.0158233642578125, 0.03369140625, -0.0191650390625, 0.02923583984375, -0.0136260986328125, 0.00408935546875, -0.0576171875, 0.0159149169921875, 0.040374755859375, 0.00557708740234375, -0.00591278076171875, 0.00823211669921875, -0.03057861328125, 0.007015228271484375, -0.0489501953125, 0.006572723388671875, 0.018310546875, 0.036346435546875, 0.02398681640625, 0.04437255859375, 0.031707763671875, -0.017425537109375, -0.008544921875, 0.02410888671875, 0.0135955810546875, 0.00859832763671875, -0.0284576416015625, -0.02392578125, 0.0021228790283203125, 0.033416748046875, -0.0216064453125, 0.01071929931640625, 0.027496337890625, 0.0226898193359375, -0.037841796875, -0.0290985107421875, -0.0017385482788085938, -0.042877197265625, -0.0016193389892578125, -0.05218505859375, 0.0016927719116210938, 0.01812744140625, -0.0035800933837890625, 0.030853271484375, -0.0501708984375, 0.064697265625, 0.004482269287109375, 0.032501220703125, 0.0011034011840820312, -0.0242462158203125, -0.00504302978515625, -0.028594970703125, 0.046295166015625, 0.0150909423828125, -0.066650390625, -0.0011796951293945312, -0.053863525390625, -0.0784912109375, 0.05206298828125, 0.053192138671875, -0.01116180419921875, 0.00014197826385498047, 0.038818359375, -0.004016876220703125, 0.0003197193145751953, -0.01202392578125, 0.0193023681640625, 0.017364501953125, 0.017333984375, 0.0291290283203125, -0.0228729248046875, -0.00927734375, 0.032196044921875, 0.0177459716796875, 0.0024089813232421875, 0.015838623046875, 0.018463134765625, 0.00266265869140625, -0.01397705078125, -0.0033588409423828125, 0.01480865478515625, -0.0046844482421875, 0.03521728515625, 0.05401611328125, -0.00875091552734375, -0.0350341796875, -0.0225982666015625, 0.037200927734375, 0.0026988983154296875, -0.021575927734375, 0.02618408203125, -0.02435302734375, 0.01209259033203125, -0.0030612945556640625, 0.0113983154296875, -0.036529541015625, -0.024017333984375, -0.027801513671875, -0.021148681640625, 0.006988525390625, -0.00627899169921875, 0.0118560791015625, 0.056610107421875, 0.04412841796875, 0.0078277587890625, 0.0291748046875, -0.0430908203125, 0.07952880859375, 0.0518798828125, -0.0034961700439453125, -0.0289306640625, 0.022613525390625, -0.00858306884765625, 0.0263824462890625, 0.003200531005859375, 0.041229248046875, 0.022613525390625, -0.02288818359375, 0.0113067626953125, 0.03900146484375, 0.04180908203125, -0.01198577880859375, 0.007251739501953125, 0.019927978515625, -0.0255126953125, 0.035980224609375, -0.060333251953125, -0.047821044921875, -0.054962158203125, 0.014312744140625, 0.044525146484375, -0.0235595703125, -0.004833221435546875, -0.06561279296875, 0.00479888916015625, 0.0291748046875, -0.01348114013671875, -0.02587890625, -0.0019989013671875, -0.0245208740234375, 0.05682373046875, -0.0130462646484375, 0.0256195068359375, 0.0007066726684570312, 0.048004150390625, -0.01496124267578125, 0.01085662841796875, -0.005336761474609375, 0.0127105712890625, 0.0204925537109375, 0.01371002197265625, 0.048675537109375, -0.006412506103515625, 0.01326751708984375, -0.00926971435546875, -0.0024204254150390625, 0.041778564453125, -0.0179443359375, -0.023956298828125, 0.014678955078125, -0.01849365234375, -0.01268768310546875, -0.04132080078125, 0.020660400390625, -0.04400634765625, -0.0258941650390625, -0.051025390625, 0.03045654296875, 0.0294036865234375, -0.0301055908203125, -0.0517578125, 0.06207275390625, -0.0242767333984375, -0.01522064208984375, -0.047119140625, -0.0175933837890625, -0.006397247314453125, 0.017486572265625, -0.0128173828125, -0.042083740234375, -0.043670654296875, 0.033294677734375, 0.01073455810546875, 0.0190582275390625, 0.006336212158203125, 0.0137481689453125, -0.06256103515625, 0.02569580078125, 0.0030002593994140625, 0.0169677734375, 0.00991058349609375, -0.0361328125, 0.0165863037109375, 0.02239990234375, -0.059326171875, -0.056732177734375, 0.0048065185546875, 0.017608642578125, -0.00031638145446777344, -0.051849365234375, -0.032135009765625, -0.040191650390625, 0.044921875, 0.0190277099609375, 0.006755828857421875, 0.00574493408203125, 0.0240020751953125, 0.037689208984375, 0.0113067626953125, 0.0015707015991210938, -0.01470184326171875, 0.00553131103515625, -0.0150146484375, -0.034454345703125, -0.018524169921875, -0.00644683837890625, 0.021087646484375, -0.0335693359375, 0.0009021759033203125, 0.03179931640625, -0.0172271728515625, -0.0279083251953125, 0.0179443359375, 0.0704345703125, -0.05438232421875, -0.02484130859375, 0.0023822784423828125, 0.004756927490234375, 0.0135650634765625, -0.0267486572265625, -0.01432037353515625, -0.04034423828125, -0.0158538818359375, 0.03582763671875, -0.0276641845703125, 0.05029296875, -0.045379638671875, -0.01387786865234375, -0.01178741455078125, 0.0179901123046875, -0.0119171142578125, 0.0082855224609375, -0.010589599609375, 0.048736572265625, -0.0068206787109375, 0.07318115234375, -0.0021114349365234375, -0.048553466796875, -0.025054931640625, 0.02056884765625, 0.0193328857421875, -0.00592803955078125, 0.041229248046875, -0.0249481201171875, -0.0094451904296875, 0.007160186767578125, -0.040252685546875, -0.037078857421875, 0.00966644287109375, 0.022735595703125, -0.003170013427734375, 0.0123291015625 ]
5c00b159f02be57eb27dc1788f1bba8c72f92761
Wordpress Stackexchange Q: Get attachment from post I would like to get the attachment from a post. I want to display a button below each of my post with a link to download them. They will be PDF. How can I do that ? Thank you A: You can use ACF(Advance Custom Filed) for this please read document for this https://www.advancedcustomfields.com/
Q: Get attachment from post I would like to get the attachment from a post. I want to display a button below each of my post with a link to download them. They will be PDF. How can I do that ? Thank you A: You can use ACF(Advance Custom Filed) for this please read document for this https://www.advancedcustomfields.com/
wordpress
{ "language": "en", "length": 59, "provenance": "stackexchange_00019.jsonl.gz:475677", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265082" }
[ 0.046356201171875, -0.0168609619140625, -0.007236480712890625, -0.01226806640625, -0.007350921630859375, -0.041900634765625, 0.023101806640625, -0.015899658203125, 0.011199951171875, 0.030792236328125, 0.00653839111328125, 0.031707763671875, -0.00876617431640625, -0.0286712646484375, -0.0232696533203125, 0.0094451904296875, 0.04669189453125, 0.0186767578125, 0.083740234375, 0.0231781005859375, -0.0142364501953125, 0.057769775390625, 0.052215576171875, 0.00817108154296875, 0.004489898681640625, 0.043853759765625, 0.053985595703125, 0.0238189697265625, -0.003269195556640625, 0.01010894775390625, 0.01849365234375, -0.0557861328125, 0.0169525146484375, -0.00835418701171875, -0.00982666015625, -0.04168701171875, -0.0128631591796875, -0.00012433528900146484, -0.0218658447265625, 0.0214996337890625, -0.00396728515625, 0.015228271484375, -0.019317626953125, 0.0289764404296875, -0.051025390625, 0.01047515869140625, -0.026947021484375, -0.0272979736328125, 0.0391845703125, 0.0286102294921875, -0.0022792816162109375, 0.0264892578125, -0.01500701904296875, 0.02685546875, -0.0188751220703125, -0.01102447509765625, 0.01446533203125, 0.045623779296875, 0.0443115234375, -0.08148193359375, -0.0718994140625, 0.005695343017578125, 0.03314208984375, 0.0178680419921875, -0.00208282470703125, 0.002109527587890625, 0.017181396484375, 0.00475311279296875, -0.0362548828125, -0.004817962646484375, 0.040679931640625, -0.03271484375, -0.0080108642578125, -0.0113677978515625, 0.005542755126953125, -0.023956298828125, 0.00102996826171875, -0.03143310546875, 0.00788116455078125, 0.0142822265625, -0.0177764892578125, 0.0198211669921875, -0.0535888671875, -0.0041351318359375, -0.0120086669921875, 0.00212860107421875, -0.023651123046875, -0.01910400390625, -0.0130767822265625, -0.046356201171875, -0.0174713134765625, -0.00899505615234375, -0.0170440673828125, -0.00010609626770019531, -0.05157470703125, -0.0207061767578125, 0.0248565673828125, -0.0149993896484375, 0.01494598388671875, 0.020660400390625, -0.00930023193359375, -0.03179931640625, 0.03192138671875, -0.010528564453125, -0.01049041748046875, -0.012176513671875, 0.00972747802734375, 0.00811004638671875, 0.0271453857421875, 0.01425933837890625, -0.031646728515625, 0.031494140625, 0.00782012939453125, -0.00616455078125, -0.005077362060546875, 0.00820159912109375, -0.01122283935546875, 0.021240234375, 0.005199432373046875, 0.01824951171875, -0.0026340484619140625, -0.006870269775390625, 0.0160980224609375, -0.004901885986328125, -0.0081024169921875, -0.001415252685546875, -0.01200103759765625, -0.027191162109375, 0.01374053955078125, 0.043731689453125, -0.01690673828125, -0.0106964111328125, -0.006374359130859375, 0.0087432861328125, 0.0010499954223632812, -0.02886962890625, -0.043975830078125, -0.0297393798828125, -0.0015573501586914062, 0.00809478759765625, 0.0266876220703125, -0.047760009765625, -0.003269195556640625, 0.032318115234375, -0.04443359375, -0.00412750244140625, 0.01177215576171875, 0.042388916015625, -0.0294036865234375, -0.05401611328125, 0.0230865478515625, -0.012969970703125, 0.018035888671875, 0.00429534912109375, 0.005779266357421875, -0.02862548828125, 0.0298919677734375, -0.024627685546875, 0.024078369140625, -0.042266845703125, 0.0679931640625, 0.032318115234375, 0.010498046875, 0.052581787109375, 0.01061248779296875, -0.0289154052734375, -0.030975341796875, -0.00937652587890625, 0.0282745361328125, 0.01947021484375, 0.0294952392578125, -0.0430908203125, 0.0114288330078125, 0.00762939453125, -0.01702880859375, 0.01549530029296875, 0.0010042190551757812, -0.0269622802734375, 0.0212860107421875, 0.040069580078125, -0.0025177001953125, -0.005443572998046875, 0.0098114013671875, -0.005767822265625, -0.02471923828125, 0.0204315185546875, 0.004337310791015625, 0.033294677734375, 0.020263671875, 0.0182037353515625, -0.0157470703125, 0.00205230712890625, -0.0114288330078125, 0.03668212890625, -0.0292816162109375, -0.0217742919921875, -0.0153961181640625, 0.01947021484375, -0.0306396484375, -0.00787353515625, -0.050872802734375, -0.003215789794921875, 0.005908966064453125, 0.035369873046875, 0.061370849609375, -0.0180206298828125, 0.0269927978515625, 0.00734710693359375, -0.02587890625, 0.022552490234375, 0.0241851806640625, 0.0200958251953125, -0.009521484375, -0.056793212890625, 0.0019989013671875, 0.03631591796875, 0.0004627704620361328, -0.04937744140625, -0.01451873779296875, 0.005023956298828125, -0.05523681640625, 0.0295257568359375, -0.07440185546875, 0.00659942626953125, 0.039581298828125, -0.03759765625, 0.016448974609375, -0.0235137939453125, 0.033203125, -0.0028476715087890625, -0.026458740234375, 0.0134735107421875, -0.00946044921875, -0.016754150390625, -0.032440185546875, 0.01116943359375, -0.0257568359375, -0.0260009765625, -0.0010023117065429688, 0.04901123046875, 0.0274810791015625, 0.00789642333984375, -0.0182647705078125, 0.0178985595703125, 0.0810546875, 0.0197906494140625, 0.0003685951232910156, 0.0142669677734375, -0.01061248779296875, 0.0196685791015625, 0.015350341796875, 0.026214599609375, 0.01451873779296875, -0.007755279541015625, 0.021209716796875, 0.044281005859375, 0.027587890625, 0.03826904296875, -0.044769287109375, 0.0469970703125, -0.0205230712890625, 0.018463134765625, -0.0033855438232421875, -0.0182952880859375, -0.008819580078125, 0.02996826171875, 0.04296875, 0.044281005859375, -0.030181884765625, -0.01297760009765625, 0.01378631591796875, 0.0775146484375, 0.0117645263671875, 0.047607421875, 0.0116119384765625, 0.00873565673828125, -0.01485443115234375, -0.035125732421875, 0.01244354248046875, 0.02227783203125, -0.00484466552734375, 0.0034027099609375, -0.0202484130859375, -0.0092010498046875, 0.0182952880859375, -0.02069091796875, 0.0079803466796875, 0.0027065277099609375, -0.031829833984375, 0.015350341796875, 0.02099609375, 0.028961181640625, -0.0022869110107421875, 0.0018701553344726562, 0.009765625, 0.0032863616943359375, -0.033843994140625, -0.05670166015625, 0.058197021484375, -0.042694091796875, 0.033172607421875, 0.0772705078125, 0.008392333984375, 0.0260009765625, -0.0095977783203125, -0.0024871826171875, 0.00818634033203125, 0.005657196044921875, -0.00531005859375, -0.044677734375, -0.019775390625, -0.004215240478515625, 0.013702392578125, 0.0648193359375, -0.0682373046875, -0.06439208984375, -0.048614501953125, 0.0060577392578125, -0.14794921875, -0.092529296875, 0.0272979736328125, -0.09674072265625, 0.01435089111328125, -0.0130157470703125, -0.04327392578125, -0.0253143310546875, 0.047271728515625, 0.005100250244140625, -0.029388427734375, -0.004848480224609375, -0.01174163818359375, -0.0107574462890625, -0.035247802734375, 0.00614166259765625, -0.00473785400390625, 0.0168304443359375, -0.00926971435546875, 0.0516357421875, -0.00888824462890625, -0.045166015625, -0.0185394287109375, 0.01126861572265625, 0.0034999847412109375, 0.0014371871948242188, -0.006053924560546875, -0.029754638671875, 0.0109710693359375, -0.0032558441162109375, 0.06298828125, 0.00672149658203125, -0.00449371337890625, 0.0009183883666992188, -0.0245208740234375, 0.003223419189453125, -0.014801025390625, 0.0010519027709960938, 0.01219940185546875, 0.001537322998046875, -0.01500701904296875, -0.059173583984375, 0.006244659423828125, 0.0093841552734375, -0.0181427001953125, -0.0204315185546875, -0.00850677490234375, -0.0125732421875, -0.0023479461669921875, 0.004276275634765625, 0.0031261444091796875, -0.00638580322265625, 0.00652313232421875, -0.0131988525390625, 0.023956298828125, -0.0014104843139648438, 0.0183258056640625, 0.002399444580078125, -0.0165557861328125, -0.0246124267578125, 0.05938720703125, -0.0032787322998046875, 0.01812744140625, -0.005207061767578125, 0.0364990234375, -0.001232147216796875, -0.080078125, 0.0478515625, -0.064453125, -0.028900146484375, -0.0440673828125, -0.022216796875, 0.0111541748046875, 0.10968017578125, 0.006633758544921875, 0.0009355545043945312, -0.033355712890625, -0.01538848876953125, 0.004573822021484375, -0.0438232421875, -0.0258636474609375, 0.01070404052734375, -0.035430908203125, -0.0175018310546875, -0.0252227783203125, -0.0030040740966796875, -0.0187835693359375, 0.0413818359375, -0.01222991943359375, -0.0208892822265625, 0.04412841796875, -0.01287841796875, 0.01393890380859375, 0.007904052734375, -0.005779266357421875, 0.01026153564453125, -0.0413818359375, 0.00354766845703125, -0.042266845703125, -0.0129547119140625, 0.0216827392578125, 0.022064208984375, 0.0037937164306640625, -0.0162200927734375, 0.01044464111328125, 0.042083740234375, 0.0129241943359375, 0.0092315673828125, 0.0038318634033203125, -0.0030460357666015625, 0.01453399658203125, -0.026336669921875, -0.00983428955078125, -0.0306243896484375, 0.009521484375, -0.048248291015625, -0.04193115234375, -0.04296875, -0.043243408203125, -0.0009174346923828125, -0.016448974609375, -0.0110321044921875, -0.029541015625, -0.001880645751953125, 0.019317626953125, 0.03289794921875, -0.0211944580078125, 0.02386474609375, -0.00186920166015625, -0.0313720703125, 0.0163421630859375, 0.0377197265625, -0.034332275390625, 0.00818634033203125, 0.02471923828125, 0.007694244384765625, -0.020904541015625, -0.07684326171875, -0.01007080078125, 0.0285797119140625, -0.013275146484375, 0.045989990234375, 0.03753662109375, -0.024993896484375, 0.046661376953125, 0.0096893310546875, 0.029571533203125, -0.0743408203125, 0.0855712890625, -0.0184783935546875, 0.01067352294921875, 0.029388427734375, -0.0203094482421875, 0.0286102294921875, -0.0107421875, -0.0233154296875, 0.00901031494140625, 0.01116943359375, 0.02825927734375, -0.027679443359375, 0.0379638671875, -0.009307861328125, -0.0284271240234375, 0.007778167724609375, -0.01611328125, 0.02825927734375, 0.0240631103515625, -0.006072998046875, 0.031341552734375, 0.035552978515625, -0.004062652587890625, -0.036590576171875, 0.00592041015625, -0.0091705322265625, 0.032196044921875, -0.01209259033203125, -0.005008697509765625, -0.027618408203125, -0.0027599334716796875, 0.0340576171875, -0.0107269287109375, -0.057952880859375, -0.0183868408203125, -0.0026569366455078125, -0.0015134811401367188, 0.03863525390625, -0.034881591796875, 0.0303497314453125, 0.023529052734375, -0.0161285400390625, 0.0016841888427734375, -0.01100921630859375, -0.0280303955078125, -0.0482177734375, 0.00571441650390625, 0.005901336669921875, -0.00521087646484375, 0.05413818359375, 0.04510498046875, -0.0123138427734375, 0.03466796875, -0.0286102294921875, 0.040130615234375, 0.03338623046875, -0.0178985595703125, 0.0159454345703125, 0.046478271484375, 0.0068359375, -0.058746337890625, 0.00597381591796875, -0.035552978515625, 0.006435394287109375, -0.027557373046875, 0.0584716796875, -0.0220184326171875, -0.0321044921875, 0.07366943359375, -0.04571533203125, -0.03485107421875, 0.031341552734375, 0.06439208984375, -0.00965118408203125, -0.0079345703125, 0.00006198883056640625, -0.0096282958984375, 0.036651611328125, 0.0030307769775390625, 0.034637451171875, 0.03509521484375, 0.047576904296875, -0.0080413818359375, -0.02606201171875, 0.015869140625, 0.027191162109375, -0.00458526611328125, -0.0164642333984375, -0.02874755859375, 0.007320404052734375, -0.031341552734375, -0.004192352294921875, 0.0041961669921875, 0.05511474609375, 0.00888824462890625, 0.0037822723388671875, -0.037841796875, 0.01120758056640625, -0.041015625, -0.01399993896484375, 0.05731201171875, -0.0007843971252441406, -0.03302001953125, 0.0035247802734375, -0.051025390625, -0.0173797607421875, -0.00754547119140625, -0.030975341796875, -0.055389404296875, -0.0304107666015625, 0.01971435546875, 0.0474853515625, 0.001178741455078125, -0.0321044921875, 0.012664794921875, -0.00885772705078125, 0.01194000244140625, 0.0421142578125, 0.0433349609375, 0.0526123046875, -0.00988006591796875, 0.060302734375, 0.03912353515625, 0.004322052001953125, -0.07684326171875, -0.0195770263671875, -0.01430511474609375, -0.049530029296875, 0.0160064697265625, 0.048095703125, 0.0015697479248046875, -0.04638671875, -0.0704345703125, 0.0245361328125, -0.02691650390625, -0.0188446044921875, 0.004425048828125, -0.0217437744140625, 0.0601806640625, 0.0010128021240234375, -0.035552978515625, -0.00848388671875, -0.0283050537109375, 0.00580596923828125, 0.01049041748046875, 0.0135955810546875, 0.0014982223510742188, -0.0166778564453125, -0.0030002593994140625, 0.0232086181640625, 0.0023937225341796875, 0.006076812744140625, 0.05615234375, 0.01486968994140625, 0.0187225341796875, 0.0228118896484375, -0.00460052490234375, -0.0355224609375, 0.053253173828125, -0.036529541015625, -0.06689453125, 0.047119140625, 0.02984619140625, -0.049041748046875, 0.0328369140625, -0.03460693359375, 0.039459228515625, -0.003032684326171875, 0.043731689453125, -0.042388916015625, 0.036346435546875, 0.0071563720703125, -0.0291900634765625, 0.037445068359375, -0.00765228271484375, -0.01263427734375, -0.041778564453125, 0.0299224853515625, 0.010009765625, -0.0097503662109375, 0.0016965866088867188, -0.00994873046875, 0.007537841796875, -0.0175323486328125, 0.035675048828125, -0.01168060302734375, -0.076904296875, -0.0103302001953125, 0.04193115234375, -0.0257110595703125, -0.04608154296875, -0.01074981689453125, -0.0011110305786132812, -0.0217742919921875, -0.055450439453125, 0.017303466796875, -0.0203857421875, 0.033203125, -0.01497650146484375, 0.0036830902099609375, 0.0152587890625, 0.0380859375, -0.0094146728515625, 0.006134033203125, 0.01428985595703125, -0.0162200927734375, -0.0229339599609375, -0.043243408203125, -0.01032257080078125, 0.051422119140625, -0.03448486328125, 0.0298919677734375, -0.005157470703125, -0.0209197998046875, -0.0260467529296875, -0.00096893310546875, 0.10638427734375, -0.0231781005859375, -0.0250396728515625, 0.026336669921875, 0.046630859375, -0.0185089111328125, 0.00293731689453125, 0.0140533447265625, -0.0133514404296875, 0.055145263671875, 0.00022733211517333984, 0.042022705078125, -0.02264404296875, -0.0083770751953125, -0.061370849609375, 0.043212890625, -0.004150390625, 0.037689208984375, 0.0003952980041503906, 0.0007791519165039062, -0.01433563232421875, -0.01335906982421875, -0.042816162109375, 0.0592041015625, 0.0418701171875, -0.0003101825714111328, -0.0743408203125, -0.029754638671875, -0.0276641845703125, 0.058807373046875, 0.03765869140625, 0.006954193115234375, -0.0193634033203125, -0.00864410400390625, 0.048553466796875, 0.08795166015625, 0.02960205078125, -0.005001068115234375, 0.0458984375, 0.0212860107421875, 0.04290771484375, -0.033935546875, 0.026397705078125, -0.03173828125, 0.033294677734375, 0.063720703125, 0.0188140869140625, 0.02362060546875, 0.0294342041015625, 0.0091400146484375, -0.033599853515625, 0.020111083984375, 0.036773681640625, -0.0192413330078125, 0.00954437255859375, 0.055694580078125, 0.07757568359375, -0.032989501953125, 0.02178955078125, -0.03521728515625, 0.06646728515625, 0.0302581787109375, 0.0243377685546875, 0.04876708984375, 0.0282745361328125, 0.024078369140625, -0.025848388671875, 0.017669677734375, -0.01038360595703125, -0.0184783935546875, -0.01092529296875, -0.036163330078125, 0.01329803466796875, -0.0655517578125, -0.03253173828125, 0.0389404296875, 0.0029659271240234375, 0.001911163330078125, 0.0194091796875, 0.029815673828125, 0.01493072509765625, -0.0189971923828125, -0.0240020751953125, 0.00576019287109375, 0.0038204193115234375, 0.01393890380859375, -0.0479736328125, 0.006336212158203125, 0.00952911376953125, 0.046234130859375, -0.0019521713256835938, -0.02764892578125, -0.053497314453125, -0.0253753662109375, 0.008148193359375, -0.017669677734375, 0.01284027099609375, -0.00878143310546875, 0.01134490966796875, 0.013031005859375, 0.0201263427734375, 0.0146026611328125, -0.0022735595703125, 0.0004336833953857422, 0.01029205322265625, 0.0080718994140625, 0.00841522216796875, -0.0011959075927734375, 0.01343536376953125, 0.0165557861328125, 0.02532958984375, -0.0123748779296875, 0.02020263671875, 0.02203369140625, -0.0093231201171875, -0.005870819091796875, 0.0018472671508789062, -0.0162353515625, 0.04083251953125, -0.06768798828125, 0.0266876220703125, 0.00527191162109375, -0.01495361328125, -0.000013113021850585938, -0.0826416015625, 0.092529296875, -0.022613525390625, 0.059356689453125, 0.0016241073608398438, 0.0161590576171875, 0.049652099609375, -0.01268768310546875, 0.0104522705078125, 0.003627777099609375, -0.097900390625, 0.0025844573974609375, -0.0631103515625, -0.0723876953125, 0.03997802734375, 0.043426513671875, -0.031463623046875, 0.0092620849609375, -0.0209197998046875, -0.0008416175842285156, 0.018341064453125, -0.026123046875, 0.00978851318359375, 0.0372314453125, 0.01331329345703125, 0.01023101806640625, -0.08087158203125, -0.047760009765625, -0.024627685546875, 0.027801513671875, 0.02117919921875, 0.045989990234375, 0.0280914306640625, 0.0224151611328125, -0.0255889892578125, 0.046875, -0.05523681640625, -0.00670623779296875, 0.0267791748046875, 0.024871826171875, -0.0005168914794921875, -0.02191162109375, 0.008453369140625, 0.00942230224609375, 0.0205535888671875, -0.046539306640625, -0.0203857421875, -0.01910400390625, 0.019866943359375, -0.0081787109375, 0.0274505615234375, -0.0123443603515625, -0.01142120361328125, -0.0132293701171875, -0.0189361572265625, 0.036041259765625, 0.047821044921875, 0.0297698974609375, 0.0025634765625, 0.04058837890625, 0.0168304443359375, 0.028472900390625, 0.027130126953125, 0.066162109375, 0.042083740234375, -0.049102783203125, 0.004730224609375, -0.00046706199645996094, -0.01727294921875, 0.04815673828125, -0.021392822265625, 0.036224365234375, 0.0169219970703125, 0.01497650146484375, -0.04022216796875, 0.0166778564453125, 0.0498046875, 0.0266876220703125, 0.02325439453125, -0.042999267578125, -0.0092315673828125, -0.01277923583984375, -0.008575439453125, -0.0011205673217773438, -0.03521728515625, -0.01446533203125, 0.013092041015625, -0.023406982421875, 0.00015974044799804688, -0.00859832763671875, -0.029388427734375, 0.022308349609375, -0.0097198486328125, -0.0166168212890625, -0.02392578125, 0.00019502639770507812, 0.01328277587890625, -0.016815185546875, 0.0016956329345703125, -0.0077056884765625, 0.0523681640625, 0.0203857421875, -0.0223236083984375, -0.0188140869140625, 0.03900146484375, -0.0099029541015625, 0.047027587890625, 0.04193115234375, -0.04815673828125, 0.036102294921875, 0.046722412109375, 0.062469482421875, 0.10675048828125, 0.022613525390625, -0.0260467529296875, -0.02764892578125, 0.026947021484375, 0.00971221923828125, -0.046539306640625, 0.01424407958984375, -0.041290283203125, -0.0152587890625, -0.04681396484375, 0.03265380859375, 0.0289154052734375, -0.030548095703125, -0.056854248046875, 0.0399169921875, -0.0237274169921875, -0.0187530517578125, -0.060333251953125, 0.00982666015625, 0.024749755859375, -0.036346435546875, -0.024078369140625, -0.0291290283203125, -0.06512451171875, 0.0036640167236328125, 0.0140380859375, -0.018096923828125, 0.00506591796875, 0.00849151611328125, -0.07257080078125, 0.023681640625, 0.01053619384765625, 0.003276824951171875, 0.01483917236328125, -0.0167694091796875, 0.039306640625, 0.046844482421875, -0.0265350341796875, 0.023406982421875, 0.0005469322204589844, -0.00919342041015625, -0.00824737548828125, -0.0034542083740234375, 0.007335662841796875, 0.01340484619140625, 0.0021915435791015625, 0.05364990234375, -0.0006256103515625, -0.0335693359375, 0.0311126708984375, -0.0034770965576171875, -0.0885009765625, 0.005222320556640625, 0.0265350341796875, -0.0289154052734375, 0.013031005859375, -0.011383056640625, -0.01226806640625, -0.032867431640625, 0.01186370849609375, -0.046783447265625, -0.0175323486328125, -0.029541015625, 0.004009246826171875, -0.0555419921875, -0.0220947265625, 0.096435546875, -0.04681396484375, 0.023406982421875, 0.0391845703125, 0.003086090087890625, 0.061309814453125, 0.0777587890625, 0.018798828125, 0.0248565673828125, -0.03131103515625, 0.0022125244140625, 0.0228729248046875, -0.016021728515625, -0.006805419921875, -0.0197601318359375, -0.0163116455078125, 0.027862548828125, 0.0054473876953125, 0.03082275390625, -0.0091094970703125, 0.0081787109375, 0.005245208740234375, 0.034881591796875, -0.0059356689453125, 0.033477783203125, 0.0033111572265625, 0.038482666015625, 0.0023956298828125, -0.02081298828125, 0.0406494140625, -0.0609130859375, 0.01195526123046875, 0.0117034912109375, -0.02001953125, 0.023956298828125, -0.0189666748046875, 0.012542724609375, -0.02227783203125, -0.00894927978515625 ]
d7f71c51b7d15e5281b14c15b0a3879de64d87b1
Wordpress Stackexchange Q: Is it good practice to remove redundant plugins and themes? Is it good practice to remove all of the plugins and themes that are redundant? Also, if so, why is it good practise to remove them? A: Always remove any code you do not use which is easy to remove, like unused plugins and themes. Too many times even an unused code proved to be a vector through which sites were hacked.
Q: Is it good practice to remove redundant plugins and themes? Is it good practice to remove all of the plugins and themes that are redundant? Also, if so, why is it good practise to remove them? A: Always remove any code you do not use which is easy to remove, like unused plugins and themes. Too many times even an unused code proved to be a vector through which sites were hacked.
wordpress
{ "language": "en", "length": 73, "provenance": "stackexchange_00019.jsonl.gz:475681", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265096" }
[ 0.008758544921875, 0.01568603515625, 0.0105743408203125, 0.006641387939453125, 0.0116729736328125, -0.01020050048828125, 0.034149169921875, -0.02008056640625, -0.0101470947265625, 0.033233642578125, 0.035552978515625, -0.017730712890625, -0.0011844635009765625, -0.05126953125, -0.025238037109375, -0.0170745849609375, -0.01070404052734375, 0.05755615234375, 0.027587890625, -0.016357421875, 0.02264404296875, -0.0044708251953125, -0.0281219482421875, 0.058929443359375, 0.040069580078125, -0.0399169921875, 0.030975341796875, -0.0112152099609375, -0.02447509765625, -0.04815673828125, 0.0195159912109375, 0.05828857421875, -0.006366729736328125, 0.0141754150390625, 0.02569580078125, -0.0169219970703125, -0.01500701904296875, 0.0262603759765625, 0.03131103515625, -0.0302581787109375, 0.004528045654296875, 0.001995086669921875, 0.020538330078125, -0.0202178955078125, -0.0169677734375, -0.00876617431640625, -0.01308441162109375, -0.039764404296875, -0.0321044921875, -0.0303497314453125, 0.041778564453125, -0.0479736328125, 0.0841064453125, -0.034912109375, -0.032958984375, -0.051239013671875, -0.007358551025390625, -0.0110626220703125, 0.03643798828125, 0.0248870849609375, -0.023834228515625, -0.03741455078125, 0.0148773193359375, -0.08056640625, 0.0218353271484375, -0.0249176025390625, -0.054595947265625, 0.0285797119140625, -0.0718994140625, 0.055511474609375, 0.08013916015625, -0.0872802734375, 0.01192474365234375, -0.01485443115234375, -0.017120361328125, -0.00965118408203125, 0.0224456787109375, -0.0010890960693359375, 0.0277557373046875, -0.01861572265625, -0.02880859375, 0.019683837890625, -0.007549285888671875, -0.07965087890625, 0.00856781005859375, -0.039093017578125, -0.0077972412109375, 0.01447296142578125, -0.0511474609375, -0.04998779296875, -0.03759765625, -0.050811767578125, -0.0266876220703125, -0.01947021484375, -0.0296783447265625, -0.0084381103515625, 0.06292724609375, 0.06512451171875, 0.007080078125, -0.00042557716369628906, -0.0186614990234375, -0.03076171875, 0.00616455078125, -0.0301666259765625, -0.01140594482421875, 0.0155181884765625, -0.0161285400390625, -0.0304718017578125, 0.0149383544921875, 0.037139892578125, -0.004497528076171875, -0.022308349609375, 0.01285552978515625, -0.06689453125, 0.0162506103515625, 0.031768798828125, -0.006542205810546875, 0.056976318359375, 0.037841796875, 0.0278167724609375, 0.0131378173828125, 0.0175018310546875, -0.0241851806640625, -0.009521484375, -0.0294647216796875, -0.040802001953125, -0.034271240234375, 0.01471710205078125, 0.0113983154296875, 0.009246826171875, -0.01438140869140625, 0.0172271728515625, -0.006443023681640625, -0.0132598876953125, -0.032928466796875, -0.01995849609375, 0.0133819580078125, 0.013671875, 0.01190185546875, -0.034759521484375, 0.029296875, 0.00797271728515625, 0.0166168212890625, -0.0041961669921875, 0.026336669921875, 0.011322021484375, -0.003978729248046875, 0.0198974609375, 0.01751708984375, 0.00800323486328125, 0.022796630859375, -0.058319091796875, -0.0006055831909179688, -0.001434326171875, 0.02899169921875, -0.002201080322265625, 0.01490020751953125, -0.0194091796875, 0.0172882080078125, 0.006496429443359375, 0.015045166015625, 0.00372314453125, 0.0157318115234375, -0.0269012451171875, -0.0243988037109375, -0.02105712890625, -0.0174713134765625, 0.0160369873046875, 0.01305389404296875, -0.0292816162109375, 0.009063720703125, -0.062164306640625, 0.01178741455078125, 0.0106658935546875, -0.0003743171691894531, 0.07672119140625, 0.0572509765625, -0.0280609130859375, 0.004138946533203125, 0.044708251953125, -0.021240234375, -0.0204620361328125, 0.04852294921875, -0.040008544921875, -0.0948486328125, -0.0210723876953125, -0.0025482177734375, 0.050567626953125, 0.06671142578125, -0.0007910728454589844, 0.09326171875, -0.05743408203125, 0.0016050338745117188, 0.0045166015625, 0.0115203857421875, -0.0234527587890625, -0.017608642578125, 0.003204345703125, -0.0028514862060546875, -0.0210113525390625, -0.009185791015625, 0.01132965087890625, -0.018402099609375, -0.021209716796875, -0.09716796875, 0.0174713134765625, -0.029937744140625, 0.055938720703125, -0.041473388671875, 0.03350830078125, 0.01215362548828125, -0.01495361328125, -0.023284912109375, 0.0192718505859375, 0.0202178955078125, 0.01666259765625, 0.0099029541015625, -0.0302581787109375, -0.005035400390625, -0.033447265625, 0.01361083984375, -0.01110076904296875, -0.023345947265625, 0.0267791748046875, 0.006732940673828125, -0.00466156005859375, -0.030853271484375, -0.034912109375, -0.0562744140625, -0.00982666015625, -0.0364990234375, 0.074951171875, 0.03167724609375, 0.06927490234375, -0.0044403076171875, -0.0141754150390625, 0.0205230712890625, -0.05255126953125, 0.004619598388671875, 0.030517578125, 0.028961181640625, 0.041961669921875, -0.022308349609375, -0.0130767822265625, 0.043121337890625, -0.0289459228515625, 0.00992584228515625, -0.0007867813110351562, 0.0154876708984375, 0.0369873046875, 0.01364898681640625, -0.01451873779296875, 0.0083160400390625, -0.0033702850341796875, 0.019866943359375, 0.013214111328125, -0.0290374755859375, -0.05908203125, 0.0130157470703125, -0.00872039794921875, 0.040679931640625, -0.0193023681640625, -0.04205322265625, 0.0125732421875, 0.0316162109375, -0.02783203125, 0.00684356689453125, -0.005157470703125, -0.0037937164306640625, -0.01113128662109375, 0.024322509765625, -0.044769287109375, 0.0028476715087890625, 0.060302734375, 0.03656005859375, 0.0369873046875, -0.0304412841796875, -0.037567138671875, 0.033905029296875, 0.05950927734375, -0.035430908203125, -0.00951385498046875, 0.015350341796875, -0.022216796875, 0.01424407958984375, -0.0068817138671875, 0.007709503173828125, -0.056884765625, 0.018218994140625, 0.0036220550537109375, 0.008819580078125, -0.004314422607421875, -0.042266845703125, 0.0628662109375, -0.0131683349609375, -0.0287322998046875, -0.050872802734375, -0.0226287841796875, 0.0138397216796875, -0.01934814453125, -0.0178680419921875, 0.057891845703125, 0.0548095703125, -0.044342041015625, 0.01629638671875, 0.0223846435546875, 0.038360595703125, -0.005588531494140625, -0.005828857421875, 0.033355712890625, -0.06585693359375, -0.01239013671875, 0.01309967041015625, 0.07147216796875, -0.03717041015625, -0.0728759765625, -0.017791748046875, 0.0134124755859375, -0.07293701171875, -0.04278564453125, -0.016021728515625, 0.0239105224609375, 0.0014820098876953125, -0.01068878173828125, 0.0147705078125, -0.0036163330078125, -0.0151824951171875, 0.003307342529296875, 0.051361083984375, -0.04833984375, -0.04986572265625, -0.048553466796875, -0.06842041015625, -0.052520751953125, 0.00836181640625, -0.0110931396484375, -0.00234222412109375, 0.07080078125, -0.0023365020751953125, -0.05712890625, -0.0228424072265625, -0.039794921875, -0.0194549560546875, 0.01568603515625, 0.0421142578125, -0.006740570068359375, -0.0272216796875, 0.0338134765625, -0.005794525146484375, 0.0311279296875, -0.05169677734375, -0.0304412841796875, -0.0164947509765625, -0.04351806640625, 0.007781982421875, -0.038726806640625, -0.0079803466796875, -0.023193359375, -0.00820159912109375, -0.057098388671875, -0.015960693359375, 0.03515625, -0.01049041748046875, 0.01465606689453125, -0.0185546875, -0.0428466796875, 0.046600341796875, -0.0181121826171875, 0.0092315673828125, 0.00505828857421875, -0.03521728515625, -0.011199951171875, 0.058349609375, 0.01161956787109375, 0.0460205078125, 0.006656646728515625, -0.0118408203125, -0.05377197265625, 0.005672454833984375, -0.0298614501953125, -0.02020263671875, 0.0012912750244140625, 0.0100860595703125, 0.029022216796875, -0.01488494873046875, 0.0291595458984375, -0.007049560546875, 0.00943756103515625, 0.00923919677734375, -0.0173187255859375, 0.006931304931640625, 0.07293701171875, -0.0654296875, 0.005191802978515625, 0.0172576904296875, 0.007099151611328125, 0.017730712890625, -0.018768310546875, -0.0703125, -0.03363037109375, -0.08294677734375, 0.0158233642578125, 0.0167694091796875, -0.0253143310546875, -0.038726806640625, 0.017333984375, -0.0726318359375, -0.0159149169921875, 0.01294708251953125, -0.01471710205078125, 0.021392822265625, -0.02423095703125, 0.02984619140625, -0.05426025390625, 0.0035686492919921875, -0.026336669921875, -0.026580810546875, 0.006195068359375, -0.0662841796875, 0.03558349609375, 0.049591064453125, -0.0117340087890625, -0.003551483154296875, -0.005035400390625, -0.0130157470703125, 0.05718994140625, -0.00432586669921875, 0.030120849609375, -0.0254058837890625, -0.0108489990234375, 0.00555419921875, -0.0230560302734375, 0.01001739501953125, -0.00612640380859375, -0.030242919921875, 0.0033855438232421875, -0.01019287109375, 0.005161285400390625, 0.0194854736328125, -0.029632568359375, -0.01264190673828125, 0.00988006591796875, 0.01108551025390625, -0.007476806640625, -0.0138092041015625, 0.005199432373046875, 0.0269012451171875, 0.03564453125, 0.0079345703125, 0.0300140380859375, -0.04815673828125, 0.016632080078125, 0.02325439453125, 0.02752685546875, -0.0280914306640625, -0.06353759765625, -0.003475189208984375, 0.0242767333984375, 0.01971435546875, 0.00601959228515625, -0.022216796875, -0.03564453125, 0.046112060546875, 0.00351715087890625, -0.0269622802734375, -0.0235748291015625, 0.0275421142578125, -0.00946807861328125, -0.041900634765625, 0.0206756591796875, -0.03533935546875, 0.08599853515625, 0.0293426513671875, 0.01241302490234375, -0.036651611328125, 0.0170440673828125, 0.016937255859375, 0.00030231475830078125, -0.002712249755859375, -0.0019330978393554688, -0.021392822265625, 0.00662994384765625, 0.06024169921875, 0.02093505859375, 0.002838134765625, 0.0037593841552734375, 0.0231475830078125, 0.02618408203125, 0.01549530029296875, -0.0308990478515625, 0.0673828125, -0.10003662109375, 0.036651611328125, -0.0002923011779785156, -0.03631591796875, -0.0516357421875, -0.02276611328125, 0.0550537109375, 0.02447509765625, -0.0298614501953125, 0.003070831298828125, -0.01091766357421875, 0.00701904296875, 0.00829315185546875, -0.006072998046875, 0.061614990234375, 0.0215301513671875, -0.033905029296875, -0.01776123046875, -0.01050567626953125, -0.04296875, -0.0701904296875, -0.027069091796875, -0.017486572265625, -0.0171966552734375, 0.01439666748046875, -0.0016460418701171875, 0.0012044906616210938, -0.01032257080078125, 0.0009484291076660156, 0.0085296630859375, 0.00902557373046875, 0.00472259521484375, 0.01134490966796875, -0.0007328987121582031, -0.00632476806640625, -0.0024013519287109375, 0.01268768310546875, -0.0224151611328125, -0.01161956787109375, 0.03021240234375, 0.00904083251953125, 0.014892578125, 0.01043701171875, 0.0005002021789550781, 0.00957489013671875, -0.00927734375, 0.034912109375, -0.0020771026611328125, -0.0374755859375, -0.02203369140625, 0.032684326171875, 0.051544189453125, -0.01824951171875, -0.0177001953125, 0.006610870361328125, 0.004459381103515625, -0.01000213623046875, 0.036712646484375, -0.087646484375, 0.03619384765625, 0.052825927734375, -0.0132598876953125, -0.01538848876953125, 0.001983642578125, -0.07855224609375, -0.03399658203125, -0.01067352294921875, 0.0174713134765625, 0.059783935546875, 0.0157318115234375, 0.024078369140625, -0.014129638671875, -0.031280517578125, 0.0026092529296875, 0.0012149810791015625, -0.001312255859375, -0.0305938720703125, -0.09051513671875, 0.019683837890625, -0.04705810546875, 0.0026226043701171875, -0.050933837890625, -0.046478271484375, -0.0611572265625, -0.00012433528900146484, 0.00450897216796875, 0.001140594482421875, -0.0162200927734375, -0.01154327392578125, -0.00499725341796875, 0.040924072265625, 0.0224609375, 0.025390625, -0.018646240234375, -0.0191192626953125, 0.039581298828125, -0.0203399658203125, 0.01149749755859375, -0.0001277923583984375, 0.03546142578125, -0.038970947265625, 0.01580810546875, 0.0017652511596679688, -0.0293121337890625, 0.007801055908203125, 0.0009136199951171875, -0.0294036865234375, 0.0088043212890625, -0.01490020751953125, 0.015625, -0.020111083984375, 0.007144927978515625, -0.0161895751953125, 0.05377197265625, -0.0275421142578125, 0.00206756591796875, 0.0118408203125, -0.02484130859375, -0.0122833251953125, -0.0211944580078125, -0.0176239013671875, 0.019866943359375, -0.0036258697509765625, -0.0030231475830078125, 0.021331787109375, 0.00498199462890625, 0.01493072509765625, -0.00341796875, -0.01523590087890625, -0.002376556396484375, 0.0308074951171875, 0.01123809814453125, -0.030975341796875, 0.0066986083984375, 0.020843505859375, -0.042449951171875, 0.063232421875, 0.004802703857421875, 0.004711151123046875, 0.060882568359375, -0.0266265869140625, 0.016387939453125, 0.0197906494140625, 0.049285888671875, -0.074951171875, 0.029937744140625, 0.0171356201171875, 0.0279693603515625, 0.04547119140625, -0.00002276897430419922, 0.033203125, -0.0021953582763671875, 0.01276397705078125, 0.033294677734375, -0.009796142578125, -0.00019276142120361328, -0.0194854736328125, 0.003070831298828125, 0.0034542083740234375, 0.0162353515625, 0.00519561767578125, -0.038238525390625, -0.010894775390625, 0.043121337890625, 0.00862884521484375, -0.007080078125, 0.023193359375, -0.0009355545043945312, -0.034210205078125, -0.0440673828125, -0.002696990966796875, -0.008453369140625, -0.03253173828125, -0.00437164306640625, -0.005794525146484375, -0.004360198974609375, 0.0183868408203125, -0.034393310546875, 0.011932373046875, -0.0013952255249023438, -0.040191650390625, -0.06591796875, -0.0218963623046875, 0.0305328369140625, 0.006267547607421875, -0.06536865234375, 0.0295257568359375, -0.065673828125, -0.02099609375, -0.0258026123046875, -0.0208282470703125, 0.0789794921875, -0.059173583984375, -0.01119232177734375, 0.0009484291076660156, 0.0157470703125, 0.00618743896484375, -0.036163330078125, -0.0012569427490234375, -0.06884765625, 0.00308990478515625, -0.0234527587890625, 0.027496337890625, 0.037109375, 0.00035262107849121094, -0.09027099609375, 0.10662841796875, 0.008453369140625, 0.05194091796875, -0.0285186767578125, 0.044189453125, -0.0019369125366210938, 0.0272979736328125, 0.004032135009765625, 0.056060791015625, -0.044891357421875, -0.0197601318359375, 0.0186614990234375, 0.04949951171875, -0.01224517822265625, -0.0242462158203125, 0.051116943359375, 0.01020050048828125, -0.0162200927734375, 0.0109405517578125, 0.062469482421875, 0.0094146728515625, -0.00823974609375, 0.033935546875, -0.01806640625, -0.01029205322265625, 0.005336761474609375, -0.0167694091796875, 0.04937744140625, -0.049896240234375, -0.0266876220703125, -0.006496429443359375, 0.0115509033203125, -0.00878143310546875, 0.005329132080078125, -0.0168304443359375, -0.042205810546875, 0.01506805419921875, 0.0129241943359375, 0.063232421875, 0.004512786865234375, -0.004634857177734375, -0.0262908935546875, -0.023406982421875, 0.00039505958557128906, -0.00921630859375, 0.035858154296875, -0.0163421630859375, 0.0343017578125, 0.0241851806640625, 0.00849151611328125, 0.057037353515625, -0.04400634765625, 0.01531982421875, 0.00963592529296875, -0.03424072265625, 0.0201263427734375, 0.003726959228515625, 0.0399169921875, -0.018096923828125, 0.0029125213623046875, -0.0175018310546875, -0.0013704299926757812, -0.0100860595703125, -0.039825439453125, 0.0182952880859375, 0.0078887939453125, 0.0024967193603515625, 0.00408172607421875, 0.0024662017822265625, -0.05072021484375, 0.004795074462890625, -0.0035152435302734375, -0.0111846923828125, 0.0182952880859375, 0.00264739990234375, 0.007366180419921875, 0.02947998046875, -0.00997161865234375, -0.0021266937255859375, -0.024139404296875, -0.003833770751953125, 0.00962066650390625, 0.02044677734375, 0.0209503173828125, 0.01262664794921875, 0.0214080810546875, -0.01454925537109375, 0.005306243896484375, 0.01629638671875, -0.004486083984375, -0.0186767578125, -0.038238525390625, -0.0706787109375, 0.01983642578125, 0.046173095703125, 0.01490020751953125, -0.0011701583862304688, 0.032501220703125, 0.03717041015625, 0.0019073486328125, -0.01238250732421875, -0.0310211181640625, -0.0176239013671875, 0.0214080810546875, -0.007503509521484375, -0.000606536865234375, -0.0011749267578125, -0.028839111328125, -0.0150146484375, 0.019012451171875, 0.0244598388671875, -0.002490997314453125, 0.0148162841796875, 0.004695892333984375, -0.0176544189453125, 0.044281005859375, -0.03271484375, 0.035003662109375, 0.02294921875, -0.0175628662109375, -0.00946807861328125, -0.0222625732421875, 0.0262603759765625, -0.005657196044921875, 0.0175628662109375, 0.01534271240234375, 0.0301055908203125, 0.015472412109375, -0.01148223876953125, 0.00801849365234375, 0.0018568038940429688, 0.00992584228515625, -0.016387939453125, 0.0105438232421875, -0.0106353759765625, -0.01202392578125, 0.003177642822265625, 0.005344390869140625, 0.0256500244140625, 0.0103302001953125, 0.01153564453125, -0.002986907958984375, 0.0118865966796875, 0.020172119140625, -0.043487548828125, 0.0311431884765625, 0.035552978515625, -0.0160675048828125, 0.0024242401123046875, -0.0078277587890625, -0.01375579833984375, -0.0300445556640625, -0.01274871826171875, 0.020599365234375, -0.043670654296875, -0.00022423267364501953, -0.038360595703125, 0.0303955078125, -0.0147247314453125, -0.01107025146484375, -0.0216064453125, -0.0215606689453125, -0.0098114013671875, 0.01316070556640625, 0.0107421875, 0.02899169921875, -0.02862548828125, -0.0250701904296875, -0.0002758502960205078, -0.04010009765625, 0.00812530517578125, 0.0164337158203125, -0.0218048095703125, 0.01432037353515625, 0.023193359375, -0.05950927734375, -0.016510009765625, -0.0250701904296875, 0.0044403076171875, -0.007091522216796875, 0.050689697265625, 0.00450897216796875, -0.059112548828125, 0.0038242340087890625, 0.012603759765625, 0.034698486328125, -0.0008196830749511719, 0.0039520263671875, 0.0133209228515625, 0.0098876953125, -0.00827789306640625, 0.0655517578125, -0.015045166015625, 0.0177154541015625, -0.026763916015625, -0.004993438720703125, -0.007297515869140625, -0.057342529296875, -0.08929443359375, 0.0175933837890625, 0.01506805419921875, 0.002185821533203125, -0.0631103515625, 0.046600341796875, -0.0173492431640625, -0.0170745849609375, -0.002033233642578125, 0.01306915283203125, -0.01525115966796875, 0.0015020370483398438, -0.0238800048828125, -0.06463623046875, -0.0263214111328125, 0.0853271484375, -0.039154052734375, 0.03375244140625, 0.03692626953125, -0.0457763671875, 0.003940582275390625, 0.03607177734375, 0.0689697265625, 0.060455322265625, 0.0394287109375, 0.01044464111328125, 0.042877197265625, -0.014373779296875, -0.0136566162109375, -0.039215087890625, -0.00785064697265625, -0.0299530029296875, -0.026885986328125, -0.0494384765625, 0.0129241943359375, -0.003360748291015625, -0.04437255859375, -0.06591796875, 0.1259765625, -0.0325927734375, -0.01306915283203125, -0.0237884521484375, 0.0031528472900390625, 0.003955841064453125, 0.00673675537109375, -0.015899658203125, 0.010406494140625, -0.037994384765625, 0.023895263671875, 0.0028209686279296875, 0.020782470703125, 0.019317626953125, 0.00772857666015625, -0.0074920654296875, 0.004974365234375, -0.006378173828125, -0.0160980224609375, -0.004604339599609375, 0.005481719970703125, 0.025177001953125, 0.055328369140625, -0.02166748046875, -0.012359619140625, -0.01277923583984375, -0.0275421142578125, -0.0043487548828125, 0.00202178955078125, -0.0023174285888671875, 0.031982421875, 0.0423583984375, 0.048919677734375, 0.0150299072265625, -0.0462646484375, -0.04583740234375, 0.01033782958984375, 0.03399658203125, -0.009796142578125, 0.015655517578125, -0.076171875, -0.017974853515625, 0.00237274169921875, -0.0182952880859375, -0.0005888938903808594, -0.01393890380859375, -0.044464111328125, -0.0036144256591796875, -0.037628173828125, 0.00936126708984375, -0.06243896484375, -0.009552001953125, -0.0287017822265625, 0.0262298583984375, 0.059783935546875, -0.042236328125, 0.0277557373046875, 0.0250091552734375, 0.0577392578125, 0.036529541015625, -0.0224761962890625, -0.038909912109375, 0.0222930908203125, 0.01477813720703125, 0.03759765625, -0.033355712890625, -0.06341552734375, -0.017791748046875, 0.0311279296875, 0.0078582763671875, 0.04962158203125, -0.008819580078125, 0.007694244384765625, 0.025848388671875, 0.023773193359375, -0.008880615234375, 0.005413055419921875, -0.01380157470703125, 0.02618408203125, 0.0267181396484375, -0.0286407470703125, 0.06488037109375, -0.02001953125, 0.006557464599609375, -0.007579803466796875, 0.0185394287109375, -0.053741455078125, 0.05511474609375, 0.0066986083984375, 0.01074981689453125, 0.0302734375 ]
4ad64898e159ade171cef5c9f9add3b7121160db
Wordpress Stackexchange Q: How to override function in child theme I have created a child theme. In the parent theme there is a file functions_custom.php, which has some functions definitions. The file included in functions.php in the parent theme. Now I want to make some changes in one function that's in the functions_custom.php file and the function used in single.php to echo some dynamic content. So how to override that function in child theme? A: I am not sure if the function in the functions_custom.php that you wants to override is a pluggable functions like below: if ( ! function_exists ( 'function_name' ) ) { function function_name() { // Function Code } } If it is pluggable function then you can simply write function with same name in your child theme and WordPress will run the Child Theme function first.
Q: How to override function in child theme I have created a child theme. In the parent theme there is a file functions_custom.php, which has some functions definitions. The file included in functions.php in the parent theme. Now I want to make some changes in one function that's in the functions_custom.php file and the function used in single.php to echo some dynamic content. So how to override that function in child theme? A: I am not sure if the function in the functions_custom.php that you wants to override is a pluggable functions like below: if ( ! function_exists ( 'function_name' ) ) { function function_name() { // Function Code } } If it is pluggable function then you can simply write function with same name in your child theme and WordPress will run the Child Theme function first. A: You can simple copy the functions_custom.php in your child theme and do whatever in the this file. A: If it's not pluggable. you may want check this question/answer: How to override parent functions in child themes?
wordpress
{ "language": "en", "length": 175, "provenance": "stackexchange_00019.jsonl.gz:475745", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265328" }
[ 0.07916259765625, -0.0082550048828125, 0.00881195068359375, -0.069091796875, 0.011016845703125, -0.01224517822265625, 0.01287078857421875, -0.0206298828125, -0.037353515625, 0.016510009765625, 0.0013799667358398438, 0.01390838623046875, -0.02728271484375, -0.02978515625, 0.0070648193359375, -0.0438232421875, 0.034820556640625, 0.00806427001953125, 0.0386962890625, -0.00930023193359375, 0.00550079345703125, 0.0226593017578125, 0.011810302734375, 0.08953857421875, 0.034637451171875, -0.033660888671875, 0.0281982421875, -0.03900146484375, 0.021575927734375, -0.01418304443359375, 0.021881103515625, 0.0107421875, -0.005706787109375, 0.054351806640625, -0.0394287109375, -0.0614013671875, 0.00618743896484375, 0.01215362548828125, -0.002712249755859375, 0.0419921875, 0.046356201171875, -0.0265655517578125, -0.03387451171875, 0.074951171875, -0.0241241455078125, -0.0653076171875, 0.050811767578125, -0.035919189453125, -0.007259368896484375, 0.01284027099609375, 0.044647216796875, -0.004367828369140625, 0.04345703125, -0.0139312744140625, -0.0072479248046875, -0.000016391277313232422, -0.041748046875, 0.03985595703125, 0.026214599609375, -0.0023899078369140625, -0.021514892578125, 0.004901885986328125, 0.0168304443359375, -0.0035762786865234375, 0.02764892578125, -0.0155792236328125, -0.006195068359375, 0.0272064208984375, -0.042266845703125, 0.0281829833984375, 0.053375244140625, -0.03094482421875, 0.0240020751953125, 0.002437591552734375, -0.00910186767578125, -0.03704833984375, 0.0163116455078125, -0.00284576416015625, 0.0232696533203125, -0.0080413818359375, 0.01036834716796875, -0.0211029052734375, -0.005603790283203125, -0.0117950439453125, 0.0034656524658203125, 0.00783538818359375, -0.0137176513671875, -0.003292083740234375, -0.044403076171875, -0.0120697021484375, -0.034698486328125, -0.01300048828125, -0.05523681640625, 0.00797271728515625, 0.0171966552734375, -0.0025482177734375, 0.055328369140625, 0.025177001953125, -0.01033782958984375, -0.0009236335754394531, 0.040924072265625, -0.061920166015625, 0.054473876953125, -0.03009033203125, -0.00786590576171875, 0.032989501953125, -0.00801849365234375, 0.0028324127197265625, 0.00461578369140625, 0.0396728515625, 0.0108184814453125, -0.0297393798828125, -0.007274627685546875, -0.025360107421875, -0.01070404052734375, 0.044464111328125, -0.0211181640625, 0.00384521484375, -0.0015916824340820312, 0.0283203125, 0.02178955078125, 0.01152801513671875, 0.0170440673828125, 0.0005211830139160156, 0.007762908935546875, -0.001651763916015625, -0.054595947265625, -0.01922607421875, 0.0294189453125, 0.0240936279296875, -0.06134033203125, -0.0168304443359375, 0.077880859375, 0.049713134765625, 0.034088134765625, -0.029144287109375, 0.059600830078125, 0.0165252685546875, 0.006404876708984375, 0.01174163818359375, 0.03131103515625, -0.0399169921875, -0.04046630859375, 0.0269012451171875, -0.006229400634765625, 0.01354217529296875, 0.01328277587890625, 0.0192413330078125, 0.007022857666015625, -0.0390625, 0.024505615234375, -0.0194091796875, 0.0203399658203125, 0.0001894235610961914, 0.0083160400390625, 0.0169830322265625, -0.00811004638671875, 0.01413726806640625, -0.01282501220703125, 0.0180511474609375, -0.003955841064453125, -0.0214691162109375, -0.004169464111328125, 0.0016832351684570312, -0.037994384765625, 0.03106689453125, 0.00408935546875, -0.00380706787109375, 0.013946533203125, -0.0244140625, 0.050384521484375, -0.0167083740234375, -0.016876220703125, 0.02899169921875, 0.030029296875, 0.0208740234375, -0.0300445556640625, 0.0258636474609375, 0.021697998046875, 0.033477783203125, 0.001323699951171875, -0.039398193359375, 0.0283203125, -0.0026569366455078125, -0.057769775390625, 0.000812530517578125, 0.0010423660278320312, 0.026153564453125, 0.034912109375, 0.01458740234375, 0.00780487060546875, -0.008331298828125, -0.033172607421875, 0.01348876953125, -0.00513458251953125, -0.029754638671875, -0.0079193115234375, -0.01523590087890625, -0.025054931640625, 0.0283966064453125, 0.00246429443359375, 0.01285552978515625, 0.01079559326171875, -0.0054168701171875, -0.00872802734375, 0.00023424625396728516, -0.01186370849609375, 0.03143310546875, 0.0352783203125, 0.049468994140625, -0.0163116455078125, 0.0020999908447265625, 0.0025424957275390625, -0.035736083984375, -0.01555633544921875, -0.0046539306640625, -0.0158233642578125, 0.041656494140625, -0.00450897216796875, 0.033599853515625, 0.0040130615234375, -0.01427459716796875, -0.01116180419921875, -0.00650787353515625, 0.0225372314453125, -0.0018682479858398438, -0.01751708984375, -0.0163421630859375, 0.00203704833984375, 0.025543212890625, -0.052886962890625, 0.0215301513671875, 0.037384033203125, 0.02313232421875, -0.039093017578125, -0.0203857421875, -0.03448486328125, -0.03192138671875, -0.0182952880859375, 0.059295654296875, 0.0278472900390625, 0.0229644775390625, -0.00440216064453125, 0.0261993408203125, 0.07012939453125, -0.0100860595703125, -0.004673004150390625, 0.005138397216796875, 0.027740478515625, 0.0311431884765625, 0.0005369186401367188, -0.015960693359375, 0.025115966796875, -0.0780029296875, 0.041168212890625, 0.03570556640625, 0.0013322830200195312, -0.06573486328125, 0.0105438232421875, 0.0157928466796875, 0.0204010009765625, -0.0254364013671875, -0.06561279296875, 0.030975341796875, 0.03729248046875, 0.0088958740234375, 0.021575927734375, 0.01224517822265625, -0.0301361083984375, -0.005519866943359375, 0.026336669921875, 0.0035457611083984375, -0.0025539398193359375, 0.0050506591796875, -0.0128021240234375, 0.0023822784423828125, -0.0272674560546875, 0.02001953125, -0.020294189453125, -0.0018100738525390625, -0.003131866455078125, 0.04150390625, -0.041259765625, -0.02239990234375, 0.0009083747863769531, -0.01593017578125, -0.0243988037109375, 0.0089569091796875, 0.0022411346435546875, 0.0036945343017578125, 0.016937255859375, 0.047515869140625, -0.0096893310546875, 0.041168212890625, -0.025360107421875, -0.00020301342010498047, -0.01486968994140625, -0.05059814453125, 0.043487548828125, -0.043182373046875, 0.0299224853515625, 0.0662841796875, -0.006290435791015625, 0.0123138427734375, 0.00022935867309570312, -0.048736572265625, 0.007221221923828125, 0.012054443359375, -0.0097198486328125, -0.03363037109375, -0.03839111328125, -0.0012598037719726562, 0.037628173828125, 0.038299560546875, 0.01328277587890625, -0.022430419921875, -0.0089263916015625, 0.039459228515625, -0.03662109375, -0.038299560546875, 0.0032825469970703125, -0.039459228515625, 0.0114593505859375, -0.007633209228515625, -0.006137847900390625, -0.012359619140625, -0.006900787353515625, 0.0203857421875, 0.0219879150390625, -0.043670654296875, -0.0175323486328125, -0.048980712890625, -0.079833984375, -0.0291290283203125, 0.019287109375, 0.0186767578125, -0.0079803466796875, 0.052215576171875, 0.0011625289916992188, -0.05426025390625, -0.012359619140625, 0.049530029296875, -0.00983428955078125, -0.002330780029296875, 0.032745361328125, -0.04949951171875, -0.0030670166015625, 0.005947113037109375, 0.020965576171875, 0.007228851318359375, -0.02508544921875, -0.0092010498046875, -0.033294677734375, -0.016815185546875, -0.0091094970703125, 0.032318115234375, 0.040496826171875, -0.002292633056640625, 0.0185699462890625, -0.04559326171875, -0.0640869140625, 0.007305145263671875, -0.061370849609375, 0.045806884765625, 0.0305328369140625, -0.006488800048828125, -0.01189422607421875, 0.031341552734375, 0.030792236328125, 0.0011758804321289062, 0.003498077392578125, -0.0021953582763671875, 0.031494140625, 0.00726318359375, 0.04705810546875, -0.031982421875, 0.050506591796875, -0.00594329833984375, 0.007251739501953125, 0.0174102783203125, 0.02117919921875, -0.00785064697265625, 0.0045928955078125, -0.0401611328125, -0.0289306640625, 0.01861572265625, -0.035552978515625, 0.0209503173828125, -0.01332855224609375, -0.0059967041015625, 0.007205963134765625, 0.0777587890625, 0.0020618438720703125, -0.0016832351684570312, 0.023223876953125, -0.004150390625, -0.050994873046875, 0.02349853515625, -0.1051025390625, 0.0087127685546875, -0.0567626953125, 0.00939178466796875, -0.017822265625, 0.0059661865234375, -0.0082244873046875, 0.06536865234375, -0.0146636962890625, -0.022613525390625, 0.0123138427734375, 0.0038204193115234375, -0.01470947265625, 0.0251312255859375, -0.030029296875, 0.0030918121337890625, 0.01067352294921875, -0.01824951171875, -0.035980224609375, 0.0024623870849609375, -0.1051025390625, 0.0673828125, 0.08770751953125, -0.05035400390625, -0.0055084228515625, 0.0259246826171875, 0.0440673828125, 0.033203125, 0.0186767578125, -0.0196533203125, 0.016815185546875, -0.0015611648559570312, 0.037567138671875, -0.0191650390625, -0.024658203125, -0.01229095458984375, -0.020751953125, 0.03656005859375, -0.0005731582641601562, -0.003269195556640625, 0.02557373046875, -0.0243988037109375, -0.050079345703125, -0.0241546630859375, -0.05499267578125, -0.0202178955078125, -0.0144500732421875, -0.032806396484375, -0.022491455078125, -0.05975341796875, 0.036163330078125, -0.010833740234375, -0.0272369384765625, 0.01219940185546875, 0.0484619140625, 0.0120391845703125, -0.0302276611328125, -0.039276123046875, -0.0042266845703125, 0.01136016845703125, 0.0256805419921875, -0.0133209228515625, -0.058685302734375, -0.017303466796875, 0.0122528076171875, -0.01343536376953125, -0.007343292236328125, 0.0192413330078125, 0.09136962890625, -0.0023040771484375, -0.01531982421875, 0.0248870849609375, -0.00634765625, -0.037933349609375, -0.0207672119140625, -0.03619384765625, 0.0160675048828125, 0.006946563720703125, 0.02459716796875, -0.004192352294921875, 0.0140838623046875, -0.04034423828125, -0.0274505615234375, 0.0085906982421875, -0.00608062744140625, 0.005535125732421875, 0.0216217041015625, -0.00537872314453125, 0.0093841552734375, -0.012176513671875, 0.0255584716796875, 0.0305938720703125, 0.06884765625, -0.03485107421875, 0.04547119140625, 0.0179901123046875, -0.0158233642578125, -0.0048370361328125, -0.005157470703125, 0.056060791015625, 0.0175323486328125, -0.00876617431640625, -0.02142333984375, 0.004817962646484375, -0.00640869140625, -0.024627685546875, -0.023651123046875, -0.01187896728515625, 0.01152801513671875, -0.0220794677734375, -0.0020294189453125, -0.0097503662109375, 0.0235595703125, -0.013824462890625, 0.003719329833984375, 0.023712158203125, -0.036041259765625, 0.0322265625, -0.0345458984375, 0.0045318603515625, -0.02191162109375, 0.005046844482421875, -0.004741668701171875, -0.0047607421875, 0.018035888671875, 0.02880859375, -0.0261993408203125, 0.0280609130859375, -0.030731201171875, 0.047119140625, -0.032379150390625, -0.044342041015625, 0.032806396484375, 0.04815673828125, 0.01806640625, 0.024688720703125, -0.0195159912109375, 0.007305145263671875, -0.0172882080078125, 0.01367950439453125, 0.0238800048828125, -0.0009417533874511719, 0.01023101806640625, -0.03594970703125, -0.0034122467041015625, 0.0159149169921875, -0.00839996337890625, 0.035247802734375, -0.01739501953125, 0.036102294921875, -0.0031681060791015625, -0.0008959770202636719, -0.004367828369140625, -0.00006127357482910156, -0.0244598388671875, 0.04052734375, 0.016510009765625, -0.06842041015625, -0.08929443359375, 0.0020465850830078125, 0.0008392333984375, 0.03179931640625, -0.020965576171875, 0.0197296142578125, -0.0364990234375, -0.01132965087890625, -0.005535125732421875, -0.0131072998046875, 0.12066650390625, 0.061126708984375, -0.0841064453125, -0.001781463623046875, -0.048828125, -0.0209808349609375, -0.0826416015625, -0.04595947265625, -0.07550048828125, 0.0382080078125, -0.023834228515625, 0.01166534423828125, -0.025665283203125, -0.0109710693359375, -0.0035228729248046875, 0.01885986328125, 0.0006322860717773438, -0.01116943359375, -0.0104827880859375, 0.05499267578125, 0.020751953125, 0.0036754608154296875, 0.022705078125, 0.037078857421875, -0.000014424324035644531, -0.0244598388671875, 0.0038127899169921875, 0.0265350341796875, -0.0168304443359375, -0.0256805419921875, -0.00063323974609375, -0.0230255126953125, 0.07257080078125, -0.01343536376953125, 0.052886962890625, -0.042877197265625, -0.00659942626953125, -0.02374267578125, 0.003025054931640625, -0.08154296875, 0.0255584716796875, -0.035369873046875, -0.03985595703125, -0.026885986328125, 0.007755279541015625, -0.0174407958984375, 0.062408447265625, -0.0013408660888671875, 0.03936767578125, 0.0067596435546875, -0.09942626953125, 0.08172607421875, 0.02752685546875, -0.01175689697265625, 0.0277252197265625, -0.037109375, 0.01190948486328125, 0.0189361572265625, 0.0029163360595703125, -0.0090789794921875, -0.016143798828125, 0.031890869140625, 0.006771087646484375, -0.007568359375, 0.01198577880859375, -0.0241241455078125, -0.0296630859375, 0.0258331298828125, 0.040557861328125, -0.052093505859375, 0.0088653564453125, 0.01271820068359375, 0.0260467529296875, 0.018524169921875, 0.016326904296875, -0.01483154296875, 0.02764892578125, -0.0005168914794921875, -0.0236968994140625, -0.01483154296875, 0.024261474609375, 0.0021839141845703125, -0.007305145263671875, -0.026397705078125, 0.033843994140625, 0.012359619140625, 0.01158905029296875, 0.024932861328125, -0.01181793212890625, 0.03338623046875, 0.0008182525634765625, 0.0223236083984375, 0.005687713623046875, -0.02655029296875, -0.0400390625, 0.02337646484375, -0.001232147216796875, -0.0072784423828125, -0.0015954971313476562, -0.0185089111328125, -0.0211639404296875, 0.041534423828125, -0.051788330078125, 0.03472900390625, 0.0008401870727539062, -0.0241851806640625, -0.0167236328125, -0.0288238525390625, 0.0163726806640625, -0.0167694091796875, -0.06524658203125, 0.00811767578125, -0.05621337890625, -0.01898193359375, -0.0015659332275390625, -0.01519775390625, 0.03662109375, -0.0404052734375, 0.001972198486328125, 0.05096435546875, 0.033050537109375, -0.02410888671875, -0.0194854736328125, 0.039459228515625, -0.0767822265625, -0.0311431884765625, 0.0101318359375, -0.0115814208984375, -0.03460693359375, -0.020660400390625, -0.060821533203125, 0.1561279296875, -0.0174713134765625, 0.036224365234375, 0.038177490234375, 0.061309814453125, -0.054290771484375, 0.0250701904296875, -0.039337158203125, 0.03216552734375, 0.045623779296875, 0.062744140625, -0.0222015380859375, -0.01554107666015625, 0.01751708984375, 0.03094482421875, 0.0073089599609375, -0.00029659271240234375, -0.004375457763671875, -0.0052490234375, 0.0386962890625, 0.038482666015625, 0.0058746337890625, 0.007965087890625, -0.01526641845703125, -0.017425537109375, -0.0007529258728027344, -0.0016021728515625, 0.02386474609375, -0.0287628173828125, -0.0225372314453125, 0.01036834716796875, 0.0105133056640625, -0.0108642578125, -0.015472412109375, -0.031585693359375, -0.0242767333984375, -0.0036563873291015625, 0.00038313865661621094, 0.0107269287109375, -0.0027751922607421875, 0.026580810546875, 0.00794219970703125, -0.0018434524536132812, -0.0068511962890625, -0.0086822509765625, 0.028411865234375, -0.01534271240234375, 0.00212860107421875, -0.016632080078125, 0.00666046142578125, -0.052093505859375, -0.00922393798828125, -0.01003265380859375, 0.0509033203125, -0.038909912109375, 0.01476287841796875, 0.050048828125, 0.0244293212890625, 0.02642822265625, 0.051300048828125, 0.01360321044921875, 0.007648468017578125, -0.036590576171875, -0.007251739501953125, 0.01428985595703125, -0.01450347900390625, -0.01398468017578125, -0.01800537109375, 0.005268096923828125, 0.0096435546875, -0.0059814453125, -0.0196990966796875, -0.0238494873046875, 0.0031261444091796875, 0.0267486572265625, 0.0129547119140625, 0.03802490234375, -0.00977325439453125, -0.05694580078125, -0.0150604248046875, -0.0199432373046875, -0.0131988525390625, 0.01934814453125, 0.0201263427734375, 0.041839599609375, 0.0164642333984375, -0.00910186767578125, 0.0034542083740234375, 0.0092010498046875, -0.0148468017578125, 0.00844573974609375, -0.043121337890625, -0.032135009765625, 0.01483154296875, 0.04595947265625, 0.0207061767578125, 0.01171112060546875, 0.034271240234375, 0.01318359375, -0.0295257568359375, -0.0113677978515625, 0.0251922607421875, -0.01421356201171875, -0.01073455810546875, -0.0150909423828125, -0.0284881591796875, -0.00894927978515625, -0.0136260986328125, -0.0180511474609375, 0.0222015380859375, 0.007537841796875, 0.0003635883331298828, 0.04608154296875, -0.0026912689208984375, -0.0022258758544921875, 0.0166015625, 0.0029163360595703125, 0.06329345703125, 0.0301055908203125, -0.09967041015625, -0.0200042724609375, -0.0136260986328125, -0.044158935546875, 0.04644775390625, 0.05413818359375, -0.01512908935546875, 0.0006895065307617188, -0.00959014892578125, -0.041900634765625, 0.01497650146484375, 0.0338134765625, -0.0267791748046875, -0.0000776052474975586, 0.0112457275390625, -0.01479339599609375, -0.019683837890625, -0.01033782958984375, -0.0229949951171875, 0.04547119140625, 0.04815673828125, 0.0697021484375, -0.040283203125, 0.04290771484375, 0.0012760162353515625, 0.017486572265625, -0.0188140869140625, -0.00952911376953125, 0.03955078125, -0.035614013671875, -0.014251708984375, 0.0034198760986328125, -0.071044921875, 0.0278167724609375, 0.0251922607421875, -0.0146026611328125, 0.028564453125, 0.005279541015625, 0.01073455810546875, -0.0255126953125, 0.0022182464599609375, -0.0108642578125, 0.00839996337890625, -0.0029277801513671875, -0.018310546875, 0.04742431640625, 0.015045166015625, -0.00952911376953125, -0.00450897216796875, 0.03253173828125, -0.0084686279296875, 0.005764007568359375, 0.0226287841796875, 0.0041961669921875, 0.040191650390625, -0.025421142578125, -0.099609375, -0.0295257568359375, -0.01165771484375, -0.0216217041015625, 0.00321197509765625, 0.056884765625, -0.00656890869140625, -0.04296875, 0.00965118408203125, 0.01309967041015625, 0.0101318359375, -0.0511474609375, 0.003040313720703125, 0.023529052734375, -0.006237030029296875, 0.052337646484375, -0.0094451904296875, -0.0215911865234375, -0.03790283203125, 0.0192108154296875, 0.0235443115234375, -0.01142120361328125, 0.0020809173583984375, -0.0310211181640625, 0.034149169921875, 0.054840087890625, 0.0149688720703125, -0.0697021484375, 0.03985595703125, -0.04656982421875, 0.048919677734375, 0.016510009765625, -0.031219482421875, 0.01666259765625, 0.02099609375, -0.0323486328125, -0.028472900390625, -0.0304412841796875, 0.0035381317138671875, -0.0257110595703125, 0.038970947265625, 0.055755615234375, -0.01715087890625, 0.0120391845703125, 0.0703125, 0.0277099609375, 0.128662109375, -0.036529541015625, -0.031341552734375, 0.006008148193359375, 0.0035800933837890625, -0.0091552734375, -0.015777587890625, 0.0401611328125, -0.056121826171875, -0.031890869140625, 0.0007791519165039062, -0.002147674560546875, 0.027435302734375, -0.029998779296875, -0.047637939453125, 0.0276641845703125, 0.005924224853515625, -0.03753662109375, -0.03668212890625, 0.014312744140625, -0.02410888671875, 0.0164794921875, -0.007762908935546875, 0.01073455810546875, 0.018096923828125, 0.052459716796875, 0.0188446044921875, 0.0181732177734375, -0.00753021240234375, 0.0391845703125, -0.058135986328125, 0.053436279296875, 0.0283966064453125, 0.0245361328125, -0.0132293701171875, -0.010955810546875, 0.033416748046875, 0.018218994140625, -0.02703857421875, -0.002941131591796875, 0.0261688232421875, 0.0205841064453125, -0.0157470703125, -0.018096923828125, -0.0106964111328125, 0.01050567626953125, 0.054534912109375, 0.0543212890625, 0.00841522216796875, -0.038726806640625, -0.05181884765625, -0.061309814453125, -0.00521087646484375, -0.004848480224609375, 0.00830841064453125, -0.07342529296875, 0.03167724609375, 0.041259765625, -0.049835205078125, -0.0026683807373046875, -0.005519866943359375, -0.06304931640625, 0.02001953125, -0.024383544921875, -0.013092041015625, -0.0345458984375, -0.005329132080078125, 0.06610107421875, -0.0308990478515625, 0.0289459228515625, 0.01113128662109375, 0.004245758056640625, 0.0504150390625, 0.0263824462890625, 0.029266357421875, 0.07342529296875, -0.041595458984375, -0.023529052734375, 0.0304107666015625, 0.0235595703125, 0.0160980224609375, -0.029632568359375, -0.012725830078125, 0.00888824462890625, -0.005023956298828125, -0.00959014892578125, -0.018768310546875, 0.07135009765625, 0.00559234619140625, 0.0849609375, 0.004985809326171875, 0.060791015625, -0.0241241455078125, 0.0513916015625, -0.0159454345703125, -0.004962921142578125, -0.00887298583984375, -0.00025391578674316406, 0.0280609130859375, -0.01412200927734375, 0.0379638671875, 0.007106781005859375, 0.00493621826171875, -0.01441192626953125, -0.033966064453125, 0.0036563873291015625 ]
9067e3782f8d503177dd73b1b403699ee1f7b057
Wordpress Stackexchange Q: Adding https to wordpress website I am using Cloudflare (service that gives free HTTPS for your website) to have https on my Wordpress website but when I change the site URL and Wordpress URL to https://, I get a "redirected you too many times" error. I also tried to add define('FORCE_SSL_ADMIN', true); in the wp-config.php file and guess what? The same thing happens again. I'm not sure what I am doing wrong but your help would be greatly appreciated... I tried this solution but it doesn't work but returns a 500 internal server error instead. A: I have recently solved my issue, I went on wordpress support, found my issue and how to fix it. I installed the SSL Insecure Content Fixer plugin and chose in the plugin settings for SSL Detection, the setting that was recommended. Then, I went to the settings and set my Wordpress and site URL to https://. This all together fixes the infinite redirect loop.
Q: Adding https to wordpress website I am using Cloudflare (service that gives free HTTPS for your website) to have https on my Wordpress website but when I change the site URL and Wordpress URL to https://, I get a "redirected you too many times" error. I also tried to add define('FORCE_SSL_ADMIN', true); in the wp-config.php file and guess what? The same thing happens again. I'm not sure what I am doing wrong but your help would be greatly appreciated... I tried this solution but it doesn't work but returns a 500 internal server error instead. A: I have recently solved my issue, I went on wordpress support, found my issue and how to fix it. I installed the SSL Insecure Content Fixer plugin and chose in the plugin settings for SSL Detection, the setting that was recommended. Then, I went to the settings and set my Wordpress and site URL to https://. This all together fixes the infinite redirect loop. A: What you can do is try to go to settings --> General and and change your Wordpress address site to a non-www URL if it has a www in it. Also, do not include a slash at the end. One more thing, if you have any plugins activated, disable all of them and enable them one by one and see if any of them are causing an error.
wordpress
{ "language": "en", "length": 230, "provenance": "stackexchange_00019.jsonl.gz:475768", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265403" }
[ 0.06890869140625, 0.0169525146484375, 0.0064849853515625, 0.0052337646484375, 0.031219482421875, -0.046783447265625, 0.057037353515625, -0.0457763671875, -0.008697509765625, 0.0037746429443359375, 0.004016876220703125, 0.007526397705078125, -0.005962371826171875, -0.042877197265625, 0.0196380615234375, -0.011383056640625, 0.0142974853515625, -0.013031005859375, -0.004413604736328125, -0.0106201171875, -0.007335662841796875, -0.005859375, 0.016571044921875, 0.01189422607421875, -0.004695892333984375, -0.0009598731994628906, 0.0771484375, -0.041534423828125, -0.009552001953125, -0.0391845703125, 0.0018310546875, 0.016510009765625, 0.0162200927734375, 0.0577392578125, -0.093994140625, -0.06597900390625, -0.004566192626953125, 0.0162353515625, -0.043670654296875, 0.05303955078125, -0.0013828277587890625, 0.013702392578125, 0.0904541015625, 0.01605224609375, 0.019073486328125, -0.030364990234375, 0.0169525146484375, -0.062164306640625, -0.0039825439453125, -0.01178741455078125, 0.033111572265625, -0.004512786865234375, 0.050201416015625, -0.00713348388671875, -0.0272369384765625, -0.016448974609375, 0.031341552734375, 0.0224761962890625, 0.009002685546875, -0.036895751953125, -0.037506103515625, 0.046173095703125, 0.0172119140625, 0.0247802734375, -0.025238037109375, -0.0022754669189453125, -0.01004791259765625, 0.0160369873046875, -0.0621337890625, -0.050872802734375, 0.0173492431640625, -0.026031494140625, -0.00489044189453125, -0.0159149169921875, -0.030181884765625, 0.002429962158203125, 0.0303802490234375, -0.0013561248779296875, 0.002105712890625, -0.00295257568359375, 0.0150604248046875, -0.01357269287109375, 0.0119171142578125, -0.006130218505859375, -0.00110626220703125, 0.019866943359375, -0.0115203857421875, -0.0146636962890625, -0.029754638671875, -0.0095672607421875, -0.0216522216796875, -0.00833892822265625, 0.0017223358154296875, -0.005382537841796875, -0.0271453857421875, -0.0065765380859375, 0.007030487060546875, 0.0185699462890625, 0.004268646240234375, 0.00017261505126953125, -0.0007810592651367188, -0.0292510986328125, 0.005329132080078125, -0.016876220703125, 0.0017290115356445312, 0.0205078125, -0.00812530517578125, 0.049896240234375, 0.052398681640625, 0.0310516357421875, 0.003582000732421875, -0.0029354095458984375, -0.00943756103515625, -0.0243988037109375, -0.007312774658203125, 0.016204833984375, -0.03057861328125, -0.0086517333984375, -0.0152587890625, 0.006702423095703125, -0.029327392578125, 0.0166778564453125, -0.04180908203125, -0.002468109130859375, -0.0229644775390625, -0.030731201171875, 0.031494140625, 0.003993988037109375, 0.0004856586456298828, -0.006771087646484375, -0.0295562744140625, 0.01024627685546875, 0.084228515625, 0.07586669921875, 0.0197906494140625, -0.005809783935546875, 0.07684326171875, -0.004077911376953125, -0.0295867919921875, 0.037872314453125, -0.0096588134765625, -0.037078857421875, -0.0439453125, -0.0255126953125, 0.070068359375, 0.0186004638671875, 0.01491546630859375, 0.01194000244140625, 0.04083251953125, -0.0023975372314453125, 0.01995849609375, -0.004276275634765625, 0.037445068359375, 0.014434814453125, -0.035980224609375, -0.00902557373046875, 0.011688232421875, -0.032196044921875, -0.01088714599609375, -0.05279541015625, -0.004764556884765625, -0.01131439208984375, 0.033721923828125, 0.00466156005859375, -0.00955963134765625, 0.0073699951171875, -0.031341552734375, -0.0037021636962890625, 0.0293731689453125, 0.01184844970703125, 0.01232147216796875, 0.01256561279296875, -0.0078125, 0.0112457275390625, 0.01031494140625, 0.004970550537109375, -0.002277374267578125, 0.04498291015625, 0.0259552001953125, 0.0264434814453125, 0.0213623046875, -0.0224456787109375, 0.100341796875, -0.0153656005859375, -0.0439453125, 0.029052734375, -0.01435089111328125, 0.0423583984375, 0.033172607421875, 0.0031452178955078125, -0.0188751220703125, 0.0012102127075195312, -0.00521087646484375, 0.019622802734375, -0.04046630859375, -0.05303955078125, -0.019073486328125, -0.0030498504638671875, -0.03009033203125, 0.02996826171875, -0.0089874267578125, -0.007503509521484375, -0.01500701904296875, -0.0021514892578125, 0.0321044921875, -0.033111572265625, 0.025115966796875, -0.0019445419311523438, 0.01290130615234375, 0.0140380859375, 0.0005741119384765625, -0.0189666748046875, -0.007579803466796875, 0.0005397796630859375, -0.006378173828125, 0.030609130859375, -0.018280029296875, 0.0171661376953125, -0.0041351318359375, 0.0301513671875, 0.002880096435546875, -0.01361846923828125, -0.0225830078125, -0.026580810546875, 0.0302581787109375, -0.01812744140625, -0.0248565673828125, -0.01439666748046875, 0.0247039794921875, 0.004459381103515625, -0.0236053466796875, 0.038055419921875, 0.026824951171875, 0.03472900390625, -0.03228759765625, 0.0027923583984375, -0.0225372314453125, -0.036285400390625, -0.01155853271484375, 0.039093017578125, 0.040130615234375, 0.0193939208984375, -0.024169921875, -0.034271240234375, 0.0111541748046875, -0.088623046875, 0.005462646484375, -0.006221771240234375, 0.0294189453125, -0.008453369140625, 0.031005859375, -0.04388427734375, 0.0288848876953125, -0.03240966796875, 0.034271240234375, 0.024383544921875, -0.0026760101318359375, -0.00618743896484375, 0.0073699951171875, -0.03118896484375, 0.03741455078125, -0.03973388671875, -0.07293701171875, -0.00270843505859375, -0.0225982666015625, -0.03167724609375, -0.0179290771484375, -0.027313232421875, 0.01094818115234375, -0.044647216796875, 0.01934814453125, -0.053009033203125, -0.009063720703125, 0.0288238525390625, 0.050994873046875, -0.039306640625, -0.027618408203125, 0.0160675048828125, -0.006259918212890625, 0.00664520263671875, -0.0284271240234375, 0.0092620849609375, -0.059478759765625, -0.011688232421875, -0.030975341796875, -0.0185394287109375, -0.004169464111328125, 0.0177459716796875, -0.01479339599609375, -0.009765625, 0.03326416015625, -0.00028896331787109375, -0.0274810791015625, 0.0159759521484375, -0.021026611328125, -0.02197265625, 0.037384033203125, -0.0367431640625, 0.0230865478515625, 0.00687408447265625, 0.08489990234375, 0.06683349609375, 0.005832672119140625, 0.0178070068359375, -0.0031375885009765625, -0.0171661376953125, -0.00905609130859375, -0.0104217529296875, -0.0330810546875, -0.0162506103515625, -0.0845947265625, -0.006328582763671875, 0.024871826171875, -0.038360595703125, 0.035125732421875, -0.0166015625, -0.0021514892578125, 0.0032863616943359375, -0.08197021484375, -0.07366943359375, -0.06591796875, -0.06622314453125, 0.023223876953125, 0.039337158203125, -0.004810333251953125, -0.00971221923828125, 0.07147216796875, 0.041290283203125, 0.027374267578125, -0.026641845703125, -0.0537109375, -0.05438232421875, -0.1014404296875, -0.017181396484375, -0.0027751922607421875, 0.03753662109375, 0.0011310577392578125, 0.01910400390625, 0.0028839111328125, -0.007282257080078125, 0.0082550048828125, 0.0220489501953125, -0.0120849609375, -0.0092926025390625, -0.04693603515625, 0.004398345947265625, 0.01385498046875, 0.00444793701171875, 0.0297698974609375, -0.01287078857421875, 0.0227813720703125, -0.01087188720703125, -0.013214111328125, -0.020751953125, 0.003314971923828125, -0.052093505859375, -0.00403594970703125, -0.032470703125, -0.0321044921875, -0.056640625, 0.039459228515625, 0.01641845703125, 0.0018634796142578125, -0.033233642578125, -0.01013946533203125, -0.049591064453125, 0.0194549560546875, -0.044921875, -0.0006651878356933594, 0.0187530517578125, 0.03363037109375, -0.022216796875, 0.056549072265625, -0.023712158203125, -0.034027099609375, -0.061798095703125, 0.035186767578125, -0.01422882080078125, -0.035186767578125, -0.01540374755859375, -0.01125335693359375, -0.027587890625, -0.007720947265625, -0.06024169921875, -0.06365966796875, 0.03363037109375, -0.037200927734375, 0.005889892578125, -0.02545166015625, -0.0219879150390625, 0.0010051727294921875, 0.10943603515625, -0.004642486572265625, 0.01654052734375, 0.00803375244140625, -0.0022106170654296875, -0.006740570068359375, -0.00330352783203125, -0.0675048828125, -0.0013742446899414062, -0.049407958984375, -0.0214080810546875, -0.005619049072265625, -0.041229248046875, 0.0228271484375, -0.061737060546875, -0.01139068603515625, -0.038848876953125, 0.0205841064453125, -0.013763427734375, 0.033843994140625, 0.00858306884765625, 0.0135345458984375, -0.024810791015625, -0.004695892333984375, -0.04412841796875, -0.07720947265625, -0.022552490234375, 0.01386260986328125, 0.0703125, -0.022247314453125, 0.01446533203125, -0.014923095703125, 0.05908203125, 0.03094482421875, 0.0289306640625, 0.0218963623046875, -0.0290069580078125, 0.05712890625, 0.0027332305908203125, 0.0250701904296875, -0.01471710205078125, -0.005680084228515625, 0.0034313201904296875, -0.045166015625, -0.000015854835510253906, -0.023956298828125, -0.0302276611328125, 0.0227813720703125, -0.042022705078125, -0.0499267578125, -0.010467529296875, -0.032440185546875, 0.00844573974609375, -0.0005850791931152344, -0.024261474609375, -0.01326751708984375, -0.06842041015625, 0.06964111328125, -0.032562255859375, -0.01039886474609375, -0.003139495849609375, 0.07672119140625, 0.00615692138671875, -0.01529693603515625, -0.0123138427734375, -0.00774383544921875, 0.0087127685546875, -0.0182037353515625, 0.07720947265625, 0.0268402099609375, 0.023345947265625, 0.059356689453125, -0.0257720947265625, -0.008941650390625, 0.0155181884765625, -0.0032215118408203125, 0.006763458251953125, -0.034149169921875, 0.01454925537109375, -0.014007568359375, 0.003070831298828125, 0.0306396484375, 0.0193634033203125, 0.01186370849609375, 0.01959228515625, -0.03582763671875, 0.0021724700927734375, -0.00894927978515625, 0.03631591796875, -0.0205841064453125, 0.01009368896484375, -0.0010309219360351562, 0.059051513671875, 0.0200347900390625, 0.0135345458984375, 0.0306549072265625, 0.04022216796875, -0.009033203125, -0.0621337890625, -0.0029125213623046875, -0.03839111328125, 0.020782470703125, -0.037261962890625, -0.03546142578125, -0.024505615234375, -0.024932861328125, 0.1151123046875, 0.043243408203125, -0.053009033203125, 0.06170654296875, -0.0221099853515625, -0.0355224609375, -0.005542755126953125, -0.0023059844970703125, 0.032440185546875, 0.0019168853759765625, -0.016815185546875, 0.000011146068572998047, -0.01479339599609375, -0.021942138671875, -0.0523681640625, 0.032073974609375, 0.005523681640625, 0.002349853515625, 0.033538818359375, 0.052825927734375, 0.064453125, 0.0297393798828125, -0.04034423828125, 0.01068878173828125, 0.0245208740234375, -0.0105133056640625, 0.01531219482421875, 0.030426025390625, 0.00885772705078125, -0.037384033203125, 0.03143310546875, -0.03839111328125, -0.034942626953125, 0.00353240966796875, 0.052825927734375, 0.0287933349609375, 0.00479888916015625, 0.00262451171875, -0.01055908203125, -0.0248565673828125, 0.0240325927734375, -0.00847625732421875, -0.04022216796875, -0.0226287841796875, -0.0010242462158203125, 0.0162506103515625, 0.00598907470703125, -0.02117919921875, 0.0335693359375, 0.00809478759765625, 0.0625, 0.023345947265625, 0.00621795654296875, 0.00824737548828125, -0.0091400146484375, 0.00208282470703125, -0.031524658203125, -0.0338134765625, -0.01055908203125, 0.01555633544921875, -0.02191162109375, 0.001949310302734375, 0.035400390625, -0.033050537109375, 0.00670623779296875, 0.017120361328125, -0.007038116455078125, 0.01947021484375, 0.03790283203125, -0.013946533203125, -0.021942138671875, -0.0026092529296875, -0.005779266357421875, -0.0306243896484375, -0.01409912109375, 0.033172607421875, 0.0033359527587890625, -0.0069580078125, -0.01247406005859375, 0.037078857421875, 0.0330810546875, -0.01459503173828125, -0.0482177734375, -0.02484130859375, 0.0045928955078125, 0.033172607421875, 0.0298614501953125, -0.020233154296875, 0.003082275390625, 0.05133056640625, 0.036407470703125, 0.01514434814453125, -0.0165557861328125, -0.0125885009765625, -0.024658203125, 0.0102996826171875, -0.06488037109375, -0.011688232421875, -0.035980224609375, 0.01190948486328125, 0.0306396484375, 0.0245361328125, -0.007320404052734375, 0.0091705322265625, -0.0087890625, 0.0045318603515625, 0.0019216537475585938, 0.01361083984375, 0.0310821533203125, 0.01459503173828125, 0.06439208984375, 0.02020263671875, 0.03564453125, -0.02813720703125, -0.00789642333984375, -0.0017452239990234375, 0.01221466064453125, -0.00591278076171875, -0.015533447265625, -0.00506591796875, 0.019317626953125, 0.05206298828125, -0.01447296142578125, 0.039947509765625, 0.038360595703125, 0.01092529296875, 0.0225677490234375, 0.0231170654296875, -0.040191650390625, 0.003734588623046875, 0.01025390625, -0.001468658447265625, -0.007297515869140625, -0.0027065277099609375, -0.01885986328125, 0.01209259033203125, 0.08721923828125, 0.06793212890625, -0.110107421875, -0.01177978515625, 0.00689697265625, -0.0419921875, -0.014190673828125, -0.01336669921875, -0.0175323486328125, -0.002048492431640625, 0.033966064453125, -0.026123046875, -0.037353515625, 0.004238128662109375, 0.0215301513671875, -0.022369384765625, -0.0036029815673828125, 0.06854248046875, 0.00870513916015625, -0.060516357421875, -0.0017147064208984375, 0.0154876708984375, -0.0167999267578125, 0.01020050048828125, 0.006439208984375, 0.00018835067749023438, -0.0286865234375, -0.058837890625, -0.035125732421875, -0.0335693359375, -0.0218048095703125, 0.037567138671875, 0.03375244140625, 0.0168609619140625, 0.06805419921875, 0.00806427001953125, 0.00852203369140625, 0.0361328125, -0.016998291015625, 0.058685302734375, -0.052764892578125, -0.0008063316345214844, 0.004505157470703125, -0.06524658203125, 0.005359649658203125, -0.0036563873291015625, -0.01377105712890625, 0.0009222030639648438, 0.0161590576171875, 0.039520263671875, -0.0283203125, -0.0128173828125, 0.0548095703125, -0.019012451171875, -0.043182373046875, 0.0007309913635253906, 0.04083251953125, -0.030364990234375, 0.004161834716796875, 0.02020263671875, 0.00027108192443847656, -0.0247344970703125, 0.01001739501953125, -0.0308380126953125, 0.087158203125, -0.003421783447265625, 0.01317596435546875, 0.0219879150390625, 0.03759765625, -0.026947021484375, 0.033111572265625, 0.0180206298828125, 0.035919189453125, 0.050811767578125, -0.03204345703125, -0.004108428955078125, -0.0199737548828125, -0.0212554931640625, 0.07012939453125, 0.0916748046875, 0.013885498046875, -0.052276611328125, 0.01207733154296875, 0.0924072265625, 0.037200927734375, 0.0008072853088378906, 0.04620361328125, -0.0004916191101074219, 0.00653076171875, 0.05584716796875, -0.016998291015625, 0.0322265625, -0.0045928955078125, -0.005825042724609375, 0.0019426345825195312, 0.0167236328125, -0.0101318359375, -0.00296783447265625, -0.005855560302734375, -0.061859130859375, 0.0147857666015625, 0.03558349609375, 0.028594970703125, 0.0200042724609375, 0.00412750244140625, -0.032562255859375, -0.0084381103515625, 0.049591064453125, -0.04736328125, 0.032318115234375, -0.04949951171875, -0.01537322998046875, 0.002140045166015625, 0.0022068023681640625, 0.0184326171875, 0.0177001953125, -0.0157012939453125, 0.056915283203125, 0.00754547119140625, 0.037841796875, 0.0159149169921875, 0.01393890380859375, -0.0055999755859375, 0.03204345703125, 0.017669677734375, 0.048553466796875, -0.038299560546875, -0.02392578125, 0.0011892318725585938, 0.0116119384765625, 0.037750244140625, -0.010284423828125, 0.035064697265625, -0.00855255126953125, 0.0035247802734375, 0.00797271728515625, 0.005336761474609375, 0.037994384765625, -0.022674560546875, 0.02679443359375, 0.07012939453125, -0.0445556640625, 0.03070068359375, -0.022430419921875, -0.045928955078125, 0.0144195556640625, 0.071533203125, 0.050506591796875, 0.027435302734375, -0.0009975433349609375, -0.037689208984375, 0.00533294677734375, 0.0020999908447265625, 0.01432037353515625, -0.019439697265625, -0.0059356689453125, -0.025604248046875, 0.03106689453125, 0.0305328369140625, 0.0195465087890625, 0.0005273818969726562, 0.020233154296875, 0.031097412109375, -0.0032596588134765625, -0.0105133056640625, 0.0173492431640625, -0.01346588134765625, 0.0380859375, -0.04132080078125, -0.00980377197265625, -0.01605224609375, -0.0292816162109375, -0.00525665283203125, -0.052978515625, 0.04937744140625, 0.039794921875, 0.01296234130859375, 0.016204833984375, -0.00580596923828125, 0.00662994384765625, 0.005641937255859375, 0.037872314453125, 0.05950927734375, -0.05133056640625, -0.00839996337890625, 0.0147857666015625, -0.04949951171875, 0.00696563720703125, 0.0288848876953125, -0.03118896484375, 0.015869140625, -0.009490966796875, -0.039794921875, 0.043914794921875, 0.02679443359375, -0.0225830078125, 0.02044677734375, 0.021881103515625, -0.0313720703125, -0.01369476318359375, -0.002292633056640625, 0.01276397705078125, 0.03253173828125, 0.0025577545166015625, 0.042877197265625, -0.00963592529296875, 0.006175994873046875, -0.02117919921875, -0.053619384765625, 0.05120849609375, 0.0149993896484375, -0.0245208740234375, 0.040740966796875, -0.0215301513671875, -0.0335693359375, -0.07147216796875, 0.0139007568359375, 0.017669677734375, -0.04473876953125, 0.035858154296875, 0.006870269775390625, 0.005985260009765625, -0.043548583984375, -0.00009769201278686523, -0.057220458984375, -0.06951904296875, -0.04931640625, 0.034942626953125, -0.02032470703125, -0.01200103759765625, -0.006011962890625, 0.034210205078125, -0.0234832763671875, -0.007114410400390625, 0.0083160400390625, -0.0293731689453125, -0.029998779296875, 0.0025806427001953125, -0.0164794921875, -0.02996826171875, 0.003017425537109375, -0.013092041015625, -0.01312255859375, 0.0061798095703125, 0.017364501953125, -0.003871917724609375, 0.00688934326171875, -0.04779052734375, 0.004547119140625, -0.0222015380859375, -0.028656005859375, 0.005176544189453125, 0.0146484375, -0.0310516357421875, -0.025238037109375, 0.01148223876953125, -0.001842498779296875, 0.002826690673828125, -0.0242462158203125, -0.01485443115234375, 0.0118255615234375, -0.047760009765625, 0.0052490234375, 0.004413604736328125, 0.0164794921875, -0.013946533203125, -0.0152130126953125, -0.01873779296875, -0.030609130859375, 0.056304931640625, -0.0225067138671875, 0.0066375732421875, 0.0199432373046875, 0.036102294921875, -0.07061767578125, -0.045257568359375, -0.0228118896484375, 0.018096923828125, -0.07489013671875, 0.004467010498046875, 0.043731689453125, -0.01412200927734375, -0.0012483596801757812, -0.041900634765625, -0.004123687744140625, 0.0025691986083984375, -0.06939697265625, 0.01403045654296875, 0.036834716796875, 0.0164642333984375, -0.04998779296875, -0.08184814453125, 0.017364501953125, -0.040618896484375, -0.00789642333984375, -0.01372528076171875, 0.013458251953125, 0.005340576171875, -0.040618896484375, -0.08563232421875, 0.049102783203125, -0.019622802734375, -0.0240325927734375, -0.04034423828125, -0.025787353515625, -0.035430908203125, 0.05889892578125, 0.0020580291748046875, -0.031280517578125, -0.01544952392578125, 0.038604736328125, 0.016448974609375, -0.0008716583251953125, -0.0161590576171875, 0.032012939453125, -0.0186004638671875, 0.05657958984375, 0.049652099609375, -0.005283355712890625, 0.002132415771484375, -0.006435394287109375, 0.03619384765625, 0.06353759765625, -0.004352569580078125, -0.024200439453125, 0.0157318115234375, -0.04864501953125, 0.0254669189453125, -0.007343292236328125, -0.03070068359375, -0.03857421875, 0.0098419189453125, 0.0023403167724609375, 0.003997802734375, 0.00783538818359375, -0.07122802734375, -0.023834228515625, 0.01084136962890625, -0.01399993896484375, 0.0185546875, -0.05816650390625, 0.0184326171875, -0.0161895751953125, -0.0152435302734375, 0.007434844970703125, -0.0038242340087890625, -0.03240966796875, 0.01052093505859375, 0.00986480712890625, -0.016326904296875, 0.0027790069580078125, -0.0019989013671875, 0.07513427734375, -0.037506103515625, 0.007808685302734375, -0.01090240478515625, 0.0230712890625, 0.0292205810546875, -0.0243072509765625, 0.0191802978515625, 0.040008544921875, -0.03741455078125, -0.01107025146484375, 0.00901031494140625, 0.0212860107421875, -0.0236358642578125, -0.0227508544921875, -0.0022640228271484375, 0.01477813720703125, -0.01142120361328125, 0.0166473388671875, -0.00012230873107910156, 0.00595855712890625, -0.01369476318359375, 0.049041748046875, -0.0018148422241210938, 0.01039886474609375, -0.00469207763671875, 0.0482177734375, -0.01001739501953125, -0.0106048583984375, 0.01259613037109375, -0.038543701171875, 0.01885986328125, 0.043182373046875, 0.0023326873779296875, 0.025848388671875, -0.01058197021484375, -0.0391845703125, -0.0028533935546875, -0.0174102783203125 ]
016b3cf056f545165603362b60e3f1aad5fdf141
Wordpress Stackexchange Q: Creating directory in uploads: mkdir vs wp_mkdir_p $file_dir = WP_CONTENT_DIR . '/uploads/foo/'; Why would you need to use wp_mkdir_p when mkdir can do its job here? if(!file_exists($file_dir))wp_mkdir_p($file_dir); or if(!file_exists($file_dir))mkdir($file_dir); A: There is not much a difference but, for wp_mkdir_p() we can only pass the full path to attempt to create a folder. It is recursive directory creation function which check for the file_exists() or not. And moreover we don't need to pass the folder permission because it checks for the parent directory permission and sets the folder permission as that of the parent directory. But, with mkdir() we need to check for the file_exists() function before creating a directory and the directory permission will be set as the permission defined by the WordPress itself during the setup.
Q: Creating directory in uploads: mkdir vs wp_mkdir_p $file_dir = WP_CONTENT_DIR . '/uploads/foo/'; Why would you need to use wp_mkdir_p when mkdir can do its job here? if(!file_exists($file_dir))wp_mkdir_p($file_dir); or if(!file_exists($file_dir))mkdir($file_dir); A: There is not much a difference but, for wp_mkdir_p() we can only pass the full path to attempt to create a folder. It is recursive directory creation function which check for the file_exists() or not. And moreover we don't need to pass the folder permission because it checks for the parent directory permission and sets the folder permission as that of the parent directory. But, with mkdir() we need to check for the file_exists() function before creating a directory and the directory permission will be set as the permission defined by the WordPress itself during the setup.
wordpress
{ "language": "en", "length": 128, "provenance": "stackexchange_00019.jsonl.gz:475776", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265428" }
[ 0.0155487060546875, -0.017181396484375, -0.0249481201171875, -0.0467529296875, -0.000006020069122314453, -0.0198974609375, 0.0050506591796875, 0.0233154296875, 0.004978179931640625, 0.02166748046875, -0.009063720703125, 0.004268646240234375, 0.042572021484375, -0.032684326171875, 0.0104217529296875, 0.00730133056640625, 0.002857208251953125, -0.01456451416015625, 0.0240325927734375, -0.03204345703125, 0.024871826171875, -0.0292510986328125, 0.019744873046875, 0.0120849609375, -0.0154266357421875, -0.0178070068359375, 0.003284454345703125, -0.01030731201171875, -0.03460693359375, -0.045013427734375, -0.010467529296875, 0.06805419921875, 0.0204010009765625, 0.00824737548828125, 0.0195465087890625, 0.06292724609375, 0.00957489013671875, 0.0133056640625, 0.042327880859375, -0.0258026123046875, 0.0264739990234375, -0.0080108642578125, 0.01739501953125, -0.0269012451171875, -0.005222320556640625, -0.01212310791015625, 0.004070281982421875, -0.0122528076171875, 0.0275115966796875, 0.0313720703125, 0.0017518997192382812, 0.007450103759765625, 0.003574371337890625, -0.029510498046875, 0.01065826416015625, 0.008544921875, 0.0268402099609375, -0.0133209228515625, 0.032562255859375, -0.041412353515625, -0.03875732421875, -0.00005453824996948242, 0.0302734375, 0.0198822021484375, 0.01222991943359375, 0.019805908203125, 0.0028839111328125, 0.0267791748046875, -0.07598876953125, -0.00955963134765625, 0.01299285888671875, -0.052032470703125, 0.019073486328125, -0.0465087890625, -0.0007443428039550781, -0.005611419677734375, -0.034393310546875, -0.046661376953125, 0.03338623046875, -0.0012655258178710938, 0.003955841064453125, -0.01415252685546875, 0.00262451171875, -0.03680419921875, 0.0228118896484375, -0.00677490234375, 0.0027294158935546875, -0.01263427734375, -0.0204620361328125, 0.0261688232421875, -0.01103973388671875, -0.0103912353515625, 0.024871826171875, -0.0012483596801757812, -0.01351165771484375, -0.033935546875, 0.02337646484375, 0.032989501953125, -0.03662109375, -0.005924224853515625, -0.0020427703857421875, -0.0306396484375, 0.023590087890625, -0.035797119140625, 0.041015625, 0.060455322265625, -0.01291656494140625, -0.062469482421875, 0.0232391357421875, -0.0060882568359375, -0.0028781890869140625, 0.021209716796875, 0.005847930908203125, -0.0732421875, -0.0011548995971679688, 0.057861328125, 0.00940704345703125, 0.01953125, 0.032012939453125, 0.01154327392578125, -0.0204010009765625, 0.0011339187622070312, 0.0094757080078125, -0.01255035400390625, 0.0282745361328125, 0.00945281982421875, -0.025482177734375, 0.0097503662109375, -0.01110076904296875, 0.0472412109375, -0.0147247314453125, 0.0009889602661132812, 0.0276641845703125, -0.023956298828125, -0.0328369140625, -0.01428985595703125, 0.0123748779296875, -0.0005888938903808594, 0.007228851318359375, 0.0294189453125, -0.0065765380859375, -0.0411376953125, 0.01129913330078125, -0.00478363037109375, -0.046600341796875, 0.05511474609375, 0.01299285888671875, -0.00839996337890625, -0.02532958984375, -0.08746337890625, -0.0208587646484375, -0.0215606689453125, 0.0131683349609375, 0.005855560302734375, 0.0021953582763671875, -0.053192138671875, -0.0276031494140625, -0.0293121337890625, 0.05377197265625, -0.029449462890625, 0.029083251953125, -0.01090240478515625, 0.007068634033203125, -0.017120361328125, -0.02886962890625, -0.01244354248046875, -0.048828125, -0.00864410400390625, 0.027313232421875, 0.0021228790283203125, 0.0229949951171875, -0.03179931640625, -0.0064544677734375, -0.005916595458984375, -0.0025577545166015625, 0.021728515625, 0.0465087890625, -0.010040283203125, 0.007579803466796875, 0.0640869140625, -0.0125885009765625, -0.0289154052734375, 0.030609130859375, -0.024017333984375, -0.0271148681640625, 0.0229034423828125, 0.0004253387451171875, 0.003574371337890625, -0.00665283203125, -0.002811431884765625, 0.0270233154296875, 0.04180908203125, -0.031280517578125, 0.016082763671875, 0.0022716522216796875, -0.0236663818359375, 0.000957489013671875, -0.01258087158203125, 0.003955841064453125, -0.019012451171875, 0.0129547119140625, -0.008209228515625, 0.019866943359375, 0.007495880126953125, 0.020904541015625, -0.01641845703125, 0.00807952880859375, 0.0019283294677734375, -0.0213165283203125, -0.0073699951171875, 0.0077667236328125, -0.021240234375, 0.00650787353515625, -0.07421875, -0.026824951171875, -0.0180816650390625, -0.03973388671875, 0.024749755859375, -0.0224456787109375, 0.07965087890625, -0.047332763671875, -0.0296630859375, -0.038299560546875, -0.024169921875, 0.034393310546875, 0.0188751220703125, -0.028167724609375, -0.0031890869140625, 0.027099609375, 0.01326751708984375, -0.01381683349609375, 0.01482391357421875, -0.0136260986328125, -0.01227569580078125, -0.0188446044921875, -0.0239410400390625, -0.006443023681640625, -0.09124755859375, 0.032623291015625, 0.060546875, 0.042236328125, 0.050384521484375, 0.01342010498046875, 0.0109710693359375, 0.07305908203125, -0.054168701171875, -0.0029697418212890625, -0.0097198486328125, -0.0244903564453125, 0.018402099609375, 0.0222625732421875, -0.00047969818115234375, -0.01287078857421875, -0.07183837890625, -0.03668212890625, 0.0246429443359375, -0.038238525390625, -0.0296783447265625, 0.007144927978515625, 0.0007309913635253906, -0.006591796875, -0.033599853515625, 0.008575439453125, -0.02471923828125, -0.0281219482421875, 0.0204010009765625, -0.0098114013671875, -0.00965118408203125, -0.00982666015625, 0.01280975341796875, 0.01500701904296875, -0.05615234375, -0.0025348663330078125, 0.0516357421875, 0.0162200927734375, -0.0081024169921875, -0.0159759521484375, -0.01483154296875, 0.005184173583984375, 0.0199127197265625, -0.041717529296875, 0.0016317367553710938, -0.033966064453125, -0.0169830322265625, -0.0254364013671875, -0.02593994140625, 0.01708984375, -0.00846099853515625, 0.0163421630859375, -0.014892578125, 0.0226898193359375, 0.0160675048828125, -0.0160675048828125, 0.0455322265625, -0.005916595458984375, -0.0223236083984375, 0.03814697265625, 0.027984619140625, -0.00649261474609375, 0.0139923095703125, 0.004718780517578125, 0.02392578125, 0.0033626556396484375, -0.0216064453125, 0.0156402587890625, 0.0286865234375, 0.0226898193359375, 0.0303192138671875, 0.00658416748046875, -0.02447509765625, -0.0269622802734375, -0.03851318359375, 0.01514434814453125, -0.0149383544921875, 0.006107330322265625, -0.01207733154296875, -0.023284912109375, 0.00589752197265625, -0.079833984375, -0.07049560546875, 0.028106689453125, -0.06622314453125, 0.0357666015625, 0.0205535888671875, -0.0239105224609375, -0.05511474609375, 0.07470703125, 0.0022487640380859375, -0.042449951171875, 0.004665374755859375, 0.0023326873779296875, -0.0310821533203125, -0.01116180419921875, -0.0042877197265625, -0.003696441650390625, -0.007785797119140625, -0.0014333724975585938, 0.04833984375, -0.006618499755859375, -0.0601806640625, -0.040924072265625, 0.0595703125, -0.006130218505859375, -0.00555419921875, 0.0039005279541015625, 0.0085296630859375, -0.01178741455078125, 0.0005817413330078125, 0.016357421875, 0.01216888427734375, -0.0244903564453125, -0.01451873779296875, -0.0232391357421875, 0.003993988037109375, -0.019989013671875, 0.073974609375, 0.037200927734375, -0.033355712890625, 0.0130767822265625, -0.0609130859375, -0.007129669189453125, -0.012786865234375, -0.036407470703125, 0.0206298828125, 0.003406524658203125, 0.005168914794921875, 0.0103302001953125, 0.0122833251953125, 0.0248260498046875, 0.0394287109375, -0.0104217529296875, -0.00017893314361572266, 0.06475830078125, -0.015960693359375, 0.003299713134765625, -0.0232391357421875, 0.03936767578125, -0.020050048828125, -0.021697998046875, 0.003368377685546875, -0.022735595703125, -0.041259765625, 0.003265380859375, -0.054718017578125, -0.031494140625, 0.0174407958984375, -0.0540771484375, 0.03131103515625, -0.056854248046875, 0.0065155029296875, -0.050750732421875, 0.04608154296875, 0.0089263916015625, -0.013641357421875, -0.02166748046875, 0.02117919921875, -0.062042236328125, -0.08251953125, -0.0233306884765625, 0.018707275390625, -0.007251739501953125, -0.0068511962890625, -0.0131072998046875, -0.02032470703125, 0.00670623779296875, -0.1031494140625, -0.00438690185546875, -0.028106689453125, 0.039764404296875, -0.048858642578125, 0.0207366943359375, 0.01407623291015625, 0.03375244140625, -0.0283660888671875, -0.0053558349609375, -0.0423583984375, -0.11322021484375, -0.01873779296875, -0.01226043701171875, 0.060882568359375, -0.022918701171875, 0.040252685546875, -0.03485107421875, 0.07220458984375, 0.01276397705078125, 0.01059722900390625, 0.00439453125, -0.0016660690307617188, -0.00345611572265625, -0.0211181640625, 0.0161895751953125, -0.035430908203125, 0.018463134765625, -0.05853271484375, -0.0732421875, -0.07757568359375, -0.05133056640625, 0.0207366943359375, -0.0225677490234375, -0.0192108154296875, -0.01503753662109375, -0.017608642578125, -0.08990478515625, 0.0115814208984375, -0.0258636474609375, -0.022491455078125, -0.0560302734375, -0.0556640625, 0.056121826171875, -0.036407470703125, 0.01396942138671875, -0.019439697265625, 0.1038818359375, 0.0159759521484375, -0.01068115234375, 0.004039764404296875, -0.011444091796875, 0.0263214111328125, -0.0220184326171875, 0.07513427734375, 0.075439453125, 0.00936126708984375, -0.0208282470703125, 0.026031494140625, -0.006824493408203125, 0.0259552001953125, 0.035430908203125, -0.0035648345947265625, -0.0214385986328125, -0.01091766357421875, -0.0146331787109375, -0.0038604736328125, 0.01739501953125, -0.00736236572265625, 0.0279998779296875, -0.01175689697265625, 0.006084442138671875, 0.0226287841796875, -0.056488037109375, -0.03277587890625, -0.05963134765625, 0.028961181640625, -0.022613525390625, 0.02996826171875, -0.018096923828125, 0.015228271484375, 0.03155517578125, 0.0217437744140625, 0.0013017654418945312, 0.0165863037109375, 0.00742340087890625, 0.01512908935546875, 0.0202789306640625, 0.056060791015625, 0.01259613037109375, -0.022247314453125, 0.003978729248046875, 0.0015811920166015625, 0.0095062255859375, -0.002498626708984375, -0.026947021484375, 0.01015472412109375, 0.03619384765625, -0.017120361328125, -0.00936126708984375, 0.036346435546875, -0.01459503173828125, -0.0218505859375, -0.016754150390625, -0.040313720703125, -0.04302978515625, -0.054779052734375, -0.01422119140625, 0.01003265380859375, -0.0272064208984375, 0.002490997314453125, -0.0024051666259765625, 0.0186920166015625, -0.028900146484375, -0.00982666015625, 0.030303955078125, 0.04248046875, 0.0186767578125, -0.0006999969482421875, -0.00690460205078125, 0.004421234130859375, -0.0010766983032226562, 0.0253448486328125, -0.044586181640625, -0.021728515625, 0.003971099853515625, 0.041412353515625, -0.02923583984375, -0.01959228515625, 0.0423583984375, 0.000005066394805908203, 0.004390716552734375, -0.04400634765625, -0.058868408203125, -0.01358795166015625, 0.006252288818359375, -0.0104522705078125, -0.01184844970703125, -0.016021728515625, -0.01125335693359375, 0.0140228271484375, -0.0416259765625, -0.01000213623046875, 0.03033447265625, -0.05291748046875, -0.00018024444580078125, 0.01526641845703125, -0.003025054931640625, -0.0212554931640625, 0.0160064697265625, -0.01245880126953125, 0.032318115234375, -0.04510498046875, -0.03955078125, 0.052978515625, -0.02508544921875, -0.0021114349365234375, -0.016082763671875, 0.005222320556640625, -0.035369873046875, 0.0164794921875, 0.041595458984375, 0.0253143310546875, -0.04180908203125, -0.01043701171875, -0.04937744140625, -0.004489898681640625, -0.0029964447021484375, -0.027801513671875, -0.0191497802734375, -0.00478363037109375, -0.0217132568359375, 0.00682830810546875, 0.01232147216796875, 0.03497314453125, -0.01702880859375, 0.0272979736328125, -0.0038547515869140625, 0.01166534423828125, -0.02734375, 0.015960693359375, 0.00244903564453125, 0.006305694580078125, -0.0046539306640625, -0.00820159912109375, 0.02105712890625, -0.01751708984375, -0.001251220703125, -0.047943115234375, -0.0212249755859375, -0.0294342041015625, 0.034698486328125, 0.0408935546875, 0.0323486328125, 0.0002090930938720703, 0.0265655517578125, -0.0021419525146484375, -0.008026123046875, -0.0169219970703125, 0.010040283203125, -0.00547027587890625, 0.0380859375, -0.00702667236328125, -0.0167083740234375, 0.052947998046875, 0.00499725341796875, -0.00006592273712158203, 0.0295867919921875, -0.035308837890625, 0.04034423828125, 0.031494140625, -0.0264434814453125, 0.07061767578125, 0.06787109375, -0.020050048828125, 0.0218048095703125, 0.00843048095703125, -0.00890350341796875, 0.005405426025390625, 0.018768310546875, 0.0133819580078125, 0.001720428466796875, 0.09893798828125, 0.031402587890625, -0.0281219482421875, 0.0614013671875, -0.04290771484375, 0.01149749755859375, 0.0193023681640625, 0.050323486328125, -0.0205841064453125, -0.0141754150390625, 0.004344940185546875, -0.01306915283203125, 0.0182037353515625, -0.006130218505859375, 0.011383056640625, -0.0134124755859375, 0.060760498046875, -0.0208587646484375, 0.00782012939453125, 0.033935546875, -0.0286102294921875, -0.029571533203125, -0.0019245147705078125, -0.0018091201782226562, 0.01021575927734375, 0.0167236328125, -0.0019550323486328125, -0.01397705078125, -0.0089874267578125, 0.01099395751953125, 0.0119476318359375, -0.04010009765625, -0.01236724853515625, -0.027862548828125, -0.0179290771484375, -0.038360595703125, -0.019287109375, 0.01499176025390625, -0.005374908447265625, 0.07061767578125, 0.04638671875, 0.01447296142578125, -0.022247314453125, 0.0227203369140625, 0.0172271728515625, -0.035064697265625, -0.019805908203125, 0.02532958984375, 0.013885498046875, -0.06298828125, 0.0201263427734375, -0.04083251953125, 0.00008469820022583008, 0.011016845703125, 0.01540374755859375, 0.03619384765625, -0.06512451171875, -0.0028591156005859375, 0.040252685546875, -0.01100921630859375, -0.003734588623046875, -0.0023517608642578125, 0.036773681640625, -0.08251953125, -0.05419921875, 0.00847625732421875, -0.0428466796875, 0.0052490234375, 0.010345458984375, -0.0269012451171875, 0.0989990234375, -0.01290130615234375, 0.0148162841796875, 0.04248046875, 0.040618896484375, -0.03924560546875, 0.0197296142578125, -0.037994384765625, 0.0165557861328125, 0.03314208984375, -0.01297760009765625, -0.06365966796875, -0.005741119384765625, -0.0504150390625, 0.024932861328125, 0.07293701171875, 0.007965087890625, -0.0099639892578125, -0.022247314453125, 0.037567138671875, 0.0159149169921875, -0.02520751953125, 0.043975830078125, -0.0009365081787109375, -0.00511932373046875, 0.0163421630859375, -0.012176513671875, 0.01062774658203125, 0.0038127899169921875, -0.03582763671875, 0.0243682861328125, 0.005168914794921875, -0.01861572265625, 0.01367950439453125, -0.0028972625732421875, -0.0504150390625, 0.01558685302734375, 0.0258331298828125, 0.0130615234375, -0.0238800048828125, 0.033111572265625, 0.06512451171875, -0.0782470703125, -0.053985595703125, -0.0241546630859375, 0.049346923828125, 0.02557373046875, 0.0233001708984375, -0.010528564453125, 0.00231170654296875, 0.01995849609375, 0.037628173828125, 0.0064239501953125, 0.0638427734375, -0.025360107421875, 0.03375244140625, 0.0213623046875, 0.01105499267578125, -0.007572174072265625, 0.0183258056640625, 0.00472259521484375, 0.0278778076171875, -0.03009033203125, -0.036834716796875, 0.0148162841796875, -0.01824951171875, -0.0207366943359375, -0.0034332275390625, -0.0275726318359375, -0.018463134765625, 0.01580810546875, -0.056182861328125, 0.0028285980224609375, 0.032012939453125, 0.025848388671875, -0.0245513916015625, -0.05328369140625, -0.011932373046875, 0.002407073974609375, -0.006809234619140625, -0.0244903564453125, 0.00547027587890625, 0.01540374755859375, 0.0036754608154296875, 0.0257415771484375, -0.0163726806640625, -0.006458282470703125, 0.0021820068359375, 0.05157470703125, -0.006824493408203125, 0.0103759765625, -0.0472412109375, -0.0755615234375, 0.037261962890625, 0.03857421875, 0.045745849609375, 0.05902099609375, 0.05755615234375, 0.025848388671875, 0.0225372314453125, 0.02252197265625, 0.006275177001953125, -0.0171966552734375, 0.007476806640625, -0.0232391357421875, 0.0189361572265625, 0.01064300537109375, -0.00859832763671875, -0.0243072509765625, 0.041290283203125, 0.024566650390625, -0.01099395751953125, 0.01500701904296875, -0.0062103271484375, -0.0567626953125, 0.02423095703125, -0.02978515625, 0.09521484375, -0.00777435302734375, 0.0005974769592285156, 0.01427459716796875, -0.0272674560546875, 0.027099609375, -0.0005130767822265625, 0.029052734375, 0.02520751953125, 0.0070037841796875, 0.02520751953125, -0.007564544677734375, 0.005016326904296875, 0.0131988525390625, 0.00013494491577148438, 0.01538848876953125, 0.049530029296875, 0.015106201171875, -0.040435791015625, -0.0174560546875, -0.01258087158203125, 0.025299072265625, 0.027618408203125, 0.09088134765625, -0.026580810546875, 0.023162841796875, 0.043212890625, 0.0225677490234375, -0.03338623046875, 0.0251312255859375, 0.06982421875, -0.0423583984375, -0.02532958984375, -0.01058197021484375, 0.027252197265625, -0.009368896484375, 0.025634765625, -0.060546875, -0.0364990234375, -0.0009660720825195312, 0.03076171875, 0.033905029296875, 0.0181732177734375, -0.0264892578125, -0.0341796875, -0.03533935546875, 0.00103759765625, 0.032623291015625, 0.0285797119140625, -0.033416748046875, 0.01275634765625, -0.038543701171875, -0.03155517578125, 0.045989990234375, -0.032501220703125, 0.04168701171875, 0.0170440673828125, -0.0174713134765625, -0.048309326171875, -0.047271728515625, -0.0238494873046875, -0.040252685546875, -0.004547119140625, 0.0184326171875, -0.026092529296875, -0.021759033203125, -0.030364990234375, -0.0022373199462890625, 0.01232147216796875, -0.0104522705078125, 0.002635955810546875, -0.0195465087890625, -0.0083160400390625, 0.0066375732421875, -0.0406494140625, -0.01885986328125, -0.0200042724609375, -0.0033721923828125, 0.022308349609375, -0.0149688720703125, -0.0103607177734375, -0.028717041015625, 0.0015535354614257812, 0.0390625, 0.0235595703125, -0.08074951171875, 0.05853271484375, -0.023651123046875, -0.000002384185791015625, 0.011077880859375, 0.062286376953125, -0.029022216796875, -0.01065826416015625, -0.042449951171875, -0.0311737060546875, -0.0157012939453125, 0.059906005859375, 0.00843048095703125, 0.0439453125, 0.032623291015625, -0.05096435546875, -0.01145172119140625, 0.06683349609375, 0.04571533203125, 0.10919189453125, 0.042694091796875, -0.046722412109375, -0.03631591796875, -0.0202484130859375, 0.018646240234375, 0.0097198486328125, 0.0318603515625, -0.07000732421875, -0.0693359375, -0.0325927734375, -0.0026721954345703125, -0.01141357421875, -0.05133056640625, -0.0445556640625, 0.009063720703125, -0.0018186569213867188, -0.028839111328125, -0.005157470703125, -0.005207061767578125, -0.04217529296875, 0.08209228515625, 0.014068603515625, -0.0115203857421875, 0.032623291015625, 0.0418701171875, 0.0158233642578125, 0.006015777587890625, 0.035400390625, 0.00911712646484375, -0.0379638671875, -0.0034809112548828125, -0.0101470947265625, 0.0053863525390625, -0.0010881423950195312, 0.006015777587890625, 0.00433349609375, 0.0595703125, 0.0128173828125, -0.0010356903076171875, -0.0049285888671875, -0.0782470703125, -0.0198516845703125, 0.00406646728515625, -0.026275634765625, -0.002971649169921875, 0.065673828125, 0.07464599609375, 0.01479339599609375, -0.03143310546875, -0.05841064453125, -0.056365966796875, -0.01323699951171875, 0.0135498046875, 0.0174713134765625, -0.037872314453125, 0.0484619140625, 0.0179595947265625, 0.014068603515625, -0.037322998046875, -0.00792694091796875, -0.0169525146484375, -0.0197906494140625, 0.0027599334716796875, -0.007045745849609375, 0.015777587890625, -0.0270233154296875, 0.0772705078125, -0.03204345703125, 0.0025634765625, 0.0019702911376953125, 0.0240020751953125, 0.03106689453125, 0.01146697998046875, 0.00646209716796875, 0.058135986328125, -0.031219482421875, -0.012115478515625, 0.017333984375, -0.00374603271484375, -0.003612518310546875, 0.00681304931640625, 0.037200927734375, -0.01142120361328125, -0.0279998779296875, -0.01678466796875, -0.010955810546875, 0.049163818359375, -0.0401611328125, 0.08538818359375, 0.0199432373046875, 0.03570556640625, -0.0276641845703125, 0.05517578125, 0.006473541259765625, -0.0242919921875, 0.0029773712158203125, 0.0136871337890625, 0.002582550048828125, -0.0185089111328125, -0.023529052734375, -0.04949951171875, 0.035247802734375, -0.0194091796875, -0.01375579833984375, 0.0259246826171875 ]
9342237a82dee88973e17c63313860bd7cb023ae
Wordpress Stackexchange Q: Wordpress database becoming huge. How to analyze and optimize it? fear of running out of memory look at the size of my wordpress database tables: are there simple ways to optimize it? I fear of running out of memory one day maybe bad collation? how can I analyze what is eating up so much space in the posts and post meta tables? A: One thing you can do to help reduce the amount of bloat is add a plugin that controls the number of previous revisions kept for Pages, Posts, etc (preferably one that allows for separate values for each type, such as last 5 revisions for pages and last 20 revisions for posts, or whatever.) There are numerous plugins that handle this, check around https://wordpress.org/plugins/search/revision+control/ and similar
Q: Wordpress database becoming huge. How to analyze and optimize it? fear of running out of memory look at the size of my wordpress database tables: are there simple ways to optimize it? I fear of running out of memory one day maybe bad collation? how can I analyze what is eating up so much space in the posts and post meta tables? A: One thing you can do to help reduce the amount of bloat is add a plugin that controls the number of previous revisions kept for Pages, Posts, etc (preferably one that allows for separate values for each type, such as last 5 revisions for pages and last 20 revisions for posts, or whatever.) There are numerous plugins that handle this, check around https://wordpress.org/plugins/search/revision+control/ and similar A: The thing i do for this to minimize and optimize the database is by adding a two line of code on config.php define('AUTOSAVE_INTERVAL', 300 ); //seconds (default is 60) define('WP_POST_REVISIONS', 5 ); //alter number of post revisions kept. * *the constant ‘AUTOSAVE_INTERVAL’ represents the delay between the two autosaves in seconds. *the constant ‘WP_POST_REVISIONS’ a record of each saved draft or published update. you can also use wp-optimize plugin to optimize your Database and cleaning your WordPress database so that it runs at maximum efficiency.
wordpress
{ "language": "en", "length": 215, "provenance": "stackexchange_00019.jsonl.gz:475805", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265527" }
[ 0.035064697265625, -0.0022125244140625, -0.0121612548828125, -0.0138702392578125, 0.0078277587890625, -0.032379150390625, 0.032745361328125, -0.0161895751953125, 0.005428314208984375, 0.0218963623046875, -0.049591064453125, -0.01206207275390625, -0.01163482666015625, -0.009918212890625, -0.032928466796875, -0.061248779296875, 0.06488037109375, -0.037933349609375, 0.0357666015625, 0.01043701171875, -0.026580810546875, 0.0633544921875, 0.059326171875, 0.078857421875, 0.0182647705078125, -0.03631591796875, 0.059295654296875, -0.005260467529296875, 0.00678253173828125, -0.0269317626953125, 0.0426025390625, 0.01007080078125, -0.00450897216796875, -0.0125732421875, 0.06048583984375, 0.0309600830078125, 0.0004901885986328125, 0.01161956787109375, 0.04443359375, -0.0240631103515625, 0.0211944580078125, -0.005535125732421875, 0.07208251953125, -0.00415802001953125, 0.00899505615234375, -0.0026760101318359375, 0.0134124755859375, -0.04449462890625, 0.01064300537109375, -0.060791015625, 0.0024738311767578125, 0.0538330078125, 0.0308837890625, -0.054290771484375, -0.0132293701171875, 0.002429962158203125, 0.0251312255859375, -0.00787353515625, 0.0302276611328125, -0.033538818359375, -0.034576416015625, -0.00017154216766357422, 0.0219268798828125, -0.0030536651611328125, -0.036163330078125, -0.0110015869140625, 0.0157012939453125, -0.0006947517395019531, -0.027496337890625, -0.0484619140625, 0.0208587646484375, -0.004730224609375, -0.006458282470703125, -0.01490020751953125, 0.0111541748046875, -0.0103759765625, 0.01910400390625, -0.0096588134765625, 0.0019969940185546875, 0.0292816162109375, -0.03851318359375, -0.0289764404296875, -0.0159759521484375, -0.0250244140625, -0.03125, -0.0271453857421875, -0.0256500244140625, 0.0278167724609375, -0.002834320068359375, -0.0195770263671875, -0.007129669189453125, -0.045196533203125, -0.03424072265625, 0.02850341796875, -0.0038585662841796875, -0.034027099609375, 0.042205810546875, 0.00958251953125, 0.0008683204650878906, -0.0221099853515625, 0.0163116455078125, -0.063720703125, 0.02899169921875, 0.0010890960693359375, 0.03631591796875, 0.047271728515625, -0.048248291015625, -0.05035400390625, 0.05615234375, 0.0294647216796875, 0.0161285400390625, 0.029205322265625, -0.010345458984375, -0.0308990478515625, -0.01898193359375, 0.0345458984375, -0.01317596435546875, 0.0276336669921875, 0.0186309814453125, 0.0283966064453125, -0.0258026123046875, -0.01074981689453125, -0.02227783203125, -0.03759765625, 0.00530242919921875, -0.050933837890625, -0.032073974609375, 0.043975830078125, -0.038482666015625, 0.058746337890625, -0.0160064697265625, -0.01174163818359375, 0.0176849365234375, 0.02294921875, -0.0169677734375, -0.0294647216796875, 0.0400390625, -0.033477783203125, -0.0231170654296875, 0.0235137939453125, -0.0093536376953125, -0.032867431640625, -0.020751953125, -0.038665771484375, 0.0196075439453125, 0.0270538330078125, 0.02777099609375, 0.004474639892578125, -0.028961181640625, -0.033233642578125, -0.01558685302734375, 0.044158935546875, 0.032196044921875, 0.00008040666580200195, -0.04736328125, -0.0258636474609375, 0.0016279220581054688, -0.01410675048828125, 0.001323699951171875, -0.0489501953125, -0.007709503173828125, -0.02716064453125, 0.02349853515625, -0.0174713134765625, -0.04351806640625, 0.03741455078125, -0.0227508544921875, -0.016021728515625, 0.03424072265625, -0.050811767578125, 0.037750244140625, -0.0101318359375, 0.0577392578125, -0.0165863037109375, -0.00801849365234375, 0.0095367431640625, -0.01514434814453125, -0.0325927734375, 0.032470703125, 0.0216522216796875, -0.00812530517578125, -0.02227783203125, 0.01360321044921875, 0.004215240478515625, -0.0181884765625, 0.00762939453125, 0.0013256072998046875, 0.0216217041015625, 0.01324462890625, 0.0335693359375, -0.01116180419921875, 0.00725555419921875, -0.045867919921875, 0.04962158203125, 0.004360198974609375, -0.03515625, 0.01486968994140625, -0.0031890869140625, 0.00666046142578125, -0.041595458984375, 0.0036334991455078125, 0.042205810546875, -0.034576416015625, -0.027618408203125, -0.08251953125, 0.0132904052734375, -0.0274810791015625, 0.06427001953125, 0.005435943603515625, 0.049224853515625, 0.0180206298828125, 0.03564453125, -0.045745849609375, 0.0168304443359375, 0.00305938720703125, 0.0003383159637451172, -0.016143798828125, -0.00901031494140625, 0.0007443428039550781, -0.0341796875, -0.01458740234375, 0.0389404296875, -0.0204925537109375, 0.0122222900390625, 0.05157470703125, -0.03497314453125, 0.0024356842041015625, -0.04229736328125, -0.005298614501953125, -0.0013866424560546875, -0.06072998046875, 0.05511474609375, 0.0278167724609375, 0.033416748046875, -0.005847930908203125, -0.016357421875, -0.02032470703125, -0.082763671875, 0.0086212158203125, 0.058502197265625, 0.032379150390625, 0.0228271484375, 0.004070281982421875, 0.0012464523315429688, 0.0118408203125, -0.08251953125, 0.00431060791015625, -0.0013275146484375, 0.022064208984375, 0.0537109375, -0.057647705078125, -0.0020351409912109375, 0.0115203857421875, -0.013214111328125, 0.016845703125, 0.0302581787109375, -0.006511688232421875, -0.021209716796875, 0.01100921630859375, 0.00637054443359375, 0.005023956298828125, -0.01557159423828125, -0.019683837890625, -0.006916046142578125, -0.03466796875, 0.031036376953125, 0.0048828125, 0.022796630859375, -0.003658294677734375, 0.0263671875, 0.0150604248046875, -0.01580810546875, 0.0228424072265625, -0.073974609375, -0.06439208984375, 0.0013494491577148438, -0.005252838134765625, 0.045989990234375, 0.03900146484375, -0.055877685546875, -0.018768310546875, 0.022491455078125, -0.040496826171875, -0.00988006591796875, -0.0316162109375, -0.050506591796875, 0.0022716522216796875, 0.027679443359375, -0.0121612548828125, -0.0009140968322753906, 0.0113525390625, 0.055328369140625, 0.005401611328125, 0.016265869140625, -0.003849029541015625, 0.008758544921875, 0.07806396484375, -0.0297698974609375, 0.04620361328125, -0.0228424072265625, 0.06719970703125, 0.045806884765625, -0.03857421875, 0.040771484375, -0.0084228515625, 0.04681396484375, 0.0215911865234375, -0.009033203125, -0.03192138671875, 0.0006585121154785156, -0.0986328125, -0.061065673828125, 0.0236663818359375, 0.035888671875, 0.00308990478515625, -0.0244903564453125, 0.0092620849609375, 0.01812744140625, -0.04638671875, -0.04486083984375, -0.055419921875, -0.03912353515625, -0.040435791015625, -0.0024394989013671875, -0.0222930908203125, 0.0302886962890625, 0.00984954833984375, 0.01375579833984375, 0.061767578125, -0.0528564453125, -0.055084228515625, -0.056793212890625, -0.103271484375, -0.0623779296875, 0.0165557861328125, -0.0006079673767089844, -0.0130767822265625, 0.070068359375, -0.0238800048828125, -0.06170654296875, -0.0550537109375, -0.06280517578125, 0.0011301040649414062, -0.015625, 0.00623321533203125, -0.01528167724609375, -0.00890350341796875, 0.01407623291015625, 0.022796630859375, 0.01593017578125, -0.0265960693359375, -0.026947021484375, 0.00461578369140625, -0.0236358642578125, 0.01629638671875, 0.01094818115234375, -0.022674560546875, -0.0017728805541992188, 0.0244598388671875, -0.0328369140625, -0.0070037841796875, -0.007404327392578125, -0.02703857421875, -0.056121826171875, -0.0025882720947265625, -0.004878997802734375, -0.037445068359375, 0.0010128021240234375, 0.0640869140625, 0.033233642578125, 0.006359100341796875, 0.00730133056640625, 0.0014562606811523438, 0.0074462890625, 0.0295867919921875, -0.041534423828125, 0.0311279296875, -0.03448486328125, 0.020355224609375, 0.02166748046875, -0.007259368896484375, 0.00511932373046875, -0.026275634765625, 0.0048370361328125, -0.0281524658203125, 0.0499267578125, 0.0265655517578125, 0.0504150390625, -0.042327880859375, -0.049041748046875, -0.0341796875, 0.08587646484375, 0.00728607177734375, -0.006069183349609375, -0.0234375, -0.01427459716796875, -0.00873565673828125, -0.01236724853515625, -0.0316162109375, -0.0106353759765625, -0.0289306640625, -0.005096435546875, -0.01551055908203125, -0.0166168212890625, -0.0215301513671875, 0.06719970703125, -0.01055908203125, -0.022216796875, 0.0219573974609375, -0.045257568359375, -0.006134033203125, -0.0011205673217773438, 0.0035858154296875, -0.0308685302734375, -0.0185089111328125, -0.0295257568359375, -0.0947265625, -0.0192108154296875, -0.0267181396484375, 0.0650634765625, 0.0031452178955078125, 0.01181793212890625, -0.052032470703125, 0.0217742919921875, 0.00836944580078125, 0.0153656005859375, 0.0093536376953125, 0.00693511962890625, -0.005100250244140625, 0.018798828125, 0.017608642578125, -0.0277252197265625, -0.007904052734375, -0.0416259765625, 0.005718231201171875, -0.0277099609375, -0.045562744140625, -0.0172271728515625, -0.06317138671875, 0.01171112060546875, -0.023956298828125, -0.0280914306640625, -0.06292724609375, 0.0191192626953125, -0.047821044921875, 0.0013113021850585938, -0.0277862548828125, -0.055084228515625, 0.0640869140625, 0.054290771484375, -0.01110076904296875, 0.007076263427734375, 0.0736083984375, 0.00807952880859375, -0.0479736328125, -0.10498046875, -0.0309295654296875, 0.015106201171875, 0.0292510986328125, 0.0263214111328125, -0.0036106109619140625, -0.01360321044921875, 0.061553955078125, 0.00457000732421875, -0.0288543701171875, -0.01076507568359375, 0.0382080078125, 0.008270263671875, 0.010833740234375, -0.02703857421875, -0.0197601318359375, 0.040863037109375, 0.05975341796875, -0.00927734375, -0.0352783203125, -0.027679443359375, 0.07476806640625, -0.017730712890625, 0.01543426513671875, -0.0628662109375, -0.0465087890625, 0.01934814453125, -0.0443115234375, -0.00194549560546875, -0.007465362548828125, 0.00109100341796875, 0.021881103515625, 0.032257080078125, -0.0204620361328125, -0.0065765380859375, 0.031494140625, -0.0246429443359375, 0.02197265625, 0.00644683837890625, -0.0230712890625, -0.0396728515625, -0.01190948486328125, 0.01503753662109375, -0.0227813720703125, -0.07952880859375, 0.0188446044921875, -0.0080718994140625, 0.01331329345703125, 0.041717529296875, -0.0035419464111328125, 0.034454345703125, -0.0016813278198242188, 0.000033795833587646484, -0.0088653564453125, -0.033203125, -0.014068603515625, -0.036376953125, -0.01369476318359375, -0.00395965576171875, -0.01220703125, 0.06170654296875, 0.007183074951171875, -0.020904541015625, 0.02880859375, 0.004241943359375, 0.04058837890625, 0.03411865234375, 0.02459716796875, 0.0330810546875, -0.0222015380859375, -0.002559661865234375, -0.00469207763671875, -0.028717041015625, -0.0255126953125, -0.00582122802734375, -0.0098419189453125, 0.0224151611328125, -0.036407470703125, -0.0224761962890625, 0.058929443359375, -0.01641845703125, -0.022918701171875, 0.0211029052734375, -0.025970458984375, -0.064453125, -0.0016222000122070312, 0.01861572265625, 0.0206451416015625, -0.0275115966796875, 0.00196075439453125, 0.01013946533203125, -0.004276275634765625, 0.03900146484375, 0.00439453125, -0.0016155242919921875, 0.0001990795135498047, 0.0029888153076171875, -0.046142578125, -0.054534912109375, -0.001506805419921875, -0.02911376953125, 0.0251922607421875, -0.01194000244140625, -0.02435302734375, -0.0007462501525878906, 0.034881591796875, 0.0265350341796875, 0.004772186279296875, -0.04150390625, 0.02685546875, 0.0010013580322265625, -0.009490966796875, -0.06072998046875, -0.009307861328125, -0.0279998779296875, -0.048065185546875, -0.029541015625, -0.0040740966796875, -0.003551483154296875, -0.040435791015625, -0.00585174560546875, 0.0092620849609375, -0.0026111602783203125, 0.0131988525390625, 0.0139007568359375, -0.01959228515625, 0.0231170654296875, 0.02056884765625, -0.0017728805541992188, -0.051513671875, 0.060394287109375, -0.0181121826171875, 0.023406982421875, -0.030548095703125, 0.0207366943359375, 0.014312744140625, 0.01018524169921875, 0.03485107421875, -0.0210418701171875, -0.0643310546875, -0.01385498046875, -0.046295166015625, -0.01206207275390625, 0.010528564453125, -0.0222930908203125, 0.03338623046875, -0.048187255859375, -0.0019483566284179688, -0.0221099853515625, 0.054168701171875, -0.072509765625, 0.026397705078125, -0.0052642822265625, -0.0057220458984375, 0.00630950927734375, -0.00128936767578125, -0.032073974609375, 0.0106048583984375, 0.027557373046875, 0.002277374267578125, -0.017181396484375, -0.0088958740234375, 0.0291290283203125, 0.029693603515625, 0.0064239501953125, 0.0179595947265625, 0.0175323486328125, 0.0140380859375, -0.0240020751953125, 0.006378173828125, -0.0192108154296875, 0.0190887451171875, 0.05487060546875, -0.0015954971313476562, -0.0201263427734375, 0.008697509765625, -0.03265380859375, 0.0246124267578125, -0.005413055419921875, 0.0232696533203125, -0.0190582275390625, 0.0367431640625, 0.0007367134094238281, -0.013153076171875, 0.018463134765625, -0.00018680095672607422, -0.0174102783203125, -0.03143310546875, 0.00186920166015625, 0.0098724365234375, -0.0273895263671875, -0.02154541015625, 0.006359100341796875, 0.0028228759765625, -0.0163726806640625, 0.022491455078125, 0.018951416015625, -0.055511474609375, 0.041748046875, 0.04241943359375, 0.009185791015625, -0.01050567626953125, 0.016998291015625, 0.01303863525390625, -0.028167724609375, -0.058319091796875, 0.006198883056640625, -0.007640838623046875, -0.0225830078125, 0.004100799560546875, -0.01053619384765625, 0.032928466796875, 0.055389404296875, -0.01166534423828125, -0.0101776123046875, 0.037384033203125, -0.02972412109375, -0.01666259765625, -0.0183868408203125, -0.0012054443359375, 0.00853729248046875, 0.0042877197265625, 0.0061492919921875, -0.0009112358093261719, -0.03582763671875, -0.008575439453125, -0.037811279296875, 0.0672607421875, -0.025299072265625, -0.015655517578125, 0.02764892578125, -0.01528167724609375, -0.0176239013671875, -0.00982666015625, 0.0169830322265625, -0.02899169921875, 0.00856781005859375, -0.0070648193359375, -0.0128631591796875, 0.0025348663330078125, 0.004894256591796875, -0.05816650390625, 0.0482177734375, 0.004108428955078125, -0.0182037353515625, -0.00850677490234375, 0.03509521484375, -0.0285491943359375, -0.0021038055419921875, -0.03143310546875, 0.0645751953125, -0.039794921875, 0.0343017578125, -0.045745849609375, 0.0165557861328125, 0.00997161865234375, 0.01450347900390625, 0.0200042724609375, 0.002193450927734375, -0.0281219482421875, -0.0015096664428710938, 0.014862060546875, 0.01361083984375, -0.0018672943115234375, 0.042877197265625, -0.0194854736328125, 0.049774169921875, 0.061859130859375, -0.054229736328125, 0.0236968994140625, 0.02227783203125, -0.0089263916015625, 0.007160186767578125, 0.006443023681640625, 0.0160064697265625, -0.0056610107421875, 0.0300445556640625, 0.0131072998046875, -0.0045166015625, 0.0006041526794433594, -0.0288543701171875, 0.0301361083984375, 0.0118255615234375, 0.06683349609375, -0.10784912109375, 0.0195465087890625, -0.036407470703125, 0.0657958984375, 0.003826141357421875, -0.00836181640625, 0.0496826171875, 0.002758026123046875, 0.0693359375, 0.0005655288696289062, -0.007335662841796875, 0.00540924072265625, 0.03265380859375, 0.036224365234375, 0.0189361572265625, 0.029052734375, -0.05322265625, -0.0740966796875, 0.0543212890625, 0.069091796875, -0.023956298828125, -0.0269317626953125, 0.01195526123046875, -0.001800537109375, 0.0013780593872070312, -0.01297760009765625, -0.00560760498046875, 0.045135498046875, 0.046295166015625, 0.00788116455078125, -0.020751953125, -0.0034351348876953125, -0.0169525146484375, -0.00016486644744873047, 0.02099609375, 0.050811767578125, 0.01824951171875, -0.00518798828125, -0.0160675048828125, 0.00421142578125, 0.004573822021484375, 0.01305389404296875, -0.0069580078125, 0.04010009765625, 0.0155181884765625, -0.00560760498046875, 0.0300445556640625, 0.010223388671875, 0.0157012939453125, -0.030517578125, -0.046112060546875, 0.033599853515625, 0.044097900390625, 0.0029926300048828125, 0.0010013580322265625, 0.041473388671875, 0.0220489501953125, -0.042022705078125, -0.01375579833984375, 0.0183563232421875, -0.02337646484375, 0.0013885498046875, -0.032623291015625, -0.006031036376953125, -0.01042938232421875, -0.0160369873046875, -0.020782470703125, 0.0300750732421875, 0.0023937225341796875, 0.01006317138671875, -0.004489898681640625, 0.021697998046875, -0.006195068359375, 0.02880859375, 0.0170135498046875, -0.0308074951171875, 0.0299072265625, -0.06793212890625, -0.0106964111328125, -0.0204315185546875, -0.0218963623046875, 0.0177459716796875, 0.02874755859375, -0.050201416015625, 0.055633544921875, 0.00704193115234375, 0.0006122589111328125, 0.006595611572265625, 0.00704193115234375, -0.00827789306640625, 0.00481414794921875, 0.03143310546875, -0.00872802734375, -0.0217742919921875, -0.016754150390625, -0.024139404296875, 0.042724609375, 0.01453399658203125, 0.04071044921875, -0.0164031982421875, 0.032623291015625, 0.024688720703125, -0.05755615234375, 0.06292724609375, 0.04339599609375, -0.0163726806640625, 0.0208892822265625, -0.006877899169921875, -0.037750244140625, -0.0699462890625, -0.01410675048828125, 0.031005859375, -0.0270843505859375, -0.0019502639770507812, -0.02099609375, 0.021514892578125, -0.007381439208984375, -0.019073486328125, -0.0267333984375, -0.0011272430419921875, 0.0377197265625, -0.0004444122314453125, 0.00270843505859375, -0.01081085205078125, 0.0042724609375, 0.0194091796875, 0.005870819091796875, -0.004077911376953125, 0.006572723388671875, -0.01006317138671875, 0.016510009765625, 0.03948974609375, -0.041717529296875, -0.0169219970703125, 0.000316619873046875, -0.01861572265625, -0.0167236328125, 0.0173797607421875, -0.00730133056640625, 0.0218505859375, -0.03863525390625, -0.005725860595703125, 0.0150909423828125, 0.034912109375, 0.0023956298828125, 0.0117340087890625, -0.0230560302734375, 0.005252838134765625, -0.015533447265625, 0.0161590576171875, -0.0180816650390625, -0.0283203125, -0.040496826171875, -0.01495361328125, -0.0279541015625, -0.06988525390625, -0.01372528076171875, -0.002605438232421875, 0.034912109375, 0.018310546875, -0.047576904296875, 0.045379638671875, -0.0269012451171875, -0.0140380859375, 0.0257415771484375, -0.0352783203125, -0.0116424560546875, 0.020416259765625, 0.0325927734375, -0.0782470703125, -0.0458984375, 0.0718994140625, -0.038177490234375, 0.0226593017578125, 0.03619384765625, -0.0413818359375, 0.0020599365234375, -0.01029205322265625, 0.0347900390625, 0.043243408203125, 0.035369873046875, 0.00595855712890625, 0.0460205078125, 0.0179290771484375, -0.016998291015625, -0.10845947265625, -0.0257415771484375, -0.0537109375, 0.0469970703125, -0.029144287109375, 0.010009765625, 0.01126861572265625, -0.034454345703125, -0.05419921875, 0.05242919921875, -0.0255126953125, -0.021148681640625, -0.063720703125, -0.004917144775390625, -0.003376007080078125, 0.00986480712890625, -0.015655517578125, -0.03216552734375, -0.041778564453125, 0.03729248046875, -0.0021076202392578125, -0.005985260009765625, 0.001049041748046875, 0.01428985595703125, -0.050140380859375, 0.027923583984375, 0.01491546630859375, -0.018798828125, 0.01088714599609375, 0.0002875328063964844, 0.0306549072265625, 0.0633544921875, -0.01284027099609375, -0.003814697265625, -0.005527496337890625, -0.04443359375, -0.007671356201171875, -0.007617950439453125, -0.0439453125, -0.00981903076171875, 0.07305908203125, 0.09698486328125, 0.032470703125, -0.05206298828125, 0.01354217529296875, -0.0178680419921875, -0.0217437744140625, -0.0101318359375, 0.0264434814453125, -0.0589599609375, 0.001308441162109375, 0.0196990966796875, 0.007602691650390625, -0.004253387451171875, 0.006378173828125, -0.0059661865234375, -0.0186614990234375, -0.0012264251708984375, -0.00952911376953125, -0.0657958984375, 0.044891357421875, -0.02288818359375, -0.023529052734375, -0.027740478515625, 0.01277923583984375, -0.021697998046875, -0.04693603515625, -0.0033168792724609375, -0.034637451171875, -0.0176544189453125, -0.0196685791015625, 0.054290771484375, -0.0210113525390625, 0.021270751953125, -0.049224853515625, 0.00882720947265625, 0.003223419189453125, 0.01335906982421875, 0.00878143310546875, 0.0188751220703125, -0.037384033203125, 0.0192413330078125, -0.00952911376953125, 0.039398193359375, -0.0173187255859375, -0.01120758056640625, -0.0267333984375, 0.024932861328125, -0.035491943359375, -0.004039764404296875, 0.026123046875, -0.0194244384765625, -0.0007543563842773438, -0.0020046234130859375, 0.0080108642578125, -0.039459228515625, 0.0166015625, -0.0229339599609375, 0.01715087890625, 0.02032470703125 ]
be74b1d94fadab089250ac0f478a0996ca99f048
Wordpress Stackexchange Q: Can rewrites fallback if 404? Rewrite conflict issue I have pages and product categories on my site: Pages: --About --Contact Products: --Category 1 ----Subcategory 1 --Category 2 Ideally I want mysite.com/category-1/subcategory-1 to show the product category page and mysite.com/about to show a normal page. I have registered the taxonomy in the following way: function products_taxonomy() { register_taxonomy( 'product_categories', 'product', array( 'hierarchical' => true, 'label' => 'Product Categories', 'query_var' => true, 'rewrite' => array( 'hierarchical' => true, 'slug' => '/', 'with_front' => false ) ) ); } add_action( 'init', 'products_taxonomy'); Currently, the category URL is working, but the page URL eg mysite.com/about/ is 404ing. I have installed the Rewrite Analyzer plugin and I can see this is because Wordpress is only checking for a product category called "about", which it can't find, hence the 404. It is not checking subsequent rewrite rules. Is there a way I can catch this 404 and get Wordpress to check the next rewrite rule instead of immediately showing a 404? I'm a bit confused as to why this is not the default behaviour...
Q: Can rewrites fallback if 404? Rewrite conflict issue I have pages and product categories on my site: Pages: --About --Contact Products: --Category 1 ----Subcategory 1 --Category 2 Ideally I want mysite.com/category-1/subcategory-1 to show the product category page and mysite.com/about to show a normal page. I have registered the taxonomy in the following way: function products_taxonomy() { register_taxonomy( 'product_categories', 'product', array( 'hierarchical' => true, 'label' => 'Product Categories', 'query_var' => true, 'rewrite' => array( 'hierarchical' => true, 'slug' => '/', 'with_front' => false ) ) ); } add_action( 'init', 'products_taxonomy'); Currently, the category URL is working, but the page URL eg mysite.com/about/ is 404ing. I have installed the Rewrite Analyzer plugin and I can see this is because Wordpress is only checking for a product category called "about", which it can't find, hence the 404. It is not checking subsequent rewrite rules. Is there a way I can catch this 404 and get Wordpress to check the next rewrite rule instead of immediately showing a 404? I'm a bit confused as to why this is not the default behaviour...
wordpress
{ "language": "en", "length": 179, "provenance": "stackexchange_00019.jsonl.gz:475816", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265571" }
[ 0.01181793212890625, 0.00304412841796875, -0.0443115234375, -0.079345703125, 0.01088714599609375, -0.00409698486328125, -0.039825439453125, 0.00980377197265625, -0.0098724365234375, 0.001934051513671875, -0.04931640625, 0.01152801513671875, 0.0019025802612304688, -0.019378662109375, 0.0167083740234375, -0.041717529296875, -0.00662994384765625, -0.00244903564453125, 0.01073455810546875, -0.0231170654296875, 0.0146636962890625, -0.0123291015625, -0.0007534027099609375, 0.0011281967163085938, 0.0050506591796875, -0.057769775390625, 0.060272216796875, -0.033782958984375, -0.00040721893310546875, -0.055877685546875, 0.00696563720703125, 0.0306396484375, 0.0214080810546875, -0.00666046142578125, 0.026580810546875, 0.01186370849609375, 0.014495849609375, 0.007099151611328125, 0.00395965576171875, 0.02850341796875, 0.0411376953125, -0.035003662109375, 0.07415771484375, 0.0153961181640625, 0.05023193359375, -0.049560546875, 0.0499267578125, -0.09527587890625, 0.0105133056640625, -0.0270843505859375, 0.0162353515625, 0.0640869140625, 0.0284271240234375, -0.030914306640625, -0.00377655029296875, 0.0156402587890625, 0.001316070556640625, -0.0026683807373046875, 0.01409149169921875, 0.0015163421630859375, -0.004848480224609375, 0.031982421875, -0.00009226799011230469, -0.00788116455078125, -0.01113128662109375, 0.00750732421875, -0.01326751708984375, 0.0224151611328125, -0.026824951171875, -0.016326904296875, 0.0244903564453125, -0.035003662109375, 0.006496429443359375, 0.026458740234375, -0.01503753662109375, -0.049560546875, 0.03338623046875, -0.0047149658203125, -0.003925323486328125, 0.039276123046875, -0.002109527587890625, -0.047149658203125, 0.005619049072265625, -0.025146484375, 0.023529052734375, 0.0258636474609375, -0.0023345947265625, -0.01290130615234375, -0.0413818359375, -0.05438232421875, -0.0335693359375, -0.0460205078125, -0.045135498046875, -0.0173797607421875, -0.00635528564453125, -0.0227203369140625, 0.0174713134765625, 0.045501708984375, -0.009490966796875, 0.0078887939453125, -0.0158233642578125, -0.03131103515625, -0.00481414794921875, -0.035003662109375, 0.0285491943359375, 0.036102294921875, 0.01041412353515625, -0.00011628866195678711, 0.067626953125, 0.0011034011840820312, 0.0091552734375, 0.11907958984375, -0.0222320556640625, -0.0278167724609375, -0.0161590576171875, 0.05731201171875, -0.0098419189453125, -0.0254974365234375, -0.004802703857421875, -0.0009226799011230469, 0.0078125, 0.0299224853515625, 0.0124053955078125, -0.00553131103515625, -0.00048160552978515625, 0.00540924072265625, 0.0111236572265625, -0.0577392578125, 0.049835205078125, 0.0193634033203125, -0.0225982666015625, 0.0208587646484375, -0.009307861328125, -0.05950927734375, -0.038330078125, -0.00946807861328125, 0.032623291015625, 0.027984619140625, 0.00556182861328125, 0.0013742446899414062, -0.00354766845703125, -0.0225372314453125, 0.0076141357421875, -0.00789642333984375, 0.0027618408203125, 0.01154327392578125, 0.01224517822265625, 0.0166015625, -0.02301025390625, -0.03753662109375, 0.01338958740234375, -0.04608154296875, 0.07391357421875, -0.00713348388671875, -0.04229736328125, -0.04095458984375, 0.028228759765625, -0.037261962890625, -0.043914794921875, -0.07452392578125, 0.0161285400390625, -0.0007524490356445312, 0.01433563232421875, -0.0491943359375, -0.056121826171875, -0.0095062255859375, -0.07525634765625, -0.0199127197265625, 0.01580810546875, 0.035003662109375, 0.01168060302734375, 0.01062774658203125, -0.0106048583984375, 0.00530242919921875, 0.00455474853515625, -0.01447296142578125, 0.0189361572265625, 0.0244293212890625, -0.0064544677734375, 0.055419921875, 0.0081939697265625, -0.04205322265625, 0.0185699462890625, -0.0212554931640625, -0.05426025390625, 0.08837890625, 0.0310516357421875, 0.0716552734375, -0.035003662109375, 0.00220489501953125, 0.0732421875, 0.059814453125, -0.024200439453125, 0.009765625, 0.00247955322265625, -0.0275726318359375, 0.03704833984375, 0.0160675048828125, -0.00354766845703125, -0.024932861328125, -0.0125274658203125, 0.03472900390625, -0.0259857177734375, 0.0223846435546875, -0.047454833984375, 0.0210113525390625, -0.0160980224609375, 0.046142578125, -0.0101165771484375, 0.042510986328125, 0.00868988037109375, 0.02783203125, -0.0411376953125, -0.0018444061279296875, -0.00626373291015625, -0.026458740234375, -0.012237548828125, 0.0240478515625, -0.0030117034912109375, 0.0272369384765625, -0.007656097412109375, 0.0007524490356445312, 0.00823211669921875, 0.0035915374755859375, 0.005519866943359375, 0.0211944580078125, -0.02630615234375, 0.007549285888671875, 0.0145416259765625, 0.0177001953125, -0.0197601318359375, 0.0120086669921875, 0.0223846435546875, 0.01458740234375, -0.034149169921875, 0.0257415771484375, -0.0089263916015625, -0.031463623046875, -0.01453399658203125, 0.0364990234375, 0.0300750732421875, 0.0197601318359375, -0.031707763671875, -0.03692626953125, 0.020111083984375, -0.0826416015625, -0.022369384765625, -0.0030841827392578125, -0.0265655517578125, 0.027130126953125, 0.026702880859375, 0.0282745361328125, 0.00492095947265625, -0.0165863037109375, 0.004741668701171875, 0.0275726318359375, -0.01303863525390625, -0.0176239013671875, -0.0105133056640625, 0.006862640380859375, 0.0097198486328125, -0.0178070068359375, -0.0197601318359375, -0.0211181640625, 0.03875732421875, 0.007793426513671875, 0.016754150390625, 0.01065826416015625, -0.00390625, 0.007732391357421875, -0.00777435302734375, -0.052154541015625, -0.0071868896484375, 0.04901123046875, 0.0487060546875, -0.042755126953125, 0.00868988037109375, -0.01715087890625, -0.0215911865234375, 0.01105499267578125, 0.007465362548828125, 0.09027099609375, -0.025360107421875, -0.01983642578125, -0.040740966796875, -0.0601806640625, -0.0467529296875, 0.005771636962890625, 0.0291900634765625, 0.023193359375, 0.0284271240234375, 0.022735595703125, -0.01058197021484375, 0.04083251953125, 0.005970001220703125, -0.019744873046875, -0.0088043212890625, -0.0311431884765625, 0.060089111328125, -0.047821044921875, 0.0006818771362304688, 0.04058837890625, -0.0212860107421875, 0.00200653076171875, 0.02093505859375, 0.0098724365234375, 0.018096923828125, 0.005023956298828125, -0.010101318359375, 0.0236663818359375, -0.089599609375, -0.0247344970703125, 0.040313720703125, 0.02630615234375, 0.050018310546875, -0.01439666748046875, 0.043670654296875, 0.0482177734375, -0.031707763671875, -0.06396484375, -0.033294677734375, -0.0295562744140625, 0.0274810791015625, 0.052337646484375, 0.006694793701171875, -0.038543701171875, 0.0672607421875, 0.028411865234375, -0.011932373046875, -0.059478759765625, -0.06036376953125, -0.091796875, -0.0753173828125, 0.00033736228942871094, -0.0021305084228515625, 0.00759124755859375, 0.0139007568359375, 0.0245513916015625, 0.00588226318359375, -0.049468994140625, 0.019866943359375, -0.006656646728515625, -0.01363372802734375, 0.01436614990234375, -0.03326416015625, -0.0238189697265625, 0.0025482177734375, -0.0034618377685546875, 0.02386474609375, 0.025177001953125, 0.0026493072509765625, 0.01471710205078125, 0.0002384185791015625, -0.007221221923828125, 0.008819580078125, 0.0237884521484375, 0.009368896484375, -0.0047607421875, 0.02166748046875, -0.0311279296875, -0.057281494140625, -0.006900787353515625, -0.052398681640625, 0.01358795166015625, 0.0261993408203125, -0.0036773681640625, -0.0048980712890625, 0.0228271484375, 0.0012655258178710938, 0.01329803466796875, 0.0213470458984375, -0.03961181640625, 0.05487060546875, -0.00620269775390625, -0.004039764404296875, -0.041351318359375, 0.021759033203125, -0.00893402099609375, -0.01390838623046875, -0.002468109130859375, 0.0004343986511230469, -0.03070068359375, 0.03790283203125, -0.049346923828125, -0.037261962890625, 0.01171875, -0.08038330078125, -0.005710601806640625, -0.024993896484375, 0.0255889892578125, -0.005313873291015625, 0.05364990234375, -0.011749267578125, -0.0207061767578125, -0.00714111328125, 0.008941650390625, 0.01119232177734375, -0.05419921875, -0.01531219482421875, -0.0108642578125, -0.07769775390625, -0.0071258544921875, -0.02081298828125, -0.04827880859375, 0.0156707763671875, -0.020751953125, -0.0322265625, -0.044952392578125, 0.0299530029296875, -0.04248046875, 0.003284454345703125, 0.0203704833984375, -0.0008616447448730469, -0.02264404296875, -0.0157318115234375, -0.01922607421875, -0.06256103515625, -0.0152435302734375, 0.0174102783203125, 0.04351806640625, -0.011627197265625, 0.00824737548828125, -0.01137542724609375, 0.065185546875, -0.005809783935546875, 0.0128936767578125, 0.001773834228515625, -0.01009368896484375, 0.0034027099609375, 0.0224151611328125, 0.01129150390625, -0.00007200241088867188, 0.00861358642578125, -0.0005297660827636719, -0.045257568359375, -0.01386260986328125, -0.0249176025390625, -0.02008056640625, 0.02008056640625, -0.05029296875, -0.0758056640625, -0.03582763671875, 0.002838134765625, -0.00566864013671875, 0.02520751953125, -0.0239715576171875, -0.0209503173828125, -0.0596923828125, 0.0005245208740234375, -0.038726806640625, -0.0211639404296875, 0.00473785400390625, 0.004360198974609375, 0.0160369873046875, -0.0089874267578125, 0.0870361328125, 0.0181427001953125, 0.031463623046875, 0.01416778564453125, 0.0290679931640625, -0.005672454833984375, -0.0090179443359375, 0.050689697265625, -0.0032958984375, 0.01213836669921875, -0.0185394287109375, 0.0115966796875, -0.0183868408203125, -0.030242919921875, 0.0185089111328125, -0.04302978515625, 0.036865234375, 0.0255889892578125, -0.0156707763671875, -0.032989501953125, -0.034210205078125, 0.041778564453125, -0.01258087158203125, 0.042938232421875, -0.0379638671875, -0.0036411285400390625, 0.0081787109375, 0.06402587890625, 0.041168212890625, 0.01454925537109375, 0.007213592529296875, 0.0199127197265625, 0.0207061767578125, -0.00998687744140625, -0.00439453125, 0.0168914794921875, 0.00269317626953125, 0.0184173583984375, -0.01044464111328125, -0.024505615234375, -0.0261993408203125, 0.0083770751953125, -0.0008831024169921875, -0.002948760986328125, -0.004791259765625, -0.026214599609375, -0.0014944076538085938, -0.051544189453125, 0.01267242431640625, -0.02685546875, 0.019195556640625, -0.0068206787109375, -0.0169830322265625, 0.0244293212890625, -0.05364990234375, -0.0203857421875, -0.0269622802734375, 0.00963592529296875, -0.0046844482421875, -0.005329132080078125, -0.01155853271484375, 0.041351318359375, 0.0017232894897460938, 0.0085296630859375, 0.00519561767578125, 0.010711669921875, 0.0408935546875, 0.03204345703125, 0.0162506103515625, -0.03131103515625, 0.003265380859375, 0.0196380615234375, 0.03936767578125, -0.04254150390625, -0.0245208740234375, 0.02813720703125, 0.044403076171875, -0.044525146484375, -0.0205078125, 0.0252838134765625, 0.0043487548828125, -0.02838134765625, 0.003849029541015625, -0.043914794921875, -0.043060302734375, -0.03125, -0.0121307373046875, 0.028167724609375, -0.01204681396484375, -0.026336669921875, 0.0152130126953125, -0.015899658203125, 0.029266357421875, 0.02362060546875, -0.0190277099609375, 0.0269317626953125, 0.0191650390625, -0.0009388923645019531, -0.02313232421875, 0.03692626953125, -0.032928466796875, 0.02490234375, -0.04339599609375, -0.043304443359375, 0.0616455078125, 0.016693115234375, 0.043609619140625, -0.01071929931640625, -0.035552978515625, 0.0343017578125, -0.01806640625, 0.059661865234375, -0.0027294158935546875, -0.06494140625, 0.0217132568359375, -0.038238525390625, 0.00498199462890625, 0.0252532958984375, -0.0253448486328125, -0.017333984375, -0.049468994140625, 0.0217437744140625, 0.0297088623046875, 0.0036067962646484375, -0.0261383056640625, -0.0325927734375, -0.005016326904296875, 0.0199737548828125, 0.0304718017578125, -0.039306640625, 0.01403045654296875, 0.012908935546875, 0.007053375244140625, -0.0293731689453125, -0.0243072509765625, -0.005767822265625, 0.0015125274658203125, -0.0268096923828125, -0.06689453125, 0.029937744140625, 0.00531768798828125, -0.0299072265625, 0.04339599609375, 0.067138671875, 0.027862548828125, 0.010650634765625, -0.0193328857421875, -0.00238800048828125, -0.003627777099609375, 0.0193328857421875, -0.0023975372314453125, -0.004322052001953125, 0.03424072265625, 0.0189971923828125, 0.05023193359375, -0.0123748779296875, -0.006526947021484375, -0.01558685302734375, 0.00634002685546875, 0.01959228515625, -0.004268646240234375, -0.060089111328125, 0.0141754150390625, 0.02410888671875, 0.028564453125, 0.0389404296875, -0.0021514892578125, 0.020721435546875, 0.016571044921875, -0.0006279945373535156, -0.010650634765625, 0.0031642913818359375, 0.0192413330078125, -0.01141357421875, 0.0016202926635742188, 0.028717041015625, -0.01021575927734375, -0.007053375244140625, 0.041259765625, 0.0247039794921875, -0.058135986328125, 0.0055389404296875, 0.0007314682006835938, -0.0341796875, -0.0161590576171875, 0.029296875, -0.00388336181640625, 0.034698486328125, -0.0220947265625, -0.009185791015625, -0.0169830322265625, 0.00494384765625, 0.0255584716796875, 0.0001118779182434082, 0.017608642578125, 0.0587158203125, 0.009552001953125, -0.0249176025390625, -0.01922607421875, -0.01071929931640625, 0.01506805419921875, -0.0208740234375, 0.00531005859375, -0.004955291748046875, 0.0026187896728515625, 0.01052093505859375, 0.07879638671875, -0.027557373046875, 0.04833984375, 0.0157012939453125, -0.017669677734375, -0.02227783203125, 0.01166534423828125, -0.027496337890625, -0.002857208251953125, -0.0120849609375, -0.07281494140625, 0.07049560546875, 0.0196990966796875, 0.0161590576171875, -0.0164337158203125, -0.00026798248291015625, -0.0282745361328125, -0.020050048828125, -0.0036678314208984375, -0.0158538818359375, -0.0323486328125, 0.06005859375, -0.0287322998046875, -0.0235748291015625, -0.002651214599609375, 0.0246124267578125, 0.026336669921875, 0.032012939453125, -0.01300811767578125, -0.0131072998046875, -0.0050048828125, -0.00312042236328125, -0.0195465087890625, 0.028411865234375, 0.0162811279296875, -0.06884765625, 0.031280517578125, -0.0142669677734375, 0.037994384765625, 0.001964569091796875, -0.006114959716796875, 0.0179290771484375, -0.01561737060546875, -0.006755828857421875, 0.0108642578125, 0.006580352783203125, 0.05206298828125, -0.01371002197265625, -0.027252197265625, 0.04461669921875, 0.07061767578125, 0.1314697265625, 0.03326416015625, -0.052581787109375, -0.025115966796875, 0.0194549560546875, 0.0188140869140625, -0.0309600830078125, 0.052154541015625, -0.02783203125, -0.01320648193359375, -0.005523681640625, -0.0187835693359375, 0.024444580078125, -0.019256591796875, -0.03912353515625, 0.006565093994140625, 0.00804901123046875, 0.0262603759765625, 0.0159912109375, 0.03759765625, -0.0016880035400390625, 0.004894256591796875, 0.022308349609375, -0.01495361328125, 0.030792236328125, 0.0010995864868164062, 0.051422119140625, -0.053131103515625, 0.0221099853515625, -0.033447265625, 0.0538330078125, 0.0131988525390625, 0.031494140625, 0.0270233154296875, 0.0009112358093261719, 0.08782958984375, 0.0201568603515625, 0.0173492431640625, 0.036956787109375, 0.00913238525390625, 0.0278167724609375, 0.0301666259765625, 0.038421630859375, 0.0002834796905517578, 0.0078887939453125, 0.026947021484375, 0.02490234375, -0.038970947265625, -0.053741455078125, 0.01030731201171875, -0.0004112720489501953, 0.003997802734375, 0.01470184326171875, -0.00055694580078125, -0.0234375, 0.0258636474609375, -0.04681396484375, -0.0021305084228515625, 0.0044403076171875, 0.00820159912109375, -0.0177001953125, -0.024871826171875, 0.01161956787109375, 0.0159454345703125, -0.032379150390625, -0.001865386962890625, 0.0294036865234375, 0.08990478515625, 0.0171051025390625, 0.041473388671875, -0.0718994140625, -0.0506591796875, 0.0084075927734375, 0.035980224609375, -0.031036376953125, -0.01186370849609375, -0.046844482421875, -0.087890625, -0.0025615692138671875, 0.057281494140625, 0.0119476318359375, 0.00727081298828125, 0.01511383056640625, 0.061492919921875, 0.049957275390625, -0.00742340087890625, 0.054656982421875, 0.00811767578125, 0.032012939453125, -0.037994384765625, 0.05938720703125, 0.005329132080078125, 0.0177001953125, -0.026885986328125, 0.029632568359375, 0.0265960693359375, 0.0009069442749023438, 0.02740478515625, 0.016326904296875, -0.0198516845703125, 0.0404052734375, 0.01372528076171875, 0.056488037109375, 0.037353515625, -0.053924560546875, -0.004589080810546875, -0.02099609375, -0.04583740234375, 0.00958251953125, 0.036407470703125, -0.01049041748046875, 0.006870269775390625, 0.0084228515625, -0.0194091796875, -0.0102996826171875, 0.01380157470703125, 0.0018281936645507812, -0.0257415771484375, 0.01425933837890625, -0.00920867919921875, 0.01079559326171875, 0.0247955322265625, 0.01268768310546875, 0.01186370849609375, -0.0151214599609375, 0.1431884765625, -0.07623291015625, -0.0140380859375, -0.00841522216796875, 0.0302581787109375, -0.0242462158203125, -0.00844573974609375, 0.033111572265625, -0.007358551025390625, 0.0131683349609375, -0.0028934478759765625, -0.01297760009765625, 0.0181427001953125, 0.01763916015625, -0.054931640625, 0.0401611328125, -0.045379638671875, 0.00984954833984375, -0.028839111328125, -0.0029201507568359375, -0.03900146484375, -0.07574462890625, -0.07989501953125, 0.01568603515625, 0.01004791259765625, 0.0004630088806152344, -0.055908203125, 0.033111572265625, -0.0287933349609375, -0.0134124755859375, 0.0037384033203125, -0.014129638671875, 0.00841522216796875, 0.034393310546875, -0.0369873046875, 0.02960205078125, 0.022705078125, -0.018646240234375, 0.034515380859375, 0.002414703369140625, 0.0026111602783203125, 0.0084381103515625, -0.0322265625, -0.04034423828125, -0.0251617431640625, -0.00533294677734375, -0.0323486328125, 0.00693511962890625, -0.036376953125, 0.00168609619140625, 0.011871337890625, -0.038848876953125, -0.00008255243301391602, 0.006008148193359375, -0.028564453125, -0.011962890625, 0.0299072265625, -0.0236053466796875, 0.045501708984375, 0.0150146484375, 0.043975830078125, 0.003383636474609375, -0.06732177734375, 0.032562255859375, -0.01157379150390625, 0.08892822265625, -0.0208892822265625, 0.0032939910888671875, 0.00922393798828125, 0.00839996337890625, -0.067626953125, 0.04791259765625, -0.02764892578125, -0.0751953125, -0.01528167724609375, -0.005336761474609375, 0.00690460205078125, -0.01119232177734375, 0.0014867782592773438, -0.04364013671875, -0.016143798828125, 0.01381683349609375, -0.002574920654296875, -0.0081634521484375, 0.006801605224609375, 0.0260162353515625, -0.033538818359375, 0.005870819091796875, 0.0044708251953125, 0.03363037109375, -0.0308685302734375, 0.0067901611328125, -0.003719329833984375, 0.01554107666015625, -0.0255126953125, -0.01546478271484375, 0.044189453125, 0.01052093505859375, -0.019744873046875, -0.052520751953125, -0.019439697265625, -0.0306549072265625, 0.051666259765625, -0.02874755859375, -0.007022857666015625, -0.0244140625, 0.064697265625, 0.038665771484375, 0.050445556640625, 0.01068878173828125, 0.0234222412109375, -0.0247955322265625, 0.00904083251953125, -0.0204010009765625, 0.037200927734375, 0.01041412353515625, 0.00905609130859375, 0.0293121337890625, 0.04498291015625, 0.0024433135986328125, 0.03094482421875, 0.006847381591796875, -0.05889892578125, 0.0222930908203125, -0.05096435546875, -0.03460693359375, -0.06903076171875, 0.046966552734375, -0.04315185546875, 0.003131866455078125, 0.037200927734375, -0.05712890625, -0.02325439453125, -0.0238037109375, -0.0034332275390625, 0.04498291015625, -0.0809326171875, 0.01409149169921875, 0.0091400146484375, 0.0008597373962402344, -0.004627227783203125, -0.00287628173828125, -0.01158905029296875, -0.0161590576171875, -0.005157470703125, -0.004283905029296875, -0.04290771484375, 0.0109100341796875, -0.00597381591796875, -0.005035400390625, -0.0292816162109375, -0.005832672119140625, 0.0205841064453125, -0.048828125, -0.03851318359375, -0.00734710693359375, 0.052886962890625, -0.034942626953125, -0.0250091552734375, 0.02197265625, -0.00955963134765625, 0.00649261474609375, 0.0177154541015625, -0.0011911392211914062, 0.01873779296875, -0.0005354881286621094, 0.004425048828125, -0.0270538330078125, 0.04052734375, 0.0014505386352539062, 0.0728759765625, -0.0196990966796875, -0.0018787384033203125, -0.007083892822265625, 0.039093017578125, -0.01097869873046875, 0.0027008056640625, 0.0310211181640625, -0.02667236328125, -0.019439697265625, 0.00144195556640625, -0.052276611328125, -0.0382080078125, -0.00701141357421875, 0.024688720703125, -0.013671875, 0.006145477294921875 ]
34f6a457d05d0a5da890b235a433f65dcbe47385
Wordpress Stackexchange Q: WooCommerce - Adding Custom Order Without No Product I am working on a website at the now for a cake shop, they have a huge list of cakes that have been imported to the site and that all works fine for putting through orders that happen in the shop / on the phone etc. However, some customers will come in and ask for a custom cake order that isn't listed in the product range (ie; two tier disney cake). How can the person in the shop setup a custom order with a note attached to the order without having to choose a product first? Hope someone can help.
Q: WooCommerce - Adding Custom Order Without No Product I am working on a website at the now for a cake shop, they have a huge list of cakes that have been imported to the site and that all works fine for putting through orders that happen in the shop / on the phone etc. However, some customers will come in and ask for a custom cake order that isn't listed in the product range (ie; two tier disney cake). How can the person in the shop setup a custom order with a note attached to the order without having to choose a product first? Hope someone can help.
wordpress
{ "language": "en", "length": 109, "provenance": "stackexchange_00019.jsonl.gz:475875", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265762" }
[ 0.0635986328125, 0.00299072265625, -0.0029354095458984375, -0.0335693359375, 0.00814056396484375, -0.041595458984375, 0.02581787109375, -0.0251617431640625, -0.015716552734375, -0.0235748291015625, -0.00896453857421875, -0.024993896484375, -0.05291748046875, -0.0567626953125, 0.0312347412109375, -0.047027587890625, 0.04864501953125, 0.00542449951171875, 0.05975341796875, 0.01407623291015625, -0.00081634521484375, 0.03485107421875, 0.03533935546875, 0.037872314453125, 0.04132080078125, 0.016265869140625, 0.0247650146484375, 0.00316619873046875, 0.053070068359375, 0.0230712890625, 0.0487060546875, -0.077392578125, 0.0164031982421875, -0.0023365020751953125, 0.01629638671875, 0.0012922286987304688, 0.0036449432373046875, -0.0012722015380859375, 0.007190704345703125, 0.0012865066528320312, 0.03912353515625, -0.0212860107421875, 0.032012939453125, 0.020416259765625, 0.013641357421875, -0.03448486328125, 0.03851318359375, -0.050201416015625, 0.031829833984375, 0.01885986328125, -0.02056884765625, 0.049560546875, -0.02691650390625, -0.00806427001953125, -0.01163482666015625, -0.027679443359375, -0.02996826171875, 0.01416015625, 0.0032711029052734375, -0.01070404052734375, -0.0015707015991210938, 0.0132293701171875, 0.021026611328125, 0.0255126953125, 0.0303192138671875, -0.004302978515625, -0.0167694091796875, 0.0292510986328125, -0.01262664794921875, 0.01153564453125, 0.0085296630859375, -0.015899658203125, 0.0172882080078125, -0.01514434814453125, 0.0135955810546875, -0.0206756591796875, -0.027740478515625, -0.036041259765625, 0.03509521484375, 0.01264190673828125, -0.01026153564453125, 0.019866943359375, 0.0189208984375, -0.1077880859375, 0.048370361328125, -0.0550537109375, -0.017364501953125, 0.0196380615234375, -0.0085906982421875, -0.0293121337890625, -0.0280914306640625, -0.0252532958984375, -0.0286102294921875, 0.03387451171875, -0.037628173828125, 0.00006920099258422852, 0.0011301040649414062, 0.0207061767578125, 0.0143585205078125, 0.03131103515625, 0.0031585693359375, -0.02947998046875, 0.01953125, -0.0384521484375, 0.0220489501953125, -0.0159759521484375, -0.0181884765625, -0.0193328857421875, 0.052734375, 0.0256195068359375, -0.007328033447265625, 0.039306640625, 0.05023193359375, -0.03662109375, 0.0285797119140625, -0.0009317398071289062, 0.01666259765625, 0.0584716796875, 0.0264892578125, 0.0167694091796875, -0.01308441162109375, 0.036590576171875, 0.00400543212890625, -0.022247314453125, -0.003265380859375, -0.013397216796875, 0.0134429931640625, -0.03582763671875, 0.0137786865234375, -0.0024089813232421875, -0.0494384765625, 0.022552490234375, 0.0985107421875, 0.05133056640625, 0.0110321044921875, -0.00885009765625, 0.025177001953125, 0.022003173828125, 0.02557373046875, -0.031585693359375, 0.06573486328125, -0.0099945068359375, -0.042144775390625, 0.047821044921875, 0.0574951171875, 0.00983428955078125, 0.007144927978515625, 0.0174407958984375, 0.032196044921875, -0.0191497802734375, 0.04534912109375, -0.0160980224609375, 0.0004944801330566406, 0.0207977294921875, 0.00948333740234375, 0.01126861572265625, 0.0016775131225585938, 0.006725311279296875, 0.01277923583984375, 0.00189971923828125, -0.0450439453125, -0.024444580078125, 0.018341064453125, -0.06878662109375, -0.06622314453125, 0.03564453125, -0.0029926300048828125, -0.0020351409912109375, 0.025482177734375, 0.008148193359375, 0.045379638671875, -0.0289459228515625, 0.04095458984375, 0.0035305023193359375, -0.00818634033203125, 0.01226043701171875, 0.026123046875, -0.0008082389831542969, 0.00839996337890625, 0.021728515625, -0.0155487060546875, -0.046783447265625, 0.04705810546875, -0.052154541015625, -0.07928466796875, 0.04571533203125, 0.009002685546875, 0.0791015625, 0.0160369873046875, 0.006938934326171875, 0.056304931640625, 0.024993896484375, -0.011505126953125, 0.0105743408203125, -0.0192413330078125, -0.0498046875, 0.01207733154296875, -0.0121612548828125, -0.0116729736328125, 0.022186279296875, -0.07171630859375, 0.0009250640869140625, 0.017547607421875, 0.01264190673828125, 0.04864501953125, -0.007114410400390625, 0.0104217529296875, 0.0347900390625, 0.00685882568359375, -0.004459381103515625, 0.012542724609375, 0.00435638427734375, -0.04119873046875, 0.01238250732421875, -0.0290069580078125, -0.01517486572265625, 0.005855560302734375, 0.089111328125, 0.00826263427734375, 0.038238525390625, 0.00582122802734375, -0.0635986328125, 0.01202392578125, 0.016754150390625, 0.017120361328125, 0.016448974609375, -0.0295562744140625, -0.0010786056518554688, 0.0109100341796875, 0.037139892578125, -0.0408935546875, 0.005046844482421875, 0.01412200927734375, -0.00780487060546875, -0.0266876220703125, 0.0009746551513671875, 0.011322021484375, -0.048187255859375, -0.00713348388671875, 0.03875732421875, 0.01311492919921875, 0.032562255859375, 0.0151824951171875, 0.06475830078125, 0.0809326171875, 0.0019235610961914062, -0.01265716552734375, 0.03521728515625, -0.0171356201171875, 0.00722503662109375, 0.0284576416015625, 0.023162841796875, 0.0114898681640625, -0.01555633544921875, 0.03497314453125, 0.0125732421875, 0.0147552490234375, 0.043792724609375, -0.008026123046875, 0.0192413330078125, -0.02545166015625, 0.046234130859375, 0.015594482421875, -0.0015287399291992188, 0.01183319091796875, -0.00970458984375, 0.023345947265625, 0.016693115234375, -0.02239990234375, -0.027374267578125, 0.03125, 0.03546142578125, 0.005794525146484375, -0.01201629638671875, 0.0274200439453125, 0.0220947265625, -0.0256805419921875, -0.00396728515625, 0.037445068359375, -0.0020732879638671875, -0.00200653076171875, -0.0200347900390625, 0.00363922119140625, -0.001575469970703125, 0.036865234375, -0.037628173828125, 0.024017333984375, 0.003116607666015625, -0.05938720703125, -0.03814697265625, 0.0071868896484375, 0.027618408203125, -0.0035610198974609375, -0.01554107666015625, -0.00789642333984375, -0.016204833984375, -0.0157012939453125, -0.0259246826171875, 0.029693603515625, -0.019683837890625, -0.0032405853271484375, 0.06842041015625, 0.01068115234375, 0.00048732757568359375, 0.006908416748046875, -0.0216827392578125, -0.00948333740234375, -0.00270843505859375, -0.0078887939453125, 0.0023212432861328125, -0.05133056640625, 0.0220947265625, 0.04144287109375, 0.0755615234375, 0.007045745849609375, -0.0198974609375, 0.0307159423828125, 0.05706787109375, 0.02850341796875, -0.025482177734375, 0.001983642578125, 0.027496337890625, -0.055877685546875, -0.01140594482421875, 0.01331329345703125, 0.0115203857421875, -0.03314208984375, -0.014678955078125, -0.038238525390625, -0.016265869140625, 0.03472900390625, -0.048736572265625, -0.022125244140625, -0.0308685302734375, 0.01519012451171875, 0.0019931793212890625, -0.018524169921875, 0.051239013671875, -0.00994873046875, -0.01056671142578125, -0.007175445556640625, 0.012542724609375, 0.01065826416015625, 0.0016450881958007812, -0.0258331298828125, -0.041015625, 0.0034656524658203125, -0.01152801513671875, 0.01253509521484375, -0.01009368896484375, 0.0179595947265625, -0.002288818359375, -0.01064300537109375, -0.003673553466796875, -0.0174102783203125, -0.00135040283203125, 0.0230255126953125, -0.006496429443359375, -0.01535797119140625, -0.05621337890625, -0.01275634765625, 0.01557159423828125, -0.0140228271484375, 0.003269195556640625, -0.01541900634765625, -0.00640106201171875, -0.0164337158203125, 0.03729248046875, 0.0115509033203125, 0.024139404296875, 0.00722503662109375, 0.007099151611328125, -0.050048828125, -0.006092071533203125, -0.0097198486328125, -0.01171112060546875, 0.035797119140625, -0.01702880859375, 0.0178680419921875, 0.01025390625, 0.006500244140625, 0.01509857177734375, -0.0119781494140625, -0.0126953125, -0.047760009765625, 0.026885986328125, -0.06005859375, 0.027801513671875, -0.04669189453125, -0.0287628173828125, -0.01331329345703125, 0.1007080078125, -0.0266571044921875, -0.01873779296875, 0.00620269775390625, 0.00681304931640625, 0.0008053779602050781, -0.005649566650390625, -0.0263214111328125, -0.021514892578125, 0.01250457763671875, -0.02764892578125, -0.037689208984375, 0.00505828857421875, 0.00740814208984375, -0.0440673828125, 0.043548583984375, -0.0303802490234375, 0.020172119140625, -0.04541015625, 0.0234832763671875, 0.0301666259765625, -0.004932403564453125, 0.01419830322265625, 0.006549835205078125, -0.05126953125, 0.024566650390625, 0.017822265625, 0.0078887939453125, -0.048309326171875, -0.0096893310546875, 0.017974853515625, -0.004154205322265625, 0.0011777877807617188, -0.0157623291015625, 0.0487060546875, 0.005573272705078125, 0.04656982421875, 0.0010833740234375, -0.049560546875, 0.01073455810546875, -0.0472412109375, -0.031982421875, -0.011138916015625, 0.016326904296875, 0.04498291015625, -0.00611114501953125, -0.015655517578125, 0.0045013427734375, -0.0085601806640625, -0.09661865234375, -0.038909912109375, -0.003936767578125, 0.035980224609375, -0.01488494873046875, 0.01318359375, -0.0487060546875, -0.08544921875, -0.0440673828125, -0.0701904296875, -0.0223236083984375, 0.04693603515625, 0.042236328125, 0.0254974365234375, 0.038787841796875, -0.01097869873046875, 0.037628173828125, 0.025177001953125, 0.044525146484375, -0.01519012451171875, -0.0182952880859375, -0.0186920166015625, -0.0161895751953125, 0.007488250732421875, 0.01285552978515625, -0.0244140625, 0.039825439453125, -0.03704833984375, -0.03753662109375, 0.045135498046875, -0.058013916015625, 0.00852203369140625, 0.0170440673828125, -0.0124664306640625, 0.00795745849609375, 0.00740814208984375, 0.0022640228271484375, -0.017059326171875, 0.0090484619140625, -0.0017747879028320312, -0.00321197509765625, -0.0007929801940917969, 0.01409912109375, 0.00817108154296875, 0.00614166259765625, 0.00968170166015625, -0.0413818359375, -0.035430908203125, 0.00044798851013183594, 0.042144775390625, 0.025665283203125, 0.0091094970703125, 0.0426025390625, 0.0112152099609375, 0.0199127197265625, 0.006298065185546875, -0.01904296875, 0.08502197265625, 0.00574493408203125, -0.00826263427734375, -0.0278167724609375, -0.0269775390625, 0.00206756591796875, 0.010772705078125, -0.0223388671875, 0.01910400390625, 0.0036029815673828125, 0.014129638671875, 0.0341796875, -0.029052734375, -0.0099334716796875, -0.01280975341796875, 0.02276611328125, 0.0304718017578125, -0.0170135498046875, 0.0312347412109375, 0.04205322265625, -0.0274200439453125, 0.045318603515625, 0.01934814453125, 0.04296875, 0.04998779296875, 0.0019254684448242188, 0.004650115966796875, 0.0109405517578125, -0.0042266845703125, -0.0296173095703125, -0.0117340087890625, -0.004138946533203125, 0.00356292724609375, -0.024993896484375, -0.0122833251953125, -0.0247650146484375, -0.00934600830078125, 0.05584716796875, -0.0171661376953125, -0.02923583984375, -0.0120697021484375, 0.04302978515625, 0.025146484375, -0.005527496337890625, 0.004909515380859375, -0.01502227783203125, 0.054718017578125, -0.00116729736328125, 0.0268096923828125, -0.000042438507080078125, 0.0128021240234375, 0.0159759521484375, -0.010498046875, -0.02410888671875, -0.006153106689453125, -0.028106689453125, -0.00019419193267822266, 0.005382537841796875, -0.0347900390625, -0.0361328125, -0.00885772705078125, -0.00922393798828125, 0.03204345703125, -0.019622802734375, 0.045257568359375, -0.0196533203125, -0.042449951171875, -0.0579833984375, 0.02880859375, 0.00090789794921875, 0.016448974609375, 0.00695037841796875, -0.034027099609375, -0.0160369873046875, -0.0218658447265625, 0.0080108642578125, -0.0280914306640625, 0.005939483642578125, -0.014404296875, 0.00994873046875, 0.03765869140625, -0.00934600830078125, -0.04620361328125, -0.0199432373046875, -0.0179595947265625, 0.007465362548828125, -0.00528717041015625, 0.018829345703125, 0.00592041015625, -0.01116180419921875, 0.0180511474609375, 0.0201568603515625, -0.006557464599609375, -0.01345062255859375, -0.0228424072265625, 0.01221466064453125, -0.039825439453125, -0.044677734375, -0.029449462890625, -0.00740814208984375, 0.037506103515625, 0.029632568359375, -0.0014171600341796875, 0.032379150390625, -0.0150909423828125, 0.00724029541015625, -0.0214691162109375, -0.0148162841796875, -0.05206298828125, -0.01396942138671875, 0.033111572265625, -0.04913330078125, 0.035888671875, 0.033782958984375, 0.041748046875, 0.00397491455078125, -0.056427001953125, 0.034515380859375, 0.0242919921875, -0.034454345703125, 0.034820556640625, 0.013092041015625, -0.01030731201171875, 0.0238800048828125, -0.015655517578125, 0.00492095947265625, 0.00479888916015625, 0.048126220703125, -0.01541900634765625, -0.06146240234375, 0.0249176025390625, 0.0017309188842773438, -0.04364013671875, 0.004680633544921875, -0.0263824462890625, 0.0723876953125, 0.0679931640625, 0.113037109375, -0.12359619140625, 0.048583984375, 0.03900146484375, -0.0016021728515625, 0.06768798828125, 0.0018949508666992188, -0.0233154296875, -0.0594482421875, 0.05615234375, 0.01345062255859375, -0.0052642822265625, 0.0247650146484375, -0.0018396377563476562, -0.0209503173828125, 0.01453399658203125, -0.0117340087890625, -0.0018510818481445312, 0.027679443359375, -0.0218353271484375, -0.0015316009521484375, 0.0028591156005859375, -0.0192108154296875, 0.02191162109375, -0.00772857666015625, 0.0161590576171875, -0.00628662109375, 0.054931640625, -0.0202178955078125, 0.025543212890625, 0.04913330078125, -0.005641937255859375, -0.024627685546875, 0.0460205078125, -0.0294647216796875, 0.01409149169921875, 0.011383056640625, -0.08203125, 0.0528564453125, -0.029449462890625, -0.0138092041015625, 0.0157318115234375, -0.037384033203125, -0.01439666748046875, -0.01177215576171875, 0.01373291015625, -0.0028438568115234375, 0.0262451171875, 0.0276031494140625, -0.029937744140625, -0.0096282958984375, 0.032867431640625, 0.048095703125, -0.0088958740234375, 0.0119171142578125, 0.00414276123046875, 0.025482177734375, 0.04156494140625, 0.01329803466796875, 0.0178375244140625, 0.007511138916015625, 0.03228759765625, -0.06622314453125, 0.07171630859375, -0.005733489990234375, 0.02313232421875, -0.0196075439453125, 0.034881591796875, 0.0026416778564453125, 0.0142669677734375, -0.058074951171875, 0.058990478515625, 0.02325439453125, 0.04364013671875, -0.09283447265625, -0.0283966064453125, -0.00980377197265625, 0.059356689453125, 0.04364013671875, 0.001964569091796875, -0.0355224609375, 0.004253387451171875, 0.042388916015625, 0.00848388671875, -0.00836181640625, 0.050567626953125, 0.011260986328125, -0.018646240234375, 0.0743408203125, 0.0087890625, 0.0254364013671875, 0.042938232421875, 0.00818634033203125, 0.02398681640625, -0.0017795562744140625, 0.0035343170166015625, -0.019195556640625, 0.054931640625, 0.01123809814453125, -0.03277587890625, 0.011474609375, -0.052032470703125, -0.0050201416015625, 0.01751708984375, 0.00691986083984375, -0.0212860107421875, -0.0341796875, -0.0139312744140625, 0.03515625, 0.007110595703125, 0.035675048828125, -0.0135650634765625, 0.0125274658203125, 0.0190277099609375, -0.02691650390625, 0.0082244873046875, 0.0220947265625, -0.046539306640625, -0.02545166015625, 0.003963470458984375, -0.00594329833984375, -0.00118255615234375, 0.046600341796875, 0.0186004638671875, -0.022308349609375, -0.0175628662109375, 0.04833984375, 0.005191802978515625, -0.0010232925415039062, 0.006687164306640625, -0.07061767578125, 0.01255035400390625, -0.0382080078125, -0.06683349609375, -0.048828125, 0.0270843505859375, 0.0267333984375, 0.03472900390625, -0.01262664794921875, 0.0135955810546875, -0.0595703125, -0.017730712890625, -0.00989532470703125, 0.01284027099609375, -0.015289306640625, 0.01483154296875, -0.01332855224609375, 0.040313720703125, -0.02423095703125, -0.0033283233642578125, 0.0265960693359375, -0.00096893310546875, -0.0163116455078125, -0.03753662109375, -0.0033779144287109375, -0.04010009765625, -0.033416748046875, 0.0260162353515625, 0.01861572265625, 0.0139007568359375, 0.020172119140625, 0.027618408203125, 0.016265869140625, -0.0008258819580078125, 0.0311431884765625, -0.01194000244140625, 0.0110626220703125, -0.03228759765625, 0.048919677734375, 0.025787353515625, 0.021270751953125, -0.0292816162109375, 0.0294647216796875, 0.048980712890625, -0.005298614501953125, 0.03387451171875, -0.002346038818359375, -0.037841796875, 0.05413818359375, 0.0244293212890625, 0.135009765625, 0.041748046875, -0.029632568359375, -0.02105712890625, 0.0026378631591796875, 0.021148681640625, -0.020721435546875, 0.01357269287109375, -0.013092041015625, 0.048675537109375, -0.006103515625, 0.01837158203125, -0.00054168701171875, -0.031982421875, 0.01898193359375, 0.0167388916015625, 0.0221710205078125, 0.018463134765625, -0.054931640625, -0.0272216796875, -0.00476837158203125, 0.0136871337890625, 0.0293121337890625, 0.01256561279296875, 0.041015625, 0.02783203125, 0.0178680419921875, 0.04144287109375, 0.007190704345703125, -0.00624847412109375, 0.046966552734375, 0.00685882568359375, 0.0100860595703125, -0.00882720947265625, 0.04425048828125, -0.008636474609375, 0.0679931640625, -0.037628173828125, -0.0118408203125, -0.0112762451171875, 0.0233154296875, -0.0202178955078125, 0.02685546875, -0.0234832763671875, -0.076171875, -0.0119781494140625, 0.031707763671875, -0.02154541015625, 0.01222991943359375, -0.005428314208984375, -0.0014677047729492188, -0.01995849609375, -0.040008544921875, 0.0102996826171875, -0.02642822265625, 0.00926971435546875, 0.0318603515625, 0.0157928466796875, -0.005340576171875, 0.0029582977294921875, -0.0119476318359375, 0.0036220550537109375, 0.0138092041015625, -0.00423431396484375, 0.0269775390625, -0.047515869140625, 0.003997802734375, 0.060638427734375, 0.0751953125, 0.0240478515625, 0.0247955322265625, 0.0081787109375, -0.0379638671875, 0.0167388916015625, -0.0017375946044921875, -0.0152587890625, -0.032989501953125, 0.006427764892578125, -0.006145477294921875, 0.021636962890625, -0.006862640380859375, 0.02630615234375, -0.029693603515625, 0.0167388916015625, 0.006103515625, -0.055999755859375, 0.022125244140625, -0.006744384765625, -0.008331298828125, -0.03179931640625, -0.023101806640625, -0.0003001689910888672, -0.0017309188842773438, 0.0181732177734375, 0.006412506103515625, -0.0234527587890625, 0.015899658203125, 0.0157928466796875, 0.0290374755859375, 0.04022216796875, -0.030364990234375, -0.00897979736328125, 0.0276641845703125, 0.031402587890625, 0.0740966796875, -0.01461029052734375, -0.0101318359375, 0.025238037109375, -0.00933837890625, -0.0281219482421875, -0.0281982421875, 0.0340576171875, -0.0657958984375, -0.0275115966796875, -0.0172271728515625, -0.006744384765625, -0.00330352783203125, -0.060699462890625, -0.10345458984375, 0.051025390625, -0.00836944580078125, -0.037811279296875, -0.048675537109375, -0.0394287109375, -0.038421630859375, 0.07080078125, -0.012420654296875, -0.01385498046875, -0.023590087890625, 0.061920166015625, -0.01087188720703125, -0.015045166015625, 0.030242919921875, -0.0096588134765625, -0.04180908203125, -0.00884246826171875, 0.0001785755157470703, -0.031005859375, 0.077880859375, -0.05340576171875, 0.036865234375, 0.0246429443359375, -0.0623779296875, -0.058837890625, -0.0269622802734375, -0.03131103515625, 0.0161590576171875, 0.011383056640625, -0.044189453125, -0.00887298583984375, 0.035186767578125, 0.0731201171875, 0.0228271484375, -0.029754638671875, 0.00865936279296875, 0.040374755859375, -0.01251220703125, 0.003932952880859375, 0.0021190643310546875, -0.006107330322265625, 0.0070648193359375, -0.054718017578125, -0.04071044921875, 0.034454345703125, 0.0458984375, -0.053863525390625, 0.029632568359375, 0.005359649658203125, -0.01898193359375, -0.10650634765625, -0.0015621185302734375, 0.0265045166015625, -0.0186309814453125, 0.020263671875, -0.032470703125, 0.01029205322265625, 0.0140228271484375, -0.01629638671875, 0.0295257568359375, -0.02349853515625, -0.047393798828125, 0.027679443359375, -0.005031585693359375, 0.0675048828125, -0.060150146484375, -0.047576904296875, -0.01324462890625, 0.029571533203125, 0.0032062530517578125, 0.035980224609375, 0.011962890625, 0.047027587890625, 0.016143798828125, 0.018707275390625, -0.01387786865234375, -0.021942138671875, -0.029754638671875, 0.0282745361328125, 0.01561737060546875, -0.006740570068359375, 0.047149658203125, -0.041351318359375, 0.018890380859375, -0.035003662109375, -0.0200347900390625, -0.01140594482421875, -0.0196380615234375, -0.0218658447265625, -0.042266845703125, 0.00775146484375 ]
53582cfb070269b4960a4170650c2a3679d0b6fc
Wordpress Stackexchange Q: Link for the page archive for posts, like using custom post types with get_post_type_archive_link I am trying to get the page to list all my posts (post type = post) in archive. I can do this with custom post types, with get_post_type_archive_link(), but using get_post_type_archive_link('post') to get the page url of all posts doesn't work the same way. Also using get_permalink() or get_permalink( get_option( 'page_for_posts' ) ) returns only the link of one post. Example: I would like to get a link like www.example.com/posts/ or other, in a similar way as the custom post type, when using get_post_type_archive_link('news'), retrieves www.example.com/news/. Can I get a list of posts other than in the home page? Is this possible? Thanks for the help! A: I use a shortcode: function shortcode_article_list() { $posts_array = get_posts( array('posts_per_page' => -1, 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'post', 'post_status' => 'publish') ); $output = '<ul>'; foreach ($posts_array as $post) { $a = explode(' ', $post->post_date); $output .= '<li><a href="' . home_url('/') . $post->post_name . '.html">' . $post->post_title . '</a> (' . $a[0] . ')</li>'; } $output .= '</ul>'; return $output; } add_shortcode('article_list', 'shortcode_article_list'); Perhaps there's something you can use from it.
Q: Link for the page archive for posts, like using custom post types with get_post_type_archive_link I am trying to get the page to list all my posts (post type = post) in archive. I can do this with custom post types, with get_post_type_archive_link(), but using get_post_type_archive_link('post') to get the page url of all posts doesn't work the same way. Also using get_permalink() or get_permalink( get_option( 'page_for_posts' ) ) returns only the link of one post. Example: I would like to get a link like www.example.com/posts/ or other, in a similar way as the custom post type, when using get_post_type_archive_link('news'), retrieves www.example.com/news/. Can I get a list of posts other than in the home page? Is this possible? Thanks for the help! A: I use a shortcode: function shortcode_article_list() { $posts_array = get_posts( array('posts_per_page' => -1, 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'post', 'post_status' => 'publish') ); $output = '<ul>'; foreach ($posts_array as $post) { $a = explode(' ', $post->post_date); $output .= '<li><a href="' . home_url('/') . $post->post_name . '.html">' . $post->post_title . '</a> (' . $a[0] . ')</li>'; } $output .= '</ul>'; return $output; } add_shortcode('article_list', 'shortcode_article_list'); Perhaps there's something you can use from it.
wordpress
{ "language": "en", "length": 197, "provenance": "stackexchange_00019.jsonl.gz:475932", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/265958" }
[ 0.0513916015625, 0.0006327629089355469, 0.005390167236328125, 0.0071563720703125, 0.01245880126953125, -0.0390625, 0.0830078125, -0.0254974365234375, -0.00926971435546875, 0.002353668212890625, 0.01690673828125, -0.0229034423828125, -0.0389404296875, -0.060302734375, 0.0167083740234375, -0.018585205078125, 0.0584716796875, -0.0205535888671875, 0.03631591796875, 0.0003190040588378906, 0.0123443603515625, 0.032379150390625, 0.00879669189453125, 0.041290283203125, 0.03631591796875, 0.009124755859375, 0.0386962890625, -0.0063018798828125, 0.0067596435546875, 0.002437591552734375, 0.0196075439453125, -0.037353515625, 0.03955078125, -0.012115478515625, -0.0013751983642578125, 0.0247802734375, -0.018585205078125, 0.0083770751953125, -0.024017333984375, 0.0274810791015625, 0.006053924560546875, -0.0030670166015625, 0.041107177734375, -0.007083892822265625, -0.0062103271484375, -0.011077880859375, 0.0211334228515625, -0.022125244140625, -0.01322174072265625, 0.0005674362182617188, 0.01125335693359375, 0.016326904296875, 0.010894775390625, -0.0010833740234375, -0.007236480712890625, 0.00952911376953125, 0.006259918212890625, -0.048980712890625, 0.028472900390625, -0.049896240234375, -0.039337158203125, -0.029052734375, 0.06146240234375, 0.0031280517578125, -0.0298919677734375, 0.01285552978515625, 0.068359375, -0.001331329345703125, -0.054412841796875, -0.0127410888671875, 0.032806396484375, -0.0149688720703125, -0.006168365478515625, -0.010040283203125, -0.02044677734375, -0.01523590087890625, -0.00223541259765625, -0.038909912109375, 0.005832672119140625, 0.0102081298828125, -0.00844573974609375, -0.0156402587890625, -0.04931640625, -0.00994110107421875, -0.00911712646484375, -0.01132965087890625, -0.00617218017578125, -0.00858306884765625, -0.03375244140625, 0.006031036376953125, -0.019012451171875, -0.033660888671875, 0.0089874267578125, -0.001407623291015625, 0.004695892333984375, -0.036651611328125, 0.0106048583984375, 0.0545654296875, -0.024078369140625, 0.024810791015625, -0.033172607421875, -0.016998291015625, 0.03155517578125, -0.053314208984375, 0.01250457763671875, 0.03594970703125, 0.0187530517578125, 0.040924072265625, 0.0457763671875, -0.0027618408203125, -0.004772186279296875, 0.047698974609375, -0.0396728515625, -0.0127105712890625, 0.016143798828125, 0.019744873046875, -0.07464599609375, 0.016632080078125, -0.02435302734375, 0.0223541259765625, 0.019134521484375, 0.05926513671875, 0.01806640625, -0.035491943359375, -0.03741455078125, -0.0012712478637695312, 0.00066375732421875, -0.10101318359375, 0.07952880859375, 0.05224609375, -0.0187225341796875, -0.007236480712890625, -0.0296173095703125, -0.0265655517578125, -0.0033817291259765625, -0.020660400390625, -0.0172882080078125, -0.039276123046875, -0.0142669677734375, 0.0129241943359375, 0.0149993896484375, -0.04083251953125, -0.00927734375, 0.0157623291015625, 0.01434326171875, 0.02099609375, 0.020233154296875, 0.0090789794921875, -0.01094818115234375, -0.035736083984375, -0.01166534423828125, 0.006511688232421875, 0.04296875, -0.01102447509765625, -0.047271728515625, -0.0718994140625, -0.004970550537109375, -0.040069580078125, 0.03619384765625, -0.07196044921875, 0.039886474609375, 0.006206512451171875, -0.0170745849609375, -0.036041259765625, -0.06561279296875, -0.0201873779296875, -0.045623779296875, -0.01555633544921875, 0.012054443359375, 0.046417236328125, 0.0020751953125, -0.027130126953125, -0.01074981689453125, 0.0020618438720703125, -0.019378662109375, -0.004985809326171875, -0.034881591796875, -0.0220794677734375, 0.0302734375, 0.01486968994140625, -0.005069732666015625, -0.01355743408203125, -0.0115966796875, 0.033843994140625, -0.04248046875, 0.029296875, 0.0306243896484375, 0.0654296875, -0.01238250732421875, 0.0266876220703125, 0.0282135009765625, 0.03033447265625, -0.04986572265625, 0.0157623291015625, 0.0028476715087890625, -0.016448974609375, -0.017120361328125, -0.0247650146484375, -0.020538330078125, 0.0305633544921875, 0.016021728515625, -0.0014438629150390625, 0.0108184814453125, 0.01067352294921875, -0.037750244140625, 0.04052734375, -0.0255126953125, 0.038238525390625, -0.006084442138671875, 0.0218505859375, 0.0211639404296875, 0.0295562744140625, -0.05120849609375, -0.0199737548828125, -0.01003265380859375, 0.0433349609375, 0.0159454345703125, -0.023193359375, -0.040069580078125, -0.0086517333984375, -0.0273895263671875, -0.0229644775390625, -0.042694091796875, 0.07452392578125, 0.0716552734375, -0.0116424560546875, -0.00457763671875, -0.032135009765625, -0.0008096694946289062, 0.031707763671875, -0.129638671875, 0.0296478271484375, 0.0279388427734375, 0.03424072265625, -0.05780029296875, -0.0177001953125, -0.01078033447265625, 0.000507354736328125, 0.0134124755859375, 0.04290771484375, 0.056732177734375, 0.02252197265625, 0.0188140869140625, -0.03228759765625, 0.055999755859375, -0.005970001220703125, 0.037994384765625, -0.061767578125, -0.0012798309326171875, 0.06524658203125, -0.0095977783203125, 0.053070068359375, -0.0110931396484375, -0.006061553955078125, -0.0006618499755859375, 0.042083740234375, 0.01425933837890625, 0.038818359375, -0.02276611328125, 0.01104736328125, -0.0010194778442382812, 0.0281219482421875, -0.0000476837158203125, -0.0008516311645507812, 0.027862548828125, 0.036529541015625, 0.0364990234375, 0.0298614501953125, -0.038482666015625, 0.022857666015625, 0.0005521774291992188, 0.01397705078125, -0.0022754669189453125, 0.006069183349609375, 0.020233154296875, -0.03729248046875, 0.005645751953125, -0.00518035888671875, 0.0021762847900390625, -0.0011110305786132812, -0.0097808837890625, 0.0406494140625, 0.02740478515625, -0.004425048828125, -0.0182037353515625, -0.070068359375, 0.0173187255859375, 0.03009033203125, -0.01473236083984375, 0.0097503662109375, 0.0092620849609375, 0.037078857421875, -0.026123046875, 0.05120849609375, 0.0140533447265625, 0.0015382766723632812, 0.0298614501953125, -0.0657958984375, 0.048736572265625, -0.031829833984375, 0.061859130859375, 0.06610107421875, -0.021484375, 0.019866943359375, -0.00919342041015625, 0.0093994140625, -0.017181396484375, -0.0078582763671875, -0.037353515625, -0.034210205078125, -0.0411376953125, 0.00930023193359375, 0.01739501953125, 0.0247039794921875, -0.002696990966796875, -0.0265350341796875, -0.00836181640625, 0.0219879150390625, -0.08160400390625, -0.072021484375, 0.036590576171875, -0.08795166015625, 0.049224853515625, -0.01947021484375, -0.0377197265625, -0.03326416015625, 0.03179931640625, 0.0156097412109375, 0.00725555419921875, 0.0029621124267578125, -0.0523681640625, -0.044403076171875, -0.0792236328125, -0.0279541015625, -0.00844573974609375, 0.01483917236328125, 0.01959228515625, 0.046844482421875, 0.00817108154296875, -0.071044921875, 0.0122222900390625, 0.06329345703125, -0.040252685546875, 0.004596710205078125, -0.0172271728515625, 0.0093231201171875, -0.040130615234375, 0.012420654296875, 0.047454833984375, 0.005054473876953125, -0.021697998046875, 0.01045989990234375, -0.0081787109375, 0.01468658447265625, 0.0374755859375, -0.0015430450439453125, -0.003269195556640625, 0.052703857421875, 0.053375244140625, -0.007457733154296875, -0.017303466796875, -0.016357421875, -0.03900146484375, 0.016143798828125, 0.02618408203125, 0.00899505615234375, -0.0057373046875, 0.01425933837890625, -0.0181732177734375, 0.00439453125, 0.06475830078125, -0.040069580078125, 0.0161285400390625, -0.019012451171875, -0.009002685546875, -0.028594970703125, 0.0679931640625, -0.00615692138671875, 0.032073974609375, 0.047088623046875, -0.0036334991455078125, 0.00756072998046875, -0.004421234130859375, -0.006961822509765625, -0.059661865234375, 0.045440673828125, -0.037384033203125, 0.0002827644348144531, -0.04144287109375, -0.031890869140625, -0.005550384521484375, 0.0745849609375, -0.05810546875, -0.0033512115478515625, -0.0180511474609375, -0.0174560546875, 0.045135498046875, -0.0154876708984375, -0.034637451171875, -0.0198516845703125, -0.06463623046875, -0.0007534027099609375, -0.0231170654296875, -0.0122222900390625, -0.02447509765625, 0.02874755859375, -0.035400390625, -0.0246124267578125, 0.0183563232421875, 0.0281219482421875, -0.0142822265625, 0.035064697265625, -0.02520751953125, 0.01024627685546875, -0.0330810546875, 0.0274658203125, -0.044189453125, -0.0187225341796875, 0.0243377685546875, 0.024658203125, 0.01480865478515625, -0.0648193359375, -0.003490447998046875, 0.03955078125, -0.0002772808074951172, 0.019012451171875, 0.020843505859375, 0.0181427001953125, 0.0029239654541015625, -0.01078033447265625, 0.007595062255859375, -0.0384521484375, 0.03277587890625, 0.0247039794921875, -0.043182373046875, 0.0217437744140625, -0.054046630859375, 0.0211181640625, -0.01025390625, -0.046905517578125, -0.0169677734375, -0.0003159046173095703, 0.0274505615234375, 0.03448486328125, 0.0196533203125, -0.01184844970703125, -0.0238800048828125, -0.052764892578125, 0.011962890625, 0.0280609130859375, -0.03973388671875, 0.00013244152069091797, 0.0198516845703125, 0.0266265869140625, -0.030731201171875, -0.037628173828125, 0.028228759765625, 0.0282745361328125, -0.0156402587890625, 0.06341552734375, 0.0224151611328125, -0.0018377304077148438, 0.035675048828125, -0.0157318115234375, 0.0106964111328125, -0.001068115234375, 0.0196380615234375, 0.009979248046875, 0.017547607421875, 0.00023353099822998047, 0.0074005126953125, 0.01064300537109375, 0.056488037109375, 0.0022487640380859375, -0.0173492431640625, 0.0021190643310546875, 0.0299224853515625, -0.0211639404296875, 0.0248870849609375, -0.018096923828125, -0.00516510009765625, -0.005924224853515625, 0.03314208984375, 0.0474853515625, 0.031982421875, -0.0219573974609375, 0.0212860107421875, 0.01531982421875, -0.006561279296875, 0.01001739501953125, 0.02423095703125, 0.008026123046875, 0.04241943359375, -0.044036865234375, -0.0179901123046875, -0.0119171142578125, -0.0012769699096679688, 0.0186920166015625, 0.0012540817260742188, -0.03765869140625, 0.01541900634765625, -0.018707275390625, -0.0165863037109375, -0.01030731201171875, -0.0203857421875, 0.03668212890625, 0.044189453125, -0.01116180419921875, -0.0010929107666015625, -0.033660888671875, 0.007659912109375, -0.0406494140625, 0.018341064453125, 0.01064300537109375, 0.00238800048828125, -0.0029697418212890625, 0.0657958984375, -0.018707275390625, 0.032440185546875, -0.0135040283203125, 0.006252288818359375, 0.0242767333984375, 0.0472412109375, 0.032501220703125, -0.03704833984375, -0.0257110595703125, 0.03936767578125, 0.006008148193359375, -0.02569580078125, 0.005306243896484375, 0.03924560546875, 0.056854248046875, 0.022857666015625, -0.012359619140625, -0.032623291015625, -0.044189453125, -0.0267791748046875, 0.0628662109375, 0.00731658935546875, -0.040863037109375, -0.046966552734375, -0.019500732421875, 0.0312042236328125, -0.0010852813720703125, -0.0249786376953125, 0.04156494140625, 0.0006494522094726562, 0.0297393798828125, -0.003818511962890625, -0.040008544921875, 0.0290679931640625, 0.031982421875, 0.0082550048828125, -0.0219879150390625, -0.0052642822265625, 0.0010347366333007812, 0.0256500244140625, -0.0355224609375, -0.029693603515625, 0.0718994140625, -0.01238250732421875, 0.0433349609375, -0.03369140625, -0.045501708984375, -0.0333251953125, -0.0121612548828125, 0.06939697265625, 0.054840087890625, -0.0310821533203125, 0.0135955810546875, -0.04608154296875, 0.01213836669921875, 0.0277252197265625, -0.04742431640625, -0.00566864013671875, -0.034515380859375, 0.0271148681640625, 0.0168609619140625, 0.0204925537109375, -0.023162841796875, -0.01580810546875, 0.009674072265625, 0.0182647705078125, 0.040191650390625, 0.004734039306640625, 0.0758056640625, -0.0135498046875, 0.055755615234375, 0.0110626220703125, 0.02850341796875, -0.0297393798828125, -0.0160064697265625, 0.01340484619140625, -0.0426025390625, -0.048187255859375, 0.000946044921875, -0.005069732666015625, 0.026702880859375, 0.0357666015625, -0.00812530517578125, -0.054290771484375, 0.0019817352294921875, 0.00469970703125, -0.047515869140625, 0.04644775390625, 0.0189971923828125, -0.0241546630859375, -0.0250701904296875, -0.0007443428039550781, 0.0235595703125, 0.0010471343994140625, -0.01512908935546875, -0.002010345458984375, -0.0017080307006835938, 0.024139404296875, -0.01959228515625, -0.024383544921875, 0.045806884765625, 0.10394287109375, 0.003826141357421875, 0.043212890625, 0.03802490234375, -0.0002827644348144531, 0.030517578125, 0.0254058837890625, 0.0408935546875, -0.0092010498046875, 0.08514404296875, -0.0007543563842773438, -0.036041259765625, 0.044708251953125, -0.0501708984375, -0.0018072128295898438, 0.0023212432861328125, 0.047271728515625, -0.01313018798828125, 0.0126800537109375, 0.04339599609375, 0.017364501953125, 0.0186004638671875, 0.02020263671875, 0.003070831298828125, -0.0159149169921875, 0.0237884521484375, -0.0157623291015625, -0.01230621337890625, -0.00311279296875, -0.0187835693359375, 0.0220794677734375, -0.007350921630859375, 0.04229736328125, -0.01312255859375, -0.04833984375, -0.042694091796875, 0.0193328857421875, -0.0262603759765625, -0.032745361328125, 0.004276275634765625, -0.0197601318359375, -0.010528564453125, -0.03924560546875, 0.0101318359375, -0.0082550048828125, 0.002803802490234375, 0.00743865966796875, 0.00160980224609375, 0.0196990966796875, 0.028961181640625, -0.01873779296875, 0.0244293212890625, 0.005535125732421875, -0.0235443115234375, -0.018951416015625, -0.0193939208984375, -0.0142669677734375, 0.00788116455078125, 0.02081298828125, 0.00975799560546875, -0.0020751953125, -0.0259857177734375, -0.0183258056640625, -0.01348114013671875, 0.10791015625, -0.035736083984375, -0.03497314453125, -0.00901031494140625, 0.03424072265625, 0.0118408203125, -0.01537322998046875, 0.038848876953125, -0.058685302734375, -0.0101470947265625, 0.00928497314453125, -0.0084686279296875, -0.0231475830078125, -0.0205078125, -0.053131103515625, 0.0955810546875, -0.05474853515625, 0.0238037109375, 0.022735595703125, 0.03485107421875, 0.0005860328674316406, 0.0279693603515625, -0.0250091552734375, 0.061126708984375, 0.0391845703125, 0.00463104248046875, -0.0406494140625, -0.01508331298828125, -0.0080108642578125, 0.042633056640625, -0.004486083984375, 0.0031795501708984375, -0.029083251953125, -0.0007944107055664062, 0.0301513671875, -0.0009593963623046875, -0.0008955001831054688, 0.036651611328125, 0.00263214111328125, 0.06396484375, 0.09991455078125, -0.0477294921875, 0.034942626953125, 0.0277252197265625, -0.00360107421875, 0.0157470703125, 0.0156707763671875, 0.011474609375, 0.01274871826171875, -0.027191162109375, -0.039520263671875, 0.014739990234375, 0.026580810546875, 0.010345458984375, 0.00421905517578125, 0.020751953125, 0.03656005859375, -0.0679931640625, -0.044158935546875, -0.01543426513671875, 0.040557861328125, 0.008880615234375, -0.0037899017333984375, 0.0009760856628417969, 0.0103912353515625, 0.035614013671875, -0.0419921875, -0.00785064697265625, 0.0033111572265625, 0.0030269622802734375, 0.05694580078125, 0.031768798828125, 0.0108642578125, -0.05377197265625, -0.00565338134765625, 0.08819580078125, 0.07952880859375, -0.044525146484375, -0.043914794921875, 0.01253509521484375, 0.01157379150390625, 0.01214599609375, 0.020721435546875, 0.03863525390625, -0.011627197265625, 0.034271240234375, -0.044464111328125, -0.0016460418701171875, -0.004924774169921875, 0.0653076171875, -0.031494140625, -0.07928466796875, -0.0147552490234375, -0.0269317626953125, -0.04779052734375, 0.001556396484375, -0.007076263427734375, 0.0421142578125, 0.038116455078125, 0.037872314453125, -0.008087158203125, -0.0189666748046875, -0.0131683349609375, 0.00984954833984375, -0.0225677490234375, 0.0109710693359375, -0.025970458984375, -0.030242919921875, -0.0274200439453125, 0.04510498046875, 0.045135498046875, -0.0099945068359375, 0.0229339599609375, 0.01128387451171875, -0.012176513671875, 0.0056304931640625, 0.053680419921875, -0.009490966796875, 0.00878143310546875, -0.031585693359375, 0.0056610107421875, -0.0168304443359375, -0.0169219970703125, 0.00888824462890625, -0.0011568069458007812, 0.01198577880859375, -0.012725830078125, 0.047119140625, -0.00255584716796875, 0.01024627685546875, 0.040771484375, -0.00473785400390625, 0.0213165283203125, -0.0036334991455078125, -0.0556640625, -0.024139404296875, -0.025360107421875, -0.028289794921875, 0.038848876953125, 0.05029296875, 0.002933502197265625, -0.00406646728515625, 0.02227783203125, -0.0257415771484375, 0.0144195556640625, 0.021636962890625, -0.0013837814331054688, 0.0445556640625, 0.02679443359375, 0.006481170654296875, -0.01995849609375, -0.00537109375, -0.00872039794921875, 0.020538330078125, 0.039794921875, 0.05438232421875, -0.006397247314453125, 0.0275115966796875, -0.00130462646484375, 0.036834716796875, -0.050567626953125, -0.00909423828125, 0.00927734375, -0.0309906005859375, 0.0357666015625, -0.00037169456481933594, 0.02105712890625, 0.0016021728515625, 0.06134033203125, -0.059906005859375, -0.006229400634765625, -0.01271820068359375, 0.007175445556640625, -0.0609130859375, 0.01837158203125, -0.0240631103515625, -0.0157318115234375, -0.01264190673828125, -0.0204925537109375, 0.0160980224609375, 0.01465606689453125, 0.018310546875, 0.06549072265625, 0.048858642578125, 0.004962921142578125, 0.0225677490234375, -0.040740966796875, 0.04632568359375, 0.02069091796875, 0.0240325927734375, 0.00778961181640625, 0.035675048828125, -0.010589599609375, 0.047393798828125, 0.017547607421875, 0.0367431640625, 0.0217437744140625, 0.01519775390625, -0.003208160400390625, -0.005596160888671875, 0.03948974609375, 0.006679534912109375, 0.0041046142578125, -0.0024242401123046875, -0.00598907470703125, -0.03643798828125, 0.0072479248046875, -0.0196380615234375, -0.037078857421875, 0.01299285888671875, -0.003993988037109375, 0.01549530029296875, -0.019073486328125, -0.003948211669921875, -0.0209503173828125, 0.00644683837890625, 0.00457763671875, -0.0223236083984375, 0.004123687744140625, 0.013580322265625, -0.0138397216796875, -0.01189422607421875, 0.0006093978881835938, -0.020263671875, 0.0120697021484375, -0.01512908935546875, -0.00650787353515625, -0.060791015625, 0.01206207275390625, -0.04840087890625, 0.0009703636169433594, 0.0140533447265625, -0.01207733154296875, -0.045867919921875, 0.005641937255859375, -0.006343841552734375, 0.0537109375, -0.016571044921875, -0.024627685546875, 0.002094268798828125, 0.0014276504516601562, -0.0243988037109375, -0.0830078125, 0.01529693603515625, -0.06732177734375, -0.0079193115234375, 0.04595947265625, -0.0253753662109375, 0.0082244873046875, -0.026123046875, -0.064697265625, 0.0902099609375, 0.00098419189453125, -0.02972412109375, -0.0308990478515625, 0.0163116455078125, 0.032562255859375, -0.020050048828125, -0.002353668212890625, -0.0279693603515625, -0.0511474609375, -0.022979736328125, -0.0007767677307128906, 0.06292724609375, -0.0177459716796875, 0.026763916015625, -0.04132080078125, 0.01082611083984375, -0.0146331787109375, -0.00562286376953125, 0.018310546875, -0.0157928466796875, 0.03033447265625, 0.01525115966796875, -0.04156494140625, 0.019195556640625, -0.00634002685546875, 0.024658203125, 0.0164642333984375, -0.040130615234375, -0.083251953125, -0.04534912109375, 0.0635986328125, 0.032379150390625, 0.038726806640625, 0.00453948974609375, -0.00934600830078125, -0.005779266357421875, -0.0023479461669921875, -0.024261474609375, 0.01171112060546875, -0.03741455078125, -0.010772705078125, -0.027191162109375, 0.00879669189453125, -0.0219573974609375, -0.0288238525390625, -0.0208587646484375, -0.0268096923828125, -0.008941650390625, 0.01001739501953125, 0.0191650390625, 0.038482666015625, 0.0290985107421875, -0.028076171875, 0.005146026611328125, -0.01499176025390625, -0.01148223876953125, 0.0250244140625, -0.0297088623046875, -0.04046630859375, 0.0213775634765625, -0.00811004638671875, 0.0020313262939453125, 0.00923919677734375, 0.03619384765625, -0.0111236572265625, 0.0304412841796875, 0.0186920166015625, 0.0004661083221435547, -0.007373809814453125, -0.0372314453125, -0.034881591796875, 0.0186767578125, -0.03277587890625, 0.0679931640625, -0.01226043701171875, 0.05072021484375, 0.0176849365234375, 0.024139404296875, -0.016754150390625, -0.0023899078369140625, 0.009735107421875, -0.058837890625, -0.0016603469848632812, 0.006805419921875, -0.03326416015625, -0.013824462890625, -0.0193634033203125, -0.012542724609375, -0.01380157470703125, -0.00408935546875 ]
57842672bc752710088b62be50dee9442b787370
Wordpress Stackexchange Q: Using shortcode in Post title I have lots of posts where I have current month with the post title. When month ends, it's kind of annoying to change all the posts manually. So, I created a shortcode to show the current month. I used add_filter( 'the_title', 'do_shortcode' ); to execute the shortcode in title. It all works fine. Problem is, in the meta title, the raw shortcode is showing instead of the output. Any suggestions how I can work it out. Thanks in advance. A: The filter for the title is single_post_title, you can do the same thing you do with the_title: add_filter( 'single_post_title', 'do_shortcode' );
Q: Using shortcode in Post title I have lots of posts where I have current month with the post title. When month ends, it's kind of annoying to change all the posts manually. So, I created a shortcode to show the current month. I used add_filter( 'the_title', 'do_shortcode' ); to execute the shortcode in title. It all works fine. Problem is, in the meta title, the raw shortcode is showing instead of the output. Any suggestions how I can work it out. Thanks in advance. A: The filter for the title is single_post_title, you can do the same thing you do with the_title: add_filter( 'single_post_title', 'do_shortcode' );
wordpress
{ "language": "en", "length": 107, "provenance": "stackexchange_00019.jsonl.gz:475985", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/266160" }
[ 0.0340576171875, -0.02447509765625, -0.00038170814514160156, -0.005359649658203125, -0.0287322998046875, -0.0217132568359375, 0.01273345947265625, -0.020751953125, 0.0248870849609375, 0.038330078125, 0.035308837890625, -0.0159912109375, -0.004619598388671875, -0.03558349609375, -0.050750732421875, 0.00687408447265625, 0.022705078125, -0.0173187255859375, 0.0202484130859375, -0.015777587890625, -0.018035888671875, 0.0155181884765625, 0.02618408203125, -0.01079559326171875, 0.0033740997314453125, -0.04052734375, 0.0865478515625, -0.0268707275390625, 0.0109100341796875, -0.0303192138671875, 0.0140380859375, 0.00977325439453125, 0.054718017578125, -0.011993408203125, 0.00070953369140625, 0.10650634765625, -0.024383544921875, 0.00406646728515625, 0.017913818359375, 0.00018143653869628906, 0.00727081298828125, -0.01012420654296875, 0.00690460205078125, -0.0177764892578125, 0.005340576171875, -0.02764892578125, 0.017486572265625, -0.03662109375, 0.006862640380859375, 0.0125579833984375, 0.03448486328125, 0.0173187255859375, 0.053680419921875, -0.02252197265625, -0.018829345703125, -0.0159149169921875, -0.032318115234375, -0.014862060546875, 0.04522705078125, -0.01139068603515625, -0.0182952880859375, -0.038909912109375, 0.03179931640625, -0.021636962890625, 0.022064208984375, -0.006649017333984375, -0.0270843505859375, 0.0145721435546875, -0.004604339599609375, 0.039215087890625, 0.032012939453125, -0.03924560546875, 0.016754150390625, -0.03631591796875, 0.01216888427734375, 0.00386810302734375, -0.021942138671875, -0.0222320556640625, 0.026763916015625, -0.00641632080078125, 0.00922393798828125, 0.0179443359375, -0.011627197265625, 0.003360748291015625, -0.0174102783203125, 0.0027561187744140625, -0.018707275390625, -0.014129638671875, -0.0164337158203125, -0.0179901123046875, -0.0155029296875, 0.01355743408203125, -0.05023193359375, 0.006832122802734375, -0.0005464553833007812, -0.0267791748046875, 0.02130126953125, 0.09088134765625, -0.01107025146484375, 0.02972412109375, -0.044403076171875, -0.0104217529296875, -0.00818634033203125, -0.040802001953125, -0.0100860595703125, 0.0185089111328125, -0.018402099609375, -0.01690673828125, 0.027587890625, 0.0323486328125, -0.01165008544921875, 0.01253509521484375, -0.041595458984375, -0.02191162109375, -0.023651123046875, 0.0517578125, -0.047515869140625, -0.0037059783935546875, -0.005275726318359375, 0.02288818359375, 0.032867431640625, 0.032928466796875, 0.032989501953125, -0.034515380859375, 0.010284423828125, 0.00954437255859375, -0.040191650390625, -0.057098388671875, 0.0214996337890625, 0.009368896484375, 0.0025577545166015625, -0.001220703125, 0.0222930908203125, 0.03131103515625, -0.001888275146484375, -0.00926971435546875, 0.0248565673828125, -0.03741455078125, -0.003696441650390625, -0.00922393798828125, -0.0008511543273925781, 0.0216522216796875, 0.0194854736328125, -0.0296478271484375, -0.01035308837890625, 0.020050048828125, -0.0016727447509765625, 0.0187225341796875, 0.0105743408203125, -0.052032470703125, -0.00936126708984375, -0.0012331008911132812, -0.0094451904296875, 0.03875732421875, -0.0011072158813476562, 0.0238037109375, 0.036285400390625, -0.017333984375, 0.0105438232421875, -0.0225067138671875, 0.04180908203125, 0.0199737548828125, -0.0007243156433105469, -0.0011425018310546875, -0.038299560546875, -0.01026153564453125, -0.0369873046875, -0.004009246826171875, 0.0038967132568359375, -0.007305145263671875, 0.005741119384765625, 0.042999267578125, -0.030029296875, -0.0247039794921875, -0.006320953369140625, -0.035858154296875, -0.0225067138671875, 0.05267333984375, 0.0129852294921875, -0.0168304443359375, -0.0176239013671875, -0.0299530029296875, 0.05352783203125, 0.0034809112548828125, -0.040924072265625, -0.03326416015625, 0.0239410400390625, -0.0005145072937011719, 0.005130767822265625, 0.01776123046875, 0.06121826171875, 0.01678466796875, -0.0184173583984375, -0.0020694732666015625, 0.03143310546875, -0.039154052734375, -0.0120697021484375, -0.04571533203125, 0.0156402587890625, 0.0267181396484375, -0.007656097412109375, 0.0005202293395996094, 0.01247406005859375, 0.0133056640625, -0.016082763671875, 0.00791168212890625, -0.0193328857421875, 0.0279541015625, -0.018218994140625, -0.03680419921875, 0.00909423828125, -0.054229736328125, 0.0169830322265625, -0.01251220703125, -0.0222015380859375, 0.03753662109375, -0.026153564453125, -0.03289794921875, 0.002452850341796875, -0.007488250732421875, 0.042144775390625, 0.0200347900390625, -0.0010747909545898438, 0.031402587890625, 0.06292724609375, -0.037261962890625, -0.0036945343017578125, -0.057708740234375, 0.004085540771484375, -0.004131317138671875, -0.0899658203125, 0.051055908203125, -0.038726806640625, -0.0181732177734375, -0.05389404296875, -0.009796142578125, -0.0443115234375, 0.00096893310546875, 0.0168609619140625, 0.053955078125, 0.042877197265625, 0.050506591796875, 0.051025390625, 0.033660888671875, 0.08856201171875, -0.01074981689453125, 0.028289794921875, -0.028594970703125, 0.028778076171875, 0.040130615234375, 0.006557464599609375, -0.027618408203125, 0.00927734375, -0.0601806640625, 0.032196044921875, 0.0122833251953125, -0.0287933349609375, -0.03778076171875, 0.0302734375, -0.0233306884765625, 0.0214996337890625, -0.056121826171875, -0.034881591796875, -0.0223541259765625, 0.0665283203125, 0.0141143798828125, 0.06103515625, 0.04425048828125, -0.01256561279296875, 0.0220489501953125, -0.0087738037109375, -0.0207672119140625, 0.0146331787109375, 0.02398681640625, 0.036407470703125, 0.00661468505859375, -0.0528564453125, -0.023651123046875, 0.05389404296875, 0.01861572265625, -0.0008597373962402344, -0.0033512115478515625, -0.00812530517578125, -0.0024967193603515625, 0.0269317626953125, -0.017425537109375, 0.01116180419921875, -0.007549285888671875, 0.0753173828125, 0.010284423828125, 0.001171112060546875, 0.040557861328125, -0.018310546875, 0.07025146484375, 0.07501220703125, -0.02685546875, 0.041839599609375, -0.0224456787109375, 0.04473876953125, -0.049896240234375, 0.0181732177734375, 0.03436279296875, -0.0433349609375, 0.02642822265625, -0.0055389404296875, -0.0018939971923828125, -0.032196044921875, -0.005462646484375, -0.0207366943359375, 0.01346588134765625, -0.06524658203125, 0.0188446044921875, 0.0294647216796875, 0.052154541015625, -0.0007905960083007812, -0.0303497314453125, 0.015350341796875, 0.0300140380859375, -0.045928955078125, -0.055755615234375, -0.00055694580078125, -0.054412841796875, 0.045074462890625, -0.024932861328125, -0.0178375244140625, -0.023101806640625, 0.009918212890625, 0.0194244384765625, -0.0179595947265625, 0.0012674331665039062, -0.0155487060546875, -0.011505126953125, -0.0343017578125, 0.0034084320068359375, -0.00045680999755859375, -0.005001068115234375, -0.0030612945556640625, 0.07373046875, 0.002960205078125, -0.06304931640625, -0.034942626953125, 0.047149658203125, -0.035614013671875, -0.0059967041015625, 0.05487060546875, -0.0343017578125, -0.0295257568359375, 0.00920867919921875, -0.06683349609375, 0.01220703125, -0.0116424560546875, -0.0152130126953125, -0.0115966796875, 0.0231781005859375, 0.0198974609375, -0.00699615478515625, 0.006168365478515625, 0.05731201171875, 0.035064697265625, 0.0009751319885253906, -0.0025463104248046875, -0.047515869140625, -0.0655517578125, -0.028228759765625, 0.0234832763671875, 0.024322509765625, -0.031341552734375, -0.0033626556396484375, 0.00687408447265625, 0.0158233642578125, 0.04364013671875, -0.0187530517578125, 0.03802490234375, 0.0021038055419921875, 0.003017425537109375, -0.047210693359375, -0.00997161865234375, -0.0210113525390625, 0.04486083984375, 0.0015764236450195312, 0.045379638671875, -0.0032863616943359375, 0.026214599609375, -0.046142578125, -0.0234832763671875, 0.052947998046875, -0.0052490234375, 0.03839111328125, -0.06402587890625, -0.050567626953125, -0.0293121337890625, 0.08599853515625, -0.058349609375, -0.031707763671875, 0.017608642578125, -0.0074462890625, 0.056640625, 0.01079559326171875, -0.014556884765625, -0.038726806640625, -0.0867919921875, 0.032928466796875, -0.00203704833984375, 0.006778717041015625, -0.0186614990234375, 0.01502227783203125, -0.044525146484375, -0.0341796875, 0.039398193359375, -0.0128936767578125, 0.00443267822265625, 0.006786346435546875, -0.0479736328125, 0.0086669921875, -0.05950927734375, 0.01459503173828125, -0.03643798828125, -0.0150146484375, -0.00899505615234375, 0.0469970703125, 0.0201416015625, -0.024383544921875, -0.01117706298828125, 0.0285797119140625, 0.0030765533447265625, 0.0489501953125, -0.005947113037109375, -0.01015472412109375, 0.07159423828125, 0.0270843505859375, 0.003757476806640625, 0.00817108154296875, 0.011749267578125, 0.01788330078125, -0.0127105712890625, 0.036041259765625, -0.0367431640625, 0.002788543701171875, -0.00406646728515625, -0.029327392578125, -0.0265655517578125, -0.04217529296875, 0.00399017333984375, 0.0214691162109375, -0.03692626953125, 0.0269012451171875, -0.02783203125, -0.03851318359375, 0.06561279296875, 0.0343017578125, -0.0071563720703125, -0.0179595947265625, 0.05145263671875, 0.01171875, -0.050811767578125, -0.007965087890625, 0.056396484375, 0.043060302734375, -0.040191650390625, 0.058074951171875, -0.005016326904296875, -0.048797607421875, 0.09979248046875, -0.02618408203125, -0.005474090576171875, -0.031829833984375, 0.04132080078125, -0.01275634765625, -0.01474761962890625, 0.0192718505859375, -0.0241546630859375, 0.036468505859375, 0.01430511474609375, -0.01282501220703125, -0.0066070556640625, -0.0218048095703125, 0.0224151611328125, 0.0048828125, -0.000469207763671875, -0.01580810546875, -0.0501708984375, 0.004650115966796875, 0.029388427734375, -0.01290130615234375, 0.018646240234375, -0.0027923583984375, -0.0093841552734375, -0.001384735107421875, 0.0057373046875, -0.0235137939453125, 0.01434326171875, -0.023345947265625, 0.05126953125, -0.039825439453125, -0.007965087890625, -0.0095062255859375, -0.0020503997802734375, 0.02392578125, 0.025848388671875, -0.01522064208984375, -0.004974365234375, -0.0133056640625, 0.01381683349609375, -0.0036334991455078125, -0.0024318695068359375, 0.00540924072265625, 0.04913330078125, 0.01134490966796875, 0.007358551025390625, 0.007686614990234375, 0.0290069580078125, -0.01212310791015625, -0.028778076171875, -0.01050567626953125, -0.0084686279296875, 0.01276397705078125, 0.0294952392578125, -0.020843505859375, 0.0284271240234375, -0.006237030029296875, 0.031524658203125, 0.046051025390625, 0.0277862548828125, 0.02691650390625, -0.040496826171875, -0.00473785400390625, 0.0255126953125, -0.0208740234375, -0.0285491943359375, -0.0289764404296875, 0.00677490234375, 0.01348114013671875, -0.0298004150390625, -0.004528045654296875, 0.045654296875, 0.0178070068359375, -0.0269622802734375, 0.00849151611328125, 0.0005326271057128906, -0.0010614395141601562, -0.046722412109375, -0.029022216796875, 0.044464111328125, 0.033294677734375, 0.0037555694580078125, -0.0220794677734375, -0.0205841064453125, 0.0411376953125, -0.026824951171875, 0.0413818359375, -0.005161285400390625, -0.03631591796875, -0.0103759765625, -0.030181884765625, 0.0008482933044433594, 0.01358795166015625, 0.007293701171875, -0.035614013671875, -0.0246429443359375, 0.068359375, -0.00551605224609375, 0.034149169921875, -0.03717041015625, 0.0086822509765625, 0.0223236083984375, -0.0111541748046875, 0.06011962890625, 0.0160369873046875, -0.08074951171875, -0.0019989013671875, -0.06292724609375, -0.00888824462890625, -0.002590179443359375, -0.05029296875, -0.0390625, -0.0158233642578125, 0.01358795166015625, 0.052490234375, -0.01039886474609375, -0.023895263671875, 0.0003077983856201172, 0.00469207763671875, 0.0029354095458984375, 0.0928955078125, -0.0026988983154296875, 0.041229248046875, 0.033935546875, 0.06488037109375, 0.0231170654296875, 0.01294708251953125, -0.01898193359375, -0.04266357421875, 0.049774169921875, -0.005825042724609375, -0.0760498046875, 0.0005998611450195312, -0.04547119140625, -0.01465606689453125, 0.0141448974609375, -0.03778076171875, 0.0207977294921875, 0.005878448486328125, -0.00716400146484375, -0.004055023193359375, -0.0092315673828125, 0.00555419921875, 0.0050048828125, 0.023284912109375, -0.033203125, 0.0120697021484375, -0.0284576416015625, -0.002475738525390625, 0.01898193359375, -0.04595947265625, -0.0005812644958496094, 0.0797119140625, -0.01308441162109375, 0.085693359375, 0.0992431640625, -0.031219482421875, 0.033111572265625, 0.06939697265625, -0.01763916015625, 0.005992889404296875, -0.039520263671875, 0.0220794677734375, 0.03216552734375, 0.041778564453125, -0.030487060546875, -0.00008994340896606445, 0.029510498046875, -0.01349639892578125, 0.0369873046875, 0.045135498046875, 0.05682373046875, -0.07623291015625, 0.0244598388671875, 0.04058837890625, 0.0014591217041015625, 0.052276611328125, -0.013519287109375, 0.0008940696716308594, -0.00635528564453125, 0.038482666015625, 0.0262451171875, -0.01499176025390625, 0.0386962890625, 0.0201263427734375, 0.002948760986328125, -0.01065826416015625, 0.08953857421875, 0.0146331787109375, -0.046844482421875, -0.04998779296875, 0.020721435546875, -0.0433349609375, -0.05157470703125, -0.01499176025390625, 0.0245513916015625, -0.02105712890625, -0.07183837890625, 0.03997802734375, -0.0194091796875, 0.0186920166015625, -0.0038852691650390625, 0.0181427001953125, 0.015899658203125, 0.0673828125, -0.030975341796875, 0.045623779296875, 0.041534423828125, 0.01554107666015625, -0.016265869140625, -0.0297393798828125, -0.00848388671875, 0.0232696533203125, -0.044097900390625, 0.01009368896484375, -0.0209197998046875, 0.0102996826171875, 0.0014028549194335938, -0.05963134765625, 0.03070068359375, -0.0006046295166015625, -0.03680419921875, -0.0108642578125, -0.035125732421875, 0.01328277587890625, 0.01142120361328125, 0.00795745849609375, -0.0021457672119140625, 0.02154541015625, -0.00634002685546875, -0.029876708984375, -0.0235595703125, -0.0186767578125, -0.0762939453125, 0.088134765625, 0.007007598876953125, 0.0291290283203125, -0.0178680419921875, 0.0311126708984375, -0.03387451171875, -0.0030460357666015625, -0.047119140625, 0.070068359375, -0.01025390625, 0.05535888671875, -0.06024169921875, -0.0092620849609375, 0.0297088623046875, 0.0268707275390625, 0.047943115234375, 0.01003265380859375, -0.0207672119140625, -0.0012025833129882812, 0.059417724609375, 0.036834716796875, -0.0033931732177734375, 0.03955078125, -0.018096923828125, 0.0220489501953125, -0.0174407958984375, 0.0037097930908203125, 0.02545166015625, 0.0002541542053222656, -0.0684814453125, 0.042510986328125, 0.006366729736328125, -0.01123809814453125, 0.0164337158203125, -0.0167083740234375, -0.0330810546875, 0.0184173583984375, 0.02294921875, -0.0035419464111328125, -0.000591278076171875, 0.0364990234375, 0.038299560546875, -0.08929443359375, -0.049041748046875, -0.032806396484375, 0.044830322265625, 0.015716552734375, 0.044189453125, 0.0279541015625, 0.0282135009765625, 0.0236663818359375, -0.020538330078125, 0.037261962890625, 0.0139312744140625, -0.036102294921875, 0.036712646484375, 0.005756378173828125, 0.0172576904296875, -0.026458740234375, -0.01220703125, 0.06805419921875, 0.05938720703125, -0.03253173828125, 0.0048065185546875, 0.021728515625, 0.00913238525390625, -0.0248870849609375, -0.044281005859375, -0.0428466796875, -0.0164642333984375, 0.00728607177734375, -0.0269927978515625, 0.010101318359375, 0.0286712646484375, 0.031890869140625, 0.012115478515625, 0.0305023193359375, -0.0677490234375, -0.005279541015625, -0.04412841796875, 0.0318603515625, 0.01515960693359375, 0.07470703125, 0.008148193359375, 0.061370849609375, -0.08270263671875, -0.038116455078125, 0.012725830078125, 0.02191162109375, 0.02142333984375, -0.0186614990234375, -0.0187530517578125, -0.044281005859375, 0.03302001953125, 0.02679443359375, 0.04644775390625, 0.038726806640625, 0.036712646484375, 0.0007839202880859375, -0.01445770263671875, -0.000461578369140625, -0.002651214599609375, -0.025360107421875, -0.0240020751953125, -0.00428009033203125, -0.00908660888671875, 0.0088043212890625, -0.01280975341796875, -0.0013446807861328125, 0.0271148681640625, 0.004215240478515625, -0.053009033203125, 0.047576904296875, -0.017120361328125, -0.00858306884765625, 0.018829345703125, -0.0107421875, 0.0225982666015625, -0.0261383056640625, -0.017242431640625, -0.004119873046875, -0.0047454833984375, -0.066650390625, 0.0188751220703125, 0.0416259765625, -0.009490966796875, -0.00432586669921875, -0.0084991455078125, -0.0164642333984375, 0.020782470703125, 0.009857177734375, 0.003879547119140625, 0.034698486328125, 0.0202789306640625, -0.0007228851318359375, -0.035858154296875, -0.0026340484619140625, -0.00799560546875, 0.038330078125, 0.032470703125, 0.00896453857421875, 0.013763427734375, 0.038818359375, -0.01904296875, 0.01314544677734375, -0.041259765625, -0.0280609130859375, 0.03509521484375, -0.0174713134765625, -0.0127410888671875, -0.002197265625, -0.01226806640625, 0.0242156982421875, 0.042205810546875, -0.005146026611328125, 0.0126953125, 0.00525665283203125, 0.00600433349609375, -0.0216827392578125, 0.00766754150390625, -0.0218505859375, 0.0214080810546875, -0.0129241943359375, -0.0367431640625, 0.04248046875, 0.0126495361328125, 0.01371002197265625, -0.027069091796875, 0.04473876953125, -0.00412750244140625, 0.0267333984375, 0.049072265625, 0.036773681640625, 0.0225982666015625, -0.017578125, 0.02056884765625, 0.00836944580078125, -0.0161285400390625, 0.011566162109375, 0.0133209228515625, -0.0259857177734375, 0.018585205078125, -0.041107177734375, -0.0014505386352539062, 0.01371002197265625, 0.046539306640625, 0.01026153564453125, 0.0254669189453125, -0.012420654296875, -0.0154876708984375, -0.0257415771484375, 0.021514892578125, -0.0180511474609375, -0.0506591796875, 0.00682830810546875, 0.00626373291015625, -0.0130157470703125, -0.0229949951171875, -0.0240325927734375, -0.0230712890625, 0.00444793701171875, -0.003566741943359375, -0.00656890869140625, -0.005588531494140625, 0.00458526611328125, -0.0169677734375, 0.01421356201171875, -0.02496337890625, 0.01192474365234375, 0.0097503662109375, -0.03564453125, -0.01297760009765625, -0.03424072265625, 0.001007080078125, -0.0094757080078125, -0.0015058517456054688, 0.0216217041015625, 0.00324249267578125, -0.01898193359375, 0.01531219482421875, 0.004894256591796875, 0.05010986328125, -0.017669677734375, -0.01702880859375, 0.0054779052734375, 0.01488494873046875, -0.0174102783203125, -0.06365966796875, 0.020233154296875, -0.042144775390625, -0.009368896484375, 0.024627685546875, -0.047943115234375, -0.027740478515625, -0.047332763671875, -0.0665283203125, 0.024627685546875, 0.0143585205078125, -0.045501708984375, -0.0283203125, 0.032684326171875, 0.015228271484375, -0.002216339111328125, -0.00864410400390625, -0.0302276611328125, -0.01122283935546875, -0.0003056526184082031, 0.007587432861328125, 0.0560302734375, -0.0013055801391601562, 0.0254058837890625, 0.0085296630859375, 0.0167388916015625, -0.00920867919921875, -0.018341064453125, 0.0213775634765625, -0.04034423828125, 0.02764892578125, 0.0205230712890625, -0.0675048828125, -0.05706787109375, -0.00493621826171875, 0.0196685791015625, 0.0013408660888671875, -0.057586669921875, -0.07122802734375, -0.050933837890625, 0.10888671875, 0.0335693359375, 0.029571533203125, -0.019134521484375, 0.0408935546875, 0.00844573974609375, -0.0168304443359375, 0.0176239013671875, -0.002658843994140625, -0.01343536376953125, -0.016448974609375, -0.00537109375, -0.0184783935546875, -0.0204315185546875, -0.01088714599609375, -0.0401611328125, -0.0020923614501953125, -0.0116729736328125, 0.006259918212890625, -0.039031982421875, -0.0024585723876953125, 0.04986572265625, -0.036773681640625, 0.00191497802734375, 0.0009603500366210938, 0.0125885009765625, 0.0206298828125, -0.007106781005859375, -0.0017347335815429688, 0.0195465087890625, 0.00003457069396972656, -0.0194091796875, 0.0296478271484375, 0.0212860107421875, 0.034454345703125, -0.00508880615234375, -0.00115966796875, 0.0302276611328125, 0.00615692138671875, 0.024261474609375, -0.023590087890625, 0.040740966796875, 0.004802703857421875, 0.031585693359375, -0.01953125, 0.050567626953125, -0.0263824462890625, 0.045501708984375, -0.0323486328125, -0.0043182373046875, 0.0019321441650390625, -0.0152740478515625, 0.0003638267517089844, 0.00405120849609375, 0.00504302978515625, -0.0162811279296875, -0.0025615692138671875, -0.0740966796875, 0.00707244873046875, 0.0025081634521484375 ]
f645b51cde0caaa5b8ed45cff37373a181cefc25
Wordpress Stackexchange Q: How to add custom submenu links in wp-admin menus? Is it possible to add custom links as submenu on menu that already exist in wp-admin? Like for example, under appearance section like this: A: For the custom link into the admin menu, you need to pick up a top-level menu item by its slug and register the function using the admin_menu action hook. Here is the list of Main Admin Menu slugs. index.php => Dashboard edit.php => Posts upload.php => Media link-manager.php => Links edit.php?post_type=page => Pages edit-comments.php => Comments themes.php => Appearance plugins.php => Plugins users.php => Users tools.php => Tools options-general.php => Settings List of all admin menus and submenus names, keys, and slugs. Image Source If you want to use the external link then the code is: add_action('admin_menu', 'add_custom_link_into_appearnace_menu'); function add_custom_link_into_appearnace_menu() { global $submenu; $permalink = 'http://www.cusomtlink.com'; $submenu['themes.php'][] = array( 'Custom Link', 'manage_options', $permalink ); } If you want to render the custom link page using WordPress Administrations Menus functions then the code is: add_action('admin_menu', 'add_custom_link_into_appearnace_menu'); function add_custom_link_into_appearnace_menu() { add_theme_page('Custom Link Pgae Title', 'Custom Link Menu Title', 'manage_options', 'custom-link-unique-identifier', 'render_custom_link_page'); } function render_custom_link_page() { echo 'Custom Link Page'; }
Q: How to add custom submenu links in wp-admin menus? Is it possible to add custom links as submenu on menu that already exist in wp-admin? Like for example, under appearance section like this: A: For the custom link into the admin menu, you need to pick up a top-level menu item by its slug and register the function using the admin_menu action hook. Here is the list of Main Admin Menu slugs. index.php => Dashboard edit.php => Posts upload.php => Media link-manager.php => Links edit.php?post_type=page => Pages edit-comments.php => Comments themes.php => Appearance plugins.php => Plugins users.php => Users tools.php => Tools options-general.php => Settings List of all admin menus and submenus names, keys, and slugs. Image Source If you want to use the external link then the code is: add_action('admin_menu', 'add_custom_link_into_appearnace_menu'); function add_custom_link_into_appearnace_menu() { global $submenu; $permalink = 'http://www.cusomtlink.com'; $submenu['themes.php'][] = array( 'Custom Link', 'manage_options', $permalink ); } If you want to render the custom link page using WordPress Administrations Menus functions then the code is: add_action('admin_menu', 'add_custom_link_into_appearnace_menu'); function add_custom_link_into_appearnace_menu() { add_theme_page('Custom Link Pgae Title', 'Custom Link Menu Title', 'manage_options', 'custom-link-unique-identifier', 'render_custom_link_page'); } function render_custom_link_page() { echo 'Custom Link Page'; }
wordpress
{ "language": "en", "length": 193, "provenance": "stackexchange_00019.jsonl.gz:476020", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/266318" }
[ 0.10406494140625, -0.00379180908203125, 0.052398681640625, -0.0230865478515625, 0.01078033447265625, -0.035552978515625, 0.07720947265625, -0.0537109375, -0.0487060546875, 0.01055145263671875, 0.023681640625, -0.005420684814453125, -0.0231475830078125, -0.0513916015625, 0.033599853515625, -0.0382080078125, 0.0201873779296875, 0.0240631103515625, 0.0362548828125, -0.0013027191162109375, 0.0005979537963867188, 0.0190277099609375, -0.00554656982421875, 0.0140380859375, 0.0280914306640625, -0.035858154296875, 0.027801513671875, -0.004116058349609375, -0.005908966064453125, -0.01250457763671875, 0.01763916015625, 0.004299163818359375, 0.01934814453125, -0.0070648193359375, 0.0233154296875, -0.0014753341674804688, 0.03375244140625, -0.02081298828125, -0.014373779296875, 0.038482666015625, 0.0162353515625, 0.00553131103515625, 0.0328369140625, 0.03814697265625, 0.00799560546875, -0.05303955078125, 0.0272369384765625, -0.05645751953125, -0.009002685546875, -0.0135498046875, 0.01959228515625, -0.0262298583984375, 0.03173828125, -0.02691650390625, -0.0136260986328125, -0.00506591796875, -0.023101806640625, -0.03167724609375, 0.022308349609375, 0.022674560546875, -0.01409149169921875, -0.03680419921875, 0.021331787109375, -0.032318115234375, -0.00656890869140625, -0.0037631988525390625, 0.01180267333984375, 0.019134521484375, -0.00664520263671875, -0.004810333251953125, -0.0016326904296875, 0.002208709716796875, 0.0081939697265625, 0.0002682209014892578, -0.006092071533203125, -0.04571533203125, 0.0092926025390625, -0.018463134765625, 0.01477813720703125, 0.0108795166015625, 0.030548095703125, 0.005283355712890625, -0.004886627197265625, 0.00496673583984375, 0.006893157958984375, 0.0288238525390625, -0.0091094970703125, -0.04620361328125, -0.01076507568359375, 0.015472412109375, -0.0140380859375, -0.005767822265625, 0.00635528564453125, 0.017791748046875, -0.01502227783203125, -0.007503509521484375, 0.028411865234375, 0.070068359375, 0.0003845691680908203, 0.028076171875, 0.0069427490234375, -0.046142578125, 0.061187744140625, -0.06768798828125, -0.0090789794921875, 0.04241943359375, 0.01221466064453125, 0.024200439453125, 0.014007568359375, 0.00798797607421875, -0.003536224365234375, 0.00466156005859375, 0.01543426513671875, -0.0174102783203125, -0.0146331787109375, 0.0180816650390625, -0.007213592529296875, -0.0157623291015625, 0.0003314018249511719, -0.014862060546875, -0.02069091796875, 0.018035888671875, -0.00475311279296875, 0.005443572998046875, 0.002605438232421875, 0.0086822509765625, -0.0007839202880859375, -0.0217742919921875, -0.007251739501953125, 0.020050048828125, -0.04327392578125, 0.0182037353515625, 0.08099365234375, 0.03515625, 0.0145263671875, -0.02471923828125, 0.0083465576171875, -0.036865234375, -0.004924774169921875, 0.0093994140625, 0.019287109375, -0.025848388671875, -0.0018825531005859375, -0.01012420654296875, -0.00659942626953125, 0.0196685791015625, -0.008056640625, 0.00399017333984375, 0.0169830322265625, -0.033294677734375, 0.00782012939453125, -0.06781005859375, 0.0268096923828125, 0.01410675048828125, -0.02435302734375, -0.01052093505859375, 0.00574493408203125, -0.0177459716796875, 0.0270233154296875, -0.027618408203125, -0.005435943603515625, -0.0157470703125, 0.0072021484375, -0.05810546875, -0.05657958984375, 0.0230255126953125, -0.04132080078125, -0.00350189208984375, 0.022735595703125, 0.023162841796875, 0.0255279541015625, -0.025726318359375, -0.0027484893798828125, 0.02459716796875, 0.005664825439453125, 0.01280975341796875, 0.0090789794921875, 0.038360595703125, 0.007595062255859375, 0.06353759765625, 0.036468505859375, -0.0303955078125, 0.06658935546875, -0.0113983154296875, -0.052642822265625, 0.0325927734375, -0.0005674362182617188, 0.10028076171875, 0.0372314453125, 0.03662109375, -0.021331787109375, -0.0221405029296875, 0.006320953369140625, -0.002933502197265625, -0.025360107421875, -0.04730224609375, 0.0151824951171875, 0.0010423660278320312, -0.0350341796875, 0.03521728515625, -0.07867431640625, 0.0028629302978515625, 0.00527191162109375, 0.042266845703125, -0.01541900634765625, 0.048828125, -0.0297393798828125, 0.0433349609375, 0.05767822265625, 0.00677490234375, -0.0302886962890625, -0.0180206298828125, 0.0276641845703125, -0.05035400390625, -0.044403076171875, 0.0164642333984375, 0.02264404296875, 0.0233917236328125, -0.0236968994140625, 0.0004489421844482422, -0.00853729248046875, -0.045623779296875, -0.00727081298828125, 0.059783935546875, 0.00782012939453125, -0.035125732421875, -0.009765625, -0.01482391357421875, -0.039337158203125, 0.02239990234375, -0.05712890625, 0.0265960693359375, 0.059417724609375, 0.0048675537109375, -0.046783447265625, 0.013397216796875, -0.0222625732421875, -0.04901123046875, -0.041839599609375, 0.053985595703125, 0.031219482421875, 0.0177001953125, -0.01271820068359375, -0.00939178466796875, 0.0285797119140625, -0.007427215576171875, 0.0243377685546875, -0.0210113525390625, -0.01303863525390625, 0.00803375244140625, 0.01065826416015625, 0.01446533203125, 0.024871826171875, 0.016937255859375, 0.000339508056640625, 0.03985595703125, 0.0020160675048828125, -0.0028972625732421875, 0.035888671875, -0.016845703125, 0.0160064697265625, 0.008819580078125, -0.0274505615234375, 0.009552001953125, -0.0126800537109375, 0.01861572265625, 0.014495849609375, 0.0154876708984375, -0.022430419921875, -0.01387786865234375, 0.0325927734375, 0.0499267578125, -0.0182037353515625, -0.011016845703125, 0.0241546630859375, -0.045257568359375, -0.03680419921875, 0.0158538818359375, -0.00530242919921875, -0.023223876953125, -0.025054931640625, 0.02838134765625, -0.00792694091796875, -0.00827789306640625, -0.00850677490234375, -0.07464599609375, -0.0013904571533203125, 0.0021800994873046875, 0.006992340087890625, -0.001628875732421875, 0.039764404296875, -0.018035888671875, -0.031982421875, 0.016998291015625, -0.01123809814453125, -0.032012939453125, 0.037841796875, -0.029083251953125, 0.0377197265625, -0.013580322265625, 0.03839111328125, 0.0584716796875, -0.005649566650390625, 0.00311279296875, 0.0034923553466796875, -0.02471923828125, -0.0212249755859375, 0.037628173828125, 0.01448822021484375, -0.04632568359375, 0.0242462158203125, 0.0379638671875, -0.0093841552734375, -0.033935546875, -0.031707763671875, -0.045928955078125, -0.041717529296875, -0.0367431640625, -0.0694580078125, -0.0138397216796875, 0.004871368408203125, -0.04547119140625, 0.0243377685546875, 0.01201629638671875, -0.0218048095703125, -0.025482177734375, 0.04278564453125, 0.0078125, -0.006072998046875, -0.031768798828125, -0.003173828125, -0.02972412109375, -0.049560546875, -0.01219940185546875, 0.0170745849609375, -0.00897979736328125, 0.00231170654296875, 0.035980224609375, 0.01056671142578125, -0.029205322265625, 0.031341552734375, -0.0024585723876953125, -0.00482177734375, -0.003017425537109375, 0.05340576171875, -0.019317626953125, 0.036224365234375, -0.0009169578552246094, 0.062103271484375, 0.0628662109375, -0.0577392578125, -0.010528564453125, -0.0190277099609375, 0.0023479461669921875, 0.034454345703125, -0.0012750625610351562, 0.0150146484375, 0.052215576171875, 0.05499267578125, -0.0006017684936523438, -0.020751953125, -0.011199951171875, -0.029205322265625, 0.0219879150390625, 0.015045166015625, -0.022216796875, -0.0159759521484375, 0.034820556640625, -0.0028247833251953125, 0.021026611328125, 0.02313232421875, -0.01306915283203125, -0.050018310546875, -0.0042572021484375, -0.01206207275390625, 0.0077362060546875, 0.0689697265625, 0.009552001953125, 0.03875732421875, 0.053741455078125, 0.0270233154296875, 0.0178985595703125, 0.003360748291015625, -0.029937744140625, -0.0523681640625, 0.045867919921875, -0.039947509765625, 0.03839111328125, -0.05999755859375, -0.0197906494140625, -0.0186767578125, 0.08428955078125, -0.0177459716796875, -0.0219268798828125, -0.01018524169921875, 0.00009620189666748047, 0.00917816162109375, 0.00713348388671875, -0.017181396484375, -0.0157623291015625, -0.1041259765625, 0.0182037353515625, -0.00406646728515625, -0.025665283203125, -0.0048065185546875, 0.057220458984375, -0.05194091796875, -0.037384033203125, 0.02728271484375, -0.0181121826171875, -0.01371002197265625, 0.06109619140625, -0.0285186767578125, 0.01152801513671875, -0.032257080078125, -0.00954437255859375, -0.064697265625, -0.00859832763671875, -0.03741455078125, 0.05413818359375, 0.04669189453125, -0.03765869140625, -0.006374359130859375, 0.02716064453125, 0.046630859375, 0.01922607421875, 0.0258636474609375, -0.0204620361328125, 0.0291900634765625, -0.025909423828125, 0.01380157470703125, -0.029632568359375, 0.00118255615234375, -0.001514434814453125, -0.0172576904296875, 0.033355712890625, -0.0199737548828125, 0.027374267578125, 0.01006317138671875, -0.0212249755859375, -0.046783447265625, -0.034454345703125, 0.0071563720703125, 0.0162200927734375, 0.0259552001953125, -0.01593017578125, -0.03253173828125, -0.05596923828125, -0.01181793212890625, -0.047119140625, -0.00914764404296875, 0.027099609375, 0.0078277587890625, 0.0165252685546875, 0.00676727294921875, -0.01442718505859375, 0.0017557144165039062, 0.0241241455078125, -0.041290283203125, 0.0543212890625, 0.039276123046875, 0.0105743408203125, 0.0025653839111328125, -0.0295867919921875, 0.03607177734375, -0.0187835693359375, 0.02203369140625, 0.0097808837890625, 0.0013027191162109375, 0.0189361572265625, 0.01534271240234375, -0.0206451416015625, 0.006557464599609375, -0.00994873046875, -0.045440673828125, -0.043060302734375, 0.07757568359375, 0.0188446044921875, 0.028839111328125, -0.07366943359375, -0.007061004638671875, -0.00067138671875, -0.0294036865234375, 0.068115234375, 0.0198211669921875, 0.0012378692626953125, 0.0100860595703125, 0.0089569091796875, 0.00499725341796875, 0.031585693359375, 0.019500732421875, 0.0091552734375, 0.0550537109375, -0.004283905029296875, 0.007480621337890625, 0.01189422607421875, -0.0015316009521484375, 0.07855224609375, 0.0262908935546875, 0.0096588134765625, -0.0562744140625, 0.0026702880859375, 0.0283660888671875, -0.014190673828125, 0.015625, 0.0426025390625, 0.002227783203125, -0.00803375244140625, 0.00931549072265625, -0.0224151611328125, 0.00255584716796875, -0.039886474609375, 0.022247314453125, 0.01403045654296875, -0.0095672607421875, -0.0291595458984375, 0.06512451171875, 0.051666259765625, 0.0007863044738769531, -0.0189666748046875, 0.01788330078125, 0.045562744140625, 0.0242919921875, 0.0265350341796875, -0.00974273681640625, -0.023895263671875, 0.01067352294921875, 0.0009379386901855469, -0.02197265625, -0.004749298095703125, 0.017425537109375, 0.03936767578125, 0.0164642333984375, -0.006053924560546875, -0.020416259765625, -0.04400634765625, -0.03216552734375, 0.064208984375, 0.004955291748046875, -0.0789794921875, -0.0294189453125, 0.018951416015625, 0.03692626953125, -0.0270843505859375, -0.01214599609375, 0.04156494140625, -0.005680084228515625, 0.02532958984375, -0.043731689453125, -0.0028476715087890625, 0.004047393798828125, 0.002590179443359375, -0.031158447265625, -0.0038051605224609375, 0.0158843994140625, -0.056640625, -0.04327392578125, -0.02215576171875, -0.01806640625, 0.04034423828125, -0.026611328125, 0.0211944580078125, -0.029083251953125, 0.0005335807800292969, -0.006893157958984375, 0.005329132080078125, 0.044219970703125, 0.02020263671875, -0.06732177734375, 0.01074981689453125, -0.002178192138671875, 0.0105743408203125, 0.0140228271484375, -0.037628173828125, -0.0291900634765625, -0.03717041015625, 0.0164337158203125, 0.01561737060546875, 0.0192108154296875, -0.006671905517578125, -0.072265625, 0.0162506103515625, 0.03955078125, 0.01204681396484375, 0.0139617919921875, 0.06134033203125, 0.0030727386474609375, 0.0296478271484375, 0.03582763671875, 0.032135009765625, -0.027130126953125, -0.0172119140625, -0.008514404296875, -0.02178955078125, -0.01373291015625, -0.01453399658203125, 0.0031681060791015625, 0.04302978515625, 0.0684814453125, 0.0013036727905273438, 0.036468505859375, 0.0018482208251953125, -0.004364013671875, -0.0137786865234375, -0.006961822509765625, -0.00789642333984375, 0.0269317626953125, 0.0340576171875, -0.0240325927734375, 0.049591064453125, 0.01412200927734375, 0.006961822509765625, 0.01210784912109375, -0.03594970703125, 0.042755126953125, 0.0161895751953125, -0.083984375, 0.080078125, 0.0662841796875, 0.031280517578125, 0.05291748046875, -0.0047149658203125, 0.0256500244140625, 0.019378662109375, 0.0170135498046875, 0.04010009765625, 0.02484130859375, 0.0491943359375, -0.0074310302734375, -0.0028629302978515625, 0.011199951171875, -0.0174407958984375, -0.005893707275390625, 0.051116943359375, 0.047698974609375, -0.0966796875, 0.021270751953125, 0.0143280029296875, 0.04681396484375, 0.05450439453125, -0.01238250732421875, -0.01230621337890625, -0.024749755859375, 0.052459716796875, -0.0391845703125, -0.019500732421875, -0.005084991455078125, -0.0206298828125, -0.00687408447265625, 0.006946563720703125, 0.044769287109375, 0.01305389404296875, 0.031585693359375, -0.034698486328125, -0.0421142578125, -0.00258636474609375, 0.0137939453125, 0.00467681884765625, -0.0090484619140625, 0.0078125, 0.00644683837890625, 0.029693603515625, -0.07476806640625, 0.015777587890625, 0.049957275390625, 0.02398681640625, 0.0278167724609375, 0.040496826171875, -0.004913330078125, 0.0024204254150390625, -0.0024013519287109375, -0.0002319812774658203, 0.04449462890625, -0.031280517578125, -0.00386810302734375, 0.004383087158203125, -0.01357269287109375, 0.0006246566772460938, 0.0077972412109375, -0.035491943359375, -0.020843505859375, 0.021331787109375, 0.1395263671875, -0.048675537109375, -0.04058837890625, 0.0143890380859375, 0.018463134765625, -0.01125335693359375, -0.0171661376953125, 0.043365478515625, -0.06689453125, -0.034210205078125, 0.004810333251953125, -0.04498291015625, -0.00746917724609375, -0.01378631591796875, -0.044708251953125, 0.08929443359375, -0.06732177734375, 0.037353515625, 0.00002968311309814453, 0.041717529296875, 0.04290771484375, 0.052398681640625, -0.00894927978515625, 0.048919677734375, 0.02178955078125, 0.0161895751953125, -0.0284576416015625, -0.026153564453125, 0.0229034423828125, 0.0455322265625, 0.01271820068359375, 0.032379150390625, -0.039306640625, 0.00597381591796875, 0.01355743408203125, 0.0164947509765625, 0.00727081298828125, 0.04254150390625, -0.028167724609375, -0.000579833984375, 0.035980224609375, -0.0242767333984375, 0.0160369873046875, 0.0301055908203125, -0.0265960693359375, 0.0022487640380859375, 0.0230712890625, 0.0295257568359375, 0.006427764892578125, 0.008575439453125, -0.021697998046875, 0.0092620849609375, 0.0237579345703125, -0.01953125, -0.017852783203125, 0.0134429931640625, -0.0321044921875, -0.00023996829986572266, -0.033111572265625, -0.0250091552734375, 0.0084686279296875, 0.00917816162109375, -0.0211944580078125, -0.0305938720703125, -0.005573272705078125, -0.028839111328125, -0.021087646484375, -0.031707763671875, 0.03729248046875, -0.0190582275390625, 0.0413818359375, 0.01715087890625, 0.020538330078125, -0.05377197265625, -0.033447265625, 0.052703857421875, 0.06829833984375, -0.0304107666015625, -0.04290771484375, 0.01494598388671875, 0.00775146484375, -0.00379180908203125, 0.0108489990234375, 0.01519775390625, 0.014312744140625, 0.0333251953125, -0.0201263427734375, 0.0016727447509765625, 0.034210205078125, 0.0089569091796875, 0.00002753734588623047, 0.007167816162109375, -0.01087188720703125, 0.022857666015625, -0.0560302734375, 0.005817413330078125, 0.026702880859375, 0.06488037109375, 0.005641937255859375, 0.062744140625, 0.010528564453125, -0.0267181396484375, 0.0031948089599609375, 0.016937255859375, -0.016876220703125, -0.01239776611328125, -0.029754638671875, -0.06610107421875, 0.0018749237060546875, 0.034759521484375, -0.000274658203125, 0.0030364990234375, 0.004276275634765625, -0.0189971923828125, -0.00896453857421875, -0.00042557716369628906, 0.016815185546875, -0.0279541015625, -0.0224609375, -0.0286407470703125, -0.00649261474609375, 0.0064544677734375, -0.0004982948303222656, 0.007495880126953125, -0.0093231201171875, 0.03924560546875, 0.00909423828125, 0.019989013671875, 0.0022182464599609375, -0.01174163818359375, -0.0014925003051757812, -0.01357269287109375, 0.03411865234375, 0.0335693359375, -0.09075927734375, -0.027618408203125, -0.0227203369140625, -0.0264892578125, 0.038482666015625, 0.043792724609375, -0.0275421142578125, 0.02642822265625, -0.00040912628173828125, 0.0183868408203125, 0.008636474609375, -0.00421905517578125, -0.016082763671875, 0.020477294921875, 0.050262451171875, 0.01515960693359375, -0.02569580078125, 0.0047454833984375, -0.005062103271484375, 0.0236663818359375, 0.02362060546875, 0.062744140625, -0.0167694091796875, 0.0242462158203125, -0.0262451171875, -0.00909423828125, -0.0210418701171875, -0.021270751953125, 0.01143646240234375, 0.01885986328125, 0.0024261474609375, -0.0049896240234375, -0.036834716796875, 0.01214599609375, 0.029266357421875, -0.04071044921875, -0.01041412353515625, 0.0144500732421875, 0.023193359375, -0.0183868408203125, 0.047821044921875, -0.01690673828125, -0.0308380126953125, -0.0292205810546875, -0.01377105712890625, 0.0170135498046875, 0.0401611328125, 0.00217437744140625, 0.029754638671875, -0.01690673828125, -0.0204620361328125, -0.00014102458953857422, -0.038177490234375, 0.01505279541015625, 0.040771484375, -0.02764892578125, 0.0017690658569335938, 0.022979736328125, -0.0031299591064453125, 0.0142364501953125, 0.0211181640625, -0.01220703125, 0.042999267578125, -0.03643798828125, 0.033203125, 0.0309295654296875, 0.044708251953125, -0.031402587890625, 0.01123046875, 0.0245361328125, -0.009368896484375, 0.036773681640625, -0.0267486572265625, -0.044586181640625, -0.0633544921875, 0.0104827880859375, 0.037078857421875, -0.0274505615234375, -0.021820068359375, -0.09844970703125, 0.0207366943359375, 0.06109619140625, 0.029266357421875, -0.0985107421875, 0.04595947265625, -0.017547607421875, 0.0770263671875, 0.005340576171875, 0.01328277587890625, -0.0098419189453125, 0.022796630859375, -0.0250244140625, -0.02349853515625, -0.025054931640625, 0.0251007080078125, -0.01580810546875, 0.0027866363525390625, 0.00791168212890625, -0.0159454345703125, -0.00852203369140625, 0.01373291015625, 0.007442474365234375, 0.051788330078125, 0.0217742919921875, -0.00865936279296875, -0.012115478515625, 0.00927734375, -0.0100860595703125, -0.050079345703125, 0.007843017578125, -0.058197021484375, -0.00751495361328125, 0.0034275054931640625, 0.0002887248992919922, 0.0233612060546875, -0.040557861328125, -0.08795166015625, 0.0308685302734375, -0.01342010498046875, -0.048309326171875, -0.033233642578125, 0.004276275634765625, -0.0263671875, 0.0251312255859375, -0.0079498291015625, -0.017303466796875, 0.00952911376953125, 0.045013427734375, -0.0041351318359375, 0.0400390625, 0.002132415771484375, 0.03192138671875, -0.0267333984375, 0.0214691162109375, 0.005527496337890625, -0.0103302001953125, 0.026397705078125, -0.044586181640625, 0.0496826171875, 0.02801513671875, -0.048187255859375, -0.053131103515625, -0.01470947265625, -0.00231170654296875, -0.007793426513671875, -0.050506591796875, -0.00989532470703125, -0.024017333984375, 0.0728759765625, 0.0190582275390625, 0.012725830078125, -0.01433563232421875, 0.01358795166015625, -0.045989990234375, -0.006237030029296875, -0.006683349609375, 0.0029163360595703125, -0.0582275390625, -0.004940032958984375, 0.0360107421875, -0.0006012916564941406, -0.01776123046875, 0.023468017578125, -0.0182952880859375, -0.00438690185546875, 0.03253173828125, 0.003326416015625, -0.0528564453125, 0.0194244384765625, 0.1043701171875, -0.08392333984375, -0.031982421875, 0.01157379150390625, 0.004589080810546875, 0.03289794921875, -0.06268310546875, -0.03240966796875, -0.03607177734375, -0.0140533447265625, 0.031585693359375, -0.0279083251953125, 0.053192138671875, -0.040771484375, -0.015472412109375, -0.0181732177734375, 0.01194000244140625, -0.008209228515625, 0.00516510009765625, -0.01291656494140625, 0.039215087890625, -0.0037326812744140625, 0.1005859375, -0.0220947265625, 0.052001953125, -0.01270294189453125, 0.02978515625, -0.015411376953125, -0.0020751953125, 0.009796142578125, -0.0313720703125, 0.009521484375, 0.0007076263427734375, -0.039459228515625, -0.03216552734375, 0.0137939453125, 0.00310516357421875, -0.0240478515625, 0.0239715576171875 ]
cf626f8d115ef9e16d926c852d71ea6625637410
Wordpress Stackexchange Q: What is the database table for pages? When I go through the database of a fresh Wordpress 4 install I find, for example: wp_posts wp_terms wp_users Yet I didn't find `wp_pages'. Where is it? A: the wp_posts include all post types (post, page, custom post..), and to differentiate between them there is a field called post_type used to specify the name of the current entry whether it's a page, post or a custom post. Query below will get list of pages SELECT * FROM wp_posts where post_type = 'page';
Q: What is the database table for pages? When I go through the database of a fresh Wordpress 4 install I find, for example: wp_posts wp_terms wp_users Yet I didn't find `wp_pages'. Where is it? A: the wp_posts include all post types (post, page, custom post..), and to differentiate between them there is a field called post_type used to specify the name of the current entry whether it's a page, post or a custom post. Query below will get list of pages SELECT * FROM wp_posts where post_type = 'page'; A: I entered to wp_posts and it seems all pages are inside there.
wordpress
{ "language": "en", "length": 103, "provenance": "stackexchange_00019.jsonl.gz:476043", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/266423" }
[ 0.0238037109375, -0.0034046173095703125, -0.02252197265625, 0.006771087646484375, 0.00640869140625, -0.04571533203125, 0.053009033203125, -0.004764556884765625, 0.019073486328125, -0.011993408203125, -0.00989532470703125, -0.004634857177734375, -0.031341552734375, -0.040283203125, -0.00704193115234375, -0.040557861328125, 0.039154052734375, -0.029083251953125, 0.0191802978515625, -0.01262664794921875, 0.021881103515625, -0.00025272369384765625, 0.039642333984375, 0.01412200927734375, 0.0207366943359375, -0.0160064697265625, 0.031219482421875, -0.007015228271484375, 0.03387451171875, 0.004886627197265625, 0.030029296875, -0.0232696533203125, 0.007350921630859375, -0.006114959716796875, 0.0248565673828125, -0.0185394287109375, -0.0190277099609375, 0.008331298828125, 0.019683837890625, -0.01354217529296875, 0.005268096923828125, 0.00504302978515625, 0.05511474609375, -0.0023212432861328125, 0.010101318359375, -0.01497650146484375, 0.0245513916015625, -0.035552978515625, 0.01398468017578125, -0.039276123046875, -0.004291534423828125, 0.01052093505859375, 0.0089569091796875, -0.015899658203125, -0.0131378173828125, -0.006439208984375, 0.055450439453125, -0.03570556640625, 0.036712646484375, -0.045013427734375, -0.04522705078125, -0.004764556884765625, 0.0284271240234375, -0.006832122802734375, -0.026275634765625, -0.005962371826171875, 0.02337646484375, 0.006374359130859375, -0.031524658203125, -0.033782958984375, 0.023468017578125, 0.00046944618225097656, -0.0157623291015625, -0.056243896484375, 0.010345458984375, 0.039581298828125, -0.0012693405151367188, -0.031280517578125, -0.0244140625, 0.03411865234375, -0.02740478515625, 0.00972747802734375, -0.07366943359375, -0.01401519775390625, -0.0227203369140625, -0.01041412353515625, -0.03326416015625, 0.003299713134765625, -0.002918243408203125, -0.0012006759643554688, -0.01727294921875, -0.056976318359375, 0.0192108154296875, 0.017547607421875, -0.016204833984375, -0.0234375, 0.01180267333984375, 0.055450439453125, -0.019622802734375, 0.020660400390625, 0.00577545166015625, -0.030853271484375, 0.040985107421875, -0.053070068359375, 0.035888671875, 0.03228759765625, -0.03619384765625, -0.002056121826171875, 0.06683349609375, 0.032073974609375, 0.01861572265625, 0.0006351470947265625, 0.00919342041015625, -0.0138092041015625, -0.051361083984375, 0.007289886474609375, -0.009521484375, -0.0202789306640625, 0.00731658935546875, -0.0189361572265625, 0.0127716064453125, 0.03369140625, 0.0038547515869140625, -0.060882568359375, 0.01320648193359375, -0.00496673583984375, -0.0308380126953125, -0.02978515625, -0.0267791748046875, 0.06585693359375, -0.0219268798828125, -0.025390625, 0.017974853515625, 0.043914794921875, -0.004611968994140625, -0.031829833984375, -0.0096435546875, -0.037750244140625, -0.006526947021484375, 0.045867919921875, -0.03277587890625, -0.07379150390625, -0.00327301025390625, -0.0229339599609375, 0.03326416015625, 0.0213623046875, 0.0177764892578125, 0.0126495361328125, -0.0172576904296875, -0.006473541259765625, -0.01026153564453125, 0.0276947021484375, -0.0078277587890625, 0.0311737060546875, 0.012542724609375, -0.004009246826171875, 0.0018329620361328125, -0.02569580078125, 0.0257720947265625, -0.01385498046875, 0.073974609375, -0.01282501220703125, -0.01366424560546875, 0.030303955078125, -0.0221405029296875, 0.0208740234375, -0.05712890625, -0.0208740234375, 0.01337432861328125, -0.00261688232421875, -0.0055999755859375, -0.014373779296875, 0.032135009765625, -0.00406646728515625, -0.0130615234375, 0.005069732666015625, -0.00812530517578125, -0.059234619140625, 0.04559326171875, 0.047607421875, -0.0148773193359375, -0.0081634521484375, -0.0173187255859375, 0.0229339599609375, -0.031890869140625, 0.0208892822265625, 0.007389068603515625, 0.0251312255859375, -0.0007085800170898438, 0.023040771484375, 0.0199737548828125, 0.037933349609375, -0.032073974609375, 0.01372528076171875, 0.002933502197265625, -0.0000940561294555664, -0.0294342041015625, 0.0189971923828125, -0.0292205810546875, -0.0230865478515625, -0.01342010498046875, 0.0196533203125, -0.01898193359375, 0.026397705078125, -0.044647216796875, 0.0080108642578125, -0.0036163330078125, 0.023773193359375, 0.023681640625, 0.0022430419921875, 0.0088653564453125, -0.005947113037109375, -0.00855255126953125, -0.0304107666015625, -0.05157470703125, 0.007904052734375, -0.0157318115234375, 0.003719329833984375, -0.000743865966796875, 0.0240936279296875, -0.034912109375, -0.0007996559143066406, -0.043609619140625, -0.01727294921875, 0.05810546875, 0.00507354736328125, -0.01520538330078125, -0.0157012939453125, 0.050567626953125, 0.0134429931640625, -0.0141754150390625, 0.01325225830078125, 0.0198516845703125, 0.029876708984375, -0.014617919921875, -0.0092315673828125, 0.01290130615234375, -0.039337158203125, 0.0193023681640625, 0.03509521484375, 0.039581298828125, 0.0266876220703125, -0.0113525390625, -0.0364990234375, 0.01812744140625, -0.051605224609375, 0.016632080078125, -0.0267486572265625, 0.0193939208984375, 0.09637451171875, 0.029388427734375, 0.03594970703125, -0.018585205078125, -0.0037746429443359375, 0.01091766357421875, 0.03448486328125, -0.004741668701171875, 0.057952880859375, -0.0038928985595703125, 0.0030040740966796875, -0.0224609375, -0.009735107421875, 0.0219268798828125, -0.036102294921875, 0.0621337890625, -0.0026683807373046875, 0.049591064453125, 0.035369873046875, -0.03607177734375, -0.0104827880859375, 0.0233306884765625, 0.0194244384765625, -0.01280975341796875, 0.0001748800277709961, 0.0052490234375, 0.0242156982421875, -0.040863037109375, 0.00727081298828125, 0.02056884765625, 0.005062103271484375, -0.021240234375, -0.0052032470703125, -0.0439453125, -0.0157012939453125, 0.00727081298828125, -0.043182373046875, -0.004329681396484375, 0.021759033203125, -0.040618896484375, -0.032073974609375, 0.008026123046875, 0.013885498046875, -0.0279388427734375, 0.00867462158203125, -0.0035648345947265625, -0.0178375244140625, 0.0105743408203125, -0.0340576171875, 0.03228759765625, -0.0302734375, 0.0120391845703125, 0.05523681640625, 0.00405120849609375, -0.0193939208984375, 0.013824462890625, -0.0037364959716796875, 0.044219970703125, -0.005126953125, -0.01611328125, -0.01070404052734375, -0.04473876953125, 0.01148223876953125, 0.0268402099609375, 0.041839599609375, -0.0135345458984375, -0.0269012451171875, -0.008392333984375, 0.0254364013671875, -0.0875244140625, -0.0758056640625, -0.010986328125, -0.05084228515625, -0.032135009765625, -0.0321044921875, -0.0230712890625, 0.0273590087890625, -0.02203369140625, -0.00489044189453125, -0.042022705078125, -0.0184326171875, -0.06268310546875, -0.07354736328125, -0.076416015625, 0.007015228271484375, -0.0103607177734375, 0.033538818359375, -0.01141357421875, 0.06097412109375, -0.005802154541015625, -0.06378173828125, -0.04559326171875, 0.0293121337890625, -0.02349853515625, -0.03363037109375, -0.027587890625, -0.00213623046875, 0.05126953125, -0.0017375946044921875, -0.00823211669921875, 0.032958984375, -0.00653076171875, -0.020965576171875, 0.0007205009460449219, -0.003948211669921875, 0.00977325439453125, 0.01053619384765625, 0.00511932373046875, -0.0032501220703125, 0.009124755859375, -0.039794921875, -0.039398193359375, -0.0009713172912597656, -0.0479736328125, 0.023040771484375, 0.00298309326171875, -0.00856781005859375, -0.0054779052734375, 0.034942626953125, 0.044036865234375, 0.0210113525390625, 0.0038700103759765625, -0.00439453125, 0.032928466796875, 0.0192108154296875, 0.0411376953125, -0.0307159423828125, 0.011688232421875, -0.0191192626953125, 0.036102294921875, 0.02252197265625, 0.0036792755126953125, 0.0008091926574707031, 0.00681304931640625, -0.01548004150390625, -0.10064697265625, 0.0653076171875, -0.01387786865234375, 0.01233673095703125, -0.06427001953125, -0.043121337890625, -0.00191497802734375, 0.13134765625, -0.04290771484375, -0.01364898681640625, -0.01800537109375, 0.0123138427734375, -0.054840087890625, -0.03509521484375, -0.0518798828125, -0.0011014938354492188, -0.0296783447265625, -0.0280609130859375, -0.0126495361328125, -0.0350341796875, -0.02020263671875, 0.0360107421875, -0.027618408203125, -0.007129669189453125, 0.03558349609375, -0.04205322265625, -0.0029773712158203125, 0.043670654296875, -0.0102691650390625, 0.01033782958984375, -0.036651611328125, -0.019439697265625, -0.07958984375, -0.018035888671875, 0.011993408203125, 0.0235595703125, 0.0037841796875, -0.051300048828125, -0.0199127197265625, 0.0191192626953125, 0.0227813720703125, 0.0006923675537109375, 0.035736083984375, 0.0185699462890625, -0.0205230712890625, -0.0164947509765625, 0.0150146484375, -0.054779052734375, -0.009185791015625, -0.036346435546875, 0.0108184814453125, 0.006877899169921875, -0.0362548828125, 0.01690673828125, -0.04815673828125, 0.00041222572326660156, 0.02301025390625, 0.00028634071350097656, -0.01800537109375, 0.0200042724609375, -0.0247650146484375, -0.0018215179443359375, -0.01200103759765625, -0.0028896331787109375, 0.046875, 0.014495849609375, -0.0146331787109375, 0.01324462890625, 0.045196533203125, 0.002597808837890625, -0.033233642578125, -0.0865478515625, -0.0219573974609375, 0.04364013671875, 0.003940582275390625, 0.0487060546875, 0.04412841796875, -0.0207672119140625, 0.044189453125, 0.0278167724609375, -0.041534423828125, -0.01274871826171875, 0.040130615234375, 0.01142120361328125, -0.01336669921875, -0.0116424560546875, -0.03570556640625, 0.051727294921875, 0.0614013671875, -0.00768280029296875, -0.047607421875, -0.000591278076171875, 0.06787109375, -0.02777099609375, 0.0232696533203125, -0.04815673828125, -0.032623291015625, 0.0033359527587890625, 0.01251220703125, 0.0216064453125, 0.0129241943359375, 0.00406646728515625, 0.0276031494140625, 0.00958251953125, 0.01226043701171875, 0.053466796875, 0.044708251953125, 0.01210784912109375, 0.043365478515625, 0.0164794921875, 0.011810302734375, -0.0091094970703125, -0.0010366439819335938, 0.0294647216796875, -0.014984130859375, -0.07159423828125, 0.0212860107421875, -0.0201568603515625, 0.023834228515625, 0.045562744140625, 0.025390625, 0.0194091796875, 0.0043182373046875, -0.004833221435546875, -0.01425933837890625, 0.008453369140625, -0.00505828857421875, -0.030670166015625, -0.01348114013671875, -0.00875091552734375, 0.0079498291015625, 0.0133209228515625, 0.056610107421875, -0.039886474609375, 0.050445556640625, -0.0088043212890625, 0.031494140625, 0.0171661376953125, 0.050872802734375, 0.01220703125, 0.003917694091796875, -0.025665283203125, 0.037841796875, -0.017425537109375, -0.050537109375, -0.019287109375, 0.0185089111328125, 0.052001953125, -0.0108489990234375, -0.0208892822265625, 0.023712158203125, -0.0156097412109375, -0.005886077880859375, 0.032958984375, -0.00091552734375, -0.0614013671875, -0.0021686553955078125, 0.043365478515625, 0.02459716796875, -0.036163330078125, -0.0260009765625, 0.03704833984375, -0.0131072998046875, 0.036865234375, -0.000047326087951660156, -0.023193359375, 0.0030307769775390625, 0.0178070068359375, -0.043853759765625, -0.032073974609375, 0.0038852691650390625, -0.0198822021484375, -0.0070343017578125, -0.004077911376953125, -0.0264892578125, 0.006988525390625, -0.01262664794921875, 0.03936767578125, -0.013763427734375, -0.031982421875, -0.0170440673828125, 0.0093536376953125, 0.020843505859375, 0.004413604736328125, 0.0038814544677734375, -0.01062774658203125, -0.032073974609375, -0.0268402099609375, 0.015380859375, -0.01018524169921875, -0.02880859375, -0.01152801513671875, -0.027618408203125, 0.0034160614013671875, -0.0247344970703125, -0.0006256103515625, -0.04876708984375, 0.0157928466796875, 0.019134521484375, -0.02362060546875, 0.0005602836608886719, 0.11126708984375, -0.04150390625, 0.08062744140625, 0.0094757080078125, 0.06488037109375, -0.031768798828125, -0.01430511474609375, 0.034881591796875, -0.043914794921875, -0.04833984375, -0.035430908203125, -0.03656005859375, 0.011444091796875, 0.03582763671875, -0.0169219970703125, 0.01140594482421875, -0.036773681640625, 0.00360107421875, -0.008331298828125, 0.0263214111328125, -0.0177459716796875, -0.0193328857421875, 0.043212890625, -0.01447296142578125, 0.00867462158203125, 0.01084136962890625, 0.005828857421875, -0.018096923828125, -0.005641937255859375, -0.0115509033203125, 0.023895263671875, -0.038482666015625, 0.040557861328125, 0.06610107421875, -0.003803253173828125, 0.049285888671875, 0.0023040771484375, 0.01074981689453125, 0.045257568359375, 0.006839752197265625, -0.04046630859375, -0.039337158203125, 0.054290771484375, 0.0164642333984375, -0.0178680419921875, 0.06951904296875, -0.02093505859375, -0.003978729248046875, 0.046905517578125, 0.062744140625, -0.0655517578125, 0.00334930419921875, 0.0240020751953125, -0.01364898681640625, -0.012481689453125, -0.00858306884765625, -0.0285186767578125, -0.043731689453125, 0.0053863525390625, 0.0075531005859375, -0.04052734375, -0.030426025390625, 0.01262664794921875, -0.01534271240234375, 0.00013935565948486328, 0.0712890625, 0.0126495361328125, 0.01497650146484375, -0.0243072509765625, -0.025146484375, 0.00757598876953125, -0.017181396484375, 0.018798828125, 0.0039043426513671875, 0.00881195068359375, -0.055267333984375, 0.0284271240234375, -0.003330230712890625, -0.0038738250732421875, 0.02777099609375, 0.007755279541015625, 0.0026702880859375, 0.06524658203125, -0.026092529296875, 0.02532958984375, 0.02264404296875, -0.0396728515625, -0.06402587890625, -0.0136260986328125, 0.0245819091796875, 0.0098876953125, -0.060760498046875, 0.0244598388671875, -0.05474853515625, -0.007633209228515625, -0.01739501953125, -0.0361328125, 0.078369140625, -0.041412353515625, -0.00441741943359375, -0.00011408329010009766, 0.023193359375, 0.0167999267578125, 0.01070404052734375, -0.033905029296875, -0.0148468017578125, -0.00414276123046875, -0.022857666015625, -0.039459228515625, 0.0222930908203125, 0.00937652587890625, -0.0770263671875, 0.06890869140625, -0.005062103271484375, 0.03631591796875, 0.0165252685546875, 0.01471710205078125, -0.0248870849609375, -0.0086822509765625, -0.03570556640625, 0.055572509765625, -0.007755279541015625, 0.08441162109375, -0.049102783203125, -0.01079559326171875, 0.0340576171875, 0.049407958984375, 0.035919189453125, 0.007556915283203125, 0.005138397216796875, 0.001781463623046875, 0.041168212890625, 0.03643798828125, -0.0005993843078613281, 0.01251220703125, 0.01134490966796875, 0.043487548828125, 0.05841064453125, -0.03924560546875, 0.039398193359375, -0.0089263916015625, -0.0066680908203125, 0.021270751953125, 0.03082275390625, 0.037353515625, -0.0276336669921875, -0.01308441162109375, 0.0206451416015625, -0.025848388671875, -0.01169586181640625, -0.02728271484375, -0.007389068603515625, 0.02813720703125, 0.02459716796875, -0.08880615234375, -0.03289794921875, -0.0308685302734375, 0.036712646484375, 0.00373077392578125, 0.03564453125, 0.033050537109375, 0.01995849609375, 0.04888916015625, -0.005573272705078125, 0.019744873046875, 0.01435089111328125, -0.003795623779296875, 0.10186767578125, 0.052703857421875, 0.01873779296875, -0.067138671875, -0.004108428955078125, 0.045196533203125, 0.123046875, -0.08502197265625, -0.04730224609375, 0.02581787109375, 0.01348876953125, -0.015533447265625, 0.0158233642578125, -0.0112762451171875, -0.006473541259765625, 0.044647216796875, -0.004138946533203125, 0.00464630126953125, 0.0014200210571289062, 0.01255035400390625, -0.020172119140625, -0.00998687744140625, -0.01136016845703125, 0.00904083251953125, -0.0210418701171875, -0.000652313232421875, 0.013946533203125, 0.005962371826171875, 0.02178955078125, 0.0022869110107421875, 0.033966064453125, 0.0158843994140625, -0.0157470703125, 0.007251739501953125, -0.0196685791015625, 0.032623291015625, -0.07672119140625, -0.0633544921875, 0.03338623046875, 0.058013916015625, 0.036834716796875, -0.059234619140625, -0.007663726806640625, 0.00824737548828125, -0.007526397705078125, -0.006374359130859375, 0.0193328857421875, 0.00655364990234375, -0.04022216796875, -0.0099945068359375, 0.0192718505859375, 0.0294647216796875, 0.015655517578125, 0.01274871826171875, 0.0706787109375, -0.00017523765563964844, 0.007160186767578125, 0.022613525390625, 0.01380157470703125, -0.01306915283203125, 0.04144287109375, 0.0274658203125, 0.03424072265625, 0.039947509765625, -0.09356689453125, -0.031707763671875, -0.052001953125, -0.0246429443359375, 0.030914306640625, 0.052093505859375, 0.00984954833984375, -0.026458740234375, 0.0005354881286621094, -0.0028247833251953125, -0.0194091796875, 0.035888671875, -0.0028095245361328125, 0.04290771484375, 0.0439453125, 0.024658203125, -0.0263519287109375, -0.001674652099609375, 0.02081298828125, 0.006404876708984375, -0.01131439208984375, 0.0740966796875, -0.0174102783203125, -0.0038776397705078125, -0.0167083740234375, 0.033905029296875, -0.04254150390625, -0.0299224853515625, 0.060211181640625, -0.01215362548828125, 0.0013866424560546875, -0.00797271728515625, -0.043701171875, 0.0257110595703125, 0.03765869140625, 0.0003936290740966797, -0.0007719993591308594, -0.019989013671875, 0.027862548828125, 0.002552032470703125, -0.01165008544921875, -0.014495849609375, 0.02947998046875, 0.021942138671875, -0.0220184326171875, 0.040130615234375, -0.0293426513671875, -0.01351165771484375, 0.0203857421875, 0.0161895751953125, -0.042877197265625, 0.034576416015625, -0.05352783203125, 0.05889892578125, 0.03887939453125, 0.01125335693359375, -0.01334381103515625, 0.0127410888671875, -0.0135650634765625, 0.003757476806640625, 0.01045989990234375, 0.0128021240234375, 0.0181121826171875, -0.010101318359375, -0.0062408447265625, -0.0142669677734375, 0.01666259765625, 0.003063201904296875, -0.0112152099609375, -0.0284271240234375, -0.00722503662109375, 0.00347900390625, 0.00479888916015625, -0.029144287109375, -0.0197296142578125, -0.01065826416015625, 0.0111236572265625, -0.008880615234375, -0.0204010009765625, -0.04766845703125, -0.0105438232421875, 0.0310821533203125, 0.01080322265625, -0.052642822265625, 0.036834716796875, -0.019927978515625, -0.00861358642578125, 0.01064300537109375, 0.01018524169921875, 0.0186920166015625, 0.0423583984375, -0.04034423828125, 0.0413818359375, 0.0023174285888671875, -0.062286376953125, 0.038604736328125, 0.01435089111328125, 0.0205535888671875, -0.031890869140625, -0.022430419921875, 0.03662109375, 0.0280914306640625, 0.0811767578125, 0.03009033203125, -0.0146026611328125, 0.01006317138671875, 0.008148193359375, -0.003986358642578125, -0.0867919921875, -0.0231170654296875, -0.04241943359375, 0.01282501220703125, -0.00258636474609375, -0.00704193115234375, 0.01326751708984375, -0.035552978515625, -0.08056640625, 0.057952880859375, -0.0162353515625, -0.045440673828125, -0.034912109375, -0.00818634033203125, -0.0099639892578125, -0.0001697540283203125, -0.006542205810546875, -0.031097412109375, -0.01751708984375, 0.041168212890625, 0.0148468017578125, 0.0081939697265625, 0.0255889892578125, 0.01500701904296875, -0.0880126953125, -0.004268646240234375, -0.041748046875, 0.0205841064453125, 0.033538818359375, -0.0158538818359375, 0.025482177734375, 0.0489501953125, -0.03759765625, -0.04815673828125, -0.041534423828125, -0.0305023193359375, 0.0104827880859375, -0.01171112060546875, -0.02142333984375, -0.0411376953125, 0.004093170166015625, 0.04730224609375, 0.009307861328125, -0.004077911376953125, -0.010589599609375, -0.036865234375, -0.030303955078125, -0.004047393798828125, 0.019195556640625, -0.041595458984375, 0.0230255126953125, 0.00836944580078125, -0.0032062530517578125, -0.0200958251953125, 0.02276611328125, -0.00380706787109375, -0.021026611328125, -0.0109100341796875, -0.035125732421875, 0.004718780517578125, -0.0149078369140625, 0.00962066650390625, -0.0221710205078125, -0.02716064453125, -0.00797271728515625, 0.0214385986328125, -0.0165252685546875, -0.0003330707550048828, -0.028961181640625, -0.0021572113037109375, -0.01050567626953125, 0.01381683349609375, -0.0084686279296875, 0.016082763671875, -0.0192718505859375, 0.031585693359375, 0.00897216796875, 0.03997802734375, -0.01861572265625, 0.04119873046875, -0.0029754638671875, 0.06427001953125, 0.0034008026123046875, 0.0709228515625, 0.03851318359375, 0.00780487060546875, 0.0016994476318359375, 0.06597900390625, 0.01953125, -0.0701904296875, 0.018646240234375, -0.058746337890625, -0.003543853759765625, -0.01218414306640625, -0.037750244140625, -0.0408935546875, -0.00882720947265625, 0.005481719970703125, -0.0118865966796875, 0.00910186767578125 ]
9574107fdfabbd814999ae8417dd16aeb7524ad0
Wordpress Stackexchange Q: Custom SQL query to get List of posts with featured image url I am working on a task where i need to retrive 100s posts under single-page/single-request with their featured images. By using wordpress method of retriving posts and then retrive featured image individually using get_the_post_thumbnail function it takes so much time to load the page. Can someone provide a faster solution for this like retrive posts and featured image under one single query. That should speed up the proccess. A: This is much simpler solution without any use of complex joins, SELECT wp_posts.id, wp_posts.post_title, wp_terms.name, (SELECT guid FROM wp_posts WHERE id = wp_postmeta.meta_value) AS image FROM wp_posts, wp_postmeta, wp_term_relationships, wp_terms WHERE wp_posts.id = wp_term_relationships.object_id AND wp_terms.term_id = wp_term_relationships.term_taxonomy_id AND wp_terms.name = 'mycat' AND wp_posts.post_status = "publish" AND wp_posts.post_type = "post" AND wp_postmeta.post_id = wp_posts.id AND wp_postmeta.meta_key = '_thumbnail_id' ORDER BY wp_posts.post_date DESC LIMIT 5; This query will give post id, post category, and featured image. You can filter the category by changing wp_terms.name = 'mycat' with your category name.
Q: Custom SQL query to get List of posts with featured image url I am working on a task where i need to retrive 100s posts under single-page/single-request with their featured images. By using wordpress method of retriving posts and then retrive featured image individually using get_the_post_thumbnail function it takes so much time to load the page. Can someone provide a faster solution for this like retrive posts and featured image under one single query. That should speed up the proccess. A: This is much simpler solution without any use of complex joins, SELECT wp_posts.id, wp_posts.post_title, wp_terms.name, (SELECT guid FROM wp_posts WHERE id = wp_postmeta.meta_value) AS image FROM wp_posts, wp_postmeta, wp_term_relationships, wp_terms WHERE wp_posts.id = wp_term_relationships.object_id AND wp_terms.term_id = wp_term_relationships.term_taxonomy_id AND wp_terms.name = 'mycat' AND wp_posts.post_status = "publish" AND wp_posts.post_type = "post" AND wp_postmeta.post_id = wp_posts.id AND wp_postmeta.meta_key = '_thumbnail_id' ORDER BY wp_posts.post_date DESC LIMIT 5; This query will give post id, post category, and featured image. You can filter the category by changing wp_terms.name = 'mycat' with your category name. A: Worked on similar problem recently. Here is the SQL query to get the post with Featured Image. global $wpdb; $perpage = 10; $page = 1; // Get the current page FROM $wp_query $counter = $perpage * $page; $uploadDir = wp_upload_dir(); $uploadDir = $uploadDir['baseurl']; $sql = " SELECT post.ID, post.post_title, post.post_date, post.category_name, post.category_slug, post.category_id, CONCAT( '".$uploadDir."','/', thumb.meta_value) as thumbnail, post.post_type FROM ( SELECT p.ID, p.post_title, p.post_date, p.post_type, MAX(CASE WHEN pm.meta_key = '_thumbnail_id' then pm.meta_value ELSE NULL END) as thumbnail_id, term.name as category_name, term.slug as category_slug, term.term_id as category_id FROM ".$wpdb->prefix."posts as p LEFT JOIN ".$wpdb->prefix."postmeta as pm ON ( pm.post_id = p.ID) LEFT JOIN ".$wpdb->prefix."term_relationships as tr ON tr.object_id = p.ID LEFT JOIN ".$wpdb->prefix."terms as term ON tr.term_taxonomy_id = term.term_id WHERE 1 ".$where." AND p.post_status = 'publish' GROUP BY p.ID ORDER BY p.post_date DESC ) as post LEFT JOIN ".$wpdb->prefix."postmeta AS thumb ON thumb.meta_key = '_wp_attached_file' AND thumb.post_id = post.thumbnail_id LIMIT ".$counter.",".$perpage; $posts = $wpdb->get_results( $sql, ARRAY_A); Bonus : You will also get Category details with post details if you need. P.S : You will need to change the query a bit to match your requirements and get desired fields. A: The post and featured image URL is saved in wp_posts table and its relation is saved in wp_postmeta table so in any case you have to query both these tables either directly in single Query or using WordPress function and query them separately. I don't think querying both tables in single Query will improve major performance but if you want to do it then you can use below custom code. global $wpdb; $results = $wpdb->get_results( "SELECT * FROM $wpdb->posts, $wpdb->postmeta where $wpdb->posts.ID = $wpdb->postmeta.post_id and $wpdb->postmeta.meta_key = '_thumbnail_id' and $wpdb->posts.post_type='post' limit 100"); if ( $results ) { foreach ( $results as $post ) { setup_postdata( $post ); ?> <h2> <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permalink: <?php the_title(); ?>"> <?php the_title(); ?> </a> </h2> <?php if ( $post->meta_value ) { $image = image_downsize( $post->meta_value ); ?> <img src="<?php echo $image[0]; ?>" /> <?php } } } else { ?> <h2>Not Found</h2> <?php } A: You can manage the page load speed by using infinite scroll method. Retrieve only those post which are showing above the fold and on scroll you can query other posts this can help you load your page much more quickly. Here is a tutorial for this. https://code.tutsplus.com/tutorials/how-to-create-infinite-scroll-pagination--wp-24873 There are some plugins for infinite scroll for posts. https://wordpress.org/plugins/wp-infinite-scrolling/ A: The accepted answer will ruin your life LOL... Here's the easy way.. global $wpdb; $uploadDir = wp_upload_dir(); $uploadDir = $uploadDir['baseurl']; $page = (!empty($_REQUEST['p'])) ? $_REQUEST['p'] : 1; $_limit = 50; $_start = ($page > 1) ? ($page * $_limit) : 0; $_stmts = " SELECT p.ID, p.post_title, p.post_name, CONCAT( '".$uploadDir."', '/', thumb.meta_value) as thumbnail FROM {$wpdb->prefix}posts AS p LEFT JOIN {$wpdb->prefix}postmeta AS thumbnail_id ON thumbnail_id.post_id = p.ID AND thumbnail_id.meta_key = '_thumbnail_id' LEFT JOIN {$wpdb->prefix}postmeta AS thumb ON thumb.post_id = thumbnail_id.meta_value AND thumb.meta_key = '_wp_attached_file' WHERE p.post_status = 'publish' LIMIT {$_start},{$_limit} "; $get_rs = $wpdb->get_results($_stmts);
wordpress
{ "language": "en", "length": 667, "provenance": "stackexchange_00019.jsonl.gz:476073", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/266557" }
[ 0.066650390625, -0.00931549072265625, 0.02532958984375, -0.0189208984375, 0.0282440185546875, -0.0220947265625, 0.07586669921875, -0.031829833984375, 0.048187255859375, 0.022216796875, 0.006755828857421875, -0.03338623046875, 0.0030651092529296875, -0.03570556640625, -0.03179931640625, -0.0122528076171875, 0.0335693359375, 0.0061798095703125, 0.02545166015625, 0.0171356201171875, -0.018585205078125, 0.0307769775390625, -0.00025534629821777344, -0.012969970703125, 0.043304443359375, -0.024169921875, 0.02880859375, -0.05120849609375, 0.0245819091796875, -0.0234832763671875, 0.02447509765625, 0.01947021484375, 0.00904083251953125, -0.006500244140625, 0.025146484375, -0.01186370849609375, 0.01239776611328125, -0.001007080078125, 0.0011959075927734375, 0.0258331298828125, 0.00669097900390625, 0.00562286376953125, -0.034912109375, -0.006793975830078125, -0.0242462158203125, -0.045379638671875, 0.0188140869140625, -0.039947509765625, 0.00630950927734375, 0.00931549072265625, 0.026519775390625, 0.0306549072265625, 0.04541015625, -0.044342041015625, -0.004177093505859375, -0.0129547119140625, -0.01251220703125, 0.0010118484497070312, 0.0567626953125, -0.0247344970703125, -0.054534912109375, -0.04779052734375, 0.028228759765625, -0.036651611328125, -0.0100555419921875, 0.031524658203125, 0.035308837890625, 0.00005239248275756836, -0.00455474853515625, -0.0230255126953125, -0.0134124755859375, -0.01120758056640625, 0.01073455810546875, -0.0028228759765625, -0.0088958740234375, -0.001590728759765625, 0.00701141357421875, 0.006587982177734375, 0.0132904052734375, 0.01534271240234375, 0.0039825439453125, -0.06719970703125, -0.0458984375, 0.0132598876953125, 0.007274627685546875, 0.044677734375, -0.0020542144775390625, -0.007442474365234375, -0.0511474609375, -0.0164642333984375, -0.0223846435546875, -0.06768798828125, -0.094482421875, 0.042816162109375, 0.04559326171875, -0.0232086181640625, 0.044464111328125, 0.055084228515625, -0.003330230712890625, -0.00860595703125, 0.018218994140625, -0.05694580078125, 0.0218048095703125, -0.0280914306640625, 0.0286865234375, 0.0226287841796875, -0.0306243896484375, 0.0012807846069335938, 0.059417724609375, 0.035797119140625, 0.0153350830078125, 0.02642822265625, 0.0206146240234375, 0.0217132568359375, -0.06146240234375, -0.0017061233520507812, 0.0023021697998046875, -0.03021240234375, -0.0162200927734375, -0.0010395050048828125, 0.0021495819091796875, 0.0019168853759765625, 0.036651611328125, -0.006404876708984375, 0.01407623291015625, 0.0200653076171875, -0.038665771484375, -0.020751953125, -0.03704833984375, 0.030517578125, -0.0274658203125, 0.0046234130859375, 0.055419921875, 0.033721923828125, -0.0037326812744140625, -0.018341064453125, -0.00850677490234375, 0.0021686553955078125, 0.01097869873046875, 0.009765625, -0.0166778564453125, -0.01541900634765625, 0.045806884765625, -0.010009765625, 0.0246124267578125, 0.009063720703125, 0.0224456787109375, 0.020111083984375, -0.00041556358337402344, -0.0074005126953125, -0.0026702880859375, 0.0240325927734375, 0.032501220703125, -0.00789642333984375, 0.00444793701171875, -0.035308837890625, 0.039459228515625, -0.036865234375, -0.0099334716796875, -0.04595947265625, 0.07421875, -0.01052093505859375, -0.01428985595703125, 0.0235595703125, -0.032073974609375, 0.010589599609375, -0.04620361328125, -0.0222930908203125, 0.0201873779296875, 0.055877685546875, 0.0005884170532226562, -0.020782470703125, 0.010650634765625, 0.00689697265625, -0.018463134765625, 0.00972747802734375, 0.004955291748046875, -0.01456451416015625, 0.0184173583984375, 0.0312347412109375, -0.0295867919921875, -0.033050537109375, 0.024444580078125, -0.018768310546875, -0.03271484375, 0.04058837890625, 0.0285797119140625, 0.0670166015625, -0.01934814453125, 0.02191162109375, 0.03857421875, 0.00327301025390625, -0.04833984375, 0.0015726089477539062, 0.007320404052734375, -0.01480865478515625, -0.0146484375, -0.0251007080078125, 0.0025539398193359375, 0.0246734619140625, 0.04150390625, 0.0168304443359375, 0.0067596435546875, 0.003589630126953125, -0.048919677734375, 0.01428985595703125, -0.014312744140625, 0.037139892578125, -0.031524658203125, 0.036590576171875, 0.03521728515625, 0.01580810546875, -0.04547119140625, 0.0100250244140625, 0.0189208984375, 0.0157623291015625, -0.00475311279296875, -0.00614166259765625, -0.00959014892578125, 0.03521728515625, -0.0257568359375, -0.00528717041015625, -0.059356689453125, 0.0265960693359375, 0.05706787109375, 0.0171051025390625, -0.0167236328125, -0.00167083740234375, 0.03546142578125, 0.034881591796875, -0.07855224609375, 0.01148223876953125, 0.0169677734375, 0.0049896240234375, -0.01258087158203125, 0.024810791015625, 0.04864501953125, -0.0372314453125, 0.003627777099609375, 0.024993896484375, 0.04278564453125, 0.01617431640625, -0.00362396240234375, -0.003482818603515625, 0.04620361328125, -0.0682373046875, -0.002960205078125, -0.0018100738525390625, 0.01549530029296875, 0.0193328857421875, 0.00421142578125, -0.0189056396484375, 0.035247802734375, -0.01058197021484375, 0.01355743408203125, 0.040802001953125, 0.0034961700439453125, 0.02886962890625, -0.035369873046875, 0.0212554931640625, -0.006988525390625, 0.01910400390625, -0.0128936767578125, 0.003925323486328125, 0.04656982421875, 0.03021240234375, 0.0628662109375, 0.0447998046875, -0.007568359375, 0.004852294921875, -0.01200103759765625, 0.0036983489990234375, 0.006256103515625, -0.01190185546875, -0.00909423828125, 0.0010538101196289062, -0.004222869873046875, 0.01186370849609375, -0.00913238525390625, -0.0281524658203125, 0.0026149749755859375, 0.011566162109375, -0.0186767578125, 0.0011081695556640625, -0.0149993896484375, -0.06231689453125, 0.0210418701171875, 0.0335693359375, -0.0060577392578125, 0.02166748046875, 0.035614013671875, 0.052825927734375, 0.0082855224609375, 0.0325927734375, -0.03375244140625, 0.0243377685546875, 0.00722503662109375, -0.045989990234375, 0.042633056640625, -0.038330078125, 0.0394287109375, 0.046844482421875, -0.0228118896484375, 0.03662109375, 0.002147674560546875, -0.04095458984375, -0.0092926025390625, 0.01538848876953125, -0.0113983154296875, -0.041229248046875, -0.037139892578125, 0.025360107421875, 0.0200958251953125, 0.09991455078125, -0.0225982666015625, -0.057403564453125, 0.01568603515625, 0.0299530029296875, -0.0694580078125, -0.1156005859375, -0.033355712890625, -0.034515380859375, 0.001834869384765625, 0.0017652511596679688, -0.0159454345703125, 0.002593994140625, 0.0122222900390625, 0.013092041015625, -0.0037097930908203125, 0.0109405517578125, -0.0921630859375, -0.0270233154296875, -0.071533203125, 0.03289794921875, -0.018096923828125, 0.0267333984375, 0.00841522216796875, 0.07080078125, 0.0196075439453125, -0.06396484375, 0.0006470680236816406, 0.04656982421875, -0.0601806640625, -0.0167083740234375, -0.0230865478515625, -0.0041961669921875, -0.0209808349609375, -0.002193450927734375, -0.0028209686279296875, 0.009796142578125, -0.02117919921875, 0.01506805419921875, -0.004383087158203125, 0.0174560546875, 0.03179931640625, -0.00685882568359375, 0.00203704833984375, 0.06488037109375, 0.06390380859375, 0.01016998291015625, -0.01216888427734375, -0.0537109375, -0.048614501953125, -0.01195526123046875, 0.0258636474609375, 0.034332275390625, -0.0269622802734375, 0.00797271728515625, 0.0211181640625, 0.019439697265625, -0.0055084228515625, -0.047515869140625, 0.058380126953125, 0.031982421875, 0.0538330078125, -0.0261383056640625, -0.0184326171875, -0.037628173828125, 0.008087158203125, -0.0238494873046875, 0.0121917724609375, -0.00843048095703125, -0.0161590576171875, -0.04681396484375, -0.0254669189453125, 0.0283050537109375, -0.020416259765625, 0.019073486328125, -0.02734375, -0.028839111328125, -0.00682830810546875, 0.0740966796875, -0.0017862319946289062, -0.012664794921875, -0.02056884765625, -0.00739288330078125, -0.020263671875, -0.025360107421875, -0.032501220703125, 0.0114593505859375, -0.09686279296875, -0.01800537109375, -0.00970458984375, -0.0504150390625, 0.01435089111328125, -0.004352569580078125, -0.057281494140625, -0.0445556640625, 0.033172607421875, -0.02655029296875, 0.01526641845703125, 0.036956787109375, -0.0055999755859375, 0.033050537109375, -0.036346435546875, -0.0222625732421875, -0.07061767578125, -0.0262298583984375, 0.01378631591796875, 0.060791015625, -0.003429412841796875, -0.021392822265625, -0.0200042724609375, 0.0565185546875, 0.00004267692565917969, 0.0193023681640625, -0.004673004150390625, -0.0015764236450195312, 0.0020618438720703125, 0.003086090087890625, 0.002788543701171875, -0.0170135498046875, -0.03204345703125, -0.0789794921875, -0.03314208984375, -0.0394287109375, -0.02923583984375, 0.0191650390625, -0.038116455078125, 0.0198516845703125, -0.032562255859375, 0.0086212158203125, 0.01255035400390625, 0.0296478271484375, 0.0055084228515625, -0.0129547119140625, -0.01270294189453125, -0.05023193359375, 0.044677734375, 0.0027523040771484375, 0.0069122314453125, 0.0240478515625, 0.08050537109375, -0.0092315673828125, -0.029266357421875, -0.11474609375, 0.01800537109375, 0.03399658203125, 0.0126495361328125, 0.0428466796875, 0.0421142578125, -0.020721435546875, 0.0293731689453125, 0.03857421875, -0.006984710693359375, -0.003398895263671875, 0.0302734375, -0.0105133056640625, 0.00882720947265625, -0.017669677734375, -0.0149993896484375, 0.032867431640625, 0.0496826171875, -0.01531982421875, -0.0306549072265625, -0.02081298828125, 0.04638671875, -0.0031909942626953125, -0.005954742431640625, -0.051300048828125, -0.004383087158203125, 0.00432586669921875, 0.0128021240234375, 0.04388427734375, 0.01526641845703125, -0.0017843246459960938, 0.0009565353393554688, 0.033203125, 0.032501220703125, 0.03057861328125, 0.009063720703125, -0.0157318115234375, 0.02960205078125, 0.009033203125, -0.005321502685546875, 0.01751708984375, -0.0013685226440429688, 0.01052093505859375, -0.03814697265625, -0.039276123046875, -0.0234222412109375, -0.0330810546875, 0.0213623046875, 0.04449462890625, -0.0408935546875, 0.0219879150390625, 0.04425048828125, -0.020751953125, -0.0107269287109375, -0.04681396484375, 0.0038280487060546875, -0.04736328125, -0.003246307373046875, -0.0267181396484375, 0.00725555419921875, 0.029632568359375, 0.049652099609375, -0.035186767578125, 0.057861328125, -0.0121307373046875, 0.039794921875, -0.022918701171875, 0.04156494140625, 0.0045166015625, 0.007213592529296875, -0.0213775634765625, 0.0350341796875, -0.0208587646484375, -0.033477783203125, -0.01421356201171875, -0.00479888916015625, 0.037689208984375, -0.0252838134765625, 0.0004458427429199219, 0.037567138671875, -0.00859832763671875, -0.0269927978515625, 0.01381683349609375, -0.010467529296875, -0.0017223358154296875, -0.036712646484375, -0.03570556640625, 0.0259857177734375, 0.0273895263671875, -0.0307769775390625, 0.00653839111328125, -0.018402099609375, 0.054595947265625, -0.046783447265625, 0.0224151611328125, 0.0218048095703125, 0.003894805908203125, 0.00463104248046875, -0.0185394287109375, -0.034332275390625, 0.024566650390625, 0.01042938232421875, -0.020477294921875, -0.041259765625, 0.0615234375, -0.012237548828125, 0.05010986328125, 0.006389617919921875, -0.0477294921875, -0.0194854736328125, 0.020751953125, 0.040771484375, 0.0275726318359375, -0.019500732421875, -0.0156402587890625, -0.0301666259765625, -0.00345611572265625, 0.09454345703125, 0.0225067138671875, -0.0029754638671875, -0.0175933837890625, -0.016143798828125, 0.034912109375, -0.0008463859558105469, 0.0079193115234375, -0.0316162109375, -0.0170440673828125, -0.005588531494140625, 0.0296630859375, -0.01393890380859375, 0.007518768310546875, 0.006023406982421875, 0.042266845703125, -0.0020847320556640625, -0.0225830078125, 0.0036182403564453125, -0.0195465087890625, -0.0350341796875, -0.09490966796875, 0.018157958984375, 0.020721435546875, -0.0126800537109375, 0.0296173095703125, -0.0004711151123046875, 0.028228759765625, 0.01739501953125, -0.0265045166015625, -0.00909423828125, -0.0221405029296875, -0.024688720703125, -0.02239990234375, -0.0043792724609375, 0.0185546875, -0.005786895751953125, 0.0072479248046875, -0.0374755859375, -0.0171661376953125, 0.0109405517578125, -0.02655029296875, -0.0104522705078125, 0.05584716796875, 0.0009102821350097656, -0.00402069091796875, 0.06787109375, 0.026397705078125, 0.050140380859375, 0.0241241455078125, 0.013519287109375, -0.0004949569702148438, 0.010467529296875, -0.00787353515625, -0.0080413818359375, 0.0374755859375, -0.0018825531005859375, 0.01062774658203125, 0.04400634765625, -0.00514984130859375, 0.004058837890625, -0.0745849609375, 0.020294189453125, 0.051727294921875, 0.0295562744140625, 0.0239410400390625, -0.0311126708984375, -0.01195526123046875, 0.02142333984375, -0.0187530517578125, -0.00812530517578125, 0.006229400634765625, -0.00518035888671875, -0.01068115234375, 0.0008645057678222656, 0.0036640167236328125, -0.02130126953125, 0.0019741058349609375, 0.022613525390625, 0.01158905029296875, -0.04766845703125, -0.0239105224609375, 0.038665771484375, -0.02960205078125, -0.04071044921875, 0.017974853515625, -0.01270294189453125, 0.0006542205810546875, -0.050811767578125, 0.0211334228515625, 0.00621795654296875, 0.004695892333984375, 0.052581787109375, 0.03912353515625, -0.0071563720703125, 0.041748046875, 0.01297760009765625, 0.0101470947265625, 0.01531219482421875, -0.031768798828125, 0.01702880859375, -0.0166473388671875, -0.00223541259765625, 0.0142974853515625, -0.027069091796875, 0.0124969482421875, -0.007472991943359375, 0.002079010009765625, 0.0019397735595703125, -0.039031982421875, 0.0226287841796875, -0.0430908203125, 0.0152130126953125, 0.0231781005859375, 0.034759521484375, 0.0035076141357421875, -0.0037975311279296875, 0.0697021484375, -0.03826904296875, -0.0208740234375, 0.0207977294921875, -0.01174163818359375, -0.0283203125, 0.0019664764404296875, -0.07403564453125, 0.065673828125, -0.0023136138916015625, 0.041351318359375, -0.0200347900390625, 0.0277557373046875, 0.019775390625, 0.0091552734375, -0.017974853515625, 0.056610107421875, -0.038482666015625, 0.047515869140625, -0.024993896484375, 0.01141357421875, 0.0204315185546875, 0.01445770263671875, 0.100341796875, 0.0209197998046875, -0.083740234375, -0.030914306640625, 0.042877197265625, 0.050048828125, 0.016448974609375, 0.05059814453125, -0.01383209228515625, 0.048004150390625, 0.05462646484375, -0.044281005859375, 0.0240936279296875, 0.01415252685546875, -0.0333251953125, 0.0171051025390625, 0.026092529296875, 0.04656982421875, 0.000896453857421875, 0.0277557373046875, -0.043060302734375, 0.012115478515625, 0.06494140625, -0.052490234375, 0.04156494140625, 0.0070343017578125, 0.03167724609375, -0.05230712890625, -0.03955078125, 0.0019216537475585938, 0.034423828125, -0.003284454345703125, 0.040802001953125, 0.0290374755859375, 0.0240020751953125, 0.050628662109375, -0.0028438568115234375, 0.019012451171875, 0.02020263671875, -0.0303955078125, 0.065185546875, 0.003082275390625, 0.0408935546875, -0.03851318359375, -0.0000324249267578125, 0.0111541748046875, 0.06072998046875, -0.044921875, -0.031341552734375, 0.021453857421875, 0.023834228515625, -0.00791168212890625, 0.0091094970703125, -0.0089569091796875, 0.003818511962890625, 0.0634765625, -0.0509033203125, 0.0254974365234375, 0.0312042236328125, 0.031280517578125, -0.03173828125, -0.03594970703125, -0.036865234375, 0.0260009765625, -0.0286712646484375, 0.035736083984375, 0.033447265625, 0.031158447265625, -0.0051422119140625, 0.0296478271484375, -0.0155792236328125, 0.01299285888671875, -0.007526397705078125, 0.018829345703125, 0.0081787109375, 0.0078887939453125, -0.0285797119140625, -0.053131103515625, 0.02923583984375, 0.03753662109375, 0.053436279296875, -0.016845703125, 0.051513671875, 0.046173095703125, -0.05523681640625, -0.00811004638671875, 0.0552978515625, -0.0155029296875, -0.0116119384765625, -0.0128326416015625, 0.0089874267578125, 0.0184478759765625, -0.008880615234375, 0.0013284683227539062, 0.041656494140625, 0.00070953369140625, -0.005443572998046875, 0.055755615234375, -0.0022563934326171875, 0.0012655258178710938, 0.035369873046875, -0.03363037109375, 0.03009033203125, -0.005832672119140625, -0.0909423828125, -0.00669097900390625, -0.043487548828125, -0.036956787109375, 0.027069091796875, 0.03594970703125, -0.035491943359375, 0.0150604248046875, -0.01529693603515625, -0.01114654541015625, -0.00437164306640625, 0.003391265869140625, 0.0111083984375, 0.012054443359375, 0.0110626220703125, 0.0094757080078125, -0.0413818359375, -0.01409149169921875, 0.01418304443359375, 0.010345458984375, 0.004421234130859375, 0.02862548828125, 0.0108489990234375, 0.01511383056640625, -0.0176849365234375, 0.01006317138671875, -0.0347900390625, -0.01282501220703125, 0.03564453125, -0.02777099609375, -0.0234832763671875, 0.00023293495178222656, 0.0149383544921875, -0.0203857421875, 0.0618896484375, -0.022003173828125, -0.038360595703125, -0.0125732421875, 0.035400390625, 0.01464080810546875, 0.0153045654296875, -0.044403076171875, -0.0005316734313964844, -0.0633544921875, -0.07281494140625, 0.052825927734375, -0.01525115966796875, 0.039642333984375, 0.00873565673828125, 0.0253753662109375, -0.00786590576171875, 0.0304412841796875, 0.00775146484375, 0.06451416015625, 0.050811767578125, -0.06494140625, 0.0233612060546875, 0.01654052734375, -0.004337310791015625, 0.0016384124755859375, 0.03179931640625, -0.0087127685546875, 0.0286407470703125, -0.00617218017578125, 0.004016876220703125, 0.016265869140625, 0.0198516845703125, -0.0250091552734375, 0.0232086181640625, 0.0290679931640625, -0.00702667236328125, -0.036834716796875, 0.005603790283203125, -0.0018291473388671875, -0.041595458984375, -0.0120391845703125, 0.00160980224609375, -0.0284271240234375, -0.0080108642578125, -0.0166778564453125, -0.033355712890625, 0.031036376953125, 0.0187530517578125, -0.05645751953125, 0.046905517578125, 0.00734710693359375, -0.0191192626953125, 0.01229095458984375, -0.06536865234375, -0.0012969970703125, 0.0270233154296875, -0.018463134765625, -0.031890869140625, -0.050201416015625, -0.0176239013671875, -0.05694580078125, -0.005847930908203125, -0.003406524658203125, -0.01129150390625, -0.01204681396484375, 0.0307769775390625, 0.0018243789672851562, 0.06353759765625, -0.0015611648559570312, -0.01568603515625, -0.01145172119140625, 0.0246734619140625, -0.05706787109375, -0.053955078125, 0.036773681640625, -0.038177490234375, -0.0282440185546875, 0.0285797119140625, 0.0008420944213867188, 0.036102294921875, -0.034912109375, -0.0877685546875, 0.06573486328125, -0.0210113525390625, -0.039398193359375, -0.0433349609375, -0.0085601806640625, -0.007122039794921875, 0.01500701904296875, -0.0062713623046875, -0.01511383056640625, -0.032440185546875, 0.047515869140625, 0.0218505859375, -0.0180511474609375, 0.056640625, -0.0137939453125, -0.04107666015625, -0.004154205322265625, -0.0015344619750976562, 0.01543426513671875, -0.00951385498046875, 0.032379150390625, 0.003589630126953125, 0.032440185546875, -0.0330810546875, 0.00865936279296875, -0.0106353759765625, -0.0224456787109375, -0.01226806640625, -0.0079345703125, -0.05572509765625, -0.0293426513671875, 0.061859130859375, 0.058074951171875, 0.020660400390625, -0.015380859375, 0.01160430908203125, -0.06024169921875, -0.01428985595703125, -0.0247650146484375, 0.0169830322265625, -0.06170654296875, -0.0195159912109375, 0.042327880859375, -0.01291656494140625, 0.0257415771484375, -0.0163726806640625, -0.0201416015625, -0.0007119178771972656, -0.022613525390625, -0.003948211669921875, -0.05950927734375, 0.047119140625, 0.0253143310546875, -0.04962158203125, -0.03875732421875, -0.017181396484375, -0.01497650146484375, -0.0236053466796875, -0.061767578125, -0.016937255859375, 0.0254364013671875, -0.0184326171875, -0.00579833984375, 0.01427459716796875, -0.0345458984375, 0.0073699951171875, 0.0372314453125, -0.0239105224609375, 0.005306243896484375, 0.021209716796875, -0.004367828369140625, -0.0303955078125, 0.01003265380859375, 0.011016845703125, 0.0281829833984375, 0.002574920654296875, 0.031951904296875, 0.014495849609375, 0.0333251953125, -0.004421234130859375, -0.034088134765625, 0.0273284912109375, -0.0355224609375, 0.0087127685546875, 0.006137847900390625, 0.00785064697265625, 0.01262664794921875, -0.025482177734375, 0.0163726806640625, -0.0211029052734375, -0.01435089111328125 ]
d5e9f38e86ff9bfecbf4f02103d77b28d24d6257
Wordpress Stackexchange Q: the_title filter applying to menu items I want to create a simple function to call the logged-in user's username along with the word "Wishlist". It seems to be working but it also changes the menu item titles! function customize_wishlist_title( $title ){ $current_user = wp_get_current_user(); $loggeduser = $current_user->user_login; if ( is_page( 258 ) ) { $title = '<span class="username">'.$loggeduser.'\'s'.'</span>'.'&nbsp;'.'<span>Wishlist</span>'; } return $title; } add_filter('the_title','customize_wishlist_title', 10, 2); A: Use in_the_loop() conditional tag to make sure you are modifying the title inside the Loop and to prevent the hook changing titles somewhere else: function customize_wishlist_title( $title ){ $current_user = wp_get_current_user(); $loggeduser = $current_user->user_login; // give attention to the following condition: if ( is_page( 258 ) && in_the_loop() ) { $title = '<span class="username">'.$loggeduser.'\'s'.'</span>'.'&nbsp;'.'<span>Wishlist</span>'; } return $title; } add_filter('the_title','customize_wishlist_title', 10, 2); See in_the_loop() reference.
Q: the_title filter applying to menu items I want to create a simple function to call the logged-in user's username along with the word "Wishlist". It seems to be working but it also changes the menu item titles! function customize_wishlist_title( $title ){ $current_user = wp_get_current_user(); $loggeduser = $current_user->user_login; if ( is_page( 258 ) ) { $title = '<span class="username">'.$loggeduser.'\'s'.'</span>'.'&nbsp;'.'<span>Wishlist</span>'; } return $title; } add_filter('the_title','customize_wishlist_title', 10, 2); A: Use in_the_loop() conditional tag to make sure you are modifying the title inside the Loop and to prevent the hook changing titles somewhere else: function customize_wishlist_title( $title ){ $current_user = wp_get_current_user(); $loggeduser = $current_user->user_login; // give attention to the following condition: if ( is_page( 258 ) && in_the_loop() ) { $title = '<span class="username">'.$loggeduser.'\'s'.'</span>'.'&nbsp;'.'<span>Wishlist</span>'; } return $title; } add_filter('the_title','customize_wishlist_title', 10, 2); See in_the_loop() reference.
wordpress
{ "language": "en", "length": 131, "provenance": "stackexchange_00019.jsonl.gz:476113", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/266690" }
[ 0.03961181640625, -0.0015888214111328125, -0.01262664794921875, -0.032745361328125, 0.0173492431640625, -0.0247955322265625, 0.017791748046875, -0.0236663818359375, -0.0229644775390625, 0.037872314453125, -0.01264190673828125, 0.0102386474609375, -0.01509857177734375, -0.001796722412109375, -0.0260009765625, -0.042938232421875, 0.019561767578125, 0.01462554931640625, 0.0205535888671875, -0.02197265625, -0.00926971435546875, -0.0192718505859375, 0.0214996337890625, 0.0809326171875, 0.0199737548828125, -0.08758544921875, 0.10235595703125, -0.043487548828125, 0.048858642578125, -0.0023441314697265625, 0.0143585205078125, -0.0280303955078125, 0.02532958984375, -0.01181793212890625, -0.0004551410675048828, 0.03192138671875, -0.0219573974609375, 0.0178985595703125, 0.0084686279296875, 0.0040283203125, 0.049774169921875, -0.0233612060546875, -0.05096435546875, 0.00838470458984375, -0.04742431640625, -0.056121826171875, 0.07763671875, 0.04791259765625, 0.005466461181640625, 0.005863189697265625, 0.022705078125, 0.021392822265625, 0.0269317626953125, -0.012786865234375, 0.00830841064453125, 0.03753662109375, -0.025665283203125, 0.025604248046875, 0.033935546875, -0.003498077392578125, -0.0177001953125, -0.0009136199951171875, 0.0200653076171875, -0.001567840576171875, -0.0080413818359375, 0.01947021484375, 0.037933349609375, 0.0035839080810546875, -0.0177001953125, -0.0237884521484375, 0.00911712646484375, -0.005054473876953125, -0.0171661376953125, 0.01540374755859375, -0.04541015625, -0.020721435546875, 0.0092315673828125, -0.035797119140625, 0.0220947265625, 0.006671905517578125, 0.0018787384033203125, -0.007656097412109375, -0.00279998779296875, 0.02459716796875, -0.007190704345703125, 0.046722412109375, -0.02374267578125, -0.0238037109375, -0.0016508102416992188, -0.0128173828125, -0.0145721435546875, 0.00887298583984375, -0.00951385498046875, -0.00409698486328125, -0.0169219970703125, -0.0294036865234375, 0.0265045166015625, 0.06982421875, 0.0163116455078125, 0.00850677490234375, -0.015045166015625, -0.0214691162109375, -0.01432037353515625, -0.038970947265625, 0.005138397216796875, 0.038818359375, -0.01323699951171875, 0.05126953125, 0.042236328125, 0.0234222412109375, 0.015625, 0.005580902099609375, -0.018829345703125, 0.00041604042053222656, -0.006679534912109375, -0.02789306640625, -0.07672119140625, 0.03411865234375, -0.00817108154296875, 0.025909423828125, -0.032318115234375, -0.0219573974609375, 0.01233673095703125, 0.01043701171875, 0.038726806640625, 0.03204345703125, -0.01473236083984375, -0.0082855224609375, 0.0038928985595703125, 0.0311737060546875, -0.003383636474609375, 0.0010223388671875, 0.04571533203125, 0.0308380126953125, 0.0005979537963867188, -0.0289154052734375, 0.001987457275390625, -0.01328277587890625, -0.011962890625, 0.01287841796875, 0.015289306640625, -0.0116424560546875, -0.0037517547607421875, -0.015625, 0.05389404296875, 0.0013570785522460938, 0.00907135009765625, 0.0287322998046875, 0.044677734375, -0.061309814453125, 0.055511474609375, 0.0036907196044921875, -0.0032806396484375, 0.02679443359375, 0.004711151123046875, 0.030853271484375, 0.009124755859375, 0.0003070831298828125, -0.0035381317138671875, -0.006649017333984375, -0.00887298583984375, -0.0181427001953125, -0.01256561279296875, -0.03948974609375, -0.05517578125, 0.0300750732421875, 0.0128021240234375, 0.006725311279296875, 0.01403045654296875, 0.0228118896484375, 0.005523681640625, 0.046356201171875, 0.0291748046875, 0.00485992431640625, -0.006031036376953125, -0.035858154296875, -0.006221771240234375, 0.0458984375, 0.0230865478515625, -0.023681640625, -0.017303466796875, -0.042816162109375, 0.0704345703125, -0.0240936279296875, -0.051239013671875, 0.005161285400390625, 0.00885009765625, 0.0287322998046875, 0.01320648193359375, 0.015655517578125, 0.054229736328125, 0.00949859619140625, -0.031494140625, -0.0161895751953125, -0.0159912109375, -0.041656494140625, 0.007656097412109375, -0.0255126953125, -0.008514404296875, 0.058380126953125, 0.01531219482421875, -0.005855560302734375, 0.023162841796875, -0.04205322265625, -0.048309326171875, -0.01340484619140625, -0.031097412109375, 0.049041748046875, 0.03448486328125, 0.000736236572265625, -0.014984130859375, -0.0193328857421875, 0.006160736083984375, 0.01074981689453125, -0.0177154541015625, 0.00811004638671875, -0.00519561767578125, 0.032806396484375, 0.006809234619140625, 0.01433563232421875, 0.0191497802734375, -0.006580352783203125, 0.0102386474609375, 0.0089263916015625, 0.05810546875, -0.027862548828125, 0.00014901161193847656, -0.033599853515625, 0.040740966796875, 0.01074981689453125, -0.03466796875, 0.027862548828125, 0.03863525390625, 0.056427001953125, -0.024169921875, -0.007434844970703125, -0.020172119140625, -0.046478271484375, 0.00925445556640625, 0.050811767578125, 0.02606201171875, 0.025390625, -0.012237548828125, 0.0219573974609375, 0.05322265625, 0.0289154052734375, 0.034820556640625, -0.006877899169921875, 0.03936767578125, 0.049896240234375, 0.03131103515625, -0.0211944580078125, 0.01139068603515625, -0.020477294921875, 0.067138671875, 0.01091766357421875, -0.03472900390625, -0.016845703125, 0.006572723388671875, -0.029876708984375, 0.01493072509765625, 0.0016927719116210938, 0.004535675048828125, 0.00258636474609375, 0.0186614990234375, -0.0240020751953125, -0.00525665283203125, -0.0225830078125, -0.041900634765625, 0.00745391845703125, 0.046234130859375, -0.00921630859375, 0.0006151199340820312, -0.0210113525390625, 0.01551055908203125, -0.02740478515625, -0.0433349609375, 0.0265045166015625, 0.01275634765625, -0.028106689453125, 0.0099334716796875, 0.0301361083984375, -0.0019140243530273438, -0.0038280487060546875, -0.0181121826171875, -0.044281005859375, 0.018157958984375, 0.050994873046875, 0.04132080078125, -0.001293182373046875, 0.01983642578125, 0.0211944580078125, -0.0208587646484375, 0.06982421875, -0.01374053955078125, -0.0264739990234375, 0.0223388671875, -0.005794525146484375, 0.00971221923828125, -0.027618408203125, 0.03271484375, 0.0367431640625, -0.00934600830078125, -0.00787353515625, 0.0009622573852539062, -0.0221405029296875, -0.026458740234375, 0.01727294921875, 0.00018465518951416016, -0.0511474609375, 0.0305938720703125, 0.07220458984375, 0.01114654541015625, 0.103759765625, -0.03277587890625, -0.0650634765625, -0.0050506591796875, 0.031768798828125, -0.06005859375, -0.0814208984375, 0.058380126953125, -0.06494140625, 0.041748046875, -0.033660888671875, -0.0263671875, -0.03875732421875, -0.00890350341796875, -0.00394439697265625, -0.0186004638671875, -0.0236358642578125, -0.0294647216796875, -0.028961181640625, -0.026824951171875, 0.02081298828125, -0.0103302001953125, -0.0204620361328125, 0.001865386962890625, 0.01111602783203125, 0.0057220458984375, -0.0024242401123046875, 0.0295562744140625, 0.04510498046875, 0.00844573974609375, -0.01102447509765625, 0.01715087890625, -0.01934814453125, 0.01413726806640625, 0.006458282470703125, -0.01464080810546875, 0.0195770263671875, -0.0135498046875, -0.019287109375, 0.00820159912109375, 0.023681640625, 0.0159759521484375, 0.0015888214111328125, 0.01116943359375, 0.0758056640625, 0.036834716796875, 0.0012044906616210938, -0.0218963623046875, -0.00891876220703125, -0.050048828125, 0.055267333984375, 0.0457763671875, -0.01430511474609375, 0.01528167724609375, -0.0023345947265625, 0.0130157470703125, 0.0127105712890625, -0.024505615234375, 0.009490966796875, -0.017547607421875, 0.01120758056640625, 0.00730133056640625, 0.0200958251953125, 0.06640625, -0.0028095245361328125, -0.006656646728515625, 0.0285491943359375, 0.002864837646484375, 0.02294921875, -0.053497314453125, -0.0149383544921875, -0.021209716796875, 0.01983642578125, -0.0305023193359375, 0.03460693359375, -0.010162353515625, -0.028656005859375, 0.0041046142578125, 0.08282470703125, -0.05438232421875, -0.01555633544921875, 0.00638580322265625, 0.0155487060546875, -0.0029201507568359375, 0.007110595703125, -0.03662109375, -0.0153961181640625, -0.1080322265625, 0.00438690185546875, -0.0236663818359375, -0.01320648193359375, -0.008270263671875, 0.033447265625, -0.046112060546875, -0.04638671875, 0.0175323486328125, -0.0292205810546875, 0.0280303955078125, 0.0301971435546875, -0.016998291015625, 0.034820556640625, -0.0199127197265625, -0.049224853515625, -0.07122802734375, -0.0164031982421875, -0.044464111328125, 0.09722900390625, 0.034088134765625, 0.007038116455078125, -0.0396728515625, 0.04541015625, 0.01203155517578125, 0.01751708984375, -0.01239776611328125, -0.034942626953125, 0.044586181640625, 0.031402587890625, -0.0186614990234375, 0.01263427734375, 0.010528564453125, -0.00021636486053466797, -0.056243896484375, 0.0028438568115234375, -0.03533935546875, 0.0286407470703125, 0.0010814666748046875, -0.033416748046875, -0.1171875, -0.04058837890625, 0.03271484375, -0.052490234375, -0.01080322265625, 0.0098114013671875, 0.0182037353515625, -0.0643310546875, 0.054656982421875, -0.0025806427001953125, -0.0003561973571777344, 0.0098876953125, 0.05059814453125, 0.0137481689453125, -0.0272369384765625, -0.01279449462890625, 0.026153564453125, 0.031951904296875, -0.057708740234375, 0.0859375, 0.034332275390625, -0.03240966796875, 0.09442138671875, -0.01255035400390625, 0.0208587646484375, -0.01123809814453125, 0.03594970703125, -0.0203094482421875, -0.036468505859375, 0.043914794921875, 0.004718780517578125, -0.0242767333984375, -0.0253753662109375, -0.0046539306640625, 0.01438140869140625, -0.0049591064453125, -0.0006036758422851562, 0.01554107666015625, 0.001522064208984375, 0.00894927978515625, -0.042449951171875, 0.0177764892578125, -0.0303192138671875, 0.0187225341796875, 0.019134521484375, -0.005817413330078125, -0.0012454986572265625, -0.0272369384765625, 0.0010061264038085938, -0.040863037109375, -0.0195159912109375, -0.01206207275390625, 0.0340576171875, -0.036376953125, 0.0121307373046875, -0.01666259765625, -0.00472259521484375, 0.049285888671875, 0.001789093017578125, -0.0157012939453125, -0.02777099609375, 0.00019788742065429688, 0.0158843994140625, -0.005092620849609375, 0.0211639404296875, 0.01242828369140625, -0.005329132080078125, 0.007236480712890625, 0.00745391845703125, 0.0030574798583984375, 0.03350830078125, -0.01197052001953125, 0.061798095703125, 0.0212554931640625, -0.0067291259765625, 0.0011510848999023438, 0.054718017578125, 0.044708251953125, 0.0117950439453125, -0.032928466796875, 0.042938232421875, 0.05096435546875, -0.0117950439453125, 0.0181427001953125, 0.00760650634765625, -0.018341064453125, -0.0156402587890625, 0.01386260986328125, -0.010223388671875, -0.012542724609375, 0.0136871337890625, 0.0140380859375, -0.0008912086486816406, 0.0087890625, 0.0024433135986328125, 0.004055023193359375, -0.00388336181640625, 0.0311431884765625, -0.02056884765625, -0.04058837890625, -0.02093505859375, -0.0210723876953125, 0.02545166015625, -0.025909423828125, 0.0022640228271484375, -0.0616455078125, -0.031646728515625, -0.023162841796875, -0.044921875, -0.0225067138671875, -0.005893707275390625, -0.00624847412109375, -0.047271728515625, 0.0003685951232910156, 0.0120849609375, -0.055999755859375, -0.060546875, 0.0036773681640625, 0.01236724853515625, 0.0258026123046875, 0.0021305084228515625, 0.021240234375, -0.04833984375, 0.0069580078125, -0.0189208984375, -0.0209197998046875, 0.061187744140625, 0.01114654541015625, -0.05731201171875, 0.030364990234375, -0.033355712890625, 0.008514404296875, -0.0462646484375, -0.06280517578125, -0.04266357421875, -0.044525146484375, 0.023773193359375, 0.0308380126953125, 0.039031982421875, 0.010498046875, -0.0234222412109375, -0.027496337890625, -0.0052947998046875, 0.0111083984375, -0.050018310546875, 0.054351806640625, 0.051849365234375, 0.0091552734375, 0.00226593017578125, 0.0133209228515625, -0.015655517578125, -0.0009713172912597656, -0.0009455680847167969, -0.022552490234375, -0.0154266357421875, -0.02838134765625, 0.022918701171875, 0.02325439453125, 0.062225341796875, -0.00968170166015625, 0.003475189208984375, -0.0056915283203125, 0.010650634765625, -0.01061248779296875, 0.006778717041015625, 0.0038509368896484375, -0.04302978515625, 0.05181884765625, -0.0185699462890625, -0.01381683349609375, -0.0170745849609375, -0.0064239501953125, 0.003864288330078125, 0.001972198486328125, -0.0157012939453125, 0.03131103515625, -0.060791015625, 0.06390380859375, 0.057373046875, -0.00412750244140625, 0.0190277099609375, 0.0028591156005859375, 0.00019025802612304688, -0.003631591796875, -0.038665771484375, 0.06317138671875, 0.04833984375, 0.061553955078125, -0.0155487060546875, 0.00811767578125, 0.044281005859375, -0.029815673828125, 0.0186309814453125, 0.058135986328125, 0.0721435546875, -0.07958984375, -0.003322601318359375, 0.008544921875, 0.0057373046875, 0.04852294921875, 0.01349639892578125, 0.0089111328125, 0.027130126953125, 0.033782958984375, -0.03094482421875, -0.00679779052734375, 0.0285797119140625, 0.00254058837890625, 0.01556396484375, -0.0214996337890625, 0.046112060546875, -0.01132965087890625, -0.01445770263671875, -0.0460205078125, -0.004566192626953125, -0.01036834716796875, -0.0310516357421875, 0.000652313232421875, 0.05364990234375, -0.01375579833984375, -0.083740234375, 0.0391845703125, -0.0005517005920410156, -0.004993438720703125, 0.008880615234375, 0.0019464492797851562, 0.017303466796875, 0.0482177734375, -0.00982666015625, 0.0202178955078125, 0.0257110595703125, -0.0085296630859375, 0.032562255859375, -0.0262298583984375, -0.00777435302734375, 0.048980712890625, -0.03753662109375, 0.00885772705078125, 0.002086639404296875, 0.00982666015625, -0.0268707275390625, -0.046112060546875, 0.060546875, 0.0169219970703125, -0.03839111328125, 0.0021820068359375, 0.01209259033203125, -0.006786346435546875, -0.005878448486328125, 0.0239410400390625, -0.055389404296875, -0.050323486328125, 0.0069427490234375, -0.06982421875, -0.0287628173828125, -0.018310546875, -0.06317138671875, 0.08184814453125, 0.012725830078125, 0.0499267578125, -0.0139312744140625, 0.0276947021484375, 0.0038013458251953125, 0.0127716064453125, -0.02227783203125, 0.035491943359375, -0.005779266357421875, 0.038665771484375, -0.00377655029296875, 0.02020263671875, 0.0350341796875, 0.00848388671875, -0.010894775390625, 0.008941650390625, -0.06396484375, -0.05303955078125, -0.032562255859375, 0.0259246826171875, 0.02130126953125, 0.0484619140625, -0.0165863037109375, 0.0007038116455078125, -0.0130615234375, 0.0164337158203125, 0.0408935546875, -0.050811767578125, -0.04888916015625, -0.0009512901306152344, -0.005306243896484375, -0.01230621337890625, -0.03314208984375, 0.024169921875, -0.055389404296875, -0.01401519775390625, 0.0281829833984375, 0.045013427734375, -0.0223846435546875, 0.037567138671875, -0.01282501220703125, -0.006565093994140625, -0.0285491943359375, -0.029022216796875, 0.0095367431640625, -0.00464630126953125, 0.00556182861328125, 0.0125885009765625, 0.01299285888671875, -0.038330078125, -0.002285003662109375, -0.007312774658203125, 0.0193023681640625, -0.0010728836059570312, 0.0281829833984375, 0.0164947509765625, 0.00740814208984375, -0.0230560302734375, 0.01345062255859375, 0.06268310546875, 0.054046630859375, -0.0298919677734375, -0.01465606689453125, 0.011993408203125, 0.0279083251953125, 0.0111083984375, 0.0025348663330078125, 0.0435791015625, -0.028411865234375, 0.0147705078125, -0.049072265625, 0.04705810546875, 0.0382080078125, 0.004230499267578125, -0.0263824462890625, -0.0110321044921875, -0.053558349609375, 0.07269287109375, -0.01395416259765625, -0.01474761962890625, 0.0054779052734375, 0.0274658203125, 0.002391815185546875, 0.023590087890625, -0.0217742919921875, -0.011138916015625, 0.01038360595703125, 0.0131378173828125, 0.033203125, -0.030914306640625, -0.0011768341064453125, -0.02569580078125, 0.006473541259765625, 0.0208740234375, 0.026153564453125, -0.035797119140625, -0.0018873214721679688, -0.02545166015625, -0.035308837890625, 0.001773834228515625, -0.0152435302734375, -0.01554107666015625, 0.005214691162109375, 0.027252197265625, 0.0135650634765625, 0.0469970703125, -0.002223968505859375, 0.0023956298828125, 0.043212890625, 0.03167724609375, -0.0469970703125, 0.02667236328125, -0.0164337158203125, -0.03729248046875, 0.034088134765625, -0.01200103759765625, 0.0889892578125, -0.0172576904296875, -0.07525634765625, -0.004180908203125, -0.0005469322204589844, -0.053741455078125, 0.01456451416015625, 0.041900634765625, -0.032684326171875, 0.01432037353515625, 0.001689910888671875, 0.0018529891967773438, 0.01268768310546875, -0.0026607513427734375, -0.01123809814453125, 0.029937744140625, 0.037261962890625, 0.0076751708984375, -0.052520751953125, -0.01166534423828125, -0.04925537109375, 0.016265869140625, 0.056884765625, -0.028350830078125, 0.038116455078125, 0.057373046875, -0.036041259765625, -0.0035953521728515625, -0.03924560546875, -0.05706787109375, 0.0648193359375, -0.02081298828125, -0.035858154296875, 0.002796173095703125, -0.04034423828125, 0.00835418701171875, 0.0155181884765625, 0.010894775390625, -0.0017995834350585938, -0.0242767333984375, 0.0191497802734375, 0.0247802734375, 0.004505157470703125, -0.0153350830078125, -0.010650634765625, -0.03228759765625, -0.017913818359375, 0.05352783203125, 0.03155517578125, -0.00211334228515625, -0.007110595703125, 0.004596710205078125, 0.00450897216796875, 0.01117706298828125, 0.0301513671875, 0.0154571533203125, 0.0183868408203125, -0.05609130859375, 0.03228759765625, -0.0259552001953125, -0.0170440673828125, -0.0012979507446289062, 0.00974273681640625, -0.04498291015625, -0.0060882568359375, 0.0225067138671875, 0.062408447265625, -0.0032825469970703125, 0.0298614501953125, -0.01029205322265625, -0.0035533905029296875, 0.01983642578125, -0.008697509765625, -0.00597381591796875, -0.0302886962890625, -0.036529541015625, -0.043670654296875, -0.0242156982421875, 0.00457000732421875, -0.032470703125, -0.08453369140625, -0.06976318359375, -0.0021572113037109375, 0.005222320556640625, 0.0012950897216796875, -0.041412353515625, 0.039794921875, -0.0197296142578125, -0.008636474609375, -0.0118865966796875, -0.045135498046875, 0.0125732421875, 0.02716064453125, 0.0078125, 0.01371002197265625, -0.0426025390625, -0.0208282470703125, -0.0074005126953125, 0.0028839111328125, 0.036712646484375, 0.005458831787109375, -0.052215576171875, 0.007282257080078125, -0.019073486328125, 0.047027587890625, -0.05059814453125, -0.02679443359375, 0.004840850830078125, 0.0156707763671875, 0.0028247833251953125, -0.06951904296875, -0.00753021240234375, -0.035919189453125, 0.0145416259765625, 0.045562744140625, -0.052947998046875, -0.0274810791015625, -0.0450439453125, -0.0186309814453125, 0.04693603515625, 0.032440185546875, -0.03271484375, -0.0631103515625, 0.04931640625, -0.00704193115234375, 0.0281219482421875, 0.006107330322265625, -0.05078125, -0.0131988525390625, 0.0142669677734375, 0.0208892822265625, -0.005962371826171875, 0.0479736328125, 0.03363037109375, -0.08367919921875, -0.00830078125, -0.0278472900390625, -0.0200958251953125, 0.047943115234375, -0.01306915283203125, 0.033905029296875, 0.034698486328125, -0.038238525390625, 0.00316619873046875, -0.040740966796875, -0.01055908203125, -0.032135009765625, 0.0013647079467773438, -0.007610321044921875, -0.01467132568359375, 0.0367431640625, 0.043548583984375, 0.00450897216796875, -0.01093292236328125, -0.018768310546875, -0.0233001708984375, -0.036285400390625, 0.02886962890625, 0.0167236328125, -0.0227508544921875, 0.032135009765625, 0.004199981689453125, -0.033599853515625, -0.0225830078125, 0.0228424072265625, -0.051666259765625, -0.0015239715576171875, -0.00003904104232788086, -0.010345458984375, -0.0294342041015625, -0.050048828125, 0.062408447265625, -0.0540771484375, -0.09136962890625, 0.03466796875, 0.03466796875, -0.042327880859375, -0.024688720703125, -0.03997802734375, 0.003208160400390625, -0.0118865966796875, 0.0140380859375, 0.01270294189453125, 0.054168701171875, -0.00008535385131835938, 0.0232391357421875, -0.0177764892578125, 0.0026397705078125, 0.0058135986328125, -0.008636474609375, -0.00403594970703125, 0.025787353515625, 0.00229644775390625, 0.0428466796875, 0.006732940673828125, 0.00585174560546875, -0.01036834716796875, 0.0298004150390625, 0.03759765625, -0.037506103515625, 0.044677734375, -0.0200653076171875, -0.00838470458984375, -0.002216339111328125, -0.026763916015625, -0.04168701171875, 0.0295562744140625, -0.0307769775390625, -0.004657745361328125, 0.03485107421875 ]
1ef164abac41a73805173bb3be5817eee7764b95
Wordpress Stackexchange Q: WP Rest API v2 filter and display latest post with specific tag I need to display the latest post with a specific tag. Example: User tags a post 'featured', but forgets to untag earlier posts. So I want to ensure that the latest post tagged 'featured' is what displays on other sites. https://my-site.com/wp-json/wp/v2/tags/&filterbylatestdatesomehow A: You can actually find extensive documentation on wordpress.org. But let's have a look at this particular example: https://demo.wp-api.org/wp-json/wp/v2/posts?per_page=5&tags=3 The 5 in there is the number of posts you want returned. The 3 is the id of the tag you want to limit the posts too. If you want to limit to a category use categories instead. But you'd have figured that out yourself after looking at the documentation, right? ;-)
Q: WP Rest API v2 filter and display latest post with specific tag I need to display the latest post with a specific tag. Example: User tags a post 'featured', but forgets to untag earlier posts. So I want to ensure that the latest post tagged 'featured' is what displays on other sites. https://my-site.com/wp-json/wp/v2/tags/&filterbylatestdatesomehow A: You can actually find extensive documentation on wordpress.org. But let's have a look at this particular example: https://demo.wp-api.org/wp-json/wp/v2/posts?per_page=5&tags=3 The 5 in there is the number of posts you want returned. The 3 is the id of the tag you want to limit the posts too. If you want to limit to a category use categories instead. But you'd have figured that out yourself after looking at the documentation, right? ;-)
wordpress
{ "language": "en", "length": 125, "provenance": "stackexchange_00019.jsonl.gz:476260", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/267201" }
[ 0.0214385986328125, 0.0081024169921875, -0.006221771240234375, -0.006481170654296875, 0.0214385986328125, -0.0200958251953125, 0.035888671875, -0.03204345703125, 0.0016689300537109375, 0.0166015625, 0.00240325927734375, -0.0080413818359375, -0.0240631103515625, -0.03125, -0.015533447265625, -0.032806396484375, 0.0390625, 0.010406494140625, 0.043975830078125, 0.006015777587890625, -0.02789306640625, 0.0305023193359375, 0.0269927978515625, 0.076904296875, -0.003482818603515625, -0.004749298095703125, 0.0309295654296875, -0.032684326171875, 0.005123138427734375, -0.01430511474609375, 0.003734588623046875, -0.0124664306640625, 0.0083465576171875, 0.0244903564453125, -0.045318603515625, -0.0396728515625, 0.025115966796875, -0.002605438232421875, -0.005809783935546875, 0.024169921875, 0.017486572265625, -0.010223388671875, 0.026580810546875, 0.004283905029296875, -0.01024627685546875, -0.024078369140625, 0.037994384765625, -0.00756072998046875, -0.0013532638549804688, 0.0103912353515625, 0.0080413818359375, 0.0240325927734375, 0.01554107666015625, -0.0199737548828125, 0.004550933837890625, 0.0247650146484375, 0.027679443359375, -0.020904541015625, 0.053436279296875, -0.03985595703125, -0.038848876953125, -0.0264739990234375, 0.033172607421875, -0.00678253173828125, 0.0174407958984375, -0.01476287841796875, 0.0909423828125, 0.0205841064453125, -0.02362060546875, -0.00433349609375, 0.0340576171875, 0.00238800048828125, -0.0091094970703125, -0.016082763671875, -0.0227813720703125, -0.01473236083984375, -0.00012886524200439453, -0.038909912109375, 0.0137176513671875, 0.0014219284057617188, 0.0031585693359375, -0.00946807861328125, 0.0017452239990234375, -0.003448486328125, -0.0238800048828125, -0.0032444000244140625, -0.015655517578125, 0.01294708251953125, -0.025146484375, -0.006103515625, -0.0228729248046875, -0.04107666015625, -0.04986572265625, 0.0430908203125, 0.0116729736328125, -0.00815582275390625, 0.0287933349609375, 0.0256500244140625, -0.00899505615234375, 0.00002199411392211914, 0.01508331298828125, -0.050201416015625, 0.0288238525390625, -0.030975341796875, 0.0290985107421875, 0.0230865478515625, -0.0301055908203125, -0.0225677490234375, 0.057403564453125, 0.03436279296875, 0.003925323486328125, 0.037994384765625, 0.0335693359375, -0.002471923828125, -0.04949951171875, -0.050994873046875, -0.0245513916015625, 0.0020084381103515625, 0.00798797607421875, -0.0413818359375, -0.0002694129943847656, 0.0025787353515625, 0.0312347412109375, 0.01100921630859375, 0.01303863525390625, 0.0228271484375, -0.03533935546875, -0.0281829833984375, 0.000015556812286376953, 0.024932861328125, -0.0006871223449707031, 0.0171051025390625, 0.0098419189453125, -0.00722503662109375, -0.0264739990234375, -0.01432037353515625, 0.03973388671875, 0.015228271484375, 0.003757476806640625, 0.0175323486328125, -0.044586181640625, -0.0013675689697265625, 0.039703369140625, -0.059295654296875, 0.041748046875, 0.00930023193359375, 0.016143798828125, 0.004970550537109375, 0.0121307373046875, 0.0094146728515625, 0.0197296142578125, -0.006458282470703125, 0.039703369140625, -0.01812744140625, -0.007205963134765625, -0.032196044921875, 0.0341796875, -0.03759765625, -0.017730712890625, -0.055816650390625, 0.053619384765625, -0.0261993408203125, -0.0208282470703125, -0.01910400390625, -0.063720703125, 0.0263519287109375, -0.04931640625, -0.01042938232421875, 0.0230560302734375, 0.047882080078125, -0.00933837890625, -0.007965087890625, 0.04052734375, 0.002300262451171875, -0.0291748046875, 0.00455474853515625, -0.0009245872497558594, 0.02862548828125, 0.0226593017578125, 0.006786346435546875, -0.015869140625, -0.034637451171875, 0.064697265625, -0.01483917236328125, -0.04547119140625, 0.0196990966796875, 0.041412353515625, 0.08026123046875, -0.01328277587890625, 0.043426513671875, 0.041473388671875, 0.0195465087890625, -0.01059722900390625, 0.03143310546875, -0.0105743408203125, -0.042938232421875, -0.0298614501953125, -0.01491546630859375, -0.0190277099609375, 0.01438140869140625, -0.003917694091796875, 0.034088134765625, -0.0189361572265625, 0.0088653564453125, -0.03460693359375, 0.0096435546875, -0.0250396728515625, 0.039337158203125, -0.0279083251953125, -0.01276397705078125, 0.031524658203125, -0.0206451416015625, -0.03546142578125, 0.03216552734375, -0.0016660690307617188, 0.0426025390625, -0.031341552734375, -0.0211944580078125, 0.0019588470458984375, 0.01629638671875, -0.01184844970703125, 0.037628173828125, -0.0361328125, -0.009429931640625, 0.065185546875, -0.0184173583984375, 0.0155792236328125, -0.040496826171875, 0.06585693359375, 0.037353515625, -0.0228271484375, -0.033843994140625, 0.0284423828125, 0.02801513671875, -0.047271728515625, -0.003192901611328125, 0.01116180419921875, -0.00331878662109375, 0.01074981689453125, 0.05194091796875, 0.004261016845703125, 0.0037384033203125, 0.00027298927307128906, 0.046600341796875, 0.0582275390625, -0.0147552490234375, 0.00522613525390625, 0.018218994140625, 0.021942138671875, 0.00934600830078125, 0.007843017578125, -0.035736083984375, 0.028228759765625, -0.07928466796875, 0.02801513671875, 0.033050537109375, 0.0090789794921875, 0.023406982421875, -0.0246734619140625, -0.007114410400390625, 0.0006966590881347656, -0.04638671875, -0.038726806640625, -0.0215606689453125, 0.013580322265625, 0.01026153564453125, 0.041748046875, 0.04052734375, -0.017059326171875, -0.0196075439453125, 0.00916290283203125, 0.04107666015625, 0.0057373046875, 0.0146636962890625, -0.004364013671875, 0.02166748046875, -0.039031982421875, 0.00302886962890625, 0.00811767578125, -0.0008649826049804688, 0.007965087890625, 0.0631103515625, -0.005809783935546875, -0.0169219970703125, -0.0177001953125, -0.037933349609375, -0.0234527587890625, 0.0036830902099609375, 0.01061248779296875, 0.0302276611328125, 0.01502227783203125, 0.06439208984375, -0.008636474609375, 0.06146240234375, -0.0018434524536132812, 0.0207061767578125, -0.0001760721206665039, -0.053009033203125, 0.039642333984375, -0.052032470703125, 0.015289306640625, 0.051025390625, -0.0057525634765625, 0.0053558349609375, 0.00626373291015625, 0.030059814453125, 0.028106689453125, -0.011749267578125, -0.019287109375, 0.005817413330078125, -0.049072265625, 0.0167388916015625, 0.03350830078125, 0.01395416259765625, 0.00341796875, -0.033721923828125, -0.0149993896484375, 0.0168914794921875, -0.1104736328125, -0.08624267578125, 0.04461669921875, -0.01047515869140625, -0.024810791015625, 0.0121612548828125, -0.024017333984375, -0.019073486328125, 0.0286407470703125, -0.0234527587890625, -0.036651611328125, -0.005718231201171875, -0.07147216796875, -0.035980224609375, -0.036376953125, 0.0295257568359375, -0.027069091796875, -0.01059722900390625, -0.005428314208984375, 0.11065673828125, 0.00311279296875, -0.0667724609375, -0.029022216796875, 0.00458526611328125, -0.033203125, -0.00460052490234375, -0.0004067420959472656, 0.01001739501953125, -0.01412200927734375, 0.020263671875, 0.01314544677734375, 0.03125, -0.047088623046875, -0.0015020370483398438, -0.032623291015625, -0.0005593299865722656, -0.00809478759765625, 0.023101806640625, 0.043853759765625, 0.0165863037109375, 0.01953125, -0.005184173583984375, 0.0014352798461914062, -0.015167236328125, -0.030670166015625, -0.024444580078125, 0.006053924560546875, -0.01558685302734375, -0.035369873046875, 0.00954437255859375, -0.01459503173828125, -0.0281982421875, 0.05169677734375, -0.0655517578125, 0.04400634765625, 0.0026340484619140625, -0.009796142578125, -0.03973388671875, 0.02056884765625, -0.00766754150390625, -0.0037975311279296875, -0.011627197265625, 0.006313323974609375, -0.04010009765625, 0.0400390625, -0.069091796875, -0.01153564453125, 0.045989990234375, 0.0217437744140625, -0.01152801513671875, -0.002857208251953125, -0.05023193359375, 0.0111541748046875, 0.0654296875, -0.061767578125, -0.027374267578125, -0.0151214599609375, -0.005641937255859375, 0.0440673828125, 0.00885009765625, -0.0159149169921875, -0.0316162109375, -0.05322265625, -0.004444122314453125, -0.0231170654296875, 0.002685546875, -0.032562255859375, 0.0281219482421875, -0.03485107421875, -0.0257720947265625, 0.057708740234375, -0.06103515625, -0.022003173828125, 0.00865936279296875, -0.035064697265625, -0.020233154296875, -0.0653076171875, 0.005756378173828125, 0.0005578994750976562, -0.0005021095275878906, -0.003505706787109375, 0.0019350051879882812, 0.0245819091796875, -0.0430908203125, 0.0015630722045898438, 0.01514434814453125, 0.039459228515625, 0.03961181640625, 0.0024776458740234375, -0.04132080078125, 0.01983642578125, 0.013092041015625, 0.004756927490234375, -0.007476806640625, -0.0281219482421875, -0.026275634765625, -0.02764892578125, 0.0275421142578125, -0.0117950439453125, 0.0214080810546875, 0.006866455078125, -0.0009160041809082031, -0.0565185546875, -0.0247650146484375, 0.0037593841552734375, 0.0284271240234375, -0.0042724609375, 0.000331878662109375, -0.033660888671875, -0.060028076171875, 0.047210693359375, 0.0313720703125, -0.0408935546875, 0.00975799560546875, 0.0704345703125, 0.00705718994140625, -0.02850341796875, -0.0888671875, 0.0307159423828125, 0.05877685546875, 0.012420654296875, 0.07000732421875, 0.02252197265625, -0.05108642578125, 0.1107177734375, 0.03338623046875, -0.00933074951171875, 0.0126800537109375, 0.02398681640625, 0.0008344650268554688, -0.0215301513671875, 0.0181732177734375, 0.0167388916015625, -0.00749969482421875, 0.0103912353515625, -0.023651123046875, -0.0235748291015625, -0.00678253173828125, 0.06597900390625, -0.0246734619140625, 0.0213623046875, -0.049285888671875, -0.007595062255859375, 0.00821685791015625, 0.04449462890625, -0.01030731201171875, 0.015838623046875, 0.006542205810546875, -0.01253509521484375, 0.00423431396484375, -0.017181396484375, -0.040924072265625, 0.00577545166015625, -0.01009368896484375, 0.038421630859375, -0.033111572265625, -0.006366729736328125, -0.032501220703125, -0.003856658935546875, 0.05072021484375, -0.026885986328125, -0.053375244140625, -0.00722503662109375, -0.01195526123046875, 0.01023101806640625, 0.06280517578125, -0.001186370849609375, 0.01409912109375, 0.00666046142578125, 0.0010814666748046875, -0.008819580078125, -0.00789642333984375, -0.01312255859375, -0.0230712890625, 0.00505828857421875, -0.011688232421875, 0.00556182861328125, -0.0282135009765625, 0.10064697265625, -0.0017862319946289062, 0.038848876953125, -0.0211639404296875, 0.0279541015625, -0.01036834716796875, 0.00901031494140625, 0.02801513671875, 0.0084381103515625, 0.007251739501953125, -0.033935546875, -0.007373809814453125, 0.0246429443359375, -0.007785797119140625, 0.014190673828125, -0.020172119140625, -0.0292510986328125, 0.01715087890625, 0.02880859375, 0.013671875, -0.024993896484375, -0.00658416748046875, -0.0239715576171875, 0.0178985595703125, -0.039520263671875, -0.006458282470703125, 0.03851318359375, 0.04071044921875, -0.016204833984375, -0.00310516357421875, 0.0037517547607421875, 0.0467529296875, -0.019866943359375, 0.0012569427490234375, 0.0261077880859375, 0.0016574859619140625, -0.039825439453125, -0.028350830078125, -0.018402099609375, 0.0177764892578125, -0.0107574462890625, -0.00653076171875, -0.0199127197265625, 0.011810302734375, -0.042449951171875, 0.0494384765625, -0.01404571533203125, -0.0257568359375, -0.035491943359375, 0.0297698974609375, 0.01047515869140625, 0.039215087890625, -0.06524658203125, 0.01557159423828125, -0.0227508544921875, -0.008880615234375, 0.064208984375, 0.0108795166015625, -0.03460693359375, -0.05596923828125, 0.03179931640625, 0.043975830078125, -0.01076507568359375, -0.052703857421875, -0.0261077880859375, -0.023590087890625, 0.03564453125, 0.0478515625, -0.0333251953125, 0.08648681640625, -0.0172882080078125, 0.0673828125, 0.00896453857421875, 0.039825439453125, -0.0256805419921875, -0.0114288330078125, 0.002590179443359375, -0.05499267578125, -0.013580322265625, 0.0177154541015625, -0.0670166015625, 0.0123138427734375, 0.03192138671875, 0.00568389892578125, 0.02862548828125, -0.0162506103515625, 0.00875091552734375, -0.00849151611328125, -0.02276611328125, -0.02606201171875, -0.020721435546875, 0.05633544921875, 0.0004634857177734375, -0.01531982421875, -0.01312255859375, 0.0030975341796875, -0.0191192626953125, 0.0183868408203125, -0.02496337890625, 0.005947113037109375, 0.016143798828125, 0.0089111328125, 0.056640625, 0.00952911376953125, 0.03497314453125, 0.031524658203125, 0.0255889892578125, 0.0081939697265625, -0.0183868408203125, -0.005474090576171875, -0.027862548828125, 0.0109405517578125, -0.0101470947265625, 0.005718231201171875, 0.029998779296875, -0.017974853515625, -0.01490020751953125, -0.037994384765625, -0.01117706298828125, 0.0286102294921875, -0.01174163818359375, -0.0260162353515625, -0.032867431640625, 0.01317596435546875, 0.00786590576171875, -0.0020046234130859375, -0.0246124267578125, 0.00986480712890625, -0.0157318115234375, -0.011566162109375, 0.0010700225830078125, -0.0096435546875, -0.01212310791015625, -0.0117645263671875, 0.05621337890625, 0.0272674560546875, -0.0226593017578125, -0.005809783935546875, -0.00396728515625, -0.008941650390625, 0.015106201171875, 0.01904296875, -0.007904052734375, -0.044097900390625, -0.059844970703125, -0.018951416015625, 0.02850341796875, -0.052764892578125, 0.01073455810546875, -0.038848876953125, 0.02783203125, 0.05108642578125, -0.020660400390625, 0.0037631988525390625, 0.035308837890625, -0.062744140625, -0.050994873046875, -0.0186767578125, -0.00820159912109375, 0.034942626953125, 0.0244598388671875, 0.017486572265625, 0.0042572021484375, -0.03558349609375, -0.02911376953125, -0.0577392578125, 0.09527587890625, -0.00565338134765625, -0.03076171875, -0.004566192626953125, 0.03045654296875, -0.007190704345703125, 0.00919342041015625, 0.0031147003173828125, -0.012054443359375, -0.0035343170166015625, -0.005825042724609375, -0.03460693359375, -0.00794219970703125, -0.00867462158203125, -0.051361083984375, 0.070556640625, 0.0196533203125, 0.019317626953125, -0.0031833648681640625, 0.032958984375, -0.01209259033203125, 0.0106353759765625, -0.0302734375, 0.0496826171875, -0.01922607421875, 0.05780029296875, -0.019561767578125, 0.0161285400390625, 0.038238525390625, 0.0143280029296875, 0.040985107421875, 0.0196380615234375, -0.052581787109375, -0.026336669921875, -0.0095062255859375, 0.0240936279296875, -0.01617431640625, 0.060455322265625, -0.00849151611328125, 0.01995849609375, -0.0006346702575683594, -0.041595458984375, 0.02752685546875, -0.03485107421875, -0.01824951171875, 0.01837158203125, 0.038848876953125, 0.055572509765625, -0.0154876708984375, 0.036285400390625, -0.0540771484375, -0.0025272369384765625, 0.07354736328125, -0.058441162109375, -0.0026149749755859375, 0.03924560546875, 0.08111572265625, -0.1129150390625, -0.01509857177734375, -0.03472900390625, 0.053863525390625, 0.026824951171875, 0.06622314453125, 0.0625, 0.042877197265625, 0.0302734375, 0.006378173828125, 0.05145263671875, 0.0016489028930664062, -0.05401611328125, 0.06732177734375, 0.02349853515625, 0.043212890625, -0.03778076171875, -0.0175018310546875, 0.03082275390625, 0.0797119140625, -0.03631591796875, -0.0136871337890625, 0.0166015625, 0.03387451171875, 0.0166778564453125, -0.0036182403564453125, 0.027008056640625, -0.0146484375, 0.01352691650390625, -0.052764892578125, 0.01739501953125, 0.03509521484375, 0.03399658203125, 0.0235137939453125, 0.03521728515625, -0.0716552734375, 0.0018987655639648438, -0.042205810546875, 0.028717041015625, 0.034881591796875, 0.044219970703125, -0.00730133056640625, 0.0374755859375, -0.0031833648681640625, -0.0081024169921875, 0.00164031982421875, 0.0031375885009765625, 0.0161285400390625, -0.02032470703125, -0.00975799560546875, -0.024810791015625, 0.030792236328125, 0.017181396484375, 0.0178070068359375, -0.051422119140625, 0.01983642578125, 0.01349639892578125, -0.061798095703125, -0.0200653076171875, 0.0266265869140625, -0.012359619140625, -0.0277557373046875, -0.053955078125, -0.0491943359375, -0.0019779205322265625, -0.029266357421875, 0.07684326171875, -0.06097412109375, 0.031585693359375, -0.0479736328125, 0.03289794921875, -0.01318359375, -0.0182342529296875, 0.0227508544921875, 0.003940582275390625, 0.03717041015625, -0.01031494140625, -0.0550537109375, 0.025787353515625, -0.0994873046875, -0.06744384765625, 0.030029296875, 0.0288543701171875, -0.0268096923828125, 0.0328369140625, 0.0117645263671875, -0.0265350341796875, 0.044403076171875, -0.005107879638671875, 0.0138092041015625, 0.05670166015625, 0.01210784912109375, 0.01433563232421875, -0.05419921875, -0.0218658447265625, -0.0124053955078125, 0.00905609130859375, 0.0147552490234375, 0.0115203857421875, 0.040435791015625, 0.01442718505859375, -0.042205810546875, 0.042999267578125, -0.064697265625, -0.037109375, 0.049560546875, 0.0208740234375, -0.0014314651489257812, -0.007366180419921875, -0.055450439453125, 0.005329132080078125, 0.028778076171875, -0.01348876953125, 0.034210205078125, -0.034393310546875, 0.01155853271484375, -0.0242767333984375, 0.018463134765625, -0.035919189453125, -0.01922607421875, -0.0650634765625, -0.02264404296875, 0.025543212890625, 0.006122589111328125, 0.00655364990234375, -0.0224761962890625, 0.02471923828125, -0.04498291015625, 0.0088958740234375, 0.031463623046875, 0.02825927734375, 0.0313720703125, -0.0108489990234375, 0.0625, -0.0139312744140625, -0.038116455078125, 0.00653076171875, -0.0022373199462890625, -0.030670166015625, -0.035308837890625, 0.01288604736328125, -0.034759521484375, -0.0168304443359375, 0.0135955810546875, -0.009765625, 0.00003707408905029297, -0.020599365234375, -0.00914764404296875, -0.024017333984375, 0.0062713623046875, -0.022308349609375, -0.03814697265625, 0.0052337646484375, 0.0166168212890625, -0.010040283203125, -0.00958251953125, -0.03924560546875, -0.01105499267578125, 0.033660888671875, -0.0107269287109375, 0.005191802978515625, -0.0035152435302734375, -0.032440185546875, 0.01053619384765625, 0.0103302001953125, -0.049652099609375, 0.0020694732666015625, 0.0188446044921875, -0.0189208984375, -0.0278167724609375, -0.0501708984375, 0.003429412841796875, -0.03717041015625, -0.01190948486328125, -0.00984954833984375, -0.004268646240234375, 0.0301513671875, -0.0245513916015625, -0.00591278076171875, 0.023590087890625, 0.0009646415710449219, 0.0005621910095214844, -0.00289154052734375, 0.0240936279296875, -0.03277587890625, -0.045196533203125, 0.030609130859375, -0.036407470703125, -0.02569580078125, -0.0183258056640625, -0.01849365234375, -0.025726318359375, -0.061431884765625, -0.093017578125, 0.0865478515625, -0.028106689453125, -0.0369873046875, -0.0416259765625, 0.024200439453125, 0.0119171142578125, -0.0007810592651367188, -0.0058746337890625, -0.024658203125, -0.0259552001953125, 0.014373779296875, 0.00838470458984375, 0.02691650390625, 0.01224517822265625, -0.021453857421875, -0.01352691650390625, 0.007045745849609375, 0.007732391357421875, 0.01512908935546875, -0.01242828369140625, 0.007480621337890625, 0.0151214599609375, 0.0215301513671875, -0.040740966796875, 0.0438232421875, 0.0011472702026367188, 0.016998291015625, 0.007442474365234375, -0.046173095703125, -0.061279296875, -0.05413818359375, 0.0570068359375, 0.041656494140625, 0.0197296142578125, -0.01229095458984375, 0.029327392578125, -0.04534912109375, -0.011199951171875, -0.0028839111328125, -0.0052642822265625, -0.031402587890625, 0.002109527587890625, 0.03680419921875, -0.00684356689453125, -0.0007157325744628906, -0.055267333984375, -0.042877197265625, 0.0017938613891601562, -0.03619384765625, 0.036773681640625, -0.0285797119140625, 0.0191192626953125, -0.00795745849609375, -0.0155029296875, -0.005886077880859375, -0.0227203369140625, -0.0018215179443359375, -0.00734710693359375, -0.0027141571044921875, 0.007007598876953125, -0.02264404296875, 0.02130126953125, 0.0041351318359375, 0.03326416015625, -0.01512908935546875, 0.035888671875, -0.00534820556640625, -0.038818359375, -0.00010854005813598633, 0.028472900390625, -0.0187835693359375, -0.007541656494140625, -0.0084686279296875, 0.0194091796875, 0.051513671875, 0.0007166862487792969, 0.0731201171875, -0.00714874267578125, 0.05499267578125, -0.0117340087890625, -0.025726318359375, 0.00511932373046875, -0.0020904541015625, -0.001819610595703125, 0.00007700920104980469, 0.00859832763671875, -0.03369140625, 0.00824737548828125, 0.0206451416015625, -0.003597259521484375, 0.01152801513671875 ]
6ebc7bb96583ea7f5ae8c4b1a41b9da52e2718cc
Wordpress Stackexchange Q: WP Crowdfunding customization I am using WP Crowdfunding (w/ Woocommerce) to create a CF website. I want to make some changes in the template that will affect all the campaigns (current and future) but I don't know how to proceed. If I click on Inspect I can see the HTML file and do the changes there I want to, but I know that's only temporary. How can I make these changes permanently? I tried "What The File" but it gives me the theme template file, not the plugin one. As you can see bellow, this is an example of a project. One thing that I want to do is replace the text box (for the amount) for a drop-down menu where backers can select the desired amount. But I have to access the correct PHP file to do that. Can anyone help? Thank you very much!
Q: WP Crowdfunding customization I am using WP Crowdfunding (w/ Woocommerce) to create a CF website. I want to make some changes in the template that will affect all the campaigns (current and future) but I don't know how to proceed. If I click on Inspect I can see the HTML file and do the changes there I want to, but I know that's only temporary. How can I make these changes permanently? I tried "What The File" but it gives me the theme template file, not the plugin one. As you can see bellow, this is an example of a project. One thing that I want to do is replace the text box (for the amount) for a drop-down menu where backers can select the desired amount. But I have to access the correct PHP file to do that. Can anyone help? Thank you very much!
wordpress
{ "language": "en", "length": 147, "provenance": "stackexchange_00019.jsonl.gz:476404", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/267717" }
[ 0.001598358154296875, -0.0018253326416015625, -0.0158843994140625, -0.025115966796875, -0.01450347900390625, -0.0048980712890625, -0.0015935897827148438, 0.00020933151245117188, -0.0250396728515625, 0.0290374755859375, -0.062255859375, 0.02813720703125, -0.0194244384765625, 0.016082763671875, -0.0081024169921875, -0.050445556640625, 0.0187835693359375, 0.0018472671508789062, 0.02264404296875, -0.00841522216796875, -0.003509521484375, 0.00885009765625, 0.0252685546875, 0.0504150390625, 0.00582122802734375, -0.028839111328125, 0.1026611328125, -0.035919189453125, 0.039215087890625, -0.012847900390625, 0.027618408203125, -0.03466796875, 0.029449462890625, 0.0162353515625, -0.06256103515625, -0.01073455810546875, 0.03179931640625, -0.0142822265625, -0.014190673828125, 0.028289794921875, 0.0596923828125, -0.0321044921875, -0.056243896484375, -0.0178375244140625, -0.0220489501953125, -0.04656982421875, 0.05450439453125, -0.018096923828125, 0.002521514892578125, 0.0697021484375, -0.0178070068359375, 0.0201416015625, -0.0229644775390625, 0.0129241943359375, 0.0019350051879882812, -0.053619384765625, -0.0308837890625, 0.00811004638671875, 0.01617431640625, 0.0435791015625, 0.0011157989501953125, 0.0158538818359375, -0.0133209228515625, -0.0112457275390625, -0.027069091796875, 0.01119232177734375, -0.00948333740234375, 0.031219482421875, 0.004734039306640625, -0.040435791015625, -0.0243377685546875, 0.0017709732055664062, 0.01001739501953125, 0.0013017654418945312, 0.0009226799011230469, -0.057647705078125, -0.006809234619140625, -0.040679931640625, 0.027679443359375, 0.0263214111328125, 0.0116424560546875, -0.04058837890625, -0.01329803466796875, -0.01236724853515625, 0.0188140869140625, 0.0118865966796875, 0.005828857421875, -0.00028324127197265625, -0.01258087158203125, 0.0021915435791015625, -0.022369384765625, -0.0057525634765625, -0.0016202926635742188, 0.0216064453125, -0.012420654296875, -0.00270843505859375, 0.0020542144775390625, 0.017852783203125, 0.004245758056640625, 0.025054931640625, 0.0158843994140625, -0.03277587890625, 0.0220184326171875, -0.019927978515625, -0.006519317626953125, -0.0008530616760253906, 0.0082244873046875, 0.04205322265625, 0.0299072265625, 0.039825439453125, -0.0161285400390625, 0.01313018798828125, -0.01364898681640625, -0.0283050537109375, -0.027435302734375, 0.0159149169921875, -0.0296783447265625, 0.016815185546875, 0.00849151611328125, 0.024749755859375, 0.0132598876953125, 0.032379150390625, 0.02630615234375, -0.038665771484375, -0.0189361572265625, -0.0266265869140625, -0.01727294921875, -0.03912353515625, -0.0288848876953125, 0.032684326171875, -0.052215576171875, -0.004474639892578125, 0.09954833984375, 0.0777587890625, 0.04205322265625, -0.0291748046875, 0.01190948486328125, 0.032135009765625, 0.00804901123046875, -0.0150146484375, 0.003505706787109375, -0.027801513671875, 0.00647735595703125, -0.0038280487060546875, 0.0114288330078125, 0.036346435546875, 0.0290679931640625, 0.005298614501953125, -0.0157623291015625, -0.043060302734375, 0.0206451416015625, 0.0025043487548828125, 0.021148681640625, 0.0201416015625, 0.005207061767578125, -0.0026798248291015625, 0.0347900390625, -0.01483154296875, -0.00928497314453125, -0.0301971435546875, -0.008575439453125, -0.01137542724609375, 0.0228118896484375, -0.0016984939575195312, -0.0068817138671875, 0.031890869140625, -0.0252227783203125, 0.0096435546875, 0.028289794921875, -0.01338958740234375, 0.0241851806640625, 0.001220703125, 0.06683349609375, 0.01788330078125, -0.004547119140625, 0.0162200927734375, -0.00611114501953125, 0.055999755859375, -0.0001615285873413086, 0.06787109375, 0.0450439453125, -0.032806396484375, 0.081787109375, -0.01666259765625, -0.0333251953125, -0.0386962890625, 0.010650634765625, 0.0082855224609375, 0.030975341796875, 0.005767822265625, 0.036163330078125, -0.02337646484375, -0.03985595703125, 0.0291748046875, -0.018707275390625, -0.00981903076171875, -0.0251007080078125, 0.0197296142578125, -0.0141143798828125, -0.00124359130859375, -0.0276947021484375, -0.029144287109375, 0.0255279541015625, -0.005092620849609375, -0.0239715576171875, 0.006191253662109375, -0.0184783935546875, 0.0263824462890625, -0.038421630859375, 0.0145263671875, 0.0189361572265625, 0.0047454833984375, -0.02227783203125, -0.02740478515625, -0.007228851318359375, -0.00653839111328125, -0.020111083984375, 0.05340576171875, 0.003566741943359375, 0.007335662841796875, 0.0235443115234375, -0.0496826171875, 0.0234832763671875, 0.029876708984375, 0.05029296875, -0.007259368896484375, -0.0289764404296875, -0.0301666259765625, 0.030059814453125, -0.016632080078125, -0.015533447265625, 0.0633544921875, 0.0172576904296875, 0.03497314453125, 0.01110076904296875, -0.0088653564453125, 0.01384735107421875, -0.0987548828125, 0.0226898193359375, 0.03900146484375, 0.026641845703125, 0.029449462890625, 0.010284423828125, 0.0278472900390625, 0.0782470703125, 0.0310516357421875, 0.0274200439453125, -0.01142120361328125, 0.0260772705078125, 0.03936767578125, -0.007671356201171875, -0.015869140625, 0.0038623809814453125, -0.041778564453125, 0.02020263671875, 0.0308074951171875, -0.0175018310546875, -0.00902557373046875, 0.0098724365234375, 0.0114593505859375, -0.0027942657470703125, -0.025787353515625, -0.0040130615234375, -0.0162200927734375, 0.031951904296875, -0.042388916015625, 0.0262298583984375, -0.0050506591796875, -0.0033588409423828125, -0.03021240234375, 0.02032470703125, -0.00823974609375, -0.007465362548828125, 0.0238037109375, -0.0119781494140625, 0.0211029052734375, -0.02557373046875, -0.0057220458984375, -0.011474609375, 0.0222930908203125, -0.0305023193359375, -0.0012636184692382812, -0.00856781005859375, -0.0130157470703125, -0.014068603515625, -0.06207275390625, 0.01399993896484375, -0.0164642333984375, -0.0074462890625, -0.01641845703125, 0.0222930908203125, 0.01335906982421875, -0.033843994140625, 0.05120849609375, -0.0213623046875, -0.0280303955078125, 0.016204833984375, -0.03289794921875, 0.0304412841796875, -0.036376953125, 0.01007080078125, 0.0609130859375, 0.000530242919921875, 0.0079345703125, 0.0023784637451171875, 0.0015058517456054688, 0.0037708282470703125, 0.01097869873046875, -0.0014781951904296875, -0.0171356201171875, -0.033843994140625, -0.003276824951171875, 0.0123748779296875, 0.055938720703125, -0.011566162109375, -0.0447998046875, 0.01050567626953125, 0.02313232421875, -0.007659912109375, -0.0421142578125, 0.00005900859832763672, -0.039520263671875, -0.008544921875, -0.019866943359375, -0.0194244384765625, -0.0038356781005859375, -0.006694793701171875, 0.00630950927734375, -0.01250457763671875, -0.037689208984375, -0.028961181640625, -0.0797119140625, -0.06988525390625, -0.05535888671875, 0.011138916015625, -0.0036716461181640625, -0.01152801513671875, 0.0867919921875, -0.0005612373352050781, -0.048370361328125, -0.03326416015625, 0.057647705078125, 0.0287017822265625, -0.00879669189453125, 0.047271728515625, -0.0650634765625, 0.021728515625, -0.0169525146484375, 0.07080078125, 0.044158935546875, -0.047882080078125, 0.0132293701171875, -0.0279998779296875, -0.0159454345703125, -0.04730224609375, 0.032440185546875, 0.0394287109375, -0.050140380859375, -0.038238525390625, -0.062469482421875, -0.052642822265625, 0.0007958412170410156, -0.03424072265625, 0.050445556640625, 0.0226898193359375, -0.0187835693359375, -0.01227569580078125, 0.03265380859375, 0.039031982421875, 0.005207061767578125, 0.006153106689453125, -0.0084991455078125, 0.00798797607421875, 0.016876220703125, 0.0236053466796875, -0.034271240234375, 0.032806396484375, -0.018280029296875, 0.032318115234375, 0.0204925537109375, 0.01214599609375, 0.01277923583984375, -0.006744384765625, -0.0183563232421875, -0.031982421875, 0.027099609375, -0.069091796875, -0.01111602783203125, -0.036956787109375, 0.006084442138671875, -0.0026454925537109375, 0.07586669921875, -0.0228118896484375, -0.01213836669921875, 0.031341552734375, 0.0011119842529296875, -0.026031494140625, 0.032562255859375, -0.0611572265625, -0.021636962890625, -0.039794921875, 0.0162506103515625, -0.01552581787109375, -0.017242431640625, -0.0038356781005859375, -0.022216796875, -0.00785064697265625, -0.039581298828125, 0.0234527587890625, -0.003421783447265625, 0.0086517333984375, 0.0099029541015625, -0.0015935897827148438, -0.00751495361328125, -0.00588226318359375, -0.0176849365234375, -0.0251922607421875, -0.016876220703125, 0.015960693359375, 0.016387939453125, -0.0016202926635742188, -0.01788330078125, -0.00791168212890625, 0.03192138671875, -0.0191650390625, 0.01418304443359375, 0.01116180419921875, 0.0145416259765625, -0.0186767578125, 0.04071044921875, 0.0127410888671875, -0.006999969482421875, -0.024139404296875, -0.03387451171875, -0.044952392578125, 0.0330810546875, -0.0022182464599609375, 0.030242919921875, 0.0107879638671875, 0.0007138252258300781, -0.0435791015625, -0.03521728515625, -0.0482177734375, 0.004611968994140625, -0.0455322265625, 0.0150909423828125, -0.028717041015625, -0.05926513671875, 0.037261962890625, -0.033966064453125, 0.0094757080078125, 0.0210113525390625, 0.0716552734375, 0.006649017333984375, -0.01177215576171875, -0.0679931640625, -0.00836944580078125, 0.046417236328125, 0.0281219482421875, 0.028411865234375, 0.017791748046875, -0.03369140625, 0.06304931640625, 0.025299072265625, 0.002384185791015625, 0.021484375, 0.047210693359375, 0.006122589111328125, -0.0294342041015625, 0.03228759765625, 0.00479888916015625, -0.062255859375, -0.004917144775390625, -0.031097412109375, 0.004535675048828125, -0.04071044921875, 0.006805419921875, -0.0012426376342773438, 0.0252838134765625, -0.00782012939453125, -0.040771484375, 0.0082550048828125, -0.037109375, 0.026580810546875, 0.03082275390625, -0.0120697021484375, 0.04412841796875, 0.01250457763671875, -0.00879669189453125, -0.044830322265625, -0.0458984375, -0.04913330078125, -0.00316619873046875, -0.007068634033203125, -0.01029205322265625, 0.0218048095703125, -0.00011235475540161133, 0.022674560546875, -0.00688934326171875, -0.004169464111328125, -0.05810546875, -0.00975799560546875, -0.03125, -0.02001953125, 0.01031494140625, 0.04168701171875, -0.027557373046875, 0.0036773681640625, -0.008880615234375, -0.044219970703125, -0.034637451171875, -0.047515869140625, -0.000012099742889404297, 0.048736572265625, -0.028228759765625, 0.036041259765625, -0.01277923583984375, 0.0810546875, -0.031494140625, -0.038177490234375, 0.05706787109375, 0.04742431640625, -0.0408935546875, -0.0027751922607421875, 0.0638427734375, 0.00830841064453125, -0.06793212890625, 0.016693115234375, 0.00937652587890625, -0.019195556640625, 0.01314544677734375, 0.00933837890625, -0.0280609130859375, 0.01294708251953125, 0.0144500732421875, -0.0085601806640625, 0.009674072265625, -0.03936767578125, -0.01055145263671875, 0.0177001953125, 0.029144287109375, -0.0006508827209472656, -0.03607177734375, 0.00794219970703125, -0.00994110107421875, -0.028106689453125, -0.059112548828125, -0.051025390625, 0.06298828125, -0.062347412109375, -0.007808685302734375, -0.0227508544921875, -0.0207977294921875, 0.005382537841796875, -0.006305694580078125, -0.09326171875, -0.07049560546875, 0.0091094970703125, 0.0270233154296875, 0.038482666015625, -0.0091705322265625, 0.0186614990234375, -0.00931549072265625, -0.023895263671875, -0.007350921630859375, 0.027069091796875, 0.0082550048828125, -0.013580322265625, -0.032745361328125, -0.020843505859375, -0.037200927734375, -0.028717041015625, -0.0904541015625, -0.05548095703125, -0.051666259765625, 0.0303955078125, 0.00682830810546875, 0.038818359375, -0.0291595458984375, -0.04193115234375, -0.02105712890625, -0.00916290283203125, 0.028411865234375, 0.06134033203125, -0.010589599609375, 0.04901123046875, -0.003330230712890625, 0.057159423828125, 0.0011444091796875, -0.0088653564453125, -0.038726806640625, -0.01678466796875, -0.0009250640869140625, -0.02447509765625, -0.00872802734375, -0.0211944580078125, -0.00789642333984375, 0.0266876220703125, 0.04730224609375, 0.00005644559860229492, 0.0233154296875, -0.054229736328125, 0.0050811767578125, -0.0259857177734375, 0.051605224609375, -0.0924072265625, -0.039398193359375, 0.0200347900390625, -0.02203369140625, 0.004199981689453125, 0.00833892822265625, -0.006500244140625, -0.0034465789794921875, -0.0078582763671875, -0.0097503662109375, 0.0200347900390625, -0.052978515625, 0.0623779296875, 0.045135498046875, 0.003406524658203125, 0.0214996337890625, -0.004909515380859375, 0.004337310791015625, -0.009796142578125, 0.023468017578125, -0.0189666748046875, -0.0179595947265625, 0.061676025390625, 0.02239990234375, -0.033905029296875, 0.0302276611328125, -0.02728271484375, 0.023681640625, 0.05181884765625, 0.061614990234375, -0.0892333984375, 0.00988006591796875, 0.012908935546875, -0.0041351318359375, 0.0274505615234375, 0.0173797607421875, -0.0251312255859375, -0.021514892578125, 0.010162353515625, -0.00728607177734375, 0.0015010833740234375, 0.03179931640625, 0.0228271484375, -0.00997161865234375, -0.00765228271484375, 0.03594970703125, 0.01241302490234375, -0.05572509765625, 0.0299224853515625, 0.0247039794921875, 0.01085662841796875, -0.0192413330078125, -0.0032958984375, 0.0081024169921875, -0.03533935546875, -0.042510986328125, 0.00949859619140625, -0.0131988525390625, -0.017913818359375, -0.004955291748046875, 0.007381439208984375, 0.0168914794921875, 0.0304412841796875, -0.012298583984375, -0.012786865234375, -0.006744384765625, 0.012786865234375, -0.016632080078125, -0.028106689453125, 0.000006616115570068359, 0.0511474609375, -0.05718994140625, 0.02264404296875, -0.0129547119140625, 0.01004791259765625, -0.003627777099609375, 0.030181884765625, 0.07550048828125, -0.0228118896484375, -0.02996826171875, 0.03985595703125, -0.0181121826171875, -0.0239410400390625, -0.02001953125, -0.004642486572265625, -0.010162353515625, 0.01580810546875, -0.025299072265625, -0.01255035400390625, 0.004253387451171875, -0.0200958251953125, -0.069091796875, 0.13330078125, 0.040374755859375, 0.03314208984375, -0.0019083023071289062, 0.060211181640625, -0.02862548828125, 0.0384521484375, -0.01068878173828125, 0.0191192626953125, -0.035308837890625, 0.034820556640625, -0.0214385986328125, -0.01255035400390625, 0.0036449432373046875, 0.040771484375, 0.00798797607421875, -0.01485443115234375, 0.023773193359375, 0.0186004638671875, 0.08807373046875, 0.020294189453125, -0.0007405281066894531, 0.01065826416015625, -0.00795745849609375, -0.01181793212890625, 0.004917144775390625, -0.0166473388671875, 0.031829833984375, -0.05743408203125, 0.00225830078125, -0.00011301040649414062, 0.005374908447265625, 0.00069427490234375, -0.01175689697265625, 0.045989990234375, -0.040069580078125, -0.005306243896484375, 0.0257415771484375, 0.00563812255859375, -0.00531005859375, 0.01393890380859375, -0.0183563232421875, 0.026275634765625, 0.0238800048828125, -0.029296875, 0.028106689453125, -0.01158905029296875, 0.026947021484375, -0.01404571533203125, 0.01239776611328125, 0.029388427734375, -0.0297698974609375, 0.005451202392578125, 0.03436279296875, -0.04547119140625, 0.043243408203125, 0.018890380859375, 0.023193359375, -0.031005859375, 0.0182037353515625, 0.03076171875, 0.046630859375, -0.03131103515625, -0.0004787445068359375, 0.01319122314453125, 0.00914764404296875, 0.018463134765625, -0.0253143310546875, 0.044158935546875, -0.0032482147216796875, -0.0236968994140625, -0.0006976127624511719, -0.00919342041015625, 0.0328369140625, -0.0364990234375, -0.00321197509765625, 0.01424407958984375, 0.01230621337890625, 0.04888916015625, -0.00983428955078125, -0.01094818115234375, 0.0004906654357910156, 0.0030193328857421875, 0.014434814453125, 0.02130126953125, 0.049102783203125, 0.00968170166015625, -0.0028839111328125, 0.016815185546875, 0.035003662109375, -0.0253143310546875, 0.0290679931640625, 0.01538848876953125, 0.01187896728515625, 0.00396728515625, -0.006683349609375, 0.0245208740234375, 0.030242919921875, 0.02691650390625, -0.0186920166015625, -0.0121002197265625, 0.0293426513671875, -0.021270751953125, 0.0189056396484375, -0.024871826171875, -0.0032138824462890625, -0.00061798095703125, -0.01236724853515625, -0.0186767578125, 0.0237579345703125, 0.0245819091796875, -0.00026416778564453125, 0.032562255859375, 0.00003838539123535156, -0.0350341796875, 0.035614013671875, 0.00205230712890625, 0.10394287109375, 0.050445556640625, -0.034820556640625, -0.01117706298828125, -0.0069580078125, -0.0025806427001953125, -0.01062774658203125, 0.0208587646484375, -0.01529693603515625, 0.036956787109375, -0.00594329833984375, -0.00685882568359375, 0.006145477294921875, -0.0162353515625, 0.01116180419921875, -0.0247039794921875, 0.012847900390625, -0.0036983489990234375, -0.05889892578125, -0.048828125, -0.024444580078125, 0.055084228515625, -0.0029850006103515625, 0.1002197265625, -0.041229248046875, 0.0168914794921875, -0.0055999755859375, -0.049041748046875, 0.0292816162109375, -0.0246734619140625, 0.060394287109375, -0.012908935546875, -0.043853759765625, -0.010498046875, 0.00734710693359375, -0.0012645721435546875, 0.0168914794921875, -0.05572509765625, -0.004467010498046875, -0.031280517578125, 0.0234222412109375, -0.0013799667358398438, 0.00667572021484375, -0.025970458984375, -0.01885986328125, 0.00804901123046875, 0.014556884765625, -0.00029921531677246094, -0.0213165283203125, -0.045684814453125, 0.0288848876953125, -0.03411865234375, 0.00296783447265625, -0.004638671875, 0.0030117034912109375, -0.016937255859375, 0.0244293212890625, -0.05804443359375, 0.01666259765625, 0.038848876953125, -0.010162353515625, 0.0192413330078125, 0.0268096923828125, -0.0236968994140625, 0.0462646484375, -0.054901123046875, 0.023040771484375, 0.01532745361328125, 0.00783538818359375, -0.0298309326171875, -0.004177093505859375, 0.03204345703125, -0.01425933837890625, 0.012359619140625, -0.0233917236328125, -0.020050048828125, 0.0020999908447265625, 0.0171356201171875, 0.011474609375, 0.048980712890625, -0.000804901123046875, 0.0100555419921875, -0.01495361328125, 0.0272979736328125, 0.00881195068359375, -0.060516357421875, 0.0219268798828125, -0.005161285400390625, 0.03656005859375, -0.017974853515625, -0.02667236328125, 0.0021343231201171875, 0.0182952880859375, -0.01953125, -0.0264129638671875, -0.05682373046875, 0.00044417381286621094, -0.0482177734375, 0.02685546875, 0.0732421875, -0.0297088623046875, -0.018157958984375, 0.01003265380859375, 0.0111236572265625, 0.05908203125, -0.061981201171875, -0.0266571044921875, 0.022369384765625, 0.01323699951171875, 0.0124053955078125, -0.060699462890625, -0.031494140625, -0.004779815673828125, 0.044891357421875, -0.005069732666015625, -0.0001220703125, 0.01470184326171875, -0.048797607421875, -0.0953369140625, -0.0016384124755859375, -0.01300811767578125, -0.035797119140625, -0.04351806640625, 0.0017633438110351562, -0.0013990402221679688, -0.0007543563842773438, -0.0168304443359375, 0.0011196136474609375, -0.0305938720703125, 0.018890380859375, 0.00501251220703125, 0.0258636474609375, 0.0295867919921875, -0.00978851318359375, -0.0635986328125, -0.01181793212890625, -0.0171356201171875, 0.03094482421875, 0.031402587890625, -0.0215606689453125, -0.00983428955078125, 0.0187225341796875, -0.06341552734375, -0.1539306640625, -0.048004150390625, -0.0237274169921875, 0.0074920654296875, -0.0171966552734375, -0.0195465087890625, -0.0151519775390625, 0.029754638671875, 0.0230560302734375, 0.0030269622802734375, -0.0083465576171875, 0.045379638671875, 0.0380859375, -0.01557159423828125, 0.0017910003662109375, -0.00228118896484375, 0.00235748291015625, -0.00411224365234375, -0.01187896728515625, -0.03350830078125, -0.0239105224609375, 0.01206207275390625, -0.0595703125, 0.003662109375, -0.021240234375, -0.0261383056640625, -0.01372528076171875, 0.0050506591796875, 0.0953369140625, -0.0550537109375, 0.0074615478515625, 0.0001493692398071289, 0.0157318115234375, 0.051361083984375, -0.048370361328125, -0.00543975830078125, 0.006046295166015625, -0.08154296875, 0.024322509765625, -0.035614013671875, 0.0716552734375, -0.08123779296875, -0.0071868896484375, 0.0038967132568359375, 0.01934814453125, -0.028228759765625, 0.0129852294921875, 0.01824951171875, 0.06707763671875, -0.0047607421875, 0.059600830078125, -0.0218048095703125, 0.006656646728515625, -0.03045654296875, 0.0322265625, -0.057464599609375, 0.016693115234375, -0.038726806640625, -0.0050811767578125, 0.0053558349609375, 0.0298309326171875, 0.0204925537109375, -0.03961181640625, 0.0194244384765625, -0.030731201171875, 0.02423095703125, 0.00560760498046875 ]
8427ddd1eb7d572af5721db174a76ce8972cd582
Wordpress Stackexchange Q: how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS When I set the "/wp/" in PATH_CURRENT_SITE and call the network setting page(xxx.com/wp/wp-admin/network), it occurs too many redirects. But when I just set "/" in the PATH_CURRENT_SITE and I go to network setting page from wordpress admin management page, it calls "xxx.com/wp-admin/network".Then, I change the url like "xxx.com/wp/wp-admin/network" manually, it works well. Does my nginx configuration wrong? This is my nginx conf file. if (!-e $request_filename) { rewrite wp/wp-admin$ $scheme://$host$uri/ permanent; rewrite ^(/[^/]+)?(/wp/wp-.*) $2 last; rewrite ^(/[^/]+)?(/wp/.*\.php) $2 last; } location / { try_files $uri $uri/ /index.php?$query_string; } This is my wp-config file. define('WP_DEBUG', true); define ('WP_ALLOW_MULTISITE', true); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', $_SERVER['SERVER_NAME']); define('PATH_CURRENT_SITE', '/wp/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
Q: how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS When I set the "/wp/" in PATH_CURRENT_SITE and call the network setting page(xxx.com/wp/wp-admin/network), it occurs too many redirects. But when I just set "/" in the PATH_CURRENT_SITE and I go to network setting page from wordpress admin management page, it calls "xxx.com/wp-admin/network".Then, I change the url like "xxx.com/wp/wp-admin/network" manually, it works well. Does my nginx configuration wrong? This is my nginx conf file. if (!-e $request_filename) { rewrite wp/wp-admin$ $scheme://$host$uri/ permanent; rewrite ^(/[^/]+)?(/wp/wp-.*) $2 last; rewrite ^(/[^/]+)?(/wp/.*\.php) $2 last; } location / { try_files $uri $uri/ /index.php?$query_string; } This is my wp-config file. define('WP_DEBUG', true); define ('WP_ALLOW_MULTISITE', true); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', $_SERVER['SERVER_NAME']); define('PATH_CURRENT_SITE', '/wp/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
wordpress
{ "language": "en", "length": 122, "provenance": "stackexchange_00019.jsonl.gz:476416", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/267759" }
[ 0.03924560546875, -0.01546478271484375, 0.0297698974609375, 0.0019273757934570312, -0.0160980224609375, -0.01360321044921875, 0.0110626220703125, -0.039947509765625, -0.005126953125, -0.0015716552734375, -0.033050537109375, 0.0028209686279296875, -0.0265655517578125, -0.023956298828125, 0.01165008544921875, -0.028594970703125, 0.02056884765625, -0.0129547119140625, 0.00811004638671875, -0.0037364959716796875, -0.018218994140625, 0.0280303955078125, 0.0032806396484375, 0.0106353759765625, -0.00266265869140625, -0.04541015625, 0.033782958984375, -0.01517486572265625, -0.007579803466796875, -0.0256195068359375, 0.0032482147216796875, 0.035430908203125, 0.059234619140625, 0.036590576171875, -0.09295654296875, -0.0141754150390625, 0.0029697418212890625, -0.007350921630859375, -0.0313720703125, 0.06640625, 0.0251922607421875, -0.0171356201171875, 0.07879638671875, 0.0019016265869140625, 0.0377197265625, -0.0305938720703125, 0.03521728515625, -0.059326171875, 0.00873565673828125, -0.0161590576171875, -0.00882720947265625, -0.009490966796875, 0.0228424072265625, -0.038818359375, -0.0257110595703125, -0.01470947265625, -0.0018482208251953125, -0.0177459716796875, 0.022491455078125, -0.00044465065002441406, -0.0206451416015625, 0.00006908178329467773, 0.01739501953125, -0.0226287841796875, -0.02044677734375, -0.00995635986328125, 0.0021266937255859375, 0.007415771484375, -0.097900390625, -0.040740966796875, 0.06805419921875, -0.049468994140625, -0.00399017333984375, -0.01025390625, -0.001941680908203125, -0.0279541015625, 0.0055389404296875, -0.018798828125, 0.0129547119140625, 0.0030422210693359375, 0.042144775390625, -0.02044677734375, -0.01267242431640625, 0.0092010498046875, 0.0200653076171875, 0.0504150390625, 0.011505126953125, -0.0295257568359375, -0.028472900390625, -0.019012451171875, -0.024932861328125, 0.001068115234375, -0.032806396484375, -0.0140533447265625, -0.0002510547637939453, -0.041778564453125, -0.01934814453125, -0.01352691650390625, 0.01033782958984375, 0.0208282470703125, 0.01052093505859375, -0.03021240234375, 0.038360595703125, -0.0228118896484375, 0.0082855224609375, 0.05694580078125, -0.01004791259765625, 0.043365478515625, 0.062469482421875, 0.0267486572265625, 0.02056884765625, 0.0143890380859375, -0.0111083984375, -0.006900787353515625, -0.0643310546875, 0.001312255859375, -0.040069580078125, -0.043731689453125, -0.007625579833984375, -0.03070068359375, -0.0189208984375, 0.0083160400390625, -0.01459503173828125, 0.0013074874877929688, 0.00350189208984375, -0.0058746337890625, -0.0015668869018554688, -0.00521087646484375, -0.035919189453125, 0.0226287841796875, -0.0227203369140625, 0.01280975341796875, 0.00688934326171875, 0.0124359130859375, -0.016326904296875, -0.0153656005859375, 0.0592041015625, 0.022552490234375, 0.006191253662109375, 0.0019817352294921875, 0.01422882080078125, -0.0196990966796875, -0.037261962890625, 0.001888275146484375, 0.031646728515625, 0.014404296875, 0.0321044921875, 0.0191497802734375, 0.01338958740234375, -0.0216217041015625, 0.009429931640625, -0.00537109375, 0.0287628173828125, 0.0264739990234375, 0.004077911376953125, -0.01103973388671875, 0.0374755859375, -0.034881591796875, -0.027435302734375, -0.033294677734375, 0.0022563934326171875, -0.00560760498046875, 0.05682373046875, -0.047576904296875, -0.04974365234375, -0.005878448486328125, -0.06561279296875, -0.0260162353515625, 0.02783203125, -0.01617431640625, 0.02581787109375, 0.001399993896484375, 0.014678955078125, 0.0045013427734375, 0.004512786865234375, 0.006755828857421875, 0.02685546875, 0.00743865966796875, -0.0006608963012695312, 0.08367919921875, 0.02569580078125, -0.0271453857421875, 0.01425933837890625, 0.011810302734375, -0.0660400390625, 0.0162506103515625, -0.021575927734375, 0.050872802734375, 0.062469482421875, -0.0019321441650390625, 0.052490234375, -0.06219482421875, -0.024169921875, 0.01488494873046875, -0.027740478515625, -0.0190277099609375, -0.0102691650390625, 0.0214691162109375, -0.023956298828125, -0.0017547607421875, -0.02349853515625, 0.0007796287536621094, 0.005481719970703125, 0.01387786865234375, -0.0006284713745117188, 0.011993408203125, -0.00789642333984375, 0.0206451416015625, 0.03192138671875, -0.0127716064453125, -0.0005955696105957031, -0.0017490386962890625, 0.0202789306640625, -0.0643310546875, -0.057098388671875, 0.040924072265625, -0.029632568359375, 0.034027099609375, 0.00121307373046875, 0.0267791748046875, -0.0163116455078125, 0.0013837814331054688, -0.00994873046875, -0.026885986328125, 0.043121337890625, -0.0081329345703125, -0.01099395751953125, -0.0175628662109375, 0.0469970703125, 0.0011444091796875, 0.007442474365234375, 0.031036376953125, -0.024627685546875, 0.0160675048828125, -0.0283050537109375, -0.0201416015625, -0.00487518310546875, -0.027099609375, 0.0305633544921875, 0.0261383056640625, 0.042816162109375, 0.010223388671875, -0.001750946044921875, -0.004283905029296875, -0.030364990234375, -0.0777587890625, 0.0162506103515625, -0.02325439453125, -0.01263427734375, 0.0207061767578125, -0.009796142578125, -0.00043320655822753906, 0.0162353515625, -0.06134033203125, -0.0012178421020507812, 0.042816162109375, -0.0085296630859375, -0.015380859375, -0.005069732666015625, -0.0192413330078125, 0.0286102294921875, 0.006130218505859375, -0.0462646484375, 0.02459716796875, -0.0010623931884765625, -0.00919342041015625, 0.0024280548095703125, -0.01221466064453125, 0.01535797119140625, -0.0110321044921875, 0.009765625, -0.078369140625, 0.00839996337890625, -0.0111083984375, 0.0180206298828125, -0.01605224609375, -0.031280517578125, 0.0070037841796875, 0.030059814453125, -0.0207977294921875, -0.030364990234375, 0.0304718017578125, -0.044219970703125, -0.01715087890625, -0.0286712646484375, -0.032135009765625, -0.004863739013671875, -0.0024051666259765625, 0.013336181640625, -0.0105133056640625, 0.033355712890625, -0.01158905029296875, -0.0306854248046875, 0.035003662109375, -0.0278472900390625, -0.041412353515625, 0.0157470703125, -0.036834716796875, 0.03179931640625, -0.0165863037109375, 0.047332763671875, 0.06219482421875, -0.0173797607421875, 0.0191802978515625, -0.0006909370422363281, 0.02337646484375, 0.00992584228515625, 0.003498077392578125, -0.01113128662109375, -0.0196533203125, -0.08929443359375, -0.0509033203125, 0.003215789794921875, -0.0217742919921875, 0.0053558349609375, -0.0199737548828125, 0.007480621337890625, -0.00957489013671875, -0.05078125, -0.0445556640625, -0.00908660888671875, -0.0130157470703125, 0.02691650390625, -0.00457763671875, 0.0201873779296875, -0.029571533203125, 0.0006899833679199219, 0.0160369873046875, -0.0081024169921875, -0.033111572265625, -0.057891845703125, -0.070556640625, -0.09393310546875, -0.014129638671875, -0.0026378631591796875, 0.02685546875, -0.0001728534698486328, 0.0289306640625, 0.0024280548095703125, -0.03448486328125, -0.015869140625, -0.0125274658203125, -0.018524169921875, -0.04559326171875, -0.017822265625, 0.0007762908935546875, 0.0211639404296875, 0.01074981689453125, 0.0214691162109375, 0.00337982177734375, -0.0030364990234375, -0.0281829833984375, -0.0032711029052734375, -0.01314544677734375, -0.01039886474609375, -0.05291748046875, 0.021270751953125, -0.01065826416015625, -0.050384521484375, -0.05743408203125, 0.00861358642578125, -0.035186767578125, -0.025665283203125, 0.023193359375, 0.016845703125, -0.0028285980224609375, 0.0191650390625, -0.0274200439453125, 0.007671356201171875, 0.00426483154296875, 0.0055694580078125, -0.043670654296875, 0.087158203125, 0.008209228515625, 0.01128387451171875, -0.03985595703125, 0.045501708984375, -0.011138916015625, -0.022216796875, -0.00470733642578125, -0.005931854248046875, -0.0217742919921875, -0.00896453857421875, -0.05841064453125, -0.0279083251953125, 0.03900146484375, -0.021026611328125, -0.0036106109619140625, -0.02545166015625, -0.019134521484375, -0.01763916015625, 0.06988525390625, -0.0447998046875, -0.0141754150390625, -0.006526947021484375, 0.033905029296875, -0.03753662109375, -0.0430908203125, -0.0161285400390625, -0.01348876953125, -0.037506103515625, 0.000621795654296875, -0.0137939453125, -0.031982421875, 0.0274505615234375, -0.082763671875, -0.007549285888671875, -0.0455322265625, 0.01123046875, 0.0004954338073730469, 0.0168304443359375, 0.0021648406982421875, 0.0149383544921875, -0.0293426513671875, -0.00021982192993164062, -0.0301361083984375, -0.0699462890625, -0.00908660888671875, 0.0033416748046875, 0.05206298828125, 0.0022735595703125, -0.0010223388671875, 0.0018672943115234375, 0.04791259765625, -0.0030517578125, -0.030792236328125, 0.0231475830078125, -0.00478363037109375, 0.0186309814453125, 0.029296875, 0.0021648406982421875, -0.01357269287109375, 0.0068359375, 0.0221710205078125, -0.0352783203125, 0.005340576171875, -0.0189971923828125, -0.051544189453125, 0.049835205078125, -0.059417724609375, -0.08111572265625, -0.023345947265625, -0.0288543701171875, -0.0106048583984375, -0.026702880859375, -0.017425537109375, -0.01104736328125, -0.07122802734375, 0.06414794921875, -0.038604736328125, -0.021820068359375, -0.006931304931640625, 0.07080078125, 0.0162506103515625, -0.02099609375, -0.00616455078125, 0.0168304443359375, 0.00798797607421875, -0.0225067138671875, 0.059173583984375, 0.0190582275390625, 0.01373291015625, 0.019683837890625, -0.02606201171875, 0.014007568359375, 0.0621337890625, -0.048187255859375, 0.00652313232421875, -0.04339599609375, 0.018463134765625, 0.006805419921875, -0.0246124267578125, 0.020782470703125, -0.004329681396484375, -0.00800323486328125, -0.01512908935546875, 0.007068634033203125, -0.007266998291015625, 0.005634307861328125, -0.015838623046875, -0.05560302734375, 0.0231475830078125, -0.0290374755859375, 0.040008544921875, 0.033477783203125, -0.0015115737915039062, 0.06201171875, 0.03973388671875, -0.026031494140625, 0.03839111328125, 0.0166778564453125, 0.0160675048828125, 0.00957489013671875, 0.032989501953125, -0.039337158203125, 0.0137176513671875, -0.016693115234375, 0.080322265625, -0.017578125, -0.061920166015625, 0.0081787109375, -0.021575927734375, 0.0014142990112304688, 0.02496337890625, -0.0156097412109375, 0.051116943359375, -0.0128936767578125, -0.07305908203125, -0.014892578125, -0.0236358642578125, -0.08575439453125, -0.08050537109375, 0.0031890869140625, -0.0223236083984375, 0.0037593841552734375, 0.054534912109375, 0.055999755859375, 0.00933837890625, 0.060699462890625, -0.0247344970703125, 0.01062774658203125, 0.0164947509765625, 0.0220184326171875, 0.00785064697265625, 0.003387451171875, -0.0002257823944091797, 0.0082244873046875, 0.025115966796875, -0.042327880859375, -0.01297760009765625, 0.038787841796875, 0.057464599609375, -0.0011577606201171875, -0.0316162109375, 0.0009703636169433594, -0.0224151611328125, -0.005451202392578125, 0.01812744140625, -0.01702880859375, -0.03826904296875, -0.0048980712890625, 0.00853729248046875, 0.01140594482421875, -0.0240631103515625, -0.0106353759765625, 0.007518768310546875, -0.032135009765625, -0.0185394287109375, 0.0305328369140625, -0.04156494140625, -0.0240478515625, -0.01386260986328125, 0.00853729248046875, -0.0138092041015625, 0.005542755126953125, -0.07025146484375, -0.01275634765625, -0.029083251953125, -0.015045166015625, 0.0509033203125, -0.018951416015625, 0.010406494140625, -0.03497314453125, 0.01117706298828125, -0.0162811279296875, 0.0047607421875, 0.0364990234375, 0.0114288330078125, -0.0369873046875, 0.017791748046875, -0.0250701904296875, -0.0147705078125, 0.03765869140625, -0.0092926025390625, -0.0247802734375, -0.03448486328125, 0.0196075439453125, -0.00992584228515625, 0.0191802978515625, -0.02154541015625, -0.0236358642578125, 0.02197265625, 0.0271453857421875, -0.011199951171875, -0.0266265869140625, 0.0142059326171875, 0.01318359375, 0.024444580078125, -0.00681304931640625, 0.00354766845703125, 0.03277587890625, -0.0208892822265625, 0.0228729248046875, -0.0380859375, -0.051544189453125, -0.0251007080078125, -0.02239990234375, 0.034332275390625, 0.050262451171875, -0.020904541015625, 0.022613525390625, 0.015838623046875, 0.0025348663330078125, -0.0298309326171875, -0.054046630859375, 0.01476287841796875, 0.04107666015625, -0.0124969482421875, -0.0029087066650390625, 0.033599853515625, -0.0256195068359375, -0.0285186767578125, -0.0029296875, 0.005615234375, -0.003025054931640625, 0.026580810546875, -0.061004638671875, 0.052642822265625, 0.090576171875, 0.01690673828125, 0.05682373046875, 0.03302001953125, 0.0159759521484375, 0.030120849609375, 0.0222930908203125, -0.0215301513671875, -0.0477294921875, -0.00852203369140625, -0.00879669189453125, 0.008056640625, 0.006488800048828125, -0.003795623779296875, 0.01094818115234375, 0.052398681640625, 0.062744140625, -0.08587646484375, 0.01849365234375, 0.0182952880859375, 0.003932952880859375, 0.006927490234375, 0.0020542144775390625, -0.00440216064453125, 0.00856781005859375, -0.008514404296875, 0.006320953369140625, -0.0280914306640625, -0.0004963874816894531, 0.031646728515625, -0.0124664306640625, -0.013519287109375, 0.0655517578125, 0.020965576171875, -0.0223236083984375, 0.00543975830078125, 0.00312042236328125, 0.026153564453125, 0.0240020751953125, -0.02166748046875, -0.0131988525390625, -0.0352783203125, -0.023345947265625, -0.01397705078125, -0.05670166015625, -0.0025787353515625, 0.018524169921875, 0.001171112060546875, -0.010589599609375, 0.06488037109375, -0.02734375, 0.019195556640625, 0.04888916015625, -0.0294342041015625, 0.00917816162109375, 0.007965087890625, 0.0091094970703125, -0.020965576171875, -0.033966064453125, -0.00525665283203125, -0.053680419921875, -0.0055084228515625, -0.005374908447265625, 0.043304443359375, 0.0628662109375, -0.040679931640625, -0.0020771026611328125, 0.05633544921875, 0.056182861328125, -0.01486968994140625, 0.006572723388671875, 0.002674102783203125, -0.06536865234375, -0.08734130859375, 0.009674072265625, -0.08099365234375, 0.0163421630859375, 0.007503509521484375, -0.0266571044921875, 0.0869140625, -0.0258026123046875, 0.0214996337890625, 0.04888916015625, 0.0302581787109375, -0.0251312255859375, 0.023193359375, -0.022064208984375, 0.0272979736328125, 0.01776123046875, 0.028289794921875, -0.034881591796875, -0.00902557373046875, 0.019134521484375, 0.053741455078125, 0.0203094482421875, 0.01983642578125, -0.0711669921875, 0.01299285888671875, 0.022308349609375, -0.007801055908203125, -0.00118255615234375, 0.0667724609375, -0.00978851318359375, 0.01123809814453125, -0.005458831787109375, -0.0286712646484375, 0.0207366943359375, -0.038360595703125, -0.0350341796875, 0.00438690185546875, -0.0004634857177734375, -0.0236053466796875, 0.0021381378173828125, 0.00004100799560546875, -0.055145263671875, 0.0253143310546875, 0.035369873046875, 0.004917144775390625, 0.0269775390625, -0.005893707275390625, -0.0007333755493164062, -0.00357818603515625, 0.0308990478515625, -0.0286712646484375, 0.035430908203125, -0.014801025390625, -0.032958984375, 0.0236053466796875, 0.00888824462890625, -0.00437164306640625, 0.006320953369140625, -0.033233642578125, 0.020782470703125, 0.0030727386474609375, 0.0287628173828125, 0.0300445556640625, 0.034088134765625, -0.006397247314453125, -0.0115966796875, 0.0233306884765625, 0.048248291015625, -0.0265960693359375, -0.065673828125, 0.0166778564453125, 0.00640106201171875, 0.01090240478515625, 0.046173095703125, 0.03497314453125, -0.00971221923828125, 0.00940704345703125, -0.037445068359375, 0.005397796630859375, 0.05230712890625, -0.024017333984375, 0.0019588470458984375, 0.0287322998046875, -0.01213836669921875, 0.015594482421875, -0.033935546875, 0.005146026611328125, 0.034942626953125, 0.06817626953125, 0.0142974853515625, 0.054351806640625, -0.031585693359375, -0.035888671875, 0.00835418701171875, 0.039886474609375, -0.0164794921875, -0.0201263427734375, -0.0291595458984375, -0.0963134765625, 0.0265960693359375, 0.045654296875, 0.0478515625, 0.0323486328125, 0.0206146240234375, 0.0187835693359375, 0.0143280029296875, 0.0179595947265625, 0.058685302734375, -0.01100921630859375, 0.00786590576171875, -0.0136871337890625, -0.0596923828125, -0.044677734375, -0.04425048828125, -0.0093536376953125, -0.0030193328857421875, -0.027984619140625, 0.0199737548828125, 0.037017822265625, 0.0085906982421875, 0.0080108642578125, -0.00437164306640625, 0.01506805419921875, -0.00608062744140625, 0.041961669921875, -0.042205810546875, -0.0025787353515625, -0.004730224609375, -0.049346923828125, 0.00461578369140625, 0.03680419921875, 0.002101898193359375, -0.0122833251953125, -0.0216064453125, -0.004909515380859375, 0.02545166015625, 0.01387786865234375, -0.031341552734375, -0.003757476806640625, 0.0418701171875, -0.0223846435546875, -0.016204833984375, -0.0008058547973632812, 0.01641845703125, 0.0013866424560546875, 0.0306854248046875, 0.07073974609375, -0.021270751953125, 0.0133209228515625, -0.012969970703125, -0.04827880859375, 0.0259246826171875, 0.0092315673828125, -0.04510498046875, 0.0219879150390625, -0.0189666748046875, -0.00815582275390625, -0.02874755859375, 0.0161285400390625, 0.035125732421875, -0.037811279296875, 0.044769287109375, -0.01561737060546875, 0.0091400146484375, -0.046173095703125, -0.005764007568359375, -0.052490234375, -0.09051513671875, -0.09844970703125, 0.01267242431640625, 0.0039825439453125, 0.0170135498046875, -0.019195556640625, 0.029693603515625, 0.0355224609375, -0.005825042724609375, 0.01385498046875, -0.01450347900390625, 0.0224761962890625, 0.037017822265625, -0.0111236572265625, -0.035400390625, -0.0232086181640625, -0.00905609130859375, -0.0273895263671875, -0.004131317138671875, 0.0107269287109375, -0.0101470947265625, -0.015869140625, -0.034027099609375, 0.0026950836181640625, 0.0003306865692138672, -0.00955963134765625, 0.02020263671875, -0.0031719207763671875, -0.02557373046875, 0.00975799560546875, -0.020172119140625, -0.0150909423828125, -0.031341552734375, -0.0237274169921875, 0.00835418701171875, -0.01641845703125, -0.02288818359375, -0.016571044921875, 0.0164031982421875, 0.051300048828125, -0.009552001953125, -0.0517578125, 0.0312042236328125, -0.06573486328125, 0.05328369140625, 0.001804351806640625, -0.0145721435546875, -0.0184326171875, -0.0182952880859375, -0.00774383544921875, -0.013031005859375, -0.05328369140625, 0.030426025390625, -0.040802001953125, -0.00298309326171875, 0.032318115234375, 0.01153564453125, -0.025390625, -0.03179931640625, -0.0400390625, 0.022064208984375, -0.05084228515625, 0.0099639892578125, 0.00760650634765625, 0.016082763671875, -0.063232421875, -0.05908203125, 0.010345458984375, -0.041595458984375, -0.022003173828125, -0.027984619140625, -0.0020580291748046875, -0.00801849365234375, -0.05633544921875, -0.07666015625, 0.0271453857421875, -0.01538848876953125, -0.029998779296875, -0.06744384765625, -0.0153350830078125, -0.006500244140625, 0.053924560546875, -0.0085906982421875, -0.0140533447265625, -0.02685546875, 0.0416259765625, -0.00106048583984375, 0.037933349609375, -0.0287322998046875, -0.00356292724609375, 0.048919677734375, 0.049591064453125, 0.05389404296875, -0.0225982666015625, 0.0296173095703125, -0.031402587890625, 0.07000732421875, 0.0633544921875, -0.01287841796875, -0.0041656494140625, 0.018310546875, -0.05328369140625, -0.0271453857421875, 0.0093994140625, -0.0185546875, -0.00727081298828125, 0.0249176025390625, 0.099365234375, 0.0022640228271484375, -0.0253448486328125, -0.05401611328125, -0.06878662109375, -0.005779266357421875, -0.03607177734375, 0.0253143310546875, -0.09014892578125, -0.005138397216796875, 0.0279083251953125, -0.00290679931640625, 0.0160369873046875, 0.01267242431640625, -0.0235137939453125, 0.01200103759765625, 0.03271484375, -0.01100921630859375, -0.034912109375, -0.034454345703125, 0.072265625, -0.04559326171875, -0.00521087646484375, -0.0155487060546875, 0.036346435546875, 0.01611328125, -0.0185546875, -0.01434326171875, 0.03021240234375, -0.048187255859375, 0.0024776458740234375, -0.0012226104736328125, 0.00455474853515625, -0.03521728515625, 0.0109710693359375, 0.01384735107421875, 0.0131378173828125, -0.0285797119140625, 0.006603240966796875, 0.01183319091796875, 0.0265045166015625, -0.035491943359375, 0.0894775390625, -0.0036525726318359375, 0.049224853515625, -0.00518035888671875, 0.05206298828125, -0.045074462890625, -0.0030460357666015625, -0.033935546875, -0.006038665771484375, 0.0005192756652832031, 0.01415252685546875, 0.0197906494140625, -0.03399658203125, 0.035491943359375, -0.0262908935546875, 0.0276336669921875, 0.0176544189453125 ]
d8ced511e5732ab702a2730ebb1eb90d8cbfcaae
Wordpress Stackexchange Q: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7146491840906359738 bytes) We're on v4.4.10 and keep having to restart the web server due to this issue. I've read various other posts and increased the wp-config.php memory, but still get this error. [23-May-2017 11:39:43 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7146491840906359738 bytes) in D:\htdocs\wordpress\wp-includes\functions.php on line 4886 Line 4886 function is: function wp_is_stream( $path ) { $wrappers = stream_get_wrappers(); $wrappers_re = '(' . join('|', $wrappers) . ')'; return preg_match( "!^$wrappers_re://!", $path ) === 1; } Is there a way to test for the current length and if it's over a certain amount do something with it? A: Ater months of searching I stubmled upon this https://bugs.php.net/bug.php?id=72451 The bug is resolved in PHP 7.1.
Q: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7146491840906359738 bytes) We're on v4.4.10 and keep having to restart the web server due to this issue. I've read various other posts and increased the wp-config.php memory, but still get this error. [23-May-2017 11:39:43 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7146491840906359738 bytes) in D:\htdocs\wordpress\wp-includes\functions.php on line 4886 Line 4886 function is: function wp_is_stream( $path ) { $wrappers = stream_get_wrappers(); $wrappers_re = '(' . join('|', $wrappers) . ')'; return preg_match( "!^$wrappers_re://!", $path ) === 1; } Is there a way to test for the current length and if it's over a certain amount do something with it? A: Ater months of searching I stubmled upon this https://bugs.php.net/bug.php?id=72451 The bug is resolved in PHP 7.1.
wordpress
{ "language": "en", "length": 132, "provenance": "stackexchange_00019.jsonl.gz:476422", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/267797" }
[ 0.0151214599609375, -0.042144775390625, -0.006732940673828125, -0.046356201171875, -0.0193328857421875, -0.0149383544921875, 0.01270294189453125, 0.0233001708984375, 0.03759765625, 0.004840850830078125, -0.095703125, 0.006008148193359375, -0.02642822265625, 0.032470703125, -0.03125, -0.039520263671875, 0.045074462890625, -0.0152587890625, 0.023193359375, 0.005828857421875, -0.0087127685546875, 0.040374755859375, 0.00638580322265625, 0.03839111328125, -0.003177642822265625, 0.005245208740234375, 0.044921875, -0.03472900390625, -0.0278472900390625, -0.051910400390625, 0.004978179931640625, 0.053192138671875, 0.04034423828125, 0.01200103759765625, -0.0570068359375, -0.0296783447265625, 0.03564453125, -0.0255889892578125, -0.0350341796875, 0.050567626953125, 0.007015228271484375, -0.0004630088806152344, 0.0589599609375, -0.00225830078125, -0.01157379150390625, 0.0052642822265625, -0.011016845703125, -0.0238494873046875, 0.0301666259765625, 0.031646728515625, 0.0106658935546875, 0.047607421875, 0.01397705078125, 0.0169830322265625, -0.0211639404296875, -0.016754150390625, 0.0074615478515625, 0.0225982666015625, 0.0015516281127929688, 0.01177215576171875, 0.00506591796875, 0.03375244140625, 0.011444091796875, -0.001590728759765625, 0.0063323974609375, -0.0005698204040527344, 0.0153350830078125, 0.02679443359375, 0.014129638671875, 0.004848480224609375, 0.0024566650390625, 0.002941131591796875, -0.01169586181640625, 0.005619049072265625, 0.01505279541015625, -0.0272216796875, 0.0086517333984375, -0.01490020751953125, 0.0192108154296875, 0.024627685546875, 0.0023937225341796875, -0.05926513671875, -0.06793212890625, 0.0215301513671875, -0.01476287841796875, 0.0175628662109375, -0.0037975311279296875, -0.01348114013671875, 0.00997161865234375, -0.01039886474609375, -0.01132965087890625, -0.0142059326171875, 0.01837158203125, 0.01297760009765625, -0.033172607421875, -0.022674560546875, 0.013427734375, -0.024871826171875, -0.0389404296875, -0.05029296875, 0.0345458984375, -0.0462646484375, 0.0306243896484375, -0.0065765380859375, 0.020782470703125, 0.0092010498046875, -0.05450439453125, -0.033538818359375, 0.052520751953125, 0.041900634765625, 0.00395965576171875, -0.002727508544921875, -0.024383544921875, -0.04669189453125, 0.00753021240234375, 0.04766845703125, -0.0162506103515625, 0.0408935546875, 0.0268707275390625, 0.034332275390625, -0.00970458984375, 0.003475189208984375, 0.005390167236328125, 0.01311492919921875, -0.00220489501953125, -0.0030117034912109375, -0.0301666259765625, -0.007366180419921875, -0.0085296630859375, 0.0413818359375, -0.01187896728515625, -0.0035495758056640625, -0.01027679443359375, 0.014312744140625, -0.01125335693359375, -0.026641845703125, 0.034210205078125, 0.005481719970703125, -0.0067901611328125, 0.01409149169921875, 0.00634765625, -0.023651123046875, 0.00933837890625, -0.0098724365234375, 0.040985107421875, 0.04644775390625, 0.021514892578125, -0.0032863616943359375, 0.00482940673828125, -0.04742431640625, 0.02685546875, -0.0192413330078125, 0.0274200439453125, 0.02044677734375, -0.037139892578125, 0.0010051727294921875, 0.039581298828125, -0.0173797607421875, -0.0296478271484375, -0.060272216796875, -0.01953125, -0.01800537109375, 0.0176239013671875, -0.050018310546875, -0.005077362060546875, -0.0017232894897460938, -0.0413818359375, 0.0123443603515625, 0.0248870849609375, -0.0182037353515625, 0.0244293212890625, 0.01053619384765625, 0.0278167724609375, -0.0032978057861328125, -0.004314422607421875, 0.002826690673828125, 0.0263671875, -0.0038280487060546875, 0.01471710205078125, 0.034271240234375, -0.01364898681640625, -0.036895751953125, 0.05401611328125, -0.04998779296875, -0.00670623779296875, -0.024627685546875, 0.004974365234375, -0.00366973876953125, 0.027252197265625, 0.00922393798828125, -0.01251220703125, 0.00970458984375, 0.007762908935546875, 0.0347900390625, -0.026153564453125, -0.04864501953125, 0.0283966064453125, 0.02301025390625, -0.0202789306640625, -0.002033233642578125, 0.095703125, -0.0019273757934570312, -0.005855560302734375, -0.056427001953125, -0.1190185546875, 0.0017137527465820312, -0.029144287109375, 0.0330810546875, -0.014617919921875, 0.0258636474609375, 0.01348114013671875, -0.00251007080078125, -0.029205322265625, 0.0178985595703125, -0.0171356201171875, -0.006500244140625, -0.02239990234375, 0.04791259765625, -0.01018524169921875, 0.048431396484375, 0.0149993896484375, -0.034942626953125, 0.011444091796875, 0.01401519775390625, 0.0648193359375, -0.0282135009765625, -0.01702880859375, -0.04144287109375, 0.05621337890625, -0.00603485107421875, 0.00246429443359375, 0.060302734375, 0.01024627685546875, 0.037322998046875, -0.0221099853515625, -0.033477783203125, -0.03656005859375, -0.06292724609375, 0.022918701171875, 0.052520751953125, 0.0704345703125, 0.054351806640625, 0.005466461181640625, -0.040679931640625, 0.08355712890625, -0.053680419921875, 0.00756072998046875, -0.0556640625, -0.03375244140625, 0.006313323974609375, -0.0165863037109375, 0.0333251953125, 0.00199127197265625, 0.014190673828125, -0.01351165771484375, 0.038909912109375, -0.023162841796875, -0.044342041015625, -0.032318115234375, 0.041778564453125, 0.01111602783203125, 0.0172119140625, -0.0107421875, 0.0151214599609375, -0.0197601318359375, 0.00948333740234375, -0.00592803955078125, 0.0146484375, -0.005290985107421875, 0.015655517578125, 0.01055908203125, -0.05303955078125, -0.002277374267578125, -0.0241546630859375, -0.002101898193359375, 0.0008883476257324219, -0.0286865234375, 0.0323486328125, -0.0205230712890625, -0.02020263671875, -0.001956939697265625, 0.03582763671875, -0.0235443115234375, -0.0082244873046875, -0.03729248046875, -0.06634521484375, 0.01285552978515625, 0.04058837890625, 0.0216064453125, 0.0030231475830078125, 0.00830078125, 0.058868408203125, 0.010833740234375, 0.039276123046875, 0.052276611328125, -0.00554656982421875, 0.087158203125, -0.0189666748046875, 0.01419830322265625, -0.005985260009765625, 0.0877685546875, 0.042449951171875, -0.0295562744140625, 0.0233306884765625, -0.0000883936882019043, 0.0208892822265625, 0.039398193359375, -0.026641845703125, -0.02862548828125, 0.00628662109375, -0.053924560546875, -0.04522705078125, 0.0263671875, -0.0021572113037109375, 0.0018014907836914062, -0.01546478271484375, -0.014923095703125, 0.005748748779296875, -0.07928466796875, -0.0721435546875, -0.009674072265625, -0.03662109375, -0.011077880859375, 0.028533935546875, -0.02191162109375, -0.00507354736328125, 0.04345703125, 0.0031261444091796875, -0.0114898681640625, -0.0150909423828125, -0.042022705078125, -0.05767822265625, -0.0777587890625, -0.032745361328125, 0.0002696514129638672, 0.02734375, -0.005466461181640625, 0.038848876953125, -0.02923583984375, -0.091064453125, -0.06109619140625, -0.0023021697998046875, -0.0003993511199951172, 0.001194000244140625, -0.050323486328125, 0.027496337890625, -0.0027256011962890625, -0.00039958953857421875, 0.0232696533203125, 0.0140533447265625, -0.018157958984375, -0.0285491943359375, -0.0010633468627929688, 0.0010232925415039062, 0.00704193115234375, 0.0938720703125, 0.0010614395141601562, -0.03790283203125, 0.0323486328125, -0.061004638671875, -0.0282135009765625, -0.01180267333984375, -0.0672607421875, -0.0066375732421875, 0.06109619140625, -0.0032196044921875, -0.01413726806640625, -0.027008056640625, -0.04046630859375, 0.00467681884765625, -0.00511932373046875, -0.0556640625, 0.06463623046875, -0.01432037353515625, -0.0364990234375, -0.0005364418029785156, 0.059783935546875, -0.00213623046875, 0.01544952392578125, 0.031494140625, -0.0070343017578125, -0.006893157958984375, -0.0175018310546875, -0.04742431640625, -0.0238494873046875, 0.07147216796875, 0.01141357421875, -0.0146484375, -0.0184326171875, -0.05645751953125, 0.0058746337890625, 0.07818603515625, 0.031890869140625, -0.026336669921875, -0.011138916015625, 0.01580810546875, -0.03662109375, -0.029632568359375, 0.0114898681640625, -0.0006022453308105469, 0.019195556640625, -0.003520965576171875, -0.00995635986328125, -0.0224761962890625, -0.026519775390625, -0.0113067626953125, -0.0031871795654296875, -0.01177978515625, -0.003040313720703125, -0.04400634765625, -0.031982421875, 0.0034580230712890625, -0.03289794921875, -0.0496826171875, 0.02777099609375, -0.05426025390625, -0.1412353515625, -0.0217437744140625, -0.033172607421875, 0.090087890625, -0.0252838134765625, 0.03240966796875, -0.051513671875, 0.061248779296875, 0.0082550048828125, -0.00617218017578125, 0.0171966552734375, -0.00856781005859375, -0.0239715576171875, 0.0267486572265625, 0.0217437744140625, -0.01331329345703125, -0.02801513671875, -0.036956787109375, -0.00945281982421875, 0.0196075439453125, -0.004390716552734375, -0.0026111602783203125, -0.01148223876953125, 0.009796142578125, -0.0092926025390625, -0.0202789306640625, -0.04156494140625, 0.029052734375, -0.052459716796875, 0.0230865478515625, -0.048370361328125, -0.044097900390625, 0.0634765625, 0.0343017578125, -0.008758544921875, -0.00391387939453125, 0.0604248046875, -0.0106964111328125, -0.051727294921875, -0.07177734375, -0.048675537109375, 0.01611328125, -0.0194549560546875, -0.016632080078125, -0.0200347900390625, -0.00787353515625, 0.010162353515625, -0.02655029296875, 0.01739501953125, -0.000012814998626708984, 0.0089263916015625, 0.01395416259765625, -0.00894927978515625, 0.0028247833251953125, 0.03106689453125, -0.0080718994140625, 0.0235137939453125, 0.003849029541015625, 0.0090179443359375, -0.001598358154296875, -0.0050048828125, 0.0183868408203125, -0.0187530517578125, -0.00982666015625, -0.087890625, 0.05084228515625, -0.06585693359375, 0.02923583984375, -0.019683837890625, 0.0203094482421875, 0.074951171875, 0.035064697265625, -0.00433349609375, 0.01047515869140625, 0.029205322265625, 0.026214599609375, 0.046844482421875, 0.009033203125, 0.0290374755859375, -0.0276947021484375, 0.00875091552734375, 0.0100250244140625, 0.00875091552734375, -0.03472900390625, -0.0255126953125, 0.023895263671875, 0.0126953125, -0.00789642333984375, -0.01070404052734375, 0.0218963623046875, -0.013092041015625, 0.0157623291015625, -0.012939453125, -0.053985595703125, -0.0152130126953125, -0.023895263671875, 0.01441192626953125, -0.01062774658203125, -0.0196685791015625, 0.0225067138671875, 0.0251312255859375, -0.0119476318359375, 0.0179595947265625, 0.0021915435791015625, 0.059967041015625, 0.058319091796875, 0.051055908203125, 0.0247344970703125, -0.046905517578125, -0.0234832763671875, 0.047698974609375, -0.0302581787109375, -0.0198822021484375, -0.037445068359375, -0.0189361572265625, 0.0257415771484375, -0.05865478515625, 0.00612640380859375, 0.0745849609375, 0.0198211669921875, -0.006244659423828125, 0.037841796875, -0.0260162353515625, -0.09014892578125, 0.003429412841796875, 0.0193023681640625, 0.0299072265625, -0.06353759765625, -0.007328033447265625, 0.0099029541015625, -0.016326904296875, 0.00873565673828125, -0.0037860870361328125, -0.040985107421875, 0.0062103271484375, 0.01177978515625, -0.0239410400390625, -0.05426025390625, 0.0041961669921875, -0.0528564453125, 0.0457763671875, -0.033294677734375, -0.0140380859375, 0.031097412109375, -0.036163330078125, -0.0184783935546875, -0.00754547119140625, 0.0270233154296875, 0.0210113525390625, 0.03607177734375, -0.0187835693359375, -0.027008056640625, -0.022186279296875, 0.0035076141357421875, -0.038665771484375, -0.024658203125, 0.0194244384765625, -0.03179931640625, -0.04998779296875, -0.02850341796875, -0.0223388671875, 0.017181396484375, 0.01201629638671875, 0.03704833984375, -0.017669677734375, 0.0291290283203125, -0.002216339111328125, 0.036163330078125, -0.061737060546875, 0.01543426513671875, 0.05120849609375, -0.007617950439453125, -0.027008056640625, -0.024627685546875, 0.0498046875, 0.00844573974609375, 0.01476287841796875, -0.0049591064453125, -0.037811279296875, -0.019775390625, -0.00986480712890625, 0.0016126632690429688, 0.049285888671875, -0.02496337890625, -0.0012197494506835938, -0.0184783935546875, 0.004657745361328125, -0.02935791015625, 0.061981201171875, -0.01169586181640625, 0.0274810791015625, -0.01488494873046875, -0.005222320556640625, 0.03717041015625, -0.0099945068359375, -0.00875091552734375, 0.012298583984375, -0.02215576171875, 0.015289306640625, 0.002162933349609375, -0.01776123046875, 0.0227508544921875, 0.0677490234375, -0.0250701904296875, 0.03936767578125, 0.0198822021484375, 0.014404296875, 0.061492919921875, 0.025726318359375, -0.01617431640625, -0.054046630859375, 0.01123046875, 0.005016326904296875, -0.005756378173828125, -0.0092315673828125, 0.0013208389282226562, 0.00023853778839111328, -0.0212249755859375, 0.01163482666015625, 0.0035457611083984375, 0.01132965087890625, -0.005390167236328125, 0.0017442703247070312, 0.033447265625, -0.031219482421875, 0.00653839111328125, -0.004604339599609375, 0.0435791015625, 0.033416748046875, -0.0184326171875, 0.00836944580078125, 0.01202392578125, -0.004108428955078125, 0.005893707275390625, -0.017303466796875, 0.0011625289916992188, -0.058807373046875, 0.0181732177734375, 0.043487548828125, -0.0139312744140625, 0.00787353515625, 0.0278778076171875, -0.028350830078125, -0.01363372802734375, -0.02001953125, -0.0042877197265625, -0.04437255859375, -0.01360321044921875, -0.002971649169921875, 0.016998291015625, -0.025390625, 0.0269012451171875, -0.0205078125, -0.00830841064453125, 0.0269775390625, -0.048492431640625, -0.007053375244140625, -0.03216552734375, 0.0396728515625, 0.0560302734375, -0.036346435546875, 0.0308990478515625, 0.0176544189453125, -0.0283203125, 0.0050811767578125, -0.019134521484375, 0.0161285400390625, -0.016326904296875, 0.003978729248046875, 0.037261962890625, 0.010711669921875, -0.0400390625, 0.018280029296875, 0.0018110275268554688, -0.005970001220703125, -0.0052490234375, 0.0095977783203125, -0.017059326171875, 0.002315521240234375, 0.037200927734375, -0.0279083251953125, 0.0826416015625, -0.0160369873046875, -0.0019702911376953125, 0.035247802734375, 0.0249481201171875, -0.04046630859375, 0.01131439208984375, -0.0197296142578125, 0.035369873046875, 0.005435943603515625, 0.0194091796875, 0.006916046142578125, 0.0192413330078125, 0.01158905029296875, -0.004917144775390625, -0.00348663330078125, 0.00023555755615234375, -0.00102996826171875, -0.01328277587890625, 0.00547027587890625, 0.01009368896484375, -0.00208282470703125, 0.0255584716796875, -0.0021877288818359375, -0.0233612060546875, 0.02593994140625, -0.0138397216796875, 0.0209503173828125, -0.0081024169921875, -0.0024585723876953125, 0.0177154541015625, -0.01371002197265625, -0.025238037109375, -0.01497650146484375, 0.0104522705078125, 0.0113983154296875, -0.0096588134765625, -0.0171051025390625, -0.0110626220703125, -0.017364501953125, 0.00897216796875, 0.0199737548828125, -0.096435546875, -0.0400390625, -0.0255279541015625, 0.0401611328125, -0.0026378631591796875, -0.00494384765625, 0.0200958251953125, 0.0159759521484375, 0.042816162109375, -0.033905029296875, -0.009307861328125, 0.0084228515625, -0.01172637939453125, 0.043426513671875, 0.03289794921875, 0.0264129638671875, -0.018829345703125, 0.00012254714965820312, 0.042572021484375, 0.04876708984375, -0.04296875, -0.06634521484375, -0.0008540153503417969, 0.00826263427734375, 0.00939178466796875, 0.0406494140625, 0.0167388916015625, -0.0019702911376953125, 0.04345703125, -0.02142333984375, 0.001590728759765625, 0.0201873779296875, 0.01227569580078125, -0.0020275115966796875, -0.0023746490478515625, -0.00171661376953125, 0.00925445556640625, -0.0206451416015625, -0.048095703125, 0.00720977783203125, 0.03363037109375, 0.0269012451171875, 0.01125335693359375, 0.0154571533203125, -0.002285003662109375, -0.01427459716796875, 0.029022216796875, 0.0004968643188476562, -0.012847900390625, 0.015228271484375, -0.0108642578125, 0.0102386474609375, 0.024169921875, 0.00940704345703125, -0.01120758056640625, 0.01690673828125, 0.007305145263671875, -0.03955078125, -0.0167999267578125, -0.0225372314453125, -0.0303802490234375, -0.015838623046875, -0.051849365234375, 0.00479888916015625, -0.0085601806640625, -0.008392333984375, 0.0190887451171875, 0.01177215576171875, 0.006191253662109375, 0.054931640625, -0.046905517578125, 0.035797119140625, 0.0016279220581054688, -0.0009822845458984375, 0.040618896484375, -0.05963134765625, 0.0753173828125, -0.076416015625, -0.0067901611328125, -0.0156707763671875, 0.0253448486328125, -0.005115509033203125, 0.02154541015625, -0.034942626953125, 0.057464599609375, 0.00710296630859375, 0.00678253173828125, 0.00439453125, 0.00713348388671875, -0.0232086181640625, -0.004425048828125, 0.06976318359375, -0.00885009765625, -0.1138916015625, -0.077880859375, -0.058380126953125, 0.043914794921875, 0.00963592529296875, 0.057708740234375, 0.00038504600524902344, 0.0418701171875, 0.0110015869140625, 0.00408935546875, 0.024139404296875, 0.00933837890625, -0.01314544677734375, 0.0158233642578125, 0.01910400390625, -0.03204345703125, -0.066162109375, 0.026458740234375, 0.0272674560546875, -0.01556396484375, 0.040252685546875, -0.0158843994140625, 0.01186370849609375, -0.028350830078125, -0.00579071044921875, -0.027191162109375, -0.024169921875, 0.022918701171875, 0.032867431640625, -0.01373291015625, 0.022796630859375, 0.003055572509765625, 0.0099029541015625, 0.011871337890625, -0.035400390625, -0.00829315185546875, -0.01348876953125, 0.0036296844482421875, 0.032867431640625, -0.007659912109375, -0.050201416015625, -0.037353515625, -0.02447509765625, -0.0210113525390625, -0.009674072265625, 0.041229248046875, -0.033111572265625, -0.04315185546875, 0.02130126953125, 0.0251922607421875, 0.0298614501953125, -0.01568603515625, -0.00733184814453125, 0.0173187255859375, 0.006000518798828125, 0.0113677978515625, 0.002166748046875, 0.002124786376953125, -0.03466796875, -0.01739501953125, 0.0035953521728515625, -0.01690673828125, 0.0148162841796875, 0.0251617431640625, 0.02197265625, 0.031158447265625, 0.035003662109375, -0.050689697265625, 0.060516357421875, -0.0284576416015625, -0.03082275390625, 0.05145263671875, -0.033538818359375, -0.010406494140625, 0.004489898681640625, -0.0183258056640625, -0.0689697265625, -0.042388916015625, 0.05908203125, -0.034149169921875, 0.033355712890625, 0.065185546875, -0.016082763671875, -0.046142578125, 0.04290771484375, 0.0026874542236328125, 0.0869140625, -0.04779052734375, -0.00909423828125, 0.028656005859375, -0.00507354736328125, -0.02166748046875, -0.07733154296875, 0.0064239501953125, -0.070068359375, 0.0094146728515625, -0.01934814453125, 0.0249481201171875, 0.0208282470703125, -0.017547607421875, -0.027923583984375, -0.03955078125, 0.0137481689453125, -0.027374267578125, -0.061798095703125, -0.00720977783203125, -0.007617950439453125, 0.0078887939453125, -0.0112762451171875, -0.014892578125, -0.01454925537109375, 0.059326171875, 0.00439453125, -0.0384521484375, 0.03411865234375, 0.00554656982421875, -0.024139404296875, 0.0251922607421875, 0.0340576171875, -0.032806396484375, -0.0195159912109375, 0.010833740234375, 0.048553466796875, 0.0660400390625, 0.0308990478515625, 0.0240936279296875, 0.0400390625, -0.0794677734375, 0.00829315185546875, -0.0245208740234375, -0.04473876953125, -0.005245208740234375, 0.0882568359375, 0.054443359375, 0.022216796875, -0.0452880859375, 0.010040283203125, -0.027618408203125, -0.00931549072265625, -0.01568603515625, 0.01386260986328125, -0.062469482421875, -0.006549835205078125, 0.0021343231201171875, 0.01898193359375, -0.0111083984375, 0.0176544189453125, 0.0151214599609375, -0.0174713134765625, 0.02874755859375, -0.027099609375, 0.0093841552734375, -0.0253448486328125, 0.00783538818359375, -0.01044464111328125, -0.0007486343383789062, -0.0265655517578125, 0.023590087890625, -0.01445770263671875, -0.04302978515625, -0.021942138671875, -0.01004791259765625, -0.03594970703125, 0.02142333984375, -0.02630615234375, 0.041229248046875, -0.030120849609375, -0.0113372802734375, 0.0069427490234375, -0.007091522216796875, -0.004364013671875, 0.0023517608642578125, -0.0029773712158203125, -0.01264190673828125, -0.0250701904296875, 0.005359649658203125, -0.01390838623046875, -0.024749755859375, 0.006011962890625, 0.0103607177734375, 0.003849029541015625, -0.0189208984375, 0.03900146484375, -0.0278167724609375, 0.0038127899169921875, 0.0257415771484375, -0.02252197265625, -0.0322265625, -0.0117950439453125, 0.0137176513671875, 0.0109710693359375, -0.002834320068359375 ]
5fe6087e7c86a6ff47016b2b1715c51a8024a821
Wordpress Stackexchange Q: How can I get logged in user's session data from admin-ajax? I have hooked an ajax call for a logged-in user, and now I need to catch his data inside the receiving call (the code that receives the action call). How can I get the user's ID reliably? This code is inside my plugin definition file and the code inside the function (error_log("we're in....kind of");) is being called: add_action( 'wp_ajax_create_team', 'create_team' ); function create_team() { error_log("we're in....kind of"); } } A: wp_get_current_user will get you the WP_User object for the currently logged-in user: add_action( 'wp_ajax_create_team', 'create_team' ); function create_team() { $current_user = wp_get_current_user(); echo $current_user->ID; die; }
Q: How can I get logged in user's session data from admin-ajax? I have hooked an ajax call for a logged-in user, and now I need to catch his data inside the receiving call (the code that receives the action call). How can I get the user's ID reliably? This code is inside my plugin definition file and the code inside the function (error_log("we're in....kind of");) is being called: add_action( 'wp_ajax_create_team', 'create_team' ); function create_team() { error_log("we're in....kind of"); } } A: wp_get_current_user will get you the WP_User object for the currently logged-in user: add_action( 'wp_ajax_create_team', 'create_team' ); function create_team() { $current_user = wp_get_current_user(); echo $current_user->ID; die; } A: If you want specific data for your ajax hook, you need to send it with your request. <script> jQuery(document).ready(function($) { var data = { 'action': 'my_action', 'user_id': 1234 }; jQuery.post(ajaxurl, data, function(response) { alert('Got this from the server: ' + response); }); }); </script> often times wp_localize_script is used as a handy way to output php data as javascript objects that you can then read from the window object.
wordpress
{ "language": "en", "length": 178, "provenance": "stackexchange_00019.jsonl.gz:476438", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/267855" }
[ 0.07830810546875, 0.0367431640625, -0.027923583984375, -0.061248779296875, 0.05572509765625, -0.032623291015625, 0.03485107421875, -0.00356292724609375, -0.016693115234375, 0.026092529296875, -0.04998779296875, 0.029449462890625, -0.0450439453125, -0.0017709732055664062, -0.0229644775390625, -0.05255126953125, 0.028961181640625, -0.054290771484375, -0.003932952880859375, -0.01806640625, 0.006305694580078125, -0.01042938232421875, 0.027984619140625, 0.03704833984375, 0.001953125, -0.002838134765625, 0.0026988983154296875, 0.0207061767578125, 0.0195770263671875, 0.0127410888671875, -0.0002028942108154297, -0.033294677734375, -0.002819061279296875, 0.004955291748046875, 0.0031223297119140625, -0.01232147216796875, 0.0208740234375, 0.00173187255859375, 0.025115966796875, 0.01416015625, 0.040863037109375, -0.021881103515625, -0.035247802734375, 0.00421142578125, -0.0384521484375, -0.042724609375, 0.055023193359375, 0.0112762451171875, 0.0016946792602539062, 0.03826904296875, 0.00951385498046875, 0.0256195068359375, 0.006328582763671875, 0.02978515625, 0.005542755126953125, 0.005489349365234375, -0.037994384765625, 0.00188446044921875, 0.051361083984375, -0.00832366943359375, -0.0200653076171875, -0.06304931640625, 0.04443359375, -0.0247039794921875, -0.00023436546325683594, -0.0066375732421875, 0.014129638671875, 0.037811279296875, 0.01471710205078125, -0.00567626953125, -0.0163116455078125, 0.01103973388671875, -0.0297698974609375, 0.0174407958984375, -0.0467529296875, -0.035552978515625, 0.041412353515625, -0.037139892578125, -0.018768310546875, 0.035614013671875, -0.00250244140625, -0.0228271484375, -0.060638427734375, 0.05419921875, -0.022979736328125, 0.06390380859375, -0.0196990966796875, -0.02593994140625, -0.0004181861877441406, -0.0031337738037109375, -0.0180511474609375, -0.04180908203125, 0.0428466796875, 0.01110076904296875, -0.03704833984375, -0.021484375, 0.00820159912109375, 0.0167236328125, -0.01024627685546875, -0.0238189697265625, -0.0103302001953125, -0.021514892578125, -0.03387451171875, 0.0013141632080078125, 0.00893402099609375, 0.025970458984375, 0.0182037353515625, 0.01104736328125, 0.0189208984375, -0.0013437271118164062, -0.010162353515625, 0.016937255859375, -0.0009331703186035156, -0.004940032958984375, -0.01451873779296875, 0.0394287109375, 0.001186370849609375, -0.004329681396484375, -0.017730712890625, 0.01338958740234375, -0.0299835205078125, -0.0119171142578125, -0.02764892578125, 0.02752685546875, 0.034393310546875, 0.0104217529296875, 0.004970550537109375, 0.0257568359375, -0.033355712890625, -0.005794525146484375, -0.03271484375, 0.03802490234375, 0.07550048828125, 0.0282745361328125, 0.0062713623046875, -0.0122222900390625, 0.038482666015625, -0.0195770263671875, -0.01371002197265625, 0.01049041748046875, -0.0099639892578125, -0.032745361328125, -0.0234375, -0.03167724609375, -0.02423095703125, 0.016021728515625, 0.0031414031982421875, 0.003662109375, -0.0018301010131835938, -0.0220489501953125, -0.034515380859375, -0.01378631591796875, -0.03759765625, 0.053436279296875, 0.08380126953125, 0.0389404296875, 0.08203125, -0.026885986328125, 0.020751953125, 0.01512908935546875, 0.060699462890625, -0.0009164810180664062, -0.0237884521484375, 0.0218658447265625, -0.0027103424072265625, -0.019287109375, -0.0300140380859375, 0.00823974609375, 0.041900634765625, 0.04986572265625, 0.02423095703125, -0.0238037109375, 0.043853759765625, 0.00849151611328125, -0.030975341796875, -0.00876617431640625, -0.0367431640625, 0.035552978515625, 0.035003662109375, -0.048553466796875, -0.040771484375, -0.03448486328125, 0.042724609375, 0.0009608268737792969, -0.01239776611328125, 0.059234619140625, 0.0153350830078125, 0.052642822265625, -0.0091705322265625, 0.0085296630859375, -0.00272369384765625, 0.045806884765625, -0.018218994140625, 0.0024547576904296875, 0.0033206939697265625, -0.0308837890625, -0.006862640380859375, -0.0169677734375, -0.01515960693359375, 0.034332275390625, 0.046966552734375, 0.0021915435791015625, 0.01352691650390625, -0.025115966796875, -0.0765380859375, 0.003246307373046875, -0.02496337890625, 0.043853759765625, 0.008880615234375, 0.0171051025390625, -0.0037078857421875, -0.0138702392578125, 0.00576019287109375, -0.039093017578125, -0.012451171875, 0.0149078369140625, -0.040740966796875, 0.06396484375, -0.018890380859375, 0.09320068359375, -0.041839599609375, -0.04681396484375, -0.0312347412109375, -0.049468994140625, 0.01934814453125, 0.0061798095703125, -0.01294708251953125, -0.0014705657958984375, 0.051849365234375, 0.002590179443359375, 0.0458984375, -0.01551055908203125, 0.01477813720703125, 0.08551025390625, -0.00580596923828125, -0.02886962890625, -0.0009551048278808594, -0.034393310546875, 0.02740478515625, 0.025482177734375, 0.0291900634765625, 0.038665771484375, 0.01013946533203125, 0.036346435546875, 0.00885009765625, -0.03155517578125, 0.031646728515625, -0.00412750244140625, 0.0142059326171875, 0.052734375, 0.0265960693359375, 0.0011110305786132812, 0.005008697509765625, -0.04486083984375, 0.0145111083984375, 0.0278472900390625, -0.026885986328125, -0.0172119140625, -0.037200927734375, -0.0030117034912109375, 0.0013360977172851562, -0.059326171875, -0.014739990234375, -0.0318603515625, 0.022918701171875, -0.0160369873046875, 0.03802490234375, 0.03253173828125, -0.0038585662841796875, -0.0230865478515625, 0.0092926025390625, -0.0036602020263671875, 0.0073699951171875, 0.0258636474609375, 0.041900634765625, 0.005886077880859375, -0.034423828125, -0.02685546875, 0.06341552734375, 0.0233306884765625, -0.001708984375, 0.031585693359375, -0.00218963623046875, -0.019500732421875, 0.002010345458984375, -0.007080078125, -0.001293182373046875, -0.0194244384765625, 0.0250244140625, -0.00042939186096191406, 0.03375244140625, 0.0186767578125, -0.01404571533203125, 0.0628662109375, -0.037750244140625, -0.0201568603515625, 0.06536865234375, -0.01415252685546875, 0.020050048828125, -0.0201873779296875, 0.057861328125, 0.0528564453125, 0.01482391357421875, -0.029541015625, 0.0014247894287109375, -0.029754638671875, -0.00560760498046875, -0.0035533905029296875, -0.0007429122924804688, -0.0253753662109375, 0.016998291015625, 0.07635498046875, 0.03778076171875, 0.10675048828125, -0.017059326171875, -0.053131103515625, 0.00508880615234375, 0.038970947265625, -0.06011962890625, -0.09185791015625, -0.0391845703125, -0.09521484375, 0.001445770263671875, -0.036895751953125, -0.03546142578125, 0.0247802734375, 0.005306243896484375, 0.0238494873046875, -0.03125, -0.0023021697998046875, -0.0214691162109375, -0.038421630859375, -0.034393310546875, 0.014739990234375, -0.0105743408203125, -0.0070343017578125, -0.0027942657470703125, -0.0298309326171875, -0.00799560546875, -0.028533935546875, -0.0235443115234375, 0.059478759765625, -0.0064849853515625, -0.0648193359375, -0.031768798828125, 0.0007686614990234375, 0.0075836181640625, -0.001834869384765625, -0.00368499755859375, 0.008209228515625, 0.0090484619140625, -0.00777435302734375, 0.00466156005859375, -0.017425537109375, 0.04351806640625, 0.00009065866470336914, -0.034637451171875, 0.04168701171875, 0.08123779296875, -0.018341064453125, 0.01181793212890625, -0.003894805908203125, -0.024810791015625, -0.0060577392578125, 0.00970458984375, -0.0222015380859375, 0.00959014892578125, -0.0294342041015625, 0.043609619140625, 0.0201568603515625, -0.0284881591796875, 0.01277923583984375, 0.021087646484375, 0.00849151611328125, 0.042144775390625, 0.001102447509765625, 0.058074951171875, -0.0006208419799804688, -0.018585205078125, 0.0017347335815429688, 0.0012187957763671875, -0.00229644775390625, -0.0244903564453125, -0.023406982421875, -0.04498291015625, 0.0458984375, 0.007427215576171875, -0.01200103759765625, -0.010284423828125, -0.0264129638671875, 0.017120361328125, 0.07464599609375, 0.00824737548828125, -0.021240234375, -0.0164947509765625, 0.0104522705078125, -0.056488037109375, -0.042938232421875, -0.0274200439453125, 0.005489349365234375, -0.0186767578125, -0.00469970703125, -0.00809478759765625, -0.011474609375, -0.0178680419921875, 0.05218505859375, -0.019683837890625, -0.020904541015625, 0.0218505859375, -0.022674560546875, 0.01201629638671875, -0.007503509521484375, 0.01010894775390625, -0.030914306640625, 0.004741668701171875, -0.01306915283203125, -0.05462646484375, -0.01329803466796875, -0.07135009765625, 0.083740234375, 0.05865478515625, -0.04388427734375, -0.007793426513671875, 0.019073486328125, -0.0215911865234375, -0.003871917724609375, 0.007495880126953125, 0.0208282470703125, 0.040863037109375, -0.0093841552734375, -0.016082763671875, -0.0175323486328125, -0.00292205810546875, -0.031829833984375, 0.00559234619140625, -0.004032135009765625, -0.0660400390625, 0.001190185546875, -0.061431884765625, 0.00720977783203125, -0.07171630859375, -0.05029296875, -0.01116943359375, 0.0296478271484375, -0.0167388916015625, 0.0287322998046875, -0.044830322265625, -0.08013916015625, 0.0594482421875, 0.01020050048828125, -0.01136016845703125, -0.0221099853515625, 0.048675537109375, 0.024444580078125, -0.03326416015625, 0.0140228271484375, 0.0218963623046875, 0.04833984375, -0.040435791015625, 0.05694580078125, 0.037261962890625, -0.0382080078125, 0.082763671875, 0.006427764892578125, 0.04638671875, -0.019927978515625, 0.0384521484375, -0.009033203125, -0.0118255615234375, 0.0291290283203125, 0.0173187255859375, -0.06304931640625, -0.01580810546875, -0.01424407958984375, -0.000058650970458984375, 0.01065826416015625, 0.0192108154296875, -0.029815673828125, 0.04705810546875, 0.006744384765625, -0.04803466796875, 0.0237579345703125, -0.0711669921875, 0.0177459716796875, 0.0123443603515625, -0.005832672119140625, 0.01325225830078125, -0.00826263427734375, -0.01006317138671875, 0.014404296875, -0.0034046173095703125, 0.01450347900390625, 0.032989501953125, -0.01210784912109375, -0.0164337158203125, 0.007457733154296875, -0.0080718994140625, 0.06396484375, -0.0275421142578125, -0.052154541015625, 0.00835418701171875, -0.039886474609375, -0.00801849365234375, 0.04119873046875, -0.0033054351806640625, 0.01503753662109375, 0.020843505859375, -0.001415252685546875, -0.00860595703125, -0.01386260986328125, -0.0014295578002929688, -0.0199737548828125, 0.032318115234375, -0.00592803955078125, 0.0156097412109375, 0.0179901123046875, 0.08251953125, 0.0208740234375, 0.0531005859375, -0.04156494140625, 0.068359375, 0.01294708251953125, 0.053985595703125, 0.0019378662109375, -0.00937652587890625, 0.0058746337890625, 0.0193328857421875, -0.037628173828125, -0.0174713134765625, 0.0244140625, 0.01214599609375, 0.0175933837890625, 0.039703369140625, -0.0101318359375, 0.0018911361694335938, -0.041717529296875, 0.00624847412109375, 0.0382080078125, 0.006084442138671875, -0.042449951171875, -0.0312347412109375, -0.0077972412109375, 0.01418304443359375, -0.0307464599609375, 0.00940704345703125, 0.01245880126953125, 0.0001379251480102539, 0.0249481201171875, -0.002857208251953125, -0.00463104248046875, -0.02880859375, -0.00904083251953125, -0.055206298828125, -0.026519775390625, 0.0009660720825195312, -0.025665283203125, -0.007091522216796875, -0.0047454833984375, -0.0297698974609375, 0.031280517578125, -0.007747650146484375, 0.004261016845703125, -0.02459716796875, -0.00511932373046875, -0.0401611328125, 0.00890350341796875, 0.034698486328125, 0.00605010986328125, -0.01395416259765625, -0.00588226318359375, -0.038909912109375, -0.0182647705078125, 0.0360107421875, -0.0194244384765625, -0.0028095245361328125, -0.0343017578125, 0.00910186767578125, 0.0295867919921875, 0.0093841552734375, 0.007625579833984375, -0.01204681396484375, 0.00955963134765625, -0.0010271072387695312, 0.060455322265625, 0.00579833984375, 0.08123779296875, -0.00689697265625, 0.04559326171875, 0.02764892578125, 0.034820556640625, -0.0643310546875, -0.01264190673828125, 0.01263427734375, 0.007511138916015625, 0.00482177734375, -0.039703369140625, 0.032073974609375, -0.037750244140625, 0.033721923828125, -0.0012426376342773438, -0.0225067138671875, 0.0180511474609375, 0.00673675537109375, -0.0055694580078125, -0.01229095458984375, 0.0738525390625, -0.0291290283203125, 0.0308380126953125, -0.0226898193359375, -0.0258636474609375, -0.0015611648559570312, 0.0028247833251953125, 0.01030731201171875, -0.004161834716796875, -0.01493072509765625, 0.0141143798828125, -0.0125885009765625, 0.0169525146484375, 0.054718017578125, 0.0005688667297363281, 0.04400634765625, 0.043853759765625, 0.0207366943359375, 0.0311279296875, 0.050872802734375, -0.03662109375, -0.048980712890625, 0.0465087890625, 0.00940704345703125, -0.002239227294921875, 0.029754638671875, -0.014556884765625, 0.025238037109375, 0.03192138671875, 0.0711669921875, -0.07427978515625, 0.039398193359375, -0.0041961669921875, -0.01541900634765625, 0.04132080078125, -0.015899658203125, 0.0020389556884765625, -0.017333984375, 0.0307159423828125, -0.01259613037109375, -0.0227813720703125, 0.0132598876953125, -0.0107574462890625, -0.0193939208984375, -0.0517578125, 0.016387939453125, -0.0026950836181640625, 0.0181884765625, -0.00408172607421875, -0.0227508544921875, -0.002521514892578125, -0.0167388916015625, 0.02154541015625, 0.027862548828125, 0.00007730722427368164, -0.031402587890625, 0.05133056640625, -0.0070648193359375, -0.019775390625, 0.022857666015625, -0.0028972625732421875, 0.0806884765625, 0.04840087890625, 0.01462554931640625, -0.0217132568359375, 0.01409912109375, 0.00916290283203125, -0.02490234375, -0.0299072265625, -0.0147705078125, 0.026092529296875, -0.042877197265625, 0.0147247314453125, -0.02923583984375, 0.01311492919921875, 0.006015777587890625, -0.0265960693359375, 0.051788330078125, -0.030364990234375, -0.0134124755859375, 0.0301055908203125, 0.023193359375, -0.01551055908203125, -0.01218414306640625, 0.0028533935546875, -0.03271484375, -0.0053558349609375, -0.0010843276977539062, -0.02252197265625, 0.037139892578125, 0.0200347900390625, -0.050201416015625, 0.01629638671875, 0.016937255859375, 0.0137939453125, -0.0003807544708251953, 0.0008044242858886719, -0.007251739501953125, -0.01039886474609375, -0.05548095703125, 0.01200103759765625, -0.016021728515625, 0.0501708984375, -0.051177978515625, -0.0005197525024414062, 0.0058441162109375, 0.01092529296875, 0.073974609375, 0.0251007080078125, -0.0141754150390625, -0.0643310546875, -0.05828857421875, -0.0008845329284667969, -0.044464111328125, 0.036895751953125, 0.0283660888671875, 0.034637451171875, 0.052734375, 0.00716400146484375, 0.037994384765625, -0.01064300537109375, -0.007656097412109375, 0.060943603515625, 0.0146484375, -0.01043701171875, 0.0036754608154296875, 0.03656005859375, -0.051666259765625, 0.00824737548828125, 0.034088134765625, -0.012908935546875, 0.01403045654296875, 0.03729248046875, 0.032958984375, 0.0184173583984375, 0.005161285400390625, -0.0273284912109375, 0.039031982421875, -0.0016326904296875, 0.005588531494140625, 0.031646728515625, 0.01837158203125, -0.0062103271484375, 0.01071929931640625, -0.009124755859375, 0.0145416259765625, -0.0098114013671875, 0.03863525390625, 0.029205322265625, 0.02056884765625, -0.062042236328125, -0.05413818359375, 0.060150146484375, 0.0897216796875, -0.0284576416015625, -0.023345947265625, 0.01010894775390625, 0.003997802734375, 0.027984619140625, 0.04913330078125, 0.09307861328125, 0.06060791015625, 0.0290374755859375, -0.04779052734375, -0.00873565673828125, 0.0143890380859375, 0.0142669677734375, -0.00553131103515625, -0.02734375, -0.023040771484375, -0.0162353515625, -0.040740966796875, -0.0231781005859375, 0.004215240478515625, -0.00003826618194580078, 0.0504150390625, -0.0114288330078125, 0.044891357421875, -0.005901336669921875, 0.0181732177734375, -0.00510406494140625, 0.004985809326171875, -0.01155853271484375, 0.00614166259765625, 0.00324249267578125, 0.004886627197265625, 0.01457977294921875, -0.00885009765625, 0.0211639404296875, 0.009307861328125, -0.023101806640625, -0.036651611328125, -0.0145111083984375, -0.004001617431640625, -0.0479736328125, 0.010467529296875, -0.0164031982421875, 0.0411376953125, 0.031341552734375, 0.00266265869140625, -0.0251007080078125, 0.0245513916015625, 0.0386962890625, -0.0400390625, 0.09210205078125, -0.0182037353515625, -0.0020236968994140625, 0.032135009765625, -0.02056884765625, 0.0662841796875, -0.0209808349609375, -0.07232666015625, 0.017242431640625, -0.0628662109375, -0.040435791015625, 0.03753662109375, 0.0313720703125, -0.02716064453125, 0.04351806640625, 0.0223388671875, 0.007022857666015625, 0.00970458984375, -0.023406982421875, 0.0231170654296875, -0.0018157958984375, 0.01544952392578125, 0.015106201171875, -0.01540374755859375, -0.0025424957275390625, 0.0097808837890625, -0.0057830810546875, 0.0252227783203125, -0.0179290771484375, 0.029083251953125, 0.01568603515625, -0.031402587890625, 0.0219879150390625, -0.05047607421875, -0.038421630859375, 0.056396484375, -0.0265045166015625, -0.0321044921875, 0.0146484375, -0.0828857421875, 0.0560302734375, -0.00628662109375, 0.038909912109375, 0.039276123046875, -0.00447845458984375, 0.00921630859375, 0.0286102294921875, 0.0165557861328125, -0.0299072265625, -0.0552978515625, -0.06768798828125, -0.00511932373046875, 0.0302276611328125, 0.02996826171875, -0.00977325439453125, 0.0093231201171875, -0.03179931640625, -0.029449462890625, 0.0038051605224609375, -0.01404571533203125, -0.008880615234375, 0.02313232421875, -0.025543212890625, 0.00047278404235839844, -0.00878143310546875, -0.01580810546875, 0.020172119140625, 0.004711151123046875, 0.00537109375, 0.0084381103515625, 0.0082244873046875, 0.031341552734375, 0.005970001220703125, 0.038787841796875, -0.0046539306640625, 0.005054473876953125, 0.01502227783203125, 0.0096282958984375, -0.0029964447021484375, -0.06488037109375, -0.045501708984375, -0.0621337890625, 0.0208587646484375, 0.05010986328125, -0.0159912109375, -0.0218505859375, -0.08819580078125, 0.0003352165222167969, 0.01485443115234375, 0.0015172958374023438, -0.03424072265625, 0.00893402099609375, -0.0123443603515625, 0.034515380859375, -0.0200958251953125, -0.0283355712890625, 0.01206207275390625, 0.0276031494140625, -0.011993408203125, 0.01323699951171875, -0.0230865478515625, -0.013671875, 0.005619049072265625, -0.01242828369140625, -0.00008165836334228516, 0.018463134765625, -0.03961181640625, 0.0100860595703125, -0.039794921875, 0.05035400390625, -0.02093505859375, -0.0222625732421875, -0.005863189697265625, 0.0247802734375, 0.0120086669921875, -0.0110931396484375, -0.00585174560546875, 0.01125335693359375, -0.01038360595703125, -0.00789642333984375, 0.0251617431640625, 0.04644775390625, -0.01482391357421875, -0.0272674560546875, 0.05401611328125, -0.00995635986328125, -0.0224761962890625, -0.0192413330078125, 0.0258026123046875, 0.0240325927734375, -0.076904296875, -0.0325927734375, -0.031951904296875, -0.0164642333984375, 0.0117340087890625, 0.027496337890625, -0.0283966064453125, 0.07733154296875, -0.01873779296875, -0.08575439453125, -0.0253753662109375, -0.031646728515625, 0.03265380859375, -0.037445068359375, 0.0157012939453125, 0.03131103515625, 0.031402587890625, -0.0019359588623046875, 0.044921875, 0.03436279296875, 0.00562286376953125, -0.022857666015625, -0.037017822265625, 0.019287109375, 0.007480621337890625, 0.053253173828125, 0.01953125, -0.0031490325927734375, -0.0390625, -0.0300140380859375, -0.05584716796875, -0.01380157470703125, -0.0208740234375, -0.007476806640625, -0.059295654296875, 0.0182647705078125, -0.008270263671875, -0.030059814453125, -0.0279693603515625, 0.046234130859375, -0.04541015625, -0.0003418922424316406, 0.03936767578125, -0.0143585205078125, -0.00583648681640625, -0.0013275146484375, 0.018218994140625, -0.029632568359375, -0.0382080078125, 0.0033016204833984375, 0.0026073455810546875, -0.02587890625, -0.021820068359375, -0.00807952880859375, 0.0457763671875, -0.057373046875, 0.00991058349609375, 0.00009381771087646484, 0.01483154296875, -0.033355712890625, 0.0006299018859863281, -0.0178985595703125, 0.01593017578125, -0.0137176513671875, 0.02935791015625, 0.03533935546875, -0.0262451171875, 0.004669189453125, -0.00426483154296875, -0.01171112060546875, -0.018463134765625, -0.0280914306640625, 0.0352783203125, 0.0179290771484375, -0.02593994140625, 0.050933837890625, -0.0266876220703125, -0.00882720947265625, 0.021942138671875, 0.017333984375, -0.050262451171875, 0.03369140625, 0.00855255126953125, 0.039642333984375, 0.016143798828125 ]
f85ef0d3a42eb82bb9b757856dc9ea20556e10b9
Wordpress Stackexchange Q: Can i change wordpress emoji src from http://s.w.org/ to my site? Can I change WordPress emoji src from http://s.w.org/ to my site? I just want to replace all emoji links from http://s.w.org/ to my site URL and I will use my own emoji images. A: Yes, you can use the emoji_url filter. Note there are a few other filters available as well. A simple example would be add_filter( 'emoji_url', function( $url ) { return 'https://www.myowndomain.com/emoji/72x72/'; } );
Q: Can i change wordpress emoji src from http://s.w.org/ to my site? Can I change WordPress emoji src from http://s.w.org/ to my site? I just want to replace all emoji links from http://s.w.org/ to my site URL and I will use my own emoji images. A: Yes, you can use the emoji_url filter. Note there are a few other filters available as well. A simple example would be add_filter( 'emoji_url', function( $url ) { return 'https://www.myowndomain.com/emoji/72x72/'; } );
wordpress
{ "language": "en", "length": 78, "provenance": "stackexchange_00019.jsonl.gz:476597", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/268396" }
[ 0.103759765625, -0.0164642333984375, 0.085205078125, 0.006450653076171875, -0.01568603515625, -0.0236663818359375, 0.081298828125, -0.043487548828125, 0.0145111083984375, 0.0029773712158203125, -0.00843048095703125, -0.044677734375, 0.0310211181640625, -0.037353515625, 0.01175689697265625, -0.0328369140625, 0.0161285400390625, 0.018951416015625, 0.043670654296875, -0.0231781005859375, 0.015716552734375, -0.01120758056640625, 0.05328369140625, 0.01776123046875, 0.0205078125, -0.05126953125, 0.122802734375, -0.07977294921875, 0.049224853515625, -0.029754638671875, 0.027496337890625, -0.01385498046875, 0.0107574462890625, 0.046112060546875, -0.047271728515625, -0.01190185546875, -0.03765869140625, 0.036712646484375, -0.0115203857421875, 0.02374267578125, 0.04547119140625, -0.032562255859375, -0.0026092529296875, 0.0203857421875, 0.004222869873046875, -0.041290283203125, 0.05194091796875, -0.045501708984375, 0.00009840726852416992, -0.0113372802734375, 0.0233917236328125, 0.0174407958984375, 0.0230865478515625, -0.003360748291015625, -0.004329681396484375, 0.0216522216796875, -0.01522064208984375, 0.04248046875, 0.0092620849609375, -0.0036907196044921875, -0.01041412353515625, 0.04443359375, -0.0202484130859375, 0.0091552734375, 0.01074981689453125, -0.0048980712890625, -0.035247802734375, 0.029052734375, -0.0188446044921875, -0.01522064208984375, 0.004947662353515625, -0.031097412109375, -0.006069183349609375, -0.0249481201171875, -0.00664520263671875, 0.0732421875, -0.0255889892578125, 0.035491943359375, 0.010498046875, -0.01142120361328125, 0.04925537109375, 0.020233154296875, -0.0242919921875, -0.0031414031982421875, 0.014373779296875, 0.033660888671875, 0.00830841064453125, -0.04058837890625, -0.024627685546875, -0.0220794677734375, -0.027130126953125, -0.00981903076171875, -0.0577392578125, 0.03485107421875, -0.00818634033203125, 0.024871826171875, 0.0255584716796875, 0.0379638671875, -0.00777435302734375, 0.00998687744140625, -0.01004791259765625, -0.04559326171875, 0.039825439453125, -0.042266845703125, -0.0023326873779296875, 0.0404052734375, 0.0027790069580078125, 0.047760009765625, 0.041412353515625, 0.0213775634765625, 0.0130157470703125, 0.010284423828125, -0.0167236328125, -0.0047607421875, -0.02880859375, 0.004550933837890625, -0.0341796875, -0.024688720703125, -0.026947021484375, -0.0196533203125, 0.01473236083984375, 0.034393310546875, 0.0270538330078125, -0.0024929046630859375, -0.019683837890625, 0.01009368896484375, -0.007732391357421875, -0.0804443359375, 0.01873779296875, -0.00933074951171875, -0.032379150390625, -0.0037593841552734375, 0.053466796875, 0.066162109375, 0.01885986328125, -0.01239776611328125, -0.011749267578125, -0.00782012939453125, -0.038116455078125, 0.035186767578125, 0.00469970703125, -0.0654296875, -0.01149749755859375, -0.0126953125, 0.024444580078125, 0.00930023193359375, -0.0021762847900390625, 0.0185699462890625, 0.01174163818359375, 0.017364501953125, -0.0026874542236328125, -0.032318115234375, 0.004718780517578125, -0.0219268798828125, 0.06048583984375, -0.0233612060546875, 0.057647705078125, -0.04736328125, 0.035919189453125, -0.0146026611328125, -0.035430908203125, 0.0006489753723144531, 0.04443359375, 0.059112548828125, 0.046661376953125, 0.0161895751953125, 0.00897216796875, 0.0225372314453125, 0.017181396484375, 0.00037670135498046875, 0.004932403564453125, 0.00363922119140625, 0.0149993896484375, 0.023284912109375, 0.004909515380859375, 0.0080413818359375, -0.00916290283203125, 0.035430908203125, 0.023529052734375, 0.03863525390625, 0.0276336669921875, -0.0294342041015625, 0.060333251953125, 0.0013980865478515625, -0.06414794921875, 0.016021728515625, -0.02032470703125, 0.0241241455078125, 0.0567626953125, -0.00539398193359375, 0.03216552734375, -0.00250244140625, 0.00634002685546875, 0.0010051727294921875, -0.00212860107421875, -0.046783447265625, -0.0178985595703125, -0.01364898681640625, -0.01416015625, -0.005107879638671875, 0.0149078369140625, -0.011077880859375, -0.00553131103515625, -0.0035991668701171875, -0.06500244140625, -0.0063934326171875, -0.01776123046875, 0.0197601318359375, 0.01335906982421875, 0.0271759033203125, -0.0020694732666015625, 0.021240234375, -0.0297393798828125, 0.01322174072265625, -0.00978851318359375, 0.0204620361328125, 0.01537322998046875, 0.0369873046875, 0.0134429931640625, 0.033447265625, -0.0003840923309326172, -0.0169525146484375, -0.005306243896484375, -0.0084075927734375, 0.0228424072265625, 0.0108642578125, -0.037445068359375, -0.0129241943359375, -0.01751708984375, 0.0005507469177246094, -0.035675048828125, 0.056884765625, 0.0072479248046875, 0.020294189453125, -0.00939178466796875, 0.007110595703125, 0.0013685226440429688, -0.040069580078125, 0.0106201171875, 0.0323486328125, 0.06256103515625, 0.05828857421875, 0.022705078125, -0.0182952880859375, 0.07196044921875, -0.019439697265625, 0.054168701171875, -0.04840087890625, -0.02685546875, 0.021759033203125, 0.040191650390625, -0.016754150390625, -0.01200103759765625, -0.0750732421875, -0.0269622802734375, 0.0150909423828125, -0.026458740234375, -0.041015625, 0.0103302001953125, 0.0289459228515625, 0.012847900390625, -0.00157928466796875, -0.00995635986328125, 0.00788116455078125, 0.01239776611328125, -0.019805908203125, 0.032867431640625, 0.009185791015625, 0.007144927978515625, -0.0245361328125, 0.01335906982421875, 0.004924774169921875, 0.00893402099609375, 0.07733154296875, -0.00576019287109375, -0.0037555694580078125, -0.002826690673828125, -0.01316070556640625, -0.001800537109375, 0.02142333984375, -0.01441192626953125, 0.0188140869140625, -0.03643798828125, -0.011749267578125, -0.03289794921875, 0.01512908935546875, 0.008209228515625, 0.0316162109375, -0.007083892822265625, 0.005077362060546875, 0.0162811279296875, 0.025848388671875, -0.0091094970703125, 0.01361083984375, 0.0211029052734375, -0.00943756103515625, 0.056793212890625, -0.052337646484375, 0.041534423828125, -0.0201873779296875, 0.05743408203125, 0.06591796875, 0.0016736984252929688, 0.01058197021484375, -0.005584716796875, -0.0258941650390625, -0.03192138671875, 0.0239410400390625, -0.004131317138671875, -0.00021207332611083984, -0.0836181640625, 0.0082244873046875, -0.00677490234375, -0.0294952392578125, -0.0126495361328125, -0.034881591796875, -0.007343292236328125, -0.033172607421875, -0.084716796875, -0.026611328125, -0.0236663818359375, -0.0075225830078125, -0.0209808349609375, 0.0170135498046875, 0.004734039306640625, 0.0048370361328125, 0.025299072265625, -0.0035953521728515625, -0.003261566162109375, -0.00140380859375, -0.0191650390625, -0.005207061767578125, -0.033355712890625, 0.0198822021484375, 0.0020599365234375, 0.0263824462890625, 0.01270294189453125, -0.0161895751953125, 0.01058197021484375, -0.002197265625, 0.028656005859375, 0.085693359375, 0.009735107421875, -0.0091400146484375, 0.023345947265625, -0.038330078125, -0.0038356781005859375, -0.00511932373046875, 0.0645751953125, 0.048919677734375, -0.043548583984375, 0.020294189453125, -0.02532958984375, 0.02239990234375, 0.0189208984375, -0.00695037841796875, 0.0316162109375, 0.022796630859375, 0.009918212890625, -0.01995849609375, -0.0350341796875, -0.006809234619140625, -0.036346435546875, 0.05657958984375, -0.0126800537109375, 0.01389312744140625, -0.0161285400390625, 0.0692138671875, 0.021087646484375, 0.00745391845703125, 0.05731201171875, 0.0015201568603515625, -0.0041656494140625, -0.01776123046875, -0.027679443359375, -0.048858642578125, 0.0188140869140625, -0.03460693359375, 0.023193359375, 0.005046844482421875, -0.012176513671875, -0.03955078125, 0.057098388671875, -0.0238189697265625, -0.00897979736328125, 0.023712158203125, -0.02801513671875, 0.06597900390625, -0.0195159912109375, -0.027587890625, -0.0211334228515625, 0.10870361328125, 0.004154205322265625, -0.044647216796875, 0.02313232421875, 0.036285400390625, -0.0113372802734375, -0.040740966796875, 0.024200439453125, -0.0543212890625, -0.08404541015625, 0.0222320556640625, -0.008392333984375, -0.01507568359375, 0.00022339820861816406, -0.0200958251953125, -0.0201873779296875, -0.0426025390625, 0.01549530029296875, -0.018585205078125, -0.01094818115234375, 0.043060302734375, -0.0191802978515625, 0.032257080078125, -0.01511383056640625, -0.025848388671875, -0.087158203125, -0.0151824951171875, -0.045196533203125, 0.06182861328125, 0.0367431640625, -0.0677490234375, -0.0296478271484375, 0.023712158203125, -0.00469207763671875, 0.00652313232421875, -0.0106658935546875, 0.0125579833984375, -0.0472412109375, -0.0151519775390625, -0.0242767333984375, -0.03582763671875, 0.0014791488647460938, -0.010498046875, -0.067138671875, -0.014617919921875, -0.0029430389404296875, 0.0088653564453125, 0.04443359375, -0.048431396484375, -0.0259552001953125, -0.03515625, -0.0081024169921875, 0.0281829833984375, 0.00568389892578125, -0.021240234375, -0.054412841796875, -0.025604248046875, 0.02239990234375, 0.0595703125, -0.01255035400390625, 0.0095367431640625, 0.0028553009033203125, 0.003665924072265625, -0.0345458984375, -0.0460205078125, 0.0102996826171875, 0.024169921875, -0.0036296844482421875, 0.0162200927734375, 0.021209716796875, 0.0149688720703125, -0.0115814208984375, -0.00574493408203125, 0.0152587890625, -0.0000832676887512207, 0.00835418701171875, 0.043426513671875, 0.00623321533203125, 0.0094451904296875, 0.07611083984375, -0.0335693359375, 0.0731201171875, -0.004650115966796875, -0.01076507568359375, 0.0030002593994140625, 0.00830078125, -0.0194244384765625, -0.0205841064453125, -0.004695892333984375, -0.0321044921875, 0.02130126953125, -0.007076263427734375, 0.045928955078125, 0.0005102157592773438, 0.0084381103515625, 0.00888824462890625, 0.0013666152954101562, 0.0219573974609375, -0.052337646484375, -0.0100860595703125, -0.042266845703125, 0.04522705078125, -0.041259765625, -0.00972747802734375, -0.001430511474609375, 0.005992889404296875, 0.048980712890625, 0.0355224609375, -0.0029754638671875, -0.05328369140625, -0.0027332305908203125, -0.005168914794921875, -0.041259765625, -0.02880859375, 0.0225372314453125, 0.034576416015625, -0.01654052734375, -0.0042266845703125, -0.0535888671875, 0.0247039794921875, -0.045806884765625, 0.045166015625, -0.010986328125, 0.002185821533203125, 0.00765228271484375, 0.03936767578125, 0.0408935546875, 0.015472412109375, -0.0292816162109375, 0.01108551025390625, 0.020355224609375, 0.006229400634765625, 0.01360321044921875, 0.026336669921875, 0.0015935897827148438, -0.004650115966796875, 0.0228424072265625, 0.01390838623046875, 0.01690673828125, -0.01190948486328125, -0.0286712646484375, 0.00620269775390625, 0.00591278076171875, 0.045135498046875, -0.00705718994140625, -0.007781982421875, -0.010345458984375, -0.048431396484375, -0.037567138671875, -0.004169464111328125, 0.0172119140625, 0.0138702392578125, -0.01471710205078125, 0.0004565715789794922, -0.05877685546875, -0.017547607421875, -0.035308837890625, -0.00727081298828125, -0.035919189453125, -0.00937652587890625, -0.00806427001953125, 0.002643585205078125, -0.01520538330078125, -0.002902984619140625, -0.03546142578125, -0.0086669921875, -0.01554107666015625, -0.01007843017578125, 0.0447998046875, 0.0128936767578125, 0.018829345703125, -0.0016984939575195312, -0.0268707275390625, -0.00289154052734375, 0.0010328292846679688, 0.034515380859375, -0.004543304443359375, -0.06439208984375, 0.01470947265625, -0.022064208984375, -0.01593017578125, 0.0080413818359375, -0.0119476318359375, -0.04852294921875, -0.0149078369140625, 0.019622802734375, 0.0085906982421875, -0.00212860107421875, 0.0058746337890625, -0.0015974044799804688, 0.034149169921875, 0.0284271240234375, 0.062286376953125, -0.0079803466796875, 0.0214996337890625, 0.00638580322265625, 0.01149749755859375, 0.00714874267578125, 0.0113525390625, 0.01552581787109375, -0.0194854736328125, -0.010284423828125, -0.0469970703125, 0.0010967254638671875, -0.01131439208984375, -0.0144195556640625, 0.040435791015625, 0.05126953125, 0.016143798828125, 0.021026611328125, -0.012481689453125, 0.00009721517562866211, -0.02362060546875, 0.02777099609375, -0.02984619140625, 0.04559326171875, -0.0026264190673828125, -0.00925445556640625, 0.033782958984375, -0.0017538070678710938, 0.0296630859375, 0.01184844970703125, -0.012054443359375, 0.01457977294921875, -0.0023593902587890625, -0.04833984375, 0.06781005859375, 0.0662841796875, 0.007129669189453125, 0.034820556640625, 0.0240631103515625, 0.0035533905029296875, -0.01187896728515625, 0.0151214599609375, -0.008209228515625, 0.004856109619140625, -0.0133514404296875, -0.0171356201171875, 0.007205963134765625, -0.026611328125, -0.01178741455078125, 0.0210723876953125, 0.0357666015625, 0.059295654296875, -0.080078125, 0.0191802978515625, 0.005794525146484375, -0.0015592575073242188, 0.04608154296875, 0.029388427734375, -0.0276947021484375, -0.0545654296875, 0.0335693359375, -0.0860595703125, 0.005489349365234375, -0.019439697265625, -0.0238800048828125, -0.00959014892578125, -0.00818634033203125, 0.037322998046875, 0.004116058349609375, -0.035430908203125, -0.0216827392578125, 0.01898193359375, -0.005153656005859375, 0.0012865066528320312, 0.01326751708984375, -0.000240325927734375, -0.01123809814453125, -0.032989501953125, 0.016876220703125, -0.0180511474609375, -0.00209808349609375, -0.026580810546875, -0.00368499755859375, 0.032745361328125, 0.03717041015625, -0.007415771484375, -0.0211334228515625, 0.0201416015625, -0.004497528076171875, 0.066650390625, -0.011016845703125, -0.0037746429443359375, 0.08477783203125, -0.074951171875, -0.01529693603515625, -0.0124359130859375, 0.055450439453125, -0.023223876953125, -0.04058837890625, 0.04193115234375, -0.0022430419921875, -0.0211029052734375, 0.010345458984375, 0.0389404296875, -0.0016508102416992188, -0.0009670257568359375, -0.0184783935546875, -0.039947509765625, -0.0240631103515625, -0.0190582275390625, -0.0484619140625, 0.025604248046875, -0.030487060546875, -0.07293701171875, 0.07366943359375, 0.044189453125, 0.03387451171875, 0.0183868408203125, 0.0245361328125, -0.044891357421875, -0.0035686492919921875, -0.005992889404296875, -0.01708984375, 0.0153045654296875, -0.01114654541015625, 0.0082244873046875, -0.0015935897827148438, -0.00189971923828125, 0.0179595947265625, -0.0090789794921875, -0.017333984375, -0.00788116455078125, -0.0005559921264648438, 0.06787109375, 0.0341796875, 0.0257110595703125, 0.0284271240234375, -0.037811279296875, 0.0025539398193359375, -0.0193328857421875, -0.0391845703125, 0.00946044921875, -0.019805908203125, -0.0341796875, 0.00626373291015625, 0.0197296142578125, 0.028350830078125, 0.0122222900390625, -0.01108551025390625, -0.0110931396484375, 0.007709503173828125, -0.0027103424072265625, -0.0170745849609375, 0.0157012939453125, 0.040618896484375, 0.0154571533203125, 0.0211029052734375, 0.048370361328125, -0.033905029296875, 0.04827880859375, 0.00738525390625, 0.061309814453125, 0.0294952392578125, 0.0203704833984375, 0.06982421875, -0.004009246826171875, 0.033050537109375, 0.0237274169921875, -0.024261474609375, 0.051849365234375, 0.029937744140625, 0.04010009765625, -0.03729248046875, -0.004741668701171875, 0.02490234375, 0.0699462890625, -0.041412353515625, -0.0212249755859375, 0.0169219970703125, 0.003170013427734375, 0.016510009765625, -0.004901885986328125, 0.055999755859375, -0.05157470703125, -0.06036376953125, -0.032745361328125, 0.0254669189453125, 0.06231689453125, 0.00885772705078125, 0.0169830322265625, 0.04388427734375, -0.0712890625, 0.01873779296875, -0.059814453125, 0.0251617431640625, 0.00920867919921875, 0.0256805419921875, 0.0428466796875, 0.00782012939453125, 0.06640625, -0.0115966796875, 0.004154205322265625, 0.01995849609375, -0.0301361083984375, 0.00676727294921875, -0.0021343231201171875, -0.0215911865234375, -0.0195465087890625, 0.0263824462890625, 0.030426025390625, 0.0164947509765625, 0.03607177734375, 0.028717041015625, 0.004482269287109375, 0.0047149658203125, 0.0271453857421875, 0.0035228729248046875, 0.0792236328125, -0.06787109375, 0.064453125, 0.007106781005859375, -0.0096435546875, -0.03143310546875, -0.051239013671875, 0.0792236328125, -0.0252685546875, 0.0478515625, -0.0204925537109375, -0.0173187255859375, -0.001979827880859375, -0.0257415771484375, 0.02001953125, -0.0092010498046875, -0.0738525390625, -0.0182647705078125, -0.005199432373046875, -0.00771331787109375, 0.014007568359375, 0.0241546630859375, -0.022186279296875, 0.032745361328125, 0.00771331787109375, -0.0127716064453125, -0.016632080078125, 0.019622802734375, -0.002712249755859375, -0.03985595703125, 0.0154876708984375, -0.022491455078125, 0.0164337158203125, -0.00859832763671875, 0.0216064453125, 0.050140380859375, 0.01331329345703125, 0.048187255859375, -0.030853271484375, 0.022674560546875, 0.0177001953125, -0.0290069580078125, 0.01336669921875, 0.0063629150390625, -0.007343292236328125, -0.031707763671875, -0.0095367431640625, -0.0030612945556640625, -0.042938232421875, 0.045654296875, 0.0007901191711425781, -0.018341064453125, 0.03863525390625, -0.036407470703125, 0.00024890899658203125, -0.00968170166015625, -0.01108551025390625, -0.044158935546875, -0.06646728515625, -0.0560302734375, 0.017486572265625, -0.00140380859375, 0.006435394287109375, -0.0229034423828125, 0.0254364013671875, 0.00824737548828125, -0.00757598876953125, 0.016998291015625, -0.0157012939453125, 0.0199127197265625, 0.034759521484375, -0.00988006591796875, -0.02056884765625, 0.008392333984375, -0.00836944580078125, 0.00130462646484375, 0.01279449462890625, 0.018157958984375, 0.005466461181640625, -0.0212554931640625, -0.0272064208984375, 0.004451751708984375, 0.0135040283203125, -0.0183563232421875, 0.010772705078125, -0.0024471282958984375, -0.00392913818359375, -0.01132965087890625, 0.04400634765625, -0.0021228790283203125, 0.0030345916748046875, -0.02728271484375, -0.01457977294921875, 0.0279541015625, -0.00460052490234375, 0.0389404296875, -0.0190277099609375, 0.0246124267578125, 0.0261688232421875, -0.0882568359375, 0.05255126953125, 0.0015811920166015625, 0.01055908203125, -0.0095977783203125, -0.0726318359375, -0.0131378173828125, -0.0330810546875, -0.0177154541015625, -0.07269287109375, -0.0733642578125, 0.051910400390625, -0.08038330078125, 0.01277923583984375, 0.043548583984375, -0.00568389892578125, -0.039520263671875, 0.0063629150390625, -0.025634765625, 0.07391357421875, -0.0615234375, 0.0032939910888671875, 0.026336669921875, -0.005359649658203125, -0.040771484375, -0.07257080078125, 0.00673675537109375, -0.0712890625, -0.0118560791015625, -0.0112762451171875, -0.0266571044921875, -0.031829833984375, -0.050567626953125, -0.090087890625, 0.0362548828125, -0.001758575439453125, -0.038970947265625, -0.0183563232421875, 0.0018768310546875, -0.0109710693359375, 0.0080108642578125, 0.0012798309326171875, -0.0030612945556640625, -0.0258941650390625, 0.01418304443359375, 0.01560211181640625, 0.05792236328125, -0.01434326171875, 0.031158447265625, 0.01229095458984375, 0.048828125, 0.0260162353515625, 0.0179443359375, -0.0224151611328125, -0.003971099853515625, 0.00308990478515625, 0.006526947021484375, -0.0226287841796875, -0.049163818359375, 0.0157928466796875, -0.011627197265625, -0.038604736328125, -0.033660888671875, 0.00809478759765625, 0.0043792724609375, 0.055633544921875, 0.042083740234375, -0.0029754638671875, -0.042083740234375, -0.022491455078125, -0.00682830810546875, 0.01428985595703125, -0.01149749755859375, 0.01406097412109375, -0.06744384765625, -0.0262451171875, 0.0145721435546875, -0.005519866943359375, 0.0109100341796875, -0.048553466796875, -0.02508544921875, 0.0006036758422851562, -0.02130126953125, -0.01019287109375, 0.0218963623046875, 0.056884765625, 0.049468994140625, -0.04144287109375, 0.03900146484375, -0.02850341796875, -0.0084686279296875, 0.05255126953125, -0.07000732421875, 0.0233154296875, -0.021728515625, 0.0207672119140625, 0.01873779296875, 0.03753662109375, -0.0053863525390625, 0.012786865234375, -0.044952392578125, -0.02142333984375, 0.008148193359375, 0.001434326171875, -0.01180267333984375, -0.019622802734375, 0.0474853515625, 0.00598907470703125, 0.032684326171875, -0.00775909423828125, -0.0046844482421875, -0.040618896484375, 0.05145263671875, -0.035980224609375, -0.00848388671875, -0.012542724609375, 0.0039043426513671875, 0.0128326416015625, -0.02142333984375, -0.0269012451171875, -0.037872314453125, -0.01751708984375, -0.0273895263671875, -0.0340576171875, 0.0013666152954101562 ]