id
stringlengths
40
40
text
stringlengths
29
2.03k
original_text
stringlengths
3
154k
subdomain
stringclasses
20 values
metadata
dict
emb
sequencelengths
1.02k
1.02k
0df3b5007cf73228f3ba4dc61742b199dd743553
Wordpress Stackexchange Q: Display sorting options dropdown when using WooCommerce product category shortcode I have a WordPress site, with WooCommerce. The WooCommerce archives pages as shop display a dropdown sorting filter like in this screenshot: Now in another page let's say example.com/foo On that page I use a WooCommerce shortcode: [product_category per_page="90" columns="3" orderby="" order="ASC" category="foo" prdctfltr="yes" pagination="yes"] But the sorting dropdown is not shown. What I am doing wrong? How can I display the sorting dropdown? A: Since WooCommerce 3.2, Woocommerce shortcodes and their available attributes have changed. So try the following shortcode instead (for "foo" product category): [product_category limit="90" columns="3" category="foo" paginate="true"] or inside php code: echo do_shortcode( '[product_category limit="90" columns="3" category="foo" paginate="true"]' ); Now you will see that the sorting options dropdown appear. Note: orderby argument with an empty value has no effect. order argument is ASC by default.
Q: Display sorting options dropdown when using WooCommerce product category shortcode I have a WordPress site, with WooCommerce. The WooCommerce archives pages as shop display a dropdown sorting filter like in this screenshot: Now in another page let's say example.com/foo On that page I use a WooCommerce shortcode: [product_category per_page="90" columns="3" orderby="" order="ASC" category="foo" prdctfltr="yes" pagination="yes"] But the sorting dropdown is not shown. What I am doing wrong? How can I display the sorting dropdown? A: Since WooCommerce 3.2, Woocommerce shortcodes and their available attributes have changed. So try the following shortcode instead (for "foo" product category): [product_category limit="90" columns="3" category="foo" paginate="true"] or inside php code: echo do_shortcode( '[product_category limit="90" columns="3" category="foo" paginate="true"]' ); Now you will see that the sorting options dropdown appear. Note: orderby argument with an empty value has no effect. order argument is ASC by default. A: If you would rather want to get the sorting menu using a shortcode then you can create one for it in your functions.php // Creating Shortcode for Product Sorting add_shortcode('wc_sorting','woocommerce_catalog_ordering'); Then simply call the shortcode in your catalog page:- * *In Legacy Editor/Gutenberg: [wc_sorting] *or in your PHP file: echo do_shortcode('[wc_sorting]');
wordpress
{ "language": "en", "length": 192, "provenance": "stackexchange_00019.jsonl.gz:495077", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/337238" }
[ 0.01258087158203125, 0.0033817291259765625, 0.01174163818359375, -0.01035308837890625, 0.005092620849609375, -0.015533447265625, 0.033355712890625, -0.0266265869140625, 0.0311279296875, 0.0150604248046875, -0.043548583984375, -0.034515380859375, -0.007610321044921875, -0.018096923828125, -0.041229248046875, -0.0538330078125, 0.0194549560546875, 0.0216827392578125, 0.038299560546875, 0.0088348388671875, -0.0238494873046875, 0.0513916015625, -0.00383758544921875, 0.032958984375, 0.01136016845703125, -0.057830810546875, 0.0953369140625, -0.0394287109375, 0.0478515625, -0.0103912353515625, 0.0222625732421875, -0.031707763671875, 0.034576416015625, -0.0199127197265625, 0.01308441162109375, 0.056640625, 0.024688720703125, -0.01477813720703125, 0.01116943359375, 0.0162200927734375, 0.026458740234375, -0.018768310546875, 0.036346435546875, -0.0291290283203125, 0.004421234130859375, -0.0225677490234375, 0.024810791015625, -0.0305023193359375, -0.0163421630859375, -0.043792724609375, 0.036224365234375, 0.034393310546875, 0.0635986328125, -0.07025146484375, -0.016510009765625, 0.00182342529296875, -0.068115234375, 0.041412353515625, 0.0200958251953125, 0.021240234375, 0.01593017578125, 0.0024814605712890625, -0.0048065185546875, -0.02337646484375, 0.02862548828125, 0.0200042724609375, 0.01543426513671875, 0.028594970703125, -0.006412506103515625, 0.024017333984375, 0.007503509521484375, -0.033966064453125, 0.00122833251953125, 0.01392364501953125, -0.0218963623046875, -0.0240325927734375, 0.0018606185913085938, -0.003955841064453125, 0.033843994140625, 0.00870513916015625, 0.0223388671875, -0.0201568603515625, -0.006221771240234375, -0.046875, 0.0293121337890625, -0.0185394287109375, 0.0018939971923828125, -0.006038665771484375, -0.01227569580078125, -0.00228118896484375, -0.01154327392578125, 0.0178985595703125, -0.0270843505859375, 0.04547119140625, -0.0165863037109375, 0.004528045654296875, -0.016998291015625, 0.0188751220703125, 0.0009455680847167969, 0.02935791015625, 0.0018978118896484375, -0.03765869140625, 0.0338134765625, -0.042022705078125, -0.01453399658203125, -0.0287017822265625, 0.0026073455810546875, 0.0039520263671875, 0.02484130859375, 0.05181884765625, -0.0245208740234375, 0.020660400390625, -0.002422332763671875, -0.023101806640625, -0.0142974853515625, -0.0083160400390625, -0.050079345703125, 0.008697509765625, 0.0022296905517578125, -0.0286102294921875, 0.0245361328125, 0.04583740234375, 0.04876708984375, -0.0258941650390625, -0.02911376953125, -0.0026187896728515625, -0.01267242431640625, -0.09881591796875, 0.0165557861328125, -0.013702392578125, -0.0303955078125, 0.019439697265625, 0.00531005859375, 0.03131103515625, 0.00545501708984375, 0.0034542083740234375, 0.009124755859375, -0.011260986328125, 0.01148223876953125, -0.0001920461654663086, 0.01044464111328125, 0.00945281982421875, 0.018524169921875, -0.004390716552734375, 0.0222015380859375, -0.0007686614990234375, 0.00606536865234375, 0.0235137939453125, 0.020538330078125, -0.00563812255859375, 0.0017251968383789062, 0.0164947509765625, 0.055572509765625, 0.00951385498046875, -0.028717041015625, 0.023193359375, 0.0286407470703125, -0.01947021484375, -0.05767822265625, -0.044677734375, -0.0119171142578125, -0.006427764892578125, 0.0212249755859375, -0.08056640625, -0.06768798828125, -0.0007696151733398438, -0.0582275390625, -0.00852203369140625, 0.019317626953125, 0.0029201507568359375, 0.007778167724609375, -0.01265716552734375, 0.00031566619873046875, 0.0127105712890625, -0.0018320083618164062, 0.01280975341796875, -0.0176544189453125, -0.0030231475830078125, 0.04327392578125, -0.038665771484375, -0.047607421875, -0.0313720703125, 0.06610107421875, -0.021942138671875, -0.034210205078125, 0.044342041015625, 0.01326751708984375, 0.0560302734375, -0.030029296875, 0.0233154296875, 0.0220489501953125, 0.049652099609375, -0.0284881591796875, -0.00858306884765625, 0.03033447265625, -0.0252227783203125, -0.0110931396484375, -0.0238037109375, 0.01329803466796875, 0.00014638900756835938, -0.0174713134765625, 0.007236480712890625, 0.01021575927734375, 0.01517486572265625, 0.0163116455078125, 0.024810791015625, -0.0055694580078125, 0.0267333984375, -0.0248565673828125, 0.01351165771484375, 0.0266876220703125, 0.0228118896484375, -0.061370849609375, 0.01953125, 0.00550079345703125, 0.01221466064453125, -0.039215087890625, 0.07403564453125, -0.0173187255859375, 0.054718017578125, -0.02703857421875, -0.06378173828125, -0.005168914794921875, 0.01763916015625, 0.041534423828125, 0.022064208984375, -0.0211639404296875, -0.01947021484375, 0.054290771484375, 0.020751953125, -0.027801513671875, -0.0134735107421875, 0.00829315185546875, 0.0181884765625, -0.06903076171875, -0.0194244384765625, -0.0260772705078125, -0.0007686614990234375, 0.01010894775390625, 0.0300750732421875, 0.047943115234375, 0.049285888671875, 0.0299835205078125, 0.0146026611328125, 0.09210205078125, -0.01800537109375, 0.01128387451171875, -0.01276397705078125, -0.041046142578125, -0.00000858306884765625, 0.0811767578125, 0.04473876953125, -0.004207611083984375, 0.0242919921875, 0.0079498291015625, 0.01715087890625, -0.00875091552734375, 0.0037517547607421875, -0.0006623268127441406, 0.005603790283203125, -0.004482269287109375, -0.039764404296875, -0.01068115234375, -0.0245819091796875, 0.049468994140625, -0.002086639404296875, 0.032470703125, 0.0089569091796875, -0.048431396484375, 0.0148773193359375, 0.025299072265625, -0.0229644775390625, -0.006786346435546875, 0.007251739501953125, -0.022064208984375, -0.02105712890625, -0.0325927734375, 0.03326416015625, -0.031036376953125, -0.0264434814453125, -0.00030803680419921875, 0.034088134765625, 0.0029315948486328125, -0.0101165771484375, -0.017333984375, -0.05987548828125, 0.0064239501953125, 0.030517578125, -0.0159454345703125, -0.00862884521484375, 0.01032257080078125, 0.0290069580078125, -0.0216827392578125, 0.0186767578125, -0.003299713134765625, -0.011260986328125, 0.03631591796875, -0.010955810546875, 0.0290069580078125, -0.034820556640625, 0.020904541015625, 0.05364990234375, -0.0401611328125, 0.02978515625, 0.00820159912109375, -0.007617950439453125, -0.0047149658203125, 0.01470947265625, 0.0016107559204101562, 0.0260467529296875, -0.055816650390625, 0.043701171875, 0.028961181640625, -0.0271148681640625, 0.0303192138671875, -0.01279449462890625, 0.016204833984375, 0.01401519775390625, -0.05364990234375, -0.05987548828125, 0.00923919677734375, -0.043914794921875, 0.01910400390625, -0.01227569580078125, -0.004367828369140625, -0.0234832763671875, 0.007518768310546875, 0.01526641845703125, -0.0021991729736328125, -0.01291656494140625, -0.042022705078125, -0.0198211669921875, -0.041748046875, 0.0137481689453125, -0.00756072998046875, -0.0029449462890625, -0.005786895751953125, 0.060882568359375, -0.0024871826171875, -0.05706787109375, -0.01294708251953125, 0.02532958984375, -0.024688720703125, 0.01309967041015625, 0.043121337890625, -0.061431884765625, -0.0171356201171875, 0.0014104843139648438, 0.048248291015625, 0.025421142578125, -0.03546142578125, 0.00885009765625, -0.01580810546875, 0.0043792724609375, 0.01617431640625, -0.0135040283203125, 0.0119781494140625, -0.0027408599853515625, 0.005443572998046875, -0.03900146484375, -0.0263214111328125, -0.0107574462890625, -0.04058837890625, 0.0004439353942871094, 0.01491546630859375, 0.00861358642578125, -0.0088043212890625, 0.0157623291015625, 0.011138916015625, 0.008514404296875, 0.03607177734375, -0.045074462890625, -0.0091094970703125, 0.0075836181640625, 0.00879669189453125, -0.024627685546875, 0.0252685546875, -0.032989501953125, -0.0064544677734375, 0.00841522216796875, -0.00324249267578125, -0.00566864013671875, 0.00988006591796875, 0.004901885986328125, -0.08001708984375, 0.056060791015625, -0.033111572265625, -0.0309295654296875, -0.0252685546875, -0.0242462158203125, 0.0246429443359375, 0.10028076171875, -0.0164947509765625, -0.022247314453125, 0.0009317398071289062, 0.0115509033203125, -0.021881103515625, -0.00719451904296875, -0.03277587890625, -0.0046539306640625, -0.0745849609375, 0.031707763671875, 0.0033245086669921875, -0.0180816650390625, -0.00659942626953125, -0.04156494140625, -0.051605224609375, -0.042022705078125, 0.039215087890625, 0.0006728172302246094, 0.025970458984375, 0.009307861328125, 0.0037631988525390625, -0.007450103759765625, -0.02508544921875, 0.011627197265625, -0.060302734375, -0.0131072998046875, 0.031768798828125, 0.0185394287109375, -0.0234375, 0.0028972625732421875, -0.04144287109375, 0.0335693359375, 0.00786590576171875, 0.033203125, 0.04376220703125, 0.02557373046875, 0.0118408203125, -0.03424072265625, 0.02923583984375, -0.0526123046875, 0.01096343994140625, -0.034454345703125, -0.0316162109375, -0.036285400390625, -0.036834716796875, 0.024658203125, -0.00588226318359375, -0.0225372314453125, -0.1136474609375, -0.048919677734375, -0.0023174285888671875, 0.006664276123046875, -0.017974853515625, 0.0184783935546875, -0.043304443359375, -0.0882568359375, 0.020904541015625, -0.04595947265625, 0.002490997314453125, 0.01495361328125, 0.03131103515625, -0.002349853515625, -0.0031642913818359375, -0.00018680095672607422, 0.0033206939697265625, 0.0310516357421875, 0.006591796875, 0.0465087890625, 0.00028634071350097656, -0.0152130126953125, 0.0589599609375, 0.00736236572265625, 0.0200653076171875, -0.0181732177734375, 0.0005426406860351562, 0.00290679931640625, -0.0159759521484375, 0.005542755126953125, 0.0018472671508789062, 0.0238494873046875, 0.03173828125, -0.004489898681640625, -0.02105712890625, -0.023162841796875, 0.0171661376953125, 0.01207733154296875, -0.003936767578125, -0.01479339599609375, -0.041168212890625, 0.0098724365234375, -0.00678253173828125, 0.05792236328125, 0.030120849609375, -0.004718780517578125, 0.04595947265625, 0.041717529296875, 0.01366424560546875, 0.00008535385131835938, 0.0031833648681640625, -0.024810791015625, 0.04754638671875, -0.033843994140625, -0.007022857666015625, 0.0119171142578125, -0.00464630126953125, 0.03466796875, -0.0025272369384765625, -0.0135040283203125, -0.044586181640625, -0.0204010009765625, 0.0196533203125, 0.0005435943603515625, -0.033721923828125, 0.01004791259765625, 0.014251708984375, 0.0188446044921875, 0.0150909423828125, -0.0728759765625, 0.03021240234375, -0.0233001708984375, 0.042236328125, -0.00519561767578125, 0.0020885467529296875, -0.008758544921875, 0.06390380859375, -0.01056671142578125, 0.0171966552734375, 0.006702423095703125, -0.010406494140625, 0.017913818359375, 0.0261688232421875, 0.037445068359375, -0.0511474609375, -0.0008478164672851562, -0.000797271728515625, 0.01221466064453125, -0.005184173583984375, -0.044403076171875, 0.011260986328125, -0.0201873779296875, -0.0662841796875, -0.00774383544921875, 0.05615234375, 0.043701171875, -0.030670166015625, 0.0124053955078125, 0.0106048583984375, -0.0020885467529296875, -0.04058837890625, -0.018035888671875, 0.0242767333984375, 0.0217437744140625, -0.01219940185546875, -0.01508331298828125, -0.033782958984375, 0.003940582275390625, 0.0196685791015625, -0.004852294921875, 0.000020444393157958984, -0.026580810546875, -0.017425537109375, -0.0006046295166015625, 0.025970458984375, -0.041900634765625, -0.01076507568359375, -0.0183563232421875, -0.03204345703125, 0.04803466796875, -0.026153564453125, 0.06060791015625, -0.020416259765625, -0.0236358642578125, -0.045562744140625, 0.0130767822265625, 0.0246429443359375, 0.0352783203125, -0.02593994140625, -0.0007200241088867188, 0.0046234130859375, -0.0243988037109375, 0.0146636962890625, -0.00909423828125, -0.0272064208984375, -0.035247802734375, -0.010986328125, 0.01849365234375, -0.010467529296875, -0.0364990234375, -0.0271148681640625, -0.006084442138671875, 0.0157928466796875, -0.01152801513671875, -0.01012420654296875, 0.025909423828125, 0.01300048828125, 0.04254150390625, -0.001605987548828125, -0.0230712890625, -0.01561737060546875, -0.01464080810546875, 0.0243682861328125, -0.0138397216796875, -0.0560302734375, -0.0009851455688476562, -0.07415771484375, 0.036285400390625, 0.0809326171875, -0.007442474365234375, 0.021240234375, -0.00843048095703125, 0.007350921630859375, -0.01480865478515625, 0.006591796875, -0.0023288726806640625, -0.00948333740234375, 0.0460205078125, -0.03436279296875, -0.01068115234375, -0.0033130645751953125, -0.035400390625, 0.06982421875, -0.0245513916015625, 0.04595947265625, 0.0012969970703125, -0.0458984375, 0.08209228515625, 0.0657958984375, 0.00516510009765625, 0.025848388671875, 0.006755828857421875, -0.004169464111328125, -0.0306854248046875, 0.045440673828125, 0.0259246826171875, -0.0307464599609375, 0.05010986328125, -0.01212310791015625, -0.0225677490234375, 0.016082763671875, -0.032379150390625, 0.0272216796875, 0.0626220703125, 0.07965087890625, -0.07958984375, 0.006999969482421875, 0.03961181640625, -0.0232391357421875, 0.0032444000244140625, 0.0025043487548828125, -0.00433349609375, -0.0408935546875, 0.043426513671875, -0.00992584228515625, -0.01030731201171875, 0.01480865478515625, -0.03363037109375, 0.024993896484375, 0.027618408203125, 0.0166168212890625, -0.00841522216796875, -0.056854248046875, -0.055908203125, 0.02099609375, 0.00604248046875, -0.019317626953125, -0.012542724609375, -0.01268768310546875, -0.026336669921875, -0.045013427734375, 0.005855560302734375, -0.01270294189453125, 0.0214080810546875, 0.01320648193359375, -0.03302001953125, 0.0018310546875, 0.03778076171875, -0.0295867919921875, 0.01351165771484375, -0.004543304443359375, -0.0262908935546875, 0.018829345703125, -0.0144195556640625, 0.002819061279296875, 0.0018100738525390625, -0.031829833984375, -0.0013723373413085938, -0.00991058349609375, 0.005435943603515625, -0.00812530517578125, 0.0254364013671875, 0.0386962890625, -0.043609619140625, -0.006885528564453125, 0.0247344970703125, 0.052581787109375, 0.0032806396484375, 0.01226043701171875, 0.02557373046875, -0.0309906005859375, 0.0005125999450683594, 0.0232086181640625, -0.00838470458984375, -0.005962371826171875, 0.0269775390625, -0.0750732421875, 0.03704833984375, -0.05487060546875, 0.0347900390625, 0.0142974853515625, 0.004390716552734375, 0.0029468536376953125, -0.018035888671875, -0.0272369384765625, 0.0504150390625, 0.044403076171875, 0.05517578125, -0.0282745361328125, -0.0380859375, 0.037567138671875, 0.0721435546875, 0.0198974609375, -0.007793426513671875, -0.0245513916015625, 0.0221405029296875, 0.09088134765625, 0.027557373046875, 0.01267242431640625, 0.03289794921875, 0.002811431884765625, -0.036865234375, 0.040191650390625, -0.0106048583984375, 0.030975341796875, -0.0115966796875, 0.0233612060546875, 0.0179443359375, 0.01279449462890625, 0.01560211181640625, -0.0173492431640625, 0.0126953125, 0.0090179443359375, -0.0154266357421875, 0.006450653076171875, -0.01226806640625, -0.013885498046875, 0.048858642578125, 0.0209808349609375, -0.04217529296875, -0.06036376953125, -0.018218994140625, 0.033050537109375, 0.007068634033203125, 0.07196044921875, 0.039764404296875, 0.0261077880859375, 0.062744140625, -0.02960205078125, 0.0482177734375, 0.003734588623046875, -0.064697265625, 0.041900634765625, 0.02972412109375, 0.02587890625, 0.0235595703125, 0.037750244140625, 0.0153045654296875, 0.0277252197265625, -0.035064697265625, -0.039703369140625, 0.008697509765625, 0.0030345916748046875, 0.01055145263671875, -0.016387939453125, -0.020172119140625, -0.043670654296875, 0.009796142578125, -0.06689453125, -0.0106201171875, 0.041290283203125, 0.05731201171875, 0.0029277801513671875, -0.0101165771484375, -0.05828857421875, -0.0709228515625, -0.0230255126953125, 0.036529541015625, -0.0034198760986328125, 0.06585693359375, -0.01407623291015625, 0.06915283203125, -0.11260986328125, -0.045013427734375, -0.0134124755859375, 0.014068603515625, -0.03338623046875, 0.01529693603515625, -0.064208984375, -0.027435302734375, -0.0285491943359375, 0.06060791015625, 0.01141357421875, 0.0190277099609375, 0.022247314453125, 0.05523681640625, 0.0423583984375, -0.006618499755859375, 0.06591796875, 0.003875732421875, -0.031005859375, -0.01430511474609375, 0.03680419921875, 0.0196380615234375, 0.01103973388671875, -0.0092010498046875, 0.06353759765625, 0.0016984939575195312, -0.03515625, 0.035308837890625, -0.01160430908203125, -0.030609130859375, 0.02587890625, -0.027313232421875, 0.06390380859375, -0.017486572265625, -0.06781005859375, -0.0215911865234375, -0.033050537109375, -0.000904083251953125, 0.005062103271484375, 0.028564453125, -0.00595855712890625, 0.02825927734375, 0.01049041748046875, -0.0753173828125, 0.018707275390625, 0.046051025390625, 0.02264404296875, -0.02496337890625, -0.019256591796875, -0.037841796875, -0.03564453125, -0.019500732421875, 0.004665374755859375, 0.0289764404296875, 0.023773193359375, 0.01702880859375, 0.013458251953125, 0.0180816650390625, -0.0234527587890625, -0.02490234375, -0.01153564453125, -0.0400390625, 0.08709716796875, -0.0260009765625, -0.05291748046875, -0.0011749267578125, 0.031524658203125, -0.0205535888671875, 0.070068359375, -0.028839111328125, -0.0291290283203125, -0.0220184326171875, 0.03466796875, -0.0207061767578125, 0.040069580078125, -0.0304412841796875, -0.047149658203125, -0.044036865234375, 0.0058135986328125, -0.0166778564453125, -0.013031005859375, -0.02203369140625, -0.01186370849609375, 0.010040283203125, -0.0173492431640625, 0.012786865234375, 0.0330810546875, 0.033203125, 0.041168212890625, -0.0293426513671875, 0.045806884765625, 0.03643798828125, -0.01467132568359375, 0.036590576171875, 0.0177001953125, -0.03436279296875, 0.028839111328125, -0.07769775390625, -0.01080322265625, 0.062408447265625, 0.031036376953125, 0.005908966064453125, 0.01390838623046875, 0.0269622802734375, -0.040557861328125, -0.0232696533203125, 0.035125732421875, -0.03668212890625, -0.001529693603515625, 0.0008530616760253906, -0.007038116455078125, 0.0254669189453125, -0.02593994140625, -0.035888671875, -0.0272369384765625, 0.007068634033203125, 0.0103302001953125, -0.047821044921875, 0.007598876953125, 0.038970947265625, -0.0137939453125, -0.00812530517578125, -0.00012743473052978516, -0.007427215576171875, -0.012939453125, -0.033050537109375, 0.011932373046875, -0.038848876953125, -0.022369384765625, -0.0204925537109375, -0.0113067626953125, 0.0057220458984375, -0.009185791015625, -0.034881591796875, 0.01104736328125, -0.009307861328125, 0.04534912109375, 0.0185699462890625, -0.005802154541015625, 0.0270843505859375, 0.0206451416015625, -0.048431396484375, -0.062744140625, -0.0013675689697265625, -0.01505279541015625, 0.031951904296875, -0.005817413330078125, -0.013641357421875, 0.009246826171875, -0.036865234375, -0.037078857421875, 0.07440185546875, -0.0024013519287109375, -0.0118865966796875, 0.001438140869140625, -0.0124053955078125, -0.047210693359375, 0.0958251953125, 0.009521484375, -0.01369476318359375, -0.016693115234375, 0.029510498046875, 0.0157318115234375, 0.0125732421875, 0.00958251953125, -0.0014352798461914062, -0.050384521484375, 0.0248565673828125, 0.004604339599609375, 0.0265960693359375, 0.0094146728515625, -0.0239105224609375, 0.03472900390625, 0.0428466796875, -0.023651123046875, -0.057525634765625, 0.019073486328125, -0.0178375244140625, 0.057769775390625, -0.03863525390625, -0.074951171875, -0.08758544921875, 0.01320648193359375, -0.005138397216796875, 0.0127410888671875, 0.0538330078125, -0.0546875, -0.02899169921875, 0.00629425048828125, -0.024871826171875, 0.004909515380859375, -0.05731201171875, 0.01030731201171875, -0.025604248046875, 0.0048065185546875, 0.041351318359375, 0.0211944580078125, -0.0207366943359375, 0.0034656524658203125, 0.023101806640625, -0.0036945343017578125, -0.10369873046875, 0.0082244873046875, -0.007781982421875, -0.0141448974609375, -0.031341552734375, -0.0013456344604492188, 0.0023250579833984375, -0.029022216796875, -0.01172637939453125, -0.04193115234375, 0.004604339599609375, -0.0089874267578125, 0.0113067626953125, -0.0189666748046875, 0.0308074951171875, -0.01190185546875, 0.03875732421875, -0.00592041015625, 0.0175018310546875, -0.00745391845703125, -0.00021338462829589844, 0.00740814208984375, 0.033294677734375, 0.0181732177734375, 0.04547119140625, 0.00025534629821777344, 0.041168212890625, 0.0103759765625, 0.03375244140625, 0.0018024444580078125, -0.006092071533203125, 0.0302581787109375, -0.044036865234375, 0.00191497802734375, -0.01160430908203125, -0.0079803466796875, -0.01202392578125, -0.00803375244140625, 0.028717041015625, -0.017974853515625, 0.007259368896484375 ]
fc34512a280933bbdc553af22202c7cff0140c21
Wordpress Stackexchange Q: Set fullscreen mode by default The block editor has a Fullscreen mode which you can access via the tools options on the top-right: Is there a PHP approach to enable the Fullscreen mode by default? As in, force this mode for all users. Alternatively, a javascript solution. A: Switching Gutenberg to fullscreen mode requires setting to TRUE fullscreenMode from the core/edit-post package. To enqueue appropriate script, you use enqueue_block_editor_assets action hook. function se337302_fullscreen_editor() { $js_code = "jQuery(document).ready(function(){" . " var isFullScreenMode = wp.data.select('core/edit-post').isFeatureActive('fullscreenMode');" . " if ( !isFullScreenMode )" . " wp.data.dispatch('core/edit-post').toggleFeature('fullscreenMode');" . "});"; wp_add_inline_script( 'wp-blocks', $js_code ); } add_action( 'enqueue_block_editor_assets', 'se337302_fullscreen_editor' );
Q: Set fullscreen mode by default The block editor has a Fullscreen mode which you can access via the tools options on the top-right: Is there a PHP approach to enable the Fullscreen mode by default? As in, force this mode for all users. Alternatively, a javascript solution. A: Switching Gutenberg to fullscreen mode requires setting to TRUE fullscreenMode from the core/edit-post package. To enqueue appropriate script, you use enqueue_block_editor_assets action hook. function se337302_fullscreen_editor() { $js_code = "jQuery(document).ready(function(){" . " var isFullScreenMode = wp.data.select('core/edit-post').isFeatureActive('fullscreenMode');" . " if ( !isFullScreenMode )" . " wp.data.dispatch('core/edit-post').toggleFeature('fullscreenMode');" . "});"; wp_add_inline_script( 'wp-blocks', $js_code ); } add_action( 'enqueue_block_editor_assets', 'se337302_fullscreen_editor' );
wordpress
{ "language": "en", "length": 104, "provenance": "stackexchange_00019.jsonl.gz:495099", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/337302" }
[ -0.0078125, -0.0231475830078125, -0.0021514892578125, -0.0008106231689453125, -0.01212310791015625, -0.016326904296875, 0.04864501953125, 0.0018529891967773438, 0.045806884765625, 0.007720947265625, 0.001735687255859375, -0.042816162109375, -0.01371002197265625, -0.047393798828125, -0.031158447265625, -0.0202484130859375, 0.037628173828125, -0.02099609375, 0.007144927978515625, 0.0089874267578125, -0.00449371337890625, 0.036376953125, 0.0006151199340820312, 0.0526123046875, 0.00001239776611328125, 0.00948333740234375, 0.037109375, -0.0057373046875, -0.0211181640625, -0.0217132568359375, 0.01418304443359375, 0.0181884765625, 0.044586181640625, 0.01068115234375, -0.069091796875, 0.0183258056640625, -0.007778167724609375, -0.01442718505859375, -0.034149169921875, 0.041046142578125, 0.016876220703125, 0.0007214546203613281, -0.0665283203125, 0.0198516845703125, -0.05694580078125, -0.02435302734375, -0.011474609375, -0.0130615234375, 0.0244293212890625, 0.0294342041015625, -0.0193023681640625, 0.04095458984375, -0.00421905517578125, -0.000027298927307128906, 0.0015916824340820312, -0.029876708984375, -0.022216796875, 0.01654052734375, 0.0166778564453125, 0.032562255859375, -0.002246856689453125, -0.0000017285346984863281, 0.0059661865234375, -0.0221099853515625, 0.0196990966796875, -0.0271759033203125, -0.0007786750793457031, 0.01727294921875, -0.0257568359375, 0.03466796875, 0.04217529296875, -0.0322265625, 0.004932403564453125, -0.049224853515625, 0.00977325439453125, 0.022613525390625, -0.033203125, -0.01983642578125, 0.03729248046875, -0.0304412841796875, -0.020751953125, -0.02288818359375, -0.004241943359375, -0.057220458984375, 0.014892578125, -0.02020263671875, -0.0160980224609375, 0.0140380859375, -0.0009675025939941406, -0.042999267578125, -0.00121307373046875, 0.002960205078125, -0.065673828125, 0.0211944580078125, -0.00782012939453125, -0.03253173828125, 0.0262298583984375, -0.01398468017578125, -0.0032176971435546875, -0.0169830322265625, 0.033905029296875, -0.06634521484375, 0.058685302734375, -0.0134429931640625, -0.007190704345703125, 0.034210205078125, -0.0165863037109375, 0.0101776123046875, 0.028045654296875, 0.0240478515625, 0.004638671875, -0.019989013671875, -0.01090240478515625, 0.01971435546875, -0.0257110595703125, -0.022186279296875, -0.07696533203125, 0.03778076171875, -0.02557373046875, 0.039947509765625, 0.004119873046875, 0.05010986328125, -0.012237548828125, 0.01142120361328125, -0.01824951171875, 0.007293701171875, 0.01334381103515625, -0.065673828125, -0.0416259765625, 0.00617218017578125, -0.016876220703125, 0.036651611328125, 0.069580078125, 0.035736083984375, -0.0026569366455078125, -0.01274871826171875, -0.01540374755859375, 0.01163482666015625, -0.0072021484375, 0.01021575927734375, -0.058074951171875, -0.00991058349609375, 0.056854248046875, -0.0587158203125, 0.02490234375, 0.0289154052734375, 0.0419921875, 0.004116058349609375, -0.0301361083984375, -0.065185546875, 0.0210113525390625, 0.0030345916748046875, 0.0157012939453125, 0.0209197998046875, 0.003948211669921875, -0.007415771484375, 0.04693603515625, -0.01812744140625, -0.0194244384765625, -0.0242462158203125, 0.016143798828125, -0.004291534423828125, 0.01073455810546875, -0.0228424072265625, -0.018280029296875, -0.0166015625, -0.0241546630859375, 0.00043201446533203125, 0.024932861328125, 0.00681304931640625, 0.00033283233642578125, -0.005252838134765625, 0.00318145751953125, -0.00875091552734375, -0.021575927734375, 0.0178985595703125, -0.0202178955078125, 0.0003554821014404297, 0.0189971923828125, -0.0066680908203125, -0.02752685546875, -0.035400390625, 0.0121612548828125, -0.0124969482421875, -0.011871337890625, 0.0011844635009765625, -0.0169525146484375, 0.042144775390625, 0.041290283203125, 0.032012939453125, -0.042449951171875, -0.04437255859375, -0.07080078125, 0.00234222412109375, -0.018768310546875, 0.00624847412109375, -0.0027790069580078125, 0.003643035888671875, -0.0105133056640625, 0.0297393798828125, 0.06573486328125, -0.037567138671875, 0.0207672119140625, -0.05548095703125, -0.08978271484375, -0.0380859375, -0.031982421875, 0.032318115234375, 0.055816650390625, -0.0450439453125, -0.02545166015625, -0.056243896484375, 0.026336669921875, -0.05194091796875, -0.08428955078125, 0.05792236328125, -0.019622802734375, 0.045379638671875, 0.0050201416015625, 0.033355712890625, 0.00925445556640625, -0.0249176025390625, 0.0189361572265625, -0.012420654296875, 0.07342529296875, -0.0117950439453125, -0.010528564453125, -0.029815673828125, 0.0794677734375, 0.005283355712890625, -0.01446533203125, 0.00982666015625, -0.00093841552734375, -0.01395416259765625, -0.03961181640625, -0.0066680908203125, 0.0124053955078125, -0.02093505859375, 0.004894256591796875, 0.0421142578125, 0.0236968994140625, -0.02191162109375, -0.0276031494140625, 0.003528594970703125, 0.026611328125, 0.005741119384765625, 0.0219268798828125, -0.0138397216796875, 0.0211639404296875, 0.0114288330078125, -0.044952392578125, -0.0176239013671875, 0.043121337890625, -0.03387451171875, 0.0215301513671875, 0.047027587890625, 0.0123748779296875, 0.007724761962890625, 0.0200347900390625, -0.02178955078125, 0.008087158203125, -0.0305023193359375, -0.03082275390625, -0.01509857177734375, 0.031951904296875, -0.0017480850219726562, 0.029815673828125, 0.0289154052734375, -0.053680419921875, 0.0167388916015625, 0.0255279541015625, 0.038543701171875, 0.0035381317138671875, 0.01213836669921875, 0.043487548828125, -0.0240936279296875, -0.0157623291015625, -0.0099639892578125, 0.01332855224609375, -0.004093170166015625, -0.01377105712890625, 0.0062103271484375, -0.0216827392578125, -0.0106964111328125, 0.0234527587890625, -0.0133056640625, 0.007350921630859375, -0.00826263427734375, -0.031829833984375, -0.018341064453125, 0.0295562744140625, -0.0204925537109375, -0.030670166015625, -0.0006732940673828125, -0.0107421875, -0.03936767578125, 0.052734375, -0.0712890625, 0.05487060546875, -0.04852294921875, 0.083740234375, 0.06549072265625, -0.046234130859375, 0.0312347412109375, 0.00958251953125, -0.004718780517578125, 0.034576416015625, -0.0084075927734375, -0.023681640625, 0.01445770263671875, -0.06695556640625, -0.017608642578125, -0.003078460693359375, 0.0245819091796875, -0.047637939453125, -0.037994384765625, -0.043670654296875, -0.00012373924255371094, -0.057769775390625, 0.003948211669921875, -0.04010009765625, -0.08477783203125, -0.0330810546875, -0.028228759765625, -0.06109619140625, 0.032928466796875, -0.0034503936767578125, 0.003936767578125, 0.0178070068359375, -0.004673004150390625, -0.0237274169921875, -0.00463104248046875, -0.0301971435546875, -0.017791748046875, -0.005519866943359375, -0.01412200927734375, 0.0004892349243164062, 0.0251312255859375, -0.0178375244140625, -0.0096588134765625, -0.023101806640625, -0.05419921875, -0.015167236328125, -0.06158447265625, 0.013519287109375, -0.047119140625, -0.00412750244140625, 0.0092010498046875, -0.04669189453125, -0.013092041015625, 0.0250701904296875, -0.014617919921875, -0.0167694091796875, -0.00951385498046875, -0.0352783203125, 0.04644775390625, 0.037933349609375, -0.055999755859375, -0.0205841064453125, -0.06964111328125, -0.003864288330078125, 0.01416015625, -0.0192413330078125, -0.00853729248046875, -0.00260162353515625, -0.00685882568359375, -0.00283050537109375, 0.0186309814453125, 0.0185394287109375, 0.0083160400390625, 0.067626953125, 0.00267791748046875, -0.044525146484375, -0.03399658203125, -0.037353515625, -0.05615234375, 0.01222991943359375, -0.0228729248046875, 0.0225372314453125, -0.0154266357421875, 0.006076812744140625, -0.0166778564453125, 0.0179290771484375, -0.045654296875, -0.036468505859375, 0.03363037109375, -0.051300048828125, -0.0238494873046875, -0.0225830078125, 0.00290679931640625, 0.0158843994140625, 0.04400634765625, -0.001956939697265625, -0.003997802734375, 0.0296630859375, -0.0015363693237304688, -0.0233306884765625, 0.0086212158203125, -0.05072021484375, -0.0030078887939453125, -0.044036865234375, 0.040069580078125, 0.032440185546875, -0.0305938720703125, -0.0210723876953125, -0.0198211669921875, -0.0518798828125, 0.0014925003051757812, 0.045318603515625, -0.04400634765625, -0.0157012939453125, 0.06597900390625, -0.036590576171875, 0.008148193359375, -0.025543212890625, -0.01342010498046875, -0.09478759765625, -0.01141357421875, -0.04718017578125, 0.074462890625, 0.01458740234375, -0.0036907196044921875, -0.04742431640625, 0.0269012451171875, 0.0386962890625, 0.03955078125, 0.0166778564453125, -0.011993408203125, 0.03125, -0.038360595703125, 0.04510498046875, -0.040985107421875, 0.01541900634765625, -0.005870819091796875, -0.035186767578125, 0.032867431640625, -0.02508544921875, 0.007419586181640625, 0.003444671630859375, -0.0272979736328125, -0.044036865234375, -0.04486083984375, -0.09423828125, -0.02349853515625, -0.02117919921875, -0.04010009765625, -0.070068359375, -0.07659912109375, 0.021820068359375, -0.01416778564453125, -0.028594970703125, 0.01340484619140625, 0.050079345703125, 0.023223876953125, -0.00977325439453125, -0.00682830810546875, -0.0166778564453125, 0.044677734375, 0.033416748046875, 0.039794921875, 0.0347900390625, -0.0276336669921875, 0.060272216796875, 0.035675048828125, -0.022613525390625, -0.02471923828125, 0.05731201171875, 0.0007033348083496094, -0.020355224609375, 0.01171875, -0.03729248046875, 0.030364990234375, -0.00968170166015625, -0.04010009765625, 0.039154052734375, -0.00872802734375, -0.00011640787124633789, 0.007770538330078125, -0.007049560546875, -0.02679443359375, 0.037841796875, -0.0231475830078125, 0.0219573974609375, 0.08941650390625, 0.062744140625, -0.00433349609375, 0.02569580078125, 0.06787109375, -0.0089874267578125, 0.01119232177734375, -0.00879669189453125, -0.0016984939575195312, 0.03912353515625, -0.02044677734375, 0.0023708343505859375, 0.0061798095703125, 0.0180511474609375, 0.016021728515625, -0.01812744140625, -0.048248291015625, -0.042816162109375, 0.0151214599609375, 0.00537872314453125, 0.041900634765625, -0.00373077392578125, 0.033233642578125, 0.0231781005859375, -0.029510498046875, -0.0082855224609375, 0.0253143310546875, -0.03424072265625, -0.052764892578125, 0.006656646728515625, -0.00449371337890625, -0.01221466064453125, 0.00313568115234375, 0.0345458984375, 0.0178985595703125, -0.01137542724609375, -0.014801025390625, 0.014495849609375, -0.01012420654296875, 0.0186614990234375, 0.0038604736328125, 0.0267181396484375, -0.004795074462890625, -0.00513458251953125, 0.0030918121337890625, -0.0131378173828125, -0.0323486328125, 0.00555419921875, 0.02508544921875, 0.0014133453369140625, 0.007312774658203125, 0.0128631591796875, -0.00641632080078125, -0.007381439208984375, 0.00044798851013183594, -0.0290679931640625, -0.03692626953125, -0.0198516845703125, -0.005336761474609375, 0.022186279296875, -0.01280975341796875, -0.01432037353515625, 0.0037860870361328125, -0.007320404052734375, 0.04656982421875, -0.0159912109375, -0.01531219482421875, 0.01319122314453125, -0.0050506591796875, 0.005863189697265625, -0.01192474365234375, 0.004627227783203125, -0.060821533203125, -0.01485443115234375, -0.034332275390625, -0.0166473388671875, 0.08868408203125, -0.0219268798828125, 0.00559234619140625, -0.012054443359375, 0.00579833984375, -0.000583648681640625, 0.02618408203125, 0.01552581787109375, -0.0018215179443359375, 0.0181884765625, -0.022705078125, -0.05963134765625, -0.0265655517578125, -0.031402587890625, -0.0533447265625, -0.0219573974609375, -0.01218414306640625, 0.0287322998046875, 0.0283660888671875, -0.0109100341796875, -0.04962158203125, -0.0006413459777832031, 0.0088043212890625, 0.0235137939453125, 0.07568359375, -0.0221710205078125, 0.047088623046875, -0.00963592529296875, 0.04388427734375, -0.018707275390625, -0.0207672119140625, -0.010040283203125, 0.0003287792205810547, -0.01004791259765625, -0.01158905029296875, 0.005207061767578125, 0.0072021484375, 0.01308441162109375, -0.011016845703125, 0.020111083984375, 0.0067291259765625, -0.006137847900390625, -0.023162841796875, -0.00148773193359375, -0.047088623046875, 0.045166015625, -0.04754638671875, -0.0162200927734375, -0.033203125, -0.01239776611328125, 0.0267181396484375, -0.01502227783203125, -0.036163330078125, 0.0587158203125, -0.017364501953125, 0.0283660888671875, -0.004608154296875, -0.004245758056640625, 0.0244293212890625, 0.04901123046875, -0.0006513595581054688, 0.005992889404296875, 0.0249786376953125, -0.0020503997802734375, -0.035491943359375, 0.003997802734375, -0.06500244140625, 0.00038695335388183594, -0.028900146484375, -0.017578125, 0.03082275390625, -0.01340484619140625, 0.035430908203125, 0.0374755859375, 0.07421875, 0.1080322265625, -0.10565185546875, 0.025482177734375, 0.041107177734375, -0.0301971435546875, 0.0037784576416015625, -0.010284423828125, 0.00028204917907714844, -0.03179931640625, 0.08319091796875, -0.0316162109375, 0.00910186767578125, 0.051788330078125, -0.0224609375, 0.01031494140625, -0.017852783203125, 0.0628662109375, 0.01404571533203125, -0.0039520263671875, 0.00008994340896606445, -0.00989532470703125, 0.0198974609375, 0.0021953582763671875, 0.0328369140625, -0.0335693359375, -0.0185089111328125, -0.0310516357421875, -0.02667236328125, -0.005672454833984375, -0.0338134765625, 0.0675048828125, -0.007266998291015625, -0.0445556640625, 0.058441162109375, -0.050689697265625, 0.05242919921875, 0.0278472900390625, -0.041229248046875, -0.06915283203125, -0.038848876953125, 0.027374267578125, 0.01461029052734375, -0.0244903564453125, 0.03851318359375, -0.00772857666015625, -0.052825927734375, -0.0035991668701171875, -0.0088958740234375, 0.08404541015625, -0.0246124267578125, -0.0231170654296875, 0.025970458984375, -0.006641387939453125, -0.0155487060546875, -0.00844573974609375, 0.034332275390625, -0.01181793212890625, 0.0181121826171875, -0.0012559890747070312, -0.013671875, -0.0196075439453125, -0.016082763671875, -0.023284912109375, 0.06549072265625, -0.016387939453125, -0.01282501220703125, 0.0140228271484375, 0.025665283203125, -0.0245208740234375, 0.01593017578125, -0.0223236083984375, 0.0352783203125, 0.0255279541015625, -0.0027942657470703125, -0.0113372802734375, -0.000873565673828125, 0.001903533935546875, 0.01180267333984375, 0.0236053466796875, 0.0011434555053710938, -0.04803466796875, -0.004207611083984375, 0.0234527587890625, 0.046783447265625, 0.0142822265625, 0.03814697265625, 0.0007467269897460938, 0.005767822265625, -0.0046234130859375, -0.01751708984375, 0.02337646484375, -0.053497314453125, -0.0423583984375, 0.0174560546875, 0.024749755859375, 0.0165252685546875, 0.03472900390625, 0.002117156982421875, 0.0177154541015625, 0.01183319091796875, 0.0092010498046875, -0.056793212890625, -0.03460693359375, 0.02777099609375, 0.0039520263671875, -0.042236328125, -0.0172119140625, -0.0260162353515625, 0.0271148681640625, 0.01499176025390625, -0.06573486328125, 0.0185546875, 0.004673004150390625, -0.0731201171875, -0.019134521484375, -0.0341796875, 0.004985809326171875, -0.00421905517578125, 0.0088958740234375, 0.01084136962890625, 0.0025119781494140625, -0.02520751953125, 0.035430908203125, 0.029693603515625, 0.007198333740234375, -0.0333251953125, -0.0654296875, 0.00603485107421875, 0.02020263671875, 0.0199127197265625, 0.0157318115234375, 0.023223876953125, -0.0154266357421875, 0.047119140625, -0.006511688232421875, -0.0233001708984375, -0.0126800537109375, 0.00695037841796875, -0.0185546875, -0.0166778564453125, 0.053863525390625, -0.01297760009765625, -0.057861328125, 0.0183868408203125, 0.0214691162109375, 0.0007467269897460938, 0.01277923583984375, 0.0401611328125, 0.096923828125, 0.007183074951171875, -0.057464599609375, 0.0584716796875, 0.003528594970703125, 0.07061767578125, -0.057403564453125, -0.003520965576171875, 0.0082244873046875, 0.034393310546875, 0.017913818359375, 0.0276336669921875, 0.036163330078125, 0.03228759765625, 0.01485443115234375, -0.00791168212890625, -0.0177459716796875, -0.015838623046875, -0.023284912109375, -0.018402099609375, 0.00757598876953125, 0.0095977783203125, -0.0025157928466796875, 0.0183868408203125, 0.039581298828125, 0.017120361328125, 0.0138397216796875, -0.0085601806640625, 0.024566650390625, -0.035736083984375, 0.0004987716674804688, 0.0399169921875, 0.0321044921875, 0.047393798828125, -0.05517578125, -0.004161834716796875, 0.0090179443359375, -0.042449951171875, 0.0087127685546875, 0.04315185546875, -0.0217437744140625, 0.0176544189453125, -0.0196990966796875, -0.0004515647888183594, 0.06512451171875, -0.035125732421875, 0.0047607421875, 0.06378173828125, 0.01715087890625, -0.00991058349609375, -0.047515869140625, -0.03680419921875, -0.0185089111328125, 0.05499267578125, -0.015899658203125, 0.08624267578125, -0.029144287109375, 0.0077056884765625, 0.0177154541015625, 0.0008072853088378906, 0.0123443603515625, 0.00946807861328125, -0.0131988525390625, 0.030029296875, 0.041412353515625, -0.027679443359375, -0.04937744140625, 0.032379150390625, 0.038665771484375, 0.0181732177734375, 0.015106201171875, 0.0151824951171875, 0.0191497802734375, -0.0090789794921875, 0.004360198974609375, -0.0255889892578125, -0.038299560546875, -0.040313720703125, 0.0230865478515625, 0.0096435546875, 0.01287078857421875, -0.03204345703125, 0.04217529296875, 0.007770538330078125, -0.00225830078125, 0.01273345947265625, -0.037750244140625, 0.032623291015625, 0.040740966796875, -0.055999755859375, -0.0256195068359375, -0.00490570068359375, 0.0005512237548828125, -0.026824951171875, 0.0263519287109375, -0.0257415771484375, 0.019500732421875, -0.025177001953125, 0.051727294921875, 0.025634765625, 0.031951904296875, -0.0341796875, -0.00954437255859375, 0.06231689453125, -0.01297760009765625, -0.0024566650390625, 0.0007214546203613281, 0.01357269287109375, -0.00910186767578125, -0.03594970703125, -0.0002224445343017578, -0.0194091796875, -0.07391357421875, -0.042755126953125, 0.0144195556640625, -0.0106048583984375, -0.01140594482421875, -0.048187255859375, 0.0288543701171875, -0.016326904296875, 0.042205810546875, -0.027679443359375, -0.005401611328125, -0.00408935546875, 0.00762176513671875, -0.0099334716796875, 0.0069580078125, -0.032257080078125, 0.0083770751953125, -0.00125885009765625, 0.024688720703125, 0.03985595703125, -0.01104736328125, 0.007152557373046875, 0.019287109375, 0.01387786865234375, 0.0623779296875, -0.041748046875, -0.007724761962890625, -0.02691650390625, 0.0197296142578125, -0.01479339599609375, -0.024871826171875, 0.0291900634765625, -0.023162841796875, -0.0242767333984375, 0.025604248046875, -0.01197052001953125, 0.023345947265625, -0.04803466796875, -0.0816650390625, -0.004871368408203125, 0.0194244384765625, -0.0416259765625, -0.0306396484375, 0.0223388671875, -0.011505126953125, 0.05572509765625, -0.0032596588134765625, 0.0013942718505859375, 0.001712799072265625, 0.0027599334716796875, -0.00066375732421875, -0.014801025390625, 0.017974853515625, -0.015869140625, -0.027008056640625, 0.0025768280029296875, 0.0009984970092773438, -0.039306640625, -0.009796142578125, -0.0018711090087890625, 0.0289154052734375, 0.0478515625, -0.0106201171875, 0.0225830078125, 0.0078582763671875, -0.0148468017578125, 0.005649566650390625, -0.01444244384765625, -0.036651611328125, -0.0068511962890625, 0.08123779296875, 0.023284912109375, 0.0227813720703125, -0.0240631103515625, -0.050689697265625, -0.0595703125, -0.012298583984375, 0.002315521240234375, 0.007183074951171875, -0.042144775390625, 0.049896240234375, -0.003143310546875, -0.03253173828125, 0.018157958984375, -0.0048675537109375, -0.054473876953125, 0.0100555419921875, -0.049346923828125, -0.03326416015625, -0.057769775390625, 0.01428985595703125, 0.052490234375, -0.059906005859375, -0.04229736328125, 0.00496673583984375, -0.00698089599609375, -0.002902984619140625, -0.02764892578125, -0.034271240234375, 0.0040435791015625, -0.0238189697265625, 0.0024547576904296875, -0.00821685791015625, 0.01361083984375, -0.01702880859375, 0.01372528076171875, 0.025299072265625, 0.004077911376953125, -0.0180206298828125, 0.01229095458984375, 0.0202789306640625, 0.01479339599609375, -0.0259552001953125, 0.01409149169921875, -0.04547119140625, 0.004302978515625, -0.01233673095703125, -0.001373291015625, 0.0005865097045898438, 0.0169525146484375, 0.0645751953125, -0.032806396484375, 0.0073394775390625, 0.050872802734375, 0.01502227783203125, -0.0228118896484375, -0.0016889572143554688, -0.039642333984375, 0.038330078125, -0.0031604766845703125 ]
d70dd026a019832db5a1b24664bd10c58ba86e94
Wordpress Stackexchange Q: How to get "Additional CSS Class" for ACF Gutenberg block I have registered a custom block with ACFs acf_register_block. I have set a render_callback to load a php template but would like to access any extra CSS classes which the user may have set in the admin. Does WordPress provide a global like $block (similar to $post) or would I need to raise a question on the ACF support forums? A: Note that I don't have ACF PRO 5.8 which comes with the Block features, but I hope this answer helps. If you look at the example here, you can retrieve the additional/custom CSS classes using props.attributes.className; i.e. the classes are saved as an attribute named className. So with that in mind and based on acf_register_block() (which as of writing, it redirects to acf_register_block_type()), your render_callback function would receive a $block array (the block settings and attributes) as the first argument, and therefore you should be able to retrieve the additional CSS class(es) via $block['className'] as shown here — see the example under "Registering a block with callback".
Q: How to get "Additional CSS Class" for ACF Gutenberg block I have registered a custom block with ACFs acf_register_block. I have set a render_callback to load a php template but would like to access any extra CSS classes which the user may have set in the admin. Does WordPress provide a global like $block (similar to $post) or would I need to raise a question on the ACF support forums? A: Note that I don't have ACF PRO 5.8 which comes with the Block features, but I hope this answer helps. If you look at the example here, you can retrieve the additional/custom CSS classes using props.attributes.className; i.e. the classes are saved as an attribute named className. So with that in mind and based on acf_register_block() (which as of writing, it redirects to acf_register_block_type()), your render_callback function would receive a $block array (the block settings and attributes) as the first argument, and therefore you should be able to retrieve the additional CSS class(es) via $block['className'] as shown here — see the example under "Registering a block with callback".
wordpress
{ "language": "en", "length": 179, "provenance": "stackexchange_00019.jsonl.gz:495137", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/337416" }
[ 0.0027370452880859375, -0.0188751220703125, -0.037994384765625, -0.050689697265625, -0.004970550537109375, -0.0296173095703125, -0.0196990966796875, 0.01800537109375, -0.037689208984375, 0.0374755859375, -0.0340576171875, 0.06439208984375, -0.014373779296875, 0.0036907196044921875, 0.0271759033203125, -0.013427734375, 0.0404052734375, 0.003879547119140625, 0.0189361572265625, 0.0085296630859375, -0.01528167724609375, 0.03265380859375, -0.0029964447021484375, 0.053070068359375, 0.005035400390625, -0.06512451171875, 0.08209228515625, -0.00012123584747314453, 0.0168609619140625, -0.017578125, 0.0274810791015625, -0.0175323486328125, 0.029296875, 0.0255889892578125, -0.03497314453125, -0.035980224609375, 0.058380126953125, -0.022369384765625, -0.03643798828125, 0.05975341796875, 0.019500732421875, -0.01062774658203125, -0.0166168212890625, 0.048095703125, -0.0293731689453125, -0.01220703125, -0.0021266937255859375, -0.0247344970703125, 0.022979736328125, 0.004009246826171875, -0.0000020265579223632812, -0.017822265625, -0.0081787109375, 0.0059661865234375, -0.0143890380859375, -0.01509857177734375, -0.0103607177734375, 0.07427978515625, 0.031585693359375, 0.01324462890625, -0.05633544921875, 0.027374267578125, -0.00843048095703125, -0.0772705078125, -0.013916015625, 0.01023101806640625, 0.037384033203125, 0.0220489501953125, -0.021697998046875, -0.026092529296875, 0.006900787353515625, 0.005207061767578125, -0.03338623046875, -0.027069091796875, -0.036590576171875, 0.03009033203125, 0.030487060546875, -0.0113983154296875, -0.01314544677734375, 0.018524169921875, -0.004375457763671875, 0.0171966552734375, -0.08935546875, 0.002483367919921875, -0.0038700103759765625, 0.019256591796875, -0.0245819091796875, -0.028289794921875, -0.00513458251953125, -0.01611328125, -0.0261383056640625, -0.0107574462890625, 0.0162353515625, 0.010986328125, -0.02685546875, -0.0207672119140625, 0.0011539459228515625, 0.0226287841796875, -0.0066375732421875, 0.0005030632019042969, -0.00628662109375, -0.0233154296875, 0.00968170166015625, -0.02593994140625, -0.00711822509765625, 0.059539794921875, 0.003353118896484375, 0.01146697998046875, 0.023040771484375, 0.00007992982864379883, 0.0135040283203125, -0.033966064453125, 0.006595611572265625, 0.0204620361328125, -0.05780029296875, -0.0192108154296875, -0.0218658447265625, -0.04132080078125, -0.01617431640625, -0.0293731689453125, 0.021392822265625, 0.038665771484375, 0.037994384765625, -0.0338134765625, -0.00643157958984375, -0.0097503662109375, -0.00826263427734375, -0.06634521484375, -0.007312774658203125, -0.034149169921875, 0.0045013427734375, 0.05328369140625, 0.0006399154663085938, 0.012054443359375, -0.028167724609375, 0.0211029052734375, 0.01071929931640625, 0.01111602783203125, -0.01157379150390625, -0.0027141571044921875, 0.020355224609375, -0.017059326171875, -0.03228759765625, -0.005641937255859375, -0.0025844573974609375, -0.0156402587890625, 0.021453857421875, 0.0260772705078125, -0.02313232421875, -0.051544189453125, 0.06787109375, -0.04779052734375, 0.031585693359375, 0.051544189453125, -0.001499176025390625, 0.0217437744140625, 0.06390380859375, -0.01654052734375, -0.052703857421875, -0.046356201171875, 0.03155517578125, -0.011749267578125, -0.0214996337890625, 0.00399017333984375, -0.008087158203125, -0.01055908203125, -0.03228759765625, -0.002079010009765625, 0.0343017578125, -0.01230621337890625, 0.044586181640625, -0.0121917724609375, 0.044891357421875, 0.010833740234375, -0.0163116455078125, 0.0134735107421875, -0.00948333740234375, 0.022918701171875, 0.02789306640625, -0.0355224609375, -0.018890380859375, -0.039306640625, 0.07977294921875, -0.03387451171875, -0.0226593017578125, -0.0093994140625, -0.014068603515625, 0.01447296142578125, 0.0482177734375, 0.012603759765625, -0.0193328857421875, -0.01523590087890625, -0.058807373046875, 0.00832366943359375, -0.01959228515625, 0.03436279296875, -0.0017595291137695312, 0.04534912109375, -0.0007123947143554688, -0.037384033203125, 0.0045318603515625, -0.0127410888671875, 0.024139404296875, -0.00974273681640625, 0.012176513671875, -0.0172882080078125, 0.0059356689453125, 0.024078369140625, -0.028961181640625, 0.005535125732421875, 0.006496429443359375, -0.025238037109375, -0.0049896240234375, -0.0243682861328125, -0.01023101806640625, 0.00984954833984375, -0.006687164306640625, 0.04248046875, -0.01800537109375, 0.0032482147216796875, 0.004058837890625, -0.042449951171875, 0.0092926025390625, 0.0297698974609375, 0.04266357421875, 0.032470703125, -0.020172119140625, 0.004657745361328125, 0.033935546875, 0.053497314453125, -0.049713134765625, -0.0199432373046875, -0.03228759765625, 0.02203369140625, -0.00820159912109375, -0.017669677734375, -0.01309967041015625, -0.060760498046875, 0.039031982421875, 0.0310516357421875, 0.055267333984375, -0.044952392578125, -0.00677490234375, -0.03466796875, 0.0794677734375, 0.024749755859375, 0.0232696533203125, -0.0308685302734375, -0.05224609375, -0.0237884521484375, 0.031982421875, 0.0221710205078125, 0.0186767578125, 0.0119171142578125, 0.0019073486328125, 0.0301361083984375, 0.001369476318359375, -0.02386474609375, -0.052978515625, 0.045745849609375, 0.00311279296875, -0.017059326171875, -0.033935546875, -0.008056640625, 0.040618896484375, 0.010040283203125, 0.0213775634765625, 0.00981903076171875, -0.0361328125, 0.04022216796875, 0.017913818359375, -0.02545166015625, 0.00907135009765625, 0.03924560546875, -0.0007123947143554688, 0.041473388671875, -0.024383544921875, -0.0200653076171875, 0.0251007080078125, 0.0308380126953125, -0.029052734375, 0.00806427001953125, -0.045562744140625, -0.012451171875, -0.00968170166015625, -0.057861328125, 0.00469207763671875, 0.009002685546875, -0.034942626953125, -0.0032863616943359375, 0.037689208984375, 0.0157928466796875, -0.00980377197265625, -0.007167816162109375, 0.01372528076171875, -0.01409912109375, 0.033935546875, -0.01284027099609375, 0.019256591796875, -0.01279449462890625, 0.02569580078125, 0.038330078125, -0.0313720703125, 0.0055694580078125, 0.0006427764892578125, -0.054046630859375, -0.006282806396484375, -0.00853729248046875, -0.0192718505859375, -0.05194091796875, -0.005939483642578125, 0.045928955078125, 0.0218658447265625, 0.0748291015625, -0.026763916015625, -0.0654296875, -0.00537872314453125, 0.0318603515625, -0.05718994140625, -0.048919677734375, -0.01041412353515625, -0.0452880859375, 0.004375457763671875, 0.0048828125, -0.041534423828125, -0.00878143310546875, 0.036163330078125, 0.01226043701171875, -0.007205963134765625, -0.031280517578125, -0.0260467529296875, -0.0533447265625, -0.07110595703125, -0.01447296142578125, 0.01453399658203125, 0.004886627197265625, -0.007518768310546875, 0.052398681640625, 0.00021946430206298828, -0.006961822509765625, -0.0003409385681152344, -0.0303192138671875, 0.002532958984375, -0.026580810546875, 0.006786346435546875, -0.07269287109375, 0.0263214111328125, -0.002056121826171875, -0.0265350341796875, 0.00545501708984375, 0.0182952880859375, 0.002758026123046875, -0.005222320556640625, 0.03887939453125, -0.0024433135986328125, 0.039947509765625, 0.029754638671875, 0.0023746490478515625, -0.0020618438720703125, -0.04278564453125, -0.0232391357421875, 0.0247955322265625, -0.0207366943359375, 0.02099609375, 0.0037288665771484375, -0.01137542724609375, 0.005954742431640625, 0.0255279541015625, -0.01285552978515625, -0.01045989990234375, 0.0257415771484375, -0.039276123046875, 0.04425048828125, -0.0148468017578125, 0.001064300537109375, -0.017791748046875, 0.01187896728515625, -0.004283905029296875, 0.01776123046875, -0.005344390869140625, 0.0247802734375, -0.01218414306640625, 0.0149993896484375, -0.07421875, -0.04620361328125, 0.056549072265625, -0.040679931640625, 0.018402099609375, -0.064453125, -0.032135009765625, -0.0024509429931640625, 0.1068115234375, -0.017333984375, -0.03155517578125, 0.0019550323486328125, 0.028167724609375, -0.04266357421875, -0.048187255859375, -0.002765655517578125, -0.01099395751953125, -0.095947265625, -0.0203399658203125, -0.015960693359375, -0.0423583984375, -0.0037841796875, -0.024505615234375, -0.055694580078125, -0.04791259765625, 0.0203399658203125, 0.0037670135498046875, 0.01324462890625, 0.018218994140625, 0.0343017578125, -0.03582763671875, 0.0228271484375, -0.007720947265625, -0.085205078125, -0.01500701904296875, -0.02984619140625, 0.07220458984375, 0.0010318756103515625, 0.03192138671875, -0.018768310546875, 0.052764892578125, 0.007781982421875, 0.00921630859375, 0.0262908935546875, 0.008575439453125, 0.065185546875, -0.02386474609375, 0.01491546630859375, -0.0254058837890625, 0.0212554931640625, 0.0036525726318359375, -0.059356689453125, 0.0249481201171875, -0.02862548828125, -0.019073486328125, 0.0227203369140625, -0.042236328125, -0.0006165504455566406, 0.01189422607421875, 0.00188446044921875, 0.016693115234375, 0.0022602081298828125, -0.0014390945434570312, 0.01302337646484375, -0.020751953125, -0.00262451171875, -0.006069183349609375, -0.028472900390625, 0.02685546875, 0.0218505859375, 0.043426513671875, -0.012786865234375, -0.022308349609375, 0.0294952392578125, 0.0272369384765625, -0.022064208984375, 0.0760498046875, 0.05657958984375, 0.005496978759765625, 0.025634765625, -0.006336212158203125, -0.003749847412109375, -0.02337646484375, 0.03753662109375, 0.00373077392578125, -0.0176544189453125, -0.00293731689453125, -0.0207977294921875, 0.0226287841796875, -0.0009765625, -0.0133819580078125, -0.012451171875, 0.034698486328125, 0.0225677490234375, -0.0168304443359375, 0.030364990234375, -0.026580810546875, -0.01021575927734375, 0.00760650634765625, -0.0152587890625, 0.057403564453125, 0.0254364013671875, -0.0160675048828125, 0.0232086181640625, 0.022735595703125, 0.01151275634765625, 0.0019474029541015625, -0.01131439208984375, -0.006504058837890625, 0.0227813720703125, 0.0177459716796875, 0.003246307373046875, 0.0131683349609375, 0.0210113525390625, 0.033966064453125, -0.0390625, -0.04913330078125, -0.073974609375, -0.0244903564453125, -0.0306854248046875, 0.03515625, -0.007312774658203125, 0.06463623046875, 0.01393890380859375, 0.008148193359375, 0.00637054443359375, -0.0174102783203125, -0.025115966796875, -0.03759765625, 0.061676025390625, 0.0103607177734375, -0.00392913818359375, -0.0265350341796875, 0.05853271484375, 0.04656982421875, -0.0017290115356445312, -0.01953125, 0.020751953125, -0.004947662353515625, 0.035247802734375, 0.01003265380859375, -0.0258331298828125, 0.03204345703125, -0.01348114013671875, 0.00946807861328125, -0.00951385498046875, -0.01166534423828125, 0.0037784576416015625, 0.047576904296875, 0.009979248046875, 0.00984954833984375, -0.00403594970703125, -0.0230712890625, -0.050384521484375, 0.0224609375, 0.021820068359375, 0.0011806488037109375, -0.041961669921875, -0.0280303955078125, 0.048370361328125, 0.050445556640625, -0.0110626220703125, 0.00803375244140625, 0.0160980224609375, 0.01085662841796875, -0.00905609130859375, -0.05706787109375, 0.0390625, 0.04156494140625, -0.04302978515625, -0.0023784637451171875, -0.0181732177734375, -0.01934814453125, -0.051513671875, 0.003936767578125, -0.03253173828125, 0.0335693359375, -0.05804443359375, 0.033172607421875, -0.027313232421875, 0.00368499755859375, -0.048736572265625, 0.033447265625, 0.028076171875, 0.037353515625, 0.01389312744140625, -0.01436614990234375, -0.05126953125, -0.025604248046875, -0.0518798828125, -0.05291748046875, 0.013885498046875, 0.004795074462890625, -0.0022430419921875, 0.00641632080078125, -0.0033817291259765625, -0.01490020751953125, 0.003032684326171875, 0.036224365234375, 0.0137176513671875, 0.0193328857421875, 0.005374908447265625, 0.051666259765625, 0.0163421630859375, 0.0271148681640625, 0.04278564453125, 0.004215240478515625, -0.030517578125, -0.0148773193359375, -0.01110076904296875, -0.03607177734375, -0.0023441314697265625, 0.0094757080078125, -0.00763702392578125, 0.014923095703125, 0.03997802734375, 0.0091552734375, -0.0070343017578125, 0.008056640625, 0.0160369873046875, -0.032318115234375, -0.01126861572265625, 0.004337310791015625, -0.05242919921875, 0.0068359375, 0.0313720703125, 0.041015625, -0.0258941650390625, -0.03619384765625, 0.042510986328125, 0.0091400146484375, 0.047454833984375, -0.0408935546875, -0.040802001953125, 0.02484130859375, -0.01065826416015625, -0.0106048583984375, 0.00937652587890625, -0.0290069580078125, -0.0011644363403320312, -0.0022869110107421875, -0.02191162109375, -0.0104522705078125, 0.035614013671875, 0.045501708984375, 0.0005474090576171875, -0.0058746337890625, 0.0289764404296875, -0.0059967041015625, 0.025726318359375, 0.046905517578125, 0.052276611328125, -0.057464599609375, -0.002887725830078125, 0.005336761474609375, -0.027557373046875, 0.01458740234375, 0.028289794921875, -0.04559326171875, -0.052154541015625, -0.014129638671875, -0.00643157958984375, -0.0161895751953125, 0.0121612548828125, 0.031524658203125, 0.0166778564453125, -0.0025920867919921875, 0.021484375, -0.0141143798828125, 0.0209197998046875, -0.04266357421875, -0.035369873046875, 0.0244903564453125, -0.015838623046875, -0.006175994873046875, 0.023895263671875, -0.0297698974609375, -0.03594970703125, 0.01013946533203125, -0.0263214111328125, -0.00626373291015625, -0.006137847900390625, 0.011688232421875, 0.031829833984375, 0.01308441162109375, -0.0056304931640625, 0.005764007568359375, -0.013031005859375, 0.031463623046875, -0.048126220703125, -0.0080413818359375, 0.0233001708984375, -0.0020885467529296875, -0.0234375, 0.03839111328125, -0.018951416015625, -0.04498291015625, 0.0031147003173828125, 0.06732177734375, 0.07061767578125, 0.0029277801513671875, -0.0487060546875, 0.0382080078125, -0.006252288818359375, -0.0189666748046875, 0.02276611328125, 0.055023193359375, -0.039703369140625, -0.01465606689453125, 0.034088134765625, -0.0069122314453125, -0.042449951171875, 0.0136871337890625, -0.03717041015625, 0.039825439453125, 0.012054443359375, 0.01169586181640625, 0.034759521484375, 0.01273345947265625, -0.039154052734375, -0.0093841552734375, -0.0193939208984375, 0.01512908935546875, 0.0276947021484375, -0.01947021484375, -0.0728759765625, -0.0214080810546875, -0.0430908203125, 0.0565185546875, 0.0251617431640625, 0.01375579833984375, -0.033782958984375, -0.0195159912109375, -0.00733184814453125, 0.053497314453125, 0.00765228271484375, 0.01165771484375, 0.026611328125, 0.045135498046875, 0.0089111328125, -0.035675048828125, 0.023406982421875, -0.052337646484375, -0.01328277587890625, 0.05816650390625, -0.003017425537109375, -0.01226806640625, 0.055419921875, 0.0122833251953125, -0.068359375, 0.04815673828125, 0.04132080078125, -0.036590576171875, -0.01018524169921875, 0.0352783203125, 0.004016876220703125, -0.01181793212890625, -0.0377197265625, -0.02239990234375, 0.027252197265625, 0.00751495361328125, -0.0283050537109375, 0.0357666015625, 0.004817962646484375, -0.0219879150390625, -0.0131072998046875, -0.0268402099609375, -0.01363372802734375, 0.008056640625, 0.004817962646484375, 0.00260162353515625, 0.0204925537109375, -0.020050048828125, 0.01934814453125, 0.01486968994140625, -0.00827789306640625, -0.0187225341796875, -0.0038013458251953125, 0.0333251953125, 0.04388427734375, 0.017242431640625, 0.01678466796875, 0.06781005859375, -0.040435791015625, -0.01250457763671875, -0.034820556640625, -0.02752685546875, 0.006031036376953125, 0.01690673828125, -0.0090484619140625, -0.01291656494140625, 0.0131683349609375, -0.039031982421875, -0.06158447265625, 0.01107025146484375, 0.0298614501953125, 0.051177978515625, 0.0197296142578125, 0.06829833984375, 0.0208282470703125, -0.028045654296875, -0.044189453125, 0.0115966796875, 0.0004076957702636719, 0.042694091796875, 0.0030651092529296875, 0.050262451171875, -0.001171112060546875, 0.017822265625, -0.00972747802734375, 0.006870269775390625, 0.017791748046875, 0.0309906005859375, 0.00713348388671875, -0.0196380615234375, -0.033355712890625, -0.0171051025390625, 0.021087646484375, -0.0496826171875, 0.01287078857421875, -0.008056640625, -0.0194091796875, 0.007091522216796875, -0.0306549072265625, 0.038970947265625, -0.00719451904296875, 0.0325927734375, 0.0172119140625, -0.018524169921875, -0.037841796875, -0.006702423095703125, 0.0024700164794921875, 0.01280975341796875, -0.05255126953125, 0.004993438720703125, -0.0199737548828125, -0.06390380859375, 0.035675048828125, 0.052398681640625, -0.040069580078125, 0.017578125, 0.021881103515625, -0.028900146484375, 0.03240966796875, -0.013824462890625, 0.029510498046875, 0.0254364013671875, 0.0006442070007324219, 0.0148773193359375, -0.0789794921875, -0.0479736328125, -0.01023101806640625, 0.048248291015625, -0.017608642578125, 0.058624267578125, -0.01187896728515625, 0.00847625732421875, 0.00318145751953125, 0.011871337890625, 0.011566162109375, -0.009368896484375, 0.0274658203125, 0.042510986328125, 0.021636962890625, -0.0228729248046875, -0.048614501953125, 0.0005168914794921875, 0.06915283203125, -0.004337310791015625, 0.006137847900390625, 0.0240936279296875, 0.01387786865234375, -0.048248291015625, 0.0124359130859375, -0.047119140625, -0.093994140625, -0.084716796875, 0.0173492431640625, -0.0194244384765625, 0.0196685791015625, 0.004993438720703125, 0.017913818359375, 0.025604248046875, -0.016754150390625, 0.037933349609375, -0.0279541015625, 0.094970703125, 0.046051025390625, -0.04913330078125, 0.0026397705078125, -0.0029010772705078125, -0.021697998046875, 0.05950927734375, -0.0270233154296875, 0.049652099609375, 0.020233154296875, -0.023773193359375, 0.0295257568359375, 0.08349609375, 0.0782470703125, 0.00482940673828125, 0.050537109375, 0.0305328369140625, -0.02508544921875, 0.043243408203125, -0.0438232421875, -0.03314208984375, -0.048309326171875, -0.01239013671875, 0.025360107421875, -0.031158447265625, -0.032806396484375, -0.049774169921875, -0.01308441162109375, 0.0291748046875, 0.002910614013671875, -0.057830810546875, 0.042083740234375, -0.0169525146484375, 0.03717041015625, -0.0168914794921875, 0.00760650634765625, 0.0209503173828125, 0.0268096923828125, -0.0364990234375, 0.00434112548828125, 0.0008502006530761719, 0.0165252685546875, -0.00017762184143066406, 0.00946044921875, -0.0004127025604248047, -0.02117919921875, 0.0460205078125, -0.00921630859375, 0.0219268798828125, 0.0341796875, -0.02899169921875, 0.0121002197265625, 0.005893707275390625, 0.0272674560546875, -0.04290771484375, -0.09832763671875, 0.030364990234375, -0.04266357421875, -0.0159759521484375, -0.00493621826171875, 0.0190277099609375, 0.038238525390625, -0.022796630859375, -0.046417236328125, 0.00640106201171875, -0.00472259521484375, -0.039947509765625, -0.040313720703125, 0.03900146484375, -0.00792694091796875, 0.006977081298828125, -0.016937255859375, 0.007343292236328125, 0.01149749755859375, 0.0133819580078125, 0.0296173095703125, -0.00323486328125, 0.032623291015625, -0.0084991455078125, -0.09600830078125, -0.00128173828125, -0.0197296142578125, 0.05615234375, -0.041473388671875, -0.0077056884765625, 0.0160369873046875, 0.025726318359375, -0.013519287109375, -0.03582763671875, 0.04595947265625, 0.022491455078125, 0.03778076171875, -0.034423828125, -0.03240966796875, -0.0506591796875, 0.043975830078125, -0.045318603515625, 0.0090789794921875, 0.0399169921875, -0.0190277099609375, 0.00254058837890625, -0.0670166015625, 0.002025604248046875, 0.042022705078125, -0.047149658203125, 0.0042266845703125, -0.01849365234375, 0.00273895263671875, 0.004314422607421875, 0.038482666015625, -0.020751953125, -0.0164642333984375, -0.03204345703125, -0.0160064697265625, -0.122314453125, -0.0126800537109375, 0.0082244873046875, 0.004177093505859375, 0.0200042724609375, -0.0085296630859375, 0.01313018798828125, 0.0081329345703125, 0.0438232421875, -0.0147705078125, -0.04315185546875, 0.0027523040771484375, 0.03179931640625, -0.0197601318359375, 0.0091705322265625, -0.023834228515625, -0.016204833984375, -0.0013208389282226562, -0.00925445556640625, -0.0186309814453125, -0.02960205078125, -0.00860595703125, 0.032012939453125, -0.0290374755859375, 0.07757568359375, 0.03936767578125, 0.02874755859375, 0.047576904296875, 0.0221405029296875, 0.0307159423828125, -0.045623779296875, 0.042022705078125, -0.076171875, -0.0179443359375, -0.004077911376953125, 0.004993438720703125, -0.045166015625, 0.005428314208984375, 0.037750244140625, 0.025054931640625, 0.00934600830078125 ]
4ca099ac8b9e450a6fccae6c3f291cf130451ea4
Wordpress Stackexchange Q: wp-cli create post and media import I would like to create a post and insert a url as an image, right now I have this, it works but creates a gallery block, instead I would just like to create a simple image block . What is the correct syntax to post just an image in "post_content" ? wp post create --post_title="test" --post_content="[gallery ids='$(wp media import https://ring.cdandlp.com/113719298.jpg --porcelain)']" Thanks ! A: There is just [gallery] to display images BUT you can specify in which size the image(s) will be displayed. By default it's size='thumbnail'. Simply set it to size='full' to just get one full-sized image: $ wp post create --post_title="Foobar" --post_content="[gallery ids='$(wp media import https://dummyimage.com/600x400/000/fff.jpg --porcelain)' size='full']" More gallery shortcode options can be found on wordpress.com: https://en.support.wordpress.com/gallery/#gallery-shortcode
Q: wp-cli create post and media import I would like to create a post and insert a url as an image, right now I have this, it works but creates a gallery block, instead I would just like to create a simple image block . What is the correct syntax to post just an image in "post_content" ? wp post create --post_title="test" --post_content="[gallery ids='$(wp media import https://ring.cdandlp.com/113719298.jpg --porcelain)']" Thanks ! A: There is just [gallery] to display images BUT you can specify in which size the image(s) will be displayed. By default it's size='thumbnail'. Simply set it to size='full' to just get one full-sized image: $ wp post create --post_title="Foobar" --post_content="[gallery ids='$(wp media import https://dummyimage.com/600x400/000/fff.jpg --porcelain)' size='full']" More gallery shortcode options can be found on wordpress.com: https://en.support.wordpress.com/gallery/#gallery-shortcode
wordpress
{ "language": "en", "length": 127, "provenance": "stackexchange_00019.jsonl.gz:495225", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/337736" }
[ 0.0137939453125, -0.00955963134765625, -0.00894927978515625, 0.00634002685546875, -0.0071258544921875, -0.03125, 0.043060302734375, -0.040191650390625, -0.01776123046875, -0.0002046823501586914, -0.0187225341796875, 0.0125885009765625, -0.045196533203125, -0.0270233154296875, -0.0030727386474609375, -0.04010009765625, 0.030120849609375, -0.03411865234375, 0.01232147216796875, -0.0101318359375, -0.0092926025390625, 0.009063720703125, 0.0433349609375, 0.0208587646484375, 0.0189971923828125, -0.01611328125, 0.0633544921875, -0.00039267539978027344, -0.0007796287536621094, -0.00542449951171875, 0.0311126708984375, -0.023834228515625, 0.0372314453125, 0.005237579345703125, -0.03216552734375, 0.07769775390625, -0.0272674560546875, 0.009002685546875, -0.0058135986328125, -0.0015726089477539062, 0.00968170166015625, -0.0039215087890625, 0.025360107421875, 0.0007715225219726562, -0.0147857666015625, 0.0016021728515625, -0.001979827880859375, -0.036712646484375, 0.02691650390625, 0.023193359375, 0.01171875, 0.014251708984375, 0.027984619140625, -0.026702880859375, -0.0193939208984375, -0.0228424072265625, -0.0240631103515625, -0.004810333251953125, 0.03192138671875, -0.0014591217041015625, -0.035675048828125, -0.01983642578125, 0.021942138671875, -0.016876220703125, 0.0294647216796875, 0.0001590251922607422, 0.00804901123046875, 0.0247650146484375, -0.058013916015625, 0.01806640625, 0.041534423828125, -0.06549072265625, 0.01088714599609375, -0.063232421875, 0.0008692741394042969, 0.037994384765625, -0.015838623046875, -0.0104522705078125, 0.01235198974609375, -0.0190887451171875, 0.054779052734375, 0.0282135009765625, 0.0088348388671875, -0.0423583984375, 0.047149658203125, -0.018524169921875, -0.006214141845703125, -0.01953125, -0.01434326171875, -0.0202789306640625, -0.01160430908203125, -0.03594970703125, -0.0233154296875, 0.0172119140625, 0.0024204254150390625, -0.03765869140625, -0.025238037109375, -0.01419830322265625, 0.0309906005859375, 0.06439208984375, 0.0037975311279296875, -0.040252685546875, 0.07000732421875, -0.03863525390625, 0.026519775390625, 0.030548095703125, -0.0235443115234375, -0.05010986328125, 0.048980712890625, 0.01059722900390625, -0.0008053779602050781, 0.059906005859375, -0.003997802734375, 0.027435302734375, -0.034271240234375, 0.01052093505859375, -0.0379638671875, 0.02471923828125, -0.0243072509765625, 0.057403564453125, 0.00324249267578125, 0.035675048828125, 0.0216064453125, -0.0032291412353515625, 0.00684356689453125, 0.04248046875, 0.0189056396484375, -0.0899658203125, -0.016387939453125, 0.01479339599609375, -0.040740966796875, 0.0321044921875, 0.09063720703125, 0.01904296875, 0.01020050048828125, -0.028350830078125, -0.0288848876953125, -0.021942138671875, -0.002353668212890625, -0.004360198974609375, -0.0110931396484375, -0.0172882080078125, 0.057525634765625, -0.015777587890625, 0.031494140625, 0.04119873046875, -0.0010499954223632812, 0.0103302001953125, 0.01727294921875, -0.07147216796875, 0.0169677734375, -0.0237274169921875, 0.0144195556640625, 0.0311126708984375, -0.01384735107421875, -0.01029205322265625, 0.059539794921875, -0.032257080078125, 0.019073486328125, -0.06427001953125, 0.026336669921875, 0.046112060546875, 0.0352783203125, -0.00830841064453125, -0.0078582763671875, -0.052093505859375, -0.054595947265625, -0.006832122802734375, 0.025238037109375, 0.060333251953125, -0.0289154052734375, -0.03515625, -0.053131103515625, 0.010009765625, -0.020294189453125, 0.031829833984375, 0.0277862548828125, -0.023345947265625, -0.0035877227783203125, 0.04974365234375, -0.01148223876953125, -0.0229949951171875, 0.0299072265625, -0.030426025390625, -0.012298583984375, -0.0031566619873046875, 0.0303192138671875, 0.0205841064453125, -0.0134429931640625, 0.0226593017578125, 0.021270751953125, 0.036773681640625, -0.02874755859375, 0.00597381591796875, -0.014739990234375, -0.010467529296875, -0.006793975830078125, -0.00243377685546875, -0.016815185546875, 0.0233154296875, 0.031341552734375, -0.0174560546875, 0.033233642578125, 0.01415252685546875, -0.005466461181640625, 0.029144287109375, -0.0248260498046875, 0.01410675048828125, -0.0599365234375, -0.0190277099609375, 0.037078857421875, -0.015960693359375, -0.017608642578125, -0.0237884521484375, -0.0016336441040039062, 0.02166748046875, -0.0491943359375, -0.0043487548828125, -0.03460693359375, 0.084228515625, -0.05938720703125, -0.020843505859375, -0.050537109375, -0.00250244140625, 0.056976318359375, 0.01117706298828125, -0.0263214111328125, -0.0175323486328125, 0.018585205078125, 0.03118896484375, -0.058197021484375, 0.00923919677734375, 0.0003237724304199219, -0.0241546630859375, -0.051788330078125, -0.01120758056640625, 0.0024547576904296875, -0.0142059326171875, 0.0176849365234375, 0.05511474609375, 0.037994384765625, 0.02252197265625, 0.020721435546875, 0.00861358642578125, 0.07958984375, 0.032012939453125, 0.033538818359375, -0.040252685546875, -0.01007080078125, 0.02154541015625, -0.02252197265625, 0.013916015625, 0.004180908203125, -0.05767822265625, 0.008880615234375, 0.036956787109375, -0.032135009765625, -0.005695343017578125, -0.006008148193359375, 0.0011720657348632812, 0.014312744140625, -0.01482391357421875, -0.00476837158203125, -0.025787353515625, 0.004741668701171875, 0.045257568359375, 0.032562255859375, 0.0207366943359375, -0.043426513671875, 0.0419921875, 0.00478363037109375, -0.0191802978515625, 0.00484466552734375, -0.0010156631469726562, 0.0193328857421875, 0.023223876953125, -0.05078125, 0.007694244384765625, 0.043182373046875, 0.00775909423828125, -0.00438690185546875, 0.00934600830078125, -0.00476837158203125, 0.0064239501953125, 0.00127410888671875, -0.06292724609375, 0.0219268798828125, 0.0267791748046875, 0.0146331787109375, -0.0162200927734375, -0.0017223358154296875, 0.02740478515625, -0.01004791259765625, 0.063232421875, 0.00876617431640625, -0.0214691162109375, 0.031829833984375, -0.07080078125, 0.064697265625, -0.044219970703125, 0.07855224609375, 0.080322265625, -0.03619384765625, 0.042022705078125, -0.0186614990234375, 0.0302734375, -0.023101806640625, -0.005290985107421875, -0.0218658447265625, -0.036712646484375, -0.0152435302734375, 0.0081787109375, 0.020599365234375, 0.038360595703125, -0.01666259765625, -0.019256591796875, -0.014007568359375, 0.0142822265625, -0.043548583984375, -0.0218658447265625, 0.006763458251953125, -0.0946044921875, -0.033477783203125, -0.0091094970703125, -0.0511474609375, 0.006824493408203125, 0.0230712890625, -0.0017061233520507812, -0.0482177734375, 0.00397491455078125, -0.023101806640625, -0.037567138671875, -0.045257568359375, -0.0035400390625, -0.0022563934326171875, 0.015167236328125, 0.0170745849609375, 0.051177978515625, 0.00640106201171875, -0.042144775390625, 0.005397796630859375, 0.034698486328125, -0.024200439453125, -0.0115966796875, -0.0016202926635742188, -0.0171356201171875, -0.04144287109375, 0.0003724098205566406, 0.0013456344604492188, 0.023773193359375, -0.0178375244140625, 0.0083770751953125, -0.016754150390625, -0.033477783203125, -0.0177001953125, 0.029144287109375, 0.024993896484375, -0.03369140625, 0.013458251953125, -0.05145263671875, -0.01352691650390625, -0.0343017578125, -0.053558349609375, -0.00009137392044067383, 0.01033782958984375, 0.0187530517578125, 0.0012502670288085938, 0.0179901123046875, -0.035125732421875, 0.01454925537109375, 0.05377197265625, -0.043243408203125, 0.0406494140625, -0.03411865234375, -0.047271728515625, -0.04388427734375, 0.01464080810546875, -0.024658203125, 0.0020809173583984375, 0.00894927978515625, 0.006534576416015625, 0.003040313720703125, -0.0004127025604248047, 0.022064208984375, -0.052581787109375, 0.0345458984375, -0.0208892822265625, 0.0594482421875, -0.061126708984375, -0.022674560546875, -0.03125, 0.07965087890625, -0.0325927734375, -0.0088043212890625, 0.00405120849609375, 0.01409149169921875, -0.01519012451171875, -0.047454833984375, -0.048980712890625, -0.01163482666015625, -0.0345458984375, 0.0174102783203125, 0.0112457275390625, -0.0208282470703125, 0.01019287109375, -0.057769775390625, -0.0117340087890625, -0.0406494140625, 0.03973388671875, -0.002384185791015625, 0.034759521484375, 0.01016998291015625, 0.0053863525390625, 0.0115966796875, -0.03521728515625, 0.006374359130859375, -0.1226806640625, -0.02557373046875, 0.0309600830078125, 0.072998046875, -0.040374755859375, -0.007244110107421875, -0.05218505859375, 0.055908203125, -0.026458740234375, 0.03314208984375, -0.0189666748046875, 0.0193328857421875, -0.0133819580078125, 0.00713348388671875, -0.0156402587890625, -0.00047898292541503906, -0.0264434814453125, -0.035552978515625, -0.008331298828125, -0.0009436607360839844, -0.0287933349609375, 0.01184844970703125, -0.0222320556640625, 0.00629425048828125, -0.02630615234375, -0.049102783203125, 0.03839111328125, 0.0474853515625, 0.006805419921875, 0.00533294677734375, -0.0628662109375, -0.0035152435302734375, 0.01203155517578125, -0.029998779296875, 0.0229034423828125, 0.0228729248046875, 0.07476806640625, -0.00162506103515625, 0.01025390625, -0.08660888671875, 0.025909423828125, 0.02618408203125, 0.0013027191162109375, 0.060455322265625, 0.0234375, -0.000743865966796875, 0.004871368408203125, 0.0100555419921875, -0.004375457763671875, -0.0049896240234375, 0.0308990478515625, 0.0049591064453125, -0.019805908203125, 0.01163482666015625, -0.0233001708984375, 0.01427459716796875, 0.037506103515625, -0.01230621337890625, 0.00775146484375, -0.0159149169921875, 0.00689697265625, -0.0003428459167480469, -0.0260772705078125, -0.0142974853515625, -0.0230560302734375, 0.0017080307006835938, 0.034454345703125, -0.01464080810546875, -0.016937255859375, 0.008331298828125, -0.01508331298828125, 0.0051727294921875, 0.00927734375, 0.056396484375, 0.052154541015625, -0.020599365234375, 0.059478759765625, 0.0179901123046875, -0.026275634765625, 0.02349853515625, 0.010223388671875, -0.01380157470703125, 0.0077667236328125, -0.0021991729736328125, -0.0771484375, 0.020050048828125, 0.00644683837890625, -0.0113983154296875, 0.01140594482421875, 0.037872314453125, 0.0171966552734375, 0.0014896392822265625, -0.01434326171875, -0.025054931640625, 0.0005125999450683594, -0.033966064453125, 0.0111846923828125, 0.017730712890625, -0.02557373046875, 0.031524658203125, -0.0009164810180664062, -0.032135009765625, 0.004962921142578125, 0.00873565673828125, 0.05126953125, 0.0267791748046875, 0.044952392578125, 0.0152435302734375, -0.008056640625, -0.01169586181640625, 0.0223541259765625, -0.0198822021484375, -0.03582763671875, 0.01276397705078125, 0.04547119140625, 0.05731201171875, -0.0273895263671875, -0.045623779296875, 0.0018301010131835938, -0.040863037109375, -0.0101470947265625, -0.00994873046875, -0.042633056640625, -0.040191650390625, -0.0236053466796875, -0.00005340576171875, 0.029510498046875, -0.0030040740966796875, -0.032012939453125, 0.01519012451171875, -0.0116119384765625, 0.0516357421875, 0.029266357421875, -0.0031452178955078125, 0.026580810546875, -0.00033473968505859375, 0.015899658203125, -0.0423583984375, -0.0289459228515625, 0.0706787109375, 0.039215087890625, -0.039093017578125, -0.026763916015625, 0.060150146484375, -0.00676727294921875, -0.035064697265625, -0.02130126953125, 0.0240325927734375, -0.0252685546875, 0.0037212371826171875, 0.0249176025390625, -0.016082763671875, 0.0289459228515625, -0.019775390625, -0.007099151611328125, -0.03216552734375, 0.056610107421875, 0.00936126708984375, -0.01666259765625, -0.042694091796875, 0.0076141357421875, 0.0247650146484375, 0.0001856088638305664, -0.00925445556640625, -0.007549285888671875, 0.014556884765625, 0.00951385498046875, 0.0380859375, 0.009735107421875, -0.00882720947265625, 0.008697509765625, 0.0192718505859375, -0.00762176513671875, -0.016845703125, 0.0192413330078125, -0.024200439453125, -0.02215576171875, -0.0302276611328125, -0.005405426025390625, 0.017730712890625, 0.03228759765625, 0.0419921875, 0.042449951171875, 0.0139007568359375, 0.0298614501953125, -0.003711700439453125, -0.010986328125, -0.005695343017578125, 0.005123138427734375, -0.005001068115234375, 0.017730712890625, 0.0205841064453125, 0.0005507469177246094, 0.051116943359375, -0.0182342529296875, 0.003448486328125, -0.005218505859375, -0.025543212890625, 0.0118408203125, 0.0272369384765625, -0.0227813720703125, 0.034698486328125, 0.09906005859375, -0.02587890625, 0.037567138671875, 0.035614013671875, -0.01806640625, 0.0360107421875, 0.028106689453125, -0.027435302734375, -0.0276947021484375, 0.0374755859375, 0.003093719482421875, -0.0157318115234375, 0.02020263671875, -0.0137176513671875, 0.056121826171875, 0.03662109375, 0.0706787109375, -0.03485107421875, 0.0204010009765625, 0.01531219482421875, -0.07220458984375, 0.02911376953125, -0.035003662109375, 0.003509521484375, -0.01490020751953125, 0.07928466796875, 0.0261993408203125, -0.004974365234375, 0.01617431640625, 0.003459930419921875, 0.00853729248046875, -0.0002238750457763672, 0.025543212890625, 0.016845703125, -0.056732177734375, -0.030059814453125, 0.030029296875, -0.03155517578125, -0.005645751953125, 0.0259857177734375, -0.0419921875, -0.005825042724609375, -0.015106201171875, 0.0108642578125, -0.01113128662109375, 0.01055145263671875, 0.005535125732421875, 0.023712158203125, 0.02667236328125, 0.04107666015625, -0.01168060302734375, 0.0027008056640625, 0.018218994140625, 0.007568359375, 0.007415771484375, 0.003997802734375, 0.00594329833984375, 0.0308074951171875, -0.0284576416015625, 0.0095977783203125, -0.035003662109375, 0.02374267578125, -0.0091552734375, -0.0360107421875, 0.0777587890625, -0.060333251953125, 0.0021610260009765625, 0.0111236572265625, -0.006191253662109375, 0.0013265609741210938, 0.0089569091796875, 0.04010009765625, -0.040863037109375, -0.0105438232421875, 0.017974853515625, -0.01348876953125, -0.051177978515625, -0.023162841796875, -0.08544921875, 0.124755859375, -0.002410888671875, 0.06396484375, 0.02294921875, 0.034698486328125, -0.04083251953125, -0.00370025634765625, -0.01568603515625, 0.0294342041015625, -0.00799560546875, 0.020416259765625, -0.0249481201171875, 0.00476837158203125, 0.0100250244140625, 0.0284423828125, 0.0662841796875, 0.0261688232421875, -0.056365966796875, -0.029937744140625, 0.0292816162109375, 0.002964019775390625, -0.01003265380859375, 0.0753173828125, -0.01776123046875, 0.002292633056640625, 0.0418701171875, -0.0219879150390625, 0.028564453125, 0.0267333984375, -0.0275421142578125, 0.00838470458984375, 0.017608642578125, 0.033111572265625, 0.044708251953125, 0.005615234375, -0.0247344970703125, 0.019287109375, 0.045806884765625, -0.05450439453125, 0.031768798828125, -0.0024204254150390625, 0.007366180419921875, -0.0134429931640625, -0.0218658447265625, -0.007488250732421875, 0.03094482421875, -0.0007090568542480469, 0.042572021484375, 0.01380157470703125, 0.0275421142578125, 0.05224609375, -0.012237548828125, 0.04071044921875, 0.036773681640625, -0.048797607421875, 0.037689208984375, 0.022674560546875, 0.0190277099609375, -0.04052734375, 0.0115814208984375, 0.051513671875, 0.04754638671875, -0.036956787109375, -0.01285552978515625, 0.0228271484375, 0.05059814453125, -0.004398345947265625, -0.01611328125, 0.02099609375, -0.05572509765625, 0.005275726318359375, -0.01175689697265625, 0.0093231201171875, 0.0310821533203125, 0.01375579833984375, 0.0135345458984375, 0.0209503173828125, -0.042724609375, 0.0019626617431640625, -0.0188751220703125, 0.01824951171875, 0.018402099609375, 0.037384033203125, -0.00139617919921875, 0.033660888671875, -0.009674072265625, -0.001651763916015625, -0.01232147216796875, 0.0283203125, 0.011871337890625, 0.0201263427734375, -0.00644683837890625, -0.0167999267578125, 0.026214599609375, 0.0236968994140625, -0.00553131103515625, 0.041473388671875, 0.06732177734375, 0.04986572265625, -0.039520263671875, -0.0266571044921875, 0.013824462890625, -0.02972412109375, 0.006175994873046875, -0.03265380859375, -0.005352020263671875, -0.00324249267578125, -0.028900146484375, 0.00909423828125, -0.01517486572265625, 0.0253448486328125, -0.035247802734375, 0.0311279296875, -0.01335906982421875, -0.0219573974609375, 0.044158935546875, -0.041259765625, 0.06304931640625, -0.0252685546875, -0.06243896484375, 0.0013456344604492188, -0.029296875, -0.07171630859375, 0.0286712646484375, 0.040679931640625, -0.01486968994140625, 0.005199432373046875, 0.00896453857421875, -0.0269317626953125, -0.004070281982421875, 0.001926422119140625, 0.029083251953125, -0.007579803466796875, -0.005680084228515625, -0.00653839111328125, -0.0582275390625, -0.043304443359375, -0.04534912109375, 0.058441162109375, 0.046966552734375, 0.052490234375, -0.01030731201171875, 0.05169677734375, -0.039276123046875, -0.01151275634765625, -0.0390625, -0.01788330078125, -0.0176239013671875, -0.00728607177734375, 0.0018739700317382812, -0.00264739990234375, 0.033172607421875, -0.00888824462890625, 0.036529541015625, -0.0259246826171875, -0.040985107421875, -0.027679443359375, 0.029052734375, 0.0307159423828125, 0.034454345703125, -0.01641845703125, -0.0002658367156982422, -0.046173095703125, -0.0241851806640625, 0.043212890625, 0.00807952880859375, -0.0272369384765625, 0.043548583984375, 0.0101470947265625, -0.01496124267578125, 0.031524658203125, -0.07080078125, 0.04534912109375, 0.031951904296875, 0.0227508544921875, -0.0369873046875, -0.01739501953125, -0.0209503173828125, -0.034942626953125, 0.0225067138671875, 0.00748443603515625, -0.017913818359375, -0.04833984375, 0.00592803955078125, 0.019561767578125, 0.01145172119140625, -0.0211639404296875, -0.00243377685546875, 0.0220947265625, -0.0224761962890625, -0.0297393798828125, -0.004566192626953125, -0.00878143310546875, -0.06622314453125, -0.01654052734375, 0.0057830810546875, -0.048004150390625, -0.036773681640625, -0.04156494140625, -0.00022101402282714844, 0.031524658203125, 0.003936767578125, -0.01496124267578125, 0.032196044921875, -0.0191497802734375, -0.008148193359375, 0.01617431640625, 0.0120849609375, -0.016876220703125, -0.0014257431030273438, -0.031219482421875, -0.03509521484375, -0.035675048828125, 0.028350830078125, -0.029693603515625, 0.02703857421875, 0.034942626953125, -0.04620361328125, -0.0291595458984375, 0.033172607421875, 0.0261993408203125, 0.07366943359375, 0.0026397705078125, -0.03607177734375, -0.01812744140625, 0.01291656494140625, -0.010711669921875, -0.03131103515625, 0.0257415771484375, -0.041900634765625, -0.0101776123046875, -0.031768798828125, 0.00885772705078125, 0.0125885009765625, -0.03875732421875, -0.09033203125, 0.0010976791381835938, -0.01284027099609375, -0.03973388671875, -0.0005102157592773438, -0.00905609130859375, -0.009765625, 0.040008544921875, 0.00971221923828125, -0.01446533203125, -0.01605224609375, 0.0164031982421875, -0.03515625, -0.0013713836669921875, 0.0185089111328125, -0.065185546875, 0.01165008544921875, -0.006099700927734375, 0.027435302734375, -0.03216552734375, 0.04644775390625, -0.047332763671875, 0.053131103515625, 0.026702880859375, -0.05291748046875, -0.0111846923828125, -0.0220489501953125, -0.0114593505859375, -0.0196533203125, -0.04473876953125, -0.015380859375, -0.00325775146484375, 0.07568359375, 0.0360107421875, 0.0081939697265625, -0.039764404296875, 0.00568389892578125, -0.01151275634765625, -0.0030994415283203125, -0.0269927978515625, -0.0016889572143554688, -0.051666259765625, -0.03955078125, 0.0013484954833984375, 0.0272674560546875, -0.01239776611328125, -0.033111572265625, 0.0004184246063232422, -0.04461669921875, -0.04095458984375, -0.00678253173828125, -0.026641845703125, 0.00806427001953125, 0.09124755859375, -0.048797607421875, 0.0214080810546875, -0.012603759765625, 0.01383209228515625, 0.058990478515625, -0.03973388671875, -0.0257415771484375, 0.0216827392578125, -0.0267791748046875, 0.0166778564453125, -0.01355743408203125, -0.0083770751953125, -0.034271240234375, 0.0256195068359375, 0.017547607421875, -0.007419586181640625, -0.0179901123046875, -0.016326904296875, 0.024749755859375, 0.0246124267578125, -0.0236358642578125, 0.06903076171875, -0.0238037109375, -0.046417236328125, -0.043487548828125, 0.0305633544921875, -0.0262451171875, -0.0044708251953125, 0.016082763671875, -0.00865936279296875, -0.00916290283203125, 0.0218505859375, -0.029510498046875, -0.0257720947265625, -0.01126861572265625, 0.0057220458984375, 0.016998291015625, -0.0160369873046875 ]
757874cadd0db34a10ebe13c9b340f77543ebf9b
Wordpress Stackexchange Q: Issue with using Underscore in Wordpress I have read in another SO post that Underscore.js is including in Wordpress by default. I am using it to test if a variable is defined but get this in the browser console: pluginAdminPage.js:32 Uncaught ReferenceError: _ is not defined at pluginAdminPage.js:32 (anonymous) @ pluginAdminPage.js:32 _.VERSION // .VERSION even autofills. So then the browser has the library imported? "1.8.3" The code it refers to: if (_.isUndefined(module) === false) { module.exports.func = func; } Phpstorm lints _ and isUndefined yellow which may suggest a lack of library import. I then tried to explicitly enqueue Underscore but this did not change the browser error messages: function loadAdminScripts() { wp_register_style( 'admin-style', plugins_url('admin-style.css', __FILE__) ); wp_enqueue_style('admin-style'); wp_enqueue_script('jquery'); wp_enqueue_script('underscore'); } add_action('admin_enqueue_scripts', 'loadAdminScripts'); What step(s) am I missing to get Underscore working? A: You need to set it as a dependency for your script, this is the best way you can make sure, Underscore.js is loaded before your script (which means, the methods will be available). function loadAdminScripts() { wp_register_style( 'admin-style', plugins_url('admin-style.css', __FILE__) ); wp_register_script( 'pluginAdminPage', plugins_url('pluginAdminPage.js', __FILE__), [ 'jquery', 'underscore', ] ); wp_enqueue_style('admin-style'); wp_enqueue_script('pluginAdminPage'); } add_action('admin_enqueue_scripts', 'loadAdminScripts'); Check the Code Reference on wp_register_style for more information.
Q: Issue with using Underscore in Wordpress I have read in another SO post that Underscore.js is including in Wordpress by default. I am using it to test if a variable is defined but get this in the browser console: pluginAdminPage.js:32 Uncaught ReferenceError: _ is not defined at pluginAdminPage.js:32 (anonymous) @ pluginAdminPage.js:32 _.VERSION // .VERSION even autofills. So then the browser has the library imported? "1.8.3" The code it refers to: if (_.isUndefined(module) === false) { module.exports.func = func; } Phpstorm lints _ and isUndefined yellow which may suggest a lack of library import. I then tried to explicitly enqueue Underscore but this did not change the browser error messages: function loadAdminScripts() { wp_register_style( 'admin-style', plugins_url('admin-style.css', __FILE__) ); wp_enqueue_style('admin-style'); wp_enqueue_script('jquery'); wp_enqueue_script('underscore'); } add_action('admin_enqueue_scripts', 'loadAdminScripts'); What step(s) am I missing to get Underscore working? A: You need to set it as a dependency for your script, this is the best way you can make sure, Underscore.js is loaded before your script (which means, the methods will be available). function loadAdminScripts() { wp_register_style( 'admin-style', plugins_url('admin-style.css', __FILE__) ); wp_register_script( 'pluginAdminPage', plugins_url('pluginAdminPage.js', __FILE__), [ 'jquery', 'underscore', ] ); wp_enqueue_style('admin-style'); wp_enqueue_script('pluginAdminPage'); } add_action('admin_enqueue_scripts', 'loadAdminScripts'); Check the Code Reference on wp_register_style for more information. A: Fixed by enqueuing underscore as a dependency of the js file: function loadAdminScripts() { wp_enqueue_script( 'pluginAdminPage', plugin_dir_url(__FILE__) . 'pluginAdminPage.js', ['jquery', 'underscore'] ); } add_action('admin_enqueue_scripts', 'loadAdminScripts');
wordpress
{ "language": "en", "length": 224, "provenance": "stackexchange_00019.jsonl.gz:495260", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/337845" }
[ 0.0175933837890625, 0.005649566650390625, -0.03369140625, -0.05072021484375, 0.005565643310546875, -0.03399658203125, -0.02130126953125, -0.002933502197265625, -0.028778076171875, -0.00003612041473388672, -0.0235595703125, 0.0186309814453125, -0.01181793212890625, -0.016143798828125, 0.033721923828125, -0.03692626953125, 0.055999755859375, -0.034759521484375, 0.0215301513671875, 0.00035452842712402344, -0.00524139404296875, 0.030426025390625, 0.0224456787109375, 0.06097412109375, 0.038177490234375, -0.0188751220703125, 0.070068359375, 0.00293731689453125, 0.01488494873046875, 0.0029201507568359375, 0.03680419921875, -0.033477783203125, 0.0095672607421875, 0.017822265625, 0.006084442138671875, -0.0174713134765625, 0.01129913330078125, 0.01380157470703125, 0.03240966796875, -0.01419830322265625, 0.050872802734375, -0.0089111328125, 0.006561279296875, 0.06292724609375, -0.01099395751953125, -0.0625, 0.043121337890625, -0.03662109375, 0.0180206298828125, -0.036956787109375, -0.00339508056640625, 0.0035266876220703125, 0.005268096923828125, -0.0347900390625, -0.00629425048828125, 0.0159912109375, -0.05792236328125, 0.0106048583984375, 0.0161895751953125, 0.0989990234375, 0.0245513916015625, -0.006572723388671875, -0.0158233642578125, -0.0777587890625, -0.020904541015625, -0.011871337890625, -0.0251617431640625, -0.0002484321594238281, -0.0177764892578125, 0.00031304359436035156, 0.0244140625, -0.01438140869140625, 0.021026611328125, 0.0157012939453125, -0.03509521484375, -0.0191802978515625, 0.0333251953125, 0.029449462890625, 0.018585205078125, -0.0198516845703125, 0.025604248046875, -0.0211334228515625, -0.0201263427734375, 0.049652099609375, -0.0296173095703125, 0.058685302734375, -0.01166534423828125, -0.03680419921875, -0.01690673828125, 0.0034427642822265625, -0.021636962890625, -0.01006317138671875, -0.01020050048828125, 0.0040740966796875, 0.006458282470703125, -0.032012939453125, 0.069580078125, 0.0882568359375, 0.03759765625, 0.03564453125, -0.0155181884765625, -0.050628662109375, 0.0297698974609375, -0.058135986328125, -0.0095977783203125, 0.06158447265625, -0.022796630859375, 0.0269775390625, 0.0241241455078125, 0.038238525390625, 0.01355743408203125, -0.059051513671875, 0.027099609375, 0.004856109619140625, -0.01032257080078125, -0.05828857421875, -0.04150390625, 0.037933349609375, 0.00998687744140625, 0.009185791015625, 0.0257415771484375, 0.055328369140625, -0.0214385986328125, -0.0252532958984375, -0.0037708282470703125, -0.01116180419921875, 0.00681304931640625, -0.0513916015625, -0.0037059783935546875, 0.03668212890625, -0.008544921875, -0.0023288726806640625, 0.052520751953125, 0.02545166015625, -0.0102691650390625, -0.0196380615234375, 0.044281005859375, 0.0003452301025390625, 0.0019550323486328125, -0.00949859619140625, 0.0051116943359375, -0.0229949951171875, -0.01346588134765625, -0.002941131591796875, -0.005840301513671875, 0.023345947265625, 0.0094146728515625, -0.0036106109619140625, 0.009033203125, -0.04437255859375, 0.0185699462890625, -0.05096435546875, 0.051055908203125, 0.02886962890625, -0.0279998779296875, 0.00222015380859375, 0.07049560546875, -0.034149169921875, -0.04913330078125, -0.059783935546875, -0.031402587890625, -0.0130767822265625, 0.01824951171875, -0.0389404296875, -0.0109405517578125, 0.0004718303680419922, -0.016998291015625, 0.00560760498046875, 0.0243377685546875, 0.004528045654296875, -0.0006308555603027344, -0.0482177734375, 0.032073974609375, 0.0111236572265625, -0.0106658935546875, 0.0438232421875, -0.0238800048828125, 0.0203857421875, 0.041107177734375, -0.00830078125, -0.0159759521484375, -0.031768798828125, 0.04541015625, -0.0172271728515625, -0.0278778076171875, -0.03021240234375, 0.025634765625, 0.007129669189453125, 0.0173187255859375, 0.0140228271484375, 0.0455322265625, 0.0084075927734375, -0.01386260986328125, -0.002109527587890625, 0.0154571533203125, -0.0188751220703125, 0.0100250244140625, 0.0146942138671875, 0.0013074874877929688, -0.0223541259765625, 0.0089263916015625, -0.0224761962890625, 0.033935546875, -0.0096435546875, -0.059722900390625, 0.0278778076171875, -0.03887939453125, 0.046783447265625, -0.000980377197265625, 0.031494140625, 0.0014667510986328125, -0.00945281982421875, -0.01041412353515625, -0.02459716796875, -0.001556396484375, 0.0160369873046875, -0.041473388671875, 0.052032470703125, 0.0024547576904296875, 0.038543701171875, 0.0200042724609375, -0.0308380126953125, 0.0307769775390625, -0.002826690673828125, -0.0458984375, 0.0240936279296875, -0.038970947265625, 0.002536773681640625, -0.04278564453125, 0.0112762451171875, 0.0281982421875, 0.0421142578125, -0.00778961181640625, 0.0287628173828125, -0.0276641845703125, -0.026611328125, -0.034210205078125, -0.0310211181640625, 0.016632080078125, 0.037506103515625, 0.027862548828125, 0.0382080078125, -0.0076141357421875, -0.0015316009521484375, 0.04327392578125, -0.017181396484375, 0.0167694091796875, -0.01459503173828125, -0.03912353515625, -0.0008845329284667969, -0.02398681640625, 0.0263671875, 0.01509857177734375, -0.02752685546875, -0.0538330078125, 0.06951904296875, -0.022918701171875, -0.01047515869140625, 0.0232086181640625, -0.011016845703125, -0.0020809173583984375, -0.0023212432861328125, 0.0100555419921875, -0.0021953582763671875, 0.0004105567932128906, 0.0040740966796875, 0.00957489013671875, 0.0158233642578125, -0.019378662109375, 0.003864288330078125, 0.02789306640625, -0.01154327392578125, -0.025360107421875, 0.006259918212890625, 0.07611083984375, -0.048614501953125, -0.06036376953125, 0.0002684593200683594, 0.00354766845703125, 0.004848480224609375, 0.0078277587890625, 0.047332763671875, -0.006103515625, -0.0186004638671875, -0.001316070556640625, -0.04779052734375, 0.0005192756652832031, 0.00438690185546875, 0.0266876220703125, 0.01361083984375, 0.04351806640625, 0.0309600830078125, 0.0054473876953125, 0.02496337890625, -0.021331787109375, -0.0198822021484375, 0.0501708984375, 0.01456451416015625, -0.00041794776916503906, -0.01035308837890625, 0.049713134765625, 0.0255889892578125, -0.0131378173828125, -0.006214141845703125, -0.003143310546875, 0.0202484130859375, 0.0032520294189453125, 0.014495849609375, 0.01078033447265625, -0.037506103515625, -0.01207733154296875, 0.0241241455078125, 0.0239105224609375, 0.0255889892578125, 0.01171112060546875, -0.038604736328125, -0.016326904296875, 0.02520751953125, -0.1021728515625, -0.09765625, -0.0085906982421875, -0.0843505859375, 0.01033782958984375, 0.0012063980102539062, -0.034332275390625, 0.0033664703369140625, 0.03240966796875, 0.016021728515625, -0.0243988037109375, -0.034088134765625, -0.0267486572265625, -0.05010986328125, -0.04901123046875, -0.0218048095703125, 0.0104522705078125, 0.0032405853271484375, 0.015625, 0.020751953125, 0.014617919921875, -0.0307769775390625, 0.035888671875, 0.0225830078125, -0.0270538330078125, -0.003734588623046875, 0.027069091796875, -0.06365966796875, -0.030181884765625, -0.0002257823944091797, -0.0086212158203125, -0.001018524169921875, 0.0184173583984375, 0.0096893310546875, -0.0038166046142578125, -0.02581787109375, 0.014434814453125, 0.007843017578125, 0.001354217529296875, -0.0254669189453125, 0.006317138671875, -0.0645751953125, -0.034088134765625, 0.01995849609375, -0.04034423828125, 0.0330810546875, 0.01276397705078125, -0.0291595458984375, 0.0203094482421875, 0.0161895751953125, -0.002696990966796875, -0.0216064453125, -0.00965118408203125, -0.035369873046875, 0.0178680419921875, -0.003017425537109375, 0.030364990234375, 0.0117034912109375, 0.0592041015625, -0.0022907257080078125, -0.04339599609375, 0.013031005859375, 0.00710296630859375, 0.00832366943359375, -0.004718780517578125, -0.0016498565673828125, 0.0079193115234375, 0.0173187255859375, -0.0428466796875, 0.0208892822265625, -0.0256500244140625, 0.00360107421875, -0.0145263671875, 0.023193359375, 0.01390838623046875, 0.0003838539123535156, 0.026123046875, 0.00536346435546875, -0.0589599609375, -0.030487060546875, -0.07275390625, 0.026031494140625, -0.07818603515625, -0.01776123046875, -0.02447509765625, -0.054443359375, 0.01453399658203125, 0.0045166015625, -0.040191650390625, -0.055419921875, 0.046142578125, -0.07867431640625, -0.0065460205078125, 0.03887939453125, -0.0042877197265625, -0.01690673828125, -0.035888671875, -0.028076171875, -0.115966796875, -0.0279541015625, -0.053070068359375, 0.1019287109375, 0.035614013671875, -0.01317596435546875, -0.0238800048828125, 0.048980712890625, -0.0158233642578125, -0.0206756591796875, 0.018463134765625, 0.01605224609375, -0.00984954833984375, -0.006069183349609375, 0.0028896331787109375, -0.035003662109375, 0.01137542724609375, -0.000013887882232666016, -0.0601806640625, -0.02362060546875, -0.007640838623046875, -0.019744873046875, 0.044921875, -0.05126953125, -0.00789642333984375, 0.01055908203125, -0.029693603515625, -0.0259246826171875, 0.012115478515625, -0.056304931640625, 0.02294921875, -0.01076507568359375, 0.01454925537109375, -0.01500701904296875, 0.01088714599609375, -0.01103973388671875, 0.0228118896484375, 0.0266876220703125, -0.0101318359375, 0.07049560546875, 0.001735687255859375, 0.04095458984375, -0.053009033203125, 0.0660400390625, 0.04327392578125, -0.029083251953125, 0.08453369140625, 0.0151519775390625, 0.0258331298828125, 0.00323486328125, 0.00032639503479003906, 0.00977325439453125, -0.03582763671875, 0.0304107666015625, 0.0239105224609375, -0.051727294921875, 0.00182342529296875, -0.007137298583984375, 0.0129241943359375, -0.0258331298828125, 0.01558685302734375, 0.0015048980712890625, -0.0061492919921875, -0.037841796875, -0.0190887451171875, -0.003490447998046875, -0.041046142578125, 0.051116943359375, 0.002742767333984375, -0.005764007568359375, 0.02044677734375, 0.0792236328125, 0.003086090087890625, 0.01531982421875, 0.050811767578125, 0.009613037109375, 0.037872314453125, 0.03961181640625, 0.0245819091796875, -0.0308074951171875, -0.018768310546875, 0.06988525390625, -0.00005310773849487305, -0.04144287109375, -0.00922393798828125, -0.018035888671875, 0.039642333984375, 0.010650634765625, 0.01447296142578125, 0.00911712646484375, 0.0171966552734375, -0.032012939453125, -0.0131378173828125, 0.03582763671875, -0.00030040740966796875, -0.03466796875, 0.028594970703125, -0.0282135009765625, 0.0036602020263671875, -0.055999755859375, 0.06878662109375, 0.0029239654541015625, -0.01206207275390625, 0.00739288330078125, 0.01161956787109375, -0.034393310546875, 0.0750732421875, 0.005645751953125, -0.065673828125, 0.0200653076171875, 0.05108642578125, 0.00760650634765625, -0.0262451171875, -0.0017032623291015625, 0.040924072265625, 0.0211029052734375, -0.0306854248046875, -0.0430908203125, 0.00981903076171875, -0.01715087890625, -0.0264892578125, 0.022796630859375, -0.0275726318359375, -0.032257080078125, -0.03485107421875, -0.01149749755859375, 0.06494140625, 0.024658203125, 0.000949859619140625, 0.046173095703125, 0.001094818115234375, 0.0229644775390625, 0.001697540283203125, -0.013153076171875, -0.022003173828125, 0.00630950927734375, 0.0264739990234375, -0.0009679794311523438, -0.005462646484375, -0.04547119140625, -0.0272674560546875, -0.01560211181640625, -0.0015811920166015625, 0.0151519775390625, 0.0007796287536621094, 0.00980377197265625, -0.035736083984375, -0.00933837890625, -0.05084228515625, -0.0076141357421875, 0.05706787109375, 0.0232696533203125, -0.0012197494506835938, -0.0097808837890625, -0.0482177734375, -0.040740966796875, -0.03643798828125, -0.0229339599609375, -0.041290283203125, 0.0017042160034179688, -0.01288604736328125, 0.0011463165283203125, -0.0243377685546875, -0.01372528076171875, -0.033935546875, 0.04595947265625, 0.040924072265625, 0.04644775390625, -0.030120849609375, 0.0687255859375, 0.0171356201171875, 0.00809478759765625, -0.0020236968994140625, 0.0469970703125, 0.01152801513671875, -0.00788116455078125, -0.0304107666015625, -0.033721923828125, 0.0311737060546875, 0.01503753662109375, -0.00524139404296875, -0.0002765655517578125, 0.043853759765625, 0.016754150390625, 0.0673828125, 0.0018062591552734375, -0.01041412353515625, -0.01137542724609375, -0.030914306640625, 0.0022678375244140625, 0.046630859375, 0.0340576171875, 0.003078460693359375, 0.0413818359375, -0.052520751953125, -0.029205322265625, 0.03973388671875, -0.0291595458984375, 0.03955078125, 0.029754638671875, -0.051544189453125, 0.040191650390625, 0.037322998046875, 0.018951416015625, -0.0016727447509765625, -0.005062103271484375, -0.0043182373046875, -0.0572509765625, 0.03521728515625, 0.0106658935546875, -0.06414794921875, 0.01873779296875, -0.01468658447265625, -0.0076904296875, 0.01145172119140625, -0.01224517822265625, -0.0142669677734375, 0.030181884765625, 0.0257415771484375, -0.0714111328125, 0.00786590576171875, 0.01309967041015625, 0.01526641845703125, -0.01038360595703125, -0.0125885009765625, -0.005252838134765625, -0.054229736328125, 0.0589599609375, -0.00148773193359375, 0.0037517547607421875, 0.01253509521484375, -0.0208892822265625, -0.024566650390625, -0.0171966552734375, 0.014739990234375, 0.0159149169921875, -0.0036296844482421875, 0.034942626953125, -0.00443267822265625, -0.0032806396484375, 0.0077056884765625, 0.030517578125, -0.00927734375, -0.0307769775390625, -0.019683837890625, -0.006130218505859375, 0.006591796875, -0.05291748046875, 0.01496124267578125, 0.00446319580078125, 0.0188140869140625, 0.037109375, -0.015625, -0.00788116455078125, -0.004791259765625, 0.0171966552734375, 0.05010986328125, -0.0390625, 0.0199737548828125, 0.00475311279296875, -0.0516357421875, 0.0096588134765625, 0.005504608154296875, -0.029144287109375, -0.005031585693359375, -0.01058197021484375, 0.0552978515625, -0.004177093505859375, -0.037872314453125, -0.001007080078125, 0.0316162109375, 0.01171875, -0.0132904052734375, -0.0008039474487304688, -0.06036376953125, -0.034820556640625, 0.0153961181640625, -0.0506591796875, -0.0024394989013671875, -0.0259857177734375, -0.0277862548828125, 0.10467529296875, -0.050689697265625, 0.0159759521484375, 0.02777099609375, 0.0445556640625, -0.01300048828125, 0.0263214111328125, -0.003437042236328125, 0.01470184326171875, -0.04595947265625, -0.005054473876953125, -0.0262603759765625, 0.01494598388671875, -0.01151275634765625, 0.0009937286376953125, 0.01389312744140625, -0.004772186279296875, -0.0313720703125, 0.027435302734375, 0.093994140625, 0.059051513671875, 0.048553466796875, 0.018524169921875, 0.01508331298828125, -0.01444244384765625, 0.00646209716796875, -0.0178375244140625, 0.015899658203125, -0.0491943359375, -0.01422882080078125, 0.02227783203125, 0.003063201904296875, 0.0135498046875, 0.01213836669921875, -0.0059967041015625, -0.032257080078125, 0.01629638671875, 0.0176239013671875, -0.007091522216796875, 0.00261688232421875, 0.035247802734375, -0.0183868408203125, 0.0574951171875, -0.052581787109375, 0.0184783935546875, -0.007503509521484375, -0.0167694091796875, -0.0266265869140625, -0.0019025802612304688, 0.000006020069122314453, -0.0030345916748046875, -0.01116943359375, -0.041412353515625, 0.0193328857421875, 0.01546478271484375, 0.0165252685546875, -0.0031833648681640625, 0.02130126953125, -0.030517578125, -0.0352783203125, 0.015655517578125, 0.018707275390625, -0.0055999755859375, -0.02349853515625, 0.023223876953125, 0.01374053955078125, -0.0159454345703125, -0.00397491455078125, -0.01568603515625, -0.01502227783203125, 0.02313232421875, 0.00887298583984375, -0.003021240234375, 0.01214599609375, -0.0116119384765625, -0.007110595703125, -0.0016498565673828125, 0.01788330078125, 0.0435791015625, -0.058349609375, 0.051513671875, 0.033599853515625, 0.07318115234375, -0.005252838134765625, 0.0413818359375, -0.046112060546875, -0.0235137939453125, -0.0009813308715820312, 0.0098724365234375, -0.03289794921875, 0.00302886962890625, -0.0248260498046875, -0.0118865966796875, -0.05474853515625, 0.047149658203125, 0.019805908203125, 0.005962371826171875, 0.034393310546875, 0.00994110107421875, -0.01410675048828125, -0.00490570068359375, 0.006084442138671875, -0.0183258056640625, 0.03961181640625, -0.0307464599609375, 0.06005859375, -0.01010894775390625, 0.006591796875, -0.025390625, 0.0694580078125, 0.007556915283203125, -0.047271728515625, -0.0025119781494140625, 0.0030517578125, -0.0115814208984375, 0.037933349609375, 0.016021728515625, 0.019927978515625, -0.01235198974609375, -0.0202178955078125, -0.017303466796875, -0.0176544189453125, 0.00676727294921875, 0.0230865478515625, 0.034393310546875, 0.01163482666015625, 0.01824951171875, 0.02752685546875, -0.024169921875, 0.0103607177734375, 0.0166168212890625, 0.002079010009765625, 0.0050048828125, 0.03253173828125, 0.0127410888671875, -0.028411865234375, -0.00838470458984375, -0.03369140625, 0.023590087890625, 0.0174407958984375, 0.037139892578125, -0.0235443115234375, 0.017578125, 0.0095672607421875, -0.007076263427734375, -0.01462554931640625, 0.002918243408203125, -0.0298309326171875, -0.0266265869140625, 0.01047515869140625, 0.00872802734375, -0.04736328125, 0.0411376953125, 0.008697509765625, -0.007740020751953125, 0.00855255126953125, 0.03851318359375, 0.0027027130126953125, -0.00554656982421875, 0.046844482421875, -0.04150390625, -0.072998046875, -0.01654052734375, 0.02545166015625, -0.0267181396484375, -0.007720947265625, 0.0207977294921875, -0.0181427001953125, 0.00860595703125, -0.03240966796875, 0.0112152099609375, 0.00965118408203125, 0.006565093994140625, 0.01293182373046875, 0.026153564453125, 0.0234527587890625, 0.03558349609375, -0.0022792816162109375, 0.025604248046875, 0.022216796875, -0.007747650146484375, 0.027923583984375, -0.038787841796875, 0.01245880126953125, 0.04443359375, 0.0289764404296875, -0.0295562744140625, 0.0134429931640625, 0.0670166015625, -0.044036865234375, -0.00548553466796875, -0.0191192626953125, -0.031707763671875, -0.06353759765625, -0.00926971435546875, 0.0160675048828125, -0.0435791015625, -0.0245513916015625, -0.0645751953125, 0.0287322998046875, 0.0145111083984375, 0.0091094970703125, -0.0665283203125, 0.045928955078125, -0.048187255859375, 0.040069580078125, -0.0086669921875, 0.0340576171875, -0.0215606689453125, -0.0002722740173339844, -0.0478515625, -0.0100860595703125, -0.01396942138671875, 0.031219482421875, -0.007076263427734375, 0.01544189453125, 0.044830322265625, -0.015045166015625, -0.01499176025390625, 0.0266265869140625, 0.0204925537109375, 0.07086181640625, -0.0012807846069335938, 0.00002944469451904297, 0.008758544921875, 0.03900146484375, -0.036834716796875, -0.09222412109375, -0.009246826171875, -0.024169921875, 0.0433349609375, -0.028594970703125, -0.006526947021484375, -0.0026340484619140625, -0.041534423828125, -0.055389404296875, 0.0195159912109375, 0.00658416748046875, -0.036834716796875, -0.01678466796875, -0.0273590087890625, 0.006114959716796875, -0.0173492431640625, -0.0244598388671875, -0.048583984375, -0.05108642578125, 0.023590087890625, 0.0271759033203125, 0.0099945068359375, 0.040130615234375, -0.01175689697265625, -0.05047607421875, -0.009521484375, -0.01276397705078125, 0.0201873779296875, -0.000675201416015625, -0.0076904296875, 0.04193115234375, 0.041961669921875, -0.0028934478759765625, -0.0008425712585449219, 0.018798828125, -0.066162109375, -0.01068115234375, -0.0266876220703125, -0.02655029296875, 0.00844573974609375, 0.11260986328125, 0.024200439453125, 0.0305938720703125, -0.0323486328125, -0.0169677734375, -0.0303802490234375, 0.0083160400390625, -0.035552978515625, 0.01311492919921875, -0.074462890625, -0.0132598876953125, -0.01013946533203125, -0.016876220703125, -0.042755126953125, -0.0012969970703125, -0.033355712890625, -0.013031005859375, 0.0024776458740234375, -0.0027332305908203125, -0.0108642578125, -0.00917816162109375, 0.10858154296875, -0.06207275390625, -0.01201629638671875, 0.0611572265625, -0.004367828369140625, 0.049224853515625, 0.052276611328125, 0.0014467239379882812, 0.03997802734375, -0.05255126953125, -0.0162811279296875, 0.00002682209014892578, 0.02398681640625, -0.022308349609375, -0.007022857666015625, -0.018798828125, -0.01381683349609375, -0.012451171875, -0.0161590576171875, 0.01515960693359375, -0.0012731552124023438, -0.031585693359375, 0.083984375, -0.06451416015625, 0.046630859375, -0.03253173828125, 0.0166015625, 0.0202178955078125, 0.028045654296875, 0.079345703125, 0.0260772705078125, -0.004718780517578125, 0.00676727294921875, -0.010986328125, -0.0296783447265625, 0.021087646484375, 0.02264404296875, 0.010650634765625, 0.015289306640625 ]
f25595653f347f133e3a0574519e154aa19b7869
Wordpress Stackexchange Q: the correct order of manual install WP and SSL on server I am wundering what the correct order of these next things is when you want to manually install Wordpress and have SSL installed on your server and website. Is this the correct order to do that in? * *Install SSL certificate for the site on the server *Manually install WordPress *Go to your website and do all the WP settings for SSL And what if you don't do it in this order? A: There's not a correct order. Either way will work and results in a WordPress install that is secured with SSL. What makes sense in a situation, depends on the setup and workflow. If you can plan ahead, it's optimal to set up the SSL on your server first. Because doing so, you don't have to go back through WordPress, and change settings and the database. In short, you're saving yourself work and avoid potential sources of errors.
Q: the correct order of manual install WP and SSL on server I am wundering what the correct order of these next things is when you want to manually install Wordpress and have SSL installed on your server and website. Is this the correct order to do that in? * *Install SSL certificate for the site on the server *Manually install WordPress *Go to your website and do all the WP settings for SSL And what if you don't do it in this order? A: There's not a correct order. Either way will work and results in a WordPress install that is secured with SSL. What makes sense in a situation, depends on the setup and workflow. If you can plan ahead, it's optimal to set up the SSL on your server first. Because doing so, you don't have to go back through WordPress, and change settings and the database. In short, you're saving yourself work and avoid potential sources of errors.
wordpress
{ "language": "en", "length": 162, "provenance": "stackexchange_00019.jsonl.gz:495267", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/337862" }
[ -0.0023956298828125, 0.00701141357421875, -0.02642822265625, 0.0168304443359375, -0.00470733642578125, -0.039703369140625, 0.01320648193359375, -0.0257720947265625, -0.0246429443359375, 0.01044464111328125, 0.0151519775390625, -0.01546478271484375, 0.00506591796875, -0.05169677734375, 0.01215362548828125, -0.0267791748046875, 0.0153656005859375, -0.033477783203125, -0.00168609619140625, -0.01482391357421875, 0.0219879150390625, -0.0109100341796875, 0.036041259765625, -0.0040740966796875, 0.01322174072265625, -0.0218353271484375, 0.09686279296875, -0.00507354736328125, 0.00933074951171875, -0.0089111328125, 0.0228271484375, -0.027587890625, 0.00865936279296875, 0.02362060546875, -0.028472900390625, -0.029998779296875, -0.01152801513671875, 0.0159912109375, -0.009796142578125, 0.02630615234375, -0.00908660888671875, 0.0185546875, 0.0574951171875, 0.019317626953125, 0.00225830078125, -0.0254364013671875, -0.01450347900390625, -0.050262451171875, 0.0151214599609375, -0.01873779296875, 0.0233612060546875, 0.01424407958984375, 0.0504150390625, -0.035003662109375, -0.0218353271484375, -0.007465362548828125, 0.02349853515625, 0.0538330078125, 0.0014219284057617188, -0.03192138671875, -0.04705810546875, 0.054901123046875, 0.00539398193359375, 0.002544403076171875, 0.023101806640625, 0.00945281982421875, 0.0218048095703125, 0.0249481201171875, -0.07440185546875, 0.0013246536254882812, 0.04486083984375, -0.040985107421875, -0.007221221923828125, -0.0440673828125, 0.03961181640625, 0.0305633544921875, -0.0421142578125, -0.0257415771484375, 0.026275634765625, 0.0221099853515625, 0.02313232421875, 0.0242156982421875, 0.0142669677734375, -0.047698974609375, 0.004138946533203125, -0.042510986328125, -0.01085662841796875, -0.0005717277526855469, 0.007293701171875, -0.035919189453125, -0.0146331787109375, 0.01611328125, -0.0008611679077148438, 0.0024051666259765625, -0.034149169921875, -0.0263214111328125, 0.0369873046875, 0.038177490234375, 0.007781982421875, -0.0035915374755859375, -0.0206756591796875, -0.0285491943359375, 0.01435089111328125, -0.005451202392578125, -0.0283203125, -0.007282257080078125, 0.005916595458984375, 0.0587158203125, 0.023956298828125, 0.044189453125, -0.0226287841796875, -0.0206298828125, 0.00644683837890625, -0.04638671875, 0.02606201171875, 0.036834716796875, 0.006603240966796875, 0.04736328125, 0.015716552734375, 0.007781982421875, -0.01258087158203125, 0.0305938720703125, -0.0460205078125, -0.01444244384765625, -0.035614013671875, -0.03875732421875, 0.000017523765563964844, 0.014801025390625, -0.032867431640625, 0.01788330078125, -0.025634765625, 0.0260009765625, 0.06707763671875, 0.03424072265625, -0.01114654541015625, -0.00861358642578125, -0.00841522216796875, 0.0221710205078125, -0.01503753662109375, 0.029205322265625, -0.0160980224609375, -0.0299224853515625, 0.0251617431640625, -0.01398468017578125, 0.01216888427734375, 0.0179595947265625, 0.017578125, 0.005428314208984375, 0.01045989990234375, -0.00894927978515625, -0.00832366943359375, 0.017852783203125, 0.0218048095703125, -0.0083465576171875, 0.006946563720703125, -0.006336212158203125, -0.0168609619140625, -0.0046539306640625, 0.004428863525390625, 0.0032863616943359375, -0.00861358642578125, 0.0180206298828125, 0.031646728515625, -0.01418304443359375, -0.012115478515625, -0.01898193359375, -0.0246429443359375, -0.0018835067749023438, 0.021881103515625, -0.035125732421875, 0.01186370849609375, -0.0166473388671875, 0.038177490234375, -0.0214385986328125, -0.01393890380859375, 0.0196533203125, 0.05511474609375, 0.0022602081298828125, -0.0051116943359375, 0.05914306640625, 0.0104522705078125, -0.0219268798828125, 0.064453125, -0.036651611328125, -0.03936767578125, 0.0021762847900390625, 0.0029811859130859375, 0.08282470703125, 0.047943115234375, 0.040435791015625, -0.0211639404296875, -0.032073974609375, -0.03125, 0.0213165283203125, -0.0185089111328125, -0.046051025390625, 0.00612640380859375, -0.005977630615234375, -0.018280029296875, 0.0192413330078125, -0.0268707275390625, 0.0049896240234375, -0.004863739013671875, 0.0182647705078125, 0.05303955078125, -0.03533935546875, 0.0233154296875, -0.0002484321594238281, 0.0211334228515625, -0.0287628173828125, -0.014068603515625, -0.06744384765625, 0.0550537109375, -0.08685302734375, -0.071044921875, 0.0008807182312011719, -0.02490234375, 0.061737060546875, -0.0209197998046875, 0.049072265625, -0.034423828125, -0.0673828125, -0.016448974609375, -0.01552581787109375, 0.0198211669921875, -0.00400543212890625, -0.00629425048828125, -0.023162841796875, 0.0284881591796875, 0.012725830078125, 0.00362396240234375, 0.017059326171875, 0.007045745849609375, 0.0450439453125, -0.0207977294921875, -0.00797271728515625, -0.00434112548828125, -0.0202789306640625, 0.021209716796875, 0.0256195068359375, 0.0312347412109375, 0.003017425537109375, -0.0004031658172607422, 0.0208282470703125, -0.024383544921875, -0.086181640625, 0.0055389404296875, 0.01062774658203125, 0.007293701171875, 0.03802490234375, 0.023162841796875, 0.005184173583984375, -0.01253509521484375, -0.04925537109375, -0.001361846923828125, 0.0257720947265625, -0.00803375244140625, -0.0200958251953125, 0.01419830322265625, -0.00033736228942871094, 0.01345062255859375, -0.06268310546875, -0.050201416015625, -0.0238037109375, -0.025604248046875, -0.01248931884765625, -0.009002685546875, -0.0142059326171875, -0.00592041015625, -0.0065765380859375, 0.0202789306640625, -0.0390625, -0.007335662841796875, 0.03802490234375, 0.03387451171875, 0.00910186767578125, 0.0014247894287109375, -0.017486572265625, -0.03033447265625, 0.0302581787109375, -0.0165557861328125, -0.013458251953125, -0.0382080078125, -0.0013933181762695312, -0.0298919677734375, -0.056427001953125, 0.0360107421875, 0.07769775390625, -0.0343017578125, -0.0279693603515625, 0.0181732177734375, -0.0139312744140625, -0.0518798828125, 0.01410675048828125, 0.00769805908203125, -0.03369140625, 0.011322021484375, 0.00534820556640625, 0.0044403076171875, 0.0003788471221923828, 0.027069091796875, 0.038421630859375, 0.024322509765625, -0.0233001708984375, -0.0043487548828125, -0.0113525390625, 0.00963592529296875, -0.034759521484375, -0.035980224609375, 0.00301361083984375, -0.0902099609375, 0.005573272705078125, 0.0212554931640625, 0.010589599609375, 0.01305389404296875, -0.0298309326171875, -0.0037479400634765625, 0.0166778564453125, -0.05438232421875, -0.06658935546875, -0.0689697265625, -0.0677490234375, 0.02178955078125, 0.017730712890625, -0.018341064453125, -0.001201629638671875, 0.03741455078125, 0.02685546875, -0.01056671142578125, -0.030120849609375, -0.08123779296875, -0.058990478515625, -0.07659912109375, 0.01428985595703125, -0.00817108154296875, 0.0177001953125, 0.0195465087890625, 0.013763427734375, 0.0007290840148925781, -0.045867919921875, -0.0046234130859375, -0.010528564453125, -0.0258331298828125, -0.00600433349609375, -0.0418701171875, -0.0286102294921875, 0.0171661376953125, -0.0172882080078125, 0.00646209716796875, -0.0232696533203125, 0.05023193359375, -0.0012521743774414062, -0.027435302734375, -0.020172119140625, -0.00806427001953125, -0.044891357421875, 0.01058197021484375, -0.006359100341796875, -0.024627685546875, -0.053192138671875, 0.009368896484375, 0.007022857666015625, 0.0037021636962890625, -0.006195068359375, -0.0244293212890625, -0.0252685546875, 0.01091766357421875, -0.0008864402770996094, -0.0254364013671875, -0.0044403076171875, 0.019775390625, -0.0258941650390625, 0.024200439453125, -0.031494140625, -0.0386962890625, -0.0254974365234375, 0.051788330078125, -0.024688720703125, -0.026153564453125, -0.0031909942626953125, -0.0290374755859375, -0.02813720703125, -0.03338623046875, -0.0728759765625, -0.06585693359375, 0.0723876953125, 0.008392333984375, 0.0271453857421875, -0.044830322265625, -0.056304931640625, -0.0004897117614746094, 0.13134765625, -0.049591064453125, -0.0111541748046875, 0.042877197265625, 0.0234832763671875, -0.035064697265625, 0.0020580291748046875, -0.0601806640625, -0.0034656524658203125, -0.103271484375, 0.032867431640625, 0.00450897216796875, -0.013275146484375, 0.007427215576171875, -0.0587158203125, -0.044952392578125, -0.059417724609375, 0.009063720703125, -0.007083892822265625, -0.00289154052734375, 0.00926971435546875, -0.00844573974609375, -0.0139923095703125, -0.0017261505126953125, -0.01995849609375, -0.0870361328125, -0.0218658447265625, -0.027557373046875, 0.07659912109375, 0.00543212890625, -0.0013780593872070312, -0.024627685546875, 0.036529541015625, -0.0260009765625, -0.0003249645233154297, 0.0177001953125, 0.00021505355834960938, 0.02203369140625, 0.042022705078125, 0.0040740966796875, 0.008056640625, -0.0038890838623046875, -0.048370361328125, -0.048187255859375, 0.00627899169921875, -0.025665283203125, 0.06036376953125, -0.00391387939453125, -0.00868988037109375, -0.016876220703125, -0.014617919921875, -0.041839599609375, 0.00656890869140625, -0.0301513671875, -0.004390716552734375, -0.0124359130859375, -0.0219573974609375, 0.0308685302734375, -0.0234527587890625, -0.009429931640625, -0.00231170654296875, 0.05755615234375, 0.01910400390625, 0.003753662109375, -0.005985260009765625, -0.003993988037109375, 0.0291748046875, 0.0245513916015625, 0.057159423828125, 0.04083251953125, -0.0027713775634765625, 0.00772857666015625, 0.0323486328125, 0.00640869140625, 0.0205230712890625, 0.0308380126953125, 0.00403594970703125, -0.00685882568359375, 0.0030345916748046875, 0.01175689697265625, -0.0257415771484375, 0.001811981201171875, 0.00974273681640625, 0.0227813720703125, 0.0282135009765625, -0.04168701171875, -0.0017242431640625, -0.0248260498046875, 0.034942626953125, -0.040740966796875, 0.02862548828125, -0.054534912109375, 0.0184783935546875, 0.003849029541015625, 0.00644683837890625, 0.01153564453125, -0.01446533203125, -0.0116424560546875, -0.00910186767578125, -0.0127410888671875, 0.004161834716796875, 0.0220489501953125, -0.0311279296875, -0.01308441162109375, 0.00989532470703125, -0.0197296142578125, 0.0855712890625, 0.0091400146484375, -0.049285888671875, 0.010528564453125, -0.01203155517578125, -0.007568359375, 0.0212860107421875, -0.01381683349609375, 0.044189453125, -0.045745849609375, -0.037811279296875, -0.01415252685546875, -0.0638427734375, -0.06341552734375, -0.06396484375, 0.004756927490234375, 0.00467681884765625, -0.02056884765625, -0.00873565673828125, 0.0343017578125, 0.007904052734375, -0.01020050048828125, -0.0077972412109375, 0.030487060546875, 0.0550537109375, -0.0518798828125, 0.01331329345703125, 0.06268310546875, 0.00044798851013183594, -0.0716552734375, 0.0350341796875, -0.037750244140625, -0.038848876953125, -0.0012912750244140625, 0.04425048828125, 0.0059967041015625, 0.0162811279296875, 0.01210784912109375, 0.00812530517578125, -0.0194549560546875, 0.007770538330078125, 0.0010251998901367188, -0.046142578125, 0.0023555755615234375, 0.037811279296875, 0.01055908203125, 0.00341033935546875, -0.0278472900390625, 0.044403076171875, -0.001987457275390625, 0.07342529296875, 0.001888275146484375, 0.00878143310546875, 0.01641845703125, 0.01611328125, 0.0182952880859375, -0.0233001708984375, -0.02484130859375, 0.005611419677734375, 0.005970001220703125, -0.01800537109375, -0.00293731689453125, 0.045654296875, -0.0362548828125, 0.0237579345703125, -0.0021533966064453125, -0.0098724365234375, -0.043731689453125, 0.04541015625, -0.022003173828125, 0.00331878662109375, 0.020233154296875, -0.01702880859375, -0.010223388671875, -0.02825927734375, 0.0166015625, -0.0010700225830078125, -0.0294036865234375, -0.003986358642578125, 0.00934600830078125, 0.00897979736328125, -0.042938232421875, -0.058807373046875, -0.0201568603515625, 0.028076171875, 0.01515960693359375, -0.01279449462890625, 0.015289306640625, 0.06329345703125, -0.0260467529296875, 0.061279296875, 0.04412841796875, 0.047607421875, -0.04034423828125, -0.028839111328125, 0.0010461807250976562, -0.035675048828125, -0.0304718017578125, -0.01119232177734375, -0.0196075439453125, 0.0282135009765625, 0.04937744140625, -0.01103973388671875, 0.0031642913818359375, 0.0030498504638671875, 0.005161285400390625, 0.0040435791015625, -0.0139007568359375, 0.0310821533203125, -0.0208587646484375, 0.04974365234375, 0.007076263427734375, 0.0310821533203125, -0.026580810546875, -0.0120697021484375, -0.01039886474609375, 0.005725860595703125, -0.00557708740234375, 0.027587890625, -0.0138702392578125, 0.020660400390625, 0.0626220703125, 0.0010089874267578125, 0.05865478515625, 0.0277252197265625, 0.035736083984375, 0.04559326171875, 0.01003265380859375, -0.06683349609375, -0.0276336669921875, 0.0232391357421875, 0.022125244140625, -0.0179901123046875, 0.0207366943359375, -0.0200653076171875, 0.01971435546875, 0.06549072265625, 0.09228515625, -0.0606689453125, -0.0170135498046875, 0.02716064453125, -0.0614013671875, -0.034210205078125, 0.001983642578125, -0.022796630859375, -0.017852783203125, 0.049041748046875, -0.04888916015625, -0.0208740234375, 0.02301025390625, -0.0166473388671875, -0.011444091796875, -0.006359100341796875, 0.0162353515625, 0.01136016845703125, -0.004039764404296875, 0.00112152099609375, 0.015655517578125, 0.0172119140625, 0.006961822509765625, 0.0333251953125, -0.0219573974609375, -0.0201873779296875, -0.051727294921875, -0.034423828125, -0.004268646240234375, -0.041839599609375, 0.0191650390625, -0.0277252197265625, 0.043853759765625, 0.0305023193359375, -0.0161895751953125, 0.01407623291015625, -0.003795623779296875, -0.00916290283203125, 0.006641387939453125, 0.006900787353515625, 0.02398681640625, 0.015869140625, -0.023773193359375, 0.0086517333984375, -0.0284881591796875, -0.015838623046875, -0.005657196044921875, -0.0269317626953125, 0.0697021484375, -0.045440673828125, 0.0131378173828125, 0.038848876953125, 0.031890869140625, -0.01580810546875, -0.028411865234375, 0.04693603515625, -0.04193115234375, 0.01031494140625, 0.0163116455078125, 0.04681396484375, -0.0267486572265625, -0.01486968994140625, -0.016021728515625, 0.07720947265625, -0.00243377685546875, -0.0119476318359375, -0.017578125, 0.043792724609375, 0.0189208984375, 0.06793212890625, 0.01873779296875, 0.0531005859375, -0.0301361083984375, -0.03515625, -0.059814453125, -0.011993408203125, -0.04168701171875, 0.046844482421875, 0.0183563232421875, -0.007602691650390625, -0.044281005859375, 0.0152130126953125, 0.10162353515625, 0.0634765625, 0.05023193359375, 0.0213775634765625, -0.005855560302734375, 0.0167694091796875, 0.0243072509765625, 0.0019378662109375, 0.035858154296875, -0.0101165771484375, -0.049072265625, 0.0102386474609375, 0.0130615234375, 0.004657745361328125, -0.01311492919921875, 0.026153564453125, -0.046875, -0.00008702278137207031, 0.0282440185546875, 0.024078369140625, 0.01495361328125, -0.02142333984375, -0.0380859375, 0.010833740234375, 0.006931304931640625, -0.006214141845703125, 0.004787445068359375, -0.0245513916015625, -0.00428009033203125, 0.033721923828125, 0.021392822265625, -0.00618743896484375, 0.03570556640625, 0.00862884521484375, 0.016357421875, -0.00414276123046875, 0.00481414794921875, 0.0249786376953125, 0.04119873046875, 0.0209503173828125, 0.02435302734375, 0.01849365234375, -0.0036106109619140625, -0.0098876953125, -0.00421142578125, 0.0078277587890625, -0.01284027099609375, 0.013153076171875, -0.033538818359375, -0.00914764404296875, -0.0189208984375, -0.03173828125, -0.011962890625, -0.005771636962890625, 0.0224761962890625, -0.0189971923828125, 0.007366180419921875, 0.051605224609375, -0.00919342041015625, 0.0162200927734375, -0.0160369873046875, -0.0016832351684570312, 0.00951385498046875, 0.0033931732177734375, -0.0126953125, 0.041473388671875, 0.0126800537109375, 0.00006818771362304688, -0.0175933837890625, 0.01837158203125, 0.0020847320556640625, 0.00116729736328125, -0.037872314453125, -0.042724609375, 0.013275146484375, 0.038543701171875, 0.01166534423828125, 0.03271484375, 0.0616455078125, 0.0865478515625, -0.007541656494140625, -0.0236968994140625, 0.069580078125, 0.004001617431640625, 0.0010118484497070312, -0.0377197265625, 0.03662109375, 0.018951416015625, 0.0014753341674804688, -0.0009784698486328125, 0.048797607421875, 0.0194091796875, -0.0021190643310546875, 0.038421630859375, 0.0013456344604492188, -0.0247344970703125, 0.020355224609375, -0.02862548828125, 0.057952880859375, 0.02459716796875, -0.017364501953125, -0.00637054443359375, -0.01117706298828125, -0.03399658203125, 0.018524169921875, 0.03466796875, 0.0195770263671875, -0.006130218505859375, 0.01311492919921875, -0.07586669921875, 0.01763916015625, 0.054290771484375, 0.0185699462890625, 0.0099029541015625, -0.00567626953125, -0.01453399658203125, -0.0360107421875, -0.02960205078125, -0.0263824462890625, 0.058563232421875, 0.0037975311279296875, 0.09088134765625, -0.0234375, 0.01291656494140625, -0.021148681640625, -0.0154266357421875, -0.0051422119140625, -0.00473785400390625, -0.00383758544921875, 0.019012451171875, -0.00954437255859375, 0.00018990039825439453, -0.01557159423828125, 0.0281524658203125, 0.029937744140625, -0.00937652587890625, 0.0340576171875, -0.0187225341796875, 0.01432037353515625, -0.0135650634765625, 0.0183868408203125, -0.041351318359375, -0.082763671875, -0.07318115234375, 0.031951904296875, -0.023284912109375, -0.001522064208984375, -0.0379638671875, 0.01224517822265625, -0.05255126953125, -0.0129547119140625, -0.0026912689208984375, -0.007564544677734375, -0.022003173828125, 0.01104736328125, -0.03424072265625, -0.057891845703125, 0.01441192626953125, -0.0198211669921875, -0.028167724609375, 0.01558685302734375, 0.050201416015625, 0.005489349365234375, -0.0322265625, -0.0202178955078125, 0.04473876953125, 0.04168701171875, 0.027679443359375, 0.024749755859375, 0.0096435546875, -0.0312042236328125, -0.01045989990234375, 0.04669189453125, -0.003841400146484375, 0.042022705078125, -0.0296783447265625, -0.0158233642578125, 0.030364990234375, -0.03167724609375, -0.00559234619140625, -0.0211944580078125, 0.0240020751953125, -0.03814697265625, 0.03155517578125, -0.0504150390625, -0.03997802734375, 0.028411865234375, -0.044921875, 0.017608642578125, -0.0132904052734375, -0.0191192626953125, -0.0474853515625, -0.0438232421875, -0.04058837890625, 0.0416259765625, -0.043914794921875, 0.01812744140625, 0.0128631591796875, -0.0184478759765625, -0.012481689453125, 0.01081085205078125, 0.01073455810546875, 0.044830322265625, 0.0221099853515625, -0.0081939697265625, 0.038299560546875, -0.01812744140625, -0.032958984375, -0.08551025390625, -0.0021877288818359375, -0.064208984375, 0.025421142578125, -0.044677734375, 0.047119140625, 0.0546875, -0.03753662109375, -0.09942626953125, 0.08831787109375, -0.044158935546875, -0.03021240234375, -0.05975341796875, -0.0002663135528564453, -0.0203399658203125, 0.038787841796875, -0.01800537109375, -0.03729248046875, -0.00783538818359375, 0.061737060546875, 0.006435394287109375, 0.044403076171875, -0.03936767578125, 0.049652099609375, -0.0276947021484375, 0.02716064453125, 0.00548553466796875, -0.021697998046875, 0.01556396484375, -0.000507354736328125, 0.03546142578125, 0.048553466796875, -0.01337432861328125, 0.0440673828125, 0.006404876708984375, -0.0245361328125, -0.022796630859375, -0.0230865478515625, 0.0116729736328125, 0.00440216064453125, 0.04437255859375, 0.028228759765625, -0.004642486572265625, -0.024566650390625, -0.03582763671875, -0.00928497314453125, 0.0303192138671875, -0.01477813720703125, -0.007343292236328125, -0.047149658203125, -0.004451751708984375, -0.00829315185546875, -0.00030422210693359375, 0.01495361328125, -0.01548004150390625, -0.0236663818359375, 0.013580322265625, -0.00774383544921875, -0.01059722900390625, -0.0478515625, -0.0078125, 0.08453369140625, -0.044647216796875, -0.0005130767822265625, 0.017852783203125, 0.011138916015625, 0.03619384765625, 0.01099395751953125, 0.017669677734375, 0.0482177734375, -0.058013916015625, -0.008209228515625, 0.0095977783203125, 0.0243072509765625, -0.04083251953125, -0.01378631591796875, -0.00916290283203125, 0.03515625, 0.019287109375, 0.035675048828125, -0.0274505615234375, 0.048095703125, 0.0271759033203125, 0.018341064453125, -0.0205535888671875, 0.0009355545043945312, -0.0162200927734375, 0.01479339599609375, -0.0161895751953125, 0.0032596588134765625, 0.0289459228515625, -0.0169219970703125, 0.0040130615234375, -0.01213836669921875, 0.01078033447265625, 0.00626373291015625, -0.00942230224609375, -0.05413818359375, -0.02069091796875, 0.004608154296875 ]
1a6d76635149a9343f8550319347666cf56bea00
Wordpress Stackexchange Q: Proper way to use apply_filters() with class functions? I want to allow my user to override a function. It's a plugin. I believe that apply_filters() can be used for this. this can be overridden by add_filter(). I am confused about how to use it. Say if i have a class like this class Example{ public function hello(){ $title = the_title_attribute(); return $title; } } What change should I make to allow that $title to be modified? where to place the apply filter? Thanks A: It depends on you where you want to call apply_filters(). It can be right when you defined the $title: $title = apply_filters( 'my_hook', the_title_attribute( 'echo=0' ) ); // set echo to false return $title; Or in the return call: $title = the_title_attribute( 'echo=0' ); // set echo to false return apply_filters( 'my_hook', $title ); Then one can hook to the filter like so: add_filter( 'my_hook', 'some_function' ); PS: As @birgire pointed, the_title_attribute() will echo output, unless the echo argument is set to false. So be sure to use the function with the proper parameters.
Q: Proper way to use apply_filters() with class functions? I want to allow my user to override a function. It's a plugin. I believe that apply_filters() can be used for this. this can be overridden by add_filter(). I am confused about how to use it. Say if i have a class like this class Example{ public function hello(){ $title = the_title_attribute(); return $title; } } What change should I make to allow that $title to be modified? where to place the apply filter? Thanks A: It depends on you where you want to call apply_filters(). It can be right when you defined the $title: $title = apply_filters( 'my_hook', the_title_attribute( 'echo=0' ) ); // set echo to false return $title; Or in the return call: $title = the_title_attribute( 'echo=0' ); // set echo to false return apply_filters( 'my_hook', $title ); Then one can hook to the filter like so: add_filter( 'my_hook', 'some_function' ); PS: As @birgire pointed, the_title_attribute() will echo output, unless the echo argument is set to false. So be sure to use the function with the proper parameters.
wordpress
{ "language": "en", "length": 179, "provenance": "stackexchange_00019.jsonl.gz:495269", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/337867" }
[ 0.09613037109375, -0.0142669677734375, 0.0467529296875, -0.0240478515625, 0.0013132095336914062, -0.0282135009765625, 0.07275390625, -0.034881591796875, 0.0142364501953125, 0.0130157470703125, 0.00519561767578125, -0.0279388427734375, 0.0128936767578125, -0.035247802734375, -0.0160369873046875, -0.0271148681640625, 0.006439208984375, 0.00337982177734375, 0.01335906982421875, -0.00545501708984375, -0.0040435791015625, 0.0212860107421875, -0.02978515625, 0.005947113037109375, 0.023040771484375, -0.058349609375, 0.08526611328125, -0.020294189453125, 0.042938232421875, 0.0008463859558105469, 0.0269012451171875, -0.048095703125, 0.0316162109375, 0.0452880859375, -0.06048583984375, 0.05474853515625, -0.0115966796875, 0.00844573974609375, -0.0203857421875, 0.05279541015625, 0.04376220703125, -0.0087127685546875, -0.0435791015625, 0.056640625, -0.03533935546875, -0.07861328125, 0.08258056640625, -0.0017061233520507812, 0.00614166259765625, -0.020233154296875, 0.00868988037109375, 0.0174102783203125, 0.0125579833984375, -0.01378631591796875, 0.0036449432373046875, 0.01561737060546875, -0.020263671875, 0.0129852294921875, 0.032012939453125, 0.0202178955078125, -0.01556396484375, -0.007167816162109375, 0.0175628662109375, -0.026763916015625, 0.0179290771484375, -0.034423828125, -0.01340484619140625, 0.0300140380859375, -0.0301513671875, 0.0228729248046875, 0.06396484375, -0.0173492431640625, -0.0191650390625, 0.00399017333984375, -0.06158447265625, 0.0132904052734375, 0.0172576904296875, -0.0198211669921875, 0.0203857421875, -0.0098114013671875, 0.0026035308837890625, -0.0254669189453125, -0.0064544677734375, 0.044708251953125, -0.030487060546875, 0.055267333984375, -0.0049591064453125, -0.0223388671875, 0.0031490325927734375, -0.007030487060546875, 0.0023593902587890625, 0.021270751953125, -0.0265655517578125, -0.0012636184692382812, 0.0035190582275390625, -0.048431396484375, 0.02972412109375, 0.01198577880859375, 0.027923583984375, 0.0209197998046875, 0.043670654296875, -0.0772705078125, 0.06329345703125, -0.02655029296875, -0.00634765625, 0.0338134765625, -0.01416778564453125, 0.0270233154296875, 0.0135498046875, 0.051025390625, 0.0029773712158203125, -0.030853271484375, 0.005336761474609375, -0.0018796920776367188, -0.0291595458984375, -0.009552001953125, -0.0239715576171875, -0.0216217041015625, 0.007602691650390625, -0.006595611572265625, 0.0229339599609375, 0.019561767578125, 0.037689208984375, -0.03839111328125, 0.0053558349609375, -0.01125335693359375, -0.059967041015625, -0.034332275390625, 0.08203125, 0.008026123046875, 0.01403045654296875, -0.01105499267578125, -0.0295867919921875, 0.007686614990234375, -0.0016765594482421875, -0.00803375244140625, 0.04791259765625, -0.019927978515625, -0.0090179443359375, 0.0013170242309570312, -0.007602691650390625, 0.020233154296875, -0.00327301025390625, -0.0229034423828125, -0.01220703125, -0.018096923828125, 0.002368927001953125, 0.036163330078125, 0.00838470458984375, -0.0303802490234375, 0.040557861328125, -0.05242919921875, 0.0246734619140625, 0.0175018310546875, -0.007488250732421875, 0.0259246826171875, 0.014312744140625, -0.0014829635620117188, -0.0325927734375, -0.006359100341796875, 0.0029888153076171875, -0.0033054351806640625, -0.0054168701171875, -0.007610321044921875, -0.0241241455078125, 0.0183258056640625, 0.0033855438232421875, 0.01617431640625, 0.0102081298828125, -0.047271728515625, 0.0237884521484375, 0.03253173828125, 0.002063751220703125, 0.007965087890625, 0.0196685791015625, -0.0018339157104492188, -0.01425933837890625, 0.06512451171875, 0.0109100341796875, -0.0218353271484375, -0.007572174072265625, -0.04150390625, 0.06561279296875, -0.028656005859375, -0.04791259765625, -0.01181793212890625, 0.0186614990234375, 0.0400390625, 0.020233154296875, 0.026123046875, 0.021484375, 0.00408172607421875, -0.0266876220703125, 0.02166748046875, -0.022735595703125, -0.04022216796875, 0.00745391845703125, -0.003849029541015625, -0.019805908203125, 0.0301513671875, 0.0772705078125, 0.00601959228515625, 0.0156707763671875, -0.028717041015625, -0.049835205078125, -0.0007338523864746094, -0.0182952880859375, 0.02825927734375, 0.0154571533203125, 0.0301513671875, -0.0004096031188964844, -0.0030269622802734375, -0.03125, 0.020782470703125, -0.0102386474609375, -0.027984619140625, -0.0161895751953125, -0.006000518798828125, -0.0216217041015625, 0.00464630126953125, -0.007663726806640625, -0.01160430908203125, -0.032073974609375, 0.029510498046875, 0.029541015625, -0.0131378173828125, 0.01268768310546875, -0.023590087890625, 0.00891876220703125, 0.0222015380859375, -0.05419921875, 0.00006854534149169922, 0.03082275390625, 0.054534912109375, -0.0221405029296875, -0.026123046875, -0.05377197265625, -0.0738525390625, -0.009368896484375, 0.07501220703125, 0.034454345703125, 0.052581787109375, -0.020843505859375, -0.0141754150390625, 0.064453125, -0.00690460205078125, 0.0195159912109375, -0.0297698974609375, 0.015380859375, -0.0167694091796875, 0.0014905929565429688, -0.0246429443359375, 0.047576904296875, -0.07073974609375, 0.039825439453125, 0.04034423828125, -0.0176544189453125, -0.035430908203125, -0.0223846435546875, -0.01224517822265625, 0.021270751953125, -0.054779052734375, -0.04541015625, 0.005275726318359375, 0.013671875, 0.00057220458984375, -0.006420135498046875, -0.0010967254638671875, -0.03656005859375, 0.0178070068359375, 0.03973388671875, -0.029754638671875, -0.005588531494140625, -0.0119476318359375, -0.003570556640625, 0.0083465576171875, -0.04150390625, 0.0218353271484375, -0.00959014892578125, -0.024658203125, -0.0083770751953125, 0.045745849609375, 0.007266998291015625, -0.0162353515625, -0.005695343017578125, 0.0167083740234375, 0.01528167724609375, -0.01317596435546875, 0.04180908203125, -0.0110321044921875, 0.0131988525390625, 0.0231781005859375, -0.007762908935546875, 0.051177978515625, 0.00542449951171875, -0.02227783203125, -0.0428466796875, -0.0189666748046875, 0.028961181640625, -0.044158935546875, -0.0109710693359375, 0.0430908203125, -0.028900146484375, 0.006847381591796875, 0.0020961761474609375, -0.0017795562744140625, 0.012603759765625, 0.0011453628540039062, -0.0035305023193359375, -0.001735687255859375, -0.060791015625, 0.001277923583984375, 0.020263671875, 0.054656982421875, -0.00928497314453125, -0.04437255859375, -0.00823974609375, 0.017547607421875, -0.03350830078125, -0.017364501953125, 0.022796630859375, -0.041351318359375, 0.01222991943359375, 0.0163116455078125, -0.01605224609375, -0.0275726318359375, 0.032196044921875, 0.002391815185546875, 0.01346588134765625, -0.0174713134765625, -0.01142120361328125, -0.0188446044921875, -0.04437255859375, -0.0118408203125, 0.0172576904296875, 0.01055908203125, -0.0031261444091796875, 0.0245513916015625, -0.01056671142578125, -0.03076171875, 0.0105743408203125, 0.029693603515625, 0.0020999908447265625, -0.0095977783203125, 0.0031070709228515625, -0.01238250732421875, -0.033416748046875, 0.011932373046875, 0.01209259033203125, -0.003162384033203125, -0.00579071044921875, -0.019439697265625, -0.014190673828125, 0.01013946533203125, 0.00531768798828125, 0.037689208984375, 0.00580596923828125, 0.01216888427734375, 0.038421630859375, -0.032135009765625, 0.00313568115234375, -0.0001360177993774414, -0.025787353515625, -0.0160064697265625, -0.004444122314453125, -0.0204315185546875, -0.01280975341796875, 0.003414154052734375, -0.01934814453125, 0.005580902099609375, -0.0116424560546875, -0.008819580078125, -0.0020999908447265625, -0.01800537109375, -0.00293731689453125, 0.02197265625, 0.000820159912109375, -0.0300445556640625, 0.01690673828125, 0.0012502670288085938, 0.0079803466796875, -0.002559661865234375, 0.01922607421875, -0.00893402099609375, -0.035736083984375, 0.0487060546875, -0.0036907196044921875, 0.00826263427734375, -0.0169525146484375, -0.0307464599609375, 0.0100860595703125, 0.088134765625, -0.050750732421875, -0.0225982666015625, 0.022857666015625, 0.0197906494140625, 0.00801849365234375, -0.00463104248046875, -0.017608642578125, -0.029998779296875, -0.0921630859375, -0.01229095458984375, -0.01873779296875, -0.037017822265625, -0.0188140869140625, -0.027984619140625, -0.0626220703125, -0.0281829833984375, 0.01467132568359375, -0.013153076171875, -0.00774383544921875, 0.0318603515625, -0.02581787109375, 0.0163421630859375, -0.02117919921875, -0.01496124267578125, -0.08428955078125, -0.0005536079406738281, -0.06658935546875, 0.07275390625, 0.0186004638671875, 0.020233154296875, -0.039520263671875, 0.018524169921875, 0.0252685546875, 0.056671142578125, 0.008270263671875, -0.006618499755859375, 0.02740478515625, -0.00986480712890625, 0.01534271240234375, -0.01216888427734375, 0.01180267333984375, -0.00839996337890625, -0.072021484375, 0.00786590576171875, -0.019805908203125, 0.05731201171875, 0.0114898681640625, -0.05340576171875, -0.049224853515625, -0.054962158203125, -0.035858154296875, -0.036895751953125, -0.0280303955078125, -0.01434326171875, -0.018463134765625, -0.0404052734375, 0.0450439453125, -0.00493621826171875, 0.006008148193359375, -0.00661468505859375, 0.056427001953125, 0.0110321044921875, -0.042236328125, 0.01029205322265625, 0.0009860992431640625, 0.0028247833251953125, -0.050384521484375, 0.041717529296875, -0.025787353515625, -0.003551483154296875, 0.061798095703125, -0.0587158203125, 0.0068359375, -0.04205322265625, 0.0810546875, -0.0181884765625, 0.0149383544921875, 0.004913330078125, -0.023773193359375, 0.01222991943359375, -0.0159912109375, -0.0128021240234375, -0.0287933349609375, 0.04510498046875, 0.0262908935546875, -0.0220184326171875, 0.0572509765625, 0.00829315185546875, -0.0313720703125, 0.01355743408203125, -0.0047454833984375, 0.025177001953125, 0.029754638671875, -0.0030498504638671875, -0.02093505859375, -0.036407470703125, 0.0241241455078125, -0.0039520263671875, 0.04949951171875, -0.036468505859375, 0.07232666015625, -0.0005664825439453125, 0.0158233642578125, -0.05145263671875, -0.005062103271484375, 0.04931640625, -0.029205322265625, -0.047760009765625, -0.016326904296875, -0.0169219970703125, -0.016204833984375, 0.037109375, -0.0172882080078125, -0.0024814605712890625, 0.047149658203125, -0.03192138671875, 0.00212860107421875, 0.0044708251953125, 0.031005859375, -0.0235595703125, 0.040618896484375, 0.0207061767578125, -0.015899658203125, 0.024383544921875, -0.01580810546875, 0.055450439453125, -0.027313232421875, -0.0240631103515625, 0.036712646484375, 0.0265350341796875, 0.01012420654296875, 0.02667236328125, -0.03125, -0.0015735626220703125, -0.0023860931396484375, -0.005527496337890625, -0.0215911865234375, -0.02374267578125, -0.007236480712890625, -0.0135040283203125, 0.009857177734375, 0.032806396484375, 0.0212249755859375, 0.029876708984375, -0.0167999267578125, 0.04229736328125, 0.0224456787109375, -0.019378662109375, -0.0213623046875, -0.04779052734375, 0.0108795166015625, -0.00733184814453125, 0.00006908178329467773, 0.005084991455078125, 0.0241546630859375, 0.049346923828125, -0.053558349609375, -0.0010461807250976562, 0.01666259765625, 0.023406982421875, 0.0013580322265625, 0.0171661376953125, -0.0012445449829101562, -0.048980712890625, -0.05816650390625, -0.0236968994140625, -0.01120758056640625, 0.0760498046875, -0.043060302734375, 0.0618896484375, -0.039642333984375, -0.0168914794921875, -0.0057525634765625, 0.00043201446533203125, 0.06829833984375, 0.061767578125, -0.07757568359375, 0.00296783447265625, -0.0467529296875, 0.003559112548828125, -0.08758544921875, -0.06768798828125, -0.04522705078125, 0.006855010986328125, -0.0229034423828125, 0.0295257568359375, -0.01500701904296875, -0.0134429931640625, 0.0054779052734375, -0.019317626953125, -0.01500701904296875, -0.006587982177734375, -0.0411376953125, 0.083251953125, 0.0270538330078125, 0.05914306640625, -0.01328277587890625, -0.0012388229370117188, -0.02294921875, 0.0015935897827148438, 0.00926971435546875, -0.03076171875, -0.04754638671875, 0.0016183853149414062, -0.0682373046875, 0.00975799560546875, 0.07452392578125, -0.0188751220703125, 0.042266845703125, -0.025115966796875, -0.00928497314453125, -0.01873779296875, 0.0177001953125, -0.04638671875, -0.00030040740966796875, 0.03753662109375, -0.02386474609375, 0.0172882080078125, -0.037933349609375, -0.008758544921875, 0.050872802734375, -0.03466796875, 0.03594970703125, 0.0236053466796875, -0.0128173828125, 0.036468505859375, 0.023193359375, -0.031951904296875, 0.018157958984375, 0.0233001708984375, 0.00881195068359375, 0.0196685791015625, -0.0237884521484375, 0.04083251953125, 0.016571044921875, 0.0479736328125, -0.0107269287109375, -0.01248931884765625, 0.0213165283203125, -0.039398193359375, 0.0340576171875, 0.0200653076171875, 0.046173095703125, -0.07086181640625, 0.044952392578125, 0.024322509765625, 0.00977325439453125, 0.027191162109375, 0.035247802734375, -0.000018656253814697266, 0.0026416778564453125, 0.007083892822265625, -0.0252838134765625, 0.004364013671875, 0.035369873046875, 0.01340484619140625, 0.0093231201171875, -0.0284576416015625, 0.03778076171875, 0.0014810562133789062, -0.002384185791015625, -0.038116455078125, 0.0015325546264648438, -0.0224609375, 0.051727294921875, 0.01380157470703125, 0.0186767578125, -0.05792236328125, -0.048553466796875, -0.02227783203125, -0.0285491943359375, -0.07843017578125, 0.01560211181640625, -0.04095458984375, 0.0291290283203125, 0.005367279052734375, -0.023834228515625, 0.01448822021484375, -0.00608062744140625, -0.040008544921875, -0.0299530029296875, -0.0355224609375, -0.005298614501953125, 0.06671142578125, -0.04345703125, 0.040069580078125, 0.0009493827819824219, -0.00749969482421875, -0.00010460615158081055, -0.08038330078125, 0.013397216796875, -0.0069427490234375, -0.00800323486328125, 0.0036563873291015625, -0.0212249755859375, 0.0010480880737304688, -0.0015125274658203125, 0.02008056640625, -0.049285888671875, -0.0187835693359375, 0.01021575927734375, -0.036590576171875, -0.025299072265625, 0.0147705078125, -0.048675537109375, 0.10113525390625, 0.0027675628662109375, 0.02716064453125, -0.00743865966796875, 0.037353515625, -0.0134429931640625, 0.02001953125, -0.053375244140625, 0.0216827392578125, 0.0061798095703125, 0.06658935546875, -0.02099609375, -0.0007071495056152344, 0.0283355712890625, 0.02154541015625, -0.0166015625, 0.01239013671875, -0.038116455078125, -0.03607177734375, -0.03289794921875, 0.0267791748046875, 0.01280975341796875, 0.04412841796875, -0.006561279296875, 0.01357269287109375, 0.01366424560546875, -0.02215576171875, 0.034759521484375, -0.071533203125, -0.0036106109619140625, 0.013671875, -0.007549285888671875, -0.0167694091796875, -0.00907135009765625, 0.0249786376953125, -0.03509521484375, -0.0077667236328125, 0.0244903564453125, 0.0012111663818359375, -0.00923919677734375, -0.005199432373046875, 0.0133056640625, -0.026123046875, -0.0010709762573242188, -0.00856781005859375, 0.03570556640625, 0.0210113525390625, 0.002166748046875, 0.02886962890625, 0.005237579345703125, -0.0030956268310546875, 0.00997161865234375, 0.00038313865661621094, 0.0131072998046875, 0.01953125, 0.0299835205078125, 0.002384185791015625, 0.019256591796875, -0.0008630752563476562, 0.0209503173828125, 0.035614013671875, 0.02490234375, -0.0161590576171875, -0.00978851318359375, 0.00634765625, -0.00763702392578125, -0.004306793212890625, -0.025970458984375, -0.017730712890625, -0.0202789306640625, 0.007541656494140625, -0.067138671875, 0.007251739501953125, 0.034332275390625, 0.0044708251953125, -0.0022487640380859375, 0.00923919677734375, -0.0155181884765625, 0.0019931793212890625, -0.02655029296875, -0.033538818359375, -0.01403045654296875, 0.06610107421875, 0.0272064208984375, 0.05352783203125, -0.0271453857421875, -0.035186767578125, -0.0125274658203125, 0.00148773193359375, -0.00843048095703125, 0.021148681640625, -0.04278564453125, -0.028961181640625, -0.007099151611328125, 0.044891357421875, 0.07464599609375, 0.006427764892578125, 0.04132080078125, -0.01274871826171875, -0.01690673828125, 0.0207061767578125, -0.01538848876953125, -0.01024627685546875, -0.0008716583251953125, -0.007366180419921875, -0.01715087890625, -0.02191162109375, -0.0296630859375, -0.001789093017578125, 0.01251220703125, -0.0005273818969726562, -0.053802490234375, 0.03802490234375, -0.0136260986328125, -0.052703857421875, 0.0103759765625, 0.019775390625, 0.09674072265625, -0.0205841064453125, -0.04327392578125, 0.00815582275390625, -0.0330810546875, -0.0902099609375, 0.040069580078125, 0.0396728515625, -0.039825439453125, 0.0137481689453125, -0.0292205810546875, 0.0019178390502929688, 0.04095458984375, 0.00551605224609375, -0.04461669921875, 0.001354217529296875, 0.046417236328125, -0.032928466796875, 0.039306640625, 0.043487548828125, -0.0006279945373535156, 0.031341552734375, 0.042877197265625, 0.05487060546875, -0.0369873046875, 0.031341552734375, 0.0003597736358642578, -0.0295562744140625, -0.004474639892578125, -0.01416015625, 0.0291290283203125, -0.02642822265625, -0.02447509765625, 0.01137542724609375, -0.03619384765625, 0.022247314453125, 0.03094482421875, -0.0115966796875, 0.02880859375, -0.007671356201171875, 0.015594482421875, -0.0286102294921875, 0.0273895263671875, -0.0016012191772460938, -0.01349639892578125, -0.04400634765625, -0.0308074951171875, 0.053131103515625, 0.0628662109375, 0.044189453125, -0.01178741455078125, 0.021942138671875, 0.0238800048828125, -0.003383636474609375, 0.042327880859375, -0.0083465576171875, 0.0160980224609375, -0.080078125, -0.055633544921875, -0.0249176025390625, -0.0132293701171875, -0.0187835693359375, 0.0106353759765625, 0.02557373046875, -0.017791748046875, -0.03839111328125, -0.0021762847900390625, -0.00872039794921875, 0.036407470703125, -0.0103607177734375, 0.020416259765625, -0.005008697509765625, 0.001384735107421875, -0.01885986328125, -0.03106689453125, -0.044403076171875, -0.0297698974609375, -0.00931549072265625, 0.0202789306640625, -0.0187835693359375, -0.08544921875, -0.113037109375, 0.0216522216796875, 0.0162506103515625, -0.0182342529296875, -0.0265045166015625, 0.010894775390625, -0.0423583984375, 0.07049560546875, -0.035064697265625, -0.0160675048828125, 0.0183868408203125, 0.02142333984375, -0.035614013671875, -0.0259552001953125, -0.02862548828125, 0.01355743408203125, -0.0200347900390625, 0.041351318359375, 0.07659912109375, -0.0242919921875, -0.0200958251953125, 0.0243988037109375, 0.0135955810546875, 0.05853271484375, -0.08001708984375, -0.0276947021484375, 0.01099395751953125, 0.0061187744140625, -0.004901885986328125, -0.035003662109375, 0.002716064453125, -0.0245513916015625, -0.0080413818359375, 0.02667236328125, -0.024169921875, -0.00913238525390625, -0.045562744140625, -0.043975830078125, 0.0792236328125, 0.001308441162109375, -0.0308990478515625, -0.06396484375, 0.045013427734375, 0.003810882568359375, 0.03271484375, -0.007747650146484375, -0.01326751708984375, -0.0200347900390625, 0.00856781005859375, 0.0124359130859375, 0.031982421875, 0.01751708984375, 0.03448486328125, -0.06256103515625, 0.0061798095703125, -0.03057861328125, 0.0084075927734375, 0.0003769397735595703, -0.024505615234375, 0.04669189453125, 0.0166168212890625, -0.0323486328125, 0.05328369140625, 0.0275726318359375, 0.0264892578125, -0.0004277229309082031, -0.0136260986328125, -0.061187744140625, -0.030731201171875, 0.08636474609375, 0.05047607421875, 0.034423828125, -0.0240020751953125, -0.0197296142578125, 0.00305938720703125, -0.040252685546875, -0.0010728836059570312, 0.03216552734375, -0.059906005859375, 0.003997802734375, 0.0082550048828125, -0.0026874542236328125, -0.004581451416015625, -0.0132598876953125, -0.0214996337890625, -0.0227203369140625, 0.008392333984375, 0.01369476318359375, -0.01163482666015625, -0.053314208984375, 0.043365478515625, -0.023193359375, -0.002838134765625, 0.031707763671875, 0.0243072509765625, 0.0055389404296875, 0.056243896484375, -0.01488494873046875, 0.01088714599609375, -0.00643157958984375, -0.0032634735107421875, 0.019561767578125, 0.0243072509765625, 0.005992889404296875, -0.006793975830078125, -0.0220947265625, 0.026275634765625, 0.0172271728515625, 0.01030731201171875, -0.037567138671875, 0.051727294921875, 0.01161956787109375, 0.063720703125, -0.0124969482421875, 0.0221405029296875, -0.00992584228515625, 0.0241851806640625, 0.004940032958984375, -0.015350341796875, 0.027069091796875, -0.04229736328125, 0.004085540771484375, -0.00959014892578125, 0.0278778076171875, -0.0462646484375, 0.04241943359375, -0.00911712646484375, -0.0006418228149414062, 0.029205322265625 ]
3f229d6065af62f81343f455f60dc83d487098a6
Wordpress Stackexchange Q: Get url of product's images (woocommerce) What happen when a post (product) didnt have a guid,because it has the same image with another product ? For example: Query1: select guid from wp_posts where post_type='attachment' and post_parent=num Returns nothing. Query2: select guid from wp_posts where ID=num Returns the url of product. In this case how should i find the image url of that product? A: i have seen some ware a query to fetch products image from database. may be it will help you. just set required parameters as per your requirement. SELECT p.ID,am.meta_value FROM wp_posts p LEFT JOIN wp_postmeta pm ON pm.post_id = p.ID AND pm.meta_key = '_thumbnail_id' LEFT JOIN wp_postmeta am ON am.post_id = pm.meta_value AND am.meta_key = '_wp_attached_file' WHERE p.post_type = 'product' AND p.post_status = 'publish';
Q: Get url of product's images (woocommerce) What happen when a post (product) didnt have a guid,because it has the same image with another product ? For example: Query1: select guid from wp_posts where post_type='attachment' and post_parent=num Returns nothing. Query2: select guid from wp_posts where ID=num Returns the url of product. In this case how should i find the image url of that product? A: i have seen some ware a query to fetch products image from database. may be it will help you. just set required parameters as per your requirement. SELECT p.ID,am.meta_value FROM wp_posts p LEFT JOIN wp_postmeta pm ON pm.post_id = p.ID AND pm.meta_key = '_thumbnail_id' LEFT JOIN wp_postmeta am ON am.post_id = pm.meta_value AND am.meta_key = '_wp_attached_file' WHERE p.post_type = 'product' AND p.post_status = 'publish'; A: Firstly, the GUID is not the URL. It is a "globally unique identifier". WordPress uses the URL for this purpose, but accessing it is not a reliable way to get the URL for anything (this was a bad idea, but is kept this way for backwards compatibility). It's not possible to query the image URL from the database directly. The full URL is not stored there. But if you have the ID for a product and want to get the URL for its image you can do this: $product = wc_get_product( $product_id ); $image_id = $product->get_image_id(); $image_url = wp_get_attachment_image_url( $image_id, 'full' ); A: For your reference just run this query in database : SELECT * FROM `wp_postmeta` WHERE meta_key IN ('_wp_attached_file', '_wp_attachment_backup_sizes', '_wp_attachment_metadata', '_thumbnail_id') And if you run the above query with "_wp_attached_file" only you will get the path from upload directory. Hope it helps..
wordpress
{ "language": "en", "length": 275, "provenance": "stackexchange_00019.jsonl.gz:495418", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/338390" }
[ 0.036041259765625, 0.001148223876953125, 0.0099639892578125, -0.00809478759765625, 0.0189361572265625, -0.01593017578125, 0.046356201171875, -0.051849365234375, 0.00807952880859375, 0.046417236328125, 0.00023746490478515625, -0.01202392578125, -0.01377105712890625, -0.01393890380859375, -0.05426025390625, -0.026031494140625, 0.0413818359375, -0.0005865097045898438, 0.0404052734375, 0.0303497314453125, -0.035308837890625, 0.0628662109375, 0.0119476318359375, -0.03466796875, 0.03936767578125, -0.0142974853515625, 0.0726318359375, -0.0277099609375, 0.05230712890625, 0.00400543212890625, 0.04736328125, -0.0550537109375, 0.007160186767578125, -0.0236663818359375, 0.045745849609375, -0.0255279541015625, 0.0012273788452148438, -0.00475311279296875, 0.01287841796875, -0.00039839744567871094, 0.0164947509765625, -0.01123809814453125, 0.0010404586791992188, -0.006011962890625, -0.00965118408203125, -0.0018367767333984375, -0.01690673828125, -0.042327880859375, 0.0190887451171875, 0.036590576171875, 0.03125, 0.0305938720703125, 0.0283050537109375, 0.0234375, -0.0266876220703125, -0.0277557373046875, -0.0208892822265625, 0.01519012451171875, 0.033660888671875, -0.055999755859375, -0.0338134765625, -0.01076507568359375, 0.031829833984375, 0.018951416015625, 0.005062103271484375, 0.01453399658203125, 0.041229248046875, 0.02874755859375, -0.039337158203125, -0.01666259765625, 0.0137786865234375, -0.0183868408203125, -0.0185546875, 0.0021991729736328125, -0.005130767822265625, -0.040496826171875, -0.0017604827880859375, -0.060760498046875, 0.012115478515625, 0.039581298828125, 0.00899505615234375, -0.01568603515625, -0.04461669921875, -0.01032257080078125, 0.00926971435546875, 0.01425933837890625, -0.0008411407470703125, -0.01678466796875, -0.0302886962890625, -0.02880859375, -0.028076171875, -0.03826904296875, -0.053985595703125, 0.020965576171875, -0.018524169921875, -0.01580810546875, 0.0235137939453125, 0.0281524658203125, 0.006656646728515625, 0.0200958251953125, -0.01430511474609375, -0.040557861328125, 0.0286865234375, -0.03271484375, 0.0184173583984375, 0.01265716552734375, 0.00909423828125, 0.0297393798828125, 0.046600341796875, 0.013092041015625, -0.01215362548828125, 0.056182861328125, -0.021759033203125, -0.03265380859375, -0.0228729248046875, 0.061676025390625, -0.01837158203125, -0.014678955078125, -0.005619049072265625, -0.01264190673828125, -0.0161895751953125, 0.01776123046875, 0.0278472900390625, 0.0118408203125, -0.002170562744140625, 0.0227508544921875, 0.0034122467041015625, -0.06201171875, 0.0114593505859375, -0.007259368896484375, -0.04571533203125, 0.019500732421875, 0.0401611328125, 0.020477294921875, 0.011871337890625, -0.00962066650390625, -0.0269012451171875, 0.02557373046875, -0.0010395050048828125, -0.0037136077880859375, -0.0024662017822265625, -0.0007004737854003906, 0.026397705078125, -0.0164794921875, -0.003719329833984375, 0.025909423828125, -0.0020694732666015625, 0.006744384765625, -0.004180908203125, -0.0244598388671875, -0.028594970703125, -0.0028209686279296875, 0.00554656982421875, 0.0194549560546875, 0.04840087890625, -0.024078369140625, 0.053955078125, -0.0335693359375, 0.02532958984375, -0.033050537109375, 0.03717041015625, 0.01203155517578125, 0.033172607421875, -0.00218963623046875, -0.00901031494140625, -0.0204925537109375, -0.073486328125, -0.019622802734375, 0.016693115234375, 0.04022216796875, 0.0102081298828125, -0.03314208984375, -0.004974365234375, 0.0008683204650878906, -0.01910400390625, -0.004001617431640625, 0.0107269287109375, 0.0013952255249023438, 0.025421142578125, 0.024749755859375, -0.0210113525390625, -0.0285186767578125, 0.060333251953125, -0.03790283203125, -0.044891357421875, 0.031524658203125, 0.0256805419921875, 0.066162109375, -0.010101318359375, 0.0189208984375, 0.038177490234375, 0.0186614990234375, -0.061370849609375, 0.026031494140625, -0.0313720703125, -0.0102081298828125, 0.0150299072265625, 0.0195770263671875, -0.019378662109375, 0.0116729736328125, 0.02777099609375, 0.032440185546875, -0.0018529891967773438, 0.0098876953125, -0.032806396484375, 0.03326416015625, -0.01122283935546875, 0.032257080078125, -0.049072265625, 0.039154052734375, 0.0229949951171875, 0.002872467041015625, -0.0230560302734375, -0.011871337890625, 0.035888671875, -0.0026874542236328125, -0.009765625, 0.0208892822265625, -0.0247344970703125, 0.03912353515625, -0.059173583984375, -0.023590087890625, -0.04998779296875, 0.0189361572265625, 0.04876708984375, 0.039276123046875, -0.0184478759765625, 0.01136016845703125, 0.0811767578125, 0.039581298828125, -0.016845703125, -0.029388427734375, -0.045928955078125, -0.0361328125, -0.0096588134765625, 0.00849151611328125, 0.0200958251953125, -0.07562255859375, 0.019134521484375, 0.043487548828125, 0.039581298828125, 0.0064544677734375, -0.011505126953125, -0.0024261474609375, 0.053558349609375, -0.004993438720703125, 0.0114288330078125, -0.006072998046875, -0.00489044189453125, 0.0184173583984375, 0.0013914108276367188, 0.0113983154296875, 0.0278167724609375, -0.0126495361328125, 0.01287841796875, 0.045440673828125, -0.01042938232421875, 0.0285797119140625, -0.02386474609375, 0.040283203125, -0.031707763671875, 0.025421142578125, 0.02532958984375, -0.016754150390625, -0.01090240478515625, 0.0626220703125, 0.0249786376953125, 0.035552978515625, -0.045440673828125, 0.0283355712890625, 0.0198974609375, 0.01132965087890625, -0.01134490966796875, 0.01378631591796875, 0.042388916015625, -0.03924560546875, -0.0007061958312988281, -0.01496124267578125, -0.0079803466796875, -0.0119171142578125, -0.0012035369873046875, 0.006999969482421875, -0.04144287109375, 0.006595611572265625, -0.030181884765625, -0.06646728515625, 0.01428985595703125, 0.07183837890625, -0.00644683837890625, 0.0126495361328125, 0.040283203125, 0.022125244140625, 0.008209228515625, 0.007541656494140625, -0.0182037353515625, -0.004245758056640625, -0.0021038055419921875, -0.0394287109375, 0.051544189453125, -0.0386962890625, 0.05126953125, 0.06536865234375, -0.034454345703125, 0.046417236328125, -0.01390838623046875, -0.0017490386962890625, 0.0063018798828125, -0.0076446533203125, -0.0263824462890625, 0.00665283203125, -0.08819580078125, -0.00934600830078125, 0.018646240234375, 0.031097412109375, -0.016632080078125, -0.035552978515625, -0.021575927734375, 0.00959014892578125, -0.11846923828125, -0.09600830078125, -0.05615234375, -0.051513671875, -0.026458740234375, -0.0017328262329101562, -0.0176849365234375, 0.02392578125, -0.0010976791381835938, 0.01373291015625, -0.025482177734375, -0.0005846023559570312, -0.08563232421875, -0.07275390625, -0.0831298828125, -0.0148468017578125, -0.0277862548828125, 0.039154052734375, -0.0012998580932617188, 0.004230499267578125, -0.005489349365234375, -0.015716552734375, -0.0020580291748046875, 0.07342529296875, 0.0029296875, -0.043670654296875, -0.048614501953125, 0.0147552490234375, -0.0035247802734375, 0.0022792816162109375, 0.035308837890625, 0.0037250518798828125, -0.0051422119140625, 0.0071258544921875, 0.0176544189453125, -0.01253509521484375, 0.04107666015625, -0.01128387451171875, -0.037811279296875, 0.006893157958984375, 0.03515625, -0.050323486328125, -0.0293731689453125, -0.0689697265625, -0.0560302734375, 0.095703125, 0.032012939453125, 0.027618408203125, -0.0007810592651367188, 0.037200927734375, 0.0232696533203125, -0.005767822265625, 0.0209503173828125, -0.05279541015625, 0.05938720703125, 0.010467529296875, 0.027130126953125, -0.045928955078125, 0.0259857177734375, -0.01153564453125, 0.007030487060546875, 0.00835418701171875, 0.04791259765625, 0.021514892578125, -0.0259246826171875, -0.041412353515625, 0.00429534912109375, 0.049224853515625, 0.01336669921875, 0.039031982421875, -0.028717041015625, -0.04498291015625, -0.040435791015625, 0.0545654296875, 0.047393798828125, -0.0304412841796875, -0.0271148681640625, 0.0105133056640625, -0.05975341796875, -0.07232666015625, 0.00659942626953125, 0.0142364501953125, -0.07794189453125, -0.0115814208984375, -0.010986328125, -0.03515625, 0.01088714599609375, -0.0181732177734375, -0.0379638671875, -0.049163818359375, 0.018707275390625, 0.01508331298828125, 0.0188446044921875, 0.0462646484375, 0.004291534423828125, 0.04901123046875, -0.019866943359375, -0.0183868408203125, -0.04254150390625, -0.028045654296875, 0.0389404296875, 0.043212890625, -0.032501220703125, -0.006717681884765625, -0.02783203125, 0.048095703125, -0.03009033203125, 0.044891357421875, -0.00921630859375, 0.0281982421875, -0.01959228515625, -0.027618408203125, -0.0002512931823730469, -0.0343017578125, 0.0042724609375, -0.058563232421875, -0.06219482421875, -0.06280517578125, -0.028839111328125, 0.0380859375, -0.0038661956787109375, -0.006786346435546875, -0.035491943359375, 0.00962066650390625, 0.00328826904296875, 0.00860595703125, 0.0010366439819335938, -0.0120391845703125, -0.00009417533874511719, -0.040924072265625, 0.00792694091796875, 0.00115203857421875, -0.01885986328125, 0.0002644062042236328, 0.0013027191162109375, 0.0083465576171875, -0.019775390625, 0.006072998046875, -0.0030956268310546875, 0.038482666015625, 0.044677734375, 0.0014400482177734375, -0.004840850830078125, -0.017242431640625, 0.008636474609375, 0.0287628173828125, -0.007671356201171875, 0.009063720703125, 0.0293121337890625, -0.0142059326171875, -0.0196075439453125, 0.01497650146484375, -0.02703857421875, 0.017578125, 0.06353759765625, -0.040313720703125, -0.0283050537109375, -0.042327880859375, 0.0496826171875, -0.044342041015625, 0.03729248046875, -0.05029296875, -0.026458740234375, 0.0195159912109375, -0.019989013671875, 0.038665771484375, -0.0010929107666015625, 0.00927734375, -0.0025119781494140625, 0.0028324127197265625, 0.0189971923828125, 0.0020923614501953125, -0.0013399124145507812, 0.01276397705078125, 0.040924072265625, -0.0189361572265625, 0.01446533203125, -0.01531982421875, -0.005016326904296875, 0.000514984130859375, -0.0160369873046875, -0.0167236328125, -0.0239410400390625, -0.02288818359375, -0.0001061558723449707, 0.0265655517578125, -0.02703857421875, 0.03936767578125, 0.0261993408203125, -0.044891357421875, -0.024169921875, -0.056884765625, -0.002170562744140625, -0.0687255859375, 0.01540374755859375, 0.0019235610961914062, 0.0116729736328125, 0.029571533203125, 0.036712646484375, -0.026458740234375, 0.04486083984375, -0.006313323974609375, 0.005889892578125, -0.024505615234375, 0.06756591796875, 0.0174102783203125, -0.03302001953125, -0.009429931640625, 0.04010009765625, 0.0025844573974609375, -0.0389404296875, -0.00022041797637939453, 0.021453857421875, 0.049530029296875, -0.039825439453125, -0.047271728515625, 0.0343017578125, -0.040252685546875, -0.016326904296875, 0.0183563232421875, 0.01458740234375, 0.002716064453125, -0.034210205078125, -0.0243072509765625, 0.0264892578125, 0.032257080078125, -0.02215576171875, -0.00830841064453125, -0.024017333984375, 0.007678985595703125, 0.004673004150390625, -0.0281982421875, 0.0237884521484375, 0.0235137939453125, -0.02056884765625, -0.037750244140625, -0.0112152099609375, 0.037567138671875, 0.038238525390625, -0.032623291015625, -0.04241943359375, 0.037872314453125, 0.0018110275268554688, 0.02740478515625, -0.0174713134765625, -0.028717041015625, -0.0296783447265625, 0.00510406494140625, 0.0574951171875, 0.02569580078125, -0.00821685791015625, -0.03216552734375, -0.006870269775390625, -0.007801055908203125, 0.08465576171875, 0.007232666015625, 0.002994537353515625, -0.028472900390625, -0.0036907196044921875, 0.05303955078125, -0.0171051025390625, 0.005374908447265625, 0.0265960693359375, -0.0254974365234375, -0.042449951171875, 0.046539306640625, 0.00800323486328125, 0.038238525390625, -0.01189422607421875, 0.04364013671875, 0.0106353759765625, 0.0064239501953125, -0.046966552734375, -0.015289306640625, -0.0295257568359375, -0.04833984375, 0.0206298828125, 0.0024852752685546875, 0.01971435546875, 0.0134124755859375, 0.0098876953125, 0.0188446044921875, 0.0017442703247070312, -0.041015625, 0.001857757568359375, -0.02117919921875, 0.0438232421875, -0.031982421875, -0.01318359375, 0.0118865966796875, -0.041656494140625, 0.0185699462890625, -0.00811767578125, 0.01373291015625, 0.00189208984375, -0.03857421875, -0.00406646728515625, 0.05255126953125, -0.0225067138671875, 0.03155517578125, 0.083984375, -0.009033203125, 0.049560546875, 0.017822265625, 0.00485992431640625, 0.03985595703125, 0.057037353515625, -0.034271240234375, -0.053253173828125, 0.0435791015625, 0.0184783935546875, -0.0091400146484375, 0.048614501953125, -0.013427734375, 0.0176239013671875, -0.0262298583984375, 0.0389404296875, 0.00103759765625, 0.021392822265625, 0.015533447265625, -0.023162841796875, 0.013916015625, 0.022552490234375, -0.02349853515625, -0.036895751953125, 0.03704833984375, -0.02984619140625, 0.00685882568359375, 0.0176239013671875, -0.0034637451171875, 0.0214385986328125, 0.037078857421875, 0.0247344970703125, -0.0174713134765625, -0.05877685546875, -0.0909423828125, 0.040924072265625, -0.07049560546875, -0.037078857421875, 0.0007824897766113281, -0.0024929046630859375, 0.004375457763671875, -0.0643310546875, 0.0204925537109375, -0.04095458984375, 0.041534423828125, 0.013702392578125, 0.018707275390625, 0.049835205078125, 0.046417236328125, 0.0179443359375, -0.0032482147216796875, -0.005771636962890625, 0.0022220611572265625, 0.0261077880859375, 0.0029048919677734375, 0.015960693359375, 0.04840087890625, -0.06396484375, 0.0008168220520019531, -0.043853759765625, 0.054443359375, 0.00925445556640625, 0.01511383056640625, 0.025482177734375, -0.07745361328125, 0.016876220703125, 0.049652099609375, 0.0264892578125, -0.0082550048828125, 0.0017595291137695312, 0.00394439697265625, -0.004119873046875, 0.022979736328125, -0.00632476806640625, -0.00247955322265625, -0.0272369384765625, -0.013427734375, -0.0797119140625, 0.0255279541015625, -0.032257080078125, 0.052093505859375, 0.006591796875, -0.01407623291015625, 0.01238250732421875, -0.033294677734375, -0.03497314453125, 0.04736328125, -0.004825592041015625, 0.04400634765625, -0.03509521484375, 0.0027828216552734375, 0.0040435791015625, 0.023345947265625, 0.0809326171875, 0.0147247314453125, -0.07666015625, -0.0263824462890625, 0.049652099609375, 0.025909423828125, -0.005199432373046875, 0.07464599609375, 0.0153961181640625, 0.0058441162109375, 0.08447265625, -0.04071044921875, 0.039459228515625, -0.0115509033203125, 0.0450439453125, 0.0262451171875, 0.0052032470703125, -0.016754150390625, -0.005573272705078125, 0.045623779296875, -0.027984619140625, -0.01187896728515625, 0.035919189453125, -0.04541015625, 0.04644775390625, -0.00891876220703125, 0.0112152099609375, -0.00902557373046875, -0.0273284912109375, 0.01200103759765625, 0.0312347412109375, 0.00598907470703125, 0.006275177001953125, 0.022857666015625, 0.014495849609375, 0.03411865234375, 0.004852294921875, 0.01334381103515625, 0.036163330078125, -0.01177215576171875, 0.048553466796875, 0.030731201171875, 0.0227508544921875, -0.0292510986328125, 0.024627685546875, 0.0241851806640625, 0.038665771484375, -0.050811767578125, -0.05047607421875, 0.006744384765625, -0.032135009765625, 0.007442474365234375, -0.004734039306640625, -0.0133514404296875, -0.0305633544921875, -0.017303466796875, -0.0193634033203125, 0.0233917236328125, 0.03546142578125, 0.0255889892578125, 0.00234222412109375, -0.01285552978515625, -0.06793212890625, -0.0005784034729003906, -0.0167236328125, 0.01348876953125, -0.0017805099487304688, 0.04022216796875, 0.00977325439453125, 0.032745361328125, -0.052703857421875, -0.0206298828125, -0.0177764892578125, 0.039794921875, -0.034210205078125, 0.03704833984375, -0.055145263671875, -0.06781005859375, 0.022125244140625, 0.0537109375, 0.01512908935546875, 0.0014848709106445312, 0.040252685546875, 0.044891357421875, -0.02655029296875, -0.0118408203125, 0.0166778564453125, -0.0130615234375, 0.0215606689453125, -0.005748748779296875, 0.061370849609375, 0.0224456787109375, 0.00968170166015625, -0.0293121337890625, 0.0711669921875, 0.01227569580078125, -0.055908203125, 0.06573486328125, -0.021453857421875, -0.004985809326171875, 0.035064697265625, -0.030548095703125, 0.04254150390625, -0.04034423828125, -0.06195068359375, -0.01141357421875, -0.0071868896484375, -0.01389312744140625, -0.0095977783203125, 0.018463134765625, -0.0233612060546875, 0.038330078125, -0.017608642578125, 0.005474090576171875, -0.02691650390625, -0.009033203125, 0.009124755859375, -0.0202178955078125, 0.01163482666015625, -0.00687408447265625, -0.023101806640625, -0.0098876953125, -0.00543212890625, 0.007568359375, 0.0294036865234375, 0.051300048828125, 0.006244659423828125, 0.0227203369140625, 0.01165008544921875, 0.01528167724609375, -0.01335906982421875, -0.0046539306640625, 0.03118896484375, -0.034027099609375, -0.003185272216796875, -0.0012760162353515625, 0.0212860107421875, 0.00482940673828125, 0.048980712890625, -0.006633758544921875, -0.0211639404296875, -0.036651611328125, 0.0380859375, 0.022613525390625, 0.0253143310546875, -0.02496337890625, -0.0160980224609375, -0.050689697265625, -0.03021240234375, 0.03790283203125, 0.01265716552734375, -0.0018529891967773438, 0.0350341796875, 0.0029735565185546875, -0.011444091796875, 0.043609619140625, -0.038970947265625, 0.06390380859375, 0.046539306640625, -0.057342529296875, -0.0167388916015625, -0.0058746337890625, -0.01390838623046875, 0.01190185546875, -0.007167816162109375, 0.039581298828125, 0.01390838623046875, 0.01114654541015625, -0.006740570068359375, 0.007572174072265625, -0.00351715087890625, -0.0213165283203125, -0.006175994873046875, 0.0462646484375, -0.021453857421875, -0.038330078125, -0.00730133056640625, 0.0024890899658203125, -0.047637939453125, -0.005451202392578125, 0.00004678964614868164, -0.01000213623046875, -0.01338958740234375, 0.0404052734375, -0.029571533203125, 0.00942230224609375, 0.026580810546875, -0.0880126953125, 0.043304443359375, 0.032318115234375, -0.0130462646484375, -0.0214080810546875, -0.0148468017578125, -0.0006003379821777344, 0.044647216796875, 0.0140838623046875, -0.038665771484375, -0.042388916015625, 0.0198822021484375, -0.035308837890625, 0.0156707763671875, 0.0101165771484375, -0.022979736328125, -0.0187530517578125, 0.0178070068359375, 0.0252227783203125, 0.062042236328125, 0.04107666015625, -0.047119140625, -0.0265045166015625, 0.014923095703125, -0.003833770751953125, -0.0389404296875, 0.024017333984375, -0.06744384765625, -0.0155181884765625, -0.0175628662109375, 0.023101806640625, 0.05120849609375, -0.0193328857421875, -0.071044921875, 0.0650634765625, -0.02392578125, -0.029937744140625, -0.0293121337890625, 0.006481170654296875, -0.0034332275390625, 0.026397705078125, -0.007801055908203125, 0.003185272216796875, -0.0374755859375, 0.01407623291015625, 0.0061492919921875, 0.002567291259765625, 0.0165863037109375, -0.022674560546875, -0.0305328369140625, 0.0172119140625, 0.02764892578125, 0.01605224609375, 0.0072021484375, -0.0014591217041015625, 0.02154541015625, 0.043853759765625, -0.021270751953125, -0.0034809112548828125, 0.00502777099609375, -0.017486572265625, -0.0140838623046875, -0.017059326171875, 0.0029449462890625, -0.0229034423828125, 0.01300811767578125, 0.031280517578125, -0.006847381591796875, -0.0048370361328125, 0.01107025146484375, -0.01165008544921875, -0.039215087890625, -0.0086517333984375, 0.00916290283203125, -0.044036865234375, -0.000789642333984375, -0.005413055419921875, -0.0216522216796875, 0.004604339599609375, -0.0032367706298828125, -0.05902099609375, 0.0017251968383789062, -0.02984619140625, 0.0014781951904296875, -0.0706787109375, 0.03558349609375, 0.05035400390625, -0.03753662109375, 0.0099029541015625, -0.0134124755859375, 0.00159454345703125, 0.034576416015625, -0.0310211181640625, 0.0159759521484375, 0.00116729736328125, -0.00849151611328125, 0.00988006591796875, 0.0203704833984375, 0.00949859619140625, 0.0024280548095703125, -0.0178985595703125, -0.0248260498046875, 0.0185089111328125, -0.0056915283203125, 0.004314422607421875, 0.0244903564453125, 0.022674560546875, 0.021514892578125, 0.05670166015625, -0.00522613525390625, 0.042694091796875, 0.009552001953125, 0.0234527587890625, -0.00554656982421875, -0.00487518310546875, 0.0297088623046875, -0.049957275390625, 0.00574493408203125, -0.005702972412109375, -0.0210418701171875, -0.03179931640625, -0.0234832763671875, 0.0306854248046875, -0.0218505859375, -0.0016336441040039062 ]
84b54f11a363a39268e1e5de975bfd7ed94aed51
Wordpress Stackexchange Q: WordPress Rest API: How do we validate with our custom API key? How we can verify "Cancel the header auth" the "endpoint" functions of WordPress with an API key that we produce. (Note: not a different endpoint, original endpoints) I have my own "Crypto" class/function. In the request, I need to send an encrypted key, "decrypt" the "encrypted key" from "wp-function" and so on, and allow the request. I need to be able to do all of this on wordpress own endpoint libraries. A simple example of my query structure: $.ajax({ type: "POST", url: "http://localhost/workspace/wordpress/wp-json/wp/v2/posts?request=<?php echo $encrypted; ?>", dataType: "json" }); PHP <?php echo $encrypted; ?> <?php // "z0/8Q6cuMWBlZGzfTwOVi9HwCpKThN9Ju/o/MywK74vimB467vjGfKqoDVQdyKIdmXCxxE=" ?> functions.php or e.g. php page: After Decrypt <?php echo $decrypted; ?> <?php // "Secret Password" ?> <?php // I will verify my key, and to let A: function checkApiAuth( $result ){ $yourEncryptAPIKey = $_GET['request']; if( yourDecryptFn( $yourEncryptAPIKey ) === $realKey ): $result = true; else: $result = false; endif; return $result; } add_filter('rest_authentication_errors', 'checkApiAuth');
Q: WordPress Rest API: How do we validate with our custom API key? How we can verify "Cancel the header auth" the "endpoint" functions of WordPress with an API key that we produce. (Note: not a different endpoint, original endpoints) I have my own "Crypto" class/function. In the request, I need to send an encrypted key, "decrypt" the "encrypted key" from "wp-function" and so on, and allow the request. I need to be able to do all of this on wordpress own endpoint libraries. A simple example of my query structure: $.ajax({ type: "POST", url: "http://localhost/workspace/wordpress/wp-json/wp/v2/posts?request=<?php echo $encrypted; ?>", dataType: "json" }); PHP <?php echo $encrypted; ?> <?php // "z0/8Q6cuMWBlZGzfTwOVi9HwCpKThN9Ju/o/MywK74vimB467vjGfKqoDVQdyKIdmXCxxE=" ?> functions.php or e.g. php page: After Decrypt <?php echo $decrypted; ?> <?php // "Secret Password" ?> <?php // I will verify my key, and to let A: function checkApiAuth( $result ){ $yourEncryptAPIKey = $_GET['request']; if( yourDecryptFn( $yourEncryptAPIKey ) === $realKey ): $result = true; else: $result = false; endif; return $result; } add_filter('rest_authentication_errors', 'checkApiAuth'); A: Sounds like you can use the rest_authentication_errors filter: This is used to pass a WP_Error from an authentication method back to the API. [...] If the authentication method hooked in is not actually being attempted, null should be returned [...]. Similarly, callbacks should ensure the value is null before checking for errors. A WP_Error instance can be returned if an error occurs [...]. A callback can return true to indicate that the authentication method was used, and it succeeded. For a code example, you can look how WP implemented their custom check for the X-WP-Nonce header in wp-includes/rest-api.php starting at line 807. (The function rest_cookie_check_errors is added to the rest_authentication_errors filter with priority 100.)
wordpress
{ "language": "en", "length": 280, "provenance": "stackexchange_00019.jsonl.gz:495658", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/339234" }
[ 0.040008544921875, 0.01407623291015625, -0.0177459716796875, 0.0000997781753540039, 0.01369476318359375, -0.046295166015625, 0.040496826171875, -0.020355224609375, -0.02435302734375, 0.0015306472778320312, 0.0218963623046875, -0.0310211181640625, -0.04107666015625, -0.049285888671875, -0.0080413818359375, -0.0498046875, 0.030517578125, -0.005279541015625, 0.0159912109375, -0.01531982421875, -0.0011072158813476562, -0.00751495361328125, 0.041290283203125, 0.056610107421875, -0.0044403076171875, 0.01126861572265625, 0.11761474609375, -0.0253753662109375, 0.00823974609375, -0.01346588134765625, 0.0146331787109375, -0.03955078125, -0.0052490234375, 0.0811767578125, -0.0712890625, -0.007076263427734375, 0.01422882080078125, 0.038238525390625, 0.00902557373046875, 0.037811279296875, 0.035186767578125, -0.025482177734375, -0.004314422607421875, 0.0048675537109375, -0.0201416015625, -0.0233917236328125, 0.035186767578125, -0.0162353515625, 0.0089874267578125, 0.11767578125, 0.007396697998046875, 0.01309967041015625, -0.0189056396484375, 0.06646728515625, 0.004848480224609375, -0.00501251220703125, 0.019989013671875, -0.03363037109375, 0.0300140380859375, 0.03564453125, -0.01861572265625, -0.0198974609375, 0.00835418701171875, -0.03424072265625, 0.01531982421875, -0.0229644775390625, 0.0066680908203125, 0.0257720947265625, -0.020751953125, -0.0029659271240234375, 0.0283203125, -0.002231597900390625, -0.02264404296875, -0.024200439453125, -0.0030307769775390625, 0.0034351348876953125, 0.0166168212890625, 0.01016998291015625, -0.0100555419921875, 0.0017080307006835938, 0.031890869140625, -0.0082550048828125, -0.01322174072265625, 0.00775146484375, 0.0009622573852539062, 0.0282745361328125, 0.0006451606750488281, -0.0181427001953125, 0.00112152099609375, 0.001544952392578125, -0.006580352783203125, -0.039581298828125, -0.00431060791015625, 0.028289794921875, 0.018096923828125, -0.028472900390625, -0.0265960693359375, -0.02337646484375, 0.0013637542724609375, 0.03363037109375, 0.03515625, -0.05126953125, 0.06414794921875, -0.037200927734375, 0.005138397216796875, 0.0158233642578125, 0.01132965087890625, 0.004314422607421875, 0.020233154296875, 0.0035915374755859375, -0.0152130126953125, 0.0193328857421875, -0.0379638671875, -0.0819091796875, 0.019744873046875, 0.080810546875, -0.014495849609375, 0.0037860870361328125, 0.01776123046875, -0.0075836181640625, -0.008544921875, 0.0017690658569335938, 0.041351318359375, 0.00861358642578125, 0.021881103515625, 0.0166168212890625, -0.025482177734375, -0.024169921875, -0.0208587646484375, 0.06072998046875, -0.01192474365234375, 0.01166534423828125, 0.0285797119140625, -0.00258636474609375, -0.018463134765625, -0.040069580078125, 0.028839111328125, 0.039794921875, -0.01806640625, 0.0145721435546875, -0.0013427734375, -0.0067901611328125, -0.006847381591796875, -0.00833892822265625, -0.006465911865234375, -0.00453948974609375, 0.02850341796875, 0.0190887451171875, -0.0154876708984375, -0.03375244140625, -0.0132904052734375, 0.01140594482421875, -0.0167388916015625, 0.025482177734375, 0.046844482421875, 0.034881591796875, 0.02734375, -0.0150604248046875, 0.005428314208984375, 0.0161590576171875, 0.00745391845703125, -0.057830810546875, -0.03704833984375, -0.006298065185546875, -0.045257568359375, 0.04595947265625, 0.01190185546875, 0.0038127899169921875, 0.0174407958984375, 0.006702423095703125, 0.0233154296875, -0.016387939453125, -0.0205841064453125, -0.01346588134765625, 0.0070343017578125, 0.0081634521484375, -0.0023899078369140625, 0.04705810546875, 0.029632568359375, 0.0278778076171875, 0.01456451416015625, -0.0157318115234375, 0.08599853515625, -0.0189971923828125, -0.0531005859375, 0.0709228515625, 0.010223388671875, 0.075439453125, -0.0012788772583007812, 0.02777099609375, 0.0109405517578125, 0.038421630859375, -0.0002722740173339844, 0.02752685546875, -0.0345458984375, -0.0662841796875, 0.01512908935546875, -0.0161285400390625, -0.03631591796875, 0.057098388671875, 0.016815185546875, 0.0092620849609375, -0.005908966064453125, -0.029541015625, -0.06158447265625, 0.0052642822265625, -0.0259552001953125, 0.02716064453125, -0.042724609375, -0.0176544189453125, 0.031494140625, -0.0145111083984375, -0.040374755859375, 0.039306640625, -0.0181427001953125, -0.016876220703125, -0.049407958984375, 0.054931640625, -0.02532958984375, 0.05352783203125, -0.043487548828125, -0.043853759765625, -0.016815185546875, -0.01861572265625, 0.045928955078125, -0.03533935546875, -0.007221221923828125, -0.037384033203125, 0.0794677734375, -0.02587890625, 0.04888916015625, 0.01018524169921875, 0.03704833984375, 0.026947021484375, -0.02294921875, -0.01043701171875, -0.0248260498046875, -0.059326171875, -0.00400543212890625, 0.0540771484375, 0.046722412109375, 0.01210784912109375, -0.0087738037109375, -0.0258331298828125, 0.0238037109375, -0.02801513671875, 0.0219268798828125, -0.038909912109375, 0.00604248046875, 0.004276275634765625, -0.028961181640625, -0.043914794921875, 0.02032470703125, -0.07135009765625, -0.00482177734375, 0.024139404296875, -0.01202392578125, 0.006114959716796875, -0.0125579833984375, -0.0016546249389648438, -0.00875091552734375, -0.05462646484375, -0.01306915283203125, -0.02667236328125, 0.0278778076171875, -0.038665771484375, 0.0213470458984375, 0.01190948486328125, -0.01776123046875, -0.036834716796875, 0.0379638671875, 0.0279083251953125, -0.0193634033203125, 0.057037353515625, 0.09619140625, 0.04119873046875, -0.040435791015625, -0.035003662109375, 0.014190673828125, 0.0589599609375, 0.002777099609375, 0.030303955078125, -0.05157470703125, 0.00788116455078125, -0.003917694091796875, -0.04364013671875, -0.00991058349609375, 0.050018310546875, 0.02142333984375, 0.02520751953125, 0.0390625, 0.055206298828125, 0.0174102783203125, 0.0227813720703125, 0.01090240478515625, 0.006107330322265625, 0.0137939453125, -0.038665771484375, 0.051055908203125, -0.043670654296875, -0.015045166015625, 0.04534912109375, -0.005279541015625, 0.0002009868621826172, -0.0122833251953125, 0.0194244384765625, -0.0098419189453125, 0.0211944580078125, -0.01776123046875, -0.053863525390625, 0.003009796142578125, -0.0001266002655029297, 0.0213623046875, -0.0036182403564453125, 0.01593017578125, -0.031402587890625, -0.006072998046875, 0.01358795166015625, -0.0955810546875, -0.1068115234375, 0.0301513671875, -0.0335693359375, 0.056915283203125, -0.032379150390625, -0.01422882080078125, -0.041900634765625, -0.01410675048828125, -0.0032405853271484375, -0.0115509033203125, -0.00701904296875, -0.03240966796875, -0.058319091796875, -0.059173583984375, -0.01078033447265625, 0.0030670166015625, 0.00618743896484375, -0.003032684326171875, 0.0108184814453125, 0.001316070556640625, -0.0038013458251953125, 0.019195556640625, 0.028778076171875, -0.0099029541015625, -0.04730224609375, -0.036865234375, -0.0005588531494140625, 0.008087158203125, -0.018463134765625, 0.03662109375, 0.00510406494140625, -0.003398895263671875, 0.0119171142578125, 0.000012040138244628906, -0.025390625, 0.004108428955078125, 0.0171661376953125, 0.006137847900390625, -0.020416259765625, 0.0240020751953125, -0.049102783203125, -0.0235137939453125, 0.0171051025390625, -0.025421142578125, 0.0111846923828125, 0.02252197265625, -0.037017822265625, 0.00428009033203125, 0.014434814453125, 0.02581787109375, 0.02496337890625, -0.0190277099609375, -0.007205963134765625, 0.064697265625, 0.0032501220703125, 0.036895751953125, -0.01262664794921875, 0.044189453125, -0.0095977783203125, -0.042816162109375, 0.0091400146484375, -0.0168914794921875, 0.0081787109375, -0.058441162109375, -0.022735595703125, -0.034515380859375, 0.06005859375, 0.0251922607421875, 0.01306915283203125, 0.0007996559143066406, -0.0352783203125, 0.0168609619140625, 0.0853271484375, 0.043548583984375, -0.0243377685546875, -0.0043182373046875, -0.004001617431640625, -0.0120086669921875, 0.01265716552734375, -0.00913238525390625, 0.0016183853149414062, -0.017333984375, -0.00016427040100097656, -0.0163726806640625, -0.0173187255859375, 0.017791748046875, -0.06781005859375, -0.0013103485107421875, -0.0265045166015625, 0.0239105224609375, -0.0494384765625, 0.0305328369140625, -0.00507354736328125, 0.0231475830078125, -0.040740966796875, 0.00778961181640625, -0.04730224609375, -0.0645751953125, -0.010772705078125, -0.034423828125, 0.055145263671875, 0.050140380859375, -0.05279541015625, -0.01078033447265625, 0.032867431640625, 0.02117919921875, -0.011322021484375, 0.01073455810546875, -0.0305633544921875, 0.036376953125, 0.0289764404296875, 0.0084228515625, -0.002063751220703125, -0.006343841552734375, 0.0206298828125, -0.027587890625, -0.0087738037109375, -0.016754150390625, -0.074951171875, 0.033233642578125, -0.043670654296875, -0.051025390625, -0.032257080078125, -0.026580810546875, -0.00583648681640625, -0.03662109375, -0.00592041015625, -0.0238800048828125, -0.0301361083984375, 0.03826904296875, 0.0037136077880859375, -0.0067596435546875, -0.01080322265625, 0.05328369140625, 0.006595611572265625, -0.0258941650390625, -0.050506591796875, -0.0085296630859375, 0.033233642578125, -0.0188140869140625, 0.047882080078125, 0.03466796875, -0.0025615692138671875, 0.0592041015625, -0.0006780624389648438, 0.00006467103958129883, 0.0256500244140625, 0.04949951171875, 0.02996826171875, 0.01056671142578125, -0.017822265625, 0.03228759765625, -0.050140380859375, -0.0292205810546875, 0.00916290283203125, 0.01165008544921875, 0.050262451171875, -0.028472900390625, -0.01806640625, 0.0022449493408203125, 0.0491943359375, -0.0458984375, 0.027679443359375, -0.0179290771484375, -0.0078277587890625, -0.01446533203125, 0.00897216796875, -0.003589630126953125, -0.010986328125, 0.0316162109375, -0.04852294921875, 0.024383544921875, -0.04931640625, 0.0546875, -0.07000732421875, 0.0014314651489257812, -0.05096435546875, -0.00833892822265625, 0.050811767578125, -0.00559234619140625, -0.058074951171875, 0.044586181640625, -0.01270294189453125, -0.002681732177734375, 0.024261474609375, -0.0093994140625, 0.02691650390625, -0.007480621337890625, -0.0169219970703125, 0.00659942626953125, -0.05584716796875, -0.009857177734375, -0.04302978515625, 0.0171051025390625, 0.01189422607421875, -0.005725860595703125, -0.01666259765625, 0.06536865234375, -0.016754150390625, 0.02947998046875, -0.01271820068359375, 0.01369476318359375, 0.05206298828125, 0.0014553070068359375, 0.026275634765625, 0.006694793701171875, -0.0001252889633178711, -0.03192138671875, 0.007843017578125, -0.025054931640625, -0.050018310546875, 0.0190277099609375, 0.00897216796875, -0.0033550262451171875, 0.026336669921875, 0.00609588623046875, 0.032928466796875, -0.01395416259765625, -0.0148773193359375, -0.0059051513671875, 0.00940704345703125, -0.02130126953125, 0.0015840530395507812, 0.0369873046875, 0.0255889892578125, 0.01507568359375, -0.0078125, 0.0249786376953125, 0.05059814453125, -0.02587890625, 0.014862060546875, 0.004482269287109375, -0.00801849365234375, 0.01654052734375, -0.0281524658203125, -0.0421142578125, 0.042938232421875, 0.012786865234375, -0.0134124755859375, -0.01377105712890625, 0.0018033981323242188, -0.038482666015625, 0.015960693359375, -0.01297760009765625, 0.0030803680419921875, -0.0230255126953125, 0.023223876953125, 0.02142333984375, 0.00614166259765625, -0.007404327392578125, -0.03912353515625, 0.0014238357543945312, -0.032440185546875, 0.079833984375, 0.06951904296875, -0.0252685546875, -0.01702880859375, 0.03961181640625, 0.0087738037109375, 0.01318359375, -0.0198974609375, -0.01873779296875, 0.04254150390625, 0.025787353515625, 0.059783935546875, -0.0172576904296875, 0.07464599609375, 0.0028629302978515625, 0.07391357421875, 0.0302276611328125, 0.029022216796875, -0.0460205078125, -0.00439453125, 0.00628662109375, -0.03704833984375, -0.025787353515625, -0.00983428955078125, -0.01070404052734375, 0.0157623291015625, 0.032684326171875, -0.004398345947265625, -0.01317596435546875, 0.01251220703125, 0.0088653564453125, -0.005222320556640625, 0.04376220703125, 0.0294342041015625, -0.007602691650390625, 0.03656005859375, -0.01763916015625, 0.006793975830078125, -0.023468017578125, -0.0305023193359375, 0.052459716796875, -0.0017108917236328125, 0.0279693603515625, 0.0246429443359375, -0.01236724853515625, 0.0161895751953125, 0.11297607421875, 0.024993896484375, 0.06756591796875, 0.04058837890625, 0.01947021484375, 0.04718017578125, -0.00540924072265625, -0.001598358154296875, 0.0011157989501953125, -0.005374908447265625, -0.010406494140625, -0.01081085205078125, -0.00980377197265625, -0.0148162841796875, 0.01001739501953125, 0.036712646484375, 0.06085205078125, -0.051422119140625, 0.002765655517578125, -0.01056671142578125, -0.0413818359375, 0.01238250732421875, 0.003360748291015625, -0.0146484375, -0.03472900390625, 0.02252197265625, 0.007659912109375, -0.01395416259765625, 0.01434326171875, 0.010345458984375, -0.0085906982421875, -0.03924560546875, 0.02630615234375, 0.0077972412109375, -0.015838623046875, 0.041717529296875, 0.005084991455078125, 0.027130126953125, -0.015533447265625, 0.01739501953125, 0.0235443115234375, -0.024444580078125, -0.06500244140625, 0.0208587646484375, 0.0035152435302734375, -0.042266845703125, 0.0012464523315429688, 0.015899658203125, 0.04046630859375, 0.05462646484375, 0.00020623207092285156, -0.006977081298828125, 0.0245513916015625, 0.00653839111328125, -0.0117950439453125, -0.031646728515625, -0.00836944580078125, 0.0290679931640625, -0.0280609130859375, 0.0211639404296875, -0.0019989013671875, -0.0091400146484375, 0.01349639892578125, 0.0316162109375, 0.08087158203125, -0.0467529296875, -0.01715087890625, 0.035003662109375, -0.0052490234375, -0.0001709461212158203, 0.017822265625, 0.06268310546875, -0.07049560546875, -0.01488494873046875, 0.034820556640625, -0.0100250244140625, -0.05633544921875, 0.0219268798828125, -0.03704833984375, 0.11859130859375, 0.0024967193603515625, -0.0228118896484375, -0.0252227783203125, 0.06378173828125, -0.0084381103515625, 0.0606689453125, -0.0220489501953125, 0.01629638671875, -0.006885528564453125, -0.00835418701171875, -0.04681396484375, -0.0020046234130859375, -0.0218048095703125, 0.03399658203125, 0.057586669921875, 0.0254364013671875, -0.0286712646484375, -0.0300750732421875, -0.0245361328125, 0.01275634765625, -0.034576416015625, 0.029876708984375, 0.017181396484375, 0.04150390625, 0.0556640625, -0.053436279296875, 0.0236053466796875, -0.02838134765625, 0.0174407958984375, 0.045684814453125, 0.00923919677734375, -0.00801849365234375, 0.03216552734375, 0.007198333740234375, -0.03997802734375, 0.025115966796875, 0.030517578125, 0.00815582275390625, 0.01218414306640625, 0.0270843505859375, 0.039306640625, -0.01898193359375, -0.00400543212890625, -0.01849365234375, 0.041290283203125, -0.01361846923828125, 0.03680419921875, 0.039947509765625, 0.04156494140625, -0.013702392578125, 0.03851318359375, 0.0306549072265625, 0.03662109375, -0.03857421875, 0.017974853515625, 0.0362548828125, 0.0161895751953125, -0.005023956298828125, 0.0577392578125, 0.0270233154296875, 0.020538330078125, -0.051971435546875, -0.01153564453125, 0.007152557373046875, 0.0245361328125, 0.037261962890625, -0.00649261474609375, 0.07940673828125, -0.00814056396484375, 0.0059814453125, -0.035980224609375, 0.0246734619140625, 0.04736328125, 0.0030078887939453125, 0.01103973388671875, 0.01812744140625, -0.03778076171875, 0.00676727294921875, -0.04833984375, 0.014190673828125, -0.0021648406982421875, 0.0289764404296875, 0.0261383056640625, 0.0184173583984375, 0.0189056396484375, -0.0196990966796875, -0.0196533203125, 0.048370361328125, 0.0207977294921875, 0.00766754150390625, -0.026702880859375, -0.0300750732421875, 0.0238037109375, 0.0261688232421875, -0.0110015869140625, -0.01361083984375, 0.0271453857421875, 0.014251708984375, -0.061126708984375, -0.0300140380859375, 0.058685302734375, -0.0174407958984375, -0.022918701171875, -0.0428466796875, -0.022796630859375, -0.0019550323486328125, -0.0003724098205566406, 0.002838134765625, 0.0017299652099609375, 0.0196685791015625, 0.0175628662109375, 0.02783203125, 0.00429534912109375, 0.006229400634765625, 0.017120361328125, -0.004749298095703125, -0.00861358642578125, 0.019073486328125, -0.0694580078125, -0.006748199462890625, 0.0037441253662109375, -0.05023193359375, 0.0166473388671875, 0.0269012451171875, -0.05023193359375, 0.038482666015625, 0.020172119140625, -0.0291290283203125, 0.0003581047058105469, 0.042724609375, -0.019866943359375, -0.01438140869140625, 0.040618896484375, -0.005584716796875, -0.05853271484375, -0.0240478515625, 0.0013523101806640625, 0.010223388671875, -0.01119232177734375, 0.0220947265625, 0.024200439453125, -0.00762939453125, -0.03369140625, 0.021240234375, -0.0299835205078125, -0.0035343170166015625, 0.0010499954223632812, 0.0174102783203125, 0.0212554931640625, 0.0015125274658203125, -0.0178985595703125, 0.0482177734375, -0.0173187255859375, 0.01708984375, 0.04254150390625, -0.049591064453125, 0.017791748046875, 0.01580810546875, 0.0004360675811767578, -0.040924072265625, -0.0626220703125, -0.01323699951171875, 0.053497314453125, -0.0276336669921875, 0.003253936767578125, -0.01500701904296875, 0.033843994140625, -0.0211029052734375, -0.00923919677734375, 0.005046844482421875, -0.033843994140625, 0.0001232624053955078, 0.019927978515625, -0.0232391357421875, 0.022064208984375, -0.03271484375, -0.0287017822265625, 0.0061187744140625, -0.001308441162109375, -0.042938232421875, -0.0029582977294921875, -0.0108642578125, -0.010345458984375, 0.0335693359375, 0.03741455078125, 0.021270751953125, 0.01019287109375, 0.0113372802734375, -0.033233642578125, -0.0204010009765625, 0.0027065277099609375, -0.007312774658203125, -0.0186920166015625, -0.002475738525390625, 0.007213592529296875, 0.0266571044921875, -0.01181793212890625, 0.01473236083984375, 0.0149383544921875, -0.00888824462890625, -0.0347900390625, -0.00603485107421875, -0.017242431640625, -0.0273895263671875, 0.06707763671875, -0.058380126953125, 0.04681396484375, -0.00830078125, 0.0272369384765625, -0.06121826171875, -0.03448486328125, -0.01297760009765625, 0.0166015625, -0.01959228515625, -0.01361083984375, 0.018035888671875, 0.0007185935974121094, -0.04754638671875, -0.032257080078125, -0.01058197021484375, -0.00243377685546875, 0.0021190643310546875, -0.0286712646484375, -0.01016998291015625, -0.01097869873046875, -0.01139068603515625, -0.02447509765625, 0.025787353515625, -0.078369140625, -0.0174560546875, -0.036865234375, 0.044586181640625, 0.05108642578125, -0.01004791259765625, -0.05694580078125, 0.025848388671875, -0.016357421875, -0.023773193359375, -0.0531005859375, -0.02362060546875, -0.0017385482788085938, 0.034576416015625, -0.017303466796875, -0.041168212890625, -0.047149658203125, 0.03302001953125, 0.01959228515625, 0.0430908203125, -0.00951385498046875, 0.05047607421875, -0.054351806640625, 0.0458984375, 0.0036678314208984375, 0.01462554931640625, -0.0235137939453125, 0.00722503662109375, 0.045654296875, 0.0292816162109375, 0.0003020763397216797, 0.01557159423828125, 0.023834228515625, -0.004245758056640625, -0.024566650390625, -0.035430908203125, 0.0157928466796875, 0.01983642578125, 0.04443359375, 0.043853759765625, -0.0009679794311523438, -0.055877685546875, -0.0193939208984375, -0.0308074951171875, 0.040863037109375, -0.011962890625, -0.0182037353515625, -0.04498291015625, -0.022064208984375, 0.0115203857421875, 0.0465087890625, 0.0075225830078125, -0.0556640625, 0.0206146240234375, -0.0428466796875, 0.0198516845703125, 0.00994110107421875, 0.06689453125, -0.056640625, 0.047760009765625, -0.0347900390625, -0.00894927978515625, -0.000988006591796875, 0.040985107421875, 0.008056640625, -0.0022335052490234375, -0.0226287841796875, -0.005695343017578125, 0.01055908203125, 0.0035877227783203125, 0.01461029052734375, -0.00266265869140625, 0.0260772705078125, 0.004306793212890625, -0.038177490234375, 0.01340484619140625, 0.035400390625, 0.0145416259765625, -0.052703857421875, 0.0263671875, 0.033782958984375, 0.0269927978515625, -0.02734375, -0.024627685546875, -0.0304412841796875, 0.0168609619140625, 0.04669189453125, -0.01519012451171875, 0.0770263671875, -0.01175689697265625, 0.0145416259765625, -0.0107421875, 0.01922607421875, -0.0166778564453125, -0.007694244384765625, -0.0232391357421875, -0.002117156982421875, 0.0094146728515625 ]
d7470946dad024cd0679534e7ba027bb2a24f15b
Wordpress Stackexchange Q: Removing panels (meta boxes) in the Block Editor When the Block Editor was added to WordPress, custom and core meta boxes became legacy, meaning, using the remove_meta_box() function won't work when removing meta boxes/panels displayed on the post editing screen. So, how do we remove the Excerpt panel when we can't use remove_meta_box() anymore? A: Addition to Christine Coopers answer https://wordpress.stackexchange.com/a/339437/31140 How to remove non-core meta boxes If you want to remove panels that were added by themes or plugins, proceed like this: * *Find the PANEL-ID by inspecting the HTML code: Run jQuery('.postbox') in your browsers JS console. jQuery will find all custom meta boxes for you! You need to identify the correct box and copy the element ID. *The internal panel ID of the meta box is meta-box-<PANEL-ID> Example // Remove the DIVI meta-box: var boxId = 'et_settings_meta_box_gutenberg'; wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'meta-box-' + boxId ); // Remove an ACF meta-box: var boxId = 'acf-group_5d9b020a3db4e'; wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'meta-box-' + boxId ); How to remove core panels See Christine Coopers answer https://wordpress.stackexchange.com/a/339437/31140
Q: Removing panels (meta boxes) in the Block Editor When the Block Editor was added to WordPress, custom and core meta boxes became legacy, meaning, using the remove_meta_box() function won't work when removing meta boxes/panels displayed on the post editing screen. So, how do we remove the Excerpt panel when we can't use remove_meta_box() anymore? A: Addition to Christine Coopers answer https://wordpress.stackexchange.com/a/339437/31140 How to remove non-core meta boxes If you want to remove panels that were added by themes or plugins, proceed like this: * *Find the PANEL-ID by inspecting the HTML code: Run jQuery('.postbox') in your browsers JS console. jQuery will find all custom meta boxes for you! You need to identify the correct box and copy the element ID. *The internal panel ID of the meta box is meta-box-<PANEL-ID> Example // Remove the DIVI meta-box: var boxId = 'et_settings_meta_box_gutenberg'; wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'meta-box-' + boxId ); // Remove an ACF meta-box: var boxId = 'acf-group_5d9b020a3db4e'; wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'meta-box-' + boxId ); How to remove core panels See Christine Coopers answer https://wordpress.stackexchange.com/a/339437/31140 A: The remove_meta_box() function will not work with the Block Editor, because these are now Panels and work differently. There is currently no documentation on how to disable Panels, but, let's dance. We want to avoid hiding panels via CSS, and rely on the JS API. We need to use the JS function removeEditorPanel() which will completely remove the panel with all its controls: // remove excerpt panel wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'post-excerpt' ); Here is an (incomplete) list of panel IDs: * *taxonomy-panel-category - Category panel. *taxonomy-panel-CUSTOM-TAXONOMY-NAME - Custom taxonomy panel. If your taxonomy is topic, then taxonomy-panel-topic works. *taxonomy-panel-post_tag - Tags panel *featured-image - Featured image panel. *post-link - Permalink panel. *page-attributes - Page attributes panel. *post-excerpt - Post excerpt panel. *discussion-panel - Discussions panel. *template - Template panel added with WP 5.9. The full code PHP (in your functions.php or custom plugin): function cc_gutenberg_register_files() { // script file wp_register_script( 'cc-block-script', get_stylesheet_directory_uri() .'/js/block-script.js', // adjust the path to the JS file array( 'wp-blocks', 'wp-edit-post' ) ); // register block editor script register_block_type( 'cc/ma-block-files', array( 'editor_script' => 'cc-block-script' ) ); } add_action( 'init', 'cc_gutenberg_register_files' ); The JS file (block-script.js): wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'taxonomy-panel-category' ) ; // category wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'taxonomy-panel-TAXONOMY-NAME' ) ; // custom taxonomy wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'taxonomy-panel-post_tag' ); // tags wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'featured-image' ); // featured image wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'post-link' ); // permalink wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'page-attributes' ); // page attributes wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'post-excerpt' ); // Excerpt wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'discussion-panel' ); // Discussion wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'template' ); // Template How about other panels? If you know the ID of other panel than the ones listed above, please leave a comment. On some panels, there is the alternative to to hide the panel via CSS. For example, to hide the Revisions panel, we can use: .components-panel__body.edit-post-last-revision__panel { display:none !important; } Inspect the element of the panel to located the class name (edit-post-last-revision__panel). Note that some panels do not have unique class names. So, register you block style: wp_register_style( 'cc-block-style', get_stylesheet_directory_uri() .'/inc/block-style.css', // adjust file path array( 'wp-edit-blocks' ) ); register_block_type( 'cc/ma-block-files', array( 'editor_style' => 'cc-block-style', ) ); And include your CSS code into the block-style.css file. A: To hide meta_box from Block Editor and display them only in classic editor add arg __back_compat_meta_box set to true when adding meta box add_meta_box( 'my-meta-box', 'My Meta Box', 'my_meta_box_callback', null, 'normal', 'high', array( '__back_compat_meta_box' => true, ) ); A: And this is how to get a list of core panel IDs: wp.data.select( 'core/edit-post' ).getPreferences().panels; A: This one worked for me. function remove_post_support() { remove_post_type_support('post','excerpt'); } add_action('init','remove_post_support'); A: I found a faster solution, you can just add this functions in php. This for example disables tags: add_action('admin_head', 'webroom_add_css_js_to_admin'); function webroom_add_css_js_to_admin() { echo '<script> wp.domReady( () => { const { removeEditorPanel } = wp.data.dispatch("core/edit-post"); // Remove featured image panel from sidebar. removeEditorPanel( "taxonomy-panel-post_tag" ); } ); </script>'; }
wordpress
{ "language": "en", "length": 642, "provenance": "stackexchange_00019.jsonl.gz:495713", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/339436" }
[ -0.0020389556884765625, -0.01308441162109375, -0.0285797119140625, 0.021240234375, -0.00555419921875, -0.04913330078125, 0.041351318359375, -0.01218414306640625, 0.0390625, 0.065185546875, 0.0303955078125, -0.059661865234375, 0.048583984375, -0.0382080078125, -0.06536865234375, 0.0087890625, 0.0236968994140625, -0.010162353515625, -0.007904052734375, -0.0222930908203125, 0.006999969482421875, -0.0121917724609375, -0.0035305023193359375, 0.055450439453125, 0.00032019615173339844, -0.030242919921875, 0.0484619140625, 0.0116424560546875, -0.01042938232421875, -0.018585205078125, 0.016510009765625, 0.0274505615234375, 0.0037517547607421875, 0.056793212890625, -0.059112548828125, 0.0211029052734375, -0.0208892822265625, 0.038055419921875, 0.019012451171875, 0.0085906982421875, -0.0036945343017578125, 0.01035308837890625, -0.02978515625, -0.00806427001953125, -0.038848876953125, -0.0182647705078125, -0.034881591796875, -0.035736083984375, 0.038421630859375, 0.023101806640625, -0.002033233642578125, 0.01088714599609375, 0.020660400390625, -0.04034423828125, -0.0226593017578125, -0.046173095703125, -0.032623291015625, 0.00635528564453125, 0.0147552490234375, 0.06298828125, 0.0284271240234375, 0.036041259765625, -0.0224761962890625, -0.034515380859375, -0.002323150634765625, -0.0035953521728515625, 0.0051116943359375, 0.004711151123046875, -0.050323486328125, 0.01499176025390625, 0.041961669921875, -0.022796630859375, -0.0277557373046875, -0.04766845703125, 0.009490966796875, 0.0498046875, -0.0176544189453125, -0.0213775634765625, -0.00003725290298461914, 0.0177154541015625, 0.0087738037109375, 0.03167724609375, -0.031982421875, 0.0188140869140625, 0.004032135009765625, 0.05108642578125, -0.0245513916015625, -0.04248046875, -0.0281219482421875, -0.039581298828125, -0.0230865478515625, -0.1143798828125, -0.0323486328125, 0.0172119140625, 0.005931854248046875, -0.018402099609375, 0.017730712890625, 0.030059814453125, -0.0224456787109375, -0.03997802734375, 0.0020599365234375, -0.0308074951171875, -0.0171661376953125, -0.01543426513671875, 0.0139312744140625, 0.0200958251953125, -0.037506103515625, -0.044830322265625, 0.0239410400390625, 0.036651611328125, -0.0109710693359375, -0.022064208984375, -0.01042938232421875, -0.0197906494140625, -0.039154052734375, 0.019989013671875, -0.012115478515625, -0.03448486328125, -0.01788330078125, -0.037445068359375, -0.005252838134765625, 0.01071929931640625, -0.0335693359375, -0.0266876220703125, 0.0249481201171875, -0.01085662841796875, -0.027008056640625, 0.027557373046875, -0.01708984375, -0.0024566650390625, -0.051483154296875, 0.00618743896484375, 0.0760498046875, 0.070556640625, 0.052642822265625, -0.027740478515625, 0.024505615234375, -0.02484130859375, 0.01375579833984375, -0.0215911865234375, 0.0300445556640625, -0.0002770423889160156, 0.0095672607421875, 0.004180908203125, -0.05584716796875, 0.01172637939453125, 0.02703857421875, 0.006679534912109375, -0.0305938720703125, -0.07696533203125, -0.037933349609375, -0.0137786865234375, 0.07244873046875, 0.0132598876953125, -0.01033782958984375, -0.0418701171875, 0.1341552734375, -0.0841064453125, -0.07470703125, -0.11175537109375, 0.034515380859375, 0.00815582275390625, 0.019683837890625, 0.03076171875, 0.01468658447265625, -0.0048675537109375, -0.0452880859375, -0.0037975311279296875, 0.020721435546875, 0.036407470703125, 0.0165252685546875, -0.0372314453125, -0.040008544921875, 0.0002617835998535156, -0.01519012451171875, 0.01546478271484375, 0.0162200927734375, -0.0008673667907714844, -0.003139495849609375, 0.041046142578125, -0.009063720703125, -0.045074462890625, -0.001827239990234375, -0.01166534423828125, -0.06109619140625, 0.0305938720703125, 0.0098114013671875, 0.0498046875, 0.0186767578125, 0.0010089874267578125, 0.06866455078125, -0.00797271728515625, -0.0169677734375, -0.040283203125, 0.0210113525390625, 0.008056640625, -0.0121002197265625, -0.00904083251953125, 0.001300811767578125, 0.0212554931640625, 0.02923583984375, 0.01003265380859375, -0.0031070709228515625, -0.0275115966796875, -0.08868408203125, 0.005153656005859375, -0.030120849609375, 0.0511474609375, -0.02789306640625, -0.006427764892578125, 0.032623291015625, -0.0140838623046875, -0.0212860107421875, -0.00011491775512695312, -0.01171875, 0.01503753662109375, 0.0099945068359375, 0.04638671875, 0.013336181640625, 0.036224365234375, 0.004047393798828125, -0.004638671875, 0.002994537353515625, -0.01279449462890625, 0.05816650390625, -0.006389617919921875, -0.0153350830078125, -0.0206298828125, 0.043670654296875, 0.0236968994140625, -0.05438232421875, 0.009429931640625, 0.05841064453125, 0.032562255859375, -0.0435791015625, -0.0098724365234375, -0.0058135986328125, -0.0193023681640625, -0.0281219482421875, 0.042388916015625, 0.04052734375, 0.028656005859375, -0.007762908935546875, -0.0027332305908203125, 0.032470703125, -0.060943603515625, -0.008880615234375, -0.0009188652038574219, 0.00550079345703125, 0.005260467529296875, -0.01806640625, -0.01131439208984375, 0.04534912109375, 0.04595947265625, 0.0247955322265625, 0.020599365234375, -0.0248565673828125, -0.017486572265625, 0.0085296630859375, -0.01276397705078125, 0.0016260147094726562, -0.04217529296875, -0.0189666748046875, -0.0218658447265625, 0.056884765625, -0.0005331039428710938, 0.062255859375, 0.055816650390625, -0.033355712890625, -0.01739501953125, 0.0088348388671875, 0.047454833984375, -0.0076751708984375, 0.0135498046875, 0.039520263671875, 0.041168212890625, -0.051483154296875, -0.0032901763916015625, 0.0201416015625, 0.035125732421875, -0.005950927734375, 0.034759521484375, -0.010223388671875, -0.01336669921875, 0.00551605224609375, -0.0288238525390625, -0.014007568359375, -0.0266571044921875, -0.005168914794921875, -0.0277862548828125, 0.0224761962890625, -0.017120361328125, -0.0249481201171875, 0.006214141845703125, 0.0018825531005859375, -0.033538818359375, 0.032806396484375, -0.0204315185546875, 0.024078369140625, -0.0215301513671875, 0.058868408203125, 0.0499267578125, -0.045013427734375, 0.023773193359375, 0.0102081298828125, -0.0126953125, 0.0135955810546875, 0.00482940673828125, -0.002368927001953125, 0.0205535888671875, -0.06378173828125, 0.0151214599609375, 0.02606201171875, 0.0293426513671875, 0.00440216064453125, -0.03277587890625, 0.005580902099609375, 0.0186614990234375, -0.060821533203125, -0.0462646484375, 0.049713134765625, -0.029571533203125, -0.0576171875, -0.0249481201171875, -0.050445556640625, 0.01849365234375, -0.005504608154296875, -0.021636962890625, 0.009429931640625, -0.00930023193359375, -0.0244598388671875, -0.0162506103515625, -0.0714111328125, -0.05377197265625, 0.0027637481689453125, 0.005218505859375, 0.007266998291015625, 0.0697021484375, -0.00141143798828125, -0.07489013671875, 0.001720428466796875, -0.014068603515625, -0.003589630126953125, 0.033111572265625, 0.06781005859375, -0.037750244140625, 0.0110931396484375, 0.02508544921875, 0.012115478515625, 0.026947021484375, -0.0447998046875, -0.03985595703125, -0.0196533203125, 0.0233154296875, -0.01009368896484375, 0.0355224609375, 0.040191650390625, -0.0311737060546875, -0.00409698486328125, -0.049713134765625, -0.01861572265625, 0.0258331298828125, -0.01270294189453125, 0.0262908935546875, -0.0290679931640625, 0.0039520263671875, 0.0112152099609375, 0.040802001953125, 0.0439453125, 0.023284912109375, 0.05517578125, 0.0150146484375, -0.004947662353515625, -0.01187896728515625, 0.00461578369140625, -0.07220458984375, 0.01953125, -0.016510009765625, 0.018829345703125, -0.00876617431640625, 0.0046539306640625, -0.0064849853515625, -0.01482391357421875, -0.0299072265625, -0.007167816162109375, 0.03851318359375, -0.0225830078125, -0.001323699951171875, -0.0024509429931640625, -0.00911712646484375, 0.01531982421875, 0.057098388671875, -0.06512451171875, -0.029388427734375, 0.01509857177734375, 0.01010894775390625, 0.04193115234375, 0.027008056640625, -0.0188751220703125, -0.043731689453125, -0.0999755859375, -0.0068206787109375, 0.0150146484375, -0.060791015625, -0.01922607421875, 0.02764892578125, -0.075927734375, -0.019683837890625, 0.061553955078125, -0.0150299072265625, 0.0148162841796875, -0.0213165283203125, 0.0313720703125, -0.07647705078125, -0.0269622802734375, 0.01336669921875, -0.07244873046875, -0.01123046875, -0.03607177734375, 0.0423583984375, -0.006816864013671875, 0.041748046875, -0.03167724609375, 0.033966064453125, 0.0022830963134765625, 0.0090179443359375, 0.005702972412109375, 0.022369384765625, 0.0162506103515625, -0.01316070556640625, 0.0133819580078125, -0.02783203125, 0.00511932373046875, 0.0195770263671875, -0.019805908203125, 0.04107666015625, -0.016510009765625, -0.0158843994140625, 0.02239990234375, -0.03521728515625, -0.032867431640625, -0.06378173828125, -0.0906982421875, -0.007122039794921875, -0.032470703125, -0.0190582275390625, -0.0640869140625, -0.07830810546875, -0.00943756103515625, 0.043243408203125, -0.033966064453125, 0.0200958251953125, 0.00445556640625, 0.03363037109375, -0.027587890625, -0.040130615234375, -0.004138946533203125, 0.033538818359375, 0.0247802734375, 0.039276123046875, 0.0163421630859375, -0.012664794921875, 0.0269927978515625, 0.01012420654296875, 0.0142822265625, -0.06451416015625, 0.06549072265625, -0.009765625, -0.0234222412109375, 0.03924560546875, -0.03411865234375, 0.040985107421875, -0.00482177734375, -0.01263427734375, 0.01727294921875, -0.01076507568359375, -0.005321502685546875, 0.0185546875, -0.00839996337890625, -0.0158233642578125, 0.00217437744140625, -0.010772705078125, 0.02294921875, 0.041748046875, 0.041046142578125, -0.005657196044921875, 0.005428314208984375, 0.034698486328125, -0.0017862319946289062, -0.0162353515625, -0.0125732421875, -0.05816650390625, -0.0012941360473632812, 0.01036834716796875, -0.031280517578125, 0.002613067626953125, 0.015899658203125, -0.00612640380859375, -0.03363037109375, -0.0296478271484375, -0.09063720703125, 0.0151214599609375, 0.062255859375, 0.0244140625, -0.0136871337890625, 0.0221710205078125, 0.0391845703125, -0.01080322265625, -0.01678466796875, 0.0122528076171875, -0.02105712890625, -0.04791259765625, -0.0110931396484375, 0.021636962890625, -0.01806640625, 0.005466461181640625, 0.03466796875, -0.01021575927734375, 0.019012451171875, -0.005489349365234375, 0.006824493408203125, -0.047882080078125, 0.083740234375, 0.0290985107421875, -0.08251953125, 0.03460693359375, 0.00872039794921875, -0.019073486328125, -0.01556396484375, -0.0093536376953125, 0.03173828125, 0.023468017578125, 0.03143310546875, 0.01119232177734375, -0.0367431640625, -0.026702880859375, -0.016876220703125, 0.016387939453125, -0.022247314453125, -0.04595947265625, 0.0034580230712890625, 0.016143798828125, -0.01169586181640625, -0.019866943359375, -0.00994873046875, 0.016845703125, -0.0297088623046875, 0.01053619384765625, -0.0139617919921875, -0.0153350830078125, -0.0123748779296875, -0.0031871795654296875, -0.01629638671875, -0.0027618408203125, 0.012603759765625, -0.058380126953125, -0.03399658203125, -0.0179443359375, 0.0006570816040039062, 0.058135986328125, -0.01018524169921875, 0.0166778564453125, -0.0305023193359375, 0.016815185546875, -0.005115509033203125, 0.0102386474609375, 0.047119140625, 0.00042128562927246094, 0.01122283935546875, -0.0262298583984375, -0.055816650390625, -0.0291900634765625, -0.053497314453125, -0.048858642578125, -0.00934600830078125, 0.01849365234375, -0.01041412353515625, 0.022705078125, -0.0216827392578125, -0.00571441650390625, 0.052398681640625, 0.01727294921875, -0.033477783203125, 0.040557861328125, -0.004268646240234375, 0.041259765625, 0.0032825469970703125, 0.0592041015625, 0.0174560546875, 0.0178680419921875, -0.004405975341796875, -0.037078857421875, 0.0083770751953125, -0.03875732421875, -0.0192413330078125, -0.036834716796875, 0.02191162109375, 0.017242431640625, 0.0163116455078125, -0.005207061767578125, -0.0008478164672851562, -0.0257720947265625, -0.0067291259765625, -0.045501708984375, 0.041229248046875, -0.051727294921875, -0.0029621124267578125, -0.031463623046875, -0.039764404296875, 0.004802703857421875, -0.00146484375, 0.01044464111328125, 0.04876708984375, -0.04339599609375, 0.023773193359375, 0.039459228515625, -0.03472900390625, 0.032867431640625, 0.05718994140625, 0.0191802978515625, 0.037384033203125, 0.017486572265625, 0.0208740234375, -0.0007281303405761719, -0.009246826171875, -0.0252838134765625, 0.026580810546875, 0.048858642578125, 0.01047515869140625, -0.00859832763671875, 0.048828125, 0.0011644363403320312, 0.01371002197265625, 0.0272216796875, 0.03997802734375, -0.05682373046875, 0.0175628662109375, -0.0035648345947265625, -0.0020885467529296875, 0.054443359375, -0.01422119140625, 0.0164794921875, -0.0101165771484375, 0.0258331298828125, 0.042083740234375, -0.00426483154296875, 0.03143310546875, 0.0194854736328125, -0.0035572052001953125, -0.05816650390625, -0.004032135009765625, -0.010650634765625, -0.0269927978515625, 0.03564453125, -0.0009636878967285156, 0.0019502639770507812, -0.0186920166015625, -0.0111541748046875, 0.020965576171875, -0.0537109375, -0.075439453125, -0.01316070556640625, -0.0029315948486328125, -0.028411865234375, 0.014617919921875, 0.01375579833984375, 0.024627685546875, 0.04522705078125, -0.021759033203125, 0.004886627197265625, 0.00708770751953125, -0.0206451416015625, -0.06781005859375, -0.03558349609375, 0.00963592529296875, -0.002239227294921875, -0.0175323486328125, 0.043914794921875, -0.0193328857421875, -0.0557861328125, 0.018951416015625, 0.048095703125, 0.065673828125, -0.0087738037109375, -0.045440673828125, 0.0166473388671875, -0.0255889892578125, 0.003459930419921875, 0.01904296875, -0.00774383544921875, -0.0233306884765625, 0.0019254684448242188, 0.00904083251953125, -0.0223846435546875, 0.01190948486328125, 0.0192108154296875, -0.08770751953125, 0.081298828125, 0.02685546875, 0.031829833984375, -0.009613037109375, 0.031890869140625, -0.041839599609375, -0.00864410400390625, 0.005725860595703125, 0.042816162109375, 0.0297698974609375, -0.01910400390625, -0.0024738311767578125, 0.0007801055908203125, -0.0091705322265625, 0.027252197265625, 0.014190673828125, 0.01288604736328125, 0.00777435302734375, -0.039794921875, -0.04522705078125, 0.052276611328125, -0.01366424560546875, -0.005336761474609375, 0.0190582275390625, 0.0416259765625, 0.01132965087890625, -0.043670654296875, 0.01715087890625, -0.050079345703125, -0.0287017822265625, 0.040924072265625, 0.0301971435546875, 0.0458984375, 0.00958251953125, -0.004436492919921875, -0.008544921875, -0.0069122314453125, 0.0196990966796875, -0.046478271484375, -0.0180206298828125, 0.0457763671875, 0.04327392578125, -0.008056640625, -0.033905029296875, -0.0180511474609375, 0.051513671875, 0.049591064453125, 0.047027587890625, 0.04278564453125, 0.04644775390625, -0.0216827392578125, 0.01033782958984375, 0.0450439453125, 0.023101806640625, -0.04693603515625, -0.0088043212890625, -0.01013946533203125, 0.001689910888671875, -0.0246429443359375, 0.046173095703125, 0.05419921875, -0.01010894775390625, -0.026336669921875, -0.049468994140625, 0.006549835205078125, -0.0024127960205078125, 0.01099395751953125, 0.004077911376953125, 0.00244903564453125, 0.002872467041015625, 0.0188446044921875, -0.0257720947265625, -0.032806396484375, -0.0190582275390625, 0.03399658203125, -0.01568603515625, -0.01381683349609375, 0.0161895751953125, -0.032501220703125, -0.04632568359375, 0.0171051025390625, 0.0014781951904296875, 0.018707275390625, 0.02691650390625, 0.028228759765625, 0.048736572265625, -0.00708770751953125, -0.016326904296875, 0.037750244140625, -0.006671905517578125, 0.0218963623046875, -0.055694580078125, -0.05291748046875, 0.0357666015625, 0.04010009765625, 0.052001953125, 0.046295166015625, 0.0306396484375, 0.0164794921875, 0.0261383056640625, 0.01629638671875, 0.0219268798828125, -0.01445770263671875, 0.006969451904296875, -0.057342529296875, 0.0416259765625, -0.0089263916015625, 0.01372528076171875, -0.0130767822265625, 0.0286102294921875, 0.01104736328125, -0.01428985595703125, -0.0001443624496459961, 0.00823211669921875, -0.024932861328125, 0.00672149658203125, 0.01030731201171875, -0.006664276123046875, 0.005069732666015625, -0.034515380859375, -0.00922393798828125, -0.015625, -0.01213836669921875, 0.02276611328125, 0.031951904296875, -0.040985107421875, 0.046844482421875, -0.01458740234375, -0.0087738037109375, 0.041534423828125, -0.0245819091796875, 0.0035877227783203125, 0.03643798828125, 0.0199737548828125, 0.01068115234375, -0.011993408203125, -0.01763916015625, 0.047454833984375, 0.03460693359375, -0.0295562744140625, 0.043609619140625, -0.0244903564453125, -0.01042938232421875, -0.03057861328125, -0.004589080810546875, -0.02783203125, -0.0205230712890625, -0.005252838134765625, 0.0182342529296875, 0.00708770751953125, 0.0011682510375976562, -0.0196990966796875, 0.041473388671875, 0.054901123046875, 0.01149749755859375, 0.0185699462890625, 0.0143280029296875, 0.003444671630859375, -0.018463134765625, -0.014923095703125, -0.01142120361328125, -0.00904083251953125, -0.0025501251220703125, -0.0017538070678710938, 0.0274200439453125, 0.047576904296875, 0.019287109375, -0.00341796875, 0.021240234375, 0.003437042236328125, 0.00798797607421875, 0.0306854248046875, 0.0276947021484375, 0.043487548828125, -0.022247314453125, -0.020782470703125, 0.023284912109375, 0.000048160552978515625, 0.0196075439453125, 0.00405120849609375, 0.0273590087890625, 0.032073974609375, -0.0706787109375, -0.02215576171875, 0.03253173828125, 0.03656005859375, 0.01158905029296875, 0.0157470703125, 0.00247955322265625, -0.027130126953125, 0.01169586181640625, 0.018524169921875, -0.01369476318359375, -0.02362060546875, -0.0216827392578125, 0.016571044921875, -0.01415252685546875, -0.032135009765625, -0.0684814453125, 0.004337310791015625, -0.0136566162109375, 0.0235443115234375, -0.09063720703125, 0.06414794921875, 0.0229949951171875, 0.0211181640625, -0.027984619140625, 0.0286865234375, -0.032012939453125, 0.036163330078125, -0.00726318359375, -0.021942138671875, -0.0345458984375, 0.052703857421875, -0.0245208740234375, 0.01119232177734375, 0.013824462890625, -0.02471923828125, -0.01415252685546875, -0.0018205642700195312, 0.026824951171875, 0.037353515625, 0.01453399658203125, -0.01514434814453125, -0.006725311279296875, 0.01541900634765625, -0.003986358642578125, -0.039764404296875, -0.01514434814453125, 0.0096435546875, -0.0021991729736328125, -0.007534027099609375, 0.00634002685546875, 0.01806640625, -0.033843994140625, -0.045867919921875, -0.016143798828125, 0.0172576904296875, -0.041473388671875, -0.04315185546875, 0.0225677490234375, 0.01309967041015625, 0.002536773681640625, -0.02154541015625, 0.005374908447265625, -0.0206146240234375, 0.003513336181640625, 0.0207672119140625, 0.0231475830078125, 0.0224456787109375, -0.0052032470703125, -0.00786590576171875, 0.0179901123046875, 0.0086517333984375, 0.0227813720703125, -0.042022705078125, 0.01352691650390625, 0.006847381591796875, 0.0163116455078125, -0.039520263671875, 0.0181884765625, 0.00977325439453125, 0.045074462890625, -0.01152801513671875, -0.04876708984375, -0.004474639892578125, -0.0128021240234375, 0.05340576171875, 0.01279449462890625, 0.0106658935546875, -0.0269775390625, 0.004711151123046875, -0.014312744140625, -0.02716064453125, -0.0272674560546875, 0.011962890625, -0.04779052734375, -0.022308349609375, -0.01209259033203125, -0.04461669921875, 0.0036792755126953125, -0.024627685546875, -0.061553955078125, 0.02056884765625, -0.0291290283203125, 0.01033782958984375, -0.07452392578125, 0.005565643310546875, 0.0277099609375, -0.02935791015625, 0.00650787353515625, -0.0081634521484375, 0.0008177757263183594, 0.0131683349609375, 0.015289306640625, -0.0120697021484375, -0.0316162109375, -0.026824951171875, 0.0399169921875, -0.0294952392578125, 0.0699462890625, -0.05523681640625, -0.0242462158203125, 0.0128326416015625, 0.004230499267578125, -0.02154541015625, 0.0053253173828125, 0.009124755859375, 0.00295257568359375, -0.025177001953125, 0.0323486328125, -0.028076171875, 0.03271484375, -0.012237548828125, 0.008148193359375, 0.042999267578125, -0.00037384033203125, 0.0860595703125, -0.0184326171875, 0.0139617919921875, 0.011138916015625, -0.0009608268737792969, -0.005237579345703125, -0.012969970703125, 0.0217132568359375, -0.00196075439453125, 0.006946563720703125 ]
bb8fd7486fc43a1cff8510641a1cfeeaa9d48dff
Wordpress Stackexchange Q: Wordpress REST API "rest_authentication_errors" doesn't work external queries? Wordpress REST API "rest_authentication_errors" doesn't work external queries? I was using following experimental codes for experimental purposes. add_filter('rest_authentication_errors', 'auth'); function auth() { return true; } add_action( 'rest_api_init', 'cors', 15 ); function cors() { add_filter( 'rest_pre_serve_request', function( $value ) { header( 'Access-Control-Allow-Origin: *' ); return $value; }); } Then I realized that if we made a request between two separate servers, the API's response failed. However, we have set all requests to be "correct" with the "rest_authentication_errors" filter and have accepted all connections from "*". * *If we send a "POST" request from "a.com" to "b.com", it says "authorization failed". *But if we make a request from "a.com" to "a.com", the query works.
Q: Wordpress REST API "rest_authentication_errors" doesn't work external queries? Wordpress REST API "rest_authentication_errors" doesn't work external queries? I was using following experimental codes for experimental purposes. add_filter('rest_authentication_errors', 'auth'); function auth() { return true; } add_action( 'rest_api_init', 'cors', 15 ); function cors() { add_filter( 'rest_pre_serve_request', function( $value ) { header( 'Access-Control-Allow-Origin: *' ); return $value; }); } Then I realized that if we made a request between two separate servers, the API's response failed. However, we have set all requests to be "correct" with the "rest_authentication_errors" filter and have accepted all connections from "*". * *If we send a "POST" request from "a.com" to "b.com", it says "authorization failed". *But if we make a request from "a.com" to "a.com", the query works.
wordpress
{ "language": "en", "length": 121, "provenance": "stackexchange_00019.jsonl.gz:495732", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/339498" }
[ 0.07147216796875, 0.007228851318359375, 0.01540374755859375, -0.01080322265625, 0.0233306884765625, -0.0447998046875, 0.055694580078125, -0.0213775634765625, 0.004001617431640625, 0.0286712646484375, -0.052093505859375, 0.0099639892578125, -0.009063720703125, -0.0008206367492675781, -0.0063018798828125, -0.04443359375, 0.0017681121826171875, 0.004779815673828125, 0.01190948486328125, -0.0208740234375, 0.0157470703125, -0.025543212890625, -0.0047149658203125, 0.0208282470703125, -0.00571441650390625, 0.021331787109375, 0.035064697265625, -0.0307464599609375, 0.007904052734375, -0.003528594970703125, -0.0072479248046875, -0.036376953125, -0.006198883056640625, 0.0728759765625, -0.08721923828125, -0.040008544921875, 0.024566650390625, 0.019775390625, -0.0335693359375, 0.06719970703125, 0.038055419921875, -0.0367431640625, 0.05224609375, 0.0087738037109375, 0.0306396484375, -0.0303802490234375, 0.07037353515625, -0.06658935546875, 0.0013513565063476562, 0.0782470703125, 0.0009679794311523438, -0.01024627685546875, -0.0014476776123046875, 0.053466796875, -0.0101318359375, -0.0474853515625, 0.0193939208984375, -0.0191192626953125, 0.031646728515625, -0.035186767578125, -0.049530029296875, -0.0183258056640625, 0.029571533203125, 0.005107879638671875, 0.021148681640625, -0.005809783935546875, 0.0576171875, 0.027557373046875, 0.01256561279296875, 0.00807952880859375, -0.0204010009765625, 0.00910186767578125, -0.0272674560546875, 0.018524169921875, -0.0220184326171875, -0.0499267578125, 0.0264739990234375, -0.040130615234375, 0.00579833984375, 0.042205810546875, 0.01177215576171875, -0.0005602836608886719, -0.01497650146484375, -0.003749847412109375, -0.002529144287109375, 0.01611328125, -0.001255035400390625, -0.01244354248046875, -0.020782470703125, 0.0024814605712890625, -0.016143798828125, -0.11065673828125, -0.0362548828125, 0.05816650390625, 0.0443115234375, -0.0196533203125, 0.0175018310546875, -0.0010938644409179688, -0.005710601806640625, -0.004608154296875, 0.0307769775390625, -0.0428466796875, 0.020355224609375, -0.0099334716796875, 0.011688232421875, -0.01715087890625, 0.00850677490234375, -0.016510009765625, 0.035064697265625, 0.0221710205078125, -0.036590576171875, 0.0640869140625, 0.00734710693359375, -0.0242767333984375, 0.0046844482421875, -0.0145111083984375, -0.02362060546875, 0.00809478759765625, 0.002948760986328125, -0.050018310546875, -0.0178375244140625, -0.00146484375, -0.0237884521484375, -0.0016031265258789062, 0.0229034423828125, 0.0004699230194091797, -0.01450347900390625, 0.022216796875, 0.007904052734375, 0.0592041015625, -0.0237884521484375, 0.00909423828125, -0.0037059783935546875, -0.03448486328125, -0.048004150390625, -0.02630615234375, 0.0489501953125, 0.00945281982421875, 0.0028095245361328125, 0.005290985107421875, 0.050262451171875, -0.033111572265625, -0.04534912109375, 0.03179931640625, -0.003826141357421875, -0.0070648193359375, 0.03485107421875, 0.02850341796875, -0.0106048583984375, -0.0265045166015625, -0.00916290283203125, 0.043609619140625, 0.00020766258239746094, -0.0008335113525390625, 0.056915283203125, -0.0318603515625, 0.057952880859375, -0.037353515625, 0.004741668701171875, -0.0081634521484375, -0.00572967529296875, -0.022857666015625, 0.039794921875, -0.0318603515625, -0.0323486328125, 0.005481719970703125, -0.0594482421875, -0.006023406982421875, 0.0231781005859375, 0.046478271484375, 0.003780364990234375, -0.039215087890625, -0.0073699951171875, -0.0010595321655273438, -0.0213775634765625, 0.0186309814453125, -0.00421142578125, 0.043701171875, 0.0173187255859375, 0.007778167724609375, 0.0149078369140625, -0.0286865234375, 0.06573486328125, -0.0080718994140625, -0.0290985107421875, 0.031524658203125, 0.025604248046875, 0.053802490234375, -0.036590576171875, 0.03082275390625, 0.00914764404296875, 0.044158935546875, 0.035797119140625, 0.03363037109375, -0.0305633544921875, -0.07000732421875, 0.03948974609375, 0.01104736328125, -0.030059814453125, 0.0019397735595703125, 0.015899658203125, 0.01508331298828125, -0.0105133056640625, -0.0399169921875, -0.08160400390625, -0.01134490966796875, -0.0244598388671875, 0.03509521484375, -0.03643798828125, 0.015594482421875, 0.036407470703125, 0.00823211669921875, -0.049530029296875, 0.03680419921875, 0.01480865478515625, 0.0104827880859375, -0.0185699462890625, 0.041015625, -0.00020492076873779297, 0.04150390625, -0.01690673828125, -0.0289459228515625, -0.004657745361328125, -0.0128021240234375, 0.032562255859375, -0.040130615234375, 0.0089263916015625, -0.0222320556640625, 0.0653076171875, -0.036590576171875, 0.055328369140625, 0.0205230712890625, 0.0626220703125, 0.061187744140625, -0.0247650146484375, -0.01541900634765625, -0.0146636962890625, -0.01239776611328125, 0.006565093994140625, 0.033905029296875, 0.0302581787109375, 0.0197906494140625, -0.01013946533203125, -0.00823974609375, -0.0159759521484375, -0.07183837890625, 0.006793975830078125, -0.024017333984375, -0.0177459716796875, -0.049163818359375, -0.01015472412109375, -0.04266357421875, 0.05523681640625, -0.07464599609375, -0.0170745849609375, 0.0276336669921875, -0.0268707275390625, -0.00927734375, -0.01410675048828125, -0.00917816162109375, 0.01383209228515625, -0.054443359375, -0.0183258056640625, -0.0175018310546875, -0.037872314453125, -0.015594482421875, -0.0006513595581054688, 0.0007939338684082031, 0.02392578125, -0.040496826171875, 0.01800537109375, -0.02154541015625, -0.00019049644470214844, 0.041168212890625, 0.059661865234375, 0.0274658203125, -0.027374267578125, -0.03466796875, 0.019805908203125, 0.049835205078125, -0.01282501220703125, -0.005641937255859375, -0.00907135009765625, 0.004116058349609375, 0.0066375732421875, -0.0265045166015625, 0.030609130859375, 0.014617919921875, 0.027984619140625, 0.0256500244140625, 0.034423828125, 0.045806884765625, 0.017120361328125, 0.024078369140625, -0.0015506744384765625, 0.0011167526245117188, -0.01593017578125, -0.05084228515625, 0.052947998046875, -0.05426025390625, 0.028289794921875, 0.0662841796875, -0.0132598876953125, 0.0205078125, -0.00896453857421875, 0.0179595947265625, -0.0134735107421875, 0.0304107666015625, 0.00038123130798339844, -0.05047607421875, 0.01258087158203125, 0.017364501953125, 0.024871826171875, -0.0196685791015625, 0.03387451171875, -0.0140838623046875, -0.0035457611083984375, 0.0189361572265625, -0.08587646484375, -0.10589599609375, 0.01102447509765625, -0.02203369140625, 0.00890350341796875, -0.00962066650390625, -0.0091552734375, -0.00705718994140625, -0.006755828857421875, -0.00800323486328125, 0.043670654296875, -0.0361328125, -0.05389404296875, -0.03350830078125, -0.0732421875, -0.0131378173828125, 0.005596160888671875, -0.01654052734375, 0.0064544677734375, 0.03936767578125, 0.004741668701171875, -0.0340576171875, 0.003582000732421875, 0.0187225341796875, -0.01947021484375, -0.02777099609375, 0.0125885009765625, 0.00447845458984375, -0.01364898681640625, 0.00887298583984375, 0.033355712890625, 0.031829833984375, -0.040771484375, 0.0028476715087890625, 0.00505828857421875, 0.006763458251953125, 0.0074920654296875, 0.0201263427734375, 0.0022220611572265625, -0.01108551025390625, 0.007785797119140625, -0.031005859375, -0.023193359375, -0.01207733154296875, -0.049041748046875, 0.00992584228515625, 0.041259765625, -0.0110015869140625, -0.004467010498046875, -0.005748748779296875, 0.004749298095703125, 0.00726318359375, -0.0033321380615234375, -0.035919189453125, 0.050262451171875, 0.001010894775390625, 0.00817108154296875, -0.018341064453125, 0.0662841796875, 0.01462554931640625, -0.034576416015625, 0.004909515380859375, -0.002658843994140625, -0.0307464599609375, 0.007579803466796875, -0.05828857421875, -0.017364501953125, 0.041107177734375, 0.017242431640625, 0.01425933837890625, -0.00820159912109375, -0.01560211181640625, 0.01375579833984375, 0.0618896484375, 0.0152740478515625, -0.0294952392578125, -0.0031986236572265625, 0.0184173583984375, -0.052459716796875, -0.023773193359375, 0.01428985595703125, -0.00839996337890625, 0.05206298828125, -0.0321044921875, -0.01503753662109375, -0.029815673828125, 0.0280609130859375, -0.060028076171875, 0.03973388671875, -0.006687164306640625, 0.0206298828125, -0.0413818359375, -0.007343292236328125, -0.0301971435546875, 0.016143798828125, -0.09051513671875, 0.0291900634765625, -0.03253173828125, -0.0950927734375, -0.01824951171875, -0.01084136962890625, 0.07293701171875, 0.01232147216796875, -0.02069091796875, 0.01145172119140625, 0.05682373046875, 0.0035266876220703125, 0.00948333740234375, 0.007122039794921875, -0.01236724853515625, 0.0364990234375, 0.01654052734375, 0.00024378299713134766, -0.01122283935546875, -0.01216888427734375, -0.0007548332214355469, -0.055694580078125, -0.01268768310546875, -0.003749847412109375, -0.0347900390625, 0.033599853515625, -0.0399169921875, -0.034454345703125, -0.032073974609375, -0.0055389404296875, 0.0221710205078125, 0.0007200241088867188, -0.001232147216796875, -0.04132080078125, -0.03460693359375, 0.03399658203125, 0.0126495361328125, -0.0301971435546875, -0.00972747802734375, 0.0213623046875, 0.016021728515625, -0.0272369384765625, -0.0158538818359375, 0.00710296630859375, 0.00537109375, -0.0163421630859375, 0.058929443359375, -0.00835418701171875, -0.00875091552734375, 0.1046142578125, -0.037841796875, 0.0019779205322265625, -0.0013751983642578125, 0.0148773193359375, 0.013580322265625, -0.01113128662109375, -0.007061004638671875, 0.0287017822265625, -0.025177001953125, 0.0018367767333984375, 0.003643035888671875, 0.0023517608642578125, 0.019378662109375, -0.0092315673828125, -0.0153961181640625, 0.012054443359375, 0.02197265625, -0.0298004150390625, 0.024444580078125, -0.08154296875, 0.01313018798828125, 0.0034084320068359375, 0.01479339599609375, -0.00919342041015625, -0.007480621337890625, -0.01210784912109375, -0.04522705078125, 0.00885009765625, -0.04949951171875, 0.0272979736328125, -0.046478271484375, -0.035064697265625, -0.03790283203125, -0.02410888671875, 0.126953125, -0.011505126953125, -0.091552734375, 0.039276123046875, -0.026580810546875, 0.006870269775390625, 0.06036376953125, -0.0059661865234375, -0.00493621826171875, 0.0010728836059570312, -0.0160980224609375, 0.004261016845703125, 0.006595611572265625, -0.020111083984375, -0.02630615234375, 0.050140380859375, 0.00681304931640625, 0.01174163818359375, -0.014923095703125, 0.06640625, -0.0181732177734375, 0.04144287109375, -0.0008025169372558594, 0.0025196075439453125, -0.007137298583984375, 0.039703369140625, 0.0190887451171875, -0.033447265625, 0.041412353515625, 0.0012331008911132812, 0.0193939208984375, -0.038360595703125, -0.061614990234375, 0.03692626953125, 0.049652099609375, -0.039794921875, 0.00391387939453125, 0.01374053955078125, 0.019012451171875, -0.01085662841796875, 0.0291748046875, -0.01351165771484375, -0.037628173828125, -0.02899169921875, -0.002979278564453125, 0.038848876953125, -0.00572967529296875, -0.0125732421875, 0.034820556640625, 0.032928466796875, 0.057586669921875, 0.03338623046875, -0.010711669921875, 0.024078369140625, 0.00713348388671875, -0.01947021484375, -0.0517578125, -0.038116455078125, 0.047515869140625, 0.034149169921875, -0.01010894775390625, -0.027252197265625, 0.0031108856201171875, -0.03106689453125, -0.04437255859375, -0.03582763671875, 0.05462646484375, -0.032440185546875, 0.0032958984375, 0.057098388671875, 0.0303802490234375, -0.030426025390625, -0.01537322998046875, -0.0206451416015625, -0.0347900390625, 0.059356689453125, 0.02252197265625, -0.0350341796875, -0.034149169921875, 0.02581787109375, 0.028961181640625, 0.01422882080078125, -0.0123138427734375, -0.0220184326171875, 0.0172119140625, 0.00860595703125, 0.032806396484375, -0.036285400390625, 0.08404541015625, -0.007656097412109375, 0.039520263671875, 0.007114410400390625, 0.03961181640625, -0.030029296875, 0.010406494140625, -0.0005583763122558594, -0.08941650390625, -0.0172271728515625, -0.010040283203125, -0.0418701171875, 0.08404541015625, 0.068603515625, 0.0084228515625, 0.00926971435546875, -0.04949951171875, -0.019439697265625, -0.01226806640625, 0.07757568359375, -0.026824951171875, 0.005584716796875, 0.043731689453125, 0.0224456787109375, 0.01947021484375, -0.06500244140625, -0.050872802734375, 0.0249481201171875, 0.0273895263671875, 0.01038360595703125, 0.00555419921875, -0.053924560546875, 0.05987548828125, 0.0711669921875, 0.0030002593994140625, 0.04132080078125, 0.00021207332611083984, -0.0016832351684570312, 0.031463623046875, 0.041290283203125, -0.0010662078857421875, -0.0264129638671875, -0.03955078125, -0.0216827392578125, -0.01482391357421875, -0.07244873046875, -0.0161895751953125, 0.0247802734375, 0.05694580078125, 0.06109619140625, -0.080322265625, -0.01812744140625, -0.006145477294921875, -0.0273895263671875, 0.0255584716796875, 0.0017652511596679688, 0.0032329559326171875, 0.000949859619140625, 0.0237274169921875, -0.01364898681640625, -0.014739990234375, 0.0158843994140625, -0.00756072998046875, 0.0040130615234375, 0.004360198974609375, 0.02459716796875, -0.00437164306640625, -0.003025054931640625, 0.0041351318359375, -0.0015926361083984375, 0.042755126953125, 0.00904083251953125, 0.037139892578125, -0.00926971435546875, -0.0216064453125, -0.059051513671875, -0.0189361572265625, -0.032470703125, -0.042327880859375, -0.0038509368896484375, -0.01544952392578125, 0.025390625, 0.04248046875, -0.0307159423828125, 0.01334381103515625, 0.00298309326171875, 0.0225982666015625, 0.0394287109375, -0.04400634765625, 0.011474609375, 0.030426025390625, -0.07037353515625, 0.015380859375, -0.0023059844970703125, -0.00850677490234375, -0.01190185546875, -0.03533935546875, 0.03265380859375, -0.036529541015625, 0.0057373046875, 0.038970947265625, 0.0297393798828125, -0.019287109375, 0.01128387451171875, -0.002040863037109375, -0.054107666015625, -0.0085601806640625, 0.017730712890625, -0.022735595703125, 0.00836181640625, 0.008209228515625, -0.03497314453125, 0.1021728515625, -0.01432037353515625, 0.023345947265625, 0.0196685791015625, 0.0297393798828125, -0.0291290283203125, 0.0302886962890625, -0.03741455078125, 0.0360107421875, 0.0078887939453125, 0.0276336669921875, -0.03826904296875, -0.016326904296875, -0.0027446746826171875, 0.0178680419921875, 0.031158447265625, 0.0027141571044921875, -0.0523681640625, -0.0111846923828125, 0.029327392578125, 0.0183258056640625, -0.00914764404296875, 0.053619384765625, 0.0262298583984375, -0.003330230712890625, 0.04498291015625, -0.0128631591796875, 0.0178985595703125, -0.0231475830078125, 0.0177154541015625, 0.043060302734375, 0.00839996337890625, -0.0008740425109863281, 0.00455474853515625, 0.0191497802734375, -0.0168304443359375, 0.0013980865478515625, 0.0250701904296875, -0.01611328125, -0.016754150390625, 0.02691650390625, 0.0007023811340332031, -0.01947021484375, 0.005405426025390625, -0.039947509765625, 0.034027099609375, -0.004352569580078125, 0.0120391845703125, 0.01336669921875, 0.0200347900390625, 0.043426513671875, 0.0038509368896484375, 0.005474090576171875, 0.03497314453125, -0.032135009765625, 0.0232696533203125, 0.024993896484375, 0.035369873046875, -0.034393310546875, -0.01229095458984375, 0.0132598876953125, 0.05712890625, -0.0335693359375, -0.0281829833984375, 0.0013580322265625, 0.003879547119140625, 0.030487060546875, -0.019439697265625, 0.03167724609375, -0.00827789306640625, 0.0271453857421875, 0.00025916099548339844, 0.018585205078125, 0.025604248046875, 0.017425537109375, 0.01068115234375, 0.017578125, -0.046295166015625, 0.01898193359375, -0.01378631591796875, -0.0289459228515625, 0.0271759033203125, 0.0556640625, 0.012298583984375, 0.01715087890625, -0.036895751953125, -0.021453857421875, -0.00563812255859375, 0.03948974609375, -0.0015268325805664062, 0.0009326934814453125, -0.021881103515625, -0.049041748046875, 0.0027523040771484375, 0.0240325927734375, -0.0006418228149414062, 0.0286102294921875, 0.07562255859375, 0.0227813720703125, -0.06427001953125, -0.0189971923828125, 0.00684356689453125, -0.044952392578125, -0.0111541748046875, -0.038909912109375, -0.01210784912109375, 0.0010881423950195312, -0.0213165283203125, 0.0095977783203125, -0.0038623809814453125, 0.01690673828125, 0.0092620849609375, 0.03497314453125, -0.00153350830078125, -0.0124053955078125, -0.01142120361328125, -0.040771484375, 0.017822265625, -0.003143310546875, -0.063232421875, -0.0086822509765625, -0.02154541015625, -0.018218994140625, 0.007457733154296875, 0.031341552734375, 0.00624847412109375, 0.01331329345703125, 0.0037097930908203125, -0.035980224609375, 0.00933074951171875, -0.0024585723876953125, 0.03717041015625, 0.0028095245361328125, -0.0182952880859375, -0.0018224716186523438, -0.0308990478515625, -0.007442474365234375, 0.0132293701171875, 0.021087646484375, -0.010101318359375, 0.050262451171875, 0.006183624267578125, -0.008453369140625, -0.0217132568359375, 0.006504058837890625, -0.01277923583984375, 0.00994873046875, -0.026153564453125, -0.0005364418029785156, -0.0023822784423828125, 0.0118408203125, -0.03741455078125, 0.0604248046875, -0.01861572265625, 0.031036376953125, 0.0625, -0.0384521484375, 0.0010671615600585938, 0.00982666015625, 0.017333984375, -0.0226593017578125, -0.044403076171875, -0.0121307373046875, 0.03570556640625, -0.0126495361328125, 0.0286407470703125, -0.0178680419921875, 0.03363037109375, -0.047027587890625, -0.02374267578125, 0.0153656005859375, -0.049835205078125, 0.000015616416931152344, 0.0167388916015625, -0.036407470703125, 0.044830322265625, -0.041046142578125, -0.0416259765625, 0.0181427001953125, -0.01605224609375, -0.030120849609375, -0.0277557373046875, 0.053009033203125, -0.03192138671875, 0.00574493408203125, 0.02264404296875, 0.0191192626953125, 0.0027866363525390625, -0.0081024169921875, -0.0286102294921875, -0.008514404296875, -0.005840301513671875, -0.0098876953125, 0.0030002593994140625, 0.00858306884765625, 0.01360321044921875, 0.0394287109375, -0.0105133056640625, 0.005176544189453125, 0.0037517547607421875, -0.0149688720703125, -0.01666259765625, -0.024261474609375, 0.00634765625, -0.0194091796875, 0.045501708984375, -0.037078857421875, 0.0062103271484375, 0.01331329345703125, 0.0246734619140625, -0.0312347412109375, 0.02117919921875, -0.011077880859375, -0.03289794921875, 0.0189208984375, 0.0023975372314453125, 0.0167083740234375, 0.0064849853515625, -0.0249176025390625, -0.006580352783203125, -0.02618408203125, 0.0277862548828125, -0.036468505859375, -0.0070953369140625, -0.01702880859375, 0.005252838134765625, -0.028167724609375, -0.0089263916015625, 0.03570556640625, -0.04083251953125, -0.0262603759765625, -0.07196044921875, 0.054351806640625, 0.0341796875, -0.03466796875, -0.07843017578125, 0.0193634033203125, -0.0243682861328125, -0.0164031982421875, -0.087646484375, -0.022186279296875, 0.005092620849609375, 0.0166168212890625, -0.0433349609375, 0.01161956787109375, -0.057525634765625, 0.052825927734375, 0.02880859375, 0.006153106689453125, -0.0091705322265625, 0.026824951171875, -0.0234832763671875, 0.0654296875, 0.038818359375, 0.027557373046875, 0.00914764404296875, 0.00458526611328125, 0.0205078125, 0.0259552001953125, -0.03936767578125, 0.0338134765625, -0.0208740234375, 0.0235443115234375, -0.0298614501953125, 0.0007476806640625, -0.0032501220703125, 0.015533447265625, 0.0499267578125, 0.056488037109375, 0.01296234130859375, -0.04583740234375, -0.0252227783203125, -0.01262664794921875, 0.024017333984375, -0.03277587890625, -0.0187225341796875, -0.0250091552734375, -0.0078887939453125, -0.053619384765625, 0.01947021484375, 0.0150146484375, -0.036865234375, 0.0156097412109375, -0.00994873046875, 0.037139892578125, -0.0218048095703125, 0.050262451171875, 0.0003097057342529297, 0.0455322265625, -0.04937744140625, -0.0184783935546875, -0.0056304931640625, 0.01026153564453125, 0.0125274658203125, -0.01010894775390625, -0.0116729736328125, -0.0017786026000976562, 0.01401519775390625, 0.016448974609375, 0.01218414306640625, 0.0028247833251953125, 0.0015125274658203125, -0.007083892822265625, -0.01531219482421875, 0.001766204833984375, -0.00975799560546875, -0.001590728759765625, 0.0126495361328125, 0.0088653564453125, -0.011505126953125, 0.0635986328125, -0.02056884765625, 0.0404052734375, -0.0159912109375, 0.0263519287109375, -0.0020885467529296875, 0.00411224365234375, -0.003963470458984375, 0.0167999267578125, -0.0010929107666015625, 0.04296875, -0.000025331974029541016, -0.047454833984375, 0.0631103515625, 0.05328369140625, 0.0225067138671875, 0.03277587890625 ]
e98ce406ad771f68c32bf8a4724322a0ba21e579
Wordpress Stackexchange Q: How do I create a new WP admin color scheme? I followed this guide, but idk if it doesnt work for WP 5.0+ or if im doing something wrong. I added this to my functions.php and the css file is a copy of the Light Scheme. function additional_admin_color_schemes() { $theme_dir = get_template_directory_uri(); wp_admin_css_color( 'pro', __( 'Pro' ), $theme_dir . '/wp-content/themes/astra-child/pro/colors.min.css', array( '#E5E5E5', '#E5E5E5', '#3498DB', '#3498DB' ) ); } add_action('admin_init', 'additional_admin_color_schemes'); A: This code works with WordPress 5.2 and is correct. You now need to go to your Profile and select it by going to Users > Your Profile > Admin Color Scheme select the scheme and save. Edit: Adding updated code for your colors CSS file since you're using a child theme: function additional_admin_color_schemes() { wp_admin_css_color( 'pro', __( 'Pro' ), get_stylesheet_directory_uri().'/wp-content/themes/astra-child/pro/colors.css', [ '#E5E5E5', '#E5E5E5', '#3498DB', '#3498DB' ] ); } add_action( 'admin_init', 'additional_admin_color_schemes' ); Note here I removed the .min from the CSS file. I recommend you copy the non-minified CSS file over, so you can easily edit and customize the styles.
Q: How do I create a new WP admin color scheme? I followed this guide, but idk if it doesnt work for WP 5.0+ or if im doing something wrong. I added this to my functions.php and the css file is a copy of the Light Scheme. function additional_admin_color_schemes() { $theme_dir = get_template_directory_uri(); wp_admin_css_color( 'pro', __( 'Pro' ), $theme_dir . '/wp-content/themes/astra-child/pro/colors.min.css', array( '#E5E5E5', '#E5E5E5', '#3498DB', '#3498DB' ) ); } add_action('admin_init', 'additional_admin_color_schemes'); A: This code works with WordPress 5.2 and is correct. You now need to go to your Profile and select it by going to Users > Your Profile > Admin Color Scheme select the scheme and save. Edit: Adding updated code for your colors CSS file since you're using a child theme: function additional_admin_color_schemes() { wp_admin_css_color( 'pro', __( 'Pro' ), get_stylesheet_directory_uri().'/wp-content/themes/astra-child/pro/colors.css', [ '#E5E5E5', '#E5E5E5', '#3498DB', '#3498DB' ] ); } add_action( 'admin_init', 'additional_admin_color_schemes' ); Note here I removed the .min from the CSS file. I recommend you copy the non-minified CSS file over, so you can easily edit and customize the styles. A: Check this website, it allows you to pick the colors and generate the style sheet and code needed to add the new color scheme: WordPress Admin Colors.
wordpress
{ "language": "en", "length": 200, "provenance": "stackexchange_00019.jsonl.gz:495857", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/339923" }
[ 0.009429931640625, -0.021728515625, -0.004871368408203125, -0.047454833984375, -0.02899169921875, -0.01490020751953125, -0.0112762451171875, -0.0010251998901367188, -0.0280609130859375, 0.01323699951171875, -0.01422882080078125, 0.01361083984375, 0.00040721893310546875, -0.033355712890625, 0.031951904296875, -0.0263214111328125, 0.06121826171875, -0.053985595703125, 0.0181884765625, 0.00969696044921875, 0.00366973876953125, 0.044769287109375, 0.017120361328125, 0.044403076171875, 0.00959014892578125, -0.042327880859375, 0.0396728515625, -0.0099639892578125, -0.0007085800170898438, -0.0309600830078125, 0.021209716796875, 0.0264434814453125, 0.0029964447021484375, 0.005344390869140625, 0.03314208984375, -0.01873779296875, 0.005138397216796875, 0.01053619384765625, 0.03448486328125, -0.0200347900390625, 0.025482177734375, -0.01143646240234375, 0.034881591796875, 0.0391845703125, -0.009796142578125, -0.032562255859375, 0.034271240234375, -0.0247344970703125, 0.0144500732421875, -0.02911376953125, 0.0027141571044921875, -0.037139892578125, 0.0160369873046875, -0.052825927734375, -0.0345458984375, -0.025115966796875, -0.01001739501953125, 0.016510009765625, 0.040008544921875, -0.059295654296875, -0.043426513671875, -0.033660888671875, 0.03887939453125, 0.01039886474609375, -0.0297698974609375, 0.005237579345703125, 0.00014674663543701172, 0.004261016845703125, -0.06085205078125, -0.048919677734375, 0.01435089111328125, -0.031219482421875, 0.0100250244140625, -0.045928955078125, -0.006565093994140625, 0.0208587646484375, 0.00835418701171875, 0.016082763671875, -0.019775390625, -0.00516510009765625, 0.0546875, -0.004383087158203125, -0.0357666015625, -0.009490966796875, 0.05291748046875, 0.024505615234375, 0.005279541015625, -0.040130615234375, -0.005176544189453125, -0.0238494873046875, -0.00905609130859375, 0.00611114501953125, -0.0166168212890625, -0.0196075439453125, -0.033447265625, -0.0364990234375, -0.00344085693359375, -0.0023193359375, -0.0078277587890625, 0.03546142578125, 0.01448822021484375, -0.03985595703125, 0.0296630859375, -0.024993896484375, 0.007091522216796875, 0.0203857421875, -0.01384735107421875, 0.0160369873046875, 0.0244293212890625, 0.04180908203125, 0.012939453125, -0.002521514892578125, -0.01456451416015625, -0.0178070068359375, -0.009521484375, 0.0343017578125, -0.0271148681640625, 0.0201568603515625, 0.01102447509765625, 0.0435791015625, -0.00955963134765625, 0.0298614501953125, 0.017547607421875, -0.0293121337890625, -0.00942230224609375, -0.01450347900390625, -0.004119873046875, -0.034088134765625, 0.00698089599609375, 0.0202178955078125, -0.03021240234375, 0.005237579345703125, 0.06256103515625, 0.01540374755859375, 0.0084686279296875, -0.029083251953125, 0.0309295654296875, 0.0290374755859375, 0.01151275634765625, -0.00804901123046875, 0.04107666015625, -0.009368896484375, 0.0160064697265625, 0.03399658203125, -0.00461578369140625, 0.0184173583984375, 0.0011587142944335938, -0.002841949462890625, 0.0107574462890625, -0.0440673828125, 0.0165252685546875, -0.04962158203125, 0.0178985595703125, 0.04632568359375, -0.016754150390625, 0.03448486328125, 0.034149169921875, -0.00638580322265625, -0.020294189453125, -0.031494140625, 0.05267333984375, 0.0006809234619140625, 0.0202178955078125, 0.0587158203125, -0.002674102783203125, 0.0186920166015625, -0.02178955078125, -0.003269195556640625, 0.0299224853515625, -0.038330078125, 0.070068359375, -0.037689208984375, -0.020751953125, -0.017059326171875, -0.00457000732421875, 0.0012989044189453125, 0.0221099853515625, -0.006366729736328125, 0.022369384765625, -0.007495880126953125, -0.034881591796875, -0.039459228515625, 0.023529052734375, -0.0285491943359375, -0.03131103515625, -0.040618896484375, 0.0189361572265625, 0.0372314453125, 0.040252685546875, 0.039154052734375, 0.0084686279296875, -0.0399169921875, -0.01371002197265625, 0.0190277099609375, -0.010833740234375, -0.044219970703125, -0.02484130859375, -0.0017328262329101562, -0.0158843994140625, 0.01367950439453125, -0.0122528076171875, -0.022705078125, 0.02630615234375, 0.00492095947265625, 0.0002472400665283203, 0.004383087158203125, -0.02166748046875, 0.02276611328125, 0.021881103515625, 0.0345458984375, 0.006282806396484375, 0.008575439453125, -0.01364898681640625, -0.0255584716796875, -0.0142364501953125, -0.0020885467529296875, 0.0091094970703125, 0.01611328125, 0.0242156982421875, -0.0078277587890625, 0.048248291015625, -0.0252227783203125, 0.018524169921875, 0.0026721954345703125, 0.03265380859375, 0.0243072509765625, -0.027435302734375, -0.00641632080078125, 0.049591064453125, 0.01021575927734375, 0.033111572265625, 0.04022216796875, 0.0211639404296875, 0.002925872802734375, -0.016326904296875, 0.0250091552734375, 0.046173095703125, -0.0496826171875, -0.017242431640625, 0.0151519775390625, 0.053466796875, 0.04119873046875, -0.0041046142578125, -0.03460693359375, 0.09283447265625, -0.0002853870391845703, 0.0248565673828125, -0.039825439453125, -0.018646240234375, 0.0175628662109375, 0.0010509490966796875, 0.01239776611328125, 0.0145721435546875, -0.047393798828125, 0.003955841064453125, 0.033233642578125, -0.0168304443359375, -0.02069091796875, -0.025848388671875, 0.01343536376953125, 0.01512908935546875, -0.02801513671875, -0.039886474609375, 0.00335693359375, 0.00754547119140625, 0.032257080078125, 0.0240478515625, 0.01033782958984375, -0.0301361083984375, 0.0178375244140625, 0.0271148681640625, 0.000385284423828125, -0.00592041015625, 0.0374755859375, -0.0003180503845214844, 0.0137176513671875, -0.039398193359375, 0.0095367431640625, -0.0156402587890625, 0.01751708984375, 0.0165863037109375, 0.06182861328125, -0.03546142578125, -0.01287078857421875, 0.0013885498046875, -0.038787841796875, -0.035369873046875, 0.00726318359375, -0.00021255016326904297, -0.0196685791015625, 0.01861572265625, -0.0207366943359375, -0.04278564453125, 0.01519012451171875, 0.030517578125, -0.0303955078125, 0.05084228515625, 0.00360870361328125, 0.0119781494140625, -0.01812744140625, 0.034637451171875, 0.0248565673828125, -0.00853729248046875, -0.0022373199462890625, -0.002628326416015625, -0.0309600830078125, -0.01531982421875, 0.01444244384765625, -0.00337982177734375, -0.035186767578125, -0.004520416259765625, 0.0309295654296875, 0.024627685546875, -0.039886474609375, 0.023773193359375, -0.0230865478515625, -0.0088348388671875, -0.0102691650390625, -0.0726318359375, -0.019500732421875, -0.043487548828125, -0.06463623046875, -0.01560211181640625, -0.01358795166015625, -0.023193359375, 0.0150146484375, -0.0103607177734375, 0.018310546875, -0.00408172607421875, -0.044677734375, -0.0178985595703125, -0.052032470703125, -0.06280517578125, -0.004150390625, 0.020050048828125, -0.0026073455810546875, 0.004505157470703125, 0.038360595703125, -0.00128173828125, -0.040252685546875, 0.0147705078125, 0.033416748046875, 0.004123687744140625, 0.01120758056640625, 0.00047469139099121094, -0.04046630859375, 0.0220794677734375, -0.00917816162109375, 0.05242919921875, 0.02227783203125, -0.0052490234375, 0.00449371337890625, -0.0145111083984375, 0.00017750263214111328, -0.0019893646240234375, 0.030364990234375, 0.020416259765625, -0.01308441162109375, -0.00931549072265625, -0.0360107421875, 0.0105743408203125, -0.01690673828125, -0.0290679931640625, 0.059844970703125, 0.0006732940673828125, -0.021209716796875, 0.0295867919921875, -0.0037631988525390625, 0.031951904296875, -0.01666259765625, -0.016937255859375, -0.00439453125, 0.043853759765625, 0.00836181640625, 0.0274200439453125, -0.0145263671875, 0.003955841064453125, -0.0264434814453125, 0.0284576416015625, 0.0064239501953125, 0.0047454833984375, -0.00890350341796875, 0.0125274658203125, 0.006717681884765625, -0.0830078125, 0.02691650390625, -0.044769287109375, 0.0007719993591308594, -0.05670166015625, 0.0081329345703125, -0.03729248046875, 0.043365478515625, -0.058868408203125, -0.02130126953125, -0.039794921875, 0.0267181396484375, -0.04608154296875, -0.044708251953125, -0.01898193359375, 0.0250091552734375, -0.1646728515625, 0.01629638671875, -0.0177764892578125, -0.045806884765625, 0.006134033203125, -0.00548553466796875, -0.061920166015625, -0.07110595703125, 0.04608154296875, 0.015380859375, -0.0230255126953125, 0.0108184814453125, -0.0124359130859375, -0.0305023193359375, -0.0252227783203125, 0.0214691162109375, -0.09295654296875, -0.0197906494140625, -0.0499267578125, 0.067626953125, 0.02142333984375, 0.00026917457580566406, 0.0008344650268554688, 0.06939697265625, -0.004974365234375, 0.0048675537109375, -0.00493621826171875, 0.01430511474609375, -0.0113677978515625, -0.00965118408203125, -0.005855560302734375, -0.0177001953125, -0.02032470703125, -0.033538818359375, -0.0245819091796875, 0.00040268898010253906, -0.025146484375, -0.014739990234375, -0.00412750244140625, -0.010650634765625, -0.022216796875, 0.01511383056640625, -0.035430908203125, -0.0135040283203125, -0.025177001953125, -0.0117950439453125, 0.035308837890625, -0.054443359375, 0.041717529296875, -0.01386260986328125, 0.005214691162109375, -0.004276275634765625, 0.0310516357421875, 0.0062713623046875, -0.025634765625, 0.028411865234375, 0.003444671630859375, 0.0261688232421875, -0.0298614501953125, 0.053558349609375, 0.029937744140625, -0.027801513671875, 0.0587158203125, -0.005664825439453125, -0.0124359130859375, 0.021331787109375, 0.01255035400390625, 0.007045745849609375, -0.035003662109375, 0.004302978515625, -0.00916290283203125, -0.00580596923828125, 0.0234222412109375, 0.0011730194091796875, -0.016571044921875, -0.027099609375, 0.037628173828125, 0.047454833984375, -0.06024169921875, -0.053375244140625, -0.056671142578125, 0.008575439453125, -0.08367919921875, 0.0194549560546875, 0.0538330078125, -0.022186279296875, 0.029815673828125, 0.0036945343017578125, -0.01027679443359375, 0.0272216796875, 0.065185546875, -0.0066680908203125, 0.020538330078125, 0.0229949951171875, -0.036041259765625, 0.003879547119140625, -0.006008148193359375, 0.06353759765625, 0.030029296875, -0.028900146484375, 0.0036163330078125, -0.01580810546875, -0.023773193359375, -0.0270233154296875, -0.008209228515625, 0.049407958984375, 0.005832672119140625, -0.0218353271484375, -0.037567138671875, -0.037567138671875, -0.0203704833984375, -0.057769775390625, -0.00022709369659423828, -0.003086090087890625, -0.021881103515625, -0.003692626953125, 0.036346435546875, 0.0006780624389648438, 0.015228271484375, -0.003398895263671875, -0.0029811859130859375, 0.0081634521484375, -0.002773284912109375, 0.01139068603515625, -0.01184844970703125, 0.05987548828125, -0.07489013671875, 0.084716796875, -0.045135498046875, -0.0243682861328125, 0.01288604736328125, 0.046966552734375, -0.00476837158203125, -0.0138702392578125, 0.009429931640625, -0.01398468017578125, -0.0032196044921875, -0.003597259521484375, -0.04095458984375, -0.00951385498046875, -0.01259613037109375, 0.02825927734375, 0.055389404296875, -0.0018558502197265625, -0.005191802978515625, 0.03955078125, -0.00965118408203125, 0.0032501220703125, 0.005451202392578125, -0.038055419921875, -0.0039825439453125, 0.0159149169921875, -0.0308380126953125, -0.01763916015625, -0.034912109375, -0.00431060791015625, -0.052886962890625, 0.022674560546875, -0.00423431396484375, -0.0036716461181640625, -0.00888824462890625, 0.015838623046875, -0.007411956787109375, -0.018463134765625, -0.031280517578125, 0.0210723876953125, 0.01055145263671875, -0.0018444061279296875, -0.0020275115966796875, -0.03192138671875, -0.041748046875, -0.0282440185546875, -0.01751708984375, -0.0440673828125, -0.00608062744140625, 0.001983642578125, -0.0124969482421875, 0.004077911376953125, 0.0157318115234375, 0.0003046989440917969, -0.058135986328125, 0.05987548828125, 0.06256103515625, 0.0731201171875, -0.0188751220703125, 0.0256195068359375, 0.00991058349609375, 0.005664825439453125, 0.00273895263671875, -0.01345062255859375, -0.007343292236328125, 0.002471923828125, -0.0178680419921875, -0.0310211181640625, 0.01335906982421875, -0.0005245208740234375, 0.037445068359375, 0.050537109375, 0.0712890625, 0.0208892822265625, 0.0689697265625, -0.006168365478515625, 0.012115478515625, -0.0177764892578125, -0.038604736328125, -0.04693603515625, 0.03814697265625, -0.003154754638671875, -0.01432037353515625, 0.042388916015625, -0.0210723876953125, -0.062225341796875, 0.05609130859375, -0.0136260986328125, 0.06005859375, 0.042083740234375, -0.043060302734375, 0.0274505615234375, 0.04241943359375, 0.004230499267578125, 0.026123046875, 0.00972747802734375, 0.01934814453125, 0.019866943359375, -0.00681304931640625, 0.044403076171875, 0.03216552734375, 0.053375244140625, -0.0095367431640625, 0.01143646240234375, 0.0174713134765625, -0.0198516845703125, 0.00027632713317871094, 0.06195068359375, 0.0296630859375, -0.0675048828125, -0.01303863525390625, -0.030914306640625, -0.0009136199951171875, 0.04608154296875, 0.00623321533203125, -0.0186920166015625, -0.07940673828125, 0.06036376953125, -0.0037975311279296875, 0.015838623046875, 0.01605224609375, -0.03228759765625, -0.0013523101806640625, -0.00519561767578125, 0.06329345703125, 0.0018510818481445312, -0.00019216537475585938, -0.039093017578125, -0.03131103515625, -0.002887725830078125, 0.03155517578125, -0.0300750732421875, -0.006084442138671875, -0.05908203125, -0.0290374755859375, -0.031036376953125, -0.04364013671875, -0.039825439453125, 0.0323486328125, 0.01253509521484375, 0.06494140625, 0.039825439453125, 0.0142974853515625, 0.002300262451171875, 0.013702392578125, 0.0316162109375, 0.04522705078125, 0.022430419921875, -0.003475189208984375, -0.066650390625, -0.0019521713256835938, -0.016998291015625, -0.0657958984375, 0.0174713134765625, 0.0130767822265625, 0.01190185546875, 0.047576904296875, -0.05523681640625, -0.0094757080078125, 0.03564453125, -0.0188446044921875, 0.005413055419921875, 0.016754150390625, 0.0258941650390625, -0.0506591796875, -0.0218658447265625, 0.0362548828125, -0.0287628173828125, -0.019775390625, 0.042144775390625, -0.028106689453125, 0.0806884765625, -0.047821044921875, 0.0151214599609375, 0.058197021484375, 0.0251922607421875, -0.053192138671875, 0.005794525146484375, -0.0213165283203125, 0.03192138671875, 0.044647216796875, -0.0184173583984375, -0.04168701171875, 0.002361297607421875, -0.031280517578125, 0.0203704833984375, 0.0723876953125, 0.019317626953125, -0.046844482421875, -0.00008887052536010742, 0.064453125, 0.00405120849609375, -0.020050048828125, 0.07720947265625, -0.0207672119140625, -0.016082763671875, 0.0014410018920898438, -0.0245208740234375, 0.0193939208984375, -0.01018524169921875, -0.04620361328125, 0.01922607421875, -0.0007205009460449219, -0.0195159912109375, 0.0318603515625, -0.0252227783203125, -0.07745361328125, 0.025299072265625, 0.055755615234375, -0.03857421875, -0.019317626953125, 0.0167083740234375, -0.041717529296875, 0.045654296875, 0.0035037994384765625, -0.033203125, 0.0287628173828125, -0.01189422607421875, -0.026519775390625, -0.032135009765625, 0.007617950439453125, -0.03814697265625, -0.0113372802734375, -0.04290771484375, 0.06317138671875, -0.029571533203125, -0.01239013671875, 0.02923583984375, 0.037567138671875, 0.0255889892578125, 0.0209808349609375, -0.0263824462890625, -0.030303955078125, -0.011749267578125, -0.021575927734375, -0.0017194747924804688, -0.0036220550537109375, 0.015167236328125, 0.00927734375, 0.04168701171875, -0.0204620361328125, 0.0017423629760742188, -0.0648193359375, -0.0172119140625, 0.02899169921875, 0.0298919677734375, -0.01580810546875, -0.034393310546875, 0.0128173828125, -0.038604736328125, -0.052978515625, 0.00969696044921875, 0.037261962890625, 0.040069580078125, 0.0099334716796875, 0.04595947265625, 0.035797119140625, -0.0225372314453125, -0.0213775634765625, 0.0119781494140625, 0.028106689453125, -0.03253173828125, 0.00328826904296875, 0.00357818603515625, 0.01409912109375, 0.0217742919921875, -0.0062408447265625, -0.029083251953125, 0.02618408203125, 0.0231781005859375, -0.06060791015625, -0.03216552734375, 0.01003265380859375, -0.023162841796875, 0.037689208984375, -0.04766845703125, 0.0423583984375, 0.004337310791015625, -0.002040863037109375, -0.013427734375, -0.0283203125, 0.06591796875, 0.00939178466796875, 0.0309600830078125, 0.007190704345703125, 0.0343017578125, -0.0126495361328125, -0.0231475830078125, -0.03729248046875, 0.016815185546875, -0.0728759765625, -0.0078125, -0.015899658203125, -0.03912353515625, 0.04132080078125, 0.035736083984375, -0.0305328369140625, 0.0093994140625, 0.00620269775390625, -0.010223388671875, 0.00977325439453125, -0.003665924072265625, 0.0179443359375, 0.0157318115234375, 0.021728515625, 0.027862548828125, -0.01486968994140625, -0.0191192626953125, -0.013580322265625, 0.03619384765625, 0.007785797119140625, 0.055816650390625, -0.031524658203125, 0.02215576171875, 0.0005116462707519531, 0.0225982666015625, -0.042633056640625, -0.02484130859375, 0.048980712890625, -0.021728515625, -0.0178070068359375, 0.00024509429931640625, -0.05169677734375, -0.02069091796875, 0.027679443359375, 0.0019350051879882812, -0.016143798828125, -0.0168609619140625, 0.032501220703125, 0.02813720703125, 0.03814697265625, -0.0279541015625, -0.059906005859375, -0.06671142578125, 0.005672454833984375, 0.00554656982421875, -0.005657196044921875, -0.03515625, 0.05224609375, 0.0184173583984375, -0.0341796875, 0.04095458984375, -0.06427001953125, 0.065185546875, 0.04046630859375, -0.003055572509765625, -0.0232696533203125, 0.0280303955078125, 0.001110076904296875, 0.0300750732421875, 0.0029735565185546875, 0.033233642578125, 0.0245361328125, -0.051422119140625, 0.0831298828125, 0.051849365234375, 0.019775390625, -0.07476806640625, -0.01446533203125, 0.12127685546875, -0.0170745849609375, 0.004009246826171875, -0.01739501953125, -0.02105712890625, 0.004589080810546875, 0.0142974853515625, 0.029815673828125, 0.03192138671875, -0.0149993896484375, -0.031951904296875, 0.037750244140625, 0.0228118896484375, 0.0019521713256835938, -0.058013916015625, 0.0261077880859375, -0.0439453125, 0.07635498046875, -0.0223846435546875, 0.036834716796875, -0.00965118408203125, 0.0191802978515625, -0.009674072265625, -0.0193023681640625, -0.01372528076171875, 0.0611572265625, 0.01953125, -0.0286407470703125, -0.0117340087890625, 0.0223541259765625, 0.0270233154296875, -0.024658203125, -0.040618896484375, 0.01558685302734375, -0.04193115234375, -0.01548004150390625, 0.0241546630859375, 0.004543304443359375, -0.0263214111328125, -0.09161376953125, 0.0019197463989257812, -0.06304931640625, 0.0187835693359375, 0.0299224853515625, -0.03143310546875, -0.00556182861328125, -0.04278564453125, -0.0762939453125, 0.0241241455078125, 0.022430419921875, -0.04547119140625, 0.02447509765625, -0.0005402565002441406, -0.005367279052734375, -0.027435302734375, 0.01141357421875, -0.0208282470703125, 0.0000514984130859375, -0.00978851318359375, 0.01019287109375, 0.02886962890625, 0.0198974609375, 0.0181427001953125, -0.025848388671875, 0.0193634033203125, 0.0135345458984375, 0.0032482147216796875, -0.019012451171875, -0.0032444000244140625, 0.01145172119140625, 0.050079345703125, -0.0018558502197265625, -0.07135009765625, 0.02374267578125, -0.0419921875, 0.00782012939453125, -0.059051513671875, -0.01303863525390625, -0.031707763671875, 0.026214599609375, 0.0180511474609375, -0.00858306884765625, 0.004550933837890625, -0.0625, -0.05438232421875, -0.0021228790283203125, -0.052581787109375, 0.0204620361328125, -0.0924072265625, -0.01535797119140625, 0.023590087890625, 0.00859832763671875, -0.01441192626953125, 0.02734375, -0.005634307861328125, -0.005939483642578125, 0.00995635986328125, -0.01132965087890625, -0.0484619140625, -0.0200042724609375, 0.017913818359375, -0.0081329345703125, -0.006694793701171875, -0.004913330078125, 0.02838134765625, 0.0008578300476074219, 0.0205535888671875, 0.01346588134765625, -0.025665283203125, 0.0022602081298828125, 0.0218505859375, 0.002735137939453125, 0.00630950927734375, -0.0146942138671875, -0.01378631591796875, 0.0213470458984375, -0.029693603515625, -0.0234527587890625, -0.05377197265625, 0.0279541015625, 0.028717041015625, -0.042022705078125, 0.0855712890625, 0.00011849403381347656, 0.019378662109375, -0.0167694091796875, 0.040679931640625, -0.0102996826171875, -0.01434326171875, 0.0130767822265625, -0.00852203369140625, 0.03277587890625, 0.005191802978515625, 0.01995849609375, -0.0067901611328125, 0.00710296630859375, 0.001682281494140625, -0.00763702392578125, 0.003795623779296875 ]
5cfdbeeb411195acbceb1c8aa6a4041ea38f77f0
Wordpress Stackexchange Q: Admin account only shows Profile and Dashboard with no activity I received login credentials from the person that maintains my company's website. When I login, there is virtually no information on it. I can only access the dashboard which has no activity on it. Why is this? Do some websites host files in a separate location and just use wordpress to handle the display (so no posts would ever be shown on the wordpress admin page)? If so, what should I ask for to gain access to the admin page that they actually use? Or did the person give me a locked down user account that doesn't have access to these files? Below are screenshots of what I see: A: This isn't an admin account, this looks like a basic subscriber or customer account. They are probably hesitant to give you full admin access because you could potentially break things. I run into this all the time with our marketing department. But if this is your website and you want full access they should be able to provide it.
Q: Admin account only shows Profile and Dashboard with no activity I received login credentials from the person that maintains my company's website. When I login, there is virtually no information on it. I can only access the dashboard which has no activity on it. Why is this? Do some websites host files in a separate location and just use wordpress to handle the display (so no posts would ever be shown on the wordpress admin page)? If so, what should I ask for to gain access to the admin page that they actually use? Or did the person give me a locked down user account that doesn't have access to these files? Below are screenshots of what I see: A: This isn't an admin account, this looks like a basic subscriber or customer account. They are probably hesitant to give you full admin access because you could potentially break things. I run into this all the time with our marketing department. But if this is your website and you want full access they should be able to provide it.
wordpress
{ "language": "en", "length": 180, "provenance": "stackexchange_00019.jsonl.gz:495942", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/340196" }
[ 0.07171630859375, 0.00921630859375, 0.01329803466796875, -0.00490570068359375, 0.012451171875, -0.043701171875, 0.02838134765625, -0.060272216796875, -0.00965118408203125, 0.017364501953125, -0.006412506103515625, 0.00312042236328125, -0.004802703857421875, -0.0283355712890625, -0.003917694091796875, -0.037872314453125, 0.0187530517578125, 0.00624847412109375, 0.054107666015625, 0.0099334716796875, -0.00609588623046875, 0.03192138671875, 0.0310821533203125, -0.046600341796875, 0.0263671875, -0.0291290283203125, 0.0296478271484375, -0.0202484130859375, 0.033203125, -0.0003371238708496094, 0.0205078125, -0.034271240234375, -0.004344940185546875, -0.00691986083984375, 0.0540771484375, -0.021575927734375, 0.0007719993591308594, 0.006771087646484375, 0.0435791015625, -0.0240631103515625, 0.019989013671875, -0.0045318603515625, 0.0299072265625, 0.0217742919921875, -0.0129852294921875, -0.0173187255859375, 0.01021575927734375, -0.038909912109375, 0.0029754638671875, -0.0023097991943359375, 0.01421356201171875, 0.00211334228515625, 0.02093505859375, -0.01496124267578125, 0.0005393028259277344, -0.00838470458984375, 0.005290985107421875, 0.00955963134765625, 0.035430908203125, -0.034881591796875, -0.037384033203125, -0.0200958251953125, 0.021728515625, -0.0189666748046875, 0.01654052734375, -0.00988006591796875, 0.0213470458984375, 0.01073455810546875, -0.0458984375, -0.00399017333984375, 0.046417236328125, -0.02215576171875, -0.00565338134765625, -0.006542205810546875, -0.030853271484375, -0.0205078125, 0.0159759521484375, -0.0281829833984375, 0.007740020751953125, 0.01111602783203125, -0.0153350830078125, 0.01611328125, -0.042205810546875, 0.01055145263671875, -0.006591796875, 0.03204345703125, -0.02386474609375, -0.0265960693359375, 0.0099334716796875, 0.0223236083984375, -0.01000213623046875, -0.0191650390625, 0.052276611328125, 0.037261962890625, -0.0240631103515625, -0.0078887939453125, 0.017303466796875, 0.0140838623046875, 0.002117156982421875, -0.005218505859375, -0.03863525390625, -0.001758575439453125, -0.0499267578125, -0.003787994384765625, -0.0023746490478515625, 0.0307464599609375, 0.006435394287109375, -0.0005197525024414062, 0.0192413330078125, 0.0012540817260742188, 0.002178192138671875, 0.024383544921875, -0.03411865234375, -0.06988525390625, 0.00536346435546875, 0.046295166015625, -0.027435302734375, 0.01094818115234375, 0.0166168212890625, -0.00959014892578125, -0.0152435302734375, 0.0192108154296875, -0.031768798828125, 0.000051021575927734375, -0.01103973388671875, -0.0185394287109375, 0.004802703857421875, 0.0036468505859375, 0.028350830078125, -0.00806427001953125, -0.027587890625, 0.0274810791015625, 0.0362548828125, 0.0137939453125, -0.0005640983581542969, -0.0115814208984375, -0.0092926025390625, -0.022125244140625, -0.0184173583984375, 0.01849365234375, -0.0005669593811035156, -0.0240631103515625, 0.001010894775390625, -0.0267181396484375, -0.0295867919921875, 0.0284881591796875, -0.0006570816040039062, -0.0079193115234375, -0.0001780986785888672, -0.036163330078125, -0.0261383056640625, -0.0341796875, -0.0118255615234375, 0.0426025390625, 0.040557861328125, 0.0255584716796875, 0.05810546875, -0.005504608154296875, -0.016143798828125, -0.00440216064453125, 0.022857666015625, 0.00360107421875, 0.01233673095703125, 0.0022983551025390625, -0.010772705078125, -0.0152130126953125, -0.0360107421875, 0.005950927734375, 0.0207061767578125, -0.034027099609375, 0.037322998046875, 0.002269744873046875, 0.03875732421875, 0.0400390625, 0.028839111328125, 0.0160064697265625, 0.0144805908203125, 0.025054931640625, 0.00428009033203125, 0.0084381103515625, 0.006549835205078125, -0.02655029296875, 0.049224853515625, -0.005725860595703125, -0.00981903076171875, -0.01081085205078125, 0.00873565673828125, 0.00018894672393798828, -0.00862884521484375, 0.0106964111328125, 0.018402099609375, 0.03863525390625, -0.03857421875, 0.02099609375, -0.005939483642578125, -0.0090179443359375, -0.053955078125, 0.007598876953125, -0.0301971435546875, -0.00433349609375, 0.032562255859375, 0.006801605224609375, -0.012939453125, -0.036651611328125, -0.06988525390625, -0.0230255126953125, -0.0061187744140625, 0.02777099609375, 0.035400390625, 0.03472900390625, 0.00478363037109375, 0.02569580078125, -0.0312347412109375, -0.0201568603515625, -0.036041259765625, -0.0134735107421875, -0.050689697265625, 0.00817108154296875, -0.025848388671875, 0.0052490234375, -0.01776123046875, -0.043212890625, -0.011962890625, 0.0162353515625, 0.055908203125, 0.01165008544921875, -0.0204620361328125, -0.0080108642578125, 0.07611083984375, -0.005748748779296875, 0.008941650390625, 0.0323486328125, 0.0281524658203125, 0.0081024169921875, -0.03851318359375, -0.01238250732421875, -0.02655029296875, -0.050140380859375, -0.00785064697265625, 0.05291748046875, 0.015472412109375, -0.0037517547607421875, -0.018218994140625, 0.0300750732421875, -0.0121612548828125, -0.07904052734375, -0.0012683868408203125, 0.0161590576171875, 0.0285186767578125, 0.07122802734375, -0.037628173828125, 0.0222320556640625, 0.01074981689453125, 0.00634765625, -0.013671875, 0.058929443359375, -0.01317596435546875, 0.01282501220703125, -0.0201873779296875, 0.01201629638671875, 0.00005453824996948242, 0.0149383544921875, 0.004596710205078125, -0.00867462158203125, -0.057861328125, 0.025299072265625, 0.00018274784088134766, 0.031036376953125, -0.032135009765625, 0.0034389495849609375, 0.034912109375, 0.03753662109375, -0.0091400146484375, 0.05975341796875, 0.053955078125, -0.0196990966796875, -0.01081085205078125, -0.0301971435546875, -0.00562286376953125, 0.0303497314453125, -0.0191650390625, -0.035400390625, -0.042205810546875, -0.015228271484375, 0.035400390625, -0.0295257568359375, -0.006122589111328125, -0.017486572265625, 0.0226898193359375, -0.004512786865234375, 0.0269927978515625, -0.0009636878967285156, -0.021484375, 0.05157470703125, -0.0151214599609375, -0.032928466796875, 0.001110076904296875, -0.068359375, 0.049285888671875, -0.037445068359375, 0.0771484375, 0.0889892578125, 0.005096435546875, 0.0278778076171875, -0.0024051666259765625, 0.0005755424499511719, -0.0184478759765625, 0.03564453125, 0.0191802978515625, -0.0184783935546875, -0.01381683349609375, 0.0750732421875, 0.0207366943359375, 0.043975830078125, -0.037841796875, -0.04608154296875, -0.03997802734375, 0.0180816650390625, -0.0699462890625, -0.0261688232421875, -0.1031494140625, -0.091064453125, -0.0040740966796875, -0.0008459091186523438, -0.055450439453125, 0.039764404296875, 0.0175323486328125, 0.026458740234375, 0.01123809814453125, -0.017608642578125, -0.048248291015625, -0.044189453125, -0.0579833984375, -0.01265716552734375, -0.005046844482421875, -0.0018787384033203125, 0.0029621124267578125, 0.057861328125, -0.004001617431640625, -0.07147216796875, -0.0157623291015625, -0.0034942626953125, -0.006244659423828125, 0.0181121826171875, -0.043609619140625, -0.0116424560546875, 0.051513671875, -0.006107330322265625, -0.01256561279296875, -0.00396728515625, 0.028656005859375, -0.027923583984375, 0.0274658203125, -0.04888916015625, 0.017547607421875, 0.005645751953125, -0.039337158203125, -0.03558349609375, 0.01367950439453125, -0.061370849609375, 0.03472900390625, -0.036529541015625, -0.020751953125, 0.0297698974609375, 0.038330078125, -0.0267333984375, 0.0221405029296875, -0.050323486328125, 0.0099334716796875, 0.005809783935546875, -0.033447265625, 0.00222015380859375, -0.02093505859375, 0.00322723388671875, 0.0035495758056640625, 0.02398681640625, -0.0283660888671875, -0.049530029296875, 0.01020050048828125, -0.0230865478515625, -0.0154266357421875, -0.0103302001953125, 0.0355224609375, 0.0155487060546875, -0.034576416015625, 0.033538818359375, -0.051177978515625, 0.0184173583984375, -0.049530029296875, -0.009979248046875, -0.0131988525390625, 0.0811767578125, -0.0086669921875, 0.0252685546875, 0.021514892578125, 0.0018787384033203125, -0.070556640625, -0.06298828125, -0.1297607421875, 0.0167388916015625, -0.051116943359375, -0.0277557373046875, -0.006626129150390625, -0.0303497314453125, 0.01432037353515625, -0.0255889892578125, -0.0110015869140625, -0.0440673828125, 0.00749969482421875, 0.0252838134765625, 0.011627197265625, -0.0291900634765625, 0.006916046142578125, -0.0472412109375, 0.0283966064453125, -0.0164337158203125, -0.03302001953125, -0.01184844970703125, 0.036529541015625, 0.0007901191711425781, -0.032623291015625, 0.00920867919921875, -0.01203155517578125, 0.020233154296875, -0.01348876953125, 0.0255126953125, -0.015777587890625, 0.01256561279296875, -0.0022563934326171875, -0.0286865234375, -0.006069183349609375, -0.030914306640625, -0.0210113525390625, -0.0540771484375, -0.00763702392578125, -0.046142578125, -0.036346435546875, -0.034759521484375, -0.021026611328125, -0.004207611083984375, -0.01445770263671875, -0.0283660888671875, -0.045745849609375, 0.0205230712890625, -0.043426513671875, 0.020782470703125, -0.032257080078125, -0.0262908935546875, 0.028778076171875, -0.01277923583984375, -0.01580810546875, 0.01399993896484375, 0.08135986328125, 0.01036834716796875, -0.01052093505859375, -0.059906005859375, 0.01227569580078125, 0.0273895263671875, -0.024749755859375, 0.068359375, 0.02984619140625, -0.022216796875, 0.08428955078125, -0.01468658447265625, 0.021820068359375, -0.023406982421875, 0.01216888427734375, 0.0087738037109375, -0.0278472900390625, 0.032806396484375, 0.00844573974609375, -0.01377105712890625, 0.008209228515625, -0.0018215179443359375, -0.03411865234375, -0.0439453125, 0.0450439453125, 0.02789306640625, -0.007488250732421875, -0.050323486328125, -0.0028839111328125, -0.00623321533203125, -0.031982421875, 0.047576904296875, 0.0221710205078125, -0.00641632080078125, 0.005016326904296875, 0.036285400390625, 0.0011806488037109375, 0.015411376953125, -0.01372528076171875, 0.0006432533264160156, -0.0046539306640625, 0.0262603759765625, -0.00006240606307983398, 0.0196990966796875, -0.0184326171875, 0.08038330078125, -0.01198577880859375, -0.0965576171875, 0.01849365234375, 0.00444793701171875, 0.08099365234375, 0.058990478515625, -0.0261688232421875, 0.0209503173828125, 0.0211029052734375, -0.015960693359375, 0.0010776519775390625, 0.029632568359375, -0.033172607421875, -0.0352783203125, -0.0006480216979980469, -0.0178375244140625, 0.005279541015625, 0.0245208740234375, 0.048736572265625, -0.03253173828125, 0.046112060546875, -0.00909423828125, 0.028656005859375, 0.0160980224609375, 0.0268096923828125, -0.00940704345703125, 0.0267181396484375, 0.01080322265625, 0.00522613525390625, 0.0210113525390625, -0.020843505859375, 0.019989013671875, -0.0079803466796875, 0.011962890625, 0.0672607421875, -0.002788543701171875, 0.01329803466796875, -0.019012451171875, -0.01311492919921875, 0.0645751953125, 0.007343292236328125, -0.069580078125, -0.03424072265625, 0.00649261474609375, 0.049530029296875, -0.032562255859375, -0.0019931793212890625, 0.03985595703125, -0.007335662841796875, 0.034820556640625, 0.04498291015625, -0.0066375732421875, -0.00283050537109375, -0.00928497314453125, -0.00316619873046875, -0.008087158203125, -0.0035953521728515625, -0.0251922607421875, -0.0143585205078125, 0.0016841888427734375, -0.00646209716796875, 0.036224365234375, 0.001857757568359375, 0.0252838134765625, -0.0312347412109375, -0.0134124755859375, -0.02288818359375, -0.002841949462890625, 0.042236328125, 0.006229400634765625, -0.07220458984375, -0.00839996337890625, -0.0177459716796875, -0.009307861328125, -0.0030689239501953125, -0.03564453125, -0.055267333984375, -0.001987457275390625, 0.00640869140625, 0.0179901123046875, -0.00968170166015625, -0.0171966552734375, -0.0340576171875, 0.0447998046875, 0.03240966796875, 0.069091796875, -0.011932373046875, 0.0711669921875, -0.0120849609375, 0.03924560546875, 0.004695892333984375, 0.03271484375, -0.04058837890625, 0.0005941390991210938, 0.031707763671875, 0.0325927734375, -0.046966552734375, -0.01849365234375, -0.03411865234375, -0.043212890625, 0.04180908203125, -0.0279693603515625, -0.0192108154296875, -0.0167999267578125, 0.01392364501953125, -0.005229949951171875, 0.047637939453125, 0.0081634521484375, -0.04071044921875, 0.01983642578125, -0.005985260009765625, 0.014984130859375, -0.01485443115234375, -0.0204010009765625, -0.0010099411010742188, 0.020477294921875, -0.004856109619140625, -0.00504302978515625, 0.004268646240234375, 0.0391845703125, 0.094482421875, -0.004756927490234375, 0.041839599609375, 0.04705810546875, 0.01045989990234375, -0.0035800933837890625, -0.0028553009033203125, -0.033111572265625, -0.02105712890625, 0.0237579345703125, 0.003139495849609375, -0.00986480712890625, 0.0205841064453125, -0.0195159912109375, 0.00560760498046875, 0.11370849609375, 0.043487548828125, -0.144775390625, -0.0106048583984375, -0.01102447509765625, 0.00934600830078125, 0.01407623291015625, -0.007442474365234375, -0.036468505859375, -0.0667724609375, 0.0033931732177734375, 0.007221221923828125, -0.0203399658203125, 0.00035691261291503906, 0.01136016845703125, -0.00009202957153320312, 0.003238677978515625, 0.06866455078125, -0.0079803466796875, -0.0265350341796875, -0.039703369140625, 0.0028476715087890625, -0.03729248046875, -0.024383544921875, -0.01324462890625, 0.0005283355712890625, -0.0222320556640625, -0.05218505859375, 0.0025844573974609375, -0.048309326171875, 0.026092529296875, 0.0193023681640625, 0.0167388916015625, 0.038238525390625, 0.0509033203125, -0.006107330322265625, 0.025848388671875, 0.017181396484375, 0.048187255859375, 0.01312255859375, -0.038055419921875, -0.00911712646484375, 0.0604248046875, -0.01678466796875, 0.021392822265625, 0.036712646484375, -0.0269317626953125, -0.01296234130859375, -0.0372314453125, 0.04736328125, -0.01029205322265625, -0.01323699951171875, 0.0231170654296875, -0.0274200439453125, -0.0172271728515625, 0.00978851318359375, -0.01125335693359375, -0.038421630859375, 0.01326751708984375, -0.005016326904296875, -0.0030117034912109375, 0.0159912109375, 0.028289794921875, -0.03656005859375, 0.0665283203125, -0.0028171539306640625, 0.0022525787353515625, 0.01297760009765625, 0.0278778076171875, -0.0283355712890625, -0.0082244873046875, -0.01678466796875, 0.048309326171875, 0.0033779144287109375, 0.04327392578125, -0.01357269287109375, 0.005523681640625, 0.019073486328125, 0.0240325927734375, 0.054931640625, 0.0152740478515625, -0.0391845703125, -0.0258026123046875, -0.004241943359375, -0.0161895751953125, -0.0316162109375, 0.06976318359375, 0.0015039443969726562, 0.050048828125, 0.03411865234375, -0.0574951171875, 0.021942138671875, -0.0180206298828125, -0.0266265869140625, 0.017974853515625, -0.01401519775390625, -0.03472900390625, 0.01494598388671875, 0.0335693359375, -0.03961181640625, 0.015777587890625, 0.0171661376953125, -0.00765228271484375, -0.009918212890625, 0.0013475418090820312, 0.023345947265625, -0.0689697265625, -0.008026123046875, -0.03045654296875, 0.035064697265625, 0.0340576171875, -0.00974273681640625, 0.00366973876953125, 0.030181884765625, -0.0212249755859375, -0.054229736328125, -0.01207733154296875, 0.0147552490234375, -0.039764404296875, 0.027923583984375, 0.00772857666015625, 0.0310821533203125, -0.038360595703125, -0.00974273681640625, 0.03179931640625, 0.03936767578125, -0.012542724609375, -0.053314208984375, -0.002777099609375, 0.00872039794921875, 0.0310211181640625, 0.038177490234375, 0.048126220703125, 0.038055419921875, 0.059112548828125, 0.00498199462890625, 0.0235137939453125, -0.0008378028869628906, 0.00043892860412597656, -0.0119171142578125, 0.024688720703125, -0.021087646484375, 0.032989501953125, 0.01464080810546875, -0.0121612548828125, -0.01021575927734375, 0.006198883056640625, 0.00959014892578125, -0.00812530517578125, -0.06317138671875, 0.0028057098388671875, -0.039306640625, 0.0465087890625, -0.0229034423828125, 0.04833984375, -0.09722900390625, -0.06927490234375, 0.0188751220703125, 0.07763671875, 0.003940582275390625, -0.0233612060546875, -0.002033233642578125, 0.0227813720703125, 0.006374359130859375, -0.00868988037109375, 0.03582763671875, 0.0031070709228515625, -0.0225067138671875, -0.0194244384765625, 0.021270751953125, 0.05419921875, 0.00044465065002441406, 0.011810302734375, 0.0169830322265625, 0.053985595703125, -0.05413818359375, -0.006404876708984375, 0.0009002685546875, -0.05377197265625, 0.049072265625, -0.01200103759765625, 0.035430908203125, -0.0218353271484375, -0.0697021484375, -0.01824951171875, -0.0003590583801269531, -0.017120361328125, -0.0006465911865234375, 0.034271240234375, -0.00865936279296875, 0.00792694091796875, -0.014617919921875, 0.031982421875, -0.057708740234375, -0.027496337890625, 0.0535888671875, -0.041595458984375, -0.0102996826171875, 0.0163421630859375, -0.00839996337890625, -0.00786590576171875, -0.01959228515625, 0.052398681640625, 0.0501708984375, 0.07440185546875, -0.019287109375, 0.039642333984375, -0.0211944580078125, 0.0162811279296875, -0.02178955078125, -0.0176544189453125, 0.03802490234375, 0.00865936279296875, -0.0226898193359375, -0.012939453125, -0.0811767578125, 0.05810546875, -0.0047149658203125, -0.006443023681640625, 0.0396728515625, 0.0183563232421875, -0.0054931640625, -0.0036296844482421875, 0.005016326904296875, -0.032989501953125, -0.07318115234375, -0.041748046875, 0.0182037353515625, -0.0162200927734375, 0.01395416259765625, -0.013214111328125, 0.0340576171875, -0.052886962890625, -0.044097900390625, 0.0189666748046875, -0.06097412109375, -0.010986328125, 0.01078033447265625, 0.01308441162109375, 0.042449951171875, -0.01320648193359375, -0.03533935546875, 0.034271240234375, -0.01190948486328125, -0.0159149169921875, -0.0027408599853515625, -0.0012083053588867188, -0.00496673583984375, 0.0218353271484375, 0.02886962890625, -0.017303466796875, 0.006366729736328125, 0.0033931732177734375, -0.0013494491577148438, 0.0003962516784667969, -0.0088653564453125, -0.0220184326171875, -0.0169525146484375, -0.012420654296875, 0.00809478759765625, 0.0045318603515625, -0.057037353515625, -0.036102294921875, 0.0419921875, 0.030487060546875, 0.003173828125, -0.07958984375, 0.07366943359375, -0.04144287109375, 0.016143798828125, -0.021331787109375, -0.0017566680908203125, 0.02484130859375, 0.042083740234375, -0.00359344482421875, 0.032928466796875, -0.0026531219482421875, -0.0308074951171875, 0.03216552734375, 0.00977325439453125, 0.0181121826171875, 0.01090240478515625, 0.033782958984375, -0.018035888671875, -0.03143310546875, 0.03955078125, -0.05316162109375, 0.005306243896484375, -0.021148681640625, 0.0180816650390625, -0.03887939453125, -0.0072021484375, 0.01096343994140625, 0.039398193359375, -0.0533447265625, -0.01763916015625, -0.01195526123046875, -0.0085296630859375, -0.04034423828125, -0.038970947265625, 0.01239776611328125, 0.023223876953125, -0.0178375244140625, -0.06103515625, 0.0086822509765625, -0.006778717041015625, -0.006534576416015625, -0.051910400390625, 0.0115203857421875, -0.0024566650390625, 0.05718994140625, 0.0254669189453125, -0.06817626953125, 0.058685302734375, 0.0052490234375, -0.0487060546875, 0.02557373046875, 0.0310516357421875, -0.0221710205078125, 0.00408172607421875, -0.006504058837890625, 0.02410888671875, 0.0677490234375, -0.01433563232421875, -0.037628173828125, -0.00830078125, -0.037139892578125, -0.00028634071350097656, -0.0245361328125, -0.0235443115234375, -0.02276611328125, 0.01560211181640625, 0.04443359375, -0.004833221435546875, -0.011627197265625, -0.041168212890625, -0.05242919921875, -0.0160675048828125, -0.025604248046875, 0.0194854736328125, -0.07659912109375, 0.019195556640625, 0.0096588134765625, 0.00461578369140625, -0.0307464599609375, -0.0028438568115234375, -0.0267333984375, -0.0019550323486328125, 0.0211334228515625, 0.00884246826171875, 0.00510406494140625, -0.05438232421875, 0.03387451171875, -0.0217132568359375, -0.0257720947265625, 0.005985260009765625, 0.03350830078125, -0.0120849609375, 0.0230255126953125, -0.00998687744140625, -0.01343536376953125, -0.0229644775390625, 0.0254974365234375, -0.01258087158203125, -0.0027332305908203125, -0.040252685546875, -0.00904083251953125, -0.000713348388671875, 0.018463134765625, -0.00720977783203125, 0.018707275390625, 0.0192718505859375, 0.0023517608642578125, -0.0003936290740966797, 0.0203704833984375, 0.0099029541015625, -0.03778076171875, -0.0255584716796875, 0.050537109375, -0.0183258056640625, -0.0260467529296875, -0.0160369873046875, -0.00150299072265625, -0.01447296142578125, 0.01495361328125, -0.0121917724609375, -0.07098388671875, 0.02288818359375, -0.03240966796875, 0.041900634765625, 0.0237274169921875 ]
a74fd05b28bded4d856adfa61446f927e3a1bb23
Wordpress Stackexchange Q: Dynamically update post title in admin page I have a textarea in admin post page when creating new post, that's title: <textarea id="post-title-0" class="editor-post-title__input" placeholder="Add title" rows="1" style="overflow: hidden; overflow-wrap: break-word; resize: none; height: 94px;">vbhgfhfgh</textarea> I want to update title on the fly using jQuery. I tried $('#post-title-0').val('some value'); $('#post-title-0').text('some value'); I also tried using plain javascript. val() updates title but when I click on title it is being erased. Is there anyway to update title via JS? A: The block editor is restoring back the title that was last saved (or typed manually into the textarea), so with the block editor, you can change the title dynamically using this code: wp.data.dispatch( 'core/editor' ).editPost( { title: 'Title here' } ) PS: You should make sure your JS file has the wp-editor, wp-edit-post or wp-data as part of the dependencies. UPDATE Here are the resources which helped me identify the above solution/code: * *https://developer.wordpress.org/block-editor/packages/packages-data/#dispatch *https://riad.blog/2018/06/07/efficient-client-data-management-for-wordpress-plugins *https://github.com/WordPress/gutenberg/blob/master/packages/editor/src/components/post-title/index.js (the React component which setups the title textarea / UI)
Q: Dynamically update post title in admin page I have a textarea in admin post page when creating new post, that's title: <textarea id="post-title-0" class="editor-post-title__input" placeholder="Add title" rows="1" style="overflow: hidden; overflow-wrap: break-word; resize: none; height: 94px;">vbhgfhfgh</textarea> I want to update title on the fly using jQuery. I tried $('#post-title-0').val('some value'); $('#post-title-0').text('some value'); I also tried using plain javascript. val() updates title but when I click on title it is being erased. Is there anyway to update title via JS? A: The block editor is restoring back the title that was last saved (or typed manually into the textarea), so with the block editor, you can change the title dynamically using this code: wp.data.dispatch( 'core/editor' ).editPost( { title: 'Title here' } ) PS: You should make sure your JS file has the wp-editor, wp-edit-post or wp-data as part of the dependencies. UPDATE Here are the resources which helped me identify the above solution/code: * *https://developer.wordpress.org/block-editor/packages/packages-data/#dispatch *https://riad.blog/2018/06/07/efficient-client-data-management-for-wordpress-plugins *https://github.com/WordPress/gutenberg/blob/master/packages/editor/src/components/post-title/index.js (the React component which setups the title textarea / UI)
wordpress
{ "language": "en", "length": 166, "provenance": "stackexchange_00019.jsonl.gz:495960", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/340247" }
[ -0.006595611572265625, -0.01068115234375, -0.03204345703125, 0.0130462646484375, -0.00339508056640625, -0.0278778076171875, 0.021087646484375, -0.02044677734375, 0.0194244384765625, 0.0238800048828125, 0.01093292236328125, -0.031707763671875, 0.0178985595703125, -0.032928466796875, -0.01427459716796875, -0.0141754150390625, 0.029083251953125, -0.0077972412109375, 0.0027904510498046875, -0.00615692138671875, -0.0212554931640625, 0.01384735107421875, -0.01326751708984375, 0.034515380859375, 0.006801605224609375, 0.00994873046875, 0.08880615234375, -0.0157318115234375, 0.015899658203125, -0.0072784423828125, 0.0249786376953125, -0.039306640625, 0.02862548828125, -0.007534027099609375, -0.0108489990234375, -0.024169921875, 0.04815673828125, -0.032470703125, -0.0255889892578125, 0.0291290283203125, 0.0538330078125, -0.030975341796875, 0.0030364990234375, 0.05218505859375, -0.003387451171875, -0.062347412109375, 0.059051513671875, -0.034912109375, 0.044189453125, 0.01204681396484375, -0.00850677490234375, 0.00658416748046875, 0.005767822265625, 0.0020961761474609375, -0.00644683837890625, 0.00342559814453125, -0.04083251953125, -0.0131378173828125, 0.030426025390625, 0.054595947265625, 0.0253448486328125, -0.0213165283203125, -0.006317138671875, -0.0521240234375, 0.00922393798828125, -0.01605224609375, 0.054779052734375, 0.01529693603515625, -0.036041259765625, 0.0007524490356445312, 0.0298614501953125, -0.01532745361328125, -0.013824462890625, -0.0272064208984375, 0.0293121337890625, 0.023345947265625, -0.01346588134765625, -0.021087646484375, 0.0165252685546875, 0.018951416015625, 0.03448486328125, -0.005344390869140625, 0.051971435546875, -0.03240966796875, 0.03350830078125, 0.005870819091796875, -0.00798797607421875, -0.010711669921875, -0.036376953125, -0.031524658203125, -0.0227813720703125, -0.032989501953125, -0.08001708984375, 0.0300750732421875, 0.031951904296875, -0.0157470703125, -0.00562286376953125, 0.004505157470703125, -0.017852783203125, 0.0017576217651367188, -0.004192352294921875, -0.01468658447265625, 0.008758544921875, -0.022735595703125, -0.0085601806640625, -0.004505157470703125, -0.0255126953125, -0.00386810302734375, 0.01200103759765625, 0.041168212890625, -0.0239105224609375, -0.0061798095703125, 0.0005345344543457031, 0.0017175674438476562, -0.0300750732421875, 0.0236358642578125, -0.03253173828125, 0.0221405029296875, -0.00772857666015625, 0.056671142578125, -0.01189422607421875, 0.00208282470703125, -0.02606201171875, 0.01690673828125, 0.0328369140625, 0.02105712890625, -0.0190277099609375, 0.0151214599609375, 0.0152740478515625, -0.04302978515625, -0.02386474609375, 0.0482177734375, 0.10467529296875, 0.060333251953125, 0.034027099609375, 0.004486083984375, -0.0215606689453125, -0.0205841064453125, -0.005126953125, -0.029144287109375, 0.0142059326171875, 0.0203094482421875, 0.029815673828125, -0.01983642578125, 0.0220489501953125, 0.0145416259765625, -0.006504058837890625, 0.0143585205078125, 0.0247955322265625, -0.026763916015625, 0.0203094482421875, -0.054534912109375, 0.0286102294921875, 0.039886474609375, 0.02191162109375, -0.00440216064453125, 0.098876953125, -0.044097900390625, -0.019744873046875, -0.06317138671875, 0.045166015625, 0.004306793212890625, 0.0201568603515625, 0.04327392578125, -0.0230865478515625, 0.009674072265625, -0.036468505859375, -0.016021728515625, 0.0191650390625, 0.031280517578125, 0.0260009765625, 0.0180511474609375, -0.007122039794921875, 0.00494384765625, 0.004383087158203125, -0.005645751953125, -0.050445556640625, -0.04815673828125, 0.05596923828125, -0.005863189697265625, -0.01418304443359375, -0.00014400482177734375, 0.00983428955078125, 0.0227508544921875, -0.00897979736328125, -0.032806396484375, 0.0027637481689453125, 0.015411376953125, 0.033660888671875, 0.025604248046875, 0.0186614990234375, -0.026458740234375, -0.0279083251953125, 0.0167694091796875, -0.01251220703125, 0.01117706298828125, -0.052215576171875, 0.0177001953125, -0.0272216796875, -0.005100250244140625, 0.0034847259521484375, 0.00522613525390625, -0.0234375, 0.01107025146484375, -0.038360595703125, -0.005229949951171875, -0.020782470703125, 0.02557373046875, 0.02752685546875, 0.027130126953125, -0.0051727294921875, -0.018310546875, -0.0031147003173828125, -0.01329803466796875, -0.02813720703125, -0.00803375244140625, -0.04583740234375, -0.017242431640625, -0.0175018310546875, 0.0140838623046875, 0.002899169921875, 0.0071563720703125, -0.02081298828125, 0.006122589111328125, 0.050628662109375, -0.040924072265625, 0.0022029876708984375, -0.033111572265625, 0.061309814453125, 0.00490570068359375, -0.01296234130859375, 0.0090484619140625, 0.00725555419921875, 0.001338958740234375, -0.044586181640625, -0.0311431884765625, -0.08404541015625, -0.10687255859375, 0.0015172958374023438, 0.09381103515625, 0.033416748046875, 0.01025390625, 0.0010004043579101562, 0.0254058837890625, 0.034576416015625, -0.003215789794921875, 0.0229644775390625, -0.0177001953125, -0.0028133392333984375, 0.032562255859375, -0.01427459716796875, -0.01464080810546875, 0.01551055908203125, -0.051727294921875, -0.021820068359375, 0.05859375, 0.01087188720703125, 0.002899169921875, -0.0112152099609375, -0.0061798095703125, 0.00305938720703125, -0.059814453125, -0.040313720703125, -0.0142822265625, 0.08837890625, 0.0040283203125, 0.048828125, 0.029693603515625, -0.0634765625, 0.04217529296875, 0.0263519287109375, -0.00873565673828125, 0.0297088623046875, 0.034454345703125, 0.032257080078125, 0.03564453125, -0.04058837890625, -0.020172119140625, 0.055206298828125, 0.036163330078125, -0.018951416015625, 0.00995635986328125, -0.025787353515625, -0.0158538818359375, -0.002101898193359375, -0.05157470703125, 0.004177093505859375, -0.0010633468627929688, 0.0035800933837890625, -0.005451202392578125, 0.007122039794921875, 0.005931854248046875, -0.04364013671875, 0.05755615234375, -0.0133056640625, -0.03558349609375, 0.056121826171875, -0.044677734375, 0.0261383056640625, -0.0276031494140625, 0.10986328125, 0.0648193359375, -0.019989013671875, 0.02923583984375, 0.0019969940185546875, 0.005489349365234375, -0.006168365478515625, 0.005290985107421875, -0.0170135498046875, -0.0023212432861328125, -0.0556640625, 0.018310546875, 0.0150299072265625, 0.060638427734375, -0.01311492919921875, -0.06170654296875, -0.007297515869140625, 0.024322509765625, -0.09100341796875, -0.08416748046875, -0.00545501708984375, -0.07684326171875, 0.016876220703125, 0.005817413330078125, -0.04510498046875, -0.0126953125, 0.049560546875, 0.007343292236328125, 0.0158538818359375, 0.0033168792724609375, -0.0168304443359375, -0.007282257080078125, -0.050933837890625, -0.0232696533203125, -0.00234222412109375, 0.00038313865661621094, 0.01091766357421875, 0.047210693359375, -0.0018720626831054688, -0.0604248046875, -0.0081024169921875, 0.01259613037109375, -0.018157958984375, 0.0224456787109375, 0.048126220703125, -0.03857421875, 0.0092315673828125, 0.01163482666015625, -0.016204833984375, 0.0211181640625, -0.01849365234375, -0.024444580078125, -0.0156707763671875, 0.002941131591796875, 0.01306915283203125, -0.032623291015625, 0.01163482666015625, 0.031890869140625, 0.0083160400390625, -0.0234222412109375, -0.02978515625, 0.0030727386474609375, -0.025238037109375, -0.002696990966796875, 0.00557708740234375, 0.00200653076171875, -0.004795074462890625, 0.035919189453125, -0.01070404052734375, 0.004016876220703125, 0.056243896484375, -0.0236358642578125, -0.02337646484375, -0.039154052734375, -0.046600341796875, -0.03375244140625, 0.0103912353515625, -0.01071929931640625, 0.01517486572265625, -0.006084442138671875, 0.005817413330078125, -0.0189361572265625, 0.021087646484375, -0.035491943359375, -0.02789306640625, 0.034576416015625, -0.016021728515625, 0.031829833984375, -0.023681640625, -0.0259857177734375, 0.0007162094116210938, 0.06756591796875, -0.0006995201110839844, -0.0180206298828125, 0.00972747802734375, 0.025848388671875, -0.054779052734375, -0.043792724609375, -0.0347900390625, -0.0037689208984375, -0.050994873046875, 0.01611328125, 0.003520965576171875, 0.00576019287109375, -0.028900146484375, 0.103759765625, -0.04559326171875, -0.006931304931640625, 0.0206146240234375, -0.07763671875, 0.0142974853515625, 0.0172119140625, -0.0272979736328125, 0.0034046173095703125, -0.0286712646484375, -0.051055908203125, -0.0247344970703125, -0.0056610107421875, 0.01174163818359375, 0.0168609619140625, 0.0010404586791992188, -0.00873565673828125, -0.0123138427734375, 0.026092529296875, 0.01654052734375, 0.0673828125, 0.008148193359375, -0.00116729736328125, 0.016021728515625, -0.036376953125, 0.0258331298828125, -0.040771484375, -0.00891876220703125, 0.002124786376953125, -0.0203399658203125, 0.045501708984375, -0.0260467529296875, -0.01788330078125, -0.0026226043701171875, -0.01045989990234375, -0.077880859375, -0.025054931640625, 0.0006351470947265625, 0.01041412353515625, -0.028533935546875, 0.01192474365234375, -0.040283203125, -0.07122802734375, 0.062225341796875, -0.0171966552734375, 0.0237579345703125, -0.01079559326171875, 0.0772705078125, -0.00490570068359375, -0.0272216796875, -0.0005321502685546875, 0.0190277099609375, 0.036895751953125, -0.01163482666015625, 0.05535888671875, 0.00897979736328125, -0.0191192626953125, 0.07952880859375, 0.00372314453125, 0.0014352798461914062, 0.0138397216796875, 0.0218048095703125, 0.00635528564453125, -0.0289459228515625, 0.02471923828125, 0.0126953125, -0.0135498046875, 0.01198577880859375, -0.04620361328125, 0.0433349609375, -0.050994873046875, 0.0143585205078125, -0.004138946533203125, 0.003604888916015625, -0.0272064208984375, -0.040740966796875, 0.00901031494140625, -0.0038433074951171875, -0.007251739501953125, 0.0264892578125, -0.0039043426513671875, -0.01200103759765625, -0.00502777099609375, 0.002918243408203125, -0.0152130126953125, -0.03350830078125, 0.003692626953125, 0.01322174072265625, -0.003398895263671875, -0.0035343170166015625, 0.00428009033203125, -0.005138397216796875, 0.008941650390625, -0.0168609619140625, -0.060302734375, -0.018035888671875, -0.01250457763671875, 0.08184814453125, 0.01708984375, 0.007244110107421875, -0.0084381103515625, 0.045684814453125, 0.0261077880859375, 0.00461578369140625, 0.042724609375, 0.033050537109375, 0.0057220458984375, 0.044525146484375, 0.042510986328125, -0.00827789306640625, 0.02618408203125, 0.061492919921875, 0.0552978515625, 0.0193328857421875, -0.036376953125, 0.0682373046875, 0.0435791015625, 0.0260162353515625, 0.00044035911560058594, 0.017120361328125, 0.0008101463317871094, -0.006214141845703125, -0.031890869140625, -0.0305328369140625, -0.00962066650390625, 0.04681396484375, 0.0467529296875, 0.0413818359375, -0.0010786056518554688, -0.01910400390625, -0.032989501953125, -0.004619598388671875, -0.0015401840209960938, -0.0214691162109375, -0.032623291015625, -0.00585174560546875, 0.009063720703125, 0.033660888671875, -0.0206756591796875, 0.01004791259765625, -0.06927490234375, -0.044281005859375, 0.012176513671875, -0.0268707275390625, 0.029693603515625, -0.01849365234375, -0.048492431640625, -0.0084381103515625, 0.0006799697875976562, -0.0166778564453125, 0.00640106201171875, -0.0518798828125, -0.0023593902587890625, 0.0137176513671875, 0.04339599609375, -0.004547119140625, 0.0303802490234375, -0.041351318359375, 0.01082611083984375, -0.01898193359375, -0.003337860107421875, 0.05120849609375, 0.017852783203125, -0.03912353515625, -0.01175689697265625, -0.053558349609375, -0.00882720947265625, -0.04119873046875, -0.04388427734375, -0.032745361328125, 0.00878143310546875, 0.0251007080078125, 0.0245819091796875, -0.0013580322265625, -0.03515625, -0.009429931640625, 0.0022411346435546875, 0.03729248046875, 0.064697265625, -0.006023406982421875, 0.044708251953125, -0.0084075927734375, 0.035186767578125, -0.0047760009765625, -0.008209228515625, -0.0210723876953125, -0.01287078857421875, 0.002201080322265625, -0.01067352294921875, -0.0017118453979492188, -0.0009312629699707031, 0.023101806640625, -0.03692626953125, -0.0127105712890625, -0.00689697265625, 0.038238525390625, -0.0004363059997558594, 0.016571044921875, -0.023712158203125, -0.0255126953125, -0.032867431640625, -0.0169219970703125, 0.0305023193359375, -0.045135498046875, 0.02239990234375, 0.004314422607421875, -0.0209808349609375, 0.048736572265625, -0.03955078125, 0.0212249755859375, 0.043731689453125, -0.0555419921875, 0.036468505859375, 0.0849609375, 0.0086669921875, 0.0389404296875, -0.0032825469970703125, 0.008697509765625, 0.0224456787109375, -0.0152435302734375, 0.01467132568359375, 0.0261383056640625, 0.048004150390625, -0.01274871826171875, -0.01305389404296875, 0.021636962890625, -0.031341552734375, 0.012969970703125, 0.01824951171875, 0.05316162109375, -0.047393798828125, 0.01500701904296875, 0.019622802734375, -0.0015153884887695312, 0.03350830078125, 0.006549835205078125, -0.0081939697265625, -0.0262298583984375, 0.00626373291015625, 0.03631591796875, -0.0077972412109375, 0.0132904052734375, 0.0231781005859375, -0.016693115234375, -0.0254974365234375, 0.058990478515625, 0.01898193359375, -0.00992584228515625, -0.01031494140625, 0.00782012939453125, -0.00756072998046875, -0.01045989990234375, 0.0034999847412109375, 0.0231781005859375, -0.0293121337890625, -0.07000732421875, 0.01323699951171875, -0.008514404296875, -0.034881591796875, -0.001129150390625, 0.0533447265625, -0.0116424560546875, 0.06280517578125, -0.0025615692138671875, -0.002925872802734375, 0.049285888671875, -0.04412841796875, -0.02069091796875, -0.0562744140625, -0.0032501220703125, 0.030303955078125, -0.03857421875, 0.030181884765625, -0.0017557144165039062, -0.020751953125, 0.007488250732421875, -0.0059814453125, 0.01470184326171875, 0.00988006591796875, -0.0372314453125, 0.0286865234375, -0.03302001953125, -0.0008487701416015625, 0.001171112060546875, 0.0047760009765625, -0.0433349609375, 0.0015344619750976562, -0.00844573974609375, -0.02783203125, -0.0247039794921875, -0.0159149169921875, -0.0604248046875, 0.1265869140625, 0.025390625, -0.0012121200561523438, -0.0046844482421875, 0.0648193359375, -0.07110595703125, 0.02490234375, -0.0123291015625, 0.0288848876953125, -0.0458984375, -0.0011653900146484375, -0.042755126953125, 0.0220489501953125, -0.0161895751953125, 0.0270538330078125, 0.0135955810546875, 0.0024871826171875, -0.006683349609375, -0.0501708984375, -0.00890350341796875, 0.037078857421875, -0.007171630859375, 0.022705078125, 0.0206451416015625, 0.011444091796875, 0.0188140869140625, -0.00482177734375, 0.028350830078125, -0.037506103515625, -0.026397705078125, 0.043212890625, 0.03070068359375, 0.04217529296875, 0.057464599609375, -0.006450653076171875, -0.0236968994140625, 0.036834716796875, 0.03631591796875, -0.032379150390625, -0.007171630859375, 0.045135498046875, 0.06011962890625, -0.033477783203125, -0.021575927734375, -0.036346435546875, 0.04925537109375, 0.026031494140625, -0.032928466796875, 0.005950927734375, 0.0038909912109375, -0.05755615234375, 0.0130615234375, -0.01532745361328125, 0.0279998779296875, 0.005352020263671875, 0.04339599609375, 0.002841949462890625, 0.0284576416015625, -0.044158935546875, -0.0007863044738769531, 0.06378173828125, 0.056610107421875, -0.03759765625, -0.004947662353515625, 0.02545166015625, 0.0271759033203125, -0.01532745361328125, -0.045257568359375, -0.0206451416015625, -0.0313720703125, 0.02191162109375, 0.00933074951171875, -0.005039215087890625, 0.041015625, 0.01181793212890625, 0.023162841796875, 0.0276031494140625, -0.031341552734375, -0.0158843994140625, -0.08148193359375, 0.035675048828125, 0.01224517822265625, 0.0665283203125, 0.0328369140625, 0.055633544921875, 0.0148773193359375, -0.027587890625, -0.00323486328125, 0.038665771484375, 0.045806884765625, -0.0196990966796875, 0.013275146484375, -0.00399017333984375, 0.0242462158203125, 0.0024394989013671875, 0.0489501953125, 0.037872314453125, 0.06427001953125, 0.047332763671875, 0.00402069091796875, 0.0034160614013671875, -0.01141357421875, -0.00821685791015625, 0.0135345458984375, 0.01971435546875, 0.0119171142578125, 0.0010499954223632812, -0.0309295654296875, -0.0167999267578125, 0.07745361328125, -0.01079559326171875, -0.0229644775390625, 0.01425933837890625, 0.0033626556396484375, -0.0233001708984375, 0.050384521484375, 0.0107421875, 0.04986572265625, 0.01678466796875, -0.0498046875, -0.01551055908203125, 0.007518768310546875, -0.051116943359375, 0.0160980224609375, 0.03460693359375, -0.037506103515625, 0.032806396484375, -0.0399169921875, -0.00884246826171875, 0.03155517578125, -0.0106964111328125, 0.0082855224609375, 0.03643798828125, 0.0159454345703125, -0.01544189453125, -0.01708984375, -0.00921630859375, 0.0021648406982421875, 0.0165557861328125, 0.007415771484375, -0.0015077590942382812, 0.0211029052734375, 0.018829345703125, -0.038970947265625, 0.0117034912109375, -0.019561767578125, -0.0126800537109375, -0.0126800537109375, 0.020751953125, -0.00030350685119628906, -0.011383056640625, -0.036956787109375, 0.03814697265625, 0.0216217041015625, 0.00893402099609375, 0.040496826171875, -0.0241546630859375, 0.01183319091796875, -0.0247344970703125, 0.01145172119140625, -0.016876220703125, -0.006267547607421875, 0.00363922119140625, 0.00713348388671875, 0.020172119140625, 0.022369384765625, 0.0015916824340820312, 0.006275177001953125, -0.0203857421875, -0.007335662841796875, 0.0234375, -0.0127716064453125, 0.0212554931640625, 0.034515380859375, -0.039398193359375, -0.005756378173828125, 0.03680419921875, 0.004604339599609375, 0.025421142578125, 0.0262451171875, 0.03240966796875, 0.02508544921875, 0.006134033203125, -0.047149658203125, 0.01471710205078125, 0.035491943359375, 0.006221771240234375, 0.03668212890625, -0.0545654296875, -0.00885772705078125, 0.0079193115234375, 0.032196044921875, -0.03424072265625, -0.037384033203125, 0.00353240966796875, 0.01995849609375, -0.02734375, -0.01580810546875, -0.09918212890625, -0.0033321380615234375, -0.00882720947265625, -0.02008056640625, -0.023040771484375, 0.0210113525390625, -0.023773193359375, 0.0169830322265625, -0.022216796875, -0.02728271484375, 0.0220184326171875, 0.05224609375, -0.033935546875, -0.03790283203125, -0.04254150390625, 0.002590179443359375, -0.0631103515625, -0.0008292198181152344, 0.025604248046875, -0.00994873046875, -0.021331787109375, -0.013336181640625, 0.01220703125, 0.035888671875, 0.0072174072265625, 0.00925445556640625, 0.0292510986328125, 0.0176239013671875, -0.039520263671875, -0.10992431640625, -0.00624847412109375, -0.02972412109375, 0.0177764892578125, 0.00550079345703125, 0.0007715225219726562, 0.0142059326171875, -0.0311279296875, -0.05303955078125, 0.0010995864868164062, 0.010009765625, -0.0330810546875, -0.0054473876953125, -0.006988525390625, -0.01097869873046875, 0.0180206298828125, 0.0002968311309814453, -0.0255889892578125, -0.0215301513671875, 0.015655517578125, -0.007114410400390625, 0.0465087890625, 0.01453399658203125, -0.0200347900390625, -0.0147552490234375, -0.010772705078125, -0.01568603515625, 0.0053863525390625, -0.00945281982421875, -0.01416778564453125, 0.02337646484375, 0.0234527587890625, -0.037384033203125, -0.01873779296875, -0.00044465065002441406, 0.00440216064453125, -0.039398193359375, -0.048980712890625, -0.051239013671875, -0.0211181640625, 0.10736083984375, 0.09039306640625, 0.0257110595703125, -0.0574951171875, 0.050048828125, -0.0003314018249511719, -0.038604736328125, 0.0163116455078125, 0.00525665283203125, -0.006061553955078125, 0.0012645721435546875, 0.005924224853515625, -0.0008640289306640625, -0.00261688232421875, -0.00894927978515625, -0.02825927734375, -0.0243682861328125, -0.031951904296875, -0.02471923828125, -0.0273895263671875, -0.041290283203125, 0.095703125, -0.045166015625, 0.004787445068359375, 0.028106689453125, 0.0280303955078125, 0.0498046875, 0.0279083251953125, -0.00957489013671875, 0.013671875, -0.037322998046875, 0.0123291015625, -0.01495361328125, 0.062744140625, -0.047515869140625, -0.0204010009765625, -0.0221710205078125, 0.004795074462890625, 0.009765625, -0.0218048095703125, -0.0172882080078125, 0.054534912109375, 0.007965087890625, 0.07232666015625, -0.01654052734375, 0.0156707763671875, -0.023284912109375, 0.04669189453125, -0.00417327880859375, -0.00849151611328125, 0.0152587890625, -0.006336212158203125, -0.00506591796875, 0.0267791748046875, 0.003070831298828125, -0.0306243896484375, -0.01287841796875, 0.007343292236328125, 0.0170745849609375, -0.00244140625 ]
c2e87bdf3db00f6cc5ec8859a252491a1dc1b6ea
Wordpress Stackexchange Q: WP-CLI over SSH - wp command not found I'm stuck trying to do the remote SSH with WP-CLI. I have installed WP-CLI on my Webfaction server and tested it's working # This is in server $ wp --info OS: Linux web561.webfaction.com 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Shell: /bin/bash PHP binary: /usr/local/bin/php56 PHP version: 5.6.40 php.ini used: /usr/local/lib/php56/php.ini But whenever I tried to do remote access (I'm on Windows10 using GitBash), I get this error: # This is in my local comp $ wp @staging --info [email protected]'s password: bash: wp: command not found I'm sure there's nothing wrong with the @staging alias. Path is definitely correct too because when I change it to non-existent directory, it gives No such file or directory error. Have anyone experienced this problem before? Thanks A: Found a solution here https://github.com/hrsetyono/wordpress/wiki/WP-CLI-on-Webfaction . This seems to be Webfaction specific issue You simply need to open FTP and append this line in /home/yourname/.bashrc export PATH=$PATH:$HOME/bin
Q: WP-CLI over SSH - wp command not found I'm stuck trying to do the remote SSH with WP-CLI. I have installed WP-CLI on my Webfaction server and tested it's working # This is in server $ wp --info OS: Linux web561.webfaction.com 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Shell: /bin/bash PHP binary: /usr/local/bin/php56 PHP version: 5.6.40 php.ini used: /usr/local/lib/php56/php.ini But whenever I tried to do remote access (I'm on Windows10 using GitBash), I get this error: # This is in my local comp $ wp @staging --info [email protected]'s password: bash: wp: command not found I'm sure there's nothing wrong with the @staging alias. Path is definitely correct too because when I change it to non-existent directory, it gives No such file or directory error. Have anyone experienced this problem before? Thanks A: Found a solution here https://github.com/hrsetyono/wordpress/wiki/WP-CLI-on-Webfaction . This seems to be Webfaction specific issue You simply need to open FTP and append this line in /home/yourname/.bashrc export PATH=$PATH:$HOME/bin A: I know this might be trivial, - but it was my solution. I simply hadn't installed WP-CLI on my machine. So I followed the install instructions here: wp-cli - and then it worked for me.
wordpress
{ "language": "en", "length": 199, "provenance": "stackexchange_00019.jsonl.gz:496022", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/340432" }
[ -0.0262298583984375, -0.003986358642578125, -0.041961669921875, -0.00004392862319946289, 0.007106781005859375, -0.023162841796875, 0.0253143310546875, 0.007518768310546875, -0.001964569091796875, 0.0120086669921875, -0.0175323486328125, -0.005420684814453125, -0.01555633544921875, -0.0257415771484375, 0.008209228515625, -0.042510986328125, 0.00867462158203125, 0.007488250732421875, 0.010284423828125, -0.01187896728515625, -0.034393310546875, -0.0013437271118164062, 0.040802001953125, -0.027008056640625, 0.03717041015625, -0.0307464599609375, 0.0789794921875, -0.0014619827270507812, 0.0137481689453125, -0.00464630126953125, 0.027618408203125, -0.036285400390625, 0.052093505859375, -0.006168365478515625, -0.042938232421875, -0.0219573974609375, -0.00982666015625, -0.00262451171875, -0.04180908203125, 0.0287933349609375, -0.03302001953125, 0.0188446044921875, 0.043365478515625, 0.04461669921875, -0.028839111328125, -0.0081787109375, -0.04425048828125, -0.0367431640625, 0.0195465087890625, 0.027130126953125, -0.02313232421875, 0.0108795166015625, -0.0165252685546875, 0.0308990478515625, 0.0021800994873046875, -0.022918701171875, -0.004352569580078125, 0.0224761962890625, 0.01004791259765625, -0.040283203125, -0.0221710205078125, 0.02496337890625, 0.019989013671875, 0.04132080078125, 0.00730133056640625, -0.0159912109375, 0.0433349609375, 0.0249786376953125, -0.04376220703125, -0.006927490234375, 0.0445556640625, -0.0039520263671875, 0.0179443359375, 0.014068603515625, -0.00122833251953125, -0.03509521484375, 0.0098876953125, -0.0069427490234375, 0.03326416015625, 0.01061248779296875, 0.036346435546875, -0.004241943359375, -0.0457763671875, -0.0384521484375, 0.041229248046875, 0.0118560791015625, 0.0017042160034179688, -0.01470184326171875, 0.01529693603515625, 0.01491546630859375, -0.0018796920776367188, -0.0167694091796875, -0.01422119140625, 0.058135986328125, 0.0006175041198730469, -0.021270751953125, -0.0210723876953125, -0.0287322998046875, -0.0066070556640625, 0.02923583984375, 0.056854248046875, -0.050567626953125, 0.06134033203125, -0.01241302490234375, -0.016021728515625, 0.04736328125, 0.0211639404296875, 0.0372314453125, -0.00443267822265625, 0.005054473876953125, -0.0084381103515625, -0.05267333984375, 0.01432037353515625, -0.007457733154296875, -0.004322052001953125, 0.0013256072998046875, -0.0214385986328125, 0.03875732421875, -0.007476806640625, 0.04766845703125, 0.003025054931640625, 0.0248870849609375, -0.0389404296875, 0.0204315185546875, 0.008819580078125, 0.0285491943359375, 0.035369873046875, -0.03338623046875, -0.07220458984375, 0.02264404296875, -0.009429931640625, 0.01520538330078125, 0.026092529296875, 0.03558349609375, -0.007656097412109375, -0.007274627685546875, 0.0294189453125, -0.01493072509765625, 0.007129669189453125, 0.0084686279296875, 0.0011034011840820312, -0.00940704345703125, 0.023956298828125, 0.002643585205078125, 0.007228851318359375, 0.0261383056640625, 0.0220947265625, 0.005794525146484375, -0.0167999267578125, -0.0352783203125, 0.0004596710205078125, 0.00406646728515625, 0.0128631591796875, 0.022430419921875, 0.071533203125, -0.0237274169921875, 0.08233642578125, -0.059539794921875, 0.0101318359375, -0.021942138671875, 0.0072021484375, -0.0251312255859375, 0.016204833984375, -0.007511138916015625, -0.03125, 0.042877197265625, -0.04022216796875, -0.0223236083984375, 0.01519775390625, -0.0163421630859375, 0.014190673828125, 0.005390167236328125, 0.03155517578125, -0.0009570121765136719, -0.006923675537109375, 0.01273345947265625, 0.026763916015625, 0.006134033203125, 0.02740478515625, 0.032958984375, -0.0014200210571289062, -0.024627685546875, 0.0643310546875, -0.0213623046875, -0.04315185546875, -0.00563812255859375, 0.01763916015625, 0.056488037109375, 0.04156494140625, 0.037994384765625, -0.0011491775512695312, -0.00664520263671875, 0.003536224365234375, -0.005474090576171875, -0.0254364013671875, -0.006687164306640625, 0.002620697021484375, 0.016571044921875, -0.01393890380859375, 0.006195068359375, 0.0225372314453125, -0.01210784912109375, -0.001796722412109375, -0.0149078369140625, -0.071044921875, -0.01190185546875, -0.0243682861328125, 0.0255126953125, 0.031768798828125, -0.0254669189453125, -0.00952911376953125, -0.0236968994140625, 0.055938720703125, -0.100830078125, -0.05987548828125, 0.052032470703125, -0.066650390625, 0.053802490234375, -0.0179901123046875, 0.07427978515625, -0.05059814453125, -0.050689697265625, -0.0127410888671875, -0.051300048828125, 0.0028228759765625, 0.0084381103515625, -0.01708984375, 0.0093994140625, 0.0015211105346679688, 0.01202392578125, 0.0360107421875, -0.0002682209014892578, -0.03387451171875, 0.03924560546875, -0.0254669189453125, 0.0030307769775390625, -0.020751953125, 0.03863525390625, 0.0228729248046875, 0.00339508056640625, 0.03924560546875, 0.0221405029296875, 0.0095672607421875, -0.0222625732421875, 0.047149658203125, -0.0254364013671875, 0.034912109375, -0.049224853515625, -0.01548004150390625, -0.03765869140625, -0.0005831718444824219, -0.0170440673828125, 0.043670654296875, -0.01319122314453125, -0.0113677978515625, 0.0252227783203125, -0.0020923614501953125, -0.0299530029296875, 0.00374603271484375, -0.033172607421875, 0.041046142578125, -0.092529296875, -0.10406494140625, -0.003082275390625, -0.012176513671875, -0.0302581787109375, -0.0212860107421875, -0.0177001953125, -0.00763702392578125, -0.007312774658203125, 0.03271484375, -0.0428466796875, 0.03436279296875, 0.025543212890625, -0.019927978515625, 0.055694580078125, -0.03314208984375, -0.014404296875, 0.052978515625, 0.03143310546875, 0.0201263427734375, 0.039306640625, 0.049713134765625, -0.01171112060546875, 0.006694793701171875, -0.01555633544921875, 0.015350341796875, 0.013824462890625, 0.0237884521484375, 0.02130126953125, 0.04486083984375, 0.0018053054809570312, -0.00138092041015625, 0.0161590576171875, -0.016845703125, -0.0216827392578125, 0.052154541015625, -0.0009336471557617188, 0.014190673828125, -0.0034275054931640625, 0.0264739990234375, 0.037811279296875, 0.006114959716796875, -0.030609130859375, -0.0012426376342773438, 0.04827880859375, 0.00551605224609375, 0.004863739013671875, -0.0179290771484375, -0.01198577880859375, -0.047760009765625, -0.02294921875, 0.0202484130859375, -0.035308837890625, -0.01381683349609375, -0.0386962890625, -0.038818359375, -0.037322998046875, -0.1405029296875, -0.10791015625, -0.0058135986328125, -0.09417724609375, 0.027313232421875, -0.007232666015625, -0.043121337890625, -0.01136016845703125, 0.035858154296875, 0.0151214599609375, 0.015777587890625, -0.0263671875, -0.019195556640625, -0.051483154296875, -0.047119140625, -0.055999755859375, -0.0077972412109375, -0.0186920166015625, -0.0048675537109375, 0.08917236328125, 0.004810333251953125, -0.06719970703125, -0.006103515625, 0.04779052734375, 0.006000518798828125, 0.031036376953125, -0.030181884765625, -0.033538818359375, 0.0482177734375, -0.027191162109375, 0.06549072265625, 0.0153350830078125, 0.010162353515625, 0.01389312744140625, 0.019989013671875, -0.016265869140625, -0.01259613037109375, 0.053192138671875, -0.007472991943359375, -0.063232421875, -0.0263519287109375, -0.087158203125, 0.030487060546875, -0.053131103515625, -0.016082763671875, 0.08013916015625, 0.038818359375, -0.00379180908203125, -0.020843505859375, 0.0204620361328125, 0.00746917724609375, 0.029144287109375, 0.01422882080078125, 0.0103302001953125, 0.0116729736328125, -0.015380859375, -0.01374053955078125, -0.03759765625, 0.046173095703125, -0.01071929931640625, -0.017669677734375, 0.011383056640625, -0.016937255859375, -0.0238189697265625, -0.01331329345703125, -0.044464111328125, -0.0196075439453125, 0.030303955078125, -0.002841949462890625, 0.0101318359375, -0.0140838623046875, -0.0187835693359375, -0.002544403076171875, 0.047576904296875, -0.00372314453125, -0.048736572265625, -0.01306915283203125, 0.0285491943359375, -0.03857421875, -0.0189666748046875, 0.04864501953125, -0.0205230712890625, -0.062744140625, -0.00104522705078125, 0.006298065185546875, -0.050628662109375, 0.0234375, -0.09307861328125, -0.04248046875, -0.0572509765625, 0.034332275390625, -0.06658935546875, 0.0224761962890625, 0.00656890869140625, 0.00579833984375, -0.0149993896484375, -0.02459716796875, -0.044830322265625, -0.05938720703125, 0.0019989013671875, -0.05731201171875, 0.02130126953125, -0.008026123046875, 0.056854248046875, -0.00934600830078125, 0.031585693359375, 0.0516357421875, -0.004016876220703125, 0.0635986328125, -0.0295257568359375, 0.024322509765625, 0.0321044921875, 0.056732177734375, -0.027923583984375, -0.00933837890625, -0.025421142578125, -0.044708251953125, 0.0018186569213867188, 0.00020837783813476562, 0.030426025390625, 0.02117919921875, -0.0313720703125, -0.024200439453125, -0.0178070068359375, -0.044647216796875, 0.01776123046875, -0.03387451171875, 0.0005755424499511719, -0.061676025390625, -0.03509521484375, 0.039947509765625, -0.0372314453125, 0.0013446807861328125, 0.00820159912109375, 0.03924560546875, 0.006595611572265625, -0.020355224609375, 0.0016040802001953125, -0.014984130859375, 0.0160064697265625, 0.01468658447265625, 0.035369873046875, 0.02191162109375, 0.0004074573516845703, 0.006313323974609375, 0.0145721435546875, 0.007106781005859375, 0.0212860107421875, -0.033294677734375, 0.05389404296875, 0.0080108642578125, -0.033233642578125, 0.06036376953125, -0.00737762451171875, 0.01129150390625, 0.01256561279296875, -0.00798797607421875, 0.012542724609375, 0.0225372314453125, 0.026580810546875, -0.039794921875, -0.037689208984375, -0.069091796875, 0.028717041015625, -0.1258544921875, 0.04840087890625, 0.02557373046875, -0.01800537109375, 0.04559326171875, -0.019683837890625, -0.01438140869140625, 0.0234375, -0.0031604766845703125, -0.024505615234375, 0.02569580078125, -0.0077972412109375, -0.04644775390625, 0.0333251953125, -0.014068603515625, 0.07330322265625, 0.0243072509765625, -0.0296478271484375, 0.0151519775390625, -0.01132965087890625, -0.011627197265625, -0.0137481689453125, 0.017242431640625, 0.033782958984375, -0.011383056640625, 0.00794219970703125, -0.003154754638671875, 0.01503753662109375, -0.047882080078125, -0.02569580078125, 0.023956298828125, -0.0205535888671875, 0.00396728515625, 0.01617431640625, 0.0305633544921875, -0.03167724609375, 0.019744873046875, -0.0003113746643066406, 0.0131988525390625, 0.01548004150390625, 0.00955963134765625, 0.0088958740234375, 0.0255126953125, 0.001041412353515625, -0.01082611083984375, 0.016357421875, -0.0269317626953125, -0.0188140869140625, 0.045562744140625, 0.04510498046875, 0.0145111083984375, -0.0024261474609375, -0.01273345947265625, -0.00904083251953125, -0.004398345947265625, 0.0057830810546875, 0.0265350341796875, 0.00957489013671875, -0.00830078125, -0.0100555419921875, 0.0131072998046875, 0.0333251953125, -0.0183563232421875, 0.0166778564453125, -0.023162841796875, 0.01409149169921875, 0.0711669921875, -0.02459716796875, -0.014556884765625, -0.0027618408203125, 0.00429534912109375, -0.0179443359375, -0.0216217041015625, 0.00872802734375, -0.0166168212890625, -0.0053253173828125, -0.01349639892578125, 0.031219482421875, -0.01323699951171875, -0.006420135498046875, -0.0219879150390625, -0.00015723705291748047, -0.022430419921875, 0.0047607421875, 0.0543212890625, 0.02276611328125, -0.03460693359375, 0.01971435546875, -0.0107574462890625, -0.01934814453125, 0.03582763671875, -0.01177978515625, -0.04913330078125, -0.050628662109375, 0.0004189014434814453, -0.01763916015625, 0.00301361083984375, -0.00316619873046875, -0.050018310546875, 0.051727294921875, 0.050018310546875, 0.01056671142578125, -0.01276397705078125, 0.0188751220703125, -0.0074615478515625, 0.0092926025390625, -0.007061004638671875, 0.0156097412109375, 0.0017375946044921875, -0.005184173583984375, 0.035858154296875, -0.00746917724609375, -0.0249176025390625, -0.046539306640625, 0.0269927978515625, -0.01203155517578125, 0.031707763671875, -0.012298583984375, -0.01136016845703125, 0.01500701904296875, -0.0006442070007324219, -0.0175323486328125, 0.036590576171875, 0.041046142578125, 0.01611328125, 0.015350341796875, -0.03582763671875, 0.0220794677734375, -0.0032138824462890625, 0.0165252685546875, -0.0208740234375, -0.036285400390625, -0.01155853271484375, 0.047607421875, -0.057952880859375, 0.072021484375, 0.10101318359375, 0.004180908203125, 0.06878662109375, 0.01326751708984375, 0.01015472412109375, 0.0266876220703125, 0.0155181884765625, -0.03564453125, -0.004673004150390625, 0.027130126953125, -0.005588531494140625, -0.038330078125, -0.00640869140625, -0.02813720703125, -0.0187835693359375, 0.0176544189453125, 0.0278167724609375, -0.01409149169921875, -0.0032100677490234375, -0.00475311279296875, -0.022491455078125, 0.006855010986328125, 0.020233154296875, -0.041900634765625, -0.043670654296875, 0.00034427642822265625, 0.0081024169921875, -0.00281524658203125, 0.0226287841796875, 0.04193115234375, -0.00612640380859375, 0.00012028217315673828, -0.0098724365234375, -0.0016632080078125, -0.035919189453125, 0.00850677490234375, 0.023468017578125, 0.013336181640625, -0.032440185546875, 0.007061004638671875, -0.0016689300537109375, -0.0174713134765625, -0.06781005859375, 0.00524139404296875, -0.0132904052734375, -0.021697998046875, 0.056060791015625, 0.0010480880737304688, 0.04071044921875, 0.043426513671875, 0.000263214111328125, 0.0151519775390625, -0.0015897750854492188, 0.0149688720703125, 0.005035400390625, -0.01346588134765625, 0.00991058349609375, 0.0460205078125, -0.084716796875, 0.0099334716796875, -0.0296478271484375, 0.036529541015625, -0.0028362274169921875, 0.0083770751953125, 0.0604248046875, -0.023956298828125, -0.0221405029296875, 0.0673828125, 0.003559112548828125, -0.038238525390625, 0.00409698486328125, 0.0457763671875, -0.061767578125, -0.04425048828125, 0.0268096923828125, -0.0207366943359375, -0.0262451171875, 0.0076751708984375, -0.009185791015625, 0.08319091796875, 0.000640869140625, -0.00737762451171875, 0.0264434814453125, 0.03839111328125, -0.026336669921875, 0.0231475830078125, -0.0182037353515625, 0.046722412109375, -0.0081787109375, 0.041046142578125, -0.044830322265625, -0.01511383056640625, 0.032440185546875, 0.049468994140625, 0.02203369140625, 0.00859832763671875, -0.01311492919921875, -0.01213836669921875, 0.02557373046875, -0.0015840530395507812, -0.01200103759765625, 0.0460205078125, 0.01319122314453125, -0.0205841064453125, -0.0049285888671875, 0.0172576904296875, 0.0237884521484375, -0.034088134765625, -0.023773193359375, 0.028533935546875, 0.048553466796875, 0.05609130859375, -0.0025005340576171875, 0.021209716796875, -0.037353515625, 0.0125732421875, 0.039337158203125, -0.003566741943359375, 0.0116729736328125, -0.01190948486328125, -0.01351165771484375, -0.020782470703125, -0.01123046875, -0.01512908935546875, 0.0272369384765625, -0.0177154541015625, 0.0014867782592773438, 0.0250701904296875, 0.01763916015625, 0.0279083251953125, -0.00479888916015625, -0.001129150390625, 0.0167999267578125, 0.00501251220703125, 0.035308837890625, 0.0123291015625, 0.034454345703125, -0.0240325927734375, 0.04736328125, 0.0236663818359375, 0.040313720703125, -0.051239013671875, -0.041015625, 0.0107421875, 0.0295562744140625, 0.006816864013671875, 0.0011625289916992188, -0.002811431884765625, 0.00896453857421875, 0.063720703125, 0.0030841827392578125, 0.0159759521484375, 0.0225067138671875, -0.0158233642578125, 0.0169525146484375, 0.0157012939453125, -0.0196380615234375, 0.039825439453125, -0.0291595458984375, 0.01136016845703125, 0.015655517578125, 0.05322265625, 0.0091705322265625, 0.049896240234375, -0.018402099609375, -0.0157318115234375, -0.0135498046875, 0.00868988037109375, 0.0244293212890625, 0.0004360675811767578, -0.0269317626953125, -0.021331787109375, 0.04620361328125, 0.040771484375, 0.01114654541015625, 0.044281005859375, 0.0289306640625, 0.015625, -0.022003173828125, -0.0006976127624511719, 0.06878662109375, -0.0285186767578125, -0.0036296844482421875, 0.0107421875, 0.0040740966796875, 0.01507568359375, -0.0213165283203125, -0.0248260498046875, 0.05902099609375, 0.006595611572265625, -0.02203369140625, 0.0843505859375, -0.014678955078125, 0.025909423828125, -0.00878143310546875, -0.03436279296875, 0.008392333984375, -0.00101470947265625, 0.00916290283203125, -0.01534271240234375, 0.01708984375, 0.0213165283203125, -0.0186309814453125, 0.0133209228515625, 0.021209716796875, 0.00792694091796875, 0.0394287109375, -0.03875732421875, 0.0192108154296875, 0.022735595703125, 0.018768310546875, -0.025543212890625, 0.005001068115234375, -0.014495849609375, 0.01433563232421875, -0.0263824462890625, -0.033294677734375, 0.0867919921875, 0.0232391357421875, 0.0655517578125, -0.052032470703125, 0.04644775390625, 0.002471923828125, 0.03692626953125, -0.033721923828125, 0.00826263427734375, -0.004230499267578125, 0.005107879638671875, 0.006473541259765625, -0.01532745361328125, -0.06787109375, 0.0115814208984375, 0.0089263916015625, 0.018218994140625, 0.01515960693359375, -0.03460693359375, 0.0263214111328125, 0.0248565673828125, 0.0125885009765625, -0.028076171875, -0.05316162109375, -0.058929443359375, -0.0008258819580078125, 0.01541900634765625, 0.048614501953125, -0.0011644363403320312, 0.026947021484375, -0.01468658447265625, -0.029754638671875, 0.0076904296875, -0.0458984375, -0.0184783935546875, 0.00946807861328125, 0.024261474609375, 0.0069122314453125, -0.023834228515625, -0.0155487060546875, -0.028289794921875, 0.0268096923828125, -0.044036865234375, 0.002593994140625, -0.0123443603515625, -0.0230712890625, 0.00524139404296875, 0.016937255859375, -0.010009765625, 0.006076812744140625, -0.028900146484375, -0.018585205078125, 0.0179443359375, -0.05010986328125, -0.0243988037109375, -0.041107177734375, 0.0124053955078125, 0.0291900634765625, -0.0150909423828125, -0.016876220703125, -0.03582763671875, -0.009918212890625, -0.000682830810546875, -0.00775909423828125, -0.0024204254150390625, 0.0007672309875488281, -0.019439697265625, -0.01300048828125, -0.0035877227783203125, -0.00899505615234375, -0.0145263671875, -0.0189971923828125, -0.01418304443359375, -0.043792724609375, -0.0303192138671875, 0.058380126953125, -0.0144805908203125, -0.0013246536254882812, 0.011749267578125, 0.0011148452758789062, -0.01364898681640625, -0.0008244514465332031, -0.0211029052734375, 0.045379638671875, -0.0300445556640625, -0.0229034423828125, -0.00948333740234375, -0.0006046295166015625, -0.021331787109375, -0.03240966796875, 0.037322998046875, -0.04833984375, -0.033050537109375, -0.0125274658203125, 0.013702392578125, 0.00827789306640625, -0.0540771484375, -0.10150146484375, 0.048095703125, -0.00917816162109375, -0.028839111328125, -0.05963134765625, -0.054779052734375, -0.032958984375, 0.050537109375, -0.02801513671875, -0.01265716552734375, -0.0130157470703125, 0.107177734375, 0.00637054443359375, 0.02410888671875, -0.00768280029296875, -0.00905609130859375, -0.010986328125, 0.022125244140625, 0.02459716796875, 0.0100250244140625, 0.0290374755859375, 0.0016222000122070312, 0.0280609130859375, 0.0452880859375, -0.034759521484375, 0.01274871826171875, -0.0215301513671875, -0.0242767333984375, 0.00920867919921875, -0.01001739501953125, -0.03497314453125, -0.0243682861328125, 0.0465087890625, 0.01507568359375, 0.0189361572265625, -0.007175445556640625, -0.065185546875, -0.039520263671875, 0.0367431640625, -0.0261993408203125, -0.005725860595703125, -0.045196533203125, 0.006496429443359375, -0.035125732421875, 0.024078369140625, -0.00647735595703125, 0.01276397705078125, 0.00702667236328125, -0.039520263671875, 0.0104827880859375, -0.0159454345703125, -0.022064208984375, -0.0231781005859375, 0.0648193359375, -0.033935546875, 0.0135498046875, -0.00044536590576171875, 0.032318115234375, 0.039306640625, 0.0002148151397705078, -0.056488037109375, 0.0106353759765625, -0.0136566162109375, 0.028167724609375, -0.0289306640625, 0.026580810546875, -0.041412353515625, 0.027862548828125, 0.0267486572265625, 0.0125885009765625, -0.0255279541015625, 0.0219879150390625, 0.042755126953125, -0.01129913330078125, -0.038604736328125, 0.0212554931640625, -0.01398468017578125, -0.046722412109375, -0.049591064453125, 0.041748046875, -0.019561767578125, 0.01209259033203125, 0.003444671630859375, 0.047576904296875, 0.01047515869140625, -0.00417327880859375, 0.0132904052734375, -0.0278472900390625, 0.031005859375, 0.08319091796875, -0.0068511962890625, 0.019927978515625 ]
83035860dd6d5c00cbcaa90a3434b9c7c44f6444
Wordpress Stackexchange Q: Query Post Preview Updates from the WP API? Is there a way to query previews made to updates of already published Posts via the WP API? For example, I am making updates to a post that has already been published, I click the preview button, and it takes me a url similar to http://example.com/my-post/?preview_id=219&preview_nonce=ff84df100b&preview=true&_thumbnail_id=245 Is there a way access that content via the API? I am working on a headless WP project and need a way display the preview in our custom front end. I can display posts that are in Draft status, as well as posts that have been published, by hitting the API. It is this last case of published posts that have additional updates that I cannot seem to figure out. Any help is appreciated, thanks! A: Figured it out. There is a revisions endpoint that you can query that will return the latest autosaved update. https://developer.wordpress.org/rest-api/reference/post-revisions/
Q: Query Post Preview Updates from the WP API? Is there a way to query previews made to updates of already published Posts via the WP API? For example, I am making updates to a post that has already been published, I click the preview button, and it takes me a url similar to http://example.com/my-post/?preview_id=219&preview_nonce=ff84df100b&preview=true&_thumbnail_id=245 Is there a way access that content via the API? I am working on a headless WP project and need a way display the preview in our custom front end. I can display posts that are in Draft status, as well as posts that have been published, by hitting the API. It is this last case of published posts that have additional updates that I cannot seem to figure out. Any help is appreciated, thanks! A: Figured it out. There is a revisions endpoint that you can query that will return the latest autosaved update. https://developer.wordpress.org/rest-api/reference/post-revisions/
wordpress
{ "language": "en", "length": 151, "provenance": "stackexchange_00019.jsonl.gz:496057", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/340536" }
[ 0.010467529296875, -0.01166534423828125, 0.0035419464111328125, -0.024078369140625, -0.003528594970703125, -0.01220703125, 0.016021728515625, -0.0283660888671875, 0.018402099609375, 0.040130615234375, -0.056488037109375, -0.005680084228515625, 0.023773193359375, 0.0124969482421875, -0.036468505859375, -0.050018310546875, 0.061370849609375, -0.028289794921875, 0.051788330078125, 0.0236053466796875, -0.0306549072265625, 0.0706787109375, 0.06158447265625, 0.032196044921875, 0.00925445556640625, 0.039764404296875, 0.0438232421875, -0.0276336669921875, 0.0074920654296875, -0.0099639892578125, 0.01519012451171875, -0.036407470703125, 0.031280517578125, 0.01226806640625, -0.019775390625, 0.0218353271484375, 0.051544189453125, -0.024322509765625, -0.001262664794921875, 0.043853759765625, 0.00942230224609375, 0.00554656982421875, -0.02996826171875, -0.008819580078125, -0.035980224609375, -0.008544921875, -0.0192718505859375, -0.030487060546875, 0.013702392578125, 0.045257568359375, 0.005855560302734375, -0.01439666748046875, -0.004337310791015625, 0.049713134765625, -0.0115203857421875, -0.0187835693359375, 0.006103515625, 0.025115966796875, 0.0421142578125, -0.048248291015625, -0.041748046875, -0.0011034011840820312, 0.021026611328125, 0.004344940185546875, -0.032257080078125, 0.004528045654296875, 0.08123779296875, 0.0005717277526855469, -0.00951385498046875, -0.04840087890625, 0.00011557340621948242, 0.0299835205078125, -0.006855010986328125, -0.025726318359375, 0.00809478759765625, -0.007427215576171875, -0.01009368896484375, -0.0252838134765625, -0.0052032470703125, 0.02862548828125, 0.00968170166015625, -0.0015268325805664062, -0.01837158203125, -0.0269622802734375, 0.01513671875, -0.0094757080078125, -0.01126861572265625, -0.0123443603515625, -0.0240936279296875, -0.021392822265625, -0.021942138671875, -0.07061767578125, -0.0190277099609375, 0.020843505859375, -0.00591278076171875, -0.02838134765625, 0.0211181640625, 0.043792724609375, 0.0009341239929199219, 0.01407623291015625, -0.01340484619140625, -0.04254150390625, 0.0009322166442871094, -0.030731201171875, 0.00460052490234375, 0.0160064697265625, 0.018218994140625, 0.02166748046875, 0.04248046875, 0.0265960693359375, -0.00992584228515625, 0.05389404296875, -0.018035888671875, -0.00415802001953125, -0.04095458984375, 0.028656005859375, -0.0244598388671875, -0.0050811767578125, -0.0052032470703125, 0.017181396484375, 0.00470733642578125, 0.016998291015625, -0.022125244140625, -0.00832366943359375, 0.0438232421875, 0.015106201171875, -0.0289459228515625, 0.017181396484375, 0.007183074951171875, 0.0163421630859375, -0.00991058349609375, 0.007488250732421875, 0.02471923828125, 0.0161895751953125, -0.01114654541015625, -0.013671875, -0.0136871337890625, 0.0102996826171875, -0.004474639892578125, -0.00734710693359375, -0.0226287841796875, 0.0024127960205078125, 0.03375244140625, -0.0489501953125, 0.0011930465698242188, 0.0103912353515625, 0.0140228271484375, 0.02044677734375, 0.01922607421875, 0.01123809814453125, -0.032989501953125, 0.0226898193359375, 0.00629425048828125, 0.0160980224609375, 0.03704833984375, -0.0601806640625, 0.06646728515625, -0.072265625, 0.050537109375, -0.05035400390625, 0.0443115234375, 0.01125335693359375, -0.0025653839111328125, -0.006244659423828125, -0.0465087890625, 0.0003998279571533203, -0.048126220703125, -0.0209503173828125, 0.02008056640625, 0.055145263671875, -0.0014858245849609375, -0.0279083251953125, 0.032196044921875, 0.01239776611328125, -0.027618408203125, -0.0096282958984375, 0.04193115234375, -0.03466796875, 0.0055999755859375, 0.0241546630859375, -0.03741455078125, -0.01175689697265625, 0.0305328369140625, -0.0266265869140625, -0.0287017822265625, 0.039215087890625, 0.0066375732421875, 0.041534423828125, 0.002712249755859375, 0.00921630859375, -0.0036945343017578125, 0.034576416015625, -0.028656005859375, 0.04522705078125, -0.0176544189453125, -0.0298614501953125, 0.017852783203125, 0.021240234375, -0.00811004638671875, -0.031219482421875, 0.0030975341796875, 0.0218505859375, -0.00272369384765625, 0.008331298828125, -0.06787109375, 0.0224761962890625, -0.026641845703125, 0.045989990234375, -0.0411376953125, 0.017669677734375, 0.0467529296875, 0.010833740234375, -0.05078125, 0.04425048828125, 0.00643157958984375, -0.0018863677978515625, -0.009033203125, 0.0040740966796875, 0.002162933349609375, 0.0167999267578125, 0.0016841888427734375, 0.01459503173828125, -0.0297088623046875, 0.00302886962890625, 0.05828857421875, -0.042205810546875, 0.016815185546875, -0.043792724609375, 0.08514404296875, -0.0300750732421875, 0.026397705078125, 0.01166534423828125, 0.003398895263671875, -0.0008802413940429688, -0.004611968994140625, 0.0049285888671875, 0.0284423828125, -0.06988525390625, 0.01200103759765625, 0.048980712890625, 0.0174713134765625, 0.0026950836181640625, -0.0032901763916015625, 0.033294677734375, 0.0531005859375, -0.00348663330078125, 0.01611328125, 0.0034847259521484375, 0.040435791015625, 0.08056640625, -0.0219573974609375, -0.01451873779296875, 0.0026264190673828125, -0.044281005859375, 0.0253143310546875, 0.0302886962890625, 0.0447998046875, 0.0458984375, -0.05267333984375, 0.039276123046875, -0.0207977294921875, -0.0171661376953125, -0.0168609619140625, -0.0226287841796875, 0.0215911865234375, 0.002658843994140625, 0.06341552734375, 0.06695556640625, 0.0156097412109375, -0.037384033203125, -0.01690673828125, 0.031829833984375, 0.0262908935546875, 0.05889892578125, -0.0286102294921875, 0.00466156005859375, 0.005100250244140625, -0.037109375, 0.045562744140625, 0.03118896484375, -0.0285186767578125, 0.01885986328125, -0.02508544921875, -0.0266876220703125, -0.015655517578125, -0.048370361328125, 0.002964019775390625, -0.045379638671875, -0.007686614990234375, 0.03961181640625, 0.06622314453125, 0.0081024169921875, -0.016143798828125, 0.01763916015625, -0.0265045166015625, 0.005069732666015625, -0.030517578125, -0.09014892578125, 0.0648193359375, -0.035400390625, 0.0533447265625, 0.101806640625, 0.01325225830078125, 0.024200439453125, -0.006103515625, -0.01464080810546875, -0.0295867919921875, 0.01483917236328125, -0.007564544677734375, -0.0177154541015625, -0.07830810546875, 0.001079559326171875, 0.025299072265625, 0.0191192626953125, 0.0007429122924804688, -0.0028514862060546875, -0.01299285888671875, 0.0166473388671875, -0.07342529296875, -0.049163818359375, -0.005710601806640625, -0.05596923828125, -0.00598907470703125, -0.01934814453125, -0.031829833984375, -0.000025570392608642578, -0.00925445556640625, 0.0024871826171875, -0.003940582275390625, -0.0233001708984375, -0.07000732421875, -0.04443359375, -0.0804443359375, 0.00814056396484375, 0.005680084228515625, 0.02899169921875, 0.0179290771484375, 0.07061767578125, 0.01265716552734375, -0.042572021484375, 0.01055145263671875, 0.04669189453125, -0.02923583984375, -0.0032253265380859375, 0.02398681640625, 0.01995849609375, -0.01441192626953125, 0.01242828369140625, 0.018646240234375, 0.039947509765625, -0.053955078125, -0.0188446044921875, -0.034210205078125, -0.0019083023071289062, 0.006591796875, 0.038177490234375, 0.0276336669921875, 0.0284423828125, 0.04998779296875, -0.0158843994140625, 0.007732391357421875, -0.0225067138671875, -0.0389404296875, -0.030242919921875, 0.01258087158203125, -0.0028171539306640625, -0.0205230712890625, -0.0214385986328125, 0.0034313201904296875, 0.0013427734375, 0.040985107421875, -0.024566650390625, 0.04974365234375, -0.0181732177734375, -0.01351165771484375, -0.03668212890625, 0.0019378662109375, -0.007015228271484375, 0.043426513671875, -0.007389068603515625, 0.043792724609375, -0.01690673828125, 0.0172119140625, -0.062744140625, -0.038604736328125, 0.0126190185546875, -0.048492431640625, 0.05487060546875, -0.06884765625, -0.0129547119140625, -0.058929443359375, 0.07666015625, -0.01812744140625, -0.025848388671875, -0.01340484619140625, 0.0208740234375, -0.04510498046875, -0.01537322998046875, -0.00811004638671875, 0.0084228515625, 0.0009984970092773438, 0.004436492919921875, -0.00711822509765625, -0.01044464111328125, -0.039794921875, 0.0015344619750976562, 0.00463104248046875, -0.004413604736328125, 0.02618408203125, 0.000005602836608886719, 0.00901031494140625, -0.003017425537109375, 0.01690673828125, -0.04022216796875, -0.00653839111328125, -0.01021575927734375, -0.065185546875, -0.0048065185546875, 0.017852783203125, 0.0017366409301757812, 0.0088653564453125, -0.061309814453125, -0.01495361328125, 0.009918212890625, 0.0208740234375, 0.049163818359375, -0.00975799560546875, 0.00930023193359375, -0.0130615234375, -0.05242919921875, 0.016693115234375, -0.05755615234375, -0.01171112060546875, -0.029693603515625, -0.0263824462890625, -0.00009572505950927734, -0.03228759765625, 0.016754150390625, -0.036468505859375, -0.0011568069458007812, -0.032989501953125, -0.0224609375, 0.008636474609375, 0.0306396484375, -0.039794921875, 0.0258331298828125, -0.00765228271484375, -0.034423828125, 0.036834716796875, 0.0110321044921875, 0.0019502639770507812, -0.00875091552734375, 0.059967041015625, 0.006397247314453125, -0.030242919921875, -0.00360870361328125, 0.016143798828125, 0.033355712890625, 0.027984619140625, 0.02008056640625, -0.0007419586181640625, -0.03466796875, 0.047637939453125, 0.019622802734375, -0.016326904296875, 0.0198211669921875, -0.006717681884765625, 0.03448486328125, -0.01702880859375, -0.0003685951232910156, 0.033447265625, 0.00040602684020996094, 0.0195770263671875, -0.033416748046875, -0.0272216796875, 0.0111083984375, 0.061767578125, -0.06549072265625, 0.0869140625, -0.017913818359375, -0.022216796875, 0.005542755126953125, 0.05120849609375, 0.004512786865234375, 0.0269317626953125, -0.0038909912109375, 0.0199127197265625, 0.01432037353515625, 0.006031036376953125, -0.0173187255859375, 0.014373779296875, -0.0197601318359375, 0.03228759765625, -0.01529693603515625, -0.005237579345703125, -0.036407470703125, -0.026580810546875, 0.0660400390625, -0.029296875, -0.09185791015625, 0.022979736328125, -0.032928466796875, 0.048675537109375, 0.045196533203125, 0.0017881393432617188, 0.03741455078125, 0.01415252685546875, -0.00551605224609375, -0.010284423828125, -0.0198211669921875, -0.007175445556640625, -0.033599853515625, 0.0301055908203125, 0.0248565673828125, -0.017669677734375, 0.06005859375, 0.0167999267578125, -0.0194244384765625, 0.0435791015625, -0.012451171875, 0.0311431884765625, 0.040313720703125, -0.0068817138671875, 0.010772705078125, 0.040069580078125, 0.00829315185546875, -0.02288818359375, 0.009918212890625, -0.0003802776336669922, -0.0183563232421875, -0.017608642578125, -0.0192108154296875, 0.0019779205322265625, 0.012115478515625, 0.05853271484375, 0.0160675048828125, -0.0214385986328125, -0.004058837890625, 0.031158447265625, 0.01216888427734375, -0.00997161865234375, 0.0252227783203125, 0.0186309814453125, 0.04168701171875, -0.01326751708984375, -0.012054443359375, -0.01021575927734375, 0.0064849853515625, -0.0307159423828125, -0.0279998779296875, 0.0155487060546875, 0.023040771484375, -0.01219940185546875, -0.04583740234375, -0.0330810546875, 0.038177490234375, 0.04437255859375, -0.037872314453125, -0.032196044921875, 0.06390380859375, -0.0099029541015625, 0.00887298583984375, -0.01256561279296875, 0.0032176971435546875, -0.0226898193359375, 0.003360748291015625, 0.048492431640625, 0.0087738037109375, -0.01226806640625, -0.027008056640625, -0.0552978515625, -0.0255889892578125, 0.06610107421875, -0.0029163360595703125, -0.0214691162109375, -0.0190887451171875, 0.00864410400390625, 0.043365478515625, -0.025054931640625, -0.045196533203125, -0.0026340484619140625, 0.0007634162902832031, 0.01666259765625, 0.049468994140625, 0.0214996337890625, 0.068603515625, -0.057342529296875, 0.0887451171875, 0.00836181640625, 0.006275177001953125, -0.09649658203125, -0.01363372802734375, 0.006801605224609375, -0.058135986328125, -0.018280029296875, -0.00844573974609375, 0.0146331787109375, 0.00481414794921875, -0.0262603759765625, 0.003459930419921875, -0.0010013580322265625, -0.040252685546875, 0.00341033935546875, -0.0208740234375, 0.056243896484375, -0.039398193359375, -0.032318115234375, 0.044921875, -0.00177001953125, -0.00762176513671875, -0.02490234375, 0.042816162109375, -0.042694091796875, 0.0092010498046875, -0.032379150390625, -0.020172119140625, -0.01262664794921875, 0.005626678466796875, 0.0933837890625, 0.02740478515625, 0.07415771484375, 0.0223388671875, 0.02935791015625, 0.0416259765625, -0.0234832763671875, 0.0003314018249511719, -0.0021514892578125, 0.0160064697265625, -0.011810302734375, -0.018402099609375, 0.00603485107421875, -0.022216796875, -0.004856109619140625, -0.02252197265625, 0.00641632080078125, 0.00629425048828125, 0.007762908935546875, 0.006389617919921875, -0.01611328125, 0.021270751953125, 0.0321044921875, -0.0182342529296875, -0.026031494140625, 0.031341552734375, -0.068359375, 0.0012693405151367188, 0.0269927978515625, -0.003021240234375, -0.0028781890869140625, -0.0389404296875, 0.0088348388671875, 0.0019283294677734375, 0.00673675537109375, 0.00257110595703125, 0.00238800048828125, -0.01131439208984375, -0.017303466796875, -0.019134521484375, 0.043914794921875, -0.041107177734375, -0.055023193359375, 0.038848876953125, -0.01175689697265625, -0.00997161865234375, 0.003292083740234375, 0.0294036865234375, 0.02880859375, 0.054779052734375, -0.006954193115234375, 0.013519287109375, 0.0196990966796875, 0.0243988037109375, -0.0179901123046875, -0.0205230712890625, 0.0029354095458984375, 0.04156494140625, -0.02996826171875, 0.040130615234375, -0.0176849365234375, -0.0013322830200195312, 0.0165863037109375, 0.0285491943359375, 0.036529541015625, -0.042724609375, -0.00969696044921875, 0.040985107421875, -0.01343536376953125, -0.013427734375, 0.00010836124420166016, -0.005626678466796875, -0.043853759765625, -0.00787353515625, -0.01093292236328125, -0.0253448486328125, 0.0105743408203125, -0.004634857177734375, -0.06817626953125, 0.07427978515625, 0.022125244140625, 0.036285400390625, 0.033782958984375, 0.01357269287109375, -0.06683349609375, -0.029693603515625, -0.038818359375, 0.04461669921875, -0.015869140625, 0.02587890625, -0.052703857421875, -0.000835418701171875, -0.016998291015625, 0.030853271484375, 0.07562255859375, 0.0250244140625, -0.0262603759765625, -0.03070068359375, -0.018768310546875, -0.004974365234375, -0.035400390625, 0.056121826171875, 0.040069580078125, 0.0299530029296875, 0.044158935546875, -0.044525146484375, 0.01947021484375, -0.0193939208984375, 0.031829833984375, 0.046173095703125, 0.0280609130859375, 0.054840087890625, 0.022064208984375, 0.038970947265625, -0.022979736328125, 0.01436614990234375, 0.038482666015625, -0.00611114501953125, 0.0199432373046875, 0.026153564453125, 0.0296478271484375, -0.0235748291015625, 0.0030517578125, -0.0231170654296875, 0.037933349609375, 0.0146942138671875, 0.0118560791015625, 0.011810302734375, 0.0228424072265625, -0.00238800048828125, -0.0002142190933227539, 0.01117706298828125, 0.02679443359375, -0.032806396484375, 0.0775146484375, 0.04388427734375, 0.026763916015625, -0.016448974609375, -0.01727294921875, 0.044189453125, 0.08197021484375, -0.041412353515625, -0.0213775634765625, 0.021942138671875, 0.00876617431640625, 0.0031757354736328125, -0.0048980712890625, 0.022186279296875, -0.0186767578125, -0.019317626953125, 0.002048492431640625, -0.01348876953125, 0.00841522216796875, 0.01666259765625, 0.01416015625, 0.007366180419921875, -0.00887298583984375, -0.0156097412109375, -0.0279998779296875, 0.00374603271484375, 0.0157928466796875, 0.053802490234375, 0.0101165771484375, 0.059295654296875, -0.0193939208984375, -0.0186004638671875, 0.00763702392578125, 0.0114593505859375, 0.0238494873046875, -0.0180816650390625, 0.00821685791015625, -0.04107666015625, 0.04132080078125, 0.0283966064453125, 0.022064208984375, -0.0202178955078125, 0.023193359375, -0.0011892318725585938, -0.07427978515625, -0.01265716552734375, 0.0258026123046875, -0.031341552734375, -0.0155181884765625, -0.051025390625, -0.0060577392578125, 0.002162933349609375, 0.00022530555725097656, 0.022186279296875, -0.0084381103515625, 0.01198577880859375, -0.047607421875, 0.05029296875, -0.014404296875, -0.0099029541015625, 0.0538330078125, -0.004787445068359375, 0.01436614990234375, -0.03070068359375, -0.035736083984375, -0.004131317138671875, -0.040740966796875, -0.0239410400390625, 0.02545166015625, 0.0199127197265625, -0.039215087890625, 0.06219482421875, -0.01070404052734375, 0.022186279296875, 0.0008454322814941406, -0.06256103515625, 0.0389404296875, 0.0012331008911132812, -0.015045166015625, 0.01335906982421875, -0.0567626953125, -0.05035400390625, -0.018890380859375, 0.055908203125, -0.01509857177734375, 0.062347412109375, -0.02783203125, 0.0182037353515625, -0.01308441162109375, 0.03436279296875, -0.0606689453125, -0.038604736328125, 0.03558349609375, -0.027496337890625, 0.0030059814453125, 0.00701141357421875, -0.0013637542724609375, 0.031341552734375, 0.020416259765625, -0.00829315185546875, 0.06341552734375, -0.059234619140625, -0.006237030029296875, -0.040679931640625, -0.025360107421875, -0.03173828125, 0.0006761550903320312, 0.04302978515625, 0.0161895751953125, -0.0157012939453125, -0.02484130859375, -0.009735107421875, 0.0024127960205078125, 0.066650390625, -0.00005263090133666992, 0.035980224609375, 0.023162841796875, 0.057708740234375, 0.037353515625, 0.00035572052001953125, 0.11456298828125, -0.0400390625, -0.035980224609375, 0.00766754150390625, 0.018310546875, -0.1038818359375, -0.01470947265625, 0.04510498046875, -0.043304443359375, -0.0248565673828125, 0.019683837890625, -0.006725311279296875, 0.00015664100646972656, -0.0401611328125, 0.01271820068359375, 0.002384185791015625, 0.01971435546875, 0.00002676248550415039, -0.0177459716796875, -0.005859375, 0.00970458984375, -0.01323699951171875, -0.0004818439483642578, -0.032745361328125, -0.01104736328125, 0.0034198760986328125, -0.006610870361328125, -0.0192108154296875, 0.018585205078125, -0.005672454833984375, -0.007686614990234375, -0.0261077880859375, -0.0308837890625, 0.00388336181640625, 0.0236358642578125, -0.00909423828125, -0.023406982421875, -0.05389404296875, 0.006103515625, -0.02447509765625, -0.01140594482421875, 0.006832122802734375, -0.00916290283203125, -0.034271240234375, -0.046539306640625, -0.004039764404296875, -0.0031871795654296875, 0.0096893310546875, -0.0069732666015625, -0.0005064010620117188, 0.0185394287109375, 0.00200653076171875, -0.043975830078125, -0.00733184814453125, -0.0030975341796875, 0.008819580078125, -0.003692626953125, 0.0374755859375, 0.0623779296875, -0.0032958984375, -0.07177734375, 0.02056884765625, -0.0227813720703125, -0.043548583984375, -0.033111572265625, 0.005962371826171875, 0.0024356842041015625, 0.01605224609375, -0.0159912109375, 0.0185699462890625, -0.0236663818359375, -0.0015172958374023438, -0.02349853515625, 0.0615234375, -0.034271240234375, -0.0156402587890625, -0.036041259765625, 0.00568389892578125, 0.00045943260192871094, -0.01340484619140625, -0.05224609375, 0.008636474609375, -0.004840850830078125, 0.034393310546875, -0.01190948486328125, -0.0144195556640625, 0.025909423828125, -0.0034542083740234375, -0.0021533966064453125, 0.0139617919921875, -0.0654296875, -0.01038360595703125, 0.0682373046875, 0.09857177734375, 0.0399169921875, -0.040283203125, 0.07183837890625, 0.0211029052734375, -0.060516357421875, -0.00811767578125, 0.02191162109375, -0.01366424560546875, -0.0082550048828125, -0.0006985664367675781, 0.0201873779296875, -0.0233001708984375, -0.043609619140625, -0.0092926025390625, -0.040557861328125, -0.038604736328125, 0.030914306640625, -0.023773193359375, -0.01837158203125, 0.05035400390625, -0.036712646484375, -0.005977630615234375, 0.01192474365234375, 0.0167236328125, 0.01458740234375, 0.003925323486328125, 0.001247406005859375, 0.032562255859375, -0.010009765625, -0.017333984375, 0.026611328125, -0.0264129638671875, 0.01120758056640625, -0.004352569580078125, -0.0231475830078125, -0.00791168212890625, 0.0198516845703125, -0.0242767333984375, -0.03582763671875, 0.000576019287109375, -0.0127105712890625, 0.050506591796875, -0.010528564453125, 0.011505126953125, -0.0081329345703125, 0.023284912109375, 0.001377105712890625, -0.014984130859375, 0.0572509765625, -0.044921875, 0.003337860107421875, -0.0155792236328125, 0.006839752197265625, -0.046173095703125, 0.0162200927734375, 0.005352020263671875, -0.0012969970703125, 0.019195556640625 ]
f52df85bc21e0f25645590f9f4a8d4e23a42404e
Wordpress Stackexchange Q: How to display LinkedIn feed/company updates into WordPress site? I've been using LinkedIn Company Updates plugin for over 2 years to display linkedin feeds into wordpress site. But it's not working anymore. I've been trying over a week now to find a way to solve this. I read many forum posts, many other people have the same issue but I didn't find any solution and there is no word from this plugin developer either. And apparently, as far I know this is the only wordpress plugin I've found that displays feed from linkedin. I found a plugin/website walls.io but you have to create an account in their website and login with linkedin. And they generate the feeds from linkedin in their site. And after that you will have to use iframe to show it to your site. And in my case its not helpful at all. I really need to display linkedin feed to wordpress site. So if anyone know any other plugin or any manual API configuration method by which I can manually generate the feed and display using the API that would also work. Any help would be very much appreciated. Thanks in advance!
Q: How to display LinkedIn feed/company updates into WordPress site? I've been using LinkedIn Company Updates plugin for over 2 years to display linkedin feeds into wordpress site. But it's not working anymore. I've been trying over a week now to find a way to solve this. I read many forum posts, many other people have the same issue but I didn't find any solution and there is no word from this plugin developer either. And apparently, as far I know this is the only wordpress plugin I've found that displays feed from linkedin. I found a plugin/website walls.io but you have to create an account in their website and login with linkedin. And they generate the feeds from linkedin in their site. And after that you will have to use iframe to show it to your site. And in my case its not helpful at all. I really need to display linkedin feed to wordpress site. So if anyone know any other plugin or any manual API configuration method by which I can manually generate the feed and display using the API that would also work. Any help would be very much appreciated. Thanks in advance!
wordpress
{ "language": "en", "length": 197, "provenance": "stackexchange_00019.jsonl.gz:496275", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/341307" }
[ 0.0380859375, -0.01044464111328125, -0.006977081298828125, -0.01904296875, -0.001247406005859375, -0.027557373046875, 0.035614013671875, -0.017242431640625, -0.015838623046875, 0.0156707763671875, -0.043975830078125, 0.0325927734375, -0.0567626953125, -0.001476287841796875, -0.015838623046875, -0.06494140625, 0.032012939453125, -0.0015478134155273438, 0.034515380859375, -0.003940582275390625, -0.002590179443359375, 0.01953125, 0.02593994140625, -0.01470947265625, 0.045806884765625, -0.04595947265625, 0.04644775390625, -0.005718231201171875, 0.04638671875, 0.0016880035400390625, 0.029510498046875, -0.035125732421875, 0.044586181640625, -0.0007681846618652344, -0.01184844970703125, -0.01776123046875, 0.037689208984375, -0.030487060546875, -0.0268707275390625, 0.06591796875, 0.01227569580078125, -0.01007080078125, 0.04864501953125, -0.007843017578125, 0.026824951171875, -0.00243377685546875, 0.0011749267578125, -0.0709228515625, -0.021392822265625, -0.043701171875, 0.001476287841796875, -0.0014371871948242188, 0.02691650390625, 0.0112457275390625, 0.009765625, 0.012786865234375, -0.033782958984375, -0.00273895263671875, 0.0096588134765625, 0.036224365234375, 0.0309295654296875, -0.0021648406982421875, 0.0012807846069335938, 0.00038552284240722656, 0.0003292560577392578, -0.004558563232421875, -0.00592041015625, -0.010650634765625, -0.0205078125, 0.0216064453125, 0.035308837890625, -0.0347900390625, -0.00514984130859375, 0.0006937980651855469, 0.005115509033203125, -0.03472900390625, 0.0257415771484375, -0.025787353515625, -0.0028896331787109375, 0.0278472900390625, -0.018157958984375, 0.01561737060546875, -0.050262451171875, -0.007389068603515625, 0.0122222900390625, 0.034515380859375, -0.016265869140625, -0.0271453857421875, -0.00860595703125, 0.00847625732421875, -0.015899658203125, 0.0189056396484375, 0.0029926300048828125, 0.0065155029296875, -0.043121337890625, 0.0084381103515625, -0.01113128662109375, 0.0194091796875, -0.064453125, 0.00588226318359375, -0.0234222412109375, -0.0183258056640625, 0.027130126953125, -0.03753662109375, -0.02569580078125, -0.009918212890625, 0.0240020751953125, 0.0040435791015625, 0.0106048583984375, 0.031768798828125, -0.016876220703125, 0.039337158203125, -0.027618408203125, -0.06488037109375, 0.06292724609375, 0.021514892578125, -0.0567626953125, 0.0994873046875, 0.0220184326171875, 0.0355224609375, -0.01453399658203125, 0.005435943603515625, -0.068603515625, 0.04498291015625, 0.021484375, 0.02978515625, 0.01448822021484375, 0.0273284912109375, 0.033203125, -0.04083251953125, -0.024017333984375, 0.0396728515625, 0.07659912109375, 0.06317138671875, 0.03955078125, 0.01041412353515625, 0.0172882080078125, 0.020172119140625, -0.0155029296875, 0.00670623779296875, -0.02606201171875, -0.006954193115234375, -0.0084075927734375, -0.047393798828125, 0.01186370849609375, 0.00213623046875, 0.0367431640625, 0.0209808349609375, -0.0036258697509765625, 0.017242431640625, -0.02337646484375, 0.04412841796875, 0.026336669921875, 0.002246856689453125, 0.06256103515625, -0.056640625, 0.1258544921875, -0.08721923828125, 0.00537872314453125, -0.0699462890625, 0.0016088485717773438, -0.0006194114685058594, 0.00044536590576171875, -0.0323486328125, -0.0030422210693359375, -0.0211944580078125, -0.044708251953125, 0.0187835693359375, 0.037811279296875, -0.01276397705078125, 0.0687255859375, -0.003711700439453125, 0.050537109375, 0.01357269287109375, 0.00432586669921875, -0.006866455078125, -0.0079803466796875, 0.0347900390625, 0.03717041015625, -0.03857421875, -0.0241546630859375, -0.0279998779296875, 0.1151123046875, -0.0157470703125, -0.0562744140625, 0.0421142578125, 0.01421356201171875, 0.073486328125, 0.0078582763671875, 0.01439666748046875, 0.047332763671875, 0.00556182861328125, -0.01067352294921875, 0.01270294189453125, -0.0052490234375, 0.0005602836608886719, 0.005218505859375, 0.018768310546875, -0.0190582275390625, -0.040771484375, -0.08197021484375, 0.021392822265625, -0.03338623046875, 0.025421142578125, -0.040802001953125, 0.0192108154296875, -0.0295562744140625, 0.04534912109375, 0.045928955078125, 0.01393890380859375, -0.00925445556640625, 0.00800323486328125, -0.00957489013671875, -0.055999755859375, -0.06280517578125, 0.0185546875, -0.009521484375, -0.0180511474609375, -0.0103607177734375, -0.0179290771484375, -0.01355743408203125, 0.0007414817810058594, -0.01337432861328125, 0.0217132568359375, 0.00977325439453125, -0.019927978515625, -0.0150146484375, -0.0207366943359375, 0.01084136962890625, -0.0200958251953125, 0.037139892578125, 0.042572021484375, -0.014373779296875, 0.032318115234375, 0.010894775390625, 0.01268768310546875, 0.03680419921875, -0.038360595703125, 0.033294677734375, 0.011810302734375, 0.03857421875, -0.01021575927734375, 0.0014390945434570312, 0.02166748046875, 0.033538818359375, 0.0008296966552734375, 0.031158447265625, -0.0234527587890625, 0.030670166015625, 0.042816162109375, 0.0042877197265625, -0.0241851806640625, 0.023223876953125, -0.01214599609375, -0.00470733642578125, 0.02374267578125, 0.021728515625, 0.021820068359375, 0.000037670135498046875, -0.0156097412109375, -0.01348114013671875, -0.04034423828125, -0.025604248046875, -0.0130767822265625, -0.03204345703125, 0.034515380859375, 0.0244903564453125, 0.040618896484375, -0.01052093505859375, -0.0030879974365234375, 0.01715087890625, 0.047271728515625, 0.0223236083984375, 0.0275421142578125, -0.0241241455078125, 0.04461669921875, -0.004154205322265625, -0.0190277099609375, 0.01116180419921875, 0.0209503173828125, -0.01197052001953125, 0.0041656494140625, -0.0169219970703125, -0.0247802734375, -0.016937255859375, -0.0146942138671875, -0.004512786865234375, -0.005268096923828125, 0.0168609619140625, 0.01078033447265625, 0.03485107421875, -0.005008697509765625, -0.02716064453125, 0.0361328125, 0.0007424354553222656, -0.0289459228515625, -0.0252227783203125, -0.08074951171875, 0.0797119140625, -0.05731201171875, 0.0024566650390625, 0.08099365234375, 0.00394439697265625, -0.001514434814453125, -0.0151214599609375, -0.0132904052734375, -0.01474761962890625, 0.0026836395263671875, -0.016815185546875, -0.0689697265625, 0.021728515625, 0.03704833984375, -0.0064849853515625, -0.0042877197265625, -0.0271453857421875, -0.050384521484375, -0.031707763671875, -0.0159759521484375, -0.0936279296875, -0.048492431640625, -0.0011491775512695312, -0.070556640625, -0.00786590576171875, 0.01157379150390625, -0.0528564453125, -0.0014247894287109375, 0.04290771484375, -0.001483917236328125, -0.005096435546875, -0.03936767578125, -0.074951171875, -0.06494140625, -0.0711669921875, 0.03704833984375, 0.0056610107421875, 0.0262603759765625, 0.005962371826171875, 0.049560546875, 0.0173797607421875, -0.06256103515625, 0.0116729736328125, 0.06915283203125, -0.0382080078125, 0.0014896392822265625, 0.01540374755859375, -0.02154541015625, 0.00823211669921875, -0.0031604766845703125, 0.036102294921875, 0.0301513671875, -0.0172576904296875, -0.00775146484375, -0.0175323486328125, -0.00896453857421875, 0.004638671875, -0.036773681640625, 0.01439666748046875, -0.007568359375, -0.007198333740234375, -0.04876708984375, 0.0268402099609375, -0.021881103515625, 0.0078582763671875, -0.01506805419921875, -0.00885772705078125, 0.0011444091796875, -0.0299224853515625, 0.0007824897766113281, -0.063232421875, -0.00396728515625, 0.0182952880859375, -0.015625, -0.0034332275390625, -0.048065185546875, -0.08319091796875, 0.018218994140625, -0.0145721435546875, -0.017242431640625, -0.0033473968505859375, -0.0311279296875, 0.0014486312866210938, -0.07830810546875, 0.1026611328125, -0.10113525390625, -0.0196380615234375, 0.00860595703125, -0.09039306640625, -0.01473236083984375, -0.034423828125, 0.022186279296875, -0.016265869140625, 0.038909912109375, 0.0018253326416015625, -0.00905609130859375, -0.003940582275390625, -0.002674102783203125, -0.02508544921875, -0.0167083740234375, -0.0478515625, -0.0057373046875, -0.038848876953125, 0.029571533203125, 0.0199737548828125, -0.01158905029296875, -0.020751953125, 0.0509033203125, -0.01910400390625, -0.0147247314453125, 0.00739288330078125, 0.0469970703125, -0.0024242401123046875, -0.020355224609375, -0.036407470703125, -0.010894775390625, 0.0080718994140625, 0.002765655517578125, -0.06341552734375, -0.00289154052734375, -0.0246429443359375, 0.0220489501953125, -0.00733184814453125, 0.02349853515625, -0.0023975372314453125, 0.0487060546875, 0.00850677490234375, 0.0077362060546875, 0.03363037109375, 0.013458251953125, 0.023834228515625, -0.006458282470703125, 0.0343017578125, -0.036285400390625, -0.012664794921875, -0.044769287109375, -0.052886962890625, -0.01168060302734375, -0.0017213821411132812, 0.044189453125, 0.00792694091796875, -0.003192901611328125, -0.007205963134765625, -0.0181732177734375, -0.0183258056640625, 0.02667236328125, -0.0023822784423828125, -0.0010919570922851562, -0.023101806640625, -0.037872314453125, 0.03973388671875, 0.0154571533203125, -0.0008606910705566406, 0.00470733642578125, 0.07513427734375, 0.01297760009765625, -0.02105712890625, -0.053497314453125, 0.0188446044921875, 0.0276031494140625, 0.0238189697265625, 0.0543212890625, 0.04119873046875, -0.01702880859375, 0.037445068359375, 0.0243072509765625, 0.0184783935546875, 0.0272369384765625, 0.005908966064453125, 0.0250091552734375, -0.0200653076171875, 0.0246734619140625, 0.042694091796875, -0.059295654296875, 0.046173095703125, -0.003986358642578125, -0.02716064453125, 0.004268646240234375, 0.03997802734375, -0.020904541015625, 0.0139007568359375, -0.02020263671875, -0.0269622802734375, 0.020111083984375, -0.017822265625, -0.0152587890625, 0.00568389892578125, -0.008148193359375, -0.0196075439453125, -0.020416259765625, -0.01568603515625, -0.004550933837890625, -0.007564544677734375, -0.0130157470703125, 0.00894927978515625, -0.0033092498779296875, -0.03228759765625, -0.00574493408203125, -0.017425537109375, 0.0823974609375, -0.0014562606811523438, -0.076171875, 0.0435791015625, -0.029388427734375, 0.0117034912109375, 0.04901123046875, 0.053558349609375, 0.03240966796875, 0.0207977294921875, -0.01036834716796875, -0.0301666259765625, 0.01104736328125, 0.03375244140625, -0.033721923828125, -0.0014905929565429688, -0.012054443359375, -0.0091705322265625, -0.04217529296875, 0.0693359375, -0.041900634765625, 0.0228424072265625, 0.005245208740234375, 0.051483154296875, 0.0352783203125, 0.0005083084106445312, 0.0093536376953125, -0.005298614501953125, 0.00888824462890625, -0.0283050537109375, -0.017364501953125, -0.0212554931640625, -0.010894775390625, -0.03021240234375, 0.0151519775390625, -0.0094146728515625, -0.01611328125, 0.04644775390625, -0.0178680419921875, -0.0302886962890625, 0.0260009765625, 0.0184326171875, -0.02728271484375, -0.033599853515625, 0.0039520263671875, 0.0302581787109375, 0.010009765625, 0.0066375732421875, -0.0009164810180664062, -0.01287078857421875, -0.0171356201171875, -0.0002186298370361328, -0.05731201171875, 0.01526641845703125, 0.03033447265625, 0.037353515625, -0.01727294921875, -0.0299530029296875, -0.04815673828125, 0.0022068023681640625, -0.0190582275390625, 0.017242431640625, 0.0523681640625, -0.00746917724609375, 0.02386474609375, -0.03265380859375, 0.0014371871948242188, 0.0013265609741210938, -0.01396942138671875, 0.0626220703125, 0.0292510986328125, -0.07958984375, -0.0024318695068359375, -0.0194091796875, -0.005779266357421875, 0.038543701171875, 0.02386474609375, -0.046478271484375, -0.007568359375, 0.003330230712890625, 0.039154052734375, -0.0238037109375, -0.0299224853515625, -0.0170135498046875, 0.02581787109375, 0.0222930908203125, 0.0777587890625, 0.0517578125, 0.0262451171875, -0.015777587890625, 0.06488037109375, 0.055755615234375, 0.0168304443359375, -0.0809326171875, -0.04180908203125, 0.013336181640625, -0.0107574462890625, -0.0199737548828125, -0.00832366943359375, 0.0047149658203125, -0.0236358642578125, 0.0057830810546875, -0.01259613037109375, -0.031341552734375, -0.009735107421875, 0.0166168212890625, -0.0099029541015625, 0.0648193359375, 0.020263671875, -0.06280517578125, 0.07989501953125, -0.0108642578125, -0.045501708984375, 0.002246856689453125, 0.00392913818359375, -0.00713348388671875, 0.03204345703125, -0.0265045166015625, -0.043487548828125, -0.01352691650390625, 0.00554656982421875, 0.06488037109375, 0.01143646240234375, 0.056884765625, 0.0241546630859375, 0.0142059326171875, 0.052886962890625, 0.021575927734375, 0.021942138671875, -0.00982666015625, 0.022705078125, -0.0152435302734375, -0.0102691650390625, -0.007732391357421875, -0.0312347412109375, -0.0218353271484375, -0.016143798828125, 0.00372314453125, -0.03387451171875, 0.01444244384765625, -0.009552001953125, 0.0264739990234375, 0.024749755859375, -0.03009033203125, 0.0019550323486328125, -0.04620361328125, -0.00261688232421875, 0.0293121337890625, -0.035003662109375, -0.024261474609375, 0.0010976791381835938, 0.0039520263671875, -0.00907135009765625, 0.059478759765625, 0.006839752197265625, -0.049530029296875, -0.0384521484375, 0.028045654296875, -0.0379638671875, 0.0137481689453125, 0.01111602783203125, 0.018798828125, -0.0263671875, -0.03118896484375, 0.03515625, -0.03326416015625, -0.0266571044921875, 0.04901123046875, 0.002288818359375, 0.01035308837890625, 0.03399658203125, -0.01059722900390625, 0.019683837890625, -0.0010633468627929688, -0.0256500244140625, 0.043182373046875, -0.018463134765625, 0.01342010498046875, 0.063232421875, -0.049102783203125, 0.01146697998046875, 0.01338958740234375, 0.0029468536376953125, -0.031646728515625, -0.024322509765625, 0.08319091796875, 0.00970458984375, -0.038177490234375, -0.00902557373046875, 0.0192413330078125, -0.004695892333984375, -0.01220703125, 0.01385498046875, -0.06817626953125, -0.00720977783203125, 0.01161956787109375, -0.007083892822265625, -0.0030117034912109375, 0.006038665771484375, -0.055389404296875, 0.09393310546875, 0.0008425712585449219, 0.004810333251953125, -0.0166015625, 0.050201416015625, -0.0059051513671875, 0.032379150390625, 0.000965118408203125, 0.03448486328125, -0.004741668701171875, 0.00412750244140625, -0.0113067626953125, 0.003936767578125, -0.001010894775390625, 0.03692626953125, 0.00360107421875, -0.004474639892578125, -0.01226043701171875, -0.04119873046875, -0.00968170166015625, 0.0229034423828125, 0.0033016204833984375, 0.0224609375, -0.039459228515625, 0.0073089599609375, -0.01082611083984375, -0.0230865478515625, 0.01277923583984375, 0.0017900466918945312, -0.0614013671875, -0.00337982177734375, 0.010345458984375, -0.0015163421630859375, -0.0020313262939453125, 0.0159912109375, -0.02923583984375, 0.0012845993041992188, 0.0173797607421875, 0.0160064697265625, 0.0139007568359375, 0.03680419921875, 0.021575927734375, -0.00934600830078125, -0.0130615234375, -0.01318359375, 0.03228759765625, -0.01446533203125, 0.0254669189453125, 0.01152801513671875, 0.01091766357421875, 0.04388427734375, -0.021820068359375, 0.0008378028869628906, 0.00982666015625, -0.004344940185546875, 0.0123291015625, -0.01702880859375, 0.020355224609375, -0.07562255859375, -0.059783935546875, 0.05462646484375, 0.0333251953125, 0.01088714599609375, -0.07159423828125, 0.0060577392578125, -0.001865386962890625, 0.028900146484375, 0.027679443359375, 0.0209503173828125, -0.03521728515625, 0.030548095703125, -0.032867431640625, -0.0140838623046875, -0.004322052001953125, 0.02783203125, 0.0010290145874023438, 0.01084136962890625, -0.012237548828125, -0.0299530029296875, 0.00830078125, 0.02886962890625, 0.005054473876953125, 0.015899658203125, -0.05487060546875, 0.050872802734375, -0.08258056640625, 0.0171966552734375, 0.00209808349609375, 0.00728607177734375, -0.005184173583984375, -0.01311492919921875, -0.001476287841796875, -0.0139923095703125, 0.0009417533874511719, 0.029052734375, 0.035125732421875, 0.023284912109375, 0.02752685546875, 0.0030040740966796875, -0.004848480224609375, 0.01251220703125, 0.04962158203125, -0.0213623046875, -0.035186767578125, -0.036376953125, -0.0281982421875, 0.01409912109375, 0.0009675025939941406, 0.0303192138671875, 0.00681304931640625, 0.003116607666015625, -0.03497314453125, 0.0299835205078125, -0.00922393798828125, -0.02764892578125, 0.0045928955078125, -0.01171875, 0.01505279541015625, -0.015716552734375, -0.06341552734375, 0.0033664703369140625, 0.004730224609375, -0.026947021484375, -0.0159454345703125, 0.013580322265625, -0.041412353515625, 0.0518798828125, 0.043121337890625, 0.0233306884765625, 0.01175689697265625, -0.0240325927734375, 0.00359344482421875, -0.03753662109375, 0.018768310546875, 0.0017404556274414062, -0.0298004150390625, -0.00983428955078125, -0.0286865234375, 0.036590576171875, 0.025543212890625, 0.07073974609375, -0.01788330078125, 0.0214691162109375, -0.00982666015625, -0.07275390625, 0.0439453125, -0.005374908447265625, -0.0274810791015625, 0.013031005859375, -0.01434326171875, 0.003269195556640625, -0.049285888671875, 0.0472412109375, -0.01010894775390625, 0.008209228515625, 0.02691650390625, -0.0199737548828125, 0.0153656005859375, 0.0297088623046875, 0.026824951171875, -0.0229644775390625, 0.00225830078125, -0.001544952392578125, -0.019561767578125, 0.00855255126953125, 0.0015277862548828125, 0.0306549072265625, 0.060546875, 0.0227203369140625, 0.0300140380859375, 0.00582122802734375, -0.00914764404296875, -0.023651123046875, 0.017425537109375, -0.0003275871276855469, 0.0222930908203125, -0.0005936622619628906, -0.0295867919921875, 0.03106689453125, -0.00963592529296875, 0.0087890625, -0.0137176513671875, 0.012847900390625, 0.048797607421875, 0.032012939453125, 0.0404052734375, -0.0301513671875, -0.003360748291015625, 0.06512451171875, 0.0035724639892578125, -0.01439666748046875, -0.0205841064453125, -0.0232086181640625, -0.0701904296875, 0.000045418739318847656, 0.029083251953125, -0.039703369140625, 0.000021219253540039062, -0.043975830078125, 0.0127105712890625, 0.047607421875, 0.01306915283203125, -0.053863525390625, 0.02496337890625, -0.008148193359375, 0.051849365234375, 0.0202789306640625, -0.032958984375, 0.0350341796875, 0.093017578125, 0.01357269287109375, -0.000759124755859375, 0.003391265869140625, 0.0013751983642578125, 0.0012960433959960938, 0.0002224445343017578, 0.00983428955078125, 0.0022869110107421875, 0.02471923828125, -0.010955810546875, -0.0035762786865234375, 0.04815673828125, -0.0183258056640625, -0.006404876708984375, -0.0313720703125, 0.0166778564453125, 0.0008955001831054688, -0.00041866302490234375, 0.0259552001953125, -0.02227783203125, -0.05010986328125, 0.0253143310546875, -0.0268707275390625, -0.006931304931640625, -0.055419921875, -0.10723876953125, 0.026702880859375, -0.006076812744140625, -0.05712890625, -0.0024089813232421875, 0.01178741455078125, 0.016815185546875, -0.0694580078125, -0.022186279296875, 0.01114654541015625, -0.0123291015625, 0.01617431640625, -0.004306793212890625, 0.07073974609375, 0.00954437255859375, -0.0110321044921875, 0.039581298828125, 0.03228759765625, 0.0242767333984375, -0.00974273681640625, -0.0235443115234375, 0.00270843505859375, -0.00238037109375, -0.0011014938354492188, -0.047149658203125, -0.01209259033203125, 0.0214385986328125, 0.052398681640625, 0.0270233154296875, -0.01105499267578125, -0.020172119140625, -0.0338134765625, 0.00901031494140625, 0.02581787109375, -0.004222869873046875, -0.0047454833984375, 0.036865234375, -0.0159759521484375, -0.021484375, -0.0006556510925292969, 0.006175994873046875, -0.037628173828125, -0.00514984130859375, 0.01198577880859375, -0.0007014274597167969, -0.005168914794921875, 0.0018548965454101562, -0.035003662109375, -0.03619384765625, -0.033233642578125, -0.00971221923828125, -0.05963134765625, 0.0224761962890625, 0.07562255859375, -0.040069580078125, 0.0084991455078125, -0.0288238525390625, 0.0021877288818359375, 0.04376220703125, -0.05816650390625, -0.027130126953125, -0.0096588134765625, 0.037750244140625, 0.02911376953125, 0.025146484375, -0.0016469955444335938, 0.02935791015625, -0.005405426025390625, -0.00351715087890625, 0.0016565322875976562, -0.01145172119140625, -0.0166168212890625, -0.0007014274597167969, 0.0092315673828125, -0.019683837890625, 0.03369140625, -0.0177764892578125, -0.040802001953125, -0.019073486328125, 0.01233673095703125, -0.038848876953125, 0.015716552734375, -0.00769805908203125, -0.00582122802734375, 0.01280975341796875, 0.0190277099609375, 0.01222991943359375, -0.028778076171875, 0.035797119140625, -0.01161956787109375, 0.003376007080078125, 0.02093505859375 ]
446a7e4cbfc66f1e967c6f3440ad23baf9b49f61
Wordpress Stackexchange Q: Exclude a path from WordPress using .htaccess redirects (Apache) I'd like to exclude a path that matches a rule from booting WordPress. The normal way I'd approach this is using the last flag [L] in a rule before all the others. To keep things simple in this example, I'll just pretend I want to match a simple path /foo/. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^foo/?$ - [L] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> However, this does not work. A few other options are suggested in this older Stack Overflow post, but none of them work (neither for myself nor anyone in the comments of that post). I did try this rewrite condition instead of the rule: RewriteCond %{REQUEST_URI} ^/?(foo/.*)$ As well as adding ErrorDocument 401 default to the end of the .htaccess document. A: You should use RewriteCond instead of RewriteRule. Use this: RewriteCond %{REQUEST_URI} !/foo/ So, for example, the full code could be like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_URI} !/foo/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Q: Exclude a path from WordPress using .htaccess redirects (Apache) I'd like to exclude a path that matches a rule from booting WordPress. The normal way I'd approach this is using the last flag [L] in a rule before all the others. To keep things simple in this example, I'll just pretend I want to match a simple path /foo/. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^foo/?$ - [L] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> However, this does not work. A few other options are suggested in this older Stack Overflow post, but none of them work (neither for myself nor anyone in the comments of that post). I did try this rewrite condition instead of the rule: RewriteCond %{REQUEST_URI} ^/?(foo/.*)$ As well as adding ErrorDocument 401 default to the end of the .htaccess document. A: You should use RewriteCond instead of RewriteRule. Use this: RewriteCond %{REQUEST_URI} !/foo/ So, for example, the full code could be like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_URI} !/foo/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress A: One small hiccup is that you'll need to update RewriteRule ./ in that second to last line. Here is an updated (and tested) snippet for you: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_URI} !^/foo/.*$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ./ /index.php [L] </IfModule> # END WordPress I tested both: * *https://www.domain.com/foo/ *https://www.domain.com/foo/bar/ Hope that helps!! A: The following rule works for me RewriteRule ^(foo)($|/) - [L] meaning, any path beginning with foo like /foo/, /foo/bar/ or whatever, leads to the Apache 404 instead of the themes 404; under the assumption that there is no actual directory with that path. The rule has to be before the last standard line of the WordPress block: RewriteRule . /index.php [L] And it doesn't really matter, if it is after RewriteBase /, it can be before it; it was previously just hastily and sloppily worded on my part. Which would give you the chance to leave the block between # BEGIN WordPress and # END WordPress untouched, if you'd like to do so. By putting <IfModule mod_rewrite.c> RewriteRule ^(foo)($|/) - [L] </IfModule> in front of # BEGIN WordPress. You might want to prevent the path /foo/ from being created in WordPress, this came to mind: add_filter( 'wp_unique_post_slug', 'no_more_foo_wp_unique_post_slug', 2, 6 ); function no_more_foo_wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug ) { if ( $post_parent === 0 ) { $pattern = '/^foo$/'; $replace = 'bar'; $slug = preg_replace( $pattern, $replace, $slug ); } return $slug; }
wordpress
{ "language": "en", "length": 450, "provenance": "stackexchange_00019.jsonl.gz:496355", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/341550" }
[ 0.023681640625, 0.014373779296875, -0.0259246826171875, -0.005706787109375, 0.0095977783203125, -0.0164337158203125, 0.037109375, -0.041351318359375, -0.023712158203125, -0.01519012451171875, -0.043701171875, 0.01418304443359375, -0.0047607421875, -0.024322509765625, 0.06280517578125, -0.0204315185546875, 0.001300811767578125, 0.01508331298828125, 0.02984619140625, -0.0138702392578125, 0.0106201171875, -0.013916015625, 0.005634307861328125, 0.0086822509765625, 0.02362060546875, -0.04425048828125, 0.07611083984375, -0.026824951171875, 0.0100860595703125, -0.0340576171875, 0.019073486328125, 0.01422882080078125, 0.02642822265625, 0.0318603515625, -0.044525146484375, -0.0248565673828125, -0.01904296875, 0.01641845703125, 0.007793426513671875, -0.002330780029296875, 0.0016450881958007812, -0.024627685546875, 0.031402587890625, -0.006877899169921875, -0.01088714599609375, -0.00989532470703125, 0.004512786865234375, -0.0267333984375, 0.0222015380859375, 0.01483917236328125, 0.005100250244140625, 0.06414794921875, 0.00911712646484375, 0.045379638671875, -0.004383087158203125, 0.01383209228515625, 0.03424072265625, 0.007904052734375, 0.01450347900390625, -0.0222930908203125, -0.0184478759765625, 0.035736083984375, 0.00890350341796875, 0.0110321044921875, -0.020965576171875, -0.004627227783203125, -0.00643157958984375, 0.0186920166015625, -0.064453125, -0.026641845703125, 0.050079345703125, -0.03057861328125, -0.01268768310546875, -0.0406494140625, -0.031951904296875, 0.01444244384765625, 0.042327880859375, -0.018768310546875, -0.0211639404296875, -0.00865936279296875, -0.0025691986083984375, -0.0295562744140625, -0.031463623046875, -0.03802490234375, 0.0182342529296875, 0.022369384765625, -0.01123809814453125, -0.0016956329345703125, -0.0177764892578125, -0.019378662109375, -0.023101806640625, -0.0153350830078125, -0.032318115234375, -0.0035991668701171875, -0.0118408203125, 0.002666473388671875, 0.0198974609375, 0.006122589111328125, 0.00020837783813476562, -0.0190277099609375, 0.0467529296875, -0.0501708984375, 0.02020263671875, -0.0287933349609375, 0.0014400482177734375, 0.061248779296875, 0.0115509033203125, 0.036041259765625, 0.0175323486328125, 0.00031375885009765625, 0.022216796875, -0.0179901123046875, -0.0224456787109375, 0.016021728515625, -0.0655517578125, 0.01415252685546875, -0.0271759033203125, -0.059173583984375, -0.02606201171875, -0.005458831787109375, -0.0023555755615234375, 0.022491455078125, -0.01122283935546875, -0.01476287841796875, 0.01751708984375, -0.006015777587890625, -0.01540374755859375, 0.00238800048828125, -0.005298614501953125, 0.02191162109375, -0.01849365234375, 0.0001895427703857422, 0.0159454345703125, 0.01061248779296875, 0.0011749267578125, -0.018829345703125, 0.04571533203125, -0.0216522216796875, 0.015533447265625, -0.0035724639892578125, 0.004360198974609375, -0.0257720947265625, -0.0189361572265625, 0.00925445556640625, -0.037811279296875, 0.048614501953125, 0.01611328125, 0.0128631591796875, -0.03631591796875, -0.06768798828125, -0.01552581787109375, -0.0428466796875, 0.037384033203125, 0.0218353271484375, 0.0011930465698242188, -0.01300811767578125, 0.0307159423828125, -0.034759521484375, -0.0300750732421875, -0.01543426513671875, 0.0020294189453125, 0.0006690025329589844, 0.038665771484375, -0.03802490234375, -0.0533447265625, -0.0183868408203125, -0.059356689453125, -0.0235137939453125, 0.01751708984375, 0.0034847259521484375, 0.034454345703125, 0.00011014938354492188, 0.0066070556640625, -0.0027027130126953125, -0.0004143714904785156, 0.00887298583984375, 0.0111236572265625, -0.0227508544921875, -0.00827789306640625, 0.1051025390625, 0.043365478515625, -0.0161895751953125, 0.00787353515625, 0.0303497314453125, -0.05230712890625, 0.053070068359375, 0.00901031494140625, 0.0595703125, -0.047149658203125, 0.004314422607421875, 0.069091796875, 0.053680419921875, -0.0175628662109375, 0.0126495361328125, -0.0244293212890625, -0.03173828125, 0.006542205810546875, -0.002773284912109375, -0.0164794921875, 0.0239410400390625, 0.0019092559814453125, 0.035491943359375, -0.0211944580078125, 0.01308441162109375, -0.049407958984375, 0.0216827392578125, -0.02215576171875, 0.038970947265625, -0.01953125, 0.028594970703125, 0.0299530029296875, 0.037567138671875, -0.05303955078125, 0.005222320556640625, -0.0007176399230957031, 0.016448974609375, -0.01110076904296875, 0.03631591796875, -0.0030689239501953125, 0.0401611328125, 0.0205078125, -0.048553466796875, 0.0275726318359375, 0.0209503173828125, 0.0399169921875, -0.035858154296875, -0.0219268798828125, -0.0300140380859375, -0.002338409423828125, -0.01090240478515625, -0.06719970703125, 0.0662841796875, -0.0160064697265625, 0.0130157470703125, -0.0355224609375, -0.009796142578125, -0.0406494140625, -0.021331787109375, 0.0164794921875, 0.044769287109375, 0.040496826171875, 0.02996826171875, -0.0156097412109375, 0.00021648406982421875, 0.004543304443359375, -0.07135009765625, -0.01285552978515625, -0.0104522705078125, -0.00740814208984375, 0.003025054931640625, 0.037811279296875, -0.01055145263671875, 0.018310546875, -0.05218505859375, 0.00043702125549316406, 0.0297088623046875, -0.0238189697265625, -0.01103973388671875, -0.04583740234375, 0.0222930908203125, 0.006282806396484375, -0.033111572265625, -0.032867431640625, -0.006072998046875, -0.0004398822784423828, -0.00565338134765625, 0.0015630722045898438, 0.0277252197265625, 0.00974273681640625, -0.024017333984375, 0.01496124267578125, 0.0022754669189453125, 0.0004050731658935547, 0.04742431640625, 0.03948974609375, -0.020538330078125, -0.01459503173828125, -0.00942230224609375, 0.01313018798828125, 0.0223388671875, 0.0006098747253417969, 0.0038394927978515625, 0.04388427734375, -0.0014734268188476562, 0.0161590576171875, -0.04962158203125, 0.030609130859375, -0.018524169921875, 0.0182037353515625, 0.006725311279296875, 0.0156707763671875, 0.017730712890625, 0.01473236083984375, -0.005767822265625, 0.04888916015625, -0.024810791015625, -0.038909912109375, -0.0304107666015625, 0.0499267578125, -0.052978515625, -0.0283355712890625, 0.04803466796875, 0.01184844970703125, -0.040557861328125, 0.0188446044921875, 0.0184478759765625, 0.0266876220703125, -0.02008056640625, -0.0156707763671875, 0.016937255859375, -0.05596923828125, -0.02105712890625, 0.026336669921875, 0.0016040802001953125, 0.032379150390625, 0.007511138916015625, 0.03741455078125, 0.0274505615234375, -0.0028553009033203125, -0.0675048828125, -0.0252838134765625, -0.027801513671875, 0.01038360595703125, 0.0198211669921875, -0.005619049072265625, -0.02093505859375, 0.0266876220703125, 0.0032596588134765625, 0.01232147216796875, -0.00843048095703125, -0.0849609375, -0.05419921875, -0.08868408203125, -0.0203399658203125, -0.0217742919921875, 0.0212860107421875, 0.0178680419921875, 0.0276031494140625, 0.007053375244140625, -0.073974609375, 0.004451751708984375, 0.0138092041015625, -0.0210723876953125, 0.01317596435546875, -0.03045654296875, 0.003948211669921875, -0.0094757080078125, -0.005229949951171875, 0.07366943359375, 0.01053619384765625, -0.01255035400390625, 0.0096282958984375, -0.01396942138671875, -0.021331787109375, -0.006351470947265625, -0.0279998779296875, 0.0159759521484375, -0.0537109375, -0.016326904296875, -0.080078125, -0.040435791015625, -0.016510009765625, -0.046722412109375, 0.0198516845703125, 0.04095458984375, -0.00954437255859375, -0.0186767578125, 0.0182037353515625, 0.029205322265625, 0.006999969482421875, 0.00499725341796875, -0.020263671875, 0.056610107421875, -0.002887725830078125, 0.0244140625, -0.03466796875, 0.0704345703125, -0.0035228729248046875, 0.0159149169921875, 0.0287628173828125, -0.0024890899658203125, -0.010101318359375, -0.037017822265625, -0.07733154296875, 0.00740814208984375, 0.027679443359375, -0.03277587890625, 0.007472991943359375, -0.026214599609375, -0.0098876953125, -0.0343017578125, 0.034576416015625, -0.023681640625, -0.032135009765625, -0.03656005859375, 0.0167083740234375, -0.01105499267578125, -0.037017822265625, 0.0132598876953125, -0.0073394775390625, -0.09796142578125, 0.00945281982421875, 0.00347137451171875, -0.05322265625, 0.037261962890625, -0.10931396484375, -0.0241241455078125, -0.0716552734375, 0.0255584716796875, -0.02789306640625, 0.019866943359375, 0.03216552734375, 0.02197265625, -0.006511688232421875, -0.0081024169921875, -0.040618896484375, -0.03851318359375, -0.008148193359375, 0.014434814453125, 0.0159759521484375, -0.01114654541015625, 0.0006003379821777344, -0.00272369384765625, 0.0379638671875, -0.002838134765625, -0.0244293212890625, 0.026153564453125, -0.0000782012939453125, -0.01163482666015625, 0.058197021484375, 0.0330810546875, -0.00983428955078125, 0.00658416748046875, -0.00907135009765625, -0.0116119384765625, 0.01012420654296875, -0.040802001953125, -0.03106689453125, 0.01036834716796875, -0.03302001953125, -0.06243896484375, -0.034576416015625, -0.0308685302734375, 0.0011653900146484375, 0.004547119140625, -0.047698974609375, -0.03515625, -0.0574951171875, 0.0576171875, 0.0167083740234375, -0.029937744140625, -0.018157958984375, 0.0556640625, 0.0193023681640625, -0.05462646484375, 0.036346435546875, 0.032867431640625, 0.03350830078125, -0.01204681396484375, 0.04132080078125, -0.008880615234375, -0.00885772705078125, 0.07769775390625, -0.023345947265625, 0.00681304931640625, 0.0239105224609375, -0.0265960693359375, -0.006439208984375, -0.058837890625, 0.0151519775390625, -0.024627685546875, 0.004528045654296875, 0.03204345703125, 0.012847900390625, -0.020843505859375, -0.01326751708984375, 0.017730712890625, 0.0176849365234375, -0.005428314208984375, -0.019744873046875, -0.051483154296875, 0.02777099609375, -0.010040283203125, 0.037109375, 0.00783538818359375, 0.00630950927734375, 0.034393310546875, 0.0196075439453125, -0.035491943359375, 0.0543212890625, 0.040252685546875, 0.01247406005859375, 0.0148162841796875, 0.0345458984375, -0.0357666015625, -0.00653839111328125, -0.006946563720703125, 0.04913330078125, -0.0041656494140625, -0.051788330078125, 0.0180511474609375, -0.02813720703125, 0.00748443603515625, 0.0203704833984375, -0.0041351318359375, 0.056488037109375, 0.00603485107421875, -0.0167083740234375, 0.001155853271484375, -0.02978515625, -0.042388916015625, -0.0618896484375, 0.0433349609375, 0.02227783203125, -0.0009813308715820312, 0.038604736328125, 0.051116943359375, 0.00795745849609375, 0.038848876953125, -0.002452850341796875, 0.0231170654296875, 0.0059814453125, 0.056365966796875, -0.018890380859375, 0.0113677978515625, 0.000751495361328125, 0.061981201171875, 0.01111602783203125, -0.0316162109375, -0.05059814453125, 0.023681640625, 0.054473876953125, -0.0228729248046875, -0.016571044921875, 0.00887298583984375, -0.0231781005859375, 0.001842498779296875, 0.01195526123046875, -0.00047326087951660156, -0.010467529296875, -0.0272216796875, -0.038543701171875, 0.0269927978515625, -0.0115509033203125, -0.03680419921875, 0.0202789306640625, -0.0296173095703125, 0.01474761962890625, 0.0693359375, -0.04254150390625, 0.0209503173828125, 0.022552490234375, 0.032440185546875, -0.022979736328125, -0.00634002685546875, -0.040283203125, 0.0170745849609375, -0.040252685546875, 0.002758026123046875, 0.0474853515625, -0.03021240234375, 0.04583740234375, -0.0126495361328125, -0.01163482666015625, 0.05413818359375, 0.03131103515625, 0.007572174072265625, 0.006076812744140625, -0.036102294921875, 0.00402069091796875, -0.032379150390625, -0.02349853515625, -0.0290069580078125, -0.040008544921875, -0.042816162109375, -0.016632080078125, -0.032745361328125, -0.0009093284606933594, 0.0010509490966796875, 0.049591064453125, -0.0136871337890625, 0.0292510986328125, -0.01543426513671875, 0.00013446807861328125, -0.030609130859375, 0.0692138671875, -0.0064544677734375, 0.0260162353515625, -0.0189971923828125, 0.028106689453125, 0.0213470458984375, -0.007297515869140625, 0.03076171875, -0.0183563232421875, -0.0209197998046875, -0.037872314453125, 0.004497528076171875, 0.018463134765625, 0.0703125, -0.015899658203125, -0.01202392578125, -0.0037746429443359375, -0.00232696533203125, -0.03631591796875, 0.00722503662109375, -0.025390625, 0.0225067138671875, -0.06854248046875, 0.0280303955078125, 0.0643310546875, -0.043914794921875, -0.002559661865234375, -0.04766845703125, 0.0226593017578125, -0.016845703125, 0.017730712890625, -0.044036865234375, 0.037811279296875, 0.08612060546875, 0.0259246826171875, 0.078369140625, 0.0173187255859375, 0.03839111328125, 0.044281005859375, -0.0027751922607421875, -0.0296783447265625, 0.011444091796875, 0.034393310546875, 0.00244140625, -0.011260986328125, 0.028564453125, -0.0150146484375, 0.016387939453125, 0.06854248046875, 0.05706787109375, -0.08892822265625, -0.012664794921875, -0.00922393798828125, -0.0187225341796875, 0.0201416015625, -0.0021877288818359375, -0.01708984375, -0.01360321044921875, -0.0024127960205078125, 0.01355743408203125, -0.0180816650390625, -0.00289154052734375, 0.036163330078125, -0.0143280029296875, 0.0024776458740234375, 0.00881195068359375, -0.00785064697265625, -0.0130615234375, -0.043914794921875, 0.01369476318359375, -0.03472900390625, 0.007640838623046875, -0.0005574226379394531, 0.0019588470458984375, -0.047210693359375, -0.0272064208984375, 0.0123291015625, -0.02239990234375, -0.0269775390625, 0.033172607421875, -0.031219482421875, 0.01180267333984375, 0.04962158203125, -0.0253753662109375, 0.017059326171875, 0.018768310546875, -0.01551055908203125, 0.053924560546875, -0.027923583984375, -0.035858154296875, -0.0184478759765625, 0.0036106109619140625, -0.0099029541015625, 0.0006709098815917969, -0.0187835693359375, 0.0012693405151367188, 0.018218994140625, 0.0714111328125, -0.052886962890625, -0.02294921875, 0.00823974609375, 0.001926422119140625, 0.007656097412109375, 0.005146026611328125, -0.01131439208984375, -0.015777587890625, -0.0107879638671875, -0.0191497802734375, -0.039398193359375, 0.0106048583984375, -0.04095458984375, -0.0595703125, 0.0859375, -0.0083465576171875, 0.0479736328125, 0.0152435302734375, 0.031341552734375, -0.010589599609375, 0.025054931640625, -0.016815185546875, 0.044830322265625, 0.031890869140625, 0.027069091796875, -0.006694793701171875, -0.0189361572265625, 0.0266571044921875, 0.0499267578125, 0.08319091796875, 0.0201568603515625, -0.08673095703125, -0.005771636962890625, 0.062042236328125, 0.06884765625, 0.0278167724609375, 0.05706787109375, 0.0019044876098632812, -0.0279998779296875, 0.003658294677734375, -0.02197265625, 0.02508544921875, -0.043914794921875, -0.00978851318359375, -0.0063934326171875, 0.0111236572265625, -0.006988525390625, 0.03240966796875, -0.015716552734375, -0.00754547119140625, 0.0223541259765625, -0.00621795654296875, 0.0098876953125, 0.0119476318359375, 0.0163421630859375, 0.0428466796875, -0.0382080078125, -0.0218048095703125, -0.028167724609375, 0.053680419921875, 0.00823211669921875, 0.0258026123046875, 0.0184326171875, 0.011077880859375, 0.044952392578125, 0.0193634033203125, 0.0098876953125, 0.040771484375, -0.0130157470703125, 0.029693603515625, 0.030548095703125, 0.03466796875, -0.004978179931640625, 0.0240020751953125, 0.005603790283203125, 0.0239105224609375, -0.030792236328125, -0.01354217529296875, -0.0146331787109375, -0.033905029296875, -0.0037250518798828125, -0.048309326171875, -0.007167816162109375, -0.0253143310546875, -0.03717041015625, -0.0209197998046875, 0.041107177734375, 0.0302276611328125, 0.022979736328125, -0.026885986328125, -0.03594970703125, -0.043792724609375, 0.04547119140625, -0.022857666015625, -0.01861572265625, 0.0244293212890625, 0.041107177734375, 0.027313232421875, 0.0164337158203125, 0.01073455810546875, -0.0204315185546875, 0.0036468505859375, 0.039306640625, -0.01558685302734375, -0.01395416259765625, -0.057861328125, -0.0775146484375, 0.0167388916015625, 0.05206298828125, 0.038543701171875, 0.01494598388671875, 0.0083465576171875, 0.0174407958984375, 0.00894927978515625, 0.008697509765625, 0.0528564453125, -0.015625, 0.04815673828125, -0.033111572265625, 0.042083740234375, -0.010498046875, -0.01212310791015625, -0.036224365234375, 0.03045654296875, -0.00019168853759765625, 0.0109710693359375, 0.0239105224609375, 0.0005497932434082031, -0.023162841796875, -0.030120849609375, -0.03997802734375, 0.0187225341796875, 0.01561737060546875, 0.0018396377563476562, -0.00806427001953125, 0.03460693359375, -0.01016998291015625, -0.00824737548828125, 0.0275421142578125, -0.01416778564453125, 0.02813720703125, 0.027862548828125, 0.0198211669921875, -0.0197601318359375, -0.024261474609375, 0.016754150390625, -0.062164306640625, 0.01453399658203125, 0.0014619827270507812, -0.03839111328125, -0.0125732421875, -0.0265045166015625, 0.0033626556396484375, 0.02984619140625, 0.11773681640625, -0.032257080078125, 0.013519287109375, -0.033721923828125, 0.004726409912109375, -0.018341064453125, -0.01861572265625, -0.030059814453125, -0.0097503662109375, -0.01338958740234375, 0.021240234375, -0.040313720703125, -0.0026702880859375, -0.007568359375, -0.05126953125, 0.0201873779296875, -0.05767822265625, 0.0171051025390625, -0.01287841796875, 0.04901123046875, -0.0191650390625, -0.0916748046875, -0.05072021484375, 0.042755126953125, -0.0034885406494140625, 0.057342529296875, -0.043548583984375, 0.0214080810546875, 0.0017862319946289062, -0.0236053466796875, 0.0012722015380859375, -0.0176544189453125, 0.0159454345703125, 0.033905029296875, -0.0160369873046875, -0.0189971923828125, 0.0157318115234375, -0.0187225341796875, 0.0097198486328125, 0.0072784423828125, 0.03900146484375, 0.0001881122589111328, -0.02545166015625, -0.0255279541015625, -0.002216339111328125, 0.032379150390625, 0.0217437744140625, 0.01029205322265625, -0.04266357421875, -0.02105712890625, -0.01068115234375, -0.03509521484375, -0.0119476318359375, -0.003040313720703125, -0.016387939453125, 0.0128021240234375, -0.005550384521484375, -0.07440185546875, 0.0016450881958007812, 0.0011157989501953125, 0.0053253173828125, 0.01424407958984375, -0.0887451171875, 0.0447998046875, -0.00531768798828125, 0.05047607421875, -0.03765869140625, 0.044891357421875, -0.01041412353515625, -0.0095367431640625, -0.0618896484375, -0.0269317626953125, -0.0231475830078125, 0.028289794921875, -0.0239105224609375, 0.00225067138671875, 0.0313720703125, -0.0016603469848632812, -0.0015544891357421875, -0.03753662109375, -0.035736083984375, 0.027587890625, -0.059906005859375, -0.027099609375, -0.0162200927734375, 0.01140594482421875, -0.0235137939453125, -0.00838470458984375, 0.020751953125, -0.037261962890625, -0.035614013671875, 0.0224609375, -0.02313232421875, -0.0171966552734375, -0.04156494140625, -0.08343505859375, 0.03759765625, 0.00872039794921875, -0.03594970703125, -0.038299560546875, -0.01039886474609375, -0.0186309814453125, 0.03509521484375, 0.0010128021240234375, -0.033599853515625, -0.0194549560546875, 0.042022705078125, 0.037384033203125, 0.034210205078125, -0.0199432373046875, 0.0244598388671875, 0.016357421875, 0.07550048828125, 0.061004638671875, 0.033966064453125, 0.0015573501586914062, 0.00795745849609375, 0.0555419921875, 0.08026123046875, 0.0184326171875, 0.07196044921875, 0.01178741455078125, -0.0802001953125, -0.00739288330078125, -0.04632568359375, -0.052978515625, -0.054046630859375, 0.07794189453125, 0.03631591796875, 0.036224365234375, -0.0003509521484375, -0.0237579345703125, -0.027374267578125, 0.00772857666015625, -0.019378662109375, 0.007472991943359375, -0.044464111328125, -0.0112152099609375, -0.01125335693359375, 0.0011472702026367188, -0.01031494140625, 0.0244903564453125, -0.0389404296875, 0.0009016990661621094, 0.01488494873046875, -0.0101318359375, -0.0496826171875, 0.014068603515625, 0.060302734375, -0.039764404296875, -0.004894256591796875, -0.0174407958984375, 0.0307464599609375, 0.03155517578125, -0.0467529296875, -0.00263214111328125, 0.0102081298828125, 0.006938934326171875, 0.00933837890625, 0.012664794921875, -0.0170745849609375, 0.003452301025390625, -0.00310516357421875, -0.02081298828125, 0.0106201171875, 0.01168060302734375, 0.01317596435546875, -0.0174713134765625, 0.0093841552734375, 0.0199127197265625, 0.036712646484375, 0.01294708251953125, 0.03839111328125, 0.022705078125, 0.0264129638671875, -0.0042724609375, 0.004791259765625, 0.019622802734375, -0.0325927734375, -0.00238800048828125, 0.0372314453125, -0.0295867919921875, -0.0280303955078125, 0.023193359375, 0.008697509765625, 0.0104522705078125, 0.0010404586791992188 ]
0bc66057fe5ed6703a8455d6632a0bcc3a781c40
Wordpress Stackexchange Q: Calling a function from functions.php in custom page/ blog post Is it possible to call a function from functions.php in custom page or blog post? I put simple function in functions.php: function testTest() { echo "Test"; } And called it from the page: <?php testTest();?> But it doesn't work. Do I need to make a plugin to use simple function like that inside one chosen custom page? Thanks for your answer, Mary A: You could use add_shortcode if you want to use it within the editor. function footag_func() { return "Test"; } add_shortcode( 'footag', 'footag_func' ); And then use [footag] in your editor. Or Use code like this in functions.php and add a conditional tag add_action( 'loop_start', 'your_function' ); function your_function() { if ( is_singular('post') ) { echo 'Test'; } } or Create a function in functions.php function your_function() { return 'Test'; } And then use this in your template echo your_function();
Q: Calling a function from functions.php in custom page/ blog post Is it possible to call a function from functions.php in custom page or blog post? I put simple function in functions.php: function testTest() { echo "Test"; } And called it from the page: <?php testTest();?> But it doesn't work. Do I need to make a plugin to use simple function like that inside one chosen custom page? Thanks for your answer, Mary A: You could use add_shortcode if you want to use it within the editor. function footag_func() { return "Test"; } add_shortcode( 'footag', 'footag_func' ); And then use [footag] in your editor. Or Use code like this in functions.php and add a conditional tag add_action( 'loop_start', 'your_function' ); function your_function() { if ( is_singular('post') ) { echo 'Test'; } } or Create a function in functions.php function your_function() { return 'Test'; } And then use this in your template echo your_function(); A: You can quickly create a quick shortcode for doing that. add_shortcode( 'test_shortcode', 'my_test_callback' ); Then, in the callback function you do this: function my_test_callback() { //start adding the echoed content to the output buffer ob_start(); //run your code here - in this case your testTest() function testTest(); //return the output buffer //NOTE: directly echoing the content will give unexpected results return ob_get_clean(); } Then, in your content pages you just add [test_shortcode] and it will run your PHP function. For a better view on shortcodes here are some useful links: Official Shortcode API A nice tool for creating shortcodes An article I wrote on how to build shortcodes
wordpress
{ "language": "en", "length": 262, "provenance": "stackexchange_00019.jsonl.gz:496479", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/341965" }
[ 0.06939697265625, -0.003208160400390625, 0.0020275115966796875, -0.037017822265625, 0.004573822021484375, -0.02459716796875, 0.032440185546875, -0.0193023681640625, -0.036041259765625, -0.01082611083984375, -0.038299560546875, 0.03289794921875, -0.057586669921875, -0.0252838134765625, 0.031768798828125, -0.04742431640625, 0.057464599609375, -0.00106048583984375, 0.083251953125, -0.0014448165893554688, 0.0131683349609375, 0.049560546875, 0.035736083984375, 0.0892333984375, 0.0161590576171875, -0.002399444580078125, 0.058380126953125, -0.0203094482421875, 0.00933074951171875, -0.01202392578125, 0.0262908935546875, -0.00489044189453125, 0.00981903076171875, 0.0516357421875, -0.056304931640625, 0.00739288330078125, -0.021148681640625, 0.02947998046875, -0.006683349609375, 0.04278564453125, 0.004009246826171875, 0.01119232177734375, -0.0570068359375, 0.056976318359375, -0.035888671875, -0.09844970703125, 0.027252197265625, -0.040679931640625, -0.0273895263671875, 0.042510986328125, 0.043121337890625, 0.006378173828125, 0.043060302734375, 0.0176544189453125, 0.000774383544921875, -0.02984619140625, -0.021514892578125, 0.027923583984375, 0.01009368896484375, 0.003997802734375, -0.006084442138671875, 0.023193359375, 0.01061248779296875, 0.012786865234375, 0.00821685791015625, 0.00400543212890625, -0.01468658447265625, 0.01322174072265625, -0.0252532958984375, 0.01116943359375, 0.0240325927734375, -0.03460693359375, 0.010101318359375, 0.00014650821685791016, 0.016632080078125, -0.047149658203125, 0.0236053466796875, -0.00676727294921875, -0.0106201171875, 0.02130126953125, 0.00086212158203125, -0.0290069580078125, -0.0287628173828125, 0.0159149169921875, -0.025604248046875, 0.03753662109375, -0.01031494140625, -0.0087127685546875, -0.03045654296875, -0.035430908203125, -0.032684326171875, 0.015716552734375, -0.060394287109375, 0.0035552978515625, -0.014862060546875, -0.004192352294921875, 0.01079559326171875, 0.00522613525390625, 0.015899658203125, 0.0101470947265625, 0.023223876953125, -0.06524658203125, 0.053192138671875, -0.039337158203125, 0.003795623779296875, 0.07867431640625, -0.0209197998046875, 0.00537109375, 0.0235595703125, 0.02423095703125, 0.040557861328125, -0.0828857421875, -0.00457763671875, -0.044158935546875, 0.0004146099090576172, 0.022186279296875, -0.0251007080078125, 0.01263427734375, 0.0208282470703125, -0.011077880859375, 0.01259613037109375, 0.0390625, 0.040924072265625, -0.0211944580078125, 0.01245880126953125, 0.0153350830078125, -0.02301025390625, -0.07647705078125, 0.0303192138671875, 0.01251220703125, -0.048095703125, 0.017059326171875, 0.06402587890625, 0.0017852783203125, -0.005466461181640625, -0.0250244140625, 0.01476287841796875, 0.01016998291015625, 0.01262664794921875, 0.0006136894226074219, 0.038360595703125, -0.03704833984375, -0.0305328369140625, 0.0237884521484375, 0.0206756591796875, 0.021087646484375, 0.0249786376953125, 0.0027332305908203125, -0.0171966552734375, -0.03302001953125, 0.00510406494140625, 0.0263671875, 0.0225677490234375, 0.017486572265625, 0.0056304931640625, 0.01071929931640625, -0.03521728515625, 0.016754150390625, 0.01837158203125, 0.039794921875, 0.0178680419921875, -0.006664276123046875, -0.017669677734375, -0.026763916015625, -0.055816650390625, 0.01398468017578125, -0.019378662109375, -0.00550079345703125, 0.0201416015625, 0.031402587890625, -0.0278167724609375, 0.006866455078125, -0.0144500732421875, 0.031097412109375, 0.0175018310546875, 0.0193023681640625, -0.0186004638671875, 0.053741455078125, 0.00844573974609375, 0.03350830078125, 0.0066680908203125, -0.0413818359375, 0.06439208984375, -0.0235443115234375, -0.032958984375, 0.0203094482421875, 0.00928497314453125, 0.070556640625, 0.00728607177734375, 0.046051025390625, -0.00933074951171875, 0.00597381591796875, -0.006137847900390625, 0.01134490966796875, 0.0014925003051757812, -0.02862548828125, -0.0511474609375, -0.0119171142578125, -0.033538818359375, -0.0017070770263671875, -0.012939453125, -0.0017547607421875, 0.0010595321655273438, 0.01514434814453125, -0.020294189453125, -0.0038127899169921875, -0.01338958740234375, 0.022705078125, 0.0350341796875, 0.004695892333984375, -0.005458831787109375, -0.026214599609375, 0.001392364501953125, -0.0101318359375, -0.027740478515625, 0.0013742446899414062, -0.022918701171875, 0.02569580078125, -0.0109405517578125, 0.01568603515625, -0.028472900390625, -0.002834320068359375, -0.046478271484375, -0.01153564453125, 0.0069427490234375, -0.034149169921875, -0.029296875, -0.04608154296875, -0.06719970703125, -0.0100860595703125, -0.06756591796875, 0.0809326171875, 0.041595458984375, 0.03997802734375, -0.0186920166015625, -0.01995849609375, -0.01036834716796875, -0.04437255859375, -0.0030574798583984375, 0.0560302734375, 0.0406494140625, 0.034942626953125, 0.034942626953125, 0.0231170654296875, 0.08123779296875, 0.00811004638671875, 0.0265655517578125, -0.0279998779296875, 0.0179290771484375, 0.0428466796875, -0.0164031982421875, -0.01110076904296875, 0.0178985595703125, -0.03289794921875, 0.0240936279296875, 0.03759765625, 0.005428314208984375, -0.0142059326171875, 0.01529693603515625, -0.021484375, 0.032318115234375, -0.035980224609375, -0.06915283203125, 0.016021728515625, 0.0160675048828125, 0.0019474029541015625, -0.0039825439453125, 0.006420135498046875, -0.04864501953125, 0.00858306884765625, 0.03948974609375, 0.02020263671875, -0.00661468505859375, 0.0197906494140625, 0.016876220703125, -0.027679443359375, -0.0252838134765625, 0.00942230224609375, -0.0107269287109375, 0.0008549690246582031, 0.0001569986343383789, 0.047393798828125, -0.0045928955078125, -0.021026611328125, 0.0005841255187988281, -0.0003523826599121094, 0.01256561279296875, 0.00689697265625, 0.02947998046875, 0.0082855224609375, 0.0227508544921875, 0.021209716796875, -0.0167694091796875, 0.04400634765625, 0.0167083740234375, -0.0194854736328125, 0.01385498046875, -0.05145263671875, 0.053680419921875, -0.023040771484375, 0.05230712890625, 0.0703125, -0.0001239776611328125, 0.01114654541015625, 0.0171966552734375, 0.01352691650390625, 0.044708251953125, 0.0035800933837890625, 0.01236724853515625, -0.00870513916015625, 0.0143585205078125, 0.0247344970703125, 0.018646240234375, 0.03973388671875, -0.00039315223693847656, -0.038787841796875, 0.003414154052734375, 0.0243377685546875, -0.07275390625, -0.07220458984375, 0.020843505859375, -0.05780029296875, -0.0120697021484375, -0.032501220703125, -0.0328369140625, -0.01503753662109375, -0.01373291015625, -0.00949859619140625, 0.00988006591796875, -0.007904052734375, -0.048248291015625, -0.03375244140625, -0.07574462890625, -0.001338958740234375, 0.006656646728515625, 0.00897979736328125, 0.00823211669921875, 0.026611328125, -0.006626129150390625, -0.059326171875, 0.0048980712890625, 0.017730712890625, -0.017578125, 0.01128387451171875, 0.0189056396484375, -0.0430908203125, -0.01120758056640625, -0.01476287841796875, 0.0141143798828125, 0.01959228515625, -0.011566162109375, 0.00574493408203125, -0.02581787109375, -0.01082611083984375, 0.007709503173828125, 0.043792724609375, 0.0190277099609375, -0.00910186767578125, 0.0257568359375, -0.0555419921875, -0.0198822021484375, 0.015899658203125, -0.029296875, -0.0220794677734375, -0.0013828277587890625, -0.02301025390625, -0.0197906494140625, 0.0236968994140625, 0.036041259765625, 0.031982421875, 0.0020618438720703125, 0.0408935546875, -0.0160980224609375, -0.000843048095703125, 0.02392578125, -0.010711669921875, 0.030426025390625, -0.0124664306640625, 0.004695892333984375, 0.01264190673828125, 0.02960205078125, 0.0003211498260498047, -0.00623321533203125, -0.0565185546875, -0.01372528076171875, 0.034942626953125, 0.003200531005859375, 0.0132293701171875, 0.00972747802734375, -0.0196990966796875, 0.0175323486328125, 0.06439208984375, 0.0059356689453125, 0.00063323974609375, 0.0088043212890625, -0.00453948974609375, -0.04669189453125, -0.029022216796875, -0.075439453125, -0.0011157989501953125, -0.00412750244140625, -0.0011997222900390625, -0.01190185546875, -0.00310516357421875, -0.03887939453125, 0.035003662109375, -0.036529541015625, -0.006198883056640625, 0.007381439208984375, -0.0064697265625, 0.004047393798828125, 0.005573272705078125, -0.01678466796875, -0.0008320808410644531, 0.01256561279296875, -0.02587890625, -0.049163818359375, -0.01470947265625, -0.0180206298828125, 0.050994873046875, 0.034759521484375, -0.049407958984375, -0.0034656524658203125, 0.03216552734375, 0.04119873046875, 0.0255889892578125, 0.0272369384765625, -0.0080108642578125, 0.043365478515625, -0.003490447998046875, 0.041748046875, -0.0284881591796875, -0.0038909912109375, 0.008758544921875, 0.0024890899658203125, 0.054656982421875, -0.01073455810546875, -0.01450347900390625, 0.019683837890625, -0.0296783447265625, -0.0185546875, -0.017547607421875, -0.0234832763671875, -0.013336181640625, -0.01242828369140625, -0.0186004638671875, -0.0003871917724609375, -0.01293182373046875, -0.00727081298828125, 0.0039215087890625, -0.01959228515625, 0.0203399658203125, 0.0168304443359375, 0.023834228515625, -0.02197265625, -0.031982421875, 0.01068878173828125, 0.06201171875, -0.036041259765625, 0.0243072509765625, -0.002902984619140625, -0.04248046875, 0.07568359375, 0.003932952880859375, 0.0202178955078125, -0.039337158203125, 0.0760498046875, 0.008941650390625, 0.006031036376953125, 0.007038116455078125, 0.009613037109375, -0.01107025146484375, 0.00948333740234375, -0.0191802978515625, -0.0205078125, 0.01018524169921875, 0.0450439453125, -0.032501220703125, 0.05389404296875, -0.026519775390625, -0.01751708984375, 0.01140594482421875, -0.07061767578125, 0.055511474609375, 0.0240478515625, -0.01074981689453125, 0.03656005859375, 0.023284912109375, -0.0045318603515625, 0.07275390625, 0.06549072265625, -0.005382537841796875, 0.0259246826171875, 0.0290679931640625, -0.043212890625, 0.0087738037109375, 0.004718780517578125, -0.007526397705078125, 0.0218658447265625, -0.027252197265625, -0.0086212158203125, 0.01885986328125, -0.0074615478515625, -0.02508544921875, -0.039642333984375, 0.0162506103515625, 0.00710296630859375, -0.02728271484375, 0.0203857421875, -0.034423828125, -0.0244598388671875, -0.024322509765625, 0.0189971923828125, 0.0285797119140625, -0.03143310546875, 0.00848388671875, 0.0192413330078125, -0.006168365478515625, 0.0018520355224609375, -0.0072174072265625, 0.0265350341796875, -0.01776123046875, 0.0487060546875, 0.021331787109375, -0.018585205078125, -0.0140838623046875, 0.0143890380859375, -0.0294036865234375, -0.034271240234375, -0.0233917236328125, 0.004695892333984375, 0.0260009765625, -0.0179595947265625, 0.00408935546875, 0.0272369384765625, 0.029693603515625, -0.033050537109375, 0.005645751953125, 0.0311737060546875, 0.017181396484375, -0.01514434814453125, -0.0110321044921875, 0.0271148681640625, 0.048370361328125, 0.01189422607421875, 0.0178375244140625, 0.0173187255859375, 0.06884765625, -0.079833984375, 0.0682373046875, -0.0189971923828125, -0.02154541015625, -0.005115509033203125, -0.01496124267578125, -0.0113677978515625, 0.0210418701171875, -0.0032672882080078125, -0.02435302734375, -0.0263671875, 0.039703369140625, -0.009002685546875, 0.0042724609375, -0.025054931640625, -0.0170135498046875, 0.005077362060546875, -0.0162353515625, 0.08941650390625, 0.0311279296875, -0.09051513671875, 0.025787353515625, -0.014129638671875, 0.01580810546875, -0.0153961181640625, -0.07080078125, -0.0340576171875, -0.0233612060546875, 0.01528167724609375, 0.047882080078125, -0.0178070068359375, -0.0292205810546875, -0.00452423095703125, -0.0250244140625, -0.0106201171875, 0.031707763671875, 0.01149749755859375, 0.042633056640625, -0.006618499755859375, 0.051849365234375, 0.020050048828125, 0.0389404296875, 0.0004315376281738281, -0.05078125, 0.0188140869140625, -0.0301971435546875, -0.01397705078125, -0.0290985107421875, 0.005634307861328125, -0.00925445556640625, 0.034332275390625, -0.005191802978515625, -0.0173187255859375, -0.01416015625, 0.00257110595703125, -0.024169921875, 0.0309600830078125, -0.0024852752685546875, -0.0125732421875, -0.038604736328125, -0.038909912109375, -0.0447998046875, 0.0244598388671875, -0.0155487060546875, 0.05859375, -0.00460052490234375, 0.029205322265625, -0.00791168212890625, -0.044097900390625, 0.06695556640625, 0.066162109375, 0.00011038780212402344, 0.045989990234375, 0.0288848876953125, 0.0088043212890625, 0.0098419189453125, 0.03155517578125, 0.0006680488586425781, -0.06011962890625, 0.0196533203125, -0.00247955322265625, -0.01486968994140625, -0.0032100677490234375, -0.0251922607421875, 0.022369384765625, 0.05975341796875, 0.060333251953125, -0.0902099609375, 0.01273345947265625, 0.0012617111206054688, -0.0119476318359375, 0.036865234375, -0.0288848876953125, 0.0034236907958984375, -0.042388916015625, 0.06689453125, 0.00925445556640625, -0.0090179443359375, 0.02099609375, -0.0166778564453125, 0.01776123046875, 0.0042266845703125, 0.047515869140625, 0.008331298828125, -0.02734375, 0.00823211669921875, 0.0156707763671875, 0.0082244873046875, -0.029571533203125, 0.0325927734375, -0.013397216796875, -0.0031299591064453125, -0.02679443359375, 0.044647216796875, 0.01100921630859375, -0.003757476806640625, -0.00821685791015625, 0.0027027130126953125, 0.01332855224609375, 0.043609619140625, -0.03509521484375, 0.0178375244140625, 0.025238037109375, -0.0139923095703125, -0.022491455078125, -0.0246124267578125, 0.0208587646484375, 0.005702972412109375, -0.047027587890625, 0.028900146484375, -0.0205078125, -0.034637451171875, -0.00870513916015625, -0.0032520294189453125, 0.08154296875, -0.0361328125, -0.0164947509765625, 0.037139892578125, -0.01198577880859375, -0.03021240234375, -0.037200927734375, 0.00705718994140625, -0.0718994140625, -0.01451873779296875, -0.019134521484375, -0.0070343017578125, -0.014068603515625, -0.050201416015625, -0.049896240234375, 0.11846923828125, -0.023406982421875, 0.0066986083984375, 0.00466156005859375, 0.059967041015625, -0.00568389892578125, 0.042449951171875, -0.051666259765625, 0.0251007080078125, -0.01407623291015625, 0.058349609375, -0.06903076171875, -0.00528717041015625, -0.0097808837890625, 0.036102294921875, -0.007843017578125, -0.00817108154296875, 0.0313720703125, -0.0032749176025390625, 0.035430908203125, 0.047119140625, -0.00016820430755615234, -0.0180816650390625, -0.0134735107421875, 0.0289459228515625, 0.044586181640625, -0.01517486572265625, 0.02374267578125, 0.0254364013671875, -0.0258331298828125, 0.0311737060546875, 0.00006413459777832031, -0.02545166015625, 0.003765106201171875, -0.054229736328125, -0.007236480712890625, 0.0027942657470703125, -0.0186767578125, 0.0426025390625, -0.039031982421875, 0.06121826171875, 0.032379150390625, -0.033050537109375, -0.0269317626953125, -0.027099609375, 0.0394287109375, 0.00274658203125, 0.0196075439453125, -0.0125274658203125, 0.01313018798828125, -0.01108551025390625, -0.04412841796875, -0.01788330078125, 0.01480865478515625, -0.03778076171875, 0.06036376953125, 0.0220794677734375, 0.007450103759765625, -0.046356201171875, 0.0115966796875, 0.043609619140625, 0.06268310546875, -0.04913330078125, 0.005405426025390625, -0.00933074951171875, -0.019256591796875, 0.0134429931640625, -0.047210693359375, 0.01526641845703125, 0.062347412109375, 0.01540374755859375, 0.00502777099609375, -0.01375579833984375, -0.0155029296875, 0.0145111083984375, -0.0010385513305664062, 0.00789642333984375, 0.00887298583984375, -0.009857177734375, -0.01059722900390625, -0.0158233642578125, 0.0229644775390625, 0.0283660888671875, -0.005161285400390625, 0.03497314453125, -0.004154205322265625, 0.0010499954223632812, 0.007720947265625, 0.0125274658203125, -0.0196533203125, 0.004520416259765625, -0.05059814453125, -0.056427001953125, 0.0117034912109375, 0.0599365234375, -0.036407470703125, 0.02508544921875, 0.01052093505859375, 0.038787841796875, 0.0027256011962890625, -0.024169921875, 0.0494384765625, -0.01220703125, -0.01507568359375, -0.0038242340087890625, -0.04669189453125, -0.0065155029296875, -0.03387451171875, 0.003467559814453125, 0.0106658935546875, 0.00490570068359375, -0.037750244140625, 0.04541015625, -0.00738525390625, -0.00998687744140625, 0.0245208740234375, -0.00678253173828125, 0.0626220703125, 0.0042266845703125, -0.0478515625, 0.019561767578125, -0.039520263671875, -0.0733642578125, 0.00974273681640625, 0.03765869140625, -0.032379150390625, 0.0211029052734375, 0.01702880859375, -0.03546142578125, 0.035888671875, 0.0151214599609375, 0.004154205322265625, 0.004718780517578125, 0.02789306640625, 0.0025691986083984375, -0.024322509765625, -0.0257720947265625, -0.0244903564453125, 0.062255859375, 0.023712158203125, 0.07916259765625, -0.038330078125, 0.042572021484375, -0.00946044921875, 0.0028324127197265625, -0.029144287109375, -0.0051727294921875, -0.007678985595703125, -0.0078277587890625, 0.002414703369140625, 0.004467010498046875, -0.03204345703125, 0.060882568359375, -0.00024509429931640625, -0.0075836181640625, 0.02740478515625, -0.00978851318359375, 0.0030956268310546875, 0.014678955078125, 0.0183868408203125, -0.001270294189453125, -0.007762908935546875, -0.01233673095703125, -0.0170745849609375, 0.040802001953125, 0.032196044921875, -0.01433563232421875, -0.004802703857421875, -0.008087158203125, -0.04705810546875, -0.009185791015625, -0.0157623291015625, -0.031982421875, 0.018157958984375, 0.0285491943359375, -0.051971435546875, 0.0231781005859375, -0.01641845703125, 0.00016617774963378906, 0.015869140625, 0.049774169921875, 0.0160980224609375, -0.066650390625, 0.0271453857421875, -0.0130462646484375, 0.015533447265625, -0.01274871826171875, -0.01129150390625, 0.01520538330078125, 0.0017414093017578125, -0.050537109375, -0.0203857421875, -0.0216827392578125, -0.0247039794921875, 0.0126800537109375, 0.03265380859375, -0.0011987686157226562, -0.002109527587890625, -0.019500732421875, 0.00983428955078125, 0.0269012451171875, -0.009979248046875, -0.02978515625, -0.014312744140625, -0.03631591796875, 0.053802490234375, -0.028350830078125, 0.01174163818359375, 0.0156707763671875, 0.06640625, -0.021148681640625, 0.0003554821014404297, 0.003936767578125, -0.01285552978515625, 0.0022716522216796875, 0.0745849609375, 0.08123779296875, -0.046234130859375, -0.019866943359375, 0.09649658203125, 0.04022216796875, 0.1552734375, -0.01406097412109375, -0.01157379150390625, 0.037841796875, -0.0157470703125, -0.0196990966796875, -0.05108642578125, 0.035125732421875, -0.06536865234375, -0.006763458251953125, 0.01270294189453125, 0.003803253173828125, 0.032073974609375, -0.041748046875, -0.1011962890625, 0.019256591796875, -0.0031185150146484375, -0.0576171875, -0.0662841796875, 0.005626678466796875, 0.0141754150390625, 0.0005154609680175781, -0.0255279541015625, -0.009918212890625, -0.043548583984375, 0.03399658203125, 0.0150604248046875, 0.0216827392578125, 0.0296173095703125, 0.04217529296875, -0.0102081298828125, 0.033294677734375, 0.01323699951171875, -0.011505126953125, 0.0274810791015625, -0.041961669921875, 0.033905029296875, 0.0216064453125, -0.050140380859375, -0.06048583984375, -0.00860595703125, 0.0036983489990234375, -0.0160064697265625, -0.05029296875, -0.01482391357421875, -0.01163482666015625, 0.058990478515625, 0.034820556640625, 0.0169677734375, -0.03302001953125, -0.0178070068359375, -0.006916046142578125, -0.001262664794921875, -0.01708984375, 0.0133056640625, -0.08319091796875, -0.035614013671875, 0.021270751953125, 0.007534027099609375, 0.01457977294921875, -0.037872314453125, -0.0223388671875, -0.0026836395263671875, -0.008636474609375, 0.0148162841796875, -0.0223388671875, -0.0166473388671875, 0.05950927734375, -0.023223876953125, 0.019012451171875, -0.005847930908203125, 0.019561767578125, 0.025146484375, -0.005420684814453125, 0.0211944580078125, 0.027435302734375, -0.01161956787109375, -0.0004839897155761719, 0.0222320556640625, -0.0152740478515625, 0.0113067626953125, -0.0269317626953125, -0.00052642822265625, 0.01568603515625, -0.0106048583984375, -0.0050048828125, 0.0006313323974609375, 0.039825439453125, -0.00525665283203125, 0.071044921875, 0.0144195556640625, 0.050201416015625, -0.002307891845703125, 0.04010009765625, -0.0045013427734375, -0.01451873779296875, 0.00652313232421875, -0.040985107421875, 0.0090484619140625, 0.0112457275390625, 0.020111083984375, -0.026275634765625, 0.03985595703125, 0.045745849609375, 0.01380157470703125, 0.0205230712890625 ]
d641cd643d3807c0183abbbd82fd6d3ed513e54c
Wordpress Stackexchange Q: How to disable automated E-Mail on PHP error/exception? Since WordPress 5.2 there is an automated E-Mail on PHP exceptions. In some smaller projects I just upload the files for new extensions while developing - whenever an error occurs then, the site admin is getting an email. This is usually one of my freelance customers and they unecessarily panic then. Therefore I would like to turn of this email notifications (without changing the admin email). Is there some kind of action/filter, config option (e.g. define) to disable this behaviour? Some true/false option would be the best? Then I can disable this just for the times I develop. A: There was some discussion on it a few weeks ago you can find here: https://make.wordpress.org/core/2019/04/16/fatal-error-recovery-mode-in-5-2/ According to that and looking through the core, you can accomplish that with one of two methods: define('RECOVERY_MODE_EMAIL', '[email protected]'); OR add_filter( 'recovery_mode_email', 'recovery_email_update', 10, 2 ); function recovery_email_update( $email, $url ) { $email['to'] = '[email protected]'; return $email; } Hope that helps!!
Q: How to disable automated E-Mail on PHP error/exception? Since WordPress 5.2 there is an automated E-Mail on PHP exceptions. In some smaller projects I just upload the files for new extensions while developing - whenever an error occurs then, the site admin is getting an email. This is usually one of my freelance customers and they unecessarily panic then. Therefore I would like to turn of this email notifications (without changing the admin email). Is there some kind of action/filter, config option (e.g. define) to disable this behaviour? Some true/false option would be the best? Then I can disable this just for the times I develop. A: There was some discussion on it a few weeks ago you can find here: https://make.wordpress.org/core/2019/04/16/fatal-error-recovery-mode-in-5-2/ According to that and looking through the core, you can accomplish that with one of two methods: define('RECOVERY_MODE_EMAIL', '[email protected]'); OR add_filter( 'recovery_mode_email', 'recovery_email_update', 10, 2 ); function recovery_email_update( $email, $url ) { $email['to'] = '[email protected]'; return $email; } Hope that helps!! A: I have thoroughly tested the above suggestions and neither of them work. The only thing I have found that DOES work is adding the following to "wp-config.php": define('WP_DISABLE_FATAL_ERROR_HANDLER',true);
wordpress
{ "language": "en", "length": 193, "provenance": "stackexchange_00019.jsonl.gz:496563", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/342251" }
[ 0.0804443359375, -0.031829833984375, 0.0111541748046875, -0.06500244140625, 0.0163726806640625, -0.027374267578125, 0.052764892578125, 0.0029125213623046875, 0.03594970703125, 0.0207366943359375, -0.0194549560546875, -0.02679443359375, 0.07708740234375, -0.03607177734375, 0.0125579833984375, 0.0019207000732421875, -0.004802703857421875, 0.00811004638671875, -0.015960693359375, -0.024078369140625, 0.0063934326171875, -0.0180816650390625, -0.038665771484375, -0.0165252685546875, -0.04132080078125, 0.078369140625, 0.09136962890625, -0.0278778076171875, -0.0250396728515625, -0.0195465087890625, -0.0024356842041015625, -0.0167236328125, 0.0309600830078125, 0.05078125, -0.08013916015625, -0.03839111328125, 0.0141143798828125, -0.005817413330078125, -0.03564453125, 0.0467529296875, 0.00855255126953125, -0.0024623870849609375, 0.050140380859375, -0.03289794921875, -0.0009584426879882812, 0.017303466796875, 0.007099151611328125, -0.0247344970703125, 0.042572021484375, 0.039794921875, -0.007488250732421875, 0.04766845703125, -0.01012420654296875, -0.0165863037109375, -0.0109710693359375, -0.01995849609375, -0.030120849609375, 0.01459503173828125, -0.00278472900390625, 0.027557373046875, 0.00948333740234375, 0.03277587890625, -0.010009765625, -0.01194000244140625, -0.0249481201171875, 0.0062255859375, 0.0226593017578125, 0.0019483566284179688, -0.0350341796875, -0.029571533203125, 0.027313232421875, -0.0195465087890625, 0.02264404296875, -0.0025310516357421875, 0.0034427642822265625, -0.0218048095703125, 0.0121612548828125, -0.0021762847900390625, 0.0173187255859375, -0.00766754150390625, 0.0279998779296875, -0.0267181396484375, -0.0200653076171875, -0.016357421875, 0.026580810546875, 0.0228118896484375, 0.005096435546875, -0.012664794921875, -0.0171661376953125, -0.0087738037109375, -0.0216064453125, -0.02197265625, -0.00527191162109375, -0.00421142578125, -0.032623291015625, -0.0295562744140625, 0.0016469955444335938, 0.009918212890625, -0.030181884765625, -0.03070068359375, 0.0091094970703125, -0.0226287841796875, -0.011260986328125, 0.004970550537109375, -0.01617431640625, 0.0340576171875, -0.0108489990234375, -0.04425048828125, 0.0014619827270507812, 0.02996826171875, 0.0010995864868164062, -0.006778717041015625, -0.027923583984375, -0.038421630859375, 0.00647735595703125, 0.031707763671875, -0.0292510986328125, 0.031158447265625, 0.016876220703125, 0.030670166015625, -0.004917144775390625, 0.037445068359375, -0.0538330078125, -0.0215301513671875, -0.005962371826171875, -0.0251007080078125, -0.004398345947265625, 0.0132598876953125, 0.05657958984375, -0.0146331787109375, -0.053985595703125, 0.033050537109375, 0.066650390625, -0.0007576942443847656, 0.018341064453125, 0.005191802978515625, -0.0130462646484375, 0.0205230712890625, 0.00860595703125, -0.0117645263671875, 0.0521240234375, -0.02191162109375, 0.0002307891845703125, 0.03369140625, -0.034332275390625, -0.00664520263671875, 0.01029205322265625, 0.04547119140625, -0.0160369873046875, 0.007656097412109375, -0.00557708740234375, 0.01103973388671875, 0.038604736328125, 0.01197052001953125, -0.0001499652862548828, -0.0029296875, 0.059356689453125, -0.0192108154296875, -0.0445556640625, -0.037841796875, 0.0227203369140625, -0.00698089599609375, 0.0007920265197753906, -0.011077880859375, -0.043121337890625, 0.0438232421875, -0.0596923828125, -0.0194854736328125, 0.0268402099609375, -0.01922607421875, 0.040496826171875, 0.01354217529296875, 0.022125244140625, -0.01263427734375, -0.003963470458984375, -0.015472412109375, -0.017822265625, -0.0015974044799804688, 0.038177490234375, -0.02801513671875, -0.031219482421875, -0.0309600830078125, 0.0170440673828125, -0.010772705078125, -0.039825439453125, -0.0295257568359375, 0.0127105712890625, 0.0257110595703125, 0.026641845703125, 0.0283355712890625, 0.0181732177734375, -0.01580810546875, 0.01087188720703125, 0.03131103515625, -0.024993896484375, -0.07208251953125, 0.024078369140625, -0.00792694091796875, -0.014007568359375, 0.035552978515625, -0.0083770751953125, -0.04144287109375, 0.0250244140625, -0.058135986328125, -0.08428955078125, -0.0186004638671875, -0.047210693359375, 0.0462646484375, -0.007110595703125, 0.01143646240234375, 0.004302978515625, -0.02935791015625, -0.0276947021484375, 0.048004150390625, -0.006587982177734375, -0.033355712890625, -0.035003662109375, 0.04827880859375, -0.0216064453125, 0.08734130859375, -0.039306640625, -0.0670166015625, -0.0130157470703125, -0.0092620849609375, 0.020904541015625, -0.0250396728515625, -0.0059356689453125, -0.01727294921875, 0.050872802734375, -0.01535797119140625, 0.045562744140625, 0.045257568359375, -0.02130126953125, 0.0050506591796875, -0.0221405029296875, -0.0160980224609375, -0.019317626953125, -0.055694580078125, 0.015899658203125, 0.044281005859375, 0.05108642578125, 0.0029392242431640625, 0.0242919921875, 0.006801605224609375, 0.004253387451171875, -0.027618408203125, 0.0433349609375, -0.03924560546875, -0.035430908203125, -0.025848388671875, -0.015106201171875, 0.0013799667358398438, 0.03399658203125, -0.01264190673828125, -0.0034656524658203125, 0.0439453125, -0.007450103759765625, -0.036590576171875, -0.00696563720703125, 0.017822265625, 0.017669677734375, -0.05657958984375, -0.03656005859375, -0.01021575927734375, -0.01058197021484375, 0.03033447265625, 0.037200927734375, 0.036468505859375, -0.0045166015625, -0.00426483154296875, -0.00545501708984375, -0.011199951171875, 0.00458526611328125, 0.038238525390625, 0.014678955078125, 0.024383544921875, -0.00696563720703125, -0.01511383056640625, -0.0197906494140625, 0.0294189453125, -0.038909912109375, -0.037445068359375, 0.0189056396484375, -0.00711822509765625, 0.0279693603515625, -0.033843994140625, 0.03753662109375, -0.033599853515625, -0.0218048095703125, -0.0308990478515625, -0.00971221923828125, 0.037689208984375, -0.02423095703125, 0.024749755859375, 0.0051422119140625, -0.0153961181640625, -0.06011962890625, -0.03759765625, 0.0345458984375, -0.039154052734375, 0.029876708984375, 0.06378173828125, 0.0029392242431640625, 0.0206451416015625, 0.006023406982421875, -0.044219970703125, -0.0266571044921875, 0.044097900390625, 0.01010894775390625, -0.0173492431640625, -0.041412353515625, 0.01326751708984375, 0.022735595703125, 0.0726318359375, -0.0306549072265625, -0.060089111328125, -0.01116180419921875, 0.020263671875, -0.05816650390625, -0.060150146484375, 0.0124053955078125, -0.01739501953125, -0.005886077880859375, 0.0204620361328125, -0.002407073974609375, -0.0238189697265625, 0.030487060546875, 0.0023956298828125, 0.0225372314453125, -0.01308441162109375, -0.07177734375, -0.037689208984375, -0.0726318359375, -0.014862060546875, -0.01171875, 0.0031566619873046875, 0.01251983642578125, 0.0970458984375, 0.0131072998046875, -0.06573486328125, -0.004726409912109375, -0.031768798828125, -0.032806396484375, 0.026336669921875, -0.03509521484375, -0.024322509765625, 0.01425933837890625, -0.0013151168823242188, -0.037506103515625, -0.034759521484375, 0.058074951171875, -0.0399169921875, -0.01215362548828125, 0.004909515380859375, -0.007152557373046875, -0.01654052734375, 0.00835418701171875, -0.0095367431640625, -0.031707763671875, -0.04656982421875, -0.01087188720703125, -0.018829345703125, -0.03546142578125, 0.0006151199340820312, 0.029510498046875, -0.02801513671875, -0.0087890625, -0.011260986328125, 0.023284912109375, -0.006626129150390625, 0.01389312744140625, -0.024627685546875, 0.0223388671875, 0.007366180419921875, 0.01219940185546875, -0.023162841796875, 0.066162109375, 0.00013554096221923828, -0.0214080810546875, 0.016143798828125, 0.0081024169921875, -0.0168914794921875, -0.01232147216796875, -0.052215576171875, -0.06103515625, 0.0246429443359375, -0.078125, -0.012298583984375, -0.0130615234375, 0.01409912109375, 0.031494140625, 0.08489990234375, -0.03009033203125, -0.005542755126953125, -0.034271240234375, 0.00839996337890625, -0.030853271484375, -0.034027099609375, -0.0221099853515625, 0.0230560302734375, -0.0311279296875, 0.008026123046875, -0.0310821533203125, -0.00433349609375, -0.021087646484375, -0.03094482421875, -0.007526397705078125, -0.03314208984375, 0.0264892578125, -0.047271728515625, 0.025604248046875, -0.0238494873046875, 0.0157012939453125, -0.0556640625, -0.004337310791015625, -0.050750732421875, -0.056243896484375, -0.01442718505859375, -0.0155029296875, 0.0440673828125, -0.0135498046875, 0.0274200439453125, -0.0186767578125, 0.03509521484375, 0.019561767578125, -0.0289459228515625, 0.0242462158203125, -0.01708984375, 0.04876708984375, 0.03863525390625, 0.007259368896484375, 0.00957489013671875, 0.030517578125, 0.0150909423828125, -0.07891845703125, 0.006084442138671875, -0.0167388916015625, 0.00689697265625, 0.05780029296875, -0.0743408203125, -0.03863525390625, -0.03631591796875, -0.06622314453125, -0.01457977294921875, -0.028961181640625, -0.0369873046875, -0.0264892578125, -0.052886962890625, 0.04681396484375, 0.006977081298828125, -0.0201416015625, -0.0064849853515625, 0.03851318359375, 0.0117340087890625, -0.035736083984375, 0.016815185546875, -0.0004954338073730469, 0.033416748046875, 0.005462646484375, 0.00478363037109375, -0.001903533935546875, -0.0181884765625, 0.0106658935546875, 0.005687713623046875, 0.0095672607421875, -0.02239990234375, 0.018646240234375, 0.0124359130859375, -0.0058135986328125, 0.0021686553955078125, -0.01556396484375, 0.041717529296875, 0.0035114288330078125, 0.0169830322265625, -0.0300445556640625, 0.0321044921875, 0.014923095703125, -0.0218505859375, 0.03985595703125, 0.0160064697265625, -0.0201568603515625, 0.0234527587890625, 0.0005002021789550781, -0.0092010498046875, 0.0171966552734375, -0.005878448486328125, -0.026397705078125, -0.010711669921875, -0.0357666015625, -0.01165771484375, -0.00665283203125, -0.006763458251953125, 0.01227569580078125, -0.01062774658203125, -0.036285400390625, -0.009033203125, 0.00002574920654296875, 0.0175323486328125, 0.014556884765625, -0.01416778564453125, -0.016571044921875, 0.00215911865234375, -0.007358551025390625, 0.0024585723876953125, -0.020599365234375, 0.083984375, 0.03955078125, -0.0254364013671875, -0.0085906982421875, -0.0601806640625, 0.0005536079406738281, -0.07830810546875, 0.01409149169921875, 0.0288543701171875, -0.014495849609375, 0.0169677734375, 0.033782958984375, 0.02252197265625, 0.0168609619140625, -0.008453369140625, 0.0183563232421875, 0.0261993408203125, 0.01534271240234375, 0.015045166015625, 0.00974273681640625, 0.0217132568359375, -0.0288848876953125, 0.03277587890625, -0.0369873046875, -0.04278564453125, 0.006481170654296875, 0.041748046875, 0.0021381378173828125, 0.01837158203125, 0.00823211669921875, -0.00400543212890625, -0.008148193359375, 0.042724609375, 0.035247802734375, -0.0153656005859375, -0.04559326171875, -0.020782470703125, 0.027984619140625, -0.0089263916015625, -0.00437164306640625, 0.0182342529296875, -0.018280029296875, -0.00873565673828125, 0.040283203125, -0.051055908203125, -0.00550079345703125, 0.005298614501953125, 0.02227783203125, -0.0242767333984375, -0.0132904052734375, -0.07830810546875, -0.006633758544921875, -0.0222015380859375, 0.019256591796875, 0.055450439453125, -0.0294952392578125, -0.014404296875, -0.01309967041015625, 0.031768798828125, -0.01312255859375, 0.0277252197265625, 0.0154266357421875, -0.002117156982421875, -0.04547119140625, -0.003360748291015625, -0.07635498046875, -0.038726806640625, -0.030670166015625, -0.0176849365234375, -0.038299560546875, 0.003902435302734375, 0.0089111328125, 0.0205230712890625, -0.0022220611572265625, -0.03607177734375, -0.01033782958984375, -0.00036072731018066406, 0.018402099609375, 0.052825927734375, -0.0240631103515625, 0.036102294921875, -0.00356292724609375, 0.01435089111328125, -0.01332855224609375, 0.0140380859375, 0.0175018310546875, -0.009796142578125, -0.0273284912109375, -0.027679443359375, 0.01287841796875, 0.024993896484375, 0.0141754150390625, 0.02020263671875, 0.049774169921875, 0.003437042236328125, -0.012786865234375, -0.0272369384765625, 0.02020263671875, -0.0200653076171875, 0.060333251953125, -0.034759521484375, -0.01319122314453125, -0.0058441162109375, -0.01316070556640625, -0.016204833984375, -0.008331298828125, -0.01085662841796875, 0.027862548828125, 0.01006317138671875, 0.008148193359375, -0.01142120361328125, -0.014007568359375, 0.037994384765625, 0.0472412109375, -0.00588226318359375, 0.0268707275390625, 0.01511383056640625, 0.00859832763671875, -0.0079498291015625, 0.0195770263671875, -0.0372314453125, -0.051910400390625, 0.00783538818359375, -0.00876617431640625, -0.016021728515625, -0.00830841064453125, -0.00811767578125, -0.0006146430969238281, 0.1109619140625, 0.10540771484375, -0.1138916015625, -0.018585205078125, 0.00919342041015625, -0.01361846923828125, -0.005641937255859375, -0.0233001708984375, -0.0151824951171875, -0.06402587890625, 0.07452392578125, -0.0182952880859375, -0.013580322265625, 0.0101776123046875, -0.01352691650390625, -0.00347137451171875, 0.026458740234375, 0.0197601318359375, 0.01186370849609375, -0.0127410888671875, -0.009246826171875, -0.0161895751953125, 0.0304107666015625, 0.02032470703125, 0.00665283203125, 0.0198211669921875, -0.044403076171875, -0.0517578125, -0.0206756591796875, -0.019287109375, -0.03851318359375, -0.0452880859375, -0.0136871337890625, 0.04315185546875, 0.026947021484375, -0.01395416259765625, -0.029296875, 0.032440185546875, -0.0245513916015625, 0.0245819091796875, -0.021331787109375, 0.0015430450439453125, 0.046875, -0.01198577880859375, 0.01280975341796875, 0.0255279541015625, -0.004650115966796875, 0.023529052734375, 0.03472900390625, 0.03179931640625, -0.01012420654296875, -0.03399658203125, 0.043975830078125, -0.06304931640625, -0.0268707275390625, -0.041473388671875, 0.02655029296875, -0.037353515625, 0.00457000732421875, -0.021392822265625, -0.0224456787109375, -0.01482391357421875, -0.06298828125, -0.031524658203125, 0.10162353515625, -0.038726806640625, 0.0115966796875, 0.03131103515625, 0.035888671875, -0.0207366943359375, 0.02801513671875, -0.0281219482421875, 0.05218505859375, 0.0263214111328125, 0.034423828125, -0.049072265625, -0.0080413818359375, 0.0009317398071289062, 0.025360107421875, 0.0672607421875, 0.01194000244140625, -0.0114898681640625, -0.01555633544921875, 0.0240478515625, 0.02825927734375, -0.020233154296875, 0.02777099609375, -0.0037841796875, 0.056549072265625, 0.06494140625, -0.06585693359375, 0.0171356201171875, 0.01047515869140625, 0.002201080322265625, 0.0226287841796875, -0.0039825439453125, -0.0248870849609375, 0.0157318115234375, 0.006862640380859375, -0.0225982666015625, -0.008697509765625, 0.010162353515625, -0.02203369140625, -0.00704193115234375, 0.028411865234375, 0.03656005859375, -0.040618896484375, 0.0084228515625, -0.045501708984375, 0.057861328125, 0.0190887451171875, -0.02117919921875, 0.039581298828125, 0.01221466064453125, -0.00614166259765625, 0.023406982421875, 0.0008487701416015625, 0.0259552001953125, -0.0023517608642578125, -0.00447845458984375, -0.053497314453125, -0.00054931640625, -0.078125, 0.004833221435546875, 0.038238525390625, 0.005706787109375, -0.01413726806640625, -0.03778076171875, -0.0036754608154296875, -0.01311492919921875, 0.02740478515625, -0.00799560546875, 0.034637451171875, -0.01050567626953125, -0.0165863037109375, -0.020416259765625, -0.0081329345703125, 0.0164794921875, 0.0009207725524902344, -0.018463134765625, 0.0045166015625, 0.02459716796875, -0.00449371337890625, -0.0173492431640625, -0.0096282958984375, 0.0168609619140625, 0.01629638671875, 0.01459503173828125, -0.0027561187744140625, -0.007007598876953125, -0.00292205810546875, -0.04754638671875, 0.034942626953125, -0.0214691162109375, 0.04132080078125, -0.0384521484375, 0.006038665771484375, -0.03948974609375, 0.04766845703125, -0.039276123046875, -0.03240966796875, 0.0572509765625, 0.061248779296875, -0.08074951171875, -0.053009033203125, -0.01123046875, -0.04058837890625, 0.04071044921875, -0.0455322265625, 0.021240234375, -0.025146484375, -0.00664520263671875, -0.011810302734375, 0.058380126953125, 0.00292205810546875, 0.006420135498046875, 0.01739501953125, 0.007358551025390625, 0.0016527175903320312, 0.0168914794921875, -0.00634002685546875, 0.002147674560546875, 0.04290771484375, -0.07177734375, -0.06982421875, 0.051055908203125, 0.03741455078125, 0.015777587890625, 0.041656494140625, 0.0189666748046875, -0.015228271484375, 0.0066986083984375, 0.0157928466796875, 0.00164031982421875, -0.03558349609375, -0.0245513916015625, -0.0184783935546875, 0.0341796875, -0.007598876953125, -0.0377197265625, -0.0254058837890625, -0.01081085205078125, 0.035247802734375, 0.0272064208984375, 0.09033203125, -0.0035343170166015625, 0.01534271240234375, -0.050018310546875, 0.033477783203125, -0.06524658203125, -0.050262451171875, 0.01551055908203125, -0.01129150390625, -0.01390838623046875, 0.01275634765625, -0.0628662109375, 0.04022216796875, 0.01055908203125, 0.006717681884765625, 0.041259765625, -0.00843048095703125, 0.002841949462890625, 0.0017414093017578125, 0.0180816650390625, -0.0172882080078125, -0.057586669921875, -0.051116943359375, 0.00836944580078125, -0.007045745849609375, 0.03607177734375, -0.00435638427734375, -0.0016412734985351562, -0.0210723876953125, -0.00266265869140625, 0.01033782958984375, 0.01097869873046875, 0.004871368408203125, 0.0190277099609375, -0.07147216796875, -0.01280975341796875, -0.04058837890625, -0.031890869140625, -0.00543212890625, -0.00792694091796875, 0.0391845703125, -0.0282135009765625, 0.0350341796875, -0.039764404296875, -0.020263671875, -0.00716400146484375, -0.01528167724609375, -0.0016031265258789062, -0.0108184814453125, -0.01052093505859375, -0.0261383056640625, -0.0229644775390625, -0.0013914108276367188, -0.037139892578125, 0.00567626953125, 0.0218658447265625, -0.0101318359375, 0.007965087890625, 0.025238037109375, -0.0178680419921875, 0.0094146728515625, -0.0010929107666015625, -0.032073974609375, -0.01232147216796875, -0.015869140625, 0.036865234375, -0.035125732421875, 0.044647216796875, -0.019195556640625, -0.0014982223510742188, -0.043487548828125, -0.052886962890625, -0.0543212890625, 0.06817626953125, -0.046051025390625, -0.032989501953125, 0.024932861328125, 0.0012760162353515625, -0.041717529296875, -0.059326171875, -0.0250701904296875, -0.005916595458984375, -0.075439453125, -0.00826263427734375, 0.0057525634765625, 0.0062713623046875, -0.01375579833984375, -0.047210693359375, 0.0047149658203125, -0.0221099853515625, -0.008941650390625, 0.032470703125, -0.0107269287109375, 0.01422119140625, -0.034698486328125, -0.061492919921875, -0.005702972412109375, 0.01042938232421875, -0.035797119140625, -0.009307861328125, -0.055511474609375, -0.01474761962890625, 0.05413818359375, -0.00592041015625, -0.01218414306640625, -0.039764404296875, 0.03826904296875, 0.00977325439453125, -0.00632476806640625, 0.057464599609375, 0.0004444122314453125, -0.0018548965454101562, 0.0166168212890625, 0.018798828125, -0.026458740234375, 0.0010833740234375, 0.0156402587890625, 0.0438232421875, 0.05401611328125, -0.0134124755859375, 0.049407958984375, 0.01898193359375, -0.00901031494140625, -0.01030731201171875, -0.029815673828125, -0.041290283203125, -0.02044677734375, 0.07562255859375, 0.090087890625, 0.016754150390625, -0.045196533203125, -0.061614990234375, -0.051300048828125, 0.0240631103515625, -0.022186279296875, -0.00220489501953125, -0.0640869140625, 0.0025043487548828125, -0.00035858154296875, 0.0157470703125, 0.0201568603515625, -0.0269775390625, -0.001186370849609375, -0.0197601318359375, 0.0092620849609375, 0.0017671585083007812, -0.00774383544921875, -0.0067901611328125, 0.0278472900390625, -0.0170135498046875, 0.0172119140625, -0.0006952285766601562, 0.007068634033203125, 0.01236724853515625, 0.063720703125, 0.01397705078125, -0.0114593505859375, -0.0282440185546875, 0.01534271240234375, 0.0096893310546875, 0.002704620361328125, -0.0232696533203125, -0.0251922607421875, 0.0167083740234375, -0.007160186767578125, -0.0018253326416015625, -0.0136260986328125, -0.0009160041809082031, 0.0140228271484375, 0.0006046295166015625, 0.046966552734375, 0.0114288330078125, -0.040283203125, -0.0276947021484375, 0.023834228515625, 0.0093841552734375, -0.0196990966796875, 0.0236053466796875, -0.0270233154296875, 0.03765869140625, 0.045257568359375, 0.109619140625, 0.0026721954345703125, 0.035430908203125, 0.01253509521484375, 0.06591796875, 0.00798797607421875 ]
3406e1576a4f9379bf86ec3b7b1029e725e4cf02
Wordpress Stackexchange Q: How can I control multiple editing of wordpress posts? I am managing multiple authors blog, I have issues of editors taking over the stories that someone else is currently editing. The default wordpress warning will display but some of them ignore it and still proceed to takeover the story. I need a way of locking such stories to prevent editing unless unlocked by the user who locked them or a user of higher role/capability.
Q: How can I control multiple editing of wordpress posts? I am managing multiple authors blog, I have issues of editors taking over the stories that someone else is currently editing. The default wordpress warning will display but some of them ignore it and still proceed to takeover the story. I need a way of locking such stories to prevent editing unless unlocked by the user who locked them or a user of higher role/capability.
wordpress
{ "language": "en", "length": 75, "provenance": "stackexchange_00019.jsonl.gz:496846", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/343277" }
[ 0.0231170654296875, -0.01495361328125, 0.01509857177734375, 0.03045654296875, -0.0003135204315185547, -0.01885986328125, 0.06304931640625, -0.0440673828125, -0.0262298583984375, 0.0189361572265625, -0.006229400634765625, 0.00450897216796875, -0.016510009765625, -0.0214385986328125, -0.0018930435180664062, -0.038818359375, 0.014556884765625, -0.0085601806640625, 0.0176544189453125, -0.0184783935546875, 0.01384735107421875, -0.03472900390625, 0.0293426513671875, 0.005428314208984375, -0.0000521540641784668, 0.034332275390625, 0.03533935546875, -0.03106689453125, 0.01258087158203125, -0.011993408203125, 0.0229949951171875, -0.01337432861328125, 0.007568359375, 0.0252532958984375, -0.0289154052734375, -0.01514434814453125, -0.006256103515625, 0.013641357421875, 0.0008597373962402344, 0.01045989990234375, 0.0292816162109375, -0.018280029296875, 0.0119781494140625, 0.034942626953125, -0.0049285888671875, -0.0712890625, 0.07098388671875, -0.0423583984375, 0.017120361328125, 0.0015401840209960938, 0.00225067138671875, 0.042633056640625, 0.0089111328125, 0.01459503173828125, -0.01235198974609375, -0.0258331298828125, 0.0565185546875, -0.00981903076171875, 0.05975341796875, -0.04412841796875, -0.0701904296875, -0.0259857177734375, 0.03424072265625, -0.02850341796875, 0.0294647216796875, 0.00479888916015625, 0.0343017578125, 0.0216064453125, -0.032928466796875, 0.01953125, 0.005825042724609375, -0.03314208984375, 0.0185699462890625, -0.032135009765625, 0.036651611328125, 0.01013946533203125, -0.0312042236328125, -0.0006847381591796875, 0.0201263427734375, 0.00664520263671875, -0.0114898681640625, -0.0308074951171875, -0.047271728515625, -0.023101806640625, 0.00844573974609375, 0.01531219482421875, -0.005702972412109375, 0.0007076263427734375, -0.01123809814453125, 0.0016021728515625, -0.01482391357421875, -0.03350830078125, -0.00943756103515625, 0.049041748046875, -0.01181793212890625, -0.005420684814453125, 0.0259552001953125, 0.01654052734375, 0.0123138427734375, -0.041046142578125, 0.0096282958984375, -0.037506103515625, -0.050201416015625, 0.00725555419921875, -0.01346588134765625, -0.0196685791015625, 0.01042938232421875, 0.038055419921875, 0.0233001708984375, 0.0399169921875, -0.043212890625, 0.0109100341796875, -0.0080413818359375, -0.0242156982421875, 0.01326751708984375, -0.00992584228515625, -0.036529541015625, 0.052947998046875, 0.016143798828125, 0.0137176513671875, -0.0041961669921875, 0.0027713775634765625, -0.018646240234375, -0.0211029052734375, -0.0091094970703125, -0.0528564453125, -0.027313232421875, 0.0325927734375, 0.0074310302734375, 0.01499176025390625, -0.0318603515625, -0.0009274482727050781, 0.07171630859375, 0.0287322998046875, 0.01320648193359375, -0.028778076171875, -0.007686614990234375, 0.0030002593994140625, -0.0024204254150390625, -0.007354736328125, -0.0214385986328125, -0.01467132568359375, 0.004238128662109375, -0.0252838134765625, -0.022613525390625, 0.0269012451171875, 0.0213775634765625, 0.0063323974609375, -0.00022089481353759766, -0.0294342041015625, -0.0457763671875, 0.0012807846069335938, 0.0278472900390625, -0.00882720947265625, 0.0577392578125, -0.07879638671875, 0.06427001953125, -0.0660400390625, 0.037200927734375, -0.043701171875, 0.0083770751953125, -0.011077880859375, 0.04315185546875, -0.0111846923828125, -0.0478515625, 0.00847625732421875, -0.059844970703125, -0.0238189697265625, 0.01119232177734375, -0.016326904296875, -0.04193115234375, -0.006816864013671875, 0.01763916015625, 0.01053619384765625, -0.00543212890625, 0.05194091796875, -0.025482177734375, -0.0127105712890625, 0.00846099853515625, 0.035064697265625, 0.001415252685546875, -0.03045654296875, -0.009185791015625, 0.0218353271484375, -0.04742431640625, -0.0145263671875, -0.01352691650390625, 0.035797119140625, 0.04803466796875, 0.0187530517578125, 0.0045928955078125, -0.035430908203125, -0.00003808736801147461, -0.0038127899169921875, -0.00508880615234375, -0.035858154296875, 0.02117919921875, 0.005527496337890625, -0.002742767333984375, -0.0139923095703125, 0.04443359375, -0.0237579345703125, 0.01189422607421875, -0.042510986328125, -0.0716552734375, -0.01441192626953125, -0.0268402099609375, 0.016754150390625, -0.00008851289749145508, 0.004642486572265625, 0.013397216796875, -0.03204345703125, 0.01556396484375, -0.042327880859375, -0.033721923828125, -0.0097198486328125, -0.0300140380859375, 0.0239410400390625, 0.011260986328125, 0.0147247314453125, 0.0086517333984375, 0.00628662109375, 0.0015249252319335938, 0.0012102127075195312, 0.0175933837890625, -0.0279693603515625, -0.0217437744140625, -0.0213775634765625, -0.00836944580078125, -0.003993988037109375, -0.0172576904296875, 0.04632568359375, 0.028656005859375, -0.0023212432861328125, -0.01206207275390625, -0.016571044921875, -0.01398468017578125, -0.0994873046875, 0.005115509033203125, 0.0714111328125, 0.007099151611328125, 0.024810791015625, -0.022796630859375, 0.0254669189453125, 0.02203369140625, -0.037261962890625, -0.00695037841796875, 0.020782470703125, 0.0305633544921875, 0.0364990234375, -0.0166473388671875, -0.027008056640625, 0.023712158203125, -0.049407958984375, 0.034759521484375, 0.020111083984375, 0.0001684427261352539, -0.036376953125, 0.0272979736328125, 0.003932952880859375, -0.0005784034729003906, -0.05340576171875, -0.04010009765625, -0.013702392578125, 0.0292816162109375, -0.0153961181640625, 0.037139892578125, 0.0321044921875, 0.00684356689453125, -0.0190277099609375, -0.0135498046875, -0.03045654296875, 0.00372314453125, -0.020050048828125, 0.0218658447265625, 0.01800537109375, -0.016632080078125, 0.00390625, 0.0182952880859375, -0.0084381103515625, -0.032318115234375, 0.00089263916015625, -0.0187225341796875, -0.0220947265625, 0.0003349781036376953, -0.01421356201171875, 0.016387939453125, -0.047821044921875, -0.0230560302734375, -0.06396484375, -0.0256500244140625, 0.00782012939453125, -0.0295257568359375, 0.00754547119140625, 0.038726806640625, -0.048858642578125, 0.00928497314453125, -0.05694580078125, 0.0533447265625, -0.037567138671875, 0.022216796875, 0.079833984375, 0.00518798828125, 0.003955841064453125, 0.004337310791015625, 0.03106689453125, 0.037811279296875, -0.02301025390625, -0.0214691162109375, 0.036468505859375, -0.11053466796875, -0.045135498046875, 0.00881195068359375, 0.03253173828125, -0.0307769775390625, -0.0172119140625, -0.029083251953125, 0.01149749755859375, -0.006198883056640625, 0.04229736328125, 0.020294189453125, -0.05316162109375, 0.004718780517578125, -0.0022029876708984375, -0.0231170654296875, -0.0312347412109375, 0.042083740234375, -0.0001976490020751953, -0.0147247314453125, 0.005611419677734375, 0.00617218017578125, 0.0031070709228515625, -0.01116180419921875, 0.006145477294921875, -0.0062103271484375, 0.0067138671875, 0.00199127197265625, 0.08294677734375, 0.002197265625, -0.07891845703125, -0.0298919677734375, -0.052581787109375, -0.0258026123046875, 0.027374267578125, -0.0013494491577148438, 0.00911712646484375, 0.0020160675048828125, 0.008331298828125, 0.005458831787109375, 0.00887298583984375, -0.0155181884765625, -0.015380859375, -0.005889892578125, 0.017181396484375, 0.0270233154296875, 0.0130462646484375, -0.01702880859375, 0.04547119140625, 0.035247802734375, -0.01361846923828125, 0.00920867919921875, -0.0247650146484375, -0.0499267578125, -0.016387939453125, 0.05133056640625, -0.01413726806640625, -0.018768310546875, -0.0276031494140625, 0.038970947265625, 0.0479736328125, -0.03460693359375, 0.00969696044921875, 0.02001953125, 0.0142974853515625, 0.0361328125, -0.005405426025390625, -0.0271148681640625, -0.03985595703125, 0.02197265625, -0.041107177734375, -0.00373077392578125, -0.0260772705078125, 0.023895263671875, -0.0291290283203125, 0.024017333984375, -0.00785064697265625, -0.05084228515625, 0.025238037109375, -0.032440185546875, 0.0181121826171875, -0.041900634765625, 0.0017118453979492188, -0.06317138671875, -0.0156097412109375, 0.02764892578125, 0.0029582977294921875, 0.008575439453125, 0.01441192626953125, -0.060821533203125, -0.043121337890625, 0.0246124267578125, 0.00020599365234375, -0.00019729137420654297, 0.002197265625, -0.0509033203125, 0.039703369140625, 0.00395965576171875, 0.0049896240234375, 0.0462646484375, -0.040771484375, 0.026519775390625, -0.017425537109375, 0.0142669677734375, -0.04815673828125, -0.027069091796875, -0.0216064453125, -0.1011962890625, -0.012725830078125, -0.0105438232421875, 0.05615234375, -0.01125335693359375, 0.01331329345703125, -0.034881591796875, 0.057037353515625, -0.00455474853515625, 0.0292510986328125, -0.029449462890625, -0.005535125732421875, 0.0279541015625, -0.0010976791381835938, -0.018585205078125, -0.0110321044921875, -0.003543853759765625, -0.02972412109375, -0.044281005859375, -0.0313720703125, -0.040740966796875, -0.043426513671875, -0.021209716796875, -0.0244903564453125, -0.10418701171875, -0.04541015625, -0.019287109375, 0.0302734375, 0.01302337646484375, -0.005767822265625, -0.06304931640625, -0.12042236328125, 0.0235443115234375, -0.040802001953125, -0.00897979736328125, 0.010498046875, 0.08770751953125, 0.0222930908203125, 0.0142364501953125, -0.00888824462890625, -0.02691650390625, 0.0147857666015625, 0.053466796875, 0.05364990234375, 0.037994384765625, 0.010284423828125, -0.01145172119140625, 0.0271759033203125, -0.02642822265625, -0.021240234375, 0.040435791015625, -0.00910186767578125, -0.0252685546875, 0.002025604248046875, -0.065185546875, 0.056854248046875, 0.01163482666015625, -0.023193359375, 0.045562744140625, -0.0130615234375, 0.001300811767578125, 0.00838470458984375, -0.02178955078125, -0.0301055908203125, -0.0016641616821289062, 0.004913330078125, -0.017974853515625, 0.01229095458984375, 0.022064208984375, 0.0045166015625, -0.0169219970703125, -0.01470184326171875, -0.0018100738525390625, -0.040985107421875, -0.035430908203125, -0.0277862548828125, 0.0180511474609375, -0.034576416015625, -0.01290130615234375, -0.00970458984375, -0.02850341796875, 0.0692138671875, -0.01177978515625, -0.07061767578125, 0.0214080810546875, -0.007572174072265625, 0.0640869140625, 0.0295257568359375, -0.0231170654296875, 0.014373779296875, 0.0157318115234375, -0.0296173095703125, 0.0250396728515625, -0.0017995834350585938, -0.02667236328125, -0.02532958984375, -0.019012451171875, -0.018280029296875, 0.003101348876953125, 0.034423828125, 0.0166168212890625, -0.029205322265625, 0.0234832763671875, -0.0194244384765625, 0.045745849609375, 0.0465087890625, -0.024993896484375, 0.01497650146484375, 0.05810546875, 0.0009388923645019531, -0.05181884765625, -0.0059814453125, -0.039947509765625, -0.0501708984375, 0.001361846923828125, 0.0457763671875, 0.04864501953125, 0.04156494140625, -0.0142059326171875, 0.00196075439453125, -0.01018524169921875, 0.00799560546875, 0.0016832351684570312, -0.05877685546875, 0.0269775390625, 0.057403564453125, -0.00547027587890625, -0.017608642578125, 0.002643585205078125, -0.012786865234375, -0.02362060546875, 0.01467132568359375, -0.036834716796875, -0.01132965087890625, 0.006381988525390625, 0.01396942138671875, -0.0108642578125, -0.0027980804443359375, 0.02099609375, -0.094970703125, -0.0306396484375, 0.00039887428283691406, -0.00024402141571044922, 0.0338134765625, -0.040313720703125, -0.0016422271728515625, 0.0041351318359375, 0.004047393798828125, -0.037994384765625, 0.031829833984375, 0.051605224609375, 0.03997802734375, -0.04840087890625, 0.0030517578125, -0.08270263671875, -0.034576416015625, -0.0675048828125, -0.032470703125, -0.0660400390625, 0.0141448974609375, -0.0011615753173828125, 0.004756927490234375, 0.02386474609375, 0.034515380859375, -0.0089874267578125, 0.0457763671875, -0.00795745849609375, 0.03546142578125, -0.00783538818359375, 0.048858642578125, 0.00919342041015625, 0.0372314453125, 0.0167388916015625, 0.0215606689453125, -0.0416259765625, -0.01261138916015625, 0.00357818603515625, -0.039459228515625, -0.02813720703125, 0.037567138671875, -0.05975341796875, -0.00939178466796875, 0.002590179443359375, -0.0124664306640625, 0.014801025390625, -0.0489501953125, 0.01508331298828125, -0.0189666748046875, 0.047821044921875, -0.09033203125, -0.059356689453125, 0.037689208984375, -0.0266265869140625, 0.060089111328125, -0.002811431884765625, -0.006397247314453125, 0.046356201171875, -0.047119140625, 0.04669189453125, 0.033355712890625, 0.01153564453125, -0.00820159912109375, 0.02471923828125, -0.01013946533203125, 0.0250244140625, 0.01432037353515625, 0.013275146484375, 0.0252227783203125, -0.038482666015625, -0.0034122467041015625, 0.039520263671875, -0.008056640625, -0.037750244140625, 0.00960540771484375, -0.005962371826171875, 0.002597808837890625, 0.004444122314453125, 0.0645751953125, 0.08203125, -0.081787109375, 0.01251983642578125, 0.034515380859375, -0.01461029052734375, -0.01462554931640625, -0.00286102294921875, 0.0087890625, 0.00138092041015625, 0.02496337890625, -0.03680419921875, -0.021209716796875, 0.01385498046875, -0.033966064453125, 0.0014028549194335938, -0.029327392578125, 0.042724609375, 0.0157470703125, -0.0010118484497070312, 0.0142059326171875, 0.0258331298828125, 0.01959228515625, -0.0192718505859375, 0.0210723876953125, 0.01401519775390625, -0.0228729248046875, -0.0280609130859375, 0.038726806640625, 0.0232086181640625, -0.0187835693359375, -0.043212890625, 0.0261383056640625, -0.0204315185546875, 0.04901123046875, -0.034393310546875, 0.0224609375, 0.05352783203125, -0.036895751953125, -0.0482177734375, -0.04962158203125, 0.01558685302734375, 0.07476806640625, -0.031036376953125, 0.046142578125, 0.024139404296875, -0.035858154296875, 0.0018663406372070312, 0.00821685791015625, 0.0191497802734375, 0.00855255126953125, -0.0297698974609375, 0.05999755859375, -0.0070037841796875, -0.0307159423828125, 0.0043792724609375, -0.03924560546875, -0.0675048828125, -0.03564453125, -0.019775390625, -0.058868408203125, 0.006633758544921875, -0.0009427070617675781, -0.085693359375, 0.061737060546875, 0.007770538330078125, 0.0469970703125, 0.0068817138671875, 0.0111236572265625, -0.02783203125, -0.02435302734375, -0.06597900390625, 0.060333251953125, -0.015533447265625, 0.06427001953125, -0.06939697265625, -0.01076507568359375, 0.00215911865234375, 0.016937255859375, 0.047271728515625, 0.005352020263671875, 0.00766754150390625, -0.0210418701171875, 0.017120361328125, 0.0130157470703125, -0.039337158203125, 0.0272369384765625, 0.0133056640625, 0.007381439208984375, 0.00473785400390625, 0.0031147003173828125, 0.036712646484375, -0.02093505859375, -0.036285400390625, 0.0404052734375, 0.00470733642578125, -0.0127105712890625, 0.00296783447265625, -0.0014638900756835938, -0.034149169921875, 0.0072174072265625, 0.02020263671875, -0.01078033447265625, -0.00878143310546875, 0.053070068359375, 0.08087158203125, -0.052093505859375, 0.04541015625, -0.05340576171875, 0.07916259765625, 0.019073486328125, -0.02142333984375, 0.0226898193359375, 0.01496124267578125, -0.0860595703125, 0.0330810546875, -0.0026721954345703125, 0.026031494140625, -0.014801025390625, 0.002887725830078125, 0.0035400390625, 0.0222015380859375, -0.040496826171875, -0.0284423828125, 0.0220794677734375, 0.0244903564453125, 0.007411956787109375, 0.001708984375, 0.00804901123046875, 0.01311492919921875, 0.0009546279907226562, -0.052490234375, -0.016326904296875, 0.0243072509765625, 0.06329345703125, -0.0205841064453125, -0.0010786056518554688, 0.007720947265625, 0.03631591796875, -0.008575439453125, -0.01546478271484375, -0.023193359375, -0.0237884521484375, -0.034515380859375, -0.006015777587890625, -0.0015764236450195312, 0.0382080078125, 0.00855255126953125, 0.05938720703125, -0.0105743408203125, -0.01097869873046875, -0.007053375244140625, 0.051361083984375, 0.0167999267578125, -0.01253509521484375, -0.042694091796875, -0.0704345703125, 0.0279693603515625, 0.0333251953125, 0.0386962890625, 0.035308837890625, 0.045654296875, 0.02764892578125, -0.02081298828125, -0.002246856689453125, 0.02752685546875, -0.01494598388671875, -0.024200439453125, -0.03271484375, -0.027313232421875, -0.007747650146484375, -0.016632080078125, 0.0005178451538085938, 0.01165008544921875, 0.006160736083984375, 0.005306243896484375, 0.0007762908935546875, 0.0164642333984375, 0.00733184814453125, 0.006500244140625, 0.01416015625, -0.051239013671875, 0.0256195068359375, -0.059051513671875, 0.0013637542724609375, -0.02801513671875, -0.04071044921875, 0.03594970703125, 0.0391845703125, -0.0330810546875, 0.015960693359375, 0.02093505859375, -0.01556396484375, 0.004673004150390625, 0.022735595703125, -0.002956390380859375, 0.0148468017578125, 0.028900146484375, 0.00115203857421875, -0.058349609375, -0.041534423828125, -0.00795745849609375, 0.028564453125, 0.031707763671875, 0.0036296844482421875, 0.0284423828125, 0.0352783203125, 0.043487548828125, 0.043426513671875, -0.004657745361328125, -0.0024890899658203125, 0.01210784912109375, -0.01256561279296875, 0.037750244140625, -0.015960693359375, -0.07147216796875, 0.048492431640625, 0.003383636474609375, 0.004085540771484375, 0.0440673828125, -0.00843048095703125, 0.000059723854064941406, -0.0007319450378417969, -0.01239776611328125, -0.033416748046875, -0.03369140625, -0.01082611083984375, 0.0015821456909179688, -0.00022733211517333984, 0.0189971923828125, 0.0109405517578125, -0.0013456344604492188, -0.027374267578125, -0.0250091552734375, -0.00843048095703125, 0.002468109130859375, -0.0633544921875, 0.004039764404296875, 0.021453857421875, -0.01128387451171875, 0.0104522705078125, -0.01496124267578125, -0.013671875, 0.036895751953125, -0.0272064208984375, 0.021728515625, -0.044097900390625, -0.0256805419921875, -0.0009751319885253906, 0.03424072265625, 0.0052947998046875, 0.00844573974609375, -0.0252227783203125, -0.007259368896484375, -0.01898193359375, 0.043487548828125, -0.006317138671875, -0.01922607421875, -0.00931549072265625, -0.00925445556640625, -0.0133819580078125, -0.013397216796875, -0.011260986328125, 0.007518768310546875, 0.018951416015625, -0.0285797119140625, -0.00923919677734375, 0.0257110595703125, -0.05615234375, 0.012176513671875, -0.0178375244140625, -0.043792724609375, 0.016448974609375, 0.03314208984375, -0.038909912109375, -0.033477783203125, -0.034454345703125, 0.0015954971313476562, -0.049072265625, -0.004955291748046875, 0.00295257568359375, 0.0022296905517578125, -0.01959228515625, -0.005680084228515625, -0.00009995698928833008, 0.04620361328125, -0.000050961971282958984, -0.04046630859375, -0.00972747802734375, 0.0103912353515625, 0.031890869140625, -0.0225982666015625, -0.00386810302734375, -0.01313018798828125, -0.0113372802734375, 0.006938934326171875, -0.009063720703125, 0.0188446044921875, -0.038177490234375, -0.091552734375, 0.057342529296875, -0.0244293212890625, -0.04644775390625, 0.0018444061279296875, -0.0186614990234375, -0.026092529296875, -0.0005273818969726562, -0.0005125999450683594, -0.00836181640625, 0.002811431884765625, 0.0254058837890625, -0.00977325439453125, 0.041595458984375, -0.009246826171875, 0.00183868408203125, -0.006816864013671875, 0.0181121826171875, 0.00508880615234375, -0.039215087890625, 0.0382080078125, -0.0256500244140625, 0.0206298828125, 0.037841796875, -0.05426025390625, -0.04193115234375, -0.024566650390625, 0.001346588134765625, -0.0263671875, -0.024169921875, -0.036773681640625, -0.01236724853515625, 0.080078125, 0.080078125, 0.0144805908203125, -0.042236328125, 0.050689697265625, -0.050384521484375, -0.0638427734375, 0.019500732421875, 0.004756927490234375, -0.0033397674560546875, 0.03704833984375, 0.031097412109375, -0.0274200439453125, 0.0032958984375, 0.0087432861328125, -0.056304931640625, 0.0045013427734375, -0.0203704833984375, 0.0021610260009765625, -0.0943603515625, 0.0019893646240234375, 0.0271453857421875, -0.025482177734375, -0.01195526123046875, -0.002285003662109375, 0.0010042190551757812, -0.00913238525390625, 0.0079193115234375, -0.0186309814453125, 0.00453948974609375, -0.03936767578125, 0.01294708251953125, -0.01053619384765625, 0.053924560546875, -0.032623291015625, -0.004604339599609375, -0.0139923095703125, 0.0292510986328125, -0.0081024169921875, 0.047271728515625, 0.020721435546875, -0.01328277587890625, -0.00560760498046875, 0.00763702392578125, -0.04876708984375, 0.015960693359375, -0.021881103515625, 0.0091705322265625, -0.02691650390625, 0.04345703125, 0.0230255126953125, 0.0007414817810058594, 0.0218353271484375, 0.022125244140625, 0.047271728515625, 0.00494384765625, 0.0158843994140625, 0.0322265625, 0.0201263427734375, 0.00022304058074951172 ]
d45f859fe8621556d08f1b7fa1dc113125fe62c3
Wordpress Stackexchange Q: Restrict file types in the uploader of a wp.media frame When creating a wp.media frame in JS, is it possible to specify allowed file types for the uploads tab? wp.media({ title: 'Pick a PDF', button: { text: 'Use this file...' }, library: { type: 'application/pdf' }, multiple: false, // Is there a similar option to this that works? uploader: { type: 'application/pdf' } } Note: I do not want to restrict all upload mime types through the upload_mimes hook. This should be only an indication to user, since the library already filters the files by mime type (the library.type option). The documentation is kind of short-spoken on this topic at the moment.
Q: Restrict file types in the uploader of a wp.media frame When creating a wp.media frame in JS, is it possible to specify allowed file types for the uploads tab? wp.media({ title: 'Pick a PDF', button: { text: 'Use this file...' }, library: { type: 'application/pdf' }, multiple: false, // Is there a similar option to this that works? uploader: { type: 'application/pdf' } } Note: I do not want to restrict all upload mime types through the upload_mimes hook. This should be only an indication to user, since the library already filters the files by mime type (the library.type option). The documentation is kind of short-spoken on this topic at the moment.
wordpress
{ "language": "en", "length": 113, "provenance": "stackexchange_00019.jsonl.gz:496854", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/343320" }
[ 0.00691986083984375, -0.0062103271484375, -0.0223236083984375, 0.019073486328125, -0.006305694580078125, -0.045257568359375, 0.0672607421875, 0.0015001296997070312, -0.0022449493408203125, 0.0269927978515625, 0.0270233154296875, -0.01275634765625, 0.02978515625, -0.04425048828125, 0.016387939453125, -0.0007014274597167969, 0.0174407958984375, -0.00865936279296875, 0.0347900390625, -0.017608642578125, 0.01885986328125, 0.0051116943359375, 0.042236328125, 0.022064208984375, -0.007720947265625, 0.017547607421875, 0.04766845703125, -0.01399993896484375, -0.01294708251953125, -0.022247314453125, 0.006946563720703125, 0.0022792816162109375, 0.005069732666015625, 0.04034423828125, -0.016815185546875, 0.04425048828125, 0.0171966552734375, 0.00780487060546875, 0.0328369140625, 0.034912109375, 0.009613037109375, -0.011016845703125, -0.014556884765625, -0.004749298095703125, -0.028656005859375, -0.0242767333984375, 0.01611328125, -0.01454925537109375, 0.02764892578125, 0.0321044921875, -0.0173187255859375, -0.0298919677734375, -0.0166015625, 0.0004520416259765625, -0.00783538818359375, -0.01800537109375, 0.01113128662109375, 0.00421142578125, 0.024383544921875, -0.006694793701171875, -0.0308074951171875, 0.01702880859375, 0.00749969482421875, -0.0002815723419189453, -0.033111572265625, -0.0175933837890625, -0.049774169921875, 0.0015926361083984375, -0.007755279541015625, -0.0008640289306640625, 0.038055419921875, -0.0290374755859375, 0.034515380859375, -0.0543212890625, 0.00685882568359375, 0.0210723876953125, -0.004436492919921875, 0.0006504058837890625, 0.0186767578125, -0.032989501953125, 0.047943115234375, -0.052520751953125, -0.0075225830078125, 0.01556396484375, 0.03094482421875, 0.05224609375, 0.00907135009765625, -0.0302734375, -0.00241851806640625, 0.038665771484375, -0.020233154296875, 0.005184173583984375, 0.0312042236328125, 0.0343017578125, -0.0202789306640625, 0.034881591796875, -0.01068878173828125, -0.0235748291015625, 0.0199127197265625, 0.016571044921875, 0.037750244140625, -0.043701171875, 0.037994384765625, -0.0186767578125, 0.046173095703125, 0.054779052734375, -0.0296630859375, -0.040283203125, 0.04888916015625, 0.00879669189453125, 0.01427459716796875, 0.02178955078125, 0.0038967132568359375, -0.0291290283203125, -0.009368896484375, -0.0096893310546875, -0.031707763671875, 0.0289764404296875, 0.0189208984375, -0.01322174072265625, 0.0006504058837890625, 0.0183868408203125, 0.038543701171875, -0.01806640625, -0.00482177734375, -0.0107269287109375, -0.01448822021484375, -0.0390625, -0.038421630859375, 0.046783447265625, 0.0006546974182128906, 0.005031585693359375, -0.0037746429443359375, 0.0249481201171875, -0.01387786865234375, -0.01412200927734375, 0.04541015625, -0.00785064697265625, -0.00991058349609375, 0.01227569580078125, 0.0290985107421875, -0.01541900634765625, -0.01094818115234375, 0.01174163818359375, -0.0145111083984375, 0.046356201171875, 0.0060882568359375, -0.01055145263671875, -0.004608154296875, -0.044921875, 0.0007276535034179688, -0.06329345703125, 0.07061767578125, 0.003681182861328125, -0.046295166015625, -0.05572509765625, 0.051605224609375, -0.059906005859375, -0.02142333984375, -0.09454345703125, 0.0251007080078125, -0.00030803680419921875, 0.0233154296875, -0.017791748046875, -0.0178985595703125, -0.0032444000244140625, -0.0751953125, -0.0164031982421875, 0.0258331298828125, 0.0482177734375, 0.00995635986328125, -0.0467529296875, 0.0071563720703125, 0.013946533203125, -0.0179595947265625, 0.020751953125, 0.00649261474609375, 0.020538330078125, 0.015716552734375, 0.031646728515625, 0.0178680419921875, -0.0136260986328125, 0.0743408203125, -0.0035839080810546875, -0.0278778076171875, -0.0079803466796875, 0.0272064208984375, 0.0149688720703125, -0.01007080078125, 0.007259368896484375, 0.07354736328125, 0.028778076171875, -0.019073486328125, -0.034088134765625, -0.03753662109375, -0.01262664794921875, -0.0287322998046875, 0.002948760986328125, -0.0303802490234375, 0.06781005859375, 0.03704833984375, 0.00882720947265625, 0.0028743743896484375, -0.0211334228515625, -0.002956390380859375, -0.0277252197265625, 0.008819580078125, 0.0193939208984375, -0.0238800048828125, 0.02056884765625, 0.020263671875, -0.0109710693359375, -0.0360107421875, 0.03814697265625, 0.0159759521484375, -0.00047516822814941406, -0.009307861328125, 0.029998779296875, -0.0029201507568359375, 0.025360107421875, -0.01448822021484375, -0.00829315185546875, -0.0171356201171875, 0.0224151611328125, -0.0084075927734375, 0.042022705078125, -0.0160980224609375, 0.0173187255859375, 0.038177490234375, 0.035888671875, 0.045135498046875, -0.03546142578125, -0.02984619140625, -0.0024127960205078125, -0.0274810791015625, -0.0101165771484375, -0.0230865478515625, -0.057830810546875, 0.01354217529296875, 0.0394287109375, 0.0452880859375, 0.0261993408203125, 0.01556396484375, 0.024139404296875, 0.03851318359375, 0.00890350341796875, 0.05084228515625, -0.03375244140625, -0.00977325439453125, 0.012786865234375, -0.006923675537109375, 0.0138092041015625, 0.0290985107421875, -0.03460693359375, 0.006862640380859375, 0.042572021484375, -0.004238128662109375, 0.0086822509765625, 0.0104827880859375, 0.007091522216796875, -0.0081787109375, 0.034149169921875, 0.004116058349609375, 0.01430511474609375, 0.01412200927734375, 0.005245208740234375, 0.048858642578125, 0.040771484375, -0.0087432861328125, -0.01378631591796875, 0.01093292236328125, -0.0006804466247558594, 0.0102081298828125, 0.055145263671875, 0.07745361328125, 0.0151519775390625, -0.0224151611328125, -0.04705810546875, 0.036468505859375, 0.0458984375, -0.026580810546875, 0.0014066696166992188, -0.059478759765625, -0.0173492431640625, 0.0004916191101074219, -0.059417724609375, -0.0032520294189453125, -0.0232696533203125, 0.004486083984375, -0.0167388916015625, 0.020050048828125, 0.0010519027709960938, -0.03912353515625, 0.0240936279296875, 0.043365478515625, -0.03558349609375, 0.0038509368896484375, -0.043121337890625, 0.0443115234375, -0.04925537109375, 0.04669189453125, 0.05255126953125, -0.04266357421875, 0.0289154052734375, 0.0183258056640625, -0.0214385986328125, 0.015716552734375, 0.0164031982421875, 0.00559234619140625, -0.005001068115234375, -0.024871826171875, 0.01403045654296875, 0.0016536712646484375, -0.07745361328125, 0.0250396728515625, -0.00382232666015625, -0.0311279296875, -0.03314208984375, -0.05999755859375, 0.0036487579345703125, 0.054718017578125, -0.07281494140625, 0.03668212890625, -0.01529693603515625, -0.037567138671875, -0.056854248046875, 0.060394287109375, -0.0062103271484375, -0.0330810546875, 0.0128021240234375, 0.017120361328125, -0.0125732421875, -0.01277923583984375, -0.019775390625, 0.0034313201904296875, -0.0119476318359375, 0.0036373138427734375, 0.0711669921875, 0.01020050048828125, -0.037078857421875, -0.0003829002380371094, 0.02374267578125, 0.004474639892578125, 0.0048675537109375, 0.036651611328125, -0.0518798828125, 0.0087432861328125, -0.008941650390625, 0.0178070068359375, 0.034210205078125, -0.02276611328125, 0.00018739700317382812, -0.0308837890625, -0.0289764404296875, -0.035552978515625, 0.024566650390625, 0.03692626953125, -0.0767822265625, -0.05389404296875, -0.08831787109375, 0.027008056640625, 0.017730712890625, 0.0190277099609375, 0.0066375732421875, -0.05645751953125, -0.03143310546875, 0.01111602783203125, 0.041259765625, 0.035736083984375, 0.025604248046875, -0.039703369140625, -0.0216522216796875, 0.056640625, 0.0304107666015625, 0.06414794921875, 0.0024318695068359375, 0.0277252197265625, -0.0183258056640625, 0.0274810791015625, 0.0145721435546875, -0.0063934326171875, -0.0010585784912109375, 0.00031185150146484375, -0.0199737548828125, -0.058074951171875, 0.037689208984375, -0.06201171875, -0.00308990478515625, -0.039306640625, -0.00777435302734375, 0.0003178119659423828, 0.0849609375, -0.0214385986328125, 0.001773834228515625, -0.055328369140625, -0.004177093505859375, -0.0162353515625, -0.05694580078125, -0.01561737060546875, 0.0247039794921875, 0.0379638671875, 0.0016431808471679688, -0.00250244140625, 0.00038933753967285156, 0.01187896728515625, -0.05487060546875, 0.034332275390625, -0.0303497314453125, 0.027191162109375, -0.01422882080078125, 0.0106658935546875, 0.01222991943359375, 0.0128326416015625, -0.0258636474609375, -0.0245361328125, -0.030792236328125, -0.1260986328125, -0.0221710205078125, -0.0008950233459472656, 0.07696533203125, -0.00827789306640625, -0.01195526123046875, -0.0022640228271484375, 0.07562255859375, 0.007724761962890625, 0.005710601806640625, 0.0223846435546875, -0.00311279296875, 0.040985107421875, 0.00791168212890625, 0.0155181884765625, -0.0282135009765625, 0.0023059844970703125, -0.034912109375, -0.0618896484375, 0.0092315673828125, -0.0038204193115234375, 0.015960693359375, 0.01079559326171875, -0.0158233642578125, -0.029510498046875, -0.047332763671875, -0.058685302734375, 0.00543212890625, -0.017852783203125, -0.005489349365234375, -0.060577392578125, -0.05926513671875, 0.07989501953125, 0.0447998046875, 0.009765625, -0.0091400146484375, 0.0841064453125, 0.003459930419921875, -0.050506591796875, -0.088623046875, 0.012481689453125, 0.0303497314453125, -0.0308074951171875, 0.050079345703125, 0.00908660888671875, -0.016387939453125, 0.0765380859375, -0.019561767578125, 0.026641845703125, -0.034759521484375, 0.0306243896484375, -0.00016236305236816406, -0.01416778564453125, 0.0220184326171875, -0.00010484457015991211, -0.00577545166015625, -0.024566650390625, 0.0046844482421875, -0.005077362060546875, -0.0068511962890625, 0.02532958984375, 0.02081298828125, -0.0031642913818359375, -0.02276611328125, -0.047821044921875, 0.007511138916015625, -0.0018148422241210938, 0.042510986328125, 0.00756072998046875, 0.00403594970703125, 0.0323486328125, 0.027374267578125, 0.0222625732421875, 0.042816162109375, 0.035736083984375, -0.020111083984375, 0.05133056640625, 0.0538330078125, 0.019989013671875, 0.0014028549194335938, 0.00717926025390625, -0.031463623046875, -0.021759033203125, -0.020843505859375, -0.0173797607421875, 0.003170013427734375, 0.019927978515625, 0.01477813720703125, 0.0214996337890625, 0.004085540771484375, 0.001155853271484375, -0.01140594482421875, 0.01015472412109375, 0.013702392578125, 0.0005941390991210938, -0.02752685546875, 0.052886962890625, 0.017333984375, -0.01959228515625, -0.0155181884765625, 0.0164337158203125, 0.00914764404296875, -0.0269622802734375, 0.00571441650390625, 0.0482177734375, 0.0733642578125, 0.0009274482727050781, 0.01447296142578125, 0.0266571044921875, -0.025726318359375, -0.00225067138671875, -0.0158538818359375, -0.039794921875, 0.007656097412109375, -0.0303497314453125, 0.0029754638671875, -0.01511383056640625, -0.034942626953125, 0.06585693359375, -0.029693603515625, -0.005916595458984375, -0.038421630859375, -0.0765380859375, -0.01708984375, -0.0139312744140625, -0.00408935546875, 0.0229949951171875, 0.003376007080078125, -0.01549530029296875, 0.01061248779296875, 0.00823211669921875, 0.0020751953125, 0.0535888671875, -0.0665283203125, 0.026031494140625, 0.0416259765625, -0.00396728515625, -0.0003554821014404297, -0.012298583984375, -0.08837890625, -0.0452880859375, -0.003978729248046875, 0.007503509521484375, 0.04473876953125, -0.006374359130859375, 0.0224761962890625, -0.050811767578125, 0.0217742919921875, -0.0462646484375, 0.01273345947265625, 0.00675201416015625, -0.01058197021484375, -0.0061187744140625, -0.023101806640625, -0.054656982421875, -0.046783447265625, -0.046630859375, -0.007343292236328125, -0.044281005859375, 0.0166168212890625, -0.041107177734375, 0.01461029052734375, -0.0226593017578125, 0.023101806640625, 0.0259552001953125, 0.036773681640625, -0.0213623046875, 0.020751953125, -0.005863189697265625, 0.031585693359375, 0.00229644775390625, 0.0308837890625, -0.0019311904907226562, -0.01561737060546875, -0.047760009765625, 0.0005211830139160156, -0.0245513916015625, -0.049530029296875, 0.00888824462890625, 0.0203857421875, 0.00927734375, 0.0292510986328125, 0.0286407470703125, 0.0157012939453125, 0.0182952880859375, -0.037445068359375, -0.00341033935546875, -0.035064697265625, 0.0165863037109375, -0.057525634765625, 0.018798828125, -0.0396728515625, 0.0030956268310546875, 0.038177490234375, -0.0254364013671875, -0.0212249755859375, 0.041595458984375, -0.00739288330078125, 0.039764404296875, -0.01702880859375, 0.005706787109375, 0.0185089111328125, 0.02972412109375, -0.010986328125, 0.0433349609375, 0.01435089111328125, 0.0260467529296875, 0.04119873046875, 0.018096923828125, -0.00704193115234375, -0.047882080078125, 0.0110626220703125, 0.005084991455078125, -0.0018167495727539062, 0.01983642578125, -0.00433349609375, 0.026611328125, 0.05133056640625, 0.0662841796875, -0.085205078125, 0.01279449462890625, 0.0166015625, -0.0181732177734375, 0.03631591796875, -0.034576416015625, 0.0156097412109375, 0.006259918212890625, 0.0478515625, -0.0184783935546875, -0.043426513671875, 0.007843017578125, -0.033660888671875, 0.005283355712890625, 0.01024627685546875, 0.044952392578125, -0.007404327392578125, -0.041168212890625, -0.0601806640625, 0.0224151611328125, -0.04461669921875, 0.040252685546875, 0.03472900390625, -0.0557861328125, -0.0259857177734375, -0.006481170654296875, -0.0211334228515625, -0.020721435546875, -0.03485107421875, -0.00037860870361328125, -0.01212310791015625, 0.060638427734375, 0.052886962890625, -0.0031795501708984375, -0.0193939208984375, 0.032379150390625, -0.01003265380859375, -0.0301361083984375, -0.0310821533203125, -0.002437591552734375, 0.00800323486328125, -0.030303955078125, 0.0241546630859375, -0.032196044921875, -0.01374053955078125, 0.0174407958984375, 0.0121002197265625, 0.0015573501586914062, -0.0279083251953125, -0.01494598388671875, 0.03887939453125, -0.025146484375, -0.00484466552734375, 0.0167083740234375, -0.0173492431640625, -0.061614990234375, -0.043670654296875, 0.01348114013671875, -0.0687255859375, 0.0245819091796875, 0.042755126953125, -0.054962158203125, 0.04876708984375, 0.019256591796875, 0.04193115234375, 0.039093017578125, 0.00860595703125, -0.043182373046875, -0.0073394775390625, -0.046295166015625, 0.03546142578125, 0.032012939453125, 0.01241302490234375, -0.04608154296875, -0.004405975341796875, -0.010955810546875, 0.0224456787109375, 0.006763458251953125, -0.0207672119140625, 0.0046234130859375, 0.00823211669921875, 0.07373046875, 0.08734130859375, 0.04486083984375, -0.015960693359375, -0.005184173583984375, -0.023651123046875, 0.007171630859375, -0.0026683807373046875, 0.0108184814453125, -0.01202392578125, -0.030517578125, 0.0245513916015625, 0.01332855224609375, 0.035064697265625, -0.00726318359375, 0.00547027587890625, 0.006465911865234375, -0.0243988037109375, -0.00533294677734375, -0.01531219482421875, 0.03155517578125, 0.052642822265625, 0.057891845703125, -0.0288543701171875, 0.0213470458984375, -0.04296875, 0.06884765625, -0.01403045654296875, -0.01056671142578125, 0.007678985595703125, -0.001102447509765625, 0.0081024169921875, -0.008392333984375, -0.022308349609375, 0.014434814453125, 0.01012420654296875, -0.00016927719116210938, -0.0251617431640625, 0.011138916015625, -0.058563232421875, 0.0267486572265625, 0.044189453125, 0.006256103515625, -0.02972412109375, -0.0546875, 0.00576019287109375, 0.01506805419921875, 0.0004513263702392578, 0.012725830078125, 0.03643798828125, -0.0145263671875, 0.050994873046875, -0.0316162109375, -0.009674072265625, 0.030029296875, 0.061737060546875, 0.0010957717895507812, 0.0271453857421875, -0.054779052734375, -0.048919677734375, -0.04254150390625, -0.004810333251953125, 0.0204925537109375, 0.026397705078125, 0.0167388916015625, 0.052154541015625, 0.039276123046875, -0.0088348388671875, -0.013336181640625, 0.059051513671875, -0.0174102783203125, 0.0206298828125, -0.035888671875, -0.058929443359375, 0.0270843505859375, 0.027740478515625, 0.036956787109375, 0.0256500244140625, 0.019317626953125, 0.0215606689453125, 0.0272064208984375, 0.01482391357421875, 0.0251617431640625, 0.0011053085327148438, -0.02447509765625, -0.0565185546875, 0.007457733154296875, 0.0003216266632080078, -0.0163116455078125, 0.0286102294921875, -0.01861572265625, 0.0205230712890625, -0.01287841796875, 0.03082275390625, -0.004909515380859375, -0.04388427734375, 0.0343017578125, -0.00572967529296875, 0.096923828125, 0.0044403076171875, -0.12066650390625, -0.017791748046875, -0.045257568359375, -0.0465087890625, 0.05572509765625, 0.055084228515625, -0.0180816650390625, 0.00884246826171875, -0.01186370849609375, -0.03277587890625, -0.0108489990234375, 0.019439697265625, 0.021759033203125, 0.02239990234375, -0.004680633544921875, 0.003559112548828125, -0.080078125, -0.01461029052734375, -0.01102447509765625, -0.0080108642578125, 0.00324249267578125, 0.044830322265625, 0.01837158203125, -0.003143310546875, 0.019195556640625, 0.050872802734375, -0.0338134765625, 0.00009107589721679688, 0.0426025390625, 0.0121917724609375, 0.005096435546875, -0.0293731689453125, 0.03131103515625, -0.006114959716796875, 0.01482391357421875, -0.034515380859375, -0.00925445556640625, -0.07708740234375, 0.0305328369140625, 0.0340576171875, 0.0244903564453125, -0.0227508544921875, -0.0173187255859375, -0.018768310546875, -0.01100921630859375, 0.0262908935546875, 0.02239990234375, -0.0022525787353515625, 0.026153564453125, -0.017364501953125, -0.0181427001953125, 0.01302337646484375, -0.0105743408203125, -0.0037746429443359375, 0.0186004638671875, -0.01238250732421875, -0.029754638671875, 0.0183258056640625, 0.00048661231994628906, -0.006866455078125, 0.0251007080078125, 0.039886474609375, 0.003711700439453125, -0.006855010986328125, -0.00921630859375, 0.0302276611328125, 0.0136566162109375, -0.047119140625, -0.003841400146484375, 0.038330078125, -0.0235595703125, -0.0009641647338867188, -0.0160064697265625, -0.0086669921875, -0.015655517578125, -0.0229644775390625, 0.0309906005859375, -0.01074981689453125, -0.0199737548828125, -0.031585693359375, -0.00252532958984375, 0.032196044921875, 0.006725311279296875, -0.05029296875, 0.0291900634765625, -0.0294189453125, 0.02850341796875, 0.00408172607421875, 0.045989990234375, -0.040924072265625, -0.0189056396484375, -0.02667236328125, -0.058319091796875, -0.03790283203125, 0.0927734375, -0.01453399658203125, -0.0089569091796875, -0.01038360595703125, -0.015960693359375, 0.02166748046875, 0.0203399658203125, 0.027587890625, 0.078369140625, 0.0197906494140625, -0.0206756591796875, -0.00469970703125, 0.0145721435546875, -0.020538330078125, -0.03900146484375, 0.00482940673828125, -0.033966064453125, -0.027862548828125, 0.00201416015625, -0.02587890625, -0.0242462158203125, -0.04974365234375, -0.06781005859375, 0.07904052734375, 0.0003533363342285156, -0.034637451171875, -0.024169921875, 0.026214599609375, -0.0011148452758789062, 0.0009160041809082031, 0.005413055419921875, -0.0200347900390625, 0.003997802734375, 0.0008478164672851562, 0.0022373199462890625, -0.0033092498779296875, 0.02813720703125, 0.00749969482421875, -0.040130615234375, 0.003704071044921875, -0.007061004638671875, -0.00186920166015625, -0.0104522705078125, -0.00952911376953125, 0.0465087890625, 0.0435791015625, -0.0196380615234375, 0.06439208984375, 0.01111602783203125, -0.0013895034790039062, -0.0116119384765625, -0.0177001953125, -0.043670654296875, -0.022979736328125, 0.021392822265625, 0.09765625, 0.01081085205078125, -0.01367950439453125, 0.01522064208984375, -0.0174713134765625, -0.01983642578125, -0.0091705322265625, 0.000934600830078125, -0.0264434814453125, -0.00211334228515625, 0.0030269622802734375, 0.0293121337890625, -0.0239715576171875, -0.0028533935546875, -0.0103759765625, -0.0275421142578125, 0.02276611328125, 0.0269012451171875, -0.0499267578125, 0.0032939910888671875, 0.0704345703125, -0.035797119140625, 0.0258331298828125, 0.006145477294921875, 0.01629638671875, 0.056793212890625, -0.0068511962890625, 0.0164947509765625, 0.005367279052734375, -0.00814056396484375, 0.01727294921875, 0.02716064453125, -0.05157470703125, -0.01210784912109375, 0.00518035888671875, -0.0182037353515625, 0.0099639892578125, 0.0089874267578125, 0.031494140625, -0.018096923828125, 0.019012451171875, 0.0101318359375, -0.014801025390625, -0.0306396484375, -0.048980712890625, -0.0416259765625, 0.007038116455078125, 0.0090484619140625, 0.002483367919921875, 0.03912353515625, 0.0001990795135498047, 0.026031494140625, 0.01096343994140625, -0.019073486328125, 0.00930023193359375, -0.01288604736328125, -0.0517578125, -0.0146331787109375, 0.00429534912109375 ]
2d99a0d78e1db814c3926317536dbf2b883bbe16
Wordpress Stackexchange Q: WordPress Errors? Update Failed! data.min.js So I am getting this weird error anytime I try to edit or save a new page/post. I activated a default theme and disabled the only 2 plugins I had activated but I am still getting the error. I don't even know where to begin to troubleshoot this. A: This ended up being an error I had in the .htaccess file. I replaced that with a default WP one and everything is good!
Q: WordPress Errors? Update Failed! data.min.js So I am getting this weird error anytime I try to edit or save a new page/post. I activated a default theme and disabled the only 2 plugins I had activated but I am still getting the error. I don't even know where to begin to troubleshoot this. A: This ended up being an error I had in the .htaccess file. I replaced that with a default WP one and everything is good!
wordpress
{ "language": "en", "length": 79, "provenance": "stackexchange_00019.jsonl.gz:496876", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/343422" }
[ -0.01100921630859375, -0.029815673828125, -0.0576171875, -0.0225677490234375, -0.00738525390625, -0.043701171875, 0.03466796875, 0.045196533203125, 0.02484130859375, 0.0004363059997558594, -0.0286407470703125, 0.0050506591796875, -0.030487060546875, -0.018157958984375, -0.0074920654296875, -0.0322265625, 0.0293121337890625, -0.004405975341796875, 0.0062408447265625, -0.0259857177734375, -0.0006279945373535156, 0.002902984619140625, -0.008087158203125, 0.06396484375, -0.023895263671875, 0.065185546875, 0.048431396484375, -0.028839111328125, -0.0109405517578125, -0.014923095703125, -0.000025272369384765625, -0.003734588623046875, 0.0131988525390625, 0.0526123046875, -0.056182861328125, 0.0044403076171875, 0.006153106689453125, 0.00937652587890625, 0.01338958740234375, 0.003833770751953125, 0.0270538330078125, -0.006565093994140625, 0.07708740234375, 0.03228759765625, 0.0299224853515625, -0.06268310546875, 0.054168701171875, -0.06396484375, 0.0229644775390625, -0.025909423828125, -0.0228271484375, 0.0007123947143554688, -0.0015020370483398438, -0.0019464492797851562, -0.0226287841796875, -0.01226806640625, 0.02740478515625, 0.028472900390625, 0.01262664794921875, 0.01275634765625, -0.0322265625, 0.034576416015625, -0.0009021759033203125, -0.01080322265625, 0.0188751220703125, -0.031402587890625, 0.002742767333984375, 0.0335693359375, -0.032806396484375, 0.035003662109375, 0.059783935546875, -0.0217742919921875, 0.005176544189453125, -0.01396942138671875, 0.060211181640625, -0.018585205078125, -0.003490447998046875, 0.00885772705078125, -0.0045318603515625, 0.059234619140625, 0.0276031494140625, -0.035125732421875, 0.0130615234375, 0.0065155029296875, -0.011474609375, 0.0260009765625, -0.0046234130859375, -0.00006514787673950195, -0.049072265625, -0.0142059326171875, -0.04296875, -0.0692138671875, -0.01532745361328125, 0.0036716461181640625, -0.020111083984375, 0.021087646484375, 0.0257110595703125, 0.07421875, -0.020416259765625, 0.003444671630859375, -0.0206146240234375, -0.036834716796875, 0.00525665283203125, -0.039703369140625, 0.006038665771484375, 0.01184844970703125, 0.0308380126953125, -0.0013561248779296875, 0.0159912109375, 0.0104827880859375, -0.0174560546875, 0.053985595703125, -0.017791748046875, -0.0318603515625, -0.01168060302734375, 0.0338134765625, -0.0280609130859375, 0.0156402587890625, 0.0032024383544921875, 0.004467010498046875, -0.000629425048828125, 0.021514892578125, -0.0384521484375, -0.05084228515625, 0.002155303955078125, -0.044158935546875, -0.04205322265625, 0.034515380859375, 0.01490020751953125, -0.007694244384765625, -0.0213623046875, 0.005962371826171875, 0.016204833984375, 0.0164642333984375, -0.0139923095703125, -0.0027675628662109375, 0.060699462890625, -0.00928497314453125, 0.0018720626831054688, 0.0186767578125, 0.00791168212890625, -0.02935791015625, -0.03533935546875, -0.009033203125, -0.0234527587890625, 0.01488494873046875, 0.01605224609375, 0.0009284019470214844, -0.0005497932434082031, -0.05889892578125, -0.0352783203125, 0.0146331787109375, 0.051605224609375, -0.02593994140625, 0.0025634765625, -0.051422119140625, 0.046875, -0.04376220703125, -0.01215362548828125, -0.036651611328125, -0.0028076171875, -0.01239776611328125, 0.0101318359375, -0.0127105712890625, -0.00881195068359375, 0.003948211669921875, -0.0341796875, 0.01129150390625, 0.02459716796875, -0.013336181640625, 0.01690673828125, -0.0301513671875, -0.020904541015625, -0.020782470703125, -0.0075836181640625, 0.032501220703125, -0.025665283203125, -0.041748046875, 0.024139404296875, 0.028778076171875, 0.0101318359375, -0.003322601318359375, -0.03326416015625, 0.040252685546875, -0.037017822265625, 0.032928466796875, 0.02142333984375, 0.05987548828125, 0.001678466796875, 0.026580810546875, 0.05084228515625, 0.00862884521484375, 0.0010890960693359375, 0.032684326171875, -0.0361328125, -0.06170654296875, 0.017120361328125, 0.0081787109375, -0.0240631103515625, -0.004810333251953125, -0.00025963783264160156, -0.0024433135986328125, -0.029815673828125, -0.0033130645751953125, -0.11199951171875, -0.0041351318359375, -0.048431396484375, 0.039825439453125, -0.0205230712890625, -0.0011281967163085938, 0.026458740234375, 0.01128387451171875, -0.0226287841796875, -0.01403045654296875, -0.0142974853515625, 0.006046295166015625, -0.03338623046875, 0.0462646484375, -0.0028057098388671875, 0.039306640625, -0.029510498046875, -0.01378631591796875, -0.0307464599609375, -0.0190277099609375, -0.01263427734375, -0.0196380615234375, -0.00931549072265625, -0.00672149658203125, -0.0076751708984375, 0.002758026123046875, 0.037261962890625, 0.0236663818359375, -0.0227203369140625, 0.0322265625, -0.03045654296875, -0.042572021484375, -0.07537841796875, -0.06256103515625, 0.0280609130859375, 0.05712890625, 0.03228759765625, 0.00966644287109375, -0.0207977294921875, 0.01141357421875, 0.057830810546875, -0.01509857177734375, 0.0013837814331054688, 0.030120849609375, 0.021881103515625, 0.023681640625, 0.036407470703125, -0.01788330078125, 0.046356201171875, -0.0230255126953125, 0.0367431640625, 0.0293426513671875, -0.0191650390625, 0.0289306640625, -0.01259613037109375, -0.01534271240234375, -0.01065826416015625, -0.0241851806640625, -0.0012874603271484375, -0.00799560546875, 0.046112060546875, -0.0075531005859375, 0.048309326171875, 0.023101806640625, 0.02215576171875, -0.004085540771484375, -0.00620269775390625, -0.10009765625, 0.01529693603515625, 0.01690673828125, 0.0478515625, 0.03802490234375, -0.025970458984375, -0.02557373046875, 0.0213470458984375, 0.036041259765625, -0.0294342041015625, -0.02130126953125, -0.04931640625, -0.0171966552734375, 0.044891357421875, -0.03216552734375, -0.0216522216796875, -0.028839111328125, -0.0212554931640625, -0.0330810546875, 0.01006317138671875, -0.02294921875, -0.05487060546875, 0.01549530029296875, 0.02899169921875, -0.0614013671875, 0.039703369140625, -0.01494598388671875, 0.0185699462890625, -0.017791748046875, 0.03399658203125, 0.056243896484375, -0.03948974609375, 0.03564453125, 0.0150299072265625, -0.011566162109375, 0.0294036865234375, 0.0162200927734375, 0.00270843505859375, 0.01239776611328125, -0.0625, -0.0101776123046875, 0.0190887451171875, 0.04833984375, 0.0022373199462890625, -0.0487060546875, -0.021942138671875, 0.032501220703125, -0.1025390625, -0.0919189453125, -0.07305908203125, -0.0014324188232421875, -0.004638671875, 0.0009570121765136719, 0.03057861328125, 0.018646240234375, -0.00662994384765625, 0.02197265625, 0.0182037353515625, -0.033477783203125, -0.0682373046875, -0.0726318359375, -0.0770263671875, -0.031768798828125, -0.011810302734375, 0.01067352294921875, -0.006336212158203125, 0.060943603515625, -0.0107269287109375, -0.043182373046875, -0.0236968994140625, -0.05126953125, 0.0005927085876464844, -0.003520965576171875, -0.0086212158203125, -0.01064300537109375, -0.007244110107421875, 0.00913238525390625, -0.01560211181640625, -0.00194549560546875, -0.01355743408203125, -0.015777587890625, -0.035186767578125, -0.044677734375, -0.029266357421875, 0.02685546875, 0.0399169921875, -0.04217529296875, 0.0136260986328125, -0.059173583984375, -0.037628173828125, -0.0035648345947265625, -0.0452880859375, 0.0292816162109375, 0.0217437744140625, -0.0078277587890625, -0.01271820068359375, 0.0113067626953125, 0.009613037109375, 0.019317626953125, 0.06195068359375, -0.03985595703125, 0.033355712890625, -0.0187225341796875, -0.010711669921875, -0.05108642578125, 0.02105712890625, -0.02685546875, 0.0232086181640625, 0.00988006591796875, -0.0074462890625, 0.020111083984375, -0.0143585205078125, -0.0096588134765625, -0.000675201416015625, -0.020416259765625, -0.0797119140625, 0.0709228515625, -0.050628662109375, 0.0188446044921875, -0.048675537109375, 0.04669189453125, 0.005672454833984375, -0.0193328857421875, -0.001781463623046875, -0.003204345703125, -0.005947113037109375, 0.01528167724609375, -0.0256195068359375, -0.01024627685546875, -0.0034351348876953125, 0.0046539306640625, -0.027984619140625, -0.003398895263671875, -0.0248565673828125, 0.0263519287109375, 0.004787445068359375, -0.024810791015625, 0.0467529296875, -0.04803466796875, -0.005619049072265625, 0.0125732421875, -0.006359100341796875, -0.041473388671875, -0.047576904296875, 0.01094818115234375, -0.11798095703125, -0.015625, -0.015106201171875, 0.056304931640625, -0.00482177734375, 0.01605224609375, -0.03179931640625, 0.0426025390625, -0.00843048095703125, 0.048248291015625, -0.0236663818359375, -0.0164337158203125, -0.0010995864868164062, 0.00920867919921875, 0.004985809326171875, -0.004093170166015625, 0.006610870361328125, -0.0014591217041015625, -0.052978515625, -0.0204315185546875, -0.020721435546875, -0.006450653076171875, 0.0193634033203125, -0.040618896484375, -0.041534423828125, -0.01134490966796875, -0.007740020751953125, 0.0160369873046875, -0.00848388671875, 0.0100860595703125, -0.0177459716796875, -0.050567626953125, 0.048492431640625, -0.02398681640625, -0.01678466796875, 0.0110626220703125, 0.078369140625, 0.0278472900390625, -0.0166168212890625, -0.00855255126953125, -0.01458740234375, 0.0276336669921875, 0.004024505615234375, 0.05120849609375, 0.03338623046875, -0.0040130615234375, 0.0254364013671875, 0.0171356201171875, -0.0019330978393554688, -0.0286407470703125, 0.035858154296875, -0.0071868896484375, -0.005313873291015625, -0.004657745361328125, -0.02081298828125, 0.036773681640625, 0.0526123046875, -0.00034880638122558594, 0.032135009765625, -0.0199127197265625, -0.031707763671875, -0.0023555755615234375, -0.0289764404296875, 0.01861572265625, -0.041656494140625, 0.01306915283203125, 0.00954437255859375, 0.0081329345703125, 0.01052093505859375, 0.007305145263671875, 0.014678955078125, -0.0012540817260742188, -0.0056915283203125, -0.042327880859375, 0.03582763671875, -0.054595947265625, 0.03887939453125, -0.022247314453125, -0.0300140380859375, -0.037078857421875, -0.01206207275390625, 0.04803466796875, -0.018218994140625, -0.05865478515625, -0.009613037109375, -0.01479339599609375, -0.0126953125, 0.036956787109375, 0.047698974609375, 0.0176849365234375, -0.03125, -0.02655029296875, -0.00836181640625, 0.06634521484375, -0.05712890625, -0.0254974365234375, 0.050048828125, 0.01983642578125, -0.010467529296875, 0.0154571533203125, 0.03558349609375, 0.059539794921875, -0.021331787109375, -0.0308685302734375, -0.00811004638671875, -0.0117645263671875, 0.0390625, 0.001422882080078125, -0.029754638671875, 0.0193023681640625, 0.0186614990234375, 0.035247802734375, -0.077880859375, -0.01534271240234375, 0.0003790855407714844, 0.06256103515625, -0.005916595458984375, -0.027740478515625, 0.04522705078125, -0.021575927734375, -0.0001881122589111328, 0.0303955078125, -0.04119873046875, -0.06158447265625, 0.00601959228515625, 0.0322265625, 0.0254974365234375, -0.05474853515625, 0.0095367431640625, 0.029052734375, 0.00583648681640625, 0.0227203369140625, -0.00777435302734375, -0.0103302001953125, -0.01235198974609375, -0.004138946533203125, 0.0172119140625, -0.008056640625, -0.01251983642578125, -0.045562744140625, -0.014312744140625, -0.010345458984375, 0.01168060302734375, 0.048614501953125, -0.0298919677734375, -0.0163726806640625, -0.00079345703125, 0.017120361328125, 0.0018968582153320312, 0.048431396484375, -0.0223541259765625, -0.03009033203125, -0.043853759765625, -0.0001760721206665039, -0.048797607421875, -0.026092529296875, -0.0341796875, -0.0335693359375, -0.03961181640625, -0.0158843994140625, 0.004779815673828125, 0.007080078125, 0.0027618408203125, -0.016937255859375, -0.0195159912109375, 0.0030384063720703125, 0.018157958984375, -0.0089263916015625, -0.0679931640625, 0.060821533203125, -0.002513885498046875, 0.04901123046875, -0.04864501953125, -0.0046844482421875, 0.00540924072265625, 0.0093231201171875, 0.0008802413940429688, -0.019287109375, -0.0105743408203125, -0.01934814453125, 0.00046539306640625, -0.004367828369140625, 0.03875732421875, -0.0016021728515625, 0.0087127685546875, -0.020050048828125, -0.005977630615234375, -0.01497650146484375, 0.032379150390625, -0.0299072265625, -0.0060882568359375, 0.0248870849609375, -0.03497314453125, 0.033538818359375, -0.0018606185913085938, -0.01294708251953125, 0.00713348388671875, -0.051239013671875, 0.0184326171875, 0.033233642578125, -0.043060302734375, 0.0078887939453125, 0.0391845703125, 0.00007802248001098633, 0.004077911376953125, 0.0034847259521484375, -0.0023288726806640625, 0.0019283294677734375, 0.032440185546875, 0.0022220611572265625, -0.035186767578125, 0.034942626953125, -0.01226806640625, -0.03839111328125, -0.01345062255859375, -0.03759765625, 0.049774169921875, 0.07330322265625, 0.10113525390625, -0.10662841796875, 0.02374267578125, -0.006656646728515625, -0.053131103515625, 0.0155181884765625, -0.0068511962890625, 0.0187225341796875, -0.031951904296875, 0.03192138671875, 0.00206756591796875, -0.01036834716796875, -0.006702423095703125, -0.0231781005859375, -0.012420654296875, -0.004703521728515625, 0.026824951171875, 0.0020313262939453125, 0.01611328125, -0.0080413818359375, -0.008544921875, 0.01067352294921875, 0.01149749755859375, 0.040771484375, -0.0206146240234375, -0.012908935546875, -0.01422882080078125, 0.006603240966796875, 0.00835418701171875, -0.0345458984375, -0.060699462890625, -0.03082275390625, 0.040130615234375, 0.0540771484375, -0.03704833984375, -0.00379180908203125, 0.0206756591796875, 0.0200653076171875, 0.0494384765625, -0.0201263427734375, 0.0292510986328125, 0.0299835205078125, -0.030426025390625, -0.01247406005859375, 0.005512237548828125, -0.005340576171875, 0.01317596435546875, -0.032745361328125, 0.01351165771484375, -0.021636962890625, -0.01690673828125, 0.03619384765625, -0.06597900390625, -0.0274505615234375, -0.035003662109375, 0.024444580078125, -0.00799560546875, 0.047088623046875, -0.0179595947265625, 0.03582763671875, -0.0010986328125, -0.0249786376953125, -0.04052734375, 0.07305908203125, 0.01200103759765625, 0.001987457275390625, 0.0168609619140625, 0.050140380859375, -0.04095458984375, 0.0150146484375, -0.0391845703125, 0.068603515625, -0.0268707275390625, 0.028411865234375, -0.041473388671875, 0.0253143310546875, -0.0118560791015625, -0.0025177001953125, 0.0220184326171875, -0.0014925003051757812, -0.002986907958984375, -0.00385284423828125, 0.029205322265625, 0.01152801513671875, -0.0086822509765625, 0.0250244140625, -0.007579803466796875, 0.00464630126953125, 0.00659942626953125, -0.0174407958984375, 0.021881103515625, -0.02490234375, -0.0333251953125, 0.010955810546875, -0.00780487060546875, -0.03302001953125, 0.04315185546875, -0.00533294677734375, -0.0197906494140625, 0.01535797119140625, 0.01033782958984375, -0.00656890869140625, -0.0124969482421875, 0.07012939453125, 0.041290283203125, -0.032196044921875, -0.047149658203125, -0.026611328125, 0.036102294921875, 0.0066680908203125, -0.01296234130859375, 0.004436492919921875, -0.0030364990234375, -0.012054443359375, -0.007518768310546875, -0.0157012939453125, 0.02984619140625, -0.018096923828125, 0.039703369140625, -0.01206207275390625, 0.004703521728515625, -0.076171875, 0.0018768310546875, 0.054931640625, 0.0654296875, -0.04071044921875, -0.050689697265625, 0.005725860595703125, 0.00408935546875, 0.0088348388671875, 0.0189208984375, 0.018646240234375, 0.0217742919921875, 0.042327880859375, -0.0031642913818359375, -0.01299285888671875, -0.0105743408203125, -0.0002808570861816406, -0.0019969940185546875, 0.0100555419921875, 0.03265380859375, 0.0180816650390625, -0.0447998046875, 0.01519012451171875, 0.024383544921875, 0.05615234375, 0.028289794921875, 0.0347900390625, -0.0092620849609375, -0.0282440185546875, 0.00975799560546875, 0.041229248046875, -0.01410675048828125, 0.006496429443359375, -0.05206298828125, -0.064697265625, -0.015869140625, 0.046661376953125, -0.03485107421875, 0.0634765625, 0.055328369140625, 0.045684814453125, -0.027862548828125, -0.00928497314453125, 0.032135009765625, -0.044952392578125, -0.02777099609375, -0.03729248046875, 0.030670166015625, 0.0211334228515625, 0.01837158203125, -0.0035610198974609375, 0.060699462890625, 0.0200347900390625, 0.0184173583984375, 0.01219940185546875, 0.01611328125, -0.006435394287109375, 0.048095703125, 0.0193023681640625, 0.05853271484375, 0.046112060546875, -0.0207672119140625, -0.0035762786865234375, -0.010589599609375, -0.019378662109375, -0.00893402099609375, 0.0255889892578125, -0.01251220703125, 0.026092529296875, -0.035797119140625, -0.0222320556640625, 0.036224365234375, -0.03106689453125, 0.01678466796875, 0.045318603515625, -0.017242431640625, -0.0007305145263671875, -0.035400390625, -0.0244140625, 0.005779266357421875, 0.03594970703125, -0.003810882568359375, 0.083984375, -0.02825927734375, 0.0032958984375, 0.0003902912139892578, 0.01198577880859375, -0.0008864402770996094, 0.01434326171875, -0.01470184326171875, 0.01354217529296875, 0.004085540771484375, -0.026336669921875, -0.038543701171875, 0.057708740234375, -0.007526397705078125, -0.006591796875, 0.0428466796875, -0.0452880859375, 0.0029048919677734375, 0.0153350830078125, 0.019012451171875, -0.02703857421875, -0.06402587890625, -0.031829833984375, 0.01509857177734375, -0.00466156005859375, 0.0170135498046875, -0.0093841552734375, 0.0173797607421875, 0.00914764404296875, 0.0040283203125, -0.0052642822265625, -0.0019817352294921875, 0.0087127685546875, 0.035797119140625, -0.052825927734375, -0.00974273681640625, -0.01202392578125, -0.0163116455078125, 0.01068115234375, -0.00815582275390625, 0.028411865234375, -0.02459716796875, -0.01507568359375, 0.042633056640625, 0.01235198974609375, 0.01082611083984375, -0.0257568359375, -0.020843505859375, 0.047943115234375, -0.019561767578125, -0.02239990234375, 0.0295257568359375, 0.0017948150634765625, 0.01030731201171875, -0.0262603759765625, -0.0010967254638671875, -0.0014619827270507812, -0.01061248779296875, -0.0031280517578125, 0.01403045654296875, -0.00650787353515625, -0.01263427734375, -0.035125732421875, 0.0034618377685546875, -0.031463623046875, 0.058013916015625, -0.0576171875, -0.047882080078125, 0.00928497314453125, 0.055419921875, 0.0150299072265625, -0.03802490234375, -0.0240478515625, 0.0252532958984375, -0.004131317138671875, 0.03143310546875, 0.04534912109375, -0.0227203369140625, -0.0026988983154296875, 0.041748046875, 0.0180816650390625, 0.1004638671875, -0.0264434814453125, -0.0129241943359375, 0.038238525390625, -0.011505126953125, -0.005016326904296875, -0.03851318359375, -0.0179290771484375, -0.010101318359375, -0.005046844482421875, -0.0174407958984375, 0.00408172607421875, 0.0142059326171875, -0.046905517578125, -0.07427978515625, 0.08380126953125, -0.0123291015625, -0.020477294921875, -0.0218658447265625, -0.019134521484375, -0.01497650146484375, 0.041351318359375, 0.0016279220581054688, -0.01555633544921875, -0.0308380126953125, 0.021636962890625, 0.031890869140625, -0.002288818359375, 0.0292816162109375, 0.024749755859375, -0.03912353515625, 0.0232086181640625, -0.0020809173583984375, 0.0168304443359375, 0.04290771484375, -0.00818634033203125, 0.039581298828125, 0.07257080078125, -0.006580352783203125, -0.05023193359375, -0.017730712890625, -0.10858154296875, -0.007152557373046875, -0.001346588134765625, -0.03680419921875, -0.0169677734375, 0.06134033203125, 0.054290771484375, 0.0174102783203125, -0.006824493408203125, 0.00872039794921875, -0.0478515625, -0.004207611083984375, 0.010589599609375, 0.00624847412109375, -0.04327392578125, -0.0006723403930664062, 0.042510986328125, -0.007232666015625, 0.01227569580078125, 0.00482940673828125, -0.0097808837890625, -0.0005564689636230469, 0.03765869140625, -0.0211944580078125, -0.0300445556640625, -0.03173828125, 0.0618896484375, -0.011749267578125, 0.0236663818359375, 0.0155181884765625, 0.01824951171875, 0.04534912109375, 0.046051025390625, 0.0167999267578125, 0.01788330078125, -0.07928466796875, 0.0009927749633789062, -0.0083160400390625, 0.051544189453125, -0.040374755859375, -0.0467529296875, 0.0004000663757324219, 0.0246124267578125, 0.006832122802734375, 0.04022216796875, -0.0020599365234375, -0.006443023681640625, 0.0015888214111328125, -0.0094451904296875, -0.03570556640625, -0.0239105224609375, -0.040802001953125, 0.0275726318359375, -0.0168914794921875, 0.0204925537109375, 0.03460693359375, -0.0225830078125, 0.00604248046875, 0.0665283203125, 0.00732421875, -0.0027828216552734375, -0.0219573974609375, 0.010986328125, 0.03619384765625, -0.019287109375 ]
0c45a1e47db93b1e90ccf0e3f5a4723ccee1c0b0
Wordpress Stackexchange Q: How to change a post attribute to homepage using WP CLI? I want to convert a page to homepage. To add widget to homepage I need to do that. How will I be able to do that using WP CLI? A: To set the site's static home page with WP-CLI, you should be able to do something like this: wp option update show_on_front "page" wp option update page_on_front {$page_id} ... where {$page_id} is the ID of the page you want to be the front page. (Your question was originally tagged multisite—if you're running a Multisite installation, and want to specify a site other than the main site, you'll need to do this: wp option update show_on_front "page" --url=example.com/site wp option update page_on_front {$page_id} --url=example.com/site ... where example.com/site is the URL of the site you wish to affect.) Note: I haven't tested this code. You should try it on a non-production WordPress installation first to be sure it works as intended. References * *wp option update *A related answer with the required option names (show_on_front & page_on_front)
Q: How to change a post attribute to homepage using WP CLI? I want to convert a page to homepage. To add widget to homepage I need to do that. How will I be able to do that using WP CLI? A: To set the site's static home page with WP-CLI, you should be able to do something like this: wp option update show_on_front "page" wp option update page_on_front {$page_id} ... where {$page_id} is the ID of the page you want to be the front page. (Your question was originally tagged multisite—if you're running a Multisite installation, and want to specify a site other than the main site, you'll need to do this: wp option update show_on_front "page" --url=example.com/site wp option update page_on_front {$page_id} --url=example.com/site ... where example.com/site is the URL of the site you wish to affect.) Note: I haven't tested this code. You should try it on a non-production WordPress installation first to be sure it works as intended. References * *wp option update *A related answer with the required option names (show_on_front & page_on_front)
wordpress
{ "language": "en", "length": 177, "provenance": "stackexchange_00019.jsonl.gz:497106", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/344242" }
[ 0.00510406494140625, -0.023223876953125, -0.0030536651611328125, -0.0135498046875, -0.01526641845703125, -0.012725830078125, 0.0097198486328125, -0.0230255126953125, 0.007633209228515625, -0.0103607177734375, -0.0011777877807617188, -0.049774169921875, -0.01197052001953125, -0.0406494140625, 0.01258087158203125, -0.05615234375, 0.02874755859375, 0.00930023193359375, 0.024169921875, 0.0037021636962890625, 0.0042724609375, 0.016876220703125, 0.0013141632080078125, 0.08404541015625, 0.020233154296875, -0.06146240234375, 0.0210723876953125, -0.028411865234375, 0.0006818771362304688, -0.01366424560546875, 0.0121307373046875, 0.030426025390625, 0.038909912109375, -0.0269317626953125, 0.012603759765625, 0.0283966064453125, 0.038421630859375, -0.0211944580078125, -0.006500244140625, 0.036895751953125, 0.00925445556640625, 0.0027866363525390625, -0.00991058349609375, 0.037200927734375, -0.034698486328125, -0.043426513671875, 0.0176239013671875, -0.023834228515625, 0.0008411407470703125, -0.008636474609375, -0.0169677734375, -0.02655029296875, -0.0161895751953125, -0.021331787109375, -0.01499176025390625, -0.0291290283203125, 0.013641357421875, -0.0362548828125, 0.0260772705078125, 0.00968170166015625, -0.020263671875, -0.007843017578125, 0.024078369140625, -0.017578125, 0.0162200927734375, -0.0024776458740234375, -0.034149169921875, 0.00052642822265625, -0.039154052734375, 0.0012445449829101562, 0.039581298828125, -0.045684814453125, 0.004436492919921875, -0.0233306884765625, -0.0223236083984375, 0.0123291015625, -0.015228271484375, -0.00201416015625, 0.023040771484375, -0.02447509765625, 0.01175689697265625, 0.039703369140625, -0.03814697265625, -0.05657958984375, 0.029754638671875, -0.0218505859375, -0.0174560546875, -0.0146636962890625, -0.0013637542724609375, 0.0004150867462158203, -0.001590728759765625, 0.0258331298828125, -0.005889892578125, -0.0242919921875, -0.01131439208984375, -0.040679931640625, -0.017578125, -0.01222991943359375, -0.018798828125, 0.0215301513671875, 0.01157379150390625, -0.04425048828125, 0.051910400390625, -0.025177001953125, -0.006366729736328125, 0.048126220703125, 0.04437255859375, 0.056854248046875, 0.01485443115234375, 0.00002199411392211914, 0.00634765625, 0.0299224853515625, -0.004947662353515625, 0.0002772808074951172, -0.0284423828125, -0.00945281982421875, -0.04644775390625, -0.005702972412109375, -0.00923919677734375, 0.01666259765625, 0.006710052490234375, 0.03375244140625, 0.01708984375, -0.036224365234375, 0.00363922119140625, 0.018585205078125, -0.004535675048828125, -0.08416748046875, -0.0181732177734375, 0.00943756103515625, -0.018280029296875, 0.0198822021484375, 0.06292724609375, 0.02410888671875, -0.00537872314453125, -0.01024627685546875, 0.021026611328125, -0.0023040771484375, -0.00913238525390625, 0.057586669921875, -0.0223236083984375, -0.0848388671875, -0.03192138671875, -0.01277923583984375, 0.062164306640625, 0.032073974609375, 0.028472900390625, 0.00004798173904418945, -0.00864410400390625, 0.0007457733154296875, 0.036102294921875, -0.0311126708984375, 0.0019989013671875, 0.0213623046875, 0.03680419921875, -0.021514892578125, 0.03955078125, -0.0330810546875, 0.02813720703125, -0.018341064453125, -0.0283203125, 0.0024967193603515625, 0.0452880859375, -0.034759521484375, -0.015045166015625, -0.0192413330078125, -0.03912353515625, -0.0037517547607421875, 0.019744873046875, 0.0579833984375, 0.00627899169921875, -0.0115966796875, 0.010955810546875, -0.003391265869140625, -0.0183563232421875, 0.00255584716796875, -0.0256805419921875, 0.02862548828125, 0.034088134765625, 0.01226806640625, 0.00592803955078125, -0.0220184326171875, 0.059722900390625, 0.00765228271484375, -0.043914794921875, 0.0189971923828125, 0.0013570785522460938, 0.06475830078125, 0.007160186767578125, 0.0305023193359375, 0.0080413818359375, -0.005367279052734375, -0.022705078125, 0.00543975830078125, -0.0055694580078125, -0.0081024169921875, -0.046966552734375, -0.017425537109375, -0.017822265625, 0.034149169921875, 0.003589630126953125, -0.005924224853515625, 0.0159912109375, 0.0155792236328125, -0.006603240966796875, 0.00308990478515625, -0.01025390625, 0.0189361572265625, 0.036865234375, 0.01190185546875, -0.0003197193145751953, 0.0007529258728027344, 0.0030059814453125, -0.048065185546875, -0.0797119140625, 0.00624847412109375, -0.0012569427490234375, 0.057830810546875, 0.00728607177734375, 0.045196533203125, -0.012542724609375, -0.020843505859375, -0.0083770751953125, 0.0007328987121582031, 0.05963134765625, -0.0207977294921875, -0.00807952880859375, -0.0465087890625, 0.045166015625, -0.01788330078125, -0.03564453125, 0.04730224609375, 0.007411956787109375, -0.0024242401123046875, -0.05303955078125, 0.004070281982421875, -0.0239715576171875, -0.032470703125, 0.004138946533203125, 0.045166015625, 0.0121002197265625, -0.019317626953125, -0.01154327392578125, 0.024566650390625, 0.0026092529296875, -0.0170440673828125, 0.01065826416015625, 0.01233673095703125, -0.000820159912109375, 0.019287109375, -0.03143310546875, 0.003021240234375, 0.0239715576171875, -0.1146240234375, -0.009613037109375, 0.058258056640625, 0.018402099609375, 0.01352691650390625, -0.0184173583984375, -0.0166778564453125, 0.016326904296875, -0.04974365234375, -0.059967041015625, -0.0003085136413574219, -0.013336181640625, 0.0206298828125, 0.01055145263671875, -0.0004379749298095703, -0.0294952392578125, 0.0091552734375, 0.0242919921875, 0.0013217926025390625, 0.01410675048828125, 0.021240234375, 0.0195159912109375, -0.022674560546875, -0.00247955322265625, -0.029632568359375, 0.0077362060546875, -0.01071929931640625, -0.01486968994140625, 0.0074310302734375, 0.0013742446899414062, -0.004505157470703125, -0.00847625732421875, -0.042816162109375, 0.040130615234375, 0.023773193359375, -0.005084991455078125, -0.01119232177734375, -0.0222320556640625, 0.03912353515625, -0.05078125, 0.06842041015625, 0.02069091796875, -0.026641845703125, 0.033111572265625, -0.0465087890625, 0.026580810546875, -0.0075836181640625, 0.07025146484375, 0.08172607421875, 0.0258636474609375, -0.01678466796875, 0.0020389556884765625, 0.052001953125, 0.00665283203125, -0.0069122314453125, -0.007549285888671875, 0.0012149810791015625, -0.040557861328125, -0.0059356689453125, -0.0005884170532226562, 0.0287322998046875, -0.0301513671875, -0.03857421875, -0.01396942138671875, 0.00647735595703125, -0.0643310546875, -0.06195068359375, -0.0170135498046875, -0.059539794921875, -0.004344940185546875, 0.0283050537109375, -0.03265380859375, -0.00043392181396484375, 0.061767578125, 0.01375579833984375, -0.0180511474609375, -0.00428009033203125, -0.037353515625, -0.05413818359375, -0.07275390625, -0.01534271240234375, -0.0034503936767578125, 0.03045654296875, -0.00115203857421875, 0.038482666015625, -0.00811767578125, -0.0289154052734375, -0.010009765625, 0.07269287109375, 0.0030269622802734375, -0.033660888671875, 0.02838134765625, -0.05780029296875, 0.014892578125, -0.0028018951416015625, 0.018646240234375, 0.0298919677734375, -0.0099334716796875, -0.00238037109375, -0.042327880859375, -0.058319091796875, -0.055938720703125, 0.045166015625, 0.06646728515625, -0.0218353271484375, -0.0008349418640136719, -0.041412353515625, -0.005519866943359375, 0.0079498291015625, -0.0162353515625, -0.0287628173828125, 0.002841949462890625, -0.0226593017578125, 0.0098876953125, -0.0172576904296875, 0.0014715194702148438, -0.020263671875, 0.07861328125, -0.0169830322265625, -0.0225372314453125, -0.02288818359375, -0.052032470703125, -0.053192138671875, 0.0211181640625, 0.0011682510375976562, 0.022857666015625, 0.0300140380859375, 0.0116119384765625, -0.00403594970703125, 0.0166778564453125, -0.02691650390625, -0.06463623046875, 0.03173828125, -0.0550537109375, -0.01346588134765625, -0.01314544677734375, -0.01175689697265625, 0.0158843994140625, 0.07391357421875, -0.07025146484375, -0.022613525390625, 0.013092041015625, 0.028411865234375, -0.00440216064453125, -0.063720703125, -0.02471923828125, -0.04461669921875, -0.09912109375, 0.0181884765625, 0.006023406982421875, -0.0238494873046875, -0.035858154296875, 0.034698486328125, -0.0648193359375, -0.045501708984375, 0.046234130859375, -0.0104217529296875, -0.01345062255859375, 0.036407470703125, -0.032440185546875, 0.016021728515625, -0.039581298828125, 0.01406097412109375, -0.0810546875, -0.02069091796875, 0.03851318359375, 0.040924072265625, -0.021575927734375, -0.015350341796875, -0.0206451416015625, 0.0565185546875, 0.0187225341796875, -0.007755279541015625, 0.0220184326171875, 0.0034618377685546875, 0.047698974609375, -0.06396484375, -0.0186920166015625, -0.039215087890625, 0.0026493072509765625, -0.0106048583984375, -0.048248291015625, 0.006290435791015625, -0.0238189697265625, 0.04205322265625, 0.022613525390625, -0.026092529296875, -0.0303802490234375, -0.05926513671875, -0.03759765625, 0.0105438232421875, -0.0201568603515625, 0.0067596435546875, -0.07012939453125, -0.02447509765625, 0.0258941650390625, -0.0165863037109375, -0.0294952392578125, 0.0076751708984375, 0.061279296875, 0.0199737548828125, -0.0230712890625, 0.00917816162109375, -0.042938232421875, 0.017120361328125, 0.0291595458984375, 0.034698486328125, 0.0217742919921875, -0.007244110107421875, 0.0255584716796875, 0.005462646484375, -0.0207977294921875, 0.0281219482421875, 0.0340576171875, 0.028594970703125, -0.0242767333984375, -0.00936126708984375, 0.0152587890625, -0.0286102294921875, 0.016357421875, -0.0192108154296875, 0.021392822265625, -0.02935791015625, -0.0031490325927734375, -0.0015020370483398438, -0.0078277587890625, -0.01910400390625, 0.00864410400390625, -0.01393890380859375, 0.01000213623046875, 0.0185699462890625, 0.0191192626953125, 0.01187896728515625, -0.0279693603515625, 0.01666259765625, -0.006023406982421875, 0.03179931640625, 0.0214385986328125, -0.0287017822265625, 0.00909423828125, 0.004718780517578125, -0.035400390625, 0.0259552001953125, -0.005153656005859375, 0.0546875, -0.0222625732421875, -0.0421142578125, -0.041534423828125, -0.027618408203125, -0.01514434814453125, 0.03448486328125, 0.02642822265625, 0.040924072265625, -0.0099945068359375, -0.05059814453125, -0.043060302734375, -0.01146697998046875, -0.044952392578125, -0.073486328125, -0.01416778564453125, -0.0039825439453125, -0.005367279052734375, 0.0178070068359375, 0.034149169921875, 0.0137939453125, 0.0178375244140625, -0.03912353515625, 0.0238494873046875, 0.0297393798828125, 0.00128936767578125, -0.002964019775390625, 0.056060791015625, 0.022491455078125, -0.033782958984375, 0.0304107666015625, 0.0072479248046875, 0.01178741455078125, 0.026519775390625, 0.03265380859375, 0.0089569091796875, -0.0027313232421875, -0.0239105224609375, -0.04779052734375, -0.0016756057739257812, 0.042724609375, -0.007404327392578125, -0.045196533203125, -0.0214691162109375, -0.00115203857421875, 0.03619384765625, -0.034576416015625, -0.014404296875, 0.00540924072265625, -0.020599365234375, 0.03240966796875, 0.023651123046875, -0.00806427001953125, 0.0244598388671875, 0.00986480712890625, -0.0080718994140625, -0.0097808837890625, -0.0002651214599609375, -0.0428466796875, -0.01064300537109375, -0.0298004150390625, -0.0243988037109375, 0.0389404296875, 0.005489349365234375, 0.036346435546875, -0.01155853271484375, -0.036468505859375, 0.01129150390625, 0.0164337158203125, 0.0121307373046875, -0.0107269287109375, -0.053619384765625, 0.00798797607421875, -0.05230712890625, -0.00801849365234375, -0.004425048828125, -0.00691986083984375, -0.044525146484375, -0.0207366943359375, 0.0638427734375, 0.04461669921875, -0.0084991455078125, -0.07708740234375, -0.048553466796875, -0.0248565673828125, 0.060516357421875, 0.043609619140625, -0.0220489501953125, 0.036895751953125, -0.010986328125, 0.0341796875, 0.0003223419189453125, -0.0027599334716796875, 0.0010442733764648438, -0.0236053466796875, 0.003604888916015625, 0.003055572509765625, -0.00868988037109375, -0.0038013458251953125, 0.0034770965576171875, -0.011993408203125, 0.038909912109375, -0.006595611572265625, 0.00418853759765625, -0.0011262893676757812, -0.01039886474609375, -0.03118896484375, 0.006618499755859375, -0.0101318359375, 0.0000013709068298339844, 0.002166748046875, 0.0029048919677734375, -0.00902557373046875, 0.0029735565185546875, 0.0122222900390625, -0.01406097412109375, 0.0130462646484375, 0.0041046142578125, -0.033966064453125, -0.0963134765625, 0.09912109375, 0.1328125, 0.03521728515625, 0.0704345703125, 0.004634857177734375, 0.0016345977783203125, 0.03179931640625, 0.0364990234375, -0.0701904296875, -0.0242767333984375, 0.0266876220703125, 0.0019855499267578125, -0.0223846435546875, 0.01812744140625, -0.007965087890625, 0.01446533203125, 0.049591064453125, 0.05767822265625, -0.06829833984375, 0.020111083984375, 0.00548553466796875, 0.0030364990234375, 0.037689208984375, 0.058074951171875, -0.01479339599609375, 0.03179931640625, 0.0146484375, -0.011016845703125, 0.0201263427734375, 0.0623779296875, 0.04095458984375, -0.01348114013671875, -0.047119140625, 0.020050048828125, 0.01397705078125, -0.035003662109375, 0.0163116455078125, 0.005184173583984375, -0.0206298828125, -0.0199737548828125, -0.0045928955078125, -0.0241241455078125, -0.0362548828125, -0.06298828125, -0.0237579345703125, 0.005767822265625, -0.0174560546875, 0.054168701171875, -0.00955963134765625, 0.01294708251953125, 0.0309295654296875, -0.022216796875, 0.04351806640625, -0.0159912109375, 0.01517486572265625, -0.00768280029296875, 0.011810302734375, 0.02880859375, 0.016632080078125, -0.0521240234375, 0.00839996337890625, -0.06878662109375, 0.0172119140625, -0.0308685302734375, -0.048065185546875, 0.0892333984375, -0.00402069091796875, -0.025115966796875, 0.0011959075927734375, 0.038299560546875, -0.00505828857421875, -0.0096282958984375, 0.0390625, -0.05621337890625, -0.024932861328125, 0.01435089111328125, -0.0343017578125, -0.03228759765625, -0.0291900634765625, -0.04852294921875, 0.1259765625, -0.0546875, 0.02288818359375, 0.02447509765625, 0.053436279296875, -0.0283355712890625, 0.0284271240234375, -0.037994384765625, 0.0289154052734375, 0.0005106925964355469, 0.02935791015625, -0.00597381591796875, 0.00655364990234375, 0.0175628662109375, 0.025177001953125, 0.01541900634765625, 0.01454925537109375, -0.0124053955078125, -0.00815582275390625, 0.005901336669921875, 0.0245819091796875, -0.0030879974365234375, 0.035858154296875, -0.04022216796875, 0.023040771484375, -0.030059814453125, -0.06280517578125, 0.0140228271484375, -0.0273284912109375, -0.056488037109375, -0.00859832763671875, 0.045654296875, 0.046478271484375, 0.013458251953125, 0.002445220947265625, -0.02655029296875, 0.011566162109375, 0.02581787109375, 0.0160675048828125, -0.046295166015625, 0.05523681640625, -0.0225982666015625, 0.036468505859375, 0.023223876953125, -0.022247314453125, 0.019256591796875, -0.01200103759765625, 0.00650787353515625, -0.002262115478515625, 0.0181732177734375, 0.03155517578125, 0.002269744873046875, -0.007232666015625, 0.057830810546875, -0.026397705078125, 0.0714111328125, 0.05804443359375, 0.054412841796875, 0.0204925537109375, 0.037994384765625, -0.0192413330078125, 0.06024169921875, -0.03753662109375, -0.03729248046875, 0.01172637939453125, 0.00557708740234375, -0.0025424957275390625, 0.00475311279296875, 0.0007476806640625, -0.016448974609375, 0.0268402099609375, -0.05377197265625, 0.023773193359375, 0.060821533203125, 0.017242431640625, -0.0037326812744140625, 0.01158905029296875, -0.052978515625, -0.001323699951171875, -0.0699462890625, -0.00830078125, 0.003902435302734375, 0.060638427734375, 0.0606689453125, 0.0280914306640625, 0.0224456787109375, -0.03167724609375, -0.03680419921875, 0.049224853515625, -0.0008215904235839844, 0.0333251953125, -0.03424072265625, -0.030029296875, -0.0128326416015625, 0.0299072265625, 0.00858306884765625, 0.05535888671875, 0.0255889892578125, 0.01352691650390625, -0.0110626220703125, -0.0033893585205078125, 0.068603515625, -0.0250244140625, 0.0511474609375, -0.0105438232421875, 0.0271148681640625, -0.0313720703125, -0.0226898193359375, -0.051788330078125, 0.06494140625, -0.01404571533203125, -0.0199432373046875, 0.06243896484375, -0.01383209228515625, 0.0099334716796875, 0.06512451171875, 0.004055023193359375, 0.06671142578125, 0.004421234130859375, -0.060546875, -0.0302581787109375, -0.00931549072265625, -0.024078369140625, 0.03240966796875, 0.049652099609375, -0.01253509521484375, -0.0010786056518554688, -0.042022705078125, 0.01268768310546875, -0.0117645263671875, -0.0282135009765625, 0.011383056640625, 0.042572021484375, 0.019073486328125, 0.0197296142578125, -0.04144287109375, -0.014312744140625, -0.0105743408203125, 0.017059326171875, -0.00391387939453125, 0.09332275390625, -0.0235137939453125, 0.00783538818359375, -0.0024318695068359375, 0.016632080078125, -0.02252197265625, -0.0355224609375, 0.0322265625, -0.004039764404296875, 0.0236663818359375, -0.01154327392578125, -0.042877197265625, 0.01078033447265625, 0.0171356201171875, -0.04656982421875, 0.034271240234375, -0.035858154296875, 0.004253387451171875, -0.018798828125, 0.01021575927734375, -0.0245361328125, -0.00618743896484375, -0.040618896484375, -0.008331298828125, 0.04736328125, 0.0026798248291015625, -0.055938720703125, 0.0499267578125, 0.032470703125, 0.01363372802734375, 0.01241302490234375, -0.0167388916015625, 0.03338623046875, 0.0291595458984375, -0.008270263671875, -0.029754638671875, 0.01507568359375, -0.01013946533203125, 0.02362060546875, 0.007335662841796875, 0.041656494140625, 0.0243988037109375, 0.01357269287109375, -0.01366424560546875, -0.01558685302734375, -0.0163116455078125, -0.05987548828125, -0.00734710693359375, 0.0258026123046875, -0.0028362274169921875, -0.0271148681640625, -0.044921875, -0.0180206298828125, -0.068359375, 0.016998291015625, 0.03631591796875, -0.042266845703125, -0.007236480712890625, -0.07684326171875, -0.0012273788452148438, 0.0181732177734375, -0.00928497314453125, -0.0147705078125, 0.0167388916015625, -0.0268402099609375, 0.000537872314453125, -0.0190887451171875, 0.010345458984375, -0.0312347412109375, -0.01531219482421875, -0.03192138671875, 0.004756927490234375, -0.06878662109375, -0.003253936767578125, -0.02838134765625, 0.013427734375, 0.059234619140625, -0.00489044189453125, 0.00534820556640625, -0.0280303955078125, -0.0228118896484375, 0.034454345703125, -0.04547119140625, -0.00634002685546875, 0.0000718832015991211, 0.0089111328125, -0.032958984375, -0.052337646484375, 0.0214080810546875, -0.03240966796875, -0.01397705078125, -0.0140533447265625, -0.007389068603515625, -0.01093292236328125, -0.048065185546875, -0.039825439453125, 0.028076171875, -0.0019626617431640625, -0.0283203125, -0.0145416259765625, -0.028411865234375, -0.02276611328125, 0.0252227783203125, 0.006252288818359375, -0.036285400390625, -0.0136260986328125, 0.045379638671875, 0.006549835205078125, 0.06414794921875, 0.0005049705505371094, -0.004302978515625, -0.0194244384765625, 0.01114654541015625, -0.0037784576416015625, 0.03692626953125, 0.0089874267578125, -0.0015783309936523438, -0.0029754638671875, 0.0163421630859375, -0.04693603515625, 0.00614166259765625, -0.0187835693359375, -0.010406494140625, 0.0182952880859375, -0.00855255126953125, -0.02337646484375, -0.0239715576171875, 0.01947021484375, 0.01415252685546875, 0.006847381591796875, 0.01100921630859375, -0.0445556640625, -0.016265869140625, 0.01617431640625, -0.006988525390625, 0.0148773193359375, -0.0758056640625, -0.00154876708984375, 0.01548004150390625, -0.024627685546875, -0.005107879638671875, 0.020751953125, -0.0249786376953125, 0.0060882568359375, 0.052581787109375, -0.0098114013671875, -0.035614013671875, 0.0084686279296875, 0.0634765625, -0.04742431640625, -0.0115203857421875, -0.00548553466796875, 0.0057525634765625, 0.0283660888671875, -0.02374267578125, -0.0165252685546875, 0.0012407302856445312, -0.00716400146484375, -0.007099151611328125, 0.0013914108276367188, 0.01195526123046875, 0.0021343231201171875, 0.005870819091796875, 0.004489898681640625, 0.026947021484375, -0.0203857421875, 0.0186920166015625, 0.01220703125, 0.008941650390625, -0.03118896484375, 0.06695556640625, -0.0192718505859375, 0.01422119140625, -0.0140533447265625, 0.0244140625, -0.0377197265625, 0.01436614990234375, 0.005336761474609375, -0.024017333984375, 0.01482391357421875, -0.00212860107421875, -0.006988525390625, -0.00560760498046875, -0.0126495361328125, 0.0092620849609375, -0.024658203125, -0.0020999908447265625 ]
0b712f79b4960d8c70b01a4ff204e3fac7484f7d
Wordpress Stackexchange Q: How to delete all posts from a custom post type? I want to delete all posts from a custom post type "TV-Serie". The number of all posts in this post type are 150,000. Moreover, when I try to delete them all manually while selecting more than 500 posts at once this provides "timeout error". Any idea on how to delete them all?
Q: How to delete all posts from a custom post type? I want to delete all posts from a custom post type "TV-Serie". The number of all posts in this post type are 150,000. Moreover, when I try to delete them all manually while selecting more than 500 posts at once this provides "timeout error". Any idea on how to delete them all?
wordpress
{ "language": "en", "length": 63, "provenance": "stackexchange_00019.jsonl.gz:497120", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/344306" }
[ 0.041015625, 0.0084075927734375, -0.0164337158203125, 0.017425537109375, 0.0213470458984375, -0.03857421875, 0.10272216796875, -0.0143890380859375, 0.0062103271484375, 0.0229644775390625, 0.025848388671875, -0.0142669677734375, 0.005306243896484375, -0.044158935546875, -0.0024623870849609375, -0.005313873291015625, 0.059722900390625, -0.00583648681640625, 0.052001953125, -0.0193023681640625, 0.0233306884765625, 0.004909515380859375, 0.0574951171875, 0.07330322265625, -0.003559112548828125, 0.02001953125, 0.01224517822265625, -0.0193634033203125, -0.03729248046875, -0.052886962890625, 0.0033664703369140625, 0.0662841796875, -0.0277557373046875, 0.047088623046875, 0.0048370361328125, -0.01062774658203125, -0.0048370361328125, 0.03240966796875, 0.031951904296875, -0.00978851318359375, -0.0103912353515625, 0.0196533203125, 0.047393798828125, 0.0183563232421875, -0.0034275054931640625, 0.006008148193359375, -0.034149169921875, -0.061187744140625, 0.033599853515625, -0.016937255859375, -0.0021648406982421875, -0.0223236083984375, 0.031494140625, -0.05401611328125, -0.0390625, -0.03857421875, 0.0248870849609375, 0.00824737548828125, 0.0538330078125, -0.030487060546875, -0.042816162109375, -0.0107421875, 0.0293121337890625, -0.021514892578125, 0.00611114501953125, 0.00653076171875, 0.0372314453125, 0.01806640625, -0.014129638671875, -0.0081939697265625, 0.00888824462890625, -0.006526947021484375, 0.038177490234375, -0.03485107421875, 0.033111572265625, -0.016448974609375, 0.0003986358642578125, 0.006328582763671875, 0.005359649658203125, 0.004734039306640625, 0.0115814208984375, -0.018402099609375, -0.0048675537109375, -0.004512786865234375, -0.046722412109375, -0.029998779296875, -0.0103759765625, 0.00665283203125, -0.011505126953125, -0.05352783203125, -0.0252685546875, -0.09051513671875, -0.0210418701171875, 0.0124969482421875, -0.0031185150146484375, -0.03656005859375, 0.0146484375, 0.01500701904296875, -0.006969451904296875, -0.01221466064453125, -0.0133209228515625, -0.0275421142578125, -0.0009217262268066406, -0.027862548828125, 0.02337646484375, -0.01092529296875, -0.04119873046875, -0.01131439208984375, 0.060455322265625, 0.049774169921875, -0.01212310791015625, 0.03399658203125, 0.018829345703125, 0.0289154052734375, -0.0292510986328125, -0.049224853515625, -0.054962158203125, 0.04425048828125, -0.0253753662109375, 0.025604248046875, -0.01407623291015625, 0.004306793212890625, -0.061065673828125, -0.0209503173828125, 0.0169677734375, -0.0231475830078125, -0.015716552734375, 0.03192138671875, 0.0200042724609375, 0.0208282470703125, -0.0718994140625, 0.019500732421875, 0.03643798828125, -0.01116943359375, -0.00707244873046875, -0.02984619140625, -0.007659912109375, -0.0028705596923828125, 0.0030612945556640625, -0.01214599609375, 0.05401611328125, -0.0426025390625, -0.0212249755859375, 0.041259765625, 0.031463623046875, 0.02630615234375, 0.0301513671875, 0.00154876708984375, -0.010009765625, -0.0233306884765625, -0.01343536376953125, 0.018798828125, 0.05352783203125, 0.0035686492919921875, 0.007717132568359375, -0.0487060546875, 0.057373046875, -0.0540771484375, 0.0005908012390136719, -0.060577392578125, 0.018280029296875, -0.02325439453125, -0.002941131591796875, -0.00421142578125, -0.033843994140625, 0.034698486328125, -0.03021240234375, -0.011199951171875, 0.035858154296875, 0.00545501708984375, -0.0113372802734375, -0.052581787109375, 0.01904296875, 0.0179443359375, -0.002742767333984375, 0.05694580078125, 0.01146697998046875, -0.046417236328125, 0.00879669189453125, 0.049774169921875, -0.01546478271484375, -0.0183258056640625, -0.0229949951171875, 0.00682830810546875, -0.060211181640625, -0.0149078369140625, 0.021270751953125, 0.06585693359375, 0.035186767578125, 0.01739501953125, 0.052154541015625, -0.04217529296875, 0.01015472412109375, -0.027435302734375, 0.0032978057861328125, -0.040130615234375, -0.0270233154296875, -0.0506591796875, -0.010894775390625, 0.049591064453125, 0.003620147705078125, 0.0113525390625, -0.01137542724609375, -0.00792694091796875, -0.03570556640625, 0.003276824951171875, -0.00556182861328125, 0.04150390625, -0.01319122314453125, 0.0270843505859375, 0.034576416015625, 0.022216796875, -0.04052734375, -0.0247802734375, -0.0258331298828125, -0.0017118453979492188, 0.005649566650390625, 0.01419830322265625, -0.016998291015625, 0.0080108642578125, -0.0277252197265625, -0.04425048828125, -0.0216522216796875, 0.044097900390625, 0.051177978515625, 0.017822265625, -0.0187225341796875, -0.0079498291015625, 0.050750732421875, 0.01056671142578125, -0.037872314453125, 0.0182952880859375, 0.0224456787109375, -0.02899169921875, -0.054412841796875, 0.012115478515625, 0.0089263916015625, 0.00035881996154785156, -0.0249786376953125, 0.04595947265625, 0.00807952880859375, 0.005809783935546875, -0.034759521484375, 0.01476287841796875, -0.005298614501953125, -0.0252685546875, 0.005123138427734375, 0.0171966552734375, 0.031951904296875, 0.05487060546875, -0.02471923828125, -0.008758544921875, 0.021087646484375, -0.062744140625, 0.04998779296875, 0.0279541015625, 0.0271759033203125, 0.0218353271484375, -0.0124664306640625, 0.00860595703125, 0.0018024444580078125, -0.0103302001953125, -0.0426025390625, -0.00408172607421875, 0.11279296875, -0.007213592529296875, 0.060302734375, 0.05157470703125, -0.061431884765625, 0.013824462890625, 0.02081298828125, 0.0038013458251953125, -0.0008783340454101562, 0.01555633544921875, 0.00852203369140625, 0.00438690185546875, -0.045318603515625, 0.0107269287109375, 0.03564453125, -0.0030574798583984375, -0.0141754150390625, 0.01384735107421875, -0.04058837890625, -0.01277923583984375, 0.01178741455078125, -0.05316162109375, -0.012603759765625, -0.00412750244140625, -0.019500732421875, -0.006328582763671875, 0.0037479400634765625, 0.032928466796875, -0.0064697265625, 0.007801055908203125, 0.025543212890625, 0.0056610107421875, 0.08087158203125, -0.10015869140625, 0.074462890625, -0.034088134765625, 0.07440185546875, 0.080810546875, -0.01268768310546875, 0.0295257568359375, 0.0168914794921875, 0.01023101806640625, 0.03497314453125, 0.0090179443359375, -0.0178070068359375, -0.023529052734375, -0.052001953125, -0.033477783203125, 0.041290283203125, 0.07769775390625, 0.0265960693359375, -0.0297698974609375, 0.031890869140625, 0.08905029296875, -0.02618408203125, -0.04095458984375, 0.06500244140625, 0.0047760009765625, -0.014068603515625, -0.0692138671875, 0.0038051605224609375, -0.0095672607421875, -0.07452392578125, -0.0269012451171875, -0.021820068359375, 0.0160064697265625, 0.0159912109375, 0.00511932373046875, -0.00894927978515625, -0.032196044921875, 0.005016326904296875, 0.00223541259765625, 0.0110015869140625, 0.11328125, 0.014862060546875, -0.045135498046875, 0.002838134765625, 0.0033817291259765625, -0.048095703125, 0.014739990234375, 0.00714111328125, 0.0215911865234375, 0.003269195556640625, 0.0276947021484375, -0.01654052734375, 0.0207061767578125, -0.031463623046875, -0.039825439453125, 0.0028839111328125, -0.01244354248046875, 0.0228271484375, -0.0302734375, -0.012237548828125, -0.002044677734375, 0.00024771690368652344, -0.053955078125, 0.0105743408203125, -0.0018835067749023438, -0.0012645721435546875, 0.0144805908203125, -0.0140380859375, -0.00968170166015625, -0.00032973289489746094, 0.03094482421875, 0.0146484375, 0.035888671875, 0.00807952880859375, -0.0167694091796875, 0.0335693359375, 0.0036373138427734375, 0.0279541015625, -0.02484130859375, -0.005550384521484375, -0.0416259765625, 0.04742431640625, -0.0025653839111328125, -0.0207977294921875, -0.00981903076171875, -0.0239410400390625, -0.034942626953125, -0.08062744140625, 0.0557861328125, -0.01245880126953125, 0.00991058349609375, -0.010986328125, -0.04022216796875, 0.0229339599609375, 0.1207275390625, -0.039093017578125, -0.01116180419921875, -0.02691650390625, -0.00615692138671875, 0.041778564453125, -0.0460205078125, -0.007801055908203125, -0.046661376953125, -0.07464599609375, 0.0277557373046875, 0.007183074951171875, -0.019866943359375, -0.024627685546875, 0.0119476318359375, -0.061187744140625, -0.021636962890625, 0.040924072265625, -0.073486328125, 0.053985595703125, -0.050994873046875, 0.032623291015625, -0.05859375, -0.01432037353515625, -0.059600830078125, -0.0131988525390625, -0.0036296844482421875, 0.00030684471130371094, 0.01409912109375, 0.0261077880859375, -0.025970458984375, 0.01508331298828125, 0.0184173583984375, 0.028656005859375, 0.0419921875, -0.0189666748046875, -0.0216522216796875, -0.01116180419921875, 0.01082611083984375, 0.0009698867797851562, -0.005023956298828125, -0.0215301513671875, -0.027587890625, 0.00885772705078125, 0.01311492919921875, -0.0213470458984375, 0.01702880859375, -0.033111572265625, 0.004451751708984375, -0.0321044921875, -0.02734375, -0.0560302734375, 0.0084991455078125, -0.020416259765625, -0.0148162841796875, -0.05126953125, -0.059722900390625, 0.05194091796875, 0.020538330078125, -0.0121612548828125, -0.004154205322265625, 0.08880615234375, 0.0022525787353515625, -0.028411865234375, -0.055419921875, 0.00447845458984375, 0.008880615234375, -0.0104827880859375, 0.06939697265625, 0.0240020751953125, 0.0247039794921875, 0.0162200927734375, -0.0232086181640625, -0.0197601318359375, 0.003162384033203125, 0.0196075439453125, 0.0084075927734375, -0.00887298583984375, -0.01416778564453125, -0.027862548828125, 0.061737060546875, 0.0251922607421875, 0.005748748779296875, -0.00717926025390625, 0.041015625, 0.0287322998046875, -0.041290283203125, 0.01268768310546875, -0.01140594482421875, -0.01080322265625, 0.01483917236328125, -0.02899169921875, 0.023101806640625, 0.021514892578125, -0.0030727386474609375, 0.00513458251953125, -0.039764404296875, 0.0230712890625, -0.0289764404296875, 0.0219573974609375, -0.021209716796875, 0.02447509765625, 0.0184783935546875, 0.01221466064453125, -0.048675537109375, -0.003231048583984375, 0.0041656494140625, -0.03289794921875, -0.07012939453125, -0.024261474609375, -0.00861358642578125, 0.0309906005859375, 0.0285797119140625, -0.0009474754333496094, 0.005207061767578125, 0.060028076171875, -0.004302978515625, 0.0067901611328125, -0.004199981689453125, 0.044403076171875, -0.033447265625, -0.005367279052734375, 0.01390838623046875, -0.03173828125, -0.0002827644348144531, 0.0130767822265625, -0.0018863677978515625, -0.00794219970703125, -0.0031223297119140625, 0.0595703125, 0.023468017578125, 0.046600341796875, 0.0137481689453125, 0.00022590160369873047, -0.009185791015625, -0.00548553466796875, -0.05419921875, -0.039794921875, -0.041839599609375, 0.036651611328125, 0.03173828125, 0.0219573974609375, 0.0277862548828125, -0.01465606689453125, 0.003002166748046875, -0.034332275390625, 0.02508544921875, 0.033416748046875, -0.02899169921875, -0.01495361328125, 0.0179595947265625, 0.006885528564453125, 0.01387786865234375, 0.0265350341796875, -0.0246734619140625, -0.0019083023071289062, -0.004138946533203125, -0.015228271484375, 0.008392333984375, -0.041748046875, -0.0335693359375, -0.024993896484375, -0.04132080078125, -0.0013494491577148438, -0.035736083984375, -0.01280975341796875, -0.0024871826171875, -0.0226287841796875, 0.022857666015625, -0.0139617919921875, 0.03399658203125, 0.004383087158203125, -0.029754638671875, 0.02691650390625, 0.0221405029296875, 0.029327392578125, -0.003528594970703125, -0.003940582275390625, 0.0020961761474609375, -0.0010633468627929688, -0.02264404296875, -0.0361328125, -0.056884765625, -0.0306396484375, -0.01404571533203125, 0.004119873046875, -0.0009813308715820312, 0.0087127685546875, 0.009765625, -0.004360198974609375, 0.029266357421875, 0.00273895263671875, -0.0013027191162109375, -0.031158447265625, 0.0204315185546875, 0.01340484619140625, 0.01065826416015625, -0.0018415451049804688, 0.0294952392578125, 0.04779052734375, -0.02880859375, 0.01226806640625, -0.0389404296875, -0.035797119140625, -0.00675201416015625, -0.0123291015625, 0.010040283203125, 0.0287628173828125, -0.0147857666015625, -0.0047760009765625, -0.048309326171875, -0.019744873046875, -0.016845703125, 0.0640869140625, 0.0016536712646484375, 0.040435791015625, -0.0462646484375, 0.00394439697265625, 0.048065185546875, 0.0228271484375, 0.00930023193359375, -0.01384735107421875, -0.01084136962890625, 0.0118560791015625, -0.00189208984375, 0.0213470458984375, -0.015472412109375, -0.006378173828125, -0.0379638671875, -0.01207733154296875, 0.01324462890625, -0.0169677734375, -0.0045623779296875, -0.0089263916015625, 0.0036029815673828125, -0.0218505859375, 0.01422882080078125, -0.0183563232421875, -0.01393890380859375, -0.0022945404052734375, -0.0227813720703125, -0.01873779296875, 0.007537841796875, 0.045257568359375, -0.037506103515625, 0.005649566650390625, 0.01885986328125, 0.018646240234375, 0.0277252197265625, -0.000015616416931152344, 0.0256195068359375, 0.01387786865234375, 0.0018472671508789062, 0.008544921875, -0.026763916015625, -0.0157928466796875, -0.017333984375, 0.021087646484375, 0.003925323486328125, 0.04681396484375, -0.00640106201171875, -0.033203125, -0.0298004150390625, 0.00995635986328125, 0.003437042236328125, -0.0311279296875, 0.01505279541015625, 0.00348663330078125, -0.005710601806640625, -0.0438232421875, 0.04193115234375, -0.037994384765625, 0.0172119140625, 0.03692626953125, -0.01258087158203125, -0.032318115234375, 0.044891357421875, -0.047515869140625, 0.0748291015625, -0.01361083984375, -0.02313232421875, -0.08819580078125, -0.047210693359375, 0.0030536651611328125, 0.03497314453125, -0.0335693359375, 0.051239013671875, -0.0233917236328125, -0.0321044921875, -0.01030731201171875, -0.00627899169921875, 0.082275390625, -0.02691650390625, -0.00811767578125, 0.041168212890625, 0.015869140625, -0.0311431884765625, -0.0092010498046875, -0.016326904296875, -0.06475830078125, -0.0223388671875, -0.0198516845703125, -0.0338134765625, -0.00506591796875, -0.0259246826171875, -0.054290771484375, 0.07177734375, -0.005023956298828125, 0.011444091796875, -0.00440216064453125, 0.04022216796875, 0.0244903564453125, 0.03839111328125, -0.0211181640625, 0.048004150390625, 0.0130767822265625, 0.010894775390625, -0.0163421630859375, -0.0021495819091796875, 0.00968170166015625, 0.0147705078125, 0.05419921875, -0.0016689300537109375, -0.0198211669921875, -0.00933837890625, 0.058746337890625, 0.040618896484375, 0.0068359375, 0.0164642333984375, -0.0013952255249023438, 0.0158233642578125, 0.032196044921875, -0.045867919921875, 0.02227783203125, 0.01081085205078125, -0.00557708740234375, 0.028594970703125, 0.01532745361328125, 0.01641845703125, 0.0225372314453125, -0.04180908203125, 0.00004404783248901367, 0.0022220611572265625, -0.0004780292510986328, 0.003467559814453125, 0.034088134765625, 0.032012939453125, 0.06597900390625, -0.06524658203125, -0.01424407958984375, -0.02215576171875, 0.06658935546875, -0.0006742477416992188, 0.03387451171875, 0.04949951171875, 0.027008056640625, 0.01477813720703125, -0.044342041015625, 0.024749755859375, -0.030487060546875, -0.0156707763671875, 0.0246429443359375, 0.034088134765625, 0.0118560791015625, -0.0240020751953125, 0.0036296844482421875, 0.0538330078125, 0.040679931640625, -0.045440673828125, -0.057281494140625, 0.00864410400390625, 0.0237579345703125, 0.0216217041015625, 0.017608642578125, 0.03466796875, -0.02093505859375, 0.027099609375, -0.059783935546875, 0.01160430908203125, -0.0036640167236328125, 0.035186767578125, -0.0212554931640625, -0.02984619140625, -0.0299072265625, -0.01123809814453125, -0.0254058837890625, -0.01183319091796875, 0.0212249755859375, 0.041473388671875, 0.034576416015625, 0.040191650390625, 0.005367279052734375, -0.0180816650390625, 0.0157928466796875, 0.00441741943359375, 0.017059326171875, -0.023223876953125, -0.0164794921875, -0.055877685546875, 0.0443115234375, 0.0247955322265625, 0.00348663330078125, -0.01465606689453125, 0.042755126953125, 0.049896240234375, -0.0263214111328125, -0.033905029296875, 0.011993408203125, -0.0167388916015625, -0.0286712646484375, -0.004726409912109375, -0.03057861328125, -0.0080108642578125, -0.0287628173828125, 0.0130462646484375, 0.059844970703125, -0.03521728515625, 0.033233642578125, 0.028717041015625, 0.021392822265625, -0.002056121826171875, 0.024871826171875, 0.0261993408203125, 0.03375244140625, 0.06268310546875, -0.0389404296875, -0.00720977783203125, -0.0252838134765625, -0.0186920166015625, -0.007354736328125, 0.0166778564453125, -0.0152435302734375, 0.0155487060546875, 0.0017080307006835938, -0.049835205078125, 0.016387939453125, 0.036102294921875, 0.0142669677734375, 0.00860595703125, -0.0015783309936523438, -0.01047515869140625, -0.0626220703125, -0.0309295654296875, -0.025634765625, 0.00496673583984375, 0.020538330078125, 0.061614990234375, 0.00806427001953125, 0.01500701904296875, -0.01091766357421875, 0.029998779296875, -0.00676727294921875, 0.002040863037109375, -0.009857177734375, 0.01654052734375, 0.0227508544921875, -0.0218353271484375, -0.0186767578125, 0.02703857421875, 0.05615234375, -0.03271484375, 0.041046142578125, -0.0084075927734375, 0.00893402099609375, -0.06488037109375, 0.0203094482421875, -0.0111236572265625, 0.006816864013671875, 0.00971221923828125, 0.005359649658203125, 0.0273284912109375, 0.024627685546875, 0.00017201900482177734, 0.01494598388671875, 0.0190582275390625, -0.0269622802734375, 0.0114593505859375, -0.032196044921875, 0.041351318359375, 0.036041259765625, 0.00811767578125, -0.031494140625, 0.0195770263671875, -0.0037384033203125, -0.030517578125, 0.037750244140625, -0.0094146728515625, 0.053009033203125, -0.0433349609375, -0.0250396728515625, -0.0360107421875, 0.0187530517578125, 0.00152587890625, -0.00395965576171875, -0.053863525390625, 0.0218658447265625, -0.013458251953125, 0.0224456787109375, -0.0149078369140625, -0.0283050537109375, -0.01180267333984375, 0.0002694129943847656, -0.00981903076171875, -0.04290771484375, -0.035797119140625, -0.0103912353515625, 0.01116943359375, 0.0012035369873046875, -0.049041748046875, 0.04351806640625, -0.0169830322265625, -0.0186614990234375, 0.0070953369140625, -0.0509033203125, 0.004070281982421875, 0.045989990234375, 0.007106781005859375, -0.04156494140625, -0.0274200439453125, 0.044464111328125, -0.0198974609375, 0.024322509765625, 0.026275634765625, -0.0501708984375, 0.0001423358917236328, 0.023834228515625, 0.05908203125, 0.06103515625, 0.044158935546875, -0.01378631591796875, 0.024444580078125, -0.00934600830078125, -0.01279449462890625, -0.080810546875, -0.0037593841552734375, -0.07513427734375, -0.01444244384765625, -0.002513885498046875, 0.0307464599609375, 0.0304107666015625, -0.00984954833984375, -0.044708251953125, 0.057220458984375, -0.01366424560546875, -0.0184326171875, -0.035369873046875, 0.01190185546875, 0.0256805419921875, -0.0270843505859375, -0.01013946533203125, -0.0321044921875, -0.055145263671875, 0.00702667236328125, -0.01262664794921875, 0.060516357421875, 0.0012111663818359375, 0.0022754669189453125, -0.005584716796875, 0.0162506103515625, 0.005214691162109375, -0.002925872802734375, 0.024444580078125, -0.019134521484375, 0.025604248046875, 0.03619384765625, -0.048980712890625, 0.0022220611572265625, -0.026702880859375, 0.01000213623046875, -0.02056884765625, -0.0102691650390625, -0.041412353515625, -0.01776123046875, 0.0560302734375, 0.0704345703125, 0.030548095703125, -0.0352783203125, -0.00858306884765625, -0.03912353515625, -0.008056640625, -0.03021240234375, 0.004108428955078125, -0.052520751953125, -0.02520751953125, -0.00508880615234375, -0.0058746337890625, -0.01001739501953125, -0.0263519287109375, -0.0147247314453125, -0.0130462646484375, -0.0111083984375, -0.0021610260009765625, 0.03436279296875, 0.081298828125, -0.021759033203125, -0.002346038818359375, 0.0009284019470214844, -0.036285400390625, -0.03369140625, -0.00865936279296875, -0.01190185546875, -0.04278564453125, -0.0526123046875, 0.00005155801773071289, 0.047454833984375, -0.0406494140625, 0.059844970703125, -0.041473388671875, -0.0038967132568359375, -0.01041412353515625, 0.0013256072998046875, 0.018310546875, -0.017974853515625, -0.01435089111328125, 0.0199737548828125, -0.002437591552734375, 0.031341552734375, -0.0007700920104980469, 0.040374755859375, -0.004364013671875, 0.046356201171875, 0.01617431640625, -0.0229034423828125, 0.050140380859375, -0.03826904296875, -0.0112762451171875, -0.0130157470703125, -0.042633056640625, -0.0634765625, 0.035369873046875, 0.035736083984375, -0.005191802978515625, 0.02813720703125 ]
4de70b226c92850dabb98b67a35e629d6e4a2521
Wordpress Stackexchange Q: What is the difference between get_permalink vs get_the_permalink? What is the difference between get_permalink vs get_the_permalink? A: Nothing. get_permalink() is the original function, and is used to get the permalink URL for a post. get_the_permalink() was introduced in 3.9 simply so the permalink function was consistent with the other post-related template tags, such as get_the_title(), get_the_content(), which are all prefixed with get_the_. The equivalent functions for echoing the result of those functions are the same but without the get_, such as the_title(), but in the equivalent for get_permalink() is not permalink(), it's the_permalink(), so the lack of get_the_permalink() was an inconsistency. Using the function just calls get_permalink(), which still exists for backwards compatibility reasons, so the result will be exactly the same.
Q: What is the difference between get_permalink vs get_the_permalink? What is the difference between get_permalink vs get_the_permalink? A: Nothing. get_permalink() is the original function, and is used to get the permalink URL for a post. get_the_permalink() was introduced in 3.9 simply so the permalink function was consistent with the other post-related template tags, such as get_the_title(), get_the_content(), which are all prefixed with get_the_. The equivalent functions for echoing the result of those functions are the same but without the get_, such as the_title(), but in the equivalent for get_permalink() is not permalink(), it's the_permalink(), so the lack of get_the_permalink() was an inconsistency. Using the function just calls get_permalink(), which still exists for backwards compatibility reasons, so the result will be exactly the same.
wordpress
{ "language": "en", "length": 123, "provenance": "stackexchange_00019.jsonl.gz:497146", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/344390" }
[ 0.06884765625, -0.0183868408203125, 0.045196533203125, -0.017822265625, -0.010467529296875, -0.01299285888671875, 0.05194091796875, -0.028961181640625, -0.020050048828125, 0.013153076171875, -0.04302978515625, 0.0299530029296875, -0.0380859375, -0.013641357421875, 0.03460693359375, -0.02587890625, 0.06591796875, -0.0684814453125, 0.023193359375, -0.01274871826171875, 0.026214599609375, 0.0164947509765625, 0.035797119140625, 0.1038818359375, 0.050933837890625, -0.07122802734375, 0.03680419921875, -0.01047515869140625, 0.0168304443359375, -0.0216064453125, 0.0115814208984375, 0.0032672882080078125, 0.01334381103515625, 0.0172576904296875, -0.01140594482421875, -0.021026611328125, 0.0004169940948486328, 0.00920867919921875, 0.0109405517578125, 0.002704620361328125, 0.028289794921875, -0.00270843505859375, -0.0205841064453125, 0.03533935546875, -0.031585693359375, 0.0185699462890625, -0.01454925537109375, -0.0406494140625, -0.0204315185546875, -0.018035888671875, 0.016998291015625, -0.0039520263671875, 0.0289459228515625, 0.0133514404296875, -0.017364501953125, -0.01544952392578125, 0.01082611083984375, -0.0167083740234375, 0.031768798828125, -0.02825927734375, -0.037841796875, -0.005741119384765625, 0.0302886962890625, -0.00937652587890625, -0.02374267578125, 0.01470184326171875, 0.004791259765625, 0.0171661376953125, -0.0288238525390625, -0.0293426513671875, -0.00017261505126953125, -0.0222930908203125, -0.00632476806640625, -0.0284881591796875, -0.00814056396484375, -0.0055389404296875, -0.010284423828125, -0.035797119140625, -0.0031223297119140625, 0.01375579833984375, -0.0011348724365234375, -0.0238494873046875, -0.07843017578125, -0.003971099853515625, 0.0247039794921875, 0.0257568359375, 0.006687164306640625, -0.0269622802734375, 0.00009441375732421875, -0.034393310546875, -0.0107879638671875, -0.0240478515625, -0.026458740234375, 0.033355712890625, 0.0034236907958984375, -0.0413818359375, 0.034271240234375, 0.05535888671875, -0.020782470703125, -0.003208160400390625, -0.0093536376953125, -0.026123046875, 0.006793975830078125, -0.03265380859375, -0.017730712890625, -0.0238189697265625, 0.037078857421875, 0.0308685302734375, 0.02490234375, 0.0177459716796875, -0.036041259765625, 0.052825927734375, -0.00798797607421875, -0.03857421875, 0.0108489990234375, 0.0265655517578125, -0.0447998046875, 0.032501220703125, 0.00881195068359375, 0.043548583984375, -0.0018930435180664062, 0.023406982421875, 0.04150390625, 0.0030994415283203125, 0.00638580322265625, 0.03875732421875, -0.005008697509765625, -0.0679931640625, -0.0057220458984375, 0.064697265625, -0.03515625, -0.0287628173828125, 0.04022216796875, 0.03704833984375, 0.0243072509765625, -0.052398681640625, -0.03887939453125, -0.002899169921875, 0.006061553955078125, 0.01551055908203125, -0.01666259765625, -0.03082275390625, 0.0345458984375, -0.00286865234375, -0.033355712890625, 0.0028591156005859375, 0.00601959228515625, 0.0170745849609375, -0.0009927749633789062, -0.01140594482421875, -0.03326416015625, 0.0000820159912109375, 0.0037555694580078125, -0.01081085205078125, 0.005008697509765625, -0.0281829833984375, -0.02423095703125, -0.0182952880859375, 0.02880859375, -0.0101470947265625, 0.051361083984375, -0.01275634765625, -0.0287017822265625, 0.0282135009765625, -0.0304412841796875, 0.01453399658203125, 0.002666473388671875, -0.002838134765625, 0.0046844482421875, 0.036773681640625, 0.0050048828125, 0.01432037353515625, -0.033721923828125, -0.0186309814453125, -0.00621795654296875, -0.034881591796875, -0.01357269287109375, 0.042022705078125, 0.002685546875, 0.015838623046875, -0.014404296875, -0.0562744140625, 0.019622802734375, -0.0219879150390625, -0.0462646484375, 0.04888916015625, 0.024871826171875, 0.0565185546875, -0.02252197265625, 0.01568603515625, 0.021331787109375, 0.052276611328125, -0.04913330078125, 0.0509033203125, 0.007083892822265625, -0.03265380859375, -0.020233154296875, -0.003452301025390625, -0.0171051025390625, -0.028656005859375, -0.0138397216796875, 0.014739990234375, 0.0017385482788085938, 0.0301971435546875, -0.0467529296875, 0.0255889892578125, -0.026031494140625, 0.03729248046875, 0.005901336669921875, 0.0400390625, 0.0022945404052734375, 0.0186004638671875, -0.0310211181640625, -0.029449462890625, -0.00302886962890625, 0.040924072265625, -0.0460205078125, -0.00902557373046875, -0.03289794921875, 0.00612640380859375, -0.0160980224609375, -0.0280303955078125, -0.034423828125, 0.0139007568359375, 0.04547119140625, 0.002574920654296875, -0.00791168212890625, -0.0190277099609375, -0.00156402587890625, 0.021820068359375, -0.065673828125, 0.031280517578125, 0.054107666015625, 0.07415771484375, 0.0008440017700195312, 0.00007516145706176758, 0.00623321533203125, -0.0584716796875, 0.0006079673767089844, 0.04718017578125, 0.0330810546875, 0.02239990234375, -0.032806396484375, -0.047698974609375, 0.05426025390625, -0.0304412841796875, -0.0015001296997070312, -0.030029296875, 0.003925323486328125, 0.04144287109375, 0.042327880859375, 0.02947998046875, -0.00811767578125, 0.01395416259765625, -0.0231475830078125, 0.037872314453125, -0.010528564453125, 0.04852294921875, -0.0205535888671875, 0.0120391845703125, -0.016326904296875, -0.00701141357421875, 0.0200958251953125, -0.03082275390625, -0.052825927734375, 0.01172637939453125, -0.01186370849609375, 0.01511383056640625, -0.004222869873046875, -0.0184783935546875, 0.03424072265625, 0.02789306640625, -0.005397796630859375, 0.059600830078125, 0.01605224609375, 0.006549835205078125, -0.0261688232421875, -0.0213775634765625, -0.0200042724609375, 0.03436279296875, -0.028106689453125, 0.0071563720703125, -0.026702880859375, 0.0028858184814453125, -0.0124359130859375, -0.052520751953125, 0.00848388671875, 0.0165252685546875, 0.026611328125, 0.0014467239379882812, 0.046295166015625, -0.0269012451171875, -0.0257720947265625, 0.014678955078125, 0.01177215576171875, -0.041473388671875, 0.00449371337890625, -0.0269622802734375, 0.02349853515625, -0.0419921875, 0.034423828125, 0.0312042236328125, -0.01959228515625, -0.00133514404296875, 0.0170440673828125, -0.049041748046875, 0.0076904296875, -0.0004897117614746094, -0.0250244140625, 0.0390625, -0.128662109375, 0.00705718994140625, 0.00258636474609375, 0.02276611328125, -0.0154876708984375, -0.038116455078125, -0.0289306640625, 0.0023441314697265625, -0.08709716796875, -0.061065673828125, 0.02044677734375, -0.07763671875, -0.00004494190216064453, -0.01044464111328125, -0.031646728515625, -0.00969696044921875, 0.0076751708984375, -0.00040841102600097656, 0.056304931640625, 0.000339508056640625, -0.058807373046875, 0.006000518798828125, -0.07421875, 0.00440216064453125, -0.0020599365234375, 0.0098876953125, -0.0031604766845703125, 0.00403594970703125, -0.0221099853515625, -0.0212860107421875, -0.01357269287109375, 0.0194244384765625, 0.01163482666015625, -0.03363037109375, -0.0214691162109375, 0.02911376953125, 0.01263427734375, 0.01314544677734375, 0.0024394989013671875, 0.033538818359375, -0.0261383056640625, -0.024322509765625, -0.006622314453125, -0.0246734619140625, 0.057525634765625, 0.0282745361328125, -0.0204620361328125, 0.0215301513671875, 0.07354736328125, -0.031494140625, -0.0465087890625, -0.0216064453125, -0.06707763671875, 0.0931396484375, 0.055938720703125, 0.0033245086669921875, 0.007701873779296875, 0.0274505615234375, 0.005382537841796875, 0.0085296630859375, 0.015960693359375, -0.0293731689453125, 0.05218505859375, 0.00550079345703125, 0.0220947265625, -0.024658203125, 0.0031986236572265625, -0.039337158203125, 0.0297698974609375, -0.002197265625, 0.0014715194702148438, 0.01380157470703125, -0.0269927978515625, 0.0027484893798828125, -0.050048828125, 0.070068359375, -0.06854248046875, -0.040252685546875, -0.053741455078125, -0.024658203125, -0.0091552734375, 0.0794677734375, 0.0477294921875, -0.0170440673828125, -0.01218414306640625, -0.0022640228271484375, -0.0278472900390625, -0.0272216796875, -0.0223541259765625, 0.002643585205078125, -0.0287322998046875, -0.014923095703125, -0.028076171875, -0.008209228515625, -0.0086822509765625, 0.0307464599609375, -0.0121307373046875, -0.017730712890625, 0.03265380859375, 0.022857666015625, -0.03662109375, 0.0292816162109375, -0.025299072265625, 0.0013551712036132812, -0.0279388427734375, 0.02142333984375, -0.005340576171875, -0.01511383056640625, 0.0199737548828125, 0.0018177032470703125, 0.006397247314453125, -0.01160430908203125, 0.0082550048828125, 0.0296173095703125, 0.010528564453125, 0.024932861328125, 0.006443023681640625, -0.006465911865234375, 0.017669677734375, -0.008575439453125, 0.01160430908203125, -0.01050567626953125, 0.0251312255859375, -0.018951416015625, -0.07635498046875, -0.02197265625, -0.032745361328125, 0.047760009765625, -0.004833221435546875, -0.039093017578125, -0.07293701171875, 0.034271240234375, 0.005550384521484375, 0.006183624267578125, 0.0007901191711425781, -0.0020999908447265625, 0.029998779296875, -0.089111328125, 0.039581298828125, 0.01080322265625, -0.0198974609375, -0.020416259765625, 0.0535888671875, 0.024261474609375, -0.030792236328125, 0.03369140625, -0.0003676414489746094, 0.024688720703125, -0.0195465087890625, 0.02880859375, 0.018218994140625, -0.02020263671875, 0.0081024169921875, -0.01136016845703125, 0.004520416259765625, 0.01325225830078125, 0.0092620849609375, 0.00609588623046875, 0.02850341796875, -0.0254974365234375, -0.0125732421875, 0.0208282470703125, 0.0443115234375, -0.007564544677734375, -0.00884246826171875, -0.043701171875, 0.021820068359375, 0.00615692138671875, 0.016326904296875, -0.034820556640625, -0.021636962890625, 0.0165557861328125, 0.003265380859375, 0.033935546875, 0.0030765533447265625, 0.002407073974609375, 0.007099151611328125, 0.0012674331665039062, 0.011749267578125, -0.011138916015625, 0.018096923828125, 0.01215362548828125, 0.040557861328125, -0.0142364501953125, 0.00766754150390625, -0.0283660888671875, -0.002101898193359375, 0.0382080078125, 0.01317596435546875, -0.0049896240234375, -0.011077880859375, -0.0240936279296875, 0.033782958984375, -0.005336761474609375, 0.00612640380859375, 0.0467529296875, 0.0089263916015625, -0.01337432861328125, -0.0012063980102539062, -0.0010986328125, -0.004913330078125, -0.044647216796875, 0.017913818359375, -0.000980377197265625, 0.00962066650390625, -0.0012559890747070312, 0.07342529296875, -0.003444671630859375, 0.053741455078125, -0.0129852294921875, -0.0094451904296875, 0.006504058837890625, 0.0189361572265625, 0.0170135498046875, -0.0174560546875, 0.005054473876953125, -0.01084136962890625, 0.0268707275390625, -0.031951904296875, -0.0244293212890625, 0.0266265869140625, 0.0595703125, -0.0064697265625, 0.00384521484375, 0.0010013580322265625, -0.0022125244140625, -0.03424072265625, 0.054443359375, 0.054595947265625, -0.03167724609375, -0.02630615234375, -0.0017976760864257812, 0.0164337158203125, 0.0166473388671875, -0.01374053955078125, 0.061981201171875, -0.001331329345703125, 0.0232391357421875, 0.020660400390625, -0.0284423828125, 0.00046563148498535156, 0.0126495361328125, 0.004795074462890625, -0.03826904296875, 0.006603240966796875, 0.00794219970703125, 0.031402587890625, -0.032012939453125, -0.03350830078125, 0.044891357421875, 0.038116455078125, 0.07574462890625, -0.061126708984375, -0.05242919921875, -0.025543212890625, -0.0251922607421875, 0.06951904296875, 0.0250701904296875, -0.06292724609375, 0.01409912109375, -0.0269317626953125, 0.017364501953125, -0.056182861328125, -0.05877685546875, -0.0240478515625, -0.0020503997802734375, -0.004146575927734375, 0.00948333740234375, 0.008941650390625, 0.056060791015625, 0.02410888671875, 0.049835205078125, -0.0258941650390625, 0.048065185546875, -0.00555419921875, 0.038787841796875, 0.05242919921875, -0.0019817352294921875, 0.029205322265625, 0.020904541015625, -0.01080322265625, -0.0294952392578125, -0.00495147705078125, -0.04229736328125, -0.0309295654296875, -0.005115509033203125, 0.0095672607421875, 0.0107879638671875, 0.01271820068359375, 0.00508880615234375, -0.0263519287109375, 0.006488800048828125, -0.0003032684326171875, -0.0203857421875, -0.0084228515625, 0.00848388671875, -0.0311126708984375, -0.005245208740234375, 0.006633758544921875, 0.058685302734375, -0.0175933837890625, -0.0321044921875, 0.0224456787109375, -0.0225982666015625, 0.0182647705078125, 0.0355224609375, -0.01125335693359375, 0.024017333984375, 0.0635986328125, 0.0211181640625, 0.03790283203125, 0.01390838623046875, 0.0160369873046875, 0.00792694091796875, 0.0108795166015625, 0.0357666015625, -0.018463134765625, 0.07623291015625, 0.018096923828125, 0.01146697998046875, 0.06976318359375, -0.0239410400390625, 0.0012025833129882812, 0.0232086181640625, 0.059967041015625, -0.025604248046875, -0.0184478759765625, 0.04486083984375, -0.0168609619140625, -0.031341552734375, 0.03955078125, -0.030548095703125, -0.045166015625, 0.04144287109375, -0.068603515625, 0.01300048828125, 0.0202178955078125, -0.0357666015625, -0.025634765625, -0.0225067138671875, 0.035247802734375, 0.0233154296875, 0.015960693359375, 0.0084228515625, -0.0128021240234375, 0.01446533203125, 0.0014028549194335938, -0.00798797607421875, -0.028533935546875, -0.0208892822265625, -0.0010461807250976562, -0.003986358642578125, -0.03558349609375, 0.010498046875, 0.00994873046875, 0.0079193115234375, 0.021514892578125, 0.0271759033203125, -0.01319122314453125, 0.0174560546875, -0.004146575927734375, -0.01349639892578125, 0.00849151611328125, -0.01369476318359375, 0.00994110107421875, 0.027679443359375, -0.01419830322265625, 0.0166473388671875, -0.01393890380859375, -0.023956298828125, 0.0034236907958984375, -0.039306640625, 0.086669921875, -0.0604248046875, -0.005634307861328125, 0.0150299072265625, -0.0147705078125, -0.0059967041015625, -0.0151519775390625, 0.02642822265625, -0.0127105712890625, 0.0242462158203125, -0.00872802734375, 0.004497528076171875, 0.005237579345703125, -0.0250396728515625, -0.0574951171875, 0.09112548828125, 0.025970458984375, 0.0594482421875, 0.040924072265625, 0.00936126708984375, -0.04296875, -0.01459503173828125, -0.0447998046875, 0.061676025390625, 0.0013599395751953125, 0.0186767578125, -0.07208251953125, -0.00843048095703125, -0.021942138671875, 0.0233154296875, 0.06805419921875, 0.005489349365234375, -0.0157012939453125, -0.033294677734375, 0.060333251953125, 0.05731201171875, 0.0025177001953125, -0.0068511962890625, 0.03045654296875, 0.09466552734375, 0.0924072265625, -0.032623291015625, 0.031890869140625, 0.027496337890625, -0.0051422119140625, 0.06390380859375, 0.00966644287109375, 0.00475311279296875, 0.03057861328125, -0.0295867919921875, -0.041778564453125, 0.006855010986328125, 0.04791259765625, -0.054840087890625, -0.0181427001953125, 0.0179290771484375, 0.00783538818359375, -0.024017333984375, -0.006565093994140625, -0.0286712646484375, 0.032745361328125, 0.004276275634765625, 0.026214599609375, 0.023681640625, 0.00682830810546875, 0.089111328125, 0.0015735626220703125, 0.01113128662109375, 0.023712158203125, 0.0216522216796875, 0.07275390625, 0.05035400390625, 0.03399658203125, -0.0189971923828125, -0.02520751953125, 0.053863525390625, 0.08843994140625, -0.0350341796875, -0.020172119140625, 0.017303466796875, -0.00034308433532714844, 0.00043010711669921875, -0.033935546875, -0.01224517822265625, -0.03228759765625, -0.0005731582641601562, -0.0196533203125, -0.005466461181640625, 0.0216064453125, 0.015869140625, 0.0003631114959716797, -0.04498291015625, 0.0052947998046875, 0.0239105224609375, -0.049652099609375, 0.0180511474609375, 0.0209197998046875, 0.04168701171875, 0.01291656494140625, 0.05523681640625, -0.0250396728515625, -0.01311492919921875, 0.00875091552734375, 0.0272064208984375, -0.035858154296875, 0.01507568359375, -0.034576416015625, -0.057525634765625, 0.018463134765625, 0.03839111328125, 0.04840087890625, -0.01313018798828125, 0.01263427734375, -0.01120758056640625, 0.0014562606811523438, 0.0187530517578125, 0.0046234130859375, -0.004001617431640625, 0.05096435546875, -0.025115966796875, 0.0117645263671875, -0.01885986328125, -0.02630615234375, -0.0284576416015625, -0.01125335693359375, 0.029022216796875, -0.048126220703125, 0.03466796875, -0.007518768310546875, -0.017425537109375, 0.037628173828125, -0.013671875, 0.031982421875, -0.033355712890625, -0.005649566650390625, -0.00435638427734375, 0.0265960693359375, -0.035125732421875, -0.006832122802734375, 0.03875732421875, 0.02679443359375, -0.015838623046875, -0.01192474365234375, 0.004352569580078125, 0.00617218017578125, -0.0062103271484375, -0.0018415451049804688, 0.02203369140625, 0.027618408203125, 0.0207366943359375, -0.0562744140625, -0.0306854248046875, -0.018585205078125, 0.0104217529296875, 0.018890380859375, 0.04010009765625, 0.0050201416015625, 0.01629638671875, -0.01313018798828125, 0.0281982421875, -0.0426025390625, -0.035186767578125, 0.049957275390625, -0.0290069580078125, -0.0018396377563476562, -0.0034351348876953125, -0.05670166015625, 0.0152130126953125, 0.0477294921875, -0.0322265625, 0.0175323486328125, 0.006198883056640625, 0.0026683807373046875, -0.049652099609375, 0.0102081298828125, -0.04632568359375, -0.049041748046875, -0.019439697265625, 0.002864837646484375, 0.0024814605712890625, -0.020721435546875, -0.0247955322265625, 0.0015497207641601562, 0.00713348388671875, -0.054718017578125, 0.0214080810546875, -0.0186920166015625, 0.0259246826171875, 0.03863525390625, 0.003475189208984375, -0.0018634796142578125, -0.0013904571533203125, -0.0254974365234375, 0.0222320556640625, -0.0014925003051757812, -0.00698089599609375, 0.01444244384765625, -0.011138916015625, -0.011962890625, -0.0745849609375, -0.0196685791015625, -0.047607421875, -0.027313232421875, -0.01491546630859375, 0.022552490234375, -0.01184844970703125, -0.0511474609375, -0.0222625732421875, -0.06005859375, -0.01157379150390625, 0.006824493408203125, -0.043060302734375, -0.04876708984375, -0.009490966796875, 0.0118408203125, -0.0128631591796875, -0.00859832763671875, -0.0202789306640625, 0.035064697265625, -0.011505126953125, 0.01410675048828125, -0.050323486328125, -0.0323486328125, 0.002384185791015625, 0.04327392578125, -0.023956298828125, -0.02239990234375, -0.04608154296875, -0.00754547119140625, -0.05865478515625, 0.037078857421875, 0.0399169921875, -0.034637451171875, -0.036529541015625, 0.052734375, 0.00885772705078125, 0.09649658203125, -0.0203399658203125, -0.0157318115234375, 0.0005917549133300781, 0.01285552978515625, -0.02471923828125, -0.04241943359375, 0.027008056640625, -0.032012939453125, -0.0007638931274414062, -0.0011644363403320312, -0.0115814208984375, 0.014068603515625, -0.0263519287109375, -0.0237884521484375, 0.0222015380859375, 0.01279449462890625, -0.0232696533203125, -0.028533935546875, -0.03240966796875, -0.0020999908447265625, 0.05255126953125, 0.0017871856689453125, 0.0021762847900390625, -0.07049560546875, 0.0088348388671875, 0.03387451171875, 0.0281982421875, 0.035003662109375, 0.01160430908203125, 0.01175689697265625, 0.037078857421875, 0.034332275390625, 0.023895263671875, 0.00667572021484375, -0.0197906494140625, 0.028564453125, 0.04180908203125, -0.0379638671875, -0.01535797119140625, -0.0166168212890625, 0.00531005859375, -0.034881591796875, -0.0489501953125, 0.025390625, 0.01300048828125, 0.066650390625, 0.006938934326171875, 0.0029277801513671875, -0.05133056640625, -0.01331329345703125, 0.0180511474609375, -0.056640625, -0.02874755859375, 0.0596923828125, -0.0970458984375, -0.029815673828125, -0.002696990966796875, -0.01525115966796875, -0.01290130615234375, -0.0296478271484375, -0.04345703125, -0.0036602020263671875, -0.0491943359375, -0.0157470703125, -0.030029296875, -0.0012664794921875, 0.074462890625, -0.050262451171875, -0.00620269775390625, 0.013946533203125, 0.0091094970703125, 0.0170440673828125, -0.0218963623046875, 0.028289794921875, 0.0477294921875, -0.0226898193359375, -0.014923095703125, 0.04791259765625, 0.011932373046875, 0.02813720703125, -0.0251007080078125, -0.00005155801773071289, 0.01543426513671875, 0.0106048583984375, 0.003070831298828125, -0.0174102783203125, 0.06536865234375, 0.01312255859375, 0.03668212890625, 0.0181884765625, 0.08709716796875, 0.013519287109375, 0.04266357421875, -0.0550537109375, 0.00673675537109375, -0.047515869140625, -0.02288818359375, -0.007366180419921875, 0.0172576904296875, -0.01116943359375, -0.042083740234375, 0.0158233642578125, -0.04052734375, 0.00945281982421875, 0.017303466796875 ]
b30cfa5bf9d5fffd85d74a958fc172fb13a1a662
Wordpress Stackexchange Q: How to filter or remove default panels in Gutenberg PrePublish Panel I would like to edit the text or remove and re-create the Publish panel of Gutenberg's PrePublish Panel in the editor sidebar. I know I can use wp.data.dispatch( 'core/edit-post' ).removeEditorPanel( 'example-panel' ); but it doesn't seem to work for any panels in editor-post-publish-panel. Any ideas? The background is that I used the slotfill API to insert a timezone select field so authors can use their local times when selecting their publish date time. That all works great, except when they click Schedule and get the publish time in GMT without any context.
Q: How to filter or remove default panels in Gutenberg PrePublish Panel I would like to edit the text or remove and re-create the Publish panel of Gutenberg's PrePublish Panel in the editor sidebar. I know I can use wp.data.dispatch( 'core/edit-post' ).removeEditorPanel( 'example-panel' ); but it doesn't seem to work for any panels in editor-post-publish-panel. Any ideas? The background is that I used the slotfill API to insert a timezone select field so authors can use their local times when selecting their publish date time. That all works great, except when they click Schedule and get the publish time in GMT without any context.
wordpress
{ "language": "en", "length": 104, "provenance": "stackexchange_00019.jsonl.gz:497370", "question_score": "15", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/345304" }
[ -0.053680419921875, 0.0059356689453125, -0.04644775390625, 0.05743408203125, -0.006999969482421875, -0.0287933349609375, 0.025787353515625, -0.0254058837890625, 0.04327392578125, 0.043060302734375, 0.0299835205078125, -0.044281005859375, 0.01264190673828125, -0.043731689453125, -0.06500244140625, 0.007320404052734375, -0.0091705322265625, 0.012237548828125, -0.01143646240234375, -0.016510009765625, -0.0335693359375, -0.0189666748046875, 0.0082244873046875, 0.00665283203125, -0.00008732080459594727, 0.01169586181640625, -0.0098114013671875, 0.00412750244140625, -0.0012187957763671875, -0.005451202392578125, 0.01340484619140625, -0.0007529258728027344, 0.0090789794921875, -0.0026340484619140625, -0.00921630859375, 0.0053863525390625, -0.0136260986328125, 0.0113677978515625, 0.0015668869018554688, 0.0027313232421875, 0.035400390625, -0.015228271484375, -0.05352783203125, 0.02081298828125, -0.0576171875, -0.018829345703125, 0.01715087890625, 0.0011730194091796875, 0.0136260986328125, 0.06634521484375, -0.0064849853515625, 0.0165557861328125, 0.00865936279296875, -0.021484375, 0.007259368896484375, -0.0340576171875, -0.0491943359375, 0.037994384765625, 0.0304412841796875, 0.03790283203125, -0.003932952880859375, -0.01090240478515625, -0.0036029815673828125, -0.042999267578125, 0.0017328262329101562, -0.00937652587890625, 0.017852783203125, 0.0272674560546875, -0.01800537109375, 0.019317626953125, 0.0316162109375, -0.009185791015625, -0.006198883056640625, -0.07708740234375, 0.01067352294921875, 0.06915283203125, -0.06610107421875, -0.02728271484375, 0.037994384765625, -0.0224761962890625, 0.0121307373046875, -0.003467559814453125, 0.01236724853515625, -0.02935791015625, 0.00701904296875, -0.0289154052734375, -0.0169219970703125, 0.01041412353515625, -0.0462646484375, -0.009521484375, -0.0181732177734375, -0.07672119140625, -0.056060791015625, 0.036285400390625, 0.0121307373046875, -0.00882720947265625, 0.027130126953125, 0.0187835693359375, 0.00051116943359375, -0.00714111328125, -0.007366180419921875, -0.031707763671875, -0.0017099380493164062, -0.0178375244140625, 0.01369476318359375, 0.057281494140625, -0.04376220703125, 0.037933349609375, 0.06732177734375, 0.04107666015625, 0.0299224853515625, -0.03033447265625, -0.00658416748046875, -0.02569580078125, -0.034881591796875, 0.00934600830078125, -0.0205078125, -0.00164794921875, -0.0023651123046875, -0.021820068359375, -0.02374267578125, -0.0013170242309570312, -0.05352783203125, -0.06494140625, 0.0255126953125, -0.0482177734375, -0.042144775390625, 0.082275390625, 0.003124237060546875, -0.020172119140625, -0.03753662109375, 0.01427459716796875, 0.07489013671875, 0.07318115234375, 0.059112548828125, -0.01132965087890625, 0.06402587890625, -0.002552032470703125, 0.02789306640625, -0.01324462890625, -0.02349853515625, 0.002315521240234375, 0.007293701171875, -0.040008544921875, -0.043670654296875, -0.004108428955078125, 0.0252685546875, 0.0198974609375, -0.0391845703125, -0.042999267578125, -0.0247344970703125, -0.01511383056640625, 0.047882080078125, 0.007793426513671875, 0.0161285400390625, -0.034912109375, 0.109375, -0.06964111328125, -0.0218658447265625, -0.06610107421875, 0.0164947509765625, -0.0177154541015625, -0.001071929931640625, -0.015869140625, -0.051483154296875, 0.027801513671875, -0.0308990478515625, -0.01287841796875, 0.02099609375, -0.011871337890625, -0.005092620849609375, -0.01457977294921875, -0.0259246826171875, -0.0149688720703125, 0.002704620361328125, 0.031951904296875, -0.00740814208984375, -0.01226043701171875, 0.0012664794921875, 0.0309295654296875, -0.0171051025390625, -0.0263214111328125, -0.004608154296875, -0.0035381317138671875, -0.0516357421875, -0.04949951171875, 0.0338134765625, 0.062103271484375, 0.032440185546875, 0.02880859375, 0.05377197265625, -0.055206298828125, -0.0421142578125, -0.0248870849609375, -0.002414703369140625, 0.0035915374755859375, -0.00647735595703125, 0.00919342041015625, -0.0042724609375, -0.004611968994140625, 0.02435302734375, -0.0009908676147460938, 0.006343841552734375, -0.00008279085159301758, -0.0631103515625, -0.0022411346435546875, -0.0240478515625, 0.032562255859375, -0.012237548828125, -0.03033447265625, 0.016143798828125, -0.01352691650390625, -0.0160980224609375, -0.00507354736328125, -0.04510498046875, 0.0038433074951171875, -0.02655029296875, 0.0714111328125, 0.0010890960693359375, 0.03302001953125, 0.021575927734375, -0.059539794921875, 0.035430908203125, 0.0006074905395507812, 0.050567626953125, -0.0106353759765625, -0.0037937164306640625, -0.032867431640625, 0.078857421875, -0.01236724853515625, 0.00621795654296875, 0.01277923583984375, 0.057342529296875, 0.0263214111328125, -0.0218658447265625, 0.04095458984375, 0.059783935546875, 0.00426483154296875, -0.0283355712890625, -0.0012187957763671875, 0.041534423828125, 0.03643798828125, 0.00579071044921875, -0.0179443359375, 0.047393798828125, -0.028472900390625, 0.0161590576171875, -0.03192138671875, 0.0010166168212890625, 0.039520263671875, -0.007656097412109375, -0.01593017578125, 0.01104736328125, -0.039520263671875, 0.0174713134765625, 0.0233612060546875, -0.001445770263671875, 0.005126953125, -0.036224365234375, -0.0214080810546875, 0.0215911865234375, 0.0006122589111328125, -0.0364990234375, 0.007503509521484375, 0.045654296875, -0.04730224609375, 0.0291290283203125, 0.0218658447265625, -0.004608154296875, -0.031280517578125, 0.016387939453125, -0.0023784637451171875, -0.0114898681640625, 0.024810791015625, 0.042236328125, 0.014129638671875, -0.0382080078125, -0.01410675048828125, 0.0098419189453125, 0.0304718017578125, -0.01071929931640625, 0.049346923828125, 0.01090240478515625, -0.023040771484375, -0.0225982666015625, -0.01389312744140625, 0.008697509765625, -0.037384033203125, 0.0264739990234375, -0.02154541015625, 0.0046234130859375, -0.007221221923828125, -0.033935546875, 0.0400390625, 0.0169677734375, -0.044677734375, 0.01168060302734375, -0.035400390625, 0.02105712890625, -0.03277587890625, 0.060943603515625, 0.052825927734375, -0.0268402099609375, 0.0133209228515625, 0.005443572998046875, 0.002330780029296875, -0.0005030632019042969, -0.0006008148193359375, -0.00954437255859375, 0.0452880859375, -0.07568359375, 0.02197265625, 0.01531982421875, -0.00299072265625, -0.0005135536193847656, -0.01537322998046875, -0.0139923095703125, -0.00746917724609375, -0.0535888671875, -0.032806396484375, -0.0111236572265625, -0.0162353515625, -0.04827880859375, -0.0102386474609375, -0.0296173095703125, 0.03875732421875, -0.015594482421875, -0.0111083984375, -0.00583648681640625, 0.02801513671875, -0.00846099853515625, -0.0022869110107421875, -0.0452880859375, -0.046630859375, -0.01324462890625, 0.0108184814453125, 0.01482391357421875, 0.041290283203125, 0.00792694091796875, -0.036376953125, 0.01276397705078125, 0.004608154296875, -0.009613037109375, 0.01494598388671875, 0.041961669921875, -0.0258331298828125, -0.005859375, 0.0252838134765625, 0.0504150390625, 0.024322509765625, -0.051605224609375, -0.0165557861328125, 0.001979827880859375, 0.018798828125, -0.0018177032470703125, 0.033905029296875, 0.0032215118408203125, -0.057159423828125, -0.0202789306640625, -0.07177734375, 0.0250244140625, 0.005992889404296875, 0.001491546630859375, 0.001995086669921875, -0.02825927734375, 0.0025691986083984375, 0.007106781005859375, 0.03326416015625, 0.01055145263671875, 0.04486083984375, 0.0748291015625, -0.00927734375, -0.0186309814453125, -0.035369873046875, -0.0548095703125, -0.072509765625, 0.00644683837890625, -0.03900146484375, 0.007343292236328125, -0.013824462890625, 0.0304718017578125, 0.03240966796875, -0.01031494140625, 0.003200531005859375, -0.01282501220703125, 0.041473388671875, -0.027923583984375, -0.016021728515625, 0.001140594482421875, -0.009674072265625, 0.0081024169921875, 0.042572021484375, -0.070068359375, -0.0267181396484375, 0.01253509521484375, 0.0150299072265625, 0.01421356201171875, -0.0033206939697265625, -0.0269012451171875, -0.02142333984375, -0.050140380859375, 0.032196044921875, 0.02960205078125, -0.01522064208984375, -0.0279083251953125, 0.038116455078125, -0.05712890625, -0.02081298828125, 0.06964111328125, -0.0293121337890625, 0.034149169921875, 0.0253753662109375, -0.0069122314453125, 0.00013136863708496094, -0.06005859375, -0.00701904296875, -0.037109375, -0.00395965576171875, -0.025421142578125, 0.017669677734375, -0.00995635986328125, 0.042633056640625, -0.02838134765625, 0.01441192626953125, 0.0249786376953125, 0.051361083984375, 0.00502777099609375, -0.01517486572265625, 0.021636962890625, -0.0016698837280273438, 0.047515869140625, -0.0300140380859375, 0.032623291015625, 0.0328369140625, -0.04608154296875, 0.046356201171875, -0.0301971435546875, -0.0161590576171875, 0.0142059326171875, -0.060821533203125, -0.048614501953125, -0.0714111328125, -0.04058837890625, -0.0140228271484375, -0.029754638671875, 0.0020198822021484375, -0.050048828125, -0.02752685546875, 0.0740966796875, 0.01346588134765625, 0.0164794921875, 0.0066680908203125, 0.06085205078125, -0.0033969879150390625, -0.03802490234375, -0.03814697265625, -0.006809234619140625, 0.0218505859375, 0.05108642578125, 0.0215301513671875, -0.0166168212890625, -0.0166778564453125, 0.06866455078125, -0.0014019012451171875, -0.0097808837890625, -0.014739990234375, 0.038055419921875, -0.004627227783203125, -0.0170440673828125, 0.0024566650390625, -0.027862548828125, 0.046356201171875, 0.0251312255859375, -0.0241851806640625, 0.03857421875, 0.0194244384765625, -0.01221466064453125, -0.0404052734375, -0.01415252685546875, -0.01091766357421875, 0.0214996337890625, 0.0005540847778320312, 0.0645751953125, 0.0234375, 0.009490966796875, 0.01220703125, -0.016693115234375, 0.016021728515625, 0.00653076171875, -0.007762908935546875, -0.01316070556640625, -0.04547119140625, 0.0162811279296875, 0.0030536651611328125, -0.0185699462890625, 0.00966644287109375, 0.01555633544921875, 0.00853729248046875, -0.0164794921875, -0.00933837890625, -0.04547119140625, 0.0124359130859375, 0.017333984375, 0.012908935546875, -0.002117156982421875, -0.01531982421875, 0.05377197265625, -0.03350830078125, -0.005405426025390625, 0.0660400390625, -0.004428863525390625, -0.0180511474609375, -0.0287933349609375, 0.021942138671875, -0.02972412109375, 0.01450347900390625, 0.014862060546875, -0.02630615234375, 0.0056304931640625, -0.007740020751953125, 0.046539306640625, -0.0092010498046875, 0.0286865234375, -0.0011911392211914062, 0.0115814208984375, 0.01358795166015625, -0.00820159912109375, -0.01458740234375, -0.0160980224609375, -0.04534912109375, 0.0209503173828125, -0.0163421630859375, 0.01090240478515625, 0.035125732421875, -0.002712249755859375, 0.045257568359375, -0.0116424560546875, 0.030364990234375, 0.006359100341796875, -0.037384033203125, -0.0222015380859375, -0.024627685546875, 0.013824462890625, 0.0009403228759765625, -0.00008130073547363281, 0.005847930908203125, -0.03387451171875, 0.0032958984375, -0.00946807861328125, -0.00046896934509277344, -0.0413818359375, -0.050628662109375, 0.01535797119140625, -0.00006103515625, -0.0172119140625, -0.1102294921875, -0.04229736328125, -0.01506805419921875, 0.0252838134765625, 0.07965087890625, -0.036285400390625, -0.0219879150390625, -0.0318603515625, 0.048858642578125, -0.06640625, 0.01047515869140625, 0.05316162109375, 0.042694091796875, -0.0071563720703125, -0.045989990234375, -0.08453369140625, -0.00843048095703125, -0.103759765625, -0.0665283203125, 0.01007843017578125, 0.03790283203125, 0.00909423828125, 0.01104736328125, -0.01560211181640625, -0.014892578125, 0.00896453857421875, 0.02947998046875, 0.0226898193359375, 0.054595947265625, -0.00760650634765625, 0.0751953125, -0.03009033203125, 0.069091796875, 0.00562286376953125, 0.0280609130859375, -0.0168609619140625, -0.0256805419921875, -0.0204010009765625, -0.048980712890625, 0.012969970703125, -0.002788543701171875, 0.020294189453125, 0.013519287109375, -0.001735687255859375, 0.0180206298828125, 0.029571533203125, -0.00792694091796875, -0.001888275146484375, -0.032257080078125, 0.0264892578125, -0.040740966796875, 0.0124664306640625, -0.02362060546875, -0.011322021484375, 0.053924560546875, -0.0208587646484375, 0.0269622802734375, -0.033355712890625, -0.053985595703125, -0.044403076171875, 0.077880859375, -0.005523681640625, 0.0127105712890625, 0.037994384765625, -0.0179901123046875, 0.019927978515625, 0.0192718505859375, 0.0057220458984375, 0.0216827392578125, -0.032958984375, -0.08111572265625, 0.018890380859375, 0.0084991455078125, -0.0002982616424560547, -0.005706787109375, 0.043212890625, 0.02008056640625, 0.00319671630859375, 0.041229248046875, 0.03033447265625, -0.0799560546875, -0.0055084228515625, -0.00930023193359375, -0.0115814208984375, 0.0308837890625, 0.0142974853515625, 0.0007090568542480469, -0.002292633056640625, 0.0204010009765625, -0.0121002197265625, -0.00901031494140625, 0.0306854248046875, 0.01454925537109375, -0.0273895263671875, -0.027435302734375, 0.01462554931640625, 0.02252197265625, 0.007305145263671875, 0.0164794921875, 0.0020389556884765625, 0.01134490966796875, -0.0372314453125, -0.0002446174621582031, 0.0255126953125, -0.040435791015625, -0.08050537109375, -0.0174407958984375, 0.004138946533203125, -0.0254058837890625, 0.0214080810546875, 0.0234222412109375, 0.035552978515625, 0.04437255859375, -0.0071258544921875, -0.0024623870849609375, 0.021270751953125, -0.012908935546875, -0.03741455078125, -0.0020313262939453125, 0.033050537109375, 0.0161285400390625, -0.0261993408203125, 0.031402587890625, -0.0307464599609375, -0.02471923828125, 0.00807952880859375, 0.02447509765625, 0.06280517578125, -0.05706787109375, -0.02484130859375, 0.02886962890625, -0.0161590576171875, -0.01136016845703125, -0.0016946792602539062, -0.0197906494140625, -0.07366943359375, -0.0545654296875, -0.0140838623046875, -0.0684814453125, 0.03619384765625, 0.004161834716796875, -0.07403564453125, 0.09893798828125, 0.02783203125, 0.01617431640625, -0.01067352294921875, 0.051239013671875, -0.0416259765625, 0.007236480712890625, -0.01361083984375, 0.0193634033203125, 0.0128173828125, -0.00113677978515625, -0.0206298828125, -0.006015777587890625, -0.00975799560546875, 0.0234375, 0.05633544921875, 0.01100921630859375, -0.0278472900390625, -0.0293121337890625, 0.006008148193359375, 0.031158447265625, -0.0163726806640625, 0.0284271240234375, -0.003803253173828125, 0.0086212158203125, -0.004833221435546875, -0.0406494140625, 0.00885009765625, -0.048431396484375, -0.0189666748046875, 0.0224456787109375, 0.032867431640625, 0.057586669921875, 0.01202392578125, 0.0288238525390625, 0.00732421875, -0.00650787353515625, 0.025665283203125, -0.06842041015625, -0.0394287109375, 0.057647705078125, 0.052490234375, -0.0330810546875, -0.05548095703125, -0.02764892578125, 0.050811767578125, 0.057525634765625, 0.030242919921875, 0.0211334228515625, 0.0273895263671875, -0.036529541015625, 0.021270751953125, 0.03271484375, 0.034515380859375, -0.039794921875, 0.027740478515625, -0.0287322998046875, 0.0185089111328125, -0.033843994140625, 0.038055419921875, 0.0215301513671875, 0.005657196044921875, -0.0214080810546875, -0.050689697265625, 0.005481719970703125, 0.00476837158203125, 0.02166748046875, -0.01097869873046875, -0.0104217529296875, -0.040863037109375, 0.0187835693359375, -0.029571533203125, -0.02313232421875, -0.041595458984375, 0.042877197265625, -0.0350341796875, -0.010406494140625, 0.03759765625, -0.028228759765625, -0.04638671875, -0.0174713134765625, 0.0024242401123046875, 0.042724609375, 0.042877197265625, 0.050750732421875, 0.020355224609375, -0.0223236083984375, -0.026214599609375, 0.004138946533203125, -0.0002453327178955078, 0.03656005859375, -0.042999267578125, -0.0122528076171875, 0.024566650390625, 0.0382080078125, 0.037933349609375, 0.0258331298828125, 0.03729248046875, 0.020416259765625, -0.00400543212890625, -0.0017118453979492188, 0.020599365234375, -0.01529693603515625, -0.04168701171875, -0.028656005859375, -0.0093231201171875, -0.02215576171875, -0.0081329345703125, 0.0012416839599609375, 0.050323486328125, -0.037261962890625, -0.0103759765625, -0.0156402587890625, 0.006671905517578125, -0.049591064453125, 0.038543701171875, -0.0090484619140625, 0.04449462890625, -0.0001366138458251953, -0.0208282470703125, 0.01288604736328125, -0.0268096923828125, -0.0187225341796875, 0.00936126708984375, 0.0311737060546875, -0.016876220703125, 0.0184326171875, 0.027496337890625, 0.01043701171875, 0.0300445556640625, -0.044769287109375, 0.02789306640625, 0.006542205810546875, 0.004512786865234375, 0.0189056396484375, -0.049774169921875, -0.0112457275390625, 0.0014810562133789062, 0.0030574798583984375, -0.00344085693359375, 0.0992431640625, -0.0104522705078125, -0.00804901123046875, 0.00839996337890625, 0.025482177734375, -0.00428009033203125, 0.01395416259765625, 0.0008859634399414062, 0.0243072509765625, 0.0294189453125, -0.02069091796875, -0.0362548828125, 0.0012197494506835938, 0.040252685546875, 0.0009150505065917969, -0.0024433135986328125, -0.0271148681640625, 0.03436279296875, 0.01171875, -0.00005412101745605469, -0.0139312744140625, -0.0195465087890625, 0.0213775634765625, 0.035369873046875, 0.0032672882080078125, 0.0236358642578125, 0.0163726806640625, 0.0361328125, 0.043182373046875, -0.0008897781372070312, 0.0200653076171875, -0.02734375, 0.055511474609375, 0.0241851806640625, -0.0036220550537109375, 0.0021514892578125, 0.017608642578125, 0.004001617431640625, -0.0195465087890625, 0.0531005859375, -0.01354217529296875, 0.048065185546875, 0.01190185546875, -0.050079345703125, 0.00476837158203125, 0.0013532638549804688, -0.034454345703125, 0.006511688232421875, 0.00806427001953125, -0.023040771484375, -0.0294036865234375, 0.0682373046875, -0.002254486083984375, 0.013916015625, -0.031280517578125, -0.01371002197265625, -0.0023326873779296875, -0.059722900390625, -0.07757568359375, 0.026763916015625, 0.00042510032653808594, -0.0011587142944335938, -0.06304931640625, 0.045440673828125, 0.01922607421875, 0.03936767578125, -0.01006317138671875, 0.035064697265625, -0.0213470458984375, 0.009368896484375, -0.033843994140625, -0.0278472900390625, -0.0286407470703125, 0.0215301513671875, -0.034820556640625, -0.014190673828125, 0.00792694091796875, 0.01276397705078125, -0.01555633544921875, -0.047882080078125, -0.020355224609375, 0.00600433349609375, -0.0455322265625, -0.0030517578125, 0.006786346435546875, 0.0179901123046875, -0.01027679443359375, -0.0775146484375, -0.006435394287109375, -0.022216796875, -0.0038242340087890625, 0.01337432861328125, -0.0191802978515625, 0.00395965576171875, -0.0330810546875, -0.040069580078125, 0.01611328125, 0.019012451171875, -0.045440673828125, -0.01557159423828125, 0.0433349609375, -0.004421234130859375, 0.0025348663330078125, -0.01015472412109375, 0.0059356689453125, 0.0010347366333007812, -0.011749267578125, -0.01351165771484375, -0.01110076904296875, 0.05059814453125, -0.03924560546875, -0.03326416015625, -0.045318603515625, -0.030364990234375, 0.01348876953125, -0.0021419525146484375, -0.01332855224609375, 0.0360107421875, 0.0152130126953125, -0.036956787109375, 0.043212890625, 0.01035308837890625, 0.015655517578125, -0.0202484130859375, -0.0252532958984375, -0.00818634033203125, 0.0091400146484375, 0.038116455078125, 0.0654296875, 0.00423431396484375, -0.0404052734375, 0.056396484375, -0.0009508132934570312, -0.0252685546875, 0.0096893310546875, -0.000331878662109375, -0.004154205322265625, -0.0231170654296875, 0.004764556884765625, -0.034576416015625, -0.01157379150390625, -0.01276397705078125, -0.059295654296875, 0.00037097930908203125, -0.0562744140625, -0.0180816650390625, -0.0399169921875, -0.0204620361328125, -0.0031681060791015625, -0.0052947998046875, 0.0164642333984375, 0.00157928466796875, 0.0005712509155273438, 0.0011510848999023438, 0.03790283203125, -0.0045623779296875, 0.00045871734619140625, -0.0411376953125, 0.001476287841796875, -0.004810333251953125, 0.035125732421875, -0.019195556640625, -0.004085540771484375, -0.0036411285400390625, -0.049407958984375, -0.0240325927734375, -0.058807373046875, 0.0516357421875, -0.037933349609375, -0.040679931640625, 0.0299835205078125, -0.0254669189453125, 0.0231475830078125, -0.018310546875, 0.01611328125, 0.0237274169921875, -0.00649261474609375, 0.0555419921875, -0.0223236083984375, 0.01910400390625, -0.00479888916015625, -0.0287628173828125, -0.01399993896484375, -0.00901031494140625, -0.044525146484375, -0.01450347900390625, 0.0051422119140625 ]
ecda6b2f68be55d6429da4b2d277b67a83f2440d
Wordpress Stackexchange Q: Remove "Private" + ":" in title does not work I would like to remove the "private" prefix for each post title. I found the filter here. I managed to removed the word "Private" but when I concatenate with " : ". That does not work anymore. I checked $title value before the str_replace and it´s already translated with " : ". Class FrontEnd{ protected function front_end_init() { add_filter( 'the_title', array( $this, 'remove_private_prefix' ) ); } public static function remove_private_prefix( $title ) { $title = str_replace( __( 'Private' ) . " : ", '', $title); return $title; } } How can I fix this ? A: The simplest answer is as follows: add_filter( 'private_title_format', function ( $format ) { return '%s'; } ); It uses the private_title_format to change the format of the title to just the post title, without any unnecessary classes or functions.
Q: Remove "Private" + ":" in title does not work I would like to remove the "private" prefix for each post title. I found the filter here. I managed to removed the word "Private" but when I concatenate with " : ". That does not work anymore. I checked $title value before the str_replace and it´s already translated with " : ". Class FrontEnd{ protected function front_end_init() { add_filter( 'the_title', array( $this, 'remove_private_prefix' ) ); } public static function remove_private_prefix( $title ) { $title = str_replace( __( 'Private' ) . " : ", '', $title); return $title; } } How can I fix this ? A: The simplest answer is as follows: add_filter( 'private_title_format', function ( $format ) { return '%s'; } ); It uses the private_title_format to change the format of the title to just the post title, without any unnecessary classes or functions. A: I found a solution based on this post Class FrontEnd{ protected function front_end_init() { add_filter( 'the_title', array( $this, 'remove_title_prefix' ) ); } public static function remove_title_prefix( $title ) { $title = esc_attr($title); $findthese = array( '#[' . __("Protected") . ' : ]#', '#[' . __("Private") . ' : ]#' ); $replacewith = array( '', // What to replace "Protected:" with '' // What to replace "Private:" with ); $title = preg_replace($findthese, $replacewith, $title); return $title; } } A: As @Sally CJ said, A better way is to used the function private_title_format. So... If you can set the WP_Post, you can use this code line : apply_filters( 'private_title_format', "", $post ); If you do not know the $post for some reason like for my example, you can overwrite the filter like this: Class FrontEnd{ protected function front_end_init() { add_filter( 'private_title_format', array( $this, 'remove_prefix_private_post_title' ), 10, 2 ); } public function remove_prefix_private_post_title( $format, $post ){ return '%s'; } } A: Try removing the space before the colon, so " : " becomes ": ". Or use a superior method like shea's.
wordpress
{ "language": "en", "length": 325, "provenance": "stackexchange_00019.jsonl.gz:497406", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/345422" }
[ 0.01364898681640625, -0.0269012451171875, 0.006458282470703125, 0.0209808349609375, -0.01873779296875, -0.0377197265625, 0.0205841064453125, -0.025634765625, -0.042388916015625, 0.029876708984375, 0.0587158203125, 0.00732421875, -0.059661865234375, -0.0498046875, 0.005344390869140625, -0.025543212890625, -0.0099945068359375, 0.0243682861328125, 0.0081024169921875, -0.032501220703125, 0.010467529296875, -0.0282745361328125, 0.0007023811340332031, -0.0174560546875, 0.0146331787109375, -0.0267791748046875, 0.0938720703125, -0.02734375, 0.021240234375, -0.0254669189453125, 0.01885986328125, -0.00920867919921875, 0.014678955078125, 0.0299224853515625, -0.01450347900390625, 0.039764404296875, -0.03875732421875, 0.02142333984375, 0.006130218505859375, 0.005001068115234375, 0.0185394287109375, -0.0015935897827148438, -0.021881103515625, 0.032501220703125, -0.0594482421875, -0.0305633544921875, 0.040802001953125, 0.035797119140625, 0.031280517578125, -0.037933349609375, 0.025970458984375, 0.013275146484375, 0.0321044921875, 0.004405975341796875, -0.018646240234375, 0.0292510986328125, -0.019561767578125, 0.03778076171875, 0.01824951171875, 0.01273345947265625, -0.0271453857421875, 0.0191650390625, 0.0008296966552734375, -0.0310211181640625, -0.006641387939453125, -0.01021575927734375, 0.0031528472900390625, 0.005016326904296875, -0.0158538818359375, -0.0117034912109375, 0.035369873046875, -0.026397705078125, -0.0099029541015625, -0.03228759765625, -0.04833984375, 0.01058197021484375, -0.033294677734375, -0.08349609375, 0.034149169921875, -0.02606201171875, 0.03033447265625, 0.0023212432861328125, -0.034942626953125, 0.0164337158203125, 0.00836944580078125, 0.040008544921875, -0.0043182373046875, -0.03558349609375, -0.0210723876953125, 0.005252838134765625, -0.021392822265625, -0.0220184326171875, -0.0241851806640625, 0.0301361083984375, -0.01105499267578125, 0.0045166015625, 0.047515869140625, 0.06561279296875, -0.0158233642578125, -0.012451171875, 0.020233154296875, -0.032928466796875, 0.011077880859375, -0.037200927734375, 0.0085296630859375, -0.016204833984375, -0.0465087890625, -0.00836944580078125, 0.03717041015625, 0.050506591796875, -0.01088714599609375, -0.0115966796875, -0.0016603469848632812, -0.00537109375, -0.04345703125, 0.0343017578125, -0.0003218650817871094, -0.01309967041015625, -0.00921630859375, 0.02752685546875, 0.00833892822265625, 0.005451202392578125, -0.00716400146484375, -0.028900146484375, 0.0271148681640625, -0.0003876686096191406, -0.03955078125, 0.01442718505859375, 0.01959228515625, -0.00234222412109375, -0.01018524169921875, 0.0243072509765625, 0.060943603515625, 0.003116607666015625, -0.01049041748046875, -0.01183319091796875, -0.0181427001953125, -0.0169219970703125, 0.014495849609375, -0.01074981689453125, 0.0090484619140625, -0.010345458984375, 0.03179931640625, 0.0010309219360351562, -0.0006122589111328125, -0.00769805908203125, 0.010009765625, 0.031646728515625, 0.0156402587890625, -0.037139892578125, 0.017303466796875, 0.00012445449829101562, 0.014617919921875, 0.041534423828125, -0.03057861328125, 0.019805908203125, 0.0153656005859375, -0.0206146240234375, -0.018341064453125, -0.044097900390625, 0.049591064453125, -0.007518768310546875, -0.02691650390625, 0.0482177734375, 0.001018524169921875, 0.02801513671875, 0.0007901191711425781, -0.0067901611328125, 0.01025390625, -0.003787994384765625, 0.0243377685546875, -0.02154541015625, -0.03289794921875, -0.007518768310546875, 0.002063751220703125, 0.007106781005859375, 0.00015687942504882812, -0.007404327392578125, 0.0110015869140625, 0.039276123046875, -0.0097198486328125, -0.038299560546875, 0.00525665283203125, -0.009735107421875, -0.038238525390625, -0.04034423828125, 0.029815673828125, 0.01306915283203125, 0.0012636184692382812, 0.0236358642578125, 0.07861328125, 0.01354217529296875, -0.0286407470703125, 0.01140594482421875, 0.0347900390625, -0.0189361572265625, -0.0163421630859375, -0.0223541259765625, 0.005573272705078125, -0.012847900390625, 0.044097900390625, 0.023162841796875, -0.0254974365234375, -0.0163116455078125, -0.05035400390625, -0.012603759765625, -0.00931549072265625, 0.0216064453125, -0.07421875, -0.034759521484375, 0.03924560546875, -0.06195068359375, -0.0038051605224609375, 0.0027790069580078125, -0.013214111328125, -0.0200958251953125, -0.006061553955078125, -0.0009832382202148438, -0.01160430908203125, 0.004001617431640625, -0.0146331787109375, -0.0177459716796875, -0.0213470458984375, 0.0105133056640625, 0.08734130859375, -0.0037631988525390625, -0.006557464599609375, -0.0205535888671875, 0.0606689453125, -0.003025054931640625, -0.044281005859375, 0.032867431640625, 0.045501708984375, 0.01371002197265625, -0.0296783447265625, -0.002979278564453125, -0.0204620361328125, -0.11041259765625, -0.00007963180541992188, 0.08038330078125, 0.0343017578125, 0.0099029541015625, 0.0012531280517578125, -0.005401611328125, 0.037445068359375, -0.01108551025390625, 0.02410888671875, -0.031829833984375, 0.0029087066650390625, 0.02996826171875, -0.0487060546875, 0.007175445556640625, 0.033599853515625, -0.0460205078125, 0.00920867919921875, 0.04681396484375, -0.0294036865234375, -0.0259857177734375, 0.0196380615234375, -0.022125244140625, 0.0145111083984375, -0.0452880859375, -0.0210723876953125, -0.00872802734375, 0.003082275390625, 0.0124359130859375, 0.0186614990234375, 0.0130157470703125, -0.01953125, 0.025054931640625, 0.0142669677734375, -0.044158935546875, -0.01447296142578125, 0.0179443359375, 0.033294677734375, 0.0248870849609375, -0.045196533203125, 0.00818634033203125, -0.006183624267578125, 0.00939178466796875, 0.002071380615234375, 0.044189453125, 0.0182952880859375, -0.0208587646484375, -0.006610870361328125, -0.00568389892578125, 0.019256591796875, -0.0120849609375, -0.013397216796875, -0.052032470703125, -0.04498291015625, 0.03131103515625, -0.0186767578125, 0.052764892578125, 0.0186004638671875, -0.028656005859375, 0.027130126953125, -0.052947998046875, 0.05255126953125, -0.059539794921875, 0.09185791015625, 0.0577392578125, -0.040008544921875, 0.034515380859375, 0.018798828125, 0.0223388671875, 0.040771484375, -0.022003173828125, 0.0014781951904296875, 0.052978515625, -0.09039306640625, 0.01488494873046875, -0.0034542083740234375, 0.05279541015625, -0.03607177734375, -0.069580078125, 0.01416015625, 0.0015554428100585938, -0.033905029296875, -0.004192352294921875, 0.002445220947265625, -0.0198822021484375, -0.07012939453125, 0.006015777587890625, -0.03228759765625, 0.048858642578125, -0.00787353515625, -0.00576019287109375, 0.0487060546875, -0.02935791015625, -0.0474853515625, 0.0246429443359375, -0.033355712890625, 0.0187530517578125, -0.006378173828125, -0.00791168212890625, 0.01209259033203125, 0.059234619140625, 0.0254669189453125, -0.00771331787109375, 0.0182342529296875, 0.0228729248046875, -0.0038776397705078125, -0.006900787353515625, 0.0140533447265625, -0.017791748046875, -0.017791748046875, 0.01035308837890625, -0.0078277587890625, -0.0006361007690429688, -0.0087738037109375, -0.0255584716796875, 0.01229095458984375, 0.0187530517578125, 0.03472900390625, 0.01141357421875, -0.0189208984375, 0.0494384765625, 0.02703857421875, -0.0198516845703125, -0.053680419921875, 0.0055389404296875, -0.036041259765625, 0.0189971923828125, 0.0251922607421875, -0.0194854736328125, -0.0172882080078125, 0.047698974609375, 0.0142669677734375, 0.02569580078125, -0.0207061767578125, 0.00020813941955566406, 0.0171661376953125, 0.0162200927734375, 0.0192413330078125, 0.015045166015625, 0.027862548828125, -0.0190277099609375, 0.016204833984375, 0.0200958251953125, 0.001125335693359375, 0.01425933837890625, -0.02099609375, -0.00945281982421875, -0.05596923828125, 0.0435791015625, -0.03125, 0.0247650146484375, -0.032379150390625, -0.0140228271484375, -0.01458740234375, 0.07122802734375, -0.0936279296875, -0.033447265625, 0.0133056640625, 0.046661376953125, -0.0028839111328125, -0.060455322265625, -0.005214691162109375, -0.0587158203125, -0.0516357421875, 0.00788116455078125, -0.0108642578125, -0.031158447265625, -0.028289794921875, -0.0280303955078125, -0.0433349609375, -0.0166168212890625, 0.01355743408203125, -0.01146697998046875, 0.0211029052734375, 0.00115203857421875, -0.0227508544921875, 0.01403045654296875, -0.00467681884765625, -0.042449951171875, -0.0312347412109375, -0.00948333740234375, -0.0038738250732421875, 0.024505615234375, -0.01678466796875, 0.03387451171875, -0.01776123046875, 0.0295562744140625, 0.01690673828125, 0.007076263427734375, -0.033782958984375, -0.050994873046875, 0.004489898681640625, 0.07391357421875, -0.0280914306640625, 0.0305328369140625, 0.01171875, 0.007381439208984375, -0.07281494140625, 0.0016183853149414062, -0.0167999267578125, 0.017303466796875, 0.049835205078125, -0.06793212890625, -0.07415771484375, -0.0159149169921875, 0.02410888671875, -0.0045318603515625, -0.00994873046875, 0.00495147705078125, -0.0030536651611328125, -0.048797607421875, 0.042449951171875, 0.0670166015625, -0.0178070068359375, -0.0241851806640625, 0.0167236328125, 0.0175628662109375, -0.061309814453125, 0.031341552734375, 0.022125244140625, 0.0191802978515625, -0.04156494140625, 0.035675048828125, -0.00753021240234375, -0.01502227783203125, 0.07330322265625, -0.045745849609375, -0.0099334716796875, -0.0161590576171875, 0.01222991943359375, -0.0031833648681640625, -0.054931640625, 0.03778076171875, -0.0102081298828125, 0.04241943359375, -0.0206146240234375, -0.007228851318359375, 0.0017404556274414062, -0.0046539306640625, 0.0079498291015625, -0.0014429092407226562, 0.011322021484375, 0.0119781494140625, -0.0312347412109375, 0.0191802978515625, -0.0175628662109375, -0.031158447265625, 0.00699615478515625, 0.0052337646484375, -0.043548583984375, -0.0369873046875, 0.004425048828125, -0.072998046875, -0.0206298828125, -0.052734375, 0.0259246826171875, -0.05230712890625, -0.024566650390625, -0.0253753662109375, -0.011444091796875, 0.016021728515625, 0.029144287109375, -0.018402099609375, -0.0235595703125, 0.003513336181640625, 0.06170654296875, -0.0203094482421875, 0.05096435546875, 0.0202789306640625, -0.00521087646484375, 0.0305633544921875, 0.027069091796875, -0.0088043212890625, 0.0440673828125, -0.008880615234375, 0.05889892578125, 0.031646728515625, -0.0052947998046875, 0.0308380126953125, 0.03436279296875, 0.02996826171875, 0.024566650390625, -0.025421142578125, 0.0278167724609375, -0.00799560546875, 0.0244598388671875, -0.0133514404296875, 0.0118560791015625, 0.0312042236328125, -0.0003590583801269531, 0.03369140625, -0.034088134765625, -0.016143798828125, 0.0206298828125, 0.026458740234375, 0.01290130615234375, -0.0011053085327148438, 0.0165252685546875, 0.0009984970092773438, -0.034393310546875, 0.0249786376953125, 0.01080322265625, -0.031646728515625, -0.0279388427734375, 0.009246826171875, 0.0177764892578125, 0.023284912109375, -0.00811004638671875, -0.034942626953125, -0.03704833984375, -0.023193359375, 0.0156707763671875, -0.030303955078125, -0.005916595458984375, -0.00199127197265625, 0.004566192626953125, -0.031005859375, -0.006633758544921875, 0.0058135986328125, -0.01503753662109375, 0.00576019287109375, 0.0028743743896484375, 0.01494598388671875, -0.01751708984375, 0.058135986328125, -0.014068603515625, -0.0306243896484375, 0.010986328125, 0.0031986236572265625, 0.031646728515625, 0.042083740234375, -0.006542205810546875, -0.0172271728515625, -0.051300048828125, -0.01337432861328125, -0.0167388916015625, -0.026824951171875, -0.01031494140625, 0.001781463623046875, 0.00891876220703125, -0.0012149810791015625, -0.007160186767578125, -0.0086212158203125, -0.005237579345703125, 0.05279541015625, 0.032501220703125, 0.0513916015625, -0.004016876220703125, 0.05706787109375, -0.018310546875, 0.04931640625, -0.004413604736328125, 0.0311126708984375, -0.0009813308715820312, -0.030426025390625, 0.0372314453125, -0.05364990234375, -0.0455322265625, -0.01117706298828125, -0.031219482421875, 0.00307464599609375, -0.001708984375, -0.01922607421875, -0.0021228790283203125, -0.0019512176513671875, -0.0023899078369140625, -0.02313232421875, 0.053863525390625, -0.00777435302734375, -0.011260986328125, -0.0037860870361328125, 0.0024623870849609375, 0.07257080078125, -0.036865234375, -0.01485443115234375, 0.0126495361328125, -0.038482666015625, 0.0205230712890625, 0.047698974609375, -0.023773193359375, -0.00494384765625, 0.0162200927734375, 0.041748046875, 0.0499267578125, -0.005367279052734375, 0.061676025390625, 0.05145263671875, -0.052337646484375, -0.0081634521484375, 0.018585205078125, 0.032073974609375, -0.0032558441162109375, 0.023956298828125, 0.0543212890625, -0.019134521484375, 0.0237579345703125, 0.05096435546875, 0.039459228515625, -0.086181640625, 0.0116729736328125, -0.004669189453125, -0.002429962158203125, 0.07171630859375, 0.0164031982421875, 0.0283355712890625, -0.00856781005859375, -0.004451751708984375, 0.0399169921875, -0.007015228271484375, -0.0005140304565429688, -0.002895355224609375, -0.00015485286712646484, -0.04144287109375, 0.0498046875, 0.01129913330078125, -0.045928955078125, 0.00890350341796875, 0.042205810546875, 0.001918792724609375, -0.0245361328125, -0.01003265380859375, 0.044342041015625, -0.043212890625, -0.10528564453125, -0.0037403106689453125, -0.01549530029296875, -0.0293731689453125, 0.0301513671875, 0.015228271484375, -0.02484130859375, 0.040313720703125, -0.026641845703125, 0.0162200927734375, 0.006877899169921875, -0.06585693359375, 0.0256805419921875, -0.0279541015625, 0.01434326171875, 0.0003261566162109375, -0.055572509765625, 0.0102081298828125, -0.03704833984375, -0.00885772705078125, -0.0088653564453125, -0.044219970703125, 0.039947509765625, -0.034088134765625, -0.01456451416015625, -0.00807952880859375, 0.0080108642578125, 0.04022216796875, 0.01482391357421875, 0.00019824504852294922, -0.0283050537109375, -0.0004639625549316406, 0.001895904541015625, -0.037811279296875, -0.00481414794921875, -0.0114898681640625, -0.0740966796875, 0.11090087890625, 0.01297760009765625, 0.04681396484375, -0.004024505615234375, 0.023895263671875, -0.030181884765625, 0.01335906982421875, -0.0206756591796875, 0.038177490234375, -0.031585693359375, 0.01012420654296875, 0.001316070556640625, 0.0101318359375, 0.0106658935546875, 0.0135498046875, 0.0198822021484375, 0.0022373199462890625, -0.003429412841796875, 0.003429412841796875, 0.043304443359375, 0.03564453125, -0.00943756103515625, 0.01116943359375, 0.0162811279296875, 0.034088134765625, -0.030517578125, -0.044830322265625, 0.015167236328125, -0.072509765625, -0.031646728515625, 0.0341796875, 0.037933349609375, 0.045501708984375, 0.022430419921875, 0.004886627197265625, -0.048126220703125, 0.0070037841796875, 0.04754638671875, -0.046142578125, -0.01079559326171875, 0.045623779296875, 0.0301971435546875, -0.039520263671875, -0.07135009765625, -0.0223541259765625, 0.044647216796875, 0.0321044921875, 0.035980224609375, 0.0260772705078125, 0.006992340087890625, 0.01224517822265625, 0.0032196044921875, 0.0171966552734375, 0.01560211181640625, -0.006175994873046875, 0.025238037109375, 0.0224151611328125, 0.007488250732421875, -0.037353515625, 0.022979736328125, 0.05377197265625, 0.05084228515625, -0.047088623046875, -0.0277557373046875, 0.0207977294921875, -0.0004074573516845703, -0.033782958984375, -0.042724609375, -0.062286376953125, -0.03680419921875, 0.0230865478515625, -0.00287628173828125, 0.03076171875, 0.0499267578125, 0.02044677734375, 0.0088958740234375, -0.006923675537109375, -0.06585693359375, 0.028289794921875, -0.028289794921875, -0.043426513671875, 0.01540374755859375, 0.0723876953125, 0.059844970703125, 0.01141357421875, -0.0126800537109375, -0.0450439453125, 0.009246826171875, -0.0092926025390625, -0.0093231201171875, -0.005352020263671875, -0.014495849609375, -0.01531219482421875, -0.002685546875, 0.017608642578125, 0.0147705078125, 0.0306243896484375, 0.051239013671875, 0.00016689300537109375, -0.049163818359375, -0.0104522705078125, -0.06243896484375, -0.04925537109375, 0.01338958740234375, 0.017059326171875, 0.0061187744140625, 0.01690673828125, -0.0294189453125, -0.014801025390625, 0.05633544921875, -0.003925323486328125, -0.013580322265625, -0.033111572265625, 0.01171112060546875, -0.03814697265625, 0.0308990478515625, -0.0033206939697265625, -0.00963592529296875, -0.01113128662109375, -0.031951904296875, -0.0157318115234375, 0.03125, -0.03460693359375, -0.01605224609375, 0.032379150390625, -0.0101776123046875, 0.0159912109375, 0.034912109375, 0.0178375244140625, 0.0184173583984375, -0.03546142578125, 0.005840301513671875, -0.0011644363403320312, 0.0234832763671875, 0.021484375, -0.0361328125, -0.0182952880859375, -0.032989501953125, 0.047332763671875, 0.049530029296875, 0.02069091796875, 0.005992889404296875, 0.051116943359375, -0.048126220703125, 0.0266876220703125, -0.06689453125, -0.03515625, 0.01175689697265625, 0.0063934326171875, 0.001972198486328125, 0.01074981689453125, -0.0206146240234375, 0.01079559326171875, 0.0261688232421875, -0.03948974609375, 0.0235595703125, -0.0034465789794921875, 0.00762939453125, -0.03466796875, -0.003940582275390625, -0.004016876220703125, 0.02386474609375, 0.02294921875, -0.0237274169921875, 0.054473876953125, 0.044403076171875, 0.01111602783203125, -0.022003173828125, 0.018829345703125, -0.042510986328125, 0.03631591796875, -0.009490966796875, 0.069580078125, 0.03253173828125, -0.029327392578125, -0.0277252197265625, 0.021697998046875, -0.00440216064453125, -0.0143585205078125, 0.04339599609375, 0.00885772705078125, 0.0196380615234375, -0.0172271728515625, -0.06085205078125, -0.031402587890625, 0.0193328857421875, -0.00392913818359375, 0.0086822509765625, -0.057769775390625, -0.01396942138671875, -0.0219573974609375, 0.0265655517578125, -0.04595947265625, -0.049285888671875, 0.0015096664428710938, 0.019195556640625, -0.02069091796875, -0.0491943359375, -0.0784912109375, -0.0159759521484375, -0.037322998046875, -0.0158233642578125, -0.0247344970703125, -0.0086822509765625, 0.0241546630859375, 0.0056915283203125, -0.04071044921875, -0.0131378173828125, 0.001129150390625, 0.005828857421875, -0.051116943359375, -0.007671356201171875, -0.05963134765625, -0.0013027191162109375, -0.041778564453125, 0.0194549560546875, 0.0653076171875, -0.01140594482421875, -0.0083770751953125, 0.0038166046142578125, 0.0157012939453125, 0.043548583984375, -0.04498291015625, -0.0279998779296875, -0.027923583984375, 0.034210205078125, -0.0074005126953125, -0.098388671875, 0.020782470703125, -0.0975341796875, -0.01763916015625, 0.029693603515625, -0.041290283203125, -0.0215606689453125, -0.034637451171875, -0.02667236328125, 0.053985595703125, 0.0299835205078125, -0.018707275390625, -0.043609619140625, 0.0018892288208007812, -0.02117919921875, 0.07354736328125, 0.0007886886596679688, -0.00461578369140625, -0.011932373046875, 0.033050537109375, 0.0154876708984375, 0.0533447265625, 0.0024433135986328125, 0.048065185546875, 0.022796630859375, 0.04791259765625, 0.01483917236328125, -0.01213836669921875, -0.019073486328125, -0.00730133056640625, 0.01959228515625, 0.0364990234375, -0.004611968994140625, 0.03546142578125, 0.02117919921875, -0.0117034912109375, -0.0029239654541015625, -0.0173187255859375, -0.018951416015625, 0.0022296905517578125, 0.05364990234375, 0.0246734619140625, 0.0260467529296875, -0.03759765625, 0.00738525390625, 0.007022857666015625, -0.022735595703125, -0.020843505859375, 0.00919342041015625, -0.0423583984375, -0.025543212890625, -0.012115478515625, 0.002567291259765625, -0.01041412353515625, -0.07684326171875, -0.02764892578125, -0.0278778076171875, -0.020111083984375, 0.049468994140625, 0.030487060546875, -0.007343292236328125, 0.01898193359375, -0.04400634765625, -0.053497314453125, 0.01111602783203125, 0.0086517333984375, -0.0297088623046875, -0.01125335693359375, 0.005401611328125, -0.0193023681640625, 0.01438140869140625, 0.0180816650390625, 0.0286102294921875, 0.03729248046875, -0.002811431884765625, -0.040283203125, -0.04150390625, 0.01015472412109375, 0.0089874267578125, -0.0156402587890625, -0.01306915283203125, 0.06243896484375, 0.03802490234375, 0.059906005859375, -0.0255279541015625, 0.02435302734375, -0.038421630859375, 0.03363037109375, 0.00881195068359375, -0.0016841888427734375, 0.059417724609375, 0.01727294921875, -0.00838470458984375, -0.033416748046875, 0.0243377685546875, -0.058990478515625, 0.052642822265625, -0.040374755859375, 0.005451202392578125, 0.04278564453125 ]
03c7add8537f18168dbc83606a4f5ecb6491d9b7
Wordpress Stackexchange Q: WP-CLI update date and time format I'm new to WP-CLI. After a lot of Googling and searching in this forum, I haven't found out which is the command to update both date and time formats. wp option update...... Thanks for any help! Regards A: The wp-cli command structure would be: wp option update timezone_string "American/New_York" So: * *option to act on a WordPress option *update to update the option *the option name, in this case 'timezone_string' *the new value, in this case 'American/New_York' Items 3 and 4 are defined by WordPress, a plugin, or other custom code. Number 4, the value may have only a limited number of valid values. In this case, something other than a standard timezone would cause problems. Generally speaking, I update the timezone, time format and start of week to Sunday. wp option update timezone_string "America/New_York" wp option update time_format "g:i A" wp option update start_of_week 0 So research your basic WordPress options to determine the option name and the valid values, then structure your command line appropriately.
Q: WP-CLI update date and time format I'm new to WP-CLI. After a lot of Googling and searching in this forum, I haven't found out which is the command to update both date and time formats. wp option update...... Thanks for any help! Regards A: The wp-cli command structure would be: wp option update timezone_string "American/New_York" So: * *option to act on a WordPress option *update to update the option *the option name, in this case 'timezone_string' *the new value, in this case 'American/New_York' Items 3 and 4 are defined by WordPress, a plugin, or other custom code. Number 4, the value may have only a limited number of valid values. In this case, something other than a standard timezone would cause problems. Generally speaking, I update the timezone, time format and start of week to Sunday. wp option update timezone_string "America/New_York" wp option update time_format "g:i A" wp option update start_of_week 0 So research your basic WordPress options to determine the option name and the valid values, then structure your command line appropriately.
wordpress
{ "language": "en", "length": 174, "provenance": "stackexchange_00019.jsonl.gz:497666", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/346367" }
[ -0.0015821456909179688, -0.046600341796875, -0.01253509521484375, -0.042724609375, -0.032501220703125, -0.017364501953125, -0.00910186767578125, 0.031463623046875, -0.016082763671875, 0.032318115234375, 0.009033203125, -0.019256591796875, 0.0132293701171875, -0.0276641845703125, -0.01470184326171875, -0.0291290283203125, 0.0555419921875, -0.06890869140625, -0.0284881591796875, -0.0205078125, 0.00978851318359375, 0.028167724609375, -0.0169219970703125, 0.11041259765625, 0.0333251953125, -0.0275421142578125, 0.045135498046875, -0.00493621826171875, 0.037689208984375, 0.012969970703125, 0.035552978515625, -0.05889892578125, 0.0276947021484375, 0.005523681640625, 0.009063720703125, 0.005584716796875, 0.031768798828125, -0.01186370849609375, -0.0078887939453125, 0.046722412109375, -0.005512237548828125, 0.0117034912109375, 0.028167724609375, 0.058563232421875, -0.01392364501953125, -0.0286865234375, -0.005939483642578125, -0.04669189453125, 0.0168304443359375, 0.0167236328125, -0.0148773193359375, -0.025848388671875, 0.0092620849609375, -0.0191192626953125, -0.024139404296875, -0.044036865234375, -0.0107421875, 0.080810546875, 0.02386474609375, -0.0174407958984375, -0.0523681640625, 0.01837158203125, 0.0170745849609375, -0.00400543212890625, 0.035614013671875, 0.00807952880859375, 0.0284423828125, 0.0176239013671875, -0.06219482421875, 0.03338623046875, 0.060394287109375, -0.056915283203125, 0.005489349365234375, -0.0306854248046875, 0.0126800537109375, -0.00037169456481933594, -0.0211181640625, -0.03277587890625, 0.02392578125, 0.01229095458984375, 0.0806884765625, 0.038726806640625, 0.0286712646484375, -0.0163421630859375, 0.042755126953125, -0.0188751220703125, 0.0078582763671875, -0.03607177734375, -0.041717529296875, -0.048736572265625, -0.0277099609375, -0.0194854736328125, -0.078369140625, -0.02838134765625, -0.01385498046875, -0.03375244140625, 0.0007948875427246094, -0.010009765625, -0.03216552734375, -0.0175933837890625, 0.01285552978515625, -0.01024627685546875, -0.02569580078125, 0.01236724853515625, -0.01030731201171875, 0.05303955078125, 0.06121826171875, 0.07257080078125, 0.0206756591796875, -0.007213592529296875, -0.00534820556640625, 0.035552978515625, -0.024169921875, -0.0210723876953125, -0.020782470703125, 0.0251922607421875, -0.02972412109375, 0.01192474365234375, -0.0026683807373046875, 0.01806640625, 0.01512908935546875, 0.030181884765625, -0.015594482421875, -0.01313018798828125, 0.00966644287109375, -0.004955291748046875, -0.01715087890625, -0.00962066650390625, -0.055206298828125, 0.039642333984375, -0.017730712890625, 0.00391387939453125, 0.0243072509765625, 0.006702423095703125, -0.029144287109375, -0.019256591796875, 0.0166473388671875, -0.0003840923309326172, -0.003208160400390625, 0.041534423828125, -0.01299285888671875, -0.044036865234375, 0.0010614395141601562, 0.004638671875, 0.0305633544921875, -0.01401519775390625, 0.004238128662109375, 0.016448974609375, 0.015960693359375, 0.000033736228942871094, 0.0208282470703125, 0.00234222412109375, 0.03521728515625, 0.0251617431640625, -0.004268646240234375, -0.0328369140625, 0.05499267578125, -0.060211181640625, -0.002349853515625, -0.058197021484375, -0.05694580078125, -0.036773681640625, 0.023345947265625, -0.037567138671875, -0.0357666015625, 0.04925537109375, -0.0197906494140625, 0.00006371736526489258, 0.0271453857421875, -0.00786590576171875, 0.01035308837890625, -0.0379638671875, 0.006000518798828125, 0.0026683807373046875, -0.00620269775390625, 0.035186767578125, -0.00788116455078125, -0.0223846435546875, 0.0019741058349609375, 0.0253753662109375, -0.015289306640625, -0.03179931640625, -0.008941650390625, -0.00010001659393310547, -0.0199432373046875, -0.04058837890625, 0.01727294921875, 0.02618408203125, 0.027984619140625, 0.0195465087890625, 0.00768280029296875, -0.0252838134765625, -0.0087432861328125, 0.01611328125, -0.0057220458984375, 0.0269012451171875, -0.07470703125, 0.029510498046875, -0.032257080078125, -0.052520751953125, -0.0252227783203125, 0.0487060546875, -0.03082275390625, 0.00086212158203125, -0.0938720703125, 0.050079345703125, -0.03857421875, 0.0699462890625, -0.0006575584411621094, -0.018463134765625, -0.0030670166015625, -0.0228271484375, 0.01444244384765625, -0.059051513671875, -0.046661376953125, 0.05059814453125, -0.0258026123046875, 0.062286376953125, -0.0206146240234375, 0.0692138671875, -0.048583984375, -0.03704833984375, -0.0137786865234375, -0.01177215576171875, -0.0177459716796875, -0.0157012939453125, 0.00220489501953125, 0.0010833740234375, 0.032745361328125, 0.0011663436889648438, 0.053375244140625, -0.01227569580078125, -0.006195068359375, -0.023895263671875, -0.059234619140625, 0.006786346435546875, -0.0163421630859375, -0.0212249755859375, -0.0042877197265625, 0.042724609375, 0.01491546630859375, 0.0185546875, 0.00675201416015625, -0.003376007080078125, 0.0477294921875, 0.004608154296875, 0.0361328125, -0.0307464599609375, -0.0215911865234375, 0.017333984375, -0.02496337890625, -0.0212249755859375, 0.0172119140625, -0.0880126953125, -0.044891357421875, 0.0606689453125, -0.0278167724609375, -0.036041259765625, -0.0102081298828125, -0.007099151611328125, 0.0218658447265625, -0.07501220703125, -0.046722412109375, -0.0111541748046875, 0.043365478515625, -0.038909912109375, 0.01238250732421875, -0.00679779052734375, 0.000698089599609375, -0.0109710693359375, 0.01885986328125, -0.05810546875, 0.0257110595703125, 0.036895751953125, -0.09613037109375, 0.04693603515625, 0.0203704833984375, 0.0011816024780273438, -0.0251007080078125, 0.007190704345703125, -0.034423828125, -0.0069427490234375, -0.01451873779296875, -0.0157012939453125, 0.00366973876953125, -0.006542205810546875, 0.02740478515625, -0.006839752197265625, -0.006137847900390625, -0.036285400390625, 0.007610321044921875, 0.00299835205078125, -0.0174713134765625, 0.0271759033203125, 0.0125579833984375, -0.051177978515625, -0.003955841064453125, 0.0148162841796875, -0.00035452842712402344, 0.006679534912109375, -0.0038547515869140625, 0.0341796875, 0.0296478271484375, -0.0282440185546875, -0.00960540771484375, 0.017822265625, 0.027862548828125, 0.00005692243576049805, -0.0156707763671875, -0.018951416015625, -0.018646240234375, 0.0161590576171875, -0.0013475418090820312, 0.01236724853515625, -0.0474853515625, -0.04315185546875, -0.0325927734375, -0.026458740234375, -0.1173095703125, -0.09405517578125, -0.033966064453125, -0.047637939453125, -0.0120849609375, 0.00356292724609375, -0.036041259765625, 0.0172882080078125, 0.016754150390625, 0.0013103485107421875, 0.0198516845703125, 0.0023174285888671875, 0.0025730133056640625, -0.00844573974609375, -0.0297393798828125, -0.045806884765625, 0.0025196075439453125, 0.009765625, -0.0142822265625, 0.08642578125, -0.0013141632080078125, -0.054656982421875, -0.05108642578125, 0.015716552734375, -0.0208740234375, -0.035064697265625, 0.019317626953125, -0.0443115234375, 0.040557861328125, -0.0250091552734375, 0.05364990234375, 0.041778564453125, -0.03314208984375, -0.0024623870849609375, 0.01290130615234375, -0.033905029296875, -0.006561279296875, 0.0183258056640625, -0.01641845703125, -0.004657745361328125, -0.007663726806640625, -0.059967041015625, 0.0181732177734375, -0.0251617431640625, -0.0021343231201171875, 0.037017822265625, 0.033966064453125, -0.0260162353515625, -0.0162353515625, 0.007587432861328125, -0.034393310546875, -0.01983642578125, 0.040740966796875, -0.040252685546875, 0.048248291015625, -0.023590087890625, -0.04937744140625, -0.0154266357421875, 0.022552490234375, -0.034027099609375, -0.0263214111328125, -0.004039764404296875, -0.02545166015625, -0.0035305023193359375, -0.03802490234375, -0.0201263427734375, -0.059417724609375, 0.041961669921875, -0.034332275390625, -0.0254364013671875, -0.039520263671875, -0.00615692138671875, 0.00010126829147338867, 0.062347412109375, -0.0088348388671875, -0.05120849609375, 0.018096923828125, 0.052459716796875, -0.061767578125, -0.033905029296875, 0.0304718017578125, -0.0322265625, -0.061004638671875, 0.03265380859375, 0.00426483154296875, 0.0020847320556640625, -0.034332275390625, 0.0155487060546875, -0.047210693359375, -0.032958984375, 0.03448486328125, -0.0102386474609375, 0.0062713623046875, -0.00318145751953125, -0.01271820068359375, -0.0141448974609375, -0.029205322265625, 0.0011167526245117188, -0.06103515625, -0.0130767822265625, 0.007465362548828125, 0.037109375, 0.01059722900390625, -0.0250091552734375, 0.002384185791015625, 0.040283203125, 0.00658416748046875, -0.0031490325927734375, 0.021575927734375, -0.0014200210571289062, 0.051055908203125, 0.0190582275390625, 0.01451873779296875, -0.0010080337524414062, -0.0099029541015625, -0.0085906982421875, -0.032928466796875, 0.010223388671875, 0.005596160888671875, 0.035675048828125, 0.0450439453125, -0.039947509765625, 0.00406646728515625, -0.035125732421875, -0.045013427734375, 0.0172576904296875, -0.023529052734375, 0.010589599609375, -0.058624267578125, -0.017852783203125, 0.1083984375, 0.0017156600952148438, 0.00829315185546875, -0.01849365234375, 0.08380126953125, -0.0085906982421875, -0.05572509765625, -0.0341796875, 0.004611968994140625, 0.017547607421875, 0.032501220703125, 0.038787841796875, 0.004245758056640625, -0.0138397216796875, 0.035919189453125, 0.007472991943359375, -0.00675201416015625, 0.00823211669921875, 0.03863525390625, 0.01934814453125, 0.0045623779296875, -0.0189971923828125, -0.011810302734375, 0.0035953521728515625, 0.029693603515625, 0.000010013580322265625, 0.00665283203125, -0.006328582763671875, 0.0174560546875, 0.0185546875, -0.0458984375, -0.04388427734375, -0.0244293212890625, 0.0050048828125, -0.0282135009765625, -0.005237579345703125, 0.01385498046875, -0.0065765380859375, -0.00908660888671875, 0.00476837158203125, -0.00881195068359375, -0.0139923095703125, 0.022735595703125, -0.026123046875, 0.02349853515625, 0.0007781982421875, -0.0272064208984375, -0.0188446044921875, -0.0183563232421875, 0.09027099609375, 0.0115814208984375, -0.046051025390625, 0.007160186767578125, -0.0177764892578125, -0.02978515625, 0.013702392578125, 0.0411376953125, 0.0394287109375, -0.0018911361694335938, 0.0009660720825195312, -0.032867431640625, 0.0015668869018554688, 0.00226593017578125, -0.04901123046875, 0.0350341796875, 0.033538818359375, -0.0223541259765625, 0.022735595703125, 0.02783203125, 0.048980712890625, -0.0096893310546875, -0.033416748046875, 0.039520263671875, 0.037322998046875, 0.0233917236328125, 0.0219879150390625, -0.0169830322265625, -0.01361083984375, 0.006275177001953125, -0.0251922607421875, -0.00021183490753173828, 0.01271820068359375, 0.01332855224609375, -0.0121917724609375, 0.0036792755126953125, -0.0031681060791015625, 0.01087188720703125, -0.0012216567993164062, -0.0118560791015625, -0.0155487060546875, 0.04302978515625, 0.0166778564453125, 0.0139617919921875, -0.02288818359375, -0.041107177734375, 0.02587890625, 0.0080718994140625, -0.0099029541015625, -0.0150604248046875, -0.00632476806640625, 0.01076507568359375, 0.00867462158203125, -0.044189453125, -0.04510498046875, 0.004669189453125, 0.0052490234375, 0.0044708251953125, -0.037628173828125, -0.026580810546875, -0.00732421875, -0.007465362548828125, 0.043548583984375, -0.011993408203125, -0.0328369140625, -0.019195556640625, 0.0269012451171875, -0.03814697265625, -0.0107879638671875, 0.052215576171875, 0.015869140625, -0.0440673828125, 0.0020885467529296875, -0.052093505859375, -0.0126190185546875, -0.058868408203125, -0.04693603515625, -0.05218505859375, -0.003978729248046875, 0.04144287109375, 0.02386474609375, 0.00421142578125, -0.035858154296875, -0.02911376953125, 0.024871826171875, 0.04248046875, 0.07781982421875, -0.008331298828125, 0.041839599609375, 0.00647735595703125, 0.036346435546875, 0.00887298583984375, 0.006336212158203125, -0.0308380126953125, -0.01131439208984375, 0.00038051605224609375, 0.007289886474609375, 0.0142364501953125, -0.01129913330078125, 0.026641845703125, -0.03631591796875, 0.0133819580078125, 0.0036487579345703125, 0.0176849365234375, -0.02825927734375, -0.01305389404296875, -0.033203125, 0.034088134765625, -0.047760009765625, 0.020965576171875, -0.0136871337890625, -0.0294647216796875, 0.04931640625, 0.0204315185546875, 0.05450439453125, -0.0131683349609375, -0.0516357421875, 0.0011348724365234375, 0.0254974365234375, -0.03466796875, 0.03997802734375, 0.0684814453125, -0.0003199577331542969, 0.04156494140625, 0.0219879150390625, 0.0198974609375, 0.035064697265625, -0.02923583984375, -0.065185546875, 0.0199432373046875, 0.0110015869140625, -0.00925445556640625, -0.0012989044189453125, 0.014190673828125, -0.00022339820861816406, 0.046142578125, 0.0521240234375, 0.08856201171875, -0.080078125, 0.0179290771484375, 0.00576019287109375, -0.0219879150390625, 0.074462890625, 0.018951416015625, -0.00930023193359375, 0.0200958251953125, 0.03778076171875, -0.03070068359375, -0.0115814208984375, 0.03155517578125, 0.0209808349609375, -0.03155517578125, 0.00720977783203125, 0.0020542144775390625, 0.01551055908203125, -0.0423583984375, 0.035614013671875, 0.00743865966796875, 0.017578125, -0.007568359375, 0.00383758544921875, -0.026123046875, -0.0223236083984375, -0.05487060546875, -0.01824951171875, -0.0174560546875, -0.0160064697265625, 0.0253143310546875, -0.00215911865234375, 0.06549072265625, 0.048004150390625, 0.00006818771362304688, -0.004119873046875, 0.01183319091796875, 0.036224365234375, -0.038909912109375, -0.0205078125, 0.0228424072265625, 0.0291900634765625, -0.052642822265625, 0.018402099609375, -0.049652099609375, -0.004177093505859375, 0.0090179443359375, -0.0297698974609375, 0.0248260498046875, -0.03125, 0.007442474365234375, 0.0352783203125, -0.0248870849609375, -0.0014591217041015625, 0.0162811279296875, 0.036346435546875, -0.052642822265625, -0.055328369140625, 0.026947021484375, -0.05682373046875, -0.003749847412109375, 0.0237274169921875, -0.02716064453125, 0.08221435546875, -0.0039520263671875, -0.01358795166015625, 0.01042938232421875, 0.041534423828125, -0.0227813720703125, 0.018890380859375, -0.00260162353515625, 0.009490966796875, 0.01355743408203125, -0.0129852294921875, 0.007328033447265625, -0.003597259521484375, -0.00798797607421875, 0.0270233154296875, -0.006488800048828125, -0.004734039306640625, -0.0026912689208984375, 0.00024139881134033203, 0.02520751953125, 0.01708984375, 0.0034770965576171875, 0.01404571533203125, -0.01263427734375, 0.01421356201171875, 0.00760650634765625, -0.0233306884765625, 0.0325927734375, -0.04083251953125, -0.035430908203125, -0.00875091552734375, 0.026519775390625, 0.051483154296875, 0.01480865478515625, 0.0181121826171875, 0.0163726806640625, 0.0038356781005859375, -0.001277923583984375, 0.01035308837890625, -0.01111602783203125, 0.0034236907958984375, -0.01076507568359375, -0.038726806640625, -0.0038547515869140625, -0.0230560302734375, 0.0206451416015625, -0.0101776123046875, -0.032989501953125, 0.00736236572265625, 0.01294708251953125, -0.0119476318359375, -0.004856109619140625, -0.0292510986328125, 0.005123138427734375, 0.022674560546875, 0.01971435546875, 0.005001068115234375, 0.03656005859375, -0.0030384063720703125, 0.04498291015625, 0.00659942626953125, 0.0185394287109375, -0.032012939453125, -0.0010824203491210938, 0.00884246826171875, -0.0035915374755859375, -0.0020465850830078125, -0.043853759765625, -0.0090789794921875, -0.03369140625, -0.0016851425170898438, -0.0146484375, 0.0124969482421875, 0.054595947265625, 0.015228271484375, 0.02374267578125, 0.0477294921875, -0.0689697265625, 0.021209716796875, -0.045135498046875, 0.024932861328125, 0.007190704345703125, 0.051971435546875, 0.0139923095703125, 0.06134033203125, -0.003261566162109375, -0.0347900390625, -0.01035308837890625, 0.01326751708984375, 0.005207061767578125, -0.0032520294189453125, 0.035430908203125, 0.0172119140625, -0.01496124267578125, -0.0009312629699707031, 0.0249481201171875, 0.024810791015625, 0.0611572265625, 0.06439208984375, -0.0362548828125, 0.00214385986328125, 0.0694580078125, -0.0128326416015625, -0.05023193359375, -0.004058837890625, 0.00662994384765625, 0.04730224609375, 0.004367828369140625, -0.0199432373046875, 0.0484619140625, 0.0226593017578125, -0.04351806640625, 0.019012451171875, 0.0007348060607910156, 0.005096435546875, 0.0594482421875, 0.001003265380859375, 0.0200042724609375, -0.01187896728515625, 0.020050048828125, 0.004467010498046875, -0.016021728515625, -0.03839111328125, 0.01561737060546875, 0.037567138671875, 0.03594970703125, -0.0391845703125, -0.008392333984375, -0.007160186767578125, -0.028045654296875, 0.0379638671875, 0.0115814208984375, -0.0223236083984375, 0.0212249755859375, -0.00484466552734375, -0.06781005859375, -0.0457763671875, -0.056243896484375, 0.0599365234375, 0.01324462890625, 0.05328369140625, -0.00817108154296875, 0.03741455078125, 0.006591796875, 0.03594970703125, -0.0169830322265625, -0.00762939453125, 0.03857421875, 0.010498046875, 0.017486572265625, -0.0183258056640625, 0.005901336669921875, -0.00864410400390625, 0.049468994140625, -0.03594970703125, 0.0081024169921875, -0.0160064697265625, 0.0281219482421875, -0.033538818359375, -0.017333984375, -0.0276336669921875, -0.0205535888671875, 0.032012939453125, 0.003063201904296875, 0.002880096435546875, 0.0149688720703125, 0.02484130859375, 0.01319122314453125, 0.017578125, 0.0297088623046875, 0.0128326416015625, 0.005947113037109375, 0.035552978515625, 0.0274810791015625, -0.06878662109375, -0.001422882080078125, -0.032196044921875, -0.0234222412109375, 0.00440216064453125, -0.00194549560546875, 0.0024547576904296875, -0.022369384765625, 0.038360595703125, -0.023834228515625, -0.010040283203125, -0.00963592529296875, -0.035858154296875, -0.006771087646484375, -0.00844573974609375, -0.00980377197265625, -0.01226043701171875, -0.061004638671875, -0.03582763671875, -0.0823974609375, 0.02923583984375, 0.047027587890625, -0.043243408203125, 0.0189208984375, -0.03564453125, -0.0278167724609375, 0.0005431175231933594, -0.0223846435546875, 0.03411865234375, -0.0184173583984375, -0.01178741455078125, -0.034149169921875, -0.019439697265625, -0.03338623046875, -0.0279541015625, -0.0083465576171875, 0.02838134765625, -0.053436279296875, -0.07269287109375, 0.07550048828125, -0.053680419921875, -0.01186370849609375, 0.0203094482421875, 0.01032257080078125, -0.032867431640625, -0.039093017578125, -0.0307464599609375, 0.01174163818359375, -0.035888671875, -0.0279388427734375, 0.015960693359375, -0.0013875961303710938, -0.006542205810546875, -0.047027587890625, 0.004718780517578125, -0.035003662109375, 0.0058441162109375, -0.020111083984375, -0.033905029296875, -0.0333251953125, -0.061920166015625, -0.08856201171875, 0.051788330078125, -0.01259613037109375, -0.0249481201171875, -0.0213775634765625, -0.0242156982421875, -0.024749755859375, 0.04132080078125, -0.01442718505859375, 0.00412750244140625, -0.0089569091796875, 0.03521728515625, -0.0169219970703125, 0.02105712890625, -0.01256561279296875, -0.046661376953125, -0.00982666015625, 0.010101318359375, 0.036468505859375, -0.002994537353515625, 0.005916595458984375, 0.000514984130859375, 0.0167999267578125, 0.034088134765625, -0.0231170654296875, -0.00960540771484375, -0.0072021484375, -0.01331329345703125, 0.0004131793975830078, -0.0184783935546875, -0.08514404296875, -0.0309295654296875, 0.08843994140625, 0.08990478515625, 0.032989501953125, -0.0289154052734375, -0.0280303955078125, -0.035064697265625, 0.0028553009033203125, -0.0258026123046875, 0.00926971435546875, -0.07611083984375, -0.027191162109375, 0.01824951171875, 0.026947021484375, 0.001678466796875, 0.02154541015625, 0.0243072509765625, -0.0302886962890625, 0.042144775390625, -0.0207366943359375, -0.033599853515625, 0.022003173828125, 0.032684326171875, -0.0247802734375, 0.04095458984375, -0.029937744140625, 0.00667572021484375, 0.03839111328125, 0.00539398193359375, -0.05206298828125, 0.044647216796875, 0.0009303092956542969, 0.00508880615234375, 0.001003265380859375, -0.0058746337890625, -0.01062774658203125, 0.04766845703125, -0.003978729248046875, -0.006465911865234375, -0.012908935546875, -0.0238494873046875, 0.01534271240234375, -0.0010538101196289062, -0.020416259765625, 0.035125732421875, -0.01047515869140625, -0.005680084228515625, -0.052642822265625, 0.050323486328125, -0.00879669189453125, -0.007965087890625, 0.00511932373046875, 0.0175018310546875, 0.0028057098388671875, 0.005451202392578125, -0.01105499267578125, -0.0386962890625, 0.003513336181640625, -0.0100250244140625, -0.0032901763916015625, 0.005184173583984375 ]
f1e51f1a51ed17edcf2717846a116a7eb0ef674f
Wordpress Stackexchange Q: WP CLI info showing correct PHP binary but wrong version of PHP When a run a command such as wp plugin update I get the message: "Your server is running PHP version 5.4.13 but WordPress 5.2.2 requires at least 5.6.20" I don't even have PHP 5.4 installed in my server. When I run wp cli info I get the following: PHP binary: /opt/plesk/php/7.2/bin/php PHP version: 5.4.13 php.ini used: /etc/php.ini Any idea what could be causing this? I updated WP CLI to version 2.3 thinking maybe that would help but I get the same results. Running CentOS 6 if that makes a difference. A: Edit your .bash_profile and modify the PATH with : export PATH=/opt/plesk/php/7.2/bin:$PATH then reload with : source ~/.bash_profile More info here.
Q: WP CLI info showing correct PHP binary but wrong version of PHP When a run a command such as wp plugin update I get the message: "Your server is running PHP version 5.4.13 but WordPress 5.2.2 requires at least 5.6.20" I don't even have PHP 5.4 installed in my server. When I run wp cli info I get the following: PHP binary: /opt/plesk/php/7.2/bin/php PHP version: 5.4.13 php.ini used: /etc/php.ini Any idea what could be causing this? I updated WP CLI to version 2.3 thinking maybe that would help but I get the same results. Running CentOS 6 if that makes a difference. A: Edit your .bash_profile and modify the PATH with : export PATH=/opt/plesk/php/7.2/bin:$PATH then reload with : source ~/.bash_profile More info here.
wordpress
{ "language": "en", "length": 124, "provenance": "stackexchange_00019.jsonl.gz:497754", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/346622" }
[ 0.022308349609375, -0.034820556640625, -0.027008056640625, -0.05755615234375, -0.01232147216796875, -0.0149383544921875, -0.0093994140625, 0.0245819091796875, 0.0330810546875, -0.017822265625, -0.01457977294921875, -0.01232147216796875, -0.047515869140625, -0.041412353515625, -0.00908660888671875, -0.03680419921875, 0.043731689453125, -0.0274505615234375, 0.0076751708984375, 0.0023441314697265625, -0.0276336669921875, 0.0538330078125, 0.01047515869140625, 0.01262664794921875, 0.0011377334594726562, -0.0154266357421875, 0.092529296875, -0.037322998046875, -0.01483154296875, -0.0537109375, 0.01070404052734375, 0.050262451171875, 0.034942626953125, 0.01552581787109375, -0.030548095703125, -0.0050201416015625, 0.00970458984375, -0.001201629638671875, -0.011077880859375, 0.0193939208984375, -0.0255584716796875, 0.0130615234375, 0.059844970703125, -0.0137176513671875, -0.00838470458984375, -0.022003173828125, 0.00870513916015625, -0.01522064208984375, 0.0013275146484375, -0.020843505859375, -0.020111083984375, 0.0130462646484375, 0.0024871826171875, -0.032562255859375, -0.0152130126953125, -0.023590087890625, -0.0079193115234375, 0.091064453125, 0.00809478759765625, 0.00354766845703125, -0.041412353515625, 0.053863525390625, -0.002735137939453125, -0.0201568603515625, -0.00766754150390625, 0.007640838623046875, 0.0997314453125, -0.0174102783203125, -0.05255126953125, 0.00521087646484375, 0.055511474609375, -0.00783538818359375, 0.01125335693359375, -0.052398681640625, 0.01010894775390625, 0.00724029541015625, -0.0236358642578125, -0.05096435546875, 0.0190887451171875, -0.00577545166015625, 0.056060791015625, -0.0077362060546875, -0.015594482421875, -0.0077056884765625, 0.0291595458984375, 0.03851318359375, 0.00830078125, -0.040679931640625, -0.037445068359375, -0.0181121826171875, -0.030609130859375, -0.034149169921875, -0.046142578125, 0.00084686279296875, 0.0201416015625, -0.018402099609375, -0.0249176025390625, -0.021484375, -0.00655364990234375, 0.022674560546875, 0.030487060546875, -0.02655029296875, 0.050048828125, -0.0089874267578125, -0.01387786865234375, 0.03509521484375, 0.017974853515625, 0.0205535888671875, 0.01218414306640625, 0.0196075439453125, 0.0028972625732421875, -0.00395965576171875, 0.00634002685546875, -0.024749755859375, -0.0002390146255493164, 0.017120361328125, -0.0257110595703125, 0.0275421142578125, 0.003932952880859375, 0.031829833984375, 0.0018968582153320312, 0.023895263671875, 0.002803802490234375, -0.002269744873046875, -0.0139007568359375, -0.005584716796875, 0.0025196075439453125, -0.0303955078125, -0.04150390625, 0.032073974609375, 0.0014925003051757812, 0.005870819091796875, 0.003665924072265625, 0.02886962890625, -0.022186279296875, -0.006252288818359375, 0.0267791748046875, 0.00933837890625, -0.031005859375, 0.06707763671875, -0.06964111328125, -0.04486083984375, 0.032440185546875, -0.052093505859375, 0.041595458984375, 0.01444244384765625, 0.0229339599609375, 0.0199432373046875, 0.0027904510498046875, -0.008514404296875, 0.037078857421875, 0.0062103271484375, 0.0243072509765625, 0.023162841796875, 0.03704833984375, -0.004467010498046875, 0.06964111328125, -0.039520263671875, -0.039031982421875, -0.036346435546875, -0.0035533905029296875, -0.0143585205078125, 0.0126953125, -0.04901123046875, -0.04888916015625, 0.0262603759765625, -0.06396484375, -0.00798797607421875, 0.01198577880859375, -0.048248291015625, 0.028900146484375, -0.0117950439453125, 0.0009131431579589844, -0.01446533203125, 0.00725555419921875, -0.0023479461669921875, -0.007354736328125, 0.0029735565185546875, 0.04791259765625, 0.01224517822265625, -0.019561767578125, -0.0193634033203125, 0.04693603515625, -0.007659912109375, -0.03753662109375, -0.03082275390625, 0.01459503173828125, 0.0172882080078125, 0.06341552734375, 0.01369476318359375, 0.029541015625, -0.0287017822265625, 0.018463134765625, 0.022796630859375, -0.027435302734375, -0.003570556640625, -0.0159149169921875, 0.03289794921875, -0.03375244140625, -0.0362548828125, 0.012908935546875, 0.0159759521484375, -0.03619384765625, -0.009979248046875, -0.1248779296875, 0.004730224609375, -0.039154052734375, 0.038177490234375, 0.0263671875, -0.010711669921875, 0.0143585205078125, 0.01059722900390625, -0.027099609375, -0.01409149169921875, -0.071044921875, 0.01456451416015625, -0.03839111328125, 0.016876220703125, -0.0133819580078125, 0.04852294921875, -0.0146636962890625, -0.04742431640625, -0.0193634033203125, -0.02899169921875, 0.0130157470703125, 0.0180511474609375, -0.023193359375, 0.0098114013671875, 0.044830322265625, 0.0205841064453125, 0.066650390625, -0.004138946533203125, -0.047027587890625, 0.0224761962890625, -0.018310546875, -0.0258331298828125, -0.0256805419921875, -0.06622314453125, 0.04400634765625, 0.039337158203125, 0.052734375, -0.0009446144104003906, 0.0178375244140625, -0.01267242431640625, 0.057586669921875, -0.005764007568359375, 0.03350830078125, -0.0423583984375, -0.0185394287109375, 0.0113677978515625, -0.0011844635009765625, 0.006900787353515625, 0.00965118408203125, -0.01031494140625, 0.006267547607421875, 0.029571533203125, 0.00852203369140625, 0.003177642822265625, -0.0226287841796875, -0.0230712890625, 0.01442718505859375, -0.03466796875, -0.0665283203125, 0.01837158203125, 0.00275421142578125, -0.005279541015625, 0.02703857421875, 0.0291748046875, -0.002349853515625, -0.03765869140625, 0.01251220703125, 0.0245208740234375, 0.0084075927734375, -0.00782012939453125, -0.092041015625, 0.032379150390625, -0.0305328369140625, 0.0318603515625, 0.00576019287109375, -0.02294921875, -0.0037822723388671875, -0.007843017578125, -0.003124237060546875, 0.002925872802734375, 0.0011377334594726562, -0.0137176513671875, 0.047271728515625, 0.060699462890625, -0.026123046875, -0.01184844970703125, 0.0294952392578125, -0.0020599365234375, -0.04266357421875, 0.01337432861328125, 0.0321044921875, -0.0243682861328125, 0.0782470703125, -0.014862060546875, 0.01727294921875, -0.005275726318359375, 0.0150604248046875, 0.0228118896484375, 0.003955841064453125, -0.0245208740234375, -0.006626129150390625, 0.01093292236328125, 0.005832672119140625, -0.00018870830535888672, -0.019287109375, -0.01421356201171875, -0.0660400390625, -0.03668212890625, 0.01541900634765625, 0.0122222900390625, 0.0032672882080078125, -0.0538330078125, -0.005828857421875, -0.00240325927734375, -0.0919189453125, -0.06884765625, -0.07427978515625, -0.02880859375, 0.002941131591796875, 0.0264739990234375, 0.0013275146484375, 0.013885498046875, 0.050872802734375, 0.0203399658203125, 0.0394287109375, -0.036102294921875, -0.031158447265625, -0.042449951171875, -0.08673095703125, -0.044647216796875, 0.0157012939453125, 0.025054931640625, 0.0024566650390625, 0.06072998046875, 0.00665283203125, -0.0726318359375, -0.0264129638671875, 0.0377197265625, -0.041290283203125, -0.003543853759765625, -0.005462646484375, -0.03436279296875, -0.01078033447265625, -0.01500701904296875, 0.0292205810546875, 0.0023441314697265625, 0.0020008087158203125, -0.01080322265625, -0.0194854736328125, -0.06280517578125, -0.00591278076171875, 0.0250091552734375, -0.0006680488586425781, -0.050262451171875, 0.005283355712890625, -0.0780029296875, 0.01531219482421875, 0.01428985595703125, 0.0015926361083984375, 0.037017822265625, -0.006877899169921875, -0.04461669921875, 0.0199737548828125, 0.003414154052734375, -0.04193115234375, -0.01021575927734375, -0.00489044189453125, -0.0233612060546875, 0.049346923828125, -0.013458251953125, -0.0306549072265625, 0.005615234375, 0.053253173828125, 0.0002105236053466797, -0.033843994140625, 0.020111083984375, -0.004791259765625, -0.01165008544921875, -0.0217742919921875, -0.0279083251953125, -0.046356201171875, 0.033935546875, -0.041595458984375, -0.001636505126953125, -0.036163330078125, -0.01397705078125, -0.0026645660400390625, 0.058380126953125, -0.0062408447265625, -0.053863525390625, 0.00655364990234375, 0.03363037109375, -0.026947021484375, 0.002674102783203125, 0.018890380859375, -0.02264404296875, -0.0304412841796875, -0.01061248779296875, 0.00634002685546875, -0.01491546630859375, -0.01885986328125, 0.049896240234375, -0.029754638671875, -0.0117950439453125, 0.054840087890625, -0.0269775390625, 0.02032470703125, 0.02203369140625, -0.00732421875, -0.0108184814453125, -0.056304931640625, -0.01038360595703125, -0.0960693359375, -0.0215911865234375, 0.0028858184814453125, 0.04632568359375, -0.01934814453125, -0.01085662841796875, -0.0190277099609375, 0.057708740234375, 0.026275634765625, 0.004024505615234375, -0.0004153251647949219, -0.0380859375, 0.00469970703125, 0.02142333984375, -0.0039005279541015625, 0.00848388671875, -0.0277557373046875, -0.036407470703125, -0.0192413330078125, -0.00377655029296875, -0.0212554931640625, -0.0190887451171875, -0.01117706298828125, -0.004444122314453125, -0.0181884765625, -0.0298614501953125, -0.030975341796875, -0.0011615753173828125, -0.012939453125, 0.0006208419799804688, -0.01446533203125, -0.029296875, 0.10589599609375, -0.0100250244140625, 0.033233642578125, -0.03662109375, 0.07977294921875, -0.0125885009765625, -0.04730224609375, 0.005100250244140625, -0.01519012451171875, 0.01248931884765625, 0.0093231201171875, 0.068603515625, 0.0369873046875, 0.011505126953125, 0.01214599609375, 0.005542755126953125, 0.0163421630859375, 0.005718231201171875, -0.01522064208984375, 0.01947021484375, -0.024383544921875, 0.0033702850341796875, 0.037506103515625, -0.01953125, -0.0142669677734375, -0.0005903244018554688, 0.0038909912109375, 0.03961181640625, -0.01236724853515625, 0.003757476806640625, -0.024139404296875, -0.0108184814453125, -0.07403564453125, 0.032470703125, -0.069580078125, 0.004543304443359375, 0.0229644775390625, -0.019683837890625, 0.05743408203125, -0.01122283935546875, -0.001659393310546875, 0.0044708251953125, 0.07904052734375, -0.017974853515625, 0.043121337890625, -0.0014629364013671875, -0.03643798828125, -0.041168212890625, -0.00814056396484375, 0.050323486328125, 0.022186279296875, -0.0099029541015625, -0.00644683837890625, 0.0030345916748046875, -0.0177459716796875, -0.0095367431640625, 0.033966064453125, 0.05523681640625, -0.006916046142578125, -0.038055419921875, -0.02874755859375, -0.0197906494140625, -0.027923583984375, -0.04864501953125, -0.02777099609375, -0.0015230178833007812, -0.0114288330078125, 0.027130126953125, 0.006458282470703125, 0.02105712890625, 0.003040313720703125, -0.0156097412109375, 0.0160369873046875, 0.0418701171875, 0.006664276123046875, 0.0275115966796875, -0.020751953125, 0.0190887451171875, -0.044952392578125, 0.0232086181640625, -0.0290374755859375, -0.013580322265625, -0.007747650146484375, 0.0288238525390625, 0.01416015625, 0.00988006591796875, 0.00948333740234375, -0.016326904296875, 0.0019054412841796875, 0.0182037353515625, 0.006195068359375, -0.0030193328857421875, -0.036865234375, 0.04052734375, 0.07879638671875, 0.0030918121337890625, -0.0122528076171875, -0.00208282470703125, -0.002620697021484375, -0.00769805908203125, 0.005565643310546875, -0.05291748046875, 0.0014162063598632812, 0.020172119140625, 0.04888916015625, -0.012725830078125, -0.033172607421875, -0.0024242401123046875, 0.0208892822265625, -0.02996826171875, -0.0131378173828125, 0.040008544921875, -0.0281829833984375, 0.0029964447021484375, -0.0220794677734375, -0.0010232925415039062, -0.021697998046875, 0.01139068603515625, 0.0355224609375, 0.0416259765625, -0.03564453125, -0.0089569091796875, -0.037109375, -0.0128326416015625, 0.044036865234375, -0.0123443603515625, -0.052520751953125, -0.03143310546875, -0.019134521484375, 0.01727294921875, -0.0313720703125, -0.0074615478515625, -0.0213470458984375, 0.035919189453125, 0.0156707763671875, 0.05975341796875, -0.026885986328125, 0.041290283203125, 0.01235198974609375, -0.00589752197265625, 0.00018680095672607422, 0.046051025390625, 0.045257568359375, -0.01139068603515625, 0.0245361328125, -0.002307891845703125, -0.01470184326171875, -0.027984619140625, 0.040740966796875, -0.036163330078125, 0.0240631103515625, -0.0169830322265625, 0.0086822509765625, -0.0107574462890625, 0.0052032470703125, -0.003406524658203125, 0.0274505615234375, 0.0075225830078125, 0.007648468017578125, 0.036773681640625, -0.037933349609375, -0.0197601318359375, 0.0309295654296875, 0.0411376953125, -0.0249481201171875, -0.035430908203125, -0.0413818359375, 0.03765869140625, -0.0517578125, 0.060760498046875, 0.08428955078125, -0.00569915771484375, 0.059326171875, 0.0119781494140625, 0.007190704345703125, 0.036651611328125, 0.0009198188781738281, -0.0289306640625, -0.022918701171875, 0.03448486328125, 0.0011930465698242188, -0.009063720703125, 0.0225372314453125, -0.0165863037109375, 0.01494598388671875, 0.0195159912109375, 0.04278564453125, -0.0214996337890625, 0.01496124267578125, 0.0126495361328125, -0.014862060546875, 0.031158447265625, -0.00919342041015625, -0.0243682861328125, -0.055023193359375, 0.057464599609375, 0.025970458984375, -0.00820159912109375, 0.03436279296875, 0.013519287109375, -0.040802001953125, 0.0017175674438476562, 0.014404296875, 0.042449951171875, 0.01358795166015625, 0.051910400390625, -0.0275421142578125, 0.07135009765625, 0.0302734375, -0.0225982666015625, -0.0020904541015625, -0.06719970703125, -0.07525634765625, -0.07098388671875, -0.052215576171875, -0.058380126953125, 0.0521240234375, 0.0206298828125, 0.0643310546875, 0.061126708984375, 0.020843505859375, 0.0175628662109375, 0.0281219482421875, -0.01389312744140625, 0.0161285400390625, -0.025634765625, 0.024810791015625, 0.06903076171875, -0.083984375, 0.01568603515625, -0.02191162109375, 0.01560211181640625, 0.0006465911865234375, 0.0286865234375, 0.06561279296875, -0.05682373046875, 0.0006685256958007812, 0.050445556640625, -0.01038360595703125, -0.0189666748046875, 0.0227508544921875, 0.0657958984375, -0.07940673828125, -0.051727294921875, 0.05792236328125, -0.0301666259765625, -0.07635498046875, 0.047454833984375, -0.01702880859375, 0.0455322265625, 0.0054168701171875, -0.0132598876953125, 0.03143310546875, 0.0171051025390625, -0.0301055908203125, -0.0007605552673339844, -0.0202789306640625, 0.038909912109375, 0.013458251953125, 0.0302581787109375, -0.0021076202392578125, 0.01236724853515625, 0.0266876220703125, 0.0079803466796875, 0.02960205078125, 0.0149383544921875, -0.010223388671875, -0.021636962890625, 0.0223541259765625, 0.03692626953125, 0.009124755859375, 0.026031494140625, 0.01062774658203125, -0.00569915771484375, 0.0305938720703125, -0.0178680419921875, 0.052398681640625, -0.050079345703125, 0.0203704833984375, 0.011444091796875, 0.0251007080078125, 0.031219482421875, -0.00540924072265625, 0.0283660888671875, -0.0097808837890625, -0.0108184814453125, 0.0164947509765625, 0.020538330078125, -0.0034961700439453125, -0.022857666015625, -0.0254364013671875, -0.004772186279296875, 0.0140838623046875, -0.01491546630859375, 0.033233642578125, 0.014801025390625, -0.04425048828125, -0.00568389892578125, -0.0125885009765625, 0.03717041015625, -0.003086090087890625, -0.040771484375, 0.0263519287109375, 0.0411376953125, 0.004680633544921875, 0.01319122314453125, 0.0150909423828125, 0.00045752525329589844, 0.06427001953125, 0.06256103515625, 0.010040283203125, -0.047698974609375, -0.04412841796875, 0.01056671142578125, 0.001995086669921875, -0.002834320068359375, -0.000018417835235595703, -0.022430419921875, -0.00769805908203125, 0.0338134765625, -0.017822265625, -0.004055023193359375, 0.016632080078125, 0.02764892578125, 0.02044677734375, 0.020355224609375, -0.0213775634765625, -0.02374267578125, -0.023834228515625, 0.035980224609375, 0.0155029296875, 0.031829833984375, -0.02008056640625, 0.0350341796875, -0.031585693359375, 0.0035648345947265625, 0.0179290771484375, 0.0308685302734375, -0.0308380126953125, -0.02532958984375, -0.00931549072265625, -0.06622314453125, -0.0194091796875, 0.03204345703125, -0.034759521484375, 0.006931304931640625, 0.02642822265625, 0.04608154296875, -0.0360107421875, -0.024139404296875, 0.0657958984375, -0.017547607421875, -0.051666259765625, -0.0102996826171875, -0.0197906494140625, 0.01287078857421875, -0.00027942657470703125, 0.0207061767578125, 0.0572509765625, -0.01113128662109375, -0.0190277099609375, 0.04278564453125, -0.00498199462890625, 0.02764892578125, 0.0209503173828125, -0.0006341934204101562, 0.00540924072265625, 0.031585693359375, 0.03155517578125, 0.019500732421875, 0.0018634796142578125, 0.0184783935546875, -0.0465087890625, -0.010650634765625, 0.0191497802734375, 0.0273284912109375, -0.00577545166015625, -0.00469207763671875, -0.0008311271667480469, 0.01381683349609375, -0.01012420654296875, -0.02642822265625, 0.034912109375, -0.01708984375, -0.04541015625, -0.042724609375, -0.0599365234375, 0.07867431640625, 0.0599365234375, 0.0513916015625, -0.0189666748046875, 0.061309814453125, -0.0025348663330078125, 0.038604736328125, -0.04144287109375, -0.01125335693359375, 0.02239990234375, -0.00586700439453125, 0.01464080810546875, -0.00827789306640625, -0.040069580078125, 0.025634765625, 0.015625, 0.00525665283203125, -0.0008378028869628906, -0.0048980712890625, 0.032379150390625, 0.024993896484375, 0.031036376953125, -0.0211334228515625, -0.047515869140625, -0.034027099609375, 0.01303863525390625, -0.0003294944763183594, 0.028045654296875, -0.0263824462890625, -0.030426025390625, 0.01271820068359375, -0.036376953125, 0.020355224609375, 0.0093841552734375, 0.01074981689453125, 0.0221405029296875, 0.02764892578125, -0.01116180419921875, -0.0361328125, -0.0252838134765625, -0.00897979736328125, 0.01428985595703125, -0.013580322265625, -0.00920867919921875, -0.00344085693359375, 0.00754547119140625, 0.02203369140625, 0.03399658203125, -0.036224365234375, 0.01143646240234375, 0.03173828125, -0.01152801513671875, 0.03936767578125, -0.036529541015625, 0.006931304931640625, -0.0140838623046875, -0.0179595947265625, 0.01262664794921875, 0.0030384063720703125, -0.0026226043701171875, 0.036895751953125, -0.0036296844482421875, 0.034820556640625, 0.0081939697265625, 0.0016546249389648438, -0.00650787353515625, -0.0347900390625, -0.01708984375, 0.0185089111328125, -0.016387939453125, -0.01094818115234375, -0.0162506103515625, -0.0242462158203125, -0.0131683349609375, -0.06207275390625, 0.02899169921875, -0.02703857421875, -0.0007071495056152344, 0.00910186767578125, -0.014373779296875, -0.037872314453125, -0.01058197021484375, -0.0028285980224609375, 0.0377197265625, 0.0273590087890625, -0.01092529296875, 0.033660888671875, -0.0208587646484375, -0.049591064453125, -0.0611572265625, 0.0282135009765625, -0.09674072265625, -0.028045654296875, 0.00771331787109375, -0.023406982421875, -0.0156402587890625, -0.05267333984375, -0.1087646484375, 0.055267333984375, -0.024993896484375, -0.0306854248046875, -0.01560211181640625, -0.04595947265625, -0.01279449462890625, 0.0166778564453125, -0.020721435546875, -0.0116729736328125, -0.0264434814453125, 0.05902099609375, -0.01317596435546875, 0.0325927734375, -0.005340576171875, -0.0255889892578125, -0.007579803466796875, 0.00939178466796875, 0.0170745849609375, -0.00171661376953125, -0.00907135009765625, 0.01641845703125, 0.007335662841796875, 0.040435791015625, -0.01087188720703125, 0.01349639892578125, 0.004734039306640625, -0.01168060302734375, 0.0109405517578125, 0.01108551025390625, -0.03118896484375, -0.0172576904296875, 0.052703857421875, 0.037841796875, 0.017974853515625, -0.0027713775634765625, -0.045257568359375, -0.052001953125, 0.01519012451171875, 0.0066375732421875, 0.0035419464111328125, -0.044342041015625, 0.0157318115234375, 0.0263214111328125, 0.01015472412109375, 0.007904052734375, 0.021209716796875, 0.009185791015625, -0.027496337890625, 0.0135040283203125, -0.0377197265625, -0.0181884765625, -0.0687255859375, 0.058349609375, -0.02606201171875, 0.0132598876953125, 0.00916290283203125, 0.041290283203125, 0.0273895263671875, 0.04620361328125, 0.017822265625, 0.0212554931640625, -0.040771484375, 0.0023365020751953125, 0.012451171875, -0.0011730194091796875, -0.0111083984375, -0.01416778564453125, 0.0299835205078125, 0.003894805908203125, -0.020050048828125, 0.02001953125, 0.0247802734375, -0.0157318115234375, -0.04547119140625, -0.0014200210571289062, 0.00878143310546875, -0.0399169921875, -0.0494384765625, 0.056884765625, -0.005634307861328125, -0.03106689453125, -0.0051116943359375, 0.0233917236328125, 0.0308837890625, 0.039459228515625, 0.047821044921875, 0.0209197998046875, -0.00809478759765625, 0.028839111328125, 0.0038509368896484375, -0.00637054443359375 ]
e64447ca67ad534155847b363e0be614c6c5105e
Wordpress Stackexchange Q: How to check if feed URL was requested? I'm writing a plugin to block some pages to anonymous users on my site. I already blocked some pages but I can't get to identify the feed page my-wordpress-site.com/feed. I've tried: * *$GLOBALS['pagenow'] == 'feed' *is_feed() *is_page('feed') *checking on $_SERVER['REQUEST_URI'] and $_SERVER['PATH_INFO'] Any ideas on how to achieve that? A: You have not specified exactly when your code runs but you can hook into "request" to check the requested page: add_filter( 'request', function( $request ){ if( isset( $request['feed'] ) ){ //This is a feed request } return $request; }); When the requested page is a feed $request, which is an array of query variables, will contain an item called "feed" which is set with the name of the feed like "rss" for example. https://codex.wordpress.org/Plugin_API/Filter_Reference/request
Q: How to check if feed URL was requested? I'm writing a plugin to block some pages to anonymous users on my site. I already blocked some pages but I can't get to identify the feed page my-wordpress-site.com/feed. I've tried: * *$GLOBALS['pagenow'] == 'feed' *is_feed() *is_page('feed') *checking on $_SERVER['REQUEST_URI'] and $_SERVER['PATH_INFO'] Any ideas on how to achieve that? A: You have not specified exactly when your code runs but you can hook into "request" to check the requested page: add_filter( 'request', function( $request ){ if( isset( $request['feed'] ) ){ //This is a feed request } return $request; }); When the requested page is a feed $request, which is an array of query variables, will contain an item called "feed" which is set with the name of the feed like "rss" for example. https://codex.wordpress.org/Plugin_API/Filter_Reference/request A: You're not specifying where you are hooking your action, but most likely you are hooking too soon, because is_feed should really do the trick. Let's take a look at the WordPress hook order. As you can see the usual hook for plugins is init. However, at that point WP is not yet fully loaded. Only after the wp_loaded hook, WP starts processing the query. Because is_feed is a function of the $wp_query class it will not return true before this point. So, you can still hook the main function of your plugin into init, but you must make sure that inside that function you add an action to a later hook. The most logical hook is template_redirect, because what you want is to serve a different (empty) page to some users. It would amount to this: [inside your plugins main function] add_action ('template_redirect','wpse346949_redirect_feed'); [elsewhere in your plugin] function wpse346949_redirect_feed () { if (is_feed () && ( ... other conditions ... ) ) { wp_redirect (home_url ()); die; } } This will lead users to your homepage, but you can of course specify any other page, or even send them into the woods by not redirecting them at all and just cut off the page rendering.
wordpress
{ "language": "en", "length": 339, "provenance": "stackexchange_00019.jsonl.gz:497853", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/346949" }
[ 0.06494140625, 0.02362060546875, -0.00859832763671875, -0.0025177001953125, 0.0275726318359375, -0.03399658203125, 0.04840087890625, -0.05072021484375, -0.0110931396484375, 0.0014324188232421875, -0.042022705078125, 0.0122833251953125, -0.017608642578125, -0.011962890625, 0.0192413330078125, -0.046630859375, 0.007049560546875, 0.0142822265625, 0.028839111328125, -0.00919342041015625, 0.02984619140625, -0.0203094482421875, 0.0174560546875, 0.01042938232421875, 0.033355712890625, -0.01654052734375, 0.06988525390625, -0.0257720947265625, 0.03515625, -0.01369476318359375, 0.0293121337890625, -0.050628662109375, 0.004459381103515625, 0.0458984375, -0.0430908203125, -0.06011962890625, -0.037017822265625, 0.0307159423828125, -0.01654052734375, 0.0196075439453125, 0.05059814453125, -0.033355712890625, -0.006336212158203125, 0.014434814453125, 0.003368377685546875, -0.020843505859375, 0.053741455078125, -0.046295166015625, 0.0017099380493164062, 0.0665283203125, -0.0082244873046875, 0.003780364990234375, -0.02496337890625, 0.05108642578125, -0.00916290283203125, -0.02313232421875, 0.0014505386352539062, 0.0029048919677734375, 0.0122833251953125, -0.041656494140625, -0.01541900634765625, 0.00522613525390625, 0.0277862548828125, 0.035186767578125, -0.0151214599609375, -0.0165252685546875, -0.00934600830078125, 0.0408935546875, 0.001983642578125, -0.041229248046875, -0.01079559326171875, 0.0130462646484375, 0.00296783447265625, 0.01221466064453125, -0.0200653076171875, -0.05419921875, 0.0160369873046875, -0.05426025390625, -0.0005369186401367188, 0.034759521484375, -0.053802490234375, -0.0123443603515625, -0.06915283203125, 0.0258941650390625, -0.0225982666015625, 0.052337646484375, -0.0257568359375, -0.0113983154296875, -0.0196533203125, 0.01470947265625, -0.0294189453125, -0.0167694091796875, 0.022125244140625, 0.005107879638671875, -0.037109375, 0.01343536376953125, 0.044891357421875, 0.052490234375, -0.0117034912109375, -0.031341552734375, -0.013275146484375, -0.0232391357421875, -0.035919189453125, -0.0124359130859375, 0.0206146240234375, 0.038604736328125, 0.002689361572265625, 0.01519012451171875, 0.054656982421875, 0.007175445556640625, 0.001209259033203125, 0.041748046875, -0.028961181640625, 0.0082855224609375, -0.035125732421875, -0.0009226799011230469, -0.058074951171875, -0.02508544921875, -0.031890869140625, -0.00005936622619628906, 0.01371002197265625, 0.033355712890625, -0.010772705078125, -0.0295562744140625, 0.03173828125, 0.023040771484375, -0.0260772705078125, -0.01427459716796875, -0.03143310546875, 0.0186767578125, -0.00545501708984375, 0.0200347900390625, 0.0181884765625, 0.0228729248046875, -0.0189361572265625, -0.016357421875, 0.042724609375, -0.006664276123046875, -0.0036468505859375, 0.0006871223449707031, -0.0037975311279296875, -0.00971221923828125, 0.01319122314453125, -0.0305633544921875, -0.00428009033203125, 0.020904541015625, 0.023712158203125, 0.00909423828125, -0.00431060791015625, -0.033050537109375, -0.0012998580932617188, -0.0168609619140625, 0.027008056640625, 0.028350830078125, 0.01256561279296875, 0.016387939453125, 0.099365234375, -0.034942626953125, -0.0494384765625, -0.04144287109375, 0.0231781005859375, 0.0030307769775390625, 0.017669677734375, -0.041473388671875, -0.0279388427734375, -0.00823974609375, -0.0631103515625, -0.0019388198852539062, 0.0213470458984375, 0.01531219482421875, 0.0046844482421875, 0.0180511474609375, 0.02081298828125, 0.0194854736328125, 0.007495880126953125, 0.0012569427490234375, 0.028228759765625, 0.0108795166015625, 0.036773681640625, 0.0400390625, -0.00807952880859375, -0.00856781005859375, 0.10052490234375, -0.03753662109375, -0.068359375, 0.07135009765625, 0.019775390625, 0.059783935546875, -0.0022220611572265625, -0.004673004150390625, 0.083740234375, 0.03680419921875, 0.0151824951171875, 0.0167236328125, 0.004985809326171875, -0.057403564453125, 0.041900634765625, 0.004276275634765625, -0.002285003662109375, -0.0231170654296875, 0.0545654296875, 0.0042877197265625, -0.0138702392578125, -0.006072998046875, -0.07867431640625, -0.002376556396484375, -0.0204315185546875, 0.0258941650390625, 0.0123748779296875, 0.01334381103515625, -0.00647735595703125, -0.01511383056640625, -0.006633758544921875, -0.0271759033203125, -0.031707763671875, 0.0310821533203125, -0.021881103515625, -0.02020263671875, -0.03570556640625, 0.0216522216796875, -0.0386962890625, 0.0149688720703125, -0.052032470703125, 0.00177764892578125, 0.06182861328125, -0.0163116455078125, -0.01428985595703125, -0.0283966064453125, 0.03961181640625, 0.00539398193359375, -0.0210113525390625, 0.0234832763671875, 0.02252197265625, 0.033172607421875, -0.0033931732177734375, 0.01000213623046875, 0.012054443359375, -0.07696533203125, 0.0181121826171875, 0.04754638671875, 0.045562744140625, 0.0307464599609375, 0.0203857421875, 0.00415802001953125, 0.040069580078125, -0.09130859375, -0.00414276123046875, -0.01262664794921875, 0.024322509765625, 0.06365966796875, 0.01812744140625, -0.0033111572265625, -0.00598907470703125, -0.01715087890625, -0.005626678466796875, 0.0251007080078125, -0.00533294677734375, -0.006488800048828125, 0.0277099609375, 0.0205078125, -0.0175018310546875, 0.06744384765625, 0.0390625, 0.00821685791015625, 0.037689208984375, 0.0261077880859375, 0.061859130859375, 0.07733154296875, -0.0027866363525390625, -0.0183258056640625, -0.0102691650390625, 0.024993896484375, 0.00826263427734375, 0.022369384765625, 0.06744384765625, -0.01406097412109375, -0.02484130859375, -0.0213470458984375, 0.01174163818359375, 0.0164031982421875, -0.02435302734375, 0.0263519287109375, -0.054046630859375, -0.0200347900390625, -0.033782958984375, 0.007633209228515625, -0.01104736328125, 0.006252288818359375, 0.037811279296875, 0.037994384765625, 0.05450439453125, 0.022857666015625, -0.0155487060546875, 0.0546875, -0.0010995864868164062, -0.01122283935546875, 0.051025390625, -0.05352783203125, 0.051727294921875, -0.021331787109375, 0.051177978515625, 0.07293701171875, 0.0027484893798828125, -0.005626678466796875, -0.0038700103759765625, -0.01152801513671875, -0.0254364013671875, -0.008941650390625, -0.0182647705078125, 0.0156707763671875, -0.0780029296875, 0.024505615234375, -0.00475311279296875, -0.00801849365234375, -0.00472259521484375, -0.04656982421875, -0.01184844970703125, -0.0168304443359375, -0.080078125, -0.037994384765625, -0.0033092498779296875, -0.0465087890625, 0.004444122314453125, -0.0255584716796875, -0.01375579833984375, 0.0018787384033203125, -0.0099945068359375, -0.005218505859375, -0.0290985107421875, -0.0075836181640625, -0.0689697265625, -0.044036865234375, -0.05487060546875, 0.050201416015625, -0.01506805419921875, 0.0014677047729492188, 0.003437042236328125, 0.01397705078125, 0.003681182861328125, -0.03125, -0.0030689239501953125, 0.04278564453125, -0.007305145263671875, -0.04656982421875, -0.01561737060546875, -0.0160980224609375, 0.003780364990234375, -0.01458740234375, 0.06939697265625, 0.0242462158203125, -0.010162353515625, 0.018524169921875, -0.0237884521484375, -0.026123046875, 0.00012552738189697266, -0.01094818115234375, 0.0210418701171875, -0.055389404296875, -0.009368896484375, -0.0712890625, -0.035308837890625, -0.01172637939453125, -0.05010986328125, 0.0237274169921875, 0.0496826171875, 0.0006022453308105469, -0.024688720703125, 0.01372528076171875, -0.003284454345703125, -0.020843505859375, 0.061981201171875, -0.021484375, -0.006450653076171875, -0.032318115234375, -0.03485107421875, -0.03546142578125, 0.00782012939453125, -0.015289306640625, -0.007442474365234375, -0.00909423828125, 0.0007953643798828125, -0.01248931884765625, 0.00832366943359375, -0.0109710693359375, 0.003143310546875, -0.00910186767578125, -0.032012939453125, 0.0120849609375, -0.00469207763671875, 0.020294189453125, -0.006130218505859375, 0.012664794921875, 0.005626678466796875, -0.046539306640625, -0.038238525390625, 0.024383544921875, -0.03515625, -0.0828857421875, 0.055145263671875, -0.01264190673828125, -0.062042236328125, 0.01181793212890625, -0.00757598876953125, -0.024322509765625, 0.006683349609375, -0.062225341796875, -0.00879669189453125, -0.036590576171875, 0.0166015625, -0.061431884765625, -0.0013246536254882812, 0.0063934326171875, -0.012786865234375, -0.0293426513671875, -0.0146026611328125, -0.04095458984375, -0.0675048828125, 0.0042877197265625, -0.06304931640625, 0.0230865478515625, 0.03558349609375, -0.033538818359375, 0.016326904296875, 0.0265350341796875, 0.0303497314453125, 0.0171661376953125, 0.0121612548828125, -0.0308990478515625, 0.027557373046875, 0.0193634033203125, 0.013824462890625, -0.005321502685546875, 0.01488494873046875, 0.0164794921875, -0.0386962890625, 0.00588226318359375, -0.0305023193359375, -0.0238800048828125, 0.01049041748046875, -0.04443359375, -0.06585693359375, -0.03753662109375, -0.01250457763671875, -0.01800537109375, 0.018463134765625, -0.035064697265625, -0.0224609375, -0.06280517578125, 0.02069091796875, -0.0271759033203125, -0.005008697509765625, 0.02178955078125, 0.052215576171875, 0.0127410888671875, -0.00023186206817626953, -0.04595947265625, 0.007457733154296875, 0.0288238525390625, -0.0026798248291015625, 0.060760498046875, 0.0270233154296875, -0.0195770263671875, 0.0611572265625, 0.0018243789672851562, -0.0118865966796875, -0.013336181640625, 0.07403564453125, -0.006732940673828125, -0.020721435546875, 0.01531219482421875, -0.0255889892578125, -0.0167083740234375, 0.0419921875, -0.0310516357421875, 0.0024929046630859375, 0.0261993408203125, 0.0212249755859375, -0.0859375, 0.06683349609375, 0.01186370849609375, -0.0018596649169921875, 0.00945281982421875, 0.0007328987121582031, 0.004978179931640625, 0.0146636962890625, -0.0171051025390625, -0.00969696044921875, -0.01448822021484375, 0.0125885009765625, -0.014984130859375, 0.056121826171875, -0.0217437744140625, 0.060699462890625, -0.020233154296875, 0.0175323486328125, -0.05352783203125, 0.004886627197265625, 0.00385284423828125, -0.0286407470703125, -0.06500244140625, 0.00009238719940185547, -0.0113677978515625, -0.00359344482421875, 0.055755615234375, 0.0171051025390625, 0.0355224609375, -0.0004916191101074219, -0.01049041748046875, 0.0165863037109375, 0.00817108154296875, -0.0178680419921875, -0.0330810546875, 0.00974273681640625, -0.0180816650390625, -0.0095672607421875, -0.01568603515625, 0.0626220703125, -0.03515625, 0.0306549072265625, 0.00490570068359375, 0.02874755859375, 0.055145263671875, 0.0186004638671875, 0.0037059783935546875, 0.01479339599609375, -0.04827880859375, 0.030303955078125, 0.0013074874877929688, -0.01526641845703125, -0.02386474609375, -0.0017709732055664062, 0.01381683349609375, -0.00995635986328125, -0.0162200927734375, 0.015655517578125, -0.00785064697265625, -0.029327392578125, 0.035858154296875, 0.02972412109375, -0.00397491455078125, -0.059356689453125, -0.0499267578125, 0.03857421875, 0.038665771484375, -0.003566741943359375, -0.0012636184692382812, 0.0014295578002929688, -0.0017366409301757812, 0.04498291015625, -0.055877685546875, 0.042449951171875, 0.02899169921875, -0.039215087890625, -0.025634765625, 0.007015228271484375, -0.0095977783203125, 0.01447296142578125, -0.0263519287109375, -0.028717041015625, 0.036346435546875, -0.0250091552734375, 0.04754638671875, -0.040985107421875, -0.00740814208984375, 0.00325775146484375, -0.0013189315795898438, 0.05767822265625, 0.036407470703125, -0.048828125, -0.0043487548828125, -0.03607177734375, -0.01654052734375, -0.0080413818359375, 0.0033721923828125, -0.04443359375, 0.01224517822265625, -0.016082763671875, 0.022796630859375, 0.00441741943359375, 0.055694580078125, 0.03399658203125, 0.0205230712890625, -0.050079345703125, 0.0170440673828125, -0.00043320655822753906, 0.056915283203125, 0.0108795166015625, 0.03961181640625, 0.01708984375, 0.0287933349609375, -0.026214599609375, -0.02581787109375, 0.001071929931640625, -0.016204833984375, -0.01332855224609375, 0.002536773681640625, 0.009552001953125, 0.0197906494140625, 0.03240966796875, 0.0023517608642578125, -0.0028972625732421875, -0.0191497802734375, 0.0045318603515625, -0.014251708984375, 0.04730224609375, -0.0203704833984375, -0.01343536376953125, 0.0416259765625, -0.035308837890625, -0.031707763671875, 0.0001773834228515625, 0.008087158203125, 0.0164794921875, 0.00629425048828125, 0.00777435302734375, -0.004547119140625, -0.09210205078125, 0.08453369140625, 0.1004638671875, 0.0032253265380859375, 0.071044921875, 0.006900787353515625, 0.01031494140625, 0.0616455078125, 0.00919342041015625, -0.01102447509765625, 0.00238800048828125, 0.0308380126953125, -0.006587982177734375, 0.004016876220703125, 0.020751953125, -0.0106964111328125, -0.002704620361328125, 0.0244598388671875, 0.035919189453125, -0.052398681640625, -0.004062652587890625, 0.01482391357421875, -0.0059814453125, -0.003749847412109375, -0.02020263671875, 0.004688262939453125, -0.036956787109375, 0.052581787109375, -0.01148223876953125, -0.0199127197265625, 0.00952911376953125, -0.037017822265625, 0.0014553070068359375, 0.01055145263671875, 0.057952880859375, 0.00463104248046875, 0.0030364990234375, -0.08062744140625, 0.0035305023193359375, -0.054656982421875, -0.0164031982421875, 0.01250457763671875, -0.00005704164505004883, -0.006801605224609375, -0.01163482666015625, 0.031707763671875, -0.01580810546875, 0.0016736984252929688, 0.035369873046875, 0.01416015625, 0.0301666259765625, 0.039093017578125, 0.0105743408203125, -0.0146026611328125, 0.006481170654296875, -0.03485107421875, 0.0001842975616455078, -0.0232086181640625, 0.0163421630859375, 0.0007829666137695312, -0.0302886962890625, 0.01837158203125, -0.0226593017578125, -0.0230560302734375, -0.01456451416015625, -0.046295166015625, 0.07171630859375, -0.01959228515625, -0.0171661376953125, -0.0119171142578125, -0.0120697021484375, 0.01015472412109375, -0.007328033447265625, 0.025848388671875, -0.0266571044921875, -0.0019893646240234375, 0.0096282958984375, -0.014495849609375, -0.021270751953125, -0.028472900390625, -0.08782958984375, 0.058349609375, -0.018402099609375, 0.063232421875, -0.00780487060546875, 0.015289306640625, -0.005401611328125, -0.0021381378173828125, -0.050048828125, 0.0274658203125, 0.0182037353515625, 0.05279541015625, -0.047210693359375, -0.004039764404296875, 0.0115814208984375, 0.0186614990234375, 0.0557861328125, 0.015838623046875, -0.0232391357421875, -0.0187225341796875, 0.023834228515625, 0.01268768310546875, -0.0111846923828125, 0.04583740234375, -0.03277587890625, 0.02154541015625, 0.034912109375, -0.0699462890625, 0.01256561279296875, -0.0111236572265625, -0.0020809173583984375, 0.00492095947265625, -0.01111602783203125, -0.038482666015625, -0.01203155517578125, -0.010833740234375, -0.04510498046875, 0.00467681884765625, 0.0155181884765625, -0.0012159347534179688, -0.00203704833984375, 0.0276641845703125, 0.0023174285888671875, -0.0328369140625, -0.01555633544921875, -0.0242767333984375, 0.036102294921875, -0.0203704833984375, 0.027801513671875, 0.033721923828125, 0.0082855224609375, 0.03424072265625, -0.006214141845703125, 0.00800323486328125, -0.00608062744140625, 0.003452301025390625, 0.0537109375, 0.034942626953125, 0.00959014892578125, -0.0341796875, -0.031524658203125, 0.031097412109375, 0.05712890625, -0.03363037109375, -0.07305908203125, 0.0080718994140625, -0.0017490386962890625, 0.025177001953125, 0.046112060546875, 0.039825439453125, -0.017059326171875, 0.056976318359375, -0.039703369140625, -0.01947021484375, 0.032073974609375, 0.038238525390625, -0.008392333984375, -0.015625, -0.0214691162109375, -0.0216064453125, 0.0045013427734375, -0.01491546630859375, -0.003040313720703125, 0.0005083084106445312, -0.0146484375, 0.01224517822265625, -0.02581787109375, 0.0220947265625, 0.00037980079650878906, 0.01433563232421875, -0.00623321533203125, -0.00921630859375, -0.0188140869140625, -0.033416748046875, 0.0194244384765625, 0.029022216796875, 0.0003714561462402344, -0.0179901123046875, 0.006198883056640625, -0.03265380859375, -0.046905517578125, -0.006130218505859375, -0.0211029052734375, -0.04412841796875, -0.00495147705078125, -0.06634521484375, -0.0128173828125, -0.0107421875, -0.0222930908203125, 0.030517578125, -0.045867919921875, 0.0250244140625, -0.007518768310546875, 0.007411956787109375, 0.0123748779296875, -0.01306915283203125, 0.0101776123046875, -0.00397491455078125, 0.0023136138916015625, 0.012115478515625, -0.1121826171875, -0.0279541015625, -0.0254974365234375, -0.046539306640625, 0.02117919921875, 0.046356201171875, -0.007080078125, 0.0130462646484375, 0.04351806640625, 0.01210784912109375, 0.0234375, -0.0406494140625, 0.018157958984375, 0.027069091796875, 0.0170745849609375, 0.039154052734375, -0.0006847381591796875, -0.007354736328125, 0.0021076202392578125, 0.0291595458984375, 0.0278778076171875, 0.045928955078125, -0.01617431640625, 0.018402099609375, 0.01715087890625, -0.01715087890625, 0.0013294219970703125, -0.003528594970703125, 0.020751953125, -0.0379638671875, -0.0204315185546875, 0.0085296630859375, -0.07061767578125, -0.004791259765625, 0.03204345703125, -0.0125885009765625, 0.0005774497985839844, -0.03375244140625, 0.02471923828125, 0.0130767822265625, -0.0213165283203125, -0.04425048828125, -0.047119140625, 0.01372528076171875, 0.0186004638671875, -0.0207366943359375, 0.0204620361328125, 0.0120086669921875, 0.057098388671875, -0.03802490234375, 0.00061798095703125, -0.0131683349609375, -0.040985107421875, -0.055816650390625, 0.014068603515625, -0.0199737548828125, -0.00213623046875, 0.006103515625, -0.021636962890625, 0.0204925537109375, -0.00003600120544433594, 0.0300140380859375, 0.0005164146423339844, 0.0714111328125, 0.00307464599609375, -0.03961181640625, -0.00492095947265625, -0.027130126953125, -0.0233917236328125, -0.007144927978515625, 0.011627197265625, -0.00809478759765625, -0.0648193359375, -0.026611328125, -0.029815673828125, -0.0021228790283203125, -0.0013370513916015625, 0.005710601806640625, -0.056610107421875, 0.0025920867919921875, 0.015899658203125, -0.004413604736328125, -0.047271728515625, -0.00250244140625, 0.007549285888671875, -0.0572509765625, 0.0340576171875, -0.0545654296875, 0.02117919921875, 0.0193023681640625, 0.04412841796875, -0.033172607421875, 0.041778564453125, 0.01326751708984375, -0.029052734375, 0.038543701171875, -0.0093536376953125, 0.0211029052734375, -0.00815582275390625, -0.0333251953125, -0.0325927734375, -0.0081634521484375, 0.005924224853515625, 0.0024394989013671875, -0.022125244140625, -0.0117645263671875, 0.0077972412109375, 0.0068359375, -0.0283050537109375, 0.0059356689453125, -0.047119140625, -0.01280975341796875, 0.0079345703125, -0.01837158203125, -0.0022144317626953125, -0.03936767578125, -0.061859130859375, 0.0310821533203125, 0.01404571533203125, -0.035552978515625, -0.048583984375, 0.0298004150390625, 0.038604736328125, -0.045379638671875, -0.02777099609375, 0.0218505859375, -0.0482177734375, -0.004566192626953125, 0.021697998046875, 0.0023250579833984375, 0.0203094482421875, 0.0179595947265625, -0.049468994140625, 0.019989013671875, 0.0011453628540039062, 0.0172119140625, -0.054351806640625, 0.045440673828125, -0.03143310546875, 0.00681304931640625, -0.0228424072265625, 0.01922607421875, 0.026031494140625, 0.04681396484375, -0.0035610198974609375, -0.00444793701171875, -0.0367431640625, 0.00926971435546875, 0.0765380859375, 0.08642578125, 0.02392578125, -0.0538330078125, -0.036529541015625, -0.03155517578125, -0.0189971923828125, -0.01038360595703125, 0.04052734375, -0.0885009765625, -0.009613037109375, 0.01593017578125, -0.0144500732421875, -0.0205078125, -0.006771087646484375, -0.07537841796875, -0.0179290771484375, -0.051483154296875, -0.004180908203125, -0.019195556640625, -0.036376953125, 0.04046630859375, -0.04644775390625, -0.0293121337890625, 0.0013647079467773438, 0.03533935546875, -0.0135955810546875, -0.035430908203125, 0.0171966552734375, 0.019683837890625, -0.0300445556640625, 0.00968170166015625, 0.01157379150390625, 0.04461669921875, -0.022735595703125, -0.01837158203125, -0.00678253173828125, 0.0012044906616210938, -0.00594329833984375, -0.0191497802734375, 0.0061187744140625, -0.006755828857421875, -0.0260162353515625, 0.035247802734375, 0.003753662109375, 0.04193115234375, -0.00089263916015625, 0.036346435546875, 0.004825592041015625, -0.0219268798828125, 0.0426025390625, -0.066650390625, -0.005035400390625, 0.0236358642578125, -0.0266571044921875, -0.035369873046875, 0.02203369140625, -0.06951904296875, 0.0038814544677734375, -0.0021762847900390625 ]
5e662ef3954c594a911c00b613ca59e6bef6b404
Wordpress Stackexchange Q: How to find site id for one site on a multisite I am trying to migrate a site from a single site instance to a multisite instance. I m using instructions at: https://pressjitsu.com/blog/wordpress-single-site-multisite-migration/ It states to "...alter all the table name prefixes to wp_N_ where N is the site ID of the newly created site in the network. Renaming can be done using the RENAME TABLE query in a MySQL shell: RENAME TABLE oldprefix_posts TO wp_2_posts; RENAME TABLE oldprefix_postmeta TO wp_2_postmeta;" can i find the 'site ID' of a site on the multisite instance using the WP Dashboard? If not, how might I do it at the CL? A: From the Network Admin, go to Sites > All Sites. When click to edit a site you'll be taken to a URL like http://example.com/wp-admin/network/site-info.php?id=1 That number at the end is the site ID.
Q: How to find site id for one site on a multisite I am trying to migrate a site from a single site instance to a multisite instance. I m using instructions at: https://pressjitsu.com/blog/wordpress-single-site-multisite-migration/ It states to "...alter all the table name prefixes to wp_N_ where N is the site ID of the newly created site in the network. Renaming can be done using the RENAME TABLE query in a MySQL shell: RENAME TABLE oldprefix_posts TO wp_2_posts; RENAME TABLE oldprefix_postmeta TO wp_2_postmeta;" can i find the 'site ID' of a site on the multisite instance using the WP Dashboard? If not, how might I do it at the CL? A: From the Network Admin, go to Sites > All Sites. When click to edit a site you'll be taken to a URL like http://example.com/wp-admin/network/site-info.php?id=1 That number at the end is the site ID.
wordpress
{ "language": "en", "length": 143, "provenance": "stackexchange_00019.jsonl.gz:497854", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/346953" }
[ 0.003452301025390625, -0.00647735595703125, -0.005828857421875, 0.052398681640625, -0.015899658203125, -0.04241943359375, 0.040313720703125, -0.044830322265625, 0.01207733154296875, 0.008209228515625, -0.0188751220703125, -0.01325225830078125, -0.0151824951171875, -0.039306640625, 0.0007147789001464844, -0.029296875, 0.02203369140625, -0.01348114013671875, -0.004436492919921875, -0.007740020751953125, -0.02294921875, 0.0133056640625, -0.010711669921875, 0.0088958740234375, 0.035400390625, -0.0660400390625, 0.03375244140625, 0.0012378692626953125, 0.0164794921875, -0.0240478515625, 0.0269317626953125, 0.0298309326171875, 0.0174102783203125, -0.03631591796875, 0.0221099853515625, -0.0249786376953125, 0.03289794921875, -0.0266265869140625, 0.0114898681640625, 0.0284881591796875, 0.021392822265625, -0.016387939453125, 0.027374267578125, 0.00811004638671875, 0.01486968994140625, -0.04510498046875, 0.0394287109375, -0.0693359375, 0.007061004638671875, -0.033294677734375, -0.0026645660400390625, 0.002048492431640625, 0.020294189453125, -0.00711822509765625, -0.029632568359375, -0.01953125, 0.049560546875, -0.04681396484375, 0.0155792236328125, 0.005313873291015625, -0.0179443359375, 0.03759765625, 0.0159454345703125, -0.025146484375, -0.026397705078125, 0.0002968311309814453, 0.0252532958984375, 0.0006356239318847656, 0.0030612945556640625, -0.042724609375, 0.003570556640625, 0.0182342529296875, 0.04071044921875, 0.01250457763671875, -0.04718017578125, -0.038055419921875, 0.0210418701171875, -0.01019287109375, 0.0240325927734375, -0.027069091796875, 0.0013370513916015625, -0.0240631103515625, -0.054290771484375, -0.017822265625, 0.01209259033203125, 0.02386474609375, -0.0103759765625, -0.0141754150390625, -0.043548583984375, 0.0077362060546875, -0.0238800048828125, 0.0194854736328125, -0.043853759765625, -0.005809783935546875, -0.02593994140625, -0.0024547576904296875, 0.00408172607421875, 0.08074951171875, -0.031402587890625, 0.00754547119140625, -0.0274505615234375, -0.014434814453125, -0.026947021484375, -0.0294342041015625, 0.00867462158203125, 0.0293426513671875, 0.034698486328125, 0.017791748046875, 0.007083892822265625, -0.00775146484375, -0.016326904296875, 0.01157379150390625, -0.0016813278198242188, 0.015472412109375, -0.07025146484375, -0.00524139404296875, -0.0262908935546875, -0.041961669921875, -0.03729248046875, -0.04315185546875, -0.0294952392578125, 0.00018870830535888672, -0.0276031494140625, -0.0007534027099609375, -0.01084136962890625, -0.0474853515625, -0.01096343994140625, 0.035400390625, -0.0894775390625, -0.0027103424072265625, -0.047637939453125, 0.0162811279296875, 0.09381103515625, 0.07708740234375, 0.0279693603515625, -0.01415252685546875, 0.034271240234375, 0.063720703125, 0.02044677734375, 0.0013837814331054688, 0.0257720947265625, -0.023834228515625, -0.0186920166015625, 0.0031147003173828125, -0.01551055908203125, 0.0266265869140625, 0.0222320556640625, 0.0118408203125, -0.0190582275390625, -0.061737060546875, -0.00278472900390625, -0.0029964447021484375, 0.02490234375, -0.01495361328125, 0.0130462646484375, -0.06964111328125, 0.027587890625, -0.062347412109375, 0.028350830078125, -0.056793212890625, 0.00945281982421875, 0.001430511474609375, 0.0635986328125, 0.01367950439453125, 0.01036834716796875, 0.01861572265625, -0.0716552734375, -0.0157012939453125, 0.027587890625, 0.0125579833984375, -0.059814453125, -0.0028171539306640625, 0.0574951171875, 0.00412750244140625, -0.0178985595703125, 0.03399658203125, 0.0017633438110351562, -0.031829833984375, 0.0206451416015625, 0.046295166015625, 0.00591278076171875, -0.0184326171875, -0.00992584228515625, 0.031005859375, -0.058563232421875, 0.037628173828125, 0.02490234375, 0.08416748046875, 0.0096435546875, 0.0195465087890625, 0.05694580078125, -0.00626373291015625, -0.015899658203125, -0.00040602684020996094, 0.01165008544921875, -0.007843017578125, -0.0243377685546875, 0.00289154052734375, 0.0038909912109375, -0.0254364013671875, -0.0250701904296875, -0.005680084228515625, 0.0246124267578125, 0.0298614501953125, -0.0159149169921875, 0.02459716796875, -0.0221099853515625, 0.030853271484375, 0.0283355712890625, -0.0096893310546875, -0.002140045166015625, 0.00745391845703125, 0.0153961181640625, -0.0640869140625, -0.049713134765625, 0.0299224853515625, -0.021270751953125, -0.0290069580078125, -0.0301055908203125, -0.0178985595703125, -0.0684814453125, 0.03533935546875, -0.071044921875, -0.01305389404296875, 0.053741455078125, -0.01538848876953125, -0.0217437744140625, -0.02325439453125, 0.05792236328125, -0.0011873245239257812, 0.006778717041015625, 0.01287841796875, 0.0139923095703125, 0.0308990478515625, -0.002197265625, 0.0217132568359375, 0.0300140380859375, -0.03643798828125, -0.0012645721435546875, 0.0213470458984375, 0.037353515625, -0.00702667236328125, -0.003719329833984375, 0.00611114501953125, 0.01119232177734375, -0.032623291015625, 0.0121002197265625, -0.0032806396484375, 0.018280029296875, 0.08197021484375, -0.0093231201171875, 0.0304412841796875, 0.00792694091796875, -0.040496826171875, 0.0028934478759765625, 0.053009033203125, -0.044525146484375, -0.033416748046875, 0.011260986328125, -0.0260772705078125, 0.01324462890625, -0.046875, -0.01580810546875, -0.0189971923828125, 0.03656005859375, 0.05157470703125, 0.05523681640625, 0.042266845703125, -0.045684814453125, 0.04815673828125, 0.0090789794921875, -0.0111083984375, 0.004360198974609375, 0.02313232421875, 0.0112762451171875, 0.03497314453125, -0.035186767578125, -0.01004791259765625, 0.0272674560546875, 0.0263824462890625, -0.01947021484375, 0.047119140625, -0.05950927734375, -0.02362060546875, -0.018035888671875, -0.006801605224609375, -0.0215911865234375, -0.010528564453125, -0.042877197265625, -0.01568603515625, 0.00897216796875, 0.0271453857421875, -0.048370361328125, 0.018768310546875, -0.0186767578125, -0.0094451904296875, 0.05224609375, -0.040985107421875, 0.032745361328125, -0.032196044921875, 0.0299224853515625, 0.049896240234375, -0.00441741943359375, -0.0202178955078125, -0.01531219482421875, -0.0011310577392578125, -0.0035114288330078125, -0.021148681640625, -0.0208740234375, -0.0052032470703125, -0.061737060546875, 0.0184783935546875, 0.0095977783203125, 0.023956298828125, -0.01554107666015625, -0.045654296875, 0.003635406494140625, -0.02459716796875, -0.0784912109375, -0.051300048828125, -0.0714111328125, -0.0023326873779296875, -0.039642333984375, -0.01178741455078125, 0.0015716552734375, 0.043853759765625, -0.01141357421875, 0.00580596923828125, 0.037841796875, -0.037109375, -0.0714111328125, -0.04608154296875, -0.0872802734375, -0.03192138671875, -0.004642486572265625, 0.0123291015625, 0.0023860931396484375, -0.049835205078125, 0.0016336441040039062, -0.005596160888671875, 0.0164794921875, 0.04388427734375, -0.0196990966796875, -0.075439453125, -0.0290069580078125, -0.0362548828125, -0.00901031494140625, -0.0032939910888671875, 0.0005412101745605469, 0.0149993896484375, 0.017425537109375, -0.0086822509765625, 0.02398681640625, 0.0225372314453125, 0.0132598876953125, -0.0189361572265625, -0.014251708984375, 0.00927734375, -0.02227783203125, -0.045654296875, -0.050140380859375, -0.0474853515625, -0.062469482421875, 0.048919677734375, 0.042694091796875, 0.00817108154296875, -0.0018777847290039062, 0.01108551025390625, 0.0204620361328125, -0.0281829833984375, 0.0287322998046875, -0.03155517578125, 0.003326416015625, 0.01219940185546875, -0.00971221923828125, -0.0146484375, 0.047210693359375, -0.023529052734375, -0.0220489501953125, -0.0048675537109375, -0.01251220703125, -0.01137542724609375, -0.0321044921875, -0.01910400390625, -0.021514892578125, 0.0244293212890625, -0.05743408203125, 0.0264129638671875, -0.049896240234375, -0.0203094482421875, -0.0279998779296875, 0.088134765625, -0.0579833984375, -0.020416259765625, -0.001064300537109375, 0.0232086181640625, -0.00608062744140625, -0.046539306640625, -0.0152587890625, -0.0233001708984375, -0.07666015625, -0.0103607177734375, -0.0191192626953125, -0.02947998046875, -0.0008821487426757812, 0.0042266845703125, -0.0264129638671875, -0.058624267578125, 0.023681640625, -0.0220489501953125, 0.0112762451171875, 0.01052093505859375, -0.0076141357421875, 0.01241302490234375, -0.0161590576171875, -0.0303955078125, -0.0195159912109375, -0.0116119384765625, -0.0185546875, 0.047821044921875, 0.0139923095703125, -0.010406494140625, 0.02239990234375, 0.039276123046875, -0.0069732666015625, 0.00910186767578125, -0.03082275390625, 0.0087432861328125, -0.0296630859375, -0.01025390625, -0.03814697265625, -0.02069091796875, -0.0190582275390625, -0.07257080078125, -0.059906005859375, -0.037322998046875, -0.00554656982421875, 0.055450439453125, 0.01311492919921875, 0.0057525634765625, -0.0291748046875, -0.030120849609375, 0.018310546875, 0.02587890625, -0.015380859375, 0.025634765625, -0.0282745361328125, -0.025390625, 0.05908203125, -0.00007367134094238281, -0.0009794235229492188, 0.004917144775390625, 0.050750732421875, 0.002712249755859375, -0.028167724609375, -0.060577392578125, 0.01247406005859375, 0.0292816162109375, 0.00919342041015625, 0.04571533203125, 0.0200653076171875, 0.00926971435546875, 0.0148773193359375, -0.00522613525390625, -0.041595458984375, 0.0469970703125, -0.0008273124694824219, 0.0272216796875, -0.02056884765625, -0.004398345947265625, -0.0104827880859375, 0.00921630859375, 0.00496673583984375, -0.01031494140625, -0.0148468017578125, -0.006450653076171875, 0.0335693359375, -0.007781982421875, 0.0020160675048828125, -0.047088623046875, -0.03173828125, 0.007083892822265625, -0.01312255859375, -0.006549835205078125, 0.007686614990234375, 0.0004711151123046875, -0.00867462158203125, 0.0305023193359375, 0.0138702392578125, -0.019195556640625, 0.01259613037109375, -0.032867431640625, 0.0172271728515625, 0.006961822509765625, -0.02703857421875, -0.00919342041015625, -0.022857666015625, 0.1015625, 0.00693511962890625, -0.03778076171875, 0.047515869140625, -0.03564453125, -0.017669677734375, 0.0440673828125, -0.00029778480529785156, -0.00234222412109375, 0.005588531494140625, -0.041595458984375, -0.008087158203125, -0.000025153160095214844, -0.0300140380859375, -0.038421630859375, -0.0276031494140625, -0.0223236083984375, -0.005084991455078125, 0.04888916015625, 0.01378631591796875, -0.00431060791015625, 0.031524658203125, -0.0272674560546875, 0.04327392578125, 0.025634765625, 0.031097412109375, -0.0133056640625, 0.006191253662109375, -0.0002739429473876953, 0.0124664306640625, 0.0084075927734375, -0.01971435546875, 0.013153076171875, 0.034576416015625, 0.057861328125, 0.03009033203125, -0.003833770751953125, -0.03955078125, -0.06634521484375, -0.01203155517578125, 0.06207275390625, -0.01068115234375, -0.08172607421875, -0.030181884765625, 0.00359344482421875, 0.01313018798828125, -0.03875732421875, 0.0255889892578125, -0.03460693359375, -0.0311737060546875, -0.03057861328125, -0.015625, 0.0052490234375, -0.055206298828125, -0.03863525390625, -0.0022678375244140625, -0.0291748046875, -0.03961181640625, 0.018798828125, -0.0008440017700195312, -0.003582000732421875, -0.0189666748046875, 0.01001739501953125, -0.0069580078125, 0.048095703125, -0.0382080078125, -0.0277557373046875, 0.01239013671875, 0.0085906982421875, 0.0323486328125, -0.00814056396484375, -0.0057220458984375, -0.00399017333984375, -0.01016998291015625, -0.013702392578125, 0.06597900390625, 0.0174560546875, -0.025634765625, -0.0287322998046875, -0.0246429443359375, 0.02001953125, -0.0239410400390625, 0.0179595947265625, 0.00046515464782714844, 0.00965118408203125, -0.0157318115234375, -0.032684326171875, -0.04052734375, 0.05181884765625, 0.040130615234375, 0.032379150390625, 0.040191650390625, 0.06170654296875, 0.028839111328125, -0.034515380859375, 0.01499176025390625, -0.012664794921875, -0.00939178466796875, -0.018585205078125, 0.01114654541015625, -0.006908416748046875, 0.0142669677734375, -0.01192474365234375, 0.0170745849609375, -0.0092010498046875, -0.00978851318359375, -0.0227203369140625, -0.04974365234375, -0.0211334228515625, 0.037811279296875, -0.0308380126953125, -0.028106689453125, 0.00878143310546875, 0.0124053955078125, 0.03826904296875, -0.032196044921875, -0.014373779296875, -0.0262298583984375, 0.0445556640625, -0.038665771484375, 0.055572509765625, 0.06756591796875, -0.010040283203125, 0.034515380859375, 0.00476837158203125, -0.0169219970703125, 0.02532958984375, -0.01346588134765625, -0.0310211181640625, -0.0174560546875, -0.0020809173583984375, -0.00418853759765625, 0.01302337646484375, 0.0150299072265625, -0.007648468017578125, -0.020263671875, -0.01116943359375, 0.0145721435546875, -0.00012683868408203125, 0.003688812255859375, 0.0101318359375, -0.00891876220703125, -0.01161956787109375, -0.0116119384765625, -0.0161590576171875, -0.0117950439453125, 0.0171051025390625, 0.0203857421875, -0.0294036865234375, 0.0025882720947265625, 0.016754150390625, -0.006961822509765625, -0.022613525390625, 0.0273284912109375, 0.0192718505859375, 0.0176849365234375, 0.007965087890625, -0.0192413330078125, 0.035491943359375, -0.040740966796875, -0.029144287109375, 0.006069183349609375, -0.028472900390625, -0.06964111328125, 0.0098419189453125, -0.020111083984375, 0.02581787109375, 0.030059814453125, 0.005001068115234375, 0.032379150390625, 0.032440185546875, 0.005950927734375, 0.0026302337646484375, -0.00789642333984375, 0.0015859603881835938, -0.010162353515625, 0.0007557868957519531, 0.0015211105346679688, -0.0231475830078125, -0.01041412353515625, 0.006862640380859375, -0.04107666015625, -0.0081939697265625, -0.01241302490234375, -0.0159454345703125, 0.033172607421875, -0.03277587890625, 0.0121917724609375, 0.04840087890625, 0.05841064453125, -0.00823211669921875, -0.004878997802734375, 0.0027904510498046875, -0.0794677734375, -0.0631103515625, 0.00533294677734375, -0.0513916015625, 0.00213623046875, 0.00508880615234375, -0.045196533203125, 0.06353759765625, 0.029083251953125, -0.007610321044921875, 0.010101318359375, 0.0287933349609375, -0.05792236328125, -0.004543304443359375, -0.019775390625, 0.021697998046875, -0.02410888671875, 0.032379150390625, -0.0026531219482421875, 0.00374603271484375, 0.0284271240234375, 0.01007843017578125, 0.0833740234375, 0.02813720703125, -0.054443359375, -0.005962371826171875, 0.0176849365234375, 0.013580322265625, -0.0164642333984375, 0.0640869140625, -0.0122222900390625, 0.06103515625, 0.04315185546875, -0.047821044921875, 0.019744873046875, 0.0245208740234375, -0.028778076171875, 0.0210418701171875, 0.02642822265625, 0.023040771484375, 0.006252288818359375, -0.031829833984375, -0.0257720947265625, 0.00812530517578125, 0.0167999267578125, 0.000036597251892089844, 0.019744873046875, 0.0170745849609375, -0.00922393798828125, 0.01248931884765625, 0.048675537109375, -0.03533935546875, 0.0457763671875, -0.0175628662109375, 0.0172576904296875, 0.05377197265625, 0.02838134765625, 0.0146026611328125, 0.037567138671875, 0.00876617431640625, 0.0238037109375, -0.0098114013671875, 0.0579833984375, 0.03765869140625, 0.03466796875, -0.041839599609375, -0.03375244140625, 0.0292205810546875, 0.08087158203125, -0.0240936279296875, -0.0097198486328125, 0.0181427001953125, -0.00896453857421875, 0.0025959014892578125, 0.00853729248046875, 0.05322265625, 0.0261077880859375, -0.0030841827392578125, 0.0007696151733398438, -0.0033168792724609375, 0.0159454345703125, 0.01122283935546875, 0.016876220703125, 0.0259552001953125, -0.01215362548828125, -0.007251739501953125, -0.06011962890625, 0.033660888671875, 0.00046372413635253906, 0.030120849609375, 0.01541900634765625, 0.06817626953125, 0.0386962890625, -0.0203704833984375, -0.01461029052734375, 0.027679443359375, -0.00040841102600097656, 0.0205841064453125, -0.041412353515625, -0.045623779296875, 0.039947509765625, 0.04583740234375, 0.0335693359375, 0.045013427734375, 0.0694580078125, 0.02935791015625, -0.0282440185546875, -0.006633758544921875, 0.020721435546875, -0.02996826171875, 0.05938720703125, -0.0394287109375, 0.019195556640625, -0.0250091552734375, -0.03192138671875, -0.0267333984375, 0.035675048828125, -0.002147674560546875, -0.01123046875, 0.03570556640625, -0.00075531005859375, -0.01458740234375, 0.032470703125, 0.0188140869140625, 0.034271240234375, 0.011322021484375, -0.06494140625, -0.0185546875, -0.030914306640625, -0.003276824951171875, 0.004276275634765625, 0.0343017578125, 0.03045654296875, -0.0269927978515625, -0.0160064697265625, 0.0157012939453125, 0.010345458984375, -0.0148162841796875, -0.02032470703125, 0.04058837890625, 0.0438232421875, 0.017425537109375, -0.040771484375, -0.033935546875, 0.0102996826171875, 0.015472412109375, 0.0035686492919921875, 0.040985107421875, 0.00728607177734375, 0.01849365234375, -0.005126953125, 0.018951416015625, -0.033233642578125, -0.0171966552734375, 0.026214599609375, -0.005596160888671875, 0.00868988037109375, 0.0051116943359375, -0.051300048828125, 0.040863037109375, 0.0186614990234375, 0.0019741058349609375, 0.026702880859375, -0.0027313232421875, 0.002105712890625, 0.00814056396484375, 0.0295867919921875, -0.0115509033203125, -0.0278167724609375, -0.042999267578125, -0.0204315185546875, 0.05328369140625, 0.04132080078125, -0.009796142578125, 0.0281829833984375, 0.00684356689453125, -0.02178955078125, 0.022552490234375, -0.051025390625, 0.037567138671875, 0.0455322265625, -0.0281982421875, -0.0155029296875, 0.019775390625, -0.004642486572265625, -0.00399017333984375, 0.02142333984375, 0.01219940185546875, 0.0257720947265625, 0.007617950439453125, 0.03790283203125, 0.01654052734375, 0.040771484375, -0.01364898681640625, 0.0157012939453125, 0.02764892578125, 0.015960693359375, 0.020477294921875, -0.032989501953125, -0.038055419921875, -0.045074462890625, 0.0217437744140625, 0.045623779296875, 0.006092071533203125, 0.03021240234375, -0.040679931640625, -0.028564453125, 0.04901123046875, 0.0010004043579101562, -0.01505279541015625, 0.03240966796875, -0.038665771484375, -0.04034423828125, 0.008514404296875, -0.0155792236328125, -0.01334381103515625, -0.00675201416015625, -0.0195465087890625, -0.023834228515625, -0.051055908203125, 0.0247955322265625, -0.0204010009765625, -0.00745391845703125, 0.02178955078125, 0.0038852691650390625, 0.0231170654296875, -0.024078369140625, -0.0255279541015625, 0.01776123046875, -0.019775390625, -0.0155487060546875, 0.024688720703125, -0.02947998046875, -0.033905029296875, -0.0347900390625, 0.0216217041015625, -0.07476806640625, -0.02142333984375, -0.02874755859375, 0.0038242340087890625, 0.00478363037109375, -0.04901123046875, -0.07672119140625, 0.0384521484375, -0.0262603759765625, -0.0261688232421875, -0.07537841796875, -0.0501708984375, -0.0034694671630859375, 0.01007080078125, -0.0491943359375, -0.01006317138671875, -0.057647705078125, 0.08013916015625, 0.0243377685546875, -0.0017642974853515625, 0.0260009765625, -0.01544189453125, -0.038665771484375, 0.029541015625, 0.03485107421875, 0.04248046875, 0.044647216796875, -0.0275421142578125, 0.035675048828125, 0.045135498046875, -0.039276123046875, -0.0426025390625, -0.0174713134765625, -0.022125244140625, -0.018798828125, 0.0196533203125, -0.048858642578125, -0.0183258056640625, 0.08917236328125, 0.1116943359375, 0.029388427734375, -0.033050537109375, -0.0201416015625, -0.0267791748046875, -0.036041259765625, -0.048248291015625, 0.0262451171875, -0.09124755859375, -0.0306549072265625, -0.01036834716796875, -0.0270233154296875, 0.034912109375, -0.0084991455078125, -0.023712158203125, 0.028472900390625, 0.0088348388671875, -0.01812744140625, -0.04278564453125, 0.046844482421875, 0.04071044921875, -0.054290771484375, -0.02960205078125, -0.01287841796875, -0.00803375244140625, -0.0079345703125, -0.08721923828125, -0.0230255126953125, -0.0248870849609375, 0.00684356689453125, 0.0111236572265625, -0.006587982177734375, 0.01351165771484375, 0.0034923553466796875, -0.01068115234375, -0.0021381378173828125, 0.019012451171875, -0.005611419677734375, 0.0233612060546875, 0.00182342529296875, 0.0182037353515625, -0.0149383544921875, 0.049713134765625, 0.0035991668701171875, 0.06787109375, -0.00879669189453125, 0.0650634765625, -0.03790283203125, -0.01546478271484375, -0.0202178955078125, -0.0223236083984375, -0.00115966796875, 0.046112060546875, 0.015594482421875, -0.046783447265625, 0.034759521484375, -0.004848480224609375, 0.0472412109375, 0.0159759521484375 ]
447b7c03e554590177eeaf908c4415cf0972e97e
Wordpress Stackexchange Q: How can I access core/paragraph textColor in a block template I am trying to set the default textColor of an Innerblocks => paragraph in my Gutenberg block plugin. The problem seems to be that placeholder is an attribute but textColor is passed as a prop https://github.com/WordPress/gutenberg/blob/master/packages/block-library/src/paragraph/edit.js Wondering if anyone has figured out how to set this. Or if it is not possible. The documentation does not seem to cover this https://developer.wordpress.org/block-editor/developers/block-api/block-templates/ <InnerBlocks template={[ ["core/paragraph", { placeholder: "Enter side content...", textColor: '#EF4A23' }] ]} /> A: As of the end 2020, I have found that the best way to find attributes related to a core block is to inspect it with the react developer tools. Under the components tab, search for [BLOCK_NAME]Edit to find the editing component, where [BLOCK_NAME] is something like "Paragraph", "Heading" or "Button". Then on the right side in the inspector you can see the related attributes. To answer the original question, at the current moment, the attribute is textColor. const TEMPLATE = [ [ 'core/paragraph', { textColor: '[YOUR-COLOR-SLUG]', }, ] ] In my case entering an hexadecimal value doesn't seem to work. But this might be because I have disabled the custom color selector globally.
Q: How can I access core/paragraph textColor in a block template I am trying to set the default textColor of an Innerblocks => paragraph in my Gutenberg block plugin. The problem seems to be that placeholder is an attribute but textColor is passed as a prop https://github.com/WordPress/gutenberg/blob/master/packages/block-library/src/paragraph/edit.js Wondering if anyone has figured out how to set this. Or if it is not possible. The documentation does not seem to cover this https://developer.wordpress.org/block-editor/developers/block-api/block-templates/ <InnerBlocks template={[ ["core/paragraph", { placeholder: "Enter side content...", textColor: '#EF4A23' }] ]} /> A: As of the end 2020, I have found that the best way to find attributes related to a core block is to inspect it with the react developer tools. Under the components tab, search for [BLOCK_NAME]Edit to find the editing component, where [BLOCK_NAME] is something like "Paragraph", "Heading" or "Button". Then on the right side in the inspector you can see the related attributes. To answer the original question, at the current moment, the attribute is textColor. const TEMPLATE = [ [ 'core/paragraph', { textColor: '[YOUR-COLOR-SLUG]', }, ] ] In my case entering an hexadecimal value doesn't seem to work. But this might be because I have disabled the custom color selector globally.
wordpress
{ "language": "en", "length": 199, "provenance": "stackexchange_00019.jsonl.gz:497878", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/347021" }
[ -0.06549072265625, -0.0231781005859375, -0.046112060546875, 0.008636474609375, -0.0489501953125, -0.00252532958984375, -0.0311431884765625, 0.0105438232421875, -0.0003731250762939453, 0.03271484375, -0.038848876953125, -0.0167083740234375, 0.00803375244140625, -0.00615692138671875, -0.005886077880859375, -0.029632568359375, 0.030914306640625, -0.016876220703125, 0.007167816162109375, 0.007389068603515625, -0.0026187896728515625, 0.01495361328125, -0.0164642333984375, 0.0467529296875, 0.043670654296875, -0.0980224609375, 0.09698486328125, -0.005466461181640625, 0.05072021484375, -0.0225830078125, 0.038665771484375, -0.002384185791015625, 0.00862884521484375, 0.0249176025390625, -0.0287628173828125, -0.0259857177734375, 0.005939483642578125, -0.0007176399230957031, -0.022369384765625, 0.038726806640625, 0.04486083984375, -0.00264739990234375, -0.05035400390625, 0.0543212890625, -0.052520751953125, -0.0273284912109375, 0.0242156982421875, -0.00844573974609375, 0.03607177734375, 0.019378662109375, -0.03582763671875, 0.03460693359375, -0.035491943359375, 0.005458831787109375, -0.0075531005859375, -0.017730712890625, -0.028717041015625, 0.0253143310546875, 0.0183258056640625, 0.046783447265625, 0.007694244384765625, 0.026214599609375, -0.01953125, -0.032745361328125, 0.03350830078125, -0.032928466796875, 0.030609130859375, 0.0310211181640625, -0.01328277587890625, 0.04595947265625, 0.02496337890625, 0.0156707763671875, -0.0181427001953125, -0.0848388671875, 0.00907135009765625, 0.0704345703125, -0.0399169921875, -0.039703369140625, -0.00649261474609375, -0.00843048095703125, -0.005649566650390625, -0.0248870849609375, 0.0290985107421875, -0.02081298828125, 0.023162841796875, 0.0240936279296875, -0.00603485107421875, -0.01531219482421875, -0.0185699462890625, 0.00484466552734375, -0.019500732421875, 0.0098419189453125, -0.024322509765625, 0.0026950836181640625, -0.0171966552734375, -0.032196044921875, -0.01090240478515625, -0.01259613037109375, -0.018218994140625, 0.02801513671875, -0.01494598388671875, -0.036285400390625, 0.061553955078125, -0.0233306884765625, 0.007053375244140625, 0.032257080078125, -0.0333251953125, 0.00893402099609375, 0.03985595703125, 0.037567138671875, 0.00713348388671875, -0.025482177734375, -0.02130126953125, 0.00010401010513305664, -0.0266265869140625, 0.00876617431640625, -0.03277587890625, -0.018280029296875, -0.02020263671875, -0.00942230224609375, 0.0149078369140625, 0.037933349609375, 0.04437255859375, -0.0396728515625, -0.02789306640625, -0.0247955322265625, -0.021942138671875, -0.0478515625, 0.001850128173828125, -0.01548004150390625, -0.0235137939453125, 0.046295166015625, 0.0604248046875, 0.03118896484375, 0.0126800537109375, -0.00293731689453125, 0.002429962158203125, 0.005275726318359375, 0.009033203125, -0.0312347412109375, 0.031829833984375, 0.00644683837890625, 0.0196075439453125, 0.0228729248046875, 0.01503753662109375, 0.01214599609375, 0.026885986328125, 0.0167236328125, -0.005405426025390625, -0.051513671875, 0.0303192138671875, -0.04144287109375, 0.01145172119140625, 0.01366424560546875, 0.002040863037109375, -0.0145263671875, 0.03680419921875, -0.03338623046875, -0.0099029541015625, -0.032501220703125, 0.0276947021484375, -0.0131988525390625, 0.0168609619140625, 0.048309326171875, 0.01073455810546875, 0.016510009765625, -0.0189361572265625, -0.01279449462890625, 0.022918701171875, 0.0252227783203125, -0.02557373046875, 0.005855560302734375, -0.0168914794921875, -0.012786865234375, -0.0167999267578125, -0.01494598388671875, 0.00797271728515625, 0.01160430908203125, 0.01561737060546875, 0.00522613525390625, -0.0266876220703125, -0.032867431640625, 0.048370361328125, -0.026580810546875, -0.0301513671875, 0.0021457672119140625, -0.0258026123046875, 0.0677490234375, 0.06085205078125, 0.0232696533203125, -0.026947021484375, -0.07305908203125, -0.057952880859375, 0.04736328125, -0.0229949951171875, 0.00980377197265625, -0.0208282470703125, 0.0487060546875, -0.023193359375, -0.044036865234375, 0.047943115234375, -0.0292510986328125, 0.02630615234375, -0.0706787109375, -0.03155517578125, -0.035125732421875, -0.016845703125, 0.0303497314453125, -0.03863525390625, -0.0220947265625, 0.01247406005859375, -0.06842041015625, 0.0246124267578125, -0.032623291015625, -0.01399993896484375, 0.00943756103515625, 0.018035888671875, 0.0264129638671875, 0.015350341796875, -0.007450103759765625, 0.039215087890625, -0.00795745849609375, 0.026824951171875, 0.04852294921875, 0.044952392578125, 0.0184173583984375, -0.0081634521484375, -0.00860595703125, 0.053070068359375, 0.0501708984375, -0.040069580078125, -0.035858154296875, 0.0291595458984375, 0.026611328125, -0.01155853271484375, 0.01383209228515625, 0.037261962890625, -0.0062255859375, 0.00972747802734375, 0.005054473876953125, 0.028564453125, 0.0274810791015625, -0.0237274169921875, -0.043670654296875, 0.111328125, 0.04644775390625, 0.0170440673828125, -0.039215087890625, 0.00487518310546875, 0.0026950836181640625, -0.009613037109375, -0.020904541015625, 0.043853759765625, -0.0235137939453125, 0.0011720657348632812, 0.0374755859375, 0.0211639404296875, -0.0243988037109375, -0.040863037109375, 0.0469970703125, 0.00424957275390625, 0.00908660888671875, -0.013214111328125, 0.0022449493408203125, 0.07965087890625, -0.006778717041015625, 0.055389404296875, 0.03704833984375, -0.039703369140625, 0.011199951171875, 0.02593994140625, -0.003692626953125, -0.007518768310546875, 0.032257080078125, 0.04388427734375, 0.033203125, -0.03082275390625, -0.0123291015625, 0.018524169921875, 0.046722412109375, -0.0202178955078125, 0.0217742919921875, -0.0794677734375, -0.006214141845703125, -0.0053253173828125, -0.056671142578125, -0.0477294921875, 0.006130218505859375, -0.004150390625, -0.017913818359375, 0.00678253173828125, 0.03619384765625, -0.0078277587890625, 0.00946807861328125, 0.047515869140625, -0.0164031982421875, 0.03125, -0.0694580078125, 0.033416748046875, -0.039459228515625, 0.08538818359375, 0.05914306640625, -0.059906005859375, 0.03875732421875, 0.0150299072265625, -0.01149749755859375, 0.019866943359375, -0.016357421875, -0.0208282470703125, -0.034210205078125, 0.007781982421875, 0.042144775390625, 0.019256591796875, -0.008697509765625, 0.007404327392578125, -0.03656005859375, -0.030792236328125, 0.0025119781494140625, -0.07958984375, -0.038330078125, 0.0035457611083984375, -0.10101318359375, 0.01027679443359375, -0.041534423828125, -0.056732177734375, -0.00057220458984375, 0.002758026123046875, 0.0004565715789794922, -0.04266357421875, -0.0175933837890625, -0.049591064453125, -0.07928466796875, -0.064697265625, -0.023223876953125, -0.01111602783203125, -0.0006113052368164062, -0.0033416748046875, 0.05767822265625, 0.01438140869140625, -0.0482177734375, -0.0069427490234375, -0.032257080078125, -0.00872039794921875, 0.006710052490234375, 0.04132080078125, -0.053497314453125, -0.002712249755859375, 0.018341064453125, 0.0111236572265625, 0.01800537109375, -0.024871826171875, 0.00647735595703125, -0.0037899017333984375, -0.00286102294921875, -0.0027008056640625, 0.00606536865234375, 0.0127105712890625, 0.0252838134765625, 0.01305389404296875, -0.016845703125, -0.041748046875, 0.01007080078125, -0.0411376953125, 0.0789794921875, 0.01099395751953125, 0.017608642578125, 0.04833984375, 0.017822265625, -0.00574493408203125, -0.0014247894287109375, 0.050262451171875, -0.036773681640625, 0.022613525390625, -0.0311737060546875, -0.022003173828125, -0.053802490234375, 0.00849151611328125, -0.018402099609375, 0.0257720947265625, -0.0091552734375, 0.0282440185546875, -0.0054473876953125, 0.01517486572265625, -0.05120849609375, 0.0104522705078125, 0.025360107421875, -0.01398468017578125, 0.01358795166015625, 0.0020847320556640625, -0.0070953369140625, 0.0161285400390625, 0.038299560546875, -0.007289886474609375, -0.01044464111328125, 0.0113067626953125, 0.0243072509765625, -0.050933837890625, -0.04156494140625, -0.032623291015625, 0.0098724365234375, -0.055328369140625, 0.0275115966796875, 0.0198211669921875, -0.03460693359375, -0.0095367431640625, -0.00435638427734375, -0.046142578125, -0.0275726318359375, 0.01434326171875, 0.026092529296875, -0.009765625, 0.027008056640625, -0.0197906494140625, 0.007762908935546875, -0.007671356201171875, -0.01444244384765625, -0.051300048828125, -0.0032711029052734375, -0.034423828125, 0.028076171875, 0.0213470458984375, 0.0002028942108154297, -0.0120086669921875, 0.0267791748046875, -0.0017423629760742188, 0.0506591796875, -0.004482269287109375, 0.0033512115478515625, 0.0238494873046875, -0.0201416015625, 0.0181884765625, -0.0177764892578125, 0.0099945068359375, 0.0109100341796875, -0.051116943359375, 0.03076171875, 0.01277923583984375, -0.0062255859375, 0.057708740234375, -0.03424072265625, -0.017120361328125, 0.011871337890625, -0.00917816162109375, 0.03265380859375, -0.018707275390625, 0.004058837890625, 0.0007414817810058594, -0.041656494140625, 0.04058837890625, 0.037384033203125, -0.01263427734375, -0.01513671875, 0.0245513916015625, 0.0175628662109375, -0.04364013671875, 0.06927490234375, 0.006317138671875, 0.039031982421875, 0.00301361083984375, 0.02862548828125, 0.0064697265625, -0.01535797119140625, 0.050262451171875, 0.01052093505859375, 0.0521240234375, -0.024688720703125, 0.02838134765625, -0.00972747802734375, -0.019744873046875, 0.031280517578125, 0.0123748779296875, -0.004024505615234375, 0.0361328125, -0.01004791259765625, 0.005970001220703125, -0.008636474609375, 0.034423828125, -0.0043792724609375, 0.00041937828063964844, -0.05352783203125, -0.02130126953125, 0.005924224853515625, -0.0019330978393554688, 0.01548004150390625, 0.0206451416015625, -0.018524169921875, 0.00598907470703125, 0.0152740478515625, -0.031890869140625, -0.002437591552734375, -0.0154266357421875, -0.004383087158203125, 0.0099945068359375, 0.0020351409912109375, -0.008453369140625, -0.01509857177734375, 0.002170562744140625, 0.07220458984375, -0.058380126953125, -0.060272216796875, -0.059600830078125, -0.0210113525390625, 0.0662841796875, 0.0626220703125, -0.047698974609375, 0.0175628662109375, 0.00891876220703125, -0.01145172119140625, 0.0199737548828125, -0.035491943359375, -0.003963470458984375, -0.037811279296875, 0.01151275634765625, -0.0006036758422851562, -0.00527191162109375, -0.040435791015625, 0.0694580078125, 0.035125732421875, -0.0142974853515625, -0.022735595703125, -0.006801605224609375, -0.060516357421875, 0.0517578125, 0.0164031982421875, 0.002285003662109375, 0.037933349609375, -0.00882720947265625, 0.0255584716796875, -0.034576416015625, -0.0103302001953125, 0.0140380859375, 0.038909912109375, -0.00937652587890625, -0.0179595947265625, 0.02001953125, -0.03192138671875, 0.04290771484375, -0.028900146484375, -0.052001953125, -0.00820159912109375, 0.0158843994140625, 0.038116455078125, 0.01406097412109375, -0.0216217041015625, 0.00814056396484375, -0.05206298828125, -0.01107025146484375, 0.01983642578125, -0.0235443115234375, -0.004642486572265625, 0.0210723876953125, -0.0152740478515625, 0.0018482208251953125, -0.013916015625, -0.01910400390625, -0.0296478271484375, -0.029266357421875, -0.0234375, -0.006137847900390625, 0.042083740234375, -0.009490966796875, 0.0504150390625, -0.040130615234375, -0.0267181396484375, -0.01132965087890625, 0.0095977783203125, 0.047607421875, 0.01361846923828125, -0.016082763671875, -0.04022216796875, -0.037994384765625, -0.038848876953125, -0.042755126953125, -0.0182037353515625, -0.0189666748046875, 0.03363037109375, 0.0186920166015625, 0.00954437255859375, -0.0005950927734375, -0.0006055831909179688, 0.01934814453125, 0.055084228515625, 0.0002930164337158203, 0.0850830078125, -0.0257415771484375, 0.044708251953125, -0.01100921630859375, 0.05987548828125, 0.00007212162017822266, -0.0068511962890625, -0.001064300537109375, -0.0175933837890625, -0.016937255859375, -0.06134033203125, 0.003864288330078125, -0.0095062255859375, 0.021453857421875, 0.031829833984375, 0.006404876708984375, 0.0201568603515625, 0.03143310546875, 0.0154571533203125, 0.0185699462890625, -0.0226287841796875, -0.00937652587890625, -0.033599853515625, -0.017242431640625, 0.0308837890625, 0.0080718994140625, -0.0180816650390625, -0.043121337890625, -0.062255859375, 0.032501220703125, 0.0362548828125, 0.020263671875, -0.0046844482421875, 0.0124664306640625, -0.0301513671875, 0.00792694091796875, -0.0484619140625, 0.00211334228515625, 0.0203857421875, -0.00799560546875, 0.03973388671875, 0.0133056640625, -0.023529052734375, -0.0226287841796875, 0.005626678466796875, -0.0025482177734375, -0.0170135498046875, 0.0029430389404296875, 0.0002276897430419922, -0.016357421875, 0.035186767578125, 0.0318603515625, -0.068115234375, -0.0024394989013671875, -0.0164947509765625, -0.0011930465698242188, 0.006256103515625, 0.01947021484375, -0.0014400482177734375, -0.007686614990234375, -0.0037860870361328125, -0.01739501953125, -0.01424407958984375, 0.00846099853515625, -0.0033168792724609375, 0.0166473388671875, -0.0225372314453125, 0.0596923828125, -0.0016946792602539062, -0.0224456787109375, -0.021697998046875, -0.0010471343994140625, -0.01154327392578125, 0.01049041748046875, 0.00405120849609375, -0.00737762451171875, -0.0235595703125, -0.056182861328125, -0.047637939453125, -0.032958984375, -0.05743408203125, 0.00980377197265625, -0.026824951171875, -0.006328582763671875, 0.040771484375, -0.046173095703125, 0.0178680419921875, 0.022308349609375, -0.00440216064453125, 0.0028133392333984375, -0.017974853515625, 0.01258087158203125, 0.016387939453125, -0.045623779296875, 0.01425933837890625, -0.0206756591796875, 0.0226898193359375, -0.01326751708984375, 0.042144775390625, 0.0482177734375, -0.00759124755859375, -0.044403076171875, 0.04327392578125, 0.009246826171875, -0.0276947021484375, -0.0028057098388671875, 0.0296173095703125, -0.0347900390625, 0.0055999755859375, 0.004974365234375, 0.004688262939453125, -0.016143798828125, 0.0197296142578125, -0.057525634765625, 0.07708740234375, 0.0162506103515625, 0.0283660888671875, 0.01538848876953125, 0.036865234375, -0.05059814453125, -0.00301361083984375, -0.004390716552734375, 0.014434814453125, 0.024169921875, 0.003955841064453125, -0.0462646484375, -0.016937255859375, -0.0220794677734375, 0.0439453125, 0.034149169921875, -0.0042877197265625, -0.00846099853515625, -0.0211334228515625, 0.044830322265625, 0.045135498046875, -0.0087127685546875, 0.00046133995056152344, 0.030914306640625, -0.0003914833068847656, -0.0478515625, -0.032928466796875, 0.0020275115966796875, -0.0784912109375, -0.005176544189453125, 0.071533203125, 0.004344940185546875, 0.017059326171875, 0.048675537109375, -0.03533935546875, -0.01033782958984375, 0.0183258056640625, 0.030364990234375, -0.08172607421875, -0.033172607421875, 0.053985595703125, 0.041748046875, -0.060943603515625, -0.057373046875, -0.0457763671875, 0.046356201171875, 0.016357421875, 0.006755828857421875, 0.01422882080078125, 0.023193359375, -0.029541015625, -0.032958984375, 0.01043701171875, 0.01399993896484375, -0.041046142578125, 0.02520751953125, -0.041778564453125, 0.007076263427734375, -0.03668212890625, 0.04791259765625, 0.00555419921875, -0.007472991943359375, -0.0242767333984375, 0.0071563720703125, 0.02227783203125, -0.0010814666748046875, 0.0014104843139648438, -0.057952880859375, 0.00009655952453613281, -0.056243896484375, -0.046661376953125, -0.040924072265625, -0.055389404296875, 0.0198822021484375, 0.041015625, 0.0006442070007324219, 0.0006518363952636719, 0.010650634765625, -0.10198974609375, -0.072021484375, 0.035308837890625, 0.0293426513671875, 0.0340576171875, 0.004444122314453125, 0.040740966796875, 0.054901123046875, -0.01039886474609375, -0.0377197265625, 0.00809478759765625, 0.07867431640625, 0.00833892822265625, 0.03582763671875, 0.0633544921875, 0.04022216796875, 0.006557464599609375, 0.04437255859375, 0.0293121337890625, 0.056427001953125, 0.030303955078125, -0.006267547607421875, 0.0034275054931640625, 0.004955291748046875, -0.03192138671875, 0.0435791015625, -0.03631591796875, 0.036407470703125, -0.01035308837890625, -0.00594329833984375, -0.023345947265625, 0.041107177734375, 0.0119476318359375, -0.009246826171875, 0.033782958984375, 0.00372314453125, 0.00470733642578125, 0.007701873779296875, 0.0011053085327148438, -0.0000388026237487793, 0.0293731689453125, -0.04937744140625, -0.011444091796875, 0.0012683868408203125, -0.047393798828125, 0.02362060546875, 0.039703369140625, -0.034759521484375, 0.0362548828125, -0.006824493408203125, -0.0272064208984375, 0.040985107421875, -0.0220947265625, 0.04229736328125, 0.007717132568359375, -0.0301666259765625, 0.0022430419921875, -0.0244293212890625, -0.0147857666015625, 0.0302276611328125, 0.0172576904296875, -0.0188751220703125, 0.068115234375, -0.02392578125, -0.01275634765625, 0.018646240234375, 0.056427001953125, -0.041748046875, 0.01491546630859375, -0.032928466796875, 0.0117340087890625, 0.046234130859375, -0.0015201568603515625, -0.06365966796875, 0.01308441162109375, 0.0099334716796875, -0.0009016990661621094, 0.004703521728515625, -0.017120361328125, 0.0110321044921875, 0.0170135498046875, 0.01080322265625, -0.01439666748046875, -0.0635986328125, -0.0295562744140625, 0.0206146240234375, -0.00537872314453125, 0.041259765625, 0.0191497802734375, 0.06689453125, -0.0207366943359375, -0.01364898681640625, 0.0066070556640625, -0.07086181640625, 0.0232086181640625, 0.0322265625, -0.0251922607421875, -0.01387786865234375, 0.015655517578125, -0.0037479400634765625, -0.01491546630859375, 0.0147247314453125, 0.0241851806640625, -0.0009279251098632812, -0.0159912109375, 0.0271453857421875, 0.01216888427734375, 0.0513916015625, -0.0053558349609375, 0.0200042724609375, 0.0213623046875, 0.0062408447265625, -0.009674072265625, 0.0152435302734375, -0.0027141571044921875, -0.04315185546875, -0.02001953125, -0.00856781005859375, -0.0180511474609375, -0.0189361572265625, -0.007415771484375, -0.004787445068359375, 0.003932952880859375, -0.0182952880859375, 0.00003212690353393555, 0.0020847320556640625, -0.018707275390625, -0.002849578857421875, -0.01027679443359375, -0.0276947021484375, -0.005588531494140625, 0.028167724609375, -0.0074310302734375, -0.0267486572265625, -0.045257568359375, 0.00936126708984375, -0.0270233154296875, 0.02215576171875, 0.032379150390625, -0.0203399658203125, 0.03076171875, -0.0237274169921875, 0.037109375, 0.0212860107421875, -0.04278564453125, 0.0220794677734375, 0.037506103515625, 0.01171112060546875, -0.050262451171875, -0.10589599609375, 0.01546478271484375, -0.07470703125, 0.02386474609375, -0.043060302734375, -0.012115478515625, -0.0280303955078125, -0.06939697265625, -0.07269287109375, -0.004291534423828125, 0.0021953582763671875, -0.04412841796875, 0.01788330078125, 0.01427459716796875, -0.032867431640625, 0.0237579345703125, 0.01308441162109375, 0.0004456043243408203, 0.01117706298828125, 0.008392333984375, -0.003925323486328125, -0.0158538818359375, 0.0177459716796875, -0.0078582763671875, -0.050201416015625, 0.01485443115234375, 0.01097869873046875, -0.036956787109375, -0.0274658203125, 0.0031757354736328125, -0.021728515625, 0.0064849853515625, -0.03619384765625, -0.05291748046875, -0.0098876953125, 0.026458740234375, 0.00313568115234375, -0.022979736328125, -0.037445068359375, -0.01091766357421875, 0.03057861328125, 0.0271759033203125, 0.0079345703125, -0.0229339599609375, -0.00959014892578125, 0.005523681640625, -0.0178680419921875, -0.0009012222290039062, 0.0188140869140625, -0.056243896484375, -0.00786590576171875, 0.00669097900390625, -0.035858154296875, 0.007965087890625, 0.0175933837890625, -0.053070068359375, 0.0028018951416015625, -0.0289459228515625, -0.033905029296875, -0.06878662109375, -0.035491943359375, 0.03558349609375, 0.0018243789672851562, 0.017425537109375, -0.00677490234375, 0.02716064453125, 0.022064208984375, 0.0379638671875, -0.00124359130859375, -0.0132293701171875, 0.007289886474609375, 0.0301361083984375, 0.0031871795654296875, 0.023895263671875, -0.0233154296875, -0.00647735595703125, 0.023345947265625, -0.041015625, -0.0254364013671875, -0.06658935546875, -0.0106353759765625, -0.007457733154296875, -0.07135009765625, 0.0650634765625, -0.015411376953125, 0.00994873046875, 0.0005588531494140625, 0.00897216796875, -0.022857666015625, 0.0181884765625, -0.018585205078125, 0.002231597900390625, -0.006084442138671875, 0.0670166015625, -0.020599365234375, -0.04376220703125, 0.0247344970703125, 0.0157318115234375, 0.047515869140625, -0.0028858184814453125 ]
2bb3c93cfaec09923e83e5285ec38ee7a3a377ee
Wordpress Stackexchange Q: Display order items names in WooCommerce admin orders list I would like to display order_item of order in admin list like in this screenshot: Changing /woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php file, I tried to add the following: $product = wc_get_product( $product_id ); $ss = $product->get_name(); echo $ss echo $product->get_name(); echo get_the_title($product_id); // this one display the order date But it didn't work. A: Never overwrite core files! for many reasons. Note that an order can have many items (products). On orders admin list, the following will add item(s) (product(s)) names, to order status column: add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 20, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post; if ( 'order_status' === $column ) { $products_names = []; // Initializing // Loop through order items foreach ( $the_order->get_items() as $item ) { $product = $item->get_product(); // Get the WC_Product object $products_names[] = $item->get_name(); // Store in an array } // Display echo '<ul style="list-style: none;"><li>' . implode('</li><li>', $products_names) . '</li></ul>'; } } Code goes on functions.php file of your active child theme (or active theme). Tested and work.
Q: Display order items names in WooCommerce admin orders list I would like to display order_item of order in admin list like in this screenshot: Changing /woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php file, I tried to add the following: $product = wc_get_product( $product_id ); $ss = $product->get_name(); echo $ss echo $product->get_name(); echo get_the_title($product_id); // this one display the order date But it didn't work. A: Never overwrite core files! for many reasons. Note that an order can have many items (products). On orders admin list, the following will add item(s) (product(s)) names, to order status column: add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 20, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post; if ( 'order_status' === $column ) { $products_names = []; // Initializing // Loop through order items foreach ( $the_order->get_items() as $item ) { $product = $item->get_product(); // Get the WC_Product object $products_names[] = $item->get_name(); // Store in an array } // Display echo '<ul style="list-style: none;"><li>' . implode('</li><li>', $products_names) . '</li></ul>'; } } Code goes on functions.php file of your active child theme (or active theme). Tested and work. A: Here is a solution based on @loictheaztec with CSS styling and quantity of each product displayed. Add the following code to function.php : // hook for order items preview add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 20, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post; if ( 'order_status' === $column ) { // Start list echo '<ul class="orders-list-items-preview">'; // Loop through order items foreach ( $the_order->get_items() as $item ) { $product = $item->get_product(); $product_name = $item->get_name(); $product_qty = $item->get_quantity(); echo "<li><label>$product_qty</label> $product_name</li>"; } // End list echo '</ul>'; } } // CSS for order items preview add_action('admin_head', 'orders-list-preview-css'); function my_custom_fonts() { echo "<style> .orders-list-items-preview { background-color: #eee; padding: 8px 8px 0 5px; border-radius: 4px; } .orders-list-items-preview li { padding-left: 45px; position: relative; padding-bottom: 10px; } .orders-list-items-preview li label { border: 1px solid gray; width: 25px; display: block; text-align: center; border-radius: 4px; left: 5px; top: 0px; position: absolute; } </style>"; } EDIT : Solution added with product image (and quantity moved on right) add_action('manage_shop_order_posts_custom_column', 'orders_list_preview_items', 20, 2 ); function orders_list_preview_items($column, $post_id) { global $the_order, $post; if ('order_status' === $column) { // Start list echo '<ul class="orders-list-items-preview">'; // Loop through order items foreach($the_order->get_items() as $item) { $product = $item->get_product(); $img = wp_get_attachment_url($product->get_image_id()); $name = $item->get_name(); $qty = $item->get_quantity(); echo "<li> <img src=\"$img\" /> <label>$qty</label> $name </li>"; } // End list echo '</ul>'; } } add_action('admin_head', 'orders_list_preview_css'); function orders_list_preview_css() { echo "<style> .orders-list-items-preview { background-color: #eee; padding: 8px 8px 0 5px; border-radius: 4px; } .orders-list-items-preview li { padding-left: 55px; position: relative; padding-bottom: 10px; padding-right: 40px; padding-top: 0; font-size: 10px; line-height: 11px; min-height: 30px; } .orders-list-items-preview li label { border: 1px solid gray; width: 25px; display: block; text-align: center; border-radius: 4px; right: 5px; top: 0px; position: absolute; font-size: 12px; font-weight: bold; padding: 5px 0; } .orders-list-items-preview img { margin: 1px 2px; position: absolute; left: 0; top: 0; height: 30px; max-height: 30px !important; } </style>"; }
wordpress
{ "language": "en", "length": 489, "provenance": "stackexchange_00019.jsonl.gz:497899", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/348105" }
[ 0.0204620361328125, -0.020843505859375, 0.003452301025390625, -0.059234619140625, -0.00775909423828125, -0.004749298095703125, 0.0150604248046875, 0.00823211669921875, 0.0064239501953125, 0.0237274169921875, -0.0196380615234375, -0.0296173095703125, -0.0264434814453125, -0.02423095703125, -0.025482177734375, -0.053192138671875, 0.06512451171875, -0.01474761962890625, 0.06854248046875, 0.036224365234375, -0.01214599609375, 0.10540771484375, 0.020904541015625, 0.045013427734375, 0.03271484375, -0.0640869140625, 0.081787109375, -0.017669677734375, 0.05523681640625, -0.00122833251953125, 0.024749755859375, -0.04901123046875, 0.045928955078125, -0.0255584716796875, 0.01116943359375, -0.0022144317626953125, 0.0168609619140625, -0.0215301513671875, 0.00768280029296875, 0.0004591941833496094, 0.04071044921875, -0.0298309326171875, 0.032196044921875, 0.0126495361328125, 0.0011682510375976562, -0.0265045166015625, 0.0352783203125, -0.0294952392578125, -0.0021610260009765625, 0.01800537109375, 0.02392578125, 0.0229034423828125, 0.0146484375, -0.01169586181640625, -0.007183074951171875, 0.0081024169921875, -0.032623291015625, -0.006099700927734375, 0.01373291015625, 0.0164794921875, -0.01480865478515625, -0.005786895751953125, 0.00911712646484375, -0.0230712890625, 0.0123138427734375, 0.014923095703125, 0.04229736328125, 0.0261383056640625, -0.0438232421875, -0.0024204254150390625, 0.0214996337890625, -0.011871337890625, 0.01145172119140625, -0.004894256591796875, 0.0021381378173828125, -0.04840087890625, -0.01097869873046875, -0.0430908203125, 0.0210113525390625, 0.0132293701171875, 0.00777435302734375, -0.01241302490234375, -0.0116729736328125, -0.00775146484375, 0.004375457763671875, 0.0190887451171875, -0.0140533447265625, -0.0006976127624511719, -0.0069427490234375, -0.040679931640625, -0.017791748046875, -0.031829833984375, -0.0010547637939453125, -0.002124786376953125, -0.02886962890625, -0.037872314453125, 0.026641845703125, 0.050994873046875, -0.00787353515625, 0.0081024169921875, -0.004444122314453125, -0.0400390625, 0.01251220703125, -0.029296875, -0.01177978515625, 0.00958251953125, 0.0312347412109375, 0.05413818359375, 0.0225677490234375, 0.0177764892578125, -0.0060577392578125, 0.01157379150390625, 0.004573822021484375, -0.06585693359375, 0.033050537109375, 0.029022216796875, -0.0221710205078125, 0.0556640625, 0.0347900390625, 0.024200439453125, 0.00583648681640625, 0.0286712646484375, 0.0045928955078125, -0.025146484375, 0.008331298828125, 0.0016222000122070312, -0.01383209228515625, -0.034515380859375, -0.0018186569213867188, -0.005115509033203125, -0.0285491943359375, 0.01050567626953125, 0.03173828125, 0.029388427734375, 0.006473541259765625, 0.002925872802734375, 0.0194091796875, 0.0283966064453125, 0.0195465087890625, -0.023040771484375, 0.03826904296875, 0.01226806640625, -0.0228118896484375, 0.00870513916015625, 0.022674560546875, 0.0178680419921875, -0.005023956298828125, -0.000047147274017333984, 0.0265045166015625, 0.0194244384765625, -0.037353515625, 0.0153045654296875, 0.00775909423828125, 0.0306549072265625, 0.00559234619140625, 0.03509521484375, 0.01983642578125, 0.0006775856018066406, -0.0167694091796875, -0.0177001953125, -0.04449462890625, -0.0008955001831054688, 0.019622802734375, -0.07391357421875, -0.068359375, 0.0167388916015625, -0.0287933349609375, -0.005954742431640625, 0.0298309326171875, -0.00742340087890625, 0.0204010009765625, -0.0216064453125, 0.035980224609375, 0.0281219482421875, -0.0002357959747314453, 0.0325927734375, -0.0090179443359375, -0.00579833984375, 0.034881591796875, 0.020355224609375, -0.03448486328125, -0.043426513671875, 0.00582122802734375, -0.0014247894287109375, -0.06610107421875, 0.0089263916015625, -0.0004100799560546875, 0.028106689453125, 0.033416748046875, 0.007648468017578125, 0.0426025390625, -0.006008148193359375, -0.06549072265625, 0.039398193359375, -0.019744873046875, -0.0121307373046875, 0.0032062530517578125, 0.007099151611328125, -0.00989532470703125, -0.01044464111328125, 0.003414154052734375, -0.01378631591796875, 0.0276336669921875, 0.0017547607421875, 0.020233154296875, -0.007476806640625, 0.008026123046875, 0.026611328125, -0.002162933349609375, 0.0203704833984375, 0.0198211669921875, 0.0186614990234375, -0.0560302734375, 0.00960540771484375, -0.008758544921875, -0.01485443115234375, -0.04095458984375, 0.05328369140625, -0.00432586669921875, 0.026824951171875, 0.006145477294921875, -0.0615234375, 0.021484375, -0.00273895263671875, 0.019378662109375, 0.026123046875, -0.0295257568359375, 0.00556182861328125, 0.052032470703125, 0.01125335693359375, 0.032196044921875, 0.007205963134765625, 0.02130126953125, 0.01314544677734375, -0.0225677490234375, -0.0181427001953125, -0.0159759521484375, -0.093017578125, 0.01155853271484375, 0.056793212890625, 0.030731201171875, 0.04290771484375, 0.0008678436279296875, 0.017486572265625, 0.1033935546875, -0.00574493408203125, 0.000030994415283203125, -0.005847930908203125, -0.031951904296875, 0.0012874603271484375, 0.0197601318359375, 0.0220794677734375, 0.0160980224609375, 0.0096435546875, -0.00980377197265625, 0.048095703125, 0.00835418701171875, 0.0058441162109375, -0.01226806640625, 0.0245361328125, -0.01009368896484375, 0.0021038055419921875, -0.00801849365234375, -0.0004401206970214844, 0.0219879150390625, 0.024688720703125, 0.029266357421875, 0.01390838623046875, -0.050750732421875, 0.0122528076171875, 0.0187530517578125, 0.01352691650390625, -0.00189208984375, 0.0042266845703125, -0.028900146484375, -0.06097412109375, -0.03179931640625, 0.0312042236328125, -0.00621795654296875, -0.039031982421875, 0.013641357421875, 0.02105712890625, 0.0227508544921875, 0.004459381103515625, 0.0010099411010742188, -0.032562255859375, 0.0246429443359375, 0.048614501953125, -0.0209197998046875, -0.026763916015625, -0.0023174285888671875, 0.055694580078125, -0.0221405029296875, 0.046600341796875, -0.044952392578125, -0.00559234619140625, 0.054718017578125, 0.01377105712890625, 0.0273590087890625, -0.005767822265625, 0.044189453125, 0.054931640625, -0.0120391845703125, 0.0178375244140625, 0.00711822509765625, -0.0273895263671875, 0.02532958984375, 0.005764007568359375, -0.00678253173828125, -0.01335906982421875, -0.04461669921875, 0.0182037353515625, 0.0263671875, 0.100341796875, -0.01464080810546875, -0.06402587890625, 0.0164337158203125, 0.05023193359375, -0.07891845703125, -0.12261962890625, -0.0133056640625, -0.068603515625, -0.0027008056640625, -0.031158447265625, -0.037109375, -0.00048351287841796875, -0.006885528564453125, 0.0020160675048828125, -0.012969970703125, 0.009613037109375, -0.01094818115234375, 0.0007586479187011719, -0.030029296875, 0.00606536865234375, -0.01227569580078125, -0.007175445556640625, -0.0017604827880859375, 0.0521240234375, 0.00998687744140625, -0.04339599609375, 0.01145172119140625, 0.028961181640625, 0.00537872314453125, 0.042144775390625, 0.01093292236328125, -0.048431396484375, 0.0008835792541503906, 0.00024127960205078125, 0.0229949951171875, 0.0060882568359375, -0.001148223876953125, -0.00811004638671875, 0.02520751953125, 0.040740966796875, 0.05645751953125, 0.0014963150024414062, -0.045379638671875, 0.05242919921875, 0.051513671875, -0.0218505859375, -0.032012939453125, -0.006092071533203125, -0.028839111328125, 0.04046630859375, -0.0037975311279296875, -0.0048065185546875, 0.0155029296875, 0.03363037109375, 0.041107177734375, 0.0231475830078125, -0.006866455078125, 0.0105133056640625, -0.0201416015625, 0.01885986328125, 0.032470703125, -0.0081939697265625, 0.057342529296875, 0.0133056640625, -0.007076263427734375, 0.028350830078125, 0.0256195068359375, 0.0072021484375, -0.00731658935546875, -0.031829833984375, -0.06451416015625, 0.0477294921875, -0.037261962890625, -0.009796142578125, -0.041107177734375, -0.0247039794921875, 0.01236724853515625, 0.09906005859375, 0.039154052734375, -0.0146484375, -0.0182037353515625, 0.0146331787109375, -0.05718994140625, -0.03582763671875, -0.01444244384765625, 0.01317596435546875, -0.11273193359375, -0.0079193115234375, -0.032440185546875, -0.026092529296875, 0.0197296142578125, 0.00948333740234375, -0.04412841796875, -0.056243896484375, 0.029632568359375, -0.034698486328125, 0.01506805419921875, 0.045135498046875, -0.0100555419921875, 0.025299072265625, -0.019775390625, -0.01561737060546875, -0.05303955078125, -0.0179443359375, 0.021392822265625, 0.04913330078125, 0.0041656494140625, -0.0092010498046875, -0.018157958984375, 0.0474853515625, 0.0015630722045898438, 0.0587158203125, 0.006439208984375, 0.031890869140625, 0.013763427734375, -0.07183837890625, 0.007904052734375, -0.059844970703125, -0.033660888671875, -0.034637451171875, -0.0200042724609375, 0.0015058517456054688, -0.0133514404296875, 0.021087646484375, 0.00835418701171875, -0.006206512451171875, -0.06109619140625, -0.0156707763671875, 0.0204010009765625, 0.00255584716796875, -0.0230865478515625, 0.03076171875, -0.001857757568359375, -0.048736572265625, 0.01517486572265625, -0.03887939453125, -0.042022705078125, 0.01514434814453125, 0.0272369384765625, 0.0269775390625, 0.004909515380859375, -0.017333984375, 0.00756072998046875, 0.046356201171875, 0.01189422607421875, 0.0059661865234375, 0.00733184814453125, -0.033294677734375, -0.0031604766845703125, 0.034759521484375, -0.025299072265625, 0.043487548828125, 0.017791748046875, 0.01277923583984375, -0.01739501953125, -0.01727294921875, -0.0251922607421875, 0.00787353515625, 0.0200347900390625, -0.01495361328125, -0.0304107666015625, -0.00201416015625, 0.0616455078125, -0.030853271484375, 0.05419921875, -0.025390625, -0.042236328125, 0.0089263916015625, -0.0298919677734375, 0.028106689453125, 0.035797119140625, -0.00824737548828125, 0.025604248046875, 0.00304412841796875, 0.0019102096557617188, -0.01287841796875, -0.003192901611328125, 0.00775909423828125, -0.007564544677734375, 0.023590087890625, 0.001995086669921875, -0.00899505615234375, -0.0172882080078125, 0.0506591796875, 0.005096435546875, -0.0170745849609375, -0.006252288818359375, -0.019012451171875, 0.0224456787109375, 0.01068115234375, -0.050506591796875, 0.0029296875, 0.060150146484375, 0.00524139404296875, 0.019134521484375, -0.04632568359375, 0.0399169921875, -0.0222625732421875, 0.037200927734375, 0.012969970703125, 0.01059722900390625, -0.007793426513671875, 0.11749267578125, -0.0042572021484375, 0.058013916015625, -0.028106689453125, 0.04791259765625, 0.0184478759765625, 0.04730224609375, 0.01239013671875, -0.025299072265625, 0.006931304931640625, 0.0185089111328125, -0.0190277099609375, -0.01320648193359375, 0.01279449462890625, -0.002593994140625, 0.0374755859375, 0.007282257080078125, -0.0273895263671875, 0.0218963623046875, -0.05584716796875, -0.0173492431640625, 0.035125732421875, 0.004550933837890625, -0.03668212890625, -0.0262603759765625, 0.00038170814514160156, 0.028411865234375, -0.01090240478515625, -0.0069580078125, 0.0293121337890625, -0.0223846435546875, 0.018402099609375, -0.00933074951171875, -0.01403045654296875, -0.006954193115234375, -0.0037860870361328125, -0.057952880859375, -0.00577545166015625, 0.0380859375, -0.05340576171875, -0.0538330078125, -0.0017185211181640625, -0.014404296875, 0.041656494140625, -0.0268096923828125, 0.05413818359375, -0.033599853515625, -0.015655517578125, -0.07672119140625, 0.01727294921875, 0.0261993408203125, 0.0296173095703125, -0.045013427734375, -0.01184844970703125, -0.01329803466796875, -0.00927734375, 0.0298004150390625, -0.006290435791015625, -0.0155029296875, -0.00948333740234375, -0.014984130859375, 0.013946533203125, -0.0016298294067382812, -0.004009246826171875, -0.032501220703125, -0.0093994140625, -0.0017824172973632812, -0.024810791015625, -0.0131683349609375, 0.06341552734375, 0.0134124755859375, 0.06256103515625, 0.0231170654296875, 0.0020961761474609375, -0.0509033203125, -0.0056610107421875, 0.0249176025390625, -0.0283660888671875, -0.03948974609375, -0.033905029296875, -0.04718017578125, -0.008544921875, 0.03228759765625, -0.01507568359375, 0.0109710693359375, -0.0105743408203125, -0.003429412841796875, -0.0229339599609375, 0.00681304931640625, -0.021881103515625, -0.0220947265625, -0.0054473876953125, -0.04986572265625, -0.0228118896484375, 0.00661468505859375, -0.002925872802734375, 0.035125732421875, -0.01180267333984375, 0.006317138671875, 0.0204925537109375, -0.07818603515625, 0.08001708984375, 0.07403564453125, 0.039276123046875, 0.0298919677734375, -0.0175628662109375, 0.007617950439453125, -0.0361328125, 0.02264404296875, 0.01493072509765625, -0.0297393798828125, 0.0845947265625, 0.00556182861328125, -0.031524658203125, 0.06475830078125, -0.04425048828125, 0.0253753662109375, 0.04132080078125, 0.07843017578125, -0.061981201171875, 0.0090484619140625, 0.032012939453125, -0.00621795654296875, 0.034820556640625, 0.005126953125, -0.0295867919921875, -0.0311737060546875, 0.06268310546875, -0.0211029052734375, -0.00852203369140625, 0.02691650390625, -0.015716552734375, -0.0031147003173828125, 0.00931549072265625, 0.043243408203125, -0.00472259521484375, -0.0202178955078125, -0.0517578125, 0.006885528564453125, -0.0238037109375, -0.046966552734375, 0.0216064453125, -0.01861572265625, 0.0186309814453125, -0.044097900390625, 0.019805908203125, -0.007549285888671875, 0.03289794921875, 0.048583984375, 0.019622802734375, -0.0171051025390625, 0.06207275390625, -0.01172637939453125, 0.0181732177734375, 0.0229034423828125, -0.0272674560546875, -0.00395965576171875, -0.01383209228515625, -0.006435394287109375, 0.0186920166015625, -0.068115234375, 0.00374603271484375, -0.052734375, 0.034454345703125, -0.00547027587890625, 0.0289154052734375, 0.0094146728515625, 0.0182647705078125, -0.04180908203125, 0.027313232421875, 0.01076507568359375, -0.0034637451171875, 0.0190277099609375, 0.05859375, -0.00939178466796875, 0.021270751953125, 0.0362548828125, 0.0153045654296875, -0.03814697265625, 0.0299224853515625, -0.06500244140625, 0.048919677734375, -0.04931640625, 0.01885986328125, 0.0207977294921875, 0.006137847900390625, -0.007610321044921875, -0.0156707763671875, -0.040679931640625, -0.00778961181640625, 0.0182342529296875, 0.0657958984375, -0.06146240234375, -0.0262908935546875, 0.0093841552734375, 0.07794189453125, 0.0213623046875, -0.0019550323486328125, -0.0281524658203125, -0.006580352783203125, 0.057861328125, 0.01511383056640625, 0.0099334716796875, 0.036865234375, 0.0030231475830078125, -0.00788116455078125, 0.0548095703125, -0.0029888153076171875, 0.03662109375, -0.0011968612670898438, 0.002819061279296875, 0.0225372314453125, 0.01678466796875, 0.01788330078125, -0.0169830322265625, -0.023406982421875, -0.0318603515625, -0.006320953369140625, 0.0244903564453125, -0.0364990234375, -0.0009012222290039062, 0.04119873046875, 0.0200042724609375, -0.001861572265625, -0.0208282470703125, -0.020843505859375, 0.031982421875, 0.006160736083984375, 0.01953125, 0.025299072265625, 0.019073486328125, 0.03167724609375, -0.00687408447265625, 0.012359619140625, 0.020111083984375, -0.0240478515625, 0.0029850006103515625, 0.00791168212890625, 0.00421905517578125, -0.0252227783203125, 0.028289794921875, 0.029876708984375, -0.0010633468627929688, -0.0260009765625, 0.0009331703186035156, 0.015869140625, -0.01532745361328125, -0.004688262939453125, -0.031341552734375, -0.0055999755859375, -0.021636962890625, -0.0231475830078125, -0.035308837890625, 0.025482177734375, 0.0550537109375, 0.01280975341796875, 0.0058746337890625, 0.01326751708984375, -0.09075927734375, 0.0069580078125, -0.034423828125, 0.038543701171875, 0.0293121337890625, 0.050445556640625, -0.0347900390625, 0.0732421875, -0.050537109375, -0.0206756591796875, -0.0162353515625, 0.024566650390625, 0.0184326171875, -0.0005950927734375, -0.0276947021484375, 0.0050048828125, 0.0013246536254882812, 0.03314208984375, 0.0180816650390625, 0.044769287109375, 0.0557861328125, 0.038848876953125, -0.0104827880859375, 0.0087432861328125, 0.052459716796875, -0.01543426513671875, -0.0257568359375, -0.0379638671875, 0.02056884765625, -0.0008172988891601562, 0.00431060791015625, 0.018463134765625, 0.03582763671875, -0.0006070137023925781, -0.03619384765625, 0.034027099609375, -0.0174713134765625, -0.01441192626953125, 0.015777587890625, -0.03131103515625, 0.03955078125, -0.026214599609375, -0.07354736328125, -0.022186279296875, -0.0231781005859375, 0.0267333984375, 0.00063323974609375, 0.0238189697265625, 0.00566864013671875, 0.0275115966796875, -0.0157623291015625, -0.0094146728515625, -0.0167388916015625, 0.030120849609375, 0.017333984375, 0.015777587890625, 0.01194000244140625, 0.008544921875, -0.025726318359375, -0.00798797607421875, -0.0030193328857421875, 0.0033473968505859375, 0.041656494140625, -0.01538848876953125, 0.0309600830078125, 0.035614013671875, -0.022003173828125, 0.004489898681640625, -0.031280517578125, -0.04052734375, 0.0765380859375, -0.0303955078125, -0.037200927734375, 0.005817413330078125, 0.0219573974609375, -0.01274871826171875, 0.068603515625, -0.0638427734375, -0.040374755859375, 0.004428863525390625, 0.04205322265625, -0.027740478515625, 0.057159423828125, -0.01230621337890625, -0.0304718017578125, 0.0186614990234375, 0.0189056396484375, -0.0014934539794921875, 0.0260009765625, 0.01500701904296875, 0.00978851318359375, -0.0007205009460449219, -0.04315185546875, 0.054656982421875, -0.04681396484375, 0.0682373046875, 0.0462646484375, -0.01319122314453125, -0.034423828125, -0.006683349609375, -0.0130462646484375, 0.00850677490234375, 0.0191650390625, 0.01995849609375, 0.01214599609375, 0.0100555419921875, 0.038787841796875, 0.047607421875, 0.0235748291015625, -0.0221099853515625, 0.0011730194091796875, 0.07421875, -0.0347900390625, -0.0170745849609375, -0.01171875, -0.03802490234375, -0.038421630859375, 0.00737762451171875, -0.00896453857421875, 0.0123748779296875, -0.03424072265625, -0.0086212158203125, -0.017852783203125, -0.00013768672943115234, 0.0002944469451904297, 0.006710052490234375, -0.0184783935546875, -0.0019359588623046875, -0.033538818359375, 0.0021114349365234375, -0.0243682861328125, 0.0206756591796875, 0.03314208984375, -0.003582000732421875, -0.002582550048828125, -0.038818359375, -0.0145111083984375, -0.02203369140625, -0.0135498046875, -0.007541656494140625, -0.00739288330078125, -0.0206451416015625, -0.004852294921875, 0.004314422607421875, 0.0233001708984375, 0.034820556640625, -0.018157958984375, 0.01154327392578125, 0.0296173095703125, -0.0303192138671875, -0.10394287109375, -0.0011959075927734375, -0.0545654296875, 0.023101806640625, 0.0158843994140625, 0.0017108917236328125, 0.03436279296875, -0.025543212890625, -0.048828125, 0.0301666259765625, -0.0018978118896484375, -0.0261077880859375, -0.034088134765625, -0.034881591796875, -0.04681396484375, 0.058746337890625, -0.002010345458984375, -0.0287017822265625, -0.0137176513671875, 0.056488037109375, -0.017974853515625, 0.01904296875, 0.00290679931640625, -0.01885986328125, -0.0296783447265625, -0.007251739501953125, -0.01496124267578125, -0.025146484375, 0.0163726806640625, -0.0094146728515625, 0.02099609375, 0.047821044921875, -0.0164642333984375, -0.0260009765625, 0.007488250732421875, -0.022430419921875, 0.001399993896484375, -0.036590576171875, -0.03192138671875, -0.045166015625, 0.00653076171875, 0.049346923828125, 0.0127716064453125, 0.0001609325408935547, 0.005435943603515625, 0.0015630722045898438, -0.034881591796875, -0.00470733642578125, 0.027008056640625, -0.060333251953125, -0.01531982421875, 0.027984619140625, -0.0304718017578125, 0.0161895751953125, 0.02960205078125, -0.0609130859375, 0.0037288665771484375, -0.0102081298828125, -0.01496124267578125, -0.07470703125, -0.020233154296875, 0.04339599609375, -0.0379638671875, -0.04229736328125, -0.00666046142578125, 0.0232086181640625, -0.02252197265625, -0.044952392578125, -0.03875732421875, -0.04400634765625, 0.017486572265625, 0.033294677734375, -0.0172271728515625, 0.03289794921875, -0.019378662109375, 0.01224517822265625, -0.00792694091796875, 0.00922393798828125, -0.030670166015625, -0.0221405029296875, 0.018035888671875, 0.061065673828125, 0.002933502197265625, 0.12646484375, -0.0004372596740722656, 0.055633544921875, 0.00945281982421875, 0.045806884765625, 0.018585205078125, -0.0146636962890625, 0.045562744140625, -0.04998779296875, 0.004100799560546875, -0.037322998046875, -0.051361083984375, -0.0230255126953125, -0.03521728515625, 0.01406097412109375, -0.047088623046875, 0.0026531219482421875 ]
128a424a7857cb1b0010ed0cfe09f3e216a23d96
Wordpress Stackexchange Q: What's the difference between home_url() and get_home_url() from a developmental point of view? Both functions return the website url. And, as home_url() needs sanitization (for example <?php echo esc_url( home_url( '/' ) ); ?>), why it is this snippet of code, instead of <?php echo get_ home_url( '/' ); ?>, that we found in Wordpress Codex and Wordpress Template Twenty Nineteen ? A: There is no difference. If you look at wordpress code you will see function home_url( $path = '', $scheme = null ) { return get_home_url( null, $path, $scheme ); }
Q: What's the difference between home_url() and get_home_url() from a developmental point of view? Both functions return the website url. And, as home_url() needs sanitization (for example <?php echo esc_url( home_url( '/' ) ); ?>), why it is this snippet of code, instead of <?php echo get_ home_url( '/' ); ?>, that we found in Wordpress Codex and Wordpress Template Twenty Nineteen ? A: There is no difference. If you look at wordpress code you will see function home_url( $path = '', $scheme = null ) { return get_home_url( null, $path, $scheme ); } A: There isn't much difference but they are not the same. get_home_url get_home_url() takes null or a blog id as the first parameter. As per documentation here. get_home_url( int $blog_id = null, string $path = '', string|null $scheme = null ) If you are dealing with multiple homes (as in, say a multi-site set up) this might be useful. home_url home_url(), on the other hand, is less fussed about per blog settings and just wants the home URL. As per documentation here. home_url( string $path = '', string|null $scheme = null ) It is the equivalent of calling get_home_url( null, $path, $scheme );. Most of the time, this is the function you want.
wordpress
{ "language": "en", "length": 207, "provenance": "stackexchange_00019.jsonl.gz:497947", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/348220" }
[ 0.061004638671875, 0.0093994140625, 0.0169677734375, -0.03826904296875, 0.017974853515625, -0.0137176513671875, 0.0172271728515625, -0.0457763671875, -0.004657745361328125, 0.01071929931640625, -0.0091094970703125, -0.006061553955078125, -0.020355224609375, -0.04388427734375, 0.034515380859375, -0.037567138671875, 0.0592041015625, -0.03955078125, 0.007068634033203125, -0.0106048583984375, -0.007297515869140625, 0.014373779296875, 0.012664794921875, 0.11346435546875, 0.027618408203125, -0.07861328125, 0.06182861328125, -0.01031494140625, -0.0078582763671875, -0.015960693359375, 0.0189208984375, 0.02081298828125, 0.014404296875, 0.0225830078125, -0.036407470703125, -0.014404296875, -0.0079193115234375, 0.0237884521484375, -0.016510009765625, 0.034759521484375, 0.0145111083984375, -0.0156097412109375, -0.0267791748046875, 0.0018253326416015625, -0.04205322265625, -0.006687164306640625, 0.00844573974609375, 0.005176544189453125, -0.03997802734375, 0.01236724853515625, 0.043609619140625, -0.013153076171875, 0.0469970703125, -0.0098419189453125, -0.00868988037109375, -0.01031494140625, 0.041748046875, -0.0017995834350585938, 0.0235443115234375, -0.06488037109375, -0.04083251953125, 0.024383544921875, 0.035003662109375, 0.0178680419921875, -0.0037746429443359375, 0.02313232421875, 0.0004105567932128906, 0.015869140625, -0.07330322265625, -0.035003662109375, 0.019073486328125, -0.05181884765625, -0.0164031982421875, -0.0208282470703125, -0.028564453125, 0.0200042724609375, -0.0143890380859375, -0.039031982421875, 0.024322509765625, 0.0003330707550048828, -0.010009765625, -0.0245361328125, -0.0941162109375, -0.0190277099609375, 0.033782958984375, 0.0223541259765625, -0.002010345458984375, -0.0260009765625, -0.003627777099609375, -0.00927734375, -0.0090484619140625, -0.034912109375, 0.006664276123046875, 0.035125732421875, 0.0014791488647460938, -0.0308074951171875, -0.0036296844482421875, 0.00959014892578125, -0.0364990234375, -0.01378631591796875, 0.0026493072509765625, -0.01617431640625, 0.0004305839538574219, -0.017333984375, 0.005008697509765625, 0.02288818359375, 0.00688934326171875, 0.03106689453125, 0.028045654296875, 0.01033782958984375, -0.003765106201171875, 0.0104827880859375, -0.035614013671875, -0.02960205078125, 0.00443267822265625, 0.029571533203125, -0.0643310546875, -0.0024929046630859375, -0.0027332305908203125, -0.007335662841796875, -0.0050048828125, 0.03033447265625, 0.035186767578125, -0.00902557373046875, -0.0276947021484375, 0.0014142990112304688, -0.003753662109375, -0.0634765625, 0.00024139881134033203, 0.03729248046875, -0.045501708984375, 0.0024509429931640625, 0.05340576171875, -0.0059356689453125, -0.0095367431640625, -0.0323486328125, -0.021026611328125, -0.01027679443359375, -0.0008273124694824219, 0.02325439453125, -0.01242828369140625, -0.0175018310546875, 0.0295562744140625, -0.0117950439453125, 0.0014314651489257812, 0.017486572265625, 0.0138702392578125, 0.022216796875, -0.0041351318359375, -0.025146484375, -0.0122833251953125, 0.00638580322265625, 0.0032939910888671875, 0.0149383544921875, 0.0160980224609375, -0.00730133056640625, 0.011627197265625, -0.0201873779296875, 0.0194854736328125, -0.0111541748046875, 0.007720947265625, -0.0132598876953125, -0.0077667236328125, -0.0220794677734375, -0.0426025390625, -0.00611114501953125, 0.01076507568359375, -0.00872802734375, 0.01329803466796875, 0.0330810546875, 0.03619384765625, 0.01517486572265625, -0.032562255859375, 0.01538848876953125, 0.01201629638671875, -0.0176849365234375, -0.0269927978515625, 0.003936767578125, 0.0103759765625, 0.0516357421875, 0.0186767578125, -0.0287628173828125, 0.0093536376953125, 0.007106781005859375, -0.063232421875, 0.056732177734375, 0.0031490325927734375, 0.042449951171875, 0.015289306640625, -0.0047149658203125, 0.07183837890625, 0.033905029296875, -0.0147247314453125, 0.0487060546875, -0.00604248046875, -0.0428466796875, -0.006618499755859375, -0.00986480712890625, -0.0262451171875, -0.01380157470703125, 0.01050567626953125, 0.00875091552734375, 0.01427459716796875, 0.01116180419921875, -0.0217742919921875, 0.0263824462890625, -0.029388427734375, 0.033966064453125, -0.006771087646484375, 0.036712646484375, 0.01412200927734375, 0.012359619140625, -0.036407470703125, -0.0020198822021484375, -0.009796142578125, 0.0292205810546875, -0.0260009765625, 0.00363922119140625, -0.00888824462890625, 0.0031337738037109375, -0.002941131591796875, 0.0174560546875, -0.0166168212890625, 0.0034198760986328125, 0.033905029296875, -0.031463623046875, -0.014190673828125, -0.03009033203125, 0.0029201507568359375, 0.005779266357421875, -0.07208251953125, 0.0394287109375, 0.04437255859375, 0.031890869140625, -0.0389404296875, -0.003955841064453125, -0.00408935546875, -0.037933349609375, -0.00160980224609375, 0.060333251953125, 0.034332275390625, 0.0199127197265625, -0.029083251953125, -0.0243988037109375, 0.034698486328125, -0.0222930908203125, 0.01047515869140625, -0.02581787109375, -0.024444580078125, 0.01018524169921875, 0.0005650520324707031, 0.031463623046875, 0.00002574920654296875, -0.059600830078125, -0.0298614501953125, 0.04620361328125, -0.04620361328125, 0.007015228271484375, -0.042236328125, 0.010528564453125, 0.006404876708984375, -0.02880859375, 0.00344085693359375, -0.0247955322265625, -0.042755126953125, 0.0037174224853515625, -0.0099334716796875, 0.0115966796875, 0.0031757354736328125, -0.0203094482421875, 0.019500732421875, 0.0284576416015625, 0.0073699951171875, 0.07305908203125, 0.010040283203125, -0.03668212890625, 0.0031681060791015625, -0.031280517578125, -0.020294189453125, 0.0274200439453125, -0.00650787353515625, 0.013641357421875, -0.0037937164306640625, -0.0043182373046875, -0.008697509765625, -0.025970458984375, 0.0203094482421875, 0.04461669921875, 0.04766845703125, 0.025177001953125, 0.05487060546875, -0.00807952880859375, -0.022125244140625, 0.0516357421875, -0.0009589195251464844, -0.037933349609375, 0.015472412109375, -0.00811767578125, -0.0138702392578125, 0.007495880126953125, 0.06689453125, 0.048858642578125, 0.0133819580078125, -0.005214691162109375, 0.0189361572265625, -0.00461578369140625, 0.02655029296875, -0.0258941650390625, -0.029022216796875, 0.057952880859375, -0.13427734375, -0.0186309814453125, 0.00336456298828125, -0.0010137557983398438, 0.0207672119140625, -0.018585205078125, 0.001346588134765625, 0.005611419677734375, -0.060638427734375, -0.05816650390625, -0.0477294921875, -0.0178680419921875, 0.036651611328125, 0.0012750625610351562, 0.01244354248046875, -0.007297515869140625, 0.0008268356323242188, 0.032135009765625, 0.039520263671875, -0.001735687255859375, -0.08807373046875, -0.039398193359375, -0.07025146484375, 0.01410675048828125, -0.0224151611328125, 0.004230499267578125, 0.0036067962646484375, 0.028228759765625, 0.0001207590103149414, -0.01145172119140625, -0.01019287109375, 0.045562744140625, 0.006317138671875, -0.036865234375, -0.0352783203125, -0.006378173828125, -0.014068603515625, -0.0006070137023925781, 0.02520751953125, -0.0128021240234375, 0.01551055908203125, -0.0013551712036132812, 0.01178741455078125, 0.0003960132598876953, 0.033935546875, 0.0237884521484375, -0.005615234375, 0.026580810546875, 0.043670654296875, -0.03240966796875, -0.039886474609375, -0.0201263427734375, -0.054473876953125, 0.08294677734375, 0.057220458984375, -0.00628662109375, 0.01270294189453125, 0.0231170654296875, -0.0146636962890625, -0.0023365020751953125, 0.0226898193359375, -0.0213165283203125, 0.05755615234375, -0.0260772705078125, -0.0240631103515625, -0.0291900634765625, 0.03314208984375, -0.00463104248046875, -0.0181884765625, 0.00916290283203125, 0.02288818359375, 0.0053558349609375, -0.020721435546875, -0.032867431640625, -0.04925537109375, 0.0587158203125, -0.0124359130859375, 0.0064849853515625, -0.0306854248046875, -0.026214599609375, -0.006420135498046875, 0.0726318359375, -0.0183868408203125, -0.0079803466796875, 0.013397216796875, 0.020111083984375, -0.0577392578125, -0.042327880859375, -0.07879638671875, 0.00577545166015625, -0.057891845703125, 0.0291748046875, -0.01128387451171875, 0.0000476837158203125, -0.0352783203125, 0.031463623046875, -0.0296783447265625, -0.0321044921875, 0.0117645263671875, 0.0185546875, -0.01097869873046875, -0.0095977783203125, -0.0042266845703125, -0.0220489501953125, 0.01268768310546875, -0.0044708251953125, -0.029083251953125, -0.0300750732421875, 0.033172607421875, 0.0199737548828125, 0.0214996337890625, -0.0653076171875, 0.013671875, 0.0504150390625, 0.004337310791015625, 0.01262664794921875, 0.0299072265625, -0.0011911392211914062, 0.03509521484375, 0.007175445556640625, 0.0220947265625, -0.00982666015625, 0.023345947265625, -0.044189453125, -0.08709716796875, -0.0255126953125, -0.0167999267578125, 0.0789794921875, 0.002468109130859375, -0.01210784912109375, -0.032501220703125, -0.00023114681243896484, -0.0159759521484375, -0.0177459716796875, 0.02606201171875, -0.046142578125, 0.0147705078125, -0.034393310546875, 0.0276031494140625, 0.03375244140625, -0.0219268798828125, -0.0200347900390625, 0.0224609375, 0.0303955078125, -0.04278564453125, 0.038787841796875, -0.0225830078125, 0.0138702392578125, 0.006175994873046875, 0.0313720703125, -0.00013911724090576172, -0.0193634033203125, 0.048797607421875, -0.018890380859375, 0.031982421875, 0.02947998046875, 0.0280303955078125, 0.01415252685546875, -0.0040283203125, 0.0145111083984375, 0.041839599609375, -0.06439208984375, 0.08856201171875, -0.0080718994140625, -0.00677490234375, -0.0194549560546875, -0.00836944580078125, -0.04852294921875, 0.014312744140625, -0.0022335052490234375, -0.01119232177734375, -0.0004968643188476562, 0.0029544830322265625, 0.0306854248046875, 0.032928466796875, -0.00997161865234375, -0.003063201904296875, 0.01055908203125, 0.0024356842041015625, -0.0107574462890625, -0.003589630126953125, -0.0228271484375, 0.036865234375, -0.04443359375, -0.023468017578125, 0.00724029541015625, -0.0041656494140625, 0.037078857421875, 0.006977081298828125, -0.027496337890625, -0.0244598388671875, -0.00267791748046875, 0.0131988525390625, 0.000050187110900878906, 0.004016876220703125, 0.041473388671875, 0.01380157470703125, -0.02691650390625, -0.02606201171875, -0.0178375244140625, -0.0005879402160644531, -0.05755615234375, 0.0305633544921875, -0.005489349365234375, 0.01168060302734375, 0.0345458984375, 0.06610107421875, -0.0016946792602539062, 0.057647705078125, -0.0247650146484375, -0.022125244140625, 0.01451873779296875, -0.0019445419311523438, 0.0033092498779296875, 0.02288818359375, 0.01419830322265625, -0.0277862548828125, 0.06512451171875, 0.0043487548828125, 0.0053558349609375, 0.03192138671875, 0.04150390625, -0.01517486572265625, -0.024444580078125, -0.0038394927978515625, -0.04193115234375, -0.0240936279296875, 0.0455322265625, 0.00846099853515625, -0.038848876953125, -0.0301055908203125, -0.028411865234375, 0.033294677734375, 0.00812530517578125, -0.042938232421875, 0.046539306640625, -0.006328582763671875, 0.048370361328125, 0.0179595947265625, -0.039459228515625, 0.06109619140625, 0.05194091796875, 0.0009527206420898438, -0.023101806640625, -0.0006961822509765625, -0.003780364990234375, 0.0361328125, -0.04681396484375, -0.0552978515625, 0.059112548828125, 0.002685546875, 0.0673828125, -0.041015625, -0.039947509765625, 0.003910064697265625, 0.003376007080078125, 0.0675048828125, 0.0361328125, -0.07574462890625, 0.016082763671875, -0.06988525390625, 0.0022029876708984375, -0.056671142578125, -0.0521240234375, -0.038848876953125, -0.01148223876953125, -0.01226806640625, 0.035186767578125, -0.003936767578125, 0.038116455078125, -0.0034732818603515625, 0.017913818359375, -0.01514434814453125, 0.040252685546875, -0.00817108154296875, 0.03369140625, 0.048431396484375, 0.0244903564453125, 0.0198822021484375, 0.0357666015625, 0.00830078125, -0.0411376953125, 0.023712158203125, -0.010345458984375, -0.0167694091796875, -0.056610107421875, 0.038299560546875, 0.007659912109375, 0.034881591796875, -0.00501251220703125, -0.006805419921875, 0.0173797607421875, -0.0028285980224609375, -0.019744873046875, 0.0142822265625, 0.0252685546875, 0.0204010009765625, -0.00882720947265625, -0.00037550926208496094, 0.0106353759765625, -0.007049560546875, -0.03790283203125, 0.052154541015625, 0.001972198486328125, 0.03302001953125, -0.006072998046875, -0.01558685302734375, 0.048370361328125, 0.11578369140625, 0.0136260986328125, 0.07928466796875, 0.047760009765625, 0.026824951171875, 0.052703857421875, 0.00849151611328125, -0.0309295654296875, 0.005615234375, 0.08740234375, 0.018310546875, -0.022674560546875, 0.0582275390625, -0.0299530029296875, 0.02349853515625, 0.060638427734375, 0.0836181640625, -0.0711669921875, -0.0035495758056640625, 0.0423583984375, -0.0120391845703125, -0.0017986297607421875, 0.031097412109375, -0.0218505859375, -0.044281005859375, 0.025390625, -0.0330810546875, 0.01494598388671875, 0.0097198486328125, -0.0126953125, -0.0166778564453125, -0.037261962890625, 0.023101806640625, 0.0037937164306640625, -0.0345458984375, 0.02545166015625, 0.019866943359375, -0.0149688720703125, -0.038726806640625, 0.00965118408203125, 0.017242431640625, -0.0186767578125, -0.07196044921875, 0.0240936279296875, 0.0166473388671875, -0.0133056640625, -0.021820068359375, -0.006496429443359375, 0.0283966064453125, 0.0102081298828125, -0.0054779052734375, 0.00047087669372558594, -0.01739501953125, -0.0100860595703125, 0.06951904296875, 0.004795074462890625, 0.0014858245849609375, 0.023895263671875, -0.04742431640625, -0.0181884765625, -0.028533935546875, 0.03961181640625, -0.0029811859130859375, -0.0161895751953125, 0.0706787109375, 0.0029239654541015625, -0.02508544921875, 0.01320648193359375, -0.015594482421875, -0.01259613037109375, -0.0207366943359375, 0.036529541015625, -0.04132080078125, 0.00487518310546875, 0.007175445556640625, 0.0064697265625, -0.01430511474609375, -0.03546142578125, -0.03314208984375, 0.044586181640625, -0.013092041015625, 0.043975830078125, 0.0186614990234375, 0.0018777847290039062, 0.01171112060546875, -0.002849578857421875, -0.02557373046875, 0.029083251953125, 0.01180267333984375, -0.0263824462890625, -0.0244903564453125, 0.0108184814453125, -0.033477783203125, -0.013214111328125, 0.033294677734375, 0.0007920265197753906, -0.00905609130859375, -0.0269927978515625, 0.0077362060546875, 0.020477294921875, -0.0217132568359375, 0.020660400390625, 0.0119171142578125, 0.062255859375, 0.08892822265625, -0.054962158203125, 0.029022216796875, -0.0137786865234375, 0.01084136962890625, 0.01068115234375, 0.01239776611328125, -0.016265869140625, 0.016143798828125, -0.036376953125, -0.043121337890625, 0.0176849365234375, 0.017547607421875, 0.02294921875, -0.010498046875, 0.036346435546875, 0.013458251953125, 0.0204315185546875, 0.0433349609375, -0.0287628173828125, 0.042877197265625, 0.006732940673828125, 0.01364898681640625, 0.043853759765625, 0.017669677734375, 0.0438232421875, 0.0090179443359375, 0.007427215576171875, 0.01551055908203125, 0.00783538818359375, 0.077392578125, 0.0770263671875, 0.04852294921875, 0.00006687641143798828, 0.00684356689453125, 0.04278564453125, 0.08770751953125, -0.044036865234375, -0.0209503173828125, -0.0013713836669921875, 0.0017976760864257812, 0.0147552490234375, -0.004909515380859375, 0.03643798828125, -0.01165008544921875, -0.00603485107421875, -0.0305938720703125, -0.0005545616149902344, 0.037841796875, 0.00044798851013183594, -0.004711151123046875, -0.0235595703125, 0.0014486312866210938, 0.010772705078125, -0.0275421142578125, 0.005157470703125, -0.0174713134765625, 0.0114288330078125, 0.028656005859375, 0.0174560546875, -0.00792694091796875, -0.00605010986328125, -0.0251312255859375, 0.08148193359375, -0.006755828857421875, 0.01351165771484375, -0.053466796875, -0.07391357421875, 0.037689208984375, 0.03240966796875, 0.0465087890625, 0.03070068359375, 0.042816162109375, 0.0056304931640625, -0.01018524169921875, 0.0081024169921875, 0.0328369140625, -0.019683837890625, 0.028839111328125, -0.0419921875, 0.050384521484375, 0.0106353759765625, -0.005542755126953125, -0.00856781005859375, 0.0106658935546875, 0.031341552734375, -0.034820556640625, 0.046417236328125, -0.01654052734375, -0.01372528076171875, 0.01280975341796875, -0.0482177734375, 0.042572021484375, -0.031463623046875, 0.02447509765625, -0.016021728515625, 0.0247039794921875, 0.0127716064453125, 0.0161590576171875, 0.0389404296875, 0.03656005859375, 0.004734039306640625, 0.0180206298828125, -0.033935546875, 0.006473541259765625, 0.0330810546875, -0.0150604248046875, -0.046630859375, 0.0171661376953125, -0.0369873046875, -0.06683349609375, -0.048248291015625, -0.02886962890625, 0.0278167724609375, -0.0027923583984375, 0.0946044921875, -0.024932861328125, 0.007396697998046875, 0.007785797119140625, 0.0254974365234375, -0.0341796875, -0.005558013916015625, 0.0179443359375, -0.038360595703125, 0.011871337890625, 0.005584716796875, -0.053436279296875, 0.00518798828125, 0.0305633544921875, -0.034271240234375, 0.04351806640625, -0.0135498046875, 0.004795074462890625, -0.0604248046875, 0.008209228515625, -0.037384033203125, -0.04638671875, -0.051513671875, 0.00423431396484375, 0.01812744140625, 0.0242767333984375, -0.021942138671875, 0.058074951171875, -0.0133514404296875, -0.0171661376953125, 0.030426025390625, -0.072998046875, 0.014495849609375, 0.016754150390625, -0.0096282958984375, -0.0231170654296875, 0.033355712890625, -0.01006317138671875, 0.037994384765625, 0.002857208251953125, 0.062408447265625, 0.024566650390625, -0.0122222900390625, -0.04119873046875, -0.0355224609375, -0.015045166015625, -0.034454345703125, -0.01242828369140625, 0.00022101402282714844, 0.005077362060546875, -0.0153350830078125, -0.06365966796875, -0.00337982177734375, -0.041351318359375, -0.02716064453125, 0.00018215179443359375, -0.0243377685546875, -0.0312042236328125, 0.057891845703125, -0.006511688232421875, -0.0219268798828125, -0.01654052734375, -0.003032684326171875, -0.00734710693359375, -0.01258087158203125, 0.003749847412109375, -0.04412841796875, 0.0237884521484375, -0.0283966064453125, 0.00592041015625, -0.029296875, 0.004123687744140625, -0.039337158203125, 0.02056884765625, -0.0148162841796875, 0.038726806640625, 0.04266357421875, -0.0264739990234375, -0.04364013671875, 0.060150146484375, 0.03375244140625, 0.099365234375, 0.01230621337890625, -0.043701171875, -0.03826904296875, -0.001369476318359375, 0.0077362060546875, -0.003025054931640625, 0.0182647705078125, -0.03826904296875, -0.035919189453125, 0.0029163360595703125, -0.00484466552734375, 0.01371002197265625, -0.03436279296875, -0.05108642578125, 0.07269287109375, 0.0029773712158203125, -0.0206756591796875, -0.03948974609375, 0.018402099609375, 0.00865936279296875, 0.00873565673828125, -0.0029315948486328125, -0.018402099609375, -0.02984619140625, -0.004398345947265625, 0.0306243896484375, 0.044158935546875, 0.0067138671875, 0.01763916015625, 0.001880645751953125, 0.056488037109375, 0.0426025390625, 0.0179901123046875, -0.0306396484375, 0.007556915283203125, 0.009918212890625, 0.0282440185546875, -0.0002429485321044922, -0.004100799560546875, 0.023773193359375, 0.0003294944763183594, -0.00768280029296875, -0.046875, 0.035400390625, 0.0306243896484375, 0.0030384063720703125, 0.00649261474609375, -0.01404571533203125, -0.0455322265625, -0.054962158203125, -0.009979248046875, 0.01357269287109375, -0.033782958984375, 0.0175628662109375, -0.09051513671875, -0.01837158203125, 0.0005817413330078125, 0.0003657341003417969, -0.0228424072265625, -0.04876708984375, -0.0428466796875, -0.0118255615234375, -0.029296875, 0.01641845703125, 0.00458526611328125, -0.0281524658203125, 0.056304931640625, -0.027862548828125, 0.019317626953125, 0.000003874301910400391, 0.032379150390625, 0.0285491943359375, 0.0179290771484375, 0.0440673828125, 0.03875732421875, -0.01447296142578125, -0.03173828125, 0.03936767578125, -0.027191162109375, 0.0279083251953125, -0.0400390625, 0.031524658203125, 0.009857177734375, -0.0130615234375, 0.0157470703125, -0.0053558349609375, 0.045318603515625, -0.0193634033203125, 0.00041604042053222656, -0.0165252685546875, 0.05419921875, 0.0002663135528564453, 0.021575927734375, -0.04547119140625, 0.025146484375, 0.018646240234375, -0.037322998046875, -0.006622314453125, 0.006076812744140625, -0.004726409912109375, -0.0287017822265625, 0.015625, -0.02362060546875, -0.00623321533203125, 0.01324462890625 ]
bdcb605eef2e1d46fe0f3dcbf928146fb7b36900
Wordpress Stackexchange Q: Why WordPress automatically removes http from the url of my website's sub domain? I am witnessing a strange problem in WordPress which automatically removes 'http' from my sub domain link. I don't know why this is happening. Note that my domain is https while it's subdomain is http. My WordPress is installed in my main domain. When I add the below url of my sub domain to any post: <a href="http://www.demo.yogihosting.com/jquery/jquery-removedata/">DEMO</a> Then it automatically converts it to: <a href="//www.demo.yogihosting.com/jquery/jquery-removedata/">DEMO</a> See that the http is gone from the URL. Also see this below gif image which lists this problem: Why this is happening and how to solve this problem. A: You might find that you do not want to solve this one. Links starting //example.com are protocol agnostic. This means it will load over whatever the site it is on loads over. Be that http, https, or some truly esoteric. You should find that links like this work in both secure and insecure connections just fine. It looks odd if you have never seen it before but it works really well.
Q: Why WordPress automatically removes http from the url of my website's sub domain? I am witnessing a strange problem in WordPress which automatically removes 'http' from my sub domain link. I don't know why this is happening. Note that my domain is https while it's subdomain is http. My WordPress is installed in my main domain. When I add the below url of my sub domain to any post: <a href="http://www.demo.yogihosting.com/jquery/jquery-removedata/">DEMO</a> Then it automatically converts it to: <a href="//www.demo.yogihosting.com/jquery/jquery-removedata/">DEMO</a> See that the http is gone from the URL. Also see this below gif image which lists this problem: Why this is happening and how to solve this problem. A: You might find that you do not want to solve this one. Links starting //example.com are protocol agnostic. This means it will load over whatever the site it is on loads over. Be that http, https, or some truly esoteric. You should find that links like this work in both secure and insecure connections just fine. It looks odd if you have never seen it before but it works really well. A: Are you using any SSL plugin? If not it might be becauee you enabled Full or flexible SSL in Cloudflare. Dude, why would you add www in front of your subdomain? zeez A: A proper subdomain takes the place of the 'www', which should not be there at all.....so your subdomain URL should be "http://demo.yogihosting.com/jquery/jquery-removedata/" instead of as you show it above......perhaps you have a typo in your original question?
wordpress
{ "language": "en", "length": 252, "provenance": "stackexchange_00019.jsonl.gz:497953", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/348237" }
[ 0.0653076171875, 0.024932861328125, -0.012451171875, 0.01088714599609375, 0.037933349609375, -0.06500244140625, 0.08245849609375, -0.050872802734375, -0.01551055908203125, -0.0008111000061035156, 0.0167388916015625, -0.017486572265625, 0.00592803955078125, -0.05609130859375, 0.031402587890625, -0.00975799560546875, 0.0066986083984375, -0.001605987548828125, -0.01367950439453125, -0.0142059326171875, -0.03955078125, -0.00466156005859375, 0.0164947509765625, -0.01320648193359375, 0.01262664794921875, 0.049041748046875, 0.07855224609375, -0.007740020751953125, -0.0027923583984375, -0.004085540771484375, 0.020904541015625, -0.017059326171875, 0.0028400421142578125, 0.051483154296875, -0.044769287109375, -0.047607421875, -0.0018434524536132812, 0.0111846923828125, -0.01047515869140625, 0.028564453125, -0.010986328125, 0.03228759765625, 0.058013916015625, -0.01309967041015625, -0.00110626220703125, -0.0374755859375, 0.01279449462890625, -0.0235595703125, -0.009307861328125, 0.01556396484375, -0.0009493827819824219, 0.0245513916015625, 0.00832366943359375, 0.004619598388671875, -0.006595611572265625, -0.0101776123046875, 0.0132293701171875, 0.0129241943359375, 0.0186614990234375, -0.01177978515625, -0.0306549072265625, 0.01328277587890625, 0.0075836181640625, -0.0124664306640625, -0.0229949951171875, -0.0293731689453125, -0.007595062255859375, -0.012359619140625, -0.06085205078125, -0.00815582275390625, 0.08056640625, -0.01003265380859375, -0.0021953582763671875, 0.01009368896484375, -0.01399993896484375, -0.005889892578125, -0.0025043487548828125, 0.0208892822265625, 0.0241851806640625, -0.0019378662109375, 0.023101806640625, -0.0064544677734375, -0.01025390625, -0.0187225341796875, 0.022064208984375, 0.0079193115234375, -0.0017480850219726562, -0.01525115966796875, -0.042449951171875, -0.01318359375, -0.03228759765625, -0.059967041015625, 0.0024433135986328125, -0.034820556640625, -0.0341796875, -0.031402587890625, 0.01538848876953125, 0.01364898681640625, 0.02197265625, 0.0221405029296875, -0.00969696044921875, -0.044036865234375, 0.0294189453125, -0.0273895263671875, -0.01322174072265625, 0.0256195068359375, 0.0018167495727539062, 0.03424072265625, 0.042236328125, 0.0284271240234375, 0.0106048583984375, 0.0074615478515625, -0.024993896484375, -0.0041656494140625, -0.036224365234375, -0.0027828216552734375, -0.03558349609375, -0.03021240234375, -0.0257568359375, -0.0282440185546875, 0.0029850006103515625, 0.04876708984375, -0.07037353515625, -0.0264434814453125, 0.0213470458984375, 0.003326416015625, 0.00261688232421875, -0.001972198486328125, -0.034698486328125, 0.0230865478515625, -0.033935546875, 0.022308349609375, 0.055328369140625, 0.021484375, -0.005767822265625, -0.0220947265625, 0.0396728515625, -0.01483154296875, -0.0135498046875, 0.0217437744140625, 0.01043701171875, -0.053741455078125, -0.043975830078125, 0.001392364501953125, 0.0023345947265625, 0.0229644775390625, 0.0005388259887695312, 0.02227783203125, 0.02606201171875, -0.036285400390625, 0.035980224609375, -0.06719970703125, 0.0638427734375, -0.0013885498046875, -0.023223876953125, -0.040496826171875, 0.0687255859375, -0.06097412109375, -0.0191497802734375, -0.08074951171875, -0.0009045600891113281, -0.0175933837890625, 0.007587432861328125, -0.021728515625, -0.035919189453125, 0.0174560546875, -0.0254669189453125, -0.00873565673828125, 0.0313720703125, -0.005321502685546875, 0.024261474609375, -0.032684326171875, -0.02288818359375, 0.0290679931640625, 0.031219482421875, 0.04559326171875, 0.01074981689453125, 0.03680419921875, 0.0087738037109375, 0.0440673828125, 0.016204833984375, -0.0285797119140625, 0.06951904296875, -0.02734375, -0.0484619140625, 0.0455322265625, -0.007503509521484375, 0.0469970703125, 0.0130157470703125, 0.011077880859375, 0.00814056396484375, 0.0215301513671875, -0.0265350341796875, 0.02716064453125, 0.0014638900756835938, -0.04876708984375, -0.0149078369140625, -0.0221405029296875, -0.0156097412109375, 0.010467529296875, -0.0207366943359375, 0.011322021484375, -0.0010356903076171875, 0.0222625732421875, 0.0248870849609375, -0.001468658447265625, 0.006679534912109375, 0.00989532470703125, -0.00591278076171875, 0.02239990234375, 0.0008721351623535156, -0.0048065185546875, -0.01328277587890625, -0.049224853515625, -0.0177154541015625, -0.0237579345703125, 0.0071868896484375, 0.0006279945373535156, 0.00909423828125, 0.016387939453125, 0.00763702392578125, -0.00754547119140625, -0.0196075439453125, -0.0239715576171875, 0.033660888671875, -0.0210418701171875, -0.0254669189453125, -0.03460693359375, 0.0238800048828125, -0.0164642333984375, -0.04620361328125, 0.062744140625, 0.04425048828125, -0.008087158203125, -0.05487060546875, -0.00646209716796875, -0.02813720703125, -0.06695556640625, -0.0283966064453125, 0.07830810546875, 0.0160980224609375, 0.00543212890625, -0.037933349609375, -0.00884246826171875, 0.0082244873046875, -0.06719970703125, -0.019317626953125, 0.013946533203125, -0.01488494873046875, -0.0294647216796875, 0.0321044921875, -0.034088134765625, 0.0159759521484375, -0.045562744140625, 0.00307464599609375, 0.0189361572265625, 0.01317596435546875, -0.0184326171875, -0.0117645263671875, -0.0060882568359375, 0.015533447265625, 0.008331298828125, -0.04345703125, 0.00862884521484375, 0.0249786376953125, -0.0022716522216796875, 0.04296875, 0.043670654296875, 0.0230865478515625, -0.03607177734375, -0.00559234619140625, -0.017822265625, -0.01030731201171875, 0.0235595703125, 0.07666015625, -0.0257720947265625, -0.0386962890625, -0.01377105712890625, 0.0269622802734375, 0.0214996337890625, -0.0176544189453125, 0.0088043212890625, 0.00923919677734375, -0.00914764404296875, -0.0081634521484375, -0.04510498046875, 0.027587890625, -0.0034885406494140625, 0.0177764892578125, 0.014373779296875, 0.03192138671875, 0.013763427734375, -0.0288543701171875, 0.04119873046875, 0.0264129638671875, -0.015411376953125, 0.045623779296875, -0.03759765625, 0.031005859375, -0.0205230712890625, 0.0924072265625, 0.06976318359375, -0.0101318359375, 0.015350341796875, 0.00225067138671875, -0.02685546875, 0.013153076171875, -0.01450347900390625, -0.037445068359375, 0.0188446044921875, -0.1256103515625, -0.0380859375, 0.0154266357421875, -0.0367431640625, -0.00527191162109375, -0.03216552734375, -0.0117340087890625, -0.026031494140625, -0.11077880859375, -0.085693359375, -0.018402099609375, -0.019317626953125, -0.00807952880859375, 0.050933837890625, -0.01039886474609375, 0.003719329833984375, 0.0654296875, 0.024810791015625, -0.0008664131164550781, -0.038360595703125, -0.06781005859375, -0.0750732421875, -0.0906982421875, -0.0108184814453125, 0.0048980712890625, 0.01488494873046875, 0.013427734375, -0.031341552734375, -0.0005640983581542969, -0.0200653076171875, 0.0159149169921875, 0.005336761474609375, -0.0032806396484375, -0.0196990966796875, -0.0089569091796875, -0.041046142578125, -0.0015468597412109375, -0.0006260871887207031, 0.06488037109375, 0.01013946533203125, -0.00972747802734375, 0.00896453857421875, -0.02862548828125, -0.03741455078125, -0.003971099853515625, -0.0675048828125, 0.0161895751953125, -0.0081939697265625, -0.00299835205078125, -0.046051025390625, -0.004352569580078125, -0.0147705078125, -0.0184173583984375, 0.0169525146484375, 0.0015859603881835938, -0.02593994140625, -0.01505279541015625, 0.0265045166015625, 0.0013713836669921875, -0.0181884765625, 0.042388916015625, -0.018524169921875, -0.005306243896484375, -0.0207061767578125, -0.0297698974609375, -0.034637451171875, 0.0753173828125, -0.0186309814453125, -0.0249786376953125, 0.015655517578125, -0.0105743408203125, 0.0046539306640625, -0.04754638671875, -0.036529541015625, -0.00592803955078125, 0.039520263671875, -0.004241943359375, -0.0022716522216796875, -0.01172637939453125, -0.0288848876953125, -0.0253143310546875, 0.048187255859375, -0.02606201171875, -0.01229095458984375, 0.01678466796875, 0.030303955078125, -0.01226806640625, -0.041046142578125, -0.04010009765625, -0.0099334716796875, -0.073974609375, 0.0010499954223632812, -0.01678466796875, -0.00824737548828125, -0.005641937255859375, 0.0227508544921875, -0.0202484130859375, -0.03466796875, 0.0159912109375, -0.00567626953125, -0.007579803466796875, -0.01425933837890625, -0.00853729248046875, -0.0408935546875, 0.002040863037109375, -0.0275421142578125, 0.02264404296875, -0.0015420913696289062, 0.01032257080078125, -0.0161285400390625, 0.002727508544921875, -0.01183319091796875, -0.0018415451049804688, 0.006134033203125, 0.00443267822265625, -0.0171966552734375, -0.00852203369140625, -0.03564453125, 0.0177154541015625, 0.06439208984375, -0.005329132080078125, 0.018402099609375, 0.01000213623046875, -0.005779266357421875, -0.06280517578125, -0.01214599609375, -0.006916046142578125, 0.01099395751953125, 0.0287933349609375, -0.038604736328125, -0.04620361328125, -0.04296875, -0.052978515625, 0.00814056396484375, -0.00879669189453125, -0.02618408203125, -0.045501708984375, -0.047210693359375, 0.03375244140625, -0.0171356201171875, -0.004940032958984375, 0.0106964111328125, 0.0061798095703125, 0.0008311271667480469, -0.027984619140625, 0.0038738250732421875, 0.031951904296875, 0.0242156982421875, -0.00064849853515625, 0.06121826171875, 0.0305938720703125, 0.02520751953125, -0.0007219314575195312, 0.00200653076171875, 0.036956787109375, 0.01055908203125, -0.011474609375, -0.002166748046875, -0.0236053466796875, 0.0122833251953125, 0.0224456787109375, -0.022186279296875, -0.00899505615234375, 0.0037021636962890625, -0.0008497238159179688, 0.0166473388671875, -0.010955810546875, 0.0205841064453125, -0.01476287841796875, 0.005077362060546875, -0.0097503662109375, 0.025421142578125, -0.03387451171875, 0.0259246826171875, 0.00716400146484375, 0.0020236968994140625, -0.0024471282958984375, 0.0194091796875, 0.0088653564453125, -0.06121826171875, 0.016845703125, -0.06475830078125, 0.040069580078125, -0.06365966796875, -0.01348114013671875, -0.033721923828125, -0.026458740234375, 0.08514404296875, 0.0273895263671875, -0.055999755859375, 0.0435791015625, 0.00615692138671875, 0.0099334716796875, 0.01184844970703125, -0.041412353515625, 0.0129241943359375, 0.00826263427734375, 0.01210784912109375, 0.0318603515625, -0.02728271484375, -0.018798828125, -0.03155517578125, -0.007038116455078125, -0.02081298828125, 0.00860595703125, 0.0165252685546875, 0.0345458984375, 0.0292205810546875, 0.017242431640625, -0.0244903564453125, -0.0135040283203125, -0.00010401010513305664, 0.035430908203125, 0.005558013916015625, 0.004398345947265625, -0.005878448486328125, 0.028839111328125, 0.042022705078125, -0.06170654296875, -0.01126861572265625, 0.06439208984375, 0.0672607421875, 0.0202789306640625, -0.0411376953125, -0.0191650390625, -0.00457763671875, -0.01300048828125, 0.0653076171875, 0.042938232421875, -0.0301055908203125, -0.0233001708984375, 0.0008487701416015625, 0.0443115234375, -0.006805419921875, -0.0105438232421875, -0.023101806640625, 0.003582000732421875, 0.006595611572265625, -0.025970458984375, -0.033721923828125, 0.0236663818359375, 0.0196380615234375, 0.021881103515625, 0.0031833648681640625, -0.04071044921875, 0.005420684814453125, -0.033721923828125, -0.02301025390625, 0.0120849609375, 0.0777587890625, -0.021636962890625, -0.0016832351684570312, -0.004322052001953125, 0.01345062255859375, 0.0006198883056640625, 0.00841522216796875, 0.0192413330078125, 0.004070281982421875, -0.084228515625, -0.0018625259399414062, -0.0211029052734375, 0.01885986328125, 0.0257415771484375, -0.0096588134765625, -0.033966064453125, -0.010223388671875, 0.01983642578125, 0.0086212158203125, -0.0126953125, -0.031768798828125, -0.0160064697265625, 0.00450897216796875, 0.0316162109375, 0.0011997222900390625, -0.0156707763671875, 0.048370361328125, -0.0163726806640625, 0.0094757080078125, -0.021942138671875, 0.025054931640625, 0.03887939453125, -0.01751708984375, 0.0224609375, -0.0732421875, -0.039093017578125, -0.03033447265625, -0.04425048828125, 0.0406494140625, 0.033721923828125, -0.0034809112548828125, -0.0071868896484375, 0.01480865478515625, 0.00543975830078125, -0.032470703125, 0.007549285888671875, 0.034881591796875, 0.057647705078125, -0.051239013671875, 0.005035400390625, 0.032135009765625, -0.006977081298828125, -0.02813720703125, -0.015167236328125, 0.0166473388671875, -0.01605224609375, 0.012542724609375, 0.033233642578125, -0.0007266998291015625, 0.07818603515625, -0.00978851318359375, 0.06024169921875, 0.044921875, 0.0123138427734375, 0.040008544921875, 0.04156494140625, -0.037353515625, -0.049041748046875, -0.0118255615234375, 0.00301361083984375, -0.01139068603515625, -0.01226043701171875, -0.00739288330078125, 0.0076141357421875, 0.07733154296875, 0.07879638671875, -0.0906982421875, -0.0028171539306640625, 0.0106353759765625, -0.0240478515625, 0.01300048828125, 0.002285003662109375, -0.006805419921875, 0.0107879638671875, -0.008941650390625, 0.0205841064453125, -0.0310516357421875, -0.00490570068359375, 0.042724609375, -0.019287109375, -0.006580352783203125, 0.042694091796875, 0.00936126708984375, -0.017578125, -0.0096588134765625, 0.0006632804870605469, -0.0171966552734375, 0.0015687942504882812, 0.00037169456481933594, 0.035980224609375, -0.022918701171875, -0.060821533203125, -0.0006842613220214844, -0.0248870849609375, -0.043426513671875, -0.006603240966796875, 0.005680084228515625, 0.0128936767578125, 0.0672607421875, -0.039276123046875, 0.0253143310546875, 0.031463623046875, -0.0305938720703125, 0.0277252197265625, -0.044281005859375, -0.0029621124267578125, 0.0146026611328125, -0.056976318359375, 0.0009655952453613281, -0.0151214599609375, -0.015655517578125, -0.0123138427734375, 0.017364501953125, 0.09423828125, -0.06463623046875, -0.006862640380859375, 0.0328369140625, 0.0318603515625, -0.0092926025390625, -0.040802001953125, 0.01009368896484375, -0.0259857177734375, 0.0217437744140625, -0.019927978515625, 0.023193359375, -0.0007076263427734375, -0.04833984375, -0.07037353515625, 0.09478759765625, 0.01494598388671875, 0.0216217041015625, -0.0184326171875, 0.04400634765625, -0.043365478515625, 0.015869140625, 0.00021278858184814453, 0.026031494140625, 0.0153656005859375, 0.0030231475830078125, 0.007404327392578125, -0.0069732666015625, 0.0164642333984375, 0.0220794677734375, 0.03643798828125, 0.0026187896728515625, 0.001064300537109375, -0.004241943359375, 0.043670654296875, 0.00457000732421875, -0.01348114013671875, 0.017608642578125, -0.001178741455078125, 0.0191802978515625, 0.0295562744140625, -0.03619384765625, 0.00588226318359375, -0.01308441162109375, -0.01265716552734375, 0.0181427001953125, 0.0184173583984375, 0.0152130126953125, 0.02813720703125, 0.00991058349609375, -0.0400390625, 0.03155517578125, 0.03924560546875, -0.0003745555877685547, 0.05987548828125, 0.0067901611328125, 0.04486083984375, -0.0243377685546875, -0.00605010986328125, -0.0283203125, 0.060577392578125, 0.01526641845703125, 0.0270233154296875, 0.02191162109375, 0.0275726318359375, 0.016082763671875, -0.041778564453125, 0.0116119384765625, 0.0102691650390625, -0.048980712890625, 0.0228729248046875, 0.007564544677734375, 0.0204315185546875, -0.0418701171875, -0.0186614990234375, 0.061553955078125, 0.05230712890625, -0.0231475830078125, -0.062042236328125, -0.00007236003875732422, -0.0209808349609375, 0.03173828125, 0.0000997781753540039, 0.0299224853515625, -0.055938720703125, -0.050506591796875, -0.00687408447265625, 0.012542724609375, 0.0254364013671875, 0.00733184814453125, 0.00687408447265625, 0.0670166015625, -0.04168701171875, 0.0174102783203125, -0.0251312255859375, -0.036285400390625, 0.0189208984375, 0.037567138671875, 0.02093505859375, 0.056732177734375, 0.00799560546875, -0.0183563232421875, 0.00832366943359375, 0.0102386474609375, -0.0186614990234375, -0.01342010498046875, -0.038543701171875, -0.07427978515625, 0.0270233154296875, 0.055694580078125, 0.02557373046875, 0.033111572265625, 0.07159423828125, 0.01357269287109375, -0.065673828125, 0.00041174888610839844, 0.0151214599609375, -0.03558349609375, 0.039459228515625, -0.036956787109375, -0.0006289482116699219, -0.000736236572265625, -0.0232086181640625, -0.0016336441040039062, -0.04388427734375, 0.06927490234375, -0.0186614990234375, 0.0162353515625, -0.0167388916015625, -0.02001953125, 0.041259765625, -0.0279541015625, 0.0230712890625, -0.0146331787109375, -0.034393310546875, -0.00923919677734375, -0.01593017578125, -0.006988525390625, 0.00926971435546875, 0.0246124267578125, -0.0071258544921875, 0.034210205078125, 0.0015001296997070312, -0.0088653564453125, 0.0189971923828125, -0.007656097412109375, 0.007610321044921875, 0.01371002197265625, 0.01480865478515625, 0.0057373046875, -0.0101318359375, 0.0029735565185546875, 0.0200347900390625, 0.004848480224609375, -0.0215301513671875, 0.11676025390625, -0.052490234375, -0.0146331787109375, 0.01322174072265625, 0.007015228271484375, 0.005496978759765625, 0.01357269287109375, -0.0217437744140625, -0.004245758056640625, 0.0175628662109375, -0.02069091796875, -0.053436279296875, 0.036895751953125, 0.01074981689453125, -0.00937652587890625, 0.055206298828125, -0.01983642578125, 0.005649566650390625, -0.0206451416015625, 0.03466796875, -0.019378662109375, -0.0631103515625, -0.07098388671875, 0.0200653076171875, 0.02337646484375, 0.03387451171875, -0.0458984375, 0.0247344970703125, -0.045501708984375, -0.0295562744140625, 0.0086669921875, -0.0771484375, 0.00701141357421875, 0.005802154541015625, -0.0362548828125, -0.0306854248046875, 0.038299560546875, -0.0174560546875, 0.0142059326171875, -0.00984954833984375, 0.07586669921875, 0.0167999267578125, -0.01727294921875, -0.047882080078125, -0.0299835205078125, -0.009063720703125, -0.01308441162109375, -0.0081787109375, -0.0228271484375, -0.0192413330078125, -0.021759033203125, 0.008148193359375, -0.00002944469451904297, 0.0308990478515625, -0.038238525390625, -0.0120697021484375, 0.0189971923828125, -0.07830810546875, -0.044830322265625, -0.0194091796875, 0.03900146484375, 0.0168304443359375, -0.048431396484375, -0.0053253173828125, -0.019073486328125, 0.045257568359375, 0.0068817138671875, 0.0173187255859375, -0.026336669921875, -0.019989013671875, 0.0042724609375, -0.0228118896484375, -0.0560302734375, 0.0428466796875, -0.0187225341796875, 0.010406494140625, 0.0183258056640625, -0.023345947265625, 0.030548095703125, -0.030792236328125, 0.00008934736251831055, 0.03314208984375, 0.0029296875, -0.003997802734375, 0.006011962890625, 0.005390167236328125, -0.04180908203125, -0.031005859375, 0.021575927734375, -0.04986572265625, 0.0009522438049316406, -0.0012807846069335938, 0.0206146240234375, 0.01837158203125, -0.020416259765625, -0.024017333984375, 0.06451416015625, 0.0061492919921875, -0.00882720947265625, -0.029510498046875, 0.0034236907958984375, -0.02685546875, 0.07354736328125, -0.002246856689453125, -0.006145477294921875, -0.003177642822265625, 0.03375244140625, 0.029571533203125, 0.046051025390625, -0.0399169921875, 0.04852294921875, 0.00885772705078125, 0.08050537109375, 0.061126708984375, 0.00623321533203125, 0.00815582275390625, 0.004146575927734375, 0.05059814453125, 0.041168212890625, -0.00836944580078125, 0.0545654296875, 0.01158905029296875, -0.02166748046875, -0.00916290283203125, -0.0191802978515625, -0.01001739501953125, -0.02496337890625, 0.04290771484375, 0.042449951171875, 0.0014257431030273438, -0.01282501220703125, -0.0478515625, -0.037750244140625, 0.027252197265625, -0.020111083984375, 0.00655364990234375, -0.059295654296875, 0.00693511962890625, 0.0024871826171875, 0.0089874267578125, -0.0224609375, -0.06866455078125, -0.05670166015625, -0.0162506103515625, -0.0360107421875, 0.042022705078125, -0.021728515625, 0.013458251953125, 0.04296875, -0.037109375, -0.0020809173583984375, -0.0048828125, 0.01357269287109375, -0.002262115478515625, -0.016265869140625, 0.024810791015625, 0.030853271484375, -0.055877685546875, 0.005634307861328125, 0.01491546630859375, 0.008270263671875, -0.027984619140625, -0.03997802734375, -0.0384521484375, 0.00963592529296875, 0.0211181640625, 0.037445068359375, 0.0128173828125, -0.01398468017578125, 0.032958984375, -0.0171966552734375, 0.01216888427734375, 0.013946533203125, -0.010955810546875, 0.051971435546875, -0.0011758804321289062, -0.042205810546875, 0.03265380859375, -0.054595947265625, 0.00925445556640625, 0.0226287841796875, -0.0189971923828125, -0.038055419921875, 0.00634765625, -0.046539306640625, 0.022613525390625, 0.012664794921875 ]
c92688882c96a945f2d057722fcf2043fd10f1af
Wordpress Stackexchange Q: Is it possible to bulk migrate all deprecated instances of a gutenberg block? I wrote a plugin which defines a gutenberg block. After using this block in posts, I've changed its definition inside my plugin, so now I have a "deprecated" entry in the block configuration containing "migrate" function. I can open and save each post containing this block and the migration is applied. Is it possible to do this for all posts automatically? If yes then how? (in order to get rid of the "deprecated" code in block configuration)
Q: Is it possible to bulk migrate all deprecated instances of a gutenberg block? I wrote a plugin which defines a gutenberg block. After using this block in posts, I've changed its definition inside my plugin, so now I have a "deprecated" entry in the block configuration containing "migrate" function. I can open and save each post containing this block and the migration is applied. Is it possible to do this for all posts automatically? If yes then how? (in order to get rid of the "deprecated" code in block configuration)
wordpress
{ "language": "en", "length": 91, "provenance": "stackexchange_00019.jsonl.gz:498057", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/348596" }
[ 0.0133056640625, 0.0189208984375, -0.03033447265625, -0.0265350341796875, 0.0111236572265625, -0.023193359375, -0.0187225341796875, -0.037261962890625, 0.033843994140625, 0.03192138671875, 0.007080078125, -0.04473876953125, 0.01204681396484375, -0.037994384765625, -0.04833984375, -0.0209808349609375, 0.055328369140625, 0.0029811859130859375, 0.047271728515625, -0.0007567405700683594, -0.01218414306640625, 0.0308990478515625, 0.0174713134765625, 0.10498046875, 0.03729248046875, -0.0252532958984375, 0.01103973388671875, -0.01541900634765625, 0.01788330078125, -0.01409149169921875, 0.03277587890625, 0.01605224609375, 0.0118255615234375, -0.00759124755859375, -0.0150604248046875, -0.007747650146484375, 0.026763916015625, -0.023681640625, -0.018402099609375, 0.01373291015625, 0.0298309326171875, -0.0211029052734375, -0.00982666015625, -0.02191162109375, -0.02777099609375, 0.00722503662109375, 0.010650634765625, -0.0255279541015625, 0.02789306640625, 0.0282745361328125, -0.024200439453125, 0.0005974769592285156, -0.0173797607421875, -0.0023097991943359375, -0.0084075927734375, -0.03570556640625, -0.046295166015625, 0.02911376953125, 0.007213592529296875, 0.021484375, -0.0089569091796875, 0.01279449462890625, 0.004886627197265625, -0.0235137939453125, 0.0384521484375, 0.01311492919921875, -0.0088653564453125, 0.018310546875, -0.0258636474609375, 0.04034423828125, 0.0189971923828125, -0.046173095703125, -0.0212249755859375, -0.0455322265625, 0.0055389404296875, 0.006313323974609375, -0.021453857421875, -0.06134033203125, 0.00042724609375, 0.02679443359375, -0.018280029296875, -0.004913330078125, 0.0198974609375, -0.06341552734375, 0.01214599609375, -0.045806884765625, -0.0137786865234375, 0.0193023681640625, -0.0260467529296875, -0.047607421875, -0.016021728515625, -0.00722503662109375, -0.0736083984375, 0.0295867919921875, -0.0059051513671875, -0.006778717041015625, -0.01013946533203125, 0.01446533203125, -0.01375579833984375, 0.03277587890625, -0.04345703125, -0.0157318115234375, 0.0241241455078125, -0.024017333984375, 0.0186614990234375, 0.01366424560546875, -0.05352783203125, -0.04547119140625, 0.034027099609375, 0.04779052734375, -0.0021457672119140625, -0.0330810546875, 0.007343292236328125, 0.0007424354553222656, -0.0288543701171875, 0.0013275146484375, -0.0355224609375, 0.0253143310546875, -0.01165771484375, 0.01090240478515625, 0.032745361328125, 0.049713134765625, -0.0173492431640625, -0.025726318359375, -0.0400390625, -0.04315185546875, -0.024261474609375, -0.018218994140625, -0.026123046875, -0.017730712890625, -0.0168609619140625, 0.04986572265625, 0.0205841064453125, 0.0033893585205078125, -0.0294189453125, 0.005825042724609375, 0.041595458984375, 0.00482940673828125, 0.00814056396484375, -0.0248565673828125, 0.00982666015625, 0.0005750656127929688, -0.0178375244140625, -0.0040130615234375, -0.005603790283203125, 0.0034847259521484375, 0.0294342041015625, 0.010040283203125, -0.0290985107421875, -0.06121826171875, 0.006072998046875, 0.0057525634765625, 0.064208984375, -0.0128326416015625, 0.0084991455078125, -0.0162811279296875, 0.0732421875, -0.04559326171875, -0.03326416015625, -0.064697265625, 0.048614501953125, -0.01255035400390625, -0.0042877197265625, 0.0025386810302734375, -0.0517578125, 0.0220489501953125, -0.041015625, -0.01517486572265625, 0.0308380126953125, -0.042877197265625, -0.0014324188232421875, -0.019073486328125, 0.051483154296875, -0.006988525390625, -0.018798828125, 0.03289794921875, -0.0210113525390625, -0.0101165771484375, 0.0258941650390625, -0.00434112548828125, -0.008148193359375, -0.020263671875, 0.021820068359375, 0.00397491455078125, -0.05816650390625, 0.0247955322265625, -0.01055145263671875, 0.05181884765625, 0.04248046875, 0.0134124755859375, 0.0110321044921875, -0.048187255859375, -0.029541015625, 0.01141357421875, 0.0276947021484375, 0.0025177001953125, -0.0175018310546875, 0.0058746337890625, 0.0211181640625, -0.0452880859375, 0.006389617919921875, -0.04296875, 0.03509521484375, -0.0196533203125, -0.032928466796875, -0.01204681396484375, -0.0165557861328125, 0.0289764404296875, 0.02557373046875, 0.013031005859375, -0.00594329833984375, -0.019287109375, -0.01097869873046875, 0.006320953369140625, -0.0244598388671875, 0.0275726318359375, -0.0189208984375, -0.0140838623046875, -0.0183868408203125, -0.0126190185546875, -0.011138916015625, -0.006328582763671875, -0.034912109375, 0.0207672119140625, 0.048095703125, -0.00823211669921875, -0.00933074951171875, -0.031097412109375, 0.01473236083984375, 0.0222930908203125, -0.0751953125, 0.0213470458984375, 0.03436279296875, -0.006046295166015625, -0.030426025390625, 0.006679534912109375, 0.004055023193359375, -0.0284423828125, -0.00859832763671875, 0.054168701171875, -0.00154876708984375, -0.0038738250732421875, -0.03662109375, -0.006900787353515625, 0.00493621826171875, -0.026702880859375, -0.0130767822265625, 0.031829833984375, -0.035064697265625, 0.01201629638671875, -0.0037975311279296875, 0.050994873046875, 0.0102386474609375, -0.00681304931640625, 0.0144805908203125, 0.028411865234375, 0.032989501953125, -0.019256591796875, -0.017974853515625, 0.0029926300048828125, 0.0249481201171875, -0.0223236083984375, -0.094482421875, 0.0175018310546875, 0.08624267578125, -0.0298919677734375, 0.06768798828125, 0.035003662109375, -0.03271484375, -0.006191253662109375, 0.0166473388671875, 0.0208587646484375, 0.01348876953125, 0.024627685546875, 0.034088134765625, 0.06353759765625, -0.053680419921875, -0.01415252685546875, 0.099365234375, 0.046295166015625, -0.03460693359375, 0.00611114501953125, -0.0408935546875, -0.0189971923828125, -0.04754638671875, -0.0305328369140625, 0.0244293212890625, 0.00984954833984375, -0.0097808837890625, -0.031158447265625, -0.01444244384765625, 0.04547119140625, -0.009674072265625, 0.053192138671875, 0.028472900390625, -0.0186920166015625, -0.005611419677734375, -0.056610107421875, 0.0249786376953125, -0.049591064453125, 0.06292724609375, 0.062347412109375, -0.00876617431640625, -0.00024330615997314453, -0.0098419189453125, 0.0389404296875, 0.0282440185546875, -0.01352691650390625, -0.0299835205078125, -0.02752685546875, -0.01558685302734375, -0.02532958984375, 0.029754638671875, 0.06866455078125, 0.00024628639221191406, -0.0301361083984375, 0.0036563873291015625, 0.048126220703125, -0.00331878662109375, 0.032135009765625, -0.03863525390625, 0.00420379638671875, -0.01641845703125, -0.0206146240234375, 0.01044464111328125, 0.0177001953125, -0.03753662109375, 0.0030002593994140625, 0.01904296875, -0.0106048583984375, -0.06951904296875, -0.08087158203125, -0.08135986328125, -0.04803466796875, -0.019683837890625, 0.003757476806640625, 0.01467132568359375, -0.0024356842041015625, -0.00012576580047607422, -0.010162353515625, 0.0413818359375, -0.005069732666015625, -0.0138397216796875, 0.005950927734375, 0.04388427734375, -0.02880859375, -0.0117645263671875, 0.017578125, -0.00972747802734375, 0.0017604827880859375, -0.0199127197265625, -0.027008056640625, -0.00431060791015625, 0.0021839141845703125, -0.024261474609375, -0.0191497802734375, 0.006816864013671875, -0.0249786376953125, -0.046600341796875, -0.0599365234375, -0.010467529296875, -0.0044708251953125, -0.01873779296875, 0.036285400390625, 0.005771636962890625, -0.01116180419921875, 0.024871826171875, 0.006481170654296875, 0.0012760162353515625, 0.03302001953125, 0.04827880859375, 0.006572723388671875, -0.05047607421875, -0.045440673828125, -0.06463623046875, -0.0413818359375, 0.030853271484375, -0.021087646484375, 0.04278564453125, 0.03466796875, 0.0181121826171875, 0.037261962890625, -0.0302276611328125, -0.012451171875, -0.04571533203125, 0.0246429443359375, -0.03961181640625, 0.0030422210693359375, -0.01097869873046875, 0.0032672882080078125, 0.0120391845703125, 0.06048583984375, 0.008941650390625, -0.0106353759765625, -0.017059326171875, -0.0021839141845703125, 0.017547607421875, -0.03448486328125, -0.0239715576171875, -0.0185546875, 0.02117919921875, -0.005863189697265625, -0.0101470947265625, -0.03045654296875, -0.003582000732421875, -0.0020885467529296875, 0.0287322998046875, -0.0103912353515625, 0.0204010009765625, -0.0250091552734375, 0.060577392578125, 0.01024627685546875, 0.042449951171875, -0.0020923614501953125, 0.00435638427734375, -0.041900634765625, -0.06610107421875, 0.005352020263671875, -0.044097900390625, 0.038604736328125, 0.0218963623046875, -0.01163482666015625, 0.01320648193359375, 0.03997802734375, 0.01551055908203125, 0.046295166015625, 0.027252197265625, 0.0205841064453125, 0.034271240234375, -0.06256103515625, 0.01390838623046875, -0.054412841796875, -0.005939483642578125, -0.0828857421875, -0.044525146484375, -0.0176239013671875, -0.041473388671875, 0.054595947265625, -0.037994384765625, 0.01111602783203125, -0.036102294921875, -0.052032470703125, -0.0174713134765625, 0.00949859619140625, -0.00707244873046875, 0.0089111328125, -0.069580078125, -0.022369384765625, 0.050018310546875, 0.0279388427734375, 0.007717132568359375, 0.0111083984375, 0.08709716796875, 0.0079803466796875, -0.031463623046875, -0.06378173828125, 0.04656982421875, 0.00872039794921875, -0.0133819580078125, 0.072021484375, 0.016845703125, 0.0206298828125, 0.036346435546875, -0.054656982421875, 0.00437164306640625, -0.0712890625, 0.0290069580078125, -0.0186920166015625, -0.0291900634765625, 0.015045166015625, -0.03515625, 0.10443115234375, 0.0660400390625, -0.01165008544921875, -0.0230255126953125, -0.035247802734375, 0.04986572265625, -0.015045166015625, -0.0096588134765625, -0.06561279296875, -0.048004150390625, 0.0191192626953125, -0.012451171875, -0.014923095703125, 0.0311126708984375, -0.0262451171875, 0.03802490234375, 0.0194244384765625, 0.0218658447265625, -0.00382232666015625, 0.01108551025390625, -0.0472412109375, 0.041107177734375, 0.0040130615234375, -0.006343841552734375, -0.00923919677734375, 0.0068206787109375, -0.004741668701171875, -0.01904296875, -0.031585693359375, -0.0254669189453125, -0.00988006591796875, -0.023681640625, 0.0244903564453125, -0.02899169921875, 0.0230560302734375, 0.052581787109375, -0.024871826171875, 0.0027618408203125, 0.033721923828125, -0.006328582763671875, -0.03533935546875, -0.021240234375, -0.033416748046875, -0.0040740966796875, 0.00713348388671875, -0.0034332275390625, -0.0562744140625, 0.011138916015625, 0.015594482421875, 0.0496826171875, 0.00867462158203125, 0.0076751708984375, 0.010101318359375, 0.040130615234375, -0.016510009765625, -0.0135498046875, -0.0182647705078125, -0.032867431640625, -0.029541015625, 0.04229736328125, 0.07891845703125, -0.038665771484375, -0.0213775634765625, -0.007091522216796875, -0.04644775390625, -0.01358795166015625, 0.037841796875, -0.0147247314453125, -0.031829833984375, -0.034942626953125, 0.0028705596923828125, 0.059051513671875, -0.00669097900390625, 0.00998687744140625, -0.07611083984375, -0.036407470703125, -0.027679443359375, -0.045379638671875, -0.0244293212890625, 0.00013506412506103516, -0.01229095458984375, 0.0188140869140625, -0.041351318359375, -0.041595458984375, -0.000835418701171875, 0.00452423095703125, -0.007259368896484375, -0.0185394287109375, 0.03070068359375, -0.0189208984375, -0.002071380615234375, -0.000579833984375, -0.01068115234375, 0.0033969879150390625, 0.03082275390625, 0.0222930908203125, 0.0013408660888671875, -0.0192413330078125, -0.044921875, -0.0404052734375, -0.037506103515625, -0.0180206298828125, -0.02728271484375, -0.03582763671875, 0.0234375, 0.04205322265625, 0.01476287841796875, 0.001300811767578125, -0.03466796875, 0.01416778564453125, 0.01430511474609375, 0.0166015625, 0.05059814453125, 0.00926971435546875, 0.01264190673828125, 0.01331329345703125, 0.00690460205078125, 0.005329132080078125, 0.01373291015625, 0.00795745849609375, -0.028350830078125, -0.023468017578125, -0.02435302734375, 0.01134490966796875, 0.0050048828125, 0.0005645751953125, 0.03125, 0.058349609375, 0.01113128662109375, 0.03448486328125, -0.0189971923828125, 0.00789642333984375, -0.03271484375, -0.0008792877197265625, -0.06512451171875, 0.0175323486328125, -0.0229034423828125, -0.003963470458984375, 0.003086090087890625, -0.006809234619140625, 0.0287933349609375, -0.02362060546875, -0.014617919921875, -0.03826904296875, 0.003204345703125, 0.045440673828125, -0.0228729248046875, 0.0173187255859375, -0.01276397705078125, 0.0101776123046875, 0.037750244140625, 0.0009713172912597656, 0.0171966552734375, -0.0014467239379882812, 0.0150299072265625, 0.0374755859375, 0.026885986328125, -0.0124053955078125, 0.013153076171875, -0.01181793212890625, -0.008026123046875, -0.0148468017578125, -0.00537109375, 0.034332275390625, -0.0168914794921875, 0.00690460205078125, 0.0413818359375, 0.0150909423828125, -0.0224456787109375, 0.00330352783203125, -0.005329132080078125, -0.0208892822265625, -0.0227203369140625, 0.0198516845703125, -0.01861572265625, -0.0239105224609375, -0.00223541259765625, -0.004459381103515625, 0.002017974853515625, 0.017059326171875, 0.01666259765625, 0.01611328125, -0.0015821456909179688, -0.0245208740234375, 0.03656005859375, -0.01343536376953125, -0.00559234619140625, 0.0115814208984375, -0.0238037109375, -0.02423095703125, 0.034027099609375, -0.038330078125, 0.0285797119140625, -0.0202789306640625, 0.0252532958984375, 0.08270263671875, 0.047119140625, 0.0279998779296875, -0.03814697265625, 0.01678466796875, 0.0223388671875, -0.09295654296875, -0.0511474609375, 0.020263671875, 0.0362548828125, -0.0136260986328125, 0.04693603515625, -0.005092620849609375, -0.03961181640625, 0.001750946044921875, 0.030517578125, 0.07177734375, -0.015045166015625, -0.0418701171875, 0.01812744140625, -0.00007259845733642578, -0.005977630615234375, 0.00778961181640625, 0.0673828125, -0.031707763671875, -0.0084991455078125, 0.0187530517578125, -0.021331787109375, -0.08343505859375, -0.0174102783203125, -0.07177734375, 0.1275634765625, 0.035736083984375, 0.033050537109375, -0.013671875, 0.048431396484375, -0.0267181396484375, 0.03338623046875, -0.03863525390625, 0.06719970703125, -0.01001739501953125, 0.0092926025390625, -0.033477783203125, 0.023284912109375, -0.012725830078125, -0.0202484130859375, 0.001544952392578125, 0.0034885406494140625, -0.056365966796875, -0.01129913330078125, -0.018646240234375, 0.00521087646484375, -0.026397705078125, 0.057891845703125, 0.0002396106719970703, -0.0061492919921875, 0.021392822265625, -0.04296875, 0.0256195068359375, -0.04736328125, -0.0011749267578125, -0.002063751220703125, 0.019805908203125, 0.0433349609375, -0.012298583984375, -0.0305328369140625, -0.004146575927734375, -0.00408935546875, 0.0160980224609375, -0.0263824462890625, 0.03790283203125, 0.00797271728515625, 0.031524658203125, -0.00383758544921875, -0.00635528564453125, -0.004749298095703125, 0.0345458984375, 0.0038509368896484375, 0.0187530517578125, 0.040985107421875, 0.02984619140625, 0.035064697265625, -0.049713134765625, 0.007457733154296875, -0.0132598876953125, -0.043792724609375, 0.07049560546875, 0.004367828369140625, 0.01401519775390625, -0.04345703125, 0.0176849365234375, 0.0160675048828125, 0.0570068359375, -0.052032470703125, -0.0625, -0.001667022705078125, -0.0019321441650390625, 0.04364013671875, 0.0228118896484375, 0.03607177734375, -0.06512451171875, -0.017425537109375, -0.018402099609375, -0.04840087890625, -0.016082763671875, 0.00910186767578125, 0.004444122314453125, 0.051177978515625, 0.032257080078125, -0.072509765625, -0.02874755859375, -0.002750396728515625, 0.01806640625, 0.0322265625, 0.0145111083984375, 0.0213470458984375, 0.00811004638671875, -0.00319671630859375, -0.030181884765625, 0.0190582275390625, 0.0272369384765625, 0.027801513671875, -0.0195159912109375, 0.01178741455078125, 0.01035308837890625, 0.0261993408203125, 0.005886077880859375, 0.0147247314453125, 0.038177490234375, 0.042083740234375, -0.007190704345703125, -0.0186614990234375, 0.005794525146484375, -0.033935546875, -0.00405120849609375, -0.06329345703125, -0.0065765380859375, -0.0191497802734375, -0.0233917236328125, 0.0167999267578125, 0.0016202926635742188, 0.00102996826171875, 0.01120758056640625, 0.0193328857421875, 0.006160736083984375, -0.04107666015625, 0.044189453125, -0.03399658203125, 0.102783203125, 0.03564453125, -0.045989990234375, -0.035675048828125, -0.00843048095703125, 0.004566192626953125, 0.0038166046142578125, 0.0172882080078125, -0.018890380859375, 0.03668212890625, 0.0176239013671875, 0.0309600830078125, 0.054046630859375, -0.06915283203125, 0.018585205078125, 0.01348876953125, 0.019012451171875, 0.0269012451171875, -0.0192108154296875, -0.0252838134765625, -0.00818634033203125, 0.04327392578125, -0.0005922317504882812, 0.08544921875, -0.0216064453125, -0.004222869873046875, -0.006450653076171875, 0.0034542083740234375, -0.004669189453125, 0.037017822265625, -0.03863525390625, 0.032135009765625, 0.018798828125, -0.01331329345703125, -0.044342041015625, 0.019775390625, 0.0223846435546875, -0.01221466064453125, 0.00875091552734375, 0.03662109375, 0.002536773681640625, 0.002368927001953125, 0.01042938232421875, -0.03973388671875, -0.048858642578125, -0.042816162109375, 0.00823211669921875, -0.024810791015625, -0.0089874267578125, 0.00927734375, 0.0609130859375, 0.00809478759765625, 0.004669189453125, -0.004528045654296875, -0.06109619140625, 0.00435638427734375, 0.032257080078125, -0.00272369384765625, 0.0032901763916015625, -0.003017425537109375, -0.01451873779296875, 0.036346435546875, 0.007488250732421875, 0.0172271728515625, 0.032318115234375, 0.0074310302734375, -0.0045623779296875, 0.01486968994140625, 0.03216552734375, -0.0218658447265625, 0.01029205322265625, 0.0159149169921875, -0.0097808837890625, 0.0205841064453125, 0.01025390625, -0.0256805419921875, -0.033599853515625, 0.000035881996154785156, 0.00841522216796875, -0.0218658447265625, -0.041351318359375, -0.056610107421875, 0.003749847412109375, 0.005817413330078125, -0.01116180419921875, -0.03045654296875, 0.0445556640625, -0.01473236083984375, -0.01021575927734375, -0.0226593017578125, -0.01348876953125, -0.01442718505859375, -0.018585205078125, -0.048370361328125, -0.062164306640625, -0.054962158203125, 0.034515380859375, -0.057098388671875, 0.006622314453125, 0.015594482421875, -0.0261383056640625, 0.0215911865234375, -0.01495361328125, 0.0294342041015625, 0.0200653076171875, 0.0183563232421875, -0.0155792236328125, 0.0144805908203125, -0.0005102157592773438, -0.03924560546875, -0.040191650390625, 0.041259765625, -0.06072998046875, -0.0218505859375, 0.03338623046875, -0.050018310546875, -0.0168914794921875, -0.047607421875, -0.0875244140625, 0.01399993896484375, 0.0194091796875, -0.05413818359375, -0.06890869140625, 0.06597900390625, 0.0135650634765625, 0.01480865478515625, -0.0199127197265625, -0.0037994384765625, -0.00655364990234375, 0.0005164146423339844, -0.00861358642578125, 0.0272674560546875, 0.012481689453125, -0.004467010498046875, 0.01154327392578125, 0.0260162353515625, 0.0295867919921875, -0.012054443359375, -0.00811767578125, -0.032012939453125, 0.060028076171875, 0.03411865234375, -0.01074981689453125, -0.00757598876953125, 0.032318115234375, -0.016326904296875, 0.007568359375, 0.0360107421875, -0.04833984375, 0.0004401206970214844, 0.03387451171875, 0.06939697265625, 0.0176239013671875, -0.0267791748046875, 0.03662109375, 0.01497650146484375, -0.01316070556640625, 0.0220489501953125, -0.0028629302978515625, -0.00682830810546875, -0.0124053955078125, -0.006771087646484375, -0.001277923583984375, -0.0015497207641601562, -0.04803466796875, -0.0135955810546875, -0.016082763671875, -0.03271484375, 0.0013742446899414062, -0.01322174072265625, 0.04296875, 0.023651123046875, -0.0187225341796875, 0.007694244384765625, 0.0194549560546875, -0.0263671875, 0.009033203125, 0.052032470703125, 0.0111846923828125, -0.0207672119140625, -0.0094146728515625, 0.01885986328125, 0.005268096923828125, 0.04718017578125, -0.0196380615234375, -0.03289794921875, -0.020965576171875, 0.0089569091796875, 0.0298004150390625, 0.0172119140625, -0.07916259765625, 0.08697509765625, 0.031463623046875, 0.037322998046875, -0.0073699951171875, 0.0170745849609375, -0.0161590576171875, 0.0413818359375, -0.0275115966796875, -0.015869140625, -0.002880096435546875, -0.030670166015625, 0.01399993896484375, 0.006633758544921875, 0.03277587890625, -0.038726806640625, 0.0293731689453125, 0.007068634033203125, 0.006622314453125, 0.016998291015625 ]
4010cf473b16ad4bb6735ad41a05f0495e4b455d
Wordpress Stackexchange Q: Style reset password page? /wp-login.php?action=rp I cannot figure out how to style the reset password page. And I do not mean the page where you request it, I mean the page you are shown when you click the link in the email to set your new password. The URL is /wp-login.php?action=rp And looks like this And the confirmation page: How do I load my custom styles for these? A: You should use login_enqueue_scripts, you can load styles or scripts with it. Example: function login_styles() { wp_enqueue_style( 'loginCSS', '/my-styles.css', false ); } add_action( 'login_enqueue_scripts', 'login_styles', 10 );
Q: Style reset password page? /wp-login.php?action=rp I cannot figure out how to style the reset password page. And I do not mean the page where you request it, I mean the page you are shown when you click the link in the email to set your new password. The URL is /wp-login.php?action=rp And looks like this And the confirmation page: How do I load my custom styles for these? A: You should use login_enqueue_scripts, you can load styles or scripts with it. Example: function login_styles() { wp_enqueue_style( 'loginCSS', '/my-styles.css', false ); } add_action( 'login_enqueue_scripts', 'login_styles', 10 );
wordpress
{ "language": "en", "length": 97, "provenance": "stackexchange_00019.jsonl.gz:498478", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/350117" }
[ -0.01181793212890625, -0.00047135353088378906, -0.01812744140625, 0.0042266845703125, -0.0184173583984375, -0.034942626953125, 0.0034122467041015625, -0.02117919921875, -0.0239105224609375, -0.004405975341796875, -0.0026721954345703125, 0.0010595321655273438, -0.01528167724609375, -0.04302978515625, 0.05084228515625, -0.03704833984375, 0.037689208984375, -0.0037517547607421875, 0.042572021484375, -0.0057525634765625, 0.01226043701171875, 0.01192474365234375, 0.02069091796875, 0.029998779296875, 0.0015468597412109375, 0.0157470703125, 0.1353759765625, -0.0176849365234375, 0.03912353515625, -0.00792694091796875, 0.031890869140625, -0.0797119140625, 0.0287017822265625, 0.03271484375, -0.049407958984375, -0.01654052734375, -0.008148193359375, 0.0038890838623046875, -0.02984619140625, 0.037811279296875, 0.04364013671875, -0.035308837890625, -0.033355712890625, 0.0015439987182617188, -0.029296875, -0.0185089111328125, 0.04095458984375, -0.0039043426513671875, 0.01137542724609375, 0.00023174285888671875, 0.0070037841796875, -0.018524169921875, 0.0224456787109375, 0.0134735107421875, -0.0333251953125, -0.0017175674438476562, -0.0239105224609375, 0.00228118896484375, 0.01776123046875, 0.038055419921875, 0.01374053955078125, -0.0074310302734375, 0.0140838623046875, -0.026275634765625, -0.0235595703125, 0.015655517578125, 0.04547119140625, -0.005889892578125, -0.00482177734375, -0.021820068359375, -0.00821685791015625, -0.0009236335754394531, -0.02691650390625, -0.045196533203125, -0.0276031494140625, 0.07440185546875, -0.048553466796875, -0.0156402587890625, 0.0312347412109375, -0.00492095947265625, 0.0213165283203125, 0.00829315185546875, -0.038330078125, -0.01200103759765625, 0.0172882080078125, 0.01415252685546875, -0.0084228515625, -0.028106689453125, -0.0264434814453125, -0.026824951171875, -0.0190887451171875, -0.005176544189453125, -0.048583984375, -0.026641845703125, -0.01372528076171875, -0.03125, 0.019683837890625, 0.038299560546875, 0.00876617431640625, 0.01258087158203125, -0.00984954833984375, -0.0389404296875, 0.004245758056640625, -0.0305328369140625, -0.0031108856201171875, 0.061859130859375, 0.037078857421875, 0.022186279296875, 0.0239715576171875, -0.01055908203125, 0.009063720703125, 0.0017843246459960938, -0.01904296875, -0.023101806640625, -0.020233154296875, 0.0161590576171875, -0.01262664794921875, -0.0091705322265625, -0.00264739990234375, -0.0394287109375, -0.032196044921875, -0.004878997802734375, 0.01424407958984375, -0.007427215576171875, 0.0019159317016601562, -0.01438140869140625, 0.008392333984375, -0.01497650146484375, 0.00679779052734375, 0.03155517578125, -0.041839599609375, 0.0236968994140625, 0.06591796875, -0.005889892578125, -0.0094451904296875, -0.03997802734375, 0.01213836669921875, 0.040191650390625, -0.0192108154296875, 0.03564453125, -0.0024814605712890625, -0.0655517578125, -0.011749267578125, -0.002750396728515625, -0.005908966064453125, 0.032196044921875, 0.0109100341796875, 0.014129638671875, 0.00986480712890625, -0.078369140625, 0.050872802734375, -0.06158447265625, -0.0205078125, 0.039306640625, 0.039764404296875, 0.040313720703125, 0.0618896484375, -0.00376129150390625, -0.033477783203125, 0.0027866363525390625, 0.03399658203125, 0.004150390625, 0.0069122314453125, 0.0391845703125, 0.00720977783203125, -0.00279998779296875, -0.0168304443359375, 0.0044403076171875, 0.031494140625, 0.005992889404296875, 0.0022144317626953125, -0.0018482208251953125, 0.02947998046875, 0.0256500244140625, 0.01161956787109375, 0.034576416015625, 0.00238037109375, 0.0259246826171875, 0.0018510818481445312, 0.051177978515625, 0.0266571044921875, -0.04376220703125, 0.037933349609375, -0.0005812644958496094, -0.0071258544921875, -0.07098388671875, 0.037841796875, 0.0307769775390625, 0.005222320556640625, 0.055023193359375, -0.00435638427734375, -0.031005859375, -0.03033447265625, 0.0150604248046875, 0.01849365234375, -0.00860595703125, -0.0243988037109375, -0.00736236572265625, 0.006256103515625, -0.01074981689453125, 0.01140594482421875, 0.0208740234375, -0.0144500732421875, -0.0142669677734375, -0.0679931640625, 0.0158233642578125, -0.0303955078125, 0.043792724609375, -0.040771484375, 0.00403594970703125, 0.01476287841796875, 0.0081634521484375, -0.00933074951171875, -0.050201416015625, -0.0233154296875, 0.01345062255859375, -0.01105499267578125, 0.05767822265625, -0.00174713134765625, 0.031341552734375, -0.00847625732421875, -0.03448486328125, 0.0016450881958007812, -0.018463134765625, 0.00466156005859375, -0.034149169921875, -0.01446533203125, -0.03680419921875, -0.01001739501953125, -0.0411376953125, 0.0249176025390625, 0.060394287109375, -0.0229339599609375, 0.05035400390625, -0.0236358642578125, -0.0182037353515625, -0.017547607421875, 0.012237548828125, 0.0202484130859375, 0.01529693603515625, 0.048980712890625, 0.019989013671875, -0.0236053466796875, -0.036834716796875, 0.062469482421875, -0.0142974853515625, 0.01263427734375, -0.0200347900390625, -0.0028839111328125, 0.0188446044921875, 0.0022869110107421875, -0.01250457763671875, 0.03179931640625, -0.026885986328125, -0.0214691162109375, 0.0400390625, -0.03936767578125, -0.005146026611328125, -0.01483917236328125, 0.012237548828125, -0.0121002197265625, -0.007099151611328125, 0.0182952880859375, -0.0239410400390625, -0.000055670738220214844, -0.0193023681640625, 0.004245758056640625, -0.0148162841796875, -0.00244140625, -0.0204620361328125, 0.032196044921875, -0.03424072265625, -0.0128326416015625, 0.019256591796875, 0.064697265625, -0.05224609375, -0.005573272705078125, -0.0284576416015625, -0.0243072509765625, -0.01204681396484375, -0.0036468505859375, 0.0171661376953125, -0.0438232421875, -0.011016845703125, -0.003692626953125, -0.061920166015625, -0.00286865234375, 0.04412841796875, 0.05377197265625, 0.03887939453125, 0.056549072265625, 0.01230621337890625, -0.000522613525390625, 0.03173828125, -0.0005602836608886719, -0.032989501953125, -0.01641845703125, -0.01419830322265625, 0.033203125, -0.03662109375, -0.001827239990234375, 0.039794921875, 0.0021114349365234375, -0.00821685791015625, -0.00782012939453125, 0.00693511962890625, 0.006420135498046875, 0.0196075439453125, -0.0007987022399902344, -0.038238525390625, -0.00606536865234375, -0.007904052734375, 0.033782958984375, 0.0084381103515625, 0.031463623046875, -0.025299072265625, 0.0010824203491210938, 0.0264434814453125, -0.083740234375, -0.10101318359375, -0.03485107421875, -0.09857177734375, 0.00829315185546875, -0.0249176025390625, -0.04180908203125, 0.0070953369140625, 0.0093994140625, 0.02392578125, 0.004077911376953125, -0.02862548828125, -0.0181732177734375, -0.05279541015625, -0.05670166015625, -0.03997802734375, 0.009613037109375, 0.00428009033203125, -0.010406494140625, 0.0693359375, -0.0014162063598632812, -0.03314208984375, -0.0166168212890625, 0.00069427490234375, -0.019561767578125, -0.032501220703125, -0.01708984375, -0.018218994140625, -0.003025054931640625, -0.00307464599609375, -0.0185089111328125, -0.00815582275390625, 0.0121917724609375, -0.003185272216796875, -0.0216827392578125, -0.0340576171875, -0.0244598388671875, 0.058807373046875, 0.028778076171875, -0.053863525390625, 0.00748443603515625, -0.059295654296875, -0.0306396484375, 0.01378631591796875, -0.0333251953125, 0.024810791015625, 0.01067352294921875, -0.03125, 0.00795745849609375, 0.0306549072265625, -0.00524139404296875, -0.021820068359375, 0.01398468017578125, -0.0469970703125, 0.0293731689453125, 0.0030994415283203125, 0.016082763671875, -0.004299163818359375, 0.0136871337890625, -0.05194091796875, 0.0225067138671875, -0.00022292137145996094, -0.0237884521484375, -0.0166778564453125, -0.040802001953125, -0.0250396728515625, -0.06201171875, 0.041046142578125, -0.03851318359375, 0.010833740234375, -0.040435791015625, -0.0112762451171875, 0.0017566680908203125, 0.09954833984375, -0.021484375, -0.0128326416015625, 0.0249786376953125, 0.02618408203125, -0.053253173828125, -0.0294036865234375, -0.050048828125, 0.00901031494140625, -0.1302490234375, 0.001255035400390625, -0.007965087890625, -0.062744140625, 0.03289794921875, -0.064453125, -0.0672607421875, -0.064697265625, 0.02777099609375, 0.017822265625, 0.006069183349609375, -0.00820159912109375, -0.016143798828125, -0.0168914794921875, 0.0004451274871826172, -0.0109100341796875, -0.09783935546875, -0.01201629638671875, -0.00921630859375, 0.0657958984375, 0.03314208984375, -0.05084228515625, -0.003200531005859375, 0.05047607421875, 0.02667236328125, -0.01064300537109375, 0.026580810546875, -0.010009765625, -0.0262451171875, 0.0152587890625, 0.01299285888671875, -0.023040771484375, 0.01715087890625, 0.02001953125, -0.038238525390625, 0.007122039794921875, -0.025482177734375, -0.0183868408203125, 0.0426025390625, -0.03863525390625, -0.02032470703125, -0.008392333984375, 0.01153564453125, 0.0090789794921875, 0.0178070068359375, -0.0170135498046875, 0.01169586181640625, -0.01242828369140625, 0.0282135009765625, 0.039825439453125, -0.01001739501953125, -0.0011882781982421875, -0.006160736083984375, 0.0178680419921875, -0.036224365234375, -0.0005583763122558594, 0.016082763671875, 0.03314208984375, 0.019134521484375, 0.0034160614013671875, -0.02679443359375, -0.04217529296875, 0.0577392578125, -0.0030002593994140625, 0.0191802978515625, -0.019683837890625, 0.0202178955078125, 0.0026645660400390625, -0.0227813720703125, 0.0321044921875, -0.003650665283203125, 0.003742218017578125, 0.0380859375, 0.03472900390625, -0.007785797119140625, 0.049468994140625, -0.0250091552734375, 0.0034198760986328125, -0.0751953125, 0.014862060546875, -0.027435302734375, -0.00302886962890625, 0.01885986328125, 0.030426025390625, 0.0304107666015625, -0.00945281982421875, 0.01364898681640625, 0.0175933837890625, -0.008514404296875, 0.0053863525390625, 0.001560211181640625, -0.00731658935546875, 0.012664794921875, 0.004894256591796875, -0.00836181640625, -0.0025691986083984375, -0.0272979736328125, 0.064697265625, 0.0178985595703125, -0.061798095703125, 0.03314208984375, -0.0054779052734375, 0.06298828125, 0.0187835693359375, -0.005954742431640625, 0.031585693359375, -0.00553131103515625, -0.049072265625, -0.0152435302734375, -0.00023376941680908203, -0.0447998046875, -0.058441162109375, 0.04925537109375, 0.003208160400390625, -0.0135498046875, 0.017974853515625, 0.01560211181640625, 0.0130615234375, 0.006160736083984375, 0.0008282661437988281, -0.01641845703125, 0.009735107421875, -0.008697509765625, 0.005382537841796875, 0.0406494140625, -0.00925445556640625, -0.01470184326171875, 0.055328369140625, -0.0546875, -0.054656982421875, 0.006595611572265625, 0.0592041015625, -0.041168212890625, 0.004184722900390625, 0.0399169921875, 0.01000213623046875, 0.014892578125, 0.0310821533203125, -0.0223846435546875, -0.068603515625, -0.0029201507568359375, 0.043365478515625, 0.031646728515625, -0.0380859375, 0.00910186767578125, -0.00821685791015625, -0.01580810546875, -0.01163482666015625, 0.022735595703125, -0.028106689453125, -0.023193359375, -0.021270751953125, -0.01221466064453125, -0.007343292236328125, -0.0160064697265625, -0.0092010498046875, 0.00004011392593383789, -0.006999969482421875, -0.00728607177734375, 0.0082244873046875, -0.0059356689453125, 0.0160369873046875, -0.00873565673828125, -0.019866943359375, -0.0328369140625, 0.00506591796875, 0.035736083984375, 0.00959014892578125, -0.035125732421875, -0.006481170654296875, -0.01055908203125, -0.0042724609375, 0.004810333251953125, -0.01445770263671875, -0.045806884765625, -0.0112762451171875, -0.01392364501953125, 0.007293701171875, -0.014404296875, 0.0088348388671875, -0.038604736328125, 0.0273590087890625, 0.01239013671875, 0.0396728515625, -0.00859832763671875, 0.046661376953125, 0.01097869873046875, 0.01788330078125, 0.030975341796875, 0.0509033203125, -0.006072998046875, -0.0271759033203125, -0.0019197463989257812, 0.00013208389282226562, -0.0083465576171875, -0.031646728515625, 0.023651123046875, 0.0233612060546875, 0.073486328125, -0.00098419189453125, -0.0218658447265625, -0.0233001708984375, 0.00789642333984375, -0.03179931640625, 0.054290771484375, -0.012298583984375, -0.028564453125, 0.0005893707275390625, -0.0174713134765625, 0.06524658203125, -0.0219573974609375, -0.0074005126953125, 0.0413818359375, -0.044921875, 0.0595703125, 0.0233917236328125, -0.04681396484375, 0.04791259765625, 0.038818359375, 0.0186920166015625, 0.040374755859375, -0.0056610107421875, 0.0229949951171875, 0.00916290283203125, -0.0243072509765625, 0.01213836669921875, 0.0240478515625, 0.044525146484375, -0.01224517822265625, -0.005901336669921875, 0.0111236572265625, -0.01611328125, 0.0103759765625, 0.044342041015625, 0.05059814453125, -0.07830810546875, 0.0176849365234375, -0.0161895751953125, 0.00044035911560058594, 0.07232666015625, 0.014923095703125, 0.01271820068359375, 0.004688262939453125, 0.04669189453125, -0.01459503173828125, -0.000033020973205566406, 0.028656005859375, -0.016937255859375, 0.01348114013671875, -0.0377197265625, 0.0266265869140625, -0.0057525634765625, -0.047607421875, -0.010772705078125, 0.036041259765625, -0.042236328125, -0.027984619140625, -0.006481170654296875, -0.0024433135986328125, -0.0193634033203125, -0.04693603515625, -0.0038051605224609375, -0.03033447265625, -0.00572967529296875, 0.01226043701171875, -0.0020122528076171875, 0.005413055419921875, 0.025665283203125, -0.02484130859375, 0.0276947021484375, -0.0355224609375, 0.042236328125, 0.03363037109375, -0.01297760009765625, 0.0149688720703125, -0.025299072265625, -0.057281494140625, 0.01021575927734375, -0.0177459716796875, -0.0189971923828125, -0.0070648193359375, -0.00577545166015625, 0.07513427734375, -0.0257110595703125, -0.01456451416015625, 0.028076171875, 0.0204315185546875, -0.00922393798828125, -0.004383087158203125, -0.0013380050659179688, -0.0280303955078125, 0.0196380615234375, 0.001255035400390625, 0.00347137451171875, -0.0276031494140625, -0.0211944580078125, -0.057464599609375, 0.06201171875, -0.038330078125, 0.03680419921875, 0.0088043212890625, 0.028411865234375, 0.019622802734375, 0.0193634033203125, 0.00948333740234375, 0.0322265625, 0.029205322265625, -0.0193023681640625, 0.011688232421875, -0.0008950233459472656, 0.0019969940185546875, 0.01139068603515625, 0.0379638671875, 0.00812530517578125, -0.050262451171875, -0.027130126953125, 0.0237274169921875, 0.048431396484375, 0.024871826171875, 0.037078857421875, 0.0110321044921875, 0.043182373046875, 0.0141448974609375, -0.0703125, 0.01541900634765625, -0.03973388671875, -0.01247406005859375, 0.034912109375, -0.0184326171875, -0.055084228515625, 0.02392578125, 0.0731201171875, -0.130615234375, 0.040740966796875, 0.082275390625, 0.00643157958984375, 0.0265350341796875, 0.03692626953125, 0.06671142578125, -0.034515380859375, -0.012481689453125, -0.0194854736328125, 0.044586181640625, -0.002941131591796875, -0.005035400390625, 0.00021541118621826172, 0.00910186767578125, 0.029144287109375, -0.0188140869140625, -0.0091094970703125, 0.00832366943359375, 0.011383056640625, 0.059356689453125, -0.01387786865234375, 0.0196685791015625, -0.04718017578125, 0.0279541015625, -0.038330078125, 0.0419921875, -0.058685302734375, -0.031463623046875, 0.01629638671875, 0.01544189453125, 0.0283355712890625, -0.00969696044921875, 0.045318603515625, -0.071044921875, -0.0296173095703125, 0.0025997161865234375, 0.01490020751953125, 0.0298614501953125, -0.0307769775390625, -0.004261016845703125, 0.016632080078125, -0.01171875, 0.06732177734375, 0.0110931396484375, 0.01904296875, -0.0020503997802734375, -0.006381988525390625, -0.034271240234375, 0.033447265625, -0.033203125, 0.0302581787109375, -0.02630615234375, 0.018035888671875, -0.0029430389404296875, 0.02191162109375, -0.002460479736328125, 0.028717041015625, -0.038330078125, 0.0287322998046875, 0.027801513671875, -0.0228271484375, 0.04156494140625, 0.0015478134155273438, -0.042144775390625, -0.00809478759765625, -0.041046142578125, -0.032440185546875, 0.022064208984375, -0.01180267333984375, 0.0005059242248535156, -0.0011281967163085938, -0.023956298828125, -0.02764892578125, 0.019317626953125, 0.0418701171875, -0.01317596435546875, 0.0229644775390625, 0.01079559326171875, 0.02947998046875, 0.0325927734375, 0.02459716796875, -0.0408935546875, 0.0297698974609375, -0.033843994140625, -0.0018939971923828125, -0.0152587890625, -0.0152740478515625, 0.003910064697265625, 0.03338623046875, -0.006999969482421875, 0.0234832763671875, 0.0164947509765625, -0.0265655517578125, 0.0027256011962890625, 0.0271759033203125, -0.0014276504516601562, -0.00251007080078125, 0.0164031982421875, -0.0125579833984375, -0.1251220703125, -0.06280517578125, -0.050048828125, 0.022369384765625, 0.010650634765625, 0.0736083984375, 0.01434326171875, 0.0061492919921875, -0.0014276504516601562, 0.0255584716796875, -0.01012420654296875, -0.01285552978515625, 0.0162353515625, 0.004550933837890625, 0.0168609619140625, -0.002964019775390625, -0.042572021484375, 0.11199951171875, -0.036651611328125, 0.043975830078125, 0.05743408203125, -0.010894775390625, -0.018585205078125, 0.035430908203125, -0.00511932373046875, -0.027374267578125, -0.036468505859375, 0.0005197525024414062, 0.0295257568359375, -0.0152587890625, -0.00323486328125, -0.0239715576171875, 0.027069091796875, -0.00873565673828125, -0.0032215118408203125, 0.02850341796875, -0.033477783203125, 0.03076171875, 0.016143798828125, -0.0299835205078125, -0.033447265625, -0.0025882720947265625, 0.0012445449829101562, -0.019500732421875, 0.019195556640625, 0.004547119140625, 0.00307464599609375, -0.0147247314453125, 0.04443359375, 0.06573486328125, 0.08026123046875, 0.037353515625, 0.0249481201171875, 0.02349853515625, -0.0257568359375, 0.0122833251953125, -0.0205841064453125, -0.0263214111328125, -0.054443359375, -0.0019254684448242188, 0.0031032562255859375, -0.03338623046875, -0.0303192138671875, -0.00852203369140625, 0.038116455078125, 0.028045654296875, 0.009918212890625, -0.07977294921875, 0.05242919921875, -0.03350830078125, 0.053741455078125, -0.004856109619140625, -0.0033245086669921875, 0.0110626220703125, 0.04449462890625, -0.038787841796875, -0.023193359375, -0.030731201171875, 0.0033359527587890625, -0.056976318359375, -0.00795745849609375, 0.045745849609375, -0.0047454833984375, 0.028106689453125, -0.0634765625, -0.003742218017578125, -0.006256103515625, -0.08062744140625, -0.017974853515625, 0.03045654296875, -0.0021915435791015625, 0.0035247802734375, -0.07708740234375, -0.0306854248046875, -0.05145263671875, 0.050811767578125, -0.00524139404296875, -0.015960693359375, 0.00324249267578125, -0.043548583984375, -0.07733154296875, 0.02862548828125, 0.01010894775390625, -0.036529541015625, -0.0160980224609375, 0.01385498046875, 0.0198516845703125, -0.04071044921875, -0.026458740234375, -0.0044403076171875, -0.0234375, 0.0017499923706054688, -0.0029926300048828125, 0.024932861328125, -0.0019626617431640625, 0.03228759765625, -0.031402587890625, 0.036224365234375, 0.0181884765625, -0.0177764892578125, 0.001708984375, -0.0134429931640625, 0.019622802734375, 0.0216827392578125, -0.033660888671875, -0.0458984375, 0.00572967529296875, -0.007320404052734375, -0.00440216064453125, 0.004047393798828125, 0.039276123046875, 0.0233001708984375, -0.0214080810546875, 0.0194244384765625, -0.0264892578125, -0.01236724853515625, 0.007511138916015625, 0.00865936279296875, 0.01096343994140625, -0.0254669189453125, 0.0013217926025390625, -0.05328369140625, -0.05316162109375, -0.0215911865234375, 0.00848388671875, -0.030242919921875, -0.022613525390625, -0.0159759521484375, -0.0281524658203125, -0.007259368896484375, 0.005645751953125, 0.005527496337890625, 0.00746917724609375, 0.0863037109375, -0.030242919921875, 0.025360107421875, 0.01464080810546875, 0.008026123046875, 0.06842041015625, 0.0299224853515625, -0.0005822181701660156, 0.0201416015625, -0.049041748046875, -0.003627777099609375, -0.0157623291015625, -0.006969451904296875, -0.041534423828125, 0.007648468017578125, -0.0164794921875, -0.00597381591796875, -0.0159912109375, -0.0249481201171875, 0.0035533905029296875, 0.0276641845703125, 0.00946044921875, 0.044342041015625, 0.0038356781005859375, -0.04974365234375, -0.0240325927734375, 0.0188751220703125, 0.0155181884765625, -0.0263671875, 0.02374267578125, -0.01849365234375, 0.01288604736328125, -0.021514892578125, 0.061859130859375, -0.059844970703125, 0.048492431640625, 0.0077972412109375, 0.0467529296875, 0.0252532958984375 ]
78a7c6a5b55c306a2b0ad7129746332df9928b50
Wordpress Stackexchange Q: Is there an equivalent of the PHP function sanitize_key in Gutenberg? In WordPress's PHP library there is a function sanitize_key used to generate database keys and HTML IDs. I'd like to generate a slug from a title that can be used as an HTML ID, from within a Gutenberg block. Is there an equivalent (or close to equivalent) function in the Gutenberg library, or must I make my own? A: Use import { cleanForSlug } from "@wordpress/editor"; in your block.js file to import the function in and then use the it like cleanForSlug(stringToClean) to create the ID's.
Q: Is there an equivalent of the PHP function sanitize_key in Gutenberg? In WordPress's PHP library there is a function sanitize_key used to generate database keys and HTML IDs. I'd like to generate a slug from a title that can be used as an HTML ID, from within a Gutenberg block. Is there an equivalent (or close to equivalent) function in the Gutenberg library, or must I make my own? A: Use import { cleanForSlug } from "@wordpress/editor"; in your block.js file to import the function in and then use the it like cleanForSlug(stringToClean) to create the ID's.
wordpress
{ "language": "en", "length": 98, "provenance": "stackexchange_00019.jsonl.gz:498552", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/350397" }
[ 0.00467681884765625, 0.01812744140625, -0.0582275390625, -0.021697998046875, 0.0245513916015625, -0.034332275390625, 0.007099151611328125, -0.0069427490234375, -0.02691650390625, 0.057830810546875, 0.0276031494140625, -0.007476806640625, 0.0272674560546875, -0.031646728515625, -0.003753662109375, -0.00606536865234375, 0.0205230712890625, -0.0011796951293945312, 0.0262603759765625, -0.0108489990234375, -0.01922607421875, -0.003154754638671875, 0.033477783203125, -0.02886962890625, 0.01442718505859375, -0.078125, 0.07598876953125, -0.00942230224609375, 0.0128631591796875, -0.018707275390625, 0.0179595947265625, 0.006061553955078125, 0.006816864013671875, -0.002170562744140625, 0.0133514404296875, 0.01264190673828125, 0.0361328125, 0.00347900390625, 0.0257720947265625, -0.0026149749755859375, 0.035919189453125, -0.032562255859375, 0.0028629302978515625, -0.022674560546875, -0.01483917236328125, -0.0093231201171875, 0.031890869140625, -0.0022735595703125, 0.005046844482421875, 0.061676025390625, 0.00786590576171875, 0.01419830322265625, 0.006061553955078125, 0.01557159423828125, 0.006076812744140625, -0.022216796875, -0.005828857421875, 0.0037403106689453125, -0.01045989990234375, 0.06005859375, 0.01387786865234375, 0.050689697265625, -0.021484375, -0.026275634765625, 0.0014600753784179688, 0.00821685791015625, 0.0008306503295898438, 0.0184478759765625, -0.00690460205078125, -0.004131317138671875, -0.0023670196533203125, -0.0160369873046875, 0.00152587890625, -0.049774169921875, 0.00353240966796875, 0.02813720703125, -0.0149078369140625, -0.016326904296875, 0.0113983154296875, -0.00029969215393066406, -0.037384033203125, -0.051239013671875, -0.06524658203125, 0.0088043212890625, -0.0112762451171875, 0.025665283203125, -0.00508880615234375, -0.0007615089416503906, 0.011871337890625, 0.0009083747863769531, -0.0211944580078125, -0.00727081298828125, 0.046112060546875, 0.005748748779296875, -0.0338134765625, -0.0118408203125, 0.0161285400390625, 0.0052642822265625, 0.0094757080078125, 0.0291595458984375, 0.043426513671875, -0.06463623046875, 0.07098388671875, -0.0283660888671875, -0.01428985595703125, 0.058135986328125, 0.0012102127075195312, 0.004886627197265625, -0.0014801025390625, -0.0009136199951171875, 0.0192718505859375, -0.045654296875, -0.00795745849609375, -0.053009033203125, 0.00676727294921875, 0.03955078125, -0.01256561279296875, 0.00445556640625, 0.013641357421875, -0.027313232421875, -0.005542755126953125, 0.017822265625, 0.0294342041015625, -0.0177001953125, -0.003971099853515625, -0.00974273681640625, -0.0035552978515625, -0.03277587890625, 0.037322998046875, -0.0033359527587890625, -0.034454345703125, 0.004566192626953125, 0.059722900390625, 0.034393310546875, 0.022125244140625, -0.013427734375, 0.013031005859375, -0.0166168212890625, -0.00319671630859375, -0.003936767578125, -0.017425537109375, 0.01325225830078125, 0.041412353515625, -0.0252532958984375, 0.04803466796875, 0.007198333740234375, 0.0161590576171875, 0.00681304931640625, 0.0169219970703125, -0.0098419189453125, 0.00275421142578125, -0.01160430908203125, 0.00919342041015625, 0.014129638671875, -0.0237579345703125, -0.00910186767578125, -0.0267333984375, -0.00705718994140625, 0.0252227783203125, -0.01837158203125, 0.0281524658203125, -0.0208740234375, -0.03997802734375, -0.0051116943359375, -0.047271728515625, 0.003021240234375, 0.005741119384765625, 0.0009665489196777344, 0.0182647705078125, 0.036834716796875, 0.0210113525390625, 0.01218414306640625, -0.06060791015625, -0.01160430908203125, 0.00240325927734375, -0.03973388671875, -0.03839111328125, 0.02294921875, 0.01262664794921875, 0.045440673828125, 0.02545166015625, -0.0276336669921875, 0.0146026611328125, 0.025146484375, -0.0570068359375, 0.01885986328125, -0.009124755859375, 0.06622314453125, 0.058258056640625, 0.0112762451171875, 0.007965087890625, -0.047943115234375, -0.045867919921875, 0.004497528076171875, -0.007526397705078125, -0.024017333984375, 0.054779052734375, 0.0017328262329101562, 0.00983428955078125, 0.0007176399230957031, 0.01001739501953125, -0.0158538818359375, 0.040252685546875, -0.01354217529296875, -0.01212310791015625, 0.0011501312255859375, -0.01959228515625, 0.028411865234375, 0.00304412841796875, 0.0104217529296875, 0.014923095703125, -0.01153564453125, -0.03564453125, 0.0287322998046875, -0.0143890380859375, -0.00675201416015625, -0.01061248779296875, -0.0004525184631347656, -0.01241302490234375, 0.005908966064453125, -0.0116729736328125, 0.0201416015625, -0.024139404296875, -0.005802154541015625, 0.07147216796875, -0.0016851425170898438, -0.01031494140625, -0.0267486572265625, 0.0290985107421875, 0.00023436546325683594, -0.04559326171875, 0.042236328125, 0.08367919921875, 0.0418701171875, -0.0115509033203125, 0.023223876953125, 0.00701904296875, -0.042938232421875, -0.028533935546875, 0.039154052734375, 0.034393310546875, 0.004146575927734375, -0.01348114013671875, -0.0323486328125, 0.024932861328125, 0.015594482421875, 0.04779052734375, -0.054107666015625, 0.007801055908203125, 0.02362060546875, -0.058380126953125, 0.0287628173828125, 0.035064697265625, -0.01776123046875, -0.00815582275390625, 0.052093505859375, -0.03558349609375, -0.0229644775390625, -0.020721435546875, -0.0024089813232421875, 0.011260986328125, -0.031402587890625, 0.0015916824340820312, -0.0216522216796875, 0.051239013671875, -0.0185089111328125, 0.0262908935546875, 0.0193939208984375, -0.01519775390625, -0.00762939453125, 0.00811767578125, 0.0037441253662109375, 0.00396728515625, 0.049591064453125, 0.031341552734375, 0.01305389404296875, -0.036956787109375, -0.02056884765625, 0.027557373046875, 0.038330078125, -0.025390625, 0.0090789794921875, -0.0011272430419921875, -0.01464080810546875, -0.023590087890625, -0.06884765625, 0.0212860107421875, 0.002468109130859375, -0.024871826171875, -0.0231170654296875, -0.0103759765625, 0.056304931640625, -0.01160430908203125, 0.03289794921875, 0.052886962890625, -0.0014142990112304688, 0.06390380859375, -0.029296875, 0.0083770751953125, -0.0019474029541015625, 0.0875244140625, 0.057647705078125, -0.01763916015625, -0.00457000732421875, 0.0006170272827148438, -0.025909423828125, 0.037872314453125, -0.01519775390625, -0.0213470458984375, -0.026397705078125, -0.0439453125, -0.0272216796875, 0.00418853759765625, 0.023193359375, -0.01020050048828125, -0.0287933349609375, -0.004749298095703125, 0.00209808349609375, -0.0726318359375, -0.0811767578125, -0.0173492431640625, -0.0003802776336669922, 0.0078277587890625, -0.00902557373046875, 0.003086090087890625, 0.0007643699645996094, -0.01018524169921875, 0.0005135536193847656, -0.005908966064453125, 0.0014715194702148438, -0.09259033203125, -0.045867919921875, -0.06317138671875, 0.0390625, -0.02435302734375, 0.00890350341796875, -0.0003097057342529297, -0.044769287109375, -0.01313018798828125, 0.01438140869140625, 0.03790283203125, 0.0550537109375, 0.020965576171875, -0.032562255859375, -0.015838623046875, -0.045562744140625, -0.007556915283203125, 0.0009050369262695312, 0.025909423828125, -0.01287078857421875, 0.0254974365234375, 0.01107025146484375, 0.009979248046875, -0.002300262451171875, 0.0275726318359375, 0.0292510986328125, -0.011688232421875, 0.0167083740234375, 0.0430908203125, -0.0256195068359375, -0.01372528076171875, -0.01227569580078125, -0.0335693359375, 0.018280029296875, 0.0113983154296875, 0.00623321533203125, -0.006061553955078125, 0.0184326171875, 0.03204345703125, 0.01540374755859375, 0.0079345703125, 0.024139404296875, -0.038726806640625, -0.016357421875, -0.001651763916015625, -0.00978851318359375, 0.03192138671875, 0.0015821456909179688, -0.0013742446899414062, 0.00652313232421875, 0.0262451171875, 0.01739501953125, -0.031951904296875, -0.057830810546875, -0.0016384124755859375, 0.055938720703125, 0.04742431640625, 0.06512451171875, -0.0130615234375, -0.05029296875, -0.0110626220703125, 0.07720947265625, -0.0080718994140625, -0.0235443115234375, 0.023040771484375, 0.00858306884765625, -0.0192108154296875, 0.0138092041015625, -0.0687255859375, -0.006195068359375, -0.031219482421875, 0.02099609375, 0.005840301513671875, -0.0210418701171875, -0.0197601318359375, 0.01480865478515625, -0.022430419921875, -0.01427459716796875, 0.020355224609375, -0.0161285400390625, 0.02264404296875, 0.0269622802734375, 0.0112457275390625, 0.005523681640625, -0.029296875, -0.0264892578125, -0.035888671875, -0.01398468017578125, -0.034149169921875, 0.0587158203125, 0.03778076171875, -0.0224761962890625, -0.002437591552734375, 0.045440673828125, -0.0147552490234375, -0.0106658935546875, 0.044097900390625, 0.0286712646484375, 0.031585693359375, -0.0009179115295410156, 0.0230560302734375, -0.038665771484375, -0.008880615234375, -0.03619384765625, -0.048126220703125, -0.00679779052734375, -0.01354217529296875, 0.018524169921875, 0.006244659423828125, -0.01129150390625, -0.037017822265625, -0.0134735107421875, -0.03955078125, 0.00418853759765625, 0.01255035400390625, -0.045013427734375, -0.03173828125, -0.060333251953125, 0.076171875, 0.037017822265625, -0.00038909912109375, -0.0260467529296875, 0.056304931640625, 0.018157958984375, -0.050811767578125, -0.0106964111328125, -0.05181884765625, -0.00559234619140625, -0.033111572265625, 0.0699462890625, 0.010589599609375, 0.01219940185546875, 0.05657958984375, -0.06072998046875, -0.036865234375, -0.0182342529296875, 0.038909912109375, -0.025299072265625, -0.0170135498046875, -0.0155029296875, -0.060577392578125, 0.08154296875, 0.03961181640625, -0.002147674560546875, 0.0122222900390625, -0.031280517578125, -0.014678955078125, 0.00792694091796875, -0.013031005859375, 0.004207611083984375, -0.0013427734375, 0.007198333740234375, -0.016265869140625, 0.02899169921875, 0.01074981689453125, -0.0126190185546875, -0.0224609375, -0.023712158203125, 0.016448974609375, -0.00733184814453125, -0.0226898193359375, -0.0131988525390625, 0.055145263671875, -0.050689697265625, 0.0008158683776855469, 0.00684356689453125, -0.0011911392211914062, 0.029388427734375, -0.0081939697265625, -0.0295562744140625, -0.023773193359375, -0.012298583984375, -0.0078277587890625, -0.0005593299865722656, 0.008544921875, -0.010650634765625, -0.00778961181640625, -0.04541015625, 0.018798828125, 0.0204620361328125, -0.01377105712890625, -0.01055908203125, -0.0201873779296875, 0.00688934326171875, -0.021209716796875, 0.010711669921875, 0.036468505859375, -0.0059814453125, 0.01036834716796875, -0.0083160400390625, 0.0282745361328125, 0.0039825439453125, 0.030181884765625, 0.02545166015625, -0.0255279541015625, -0.0004787445068359375, 0.003814697265625, -0.01873779296875, -0.028961181640625, -0.0224151611328125, 0.0085906982421875, 0.010986328125, -0.018951416015625, 0.00962066650390625, 0.0263824462890625, 0.0115966796875, -0.0521240234375, 0.029815673828125, -0.0275421142578125, -0.045928955078125, -0.04876708984375, -0.03094482421875, 0.0250701904296875, 0.0287628173828125, 0.0031757354736328125, -0.016998291015625, -0.0160675048828125, 0.02020263671875, -0.011688232421875, 0.0010290145874023438, -0.0004067420959472656, -0.012969970703125, 0.0225372314453125, -0.0255889892578125, -0.034088134765625, -0.002223968505859375, 0.003597259521484375, -0.0166473388671875, -0.013031005859375, 0.0618896484375, -0.023406982421875, 0.05078125, -0.052093505859375, 0.00714874267578125, 0.01499176025390625, 0.0034008026123046875, 0.049468994140625, 0.02520751953125, 0.0008292198181152344, -0.025299072265625, -0.036346435546875, -0.00899505615234375, 0.019989013671875, -0.0208282470703125, -0.0025787353515625, -0.012115478515625, -0.004619598388671875, 0.054290771484375, -0.0162353515625, -0.0035247802734375, 0.0144195556640625, -0.0006895065307617188, -0.0299224853515625, 0.059783935546875, -0.0214996337890625, 0.01549530029296875, 0.0024700164794921875, 0.004688262939453125, -0.0206298828125, -0.01617431640625, 0.022552490234375, -0.0060577392578125, -0.0289306640625, -0.04180908203125, 0.0242462158203125, 0.004547119140625, 0.05084228515625, 0.0276947021484375, 0.0108795166015625, 0.018157958984375, 0.07501220703125, -0.00952911376953125, 0.020111083984375, -0.009246826171875, -0.01800537109375, -0.0556640625, 0.005428314208984375, 0.06939697265625, -0.0633544921875, -0.0235443115234375, 0.01175689697265625, 0.06463623046875, 0.0008111000061035156, -0.063232421875, -0.030120849609375, 0.05029296875, -0.0073699951171875, 0.02801513671875, 0.0496826171875, -0.01071929931640625, 0.0002727508544921875, 0.01715087890625, -0.01666259765625, 0.00896453857421875, -0.0277252197265625, 0.01483917236328125, 0.013763427734375, 0.0316162109375, -0.0081024169921875, 0.0117340087890625, 0.0245361328125, -0.005001068115234375, -0.0396728515625, 0.05279541015625, 0.0179290771484375, -0.058502197265625, -0.034759521484375, -0.0019102096557617188, -0.014404296875, -0.0723876953125, -0.003326416015625, -0.015106201171875, -0.055999755859375, 0.03631591796875, -0.01074981689453125, -0.0164031982421875, 0.003452301025390625, -0.007354736328125, -0.008392333984375, -0.02783203125, 0.0673828125, 0.02294921875, 0.00033092498779296875, 0.0010271072387695312, -0.0202789306640625, 0.0119171142578125, -0.042205810546875, 0.02276611328125, 0.02801513671875, -0.01064300537109375, -0.04608154296875, 0.059234619140625, 0.0227203369140625, -0.0011987686157226562, -0.035736083984375, 0.0283050537109375, 0.032318115234375, 0.01358795166015625, 0.01367950439453125, -0.0560302734375, -0.0029201507568359375, -0.00537872314453125, -0.0018787384033203125, -0.042694091796875, -0.0031070709228515625, 0.022857666015625, -0.0067138671875, 0.0115966796875, 0.0161895751953125, -0.0256805419921875, -0.017333984375, 0.039276123046875, 0.1156005859375, -0.019317626953125, -0.0262298583984375, 0.054168701171875, 0.038421630859375, -0.0316162109375, 0.00540924072265625, 0.080078125, -0.056732177734375, -0.01474761962890625, 0.052459716796875, 0.011962890625, -0.033294677734375, 0.043121337890625, -0.07452392578125, 0.1123046875, 0.0013780593872070312, 0.057403564453125, -0.011016845703125, 0.03497314453125, -0.004520416259765625, 0.00690460205078125, -0.00971221923828125, 0.037017822265625, -0.0193634033203125, -0.0089263916015625, -0.04022216796875, -0.004878997802734375, -0.012908935546875, 0.019744873046875, 0.045501708984375, 0.00714874267578125, -0.007183074951171875, -0.0081634521484375, -0.0006842613220214844, -0.008575439453125, -0.046630859375, 0.033966064453125, -0.00634002685546875, -0.0038471221923828125, 0.058135986328125, -0.0209808349609375, 0.031494140625, -0.0399169921875, 0.0020198822021484375, 0.0032939910888671875, -0.0002321004867553711, -0.0289764404296875, 0.023712158203125, 0.0199737548828125, -0.057281494140625, 0.0236663818359375, 0.035064697265625, 0.0297393798828125, -0.003936767578125, 0.052337646484375, 0.03509521484375, -0.024017333984375, -0.0260772705078125, -0.0310211181640625, 0.045440673828125, -0.002971649169921875, 0.0164947509765625, 0.027069091796875, 0.0224609375, 0.00930023193359375, 0.00809478759765625, 0.010894775390625, 0.019073486328125, -0.0179443359375, 0.08209228515625, 0.0177154541015625, 0.0159759521484375, -0.03607177734375, -0.0029048919677734375, 0.04754638671875, 0.0936279296875, -0.042572021484375, -0.036041259765625, 0.004390716552734375, 0.00603485107421875, 0.0291290283203125, 0.00466156005859375, 0.052459716796875, -0.0245361328125, -0.000743865966796875, -0.0101318359375, -0.004039764404296875, 0.060760498046875, 0.0184478759765625, 0.0186767578125, 0.01354217529296875, -0.030731201171875, 0.0007801055908203125, -0.04986572265625, 0.01197052001953125, 0.017913818359375, 0.06280517578125, 0.00815582275390625, 0.072265625, 0.0081787109375, -0.02642822265625, -0.05255126953125, 0.07464599609375, 0.0150299072265625, 0.053558349609375, -0.0498046875, -0.014617919921875, 0.037567138671875, 0.029693603515625, -0.0012922286987304688, 0.0587158203125, 0.06201171875, 0.03741455078125, -0.0097808837890625, -0.00927734375, 0.036590576171875, -0.026275634765625, 0.0094451904296875, -0.0248565673828125, 0.00009351968765258789, -0.0206451416015625, -0.013214111328125, -0.0290679931640625, 0.03704833984375, -0.016571044921875, 0.01206207275390625, 0.052978515625, 0.0112457275390625, -0.01483917236328125, -0.01093292236328125, -0.008453369140625, 0.0176239013671875, 0.052032470703125, -0.0404052734375, -0.0059051513671875, 0.0034084320068359375, -0.052947998046875, 0.01922607421875, 0.041656494140625, -0.0273284912109375, 0.01885986328125, 0.07867431640625, -0.0100860595703125, 0.037200927734375, 0.00537109375, 0.0151519775390625, -0.00661468505859375, 0.028076171875, 0.015472412109375, -0.07330322265625, -0.01459503173828125, 0.00562286376953125, -0.0048828125, -0.04656982421875, 0.072265625, 0.0024776458740234375, -0.0180816650390625, -0.0298614501953125, 0.0121002197265625, -0.04327392578125, -0.0020313262939453125, 0.01690673828125, 0.0120086669921875, 0.0034694671630859375, -0.0069122314453125, -0.0300750732421875, -0.00872039794921875, 0.011138916015625, -0.008453369140625, -0.004589080810546875, -0.041229248046875, 0.035614013671875, 0.005123138427734375, 0.04754638671875, 0.003292083740234375, -0.04595947265625, -0.0208740234375, 0.025970458984375, 0.03924560546875, 0.10321044921875, 0.0039520263671875, 0.05755615234375, -0.03033447265625, -0.004070281982421875, 0.005260467529296875, -0.07537841796875, 0.005397796630859375, 0.029876708984375, -0.03497314453125, 0.01800537109375, -0.0008206367492675781, -0.0201568603515625, -0.0024852752685546875, 0.0201416015625, -0.04852294921875, 0.0012731552124023438, -0.03558349609375, 0.01641845703125, 0.025482177734375, 0.022735595703125, 0.01898193359375, -0.0018482208251953125, 0.0274505615234375, -0.03717041015625, -0.037078857421875, -0.0047149658203125, -0.0149383544921875, -0.037628173828125, -0.0318603515625, 0.00514984130859375, -0.0318603515625, -0.06011962890625, -0.0181884765625, -0.0005435943603515625, -0.0180206298828125, -0.00850677490234375, -0.0243072509765625, 0.03802490234375, -0.0037631988525390625, 0.0140838623046875, -0.03515625, 0.0382080078125, -0.0533447265625, -0.037017822265625, -0.05718994140625, -0.039398193359375, -0.06689453125, 0.058258056640625, -0.056243896484375, 0.028289794921875, 0.0291290283203125, -0.038299560546875, -0.0224609375, 0.020294189453125, 0.039398193359375, 0.06976318359375, 0.01041412353515625, -0.01617431640625, 0.0273895263671875, 0.015899658203125, -0.0263671875, -0.1002197265625, 0.00508880615234375, -0.07720947265625, 0.048583984375, 0.00754547119140625, -0.0240020751953125, -0.004375457763671875, -0.057861328125, -0.08795166015625, 0.016448974609375, 0.001323699951171875, -0.055755615234375, 0.001773834228515625, 0.0244903564453125, 0.0028820037841796875, 0.0018148422241210938, -0.00611114501953125, 0.0183258056640625, -0.00824737548828125, -0.004108428955078125, -0.01363372802734375, 0.0056915283203125, 0.0219268798828125, 0.0163726806640625, -0.01410675048828125, 0.040252685546875, 0.038177490234375, -0.047698974609375, -0.011444091796875, -0.021209716796875, 0.0498046875, 0.03619384765625, -0.0279693603515625, 0.01303863525390625, 0.0268096923828125, 0.0293731689453125, -0.0272674560546875, 0.01082611083984375, -0.040771484375, 0.0206298828125, 0.08270263671875, 0.08770751953125, 0.02642822265625, -0.060211181640625, -0.016082763671875, -0.0283050537109375, 0.023162841796875, -0.022216796875, 0.0004253387451171875, -0.06878662109375, -0.0293731689453125, 0.0281982421875, 0.01090240478515625, -0.013916015625, -0.02410888671875, 0.00363922119140625, -0.03411865234375, 0.0009541511535644531, -0.02142333984375, 0.05322265625, -0.032012939453125, 0.07464599609375, -0.0462646484375, -0.00848388671875, 0.02239990234375, 0.0313720703125, 0.018280029296875, -0.00868988037109375, 0.0034770965576171875, -0.0169830322265625, 0.0113983154296875, 0.003997802734375, 0.00519561767578125, 0.0193023681640625, 0.0011205673217773438, -0.03497314453125, -0.0006155967712402344, 0.0019989013671875, 0.0045166015625, 0.0013933181762695312, -0.0211639404296875, 0.049468994140625, -0.00691986083984375, 0.03900146484375, -0.0172882080078125, -0.0185546875, -0.002384185791015625, 0.014068603515625, -0.0171661376953125, -0.007709503173828125, 0.0158538818359375, -0.0328369140625, 0.0047454833984375, -0.007572174072265625, 0.04931640625, -0.05670166015625, 0.050262451171875, -0.0677490234375, 0.022125244140625, 0.04205322265625 ]
777cbe1572302ebdd8b580091c3472ec92356ebb
Wordpress Stackexchange Q: Solve cors problem using rest api or ajax I'm building an app with nuxt using WP as a CMS, so I have this code in my functions.php to allow any origin (temporary) using the rest api and admin-ajax urls function add_cors_http_header(){ // Remove the default filter. remove_filter( 'rest_pre_serve_request', 'rest_send_cors_headers' ); // Add a Custom filter. add_filter( 'rest_pre_serve_request', function( $value ) { header( 'Access-Control-Allow-Origin: *' ); header( 'Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE' ); header( 'Access-Control-Allow-Credentials: true' ); return $value; }); } add_action( 'init', 'add_cors_http_header', 99 ); add_action( 'rest_api_init', 'add_cors_http_header', 99 ); The requests that i'm using are: const homeUrl = `http://our-webiste.com/wp-json/wp/v2/pages/${homeUrls[locale]}`; const servicesUrl = `http://our-webiste.com/wp-json/wp/v2/service?_embed=true&lang=${locale}`; const projectsUrls = { es: '23', en: '40', }; const projectsUrl = `http://our-webiste.com/wp-json/wp/v2/pages/${projectsUrls[locale]}`; const projectListUrl = `http://our-webiste.com/wp-json/wp/v2/project?_embed&lang=${locale}`; const clientListUrl = `http://our-webiste.com/wp-json/wp/v2/client?_embed&lang=${locale}`; /* Requests */ let home = await axios.get(homeUrl); let services = await axios.get(servicesUrl); let projectsPage = await axios.get(projectsUrl); let projectsList = await axios.get(projectListUrl); let clientsList = await axios.get(clientListUrl); that most of the times work with no problem but some times they return this: Network: Console: And don't provide response so my app crashes:
Q: Solve cors problem using rest api or ajax I'm building an app with nuxt using WP as a CMS, so I have this code in my functions.php to allow any origin (temporary) using the rest api and admin-ajax urls function add_cors_http_header(){ // Remove the default filter. remove_filter( 'rest_pre_serve_request', 'rest_send_cors_headers' ); // Add a Custom filter. add_filter( 'rest_pre_serve_request', function( $value ) { header( 'Access-Control-Allow-Origin: *' ); header( 'Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE' ); header( 'Access-Control-Allow-Credentials: true' ); return $value; }); } add_action( 'init', 'add_cors_http_header', 99 ); add_action( 'rest_api_init', 'add_cors_http_header', 99 ); The requests that i'm using are: const homeUrl = `http://our-webiste.com/wp-json/wp/v2/pages/${homeUrls[locale]}`; const servicesUrl = `http://our-webiste.com/wp-json/wp/v2/service?_embed=true&lang=${locale}`; const projectsUrls = { es: '23', en: '40', }; const projectsUrl = `http://our-webiste.com/wp-json/wp/v2/pages/${projectsUrls[locale]}`; const projectListUrl = `http://our-webiste.com/wp-json/wp/v2/project?_embed&lang=${locale}`; const clientListUrl = `http://our-webiste.com/wp-json/wp/v2/client?_embed&lang=${locale}`; /* Requests */ let home = await axios.get(homeUrl); let services = await axios.get(servicesUrl); let projectsPage = await axios.get(projectsUrl); let projectsList = await axios.get(projectListUrl); let clientsList = await axios.get(clientListUrl); that most of the times work with no problem but some times they return this: Network: Console: And don't provide response so my app crashes:
wordpress
{ "language": "en", "length": 180, "provenance": "stackexchange_00019.jsonl.gz:498638", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/350717" }
[ 0.049163818359375, 0.017578125, -0.040008544921875, -0.036285400390625, 0.035736083984375, -0.041473388671875, 0.02001953125, -0.0024471282958984375, -0.031768798828125, -0.0005197525024414062, -0.021575927734375, -0.0202789306640625, 0.00263214111328125, -0.044097900390625, 0.04241943359375, -0.05133056640625, 0.0430908203125, -0.028045654296875, 0.007740020751953125, -0.0014362335205078125, 0.003658294677734375, 0.0089111328125, 0.0239715576171875, 0.040374755859375, 0.0298614501953125, -0.01467132568359375, -0.00099945068359375, -0.01556396484375, -0.0036067962646484375, -0.0155181884765625, 0.01296234130859375, 0.01175689697265625, -0.001331329345703125, 0.0511474609375, -0.056610107421875, -0.0396728515625, 0.0084075927734375, 0.028167724609375, -0.0174560546875, 0.0394287109375, 0.031402587890625, -0.021728515625, -0.003795623779296875, 0.02728271484375, 0.00010544061660766602, -0.0653076171875, 0.06939697265625, -0.044403076171875, 0.01031494140625, 0.074462890625, -0.0008602142333984375, -0.005603790283203125, -0.02294921875, 0.0443115234375, 0.01450347900390625, 0.0032138824462890625, -0.0246734619140625, -0.01473236083984375, 0.038482666015625, 0.0276947021484375, -0.01458740234375, -0.0304412841796875, 0.00030541419982910156, -0.028106689453125, 0.00368499755859375, -0.0230865478515625, -0.0016527175903320312, 0.045257568359375, -0.024505615234375, -0.01052093505859375, -0.004749298095703125, -0.00762176513671875, 0.02655029296875, -0.038604736328125, 0.00492095947265625, -0.031768798828125, -0.0308837890625, -0.034332275390625, 0.0477294921875, -0.0180511474609375, -0.01393890380859375, -0.0161895751953125, -0.00930023193359375, -0.0186920166015625, -0.006443023681640625, 0.0001302957534790039, -0.0203704833984375, -0.0172576904296875, -0.032745361328125, 0.0241241455078125, -0.02447509765625, -0.050994873046875, -0.036590576171875, 0.04876708984375, 0.043609619140625, -0.00882720947265625, -0.011444091796875, -0.03265380859375, 0.027069091796875, -0.00927734375, 0.0149688720703125, -0.033111572265625, 0.0020275115966796875, 0.0131988525390625, 0.0277557373046875, 0.04534912109375, -0.00008499622344970703, -0.01245880126953125, 0.049102783203125, 0.0028228759765625, 0.00893402099609375, 0.057647705078125, 0.00030922889709472656, -0.00714111328125, -0.0239105224609375, -0.01788330078125, -0.0207061767578125, -0.02703857421875, -0.005619049072265625, -0.03558349609375, -0.009613037109375, -0.0225830078125, 0.0193939208984375, 0.01126861572265625, 0.015472412109375, -0.0076141357421875, -0.03466796875, 0.0191192626953125, -0.011566162109375, -0.0037097930908203125, -0.0280303955078125, 0.012664794921875, 0.047088623046875, 0.035369873046875, 0.0157470703125, -0.0179901123046875, 0.0313720703125, 0.050567626953125, 0.008392333984375, 0.0212554931640625, 0.006649017333984375, -0.034881591796875, -0.0362548828125, 0.0272216796875, 0.034881591796875, -0.010223388671875, 0.0229949951171875, 0.0213775634765625, 0.005359649658203125, 0.00437164306640625, 0.0176239013671875, 0.0080108642578125, 0.0465087890625, 0.0161590576171875, -0.02447509765625, 0.014862060546875, 0.042022705078125, -0.023773193359375, -0.0574951171875, -0.0271759033203125, -0.0274810791015625, -0.025634765625, 0.027618408203125, -0.024200439453125, -0.0251312255859375, 0.0297088623046875, -0.025970458984375, 0.0038890838623046875, 0.0029888153076171875, 0.08917236328125, -0.0316162109375, 0.018707275390625, -0.060211181640625, -0.01384735107421875, -0.01381683349609375, -0.0246734619140625, 0.002613067626953125, 0.0014810562133789062, 0.033660888671875, 0.047882080078125, 0.00925445556640625, -0.0092315673828125, 0.06927490234375, -0.0171356201171875, -0.05108642578125, 0.006435394287109375, 0.00943756103515625, 0.0430908203125, 0.0179901123046875, 0.0218658447265625, 0.029541015625, 0.016082763671875, 0.03240966796875, 0.0312347412109375, -0.03759765625, -0.057220458984375, -0.0195159912109375, -0.00672149658203125, -0.045928955078125, 0.035186767578125, 0.00263214111328125, 0.0192108154296875, 0.01039886474609375, 0.0027217864990234375, -0.0004551410675048828, 0.007717132568359375, -0.0170745849609375, 0.04534912109375, -0.02313232421875, 0.0377197265625, 0.0232696533203125, 0.0229949951171875, -0.0389404296875, -0.01190948486328125, 0.006275177001953125, 0.0037059783935546875, 0.014190673828125, 0.075439453125, 0.0129547119140625, 0.040557861328125, 0.00572967529296875, -0.06182861328125, 0.021881103515625, -0.0016584396362304688, 0.027191162109375, 0.03863525390625, -0.0245513916015625, 0.004520416259765625, 0.074462890625, 0.0013017654418945312, 0.046478271484375, -0.003124237060546875, 0.04193115234375, 0.08843994140625, -0.006679534912109375, -0.005626678466796875, 0.0081787109375, -0.007476806640625, 0.0129547119140625, 0.0304412841796875, 0.050872802734375, 0.0008563995361328125, 0.00888824462890625, 0.0150604248046875, 0.04150390625, -0.040618896484375, 0.01092529296875, -0.0222930908203125, -0.012420654296875, 0.007740020751953125, 0.00418853759765625, -0.034881591796875, 0.0096893310546875, -0.09490966796875, -0.021331787109375, 0.0250701904296875, -0.0277862548828125, -0.0176239013671875, 0.00872802734375, -0.0268402099609375, 0.0151214599609375, -0.032928466796875, -0.022979736328125, -0.02276611328125, 0.010498046875, 0.0098419189453125, 0.02606201171875, 0.04595947265625, -0.0012578964233398438, -0.0328369140625, 0.008392333984375, 0.0217437744140625, -0.01349639892578125, 0.0859375, 0.056854248046875, -0.006595611572265625, -0.062255859375, -0.02276611328125, 0.01511383056640625, 0.062744140625, -0.006134033203125, 0.0164031982421875, -0.009613037109375, -0.00843048095703125, 0.0091400146484375, -0.004360198974609375, 0.023101806640625, 0.0224761962890625, 0.037628173828125, 0.0180816650390625, 0.04315185546875, 0.004688262939453125, -0.000835418701171875, 0.0210113525390625, 0.0216522216796875, -0.02093505859375, 0.03472900390625, -0.036773681640625, 0.015533447265625, -0.03546142578125, 0.055023193359375, 0.04168701171875, 0.0033435821533203125, -0.026824951171875, -0.0016088485717773438, -0.00959014892578125, 0.004604339599609375, 0.0245361328125, -0.0027313232421875, -0.038238525390625, 0.0115509033203125, 0.0104217529296875, 0.00734710693359375, -0.037689208984375, 0.0168609619140625, -0.020538330078125, -0.039276123046875, 0.010711669921875, -0.1126708984375, -0.07244873046875, 0.0204010009765625, -0.0123748779296875, -0.048095703125, 0.02630615234375, -0.03265380859375, 0.00885772705078125, 0.0229339599609375, -0.0250701904296875, 0.0137481689453125, -0.0312347412109375, -0.016815185546875, -0.037841796875, -0.032135009765625, -0.0039520263671875, -0.01302337646484375, -0.00957489013671875, 0.01020050048828125, 0.01065826416015625, 0.0121307373046875, 0.04034423828125, 0.02325439453125, 0.040740966796875, 0.00469970703125, -0.047821044921875, -0.0170745849609375, -0.013031005859375, 0.0169525146484375, 0.007282257080078125, 0.03839111328125, 0.0310516357421875, -0.0164337158203125, 0.010284423828125, -0.0030765533447265625, -0.0184478759765625, -0.0029449462890625, 0.0230712890625, 0.01323699951171875, -0.0224761962890625, 0.0169525146484375, -0.050262451171875, -0.050811767578125, 0.029937744140625, -0.03076171875, -0.0003552436828613281, 0.034454345703125, -0.04388427734375, 0.01398468017578125, 0.02386474609375, 0.0036163330078125, -0.022491455078125, 0.050018310546875, -0.023590087890625, -0.0025768280029296875, -0.0135650634765625, -0.00539398193359375, -0.0283050537109375, 0.0633544921875, -0.0008778572082519531, -0.0352783203125, 0.032440185546875, -0.0128631591796875, -0.01166534423828125, -0.0009860992431640625, -0.0121002197265625, -0.0239715576171875, 0.031890869140625, -0.00759124755859375, -0.01285552978515625, 0.00012385845184326172, -0.0164794921875, 0.01031494140625, 0.044189453125, 0.00646209716796875, -0.0419921875, -0.014495849609375, 0.024627685546875, -0.053436279296875, -0.04998779296875, 0.009765625, 0.007843017578125, 0.00331878662109375, -0.0229339599609375, -0.04193115234375, 0.0106964111328125, 0.0031185150146484375, -0.0115966796875, 0.024078369140625, -0.031982421875, 0.01467132568359375, -0.053192138671875, -0.00492095947265625, -0.019287109375, -0.004924774169921875, -0.030303955078125, -0.0022373199462890625, -0.041412353515625, -0.093017578125, -0.01483917236328125, 0.0196990966796875, 0.04425048828125, -0.0197296142578125, -0.02117919921875, -0.0257720947265625, 0.05322265625, -0.0107269287109375, 0.07891845703125, -0.0286865234375, -0.01324462890625, 0.00753021240234375, 0.000675201416015625, 0.00476837158203125, 0.00914764404296875, -0.0177459716796875, 0.01558685302734375, -0.01702880859375, 0.019134521484375, 0.0235137939453125, -0.0411376953125, 0.0638427734375, -0.03179931640625, -0.058441162109375, -0.019073486328125, -0.0005087852478027344, 0.021820068359375, -0.006275177001953125, 0.005279541015625, -0.022796630859375, -0.05352783203125, 0.050537109375, 0.02679443359375, -0.00980377197265625, -0.01184844970703125, 0.04150390625, 0.0034637451171875, -0.046356201171875, -0.0124359130859375, 0.0665283203125, 0.044158935546875, -0.03900146484375, 0.06939697265625, 0.0301361083984375, -0.0237579345703125, 0.09442138671875, -0.0174102783203125, 0.0416259765625, 0.052520751953125, -0.0469970703125, -0.005115509033203125, -0.039093017578125, 0.0279541015625, 0.047119140625, -0.06640625, -0.0183563232421875, -0.00113677978515625, 0.030303955078125, 0.02972412109375, -0.0226593017578125, -0.025115966796875, 0.004543304443359375, 0.013275146484375, -0.00983428955078125, 0.01430511474609375, -0.054534912109375, 0.0478515625, 0.050140380859375, -0.01727294921875, 0.00955963134765625, 0.0030384063720703125, -0.004665374755859375, -0.0277099609375, 0.00673675537109375, -0.03216552734375, 0.03204345703125, -0.05078125, -0.03851318359375, -0.0399169921875, -0.016937255859375, 0.056610107421875, 0.0252227783203125, -0.0396728515625, 0.0182342529296875, 0.01526641845703125, 0.0460205078125, 0.0066375732421875, 0.001239776611328125, 0.004436492919921875, -0.017730712890625, 0.015960693359375, -0.0038585662841796875, -0.0208892822265625, -0.0205230712890625, -0.028411865234375, 0.0667724609375, 0.032379150390625, 0.01526641845703125, -0.045196533203125, 0.0914306640625, 0.01393890380859375, 0.0066986083984375, -0.0266571044921875, 0.00710296630859375, -0.01232147216796875, 0.03204345703125, 0.0147552490234375, -0.01386260986328125, 0.003902435302734375, 0.01428985595703125, 0.006473541259765625, -0.050628662109375, -0.0107879638671875, 0.047760009765625, 0.0357666015625, 0.0208892822265625, -0.0234375, -0.00701141357421875, 0.003208160400390625, -0.0255584716796875, -0.0304718017578125, 0.01287078857421875, 0.027862548828125, -0.017486572265625, -0.002025604248046875, 0.00200653076171875, 0.0616455078125, -0.034881591796875, 0.0355224609375, 0.00047278404235839844, 0.0526123046875, -0.0011272430419921875, -0.0240325927734375, 0.0210723876953125, 0.0159759521484375, -0.020233154296875, -0.036529541015625, -0.012786865234375, -0.011260986328125, 0.00957489013671875, -0.005458831787109375, -0.003139495849609375, 0.01015472412109375, -0.025543212890625, 0.01413726806640625, -0.032440185546875, 0.041900634765625, -0.039093017578125, 0.0209808349609375, -0.0110626220703125, -0.01439666748046875, -0.0018281936645507812, -0.019775390625, -0.048248291015625, -0.018890380859375, 0.003971099853515625, 0.01055145263671875, -0.0287017822265625, 0.020233154296875, 0.057952880859375, 0.01558685302734375, 0.0190582275390625, -0.00795745849609375, 0.018218994140625, 0.0193023681640625, 0.01641845703125, 0.047760009765625, -0.0142669677734375, 0.117919921875, -0.043182373046875, 0.08148193359375, -0.0035858154296875, 0.033905029296875, -0.048675537109375, -0.00350189208984375, -0.0165863037109375, -0.058807373046875, -0.029815673828125, -0.00901031494140625, -0.01259613037109375, 0.094970703125, 0.0675048828125, 0.0089111328125, 0.044830322265625, -0.0186309814453125, -0.0135955810546875, -0.027252197265625, 0.059783935546875, -0.0287322998046875, 0.0484619140625, 0.0019989013671875, 0.00870513916015625, 0.0180511474609375, -0.0172271728515625, -0.036041259765625, 0.004589080810546875, 0.030548095703125, -0.0022296905517578125, -0.0024013519287109375, 0.0029144287109375, 0.01488494873046875, 0.078369140625, 0.0161285400390625, 0.07928466796875, 0.0217437744140625, 0.04852294921875, 0.05877685546875, 0.0288848876953125, -0.004848480224609375, -0.047637939453125, -0.0413818359375, -0.03692626953125, -0.0207672119140625, -0.057647705078125, -0.01493072509765625, 0.003475189208984375, 0.01776123046875, 0.044189453125, -0.043731689453125, -0.00640106201171875, 0.0014495849609375, -0.037841796875, 0.01119232177734375, -0.0229644775390625, -0.0091400146484375, -0.032501220703125, 0.038330078125, -0.010986328125, -0.024810791015625, -0.004474639892578125, -0.006649017333984375, -0.00044727325439453125, 0.01727294921875, 0.0149383544921875, -0.01045989990234375, -0.0128631591796875, -0.0199127197265625, -0.00937652587890625, 0.0184173583984375, 0.0295867919921875, 0.0039825439453125, 0.03143310546875, -0.034271240234375, -0.03753662109375, 0.0169219970703125, -0.03411865234375, -0.05206298828125, 0.029693603515625, 0.01258087158203125, 0.00955963134765625, 0.0193939208984375, 0.0021610260009765625, -0.0014667510986328125, -0.0034084320068359375, -0.038604736328125, 0.0390625, 0.007137298583984375, 0.0184326171875, 0.048980712890625, -0.05584716796875, 0.0060577392578125, -0.0184783935546875, 0.029541015625, -0.007740020751953125, -0.0167083740234375, 0.045379638671875, -0.02838134765625, -0.01082611083984375, 0.0293426513671875, 0.0289764404296875, -0.01340484619140625, -0.00821685791015625, 0.006641387939453125, -0.085205078125, -0.0374755859375, 0.0020961761474609375, -0.0278472900390625, 0.0093994140625, -0.00013077259063720703, -0.036651611328125, 0.0924072265625, 0.0328369140625, 0.009368896484375, 0.038360595703125, 0.021942138671875, -0.08642578125, -0.007717132568359375, -0.004779815673828125, -0.0006833076477050781, 0.036834716796875, -0.0164337158203125, -0.016204833984375, 0.00447845458984375, -0.02001953125, 0.0277099609375, 0.00909423828125, -0.001209259033203125, -0.033172607421875, -0.040313720703125, -0.0105133056640625, 0.0413818359375, 0.00441741943359375, 0.03125, -0.003864288330078125, 0.01422882080078125, 0.0184478759765625, -0.03741455078125, 0.0021648406982421875, 0.006519317626953125, -0.020263671875, 0.037384033203125, 0.02099609375, 0.0284423828125, -0.04071044921875, 0.0670166015625, -0.0770263671875, -0.0192108154296875, 0.072509765625, -0.0286407470703125, -0.0002498626708984375, 0.0041961669921875, 0.0118255615234375, -0.006710052490234375, -0.01544189453125, -0.0136260986328125, 0.0262603759765625, 0.0181884765625, 0.01161956787109375, 0.04815673828125, 0.02716064453125, -0.051177978515625, 0.01450347900390625, 0.009674072265625, 0.015960693359375, -0.02398681640625, 0.022216796875, 0.03643798828125, 0.0287322998046875, -0.007106781005859375, -0.00576019287109375, -0.0241851806640625, 0.01473236083984375, -0.028717041015625, -0.060821533203125, 0.0079345703125, 0.01250457763671875, 0.02252197265625, 0.00876617431640625, 0.0178070068359375, -0.01149749755859375, 0.02471923828125, 0.0231170654296875, 0.0190277099609375, -0.016510009765625, -0.0008158683776855469, 0.026641845703125, 0.07794189453125, -0.044769287109375, 0.00730133056640625, -0.054412841796875, 0.01453399658203125, -0.0220489501953125, 0.052154541015625, 0.05377197265625, 0.0237274169921875, 0.0027561187744140625, -0.0227203369140625, 0.01207733154296875, 0.0426025390625, 0.0355224609375, -0.03778076171875, -0.0026302337646484375, -0.06842041015625, 0.035247802734375, 0.01410675048828125, 0.035308837890625, 0.016754150390625, 0.05804443359375, 0.0628662109375, 0.0006837844848632812, -0.007709503173828125, 0.037811279296875, 0.0028896331787109375, 0.03057861328125, -0.05206298828125, 0.00933074951171875, -0.0183258056640625, -0.023681640625, 0.01434326171875, -0.0288848876953125, 0.0144500732421875, -0.043975830078125, 0.06500244140625, -0.0244293212890625, -0.027801513671875, 0.034515380859375, -0.038238525390625, 0.0743408203125, -0.05255126953125, 0.0013446807861328125, 0.026519775390625, -0.00476837158203125, -0.050506591796875, -0.018798828125, 0.0300445556640625, -0.002910614013671875, 0.0201416015625, -0.01428985595703125, -0.0248870849609375, 0.00366973876953125, 0.0277557373046875, -0.028106689453125, 0.0280914306640625, 0.03497314453125, -0.019927978515625, -0.005016326904296875, -0.002391815185546875, -0.00998687744140625, 0.0188446044921875, 0.039276123046875, 0.032318115234375, 0.006359100341796875, 0.03765869140625, -0.044219970703125, -0.036956787109375, 0.0171051025390625, -0.01441192626953125, -0.005565643310546875, 0.060455322265625, 0.00858306884765625, -0.0005841255187988281, -0.0460205078125, 0.01166534423828125, 0.0173492431640625, -0.00926971435546875, 0.0380859375, -0.0298004150390625, 0.02838134765625, -0.033447265625, 0.038665771484375, -0.044189453125, -0.06610107421875, -0.052093505859375, 0.01180267333984375, -0.0167694091796875, -0.004322052001953125, 0.0038661956787109375, -0.01474761962890625, -0.05450439453125, -0.052093505859375, 0.02569580078125, -0.0030231475830078125, -0.00682830810546875, 0.0217132568359375, -0.01194000244140625, 0.044769287109375, -0.01053619384765625, -0.0176849365234375, -0.01119232177734375, 0.029022216796875, -0.04876708984375, -0.01093292236328125, 0.08892822265625, -0.041259765625, 0.01038360595703125, 0.006378173828125, -0.021087646484375, -0.002468109130859375, 0.004817962646484375, -0.037750244140625, -0.00327301025390625, -0.01531982421875, -0.00775909423828125, -0.03466796875, 0.021331787109375, 0.0305633544921875, 0.00010818243026733398, 0.0098419189453125, -0.037628173828125, -0.008819580078125, 0.006561279296875, -0.042083740234375, 0.04522705078125, -0.04705810546875, -0.0390625, 0.02496337890625, -0.0253143310546875, 0.0142669677734375, -0.029876708984375, -0.0257568359375, -0.0064544677734375, -0.0369873046875, -0.0418701171875, 0.0638427734375, -0.00846099853515625, -0.01058197021484375, 0.0055084228515625, 0.01093292236328125, -0.0158538818359375, -0.005153656005859375, -0.00885772705078125, 0.039703369140625, -0.0325927734375, 0.0037860870361328125, 0.00885009765625, 0.01904296875, -0.075439453125, -0.07440185546875, 0.0265045166015625, -0.060516357421875, -0.016754150390625, -0.048431396484375, 0.039703369140625, 0.0234832763671875, -0.038726806640625, -0.08856201171875, 0.02984619140625, -0.0261993408203125, -0.035491943359375, -0.042755126953125, -0.0127410888671875, -0.0011844635009765625, -0.0033855438232421875, -0.03839111328125, 0.00244903564453125, -0.0396728515625, 0.02313232421875, 0.012908935546875, 0.07550048828125, -0.033294677734375, 0.03289794921875, 0.006374359130859375, 0.04730224609375, 0.00911712646484375, 0.01044464111328125, -0.00745391845703125, 0.006603240966796875, 0.0267181396484375, 0.01061248779296875, -0.0246429443359375, 0.04473876953125, 0.00312042236328125, 0.01148223876953125, -0.0187225341796875, -0.0173492431640625, -0.006160736083984375, -0.002292633056640625, 0.03570556640625, 0.0552978515625, 0.007404327392578125, -0.025054931640625, 0.0048980712890625, -0.034820556640625, -0.0236053466796875, -0.0477294921875, 0.000606536865234375, -0.063232421875, -0.0335693359375, -0.007648468017578125, 0.0241241455078125, 0.005878448486328125, -0.0241546630859375, 0.005558013916015625, -0.0418701171875, -0.004123687744140625, -0.040985107421875, 0.0232086181640625, 0.01419830322265625, 0.0439453125, -0.039947509765625, 0.0040435791015625, 0.0080413818359375, -0.00228118896484375, 0.0194854736328125, 0.025238037109375, -0.026458740234375, -0.047515869140625, 0.0095062255859375, 0.0296630859375, -0.00475311279296875, 0.04180908203125, -0.00982666015625, -0.0203704833984375, -0.0283050537109375, -0.0004570484161376953, 0.02191162109375, -0.0032749176025390625, 0.009124755859375, -0.021087646484375, 0.00012385845184326172, -0.006763458251953125, -0.022125244140625, 0.0384521484375, 0.016937255859375, -0.0011682510375976562, -0.0299224853515625, 0.0216064453125, 0.032196044921875, -0.038421630859375, -0.008392333984375, 0.023193359375, -0.031829833984375, -0.0288543701171875, 0.0084381103515625, -0.00577545166015625, -0.012786865234375, -0.00263214111328125 ]
d2645b8ac420d485693c4bcc92b958df18dc366b
Wordpress Stackexchange Q: How to remove X-Frame-Options: SAMEORIGIN" from WordPress? I want to temporarily remove X-Frame-Options: SAMEORIGIN and need to allow all domains. I have already tried the following ways. * *Removing send_frame_options_header from ./wp-includes/default-filters.php *remove_action('login_init', 'send_frame_options_header'); *Removing @header( ‘X-Frame-Options: SAMEORIGIN’ ); from /wp-includes/functions.php None of the above doesn't work. PS: I don't use any security plugin either. A: Check this question How does wordpress restrict X-FRAME to sameorigin?. The questioner's issue was resolved by modifying his site's .htaccess file by adding the below line to it as his Web Host set the X-Frame-Option. Header always unset X-Frame-Options You can check if that works for you.
Q: How to remove X-Frame-Options: SAMEORIGIN" from WordPress? I want to temporarily remove X-Frame-Options: SAMEORIGIN and need to allow all domains. I have already tried the following ways. * *Removing send_frame_options_header from ./wp-includes/default-filters.php *remove_action('login_init', 'send_frame_options_header'); *Removing @header( ‘X-Frame-Options: SAMEORIGIN’ ); from /wp-includes/functions.php None of the above doesn't work. PS: I don't use any security plugin either. A: Check this question How does wordpress restrict X-FRAME to sameorigin?. The questioner's issue was resolved by modifying his site's .htaccess file by adding the below line to it as his Web Host set the X-Frame-Option. Header always unset X-Frame-Options You can check if that works for you.
wordpress
{ "language": "en", "length": 104, "provenance": "stackexchange_00019.jsonl.gz:498687", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/350864" }
[ 0.07513427734375, -0.00829315185546875, 0.001102447509765625, 0.00864410400390625, 0.02001953125, -0.075439453125, 0.10552978515625, -0.01235198974609375, -0.07562255859375, 0.0462646484375, 0.0234527587890625, 0.0323486328125, -0.011138916015625, -0.020294189453125, 0.017486572265625, -0.018646240234375, 0.0030879974365234375, 0.02508544921875, 0.022064208984375, -0.020416259765625, 0.03778076171875, -0.020355224609375, -0.041107177734375, 0.043304443359375, 0.0187835693359375, -0.0439453125, 0.06378173828125, -0.005146026611328125, 0.004669189453125, -0.008148193359375, 0.01425933837890625, -0.01351165771484375, -0.005451202392578125, 0.06903076171875, -0.05902099609375, 0.0207672119140625, -0.02484130859375, 0.042266845703125, 0.0170745849609375, 0.01387786865234375, -0.00344085693359375, 0.00530242919921875, 0.0242767333984375, -0.005817413330078125, -0.003459930419921875, -0.04931640625, 0.0296783447265625, -0.042327880859375, 0.0218963623046875, -0.0214080810546875, -0.0002999305725097656, 0.0194091796875, 0.01245880126953125, -0.0102081298828125, -0.023406982421875, -0.0300140380859375, -0.051361083984375, 0.06341552734375, 0.0140838623046875, 0.0113983154296875, -0.005199432373046875, 0.01947021484375, -0.02337646484375, -0.0030651092529296875, 0.0250701904296875, -0.026702880859375, -0.06280517578125, 0.040191650390625, -0.0499267578125, 0.06573486328125, 0.071533203125, -0.059112548828125, 0.01824951171875, -0.0197296142578125, 0.02337646484375, 0.01052093505859375, -0.0291748046875, 0.00763702392578125, 0.041290283203125, -0.0025806427001953125, 0.00455474853515625, -0.021759033203125, -0.07452392578125, 0.00399017333984375, 0.031494140625, 0.05731201171875, 0.0015125274658203125, -0.044830322265625, 0.00447845458984375, -0.01073455810546875, -0.0167388916015625, -0.0164794921875, -0.022308349609375, 0.0210723876953125, -0.0004417896270751953, -0.02203369140625, 0.0010728836059570312, -0.028228759765625, 0.0244140625, -0.012969970703125, 0.039825439453125, -0.0596923828125, 0.035430908203125, -0.01209259033203125, -0.0191497802734375, 0.024505615234375, 0.01806640625, 0.035797119140625, 0.018585205078125, 0.0169219970703125, -0.0014295578002929688, -0.0023040771484375, 0.0204315185546875, -0.00968170166015625, -0.0287933349609375, 0.0173492431640625, 0.0031337738037109375, -0.002044677734375, -0.00939178466796875, 0.005504608154296875, -0.00628662109375, -0.0160064697265625, 0.005588531494140625, 0.030609130859375, 0.0188751220703125, 0.027099609375, -0.028167724609375, 0.00470733642578125, 0.0163421630859375, -0.0227508544921875, -0.04571533203125, 0.004474639892578125, 0.0088043212890625, 0.05389404296875, 0.03472900390625, -0.005023956298828125, 0.057952880859375, 0.0057830810546875, 0.01399993896484375, -0.0037059783935546875, 0.044464111328125, -0.033905029296875, -0.043670654296875, 0.03955078125, -0.005229949951171875, -0.032684326171875, 0.019287109375, 0.05859375, 0.0033702850341796875, -0.0009493827819824219, 0.00438690185546875, 0.025726318359375, 0.0263824462890625, 0.00861358642578125, 0.007518768310546875, -0.01110076904296875, 0.08721923828125, -0.043731689453125, -0.03472900390625, -0.040802001953125, 0.04119873046875, -0.004390716552734375, -0.0009531974792480469, 0.031646728515625, -0.026947021484375, 0.0134735107421875, -0.0222930908203125, -0.0164642333984375, 0.01323699951171875, 0.00803375244140625, 0.01413726806640625, -0.034332275390625, -0.0102996826171875, -0.00726318359375, -0.0108642578125, 0.01361083984375, -0.0384521484375, 0.041748046875, 0.0167999267578125, 0.0008692741394042969, 0.0139007568359375, -0.037384033203125, 0.03057861328125, 0.0145263671875, -0.0826416015625, 0.03564453125, 0.0166778564453125, 0.06341552734375, 0.0130462646484375, 0.01446533203125, 0.083251953125, 0.01340484619140625, -0.0155792236328125, 0.00852203369140625, -0.0219573974609375, -0.01125335693359375, -0.01445770263671875, 0.00616455078125, -0.02294921875, 0.0189666748046875, -0.01202392578125, -0.0014629364013671875, 0.00505828857421875, -0.039642333984375, -0.04681396484375, -0.02728271484375, -0.0146331787109375, 0.053985595703125, -0.005733489990234375, 0.0016069412231445312, 0.02655029296875, 0.0194091796875, -0.06182861328125, 0.055999755859375, -0.0209808349609375, 0.014984130859375, -0.023193359375, 0.057037353515625, -0.00891876220703125, 0.03521728515625, -0.005825042724609375, -0.0699462890625, -0.00038695335388183594, -0.020294189453125, 0.036956787109375, -0.00598907470703125, -0.0171661376953125, -0.014892578125, 0.03271484375, -0.00963592529296875, 0.004833221435546875, 0.0438232421875, -0.024688720703125, -0.01532745361328125, -0.0601806640625, 0.0206298828125, -0.019775390625, 0.02825927734375, -0.019317626953125, 0.0252838134765625, 0.04254150390625, 0.041717529296875, -0.0017118453979492188, -0.021636962890625, 0.0074920654296875, -0.0865478515625, 0.00708770751953125, -0.01666259765625, 0.003841400146484375, -0.0287017822265625, 0.0159759521484375, -0.029693603515625, 0.05462646484375, -0.0279083251953125, 0.037139892578125, 0.0250396728515625, -0.0007386207580566406, -0.0223236083984375, -0.00632476806640625, 0.0287628173828125, -0.01477813720703125, -0.04034423828125, -0.023040771484375, -0.0173797607421875, 0.0238037109375, -0.022125244140625, 0.01497650146484375, 0.0157623291015625, 0.0010890960693359375, 0.00315093994140625, 0.01485443115234375, -0.056976318359375, 0.0020542144775390625, 0.0282440185546875, 0.043212890625, -0.004810333251953125, -0.01428985595703125, -0.0204620361328125, -0.012786865234375, 0.0022754669189453125, -0.02178955078125, 0.0311737060546875, -0.048492431640625, -0.019744873046875, -0.01226806640625, -0.0238037109375, -0.024169921875, -0.0019235610961914062, 0.0007653236389160156, -0.0264434814453125, 0.013397216796875, 0.0008044242858886719, -0.032135009765625, 0.046478271484375, 0.00939178466796875, -0.041259765625, -0.01363372802734375, -0.08612060546875, 0.05255126953125, -0.05938720703125, 0.0243377685546875, 0.0809326171875, 0.01427459716796875, 0.0034770965576171875, 0.00472259521484375, -0.00255584716796875, 0.032257080078125, -0.01451873779296875, -0.004894256591796875, 0.01100921630859375, -0.017730712890625, 0.0289459228515625, 0.004909515380859375, -0.059844970703125, -0.010009765625, -0.00702667236328125, -0.0367431640625, -0.01497650146484375, -0.0673828125, 0.0014619827270507812, 0.040740966796875, -0.0232086181640625, -0.0083160400390625, 0.0308837890625, -0.0218963623046875, -0.01959228515625, 0.04559326171875, -0.018402099609375, 0.0243377685546875, -0.021514892578125, -0.021270751953125, 0.002132415771484375, -0.04278564453125, -0.017181396484375, 0.00701904296875, -0.00775146484375, 0.0086822509765625, 0.0212554931640625, 0.0031642913818359375, -0.0116424560546875, 0.0196685791015625, -0.028045654296875, -0.018646240234375, -0.017669677734375, 0.0101470947265625, -0.026336669921875, 0.006969451904296875, 0.0039043426513671875, -0.022216796875, 0.01451873779296875, 0.0056304931640625, 0.0003750324249267578, -0.040283203125, -0.034332275390625, -0.004955291748046875, -0.0084686279296875, 0.0267333984375, -0.03948974609375, -0.0012445449829101562, -0.0626220703125, -0.0223236083984375, 0.0330810546875, -0.0158538818359375, 0.003543853759765625, -0.0120391845703125, -0.03289794921875, 0.03485107421875, -0.01021575927734375, -0.00212860107421875, -0.033416748046875, 0.024566650390625, -0.035125732421875, 0.020355224609375, -0.005390167236328125, 0.0032501220703125, -0.01108551025390625, -0.00782012939453125, -0.04925537109375, -0.0038280487060546875, -0.0288238525390625, -0.0247802734375, -0.0008349418640136719, -0.040313720703125, -0.0115814208984375, -0.038330078125, 0.02996826171875, 0.00991058349609375, 0.006961822509765625, -0.005290985107421875, -0.0082244873046875, 0.0014276504516601562, 0.059906005859375, -0.01152801513671875, -0.0295867919921875, 0.00377655029296875, 0.01033782958984375, 0.0107879638671875, 0.026031494140625, -0.0092926025390625, -0.036224365234375, -0.0869140625, -0.00677490234375, -0.033447265625, -0.01174163818359375, -0.009796142578125, -0.029052734375, -0.0278167724609375, -0.06500244140625, 0.032379150390625, 0.004344940185546875, 0.0229034423828125, -0.0126953125, 0.005352020263671875, -0.037628173828125, -0.004383087158203125, -0.009521484375, -0.08502197265625, -0.00705718994140625, -0.035308837890625, 0.0701904296875, 0.013763427734375, 0.00689697265625, -0.01366424560546875, 0.03741455078125, -0.01538848876953125, -0.0216217041015625, 0.01004791259765625, -0.0032596588134765625, 0.0169677734375, 0.05853271484375, 0.00489044189453125, 0.0173797607421875, 0.0034847259521484375, 0.00965118408203125, -0.046295166015625, 0.01303863525390625, 0.01092529296875, 0.020355224609375, 0.0577392578125, -0.049591064453125, -0.048858642578125, -0.0751953125, -0.04656982421875, -0.01177215576171875, -0.0411376953125, 0.0270843505859375, -0.05657958984375, -0.0556640625, 0.048492431640625, 0.034210205078125, 0.0083160400390625, -0.01464080810546875, 0.06292724609375, 0.004619598388671875, -0.043182373046875, -0.0038013458251953125, 0.023101806640625, 0.01165771484375, 0.0013885498046875, 0.0758056640625, 0.02581787109375, 0.0223541259765625, 0.0325927734375, -0.004703521728515625, 0.0195159912109375, -0.013458251953125, 0.055145263671875, -0.011199951171875, -0.016632080078125, 0.032440185546875, -0.00222015380859375, -0.0275726318359375, -0.004909515380859375, 0.0295562744140625, 0.00897979736328125, 0.048095703125, -0.0491943359375, 0.03082275390625, -0.0460205078125, 0.03363037109375, -0.01641845703125, 0.01555633544921875, 0.040191650390625, -0.0304107666015625, 0.037445068359375, -0.01451873779296875, 0.004451751708984375, -0.01561737060546875, -0.0006318092346191406, -0.017578125, 0.036651611328125, -0.040863037109375, 0.043914794921875, -0.005100250244140625, -0.014556884765625, -0.022613525390625, -0.0036869049072265625, 0.01082611083984375, 0.0245819091796875, -0.060882568359375, 0.00443267822265625, 0.00676727294921875, -0.016693115234375, -0.00475311279296875, -0.0007977485656738281, 0.0261688232421875, -0.0046539306640625, 0.0064849853515625, -0.002872467041015625, -0.01357269287109375, -0.0152435302734375, -0.035614013671875, 0.0322265625, -0.00860595703125, -0.00241851806640625, 0.0134735107421875, 0.022186279296875, 0.01523590087890625, 0.00821685791015625, -0.00438690185546875, -0.024688720703125, -0.00958251953125, 0.021820068359375, 0.007110595703125, -0.0121002197265625, -0.0008649826049804688, 0.00542449951171875, 0.042877197265625, -0.03643798828125, -0.0277557373046875, -0.029449462890625, 0.0234527587890625, -0.0073089599609375, 0.0068817138671875, 0.050048828125, 0.00843048095703125, -0.007259368896484375, 0.033172607421875, 0.0200958251953125, -0.007106781005859375, -0.023712158203125, -0.0016927719116210938, 0.027587890625, 0.0032939910888671875, -0.0256805419921875, 0.0009870529174804688, -0.0280609130859375, -0.036956787109375, 0.06854248046875, -0.08660888671875, 0.0101318359375, 0.021575927734375, 0.015106201171875, -0.025146484375, -0.0285491943359375, -0.041351318359375, 0.013916015625, -0.01666259765625, 0.0163421630859375, 0.0243072509765625, -0.017578125, 0.05670166015625, -0.037628173828125, -0.0251312255859375, 0.0136871337890625, 0.0019388198852539062, 0.0160369873046875, 0.01043701171875, -0.08154296875, 0.007537841796875, -0.050079345703125, -0.0217742919921875, -0.0306549072265625, -0.0088043212890625, -0.060272216796875, -0.0010957717895507812, 0.003879547119140625, 0.032806396484375, -0.0288848876953125, -0.01226806640625, 0.027862548828125, 0.0091552734375, -0.006103515625, 0.052215576171875, -0.03302001953125, 0.0504150390625, -0.0027179718017578125, 0.0186920166015625, -0.0330810546875, 0.004589080810546875, 0.0004901885986328125, -0.00670623779296875, 0.04876708984375, -0.007488250732421875, -0.06402587890625, -0.056549072265625, 0.003879547119140625, 0.01593017578125, 0.055419921875, -0.03240966796875, 0.0186920166015625, -0.03021240234375, 0.0111541748046875, -0.044036865234375, 0.0187530517578125, -0.07891845703125, -0.0255889892578125, -0.01088714599609375, -0.014862060546875, 0.03253173828125, -0.017303466796875, -0.015472412109375, 0.0299224853515625, -0.0175018310546875, 0.032073974609375, 0.0167388916015625, -0.0012693405151367188, 0.023162841796875, 0.08502197265625, 0.00464630126953125, 0.0703125, 0.0360107421875, 0.028045654296875, 0.028045654296875, 0.0233306884765625, 0.00757598876953125, -0.0350341796875, 0.046783447265625, 0.006641387939453125, -0.02386474609375, 0.0206756591796875, -0.0308380126953125, 0.03466796875, 0.050537109375, 0.10064697265625, -0.0867919921875, 0.030029296875, 0.048828125, 0.0191650390625, 0.041656494140625, -0.028106689453125, 0.031982421875, -0.034088134765625, 0.046112060546875, -0.0184783935546875, -0.0218048095703125, -0.013702392578125, -0.049896240234375, -0.00258636474609375, 0.01617431640625, 0.030029296875, 0.00457763671875, -0.03887939453125, -0.0304107666015625, 0.017852783203125, -0.022491455078125, 0.007293701171875, -0.028289794921875, 0.01146697998046875, -0.057373046875, -0.07769775390625, -0.0309600830078125, -0.044769287109375, -0.04052734375, 0.0020885467529296875, -0.0157012939453125, 0.05389404296875, 0.0521240234375, -0.007366180419921875, -0.00933074951171875, 0.03399658203125, -0.040069580078125, -0.0208892822265625, -0.033599853515625, 0.0367431640625, 0.0162200927734375, -0.055877685546875, 0.025848388671875, -0.009124755859375, -0.037994384765625, 0.007099151611328125, -0.01192474365234375, 0.053314208984375, -0.038055419921875, -0.01409912109375, 0.024017333984375, -0.035247802734375, -0.01456451416015625, 0.00821685791015625, 0.007404327392578125, -0.0491943359375, -0.0382080078125, 0.00015282630920410156, -0.0755615234375, 0.026885986328125, 0.0166473388671875, -0.08160400390625, 0.08831787109375, -0.0165252685546875, 0.054229736328125, 0.01554107666015625, 0.021575927734375, -0.043609619140625, -0.00867462158203125, -0.0100860595703125, 0.0073089599609375, 0.0135955810546875, 0.017303466796875, -0.03082275390625, -0.0091400146484375, -0.017730712890625, 0.045196533203125, -0.00788116455078125, 0.0008945465087890625, 0.0255584716796875, -0.023345947265625, -0.0020999908447265625, 0.032257080078125, 0.01114654541015625, -0.0023326873779296875, -0.0031490325927734375, 0.037353515625, 0.00189208984375, -0.058990478515625, 0.004192352294921875, -0.020904541015625, -0.0211029052734375, 0.035369873046875, 0.018341064453125, 0.0250396728515625, -0.01348876953125, -0.003269195556640625, -0.06927490234375, 0.01528167724609375, 0.0250244140625, 0.07330322265625, 0.021240234375, -0.0058746337890625, 0.01337432861328125, -0.047821044921875, 0.0153045654296875, -0.0276641845703125, 0.048797607421875, -0.0146636962890625, 0.01641845703125, 0.05218505859375, 0.0345458984375, 0.007228851318359375, -0.043701171875, 0.0198974609375, -0.0179901123046875, -0.039215087890625, -0.00893402099609375, 0.005023956298828125, 0.0255279541015625, -0.017578125, 0.0117950439453125, -0.016998291015625, -0.00736236572265625, -0.006908416748046875, 0.007442474365234375, 0.01360321044921875, 0.019439697265625, 0.0257110595703125, -0.03887939453125, 0.0386962890625, -0.05731201171875, -0.03070068359375, 0.020751953125, 0.003490447998046875, 0.01763916015625, 0.0186309814453125, 0.033905029296875, 0.091552734375, -0.04608154296875, -0.000056862831115722656, -0.032958984375, -0.0091400146484375, 0.003635406494140625, 0.02947998046875, 0.0374755859375, 0.0171661376953125, 0.0345458984375, -0.014678955078125, 0.005245208740234375, 0.04742431640625, -0.0181884765625, -0.0179595947265625, -0.057281494140625, -0.11517333984375, 0.04681396484375, 0.046875, 0.05462646484375, -0.0091552734375, 0.0611572265625, 0.0291748046875, -0.035888671875, 0.007022857666015625, 0.024444580078125, -0.0163726806640625, 0.0016984939575195312, -0.004306793212890625, -0.0209808349609375, 0.02484130859375, -0.0227203369140625, -0.0007801055908203125, -0.00604248046875, 0.0477294921875, 0.0090179443359375, 0.0301055908203125, 0.01548004150390625, -0.0092926025390625, -0.01441192626953125, 0.008148193359375, 0.0124664306640625, 0.0379638671875, -0.00470733642578125, 0.0213623046875, -0.045166015625, -0.0413818359375, -0.0018262863159179688, 0.023681640625, -0.0063629150390625, 0.035369873046875, 0.033935546875, -0.0267333984375, -0.00801849365234375, 0.0222015380859375, 0.01678466796875, 0.01007080078125, 0.017364501953125, 0.00879669189453125, -0.050201416015625, -0.022857666015625, 0.0243988037109375, 0.0202789306640625, -0.007770538330078125, -0.03173828125, 0.0306243896484375, 0.00991058349609375, -0.01001739501953125, -0.018341064453125, 0.007289886474609375, -0.01085662841796875, 0.0276336669921875, 0.003307342529296875, -0.026397705078125, -0.0172576904296875, -0.03814697265625, 0.0294189453125, 0.016448974609375, -0.0333251953125, 0.0682373046875, -0.02545166015625, -0.004894256591796875, -0.06549072265625, 0.0160675048828125, -0.0394287109375, -0.07464599609375, -0.0240936279296875, 0.0221710205078125, -0.042144775390625, -0.00641632080078125, 0.0179290771484375, 0.04498291015625, 0.00029850006103515625, 0.0058135986328125, -0.000423431396484375, -0.01412200927734375, -0.023406982421875, 0.01385498046875, 0.0008802413940429688, 0.0207977294921875, 0.04681396484375, -0.01036834716796875, 0.0250244140625, 0.00812530517578125, 0.00350189208984375, 0.03363037109375, -0.03125, -0.00995635986328125, -0.004238128662109375, 0.01235198974609375, -0.007282257080078125, -0.00604248046875, -0.0163726806640625, -0.01055908203125, 0.006473541259765625, 0.0191802978515625, -0.0018463134765625, -0.011199951171875, -0.0386962890625, 0.00992584228515625, -0.0367431640625, -0.0462646484375, -0.0259552001953125, 0.016448974609375, 0.029144287109375, 0.00836181640625, -0.056243896484375, 0.055023193359375, -0.039337158203125, -0.00689697265625, 0.0096588134765625, 0.04669189453125, -0.00998687744140625, 0.0118255615234375, -0.059661865234375, -0.06494140625, -0.01076507568359375, 0.0755615234375, -0.02728271484375, -0.036834716796875, -0.01401519775390625, 0.017333984375, 0.00640106201171875, -0.0477294921875, -0.0418701171875, -0.0005726814270019531, -0.0404052734375, -0.00514984130859375, -0.00554656982421875, -0.0134429931640625, -0.032806396484375, -0.006526947021484375, 0.043487548828125, -0.05328369140625, -0.06622314453125, 0.01959228515625, -0.037109375, -0.032623291015625, -0.0367431640625, -0.023162841796875, 0.0192718505859375, 0.033599853515625, -0.033447265625, -0.01531982421875, 0.01535797119140625, 0.0166015625, 0.046234130859375, 0.0113983154296875, -0.032470703125, -0.02325439453125, -0.0048065185546875, -0.003276824951171875, 0.0182647705078125, 0.0041656494140625, 0.0007009506225585938, 0.0113525390625, 0.047119140625, 0.055511474609375, 0.000049591064453125, -0.04376220703125, -0.00083160400390625, 0.031951904296875, 0.036834716796875, 0.00240325927734375, 0.031494140625, 0.03582763671875, -0.0197601318359375, -0.0289764404296875, 0.00047659873962402344, 0.00830078125, 0.0088653564453125, 0.03131103515625, 0.051971435546875, 0.005252838134765625, -0.0133514404296875, -0.047515869140625, -0.0226898193359375, 0.051971435546875, -0.0262298583984375, -0.01184844970703125, -0.053192138671875, -0.0172882080078125, -0.0022716522216796875, -0.01459503173828125, -0.026611328125, 0.0216217041015625, -0.043487548828125, 0.00823211669921875, 0.00022709369659423828, 0.00130462646484375, -0.042694091796875, 0.031036376953125, 0.00823974609375, -0.03192138671875, -0.0166015625, -0.01515960693359375, -0.005695343017578125, -0.00879669189453125, -0.03350830078125, -0.0081329345703125, 0.009552001953125, -0.0255279541015625, 0.0275115966796875, -0.00391387939453125, 0.0217437744140625, -0.037872314453125, -0.0221405029296875, 0.00035881996154785156, 0.04241943359375, 0.0034389495849609375, 0.048858642578125, -0.0258026123046875, 0.018096923828125, -0.00229644775390625, 0.051300048828125, -0.042388916015625, 0.021240234375, -0.0175933837890625, -0.00559234619140625, 0.004276275634765625, 0.0182647705078125, 0.06817626953125, -0.0298309326171875, 0.000244140625, -0.004535675048828125, 0.03802490234375, -0.05291748046875, 0.0430908203125, -0.04705810546875, 0.01325225830078125, 0.0258026123046875 ]
1ea16401c02d0878f192d726e34c046b155533cd
Wordpress Stackexchange Q: Gutenberg reusable blocks - is it possible to customise an instance? Is it possible to have custom settings for a particular instance of a reusable block? If you change any settings/data for a reusable block it changes for all instances where that block is used. This is great for keeping blocks of content synced across a website. But it would be great to also have ability to have fields that are unique to a specific instance of a reusable block. i.e. global attributes and local attributes. Is that currently possible?
Q: Gutenberg reusable blocks - is it possible to customise an instance? Is it possible to have custom settings for a particular instance of a reusable block? If you change any settings/data for a reusable block it changes for all instances where that block is used. This is great for keeping blocks of content synced across a website. But it would be great to also have ability to have fields that are unique to a specific instance of a reusable block. i.e. global attributes and local attributes. Is that currently possible?
wordpress
{ "language": "en", "length": 91, "provenance": "stackexchange_00019.jsonl.gz:498759", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/351113" }
[ -0.031951904296875, 0.0005064010620117188, -0.036285400390625, -0.0240631103515625, -0.01910400390625, -0.001861572265625, -0.053863525390625, -0.0196380615234375, -0.0135498046875, 0.01528167724609375, 0.022430419921875, -0.01153564453125, 0.007232666015625, -0.05718994140625, 0.01200103759765625, -0.01328277587890625, 0.033966064453125, 0.01480865478515625, 0.033966064453125, -0.01526641845703125, -0.00665283203125, -0.00013363361358642578, -0.016448974609375, 0.07867431640625, 0.051849365234375, -0.052642822265625, 0.019805908203125, 0.007568359375, 0.037353515625, 0.00027441978454589844, 0.057403564453125, -0.03375244140625, 0.030975341796875, -0.003692626953125, -0.0208892822265625, -0.03765869140625, 0.047149658203125, -0.03582763671875, -0.0152587890625, 0.033782958984375, 0.0489501953125, -0.04290771484375, 0.032379150390625, -0.0118255615234375, 0.01490020751953125, 0.006572723388671875, 0.0390625, -0.040802001953125, 0.041778564453125, 0.040191650390625, -0.0100555419921875, -0.00469207763671875, -0.0191497802734375, -0.03271484375, -0.006000518798828125, -0.0092315673828125, -0.007740020751953125, 0.00403594970703125, 0.0208740234375, -0.005580902099609375, -0.0176239013671875, -0.0011625289916992188, 0.018280029296875, -0.006511688232421875, 0.029327392578125, -0.0121917724609375, 0.0139617919921875, 0.0193634033203125, -0.02423095703125, 0.0219268798828125, 0.036468505859375, -0.00923919677734375, 0.0021572113037109375, -0.049163818359375, -0.0139312744140625, -0.01004791259765625, 0.0117340087890625, -0.04815673828125, -0.00681304931640625, 0.0022335052490234375, -0.03961181640625, -0.01009368896484375, -0.01317596435546875, -0.050567626953125, 0.0298919677734375, -0.006839752197265625, -0.0247650146484375, -0.00012969970703125, -0.0099639892578125, -0.037078857421875, -0.015899658203125, 0.00942230224609375, -0.06201171875, 0.04388427734375, -0.01444244384765625, 0.004863739013671875, 0.005706787109375, -0.0043792724609375, 0.002933502197265625, 0.00969696044921875, -0.006130218505859375, -0.03094482421875, 0.00807952880859375, -0.0189361572265625, 0.01495361328125, -0.0208740234375, -0.0552978515625, 0.002048492431640625, 0.061981201171875, 0.0535888671875, -0.01114654541015625, 0.012359619140625, 0.04095458984375, 0.0330810546875, -0.0330810546875, -0.0241241455078125, 0.0005249977111816406, 0.0136871337890625, -0.024566650390625, -0.0128326416015625, 0.017974853515625, 0.042510986328125, 0.036651611328125, -0.021636962890625, -0.027374267578125, -0.0189361572265625, -0.01114654541015625, -0.060577392578125, -0.0035152435302734375, -0.00646209716796875, -0.018096923828125, 0.00637054443359375, 0.04449462890625, 0.050506591796875, 0.011505126953125, -0.01273345947265625, 0.0626220703125, 0.00812530517578125, -0.00323486328125, 0.0245208740234375, -0.025787353515625, -0.018768310546875, 0.0028362274169921875, -0.027923583984375, 0.021453857421875, -0.00792694091796875, 0.036651611328125, 0.037750244140625, -0.0264129638671875, -0.07366943359375, 0.07940673828125, -0.00786590576171875, 0.0092010498046875, 0.00926971435546875, 0.047271728515625, -0.01549530029296875, 0.060882568359375, -0.026275634765625, -0.001499176025390625, -0.023468017578125, 0.049896240234375, -0.034454345703125, -0.02734375, 0.0305328369140625, -0.0029087066650390625, 0.0318603515625, 0.0012502670288085938, 0.0123748779296875, 0.0270843505859375, 0.0212860107421875, -0.0021686553955078125, -0.01354217529296875, -0.013702392578125, 0.0127410888671875, 0.00010257959365844727, 0.01154327392578125, -0.01422119140625, 0.0000959634780883789, 0.01473236083984375, 0.016571044921875, -0.0021514892578125, -0.039459228515625, 0.0127716064453125, -0.00577545166015625, -0.0379638671875, 0.007091522216796875, -0.025543212890625, 0.06414794921875, 0.06964111328125, 0.01220703125, -0.046417236328125, -0.07757568359375, -0.035430908203125, -0.00582122802734375, -0.021209716796875, 0.0494384765625, -0.042816162109375, 0.052093505859375, -0.01953125, -0.036041259765625, 0.0811767578125, -0.038970947265625, 0.057037353515625, -0.05743408203125, -0.0191802978515625, -0.00868988037109375, -0.00896453857421875, 0.024078369140625, -0.017852783203125, -0.0156707763671875, 0.00952911376953125, -0.0273895263671875, -0.005168914794921875, -0.002719879150390625, 0.00025653839111328125, 0.0447998046875, 0.034698486328125, 0.0173797607421875, 0.0194854736328125, -0.03326416015625, 0.0404052734375, 0.0003497600555419922, -0.003940582275390625, 0.033660888671875, 0.0020771026611328125, 0.004825592041015625, -0.0308074951171875, -0.00940704345703125, -0.024688720703125, 0.053314208984375, -0.070556640625, -0.00635528564453125, 0.0186920166015625, 0.046600341796875, 0.01522064208984375, 0.00742340087890625, 0.0144805908203125, -0.033477783203125, 0.005756378173828125, 0.0209808349609375, 0.01654052734375, -0.034423828125, -0.0241851806640625, -0.034881591796875, -0.023895263671875, 0.00977325439453125, 0.0286407470703125, -0.024993896484375, -0.002460479736328125, 0.0260009765625, -0.0196685791015625, 0.003139495849609375, 0.031585693359375, 0.00433349609375, 0.01316070556640625, 0.0308837890625, -0.035308837890625, -0.01373291015625, 0.032318115234375, 0.0210113525390625, -0.0182342529296875, 0.08984375, 0.056365966796875, 0.0266876220703125, 0.080322265625, -0.0028018951416015625, 0.051971435546875, 0.034423828125, -0.05511474609375, 0.0322265625, 0.021728515625, 0.00992584228515625, 0.004146575927734375, 0.007259368896484375, 0.018402099609375, 0.020782470703125, -0.031646728515625, -0.01058197021484375, 0.055633544921875, 0.0091705322265625, -0.0162811279296875, -0.0018777847290039062, -0.0703125, -0.0086517333984375, -0.00527191162109375, -0.07000732421875, 0.002597808837890625, 0.0258331298828125, 0.020263671875, -0.0115966796875, 0.0276641845703125, -0.015380859375, -0.0129241943359375, 0.0031108856201171875, 0.025146484375, -0.0506591796875, -0.0081939697265625, -0.041961669921875, 0.0186309814453125, -0.057647705078125, 0.038909912109375, 0.058074951171875, -0.0292205810546875, 0.0210113525390625, 0.0127105712890625, -0.029815673828125, 0.0203704833984375, 0.018310546875, -0.0008263587951660156, -0.0037555694580078125, -0.073486328125, -0.006603240966796875, 0.00927734375, 0.033416748046875, 0.002429962158203125, -0.0206298828125, 0.000675201416015625, 0.0283966064453125, 0.0003361701965332031, 0.007503509521484375, 0.039764404296875, 0.0011310577392578125, -0.00806427001953125, -0.0204925537109375, 0.002849578857421875, -0.0055999755859375, -0.0172271728515625, -0.01094818115234375, 0.0170440673828125, -0.043975830078125, -0.01666259765625, -0.0712890625, -0.062164306640625, -0.048004150390625, -0.00042891502380371094, -0.006229400634765625, -0.01099395751953125, 0.0045013427734375, -0.02642822265625, -0.004810333251953125, -0.01702880859375, -0.03985595703125, 0.0183258056640625, -0.02978515625, 0.0179290771484375, -0.0310516357421875, 0.0248870849609375, 0.00292205810546875, 0.0372314453125, 0.01238250732421875, -0.0215301513671875, -0.02362060546875, 0.0133514404296875, 0.044342041015625, 0.0307159423828125, -0.0149383544921875, -0.0177459716796875, 0.0249481201171875, -0.0166473388671875, -0.029205322265625, -0.039764404296875, 0.019500732421875, -0.04791259765625, 0.01453399658203125, 0.0185546875, -0.011322021484375, 0.007579803466796875, 0.020172119140625, -0.010406494140625, 0.0164947509765625, 0.0273895263671875, -0.0242767333984375, 0.00763702392578125, -0.0269317626953125, -0.0311279296875, -0.015411376953125, 0.027496337890625, -0.01727294921875, 0.030792236328125, 0.006916046142578125, 0.020416259765625, -0.0023555755615234375, 0.0033817291259765625, -0.06256103515625, -0.019866943359375, 0.04229736328125, -0.0167694091796875, 0.0272216796875, -0.0188751220703125, -0.01861572265625, -0.004611968994140625, 0.07952880859375, -0.0216827392578125, -0.0016164779663085938, 0.018310546875, 0.0166473388671875, -0.037872314453125, -0.037628173828125, -0.07244873046875, -0.0084075927734375, -0.031402587890625, 0.0006666183471679688, -0.0014200210571289062, -0.019012451171875, -0.01300811767578125, 0.0251617431640625, -0.0028705596923828125, -0.026702880859375, 0.020263671875, -0.0012903213500976562, 0.01404571533203125, 0.005733489990234375, 0.016876220703125, -0.0012388229370117188, -0.0033054351806640625, -0.0279693603515625, -0.06292724609375, -0.004730224609375, -0.03094482421875, 0.03619384765625, 0.035858154296875, -0.05401611328125, -0.01442718505859375, 0.033416748046875, 0.00360107421875, -0.003139495849609375, 0.033203125, 0.0219573974609375, 0.030975341796875, -0.0311279296875, -0.00887298583984375, -0.0421142578125, 0.019439697265625, 0.004131317138671875, -0.0251007080078125, 0.0438232421875, -0.0251312255859375, 0.0110626220703125, -0.00614166259765625, -0.04339599609375, -0.05291748046875, -0.006938934326171875, 0.00142669677734375, 0.0196533203125, -0.0078277587890625, 0.004367828369140625, -0.002223968505859375, -0.04852294921875, 0.004077911376953125, 0.026458740234375, -0.01439666748046875, 0.021942138671875, 0.01375579833984375, 0.0171661376953125, -0.01444244384765625, -0.040740966796875, -0.0138092041015625, -0.0211181640625, 0.0212554931640625, 0.070068359375, 0.007305145263671875, 0.038970947265625, 0.006145477294921875, -0.052276611328125, 0.0179290771484375, -0.07318115234375, 0.087646484375, -0.0309906005859375, -0.0297698974609375, 0.04345703125, -0.037200927734375, 0.0290374755859375, 0.042449951171875, -0.019317626953125, 0.0010976791381835938, -0.032989501953125, 0.01067352294921875, -0.01081085205078125, -0.00948333740234375, -0.0290069580078125, -0.01239013671875, 0.0008869171142578125, -0.040618896484375, 0.0465087890625, 0.0263214111328125, -0.0147705078125, 0.0149078369140625, 0.0238189697265625, 0.0218353271484375, 0.005466461181640625, -0.0011148452758789062, -0.0386962890625, 0.031585693359375, 0.007659912109375, -0.006317138671875, 0.0109100341796875, 0.01678466796875, 0.043701171875, -0.03857421875, -0.035858154296875, -0.05072021484375, -0.012451171875, -0.047332763671875, 0.024932861328125, -0.0303497314453125, 0.0172271728515625, 0.032379150390625, 0.01290130615234375, 0.0182952880859375, 0.007080078125, -0.0004761219024658203, 0.0009150505065917969, 0.007781982421875, -0.004119873046875, -0.0138092041015625, -0.0081939697265625, 0.019287109375, -0.0020542144775390625, -0.01122283935546875, -0.01322174072265625, 0.03924560546875, 0.064453125, -0.06329345703125, 0.019256591796875, 0.04595947265625, -0.020538330078125, -0.06732177734375, -0.002925872802734375, -0.00832366943359375, -0.017608642578125, 0.021392822265625, 0.0290069580078125, 0.0003840923309326172, 0.023345947265625, -0.0049896240234375, -0.0157012939453125, -0.00406646728515625, 0.0171966552734375, -0.059356689453125, -0.04095458984375, -0.02020263671875, -0.0150909423828125, 0.04119873046875, -0.0258331298828125, -0.004547119140625, -0.06298828125, -0.0682373046875, -0.0396728515625, -0.011932373046875, -0.004955291748046875, -0.01445770263671875, -0.03564453125, -0.035308837890625, -0.001728057861328125, 0.02117919921875, -0.0687255859375, -0.050018310546875, -0.0025920867919921875, -0.01248931884765625, 0.041351318359375, -0.04058837890625, 0.0181884765625, -0.01114654541015625, 0.002574920654296875, -0.042633056640625, 0.034088134765625, 0.0323486328125, 0.03070068359375, -0.033050537109375, -0.0293121337890625, -0.065185546875, -0.0036983489990234375, -0.059295654296875, -0.08770751953125, -0.016693115234375, 0.0183258056640625, 0.03228759765625, 0.058197021484375, -0.026947021484375, -0.050445556640625, 0.037200927734375, -0.0140838623046875, -0.011810302734375, 0.0634765625, -0.01442718505859375, 0.0125885009765625, -0.003143310546875, 0.03619384765625, -0.021759033203125, -0.0177459716796875, 0.0269775390625, -0.024078369140625, -0.024993896484375, -0.020538330078125, -0.017425537109375, 0.01177215576171875, -0.0012254714965820312, 0.061737060546875, 0.08392333984375, 0.01018524169921875, 0.0290374755859375, -0.049041748046875, 0.0069122314453125, -0.04638671875, 0.016021728515625, -0.1201171875, -0.0171356201171875, -0.027130126953125, 0.0159759521484375, 0.038543701171875, -0.00945281982421875, -0.04815673828125, 0.01033782958984375, 0.0158843994140625, 0.004650115966796875, -0.00852203369140625, 0.002590179443359375, -0.01080322265625, 0.020416259765625, 0.0168914794921875, 0.03460693359375, 0.003932952880859375, 0.02337646484375, 0.01486968994140625, -0.00937652587890625, -0.00615692138671875, 0.0287017822265625, 0.0033397674560546875, -0.013580322265625, 0.00763702392578125, -0.01534271240234375, 0.0070037841796875, 0.01273345947265625, 0.0169219970703125, 0.04705810546875, -0.058807373046875, 0.016998291015625, 0.0225067138671875, 0.007381439208984375, -0.01094818115234375, 0.051544189453125, -0.0237579345703125, -0.01251983642578125, -0.03912353515625, -0.035919189453125, -0.01517486572265625, -0.0085906982421875, 0.0142059326171875, -0.02777099609375, -0.04498291015625, 0.02886962890625, 0.0253143310546875, 0.05206298828125, 0.0302886962890625, -0.056884765625, 0.0303802490234375, 0.0054779052734375, 0.039306640625, -0.026123046875, -0.0124053955078125, -0.030181884765625, 0.008270263671875, -0.0215301513671875, -0.018585205078125, -0.01183319091796875, -0.034027099609375, 0.039154052734375, 0.033172607421875, -0.01529693603515625, -0.0227508544921875, 0.0098419189453125, -0.01458740234375, -0.07293701171875, -0.0183563232421875, -0.00022876262664794922, 0.017913818359375, -0.030364990234375, 0.03326416015625, -0.043487548828125, -0.01107025146484375, 0.01084136962890625, 0.07757568359375, 0.0219573974609375, -0.02960205078125, -0.01995849609375, 0.0445556640625, 0.030517578125, 0.0069732666015625, 0.0164947509765625, 0.0091552734375, -0.04254150390625, -0.0117950439453125, 0.0005574226379394531, -0.0208740234375, -0.016571044921875, 0.004673004150390625, -0.059051513671875, 0.09613037109375, 0.04168701171875, 0.0086669921875, -0.038970947265625, 0.05157470703125, -0.000514984130859375, 0.042877197265625, -0.0240020751953125, 0.0582275390625, 0.0016069412231445312, 0.034393310546875, -0.033203125, -0.020965576171875, 0.025421142578125, 0.05322265625, 0.040435791015625, 0.0059356689453125, -0.032012939453125, -0.02264404296875, -0.0058135986328125, -0.010772705078125, -0.046783447265625, 0.057342529296875, 0.00522613525390625, -0.0086669921875, -0.0156707763671875, -0.03912353515625, 0.0151214599609375, -0.043609619140625, -0.00879669189453125, 0.01465606689453125, -0.0003986358642578125, 0.01544952392578125, 0.006317138671875, 0.034942626953125, -0.036956787109375, -0.00090789794921875, 0.03314208984375, -0.026641845703125, 0.007625579833984375, 0.00098419189453125, 0.0357666015625, -0.02374267578125, -0.0154571533203125, -0.006866455078125, 0.034393310546875, 0.0228424072265625, -0.017669677734375, -0.0124664306640625, -0.0231781005859375, 0.019073486328125, -0.004123687744140625, -0.038482666015625, 0.023193359375, 0.0181884765625, 0.0272674560546875, -0.032012939453125, -0.0017518997192382812, -0.06329345703125, 0.01763916015625, -0.002101898193359375, 0.022552490234375, -0.03106689453125, -0.054046630859375, 0.006748199462890625, 0.01227569580078125, 0.04022216796875, -0.00942230224609375, 0.020172119140625, -0.07373046875, -0.004787445068359375, -0.038299560546875, 0.005458831787109375, 0.000865936279296875, 0.010833740234375, 0.004703521728515625, 0.0743408203125, -0.0511474609375, -0.033294677734375, -0.0189971923828125, -0.028533935546875, 0.0140533447265625, 0.0482177734375, 0.032073974609375, 0.043914794921875, 0.0026531219482421875, -0.035675048828125, -0.051422119140625, 0.048187255859375, 0.0110931396484375, 0.06500244140625, -0.07220458984375, 0.0017042160034179688, 0.0124969482421875, 0.055511474609375, 0.035491943359375, -0.01136016845703125, 0.030120849609375, 0.041900634765625, 0.01322174072265625, -0.0012922286987304688, 0.0213623046875, 0.0002092123031616211, 0.0262603759765625, -0.05511474609375, -0.0078277587890625, -0.040191650390625, -0.0299530029296875, -0.0022487640380859375, 0.01490020751953125, -0.0093994140625, 0.022674560546875, 0.019989013671875, 0.00901031494140625, -0.03460693359375, 0.01326751708984375, -0.0132293701171875, 0.0849609375, 0.049346923828125, -0.054046630859375, -0.0167694091796875, -0.003017425537109375, -0.04522705078125, 0.0283660888671875, 0.037750244140625, -0.021270751953125, 0.010955810546875, -0.01910400390625, 0.0183868408203125, 0.0291595458984375, -0.050750732421875, 0.0075225830078125, 0.00827789306640625, 0.0190277099609375, 0.0091552734375, -0.0579833984375, -0.0262908935546875, 0.024658203125, 0.01068878173828125, -0.022369384765625, 0.05419921875, 0.01345062255859375, -0.00452423095703125, -0.0008120536804199219, 0.03228759765625, 0.0048675537109375, 0.01512908935546875, -0.0008292198181152344, 0.051666259765625, 0.04034423828125, -0.034149169921875, -0.056549072265625, 0.005329132080078125, 0.039276123046875, -0.041961669921875, 0.0281219482421875, 0.0162353515625, -0.0035266876220703125, -0.05218505859375, -0.0106658935546875, -0.035491943359375, -0.04888916015625, -0.006591796875, 0.0283966064453125, -0.026519775390625, -0.0059967041015625, -0.005615234375, 0.046417236328125, 0.01549530029296875, 0.004611968994140625, 0.0070953369140625, -0.03936767578125, 0.0268096923828125, 0.03759765625, -0.0150909423828125, -0.05401611328125, -0.0222320556640625, -0.011138916015625, 0.02667236328125, -0.017364501953125, 0.056182861328125, 0.021148681640625, 0.012481689453125, 0.037567138671875, 0.051513671875, 0.03912353515625, -0.0241241455078125, 0.0021686553955078125, 0.082763671875, -0.027587890625, -0.007659912109375, 0.005512237548828125, -0.030792236328125, -0.025726318359375, -0.0134429931640625, 0.0138092041015625, -0.0177154541015625, -0.04736328125, -0.042877197265625, -0.013031005859375, 0.05853271484375, 0.0259857177734375, -0.0787353515625, 0.0643310546875, -0.0091094970703125, -0.007476806640625, 0.038299560546875, -0.04693603515625, -0.00438690185546875, 0.0057373046875, -0.0027256011962890625, -0.03851318359375, -0.05029296875, 0.022705078125, -0.0307769775390625, 0.01149749755859375, 0.01264190673828125, -0.0287628173828125, 0.033355712890625, -0.00522613525390625, 0.039215087890625, 0.038604736328125, -0.00537109375, -0.02703857421875, -0.0087738037109375, 0.00719451904296875, -0.010650634765625, -0.00528717041015625, 0.040435791015625, -0.03704833984375, -0.0318603515625, 0.002948760986328125, -0.040008544921875, -0.0272216796875, -0.051849365234375, -0.0667724609375, 0.0103302001953125, 0.0190887451171875, -0.038360595703125, -0.0406494140625, 0.040557861328125, -0.005641937255859375, 0.030426025390625, -0.0112762451171875, 0.006053924560546875, 0.0008831024169921875, -0.0015954971313476562, 0.0031070709228515625, 0.0272979736328125, 0.03192138671875, 0.01021575927734375, -0.039764404296875, 0.005191802978515625, -0.01367950439453125, 0.01346588134765625, -0.00707244873046875, -0.03436279296875, 0.01495361328125, -0.0009398460388183594, -0.0458984375, -0.0589599609375, -0.0018596649169921875, 0.0404052734375, 0.0150909423828125, 0.06854248046875, -0.060302734375, 0.028289794921875, 0.040374755859375, 0.08306884765625, 0.02313232421875, -0.045135498046875, 0.0177459716796875, -0.0198211669921875, -0.049560546875, 0.006076812744140625, 0.0248870849609375, -0.0396728515625, 0.004894256591796875, 0.0220947265625, -0.0211639404296875, 0.0171356201171875, 0.0037670135498046875, -0.0275115966796875, 0.01299285888671875, -0.0017614364624023438, -0.007396697998046875, -0.08233642578125, 0.038543701171875, -0.01168060302734375, -0.0126190185546875, -0.0212860107421875, -0.00676727294921875, -0.0121917724609375, -0.0306854248046875, 0.017181396484375, -0.0095062255859375, -0.028778076171875, -0.042999267578125, 0.039154052734375, -0.037506103515625, 0.058502197265625, -0.0821533203125, -0.0160064697265625, -0.00980377197265625, 0.0036983489990234375, 0.01349639892578125, 0.0004570484161376953, -0.06427001953125, 0.07904052734375, 0.0104217529296875, 0.005580902099609375, -0.00946044921875, -0.00943756103515625, -0.0183868408203125, 0.006359100341796875, -0.01450347900390625, 0.006580352783203125, 0.006359100341796875, -0.0054779052734375, 0.0273590087890625, -0.002410888671875, 0.0350341796875, -0.0103912353515625, 0.023895263671875, -0.0144805908203125, -0.01308441162109375, 0.00978851318359375 ]
f1df9518ba0e32e52259c59bf4dc13a99ffbec61
Wordpress Stackexchange Q: Difference between deactivating, uninstalling, and deleting plugins I understand the difference between deactivation and uninstallation. But the CLI also has a delete option. How does it differ? To be safe, should I deactivate, then uninstall, then delete? A: From the docs about wp plugin delete: Deletes plugin files without deactivating or uninstalling. so after runing the comand on a plugin I would expect the admin plugin page showing the warning about the missing plugin being deactivated and all the uninstalling database related actions have not taken place. Just run uninstall with the --deactivate option and you are done. https://developer.wordpress.org/cli/commands/plugin/delete https://developer.wordpress.org/cli/commands/plugin/uninstall/
Q: Difference between deactivating, uninstalling, and deleting plugins I understand the difference between deactivation and uninstallation. But the CLI also has a delete option. How does it differ? To be safe, should I deactivate, then uninstall, then delete? A: From the docs about wp plugin delete: Deletes plugin files without deactivating or uninstalling. so after runing the comand on a plugin I would expect the admin plugin page showing the warning about the missing plugin being deactivated and all the uninstalling database related actions have not taken place. Just run uninstall with the --deactivate option and you are done. https://developer.wordpress.org/cli/commands/plugin/delete https://developer.wordpress.org/cli/commands/plugin/uninstall/
wordpress
{ "language": "en", "length": 101, "provenance": "stackexchange_00019.jsonl.gz:498802", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/351263" }
[ 0.0489501953125, 0.047088623046875, -0.0000045299530029296875, -0.0260772705078125, 0.03265380859375, -0.0153656005859375, 0.01403045654296875, -0.053680419921875, -0.0030498504638671875, 0.015716552734375, -0.023956298828125, 0.0269622802734375, -0.0296630859375, -0.02532958984375, 0.01140594482421875, -0.03851318359375, 0.0260467529296875, -0.007236480712890625, 0.024169921875, -0.025421142578125, 0.01136016845703125, 0.0056915283203125, 0.03485107421875, 0.0517578125, -0.0127410888671875, -0.0189666748046875, 0.07403564453125, -0.01534271240234375, -0.03485107421875, -0.04132080078125, -0.00571441650390625, 0.042694091796875, 0.0006728172302246094, 0.049407958984375, -0.03839111328125, -0.0253143310546875, -0.03485107421875, 0.04058837890625, 0.01383209228515625, -0.0248565673828125, 0.03070068359375, -0.00960540771484375, 0.01641845703125, 0.0099639892578125, -0.00849151611328125, -0.0345458984375, 0.0312347412109375, -0.0240325927734375, 0.02166748046875, -0.028045654296875, 0.0096435546875, 0.007305145263671875, 0.04022216796875, -0.06195068359375, -0.019561767578125, -0.01027679443359375, -0.01471710205078125, 0.04913330078125, 0.01403045654296875, 0.057373046875, -0.01111602783203125, 0.06121826171875, -0.020294189453125, -0.050384521484375, 0.0311126708984375, -0.019012451171875, -0.0280303955078125, 0.0291595458984375, -0.072998046875, 0.032440185546875, 0.06768798828125, -0.05853271484375, 0.00687408447265625, -0.015380859375, 0.0210113525390625, 0.0031833648681640625, 0.017333984375, 0.040252685546875, 0.0017681121826171875, 0.018951416015625, 0.04925537109375, 0.031036376953125, -0.016693115234375, -0.00844573974609375, 0.0021533966064453125, 0.00775909423828125, 0.009124755859375, -0.03216552734375, -0.0193634033203125, -0.00580596923828125, -0.0274200439453125, -0.006015777587890625, -0.00997161865234375, 0.0117645263671875, -0.01221466064453125, -0.0101776123046875, 0.0133819580078125, 0.0029125213623046875, -0.025115966796875, -0.0345458984375, -0.0026302337646484375, -0.01139068603515625, -0.038818359375, 0.006195068359375, 0.003871917724609375, 0.047271728515625, -0.00960540771484375, -0.0184478759765625, 0.0082550048828125, 0.0168914794921875, 0.004344940185546875, -0.0146942138671875, 0.00331878662109375, -0.058624267578125, 0.032318115234375, -0.0009245872497558594, -0.036590576171875, 0.07275390625, 0.034332275390625, 0.0115509033203125, -0.0130767822265625, 0.0012540817260742188, -0.015960693359375, -0.024993896484375, 0.0006957054138183594, -0.0235748291015625, -0.0029773712158203125, 0.0088348388671875, -0.032501220703125, 0.0036602020263671875, -0.02886962890625, 0.020538330078125, 0.06549072265625, -0.0034847259521484375, -0.0205078125, -0.01042938232421875, -0.0070648193359375, 0.053466796875, 0.025970458984375, -0.02899169921875, 0.0161895751953125, -0.0246429443359375, 0.01546478271484375, 0.018951416015625, 0.006366729736328125, 0.051116943359375, 0.005573272705078125, -0.0270843505859375, 0.0012025833129882812, -0.024810791015625, -0.02227783203125, -0.040618896484375, 0.0265350341796875, 0.006954193115234375, 0.0009069442749023438, -0.0223846435546875, 0.04241943359375, -0.034576416015625, -0.0097198486328125, -0.036285400390625, 0.00370025634765625, -0.0104827880859375, -0.006298065185546875, -0.0484619140625, -0.06683349609375, 0.0187225341796875, -0.03546142578125, -0.0016431808471679688, 0.01690673828125, -0.022796630859375, 0.040008544921875, -0.037353515625, -0.0155181884765625, 0.0184326171875, 0.01314544677734375, 0.050445556640625, -0.005588531494140625, -0.028717041015625, 0.053680419921875, 0.007747650146484375, -0.0222930908203125, -0.01326751708984375, 0.04986572265625, -0.00867462158203125, -0.052947998046875, -0.037628173828125, 0.0264892578125, 0.037322998046875, 0.0282135009765625, 0.02545166015625, 0.06719970703125, -0.035003662109375, -0.0021457672119140625, 0.0400390625, -0.0260467529296875, -0.06256103515625, -0.0028133392333984375, -0.00396728515625, -0.0186920166015625, -0.00296783447265625, 0.029449462890625, 0.03125, -0.035919189453125, -0.0227813720703125, -0.1187744140625, -0.01189422607421875, -0.0240478515625, 0.04632568359375, -0.035430908203125, 0.0269927978515625, 0.023406982421875, -0.00302886962890625, -0.01175689697265625, -0.019073486328125, 0.01012420654296875, 0.01108551025390625, -0.030670166015625, 0.024383544921875, 0.00035691261291503906, 0.04791259765625, -0.01971435546875, -0.006740570068359375, -0.01385498046875, -0.016998291015625, 0.035797119140625, 0.01337432861328125, -0.006633758544921875, -0.004543304443359375, 0.0557861328125, -0.00093841552734375, 0.0252685546875, 0.0230255126953125, 0.017974853515625, 0.0008831024169921875, -0.00826263427734375, 0.01139068603515625, 0.0240478515625, -0.09912109375, 0.01038360595703125, 0.04730224609375, 0.01317596435546875, 0.0501708984375, -0.03436279296875, -0.00457763671875, 0.04998779296875, -0.036163330078125, -0.02471923828125, 0.02117919921875, 0.0041351318359375, 0.025421142578125, 0.0097198486328125, 0.0002701282501220703, 0.01393890380859375, 0.017486572265625, -0.0234222412109375, 0.03521728515625, -0.0100250244140625, -0.045684814453125, 0.01277923583984375, -0.00399017333984375, 0.0258636474609375, -0.047576904296875, -0.053375244140625, 0.0009131431579589844, -0.0237274169921875, -0.0236968994140625, -0.01334381103515625, -0.006099700927734375, -0.0013427734375, -0.022308349609375, 0.034942626953125, 0.002811431884765625, 0.0176239013671875, 0.0197601318359375, 0.0158538818359375, 0.01111602783203125, -0.012939453125, -0.03094482421875, 0.018218994140625, 0.0153045654296875, -0.032440185546875, -0.0181121826171875, -0.033233642578125, -0.01079559326171875, 0.01340484619140625, -0.020660400390625, 0.0128326416015625, -0.005664825439453125, -0.0304412841796875, 0.00384521484375, 0.033538818359375, 0.001148223876953125, -0.01474761962890625, -0.01006317138671875, -0.001621246337890625, -0.001132965087890625, 0.01287078857421875, 0.00859832763671875, -0.0038299560546875, 0.0024013519287109375, 0.020477294921875, 0.044647216796875, 0.03485107421875, -0.039093017578125, 0.01274871826171875, 0.040740966796875, 0.06671142578125, -0.04266357421875, -0.031829833984375, 0.057586669921875, -0.09197998046875, -0.02862548828125, 0.009613037109375, 0.0257110595703125, -0.019622802734375, -0.045867919921875, -0.034423828125, 0.007778167724609375, -0.08795166015625, -0.0557861328125, -0.06317138671875, -0.038726806640625, 0.049224853515625, -0.005847930908203125, 0.0103302001953125, -0.0196380615234375, 0.005069732666015625, 0.0406494140625, 0.0233917236328125, 0.0020618438720703125, 0.040496826171875, 0.017242431640625, -0.01123809814453125, -0.0210723876953125, 0.0024089813232421875, -0.0155487060546875, -0.004150390625, 0.05584716796875, -0.00754547119140625, -0.060333251953125, -0.017181396484375, -0.023834228515625, 0.00443267822265625, 0.03192138671875, 0.01236724853515625, 0.0020618438720703125, -0.0188446044921875, 0.01523590087890625, -0.00774383544921875, 0.01047515869140625, -0.037841796875, -0.0307769775390625, 0.035919189453125, -0.01751708984375, 0.052642822265625, -0.03240966796875, -0.057830810546875, 0.0014677047729492188, -0.00673675537109375, -0.0577392578125, 0.00696563720703125, -0.01995849609375, -0.0218353271484375, 0.0535888671875, 0.01511383056640625, -0.0031719207763671875, -0.01464080810546875, 0.033050537109375, -0.0108489990234375, 0.00579833984375, -0.006031036376953125, -0.01326751708984375, 0.0089263916015625, -0.0088653564453125, -0.0146942138671875, -0.0033817291259765625, 0.03717041015625, -0.0272674560546875, -0.049896240234375, -0.005222320556640625, -0.01287078857421875, 0.00124359130859375, -0.022613525390625, -0.004016876220703125, 0.002040863037109375, 0.0125274658203125, -0.01110076904296875, -0.004398345947265625, 0.0214385986328125, -0.0025959014892578125, 0.0147857666015625, 0.026885986328125, -0.0341796875, -0.0268707275390625, 0.032257080078125, 0.021331787109375, -0.0302886962890625, 0.0098876953125, -0.044586181640625, -0.0242919921875, -0.08685302734375, 0.0091552734375, 0.00940704345703125, -0.03033447265625, -0.0264739990234375, 0.06011962890625, -0.07891845703125, -0.02691650390625, 0.0309906005859375, -0.04931640625, 0.030792236328125, -0.02996826171875, -0.006557464599609375, -0.0262908935546875, -0.002613067626953125, -0.044891357421875, -0.00237274169921875, -0.009002685546875, 0.0016031265258789062, -0.003345489501953125, 0.007843017578125, 0.0260772705078125, -0.0190582275390625, 0.01141357421875, -0.0099639892578125, 0.032135009765625, -0.007198333740234375, 0.005031585693359375, -0.0219268798828125, -0.0113067626953125, 0.0117340087890625, -0.0206756591796875, -0.0191192626953125, -0.068603515625, -0.01438140869140625, -0.024688720703125, -0.00628662109375, 0.0679931640625, -0.0141448974609375, 0.0178680419921875, 0.0003147125244140625, -0.00998687744140625, -0.06231689453125, -0.03753662109375, -0.0211029052734375, -0.0251007080078125, -0.0068206787109375, -0.0016613006591796875, 0.04840087890625, -0.01384735107421875, -0.0043792724609375, 0.002544403076171875, 0.1158447265625, 0.010528564453125, -0.01041412353515625, -0.04132080078125, -0.0140228271484375, 0.0080413818359375, 0.039276123046875, 0.058197021484375, 0.034820556640625, 0.01078033447265625, -0.00035762786865234375, 0.02386474609375, 0.021087646484375, -0.0428466796875, 0.07733154296875, -0.00818634033203125, -0.00867462158203125, 0.0218353271484375, -0.020294189453125, 0.00022661685943603516, 0.02532958984375, 0.003814697265625, -0.00782012939453125, 0.029083251953125, 0.014373779296875, -0.0196075439453125, -0.02349853515625, -0.01227569580078125, -0.033294677734375, 0.02618408203125, -0.03466796875, 0.01031494140625, 0.036895751953125, -0.0300445556640625, 0.024261474609375, -0.0130157470703125, -0.01055145263671875, 0.0025081634521484375, 0.048370361328125, -0.0430908203125, 0.0138092041015625, 0.0038299560546875, -0.043975830078125, -0.027069091796875, -0.0145263671875, 0.095458984375, -0.0202789306640625, -0.024444580078125, -0.0577392578125, -0.01336669921875, 0.02740478515625, 0.04388427734375, 0.0205535888671875, 0.057586669921875, 0.02142333984375, -0.0338134765625, -0.0215301513671875, 0.006683349609375, -0.0126190185546875, -0.06500244140625, -0.0301513671875, -0.028594970703125, -0.00638580322265625, 0.032623291015625, 0.033233642578125, -0.04541015625, 0.033294677734375, 0.0009579658508300781, 0.04681396484375, 0.030364990234375, -0.00243377685546875, 0.0289306640625, 0.0073699951171875, -0.0046844482421875, -0.047698974609375, -0.03961181640625, 0.003849029541015625, 0.016265869140625, 0.000042438507080078125, 0.0102386474609375, -0.007049560546875, 0.0015430450439453125, 0.023834228515625, -0.0188140869140625, -0.0028362274169921875, 0.039825439453125, 0.0251007080078125, -0.043731689453125, -0.00925445556640625, 0.0194091796875, 0.031494140625, -0.0083160400390625, -0.01422882080078125, -0.004375457763671875, -0.019317626953125, -0.01441192626953125, 0.0195465087890625, -0.05413818359375, 0.016937255859375, 0.035064697265625, 0.0384521484375, -0.0253753662109375, -0.01497650146484375, -0.0140838623046875, 0.0160369873046875, -0.0262603759765625, -0.00293731689453125, 0.029998779296875, -0.0236053466796875, 0.0013151168823242188, -0.00983428955078125, 0.00604248046875, 0.009521484375, 0.00968170166015625, 0.056640625, 0.043182373046875, -0.06201171875, 0.01149749755859375, -0.0347900390625, -0.03204345703125, -0.075927734375, -0.040130615234375, -0.07720947265625, 0.0074310302734375, -0.00472259521484375, -0.004364013671875, 0.00432586669921875, 0.03619384765625, 0.00963592529296875, 0.047119140625, -0.01116943359375, 0.0233917236328125, 0.0216522216796875, -0.00540924072265625, 0.0177459716796875, 0.0029754638671875, 0.04638671875, 0.031494140625, -0.0028324127197265625, -0.045196533203125, 0.038421630859375, 0.007633209228515625, -0.01226806640625, -0.06439208984375, 0.0290985107421875, -0.034027099609375, 0.04925537109375, 0.0007081031799316406, -0.031524658203125, 0.0293121337890625, -0.0116729736328125, -0.0112457275390625, 0.036529541015625, 0.07373046875, 0.0300445556640625, -0.026336669921875, -0.0625, -0.0167236328125, 0.0236358642578125, 0.00885009765625, 0.00429534912109375, -0.02850341796875, -0.0129852294921875, 0.057098388671875, 0.00215911865234375, 0.0196990966796875, 0.01019287109375, -0.029541015625, 0.0012187957763671875, 0.034088134765625, 0.0239715576171875, -0.00667572021484375, -0.03619384765625, -0.0006203651428222656, 0.01490020751953125, 0.051849365234375, 0.003025054931640625, 0.002353668212890625, 0.06317138671875, -0.0229034423828125, 0.0276947021484375, 0.05987548828125, 0.058807373046875, -0.0914306640625, 0.01739501953125, 0.01265716552734375, -0.0290069580078125, 0.03228759765625, -0.0028228759765625, 0.00788116455078125, -0.00965118408203125, 0.01275634765625, 0.06439208984375, -0.003387451171875, 0.0246124267578125, 0.01442718505859375, -0.02191162109375, -0.0164947509765625, -0.0214385986328125, 0.014312744140625, -0.0078887939453125, 0.0281829833984375, 0.0279998779296875, 0.0139312744140625, -0.0154876708984375, 0.01454925537109375, -0.0011568069458007812, -0.00963592529296875, -0.064208984375, -0.0013113021850585938, -0.02752685546875, -0.0316162109375, 0.047576904296875, 0.008087158203125, 0.0472412109375, 0.048126220703125, 0.0034847259521484375, -0.01375579833984375, 0.0244140625, 0.01302337646484375, -0.06915283203125, -0.017059326171875, 0.0145416259765625, 0.01434326171875, -0.06597900390625, 0.0227203369140625, -0.0693359375, 0.00235748291015625, -0.00846099853515625, -0.0012378692626953125, 0.07171630859375, -0.047454833984375, -0.01012420654296875, 0.031494140625, 0.00086212158203125, -0.0008783340454101562, -0.058990478515625, 0.03179931640625, -0.06243896484375, -0.0031986236572265625, -0.025665283203125, 0.01427459716796875, 0.01226043701171875, -0.056671142578125, -0.043792724609375, 0.0650634765625, 0.016937255859375, -0.003162384033203125, -0.0095062255859375, 0.0250701904296875, -0.0233306884765625, 0.004425048828125, -0.00992584228515625, 0.01084136962890625, -0.0406494140625, -0.01320648193359375, 0.005794525146484375, 0.0272674560546875, -0.01149749755859375, -0.0097808837890625, 0.0809326171875, 0.004383087158203125, 0.034027099609375, 0.016998291015625, 0.0799560546875, -0.01499176025390625, -0.04730224609375, 0.0218048095703125, -0.0016155242919921875, 0.030181884765625, 0.0276641845703125, -0.00162506103515625, 0.034759521484375, -0.01209259033203125, -0.038238525390625, 0.03424072265625, 0.004032135009765625, 0.0008568763732910156, -0.024383544921875, 0.051116943359375, 0.02069091796875, -0.032562255859375, -0.028167724609375, 0.04443359375, 0.01361846923828125, -0.012847900390625, -0.0226287841796875, -0.0076446533203125, 0.01390838623046875, -0.0194244384765625, 0.02752685546875, -0.0105743408203125, 0.03228759765625, 0.0279693603515625, 0.023468017578125, -0.00539398193359375, -0.0301361083984375, 0.0180816650390625, 0.01287841796875, -0.052825927734375, 0.02130126953125, -0.0032215118408203125, 0.0170440673828125, -0.01715087890625, 0.0254974365234375, 0.0130767822265625, 0.0180511474609375, -0.028045654296875, -0.07183837890625, 0.0150299072265625, 0.0260467529296875, 0.0255126953125, 0.0252532958984375, 0.01129913330078125, -0.055999755859375, 0.0377197265625, -0.0193328857421875, 0.01763916015625, 0.024566650390625, -0.0084075927734375, 0.0036296844482421875, 0.035369873046875, -0.01470947265625, 0.0205841064453125, -0.0173492431640625, 0.0258941650390625, 0.021575927734375, -0.01258087158203125, -0.034149169921875, 0.0254058837890625, 0.035797119140625, 0.014007568359375, -0.01296234130859375, 0.060302734375, -0.0037689208984375, 0.0228271484375, -0.05694580078125, -0.08856201171875, 0.0310211181640625, 0.048309326171875, 0.0203704833984375, -0.005084991455078125, 0.059722900390625, 0.0760498046875, -0.01473236083984375, -0.0214691162109375, 0.044189453125, 0.006885528564453125, -0.03826904296875, -0.005275726318359375, 0.0171356201171875, 0.033599853515625, 0.011993408203125, -0.01116180419921875, 0.06890869140625, 0.00643157958984375, -0.033782958984375, 0.0189971923828125, 0.00844573974609375, -0.009979248046875, 0.051910400390625, -0.034271240234375, 0.0216522216796875, -0.0184478759765625, 0.0098114013671875, 0.0042877197265625, -0.0269012451171875, 0.03240966796875, -0.0032196044921875, 0.01088714599609375, 0.00801849365234375, 0.0499267578125, 0.018463134765625, -0.0038318634033203125, -0.0234222412109375, 0.034912109375, 0.004657745361328125, -0.0112152099609375, 0.0335693359375, 0.007049560546875, -0.01094818115234375, -0.0189361572265625, -0.0010900497436523438, 0.04461669921875, 0.0084991455078125, 0.0220947265625, -0.022064208984375, 0.0157623291015625, 0.00518035888671875, -0.0027008056640625, 0.007965087890625, -0.00762176513671875, 0.0225982666015625, 0.002841949462890625, -0.01515960693359375, -0.0155029296875, -0.0247344970703125, 0.029815673828125, 0.0148162841796875, -0.0191192626953125, 0.005016326904296875, 0.005199432373046875, 0.007419586181640625, -0.00034165382385253906, 0.0012636184692382812, -0.0187225341796875, -0.0418701171875, -0.007099151611328125, 0.0272674560546875, -0.0004878044128417969, 0.0142669677734375, -0.02691650390625, -0.0230255126953125, 0.011962890625, -0.0223541259765625, -0.0093536376953125, 0.0265655517578125, -0.054931640625, 0.0066375732421875, 0.049407958984375, -0.07232666015625, 0.02569580078125, -0.00951385498046875, -0.04193115234375, 0.0306396484375, 0.035675048828125, 0.00611114501953125, -0.04827880859375, -0.055084228515625, -0.019256591796875, 0.02099609375, -0.00019931793212890625, 0.00305938720703125, -0.04461669921875, 0.00913238525390625, -0.0142822265625, -0.041748046875, -0.028289794921875, -0.044952392578125, -0.01059722900390625, 0.01385498046875, -0.0400390625, -0.052001953125, -0.051422119140625, 0.0243072509765625, 0.020050048828125, 0.0211181640625, -0.06744384765625, 0.07012939453125, -0.04052734375, -0.042694091796875, 0.0013189315795898438, -0.04473876953125, -0.016143798828125, -0.007755279541015625, -0.0199127197265625, -0.042938232421875, -0.05059814453125, 0.05078125, -0.042510986328125, -0.0031223297119140625, -0.0196533203125, -0.0164947509765625, 0.01313018798828125, 0.0255889892578125, 0.041168212890625, 0.057342529296875, 0.061248779296875, -0.0214996337890625, 0.00931549072265625, -0.00568389892578125, -0.00931549072265625, -0.035064697265625, 0.00897979736328125, -0.026824951171875, -0.04498291015625, -0.0435791015625, 0.01605224609375, 0.0242919921875, -0.03448486328125, -0.0467529296875, 0.06329345703125, -0.00756072998046875, -0.01910400390625, -0.01502227783203125, -0.0250396728515625, 0.005405426025390625, -0.034942626953125, -0.019256591796875, -0.0035190582275390625, -0.060150146484375, 0.015869140625, -0.0127716064453125, 0.052215576171875, -0.0219573974609375, -0.0200347900390625, 0.0390625, 0.044952392578125, 0.06585693359375, -0.0003345012664794922, 0.01113128662109375, -0.0289764404296875, 0.0465087890625, 0.048553466796875, -0.02593994140625, 0.046295166015625, 0.0123748779296875, -0.01055145263671875, -0.04840087890625, -0.03033447265625, 0.016571044921875, 0.0200347900390625, 0.056610107421875, 0.05474853515625, -0.007068634033203125, -0.05963134765625, -0.0305328369140625, -0.045013427734375, 0.050506591796875, -0.03363037109375, -0.00807952880859375, -0.06878662109375, -0.0235748291015625, 0.026947021484375, -0.0195465087890625, 0.0042877197265625, -0.001739501953125, -0.029754638671875, -0.0036373138427734375, -0.00841522216796875, -0.01259613037109375, -0.0275421142578125, -0.047210693359375, 0.018951416015625, -0.0031490325927734375, 0.00677490234375, -0.005092620849609375, 0.025421142578125, 0.01248931884765625, 0.058929443359375, -0.01505279541015625, 0.02655029296875, -0.03729248046875, 0.027313232421875, -0.0169830322265625, 0.0214691162109375, -0.038360595703125, 0.021453857421875, 0.014862060546875, 0.0181427001953125, -0.002742767333984375, 0.01372528076171875, -0.0105133056640625, 0.05426025390625, 0.002346038818359375, -0.00731658935546875, 0.02777099609375, 0.0273895263671875, -0.0261688232421875, 0.06072998046875, 0.0018787384033203125, -0.04315185546875, 0.00457000732421875, 0.004459381103515625, -0.0049896240234375, 0.007328033447265625, 0.005115509033203125, -0.082763671875, 0.068115234375, 0.0770263671875, 0.0251312255859375, 0.044525146484375 ]
4f0f0353f32d32d77111a216654e33d88664ae67
Wordpress Stackexchange Q: The seventh parameter passed to add_submenu_page() I'm testing WordPress 5.3 (5.3-RC4-46673) with my theme. I have WP_DEBUG enabled. I notice the following error in the dashboard now: Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /app/wp-includes/functions.php on line 4903 There's a related ticket for this error here: Trac Ticket #48249 Troubleshooting The theme I'm using is a child theme. * *Disabled all plugins, issue persists. *Issue happens with child them active and parent theme active. *Issue goes away with twentynineteen. So it's definitely within the theme. Just not sure how to go about tracking this down. A: I was able to track this down to the culprit function add_theme_page(). There There was an additional parameter, per the codex for add_theme_page() that needed to be removed. Removing that seemed to help. function fivehundred_register_admin_menu() { add_theme_page( '500 Settings', '500 Settings', 'manage_options', 'theme-settings', 'fivehundred_admin_menu', plugins_url( '/ignitiondeck/images/ignitiondeck-menu.png' ) ); } add_action( 'admin_menu', 'fivehundred_register_admin_menu' ); Fixed code function fivehundred_register_admin_menu() { add_theme_page( '500 Settings', '500 Settings', 'manage_options', 'theme-settings', 'fivehundred_admin_menu' ); } add_action( 'admin_menu', 'fivehundred_register_admin_menu' );
Q: The seventh parameter passed to add_submenu_page() I'm testing WordPress 5.3 (5.3-RC4-46673) with my theme. I have WP_DEBUG enabled. I notice the following error in the dashboard now: Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /app/wp-includes/functions.php on line 4903 There's a related ticket for this error here: Trac Ticket #48249 Troubleshooting The theme I'm using is a child theme. * *Disabled all plugins, issue persists. *Issue happens with child them active and parent theme active. *Issue goes away with twentynineteen. So it's definitely within the theme. Just not sure how to go about tracking this down. A: I was able to track this down to the culprit function add_theme_page(). There There was an additional parameter, per the codex for add_theme_page() that needed to be removed. Removing that seemed to help. function fivehundred_register_admin_menu() { add_theme_page( '500 Settings', '500 Settings', 'manage_options', 'theme-settings', 'fivehundred_admin_menu', plugins_url( '/ignitiondeck/images/ignitiondeck-menu.png' ) ); } add_action( 'admin_menu', 'fivehundred_register_admin_menu' ); Fixed code function fivehundred_register_admin_menu() { add_theme_page( '500 Settings', '500 Settings', 'manage_options', 'theme-settings', 'fivehundred_admin_menu' ); } add_action( 'admin_menu', 'fivehundred_register_admin_menu' ); A: You could avoid the warning by adding the seventh parameter as null. function fivehundred_register_admin_menu() { add_theme_page( '500 Settings', '500 Settings', 'manage_options', 'theme-settings', 'fivehundred_admin_menu', plugins_url( '/ignitiondeck/images/ignitiondeck-menu.png' ), null ); } add_action( 'admin_menu', 'fivehundred_register_admin_menu' ); A: This same error is also being applied to argument issues in the add_pages_page() function. For anyone else not using add_theme_page() or add_submenu_page() functions look for your usage of add_pages_page() and correct the arguments. In my case I needed to remove the first argument which was null and give the page a title. A: This Notice can be triggered by several variations/wrappers of the function add_submenu_page. as of WP v5.8 * *add_plugins_page *add_users_page *add_dashboard_page *add_posts_page *add_media_page *add_links_page *add_pages_page *add_comments_page *add_management_page *add_options_page *add_theme_page To narrow the scope looking for the right function, we can modify the core file ./wp-admin/includes/plugin.php ( around line 1420 ) to be more verbose about it. _doing_it_wrong( __FUNCTION__, sprintf( /* translators: %s: add_submenu_page() */ __( 'The seventh parameter passed to %s should be an integer representing menu position. %s' ), '<code>add_submenu_page()</code>', print_r( $new_sub_menu, true ) ), '5.3.0' ); In my case the offending function was add_dashboard_page add_dashboard_page( 'Link Builder', 'Link Builder', 'manage_options', 'mytheme-woocommerce-helper', array( $this, 'mytheme_woocommerce_helper_create_admin_page' ), 'dashicons-admin-generic', 2 ); Notice before edit core file: PHP Notice: add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in wp-includes/functions.php on line 5535 Notice after edit core file: PHP Notice: add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Array ( [0] => Link Builder [1] => manage_options [2] => mytheme-woocommerce-helper [3] => Link Builder ) warning/disclaimer/notes Do this edit only in a development instance. WP core updates or upgrades will revert the changes. Plugins like wordfence will emit a warning and maybe revert the changes.
wordpress
{ "language": "en", "length": 509, "provenance": "stackexchange_00019.jsonl.gz:499065", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/352142" }
[ 0.07647705078125, -0.0008611679077148438, 0.011932373046875, -0.01593017578125, 0.026153564453125, -0.033416748046875, 0.0675048828125, -0.032257080078125, -0.0268096923828125, 0.0261077880859375, -0.01849365234375, 0.0267791748046875, 0.0175933837890625, -0.0251922607421875, 0.028594970703125, -0.0113372802734375, 0.0242767333984375, 0.0034618377685546875, -0.0022296905517578125, 0.005706787109375, -0.0285797119140625, 0.027099609375, -0.0299835205078125, 0.05230712890625, 0.03192138671875, -0.0288848876953125, -0.002323150634765625, -0.02972412109375, 0.00640106201171875, -0.0174560546875, 0.0121307373046875, 0.036224365234375, -0.01549530029296875, 0.031494140625, 0.037109375, -0.0008039474487304688, 0.02178955078125, 0.012298583984375, 0.0225372314453125, 0.0127716064453125, 0.019439697265625, -0.002513885498046875, -0.01303863525390625, 0.0225830078125, -0.0126190185546875, -0.06329345703125, 0.03741455078125, -0.038726806640625, -0.00839996337890625, -0.06280517578125, 0.0225372314453125, -0.016387939453125, 0.047119140625, -0.07373046875, -0.01428985595703125, 0.01047515869140625, -0.01340484619140625, 0.0236968994140625, 0.0176849365234375, 0.056915283203125, -0.017913818359375, 0.02447509765625, -0.00873565673828125, -0.06915283203125, 0.029327392578125, -0.0011501312255859375, 0.075927734375, 0.022735595703125, -0.04473876953125, 0.03875732421875, 0.03936767578125, -0.020233154296875, 0.0269775390625, 0.0290679931640625, -0.017303466796875, -0.088623046875, 0.0276031494140625, -0.0171661376953125, 0.035614013671875, -0.005725860595703125, -0.001300811767578125, -0.0321044921875, -0.027130126953125, 0.051483154296875, -0.034393310546875, 0.059539794921875, -0.0095977783203125, -0.020904541015625, -0.04241943359375, -0.016265869140625, -0.034515380859375, -0.04876708984375, 0.019989013671875, -0.0175628662109375, -0.0309600830078125, -0.02227783203125, 0.020263671875, 0.0226287841796875, 0.0003256797790527344, -0.0158843994140625, 0.033538818359375, -0.05596923828125, 0.04254150390625, -0.02459716796875, 0.00849151611328125, 0.050872802734375, -0.0010900497436523438, 0.025482177734375, 0.03369140625, 0.02197265625, 0.01026153564453125, -0.0017566680908203125, 0.03570556640625, -0.04681396484375, 0.00447845458984375, 0.000957489013671875, 0.00945281982421875, 0.0184173583984375, 0.03717041015625, -0.025390625, -0.014495849609375, 0.0303802490234375, -0.05706787109375, -0.004184722900390625, -0.0014581680297851562, -0.02215576171875, 0.00750732421875, 0.00769805908203125, -0.0006403923034667969, -0.0099334716796875, -0.03668212890625, 0.0228424072265625, 0.06109619140625, 0.0164794921875, -0.00307464599609375, -0.0030994415283203125, 0.0251007080078125, 0.0094146728515625, 0.005741119384765625, 0.01076507568359375, -0.01052093505859375, -0.02252197265625, 0.0138397216796875, 0.002185821533203125, -0.002346038818359375, 0.0031490325927734375, 0.0205841064453125, 0.0297088623046875, 0.012359619140625, -0.03302001953125, 0.005580902099609375, 0.019134521484375, 0.0236358642578125, 0.0216217041015625, -0.04248046875, 0.03265380859375, -0.00969696044921875, 0.01270294189453125, -0.0290985107421875, -0.002574920654296875, -0.01273345947265625, -0.0256500244140625, 0.030731201171875, -0.04296875, -0.050750732421875, 0.03765869140625, -0.051605224609375, -0.019744873046875, 0.0249176025390625, 0.050445556640625, 0.0124359130859375, -0.04931640625, -0.0278167724609375, 0.01629638671875, -0.009033203125, 0.02008056640625, 0.044891357421875, -0.00754547119140625, -0.014862060546875, 0.01140594482421875, -0.02813720703125, -0.0506591796875, 0.019195556640625, -0.032745361328125, -0.07147216796875, 0.059600830078125, -0.0036067962646484375, 0.09039306640625, 0.03375244140625, 0.01079559326171875, 0.01390838623046875, -0.0018901824951171875, 0.0009131431579589844, -0.0012578964233398438, 0.00807952880859375, -0.00902557373046875, -0.058258056640625, 0.00180816650390625, -0.0235137939453125, -0.003753662109375, -0.01528167724609375, 0.01142120361328125, 0.0003695487976074219, -0.00624847412109375, -0.0303192138671875, 0.01024627685546875, -0.00909423828125, 0.037445068359375, 0.0215301513671875, 0.00249481201171875, -0.017852783203125, -0.03436279296875, 0.007015228271484375, -0.0267791748046875, -0.0220184326171875, 0.00923919677734375, -0.04925537109375, 0.0278167724609375, -0.0112152099609375, 0.0391845703125, 0.0014896392822265625, -0.04656982421875, -0.0013904571533203125, -0.00629425048828125, 0.046478271484375, -0.0108184814453125, -0.02655029296875, -0.02099609375, 0.04095458984375, 0.006137847900390625, -0.002613067626953125, 0.06005859375, 0.0206298828125, -0.016082763671875, -0.04241943359375, 0.01410675048828125, 0.00023925304412841797, -0.049163818359375, -0.022735595703125, 0.044036865234375, 0.03594970703125, 0.04864501953125, -0.0077972412109375, -0.01488494873046875, 0.0272369384765625, -0.0863037109375, -0.0073699951171875, -0.004520416259765625, -0.0003933906555175781, 0.01025390625, 0.051727294921875, -0.0214385986328125, 0.013275146484375, 0.0174560546875, 0.01171112060546875, -0.0001989603042602539, -0.057769775390625, -0.07403564453125, 0.02374267578125, -0.0195159912109375, 0.0311279296875, -0.032806396484375, -0.029815673828125, 0.00977325439453125, -0.01312255859375, 0.01189422607421875, 0.00390625, -0.01299285888671875, -0.030181884765625, 0.006389617919921875, 0.04193115234375, 0.0166015625, -0.00879669189453125, -0.01312255859375, 0.005321502685546875, -0.02655029296875, -0.055419921875, 0.04193115234375, -0.0164337158203125, -0.0240478515625, -0.006649017333984375, 0.035247802734375, -0.0210723876953125, -0.01355743408203125, -0.0233612060546875, -0.048431396484375, -0.004608154296875, 0.01287841796875, 0.031585693359375, -0.00881195068359375, 0.0281524658203125, -0.002323150634765625, -0.0294036865234375, 0.042999267578125, -0.006519317626953125, -0.03546142578125, 0.0292205810546875, 0.0020732879638671875, 0.0245819091796875, -0.0283050537109375, 0.0140228271484375, 0.0308685302734375, -0.03948974609375, 0.00397491455078125, 0.01071929931640625, -0.016021728515625, -0.02166748046875, 0.041473388671875, 0.024566650390625, -0.013763427734375, -0.0076751708984375, 0.05108642578125, 0.022705078125, 0.01352691650390625, -0.01079559326171875, -0.04736328125, -0.04034423828125, 0.0128173828125, -0.072998046875, -0.031463623046875, 0.004543304443359375, -0.0208740234375, 0.0264129638671875, 0.0272064208984375, -0.0134429931640625, -0.0309906005859375, 0.0634765625, 0.00872802734375, 0.0035305023193359375, -0.0008130073547363281, -0.0240631103515625, -0.010406494140625, -0.0592041015625, -0.0081787109375, -0.005767822265625, 0.0143280029296875, 0.008941650390625, 0.0467529296875, -0.00823974609375, -0.05859375, -0.01165008544921875, -0.026092529296875, -0.0095672607421875, 0.0143585205078125, 0.01702880859375, -0.04888916015625, 0.03125, 0.00492095947265625, 0.0360107421875, 0.0095062255859375, -0.01227569580078125, -0.0158233642578125, -0.054351806640625, -0.01033782958984375, -0.01377105712890625, -0.0206451416015625, 0.05963134765625, -0.00341033935546875, -0.005947113037109375, -0.044464111328125, -0.00811004638671875, -0.023895263671875, -0.041595458984375, 0.06695556640625, 0.023223876953125, -0.005115509033203125, 0.0269927978515625, 0.0032215118408203125, -0.0193939208984375, -0.0160369873046875, 0.010955810546875, -0.0369873046875, 0.051483154296875, -0.021240234375, -0.0304718017578125, -0.00327301025390625, 0.0275726318359375, -0.01045989990234375, -0.005428314208984375, 0.01253509521484375, 0.028778076171875, 0.00946044921875, -0.00969696044921875, -0.019317626953125, -0.035919189453125, 0.0260467529296875, -0.04437255859375, -0.0033817291259765625, -0.032135009765625, -0.0036220550537109375, -0.038299560546875, 0.03277587890625, -0.052154541015625, -0.0109100341796875, 0.00030803680419921875, 0.017333984375, -0.006343841552734375, -0.01983642578125, -0.01421356201171875, -0.0203399658203125, -0.04791259765625, -0.0030345916748046875, -0.02264404296875, -0.0208587646484375, 0.0287628173828125, -0.0174713134765625, 0.0110626220703125, -0.0439453125, 0.052703857421875, 0.00919342041015625, -0.0023632049560546875, 0.041900634765625, -0.0190582275390625, 0.01175689697265625, -0.04754638671875, 0.024322509765625, -0.10260009765625, -0.04168701171875, -0.007785797119140625, 0.09771728515625, 0.034393310546875, -0.054595947265625, -0.0040435791015625, 0.070068359375, 0.024932861328125, -0.0059661865234375, 0.0421142578125, -0.006366729736328125, 0.0254058837890625, -0.01526641845703125, 0.01265716552734375, -0.027374267578125, 0.01256561279296875, 0.0109710693359375, -0.022430419921875, -0.001453399658203125, -0.0305328369140625, -0.0286865234375, 0.01751708984375, -0.0469970703125, -0.09442138671875, -0.017852783203125, -0.007472991943359375, -0.038116455078125, -0.0035953521728515625, -0.02667236328125, 0.02081298828125, -0.049041748046875, 0.02374267578125, -0.035858154296875, 0.0247802734375, -0.0103759765625, 0.05926513671875, 0.01806640625, -0.0226287841796875, 0.08123779296875, -0.007198333740234375, 0.0123291015625, 0.005924224853515625, 0.01229095458984375, -0.01384735107421875, -0.00724029541015625, 0.008026123046875, -0.01453399658203125, 0.0032215118408203125, -0.0195770263671875, 0.02984619140625, -0.0045013427734375, -0.0106964111328125, 0.0005726814270019531, -0.029876708984375, 0.03436279296875, -0.042510986328125, -0.0304412841796875, 0.0047760009765625, -0.04730224609375, 0.0310211181640625, 0.021392822265625, 0.03533935546875, -0.048797607421875, -0.021820068359375, 0.006244659423828125, 0.0170440673828125, 0.0058441162109375, 0.0228424072265625, 0.00975799560546875, -0.0175323486328125, -0.01396942138671875, 0.0147857666015625, 0.041595458984375, 0.10302734375, -0.0041351318359375, 0.061248779296875, 0.032684326171875, 0.0013256072998046875, -0.0280914306640625, -0.0011615753173828125, 0.044647216796875, 0.01517486572265625, -0.0206756591796875, -0.01082611083984375, -0.0014295578002929688, 0.026580810546875, -0.015838623046875, 0.01239013671875, 0.038665771484375, -0.00882720947265625, -0.00311279296875, -0.0017442703247070312, 0.013824462890625, -0.020416259765625, -0.0191802978515625, -0.0177154541015625, 0.0242462158203125, -0.039459228515625, 0.0086669921875, 0.0108489990234375, 0.02783203125, -0.01415252685546875, -0.01433563232421875, -0.0142822265625, 0.014923095703125, 0.00919342041015625, 0.05426025390625, -0.036712646484375, 0.011627197265625, -0.01313018798828125, 0.02984619140625, -0.031585693359375, 0.006389617919921875, 0.0011959075927734375, 0.0218353271484375, 0.058135986328125, 0.0121307373046875, -0.017242431640625, 0.0006127357482910156, -0.0210723876953125, 0.03448486328125, -0.04736328125, -0.0872802734375, -0.032958984375, 0.0189666748046875, 0.046966552734375, -0.036102294921875, 0.0156707763671875, -0.0086517333984375, 0.0306396484375, -0.01175689697265625, -0.01413726806640625, -0.05145263671875, 0.0026531219482421875, 0.0255584716796875, -0.0281982421875, -0.00402069091796875, -0.014434814453125, -0.0770263671875, -0.0521240234375, -0.0010652542114257812, 0.00614166259765625, 0.03668212890625, -0.04705810546875, 0.006744384765625, -0.00307464599609375, 0.004428863525390625, -0.035980224609375, 0.0281524658203125, 0.023345947265625, 0.020843505859375, -0.02008056640625, -0.00860595703125, -0.03192138671875, -0.03387451171875, -0.0110626220703125, -0.00992584228515625, -0.033905029296875, -0.004978179931640625, -0.01120758056640625, -0.0034942626953125, -0.0166168212890625, -0.02850341796875, -0.0240325927734375, 0.0178680419921875, 0.033355712890625, -0.01035308837890625, -0.021240234375, 0.0257568359375, 0.021514892578125, -0.0089263916015625, 0.00225067138671875, -0.0236358642578125, -0.0166778564453125, 0.0142669677734375, 0.00025010108947753906, 0.034088134765625, 0.01456451416015625, -0.01103973388671875, 0.0208282470703125, -0.028289794921875, 0.07855224609375, 0.0043487548828125, 0.03875732421875, -0.0028209686279296875, 0.00580596923828125, -0.0068359375, 0.0054473876953125, -0.02935791015625, 0.0174102783203125, 0.0633544921875, -0.032928466796875, 0.033935546875, 0.0158538818359375, 0.0037326812744140625, 0.0179443359375, -0.03619384765625, 0.036285400390625, 0.01322174072265625, -0.060791015625, 0.08038330078125, 0.1002197265625, -0.0164337158203125, 0.01203155517578125, 0.008819580078125, -0.0223236083984375, -0.0235137939453125, 0.03240966796875, -0.0191650390625, -0.00241851806640625, 0.0217132568359375, 0.0019664764404296875, -0.004180908203125, -0.0006351470947265625, -0.01508331298828125, 0.007598876953125, 0.0616455078125, 0.053985595703125, -0.09295654296875, 0.01013946533203125, -0.00322723388671875, 0.024993896484375, 0.036956787109375, -0.001750946044921875, 0.0306396484375, 0.0413818359375, 0.0035800933837890625, -0.0117034912109375, -0.0183563232421875, -0.003910064697265625, -0.017974853515625, -0.0299530029296875, -0.004047393798828125, 0.046905517578125, 0.0185546875, 0.04046630859375, 0.0084686279296875, -0.04815673828125, 0.02587890625, 0.0179595947265625, 0.0035724639892578125, -0.0184326171875, -0.028961181640625, -0.039398193359375, -0.0355224609375, -0.0268096923828125, -0.030548095703125, 0.003376007080078125, 0.03009033203125, 0.0209503173828125, 0.051849365234375, -0.00617218017578125, -0.0204010009765625, 0.0268402099609375, 0.005207061767578125, 0.0160064697265625, 0.00959014892578125, 0.039306640625, 0.0173797607421875, -0.0611572265625, 0.01363372802734375, -0.039703369140625, 0.01023101806640625, 0.01268768310546875, 0.03179931640625, 0.06097412109375, -0.0270843505859375, -0.035064697265625, 0.029541015625, -0.009368896484375, -0.0088348388671875, -0.003925323486328125, 0.04632568359375, -0.05059814453125, -0.053497314453125, 0.0234527587890625, -0.052337646484375, -0.039398193359375, -0.0122833251953125, -0.0218963623046875, 0.10760498046875, -0.08795166015625, 0.00986480712890625, 0.02557373046875, 0.06768798828125, 0.0157318115234375, 0.056182861328125, -0.03863525390625, 0.0308990478515625, 0.0252227783203125, 0.0036296844482421875, -0.0014705657958984375, 0.0168304443359375, -0.002506256103515625, -0.00472259521484375, 0.033477783203125, 0.017791748046875, -0.0667724609375, -0.01244354248046875, 0.03839111328125, 0.01100921630859375, 0.004199981689453125, 0.07501220703125, -0.031280517578125, -0.06109619140625, 0.0164031982421875, -0.0123748779296875, 0.03717041015625, -0.036712646484375, -0.019287109375, -0.034820556640625, -0.02557373046875, -0.04278564453125, 0.006305694580078125, -0.002254486083984375, -0.015869140625, -0.0125274658203125, -0.006832122802734375, -0.06427001953125, -0.0100555419921875, -0.0013942718505859375, -0.034423828125, 0.02423095703125, 0.03173828125, -0.0146942138671875, 0.01428985595703125, -0.01532745361328125, -0.00008052587509155273, 0.0178375244140625, 0.03216552734375, -0.01107025146484375, -0.050018310546875, -0.0129852294921875, 0.00888824462890625, -0.04522705078125, 0.0305633544921875, 0.0096282958984375, 0.04571533203125, -0.0181427001953125, 0.016815185546875, -0.020965576171875, 0.015228271484375, -0.0299835205078125, -0.0268707275390625, 0.0287017822265625, 0.01364898681640625, -0.0203857421875, 0.0171051025390625, 0.017364501953125, 0.009246826171875, 0.051361083984375, -0.0182952880859375, -0.010345458984375, 0.00787353515625, 0.0230255126953125, -0.005077362060546875, 0.005786895751953125, 0.0072021484375, -0.00620269775390625, -0.00556182861328125, -0.003917694091796875, 0.01375579833984375, 0.046600341796875, -0.0210418701171875, 0.04754638671875, -0.0750732421875, -0.01412200927734375, -0.01496124267578125, -0.0011110305786132812, -0.02435302734375, 0.026397705078125, -0.08062744140625, -0.053436279296875, 0.0262908935546875, 0.058135986328125, -0.03643798828125, 0.01654052734375, 0.0458984375, 0.05084228515625, -0.0391845703125, -0.023162841796875, 0.03118896484375, -0.0350341796875, -0.043182373046875, -0.01313018798828125, -0.007061004638671875, 0.038970947265625, 0.015625, -0.0024356842041015625, 0.0242919921875, 0.041290283203125, -0.0113067626953125, -0.004425048828125, 0.00992584228515625, -0.01617431640625, 0.0135345458984375, 0.007633209228515625, 0.00579833984375, 0.035186767578125, -0.0938720703125, 0.00592041015625, -0.030548095703125, -0.07537841796875, 0.04559326171875, 0.037933349609375, -0.060150146484375, 0.0482177734375, -0.00959014892578125, 0.01206207275390625, 0.01241302490234375, -0.0244903564453125, -0.0185699462890625, 0.00577545166015625, 0.0272979736328125, -0.0045623779296875, -0.0006899833679199219, -0.01168060302734375, 0.01313018798828125, 0.0283355712890625, 0.027679443359375, 0.060943603515625, -0.01343536376953125, 0.0254058837890625, -0.033355712890625, -0.0302276611328125, -0.021209716796875, -0.0286102294921875, 0.001529693603515625, -0.0140228271484375, -0.0258331298828125, 0.00514984130859375, -0.060089111328125, 0.01483154296875, 0.046112060546875, -0.016632080078125, 0.016265869140625, 0.00656890869140625, 0.0160369873046875, -0.031951904296875, 0.024749755859375, -0.007457733154296875, -0.0292816162109375, -0.035491943359375, 0.0010061264038085938, 0.0321044921875, 0.04931640625, -0.01212310791015625, -0.0021953582763671875, 0.00580596923828125, -0.01261138916015625, 0.0218963623046875, 0.0010585784912109375, 0.0258636474609375, 0.031280517578125, -0.037506103515625, 0.01148223876953125, 0.00928497314453125, -0.00939178466796875, 0.0255279541015625, 0.00507354736328125, 0.00904083251953125, 0.0244140625, -0.0208587646484375, 0.03289794921875, 0.050262451171875, 0.043670654296875, -0.040069580078125, 0.00998687744140625, 0.05950927734375, -0.0178680419921875, 0.01317596435546875, -0.030242919921875, -0.0037670135498046875, -0.01959228515625, -0.030792236328125, 0.0170745849609375, -0.0193023681640625, -0.025543212890625, -0.0171966552734375, 0.0024700164794921875, 0.055755615234375, 0.0097808837890625, -0.07806396484375, 0.0084381103515625, -0.01013946533203125, 0.0843505859375, -0.01277923583984375, -0.0148773193359375, -0.0095977783203125, 0.005336761474609375, -0.0008301734924316406, -0.01812744140625, -0.052520751953125, 0.0194549560546875, -0.03509521484375, -0.003570556640625, 0.022613525390625, -0.00841522216796875, -0.0058441162109375, 0.005451202392578125, -0.02294921875, 0.051605224609375, -0.030364990234375, -0.0007638931274414062, 0.04150390625, 0.007171630859375, -0.0235595703125, -0.07855224609375, -0.0030879974365234375, -0.037994384765625, 0.01483154296875, -0.0033664703369140625, -0.01241302490234375, 0.007415771484375, -0.0413818359375, -0.06573486328125, 0.006191253662109375, 0.0079345703125, -0.037506103515625, -0.007373809814453125, 0.003932952880859375, -0.0146026611328125, 0.0263671875, -0.0016756057739257812, 0.0004737377166748047, -0.00806427001953125, 0.00274658203125, 0.0157928466796875, 0.0408935546875, 0.020263671875, -0.00390625, -0.0357666015625, -0.0037860870361328125, -0.0159912109375, 0.0241241455078125, 0.035400390625, -0.037384033203125, 0.037841796875, 0.038482666015625, -0.0452880859375, -0.057464599609375, -0.0156402587890625, -0.01727294921875, -0.00495147705078125, -0.00685882568359375, 0.00016570091247558594, -0.00914764404296875, 0.0195770263671875, 0.017913818359375, 0.00244140625, -0.005603790283203125, -0.0296478271484375, -0.06396484375, 0.0186920166015625, -0.005771636962890625, 0.007568359375, -0.0609130859375, 0.00830841064453125, 0.03521728515625, -0.0114898681640625, -0.04986572265625, 0.014556884765625, -0.018463134765625, -0.01256561279296875, 0.01081085205078125, -0.0186767578125, -0.00557708740234375, -0.0170745849609375, 0.04376220703125, -0.03302001953125, -0.0491943359375, 0.02398681640625, 0.0018491744995117188, -0.02569580078125, 0.03125, -0.01435089111328125, 0.009490966796875, -0.071044921875, 0.02386474609375, -0.025726318359375, 0.09649658203125, -0.0650634765625, -0.01451873779296875, 0.024444580078125, -0.01534271240234375, -0.029083251953125, -0.0399169921875, 0.01203155517578125, 0.060333251953125, -0.033233642578125, 0.0936279296875, -0.0009889602661132812, 0.061676025390625, -0.0142059326171875, 0.045623779296875, 0.0195159912109375, -0.0231475830078125, 0.06390380859375, -0.02630615234375, -0.00577545166015625, 0.0183868408203125, -0.03240966796875, -0.062347412109375, 0.0455322265625, -0.0146636962890625, 0.0245819091796875, 0.028076171875 ]
e7014692df5b03d3e70738269f2bb727ce956a92
Wordpress Stackexchange Q: How to store ACF custom fields data in a custom table I am using the ACF Custom Fields plugin to store some info, but to my understanding, it is stored in the wp_postmeta table. Is it possible to store it in a custom table instead? So for example, the data would be: fullName, age, gender. and I would like to create a table called personalInformation and have these 3 columns. A: It is possible to save ACF data in custom tables by using a separate paid plugin called ACF Custom Database Tables. However, if your goal is just to keep the database as light as possible, meevly.com's solution of creating your own custom metaboxes would be the lightest-weight option, versus adding two plugins just to track a few bits of data.
Q: How to store ACF custom fields data in a custom table I am using the ACF Custom Fields plugin to store some info, but to my understanding, it is stored in the wp_postmeta table. Is it possible to store it in a custom table instead? So for example, the data would be: fullName, age, gender. and I would like to create a table called personalInformation and have these 3 columns. A: It is possible to save ACF data in custom tables by using a separate paid plugin called ACF Custom Database Tables. However, if your goal is just to keep the database as light as possible, meevly.com's solution of creating your own custom metaboxes would be the lightest-weight option, versus adding two plugins just to track a few bits of data. A: There is a free plugin now https://wordpress.org/plugins/acf-fields-in-custom-table/. It was heavily inspired by Austin Ginder's post https://anchor.host/acf-custom-fields-stored-in-custom-table/ A: Unfortunately, you can't do that. In order to store your data in a separate database table, you should manually add custom meta boxes and save the data wherever you want. You can read more about it here: https://developer.wordpress.org/plugins/metadata/custom-meta-boxes/
wordpress
{ "language": "en", "length": 188, "provenance": "stackexchange_00019.jsonl.gz:499110", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/352290" }
[ 0.029296875, -0.022186279296875, -0.01531982421875, -0.0643310546875, -0.0017232894897460938, -0.007427215576171875, 0.0009889602661132812, 0.03363037109375, 0.0094146728515625, 0.031982421875, 0.0186614990234375, 0.0256500244140625, -0.0110015869140625, -0.0301513671875, -0.012969970703125, 0.004917144775390625, 0.04632568359375, -0.01495361328125, 0.037933349609375, -0.002864837646484375, -0.005817413330078125, 0.02703857421875, 0.029266357421875, -0.01244354248046875, 0.0188446044921875, -0.016571044921875, 0.0248260498046875, -0.00664520263671875, 0.03387451171875, 0.01476287841796875, 0.0288848876953125, -0.0439453125, 0.016387939453125, 0.01247406005859375, 0.006744384765625, -0.02423095703125, 0.0033473968505859375, 0.0018224716186523438, -0.0031452178955078125, 0.0215606689453125, 0.033111572265625, -0.01499176025390625, -0.02484130859375, 0.04876708984375, -0.01114654541015625, -0.041351318359375, 0.0224456787109375, -0.052398681640625, 0.0240325927734375, -0.032073974609375, -0.004779815673828125, 0.0272979736328125, 0.00737762451171875, -0.00923919677734375, -0.026519775390625, -0.032470703125, 0.00885009765625, -0.022430419921875, 0.023712158203125, -0.0015001296997070312, -0.0197601318359375, -0.0201416015625, 0.0155487060546875, -0.0125732421875, 0.0033054351806640625, -0.0087738037109375, 0.0264739990234375, 0.018310546875, -0.037445068359375, -0.0106658935546875, 0.033355712890625, -0.005615234375, 0.00847625732421875, -0.022735595703125, -0.0265655517578125, -0.0152587890625, 0.049285888671875, -0.0023593902587890625, -0.02593994140625, 0.0091400146484375, -0.060577392578125, 0.016326904296875, -0.04754638671875, -0.0278472900390625, -0.0364990234375, -0.025421142578125, -0.0411376953125, 0.01514434814453125, 0.01806640625, 0.004306793212890625, -0.0123748779296875, -0.023162841796875, -0.0033473968505859375, 0.0672607421875, -0.0117340087890625, 0.00286865234375, -0.012664794921875, 0.01352691650390625, -0.0210723876953125, 0.014434814453125, -0.004276275634765625, -0.017822265625, 0.0171356201171875, -0.027862548828125, 0.03125, 0.0650634765625, -0.028778076171875, -0.058563232421875, 0.027496337890625, 0.00041866302490234375, 0.01325225830078125, -0.01233673095703125, 0.0015268325805664062, -0.01520538330078125, -0.0098724365234375, 0.034210205078125, 0.0018014907836914062, 0.0023250579833984375, -0.005428314208984375, 0.0062713623046875, -0.023590087890625, -0.019866943359375, -0.015899658203125, -0.0254058837890625, 0.017303466796875, -0.0345458984375, -0.0220184326171875, 0.052581787109375, -0.10302734375, 0.07562255859375, -0.02801513671875, -0.01178741455078125, 0.08587646484375, 0.0693359375, 0.01029205322265625, -0.0304718017578125, 0.046295166015625, -0.035919189453125, -0.0208892822265625, 0.032928466796875, -0.01727294921875, -0.044464111328125, -0.01241302490234375, -0.0255584716796875, -0.0565185546875, 0.0117645263671875, 0.028045654296875, 0.032379150390625, -0.054443359375, -0.06890869140625, -0.0023403167724609375, 0.0095672607421875, 0.01302337646484375, 0.0130157470703125, 0.01180267333984375, -0.00347900390625, 0.0208587646484375, -0.005382537841796875, -0.007083892822265625, -0.006839752197265625, 0.005374908447265625, -0.026092529296875, -0.02423095703125, -0.02325439453125, -0.0273284912109375, 0.01334381103515625, -0.010406494140625, 0.00270843505859375, 0.0291748046875, -0.0552978515625, 0.029205322265625, -0.012237548828125, 0.0125274658203125, 0.0204315185546875, 0.03009033203125, 0.03106689453125, -0.0462646484375, -0.01387786865234375, 0.0638427734375, 0.01502227783203125, -0.007801055908203125, -0.018768310546875, 0.0280914306640625, 0.01343536376953125, -0.01253509521484375, 0.01030731201171875, 0.01251220703125, 0.0311126708984375, 0.015655517578125, 0.0245208740234375, -0.0037403106689453125, -0.0200042724609375, -0.047149658203125, -0.00591278076171875, -0.0033397674560546875, -0.00567626953125, -0.0025806427001953125, -0.025115966796875, 0.0034542083740234375, 0.022857666015625, -0.01464080810546875, -0.004222869873046875, 0.00373077392578125, 0.01226806640625, -0.031463623046875, -0.0173187255859375, -0.00791168212890625, 0.020599365234375, -0.02508544921875, -0.0009331703186035156, 0.01300048828125, -0.034088134765625, -0.0050811767578125, 0.00829315185546875, -0.01190948486328125, -0.0088348388671875, 0.01519775390625, 0.025848388671875, -0.00710296630859375, 0.017578125, -0.0150909423828125, -0.015899658203125, -0.01947021484375, 0.0413818359375, 0.01009368896484375, -0.02569580078125, -0.0016660690307617188, -0.01261138916015625, 0.0232086181640625, -0.00995635986328125, 0.01529693603515625, 0.0298004150390625, -0.010894775390625, 0.0003826618194580078, -0.0247802734375, -0.0071258544921875, -0.038787841796875, -0.07373046875, 0.0198822021484375, 0.05511474609375, 0.03466796875, -0.041473388671875, -0.032012939453125, 0.02569580078125, 0.034637451171875, -0.00885772705078125, -0.0017786026000976562, 0.02838134765625, -0.0034008026123046875, 0.044097900390625, -0.025146484375, 0.00818634033203125, 0.01482391357421875, -0.0355224609375, -0.027435302734375, 0.050872802734375, -0.038970947265625, -0.0287628173828125, 0.01541900634765625, 0.01641845703125, -0.00759124755859375, 0.01076507568359375, 0.0218048095703125, -0.0021572113037109375, 0.035003662109375, 0.0187225341796875, 0.05340576171875, 0.04083251953125, -0.016815185546875, 0.006137847900390625, 0.0039825439453125, 0.0296173095703125, 0.0036029815673828125, -0.0104827880859375, -0.0124359130859375, 0.050537109375, -0.046661376953125, 0.0034084320068359375, 0.062042236328125, 0.00750732421875, 0.000029146671295166016, 0.0111236572265625, -0.1002197265625, -0.01268768310546875, 0.008941650390625, -0.03125, -0.03436279296875, 0.0404052734375, -0.01427459716796875, -0.0019245147705078125, 0.0213623046875, 0.0193328857421875, -0.01453399658203125, 0.01514434814453125, 0.00943756103515625, -0.01312255859375, -0.0098876953125, -0.050506591796875, 0.032867431640625, -0.040191650390625, 0.01708984375, 0.08087158203125, 0.0175933837890625, -0.01029205322265625, -0.018707275390625, -0.0316162109375, -0.029815673828125, 0.0225982666015625, -0.0004949569702148438, -0.088623046875, 0.0182342529296875, 0.0293121337890625, 0.031951904296875, 0.09515380859375, -0.01267242431640625, -0.0478515625, 0.0207061767578125, 0.078857421875, -0.040740966796875, -0.0787353515625, 0.016815185546875, -0.047027587890625, 0.00849151611328125, -0.0243072509765625, -0.0161590576171875, -0.0134735107421875, 0.010498046875, 0.0111541748046875, -0.00974273681640625, -0.0233612060546875, 0.0033588409423828125, -0.040679931640625, -0.042755126953125, -0.0280303955078125, 0.0177459716796875, -0.0016450881958007812, -0.0251617431640625, 0.08184814453125, -0.02691650390625, -0.055084228515625, -0.050811767578125, -0.06756591796875, 0.026519775390625, -0.0003018379211425781, 0.03216552734375, -0.055633544921875, 0.045318603515625, -0.0006661415100097656, 0.0036773681640625, 0.0457763671875, -0.027008056640625, -0.01763916015625, 0.00368499755859375, 0.0209503173828125, 0.006221771240234375, 0.0223388671875, 0.005207061767578125, 0.031463623046875, 0.0179595947265625, -0.032806396484375, -0.01320648193359375, 0.0186309814453125, -0.02203369140625, -0.02313232421875, -0.019317626953125, 0.0043792724609375, -0.0247039794921875, 0.0399169921875, 0.0261688232421875, 0.0284423828125, 0.00266265869140625, 0.01154327392578125, -0.05438232421875, -0.01020050048828125, 0.003772735595703125, 0.0020122528076171875, 0.0166778564453125, -0.034423828125, 0.0377197265625, 0.003444671630859375, -0.0073089599609375, -0.011871337890625, 0.0019130706787109375, -0.041961669921875, -0.0911865234375, 0.041748046875, -0.042266845703125, -0.0124969482421875, -0.0271759033203125, -0.0086669921875, 0.0283660888671875, 0.11248779296875, -0.04766845703125, 0.01293182373046875, 0.005573272705078125, -0.0081939697265625, -0.04437255859375, 0.01812744140625, -0.08905029296875, 0.0064544677734375, -0.01372528076171875, -0.0276947021484375, -0.02117919921875, -0.01519012451171875, 0.0043792724609375, 0.03778076171875, 0.005828857421875, -0.0165863037109375, 0.0243377685546875, -0.01439666748046875, 0.0309906005859375, 0.00250244140625, 0.03826904296875, -0.025299072265625, 0.0219573974609375, -0.034149169921875, -0.09075927734375, -0.02569580078125, -0.013214111328125, 0.0811767578125, 0.01605224609375, -0.0131072998046875, -0.00933837890625, 0.054473876953125, -0.006439208984375, 0.0546875, 0.00356292724609375, 0.01387786865234375, 0.02227783203125, -0.03692626953125, 0.0222930908203125, -0.041839599609375, -0.00649261474609375, -0.0531005859375, 0.00997161865234375, -0.01226806640625, -0.037750244140625, -0.002979278564453125, -0.037109375, -0.0003094673156738281, 0.032745361328125, 0.0016412734985351562, -0.06927490234375, 0.0089874267578125, -0.0364990234375, -0.008941650390625, -0.004619598388671875, -0.007049560546875, 0.0014886856079101562, -0.01119232177734375, -0.0156402587890625, 0.0557861328125, 0.06658935546875, 0.0166778564453125, 0.007495880126953125, -0.1251220703125, -0.004436492919921875, 0.04827880859375, -0.022918701171875, 0.03143310546875, 0.054962158203125, -0.031707763671875, 0.039154052734375, 0.02203369140625, -0.00366973876953125, -0.05194091796875, 0.0809326171875, 0.015838623046875, 0.027008056640625, -0.0193939208984375, -0.00235748291015625, 0.00939178466796875, 0.029083251953125, -0.0000616908073425293, -0.024871826171875, -0.02178955078125, 0.0433349609375, -0.008941650390625, 0.004657745361328125, -0.050537109375, -0.04248046875, 0.02294921875, -0.04766845703125, 0.019195556640625, -0.0006222724914550781, -0.0128936767578125, 0.026397705078125, 0.0002262592315673828, 0.01245880126953125, -0.0276947021484375, -0.01042938232421875, -0.00844573974609375, 0.01448822021484375, 0.0311279296875, 0.01096343994140625, -0.02032470703125, 0.0014858245849609375, 0.05841064453125, -0.03887939453125, -0.06402587890625, -0.01136016845703125, -0.0428466796875, -0.0097808837890625, 0.045318603515625, -0.0191192626953125, 0.041229248046875, 0.08636474609375, 0.0124359130859375, 0.027618408203125, -0.020965576171875, 0.046051025390625, -0.034576416015625, 0.0016307830810546875, 0.0261993408203125, -0.019287109375, -0.01441192626953125, 0.057952880859375, 0.0235748291015625, 0.01334381103515625, -0.012115478515625, 0.0634765625, 0.041961669921875, 0.051971435546875, 0.0171051025390625, -0.02984619140625, 0.0037517547607421875, 0.0036640167236328125, -0.04290771484375, -0.030609130859375, -0.018310546875, -0.02581787109375, 0.029022216796875, -0.0184783935546875, -0.00913238525390625, 0.06280517578125, -0.004985809326171875, 0.0028247833251953125, -0.003955841064453125, -0.0423583984375, -0.0560302734375, 0.0245361328125, 0.02685546875, 0.004009246826171875, -0.034454345703125, 0.00824737548828125, -0.005435943603515625, -0.043487548828125, -0.003360748291015625, -0.01300811767578125, 0.0157928466796875, -0.049957275390625, -0.054351806640625, -0.049652099609375, -0.021514892578125, -0.01953125, 0.01806640625, -0.049346923828125, 0.0237884521484375, 0.0164642333984375, -0.0217742919921875, -0.028289794921875, 0.0197296142578125, -0.0228271484375, 0.00167083740234375, -0.0367431640625, 0.00959014892578125, 0.035797119140625, 0.00897216796875, 0.0290374755859375, -0.018341064453125, 0.01476287841796875, -0.0264739990234375, 0.0129241943359375, -0.014801025390625, -0.01206207275390625, -0.0198516845703125, -0.00133514404296875, 0.0240936279296875, -0.020965576171875, -0.0340576171875, -0.0026264190673828125, 0.0007796287536621094, -0.00667572021484375, 0.002140045166015625, -0.0073394775390625, 0.06500244140625, -0.004924774169921875, 0.056976318359375, 0.01739501953125, 0.0245361328125, -0.01163482666015625, -0.023895263671875, 0.0137481689453125, -0.042388916015625, -0.04486083984375, -0.00888824462890625, -0.004016876220703125, 0.01171875, -0.01049041748046875, -0.01043701171875, 0.00731658935546875, -0.01416778564453125, -0.00664520263671875, -0.0267333984375, 0.0300750732421875, -0.019683837890625, 0.00009202957153320312, 0.01325225830078125, -0.0020961761474609375, 0.02728271484375, -0.0096588134765625, -0.015380859375, 0.03778076171875, -0.000926971435546875, 0.042816162109375, -0.0213623046875, -0.0806884765625, 0.064208984375, 0.017822265625, 0.016357421875, 0.02520751953125, -0.021392822265625, 0.004180908203125, -0.0291748046875, -0.01122283935546875, -0.0260467529296875, -0.0232086181640625, 0.060577392578125, 0.0110015869140625, -0.051727294921875, 0.058135986328125, -0.038177490234375, 0.0240936279296875, 0.04022216796875, 0.0267791748046875, -0.10186767578125, 0.0303192138671875, -0.007171630859375, -0.0035533905029296875, 0.0313720703125, -0.01265716552734375, 0.00519561767578125, 0.0024585723876953125, -0.042205810546875, 0.06561279296875, -0.032989501953125, -0.01221466064453125, 0.032989501953125, -0.01470947265625, 0.00901031494140625, 0.00653076171875, -0.00716400146484375, -0.0044708251953125, -0.017669677734375, -0.006366729736328125, -0.0134735107421875, 0.0165863037109375, 0.049957275390625, -0.0113067626953125, -0.0233306884765625, -0.048248291015625, -0.0011205673217773438, 0.0062713623046875, -0.04718017578125, 0.014892578125, 0.0156097412109375, 0.101318359375, 0.039947509765625, 0.02947998046875, -0.019622802734375, -0.003147125244140625, 0.052764892578125, -0.031890869140625, -0.0254669189453125, 0.0010967254638671875, 0.008880615234375, -0.034820556640625, 0.01092529296875, -0.0290069580078125, -0.01629638671875, -0.0023441314697265625, 0.037322998046875, 0.0762939453125, -0.00926971435546875, -0.04669189453125, 0.0147247314453125, -0.0177764892578125, 0.00820159912109375, -0.013763427734375, 0.0215301513671875, -0.044189453125, -0.0096282958984375, -0.00777435302734375, -0.01043701171875, -0.01324462890625, -0.0204010009765625, -0.06915283203125, 0.08984375, 0.0004887580871582031, 0.0242462158203125, -0.0181732177734375, 0.03997802734375, -0.0014219284057617188, 0.005767822265625, -0.004367828369140625, 0.0237579345703125, -0.039215087890625, 0.01055145263671875, -0.060302734375, -0.01519775390625, -0.0117340087890625, 0.0504150390625, 0.064453125, 0.013824462890625, -0.005039215087890625, -0.0230255126953125, 0.001544952392578125, -0.00919342041015625, -0.039520263671875, 0.018524169921875, 0.006366729736328125, 0.036651611328125, 0.024627685546875, -0.044097900390625, 0.002841949462890625, 0.00920867919921875, -0.0205841064453125, 0.035247802734375, 0.0168914794921875, 0.020843505859375, -0.042022705078125, 0.005733489990234375, 0.00997161865234375, -0.0266265869140625, -0.01068878173828125, -0.036224365234375, 0.0037670135498046875, 0.045257568359375, 0.05706787109375, -0.0238037109375, -0.00907135009765625, -0.023590087890625, 0.04473876953125, 0.0185089111328125, 0.030609130859375, 0.036285400390625, 0.0277557373046875, 0.022216796875, -0.0037078857421875, 0.021759033203125, 0.014495849609375, -0.039154052734375, 0.03192138671875, -0.0011119842529296875, 0.007671356201171875, -0.055694580078125, -0.001247406005859375, 0.036590576171875, 0.04608154296875, -0.0419921875, -0.02557373046875, 0.020477294921875, 0.0193328857421875, 0.012847900390625, 0.006565093994140625, 0.029571533203125, 0.0556640625, 0.07379150390625, -0.0321044921875, 0.00968170166015625, 0.0199432373046875, 0.0183258056640625, -0.01084136962890625, 0.0189971923828125, -0.032135009765625, -0.002777099609375, 0.00013971328735351562, -0.02496337890625, 0.0002008676528930664, 0.0011091232299804688, 0.036834716796875, -0.01015472412109375, 0.033416748046875, 0.004253387451171875, -0.0164947509765625, -0.01049041748046875, -0.0057220458984375, 0.0250701904296875, -0.06463623046875, -0.0284423828125, 0.035247802734375, 0.0579833984375, -0.01500701904296875, 0.03973388671875, 0.033660888671875, 0.0273590087890625, -0.01432037353515625, -0.014984130859375, 0.01474761962890625, -0.0297393798828125, 0.00472259521484375, -0.0699462890625, 0.047027587890625, 0.0114898681640625, 0.01537322998046875, -0.001201629638671875, -0.003597259521484375, 0.022674560546875, 0.006099700927734375, -0.01340484619140625, 0.0155029296875, -0.046600341796875, 0.002597808837890625, -0.0108489990234375, 0.017913818359375, 0.0227813720703125, -0.019317626953125, -0.01065826416015625, -0.016937255859375, -0.0179290771484375, -0.0070953369140625, 0.042816162109375, 0.0230712890625, -0.0128021240234375, 0.015960693359375, -0.0280609130859375, -0.0004794597625732422, 0.01776123046875, 0.0289306640625, 0.03192138671875, 0.00800323486328125, 0.015167236328125, -0.035369873046875, -0.01151275634765625, 0.00472259521484375, 0.01042938232421875, -0.01568603515625, 0.05352783203125, -0.01091766357421875, 0.01419830322265625, -0.037139892578125, 0.01280975341796875, -0.0137939453125, -0.00864410400390625, 0.039886474609375, 0.0262908935546875, -0.01378631591796875, -0.01253509521484375, 0.0265045166015625, 0.0205535888671875, 0.0460205078125, -0.046722412109375, -0.0173797607421875, 0.0132293701171875, 0.0231170654296875, -0.0146636962890625, 0.0085296630859375, -0.0192108154296875, -0.0232391357421875, -0.040252685546875, -0.01554107666015625, 0.0408935546875, 0.01328277587890625, 0.007503509521484375, 0.03814697265625, 0.06268310546875, -0.01236724853515625, 0.0287933349609375, -0.051666259765625, 0.09661865234375, 0.055908203125, 0.007080078125, 0.01800537109375, 0.0018062591552734375, -0.0247802734375, 0.046783447265625, -0.013427734375, 0.035858154296875, 0.0261993408203125, -0.0340576171875, 0.0205841064453125, 0.0609130859375, 0.0634765625, 0.00524139404296875, 0.032806396484375, 0.00010895729064941406, -0.00872039794921875, 0.035552978515625, -0.04150390625, -0.040679931640625, -0.0667724609375, 0.012298583984375, 0.0330810546875, -0.04937744140625, -0.0221710205078125, -0.07733154296875, 0.0186614990234375, 0.017364501953125, -0.01224517822265625, -0.0311431884765625, 0.0106964111328125, -0.036376953125, 0.0286102294921875, -0.00930023193359375, -0.0093536376953125, 0.01220703125, 0.0325927734375, 0.00994873046875, -0.00812530517578125, 0.006786346435546875, 0.0280303955078125, 0.03057861328125, 0.0169830322265625, 0.01629638671875, -0.0185089111328125, -0.0048065185546875, 0.01861572265625, 0.0083465576171875, 0.0650634765625, 0.022613525390625, -0.01009368896484375, 0.0277557373046875, -0.0007834434509277344, -0.0240631103515625, -0.0706787109375, 0.003662109375, -0.053192138671875, 0.0015916824340820312, -0.08404541015625, 0.049468994140625, 0.037811279296875, -0.032318115234375, -0.0540771484375, 0.038299560546875, -0.0266571044921875, -0.01354217529296875, -0.0465087890625, -0.0217132568359375, -0.0115203857421875, 0.022979736328125, -0.007152557373046875, -0.036163330078125, -0.049163818359375, 0.03240966796875, 0.0178680419921875, 0.0118408203125, 0.00020110607147216797, 0.001628875732421875, -0.113525390625, -0.0034942626953125, -0.01253509521484375, 0.0297088623046875, 0.0191497802734375, -0.0295562744140625, 0.03533935546875, 0.0311279296875, -0.052490234375, -0.0155181884765625, -0.0177154541015625, 0.01458740234375, -0.010162353515625, -0.040252685546875, 0.0033931732177734375, -0.022247314453125, 0.044952392578125, 0.00222015380859375, -0.0029926300048828125, -0.0125579833984375, -0.0117340087890625, -0.0250244140625, -0.00246429443359375, -0.02093505859375, 0.003429412841796875, -0.04205322265625, 0.0005631446838378906, -0.0012769699096679688, -0.0126190185546875, -0.01300048828125, 0.0697021484375, -0.00946044921875, -0.005527496337890625, 0.0711669921875, -0.0237274169921875, -0.047515869140625, 0.0391845703125, 0.04486083984375, -0.042236328125, -0.034149169921875, 0.0219573974609375, -0.02178955078125, -0.01091766357421875, -0.001007080078125, 0.01221466064453125, -0.0266265869140625, -0.024566650390625, 0.0269775390625, -0.0168609619140625, 0.0254974365234375, -0.044891357421875, -0.0352783203125, -0.01061248779296875, -0.0117950439453125, -0.01345062255859375, -0.00829315185546875, -0.023956298828125, 0.010009765625, 0.005565643310546875, 0.0297088623046875, -0.0059661865234375, -0.0848388671875, -0.028045654296875, 0.01438140869140625, -0.030792236328125, -0.0015363693237304688, -0.0118865966796875, -0.01751708984375, 0.0031948089599609375, -0.029632568359375, 0.003421783447265625, -0.01824951171875, -0.04632568359375, -0.02197265625, -0.004322052001953125, -0.005794525146484375 ]
4f2a75561c1c2de541877cda5676bcf9801180a8
Wordpress Stackexchange Q: Remove block styles in the Block Editor The Block Editor recently introduced block styles as seen below: How do we disable these? A: This has now changed to wp.blocks.unregisterBlockStyle('core/image', 'rounded'); Gotta love those guys in core ;)
Q: Remove block styles in the Block Editor The Block Editor recently introduced block styles as seen below: How do we disable these? A: This has now changed to wp.blocks.unregisterBlockStyle('core/image', 'rounded'); Gotta love those guys in core ;) A: We start off by finding out which block styles exists via .getBlockTypes(). This will dump it into the console: wp.domReady(() => { // find blocks styles wp.blocks.getBlockTypes().forEach((block) => { if (_.isArray(block['styles'])) { console.log(block.name, _.pluck(block['styles'], 'name')); } }); }); Example output: core/image (2) ["default", "rounded"] core/quote (2) ["default", "large"] core/button (2) ["fill", "outline"] core/pullquote (2) ["default", "solid-color"] core/separator (3) ["default", "wide", "dots"] core/table (2) ["regular", "stripes"] core/social-links (3) ["default", "logos-only", "pill-shape"] With this information, we can deactivate the block styles as desired. For example, if we want to remove the large quote style, we can use the following in our remove-block-styles.js: wp.domReady(() => { wp.blocks.unregisterBlockStyle('core/quote', 'large'); } ); We can load the remove-block-styles.js in the themes functions.php: function remove_block_style() { // Register the block editor script. wp_register_script( 'remove-block-style', get_stylesheet_directory_uri() . '/remove-block-styles.js', [ 'wp-blocks', 'wp-edit-post' ] ); // register block editor script. register_block_type( 'remove/block-style', [ 'editor_script' => 'remove-block-style', ] ); } add_action( 'init', 'remove_block_style' ); If we want to remove all block styles (as listed above), we can use: wp.domReady(() => { // image wp.blocks.unregisterBlockStyle('core/image', 'rounded'); wp.blocks.unregisterBlockStyle('core/image', 'default'); // quote wp.blocks.unregisterBlockStyle('core/quote', 'default'); wp.blocks.unregisterBlockStyle('core/quote', 'large'); // button wp.blocks.unregisterBlockStyle('core/button', 'fill'); wp.blocks.unregisterBlockStyle('core/button', 'outline'); // pullquote wp.blocks.unregisterBlockStyle('core/pullquote', 'default'); wp.blocks.unregisterBlockStyle('core/pullquote', 'solid-color'); // separator wp.blocks.unregisterBlockStyle('core/separator', 'default'); wp.blocks.unregisterBlockStyle('core/separator', 'wide'); wp.blocks.unregisterBlockStyle('core/separator', 'dots'); // table wp.blocks.unregisterBlockStyle('core/table', 'regular'); wp.blocks.unregisterBlockStyle('core/table', 'stripes'); // social-links wp.blocks.unregisterBlockStyle('core/social-links', 'default'); wp.blocks.unregisterBlockStyle('core/social-links', 'logos-only'); wp.blocks.unregisterBlockStyle('core/social-links', 'pill-shape'); } ); Major credits to Per Søderlind for the snippets. A: The answer from Christine already gets you quite far but I saw two ways to still improve it: * *The snippet that helps you get the list of block styles only lists the default styles of blocks, not the currently registered ones. So if some other plugin/code has added further styles they will be missed. *It makes you manually unregister the styles after you got the list. Let's fix this. :) 1. Getting the real, current list of block styles: _.forEach(wp.blocks.getBlockTypes(), function(blockType){ let blockStyles = wp.data.select('core/blocks').getBlockStyles(blockType.name); if(!_.isEmpty(blockStyles)){ console.log(blockType.name, _.pluck(blockStyles, 'name')); } }); 2. Remove them all _.forEach(wp.blocks.getBlockTypes(), function(blockType){ let blockStyles = wp.data.select('core/blocks').getBlockStyles(blockType.name); if(!_.isEmpty(blockStyles)){ _.forEach(_.pluck(blockStyles, 'name'), function(blockStyle){ wp.blocks.unregisterBlockStyle(blockType.name, blockStyle); }); } }); Of course you can get more creative from here with an allow/disallow list or whatever other logic you need, but I'll leave this as an exercise to the reader. :)
wordpress
{ "language": "en", "length": 407, "provenance": "stackexchange_00019.jsonl.gz:499204", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/352559" }
[ -0.010406494140625, 0.0025177001953125, -0.04998779296875, 0.00458526611328125, 0.01372528076171875, -0.06048583984375, 0.033233642578125, 0.0041656494140625, 0.041748046875, 0.0287322998046875, 0.0206451416015625, -0.0335693359375, 0.0270843505859375, -0.04583740234375, -0.01611328125, 0.0044403076171875, 0.05047607421875, -0.006763458251953125, 0.01157379150390625, -0.002880096435546875, -0.01739501953125, 0.0253448486328125, -0.0009775161743164062, 0.1048583984375, -0.009246826171875, -0.021392822265625, 0.09588623046875, -0.0202789306640625, 0.016754150390625, -0.0238494873046875, 0.024383544921875, -0.0186767578125, 0.00850677490234375, 0.0863037109375, -0.08203125, 0.070556640625, -0.0196533203125, 0.04949951171875, 0.0254669189453125, 0.0004744529724121094, 0.032745361328125, -0.0194549560546875, -0.0166778564453125, -0.0450439453125, -0.01910400390625, -0.005573272705078125, 0.0254364013671875, -0.0123748779296875, 0.022491455078125, 0.0022106170654296875, -0.006557464599609375, 0.0207061767578125, 0.01555633544921875, -0.0372314453125, -0.030853271484375, -0.04412841796875, -0.016204833984375, 0.039520263671875, 0.01276397705078125, 0.06597900390625, 0.003936767578125, 0.06097412109375, -0.021636962890625, -0.039154052734375, 0.048431396484375, -0.004802703857421875, 0.046142578125, 0.0289764404296875, -0.035003662109375, 0.06317138671875, 0.0280303955078125, -0.03289794921875, -0.004581451416015625, -0.03643798828125, 0.0250244140625, 0.04315185546875, -0.0489501953125, -0.00728607177734375, 0.041717529296875, 0.00047087669372558594, -0.006969451904296875, -0.009368896484375, -0.033172607421875, -0.0177459716796875, 0.002643585205078125, 0.0128631591796875, -0.00809478759765625, -0.00860595703125, 0.021697998046875, -0.0134735107421875, 0.006191253662109375, 0.0076446533203125, -0.0258331298828125, 0.034912109375, 0.004886627197265625, -0.032928466796875, 0.042816162109375, 0.045135498046875, -0.00942230224609375, -0.0443115234375, 0.02935791015625, -0.037139892578125, -0.02410888671875, -0.01313018798828125, 0.021514892578125, 0.022125244140625, -0.043548583984375, -0.0079193115234375, 0.052337646484375, 0.0352783203125, 0.01297760009765625, 0.0275726318359375, 0.0204925537109375, 0.0068817138671875, -0.024993896484375, -0.00927734375, -0.00923919677734375, 0.01256561279296875, -0.0279693603515625, 0.0157470703125, 0.03826904296875, 0.061737060546875, 0.025421142578125, -0.006763458251953125, -0.0191802978515625, -0.0038471221923828125, -0.007232666015625, -0.081298828125, -0.017791748046875, -0.006710052490234375, -0.020843505859375, 0.039764404296875, 0.07781982421875, 0.024627685546875, 0.012969970703125, -0.022857666015625, 0.0176239013671875, -0.0100250244140625, -0.008941650390625, 0.010772705078125, 0.0149078369140625, -0.02655029296875, 0.0021514892578125, -0.00260162353515625, 0.044342041015625, 0.0126190185546875, 0.0122528076171875, 0.01148223876953125, 0.028411865234375, -0.043670654296875, 0.03375244140625, -0.0465087890625, 0.0213775634765625, 0.038299560546875, 0.042022705078125, 0.006015777587890625, 0.12225341796875, -0.04248046875, -0.0631103515625, -0.046173095703125, 0.0307464599609375, 0.0218353271484375, 0.0465087890625, 0.03863525390625, 0.01482391357421875, -0.0265350341796875, -0.029876708984375, 0.00042557716369628906, 0.03436279296875, 0.01446533203125, -0.01349639892578125, -0.0511474609375, 0.0230560302734375, 0.006412506103515625, -0.02178955078125, 0.05059814453125, 0.002063751220703125, -0.01611328125, -0.0020580291748046875, 0.08135986328125, 0.01245880126953125, -0.0234222412109375, -0.0141754150390625, -0.000042498111724853516, -0.050323486328125, -0.033050537109375, 0.00559234619140625, 0.0200653076171875, 0.03607177734375, 0.02301025390625, 0.043975830078125, -0.034210205078125, -0.022552490234375, 0.01296234130859375, 0.0181427001953125, -0.0106048583984375, -0.054229736328125, -0.00939178466796875, -0.00893402099609375, -0.0242462158203125, 0.02850341796875, -0.0238800048828125, 0.0311431884765625, -0.05084228515625, -0.08642578125, 0.00461578369140625, -0.040191650390625, 0.055755615234375, -0.03497314453125, -0.01499176025390625, 0.0210418701171875, -0.0423583984375, -0.0110931396484375, 0.0243072509765625, -0.011383056640625, -0.01194000244140625, 0.02313232421875, -0.0127105712890625, 0.024993896484375, 0.006511688232421875, 0.0161590576171875, 0.0350341796875, -0.018310546875, -0.0018167495727539062, 0.034271240234375, 0.0279083251953125, -0.03173828125, -0.006839752197265625, 0.00557708740234375, 0.01132965087890625, -0.045166015625, 0.036041259765625, 0.009552001953125, 0.0270233154296875, -0.010284423828125, -0.0107879638671875, 0.00547027587890625, -0.045867919921875, 0.01398468017578125, 0.0279083251953125, 0.038787841796875, 0.041656494140625, -0.01483917236328125, -0.0186614990234375, 0.07269287109375, 0.00856781005859375, 0.0162353515625, -0.01885986328125, 0.012420654296875, 0.0036773681640625, 0.0129241943359375, -0.033599853515625, 0.03912353515625, -0.003574371337890625, 0.0179901123046875, 0.0148773193359375, -0.0382080078125, -0.02178955078125, 0.0195465087890625, 0.001079559326171875, 0.006443023681640625, 0.0235595703125, 0.01995849609375, -0.005828857421875, 0.04425048828125, 0.006351470947265625, 0.051513671875, 0.032958984375, -0.04248046875, 0.0184783935546875, 0.0197296142578125, -0.0041961669921875, -0.01367950439453125, 0.03350830078125, 0.06439208984375, -0.00860595703125, -0.03765869140625, -0.007106781005859375, -0.0057220458984375, 0.026763916015625, -0.01366424560546875, 0.01248931884765625, 0.0244598388671875, -0.00507354736328125, 0.006427764892578125, -0.0521240234375, 0.022552490234375, -0.010406494140625, -0.0198211669921875, -0.00865936279296875, 0.02545166015625, 0.01904296875, -0.005344390869140625, 0.0017337799072265625, -0.001018524169921875, -0.0106353759765625, -0.03240966796875, -0.01264190673828125, -0.0009379386901855469, -0.0106201171875, 0.0167694091796875, 0.0538330078125, 0.0100555419921875, -0.00728607177734375, 0.03521728515625, -0.0274810791015625, 0.0635986328125, 0.01318359375, 0.004978179931640625, 0.037261962890625, -0.04656982421875, 0.027099609375, 0.020599365234375, -0.005489349365234375, -0.00553131103515625, -0.0419921875, -0.0230560302734375, 0.011383056640625, -0.0531005859375, -0.00513458251953125, -0.040924072265625, -0.051116943359375, -0.02386474609375, 0.0017957687377929688, -0.0355224609375, 0.0166168212890625, 0.024505615234375, 0.006427764892578125, 0.015655517578125, 0.003692626953125, -0.044219970703125, -0.0253143310546875, -0.060791015625, -0.0294342041015625, -0.007488250732421875, 0.01042938232421875, 0.0048675537109375, 0.110595703125, 0.01361846923828125, -0.06951904296875, 0.0036754608154296875, -0.052764892578125, -0.01385498046875, 0.032958984375, -0.01528167724609375, 0.006244659423828125, -0.0127716064453125, 0.011749267578125, -0.073486328125, -0.0048980712890625, 0.0102691650390625, -0.01366424560546875, 0.0080108642578125, 0.0225372314453125, 0.004047393798828125, 0.039398193359375, 0.01154327392578125, -0.046112060546875, -0.0254974365234375, -0.06494140625, -0.0197906494140625, 0.0242767333984375, -0.01236724853515625, 0.0709228515625, -0.00977325439453125, -0.018341064453125, 0.0175018310546875, 0.0621337890625, 0.02191162109375, -0.02923583984375, 0.042236328125, -0.0670166015625, 0.08099365234375, 0.00710296630859375, 0.035675048828125, -0.06402587890625, -0.0203399658203125, -0.041046142578125, 0.025634765625, -0.02099609375, -0.00295257568359375, -0.006412506103515625, 0.0008707046508789062, -0.01537322998046875, 0.0108642578125, 0.02880859375, -0.02783203125, -0.0019311904907226562, 0.00722503662109375, 0.007434844970703125, 0.01508331298828125, 0.0182037353515625, -0.04901123046875, -0.00623321533203125, 0.0262908935546875, 0.0228424072265625, -0.04583740234375, -0.006267547607421875, -0.059326171875, 0.01290130615234375, -0.081298828125, 0.0195465087890625, 0.0080108642578125, -0.04498291015625, -0.0285491943359375, 0.0301513671875, -0.0606689453125, -0.0229339599609375, 0.03521728515625, 0.0113067626953125, -0.02703857421875, -0.00962066650390625, -0.02801513671875, -0.0195770263671875, -0.01198577880859375, 0.0008988380432128906, -0.09173583984375, 0.0003535747528076172, -0.0270843505859375, 0.03289794921875, -0.01345062255859375, 0.07257080078125, -0.0296478271484375, 0.0292816162109375, 0.010498046875, -0.01464080810546875, 0.019073486328125, 0.0111083984375, 0.029144287109375, -0.02813720703125, -0.0060577392578125, -0.0275115966796875, 0.00988006591796875, -0.00848388671875, -0.0404052734375, 0.00814056396484375, -0.028167724609375, 0.005222320556640625, 0.029449462890625, -0.0246734619140625, -0.024383544921875, -0.027191162109375, -0.03765869140625, 0.01165771484375, -0.031494140625, 0.0170745849609375, -0.0367431640625, -0.03167724609375, 0.048583984375, 0.0323486328125, -0.000522613525390625, -0.01145172119140625, 0.04010009765625, 0.0222320556640625, -0.031280517578125, -0.017578125, 0.023834228515625, 0.04205322265625, -0.002246856689453125, 0.04412841796875, 0.036956787109375, -0.01427459716796875, 0.025146484375, 0.0220794677734375, -0.01348876953125, -0.08831787109375, 0.11578369140625, -0.02349853515625, -0.0196990966796875, 0.027618408203125, -0.0670166015625, 0.06060791015625, 0.01419830322265625, 0.0294647216796875, -0.00821685791015625, 0.0211334228515625, -0.006740570068359375, 0.039398193359375, -0.06182861328125, -0.0015468597412109375, -0.02374267578125, -0.0056304931640625, 0.0546875, 0.0173797607421875, 0.040283203125, -0.0135955810546875, 0.010406494140625, 0.034332275390625, 0.0179901123046875, 0.00792694091796875, -0.0004143714904785156, -0.060821533203125, 0.03997802734375, -0.0303192138671875, -0.01568603515625, 0.004337310791015625, 0.00629425048828125, 0.021881103515625, -0.038818359375, -0.0100860595703125, -0.08917236328125, -0.0036411285400390625, 0.040771484375, 0.03387451171875, -0.0111846923828125, 0.02099609375, 0.0017414093017578125, -0.0017375946044921875, 0.0214996337890625, -0.0155029296875, -0.0247344970703125, -0.015045166015625, 0.0400390625, -0.0029964447021484375, -0.00901031494140625, 0.01522064208984375, -0.01055908203125, 0.0236663818359375, -0.0216064453125, -0.0135345458984375, 0.00885772705078125, 0.0107574462890625, 0.00937652587890625, 0.005828857421875, -0.00299072265625, 0.0364990234375, -0.040496826171875, 0.052520751953125, -0.0204315185546875, -0.00762176513671875, -0.006000518798828125, 0.042449951171875, 0.0014896392822265625, 0.005382537841796875, 0.0009222030639648438, -0.04107666015625, 0.010528564453125, -0.00792694091796875, -0.035369873046875, -0.0258636474609375, 0.01453399658203125, 0.0120697021484375, -0.00997161865234375, -0.03955078125, -0.006168365478515625, -0.051055908203125, -0.035308837890625, -0.03155517578125, 0.032379150390625, -0.07513427734375, 0.01047515869140625, 0.0209503173828125, 0.0036754608154296875, -0.0151519775390625, -0.01300048828125, -0.07464599609375, -0.0137176513671875, -0.0132598876953125, 0.01221466064453125, 0.0262451171875, -0.03704833984375, -0.00347137451171875, -0.0341796875, 0.047027587890625, -0.023406982421875, 0.032135009765625, 0.01412200927734375, 0.007564544677734375, -0.005641937255859375, -0.018310546875, -0.05279541015625, -0.032867431640625, -0.06414794921875, -0.021881103515625, -0.026641845703125, 0.025970458984375, 0.0104827880859375, -0.0010595321655273438, 0.00286865234375, -0.01021575927734375, -0.007556915283203125, 0.044342041015625, 0.0230560302734375, 0.027099609375, -0.0092926025390625, 0.02557373046875, 0.0277862548828125, 0.045806884765625, 0.0178680419921875, -0.005405426025390625, -0.005336761474609375, -0.02825927734375, 0.0018310546875, -0.0235748291015625, -0.023956298828125, 0.0009622573852539062, -0.00921630859375, 0.0113677978515625, 0.0289306640625, -0.0036525726318359375, -0.0004038810729980469, -0.035369873046875, 0.0003323554992675781, -0.04693603515625, 0.036346435546875, -0.086181640625, 0.0103302001953125, -0.0654296875, 0.01291656494140625, 0.05169677734375, -0.03363037109375, -0.0156097412109375, 0.007656097412109375, -0.00551605224609375, 0.00957489013671875, 0.015533447265625, 0.03155517578125, -0.0308074951171875, 0.0288543701171875, 0.01039886474609375, 0.0233612060546875, 0.0280303955078125, 0.028076171875, -0.004451751708984375, -0.003726959228515625, -0.0257568359375, 0.03753662109375, 0.0423583984375, 0.006439208984375, 0.0025882720947265625, 0.0236053466796875, -0.0037250518798828125, 0.0289154052734375, 0.07904052734375, 0.11614990234375, -0.086181640625, 0.00952911376953125, 0.020599365234375, -0.01251220703125, 0.06414794921875, 0.0157928466796875, -0.02423095703125, -0.007175445556640625, 0.0290985107421875, -0.0008573532104492188, 0.00698089599609375, 0.034942626953125, 0.0277862548828125, -0.0031032562255859375, -0.032470703125, 0.03839111328125, 0.0178985595703125, -0.040191650390625, 0.0194244384765625, 0.0291290283203125, -0.004116058349609375, -0.038177490234375, 0.037689208984375, -0.04132080078125, 0.018829345703125, -0.02386474609375, 0.0105133056640625, 0.0016012191772460938, 0.01352691650390625, 0.03424072265625, 0.00801849365234375, 0.006633758544921875, 0.0181427001953125, -0.008575439453125, 0.02569580078125, -0.019256591796875, -0.03240966796875, -0.00766754150390625, -0.01171875, 0.0533447265625, 0.00725555419921875, -0.060394287109375, 0.0251007080078125, -0.03399658203125, -0.01983642578125, -0.00145721435546875, 0.046539306640625, 0.0782470703125, -0.02410888671875, -0.036773681640625, 0.030487060546875, 0.00014793872833251953, -0.0154571533203125, -0.019073486328125, -0.0175323486328125, -0.03106689453125, 0.0254669189453125, -0.0292816162109375, 0.01174163818359375, 0.045654296875, -0.01422119140625, -0.042633056640625, 0.05206298828125, -0.0234375, 0.019744873046875, 0.03485107421875, 0.01490020751953125, -0.025665283203125, -0.004375457763671875, 0.0289764404296875, 0.03936767578125, 0.007198333740234375, -0.0193939208984375, 0.008026123046875, 0.01291656494140625, 0.01210784912109375, 0.0284423828125, 0.06817626953125, 0.0160675048828125, 0.0019397735595703125, -0.0323486328125, 0.01302337646484375, 0.04901123046875, -0.0172271728515625, 0.0167083740234375, -0.0160064697265625, -0.00872039794921875, -0.005229949951171875, -0.0084686279296875, 0.019073486328125, -0.024444580078125, -0.0531005859375, 0.00885009765625, 0.018646240234375, 0.025909423828125, 0.028533935546875, -0.0158538818359375, -0.00635528564453125, 0.00572967529296875, 0.0266571044921875, -0.042572021484375, -0.015838623046875, 0.053924560546875, 0.020660400390625, -0.03253173828125, -0.031524658203125, -0.01727294921875, 0.0408935546875, -0.0009851455688476562, -0.017608642578125, -0.01076507568359375, 0.009613037109375, -0.034393310546875, -0.01346588134765625, -0.0248565673828125, 0.046875, -0.0302734375, 0.005390167236328125, -0.00994110107421875, 0.0177764892578125, -0.032562255859375, 0.0236968994140625, 0.01023101806640625, 0.005725860595703125, -0.0238494873046875, -0.017547607421875, 0.021484375, 0.019683837890625, 0.0029392242431640625, -0.0211181640625, 0.01165008544921875, -0.07208251953125, -0.032073974609375, -0.037445068359375, -0.026092529296875, 0.03216552734375, 0.0179901123046875, -0.017578125, -0.02899169921875, 0.01519775390625, -0.0245208740234375, -0.022552490234375, -0.0054779052734375, 0.026641845703125, 0.00872802734375, 0.0204620361328125, 0.0278167724609375, 0.05322265625, 0.00012028217315673828, -0.051116943359375, 0.05029296875, 0.0303497314453125, 0.04876708984375, -0.037109375, 0.0209503173828125, -0.0101165771484375, 0.0165557861328125, 0.01751708984375, 0.0145416259765625, 0.0268402099609375, 0.022369384765625, -0.0165252685546875, 0.005001068115234375, 0.009765625, -0.025726318359375, 0.01477813720703125, -0.05426025390625, 0.049072265625, 0.024017333984375, 0.01099395751953125, 0.02130126953125, 0.002819061279296875, 0.06719970703125, -0.0126800537109375, 0.0247802734375, 0.01102447509765625, 0.01451873779296875, -0.003963470458984375, 0.004459381103515625, -0.053436279296875, 0.01806640625, -0.054779052734375, -0.013153076171875, -0.01155853271484375, -0.01386260986328125, 0.017242431640625, 0.0247039794921875, -0.05657958984375, 0.06732177734375, 0.0015239715576171875, 0.0015382766723632812, 0.027099609375, -0.020965576171875, -0.004787445068359375, -0.01190185546875, 0.0161895751953125, -0.01210784912109375, -0.057281494140625, -0.0282440185546875, -0.0282135009765625, 0.0308990478515625, -0.0061798095703125, 0.04754638671875, -0.0085601806640625, 0.024932861328125, 0.01593017578125, 0.032562255859375, 0.0008120536804199219, 0.025146484375, -0.01273345947265625, 0.054229736328125, 0.052032470703125, -0.045989990234375, -0.05755615234375, 0.0296630859375, 0.02154541015625, 0.0043182373046875, 0.036712646484375, -0.007602691650390625, -0.013519287109375, -0.025299072265625, 0.003963470458984375, -0.01250457763671875, -0.032012939453125, 0.0150299072265625, 0.0212554931640625, -0.025604248046875, 0.0010404586791992188, 0.0134124755859375, -0.0007843971252441406, 0.00650787353515625, -0.0182647705078125, 0.0197601318359375, -0.007221221923828125, 0.028778076171875, 0.037445068359375, -0.009918212890625, -0.027008056640625, -0.0066680908203125, -0.00568389892578125, -0.006595611572265625, 0.014495849609375, -0.00035762786865234375, -0.0103912353515625, -0.0299072265625, 0.007236480712890625, 0.006374359130859375, 0.026763916015625, -0.005764007568359375, -0.01099395751953125, 0.01151275634765625, -0.0124664306640625, -0.027801513671875, 0.00917816162109375, 0.013336181640625, -0.0234222412109375, -0.06134033203125, -0.0031642913818359375, -0.055999755859375, -0.06890869140625, -0.0184173583984375, -0.0225982666015625, 0.040283203125, 0.0134124755859375, -0.0625, 0.020111083984375, -0.0127716064453125, 0.0382080078125, -0.0089111328125, 0.005657196044921875, -0.0308837890625, 0.0254974365234375, -0.046966552734375, -0.042755126953125, -0.052947998046875, 0.0298614501953125, -0.055084228515625, 0.0026950836181640625, 0.02508544921875, -0.0271148681640625, 0.03448486328125, 0.008544921875, 0.043060302734375, 0.060943603515625, -0.0239715576171875, -0.013763427734375, 0.00533294677734375, 0.011383056640625, -0.0289764404296875, -0.02423095703125, 0.01496124267578125, -0.034637451171875, -0.0227203369140625, -0.0391845703125, -0.01299285888671875, -0.0229949951171875, -0.0673828125, -0.10357666015625, -0.01560211181640625, -0.0091400146484375, -0.0467529296875, -0.0167694091796875, 0.03271484375, 0.004772186279296875, -0.037109375, -0.00923919677734375, 0.006015777587890625, 0.009429931640625, 0.0168304443359375, 0.0183868408203125, 0.034881591796875, 0.0094146728515625, 0.0279541015625, 0.002857208251953125, 0.045806884765625, 0.0214691162109375, 0.0002779960632324219, -0.018463134765625, 0.006008148193359375, 0.0061187744140625, 0.0079498291015625, -0.0357666015625, 0.01276397705078125, 0.0012187957763671875, 0.00750732421875, -0.00600433349609375, -0.01006317138671875, -0.0296478271484375, -0.00791168212890625, 0.0631103515625, 0.0302734375, 0.0229034423828125, -0.0286712646484375, 0.0335693359375, -0.028106689453125, -0.0204925537109375, -0.03912353515625, 0.006595611572265625, -0.054473876953125, -0.045867919921875, 0.0023288726806640625, 0.007297515869140625, 0.0262603759765625, -0.0237579345703125, -0.018280029296875, -0.0247955322265625, -0.052459716796875, -0.006984710693359375, -0.077880859375, 0.0036602020263671875, -0.0293121337890625, 0.013946533203125, 0.023590087890625, -0.0537109375, 0.0177764892578125, 0.0016508102416992188, -0.00928497314453125, -0.012115478515625, -0.01113128662109375, -0.019683837890625, 0.03857421875, -0.0141143798828125, 0.0081329345703125, -0.04595947265625, 0.004657745361328125, -0.00179290771484375, 0.011993408203125, 0.005062103271484375, -0.0006303787231445312, -0.025360107421875, 0.053619384765625, 0.004146575927734375, 0.049468994140625, -0.01148223876953125, -0.0615234375, -0.03704833984375, 0.0296173095703125, 0.0175018310546875, -0.023529052734375, 0.042327880859375, -0.0265655517578125, 0.0081939697265625, 0.0205535888671875, 0.03253173828125, -0.03765869140625, 0.029022216796875, 0.007720947265625, 0.0254974365234375, 0.016082763671875 ]
ed1d8bd429f3a6ccdb01dac68fe0a5523cbf9007
Wordpress Stackexchange Q: WordPress 5.3 update causes media library file upload to break - Cannot convert undefined or null to object So after updating to WP 5.3 I can no longer use the file upload to choose files to add. I get the following error: Uncaught TypeError: Cannot convert undefined or null to object at g.cleanup (backbone.min.js:1) Error in console: How it shows when I try to choose an image: I have the Classic Editor plugin installed so I can use it the classic way. I have disabled all other unnecessary plugins but the problem still persists. It's only happened since the new WP core update to 5.3 yesterday. Any ideas what's going on here? A: I had the same problem. In my case it was the Enhanced Media Library plugin, which looks as though it has not been updated in some time. I deactivated it, and all is good.
Q: WordPress 5.3 update causes media library file upload to break - Cannot convert undefined or null to object So after updating to WP 5.3 I can no longer use the file upload to choose files to add. I get the following error: Uncaught TypeError: Cannot convert undefined or null to object at g.cleanup (backbone.min.js:1) Error in console: How it shows when I try to choose an image: I have the Classic Editor plugin installed so I can use it the classic way. I have disabled all other unnecessary plugins but the problem still persists. It's only happened since the new WP core update to 5.3 yesterday. Any ideas what's going on here? A: I had the same problem. In my case it was the Enhanced Media Library plugin, which looks as though it has not been updated in some time. I deactivated it, and all is good. A: Right, so what worked for me was upgrading my PHP version to 7.2 and that did the job. I was using 7.0 before. A: My problem was with ŧhe Enhanced Media Library plugin and this solution worked for me https://wordpress.org/support/topic/quick-fix-for-upload-breakage-after-wp-5-3/
wordpress
{ "language": "en", "length": 189, "provenance": "stackexchange_00019.jsonl.gz:499220", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/352616" }
[ 0.0225830078125, -0.0200042724609375, -0.0088958740234375, -0.031494140625, -0.0022640228271484375, -0.0238494873046875, 0.0302276611328125, 0.00775909423828125, 0.05712890625, -0.0008711814880371094, -0.04608154296875, -0.004596710205078125, 0.0219268798828125, -0.022064208984375, 0.0237274169921875, -0.0040283203125, 0.029296875, -0.034576416015625, 0.017120361328125, -0.00997161865234375, -0.0017900466918945312, 0.020477294921875, 0.0178070068359375, 0.0091094970703125, -0.039794921875, 0.048187255859375, 0.02996826171875, -0.02435302734375, -0.0484619140625, -0.0513916015625, -0.00830078125, 0.070556640625, 0.017913818359375, 0.041351318359375, -0.05133056640625, -0.01189422607421875, 0.029937744140625, 0.006526947021484375, 0.0167999267578125, -0.006317138671875, 0.00970458984375, 0.015899658203125, 0.0157623291015625, 0.0253143310546875, -0.00508880615234375, -0.0206451416015625, 0.0004911422729492188, -0.032745361328125, 0.0240020751953125, -0.017120361328125, -0.03857421875, 0.00923919677734375, -0.034149169921875, -0.036041259765625, -0.0148162841796875, -0.0288238525390625, -0.04766845703125, 0.04193115234375, 0.0038547515869140625, 0.062347412109375, 0.00835418701171875, 0.032379150390625, -0.0201873779296875, -0.05419921875, -0.01393890380859375, 0.006801605224609375, 0.0277099609375, -0.00853729248046875, -0.01043701171875, -0.0096282958984375, 0.01004791259765625, -0.003330230712890625, -0.00798797607421875, -0.0252685546875, 0.017913818359375, 0.000011682510375976562, 0.0137481689453125, -0.0021190643310546875, -0.007274627685546875, 0.030364990234375, 0.024017333984375, -0.007293701171875, -0.027374267578125, 0.0202484130859375, 0.0218048095703125, 0.057861328125, 0.00830078125, -0.041473388671875, -0.051666259765625, 0.0169677734375, -0.02874755859375, -0.0290679931640625, -0.0034542083740234375, -0.007434844970703125, 0.00215911865234375, -0.02044677734375, -0.016204833984375, 0.0291595458984375, -0.030731201171875, 0.024688720703125, 0.004840850830078125, -0.039215087890625, 0.046966552734375, -0.03863525390625, 0.015472412109375, -0.0075531005859375, 0.0063018798828125, -0.06005859375, 0.0180816650390625, 0.0115509033203125, -0.027679443359375, 0.072021484375, 0.029205322265625, -0.0242767333984375, 0.028472900390625, 0.00891876220703125, 0.0034542083740234375, 0.07391357421875, 0.0013837814331054688, 0.053009033203125, -0.040069580078125, -0.011627197265625, -0.06488037109375, -0.0019550323486328125, 0.0523681640625, -0.00772857666015625, 0.004444122314453125, 0.07916259765625, -0.007572174072265625, 0.033355712890625, -0.01409912109375, 0.022705078125, 0.048431396484375, 0.0009164810180664062, -0.01517486572265625, -0.0102386474609375, 0.00946044921875, 0.0263214111328125, -0.0232696533203125, 0.03143310546875, 0.01367950439453125, -0.0237274169921875, 0.006702423095703125, 0.005306243896484375, 0.0010843276977539062, 0.018341064453125, 0.0212554931640625, 0.01953125, 0.01031494140625, -0.036163330078125, 0.0232696533203125, -0.01100921630859375, 0.07366943359375, -0.0032291412353515625, -0.01806640625, -0.050567626953125, 0.0618896484375, -0.05908203125, -0.03338623046875, -0.06787109375, -0.00841522216796875, -0.01258087158203125, 0.05523681640625, -0.051055908203125, -0.0305023193359375, 0.01032257080078125, -0.08154296875, -0.01190948486328125, 0.0379638671875, 0.056488037109375, -0.02545166015625, -0.049285888671875, 0.004001617431640625, 0.00684356689453125, -0.024505615234375, 0.02587890625, -0.0033168792724609375, 0.0234832763671875, 0.01218414306640625, 0.016876220703125, 0.0074615478515625, -0.022369384765625, 0.032806396484375, -0.01467132568359375, -0.041839599609375, 0.0186309814453125, -0.0033168792724609375, 0.01995849609375, 0.0262908935546875, -0.01201629638671875, 0.045166015625, 0.00531768798828125, 0.005435943603515625, 0.0243682861328125, -0.01129150390625, -0.03375244140625, -0.041015625, -0.0007166862487792969, -0.0208587646484375, 0.0096588134765625, 0.0167236328125, 0.054779052734375, -0.038299560546875, -0.005313873291015625, -0.056793212890625, 0.01047515869140625, -0.01258087158203125, 0.0298919677734375, -0.038330078125, 0.0104827880859375, 0.039306640625, 0.00911712646484375, -0.0697021484375, 0.07464599609375, -0.01019287109375, -0.0237579345703125, -0.020355224609375, 0.009368896484375, 0.007213592529296875, -0.006313323974609375, -0.00231170654296875, -0.024993896484375, -0.01373291015625, 0.015411376953125, -0.0016880035400390625, -0.0023593902587890625, 0.0066680908203125, 0.0011157989501953125, 0.04754638671875, 0.01134490966796875, 0.06634521484375, -0.018585205078125, -0.0139312744140625, -0.0232696533203125, -0.03729248046875, -0.01303863525390625, -0.029205322265625, -0.08953857421875, 0.0225677490234375, 0.06463623046875, 0.047210693359375, 0.031707763671875, 0.0386962890625, 0.017730712890625, 0.058197021484375, -0.00818634033203125, 0.03436279296875, -0.022918701171875, -0.0092010498046875, 0.04412841796875, -0.0268096923828125, 0.0099639892578125, 0.003795623779296875, -0.0108642578125, -0.0264129638671875, 0.0305328369140625, -0.00559234619140625, -0.02435302734375, -0.055908203125, 0.031890869140625, 0.0055389404296875, -0.06378173828125, -0.032073974609375, -0.0228729248046875, -0.0122833251953125, 0.060882568359375, 0.021209716796875, 0.02197265625, -0.00927734375, 0.041595458984375, -0.006572723388671875, -0.07366943359375, 0.0180511474609375, 0.05682373046875, 0.0035915374755859375, 0.061798095703125, -0.006595611572265625, -0.044158935546875, 0.0228729248046875, 0.04193115234375, -0.0214996337890625, 0.00617218017578125, -0.01456451416015625, -0.01392364501953125, 0.006969451904296875, -0.0298614501953125, 0.00731658935546875, -0.037109375, -0.04644775390625, -0.0447998046875, 0.0228424072265625, 0.0006074905395507812, -0.0245361328125, 0.007503509521484375, -0.01338958740234375, -0.0185546875, 0.0482177734375, 0.005275726318359375, -0.01288604736328125, 0.014678955078125, 0.09381103515625, 0.0499267578125, -0.0193634033203125, 0.01239776611328125, 0.01103973388671875, 0.03387451171875, -0.01369476318359375, 0.01233673095703125, 0.01517486572265625, 0.020751953125, -0.044036865234375, -0.01580810546875, 0.018829345703125, -0.01702880859375, -0.0084228515625, -0.0374755859375, -0.03076171875, -0.0034046173095703125, -0.0888671875, -0.040435791015625, -0.051666259765625, -0.04638671875, 0.01702880859375, 0.0305328369140625, -0.023651123046875, -0.003757476806640625, 0.0662841796875, 0.0193023681640625, -0.021453857421875, 0.045562744140625, -0.03192138671875, 0.014373779296875, -0.04608154296875, -0.0084686279296875, -0.024932861328125, 0.0197906494140625, 0.0028209686279296875, 0.00783538818359375, -0.01450347900390625, -0.021026611328125, -0.0008711814880371094, 0.0010395050048828125, 0.020172119140625, -0.01114654541015625, 0.0189971923828125, -0.0143890380859375, 0.00862884521484375, 0.006328582763671875, 0.0296630859375, 0.037322998046875, -0.032318115234375, -0.0206451416015625, -0.006450653076171875, -0.03399658203125, -0.007099151611328125, 0.042449951171875, 0.011260986328125, -0.0283355712890625, -0.00669097900390625, -0.07232666015625, 0.053558349609375, -0.01995849609375, 0.01206207275390625, 0.04498291015625, -0.0289154052734375, -0.0234527587890625, 0.01273345947265625, 0.0086517333984375, -0.028594970703125, -0.0252685546875, -0.005584716796875, -0.03680419921875, 0.015869140625, -0.0006833076477050781, -0.00830841064453125, 0.01168060302734375, 0.05950927734375, 0.01456451416015625, -0.02178955078125, 0.0278778076171875, 0.06231689453125, 0.02191162109375, -0.037353515625, -0.05609130859375, -0.002971649169921875, 0.0174102783203125, -0.0703125, -0.0153350830078125, -0.0278778076171875, 0.003986358642578125, -0.031829833984375, 0.0220489501953125, -0.00018978118896484375, -0.003330230712890625, -0.036102294921875, 0.005039215087890625, -0.029876708984375, -0.03204345703125, -0.0107269287109375, 0.002635955810546875, 0.0635986328125, -0.0189208984375, -0.028717041015625, 0.0241241455078125, -0.01332855224609375, 0.045257568359375, 0.058746337890625, -0.01232147216796875, 0.048004150390625, -0.047088623046875, 0.01708984375, 0.0129547119140625, 0.005634307861328125, -0.0262451171875, -0.037506103515625, -0.0260009765625, -0.11273193359375, -0.02703857421875, -0.0010852813720703125, 0.07275390625, -0.0253143310546875, 0.020751953125, -0.030364990234375, 0.07464599609375, 0.0217132568359375, 0.00981903076171875, 0.0016803741455078125, -0.01519775390625, 0.0252532958984375, -0.0143585205078125, 0.01104736328125, -0.0155792236328125, -0.0225372314453125, -0.053466796875, -0.032073974609375, -0.0233154296875, -0.03436279296875, -0.005542755126953125, -0.010528564453125, -0.007694244384765625, -0.01271820068359375, -0.02520751953125, -0.01401519775390625, 0.0275115966796875, -0.031829833984375, 0.0242767333984375, -0.038238525390625, -0.02606201171875, 0.0269927978515625, -0.007228851318359375, 0.0321044921875, -0.0021495819091796875, 0.051361083984375, 0.0057373046875, -0.004444122314453125, -0.00763702392578125, 0.01053619384765625, 0.0222320556640625, 0.0260162353515625, 0.07818603515625, 0.0338134765625, 0.0120086669921875, 0.022125244140625, 0.0135040283203125, 0.0216827392578125, -0.00421142578125, 0.0227203369140625, 0.00229644775390625, -0.03173828125, 0.0255126953125, 0.003429412841796875, -0.0445556640625, -0.01291656494140625, 0.006702423095703125, 0.0304107666015625, -0.00665283203125, -0.02398681640625, 0.0271759033203125, -0.030914306640625, 0.00330352783203125, -0.0826416015625, 0.025604248046875, -0.005146026611328125, 0.018463134765625, 0.0125274658203125, -0.0031986236572265625, 0.05303955078125, 0.04107666015625, -0.01056671142578125, -0.0172271728515625, 0.042572021484375, -0.053985595703125, 0.049285888671875, -0.06298828125, -0.04534912109375, -0.019256591796875, 0.00167083740234375, 0.0266876220703125, -0.017608642578125, -0.0212554931640625, -0.010986328125, -0.01291656494140625, 0.0037078857421875, 0.0204620361328125, 0.018218994140625, 0.038330078125, 0.0080108642578125, -0.00930023193359375, -0.0115966796875, -0.044647216796875, 0.036590576171875, -0.04412841796875, 0.026031494140625, 0.0213165283203125, -0.0242462158203125, -0.0135650634765625, 0.01041412353515625, 0.0303192138671875, -0.0269622802734375, -0.0036067962646484375, -0.0208282470703125, -0.0269927978515625, 0.03790283203125, 0.0360107421875, -0.0221405029296875, -0.00974273681640625, 0.0197906494140625, -0.004398345947265625, -0.0273895263671875, 0.0254974365234375, 0.00531005859375, 0.0137939453125, 0.020660400390625, -0.0233306884765625, 0.0088958740234375, -0.0408935546875, -0.0037364959716796875, -0.005847930908203125, -0.06341552734375, -0.021484375, -0.04693603515625, 0.0291900634765625, 0.09259033203125, -0.0110321044921875, 0.02099609375, -0.0755615234375, 0.0230560302734375, -0.006336212158203125, 0.002079010009765625, -0.039947509765625, 0.032196044921875, 0.02789306640625, 0.03662109375, -0.0167083740234375, -0.03814697265625, -0.0275115966796875, 0.004100799560546875, -0.0190277099609375, -0.01212310791015625, 0.04473876953125, -0.0064697265625, -0.0222930908203125, -0.034027099609375, 0.037200927734375, -0.0202484130859375, 0.028350830078125, -0.006195068359375, -0.0261077880859375, 0.0007920265197753906, -0.04803466796875, -0.036865234375, -0.03643798828125, 0.0160064697265625, 0.01471710205078125, -0.01153564453125, 0.01485443115234375, -0.018341064453125, 0.022186279296875, -0.02886962890625, -0.0499267578125, 0.0111083984375, 0.0012111663818359375, -0.00885772705078125, 0.033294677734375, -0.0059814453125, 0.0194091796875, 0.019195556640625, 0.005420684814453125, 0.0092315673828125, -0.0076141357421875, -0.017822265625, -0.0206146240234375, -0.03265380859375, -0.039154052734375, 0.0218658447265625, 0.0114288330078125, 0.0240478515625, 0.0263214111328125, 0.039581298828125, 0.022369384765625, 0.02288818359375, -0.025146484375, 0.0022296905517578125, -0.0179595947265625, 0.020355224609375, -0.036407470703125, 0.00568389892578125, 0.018310546875, -0.01371002197265625, 0.01058197021484375, -0.01384735107421875, -0.031646728515625, 0.035736083984375, -0.0117034912109375, 0.0218963623046875, 0.00988006591796875, -0.0177154541015625, 0.0538330078125, 0.0350341796875, -0.031707763671875, -0.01462554931640625, 0.025665283203125, -0.027374267578125, -0.04522705078125, 0.03082275390625, 0.034912109375, -0.06890869140625, 0.0167999267578125, 0.00017404556274414062, -0.01666259765625, 0.004482269287109375, -0.0240020751953125, 0.041656494140625, 0.037567138671875, 0.07501220703125, -0.03448486328125, 0.004848480224609375, -0.002117156982421875, -0.040985107421875, 0.0634765625, 0.00905609130859375, 0.027862548828125, -0.017730712890625, 0.011077880859375, -0.004474639892578125, -0.00716400146484375, 0.01113128662109375, -0.02423095703125, -0.0296630859375, -0.0115509033203125, 0.0158233642578125, 0.0352783203125, 0.0027313232421875, 0.036224365234375, 0.01126861572265625, 0.00943756103515625, 0.0217742919921875, 0.041656494140625, -0.048065185546875, -0.0185546875, -0.0298309326171875, -0.042022705078125, -0.0156707763671875, -0.04541015625, 0.0316162109375, 0.044891357421875, 0.05657958984375, 0.067626953125, 0.01222991943359375, -0.004192352294921875, 0.050933837890625, 0.013702392578125, 0.027618408203125, -0.00730133056640625, 0.0175018310546875, 0.03253173828125, -0.01611328125, 0.01088714599609375, -0.00946044921875, 0.00528717041015625, 0.03570556640625, 0.011505126953125, -0.025299072265625, -0.05364990234375, 0.0170440673828125, 0.057159423828125, -0.040924072265625, 0.0023326873779296875, 0.003826141357421875, 0.04638671875, -0.06121826171875, -0.04669189453125, 0.02728271484375, -0.031280517578125, -0.04754638671875, 0.00818634033203125, -0.028564453125, 0.07659912109375, -0.0285797119140625, 0.010406494140625, 0.053497314453125, 0.0168914794921875, -0.045806884765625, -0.0030670166015625, -0.037139892578125, 0.0267181396484375, -0.0633544921875, 0.03741455078125, -0.0692138671875, 0.0175018310546875, -0.01406097412109375, 0.01287841796875, 0.038726806640625, -0.0015268325805664062, -0.043243408203125, -0.040435791015625, 0.026611328125, 0.07183837890625, 0.04296875, 0.0209808349609375, -0.0164947509765625, -0.02020263671875, 0.01465606689453125, -0.00858306884765625, 0.031463623046875, -0.020263671875, -0.042755126953125, -0.0157318115234375, 0.0015611648559570312, -0.004428863525390625, 0.014862060546875, 0.0223236083984375, -0.0086669921875, -0.008087158203125, 0.004398345947265625, 0.00902557373046875, -0.0091400146484375, 0.03778076171875, -0.00897216796875, 0.01129150390625, 0.05352783203125, -0.034210205078125, 0.052764892578125, -0.0330810546875, -0.03692626953125, 0.028472900390625, 0.0014314651489257812, 0.018951416015625, -0.027557373046875, -0.03741455078125, -0.0006852149963378906, 0.0300750732421875, 0.036590576171875, -0.005817413330078125, 0.01142120361328125, -0.0202178955078125, 0.053009033203125, 0.04644775390625, 0.0506591796875, -0.038116455078125, -0.0257415771484375, 0.01374053955078125, -0.005527496337890625, 0.0057220458984375, -0.009490966796875, 0.0026721954345703125, 0.0004944801330566406, 0.025909423828125, -0.015777587890625, -0.00403594970703125, 0.0264892578125, 0.03240966796875, 0.0018072128295898438, 0.0245208740234375, -0.025634765625, -0.015899658203125, -0.0321044921875, -0.01036834716796875, 0.0069732666015625, 0.0390625, 0.024261474609375, 0.0163116455078125, -0.024169921875, -0.0140838623046875, -0.006832122802734375, 0.042388916015625, -0.0165863037109375, 0.01001739501953125, -0.0362548828125, -0.0693359375, 0.0157012939453125, 0.03973388671875, 0.032012939453125, 0.027984619140625, 0.02801513671875, 0.002349853515625, -0.046234130859375, 0.0187530517578125, 0.0928955078125, -0.0245361328125, -0.021942138671875, -0.0292816162109375, 0.026275634765625, 0.0180206298828125, 0.007213592529296875, 0.0057220458984375, 0.042144775390625, 0.025665283203125, -0.006313323974609375, 0.01548004150390625, 0.004322052001953125, -0.045196533203125, 0.031524658203125, 0.0035247802734375, 0.09283447265625, 0.0190582275390625, -0.07916259765625, -0.0255279541015625, 0.0006928443908691406, -0.019073486328125, 0.033355712890625, 0.0291900634765625, -0.063232421875, 0.0634765625, -0.055511474609375, -0.02972412109375, 0.032012939453125, -0.0183868408203125, 0.005977630615234375, 0.032012939453125, 0.0030803680419921875, -0.01404571533203125, -0.050323486328125, -0.0170135498046875, 0.00337982177734375, 0.00946044921875, 0.007659912109375, 0.0870361328125, -0.0130462646484375, 0.01015472412109375, 0.01058197021484375, -0.004425048828125, -0.01267242431640625, 0.011444091796875, -0.025299072265625, 0.0194091796875, 0.0172271728515625, -0.01629638671875, 0.01496124267578125, 0.006816864013671875, 0.0091705322265625, -0.0155029296875, -0.03466796875, 0.0108795166015625, 0.0224151611328125, 0.06396484375, 0.04656982421875, -0.007541656494140625, -0.01096343994140625, -0.001529693603515625, 0.0016994476318359375, 0.0189666748046875, -0.002254486083984375, -0.033477783203125, -0.03594970703125, 0.005855560302734375, -0.0809326171875, 0.0092010498046875, -0.0035228729248046875, 0.0023651123046875, 0.02105712890625, 0.059478759765625, -0.008392333984375, 0.01410675048828125, -0.01078033447265625, -0.0257720947265625, 0.01555633544921875, 0.008331298828125, 0.0057525634765625, -0.0181884765625, 0.03887939453125, 0.0237579345703125, -0.00884246826171875, -0.07061767578125, -0.031280517578125, 0.09228515625, -0.01523590087890625, -0.0243072509765625, -0.044891357421875, -0.00225830078125, -0.03790283203125, -0.0263824462890625, 0.0078887939453125, -0.0238800048828125, -0.007610321044921875, 0.0270233154296875, -0.0178985595703125, 0.0141754150390625, 0.01531219482421875, -0.078369140625, 0.051788330078125, -0.01055145263671875, 0.00591278076171875, -0.03057861328125, 0.0006380081176757812, -0.0196533203125, 0.048583984375, 0.002407073974609375, -0.06396484375, -0.04833984375, 0.07305908203125, -0.042755126953125, 0.00792694091796875, 0.00785064697265625, -0.014495849609375, -0.01898193359375, 0.03662109375, 0.024658203125, 0.075927734375, 0.014190673828125, -0.0214996337890625, -0.0249176025390625, -0.0009555816650390625, 0.004451751708984375, -0.0257568359375, 0.0244903564453125, -0.039093017578125, -0.03765869140625, 0.04730224609375, -0.02911376953125, -0.0002701282501220703, -0.037506103515625, -0.0721435546875, 0.00756072998046875, 0.017303466796875, -0.061279296875, -0.007144927978515625, 0.0105743408203125, -0.00653839111328125, 0.049224853515625, 0.0200653076171875, -0.01032257080078125, -0.004596710205078125, -0.0169677734375, -0.0018949508666992188, 0.0307769775390625, 0.031951904296875, -0.0084075927734375, -0.0273895263671875, -0.01513671875, -0.024688720703125, -0.0006275177001953125, 0.01174163818359375, -0.00510406494140625, 0.0143890380859375, 0.0202789306640625, -0.0430908203125, 0.0311279296875, -0.00870513916015625, -0.007717132568359375, 0.00806427001953125, -0.00878143310546875, -0.03985595703125, -0.01148223876953125, 0.01088714599609375, 0.09295654296875, 0.007549285888671875, -0.017913818359375, 0.0092620849609375, -0.03851318359375, -0.010009765625, -0.01480865478515625, 0.0027599334716796875, -0.06915283203125, -0.0382080078125, 0.040252685546875, 0.0183563232421875, -0.0411376953125, -0.0029582977294921875, -0.0013818740844726562, -0.0277252197265625, 0.0026454925537109375, 0.0011138916015625, 0.0024280548095703125, -0.060455322265625, 0.04736328125, -0.007152557373046875, -0.0027313232421875, 0.0030841827392578125, 0.05706787109375, 0.009246826171875, 0.02239990234375, 0.0225372314453125, -0.00630950927734375, -0.02532958984375, 0.01282501220703125, 0.0222320556640625, 0.002803802490234375, -0.0021610260009765625, -0.0323486328125, 0.0191192626953125, -0.00928497314453125, -0.01016998291015625, -0.00615692138671875, 0.00553131103515625, 0.0138702392578125, -0.05059814453125, 0.0160980224609375, -0.02532958984375, 0.0242156982421875, -0.04937744140625, 0.039306640625, 0.00850677490234375, -0.0015115737915039062, 0.05938720703125, -0.022003173828125, -0.005619049072265625, 0.0400390625, -0.036865234375, -0.044036865234375, 0.0162200927734375, -0.0223388671875, 0.0292205810546875, 0.01203155517578125 ]
867dbdefea837c3437fc86ec626adca409abc93b
Wordpress Stackexchange Q: Remove all users from site except one using WP CLI I would like to remove all users from WordPress site using WP CLI except one (me, as administrator). This command remove every user: wp user delete $(wp user list --field=ID --number=10) Unfortunately (or not), nobody have any role except the administrator. So I cannot filter based on this information. A: Found out you can pass the --exclude option to wp user list to exclude a user by their ID from the list. So let's assume your user ID is 2 then you could do the following: wp user delete $(wp user list --field=ID --exclude=2) And just to be sure all content gets reassigned to you that would be the following command. wp user delete $(wp user list --field=ID --exclude=2) --reassign=2
Q: Remove all users from site except one using WP CLI I would like to remove all users from WordPress site using WP CLI except one (me, as administrator). This command remove every user: wp user delete $(wp user list --field=ID --number=10) Unfortunately (or not), nobody have any role except the administrator. So I cannot filter based on this information. A: Found out you can pass the --exclude option to wp user list to exclude a user by their ID from the list. So let's assume your user ID is 2 then you could do the following: wp user delete $(wp user list --field=ID --exclude=2) And just to be sure all content gets reassigned to you that would be the following command. wp user delete $(wp user list --field=ID --exclude=2) --reassign=2
wordpress
{ "language": "en", "length": 131, "provenance": "stackexchange_00019.jsonl.gz:499268", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/352746" }
[ 0.04052734375, -0.0080718994140625, -0.0211029052734375, -0.0298004150390625, 0.0067291259765625, -0.05108642578125, 0.0565185546875, -0.005420684814453125, 0.0236358642578125, 0.0318603515625, -0.00812530517578125, 0.0004317760467529297, 0.0190277099609375, -0.01447296142578125, -0.006572723388671875, -0.007293701171875, -0.006992340087890625, 0.01560211181640625, -0.0052337646484375, -0.0253753662109375, -0.002552032470703125, -0.017974853515625, 0.005954742431640625, 0.01044464111328125, -0.01010894775390625, 0.005542755126953125, 0.03826904296875, -0.01529693603515625, -0.01232147216796875, -0.029510498046875, -0.00015246868133544922, 0.0257110595703125, -0.0145263671875, 0.038818359375, -0.01837158203125, -0.00832366943359375, -0.030242919921875, 0.0239715576171875, 0.0330810546875, -0.0261077880859375, -0.0038814544677734375, 0.0196075439453125, -0.048553466796875, 0.048980712890625, -0.06005859375, -0.055450439453125, 0.00843048095703125, 0.004764556884765625, 0.04425048828125, -0.019378662109375, 0.0093841552734375, 0.019134521484375, 0.0345458984375, -0.02447509765625, -0.013214111328125, 0.0157623291015625, 0.0287322998046875, 0.01318359375, 0.043701171875, -0.01293182373046875, -0.0438232421875, 0.006336212158203125, 0.01389312744140625, -0.043243408203125, -0.00791168212890625, -0.00885772705078125, -0.049530029296875, 0.0073394775390625, -0.06671142578125, -0.00910186767578125, 0.050079345703125, -0.042327880859375, -0.00921630859375, 0.00348663330078125, -0.01629638671875, -0.0179595947265625, 0.0257110595703125, -0.02178955078125, 0.00543212890625, 0.00826263427734375, 0.0269775390625, -0.0004477500915527344, -0.0699462890625, 0.02655029296875, -0.0015506744384765625, 0.044281005859375, -0.00539398193359375, -0.041168212890625, -0.03179931640625, -0.0203704833984375, -0.028564453125, -0.020050048828125, -0.0631103515625, -0.0020160675048828125, -0.0033130645751953125, -0.0179901123046875, 0.03314208984375, 0.0362548828125, -0.0183868408203125, -0.0340576171875, 0.0137786865234375, -0.0201416015625, -0.04010009765625, -0.0078887939453125, 0.0005421638488769531, 0.037506103515625, -0.012359619140625, 0.03082275390625, 0.0204315185546875, 0.03204345703125, 0.0169525146484375, -0.056488037109375, -0.0094451904296875, 0.01085662841796875, -0.01233673095703125, 0.0009908676147460938, -0.044677734375, -0.0011644363403320312, -0.0293731689453125, -0.00859832763671875, -0.01160430908203125, 0.012664794921875, -0.0418701171875, 0.002712249755859375, -0.0151214599609375, -0.03814697265625, -0.0022258758544921875, 0.015899658203125, -0.009063720703125, -0.0233612060546875, -0.02838134765625, 0.02093505859375, 0.053192138671875, 0.038238525390625, 0.0044708251953125, -0.0022411346435546875, 0.01812744140625, 0.0004239082336425781, 0.0364990234375, 0.018310546875, 0.00791168212890625, -0.053955078125, -0.0163421630859375, 0.0259552001953125, 0.032501220703125, 0.035552978515625, -0.005100250244140625, -0.021881103515625, 0.025665283203125, 0.00145721435546875, -0.05169677734375, -0.001739501953125, 0.003261566162109375, 0.033355712890625, 0.059356689453125, -0.005062103271484375, 0.0672607421875, -0.038787841796875, 0.01342010498046875, -0.0225372314453125, -0.0031871795654296875, 0.0166168212890625, 0.04083251953125, 0.0126495361328125, -0.0235137939453125, -0.016082763671875, -0.015380859375, -0.0194854736328125, 0.03759765625, -0.004467010498046875, -0.002529144287109375, -0.044036865234375, 0.07720947265625, 0.035919189453125, 0.0038089752197265625, 0.0594482421875, -0.0191497802734375, 0.0213470458984375, -0.007686614990234375, 0.029266357421875, -0.00601959228515625, -0.04986572265625, 0.0185699462890625, 0.0049591064453125, -0.0516357421875, -0.033111572265625, 0.016326904296875, 0.047637939453125, 0.04193115234375, 0.02716064453125, 0.0543212890625, -0.003116607666015625, 0.0171051025390625, -0.0059967041015625, -0.00846099853515625, -0.0430908203125, -0.0225982666015625, -0.007526397705078125, -0.0217437744140625, 0.040252685546875, 0.07763671875, -0.041473388671875, 0.036865234375, -0.054046630859375, -0.1143798828125, -0.00017070770263671875, -0.04254150390625, 0.01325225830078125, -0.005130767822265625, -0.00260162353515625, 0.0181427001953125, 0.0049591064453125, -0.036865234375, 0.00499725341796875, -0.035736083984375, -0.02398681640625, -0.001186370849609375, 0.06280517578125, 0.002765655517578125, 0.05633544921875, -0.00775909423828125, -0.0243682861328125, 0.0117034912109375, 0.0010423660278320312, 0.03729248046875, -0.02093505859375, -0.006175994873046875, -0.0211334228515625, 0.062225341796875, -0.0228271484375, 0.0259246826171875, 0.033843994140625, 0.025848388671875, 0.030975341796875, -0.0499267578125, 0.006317138671875, -0.0240478515625, 0.00960540771484375, -0.01140594482421875, 0.0341796875, 0.0222015380859375, 0.02911376953125, -0.003643035888671875, 0.005100250244140625, 0.0701904296875, -0.01324462890625, 0.00402069091796875, -0.00014257431030273438, -0.002368927001953125, 0.047088623046875, 0.0220184326171875, 0.0157928466796875, 0.0043182373046875, -0.029205322265625, 0.006439208984375, 0.044281005859375, 0.00278472900390625, 0.0256500244140625, -0.016357421875, -0.023956298828125, 0.0116424560546875, -0.061065673828125, -0.0438232421875, -0.0263519287109375, -0.006000518798828125, -0.054412841796875, -0.03009033203125, -0.02447509765625, -0.0003628730773925781, -0.043365478515625, 0.039031982421875, -0.0246734619140625, 0.01042938232421875, 0.04547119140625, 0.006961822509765625, 0.0240020751953125, -0.020965576171875, -0.023284912109375, 0.005584716796875, 0.027069091796875, 0.0023632049560546875, -0.00222015380859375, 0.07379150390625, -0.00174713134765625, 0.02783203125, -0.01282501220703125, 0.06365966796875, -0.00439453125, -0.052154541015625, -0.043701171875, -0.015106201171875, 0.034271240234375, -0.003360748291015625, 0.01212310791015625, 0.00003439188003540039, -0.01340484619140625, -0.00783538818359375, -0.0191497802734375, -0.00002086162567138672, 0.0004394054412841797, 0.0223541259765625, 0.06329345703125, 0.049896240234375, -0.040435791015625, -0.00800323486328125, 0.01433563232421875, 0.01430511474609375, -0.0071868896484375, -0.01013946533203125, 0.006389617919921875, -0.0399169921875, 0.0024890899658203125, 0.0051422119140625, 0.0168304443359375, -0.00997161865234375, -0.0247955322265625, -0.0080413818359375, -0.0035495758056640625, -0.04876708984375, -0.028961181640625, 0.0008950233459472656, -0.045379638671875, -0.0018711090087890625, -0.0160064697265625, -0.01806640625, 0.0053253173828125, -0.00058746337890625, 0.0043487548828125, 0.0091400146484375, -0.00626373291015625, -0.0030193328857421875, 0.008392333984375, -0.021270751953125, 0.0152587890625, -0.00548553466796875, 0.00432586669921875, 0.01515960693359375, 0.08331298828125, 0.0089874267578125, -0.0714111328125, -0.020233154296875, 0.01934814453125, -0.02777099609375, 0.0079345703125, 0.017333984375, -0.0340576171875, -0.016632080078125, 0.0106353759765625, 0.058990478515625, -0.003559112548828125, -0.0170440673828125, -0.01511383056640625, 0.0257720947265625, -0.0404052734375, 0.00962066650390625, -0.0167999267578125, -0.03924560546875, -0.026947021484375, -0.007904052734375, -0.06512451171875, 0.010650634765625, 0.0088348388671875, 0.0035247802734375, 0.04425048828125, -0.0063323974609375, -0.0380859375, 0.031097412109375, 0.0115509033203125, 0.0195770263671875, 0.028106689453125, -0.0269775390625, 0.03399658203125, 0.0099945068359375, 0.003894805908203125, 0.003963470458984375, 0.0086669921875, 0.0447998046875, -0.024566650390625, -0.028228759765625, 0.00010889768600463867, -0.014678955078125, -0.00588226318359375, -0.0114898681640625, 0.00553131103515625, -0.0206756591796875, 0.05633544921875, 0.034698486328125, 0.01534271240234375, -0.0163421630859375, -0.0430908203125, -0.0044097900390625, 0.0828857421875, -0.016326904296875, -0.038482666015625, -0.00923919677734375, 0.00772857666015625, 0.00681304931640625, -0.01035308837890625, -0.0035839080810546875, -0.0361328125, -0.075439453125, 0.01300048828125, 0.0026645660400390625, -0.01480865478515625, -0.01953125, -0.00391387939453125, -0.039642333984375, -0.034698486328125, 0.019927978515625, -0.03314208984375, 0.048095703125, -0.052947998046875, 0.0176239013671875, -0.055755615234375, 0.007305145263671875, -0.042083740234375, -0.04852294921875, 0.0022029876708984375, -0.00830841064453125, 0.0149078369140625, -0.0224609375, 0.04364013671875, -0.03564453125, 0.0100555419921875, -0.01340484619140625, 0.0208587646484375, -0.035369873046875, -0.016204833984375, 0.01349639892578125, 0.01032257080078125, -0.0234527587890625, 0.01605224609375, -0.00543975830078125, -0.030548095703125, -0.0028629302978515625, -0.01236724853515625, -0.053131103515625, 0.0171966552734375, -0.02996826171875, -0.021209716796875, -0.052886962890625, -0.066650390625, -0.06170654296875, -0.022552490234375, -0.014739990234375, -0.0152587890625, -0.06805419921875, -0.036712646484375, 0.045562744140625, 0.03460693359375, -0.01513671875, 0.003597259521484375, 0.058502197265625, 0.00955963134765625, -0.045379638671875, -0.05419921875, -0.00013530254364013672, 0.027618408203125, -0.0207672119140625, 0.06610107421875, 0.04998779296875, -0.00010204315185546875, 0.019195556640625, 0.004795074462890625, 0.01407623291015625, -0.01364898681640625, 0.037017822265625, 0.001506805419921875, -0.032989501953125, 0.016510009765625, -0.011627197265625, -0.00580596923828125, -0.00421905517578125, 0.0155181884765625, -0.016815185546875, 0.037384033203125, 0.012908935546875, 0.025543212890625, -0.05047607421875, -0.032745361328125, -0.047760009765625, 0.0059661865234375, -0.088134765625, 0.004978179931640625, -0.0104522705078125, 0.0054779052734375, 0.01074981689453125, 0.0259552001953125, -0.00453948974609375, -0.0273590087890625, 0.0033473968505859375, -0.035675048828125, 0.029266357421875, -0.036712646484375, -0.0276336669921875, -0.0222930908203125, -0.0265655517578125, 0.078857421875, 0.022186279296875, -0.061309814453125, 0.05157470703125, -0.033172607421875, 0.0357666015625, 0.0264739990234375, 0.03057861328125, 0.06207275390625, -0.004787445068359375, -0.0126190185546875, -0.0189971923828125, -0.032989501953125, -0.013824462890625, -0.06475830078125, 0.005855560302734375, -0.0035915374755859375, -0.0197296142578125, 0.0283203125, 0.006134033203125, -0.0026073455810546875, 0.00909423828125, -0.005298614501953125, 0.04150390625, 0.0224609375, 0.0230712890625, -0.0009007453918457031, 0.016571044921875, -0.02294921875, 0.03125, -0.00164031982421875, -0.02288818359375, 0.007778167724609375, 0.0433349609375, 0.037261962890625, 0.0653076171875, 0.007083892822265625, -0.04486083984375, -0.03271484375, 0.006931304931640625, 0.04815673828125, 0.00665283203125, -0.0404052734375, -0.028472900390625, -0.0034332275390625, 0.0214385986328125, -0.037506103515625, 0.00708770751953125, -0.01529693603515625, -0.01207733154296875, -0.03851318359375, 0.092529296875, -0.05059814453125, -0.0233612060546875, -0.02093505859375, -0.006500244140625, -0.00992584228515625, 0.00209808349609375, -0.0176239013671875, -0.0152740478515625, -0.0177001953125, -0.0257720947265625, 0.049560546875, 0.01157379150390625, -0.0034770965576171875, -0.034576416015625, 0.0184326171875, -0.029022216796875, -0.0171051025390625, 0.0731201171875, 0.038177490234375, 0.0017766952514648438, 0.0106964111328125, -0.0447998046875, -0.037261962890625, -0.015655517578125, -0.0284576416015625, -0.0426025390625, -0.01503753662109375, 0.01910400390625, -0.005367279052734375, 0.0209197998046875, -0.0017404556274414062, -0.0057525634765625, 0.052001953125, 0.0265960693359375, 0.004230499267578125, -0.0303192138671875, 0.0264739990234375, -0.0032138824462890625, 0.01212310791015625, -0.01136016845703125, 0.024658203125, 0.041015625, -0.03167724609375, 0.0291595458984375, -0.01123809814453125, -0.038818359375, -0.050750732421875, 0.0037403106689453125, -0.026458740234375, 0.02679443359375, -0.022979736328125, -0.0235748291015625, 0.0052642822265625, 0.00710296630859375, -0.03509521484375, 0.004180908203125, 0.0228271484375, 0.003997802734375, -0.033538818359375, 0.0086212158203125, 0.045806884765625, 0.0009179115295410156, 0.00782012939453125, -0.0224609375, 0.0019817352294921875, 0.0026111602783203125, -0.008148193359375, 0.003978729248046875, 0.037933349609375, 0.032958984375, -0.0278778076171875, 0.0232696533203125, 0.027099609375, 0.01235198974609375, 0.022735595703125, -0.0207977294921875, -0.023284912109375, 0.01873779296875, 0.0176849365234375, -0.0157012939453125, 0.006267547607421875, 0.01499176025390625, -0.01013946533203125, 0.006229400634765625, 0.059051513671875, 0.049652099609375, -0.09356689453125, 0.0223541259765625, -0.00807952880859375, 0.0093536376953125, 0.0304107666015625, -0.033447265625, -0.0108642578125, -0.05792236328125, 0.049530029296875, 0.040771484375, -0.02813720703125, -0.001621246337890625, 0.0008530616760253906, -0.0118865966796875, -0.01198577880859375, 0.00363922119140625, 0.007595062255859375, 0.01322174072265625, -0.000024318695068359375, 0.006954193115234375, 0.00009769201278686523, 0.015777587890625, -0.0008478164672851562, -0.00490570068359375, -0.028167724609375, -0.07171630859375, -0.02593994140625, -0.0261688232421875, -0.03692626953125, 0.05877685546875, -0.002674102783203125, 0.01482391357421875, 0.0413818359375, -0.01267242431640625, 0.01233673095703125, 0.0084686279296875, -0.033203125, -0.06689453125, -0.051513671875, 0.01422119140625, 0.01305389404296875, -0.09063720703125, 0.040802001953125, -0.05108642578125, -0.0162811279296875, -0.01142120361328125, -0.01456451416015625, 0.0804443359375, -0.054901123046875, -0.004467010498046875, 0.0159912109375, 0.022918701171875, 0.0038661956787109375, 0.007366180419921875, -0.004390716552734375, -0.04559326171875, -0.0280609130859375, -0.0008153915405273438, -0.03143310546875, 0.01317596435546875, 0.0182037353515625, -0.06231689453125, 0.06842041015625, -0.0114898681640625, 0.03472900390625, 0.0012807846069335938, 0.0157470703125, 0.01122283935546875, 0.0175323486328125, -0.04803466796875, 0.07061767578125, 0.03839111328125, 0.07025146484375, -0.021697998046875, -0.01424407958984375, 0.03729248046875, 0.040313720703125, 0.0914306640625, 0.0286865234375, -0.01617431640625, -0.017608642578125, 0.0217742919921875, 0.01220703125, -0.0308990478515625, 0.056365966796875, 0.00394439697265625, -0.00714111328125, 0.0024089813232421875, -0.004863739013671875, 0.0428466796875, -0.048248291015625, -0.030609130859375, 0.002716064453125, 0.0083465576171875, 0.00798797607421875, 0.036590576171875, 0.053466796875, -0.0218658447265625, 0.0189208984375, 0.00682830810546875, 0.0047454833984375, 0.007732391357421875, 0.018157958984375, -0.01010894775390625, -0.0233612060546875, -0.006641387939453125, -0.0302581787109375, 0.0300445556640625, -0.00409698486328125, 0.004673004150390625, 0.04852294921875, 0.0222625732421875, 0.00734710693359375, 0.00376129150390625, 0.01123046875, 0.011810302734375, -0.0171661376953125, 0.034332275390625, 0.0164642333984375, 0.0231781005859375, -0.024017333984375, 0.023834228515625, 0.0282745361328125, 0.035064697265625, -0.039337158203125, -0.050323486328125, 0.01922607421875, 0.030303955078125, 0.0181427001953125, 0.0283355712890625, 0.04486083984375, -0.04071044921875, 0.0360107421875, -0.06494140625, 0.0218505859375, 0.030426025390625, 0.01497650146484375, -0.0177154541015625, -0.0107421875, -0.0242767333984375, 0.02490234375, -0.005252838134765625, -0.0208892822265625, -0.001438140869140625, -0.02069091796875, 0.0213623046875, -0.01303863525390625, 0.06201171875, 0.01016998291015625, -0.00022292137145996094, 0.0233154296875, -0.00269317626953125, -0.0239105224609375, -0.0033702850341796875, -0.039459228515625, 0.0042724609375, 0.0217437744140625, 0.0074005126953125, 0.00042748451232910156, 0.036468505859375, 0.05108642578125, -0.030242919921875, -0.0269012451171875, 0.00408172607421875, -0.021881103515625, -0.0093231201171875, 0.01885986328125, -0.0003135204315185547, 0.0214996337890625, -0.0225372314453125, -0.0138702392578125, 0.07012939453125, 0.01074981689453125, -0.01532745361328125, 0.002864837646484375, 0.00382232666015625, -0.017730712890625, 0.0438232421875, 0.0254058837890625, 0.00904083251953125, 0.01702880859375, -0.053466796875, -0.020782470703125, -0.0233306884765625, 0.048309326171875, 0.0058135986328125, 0.01800537109375, -0.011993408203125, 0.035614013671875, 0.055450439453125, -0.0086822509765625, 0.0080108642578125, 0.0163421630859375, 0.01351165771484375, -0.00887298583984375, 0.042022705078125, 0.00647735595703125, -0.0034923553466796875, -0.0012607574462890625, 0.020751953125, 0.01287078857421875, 0.007328033447265625, 0.0311126708984375, 0.00007355213165283203, 0.00719451904296875, -0.02587890625, 0.040313720703125, -0.037384033203125, -0.04718017578125, 0.0282440185546875, 0.0054779052734375, 0.0171661376953125, -0.006404876708984375, -0.045867919921875, 0.0352783203125, 0.007457733154296875, -0.003856658935546875, 0.06243896484375, -0.042510986328125, 0.0019779205322265625, -0.00934600830078125, 0.01548004150390625, -0.0296173095703125, -0.0216217041015625, -0.064697265625, -0.0287322998046875, 0.044219970703125, 0.0369873046875, -0.009429931640625, 0.0203704833984375, -0.025970458984375, -0.035491943359375, -0.01314544677734375, -0.0198822021484375, -0.0396728515625, 0.0177764892578125, 0.0280303955078125, -0.01910400390625, -0.01898193359375, -0.0081634521484375, -0.023040771484375, 0.02447509765625, -0.0148468017578125, 0.01129913330078125, -0.037139892578125, -0.0445556640625, -0.0226287841796875, 0.0252227783203125, 0.0223541259765625, 0.0020313262939453125, -0.046966552734375, -0.01214599609375, -0.037200927734375, -0.033905029296875, -0.0177001953125, -0.01502227783203125, -0.0082855224609375, 0.0294189453125, -0.0176239013671875, -0.04437255859375, -0.0672607421875, -0.0127105712890625, -0.006542205810546875, 0.00572967529296875, -0.038177490234375, 0.0615234375, -0.0178985595703125, -0.047027587890625, -0.035614013671875, 0.01277923583984375, -0.0253753662109375, -0.0152435302734375, -0.03924560546875, -0.0616455078125, -0.04376220703125, 0.0682373046875, -0.04437255859375, -0.003971099853515625, 0.02703857421875, 0.0182647705078125, -0.006191253662109375, -0.0205230712890625, -0.043975830078125, 0.041290283203125, -0.0504150390625, -0.0195465087890625, -0.0178985595703125, 0.01284027099609375, 0.00331878662109375, -0.0594482421875, -0.0036334991455078125, -0.01122283935546875, -0.0158233642578125, -0.01190948486328125, 0.021209716796875, 0.0460205078125, -0.0258331298828125, -0.09490966796875, 0.05902099609375, -0.0304412841796875, -0.0333251953125, -0.021270751953125, 0.0149078369140625, 0.01244354248046875, -0.0199737548828125, -0.0209197998046875, 0.016265869140625, -0.01406097412109375, 0.0211334228515625, 0.00807952880859375, -0.01282501220703125, -0.002414703369140625, 0.0012149810791015625, -0.030731201171875, 0.044952392578125, 0.050628662109375, 0.01483154296875, 0.0162506103515625, -0.006786346435546875, 0.050079345703125, 0.06512451171875, 0.000006496906280517578, 0.06402587890625, 0.007732391357421875, -0.0526123046875, -0.02880859375, 0.01529693603515625, -0.045196533203125, -0.017059326171875, 0.08349609375, 0.08221435546875, 0.0291595458984375, -0.01416778564453125, -0.058074951171875, -0.018524169921875, 0.058502197265625, -0.0274505615234375, -0.003528594970703125, -0.072998046875, -0.022369384765625, 0.005237579345703125, -0.0179443359375, 0.019134521484375, -0.002353668212890625, -0.048187255859375, 0.009185791015625, 0.01152801513671875, 0.009002685546875, -0.0614013671875, 0.008544921875, 0.01092529296875, -0.032012939453125, -0.043609619140625, -0.031646728515625, 0.00751495361328125, -0.02911376953125, -0.058746337890625, -0.042694091796875, -0.037628173828125, -0.0148162841796875, 0.0684814453125, -0.040374755859375, 0.06439208984375, -0.08526611328125, 0.0070343017578125, -0.029296875, 0.028076171875, 0.00830078125, 0.04052734375, 0.0256195068359375, 0.01169586181640625, 0.050048828125, -0.0222930908203125, 0.012298583984375, 0.01204681396484375, -0.046661376953125, 0.06671142578125, 0.01004791259765625, -0.032806396484375, 0.037811279296875, -0.0095367431640625, -0.0111236572265625, 0.029205322265625, -0.02276611328125, -0.08306884765625, 0.052642822265625, 0.080078125, 0.037078857421875, 0.02813720703125 ]
5b5eb4b63958f04905b3803ee587cbd39c239023
Wordpress Stackexchange Q: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) I have made wordpress pages on divi builder on m localhost and they were working fine without any problem but when i installed divi on my online website its giving me the error Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) I tried changing the define( 'WP_MEMORY_LIMIT', '40M' ); in both my wp-config and default-constants.php file but its still giving the same error! This error appears when ever I open my homepage. I searched online for man solutions but still cant find a solution :( A: Add the following at the top of wp-config.php: ini_set('memory_limit','128M'); Although you should use WP_MEMORY_LIMIT when you can, we see in /wp-includes/default-constants.php that Wordpress doesn't do much more than use ini_set itself. Note: This is just one more thing to try, but you'll likely end up having to have your host fix this issue.
Q: Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) I have made wordpress pages on divi builder on m localhost and they were working fine without any problem but when i installed divi on my online website its giving me the error Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) I tried changing the define( 'WP_MEMORY_LIMIT', '40M' ); in both my wp-config and default-constants.php file but its still giving the same error! This error appears when ever I open my homepage. I searched online for man solutions but still cant find a solution :( A: Add the following at the top of wp-config.php: ini_set('memory_limit','128M'); Although you should use WP_MEMORY_LIMIT when you can, we see in /wp-includes/default-constants.php that Wordpress doesn't do much more than use ini_set itself. Note: This is just one more thing to try, but you'll likely end up having to have your host fix this issue.
wordpress
{ "language": "en", "length": 160, "provenance": "stackexchange_00019.jsonl.gz:499318", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/352882" }
[ -0.0016698837280273438, -0.055328369140625, -0.0205535888671875, -0.0247955322265625, -0.032012939453125, -0.0225372314453125, -0.00933837890625, 0.0220489501953125, 0.05877685546875, -0.002285003662109375, -0.09576416015625, -0.04052734375, 0.013885498046875, 0.0087738037109375, -0.035736083984375, -0.0511474609375, 0.03680419921875, -0.0003998279571533203, 0.02081298828125, -0.00034928321838378906, -0.01509857177734375, 0.0262908935546875, -0.00146484375, 0.059295654296875, -0.00510406494140625, -0.019561767578125, 0.0233154296875, -0.021026611328125, -0.042266845703125, -0.055267333984375, 0.00035452842712402344, 0.061676025390625, 0.0305633544921875, -0.01026153564453125, -0.01134490966796875, -0.00597381591796875, 0.0323486328125, -0.02081298828125, -0.01523590087890625, 0.0316162109375, -0.00042247772216796875, -0.0036678314208984375, 0.035400390625, 0.019622802734375, -0.0188751220703125, -0.0281219482421875, 0.0162506103515625, -0.0211334228515625, 0.037628173828125, -0.030487060546875, 0.003826141357421875, 0.01641845703125, 0.0223541259765625, -0.020172119140625, -0.048309326171875, -0.04052734375, 0.004489898681640625, -0.004974365234375, 0.0110626220703125, 0.0184326171875, -0.0022125244140625, 0.0181121826171875, -0.0015745162963867188, -0.0198974609375, -0.0181884765625, -0.00778961181640625, 0.0110015869140625, 0.00962066650390625, -0.0024204254150390625, -0.0017862319946289062, 0.011260986328125, -0.0030078887939453125, -0.042449951171875, -0.022430419921875, 0.0019292831420898438, -0.01157379150390625, 0.0302581787109375, -0.033172607421875, -0.024169921875, 0.0361328125, -0.000024199485778808594, 0.004619598388671875, -0.07275390625, 0.01023101806640625, 0.0010099411010742188, 0.0443115234375, -0.0205841064453125, -0.0391845703125, 0.02349853515625, -0.0194091796875, 0.0017223358154296875, -0.0018358230590820312, 0.005462646484375, -0.00324249267578125, -0.0226898193359375, -0.04058837890625, 0.0237274169921875, 0.028472900390625, -0.03607177734375, -0.0008764266967773438, 0.01338958740234375, -0.050628662109375, 0.06805419921875, -0.040069580078125, 0.012115478515625, 0.0182952880859375, -0.0243377685546875, 0.0024433135986328125, 0.026031494140625, 0.032135009765625, -0.017913818359375, -0.041900634765625, 0.0206146240234375, -0.043548583984375, 0.022125244140625, 0.01136016845703125, -0.0007624626159667969, 0.04742431640625, 0.033843994140625, -0.007503509521484375, 0.00189208984375, 0.01541900634765625, -0.008270263671875, 0.0005626678466796875, 0.005832672119140625, 0.0017652511596679688, -0.0233917236328125, -0.00817108154296875, -0.007061004638671875, 0.032745361328125, 0.0040435791015625, 0.002368927001953125, -0.0443115234375, 0.007717132568359375, -0.01222991943359375, -0.0081939697265625, 0.060333251953125, -0.0084075927734375, 0.0019330978393554688, 0.000012993812561035156, 0.019622802734375, 0.004100799560546875, -0.0185394287109375, -0.006011962890625, -0.0039520263671875, -0.005435943603515625, 0.016845703125, 0.0223388671875, 0.01476287841796875, -0.01177215576171875, -0.0289459228515625, 0.0214691162109375, 0.028594970703125, 0.007442474365234375, -0.0259552001953125, 0.005573272705078125, 0.05279541015625, -0.017791748046875, -0.05804443359375, -0.04693603515625, -0.012176513671875, 0.0168914794921875, 0.0718994140625, -0.03173828125, -0.023040771484375, -0.032806396484375, -0.0587158203125, -0.0027599334716796875, 0.0281829833984375, -0.00815582275390625, 0.0241546630859375, -0.0291290283203125, -0.00798797607421875, -0.0036468505859375, -0.0026111602783203125, 0.0187530517578125, -0.01511383056640625, -0.01568603515625, 0.039398193359375, 0.033416748046875, 0.00693511962890625, -0.005706787109375, 0.061309814453125, -0.008819580078125, -0.0184326171875, -0.021728515625, 0.0037593841552734375, -0.0133819580078125, 0.0364990234375, 0.01374053955078125, 0.01340484619140625, -0.00408172607421875, -0.0171051025390625, -0.00276947021484375, -0.02099609375, -0.036163330078125, 0.007396697998046875, -0.01146697998046875, -0.0010042190551757812, 0.0374755859375, 0.061309814453125, 0.0207366943359375, -0.049346923828125, -0.055572509765625, -0.12371826171875, -0.0159912109375, -0.019683837890625, 0.03765869140625, -0.005985260009765625, 0.0196685791015625, 0.020050048828125, 0.02001953125, -0.019622802734375, -0.0230560302734375, -0.032623291015625, -0.00782012939453125, -0.0160675048828125, 0.06634521484375, 0.00821685791015625, 0.0625, 0.0020771026611328125, -0.05035400390625, 0.0065765380859375, -0.0119781494140625, 0.026275634765625, -0.03192138671875, -0.005222320556640625, -0.0216217041015625, 0.052642822265625, -0.0178375244140625, 0.03729248046875, 0.045684814453125, 0.021087646484375, 0.018035888671875, -0.052642822265625, -0.0238494873046875, -0.051422119140625, -0.040374755859375, 0.0001456737518310547, 0.07208251953125, 0.04046630859375, 0.057159423828125, -0.0199737548828125, -0.004627227783203125, 0.07073974609375, -0.039794921875, -0.005100250244140625, 0.003101348876953125, 0.01058197021484375, 0.022735595703125, -0.0181732177734375, 0.0039215087890625, 0.03326416015625, 0.03802490234375, -0.005584716796875, 0.038909912109375, -0.038360595703125, -0.0743408203125, -0.0192413330078125, 0.03411865234375, 0.0233001708984375, 0.005992889404296875, -0.0180511474609375, 0.026214599609375, -0.044952392578125, 0.028961181640625, -0.0181121826171875, -0.0035076141357421875, -0.0197601318359375, 0.024932861328125, 0.029693603515625, -0.021697998046875, 0.005855560302734375, -0.039276123046875, -0.0195770263671875, 0.01163482666015625, -0.036224365234375, 0.031585693359375, 0.005519866943359375, -0.01543426513671875, -0.05401611328125, -0.006687164306640625, -0.070068359375, -0.019500732421875, -0.01428985595703125, -0.059661865234375, -0.007442474365234375, -0.02459716796875, 0.019805908203125, -0.00420379638671875, 0.016632080078125, 0.01351165771484375, -0.0172271728515625, 0.029876708984375, 0.051513671875, -0.04241943359375, 0.0703125, -0.030914306640625, 0.0135955810546875, -0.01520538330078125, 0.0948486328125, 0.04083251953125, -0.035980224609375, 0.029022216796875, -0.0038089752197265625, 0.039825439453125, 0.034942626953125, -0.0099029541015625, -0.00917816162109375, -0.01424407958984375, -0.0163726806640625, -0.004291534423828125, 0.0301055908203125, -0.0037021636962890625, 0.038360595703125, 0.01108551025390625, 0.0170135498046875, 0.0289764404296875, -0.0290374755859375, -0.06060791015625, -0.039031982421875, -0.040435791015625, 0.001071929931640625, 0.0287933349609375, -0.0150604248046875, 0.0081329345703125, 0.03680419921875, 0.0193328857421875, -0.017578125, -0.0186614990234375, -0.01947021484375, -0.07293701171875, -0.053009033203125, -0.07098388671875, -0.007175445556640625, -0.01145172119140625, 0.0005621910095214844, 0.04144287109375, -0.0019664764404296875, -0.044158935546875, -0.031707763671875, 0.004329681396484375, -0.022857666015625, -0.013946533203125, -0.0254669189453125, -0.000053048133850097656, 0.00501251220703125, 0.0013151168823242188, 0.0118408203125, 0.013763427734375, -0.00665283203125, -0.01056671142578125, 0.0084381103515625, 0.0258026123046875, -0.00385284423828125, 0.0653076171875, -0.0084991455078125, -0.02154541015625, 0.01074981689453125, -0.053070068359375, -0.0052032470703125, -0.0185394287109375, -0.05548095703125, 0.00893402099609375, 0.065185546875, -0.02008056640625, -0.00746917724609375, -0.050445556640625, -0.01158905029296875, 0.032379150390625, -0.0019044876098632812, -0.01210784912109375, 0.048614501953125, -0.0157318115234375, -0.038177490234375, -0.007678985595703125, 0.07330322265625, 0.00669097900390625, -0.0069580078125, 0.0298004150390625, -0.0161895751953125, -0.00991058349609375, -0.01514434814453125, -0.042144775390625, -0.0303802490234375, 0.0408935546875, 0.01134490966796875, 0.0081024169921875, 0.0035114288330078125, -0.038848876953125, 0.0179595947265625, 0.090576171875, -0.028656005859375, -0.02490234375, -0.00887298583984375, 0.0081787109375, -0.002658843994140625, -0.02239990234375, 0.01105499267578125, -0.0099945068359375, 0.007457733154296875, -0.0033931732177734375, -0.0178375244140625, -0.01715087890625, -0.0192108154296875, -0.005733489990234375, 0.007843017578125, -0.0295562744140625, 0.0192108154296875, -0.012542724609375, -0.00858306884765625, 0.0186004638671875, -0.0216827392578125, -0.00983428955078125, -0.0003428459167480469, -0.021270751953125, -0.140380859375, -0.0194091796875, -0.024261474609375, 0.07391357421875, -0.0289154052734375, 0.0504150390625, -0.043212890625, 0.05908203125, -0.00823974609375, 0.0228271484375, 0.00908660888671875, 0.00771331787109375, 0.031646728515625, 0.03851318359375, 0.01401519775390625, 0.0002636909484863281, -0.03741455078125, -0.040283203125, -0.0037708282470703125, 0.03717041015625, -0.00021600723266601562, 0.022491455078125, -0.0089263916015625, 0.0180206298828125, -0.01099395751953125, -0.009796142578125, 0.00152587890625, 0.061981201171875, -0.017608642578125, 0.023590087890625, -0.045196533203125, -0.038055419921875, 0.06622314453125, 0.006267547607421875, 0.0120086669921875, -0.0007748603820800781, 0.07684326171875, -0.01395416259765625, -0.039337158203125, -0.0623779296875, -0.0164947509765625, 0.04254150390625, 0.0433349609375, -0.003864288330078125, -0.0186614990234375, -0.0335693359375, 0.05120849609375, 0.038482666015625, -0.024566650390625, 0.040679931640625, -0.025482177734375, 0.031951904296875, -0.03302001953125, 0.0020961761474609375, 0.0272674560546875, 0.00627899169921875, 0.032073974609375, -0.014678955078125, 0.026336669921875, -0.03643798828125, 0.007404327392578125, 0.01293182373046875, -0.01776123046875, -0.035369873046875, -0.0251312255859375, 0.0247039794921875, -0.058624267578125, 0.033782958984375, -0.005886077880859375, 0.011505126953125, 0.0078887939453125, 0.01055145263671875, -0.02197265625, -0.0079345703125, 0.0213470458984375, 0.0109100341796875, 0.0445556640625, -0.00440216064453125, 0.01421356201171875, -0.0460205078125, 0.0006265640258789062, 0.01180267333984375, 0.00716400146484375, -0.0171356201171875, -0.033172607421875, 0.0015277862548828125, 0.035400390625, -0.003528594970703125, -0.0129547119140625, 0.0153045654296875, 0.0171966552734375, -0.005550384521484375, 0.00487518310546875, 0.01332855224609375, -0.04156494140625, -0.02728271484375, 0.032623291015625, -0.005767822265625, -0.003063201904296875, 0.05035400390625, 0.029754638671875, 0.0251922607421875, 0.01331329345703125, -0.02337646484375, 0.003467559814453125, 0.00443267822265625, 0.072998046875, 0.050079345703125, -0.053009033203125, -0.024627685546875, 0.06378173828125, -0.0230865478515625, -0.01151275634765625, -0.020965576171875, 0.0184173583984375, 0.00789642333984375, -0.05572509765625, -0.0031414031982421875, 0.0584716796875, 0.037689208984375, 0.0119171142578125, 0.0278472900390625, -0.06793212890625, -0.09246826171875, 0.0001895427703857422, 0.0182952880859375, 0.0245819091796875, -0.07861328125, 0.01517486572265625, 0.0047760009765625, 0.0234527587890625, 0.0194244384765625, 0.033416748046875, -0.036834716796875, 0.0016202926635742188, 0.00510406494140625, 0.01483917236328125, -0.0305938720703125, 0.0013971328735351562, -0.04632568359375, 0.027313232421875, -0.02972412109375, 0.0058135986328125, 0.027069091796875, -0.027984619140625, -0.004482269287109375, -0.015289306640625, 0.0156707763671875, 0.03460693359375, 0.0377197265625, -0.0145416259765625, -0.03704833984375, 0.025909423828125, -0.0018224716186523438, -0.020721435546875, -0.043304443359375, 0.01288604736328125, -0.00760650634765625, -0.048797607421875, -0.0235443115234375, -0.01042938232421875, 0.00897979736328125, 0.0064697265625, 0.0304718017578125, -0.007350921630859375, 0.017822265625, -0.00878143310546875, 0.022064208984375, -0.047149658203125, -0.00304412841796875, 0.04180908203125, -0.0218658447265625, -0.01580810546875, -0.0209503173828125, 0.048675537109375, -0.01194000244140625, 0.020751953125, -0.0036945343017578125, -0.0292510986328125, -0.05133056640625, -0.001163482666015625, -0.01180267333984375, 0.052886962890625, -0.0238494873046875, -0.0023632049560546875, -0.0208587646484375, -0.00553131103515625, -0.040740966796875, 0.060272216796875, -0.0047149658203125, 0.04205322265625, -0.0207977294921875, -0.01354217529296875, -0.00113677978515625, -0.00417327880859375, -0.0182342529296875, 0.01349639892578125, 0.005290985107421875, 0.00563812255859375, -0.0172882080078125, 0.00046372413635253906, 0.032562255859375, 0.0732421875, -0.005229949951171875, 0.03802490234375, 0.054595947265625, 0.0234222412109375, 0.0220947265625, 0.04852294921875, -0.057861328125, -0.063232421875, 0.0006651878356933594, 0.0001609325408935547, -0.055694580078125, -0.0211334228515625, -0.023956298828125, 0.0024776458740234375, 0.0297698974609375, 0.062042236328125, -0.0204620361328125, -0.01210784912109375, -0.0018720626831054688, -0.0462646484375, 0.0257568359375, -0.0131072998046875, 0.0110015869140625, -0.01523590087890625, 0.023681640625, 0.028167724609375, -0.01499176025390625, -0.005107879638671875, 0.0034084320068359375, -0.015625, -0.005298614501953125, -0.004528045654296875, -0.0022449493408203125, -0.033843994140625, 0.0016927719116210938, 0.03076171875, -0.0149993896484375, 0.014617919921875, 0.0196075439453125, -0.053497314453125, -0.0183563232421875, -0.0283966064453125, -0.05877685546875, -0.04632568359375, -0.0159912109375, 0.021820068359375, 0.032989501953125, -0.00946044921875, 0.056884765625, -0.01192474365234375, 0.01471710205078125, 0.048065185546875, -0.061798095703125, 0.04327392578125, -0.02593994140625, 0.033477783203125, 0.0570068359375, -0.04974365234375, 0.0085906982421875, 0.0158233642578125, -0.01361846923828125, 0.00455474853515625, 0.0023632049560546875, 0.0308685302734375, -0.0223541259765625, -0.0036907196044921875, 0.051483154296875, 0.01155853271484375, -0.0386962890625, -0.002529144287109375, 0.0311279296875, -0.023681640625, 0.01220703125, 0.003322601318359375, 0.00836181640625, 0.0024089813232421875, 0.0150909423828125, 0.00592803955078125, 0.07244873046875, -0.0296630859375, -0.0196685791015625, 0.054107666015625, 0.0255584716796875, -0.0423583984375, 0.01345062255859375, -0.029449462890625, 0.058258056640625, 0.0249786376953125, 0.017181396484375, 0.007518768310546875, 0.0009918212890625, 0.020355224609375, 0.0024890899658203125, 0.006023406982421875, 0.01123046875, -0.00611114501953125, 0.002109527587890625, 0.0078887939453125, -0.0232086181640625, -0.035430908203125, 0.0506591796875, -0.00818634033203125, -0.01033782958984375, 0.00830841064453125, -0.0194549560546875, 0.022552490234375, -0.027984619140625, -0.033477783203125, 0.0106048583984375, -0.0203857421875, -0.0265045166015625, -0.00653839111328125, 0.00553131103515625, -0.0231781005859375, 0.005767822265625, -0.00960540771484375, 0.005401611328125, 0.0077362060546875, 0.050750732421875, 0.06597900390625, -0.05615234375, -0.0274200439453125, -0.037261962890625, 0.059814453125, 0.0159454345703125, 0.032684326171875, 0.032257080078125, 0.01082611083984375, 0.033447265625, 0.01218414306640625, 0.013153076171875, 0.02960205078125, -0.01409912109375, 0.0282745361328125, 0.0287628173828125, 0.025146484375, -0.026275634765625, 0.006031036376953125, 0.07000732421875, 0.05126953125, -0.023406982421875, -0.054656982421875, -0.0039520263671875, 0.01456451416015625, 0.038970947265625, 0.0034008026123046875, 0.02392578125, 0.020599365234375, 0.06011962890625, -0.0115966796875, -0.00647735595703125, 0.00820159912109375, -0.00620269775390625, 0.00605010986328125, 0.0284423828125, 0.0233612060546875, 0.0157928466796875, -0.01255035400390625, 0.022308349609375, -0.007236480712890625, 0.01291656494140625, 0.0007610321044921875, -0.0030536651611328125, -0.016815185546875, 0.01186370849609375, -0.04168701171875, 0.05792236328125, 0.0221405029296875, 0.04058837890625, -0.04754638671875, -0.023895263671875, 0.03253173828125, 0.051605224609375, -0.0132293701171875, 0.0016384124755859375, 0.009765625, 0.03131103515625, -0.0048828125, -0.0166473388671875, 0.0283660888671875, -0.017547607421875, 0.006977081298828125, -0.045074462890625, 0.00765228271484375, -0.022796630859375, -0.027130126953125, -0.00414276123046875, 0.01070404052734375, 0.01244354248046875, 0.0306854248046875, -0.018768310546875, 0.034698486328125, 0.0019588470458984375, -0.0089569091796875, 0.049468994140625, -0.04071044921875, 0.0557861328125, -0.052490234375, -0.0205230712890625, -0.01419830322265625, 0.071044921875, -0.00005239248275756836, 0.00901031494140625, -0.0108795166015625, 0.057373046875, -0.005184173583984375, -0.0257110595703125, 0.0226593017578125, 0.0022678375244140625, -0.0008540153503417969, -0.0199127197265625, 0.0242767333984375, -0.0282745361328125, -0.07513427734375, -0.05517578125, -0.0148468017578125, 0.048858642578125, -0.01690673828125, 0.09130859375, -0.0184173583984375, 0.0283355712890625, 0.0146636962890625, -0.0253753662109375, 0.0292816162109375, 0.006038665771484375, 0.00002014636993408203, 0.0022754669189453125, -0.01050567626953125, -0.0260162353515625, -0.06060791015625, 0.036102294921875, 0.012115478515625, 0.005016326904296875, 0.028717041015625, -0.0015573501586914062, 0.01026153564453125, -0.004024505615234375, -0.0204620361328125, -0.030426025390625, -0.0159912109375, -0.00740814208984375, 0.0160675048828125, 0.00943756103515625, -0.0035457611083984375, -0.034088134765625, 0.040283203125, 0.0343017578125, 0.00035858154296875, -0.0040283203125, -0.0181884765625, -0.0009551048278808594, 0.0216217041015625, 0.0064849853515625, -0.09197998046875, -0.0191497802734375, -0.0140533447265625, -0.0421142578125, 0.0019168853759765625, 0.06524658203125, -0.0281219482421875, -0.053924560546875, 0.02532958984375, 0.00628662109375, -0.0011768341064453125, -0.04827880859375, -0.032196044921875, 0.05450439453125, -0.00189208984375, 0.0025386810302734375, 0.0209197998046875, -0.007114410400390625, -0.0469970703125, -0.0235137939453125, -0.00213623046875, -0.03924560546875, -0.00951385498046875, -0.006504058837890625, 0.0196380615234375, 0.02813720703125, 0.0261383056640625, -0.04730224609375, 0.03253173828125, -0.0111846923828125, 0.0233917236328125, 0.0295257568359375, 0.005741119384765625, -0.00327301025390625, 0.016082763671875, -0.02490234375, -0.0758056640625, -0.012359619140625, 0.0638427734375, -0.0311279296875, 0.0223846435546875, 0.06390380859375, -0.00843048095703125, -0.0265045166015625, 0.01398468017578125, -0.00167083740234375, 0.0675048828125, -0.057464599609375, -0.00852203369140625, 0.049102783203125, -0.0140380859375, -0.041839599609375, -0.10772705078125, 0.00458526611328125, -0.10321044921875, 0.0298309326171875, 0.029388427734375, -0.01544952392578125, 0.00777435302734375, -0.033538818359375, -0.031402587890625, -0.01143646240234375, 0.03802490234375, -0.0287628173828125, -0.07147216796875, -0.007495880126953125, -0.0140838623046875, 0.040557861328125, -0.0027027130126953125, -0.020660400390625, -0.037109375, 0.041839599609375, 0.00452423095703125, -0.0136871337890625, 0.029571533203125, -0.0133209228515625, -0.02264404296875, 0.0253753662109375, 0.022247314453125, -0.0036487579345703125, 0.01013946533203125, -0.007366180419921875, 0.05572509765625, 0.08502197265625, 0.006717681884765625, 0.0214691162109375, 0.010467529296875, -0.0634765625, -0.03009033203125, -0.0175323486328125, 0.00878143310546875, 0.0093841552734375, 0.09698486328125, -0.0034942626953125, 0.00788116455078125, -0.0231781005859375, 0.0089569091796875, -0.01103973388671875, -0.0101776123046875, -0.0092926025390625, 0.0090484619140625, -0.0611572265625, -0.0189208984375, 0.005344390869140625, -0.0141143798828125, -0.0189056396484375, 0.03131103515625, -0.0250244140625, -0.010284423828125, -0.0220794677734375, -0.05029296875, -0.0228118896484375, 0.032989501953125, 0.032684326171875, -0.0245513916015625, 0.0144195556640625, -0.004779815673828125, -0.004283905029296875, 0.0111846923828125, -0.0224609375, -0.07489013671875, -0.0009069442749023438, -0.037139892578125, 0.038818359375, -0.0582275390625, 0.08892822265625, -0.04705810546875, 0.0138397216796875, 0.00710296630859375, -0.01334381103515625, -0.0115509033203125, -0.001842498779296875, 0.02764892578125, -0.03558349609375, -0.0186920166015625, 0.00733184814453125, -0.028106689453125, -0.0286712646484375, -0.0225372314453125, 0.0165557861328125, 0.0093231201171875, -0.0068817138671875, 0.05438232421875, -0.025665283203125, 0.005512237548828125, 0.027374267578125, -0.0035648345947265625, 0.0048675537109375, -0.015869140625, 0.024169921875, 0.011077880859375, -0.007053375244140625 ]
2584dc5389a8e0c794bd5ef3627a10f48bfa295e
Wordpress Stackexchange Q: Wordpress twentytwenty theme inline css overriding css body I've just started checking out the Twentytwenty theme but I can't change text color in my pages because the body color is set inline within a <style> tag called twentytwenty-style-inline-css which is generated by wp_head. I understand the importance of these styles, but why override body? I've looked all over and I cannot seem to find how to stop wp_head from generating these styles. Is there any way to easily fix this or should I just us an older theme? A: https://wordpress.org/support/topic/remove-inline-styles-5/ add_action( 'wp_enqueue_scripts', function() { $styles = wp_styles(); $styles->add_data( 'twentytwenty-style', 'after', array() ); }, 20 );
Q: Wordpress twentytwenty theme inline css overriding css body I've just started checking out the Twentytwenty theme but I can't change text color in my pages because the body color is set inline within a <style> tag called twentytwenty-style-inline-css which is generated by wp_head. I understand the importance of these styles, but why override body? I've looked all over and I cannot seem to find how to stop wp_head from generating these styles. Is there any way to easily fix this or should I just us an older theme? A: https://wordpress.org/support/topic/remove-inline-styles-5/ add_action( 'wp_enqueue_scripts', function() { $styles = wp_styles(); $styles->add_data( 'twentytwenty-style', 'after', array() ); }, 20 );
wordpress
{ "language": "en", "length": 106, "provenance": "stackexchange_00019.jsonl.gz:499396", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353117" }
[ 0.00600433349609375, -0.0004525184631347656, -0.04022216796875, -0.021697998046875, -0.002361297607421875, -0.0284576416015625, 0.0163116455078125, 0.0113067626953125, 0.002735137939453125, -0.01055908203125, -0.0440673828125, -0.006103515625, -0.00995635986328125, -0.019256591796875, 0.029266357421875, -0.03570556640625, 0.03216552734375, -0.024688720703125, 0.021240234375, 0.0160064697265625, -0.014739990234375, 0.0418701171875, 0.0192718505859375, 0.04315185546875, 0.048736572265625, -0.036865234375, 0.0300750732421875, -0.01415252685546875, 0.0240478515625, -0.01507568359375, 0.028350830078125, -0.0018186569213867188, 0.0231170654296875, 0.041412353515625, -0.0797119140625, -0.03466796875, -0.0469970703125, 0.0273590087890625, -0.0229644775390625, 0.0083465576171875, 0.019439697265625, 0.0032634735107421875, -0.01529693603515625, 0.02301025390625, -0.03387451171875, -0.07537841796875, 0.06597900390625, -0.0008387565612792969, 0.005886077880859375, -0.00036025047302246094, -0.0181884765625, 0.0302276611328125, 0.0180816650390625, -0.0036334991455078125, -0.02197265625, -0.02911376953125, -0.0244140625, -0.00897216796875, 0.030517578125, -0.00506591796875, 0.004299163818359375, -0.028533935546875, 0.00368499755859375, -0.0089111328125, 0.0164642333984375, 0.01371002197265625, 0.059906005859375, 0.0203704833984375, -0.07159423828125, -0.010162353515625, 0.02996826171875, -0.025787353515625, 0.00969696044921875, -0.04498291015625, -0.02130126953125, 0.040313720703125, -0.0297698974609375, -0.0010213851928710938, 0.03607177734375, -0.03839111328125, 0.0301666259765625, 0.0016384124755859375, -0.0013608932495117188, -0.034393310546875, 0.048858642578125, 0.0169525146484375, -0.0011777877807617188, -0.02764892578125, -0.029541015625, -0.01126861572265625, -0.0238189697265625, -0.0242156982421875, -0.0007224082946777344, -0.0281219482421875, -0.0170745849609375, -0.041107177734375, 0.01448822021484375, 0.04962158203125, -0.0222930908203125, 0.049652099609375, 0.0275115966796875, -0.05718994140625, 0.0955810546875, -0.062164306640625, -0.005619049072265625, -0.0036563873291015625, -0.00696563720703125, 0.0195159912109375, 0.0131378173828125, 0.04547119140625, -0.0069427490234375, -0.006458282470703125, 0.035400390625, -0.00820159912109375, -0.034454345703125, -0.0269012451171875, 0.0003998279571533203, 0.0036525726318359375, 0.0258026123046875, -0.00531005859375, -0.0006222724914550781, 0.028533935546875, 0.0110931396484375, -0.0244140625, -0.0169830322265625, -0.0382080078125, 0.0022716522216796875, -0.0273284912109375, 0.03155517578125, -0.01445770263671875, -0.03399658203125, 0.016998291015625, 0.05169677734375, 0.0284271240234375, 0.0285186767578125, -0.0252838134765625, 0.038848876953125, 0.00048279762268066406, 0.006824493408203125, 0.039764404296875, -0.043487548828125, -0.0556640625, 0.005527496337890625, -0.00609588623046875, 0.0108489990234375, 0.0102691650390625, 0.0247802734375, 0.0180816650390625, -0.01169586181640625, -0.03857421875, 0.022430419921875, -0.0173797607421875, 0.0139007568359375, 0.020538330078125, -0.022918701171875, -0.0345458984375, 0.01435089111328125, -0.034088134765625, 0.01027679443359375, -0.032012939453125, -0.01776123046875, 0.0095672607421875, 0.043243408203125, 0.026824951171875, 0.02392578125, -0.022491455078125, -0.006511688232421875, -0.001476287841796875, 0.0286102294921875, 0.0193328857421875, -0.01373291015625, -0.0261077880859375, 0.031158447265625, 0.02923583984375, 0.0005841255187988281, 0.04638671875, 0.0211029052734375, 0.030670166015625, 0.0282745361328125, -0.006580352783203125, -0.04571533203125, -0.05224609375, 0.08087158203125, -0.0526123046875, -0.032867431640625, -0.00475311279296875, 0.0171356201171875, 0.0615234375, 0.031646728515625, 0.02935791015625, -0.021209716796875, -0.045654296875, 0.03497314453125, 0.00595855712890625, 0.0035762786865234375, -0.03582763671875, -0.004119873046875, 0.00560760498046875, -0.0184478759765625, -0.0257415771484375, -0.0003643035888671875, 0.0112457275390625, 0.010101318359375, -0.0062255859375, -0.0684814453125, 0.016937255859375, -0.03363037109375, 0.05682373046875, -0.03436279296875, 0.032958984375, 0.000946044921875, -0.0173797607421875, 0.0090789794921875, -0.049835205078125, 0.01861572265625, -0.0141448974609375, 0.0282135009765625, 0.045562744140625, 0.0015916824340820312, 0.0043182373046875, 0.0343017578125, -0.024627685546875, 0.0380859375, 0.055755615234375, 0.0208892822265625, -0.00995635986328125, -0.016754150390625, -0.02740478515625, 0.046722412109375, -0.0041046142578125, 0.046630859375, 0.048370361328125, 0.0548095703125, 0.03887939453125, -0.0157470703125, 0.020721435546875, 0.0239715576171875, -0.06402587890625, -0.019775390625, 0.0328369140625, 0.05535888671875, 0.031463623046875, 0.01004791259765625, -0.0175933837890625, 0.0305023193359375, -0.0130767822265625, 0.056549072265625, -0.06298828125, 0.0321044921875, 0.02618408203125, 0.0277252197265625, -0.033538818359375, 0.033843994140625, -0.0653076171875, 0.02349853515625, 0.0254058837890625, 0.0136566162109375, -0.037322998046875, 0.005931854248046875, -0.0008387565612792969, 0.03204345703125, 0.05535888671875, -0.04705810546875, 0.051177978515625, -0.0015106201171875, -0.013031005859375, 0.0173492431640625, 0.00957489013671875, -0.0156097412109375, -0.01415252685546875, 0.033416748046875, -0.006359100341796875, -0.0121307373046875, 0.00278472900390625, 0.01355743408203125, -0.01092529296875, -0.03472900390625, 0.02685546875, -0.034881591796875, -0.004638671875, -0.0186920166015625, 0.01503753662109375, 0.0002474784851074219, -0.01084136962890625, 0.0166168212890625, -0.0047454833984375, 0.003574371337890625, -0.0304412841796875, -0.01885986328125, 0.0156402587890625, 0.021392822265625, 0.0251312255859375, -0.0266265869140625, 0.0225067138671875, 0.009246826171875, -0.00798797607421875, 0.025787353515625, 0.01169586181640625, 0.01107025146484375, -0.00998687744140625, 0.0183868408203125, 0.029205322265625, -0.0193023681640625, 0.007251739501953125, -0.0014247894287109375, 0.00921630859375, 0.00003594160079956055, 0.00415802001953125, -0.01788330078125, -0.01035308837890625, -0.040435791015625, -0.015533447265625, 0.027130126953125, -0.031036376953125, 0.039642333984375, -0.01084136962890625, 0.006999969482421875, -0.0012149810791015625, -0.06048583984375, -0.033721923828125, 0.0005497932434082031, -0.04193115234375, 0.0212554931640625, 0.0011768341064453125, -0.0096893310546875, -0.0168914794921875, 0.01343536376953125, -0.002368927001953125, -0.033660888671875, -0.0241851806640625, -0.03814697265625, -0.04437255859375, -0.058685302734375, -0.0108184814453125, -0.01042938232421875, 0.00936126708984375, 0.007190704345703125, 0.055877685546875, 0.0011386871337890625, -0.056854248046875, 0.0010194778442382812, 0.0271453857421875, -0.004436492919921875, 0.0185546875, 0.02825927734375, -0.061370849609375, -0.033538818359375, -0.005767822265625, 0.00618743896484375, -0.01004791259765625, 0.00823974609375, 0.0017108917236328125, -0.0183258056640625, 0.007457733154296875, -0.01055908203125, 0.052001953125, 0.03790283203125, -0.006000518798828125, 0.005275726318359375, -0.0360107421875, -0.0274658203125, -0.006412506103515625, -0.04339599609375, 0.04693603515625, -0.0026836395263671875, 0.0201568603515625, -0.001628875732421875, 0.03143310546875, 0.03814697265625, -0.0203094482421875, 0.045623779296875, -0.050445556640625, 0.05413818359375, 0.027801513671875, 0.02581787109375, -0.05126953125, 0.00685882568359375, -0.01540374755859375, 0.040679931640625, -0.0034008026123046875, 0.01090240478515625, -0.0266265869140625, 0.030792236328125, -0.0526123046875, -0.0086212158203125, 0.005130767822265625, -0.037139892578125, 0.0283203125, 0.013763427734375, 0.0183868408203125, 0.0201873779296875, 0.0557861328125, -0.03277587890625, 0.00574493408203125, 0.051239013671875, 0.033172607421875, -0.033966064453125, -0.029632568359375, -0.0877685546875, 0.0014085769653320312, -0.09356689453125, 0.024505615234375, 0.0102386474609375, -0.0256195068359375, -0.033111572265625, 0.0176239013671875, -0.0789794921875, -0.0185546875, 0.027587890625, 0.0628662109375, -0.046875, 0.0452880859375, -0.04620361328125, 0.01189422607421875, 0.00423431396484375, 0.007274627685546875, -0.0601806640625, -0.00902557373046875, -0.06439208984375, 0.06988525390625, 0.00872802734375, 0.04449462890625, 0.01381683349609375, 0.06573486328125, -0.00543212890625, -0.0024814605712890625, 0.01922607421875, 0.01033782958984375, 0.0012750625610351562, -0.004180908203125, -0.01488494873046875, -0.018798828125, 0.01552581787109375, 0.03533935546875, -0.02685546875, 0.05670166015625, -0.0213470458984375, -0.002384185791015625, 0.05078125, -0.0582275390625, 0.003936767578125, -0.0457763671875, -0.01337432861328125, 0.0120697021484375, 0.00292205810546875, 0.0007567405700683594, -0.051055908203125, 0.024932861328125, 0.010101318359375, -0.018218994140625, -0.029937744140625, 0.006557464599609375, 0.0418701171875, 0.00884246826171875, -0.0029697418212890625, 0.0149383544921875, -0.04400634765625, 0.048370361328125, 0.04071044921875, -0.06414794921875, -0.020660400390625, -0.058807373046875, 0.009124755859375, 0.052276611328125, -0.0277099609375, 0.00914764404296875, 0.045379638671875, 0.0126953125, -0.0269927978515625, 0.0139617919921875, -0.0132904052734375, 0.0269317626953125, 0.016571044921875, 0.0229339599609375, -0.00928497314453125, 0.04693603515625, 0.019805908203125, 0.02154541015625, -0.046722412109375, -0.0296173095703125, -0.018890380859375, 0.0132598876953125, -0.0194091796875, 0.03466796875, 0.033203125, -0.0200958251953125, 0.0125274658203125, -0.016693115234375, -0.000957489013671875, -0.01320648193359375, -0.006740570068359375, -0.01360321044921875, -0.00586700439453125, 0.052001953125, -0.012481689453125, -0.01959228515625, -0.0157623291015625, 0.10565185546875, -0.0019893646240234375, -0.047882080078125, -0.0078277587890625, -0.032745361328125, 0.0462646484375, 0.0201873779296875, 0.0094757080078125, 0.0289459228515625, -0.01157379150390625, 0.02423095703125, 0.00901031494140625, -0.01058197021484375, -0.00930023193359375, 0.0015649795532226562, 0.0369873046875, 0.0350341796875, -0.024871826171875, 0.045867919921875, 0.00627899169921875, 0.02777099609375, 0.01073455810546875, -0.01464080810546875, -0.03497314453125, -0.06390380859375, 0.038787841796875, 0.0162811279296875, -0.018402099609375, 0.051239013671875, -0.00402069091796875, 0.0657958984375, -0.01678466796875, -0.018341064453125, 0.00554656982421875, 0.04962158203125, -0.0157470703125, -0.004302978515625, 0.01059722900390625, -0.0210723876953125, -0.00677490234375, -0.0158538818359375, -0.01467132568359375, 0.0011034011840820312, 0.01255035400390625, -0.0022411346435546875, -0.01013946533203125, 0.0158843994140625, 0.0087432861328125, -0.034393310546875, 0.01194000244140625, -0.01800537109375, 0.024627685546875, -0.048614501953125, 0.0026302337646484375, 0.0187530517578125, 0.0035953521728515625, -0.02178955078125, -0.028900146484375, -0.050750732421875, -0.0219879150390625, -0.01532745361328125, 0.00502777099609375, -0.0060882568359375, -0.00530242919921875, 0.0711669921875, -0.0452880859375, -0.0413818359375, -0.024261474609375, -0.0045928955078125, 0.052154541015625, 0.03912353515625, 0.0235595703125, -0.00919342041015625, -0.015625, -0.0259246826171875, -0.05206298828125, -0.015625, -0.01384735107421875, -0.0001531839370727539, 0.01019287109375, 0.00664520263671875, -0.0019273757934570312, -0.0217437744140625, -0.04180908203125, 0.07489013671875, 0.0782470703125, 0.07666015625, -0.0177459716796875, 0.051727294921875, -0.01727294921875, 0.0028553009033203125, -0.00040411949157714844, 0.0328369140625, 0.0300140380859375, -0.0010957717895507812, 0.01061248779296875, -0.034393310546875, -0.00017130374908447266, -0.013946533203125, -0.004627227783203125, 0.0007882118225097656, 0.038818359375, 0.007007598876953125, 0.040863037109375, -0.00524139404296875, 0.01111602783203125, -0.020660400390625, 0.020965576171875, -0.040008544921875, 0.0287322998046875, 0.0177001953125, 0.00958251953125, -0.03424072265625, -0.0232086181640625, -0.038238525390625, 0.00878143310546875, 0.0552978515625, 0.00501251220703125, -0.014190673828125, -0.048309326171875, 0.021209716796875, 0.0172271728515625, -0.037933349609375, 0.031982421875, -0.026580810546875, 0.01580810546875, 0.08251953125, 0.016815185546875, -0.0041961669921875, 0.019439697265625, 0.02703857421875, -0.01326751708984375, -0.01861572265625, -0.0237884521484375, -0.0227508544921875, -0.0162353515625, 0.10015869140625, 0.052490234375, -0.1024169921875, -0.0276641845703125, -0.0177154541015625, 0.0011491775512695312, 0.0172271728515625, -0.00856781005859375, 0.0002276897430419922, -0.0194854736328125, 0.0394287109375, 0.04608154296875, 0.01184844970703125, 0.0282440185546875, 0.00024771690368652344, 0.0006771087646484375, 0.0016021728515625, 0.01666259765625, -0.0026912689208984375, -0.04864501953125, -0.0196685791015625, 0.034759521484375, -0.0294036865234375, -0.0234222412109375, -0.00598907470703125, -0.00988006591796875, -0.0256500244140625, -0.062408447265625, -0.0242462158203125, -0.0004925727844238281, -0.0191192626953125, -0.0166473388671875, 0.01947021484375, -0.033416748046875, 0.03179931640625, -0.052581787109375, 0.043304443359375, -0.007785797119140625, 0.0261993408203125, -0.002193450927734375, -0.0005950927734375, 0.030242919921875, -0.05029296875, -0.022003173828125, 0.0128631591796875, -0.0543212890625, -0.016387939453125, 0.01119232177734375, 0.033172607421875, -0.018157958984375, 0.0100250244140625, -0.0236663818359375, 0.042633056640625, 0.0221710205078125, -0.00811004638671875, -0.03607177734375, 0.026458740234375, -0.08673095703125, -0.041259765625, -0.004673004150390625, -0.0305328369140625, -0.005157470703125, -0.034942626953125, -0.045318603515625, 0.0830078125, -0.023040771484375, 0.0252532958984375, 0.032867431640625, 0.03460693359375, -0.03253173828125, 0.006137847900390625, -0.038421630859375, 0.053314208984375, 0.0172882080078125, -0.029815673828125, -0.044097900390625, 0.014373779296875, -0.05853271484375, -0.0167694091796875, -0.0213623046875, -0.01497650146484375, -0.004306793212890625, -0.0008282661437988281, 0.054962158203125, 0.02056884765625, 0.0024242401123046875, 0.00687408447265625, -0.0166778564453125, -0.0082855224609375, -0.038330078125, -0.00977325439453125, 0.0243682861328125, -0.048675537109375, -0.058685302734375, 0.029144287109375, 0.00415802001953125, 0.01009368896484375, 0.0208892822265625, -0.0029430389404296875, -0.034454345703125, 0.0205078125, 0.04351806640625, -0.027740478515625, 0.0184478759765625, 0.0187225341796875, 0.03900146484375, -0.037628173828125, -0.05364990234375, -0.0087127685546875, 0.04193115234375, 0.000492095947265625, -0.01554107666015625, -0.007083892822265625, 0.001430511474609375, 0.028076171875, -0.0211639404296875, -0.025054931640625, 0.033721923828125, -0.00943756103515625, -0.01397705078125, 0.006549835205078125, 0.0112152099609375, -0.0269317626953125, -0.0208282470703125, 0.00112152099609375, -0.0271759033203125, 0.010345458984375, 0.00794219970703125, -0.0011692047119140625, -0.02691650390625, 0.0011281967163085938, -0.0701904296875, -0.01090240478515625, -0.07012939453125, -0.054901123046875, -0.040557861328125, -0.00360107421875, 0.0244598388671875, 0.0237579345703125, -0.00978851318359375, 0.0061798095703125, -0.00698089599609375, -0.005680084228515625, -0.0316162109375, 0.0113677978515625, 0.003170013427734375, 0.0175933837890625, -0.01641845703125, 0.045166015625, 0.00040984153747558594, -0.00420379638671875, -0.0413818359375, -0.0190277099609375, 0.036865234375, 0.039794921875, 0.016448974609375, 0.09759521484375, -0.0186767578125, 0.005146026611328125, 0.0036296844482421875, -0.01255035400390625, 0.0211639404296875, -0.027252197265625, -0.03985595703125, -0.0188751220703125, -0.0178070068359375, -0.039642333984375, 0.01027679443359375, -0.0355224609375, 0.01071929931640625, 0.0196533203125, -0.0005097389221191406, 0.0043487548828125, 0.015899658203125, 0.02789306640625, -0.006191253662109375, -0.034027099609375, 0.0138702392578125, -0.028350830078125, -0.0203399658203125, 0.03924560546875, -0.041778564453125, 0.023773193359375, -0.0372314453125, 0.00988006591796875, -0.039886474609375, 0.0003108978271484375, 0.019683837890625, 0.0179595947265625, -0.0247039794921875, 0.037109375, 0.00267791748046875, -0.032257080078125, 0.080078125, -0.0318603515625, -0.0065460205078125, 0.0248870849609375, -0.003658294677734375, -0.0003886222839355469, -0.062164306640625, -0.03521728515625, -0.0292510986328125, 0.045562744140625, 0.0030002593994140625, 0.053466796875, -0.0021076202392578125, 0.03277587890625, 0.0191497802734375, 0.04034423828125, -0.0291595458984375, -0.01666259765625, 0.0282745361328125, -0.037933349609375, 0.001659393310546875, 0.004604339599609375, -0.0860595703125, 0.01297760009765625, -0.00835418701171875, -0.0014286041259765625, 0.029571533203125, -0.04248046875, 0.01806640625, 0.02691650390625, -0.036346435546875, -0.04437255859375, -0.007091522216796875, -0.0281982421875, -0.0278472900390625, 0.031097412109375, -0.0350341796875, -0.0080413818359375, 0.0005583763122558594, 0.057098388671875, -0.029449462890625, 0.04052734375, 0.0020427703857421875, 0.05523681640625, 0.0220489501953125, 0.032470703125, -0.0281524658203125, 0.03167724609375, 0.00540924072265625, 0.0027618408203125, 0.0308837890625, 0.01267242431640625, 0.0260772705078125, -0.045867919921875, -0.005825042724609375, 0.031768798828125, 0.036163330078125, -0.0101318359375, 0.0086822509765625, 0.025360107421875, -0.0286865234375, -0.025115966796875, 0.005481719970703125, -0.00379180908203125, -0.040130615234375, -0.00507354736328125, 0.017669677734375, -0.032012939453125, 0.05731201171875, 0.00542449951171875, -0.0165863037109375, 0.0374755859375, -0.0017251968383789062, -0.0311126708984375, -0.0002722740173339844, -0.042388916015625, 0.039886474609375, 0.005161285400390625, 0.0164642333984375, 0.00426483154296875, 0.0379638671875, -0.068359375, -0.0711669921875, -0.0367431640625, 0.051544189453125, -0.06268310546875, 4.76837158203125e-7, 0.04302978515625, -0.006175994873046875, 0.0245513916015625, -0.03369140625, -0.0039043426513671875, 0.016082763671875, -0.0892333984375, 0.01032257080078125, 0.06402587890625, -0.002620697021484375, -0.01275634765625, -0.10650634765625, -0.0535888671875, -0.0141754150390625, 0.07891845703125, 0.00196075439453125, -0.032379150390625, -0.0144805908203125, -0.03564453125, -0.029876708984375, -0.006343841552734375, 0.0248260498046875, -0.0350341796875, -0.016632080078125, 0.01280975341796875, -0.00572967529296875, 0.00347137451171875, 0.00510406494140625, -0.0214385986328125, 0.0032520294189453125, 0.01270294189453125, 0.0196685791015625, 0.0034847259521484375, 0.012786865234375, 0.042633056640625, -0.06243896484375, 0.0208892822265625, -0.01029205322265625, 0.00365447998046875, -0.051055908203125, 0.02301025390625, -0.0166778564453125, 0.0132904052734375, -0.0244903564453125, 0.0172119140625, 0.01439666748046875, 0.032379150390625, -0.00530242919921875, -0.0113983154296875, -0.017852783203125, -0.019012451171875, 0.03094482421875, 0.0279998779296875, 0.006618499755859375, 0.005863189697265625, -0.04156494140625, 0.03778076171875, -0.02593994140625, -0.0040283203125, 0.033660888671875, -0.055694580078125, -0.002948760986328125, -0.0170745849609375, -0.04888916015625, -0.023040771484375, -0.004009246826171875, -0.05914306640625, 0.0007066726684570312, -0.0270233154296875, -0.01104736328125, -0.033203125, 0.00850677490234375, 0.060699462890625, -0.022247314453125, 0.0208740234375, -0.00788116455078125, 0.020660400390625, 0.045867919921875, -0.000012934207916259766, -0.034332275390625, -0.0265655517578125, -0.01393890380859375, 0.031524658203125, -0.040771484375, 0.07135009765625, -0.04290771484375, -0.0150146484375, -0.0003609657287597656, -0.025238037109375, -0.006893157958984375, -0.04632568359375, 0.02325439453125, -0.0504150390625, -0.0418701171875, 0.041290283203125, -0.0117034912109375, 0.0290985107421875, -0.011871337890625, 0.023193359375, -0.0389404296875, 0.0132598876953125, -0.0196380615234375, -0.00742340087890625, 0.0003876686096191406, 0.0206451416015625, 0.0230712890625, -0.0609130859375, 0.0517578125, -0.049102783203125, 0.00836181640625, 0.0234832763671875 ]
eed26bdf03cdb789c3dd9c3ceab1562e2cbf646a
Wordpress Stackexchange Q: Does wp post delete also delete metadata associated with posts? say this: wp post delete --force $(wp post list --post_type=product --format=ids) I found out that it's far more fast and performant than deleting posts from admin. But I was wandering: any differences between the cli and admin ways? For example, will that cli command also delete metadata associated with deleted posts? A: In short, yes. However, if you run into an issue like custom fields or media hanging around, you could use: wp post meta delete
Q: Does wp post delete also delete metadata associated with posts? say this: wp post delete --force $(wp post list --post_type=product --format=ids) I found out that it's far more fast and performant than deleting posts from admin. But I was wandering: any differences between the cli and admin ways? For example, will that cli command also delete metadata associated with deleted posts? A: In short, yes. However, if you run into an issue like custom fields or media hanging around, you could use: wp post meta delete
wordpress
{ "language": "en", "length": 87, "provenance": "stackexchange_00019.jsonl.gz:499454", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353299" }
[ -0.005950927734375, 0.0027141571044921875, -0.01227569580078125, 0.0130615234375, 0.005596160888671875, -0.0176239013671875, 0.05194091796875, -0.0262298583984375, 0.005702972412109375, 0.027435302734375, 0.0094146728515625, -0.0232391357421875, 0.043670654296875, -0.0380859375, 0.0012340545654296875, -0.0205841064453125, 0.04046630859375, 0.007793426513671875, 0.05767822265625, -0.00251007080078125, 0.00975799560546875, 0.035003662109375, 0.0231781005859375, 0.017669677734375, -0.011993408203125, 0.017730712890625, 0.005462646484375, 0.0010395050048828125, -0.03814697265625, -0.04229736328125, 0.0081024169921875, 0.040740966796875, -0.0012502670288085938, 0.002017974853515625, 0.038970947265625, 0.0243682861328125, -0.018798828125, 0.0295257568359375, 0.04229736328125, -0.03973388671875, -0.000614166259765625, -0.00020897388458251953, 0.01413726806640625, -0.004062652587890625, 0.004917144775390625, -0.007106781005859375, -0.01270294189453125, -0.049713134765625, 0.06304931640625, 0.01154327392578125, -0.016082763671875, -0.01007080078125, 0.004718780517578125, -0.07037353515625, -0.0302276611328125, -0.043609619140625, 0.007572174072265625, 0.0130157470703125, 0.0650634765625, -0.025604248046875, -0.06243896484375, -0.0308074951171875, 0.03009033203125, -0.03717041015625, 0.017913818359375, 0.00957489013671875, -0.00600433349609375, 0.00789642333984375, -0.0704345703125, 0.00986480712890625, 0.054443359375, -0.06927490234375, -0.0014848709106445312, -0.01523590087890625, 0.02313232421875, -0.03485107421875, 0.013885498046875, -0.0217132568359375, -0.0241546630859375, 0.04058837890625, 0.0265045166015625, 0.03643798828125, -0.01380157470703125, -0.034698486328125, -0.00803375244140625, -0.0251312255859375, -0.01000213623046875, -0.01425933837890625, -0.007732391357421875, -0.0628662109375, -0.0120849609375, -0.07958984375, -0.038055419921875, 0.0109405517578125, -0.0239715576171875, -0.02947998046875, 0.01073455810546875, 0.01568603515625, -0.006130218505859375, -0.01143646240234375, -0.0221099853515625, -0.032501220703125, -0.03839111328125, -0.0044708251953125, 0.004486083984375, 0.03277587890625, -0.0016775131225585938, -0.0153045654296875, 0.01132965087890625, 0.0302581787109375, -0.021697998046875, -0.003444671630859375, 0.0196685791015625, -0.00402069091796875, -0.01207733154296875, 0.0215911865234375, -0.0035037994384765625, 0.030059814453125, -0.00801849365234375, 0.0207977294921875, -0.016021728515625, 0.003749847412109375, 0.01204681396484375, -0.01666259765625, 0.034149169921875, 0.03057861328125, -0.0225830078125, -0.0259552001953125, 0.00010466575622558594, 0.01324462890625, -0.0322265625, 0.023590087890625, 0.052886962890625, -0.0029697418212890625, -0.0153961181640625, -0.0171661376953125, -0.0232086181640625, -0.01107025146484375, 0.014495849609375, -0.007053375244140625, 0.0345458984375, -0.040496826171875, 0.0029811859130859375, 0.0234222412109375, 0.043701171875, 0.060333251953125, 0.01436614990234375, -0.033843994140625, 0.0194549560546875, -0.020751953125, -0.052398681640625, 0.00591278076171875, 0.020355224609375, 0.0245208740234375, 0.06829833984375, -0.035125732421875, 0.126708984375, -0.08306884765625, 0.0079803466796875, -0.08203125, 0.005458831787109375, -0.0145721435546875, 0.00640869140625, 0.004302978515625, -0.035980224609375, 0.042083740234375, -0.032867431640625, -0.0152130126953125, 0.032440185546875, -0.0019435882568359375, 0.046966552734375, -0.059539794921875, 0.0016965866088867188, 0.00424957275390625, -0.00565338134765625, 0.0299530029296875, 0.0172271728515625, -0.036346435546875, 0.033416748046875, -0.00022614002227783203, -0.03265380859375, -0.0307464599609375, 0.037811279296875, -0.01221466064453125, -0.06597900390625, -0.027984619140625, 0.03350830078125, 0.07928466796875, 0.0242767333984375, 0.04052734375, 0.07794189453125, -0.03985595703125, 0.00791168212890625, 0.0104827880859375, -0.0129241943359375, -0.05914306640625, -0.0226898193359375, -0.020355224609375, -0.0213165283203125, 0.0255584716796875, 0.0302886962890625, 0.023773193359375, -0.0174713134765625, -0.0024394989013671875, -0.097900390625, 0.02301025390625, -0.03875732421875, 0.039337158203125, -0.058685302734375, -0.0003428459167480469, 0.03369140625, -0.00787353515625, -0.0220947265625, -0.017486572265625, -0.0028934478759765625, -0.005035400390625, -0.022369384765625, 0.0021209716796875, -0.01788330078125, 0.0199127197265625, -0.041778564453125, -0.002033233642578125, -0.034149169921875, 0.02154541015625, 0.044158935546875, 0.0173797607421875, -0.0116424560546875, -0.0037174224853515625, 0.065185546875, 0.0004987716674804688, 0.015045166015625, 0.00516510009765625, 0.006618499755859375, -0.0142822265625, -0.034698486328125, -0.0220489501953125, 0.0023403167724609375, -0.08453369140625, 0.0220489501953125, 0.07501220703125, 0.004489898681640625, 0.040130615234375, 0.005084991455078125, 0.037689208984375, 0.063720703125, 0.007198333740234375, 0.0095367431640625, 0.0194091796875, 0.01027679443359375, 0.042877197265625, -0.0261993408203125, -0.00762176513671875, 0.00586700439453125, -0.0382080078125, -0.00042629241943359375, 0.034210205078125, -0.0074920654296875, -0.004482269287109375, -0.007289886474609375, -0.0108184814453125, 0.0177001953125, -0.0289306640625, -0.0404052734375, 0.0023670196533203125, 0.05987548828125, -0.0157928466796875, 0.036590576171875, 0.025146484375, -0.03936767578125, 0.0011453628540039062, 0.0295257568359375, 0.00357818603515625, 0.00801849365234375, 0.03253173828125, 0.01122283935546875, 0.012939453125, -0.060272216796875, -0.0103607177734375, 0.02691650390625, 0.0201416015625, -0.0144500732421875, 0.003833770751953125, 0.003597259521484375, -0.007373809814453125, -0.005992889404296875, -0.045257568359375, 0.0300445556640625, 0.031463623046875, 0.001651763916015625, -0.0092926025390625, 0.0127105712890625, 0.0279998779296875, -0.0139923095703125, 0.043609619140625, -0.0026226043701171875, -0.0058441162109375, 0.0005583763122558594, -0.0295867919921875, 0.0203094482421875, -0.006244659423828125, 0.0625, 0.0712890625, 0.01200103759765625, 0.012542724609375, 0.01085662841796875, 0.019775390625, 0.0333251953125, 0.004337310791015625, -0.0041656494140625, -0.002681732177734375, -0.035736083984375, -0.002056121826171875, 0.0161895751953125, 0.05377197265625, -0.00033926963806152344, -0.039886474609375, 0.021209716796875, 0.01416778564453125, -0.0960693359375, -0.0682373046875, 0.01122283935546875, -0.04345703125, 0.00864410400390625, -0.01338958740234375, -0.026031494140625, -0.020782470703125, 0.0184173583984375, 0.0057525634765625, 0.0202789306640625, 0.00823211669921875, 0.00899505615234375, 0.01418304443359375, -0.0400390625, -0.04046630859375, -0.00015044212341308594, -0.0054168701171875, 0.01042938232421875, 0.07574462890625, 0.01045989990234375, -0.04962158203125, -0.0012149810791015625, 0.0045318603515625, -0.03533935546875, -0.00013244152069091797, 0.00878143310546875, -0.00592803955078125, 0.008575439453125, 0.0062255859375, 0.00323486328125, 0.02191162109375, -0.0229034423828125, -0.032135009765625, -0.01800537109375, -0.004772186279296875, 0.02734375, -0.041748046875, -0.005924224853515625, 0.0192718505859375, 0.01038360595703125, -0.026123046875, -0.00656890869140625, -0.0399169921875, -0.0211181640625, 0.02716064453125, -0.0008211135864257812, 0.01409912109375, -0.006626129150390625, 0.03643798828125, 0.037689208984375, 0.0247039794921875, 0.01361083984375, -0.01151275634765625, 0.0176849365234375, 0.005687713623046875, 0.0210113525390625, -0.01409149169921875, -0.007068634033203125, -0.04949951171875, -0.01003265380859375, -0.0253448486328125, -0.0211334228515625, -0.0103302001953125, -0.024383544921875, -0.01439666748046875, -0.0241546630859375, 0.050323486328125, -0.0022754669189453125, 0.027435302734375, -0.0211181640625, -0.0285186767578125, -0.00298309326171875, 0.0889892578125, -0.013671875, -0.048614501953125, -0.027557373046875, 0.0213623046875, 0.01520538330078125, -0.04217529296875, 0.03515625, -0.0372314453125, -0.061065673828125, 0.01119232177734375, 0.0140533447265625, -0.02374267578125, -0.047607421875, 0.06475830078125, -0.0687255859375, -0.005634307861328125, 0.053466796875, -0.07177734375, 0.065673828125, -0.0213165283203125, 0.051727294921875, -0.04974365234375, -0.0273590087890625, -0.058258056640625, -0.035125732421875, -0.0026073455810546875, 0.01079559326171875, 0.01204681396484375, -0.00832366943359375, 0.0199432373046875, 0.01371002197265625, 0.0430908203125, 0.01332855224609375, 0.034637451171875, -0.038848876953125, -0.0222015380859375, -0.0104827880859375, -0.032318115234375, -0.0277252197265625, -0.01251983642578125, -0.0120086669921875, -0.038055419921875, -0.037506103515625, 0.0007262229919433594, -0.01096343994140625, 0.04083251953125, -0.00916290283203125, -0.0068206787109375, -0.0457763671875, -0.031402587890625, -0.059417724609375, -0.030029296875, -0.0254974365234375, -0.01507568359375, -0.024169921875, -0.05029296875, 0.05517578125, 0.04669189453125, -0.0134124755859375, -0.01207733154296875, 0.0802001953125, 0.005523681640625, -0.038360595703125, -0.0562744140625, 0.0004930496215820312, 0.005268096923828125, -0.026641845703125, 0.09124755859375, 0.0523681640625, 0.031219482421875, -0.00466156005859375, -0.013702392578125, -0.0350341796875, -0.04852294921875, 0.06842041015625, 0.00850677490234375, 0.015716552734375, -0.020599365234375, -0.035888671875, 0.0775146484375, 0.037200927734375, 0.007312774658203125, -0.0200347900390625, 0.0163726806640625, 0.05474853515625, 0.009002685546875, -0.049285888671875, -0.0736083984375, -0.03106689453125, 0.01214599609375, -0.042388916015625, -0.0021190643310546875, 0.0311737060546875, -0.010467529296875, 0.01383209228515625, -0.0157928466796875, 0.01395416259765625, -0.037689208984375, 0.0004978179931640625, -0.01910400390625, 0.01186370849609375, 0.0189208984375, 0.0033721923828125, -0.032318115234375, -0.01253509521484375, 0.063232421875, -0.014129638671875, -0.050811767578125, -0.02056884765625, -0.01384735107421875, 0.033599853515625, 0.035552978515625, -0.00832366943359375, 0.048583984375, 0.03546142578125, -0.02105712890625, -0.0234832763671875, -0.0266876220703125, -0.0185394287109375, -0.05316162109375, 0.0134429931640625, -0.0038433074951171875, 0.0066680908203125, 0.03460693359375, 0.055908203125, -0.0233001708984375, 0.047271728515625, -0.0164947509765625, 0.058807373046875, 0.019866943359375, 0.034210205078125, 0.006969451904296875, -0.01512908935546875, 0.0215911865234375, -0.0022983551025390625, -0.0134124755859375, -0.0377197265625, -0.01105499267578125, 0.00041174888610839844, 0.045806884765625, 0.034393310546875, -0.00738525390625, 0.01297760009765625, -0.0233917236328125, -0.0222320556640625, 0.0220794677734375, 0.006824493408203125, -0.046539306640625, -0.005458831787109375, 0.0309295654296875, 0.0193939208984375, -0.005397796630859375, 0.0024814605712890625, 0.004955291748046875, -0.01190948486328125, 0.0243377685546875, -0.02081298828125, 0.0116729736328125, -0.01548004150390625, -0.022491455078125, -0.006839752197265625, -0.0211029052734375, -0.01068115234375, -0.0149688720703125, -0.006786346435546875, -0.0197601318359375, -0.0186309814453125, 0.055145263671875, 0.0027256011962890625, 0.01113128662109375, 0.00020194053649902344, -0.00553131103515625, 0.0236968994140625, 0.0119171142578125, 0.01181793212890625, -0.0120391845703125, -0.00949859619140625, -0.0150604248046875, -0.05322265625, -0.040924072265625, -0.0147705078125, -0.0003113746643066406, -0.04364013671875, 0.006439208984375, 0.0120697021484375, 0.0260162353515625, 0.007198333740234375, 0.0019817352294921875, -0.00826263427734375, 0.014739990234375, 0.0263824462890625, 0.0440673828125, -0.00920867919921875, 0.028900146484375, -0.00615692138671875, 0.00897979736328125, 0.01134490966796875, 0.0216522216796875, 0.0024871826171875, -0.019927978515625, 0.004482269287109375, -0.06341552734375, -0.01242828369140625, -0.014801025390625, -0.002674102783203125, 0.0145263671875, 0.013031005859375, 0.005512237548828125, 0.0106048583984375, -0.020263671875, -0.0027217864990234375, -0.02349853515625, 0.05908203125, -0.03289794921875, 0.0202178955078125, -0.0106353759765625, 0.0023345947265625, -0.006046295166015625, -0.0170745849609375, -0.01297760009765625, -0.0033721923828125, 0.014007568359375, -0.01629638671875, -0.0013074874877929688, -0.00716400146484375, 0.0240020751953125, 0.056549072265625, -0.004535675048828125, 0.020416259765625, 0.0055084228515625, 0.00902557373046875, 0.01568603515625, -0.0204315185546875, 0.0016326904296875, 0.014801025390625, 0.057861328125, -0.014251708984375, -0.00913238525390625, 0.021759033203125, -0.0391845703125, 0.0123748779296875, 0.05877685546875, 0.06829833984375, -0.0621337890625, 0.006938934326171875, 0.009490966796875, -0.0246429443359375, 0.0244903564453125, 0.0003268718719482422, -0.0033588409423828125, 0.0245208740234375, 0.0026683807373046875, 0.0211639404296875, -0.0214691162109375, 0.013397216796875, 0.035858154296875, -0.006160736083984375, -0.020172119140625, -0.00018918514251708984, 0.01143646240234375, 0.0068206787109375, -0.00392913818359375, -0.005496978759765625, 0.01555633544921875, -0.0214996337890625, -0.00354766845703125, -0.0158843994140625, -0.020050048828125, -0.05908203125, 0.007282257080078125, -0.0251007080078125, 0.01983642578125, 0.05181884765625, 0.0117950439453125, 0.019378662109375, 0.038543701171875, 0.0131683349609375, -0.0020294189453125, -0.0033130645751953125, 0.0079345703125, -0.1116943359375, -0.03265380859375, 0.04168701171875, 0.035186767578125, -0.055694580078125, 0.057403564453125, -0.034515380859375, -0.05267333984375, -0.0236053466796875, -0.03863525390625, 0.08172607421875, -0.034423828125, -0.01129913330078125, 0.03216552734375, 0.035400390625, -0.0284423828125, -0.01092529296875, 0.034759521484375, -0.00513458251953125, 0.0230865478515625, -0.0024242401123046875, -0.002227783203125, -0.024200439453125, -0.0161285400390625, -0.08251953125, 0.07379150390625, 0.033660888671875, 0.0313720703125, 0.0010547637939453125, 0.029296875, -0.0222320556640625, 0.006927490234375, -0.0333251953125, 0.047607421875, 0.003101348876953125, 0.017974853515625, -0.030670166015625, 0.00414276123046875, 0.0018854141235351562, 0.007198333740234375, 0.0921630859375, 0.01543426513671875, -0.0003657341003417969, -0.0241851806640625, 0.0369873046875, 0.031005859375, -0.0145416259765625, 0.03961181640625, 0.007122039794921875, 0.05316162109375, 0.03369140625, -0.0770263671875, 0.032135009765625, -0.03289794921875, 0.0006890296936035156, 0.0159149169921875, 0.021026611328125, 0.037109375, 0.0207672119140625, 0.0391845703125, 0.0142974853515625, -0.00698089599609375, 0.00864410400390625, -0.034027099609375, 0.0104522705078125, 0.0054473876953125, 0.007640838623046875, -0.045257568359375, -0.04693603515625, -0.00946044921875, 0.011871337890625, 0.009796142578125, 0.046875, 0.0254669189453125, 0.0309295654296875, 0.0477294921875, -0.025665283203125, 0.030609130859375, 0.00943756103515625, -0.041473388671875, 0.042694091796875, 0.0143890380859375, 0.0179595947265625, -0.043731689453125, 0.032379150390625, 0.021087646484375, 0.038970947265625, -0.05059814453125, -0.058990478515625, 0.0211029052734375, 0.01218414306640625, -0.006923675537109375, 0.01549530029296875, -0.01346588134765625, -0.041015625, 0.032440185546875, -0.047943115234375, 0.00392913818359375, 0.025726318359375, 0.0174560546875, 0.005962371826171875, 0.019134521484375, -0.042144775390625, -0.0014677047729492188, -0.0196380615234375, 0.01171112060546875, 0.0293426513671875, 0.042633056640625, -0.006893157958984375, 0.043212890625, -0.0079803466796875, -0.01123809814453125, 0.0062408447265625, 0.02581787109375, -0.01428985595703125, -0.01154327392578125, -0.058441162109375, -0.1065673828125, 0.040008544921875, 0.056884765625, 0.00782012939453125, 0.021636962890625, 0.08428955078125, 0.07177734375, -0.04425048828125, -0.03851318359375, 0.01136016845703125, -0.0302886962890625, -0.012115478515625, -0.00727081298828125, -0.0283966064453125, 0.00010126829147338867, -0.0236053466796875, -0.00799560546875, 0.036468505859375, -0.0037174224853515625, -0.00757598876953125, 0.0032711029052734375, 0.01221466064453125, -0.0179290771484375, 0.0919189453125, 0.0280914306640625, 0.033660888671875, 0.0218353271484375, -0.02618408203125, 0.00284576416015625, -0.0311431884765625, -0.006717681884765625, -0.00939178466796875, 0.012115478515625, -0.024383544921875, 0.04937744140625, -0.007595062255859375, -0.031280517578125, 0.0196533203125, 0.04119873046875, -0.01251220703125, 0.00670623779296875, 0.0259552001953125, -0.0263519287109375, 0.007015228271484375, 0.01363372802734375, 0.01088714599609375, 0.014892578125, 0.0044708251953125, 0.04998779296875, -0.00777435302734375, 0.00905609130859375, -0.05230712890625, 0.02191162109375, -0.04931640625, -0.02410888671875, -0.01273345947265625, -0.00452423095703125, -0.00475311279296875, 0.00904083251953125, -0.01163482666015625, 0.021942138671875, 0.03173828125, -0.0330810546875, -0.0013875961303710938, -0.0098114013671875, 0.006175994873046875, -0.01407623291015625, 0.004001617431640625, -0.03192138671875, 0.00853729248046875, -0.0159759521484375, -0.017852783203125, 0.031036376953125, 0.0011682510375976562, 0.0002689361572265625, 0.0009775161743164062, -0.00592041015625, -0.036376953125, 0.03155517578125, -0.0239410400390625, 0.0207977294921875, 0.01355743408203125, 0.007366180419921875, -0.0091094970703125, 0.0147705078125, -0.005191802978515625, -0.0023860931396484375, 0.0164794921875, 0.0016183853149414062, 0.03265380859375, -0.0338134765625, -0.0496826171875, -0.0253448486328125, 0.022216796875, 0.00023126602172851562, -0.002422332763671875, -0.062469482421875, 0.016326904296875, 0.0030994415283203125, -0.00624847412109375, -0.0266571044921875, -0.056365966796875, -0.0223236083984375, 0.00848388671875, -0.05389404296875, -0.08416748046875, -0.0819091796875, -0.0253143310546875, 0.011627197265625, 0.01263427734375, -0.02691650390625, 0.05853271484375, -0.0034656524658203125, -0.08172607421875, 0.01256561279296875, -0.0255279541015625, -0.0285186767578125, -0.0089111328125, -0.01436614990234375, -0.04620361328125, -0.06878662109375, 0.046630859375, -0.048675537109375, 0.035430908203125, 0.0341796875, -0.060638427734375, -0.013580322265625, 0.006351470947265625, 0.037445068359375, 0.045562744140625, 0.07708740234375, -0.0279388427734375, -0.027679443359375, 0.0233917236328125, 0.0185394287109375, -0.0235748291015625, -0.00930023193359375, -0.0082855224609375, -0.01059722900390625, -0.0234375, 0.03863525390625, 0.048675537109375, -0.0171661376953125, -0.0751953125, 0.04278564453125, -0.023223876953125, -0.034759521484375, -0.01953125, -0.035064697265625, 0.00014710426330566406, 0.01605224609375, -0.01155853271484375, 0.0012903213500976562, -0.052947998046875, 0.0266876220703125, 0.00018990039825439453, 0.04473876953125, 0.0080108642578125, 0.00969696044921875, 0.0254669189453125, 0.041473388671875, 0.032501220703125, 0.0004246234893798828, 0.004467010498046875, 0.003047943115234375, 0.008453369140625, 0.036834716796875, -0.043792724609375, 0.016876220703125, -0.01108551025390625, 0.01708984375, -0.015777587890625, -0.0226898193359375, -0.0287628173828125, -0.0003192424774169922, 0.05999755859375, 0.087646484375, 0.0175933837890625, -0.04608154296875, -0.00449371337890625, -0.00652313232421875, 0.003986358642578125, -0.038177490234375, 0.00926971435546875, -0.0662841796875, -0.04583740234375, 0.00485992431640625, 0.00998687744140625, 0.01308441162109375, -0.0261077880859375, -0.00412750244140625, -0.01407623291015625, -0.0029430389404296875, 0.011474609375, -0.03961181640625, 0.006160736083984375, 0.00945281982421875, -0.00724029541015625, 0.004261016845703125, -0.0287322998046875, 0.01081085205078125, 0.00348663330078125, -0.017608642578125, -0.00807952880859375, -0.00460052490234375, -0.016204833984375, 0.0186004638671875, -0.0123138427734375, 0.0175018310546875, -0.0193634033203125, -0.0008358955383300781, -0.00927734375, 0.025726318359375, 0.0014276504516601562, 0.0166473388671875, 0.0160675048828125, 0.0240631103515625, 0.0030918121337890625, 0.035797119140625, -0.003040313720703125, 0.029876708984375, -0.0083465576171875, 0.04254150390625, -0.01232147216796875, -0.0199432373046875, 0.030975341796875, -0.041961669921875, -0.01239776611328125, -0.0006160736083984375, -0.04052734375, -0.07135009765625, 0.034759521484375, 0.034759521484375, 0.007137298583984375, 0.0279693603515625 ]
eaa587a167054dfdbae06693a17136fee641091f
Wordpress Stackexchange Q: Enqueue custom font file with rel="preload" I'm using a custom font on my WP site. It is now included with @font-face css attribute. But I'm wondering if there is any way to wp_enqueue this file with the attribute rel="preload" and may be some other attributes. So it looks something like this in browser: <link rel="preload" href="/fonts/custom-font-folder/CustomFontFile.woff2" as="font" type="font/woff2" crossorigin="anonymous"> Thank you in advance. A: You could try using the style_loader_tag filter. add_action('wp_enqueue_scripts', 'my_enqueue_scripts'); function my_enqueue_scripts() { wp_enqueue_style('my-style-handle', '/fonts/custom-font-folder/CustomFontFile.woff2', array(), null); } add_filter('style_loader_tag', 'my_style_loader_tag_filter', 10, 2); function my_style_loader_tag_filter($html, $handle) { if ($handle === 'my-style-handle') { return str_replace("rel='stylesheet'", "rel='preload' as='font' type='font/woff2' crossorigin='anonymous'", $html); } return $html; } Here we're enqueuing the stylesheet using the normal wp_enqueue_style function. We then capture the output using the filter and replace it's rel attribute with your updated attributes.
Q: Enqueue custom font file with rel="preload" I'm using a custom font on my WP site. It is now included with @font-face css attribute. But I'm wondering if there is any way to wp_enqueue this file with the attribute rel="preload" and may be some other attributes. So it looks something like this in browser: <link rel="preload" href="/fonts/custom-font-folder/CustomFontFile.woff2" as="font" type="font/woff2" crossorigin="anonymous"> Thank you in advance. A: You could try using the style_loader_tag filter. add_action('wp_enqueue_scripts', 'my_enqueue_scripts'); function my_enqueue_scripts() { wp_enqueue_style('my-style-handle', '/fonts/custom-font-folder/CustomFontFile.woff2', array(), null); } add_filter('style_loader_tag', 'my_style_loader_tag_filter', 10, 2); function my_style_loader_tag_filter($html, $handle) { if ($handle === 'my-style-handle') { return str_replace("rel='stylesheet'", "rel='preload' as='font' type='font/woff2' crossorigin='anonymous'", $html); } return $html; } Here we're enqueuing the stylesheet using the normal wp_enqueue_style function. We then capture the output using the filter and replace it's rel attribute with your updated attributes.
wordpress
{ "language": "en", "length": 133, "provenance": "stackexchange_00019.jsonl.gz:499561", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353589" }
[ -0.0181884765625, 0.00091552734375, -0.048309326171875, -0.049560546875, -0.00038933753967285156, -0.0128936767578125, -0.0115509033203125, 0.035369873046875, -0.03387451171875, 0.024322509765625, 0.0250701904296875, 0.0033893585205078125, 0.00289154052734375, -0.034515380859375, 0.02655029296875, -0.0150909423828125, 0.0286407470703125, -0.0209503173828125, 0.0382080078125, -0.0045318603515625, 0.0015096664428710938, 0.0046234130859375, 0.052337646484375, 0.02703857421875, 0.041412353515625, -0.07281494140625, 0.06304931640625, 0.0198822021484375, 0.0247039794921875, 0.003040313720703125, 0.03338623046875, -0.030548095703125, 0.025604248046875, 0.03912353515625, -0.049041748046875, 0.0070648193359375, 0.01702880859375, 0.01092529296875, -0.00177001953125, 0.032958984375, 0.0197296142578125, -0.010498046875, -0.01508331298828125, 0.0311737060546875, -0.01476287841796875, -0.0428466796875, 0.022186279296875, -0.040496826171875, -0.0147552490234375, 0.0189056396484375, 0.0284423828125, 0.0171356201171875, 0.03424072265625, -0.0204010009765625, 0.008270263671875, 0.012115478515625, -0.007350921630859375, -0.0070648193359375, -0.0007538795471191406, 0.0201568603515625, 0.00946807861328125, 0.0288238525390625, 0.0005512237548828125, 0.0031070709228515625, -0.033905029296875, -0.0272216796875, 0.01280975341796875, 0.01885986328125, -0.011474609375, -0.045135498046875, 0.018646240234375, 0.0287322998046875, 0.024810791015625, -0.057220458984375, 0.0012865066528320312, 0.04290771484375, -0.016998291015625, 0.01178741455078125, 0.0167694091796875, -0.026153564453125, 0.006412506103515625, -0.047088623046875, -0.04595947265625, 0.005771636962890625, 0.00411224365234375, 0.0240631103515625, -0.006404876708984375, -0.00659942626953125, -0.0001329183578491211, -0.0031604766845703125, -0.0190277099609375, 0.03570556640625, -0.0003552436828613281, -0.019073486328125, -0.0286712646484375, -0.0240936279296875, 0.0184173583984375, 0.01242828369140625, 0.0157623291015625, 0.04730224609375, 0.0228729248046875, -0.058135986328125, 0.071044921875, -0.04132080078125, 0.0196075439453125, 0.050445556640625, -0.025177001953125, -0.0006184577941894531, 0.043060302734375, 0.0138397216796875, 0.0160369873046875, -0.0164337158203125, 0.0235595703125, -0.00833892822265625, -0.021636962890625, -0.016204833984375, -0.002971649169921875, -0.01032257080078125, -0.00284576416015625, -0.01508331298828125, 0.02874755859375, 0.07305908203125, -0.01279449462890625, -0.06707763671875, -0.016845703125, -0.038421630859375, 0.0012922286987304688, -0.0491943359375, 0.03173828125, 0.044158935546875, -0.0115966796875, -0.0093994140625, 0.050537109375, 0.035491943359375, 0.005764007568359375, -0.031494140625, 0.03314208984375, -0.0028896331787109375, -0.025421142578125, 0.01399993896484375, 0.0158233642578125, -0.041595458984375, -0.036376953125, 0.003551483154296875, -0.02789306640625, 0.0106048583984375, 0.0026721954345703125, 0.0218658447265625, -0.00035381317138671875, -0.060821533203125, 0.02606201171875, -0.059783935546875, 0.04974365234375, 0.002593994140625, -0.01312255859375, -0.0272216796875, 0.039337158203125, -0.024444580078125, -0.0199127197265625, -0.04986572265625, -0.06884765625, -0.034149169921875, 0.01611328125, -0.01273345947265625, -0.002758026123046875, 0.04461669921875, 0.051666259765625, 0.0139312744140625, 0.0147552490234375, -0.003070831298828125, -0.047515869140625, -0.0191802978515625, 0.055328369140625, -0.004367828369140625, -0.0232086181640625, 0.044586181640625, 0.0015277862548828125, 0.00943756103515625, 0.0517578125, 0.023162841796875, -0.005489349365234375, -0.01488494873046875, 0.1070556640625, -0.0338134765625, -0.02056884765625, -0.035186767578125, 0.0276031494140625, 0.04974365234375, 0.01053619384765625, 0.035003662109375, 0.0166778564453125, -0.0234527587890625, -0.04412841796875, 0.004764556884765625, -0.0179901123046875, -0.00849151611328125, 0.0127410888671875, 0.0137786865234375, -0.0029582977294921875, 0.01018524169921875, 0.047760009765625, 0.014068603515625, 0.0218353271484375, -0.0221405029296875, -0.09368896484375, 0.0447998046875, -0.041534423828125, 0.047576904296875, -0.015655517578125, -0.007965087890625, 0.0167388916015625, -0.00582122802734375, -0.00930023193359375, -0.0175323486328125, -0.019989013671875, 0.0292205810546875, 0.0058746337890625, 0.0543212890625, -0.0095977783203125, 0.028564453125, 0.01174163818359375, -0.0465087890625, 0.019287109375, 0.06231689453125, -0.0086822509765625, 0.014892578125, -0.024932861328125, 0.00475311279296875, 0.00421142578125, 0.01015472412109375, 0.061981201171875, 0.0214385986328125, 0.0604248046875, 0.06866455078125, -0.0275421142578125, -0.021820068359375, -0.004604339599609375, -0.0310211181640625, 0.0084686279296875, 0.03985595703125, 0.0391845703125, 0.046417236328125, 0.006893157958984375, -0.0040740966796875, 0.0491943359375, 0.01427459716796875, 0.049041748046875, -0.047515869140625, 0.00021767616271972656, -0.003021240234375, -0.019927978515625, -0.004924774169921875, 0.035247802734375, -0.042694091796875, -0.0108184814453125, 0.051055908203125, 0.009796142578125, 0.004962921142578125, -0.00041604042053222656, 0.01187896728515625, 0.01209259033203125, 0.061126708984375, -0.008148193359375, 0.0295867919921875, -0.00789642333984375, -0.0003237724304199219, -0.009124755859375, -0.01161956787109375, -0.0172882080078125, 0.0166778564453125, 0.032318115234375, -0.04254150390625, -0.00992584228515625, 0.005367279052734375, -0.01000213623046875, -0.0282440185546875, -0.0231781005859375, 0.0266876220703125, -0.00775909423828125, -0.0220947265625, 0.004974365234375, 0.038604736328125, -0.056396484375, -0.01424407958984375, -0.0217437744140625, -0.06573486328125, -0.0188751220703125, 0.0290069580078125, 0.0660400390625, 0.0489501953125, 0.05511474609375, 0.03033447265625, 0.01477813720703125, 0.033660888671875, 0.01934814453125, -0.00786590576171875, 0.04693603515625, -0.0335693359375, 0.042388916015625, -0.01641845703125, 0.00621795654296875, 0.06109619140625, 0.004058837890625, 0.0032787322998046875, 0.0215911865234375, 0.00208282470703125, -0.0023479461669921875, 0.031829833984375, 0.0101165771484375, -0.01409912109375, -0.03179931640625, 0.012542724609375, 0.03033447265625, 0.0380859375, 0.00717926025390625, -0.0225372314453125, 0.000644683837890625, 0.0350341796875, -0.04571533203125, -0.086181640625, -0.0009965896606445312, -0.041229248046875, 0.0257110595703125, -0.00650787353515625, -0.023040771484375, -0.01381683349609375, 0.0239105224609375, 0.0082244873046875, -0.043701171875, -0.015045166015625, -0.040924072265625, -0.080078125, -0.07177734375, -0.028778076171875, 0.00823974609375, 0.0201873779296875, 0.0007605552673339844, 0.0350341796875, 0.0003972053527832031, -0.014556884765625, 0.031890869140625, 0.0029621124267578125, -0.002208709716796875, -0.00508880615234375, 0.00890350341796875, -0.07440185546875, 0.0165557861328125, -0.0258331298828125, 0.0204010009765625, 0.0259552001953125, 0.0040435791015625, 0.02496337890625, -0.01513671875, -0.03656005859375, 0.0016679763793945312, 0.01280975341796875, 0.012115478515625, -0.034912109375, 0.0112762451171875, -0.05078125, -0.02392578125, -0.0037059783935546875, -0.025848388671875, 0.063232421875, 0.0162811279296875, -0.0360107421875, 0.0102081298828125, 0.032012939453125, 0.005382537841796875, -0.02081298828125, 0.019287109375, -0.0240020751953125, 0.0322265625, 0.00443267822265625, -0.0007185935974121094, -0.0269927978515625, 0.05462646484375, -0.00904083251953125, 0.055328369140625, 0.05767822265625, 0.01453399658203125, 0.01739501953125, -0.0631103515625, -0.042510986328125, -0.0167388916015625, 0.045166015625, -0.024505615234375, 0.040618896484375, -0.04437255859375, -0.030242919921875, -0.0155029296875, 0.0892333984375, 0.01549530029296875, -0.0247955322265625, 0.00699615478515625, 0.0197601318359375, -0.038818359375, -0.0458984375, -0.01287078857421875, 0.006366729736328125, -0.050048828125, 0.0064849853515625, -0.01352691650390625, -0.037628173828125, -0.0026111602783203125, -0.056396484375, -0.050872802734375, -0.03997802734375, 0.023284912109375, -0.0254669189453125, 0.0026702880859375, 0.028289794921875, -0.01091766357421875, 0.0166168212890625, -0.01947021484375, -0.0283966064453125, -0.09564208984375, -0.0087738037109375, -0.06781005859375, 0.09564208984375, 0.045379638671875, -0.00852203369140625, -0.0305328369140625, 0.042633056640625, 0.035430908203125, 0.0230712890625, 0.0223388671875, -0.015472412109375, 0.01239013671875, 0.017120361328125, 0.02130126953125, -0.0169219970703125, 0.00872802734375, 0.024566650390625, -0.0623779296875, 0.04559326171875, -0.004119873046875, -0.0254364013671875, 0.06146240234375, -0.06597900390625, -0.0027561187744140625, 0.010009765625, -0.00670623779296875, -0.01061248779296875, -0.001255035400390625, -0.0296478271484375, 0.0192108154296875, 0.0020904541015625, 0.0259552001953125, 0.01221466064453125, -0.0002465248107910156, -0.0118865966796875, 0.01367950439453125, 0.0303192138671875, -0.036407470703125, 0.013641357421875, 0.03778076171875, 0.0250701904296875, 0.021820068359375, 0.042388916015625, 0.0183563232421875, 0.0083465576171875, -0.006084442138671875, 0.0069122314453125, 0.0130767822265625, -0.0087127685546875, 0.0170135498046875, 0.0189056396484375, -0.009735107421875, 0.0041351318359375, 0.033660888671875, -0.0258026123046875, 0.03277587890625, 0.0298919677734375, -0.005306243896484375, 0.037994384765625, -0.00833892822265625, 0.012786865234375, -0.069091796875, -0.003803253173828125, -0.00197601318359375, -0.004558563232421875, 0.03009033203125, 0.08013916015625, 0.0364990234375, -0.006687164306640625, 0.035125732421875, 0.041412353515625, 0.01019287109375, 0.002918243408203125, 0.025604248046875, -0.0528564453125, 0.041534423828125, -0.01206207275390625, -0.0156707763671875, -0.0066680908203125, 0.00121307373046875, 0.0246429443359375, 0.0015544891357421875, -0.02984619140625, -0.039154052734375, 0.0238037109375, 0.0224609375, 0.004917144775390625, -0.02044677734375, 0.0125885009765625, 0.0479736328125, -0.017578125, 0.0193328857421875, 0.00018775463104248047, 0.0328369140625, -0.0294036865234375, -0.013885498046875, 0.00614166259765625, -0.021881103515625, -0.021392822265625, 0.03607177734375, 0.0232086181640625, -0.019683837890625, -0.003551483154296875, 0.0233612060546875, 0.004917144775390625, 0.0347900390625, 0.0214385986328125, -0.0303497314453125, 0.0179595947265625, -0.00041937828063964844, 0.008148193359375, -0.029266357421875, 0.00835418701171875, 0.002471923828125, 0.05242919921875, -0.0130462646484375, -0.032379150390625, 0.03948974609375, -0.031585693359375, -0.0303955078125, 0.0171966552734375, -0.0187835693359375, -0.049468994140625, -0.0240631103515625, -0.0186309814453125, 0.0181427001953125, -0.0036773681640625, -0.005825042724609375, -0.0020465850830078125, -0.0161285400390625, 0.01983642578125, -0.023651123046875, 0.001148223876953125, -0.020172119140625, -0.0208892822265625, -0.007785797119140625, 0.01107025146484375, 0.005401611328125, -0.04998779296875, -0.058807373046875, -0.0012197494506835938, -0.00768280029296875, 0.02880859375, -0.03021240234375, 0.0208587646484375, -0.026031494140625, -0.0168304443359375, -0.069580078125, 0.0256500244140625, 0.01137542724609375, 0.00954437255859375, -0.018829345703125, -0.00817108154296875, -0.03521728515625, -0.00830078125, 0.006137847900390625, -0.032867431640625, -0.0157623291015625, -0.0133819580078125, -0.00913238525390625, 0.01383209228515625, -0.031707763671875, -0.02264404296875, -0.00652313232421875, 0.02740478515625, 0.01251983642578125, 0.042724609375, -0.037628173828125, 0.050048828125, 0.0297088623046875, -0.01038360595703125, 0.0028629302978515625, 0.040740966796875, 0.0325927734375, -0.015045166015625, -0.0241546630859375, -0.05657958984375, 0.01329803466796875, 0.0149078369140625, -0.0010166168212890625, 0.0556640625, 0.06427001953125, 0.0225830078125, 0.03350830078125, -0.02069091796875, -0.00843048095703125, -0.0163421630859375, 0.018463134765625, -0.032806396484375, 0.00909423828125, 0.0287017822265625, 0.019744873046875, 0.01282501220703125, -0.0025615692138671875, -0.0169677734375, 0.01290130615234375, 0.00965118408203125, 0.00931549072265625, -0.01145172119140625, -0.048797607421875, 0.051300048828125, 0.033538818359375, 0.02734375, 0.0172271728515625, -0.02764892578125, 0.01403045654296875, -0.018035888671875, -0.0243988037109375, -0.00360870361328125, 0.01354217529296875, 0.0261383056640625, -0.028778076171875, 0.0074005126953125, 0.0255279541015625, 0.00254058837890625, 0.009796142578125, 0.035247802734375, 0.0491943359375, -0.03179931640625, -0.010833740234375, -0.000438690185546875, -0.0469970703125, -0.007221221923828125, -0.0161285400390625, 0.0268402099609375, 0.001346588134765625, 0.0753173828125, -0.00638580322265625, -0.00225067138671875, 0.042755126953125, -0.0255584716796875, -0.01812744140625, -0.05096435546875, -0.019378662109375, -0.0167083740234375, -0.0240631103515625, 0.001129150390625, 0.00975799560546875, -0.0391845703125, -0.016571044921875, 0.0286865234375, -0.0260467529296875, -0.0187835693359375, -0.04058837890625, -0.00832366943359375, -0.01062774658203125, -0.025634765625, 0.02423095703125, 0.017425537109375, 0.058135986328125, -0.00466156005859375, 0.0360107421875, -0.0250091552734375, -0.037384033203125, 0.0149688720703125, -0.01102447509765625, -0.03558349609375, 0.023101806640625, -0.004199981689453125, -0.018096923828125, 0.0180511474609375, -0.0008864402770996094, -0.0345458984375, -0.0024700164794921875, 0.0289306640625, 0.0660400390625, -0.058837890625, -0.0054779052734375, 0.01959228515625, 0.0031299591064453125, 0.01305389404296875, -0.0013742446899414062, 0.0018787384033203125, -0.081298828125, -0.07647705078125, 0.004467010498046875, -0.0982666015625, -0.0209503173828125, -0.047607421875, -0.07708740234375, 0.10369873046875, -0.027801513671875, 0.0814208984375, 0.032562255859375, 0.0137939453125, -0.01959228515625, -0.012786865234375, -0.0182647705078125, 0.0226287841796875, 0.044952392578125, 0.029541015625, -0.024871826171875, -0.029693603515625, 0.02880859375, 0.05401611328125, 0.0014362335205078125, -0.0023345947265625, 0.016357421875, 0.00499725341796875, 0.06109619140625, 0.06085205078125, 0.0211944580078125, -0.04058837890625, -0.02252197265625, 0.0158538818359375, -0.032012939453125, -0.051666259765625, 0.00717926025390625, -0.043487548828125, -0.056610107421875, 0.0122222900390625, 0.0020084381103515625, -0.00318145751953125, -0.02752685546875, 0.010894775390625, -0.06939697265625, -0.0017614364624023438, 0.038421630859375, 0.01439666748046875, -0.0033130645751953125, 0.0301513671875, 0.02325439453125, -0.031707763671875, -0.051513671875, -0.0185089111328125, 0.0298919677734375, -0.01177215576171875, -0.0206146240234375, -0.01059722900390625, -0.00885772705078125, 0.03607177734375, -0.006610870361328125, -0.0267791748046875, 0.03515625, 0.0220489501953125, 0.0225982666015625, 0.0003917217254638672, 0.01361846923828125, -0.026641845703125, 0.03216552734375, -0.005207061767578125, 0.0222015380859375, -0.04608154296875, 0.0009441375732421875, 0.018341064453125, 0.0311737060546875, -0.009521484375, -0.025390625, 0.037109375, -0.09320068359375, -0.0535888671875, -0.020965576171875, 0.0104827880859375, 0.0179595947265625, 0.002811431884765625, 0.0008254051208496094, 0.027862548828125, -0.0316162109375, 0.0125885009765625, -0.0543212890625, 0.0322265625, 0.010101318359375, 0.02349853515625, 0.00867462158203125, 0.0273895263671875, 0.0231170654296875, -0.00551605224609375, -0.02630615234375, -0.0140228271484375, -0.01113128662109375, 0.036773681640625, -0.020294189453125, 0.0197296142578125, -0.0019330978393554688, 0.05865478515625, 0.05877685546875, 0.017608642578125, 0.043975830078125, -0.02392578125, -0.038604736328125, 0.0245513916015625, 0.033294677734375, -0.0233917236328125, 0.032440185546875, -0.0244598388671875, 0.01416015625, -0.0114898681640625, -0.0214691162109375, -0.0209503173828125, -0.00611114501953125, 0.04925537109375, -0.03509521484375, 0.05364990234375, -0.002033233642578125, 0.0167236328125, 0.0015001296997070312, -0.0089569091796875, -0.0162353515625, 0.00174713134765625, -0.03326416015625, -0.0027942657470703125, 0.001483917236328125, -0.007442474365234375, -0.007007598876953125, 0.0289306640625, -0.0069122314453125, 0.0305328369140625, 0.04400634765625, -0.0198822021484375, -0.0106353759765625, 0.040924072265625, 0.01934814453125, 0.030731201171875, 0.0440673828125, 0.04437255859375, -0.03680419921875, -0.0237579345703125, 0.0096282958984375, 0.038055419921875, 0.0100555419921875, 0.0028896331787109375, -0.00185394287109375, 0.004474639892578125, 0.057708740234375, -0.003269195556640625, 0.02337646484375, 0.01861572265625, 0.0262451171875, -0.0243988037109375, 0.0136871337890625, -0.0126800537109375, -0.03179931640625, 0.022705078125, 0.0187530517578125, -0.01148223876953125, 0.00484466552734375, 0.002544403076171875, 0.025054931640625, -0.00421142578125, -0.0190277099609375, -0.06549072265625, -0.055450439453125, -0.0635986328125, -0.0118560791015625, -0.0221710205078125, -0.06866455078125, -0.003215789794921875, 0.0188751220703125, 0.018280029296875, -0.0258941650390625, 0.035736083984375, -0.019622802734375, 0.07000732421875, 0.0433349609375, -0.032012939453125, -0.02252197265625, 0.0125732421875, -0.01654052734375, 0.006153106689453125, 0.0111083984375, 0.04473876953125, -0.005725860595703125, 0.00612640380859375, 0.034393310546875, 0.0164947509765625, 0.055145263671875, 0.0113372802734375, 0.017669677734375, 0.0028934478759765625, 0.005645751953125, -0.0160064697265625, -0.025390625, -0.020416259765625, -0.043121337890625, -0.0009813308715820312, 0.01351165771484375, -0.026275634765625, -0.02764892578125, -0.041046142578125, -0.0028629302978515625, 0.0439453125, 0.0150604248046875, -0.04925537109375, 0.0093841552734375, -0.031982421875, 0.036376953125, 0.0159454345703125, 0.0063018798828125, 0.00955963134765625, 0.035858154296875, -0.04443359375, -0.06640625, -0.0301971435546875, 0.050445556640625, -0.055145263671875, -0.00351715087890625, 0.03936767578125, -0.009246826171875, 0.0212860107421875, -0.035797119140625, 0.006805419921875, 0.02557373046875, -0.06085205078125, -0.01470184326171875, 0.01995849609375, -0.013427734375, -0.019927978515625, -0.106689453125, 0.01123809814453125, -0.11785888671875, 0.01052093505859375, 0.00811004638671875, -0.00948333740234375, 0.006481170654296875, -0.040313720703125, -0.1080322265625, 0.0238189697265625, -0.006214141845703125, -0.057403564453125, -0.0247344970703125, -0.0007023811340332031, -0.00986480712890625, -0.016143798828125, 0.00004744529724121094, -0.0614013671875, -0.01560211181640625, 0.032012939453125, -0.007602691650390625, 0.032867431640625, 0.009124755859375, -0.0183258056640625, -0.05474853515625, -0.0131378173828125, -0.020050048828125, 0.005947113037109375, -0.034088134765625, 0.007457733154296875, -0.0030879974365234375, 0.019378662109375, -0.0021839141845703125, -0.0074462890625, 0.016448974609375, -0.025299072265625, -0.003936767578125, -0.0106964111328125, -0.0166168212890625, -0.012542724609375, 0.0458984375, -0.014495849609375, 0.0007677078247070312, 0.006610870361328125, -0.001270294189453125, 0.007183074951171875, 0.00640106201171875, 0.0008950233459472656, 0.008819580078125, -0.05230712890625, -0.0160064697265625, 0.00341033935546875, 0.004154205322265625, -0.047332763671875, -0.046722412109375, -0.04852294921875, -0.01326751708984375, -0.036376953125, 0.029510498046875, -0.00882720947265625, 0.0009946823120117188, 0.07977294921875, -0.0142364501953125, 0.07220458984375, -0.019989013671875, 0.0299530029296875, 0.08270263671875, -0.009307861328125, -0.036651611328125, 0.004306793212890625, -0.0135650634765625, 0.005947113037109375, -0.0064544677734375, -0.038177490234375, 0.006256103515625, 0.025726318359375, 0.00403594970703125, -0.005496978759765625, -0.0236358642578125, -0.01183319091796875, 0.0090484619140625, 0.01311492919921875, -0.0199432373046875, 0.08026123046875, -0.04931640625, 0.01551055908203125, -0.007526397705078125, -0.0279388427734375, -0.0621337890625, 0.048797607421875, 0.004108428955078125, -0.0307769775390625, 0.011962890625, -0.00933837890625, -0.0100250244140625, -0.0166778564453125, -0.0128173828125, -0.009033203125, -0.002315521240234375, -0.00021266937255859375 ]
7e19321e0d8dc5f6f8247870cf3c84f2f302306f
Wordpress Stackexchange Q: Block search SQL from happening I need to block some accesses to search results not the whole page, just the results. The problem is, I need the search SQL query to not happen AT ALL. (I can conditionaly hide the output loop template very easily, I'm just not sure SQL is not happening). Where would I prevent such thing (I assume some filter/action hook I just could not find the right one)? EDIT: Please note, that the page needs to be loaded and displayed, otherwise I would proceed with request blocking approach like template_redirect A: It's possible to avoid SQL execution in WP_Query with the posts_pre_query filter. It's e.g. used by plugins to outsource the default search to 3rd party search engines. Here's an example how we can override the main search query on the front-end, with an empty posts array and avoid running the SQL search query: add_filter( 'posts_pre_query', function( $posts, \WP_Query $query ){ if( $query->is_search() && $query->is_main_query() && ! is_admin() ) { return array(); } return $posts; }, 10, 2 ); Since we're returning an empty array, I don't think we need to adjust the $query->found_posts or $query->max_num_pages as they are zero by default.
Q: Block search SQL from happening I need to block some accesses to search results not the whole page, just the results. The problem is, I need the search SQL query to not happen AT ALL. (I can conditionaly hide the output loop template very easily, I'm just not sure SQL is not happening). Where would I prevent such thing (I assume some filter/action hook I just could not find the right one)? EDIT: Please note, that the page needs to be loaded and displayed, otherwise I would proceed with request blocking approach like template_redirect A: It's possible to avoid SQL execution in WP_Query with the posts_pre_query filter. It's e.g. used by plugins to outsource the default search to 3rd party search engines. Here's an example how we can override the main search query on the front-end, with an empty posts array and avoid running the SQL search query: add_filter( 'posts_pre_query', function( $posts, \WP_Query $query ){ if( $query->is_search() && $query->is_main_query() && ! is_admin() ) { return array(); } return $posts; }, 10, 2 ); Since we're returning an empty array, I don't think we need to adjust the $query->found_posts or $query->max_num_pages as they are zero by default.
wordpress
{ "language": "en", "length": 197, "provenance": "stackexchange_00019.jsonl.gz:499565", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353617" }
[ 0.083740234375, -0.0025005340576171875, 0.048187255859375, -0.0241851806640625, 0.02203369140625, -0.019561767578125, 0.070556640625, -0.0293731689453125, 0.055816650390625, -0.0033702850341796875, -0.00928497314453125, -0.030792236328125, -0.0303192138671875, -0.041290283203125, -0.0209808349609375, -0.03033447265625, 0.03729248046875, -0.0150604248046875, 0.0092926025390625, -0.0116729736328125, 0.0094757080078125, 0.0087738037109375, 0.004863739013671875, 0.05609130859375, 0.0221099853515625, -0.04718017578125, 0.09906005859375, -0.0121002197265625, 0.02276611328125, -0.0258026123046875, 0.0178375244140625, -0.0097808837890625, 0.0250091552734375, 0.00936126708984375, -0.018646240234375, -0.0190277099609375, -0.0009098052978515625, 0.0097808837890625, 0.0085906982421875, -0.01114654541015625, 0.018890380859375, -0.0113983154296875, -0.049072265625, -0.0136260986328125, -0.041290283203125, -0.0243988037109375, 0.01461029052734375, -0.01334381103515625, 0.03131103515625, -0.0168609619140625, -0.01349639892578125, 0.07928466796875, 0.0015621185302734375, -0.0223846435546875, -0.0145111083984375, 0.01020050048828125, -0.021026611328125, -0.006195068359375, 0.0293426513671875, 0.017669677734375, -0.00489044189453125, -0.00811004638671875, 0.002880096435546875, -0.0198822021484375, 0.0142059326171875, -0.01715087890625, 0.00800323486328125, 0.029083251953125, -0.0263824462890625, 0.015106201171875, 0.0295562744140625, -0.0222015380859375, -0.002685546875, 0.00762176513671875, -0.006378173828125, -0.0279083251953125, 0.01204681396484375, -0.0222015380859375, 0.01523590087890625, 0.0296478271484375, -0.006145477294921875, -0.046142578125, -0.0007424354553222656, -0.0204010009765625, 0.011138916015625, 0.0030364990234375, -0.0083160400390625, 0.01306915283203125, 0.005756378173828125, -0.010833740234375, -0.01189422607421875, -0.0005154609680175781, 0.006305694580078125, -0.0015497207641601562, -0.0259246826171875, -0.0322265625, 0.0168914794921875, 0.03277587890625, 0.004302978515625, -0.0008273124694824219, -0.0196533203125, -0.022552490234375, -0.03070068359375, -0.01318359375, 0.018951416015625, 0.046905517578125, -0.0032024383544921875, 0.007114410400390625, 0.038787841796875, 0.018310546875, 0.0181884765625, 0.0174560546875, -0.0200958251953125, 0.00044155120849609375, -0.059967041015625, 0.026641845703125, -0.016571044921875, -0.0341796875, -0.0160064697265625, 0.0145416259765625, 0.00543975830078125, 0.0180816650390625, 0.01160430908203125, -0.04638671875, 0.021514892578125, -0.0177001953125, -0.033966064453125, -0.0153961181640625, 0.0202178955078125, 0.03533935546875, -0.0271148681640625, -0.0218048095703125, 0.0279541015625, 0.033721923828125, 0.0213165283203125, -0.017242431640625, 0.003139495849609375, 0.0010786056518554688, 0.0013761520385742188, 0.0092620849609375, 0.0154571533203125, -0.036285400390625, -0.014404296875, 0.0128173828125, 0.04144287109375, 0.0168304443359375, 0.03778076171875, 0.0186309814453125, -0.0011348724365234375, -0.03411865234375, -0.0042266845703125, 0.055633544921875, 0.049072265625, -0.00824737548828125, -0.07476806640625, -0.0088653564453125, -0.020050048828125, -0.00756072998046875, -0.046173095703125, -0.0382080078125, 0.01268768310546875, 0.01378631591796875, 0.021881103515625, -0.01500701904296875, -0.037322998046875, -0.019073486328125, -0.023681640625, -0.0111083984375, 0.006267547607421875, 0.02386474609375, -0.004150390625, 0.0140228271484375, 0.01531219482421875, -0.008209228515625, -0.0179901123046875, -0.03155517578125, 0.0164642333984375, -0.01488494873046875, 0.02984619140625, -0.0033473968505859375, -0.02093505859375, -0.02716064453125, 0.043914794921875, -0.008575439453125, -0.0640869140625, 0.08111572265625, -0.006732940673828125, 0.044189453125, -0.007755279541015625, 0.0035858154296875, 0.049560546875, 0.050537109375, -0.0361328125, 0.04718017578125, 0.002559661865234375, -0.061737060546875, 0.0024967193603515625, -0.0157012939453125, -0.0014820098876953125, 0.0005350112915039062, 0.0284423828125, 0.026275634765625, -0.025299072265625, -0.00846099853515625, -0.0694580078125, -0.006870269775390625, -0.016265869140625, 0.0276947021484375, -0.0295562744140625, 0.018890380859375, 0.03302001953125, 0.0016279220581054688, -0.04522705078125, 0.032989501953125, 0.0054473876953125, -0.0159149169921875, -0.020965576171875, 0.0240478515625, 0.007053375244140625, -0.00315093994140625, 0.002536773681640625, -0.03857421875, -0.0009832382202148438, -0.007709503173828125, 0.057342529296875, -0.0252227783203125, -0.0085601806640625, -0.032318115234375, 0.041351318359375, -0.0110626220703125, -0.01058197021484375, 0.04412841796875, 0.08453369140625, 0.08148193359375, -0.017242431640625, 0.002880096435546875, 0.015777587890625, -0.060394287109375, -0.00008797645568847656, 0.04425048828125, 0.0232086181640625, 0.0185546875, -0.034027099609375, -0.0160369873046875, -0.0049285888671875, -0.07916259765625, -0.00708770751953125, 0.006046295166015625, 0.0130462646484375, 0.018035888671875, -0.023193359375, -0.0268402099609375, 0.0296173095703125, -0.04754638671875, -0.0084075927734375, 0.03662109375, 0.0304412841796875, 0.0186920166015625, -0.01338958740234375, -0.003620147705078125, 0.005767822265625, 0.0273590087890625, -0.0278778076171875, 0.02789306640625, -0.0225830078125, 0.01338958740234375, 0.0037517547607421875, 0.01087188720703125, -0.0174102783203125, 0.012908935546875, 0.0157012939453125, -0.041290283203125, -0.002506256103515625, -0.0167083740234375, -0.007068634033203125, -0.025115966796875, -0.0406494140625, 0.03759765625, 0.00946044921875, -0.033203125, -0.00548553466796875, 0.052581787109375, -0.035369873046875, -0.0193328857421875, -0.031524658203125, -0.01183319091796875, -0.0003662109375, 0.026763916015625, 0.01395416259765625, 0.0222320556640625, 0.0289306640625, 0.019989013671875, -0.0203094482421875, 0.04248046875, -0.004077911376953125, -0.003734588623046875, 0.0020046234130859375, -0.06488037109375, 0.038909912109375, -0.032867431640625, 0.07928466796875, 0.08319091796875, -0.005626678466796875, 0.0254974365234375, 0.006847381591796875, 0.01274871826171875, 0.02044677734375, -0.00664520263671875, -0.01824951171875, 0.0242919921875, -0.0802001953125, -0.023651123046875, 0.0325927734375, 0.0389404296875, 0.006130218505859375, -0.0267486572265625, -0.0038928985595703125, 0.03582763671875, -0.019439697265625, -0.01215362548828125, 0.0197601318359375, -0.01337432861328125, -0.011688232421875, -0.006290435791015625, 0.0017995834350585938, -0.00989532470703125, -0.00933837890625, -0.01114654541015625, 0.01056671142578125, -0.016082763671875, -0.07989501953125, -0.0263824462890625, -0.0467529296875, 0.055267333984375, -0.0079345703125, 0.0005068778991699219, 0.0029754638671875, 0.1138916015625, 0.01531982421875, -0.0931396484375, -0.0160369873046875, 0.014404296875, -0.0419921875, 0.0150909423828125, -0.0216522216796875, -0.0360107421875, 0.0131988525390625, -0.0011568069458007812, -0.0210418701171875, 0.002323150634765625, 0.03411865234375, -0.006755828857421875, 0.0277099609375, 0.029754638671875, 0.045135498046875, -0.01141357421875, -0.053070068359375, 0.026702880859375, 0.0276947021484375, -0.0203857421875, -0.0382080078125, -0.0218048095703125, -0.061614990234375, 0.00879669189453125, 0.045654296875, 0.00823211669921875, -0.019012451171875, 0.0022983551025390625, 0.07305908203125, 0.030426025390625, -0.007167816162109375, -0.00490570068359375, 0.039764404296875, 0.02142333984375, 0.06964111328125, -0.0445556640625, 0.034881591796875, -0.042999267578125, 0.0203857421875, 0.01198577880859375, -0.0203704833984375, 0.0119476318359375, -0.04833984375, 0.0016164779663085938, -0.00727081298828125, 0.0231781005859375, -0.029815673828125, 0.04083251953125, -0.04742431640625, -0.0080718994140625, -0.0467529296875, 0.04876708984375, -0.040069580078125, -0.026275634765625, -0.026031494140625, 0.022003173828125, 0.000037610530853271484, -0.078369140625, 0.030242919921875, -0.034393310546875, -0.0258026123046875, -0.020294189453125, -0.039154052734375, -0.0154266357421875, 0.00868988037109375, -0.06207275390625, 0.01360321044921875, -0.0577392578125, 0.0264739990234375, 0.00017559528350830078, -0.0019893646240234375, -0.01155853271484375, -0.0185089111328125, -0.01226806640625, -0.0085906982421875, -0.01508331298828125, -0.0865478515625, -0.0305328369140625, 0.0291290283203125, 0.055999755859375, -0.035675048828125, 0.035858154296875, -0.0638427734375, 0.026885986328125, 0.0249481201171875, -0.00270843505859375, 0.01849365234375, -0.01568603515625, 0.02642822265625, 0.013214111328125, 0.01666259765625, -0.0277099609375, 0.0012407302856445312, 0.00044465065002441406, 0.00678253173828125, -0.004116058349609375, -0.05792236328125, -0.058074951171875, -0.033538818359375, -0.0221405029296875, -0.058441162109375, -0.04693603515625, -0.00870513916015625, 0.007114410400390625, -0.026611328125, 0.0026092529296875, -0.041259765625, -0.0286712646484375, 0.030517578125, 0.03680419921875, -0.032440185546875, -0.0118255615234375, 0.0234222412109375, 0.0287322998046875, -0.03363037109375, -0.001865386962890625, -0.0071868896484375, 0.00732421875, -0.01445770263671875, 0.0180816650390625, -0.030914306640625, -0.015869140625, 0.048309326171875, -0.03619384765625, -0.044403076171875, -0.01358795166015625, 0.06585693359375, 0.0093841552734375, -0.0158538818359375, -0.002964019775390625, -0.03289794921875, 0.0263519287109375, 0.0469970703125, -0.0006103515625, -0.0323486328125, -0.00302886962890625, 0.049652099609375, 0.00435638427734375, 0.00876617431640625, -0.035064697265625, 0.0029087066650390625, -0.0109100341796875, 0.01557159423828125, 0.001049041748046875, 0.0253448486328125, -0.0115814208984375, -0.016510009765625, 0.01824951171875, 0.006099700927734375, 0.00775146484375, 0.0396728515625, -0.0149688720703125, 0.05633544921875, -0.025115966796875, -0.01459503173828125, -0.01190948486328125, 0.0014638900756835938, 0.043701171875, -0.04046630859375, -0.050262451171875, -0.021453857421875, -0.0167083740234375, 0.006595611572265625, 0.033843994140625, -0.01446533203125, 0.032623291015625, 0.0219573974609375, -0.0014753341674804688, 0.00537872314453125, -0.0018939971923828125, -0.03778076171875, -0.0288848876953125, 0.00853729248046875, 0.007183074951171875, 0.0003063678741455078, 0.0011415481567382812, 0.061981201171875, -0.00231170654296875, 0.02947998046875, -0.029754638671875, 0.0091094970703125, -0.014007568359375, 0.0146484375, -0.00662994384765625, 0.038177490234375, 0.032379150390625, -0.0120391845703125, 0.0457763671875, 0.005462646484375, -0.03216552734375, 0.0114898681640625, -0.01397705078125, 0.0204315185546875, 0.030059814453125, -0.00435638427734375, 0.019012451171875, -0.0214996337890625, 0.042083740234375, 0.031982421875, 0.002338409423828125, -0.07293701171875, -0.08526611328125, 0.0401611328125, 0.017852783203125, -0.0084381103515625, 0.01372528076171875, -0.0260467529296875, 0.0233917236328125, 0.0137939453125, -0.015533447265625, -0.0074462890625, -0.0016193389892578125, -0.027191162109375, -0.052734375, 0.005645751953125, 0.0005140304565429688, 0.0546875, -0.038726806640625, -0.037841796875, -0.001171112060546875, -0.0310821533203125, 0.05084228515625, -0.005092620849609375, -0.0279693603515625, 0.0177764892578125, 0.02716064453125, 0.021087646484375, 0.02081298828125, -0.05218505859375, -0.005229949951171875, -0.05841064453125, -0.027923583984375, 0.01071929931640625, -0.0020351409912109375, -0.04266357421875, 0.002552032470703125, 0.02471923828125, 0.0204010009765625, -0.0036487579345703125, -0.05279541015625, -0.038604736328125, -0.0143280029296875, 0.0323486328125, -0.005878448486328125, -0.060882568359375, 0.07232666015625, -0.01282501220703125, -0.0016946792602539062, -0.027618408203125, 0.02783203125, 0.023712158203125, 0.01434326171875, 0.00013375282287597656, -0.0633544921875, -0.018402099609375, 0.03424072265625, -0.0313720703125, 0.00571441650390625, -0.00959014892578125, -0.002025604248046875, -0.020751953125, -0.01934814453125, 0.01016998291015625, -0.031494140625, 0.06561279296875, -0.01071929931640625, -0.0119171142578125, 0.0156097412109375, 0.00800323486328125, 0.0179901123046875, -0.0184173583984375, -0.0340576171875, 0.033905029296875, 0.000274658203125, 0.035430908203125, -0.02484130859375, 0.0002872943878173828, 0.0255889892578125, 0.06005859375, 0.0011005401611328125, 0.03472900390625, -0.0010852813720703125, 0.0037937164306640625, 0.006191253662109375, -0.00640869140625, -0.00473785400390625, 0.022064208984375, 0.06927490234375, -0.0030975341796875, -0.018707275390625, 0.039794921875, -0.038116455078125, -0.00821685791015625, 0.0738525390625, 0.051849365234375, -0.0831298828125, -0.01515960693359375, 0.019073486328125, -0.0022411346435546875, -0.0267333984375, 0.0263214111328125, -0.005397796630859375, -0.0440673828125, 0.005359649658203125, 0.024627685546875, 0.01312255859375, 0.00177764892578125, 0.0179595947265625, 0.0019893646240234375, -0.0295867919921875, 0.02685546875, 0.0013179779052734375, -0.0279083251953125, 0.00588226318359375, 0.0013074874877929688, 0.00490570068359375, -0.0036258697509765625, 0.044464111328125, -0.01551055908203125, 0.00682830810546875, -0.040740966796875, 0.01088714599609375, -0.00807952880859375, -0.0195770263671875, 0.04083251953125, 0.0229034423828125, 0.00905609130859375, 0.058319091796875, -0.006744384765625, 0.0218658447265625, 0.0292816162109375, -0.034271240234375, -0.0149078369140625, -0.0283966064453125, 0.00605010986328125, 0.0094146728515625, -0.03399658203125, 0.023193359375, -0.00926971435546875, -0.031951904296875, -0.0088653564453125, -0.061309814453125, 0.07843017578125, -0.022796630859375, -0.023345947265625, -0.0007309913635253906, -0.02154541015625, -0.00021195411682128906, -0.019256591796875, 0.01233673095703125, -0.0210418701171875, 0.029571533203125, -0.01483154296875, 0.0179901123046875, -0.00432586669921875, -0.01470947265625, -0.034027099609375, 0.02508544921875, -0.0225830078125, 0.00946044921875, 0.038116455078125, 0.0068511962890625, -0.016387939453125, -0.0005583763122558594, -0.049102783203125, 0.042877197265625, 0.001918792724609375, 0.062255859375, -0.0288238525390625, 0.002044677734375, 0.02362060546875, 0.0026531219482421875, 0.035125732421875, -0.0018930435180664062, -0.0263824462890625, -0.0116729736328125, 0.0413818359375, 0.033416748046875, -0.0013284683227539062, 0.0313720703125, 0.00601959228515625, 0.07586669921875, 0.048065185546875, -0.08251953125, 0.019775390625, -0.02587890625, 0.0025577545166015625, 0.02496337890625, 0.01203155517578125, 0.01297760009765625, -0.0014925003051757812, 0.01273345947265625, -0.0272979736328125, -0.00818634033203125, 0.0281524658203125, -0.02777099609375, 0.00628662109375, 0.043731689453125, 0.06219482421875, -0.085693359375, -0.044677734375, -0.0362548828125, 0.038665771484375, 0.02349853515625, -0.0012006759643554688, 0.0160369873046875, 0.009918212890625, 0.0264739990234375, -0.04388427734375, -0.01024627685546875, 0.0036945343017578125, -0.037841796875, 0.038421630859375, 0.01485443115234375, 0.03802490234375, -0.06097412109375, -0.021453857421875, 0.04046630859375, 0.059356689453125, -0.0203704833984375, -0.04852294921875, 0.009796142578125, 0.005157470703125, -0.012969970703125, 0.0030612945556640625, -0.033721923828125, 0.0577392578125, 0.106201171875, -0.013397216796875, -0.004154205322265625, -0.00754547119140625, -0.022491455078125, -0.0313720703125, -0.036590576171875, 0.06103515625, 0.0220794677734375, -0.0024585723876953125, -0.0283050537109375, 0.0204925537109375, 0.052703857421875, 0.00788116455078125, 0.0020618438720703125, -0.049560546875, -0.01123046875, -0.044952392578125, 0.007781982421875, -0.06402587890625, 0.07373046875, -0.08685302734375, -0.0248870849609375, -0.0173187255859375, 0.07171630859375, 0.0290985107421875, -0.0022220611572265625, 0.032928466796875, 0.0265960693359375, -0.0191650390625, 0.004505157470703125, 0.0287017822265625, -0.0174407958984375, -0.0309295654296875, -0.037506103515625, -0.00519561767578125, 0.026031494140625, -0.00018537044525146484, 0.0184478759765625, 0.0229644775390625, 0.01393890380859375, 0.00772857666015625, -0.01250457763671875, 0.0107269287109375, -0.0291900634765625, 0.044219970703125, 0.0063018798828125, 0.040283203125, 0.031524658203125, -0.03851318359375, 0.007442474365234375, -0.031402587890625, -0.05816650390625, -0.0010366439819335938, 0.0225677490234375, -0.0276031494140625, 0.019195556640625, 0.034698486328125, -0.0021572113037109375, 0.01407623291015625, -0.03533935546875, 0.037445068359375, -0.0156402587890625, -0.0021305084228515625, 0.010223388671875, -0.037994384765625, -0.01812744140625, 0.0160369873046875, -0.0100250244140625, -0.0098876953125, 0.05810546875, 0.01079559326171875, -0.01139068603515625, 0.0287017822265625, -0.01345062255859375, 0.0162506103515625, 0.0128021240234375, 0.0181427001953125, -0.0261077880859375, -0.0117645263671875, -0.0212860107421875, -0.02435302734375, -0.024017333984375, 0.05462646484375, -0.043182373046875, -0.012451171875, -0.025787353515625, 0.0213623046875, -0.02557373046875, -0.0197906494140625, -0.033111572265625, -0.01934814453125, -0.01922607421875, -0.01088714599609375, 0.027587890625, 0.03558349609375, 0.006927490234375, 0.0733642578125, -0.02606201171875, 0.004985809326171875, 0.0308380126953125, -0.0555419921875, 0.0301055908203125, 0.04046630859375, -0.038177490234375, 0.041259765625, -0.0189971923828125, -0.0175018310546875, -0.0012903213500976562, 0.0287017822265625, -0.07916259765625, 0.01013946533203125, 0.03289794921875, -0.04925537109375, -0.0226898193359375, 0.040435791015625, 0.01678466796875, 0.0159454345703125, -0.06036376953125, -0.005462646484375, -0.035064697265625, 0.01971435546875, -0.0186614990234375, 0.0110015869140625, -0.060302734375, -0.007495880126953125, -0.033660888671875, -0.09722900390625, -0.06976318359375, -0.006305694580078125, 0.01505279541015625, 0.0106658935546875, -0.06048583984375, 0.0218505859375, -0.007709503173828125, 0.0274505615234375, -0.0169830322265625, 0.0193939208984375, -0.0059356689453125, 0.0303192138671875, -0.034271240234375, 0.00994873046875, -0.0247039794921875, 0.0014066696166992188, -0.0017604827880859375, -0.0075225830078125, 0.0162506103515625, 0.00382232666015625, -0.0216522216796875, -0.01555633544921875, -0.0181121826171875, 0.032012939453125, -0.021331787109375, -0.0176239013671875, 0.0156402587890625, -0.01073455810546875, -0.0087890625, -0.0288848876953125, -0.004001617431640625, -0.0159759521484375, -0.006801605224609375, 0.033538818359375, -0.00997161865234375, 0.016845703125, -0.0276336669921875, -0.07598876953125, 0.0404052734375, -0.0029392242431640625, -0.033203125, -0.029541015625, 0.005218505859375, 0.005229949951171875, -0.03350830078125, -0.0151824951171875, -0.00972747802734375, -0.0270843505859375, 0.01081085205078125, 0.00852203369140625, -0.056121826171875, 0.044097900390625, -0.0096893310546875, -0.06939697265625, 0.00823211669921875, 0.017120361328125, -0.02655029296875, -0.03131103515625, 0.017669677734375, 0.0244598388671875, 0.045196533203125, 0.00047588348388671875, 0.05743408203125, 0.0270233154296875, -0.0186004638671875, -0.0139923095703125, 0.027435302734375, -0.053619384765625, -0.014801025390625, 0.09869384765625, 0.06573486328125, 0.04071044921875, -0.0223388671875, -0.056488037109375, -0.0504150390625, -0.00394439697265625, 0.004673004150390625, 0.029022216796875, -0.08367919921875, 0.00983428955078125, 0.0423583984375, -0.01140594482421875, 0.01053619384765625, 0.0078887939453125, -0.037078857421875, 0.0034542083740234375, 0.00473785400390625, 0.001804351806640625, -0.055694580078125, 0.0014181137084960938, -0.001712799072265625, -0.0251007080078125, -0.069580078125, -0.01410675048828125, 0.0181427001953125, -0.07635498046875, -0.060791015625, -0.0008511543273925781, 0.0198974609375, -0.0091705322265625, 0.0102691650390625, 0.0340576171875, -0.05206298828125, 0.01479339599609375, 0.0155029296875, -0.02581787109375, 0.0279693603515625, 0.0201873779296875, 0.022125244140625, -0.05450439453125, 0.038848876953125, 0.02935791015625, 0.02923583984375, -0.0029392242431640625, 0.048187255859375, 0.0182952880859375, 0.0268402099609375, -0.0007004737854003906, -0.0243682861328125, 0.03704833984375, -0.05035400390625, 0.0031890869140625, 0.0214996337890625, -0.027618408203125, 0.009246826171875, -0.0206756591796875, 0.00710296630859375, -0.01593017578125, -0.007411956787109375 ]
7a6ffcac0b24e8da6c4459f4e22d0c3d83b8464c
Wordpress Stackexchange Q: Order by two meta keys I have this code which works fine: $args = array( 'post_type' => 'brands', 'meta_query' => array( array( 'key' => 'br_type', 'value' => 'Aviation' )), 'posts_per_page' => -1, 'meta_key' => 'br_name', 'orderby' => 'meta_value', 'order' => 'ASC', 'fields' => 'ids' ); However, I need to order first by ascending order by another custom field "br_category" and then by the name br_name. I am not sure how to implement this. A: I'm not 100% certain what specific order you're asking for, but you just need to assign an associative array to the 'orderby' value. Here's an example: $args = array( 'post_type' => 'brands', 'meta_query' => array( array( 'key' => 'br_type', 'value' => 'Aviation' ), array( 'key' => 'br_category' ), array( 'key' => 'br_name' ) ), 'posts_per_page' => -1, 'orderby' => [ 'br_category' => 'ASC', 'br_name' => 'ASC', 'br_type' => 'ASC' ], 'order' => 'ASC', 'fields' => 'ids' );
Q: Order by two meta keys I have this code which works fine: $args = array( 'post_type' => 'brands', 'meta_query' => array( array( 'key' => 'br_type', 'value' => 'Aviation' )), 'posts_per_page' => -1, 'meta_key' => 'br_name', 'orderby' => 'meta_value', 'order' => 'ASC', 'fields' => 'ids' ); However, I need to order first by ascending order by another custom field "br_category" and then by the name br_name. I am not sure how to implement this. A: I'm not 100% certain what specific order you're asking for, but you just need to assign an associative array to the 'orderby' value. Here's an example: $args = array( 'post_type' => 'brands', 'meta_query' => array( array( 'key' => 'br_type', 'value' => 'Aviation' ), array( 'key' => 'br_category' ), array( 'key' => 'br_name' ) ), 'posts_per_page' => -1, 'orderby' => [ 'br_category' => 'ASC', 'br_name' => 'ASC', 'br_type' => 'ASC' ], 'order' => 'ASC', 'fields' => 'ids' );
wordpress
{ "language": "en", "length": 152, "provenance": "stackexchange_00019.jsonl.gz:499617", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353767" }
[ 0.0284881591796875, -0.002208709716796875, 0.039398193359375, -0.017547607421875, -0.005382537841796875, -0.0026950836181640625, 0.017974853515625, -0.02239990234375, -0.01149749755859375, 0.011810302734375, 0.00010985136032104492, -0.0343017578125, -0.036529541015625, -0.0452880859375, -0.0186004638671875, -0.06390380859375, 0.04046630859375, 0.003692626953125, 0.04571533203125, -0.001018524169921875, 0.023284912109375, 0.032958984375, 0.01160430908203125, 0.0218658447265625, 0.03955078125, -0.002468109130859375, 0.00759124755859375, -0.0355224609375, 0.04644775390625, -0.01259613037109375, 0.0212860107421875, -0.019744873046875, 0.007358551025390625, -0.0268707275390625, 0.052337646484375, -0.041351318359375, 0.048309326171875, -0.027496337890625, 0.0168304443359375, 0.0024242401123046875, 0.025390625, -0.0028076171875, 0.032501220703125, 0.03985595703125, 0.00368499755859375, -0.03375244140625, 0.03369140625, -0.041107177734375, 0.01849365234375, -0.016876220703125, -0.0252532958984375, -0.011993408203125, -0.01351165771484375, -0.007396697998046875, -0.0141143798828125, -0.0297393798828125, 0.00948333740234375, -0.0428466796875, 0.0285797119140625, 0.0160064697265625, -0.0000909566879272461, -0.015838623046875, 0.01334381103515625, -0.038665771484375, -0.03717041015625, 0.0149078369140625, 0.0186004638671875, -0.006633758544921875, -0.0224609375, -0.05126953125, 0.01119232177734375, 0.01148223876953125, -0.01303863525390625, -0.02191162109375, 0.00223541259765625, -0.0220184326171875, 0.0338134765625, -0.0305938720703125, -0.0265655517578125, 0.0458984375, 0.006557464599609375, 0.014404296875, -0.034942626953125, -0.01436614990234375, -0.0166168212890625, -0.021240234375, -0.02093505859375, -0.01093292236328125, 0.007793426513671875, -0.0452880859375, 0.0008730888366699219, -0.02081298828125, -0.018218994140625, 0.028961181640625, -0.018310546875, -0.0179290771484375, 0.038482666015625, 0.03924560546875, -0.001861572265625, 0.00518798828125, -0.024169921875, -0.035797119140625, -0.004985809326171875, -0.0183868408203125, 0.0154266357421875, -0.03399658203125, -0.038787841796875, -0.0294342041015625, 0.054901123046875, 0.057037353515625, -0.0086822509765625, 0.03350830078125, 0.0211181640625, -0.024322509765625, -0.0080108642578125, -0.02392578125, -0.033416748046875, 0.032501220703125, 0.0283660888671875, -0.021881103515625, 0.0090789794921875, 0.034149169921875, -0.001903533935546875, -0.038116455078125, 0.008056640625, 0.007114410400390625, -0.01081085205078125, -0.033660888671875, -0.02947998046875, -0.005779266357421875, -0.01416778564453125, 0.004741668701171875, 0.033416748046875, 0.0682373046875, 0.00862884521484375, 0.0007119178771972656, 0.02423095703125, -0.0345458984375, 0.0218353271484375, 0.007171630859375, 0.0051727294921875, -0.033203125, 0.0160064697265625, 0.00853729248046875, -0.02581787109375, -0.0007495880126953125, -0.0018758773803710938, 0.0198974609375, -0.0032444000244140625, -0.03021240234375, 0.0026645660400390625, -0.04620361328125, 0.05487060546875, 0.004375457763671875, -0.0885009765625, 0.01209259033203125, 0.0038242340087890625, -0.02264404296875, -0.057830810546875, -0.05877685546875, -0.01629638671875, 0.004253387451171875, 0.014862060546875, -0.0692138671875, -0.06829833984375, 0.003475189208984375, -0.03076171875, -0.0196533203125, 0.01059722900390625, -0.008941650390625, 0.009307861328125, -0.0123138427734375, 0.01459503173828125, 0.0148773193359375, 0.006927490234375, 0.0168609619140625, -0.0025615692138671875, -0.0236663818359375, 0.025970458984375, -0.01377105712890625, -0.0273895263671875, -0.038726806640625, 0.0171051025390625, -0.0067291259765625, -0.052978515625, 0.07476806640625, 0.0208892822265625, 0.07720947265625, -0.021392822265625, 0.0215606689453125, 0.039215087890625, 0.042755126953125, -0.04608154296875, 0.041656494140625, 0.00565338134765625, -0.056182861328125, -0.006103515625, -0.0214996337890625, 0.0061492919921875, -0.00661468505859375, -0.06121826171875, -0.00380706787109375, -0.00986480712890625, 0.04669189453125, 0.00716400146484375, 0.0018177032470703125, 0.00008350610733032227, 0.01181793212890625, 0.00899505615234375, 0.0119476318359375, 0.005916595458984375, -0.031036376953125, -0.0103302001953125, 0.00629425048828125, -0.03729248046875, -0.032623291015625, 0.0012836456298828125, 0.00605010986328125, -0.0101165771484375, -0.005725860595703125, -0.05078125, -0.005870819091796875, -0.049041748046875, 0.015411376953125, 0.046783447265625, 0.0087127685546875, -0.0340576171875, -0.011444091796875, 0.031829833984375, 0.011138916015625, -0.037811279296875, 0.021881103515625, -0.013427734375, 0.0098876953125, -0.0341796875, 0.005901336669921875, 0.0261993408203125, -0.031890869140625, 0.01971435546875, 0.0268402099609375, 0.03192138671875, 0.022216796875, 0.036651611328125, 0.06439208984375, 0.03179931640625, -0.027740478515625, 0.0128021240234375, 0.01125335693359375, 0.0018186569213867188, 0.0823974609375, 0.00220489501953125, 0.0266265869140625, -0.01511383056640625, 0.0140533447265625, -0.018096923828125, 0.027069091796875, -0.0220184326171875, -0.0003902912139892578, 0.00445556640625, -0.0021533966064453125, -0.01345062255859375, -0.047210693359375, -0.0228424072265625, -0.01444244384765625, 0.06610107421875, 0.0095977783203125, 0.04254150390625, 0.0232391357421875, -0.05023193359375, 0.023651123046875, 0.01287841796875, 0.01016998291015625, 0.00726318359375, -0.01080322265625, -0.03662109375, 0.01806640625, -0.04156494140625, 0.018402099609375, 0.0223846435546875, -0.0166015625, 0.0193634033203125, 0.044708251953125, -0.01751708984375, -0.0035724639892578125, -0.0286712646484375, -0.036590576171875, 0.0009851455688476562, 0.05401611328125, -0.06988525390625, -0.043731689453125, -0.00470733642578125, 0.01361846923828125, -0.0225677490234375, -0.0095672607421875, -0.00785064697265625, -0.0213623046875, 0.0213470458984375, -0.047882080078125, 0.034088134765625, -0.05047607421875, 0.03564453125, 0.0599365234375, -0.023040771484375, 0.028106689453125, -0.0187530517578125, 0.01404571533203125, -0.037353515625, 0.03289794921875, 0.003528594970703125, -0.0538330078125, 0.00734710693359375, 0.03179931640625, 0.0469970703125, 0.04217529296875, 0.03460693359375, -0.01202392578125, 0.030517578125, 0.049041748046875, -0.07666015625, -0.130859375, 0.00672149658203125, -0.03228759765625, 0.0178375244140625, 0.0204620361328125, -0.0215301513671875, -0.032440185546875, 0.03839111328125, 0.00798797607421875, -0.0017032623291015625, 0.00502777099609375, -0.07611083984375, -0.0264129638671875, -0.04852294921875, 0.053680419921875, -0.0095062255859375, 0.0162200927734375, 0.021270751953125, 0.039306640625, 0.0287628173828125, -0.0144500732421875, 0.039825439453125, 0.04473876953125, -0.039581298828125, -0.00145721435546875, 0.0307159423828125, -0.04736328125, -0.033111572265625, -0.00919342041015625, 0.0799560546875, 0.017120361328125, -0.0256500244140625, 0.036376953125, -0.027435302734375, 0.003936767578125, 0.01535797119140625, -0.0016050338745117188, 0.0174713134765625, 0.02557373046875, 0.029296875, -0.02099609375, -0.00765228271484375, -0.0333251953125, -0.038818359375, -0.0103912353515625, 0.037506103515625, 0.025146484375, -0.031494140625, -0.007904052734375, 0.0156402587890625, 0.0018711090087890625, 0.035247802734375, -0.0244598388671875, -0.0157318115234375, 0.008026123046875, 0.01885986328125, -0.01654052734375, 0.0103759765625, -0.04010009765625, -0.03631591796875, -0.0180511474609375, 0.004970550537109375, -0.022064208984375, 0.0110931396484375, -0.03955078125, -0.019195556640625, 0.0355224609375, 0.0097808837890625, 0.034423828125, -0.044281005859375, -0.027679443359375, -0.038116455078125, 0.06329345703125, -0.035675048828125, -0.030609130859375, 0.009613037109375, 0.03656005859375, -0.07061767578125, -0.00821685791015625, -0.033111572265625, 0.00051116943359375, -0.0911865234375, -0.00286865234375, -0.0057830810546875, -0.046417236328125, -0.006320953369140625, 0.00014019012451171875, -0.06646728515625, -0.037109375, 0.04888916015625, -0.06304931640625, -0.00537872314453125, 0.039337158203125, -0.02789306640625, 0.0035419464111328125, -0.051116943359375, 0.00675201416015625, -0.06982421875, -0.01308441162109375, 0.0081939697265625, 0.03533935546875, -0.01029205322265625, 0.01052093505859375, -0.010650634765625, 0.0462646484375, -0.0322265625, 0.0012960433959960938, -0.004283905029296875, 0.032958984375, -0.010498046875, 0.002170562744140625, -0.02301025390625, -0.022674560546875, -0.0015592575073242188, -0.00447845458984375, 0.0017957687377929688, -0.0184478759765625, -0.046600341796875, -0.038543701171875, -0.019744873046875, -0.0321044921875, -0.07415771484375, -0.02374267578125, -0.007537841796875, 0.0297698974609375, -0.0248260498046875, 0.015716552734375, -0.03436279296875, -0.08770751953125, 0.002124786376953125, -0.0305633544921875, -0.002498626708984375, 0.01505279541015625, 0.07269287109375, 0.0179901123046875, 0.007572174072265625, -0.023101806640625, 0.0096435546875, 0.003833770751953125, -0.00836181640625, 0.03973388671875, -0.005222320556640625, 0.004718780517578125, 0.03436279296875, -0.0306549072265625, 0.001338958740234375, -0.0214080810546875, 0.046356201171875, -0.0032787322998046875, -0.019195556640625, 0.0206451416015625, -0.032379150390625, 0.0236663818359375, 0.045989990234375, 0.01226043701171875, -0.044342041015625, 0.0181427001953125, 0.04718017578125, -0.00031495094299316406, -0.023681640625, -0.032073974609375, -0.0011157989501953125, 0.0024776458740234375, 0.0278778076171875, 0.0079193115234375, 0.0161285400390625, -0.008880615234375, -0.021697998046875, 0.003673553466796875, 0.016815185546875, 0.0183258056640625, 0.025665283203125, -0.032440185546875, 0.0109100341796875, 0.0294189453125, -0.0262603759765625, 0.021240234375, 0.0006003379821777344, 0.0465087890625, -0.0014715194702148438, -0.02520751953125, -0.0399169921875, 0.006122589111328125, 0.0285186767578125, 0.005218505859375, -0.0208587646484375, -0.0025177001953125, 0.0310516357421875, 0.0050811767578125, 0.024139404296875, 0.01203155517578125, 0.006504058837890625, -0.00041961669921875, 0.003131866455078125, 0.02392578125, -0.016571044921875, -0.036163330078125, 0.11419677734375, -0.0033817291259765625, 0.045684814453125, -0.029693603515625, 0.007457733154296875, 0.06866455078125, -0.0008444786071777344, 0.03472900390625, -0.0229644775390625, -0.022735595703125, -0.000012099742889404297, 0.020751953125, -0.0298309326171875, 0.0193328857421875, 0.01117706298828125, -0.007488250732421875, -0.00594329833984375, -0.0247650146484375, 0.0557861328125, 0.0216827392578125, -0.034637451171875, 0.03216552734375, 0.01380157470703125, -0.029388427734375, -0.0288848876953125, -0.0218048095703125, -0.006549835205078125, -0.0036716461181640625, 0.01497650146484375, 0.04595947265625, 0.00937652587890625, 0.06396484375, -0.053070068359375, 0.07183837890625, -0.018798828125, -0.0273590087890625, -0.021392822265625, -0.01015472412109375, 0.0024127960205078125, 0.0183563232421875, -0.016693115234375, -0.004730224609375, -0.040557861328125, 0.03314208984375, -0.00952911376953125, 0.0474853515625, -0.045867919921875, 0.00531768798828125, -0.04595947265625, 0.0096435546875, 0.03253173828125, 0.0261688232421875, -0.01451873779296875, -0.00008600950241088867, -0.049530029296875, -0.018768310546875, 0.035980224609375, -0.046722412109375, -0.012725830078125, -0.0260772705078125, -0.01358795166015625, 0.03826904296875, -0.01788330078125, -0.01428985595703125, 0.017822265625, -0.0181427001953125, -0.03448486328125, 0.0045623779296875, -0.007602691650390625, 0.0615234375, -0.0172882080078125, 0.00878143310546875, 0.0058135986328125, 0.033233642578125, 0.0058135986328125, -0.0015993118286132812, 0.003398895263671875, -0.058197021484375, -0.0172882080078125, 0.00728607177734375, -0.06585693359375, 0.01035308837890625, 0.041290283203125, -0.0025787353515625, 0.04278564453125, 0.0007677078247070312, -0.00036716461181640625, -0.0006694793701171875, -0.07574462890625, -0.00878143310546875, 0.04632568359375, 0.01611328125, -0.02618408203125, -0.02215576171875, -0.004718780517578125, -0.029296875, 0.0333251953125, -0.0067291259765625, 0.0243072509765625, -0.0123748779296875, -0.04742431640625, 0.0347900390625, 0.06500244140625, 0.02020263671875, 0.0213623046875, 0.0005478858947753906, 0.007076263427734375, -0.0025177001953125, 0.0031108856201171875, 0.05072021484375, 0.0111083984375, 0.08154296875, -0.0006113052368164062, -0.0028324127197265625, 0.04522705078125, -0.04217529296875, 0.00818634033203125, 0.0204620361328125, 0.039276123046875, -0.02325439453125, 0.0207977294921875, 0.0021839141845703125, -0.01323699951171875, 0.01470184326171875, 0.00012481212615966797, -0.024871826171875, -0.00460052490234375, 0.00283050537109375, -0.04534912109375, -0.049224853515625, -0.024566650390625, -0.01552581787109375, -0.007389068603515625, -0.011566162109375, 0.026092529296875, 0.006679534912109375, -0.0185089111328125, 0.0015020370483398438, 0.01267242431640625, -0.0074920654296875, -0.0256805419921875, -0.0035724639892578125, -0.01238250732421875, -0.020111083984375, -0.08843994140625, -0.026336669921875, -0.0252532958984375, -0.01236724853515625, 0.038665771484375, -0.0266876220703125, 0.04974365234375, 0.018829345703125, 0.00832366943359375, -0.0257415771484375, 0.003200531005859375, -0.029632568359375, -0.006465911865234375, -0.0117950439453125, -0.006900787353515625, -0.0304412841796875, 0.0322265625, 0.00211334228515625, -0.007434844970703125, -0.0306854248046875, -0.00511932373046875, 0.0204010009765625, 0.00925445556640625, -0.0214996337890625, -0.0123291015625, 0.029296875, 0.055908203125, 0.01153564453125, 0.009918212890625, 0.034759521484375, -0.0543212890625, -0.047271728515625, 0.0309600830078125, -0.0185089111328125, -0.031402587890625, 0.0023822784423828125, -0.0660400390625, 0.07135009765625, -0.0360107421875, 0.035247802734375, 0.0009036064147949219, 0.0159912109375, -0.0008258819580078125, 0.00011736154556274414, -0.046539306640625, 0.06805419921875, 0.0289154052734375, 0.04736328125, -0.06396484375, -0.01885986328125, 0.00002491474151611328, 0.04443359375, 0.041015625, 0.0095062255859375, -0.04608154296875, 0.0161590576171875, 0.0655517578125, 0.05780029296875, 0.0170440673828125, 0.038665771484375, 0.002941131591796875, 0.033599853515625, 0.052093505859375, 0.00821685791015625, 0.046234130859375, -0.010833740234375, -0.0401611328125, 0.0149993896484375, 0.01090240478515625, 0.0155487060546875, -0.0217132568359375, 0.011932373046875, -0.00933837890625, -0.0217742919921875, 0.019073486328125, -0.032623291015625, 0.0256500244140625, 0.01494598388671875, 0.01255035400390625, -0.0126800537109375, -0.0288848876953125, -0.0015916824340820312, 0.031982421875, 0.0051727294921875, 0.0134429931640625, 0.0804443359375, 0.034820556640625, 0.037139892578125, -0.0080108642578125, 0.0226898193359375, 0.00777435302734375, -0.02947998046875, 0.034698486328125, 0.0061798095703125, 0.0224151611328125, -0.05767822265625, -0.0194549560546875, 0.062469482421875, 0.06451416015625, -0.040283203125, -0.017913818359375, 0.01470947265625, 0.0009937286376953125, 0.011627197265625, -0.038238525390625, 0.01543426513671875, -0.0162811279296875, -0.004909515380859375, -0.0814208984375, 0.004787445068359375, 0.033050537109375, 0.02349853515625, -0.0312347412109375, -0.0318603515625, -0.024658203125, -0.0170440673828125, -0.0389404296875, 0.033660888671875, 0.02423095703125, 0.027008056640625, -0.01453399658203125, 0.052398681640625, -0.00991058349609375, -0.01336669921875, -0.048065185546875, 0.0237884521484375, -0.007396697998046875, 0.051239013671875, -0.052154541015625, 0.00151824951171875, -0.02276611328125, 0.050689697265625, 0.01641845703125, 0.007717132568359375, 0.022979736328125, 0.04132080078125, -0.0019817352294921875, 0.0086517333984375, 0.07098388671875, -0.009063720703125, -0.044677734375, -0.0004398822784423828, -0.0207977294921875, 0.0207061767578125, -0.00475311279296875, 0.00644683837890625, 0.042633056640625, 0.016082763671875, 0.0232391357421875, 0.0279541015625, 0.0245819091796875, -0.01678466796875, 0.012664794921875, 0.0266571044921875, 0.048828125, 0.06158447265625, -0.043548583984375, 0.010101318359375, -0.08197021484375, -0.06475830078125, 0.062103271484375, 0.050201416015625, -0.000438690185546875, -0.00730133056640625, -0.004962921142578125, -0.046478271484375, 0.0080718994140625, 0.0284576416015625, 0.01090240478515625, 0.0325927734375, 0.0026912689208984375, -0.003551483154296875, -0.039642333984375, -0.03253173828125, 0.03582763671875, 0.00360870361328125, 0.01065826416015625, -0.0244903564453125, 0.0533447265625, 0.0025463104248046875, 0.006267547607421875, 0.00011223554611206055, 0.01666259765625, 0.00409698486328125, 0.067626953125, 0.0126800537109375, -0.0193023681640625, -0.034454345703125, 0.06195068359375, -0.0151519775390625, 0.07843017578125, -0.06488037109375, -0.027099609375, -0.01641845703125, 0.03643798828125, -0.04296875, -0.0213623046875, -0.026885986328125, -0.0323486328125, -0.048919677734375, -0.0166168212890625, 0.03082275390625, 0.03314208984375, -0.0237884521484375, 0.024078369140625, 0.01444244384765625, -0.0193634033203125, 0.0138397216796875, -0.0097808837890625, 0.06787109375, 0.04595947265625, -0.0106964111328125, 0.0161590576171875, 0.00789642333984375, -0.0187530517578125, 0.02459716796875, 0.01171875, 0.00677490234375, 0.0008535385131835938, -0.02545166015625, 0.047943115234375, 0.046295166015625, 0.05377197265625, 0.0165252685546875, 0.006000518798828125, 0.0347900390625, -0.0297698974609375, -0.006359100341796875, -0.0033435821533203125, -0.058013916015625, -0.022796630859375, 0.034423828125, 0.0158538818359375, 0.03619384765625, -0.0328369140625, -0.04345703125, 0.007564544677734375, 0.0085601806640625, -0.04052734375, 0.0421142578125, 0.0006861686706542969, -0.06805419921875, -0.03204345703125, -0.03106689453125, -0.0335693359375, -0.012481689453125, 0.0005807876586914062, -0.009124755859375, -0.01528167724609375, -0.037750244140625, 0.0259552001953125, -0.01349639892578125, -0.01678466796875, -0.01129913330078125, -0.00795745849609375, 0.007110595703125, 0.011138916015625, -0.003604888916015625, 0.03179931640625, 0.047760009765625, 0.00021350383758544922, 0.0173187255859375, 0.015777587890625, -0.05853271484375, -0.07958984375, 0.031341552734375, -0.061614990234375, 0.0010547637939453125, -0.01558685302734375, 0.0252227783203125, 0.036163330078125, -0.005748748779296875, -0.022613525390625, 0.084716796875, -0.0178070068359375, -0.01006317138671875, -0.01268768310546875, -0.01355743408203125, -0.01392364501953125, 0.04132080078125, 0.01276397705078125, -0.0231170654296875, -0.027191162109375, 0.01800537109375, 0.01953125, 0.01885986328125, -0.01007080078125, 0.0611572265625, -0.09173583984375, 0.037994384765625, -0.0192108154296875, -0.0018014907836914062, -0.032562255859375, 0.02117919921875, 0.01654052734375, 0.03466796875, -0.00010371208190917969, 0.03033447265625, 0.028289794921875, 0.01226806640625, 0.0195465087890625, -0.04962158203125, -0.032135009765625, 0.0078125, 0.022613525390625, 0.04376220703125, 0.0100860595703125, -0.05389404296875, -0.03631591796875, -0.028228759765625, 0.031890869140625, -0.058441162109375, 0.0001386404037475586, -0.08721923828125, -0.055145263671875, -0.00113677978515625, -0.01546478271484375, 0.005680084228515625, -0.0142364501953125, -0.0257568359375, -0.0029144287109375, 0.004161834716796875, -0.0018777847290039062, -0.014251708984375, 0.0261993408203125, 0.004016876220703125, -0.0285797119140625, -0.0094451904296875, -0.021331787109375, 0.003025054931640625, -0.01003265380859375, -0.02032470703125, -0.03228759765625, -0.01263427734375, 0.037353515625, 0.01288604736328125, 0.0187225341796875, -0.0026493072509765625, 0.04742431640625, 0.0190582275390625, -0.034149169921875, 0.0263824462890625, 0.02508544921875, 0.00839996337890625, -0.040740966796875, 0.0511474609375, 0.045867919921875, 0.047149658203125, -0.01212310791015625, 0.03369140625, 0.01230621337890625, 0.008758544921875, -0.0078277587890625, 0.00466156005859375, 0.033050537109375, -0.035736083984375, 0.00543212890625, 0.007312774658203125, -0.01102447509765625, -0.01445770263671875, 0.0132904052734375, 0.039764404296875, -0.025299072265625, 0.0162353515625 ]
378ccd1d1328009dbf33c6511e1f7bb4858955cc
Wordpress Stackexchange Q: Disable RSS Feed I want to disable rss feed,my wordpress version is 5.2.4. see my code below to disable rss feed. function itsme_disable_feed() { wp_die( __( 'No feed available' ) ); } add_action('do_feed', 'itsme_disable_feed', 1); add_action('do_feed_rdf', 'itsme_disable_feed', 1); add_action('do_feed_rss', 'itsme_disable_feed', 1); add_action('do_feed_rss2', 'itsme_disable_feed', 1); add_action('do_feed_atom', 'itsme_disable_feed', 1); add_action('do_feed_rss2_comments', 'itsme_disable_feed', 1); add_action('do_feed_atom_comments', 'itsme_disable_feed', 1); By the book,the feed page will show wp_die page.But it didn`t show it Expectantly. It shows this,see the screenshot,and I don`t know how to solve it. A: You need to define the HTTP Response code in wp_die function. wp_die( __('No feed available'), '', 404 ); Also set custom header to get HTML page instead of xml page. So the code should be like below. function itsme_disable_feed() { global $wp_query; $wp_query->is_feed = false; $wp_query->set_404(); status_header( 404 ); nocache_headers(); wp_die( __('No feed available'), '', 404 ); }
Q: Disable RSS Feed I want to disable rss feed,my wordpress version is 5.2.4. see my code below to disable rss feed. function itsme_disable_feed() { wp_die( __( 'No feed available' ) ); } add_action('do_feed', 'itsme_disable_feed', 1); add_action('do_feed_rdf', 'itsme_disable_feed', 1); add_action('do_feed_rss', 'itsme_disable_feed', 1); add_action('do_feed_rss2', 'itsme_disable_feed', 1); add_action('do_feed_atom', 'itsme_disable_feed', 1); add_action('do_feed_rss2_comments', 'itsme_disable_feed', 1); add_action('do_feed_atom_comments', 'itsme_disable_feed', 1); By the book,the feed page will show wp_die page.But it didn`t show it Expectantly. It shows this,see the screenshot,and I don`t know how to solve it. A: You need to define the HTTP Response code in wp_die function. wp_die( __('No feed available'), '', 404 ); Also set custom header to get HTML page instead of xml page. So the code should be like below. function itsme_disable_feed() { global $wp_query; $wp_query->is_feed = false; $wp_query->set_404(); status_header( 404 ); nocache_headers(); wp_die( __('No feed available'), '', 404 ); } A: have you tried using remove_action? Example: <?php add_action('wp_head', 'remove_feeds_in_head', 1); function remove_feeds_in_head() { remove_action( 'wp_head', 'feed_links', 2 ); remove_action( 'wp_head', 'feed_links_extra', 3 ); } EDIT: So disabling them doesn't remove them, to completely get rid of them, them you need to use remove_action aswell. Assuming this is what you want to do. add_action('do_feed', 'itsme_disable_feed', 1); add_action('do_feed_rdf', 'itsme_disable_feed', 1); add_action('do_feed_rss', 'itsme_disable_feed', 1); add_action('do_feed_rss2', 'itsme_disable_feed', 1); add_action('do_feed_atom', 'itsme_disable_feed', 1); add_action('do_feed_rss2_comments', 'itsme_disable_feed', 1); add_action('do_feed_atom_comments', 'itsme_disable_feed', 1); remove_action( 'wp_head', 'feed_links', 2 ); remove_action( 'wp_head', 'feed_links_extra', 3 ); remove_action('wp_head', 'rsd_link'); // Add whatever other things you want to remove
wordpress
{ "language": "en", "length": 234, "provenance": "stackexchange_00019.jsonl.gz:499621", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353776" }
[ 0.1048583984375, 0.00545501708984375, 0.0182647705078125, -0.0214996337890625, 0.02923583984375, -0.047454833984375, 0.07794189453125, -0.0305633544921875, 0.01155853271484375, 0.01351165771484375, 0.002544403076171875, -0.018096923828125, -0.0240325927734375, -0.0241241455078125, -0.0253448486328125, -0.0290374755859375, 0.035797119140625, 0.002857208251953125, 0.0526123046875, 0.007671356201171875, 0.0112457275390625, 0.015655517578125, 0.04217529296875, -0.0015697479248046875, 0.00531005859375, -0.0193634033203125, 0.06536865234375, -0.02825927734375, -0.005283355712890625, -0.038116455078125, 0.00583648681640625, 0.0247802734375, 0.03338623046875, 0.03607177734375, -0.0736083984375, -0.0195159912109375, -0.05462646484375, 0.0222930908203125, -0.0181427001953125, 0.01552581787109375, 0.0311737060546875, -0.0160064697265625, 0.041717529296875, -0.0341796875, 0.0140533447265625, -0.001987457275390625, 0.04132080078125, -0.038116455078125, -0.01020050048828125, -0.002040863037109375, -0.01132965087890625, 0.005504608154296875, 0.016876220703125, -0.0343017578125, -0.014984130859375, -0.024810791015625, 0.0170745849609375, 0.0146484375, 0.025787353515625, -0.035858154296875, -0.0211334228515625, 0.01629638671875, 0.016754150390625, 0.0216217041015625, -0.00095367431640625, 0.0019321441650390625, 0.02880859375, 0.00891876220703125, -0.046722412109375, 0.006374359130859375, 0.050048828125, -0.0279541015625, 0.0152435302734375, -0.0008001327514648438, 0.005222320556640625, -0.026092529296875, 0.0003170967102050781, -0.01483154296875, 0.0075836181640625, 0.012237548828125, 0.01175689697265625, 0.0217742919921875, -0.0631103515625, -0.02294921875, 0.0212249755859375, 0.0114898681640625, -0.0032196044921875, -0.025360107421875, -0.02679443359375, -0.006366729736328125, -0.033721923828125, -0.00968170166015625, -0.00479888916015625, -0.0263824462890625, -0.0406494140625, -0.004245758056640625, 0.0325927734375, 0.027557373046875, -0.0246124267578125, -0.0280303955078125, 0.00234222412109375, -0.023101806640625, -0.006664276123046875, -0.01459503173828125, 0.01000213623046875, 0.02557373046875, -0.00617218017578125, -0.00714111328125, 0.0296783447265625, 0.022796630859375, -0.0174407958984375, 0.02252197265625, -0.0198516845703125, -0.0037078857421875, -0.00666046142578125, 0.0033931732177734375, -0.05615234375, 0.0087127685546875, -0.014068603515625, 0.0186004638671875, 0.0015687942504882812, 0.026580810546875, -0.03973388671875, 0.028106689453125, -0.0174407958984375, -0.00946807861328125, 0.0085601806640625, 0.006214141845703125, 0.0281219482421875, 0.003032684326171875, -0.026641845703125, 0.0225982666015625, 0.056976318359375, 0.0288238525390625, 0.0244598388671875, -0.004669189453125, 0.0352783203125, -0.00262451171875, -0.020050048828125, 0.0341796875, 0.00016295909881591797, -0.0472412109375, -0.0175323486328125, 0.00337982177734375, -0.016693115234375, 0.0069732666015625, 0.0162200927734375, 0.0279693603515625, 0.01337432861328125, 0.00687408447265625, -0.046630859375, 0.034454345703125, 0.011199951171875, 0.030517578125, -0.015411376953125, 0.0019664764404296875, 0.04498291015625, -0.0224761962890625, -0.009735107421875, -0.050811767578125, -0.0164642333984375, 0.000022113323211669922, 0.03619384765625, -0.031280517578125, -0.049591064453125, -0.0021266937255859375, -0.03173828125, -0.01210784912109375, 0.0236053466796875, 0.03973388671875, 0.006343841552734375, -0.0200653076171875, 0.00931549072265625, 0.00234222412109375, -0.00905609130859375, 0.002109527587890625, 0.03155517578125, -0.00405120849609375, 0.0287017822265625, -0.004150390625, -0.025543212890625, -0.0283966064453125, 0.044921875, -0.0214385986328125, -0.10284423828125, 0.093994140625, 0.01239776611328125, 0.078369140625, 0.0168914794921875, -0.00693511962890625, 0.07440185546875, 0.0232696533203125, 0.0201568603515625, 0.0090179443359375, -0.0017919540405273438, -0.062042236328125, -0.0188140869140625, -0.042633056640625, -0.0152740478515625, 0.05523681640625, 0.0150299072265625, 0.045135498046875, -0.037628173828125, 0.00980377197265625, -0.071533203125, 0.0153045654296875, -0.00960540771484375, 0.04058837890625, -0.01374053955078125, 0.013397216796875, 0.024017333984375, -0.00153350830078125, -0.0235748291015625, -0.03173828125, -0.0394287109375, -0.02655029296875, -0.0504150390625, 0.012664794921875, -0.0084381103515625, 0.0450439453125, 0.0024394989013671875, -0.007701873779296875, -0.00411224365234375, -0.02362060546875, 0.051116943359375, -0.02850341796875, -0.00403594970703125, -0.01157379150390625, 0.060821533203125, -0.0038604736328125, 0.01128387451171875, 0.0180206298828125, 0.022186279296875, 0.0128326416015625, -0.01751708984375, 0.021087646484375, 0.039581298828125, -0.03546142578125, -0.0110015869140625, 0.030059814453125, 0.054046630859375, 0.0082244873046875, -0.006305694580078125, -0.01467132568359375, 0.0599365234375, -0.0439453125, -0.001827239990234375, -0.01641845703125, 0.0265655517578125, 0.032470703125, 0.0198516845703125, 0.0012569427490234375, 0.0330810546875, -0.0244598388671875, 0.0215301513671875, 0.04742431640625, 0.0104522705078125, -0.0059051513671875, 0.0159759521484375, 0.0167236328125, 0.00162506103515625, 0.09149169921875, 0.002613067626953125, 0.041046142578125, 0.052886962890625, 0.021087646484375, 0.05511474609375, 0.059906005859375, -0.0213623046875, -0.005847930908203125, 0.0008335113525390625, -0.0052642822265625, 0.006359100341796875, 0.040252685546875, 0.045623779296875, -0.01959228515625, -0.01169586181640625, -0.0281219482421875, -0.02508544921875, 0.021209716796875, -0.0036449432373046875, 0.032745361328125, -0.04443359375, -0.009002685546875, -0.00849151611328125, -0.06951904296875, -0.015625, 0.0083160400390625, 0.044189453125, 0.0594482421875, 0.061431884765625, 0.029449462890625, -0.015777587890625, 0.032958984375, 0.0211639404296875, 0.00872802734375, 0.00936126708984375, -0.0543212890625, 0.040008544921875, -0.017425537109375, 0.0526123046875, 0.07696533203125, 0.01203155517578125, 0.004886627197265625, 0.004230499267578125, -0.00991058349609375, 0.00396728515625, -0.012451171875, -0.01557159423828125, 0.0281829833984375, -0.0911865234375, -0.02685546875, 0.012664794921875, -0.012725830078125, 0.010711669921875, -0.0286712646484375, -0.01065826416015625, 0.01482391357421875, -0.04345703125, -0.01513671875, 0.03436279296875, -0.0019550323486328125, -0.0025119781494140625, 0.0208892822265625, -0.01157379150390625, -0.03985595703125, 0.03411865234375, -0.00567626953125, -0.00981903076171875, -0.036712646484375, -0.0276947021484375, -0.038330078125, -0.046142578125, 0.043548583984375, 0.002750396728515625, 0.0003237724304199219, 0.006938934326171875, 0.05023193359375, 0.02142333984375, -0.019775390625, 0.03729248046875, 0.0108795166015625, -0.0193328857421875, 0.006587982177734375, -0.0129852294921875, 0.0032558441162109375, 0.03558349609375, -0.00922393798828125, 0.056854248046875, 0.034210205078125, -0.020660400390625, 0.004016876220703125, 0.0027599334716796875, 0.004566192626953125, -0.002056121826171875, 0.04254150390625, 0.0155487060546875, -0.037567138671875, -0.00494384765625, -0.057098388671875, -0.055206298828125, -0.03802490234375, -0.0675048828125, 0.0159149169921875, 0.058319091796875, 0.0335693359375, -0.037841796875, 0.0220794677734375, -0.035980224609375, 0.0013103485107421875, 0.0361328125, -0.045440673828125, 0.010223388671875, -0.0277099609375, -0.0254364013671875, -0.005603790283203125, 0.0303802490234375, 0.0075225830078125, 0.0083465576171875, 0.0103912353515625, -0.00493621826171875, -0.04437255859375, 0.0230712890625, -0.08575439453125, -0.01513671875, 0.0310211181640625, -0.048431396484375, -0.067626953125, 0.0187835693359375, 0.00737762451171875, 0.0265960693359375, 0.0103607177734375, 0.037384033203125, -0.0303497314453125, -0.0253143310546875, 0.02154541015625, -0.03289794921875, -0.0806884765625, 0.05023193359375, 0.002933502197265625, -0.04266357421875, 0.01117706298828125, -0.0166778564453125, -0.020294189453125, 0.0212249755859375, -0.068115234375, 0.019073486328125, -0.04107666015625, -0.0006465911865234375, -0.02850341796875, -0.03564453125, 0.035125732421875, -0.08148193359375, 0.0184326171875, -0.0163726806640625, -0.03631591796875, -0.0914306640625, 0.0024566650390625, -0.048431396484375, 0.026458740234375, 0.038482666015625, -0.027923583984375, 0.01727294921875, 0.04974365234375, 0.0225067138671875, -0.00824737548828125, 0.0340576171875, -0.029998779296875, 0.03717041015625, 0.0296630859375, 0.0266876220703125, -0.0107269287109375, -0.0208740234375, 0.02154541015625, 0.006862640380859375, 0.07183837890625, -0.0034923553466796875, -0.041748046875, 0.018646240234375, -0.03173828125, -0.04974365234375, -0.05096435546875, -0.01256561279296875, 0.010528564453125, -0.00839996337890625, 0.006671905517578125, -0.0482177734375, -0.05267333984375, 0.0286102294921875, -0.0237274169921875, -0.004184722900390625, 0.01328277587890625, 0.05517578125, 0.0192413330078125, -0.0017786026000976562, -0.0008521080017089844, -0.020477294921875, 0.01129913330078125, -0.0191497802734375, 0.0439453125, -0.0099334716796875, -0.00914764404296875, 0.08258056640625, -0.040618896484375, 0.024444580078125, -0.057769775390625, 0.0772705078125, -0.022369384765625, -0.004077911376953125, 0.0244598388671875, -0.02606201171875, -0.010467529296875, 0.0350341796875, -0.0012083053588867188, -0.0242919921875, 0.04132080078125, 0.0377197265625, -0.048583984375, 0.019134521484375, -0.0206298828125, 0.024322509765625, -0.0023555755615234375, 0.01323699951171875, 0.0136871337890625, 0.042938232421875, -0.006275177001953125, -0.03350830078125, -0.03607177734375, 0.0159912109375, -0.013946533203125, -0.010955810546875, -0.02081298828125, 0.029144287109375, 0.0011196136474609375, 0.004119873046875, -0.0068817138671875, -0.0009927749633789062, 0.01202392578125, -0.0007677078247070312, -0.0450439453125, -0.0154266357421875, 0.0204620361328125, 0.027679443359375, 0.01031494140625, 0.029052734375, 0.053802490234375, 0.00481414794921875, -0.005550384521484375, -0.0018529891967773438, 0.0174102783203125, -0.007312774658203125, -0.050537109375, 0.04119873046875, 0.02471923828125, 0.0008645057678222656, -0.013336181640625, 0.09112548828125, 0.032684326171875, 0.026824951171875, -0.030670166015625, 0.036346435546875, 0.04058837890625, 0.0196685791015625, 0.0234832763671875, 0.00400543212890625, -0.0201416015625, -0.007579803466796875, -0.0214691162109375, -0.038665771484375, -0.04498291015625, 0.0258026123046875, 0.0178680419921875, -0.00347137451171875, -0.0025691986083984375, 0.00952911376953125, 0.025299072265625, -0.02581787109375, 0.08062744140625, 0.007701873779296875, -0.05938720703125, -0.06793212890625, -0.034454345703125, 0.0438232421875, -0.01464080810546875, -0.00287628173828125, 0.0227813720703125, 0.00150299072265625, -0.0001323223114013672, 0.045379638671875, -0.053619384765625, 0.00036597251892089844, 0.0139312744140625, -0.01073455810546875, -0.00571441650390625, -0.026702880859375, -0.040069580078125, -0.030181884765625, 0.00849151611328125, 0.0012063980102539062, 0.025848388671875, -0.036956787109375, -0.006740570068359375, -0.038818359375, 0.03533935546875, -0.0184326171875, 0.00244140625, 0.05841064453125, 0.0391845703125, -0.10040283203125, -0.0238494873046875, -0.034637451171875, -0.0246124267578125, -0.0462646484375, -0.046875, -0.052459716796875, 0.018951416015625, -0.0226593017578125, 0.00830078125, 0.00925445556640625, 0.0263671875, 0.005954742431640625, 0.0318603515625, 0.006870269775390625, 0.0396728515625, -0.0030193328857421875, 0.036163330078125, 0.00223541259765625, 0.05426025390625, 0.0207061767578125, 0.001186370849609375, -0.0235137939453125, -0.032989501953125, 0.01039886474609375, -0.036224365234375, -0.0195770263671875, -0.00562286376953125, -0.041900634765625, 0.02203369140625, 0.0372314453125, -0.004581451416015625, 0.0094451904296875, 0.0009126663208007812, -0.002124786376953125, -0.0284576416015625, -0.01934814453125, -0.0027828216552734375, 0.03179931640625, -0.00676727294921875, -0.01560211181640625, -0.041961669921875, -0.025604248046875, -0.0287628173828125, 0.0197601318359375, 0.0167694091796875, -0.0166168212890625, -0.006076812744140625, -0.053924560546875, 0.06793212890625, 0.07366943359375, -0.0013513565063476562, 0.052581787109375, -0.0148773193359375, 0.0032520294189453125, 0.0155029296875, 0.038299560546875, 0.00543975830078125, -0.037811279296875, 0.0166473388671875, 0.00794219970703125, 0.006866455078125, 0.0123748779296875, -0.0016946792602539062, 0.0249786376953125, 0.031951904296875, 0.07086181640625, -0.042877197265625, 0.011444091796875, 0.00888824462890625, -0.05072021484375, 0.0285186767578125, -0.02813720703125, -0.00560760498046875, -0.051055908203125, 0.0582275390625, 0.019805908203125, -0.02325439453125, 0.0084228515625, -0.0149688720703125, -0.030029296875, 0.038665771484375, 0.0389404296875, 0.0209808349609375, 0.003856658935546875, -0.034149169921875, -0.013153076171875, 0.02142333984375, 0.00487518310546875, 0.01021575927734375, -0.00733184814453125, -0.0285797119140625, -0.055755615234375, -0.01067352294921875, -0.020538330078125, -0.028594970703125, 0.05316162109375, -0.004299163818359375, 0.0187835693359375, 0.047515869140625, -0.0024814605712890625, 0.006664276123046875, 0.016876220703125, -0.05108642578125, -0.039306640625, -0.047149658203125, 0.0164642333984375, 0.0249481201171875, -0.01226806640625, 0.0309295654296875, 0.006046295166015625, -0.058868408203125, 0.00507354736328125, 0.00014281272888183594, 0.059326171875, -0.027801513671875, -0.007480621337890625, -0.004261016845703125, 0.0036106109619140625, 0.0232696533203125, -0.0225067138671875, 0.0638427734375, -0.044586181640625, 0.00139617919921875, -0.004680633544921875, 0.006805419921875, -0.019134521484375, -0.0233154296875, -0.0599365234375, 0.127685546875, -0.045196533203125, 0.0245208740234375, 0.0151519775390625, 0.05194091796875, -0.0162200927734375, 0.0279998779296875, -0.01318359375, 0.04705810546875, -0.01812744140625, 0.046600341796875, -0.007213592529296875, 0.0036869049072265625, 0.050384521484375, 0.0220489501953125, 0.040069580078125, 0.01055145263671875, 0.017974853515625, -0.02496337890625, -0.0094146728515625, 0.0275726318359375, -0.0275421142578125, -0.01195526123046875, -0.04974365234375, 0.02447509765625, -0.022918701171875, -0.08428955078125, -0.0021572113037109375, -0.0280914306640625, -0.07421875, -0.0215301513671875, -0.01404571533203125, -0.0251007080078125, -0.0043487548828125, 0.0109100341796875, -0.0587158203125, 0.0146484375, 0.01560211181640625, 0.0361328125, -0.04156494140625, 0.028564453125, -0.00414276123046875, -0.06488037109375, 0.0116729736328125, -0.052886962890625, 0.034637451171875, 0.00438690185546875, 0.01178741455078125, 0.049591064453125, 0.02313232421875, 0.018280029296875, -0.006496429443359375, 0.0110015869140625, -0.0093536376953125, 0.003635406494140625, 0.00341033935546875, 0.0164947509765625, 0.0283203125, -0.016632080078125, -0.0229034423828125, 0.03106689453125, 0.0183563232421875, 0.007175445556640625, -0.04217529296875, 0.0090484619140625, 0.0127716064453125, 0.0236053466796875, 0.0169219970703125, 0.0457763671875, -0.010986328125, 0.0248260498046875, -0.01454925537109375, 0.0009241104125976562, 0.0181427001953125, 0.00438690185546875, -0.0024013519287109375, 0.007480621337890625, -0.0098724365234375, -0.0088653564453125, 0.00559234619140625, -0.0243682861328125, -0.01318359375, 0.0081787109375, 0.0013408660888671875, 0.00690460205078125, -0.01593017578125, 0.004833221435546875, -0.0084381103515625, 0.029815673828125, -0.022796630859375, 0.0222320556640625, -0.041046142578125, -0.048431396484375, 0.01007843017578125, 0.037261962890625, -0.007167816162109375, -0.0203399658203125, 0.02423095703125, 0.03521728515625, -0.0252685546875, -0.020904541015625, 0.024993896484375, -0.023040771484375, -0.03704833984375, -0.00795745849609375, -0.0274658203125, 0.01727294921875, 0.00251007080078125, 0.037353515625, 0.02923583984375, 0.00812530517578125, -0.00331878662109375, 0.0256195068359375, -0.0047760009765625, 0.007053375244140625, -0.01239776611328125, 0.0030307769775390625, -0.002193450927734375, 0.022430419921875, -0.1021728515625, -0.0287017822265625, -0.011962890625, -0.01479339599609375, 0.04754638671875, 0.03887939453125, -0.0237274169921875, 0.031646728515625, 0.00504302978515625, 0.030181884765625, -0.0117340087890625, -0.03338623046875, -0.0058746337890625, 0.02880859375, 0.034515380859375, 0.0286712646484375, 0.0057220458984375, -0.02984619140625, 0.00591278076171875, 0.07965087890625, -0.00943756103515625, 0.047882080078125, -0.034271240234375, 0.01244354248046875, -0.00021648406982421875, -0.0278167724609375, 0.032196044921875, 0.0016231536865234375, -0.002590179443359375, 0.0249481201171875, 0.0095977783203125, -0.0302886962890625, -0.0264434814453125, 0.03485107421875, 0.035064697265625, -0.00440216064453125, 0.044097900390625, -0.03204345703125, 0.01403045654296875, -0.02008056640625, -0.0128631591796875, -0.041351318359375, -0.01142120361328125, -0.0247650146484375, -0.006717681884765625, 0.0037841796875, -0.00496673583984375, -0.019073486328125, 0.0276336669921875, 0.033355712890625, 0.01120758056640625, 0.02032470703125, 0.0016603469848632812, 0.0226593017578125, 0.028045654296875, 0.002902984619140625, -0.00518035888671875, -0.006725311279296875, -0.0226898193359375, 0.0136260986328125, 0.00453948974609375, -0.008453369140625, 0.003238677978515625, -0.0225830078125, -0.004352569580078125, -0.0036144256591796875, 0.0218048095703125, -0.0175323486328125, 0.006092071533203125, 0.0262603759765625, -0.0029621124267578125, -0.003204345703125, -0.043487548828125, -0.002834320068359375, 0.0030498504638671875, -0.03021240234375, 0.004810333251953125, 0.007843017578125, -0.0538330078125, -0.008941650390625, 0.016632080078125, 0.04833984375, -0.01485443115234375, -0.0219268798828125, 0.00089263916015625, -0.050811767578125, 0.06463623046875, 0.0006818771362304688, -0.031982421875, 0.00791168212890625, 0.06365966796875, -0.0109710693359375, -0.046966552734375, -0.035675048828125, 0.0253753662109375, -0.0509033203125, -0.0214691162109375, -0.0278167724609375, 0.01331329345703125, 0.0240478515625, -0.00959014892578125, -0.0188140869140625, 0.03253173828125, 0.00412750244140625, -0.0026454925537109375, 0.010955810546875, -0.01166534423828125, -0.02044677734375, -0.0294647216796875, 0.02728271484375, -0.08203125, -0.0438232421875, 0.023223876953125, -0.004665374755859375, 0.0168304443359375, -0.03265380859375, -0.063720703125, 0.01049041748046875, 0.0104522705078125, -0.037322998046875, -0.01419830322265625, 0.01233673095703125, 0.01824951171875, -0.054290771484375, -0.0156402587890625, -0.0164031982421875, -0.0338134765625, -0.018463134765625, 0.0167999267578125, 0.053436279296875, 0.0014638900756835938, 0.02838134765625, 0.00887298583984375, 0.046173095703125, 0.0233306884765625, 0.0088043212890625, -0.0771484375, 0.0457763671875, -0.01751708984375, -0.0038547515869140625, -0.0215301513671875, 0.06298828125, 0.0310821533203125, 0.058624267578125, -0.004894256591796875, -0.01739501953125, -0.05157470703125, -0.021453857421875, 0.08233642578125, 0.055511474609375, 0.0265655517578125, -0.025115966796875, -0.0263824462890625, -0.040008544921875, -0.0277862548828125, -0.024658203125, 0.02191162109375, -0.07806396484375, -0.007495880126953125, 0.021209716796875, -0.01012420654296875, -0.00013768672943115234, -0.048126220703125, -0.052276611328125, -0.01366424560546875, -0.0728759765625, 0.003414154052734375, -0.02459716796875, 0.020050048828125, 0.0216522216796875, -0.029541015625, -0.0005230903625488281, -0.0296783447265625, 0.0028629302978515625, -0.0034885406494140625, -0.06976318359375, -0.02587890625, -0.0136871337890625, -0.0325927734375, 0.0257568359375, -0.0321044921875, 0.02789306640625, -0.03900146484375, 0.01099395751953125, -0.01166534423828125, -0.0164947509765625, -0.0019245147705078125, -0.0224609375, 0.0176239013671875, -0.0242462158203125, -0.016082763671875, 0.006256103515625, -0.0034923553466796875, 0.018310546875, -0.00786590576171875, 0.027099609375, 0.01212310791015625, 0.005069732666015625, 0.033172607421875, -0.00882720947265625, 0.00820159912109375, 0.0185546875, 0.021942138671875, -0.05303955078125, 0.066162109375, -0.046173095703125, 0.01617431640625, 0.040283203125 ]
e74cb206ff398688646fa411854bd2f7e4b612ec
Wordpress Stackexchange Q: Woocommerce Shipping module available only for type of products I have two types of products box and drum. UPS shipping module should be displayed for the box products and for the drum products i need to get the contact details of the customers.So admin gets their details and contacts them personally about the shipping charges. How do i achieve this.If both products are added, how do we handle this by showing a message or something where customers get clear details which products are charged for UPS and which one they will be personally contacted? Please suggest.
Q: Woocommerce Shipping module available only for type of products I have two types of products box and drum. UPS shipping module should be displayed for the box products and for the drum products i need to get the contact details of the customers.So admin gets their details and contacts them personally about the shipping charges. How do i achieve this.If both products are added, how do we handle this by showing a message or something where customers get clear details which products are charged for UPS and which one they will be personally contacted? Please suggest.
wordpress
{ "language": "en", "length": 97, "provenance": "stackexchange_00019.jsonl.gz:499645", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353819" }
[ 0.0303955078125, -0.0163726806640625, 0.01418304443359375, -0.0260162353515625, -0.035186767578125, 0.00258636474609375, -0.024078369140625, -0.022552490234375, 0.0017194747924804688, 0.01239776611328125, -0.0179290771484375, -0.017608642578125, -0.027862548828125, -0.024749755859375, -0.01021575927734375, -0.042388916015625, 0.03326416015625, -0.0328369140625, -0.0027675628662109375, -0.026824951171875, 0.0140838623046875, 0.0005583763122558594, -0.0113677978515625, 0.0638427734375, 0.032379150390625, -0.01270294189453125, 0.0660400390625, 0.020111083984375, 0.0243988037109375, 0.001995086669921875, 0.034515380859375, -0.038360595703125, 0.019775390625, -0.006565093994140625, 0.031158447265625, -0.0223236083984375, 0.013916015625, -0.005298614501953125, 0.0050048828125, -0.000032901763916015625, 0.0157623291015625, -0.0057220458984375, 0.05865478515625, 0.027740478515625, 0.00969696044921875, -0.0215606689453125, -0.0106353759765625, -0.06939697265625, 0.0382080078125, 0.0248260498046875, -0.0321044921875, 0.0228729248046875, -0.035919189453125, -0.0293731689453125, 0.00008296966552734375, -0.0163116455078125, -0.044921875, 0.03253173828125, 0.0115509033203125, 0.037750244140625, 0.01464080810546875, 0.0216217041015625, -0.01531982421875, -0.015869140625, 0.0078582763671875, -0.016448974609375, 0.0201873779296875, 0.0145416259765625, -0.07843017578125, -0.0262603759765625, 0.05126953125, -0.024322509765625, 0.0156402587890625, 0.007556915283203125, -0.03363037109375, -0.08099365234375, 0.05975341796875, -0.043853759765625, -0.005481719970703125, 0.0157012939453125, -0.0098724365234375, -0.00011205673217773438, -0.01165771484375, -0.0419921875, -0.0017290115356445312, -0.0211334228515625, -0.01824951171875, 0.01216888427734375, -0.0242767333984375, -0.00872039794921875, -0.0219879150390625, -0.0007405281066894531, -0.06280517578125, 0.0247650146484375, -0.00174713134765625, -0.0103607177734375, -0.0017957687377929688, 0.0039005279541015625, -0.0117340087890625, -0.01068878173828125, 0.01032257080078125, -0.0364990234375, -0.0010805130004882812, -0.00920867919921875, 0.03271484375, 0.0057373046875, -0.034271240234375, -0.0572509765625, 0.056488037109375, 0.0274658203125, 0.00160980224609375, 0.05438232421875, 0.03985595703125, -0.00774383544921875, 0.0205535888671875, -0.044097900390625, -0.0438232421875, 0.1002197265625, 0.01373291015625, 0.05242919921875, 0.0233001708984375, 0.032989501953125, 0.0030345916748046875, -0.032989501953125, -0.005031585693359375, -0.0172882080078125, -0.032440185546875, -0.005420684814453125, 0.019317626953125, 0.0030040740966796875, -0.0131988525390625, -0.01448822021484375, -0.0030727386474609375, 0.03961181640625, 0.0113525390625, -0.010162353515625, 0.053466796875, 0.020538330078125, 0.0130157470703125, -0.01806640625, 0.054168701171875, 0.006679534912109375, -0.034942626953125, 0.0316162109375, 0.0065765380859375, -0.0015439987182617188, 0.002910614013671875, 0.0127410888671875, 0.025665283203125, 0.00638580322265625, -0.0232696533203125, -0.00945281982421875, -0.0090484619140625, 0.04486083984375, 0.0426025390625, 0.06292724609375, 0.046722412109375, 0.002964019775390625, -0.039794921875, 0.0135040283203125, 0.017181396484375, -0.036834716796875, -0.0004405975341796875, -0.055084228515625, -0.07025146484375, 0.040985107421875, -0.0577392578125, -0.0149383544921875, 0.016326904296875, -0.0301971435546875, 0.056884765625, -0.018646240234375, 0.025848388671875, -0.017120361328125, -0.0125274658203125, -0.007110595703125, -0.0033969879150390625, 0.040496826171875, 0.04815673828125, -0.040252685546875, -0.043914794921875, -0.043914794921875, 0.08721923828125, -0.02557373046875, -0.029266357421875, 0.056427001953125, 0.0161895751953125, 0.028533935546875, -0.03289794921875, -0.007404327392578125, 0.01971435546875, 0.056365966796875, -0.007663726806640625, 0.00350189208984375, -0.048858642578125, -0.0216064453125, -0.0275726318359375, 0.00798797607421875, -0.032928466796875, 0.039031982421875, -0.03546142578125, -0.01275634765625, 0.020721435546875, 0.00019407272338867188, 0.0309600830078125, -0.0086669921875, -0.0015592575073242188, 0.022125244140625, -0.02764892578125, 0.00823974609375, 0.01299285888671875, -0.004016876220703125, -0.006244659423828125, -0.015716552734375, 0.001995086669921875, 0.00260162353515625, -0.032257080078125, 0.0693359375, 0.00905609130859375, 0.0447998046875, -0.004512786865234375, -0.0621337890625, 0.01483154296875, -0.01605224609375, -0.02655029296875, 0.040313720703125, -0.01108551025390625, 0.0285186767578125, 0.046783447265625, 0.015899658203125, 0.09271240234375, -0.04290771484375, 0.0097808837890625, 0.017333984375, -0.02020263671875, 0.0206451416015625, 0.0216522216796875, 0.01123046875, -0.00897216796875, 0.00927734375, 0.017791748046875, 0.04425048828125, 0.0091094970703125, 0.03680419921875, 0.0777587890625, -0.0089874267578125, 0.00128936767578125, 0.018035888671875, -0.0145416259765625, -0.004558563232421875, 0.03271484375, -0.007053375244140625, 0.023956298828125, -0.0145263671875, 0.0034637451171875, 0.035430908203125, 0.002777099609375, 0.042266845703125, -0.04034423828125, 0.053131103515625, -0.0394287109375, 0.035064697265625, 0.0516357421875, -0.0180816650390625, 0.017791748046875, -0.0003604888916015625, 0.04510498046875, 0.04913330078125, 0.01181793212890625, -0.0399169921875, -0.0079803466796875, 0.0379638671875, 0.0003180503845214844, 0.035858154296875, 0.043975830078125, 0.00327301025390625, -0.039459228515625, -0.01678466796875, 0.05194091796875, 0.0191802978515625, 0.00748443603515625, -0.0168609619140625, -0.00418853759765625, -0.000016570091247558594, 0.0450439453125, -0.0465087890625, 0.016754150390625, 0.0355224609375, -0.000377655029296875, -0.0174102783203125, 0.00933074951171875, -0.0016384124755859375, -0.041748046875, 0.0220184326171875, 0.0164794921875, -0.03912353515625, -0.046722412109375, -0.0289154052734375, 0.040802001953125, -0.04376220703125, -0.005596160888671875, 0.05841064453125, 0.00801849365234375, -0.00812530517578125, 0.0089111328125, -0.01580810546875, -0.004230499267578125, 0.004932403564453125, -0.01473236083984375, 0.005161285400390625, -0.046905517578125, 0.050506591796875, 0.032989501953125, -0.007305145263671875, 0.0213165283203125, -0.00510406494140625, -0.008209228515625, 0.01444244384765625, -0.058013916015625, -0.04779052734375, -0.01401519775390625, -0.043487548828125, -0.0254364013671875, -0.017547607421875, -0.01995849609375, 0.0179290771484375, -0.00411224365234375, -0.0032482147216796875, -0.0677490234375, -0.002742767333984375, -0.055755615234375, -0.0841064453125, -0.04315185546875, 0.059051513671875, -0.02239990234375, 0.0245513916015625, -0.01055145263671875, 0.03936767578125, -0.01212310791015625, -0.038665771484375, -0.0037784576416015625, 0.041748046875, 0.007434844970703125, 0.002231597900390625, -0.025115966796875, -0.0325927734375, -0.0183563232421875, -0.004230499267578125, 0.01290130615234375, -0.01092529296875, 0.01062774658203125, 0.0255126953125, -0.01334381103515625, -0.0167388916015625, 0.00044798851013183594, 0.031097412109375, 0.006900787353515625, -0.0185699462890625, 0.0299530029296875, -0.055511474609375, -0.005558013916015625, 0.01381683349609375, -0.032867431640625, -0.051422119140625, -0.01021575927734375, -0.01580810546875, -0.00754547119140625, -0.0034580230712890625, 0.041748046875, 0.035308837890625, -0.0254364013671875, -0.00794219970703125, 0.02825927734375, 0.00354766845703125, 0.04437255859375, -0.0173797607421875, 0.019134521484375, -0.01010894775390625, 0.029327392578125, 0.00749969482421875, 0.003032684326171875, -0.0193023681640625, 0.05780029296875, -0.0220794677734375, -0.047943115234375, 0.051788330078125, -0.01580810546875, 0.0283660888671875, -0.040771484375, -0.03082275390625, -0.004138946533203125, 0.1259765625, -0.0154266357421875, -0.0152740478515625, 0.0144500732421875, 0.00537109375, -0.036529541015625, 0.0145416259765625, -0.06268310546875, 0.0049285888671875, -0.019622802734375, -0.023895263671875, -0.0123291015625, -0.0164947509765625, 0.01184844970703125, -0.0689697265625, 0.01165771484375, -0.052398681640625, 0.03692626953125, 0.003070831298828125, 0.002712249755859375, 0.033660888671875, -0.01195526123046875, 0.002712249755859375, -0.0318603515625, -0.0021533966064453125, -0.04931640625, -0.0276336669921875, 0.05242919921875, 0.03271484375, -0.00931549072265625, -0.038330078125, -0.009613037109375, 0.04986572265625, 0.008880615234375, 0.0421142578125, 0.005947113037109375, 0.025543212890625, -0.0032863616943359375, -0.05181884765625, 0.00396728515625, -0.0562744140625, -0.01727294921875, -0.026763916015625, -0.023468017578125, -0.01519012451171875, -0.032623291015625, -0.027862548828125, -0.003932952880859375, -0.026885986328125, -0.0843505859375, -0.032745361328125, -0.02777099609375, 0.0005254745483398438, -0.033111572265625, 0.00372314453125, -0.0180206298828125, -0.06488037109375, 0.00267791748046875, 0.00719451904296875, -0.035675048828125, 0.03594970703125, 0.002025604248046875, 0.01467132568359375, -0.00896453857421875, -0.053466796875, 0.00145721435546875, 0.02203369140625, 0.037139892578125, -0.0165252685546875, -0.0272674560546875, -0.0134124755859375, 0.006549835205078125, 0.00026917457580566406, 0.00152587890625, -0.007350921630859375, 0.016143798828125, 0.003997802734375, -0.01082611083984375, 0.012359619140625, -0.0009226799011230469, 0.0149688720703125, -0.00025916099548339844, -0.01378631591796875, -0.0455322265625, -0.0295562744140625, 0.056640625, -0.0204925537109375, 0.0657958984375, -0.022003173828125, -0.039825439453125, 0.01490020751953125, -0.051544189453125, 0.0139923095703125, 0.007572174072265625, -0.001537322998046875, -0.00714874267578125, 0.01462554931640625, -0.02716064453125, 0.048095703125, 0.0137481689453125, 0.012481689453125, 0.0104522705078125, 0.031585693359375, -0.0247955322265625, 0.0090179443359375, 0.007099151611328125, -0.029388427734375, -0.0216217041015625, -0.049224853515625, -0.0435791015625, -0.002559661865234375, -0.019683837890625, 0.01340484619140625, -0.006549835205078125, 0.03619384765625, 0.07159423828125, 0.0023822784423828125, -0.015838623046875, -0.0138397216796875, 0.049560546875, -0.04693603515625, 0.0279541015625, 0.02044677734375, -0.00940704345703125, -0.044036865234375, 0.08123779296875, -0.01313018798828125, 0.02215576171875, 0.0215911865234375, 0.03814697265625, 0.01250457763671875, 0.053985595703125, 0.031646728515625, -0.04010009765625, 0.0003943443298339844, 0.00856781005859375, -0.040496826171875, -0.005035400390625, 0.045989990234375, 0.0196533203125, 0.00872039794921875, 0.0192413330078125, -0.0477294921875, 0.0140380859375, -0.058380126953125, 0.0008935928344726562, 0.0098724365234375, 0.0276641845703125, 0.00276947021484375, -0.00835418701171875, 0.01215362548828125, 0.009246826171875, 0.01233673095703125, -0.01462554931640625, 0.025543212890625, -0.01483154296875, 0.01045989990234375, -0.0008006095886230469, -0.03240966796875, -0.001529693603515625, 0.01239776611328125, -0.00013911724090576172, 0.003459930419921875, 0.01224517822265625, -0.053375244140625, -0.040496826171875, -0.006622314453125, 0.0003695487976074219, 0.064208984375, -0.01348114013671875, 0.05072021484375, -0.03271484375, -0.028228759765625, -0.0584716796875, 0.01361846923828125, 0.025970458984375, 0.031829833984375, -0.0638427734375, -0.010650634765625, -0.037841796875, -0.014617919921875, -0.04559326171875, -0.042510986328125, -0.036651611328125, 0.0132904052734375, 0.01136016845703125, 0.029541015625, -0.0054168701171875, -0.030517578125, 0.0017442703247070312, -0.0181732177734375, 0.005352020263671875, -0.00482177734375, -0.021636962890625, 0.026397705078125, -0.00010281801223754883, 0.02081298828125, -0.00905609130859375, -0.002826690673828125, -0.026641845703125, 0.0013971328735351562, -0.0007452964782714844, -0.0309600830078125, -0.0013942718505859375, -0.0360107421875, 0.0384521484375, 0.036224365234375, 0.03961181640625, 0.01043701171875, -0.013336181640625, -0.045379638671875, -0.00026488304138183594, -0.036651611328125, 0.07489013671875, -0.059539794921875, -0.02532958984375, -0.03662109375, -0.03277587890625, 0.0276031494140625, 0.0107269287109375, -0.022735595703125, 0.0399169921875, -0.02178955078125, 0.053741455078125, 0.00437164306640625, 0.01153564453125, 0.02825927734375, -0.006561279296875, -0.029876708984375, 0.011016845703125, -0.00977325439453125, 0.008758544921875, -0.00910186767578125, 0.046905517578125, -0.0156402587890625, -0.041259765625, 0.0014429092407226562, 0.0086517333984375, -0.031280517578125, 0.0003173351287841797, -0.0192108154296875, -0.006744384765625, 0.04852294921875, 0.08306884765625, -0.051422119140625, -0.00963592529296875, 0.045379638671875, 0.007236480712890625, -0.01348114013671875, 0.0018863677978515625, -0.00807952880859375, -0.06201171875, 0.0263519287109375, 0.034027099609375, -0.00885009765625, 0.00417327880859375, -0.006587982177734375, 0.021575927734375, 0.0128021240234375, 0.04425048828125, -0.0211029052734375, 0.00669097900390625, -0.08465576171875, -0.000209808349609375, -0.0275115966796875, -0.0199432373046875, 0.0284576416015625, -0.00844573974609375, -0.021209716796875, -0.05255126953125, 0.008209228515625, 0.0052490234375, -0.00650787353515625, -0.027923583984375, -0.0014390945434570312, 0.0019063949584960938, 0.0238800048828125, -0.0162506103515625, -0.01560211181640625, 0.007038116455078125, -0.0458984375, -0.05865478515625, -0.02001953125, 0.0216217041015625, 0.032379150390625, -0.0579833984375, 0.0231781005859375, -0.046051025390625, 0.0058746337890625, -0.005157470703125, 0.0290985107421875, -0.0221099853515625, 0.057037353515625, -0.03875732421875, 0.0474853515625, 0.0259552001953125, -0.01611328125, 0.0130767822265625, 0.0153350830078125, -0.031707763671875, 0.0131072998046875, 0.006473541259765625, -0.0010557174682617188, -0.031341552734375, 0.0200042724609375, -0.05419921875, 0.052947998046875, -0.049072265625, 0.033905029296875, 0.0270233154296875, 0.010650634765625, 0.004695892333984375, -0.00018906593322753906, -0.01374053955078125, 0.049530029296875, 0.01049041748046875, 0.017181396484375, -0.045806884765625, -0.01629638671875, 0.0018301010131835938, 0.045867919921875, -0.0032749176025390625, -0.00829315185546875, -0.003932952880859375, 0.007495880126953125, 0.03814697265625, 0.005657196044921875, -0.01141357421875, 0.025634765625, -0.001163482666015625, -0.01360321044921875, 0.07305908203125, -0.01904296875, 0.01093292236328125, 0.035308837890625, 0.0164794921875, 0.034332275390625, 0.004062652587890625, 0.022369384765625, -0.01300811767578125, 0.00714111328125, 0.02716064453125, -0.0234527587890625, -0.0086517333984375, -0.024993896484375, 0.01059722900390625, 0.00432586669921875, 0.00406646728515625, 0.004566192626953125, 0.0172576904296875, -0.0141143798828125, 0.0296630859375, 0.0240631103515625, -0.005748748779296875, 0.020355224609375, 0.022674560546875, 0.006496429443359375, -0.01548004150390625, 0.00396728515625, 0.02642822265625, -0.0206451416015625, -0.01163482666015625, -0.0293731689453125, 0.01000213623046875, -0.040771484375, 0.02301025390625, 0.028076171875, -0.0164947509765625, -0.0179595947265625, -0.058319091796875, -0.0018758773803710938, -0.0228729248046875, 0.0282440185546875, 0.01078033447265625, 0.024932861328125, -0.04833984375, -0.038665771484375, -0.05059814453125, 0.022613525390625, 0.00658416748046875, 0.034088134765625, -0.028839111328125, -0.0190582275390625, -0.03289794921875, -0.00667572021484375, -0.0283355712890625, 0.049957275390625, 0.006656646728515625, 0.0543212890625, -0.042236328125, 0.08154296875, -0.0667724609375, -0.016754150390625, 0.0164794921875, -0.016021728515625, -0.0002498626708984375, -0.029022216796875, -0.0045928955078125, -0.0238800048828125, 0.0182037353515625, 0.0256805419921875, -0.0014705657958984375, 0.0291900634765625, -0.0163421630859375, 0.017730712890625, 0.038665771484375, 0.004673004150390625, 0.0709228515625, 0.00417327880859375, 0.0360107421875, -0.039794921875, 0.02728271484375, -0.0136260986328125, -0.020233154296875, -0.0199432373046875, -0.01153564453125, 0.04754638671875, 0.00553131103515625, 0.04400634765625, -0.0045166015625, -0.029815673828125, 0.0413818359375, -0.0066375732421875, 0.09527587890625, 0.0250701904296875, -0.10107421875, -0.043975830078125, -0.011383056640625, 0.059478759765625, -0.015625, 0.003662109375, 0.005130767822265625, 0.04345703125, 0.061798095703125, -0.0234375, 0.0006380081176757812, 0.02703857421875, 0.022918701171875, -0.006137847900390625, 0.0125274658203125, 0.0099029541015625, -0.040435791015625, -0.0246429443359375, -0.0115814208984375, 0.01788330078125, 0.0118560791015625, 0.0423583984375, 0.011962890625, 0.0217437744140625, 0.02337646484375, 0.037933349609375, -0.016815185546875, -0.02142333984375, 0.0858154296875, -0.022491455078125, -0.026702880859375, -0.00677490234375, 0.045166015625, 0.02685546875, 0.022216796875, -0.0340576171875, -0.006725311279296875, -0.01248931884765625, 0.0196533203125, 0.02459716796875, 0.0560302734375, -0.01087188720703125, -0.031646728515625, -0.0154571533203125, 0.01360321044921875, 0.011016845703125, 0.0374755859375, -0.005977630615234375, -0.01032257080078125, 0.0004146099090576172, -0.0489501953125, 0.03369140625, -0.0325927734375, 0.049774169921875, 0.0284881591796875, 0.01219940185546875, -0.023284912109375, 0.038299560546875, -0.001491546630859375, 0.02435302734375, 0.006160736083984375, 0.10675048828125, -0.0045166015625, 0.00550079345703125, 0.043701171875, 0.0299072265625, 0.0204925537109375, -0.01861572265625, -0.0312042236328125, 0.067138671875, -0.025726318359375, -0.00026798248291015625, 0.0021152496337890625, -0.0084075927734375, -0.015380859375, 0.00027251243591308594, 0.00273895263671875, 0.0251312255859375, 0.00308990478515625, 0.0123291015625, -0.0015764236450195312, 0.00913238525390625, -0.0204315185546875, 0.0002110004425048828, -0.0169677734375, -0.01222991943359375, 0.02166748046875, -0.01078033447265625, -0.03765869140625, -0.008941650390625, 0.012054443359375, 0.039276123046875, -0.052825927734375, -0.052490234375, 0.052642822265625, -0.045562744140625, -0.005931854248046875, -0.003124237060546875, -0.0251922607421875, -0.0210723876953125, 0.0048370361328125, 0.0159149169921875, 0.06317138671875, 0.0214691162109375, -0.034027099609375, 0.0112762451171875, -0.003444671630859375, 0.0199432373046875, -0.04248046875, -0.008758544921875, -0.05816650390625, -0.0151214599609375, 0.042449951171875, -0.05364990234375, -0.032928466796875, -0.049224853515625, -0.0181427001953125, 0.064453125, 0.039154052734375, -0.02508544921875, -0.053009033203125, -0.0203399658203125, -0.0199127197265625, 0.047760009765625, -0.0167083740234375, -0.0271759033203125, -0.042938232421875, 0.0338134765625, -0.03564453125, -0.001018524169921875, -0.002704620361328125, -0.0465087890625, -0.031494140625, -0.0022411346435546875, 0.029205322265625, -0.03369140625, 0.036285400390625, -0.016571044921875, 0.036590576171875, 0.051544189453125, -0.0224609375, -0.01108551025390625, -0.0114898681640625, -0.04150390625, -0.0212860107421875, -0.0355224609375, -0.00609588623046875, -0.01873779296875, 0.06756591796875, 0.0276947021484375, 0.0195770263671875, -0.0232391357421875, 0.0284881591796875, -0.009033203125, -0.024322509765625, 0.02154541015625, 0.0121002197265625, -0.01397705078125, 0.0113677978515625, 0.021148681640625, -0.0216522216796875, 0.007091522216796875, 0.035125732421875, -0.048248291015625, -0.0037021636962890625, 0.0043182373046875, -0.036468505859375, -0.055999755859375, -0.051422119140625, -0.037261962890625, 0.01520538330078125, 0.0007295608520507812, 0.006961822509765625, 0.026947021484375, -0.039764404296875, 0.09283447265625, 0.00743865966796875, -0.0775146484375, -0.00644683837890625, 0.04327392578125, -0.02862548828125, 0.060302734375, -0.03729248046875, -0.03857421875, 0.008270263671875, 0.0111846923828125, -0.00336456298828125, 0.021087646484375, 0.005466461181640625, 0.041259765625, -0.0022430419921875, 0.054931640625, 0.005596160888671875, 0.005977630615234375, -0.033111572265625, 0.056121826171875, 0.0231475830078125, -0.026123046875, 0.03125, -0.0188751220703125, 0.00844573974609375, -0.020416259765625, -0.058013916015625, -0.0240020751953125, 0.005584716796875, 0.072265625, -0.0413818359375, 0.01416778564453125 ]
fc2250b0957aed414823d17db69139967b8964c2
Wordpress Stackexchange Q: How can I translate the name of my Plugin for other languages? How can I translate the name of plugin for other languages? For example: When Wordpress is in pt-BR language, the plugin would be "Meu plugin". If the Wordpress is in en-XX language, the plugin name would be "My plugin". Thanks! A: After searching a little bit more, I found that in the generation of the .pot file, the strings of plugin header already appear there. The tool I used to generate .pot file for my plugin was this command of wp-cli: https://developer.wordpress.org/cli/commands/i18n/make-pot/ I don't know if another tools to make plugin translation do that. The reason to use wp-cli instead of POEdit looks like .pot file generation is a premium feature of this kind of software ( version 1.6.11 tested in Windows 10). So, basically with the .pot file (my-plugin-textdomain.pot) of your plugin and the translation of that (my-plugin-textdomain-language.po and my-plugin-textdomain-language.mo). You should load that using in your plugin file: function my_plugin_init(){ load_plugin_textdomain('my-plugin-text-domain', false, 'my-plugin-folder/languages'); } add_action('init', 'my_plugin_init'); Reference: https://developer.wordpress.org/reference/functions/load_plugin_textdomain/
Q: How can I translate the name of my Plugin for other languages? How can I translate the name of plugin for other languages? For example: When Wordpress is in pt-BR language, the plugin would be "Meu plugin". If the Wordpress is in en-XX language, the plugin name would be "My plugin". Thanks! A: After searching a little bit more, I found that in the generation of the .pot file, the strings of plugin header already appear there. The tool I used to generate .pot file for my plugin was this command of wp-cli: https://developer.wordpress.org/cli/commands/i18n/make-pot/ I don't know if another tools to make plugin translation do that. The reason to use wp-cli instead of POEdit looks like .pot file generation is a premium feature of this kind of software ( version 1.6.11 tested in Windows 10). So, basically with the .pot file (my-plugin-textdomain.pot) of your plugin and the translation of that (my-plugin-textdomain-language.po and my-plugin-textdomain-language.mo). You should load that using in your plugin file: function my_plugin_init(){ load_plugin_textdomain('my-plugin-text-domain', false, 'my-plugin-folder/languages'); } add_action('init', 'my_plugin_init'); Reference: https://developer.wordpress.org/reference/functions/load_plugin_textdomain/
wordpress
{ "language": "en", "length": 173, "provenance": "stackexchange_00019.jsonl.gz:499650", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353826" }
[ -0.034637451171875, -0.01490020751953125, 0.008636474609375, 0.0318603515625, -0.04010009765625, 0.002246856689453125, 0.0034389495849609375, -0.024078369140625, -0.0245208740234375, 0.048431396484375, 0.0247344970703125, 0.038970947265625, 0.00534820556640625, -0.02069091796875, -0.00792694091796875, -0.002979278564453125, 0.005428314208984375, 0.01056671142578125, 0.0144195556640625, -0.0282135009765625, 0.01007080078125, -0.013275146484375, 0.01317596435546875, -0.000606536865234375, 0.03594970703125, -0.08441162109375, 0.10736083984375, -0.0133819580078125, 0.00891876220703125, -0.03253173828125, 0.043060302734375, 0.0086212158203125, 0.028472900390625, 0.007358551025390625, -0.009796142578125, -0.01544952392578125, 0.027069091796875, -0.0201263427734375, -0.022369384765625, 0.043701171875, 0.05511474609375, -0.029937744140625, -0.0189208984375, 0.060333251953125, 0.0124664306640625, -0.0760498046875, 0.0860595703125, -0.045166015625, -0.0169219970703125, -0.007495880126953125, 0.021148681640625, -0.00650787353515625, 0.039581298828125, 0.007175445556640625, -0.0113372802734375, -0.01523590087890625, -0.04949951171875, 0.06915283203125, 0.015289306640625, 0.05303955078125, -0.0114593505859375, 0.0213470458984375, -0.007656097412109375, -0.03204345703125, -0.024444580078125, 0.02545166015625, -0.034088134765625, -0.01143646240234375, 0.0041046142578125, 0.0037899017333984375, -0.0012102127075195312, -0.021514892578125, 0.0194854736328125, 0.0017137527465820312, -0.0374755859375, -0.0230865478515625, 0.0027790069580078125, -0.031463623046875, 0.03271484375, -0.0347900390625, 0.042022705078125, -0.0219879150390625, 0.0020885467529296875, 0.01019287109375, -0.0058746337890625, 0.0269317626953125, -0.00583648681640625, -0.015899658203125, -0.0386962890625, -0.03375244140625, -0.020355224609375, -0.024017333984375, -0.06439208984375, 0.0282745361328125, 0.01165771484375, -0.029388427734375, -0.0226593017578125, -0.0030231475830078125, 0.001583099365234375, 0.02154541015625, 0.00769805908203125, -0.040435791015625, 0.040557861328125, -0.0215911865234375, 0.0004744529724121094, 0.033416748046875, -0.004383087158203125, 0.0008873939514160156, 0.019927978515625, 0.0281524658203125, 0.0023040771484375, 0.032623291015625, 0.0079498291015625, -0.005947113037109375, -0.029266357421875, 0.0218048095703125, -0.00556182861328125, 0.011749267578125, -0.003948211669921875, 0.036529541015625, -0.008026123046875, -0.00501251220703125, 0.006988525390625, 0.00537872314453125, -0.01171112060546875, -0.0222625732421875, -0.00933074951171875, 0.00018656253814697266, -0.0227508544921875, -0.0035915374755859375, -0.00904083251953125, 0.024993896484375, 0.0221099853515625, 0.0177001953125, -0.0159149169921875, 0.0012159347534179688, 0.0194244384765625, 0.0185089111328125, 0.00591278076171875, -0.0166015625, 0.0285186767578125, -0.01085662841796875, 0.00336456298828125, 0.0105133056640625, -0.003696441650390625, -0.0015745162963867188, 0.00560760498046875, 0.02215576171875, 0.0020122528076171875, -0.0284576416015625, 0.0208740234375, -0.02777099609375, 0.03143310546875, 0.0013589859008789062, 0.0032634735107421875, 0.004695892333984375, 0.0302581787109375, -0.0240020751953125, -0.0289459228515625, -0.031707763671875, -0.0382080078125, -0.0310516357421875, -0.0191650390625, -0.01175689697265625, -0.04339599609375, 0.03662109375, 0.061859130859375, 0.006134033203125, 0.018218994140625, 0.017822265625, -0.01219940185546875, 0.03912353515625, 0.01004791259765625, 0.0075836181640625, -0.0015869140625, 0.00679779052734375, -0.04864501953125, 0.042144775390625, 0.037933349609375, -0.0005745887756347656, 0.00511932373046875, -0.032257080078125, 0.06353759765625, 0.020050048828125, -0.034088134765625, -0.0260009765625, 0.019439697265625, 0.03472900390625, 0.027679443359375, 0.0194244384765625, 0.01383209228515625, -0.004718780517578125, -0.054534912109375, 0.0164794921875, -0.03033447265625, 0.023590087890625, 0.006137847900390625, 0.04754638671875, -0.0009870529174804688, -0.021148681640625, -0.003299713134765625, -0.0311279296875, -0.00183868408203125, 0.01525115966796875, -0.05841064453125, -0.0171051025390625, -0.025421142578125, 0.01097869873046875, 0.058746337890625, 0.00046634674072265625, -0.0197601318359375, 0.002445220947265625, 0.0171661376953125, -0.0555419921875, -0.06414794921875, 0.053436279296875, -0.0067596435546875, 0.01129913330078125, 0.018402099609375, -0.0146484375, 0.05841064453125, -0.0103607177734375, 0.047607421875, 0.01306915283203125, -0.0101776123046875, 0.01413726806640625, -0.0207977294921875, 0.0100250244140625, 0.02264404296875, 0.00786590576171875, 0.04144287109375, 0.012603759765625, -0.00841522216796875, 0.00982666015625, -0.01184844970703125, -0.0022411346435546875, 0.00304412841796875, -0.051361083984375, 0.0142822265625, 0.0498046875, 0.019744873046875, 0.02459716796875, -0.0215301513671875, 0.0028533935546875, 0.023284912109375, -0.0239410400390625, 0.0075836181640625, 0.01337432861328125, 0.045684814453125, 0.059661865234375, -0.040130615234375, -0.02130126953125, 0.01177978515625, -0.049163818359375, 0.0361328125, 0.0282745361328125, -0.041412353515625, -0.0869140625, 0.0230560302734375, 0.0006666183471679688, 0.0161590576171875, -0.0200958251953125, -0.0308685302734375, 0.013336181640625, -0.00000667572021484375, 0.00940704345703125, -0.013519287109375, -0.0027179718017578125, -0.048797607421875, 0.01629638671875, 0.052337646484375, 0.00698089599609375, -0.0095977783203125, 0.027008056640625, 0.0195465087890625, -0.01357269287109375, -0.029541015625, 0.00963592529296875, -0.01531219482421875, 0.0089569091796875, -0.00695037841796875, 0.01393890380859375, -0.042449951171875, -0.0130157470703125, -0.00029087066650390625, -0.0423583984375, 0.00305938720703125, 0.00890350341796875, -0.0010824203491210938, -0.0232086181640625, 0.005931854248046875, 0.019287109375, -0.033203125, 0.048187255859375, 0.01236724853515625, -0.036407470703125, 0.056915283203125, -0.061859130859375, 0.0310211181640625, -0.03314208984375, 0.0811767578125, 0.064208984375, -0.0020046234130859375, -0.01326751708984375, 0.002826690673828125, -0.0119476318359375, 0.01284027099609375, -0.0199737548828125, -0.0197906494140625, -0.00568389892578125, -0.09197998046875, -0.0306549072265625, 0.0044403076171875, 0.0304412841796875, -0.045562744140625, -0.065185546875, -0.041412353515625, -0.01371002197265625, -0.11279296875, -0.06011962890625, 0.0109405517578125, -0.0031795501708984375, 0.021240234375, 0.029296875, 0.0010118484497070312, -0.04266357421875, 0.043670654296875, 0.00360870361328125, 0.0229644775390625, -0.059967041015625, -0.0146484375, -0.060455322265625, -0.043243408203125, -0.03692626953125, 0.0341796875, -0.0285797119140625, 0.0116119384765625, -0.052276611328125, -0.0010242462158203125, -0.00698089599609375, 0.01171112060546875, 0.093994140625, 0.00920867919921875, -0.0262451171875, -0.0156707763671875, -0.046875, 0.047088623046875, -0.025177001953125, 0.0341796875, 0.048828125, -0.01291656494140625, 0.027252197265625, 0.0188751220703125, 0.0058135986328125, 0.02349853515625, -0.08636474609375, -0.0272216796875, 0.005123138427734375, -0.048675537109375, -0.059906005859375, -0.01242828369140625, -0.006481170654296875, -0.0185089111328125, 0.064208984375, -0.00726318359375, -0.01406097412109375, 0.0162353515625, 0.039581298828125, -0.005908966064453125, 0.00789642333984375, 0.020233154296875, -0.0176544189453125, -0.0007538795471191406, 0.0060882568359375, -0.01113128662109375, -0.01139068603515625, 0.06854248046875, 0.006435394287109375, -0.051025390625, 0.00922393798828125, -0.0012731552124023438, -0.0094146728515625, 0.006134033203125, -0.024139404296875, -0.0005507469177246094, 0.034576416015625, -0.0078582763671875, -0.004062652587890625, 0.0099029541015625, -0.0255279541015625, 0.006481170654296875, 0.038818359375, -0.0205230712890625, -0.01514434814453125, 0.0258636474609375, 0.00811004638671875, -0.021697998046875, -0.016998291015625, -0.05029296875, -0.019317626953125, -0.03802490234375, -0.0088348388671875, 0.0011301040649414062, -0.01165771484375, -0.00867462158203125, 0.042205810546875, -0.0113067626953125, -0.0178985595703125, 0.025115966796875, -0.004245758056640625, 0.0176544189453125, -0.0287017822265625, 0.0118560791015625, -0.0250701904296875, -0.0069427490234375, -0.0204620361328125, -0.086181640625, -0.00850677490234375, -0.058380126953125, 0.06573486328125, 0.04034423828125, -0.040496826171875, -0.014801025390625, 0.0318603515625, 0.005634307861328125, 0.093017578125, -0.005001068115234375, -0.00015783309936523438, 0.05364990234375, 0.001064300537109375, 0.0318603515625, -0.00257110595703125, 0.00896453857421875, 0.027557373046875, -0.035736083984375, 0.046478271484375, -0.0105743408203125, -0.0005559921264648438, 0.029296875, -0.062225341796875, -0.0318603515625, -0.050750732421875, -0.037078857421875, 0.01222991943359375, -0.01345062255859375, -0.01180267333984375, -0.044219970703125, -0.048492431640625, 0.047027587890625, -0.01073455810546875, -0.00738525390625, 0.0157012939453125, 0.077880859375, 0.0002541542053222656, -0.0242919921875, -0.0631103515625, 0.0094757080078125, 0.0286712646484375, 0.04034423828125, 0.050994873046875, 0.02069091796875, -0.032806396484375, 0.07489013671875, 0.033966064453125, -0.006500244140625, 0.04241943359375, -0.0111846923828125, 0.0263214111328125, -0.029022216796875, -0.00835418701171875, 0.01129150390625, -0.0202484130859375, 0.0254974365234375, -0.0224761962890625, 0.00010496377944946289, -0.007427215576171875, 0.0057220458984375, -0.0220947265625, 0.0362548828125, -0.005466461181640625, -0.07061767578125, 0.032073974609375, -0.01007080078125, -0.0499267578125, -0.021942138671875, 0.0034427642822265625, -0.0109710693359375, -0.04229736328125, -0.006866455078125, 0.0269012451171875, 0.033355712890625, 0.00426483154296875, 0.0166168212890625, 0.0498046875, -0.0169677734375, -0.0161895751953125, 0.0037593841552734375, 0.051788330078125, -0.026092529296875, -0.04583740234375, -0.03521728515625, -0.0202484130859375, 0.0256805419921875, 0.043121337890625, 0.00824737548828125, -0.00099945068359375, 0.01971435546875, -0.0022373199462890625, 0.0273284912109375, 0.025299072265625, 0.00298309326171875, -0.007427215576171875, -0.00743865966796875, -0.00274658203125, -0.0082244873046875, -0.0285186767578125, 0.062255859375, -0.0120086669921875, 0.01287078857421875, 0.00922393798828125, 0.01715087890625, -0.00653839111328125, 0.061859130859375, 0.037567138671875, -0.077392578125, 0.012054443359375, 0.01389312744140625, -0.0169525146484375, -0.0034999847412109375, 0.0384521484375, 0.0082855224609375, 0.02850341796875, -0.03607177734375, -0.0367431640625, 0.03253173828125, -0.052032470703125, -0.0186614990234375, 0.01316070556640625, 0.003826141357421875, -0.028411865234375, -0.0174713134765625, 0.01499176025390625, 0.0321044921875, -0.0014476776123046875, 0.0238037109375, -0.0004124641418457031, -0.01248931884765625, -0.0157318115234375, 0.01776123046875, -0.031646728515625, -0.03125, -0.01849365234375, -0.0255279541015625, -0.02081298828125, -0.0295867919921875, 0.0157318115234375, -0.00940704345703125, 0.005489349365234375, -0.0197601318359375, 0.00853729248046875, 0.01715087890625, -0.0004649162292480469, -0.0217132568359375, 0.0008563995361328125, -0.021942138671875, -0.0007314682006835938, 0.02947998046875, -0.037261962890625, -0.047607421875, -0.0169677734375, -0.0195770263671875, -0.01605224609375, -0.0167999267578125, -0.033233642578125, -0.0279541015625, -0.0009217262268066406, 0.014251708984375, 0.031402587890625, -0.020294189453125, -0.0157623291015625, 0.0216217041015625, 0.0158233642578125, -0.00395965576171875, 0.0303497314453125, -0.0100860595703125, 0.05242919921875, 0.01824951171875, 0.021148681640625, 0.0222320556640625, 0.052642822265625, 0.0265350341796875, -0.024139404296875, 0.0008058547973632812, -0.0100555419921875, -0.01255035400390625, -0.002346038818359375, 0.01050567626953125, -0.01611328125, 0.0259246826171875, 0.0022411346435546875, 0.01800537109375, 0.0165252685546875, 0.005558013916015625, -0.006561279296875, -0.0034275054931640625, 0.02294921875, 0.041107177734375, 0.008819580078125, -0.067138671875, 0.0044097900390625, -0.0087738037109375, 0.027008056640625, 0.045684814453125, -0.06494140625, 0.02777099609375, 0.05291748046875, -0.0523681640625, 0.039276123046875, 0.004917144775390625, 0.01763916015625, 0.0236968994140625, -0.006580352783203125, 0.0228424072265625, -0.017547607421875, -0.0172119140625, 0.023651123046875, 0.01143646240234375, 0.034576416015625, -0.00775909423828125, -0.0027370452880859375, 0.01383209228515625, -0.019287109375, 0.02728271484375, 0.06298828125, 0.06378173828125, -0.097412109375, 0.007595062255859375, 0.00656890869140625, -0.0187530517578125, 0.003444671630859375, -0.004344940185546875, 0.0036106109619140625, -0.016998291015625, 0.0609130859375, 0.00228118896484375, -0.0012950897216796875, 0.031341552734375, -0.01068878173828125, -0.0287933349609375, 0.01314544677734375, 0.02374267578125, 0.0241546630859375, 0.00045180320739746094, -0.005580902099609375, -0.01168060302734375, 0.0198822021484375, -0.0452880859375, -0.005023956298828125, 0.033416748046875, -0.007732391357421875, -0.0433349609375, 0.053466796875, -0.014068603515625, 0.0194854736328125, 0.025787353515625, 0.00258636474609375, 0.03778076171875, 0.07513427734375, -0.0361328125, 0.014862060546875, 0.0333251953125, 0.028167724609375, 0.0280303955078125, -0.0178985595703125, -0.0140228271484375, 0.038421630859375, -0.0301666259765625, -0.01201629638671875, -0.040008544921875, 0.028106689453125, -0.006000518798828125, -0.04144287109375, 0.00943756103515625, 0.0185546875, -0.0240478515625, 0.0236358642578125, -0.0023555755615234375, -0.0014200210571289062, 0.0005421638488769531, -0.004711151123046875, -0.0304412841796875, -0.0159759521484375, -0.004360198974609375, -0.055328369140625, -0.007568359375, 0.0025730133056640625, -0.10723876953125, 0.103515625, 0.0039520263671875, 0.0706787109375, -0.01558685302734375, 0.0230712890625, -0.006649017333984375, -0.007198333740234375, 0.000013768672943115234, -0.00841522216796875, -0.0088653564453125, -0.0174713134765625, -0.0017652511596679688, -0.00516510009765625, -0.00652313232421875, 0.033599853515625, 0.0499267578125, 0.01015472412109375, -0.0191802978515625, -0.006011962890625, 0.0242767333984375, 0.01476287841796875, -0.0205841064453125, 0.0257110595703125, 0.0178680419921875, 0.0191192626953125, -0.001674652099609375, -0.0001475811004638672, 0.03680419921875, -0.046478271484375, -0.033050537109375, 0.0360107421875, -0.004150390625, -0.0216064453125, -0.015289306640625, -0.014068603515625, -0.0266571044921875, -0.01160430908203125, 0.00382232666015625, 0.01187896728515625, -0.0007066726684570312, 0.0055084228515625, 0.0081787109375, -0.0153656005859375, 0.01267242431640625, -0.02880859375, 0.03936767578125, 0.007732391357421875, -0.0199737548828125, 0.01036834716796875, 0.005435943603515625, 0.026123046875, -0.04913330078125, -0.0273895263671875, 0.00582122802734375, -0.0181884765625, -0.005596160888671875, -0.0029468536376953125, 0.016754150390625, 0.005825042724609375, 0.04071044921875, -0.002048492431640625, -0.00582122802734375, -0.00994873046875, -0.028778076171875, 0.0123443603515625, 0.014556884765625, 0.017822265625, 0.004123687744140625, 0.00972747802734375, -0.03485107421875, 0.0160675048828125, 0.025787353515625, -0.007465362548828125, -0.0009236335754394531, 0.01276397705078125, 0.0029048919677734375, 0.006717681884765625, -0.0019254684448242188, 0.00385284423828125, -0.044219970703125, 0.06939697265625, 0.0211029052734375, 0.036468505859375, -0.0550537109375, 0.0780029296875, -0.014801025390625, -0.007354736328125, 0.0079803466796875, 0.0247650146484375, 0.0242156982421875, -0.02410888671875, 0.003997802734375, -0.016204833984375, 0.016448974609375, 0.0162200927734375, 0.0258636474609375, 0.00827789306640625, 0.059326171875, 0.071533203125, -0.019134521484375, -0.0107269287109375, 0.03240966796875, -0.00414276123046875, 0.0013494491577148438, -0.026214599609375, 0.01317596435546875, -0.0002598762512207031, -0.014434814453125, 0.004718780517578125, 0.036102294921875, -0.01477813720703125, -0.036224365234375, 0.0574951171875, -0.01039886474609375, -0.018798828125, 0.050018310546875, -0.0350341796875, 0.09637451171875, -0.01849365234375, -0.043548583984375, -0.017181396484375, -0.03411865234375, -0.015777587890625, 0.029052734375, 0.0472412109375, -0.013641357421875, 0.038330078125, 0.050048828125, -0.0109710693359375, -0.0204315185546875, 0.01007843017578125, 0.038482666015625, 0.01434326171875, 0.01392364501953125, 0.038604736328125, -0.021697998046875, -0.0261993408203125, -0.022491455078125, 0.037445068359375, 0.047393798828125, 0.013275146484375, -0.003490447998046875, 0.055267333984375, -0.0210723876953125, -0.00304412841796875, -0.0099639892578125, -0.032196044921875, 0.01480865478515625, 0.0230712890625, 0.0083770751953125, -0.0171356201171875, -0.063720703125, -0.001049041748046875, 0.0185546875, -0.006671905517578125, -0.0127105712890625, -0.0003116130828857422, 0.02337646484375, 0.0015802383422851562, 0.07696533203125, -0.01165008544921875, -0.058074951171875, -0.0670166015625, 0.0128936767578125, 0.0295257568359375, 0.04583740234375, -0.05572509765625, 0.039154052734375, -0.008544921875, -0.0017957687377929688, -0.0007476806640625, -0.018218994140625, -0.032684326171875, 0.01090240478515625, -0.00635528564453125, -0.06304931640625, 0.0211944580078125, -0.0131683349609375, 0.004665374755859375, -0.006832122802734375, 0.08612060546875, -0.0028400421142578125, -0.0225982666015625, -0.00931549072265625, -0.044464111328125, 0.0037403106689453125, -0.0377197265625, 0.0041961669921875, -0.0298309326171875, 0.02777099609375, 0.01369476318359375, -0.04345703125, -0.0287017822265625, -0.060302734375, -0.005069732666015625, 0.01395416259765625, -0.038360595703125, -0.0146636962890625, -0.0183868408203125, 0.021484375, -0.0018310546875, -0.0171661376953125, -0.0178070068359375, 0.0028972625732421875, -0.033416748046875, 0.00495147705078125, -0.033599853515625, -0.04974365234375, 0.0080108642578125, 0.032135009765625, 0.01073455810546875, -0.032867431640625, -0.032958984375, -0.0038318634033203125, -0.024139404296875, 0.013946533203125, 0.03369140625, -0.011077880859375, -0.029541015625, 0.059661865234375, 0.0004475116729736328, 0.10711669921875, -0.0124359130859375, 0.01097869873046875, 0.05364990234375, -0.0261077880859375, -0.074462890625, -0.1263427734375, 0.0242767333984375, -0.1385498046875, -0.00962066650390625, -0.01268768310546875, -0.028411865234375, -0.0330810546875, -0.058685302734375, -0.038116455078125, 0.06024169921875, -0.0009331703186035156, -0.025787353515625, -0.06793212890625, -0.004116058349609375, 0.00289154052734375, 0.04833984375, -0.0169219970703125, -0.0158233642578125, -0.04559326171875, 0.03167724609375, 0.002574920654296875, 0.043548583984375, -0.006839752197265625, 0.00594329833984375, 0.045440673828125, 0.040496826171875, 0.058685302734375, -0.033111572265625, 0.007568359375, 0.0034351348876953125, 0.011688232421875, 0.0543212890625, -0.036376953125, -0.0067596435546875, -0.021240234375, -0.004283905029296875, -0.0022983551025390625, -0.0706787109375, -0.00562286376953125, -0.021759033203125, 0.0430908203125, -0.0020236968994140625, -0.00827789306640625, -0.0179901123046875, -0.01038360595703125, -0.0165252685546875, -0.0130157470703125, 0.0005049705505371094, 0.01751708984375, -0.06329345703125, -0.01213836669921875, 0.035430908203125, 0.015411376953125, -0.01515960693359375, 0.015899658203125, -0.01201629638671875, -0.0246124267578125, 0.007110595703125, -0.0223236083984375, -0.0268096923828125, -0.053619384765625, 0.11383056640625, -0.045257568359375, -0.01395416259765625, 0.00890350341796875, 0.048858642578125, 0.03851318359375, -0.0179901123046875, -0.01311492919921875, 0.00885772705078125, 0.009979248046875, 0.03558349609375, 0.005939483642578125, 0.01666259765625, 0.0173797607421875, -0.00255584716796875, -0.0219268798828125, 0.033355712890625, 0.011444091796875, 0.06072998046875, -0.02130126953125, 0.0238800048828125, 0.02325439453125, 0.02093505859375, 0.00699615478515625, -0.024017333984375, -0.0056304931640625, 0.02349853515625, -0.046417236328125, -0.006256103515625, -0.0300445556640625, -0.04046630859375, 0.041473388671875, -0.016693115234375, 0.03564453125, 0.0146636962890625, 0.01021575927734375, -0.0174560546875, -0.0264892578125, 0.0025653839111328125 ]
981d0992ef946c9d64a1bf991898d94b27cdd137
Wordpress Stackexchange Q: Custom routes for custom post type? I have a custom post type called 'event'. An event has multiple subpages like registration, speakers, contact us, etc. Currently the content is saved as one or more custom fields. I would like to have an url structure like * *events/{event_slug}/registration *events/{event_slug}/speakers *events/{event_slug}/contactus With each URL displaying the information from each custom field, respectively. Is there a way, we can achieve this in WordPress? A: You may want to use this resource. You can create own post types links (and probably relational template structure) They said you can create domain.com/{prefix}/{post-type-slug}/{postname} like URLs with their code (Also you create even custom ones).
Q: Custom routes for custom post type? I have a custom post type called 'event'. An event has multiple subpages like registration, speakers, contact us, etc. Currently the content is saved as one or more custom fields. I would like to have an url structure like * *events/{event_slug}/registration *events/{event_slug}/speakers *events/{event_slug}/contactus With each URL displaying the information from each custom field, respectively. Is there a way, we can achieve this in WordPress? A: You may want to use this resource. You can create own post types links (and probably relational template structure) They said you can create domain.com/{prefix}/{post-type-slug}/{postname} like URLs with their code (Also you create even custom ones). A: One way is to enter an additional query variable and rewrite rule to set it. Meta fields will be displayed based on this new query variable. add_filter( 'query_vars', 'se353995_query_vars' ); add_action( 'init', 'se353995_sublinks', 20 ); function se353995_query_vars( $vars ) { $vars[] = "subpage"; return $vars; } function se353995_sublinks() { $cpt_slug = 'events'; $sublinks = '(registration|speakers|contactus)'; add_rewrite_rule( "$cpt_slug/([^/]+)(?:/$sublinks)/?$", 'index.php?'.$cpt_slug.'=$matches[1]&post_type='.$cpt_slug.'&subpage=$matches[2]', 'top' ); } An example of how to display the page, single-events.php: while ( have_posts() ) : the_post(); // check what event subpage to display $qv = get_query_var( 'subpage', false ); if ( $qv == 'registration' ) { // display "registration" subpage // $customfield_reg = get_post_meta(get_the_ID(), 'meta_field_name', true) ); } else if ( $qv == 'speakers' ) { // display "child page" // $customfield_reg = get_post_meta(get_the_ID(), 'other_field_name', true) ; } else { // default one // get_template_part( 'content', 'single' ); } endwhile; // End of the loop.
wordpress
{ "language": "en", "length": 254, "provenance": "stackexchange_00019.jsonl.gz:499741", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/353995" }
[ 0.0467529296875, -0.0040740966796875, 0.01456451416015625, -0.07415771484375, -0.000202178955078125, -0.008544921875, 0.0011968612670898438, 0.00833892822265625, -0.04461669921875, -0.01102447509765625, 0.060272216796875, 0.010040283203125, -0.031402587890625, -0.08258056640625, 0.055389404296875, -0.01117706298828125, 0.0211029052734375, -0.019561767578125, 0.0091094970703125, -0.03778076171875, 0.0264434814453125, -0.01641845703125, 0.021575927734375, 0.046722412109375, 0.04022216796875, 0.007755279541015625, 0.049774169921875, -0.007450103759765625, 0.0228729248046875, -0.0009264945983886719, 0.038116455078125, -0.040069580078125, 0.0173797607421875, 0.0230865478515625, -0.01139068603515625, 0.0177764892578125, 0.0110626220703125, 0.0147705078125, 0.0216827392578125, 0.0142364501953125, 0.005725860595703125, 0.0032215118408203125, 0.035552978515625, 0.0241851806640625, 0.01238250732421875, -0.050201416015625, 0.024322509765625, -0.068115234375, 0.0200653076171875, 0.01050567626953125, -0.0079498291015625, -0.00907135009765625, -0.007717132568359375, -0.026092529296875, -0.018157958984375, -0.0234832763671875, 0.005222320556640625, -0.01470184326171875, 0.0180206298828125, -0.0158538818359375, 0.00608062744140625, 0.0162811279296875, 0.021331787109375, 0.03424072265625, -0.0333251953125, 0.006679534912109375, 0.0153656005859375, -0.003887176513671875, -0.001476287841796875, -0.047027587890625, -0.00701904296875, 0.0019521713256835938, 0.007293701171875, -0.0227813720703125, 0.0164642333984375, -0.01641845703125, 0.0012292861938476562, -0.019012451171875, -0.005214691162109375, 0.0302886962890625, -0.0214691162109375, -0.0307464599609375, 0.01548004150390625, -0.03533935546875, -0.0018072128295898438, -0.0303802490234375, -0.019622802734375, 0.0217742919921875, -0.032257080078125, -0.01029205322265625, -0.021270751953125, -0.033538818359375, -0.0269012451171875, 0.043975830078125, -0.00977325439453125, 0.00457000732421875, 0.0205230712890625, -0.01546478271484375, -0.01039886474609375, 0.00751495361328125, 0.032073974609375, -0.03533935546875, 0.06298828125, -0.02191162109375, 0.027099609375, 0.06329345703125, 0.0125274658203125, 0.01531219482421875, 0.0595703125, 0.00301361083984375, 0.0244293212890625, 0.050811767578125, 0.0026683807373046875, 0.028167724609375, -0.0384521484375, 0.005565643310546875, -0.02056884765625, -0.00982666015625, -0.0316162109375, 0.0159759521484375, 0.01372528076171875, 0.040740966796875, 0.06622314453125, -0.035491943359375, -0.01137542724609375, 0.002559661865234375, -0.0187530517578125, -0.09613037109375, 0.022125244140625, 0.00478363037109375, -0.033172607421875, 0.033294677734375, 0.041259765625, -0.0036449432373046875, -0.014556884765625, -0.00014007091522216797, 0.020660400390625, -0.0254058837890625, -0.0247039794921875, 0.0335693359375, -0.0007429122924804688, -0.022857666015625, -0.0102081298828125, -0.01364898681640625, 0.02520751953125, 0.0163726806640625, -0.0003046989440917969, 0.018798828125, 0.0034122467041015625, -0.0013532638549804688, -0.024505615234375, -0.006137847900390625, 0.038238525390625, -0.0019426345825195312, -0.005039215087890625, -0.024658203125, 0.00421905517578125, -0.00960540771484375, 0.006198883056640625, -0.00966644287109375, 0.00937652587890625, -0.00826263427734375, 0.01493072509765625, -0.050567626953125, -0.047943115234375, 0.0007348060607910156, -0.065673828125, -0.00778961181640625, 0.0186767578125, -0.0231781005859375, 0.0278778076171875, 0.00942230224609375, -0.04986572265625, 0.03521728515625, 0.040252685546875, 0.00676727294921875, 0.00824737548828125, -0.023773193359375, 0.008026123046875, 0.09552001953125, 0.03594970703125, -0.01128387451171875, 0.00510406494140625, 0.00521087646484375, -0.0791015625, 0.080810546875, 0.0020618438720703125, 0.07525634765625, 0.01068115234375, 0.0034351348876953125, 0.036224365234375, 0.0266876220703125, -0.03546142578125, -0.0241546630859375, -0.035400390625, -0.0017795562744140625, 0.0298919677734375, 0.00934600830078125, -0.01227569580078125, 0.033172607421875, -0.0955810546875, 0.031585693359375, -0.0261993408203125, 0.071044921875, 0.027801513671875, 0.0265960693359375, 0.003173828125, 0.03271484375, 0.005283355712890625, 0.0233154296875, 0.0189666748046875, 0.026580810546875, -0.040802001953125, -0.03387451171875, -0.0165557861328125, 0.0015888214111328125, 0.044952392578125, -0.0258941650390625, -0.030059814453125, -0.0099029541015625, -0.037139892578125, 0.015167236328125, -0.06353759765625, 0.050384521484375, 0.0289459228515625, -0.0236968994140625, -0.0014219284057617188, -0.0197296142578125, 0.03704833984375, 0.00914764404296875, -0.0204620361328125, 0.011383056640625, 0.029510498046875, -0.046905517578125, -0.05255126953125, 0.0229339599609375, 0.0241241455078125, -0.003631591796875, -0.035186767578125, 0.03826904296875, 0.0203399658203125, 0.0021915435791015625, -0.023284912109375, 0.00742340087890625, 0.018402099609375, -0.0140380859375, 0.004093170166015625, -0.0016756057739257812, -0.00815582275390625, 0.039520263671875, -0.0031261444091796875, 0.032867431640625, 0.0095367431640625, 0.03631591796875, 0.01425933837890625, 0.04010009765625, -0.0045013427734375, -0.017364501953125, 0.0080108642578125, 0.00946807861328125, 0.0048370361328125, 0.0127105712890625, -0.028076171875, 0.0017576217651367188, -0.0126800537109375, 0.0196380615234375, 0.030792236328125, 0.0234375, -0.021636962890625, -0.00223541259765625, 0.00885009765625, 0.02154541015625, -0.0117340087890625, 0.0195465087890625, 0.0352783203125, 0.0029296875, -0.033111572265625, 0.0010519027709960938, -0.004024505615234375, 0.026123046875, -0.0269622802734375, 0.029815673828125, -0.07476806640625, -0.02130126953125, -0.03021240234375, -0.089599609375, -0.0161590576171875, 0.01812744140625, 0.0218353271484375, -0.0267791748046875, 0.00743865966796875, 0.0196685791015625, -0.0338134765625, 0.05029296875, 0.0133819580078125, -0.042938232421875, -0.023956298828125, -0.06689453125, 0.061981201171875, -0.0648193359375, 0.036590576171875, 0.06756591796875, -0.0296478271484375, 0.027008056640625, 0.00019049644470214844, -0.0031528472900390625, -0.0240936279296875, 0.0285491943359375, -0.005321502685546875, -0.04168701171875, -0.03717041015625, -0.0223236083984375, 0.0328369140625, 0.041839599609375, 0.0285491943359375, -0.0185394287109375, 0.0220489501953125, 0.049957275390625, 0.006671905517578125, -0.0147552490234375, -0.004955291748046875, -0.0213775634765625, 0.0103607177734375, -0.0132904052734375, -0.01238250732421875, -0.01136016845703125, -0.0039043426513671875, 0.004608154296875, -0.04296875, 0.00274658203125, -0.04962158203125, -0.05035400390625, -0.0628662109375, 0.0269317626953125, -0.00627899169921875, 0.0333251953125, 0.01029205322265625, 0.03961181640625, 0.002597808837890625, -0.051116943359375, 0.022674560546875, 0.032379150390625, -0.0171661376953125, 0.01024627685546875, -0.0216064453125, -0.035400390625, 0.050689697265625, -0.01483154296875, 0.06207275390625, 0.029205322265625, -0.0126800537109375, -0.00330352783203125, -0.012847900390625, 0.015838623046875, 0.019500732421875, 0.025115966796875, 0.01271820068359375, 0.02099609375, 0.045135498046875, -0.0360107421875, -0.00909423828125, -0.0035400390625, -0.0154266357421875, -0.04345703125, 0.024566650390625, -0.022674560546875, -0.06396484375, 0.0302276611328125, 0.02001953125, 0.0279388427734375, 0.0283203125, -0.01165008544921875, 0.040557861328125, -0.00995635986328125, 0.002044677734375, -0.044464111328125, 0.026275634765625, -0.00759124755859375, 0.042205810546875, 0.02484130859375, 0.0217742919921875, -0.005611419677734375, 0.0143280029296875, -0.035919189453125, -0.088623046875, 0.0537109375, -0.05078125, -0.0167236328125, -0.01436614990234375, -0.0174560546875, 0.018341064453125, 0.08489990234375, -0.0158538818359375, -0.0191497802734375, 0.0023708343505859375, 0.0030651092529296875, -0.0266876220703125, -0.0166473388671875, -0.04156494140625, -0.0032501220703125, -0.0265655517578125, 0.01216888427734375, -0.00850677490234375, 0.00043129920959472656, -0.00934600830078125, 0.0009822845458984375, -0.0023956298828125, -0.034881591796875, 0.037078857421875, -0.006591796875, -0.0032806396484375, 0.0270843505859375, 0.007038116455078125, 0.00460052490234375, -0.0281829833984375, 0.004817962646484375, -0.046875, -0.0301361083984375, 0.0272674560546875, 0.04315185546875, -0.0026340484619140625, -0.03466796875, 0.006008148193359375, 0.053497314453125, 0.0472412109375, 0.009735107421875, 0.0186920166015625, -0.037261962890625, 0.0010900497436523438, 0.01030731201171875, 0.01486968994140625, -0.0189971923828125, 0.000698089599609375, -0.013916015625, -0.037872314453125, 0.00978851318359375, -0.01085662841796875, 0.003429412841796875, 0.0185546875, -0.031982421875, -0.019500732421875, -0.0027980804443359375, -0.00212860107421875, 0.029022216796875, 0.0146331787109375, -0.0206298828125, -0.0026798248291015625, -0.03497314453125, -0.001857757568359375, 0.0018835067749023438, -0.0227203369140625, 0.01351165771484375, 0.042449951171875, 0.01409912109375, -0.012115478515625, -0.02685546875, 0.0238494873046875, 0.0312042236328125, 0.0015745162963867188, 0.006961822509765625, -0.00511932373046875, 0.004638671875, -0.004425048828125, -0.010162353515625, -0.0004494190216064453, 0.00830078125, 0.01357269287109375, 0.0194091796875, -0.0010690689086914062, 0.0048370361328125, 0.00350189208984375, 0.01345062255859375, 0.0222930908203125, -0.0173797607421875, -0.0228271484375, -0.01959228515625, 0.05267333984375, -0.03955078125, 0.062347412109375, -0.04638671875, -0.016632080078125, 0.00937652587890625, 0.0011119842529296875, 0.0279388427734375, 0.0272674560546875, -0.00946807861328125, 0.02093505859375, -0.0242919921875, -0.0082855224609375, 0.03125, -0.004608154296875, 0.0105438232421875, -0.004787445068359375, 0.043609619140625, -0.0015726089477539062, 0.00354766845703125, 0.01015472412109375, 0.033721923828125, -0.0052490234375, -0.01496124267578125, -0.02874755859375, 0.0020885467529296875, -0.032073974609375, 0.0305023193359375, -0.0301513671875, 0.0141754150390625, 0.07958984375, 0.0204925537109375, 0.0216827392578125, -0.002689361572265625, 0.0587158203125, -0.0229339599609375, -0.03271484375, -0.012359619140625, -0.005039215087890625, -0.032806396484375, 0.05718994140625, 0.00252532958984375, 0.003513336181640625, -0.0049285888671875, 0.046905517578125, 0.05767822265625, 0.030059814453125, 0.0235748291015625, -0.01373291015625, -0.030029296875, 0.01525115966796875, -0.02447509765625, -0.035003662109375, 0.00106048583984375, 0.02166748046875, 0.0472412109375, 0.0249786376953125, -0.006069183349609375, -0.006500244140625, -0.0247039794921875, 0.00505828857421875, -0.00714111328125, -0.01482391357421875, -0.0184173583984375, 0.00647735595703125, 0.0163116455078125, 0.02459716796875, -0.00250244140625, -0.039703369140625, 0.0267486572265625, -0.047088623046875, 0.04180908203125, 0.00133514404296875, -0.0001093149185180664, 0.0203399658203125, 0.002285003662109375, 0.0095062255859375, -0.01024627685546875, -0.00031280517578125, -0.033721923828125, -0.029541015625, -0.01611328125, -0.0047760009765625, 0.04931640625, -0.05084228515625, -0.00621795654296875, -0.001956939697265625, 0.0011453628540039062, -0.015899658203125, 0.03436279296875, 0.017608642578125, -0.00894927978515625, -0.054046630859375, 0.0178985595703125, -0.01195526123046875, 0.00878143310546875, -0.01346588134765625, -0.03717041015625, -0.034088134765625, -0.00806427001953125, 0.00817108154296875, 0.0242156982421875, -0.006744384765625, -0.0178375244140625, -0.00788116455078125, -0.007122039794921875, -0.00328826904296875, 0.0015354156494140625, 0.0033855438232421875, 0.05108642578125, -0.00995635986328125, 0.0557861328125, 0.006732940673828125, -0.0017251968383789062, -0.031341552734375, -0.0179595947265625, -0.0288848876953125, -0.06658935546875, 0.006175994873046875, -0.007694244384765625, 0.0046844482421875, 0.08233642578125, 0.058441162109375, 0.0211944580078125, 0.0096893310546875, -0.03338623046875, -0.0019445419311523438, -0.0180206298828125, 0.0266571044921875, -0.040435791015625, 0.003154754638671875, -0.000060677528381347656, -0.0035419464111328125, 0.056182861328125, 0.005825042724609375, -0.0031585693359375, 0.01044464111328125, -0.01555633544921875, 0.031463623046875, 0.0290069580078125, 0.0028095245361328125, 0.0016384124755859375, 0.041656494140625, 0.0015859603881835938, 0.051544189453125, 0.00897979736328125, 0.03558349609375, 0.0662841796875, 0.034576416015625, 0.002040863037109375, -0.0094146728515625, 0.053955078125, 0.0137176513671875, -0.04229736328125, 0.0006365776062011719, -0.034942626953125, -0.00460052490234375, 0.037933349609375, 0.039703369140625, -0.080078125, -0.001071929931640625, -0.00506591796875, 0.034881591796875, 0.07000732421875, 0.0015573501586914062, 0.011688232421875, 0.026885986328125, -0.01959228515625, 0.00041556358337402344, -0.045257568359375, -0.0251312255859375, 0.0020961761474609375, 0.00882720947265625, 0.0102996826171875, 0.05682373046875, -0.005611419677734375, 0.021087646484375, -0.049468994140625, -0.027587890625, 0.010406494140625, -0.02337646484375, 0.01715087890625, 0.00836181640625, 0.005191802978515625, -0.040252685546875, 0.0303955078125, -0.035797119140625, 0.0107269287109375, -0.038787841796875, -0.0031642913818359375, 0.01055908203125, 0.0245513916015625, -0.024749755859375, -0.0006194114685058594, 0.0009031295776367188, -0.0295257568359375, 0.01165771484375, 0.00384521484375, -0.00222015380859375, 0.016204833984375, -0.020904541015625, 0.0078582763671875, -0.033599853515625, 0.0007572174072265625, -0.022979736328125, -0.005390167236328125, 0.1341552734375, -0.041229248046875, -0.029815673828125, 0.02459716796875, 0.031402587890625, -0.0226287841796875, 0.012237548828125, -0.00579833984375, -0.0290985107421875, -0.032684326171875, -0.0062713623046875, -0.05609130859375, 0.0090484619140625, -0.01398468017578125, -0.06732177734375, 0.11846923828125, 0.0080718994140625, 0.037750244140625, 0.006679534912109375, 0.052703857421875, -0.0264434814453125, 0.038543701171875, -0.0340576171875, 0.037139892578125, -0.0135345458984375, 0.04132080078125, -0.0465087890625, -0.0269775390625, 0.01346588134765625, 0.036590576171875, 0.062103271484375, 0.017242431640625, -0.0011959075927734375, 0.0163726806640625, 0.04241943359375, -0.01483917236328125, -0.05218505859375, 0.033172607421875, -0.0038776397705078125, 0.017791748046875, 0.08135986328125, -0.00965118408203125, 0.0364990234375, 0.032928466796875, -0.0038661956787109375, 0.006855010986328125, -0.003871917724609375, 0.00400543212890625, -0.0036067962646484375, -0.037445068359375, -0.01180267333984375, -0.0018625259399414062, 0.0059356689453125, -0.0023593902587890625, 0.0176239013671875, 0.029266357421875, 0.06878662109375, -0.051788330078125, 0.00084686279296875, -0.032867431640625, 0.062408447265625, 0.02484130859375, 0.01552581787109375, 0.013275146484375, 0.0096435546875, 0.0277862548828125, -0.01001739501953125, -0.00475311279296875, 0.016082763671875, -0.0016202926635742188, 0.07586669921875, 0.0089111328125, 0.01654052734375, -0.0819091796875, -0.010345458984375, 0.060882568359375, 0.10003662109375, -0.0694580078125, -0.048980712890625, 0.01383209228515625, 0.013641357421875, 0.014739990234375, -0.0009093284606933594, 0.01476287841796875, -0.010284423828125, 0.020416259765625, -0.043792724609375, 0.01416778564453125, 0.035064697265625, -0.0024776458740234375, -0.0187530517578125, -0.0005459785461425781, -0.02728271484375, 0.021942138671875, -0.04205322265625, -0.01043701171875, 0.0201873779296875, 0.030548095703125, 0.03887939453125, -0.003742218017578125, 0.033599853515625, -0.01116943359375, 0.0244293212890625, 0.006256103515625, -0.01088714599609375, -0.0220184326171875, 0.004985809326171875, -0.03509521484375, -0.014007568359375, 0.01666259765625, 0.040618896484375, 0.044830322265625, 0.068115234375, 0.0377197265625, -0.0196685791015625, 0.0014944076538085938, 0.054595947265625, -0.00885772705078125, 0.028961181640625, -0.035186767578125, -0.019744873046875, -0.023956298828125, -0.048431396484375, -0.0260772705078125, -0.0286865234375, 0.0239105224609375, 0.03094482421875, 0.00629425048828125, 0.0095672607421875, 0.00482177734375, 0.04541015625, -0.01293182373046875, 0.01544952392578125, 0.034271240234375, -0.098876953125, -0.018646240234375, -0.0506591796875, -0.0455322265625, 0.057525634765625, 0.06878662109375, -0.009063720703125, -0.01009368896484375, 0.007366180419921875, 0.006038665771484375, 0.022125244140625, -0.0305633544921875, 0.002033233642578125, 0.0110626220703125, 0.0100860595703125, 0.0194244384765625, -0.06195068359375, -0.0283355712890625, 0.006313323974609375, 0.0116424560546875, -0.01739501953125, 0.120849609375, -0.029144287109375, -0.006916046142578125, 0.024505615234375, 0.0186004638671875, 0.004405975341796875, 0.01959228515625, -0.003597259521484375, 0.00469970703125, 0.054931640625, -0.028900146484375, 0.00439453125, -0.016845703125, 0.052215576171875, -0.06646728515625, -0.0049896240234375, -0.0238037109375, 0.0302886962890625, -0.029876708984375, -0.00023651123046875, -0.0200958251953125, -0.023040771484375, -0.028900146484375, -0.01084136962890625, 0.0275726318359375, 0.01476287841796875, -0.0175628662109375, 0.049163818359375, -0.00922393798828125, -0.02349853515625, 0.0240478515625, -0.0751953125, 0.039886474609375, 0.031341552734375, 0.0096893310546875, -0.0135345458984375, 0.067138671875, -0.00067901611328125, 0.027191162109375, 0.0171966552734375, 0.0640869140625, 0.04278564453125, -0.0307769775390625, -0.0308990478515625, -0.023223876953125, 0.0168609619140625, 0.017303466796875, 0.0012359619140625, -0.0298919677734375, -0.0109710693359375, -0.0231781005859375, -0.027130126953125, -0.036834716796875, -0.034393310546875, 0.024810791015625, 0.0175933837890625, 0.00946807861328125, -0.0292205810546875, -0.04852294921875, -0.025421142578125, 0.0170135498046875, -0.0222320556640625, 0.009368896484375, -0.0251312255859375, -0.016082763671875, 0.0119476318359375, -0.009429931640625, -0.025299072265625, 0.0174713134765625, 0.0249786376953125, -0.0010786056518554688, 0.0019092559814453125, -0.00469207763671875, -0.0022125244140625, 0.0035305023193359375, -0.00003421306610107422, 0.0364990234375, -0.021331787109375, -0.056365966796875, -0.01177215576171875, 0.00896453857421875, 0.0472412109375, -0.0115966796875, -0.0164031982421875, 0.0115509033203125, 0.02655029296875, -0.0557861328125, -0.0274658203125, 0.01409149169921875, 0.0030956268310546875, -0.01227569580078125, 0.000736236572265625, -0.00835418701171875, 0.0189056396484375, -0.030242919921875, -0.07666015625, 0.09466552734375, -0.0151519775390625, -0.023040771484375, -0.10321044921875, 0.041412353515625, 0.015960693359375, -0.00460052490234375, -0.03961181640625, 0.0033779144287109375, -0.02337646484375, 0.0244140625, -0.0007386207580566406, 0.0293426513671875, 0.025787353515625, -0.004314422607421875, -0.03729248046875, 0.00021946430206298828, -0.0115203857421875, -0.005157470703125, 0.044158935546875, -0.04412841796875, 0.0286407470703125, 0.01515960693359375, -0.068359375, -0.0408935546875, -0.0275421142578125, 0.01145172119140625, -0.0286102294921875, -0.0653076171875, -0.0131988525390625, -0.0202178955078125, 0.0310516357421875, 0.067138671875, -0.00502777099609375, -0.036163330078125, -0.01629638671875, -0.045440673828125, -0.056640625, -0.0296783447265625, 0.030487060546875, -0.07379150390625, -0.01336669921875, -0.004482269287109375, 0.02081298828125, -0.0018625259399414062, 0.019317626953125, 0.0161285400390625, -0.02105712890625, 0.02630615234375, -0.01470184326171875, -0.0709228515625, 0.044586181640625, 0.018463134765625, -0.0206451416015625, 0.00876617431640625, -0.0141143798828125, -0.009765625, 0.0176544189453125, -0.0131988525390625, -0.034210205078125, -0.043304443359375, -0.013702392578125, 0.039703369140625, -0.049468994140625, 0.0531005859375, -0.0556640625, -0.01383209228515625, -0.02227783203125, 0.045196533203125, -0.0045013427734375, 0.0474853515625, -0.01230621337890625, 0.048797607421875, 0.0276336669921875, 0.07220458984375, 0.012847900390625, -0.019775390625, -0.0223541259765625, 0.042694091796875, -0.0298919677734375, -0.017059326171875, -0.030548095703125, -0.00667572021484375, 0.00217437744140625, -0.0400390625, -0.079345703125, -0.039764404296875, -0.03070068359375, 0.016265869140625, -0.05322265625, 0.00677490234375 ]
1ea85cda1980194cfa388fcb191382e9f0e61850
Wordpress Stackexchange Q: Gutenberg Blocks - Attributes from comment delimiter or from HTML? I wrote a custom block and am trying to better understand the interplay of the JavaScript and PHP on both front and back end regarding blocks. Say I have some block that I want rendered dynamically. That leads to questions: * *For dynamic blocks I take it we have to guarantee that the attributes are in the JSON in the comments delimiter? *On front end, is there any reason to have the block comments displayed? Should we always use a filter when displaying posts to remove the block comments, or are these attributes someone used by client side javascript? *Endpoints: Here is where I am really confused. For dynamic block rendering we are supposed to specify a PHP callback. Is that to be called by a restAPI endpoint (in which case do we have to set show_in_rest to true for dynamic blocks?) or is there a separate mechanism? Just looking for some clarification on these points. thanks
Q: Gutenberg Blocks - Attributes from comment delimiter or from HTML? I wrote a custom block and am trying to better understand the interplay of the JavaScript and PHP on both front and back end regarding blocks. Say I have some block that I want rendered dynamically. That leads to questions: * *For dynamic blocks I take it we have to guarantee that the attributes are in the JSON in the comments delimiter? *On front end, is there any reason to have the block comments displayed? Should we always use a filter when displaying posts to remove the block comments, or are these attributes someone used by client side javascript? *Endpoints: Here is where I am really confused. For dynamic block rendering we are supposed to specify a PHP callback. Is that to be called by a restAPI endpoint (in which case do we have to set show_in_rest to true for dynamic blocks?) or is there a separate mechanism? Just looking for some clarification on these points. thanks
wordpress
{ "language": "en", "length": 168, "provenance": "stackexchange_00019.jsonl.gz:499803", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354135" }
[ 0.0268707275390625, 0.00217437744140625, -0.06500244140625, -0.07257080078125, 0.0206146240234375, -0.04083251953125, -0.01035308837890625, 0.034942626953125, -0.0156097412109375, 0.04266357421875, -0.0092620849609375, -0.033477783203125, 0.00817108154296875, -0.0175628662109375, -0.01788330078125, -0.04718017578125, 0.045989990234375, 0.036895751953125, 0.04376220703125, -0.00008618831634521484, -0.00872802734375, 0.027374267578125, -0.0191802978515625, 0.11370849609375, 0.03948974609375, -0.08697509765625, 0.09210205078125, 0.018096923828125, 0.044036865234375, 0.00037360191345214844, 0.043212890625, -0.046905517578125, 0.037200927734375, 0.0174407958984375, -0.033660888671875, 0.03924560546875, 0.06512451171875, -0.035736083984375, -0.0153656005859375, 0.04473876953125, 0.04248046875, -0.048004150390625, 0.0159454345703125, -0.03485107421875, -0.000408172607421875, 0.00914764404296875, 0.03546142578125, -0.0289154052734375, 0.029205322265625, 0.0489501953125, -0.00690460205078125, 0.0306549072265625, -0.025177001953125, 0.004505157470703125, 0.01517486572265625, 0.015625, -0.05810546875, -0.002338409423828125, 0.0032138824462890625, 0.08575439453125, 0.038848876953125, 0.009368896484375, -0.0124359130859375, -0.026641845703125, 0.031524658203125, -0.027191162109375, 0.0423583984375, 0.031585693359375, -0.0134124755859375, 0.003269195556640625, 0.01947021484375, 0.00140380859375, -0.006107330322265625, -0.05755615234375, 0.00939178466796875, 0.003208160400390625, -0.044891357421875, -0.04364013671875, 0.003108978271484375, -0.0005230903625488281, -0.0109100341796875, -0.0049285888671875, -0.025482177734375, -0.03057861328125, 0.00829315185546875, -0.01042938232421875, -0.0107421875, -0.00319671630859375, -0.005977630615234375, -0.0296478271484375, -0.0203094482421875, -0.011016845703125, -0.051544189453125, 0.033050537109375, 0.00135040283203125, -0.007537841796875, -0.0215301513671875, 0.0070648193359375, -0.0151519775390625, 0.0173492431640625, -0.02197265625, -0.021026611328125, 0.01556396484375, -0.0264739990234375, 0.00455474853515625, -0.010345458984375, -0.05316162109375, 0.0183258056640625, 0.0667724609375, 0.06634521484375, 0.00673675537109375, -0.0220947265625, -0.0035762786865234375, -0.00305938720703125, -0.0229949951171875, 0.02069091796875, -0.03387451171875, 0.005985260009765625, -0.0015954971313476562, 0.005313873291015625, -0.007190704345703125, 0.003082275390625, 0.024627685546875, 0.0158843994140625, 0.03643798828125, 0.044036865234375, -0.00226593017578125, -0.03253173828125, -0.00965118408203125, -0.0011692047119140625, -0.0036220550537109375, 0.03143310546875, 0.01800537109375, 0.0142059326171875, -0.0167083740234375, 0.0005450248718261719, 0.031646728515625, 0.0243988037109375, 0.0033740997314453125, -0.0084381103515625, -0.0335693359375, -0.0013799667358398438, 0.01568603515625, -0.04022216796875, -0.01531982421875, 0.0154266357421875, 0.02960205078125, 0.00838470458984375, -0.04510498046875, -0.0772705078125, 0.041900634765625, -0.035980224609375, 0.0267333984375, -0.01296234130859375, 0.06561279296875, -0.0264892578125, 0.071533203125, -0.057159423828125, 0.0009131431579589844, -0.0185394287109375, 0.032867431640625, -0.006175994873046875, -0.02423095703125, -0.0228271484375, -0.040313720703125, -0.019073486328125, -0.007312774658203125, 0.006244659423828125, 0.01001739501953125, 0.0321044921875, -0.036712646484375, -0.043060302734375, -0.003200531005859375, -0.0036029815673828125, -0.02154541015625, 0.030548095703125, -0.0283203125, 0.00878143310546875, 0.028900146484375, -0.0264129638671875, -0.0244903564453125, -0.046234130859375, 0.00557708740234375, 0.0106353759765625, -0.057586669921875, 0.04412841796875, 0.0014657974243164062, 0.06927490234375, 0.031036376953125, 0.0121612548828125, 0.0103759765625, -0.01006317138671875, -0.036407470703125, 0.011993408203125, 0.014678955078125, -0.002918243408203125, -0.017242431640625, -0.00487518310546875, 0.000675201416015625, -0.0143585205078125, -0.0033321380615234375, -0.004123687744140625, 0.016998291015625, 0.0033416748046875, -0.0143890380859375, 0.001708984375, -0.01250457763671875, 0.02728271484375, -0.03924560546875, 0.014007568359375, 0.01247406005859375, -0.0615234375, -0.02392578125, 0.06982421875, 0.026123046875, -0.028472900390625, -0.0095062255859375, 0.0250091552734375, 0.007354736328125, -0.005298614501953125, 0.04620361328125, -0.0231475830078125, 0.0218353271484375, 0.0190887451171875, 0.059356689453125, 0.0207672119140625, -0.0220794677734375, -0.017425537109375, 0.051361083984375, 0.035980224609375, -0.058685302734375, -0.00354766845703125, 0.0193634033203125, 0.020111083984375, -0.01100921630859375, -0.013519287109375, 0.0198211669921875, -0.06781005859375, 0.0191192626953125, 0.046630859375, 0.0213470458984375, -0.028045654296875, -0.01401519775390625, -0.00836181640625, -0.02984619140625, 0.016571044921875, 0.049468994140625, -0.033416748046875, -0.00565338134765625, -0.0023250579833984375, -0.031585693359375, -0.02410888671875, 0.0296630859375, -0.068603515625, 0.002838134765625, 0.040802001953125, 0.002826690673828125, 0.02685546875, -0.040435791015625, 0.0228118896484375, 0.004871368408203125, 0.00469970703125, -0.0068817138671875, -0.005035400390625, 0.06451416015625, 0.00742340087890625, 0.02001953125, 0.01885986328125, -0.06646728515625, 0.046051025390625, 0.031402587890625, -0.007686614990234375, -0.0006461143493652344, 0.03289794921875, 0.047332763671875, 0.0198516845703125, -0.028656005859375, -0.01404571533203125, 0.035980224609375, 0.028167724609375, -0.0233306884765625, 0.007015228271484375, -0.031707763671875, -0.00562286376953125, -0.002117156982421875, -0.039306640625, 0.0010862350463867188, 0.007236480712890625, -0.002254486083984375, 0.00757598876953125, 0.00995635986328125, 0.046844482421875, 0.01922607421875, 0.0034008026123046875, 0.0257568359375, 0.00691986083984375, 0.01039886474609375, -0.040740966796875, 0.034637451171875, -0.01544952392578125, 0.059234619140625, 0.0841064453125, 0.0030422210693359375, 0.0234375, -0.0082244873046875, -0.03399658203125, 0.0181121826171875, -0.01354217529296875, -0.0328369140625, -0.0224761962890625, -0.0169830322265625, 0.0281219482421875, 0.004528045654296875, 0.012908935546875, -0.0036945343017578125, -0.030487060546875, -0.01171112060546875, 0.00943756103515625, -0.040557861328125, -0.002368927001953125, 0.062286376953125, -0.055755615234375, -0.01357269287109375, -0.006610870361328125, -0.0452880859375, -0.01702880859375, 0.0182037353515625, -0.021453857421875, -0.007904052734375, -0.027008056640625, -0.07904052734375, -0.06060791015625, -0.07769775390625, 0.050201416015625, -0.006587982177734375, 0.03729248046875, -0.0121917724609375, 0.0418701171875, -0.0223541259765625, -0.041839599609375, -0.021728515625, -0.035552978515625, -0.0017747879028320312, -0.00873565673828125, 0.0270233154296875, -0.004825592041015625, 0.0158843994140625, 0.01064300537109375, -0.045196533203125, 0.0267791748046875, -0.0251922607421875, -0.035552978515625, -0.007633209228515625, 0.035400390625, 0.0294189453125, -0.033477783203125, 0.01531982421875, 0.0592041015625, -0.00797271728515625, -0.006862640380859375, -0.029754638671875, 0.0207977294921875, -0.0238494873046875, -0.0146942138671875, 0.0194854736328125, -0.0272979736328125, -0.01508331298828125, 0.0225982666015625, 0.023773193359375, -0.0032958984375, 0.04119873046875, -0.0188446044921875, -0.004642486572265625, -0.0165863037109375, 0.0024089813232421875, -0.0499267578125, 0.0523681640625, 0.01120758056640625, -0.0163421630859375, 0.0054473876953125, 0.01508331298828125, -0.007366180419921875, 0.00008922815322875977, -0.06549072265625, -0.019989013671875, 0.034393310546875, 0.034515380859375, 0.04217529296875, 0.0006437301635742188, -0.01922607421875, 0.0071258544921875, 0.049468994140625, 0.01180267333984375, -0.0206451416015625, -0.0125579833984375, -0.0027370452880859375, -0.03546142578125, -0.009552001953125, -0.03399658203125, 0.022430419921875, -0.0117950439453125, 0.010406494140625, 0.00852203369140625, -0.0136566162109375, -0.0283203125, 0.04168701171875, -0.031890869140625, -0.00688934326171875, 0.0176239013671875, -0.0570068359375, -0.0120849609375, 0.0234222412109375, -0.02789306640625, -0.01233673095703125, -0.01303863525390625, -0.035980224609375, -0.0418701171875, -0.004405975341796875, -0.03729248046875, 0.0303802490234375, 0.01519012451171875, -0.004795074462890625, -0.0084991455078125, 0.036468505859375, 0.00539398193359375, -0.016326904296875, 0.01143646240234375, 0.0116119384765625, 0.00003135204315185547, -0.033782958984375, -0.01024627685546875, -0.042083740234375, -0.01910400390625, -0.0272064208984375, -0.0195465087890625, 0.0577392578125, -0.0024204254150390625, 0.009002685546875, -0.0104827880859375, 0.003948211669921875, -0.02862548828125, -0.003662109375, -0.0117340087890625, 0.03564453125, -0.003726959228515625, -0.018402099609375, -0.035064697265625, -0.04345703125, 0.002841949462890625, -0.01464080810546875, -0.0159759521484375, 0.00872802734375, 0.03167724609375, 0.0236663818359375, -0.00391387939453125, 0.0032100677490234375, -0.0157012939453125, 0.042999267578125, -0.0367431640625, 0.0673828125, 0.05120849609375, -0.017913818359375, 0.06500244140625, -0.002780914306640625, 0.054779052734375, -0.056427001953125, 0.0173187255859375, -0.00859832763671875, 0.020355224609375, 0.0187530517578125, 0.03948974609375, 0.0150299072265625, 0.01064300537109375, -0.046142578125, 0.034942626953125, -0.026275634765625, 0.016021728515625, -0.01015472412109375, -0.01262664794921875, -0.048675537109375, -0.01788330078125, 0.006404876708984375, -0.0262908935546875, 0.0196990966796875, 0.0277557373046875, -0.019073486328125, 0.01161956787109375, 0.00881195068359375, 0.0384521484375, -0.030029296875, -0.05419921875, -0.05126953125, 0.054779052734375, -0.059234619140625, 0.0027713775634765625, 0.0287017822265625, 0.009246826171875, 0.05389404296875, -0.05364990234375, -0.053741455078125, -0.053253173828125, -0.0249481201171875, 0.0040740966796875, 0.0443115234375, 0.0044403076171875, -0.002437591552734375, 0.0162811279296875, -0.0167083740234375, 0.01454925537109375, 0.045257568359375, -0.02740478515625, -0.0120391845703125, 0.020904541015625, -0.00701904296875, 0.0154876708984375, -0.02227783203125, 0.07452392578125, -0.004192352294921875, 0.0308074951171875, -0.0247039794921875, 0.052947998046875, -0.0028476715087890625, 0.049468994140625, 0.0012292861938476562, -0.012237548828125, 0.024749755859375, -0.0023784637451171875, -0.047454833984375, -0.0162506103515625, 0.003566741943359375, 0.0123443603515625, 0.050567626953125, -0.005268096923828125, -0.0156402587890625, 0.00505828857421875, -0.05755615234375, -0.002071380615234375, 0.0164031982421875, -0.0150604248046875, -0.004489898681640625, -0.01096343994140625, -0.0183258056640625, 0.0266571044921875, 0.005405426025390625, 0.0008788108825683594, 0.00206756591796875, 0.00406646728515625, 0.012939453125, -0.022735595703125, -0.030731201171875, 0.0185394287109375, 0.006805419921875, -0.022674560546875, -0.030975341796875, -0.0186614990234375, -0.048370361328125, -0.03515625, 0.00482177734375, -0.0009245872497558594, 0.0162353515625, -0.0259246826171875, 0.007843017578125, -0.0026645660400390625, -0.01094818115234375, -0.002292633056640625, 0.01245880126953125, 0.045135498046875, 0.0292205810546875, -0.07037353515625, -0.0028972625732421875, -0.09027099609375, -0.017578125, -0.0433349609375, -0.03997802734375, -0.028717041015625, 0.0201568603515625, 0.039642333984375, 0.039520263671875, 0.010650634765625, -0.00803375244140625, 0.032440185546875, 0.010345458984375, -0.0166168212890625, 0.072265625, -0.01282501220703125, -0.0054473876953125, -0.0020275115966796875, 0.00827789306640625, -0.01110076904296875, -0.019622802734375, 0.015350341796875, -0.02362060546875, 0.005870819091796875, -0.004467010498046875, -0.055450439453125, -0.007843017578125, -0.045135498046875, 0.0042266845703125, 0.0526123046875, -0.011993408203125, 0.0205230712890625, -0.0155792236328125, -0.00211334228515625, -0.0308074951171875, 0.03790283203125, -0.027130126953125, 0.026153564453125, -0.0214691162109375, -0.005084991455078125, -0.01194000244140625, -0.01468658447265625, -0.03399658203125, 0.05035400390625, 0.004547119140625, 0.0263671875, -0.01395416259765625, 0.006702423095703125, -0.01201629638671875, 0.0745849609375, 0.0023632049560546875, 0.036712646484375, 0.0227508544921875, 0.01230621337890625, 0.06671142578125, 0.04638671875, -0.0090484619140625, -0.0292510986328125, 0.0283203125, 0.018280029296875, -0.006290435791015625, 0.01245880126953125, -0.0096282958984375, 0.01299285888671875, 0.01453399658203125, 0.0623779296875, -0.057098388671875, 0.0185089111328125, 0.02215576171875, -0.01369476318359375, 0.023529052734375, 0.004451751708984375, 0.00995635986328125, -0.0289306640625, -0.0247344970703125, 0.055206298828125, -0.0220489501953125, -0.0196380615234375, 0.0225982666015625, -0.00220489501953125, 0.0099334716796875, 0.01097869873046875, -0.003154754638671875, -0.00970458984375, -0.008087158203125, -0.02215576171875, 0.01161956787109375, -0.0018825531005859375, -0.0097503662109375, 0.01322174072265625, -0.037109375, -0.03961181640625, 0.003040313720703125, -0.05584716796875, -0.0059051513671875, 0.0252532958984375, 0.00827789306640625, 0.02325439453125, 0.0675048828125, 0.0025501251220703125, -0.0207977294921875, 0.029266357421875, -0.0198211669921875, -0.0557861328125, -0.0276641845703125, 0.0309906005859375, 0.00669097900390625, -0.016815185546875, 0.035919189453125, -0.00543975830078125, -0.044830322265625, 0.00978851318359375, 0.0465087890625, 0.058563232421875, -0.00994873046875, -0.046478271484375, 0.042633056640625, -0.0213470458984375, -0.029388427734375, 0.01529693603515625, 0.032867431640625, -0.01386260986328125, 0.0269012451171875, -0.0009870529174804688, 0.0071258544921875, 0.0006661415100097656, 0.01038360595703125, -0.0743408203125, 0.03759765625, 0.048980712890625, 0.01392364501953125, -0.02349853515625, 0.01122283935546875, -0.0177764892578125, -0.0188751220703125, -0.025665283203125, 0.045318603515625, -0.006641387939453125, 0.0487060546875, -0.0379638671875, -0.0016145706176757812, 0.03143310546875, 0.02801513671875, 0.03155517578125, 0.0057525634765625, 0.00489044189453125, -0.00921630859375, -0.0089263916015625, 0.01270294189453125, -0.03887939453125, 0.00461578369140625, 0.04327392578125, 0.0200347900390625, 0.01470947265625, -0.026824951171875, 0.034088134765625, -0.07232666015625, 0.007015228271484375, 0.056854248046875, 0.0162353515625, 0.0299224853515625, 0.01114654541015625, 0.03900146484375, -0.0196075439453125, -0.00872039794921875, 0.04107666015625, -0.051055908203125, -0.046356201171875, 0.050567626953125, 0.038238525390625, -0.09381103515625, -0.0845947265625, -0.022003173828125, 0.032135009765625, 0.0272216796875, 0.0184783935546875, -0.0009036064147949219, 0.0216217041015625, -0.041046142578125, -0.007358551025390625, 0.0056610107421875, 0.0197296142578125, -0.048309326171875, 0.0302734375, -0.0014801025390625, 0.0250396728515625, -0.05194091796875, -0.0302886962890625, 0.0272674560546875, 0.0408935546875, -0.0135650634765625, -0.0264739990234375, 0.01214599609375, 0.0156707763671875, 0.0372314453125, -0.01251220703125, 0.05316162109375, -0.05853271484375, -0.0233001708984375, -0.0024356842041015625, -0.03546142578125, -0.0232391357421875, 0.0289764404296875, 0.0130767822265625, 0.042205810546875, 0.01462554931640625, -0.06805419921875, -0.0662841796875, 0.01409149169921875, 0.055755615234375, 0.045562744140625, 0.00884246826171875, 0.0626220703125, 0.044158935546875, -0.0220794677734375, -0.0099945068359375, 0.015869140625, 0.0265960693359375, -0.004360198974609375, 0.0059661865234375, 0.0249176025390625, 0.0005960464477539062, 0.00974273681640625, 0.01052093505859375, 0.025970458984375, 0.025909423828125, -0.00565338134765625, -0.0017480850219726562, -0.00949859619140625, -0.031982421875, -0.0188446044921875, 0.00513458251953125, -0.048004150390625, 0.0214691162109375, 0.0187225341796875, 0.0018177032470703125, 0.01111602783203125, -0.0026760101318359375, 0.041473388671875, 0.003330230712890625, 0.06488037109375, 0.002529144287109375, -0.00762176513671875, 0.0146636962890625, 0.0008187294006347656, 0.04034423828125, 0.02593994140625, 0.0284271240234375, 0.0148162841796875, 0.00994873046875, -0.0219268798828125, -0.0271148681640625, 0.01251983642578125, -0.00445556640625, 0.044403076171875, -0.0283050537109375, -0.01020050048828125, 0.03173828125, -0.01399993896484375, 0.0220947265625, 0.047149658203125, 0.00760650634765625, 0.005191802978515625, -0.03851318359375, -0.005706787109375, 0.0306549072265625, -0.006679534912109375, -0.03485107421875, 0.1085205078125, -0.01372528076171875, -0.03790283203125, -0.0237274169921875, 0.02532958984375, -0.01200103759765625, 0.0019664764404296875, 0.0254364013671875, 0.046539306640625, 0.020111083984375, -0.0216217041015625, -0.036895751953125, 0.00589752197265625, 0.0364990234375, -0.00206756591796875, 0.0191650390625, -0.0120086669921875, 0.0269012451171875, -0.021392822265625, -0.0021820068359375, -0.03753662109375, -0.0843505859375, -0.0313720703125, 0.047943115234375, -0.0277099609375, 0.03277587890625, 0.01058197021484375, 0.04913330078125, 0.01025390625, 0.0202789306640625, 0.0214080810546875, -0.0116119384765625, 0.042938232421875, 0.040771484375, -0.04656982421875, -0.003345489501953125, 0.013916015625, -0.0214385986328125, 0.051025390625, -0.0099029541015625, 0.062255859375, 0.004482269287109375, 0.057769775390625, -0.003040313720703125, 0.062286376953125, 0.0673828125, 0.0012273788452148438, 0.037139892578125, 0.00775146484375, -0.00276947021484375, 0.025726318359375, 0.03167724609375, -0.0262908935546875, -0.061676025390625, -0.0160675048828125, 0.0083770751953125, -0.055511474609375, -0.031097412109375, -0.0823974609375, -0.01186370849609375, 0.0162811279296875, -0.0111541748046875, -0.03680419921875, 0.003475189208984375, -0.0031299591064453125, 0.038055419921875, -0.022552490234375, 0.0241241455078125, -0.00803375244140625, 0.0400390625, -0.044281005859375, 0.0016880035400390625, -0.0369873046875, 0.0026035308837890625, -0.023193359375, 0.052642822265625, 0.042755126953125, -0.04345703125, 0.023193359375, 0.038177490234375, 0.0687255859375, 0.0753173828125, -0.014862060546875, 0.0227508544921875, 0.03485107421875, 0.0269775390625, -0.06817626953125, -0.08526611328125, 0.002033233642578125, 0.01922607421875, 0.0022449493408203125, -0.00418853759765625, 0.027374267578125, 0.041046142578125, -0.0121307373046875, -0.055572509765625, 0.091796875, -0.017822265625, -0.019317626953125, 0.001251220703125, -0.0083770751953125, -0.0178680419921875, 0.0400390625, -0.015716552734375, -0.005641937255859375, -0.006572723388671875, 0.00849151611328125, 0.0083160400390625, -0.02130126953125, 0.036529541015625, -0.00652313232421875, -0.04119873046875, 0.0096588134765625, 0.0157012939453125, -0.004764556884765625, -0.046173095703125, 0.017303466796875, 0.01483154296875, 0.0018768310546875, -0.0119781494140625, 0.0024166107177734375, 0.044952392578125, 0.052032470703125, 0.001434326171875, 0.00861358642578125, -0.026885986328125, -0.00940704345703125, 0.045562744140625, 0.0367431640625, 0.0147857666015625, -0.024139404296875, 0.01568603515625, 0.01367950439453125, -0.044952392578125, -0.0122528076171875, 0.0278778076171875, -0.06622314453125, -0.0279083251953125, 0.0132293701171875, 0.01334381103515625, 0.01739501953125, -0.0300445556640625, -0.02508544921875, -0.0239715576171875, -0.027435302734375, -0.0140380859375, -0.03424072265625, 0.002277374267578125, 0.01043701171875, -0.0152435302734375, -0.007709503173828125, -0.0210723876953125, 0.0128021240234375, 0.01177215576171875, -0.0155792236328125, -0.025054931640625, -0.06048583984375, 0.016326904296875, 0.03814697265625, -0.0293121337890625, 0.0682373046875, -0.0214996337890625, -0.023681640625, -0.0172271728515625, 0.00888824462890625, -0.002155303955078125, -0.01073455810546875, -0.02191162109375, 0.05206298828125, 0.002197265625, 0.0594482421875, -0.02447509765625, 0.038299560546875, -0.0295257568359375, 0.031280517578125, 0.00004982948303222656, -0.00820159912109375, 0.0285186767578125, -0.00901031494140625, -0.01419830322265625, 0.01331329345703125, -0.018096923828125, -0.07958984375, 0.011688232421875, 0.049468994140625, 0.0249176025390625, 0.02044677734375 ]
dc5da528700203d8a9584c3473ade7b4fd16be3c
Wordpress Stackexchange Q: Redirect www to non-www htaccess It's been asked a gazillion times but it's still not working in my Wordpress. I want to redirect everything to https://website.com. Current code been used: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301] </IfModule> based on this one but I also tried all in this page and of course this other one. Maybe I am missing something but this is what happens no matter what combination I tried: # http://website.com -> https://website.com # https://website.com -> https://website.com # http://www.website.com -> https://www.website.com #wrong# # https://www.website.com -> https://www.website.com #wrong# I am starting to wonder whether the let's encrypt installation has something to do... or even some other modification done in wp-config.php... I added this in the past: if ( defined( 'WP_CLI' ) ) { $_SERVER['HTTP_HOST'] = 'localhost'; } define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/'); Any idea? Thanks A: This is what you want: RewriteEngine On RewriteCond %{HTTP_HOST} website\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://website.com/$1 [R,L] @elgoots, the reason yours was close but still had trouble is your HTTP_HOST has the www in it.
Q: Redirect www to non-www htaccess It's been asked a gazillion times but it's still not working in my Wordpress. I want to redirect everything to https://website.com. Current code been used: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301] </IfModule> based on this one but I also tried all in this page and of course this other one. Maybe I am missing something but this is what happens no matter what combination I tried: # http://website.com -> https://website.com # https://website.com -> https://website.com # http://www.website.com -> https://www.website.com #wrong# # https://www.website.com -> https://www.website.com #wrong# I am starting to wonder whether the let's encrypt installation has something to do... or even some other modification done in wp-config.php... I added this in the past: if ( defined( 'WP_CLI' ) ) { $_SERVER['HTTP_HOST'] = 'localhost'; } define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/'); Any idea? Thanks A: This is what you want: RewriteEngine On RewriteCond %{HTTP_HOST} website\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://website.com/$1 [R,L] @elgoots, the reason yours was close but still had trouble is your HTTP_HOST has the www in it. A: Setting the wordpress home and site url manually to https://website.com Then remove all other rules in .htaccess and have: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] The htaccess will redirect to https for all traffic and all pages/posts/categories etc. As for dropping the www infront, the site url and homepage url should take care of that in the wordpress framework. Give it a try and report back. If that does not work, try the following and manually set the request uri. Obviously change website.com with your domain: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.website.com$ [NC] RewriteRule ^(.*)$ https://website.com/$1 [R=301,L] RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
wordpress
{ "language": "en", "length": 304, "provenance": "stackexchange_00019.jsonl.gz:499824", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354179" }
[ 0.01016998291015625, -0.01360321044921875, -0.00742340087890625, 0.0173492431640625, -0.0038356781005859375, -0.033660888671875, 0.0390625, -0.0264892578125, 0.00445556640625, -0.0264434814453125, -0.01617431640625, 0.01274871826171875, -0.0419921875, -0.042327880859375, 0.039825439453125, -0.0169525146484375, 0.01409912109375, -0.0214080810546875, 0.0035800933837890625, -0.0121002197265625, 0.01195526123046875, 0.00783538818359375, 0.003814697265625, -0.018951416015625, 0.003513336181640625, -0.028289794921875, 0.10333251953125, -0.030426025390625, 0.01032257080078125, -0.03875732421875, 0.014404296875, -0.007320404052734375, 0.01983642578125, 0.05792236328125, -0.08172607421875, -0.03533935546875, -0.013916015625, 0.0202484130859375, -0.0274658203125, 0.041229248046875, 0.0164642333984375, -0.0215911865234375, 0.03570556640625, 0.0191802978515625, 0.0013704299926757812, -0.0258941650390625, 0.019439697265625, -0.0384521484375, 0.003753662109375, 0.00962066650390625, -0.0088653564453125, 0.044677734375, 0.0009608268737792969, -0.01715087890625, -0.0020503997802734375, 0.007068634033203125, 0.0025882720947265625, 0.017578125, 0.01241302490234375, -0.0249786376953125, -0.031280517578125, 0.031494140625, 0.01256561279296875, 0.024169921875, -0.02203369140625, -0.00998687744140625, 0.00774383544921875, -0.0003116130828857422, -0.0633544921875, -0.0258941650390625, 0.059417724609375, -0.0209197998046875, -0.00954437255859375, -0.038726806640625, -0.0238037109375, 0.00887298583984375, 0.0224761962890625, -0.0124359130859375, -0.006145477294921875, -0.030548095703125, 0.008056640625, -0.00913238525390625, -0.0247650146484375, -0.0303802490234375, 0.028289794921875, 0.016754150390625, 0.0023193359375, -0.0199127197265625, -0.0244903564453125, -0.022216796875, -0.0267333984375, 0.004520416259765625, -0.0191802978515625, -0.01366424560546875, -0.0249481201171875, -0.0189208984375, 0.04144287109375, 0.0303802490234375, 0.0247344970703125, -0.019775390625, 0.038330078125, -0.07244873046875, 0.030303955078125, -0.01568603515625, 0.0113677978515625, 0.0621337890625, 0.02130126953125, 0.04833984375, 0.0352783203125, 0.0008578300476074219, 0.0195159912109375, 0.007160186767578125, -0.04241943359375, -0.046539306640625, -0.0279998779296875, 0.049041748046875, -0.043212890625, -0.0304412841796875, 0.0069427490234375, -0.005420684814453125, 0.003925323486328125, 0.0416259765625, -0.007450103759765625, 0.0240478515625, -0.045928955078125, -0.01161956787109375, 0.01456451416015625, -0.06964111328125, -0.00696563720703125, 0.0147705078125, -0.049041748046875, -0.0038814544677734375, 0.07867431640625, 0.038726806640625, 0.0209503173828125, -0.025054931640625, 0.07818603515625, -0.0172576904296875, -0.006439208984375, 0.017120361328125, -0.0005292892456054688, -0.027252197265625, -0.03729248046875, 0.0078582763671875, 0.042022705078125, 0.03143310546875, 0.0275115966796875, 0.020538330078125, -0.01367950439453125, -0.056549072265625, 0.051513671875, -0.04876708984375, 0.0268096923828125, 0.02752685546875, 0.01261138916015625, -0.0157470703125, 0.038787841796875, -0.04156494140625, -0.0094757080078125, -0.04364013671875, -0.0177154541015625, -0.009185791015625, 0.031982421875, -0.030487060546875, -0.0288238525390625, 0.01082611083984375, -0.032928466796875, -0.00965118408203125, 0.031494140625, 0.024749755859375, 0.024749755859375, -0.032501220703125, -0.0105743408203125, 0.0131683349609375, 0.005664825439453125, 0.0211181640625, 0.020904541015625, -0.00397491455078125, 0.0033321380615234375, 0.07568359375, 0.038116455078125, -0.016510009765625, 0.004467010498046875, 0.023345947265625, -0.034820556640625, 0.03973388671875, 0.0048980712890625, 0.0523681640625, 0.00812530517578125, 0.006954193115234375, 0.0078582763671875, 0.001983642578125, -0.019378662109375, 0.033905029296875, -0.0227508544921875, -0.053375244140625, 0.0006542205810546875, -0.016204833984375, -0.0268402099609375, 0.01031494140625, -0.0220489501953125, -0.01088714599609375, 0.0034999847412109375, 0.01727294921875, 0.019683837890625, -0.01230621337890625, 0.0016384124755859375, -0.00243377685546875, 0.0258026123046875, 0.00103759765625, -0.00162506103515625, -0.007843017578125, -0.007476806640625, -0.03778076171875, -0.050323486328125, 0.0233917236328125, -0.012237548828125, 0.018585205078125, -0.0008072853088378906, 0.043670654296875, 0.0224151611328125, -0.03900146484375, 0.0052947998046875, -0.017669677734375, 0.0287933349609375, -0.006801605224609375, -0.017120361328125, -0.0127105712890625, 0.0020427703857421875, 0.01490020751953125, -0.063232421875, 0.03619384765625, 0.037200927734375, 0.013153076171875, -0.03912353515625, 0.01041412353515625, -0.0166473388671875, -0.006069183349609375, -0.01282501220703125, 0.0384521484375, 0.040374755859375, 0.007343292236328125, -0.0287933349609375, -0.046478271484375, 0.040771484375, -0.04644775390625, 0.009307861328125, -0.038360595703125, -0.006771087646484375, 0.002254486083984375, 0.040130615234375, -0.00946044921875, 0.0076751708984375, -0.040130615234375, 0.005828857421875, 0.03009033203125, -0.0321044921875, -0.01061248779296875, -0.02001953125, -0.00531005859375, 0.020263671875, -0.016082763671875, -0.03118896484375, -0.005481719970703125, -0.0018701553344726562, -0.0192108154296875, -0.0158843994140625, -0.0196685791015625, -0.023956298828125, -0.0159759521484375, 0.02789306640625, -0.0200347900390625, 0.0005745887756347656, 0.061798095703125, 0.046478271484375, -0.0191802978515625, -0.058074951171875, 0.00820159912109375, 0.02044677734375, 0.046173095703125, 0.0117034912109375, 0.0296783447265625, -0.003513336181640625, -0.00933837890625, 0.0008273124694824219, -0.025421142578125, 0.00481414794921875, 0.04217529296875, 0.01299285888671875, 0.01763916015625, 0.047332763671875, -0.004730224609375, -0.0025539398193359375, -0.007007598876953125, 0.0178070068359375, -0.02410888671875, 0.00977325439453125, -0.074951171875, 0.046417236328125, -0.054473876953125, 0.05694580078125, 0.049591064453125, -0.0162506103515625, 0.0026226043701171875, 0.001758575439453125, 0.0022983551025390625, 0.0149078369140625, -0.02801513671875, -0.0273895263671875, 0.02252197265625, -0.0860595703125, -0.031097412109375, 0.01494598388671875, -0.038848876953125, 0.048431396484375, -0.0211029052734375, 0.00391387939453125, -0.01122283935546875, -0.08154296875, -0.0531005859375, -0.075439453125, -0.0289154052734375, 0.0009899139404296875, 0.01409912109375, -0.00958251953125, 0.011993408203125, 0.02496337890625, 0.0227203369140625, 0.03460693359375, -0.03253173828125, -0.04443359375, -0.051055908203125, -0.1005859375, -0.0161285400390625, 0.004299163818359375, 0.0279541015625, 0.0014562606811523438, 0.0112152099609375, -0.0073699951171875, -0.0289459228515625, 0.00450897216796875, 0.060791015625, -0.0135498046875, -0.036773681640625, -0.0443115234375, -0.0214080810546875, -0.01488494873046875, 0.00003403425216674805, 0.05645751953125, -0.0187530517578125, 0.0311279296875, 0.004817962646484375, 0.0033721923828125, -0.0333251953125, 0.0033740997314453125, -0.04266357421875, -0.00637054443359375, -0.064697265625, -0.03656005859375, -0.09136962890625, 0.0031833648681640625, -0.01042938232421875, -0.0211944580078125, 0.01251220703125, 0.019805908203125, -0.0178680419921875, -0.01165008544921875, 0.0007715225219726562, 0.0018739700317382812, -0.0031375885009765625, 0.019378662109375, -0.017059326171875, 0.0418701171875, -0.0069732666015625, -0.000682830810546875, -0.036865234375, 0.038604736328125, 0.000701904296875, -0.0250396728515625, -0.0016870498657226562, 0.0019359588623046875, -0.0172271728515625, 0.01287841796875, -0.0732421875, -0.0390625, 0.042388916015625, -0.0335693359375, 0.00997161865234375, -0.0276031494140625, -0.0228424072265625, -0.0260162353515625, 0.08660888671875, -0.02020263671875, -0.033447265625, 0.006626129150390625, 0.0399169921875, -0.033843994140625, -0.0223388671875, 0.0093841552734375, -0.00804901123046875, -0.11846923828125, 0.0025634765625, -0.0165863037109375, -0.0416259765625, 0.0280303955078125, -0.051116943359375, -0.041046142578125, -0.06964111328125, 0.0164337158203125, 0.006465911865234375, 0.025146484375, 0.01348114013671875, 0.0024967193603515625, 0.0022182464599609375, -0.0174407958984375, -0.03277587890625, -0.0518798828125, -0.0236968994140625, 0.046783447265625, 0.0290985107421875, -0.019683837890625, 0.01480865478515625, 0.008941650390625, 0.07415771484375, 0.00798797607421875, 0.0027790069580078125, -0.00037384033203125, -0.0355224609375, 0.040252685546875, 0.04193115234375, -0.00885772705078125, 0.0196990966796875, -0.0122222900390625, -0.01042938232421875, -0.02984619140625, 0.019287109375, -0.0054168701171875, 0.0001404285430908203, 0.0396728515625, -0.0438232421875, -0.040557861328125, -0.01453399658203125, -0.039337158203125, 0.0156097412109375, -0.00652313232421875, -0.023468017578125, -0.031951904296875, -0.042938232421875, 0.07696533203125, -0.0022907257080078125, -0.0228118896484375, -0.0008959770202636719, 0.0635986328125, 0.0015783309936523438, -0.0377197265625, -0.0116119384765625, 0.00496673583984375, 0.020904541015625, -0.0122833251953125, 0.0220794677734375, -0.005870819091796875, -0.005718231201171875, 0.054412841796875, -0.0100860595703125, 0.0052337646484375, 0.023040771484375, 0.007236480712890625, 0.00363922119140625, -0.013214111328125, -0.00789642333984375, 0.009185791015625, -0.0322265625, 0.040557861328125, 0.03387451171875, -0.02630615234375, 0.0158233642578125, 0.0009737014770507812, 0.0230560302734375, -0.034088134765625, -0.009979248046875, -0.032684326171875, 0.005405426025390625, -0.02606201171875, 0.06268310546875, 0.00934600830078125, 0.00870513916015625, 0.04693603515625, 0.056182861328125, 0.0033111572265625, -0.042938232421875, -0.0007457733154296875, -0.021209716796875, 0.037994384765625, -0.053375244140625, -0.004268646240234375, -0.019500732421875, -0.01406097412109375, 0.1290283203125, 0.0318603515625, -0.043121337890625, 0.037139892578125, -0.039947509765625, -0.050689697265625, 0.0097503662109375, -0.0175018310546875, 0.020416259765625, -0.01031494140625, -0.0108489990234375, 0.0028705596923828125, -0.019775390625, -0.0465087890625, -0.03826904296875, 0.041839599609375, 0.0018091201782226562, 0.0074615478515625, 0.0201263427734375, 0.06964111328125, 0.0168609619140625, 0.04608154296875, -0.006801605224609375, 0.00769805908203125, 0.026336669921875, -0.0168914794921875, 0.0195159912109375, 0.032806396484375, 0.0148773193359375, -0.041290283203125, 0.03033447265625, -0.02606201171875, -0.031982421875, 0.01168060302734375, 0.037750244140625, 0.031890869140625, 0.01367950439453125, 0.001953125, 0.006748199462890625, -0.0171966552734375, 0.004962921142578125, -0.00792694091796875, -0.03387451171875, -0.020751953125, -0.0013933181762695312, 0.023193359375, 0.006206512451171875, -0.0171661376953125, 0.007320404052734375, -0.016693115234375, 0.015045166015625, 0.0187530517578125, -0.0213623046875, -0.00033020973205566406, -0.0035247802734375, -0.0027751922607421875, -0.0230712890625, -0.00897216796875, 0.0022487640380859375, 0.01300811767578125, -0.037567138671875, -0.004817962646484375, 0.0306243896484375, -0.0201416015625, 0.02825927734375, -0.00533294677734375, -0.0220794677734375, 0.058990478515625, 0.005146026611328125, 0.03436279296875, 0.011993408203125, -0.025604248046875, -0.00891876220703125, -0.01415252685546875, 0.0018682479858398438, 0.0582275390625, -0.0005164146423339844, -0.011871337890625, -0.03594970703125, 0.0489501953125, 0.01338958740234375, -0.003612518310546875, -0.069091796875, -0.039337158203125, 0.0125274658203125, 0.0513916015625, 0.017242431640625, -0.013214111328125, 0.0460205078125, 0.0167999267578125, 0.0287933349609375, 0.0073394775390625, 0.0195465087890625, -0.00870513916015625, -0.0217437744140625, 0.0302886962890625, -0.0369873046875, -0.027557373046875, -0.048065185546875, -0.00872039794921875, -0.000522613525390625, 0.0474853515625, -0.0107879638671875, 0.0151519775390625, 0.004062652587890625, 0.00568389892578125, -0.01004791259765625, -0.0124359130859375, 0.0004603862762451172, 0.03509521484375, -0.00963592529296875, 0.02105712890625, 0.037841796875, -0.031585693359375, -0.0361328125, -0.0161285400390625, 0.0231170654296875, 0.00605010986328125, 0.01288604736328125, -0.04364013671875, 0.03173828125, 0.11541748046875, 0.0258636474609375, 0.09429931640625, 0.0262603759765625, 0.0260009765625, 0.08551025390625, -0.007755279541015625, -0.039398193359375, 0.004322052001953125, 0.0160980224609375, 0.00829315185546875, 0.0120086669921875, 0.0258941650390625, -0.00403594970703125, 0.01517486572265625, 0.0933837890625, 0.089111328125, -0.10955810546875, -0.003696441650390625, 0.033294677734375, -0.039764404296875, -0.0217132568359375, -0.00001239776611328125, 0.0026836395263671875, 0.0174560546875, 0.0008087158203125, 0.01268768310546875, -0.0258636474609375, -0.00250244140625, 0.041656494140625, -0.00879669189453125, 0.0006666183471679688, 0.0269012451171875, 0.0022296905517578125, -0.044921875, -0.0180816650390625, 0.0180511474609375, -0.019195556640625, -0.004375457763671875, 0.022857666015625, -0.0057830810546875, -0.030731201171875, -0.046905517578125, 0.00655364990234375, 0.00911712646484375, -0.031524658203125, 0.0296630859375, -0.005451202392578125, -0.01459503173828125, 0.08392333984375, -0.03350830078125, 0.0289154052734375, 0.058837890625, -0.06787109375, 0.0413818359375, -0.01293182373046875, -0.028289794921875, -0.0240478515625, -0.02880859375, -0.018463134765625, -0.0277099609375, -0.005970001220703125, 0.0009026527404785156, 0.0087127685546875, 0.058929443359375, -0.01395416259765625, -0.0215606689453125, 0.032867431640625, 0.030548095703125, -0.011932373046875, -0.0196685791015625, 0.02667236328125, -0.027313232421875, 0.0005526542663574219, -0.00799560546875, 0.0004703998565673828, -0.0193328857421875, -0.0594482421875, -0.01531219482421875, 0.07940673828125, -0.0005364418029785156, -0.007537841796875, 0.03466796875, 0.043212890625, -0.0299224853515625, 0.0277099609375, -0.006256103515625, 0.035888671875, 0.02252197265625, 0.0017309188842773438, -0.004375457763671875, 0.0066986083984375, 0.0049896240234375, 0.036956787109375, 0.058837890625, 0.0158233642578125, -0.0780029296875, 0.0218963623046875, 0.08935546875, 0.03326416015625, 0.02215576171875, 0.06610107421875, -0.00925445556640625, -0.00994873046875, 0.01128387451171875, -0.039703369140625, 0.01220703125, -0.02215576171875, -0.0169219970703125, -0.00701141357421875, 0.001209259033203125, -0.023681640625, 0.01043701171875, -0.0024547576904296875, -0.05078125, 0.024658203125, 0.02325439453125, 0.0273284912109375, 0.0255584716796875, -0.0245208740234375, -0.0179595947265625, -0.0199127197265625, 0.0322265625, -0.0284576416015625, 0.029144287109375, -0.0203857421875, -0.005985260009765625, -0.00469970703125, 0.00403594970703125, 0.0109100341796875, 0.0003521442413330078, -0.0090179443359375, 0.01045989990234375, 0.006366729736328125, 0.0462646484375, 0.04150390625, 0.03424072265625, 0.0057373046875, 0.0357666015625, 0.021697998046875, 0.044281005859375, -0.0396728515625, -0.056427001953125, -0.01169586181640625, -0.0123748779296875, 0.035736083984375, -0.01120758056640625, 0.0303192138671875, -0.0279998779296875, -0.027008056640625, 0.0034618377685546875, 0.0198974609375, 0.002826690673828125, -0.004817962646484375, 0.006183624267578125, 0.031219482421875, -0.039276123046875, 0.05682373046875, -0.04046630859375, -0.0197296142578125, 0.0218658447265625, 0.06671142578125, 0.0458984375, 0.06298828125, 0.00243377685546875, -0.04522705078125, 0.0155792236328125, 0.0204620361328125, 0.0031414031982421875, -0.022613525390625, -0.0264434814453125, -0.050689697265625, 0.026885986328125, 0.0465087890625, 0.037933349609375, -0.007541656494140625, 0.03155517578125, 0.054229736328125, 0.0155181884765625, -0.00261688232421875, 0.0665283203125, 0.0016803741455078125, 0.043792724609375, -0.036895751953125, 0.03875732421875, 0.00753021240234375, -0.00815582275390625, -0.009246826171875, 0.004627227783203125, 0.036163330078125, -0.0036907196044921875, 0.06378173828125, -0.004428863525390625, -0.0184326171875, 0.00714874267578125, -0.032684326171875, 0.042205810546875, 0.01519012451171875, -0.029754638671875, -0.0027942657470703125, -0.0029277801513671875, -0.0162811279296875, 0.0093231201171875, 0.0296173095703125, 0.0299224853515625, -0.002410888671875, 0.0170440673828125, -0.03570556640625, 0.020660400390625, 0.047607421875, -0.0234375, -0.00244903564453125, 0.037353515625, -0.0323486328125, -0.042694091796875, -0.029937744140625, -0.006702423095703125, 0.043365478515625, -0.0245819091796875, 0.0972900390625, -0.034027099609375, 0.00342559814453125, -0.033538818359375, -0.028900146484375, 0.01959228515625, -0.017120361328125, -0.0057373046875, 0.035369873046875, 0.006561279296875, -0.018035888671875, -0.0555419921875, 0.0195465087890625, 0.00016891956329345703, -0.0237274169921875, 0.0162506103515625, -0.007450103759765625, 0.007293701171875, -0.005077362060546875, -0.0089569091796875, -0.0467529296875, -0.07293701171875, -0.052764892578125, 0.02752685546875, -0.007648468017578125, 0.0038928985595703125, -0.0213165283203125, 0.04315185546875, -0.0131378173828125, -0.006305694580078125, -0.0008916854858398438, -0.0281524658203125, -0.029144287109375, 0.0133514404296875, 0.006587982177734375, -0.024383544921875, 0.01129913330078125, -0.01197052001953125, 0.01064300537109375, -0.0081634521484375, 0.0300445556640625, -0.010772705078125, -0.01366424560546875, -0.043121337890625, 0.01461029052734375, 0.0015554428100585938, 0.01422119140625, 0.0015430450439453125, 0.0016355514526367188, -0.043670654296875, -0.0287628173828125, -0.039764404296875, -0.0188751220703125, -0.0129852294921875, -0.0053558349609375, 0.0217742919921875, 0.01776123046875, -0.03387451171875, -0.01800537109375, 0.0085296630859375, 0.0297393798828125, -0.0305938720703125, 0.005405426025390625, -0.01512908935546875, -0.051361083984375, 0.057586669921875, -0.0343017578125, 0.02099609375, 0.00394439697265625, 0.0228729248046875, -0.0291290283203125, -0.01328277587890625, -0.0255279541015625, 0.018402099609375, -0.0313720703125, 0.0225982666015625, 0.054412841796875, -0.0177001953125, -0.04254150390625, -0.006622314453125, -0.018341064453125, 0.04193115234375, -0.031097412109375, -0.004199981689453125, 0.0185699462890625, 0.0036830902099609375, -0.052764892578125, -0.042205810546875, 0.01258087158203125, -0.0302276611328125, -0.03594970703125, 0.006557464599609375, -0.00994110107421875, -0.0140838623046875, -0.04986572265625, -0.06304931640625, 0.040283203125, 0.005359649658203125, -0.030975341796875, -0.061767578125, 0.01438140869140625, -0.016357421875, 0.00824737548828125, -0.010162353515625, -0.01885986328125, -0.0035877227783203125, 0.04010009765625, 0.02496337890625, 0.044097900390625, -0.032012939453125, 0.0687255859375, 0.022796630859375, 0.06915283203125, 0.049041748046875, -0.021759033203125, 0.01093292236328125, -0.0069732666015625, 0.02581787109375, 0.06256103515625, 0.006153106689453125, 0.0016794204711914062, -0.003173828125, -0.052581787109375, 0.004390716552734375, -0.0207061767578125, -0.026123046875, -0.05242919921875, 0.003536224365234375, -0.01055908203125, -0.002765655517578125, 0.0236968994140625, -0.0743408203125, -0.0219879150390625, 0.00249481201171875, -0.0171661376953125, 0.017913818359375, -0.058319091796875, 0.018707275390625, -0.0113677978515625, -0.0201873779296875, 0.001407623291015625, -0.0221099853515625, -0.048309326171875, 0.0095977783203125, -0.019927978515625, -0.0179443359375, 0.01190185546875, 0.005603790283203125, 0.07574462890625, -0.042938232421875, -0.00055694580078125, 0.0017766952514648438, 0.026611328125, 0.0224761962890625, -0.048370361328125, 0.023956298828125, 0.019561767578125, 0.0054779052734375, 0.00022149085998535156, 0.031768798828125, -0.0241851806640625, 0.0006542205810546875, -0.02227783203125, -0.04266357421875, 0.029937744140625, 0.018341064453125, 0.01776123046875, -0.003459930419921875, 0.01244354248046875, 0.02984619140625, 0.045013427734375, -0.021026611328125, -0.0665283203125, -0.0280609130859375, 0.041534423828125, -0.0115509033203125, 0.0016222000122070312, 0.042694091796875, -0.032745361328125, 0.01201629638671875, 0.0394287109375, 0.0206298828125, 0.00838470458984375, -0.0041656494140625, -0.037506103515625, 0.00969696044921875, -0.0076141357421875 ]
b661243047427340156757eda0465dc7eb65348d
Wordpress Stackexchange Q: How to get random posts and order them by date I need to get some random posts and order them by date. To get random posts I used the following: $query = new WP_Query( [ 'post__in' => $post_id_array, 'posts_per_page' => $number, 'orderby' => 'rand' ] ); To order by date I tried this: 'orderby' => ['rand' => 'ASC', 'date' => 'DESC'] But it does not work correctly. How can I do this? A: Unfortunately, that will never work. 'rand' is a random order, so you always end up with a randomized order, no matter what you put for the date. In order to do something like what you're describing, you have to use 'orderby'=>'rand'. Then you can sort the result by date. $query = new WP_Query( [ 'post__in' => $post_id_array, 'posts_per_page' => $number, 'orderby' => 'rand' ] ); // Sort the resulting posts array by date usort( $query->posts, function( $a, $b ) { $t1 = strtotime( $a->post_date ); $t2 = strtotime( $b->post_date ); return $t1 - $t2; }); // $query->posts is now sorted and in order by date.
Q: How to get random posts and order them by date I need to get some random posts and order them by date. To get random posts I used the following: $query = new WP_Query( [ 'post__in' => $post_id_array, 'posts_per_page' => $number, 'orderby' => 'rand' ] ); To order by date I tried this: 'orderby' => ['rand' => 'ASC', 'date' => 'DESC'] But it does not work correctly. How can I do this? A: Unfortunately, that will never work. 'rand' is a random order, so you always end up with a randomized order, no matter what you put for the date. In order to do something like what you're describing, you have to use 'orderby'=>'rand'. Then you can sort the result by date. $query = new WP_Query( [ 'post__in' => $post_id_array, 'posts_per_page' => $number, 'orderby' => 'rand' ] ); // Sort the resulting posts array by date usort( $query->posts, function( $a, $b ) { $t1 = strtotime( $a->post_date ); $t2 = strtotime( $b->post_date ); return $t1 - $t2; }); // $query->posts is now sorted and in order by date. A: First sort your posts randomly. Then, in outer query, sort the posts from subquery by date. I would do it with the help of filters posts_request and posts_orderby. The query will be modified only after setting the 'ord_rand_then_date' => true parameter. add_filter('posts_request', 'se354396_request', 50, 2); add_filter('posts_orderby', 'se354396_orderby', 50, 2); function se354396_request( $sql_request, $wp_query ) { if ( ! $wp_query->get('ord_rand_then_date', false) ) return $sql_request; $sql_request = 'SELECT sub.* FROM (' . $sql_request . ') sub ORDER BY post_date DESC'; return $sql_request; } function se354396_orderby( $orderby, $wp_query ) { $custom_order = $wp_query->get('ord_rand_then_date', false); if ( $custom_order !== true && $custom_order != '1' ) return $orderby; return 'RAND()'; } Example: $my_posts = get_posts( [ 'ord_rand_then_date' => true, 'suppress_filters' => false, // other parameters ] );
wordpress
{ "language": "en", "length": 302, "provenance": "stackexchange_00019.jsonl.gz:499924", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354396" }
[ 0.05743408203125, 0.006771087646484375, -0.01230621337890625, 0.0214996337890625, 0.02423095703125, -0.0565185546875, 0.07220458984375, -0.037506103515625, 0.0289459228515625, 0.016143798828125, -0.01448822021484375, 0.01280975341796875, -0.04498291015625, -0.01910400390625, -0.022430419921875, -0.0120849609375, 0.045074462890625, -0.0390625, -0.004421234130859375, -0.00542449951171875, 0.0018053054809570312, 0.032196044921875, -0.002330780029296875, 0.054046630859375, 0.055023193359375, -0.004962921142578125, 0.05108642578125, -0.02960205078125, 0.06915283203125, 0.0135345458984375, 0.034332275390625, -0.08154296875, 0.015960693359375, 0.00605010986328125, 0.00821685791015625, -0.0024394989013671875, 0.032501220703125, -0.0176239013671875, 0.0003581047058105469, 0.027740478515625, 0.006862640380859375, 0.0166473388671875, 0.00946807861328125, -0.002933502197265625, -0.01434326171875, -0.036224365234375, 0.0237274169921875, -0.005229949951171875, 0.0275421142578125, 0.0199432373046875, -0.0012664794921875, 0.01409912109375, 0.00943756103515625, 0.012359619140625, -0.0230560302734375, -0.037689208984375, 0.0308990478515625, -0.0131988525390625, 0.04132080078125, -0.021209716796875, -0.05572509765625, -0.01012420654296875, 0.037139892578125, -0.0263671875, -0.01910400390625, -0.011627197265625, 0.0677490234375, 0.009674072265625, -0.04498291015625, -0.02362060546875, 0.057647705078125, 0.006744384765625, -0.005939483642578125, -0.0281829833984375, 0.0198211669921875, 0.0110626220703125, -0.03765869140625, -0.0263519287109375, 0.0152587890625, 0.0211181640625, -0.06146240234375, -0.0163116455078125, -0.05047607421875, -0.034912109375, -0.0037555694580078125, -0.021087646484375, -0.04278564453125, 0.0192718505859375, -0.030609130859375, -0.038726806640625, -0.0295562744140625, -0.020660400390625, -0.0543212890625, 0.011993408203125, 0.0032501220703125, -0.0159454345703125, 0.039520263671875, 0.0869140625, -0.0296173095703125, -0.0257415771484375, -0.0192718505859375, -0.00821685791015625, -0.045379638671875, -0.01239776611328125, 0.01074981689453125, 0.006107330322265625, 0.01544952392578125, -0.01154327392578125, 0.023956298828125, 0.029449462890625, -0.0177001953125, 0.039520263671875, -0.0004220008850097656, -0.035980224609375, -0.0199127197265625, 0.01409149169921875, -0.01145172119140625, -0.0019435882568359375, 0.0259857177734375, -0.035186767578125, 0.0117950439453125, 0.01348876953125, 0.020538330078125, -0.013763427734375, 0.01189422607421875, 0.01434326171875, -0.04095458984375, -0.02728271484375, -0.026824951171875, 0.037017822265625, -0.0027446746826171875, 0.0297698974609375, 0.03466796875, -0.0093841552734375, -0.0294952392578125, -0.0201416015625, -0.0029392242431640625, -0.03668212890625, -0.0042266845703125, -0.0112152099609375, -0.0030422210693359375, -0.012908935546875, 0.0212554931640625, -0.005786895751953125, 0.0212249755859375, 0.02105712890625, 0.00154876708984375, -0.01141357421875, 0.051666259765625, 0.006763458251953125, -0.055450439453125, 0.006317138671875, -0.00030732154846191406, 0.0264739990234375, -0.0147552490234375, 0.0286407470703125, -0.0066986083984375, 0.00243377685546875, 0.0036144256591796875, 0.0020618438720703125, 0.036102294921875, 0.016845703125, -0.0088958740234375, -0.0035552978515625, -0.0269622802734375, -0.031219482421875, -0.0279541015625, -0.00666046142578125, 0.0245361328125, 0.01549530029296875, 0.0153656005859375, -0.01947021484375, 0.047332763671875, 0.007114410400390625, -0.037017822265625, 0.019012451171875, 0.033538818359375, -0.044677734375, 0.013092041015625, 0.02972412109375, -0.0179290771484375, -0.01438140869140625, -0.00016891956329345703, -0.0007371902465820312, -0.0062713623046875, -0.006664276123046875, 0.0303802490234375, 0.03704833984375, -0.006134033203125, 0.04364013671875, -0.01094818115234375, 0.03466796875, -0.049530029296875, 0.053009033203125, 0.004505157470703125, -0.01763916015625, -0.046875, -0.0006437301635742188, -0.0101318359375, -0.040802001953125, 0.00310516357421875, 0.0069732666015625, -0.01806640625, 0.020721435546875, -0.04583740234375, -0.0004208087921142578, -0.0200958251953125, 0.025604248046875, -0.0270233154296875, 0.038604736328125, 0.036895751953125, 0.0232391357421875, -0.06689453125, 0.032257080078125, 0.005184173583984375, 0.005756378173828125, 0.027618408203125, 0.0096435546875, -0.01275634765625, -0.0045623779296875, -0.0292816162109375, -0.016815185546875, -0.037841796875, 0.042449951171875, 0.08477783203125, -0.0221405029296875, -0.00829315185546875, -0.039703369140625, 0.05377197265625, 0.010009765625, -0.042999267578125, 0.024444580078125, -0.01355743408203125, 0.044342041015625, -0.040496826171875, -0.024627685546875, -0.00273895263671875, 0.0039825439453125, 0.03497314453125, 0.0262298583984375, 0.023406982421875, 0.0295867919921875, 0.028228759765625, 0.031646728515625, 0.059295654296875, -0.00157928466796875, 0.02764892578125, -0.0091705322265625, 0.018310546875, 0.05682373046875, 0.035125732421875, 0.023834228515625, 0.0090484619140625, 0.047332763671875, 0.0092315673828125, 0.03607177734375, 0.01525115966796875, 0.046905517578125, -0.009552001953125, 0.002735137939453125, -0.0296478271484375, -0.0053863525390625, 0.01486968994140625, -0.0137939453125, -0.004425048828125, -0.0270233154296875, 0.00394439697265625, -0.0016727447509765625, 0.01267242431640625, -0.018524169921875, -0.003932952880859375, -0.0654296875, 0.015655517578125, -0.0011234283447265625, -0.037322998046875, 0.01375579833984375, -0.01383209228515625, 0.0103607177734375, 0.0245513916015625, -0.01239776611328125, -0.0154266357421875, 0.058868408203125, 0.0218505859375, -0.01464080810546875, -0.030548095703125, -0.0467529296875, 0.010009765625, -0.007007598876953125, -0.005023956298828125, 0.026580810546875, 0.0245819091796875, 0.060821533203125, -0.00946044921875, 0.047210693359375, 0.00141143798828125, 0.023773193359375, -0.037109375, -0.0299835205078125, 0.03497314453125, -0.03448486328125, -0.0088348388671875, 0.058013916015625, 0.005565643310546875, 0.006603240966796875, -0.019561767578125, 0.06268310546875, 0.0283050537109375, -0.0197601318359375, -0.0288848876953125, -0.01009368896484375, -0.046966552734375, -0.019500732421875, 0.043792724609375, 0.034423828125, 0.0352783203125, -0.0036296844482421875, 0.0007586479187011719, 0.0460205078125, -0.09423828125, -0.138671875, 0.0423583984375, -0.0228118896484375, -0.01055145263671875, -0.0223541259765625, -0.0153961181640625, -0.0083770751953125, -0.027984619140625, -0.01342010498046875, 0.0086822509765625, 0.0082550048828125, -0.0474853515625, -0.016632080078125, -0.03399658203125, -0.00991058349609375, 0.002117156982421875, 0.00040149688720703125, 0.0018072128295898438, 0.085205078125, 0.0196075439453125, -0.09869384765625, -0.0200347900390625, 0.0706787109375, -0.04443359375, 0.0040740966796875, -0.0024318695068359375, 0.0286865234375, 0.00870513916015625, 0.0077667236328125, 0.0592041015625, 0.041229248046875, -0.06048583984375, 0.00560760498046875, -0.015350341796875, 0.0185699462890625, 0.00868988037109375, -0.029052734375, 0.0138397216796875, 0.02783203125, -0.0211181640625, -0.0244140625, 0.0187530517578125, -0.0286407470703125, -0.035186767578125, -0.01288604736328125, 0.01258087158203125, 0.005588531494140625, -0.0234375, -0.0103912353515625, -0.035247802734375, -0.019378662109375, 0.001964569091796875, -0.03692626953125, 0.0227203369140625, -0.003551483154296875, -0.0175628662109375, 0.0159912109375, -0.01971435546875, -0.034942626953125, 0.0221405029296875, -0.0235748291015625, -0.035308837890625, -0.04241943359375, 0.018280029296875, -0.0450439453125, -0.036376953125, 0.041778564453125, -0.0021228790283203125, -0.0184326171875, -0.00882720947265625, -0.019805908203125, 0.0235443115234375, 0.058441162109375, -0.01165008544921875, -0.01360321044921875, -0.039306640625, -0.01325225830078125, -0.027313232421875, -0.046661376953125, -0.014373779296875, 0.0158843994140625, -0.04302978515625, 0.00644683837890625, -0.0007023811340332031, -0.01287841796875, -0.0300140380859375, 0.008270263671875, -0.0377197265625, -0.0238189697265625, 0.0095367431640625, 0.01224517822265625, -0.005954742431640625, 0.016998291015625, -0.01397705078125, 0.018463134765625, -0.001255035400390625, -0.0105133056640625, -0.058380126953125, -0.03143310546875, 0.0379638671875, 0.03662109375, -0.0080413818359375, -0.043121337890625, -0.00838470458984375, 0.0372314453125, -0.0103302001953125, -0.0474853515625, 0.04266357421875, 0.0263824462890625, -0.01361083984375, 0.0054168701171875, 0.0079345703125, -0.040069580078125, -0.00395965576171875, 0.001384735107421875, 0.00811004638671875, 0.031646728515625, -0.032135009765625, 0.006366729736328125, -0.01456451416015625, -0.01190185546875, 0.0023822784423828125, -0.031707763671875, -0.0057373046875, 0.0298309326171875, -0.034881591796875, 0.01287078857421875, -0.036468505859375, -0.01812744140625, 0.022491455078125, 0.01922607421875, -0.011444091796875, -0.0220794677734375, 0.06982421875, 0.0225982666015625, -0.023712158203125, 0.0145263671875, -0.01084136962890625, 0.01105499267578125, 0.046722412109375, 0.043731689453125, 0.013671875, -0.004486083984375, 0.0192413330078125, 0.007160186767578125, -0.00435638427734375, -0.03961181640625, 0.046966552734375, -0.0216064453125, -0.01519775390625, 0.0147552490234375, -0.04937744140625, 0.061370849609375, 0.0460205078125, -0.00258636474609375, -0.0191802978515625, -0.004177093505859375, 0.059173583984375, 0.002986907958984375, -0.0244293212890625, -0.049163818359375, -0.031463623046875, 0.019134521484375, -0.021240234375, -0.018280029296875, -0.0004515647888183594, -0.0005364418029785156, -0.015594482421875, 0.0105438232421875, -0.0023555755615234375, 0.02545166015625, 0.0091552734375, 0.00025844573974609375, 0.0296478271484375, 0.016510009765625, -0.0088653564453125, 0.0185089111328125, 0.0005793571472167969, 0.034210205078125, 0.019622802734375, -0.035614013671875, -0.006946563720703125, -0.0005626678466796875, 0.01013946533203125, -0.023468017578125, -0.0214996337890625, 0.0145263671875, 0.0149688720703125, -0.004055023193359375, 0.037872314453125, -0.00951385498046875, -0.0011539459228515625, -0.01436614990234375, 0.0653076171875, 0.0293121337890625, -0.011932373046875, 0.008880615234375, 0.0372314453125, 0.0159454345703125, 0.007080078125, -0.021514892578125, 0.051910400390625, 0.05291748046875, 0.0236358642578125, 0.0124053955078125, -0.008056640625, -0.013580322265625, 0.01557159423828125, -0.0303955078125, -0.017669677734375, -0.0008292198181152344, 0.014129638671875, 0.003696441650390625, -0.032867431640625, -0.0200653076171875, 0.031402587890625, 0.01425933837890625, -0.033203125, -0.01165008544921875, 0.0308837890625, 0.050445556640625, -0.032379150390625, -0.09100341796875, -0.02301025390625, 0.06707763671875, 0.0282745361328125, 0.0157470703125, -0.0164794921875, 0.031646728515625, -0.0247650146484375, 0.045928955078125, -0.0714111328125, -0.058563232421875, 0.0034236907958984375, -0.047607421875, -0.02606201171875, 0.08331298828125, 0.0224151611328125, -0.021331787109375, -0.037567138671875, 0.037750244140625, -0.01381683349609375, 0.044891357421875, -0.043121337890625, -0.00576019287109375, -0.034820556640625, 0.013427734375, 0.039398193359375, 0.016845703125, -0.01580810546875, -0.0172119140625, -0.02593994140625, -0.039642333984375, -0.00501251220703125, -0.020172119140625, -0.036834716796875, -0.000644683837890625, 0.0009512901306152344, 0.038330078125, 0.0014781951904296875, -0.01531219482421875, 0.0220947265625, -0.0288848876953125, -0.037322998046875, 0.00213623046875, -0.002727508544921875, 0.08001708984375, -0.0009565353393554688, 0.0673828125, 0.031585693359375, 0.04498291015625, -0.041015625, -0.0255279541015625, 0.0179595947265625, -0.0215301513671875, -0.03094482421875, -0.0134124755859375, -0.0263519287109375, -0.0296630859375, 0.02130126953125, -0.0139007568359375, 0.01311492919921875, -0.0222930908203125, -0.0018825531005859375, -0.0125579833984375, -0.0176544189453125, -0.0227508544921875, 0.00004082918167114258, 0.01432037353515625, -0.0214691162109375, -0.002872467041015625, -0.005649566650390625, 0.040924072265625, -0.0193634033203125, -0.01088714599609375, -0.0145721435546875, -0.01485443115234375, -0.03057861328125, 0.042938232421875, 0.08282470703125, 0.051788330078125, 0.06591796875, -0.00797271728515625, 0.046844482421875, 0.0151214599609375, -0.00750732421875, 0.03369140625, -0.003631591796875, 0.06390380859375, -0.006694793701171875, -0.027679443359375, 0.0216217041015625, -0.042572021484375, 0.0166778564453125, 0.00888824462890625, 0.0443115234375, -0.0298309326171875, 0.001544952392578125, -0.0019083023071289062, -0.034332275390625, 0.01568603515625, 0.007110595703125, 0.0041046142578125, 0.00548553466796875, 0.0250701904296875, -0.0211639404296875, -0.01507568359375, 0.006557464599609375, -0.0064239501953125, 0.00774383544921875, -0.018768310546875, 0.029998779296875, -0.0086669921875, -0.06964111328125, 0.02508544921875, 0.028594970703125, 0.0035152435302734375, -0.0289306640625, 0.01030731201171875, -0.03375244140625, 0.00952911376953125, -0.054779052734375, -0.0003826618194580078, -0.0199432373046875, 0.00656890869140625, -0.014129638671875, -0.0308380126953125, 0.044342041015625, 0.01995849609375, 0.00006127357482910156, -0.037841796875, -0.0113372802734375, 0.0007109642028808594, 0.0007596015930175781, -0.0199737548828125, 0.00614166259765625, -0.011749267578125, 0.0226898193359375, 0.00893402099609375, 0.01409912109375, -0.050537109375, -0.008148193359375, -0.0165252685546875, 0.05419921875, -0.018951416015625, -0.0179901123046875, 0.039398193359375, 0.0008573532104492188, -0.036376953125, 0.005413055419921875, 0.019805908203125, -0.03729248046875, 0.00782012939453125, 0.0182342529296875, 0.01543426513671875, 0.0019321441650390625, 0.01508331298828125, -0.042022705078125, 0.06475830078125, -0.0293121337890625, 0.020751953125, 0.00470733642578125, 0.02386474609375, -0.0015974044799804688, 0.0163421630859375, -0.031951904296875, 0.090087890625, -0.046173095703125, 0.046417236328125, -0.0562744140625, 0.01129913330078125, 0.0200653076171875, -0.0025997161865234375, 0.0604248046875, 0.004589080810546875, -0.0287933349609375, -0.006381988525390625, 0.07928466796875, 0.04998779296875, 0.01123809814453125, 0.02618408203125, 0.0014543533325195312, 0.0293121337890625, 0.0308074951171875, -0.018310546875, 0.02813720703125, -0.00472259521484375, -0.0115203857421875, 0.044921875, 0.007656097412109375, -0.01324462890625, -0.004665374755859375, -0.0307769775390625, -0.07269287109375, 0.021697998046875, 0.03009033203125, 0.04339599609375, 0.014007568359375, 0.045745849609375, 0.076416015625, -0.0955810546875, -0.09423828125, -0.01059722900390625, 0.048095703125, 0.029144287109375, 0.0088958740234375, 0.0147857666015625, 0.01233673095703125, -0.0014324188232421875, -0.039276123046875, -0.00852203369140625, -0.0218505859375, -0.036041259765625, 0.062744140625, 0.01552581787109375, 0.0196990966796875, -0.0677490234375, -0.0147705078125, 0.054840087890625, 0.08563232421875, -0.04840087890625, 0.029449462890625, 0.0175628662109375, -0.006561279296875, -0.0014333724975585938, -0.06414794921875, -0.013671875, -0.0220947265625, -0.031707763671875, -0.017608642578125, -0.025146484375, 0.00406646728515625, 0.01377105712890625, 0.00820159912109375, 0.0146942138671875, 0.0176239013671875, -0.030364990234375, -0.0308837890625, 0.03411865234375, 0.039306640625, 0.037628173828125, -0.032196044921875, 0.059173583984375, -0.0263519287109375, -0.00823211669921875, 0.0024929046630859375, 0.01010894775390625, 0.005001068115234375, -0.004364013671875, 0.0009012222290039062, -0.019134521484375, -0.00783538818359375, 0.01102447509765625, 0.003543853759765625, 0.0008292198181152344, 0.060791015625, 0.073974609375, -0.024383544921875, -0.0291900634765625, 0.035308837890625, -0.0065155029296875, -0.0377197265625, -0.0091552734375, -0.051727294921875, 0.00505828857421875, -0.04058837890625, 0.0255126953125, 0.005428314208984375, 0.009033203125, -0.024932861328125, 0.07220458984375, -0.0100860595703125, 0.0357666015625, 0.013763427734375, -0.0242156982421875, -0.00548553466796875, -0.01158905029296875, -0.0144500732421875, -0.00785064697265625, -0.031982421875, -0.023162841796875, 0.01910400390625, 0.03302001953125, 0.00782012939453125, 0.0225372314453125, 0.0214691162109375, -0.0413818359375, 0.0231475830078125, 0.0211639404296875, 0.0079345703125, 0.003917694091796875, 0.01047515869140625, -0.01389312744140625, -0.09912109375, -0.04644775390625, -0.0367431640625, 0.0145111083984375, -0.00702667236328125, -0.0110931396484375, 0.054656982421875, 0.0166015625, -0.0193634033203125, 0.016510009765625, -0.0295257568359375, -0.037506103515625, 0.07965087890625, -0.0251922607421875, -0.03961181640625, 0.0003390312194824219, 0.008209228515625, -0.00182342529296875, 0.04547119140625, -0.025421142578125, -0.0010662078857421875, -0.02154541015625, 0.0220489501953125, -0.0081024169921875, 0.0455322265625, -0.01336669921875, 0.0018835067749023438, -0.0079498291015625, -0.01331329345703125, 0.03369140625, 0.00791168212890625, -0.0316162109375, -0.01502227783203125, -0.01242828369140625, -0.06488037109375, 0.049224853515625, -0.033660888671875, 0.075439453125, 0.03668212890625, -0.024932861328125, 0.0218505859375, 0.00447845458984375, -0.0122833251953125, 0.01010894775390625, 0.0270843505859375, -0.0194244384765625, 0.0080108642578125, 0.0008058547973632812, -0.0009832382202148438, 0.033050537109375, 0.050811767578125, 0.00856781005859375, 0.0028972625732421875, 0.01229095458984375, -0.0125885009765625, -0.0247344970703125, 0.041351318359375, -0.01294708251953125, -0.0013074874877929688, -0.0017852783203125, -0.0005631446838378906, 0.01490020751953125, 0.026641845703125, -0.018585205078125, 0.00984954833984375, 0.00835418701171875, -0.0054931640625, -0.0198974609375, 0.0251617431640625, -0.0267791748046875, -0.019073486328125, -0.00799560546875, -0.0458984375, 0.0098419189453125, 0.0234222412109375, 0.02069091796875, -0.0306396484375, -0.0477294921875, 0.03424072265625, -0.032806396484375, 0.003437042236328125, 0.0240478515625, 0.00595855712890625, 0.006954193115234375, 0.0014486312866210938, -0.0303497314453125, 0.036346435546875, -0.072509765625, -0.00716400146484375, 0.0648193359375, -0.0013647079467773438, -0.0335693359375, -0.08673095703125, -0.01534271240234375, -0.045257568359375, 0.05645751953125, -0.00785064697265625, 0.0227203369140625, 0.050994873046875, -0.0135345458984375, -0.0782470703125, 0.0789794921875, -0.0404052734375, -0.027740478515625, -0.0299224853515625, 0.0303192138671875, 0.006381988525390625, -0.006595611572265625, 0.0002002716064453125, -0.0479736328125, -0.0122528076171875, -0.00705718994140625, 0.001949310302734375, 0.05108642578125, -0.0006628036499023438, 0.004772186279296875, -0.047637939453125, 0.001804351806640625, -0.0242919921875, 0.01708984375, -0.0243988037109375, 0.01123046875, 0.037109375, 0.047210693359375, -0.0024127960205078125, 0.032684326171875, 0.017608642578125, -0.004245758056640625, -0.0080718994140625, -0.026519775390625, -0.07318115234375, -0.00693511962890625, 0.053985595703125, 0.142578125, 0.0404052734375, -0.06854248046875, -0.01194000244140625, -0.01284027099609375, -0.0205841064453125, -0.030609130859375, 0.025726318359375, -0.08526611328125, -0.045745849609375, 0.0061492919921875, 0.0029735565185546875, -0.0027637481689453125, -0.01239013671875, -0.024444580078125, -0.0245819091796875, -0.0280914306640625, -0.0144195556640625, -0.033477783203125, 0.06719970703125, 0.005458831787109375, -0.031402587890625, -0.00476837158203125, -0.0254974365234375, -0.0262451171875, -0.01209259033203125, -0.0277862548828125, -0.0124359130859375, 0.0283966064453125, 0.0023250579833984375, -0.01361846923828125, 0.0255889892578125, -0.0160369873046875, 0.0220794677734375, 0.015289306640625, -0.04486083984375, -0.00787353515625, 0.0181427001953125, -0.01605224609375, -0.005222320556640625, -0.007518768310546875, 0.01238250732421875, 0.0272979736328125, 0.005462646484375, 0.0767822265625, 0.01348114013671875, 0.029815673828125, -0.0083465576171875, -0.005519866943359375, 0.01322174072265625, -0.0102996826171875, 0.00860595703125, 0.037109375, 0.00028443336486816406, 0.024169921875, -0.0167694091796875, -0.032501220703125, -0.01061248779296875, -0.026153564453125 ]
69ad335f63c39f161a8ff48e204c33a821b58134
Wordpress Stackexchange Q: Set image size on media and text block with a function I'm using the Media & Text block within Gutenberg. You can adjust the size of the image by dragging the small blue circle: Looking at the Media & Text settings on the right, it doesn't look possible to select the image size. When using the stand alone image block, you can adjust the image size, like so: Is it possible to set an image size using a function for this block type? I need the design to be consistent on the front-end. A: The image size dropdown was added in PR #24795 which was included in Gutenberg v9.1 and then included in WordPress 5.6.
Q: Set image size on media and text block with a function I'm using the Media & Text block within Gutenberg. You can adjust the size of the image by dragging the small blue circle: Looking at the Media & Text settings on the right, it doesn't look possible to select the image size. When using the stand alone image block, you can adjust the image size, like so: Is it possible to set an image size using a function for this block type? I need the design to be consistent on the front-end. A: The image size dropdown was added in PR #24795 which was included in Gutenberg v9.1 and then included in WordPress 5.6.
wordpress
{ "language": "en", "length": 116, "provenance": "stackexchange_00019.jsonl.gz:499941", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354440" }
[ -0.057952880859375, -0.01959228515625, -0.0204315185546875, 0.06903076171875, -0.0292510986328125, -0.0240325927734375, 0.045501708984375, -0.018524169921875, 0.0097503662109375, 0.0225830078125, -0.071533203125, 0.007904052734375, 0.0081024169921875, -0.0020656585693359375, -0.0260162353515625, -0.03985595703125, 0.053253173828125, -0.0290069580078125, 0.0161895751953125, 0.0139007568359375, -0.0037708282470703125, 0.04278564453125, -0.00229644775390625, 0.07049560546875, -0.01678466796875, -0.00969696044921875, 0.09564208984375, -0.0416259765625, -0.004451751708984375, -0.0304412841796875, 0.01528167724609375, 0.0101776123046875, 0.0180206298828125, -0.01168060302734375, 0.007701873779296875, 0.03387451171875, 0.0341796875, -0.0244903564453125, -0.0010662078857421875, 0.027008056640625, 0.0249481201171875, -0.00563812255859375, 0.017181396484375, 0.0126800537109375, -0.004856109619140625, -0.01763916015625, 0.0011196136474609375, -0.07257080078125, 0.026153564453125, 0.0010395050048828125, -0.013702392578125, 0.0006461143493652344, -0.007434844970703125, -0.0285491943359375, -0.023956298828125, -0.0498046875, -0.0323486328125, 0.0994873046875, 0.0032291412353515625, 0.00030231475830078125, -0.03436279296875, 0.06378173828125, -0.0051422119140625, -0.0133056640625, 0.053131103515625, -0.01261138916015625, 0.03173828125, 0.038238525390625, -0.0298309326171875, 0.03594970703125, 0.018035888671875, -0.0272216796875, -0.0014057159423828125, -0.0843505859375, -0.01433563232421875, 0.052032470703125, -0.033233642578125, -0.060760498046875, 0.02130126953125, -0.044891357421875, 0.0184783935546875, -0.02301025390625, 0.006992340087890625, -0.032379150390625, 0.055419921875, 0.0274505615234375, -0.0006322860717773438, -0.0137176513671875, -0.036529541015625, -0.00986480712890625, -0.0235137939453125, -0.0328369140625, -0.024200439453125, 0.0203704833984375, -0.02490234375, -0.0038318634033203125, 0.005428314208984375, -0.0191802978515625, 0.0167694091796875, 0.0262451171875, 0.011077880859375, -0.04376220703125, 0.0313720703125, -0.01629638671875, 0.021697998046875, 0.0137176513671875, -0.0504150390625, 0.017913818359375, 0.069580078125, 0.05548095703125, 0.0162200927734375, 0.0022830963134765625, -0.02667236328125, -0.00774383544921875, -0.00347137451171875, 0.0256195068359375, -0.048309326171875, 0.026885986328125, -0.00644683837890625, 0.041748046875, 0.01416778564453125, 0.046783447265625, 0.073974609375, -0.035186767578125, -0.01275634765625, 0.0035552978515625, -0.014068603515625, -0.085693359375, -0.026092529296875, 0.0007319450378417969, -0.033111572265625, 0.04541015625, 0.025177001953125, 0.01363372802734375, -0.00119781494140625, 0.0009169578552246094, 0.0006494522094726562, -0.0275726318359375, -0.01110076904296875, 0.01006317138671875, -0.01551055908203125, -0.004177093505859375, 0.03900146484375, -0.035064697265625, 0.0029354095458984375, 0.00785064697265625, 0.01517486572265625, 0.014434814453125, -0.0311737060546875, -0.08251953125, 0.05963134765625, -0.0238189697265625, 0.0284271240234375, 0.0210723876953125, 0.007511138916015625, 0.01239013671875, 0.060882568359375, -0.01317596435546875, -0.02886962890625, -0.047271728515625, 0.0467529296875, 0.0164031982421875, 0.0408935546875, 0.04095458984375, 0.0217742919921875, -0.0233917236328125, -0.0631103515625, -0.0023365020751953125, 0.022430419921875, -0.00787353515625, -0.0090484619140625, -0.006351470947265625, -0.0131072998046875, -0.01904296875, -0.01837158203125, 0.0006513595581054688, -0.01305389404296875, 0.023590087890625, -0.002170562744140625, 0.047088623046875, 0.0254364013671875, -0.0176544189453125, 0.045562744140625, -0.006015777587890625, 0.02081298828125, -0.026519775390625, 0.0024280548095703125, 0.0179901123046875, 0.0238800048828125, 0.036102294921875, -0.065673828125, -0.009735107421875, -0.07220458984375, -0.0004200935363769531, -0.01081085205078125, 0.034942626953125, -0.03448486328125, 0.004985809326171875, -0.0137481689453125, -0.0012559890747070312, 0.0638427734375, -0.0311126708984375, 0.0228729248046875, -0.027069091796875, -0.029205322265625, -0.01959228515625, -0.007904052734375, 0.0180816650390625, -0.01486968994140625, -0.0053253173828125, -0.003170013427734375, -0.07598876953125, 0.0272979736328125, -0.0014934539794921875, -0.01473236083984375, 0.00431060791015625, 0.011474609375, 0.031097412109375, 0.0008001327514648438, 0.01277923583984375, -0.0189208984375, -0.021026611328125, -0.0181732177734375, 0.03173828125, 0.054290771484375, 0.019195556640625, -0.01434326171875, -0.022613525390625, 0.037109375, 0.0256805419921875, -0.07562255859375, 0.0270233154296875, -0.0202178955078125, 0.0181427001953125, 0.0043182373046875, -0.00482940673828125, 0.0254058837890625, -0.061309814453125, 0.032684326171875, 0.0211944580078125, 0.026824951171875, -0.0288238525390625, -0.0295257568359375, -0.024505615234375, 0.0362548828125, 0.055389404296875, 0.053192138671875, -0.03924560546875, -0.006015777587890625, -0.036407470703125, -0.01248931884765625, -0.0283966064453125, 0.050689697265625, -0.0748291015625, 0.04736328125, 0.022491455078125, -0.01739501953125, -0.0181427001953125, -0.0340576171875, 0.060882568359375, -0.004566192626953125, 0.041015625, 0.023712158203125, 0.0040740966796875, 0.0284576416015625, 0.01181793212890625, 0.0303497314453125, 0.027496337890625, -0.04443359375, 0.033294677734375, 0.0275115966796875, 0.0023555755615234375, 0.004405975341796875, 0.02239990234375, 0.002918243408203125, -0.0152130126953125, -0.039520263671875, 0.0252532958984375, 0.01020050048828125, 0.00518035888671875, -0.025421142578125, -0.01345062255859375, -0.089111328125, -0.011871337890625, -0.013885498046875, -0.05377197265625, 0.00897979736328125, 0.040283203125, -0.00479888916015625, -0.01148223876953125, 0.0273590087890625, 0.0134429931640625, 0.0159759521484375, -0.00653076171875, 0.00481414794921875, -0.0167999267578125, 0.047210693359375, -0.06768798828125, 0.054046630859375, -0.054962158203125, 0.1259765625, 0.07110595703125, -0.08038330078125, 0.066650390625, -0.00821685791015625, -0.0345458984375, -0.00623321533203125, 0.0018301010131835938, -0.0209503173828125, -0.0477294921875, -0.02044677734375, -0.003742218017578125, 0.00604248046875, -0.058502197265625, -0.0006847381591796875, 0.0096282958984375, -0.040008544921875, -0.0203094482421875, -0.04058837890625, 0.020355224609375, -0.0439453125, -0.07305908203125, -0.07379150390625, 0.009063720703125, -0.05810546875, 0.038970947265625, 0.0269775390625, -0.01538848876953125, -0.035491943359375, 0.01232147216796875, -0.03021240234375, -0.0328369140625, -0.041351318359375, 0.0052490234375, -0.01534271240234375, 0.0187530517578125, -0.0165863037109375, 0.033966064453125, -0.0078277587890625, -0.0222015380859375, -0.0218963623046875, 0.020416259765625, 0.01375579833984375, -0.0294342041015625, 0.045806884765625, -0.0504150390625, -0.0198974609375, 0.018035888671875, 0.01898193359375, 0.0206451416015625, -0.03826904296875, -0.0017414093017578125, -0.028594970703125, -0.052032470703125, -0.0185546875, 0.051544189453125, 0.01458740234375, -0.061279296875, 0.013885498046875, -0.061309814453125, -0.0103607177734375, -0.0310211181640625, -0.035491943359375, 0.070068359375, 0.00823211669921875, 0.0149688720703125, 0.01580810546875, 0.0302886962890625, 0.0226898193359375, 0.0268096923828125, 0.04193115234375, -0.050323486328125, 0.0318603515625, -0.00371551513671875, 0.003475189208984375, -0.060699462890625, -0.00893402099609375, -0.0374755859375, 0.05584716796875, -0.01279449462890625, 0.0250091552734375, 0.004840850830078125, 0.0069427490234375, -0.0230255126953125, -0.0261993408203125, 0.03680419921875, -0.004665374755859375, 0.0146942138671875, -0.0205841064453125, -0.035797119140625, 0.005153656005859375, 0.058197021484375, 0.01425933837890625, -0.0256500244140625, 0.004123687744140625, 0.026397705078125, -0.05255126953125, -0.034393310546875, -0.0254669189453125, 0.00107574462890625, -0.0099945068359375, 0.0162506103515625, 0.037872314453125, -0.04449462890625, -0.0160064697265625, 0.0291900634765625, -0.042022705078125, 0.0132904052734375, 0.0189666748046875, 0.0109710693359375, -0.021514892578125, 0.043914794921875, -0.03143310546875, 0.0177459716796875, -0.01067352294921875, -0.02178955078125, -0.07623291015625, -0.01641845703125, -0.00742340087890625, 0.06585693359375, -0.01898193359375, 0.03265380859375, -0.0273284912109375, 0.056549072265625, 0.01263427734375, -0.0036449432373046875, 0.0282440185546875, 0.00914764404296875, 0.03240966796875, -0.0309600830078125, 0.00738525390625, -0.045135498046875, -0.0016527175903320312, -0.0391845703125, -0.053192138671875, 0.019989013671875, -0.01177215576171875, 0.028564453125, 0.001834869384765625, -0.00783538818359375, -0.0576171875, -0.0306243896484375, -0.0256805419921875, 0.01168060302734375, -0.013458251953125, -0.006237030029296875, -0.053466796875, -0.065673828125, 0.038177490234375, 0.049163818359375, -0.00007903575897216797, -0.004459381103515625, 0.03253173828125, 0.0053863525390625, -0.033599853515625, -0.044586181640625, -0.020904541015625, 0.0270538330078125, 0.0272674560546875, 0.038848876953125, 0.00589752197265625, 0.0014314651489257812, 0.03997802734375, 0.019256591796875, 0.0009288787841796875, -0.06097412109375, 0.063232421875, -0.0256500244140625, -0.0364990234375, 0.043365478515625, -0.04864501953125, 0.048614501953125, 0.012420654296875, -0.034210205078125, 0.0160369873046875, -0.0274505615234375, -0.0010204315185546875, -0.01294708251953125, 0.0175628662109375, -0.00832366943359375, -0.00725555419921875, -0.0006265640258789062, 0.0071868896484375, 0.04107666015625, 0.003543853759765625, 0.0013036727905273438, -0.002140045166015625, 0.03558349609375, 0.01235198974609375, 0.0090179443359375, 0.0014734268188476562, -0.0389404296875, 0.03155517578125, -0.01416015625, -0.00740814208984375, 0.01776123046875, 0.0169830322265625, -0.024017333984375, 0.006267547607421875, -0.0167694091796875, -0.049835205078125, 0.00801849365234375, 0.03118896484375, -0.0118408203125, -0.0015316009521484375, 0.04022216796875, 0.0029354095458984375, -0.019989013671875, -0.0115966796875, -0.008880615234375, -0.047607421875, -0.047454833984375, 0.0018014907836914062, -0.0031909942626953125, -0.00445556640625, 0.0455322265625, 0.025787353515625, -0.0141448974609375, 0.03271484375, -0.002582550048828125, 0.0044403076171875, 0.004215240478515625, 0.0033702850341796875, 0.023834228515625, 0.0284271240234375, 0.00420379638671875, -0.0198822021484375, 0.0170440673828125, 0.00380706787109375, -0.00463104248046875, 0.0164947509765625, 0.0075531005859375, -0.030792236328125, 0.006053924560546875, 0.004673004150390625, -0.0108795166015625, 0.007354736328125, 0.04364013671875, -0.01557159423828125, -0.04986572265625, -0.022979736328125, 0.018829345703125, 0.0594482421875, -0.037109375, -0.012298583984375, -0.035491943359375, -0.019378662109375, 0.00928497314453125, -0.00688934326171875, -0.0248565673828125, 0.0269317626953125, 0.00438690185546875, -0.03076171875, 0.00997161865234375, -0.0269317626953125, -0.01097869873046875, -0.05535888671875, 0.00691986083984375, -0.01502227783203125, 0.0743408203125, -0.04693603515625, -0.0191497802734375, -0.01812744140625, 0.037994384765625, -0.050262451171875, 0.0258026123046875, 0.0390625, 0.0304107666015625, 0.011474609375, -0.053466796875, -0.021759033203125, -0.03021240234375, -0.0015354156494140625, -0.025634765625, 0.01407623291015625, 0.0016794204711914062, 0.0299224853515625, 0.0310211181640625, 0.01264190673828125, -0.044403076171875, 0.01056671142578125, 0.002765655517578125, 0.00777435302734375, 0.035308837890625, 0.004474639892578125, -0.0243682861328125, 0.005401611328125, 0.0076904296875, -0.020751953125, -0.039520263671875, 0.0212554931640625, -0.0166473388671875, -0.03564453125, -0.022186279296875, 0.0126953125, 0.048919677734375, 0.0178680419921875, 0.005550384521484375, 0.0043182373046875, 0.0206146240234375, -0.006618499755859375, -0.0288238525390625, -0.0160064697265625, -0.03619384765625, 0.068603515625, -0.04681396484375, 0.0170440673828125, -0.0272216796875, -0.033203125, 0.0235137939453125, -0.00507354736328125, -0.0270233154296875, 0.05548095703125, -0.045379638671875, 0.021148681640625, 0.06658935546875, -0.0018548965454101562, -0.00946807861328125, 0.053741455078125, -0.0191497802734375, 0.0111236572265625, 0.039093017578125, -0.0167388916015625, 0.0171661376953125, 0.003475189208984375, -0.04620361328125, 0.0094757080078125, -0.0177764892578125, -0.0125579833984375, 0.0202178955078125, -0.004108428955078125, 0.024749755859375, 0.024200439453125, 0.005268096923828125, 0.05572509765625, -0.0139923095703125, 0.01177215576171875, 0.021636962890625, -0.026824951171875, 0.0180816650390625, -0.0100555419921875, -0.0084686279296875, -0.0243377685546875, 0.0261077880859375, 0.0135040283203125, -0.0077362060546875, 0.0164031982421875, 0.007373809814453125, -0.0191192626953125, 0.00902557373046875, 0.046234130859375, 0.03131103515625, -0.0255126953125, -0.01229095458984375, 0.01125335693359375, 0.00943756103515625, -0.0010318756103515625, 0.051361083984375, -0.03277587890625, -0.0011587142944335938, -0.0257568359375, 0.0022792816162109375, 0.0164031982421875, -0.0311431884765625, 0.0129852294921875, 0.0026721954345703125, -0.00426483154296875, 0.042327880859375, -0.0219268798828125, -0.01105499267578125, 0.0267181396484375, -0.0645751953125, 0.0033130645751953125, -0.00911712646484375, 0.027374267578125, 0.0173187255859375, -0.02734375, 0.0017910003662109375, -0.030426025390625, 0.0143585205078125, 0.0026378631591796875, 0.0136260986328125, 0.045928955078125, -0.0281219482421875, -0.014190673828125, 0.04638671875, 0.0185394287109375, -0.0222015380859375, 0.00119781494140625, 0.052825927734375, -0.033203125, -0.02362060546875, 0.018218994140625, -0.0321044921875, -0.0310211181640625, -0.0076751708984375, -0.03985595703125, 0.0914306640625, -0.0267181396484375, 0.014404296875, -0.003993988037109375, 0.039276123046875, 0.004680633544921875, 0.04254150390625, -0.00244140625, 0.009613037109375, -0.04925537109375, 0.0037631988525390625, -0.035858154296875, 0.025726318359375, -0.0250091552734375, -0.00516510009765625, 0.04205322265625, 0.004665374755859375, -0.047943115234375, -0.043182373046875, 0.0170440673828125, 0.07489013671875, 0.03192138671875, 0.0249481201171875, -0.00394439697265625, -0.03900146484375, -0.0261993408203125, 0.007778167724609375, 0.0286407470703125, -0.07354736328125, -0.036285400390625, 0.0243377685546875, -0.00818634033203125, 0.01267242431640625, 0.031494140625, 0.042144775390625, -0.013458251953125, 0.0024566650390625, 0.042205810546875, -0.07928466796875, 0.01727294921875, 0.03692626953125, 0.052490234375, -0.01177215576171875, 0.0115814208984375, -0.007488250732421875, 0.048004150390625, 0.0179443359375, -0.0010423660278320312, 0.0105743408203125, 0.0003819465637207031, 0.01464080810546875, 0.01348876953125, -0.0004978179931640625, 0.029052734375, -0.00428009033203125, -0.005321502685546875, -0.0126800537109375, -0.004192352294921875, -0.055633544921875, 0.015960693359375, 0.03375244140625, 0.01024627685546875, -0.020233154296875, -0.00844573974609375, 0.0012998580932617188, 0.0083160400390625, 0.01448822021484375, -0.032379150390625, 0.0160369873046875, -0.02386474609375, -0.0250396728515625, 0.006755828857421875, -0.004642486572265625, 0.01103973388671875, 0.03662109375, -0.01029205322265625, 0.0152740478515625, -0.02789306640625, -0.0252227783203125, -0.0215301513671875, 0.01328277587890625, -0.0014553070068359375, 0.01317596435546875, -0.00817108154296875, 0.036590576171875, 0.0175323486328125, 0.020233154296875, -0.069091796875, 0.049346923828125, 0.0007886886596679688, 0.0810546875, -0.037933349609375, 0.0289306640625, -0.00701141357421875, 0.0333251953125, 0.0195159912109375, 0.0191192626953125, 0.051177978515625, 0.079345703125, -0.00414276123046875, -0.0192108154296875, 0.044677734375, 0.0025157928466796875, 0.03826904296875, -0.029693603515625, 0.0306854248046875, 0.0114288330078125, -0.01251220703125, -0.026580810546875, 0.03662109375, 0.03375244140625, -0.0223388671875, 0.03179931640625, -0.0027713775634765625, -0.0274658203125, -0.0147552490234375, -0.01934814453125, 0.046875, -0.005023956298828125, -0.03704833984375, -0.0066680908203125, 0.0006804466247558594, -0.05023193359375, 0.018402099609375, 0.035308837890625, -0.03802490234375, 0.020782470703125, -0.0011463165283203125, -0.00893402099609375, 0.053314208984375, -0.040924072265625, 0.0204010009765625, 0.020782470703125, 0.00984954833984375, 0.0010938644409179688, -0.03753662109375, -0.01165771484375, 0.0278472900390625, 0.016387939453125, -0.020660400390625, 0.09686279296875, -0.016265869140625, -0.0094451904296875, 0.013671875, 0.0004181861877441406, 0.007709503173828125, 0.01146697998046875, -0.01580810546875, 0.030029296875, 0.021240234375, -0.0311126708984375, -0.01459503173828125, 0.007511138916015625, 0.0198974609375, -0.029693603515625, -0.0086517333984375, -0.016815185546875, 0.00968170166015625, 0.01351165771484375, 0.0015010833740234375, -0.007568359375, -0.03857421875, -0.027099609375, 0.0203399658203125, 0.0138092041015625, 0.0167083740234375, -0.0220794677734375, 0.029571533203125, -0.0229644775390625, 0.016082763671875, 0.020477294921875, -0.029632568359375, 0.033416748046875, 0.041534423828125, -0.07965087890625, -0.057891845703125, 0.005420684814453125, -0.0020542144775390625, -0.028045654296875, 0.0263671875, 0.044891357421875, 0.0080413818359375, -0.006664276123046875, 0.04400634765625, -0.0009217262268066406, -0.01171112060546875, -0.0626220703125, -0.039581298828125, 0.06463623046875, -0.01078033447265625, -0.04119873046875, 0.048553466796875, -0.006679534912109375, -0.0168609619140625, -0.0321044921875, -0.00975799560546875, -0.012664794921875, -0.036224365234375, -0.0271453857421875, 0.01128387451171875, 0.0225677490234375, 0.0094451904296875, -0.06597900390625, 0.070556640625, -0.019256591796875, 0.00897216796875, 0.004009246826171875, -0.06591796875, 0.01306915283203125, 0.034576416015625, -0.0189666748046875, -0.07208251953125, -0.04290771484375, 0.03033447265625, -0.0595703125, 0.038818359375, 0.02728271484375, -0.04443359375, 0.01001739501953125, 0.04803466796875, 0.0494384765625, 0.0897216796875, 0.005107879638671875, -0.0008234977722167969, 0.0146636962890625, 0.0262298583984375, -0.0214996337890625, -0.051422119140625, 0.0136871337890625, -0.01537322998046875, 0.0249176025390625, -0.04461669921875, 0.0261383056640625, 0.0177154541015625, -0.03216552734375, -0.07843017578125, -0.03173828125, -0.00608062744140625, -0.033782958984375, -0.00728607177734375, 0.024200439453125, -0.0273895263671875, 0.052154541015625, 0.015838623046875, 0.00408935546875, 0.01346588134765625, -0.0035228729248046875, -0.0079803466796875, 0.0196685791015625, 0.017913818359375, -0.005687713623046875, -0.029449462890625, 0.0063018798828125, 0.0096588134765625, -0.007656097412109375, 0.007038116455078125, -0.03131103515625, 0.030364990234375, 0.010467529296875, -0.05059814453125, -0.050537109375, -0.0071258544921875, 0.027618408203125, -0.0236968994140625, -0.0170745849609375, 0.0005254745483398438, 0.0150146484375, 0.06524658203125, 0.029998779296875, -0.00206756591796875, -0.044891357421875, -0.003856658935546875, -0.021148681640625, 0.03265380859375, -0.027069091796875, -0.0209503173828125, -0.03692626953125, -0.020111083984375, -0.0059661865234375, -0.0259552001953125, 0.017669677734375, 0.0006380081176757812, -0.05096435546875, 0.009735107421875, -0.051177978515625, -0.0220489501953125, -0.0914306640625, 0.022857666015625, 0.018157958984375, -0.013702392578125, 0.01351165771484375, -0.01303863525390625, -0.0036258697509765625, 0.0196075439453125, 0.0030422210693359375, -0.0163726806640625, -0.0011119842529296875, 0.004253387451171875, 0.0296783447265625, -0.001300811767578125, -0.0202178955078125, -0.0186614990234375, 0.020660400390625, 0.0014209747314453125, -0.0300140380859375, 0.01372528076171875, -0.0190582275390625, -0.0059661865234375, -0.004573822021484375, -0.01250457763671875, -0.036712646484375, 0.00133514404296875, -0.0028171539306640625, -0.0162811279296875, 0.015472412109375, -0.0032367706298828125, -0.018341064453125, -0.0007348060607910156, -0.0146331787109375, 0.00399017333984375, 0.00930023193359375, -0.0306243896484375, -0.01580810546875, -0.002685546875, 0.0011348724365234375, -0.0062408447265625, 0.0075836181640625 ]
65468f1035c577d9f3b090e717d12815f6dd2a30
Wordpress Stackexchange Q: Gutenberg Blocks doesn't render correctly when using do_blocks I'm trying to render a post_content with blocks using the do_blocks function, that takes a gutenberg content, parses every block, and returns an HTML string. The problem is that some blocks aren't rendering correctly. I suppose it is because do_blocks doesn't enqueue the blocks scripts, it only parses the blocks. For example, the core-embed/youtube instead of rendering the iframe of the YouTube video, only shows the video URL. Blocks that renders using the a PHP render_callback function renders correctly, so its seems related to JS. Is there a solution to this?
Q: Gutenberg Blocks doesn't render correctly when using do_blocks I'm trying to render a post_content with blocks using the do_blocks function, that takes a gutenberg content, parses every block, and returns an HTML string. The problem is that some blocks aren't rendering correctly. I suppose it is because do_blocks doesn't enqueue the blocks scripts, it only parses the blocks. For example, the core-embed/youtube instead of rendering the iframe of the YouTube video, only shows the video URL. Blocks that renders using the a PHP render_callback function renders correctly, so its seems related to JS. Is there a solution to this?
wordpress
{ "language": "en", "length": 100, "provenance": "stackexchange_00019.jsonl.gz:499966", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354508" }
[ 0.004985809326171875, 0.004150390625, -0.05908203125, -0.04693603515625, 0.007633209228515625, -0.0257110595703125, -0.037689208984375, 0.0001366138458251953, -0.007022857666015625, 0.045928955078125, -0.026947021484375, -0.012359619140625, -0.003986358642578125, -0.01123809814453125, -0.047149658203125, -0.043365478515625, 0.03179931640625, 0.0009984970092773438, 0.02337646484375, -0.0003724098205566406, -0.021820068359375, 0.023834228515625, 0.0111083984375, 0.043121337890625, 0.03802490234375, -0.04754638671875, 0.035430908203125, 0.005298614501953125, 0.02099609375, -0.0142822265625, 0.039398193359375, -0.00136566162109375, 0.04827880859375, -0.0034465789794921875, -0.0574951171875, -0.00037384033203125, 0.007526397705078125, -0.015777587890625, -0.03997802734375, 0.033477783203125, 0.01187896728515625, -0.013519287109375, 0.047088623046875, -0.024078369140625, 0.005645751953125, 0.043060302734375, -0.0252227783203125, -0.050933837890625, 0.033203125, 0.052032470703125, -0.00396728515625, -0.0181427001953125, -0.0128631591796875, 0.01312255859375, 0.004688262939453125, -0.0095977783203125, -0.025177001953125, 0.03936767578125, -0.0002624988555908203, 0.03155517578125, -0.01044464111328125, 0.045562744140625, -0.0065460205078125, -0.0157318115234375, 0.0213623046875, -0.0233306884765625, -0.0182952880859375, 0.0248565673828125, -0.037506103515625, 0.0311279296875, 0.04730224609375, -0.032623291015625, -0.0124664306640625, -0.050018310546875, 0.00839996337890625, 0.01407623291015625, -0.0369873046875, -0.04803466796875, 0.01230621337890625, -0.0041656494140625, -0.01202392578125, 0.0295257568359375, -0.0147247314453125, -0.012603759765625, -0.0128631591796875, -0.0025310516357421875, -0.0230255126953125, -0.017913818359375, -0.02838134765625, -0.039093017578125, -0.02783203125, -0.0009908676147460938, -0.06658935546875, -0.0146484375, -0.01529693603515625, -0.0275421142578125, 0.01551055908203125, 0.0056915283203125, -0.0023555755615234375, -0.005939483642578125, 0.048309326171875, -0.05609130859375, 0.042510986328125, -0.01218414306640625, 0.01401519775390625, 0.030975341796875, -0.04302978515625, -0.01239013671875, 0.0694580078125, 0.038787841796875, 0.01181793212890625, 0.037322998046875, -0.0163726806640625, -0.03387451171875, -0.0128936767578125, 0.0111236572265625, -0.04302978515625, 0.004940032958984375, 0.014007568359375, -0.01360321044921875, 0.019287109375, 0.0034275054931640625, 0.06524658203125, 0.02471923828125, -0.006381988525390625, 0.0283966064453125, -0.0280303955078125, -0.056884765625, 0.018646240234375, 0.00577545166015625, -0.0401611328125, 0.01486968994140625, 0.052886962890625, -0.00395965576171875, 0.005615234375, -0.0252227783203125, 0.00832366943359375, 0.0023174285888671875, -0.0182952880859375, 0.003177642822265625, -0.04888916015625, 0.002109527587890625, 0.041473388671875, -0.054229736328125, 0.0207672119140625, 0.00691986083984375, 0.0173797607421875, 0.00684356689453125, -0.01042938232421875, -0.051666259765625, 0.044891357421875, -0.06390380859375, 0.0200347900390625, 0.00957489013671875, 0.06378173828125, -0.0200042724609375, 0.06658935546875, -0.039581298828125, 0.0010814666748046875, -0.034881591796875, 0.045684814453125, -0.0008149147033691406, -0.004634857177734375, 0.016876220703125, -0.021240234375, -0.0220794677734375, -0.0308380126953125, -0.009033203125, 0.028289794921875, 0.0419921875, -0.021759033203125, -0.02099609375, 0.0169677734375, -0.031585693359375, -0.04571533203125, 0.00007861852645874023, -0.0161590576171875, -0.01195526123046875, 0.005706787109375, 0.01264190673828125, -0.01172637939453125, -0.04034423828125, -0.00656890869140625, 0.00240325927734375, -0.039947509765625, 0.0504150390625, -0.018646240234375, 0.01392364501953125, 0.0307464599609375, -0.01068878173828125, 0.01479339599609375, 0.02581787109375, -0.0672607421875, 0.020904541015625, 0.0225372314453125, -0.0001748800277709961, 0.024749755859375, 0.007110595703125, 0.019561767578125, -0.04217529296875, 0.0160064697265625, -0.0187835693359375, 0.027374267578125, 0.00661468505859375, 0.00775146484375, 0.006519317626953125, -0.01419830322265625, 0.01265716552734375, -0.0069427490234375, 0.0015459060668945312, 0.020263671875, 0.006847381591796875, -0.05438232421875, 0.0254058837890625, -0.0212554931640625, 0.0283203125, 0.008819580078125, 0.04046630859375, -0.00815582275390625, 0.0025386810302734375, -0.0037021636962890625, -0.0240631103515625, -0.0089874267578125, 0.0247802734375, 0.09912109375, 0.037750244140625, -0.03643798828125, -0.0196533203125, 0.021881103515625, 0.043426513671875, -0.1292724609375, 0.05548095703125, 0.04132080078125, 0.0513916015625, -0.0279693603515625, -0.01213836669921875, 0.00292205810546875, -0.00946807861328125, 0.0225067138671875, 0.03265380859375, 0.02545166015625, -0.006511688232421875, -0.035430908203125, -0.058837890625, 0.0172882080078125, -0.022613525390625, 0.0258026123046875, -0.03802490234375, -0.004108428955078125, 0.01220703125, -0.0160675048828125, 0.0013866424560546875, 0.015625, -0.090576171875, -0.01299285888671875, 0.036712646484375, 0.009765625, 0.003662109375, -0.02288818359375, 0.01375579833984375, 0.0122833251953125, 0.0211944580078125, -0.016204833984375, -0.0026531219482421875, 0.046142578125, -0.00939178466796875, 0.00878143310546875, -0.0005650520324707031, -0.0198974609375, 0.029205322265625, 0.013824462890625, -0.05389404296875, 0.0009937286376953125, 0.046600341796875, 0.061370849609375, -0.0054168701171875, -0.028472900390625, -0.0240020751953125, 0.045379638671875, 0.038970947265625, 0.00395965576171875, 0.04241943359375, -0.02484130859375, -0.00922393798828125, 0.006938934326171875, -0.00939178466796875, -0.01227569580078125, 0.0231475830078125, 0.06427001953125, -0.0011949539184570312, 0.0147552490234375, 0.016021728515625, 0.009857177734375, 0.04351806640625, 0.0374755859375, -0.041748046875, 0.04437255859375, -0.058563232421875, 0.050689697265625, -0.054443359375, 0.07806396484375, 0.05010986328125, -0.058624267578125, 0.0125732421875, -0.0027484893798828125, 0.018646240234375, 0.0238189697265625, -0.02703857421875, -0.03814697265625, -0.003208160400390625, -0.05364990234375, -0.03167724609375, 0.012847900390625, 0.06890869140625, -0.01522064208984375, -0.056304931640625, -0.004512786865234375, 0.0294647216796875, -0.05322265625, -0.041412353515625, -0.042266845703125, -0.064697265625, -0.01861572265625, -0.04144287109375, -0.0301971435546875, 0.02984619140625, -0.042144775390625, -0.0007166862487792969, -0.0265350341796875, -0.02459716796875, -0.11138916015625, -0.086669921875, -0.093017578125, 0.0200958251953125, -0.0225830078125, 0.0226287841796875, 0.01751708984375, -0.007160186767578125, 0.00800323486328125, -0.023712158203125, 0.01496124267578125, 0.001819610595703125, -0.021392822265625, -0.0196533203125, -0.00844573974609375, 0.0028018951416015625, -0.03387451171875, 0.0316162109375, -0.0562744140625, -0.02386474609375, 0.0156402587890625, -0.034820556640625, -0.0286102294921875, -0.00238037109375, 0.004482269287109375, 0.003620147705078125, 0.012664794921875, -0.01434326171875, -0.01337432861328125, -0.041839599609375, -0.032745361328125, 0.0133209228515625, -0.029541015625, 0.040435791015625, 0.033477783203125, -0.0180816650390625, -0.007518768310546875, 0.00865936279296875, 0.01280975341796875, 0.046844482421875, 0.0167999267578125, 0.006015777587890625, -0.02490234375, -0.031280517578125, -0.01485443115234375, -0.0187225341796875, 0.01476287841796875, 0.0150146484375, 0.0028018951416015625, -0.0253753662109375, 0.0653076171875, 0.004756927490234375, 0.0304107666015625, -0.08428955078125, 0.0018930435180664062, 0.03277587890625, 0.01367950439453125, 0.0246429443359375, -0.021026611328125, -0.016632080078125, -0.003124237060546875, 0.039886474609375, 0.049560546875, -0.01274871826171875, 0.01302337646484375, -0.0018281936645507812, -0.03424072265625, -0.0134124755859375, -0.040130615234375, 0.01273345947265625, 0.01483917236328125, -0.003574371337890625, 0.0260162353515625, -0.037078857421875, -0.015960693359375, -0.01328277587890625, -0.020721435546875, 0.0112762451171875, 0.0284881591796875, 0.0087738037109375, 0.0207061767578125, 0.01727294921875, 0.027679443359375, -0.025604248046875, -0.0220947265625, 0.003204345703125, -0.056243896484375, 0.0017957687377929688, -0.0194549560546875, 0.0175018310546875, 0.004486083984375, 0.003589630126953125, -0.0274810791015625, 0.03289794921875, 0.0166015625, 0.0013275146484375, 0.03900146484375, -0.00408172607421875, 0.06201171875, -0.0089111328125, 0.0232086181640625, -0.0246124267578125, -0.0246734619140625, -0.01947021484375, -0.002445220947265625, 0.07135009765625, -0.0093994140625, 0.0166473388671875, -0.0191650390625, 0.00428009033203125, -0.03240966796875, -0.0170135498046875, -0.00591278076171875, 0.0063323974609375, -0.005153656005859375, -0.00954437255859375, -0.0228424072265625, -0.0367431640625, 0.0029010772705078125, 0.0158233642578125, -0.005176544189453125, 0.01922607421875, 0.00469970703125, 0.00740814208984375, -0.0210418701171875, -0.0325927734375, 0.0263671875, 0.01910400390625, -0.0299224853515625, 0.084228515625, 0.047088623046875, 0.002593994140625, 0.0560302734375, -0.019561767578125, 0.009796142578125, 0.00252532958984375, 0.0222015380859375, 0.01158905029296875, -0.01177215576171875, 0.016632080078125, 0.0226593017578125, -0.0108795166015625, 0.0073089599609375, -0.04541015625, 0.053802490234375, -0.027801513671875, -0.0173797607421875, -0.0012235641479492188, -0.013824462890625, -0.0311431884765625, -0.0212554931640625, 0.006191253662109375, 0.0025005340576171875, 0.057586669921875, 0.0419921875, -0.016632080078125, 0.045989990234375, 0.036712646484375, 0.0065155029296875, -0.0103759765625, -0.033905029296875, -0.02606201171875, 0.007778167724609375, 0.0207366943359375, -0.00269317626953125, 0.0194549560546875, 0.013580322265625, 0.014251708984375, -0.010467529296875, -0.0254058837890625, -0.04937744140625, 0.005268096923828125, 0.02117919921875, 0.00997161865234375, 0.0238800048828125, -0.0104827880859375, -0.017913818359375, -0.018035888671875, -0.0018415451049804688, 0.0528564453125, -0.031341552734375, -0.01233673095703125, 0.01195526123046875, 0.006610870361328125, -0.00975799560546875, -0.009735107421875, 0.0428466796875, -0.01021575927734375, 0.01097869873046875, -0.0007090568542480469, -0.005413055419921875, 0.0030612945556640625, 0.0222930908203125, 0.041015625, -0.048675537109375, -0.00962066650390625, 0.00698089599609375, -0.013519287109375, -0.0252685546875, -0.013763427734375, 0.01180267333984375, 0.037109375, -0.01617431640625, -0.006122589111328125, 0.021514892578125, -0.0156707763671875, 0.00362396240234375, 0.025115966796875, -0.0213165283203125, 0.002368927001953125, -0.0242156982421875, -0.0160980224609375, 0.04547119140625, 0.015838623046875, 0.00595855712890625, -0.043121337890625, -0.0034999847412109375, 0.0297698974609375, -0.03338623046875, 0.006832122802734375, 0.0156402587890625, -0.006610870361328125, 0.033935546875, -0.03192138671875, -0.028839111328125, 0.0052490234375, -0.01114654541015625, -0.0242767333984375, -0.00562286376953125, 0.08551025390625, -0.0523681640625, 0.0065155029296875, -0.0093536376953125, 0.023162841796875, -0.007083892822265625, 0.041534423828125, 0.021942138671875, 0.019683837890625, -0.072998046875, -0.02398681640625, -0.065673828125, -0.009033203125, -0.08416748046875, -0.08056640625, -0.04327392578125, 0.03155517578125, 0.00711822509765625, 0.0127410888671875, -0.016143798828125, -0.01056671142578125, 0.018798828125, 0.040557861328125, -0.01178741455078125, 0.0589599609375, 0.00827789306640625, 0.02447509765625, -0.023284912109375, 0.0310516357421875, 0.0013055801391601562, 0.006267547607421875, 0.0101470947265625, -0.0157928466796875, -0.0218505859375, -0.047454833984375, -0.0047149658203125, 0.02142333984375, 0.0182952880859375, 0.0240478515625, 0.01464080810546875, 0.014129638671875, 0.042510986328125, -0.0330810546875, -0.005764007568359375, -0.016937255859375, 0.0158538818359375, -0.050018310546875, -0.0113677978515625, 0.00801849365234375, -0.0003113746643066406, 0.0024738311767578125, -0.01314544677734375, -0.039794921875, 0.03656005859375, 0.0082855224609375, 0.0215301513671875, -0.006504058837890625, 0.010498046875, -0.00821685791015625, 0.025909423828125, -0.0238189697265625, 0.015533447265625, 0.0103607177734375, 0.01181793212890625, 0.034423828125, -0.006626129150390625, -0.00258636474609375, 0.01290130615234375, 0.01053619384765625, -0.01049041748046875, 0.0257568359375, 0.005603790283203125, 0.01187896728515625, 0.0201873779296875, 0.030426025390625, 0.05694580078125, -0.05914306640625, 0.020233154296875, 0.03045654296875, -0.00853729248046875, -0.0140533447265625, -0.015289306640625, 0.00864410400390625, -0.00661468505859375, 0.0268707275390625, 0.05755615234375, -0.0112152099609375, 0.0214385986328125, 0.023101806640625, 0.004817962646484375, -0.01544952392578125, 0.042877197265625, 0.02081298828125, -0.004459381103515625, 0.004482269287109375, -0.016998291015625, 0.045562744140625, -0.004833221435546875, 0.00537109375, -0.01209259033203125, 0.0033416748046875, -0.0068206787109375, 0.0087738037109375, -0.056732177734375, 0.01316070556640625, 0.014434814453125, 0.030487060546875, -0.023773193359375, 0.0484619140625, -0.0204620361328125, 0.0240936279296875, -0.00139617919921875, -0.0312042236328125, 0.002231597900390625, 0.0162200927734375, 0.037353515625, 0.051727294921875, -0.03857421875, 0.01861572265625, -0.015106201171875, 0.01238250732421875, -0.005825042724609375, 0.0268707275390625, 0.07208251953125, -0.01311492919921875, -0.0241241455078125, 0.014129638671875, 0.0274200439453125, 0.0007266998291015625, 0.007419586181640625, 0.0662841796875, -0.031158447265625, 0.0165252685546875, 0.0238189697265625, 0.050079345703125, -0.03961181640625, 0.0272369384765625, -0.07122802734375, 0.05523681640625, 0.05908203125, 0.025543212890625, -0.0157623291015625, 0.01751708984375, -0.021270751953125, -0.01239776611328125, -0.0533447265625, 0.10272216796875, 0.032684326171875, 0.01129913330078125, -0.068603515625, -0.006328582763671875, -0.011962890625, -0.00872802734375, -0.01416015625, 0.00112152099609375, -0.054595947265625, -0.052978515625, -0.0243377685546875, 0.04931640625, 0.0341796875, 0.01425933837890625, -0.01043701171875, 0.0113983154296875, -0.028656005859375, -0.046661376953125, 0.0284576416015625, -0.09136962890625, -0.040435791015625, 0.0085906982421875, 0.0006494522094726562, -0.006256103515625, 0.0158233642578125, -0.03045654296875, -0.05322265625, 0.026763916015625, 0.04632568359375, -0.0224761962890625, -0.0066986083984375, 0.032562255859375, 0.03533935546875, -0.054779052734375, -0.024566650390625, -0.030548095703125, 0.039306640625, 0.00809478759765625, -0.00478363037109375, 0.00417327880859375, 0.005596160888671875, -0.0015039443969726562, -0.0430908203125, -0.0094146728515625, -0.013671875, -0.0206756591796875, 0.04315185546875, 0.000005304813385009766, 0.0219573974609375, -0.06414794921875, -0.0251007080078125, 0.032470703125, 0.055206298828125, -0.0213775634765625, -0.021636962890625, 0.01311492919921875, 0.017486572265625, 0.004299163818359375, -0.00653839111328125, 0.0277862548828125, -0.034332275390625, -0.01369476318359375, -0.033477783203125, -0.0723876953125, -0.030181884765625, 0.024627685546875, -0.01171875, -0.041229248046875, 0.09954833984375, -0.069091796875, -0.06756591796875, 0.04852294921875, 0.037200927734375, 0.05908203125, -0.01000213623046875, 0.0760498046875, -0.011383056640625, -0.029449462890625, -0.029449462890625, 0.039306640625, -0.0278167724609375, 0.036773681640625, -0.041046142578125, -0.035552978515625, 0.01387786865234375, 0.039642333984375, -0.009765625, 0.033935546875, 0.0220947265625, 0.0338134765625, 0.020843505859375, -0.007232666015625, 0.031951904296875, -0.007694244384765625, -0.052032470703125, -0.049591064453125, -0.040252685546875, -0.005817413330078125, 0.005146026611328125, 0.039642333984375, -0.012786865234375, 0.00849151611328125, -0.0212554931640625, 0.10028076171875, -0.004913330078125, -0.022796630859375, -0.0033817291259765625, -0.00411224365234375, 0.0938720703125, 0.0187835693359375, -0.0162353515625, -0.01340484619140625, -0.00958251953125, -0.03411865234375, 0.0144500732421875, 0.0350341796875, 0.0012331008911132812, 0.0007905960083007812, 0.005016326904296875, -0.004817962646484375, 0.04296875, -0.0216064453125, 0.019073486328125, 0.0281829833984375, 0.0203704833984375, -0.002498626708984375, -0.0189056396484375, -0.018646240234375, 0.022857666015625, 0.048126220703125, -0.0276336669921875, 0.11993408203125, -0.050079345703125, -0.01436614990234375, -0.001216888427734375, 0.0155792236328125, 0.007656097412109375, 0.01812744140625, -0.00406646728515625, 0.052398681640625, 0.0280609130859375, -0.035888671875, -0.030670166015625, -0.0006647109985351562, 0.037994384765625, 0.0204010009765625, -0.01129913330078125, 0.004627227783203125, 0.026641845703125, 0.0103302001953125, 0.0006833076477050781, -0.029937744140625, -0.07269287109375, -0.0281524658203125, 0.05419921875, -0.0218505859375, 0.038909912109375, -0.0288238525390625, 0.06915283203125, 0.0253143310546875, 0.0014333724975585938, 0.0204315185546875, -0.0748291015625, 0.046539306640625, 0.03662109375, -0.0189666748046875, -0.00557708740234375, -0.01351165771484375, -0.022430419921875, 0.035247802734375, -0.007465362548828125, 0.0116119384765625, 0.0187530517578125, 0.00963592529296875, 0.021820068359375, 0.026397705078125, 0.0276031494140625, -0.01032257080078125, -0.0006847381591796875, 0.020965576171875, -0.0159759521484375, 0.022308349609375, 0.08349609375, -0.0136566162109375, -0.016510009765625, -0.038970947265625, -0.035430908203125, -0.0128173828125, -0.072509765625, -0.0247344970703125, 0.0013179779052734375, 0.0270233154296875, -0.0065765380859375, -0.034210205078125, 0.032073974609375, -0.0302734375, 0.0014772415161132812, 0.0035190582275390625, 0.0122222900390625, 0.0206298828125, 0.07464599609375, -0.045806884765625, 0.01071929931640625, -0.0009336471557617188, -0.0303955078125, -0.0235443115234375, 0.004444122314453125, 0.0104522705078125, -0.01076507568359375, -0.033935546875, 0.004116058349609375, 0.00794219970703125, 0.0426025390625, 0.005706787109375, 0.00942230224609375, -0.0097808837890625, 0.0474853515625, -0.05499267578125, -0.0771484375, 0.0199737548828125, -0.03546142578125, -0.01422882080078125, 0.032501220703125, -0.01110076904296875, 0.0186614990234375, -0.0205230712890625, -0.02813720703125, -0.0016155242919921875, 0.033599853515625, -0.03448486328125, 0.0189208984375, 0.039794921875, -0.006198883056640625, 0.01319122314453125, -0.00019693374633789062, 0.026123046875, 0.015869140625, -0.027313232421875, 0.005596160888671875, -0.0228118896484375, 0.051910400390625, -0.0193328857421875, -0.0178985595703125, -0.0037670135498046875, 0.0011157989501953125, -0.023162841796875, -0.038421630859375, 0.0014505386352539062, 0.00853729248046875, -0.005878448486328125, -0.036163330078125, -0.0229644775390625, 0.03369140625, 0.04803466796875, 0.0305633544921875, -0.022857666015625, -0.0167236328125, -0.005279541015625, 0.020233154296875, -0.007007598876953125, -0.0033092498779296875, -0.0171661376953125, 0.0003237724304199219, -0.0265045166015625, -0.06341552734375, -0.0025501251220703125, 0.0249481201171875, -0.04345703125, 0.0140380859375, -0.0086669921875, -0.01175689697265625, 0.0220489501953125, -0.03759765625, -0.028411865234375, -0.0157470703125, -0.06671142578125, -0.0275421142578125, -0.0181732177734375, -0.04888916015625, 0.05120849609375, -0.01947021484375, -0.01247406005859375, -0.005336761474609375, 0.051239013671875, -0.0015020370483398438, -0.0217437744140625, 0.00333404541015625, -0.019775390625, 0.013153076171875, 0.0005645751953125, 0.0204620361328125, 0.0638427734375, 0.01934814453125, -0.037994384765625, 0.0147552490234375, -0.009368896484375, -0.0305938720703125, -0.040252685546875, 0.033966064453125, 0.0202789306640625, -0.042572021484375, 0.0660400390625, -0.035369873046875, -0.0003838539123535156, -0.0010223388671875, -0.00428009033203125, -0.00904083251953125, 0.020355224609375, 0.03350830078125, -0.0227813720703125, 0.002918243408203125, 0.00235748291015625, 0.00545501708984375, -0.0200653076171875, 0.0008149147033691406, -0.0243682861328125, 0.00043773651123046875, -0.00260162353515625 ]
3661c7bb2044044a3534029c73c055edc7813d16
Wordpress Stackexchange Q: Archive page showing nothing - issue with WordPress Hierarchy? I'm building a theme and I've found it all pretty simple and straightforward. However, I can't figure out why I have a totally blank page for my archive WordPress blog posts? I understand the WordPress Hierarchy and I have a page called: archive.php This is my code on that page: <?php get_header();?> <div class="container"> <h1><?php echo single_cat_title();?></h1> <?php if( have_posts() ): while ( have_posts() ): the_post();?> <div class="card"> <div class="card-body"> <h3><?php the_title();?></h3> <?php the_excerpt();?> <a href="<?php the_permalink();?>" class="btn btn-success"> read more</a> </div> </div> <?php endwhile; else: endif;?> <?php previous_posts_link();?> <?php next_posts_link();?> </div> <?php get_footer();?> And when I view that page view a browser, i.e. my designated "blog page" in WordPress (selected in "Reading") I see nothing, totally blank, there is even no source to view. Any idea on what (basic) error I am making here.... Thanks A: Your designated 'blog page' (selected in 'Reading') will use the index.php file (or home.php) rather than archive.php file.
Q: Archive page showing nothing - issue with WordPress Hierarchy? I'm building a theme and I've found it all pretty simple and straightforward. However, I can't figure out why I have a totally blank page for my archive WordPress blog posts? I understand the WordPress Hierarchy and I have a page called: archive.php This is my code on that page: <?php get_header();?> <div class="container"> <h1><?php echo single_cat_title();?></h1> <?php if( have_posts() ): while ( have_posts() ): the_post();?> <div class="card"> <div class="card-body"> <h3><?php the_title();?></h3> <?php the_excerpt();?> <a href="<?php the_permalink();?>" class="btn btn-success"> read more</a> </div> </div> <?php endwhile; else: endif;?> <?php previous_posts_link();?> <?php next_posts_link();?> </div> <?php get_footer();?> And when I view that page view a browser, i.e. my designated "blog page" in WordPress (selected in "Reading") I see nothing, totally blank, there is even no source to view. Any idea on what (basic) error I am making here.... Thanks A: Your designated 'blog page' (selected in 'Reading') will use the index.php file (or home.php) rather than archive.php file.
wordpress
{ "language": "en", "length": 165, "provenance": "stackexchange_00019.jsonl.gz:500037", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354730" }
[ 0.01242828369140625, 0.00457763671875, -0.007755279541015625, 0.02850341796875, -0.0006728172302246094, -0.035308837890625, 0.04815673828125, -0.050628662109375, 0.039215087890625, -0.00603485107421875, -0.05126953125, -0.03546142578125, -0.00667572021484375, -0.02764892578125, -0.0008134841918945312, -0.0396728515625, 0.05206298828125, -0.0211639404296875, 0.0648193359375, 0.0059814453125, -0.004825592041015625, 0.0347900390625, 0.07965087890625, 0.01560211181640625, 0.0174713134765625, -0.006160736083984375, 0.07513427734375, -0.00872802734375, -0.00033736228942871094, -0.0249176025390625, 0.02825927734375, -0.015716552734375, 0.023040771484375, -0.03021240234375, 0.0235137939453125, -0.0235595703125, 0.00690460205078125, -0.0162811279296875, 0.005916595458984375, 0.0045318603515625, -0.0159759521484375, 0.0165863037109375, 0.04736328125, -0.00817108154296875, 0.004253387451171875, -0.0241546630859375, -0.00925445556640625, -0.044189453125, 0.0033817291259765625, -0.038543701171875, 0.0114288330078125, 0.02923583984375, 0.0104827880859375, 0.027557373046875, -0.0231170654296875, 0.0223236083984375, 0.0280914306640625, 0.00853729248046875, 0.00954437255859375, -0.0523681640625, -0.0360107421875, 0.0290069580078125, 0.025787353515625, 0.0286407470703125, -0.012603759765625, 0.0017414093017578125, 0.034210205078125, 0.00921630859375, -0.0830078125, -0.00665283203125, 0.053009033203125, -0.0250244140625, 0.0034999847412109375, -0.02044677734375, -0.022369384765625, -0.0126495361328125, 0.01505279541015625, -0.0271453857421875, 0.006805419921875, -0.0066986083984375, -0.0067901611328125, 0.024383544921875, -0.055511474609375, -0.0219268798828125, 0.0123291015625, -0.00861358642578125, -0.004802703857421875, -0.0249481201171875, -0.032684326171875, -0.0037822723388671875, -0.0243988037109375, -0.03515625, -0.0136871337890625, -0.011566162109375, -0.014617919921875, -0.020263671875, -0.0029773712158203125, 0.05084228515625, -0.01056671142578125, 0.0277252197265625, -0.028778076171875, -0.0269317626953125, 0.02581787109375, -0.0474853515625, 0.0139923095703125, 0.06280517578125, 0.0196380615234375, 0.00800323486328125, 0.037750244140625, -0.006877899169921875, 0.01178741455078125, 0.05206298828125, -0.017547607421875, -0.050933837890625, 0.005908966064453125, 0.0175933837890625, -0.040252685546875, 0.027557373046875, 0.00957489013671875, -0.00106048583984375, -0.00995635986328125, 0.035003662109375, -0.017547607421875, 0.002208709716796875, -0.0090789794921875, 0.0011396408081054688, 0.0325927734375, -0.0509033203125, 0.07232666015625, 0.018585205078125, -0.02783203125, -0.006866455078125, 0.0034503936767578125, 0.005496978759765625, -0.0008039474487304688, -0.0301513671875, 0.0004887580871582031, -0.00873565673828125, -0.015625, -0.000036776065826416016, 0.0230712890625, -0.029632568359375, -0.00298309326171875, -0.004703521728515625, -0.056854248046875, 0.033477783203125, 0.0218505859375, 0.0036163330078125, -0.0286102294921875, -0.045806884765625, -0.033599853515625, -0.0259246826171875, 0.042694091796875, -0.0078125, -0.0147247314453125, -0.0550537109375, 0.01149749755859375, -0.032745361328125, 0.01148223876953125, -0.03662109375, 0.01580810546875, 0.01438140869140625, 0.025177001953125, -0.01445770263671875, -0.036895751953125, -0.0230865478515625, -0.034698486328125, -0.01506805419921875, 0.0149688720703125, -0.044708251953125, -0.00606536865234375, -0.0196533203125, 0.0511474609375, -0.004302978515625, 0.0016918182373046875, 0.0280914306640625, -0.019256591796875, -0.0127105712890625, 0.009185791015625, 0.00818634033203125, -0.015869140625, -0.0251312255859375, -0.00630950927734375, 0.0228729248046875, -0.043670654296875, 0.045928955078125, 0.0113525390625, 0.04644775390625, -0.017791748046875, 0.023162841796875, 0.0162200927734375, 0.056365966796875, -0.07208251953125, 0.035186767578125, 0.015716552734375, -0.010284423828125, -0.03045654296875, -0.002593994140625, -0.0091094970703125, -0.019561767578125, -0.0114898681640625, 0.012542724609375, -0.0236968994140625, 0.0212249755859375, -0.01285552978515625, -0.005832672119140625, 0.002254486083984375, 0.0113983154296875, 0.0025386810302734375, 0.02252197265625, 0.01190948486328125, 0.0204620361328125, -0.016143798828125, -0.056854248046875, -0.03192138671875, 0.0044097900390625, -0.03857421875, -0.01485443115234375, -0.0038394927978515625, -0.0271759033203125, -0.0002777576446533203, 0.01190948486328125, -0.0229644775390625, 0.005855560302734375, 0.055419921875, -0.014862060546875, -0.016143798828125, -0.04962158203125, 0.0156097412109375, 0.0084991455078125, -0.07598876953125, 0.03656005859375, 0.051971435546875, 0.057281494140625, -0.054290771484375, -0.01654052734375, -0.04205322265625, -0.0137786865234375, 0.006717681884765625, 0.04608154296875, 0.00978851318359375, 0.037689208984375, -0.040618896484375, 0.0015649795532226562, 0.03643798828125, -0.053680419921875, -0.0186767578125, 0.022003173828125, -0.0110626220703125, 0.055389404296875, 0.01506805419921875, 0.0175933837890625, -0.01128387451171875, 0.01611328125, -0.030029296875, 0.034912109375, 0.019500732421875, 0.023651123046875, -0.025299072265625, 0.031768798828125, -0.0064697265625, 0.02069091796875, -0.018951416015625, 0.005352020263671875, 0.0012426376342773438, 0.05792236328125, 0.020599365234375, 0.032257080078125, -0.06292724609375, 0.0452880859375, 0.0196685791015625, 0.0284576416015625, 0.004711151123046875, 0.033660888671875, -0.005466461181640625, -0.00911712646484375, -0.0174560546875, -0.01372528076171875, 0.00644683837890625, -0.006763458251953125, -0.00872802734375, 0.01529693603515625, -0.033660888671875, -0.01226806640625, 0.001018524169921875, -0.040283203125, -0.0077362060546875, 0.01366424560546875, -0.006237030029296875, 0.01517486572265625, 0.0193023681640625, 0.0247802734375, -0.044464111328125, 0.041839599609375, -0.003673553466796875, -0.01297760009765625, 0.0312347412109375, -0.080322265625, 0.04608154296875, -0.0276641845703125, 0.0701904296875, 0.08160400390625, 0.0010652542114257812, 0.00695037841796875, 0.00640869140625, 0.00218963623046875, 0.01432037353515625, 0.01194000244140625, -0.0030384063720703125, 0.00948333740234375, -0.0494384765625, 0.018951416015625, 0.02923583984375, 0.028289794921875, 0.0172882080078125, -0.0176849365234375, -0.01434326171875, 0.02362060546875, -0.06610107421875, -0.08599853515625, -0.017364501953125, -0.08184814453125, 0.00484466552734375, -0.0182647705078125, -0.058013916015625, -0.003963470458984375, 0.016448974609375, 0.00893402099609375, -0.0160064697265625, -0.04254150390625, -0.07659912109375, -0.09515380859375, -0.09466552734375, -0.005931854248046875, -0.005130767822265625, 0.0171661376953125, 0.004550933837890625, 0.01354217529296875, -0.021575927734375, -0.07196044921875, -0.033111572265625, 0.0177154541015625, -0.0103912353515625, -0.012725830078125, -0.0053863525390625, 0.0105133056640625, -0.0352783203125, 0.0160369873046875, 0.032135009765625, 0.0006690025329589844, -0.03338623046875, -0.00951385498046875, -0.0186309814453125, -0.047607421875, -0.0221710205078125, 0.0179901123046875, 0.033447265625, -0.046478271484375, -0.01824951171875, -0.06805419921875, -0.0391845703125, -0.0268096923828125, -0.0560302734375, -0.0020809173583984375, 0.05322265625, 0.016876220703125, -0.022491455078125, 0.01218414306640625, -0.0170135498046875, -0.0162200927734375, 0.029083251953125, -0.0377197265625, 0.022491455078125, -0.01035308837890625, -0.00920867919921875, -0.004673004150390625, 0.0177001953125, -0.00732421875, 0.007213592529296875, 0.0014333724975585938, 0.0228729248046875, -0.0039825439453125, 0.0130767822265625, -0.0294036865234375, -0.0301666259765625, 0.03594970703125, -0.004177093505859375, 0.0130157470703125, -0.0006070137023925781, -0.01568603515625, 0.01531982421875, 0.0712890625, -0.0673828125, -0.006439208984375, 0.0183258056640625, 0.0134124755859375, -0.023223876953125, -0.03826904296875, -0.0499267578125, -0.0095672607421875, -0.06964111328125, 0.0123138427734375, -0.00493621826171875, -0.025238037109375, -0.004177093505859375, -0.006351470947265625, -0.033538818359375, -0.03521728515625, 0.0218353271484375, 0.0032711029052734375, -0.00778961181640625, -0.005680084228515625, -0.016357421875, -0.025390625, -0.0062408447265625, -0.004398345947265625, -0.08416748046875, -0.0229949951171875, 0.011077880859375, 0.06304931640625, -0.018890380859375, 0.00875091552734375, -0.03643798828125, 0.04290771484375, -0.00995635986328125, 0.0185394287109375, -0.005218505859375, 0.01157379150390625, 0.0164642333984375, -0.0310821533203125, -0.015899658203125, -0.03692626953125, -0.0156402587890625, -0.01125335693359375, 0.01898193359375, 0.0047149658203125, -0.033477783203125, -0.0572509765625, -0.018768310546875, -0.006992340087890625, -0.0697021484375, -0.041748046875, 0.004528045654296875, 0.013519287109375, 0.0088653564453125, -0.0006470680236816406, -0.0343017578125, -0.050567626953125, 0.0249176025390625, -0.0006561279296875, -0.02862548828125, 0.0113525390625, 0.04339599609375, 0.026397705078125, -0.01318359375, -0.04571533203125, 0.0109405517578125, 0.0251922607421875, 0.003940582275390625, 0.064697265625, 0.01055145263671875, -0.004337310791015625, 0.05316162109375, -0.01006317138671875, 0.049224853515625, -0.0064544677734375, 0.035125732421875, -0.003978729248046875, -0.044158935546875, 0.0655517578125, 0.0260467529296875, -0.062042236328125, 0.0106353759765625, -0.005435943603515625, -0.01525115966796875, -0.01232147216796875, 0.021087646484375, -0.03253173828125, 0.04547119140625, -0.01290130615234375, -0.00763702392578125, -0.01078033447265625, 0.0028400421142578125, 0.07061767578125, -0.00035953521728515625, 0.02203369140625, 0.03265380859375, 0.0672607421875, -0.00673675537109375, 0.0088653564453125, 0.028167724609375, 0.006717681884765625, 0.02642822265625, -0.018341064453125, -0.0144805908203125, -0.030975341796875, -0.0233306884765625, 0.07305908203125, 0.03875732421875, -0.0462646484375, 0.047607421875, 0.002605438232421875, 0.01763916015625, 0.00440216064453125, -0.0029296875, 0.005672454833984375, 0.0031642913818359375, 0.00914764404296875, -0.0012874603271484375, -0.00756072998046875, -0.0078125, -0.028900146484375, 0.02252197265625, 0.0180816650390625, -0.01241302490234375, 0.01280975341796875, 0.048675537109375, -0.00670623779296875, 0.0222320556640625, -0.024932861328125, -0.042388916015625, 0.0031833648681640625, 0.052154541015625, 0.039794921875, -0.06903076171875, -0.0156707763671875, 0.052154541015625, 0.0416259765625, -0.041656494140625, -0.01500701904296875, 0.024810791015625, 0.037841796875, 0.016845703125, -0.01123809814453125, 0.0021915435791015625, -0.006877899169921875, -0.01849365234375, 0.0210113525390625, -0.0241546630859375, -0.05755615234375, -0.0176849365234375, 0.02227783203125, 0.04541015625, -0.01300811767578125, -0.045379638671875, 0.0237274169921875, -0.0221710205078125, 0.0255889892578125, 0.01190185546875, -0.053619384765625, 0.0404052734375, 0.034332275390625, 0.00556182861328125, -0.01210784912109375, 0.003513336181640625, -0.0253143310546875, 0.004009246826171875, -0.036224365234375, -0.0128173828125, 0.07354736328125, -0.01275634765625, 0.02392578125, -0.0268707275390625, -0.004856109619140625, -0.0279541015625, -0.0011730194091796875, 0.056304931640625, 0.020111083984375, -0.0654296875, -0.0011968612670898438, -0.048065185546875, -0.04296875, -0.078369140625, -0.0211029052734375, -0.081298828125, 0.032440185546875, 0.002349853515625, 0.014923095703125, 0.004177093505859375, -0.03143310546875, -0.03497314453125, 0.019134521484375, 0.0307769775390625, 0.049652099609375, -0.0305938720703125, 0.07940673828125, -0.016143798828125, 0.061798095703125, -0.01531219482421875, 0.034332275390625, -0.012847900390625, -0.00807952880859375, 0.0350341796875, -0.041839599609375, -0.031494140625, -0.00917816162109375, -0.07012939453125, -0.004909515380859375, 0.055511474609375, -0.0101165771484375, -0.053466796875, 0.01355743408203125, 0.0186004638671875, -0.020751953125, 0.045989990234375, 0.046051025390625, -0.055511474609375, 0.0265350341796875, -0.01165008544921875, 0.00989532470703125, 0.01165771484375, -0.03778076171875, 0.00927734375, 0.027801513671875, 0.006351470947265625, -0.00069427490234375, -0.0274810791015625, 0.060577392578125, 0.09991455078125, -0.01430511474609375, 0.0601806640625, 0.038970947265625, -0.0012950897216796875, 0.035614013671875, 0.044219970703125, 0.014495849609375, -0.046844482421875, 0.051727294921875, 0.0015363693237304688, -0.030548095703125, 0.03582763671875, -0.040618896484375, 0.005306243896484375, 0.05157470703125, 0.047210693359375, -0.05731201171875, -0.005977630615234375, 0.015838623046875, -0.02899169921875, -0.0071868896484375, 0.0093841552734375, -0.01849365234375, -0.055389404296875, 0.03509521484375, -0.01279449462890625, -0.00579833984375, 0.0100555419921875, 0.006137847900390625, 0.015869140625, 0.0002713203430175781, 0.036468505859375, 0.0270233154296875, -0.053680419921875, 0.0175018310546875, 0.04083251953125, 0.0121002197265625, -0.0004973411560058594, 0.01226043701171875, -0.01953125, -0.01515960693359375, -0.01047515869140625, 0.0206298828125, -0.0180816650390625, -0.00005435943603515625, -0.012481689453125, -0.005321502685546875, -0.00681304931640625, 0.033966064453125, -0.0295562744140625, 0.026702880859375, 0.007415771484375, -0.029693603515625, -0.022003173828125, -0.030731201171875, 0.01019287109375, 0.0077056884765625, -0.012481689453125, 0.0230560302734375, 0.0087127685546875, -0.06103515625, -0.01824951171875, -0.053680419921875, 0.0665283203125, -0.0279388427734375, -0.0138397216796875, 0.0196075439453125, 0.0113677978515625, -0.0217132568359375, 0.032562255859375, 0.0699462890625, -0.00021541118621826172, 0.028228759765625, 0.044891357421875, 0.034454345703125, -0.0168609619140625, 0.0404052734375, -0.042205810546875, 0.05908203125, -0.009368896484375, -0.0019168853759765625, 0.007457733154296875, 0.037139892578125, 0.006107330322265625, 0.026824951171875, -0.037078857421875, 0.0595703125, -0.004428863525390625, 0.05126953125, -0.043731689453125, -0.00439453125, 0.017791748046875, 0.02978515625, 0.01690673828125, -0.006008148193359375, 0.0133514404296875, -0.01302337646484375, 0.047882080078125, 0.021728515625, -0.0047149658203125, 0.007053375244140625, -0.0016489028930664062, 0.021514892578125, 0.018310546875, -0.031982421875, 0.032073974609375, -0.0288848876953125, -0.033111572265625, 0.0090484619140625, -0.004123687744140625, -0.01519775390625, 0.026824951171875, -0.00383758544921875, -0.042999267578125, 0.019195556640625, 0.026763916015625, -0.04095458984375, 0.0092926025390625, 0.044158935546875, 0.037872314453125, -0.09222412109375, -0.0298614501953125, -0.02886962890625, 0.04144287109375, -0.0101470947265625, -0.0165557861328125, 0.0223388671875, 0.0278472900390625, 0.0099334716796875, -0.048065185546875, -0.0226287841796875, 0.00331878662109375, -0.022552490234375, 0.060516357421875, 0.0325927734375, 0.03240966796875, -0.0291595458984375, -0.0154266357421875, 0.019317626953125, 0.06854248046875, -0.03924560546875, -0.0309295654296875, 0.0111846923828125, -0.00025653839111328125, -0.017852783203125, -0.0167999267578125, -0.005458831787109375, -0.01544189453125, 0.01329803466796875, -0.0009226799011230469, -0.0267486572265625, -0.029327392578125, 0.014495849609375, -0.0002675056457519531, -0.01007843017578125, 0.044830322265625, -0.0165557861328125, 0.027313232421875, -0.00849151611328125, -0.006805419921875, -0.0235748291015625, -0.025177001953125, 0.01113128662109375, -0.02813720703125, 0.03179931640625, -0.02294921875, 0.043609619140625, -0.0302581787109375, 0.043670654296875, -0.07537841796875, -0.042694091796875, -0.0063323974609375, 0.06524658203125, -0.0176239013671875, 0.008392333984375, 0.0005745887756347656, 0.00008815526962280273, -0.01849365234375, 0.0012989044189453125, 0.034912109375, -0.033447265625, -0.022796630859375, -0.0116424560546875, 0.0005769729614257812, 0.0269775390625, 0.0011720657348632812, 0.00787353515625, 0.01409149169921875, 0.048828125, -0.01284027099609375, 0.00330352783203125, -0.000339508056640625, -0.036224365234375, 0.0030422210693359375, -0.0222015380859375, 0.023101806640625, -0.00713348388671875, -0.052520751953125, -0.028167724609375, 0.00969696044921875, 0.0020465850830078125, 0.022064208984375, 0.04180908203125, -0.0135955810546875, 0.0110931396484375, 0.0152435302734375, 0.01519775390625, -0.021514892578125, -0.017852783203125, 0.037628173828125, 0.0633544921875, 0.025634765625, 0.051483154296875, -0.0184783935546875, -0.040679931640625, 0.0233306884765625, 0.036865234375, -0.012969970703125, 0.0941162109375, -0.02947998046875, -0.0060882568359375, -0.0161285400390625, 0.04730224609375, -0.059295654296875, -0.017303466796875, 0.016326904296875, -0.0208587646484375, 0.004947662353515625, 0.003093719482421875, -0.09320068359375, 0.038482666015625, 0.00814056396484375, -0.00420379638671875, 0.0458984375, -0.0220184326171875, 0.0017442703247070312, -0.0175018310546875, -0.006580352783203125, -0.02166748046875, -0.032928466796875, -0.0228271484375, -0.00007867813110351562, 0.027435302734375, 0.03802490234375, -0.00875091552734375, 0.06268310546875, 0.024444580078125, -0.0055694580078125, -0.00020122528076171875, -0.043975830078125, -0.005168914794921875, 0.018402099609375, 0.058441162109375, 0.006099700927734375, 0.0213470458984375, -0.02618408203125, 0.047576904296875, -0.0108642578125, 0.038787841796875, 0.00736236572265625, -0.06207275390625, 0.01995849609375, 0.00699615478515625, 0.0241241455078125, -0.0157623291015625, -0.01367950439453125, 0.025909423828125, -0.005748748779296875, -0.01375579833984375, 0.01358795166015625, -0.005741119384765625, -0.018951416015625, -0.029205322265625, -0.0030765533447265625, -0.0277862548828125, -0.015106201171875, -0.018096923828125, 0.01195526123046875, 0.0071868896484375, 0.00666046142578125, -0.054107666015625, 0.0271759033203125, -0.006343841552734375, 0.0377197265625, -0.04290771484375, 0.04425048828125, 0.00223541259765625, 0.0219879150390625, -0.0543212890625, 0.00572967529296875, -0.0263519287109375, -0.0087890625, -0.024749755859375, 0.015289306640625, 0.0379638671875, -0.0228271484375, -0.0019969940185546875, 0.0257110595703125, 0.026458740234375, 0.0811767578125, 0.0031490325927734375, -0.0185699462890625, -0.01270294189453125, 0.005458831787109375, -0.0059661865234375, -0.027130126953125, 0.0227508544921875, -0.0316162109375, -0.049407958984375, -0.0022125244140625, -0.0233612060546875, -0.01058197021484375, -0.0552978515625, -0.09283447265625, 0.046661376953125, -0.0008530616760253906, -0.04376220703125, -0.031951904296875, -0.00022733211517333984, 0.0012187957763671875, 0.0335693359375, -0.006328582763671875, -0.021331787109375, -0.02557373046875, 0.01971435546875, 0.0008187294006347656, 0.053741455078125, 0.0081787109375, 0.0017595291137695312, -0.0148162841796875, 0.00919342041015625, 0.005619049072265625, 0.006977081298828125, -0.0185699462890625, 0.00218963623046875, -0.003936767578125, 0.035308837890625, -0.033294677734375, -0.03076171875, -0.004825592041015625, 0.0222625732421875, 0.042266845703125, -0.00910186767578125, -0.05120849609375, -0.032684326171875, 0.033294677734375, -0.036834716796875, 0.015655517578125, 0.0187530517578125, -0.0146942138671875, -0.028961181640625, -0.06500244140625, -0.02093505859375, 0.03472900390625, -0.08154296875, -0.0017385482788085938, 0.01080322265625, -0.01500701904296875, 0.005809783935546875, -0.0227508544921875, -0.04437255859375, -0.01311492919921875, -0.019073486328125, 0.00811004638671875, 0.000014483928680419922, -0.09442138671875, 0.04949951171875, -0.022308349609375, 0.00412750244140625, 0.0060882568359375, 0.055938720703125, 0.0135040283203125, 0.04339599609375, -0.0098724365234375, 0.01007080078125, -0.0408935546875, 0.00019681453704833984, 0.0018606185913085938, 0.00033092498779296875, -0.0174560546875, 0.003894805908203125, 0.029754638671875, 0.010528564453125, -0.0263519287109375, 0.013336181640625, 0.033782958984375, -0.01499176025390625, -0.0550537109375, 0.035369873046875, 0.006488800048828125, 0.004634857177734375, -0.022064208984375, 0.05975341796875, -0.031646728515625, -0.0212554931640625, -0.00971221923828125, -0.0367431640625, -0.00439453125, -0.02001953125, -0.045684814453125, -0.057952880859375, 0.00864410400390625, -0.0272979736328125, -0.0160980224609375, 0.0217132568359375 ]
784a7a719bddec1296fff55bba4430111cf0e47f
Wordpress Stackexchange Q: How disable SSL redirect for specific URL? I have a specific URL that has to be accessible without SSL, so that some old devices can access it. The reason is those old devices have the URL hardcoded. The URL is http://domain.com/server My .htaccess looks like this: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Redirect 301 /server http://sub.domain.com/server However, the devices can't even access the first URL because it keeps redirecting to https://domain.com/server A: Your URL http://domain.com/server should work without problems. Most likely you have activated an HTTPS redirection for your website. You should check: * *If you have a security or other type of plugin that forces the HTTPS redirection and deactivate the redirection. (Most likely they will edit your .htaccess file in order to force the HTTPS) *Check your .htaccess file for a custom snippet that forces the HTTPS redirection *Check your Hosting Settings. The HTTPS Redirection might be activated from there.
Q: How disable SSL redirect for specific URL? I have a specific URL that has to be accessible without SSL, so that some old devices can access it. The reason is those old devices have the URL hardcoded. The URL is http://domain.com/server My .htaccess looks like this: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Redirect 301 /server http://sub.domain.com/server However, the devices can't even access the first URL because it keeps redirecting to https://domain.com/server A: Your URL http://domain.com/server should work without problems. Most likely you have activated an HTTPS redirection for your website. You should check: * *If you have a security or other type of plugin that forces the HTTPS redirection and deactivate the redirection. (Most likely they will edit your .htaccess file in order to force the HTTPS) *Check your .htaccess file for a custom snippet that forces the HTTPS redirection *Check your Hosting Settings. The HTTPS Redirection might be activated from there.
wordpress
{ "language": "en", "length": 166, "provenance": "stackexchange_00019.jsonl.gz:500073", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354866" }
[ 0.06781005859375, 0.02508544921875, -0.002788543701171875, -0.017822265625, 0.005584716796875, -0.0286712646484375, 0.0186614990234375, -0.046600341796875, -0.01308441162109375, -0.004024505615234375, 0.00301361083984375, 0.00350189208984375, -0.029693603515625, -0.0584716796875, 0.037078857421875, -0.00946807861328125, 0.007251739501953125, -0.0015869140625, 0.0030994415283203125, -0.028961181640625, 0.00913238525390625, -0.00780487060546875, -0.0067138671875, 0.00978851318359375, -0.0240478515625, -0.0036907196044921875, 0.1278076171875, -0.0126495361328125, -0.0222320556640625, -0.035125732421875, 0.01253509521484375, -0.005275726318359375, 0.0188446044921875, 0.051055908203125, -0.07720947265625, -0.052032470703125, 0.0008349418640136719, 0.018890380859375, -0.0087738037109375, 0.0297698974609375, 0.00203704833984375, -0.007350921630859375, 0.04736328125, -0.0275726318359375, 0.02294921875, -0.0160064697265625, 0.0311737060546875, -0.0491943359375, 0.008209228515625, 0.037841796875, 0.005695343017578125, 0.02496337890625, 0.0161590576171875, -0.0165252685546875, -0.024322509765625, -0.0211181640625, 0.0208587646484375, 0.0174407958984375, 0.0092010498046875, -0.028656005859375, -0.0244903564453125, 0.049530029296875, 0.0015993118286132812, 0.0300140380859375, 0.003269195556640625, -0.01556396484375, -0.00446319580078125, 0.02093505859375, -0.05596923828125, -0.021759033203125, 0.04974365234375, -0.0380859375, 0.01464080810546875, -0.01434326171875, -0.00791168212890625, 0.006778717041015625, 0.020355224609375, 0.02423095703125, 0.01165771484375, -0.004673004150390625, 0.0024929046630859375, 0.01055145263671875, -0.025665283203125, -0.03094482421875, 0.0293426513671875, 0.0008349418640136719, -0.00838470458984375, -0.01837158203125, -0.022430419921875, -0.01317596435546875, -0.0224456787109375, 0.0035343170166015625, -0.0028133392333984375, -0.01325225830078125, -0.0261077880859375, -0.032318115234375, 0.049774169921875, 0.05194091796875, 0.0171051025390625, -0.02838134765625, 0.010467529296875, -0.049896240234375, -0.031585693359375, -0.016387939453125, -0.0242156982421875, 0.050018310546875, 0.0165557861328125, 0.0241241455078125, 0.0236358642578125, 0.01251220703125, 0.0164947509765625, 0.00890350341796875, -0.04058837890625, -0.0025730133056640625, -0.036346435546875, 0.04461669921875, -0.045562744140625, -0.028106689453125, -0.033966064453125, 0.032073974609375, -0.0028896331787109375, 0.06402587890625, -0.0225982666015625, -0.040924072265625, -0.01178741455078125, -0.024322509765625, 0.0027675628662109375, -0.03948974609375, 0.01549530029296875, 0.0035610198974609375, -0.047698974609375, 0.006679534912109375, 0.05426025390625, 0.0259552001953125, 0.0148468017578125, -0.015472412109375, 0.034881591796875, 0.0022487640380859375, -0.0267486572265625, 0.0188140869140625, 0.01250457763671875, -0.040435791015625, -0.00820159912109375, -0.0034637451171875, 0.01482391357421875, 0.027801513671875, 0.004428863525390625, 0.0239410400390625, 0.018341064453125, -0.054901123046875, 0.01654052734375, -0.0287322998046875, 0.046539306640625, 0.0034160614013671875, -0.0267486572265625, -0.01377105712890625, 0.02716064453125, -0.0183258056640625, -0.0625, -0.04638671875, 0.024383544921875, -0.0001348257064819336, 0.0230865478515625, -0.017425537109375, -0.016204833984375, -0.0174102783203125, -0.036712646484375, -0.004123687744140625, 0.0214080810546875, 0.0163116455078125, 0.004924774169921875, -0.0180511474609375, -0.0082244873046875, 0.031982421875, 0.0133209228515625, 0.035980224609375, 0.0064849853515625, 0.017913818359375, 0.0107269287109375, 0.0517578125, 0.0195159912109375, -0.0249786376953125, 0.044189453125, 0.007236480712890625, -0.055267333984375, 0.08074951171875, -0.01142120361328125, 0.053192138671875, 0.00007617473602294922, -0.0007071495056152344, 0.01812744140625, 0.0343017578125, -0.052032470703125, 0.04443359375, -0.0022106170654296875, -0.06304931640625, -0.004322052001953125, -0.032196044921875, 0.00641632080078125, -0.0149688720703125, 0.0223541259765625, 0.006832122802734375, -0.0152587890625, 0.021881103515625, 0.00959014892578125, -0.002300262451171875, 0.01557159423828125, 0.00273895263671875, 0.032073974609375, 0.0228729248046875, 0.006092071533203125, 0.013336181640625, -0.01470947265625, -0.00594329833984375, -0.0291900634765625, 0.0045318603515625, -0.01303863525390625, 0.039306640625, -0.0026569366455078125, 0.03765869140625, 0.00618743896484375, -0.05303955078125, 0.00554656982421875, -0.0184478759765625, 0.0124969482421875, -0.01515960693359375, -0.005779266357421875, -0.0032482147216796875, 0.05438232421875, -0.0054931640625, 0.029815673828125, 0.002193450927734375, 0.0208892822265625, 0.019378662109375, -0.04815673828125, 0.020172119140625, -0.0095367431640625, -0.00499725341796875, -0.029022216796875, 0.039947509765625, 0.0282135009765625, 0.003429412841796875, -0.039276123046875, -0.0270233154296875, -0.022369384765625, -0.0877685546875, -0.019073486328125, 0.00270843505859375, 0.005462646484375, -0.0210723876953125, -0.0025005340576171875, -0.0345458984375, 0.047271728515625, -0.005458831787109375, 0.003387451171875, 0.0390625, -0.0051422119140625, -0.0241851806640625, 0.01568603515625, -0.004852294921875, 0.019622802734375, -0.004978179931640625, -0.04339599609375, 0.0009794235229492188, -0.005126953125, -0.0027332305908203125, 0.00557708740234375, 0.0005183219909667969, -0.0041351318359375, -0.005924224853515625, 0.006748199462890625, -0.08172607421875, -0.0172271728515625, 0.02984619140625, 0.06683349609375, -0.0207366943359375, -0.038970947265625, 0.01058197021484375, -0.01001739501953125, 0.01439666748046875, -0.0236053466796875, 0.0036468505859375, -0.00577545166015625, -0.01219940185546875, -0.032470703125, -0.052581787109375, 0.034698486328125, 0.0191802978515625, 0.004009246826171875, 0.033538818359375, 0.06964111328125, -0.0162506103515625, -0.0024700164794921875, -0.0247955322265625, -0.00785064697265625, -0.01502227783203125, 0.0008726119995117188, -0.03485107421875, 0.03704833984375, -0.022552490234375, 0.055419921875, 0.06951904296875, -0.0304107666015625, 0.04180908203125, 0.0160064697265625, -0.037841796875, 0.022552490234375, -0.025299072265625, -0.03717041015625, 0.00902557373046875, -0.09820556640625, -0.01558685302734375, 0.0216217041015625, -0.07342529296875, 0.035491943359375, -0.0215606689453125, -0.002353668212890625, -0.0207061767578125, -0.0882568359375, -0.039520263671875, -0.0338134765625, -0.033111572265625, 0.0291290283203125, 0.04083251953125, -0.0009336471557617188, -0.026214599609375, 0.069580078125, 0.0299530029296875, -0.0008449554443359375, -0.0205078125, -0.053131103515625, -0.051177978515625, -0.0830078125, 0.006988525390625, -0.00679779052734375, 0.0230255126953125, -0.0016775131225585938, -0.01064300537109375, -0.02142333984375, -0.0173187255859375, 0.0036029815673828125, -0.00004667043685913086, 0.010711669921875, -0.0124664306640625, -0.0418701171875, -0.0086822509765625, -0.0143890380859375, 0.003963470458984375, 0.0159912109375, -0.022979736328125, 0.038177490234375, -0.0150604248046875, 0.00008797645568847656, -0.019287109375, -0.0022678375244140625, -0.0406494140625, -0.01331329345703125, -0.03631591796875, -0.040496826171875, -0.05841064453125, -0.01064300537109375, -0.0198516845703125, -0.04840087890625, -0.0166473388671875, 0.023193359375, 0.0023937225341796875, -0.016357421875, -0.0057373046875, 0.0081329345703125, 0.00902557373046875, 0.0159149169921875, -0.041961669921875, 0.037994384765625, -0.0003752708435058594, 0.0155029296875, -0.041961669921875, 0.051910400390625, -0.00984954833984375, -0.0298919677734375, -0.0035247802734375, -0.01763916015625, -0.026092529296875, -0.01166534423828125, -0.07037353515625, -0.03466796875, 0.0112762451171875, -0.0615234375, 0.00023818016052246094, -0.0254058837890625, -0.0041961669921875, -0.021759033203125, 0.06439208984375, -0.0117034912109375, -0.0134124755859375, -0.0177154541015625, 0.005741119384765625, 0.01629638671875, -0.000476837158203125, -0.01010894775390625, -0.016387939453125, -0.10235595703125, -0.008392333984375, -0.0136260986328125, -0.053009033203125, 0.016754150390625, -0.0906982421875, -0.046905517578125, -0.0494384765625, 0.01525115966796875, 0.05084228515625, -0.0018777847290039062, -0.01126861572265625, 0.0022602081298828125, -0.01263427734375, -0.00475311279296875, -0.0042724609375, -0.033233642578125, -0.00777435302734375, 0.02008056640625, 0.0084686279296875, -0.01061248779296875, -0.01483154296875, 0.0151824951171875, 0.05096435546875, 0.0272674560546875, -0.0004265308380126953, 0.0212249755859375, -0.041473388671875, 0.0303497314453125, 0.07000732421875, 0.0255889892578125, 0.00601959228515625, -0.009490966796875, 0.01549530029296875, -0.019287109375, 0.047882080078125, 0.00763702392578125, 0.0001398324966430664, 0.050048828125, -0.054046630859375, -0.0882568359375, -0.0270538330078125, -0.03546142578125, 0.0010356903076171875, -0.01114654541015625, -0.0146942138671875, -0.0226898193359375, -0.0875244140625, 0.048004150390625, -0.03839111328125, -0.01056671142578125, 0.005260467529296875, 0.03778076171875, 0.0018787384033203125, -0.01410675048828125, 0.033477783203125, 0.005828857421875, 0.01381683349609375, 0.035675048828125, 0.033447265625, 0.0008287429809570312, -0.0013761520385742188, 0.03277587890625, -0.004360198974609375, 0.0280303955078125, -0.01003265380859375, -0.01381683349609375, -0.0162811279296875, -0.0308380126953125, 0.025970458984375, -0.004520416259765625, -0.00341033935546875, 0.06060791015625, 0.035430908203125, -0.00998687744140625, 0.028564453125, -0.02398681640625, -0.0085296630859375, -0.0361328125, 0.03271484375, -0.0154266357421875, 0.017120361328125, -0.00634765625, 0.03826904296875, 0.03875732421875, -0.0006260871887207031, 0.0266876220703125, 0.018310546875, -0.0014095306396484375, -0.042266845703125, 0.0011539459228515625, -0.0269317626953125, 0.04327392578125, -0.069580078125, -0.0194244384765625, -0.0201416015625, -0.0086669921875, 0.056365966796875, 0.023101806640625, -0.036773681640625, 0.007762908935546875, 0.005207061767578125, -0.0535888671875, 0.01486968994140625, -0.035003662109375, 0.0204925537109375, -0.0117950439453125, -0.01800537109375, -0.004852294921875, -0.023040771484375, -0.05584716796875, -0.03961181640625, 0.037567138671875, 0.01366424560546875, 0.001468658447265625, 0.02471923828125, 0.06927490234375, 0.05718994140625, 0.0286712646484375, -0.02447509765625, 0.006214141845703125, 0.0271759033203125, -0.0261077880859375, 0.0218353271484375, 0.049285888671875, -0.01045989990234375, -0.052093505859375, 0.0216064453125, -0.04095458984375, -0.0285797119140625, 0.0161285400390625, 0.061553955078125, 0.0246734619140625, 0.0006585121154785156, 0.013397216796875, -0.0013380050659179688, -0.0170135498046875, 0.06561279296875, 0.021392822265625, -0.06585693359375, -0.0290374755859375, -0.01203155517578125, 0.034820556640625, -0.024566650390625, -0.039337158203125, 0.02923583984375, -0.03753662109375, 0.04034423828125, 0.0261383056640625, -0.0252838134765625, 0.016571044921875, 0.01209259033203125, -0.01041412353515625, -0.030364990234375, -0.020599365234375, 0.028656005859375, 0.0020904541015625, -0.02978515625, 0.00067138671875, 0.035400390625, -0.03265380859375, 0.01287841796875, 0.02056884765625, -0.01324462890625, 0.02593994140625, 0.030029296875, 0.00548553466796875, 0.0005764961242675781, -0.0648193359375, 0.00772857666015625, -0.03741455078125, -0.004669189453125, 0.01155853271484375, -0.01995849609375, -0.02130126953125, -0.035125732421875, 0.032684326171875, 0.0303192138671875, -0.01171112060546875, -0.039581298828125, -0.030242919921875, -0.00716400146484375, 0.032470703125, 0.036529541015625, 0.002201080322265625, 0.05059814453125, -0.048797607421875, 0.053436279296875, -0.00246429443359375, 0.04791259765625, 0.0022449493408203125, -0.02850341796875, 0.019287109375, -0.031524658203125, -0.029144287109375, -0.0301513671875, -0.0015306472778320312, 0.0004096031188964844, 0.035003662109375, -0.01477813720703125, -0.0160980224609375, 0.00984954833984375, 0.01788330078125, -0.0208892822265625, -0.00836944580078125, 0.00658416748046875, 0.01332855224609375, -0.0157623291015625, 0.0038242340087890625, 0.012054443359375, -0.0263519287109375, -0.011627197265625, 0.0004131793975830078, -0.00598907470703125, -0.01186370849609375, 0.0367431640625, -0.041839599609375, 0.0015239715576171875, 0.06951904296875, 0.0296630859375, 0.07855224609375, 0.0270233154296875, 0.0194549560546875, 0.058624267578125, -0.0275726318359375, -0.070068359375, 0.0038280487060546875, -0.01543426513671875, -0.01432037353515625, -0.0062408447265625, 0.00856781005859375, -0.006229400634765625, 0.01018524169921875, 0.09716796875, 0.0677490234375, -0.106201171875, -0.0031719207763671875, 0.017913818359375, -0.015655517578125, -0.008636474609375, -0.005817413330078125, 0.00014317035675048828, -0.0008788108825683594, -0.01132965087890625, -0.00891876220703125, -0.04681396484375, -0.0265960693359375, 0.0279693603515625, -0.024078369140625, -0.01390838623046875, 0.0270843505859375, 0.003421783447265625, -0.0226287841796875, 0.0009465217590332031, 0.01303863525390625, -0.003726959228515625, 0.0129547119140625, 0.036468505859375, -0.01477813720703125, -0.0189056396484375, -0.055206298828125, -0.033355712890625, -0.0023651123046875, -0.043914794921875, 0.004150390625, 0.003143310546875, 0.033721923828125, 0.0777587890625, -0.01494598388671875, -0.0006098747253417969, 0.067626953125, -0.0411376953125, 0.031890869140625, -0.030914306640625, -0.01148223876953125, 0.005023956298828125, 0.007091522216796875, 0.004634857177734375, 0.0286865234375, -0.04278564453125, 0.004283905029296875, 0.004669189453125, 0.01544189453125, -0.0007281303405761719, -0.0227813720703125, 0.035125732421875, 0.01396942138671875, -0.0198211669921875, -0.0296630859375, 0.051422119140625, 0.0281524658203125, 0.059967041015625, -0.022064208984375, 0.036651611328125, -0.0372314453125, -0.059722900390625, -0.044403076171875, 0.05316162109375, -0.0266265869140625, 0.028533935546875, 0.0236053466796875, 0.0213470458984375, -0.0088958740234375, 0.004749298095703125, 0.0137176513671875, 0.030670166015625, -0.0023059844970703125, 0.006702423095703125, -0.014892578125, -0.01678466796875, 0.00806427001953125, 0.0682373046875, 0.07257080078125, 0.0155792236328125, -0.04693603515625, 0.0231170654296875, 0.0665283203125, 0.017547607421875, -0.015106201171875, 0.059600830078125, -0.03375244140625, 0.01163482666015625, 0.04937744140625, -0.029449462890625, 0.0147552490234375, 0.025360107421875, -0.038818359375, -0.0221099853515625, 0.018341064453125, -0.0090789794921875, 0.0189056396484375, -0.021331787109375, -0.04815673828125, 0.03302001953125, 0.032073974609375, 0.041229248046875, 0.01094818115234375, -0.0225067138671875, -0.00962066650390625, -0.050140380859375, 0.0171356201171875, -0.035858154296875, 0.0372314453125, -0.00656890869140625, -0.03076171875, 0.0013675689697265625, 0.01739501953125, -0.020965576171875, 0.01396942138671875, -0.003742218017578125, 0.047027587890625, -0.036865234375, 0.0007686614990234375, 0.0129241943359375, 0.017822265625, 0.0132293701171875, 0.0247802734375, 0.0012044906616210938, 0.00183868408203125, -0.027496337890625, -0.027862548828125, -0.01316070556640625, -0.0134429931640625, 0.038848876953125, -0.0175628662109375, 0.03985595703125, -0.0162506103515625, -0.048583984375, 0.00792694091796875, 0.023529052734375, 0.0216522216796875, -0.02685546875, 0.0020122528076171875, 0.044464111328125, -0.045318603515625, 0.054779052734375, -0.0165863037109375, -0.0302886962890625, 0.0292510986328125, 0.042449951171875, 0.00852203369140625, 0.0556640625, -0.004528045654296875, -0.029296875, -0.007476806640625, 0.0226898193359375, 0.0025043487548828125, -0.0018215179443359375, -0.033843994140625, -0.054290771484375, 0.01212310791015625, 0.0560302734375, 0.042205810546875, -0.00591278076171875, 0.035888671875, 0.01959228515625, -0.01543426513671875, 0.01302337646484375, 0.057373046875, -0.0073699951171875, 0.051849365234375, -0.033294677734375, 0.0077362060546875, 0.0020160675048828125, -0.01027679443359375, -0.0091400146484375, -0.0367431640625, 0.050750732421875, 0.01177215576171875, 0.0222930908203125, 0.003101348876953125, 0.00760650634765625, 0.018402099609375, -0.0264434814453125, 0.027618408203125, 0.0233154296875, 0.00321197509765625, 0.0164031982421875, 0.01007080078125, -0.04510498046875, 0.00559234619140625, 0.03302001953125, -0.003131866455078125, 0.005023956298828125, 0.0151214599609375, -0.0146484375, 0.04010009765625, -0.016510009765625, 0.0003871917724609375, 0.027374267578125, 0.01313018798828125, 0.0077667236328125, -0.0010671615600585938, -0.0092926025390625, 0.034942626953125, 0.0301971435546875, -0.0178985595703125, 0.1005859375, -0.051788330078125, -0.0009870529174804688, -0.00899505615234375, -0.0127716064453125, 0.02496337890625, 0.016143798828125, -0.037841796875, 0.02423095703125, 0.016326904296875, -0.0093994140625, -0.09771728515625, 0.0677490234375, -0.0099334716796875, 0.02252197265625, 0.07843017578125, 0.0014982223510742188, -0.01067352294921875, -0.01253509521484375, -0.038177490234375, -0.053955078125, -0.09576416015625, -0.032257080078125, 0.058685302734375, -0.056854248046875, 0.0020389556884765625, -0.0101470947265625, 0.0085296630859375, -0.057586669921875, -0.04705810546875, -0.0050048828125, -0.04327392578125, -0.044525146484375, 0.01413726806640625, -0.00396728515625, -0.0153656005859375, 0.01107025146484375, -0.01425933837890625, 0.006458282470703125, -0.0036029815673828125, 0.00028824806213378906, 0.00382232666015625, -0.0021343231201171875, -0.053375244140625, 0.0007395744323730469, -0.0084228515625, -0.0029659271240234375, -0.00984954833984375, 0.01558685302734375, -0.040924072265625, -0.033538818359375, -0.0118255615234375, 0.0034236907958984375, 0.0256805419921875, -0.0229034423828125, 0.010528564453125, 0.0206146240234375, -0.0260009765625, 0.0116729736328125, -0.0236358642578125, 0.04266357421875, -0.00832366943359375, -0.047943115234375, -0.0077972412109375, -0.048980712890625, 0.0670166015625, -0.04522705078125, 0.054931640625, 0.0118560791015625, 0.0218505859375, -0.07672119140625, -0.015869140625, -0.01149749755859375, 0.022613525390625, -0.0232086181640625, 0.01617431640625, 0.05780029296875, -0.024566650390625, -0.012420654296875, -0.01052093505859375, 0.000965118408203125, 0.0240325927734375, -0.06103515625, 0.0116424560546875, 0.023590087890625, 0.0141143798828125, -0.0650634765625, -0.0214691162109375, 0.020660400390625, -0.0050201416015625, -0.03271484375, -0.0036754608154296875, 0.00539398193359375, 0.01348114013671875, -0.0311279296875, -0.045806884765625, 0.03076171875, 0.009063720703125, -0.0204620361328125, -0.024078369140625, 0.00244140625, -0.0266571044921875, 0.07122802734375, 0.006832122802734375, -0.01369476318359375, -0.003925323486328125, 0.02130126953125, 0.0013475418090820312, 0.0572509765625, -0.037506103515625, 0.034912109375, -0.0242767333984375, 0.042510986328125, 0.021392822265625, 0.00092315673828125, -0.01459503173828125, 0.0027370452880859375, 0.03839111328125, 0.053558349609375, 0.006137847900390625, 0.05572509765625, 0.0273590087890625, -0.037017822265625, 0.003948211669921875, -0.0269012451171875, -0.01065826416015625, -0.047943115234375, 0.0310821533203125, 0.01025390625, 0.0018901824951171875, 0.006885528564453125, -0.0867919921875, -0.041900634765625, 0.035858154296875, -0.018524169921875, 0.009552001953125, -0.066650390625, 0.01026153564453125, -0.00787353515625, -0.01035308837890625, -0.0059051513671875, 0.01873779296875, -0.0284423828125, 0.021331787109375, 0.031097412109375, -0.025604248046875, -0.00533294677734375, 0.050567626953125, 0.054351806640625, -0.037445068359375, -0.0114898681640625, -0.021026611328125, 0.0213470458984375, -0.00537872314453125, -0.08013916015625, 0.033233642578125, 0.018157958984375, 0.002094268798828125, 0.01409912109375, 0.02392578125, -0.0211944580078125, -0.010833740234375, -0.024322509765625, -0.01629638671875, 0.001251220703125, 0.01751708984375, -0.005817413330078125, -0.002559661865234375, 0.0016326904296875, 0.0010747909545898438, 0.022186279296875, 0.0010585784912109375, -0.036865234375, -0.0313720703125, 0.062469482421875, 0.0254058837890625, -0.034515380859375, 0.03448486328125, -0.0185699462890625, 0.021759033203125, 0.03045654296875, 0.0132598876953125, 0.0022640228271484375, 0.00962066650390625, -0.051300048828125, -0.00826263427734375, -0.01092529296875 ]
2c06e03b9b902cfbe469c344c2212b2ee69e5743
Wordpress Stackexchange Q: Does the debug.log do log rotation? This is more like of an inquiry. So I enabled my WP_DEBUG_LOG to true. It does work though, debug.log is in my wp-content's directory. But does it also do log rotation like different file for each day? Example: Today's file - debug.log Yesterday's - 2019-12-18-101010-debug.log Does it work like this? Or just debug.log all through out? A: No, it creates only one file. There is no log rotation involved. But... Sometimes “but” can be a good thing ;) WP uses error_log for its debug log, so you can change its location using: ini_set( 'error_log', WP_CONTENT_DIR . '/debug-' . date('Y-m-d') . '.log' );
Q: Does the debug.log do log rotation? This is more like of an inquiry. So I enabled my WP_DEBUG_LOG to true. It does work though, debug.log is in my wp-content's directory. But does it also do log rotation like different file for each day? Example: Today's file - debug.log Yesterday's - 2019-12-18-101010-debug.log Does it work like this? Or just debug.log all through out? A: No, it creates only one file. There is no log rotation involved. But... Sometimes “but” can be a good thing ;) WP uses error_log for its debug log, so you can change its location using: ini_set( 'error_log', WP_CONTENT_DIR . '/debug-' . date('Y-m-d') . '.log' );
wordpress
{ "language": "en", "length": 109, "provenance": "stackexchange_00019.jsonl.gz:500096", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/354929" }
[ 0.01861572265625, -0.026885986328125, -0.0208587646484375, -0.06610107421875, -0.01213836669921875, -0.01061248779296875, -0.023040771484375, 0.0168609619140625, 0.0168914794921875, 0.028533935546875, -0.0041351318359375, -0.037445068359375, 0.0024242401123046875, -0.012451171875, -0.046051025390625, -0.0343017578125, 0.041168212890625, -0.007755279541015625, 0.0262298583984375, -0.0001214146614074707, 0.00732421875, 0.027862548828125, -0.004940032958984375, 0.10540771484375, 0.03662109375, 0.01035308837890625, 0.042083740234375, -0.031982421875, 0.049102783203125, 0.0022296905517578125, 0.0294342041015625, -0.0531005859375, 0.0521240234375, 0.030975341796875, -0.09210205078125, 0.03948974609375, 0.01470947265625, -0.006046295166015625, -0.0256805419921875, 0.053955078125, 0.01399993896484375, 0.0096588134765625, 0.038116455078125, -0.0236663818359375, -0.0081787109375, -0.01300048828125, -0.00015115737915039062, -0.03387451171875, 0.010833740234375, 0.0079345703125, 0.01549530029296875, -0.0172271728515625, 0.0258331298828125, 0.007720947265625, -0.032073974609375, -0.049957275390625, -0.09991455078125, 0.10455322265625, 0.00719451904296875, 0.01032257080078125, 0.01433563232421875, 0.030670166015625, -0.01111602783203125, 0.012481689453125, -0.0021038055419921875, 0.006336212158203125, 0.0110626220703125, -0.0054168701171875, -0.024749755859375, 0.0230865478515625, 0.05279541015625, -0.044891357421875, -0.020599365234375, 0.0009045600891113281, -0.005008697509765625, -0.04034423828125, 0.0200653076171875, -0.048065185546875, 0.00119781494140625, 0.036407470703125, -0.007541656494140625, -0.05731201171875, 0.01116180419921875, 0.007717132568359375, -0.0092620849609375, 0.01218414306640625, -0.006923675537109375, 0.007648468017578125, -0.01214599609375, -0.006320953369140625, -0.0179901123046875, 0.027587890625, -0.011932373046875, 0.009765625, -0.035980224609375, -0.006542205810546875, 0.0012121200561523438, 0.01335906982421875, -0.0250244140625, -0.03759765625, -0.007007598876953125, -0.012054443359375, -0.06463623046875, 0.006923675537109375, 0.01499176025390625, 0.0194091796875, 0.0026950836181640625, -0.05706787109375, 0.022308349609375, 0.0118408203125, -0.01593017578125, 0.0655517578125, 0.006195068359375, -0.06573486328125, 0.00745391845703125, 0.07550048828125, 0.03448486328125, 0.0299224853515625, 0.03253173828125, 0.0312347412109375, 0.020721435546875, 0.05108642578125, -0.0249481201171875, -0.043060302734375, -0.00025153160095214844, -0.02410888671875, -0.01934814453125, -0.01015472412109375, 0.010955810546875, 0.03057861328125, -0.019622802734375, 0.0099029541015625, 0.00910186767578125, -0.014190673828125, -0.01149749755859375, -0.0174713134765625, -0.0186767578125, -0.0499267578125, -0.015533447265625, 0.03729248046875, -0.004901885986328125, -0.06060791015625, -0.02032470703125, -0.0113525390625, -0.0139007568359375, 0.00890350341796875, 0.00948333740234375, 0.02294921875, 0.004741668701171875, -0.0241241455078125, -0.0162353515625, 0.00856781005859375, -0.01070404052734375, -0.0101165771484375, 0.06695556640625, -0.054962158203125, 0.016632080078125, -0.04229736328125, 0.0540771484375, -0.0058135986328125, -0.021209716796875, -0.0027332305908203125, -0.0036754608154296875, -0.03717041015625, -0.0289154052734375, -0.006504058837890625, 0.0031604766845703125, 0.004154205322265625, 0.0223846435546875, 0.038909912109375, 0.023468017578125, -0.00023424625396728516, -0.004505157470703125, -0.0168914794921875, -0.0177154541015625, -0.005992889404296875, -0.031585693359375, -0.0236968994140625, 0.0278167724609375, -0.002902984619140625, -0.0092315673828125, -0.01849365234375, -0.004535675048828125, 0.0169677734375, 0.007022857666015625, -0.0130157470703125, 0.0196075439453125, -0.0013914108276367188, -0.01226806640625, 0.01513671875, 0.0023212432861328125, 0.0249176025390625, -0.035491943359375, 0.04730224609375, 0.0178680419921875, -0.0228118896484375, -0.04425048828125, -0.020172119140625, -0.00321197509765625, -0.0308837890625, -0.024688720703125, 0.01488494873046875, -0.00351715087890625, -0.003833770751953125, -0.0911865234375, 0.0190277099609375, -0.03582763671875, 0.066162109375, 0.026824951171875, 0.0037479400634765625, -0.003833770751953125, 0.029083251953125, -0.0023174285888671875, -0.02679443359375, -0.0347900390625, 0.05511474609375, -0.0180206298828125, 0.0214691162109375, -0.02569580078125, 0.033843994140625, -0.03369140625, 0.00354766845703125, -0.033355712890625, -0.005153656005859375, 0.063720703125, 0.0125579833984375, -0.01049041748046875, -0.01904296875, 0.088134765625, 0.01198577880859375, -0.01824951171875, 0.0267333984375, 0.0279693603515625, 0.0300750732421875, -0.021881103515625, -0.027557373046875, -0.0188140869140625, -0.08905029296875, 0.0235595703125, 0.07012939453125, 0.03411865234375, 0.031494140625, 0.01450347900390625, 0.0310211181640625, -0.0109405517578125, -0.059478759765625, 0.03466796875, -0.004039764404296875, -0.012725830078125, 0.0130462646484375, -0.0095977783203125, 0.012725830078125, 0.0288543701171875, -0.003910064697265625, 0.0131378173828125, 0.025543212890625, 0.0166778564453125, -0.0313720703125, -0.035736083984375, 0.039642333984375, 0.0015106201171875, 0.01165771484375, -0.019073486328125, 0.01279449462890625, -0.0572509765625, -0.01253509521484375, -0.032318115234375, -0.0159912109375, -0.01010894775390625, -0.01168060302734375, 0.037628173828125, 0.0026302337646484375, -0.0021495819091796875, 0.0185394287109375, -0.02996826171875, 0.0484619140625, -0.0209503173828125, 0.01018524169921875, -0.00745391845703125, 0.0204925537109375, -0.0400390625, 0.017730712890625, -0.0012559890747070312, -0.0212860107421875, -0.0086822509765625, -0.04962158203125, -0.0018053054809570312, -0.060577392578125, -0.0081329345703125, -0.0141143798828125, -0.0016336441040039062, 0.05517578125, -0.0256195068359375, 0.043548583984375, 0.01300048828125, -0.01050567626953125, 0.002109527587890625, -0.03411865234375, 0.02838134765625, -0.019195556640625, 0.023345947265625, 0.0732421875, 0.004146575927734375, 0.0017843246459960938, -0.0005583763122558594, 0.040435791015625, 0.01021575927734375, -0.023681640625, -0.0206298828125, 0.017059326171875, -0.051727294921875, 0.0241241455078125, 0.008544921875, 0.025390625, -0.0165252685546875, -0.041168212890625, -0.01328277587890625, 0.0186767578125, -0.06964111328125, -0.059295654296875, -0.08514404296875, -0.08831787109375, 0.04254150390625, -0.0021266937255859375, -0.0288848876953125, -0.0106201171875, 0.03472900390625, 0.041351318359375, 0.00012302398681640625, -0.0214996337890625, -0.0195770263671875, -0.033203125, -0.0286712646484375, 0.005985260009765625, 0.0019378662109375, 0.0008883476257324219, 0.0016632080078125, 0.02459716796875, 0.002880096435546875, -0.0313720703125, -0.004604339599609375, 0.034210205078125, -0.006664276123046875, -0.005298614501953125, -0.020172119140625, -0.016876220703125, 0.03253173828125, -0.00719451904296875, -0.0249786376953125, 0.0039520263671875, 0.0290679931640625, -0.027618408203125, 0.0030345916748046875, 0.0035915374755859375, 0.0132293701171875, -0.039886474609375, 0.003131866455078125, 0.003536224365234375, -0.0240631103515625, -0.056121826171875, 0.0220794677734375, -0.017852783203125, -0.030303955078125, 0.00481414794921875, 0.009368896484375, -0.007198333740234375, 0.0042572021484375, -0.039031982421875, 0.03448486328125, 0.0253143310546875, 0.031158447265625, -0.021514892578125, 0.0162506103515625, 0.0044403076171875, -0.005489349365234375, -0.03741455078125, 0.0246734619140625, -0.03021240234375, -0.03167724609375, -0.01009368896484375, -0.037353515625, -0.0396728515625, 0.016326904296875, -0.0240020751953125, 0.0191650390625, 0.024383544921875, -0.01210784912109375, -0.0032253265380859375, 0.01259613037109375, -0.0104827880859375, -0.006778717041015625, 0.017242431640625, -0.03973388671875, -0.00119781494140625, 0.00901031494140625, 0.0175933837890625, -0.044281005859375, -0.039459228515625, -0.0797119140625, 0.0076446533203125, -0.044525146484375, -0.0030612945556640625, 0.01021575927734375, -0.04150390625, -0.0159454345703125, -0.0292510986328125, -0.05316162109375, -0.038726806640625, 0.00881195068359375, 0.0318603515625, 0.03900146484375, -0.01837158203125, 0.059814453125, 0.00850677490234375, 0.0263214111328125, -0.0307769775390625, -0.08892822265625, -0.0189971923828125, -0.0279388427734375, 0.08251953125, 0.033111572265625, -0.019256591796875, -0.0174407958984375, 0.048492431640625, -0.0225372314453125, -0.0034961700439453125, 0.03143310546875, 0.0230712890625, -0.016021728515625, 0.048980712890625, 0.04150390625, 0.0012426376342773438, 0.003513336181640625, -0.045562744140625, -0.0275726318359375, -0.00714111328125, -0.037200927734375, 0.0299835205078125, -0.0199737548828125, 0.005474090576171875, 0.0027103424072265625, -0.004268646240234375, -0.0195465087890625, 0.0072479248046875, -0.00505828857421875, -0.0192108154296875, 0.0012426376342773438, 0.0007143020629882812, 0.0120697021484375, -0.021087646484375, -0.0165252685546875, 0.00843048095703125, 0.07635498046875, 0.03314208984375, 0.00868988037109375, -0.04510498046875, 0.01010894775390625, 0.017913818359375, -0.0286712646484375, 0.06427001953125, 0.03167724609375, 0.015838623046875, 0.00643157958984375, -0.0196075439453125, 0.00588226318359375, -0.0618896484375, 0.0465087890625, -0.01288604736328125, 0.0029888153076171875, 0.005523681640625, -0.0496826171875, 0.07415771484375, 0.038848876953125, -0.02496337890625, 0.031463623046875, 0.011077880859375, 0.021697998046875, -0.04486083984375, -0.006259918212890625, -0.039794921875, -0.0231170654296875, 0.0007233619689941406, -0.0079803466796875, 0.0555419921875, 0.03662109375, -0.004573822021484375, 0.036834716796875, 0.06317138671875, -0.005825042724609375, 0.04010009765625, 0.056060791015625, -0.000934600830078125, 0.0118255615234375, 0.08001708984375, -0.0091094970703125, -0.0239410400390625, -0.01204681396484375, 0.03460693359375, 0.023101806640625, -0.05816650390625, 0.049713134765625, -0.006786346435546875, -0.031280517578125, 0.0178680419921875, -0.050689697265625, 0.04949951171875, 0.0250396728515625, -0.0091094970703125, 0.023834228515625, -0.0523681640625, -0.0254974365234375, -0.04266357421875, 0.016815185546875, -0.061676025390625, 0.002117156982421875, 0.039093017578125, -0.0150909423828125, -0.0841064453125, 0.0396728515625, 0.006282806396484375, -0.004047393798828125, -0.03314208984375, 0.051116943359375, 0.0169219970703125, -0.032379150390625, 0.01551055908203125, 0.01100921630859375, 0.0352783203125, -0.0229644775390625, 0.010162353515625, 0.007442474365234375, 0.0068206787109375, -0.0153656005859375, -0.032073974609375, 0.03680419921875, -0.01409149169921875, 0.00043082237243652344, 0.015716552734375, -0.01061248779296875, -0.05120849609375, 0.01215362548828125, 0.0003008842468261719, -0.0076904296875, -0.058074951171875, 0.043365478515625, -0.032470703125, 0.01410675048828125, -0.0086212158203125, -0.027923583984375, 0.0023345947265625, -0.042083740234375, -0.0278167724609375, -0.06549072265625, -0.02630615234375, 0.0127105712890625, -0.02386474609375, -0.017303466796875, -0.0032482147216796875, -0.0382080078125, 0.0167999267578125, -0.0433349609375, 0.006412506103515625, -0.01552581787109375, 0.00982666015625, 0.01190185546875, 0.0170135498046875, 0.027923583984375, 0.01128387451171875, -0.01555633544921875, 0.01605224609375, -0.0404052734375, -0.033721923828125, -0.0006270408630371094, -0.0020313262939453125, -0.04791259765625, -0.010406494140625, 0.016265869140625, 0.0093994140625, 0.0003857612609863281, -0.02105712890625, -0.019134521484375, 0.00615692138671875, 0.0145721435546875, 0.00595855712890625, 0.0050506591796875, 0.04864501953125, -0.035736083984375, -0.00856781005859375, 0.0135955810546875, 0.055206298828125, -0.0032806396484375, -0.01324462890625, 0.01172637939453125, 0.05401611328125, -0.0288848876953125, -0.03985595703125, 0.01971435546875, -0.008880615234375, 0.09197998046875, -0.0269012451171875, 0.006572723388671875, -0.01342010498046875, -0.004436492919921875, -0.00399017333984375, 0.022308349609375, 0.0034351348876953125, 0.00689697265625, 0.01468658447265625, 0.007415771484375, -0.023773193359375, -0.0281524658203125, 0.033447265625, -0.050994873046875, 0.0234222412109375, -0.045166015625, -0.026763916015625, 0.0013093948364257812, 0.020599365234375, 0.08642578125, 0.006008148193359375, 0.04608154296875, 0.041015625, -0.0032978057861328125, -0.00036454200744628906, 0.029205322265625, 0.0062713623046875, 0.0260162353515625, 0.042266845703125, 0.005748748779296875, -0.00023794174194335938, 0.00122833251953125, -0.0162811279296875, 0.0138092041015625, 0.061065673828125, 0.037261962890625, -0.07147216796875, 0.007904052734375, 0.00801849365234375, 0.001308441162109375, 0.043182373046875, -0.005092620849609375, 0.041473388671875, 0.059417724609375, -0.005069732666015625, -0.0219268798828125, -0.0213623046875, -0.0031375885009765625, -0.02117919921875, 0.0155792236328125, 0.004055023193359375, 0.0294342041015625, -0.0016489028930664062, -0.054718017578125, -0.015869140625, 0.024658203125, -0.015716552734375, -0.0298004150390625, -0.016815185546875, -0.006725311279296875, -0.028106689453125, -0.061248779296875, -0.0004916191101074219, -0.01397705078125, 0.0220184326171875, -0.027740478515625, 0.026336669921875, 0.038665771484375, 0.0328369140625, -0.0006756782531738281, -0.025787353515625, 0.0200042724609375, 0.0212249755859375, -0.0188751220703125, -0.003406524658203125, 0.052001953125, 0.0168914794921875, -0.06146240234375, 0.01253509521484375, -0.036224365234375, -0.0017566680908203125, -0.0129241943359375, -0.06707763671875, 0.05108642578125, -0.029693603515625, 0.004261016845703125, 0.00768280029296875, 0.0010509490966796875, -0.00794219970703125, -0.0035114288330078125, 0.029266357421875, -0.06427001953125, -0.03863525390625, 0.0213470458984375, -0.029815673828125, -0.0237579345703125, 0.0034198760986328125, -0.0208282470703125, 0.09710693359375, -0.0166168212890625, 0.00013053417205810547, 0.0270538330078125, 0.0305023193359375, -0.03790283203125, 0.0247344970703125, -0.01082611083984375, 0.06329345703125, 0.0309295654296875, 0.06817626953125, -0.07501220703125, -0.04022216796875, 0.039337158203125, 0.09320068359375, -0.00995635986328125, -0.0079345703125, -0.023651123046875, 0.0022945404052734375, 0.06341552734375, 0.011688232421875, 0.029449462890625, 0.045623779296875, -0.0248260498046875, 0.03564453125, 0.0200958251953125, -0.06402587890625, 0.0157928466796875, -0.0044708251953125, -0.031890869140625, 0.017333984375, 0.0015497207641601562, -0.01369476318359375, 0.0034332275390625, 0.025543212890625, -0.0192718505859375, 0.004390716552734375, 0.0008339881896972656, 0.026947021484375, -0.0116119384765625, 0.03363037109375, 0.042327880859375, -0.06414794921875, -0.05926513671875, -0.02081298828125, 0.0272369384765625, 0.0129852294921875, -0.03363037109375, 0.01027679443359375, 0.0172119140625, -0.0540771484375, -0.054962158203125, -0.038543701171875, 0.004535675048828125, -0.04241943359375, -0.004520416259765625, 0.04150390625, 0.0205230712890625, 0.030426025390625, 0.016387939453125, 0.011810302734375, 0.0034542083740234375, -0.0219268798828125, -0.060546875, 0.0007238388061523438, -0.00771331787109375, 0.02215576171875, -0.01540374755859375, -0.0086212158203125, -0.0469970703125, -0.00628662109375, -0.016326904296875, -0.0196685791015625, 0.009246826171875, -0.0042266845703125, 0.0109710693359375, 0.04339599609375, 0.0106658935546875, -0.027679443359375, -0.033203125, 0.01442718505859375, 0.020965576171875, 0.059234619140625, 0.032135009765625, 0.010894775390625, -0.013580322265625, -0.0260467529296875, -0.00402069091796875, 0.00960540771484375, -0.0231475830078125, 0.005413055419921875, -0.047576904296875, -0.03546142578125, -0.0124359130859375, 0.0421142578125, 0.04345703125, 0.03369140625, 0.040435791015625, 0.0141754150390625, 0.005718231201171875, 0.01058197021484375, 0.009979248046875, -0.0119476318359375, -0.034881591796875, -0.046722412109375, 0.01270294189453125, 0.0265045166015625, 0.012176513671875, 0.04248046875, 0.00975799560546875, 0.0186614990234375, 0.01306915283203125, -0.018157958984375, 0.016510009765625, -0.022979736328125, 0.033477783203125, -0.01161956787109375, 0.01241302490234375, 0.0263519287109375, -0.039886474609375, -0.01403045654296875, -0.014312744140625, 0.0012340545654296875, -0.0172119140625, 0.035400390625, 0.031463623046875, 0.01064300537109375, 0.016143798828125, 0.01641845703125, -0.05078125, -0.0045623779296875, 0.0035343170166015625, -0.06890869140625, 0.019317626953125, -0.01461029052734375, -0.08575439453125, -0.05718994140625, -0.046295166015625, 0.0223846435546875, 0.01561737060546875, 0.0216064453125, 0.04461669921875, 0.0277252197265625, 0.00862884521484375, -0.004894256591796875, -0.00267791748046875, 0.03125, -0.006549835205078125, 0.0048828125, -0.0218658447265625, -0.0172271728515625, -0.07574462890625, 0.041961669921875, 0.0019397735595703125, 0.0011835098266601562, 0.04864501953125, -0.0190887451171875, 0.00142669677734375, -0.0048675537109375, -0.03521728515625, -0.0269775390625, -0.0139617919921875, 0.0199127197265625, 0.026214599609375, 0.0032444000244140625, -0.01418304443359375, -0.026763916015625, 0.0271759033203125, 0.007701873779296875, -0.0020122528076171875, 0.00115203857421875, -0.0129852294921875, -0.0174560546875, 0.0225830078125, 0.02581787109375, -0.022369384765625, -0.0567626953125, -0.0224151611328125, -0.0167236328125, -0.0131072998046875, 0.03564453125, -0.0418701171875, 0.08428955078125, 0.006946563720703125, 0.040252685546875, 0.057159423828125, -0.004974365234375, 0.0238800048828125, -0.00597381591796875, 0.013916015625, -0.01419830322265625, -0.006031036376953125, 0.003993988037109375, 0.0066680908203125, -0.0145263671875, -0.0071868896484375, 0.00930023193359375, 0.0093231201171875, 0.048187255859375, -0.01123046875, 0.033782958984375, 0.0171356201171875, -0.03448486328125, 0.027801513671875, -0.0176239013671875, -0.0178375244140625, 0.0222320556640625, -0.027923583984375, 0.0175933837890625, -0.0045013427734375, -0.0318603515625, -0.0126800537109375, -0.0301513671875, 0.0098724365234375, 0.00777435302734375, -0.00408172607421875, -0.01690673828125, -0.0032806396484375, 0.044097900390625, -0.00151824951171875, -0.0102386474609375, 0.0511474609375, -0.0286865234375, -0.027984619140625, -0.00798797607421875, 0.004894256591796875, 0.00821685791015625, 0.018524169921875, -0.00537872314453125, 0.021728515625, -0.03533935546875, 0.005413055419921875, -0.02154541015625, 0.00008094310760498047, -0.048187255859375, -0.09356689453125, -0.03192138671875, 0.0099945068359375, -0.04736328125, -0.0650634765625, 0.0193939208984375, 0.006317138671875, 0.0286712646484375, -0.0207366943359375, -0.004993438720703125, -0.031829833984375, 0.0262298583984375, 0.02587890625, 0.031646728515625, 0.0184326171875, 0.033447265625, 0.0215606689453125, 0.051422119140625, 0.041473388671875, -0.000392913818359375, -0.01380157470703125, -0.01166534423828125, 0.041961669921875, 0.0117950439453125, -0.0286407470703125, 0.061187744140625, 0.04193115234375, 0.027374267578125, -0.00475311279296875, -0.0091094970703125, -0.041839599609375, -0.00727081298828125, 0.0994873046875, 0.060760498046875, 0.03387451171875, -0.033477783203125, -0.0712890625, -0.050445556640625, -0.0014524459838867188, -0.0187225341796875, 0.02362060546875, -0.0638427734375, 0.0258026123046875, -0.017608642578125, 0.0107269287109375, 0.007640838623046875, 0.00365447998046875, 0.005718231201171875, -0.0118560791015625, 0.052978515625, 0.0178985595703125, -0.0263671875, 0.026611328125, 0.0302276611328125, -0.0209197998046875, 0.0283660888671875, -0.0233612060546875, 0.0065155029296875, 0.046112060546875, -0.0178680419921875, -0.0167388916015625, 0.032684326171875, -0.061798095703125, -0.00023925304412841797, -0.01352691650390625, 0.064208984375, -0.02947998046875, 0.01617431640625, 0.0018415451049804688, -0.02398681640625, -0.0208892822265625, -0.042755126953125, 0.040283203125, -0.00370025634765625, -0.025787353515625, 0.061431884765625, 0.0281219482421875, -0.0457763671875, -0.018096923828125, 0.049560546875, -0.0250244140625, -0.0268096923828125, -0.039764404296875, -0.031341552734375, 0.0019350051879882812, 0.035125732421875, 0.0341796875, -0.0159149169921875, 0.0177154541015625, 0.0262451171875, 0.028472900390625, -0.002651214599609375 ]
94a2cc6ffc69c695b3c7ef008dfed3922adda715
Wordpress Stackexchange Q: Hiding API routes list When you go to /wp-json or /wp-json/[namespace] on an API-enabled WordPress site, it shows all of the API routes and endpoints. How can I disable this behaviour without disabling the REST API? A: You can use the filter hook 'rest_index' : add_filter('rest_index', function ($response) { $data = $response->get_data(); $data['namespaces'] = []; $data['routes'] = []; return $data; }, 9999, 1); It is possible to remove your route from $data['namespaces'] and $data['routes']
Q: Hiding API routes list When you go to /wp-json or /wp-json/[namespace] on an API-enabled WordPress site, it shows all of the API routes and endpoints. How can I disable this behaviour without disabling the REST API? A: You can use the filter hook 'rest_index' : add_filter('rest_index', function ($response) { $data = $response->get_data(); $data['namespaces'] = []; $data['routes'] = []; return $data; }, 9999, 1); It is possible to remove your route from $data['namespaces'] and $data['routes'] A: Slightly modified function from @mirado (the filter has to return WP_REST_Response instance not an array) function hide_ns_and_routes( $response ) { $data = $response->get_data(); $data['namespaces'] = []; $data['routes'] = []; $response->set_data( $data ); return $response; } add_filter( 'rest_index', 'hide_ns_and_routes' );
wordpress
{ "language": "en", "length": 115, "provenance": "stackexchange_00019.jsonl.gz:500119", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/355005" }
[ 0.02825927734375, -0.015899658203125, -0.030242919921875, 0.0218048095703125, 0.004360198974609375, -0.0560302734375, 0.0880126953125, -0.006603240966796875, 0.0186767578125, -0.0173492431640625, -0.038482666015625, -0.0017681121826171875, -0.0386962890625, -0.0234527587890625, 0.01580810546875, -0.050994873046875, 0.02716064453125, 0.0191192626953125, 0.017303466796875, -0.010284423828125, 0.0140380859375, -0.0021820068359375, -0.00678253173828125, 0.0777587890625, -0.0205078125, 0.01192474365234375, 0.049530029296875, -0.030853271484375, -0.0260162353515625, -0.033721923828125, -0.0032558441162109375, 0.00921630859375, -0.0284423828125, 0.074951171875, -0.041473388671875, -0.01439666748046875, -0.022552490234375, 0.054779052734375, 0.03173828125, -0.01141357421875, 0.00955963134765625, -0.01105499267578125, 0.00461578369140625, -0.036895751953125, -0.006618499755859375, 0.004299163818359375, 0.0087738037109375, -0.03607177734375, -0.001811981201171875, 0.04052734375, 0.027740478515625, 0.023681640625, 0.0182037353515625, 0.03509521484375, 0.002002716064453125, 0.004253387451171875, 0.00670623779296875, 0.0069122314453125, 0.02685546875, 0.00147247314453125, -0.025482177734375, -0.0003821849822998047, 0.00768280029296875, -0.0216522216796875, 0.0095977783203125, -0.02001953125, 0.0170745849609375, 0.0278167724609375, -0.05316162109375, 0.0223236083984375, 0.04052734375, -0.039825439453125, 0.005992889404296875, -0.0286865234375, 0.007190704345703125, 0.007080078125, -0.00954437255859375, -0.0039043426513671875, 0.0234832763671875, -0.01007080078125, 0.033203125, -0.019805908203125, -0.015411376953125, -0.01064300537109375, -0.0150299072265625, -0.010986328125, 0.00243377685546875, -0.01345062255859375, -0.00890350341796875, 0.04107666015625, -0.010498046875, -0.05120849609375, 0.01434326171875, 0.052001953125, 0.01412200927734375, -0.0088653564453125, -0.0059356689453125, -0.03741455078125, 0.003681182861328125, -0.018218994140625, 0.06744384765625, -0.07232666015625, 0.034698486328125, -0.01116180419921875, -0.00423431396484375, 0.01369476318359375, 0.01242828369140625, 0.006374359130859375, 0.037261962890625, 0.0198974609375, -0.00013244152069091797, 0.0693359375, -0.00917816162109375, 0.01519012451171875, -0.043121337890625, -0.03485107421875, -0.0537109375, -0.005947113037109375, -0.0185699462890625, -0.0245513916015625, -0.0181121826171875, 0.0020999908447265625, -0.0008897781372070312, -0.01544952392578125, 0.0246124267578125, 0.00211334228515625, -0.026397705078125, 0.00826263427734375, 0.01151275634765625, 0.01546478271484375, -0.0023632049560546875, 0.016876220703125, 0.0179290771484375, 0.00933837890625, -0.0236968994140625, 0.00257110595703125, 0.0084686279296875, 0.027374267578125, 0.005924224853515625, 0.0204010009765625, -0.0028057098388671875, -0.029754638671875, 0.00586700439453125, -0.00930023193359375, 0.030609130859375, -0.01161956787109375, 0.00893402099609375, 0.03192138671875, 0.03363037109375, 0.01421356201171875, -0.006519317626953125, 0.002391815185546875, 0.004901885986328125, 0.0389404296875, 0.03253173828125, 0.03985595703125, 0.0703125, -0.01000213623046875, -0.04473876953125, -0.007015228271484375, -0.00876617431640625, -0.035247802734375, 0.002178192138671875, -0.023681640625, -0.03900146484375, 0.03143310546875, 0.0006508827209472656, -0.0032939910888671875, 0.00787353515625, 0.0281524658203125, 0.02398681640625, 0.0027751922607421875, -0.0235137939453125, -0.020263671875, -0.005100250244140625, -0.01739501953125, 0.01641845703125, 0.0129241943359375, 0.004421234130859375, 0.051300048828125, 0.00823211669921875, -0.036468505859375, 0.050079345703125, -0.004241943359375, -0.0947265625, 0.1094970703125, 0.00830841064453125, 0.07568359375, -0.02984619140625, -0.0170745849609375, 0.131103515625, 0.0755615234375, -0.023101806640625, -0.01678466796875, 0.0033473968505859375, -0.0268096923828125, 0.002925872802734375, -0.0250091552734375, -0.00399017333984375, 0.0266876220703125, 0.0035953521728515625, 0.0159149169921875, -0.01486968994140625, 0.01401519775390625, -0.03839111328125, 0.01340484619140625, -0.028167724609375, 0.040985107421875, -0.020782470703125, 0.031524658203125, 0.007122039794921875, 0.0008373260498046875, -0.045654296875, 0.044403076171875, 0.005794525146484375, 0.00519561767578125, -0.0014448165893554688, 0.017425537109375, -0.0087127685546875, 0.0019893646240234375, -0.008819580078125, 0.004856109619140625, 0.0093231201171875, 0.0302276611328125, 0.0253143310546875, -0.0467529296875, 0.01123046875, -0.041778564453125, 0.048431396484375, -0.047149658203125, 0.06591796875, 0.0265960693359375, -0.00152587890625, 0.039947509765625, -0.0081787109375, -0.004581451416015625, 0.01045989990234375, -0.0211334228515625, 0.0245208740234375, 0.0306549072265625, 0.045654296875, 0.018096923828125, -0.006427764892578125, -0.011077880859375, 0.048248291015625, -0.06671142578125, -0.01371002197265625, -0.0120849609375, 0.01006317138671875, 0.006748199462890625, -0.0140228271484375, -0.0219879150390625, 0.0246734619140625, -0.02667236328125, 0.01678466796875, 0.0195159912109375, 0.003086090087890625, 0.0007228851318359375, 0.007701873779296875, -0.0185699462890625, 0.00786590576171875, -0.01139068603515625, -0.023834228515625, -0.005832672119140625, 0.0179443359375, -0.004535675048828125, 0.0158538818359375, 0.0261077880859375, -0.0160064697265625, -0.02471923828125, 0.030609130859375, 0.03887939453125, -0.01149749755859375, 0.07049560546875, 0.09332275390625, -0.038818359375, -0.0021114349365234375, -0.046661376953125, -0.012176513671875, 0.038421630859375, -0.01494598388671875, -0.006610870361328125, -0.0191650390625, -0.00911712646484375, -0.01174163818359375, -0.03485107421875, 0.032379150390625, 0.0160064697265625, -0.01297760009765625, 0.0035495758056640625, -0.004467010498046875, 0.06512451171875, 0.00963592529296875, 0.035308837890625, -0.01910400390625, 0.011444091796875, -0.00737762451171875, -0.04669189453125, 0.042816162109375, -0.048309326171875, 0.0106201171875, 0.0518798828125, 0.0227813720703125, -0.022125244140625, 0.0043182373046875, -0.01259613037109375, -0.00862884521484375, 0.013275146484375, 0.002994537353515625, -0.02459716796875, -0.020599365234375, 0.0279693603515625, 0.0102386474609375, -0.01617431640625, 0.004131317138671875, -0.0411376953125, -0.00930023193359375, 0.00774383544921875, -0.0731201171875, -0.0386962890625, 0.062408447265625, -0.01654052734375, -0.005123138427734375, -0.0018205642700195312, -0.033538818359375, -0.021484375, 0.02301025390625, -0.01248931884765625, -0.0156402587890625, -0.046112060546875, -0.058502197265625, -0.05572509765625, -0.04852294921875, 0.05010986328125, -0.0012845993041992188, 0.01303863525390625, 0.01419830322265625, 0.08251953125, 0.0301971435546875, -0.029937744140625, 0.026336669921875, 0.0260009765625, -0.0229949951171875, 0.006870269775390625, 0.0018672943115234375, -0.0104827880859375, -0.006343841552734375, -0.00302886962890625, 0.045562744140625, 0.01593017578125, -0.019256591796875, -0.006053924560546875, 0.003948211669921875, 0.01287078857421875, 0.01444244384765625, 0.0038738250732421875, -0.0030040740966796875, 0.00954437255859375, 0.00821685791015625, -0.033843994140625, -0.0265655517578125, -0.01554107666015625, -0.0416259765625, -0.0051422119140625, 0.0164947509765625, 0.005767822265625, -0.026641845703125, 0.0306243896484375, 0.037506103515625, -0.0196533203125, -0.007328033447265625, -0.00760650634765625, 0.061553955078125, 0.01024627685546875, 0.03985595703125, -0.0312347412109375, 0.060882568359375, 0.00800323486328125, -0.032470703125, 0.00830078125, -0.0017795562744140625, -0.018157958984375, -0.005123138427734375, -0.05303955078125, 0.0186767578125, 0.031768798828125, -0.01352691650390625, -0.017852783203125, 0.01236724853515625, -0.00763702392578125, 0.004138946533203125, 0.026702880859375, -0.0287322998046875, 0.001438140869140625, 0.0011386871337890625, 0.004833221435546875, -0.035125732421875, -0.027679443359375, -0.0693359375, 0.01055145263671875, -0.008270263671875, 0.0249481201171875, -0.01027679443359375, -0.024261474609375, 0.00722503662109375, -0.06402587890625, 0.00861358642578125, -0.0311431884765625, 0.0297393798828125, -0.028839111328125, -0.0292816162109375, 0.01080322265625, 0.003192901611328125, -0.051361083984375, -0.01617431640625, 0.0155792236328125, -0.048675537109375, -0.00007659196853637695, -0.034271240234375, 0.031005859375, 0.0219268798828125, -0.045166015625, 0.01334381103515625, 0.03314208984375, 0.0249786376953125, 0.00018024444580078125, 0.004482269287109375, -0.0146636962890625, 0.01093292236328125, 0.016143798828125, 0.01427459716796875, -0.002124786376953125, -0.004085540771484375, 0.00945281982421875, -0.040924072265625, 0.03961181640625, 0.01256561279296875, 0.006763458251953125, 0.048736572265625, -0.03448486328125, -0.0325927734375, -0.05126953125, -0.067626953125, 0.0155487060546875, -0.044525146484375, 0.01129913330078125, -0.04876708984375, -0.05078125, 0.0264739990234375, 0.0136566162109375, -0.0210113525390625, 0.00467681884765625, 0.041351318359375, 0.02105712890625, -0.0184326171875, -0.048065185546875, 0.004364013671875, 0.0231170654296875, 0.01021575927734375, 0.05780029296875, 0.00667572021484375, -0.00804901123046875, 0.069091796875, -0.004451751708984375, -0.0002130270004272461, 0.027587890625, 0.025360107421875, 0.0183868408203125, -0.0156707763671875, 0.01629638671875, 0.0306243896484375, -0.04833984375, 0.026519775390625, 0.0190887451171875, -0.02728271484375, 0.042083740234375, 0.00817108154296875, -0.03558349609375, 0.0140838623046875, 0.019500732421875, -0.02532958984375, 0.0082244873046875, 0.0235443115234375, 0.035675048828125, 0.036468505859375, -0.004131317138671875, 0.034637451171875, 0.0092620849609375, -0.0001285076141357422, -0.01218414306640625, 0.0281982421875, -0.0567626953125, 0.043060302734375, -0.0285491943359375, -0.0266571044921875, -0.033447265625, -0.01383209228515625, 0.07855224609375, -0.0260467529296875, -0.07159423828125, 0.009918212890625, -0.01849365234375, 0.04583740234375, 0.07977294921875, 0.00638580322265625, 0.049774169921875, 0.007617950439453125, -0.00843048095703125, -0.0251922607421875, -0.034820556640625, 0.00446319580078125, -0.0555419921875, 0.051849365234375, 0.01328277587890625, 0.002567291259765625, 0.002162933349609375, 0.075927734375, -0.0165557861328125, 0.048126220703125, -0.01092529296875, 0.002567291259765625, -0.026397705078125, 0.022247314453125, -0.0126495361328125, 0.0253143310546875, 0.0228424072265625, -0.006855010986328125, 0.054962158203125, -0.032867431640625, -0.053741455078125, 0.050506591796875, 0.0538330078125, -0.0157318115234375, -0.0035533905029296875, -0.0177001953125, -0.001621246337890625, -0.0179290771484375, 0.026824951171875, -0.01361083984375, -0.019561767578125, -0.03973388671875, -0.0080413818359375, 0.030120849609375, -0.0012035369873046875, 0.0080718994140625, -0.02044677734375, 0.0274505615234375, -0.011474609375, 0.0255279541015625, -0.055084228515625, -0.001445770263671875, 0.018463134765625, -0.007236480712890625, -0.0272064208984375, -0.007080078125, -0.05499267578125, -0.002094268798828125, -0.0250244140625, 0.0018205642700195312, 0.0270538330078125, -0.015899658203125, 0.0169830322265625, -0.0103912353515625, -0.00439453125, -0.0244140625, 0.0234832763671875, 0.01123809814453125, 0.00826263427734375, -0.044708251953125, 0.004482269287109375, -0.04095458984375, -0.01329803466796875, -0.01490020751953125, -0.01222991943359375, -0.03460693359375, -0.01377105712890625, 0.0023956298828125, 0.025848388671875, -0.007015228271484375, 0.00951385498046875, -0.0172576904296875, 0.0294647216796875, -0.008758544921875, 0.0653076171875, 0.00007998943328857422, 0.08197021484375, -0.053131103515625, 0.05657958984375, 0.005199432373046875, 0.02734375, -0.047943115234375, -0.006622314453125, 0.00030422210693359375, -0.06903076171875, -0.053924560546875, -0.01364898681640625, -0.07415771484375, 0.0853271484375, 0.0875244140625, -0.006336212158203125, 0.005008697509765625, -0.00641632080078125, 0.0203704833984375, -0.035003662109375, 0.032135009765625, -0.048065185546875, 0.006984710693359375, -0.026458740234375, 0.046478271484375, 0.057952880859375, -0.037384033203125, -0.048980712890625, 0.0223846435546875, 0.04156494140625, 0.033782958984375, -0.038909912109375, -0.020111083984375, 0.0531005859375, 0.1287841796875, -0.01142120361328125, 0.06915283203125, 0.056732177734375, -0.0032062530517578125, 0.05865478515625, 0.0017766952514648438, -0.03179931640625, -0.004001617431640625, -0.00421142578125, -0.00852203369140625, -0.00372314453125, -0.0007104873657226562, -0.01049041748046875, -0.0009751319885253906, 0.03094482421875, 0.040924072265625, -0.05694580078125, -0.00014448165893554688, -0.0121002197265625, 0.00021374225616455078, 0.0243072509765625, -0.00952911376953125, -0.0194244384765625, -0.051422119140625, 0.0019207000732421875, -0.0083465576171875, -0.04290771484375, -0.028228759765625, 0.006317138671875, -0.01250457763671875, -0.00872802734375, 0.03350830078125, 0.0190277099609375, 0.0287322998046875, 0.00099945068359375, -0.00844573974609375, 0.033477783203125, -0.017303466796875, -0.0294952392578125, 0.04620361328125, -0.042633056640625, -0.07672119140625, 0.0183258056640625, -0.0236053466796875, -0.00786590576171875, 0.005672454833984375, 0.009368896484375, 0.00878143310546875, 0.06024169921875, -0.040740966796875, 0.0277099609375, 0.04425048828125, -0.045684814453125, 0.043121337890625, -0.0116424560546875, -0.01209259033203125, 0.0296173095703125, -0.029052734375, -0.000041484832763671875, 0.0027179718017578125, 0.00797271728515625, -0.006931304931640625, 0.006198883056640625, 0.1036376953125, -0.054107666015625, -0.0153961181640625, 0.019287109375, -0.00702667236328125, -0.00927734375, 0.0006861686706542969, 0.0289459228515625, -0.0288543701171875, 0.019927978515625, 0.0145721435546875, 0.01007080078125, -0.003162384033203125, 0.01464080810546875, -0.0246124267578125, 0.08734130859375, -0.006195068359375, -0.0036602020263671875, 0.0058746337890625, 0.044677734375, -0.029693603515625, 0.0350341796875, -0.00211334228515625, 0.0303802490234375, 0.0126495361328125, 0.0379638671875, -0.006984710693359375, -0.0095367431640625, 0.021881103515625, 0.04302978515625, 0.03143310546875, 0.0006756782531738281, 0.02728271484375, -0.03143310546875, -0.02337646484375, -0.000171661376953125, -0.055389404296875, 0.019866943359375, -0.0037841796875, 0.047088623046875, 0.0287628173828125, -0.05914306640625, -0.0009250640869140625, 0.0007772445678710938, -0.0187835693359375, 0.029754638671875, 0.03631591796875, 0.049285888671875, 0.0005946159362792969, 0.044647216796875, 0.023712158203125, -0.01922607421875, -0.0031528472900390625, -0.016937255859375, -0.00211334228515625, 0.0197601318359375, 0.0203094482421875, -0.06964111328125, -0.018829345703125, -0.031036376953125, 0.0328369140625, 0.009979248046875, 0.05145263671875, 0.0298614501953125, 0.025970458984375, 0.02777099609375, 0.00824737548828125, 0.03173828125, 0.0283050537109375, -0.048583984375, 0.0307769775390625, 0.041900634765625, 0.05029296875, -0.00981903076171875, -0.0274505615234375, 0.0081939697265625, 0.0275726318359375, -0.002201080322265625, -0.05670166015625, 0.016448974609375, 0.0338134765625, 0.038818359375, 0.00974273681640625, 0.03509521484375, -0.02960205078125, 0.056060791015625, -0.03900146484375, -0.003025054931640625, 0.06195068359375, 0.0272979736328125, 0.005832672119140625, 0.0173492431640625, -0.034027099609375, -0.0289306640625, -0.0261077880859375, 0.0035457611083984375, 0.0086517333984375, 0.031707763671875, 0.028106689453125, 0.0080718994140625, -0.005252838134765625, -0.00905609130859375, 0.00579833984375, 0.02056884765625, -0.037750244140625, -0.00374603271484375, -0.0304718017578125, -0.060882568359375, 0.0061187744140625, 0.0235137939453125, 0.021881103515625, 0.049102783203125, 0.05987548828125, 0.0229034423828125, -0.0202789306640625, 0.005382537841796875, 0.07012939453125, -0.028839111328125, -0.0111236572265625, -0.025909423828125, -0.0168609619140625, 0.019805908203125, 0.00011914968490600586, 0.006191253662109375, 0.0214080810546875, 0.0210113525390625, -0.024444580078125, 0.041290283203125, -0.0167236328125, -0.032012939453125, 0.0128631591796875, -0.0097808837890625, 0.04595947265625, 0.00594329833984375, -0.0084228515625, 0.01360321044921875, -0.039703369140625, -0.037811279296875, 0.0031337738037109375, 0.02191162109375, -0.004734039306640625, 0.031158447265625, 0.045928955078125, 0.00923919677734375, -0.01708984375, -0.0036525726318359375, 0.030426025390625, -0.0019407272338867188, 0.0268096923828125, 0.031890869140625, -0.06695556640625, -0.062286376953125, -0.0421142578125, 0.046295166015625, -0.005970001220703125, 0.0970458984375, -0.0177154541015625, 0.006870269775390625, -0.021484375, 0.0032291412353515625, -0.00432586669921875, -0.020294189453125, -0.0002796649932861328, 0.016693115234375, 0.01265716552734375, 0.0018796920776367188, -0.0640869140625, 0.03173828125, 0.0183258056640625, -0.0007109642028808594, 0.0858154296875, -0.046630859375, -0.001018524169921875, -0.0540771484375, 0.0182342529296875, -0.032440185546875, -0.061004638671875, -0.0243072509765625, 0.0226898193359375, -0.01800537109375, -0.0028438568115234375, -0.02197265625, -0.007419586181640625, 0.0002741813659667969, -0.042236328125, 0.0204925537109375, 0.0010700225830078125, 0.025970458984375, 0.0229339599609375, -0.005645751953125, 0.036346435546875, -0.0242156982421875, -0.01418304443359375, -0.01360321044921875, 0.030487060546875, -0.060028076171875, 0.001506805419921875, 0.03765869140625, -0.040130615234375, -0.0191802978515625, 0.0025691986083984375, 0.01335906982421875, -0.0038204193115234375, -0.037506103515625, -0.013885498046875, -0.0277099609375, 0.0201263427734375, -0.014312744140625, -0.00345611572265625, -0.006801605224609375, 0.018768310546875, -0.0012426376342773438, -0.035186767578125, -0.07568359375, -0.008087158203125, 0.0108795166015625, -0.00981903076171875, -0.0004963874816894531, 0.002574920654296875, -0.034423828125, 0.01317596435546875, -0.0163116455078125, 0.02410888671875, -0.0121307373046875, -0.006603240966796875, -0.028350830078125, 0.00521087646484375, -0.004016876220703125, 0.0256805419921875, 0.0281219482421875, -0.0298004150390625, -0.0027370452880859375, 0.01314544677734375, -0.0058135986328125, -0.0269775390625, -0.02001953125, 0.01560211181640625, -0.01294708251953125, -0.01361083984375, -0.046112060546875, 0.035247802734375, -0.006443023681640625, -0.02398681640625, 0.00021827220916748047, 0.0157928466796875, -0.0176239013671875, 0.00333404541015625, -0.005374908447265625, 0.00502777099609375, -0.045318603515625, -0.0667724609375, 0.034515380859375, 0.004817962646484375, -0.03631591796875, -0.035125732421875, -0.01146697998046875, -0.01219940185546875, 0.036956787109375, -0.0165863037109375, -0.0185546875, -0.0164794921875, 0.049285888671875, -0.0033435821533203125, 0.06439208984375, -0.03717041015625, -0.035186767578125, -0.0157012939453125, 0.0484619140625, 0.034393310546875, 0.0238037109375, -0.0022296905517578125, 0.012481689453125, 0.043609619140625, 0.04888916015625, -0.00949859619140625, 0.09942626953125, 0.01123809814453125, 0.0038585662841796875, -0.0287628173828125, -0.03662109375, 0.0012645721435546875, 0.0090484619140625, 0.06292724609375, 0.08892822265625, 0.0076141357421875, -0.052001953125, -0.028961181640625, -0.0226593017578125, 0.00868988037109375, -0.00006902217864990234, 0.01079559326171875, -0.050537109375, 0.01097869873046875, 0.0074920654296875, 0.050933837890625, 0.04119873046875, -0.060638427734375, 0.037322998046875, -0.04193115234375, 0.01500701904296875, 0.0013141632080078125, 0.0108489990234375, 0.004169464111328125, -0.01019287109375, -0.022430419921875, -0.021697998046875, -0.018096923828125, 0.0203399658203125, -0.0264434814453125, -0.0220794677734375, -0.047393798828125, -0.0498046875, 0.01415252685546875, 0.04644775390625, -0.030487060546875, 0.02447509765625, -0.0247802734375, 0.01117706298828125, -0.0299224853515625, 0.0211181640625, 0.0225067138671875, 0.04010009765625, -0.01959228515625, 0.00977325439453125, 0.0300750732421875, -0.007556915283203125, -0.01239013671875, 0.09796142578125, 0.0013170242309570312, 0.02899169921875, -0.02593994140625, 0.0007061958312988281, 0.0272216796875, -0.0322265625, -0.005207061767578125, 0.0200958251953125, -0.028045654296875, -0.036102294921875, 0.0010890960693359375, -0.005580902099609375, 0.006137847900390625, 0.00972747802734375 ]
a8cc6e2e34fe0ac4205983e50bf53d41c7279c2b
Wordpress Stackexchange Q: Group block without inner wrapper When I use a "group" block it automatically adds an inner wrapper: <div class="wp-block-group"> <div class="wp-block-group__inner-container"> ... </div> </div> I don't want the inner wrapper as it interferes with bootstrap-related css. I just want a div. Is there a way to prevent its addition? I can obviously remove it in a script, but is there a way to modify the core to stop this behavior? A: I did this in the function.php of my theme and it worked like a charm. Note: I am only missing the id, maybe someone can share a solution for that too. function custom_render_block_core_group ( string $block_content, array $block ): string { if ( $block['blockName'] === 'core/group' && !is_admin() && !wp_is_json_request() ) { $html = ''; $tag = $block['attrs']['tagName'] ?? 'div'; $html .= '<' . $tag . ' class="' . $block['attrs']['className'] . '">' . "\n"; if (isset($block['innerBlocks'])) { foreach ($block['innerBlocks'] as $inner_block) { $html .= render_block($inner_block); } } $html .= '</' . $tag . '>' . "\n"; return $html; } return $block_content; } add_filter('render_block', 'custom_render_block_core_group', null, 2); Credits and original solution here
Q: Group block without inner wrapper When I use a "group" block it automatically adds an inner wrapper: <div class="wp-block-group"> <div class="wp-block-group__inner-container"> ... </div> </div> I don't want the inner wrapper as it interferes with bootstrap-related css. I just want a div. Is there a way to prevent its addition? I can obviously remove it in a script, but is there a way to modify the core to stop this behavior? A: I did this in the function.php of my theme and it worked like a charm. Note: I am only missing the id, maybe someone can share a solution for that too. function custom_render_block_core_group ( string $block_content, array $block ): string { if ( $block['blockName'] === 'core/group' && !is_admin() && !wp_is_json_request() ) { $html = ''; $tag = $block['attrs']['tagName'] ?? 'div'; $html .= '<' . $tag . ' class="' . $block['attrs']['className'] . '">' . "\n"; if (isset($block['innerBlocks'])) { foreach ($block['innerBlocks'] as $inner_block) { $html .= render_block($inner_block); } } $html .= '</' . $tag . '>' . "\n"; return $html; } return $block_content; } add_filter('render_block', 'custom_render_block_core_group', null, 2); Credits and original solution here
wordpress
{ "language": "en", "length": 183, "provenance": "stackexchange_00019.jsonl.gz:500130", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/355033" }
[ 0.0180206298828125, -0.0075225830078125, -0.0650634765625, -0.07373046875, 0.0286102294921875, -0.042022705078125, -0.0019321441650390625, 0.03607177734375, 0.0063018798828125, -0.0015764236450195312, -0.052215576171875, -0.0005502700805664062, -0.003940582275390625, -0.018310546875, 0.00774383544921875, -0.042022705078125, 0.04656982421875, -0.0109710693359375, 0.01934814453125, 0.003124237060546875, 0.0171051025390625, 0.02850341796875, -0.01522064208984375, 0.06597900390625, 0.009033203125, -0.05902099609375, 0.123046875, -0.036163330078125, 0.046142578125, -0.016265869140625, 0.0256195068359375, -0.024261474609375, 0.040069580078125, 0.0201416015625, -0.06744384765625, 0.032257080078125, -0.01111602783203125, 0.01214599609375, -0.0215911865234375, 0.036163330078125, 0.0036602020263671875, -0.00691986083984375, 0.032196044921875, 0.002056121826171875, -0.0116424560546875, -0.0137481689453125, 0.0084686279296875, -0.040679931640625, 0.0537109375, -0.014434814453125, 0.01293182373046875, 0.01407623291015625, 0.0215911865234375, -0.007457733154296875, -0.0330810546875, 0.0223846435546875, -0.047088623046875, -0.0177154541015625, 0.0297088623046875, 0.041839599609375, 0.01654052734375, -0.023956298828125, 0.01062774658203125, -0.022491455078125, 0.0138397216796875, -0.0127410888671875, 0.0303192138671875, 0.01412200927734375, -0.034271240234375, 0.0164947509765625, 0.042999267578125, -0.018280029296875, -0.037445068359375, -0.02435302734375, 0.0218353271484375, 0.0243072509765625, -0.0292205810546875, -0.037689208984375, 0.0018434524536132812, 0.041290283203125, -0.0264434814453125, -0.001873016357421875, -0.0435791015625, -0.03448486328125, 0.051727294921875, 0.038330078125, -0.022674560546875, -0.0169830322265625, 0.0287322998046875, -0.0034332275390625, -0.00774383544921875, -0.002880096435546875, 0.055511474609375, 0.0096435546875, -0.038787841796875, -0.02032470703125, -0.0012006759643554688, 0.01334381103515625, -0.0526123046875, -0.00433349609375, 0.0170745849609375, -0.0264129638671875, 0.054962158203125, -0.058563232421875, 0.0011119842529296875, 0.04827880859375, -0.0168609619140625, 0.00299072265625, 0.050567626953125, 0.0147552490234375, 0.0221710205078125, 0.009033203125, -0.02374267578125, -0.0241546630859375, -0.0411376953125, 0.0001036524772644043, -0.047332763671875, -0.0110321044921875, 0.0164337158203125, -0.024078369140625, 0.00775909423828125, 0.03607177734375, -0.0099639892578125, 0.01904296875, -0.000507354736328125, 0.028839111328125, 0.0196990966796875, -0.07183837890625, -0.0030536651611328125, -0.008819580078125, -0.028656005859375, 0.0271759033203125, 0.07373046875, 0.04156494140625, 0.030548095703125, -0.01041412353515625, 0.00579833984375, -0.0024089813232421875, 0.00467681884765625, 0.0073394775390625, 0.01074981689453125, -0.0302734375, -0.0003311634063720703, 0.00003653764724731445, 0.002651214599609375, 0.02984619140625, 0.01654052734375, -0.0092926025390625, -0.01336669921875, -0.0877685546875, 0.07159423828125, -0.0804443359375, 0.0421142578125, 0.007366180419921875, 0.00302886962890625, -0.00826263427734375, 0.0555419921875, -0.0240631103515625, -0.039703369140625, -0.044921875, 0.0406494140625, -0.00408935546875, -0.0149688720703125, 0.00273895263671875, -0.015228271484375, -0.0118865966796875, -0.038726806640625, 0.0093994140625, 0.0204925537109375, 0.059295654296875, -0.0216217041015625, -0.00966644287109375, 0.019439697265625, 0.005466461181640625, -0.017547607421875, 0.0160369873046875, 0.00598907470703125, 0.0074462890625, 0.02130126953125, -0.01617431640625, -0.031707763671875, -0.0423583984375, 0.05633544921875, -0.0302886962890625, -0.0654296875, 0.0546875, -0.032928466796875, 0.05401611328125, 0.048187255859375, -0.0149688720703125, 0.0187225341796875, -0.017333984375, -0.044219970703125, 0.019805908203125, 0.0154266357421875, -0.0157318115234375, 0.002300262451171875, 0.012969970703125, 0.0090484619140625, -0.035552978515625, 0.01904296875, 0.01044464111328125, -0.0105133056640625, -0.041351318359375, -0.031768798828125, -0.0211181640625, -0.002254486083984375, 0.038848876953125, -0.0306549072265625, -0.0322265625, 0.00994110107421875, -0.056671142578125, 0.015899658203125, -0.01340484619140625, -0.01047515869140625, 0.00506591796875, -0.0186004638671875, 0.01007080078125, -0.00048828125, 0.006572723388671875, 0.024566650390625, -0.01059722900390625, 0.0095977783203125, 0.0293426513671875, 0.0872802734375, 0.00809478759765625, -0.03466796875, -0.0230712890625, 0.02105712890625, 0.04400634765625, -0.123046875, 0.0355224609375, 0.056884765625, 0.063232421875, -0.052490234375, -0.006084442138671875, -0.020782470703125, -0.044891357421875, -0.0082855224609375, 0.05560302734375, 0.0269012451171875, 0.017730712890625, -0.01158905029296875, -0.0024776458740234375, 0.0399169921875, 0.0020122528076171875, 0.0225372314453125, -0.01107025146484375, -0.016143798828125, 0.00539398193359375, 0.019500732421875, -0.0023021697998046875, 0.01544189453125, -0.0279083251953125, 0.0252685546875, 0.01412200927734375, -0.004703521728515625, -0.007541656494140625, -0.01593017578125, 0.012451171875, 0.0176849365234375, -0.034698486328125, -0.0394287109375, -0.01910400390625, 0.053802490234375, -0.035247802734375, 0.021270751953125, -0.003265380859375, -0.026611328125, 0.00006002187728881836, 0.0259857177734375, -0.03399658203125, -0.004268646240234375, 0.022796630859375, -0.0015058517456054688, 0.0012807846069335938, -0.05206298828125, 0.01381683349609375, 0.0158843994140625, 0.021453857421875, -0.01251220703125, 0.05108642578125, 0.001857757568359375, -0.0233612060546875, 0.0174560546875, -0.0278167724609375, -0.023529052734375, -0.034149169921875, 0.01097869873046875, 0.00024962425231933594, 0.01363372802734375, 0.01849365234375, -0.022125244140625, 0.026397705078125, 0.0207366943359375, -0.039459228515625, 0.0196533203125, -0.0294342041015625, 0.04730224609375, -0.0208282470703125, 0.08197021484375, 0.07257080078125, -0.0362548828125, 0.05712890625, 0.01146697998046875, -0.038970947265625, 0.038116455078125, -0.01461029052734375, -0.02215576171875, 0.004119873046875, -0.04095458984375, 0.0193939208984375, 0.005840301513671875, 0.052886962890625, -0.01175689697265625, -0.0592041015625, 0.006504058837890625, 0.019927978515625, -0.036895751953125, -0.02520751953125, 0.0479736328125, -0.029510498046875, -0.038238525390625, 0.0008287429809570312, -0.0426025390625, -0.01226043701171875, 0.0239105224609375, -0.02105712890625, -0.0260772705078125, -0.0292205810546875, -0.057037353515625, -0.06768798828125, -0.099609375, 0.0147552490234375, 0.00005251169204711914, 0.029327392578125, 0.0053863525390625, 0.040069580078125, 0.00975799560546875, -0.038360595703125, -0.0116424560546875, -0.0211334228515625, -0.0171661376953125, -0.006679534912109375, 0.0081329345703125, -0.0237274169921875, -0.0158843994140625, 0.0210723876953125, -0.07318115234375, -0.01197052001953125, 0.017486572265625, -0.035003662109375, 0.0006999969482421875, 0.0109100341796875, -0.00728607177734375, 0.03289794921875, 0.0214691162109375, 0.0171356201171875, 0.007476806640625, -0.0189971923828125, -0.042633056640625, 0.0207366943359375, -0.03924560546875, 0.0215301513671875, 0.034637451171875, -0.0266876220703125, 0.018768310546875, 0.0035915374755859375, 0.018829345703125, 0.004344940185546875, 0.014678955078125, 0.0101165771484375, -0.0003151893615722656, -0.01233673095703125, 0.0217742919921875, -0.0233612060546875, 0.0030574798583984375, -0.02593994140625, 0.002227783203125, -0.01092529296875, -0.00005507469177246094, -0.0172882080078125, -0.002315521240234375, -0.047760009765625, -0.00858306884765625, 0.049224853515625, -0.01012420654296875, 0.0350341796875, -0.0250396728515625, -0.03521728515625, 0.0043792724609375, 0.0777587890625, -0.0273895263671875, -0.01100921630859375, -0.004261016845703125, 0.021209716796875, -0.030303955078125, -0.043853759765625, -0.034271240234375, -0.014801025390625, -0.032501220703125, -0.0308990478515625, -0.023468017578125, -0.01947021484375, 0.006778717041015625, 0.01273345947265625, -0.0164337158203125, -0.0257720947265625, 0.0198974609375, 0.040191650390625, -0.0295257568359375, -0.022857666015625, -0.0298004150390625, -0.038909912109375, -0.0075225830078125, 0.018035888671875, -0.0716552734375, -0.000415802001953125, -0.06732177734375, 0.0399169921875, 0.01421356201171875, 0.050506591796875, -0.0198974609375, 0.031463623046875, 0.00795745849609375, -0.0179901123046875, 0.007083892822265625, -0.01508331298828125, 0.04046630859375, 0.022552490234375, -0.0020961761474609375, -0.0035037994384765625, -0.0125732421875, -0.0239715576171875, -0.035400390625, 0.0169219970703125, -0.01428985595703125, -0.009246826171875, 0.0125885009765625, -0.016021728515625, -0.047576904296875, -0.0267181396484375, -0.01445770263671875, 0.0234527587890625, -0.037506103515625, 0.0249786376953125, -0.0301361083984375, -0.058685302734375, 0.031494140625, 0.03839111328125, -0.024139404296875, 0.004199981689453125, 0.0225372314453125, 0.0192108154296875, -0.037994384765625, -0.048828125, 0.043060302734375, 0.05718994140625, -0.050384521484375, 0.09185791015625, 0.0782470703125, -0.0007395744323730469, 0.03271484375, 0.010009765625, 0.0246429443359375, -0.03564453125, 0.0679931640625, -0.01027679443359375, -0.003276824951171875, 0.0304718017578125, -0.0163421630859375, -0.0157318115234375, 0.046600341796875, -0.0167694091796875, 0.031707763671875, -0.007083892822265625, 0.0175323486328125, -0.00818634033203125, -0.0187835693359375, -0.036041259765625, -0.036468505859375, 0.02191162109375, 0.0188751220703125, 0.020263671875, 0.043792724609375, -0.01194000244140625, 0.0233612060546875, 0.0171356201171875, 0.006870269775390625, -0.006381988525390625, -0.047698974609375, 0.006046295166015625, 0.02862548828125, -0.006946563720703125, 0.0248870849609375, 0.032958984375, 0.00977325439453125, -0.0088043212890625, 0.00888824462890625, -0.024200439453125, -0.044158935546875, 0.006877899169921875, 0.0023040771484375, -0.00534820556640625, -0.01442718505859375, -0.0160675048828125, -0.0033817291259765625, 0.025909423828125, 0.04754638671875, 0.01154327392578125, 0.0141754150390625, 0.0146026611328125, 0.005222320556640625, 0.0011129379272460938, -0.022491455078125, -0.042449951171875, 0.01488494873046875, 0.049652099609375, -0.044097900390625, -0.01161956787109375, -0.002307891845703125, -0.0005502700805664062, 0.031768798828125, 0.0261688232421875, -0.0298614501953125, 0.0035076141357421875, 0.00980377197265625, 0.010772705078125, -0.01406097412109375, -0.00508880615234375, 0.03204345703125, 0.070068359375, 0.0190277099609375, -0.01009368896484375, -0.0308990478515625, -0.050628662109375, -0.01140594482421875, 0.046844482421875, 0.015777587890625, -0.03094482421875, -0.019927978515625, -0.0033435821533203125, 0.00965118408203125, -0.0223541259765625, -0.012237548828125, 0.01062774658203125, -0.0092010498046875, -0.0263824462890625, 0.003116607666015625, -0.053955078125, 0.003963470458984375, 0.0221710205078125, -0.02056884765625, -0.005153656005859375, -0.023590087890625, -0.0411376953125, -0.0298919677734375, -0.01331329345703125, -0.0019741058349609375, 0.040130615234375, -0.0648193359375, 0.0721435546875, -0.031494140625, 0.00003069639205932617, -0.059783935546875, 0.028076171875, 0.027130126953125, 0.060546875, 0.0010128021240234375, -0.05517578125, -0.052398681640625, -0.037322998046875, -0.065673828125, -0.0517578125, 0.004024505615234375, 0.049530029296875, 0.017303466796875, 0.005489349365234375, 0.0027866363525390625, -0.037445068359375, -0.010162353515625, 0.01165771484375, 0.028350830078125, 0.0174560546875, -0.033416748046875, 0.040313720703125, 0.01517486572265625, 0.046966552734375, -0.0164642333984375, -0.005771636962890625, 0.01666259765625, -0.013427734375, 0.01168060302734375, -0.065673828125, -0.03692626953125, -0.0015802383422851562, -0.0289154052734375, 0.0301971435546875, 0.0017690658569335938, -0.0021839141845703125, 0.005367279052734375, 0.006969451904296875, 0.018035888671875, -0.0180206298828125, 0.0176544189453125, -0.0136871337890625, -0.0128173828125, 0.0345458984375, 0.01326751708984375, -0.0182952880859375, -0.040435791015625, -0.02972412109375, 0.0279998779296875, 0.017364501953125, 0.01041412353515625, -0.040008544921875, -0.0157623291015625, 0.00769805908203125, 0.0498046875, 0.015838623046875, 0.048828125, 0.021026611328125, 0.034637451171875, 0.02557373046875, 0.0096588134765625, 0.023223876953125, 0.035919189453125, 0.08966064453125, 0.0128021240234375, -0.0027294158935546875, 0.0693359375, -0.02294921875, 0.00299835205078125, 0.056243896484375, 0.045806884765625, -0.061492919921875, -0.0025482177734375, -0.01284027099609375, -0.001247406005859375, 0.051666259765625, -0.0028629302978515625, -0.0177001953125, 0.016876220703125, 0.03204345703125, 0.0164947509765625, -0.018524169921875, 0.0322265625, 0.036712646484375, 0.00435638427734375, -0.014739990234375, 0.01806640625, 0.0016527175903320312, -0.008544921875, -0.0193939208984375, -0.02032470703125, 0.0174713134765625, -0.01197052001953125, 0.021942138671875, -0.0119781494140625, -0.009368896484375, -0.046966552734375, -0.006359100341796875, -0.01189422607421875, -0.023345947265625, -0.00879669189453125, -0.0214691162109375, -0.04388427734375, 0.0189666748046875, -0.047882080078125, 0.00629425048828125, 0.0036945343017578125, -0.0699462890625, -0.0501708984375, -0.01052093505859375, 0.0210418701171875, 0.02008056640625, -0.005001068115234375, 0.0338134765625, -0.0154876708984375, -0.03094482421875, 0.0125732421875, 0.03216552734375, 0.00373077392578125, 0.0233154296875, -0.052520751953125, 0.03033447265625, -0.0276031494140625, -0.00652313232421875, 0.006961822509765625, 0.0276641845703125, -0.0231170654296875, -0.0172882080078125, 0.008026123046875, -0.03759765625, -0.01441192626953125, -0.0017728805541992188, -0.07989501953125, 0.09075927734375, 0.0343017578125, 0.05059814453125, 0.0174713134765625, 0.0175933837890625, -0.04803466796875, -0.0191650390625, -0.0002162456512451172, 0.017547607421875, 0.021484375, 0.043365478515625, -0.01342010498046875, -0.0206146240234375, 0.043701171875, 0.058441162109375, -0.03424072265625, -0.0003714561462402344, -0.003688812255859375, -0.01389312744140625, -0.0179901123046875, 0.035003662109375, 0.01538848876953125, 0.0030765533447265625, 0.0162811279296875, 0.029571533203125, 0.0104827880859375, -0.04449462890625, 0.0086517333984375, -0.035980224609375, -0.0118560791015625, 0.045196533203125, 0.01459503173828125, 0.029144287109375, 0.0222625732421875, -0.0190887451171875, -0.04486083984375, 0.0231781005859375, 0.029876708984375, -0.02294921875, -0.00736236572265625, 0.049835205078125, 0.0273284912109375, -0.039642333984375, -0.05230712890625, -0.0272216796875, 0.026458740234375, -0.0010166168212890625, -0.0025043487548828125, 0.0278167724609375, 0.0142974853515625, -0.030609130859375, -0.0026111602783203125, 0.0018720626831054688, 0.0155792236328125, -0.0179290771484375, -0.0014276504516601562, 0.0027980804443359375, 0.02496337890625, -0.0202789306640625, 0.03314208984375, 0.040069580078125, 0.0076446533203125, -0.0246429443359375, 0.0007805824279785156, 0.0039825439453125, 0.0192718505859375, -0.002483367919921875, -0.0210418701171875, 0.028228759765625, -0.01401519775390625, -0.019927978515625, -0.03521728515625, -0.0482177734375, 0.032745361328125, 0.011383056640625, 0.004924774169921875, -0.02801513671875, 0.0458984375, -0.047698974609375, -0.04840087890625, -0.01155853271484375, 0.060516357421875, 0.072509765625, 0.00514984130859375, 0.0643310546875, -0.0023670196533203125, -0.031951904296875, -0.01160430908203125, -0.004337310791015625, 0.0120697021484375, -0.00945281982421875, 0.0133819580078125, 0.0254364013671875, 0.00962066650390625, 0.015960693359375, 0.019744873046875, -0.0100860595703125, 0.015899658203125, 0.019866943359375, 0.0106048583984375, 0.0018911361694335938, -0.040191650390625, -0.0214385986328125, 0.019561767578125, -0.06427001953125, 0.01025390625, -0.011077880859375, -0.0019168853759765625, 0.0277099609375, -0.0265655517578125, 0.0357666015625, 0.00852203369140625, 0.01367950439453125, 0.01235198974609375, -0.0256195068359375, -0.01041412353515625, -0.004306793212890625, 0.05029296875, 0.03985595703125, -0.01953125, -0.0001494884490966797, -0.0166778564453125, -0.058349609375, 0.0199127197265625, 0.045654296875, -0.038909912109375, 0.032745361328125, 0.040557861328125, 0.0142974853515625, -0.0016603469848632812, -0.023956298828125, 0.016082763671875, -0.01947021484375, 0.0223846435546875, 0.01000213623046875, -0.02313232421875, -0.03155517578125, 0.004360198974609375, 0.0557861328125, -0.037872314453125, 0.06939697265625, -0.054229736328125, -0.0006256103515625, -0.0296478271484375, 0.01056671142578125, -0.004138946533203125, -0.0160980224609375, 0.028656005859375, 0.04949951171875, -0.01276397705078125, -0.041534423828125, -0.0241546630859375, -0.03155517578125, 0.063720703125, -0.046142578125, -0.049163818359375, 0.0283660888671875, 0.03179931640625, -0.0251312255859375, -0.0018854141235351562, -0.0116119384765625, -0.0615234375, -0.00376129150390625, 0.045196533203125, -0.0019741058349609375, 0.0638427734375, 0.01442718505859375, 0.0513916015625, 0.0099334716796875, 0.0024700164794921875, 0.0201568603515625, -0.034332275390625, 0.040802001953125, 0.027618408203125, -0.0469970703125, -0.066650390625, -0.03216552734375, -0.0161285400390625, -0.01126861572265625, -0.01348876953125, 0.029083251953125, -0.002384185791015625, -0.029998779296875, 0.0435791015625, 0.070068359375, 0.07379150390625, -0.0282440185546875, 0.041900634765625, 0.039520263671875, -0.01336669921875, 0.04833984375, 0.00057220458984375, -0.017059326171875, -0.045135498046875, -0.025634765625, 0.01073455810546875, -0.06414794921875, -0.03631591796875, -0.07275390625, -0.029144287109375, 0.042266845703125, 0.0135955810546875, -0.0655517578125, 0.011260986328125, -0.002696990966796875, 0.04541015625, -0.01641845703125, 0.00829315185546875, -0.00827789306640625, 0.002651214599609375, -0.03924560546875, -0.0166778564453125, -0.0219879150390625, 0.0423583984375, -0.01262664794921875, -0.00894927978515625, -0.0024852752685546875, 0.0019235610961914062, 0.0035037994384765625, -0.006526947021484375, 0.0021457672119140625, 0.04913330078125, -0.0308685302734375, -0.00258636474609375, -0.006023406982421875, 0.0104217529296875, -0.01120758056640625, -0.024017333984375, 0.01371002197265625, -0.0182952880859375, -0.0219879150390625, -0.025787353515625, -0.010284423828125, -0.0167999267578125, -0.047393798828125, -0.054229736328125, 0.0236358642578125, -0.0093231201171875, -0.02520751953125, -0.0197601318359375, 0.035186767578125, -0.01236724853515625, -0.0162353515625, -0.004302978515625, -0.034423828125, 0.0325927734375, 0.03424072265625, 0.0186309814453125, -0.016357421875, 0.04339599609375, -0.00403594970703125, -0.019073486328125, 0.00704193115234375, 0.00771331787109375, 0.00637054443359375, -0.050811767578125, 0.0311126708984375, -0.01305389404296875, 0.0289764404296875, -0.01502227783203125, -0.036346435546875, 0.0200958251953125, 0.0189971923828125, 0.045654296875, -0.050445556640625, -0.0255889892578125, -0.032135009765625, 0.0171051025390625, -0.0283966064453125, 0.0011749267578125, -0.00600433349609375, -0.0208892822265625, -0.0301666259765625, -0.059722900390625, 0.00438690185546875, 0.022125244140625, -0.07080078125, -0.0047607421875, 0.0086822509765625, 0.000024437904357910156, 0.050628662109375, -0.01812744140625, -0.0138702392578125, 0.0066986083984375, -0.01015472412109375, -0.0024585723876953125, -0.09576416015625, 0.0199127197265625, 0.032501220703125, -0.0262451171875, -0.01116943359375, -0.0294036865234375, 0.0124053955078125, 0.004116058349609375, -0.044281005859375, -0.02227783203125, -0.05255126953125, -0.0084381103515625, 0.03448486328125, -0.0244598388671875, 0.02899169921875, -0.034454345703125, -0.013031005859375, -0.01433563232421875, 0.004199981689453125, 0.002399444580078125, -0.0205078125, -0.0211181640625, 0.058563232421875, -0.00267791748046875, 0.0577392578125, -0.01198577880859375, 0.04168701171875, 0.016815185546875, 0.02520751953125, 0.04412841796875, -0.0230865478515625, 0.06878662109375, -0.047393798828125, -0.00540924072265625, 0.0193634033203125, -0.0445556640625, -0.049407958984375, 0.011932373046875, -0.0085296630859375, 0.00223541259765625, 0.01904296875 ]
e171da702c9d1960df92a9fb22ea0c4733fa2598
Wordpress Stackexchange Q: How do i disable or Remove the Native Wordpress Video Player? Any idea on how I can totally disable or entirely remove the default/Native Wordpress video player? A: welcome aboard. WordPress uses Media Elements JS for default video/audio player. You can disable this scripts with this code. Please add this code to your theme's functions.php function deregister_media_elements(){ wp_deregister_script('wp-mediaelement'); wp_deregister_style('wp-mediaelement'); } add_action('wp_enqueue_scripts','deregister_media_elements'); PS. This code de-register mediaelements.js from all WordPress (with your current theme).
Q: How do i disable or Remove the Native Wordpress Video Player? Any idea on how I can totally disable or entirely remove the default/Native Wordpress video player? A: welcome aboard. WordPress uses Media Elements JS for default video/audio player. You can disable this scripts with this code. Please add this code to your theme's functions.php function deregister_media_elements(){ wp_deregister_script('wp-mediaelement'); wp_deregister_style('wp-mediaelement'); } add_action('wp_enqueue_scripts','deregister_media_elements'); PS. This code de-register mediaelements.js from all WordPress (with your current theme). A: I just tested this method, by using this piece of code you will eliminate watching online option from users. The file will be automatically downloaded as somebody enters the page. A: Serkan's answer removed only some mediaelement files for me. This removed it completely: function deregister_media_elements(){ wp_deregister_script('mediaelement'); wp_deregister_style('mediaelement'); } add_action('wp_enqueue_scripts','deregister_media_elements');
wordpress
{ "language": "en", "length": 125, "provenance": "stackexchange_00019.jsonl.gz:500191", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/355228" }
[ 0.046142578125, 0.0145111083984375, 0.016082763671875, -0.0105438232421875, 0.023040771484375, -0.0179290771484375, 0.1007080078125, -0.0219268798828125, 0.0126190185546875, 0.004352569580078125, -0.01593017578125, -0.010589599609375, -0.025299072265625, -0.0277557373046875, -0.01428985595703125, -0.033538818359375, 0.0364990234375, 0.01186370849609375, 0.036773681640625, -0.0015974044799804688, -0.0025177001953125, 0.0281219482421875, 0.0303192138671875, 0.031280517578125, -0.0117645263671875, 0.0034332275390625, 0.0731201171875, -0.0284576416015625, -0.013275146484375, -0.045196533203125, 0.001956939697265625, 0.04864501953125, -0.0179443359375, 0.07550048828125, -0.056488037109375, -0.034515380859375, -0.0078277587890625, 0.03814697265625, 0.037353515625, -0.0218963623046875, -0.015838623046875, 0.0218658447265625, -0.022308349609375, -0.01727294921875, -0.04925537109375, -0.0228424072265625, -0.03277587890625, -0.016387939453125, 0.046905517578125, -0.0439453125, -0.02130126953125, 0.00251007080078125, 0.01094818115234375, -0.045318603515625, -0.04595947265625, -0.04144287109375, -0.0079803466796875, 0.011688232421875, 0.00972747802734375, 0.03680419921875, 0.003696441650390625, 0.03271484375, -0.003963470458984375, -0.0193634033203125, 0.0033664703369140625, -0.0142822265625, 0.0053253173828125, 0.0137786865234375, -0.054840087890625, 0.005245208740234375, 0.06549072265625, -0.038177490234375, -0.0027065277099609375, -0.0262603759765625, 0.00623321533203125, 0.0194244384765625, 0.00222015380859375, -0.01326751708984375, 0.01140594482421875, -0.00399017333984375, 0.032135009765625, 0.0087432861328125, -0.01032257080078125, -0.030792236328125, 0.0185394287109375, 0.0012025833129882812, 0.0005593299865722656, -0.0128631591796875, -0.046142578125, -0.0037479400634765625, -0.023956298828125, -0.0164642333984375, -0.03558349609375, -0.0377197265625, -0.0279541015625, -0.004390716552734375, 0.030059814453125, 0.042999267578125, 0.005115509033203125, -0.01690673828125, 0.0275726318359375, -0.063232421875, 0.0113372802734375, -0.0308380126953125, -0.003398895263671875, 0.01236724853515625, 0.0099029541015625, -0.050323486328125, 0.0059661865234375, 0.018890380859375, -0.03179931640625, 0.022613525390625, 0.00616455078125, 0.00726318359375, -0.046478271484375, -0.0009446144104003906, -0.014251708984375, -0.0009431838989257812, -0.0070648193359375, 0.019378662109375, -0.00995635986328125, 0.01322174072265625, -0.0164031982421875, -0.0013952255249023438, 0.006298065185546875, -0.0072021484375, -0.0263824462890625, 0.0220489501953125, 0.00177001953125, 0.0211181640625, -0.0611572265625, 0.0025768280029296875, 0.10400390625, 0.0284576416015625, 0.0156097412109375, -0.023529052734375, 0.03265380859375, -0.00156402587890625, 0.0178985595703125, 0.0225677490234375, -0.0015745162963867188, -0.0338134765625, -0.0017185211181640625, 0.0209808349609375, 0.04693603515625, -0.0308990478515625, -0.007293701171875, 0.0635986328125, 0.04876708984375, 0.0237274169921875, 0.042449951171875, -0.00467681884765625, 0.006847381591796875, 0.047607421875, 0.048858642578125, 0.009796142578125, 0.09674072265625, -0.026611328125, -0.0279083251953125, -0.03826904296875, 0.000032842159271240234, -0.0085296630859375, 0.0361328125, 0.00035452842712402344, -0.00461578369140625, 0.0002084970474243164, -0.0187530517578125, 0.001979827880859375, 0.0235595703125, 0.056427001953125, 0.007049560546875, -0.060211181640625, -0.00800323486328125, 0.0298614501953125, -0.002819061279296875, 0.0653076171875, -0.00396728515625, -0.0008158683776855469, 0.0154876708984375, 0.02423095703125, 0.00547027587890625, -0.0298309326171875, 0.036712646484375, -0.021392822265625, -0.06561279296875, 0.0309906005859375, 0.0139923095703125, 0.05328369140625, 0.0146636962890625, 0.0125732421875, 0.058197021484375, 0.0165557861328125, -0.004917144775390625, 0.01537322998046875, 0.0312347412109375, -0.039825439453125, -0.049163818359375, -0.041839599609375, 0.0019626617431640625, -0.017730712890625, 0.052978515625, 0.01953125, 0.00434112548828125, -0.0196533203125, -0.081298828125, 0.0160980224609375, -0.034515380859375, 0.050567626953125, -0.0026092529296875, 0.0160369873046875, 0.02740478515625, 0.00592041015625, -0.032958984375, 0.00490570068359375, -0.0301513671875, -0.0075836181640625, 0.005146026611328125, 0.06005859375, 0.0176849365234375, 0.0487060546875, -0.01055145263671875, -0.020294189453125, 0.014434814453125, 0.0045928955078125, 0.0206451416015625, -0.0253448486328125, -0.006923675537109375, -0.0311737060546875, 0.08551025390625, -0.035675048828125, 0.0623779296875, 0.04656982421875, -0.01910400390625, -0.003826141357421875, -0.007904052734375, 0.008819580078125, 0.01873779296875, -0.0487060546875, 0.01702880859375, 0.038055419921875, 0.033416748046875, 0.048614501953125, -0.012451171875, -0.001346588134765625, 0.07232666015625, -0.0295867919921875, -0.0023059844970703125, -0.0018091201782226562, 0.017364501953125, 0.007335662841796875, -0.03729248046875, -0.035736083984375, 0.031341552734375, -0.048309326171875, 0.00897979736328125, 0.037078857421875, -0.013336181640625, -0.01021575927734375, 0.01195526123046875, -0.0012445449829101562, -0.00887298583984375, -0.00002300739288330078, 0.016143798828125, -0.00960540771484375, 0.047821044921875, -0.01480865478515625, 0.01540374755859375, 0.00566864013671875, -0.0297698974609375, 0.0163726806640625, 0.02197265625, -0.0303192138671875, -0.022552490234375, 0.022857666015625, 0.07037353515625, -0.0439453125, -0.04150390625, -0.0011243820190429688, -0.020904541015625, 0.004634857177734375, -0.024810791015625, 0.0074462890625, -0.02423095703125, -0.0218048095703125, -0.0117340087890625, -0.045745849609375, 0.0010652542114257812, -0.0121002197265625, -0.054901123046875, -0.0479736328125, -0.01155853271484375, 0.037017822265625, -0.01187896728515625, 0.0009646415710449219, 0.043853759765625, -0.01520538330078125, -0.00848388671875, -0.057220458984375, 0.04595947265625, -0.0263671875, 0.0277099609375, 0.07086181640625, -0.01036834716796875, 0.031463623046875, 0.01303863525390625, 0.0004725456237792969, 0.03997802734375, 0.017333984375, -0.0088958740234375, 0.0345458984375, -0.0972900390625, -0.0682373046875, -0.01125335693359375, -0.032012939453125, -0.041412353515625, -0.02923583984375, -0.047882080078125, -0.043914794921875, -0.0828857421875, -0.023651123046875, 0.046875, -0.03741455078125, 0.0462646484375, -0.0004138946533203125, -0.0099029541015625, -0.053253173828125, 0.04205322265625, 0.006519317626953125, -0.018798828125, 0.0164337158203125, 0.0268707275390625, 0.0282135009765625, 0.005279541015625, -0.018218994140625, -0.017486572265625, -0.010406494140625, 0.0185394287109375, 0.04290771484375, 0.028564453125, -0.009918212890625, 0.034088134765625, -0.040435791015625, -0.0207672119140625, 0.01442718505859375, 0.01702880859375, -0.0042724609375, 0.00534820556640625, 0.015380859375, -0.06787109375, 0.00820159912109375, 0.004901885986328125, -0.041259765625, 0.01568603515625, -0.01526641845703125, -0.01383209228515625, 0.02783203125, -0.0089874267578125, -0.04559326171875, -0.01555633544921875, -0.068603515625, -0.0277252197265625, 0.01486968994140625, -0.01488494873046875, -0.0131683349609375, -0.02197265625, -0.016845703125, -0.0089263916015625, 0.018768310546875, -0.00949859619140625, -0.0026416778564453125, -0.0034961700439453125, -0.04931640625, 0.0472412109375, 0.0005016326904296875, 0.0021820068359375, 0.01105499267578125, 0.031463623046875, -0.023529052734375, 0.02142333984375, 0.0083770751953125, -0.01108551025390625, 0.005878448486328125, -0.0259246826171875, -0.0350341796875, 0.0116119384765625, 0.032806396484375, -0.0223236083984375, -0.01236724853515625, 0.018218994140625, -0.001129150390625, 0.0240631103515625, 0.0322265625, -0.05322265625, -0.009552001953125, 0.0075531005859375, 0.01165771484375, 0.005199432373046875, -0.038177490234375, -0.037200927734375, -0.01531982421875, -0.0240325927734375, -0.01328277587890625, -0.01212310791015625, -0.01531982421875, -0.0216064453125, 0.007568359375, -0.03106689453125, -0.0214385986328125, 0.03216552734375, -0.0110015869140625, -0.01007843017578125, -0.0083465576171875, -0.0202178955078125, -0.026458740234375, -0.0162353515625, -0.01171112060546875, -0.0653076171875, -0.0108795166015625, -0.0341796875, 0.0491943359375, 0.00980377197265625, -0.0017986297607421875, -0.00815582275390625, 0.036773681640625, -0.033966064453125, -0.0113372802734375, -0.0002282857894897461, -0.0034332275390625, 0.051422119140625, 0.0633544921875, 0.006641387939453125, 0.012420654296875, 0.000507354736328125, 0.0137481689453125, -0.0033817291259765625, 0.0523681640625, -0.0254669189453125, 0.01483154296875, 0.0010786056518554688, -0.0253143310546875, -0.0191497802734375, -0.035125732421875, -0.01812744140625, 0.039398193359375, -0.02044677734375, 0.0276947021484375, -0.056884765625, -0.052215576171875, 0.03460693359375, 0.0008401870727539062, -0.0216827392578125, -0.00162506103515625, 0.041778564453125, 0.0224609375, -0.018280029296875, -0.00260162353515625, 0.017852783203125, 0.019256591796875, 0.0024318695068359375, 0.04510498046875, -0.003025054931640625, -0.01238250732421875, 0.0733642578125, -0.004772186279296875, 0.0297393798828125, -0.0123291015625, 0.04974365234375, -0.0097503662109375, -0.0128326416015625, 0.041046142578125, -0.01788330078125, -0.0252838134765625, -0.01094818115234375, 0.0030002593994140625, 0.01358795166015625, 0.021148681640625, -0.013885498046875, 0.020782470703125, -0.04058837890625, -0.0123138427734375, -0.020751953125, -0.00014770030975341797, -0.04534912109375, 0.05926513671875, 0.037017822265625, 0.00250244140625, 0.030914306640625, 0.0487060546875, 0.0014619827270507812, -0.005413055419921875, 0.002605438232421875, -0.018035888671875, 0.0338134765625, 0.0087127685546875, -0.0004050731658935547, 0.00014841556549072266, -0.00444793701171875, 0.0036945343017578125, 0.005725860595703125, -0.042633056640625, -0.039459228515625, 0.02886962890625, 0.033477783203125, 0.0214080810546875, -0.004150390625, 0.053985595703125, 0.021392822265625, -0.0225677490234375, -0.0278472900390625, -0.039794921875, -0.0074310302734375, -0.06878662109375, -0.0011644363403320312, -0.01284027099609375, -0.007495880126953125, -0.0023593902587890625, 0.05938720703125, -0.01172637939453125, 0.028076171875, -0.0089111328125, 0.0518798828125, -0.0006279945373535156, 0.0572509765625, 0.006084442138671875, -0.034881591796875, 0.00047469139099121094, 0.0282440185546875, -0.012451171875, -0.0198974609375, -0.019805908203125, 0.01508331298828125, 0.024658203125, 0.00342559814453125, 0.00836181640625, 0.0067138671875, -0.0200042724609375, 0.0061187744140625, -0.0265045166015625, -0.044708251953125, -0.0221405029296875, 0.022735595703125, 0.04681396484375, -0.00811004638671875, -0.0230560302734375, -0.0212249755859375, -0.004322052001953125, -0.0273895263671875, -0.009552001953125, 0.06561279296875, -0.07794189453125, 0.0169677734375, 0.04156494140625, 0.00211334228515625, -0.006610870361328125, 0.016845703125, -0.09417724609375, -0.01209259033203125, -0.0254364013671875, 0.00537872314453125, 0.0330810546875, -0.041168212890625, 0.01171875, -0.0004360675811767578, 0.01080322265625, 0.0197906494140625, 0.0286712646484375, 0.0263519287109375, 0.0024776458740234375, -0.0176239013671875, -0.0268402099609375, -0.05364990234375, -0.051513671875, -0.0400390625, -0.03082275390625, -0.05316162109375, -0.0014352798461914062, -0.033538818359375, -0.025390625, 0.01000213623046875, 0.07476806640625, -0.000050127506256103516, 0.07403564453125, -0.0207977294921875, 0.0008435249328613281, -0.0252532958984375, 0.052642822265625, 0.03155517578125, 0.0267486572265625, 0.0247039794921875, 0.0231475830078125, -0.01142120361328125, -0.0223388671875, 0.020721435546875, 0.0108642578125, -0.048828125, 0.00079345703125, -0.02899169921875, -0.0275726318359375, 0.036651611328125, -0.025634765625, 0.0350341796875, -0.0240478515625, 0.003398895263671875, -0.0285797119140625, 0.014068603515625, -0.06475830078125, 0.0308380126953125, -0.031768798828125, -0.0245513916015625, 0.0272674560546875, -0.0154266357421875, -0.02117919921875, 0.0265960693359375, -0.02490234375, 0.0015277862548828125, 0.053619384765625, -0.01068115234375, 0.0139007568359375, 0.0207977294921875, -0.041717529296875, 0.02056884765625, 0.0162811279296875, 0.0008721351623535156, 0.013214111328125, 0.023681640625, -0.047393798828125, -0.0220947265625, 0.0098724365234375, 0.0024509429931640625, -0.005283355712890625, 0.00008815526962280273, 0.0028438568115234375, 0.003162384033203125, 0.01149749755859375, 0.060760498046875, -0.0160369873046875, 0.0032329559326171875, -0.0011243820190429688, -0.03399658203125, 0.004192352294921875, -0.061065673828125, 0.0193634033203125, -0.042694091796875, 0.07568359375, 0.0577392578125, -0.0274810791015625, 0.0006160736083984375, -0.0197906494140625, -0.0048370361328125, 0.0208892822265625, 0.02398681640625, 0.0136871337890625, -0.0225982666015625, -0.01113128662109375, 0.0157318115234375, -0.00040912628173828125, -0.00586700439453125, 0.004425048828125, 0.01500701904296875, -0.05316162109375, -0.09075927734375, -0.033203125, 0.0076141357421875, -0.044036865234375, 0.03564453125, 0.00850677490234375, -0.026763916015625, 0.059600830078125, -0.057373046875, 0.059844970703125, 0.0228729248046875, -0.047027587890625, -0.05511474609375, -0.045013427734375, 0.033721923828125, 0.0204315185546875, -0.06329345703125, 0.037322998046875, -0.021270751953125, -0.044036865234375, 0.01421356201171875, -0.0005283355712890625, 0.0186004638671875, -0.0273590087890625, -0.01512908935546875, 0.02520751953125, 0.01666259765625, -0.00830841064453125, -0.0307159423828125, 0.006519317626953125, -0.0692138671875, -0.01424407958984375, -0.0160064697265625, -0.02044677734375, -0.001911163330078125, -0.0204010009765625, -0.048370361328125, 0.07440185546875, -0.003993988037109375, 0.01056671142578125, 0.0216217041015625, 0.03521728515625, -0.04931640625, -0.00310516357421875, 0.0066375732421875, 0.02642822265625, 0.0258331298828125, 0.01555633544921875, 0.0008573532104492188, -0.01009368896484375, 0.007266998291015625, 0.048370361328125, 0.01061248779296875, -0.0158843994140625, 0.05609130859375, -0.0017910003662109375, 0.05096435546875, 0.0675048828125, 0.015167236328125, -0.04443359375, -0.0269927978515625, 0.0313720703125, 0.00635528564453125, -0.00839996337890625, 0.04034423828125, -0.038787841796875, -0.06707763671875, 0.0014562606811523438, 0.0280914306640625, 0.022216796875, 0.0272369384765625, 0.0312347412109375, -0.022216796875, 0.01329803466796875, 0.018341064453125, 0.01074981689453125, -0.0028476715087890625, 0.060272216796875, 0.022918701171875, -0.07293701171875, 0.0009431838989257812, -0.05633544921875, 0.061187744140625, -0.0244140625, -0.051513671875, 0.0631103515625, 0.025054931640625, -0.06982421875, -0.012420654296875, -0.00913238525390625, -0.01678466796875, -0.0164947509765625, -0.0027313232421875, -0.0126495361328125, 0.001567840576171875, -0.034332275390625, 0.02691650390625, 0.01800537109375, 0.00787353515625, -0.0286102294921875, -0.038360595703125, 0.0221099853515625, -0.00458526611328125, 0.006763458251953125, -0.0250396728515625, -0.0221710205078125, -0.0263519287109375, 0.004940032958984375, -0.02667236328125, 0.0036449432373046875, 0.002803802490234375, 0.0237274169921875, -0.01352691650390625, 0.03680419921875, -0.01153564453125, -0.01410675048828125, -0.05712890625, 0.0128936767578125, 0.022552490234375, 0.0170440673828125, 0.0267333984375, 0.021392822265625, 0.049560546875, -0.0026416778564453125, -0.025390625, 0.07958984375, -0.01114654541015625, 0.038177490234375, -0.08984375, -0.08831787109375, -0.01080322265625, 0.056182861328125, 0.0258636474609375, 0.072998046875, 0.055908203125, 0.01406097412109375, -0.033447265625, 0.0176544189453125, 0.058135986328125, -0.0267486572265625, -0.036590576171875, -0.0142669677734375, 0.002101898193359375, 0.035186767578125, 0.01126861572265625, 0.0191650390625, 0.03057861328125, 0.031158447265625, -0.0147247314453125, -0.004894256591796875, 0.003658294677734375, -0.021026611328125, 0.032928466796875, 0.0228271484375, 0.024688720703125, 0.004192352294921875, -0.0345458984375, 0.0092926025390625, -0.035491943359375, -0.045013427734375, 0.01342010498046875, 0.03094482421875, -0.0247344970703125, 0.021759033203125, 0.01409912109375, 0.01398468017578125, -0.0002512931823730469, -0.018402099609375, 0.0107269287109375, 0.004108428955078125, 0.03271484375, 0.0226898193359375, -0.049835205078125, -0.029632568359375, -0.037506103515625, 0.03155517578125, 0.0174407958984375, 0.08184814453125, -0.02911376953125, 0.0361328125, -0.021575927734375, -0.0162506103515625, 0.036224365234375, -0.0080718994140625, -0.0280914306640625, 0.040557861328125, 0.0076904296875, -0.0232086181640625, -0.00801849365234375, 0.0487060546875, 0.008636474609375, -0.006969451904296875, 0.06475830078125, -0.042938232421875, -0.00437164306640625, -0.0162811279296875, -0.014190673828125, -0.049102783203125, -0.06396484375, -0.029266357421875, 0.0289154052734375, -0.012176513671875, -0.02197265625, -0.0257110595703125, 0.0087738037109375, -0.0138397216796875, -0.01293182373046875, 0.007373809814453125, 0.00955963134765625, -0.01313018798828125, 0.0207061767578125, -0.013916015625, -0.0296630859375, 0.0107269287109375, -0.00809478759765625, -0.00696563720703125, 0.01513671875, 0.00742340087890625, 0.040557861328125, -0.08294677734375, -0.0160369873046875, -0.0166168212890625, 0.0168914794921875, -0.00580596923828125, -0.0023670196533203125, -0.0168609619140625, 0.0029506683349609375, -0.00139617919921875, -0.0082550048828125, -0.0169830322265625, -0.03143310546875, -0.005756378173828125, 0.022705078125, -0.024932861328125, -0.01549530029296875, -0.0240478515625, 0.01372528076171875, 0.008514404296875, 0.0027866363525390625, -0.060302734375, 0.032684326171875, -0.007526397705078125, 0.036468505859375, -0.03570556640625, 0.0287017822265625, -0.0311737060546875, -0.02252197265625, -0.023162841796875, -0.064208984375, -0.032073974609375, 0.08233642578125, -0.0237884521484375, 0.00847625732421875, 0.0232391357421875, -0.018829345703125, -0.00409698486328125, 0.023284912109375, 0.029815673828125, 0.07049560546875, -0.019317626953125, -0.032318115234375, -0.0313720703125, 0.0218505859375, 0.0154266357421875, -0.01491546630859375, 0.0081939697265625, -0.037445068359375, -0.025482177734375, 0.013916015625, -0.021087646484375, 0.0045318603515625, -0.05242919921875, -0.0648193359375, 0.023529052734375, 0.00908660888671875, -0.04443359375, -0.0165557861328125, 0.005474090576171875, -0.01436614990234375, -0.00872039794921875, 0.001750946044921875, -0.0225067138671875, -0.01059722900390625, 0.01229095458984375, 0.018035888671875, 0.045257568359375, -0.0092315673828125, 0.0126953125, -0.015869140625, 0.034332275390625, 0.008544921875, 0.01207733154296875, -0.0232086181640625, 0.033782958984375, -0.01313018798828125, 0.0156707763671875, -0.0244140625, 0.027740478515625, -0.01282501220703125, -0.0003647804260253906, -0.01329803466796875, -0.0267181396484375, -0.038299560546875, -0.0209808349609375, 0.04925537109375, 0.06549072265625, 0.007434844970703125, -0.0162506103515625, -0.07904052734375, -0.058746337890625, 0.0010242462158203125, -0.042633056640625, 0.020416259765625, -0.09625244140625, -0.0054168701171875, 0.00981903076171875, -0.00203704833984375, -0.0032138824462890625, -0.021392822265625, -0.035491943359375, -0.0159912109375, -0.0246734619140625, 0.005950927734375, -0.01953125, 0.03582763671875, 0.0445556640625, -0.041839599609375, 0.016082763671875, -0.003803253173828125, -0.019500732421875, 0.0460205078125, 0.0024700164794921875, -0.01122283935546875, -0.031768798828125, 0.0096435546875, 0.04095458984375, 0.005947113037109375, 0.023681640625, 0.005859375, -0.0185089111328125, -0.01021575927734375, 0.003253936767578125, 0.019287109375, 0.02923583984375, -0.056884765625, 0.040252685546875, 0.0178070068359375, 0.000965118408203125, -0.037384033203125, -0.0323486328125, -0.01812744140625, -0.0212554931640625, 0.01187896728515625, 0.034454345703125, 0.073974609375, -0.017791748046875, -0.0032253265380859375, 0.0026836395263671875, -0.04339599609375, -0.065185546875, 0.01617431640625, -0.05816650390625, -0.00733184814453125, 0.02197265625 ]
5f2b0f215152d3af6e53094ea8913376599054b0
Wordpress Stackexchange Q: Wordpress on Docker: how to update website/plugin? I have my wordpress running on LAMP, and now I would like to move it in Docker. I was wondering: how to handle wordpress and plugins updates? I see two "easy" paths: * *Deploy a basic version of the website, and If I need to redeploy it for whatever reason I'll need to reupdate everything (probably a mess because of the database) - so not really viable. *Keep the website's data persistent (I'm not using the wp docker image anyway), and mount a volume in the container with the wp files. In this way, the update would be persisted. What I really want is to store on git and then build a new image every time there is a wordpress update. Is this possible? If yes, how?
Q: Wordpress on Docker: how to update website/plugin? I have my wordpress running on LAMP, and now I would like to move it in Docker. I was wondering: how to handle wordpress and plugins updates? I see two "easy" paths: * *Deploy a basic version of the website, and If I need to redeploy it for whatever reason I'll need to reupdate everything (probably a mess because of the database) - so not really viable. *Keep the website's data persistent (I'm not using the wp docker image anyway), and mount a volume in the container with the wp files. In this way, the update would be persisted. What I really want is to store on git and then build a new image every time there is a wordpress update. Is this possible? If yes, how?
wordpress
{ "language": "en", "length": 135, "provenance": "stackexchange_00019.jsonl.gz:500256", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/355434" }
[ 0.0259857177734375, 0.002655029296875, -0.01971435546875, 0.005970001220703125, 0.017913818359375, -0.036712646484375, 0.046417236328125, -0.0278778076171875, 0.0300445556640625, 0.019287109375, -0.00786590576171875, -0.005260467529296875, 0.017486572265625, -0.0308990478515625, -0.01474761962890625, -0.006328582763671875, 0.05767822265625, -0.0258636474609375, 0.013702392578125, -0.00726318359375, -0.0095367431640625, 0.041046142578125, 0.028106689453125, 0.08624267578125, 0.02166748046875, -0.00040531158447265625, 0.0550537109375, -0.01580810546875, 0.033538818359375, 0.0005159378051757812, 0.0283050537109375, -0.043365478515625, 0.03192138671875, 0.01026153564453125, -0.040618896484375, -0.026885986328125, -0.01320648193359375, -0.0024089813232421875, -0.0242919921875, 0.043304443359375, 0.021392822265625, -0.00438690185546875, 0.08489990234375, 0.03204345703125, 0.03887939453125, -0.05316162109375, 0.039886474609375, -0.0838623046875, -0.0006051063537597656, -0.04864501953125, 0.021697998046875, 0.03204345703125, 0.04473876953125, -0.02191162109375, -0.00380706787109375, 0.012237548828125, 0.01457977294921875, 0.019287109375, 0.0196380615234375, -0.0384521484375, -0.041595458984375, 0.01302337646484375, 0.033203125, 0.00664520263671875, -0.00201416015625, -0.0160675048828125, 0.0144195556640625, 0.01328277587890625, -0.09765625, 0.0055999755859375, 0.08416748046875, -0.046875, -0.0258026123046875, -0.011566162109375, 0.01593017578125, -0.003498077392578125, 0.0361328125, -0.00005900859832763672, -0.016204833984375, 0.054351806640625, 0.0151214599609375, -0.01097869873046875, 0.047454833984375, -0.053863525390625, 0.0300750732421875, -0.01873779296875, -0.010284423828125, 0.00457000732421875, -0.0367431640625, -0.0048370361328125, -0.0234832763671875, -0.01465606689453125, -0.043853759765625, 0.03045654296875, -0.0098114013671875, 0.0261077880859375, -0.032806396484375, -0.040985107421875, 0.00016760826110839844, 0.058135986328125, -0.00540924072265625, -0.0467529296875, 0.088623046875, -0.030975341796875, -0.0209808349609375, 0.034454345703125, 0.0244903564453125, -0.0039520263671875, 0.00812530517578125, 0.0080108642578125, -0.01197052001953125, 0.0133819580078125, -0.004886627197265625, -0.054534912109375, 0.0238800048828125, 0.037322998046875, -0.0205535888671875, 0.056671142578125, 0.017852783203125, 0.0284423828125, -0.0280609130859375, 0.0047454833984375, -0.044586181640625, 0.009033203125, -0.001270294189453125, -0.015716552734375, 0.01153564453125, 0.006519317626953125, -0.05352783203125, -0.0084686279296875, -0.041900634765625, 0.03985595703125, 0.07470703125, 0.04931640625, 0.0034351348876953125, 0.007266998291015625, 0.02496337890625, 0.0214691162109375, 0.0101776123046875, 0.01045989990234375, 0.004863739013671875, -0.01251983642578125, 0.0013780593872070312, -0.026458740234375, 0.0013303756713867188, 0.01044464111328125, 0.0113677978515625, 0.0230560302734375, -0.002613067626953125, -0.0200653076171875, 0.0125579833984375, -0.0229644775390625, 0.0189971923828125, 0.0214080810546875, 0.03619384765625, -0.01245880126953125, 0.065185546875, -0.039337158203125, -0.004810333251953125, -0.03302001953125, -0.0012493133544921875, 0.00620269775390625, 0.058685302734375, 0.0171051025390625, -0.01090240478515625, 0.006076812744140625, -0.054473876953125, -0.012908935546875, 0.02587890625, 0.0178985595703125, 0.01983642578125, -0.0184326171875, 0.04315185546875, 0.034698486328125, 0.00615692138671875, 0.02001953125, 0.0225830078125, 0.01104736328125, 0.01605224609375, 0.03302001953125, -0.0013484954833984375, -0.02880859375, 0.0760498046875, -0.028472900390625, 0.001148223876953125, -0.018951416015625, -0.003673553466796875, 0.0180511474609375, 0.037322998046875, 0.0199127197265625, -0.0188140869140625, -0.025787353515625, -0.05157470703125, 0.039520263671875, -0.00688934326171875, 0.02166748046875, -0.0290069580078125, 0.04925537109375, -0.017852783203125, -0.072021484375, -0.042724609375, 0.0399169921875, -0.017486572265625, 0.00861358642578125, -0.037933349609375, 0.0070953369140625, -0.019287109375, 0.051055908203125, 0.015960693359375, 0.03521728515625, 0.0038356781005859375, 0.032135009765625, -0.00948333740234375, -0.0482177734375, -0.04736328125, 0.0013265609741210938, -0.034759521484375, 0.040374755859375, -0.0036449432373046875, 0.045074462890625, -0.0079803466796875, -0.01412200927734375, -0.01421356201171875, -0.044219970703125, 0.002109527587890625, -0.01502227783203125, 0.004795074462890625, -0.0163421630859375, 0.013702392578125, 0.010284423828125, 0.00899505615234375, -0.006755828857421875, -0.0019054412841796875, 0.0159912109375, -0.0220184326171875, -0.0115814208984375, -0.04437255859375, -0.06817626953125, 0.01251220703125, 0.056915283203125, 0.029327392578125, 0.0018796920776367188, -0.007190704345703125, 0.0171356201171875, 0.053680419921875, -0.0260162353515625, 0.004913330078125, 0.0220794677734375, 0.0548095703125, 0.046783447265625, 0.0033397674560546875, -0.04302978515625, 0.025634765625, -0.0255279541015625, 0.0037288665771484375, 0.0293121337890625, 0.01271820068359375, 0.0199432373046875, -0.054656982421875, 0.0015439987182617188, -0.005886077880859375, -0.055145263671875, -0.041595458984375, -0.0262603759765625, -0.0171661376953125, 0.00640869140625, 0.006938934326171875, 0.01551055908203125, -0.0025081634521484375, -0.01021575927734375, 0.0206146240234375, -0.00786590576171875, 0.0180206298828125, 0.0093231201171875, -0.036407470703125, 0.0178070068359375, -0.00293731689453125, -0.00623321533203125, 0.02301025390625, -0.00011116266250610352, -0.036407470703125, -0.03973388671875, -0.001861572265625, -0.01346588134765625, 0.0007491111755371094, -0.03436279296875, 0.048492431640625, -0.008880615234375, -0.06805419921875, -0.0223846435546875, 0.0128173828125, 0.016937255859375, -0.0323486328125, 0.0137939453125, 0.007076263427734375, 0.00012922286987304688, 0.039215087890625, -0.04180908203125, 0.03265380859375, -0.0178070068359375, 0.020599365234375, 0.053924560546875, 0.025146484375, -0.0255126953125, 0.01340484619140625, -0.004314422607421875, 0.0186920166015625, -0.0068206787109375, -0.02056884765625, 0.02935791015625, -0.094970703125, -0.0021514892578125, 0.017547607421875, 0.023162841796875, -0.01268768310546875, -0.0438232421875, -0.025390625, 0.004146575927734375, -0.10089111328125, -0.07623291015625, -0.038970947265625, -0.0645751953125, 0.037200927734375, 0.01087188720703125, -0.0096435546875, -0.0160980224609375, 0.043426513671875, 0.0256805419921875, -0.0310211181640625, -0.0243682861328125, -0.046173095703125, -0.085693359375, -0.0787353515625, -0.0254974365234375, -0.0022640228271484375, 0.0207977294921875, -0.005245208740234375, 0.0645751953125, 0.0022029876708984375, -0.0870361328125, -0.035430908203125, 0.05206298828125, -0.01378631591796875, 0.01499176025390625, 0.033721923828125, -0.043548583984375, 0.003444671630859375, -0.00096893310546875, 0.039764404296875, 0.04095458984375, -0.036773681640625, 0.0026187896728515625, -0.00510406494140625, -0.01922607421875, -0.00365447998046875, -0.061248779296875, 0.0013275146484375, -0.017486572265625, -0.06329345703125, -0.06134033203125, 0.0215301513671875, 0.0203704833984375, 0.0001399517059326172, 0.013946533203125, -0.016876220703125, -0.03173828125, 0.0016450881958007812, 0.00815582275390625, -0.0174713134765625, 0.0170135498046875, 0.00650787353515625, 0.0015583038330078125, 0.00040340423583984375, -0.02972412109375, -0.03759765625, -0.01160430908203125, 0.0216064453125, -0.020172119140625, 0.0106201171875, -0.018768310546875, -0.00870513916015625, -0.055419921875, 0.04949951171875, -0.06964111328125, -0.0362548828125, 0.047821044921875, -0.013763427734375, 0.0134429931640625, -0.0313720703125, -0.019256591796875, -0.002536773681640625, 0.0863037109375, -0.0256805419921875, -0.01154327392578125, 0.00827789306640625, 0.017913818359375, -0.048309326171875, -0.0180816650390625, -0.04010009765625, -0.0118560791015625, -0.0341796875, -0.0017290115356445312, -0.00881195068359375, 0.0011959075927734375, -0.00537872314453125, 0.0088958740234375, -0.01120758056640625, -0.030853271484375, 0.01708984375, -0.05682373046875, 0.00762176513671875, 0.0022640228271484375, -0.0237579345703125, -0.038177490234375, -0.001949310302734375, -0.041412353515625, -0.10638427734375, -0.012664794921875, 0.004848480224609375, 0.047760009765625, -0.01561737060546875, 0.01094818115234375, -0.040191650390625, 0.03692626953125, -0.0079193115234375, 0.041046142578125, -0.0166473388671875, 0.01531982421875, -0.0174713134765625, -0.034027099609375, 0.0108489990234375, -0.043792724609375, -0.005092620849609375, -0.03173828125, 0.003204345703125, -0.026763916015625, -0.0382080078125, -0.02392578125, -0.01849365234375, -0.01611328125, -0.011566162109375, 0.0033016204833984375, -0.03045654296875, 0.014984130859375, -0.0245361328125, 0.003658294677734375, -0.0013341903686523438, -0.032135009765625, 0.05780029296875, -0.0164794921875, -0.00565338134765625, 0.014190673828125, 0.09552001953125, 0.00658416748046875, -0.01155853271484375, -0.08489990234375, 0.0213165283203125, 0.0443115234375, 0.04681396484375, 0.0120391845703125, 0.03204345703125, -0.0211944580078125, -0.007167816162109375, 0.056488037109375, -0.012664794921875, 0.04156494140625, -0.0380859375, 0.02569580078125, -0.042083740234375, 0.0016698837280273438, 0.022430419921875, 0.003322601318359375, 0.03076171875, -0.0191192626953125, 0.005352020263671875, -0.033782958984375, -0.01433563232421875, 0.007549285888671875, 0.00833892822265625, -0.01390838623046875, -0.061859130859375, 0.0242156982421875, -0.005092620849609375, 0.0191650390625, 0.00965118408203125, -0.0145721435546875, 0.059173583984375, 0.01953125, -0.0187225341796875, -0.017486572265625, -0.02508544921875, -0.014434814453125, 0.000934600830078125, -0.022918701171875, -0.0240020751953125, -0.0019779205322265625, -0.0184173583984375, 0.10809326171875, 0.0012645721435546875, -0.0679931640625, 0.027740478515625, -0.018768310546875, 0.01342010498046875, 0.038330078125, 0.005565643310546875, 0.032501220703125, 0.00933074951171875, -0.03814697265625, -0.00884246826171875, -0.0033092498779296875, -0.0323486328125, -0.04791259765625, -0.02294921875, -0.01343536376953125, -0.0160064697265625, 0.05108642578125, -0.01392364501953125, 0.0258026123046875, -0.01145172119140625, -0.0286865234375, 0.03289794921875, 0.0232086181640625, 0.0013027191162109375, 0.0183258056640625, 0.00905609130859375, 0.0091552734375, -0.0273284912109375, 0.00728607177734375, -0.0157470703125, 0.023468017578125, 0.0024089813232421875, 0.0238189697265625, 0.006427764892578125, -0.02593994140625, 0.03314208984375, -0.025238037109375, 0.01081085205078125, -0.0113067626953125, -0.0255279541015625, -0.0206756591796875, 0.0033416748046875, 0.0050811767578125, 0.014984130859375, -0.023101806640625, -0.00788116455078125, -0.0003151893615722656, -0.018890380859375, 0.0116424560546875, -0.01015472412109375, -0.016387939453125, 0.0023670196533203125, 0.00127410888671875, 0.029052734375, -0.0172576904296875, -0.02459716796875, 0.0005655288696289062, 0.0171661376953125, -0.02947998046875, -0.0034427642822265625, 0.03826904296875, -0.0226898193359375, 0.003681182861328125, -0.0255126953125, 0.01397705078125, -0.01076507568359375, 0.0017852783203125, 0.04205322265625, 0.0069580078125, -0.04473876953125, -0.00827789306640625, -0.0584716796875, -0.023345947265625, -0.030517578125, -0.03289794921875, -0.052947998046875, 0.0114288330078125, 0.01462554931640625, 0.01922607421875, -0.02410888671875, -0.0440673828125, -0.0124664306640625, 0.0222015380859375, 0.032470703125, 0.004802703857421875, 0.0059356689453125, 0.01308441162109375, -0.0076141357421875, 0.04400634765625, 0.00690460205078125, -0.0233917236328125, -0.036712646484375, -0.0145416259765625, 0.0016775131225585938, 0.0139617919921875, -0.0098114013671875, -0.0411376953125, 0.04754638671875, -0.0197296142578125, 0.042205810546875, -0.0070648193359375, -0.00717926025390625, -0.034393310546875, -0.00081634521484375, -0.034423828125, 0.06396484375, -0.0269012451171875, -0.0140533447265625, -0.0071868896484375, -0.0092010498046875, 0.01812744140625, -0.007213592529296875, -0.00264739990234375, -0.006267547607421875, -0.00675201416015625, -0.00667572021484375, 0.017730712890625, -0.0117950439453125, 0.04241943359375, 0.068115234375, -0.01462554931640625, 0.051910400390625, 0.02935791015625, 0.01226806640625, 0.0280609130859375, -0.00533294677734375, -0.010467529296875, 0.01971435546875, 0.03271484375, -0.007293701171875, -0.00783538818359375, 0.00994873046875, -0.026275634765625, 0.008270263671875, 0.0007157325744628906, 0.039398193359375, -0.013946533203125, 0.013519287109375, 0.00882720947265625, -0.0222015380859375, 0.009521484375, -0.017669677734375, -0.04608154296875, -0.05999755859375, 0.053070068359375, -0.0249481201171875, -0.02716064453125, 0.0101165771484375, 0.014373779296875, -0.01146697998046875, -0.001445770263671875, 0.039581298828125, 0.0069580078125, -0.057952880859375, -0.0035858154296875, 0.034881591796875, -0.02459716796875, 0.00276947021484375, -0.003917694091796875, 0.01561737060546875, -0.034515380859375, -0.04364013671875, 0.0118560791015625, -0.0190277099609375, -0.01039886474609375, 0.004207611083984375, -0.0238800048828125, 0.01361846923828125, 0.053558349609375, -0.024566650390625, 0.0023174285888671875, 0.0421142578125, -0.033203125, -0.052398681640625, -0.0179290771484375, 0.032989501953125, 0.03741455078125, -0.06622314453125, 0.04278564453125, -0.0289459228515625, -0.01529693603515625, -0.0121612548828125, -0.016571044921875, 0.06781005859375, -0.04571533203125, -0.003299713134765625, 0.01320648193359375, 0.035614013671875, -0.0005192756652832031, -0.031707763671875, 0.0080108642578125, -0.06976318359375, -0.012481689453125, -0.00751495361328125, -0.01568603515625, -0.0216217041015625, -0.0215301513671875, -0.0604248046875, 0.09991455078125, 0.01122283935546875, -0.0010080337524414062, -0.0009245872497558594, 0.05126953125, -0.03167724609375, 0.0112762451171875, 0.00154876708984375, 0.0419921875, -0.0265655517578125, 0.004642486572265625, -0.0060272216796875, 0.006168365478515625, -0.003086090087890625, 0.00402069091796875, 0.0570068359375, 0.0218963623046875, -0.0802001953125, 0.00472259521484375, 0.0728759765625, 0.053802490234375, 0.04534912109375, 0.06787109375, -0.004756927490234375, 0.0161285400390625, -0.0004773139953613281, -0.02313232421875, 0.035064697265625, -0.035797119140625, -0.031585693359375, 0.0164337158203125, 0.006816864013671875, 0.014801025390625, -0.00402069091796875, 0.036224365234375, 0.0208892822265625, -0.0081939697265625, -0.00418853759765625, -0.0260467529296875, 0.0221710205078125, 0.0028362274169921875, 0.01149749755859375, 0.016510009765625, 0.036956787109375, -0.0126495361328125, 0.041259765625, -0.0084075927734375, -0.022613525390625, -0.0215301513671875, -0.005039215087890625, -0.0292205810546875, 0.0107879638671875, -0.0201873779296875, 0.055450439453125, -0.0268707275390625, 0.0589599609375, 0.0213165283203125, 0.0246124267578125, -0.029632568359375, 0.003875732421875, 0.0247650146484375, 0.0577392578125, -0.041961669921875, -0.0161285400390625, 0.01496124267578125, 0.0015249252319335938, -0.0025310516357421875, -0.022186279296875, -0.00630950927734375, -0.029571533203125, -0.01071929931640625, 0.0266265869140625, -0.012176513671875, -0.00948333740234375, -0.0209808349609375, 0.01300811767578125, 0.06927490234375, 0.01476287841796875, 0.01169586181640625, -0.02166748046875, 0.0292205810546875, 0.0022640228271484375, 0.0067291259765625, -0.00975799560546875, 0.03704833984375, 0.0058746337890625, 0.00502777099609375, -0.0019779205322265625, 0.062469482421875, 0.03485107421875, -0.01427459716796875, -0.0183563232421875, -0.068603515625, 0.0550537109375, 0.029327392578125, -0.004566192626953125, 0.025848388671875, 0.0263519287109375, 0.0693359375, 0.023834228515625, -0.01154327392578125, 0.06121826171875, 0.00978851318359375, 0.002986907958984375, -0.0005826950073242188, 0.01358795166015625, 0.015960693359375, -0.01210784912109375, -0.0243988037109375, 0.0352783203125, 0.029327392578125, -0.046539306640625, 0.031829833984375, -0.00965118408203125, -0.038116455078125, 0.056060791015625, -0.02825927734375, 0.062744140625, -0.021087646484375, 0.0257568359375, -0.0165252685546875, 0.0255889892578125, 0.0352783203125, -0.0311126708984375, 0.02301025390625, 0.0286407470703125, 0.010986328125, 0.022064208984375, -0.0027790069580078125, 0.01263427734375, -0.00341796875, -0.005802154541015625, -0.00812530517578125, 0.04425048828125, 0.0084991455078125, -0.021820068359375, -0.038116455078125, -0.0182342529296875, 0.07391357421875, 0.0171661376953125, 0.0235748291015625, -0.027862548828125, 0.03143310546875, -0.0037860870361328125, -0.0204315185546875, 0.01087188720703125, 0.01374053955078125, -0.030914306640625, -0.005825042724609375, 0.0037822723388671875, -0.0021610260009765625, -0.01534271240234375, 0.001941680908203125, 0.019927978515625, -0.044647216796875, -0.01296234130859375, -0.0421142578125, 0.024169921875, 0.0178985595703125, 0.0014772415161132812, -0.0316162109375, -0.06463623046875, 0.002044677734375, 0.050445556640625, -0.0272369384765625, 0.010833740234375, -0.0160369873046875, 0.0219879150390625, 0.01123809814453125, -0.01454925537109375, 0.00637054443359375, 0.002532958984375, 0.006145477294921875, 0.029876708984375, -0.0050048828125, -0.0325927734375, -0.0023822784423828125, -0.017364501953125, -0.0170745849609375, 0.004718780517578125, 0.044952392578125, -0.0140838623046875, -0.0198822021484375, -0.01438140869140625, -0.0234527587890625, 0.0134124755859375, -0.013427734375, 0.006378173828125, -0.045928955078125, 0.018524169921875, -0.0013265609741210938, -0.016815185546875, -0.0391845703125, -0.049835205078125, -0.006191253662109375, 0.0220947265625, -0.0321044921875, -0.036163330078125, -0.079345703125, -0.0027446746826171875, 0.0257415771484375, -0.00746917724609375, -0.03369140625, 0.0095062255859375, -0.0191192626953125, 0.0035915374755859375, -0.01334381103515625, -0.017822265625, -0.012481689453125, 0.0127105712890625, -0.007022857666015625, -0.0770263671875, -0.03228759765625, 0.064697265625, -0.047515869140625, 0.012451171875, 0.0247039794921875, -0.026214599609375, -0.017333984375, -0.008819580078125, 0.0117950439453125, 0.04742431640625, 0.0269012451171875, -0.02471923828125, 0.0191802978515625, -0.03125, 0.01103973388671875, -0.054901123046875, -0.0070343017578125, -0.0682373046875, 0.00167083740234375, -0.0093841552734375, -0.021575927734375, 0.0015411376953125, -0.054229736328125, -0.09356689453125, 0.042388916015625, -0.01511383056640625, -0.0460205078125, -0.074462890625, -0.0048675537109375, -0.0156402587890625, 0.03424072265625, -0.034423828125, -0.019073486328125, -0.030426025390625, 0.06268310546875, -0.00344085693359375, 0.058746337890625, -0.050201416015625, 0.029083251953125, 0.0196380615234375, 0.05987548828125, 0.04693603515625, -0.0222320556640625, -0.0216827392578125, -0.0013132095336914062, 0.035552978515625, 0.046051025390625, -0.00739288330078125, 0.000823974609375, 0.0345458984375, -0.03082275390625, -0.026947021484375, -0.00818634033203125, -0.019683837890625, 0.01305389404296875, 0.0684814453125, 0.07525634765625, 0.0208740234375, -0.05126953125, -0.0220489501953125, -0.052734375, -0.02923583984375, -0.0213775634765625, 0.022613525390625, -0.0701904296875, 0.0029048919677734375, 0.0114898681640625, 0.00960540771484375, -0.0171051025390625, 0.0079193115234375, 0.007205963134765625, -0.0222930908203125, 0.03521728515625, -0.0086822509765625, 0.0012054443359375, -0.041717529296875, 0.07232666015625, -0.016815185546875, 0.04638671875, 0.00949859619140625, 0.020751953125, 0.056488037109375, 0.057373046875, 0.0047607421875, 0.00669097900390625, -0.0306396484375, 0.0322265625, -0.0089111328125, 0.016357421875, -0.02850341796875, -0.016082763671875, -0.00986480712890625, 0.014312744140625, 0.00893402099609375, 0.0218658447265625, -0.04974365234375, 0.041595458984375, 0.0084991455078125, 0.0257720947265625, -0.0058746337890625, -0.0036563873291015625, -0.01348114013671875, 0.0301513671875, -0.071044921875, 0.0166778564453125, -0.046234130859375, -0.032440185546875, 0.005054473876953125, 0.0030384063720703125, 0.01194000244140625, -0.02459716796875, 0.00762176513671875, -0.0253448486328125, 0.006214141845703125, 0.005435943603515625 ]
19762ef6775455db12137c7a77dcaf51d4d28810
Wordpress Stackexchange Q: How to remove the embed_footer? I'm trying to remove the entire embed_footer from WordPress embedded posts. By adding the following code in the functions.php, I was able to remove the site title and comments icon. But still, the share icon is there. add_filter('embed_site_title_html','__return_false'); remove_action( 'embed_content_meta', 'print_embed_comments_button' ); Is there a way to remove the entire embed_footer? Or can I remove the share button also like the above code? A: The comments button and the share button are generated in two separate default actions, so you have to remove them both: remove_action( 'embed_content_meta', 'print_embed_comments_button' ); remove_action( 'embed_content_meta', 'print_embed_sharing_button' );
Q: How to remove the embed_footer? I'm trying to remove the entire embed_footer from WordPress embedded posts. By adding the following code in the functions.php, I was able to remove the site title and comments icon. But still, the share icon is there. add_filter('embed_site_title_html','__return_false'); remove_action( 'embed_content_meta', 'print_embed_comments_button' ); Is there a way to remove the entire embed_footer? Or can I remove the share button also like the above code? A: The comments button and the share button are generated in two separate default actions, so you have to remove them both: remove_action( 'embed_content_meta', 'print_embed_comments_button' ); remove_action( 'embed_content_meta', 'print_embed_sharing_button' ); A: All the javascript files are embedded in the footer if you remove the footer maybe your site goes down. There are two ways: * *Create a child theme and create footer.php and call wp_footer(); hook there. *Or If you just want to remove the footer text you can do this in CSS just find the class or id and make it display: none;
wordpress
{ "language": "en", "length": 163, "provenance": "stackexchange_00019.jsonl.gz:500339", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/355699" }
[ 0.057586669921875, 0.0171356201171875, -0.00453948974609375, 0.03448486328125, 0.0189666748046875, -0.0643310546875, 0.08502197265625, -0.055694580078125, 0.01197052001953125, -0.007106781005859375, 0.0023956298828125, -0.0279541015625, 0.0034732818603515625, -0.0526123046875, 0.00460052490234375, -0.034027099609375, 0.0176239013671875, 0.02252197265625, 0.0633544921875, -0.00605010986328125, -0.005352020263671875, 0.002777099609375, 0.0662841796875, 0.03472900390625, -0.01380157470703125, -0.04656982421875, 0.1287841796875, -0.00397491455078125, -0.000007212162017822266, -0.036285400390625, 0.0200958251953125, 0.01776123046875, -0.0216827392578125, 0.06640625, -0.0462646484375, -0.04241943359375, -0.020721435546875, 0.040252685546875, 0.0171966552734375, -0.007724761962890625, 0.0062408447265625, -0.00229644775390625, 0.021270751953125, 0.00019037723541259766, -0.0128936767578125, 0.004474639892578125, -0.00045299530029296875, -0.0199737548828125, 0.0162811279296875, -0.0156402587890625, 0.0142669677734375, 0.034027099609375, 0.028076171875, -0.0321044921875, -0.009765625, 0.01076507568359375, 0.020721435546875, -0.004825592041015625, 0.0271453857421875, 0.01461029052734375, -0.0236053466796875, 0.022613525390625, -0.012298583984375, -0.039794921875, -0.01224517822265625, -0.0169830322265625, 0.00047326087951660156, 0.00421142578125, -0.021148681640625, 0.0037326812744140625, 0.0262298583984375, -0.010498046875, 0.021209716796875, 0.0043182373046875, -0.0294189453125, -0.0005326271057128906, -0.0237884521484375, 0.00762939453125, 0.04638671875, -0.022308349609375, -0.0025730133056640625, 0.0060577392578125, -0.05084228515625, 0.01149749755859375, -0.004436492919921875, 0.0261383056640625, -0.0189666748046875, -0.0135955810546875, -0.00974273681640625, -0.02178955078125, -0.0182647705078125, -0.0014820098876953125, -0.03192138671875, 0.01678466796875, -0.02569580078125, 0.00212860107421875, 0.038482666015625, 0.07012939453125, -0.024444580078125, -0.0284271240234375, 0.01554107666015625, -0.031951904296875, 0.00446319580078125, -0.032623291015625, 0.007205963134765625, 0.0172119140625, -0.03155517578125, -0.02862548828125, 0.0299224853515625, 0.038330078125, 0.007472991943359375, -0.01015472412109375, -0.0433349609375, -0.03179931640625, -0.0165557861328125, 0.049468994140625, -0.038909912109375, 0.01143646240234375, -0.0123138427734375, 0.03411865234375, 0.0032978057861328125, -0.00293731689453125, -0.0016031265258789062, 0.019805908203125, 0.04931640625, 0.043975830078125, -0.00982666015625, -0.0151214599609375, 0.00960540771484375, 0.0147552490234375, -0.0518798828125, -0.0002529621124267578, 0.0928955078125, 0.044403076171875, 0.03765869140625, -0.036712646484375, -0.0296173095703125, 0.0280914306640625, 0.003513336181640625, 0.0161895751953125, -0.027587890625, -0.06011962890625, 0.035369873046875, -0.00028061866760253906, -0.044647216796875, 0.00327301025390625, 0.01568603515625, 0.002231597900390625, -0.01824951171875, -0.0218963623046875, -0.04693603515625, 0.00042057037353515625, 0.03338623046875, -0.01265716552734375, 0.0272674560546875, -0.0804443359375, 0.0147552490234375, -0.043121337890625, 0.052520751953125, -0.044464111328125, -0.0225372314453125, -0.00000947713851928711, 0.01171112060546875, 0.0041046142578125, -0.0166168212890625, -0.00966644287109375, 0.02838134765625, 0.01338958740234375, 0.01393890380859375, 0.05084228515625, -0.0188140869140625, -0.037322998046875, -0.0418701171875, -0.0003528594970703125, -0.0166015625, 0.0193023681640625, 0.044708251953125, 0.0206756591796875, -0.006359100341796875, 0.0174560546875, -0.0302581787109375, -0.0458984375, 0.0684814453125, -0.062469482421875, -0.0501708984375, -0.016387939453125, 0.0212249755859375, 0.0277252197265625, 0.00931549072265625, 0.017425537109375, 0.080322265625, 0.007198333740234375, 0.01058197021484375, 0.004791259765625, 0.0181121826171875, -0.02117919921875, -0.046905517578125, -0.01387786865234375, -0.0070343017578125, -0.0203399658203125, -0.016754150390625, 0.0274200439453125, -0.021759033203125, 0.047515869140625, -0.00897979736328125, 0.004261016845703125, -0.00876617431640625, 0.01087188720703125, -0.0254058837890625, 0.0278472900390625, 0.040557861328125, 0.0178680419921875, -0.05731201171875, 0.02789306640625, -0.012420654296875, -0.020751953125, -0.022552490234375, -0.00348663330078125, 0.006778717041015625, 0.0016851425170898438, -0.00499725341796875, -0.00665283203125, 0.0090484619140625, -0.003162384033203125, 0.0887451171875, -0.031768798828125, 0.0005526542663574219, -0.049713134765625, 0.0711669921875, -0.0146026611328125, -0.06353759765625, 0.054290771484375, 0.01128387451171875, 0.005229949951171875, -0.0227508544921875, -0.001068115234375, -0.0055999755859375, -0.05718994140625, -0.0031871795654296875, 0.048309326171875, 0.03692626953125, 0.039794921875, 0.019866943359375, 0.01103973388671875, 0.0150299072265625, -0.0396728515625, 0.0289764404296875, -0.019561767578125, 0.01947021484375, 0.0670166015625, 0.0100555419921875, -0.00739288330078125, 0.0053558349609375, -0.0209808349609375, 0.00908660888671875, 0.0171966552734375, -0.0157928466796875, -0.031951904296875, 0.0228729248046875, 0.004833221435546875, -0.0018863677978515625, -0.0242919921875, -0.003513336181640625, -0.02142333984375, -0.0193328857421875, 0.01145172119140625, 0.004337310791015625, 0.0252532958984375, -0.03778076171875, -0.005252838134765625, 0.0401611328125, 0.05499267578125, -0.00713348388671875, 0.061737060546875, 0.0247955322265625, -0.04791259765625, -0.015655517578125, -0.0100250244140625, -0.02099609375, 0.0183258056640625, 0.004878997802734375, 0.013336181640625, 0.0106964111328125, -0.01146697998046875, 0.0202178955078125, -0.0156402587890625, 0.0096435546875, 0.00661468505859375, -0.00940704345703125, -0.028350830078125, -0.044647216796875, 0.0745849609375, -0.008880615234375, 0.04400634765625, 0.03436279296875, 0.005702972412109375, -0.00473785400390625, -0.0386962890625, 0.031829833984375, -0.01447296142578125, 0.03277587890625, 0.051513671875, 0.0338134765625, -0.02880859375, 0.00823211669921875, -0.0020160675048828125, -0.005420684814453125, -0.01322174072265625, -0.0269622802734375, 0.008392333984375, -0.060302734375, 0.042327880859375, -0.004627227783203125, 0.0296478271484375, -0.049163818359375, -0.05322265625, -0.032623291015625, -0.0186767578125, -0.06658935546875, -0.03485107421875, 0.014617919921875, -0.044677734375, -0.0262298583984375, 0.032623291015625, -0.041595458984375, -0.00899505615234375, 0.0965576171875, -0.0013637542724609375, -0.0170745849609375, -0.037109375, -0.0171356201171875, -0.01284027099609375, -0.022216796875, 0.013824462890625, 0.00812530517578125, -0.0026035308837890625, 0.0233612060546875, 0.0064544677734375, 0.0130157470703125, -0.0099029541015625, 0.04736328125, -0.0149383544921875, -0.0291290283203125, 0.0240631103515625, 0.026611328125, 0.014251708984375, -0.01006317138671875, 0.0251617431640625, -0.065185546875, 0.027862548828125, -0.0193023681640625, -0.044097900390625, -0.01442718505859375, -0.00988006591796875, -0.00949859619140625, 0.0083770751953125, 0.01473236083984375, -0.034698486328125, -0.033447265625, -0.074951171875, -0.046600341796875, -0.004253387451171875, -0.040130615234375, 0.01294708251953125, 0.0301971435546875, -0.0179443359375, -0.01108551025390625, 0.0260772705078125, 0.035186767578125, 0.01605224609375, 0.05438232421875, 0.01392364501953125, 0.0188446044921875, -0.00981903076171875, -0.007686614990234375, -0.0751953125, -0.0133056640625, -0.020172119140625, 0.049835205078125, 0.001041412353515625, 0.013916015625, -0.0037384033203125, 0.0263519287109375, -0.020263671875, 0.0006256103515625, 0.0207061767578125, -0.0202178955078125, 0.045440673828125, 0.004581451416015625, -0.01305389404296875, -0.0017261505126953125, 0.061004638671875, -0.06689453125, -0.02178955078125, 0.0171356201171875, 0.00023484230041503906, 0.018096923828125, 0.0138397216796875, -0.033355712890625, -0.0250244140625, -0.06475830078125, 0.0196075439453125, -0.0174102783203125, -0.0164642333984375, -0.00716400146484375, 0.01375579833984375, -0.0177001953125, -0.0281982421875, 0.0030727386474609375, 0.036285400390625, -0.0288543701171875, -0.00679779052734375, -0.0548095703125, 0.0010232925415039062, 0.0013675689697265625, -0.0171966552734375, -0.027130126953125, -0.0024585723876953125, -0.01546478271484375, 0.0251312255859375, -0.0238037109375, 0.0439453125, -0.02813720703125, 0.015960693359375, -0.032012939453125, -0.00661468505859375, -0.017486572265625, 0.026214599609375, -0.026336669921875, -0.01148223876953125, -0.0261993408203125, -0.0235443115234375, 0.0068359375, 0.035980224609375, -0.01837158203125, 0.0310516357421875, -0.01934814453125, -0.00905609130859375, 0.03619384765625, -0.04437255859375, -0.0133819580078125, -0.0340576171875, 0.00238037109375, 0.006282806396484375, 0.0217132568359375, -0.0122222900390625, -0.038330078125, -0.01039886474609375, 0.0229644775390625, 0.042205810546875, -0.022552490234375, 0.01250457763671875, 0.0238189697265625, 0.0218048095703125, -0.032440185546875, -0.032562255859375, 0.036163330078125, 0.040985107421875, -0.039337158203125, 0.0236663818359375, 0.045562744140625, -0.00673675537109375, -0.0017290115356445312, -0.00270843505859375, 0.031219482421875, -0.0118255615234375, 0.045806884765625, -0.01125335693359375, -0.0196075439453125, 0.039337158203125, -0.00275421142578125, -0.02691650390625, -0.006809234619140625, -0.00861358642578125, 0.00482177734375, -0.053436279296875, 0.0244140625, 0.051239013671875, -0.0107269287109375, -0.043853759765625, -0.01910400390625, -0.00527191162109375, 0.006988525390625, 0.040771484375, 0.028411865234375, -0.0034618377685546875, 0.024566650390625, 0.0360107421875, 0.0010175704956054688, -0.05035400390625, -0.038421630859375, -0.05010986328125, 0.004978179931640625, -0.023468017578125, -0.0279998779296875, -0.00644683837890625, -0.001567840576171875, 0.031158447265625, 0.01531219482421875, -0.0252227783203125, -0.044952392578125, 0.016021728515625, 0.046051025390625, -0.01812744140625, 0.051239013671875, 0.0239105224609375, -0.011627197265625, 0.0264892578125, -0.00449371337890625, -0.00753021240234375, 0.00835418701171875, -0.00962066650390625, 0.010040283203125, 0.0012578964233398438, -0.004486083984375, 0.0291595458984375, 0.0184326171875, -0.037261962890625, 0.034393310546875, -0.0143890380859375, 0.03314208984375, -0.01690673828125, 0.05657958984375, -0.00836944580078125, -0.03375244140625, 0.0241241455078125, 0.040771484375, -0.004840850830078125, -0.00838470458984375, 0.0311279296875, 0.0029201507568359375, 0.01702880859375, 0.01059722900390625, -0.0273590087890625, 0.024566650390625, -0.053436279296875, -0.0216064453125, 0.00630950927734375, -0.0227813720703125, -0.03900146484375, -0.0106201171875, 0.0121307373046875, 0.000736236572265625, -0.008636474609375, -0.00803375244140625, -0.01053619384765625, -0.0322265625, -0.029754638671875, 0.028594970703125, -0.0731201171875, -0.00730133056640625, 0.0100860595703125, 0.033843994140625, -0.0089111328125, -0.0238189697265625, -0.07818603515625, -0.0168914794921875, -0.0186920166015625, 0.018096923828125, 0.058380126953125, -0.010223388671875, 0.038238525390625, -0.00354766845703125, -0.0207366943359375, 0.0648193359375, 0.004482269287109375, 0.0275726318359375, -0.009613037109375, -0.0186309814453125, -0.009796142578125, -0.03814697265625, -0.0267791748046875, -0.0079498291015625, -0.0286712646484375, -0.044281005859375, -0.0168914794921875, 0.01285552978515625, 0.01885986328125, -0.0098724365234375, -0.0015125274658203125, 0.0089874267578125, 0.0587158203125, 0.0250396728515625, 0.11102294921875, -0.033447265625, 0.030364990234375, 0.02044677734375, 0.01372528076171875, 0.006954193115234375, 0.0469970703125, 0.05126953125, -0.043792724609375, 0.0170745849609375, -0.0618896484375, -0.02325439453125, -0.01055908203125, 0.001728057861328125, 0.02593994140625, 0.008697509765625, 0.0021839141845703125, -0.006816864013671875, 0.0025272369384765625, 0.0027294158935546875, -0.0283966064453125, 0.031829833984375, 0.01177215576171875, 0.020599365234375, -0.0133819580078125, -0.00809478759765625, 0.041229248046875, 0.006977081298828125, 0.0338134765625, -0.017822265625, -0.034271240234375, -0.01226806640625, 0.0174407958984375, -0.0186614990234375, 0.0304412841796875, 0.0732421875, 0.0311431884765625, 0.05169677734375, 0.025390625, 0.019683837890625, 0.005474090576171875, 0.02789306640625, -0.054718017578125, -0.05816650390625, -0.006256103515625, -0.0012445449829101562, 0.012237548828125, 0.01268768310546875, -0.002651214599609375, 0.04705810546875, 0.006481170654296875, 0.062347412109375, -0.06689453125, 0.052001953125, 0.0272674560546875, 0.0039043426513671875, 0.08013916015625, -0.0184478759765625, 0.0238189697265625, -0.016571044921875, -0.0055084228515625, 0.039276123046875, -0.0189208984375, -0.01690673828125, 0.0163726806640625, -0.00464630126953125, 0.0247344970703125, 0.01058197021484375, 0.0122833251953125, -0.05535888671875, -0.0030155181884765625, 0.0279388427734375, 0.014556884765625, -0.037994384765625, -0.01497650146484375, -0.0105133056640625, -0.04620361328125, -0.09417724609375, -0.031402587890625, -0.0223541259765625, -0.0018720626831054688, 0.062042236328125, -0.016082763671875, -0.0007834434509277344, 0.0177154541015625, -0.01036834716796875, 0.01849365234375, -0.0171661376953125, -0.041412353515625, -0.0682373046875, -0.01438140869140625, 0.032928466796875, 0.0202484130859375, -0.006244659423828125, 0.03753662109375, -0.03271484375, -0.052825927734375, -0.0118865966796875, -0.034271240234375, 0.06988525390625, -0.053375244140625, -0.0115509033203125, -0.013397216796875, 0.027618408203125, 0.01399993896484375, -0.033203125, 0.0435791015625, -0.042266845703125, 0.00841522216796875, -0.026336669921875, -0.0123138427734375, -0.006954193115234375, -0.04583740234375, -0.091796875, 0.114990234375, 0.05877685546875, 0.01922607421875, -0.032623291015625, 0.054290771484375, -0.042236328125, 0.018524169921875, -0.010711669921875, 0.06744384765625, 0.059295654296875, 0.0231170654296875, 0.00823974609375, -0.0243072509765625, 0.032501220703125, 0.048492431640625, 0.070068359375, -0.0001398324966430664, 0.01708984375, -0.0207366943359375, 0.07269287109375, 0.0914306640625, 0.02178955078125, -0.02337646484375, -0.00738525390625, 0.035003662109375, -0.00975799560546875, -0.043548583984375, 0.010223388671875, -0.0160980224609375, -0.037017822265625, 0.0278778076171875, 0.0247955322265625, 0.035614013671875, 0.031402587890625, -0.0362548828125, 0.0166778564453125, 0.01062774658203125, -0.003681182861328125, -0.0176544189453125, 0.018585205078125, 0.0190277099609375, -0.01025390625, -0.015350341796875, 0.0120697021484375, -0.02398681640625, 0.037109375, -0.0015506744384765625, 0.037841796875, 0.0171966552734375, 0.0175018310546875, 0.0009093284606933594, 0.00234222412109375, 0.021209716796875, 0.0254364013671875, -0.027191162109375, 0.02685546875, -0.00024318695068359375, 0.0226593017578125, -0.04248046875, 0.0182342529296875, 0.0262451171875, 0.03875732421875, -0.03021240234375, -0.005008697509765625, 0.0147552490234375, -0.01030731201171875, -0.0102691650390625, -0.0419921875, -0.0005083084106445312, -0.05902099609375, -0.035614013671875, -0.03851318359375, -0.0023822784423828125, 0.0155029296875, 0.024139404296875, -0.0037841796875, 0.0167083740234375, -0.0236968994140625, -0.00323486328125, -0.004642486572265625, -0.038360595703125, -0.005062103271484375, -0.0086517333984375, 0.046722412109375, -0.015472412109375, 0.05023193359375, 0.01419830322265625, -0.0310821533203125, 0.056488037109375, 0.0012216567993164062, 0.0367431640625, -0.0408935546875, -0.039581298828125, -0.01258087158203125, 0.024871826171875, 0.06951904296875, 0.039215087890625, 0.0526123046875, 0.01210784912109375, -0.0016794204711914062, 0.01445770263671875, -0.04302978515625, -0.026458740234375, 0.002979278564453125, -0.041961669921875, -0.01995849609375, 0.0010843276977539062, -0.0218048095703125, 0.00006961822509765625, -0.032012939453125, 0.02593994140625, -0.0089874267578125, -0.01552581787109375, 0.008453369140625, -0.0162811279296875, -0.005340576171875, 0.00691986083984375, -0.048553466796875, 0.0032520294189453125, -0.0220184326171875, 0.00841522216796875, -0.01210784912109375, -0.0244903564453125, -0.01467132568359375, 0.00972747802734375, -0.042388916015625, 0.052642822265625, -0.013885498046875, 0.0228729248046875, -0.031402587890625, -0.03387451171875, 0.0235443115234375, 0.01497650146484375, 0.01468658447265625, 0.0246734619140625, 0.00223541259765625, -0.0322265625, -0.002956390380859375, 0.081298828125, 0.0024051666259765625, 0.061492919921875, -0.056915283203125, 0.02435302734375, -0.01898193359375, -0.0123443603515625, 0.00643157958984375, 0.0043792724609375, -0.0111541748046875, 0.006664276123046875, -0.01145172119140625, -0.0175018310546875, -0.087158203125, 0.0185546875, 0.02374267578125, -0.00792694091796875, 0.046173095703125, -0.017913818359375, 0.01279449462890625, -0.04791259765625, 0.0002739429473876953, -0.0149688720703125, -0.007740020751953125, 0.0008916854858398438, -0.00936126708984375, 0.0184173583984375, 0.0288238525390625, 0.0166168212890625, 0.0128326416015625, 0.04754638671875, -0.0161590576171875, 0.031341552734375, -0.004940032958984375, 0.051361083984375, 0.0301361083984375, 0.0153961181640625, -0.01544952392578125, 0.0178070068359375, -0.01018524169921875, -0.0010671615600585938, 0.0171966552734375, -0.007083892822265625, 0.042022705078125, -0.061767578125, -0.01052093505859375, 0.0015659332275390625, 0.01018524169921875, -0.01412200927734375, -0.0027141571044921875, 0.006500244140625, -0.0245361328125, -0.01904296875, -0.007633209228515625, -0.0008721351623535156, -0.012847900390625, -0.047943115234375, 0.0231781005859375, -0.039947509765625, -0.05645751953125, -0.06292724609375, -0.02166748046875, 0.00493621826171875, 0.02508544921875, -0.078125, 0.047515869140625, 0.0255584716796875, -0.0020160675048828125, -0.00356292724609375, 0.003009796142578125, -0.01397705078125, 0.005523681640625, -0.0187225341796875, -0.026885986328125, -0.040740966796875, 0.0296173095703125, -0.0247039794921875, 0.012451171875, 0.0192413330078125, -0.0224761962890625, 0.007549285888671875, 0.007472991943359375, 0.0333251953125, 0.0596923828125, 0.01042938232421875, -0.02008056640625, -0.0247650146484375, 0.01568603515625, -0.00495147705078125, -0.04315185546875, 0.0222930908203125, -0.06634521484375, -0.056182861328125, -0.006778717041015625, -0.01557159423828125, -0.02813720703125, -0.03826904296875, -0.03131103515625, 0.07861328125, 0.0004754066467285156, -0.0221710205078125, -0.03582763671875, 0.0178985595703125, -0.0012340545654296875, 0.0264892578125, 0.00182342529296875, 0.01331329345703125, -0.006439208984375, 0.00901031494140625, -0.00408935546875, 0.029998779296875, 0.00360107421875, -0.020050048828125, -0.0108795166015625, 0.040069580078125, 0.0218048095703125, -0.00734710693359375, -0.01226043701171875, -0.0025043487548828125, 0.03155517578125, 0.0303802490234375, -0.02752685546875, 0.0355224609375, 0.0173187255859375, -0.0022487640380859375, -0.0290374755859375, -0.02337646484375, -0.0007719993591308594, -0.006114959716796875, 0.08782958984375, 0.029937744140625, 0.0195159912109375, -0.03912353515625, -0.0009984970092773438, -0.00858306884765625, -0.01410675048828125, -0.0172576904296875, 0.003086090087890625, -0.061431884765625, -0.0310516357421875, 0.00965118408203125, -0.0034465789794921875, -0.018157958984375, -0.0482177734375, -0.0379638671875, -0.0192413330078125, -0.034759521484375, 0.020263671875, -0.0178985595703125, 0.05682373046875, 0.046234130859375, -0.04290771484375, -0.0011892318725585938, -0.024566650390625, -0.006069183349609375, 0.017608642578125, -0.07586669921875, -0.0347900390625, -0.0203704833984375, -0.0075531005859375, 0.0300140380859375, -0.0000362396240234375, 0.0032215118408203125, -0.020538330078125, 0.01751708984375, -0.03314208984375, 0.00698089599609375, 0.018310546875, 0.020843505859375, -0.017547607421875, 0.04534912109375, 0.022705078125, 0.049896240234375, -0.0303497314453125, 0.138427734375, -0.0167388916015625, 0.048583984375, -0.00042819976806640625, 0.00746917724609375, 0.0200042724609375, 0.024871826171875, -0.002231597900390625, -0.007732391357421875, -0.0087127685546875, -0.04522705078125, -0.01361083984375, -0.046722412109375, -0.00423431396484375, 0.0172882080078125 ]
f903269e23838a77eb056ea8e9a5735a2d3701bc
Wordpress Stackexchange Q: What version of Gutenberg is included with WordPress? Gutenberg is developed separately https://github.com/WordPress/gutenberg and the latest version currently is 7.2.0. How to find out which version of Gutenberg is included in my WordPress installation? A: You can find the versions in WordPress here with this recently created document: https://developer.wordpress.org/block-editor/principles/versions-in-wordpress/ You weren't alone in wanting to have this information :) As mentioned above, it can be tricky to directly line up versions but this is the closest approximation currently. When WordPress 5.5 is launched, this document will be updated.
Q: What version of Gutenberg is included with WordPress? Gutenberg is developed separately https://github.com/WordPress/gutenberg and the latest version currently is 7.2.0. How to find out which version of Gutenberg is included in my WordPress installation? A: You can find the versions in WordPress here with this recently created document: https://developer.wordpress.org/block-editor/principles/versions-in-wordpress/ You weren't alone in wanting to have this information :) As mentioned above, it can be tricky to directly line up versions but this is the closest approximation currently. When WordPress 5.5 is launched, this document will be updated. A: The code that goes into core doesn’t necessarily reflect the exact code that is in a specific version of the Gutenberg plugin which is why it is hard to determine which version of Gutenberg is included in the core WordPress. A: edit: (already answered by anne :)) The versions in WordPress page lists which will provide a range. For a release of WordPress core, features from Gutenberg plugin are taken from several different versions.
wordpress
{ "language": "en", "length": 164, "provenance": "stackexchange_00019.jsonl.gz:500483", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/356163" }
[ -0.0276641845703125, 0.002483367919921875, -0.041046142578125, 0.00514984130859375, -0.00890350341796875, -0.0204315185546875, -0.01110076904296875, -0.00971221923828125, 0.0192413330078125, 0.039398193359375, -0.036376953125, 0.0017805099487304688, 0.0014667510986328125, -0.00894927978515625, -0.0218505859375, -0.021240234375, 0.050506591796875, -0.00756072998046875, 0.047088623046875, 0.016082763671875, -0.01551055908203125, 0.03887939453125, 0.030303955078125, 0.0296173095703125, 0.021697998046875, -0.044830322265625, 0.060211181640625, -0.025115966796875, 0.00968170166015625, -0.037750244140625, 0.0253143310546875, 0.0377197265625, 0.036468505859375, -0.01262664794921875, -0.0229339599609375, -0.0005097389221191406, 0.0242767333984375, -0.029876708984375, -0.0178680419921875, 0.030120849609375, 0.0009889602661132812, -0.01515960693359375, 0.0200347900390625, -0.05364990234375, -0.00894927978515625, 0.010040283203125, -0.01702880859375, -0.0278167724609375, 0.0033588409423828125, 0.0288238525390625, -0.0201873779296875, -0.0186920166015625, -0.00931549072265625, 0.037750244140625, -0.00693511962890625, -0.0297393798828125, 0.0290374755859375, 0.085205078125, 0.024200439453125, -0.048828125, -0.058349609375, 0.06207275390625, 0.0124969482421875, 0.0018472671508789062, 0.030303955078125, 0.00005733966827392578, 0.058013916015625, 0.018402099609375, -0.03839111328125, 0.0218505859375, 0.02294921875, -0.0197906494140625, -0.0010213851928710938, -0.058868408203125, -0.00901031494140625, 0.0305023193359375, -0.0399169921875, -0.06365966796875, 0.0254058837890625, -0.018524169921875, 0.01045989990234375, 0.00453948974609375, -0.032012939453125, -0.023345947265625, 0.02447509765625, 0.0096893310546875, -0.00403594970703125, -0.0178680419921875, -0.038238525390625, -0.0007166862487792969, -0.0206298828125, -0.02093505859375, -0.05853271484375, 0.0394287109375, 0.0023517608642578125, 0.008941650390625, -0.0169830322265625, -0.00487518310546875, -0.006282806396484375, 0.00377655029296875, -0.0084381103515625, -0.0479736328125, 0.040863037109375, -0.03369140625, -0.0020313262939453125, 0.039306640625, -0.02191162109375, 0.039031982421875, 0.04150390625, 0.037017822265625, 0.023834228515625, -0.0517578125, 0.00074005126953125, -0.0377197265625, 0.037841796875, 0.018218994140625, -0.045684814453125, 0.0833740234375, 0.0073394775390625, 0.03326416015625, 0.007556915283203125, 0.023590087890625, 0.0164337158203125, -0.0184478759765625, -0.03863525390625, -0.0287628173828125, -0.022705078125, -0.0247802734375, -0.0066680908203125, 0.0036334991455078125, -0.002613067626953125, 0.01070404052734375, 0.0084075927734375, 0.0239715576171875, -0.018951416015625, -0.00931549072265625, 0.0307464599609375, 0.0267791748046875, -0.017822265625, 0.032989501953125, -0.075927734375, -0.0200958251953125, 0.0284576416015625, -0.0775146484375, 0.032867431640625, -0.004047393798828125, 0.034515380859375, 0.029022216796875, -0.0007238388061523438, 0.00800323486328125, 0.0016813278198242188, 0.031982421875, 0.0126953125, 0.0016460418701171875, 0.0258636474609375, -0.01934814453125, 0.031524658203125, -0.038055419921875, 0.013916015625, -0.0293121337890625, -0.015838623046875, -0.00891876220703125, 0.0019292831420898438, 0.00887298583984375, 0.004779815673828125, 0.0081634521484375, 0.0161895751953125, 0.01103973388671875, 0.025787353515625, -0.0091400146484375, 0.0185394287109375, -0.04150390625, 0.04913330078125, -0.0134124755859375, -0.029693603515625, 0.0233612060546875, -0.0036945343017578125, 0.0013685226440429688, 0.0213623046875, 0.048828125, -0.0031185150146484375, -0.01406097412109375, 0.049102783203125, -0.021881103515625, -0.01776123046875, -0.0232696533203125, -0.0132904052734375, -0.00850677490234375, 0.040374755859375, 0.0023040771484375, 0.0100250244140625, -0.0027065277099609375, -0.0221405029296875, 0.0306243896484375, -0.028076171875, 0.0011653900146484375, -0.0118560791015625, 0.048980712890625, -0.024810791015625, -0.03582763671875, 0.06298828125, 0.00724029541015625, 0.006755828857421875, -0.05267333984375, -0.071044921875, -0.0103759765625, -0.01534271240234375, 0.040863037109375, 0.041046142578125, -0.0099334716796875, 0.00028395652770996094, -0.0263214111328125, -0.01226806640625, -0.0021076202392578125, -0.050201416015625, 0.04266357421875, -0.0187835693359375, 0.0462646484375, 0.0059051513671875, 0.025238037109375, 0.0034961700439453125, -0.0175018310546875, -0.01047515869140625, -0.0198822021484375, 0.0814208984375, -0.0017595291137695312, -0.00946807861328125, -0.021209716796875, 0.06475830078125, 0.037017822265625, -0.057464599609375, 0.007476806640625, -0.0227813720703125, -0.003505706787109375, -0.0294647216796875, -0.0021381378173828125, -0.012298583984375, -0.04443359375, 0.0278167724609375, 0.044647216796875, 0.0254974365234375, 0.016693115234375, -0.026153564453125, -0.04388427734375, 0.02215576171875, -0.050750732421875, -0.005008697509765625, -0.014495849609375, -0.0239410400390625, 0.0267333984375, -0.01134490966796875, 0.04547119140625, 0.0094757080078125, 0.0217437744140625, -0.00008207559585571289, 0.0255126953125, -0.0115203857421875, -0.01424407958984375, -0.0282745361328125, 0.0020961761474609375, 0.01198577880859375, -0.004749298095703125, -0.039886474609375, 0.0010318756103515625, 0.061920166015625, 0.0028514862060546875, 0.109375, 0.09765625, 0.0259552001953125, -0.050994873046875, -0.019500732421875, 0.0830078125, -0.0008492469787597656, 0.048797607421875, 0.00412750244140625, 0.084228515625, -0.049285888671875, -0.007659912109375, 0.017974853515625, 0.0594482421875, -0.022918701171875, -0.047393798828125, -0.02032470703125, 0.005512237548828125, -0.0038852691650390625, -0.0709228515625, 0.0645751953125, 0.050140380859375, 0.004100799560546875, -0.0042724609375, 0.0308380126953125, 0.0008482933044433594, -0.0027256011962890625, 0.00024890899658203125, 0.0231781005859375, -0.0195159912109375, 0.054412841796875, -0.049224853515625, 0.02642822265625, -0.031951904296875, 0.041595458984375, 0.03875732421875, -0.0207672119140625, -0.0029697418212890625, -0.00897216796875, -0.037384033203125, 0.02142333984375, -0.00972747802734375, -0.0338134765625, -0.0012149810791015625, -0.0809326171875, -0.01222991943359375, 0.0171661376953125, -0.0281219482421875, 0.0183258056640625, -0.005504608154296875, -0.020111083984375, -0.005809783935546875, -0.10198974609375, -0.050384521484375, -0.066650390625, -0.0509033203125, -0.04815673828125, 0.00457763671875, -0.035675048828125, 0.0379638671875, 0.005035400390625, 0.00946807861328125, -0.05084228515625, -0.009857177734375, -0.0831298828125, -0.08502197265625, -0.0753173828125, 0.0216522216796875, -0.0182342529296875, 0.02728271484375, 0.0029773712158203125, 0.027496337890625, -0.0074005126953125, -0.030853271484375, -0.019317626953125, -0.00428009033203125, -0.0258941650390625, -0.03753662109375, 0.00457000732421875, 0.0035152435302734375, -0.00688934326171875, 0.0243377685546875, -0.007419586181640625, 0.0022678375244140625, -0.01190185546875, -0.0198211669921875, -0.0253143310546875, -0.040618896484375, -0.0165863037109375, 0.01421356201171875, 0.004901885986328125, -0.063232421875, -0.00402069091796875, -0.08135986328125, 0.0284881591796875, 0.0252227783203125, 0.0154266357421875, 0.003986358642578125, -0.03448486328125, -0.026397705078125, 0.0225677490234375, -0.0024566650390625, -0.012237548828125, 0.027435302734375, 0.03753662109375, 0.0007519721984863281, 0.00873565673828125, -0.04254150390625, -0.072509765625, -0.025177001953125, 0.023345947265625, -0.0187835693359375, 0.0156707763671875, 0.0037326812744140625, 0.0203857421875, -0.01558685302734375, 0.018798828125, -0.041839599609375, -0.0111236572265625, 0.049346923828125, 0.0259552001953125, 0.026885986328125, -0.00860595703125, -0.04962158203125, 0.0037021636962890625, 0.078125, 0.050750732421875, -0.01519775390625, 0.028106689453125, -0.005474090576171875, -0.00908660888671875, 0.0159149169921875, -0.057098388671875, -0.0138092041015625, 0.018157958984375, -0.023468017578125, -0.0018863677978515625, -0.0149078369140625, -0.0189971923828125, 0.01142120361328125, -0.01190185546875, 0.00482177734375, 0.00948333740234375, -0.072265625, 0.0184326171875, 0.0279998779296875, -0.0296478271484375, 0.004619598388671875, -0.0019054412841796875, -0.07061767578125, -0.042144775390625, 0.008209228515625, -0.061737060546875, 0.042388916015625, 0.0294036865234375, 0.00649261474609375, -0.0299224853515625, 0.01479339599609375, 0.00862884521484375, 0.030242919921875, 0.0257720947265625, -0.001735687255859375, 0.04229736328125, 0.013671875, 0.037750244140625, -0.013336181640625, 0.00556182861328125, -0.0206298828125, -0.0537109375, -0.030517578125, -0.0182647705078125, -0.00823211669921875, 0.020721435546875, -0.037689208984375, -0.00334930419921875, -0.02886962890625, -0.00229644775390625, -0.0026035308837890625, 0.00015544891357421875, 0.0060272216796875, -0.0237274169921875, 0.0177764892578125, 0.08685302734375, 0.06011962890625, 0.000133514404296875, -0.0017747879028320312, 0.0858154296875, -0.002964019775390625, -0.05157470703125, -0.09320068359375, -0.0164642333984375, 0.02410888671875, 0.00799560546875, 0.06591796875, 0.038330078125, -0.0017795562744140625, 0.03961181640625, 0.01306915283203125, -0.01482391357421875, 0.006198883056640625, 0.020721435546875, -0.0183563232421875, -0.029144287109375, 0.004291534423828125, -0.031707763671875, 0.037750244140625, -0.0047454833984375, -0.04010009765625, -0.0086669921875, 0.01053619384765625, 0.046600341796875, -0.045745849609375, 0.0540771484375, -0.034576416015625, -0.015045166015625, 0.00830078125, -0.06353759765625, 0.056304931640625, 0.01959228515625, -0.01142120361328125, 0.0303497314453125, 0.03485107421875, -0.0154266357421875, 0.02691650390625, -0.0028057098388671875, 0.018585205078125, 0.0218963623046875, 0.031036376953125, -0.0205078125, 0.0095672607421875, 0.0021343231201171875, 0.030914306640625, -0.0165557861328125, -0.06500244140625, 0.010894775390625, -0.017974853515625, -0.00870513916015625, 0.039520263671875, 0.007415771484375, 0.060211181640625, 0.055206298828125, -0.06219482421875, -0.033782958984375, -0.01136016845703125, 0.01035308837890625, -0.08392333984375, -0.053375244140625, -0.03558349609375, -0.01555633544921875, -0.0084075927734375, 0.02545166015625, -0.049102783203125, 0.019256591796875, 0.0094757080078125, 0.0275421142578125, 0.0233612060546875, 0.01529693603515625, -0.0018987655639648438, 0.006404876708984375, 0.0089874267578125, -0.004261016845703125, 0.038604736328125, -0.017059326171875, -0.04052734375, 0.00803375244140625, 0.039947509765625, -0.036224365234375, 0.00775909423828125, 0.005947113037109375, -0.01428985595703125, 0.0034694671630859375, -0.01468658447265625, -0.005496978759765625, 0.00785064697265625, 0.003894805908203125, 0.018463134765625, 0.0225830078125, 0.02508544921875, -0.0015506744384765625, -0.0127716064453125, -0.0280914306640625, -0.0298614501953125, 0.00620269775390625, -0.05224609375, -0.0076446533203125, 0.005199432373046875, 0.0225982666015625, -0.0143585205078125, -0.0262603759765625, -0.01194000244140625, -0.002773284912109375, -0.0203094482421875, -0.019561767578125, 0.06768798828125, -0.029693603515625, 0.0028533935546875, -0.007595062255859375, 0.005611419677734375, -0.0163726806640625, 0.0235748291015625, 0.0244140625, 0.0256195068359375, -0.0021877288818359375, -0.042694091796875, -0.06805419921875, -0.022216796875, 0.0049591064453125, -0.031036376953125, 0.0011701583862304688, 0.0044403076171875, -0.0222015380859375, 0.0071563720703125, -0.0235595703125, 0.01476287841796875, 0.00811004638671875, 0.060760498046875, -0.01163482666015625, 0.0736083984375, -0.006961822509765625, 0.060638427734375, -0.0190887451171875, 0.048126220703125, 0.002475738525390625, 0.004390716552734375, -0.016845703125, -0.00771331787109375, 0.01146697998046875, -0.0207977294921875, -0.004192352294921875, -0.029388427734375, 0.068603515625, -0.01374053955078125, -0.036376953125, -0.0090789794921875, -0.007343292236328125, -0.01433563232421875, 0.008056640625, -0.0168914794921875, 0.031494140625, -0.01044464111328125, -0.04913330078125, 0.0184326171875, -0.037628173828125, 0.00913238525390625, 0.00183868408203125, -0.002872467041015625, 0.01739501953125, -0.023162841796875, 0.0050811767578125, 0.0411376953125, -0.01178741455078125, 0.037109375, 0.03973388671875, 0.0025081634521484375, 0.0276031494140625, 0.034393310546875, 0.00786590576171875, -0.01284027099609375, 0.0282135009765625, -0.034271240234375, -0.01300048828125, 0.01447296142578125, 0.0098724365234375, 0.0150604248046875, 0.008270263671875, 0.00946807861328125, 0.004734039306640625, -0.00006479024887084961, 0.0309295654296875, -0.024749755859375, 0.01605224609375, 0.0157623291015625, -0.0271148681640625, -0.01386260986328125, -0.004077911376953125, -0.02276611328125, -0.04254150390625, 0.050079345703125, -0.0133514404296875, -0.01454925537109375, 0.02276611328125, -0.002552032470703125, -0.033447265625, -0.049224853515625, 0.0117645263671875, 0.02777099609375, 0.0182952880859375, 0.0330810546875, -0.031829833984375, 0.0340576171875, -0.00942230224609375, 0.0163726806640625, 0.0038356781005859375, 0.0052490234375, -0.0338134765625, 0.01103973388671875, -0.0260467529296875, -0.0191192626953125, 0.0155029296875, 0.043212890625, 0.0321044921875, 0.06976318359375, 0.0065765380859375, 0.0026226043701171875, 0.02886962890625, 0.0151519775390625, -0.029144287109375, -0.0278167724609375, 0.0222930908203125, 0.0117034912109375, -0.034088134765625, 0.016021728515625, -0.0209503173828125, -0.0160369873046875, -0.0084991455078125, 0.04119873046875, 0.10986328125, -0.02960205078125, -0.0301055908203125, 0.043975830078125, 0.04644775390625, -0.01605224609375, 0.0185546875, 0.09228515625, -0.041290283203125, -0.0036907196044921875, 0.0509033203125, 0.0234375, -0.0595703125, 0.041534423828125, -0.0592041015625, 0.0850830078125, 0.012237548828125, 0.024688720703125, -0.020050048828125, 0.043365478515625, -0.007175445556640625, 0.03082275390625, -0.0137176513671875, 0.00852203369140625, -0.00811004638671875, -0.0017747879028320312, -0.01491546630859375, 0.0113983154296875, -0.0262908935546875, 0.010406494140625, 0.0014657974243164062, -0.01087188720703125, -0.032470703125, 0.00215911865234375, 0.057281494140625, 0.072021484375, 0.03594970703125, 0.0005903244018554688, 0.0119781494140625, -0.0307464599609375, 0.0088348388671875, 0.01025390625, 0.0341796875, -0.0265045166015625, -0.0228271484375, 0.0216217041015625, 0.0166778564453125, 0.033050537109375, 0.0060272216796875, 0.01329803466796875, 0.049713134765625, -0.01226043701171875, -0.0174560546875, -0.0250244140625, -0.034576416015625, 0.0135498046875, -0.033599853515625, -0.0176849365234375, 0.01934814453125, -0.04010009765625, 0.02484130859375, 0.00641632080078125, -0.034881591796875, -0.00708770751953125, 0.01551055908203125, -0.03399658203125, -0.01457977294921875, -0.0159454345703125, 0.048919677734375, -0.0537109375, 0.055450439453125, 0.0238037109375, 0.00373077392578125, -0.0313720703125, 0.047515869140625, 0.01488494873046875, 0.045379638671875, -0.0643310546875, -0.0401611328125, 0.007572174072265625, 0.01067352294921875, 0.0203094482421875, -0.026947021484375, -0.00984954833984375, -0.0188446044921875, 0.023895263671875, -0.008087158203125, -0.0174102783203125, 0.0012874603271484375, 0.01103973388671875, 0.0095062255859375, 0.021240234375, 0.01568603515625, -0.0147857666015625, -0.032440185546875, 0.0010662078857421875, 0.03839111328125, 0.0364990234375, -0.00914764404296875, 0.052581787109375, -0.01148223876953125, 0.0017156600952148438, -0.04229736328125, 0.0294036865234375, -0.0220947265625, 0.0540771484375, -0.048736572265625, -0.0231475830078125, 0.0093994140625, 0.0611572265625, 0.0017604827880859375, 0.01267242431640625, 0.028900146484375, 0.04754638671875, -0.01105499267578125, -0.0166778564453125, 0.04296875, -0.01476287841796875, -0.03057861328125, -0.040985107421875, 0.004486083984375, 0.01947021484375, 0.009002685546875, 0.0211944580078125, 0.0263519287109375, 0.0224609375, 0.0059967041015625, 0.0221710205078125, 0.02001953125, -0.0225982666015625, 0.004093170166015625, 0.005054473876953125, 0.032135009765625, 0.03369140625, -0.0236968994140625, 0.01453399658203125, 0.0003528594970703125, 0.0057525634765625, -0.033416748046875, 0.00290679931640625, -0.020477294921875, 0.0264739990234375, 0.0193939208984375, 0.02081298828125, 0.06365966796875, -0.053802490234375, 0.002964019775390625, 0.0196990966796875, 0.0379638671875, 0.00911712646484375, -0.0714111328125, -0.038848876953125, 0.014617919921875, 0.012054443359375, -0.00786590576171875, 0.05731201171875, 0.0182342529296875, -0.01413726806640625, 0.0024738311767578125, 0.013946533203125, -0.0268096923828125, -0.0217742919921875, -0.0008292198181152344, 0.007434844970703125, 0.017547607421875, 0.0032215118408203125, -0.0882568359375, -0.01465606689453125, 0.03607177734375, 0.005115509033203125, 0.02423095703125, -0.0207672119140625, 0.02447509765625, -0.01727294921875, 0.0017156600952148438, -0.03997802734375, -0.04351806640625, -0.016143798828125, 0.01276397705078125, -0.0197601318359375, 0.0022373199462890625, 0.0202789306640625, 0.0010967254638671875, 0.061279296875, -0.021881103515625, -0.00396728515625, 0.0182342529296875, -0.00543975830078125, 0.0309295654296875, 0.046142578125, 0.02569580078125, -0.020965576171875, -0.0167999267578125, 0.0242462158203125, -0.014404296875, -0.0032634735107421875, 0.0091094970703125, -0.010589599609375, 0.056854248046875, 0.0413818359375, 0.0548095703125, -0.039642333984375, 0.002895355224609375, 0.06427001953125, -0.005645751953125, 0.0239715576171875, 0.0308074951171875, -0.0128021240234375, -0.023284912109375, -0.0218048095703125, -0.00960540771484375, -0.02734375, -0.04022216796875, -0.024078369140625, 0.019775390625, 0.0234832763671875, -0.0006222724914550781, -0.0504150390625, 0.05377197265625, -0.0093231201171875, 0.02191162109375, -0.0061187744140625, -0.019989013671875, -0.0022563934326171875, 0.0357666015625, 0.0011749267578125, -0.0156402587890625, -0.03509521484375, 0.0193328857421875, -0.0204010009765625, 0.019561767578125, 0.02294921875, -0.02630615234375, 0.016448974609375, 0.0015707015991210938, 0.033843994140625, 0.041473388671875, 0.013885498046875, -0.01520538330078125, 0.0236358642578125, 0.0016527175903320312, -0.015350341796875, -0.0751953125, 0.01016998291015625, -0.0787353515625, 0.00669097900390625, 0.002716064453125, -0.0034999847412109375, 0.00498199462890625, -0.049713134765625, -0.1158447265625, -0.005161285400390625, -0.005382537841796875, -0.06658935546875, -0.016265869140625, 0.0146331787109375, 0.00635528564453125, -0.014678955078125, -0.0206451416015625, 0.032623291015625, -0.006343841552734375, 0.0122528076171875, -0.0178985595703125, 0.032928466796875, 0.00664520263671875, -0.0166015625, 0.0167083740234375, 0.01424407958984375, 0.0207672119140625, -0.0252838134765625, 0.00859832763671875, -0.033294677734375, 0.035736083984375, 0.033843994140625, -0.040557861328125, -0.03363037109375, 0.007526397705078125, 0.0211181640625, 0.0108184814453125, -0.041656494140625, -0.026153564453125, -0.0307464599609375, 0.044708251953125, 0.01485443115234375, 0.0016622543334960938, -0.0015020370483398438, 0.02154541015625, -0.0169525146484375, -0.01678466796875, 0.00580596923828125, -0.00672149658203125, -0.0262908935546875, -0.0077667236328125, 0.003963470458984375, -0.03662109375, -0.0100250244140625, 0.0145263671875, -0.06524658203125, 0.009124755859375, -0.08099365234375, -0.035186767578125, -0.040252685546875, -0.0078887939453125, 0.04278564453125, -0.0170745849609375, 0.03680419921875, 0.01023101806640625, -0.004573822021484375, 0.043426513671875, 0.0538330078125, 0.0142974853515625, 0.02325439453125, -0.019683837890625, 0.024566650390625, 0.01387786865234375, 0.0037479400634765625, -0.01425933837890625, -0.0151824951171875, 0.006038665771484375, -0.0146026611328125, 0.01049041748046875, -0.0199432373046875, -0.0281982421875, 0.01898193359375, -0.022796630859375, 0.0703125, 0.01522064208984375, 0.0272064208984375, -0.0143280029296875, 0.0528564453125, -0.0030078887939453125, -0.04278564453125, 0.01099395751953125, -0.0296783447265625, 0.0185394287109375, 0.033660888671875, 0.026275634765625, -0.0027599334716796875, 0.002140045166015625, 0.00782012939453125, 0.01523590087890625, -0.01561737060546875 ]
4e4ec193c50fd96eba4bb7d775b1100dafa81bc2
Wordpress Stackexchange Q: Lock post meta block at the bottom of a custom post type I'm using the template feature of Gutenberg to add a post meta block (with a couple of input fields) at the bottom of a custom post type: $args = array( 'show_ui' => true, 'show_in_rest' => true, 'public' => true, 'labels' => { ...array of labels here... } 'supports' => array( 'title', 'editor', 'custom-fields', 'thumbnail' ), 'template' => array( array( 'my/custom-meta-block' ), ), 'template_lock' => 'all', ); register_post_type( 'custom-post-type', $args ); I'm using the template_lock parameter to disallow users to remove and add other instances of this block. My question is, can I lock this block but allow other blocks to be added above it in a post? If so, how? Thanks in advance
Q: Lock post meta block at the bottom of a custom post type I'm using the template feature of Gutenberg to add a post meta block (with a couple of input fields) at the bottom of a custom post type: $args = array( 'show_ui' => true, 'show_in_rest' => true, 'public' => true, 'labels' => { ...array of labels here... } 'supports' => array( 'title', 'editor', 'custom-fields', 'thumbnail' ), 'template' => array( array( 'my/custom-meta-block' ), ), 'template_lock' => 'all', ); register_post_type( 'custom-post-type', $args ); I'm using the template_lock parameter to disallow users to remove and add other instances of this block. My question is, can I lock this block but allow other blocks to be added above it in a post? If so, how? Thanks in advance
wordpress
{ "language": "en", "length": 126, "provenance": "stackexchange_00019.jsonl.gz:500753", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/357043" }
[ 0.02960205078125, 0.0018224716186523438, -0.0166015625, 0.022186279296875, -0.0009641647338867188, -0.02862548828125, 0.057098388671875, -0.0266876220703125, -0.00492095947265625, 0.03594970703125, 0.023468017578125, -0.02410888671875, 0.0234527587890625, -0.0278778076171875, -0.01207733154296875, -0.01004791259765625, 0.036285400390625, 0.019744873046875, 0.047393798828125, -0.0031414031982421875, 0.0025005340576171875, 0.0255279541015625, 0.018402099609375, 0.01555633544921875, 0.00722503662109375, -0.004669189453125, 0.06719970703125, 0.0033702850341796875, 0.003902435302734375, -0.003925323486328125, 0.034271240234375, -0.031494140625, 0.00433349609375, 0.0104217529296875, 0.013336181640625, 0.015625, 0.05303955078125, -0.006988525390625, 0.02313232421875, -0.00112152099609375, 0.0180511474609375, -0.0040283203125, -0.05517578125, 0.035003662109375, -0.07000732421875, -0.022308349609375, -0.0161590576171875, -0.0110321044921875, 0.0272979736328125, 0.045745849609375, -0.0038089752197265625, 0.00846099853515625, -0.006877899169921875, 0.0018758773803710938, -0.00992584228515625, -0.01904296875, -0.0243682861328125, -0.0244598388671875, 0.04095458984375, 0.048187255859375, -0.00601959228515625, -0.0235443115234375, -0.0027675628662109375, -0.0738525390625, 0.03875732421875, -0.01194000244140625, -0.004299163818359375, 0.0310516357421875, -0.0362548828125, 0.025543212890625, 0.04327392578125, -0.040924072265625, -0.0010356903076171875, -0.047332763671875, 0.034942626953125, -0.005222320556640625, -0.0264129638671875, -0.0308074951171875, 0.007904052734375, 0.02789306640625, -0.04217529296875, -0.0019359588623046875, 0.01348114013671875, -0.037353515625, -0.017608642578125, -0.017364501953125, -0.042236328125, 0.010986328125, 0.01177215576171875, -0.0020313262939453125, 0.0018186569213867188, -0.00814056396484375, 0.01739501953125, 0.03448486328125, -0.014617919921875, -0.023101806640625, 0.0240631103515625, 0.01123046875, -0.00865936279296875, -0.015716552734375, -0.01076507568359375, -0.041259765625, -0.0017595291137695312, -0.0037517547607421875, 0.0126190185546875, 0.01358795166015625, -0.061279296875, -0.0367431640625, 0.04510498046875, 0.055572509765625, -0.00142669677734375, -0.0303192138671875, 0.00585174560546875, -0.0096893310546875, -0.02532958984375, -0.026214599609375, -0.03753662109375, 0.01079559326171875, -0.002796173095703125, -0.0245819091796875, 0.02880859375, 0.05413818359375, 0.035888671875, -0.016021728515625, 0.0006561279296875, 0.01531219482421875, -0.0231781005859375, -0.0823974609375, -0.0653076171875, 0.03582763671875, -0.0233001708984375, 0.005588531494140625, 0.06689453125, 0.03680419921875, 0.0018758773803710938, -0.033660888671875, -0.027435302734375, -0.03570556640625, -0.0201568603515625, 0.0255279541015625, -0.0245513916015625, -0.0537109375, 0.0248870849609375, -0.01076507568359375, 0.0269622802734375, 0.026397705078125, 0.0248260498046875, 0.0038242340087890625, -0.0158843994140625, -0.049591064453125, 0.038238525390625, -0.0357666015625, 0.04534912109375, 0.01373291015625, -0.04046630859375, -0.0193023681640625, 0.031646728515625, -0.0307464599609375, -0.0218963623046875, -0.06884765625, -0.00904083251953125, -0.0079345703125, -0.00904083251953125, -0.04888916015625, -0.050140380859375, 0.01416778564453125, -0.0274810791015625, -0.005855560302734375, 0.0147552490234375, 0.044586181640625, -0.008575439453125, 0.021514892578125, 0.016021728515625, -0.02618408203125, -0.037994384765625, -0.037994384765625, 0.005451202392578125, 0.01560211181640625, 0.0196685791015625, -0.010589599609375, -0.031494140625, -0.0460205078125, 0.06329345703125, -0.0305023193359375, -0.0254058837890625, 0.0251312255859375, 0.0034847259521484375, 0.02783203125, 0.007221221923828125, 0.00707244873046875, 0.03460693359375, 0.01165008544921875, -0.04205322265625, 0.05615234375, 0.0016469955444335938, -0.037200927734375, -0.0243988037109375, -0.00937652587890625, -0.020782470703125, -0.01058197021484375, -0.0108795166015625, 0.01120758056640625, -0.01629638671875, -0.0171356201171875, -0.06427001953125, 0.000014007091522216797, -0.0220184326171875, 0.0416259765625, -0.044708251953125, 0.00292205810546875, 0.0295867919921875, -0.04156494140625, -0.0198974609375, 0.025390625, 0.00516510009765625, -0.012664794921875, -0.0198822021484375, 0.032470703125, 0.021759033203125, 0.026092529296875, 0.032958984375, -0.023193359375, 0.00142669677734375, -0.01129913330078125, 0.0648193359375, 0.03338623046875, -0.033599853515625, -0.00643157958984375, 0.004150390625, 0.06591796875, -0.1297607421875, 0.01517486572265625, 0.010955810546875, -0.044891357421875, -0.05023193359375, 0.0082244873046875, -0.00945281982421875, -0.053558349609375, -0.0088348388671875, 0.06640625, 0.00629425048828125, -0.0020694732666015625, -0.0208740234375, 0.024749755859375, 0.0266876220703125, -0.02398681640625, -0.0118408203125, 0.0185089111328125, 0.007411956787109375, 0.036590576171875, 0.003131866455078125, 0.01358795166015625, -0.00452423095703125, -0.012725830078125, 0.03045654296875, -0.0033435821533203125, -0.0244293212890625, -0.02105712890625, -0.01511383056640625, 0.0016374588012695312, -0.0026912689208984375, -0.06964111328125, -0.02215576171875, -0.020111083984375, 0.06939697265625, -0.006916046142578125, 0.041778564453125, 0.0281524658203125, -0.065673828125, 0.022674560546875, 0.042877197265625, 0.03289794921875, 0.004314422607421875, -0.023895263671875, -0.01111602783203125, 0.007110595703125, -0.04718017578125, 0.03070068359375, 0.0374755859375, -0.0163116455078125, -0.01465606689453125, -0.002590179443359375, -0.044464111328125, 0.00788116455078125, -0.009918212890625, -0.04278564453125, 0.0192413330078125, 0.05157470703125, 0.00951385498046875, -0.0279541015625, -0.0040283203125, 0.0236358642578125, -0.01233673095703125, 0.017486572265625, 0.053924560546875, -0.03350830078125, 0.023406982421875, -0.041015625, 0.02301025390625, -0.032623291015625, 0.053497314453125, 0.050506591796875, -0.0159454345703125, -0.01399993896484375, 0.0117950439453125, -0.0009708404541015625, 0.00905609130859375, 0.0242767333984375, -0.01219940185546875, -0.03375244140625, -0.0006837844848632812, 0.0174560546875, 0.0369873046875, 0.039764404296875, 0.052581787109375, 0.031341552734375, 0.0396728515625, 0.0855712890625, 0.04815673828125, 0.01071929931640625, 0.00968170166015625, -0.0570068359375, -0.0249176025390625, -0.0283203125, -0.048126220703125, 0.0015087127685546875, 0.0057525634765625, -0.01236724853515625, -0.07977294921875, 0.0069122314453125, -0.040313720703125, -0.0517578125, -0.0333251953125, 0.039276123046875, -0.004909515380859375, 0.034912109375, 0.0076446533203125, 0.096923828125, -0.00782012939453125, -0.0982666015625, -0.028717041015625, -0.0172119140625, -0.041839599609375, 0.033050537109375, -0.0022125244140625, -0.0091094970703125, 0.024658203125, 0.01285552978515625, -0.037200927734375, -0.0017805099487304688, 0.01049041748046875, -0.043304443359375, -0.02508544921875, -0.0313720703125, -0.00856781005859375, 0.0401611328125, 0.00848388671875, 0.0010862350463867188, 0.0302886962890625, -0.040283203125, -0.042633056640625, 0.0191802978515625, -0.03436279296875, 0.032867431640625, 0.022705078125, -0.01194000244140625, 0.0036258697509765625, 0.03515625, 0.035125732421875, 0.04449462890625, 0.053985595703125, -0.005916595458984375, 0.041046142578125, -0.028289794921875, -0.0160064697265625, -0.09197998046875, -0.0278167724609375, -0.041778564453125, 0.039398193359375, -0.0194244384765625, 0.013214111328125, -0.03948974609375, 0.055328369140625, -0.0745849609375, -0.0316162109375, 0.04376220703125, -0.01088714599609375, 0.03948974609375, -0.04180908203125, -0.025787353515625, -0.0224456787109375, 0.08233642578125, -0.05413818359375, -0.0176239013671875, 0.0034694671630859375, 0.0171661376953125, 0.0322265625, -0.00823211669921875, 0.000021159648895263672, -0.044464111328125, -0.0048675537109375, -0.0018835067749023438, 0.0096435546875, -0.0236968994140625, -0.0234222412109375, -0.0012521743774414062, -0.035980224609375, -0.0023651123046875, 0.0291748046875, -0.05206298828125, 0.01499176025390625, 0.0528564453125, 0.00811004638671875, 0.0082244873046875, -0.00811004638671875, -0.044158935546875, -0.0673828125, -0.0133056640625, -0.0423583984375, 0.066650390625, 0.0203094482421875, 0.0014543533325195312, -0.041717529296875, 0.03314208984375, 0.0006794929504394531, 0.0347900390625, 0.0037288665771484375, 0.030914306640625, 0.0067596435546875, -0.033599853515625, 0.0016450881958007812, -0.03173828125, 0.0175628662109375, 0.03460693359375, -0.0158233642578125, 0.054931640625, -0.011444091796875, -0.035614013671875, 0.03033447265625, -0.056671142578125, -0.032867431640625, -0.03143310546875, -0.0142822265625, 0.01541900634765625, 0.01800537109375, -0.0203399658203125, -0.04632568359375, -0.045745849609375, 0.013824462890625, 0.0166473388671875, -0.027313232421875, 0.018402099609375, 0.06817626953125, 0.03399658203125, -0.01213836669921875, -0.06329345703125, 0.028564453125, 0.01434326171875, -0.00009393692016601562, 0.036712646484375, 0.023040771484375, 0.0173492431640625, -0.023284912109375, -0.00511932373046875, -0.03399658203125, -0.01561737060546875, 0.050384521484375, -0.00727081298828125, -0.043060302734375, 0.027740478515625, -0.0513916015625, 0.04473876953125, 0.0101776123046875, -0.03802490234375, 0.00772857666015625, -0.059814453125, 0.0311431884765625, 0.0218505859375, 0.001171112060546875, -0.057098388671875, -0.031646728515625, 0.01268768310546875, -0.05865478515625, 0.006687164306640625, 0.01039886474609375, -0.0143890380859375, 0.01416778564453125, 0.00792694091796875, 0.00366973876953125, -0.0180206298828125, -0.0254364013671875, -0.018524169921875, 0.00948333740234375, 0.0209197998046875, -0.0035343170166015625, -0.014373779296875, 0.0101165771484375, 0.037567138671875, -0.016632080078125, -0.06011962890625, -0.0230255126953125, -0.00411224365234375, 0.0287017822265625, 0.02838134765625, 0.005859375, 0.03631591796875, 0.0165863037109375, -0.01242828369140625, 0.00995635986328125, -0.0009264945983886719, -0.0227203369140625, -0.04669189453125, -0.0164947509765625, 0.01491546630859375, -0.02947998046875, -0.0550537109375, 0.058135986328125, -0.004016876220703125, -0.004871368408203125, -0.0129852294921875, 0.0433349609375, 0.0300445556640625, 0.01052093505859375, 0.0229644775390625, 0.02655029296875, -0.0226287841796875, -0.00881195068359375, -0.0261688232421875, -0.00615692138671875, -0.007801055908203125, -0.0002372264862060547, 0.0190887451171875, 0.0236663818359375, 0.0232391357421875, 0.006580352783203125, -0.0113372802734375, -0.01305389404296875, 0.0106658935546875, 0.00891876220703125, -0.027435302734375, -0.0016231536865234375, 0.0092620849609375, 0.01354217529296875, -0.01215362548828125, 0.01995849609375, -0.0237274169921875, -0.0286865234375, 0.01419830322265625, -0.049713134765625, 0.03173828125, -0.035400390625, -0.053802490234375, -0.023101806640625, 0.0010137557983398438, -0.008026123046875, -0.01560211181640625, -0.040557861328125, -0.00768280029296875, -0.0364990234375, 0.0477294921875, -0.03729248046875, 0.040435791015625, -0.01611328125, 0.00047969818115234375, -0.01512908935546875, 0.039703369140625, 0.0027980804443359375, 0.020782470703125, -0.03350830078125, -0.00495147705078125, -0.04302978515625, -0.02117919921875, -0.04754638671875, -0.064697265625, -0.0297088623046875, 0.0163116455078125, 0.03057861328125, 0.051910400390625, -0.034698486328125, -0.06866455078125, 0.02386474609375, -0.0217742919921875, 0.003810882568359375, 0.055084228515625, -0.00449371337890625, 0.07440185546875, -0.01708984375, 0.06689453125, 0.019134521484375, 0.030975341796875, -0.013336181640625, -0.01568603515625, -0.007598876953125, -0.06549072265625, 0.0017480850219726562, -0.0032138824462890625, 0.001491546630859375, 0.023773193359375, 0.022369384765625, 0.00656890869140625, -0.0182037353515625, -0.01280975341796875, 0.0074310302734375, -0.03045654296875, 0.051422119140625, 0.0002808570861816406, -0.01019287109375, -0.0040435791015625, 0.00109100341796875, 0.0133209228515625, -0.0002818107604980469, -0.05194091796875, 0.045562744140625, 0.005588531494140625, 0.033782958984375, -0.0013875961303710938, -0.0233001708984375, 0.002979278564453125, 0.038238525390625, 0.042510986328125, 0.06695556640625, 0.0093841552734375, 0.053680419921875, 0.047698974609375, 0.03717041015625, -0.009063720703125, 0.007282257080078125, 0.05078125, 0.01305389404296875, 0.00025200843811035156, 0.0174560546875, -0.017791748046875, -0.00609588623046875, 0.04437255859375, 0.0282440185546875, -0.0428466796875, -0.01293182373046875, -0.0035076141357421875, -0.0293731689453125, -0.002010345458984375, -0.01983642578125, 0.0089569091796875, -0.02520751953125, 0.034454345703125, -0.0004839897155761719, -0.01444244384765625, 0.0094757080078125, -0.0267791748046875, -0.00848388671875, -0.03546142578125, 0.004611968994140625, 0.006069183349609375, 0.029083251953125, 0.01091766357421875, -0.036376953125, 0.029296875, 0.0012483596801757812, 0.0186614990234375, -0.03656005859375, -0.00750732421875, -0.010772705078125, 0.0174713134765625, -0.039703369140625, -0.0091094970703125, 0.0357666015625, -0.019622802734375, 0.007259368896484375, 0.039581298828125, -0.0196533203125, 0.026458740234375, 0.00591278076171875, -0.0201263427734375, -0.06878662109375, -0.036773681640625, 0.0030040740966796875, -0.0172119140625, 0.0077362060546875, 0.0266876220703125, -0.0147552490234375, -0.054443359375, -0.006259918212890625, 0.02581787109375, 0.06256103515625, -0.0222625732421875, -0.0191802978515625, 0.037078857421875, 0.0159454345703125, -0.0230255126953125, 0.020477294921875, 0.04974365234375, -0.021728515625, 0.0072174072265625, 0.0265045166015625, -0.0020904541015625, -0.06304931640625, 0.0167083740234375, -0.049530029296875, 0.08758544921875, 0.019134521484375, 0.0016012191772460938, 0.00360870361328125, 0.039337158203125, -0.0254974365234375, 0.0225677490234375, -0.030364990234375, 0.0188446044921875, -0.047210693359375, 0.05035400390625, -0.06304931640625, -0.015777587890625, -0.0091705322265625, 0.037750244140625, 0.04132080078125, 0.0219879150390625, -0.019927978515625, -0.0140380859375, 0.002758026123046875, 0.034088134765625, -0.01561737060546875, 0.03668212890625, 0.0080718994140625, 0.042205810546875, -0.0004940032958984375, -0.0224456787109375, 0.0487060546875, -0.05950927734375, -0.04571533203125, 0.0168304443359375, 0.0014286041259765625, -0.006412506103515625, -0.0113525390625, 0.004974365234375, -0.04046630859375, -0.005443572998046875, 0.041168212890625, -0.061553955078125, 0.00540924072265625, 0.030792236328125, 0.04608154296875, -0.01529693603515625, -0.00183868408203125, -0.0292816162109375, 0.0570068359375, 0.01058197021484375, -0.0157012939453125, 0.03289794921875, 0.032440185546875, -0.04443359375, -0.045867919921875, 0.0006046295166015625, -0.008697509765625, -0.056732177734375, 0.0067901611328125, 0.00945281982421875, 0.00417327880859375, -0.0457763671875, 0.0159149169921875, 0.058258056640625, 0.020782470703125, -0.03240966796875, -0.06182861328125, 0.01204681396484375, 0.0118560791015625, 0.00922393798828125, 0.009765625, 0.0103302001953125, 0.001617431640625, 0.0487060546875, -0.035064697265625, -0.017974853515625, -0.0125885009765625, 0.043487548828125, -0.014129638671875, 0.00820159912109375, -0.0174407958984375, -0.05914306640625, -0.0254364013671875, 0.0216064453125, 0.01483917236328125, 0.04034423828125, -0.0002187490463256836, 0.04791259765625, 0.0024261474609375, 0.004817962646484375, -0.055633544921875, 0.04840087890625, 0.0167388916015625, 0.054168701171875, -0.042633056640625, 0.01454925537109375, 0.0178985595703125, 0.03680419921875, 0.0205078125, 0.013031005859375, 0.048736572265625, 0.05535888671875, 0.0215911865234375, -0.016448974609375, 0.02685546875, 0.0001423358917236328, -0.0234222412109375, -0.036590576171875, -0.005580902099609375, 0.004886627197265625, -0.020782470703125, 0.0216827392578125, 0.00629425048828125, 0.016204833984375, 0.0281829833984375, 0.003093719482421875, 0.02862548828125, -0.0169830322265625, 0.03350830078125, 0.020355224609375, 0.0186004638671875, 0.061065673828125, -0.019561767578125, 0.005435943603515625, -0.044097900390625, -0.06744384765625, 0.0169219970703125, 0.032806396484375, -0.0191192626953125, 0.01343536376953125, 0.0201263427734375, -0.020233154296875, 0.0357666015625, -0.0264892578125, 0.046844482421875, 0.045989990234375, -0.0008749961853027344, 0.02435302734375, -0.0672607421875, -0.0223541259765625, 0.01264190673828125, 0.0143890380859375, -0.033905029296875, 0.050537109375, 0.01221466064453125, 0.00010651350021362305, -0.03509521484375, 0.0078277587890625, -0.006916046142578125, -0.005779266357421875, -0.01125335693359375, 0.046844482421875, 0.00600433349609375, -0.021484375, -0.0201873779296875, 0.0091705322265625, 0.035369873046875, -0.0230560302734375, -0.01123046875, 0.00353240966796875, 0.01503753662109375, 0.005809783935546875, -0.012359619140625, -0.032379150390625, -0.027557373046875, -0.051788330078125, -0.0184326171875, 0.02679443359375, 0.0218353271484375, 0.00377655029296875, 0.05328369140625, -0.043121337890625, -0.004917144775390625, 0.0204620361328125, -0.06585693359375, 0.030975341796875, 0.0350341796875, -0.045745849609375, -0.0229034423828125, 0.0027217864990234375, -0.0205535888671875, 0.0210113525390625, 0.002079010009765625, 0.031890869140625, 0.00885772705078125, -0.046051025390625, -0.0279693603515625, 0.05126953125, 0.0189361572265625, -0.0186004638671875, 0.0077972412109375, 0.027557373046875, -0.044189453125, -0.00439453125, 0.023193359375, -0.0265045166015625, -0.026641845703125, -0.01448822021484375, 0.0009241104125976562, -0.015106201171875, -0.059844970703125, -0.0533447265625, 0.0133209228515625, 0.0211639404296875, 0.00801849365234375, -0.05548095703125, 0.053619384765625, -0.016754150390625, 0.013824462890625, 0.0176239013671875, 0.00296783447265625, 0.0029201507568359375, 0.04754638671875, -0.03997802734375, -0.0205078125, -0.002414703369140625, 0.01316070556640625, -0.01043701171875, -0.0010957717895507812, 0.007843017578125, -0.020477294921875, 0.024505615234375, -0.018798828125, 0.0272979736328125, 0.01959228515625, 0.041534423828125, -0.02105712890625, 0.01396942138671875, -0.0050506591796875, -0.0008263587951660156, -0.0276947021484375, 0.0286407470703125, -0.046417236328125, -0.03118896484375, -0.0228729248046875, 0.0270538330078125, 0.060272216796875, -0.0126190185546875, -0.0653076171875, 0.0246124267578125, -0.00921630859375, -0.032806396484375, -0.05462646484375, 0.018310546875, 0.0019350051879882812, 0.0248565673828125, -0.01428985595703125, 0.0139923095703125, -0.01123809814453125, 0.02093505859375, 0.014190673828125, -0.0217742919921875, 0.0631103515625, -0.0064239501953125, -0.0213775634765625, -0.0012197494506835938, 0.019195556640625, -0.016265869140625, -0.00720977783203125, -0.0099334716796875, 0.00922393798828125, 0.011932373046875, -0.040130615234375, 0.00870513916015625, 0.0104217529296875, 0.02947998046875, -0.00033783912658691406, -0.052276611328125, -0.04339599609375, -0.039581298828125, 0.07342529296875, 0.01561737060546875, 0.0236968994140625, -0.00838470458984375, 0.0103607177734375, -0.05609130859375, -0.0301971435546875, -0.019012451171875, 0.017364501953125, -0.075927734375, -0.0126495361328125, 0.04010009765625, -0.0019321441650390625, -0.005069732666015625, -0.0175323486328125, -0.01363372802734375, 0.006999969482421875, 0.0135345458984375, 0.006649017333984375, -0.06365966796875, 0.054962158203125, 0.057830810546875, -0.038360595703125, 0.01309967041015625, -0.03240966796875, -0.005031585693359375, 0.040740966796875, -0.05902099609375, -0.01503753662109375, -0.01068878173828125, -0.0004773139953613281, 0.0249481201171875, -0.01142120361328125, 0.051116943359375, -0.00971221923828125, 0.007358551025390625, -0.03936767578125, 0.00640106201171875, 0.0200653076171875, -0.01068115234375, -0.060455322265625, 0.07550048828125, 0.039215087890625, 0.0860595703125, -0.00811767578125, 0.00969696044921875, -0.003665924072265625, 0.01149749755859375, -0.005840301513671875, 0.014495849609375, 0.0218048095703125, -0.0034332275390625, -0.0005054473876953125, 0.004627227783203125, -0.02764892578125, -0.006458282470703125, 0.004596710205078125, 0.005100250244140625, -0.028411865234375, -0.0008997917175292969 ]
c53496c8aa2a1362a4b45d03b443070c4102da50
Wordpress Stackexchange Q: Add colors to existing color palette without replacing it Using add_theme_support( 'editor-color-palette' ) one can replace the color palette in the Gutenberg editor by a custom one: add_theme_support( 'editor-color-palette', array( array( 'name' => __( 'Strong magenta', 'themeLangDomain' ), 'slug' => 'strong-magenta', 'color' => '#a156b4', ), array( 'name' => __( 'Light grayish magenta', 'themeLangDomain' ), 'slug' => 'light-grayish-magenta', 'color' => '#d0a5db', ), ) ); My question is, is there a way to ADD colors to an existing palette (via a child theme, for example) without completely replacing it? Thanks in advance A: You can merge palettes $existing = get_theme_support( 'editor-color-palette' ); $new = array_merge( $existing[0], array( array( 'name' => __( 'Strong magenta', 'themeLangDomain' ), 'slug' => 'strong-magenta', 'color' => '#a156b4', ), array( 'name' => __( 'Light grayish magenta', 'themeLangDomain' ), 'slug' => 'light-grayish-magenta', 'color' => '#d0a5db', ), )); add_theme_support( 'editor-color-palette', $new);
Q: Add colors to existing color palette without replacing it Using add_theme_support( 'editor-color-palette' ) one can replace the color palette in the Gutenberg editor by a custom one: add_theme_support( 'editor-color-palette', array( array( 'name' => __( 'Strong magenta', 'themeLangDomain' ), 'slug' => 'strong-magenta', 'color' => '#a156b4', ), array( 'name' => __( 'Light grayish magenta', 'themeLangDomain' ), 'slug' => 'light-grayish-magenta', 'color' => '#d0a5db', ), ) ); My question is, is there a way to ADD colors to an existing palette (via a child theme, for example) without completely replacing it? Thanks in advance A: You can merge palettes $existing = get_theme_support( 'editor-color-palette' ); $new = array_merge( $existing[0], array( array( 'name' => __( 'Strong magenta', 'themeLangDomain' ), 'slug' => 'strong-magenta', 'color' => '#a156b4', ), array( 'name' => __( 'Light grayish magenta', 'themeLangDomain' ), 'slug' => 'light-grayish-magenta', 'color' => '#d0a5db', ), )); add_theme_support( 'editor-color-palette', $new); A: To expand on Vitatus' answer, it works best if you're using a child theme, or a plugin, that edits the above. Assuming that the editor-colour-palette is called within a action with a default priority, you can call it after (usually calling after_setup_theme with a priority greater than 10) e.g. /** * Add the pink colour to the site * * @return void */ function wpquestion357851_add_colours() { $existing = get_theme_support('editor-color-palette'); $new = array_merge($existing[0], array( array( 'name' => __('Pink', 'twentytwenty'), 'slug' => 'pink', 'color' => '#ff14a7', ), )); add_theme_support('editor-color-palette', $new); } add_action('after_setup_theme', 'wpquestion357851_add_colours', 20); You may need to see where the add_theme_support('editor-color-palette' is called within your theme, and make sure it is called after. A: The best way would be to expose the data, so it can be modified. You can do this by adding a filter: add_theme_support( 'editor-color-palette', apply_filters( 'themeLangDomain_editor_color_palette_args', array( array( 'name' => __( 'Strong magenta', 'themeLangDomain' ), 'slug' => 'strong-magenta', 'color' => '#a156b4', ), array( 'name' => __( 'Light grayish magenta', 'themeLangDomain' ), 'slug' => 'light-grayish-magenta', 'color' => '#d0a5db', ), ) ) ); Then child themes or plugins can modify the array using add_filter to modify the data in themeLangDomain_editor_color_palette_arg: add_filter( 'themeLangDomain_editor_color_palette_args', function( $palette ) { $palette[] = array( 'name' => __( 'Black', 'themeLangDomain' ), 'slug' => 'black', 'color' => '#000000', ); return $palette; } );
wordpress
{ "language": "en", "length": 359, "provenance": "stackexchange_00019.jsonl.gz:500982", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/357851" }
[ 0.00379180908203125, -0.0174560546875, 0.0008587837219238281, -0.0338134765625, -0.0119476318359375, -0.00017344951629638672, 0.007781982421875, -0.01354217529296875, 0.004184722900390625, 0.038543701171875, 0.005245208740234375, -0.01007843017578125, 0.0249786376953125, -0.019805908203125, -0.01084136962890625, 0.02020263671875, 0.028900146484375, -0.0478515625, 0.009765625, -0.022308349609375, 0.00185394287109375, -0.010955810546875, 0.053955078125, 0.01202392578125, 0.041839599609375, -0.0243682861328125, -0.04730224609375, -0.0227813720703125, -0.002574920654296875, -0.02545166015625, 0.005096435546875, 0.04791259765625, 0.0020084381103515625, -0.00823211669921875, 0.0219573974609375, 0.01290130615234375, 0.052734375, -0.0194549560546875, 0.01471710205078125, 0.0183868408203125, 0.02850341796875, -0.0217742919921875, -0.019622802734375, 0.01140594482421875, -0.029510498046875, -0.0322265625, 0.0283355712890625, -0.0228271484375, 0.0323486328125, 0.001007080078125, -0.0118255615234375, 0.03851318359375, -0.0018024444580078125, 0.013671875, -0.007366180419921875, -0.0010166168212890625, -0.045867919921875, 0.056549072265625, 0.022003173828125, -0.01299285888671875, -0.006206512451171875, 0.005992889404296875, 0.015869140625, 0.0222015380859375, 0.0145111083984375, -0.007232666015625, -0.034576416015625, 0.00922393798828125, -0.0599365234375, 0.03082275390625, 0.04205322265625, -0.058837890625, 0.00003451108932495117, -0.0733642578125, -0.006866455078125, 0.073974609375, -0.05523681640625, -0.006786346435546875, 0.025390625, -0.03155517578125, -0.019927978515625, 0.0205841064453125, -0.0247955322265625, -0.032623291015625, 0.0197906494140625, -0.0039825439453125, -0.0267181396484375, -0.0225982666015625, -0.027587890625, -0.017333984375, -0.01282501220703125, -0.03814697265625, -0.0389404296875, 0.029876708984375, -0.00933074951171875, -0.005092620849609375, 0.00021505355834960938, 0.00539398193359375, -0.00397491455078125, 0.03411865234375, 0.00872802734375, -0.053192138671875, 0.06787109375, -0.053070068359375, 0.0200042724609375, 0.02398681640625, -0.015655517578125, 0.01244354248046875, 0.04302978515625, 0.02056884765625, -0.0020275115966796875, 0.0131072998046875, -0.0335693359375, -0.048797607421875, 0.0254058837890625, 0.057037353515625, -0.043548583984375, 0.054534912109375, 0.0166473388671875, 0.039520263671875, -0.00605010986328125, 0.019927978515625, 0.01328277587890625, -0.058929443359375, 0.0155029296875, -0.01410675048828125, -0.04034423828125, -0.0158538818359375, 0.017120361328125, -0.01373291015625, -0.04949951171875, 0.02325439453125, 0.09747314453125, 0.04364013671875, 0.03106689453125, -0.022308349609375, -0.0015392303466796875, -0.0212554931640625, 0.02923583984375, -0.034210205078125, 0.0347900390625, -0.00568389892578125, 0.0158843994140625, 0.0382080078125, 0.04547119140625, -0.0201568603515625, -0.01102447509765625, 0.037109375, 0.0438232421875, -0.0247955322265625, 0.07586669921875, -0.05828857421875, -0.011474609375, 0.032501220703125, 0.01280975341796875, 0.00417327880859375, 0.0257568359375, -0.01538848876953125, 0.0200958251953125, -0.002780914306640625, 0.023681640625, -0.01248931884765625, -0.0085296630859375, 0.02130126953125, -0.01666259765625, 0.0027923583984375, 0.008697509765625, 0.0006184577941894531, 0.01380157470703125, -0.0006322860717773438, -0.0093994140625, 0.024383544921875, 0.026336669921875, -0.00814056396484375, -0.01410675048828125, -0.010711669921875, -0.006313323974609375, 0.03125, 0.0023937225341796875, 0.032684326171875, 0.0116729736328125, -0.0355224609375, 0.03570556640625, -0.005756378173828125, -0.07025146484375, -0.038909912109375, -0.009124755859375, 0.05474853515625, 0.079345703125, 0.014129638671875, 0.0086822509765625, -0.0712890625, 0.002960205078125, -0.01168060302734375, -0.006244659423828125, -0.03411865234375, 0.0296783447265625, 0.0195770263671875, -0.0074310302734375, -0.0009899139404296875, 0.0513916015625, -0.0004830360412597656, 0.021484375, -0.05303955078125, -0.09112548828125, 0.004077911376953125, -0.03472900390625, 0.045684814453125, 0.02362060546875, -0.0175628662109375, -0.0173187255859375, -0.044769287109375, 0.0196380615234375, -0.0155487060546875, -0.0380859375, 0.0173187255859375, 0.0182037353515625, 0.029693603515625, 0.03271484375, -0.0069732666015625, 0.06732177734375, -0.0181121826171875, 0.03466796875, 0.0246429443359375, 0.031524658203125, -0.002105712890625, -0.0190277099609375, -0.01555633544921875, -0.005931854248046875, 0.0263671875, -0.06298828125, 0.03607177734375, 0.0555419921875, 0.010101318359375, -0.000029325485229492188, 0.0276336669921875, 0.06658935546875, -0.05548095703125, -0.009246826171875, 0.0232391357421875, 0.033935546875, 0.0300140380859375, -0.03155517578125, -0.06854248046875, 0.0919189453125, 0.0115203857421875, 0.011962890625, -0.046722412109375, -0.005279541015625, 0.07073974609375, -0.00817108154296875, 0.032989501953125, -0.002513885498046875, -0.01019287109375, -0.0184783935546875, 0.04388427734375, 0.01065826416015625, -0.020111083984375, -0.002960205078125, 0.02630615234375, 0.0186309814453125, 0.0171356201171875, -0.041015625, 0.0245361328125, 0.0284881591796875, -0.00485992431640625, 0.0369873046875, 0.0306396484375, -0.00412750244140625, -0.0088653564453125, 0.00925445556640625, -0.00507354736328125, 0.024566650390625, 0.035675048828125, -0.03326416015625, 0.05145263671875, -0.0116729736328125, -0.0178070068359375, 0.0352783203125, 0.0265350341796875, -0.030731201171875, 0.01995849609375, -0.040985107421875, -0.01141357421875, -0.0244903564453125, -0.0731201171875, -0.004993438720703125, -0.0153961181640625, -0.007755279541015625, 0.005352020263671875, 0.004276275634765625, 0.036834716796875, -0.0093841552734375, 0.0017185211181640625, 0.03717041015625, -0.004486083984375, 0.048126220703125, -0.004550933837890625, 0.0015649795532226562, 0.0055999755859375, 0.07086181640625, 0.0482177734375, 0.0126495361328125, -0.0194549560546875, -0.005855560302734375, -0.04998779296875, -0.016082763671875, 0.00567626953125, -0.01334381103515625, -0.026397705078125, -0.0282135009765625, 0.0474853515625, 0.01450347900390625, -0.040374755859375, 0.025115966796875, 0.0027523040771484375, -0.0024013519287109375, 0.0007886886596679688, -0.00616455078125, 0.0211029052734375, 0.01157379150390625, -0.0350341796875, -0.0178070068359375, -0.0004303455352783203, -0.02996826171875, 0.001148223876953125, 0.0141754150390625, 0.000002205371856689453, -0.027862548828125, -0.04241943359375, -0.036163330078125, -0.08978271484375, -0.06976318359375, -0.03485107421875, 0.0098419189453125, -0.002231597900390625, 0.01263427734375, 0.040496826171875, 0.005985260009765625, -0.0001970529556274414, 0.037322998046875, -0.0169830322265625, -0.0028591156005859375, 0.0254974365234375, 0.0423583984375, -0.047149658203125, -0.0016679763793945312, -0.005535125732421875, 0.0309295654296875, 0.044830322265625, -0.039093017578125, 0.0172119140625, -0.0249481201171875, 0.029632568359375, -0.015960693359375, 0.04510498046875, 0.053375244140625, 0.0081787109375, 0.00844573974609375, -0.028594970703125, -0.0030879974365234375, -0.0295562744140625, -0.03515625, 0.05194091796875, 0.01361846923828125, 0.01050567626953125, 0.00904083251953125, 0.02178955078125, -0.005035400390625, 0.004852294921875, 0.020294189453125, 0.001323699951171875, -0.0096435546875, -0.02783203125, -0.0484619140625, -0.004787445068359375, 0.009063720703125, -0.025848388671875, 0.0277862548828125, 0.0004215240478515625, 0.0234222412109375, 0.0018434524536132812, 0.0167694091796875, -0.032012939453125, 0.0084991455078125, 0.002635955810546875, -0.049774169921875, 0.045318603515625, -0.0352783203125, 0.0164642333984375, -0.045074462890625, 0.010650634765625, -0.045379638671875, -0.0236358642578125, 0.0005502700805664062, 0.0223388671875, -0.0196533203125, -0.04937744140625, -0.022918701171875, -0.008392333984375, -0.10845947265625, 0.0138397216796875, 0.005611419677734375, -0.037384033203125, -0.0155487060546875, 0.041351318359375, -0.07305908203125, -0.0311431884765625, 0.0271759033203125, -0.004016876220703125, 0.023712158203125, 0.059661865234375, 0.0161285400390625, 0.04644775390625, -0.00635528564453125, -0.0297088623046875, -0.12139892578125, -0.0208282470703125, -0.09002685546875, 0.11956787109375, 0.031829833984375, -0.0011701583862304688, -0.03851318359375, 0.05047607421875, 0.0216827392578125, 0.069580078125, 0.01512908935546875, 0.002819061279296875, 0.01197052001953125, -0.03216552734375, 0.042633056640625, -0.0418701171875, -0.002223968505859375, -0.00817108154296875, -0.0195770263671875, 0.01081085205078125, -0.0203094482421875, 0.0011081695556640625, 0.00466156005859375, -0.018218994140625, -0.005756378173828125, -0.00928497314453125, -0.031036376953125, 0.00965118408203125, 0.003948211669921875, -0.033447265625, -0.014678955078125, -0.032501220703125, 0.046905517578125, 0.0312347412109375, -0.0254669189453125, -0.0019664764404296875, 0.053955078125, 0.0027637481689453125, -0.034576416015625, -0.0587158203125, -0.020111083984375, 0.020263671875, 0.01168060302734375, -0.0198822021484375, -0.030792236328125, -0.0272674560546875, 0.0182952880859375, 0.0023860931396484375, 0.0308990478515625, -0.0283966064453125, 0.034454345703125, -0.0221099853515625, -0.03045654296875, 0.039642333984375, -0.01080322265625, 0.004131317138671875, 0.00640869140625, -0.003925323486328125, 0.01360321044921875, -0.0242156982421875, -0.00027441978454589844, 0.0165252685546875, -0.01006317138671875, -0.0201416015625, -0.0250701904296875, 0.005859375, -0.033477783203125, 0.02191162109375, 0.0229644775390625, -0.008056640625, 0.01047515869140625, -0.0107269287109375, -0.045501708984375, 0.005218505859375, 0.03680419921875, 0.00586700439453125, 0.0247650146484375, -0.0181121826171875, -0.034820556640625, -0.036773681640625, -0.012664794921875, 0.081298828125, -0.01421356201171875, -0.0650634765625, -0.007167816162109375, -0.0157470703125, 0.0218505859375, 0.0255126953125, 0.0002849102020263672, 0.0207366943359375, 0.0261993408203125, -0.0128326416015625, -0.0262603759765625, -0.01458740234375, 0.02447509765625, -0.053802490234375, -0.034698486328125, -0.013824462890625, -0.0230712890625, -0.023651123046875, -0.0027294158935546875, -0.0391845703125, -0.01078033447265625, 0.0102386474609375, -0.018951416015625, -0.0225067138671875, 0.0357666015625, 0.025054931640625, -0.0200042724609375, 0.018463134765625, -0.0008001327514648438, 0.040191650390625, -0.043212890625, -0.0233306884765625, 0.02734375, 0.031280517578125, -0.007282257080078125, -0.018707275390625, 0.0250396728515625, 0.0096893310546875, 0.005657196044921875, -0.020355224609375, -0.03631591796875, 0.001125335693359375, 0.004856109619140625, 0.00725555419921875, 0.01031494140625, 0.01503753662109375, -0.02276611328125, -0.006175994873046875, -0.02685546875, -0.0049896240234375, -0.01093292236328125, -0.036529541015625, -0.0046844482421875, -0.0003616809844970703, -0.0285186767578125, -0.034423828125, 0.004741668701171875, -0.0178680419921875, -0.00388336181640625, -0.01308441162109375, -0.01837158203125, -0.005096435546875, 0.0201263427734375, 0.02276611328125, -0.0306243896484375, -0.0247039794921875, -0.02178955078125, -0.01255035400390625, 0.047271728515625, -0.00988006591796875, -0.0017213821411132812, -0.018768310546875, -0.02984619140625, -0.0235137939453125, -0.01012420654296875, -0.0232391357421875, -0.0265045166015625, -0.00441741943359375, 0.00415802001953125, 0.0123443603515625, 0.0213165283203125, 0.042633056640625, -0.038818359375, 0.0743408203125, 0.04071044921875, 0.0980224609375, -0.00034117698669433594, -0.0092926025390625, 0.005565643310546875, 0.022735595703125, 0.007350921630859375, -0.044219970703125, -0.0202178955078125, -0.01323699951171875, -0.0039215087890625, -0.033111572265625, 0.027587890625, -0.0207366943359375, 0.00717926025390625, 0.0185699462890625, 0.0645751953125, 0.020599365234375, 0.0361328125, -0.024810791015625, 0.00582122802734375, -0.0267486572265625, -0.018524169921875, -0.08306884765625, -0.02392578125, -0.00033092498779296875, -0.005107879638671875, 0.04473876953125, -0.0101470947265625, -0.0227508544921875, 0.0084686279296875, 0.01177215576171875, 0.01328277587890625, 0.0250091552734375, -0.00826263427734375, -0.0017461776733398438, 0.0173187255859375, 0.0006132125854492188, 0.036224365234375, 0.006122589111328125, 0.0311126708984375, 0.032684326171875, -0.0235595703125, -0.006771087646484375, 0.0218353271484375, 0.00473785400390625, -0.0132904052734375, 0.0181121826171875, 0.0168914794921875, 0.0105743408203125, -0.01052093505859375, 0.042144775390625, 0.0081939697265625, -0.062164306640625, -0.002490997314453125, -0.031951904296875, -0.007671356201171875, 0.02764892578125, -0.0049896240234375, -0.01552581787109375, -0.0278778076171875, 0.042877197265625, -0.043426513671875, -0.0416259765625, -0.004150390625, -0.0277557373046875, 0.0014581680297851562, -0.04071044921875, 0.044403076171875, 0.01422119140625, 0.00031113624572753906, 0.01012420654296875, 0.0166778564453125, -0.006786346435546875, 0.0200958251953125, 0.004024505615234375, -0.01500701904296875, -0.0247802734375, -0.053466796875, -0.0411376953125, -0.03802490234375, -0.03656005859375, 0.0269927978515625, 0.031097412109375, 0.049835205078125, 0.043670654296875, 0.002655029296875, 0.005466461181640625, 0.008026123046875, 0.0235443115234375, 0.0325927734375, -0.0132904052734375, 0.0159454345703125, -0.0252685546875, -0.0227813720703125, -0.003452301025390625, -0.025299072265625, 0.0072021484375, 0.00579071044921875, 0.0491943359375, 0.036773681640625, -0.02008056640625, -0.041046142578125, 0.055084228515625, -0.007381439208984375, -0.022552490234375, 0.0244903564453125, 0.016143798828125, -0.0272216796875, -0.0362548828125, 0.0147247314453125, -0.05511474609375, 0.01538848876953125, 0.0245819091796875, -0.07135009765625, 0.111572265625, 0.009063720703125, 0.03009033203125, 0.014678955078125, 0.047088623046875, -0.0728759765625, -0.004802703857421875, -0.0174102783203125, 0.01428985595703125, 0.0255889892578125, -0.0037822723388671875, -0.0252685546875, -0.004421234130859375, -0.01050567626953125, 0.0345458984375, 0.0260467529296875, -0.0020809173583984375, -0.046478271484375, -0.0192413330078125, 0.0345458984375, 0.018218994140625, -0.01247406005859375, 0.051422119140625, -0.0030670166015625, -0.02215576171875, 0.01079559326171875, 0.00022423267364501953, 0.0063629150390625, -0.01910400390625, -0.021209716796875, 0.01229095458984375, -0.020172119140625, -0.006988525390625, 0.012298583984375, -0.028656005859375, -0.01306915283203125, -0.0032176971435546875, 0.01111602783203125, -0.08013916015625, -0.005084991455078125, 0.0106201171875, -0.043701171875, 0.0140533447265625, -0.04962158203125, -0.01195526123046875, 0.004253387451171875, -0.007717132568359375, -0.027862548828125, -0.0278167724609375, 0.01544952392578125, -0.0237579345703125, -0.05035400390625, -0.037750244140625, 0.043182373046875, -0.04437255859375, 0.04736328125, 0.01490020751953125, 0.033782958984375, 0.010406494140625, 0.0443115234375, -0.01459503173828125, 0.01453399658203125, -0.043975830078125, -0.00879669189453125, 0.00531005859375, -0.0230712890625, 0.003261566162109375, -0.0169677734375, 0.0256195068359375, -0.06976318359375, -0.0794677734375, -0.0811767578125, -0.00682830810546875, 0.02130126953125, 0.031463623046875, -0.0199432373046875, -0.03302001953125, 0.01708984375, -0.0474853515625, -0.06689453125, 0.039154052734375, 0.031768798828125, 0.08282470703125, -0.00766754150390625, 0.081787109375, -0.0013818740844726562, -0.03240966796875, -0.036712646484375, -0.004589080810546875, 0.029541015625, 0.02508544921875, -0.030609130859375, 0.0252685546875, 0.04217529296875, 0.04644775390625, 0.0240936279296875, 0.00922393798828125, 0.062255859375, 0.0311737060546875, -0.01544952392578125, -0.01412200927734375, -0.003520965576171875, -0.02252197265625, -0.0182342529296875, -0.0328369140625, 0.043060302734375, 0.036651611328125, 0.0173797607421875, -0.006488800048828125, 0.013671875, 0.05023193359375, 0.0046234130859375, -0.00437164306640625, -0.0011663436889648438, -0.039093017578125, 0.01509857177734375, 0.0062255859375, 0.055999755859375, 0.03009033203125, -0.0797119140625, -0.0269775390625, -0.01548004150390625, -0.0131378173828125, 0.035797119140625, 0.0421142578125, -0.00566864013671875, 0.009246826171875, -0.00548553466796875, -0.0034618377685546875, 0.019012451171875, 0.002834320068359375, -0.0004723072052001953, 0.036376953125, 0.033294677734375, 0.0198974609375, -0.0236968994140625, -0.0304107666015625, 0.0157928466796875, 0.02532958984375, -0.0158538818359375, 0.038299560546875, -0.0095672607421875, -0.0009226799011230469, 0.0311431884765625, 0.0184173583984375, -0.004344940185546875, 0.0169677734375, 0.025848388671875, -0.005519866943359375, 0.00531005859375, -0.019134521484375, -0.0220489501953125, 0.01557159423828125, 0.0120849609375, -0.0036716461181640625, -0.010284423828125, -0.01800537109375, 0.0228424072265625, 0.0279388427734375, 0.0157928466796875, -0.0211639404296875, -0.03778076171875, -0.06378173828125, -0.013397216796875, 0.015533447265625, 0.005706787109375, -0.0199127197265625, 0.06756591796875, 0.015380859375, 0.017486572265625, 0.016357421875, -0.0255126953125, -0.00200653076171875, 0.0211944580078125, -0.0028781890869140625, -0.0199737548828125, 0.0233154296875, -0.007503509521484375, 0.03546142578125, 0.0024433135986328125, 0.04327392578125, 0.0241546630859375, -0.0200042724609375, 0.07720947265625, 0.061981201171875, 0.0494384765625, -0.0222625732421875, 0.0038585662841796875, 0.08404541015625, -0.0224609375, 0.0012044906616210938, -0.01067352294921875, -0.01678466796875, -0.041748046875, 0.0274200439453125, 0.0302276611328125, 0.007389068603515625, 0.0215301513671875, -0.0160064697265625, 0.04071044921875, 0.032623291015625, -0.007747650146484375, -0.0297393798828125, 0.020721435546875, -0.031036376953125, 0.07586669921875, 0.0035839080810546875, -0.01055145263671875, 0.01232147216796875, 0.0379638671875, -0.0210418701171875, -0.004703521728515625, -0.0210113525390625, 0.0025920867919921875, -0.0135650634765625, -0.02001953125, -0.005828857421875, 0.01314544677734375, 0.0369873046875, -0.0367431640625, -0.0247802734375, 0.009002685546875, -0.046783447265625, -0.014801025390625, 0.052947998046875, -0.0165863037109375, -0.01468658447265625, -0.091064453125, -0.0036106109619140625, -0.08709716796875, 0.024993896484375, 0.03369140625, -0.0167083740234375, 0.001316070556640625, -0.042877197265625, -0.057098388671875, 0.003765106201171875, 0.03643798828125, -0.04931640625, 0.039886474609375, -0.005550384521484375, -0.034881591796875, 0.007305145263671875, 0.01371002197265625, -0.01369476318359375, 0.039337158203125, 0.0227508544921875, -0.014495849609375, 0.02423095703125, 0.0203704833984375, -0.00372314453125, -0.019500732421875, -0.0182342529296875, -0.01708984375, -0.024078369140625, 0.007625579833984375, -0.01296234130859375, 0.0228729248046875, 0.0272369384765625, -0.02227783203125, -0.034820556640625, -0.0021514892578125, -0.037689208984375, -0.00547027587890625, -0.056365966796875, -0.0210723876953125, -0.030670166015625, 0.0877685546875, -0.00661468505859375, 0.01343536376953125, -0.000025093555450439453, -0.01419830322265625, -0.01120758056640625, 0.01904296875, -0.0223541259765625, -0.002231597900390625, -0.0626220703125, -0.0213470458984375, 0.0157623291015625, -0.01300811767578125, 0.006420135498046875, 0.0097808837890625, -0.0187835693359375, -0.0070953369140625, 0.00775146484375, -0.013275146484375, -0.08160400390625, 0.00957489013671875, 0.090087890625, -0.03924560546875, 0.0286712646484375, 0.01416015625, -0.01284027099609375, 0.0816650390625, 0.05859375, -0.0170135498046875, -0.03985595703125, 0.05279541015625, 0.0265045166015625, 0.01393890380859375, 0.017364501953125, 0.0223846435546875, -0.01922607421875, -0.00266265869140625, -0.0218353271484375, -0.013336181640625, -0.04864501953125, -0.016021728515625, 0.036773681640625, -0.018768310546875, 0.08203125, -0.00021278858184814453, -0.0020694732666015625, -0.00989532470703125, 0.004833221435546875, -0.0193939208984375, 0.0016536712646484375, 0.003330230712890625, -0.015777587890625, 0.0195770263671875, -0.01113128662109375, 0.020477294921875, -0.04931640625, 0.0167999267578125, -0.015960693359375, 0.0017404556274414062, 0.0216522216796875 ]
ee9705d3757751cbec9ceff346c93c8174f8e9ef
Wordpress Stackexchange Q: WP Coding standards - escaping the inescapable? How do you escape these two examples? wc_price() wraps the already escaped $product_price in p and span tags with currency symbol. $product_price = $product->get_price(); <p><?php echo wc_price( esc_html( $product_price ) ); ?></p> The next one outputs the complete image with all attributes: src, srcset, alt, etc. $product_img = $product->get_image(); <?php echo $product_img; ?> A: For the first example, a lot of people will use wp_kses_post to handle basic HTML output from wrapper functions. It's a shortcut for some basic attributes and tags using wp_kses. You could use this function where you specify allowed tags and attributes that can pass through for the second example.
Q: WP Coding standards - escaping the inescapable? How do you escape these two examples? wc_price() wraps the already escaped $product_price in p and span tags with currency symbol. $product_price = $product->get_price(); <p><?php echo wc_price( esc_html( $product_price ) ); ?></p> The next one outputs the complete image with all attributes: src, srcset, alt, etc. $product_img = $product->get_image(); <?php echo $product_img; ?> A: For the first example, a lot of people will use wp_kses_post to handle basic HTML output from wrapper functions. It's a shortcut for some basic attributes and tags using wp_kses. You could use this function where you specify allowed tags and attributes that can pass through for the second example. A: My opinion is that you wouldn't. wc_price() and $product->get_image() are both escaped further upstream. In the WordPress Coding Standards sniffs for PHPCS, these would be referred to as "auto escaped functions". Double escaping by putting wp_kses_post() on everything that's already escaped, just to satisfy code sniff, is a waste of resources and not actually doing anything to solve the problem that the sniffing is supposed to solve in the first place. The reason PHPCS is flagging these lines even though they're escaped is because the WP Coding standards don't know about 3rd-party functions. If your project is using them, or has its own auto-escaped functions, you should configure your project's rules to cover them. For example, adding this to your projects phpcs.xml file will stop PHPCS complaining about wc_price() not being escaped wherever it's used: <rule ref="WordPress.Security.EscapeOutput"> <properties> <property name="customAutoEscapedFunctions" type="array" value="wc_price,"/> </properties> </rule> customAutoEscapedFunctions doesn't support class methods, so to satisfy $product->get_image(); you would use an inline comment: $product_img = $product->get_image(); echo $product_img; // phpcs:ignore WordPress.Security.EscapeOutput
wordpress
{ "language": "en", "length": 280, "provenance": "stackexchange_00019.jsonl.gz:501172", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/358475" }
[ 0.024078369140625, -0.029083251953125, 0.0023040771484375, 0.0016870498657226562, -0.0099945068359375, -0.0119781494140625, 0.06488037109375, -0.0140228271484375, 0.005184173583984375, 0.02838134765625, -0.0011844635009765625, -0.00865936279296875, 0.01139068603515625, -0.0236053466796875, 0.0014257431030273438, -0.016632080078125, 0.027069091796875, 0.00023651123046875, 0.03155517578125, -0.00397491455078125, -0.004344940185546875, 0.0283966064453125, 0.01340484619140625, -0.003814697265625, 0.034637451171875, -0.0511474609375, 0.084716796875, -0.041717529296875, 0.040740966796875, -0.024810791015625, 0.018798828125, -0.03173828125, 0.0333251953125, 0.033721923828125, -0.06109619140625, 0.0494384765625, -0.03411865234375, 0.03216552734375, 0.0195770263671875, -0.0019664764404296875, 0.01019287109375, -0.00775146484375, 0.014984130859375, -0.043731689453125, -0.0128326416015625, 0.0108642578125, -0.0082244873046875, -0.016082763671875, 0.00738525390625, 0.019287109375, 0.00946044921875, -0.0157623291015625, 0.00649261474609375, -0.0217742919921875, -0.0189056396484375, -0.0088043212890625, -0.02313232421875, -0.0308990478515625, 0.0122528076171875, 0.084716796875, 0.01250457763671875, 0.00496673583984375, -0.0167083740234375, -0.0677490234375, 0.00701904296875, 0.018157958984375, 0.06634521484375, 0.01751708984375, -0.01319122314453125, -0.01039886474609375, 0.004245758056640625, 0.0062255859375, -0.003345489501953125, -0.040252685546875, 0.01018524169921875, 0.0220489501953125, -0.00970458984375, -0.046417236328125, 0.0010442733764648438, 0.014495849609375, 0.0138092041015625, -0.050018310546875, -0.0199432373046875, -0.044952392578125, 0.0618896484375, 0.006839752197265625, 0.01284027099609375, 0.007534027099609375, -0.0225830078125, -0.0268096923828125, -0.0323486328125, 0.005451202392578125, -0.035980224609375, -0.03314208984375, -0.0159912109375, -0.0259552001953125, -0.0264739990234375, 0.002429962158203125, -0.0160369873046875, 0.02587890625, -0.01018524169921875, -0.035125732421875, 0.031585693359375, -0.03857421875, 0.017578125, 0.081787109375, -0.01445770263671875, 0.045684814453125, 0.060638427734375, 0.00919342041015625, 0.035736083984375, 0.0167236328125, -0.03997802734375, -0.069580078125, 0.005901336669921875, 0.06634521484375, -0.016082763671875, 0.02734375, 0.03961181640625, 0.031829833984375, 0.00235748291015625, 0.024566650390625, 0.0399169921875, -0.035614013671875, -0.0128173828125, -0.00818634033203125, -0.027191162109375, -0.051666259765625, -0.01641845703125, 0.0011501312255859375, -0.0196075439453125, -0.001926422119140625, 0.055206298828125, 0.04571533203125, 0.007076263427734375, -0.0090789794921875, 0.0265960693359375, 0.0137481689453125, -0.015533447265625, 0.0279388427734375, -0.01018524169921875, -0.0202178955078125, 0.0011987686157226562, -0.035003662109375, 0.02972412109375, 0.004924774169921875, 0.007717132568359375, 0.035614013671875, 0.0005278587341308594, -0.0167083740234375, 0.05322265625, -0.0304107666015625, 0.0277862548828125, -0.00858306884765625, -0.0350341796875, -0.043914794921875, 0.0096588134765625, -0.035675048828125, 0.01214599609375, -0.057769775390625, -0.039459228515625, -0.033905029296875, 0.035491943359375, -0.009979248046875, -0.0207366943359375, 0.04644775390625, -0.003505706787109375, -0.0117950439453125, 0.0249786376953125, 0.08087158203125, -0.0270538330078125, -0.01003265380859375, -0.0033931732177734375, 0.0118255615234375, -0.0202178955078125, 0.0140838623046875, -0.00835418701171875, 0.0087127685546875, 0.051544189453125, 0.028045654296875, 0.001491546630859375, -0.01242828369140625, 0.107421875, -0.0254364013671875, -0.035308837890625, -0.0404052734375, 0.0201263427734375, 0.037139892578125, 0.0308837890625, 0.033599853515625, 0.0279998779296875, -0.03533935546875, -0.024169921875, 0.038421630859375, -0.00785064697265625, -0.08074951171875, 0.0258941650390625, -0.02838134765625, -0.008819580078125, 0.0048675537109375, 0.035003662109375, 0.02740478515625, -0.0015096664428710938, 0.021240234375, 0.00009119510650634766, 0.00789642333984375, 0.005809783935546875, 0.01727294921875, -0.05792236328125, 0.00612640380859375, 0.051116943359375, -0.0112152099609375, -0.037139892578125, 0.0277099609375, 0.0084228515625, -0.0171661376953125, -0.02239990234375, 0.080322265625, 0.01238250732421875, 0.04510498046875, 0.062255859375, -0.074462890625, 0.08355712890625, 0.021209716796875, 0.031402587890625, 0.0080718994140625, -0.001895904541015625, -0.01043701171875, 0.052825927734375, 0.02880859375, 0.023651123046875, -0.0266571044921875, 0.0249176025390625, 0.006320953369140625, -0.03509521484375, -0.00693511962890625, -0.024749755859375, -0.0606689453125, 0.0084686279296875, 0.06451416015625, 0.041107177734375, 0.061309814453125, -0.02880859375, -0.065185546875, 0.11053466796875, -0.039093017578125, -0.003993988037109375, -0.052520751953125, -0.009002685546875, -0.0004222393035888672, 0.009490966796875, -0.0245819091796875, 0.0105438232421875, -0.053436279296875, -0.01392364501953125, 0.0239105224609375, -0.00603485107421875, 0.016387939453125, -0.01551055908203125, 0.033721923828125, -0.036712646484375, 0.01012420654296875, 0.03814697265625, -0.017547607421875, 0.03564453125, -0.0014257431030273438, 0.02593994140625, 0.01287841796875, -0.02764892578125, -0.021759033203125, 0.0268707275390625, 0.036224365234375, -0.01253509521484375, 0.0252685546875, -0.006450653076171875, -0.045562744140625, -0.00601959228515625, 0.007076263427734375, -0.00852203369140625, -0.0093231201171875, 0.029144287109375, 0.057525634765625, 0.047760009765625, -0.0018100738525390625, -0.00537109375, 0.002254486083984375, 0.0224456787109375, 0.046234130859375, -0.02154541015625, -0.06390380859375, -0.016693115234375, 0.0256805419921875, -0.040008544921875, 0.04718017578125, -0.031524658203125, -0.0250091552734375, -0.007007598876953125, -0.0248260498046875, 0.021820068359375, -0.004482269287109375, 0.03228759765625, 0.045684814453125, -0.0008282661437988281, -0.0033416748046875, 0.0167236328125, -0.012664794921875, 0.01535797119140625, 0.00897979736328125, -0.0101470947265625, 0.0073394775390625, -0.07452392578125, -0.0364990234375, 0.0184783935546875, 0.06085205078125, -0.0452880859375, -0.049468994140625, -0.0458984375, 0.007419586181640625, -0.09649658203125, -0.05535888671875, 0.029266357421875, -0.0843505859375, -0.006343841552734375, -0.00431060791015625, -0.06097412109375, -0.00893402099609375, 0.038787841796875, -0.01215362548828125, -0.0302886962890625, -0.0004851818084716797, -0.028594970703125, -0.050201416015625, -0.038726806640625, -0.002063751220703125, -0.01146697998046875, 0.001220703125, 0.017852783203125, 0.0210723876953125, 0.017364501953125, -0.05670166015625, 0.0335693359375, 0.03729248046875, -0.01340484619140625, 0.049072265625, -0.03662109375, -0.02459716796875, -0.0214385986328125, -0.0122833251953125, -0.00797271728515625, -0.01508331298828125, 0.0248565673828125, 0.007190704345703125, -0.01300048828125, -0.037750244140625, 0.031494140625, 0.01702880859375, -0.0083160400390625, -0.01519775390625, 0.03411865234375, -0.04473876953125, -0.0264434814453125, -0.035064697265625, -0.058746337890625, 0.0418701171875, 0.035888671875, 0.005237579345703125, 0.003192901611328125, 0.01380157470703125, -0.010101318359375, 0.01153564453125, 0.054779052734375, -0.033416748046875, 0.013671875, -0.0203857421875, -0.0209197998046875, -0.059173583984375, -0.0236053466796875, -0.04718017578125, 0.040374755859375, -0.01385498046875, -0.0190582275390625, -0.022857666015625, -0.0025501251220703125, -0.029388427734375, -0.0245208740234375, 0.053253173828125, 0.01174163818359375, 0.0458984375, -0.05206298828125, -0.0447998046875, -0.040496826171875, 0.093017578125, -0.01467132568359375, 0.000021755695343017578, 0.0029296875, 0.004608154296875, -0.048187255859375, -0.023712158203125, -0.055938720703125, 0.002246856689453125, -0.019622802734375, -0.0165863037109375, -0.01367950439453125, -0.00921630859375, 0.0006909370422363281, -0.040069580078125, -0.0144500732421875, -0.0265350341796875, 0.0196075439453125, -0.0027523040771484375, -0.01025390625, -0.01314544677734375, -0.00707244873046875, -0.038665771484375, 0.0009250640869140625, 0.0070648193359375, -0.054229736328125, -0.0098876953125, -0.040771484375, 0.07086181640625, 0.049224853515625, -0.05499267578125, -0.0270843505859375, 0.03216552734375, -0.0229034423828125, 0.008544921875, -0.0219268798828125, 0.0235443115234375, -0.01371002197265625, -0.01386260986328125, -0.01358795166015625, -0.013641357421875, -0.03460693359375, -0.04632568359375, -0.0163726806640625, -0.0112762451171875, 0.0015554428100585938, -0.0167388916015625, 0.00405120849609375, 0.0008382797241210938, -0.0965576171875, -0.012725830078125, 0.03045654296875, -0.02178955078125, -0.00502777099609375, 0.008087158203125, 0.01409149169921875, -0.03656005859375, 0.06781005859375, 0.032989501953125, 0.00543975830078125, -0.020660400390625, 0.083984375, 0.01105499267578125, -0.04681396484375, -0.0355224609375, -0.037384033203125, 0.0013427734375, -0.003696441650390625, 0.034393310546875, 0.0016965866088867188, 0.005420684814453125, 0.01323699951171875, -0.0265045166015625, 0.024383544921875, -0.033905029296875, 0.0921630859375, -0.015472412109375, -0.00026679039001464844, 0.01116943359375, -0.0176849365234375, -0.002834320068359375, 0.0260467529296875, -0.002582550048828125, 0.012359619140625, 0.01454925537109375, -0.00518035888671875, -0.00860595703125, -0.013214111328125, -0.01311492919921875, -0.006649017333984375, 0.0021114349365234375, 0.0625, -0.012176513671875, 0.0215911865234375, 0.0103912353515625, -0.03289794921875, -0.016876220703125, 0.02020263671875, -0.042724609375, -0.0020542144775390625, -0.0244903564453125, 0.042327880859375, -0.041107177734375, 0.00396728515625, -0.032958984375, -0.004955291748046875, -0.00342559814453125, 0.002277374267578125, -0.01322174072265625, -0.050933837890625, 0.0113372802734375, -0.00811767578125, -0.0010280609130859375, -0.00582122802734375, 0.0040435791015625, -0.037139892578125, -0.027557373046875, 0.0347900390625, -0.0026531219482421875, -0.052978515625, -0.00603485107421875, -0.0006914138793945312, -0.0167388916015625, 0.010467529296875, 0.037994384765625, 0.055572509765625, -0.0299835205078125, 0.07476806640625, -0.01983642578125, 0.01465606689453125, 0.0220794677734375, 0.0364990234375, 0.0269775390625, -0.051727294921875, 0.007106781005859375, 0.014007568359375, 0.016571044921875, -0.0238494873046875, -0.0308685302734375, 0.036468505859375, 0.031707763671875, -0.035797119140625, -0.017486572265625, 0.004154205322265625, 0.00434112548828125, -0.021881103515625, -0.0124969482421875, -0.02215576171875, -0.0307464599609375, -0.01477813720703125, 0.038818359375, 0.03704833984375, 0.0034122467041015625, 0.0108642578125, 0.0157318115234375, -0.0181884765625, -0.00949859619140625, -0.01512908935546875, -0.023406982421875, -0.03875732421875, -0.004878997802734375, 0.028106689453125, -0.0038623809814453125, -0.01123046875, -0.02996826171875, -0.00287628173828125, -0.02825927734375, -0.011810302734375, 0.06488037109375, -0.029937744140625, 0.04046630859375, -0.0115203857421875, -0.043548583984375, -0.01212310791015625, 0.0103759765625, 0.058807373046875, 0.04949951171875, -0.0191802978515625, -0.0243988037109375, -0.0276641845703125, -0.016326904296875, 0.03118896484375, 0.013397216796875, -0.0014123916625976562, 0.0100250244140625, -0.00445556640625, 0.0219879150390625, -0.005352020263671875, 0.0020503997802734375, -0.01100921630859375, 0.02215576171875, 0.00864410400390625, 0.05950927734375, -0.032196044921875, 0.03851318359375, -0.00569915771484375, 0.0278472900390625, -0.01727294921875, 0.0227813720703125, 0.0301361083984375, -0.0231475830078125, -0.0020751953125, -0.0728759765625, -0.0071563720703125, -0.028167724609375, 0.0418701171875, 0.04736328125, 0.005886077880859375, 0.007617950439453125, -0.00493621826171875, -0.025299072265625, -0.0023040771484375, -0.035736083984375, 0.043609619140625, -0.0170745849609375, 0.0025539398193359375, -0.0163116455078125, -0.042999267578125, 0.0118560791015625, 0.009796142578125, 0.0211029052734375, 0.032073974609375, -0.04718017578125, 0.021820068359375, 0.05584716796875, -0.033416748046875, 0.0009641647338867188, 0.026824951171875, 0.0207061767578125, 0.027069091796875, -0.01178741455078125, 0.0233612060546875, 0.00511932373046875, -0.0220794677734375, -0.0018291473388671875, 0.0078887939453125, 0.00960540771484375, -0.0193634033203125, 0.01058197021484375, 0.010345458984375, -0.00994110107421875, 0.032135009765625, 0.06597900390625, 0.07879638671875, -0.074462890625, -0.0031280517578125, 0.005588531494140625, -0.07281494140625, 0.00733184814453125, 0.009246826171875, -0.01309967041015625, -0.022369384765625, 0.00777435302734375, -0.03143310546875, -0.0194549560546875, -0.00579833984375, -0.00902557373046875, -0.00666046142578125, 0.00399017333984375, 0.057952880859375, 0.0165252685546875, -0.089599609375, 0.0029697418212890625, 0.057403564453125, -0.03961181640625, -0.00977325439453125, -0.0001150965690612793, 0.007297515869140625, -0.0210723876953125, -0.0628662109375, -0.0005478858947753906, -0.01274871826171875, -0.00638580322265625, 0.0287933349609375, 0.032684326171875, 0.025115966796875, 0.039764404296875, 0.0308837890625, -0.0248565673828125, 0.01125335693359375, 0.01178741455078125, 0.054534912109375, -0.01019287109375, 0.00555419921875, 0.06085205078125, -0.038604736328125, -0.004795074462890625, -0.0111541748046875, 0.036834716796875, -0.01204681396484375, 0.031494140625, 0.033538818359375, 0.036712646484375, -0.044708251953125, 0.02764892578125, 0.062225341796875, -0.009429931640625, -0.01169586181640625, 0.0025730133056640625, -0.034515380859375, 0.00669097900390625, -0.0204925537109375, -0.0019369125366210938, 0.029541015625, -0.01082611083984375, -0.0833740234375, 0.054931640625, 0.046234130859375, 0.03076171875, 0.0159912109375, 0.00350189208984375, -0.039886474609375, -0.032318115234375, -0.0177001953125, 0.018157958984375, 0.0027637481689453125, -0.000038504600524902344, -0.01727294921875, -0.005817413330078125, -0.00597381591796875, 0.0309295654296875, 0.01006317138671875, 0.0037937164306640625, -0.0224456787109375, -0.0005459785461425781, 0.032562255859375, 0.032989501953125, -0.003692626953125, 0.015716552734375, 0.0335693359375, 0.029296875, 0.05975341796875, -0.0355224609375, 0.038177490234375, -0.041259765625, 0.049224853515625, 0.06597900390625, 0.01483154296875, 0.006069183349609375, -0.0147247314453125, -0.0145111083984375, -0.01690673828125, 0.0004730224609375, -0.0030117034912109375, -0.002605438232421875, -0.002460479736328125, 0.0264739990234375, -0.0268096923828125, -0.013519287109375, -0.056365966796875, -0.0052642822265625, 0.00634002685546875, -0.0174713134765625, 0.007198333740234375, 0.065673828125, 0.0161895751953125, -0.007633209228515625, 0.035797119140625, 0.0223388671875, 0.02252197265625, 0.01265716552734375, 0.028656005859375, 0.01355743408203125, 0.010650634765625, -0.0268402099609375, 0.08441162109375, 0.022064208984375, 0.022369384765625, -0.054046630859375, -0.0083770751953125, 0.0162353515625, 0.01390838623046875, -0.01430511474609375, -0.006549835205078125, 0.005771636962890625, -0.044952392578125, -0.020416259765625, -0.024993896484375, 0.0100860595703125, 0.038818359375, 0.0194854736328125, 0.01342010498046875, 0.0206451416015625, -0.06689453125, -0.00907135009765625, -0.033203125, -0.0023860931396484375, -0.03204345703125, 0.04840087890625, 0.04522705078125, 0.03179931640625, -0.01465606689453125, -0.0242919921875, -0.00247955322265625, 0.01084136962890625, 0.0074920654296875, -0.00315093994140625, -0.006702423095703125, 0.00701141357421875, 0.006710052490234375, 0.01049041748046875, 0.00414276123046875, 0.005496978759765625, 0.0135498046875, 0.032073974609375, -0.00035262107849121094, -0.01526641845703125, 0.04046630859375, -0.00568389892578125, 0.0296173095703125, -0.033355712890625, 0.021697998046875, -0.012451171875, -0.01442718505859375, -0.0265960693359375, 0.006793975830078125, 0.0260162353515625, -0.043914794921875, 0.061065673828125, -0.0162353515625, 0.00872802734375, -0.006923675537109375, -0.042938232421875, 0.0211029052734375, -0.0237884521484375, -0.037139892578125, -0.0013027191162109375, -0.006839752197265625, -0.0011968612670898438, -0.006603240966796875, -0.0012350082397460938, -0.00844573974609375, 0.045379638671875, 0.0221099853515625, -0.0220489501953125, 0.0268096923828125, 0.044952392578125, -0.02374267578125, -0.02667236328125, 0.0443115234375, -0.0258026123046875, 0.007091522216796875, -0.017547607421875, 0.0028896331787109375, 0.06463623046875, 0.0187530517578125, 0.0189971923828125, -0.0367431640625, 0.0303955078125, 0.007801055908203125, 0.039031982421875, -0.0264739990234375, 0.0131072998046875, 0.03656005859375, 0.0074462890625, 0.027679443359375, -0.032012939453125, -0.0014410018920898438, 0.0028228759765625, 0.022918701171875, -0.0231170654296875, -0.007160186767578125, -0.058441162109375, 0.04351806640625, 0.043609619140625, 0.0821533203125, 0.0009093284606933594, -0.0172576904296875, -0.06549072265625, -0.02410888671875, 0.06146240234375, 0.0537109375, -0.01531219482421875, 0.042205810546875, 0.050537109375, -0.019378662109375, 0.03460693359375, -0.0509033203125, 0.047882080078125, 0.034759521484375, 0.017486572265625, 0.0199127197265625, -0.0209197998046875, -0.027191162109375, 0.0200653076171875, -0.0033969879150390625, -0.01413726806640625, -0.007183074951171875, -0.0157470703125, -0.01557159423828125, 0.03863525390625, 0.0204315185546875, -0.025299072265625, 0.0150299072265625, 0.04461669921875, -0.047149658203125, 0.021331787109375, -0.0030078887939453125, -0.0261993408203125, -0.026397705078125, -0.015045166015625, -0.0103302001953125, -0.00885009765625, -0.06964111328125, -0.040191650390625, -0.05810546875, 0.01403045654296875, -0.027862548828125, 0.059967041015625, -0.09393310546875, 0.00347137451171875, -0.00533294677734375, -0.00279998779296875, 0.01702880859375, -0.023162841796875, 0.02203369140625, -0.03533935546875, -0.04364013671875, -0.045562744140625, 0.0271148681640625, -0.07135009765625, 0.02685546875, 0.033966064453125, -0.02825927734375, 0.0167694091796875, 0.02850341796875, 0.0272216796875, 0.08013916015625, -0.0008625984191894531, -0.06292724609375, -0.043731689453125, 0.016571044921875, 0.0171966552734375, -0.03265380859375, 0.0050048828125, -0.06158447265625, -0.001560211181640625, 0.0159149169921875, -0.0193328857421875, 0.01461029052734375, -0.035919189453125, -0.059295654296875, 0.037261962890625, 0.0001646280288696289, -0.0294952392578125, -0.01314544677734375, -0.0059814453125, -0.0309600830078125, 0.03997802734375, 0.012359619140625, -0.00485992431640625, -0.00540924072265625, 0.042755126953125, 0.0238494873046875, -0.01258087158203125, 0.05010986328125, -0.034912109375, -0.030120849609375, -0.005706787109375, -0.005359649658203125, 0.00894927978515625, -0.0235443115234375, 0.015289306640625, 0.00867462158203125, 0.0229034423828125, -0.0140838623046875, -0.012786865234375, 0.006298065185546875, 0.006404876708984375, 0.021453857421875, -0.04034423828125, -0.0031986236572265625, -0.023712158203125, 0.020599365234375, -0.0280609130859375, -0.0003027915954589844, -0.007694244384765625, 0.01116943359375, 0.0132293701171875, -0.0037784576416015625, 0.01483154296875, 0.006557464599609375, -0.0521240234375, -0.0277557373046875, 0.02020263671875, 0.020660400390625, 0.018524169921875, 0.03033447265625, 0.00414276123046875, -0.006839752197265625, 0.04388427734375, -0.0066986083984375, -0.038482666015625, -0.007480621337890625, 0.0540771484375, -0.039520263671875, -0.019439697265625, -0.00901031494140625, 0.014739990234375, 0.01242828369140625, -0.0178680419921875, -0.033447265625, -0.00201416015625, -0.0195770263671875, 0.006988525390625, -0.0080413818359375, 0.024017333984375, -0.01404571533203125, 0.02117919921875, -0.027191162109375, 0.031341552734375, 0.01294708251953125, 0.050628662109375, -0.02935791015625, 0.047607421875, 0.038604736328125, -0.0015344619750976562, -0.0285797119140625, 0.05999755859375, 0.0132904052734375, 0.0019207000732421875, -0.02960205078125, 0.01468658447265625, 0.0157928466796875, -0.029693603515625, 0.0086212158203125, 0.0098724365234375, -0.035064697265625, -0.005420684814453125, -0.006011962890625, -0.0070343017578125, -0.02362060546875, 0.003414154052734375 ]
14958a7b12cbccb427abce092ffa1440c9256726
Wordpress Stackexchange Q: Are there ways to make the Gutenberg editor wider? And the HTML-block higher? I am new to the Gutenberg editor. Previously I used the Classic editor (plugin) when editing WordPress. The editor area "resized" according to the browser window. With the Gutenberg approach I get a very narrow area to edit in. When I use the HTML-block all I get is a 890px wide and 250px high area with scrollbars. I feel claustrophobic! Are there some way to get around this? Similar question but with no good answers: Why is the new Gutenberg editor so narrow, and how to make it wider? A: You have to enqueue first the style editor css function legit_block_editor_styles() { wp_enqueue_style( 'legit-editor-styles', get_theme_file_uri( '/style-editor.css' ), false, '2.3', 'all' );} add_action( 'enqueue_block_editor_assets', 'legit_block_editor_styles' ); Then you have to create that style-editor.css file inside your theme and then add this inside that file: .wp-block { max-width: 100%;}
Q: Are there ways to make the Gutenberg editor wider? And the HTML-block higher? I am new to the Gutenberg editor. Previously I used the Classic editor (plugin) when editing WordPress. The editor area "resized" according to the browser window. With the Gutenberg approach I get a very narrow area to edit in. When I use the HTML-block all I get is a 890px wide and 250px high area with scrollbars. I feel claustrophobic! Are there some way to get around this? Similar question but with no good answers: Why is the new Gutenberg editor so narrow, and how to make it wider? A: You have to enqueue first the style editor css function legit_block_editor_styles() { wp_enqueue_style( 'legit-editor-styles', get_theme_file_uri( '/style-editor.css' ), false, '2.3', 'all' );} add_action( 'enqueue_block_editor_assets', 'legit_block_editor_styles' ); Then you have to create that style-editor.css file inside your theme and then add this inside that file: .wp-block { max-width: 100%;} A: If it helps anyone we have developed a free light-weight plugin that lets you control the "Wide width" setting in the Gutenberg block editor and also adds some other optional visual enhancements to make the block edges easier to see. To control the "Wide width" setting the plugin enqueues this admin style where [variable] is set in the plugin's settings: .wp-block-columns.block-editor-block-list__block.wp-block.block-editor-block-list__layout{max-width:[variable]px!important;} and also we: add_theme_support( 'align-wide' ); The plugin is: https://wordpress.org/plugins/blocksolid/ A: Here is what I did: functions.php /* Editor styles EXTENDED */ add_action('admin_enqueue_scripts', 'load_admin_style'); function load_admin_style() { wp_enqueue_style('admin_css', get_stylesheet_directory_uri() .'/gutenberg-styles-extra-wide.css' ); } gutenberg-styles-extra-wide.css /*-------------------------------------------------------------- # 1.0 - Editor --------------------------------------------------------------*/ body.block-editor-page .edit-post-visual-editor .editor-post-title__block, body.block-editor-page .edit-post-visual-editor .editor-default-block-appender, body.block-editor-page .edit-post-visual-editor .editor-block-list__block { max-width: 1200px; } /* HTML-block */ .wp-block-html .block-editor-plain-text { max-height: 700px; font-size: 14px; resize: both; } Since I am using a child-theme I use get_stylesheet_directory_uri() in functions.php. (get_template_directory_uri() otherwise) I also wanted to have more space in the HTML-block. Thanks for answers and suggestions Tom and Juan. Takes some time to get used to the Gutenberg editor! A: A variation on the used action: add_action( 'enqueue_block_editor_assets', 'custom_gutenberg_editor_stylesheet' ); function custom_gutenberg_editor_stylesheet() { wp_enqueue_style( 'custom-gutenberg-stylesheet', [your css path] . '/gutenberg-styles.css', array(), wp_get_theme()->get( 'Version' ), 'all' ); } then .wp-block { max-width: 1024px; // whatever } A: My solution was to just add this to your functions.php file: add_action('admin_head', 'admin_styles'); function admin_styles() { echo '<style> .wp-block {max-width: 720px;} .wp-block[data-align="wide"] {max-width: 1280px;} </style>'; } A: Try this CSS inside your theme, functions.php: // Wider sidebar on gutenberg backend function my_wider_sidebar() { echo ' <style> .interface-complementary-area{ width: 450px; } </style> '; } add_action('admin_head', 'my_wider_sidebar');
wordpress
{ "language": "en", "length": 411, "provenance": "stackexchange_00019.jsonl.gz:501357", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/359092" }
[ -0.08380126953125, -0.0205230712890625, -0.06964111328125, 0.07562255859375, -0.04693603515625, -0.046630859375, 0.0018711090087890625, -0.01506805419921875, 0.00948333740234375, 0.0703125, -0.02105712890625, 0.0019521713256835938, 0.02618408203125, -0.00550079345703125, -0.031097412109375, -0.013458251953125, 0.0217437744140625, -0.0261688232421875, 0.009063720703125, -0.018463134765625, 0.0035190582275390625, -0.0107269287109375, -0.00909423828125, 0.05548095703125, 0.0152435302734375, -0.016204833984375, 0.0765380859375, -0.0192108154296875, 0.021240234375, -0.0188446044921875, 0.0389404296875, -0.01256561279296875, 0.0280609130859375, 0.0272369384765625, -0.0709228515625, 0.027313232421875, 0.033172607421875, -0.01531982421875, -0.02520751953125, 0.057373046875, 0.03363037109375, -0.0200958251953125, -0.01983642578125, -0.01222991943359375, -0.0228729248046875, -0.0149993896484375, 0.0180511474609375, -0.035736083984375, 0.0052642822265625, 0.005828857421875, -0.0032176971435546875, 0.01922607421875, 0.0233612060546875, -0.0131072998046875, -0.00643157958984375, -0.01751708984375, -0.046630859375, 0.0162353515625, -0.00423431396484375, 0.027740478515625, 0.0298004150390625, 0.039794921875, -0.0022487640380859375, 0.0219268798828125, 0.00736236572265625, -0.00913238525390625, 0.01294708251953125, 0.01229095458984375, 0.0177764892578125, 0.0216217041015625, -0.0078887939453125, -0.0048370361328125, 0.0195465087890625, -0.06756591796875, 0.00481414794921875, 0.038726806640625, -0.037322998046875, -0.027801513671875, 0.03857421875, -0.045623779296875, -0.0110931396484375, -0.0013856887817382812, -0.01142120361328125, -0.045501708984375, 0.0193023681640625, -0.0012054443359375, -0.028228759765625, 0.003803253173828125, 0.0287322998046875, -0.02264404296875, 0.00824737548828125, -0.034515380859375, -0.02484130859375, 0.042938232421875, 0.0139007568359375, -0.05023193359375, 0.00844573974609375, -0.039794921875, 0.01556396484375, 0.00313568115234375, 0.047332763671875, -0.07696533203125, 0.08392333984375, -0.01151275634765625, 0.0107269287109375, 0.04339599609375, -0.0266265869140625, 0.07086181640625, 0.07733154296875, 0.0250701904296875, 0.040557861328125, 0.0015516281127929688, -0.034454345703125, 0.0006113052368164062, -0.01074981689453125, 0.01507568359375, -0.053558349609375, 0.03662109375, -0.0267486572265625, 0.040435791015625, 0.00499725341796875, 0.032684326171875, 0.04132080078125, 0.0078887939453125, -0.02239990234375, 0.0033397674560546875, 0.00957489013671875, -0.07061767578125, 0.00487518310546875, -0.0037403106689453125, -0.0223541259765625, 0.025390625, 0.0347900390625, 0.0220947265625, -0.001796722412109375, -0.0099639892578125, 0.01470184326171875, -0.0180816650390625, -0.032135009765625, -0.0018625259399414062, -0.0321044921875, 0.01169586181640625, 0.0322265625, -0.059173583984375, -0.0158843994140625, -0.00803375244140625, 0.0293731689453125, 0.0221405029296875, -0.04327392578125, -0.0579833984375, 0.0229034423828125, -0.001903533935546875, 0.035675048828125, 0.0306243896484375, 0.0081787109375, -0.0175628662109375, 0.09796142578125, -0.053436279296875, -0.026336669921875, -0.061553955078125, 0.0019044876098632812, 0.0179595947265625, 0.05047607421875, -0.0509033203125, -0.037017822265625, -0.035736083984375, -0.064697265625, -0.009002685546875, 0.03558349609375, -0.0201263427734375, 0.039093017578125, -0.0214996337890625, 0.0209503173828125, -0.017364501953125, -0.0235443115234375, 0.000518798828125, -0.0205078125, -0.034759521484375, 0.0292510986328125, 0.03265380859375, 0.00738525390625, -0.0006055831909179688, 0.041534423828125, 0.003795623779296875, -0.008087158203125, -0.04364013671875, -0.0229949951171875, -0.006870269775390625, 0.055572509765625, 0.0236663818359375, -0.03826904296875, -0.03521728515625, -0.023101806640625, -0.02923583984375, -0.004360198974609375, 0.0159759521484375, 0.0004372596740722656, 0.023468017578125, 0.004192352294921875, -0.00212860107421875, 0.017364501953125, -0.066162109375, 0.051727294921875, -0.0372314453125, -0.066650390625, -0.017791748046875, -0.0322265625, 0.032623291015625, 0.040985107421875, -0.0025768280029296875, -0.0121002197265625, -0.031463623046875, 0.00498199462890625, -0.0164337158203125, -0.040496826171875, 0.02142333984375, 0.029052734375, 0.056365966796875, 0.020416259765625, 0.0146331787109375, 0.048828125, -0.0111541748046875, 0.035614013671875, 0.037750244140625, 0.05047607421875, -0.014434814453125, -0.014373779296875, -0.030670166015625, 0.00984954833984375, 0.0195465087890625, -0.07958984375, 0.017425537109375, 0.056396484375, 0.06396484375, 0.0085601806640625, -0.001766204833984375, 0.050201416015625, -0.038818359375, 0.01263427734375, 0.01251220703125, 0.043609619140625, -0.01220703125, -0.036468505859375, -0.0413818359375, 0.01434326171875, -0.02392578125, 0.0241851806640625, -0.03424072265625, -0.0263824462890625, -0.032806396484375, -0.01029205322265625, -0.0101470947265625, 0.038970947265625, -0.03839111328125, 0.00862884521484375, 0.031524658203125, 0.007488250732421875, 0.0081634521484375, -0.030792236328125, 0.0204010009765625, 0.01306915283203125, 0.004405975341796875, -0.036834716796875, 0.0007066726684570312, 0.038482666015625, -0.00949859619140625, 0.044647216796875, 0.03448486328125, -0.03375244140625, 0.0081634521484375, 0.0271759033203125, 0.0273590087890625, 0.014251708984375, 0.0204315185546875, -0.0009918212890625, -0.0001386404037475586, -0.03314208984375, -0.00504302978515625, 0.033233642578125, 0.00963592529296875, -0.04803466796875, 0.005321502685546875, -0.041259765625, -0.0189971923828125, -0.032958984375, -0.04571533203125, 0.0191802978515625, -0.01259613037109375, 0.0185089111328125, 0.0187835693359375, 0.0294189453125, 0.035614013671875, -0.01111602783203125, 0.038543701171875, 0.00969696044921875, -0.010040283203125, 0.062469482421875, -0.045440673828125, 0.04022216796875, -0.010345458984375, 0.09454345703125, 0.06268310546875, -0.0260162353515625, 0.0134735107421875, -0.01116943359375, -0.01357269287109375, -0.01056671142578125, -0.0100555419921875, -0.03778076171875, -0.03936767578125, -0.038818359375, -0.00811004638671875, 0.03515625, -0.0182342529296875, 0.0350341796875, 0.00299072265625, -0.0243072509765625, 0.037017822265625, -0.00865936279296875, 0.055389404296875, -0.049591064453125, -0.12310791015625, -0.039947509765625, -0.0177764892578125, -0.0780029296875, 0.033294677734375, 0.018951416015625, 0.008758544921875, 0.012451171875, -0.0229339599609375, -0.0501708984375, -0.0325927734375, -0.067138671875, 0.0010700225830078125, -0.0123138427734375, 0.0003905296325683594, 0.00820159912109375, -0.01763916015625, -0.0289154052734375, -0.034454345703125, -0.03167724609375, -0.036407470703125, -0.0166778564453125, -0.049163818359375, 0.0293731689453125, -0.037750244140625, -0.017059326171875, 0.013702392578125, -0.0077362060546875, 0.006320953369140625, -0.00930023193359375, -0.00786590576171875, 0.00269317626953125, 0.00260162353515625, 0.0092926025390625, -0.001735687255859375, -0.00902557373046875, -0.0513916015625, -0.0307769775390625, -0.0855712890625, 0.032562255859375, -0.00475311279296875, 0.0026493072509765625, 0.0095672607421875, -0.01409912109375, -0.023345947265625, 0.0114288330078125, 0.0112152099609375, 0.0283660888671875, 0.02423095703125, 0.039215087890625, -0.0005731582641601562, -0.00923919677734375, -0.015838623046875, -0.00795745849609375, -0.041107177734375, -0.0162353515625, -0.039794921875, 0.027374267578125, -0.0278472900390625, 0.00360870361328125, -0.004108428955078125, -0.006542205810546875, -0.021392822265625, -0.006122589111328125, 0.05999755859375, 0.0078582763671875, 0.035369873046875, -0.03265380859375, -0.039398193359375, -0.01039886474609375, 0.06494140625, -0.007381439208984375, -0.015960693359375, 0.04608154296875, 0.0247650146484375, -0.04888916015625, -0.01287841796875, -0.060821533203125, -0.00228118896484375, -0.052337646484375, 0.034912109375, 0.0119781494140625, -0.037750244140625, -0.026123046875, 0.04290771484375, -0.05340576171875, -0.00920867919921875, 0.0238494873046875, -0.01438140869140625, -0.01192474365234375, 0.050018310546875, -0.016448974609375, 0.0119781494140625, -0.005321502685546875, -0.029022216796875, -0.0963134765625, -0.016326904296875, -0.0256805419921875, 0.07000732421875, -0.0298004150390625, 0.07049560546875, -0.05718994140625, 0.046295166015625, -0.00016808509826660156, 0.03167724609375, 0.0195465087890625, 0.0194854736328125, 0.041778564453125, -0.00634002685546875, 0.02935791015625, -0.02001953125, 0.01617431640625, -0.0220184326171875, -0.0401611328125, 0.0275115966796875, -0.0478515625, 0.00641632080078125, -0.025177001953125, -0.0124359130859375, -0.0660400390625, -0.047454833984375, -0.061676025390625, -0.0171051025390625, -0.010711669921875, -0.0228729248046875, -0.051605224609375, -0.08056640625, 0.06756591796875, 0.0215911865234375, 0.03167724609375, -0.0013246536254882812, 0.07684326171875, -0.0007205009460449219, -0.035858154296875, -0.017669677734375, 0.0017375946044921875, 0.01497650146484375, 0.036041259765625, 0.059722900390625, 0.0018548965454101562, 0.004131317138671875, 0.05230712890625, 0.00446319580078125, 0.0038852691650390625, -0.0271453857421875, 0.07891845703125, -0.0096893310546875, -0.02227783203125, 0.024749755859375, -0.0228729248046875, 0.0003075599670410156, 0.0110015869140625, -0.0019588470458984375, -0.004177093505859375, 0.0016717910766601562, 0.013702392578125, 0.0192718505859375, -0.01322174072265625, -0.0191802978515625, -0.00592041015625, -0.01424407958984375, -0.0017862319946289062, 0.07098388671875, 0.041046142578125, -0.01221466064453125, 0.043731689453125, 0.0693359375, -0.0007443428039550781, 0.0005846023559570312, -0.030792236328125, -0.032257080078125, 0.0100250244140625, -0.0012807846069335938, -0.0155487060546875, 0.0272979736328125, 0.021881103515625, -0.005558013916015625, 0.01377105712890625, -0.0035991668701171875, -0.07281494140625, 0.001529693603515625, 0.00473785400390625, -0.0195159912109375, -0.0122528076171875, 0.03436279296875, 0.0219573974609375, -0.0362548828125, -0.00042247772216796875, 0.0169525146484375, -0.040985107421875, -0.05389404296875, -0.022064208984375, -0.0268402099609375, -0.01038360595703125, 0.024627685546875, -0.0095367431640625, -0.00389862060546875, 0.00807952880859375, -0.0131988525390625, 0.0202484130859375, -0.0003902912139892578, 0.01129150390625, 0.0213470458984375, 0.004810333251953125, 0.00807952880859375, -0.02911376953125, -0.004878997802734375, -0.00988006591796875, -0.034210205078125, -0.0066375732421875, 0.0282135009765625, -0.02825927734375, 0.0082550048828125, 0.0341796875, -0.00958251953125, -0.01540374755859375, 0.01047515869140625, -0.035430908203125, -0.045013427734375, -0.00844573974609375, 0.021087646484375, 0.022003173828125, -0.0003998279571533203, -0.0165557861328125, -0.0018129348754882812, -0.01849365234375, 0.0092315673828125, 0.0144500732421875, -0.0361328125, 0.011932373046875, 0.0010061264038085938, -0.020965576171875, 0.02313232421875, -0.0157318115234375, -0.04803466796875, -0.08831787109375, 0.0202178955078125, -0.001987457275390625, 0.053680419921875, -0.00908660888671875, -0.036590576171875, -0.035888671875, 0.0482177734375, -0.057373046875, 0.0211944580078125, -0.00995635986328125, -0.031646728515625, 0.0099945068359375, -0.02801513671875, -0.039276123046875, -0.0258026123046875, -0.060150146484375, -0.02947998046875, -0.0220947265625, 0.027191162109375, 0.007843017578125, 0.00478363037109375, -0.0086212158203125, -0.0214080810546875, 0.01184844970703125, 0.042022705078125, 0.0030956268310546875, 0.045440673828125, -0.016265869140625, 0.013702392578125, 0.0163726806640625, -0.00567626953125, -0.02081298828125, -0.0232696533203125, 0.00445556640625, -0.00775146484375, 0.001811981201171875, -0.028533935546875, -0.025115966796875, -0.00890350341796875, -0.016448974609375, 0.0189361572265625, 0.0254974365234375, -0.0017099380493164062, 0.01381683349609375, -0.039825439453125, -0.00800323486328125, -0.029449462890625, 0.037139892578125, -0.050140380859375, -0.005893707275390625, -0.0090789794921875, -0.007236480712890625, 0.03948974609375, -0.0019273757934570312, 0.00237274169921875, -0.004917144775390625, -0.00809478759765625, -0.006290435791015625, 0.0172882080078125, 0.0206146240234375, -0.00943756103515625, 0.02386474609375, 0.0157318115234375, 0.0161590576171875, 0.021728515625, 0.0181121826171875, -0.01194000244140625, -0.005634307861328125, -0.0097503662109375, 0.04412841796875, 0.0252838134765625, -0.006427764892578125, 0.020904541015625, 0.00879669189453125, 0.015045166015625, 0.035369873046875, 0.02972412109375, 0.08209228515625, -0.05133056640625, 0.01629638671875, 0.04248046875, -0.050384521484375, -0.0113372802734375, -0.004364013671875, -0.0029144287109375, -0.029266357421875, 0.044097900390625, -0.01690673828125, -0.011688232421875, 0.0233001708984375, -0.01369476318359375, 0.0020046234130859375, -0.0203704833984375, 0.057220458984375, 0.030181884765625, -0.037628173828125, 0.038421630859375, 0.0034580230712890625, 0.041748046875, -0.018707275390625, 0.00954437255859375, -0.0114593505859375, -0.01508331298828125, -0.036468505859375, -0.0016183853149414062, 0.00600433349609375, -0.0035266876220703125, 0.030120849609375, 0.0034580230712890625, -0.00933074951171875, 0.03741455078125, -0.0200958251953125, 0.01451873779296875, -0.009552001953125, -0.0012331008911132812, 0.0033893585205078125, -0.0184783935546875, 0.0179290771484375, -0.01003265380859375, -0.0114288330078125, 0.005970001220703125, -0.004398345947265625, -0.01548004150390625, 0.0031147003173828125, 0.03302001953125, 0.079345703125, -0.042694091796875, -0.022735595703125, 0.04193115234375, -0.009002685546875, -0.01335906982421875, 0.0013980865478515625, 0.0197906494140625, -0.04986572265625, -0.0175323486328125, 0.01300811767578125, -0.0299224853515625, -0.00492095947265625, 0.004398345947265625, -0.050262451171875, 0.034698486328125, 0.03466796875, -0.0099945068359375, -0.0098114013671875, 0.0197296142578125, -0.04364013671875, -0.00843048095703125, 0.01177215576171875, 0.00965118408203125, 0.0125885009765625, -0.07012939453125, 0.0157928466796875, 0.0127410888671875, -0.033660888671875, 0.0023975372314453125, 0.01068115234375, -0.004703521728515625, -0.04095458984375, -0.018402099609375, 0.015472412109375, 0.037200927734375, 0.00838470458984375, 0.0389404296875, 0.007701873779296875, -0.0121917724609375, 0.000019371509552001953, -0.01239776611328125, 0.0243988037109375, -0.0689697265625, -0.0190582275390625, 0.0174713134765625, -0.0033092498779296875, -0.0169677734375, 0.027008056640625, 0.0164642333984375, -0.01398468017578125, 0.0008916854858398438, 0.0167999267578125, -0.058074951171875, -0.0180206298828125, 0.033966064453125, 0.0350341796875, -0.0927734375, -0.049072265625, -0.0384521484375, 0.0262451171875, 0.0155029296875, -0.054473876953125, -0.029266357421875, -0.0183258056640625, 0.0060882568359375, -0.00787353515625, -0.040863037109375, 0.03765869140625, 0.01367950439453125, 0.0253143310546875, -0.00804901123046875, -0.0034275054931640625, -0.059051513671875, 0.0112152099609375, 0.001750946044921875, 0.0063018798828125, -0.0300140380859375, -0.040191650390625, -0.0016889572143554688, -0.004276275634765625, 0.0118865966796875, -0.014068603515625, 0.0012388229370117188, 0.0157928466796875, 0.033172607421875, -0.00025653839111328125, -0.0298919677734375, -0.00330352783203125, 0.0118255615234375, 0.00601959228515625, 0.0024471282958984375, 0.0152435302734375, -0.016754150390625, -0.057220458984375, 0.0020542144775390625, 0.006618499755859375, 0.0335693359375, 0.03619384765625, 0.04718017578125, 0.0631103515625, -0.01025390625, -0.045867919921875, -0.006153106689453125, -0.01007843017578125, 0.0426025390625, -0.035797119140625, 0.031890869140625, 0.0158538818359375, 0.059722900390625, -0.01438140869140625, 0.0196533203125, 0.022369384765625, 0.0251007080078125, 0.0073699951171875, -0.02264404296875, -0.042572021484375, -0.0300445556640625, -0.0094451904296875, -0.051513671875, 0.0245513916015625, 0.01593017578125, 0.01061248779296875, 0.0015058517456054688, 0.023681640625, 0.049285888671875, 0.01131439208984375, 0.01253509521484375, 0.024505615234375, -0.0169525146484375, -0.018096923828125, -0.01490020751953125, -0.02691650390625, 0.036590576171875, -0.0374755859375, -0.0205230712890625, 0.002880096435546875, 0.01690673828125, -0.0025730133056640625, 0.0270538330078125, -0.0192413330078125, 0.04827880859375, 0.0025959014892578125, -0.006580352783203125, 0.0187835693359375, -0.011016845703125, 0.0377197265625, 0.07525634765625, 0.0039520263671875, 0.03692626953125, -0.058258056640625, -0.052093505859375, -0.0196533203125, 0.054168701171875, -0.031707763671875, 0.1072998046875, -0.0450439453125, 0.0002560615539550781, 0.04034423828125, -0.0011577606201171875, 0.027618408203125, 0.029510498046875, 0.01122283935546875, 0.025390625, 0.0211029052734375, -0.0418701171875, -0.04913330078125, -0.006072998046875, 0.0343017578125, -0.0194549560546875, -0.0016469955444335938, -0.0019683837890625, 0.006744384765625, 0.00036835670471191406, 0.01094818115234375, -0.01812744140625, -0.024322509765625, -0.0010089874267578125, 0.025787353515625, 0.0011205673217773438, -0.0069732666015625, -0.0262603759765625, 0.051910400390625, 0.02435302734375, 0.0123291015625, 0.0206756591796875, -0.042877197265625, 0.033111572265625, 0.030364990234375, -0.032928466796875, -0.0195465087890625, 0.0200653076171875, -0.0029888153076171875, 0.0350341796875, 0.0038509368896484375, 0.04095458984375, 0.026702880859375, -0.0110931396484375, 0.0262298583984375, 0.020782470703125, 0.0287017822265625, -0.031829833984375, 0.0129547119140625, 0.05560302734375, -0.0050811767578125, -0.0055694580078125, 0.04534912109375, 0.0008525848388671875, -0.0179443359375, -0.0211334228515625, -0.00006496906280517578, -0.0251007080078125, -0.0582275390625, -0.0623779296875, 0.029388427734375, 0.00862884521484375, -0.00550079345703125, -0.052764892578125, 0.0272369384765625, -0.0092315673828125, 0.050048828125, -0.005863189697265625, 0.006893157958984375, -0.0061798095703125, 0.0255584716796875, -0.01654052734375, -0.032623291015625, -0.0328369140625, 0.03448486328125, -0.032440185546875, 0.00550079345703125, 0.0234832763671875, -0.0166168212890625, 0.00945281982421875, 0.0002834796905517578, 0.034210205078125, 0.042327880859375, -0.026336669921875, 0.00605010986328125, 0.044219970703125, 0.007419586181640625, -0.034423828125, -0.060546875, -0.004547119140625, -0.0114593505859375, 0.0247650146484375, 0.037353515625, -0.03173828125, -0.010772705078125, -0.053253173828125, -0.09344482421875, -0.040069580078125, 0.033355712890625, -0.064208984375, -0.005420684814453125, 0.00333404541015625, -0.006832122802734375, -0.00011515617370605469, -0.01267242431640625, 0.03814697265625, 0.0029010772705078125, 0.0126495361328125, -0.02447509765625, 0.01171875, 0.022247314453125, -0.053955078125, 0.01233673095703125, 0.00047397613525390625, 0.03289794921875, -0.0244293212890625, -0.06341552734375, 0.0087127685546875, -0.006099700927734375, 0.00899505615234375, -0.00884246826171875, -0.034454345703125, 0.04974365234375, 0.017822265625, 0.01337432861328125, -0.012664794921875, -0.0303497314453125, -0.0079498291015625, 0.0439453125, 0.0498046875, 0.006938934326171875, -0.0255126953125, 0.04937744140625, 0.01515960693359375, -0.016693115234375, -0.001743316650390625, -0.00115203857421875, -0.034210205078125, -0.045501708984375, 0.00557708740234375, -0.010894775390625, 0.0220489501953125, -0.00917816162109375, -0.021484375, -0.00688934326171875, -0.032989501953125, -0.0148773193359375, -0.083740234375, -0.00624847412109375, 0.0712890625, -0.046722412109375, -0.0210113525390625, 0.007434844970703125, 0.010406494140625, 0.01168060302734375, -0.01418304443359375, -0.050140380859375, -0.00399017333984375, -0.052215576171875, 0.0202484130859375, -0.03619384765625, 0.054962158203125, -0.046051025390625, 0.028533935546875, -0.0191650390625, -0.0240325927734375, -0.01088714599609375, -0.047088623046875, -0.0166015625, 0.021942138671875, -0.004119873046875, 0.06390380859375, -0.0108489990234375, 0.0114288330078125, -0.0236663818359375, 0.038970947265625, 0.0158538818359375, -0.024627685546875, 0.0189666748046875, -0.01090240478515625, 0.01439666748046875, 0.0170135498046875, 0.044769287109375, -0.03692626953125, 0.0018472671508789062, 0.00047707557678222656, 0.04156494140625, 0.0034999847412109375 ]
229c57564b57a003f5cc695a85fd16c59ac5fc54
Wordpress Stackexchange Q: Add extra parameter in A: You can use script_loader_tag filter to fulfill your requirement. add below code in your active theme's functions.php file. it will add extra parameter in your script tag. function add_attribute_to_script_tag($tag, $handle) { # add script handles to the array below $scripts_to_defer = array('wpfrank-ptbw-pinit-js'); foreach($scripts_to_defer as $defer_script) { if ($defer_script === $handle) { return str_replace(' src', ' async defer data-pin-hover="true" src', $tag); } } return $tag; } add_filter('script_loader_tag', 'add_attribute_to_script_tag', 10, 2);
Q: Add extra parameter in A: You can use script_loader_tag filter to fulfill your requirement. add below code in your active theme's functions.php file. it will add extra parameter in your script tag. function add_attribute_to_script_tag($tag, $handle) { # add script handles to the array below $scripts_to_defer = array('wpfrank-ptbw-pinit-js'); foreach($scripts_to_defer as $defer_script) { if ($defer_script === $handle) { return str_replace(' src', ' async defer data-pin-hover="true" src', $tag); } } return $tag; } add_filter('script_loader_tag', 'add_attribute_to_script_tag', 10, 2); A: I revised the answer once more because I recently noticed how the Twenty Twenty developers use the script_loader_tag hook to add async and defer to the <script> tag for the theme scripts. * *In twentytwenty_theme_support() in functions.php, lines #139 & #140: $loader = new TwentyTwenty_Script_Loader(); add_filter( 'script_loader_tag', array( $loader, 'filter_script_loader_tag' ), 10, 2 ); *In twentytwenty_register_scripts() in functions.php, lines #208 & #209: wp_enqueue_script( 'twentytwenty-js', get_template_directory_uri() . '/assets/js/index.js', array(), $theme_version, false ); wp_script_add_data( 'twentytwenty-js', 'async', true ); *And in the TwentyTwenty_Script_Loader class: public function filter_script_loader_tag( $tag, $handle ) { foreach ( [ 'async', 'defer' ] as $attr ) { if ( ! wp_scripts()->get_data( $handle, $attr ) ) { continue; } ... } return $tag; } So what I'm trying to say/suggest, is that you should probably better off use the wp_script_add_data() to add/register the custom HTML attributes (e.g. async) for your scripts and use the wp_scripts()->get_data() to check if the <script> tag should be added with the custom HTML attributes, without having to manually specify the handle (e.g. your wpfrank-ptbw-pinit-js). And here's an example based on the above approach, where I'm registering a list of custom or extra HTML attributes for a script using wp_script_add_data( '<handle>', 'html_attrs', [ list here ] ). Additionally, I'm using PHP's DOMDocument for a more precise result, although str_replace() or preg_replace() would also do. add_action( 'wp_enqueue_scripts', 'my_register_scripts' ); function my_register_scripts() { wp_enqueue_script( 'wpfrank-ptbw-pinit-js', PTBW_PLUGIN_URL . 'assets/js/pinit.js', array( 'jquery' ), '', true ); wp_script_add_data( 'wpfrank-ptbw-pinit-js', 'html_attrs', [ 'async' => 'async', 'defer' => true, 'data-pin-hover' => 'true', ] ); } add_filter( 'script_loader_tag', 'my_filter_script_loader_tag', 10, 2 ); function my_filter_script_loader_tag( $tag, $handle ) { $attrs = wp_scripts()->get_data( $handle, 'html_attrs' ); // Bail if the script doesn't have any registered custom HTML attrs. if ( empty( $attrs ) || ! is_array( $attrs ) ) { return $tag; } $dom = new DOMDocument; //$tag = mb_convert_encoding( $tag, 'HTML-ENTITIES', 'UTF-8' ); $dom->loadHTML( $tag, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD ); $node = $dom->getElementsByTagName( 'script' )[0]; foreach ( $attrs as $key => $value ) { $node->setAttribute( $key, $value ); } return $dom->saveHTML(); } A: In addition of Chetan Vaghela answer, you can use a switch statement, only for performance and customization related purposes: function add_attribute_to_script_tag($tag, $handle) { switch($handle){ case 'wpfrank-ptbw-pinit-js': return str_replace(' src', ' async defer data-pin-hover="true" src', $tag); default: return $tag; } } add_filter('script_loader_tag', 'add_attribute_to_script_tag', 10, 2);
wordpress
{ "language": "en", "length": 457, "provenance": "stackexchange_00019.jsonl.gz:501502", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/359599" }
[ 0.08807373046875, 0.007015228271484375, 0.01629638671875, -0.0858154296875, 0.039215087890625, -0.0157318115234375, 0.0308380126953125, -0.007221221923828125, -0.0308685302734375, -0.0006690025329589844, 0.004364013671875, 0.0240325927734375, -0.0250244140625, -0.034912109375, 0.04058837890625, -0.033721923828125, 0.03521728515625, -0.023651123046875, 0.002597808837890625, -0.0110931396484375, 0.01776123046875, 0.0195465087890625, -0.01131439208984375, 0.081787109375, -0.01165771484375, -0.021026611328125, 0.04437255859375, -0.01416778564453125, -0.002292633056640625, -0.0292816162109375, 0.007259368896484375, 0.00797271728515625, -0.0103759765625, 0.0511474609375, -0.021392822265625, 0.03533935546875, 0.08160400390625, 0.007091522216796875, 0.021453857421875, 0.06048583984375, 0.0274505615234375, -0.005603790283203125, -0.01340484619140625, 0.05517578125, -0.048004150390625, -0.04168701171875, 0.0338134765625, 0.00366973876953125, 0.028472900390625, -0.01226043701171875, -0.000732421875, -0.01435089111328125, 0.01332855224609375, 0.011749267578125, -0.0350341796875, -0.017974853515625, -0.0516357421875, 0.045318603515625, 0.0157012939453125, 0.094482421875, 0.0162811279296875, 0.0202178955078125, -0.036834716796875, -0.0728759765625, -0.015655517578125, -0.0012865066528320312, 0.0151214599609375, -0.0142822265625, 0.0283966064453125, -0.0102081298828125, 0.01727294921875, 0.007266998291015625, -0.004451751708984375, -0.007099151611328125, -0.00464630126953125, -0.0012340545654296875, 0.022064208984375, 0.00936126708984375, 0.00901031494140625, 0.01218414306640625, 0.03778076171875, -0.032562255859375, 0.044464111328125, 0.018035888671875, -0.0180206298828125, 0.02001953125, -0.001194000244140625, -0.00601959228515625, -0.0228271484375, 0.016845703125, -0.01371002197265625, -0.007843017578125, -0.0295562744140625, 0.01544189453125, 0.004852294921875, -0.024017333984375, -0.00699615478515625, 0.0183868408203125, 0.00572967529296875, 0.050079345703125, 0.0018472671508789062, -0.041473388671875, 0.06646728515625, -0.06854248046875, -0.003662109375, 0.0709228515625, 0.0160980224609375, 0.05474853515625, 0.0182952880859375, 0.002471923828125, 0.027374267578125, -0.023345947265625, 0.0011396408081054688, 0.0312347412109375, -0.07012939453125, 0.005035400390625, -0.0102386474609375, -0.041961669921875, -0.0293731689453125, -0.0003859996795654297, -0.005229949951171875, 0.026519775390625, -0.03472900390625, 0.004428863525390625, -0.004024505615234375, -0.031524658203125, -0.0000073909759521484375, 0.005462646484375, -0.01261138916015625, 0.02294921875, 0.00408172607421875, 0.0037841796875, 0.00385284423828125, 0.0256805419921875, -0.0181732177734375, -0.0035991668701171875, 0.057281494140625, -0.0216827392578125, -0.0011968612670898438, 0.012725830078125, 0.01476287841796875, -0.0302734375, -0.031646728515625, 0.0034885406494140625, 0.031097412109375, -0.0206298828125, 0.0011348724365234375, 0.0251312255859375, 0.0070648193359375, 0.01025390625, 0.03472900390625, -0.0211029052734375, 0.01425933837890625, 0.0296478271484375, -0.036834716796875, 0.0190277099609375, -0.0233306884765625, 0.007770538330078125, -0.0210113525390625, -0.007381439208984375, -0.02130126953125, -0.0021820068359375, -0.00986480712890625, -0.05078125, -0.032745361328125, -0.01959228515625, 0.0097503662109375, 0.006015777587890625, 0.019378662109375, 0.0677490234375, -0.01523590087890625, -0.02227783203125, 0.0080413818359375, 0.00665283203125, -0.0350341796875, 0.005611419677734375, 0.002826690673828125, 0.0673828125, 0.0258636474609375, -0.05499267578125, -0.03143310546875, -0.059844970703125, 0.1240234375, -0.046875, -0.0765380859375, 0.04083251953125, -0.0089263916015625, 0.09161376953125, 0.04400634765625, 0.0119476318359375, 0.016754150390625, -0.03192138671875, -0.061737060546875, 0.0239410400390625, -0.0214385986328125, -0.010650634765625, -0.01290130615234375, 0.001575469970703125, -0.003726959228515625, -0.00995635986328125, -0.0094451904296875, 0.01259613037109375, 0.007480621337890625, -0.0080413818359375, -0.00342559814453125, 0.006427764892578125, -0.0186309814453125, 0.041656494140625, 0.0213470458984375, 0.008453369140625, 0.00791168212890625, 0.00807952880859375, -0.037139892578125, 0.047393798828125, -0.0067291259765625, 0.0105438232421875, -0.0002582073211669922, 0.07684326171875, 0.007068634033203125, 0.0149078369140625, 0.0082855224609375, -0.033782958984375, 0.0246429443359375, -0.003200531005859375, 0.031951904296875, 0.018341064453125, -0.033172607421875, -0.0181884765625, 0.035308837890625, 0.01959228515625, -0.00807952880859375, 0.043731689453125, 0.022613525390625, 0.031341552734375, -0.031494140625, -0.037384033203125, -0.0189971923828125, -0.06304931640625, 0.0184783935546875, 0.058135986328125, 0.03546142578125, 0.054107666015625, 0.0057830810546875, 0.0293731689453125, 0.0295867919921875, -0.051849365234375, 0.0175628662109375, 0.00676727294921875, -0.0196685791015625, -0.00481414794921875, 0.026641845703125, -0.007495880126953125, 0.01209259033203125, -0.044647216796875, 0.01568603515625, 0.031097412109375, -0.010986328125, 0.0093231201171875, -0.0153961181640625, -0.0121307373046875, 0.0123138427734375, 0.00852203369140625, -0.0167694091796875, 0.009033203125, 0.0265045166015625, 0.03070068359375, 0.03240966796875, 0.029144287109375, -0.053009033203125, 0.033843994140625, 0.0279388427734375, 0.01419830322265625, -0.011688232421875, 0.0242767333984375, -0.0093994140625, 0.0199127197265625, -0.0228729248046875, 0.009429931640625, -0.039459228515625, -0.002475738525390625, -0.01025390625, 0.0279998779296875, -0.0003612041473388672, -0.01088714599609375, -0.0295867919921875, -0.0270233154296875, 0.0211334228515625, 0.01015472412109375, -0.005641937255859375, -0.028839111328125, 0.026214599609375, -0.032562255859375, -0.0266265869140625, 0.01910400390625, -0.020751953125, -0.055999755859375, 0.0280609130859375, -0.018341064453125, 0.0086669921875, -0.00812530517578125, 0.09429931640625, 0.07855224609375, -0.02069091796875, 0.032806396484375, -0.001491546630859375, -0.00891876220703125, -0.0028705596923828125, 0.01153564453125, -0.00586700439453125, -0.017059326171875, -0.01025390625, 0.047210693359375, 0.0250091552734375, 0.028076171875, -0.032196044921875, -0.0557861328125, -0.033233642578125, 0.0007996559143066406, -0.11572265625, -0.0645751953125, 0.0714111328125, -0.057159423828125, 0.005565643310546875, 0.0025806427001953125, -0.032073974609375, -0.03875732421875, 0.047607421875, -0.007373809814453125, -0.06878662109375, 0.0006208419799804688, -0.028045654296875, -0.034149169921875, -0.01904296875, 0.052337646484375, -0.015960693359375, 0.0150909423828125, -0.0029125213623046875, 0.03271484375, -0.0006198883056640625, -0.0227813720703125, 0.0200653076171875, -0.0755615234375, -0.00714111328125, 0.01541900634765625, -0.0003833770751953125, -0.0679931640625, 0.0105438232421875, -0.017364501953125, 0.00415802001953125, 0.0174102783203125, 0.01146697998046875, 0.0184478759765625, -0.030242919921875, -0.0017757415771484375, -0.00647735595703125, 0.028411865234375, 0.0225067138671875, -0.016357421875, 0.0007910728454589844, -0.048248291015625, 0.0234527587890625, 0.0005106925964355469, 0.0099029541015625, -0.005069732666015625, -0.030517578125, -0.04473876953125, 0.0024242401123046875, 0.00678253173828125, 0.04840087890625, -0.003231048583984375, 0.01380157470703125, -0.003711700439453125, -0.0126190185546875, 0.01256561279296875, 0.0335693359375, -0.0273895263671875, 0.0085601806640625, -0.016082763671875, 0.0173492431640625, -0.01093292236328125, 0.0223846435546875, 0.01114654541015625, 0.0059814453125, -0.0296630859375, 0.017669677734375, 0.01464080810546875, -0.0224609375, 0.02362060546875, -0.01259613037109375, 0.01837158203125, -0.02227783203125, 0.01506805419921875, -0.0296478271484375, -0.0219268798828125, 0.00267791748046875, 0.016143798828125, -0.017242431640625, -0.0272674560546875, -0.007465362548828125, -0.0037364959716796875, -0.047332763671875, 0.02362060546875, -0.028411865234375, 0.01800537109375, -0.0443115234375, 0.0021076202392578125, -0.0162200927734375, -0.060272216796875, 0.050689697265625, -0.036041259765625, -0.0029277801513671875, 0.032379150390625, -0.022705078125, 0.0075836181640625, -0.029327392578125, -0.0140380859375, -0.05682373046875, 0.004611968994140625, -0.08160400390625, 0.07647705078125, 0.047607421875, -0.039825439453125, -0.00984954833984375, 0.0256805419921875, 0.006015777587890625, 0.024993896484375, 0.0231170654296875, -0.012725830078125, 0.043914794921875, 0.0172882080078125, 0.017181396484375, -0.0099029541015625, -0.000797271728515625, -0.01470947265625, -0.057098388671875, -0.02581787109375, 0.0012292861938476562, 0.02130126953125, 0.041595458984375, -0.031829833984375, -0.040008544921875, -0.042144775390625, 0.0233917236328125, -0.0181427001953125, 0.01470184326171875, -0.02496337890625, 0.0007538795471191406, 0.01303863525390625, 0.021881103515625, 0.00461578369140625, 0.01108551025390625, -0.00521087646484375, 0.052215576171875, 0.0176239013671875, -0.0113677978515625, 0.02276611328125, 0.03515625, 0.016082763671875, -0.014984130859375, 0.0290679931640625, 0.01525115966796875, 0.0055389404296875, -0.009002685546875, -0.01140594482421875, 0.0230712890625, -0.0228729248046875, 0.0274505615234375, 0.0284271240234375, 0.004367828369140625, 0.021728515625, 0.05694580078125, -0.0435791015625, -0.0112762451171875, -0.03179931640625, -0.0258331298828125, -0.022491455078125, 0.041656494140625, -0.0092315673828125, 0.057464599609375, -0.03936767578125, -0.00009864568710327148, 0.001323699951171875, 0.038360595703125, 0.039520263671875, 0.0305633544921875, 0.007099151611328125, -0.0147705078125, 0.0017042160034179688, 0.004581451416015625, -0.01354217529296875, -0.0139617919921875, -0.0070343017578125, 0.0299224853515625, 0.0069732666015625, 0.023956298828125, -0.0104217529296875, 0.01220703125, -0.035552978515625, 0.0039520263671875, -0.013763427734375, -0.06488037109375, 0.01264190673828125, 0.0120086669921875, -0.0094146728515625, 0.0191802978515625, -0.0069427490234375, -0.002361297607421875, 0.0033626556396484375, 0.0108795166015625, 0.0179595947265625, -0.01503753662109375, 0.01020050048828125, 0.0031070709228515625, 0.0147857666015625, -0.0274505615234375, -0.0170440673828125, -0.01090240478515625, 0.0345458984375, -0.04010009765625, -0.00727081298828125, -0.0064697265625, -0.005619049072265625, 0.01374053955078125, 0.021881103515625, -0.0121307373046875, 0.00328826904296875, 0.0085296630859375, 0.0426025390625, -0.037017822265625, 0.0194244384765625, -0.01519775390625, 0.027557373046875, -0.005035400390625, -0.0244598388671875, 0.04022216796875, -0.0205078125, -0.0278778076171875, 0.017120361328125, 0.0276031494140625, -0.0322265625, -0.0264892578125, -0.040863037109375, -0.0069732666015625, 0.0288848876953125, -0.00037288665771484375, -0.006175994873046875, 0.0026111602783203125, -0.0015993118286132812, 0.027557373046875, -0.042205810546875, -0.00640106201171875, 0.019256591796875, 0.0129852294921875, -0.0059051513671875, -0.040557861328125, -0.0264739990234375, -0.02423095703125, -0.005252838134765625, 0.004619598388671875, 0.037139892578125, -0.0135650634765625, 0.03985595703125, -0.037628173828125, -0.01267242431640625, -0.03759765625, 0.0163726806640625, 0.03277587890625, 0.0111846923828125, -0.01153564453125, -0.01342010498046875, -0.0545654296875, -0.05963134765625, -0.06622314453125, -0.0258636474609375, -0.032806396484375, 0.00018966197967529297, 0.005474090576171875, 0.04913330078125, -0.0205230712890625, -0.02142333984375, 0.026214599609375, 0.011016845703125, 0.003925323486328125, 0.09149169921875, -0.027862548828125, 0.0189971923828125, -0.01163482666015625, -0.009063720703125, -0.026947021484375, -0.00876617431640625, 0.02581787109375, -0.0023746490478515625, 0.0193328857421875, -0.08782958984375, -0.0164794921875, -0.0265960693359375, -0.01271820068359375, 0.019866943359375, 0.0034580230712890625, 0.00196075439453125, 0.038787841796875, -0.0096282958984375, 0.0024394989013671875, 0.00698089599609375, 0.0255279541015625, -0.00830078125, 0.0270233154296875, 0.06219482421875, 0.01605224609375, 0.00945281982421875, -0.0250396728515625, -0.02398681640625, 0.0153656005859375, 0.01181793212890625, 0.01470184326171875, -0.0289764404296875, -0.07733154296875, 0.055877685546875, 0.047698974609375, -0.007537841796875, 0.02349853515625, -0.012176513671875, 0.01488494873046875, 0.0029163360595703125, 0.029388427734375, 0.03643798828125, -0.062286376953125, 0.0039215087890625, -0.0206146240234375, -0.0152587890625, -0.010589599609375, -0.00893402099609375, -0.003177642822265625, -0.0231170654296875, 0.0156707763671875, -0.002593994140625, 0.01702880859375, -0.01322174072265625, -0.017669677734375, -0.0233612060546875, -0.0053863525390625, -0.0010576248168945312, 0.006591796875, 0.0421142578125, -0.0020008087158203125, -0.00916290283203125, 0.0287628173828125, 0.0235748291015625, -0.0172576904296875, -0.0176544189453125, -0.0261688232421875, 0.0183868408203125, 0.001125335693359375, 0.007541656494140625, 0.0250244140625, 0.007534027099609375, 0.00039196014404296875, 0.00907135009765625, 0.008209228515625, -0.045745849609375, -0.06939697265625, -0.034759521484375, -0.00728607177734375, -0.0361328125, 0.004718780517578125, -0.0247344970703125, 0.042236328125, 0.0009899139404296875, 0.00501251220703125, -0.04443359375, -0.0208892822265625, -0.001781463623046875, 0.0018463134765625, -0.0225372314453125, 0.01271820068359375, 0.00606536865234375, 0.002231597900390625, 0.00908660888671875, -0.00830841064453125, -0.05438232421875, -0.005168914794921875, -0.008056640625, 0.025909423828125, 0.0031261444091796875, -0.035247802734375, 0.037628173828125, -0.00333404541015625, -0.032958984375, -0.0156402587890625, 0.007076263427734375, -0.1048583984375, -0.10687255859375, -0.00952911376953125, -0.1376953125, 0.0183563232421875, -0.01361083984375, -0.042694091796875, 0.122314453125, -0.004245758056640625, 0.007366180419921875, 0.004329681396484375, 0.07958984375, -0.03228759765625, 0.0390625, 0.007297515869140625, 0.02044677734375, -0.013916015625, 0.0059814453125, 0.00592041015625, 0.0164947509765625, 0.020263671875, 0.010101318359375, 0.01021575927734375, -0.00843048095703125, 0.00916290283203125, -0.0031280517578125, 0.031585693359375, 0.046600341796875, 0.01383209228515625, 0.01406097412109375, 0.001220703125, 0.0191650390625, -0.0105438232421875, -0.036102294921875, 0.0187530517578125, -0.049102783203125, -0.018341064453125, 0.036865234375, 0.0127410888671875, 0.00803375244140625, -0.0217437744140625, 0.02252197265625, -0.01849365234375, -0.007354736328125, 0.01450347900390625, 0.015869140625, 0.021087646484375, 0.04559326171875, -0.0026874542236328125, 0.0253448486328125, -0.08013916015625, 0.0170745849609375, 0.00719451904296875, -0.0156097412109375, 0.0227203369140625, 0.0750732421875, 0.0294342041015625, -0.0065765380859375, 0.0236358642578125, 0.0187530517578125, -0.0099639892578125, 0.00603485107421875, -0.00382232666015625, 0.0125274658203125, 0.037994384765625, 0.01617431640625, 0.04229736328125, 0.0169677734375, -0.00868988037109375, -0.01593017578125, -0.0024776458740234375, 0.0148468017578125, -0.00540924072265625, -0.01129913330078125, -0.01140594482421875, 0.005489349365234375, -0.055145263671875, -0.03509521484375, -0.041168212890625, 0.02728271484375, 0.0223236083984375, 0.034942626953125, -0.00641632080078125, 0.0113677978515625, -0.073974609375, 0.0147705078125, -0.055023193359375, 0.01010894775390625, 0.006618499755859375, 0.09527587890625, 0.02801513671875, 0.05438232421875, -0.042449951171875, -0.0487060546875, 0.0007476806640625, 0.0246429443359375, 0.032135009765625, -0.014984130859375, -0.0005793571472167969, -0.00623321533203125, 0.01561737060546875, 0.01302337646484375, 0.0038700103759765625, 0.00406646728515625, 0.01219940185546875, 0.0399169921875, -0.005207061767578125, 0.00469970703125, 0.07708740234375, -0.0018930435180664062, 0.058013916015625, -0.0166015625, 0.02142333984375, -0.005462646484375, -0.0037403106689453125, -0.0258941650390625, 0.0330810546875, 0.034027099609375, -0.00794219970703125, -0.00262451171875, 0.001026153564453125, -0.01422882080078125, 0.0139007568359375, 0.00907135009765625, 0.0389404296875, 0.0184326171875, -0.037689208984375, 0.0162811279296875, -0.052825927734375, -0.055328369140625, 0.0269317626953125, 0.044036865234375, -0.03411865234375, 0.030975341796875, 0.049713134765625, -0.03228759765625, -0.0079345703125, 0.04449462890625, 0.0181732177734375, 0.038238525390625, 0.03857421875, 0.0297698974609375, -0.01425933837890625, -0.0161285400390625, 0.01479339599609375, 0.0208892822265625, 0.0162353515625, 0.026824951171875, 0.0019741058349609375, 0.0228424072265625, 0.0271148681640625, -0.003582000732421875, 0.0223846435546875, 0.012939453125, -0.0195159912109375, -0.0011472702026367188, 0.0152740478515625, -0.015167236328125, -0.0576171875, 0.03216552734375, -0.0088653564453125, 0.025115966796875, 0.04937744140625, -0.0423583984375, 0.0172271728515625, 0.03240966796875, 0.043426513671875, -0.0177154541015625, -0.0465087890625, -0.0413818359375, -0.0023899078369140625, 0.01849365234375, 0.04083251953125, 0.00485992431640625, 0.014617919921875, 0.0343017578125, 0.026885986328125, 0.0023784637451171875, 0.03717041015625, 0.00893402099609375, 0.022552490234375, -0.043304443359375, 0.0112457275390625, 0.037445068359375, -0.024658203125, 0.0716552734375, -0.011505126953125, 0.057830810546875, 0.03350830078125, -0.01541900634765625, 0.022979736328125, 0.06854248046875, 0.06292724609375, -0.006710052490234375, 0.048980712890625, 0.020111083984375, -0.0080108642578125, 0.02447509765625, -0.004253387451171875, -0.0150909423828125, 0.029937744140625, -0.028289794921875, 0.0198822021484375, 0.0220947265625, -0.049224853515625, -0.06463623046875, -0.012054443359375, 0.0699462890625, 0.027191162109375, -0.0738525390625, 0.0263519287109375, -0.0175628662109375, 0.038726806640625, 0.0141754150390625, 0.01202392578125, -0.0181732177734375, -0.00272369384765625, -0.019989013671875, -0.058807373046875, -0.033203125, 0.07281494140625, -0.01125335693359375, 0.024810791015625, 0.04046630859375, -0.01953125, -0.0216217041015625, 0.031707763671875, -0.01465606689453125, 0.09814453125, -0.031158447265625, -0.01666259765625, 0.006076812744140625, 0.038055419921875, -0.0200958251953125, -0.08856201171875, -0.0229949951171875, -0.0129547119140625, 0.04132080078125, -0.0096893310546875, 0.005382537841796875, 0.023406982421875, -0.0291290283203125, -0.05218505859375, 0.0237579345703125, -0.0035991668701171875, -0.0282440185546875, -0.026947021484375, 0.0187225341796875, -0.002582550048828125, -0.022186279296875, -0.0211334228515625, -0.042144775390625, -0.0204620361328125, 0.02484130859375, 0.025146484375, 0.01004791259765625, 0.050811767578125, -0.01617431640625, -0.045166015625, -0.0144805908203125, -0.0218505859375, 0.03009033203125, -0.0009083747863769531, -0.00780487060546875, 0.03314208984375, 0.04852294921875, -0.01617431640625, -0.017669677734375, -0.005687713623046875, -0.034759521484375, 0.007770538330078125, -0.051361083984375, 0.00518035888671875, 0.00293731689453125, 0.08929443359375, -0.03240966796875, 0.006771087646484375, -0.031646728515625, -0.029937744140625, -0.0220184326171875, -0.01470947265625, -0.0005068778991699219, 0.0227813720703125, -0.049041748046875, 0.0277557373046875, 0.00911712646484375, 0.024932861328125, 0.005115509033203125, 0.04046630859375, 0.00908660888671875, -0.0235443115234375, 0.066650390625, 0.0091552734375, -0.10382080078125, -0.0283203125, 0.07855224609375, -0.037933349609375, -0.005268096923828125, 0.01303863525390625, 0.0250396728515625, 0.047882080078125, 0.0038623809814453125, -0.0355224609375, -0.038238525390625, 0.0211944580078125, 0.0253143310546875, -0.013092041015625, 0.032684326171875, 0.004302978515625, -0.00682830810546875, -0.0156402587890625, -0.0204315185546875, 0.00911712646484375, -0.03448486328125, -0.0114898681640625, -0.036163330078125, -0.026336669921875, 0.0294342041015625, -0.0479736328125, 0.0325927734375, -0.01641845703125, -0.00632476806640625, -0.0088043212890625, 0.031280517578125, 0.06451416015625, -0.00800323486328125, -0.0017518997192382812, 0.0076141357421875, -0.032501220703125, -0.031982421875, 0.007049560546875, -0.01137542724609375, 0.0008134841918945312, 0.01067352294921875 ]
5a631acd86c3153a24539e9425cbc8edb2594af7
Wordpress Stackexchange Q: The Block Editor: Disable "Color settings" in the specific block The "Pull Quote" block comes with the "Color settings" option which is located in the sidebar. I am aware that we can remove the style using wp.blocks.unregisterBlockStyle but is there a way to remove a specific control for a specific block. In this case, I am wondering if it's possible to remove the "Color settings" option just for the "Pull Quote" block.
Q: The Block Editor: Disable "Color settings" in the specific block The "Pull Quote" block comes with the "Color settings" option which is located in the sidebar. I am aware that we can remove the style using wp.blocks.unregisterBlockStyle but is there a way to remove a specific control for a specific block. In this case, I am wondering if it's possible to remove the "Color settings" option just for the "Pull Quote" block.
wordpress
{ "language": "en", "length": 73, "provenance": "stackexchange_00019.jsonl.gz:501520", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/359652" }
[ 0.0207977294921875, -0.0111846923828125, -0.0149078369140625, -0.01511383056640625, -0.01137542724609375, -0.042022705078125, 0.01690673828125, 0.00626373291015625, -0.0197296142578125, 0.0254364013671875, 0.01904296875, -0.026702880859375, -0.0102691650390625, -0.03656005859375, 0.0025844573974609375, -0.022125244140625, 0.0396728515625, 0.01172637939453125, 0.0188751220703125, -0.00583648681640625, -0.0031719207763671875, 0.00588226318359375, -0.01194000244140625, 0.0662841796875, 0.00847625732421875, -0.03302001953125, 0.1002197265625, -0.0169525146484375, 0.044525146484375, 0.002422332763671875, 0.0285186767578125, -0.054718017578125, 0.0122528076171875, 0.029144287109375, -0.02459716796875, 0.031768798828125, 0.0119171142578125, 0.005832672119140625, 0.01043701171875, 0.01047515869140625, 0.037353515625, -0.01788330078125, -0.062164306640625, 0.005970001220703125, -0.07147216796875, -0.005710601806640625, 0.0218963623046875, 0.0194549560546875, 0.048675537109375, 0.0261688232421875, -0.0482177734375, 0.0318603515625, -0.0350341796875, 0.0024280548095703125, -0.0199127197265625, -0.0408935546875, -0.03497314453125, 0.039642333984375, 0.0101470947265625, 0.050933837890625, 0.0201263427734375, 0.030181884765625, -0.0204315185546875, -0.0214691162109375, 0.021148681640625, -0.018035888671875, -0.0016870498657226562, 0.0213775634765625, -0.053741455078125, 0.032012939453125, 0.05474853515625, -0.0413818359375, -0.00534820556640625, -0.06402587890625, 0.0129852294921875, 0.0606689453125, -0.049285888671875, -0.0007405281066894531, 0.020751953125, -0.00930023193359375, 0.00568389892578125, -0.016021728515625, -0.0308990478515625, 0.0004100799560546875, 0.031463623046875, 0.0369873046875, -0.008697509765625, -0.0293121337890625, 0.00585174560546875, -0.0361328125, -0.0016422271728515625, 0.033935546875, -0.057586669921875, 0.01165008544921875, -0.023529052734375, -0.03045654296875, 0.0193939208984375, 0.0360107421875, -0.0168609619140625, -0.0000336766242980957, -0.01995849609375, -0.01300048828125, -0.01165771484375, -0.0212860107421875, 0.032379150390625, 0.02801513671875, -0.041412353515625, 0.00894927978515625, 0.058197021484375, 0.038665771484375, 0.01270294189453125, -0.00952911376953125, -0.003173828125, 0.0016689300537109375, -0.0489501953125, 0.0206146240234375, -0.016815185546875, -0.00992584228515625, -0.01279449462890625, 0.0189361572265625, 0.0279998779296875, 0.0699462890625, 0.0264739990234375, -0.02801513671875, -0.0295867919921875, -0.01047515869140625, -0.005157470703125, -0.0819091796875, -0.028167724609375, 0.02374267578125, -0.036468505859375, 0.01265716552734375, 0.0794677734375, 0.035491943359375, 0.0238494873046875, -0.0309295654296875, 0.038848876953125, 0.0197296142578125, -0.00701904296875, 0.0100250244140625, 0.00458526611328125, -0.0285186767578125, -0.009429931640625, -0.001392364501953125, -0.0158538818359375, 0.01194000244140625, 0.0090789794921875, 0.01568603515625, 0.004150390625, -0.04376220703125, 0.0034942626953125, -0.0382080078125, 0.01122283935546875, 0.0221710205078125, 0.03948974609375, -0.0177459716796875, 0.0592041015625, -0.0296173095703125, -0.0111083984375, -0.031097412109375, 0.05352783203125, -0.00921630859375, -0.0152740478515625, 0.10546875, 0.0263214111328125, 0.02789306640625, 0.038818359375, -0.0008826255798339844, 0.025848388671875, 0.0221405029296875, -0.06463623046875, -0.021392822265625, 0.037139892578125, 0.005641937255859375, -0.0321044921875, 0.0347900390625, 0.01004791259765625, 0.0006852149963378906, 0.0016241073608398438, 0.006267547607421875, -0.04425048828125, -0.053680419921875, 0.013641357421875, -0.034698486328125, -0.0307159423828125, 0.007476806640625, -0.01282501220703125, 0.0305938720703125, 0.0357666015625, 0.0077056884765625, -0.01125335693359375, -0.0020999908447265625, -0.0308685302734375, 0.026153564453125, 0.0007042884826660156, -0.02008056640625, -0.0418701171875, -0.011505126953125, -0.007568359375, -0.00995635986328125, 0.0206146240234375, -0.0298004150390625, 0.045867919921875, -0.04754638671875, -0.05609130859375, 0.018646240234375, -0.039337158203125, 0.051849365234375, -0.036407470703125, -0.00676727294921875, 0.006053924560546875, -0.053253173828125, 0.00040984153747558594, 0.00843048095703125, -0.00463104248046875, -0.0004253387451171875, -0.0008969306945800781, 0.03350830078125, 0.0104827880859375, 0.018646240234375, 0.0484619140625, -0.02685546875, 0.04327392578125, 0.03546142578125, 0.034637451171875, 0.0188140869140625, -0.0258026123046875, -0.016510009765625, 0.030914306640625, 0.0179595947265625, -0.0149078369140625, 0.0241851806640625, 0.0160980224609375, 0.0723876953125, 0.01031494140625, 0.01520538330078125, 0.053314208984375, -0.00836944580078125, -0.0001169443130493164, -0.006435394287109375, 0.038482666015625, -0.0082244873046875, -0.0164337158203125, -0.0379638671875, 0.035430908203125, -0.0080718994140625, 0.0297698974609375, -0.04718017578125, 0.0163726806640625, -0.01194000244140625, 0.0175323486328125, -0.0589599609375, 0.044464111328125, -0.01161956787109375, 0.0406494140625, -0.01125335693359375, -0.046234130859375, -0.0259552001953125, 0.0307769775390625, -0.0065155029296875, -0.00489044189453125, -0.025848388671875, 0.02337646484375, -0.020904541015625, 0.06494140625, -0.0081939697265625, 0.0413818359375, 0.018585205078125, -0.02508544921875, 0.0089263916015625, 0.0172119140625, -0.0233917236328125, -0.0201873779296875, 0.0399169921875, 0.052154541015625, 0.01161956787109375, -0.0027313232421875, -0.01727294921875, -0.05255126953125, 0.026885986328125, -0.01198577880859375, 0.044525146484375, 0.0251312255859375, -0.01052093505859375, -0.0323486328125, -0.08770751953125, 0.02374267578125, -0.00029540061950683594, 0.0062103271484375, 0.020599365234375, 0.04058837890625, -0.003993988037109375, -0.0274505615234375, 0.0211944580078125, -0.0227203369140625, -0.0229949951171875, 0.0125579833984375, -0.0633544921875, 0.0207672119140625, -0.042510986328125, 0.038726806640625, 0.0489501953125, -0.004901885986328125, -0.016571044921875, 0.0161895751953125, -0.050933837890625, 0.041107177734375, -0.009033203125, -0.01300811767578125, 0.004436492919921875, -0.0257720947265625, 0.0565185546875, 0.0152587890625, -0.058197021484375, 0.0270843505859375, -0.0033721923828125, -0.0181121826171875, -0.003078460693359375, -0.035552978515625, -0.003082275390625, 0.0301513671875, -0.034027099609375, 0.00337982177734375, -0.0185699462890625, -0.0211334228515625, -0.01459503173828125, -0.007030487060546875, 0.0004456043243408203, 0.032623291015625, -0.038726806640625, -0.034393310546875, -0.035491943359375, -0.0947265625, -0.00815582275390625, 0.0260772705078125, 0.02716064453125, 0.01096343994140625, 0.152587890625, 0.0277252197265625, -0.061614990234375, 0.018798828125, -0.080810546875, -0.038726806640625, 0.042572021484375, 0.03106689453125, -0.00550079345703125, 0.0167083740234375, 0.00948333740234375, 0.0150909423828125, 0.036590576171875, -0.048126220703125, -0.0308380126953125, -0.0186004638671875, 0.043243408203125, -0.0292205810546875, 0.047271728515625, 0.05072021484375, -0.0152130126953125, -0.03082275390625, -0.04876708984375, -0.0743408203125, -0.0018873214721679688, -0.0572509765625, 0.06182861328125, 0.0275726318359375, 0.020782470703125, 0.0100860595703125, 0.047760009765625, 0.0164947509765625, -0.0238189697265625, 0.0281829833984375, -0.04547119140625, 0.058135986328125, 0.01021575927734375, 0.038116455078125, -0.036224365234375, -0.01873779296875, -0.031951904296875, 0.0299072265625, -0.0213470458984375, -0.00948333740234375, -0.03619384765625, 0.0462646484375, -0.034759521484375, 0.0200347900390625, 0.004711151123046875, -0.038055419921875, 0.0037403106689453125, 0.0298919677734375, 0.04083251953125, 0.01042938232421875, -0.0017719268798828125, -0.0277252197265625, -0.0080108642578125, 0.0170745849609375, 0.0212249755859375, -0.042877197265625, -0.021820068359375, -0.0596923828125, 0.006023406982421875, -0.08306884765625, 0.02105712890625, -0.0077056884765625, -0.036895751953125, -0.028289794921875, -0.001674652099609375, -0.05682373046875, -0.0302581787109375, 0.03631591796875, 0.039825439453125, -0.035980224609375, -0.007904052734375, -0.031280517578125, -0.0301361083984375, -0.0243988037109375, 0.026336669921875, -0.0654296875, 0.0017347335815429688, -0.036163330078125, -0.0005292892456054688, -0.00879669189453125, 0.018218994140625, -0.006710052490234375, 0.047027587890625, 0.0020961761474609375, 0.0025424957275390625, 0.0214691162109375, 0.01441192626953125, -0.01108551025390625, -0.022064208984375, 0.0011758804321289062, -0.0285186767578125, 0.00022864341735839844, 0.04376220703125, -0.030059814453125, 0.0665283203125, 0.00394439697265625, 0.006805419921875, 0.045867919921875, -0.040740966796875, -0.0843505859375, -0.0215911865234375, -0.004314422607421875, -0.01055908203125, -0.0026149749755859375, -0.01016998291015625, -0.0069122314453125, -0.0638427734375, 0.0501708984375, 0.0104522705078125, -0.0106658935546875, -0.00943756103515625, 0.033935546875, 0.01119232177734375, -0.0316162109375, 0.028594970703125, 0.0062713623046875, 0.032806396484375, -0.05438232421875, 0.037109375, 0.039154052734375, 0.0009202957153320312, 0.006378173828125, -0.019775390625, 0.01690673828125, -0.05718994140625, 0.053924560546875, -0.00933074951171875, 0.006351470947265625, 0.0035610198974609375, -0.019775390625, 0.05078125, 0.0256195068359375, 0.04595947265625, -0.0156402587890625, 0.03619384765625, 0.001537322998046875, 0.0268096923828125, -0.06976318359375, -0.004985809326171875, -0.0379638671875, 0.00034499168395996094, 0.01027679443359375, 0.019622802734375, 0.047821044921875, -0.00445556640625, 0.02685546875, 0.00707244873046875, -0.0081024169921875, 0.037384033203125, -0.0033206939697265625, -0.00024008750915527344, 0.034820556640625, -0.0153350830078125, -0.0162200927734375, 0.0218963623046875, 0.01508331298828125, 0.00711822509765625, -0.042144775390625, -0.031829833984375, -0.07110595703125, -0.00882720947265625, -0.01209259033203125, 0.026702880859375, 0.01491546630859375, 0.0230865478515625, -0.00945281982421875, 0.022705078125, 0.02618408203125, -0.01216888427734375, -0.01067352294921875, -0.0016088485717773438, 0.04644775390625, 0.0120086669921875, 0.003810882568359375, 0.00907135009765625, 0.04412841796875, 0.031982421875, 0.01198577880859375, -0.036590576171875, -0.0005474090576171875, -0.004909515380859375, 0.007259368896484375, 0.0020198822021484375, 0.021575927734375, 0.0306243896484375, -0.049896240234375, 0.050201416015625, -0.0269317626953125, 0.002960205078125, 0.01386260986328125, 0.02191162109375, 0.021392822265625, 0.0007405281066894531, -0.00432586669921875, -0.0243988037109375, 0.00232696533203125, 0.028839111328125, 0.014129638671875, -0.0140228271484375, -0.0029926300048828125, -0.0160369873046875, -0.003612518310546875, -0.01169586181640625, 0.0201873779296875, -0.035369873046875, -0.01812744140625, -0.038482666015625, 0.01131439208984375, -0.0576171875, -0.0206146240234375, -0.00957489013671875, -0.022247314453125, -0.01123046875, -0.01151275634765625, -0.037750244140625, -0.04034423828125, 0.0019931793212890625, -0.0058135986328125, 0.016845703125, -0.02459716796875, 0.032440185546875, -0.0271453857421875, -0.005435943603515625, -0.049163818359375, 0.0010576248168945312, 0.06683349609375, 0.057281494140625, -0.0184783935546875, -0.0218658447265625, -0.018341064453125, -0.016387939453125, -0.061492919921875, -0.042083740234375, -0.0133819580078125, 0.007213592529296875, 0.00806427001953125, 0.027496337890625, -0.01338958740234375, -0.036102294921875, -0.032379150390625, 0.0328369140625, 0.041900634765625, 0.0650634765625, -0.01279449462890625, -0.0257720947265625, 0.019683837890625, 0.020111083984375, 0.009246826171875, -0.01218414306640625, 0.03851318359375, -0.0380859375, -0.017730712890625, -0.0110015869140625, 0.007801055908203125, 0.01538848876953125, 0.0208282470703125, -0.00473785400390625, 0.029571533203125, 0.0029315948486328125, 0.01053619384765625, -0.04412841796875, -0.0007061958312988281, -0.038482666015625, 0.040985107421875, -0.08782958984375, -0.0243377685546875, -0.020294189453125, -0.0006022453308105469, 0.0212554931640625, -0.02972412109375, -0.05914306640625, 0.037689208984375, 0.0106201171875, 0.0225677490234375, 0.020904541015625, 0.0138397216796875, -0.050445556640625, 0.015411376953125, 0.02252197265625, 0.044097900390625, 0.032318115234375, 0.05010986328125, 0.036651611328125, 0.005176544189453125, -0.02899169921875, 0.0137481689453125, 0.032196044921875, 0.0132598876953125, 0.006679534912109375, 0.029632568359375, -0.01262664794921875, 0.0236358642578125, 0.1026611328125, 0.08056640625, -0.1181640625, -0.005809783935546875, 0.00213623046875, -0.002593994140625, 0.054412841796875, 0.0126495361328125, -0.0250244140625, -0.039642333984375, 0.0362548828125, 0.0014982223510742188, -0.0013360977172851562, 0.028839111328125, 0.0001767873764038086, 0.003963470458984375, -0.0031681060791015625, 0.032257080078125, 0.0023441314697265625, -0.038787841796875, 0.007450103759765625, 0.0191497802734375, -0.0170745849609375, 0.0004401206970214844, 0.016204833984375, -0.00904083251953125, -0.0159149169921875, -0.037841796875, 0.0014514923095703125, -0.0318603515625, -0.02783203125, 0.0289306640625, 0.000614166259765625, -0.02178955078125, 0.031280517578125, -0.033447265625, 0.03656005859375, -0.002826690673828125, -0.0251007080078125, 0.00011211633682250977, -0.005496978759765625, 0.022674560546875, 0.006683349609375, -0.002254486083984375, 0.0214691162109375, -0.0090484619140625, -0.0236358642578125, 0.00560760498046875, 0.049774169921875, 0.0196075439453125, -0.0377197265625, -0.0196990966796875, 0.048309326171875, 0.012542724609375, -0.004444122314453125, 0.006671905517578125, -0.01396942138671875, -0.006343841552734375, 0.018463134765625, -0.01513671875, -0.0164947509765625, -0.0010385513305664062, 0.0144805908203125, -0.00562286376953125, 0.0704345703125, -0.038787841796875, -0.0034732818603515625, 0.0650634765625, 0.02783203125, -0.04833984375, -0.0005221366882324219, 0.0050506591796875, 0.0262908935546875, 0.0303802490234375, 0.0126800537109375, -0.00460052490234375, -0.0106658935546875, 0.01558685302734375, 0.047454833984375, 0.0687255859375, -0.0007066726684570312, 0.033294677734375, -0.037261962890625, 0.01873779296875, 0.07025146484375, -0.0191650390625, -0.0196075439453125, 0.0060577392578125, -0.0002894401550292969, -0.020538330078125, -0.01544952392578125, 0.0161590576171875, -0.04681396484375, -0.031829833984375, 0.023681640625, 0.0087432861328125, 0.02081298828125, 0.03460693359375, 0.01358795166015625, 0.0031299591064453125, 0.00644683837890625, 0.0204010009765625, -0.076416015625, -0.002513885498046875, 0.033233642578125, 0.0217742919921875, -0.089111328125, -0.049774169921875, -0.03582763671875, 0.048675537109375, 0.007579803466796875, -0.0156402587890625, -0.0096435546875, 0.01190948486328125, 0.045989990234375, -0.057403564453125, -0.0245208740234375, 0.003810882568359375, -0.021575927734375, -0.0164337158203125, 0.0199127197265625, 0.0295562744140625, 0.0228118896484375, 0.038360595703125, -0.036346435546875, -0.047821044921875, -0.0062255859375, -0.0308990478515625, 0.0297088623046875, 0.01212310791015625, 0.0003376007080078125, -0.0160369873046875, 0.001842498779296875, -0.10296630859375, -0.0233917236328125, -0.05621337890625, -0.01654052734375, 0.0268096923828125, 0.0287628173828125, -0.0088653564453125, -0.004199981689453125, -0.00893402099609375, -0.0411376953125, -0.0328369140625, 0.0176239013671875, 0.0254058837890625, 0.029022216796875, 0.009307861328125, 0.027801513671875, 0.0142822265625, -0.018035888671875, -0.051788330078125, 0.03350830078125, 0.0304107666015625, 0.0438232421875, -0.03717041015625, 0.02764892578125, 0.002197265625, 0.0290069580078125, 0.01971435546875, -0.0048675537109375, 0.0266571044921875, 0.0290374755859375, -0.006580352783203125, -0.0139923095703125, 0.001708984375, -0.0136871337890625, 0.05670166015625, -0.0309906005859375, 0.0259246826171875, -0.0037937164306640625, -0.0227508544921875, -0.0186767578125, -0.0038356781005859375, 0.045318603515625, 0.00475311279296875, 0.026092529296875, 0.01294708251953125, 0.025238037109375, 0.0034885406494140625, 0.01776123046875, -0.043304443359375, 0.044677734375, -0.06024169921875, -0.020751953125, 0.006374359130859375, -0.004688262939453125, 0.01397705078125, 0.024444580078125, -0.04534912109375, 0.059478759765625, 0.003429412841796875, -0.02703857421875, 0.02593994140625, -0.00794219970703125, 0.01093292236328125, -0.005641937255859375, -0.01201629638671875, -0.00823211669921875, -0.0296630859375, -0.018341064453125, -0.0018110275268554688, 0.018707275390625, 0.031494140625, 0.0104522705078125, 0.01959228515625, 0.027618408203125, 0.0249786376953125, 0.040985107421875, 0.00897979736328125, 0.034881591796875, -0.0289459228515625, 0.0526123046875, 0.058990478515625, -0.0382080078125, -0.035308837890625, 0.046661376953125, 0.012908935546875, 0.0130615234375, 0.04425048828125, -0.0167083740234375, -0.005023956298828125, -0.0207672119140625, 0.021240234375, -0.016021728515625, -0.0157928466796875, 0.01557159423828125, -0.00695037841796875, -0.0026531219482421875, 0.014617919921875, 0.049957275390625, 0.00988006591796875, 0.029449462890625, 0.0113525390625, 0.023345947265625, 0.005279541015625, 0.04364013671875, 0.0279083251953125, -0.0265960693359375, -0.052978515625, 0.01128387451171875, 0.009063720703125, 0.0005159378051757812, 0.0285491943359375, 0.0291900634765625, 0.0181121826171875, -0.008575439453125, -0.0086212158203125, -0.007335662841796875, 0.02154541015625, -0.0209197998046875, -0.0115203857421875, -0.007518768310546875, -0.006633758544921875, -0.032928466796875, 0.024810791015625, 0.00035381317138671875, -0.0241546630859375, -0.03643798828125, -0.004276275634765625, -0.0107421875, -0.035888671875, 0.016571044921875, -0.0014600753784179688, 0.027557373046875, 0.006687164306640625, -0.0467529296875, 0.05255126953125, -0.0232696533203125, 0.01100921630859375, -0.00029277801513671875, 0.0077972412109375, -0.0008778572082519531, 0.0225830078125, -0.036468505859375, -0.018768310546875, -0.016510009765625, 0.0305328369140625, -0.0092010498046875, -0.00514984130859375, 0.0281982421875, -0.0009098052978515625, 0.011566162109375, -0.0034637451171875, 0.002349853515625, 0.033172607421875, -0.0657958984375, 0.001049041748046875, 0.0335693359375, 0.01131439208984375, -0.045684814453125, -0.07537841796875, 0.0079193115234375, -0.0499267578125, 0.01232147216796875, -0.01296234130859375, -0.0272674560546875, -0.028472900390625, -0.059539794921875, -0.07037353515625, 0.0218048095703125, 0.00412750244140625, -0.035614013671875, 0.04730224609375, -0.0080108642578125, -0.0194244384765625, -0.01314544677734375, 0.0262298583984375, -0.0245513916015625, 0.004283905029296875, -0.0101318359375, 0.004062652587890625, 0.040130615234375, -0.0068206787109375, 0.0027446746826171875, -0.0232086181640625, 0.023590087890625, 0.018768310546875, 0.01097869873046875, -0.0399169921875, 0.023162841796875, -0.0159149169921875, 0.00814056396484375, -0.0291748046875, -0.01788330078125, 0.0035610198974609375, 0.0394287109375, 0.00919342041015625, 0.018524169921875, -0.01287841796875, 0.0233917236328125, 0.047027587890625, 0.051116943359375, 0.019256591796875, -0.03802490234375, -0.00397491455078125, -0.01491546630859375, 0.018951416015625, -0.041595458984375, -0.0029449462890625, -0.05401611328125, -0.04638671875, -0.0036754608154296875, -0.0178985595703125, 0.0270233154296875, -0.0024929046630859375, -0.026397705078125, -0.00743865966796875, -0.014373779296875, -0.019073486328125, -0.0904541015625, 0.00695037841796875, -0.004749298095703125, 0.01224517822265625, 0.021636962890625, -0.029022216796875, 0.0133056640625, 0.0145416259765625, 0.0271148681640625, -0.05316162109375, -0.0261077880859375, -0.0107421875, 0.05731201171875, -0.03533935546875, 0.0330810546875, -0.06402587890625, 0.02215576171875, 0.0080108642578125, -0.032958984375, 0.005950927734375, -0.07464599609375, -0.031951904296875, -0.004177093505859375, -0.0312042236328125, 0.0297698974609375, -0.01111602783203125, -0.031646728515625, -0.02978515625, 0.0301055908203125, -0.0006132125854492188, -0.01349639892578125, 0.01556396484375, 0.004077911376953125, 0.005786895751953125, 0.0248565673828125, 0.037689208984375, -0.03765869140625, 0.048370361328125, 0.04315185546875, 0.026580810546875, 0.0254669189453125 ]
e36c7c8f84f3ef9731f73d6a135bbdc9b77ec06f
Wordpress Stackexchange Q: Polylang - Remove slug of homepage in secondary language I have a website with polylang and can't seem to figure out how to remove the slug in the homepage of any language that is not the same one. For instance, I have example.com but in english its example.com/en/home. Is there a way to keep it at /en/ ? A: Well, I'm a moron. It's under Settings->URL Modifications... the 'The front page url contains the language code instead of the page name or page id' checkbox.
Q: Polylang - Remove slug of homepage in secondary language I have a website with polylang and can't seem to figure out how to remove the slug in the homepage of any language that is not the same one. For instance, I have example.com but in english its example.com/en/home. Is there a way to keep it at /en/ ? A: Well, I'm a moron. It's under Settings->URL Modifications... the 'The front page url contains the language code instead of the page name or page id' checkbox. A: Yes it is possible. For a more comprehensive answer, see: https://polylang.pro/doc/define-your-home-page-as-a-static-page/
wordpress
{ "language": "en", "length": 98, "provenance": "stackexchange_00019.jsonl.gz:501802", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/360586" }
[ 0.0003058910369873047, -0.006641387939453125, -0.00400543212890625, 0.005657196044921875, -0.007312774658203125, -0.0189666748046875, 0.020782470703125, -0.0309295654296875, -0.0066986083984375, 0.0248260498046875, 0.04266357421875, -0.0237274169921875, 0.035736083984375, -0.0601806640625, 0.03277587890625, 0.006404876708984375, 0.0248565673828125, 0.006969451904296875, 0.025604248046875, -0.0095672607421875, -0.01983642578125, 0.0020599365234375, 0.028961181640625, 0.00922393798828125, 0.019317626953125, -0.043548583984375, -0.0287017822265625, -0.0123443603515625, -0.0262603759765625, -0.0323486328125, 0.0137176513671875, 0.07830810546875, 0.0272674560546875, -0.0304107666015625, 0.022247314453125, -0.037841796875, 0.0005822181701660156, -0.0188751220703125, -0.00408172607421875, -0.02276611328125, 0.006801605224609375, -0.00983428955078125, -0.045074462890625, 0.037567138671875, -0.03582763671875, -0.0401611328125, -0.00372314453125, -0.030548095703125, 0.0200347900390625, 0.046783447265625, -0.01108551025390625, 0.00868988037109375, -0.0193634033203125, 0.0149383544921875, 0.00414276123046875, -0.00681304931640625, 0.01485443115234375, 0.0183563232421875, -0.0006318092346191406, 0.006519317626953125, -0.01129150390625, 0.061767578125, 0.005748748779296875, 0.0124969482421875, -0.044189453125, -0.005916595458984375, -0.041778564453125, 0.0032196044921875, -0.0416259765625, -0.046844482421875, 0.018310546875, -0.0233612060546875, 0.01983642578125, -0.01202392578125, -0.042938232421875, 0.00960540771484375, -0.04022216796875, -0.007343292236328125, 0.061004638671875, -0.0401611328125, -0.0107421875, -0.0509033203125, -0.04644775390625, -0.040252685546875, 0.0005822181701660156, -0.0300140380859375, -0.0189056396484375, 0.0022716522216796875, -0.04107666015625, 0.003192901611328125, -0.02301025390625, -0.002689361572265625, -0.0287017822265625, 0.0074920654296875, -0.00458526611328125, -0.0029048919677734375, 0.01137542724609375, -0.007572174072265625, -0.0199127197265625, -0.0216217041015625, 0.0082550048828125, -0.042236328125, -0.0013828277587890625, -0.0170745849609375, 0.0046234130859375, -0.016632080078125, 0.01019287109375, 0.024444580078125, 0.0550537109375, 0.0254364013671875, 0.0012903213500976562, 0.048919677734375, -0.016387939453125, -0.030914306640625, -0.024200439453125, 0.042510986328125, -0.015625, -0.033966064453125, -0.004673004150390625, -0.01511383056640625, -0.001239776611328125, 0.0178985595703125, 0.01154327392578125, -0.0401611328125, 0.01052093505859375, -0.0168304443359375, -0.0230865478515625, -0.0211029052734375, 0.02752685546875, 0.01230621337890625, -0.03271484375, 0.0036945343017578125, 0.0513916015625, 0.02978515625, 0.00069427490234375, -0.0153045654296875, 0.0031948089599609375, 0.002857208251953125, -0.00568389892578125, -0.0178680419921875, 0.04522705078125, -0.0008082389831542969, -0.006938934326171875, 0.0304107666015625, -0.019439697265625, -0.023193359375, -0.0185394287109375, 0.040130615234375, 0.03704833984375, -0.008697509765625, 0.019195556640625, -0.054656982421875, 0.04638671875, -0.005069732666015625, -0.0189056396484375, -0.0092926025390625, 0.0308380126953125, -0.0204925537109375, -0.0207977294921875, -0.0147857666015625, -0.050750732421875, -0.022125244140625, -0.0024433135986328125, -0.040496826171875, -0.035675048828125, 0.0099945068359375, 0.031768798828125, 0.0178375244140625, 0.02294921875, 0.0008111000061035156, 0.04205322265625, -0.000021576881408691406, -0.039093017578125, 0.0341796875, 0.03424072265625, 0.0214996337890625, -0.016387939453125, 0.0184173583984375, -0.036407470703125, 0.090087890625, 0.06182861328125, -0.026031494140625, -0.030181884765625, 0.04180908203125, -0.06671142578125, -0.0021533966064453125, -0.0031948089599609375, 0.031280517578125, 0.0528564453125, -0.0045013427734375, 0.0693359375, -0.0312042236328125, -0.059722900390625, 0.0304718017578125, -0.0188751220703125, 0.00618743896484375, -0.01546478271484375, 0.0044403076171875, -0.00799560546875, -0.0206146240234375, -0.0199737548828125, 0.01788330078125, -0.02313232421875, 0.0433349609375, -0.04278564453125, 0.01129150390625, -0.0261383056640625, 0.033355712890625, 0.00667572021484375, 0.029144287109375, 0.015228271484375, 0.0260467529296875, -0.039947509765625, -0.01093292236328125, -0.0340576171875, 0.01479339599609375, 0.0018634796142578125, 0.00569915771484375, 0.0224761962890625, 0.03521728515625, 0.0279083251953125, 0.0128326416015625, -0.012725830078125, -0.0191802978515625, 0.0015869140625, -0.0099334716796875, -0.045318603515625, -0.0272674560546875, -0.025787353515625, -0.02337646484375, -0.02239990234375, 0.087646484375, 0.004932403564453125, -0.0155487060546875, -0.04150390625, 0.02203369140625, 0.004604339599609375, -0.0211334228515625, -0.0202178955078125, 0.031707763671875, 0.01531982421875, 0.016937255859375, -0.0256500244140625, -0.0007982254028320312, 0.04571533203125, -0.025360107421875, -0.00984954833984375, 0.0101318359375, -0.0189361572265625, -0.002918243408203125, -0.01654052734375, 0.003665924072265625, 0.023834228515625, -0.04620361328125, 0.002185821533203125, 0.042083740234375, -0.0484619140625, -0.06243896484375, 0.0180206298828125, -0.00811767578125, 0.039947509765625, 0.0170440673828125, -0.00794219970703125, 0.01013946533203125, -0.0256195068359375, -0.01427459716796875, -0.0255584716796875, -0.00785064697265625, 0.0026683807373046875, -0.0288543701171875, 0.022796630859375, 0.005039215087890625, -0.005245208740234375, 0.0487060546875, 0.03399658203125, -0.031982421875, -0.015655517578125, -0.02197265625, -0.021026611328125, 0.017608642578125, 0.0033416748046875, 0.0869140625, 0.036346435546875, -0.026947021484375, -0.053985595703125, -0.05517578125, 0.0178070068359375, -0.005184173583984375, 0.0152130126953125, -0.006069183349609375, 0.00798797607421875, 0.0274505615234375, -0.028350830078125, 0.05126953125, 0.020599365234375, -0.0416259765625, 0.0207061767578125, -0.00545501708984375, 0.00002086162567138672, 0.0100860595703125, 0.045379638671875, 0.075927734375, 0.01218414306640625, -0.005489349365234375, 0.003986358642578125, -0.035552978515625, -0.01580810546875, -0.0118865966796875, -0.0218963623046875, 0.0208587646484375, -0.0748291015625, 0.03338623046875, -0.0013294219970703125, -0.03656005859375, -0.00609588623046875, -0.029449462890625, -0.00920867919921875, -0.0298919677734375, -0.06817626953125, -0.0550537109375, -0.0005064010620117188, 0.035919189453125, 0.0134735107421875, 0.048095703125, 0.0234222412109375, -0.029144287109375, 0.06414794921875, 0.0011806488037109375, 0.021575927734375, -0.0227203369140625, -0.03253173828125, -0.0511474609375, -0.05487060546875, -0.05950927734375, 0.00673675537109375, -0.005340576171875, 0.01317596435546875, 0.00710296630859375, -0.01497650146484375, -0.04241943359375, -0.00823974609375, 0.0548095703125, -0.001178741455078125, 0.00106048583984375, -0.047149658203125, -0.0088348388671875, 0.03216552734375, -0.0001558065414428711, 0.01025390625, 0.0023746490478515625, 0.0171661376953125, -0.0124053955078125, 0.007656097412109375, 0.003936767578125, 0.01422882080078125, -0.038116455078125, -0.01538848876953125, 0.00603485107421875, -0.01323699951171875, -0.0335693359375, -0.04888916015625, 0.0032176971435546875, -0.040557861328125, 0.048583984375, 0.0428466796875, -0.0176849365234375, 0.0171356201171875, 0.0159912109375, 0.00514984130859375, 0.006500244140625, 0.0296478271484375, -0.0171661376953125, 0.0296783447265625, -0.02325439453125, -0.01080322265625, -0.035736083984375, 0.07989501953125, 0.0217437744140625, 0.0024700164794921875, 0.04608154296875, 0.040740966796875, 0.0211944580078125, -0.00243377685546875, -0.0261688232421875, -0.0169830322265625, 0.044403076171875, 0.01568603515625, 0.0012731552124023438, 0.041900634765625, -0.031585693359375, 0.03717041015625, 0.0416259765625, -0.09320068359375, -0.026397705078125, 0.0206756591796875, 0.01425933837890625, 0.012542724609375, -0.0062713623046875, -0.04315185546875, -0.038543701171875, -0.01312255859375, 0.023529052734375, 0.00791168212890625, 0.0208587646484375, -0.0548095703125, 0.0711669921875, -0.025482177734375, -0.01465606689453125, 0.05108642578125, -0.031402587890625, 0.0038585662841796875, -0.002140045166015625, 0.0013427734375, -0.02447509765625, -0.037628173828125, -0.00433349609375, -0.033233642578125, -0.0023632049560546875, 0.0021514892578125, 0.0177459716796875, -0.01157379150390625, -0.0211334228515625, -0.0220489501953125, 0.03076171875, -0.0169525146484375, 0.0232696533203125, -0.011444091796875, -0.0091552734375, 0.051177978515625, 0.06689453125, -0.0106048583984375, 0.0286865234375, 0.025054931640625, 0.034393310546875, -0.0654296875, 0.06903076171875, -0.0012750625610351562, 0.0438232421875, 0.04437255859375, -0.065185546875, -0.07403564453125, -0.0308990478515625, -0.0190277099609375, -0.03387451171875, 0.000690460205078125, -0.0130767822265625, 0.00363922119140625, -0.036834716796875, 0.0211181640625, 0.0350341796875, -0.048736572265625, 0.0030536651611328125, 0.0034275054931640625, 0.01342010498046875, -0.04205322265625, -0.035797119140625, 0.0170135498046875, 0.042022705078125, 0.0211029052734375, 0.059234619140625, 0.023101806640625, -0.02154541015625, 0.07635498046875, 0.0307159423828125, -0.005733489990234375, 0.004669189453125, 0.01230621337890625, 0.01219940185546875, -0.0277252197265625, 0.00217437744140625, 0.0032253265380859375, 0.00408935546875, 0.01207733154296875, 0.004974365234375, 0.01035308837890625, 0.01166534423828125, -0.021484375, -0.0124359130859375, -0.003162384033203125, 0.000579833984375, -0.040435791015625, 0.0119781494140625, -0.00873565673828125, -0.0024471282958984375, -0.00458526611328125, 0.003108978271484375, -0.003513336181640625, -0.004657745361328125, 0.01360321044921875, -0.0074462890625, -0.006587982177734375, -0.024627685546875, 0.046142578125, -0.04638671875, 0.0027942657470703125, 0.0164337158203125, -0.00922393798828125, 0.051055908203125, 0.0030918121337890625, -0.018310546875, -0.019134521484375, -0.01499176025390625, 0.013641357421875, -0.006504058837890625, 0.05712890625, 0.0153350830078125, 0.01276397705078125, 0.0246429443359375, 0.003238677978515625, 0.05438232421875, 0.00888824462890625, -0.0173797607421875, -0.0095367431640625, 0.0023059844970703125, -0.01329803466796875, 0.00986480712890625, 0.0291900634765625, -0.004962921142578125, 0.0253143310546875, -0.02899169921875, -0.061431884765625, -0.01360321044921875, 0.0291290283203125, 0.0148162841796875, 0.0008287429809570312, 0.01415252685546875, 0.01512908935546875, 0.0750732421875, 0.0199432373046875, -0.01096343994140625, 0.04254150390625, 0.02972412109375, -0.00634002685546875, 0.00017571449279785156, -0.0313720703125, -0.0203399658203125, 0.0313720703125, 0.0355224609375, -0.03509521484375, -0.057220458984375, 0.00555419921875, 0.007659912109375, 0.012054443359375, -0.06268310546875, -0.0154876708984375, 0.009796142578125, -0.020294189453125, 0.0196075439453125, 0.0218658447265625, -0.01538848876953125, 0.00806427001953125, -0.00345611572265625, 0.01276397705078125, -0.010498046875, -0.0265960693359375, -0.038909912109375, -0.00418853759765625, -0.01355743408203125, 0.0011110305786132812, 0.029327392578125, 0.0241546630859375, 0.0293731689453125, -0.0022830963134765625, -0.044281005859375, 0.08660888671875, 0.0083465576171875, 0.0256500244140625, -0.044189453125, -0.03369140625, -0.0013828277587890625, -0.049285888671875, -0.0088958740234375, 0.010162353515625, 0.0011701583862304688, -0.0308380126953125, -0.014190673828125, -0.003009796142578125, 0.031005859375, -0.01250457763671875, 0.0023136138916015625, -0.0223236083984375, 0.0049896240234375, 0.0104217529296875, 0.040130615234375, -0.01171112060546875, 0.027313232421875, 0.01038360595703125, 0.0224609375, 0.028045654296875, 0.0479736328125, 0.041412353515625, -0.05438232421875, 0.017791748046875, -0.00215911865234375, -0.012176513671875, -0.0279388427734375, 0.002956390380859375, -0.007389068603515625, 0.0523681640625, -0.00258636474609375, -0.0302734375, -0.02386474609375, -0.001049041748046875, -0.0290069580078125, 0.0576171875, -0.02081298828125, -0.0213165283203125, -0.0128021240234375, -0.028045654296875, 0.034027099609375, -0.0200042724609375, 0.04656982421875, 0.0007925033569335938, -0.05279541015625, 0.0025119781494140625, 0.0294647216796875, 0.0091552734375, 0.0015497207641601562, 0.01023101806640625, 0.0214996337890625, 0.05255126953125, 0.0255126953125, 0.054412841796875, 0.0067901611328125, -0.049774169921875, -0.021942138671875, 0.01439666748046875, 0.01053619384765625, -0.0266876220703125, 0.01337432861328125, 0.0270538330078125, 0.01293182373046875, 0.0243377685546875, 0.07470703125, 0.06610107421875, -0.1009521484375, -0.01348114013671875, 0.005382537841796875, -0.0305328369140625, 0.010406494140625, 0.03729248046875, -0.020416259765625, 0.00513458251953125, -0.0040740966796875, -0.003391265869140625, -0.0024242401123046875, 0.0301055908203125, 0.029998779296875, -0.01323699951171875, 0.00830841064453125, 0.0236968994140625, 0.00395965576171875, 0.0031566619873046875, -0.034912109375, 0.01428985595703125, -0.02728271484375, -0.0709228515625, -0.023040771484375, 0.0465087890625, -0.040374755859375, -0.06378173828125, 0.039306640625, -0.004604339599609375, 0.025909423828125, 0.0810546875, -0.01422882080078125, 0.00814056396484375, 0.0073089599609375, -0.0147705078125, 0.0203704833984375, -0.04400634765625, -0.034423828125, 0.075927734375, 0.033233642578125, 0.041961669921875, 0.0016069412231445312, -0.052520751953125, -0.013763427734375, -0.05572509765625, 0.017852783203125, -0.0185699462890625, -0.06103515625, 0.068603515625, -0.052734375, -0.0030765533447265625, -0.01178741455078125, 0.03179931640625, 0.030120849609375, -0.004016876220703125, -0.0281982421875, -0.04095458984375, -0.00896453857421875, -0.039154052734375, -0.0574951171875, 0.0181121826171875, -0.026947021484375, -0.09698486328125, 0.0767822265625, -0.0360107421875, 0.09368896484375, -0.01280975341796875, 0.0233306884765625, 0.01114654541015625, -0.00899505615234375, -0.014862060546875, 0.031341552734375, 0.01447296142578125, 0.002712249755859375, -0.01004791259765625, 0.01184844970703125, 0.00824737548828125, 0.0179595947265625, 0.0309600830078125, 0.004962921142578125, 0.0100860595703125, 0.0096282958984375, 0.0131378173828125, -0.016693115234375, -0.03466796875, 0.034942626953125, -0.049560546875, 0.064453125, -0.004261016845703125, -0.10009765625, 0.00626373291015625, -0.0189971923828125, -0.0677490234375, -0.0270843505859375, 0.0091552734375, -0.0196533203125, 0.0151824951171875, -0.01163482666015625, -0.051116943359375, 0.0237579345703125, 0.0227813720703125, 0.005512237548828125, -0.01125335693359375, 0.038421630859375, 0.0288238525390625, -0.03106689453125, -0.0267181396484375, -0.0199127197265625, 0.046051025390625, 0.03076171875, 0.024993896484375, 0.0133209228515625, 0.019989013671875, -0.0000559687614440918, -0.01334381103515625, -0.0017833709716796875, 0.02801513671875, -0.02862548828125, 0.056182861328125, 0.042388916015625, 0.047149658203125, -0.0019216537475585938, 0.0418701171875, 0.007488250732421875, 0.052215576171875, -0.041656494140625, -0.022216796875, 0.0208740234375, 0.0092926025390625, -0.006725311279296875, -0.00540924072265625, 0.01198577880859375, -0.005710601806640625, 0.025238037109375, -0.042144775390625, 0.00382232666015625, 0.00036597251892089844, 0.059906005859375, -0.03082275390625, -0.04986572265625, -0.00861358642578125, -0.0234222412109375, -0.052398681640625, 0.002788543701171875, -0.01511383056640625, 0.0675048828125, 0.0677490234375, 0.02630615234375, -0.00046825408935546875, -0.034576416015625, -0.0297698974609375, 0.068603515625, -0.01070404052734375, 0.05145263671875, -0.09356689453125, -0.060577392578125, -0.0077667236328125, 0.05767822265625, 0.0487060546875, 0.004947662353515625, 0.028228759765625, 0.019866943359375, -0.015777587890625, -0.0029735565185546875, 0.00775146484375, -0.0147247314453125, 0.0577392578125, -0.023162841796875, 0.064697265625, -0.0029239654541015625, -0.00818634033203125, -0.058349609375, 0.053436279296875, 0.033050537109375, 0.00777435302734375, 0.0008378028869628906, 0.0021820068359375, -0.036346435546875, 0.023162841796875, 0.013702392578125, 0.047607421875, 0.01349639892578125, -0.032684326171875, 0.0310516357421875, -0.04638671875, -0.0628662109375, 0.040008544921875, 0.04083251953125, -0.0173797607421875, 0.0222320556640625, 0.01021575927734375, -0.00144195556640625, 0.0111236572265625, -0.0182037353515625, 0.0084228515625, -0.00798797607421875, 0.0164031982421875, 0.01158905029296875, -0.04888916015625, -0.023681640625, 0.00913238525390625, 0.01029205322265625, -0.0067138671875, 0.09521484375, -0.005702972412109375, 0.001216888427734375, -0.032806396484375, -0.01007080078125, 0.021392822265625, -0.028656005859375, 0.019012451171875, 0.0537109375, 0.0265045166015625, -0.031494140625, -0.0791015625, 0.015289306640625, 0.013641357421875, -0.035980224609375, 0.03936767578125, -0.0159454345703125, -0.00238037109375, -0.0211181640625, 0.0241241455078125, -0.0218963623046875, -0.02398681640625, -0.050933837890625, 0.00992584228515625, 0.049102783203125, 0.035675048828125, -0.06842041015625, 0.03131103515625, -0.0240325927734375, -0.03277587890625, 0.028076171875, -0.042999267578125, -0.00801849365234375, 0.0029125213623046875, 0.0253448486328125, 0.007740020751953125, 0.040557861328125, -0.01427459716796875, 0.058441162109375, -0.0004267692565917969, 0.047943115234375, 0.052215576171875, 0.0027008056640625, -0.0283966064453125, -0.05938720703125, -0.017303466796875, -0.021087646484375, -0.0212860107421875, -0.028533935546875, 0.0026092529296875, -0.00711822509765625, 0.0143585205078125, 0.001010894775390625, -0.00685882568359375, -0.01024627685546875, 0.01953125, -0.00909423828125, -0.00774383544921875, -0.0301361083984375, -0.01116943359375, 0.00537872314453125, -0.0185699462890625, -0.0192108154296875, 0.00934600830078125, -0.0154571533203125, 0.00975799560546875, -0.0280609130859375, 0.0252532958984375, -0.01300811767578125, -0.0137939453125, -0.08154296875, 0.017333984375, -0.037261962890625, -0.0281829833984375, -0.02044677734375, 0.0125274658203125, 0.0231475830078125, 0.0030670166015625, 0.014068603515625, -0.032745361328125, -0.01538848876953125, 0.033538818359375, -0.0294647216796875, -0.01308441162109375, 0.01531982421875, -0.00414276123046875, -0.0390625, -0.06842041015625, 0.0201568603515625, -0.046905517578125, -0.0220947265625, 0.00815582275390625, -0.0194854736328125, -0.0195159912109375, -0.04901123046875, -0.063720703125, 0.114013671875, -0.0008707046508789062, -0.01407623291015625, -0.032012939453125, 0.07720947265625, 0.0284271240234375, -0.0298614501953125, -0.01377105712890625, -0.0261383056640625, -0.0133209228515625, -0.034393310546875, 0.027130126953125, 0.051513671875, -0.003467559814453125, 0.047821044921875, 0.03314208984375, 0.056976318359375, 0.0379638671875, 0.006473541259765625, 0.04840087890625, -0.0080108642578125, 0.0189056396484375, 0.03546142578125, -0.0498046875, 0.007144927978515625, -0.0318603515625, -0.036376953125, -0.0128173828125, -0.07196044921875, 0.0157318115234375, -0.00824737548828125, 0.017486572265625, 0.011749267578125, -0.008453369140625, -0.0308990478515625, -0.0177001953125, -0.00806427001953125, 0.0228118896484375, -0.01548004150390625, -0.0016689300537109375, -0.034423828125, -0.0019245147705078125, -0.01197052001953125, -0.00009781122207641602, -0.0134429931640625, -0.0062408447265625, -0.03326416015625, -0.0169525146484375, 0.0101165771484375, -0.0005950927734375, -0.036285400390625, -0.00939178466796875, -0.0007009506225585938, 0.0010671615600585938, 0.0246734619140625, -0.02313232421875, 0.0179901123046875, 0.0155792236328125, 0.011749267578125, -0.0174560546875, -0.0313720703125, 0.03192138671875, 0.037445068359375, 0.00476837158203125, 0.01776123046875, -0.0052032470703125, -0.0242919921875, -0.0203094482421875, 0.0338134765625, 0.03314208984375, 0.059600830078125, -0.043487548828125, -0.00589752197265625, 0.017578125, -0.052093505859375, -0.0013055801391601562, -0.0325927734375, 0.00664520263671875, 0.0002448558807373047, -0.0202178955078125, -0.0121917724609375, 0.0269927978515625, -0.064208984375, 0.0019817352294921875, -0.0144195556640625, -0.03009033203125, -0.04266357421875, 0.005504608154296875, 0.00879669189453125, -0.0227813720703125, 0.015869140625 ]
9a671a0e3ffc60ccfe4e3f2ebd59b776ad602f0f
Wordpress Stackexchange Q: How do I fire a snackbar notice in admin? I have a custom plugin and want it on occasions to fire the kind of notice that appears and disapears in the left corner like this one: I found some code in the Gutenberg docs here: const MySnackbarNotice = () => ( <Snackbar> Post published successfully. </Snackbar> ); But adding this to my admin-enqueued js script obviously doesn't work. Thanks! A: WordPress has some global actions you can use here. If you want to add your own notice in the lower corner (like the screenshot), you can do that like this: wp.data.dispatch("core/notices").createNotice( "success", // Can be one of: success, info, warning, error. "This is my custom message.", // Text string to display. { type: "snackbar", isDismissible: true, // Whether the user can dismiss the notice. // Any actions the user can perform. actions: [ { url: '#', label: 'View post', }, ], } ); The important part here is type: "snackbar". You can also leave out the snackbar part and it will appear in the UI above the content: Here's the full article on WordPress' Block Editor Handbook: https://developer.wordpress.org/block-editor/tutorials/notices/
Q: How do I fire a snackbar notice in admin? I have a custom plugin and want it on occasions to fire the kind of notice that appears and disapears in the left corner like this one: I found some code in the Gutenberg docs here: const MySnackbarNotice = () => ( <Snackbar> Post published successfully. </Snackbar> ); But adding this to my admin-enqueued js script obviously doesn't work. Thanks! A: WordPress has some global actions you can use here. If you want to add your own notice in the lower corner (like the screenshot), you can do that like this: wp.data.dispatch("core/notices").createNotice( "success", // Can be one of: success, info, warning, error. "This is my custom message.", // Text string to display. { type: "snackbar", isDismissible: true, // Whether the user can dismiss the notice. // Any actions the user can perform. actions: [ { url: '#', label: 'View post', }, ], } ); The important part here is type: "snackbar". You can also leave out the snackbar part and it will appear in the UI above the content: Here's the full article on WordPress' Block Editor Handbook: https://developer.wordpress.org/block-editor/tutorials/notices/ A: Although Andre's answer is partially correct, it's limited to the Javascript function only, and the linked tutorial doesn't provide a complete answer. Here's a complete solution which includes front and back: add_action('admin_footer-post.php','my_pre_post_update_hook'); add_action('admin_footer-post-new.php','my_pre_post_update_hook'); function my_pre_post_update_hook(){ global $post; ?> <script type="text/javascript"> jQuery(document).ready(function() { // We listen to Ajax calls made via fetch var temp_fetch = window.fetch; window.fetch = function() { return new Promise((resolve, reject) => { temp_fetch.apply(this, arguments) .then((response) => { if( response.url.indexOf("/wp-json/wp/v2/posts") > -1 && response.type === 'basic' ){ var clone = response.clone(); clone.json().then(function (json) { if( typeof json.code !== 'undefined' && typeof json.code === 'string' && typeof json.message !== 'undefined' && typeof json.message === 'string' ){ wp.data.dispatch("core/notices").createNotice( json.code, json.message, { // type: "snackbar", // Optional id: 'custom_post_site_save', isDismissible: true } ); // Close default "Post saved" notice wp.data.dispatch( 'core/notices' ).removeNotice('SAVE_POST_NOTICE_ID'); // You can see all active notices by this command: // wp.data.select('core/notices').getNotices(); } }); } resolve(response); }) .catch((error) => { reject(error); }) }); }; // If you want to listen to Ajax calls made via jQuery // jQuery(document).bind("ajaxSend", function(event, request, settings){ // }).bind("ajaxComplete", function(event, request, settings){ // }); }); </script> <?php } add_action( 'pre_post_update', 'custom_post_site_save', 10, 2); function custom_post_site_save($post_id, $post_data) { if (wp_is_post_revision($post_id)) { // If this is just a revision, don't do anything. return; } elseif (isset($post_data['post_content']) && strpos($post_data['post_content'], 'myTextString') !== false) { $code = 'error'; // Can be one of: success, info, warning, error. $response_body = 'My custom message ...'; $error = new WP_Error($code, $response_body); wp_die($error, 200); } }
wordpress
{ "language": "en", "length": 432, "provenance": "stackexchange_00019.jsonl.gz:502027", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/361330" }
[ 0.0423583984375, 0.0207061767578125, -0.0165863037109375, -0.0244903564453125, 0.027618408203125, -0.0291290283203125, 0.0170440673828125, -0.0250091552734375, 0.037506103515625, 0.01513671875, -0.00838470458984375, -0.08697509765625, 0.018707275390625, -0.041717529296875, -0.038848876953125, -0.038482666015625, 0.0180511474609375, 0.039306640625, 0.04888916015625, 0.000013709068298339844, 0.0275115966796875, 0.009613037109375, 0.0038604736328125, 0.041656494140625, 0.015716552734375, -0.0032100677490234375, 0.11920166015625, -0.051727294921875, 0.041839599609375, -0.0235443115234375, 0.030609130859375, -0.0240936279296875, 0.0147552490234375, 0.06402587890625, -0.06170654296875, 0.06182861328125, 0.005916595458984375, 0.0245361328125, 0.00023174285888671875, 0.044708251953125, 0.024627685546875, -0.00958251953125, 0.044464111328125, -0.006622314453125, 0.00922393798828125, -0.030914306640625, 0.02166748046875, -0.048553466796875, 0.0086822509765625, 0.0224151611328125, -0.00936126708984375, 0.027923583984375, 0.00835418701171875, -0.005603790283203125, 0.0021514892578125, -0.00731658935546875, -0.0655517578125, 0.023956298828125, 0.033935546875, 0.09967041015625, 0.03070068359375, -0.00727081298828125, -0.02886962890625, -0.06829833984375, -0.014862060546875, 0.0081024169921875, 0.011444091796875, -0.005107879638671875, -0.006839752197265625, -0.0361328125, -0.0100555419921875, 0.001453399658203125, -0.0007953643798828125, -0.0618896484375, 0.033935546875, 0.0106353759765625, 0.0016918182373046875, -0.001148223876953125, -0.009765625, 0.009246826171875, 0.041107177734375, 0.04681396484375, 0.003536224365234375, -0.0278778076171875, 0.0323486328125, 0.01166534423828125, -0.0071563720703125, -0.034210205078125, -0.03350830078125, 0.0013494491577148438, -0.01171875, -0.043212890625, -0.0239715576171875, 0.0288238525390625, 0.013580322265625, -0.005779266357421875, 0.050628662109375, 0.0352783203125, -0.0137481689453125, -0.03204345703125, -0.02056884765625, -0.017608642578125, -0.031463623046875, -0.00830078125, -0.0110015869140625, 0.02899169921875, -0.0184478759765625, 0.0207061767578125, 0.020263671875, 0.0296630859375, -0.00662994384765625, -0.05389404296875, -0.032012939453125, -0.0091094970703125, -0.045745849609375, 0.0293426513671875, -0.043212890625, -0.018707275390625, -0.011871337890625, 0.035736083984375, 0.0101776123046875, 0.0015459060668945312, -0.0012044906616210938, 0.0161590576171875, -0.0127105712890625, -0.0230560302734375, -0.0244598388671875, -0.004795074462890625, 0.01180267333984375, 0.00748443603515625, -0.045654296875, 0.0296630859375, 0.09039306640625, 0.009185791015625, 0.01056671142578125, -0.0300750732421875, 0.040557861328125, 0.0009760856628417969, 0.0038623809814453125, -0.02655029296875, 0.00347900390625, 0.029052734375, 0.03887939453125, -0.0267486572265625, 0.0099639892578125, 0.0176849365234375, 0.0140380859375, 0.0021228790283203125, -0.001674652099609375, -0.0247802734375, -0.0213775634765625, -0.01393890380859375, 0.06121826171875, 0.0074920654296875, -0.0377197265625, -0.0197906494140625, 0.054534912109375, -0.045166015625, -0.04351806640625, -0.066650390625, -0.01218414306640625, -0.020721435546875, 0.031341552734375, -0.0289459228515625, -0.0223236083984375, 0.04443359375, -0.0545654296875, -0.0020885467529296875, 0.0308380126953125, 0.0223236083984375, 0.0024623870849609375, -0.004222869873046875, 0.0372314453125, 0.01070404052734375, -0.00860595703125, 0.0091094970703125, 0.0088043212890625, -0.034942626953125, 0.051849365234375, -0.005023956298828125, -0.028594970703125, -0.018890380859375, 0.07086181640625, -0.0411376953125, -0.04669189453125, 0.002117156982421875, 0.0040435791015625, 0.051605224609375, 0.0134735107421875, 0.021087646484375, 0.02093505859375, -0.00762939453125, 0.0059356689453125, 0.0186004638671875, -0.0216522216796875, -0.03466796875, 0.0203094482421875, 0.0218963623046875, -0.0128631591796875, 0.0027866363525390625, -0.01171112060546875, 0.00972747802734375, 0.0040740966796875, -0.0209197998046875, -0.08795166015625, 0.040374755859375, -0.051788330078125, 0.05963134765625, 0.061676025390625, 0.019439697265625, -0.01500701904296875, -0.01389312744140625, -0.0172271728515625, 0.0369873046875, -0.05078125, 0.007328033447265625, -0.036224365234375, 0.037109375, 0.00545501708984375, 0.0682373046875, 0.00536346435546875, -0.015655517578125, 0.010833740234375, -0.0386962890625, 0.0694580078125, -0.03741455078125, 0.00020110607147216797, -0.0266876220703125, 0.034759521484375, 0.017913818359375, -0.1002197265625, 0.01531219482421875, 0.0034236907958984375, -0.0152130126953125, -0.011810302734375, 0.01142120361328125, 0.00588226318359375, -0.0594482421875, 0.0001398324966430664, 0.048858642578125, 0.0103302001953125, 0.0087432861328125, -0.021240234375, 0.0201416015625, 0.060333251953125, -0.01123046875, -0.00026798248291015625, 0.011871337890625, -0.0185394287109375, -0.0153656005859375, -0.031402587890625, -0.017608642578125, 0.01512908935546875, -0.042816162109375, 0.001735687255859375, 0.0169219970703125, 0.017059326171875, -0.014495849609375, -0.003948211669921875, -0.007442474365234375, 0.01568603515625, 0.001178741455078125, -0.04339599609375, 0.020721435546875, 0.052459716796875, -0.0276336669921875, 0.054840087890625, 0.0274810791015625, -0.031982421875, -0.0166168212890625, 0.020263671875, 0.033294677734375, -0.0015964508056640625, 0.016021728515625, 0.0203857421875, -0.037872314453125, -0.053802490234375, 0.0127716064453125, 0.0246124267578125, -0.0028533935546875, -0.0286712646484375, 0.01181793212890625, -0.0185546875, -0.02056884765625, 0.0028400421142578125, -0.020660400390625, -0.0030975341796875, -0.061187744140625, -0.019683837890625, -0.052581787109375, -0.0193634033203125, 0.04632568359375, -0.0009984970092773438, 0.0113067626953125, 0.0228424072265625, -0.01389312744140625, 0.03466796875, -0.0244140625, 0.006465911865234375, -0.02581787109375, 0.09259033203125, 0.057220458984375, -0.0289154052734375, 0.0008192062377929688, -0.0128936767578125, 0.025634765625, 0.0220794677734375, -0.0171661376953125, -0.026275634765625, -0.06451416015625, 0.0299224853515625, 0.0013399124145507812, 0.028411865234375, 0.0218048095703125, 0.01264190673828125, -0.030914306640625, -0.00737762451171875, 0.031341552734375, -0.03277587890625, -0.0185089111328125, -0.02349853515625, -0.05047607421875, 0.025848388671875, 0.01102447509765625, -0.00926971435546875, -0.016632080078125, 0.03857421875, 0.0240020751953125, -0.052520751953125, 0.0019588470458984375, 0.03192138671875, 0.0038623809814453125, -0.01312255859375, 0.038665771484375, 0.00853729248046875, 0.00934600830078125, -0.0031890869140625, 0.07879638671875, 0.0178375244140625, -0.048858642578125, -0.002559661865234375, -0.016632080078125, -0.02044677734375, 0.01166534423828125, 0.0103302001953125, -0.006931304931640625, 0.006305694580078125, 0.0182037353515625, -0.019317626953125, 0.005615234375, -0.0094451904296875, -0.022216796875, -0.00982666015625, -0.0166015625, 0.0223541259765625, -0.043609619140625, -0.0113983154296875, -0.0209808349609375, 0.0005383491516113281, -0.052734375, -0.00592041015625, 0.0271453857421875, -0.016693115234375, -0.0169830322265625, -0.007183074951171875, -0.024566650390625, -0.0061187744140625, 0.0232391357421875, -0.0169677734375, -0.00725555419921875, 0.046844482421875, -0.007183074951171875, -0.03369140625, -0.03765869140625, -0.032012939453125, -0.037567138671875, -0.0121002197265625, -0.0321044921875, 0.0283660888671875, -0.005809783935546875, 0.004138946533203125, -0.01258087158203125, 0.01076507568359375, -0.03790283203125, 0.01483154296875, 0.017578125, -0.0174560546875, -0.01151275634765625, 0.01491546630859375, 0.004901885986328125, 0.0207061767578125, 0.021697998046875, -0.01047515869140625, -0.005672454833984375, -0.0091400146484375, -0.000522613525390625, -0.0325927734375, -0.0011320114135742188, -0.037811279296875, 0.0038127899169921875, -0.0986328125, 0.02105712890625, 0.00913238525390625, -0.031280517578125, -0.03265380859375, 0.055084228515625, -0.07537841796875, -0.0291900634765625, 0.01552581787109375, -0.0667724609375, 0.015777587890625, 0.001857757568359375, -0.0271759033203125, -0.01361083984375, -0.0115509033203125, -0.053863525390625, -0.0176544189453125, 0.00013840198516845703, -0.041015625, 0.005584716796875, 0.03857421875, 0.0194244384765625, 0.0026645660400390625, 0.0211029052734375, -0.0025463104248046875, 0.019195556640625, 0.00783538818359375, 0.01885986328125, 0.045867919921875, -0.03448486328125, -0.005329132080078125, -0.041961669921875, -0.00516510009765625, 0.03558349609375, -0.0310821533203125, 0.0325927734375, -0.0198822021484375, -0.032257080078125, 0.03851318359375, -0.049163818359375, -0.08404541015625, -0.05328369140625, -0.005756378173828125, 0.0011348724365234375, -0.006587982177734375, -0.01120758056640625, -0.05419921875, -0.059356689453125, -0.01552581787109375, -0.00567626953125, -0.01335906982421875, 0.044708251953125, 0.06024169921875, 0.0302581787109375, 0.0062408447265625, -0.052337646484375, 0.006427764892578125, 0.0302734375, 0.058563232421875, 0.045684814453125, 0.045501708984375, -0.0093536376953125, 0.00913238525390625, 0.0389404296875, 0.039947509765625, -0.0548095703125, 0.0494384765625, -0.031768798828125, -0.0316162109375, 0.04180908203125, -0.0386962890625, 0.0296478271484375, 0.00572967529296875, -0.0230865478515625, -0.001476287841796875, -0.0293731689453125, 0.0192108154296875, -0.00971221923828125, 0.026885986328125, -0.004222869873046875, 0.0092010498046875, -0.02508544921875, 0.03912353515625, 0.026153564453125, 0.053619384765625, -0.007305145263671875, -0.00730133056640625, 0.0208740234375, 0.0012521743774414062, -0.0025882720947265625, 0.012969970703125, -0.029052734375, 0.01047515869140625, 0.024627685546875, -0.0195770263671875, -0.0080718994140625, 0.005985260009765625, 0.035125732421875, 0.0279083251953125, -0.0029582977294921875, -0.04083251953125, 0.01233673095703125, 0.022674560546875, -0.014190673828125, 0.014892578125, 0.0184478759765625, 0.04913330078125, -0.01480865478515625, 0.0213165283203125, 0.0623779296875, 0.013702392578125, -0.0226287841796875, 0.048553466796875, 0.01727294921875, -0.0111083984375, -0.0252532958984375, 0.0655517578125, 0.0099029541015625, -0.00135040283203125, -0.002056121826171875, 0.04791259765625, 0.0013704299926757812, 0.029754638671875, 0.0202789306640625, -0.021453857421875, 0.016387939453125, -0.03314208984375, -0.0255279541015625, -0.0169830322265625, -0.031829833984375, -0.0126190185546875, 0.0234222412109375, 0.011260986328125, 0.029693603515625, 0.01467132568359375, 0.00420379638671875, -0.031890869140625, 0.037933349609375, 0.0233154296875, -0.030548095703125, -0.0184783935546875, 0.0029582977294921875, -0.000926971435546875, 0.01354217529296875, 0.002536773681640625, 0.01708984375, -0.01102447509765625, 0.04241943359375, -0.026031494140625, 0.022308349609375, -0.01397705078125, -0.0195159912109375, -0.0206298828125, -0.010589599609375, 0.010406494140625, -0.032623291015625, -0.034759521484375, -0.0167999267578125, -0.0137481689453125, 0.0670166015625, -0.0341796875, -0.025634765625, -0.0203094482421875, 0.049407958984375, -0.04876708984375, 0.0027923583984375, 0.061676025390625, 0.0246124267578125, -0.04632568359375, -0.0142364501953125, -0.056640625, -0.0200042724609375, -0.08642578125, -0.06378173828125, -0.0325927734375, 0.03729248046875, 0.006954193115234375, 0.00653839111328125, 0.0123748779296875, 0.0221405029296875, -0.0284271240234375, 0.044677734375, 0.025909423828125, 0.0509033203125, -0.0140533447265625, 0.0233154296875, 0.0181732177734375, 0.07196044921875, 0.01229095458984375, -0.006404876708984375, 0.0200653076171875, -0.047393798828125, -0.0009312629699707031, 0.00799560546875, -0.00563812255859375, -0.0085601806640625, 0.006011962890625, -0.007965087890625, 0.044891357421875, -0.00969696044921875, 0.037841796875, 0.0297698974609375, 0.0211181640625, -0.019378662109375, -0.0184783935546875, 0.0131072998046875, 0.02923583984375, 0.0200042724609375, -0.031982421875, 0.0024471282958984375, -0.0038928985595703125, 0.0307769775390625, 0.007305145263671875, -0.032257080078125, 0.0013370513916015625, 0.00730133056640625, -0.0477294921875, 0.039886474609375, 0.06475830078125, 0.0218353271484375, 0.031768798828125, 0.00936126708984375, 0.0220794677734375, 0.0015153884887695312, -0.01043701171875, 0.0284271240234375, 0.0191497802734375, 0.055511474609375, -0.01206207275390625, -0.01143646240234375, 0.042144775390625, -0.0295257568359375, 0.014801025390625, 0.05450439453125, 0.080322265625, -0.07373046875, 0.005748748779296875, 0.035369873046875, -0.0196533203125, 0.0191497802734375, -0.02783203125, -0.01453399658203125, -0.05450439453125, 0.037689208984375, 0.0286712646484375, -0.024688720703125, 0.0004448890686035156, -0.0013523101806640625, 0.0129241943359375, 0.0301361083984375, 0.012847900390625, -0.00962066650390625, -0.04327392578125, -0.02703857421875, 0.0274505615234375, 0.0028514862060546875, 0.01458740234375, 0.027130126953125, -0.025787353515625, -0.0070648193359375, -0.0101470947265625, -0.004058837890625, -0.01361083984375, -0.0267791748046875, 0.004940032958984375, 0.0140380859375, 0.01641845703125, 0.049591064453125, -0.024139404296875, 0.021942138671875, 0.025238037109375, 0.00555419921875, 0.0052337646484375, -0.03076171875, 0.019134521484375, 0.03173828125, -0.07794189453125, 0.02130126953125, -0.0218505859375, -0.00009340047836303711, -0.0090179443359375, -0.01001739501953125, 0.0966796875, -0.059478759765625, -0.01406097412109375, 0.004520416259765625, -0.01041412353515625, 0.01137542724609375, -0.0184326171875, 0.050567626953125, -0.07904052734375, -0.00485992431640625, 0.004337310791015625, 0.01061248779296875, -0.030487060546875, -0.015960693359375, -0.04595947265625, 0.07611083984375, 0.0472412109375, -0.01488494873046875, -0.0035877227783203125, 0.047698974609375, -0.04718017578125, 0.0033130645751953125, -0.00705718994140625, 0.03582763671875, -0.0164794921875, -0.01108551025390625, -0.063720703125, -0.00716400146484375, -0.035552978515625, 0.045654296875, 0.0565185546875, 0.032470703125, -0.0017347335815429688, -0.0312042236328125, -0.04779052734375, -0.025360107421875, -0.06951904296875, 0.05474853515625, 0.00482940673828125, -0.01166534423828125, 0.007843017578125, -0.0110626220703125, 0.018890380859375, -0.0201416015625, -0.0165557861328125, 0.0256195068359375, 0.004901885986328125, -0.005138397216796875, 0.0355224609375, -0.0297698974609375, -0.0159912109375, 0.0172882080078125, 0.01206207275390625, -0.054351806640625, 0.0021495819091796875, 0.018035888671875, 0.0310821533203125, -0.05291748046875, -0.0531005859375, -0.0223541259765625, 0.033355712890625, 0.00102996826171875, -0.00238037109375, 0.01325225830078125, 0.01154327392578125, -0.045684814453125, 0.04193115234375, 0.007762908935546875, 0.058502197265625, -0.020782470703125, 0.0283966064453125, -0.00418853759765625, 0.025787353515625, -0.039764404296875, 0.00905609130859375, 0.0242919921875, 0.0447998046875, -0.0304718017578125, -0.03143310546875, 0.01175689697265625, -0.005859375, 0.0161895751953125, -0.01383209228515625, 0.015869140625, -0.046539306640625, -0.0135040283203125, 0.0169830322265625, -0.0238037109375, -0.00849151611328125, 0.034881591796875, 0.0157623291015625, 0.01629638671875, -0.0133514404296875, -0.0239105224609375, -0.045806884765625, 0.01113128662109375, 0.019805908203125, 0.046417236328125, 0.00128936767578125, 0.04437255859375, 0.0167388916015625, -0.0013217926025390625, 0.0167388916015625, -0.00347900390625, 0.02398681640625, -0.0242156982421875, 0.0201873779296875, 0.0102996826171875, 0.028411865234375, 0.00620269775390625, -0.00659942626953125, -0.01497650146484375, 0.00789642333984375, 0.024627685546875, 0.01424407958984375, -0.0254058837890625, -0.023406982421875, -0.0180206298828125, -0.01751708984375, -0.05023193359375, 0.0157318115234375, -0.012664794921875, 0.00826263427734375, 0.026641845703125, 0.032958984375, -0.0021820068359375, -0.028411865234375, -0.0011930465698242188, 0.004840850830078125, -0.0202484130859375, 0.03851318359375, -0.0037479400634765625, -0.003765106201171875, 0.0027294158935546875, -0.07440185546875, -0.0469970703125, 0.043304443359375, -0.021331787109375, 0.00965118408203125, 0.037628173828125, -0.01189422607421875, 0.0237579345703125, 0.022918701171875, 0.054107666015625, -0.017852783203125, -0.032562255859375, 0.017364501953125, -0.024200439453125, 0.0243682861328125, 0.032470703125, 0.02593994140625, -0.0013666152954101562, 0.00946044921875, 0.0355224609375, 0.045684814453125, -0.01029205322265625, 0.01100921630859375, 0.0297393798828125, -0.0178375244140625, 0.033843994140625, -0.033782958984375, -0.01212310791015625, -0.0119171142578125, 0.0243682861328125, 0.0243377685546875, -0.012054443359375, -0.04095458984375, 0.0279083251953125, 0.0234527587890625, -0.00853729248046875, 0.025360107421875, 0.0150299072265625, 0.0014333724975585938, -0.0205535888671875, -0.0242462158203125, -0.03363037109375, -0.0343017578125, 0.01325225830078125, 0.0280609130859375, -0.01534271240234375, 0.033782958984375, 0.0190887451171875, 0.0305328369140625, 0.00878143310546875, -0.0504150390625, 0.006809234619140625, -0.061370849609375, 0.01561737060546875, 0.04718017578125, 0.0372314453125, 0.02838134765625, 0.006000518798828125, -0.0162200927734375, 0.051727294921875, -0.007251739501953125, 0.0272674560546875, -0.0019054412841796875, 0.058502197265625, 0.011566162109375, -0.03173828125, 0.004215240478515625, -0.0570068359375, -0.012237548828125, 0.032440185546875, 0.0168609619140625, -0.0157012939453125, 0.023284912109375, -0.0130767822265625, -0.031097412109375, -0.02825927734375, 0.01036834716796875, -0.033477783203125, -0.042816162109375, -0.0792236328125, 0.030303955078125, -0.00308990478515625, 0.0018329620361328125, -0.054901123046875, 0.047943115234375, -0.003749847412109375, 0.036712646484375, -0.0215606689453125, 0.0518798828125, -0.0168914794921875, 0.01035308837890625, -0.07318115234375, -0.0218658447265625, -0.025634765625, 0.01410675048828125, -0.037628173828125, -0.025604248046875, -0.00482940673828125, 0.007259368896484375, -0.0250701904296875, -0.033111572265625, 0.01055908203125, 0.00534820556640625, 0.023651123046875, 0.0005483627319335938, 0.0228729248046875, -0.01056671142578125, -0.03778076171875, -0.046142578125, 0.031036376953125, -0.076171875, -0.035736083984375, 0.0176849365234375, -0.0082855224609375, 0.005268096923828125, -0.046661376953125, -0.049957275390625, 0.007030487060546875, 0.01148223876953125, -0.03802490234375, 0.0100250244140625, 0.0015668869018554688, -0.0051727294921875, -0.01114654541015625, 0.0106964111328125, -0.00379180908203125, -0.00962066650390625, 0.0004742145538330078, -0.01342010498046875, 0.014678955078125, 0.0179290771484375, -0.0159759521484375, -0.007568359375, 0.0028820037841796875, 0.0251007080078125, -0.039154052734375, -0.04034423828125, 0.0020275115966796875, -0.007598876953125, 0.01446533203125, -0.04107666015625, -0.087890625, 0.006694793701171875, -0.0006814002990722656, -0.0198516845703125, 0.004913330078125, -0.0281524658203125, 0.0082244873046875, 0.0650634765625, 0.09185791015625, 0.019195556640625, -0.05975341796875, 0.033447265625, -0.0279541015625, -0.045745849609375, -0.0033016204833984375, -0.0018796920776367188, -0.0075225830078125, 0.00890350341796875, 0.0045013427734375, -0.01513671875, -0.0032291412353515625, 0.00852203369140625, -0.0445556640625, -0.012054443359375, -0.039306640625, -0.0290679931640625, -0.06622314453125, -0.106689453125, 0.1114501953125, -0.052520751953125, -0.03424072265625, 0.024017333984375, 0.055694580078125, 0.0166778564453125, 0.0191192626953125, -0.0233154296875, -0.032684326171875, -0.035308837890625, 0.024505615234375, -0.0240478515625, 0.0325927734375, -0.04302978515625, -0.0197601318359375, 0.01013946533203125, 0.0135498046875, -0.00138092041015625, 0.02557373046875, 0.0109100341796875, -0.03961181640625, -0.0195770263671875, 0.01491546630859375, -0.002651214599609375, 0.00698089599609375, -0.01461029052734375, 0.041595458984375, 0.04345703125, -0.0252227783203125, 0.059417724609375, -0.034027099609375, 0.005611419677734375, 0.026153564453125, 0.03643798828125, -0.033782958984375, 0.00806427001953125, -0.006465911865234375, 0.037322998046875, 0.017974853515625 ]
0f5783c111f6f80851ab7b9833c35dab10742d10
Wordpress Stackexchange Q: Wrapping Gutenberg Blocks with a div/section/article I would like to be able to create sections of blocks from within the Gutenberg editor. This way I can apply styles around groups of blocks. The idea would be to either: * *Nest one or more blocks within a container div/section/article *Add an opening tag before a block or group of blocks and a closing tag afterwards I have tried adding a 'Custom HTML' block before and afterwards with opening/closing tags. This works apart from when revisiting the editor the you're welcomed with a 'This block contains unexpected or invalid content' warning. How can I achieve this? A: Use 'Groups': If you do not see the 'Group' option, like me, you'll have to update WP. After that, simply create a group, then add new blocks or drag existing blocks into it. Select the group and add HTML Anchors and classes via the 'Advanced' tab of the block's menu.
Q: Wrapping Gutenberg Blocks with a div/section/article I would like to be able to create sections of blocks from within the Gutenberg editor. This way I can apply styles around groups of blocks. The idea would be to either: * *Nest one or more blocks within a container div/section/article *Add an opening tag before a block or group of blocks and a closing tag afterwards I have tried adding a 'Custom HTML' block before and afterwards with opening/closing tags. This works apart from when revisiting the editor the you're welcomed with a 'This block contains unexpected or invalid content' warning. How can I achieve this? A: Use 'Groups': If you do not see the 'Group' option, like me, you'll have to update WP. After that, simply create a group, then add new blocks or drag existing blocks into it. Select the group and add HTML Anchors and classes via the 'Advanced' tab of the block's menu. A: There's a simple solution, group the blocks together: This creates a group block that contains the others. This isn't the only block that can have "children" or nest other blocks, e.g. columns, cover blocks, etc If this wasn't an option, the solution would have been to build a block that contains other blocks, but those blocks already exist and come with WP
wordpress
{ "language": "en", "length": 219, "provenance": "stackexchange_00019.jsonl.gz:502064", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/361435" }
[ -0.01812744140625, -0.000789642333984375, -0.05816650390625, -0.00896453857421875, -0.0062255859375, -0.02935791015625, -0.01383209228515625, 0.00501251220703125, -0.00769805908203125, 0.042755126953125, -0.041839599609375, 0.0024166107177734375, 0.00891876220703125, 0.0029659271240234375, -0.017425537109375, -0.025726318359375, 0.04266357421875, -0.0190887451171875, 0.023284912109375, 0.00605010986328125, -0.00260162353515625, 0.026947021484375, 0.0130767822265625, 0.0538330078125, 0.032745361328125, -0.060882568359375, 0.08489990234375, -0.001438140869140625, 0.044097900390625, -0.0161895751953125, 0.0460205078125, -0.030853271484375, 0.032623291015625, 0.0098876953125, -0.0474853515625, 0.0293426513671875, 0.0362548828125, -0.0221405029296875, -0.0301666259765625, 0.052215576171875, 0.0263824462890625, -0.00304412841796875, 0.025726318359375, 0.01238250732421875, -0.0030612945556640625, -0.022857666015625, 0.0181121826171875, -0.05072021484375, 0.032623291015625, -0.00878143310546875, -0.01013946533203125, 0.0138092041015625, -0.00981903076171875, -0.0103607177734375, -0.01323699951171875, -0.0005660057067871094, -0.01136016845703125, -0.00476837158203125, -0.0015573501586914062, 0.01378631591796875, 0.0149688720703125, 0.03582763671875, 0.0181732177734375, 0.0137786865234375, 0.049713134765625, -0.0085601806640625, 0.05706787109375, 0.0290985107421875, -0.0228424072265625, 0.062255859375, 0.0276336669921875, -0.0263214111328125, -0.0179595947265625, -0.08856201171875, 0.01441192626953125, 0.06591796875, -0.038848876953125, -0.04302978515625, 0.0005335807800292969, -0.00362396240234375, -0.02685546875, 0.029632568359375, 0.035247802734375, -0.06268310546875, 0.02117919921875, -0.02685546875, -0.027862548828125, 0.00015628337860107422, 0.01824951171875, -0.0248565673828125, 0.00013172626495361328, 0.0053253173828125, -0.025482177734375, 0.02581787109375, -0.003345489501953125, -0.03802490234375, -0.0262451171875, -0.0023326873779296875, -0.0009756088256835938, 0.045654296875, 0.000835418701171875, -0.047698974609375, 0.08831787109375, -0.054901123046875, 0.0303192138671875, 0.034149169921875, -0.0408935546875, 0.01267242431640625, 0.08135986328125, 0.01273345947265625, 0.01491546630859375, 0.042327880859375, -0.01441192626953125, -0.007762908935546875, -0.020965576171875, 0.00142669677734375, -0.051788330078125, 0.010345458984375, -0.004566192626953125, -0.004405975341796875, 0.020843505859375, 0.04693603515625, 0.030426025390625, 0.01155853271484375, -0.022247314453125, 0.0163726806640625, -0.019287109375, -0.07208251953125, 0.00977325439453125, -0.0303955078125, -0.00894927978515625, 0.0341796875, 0.042388916015625, 0.048858642578125, 0.02398681640625, 0.00608062744140625, 0.059234619140625, 0.0120391845703125, 0.00351715087890625, -0.0267333984375, 0.00830841064453125, 0.042327880859375, 0.0241546630859375, -0.045684814453125, -0.0146942138671875, 0.0017862319946289062, 0.035675048828125, 0.0086669921875, -0.0489501953125, -0.0706787109375, 0.045867919921875, -0.0265960693359375, 0.058502197265625, -0.0214996337890625, -0.007793426513671875, -0.042205810546875, 0.04193115234375, -0.0263214111328125, -0.01383209228515625, -0.054107666015625, -0.0005564689636230469, 0.00009822845458984375, 0.03857421875, -0.0264434814453125, -0.01479339599609375, -0.025421142578125, -0.04644775390625, -0.00433349609375, 0.032745361328125, 0.056121826171875, 0.0039825439453125, -0.058807373046875, 0.0139007568359375, -0.001621246337890625, -0.038177490234375, 0.01491546630859375, 0.006519317626953125, -0.03778076171875, 0.01206207275390625, 0.0694580078125, -0.004421234130859375, -0.0205230712890625, 0.0179443359375, -0.0026721954345703125, -0.02392578125, -0.000751495361328125, -0.0179901123046875, 0.033538818359375, 0.046112060546875, 0.0229644775390625, -0.0251312255859375, -0.03082275390625, -0.071044921875, -0.00989532470703125, 0.0118255615234375, 0.0144500732421875, 0.01238250732421875, 0.02056884765625, 0.0022029876708984375, -0.03228759765625, -0.006786346435546875, -0.024383544921875, 0.0262603759765625, -0.021087646484375, 0.00890350341796875, -0.03369140625, -0.004711151123046875, 0.035797119140625, -0.0001875162124633789, -0.031524658203125, -0.0031642913818359375, -0.04754638671875, 0.0287933349609375, -0.058837890625, -0.029693603515625, 0.01861572265625, 0.0211944580078125, 0.0689697265625, 0.033935546875, 0.0131072998046875, 0.051177978515625, 0.00373077392578125, 0.031829833984375, 0.00470733642578125, 0.08538818359375, -0.0086212158203125, -0.0023326873779296875, -0.035125732421875, 0.0194091796875, 0.049560546875, -0.1534423828125, 0.00772857666015625, 0.06951904296875, 0.04718017578125, -0.02447509765625, -0.0007548332214355469, -0.000518798828125, -0.034698486328125, -0.0187835693359375, 0.036163330078125, 0.041229248046875, -0.0116729736328125, -0.0246734619140625, -0.057342529296875, 0.0251007080078125, -0.01529693603515625, 0.03143310546875, -0.032318115234375, -0.0212554931640625, -0.0169525146484375, 0.0161895751953125, 0.0025196075439453125, 0.02703857421875, -0.02203369140625, 0.031524658203125, 0.0231781005859375, -0.0152740478515625, -0.007083892822265625, -0.0196685791015625, -0.01277923583984375, 0.0309600830078125, -0.025970458984375, -0.051055908203125, -0.000827789306640625, 0.09637451171875, -0.056182861328125, 0.07452392578125, 0.047637939453125, 0.006649017333984375, -0.038238525390625, 0.00550079345703125, 0.0157470703125, 0.00469970703125, 0.016326904296875, 0.02801513671875, 0.0074310302734375, -0.0504150390625, 0.000036656856536865234, 0.0399169921875, 0.0247650146484375, -0.036773681640625, 0.0305938720703125, -0.011627197265625, -0.01488494873046875, -0.0103302001953125, -0.034149169921875, -0.0031337738037109375, -0.050445556640625, -0.0037631988525390625, -0.003997802734375, 0.0244903564453125, 0.00719451904296875, -0.0193939208984375, 0.0013494491577148438, 0.054534912109375, -0.0293426513671875, 0.0367431640625, -0.047637939453125, 0.030914306640625, -0.0404052734375, 0.07098388671875, 0.055389404296875, -0.0240020751953125, -0.0019931793212890625, -0.0104217529296875, 0.00241851806640625, 0.005077362060546875, -0.00015211105346679688, -0.02447509765625, -0.046112060546875, 0.0004973411560058594, 0.0012969970703125, 0.03509521484375, 0.0298614501953125, 0.04351806640625, 0.0163116455078125, 0.0167999267578125, 0.061065673828125, 0.04351806640625, 0.0132598876953125, -0.0005640983581542969, -0.0787353515625, -0.025543212890625, -0.00371551513671875, -0.0623779296875, 0.0113067626953125, 0.0413818359375, -0.00148773193359375, -0.056488037109375, 0.00812530517578125, -0.07269287109375, -0.07049560546875, -0.071533203125, 0.05181884765625, -0.020965576171875, 0.049774169921875, 0.00548553466796875, -0.0294189453125, -0.0207061767578125, -0.023223876953125, -0.01071929931640625, -0.01087188720703125, 0.005474090576171875, -0.0236358642578125, 0.031982421875, -0.037933349609375, -0.006595611572265625, 0.0296783447265625, -0.03680419921875, -0.01248931884765625, 0.010650634765625, -0.0218658447265625, 0.00679779052734375, 0.021942138671875, 0.0264892578125, -0.00988006591796875, -0.0202178955078125, 0.0287017822265625, 0.01154327392578125, -0.0310211181640625, -0.019805908203125, 0.0211181640625, -0.034698486328125, -0.023101806640625, 0.0149688720703125, -0.0153961181640625, 0.007099151611328125, -0.01207733154296875, 0.0206756591796875, 0.0218963623046875, 0.0330810546875, 0.0034427642822265625, 0.0025787353515625, -0.0196075439453125, -0.0299072265625, -0.041290283203125, 0.02880859375, -0.0117645263671875, 0.007808685302734375, -0.004634857177734375, 0.0265655517578125, -0.0031452178955078125, 0.01456451416015625, -0.044677734375, -0.007770538330078125, 0.05120849609375, -0.002849578857421875, 0.0158843994140625, -0.003864288330078125, -0.0216217041015625, -0.002655029296875, 0.043487548828125, -0.01275634765625, -0.01399993896484375, 0.0307464599609375, 0.008636474609375, -0.0184478759765625, -0.003936767578125, -0.07025146484375, -0.0221099853515625, -0.0298004150390625, 0.0237579345703125, 0.0027408599853515625, -0.0114898681640625, -0.02191162109375, 0.005672454833984375, -0.029937744140625, -0.0223388671875, 0.00411224365234375, 0.029541015625, -0.0034046173095703125, 0.034210205078125, -0.036956787109375, 0.0266571044921875, 0.007701873779296875, -0.025146484375, -0.084716796875, -0.00916290283203125, -0.034210205078125, 0.0546875, 0.00934600830078125, -0.005626678466796875, -0.019805908203125, 0.051055908203125, -0.0065765380859375, 0.016937255859375, 0.03717041015625, 0.0281829833984375, 0.059539794921875, -0.01158905029296875, 0.0268402099609375, -0.041839599609375, -0.01471710205078125, -0.0169525146484375, -0.00962066650390625, 0.06292724609375, -0.01465606689453125, 0.004474639892578125, -0.0193328857421875, 0.006622314453125, -0.0237579345703125, -0.014739990234375, -0.0174560546875, 0.0007696151733398438, 0.00787353515625, -0.006725311279296875, -0.0128936767578125, -0.036529541015625, 0.0276031494140625, 0.024993896484375, -0.0169830322265625, 0.017242431640625, 0.06591796875, 0.024444580078125, -0.0190887451171875, -0.0687255859375, -0.001728057861328125, 0.0204010009765625, -0.00856781005859375, 0.07012939453125, 0.0125274658203125, 0.00901031494140625, 0.058502197265625, -0.0254364013671875, -0.005283355712890625, -0.05010986328125, 0.0528564453125, -0.0288238525390625, -0.029205322265625, 0.0218658447265625, -0.048095703125, 0.040924072265625, 0.0191802978515625, -0.0196685791015625, 0.03155517578125, -0.01233673095703125, -0.01535797119140625, -0.004791259765625, -0.01378631591796875, -0.005802154541015625, -0.0194244384765625, 0.004909515380859375, 0.0259246826171875, 0.045196533203125, 0.0426025390625, -0.01132965087890625, 0.032073974609375, 0.0361328125, -0.021728515625, -0.0014581680297851562, -0.061248779296875, -0.0186004638671875, -0.0006036758422851562, -0.0120849609375, -0.012298583984375, 0.041778564453125, 0.00640869140625, 0.00778961181640625, 0.00368499755859375, -0.045989990234375, -0.016082763671875, 0.002880096435546875, -0.00388336181640625, 0.00978851318359375, 0.031524658203125, 0.004817962646484375, -0.014923095703125, -0.0275726318359375, 0.0028228759765625, 0.038116455078125, -0.0271453857421875, -0.03350830078125, -0.021759033203125, -0.003330230712890625, -0.031219482421875, -0.0186309814453125, -0.0010175704956054688, 0.0022182464599609375, -0.0270233154296875, -0.0022449493408203125, 0.01206207275390625, -0.006378173828125, 0.01337432861328125, 0.0233306884765625, 0.01250457763671875, -0.01020050048828125, -0.007671356201171875, 0.006023406982421875, -0.021026611328125, -0.039520263671875, 0.030853271484375, 0.040679931640625, -0.01336669921875, 0.000499725341796875, -0.01239776611328125, -0.005611419677734375, -0.0127410888671875, 0.00865936279296875, 0.0147247314453125, -0.020538330078125, 0.00949859619140625, 0.0227508544921875, 0.0011835098266601562, 0.0217742919921875, -0.00383758544921875, -0.03961181640625, -0.0333251953125, -0.007904052734375, -0.0089874267578125, -0.01483154296875, -0.014312744140625, -0.0300445556640625, -0.009246826171875, 0.0222930908203125, -0.01053619384765625, -0.08050537109375, -0.06634521484375, -0.0033397674560546875, 0.0032672882080078125, 0.055572509765625, -0.052734375, -0.0226593017578125, -0.035888671875, 0.05194091796875, -0.0633544921875, 0.0455322265625, 0.0122528076171875, 0.0189056396484375, -0.03253173828125, -0.032257080078125, -0.032196044921875, -0.013641357421875, -0.073486328125, -0.037200927734375, -0.0202789306640625, 0.03631591796875, 0.034759521484375, 0.0178375244140625, -0.005626678466796875, -0.0304412841796875, 0.0034961700439453125, 0.0169525146484375, 0.0159759521484375, 0.047576904296875, 0.01047515869140625, 0.01485443115234375, -0.024932861328125, 0.0682373046875, -0.0136566162109375, -0.0389404296875, -0.0180511474609375, -0.0241546630859375, -0.00653839111328125, -0.0472412109375, -0.01056671142578125, -0.0171661376953125, 0.0221405029296875, 0.0372314453125, 0.01357269287109375, 0.01131439208984375, -0.004817962646484375, -0.0249176025390625, 0.0146484375, -0.03424072265625, 0.034942626953125, -0.051605224609375, -0.045562744140625, -0.0036182403564453125, 0.00102996826171875, 0.03729248046875, -0.0202789306640625, -0.016143798828125, 0.019683837890625, -0.006320953369140625, 0.0205841064453125, -0.01910400390625, 0.039215087890625, -0.0180206298828125, 0.0037689208984375, 0.003444671630859375, 0.005138397216796875, 0.015869140625, 0.0229644775390625, -0.01082611083984375, 0.0025539398193359375, 0.016265869140625, 0.0604248046875, 0.0556640625, -0.004047393798828125, 0.002567291259765625, 0.0248565673828125, -0.0058441162109375, -0.0115966796875, 0.0209503173828125, 0.01486968994140625, -0.035247802734375, -0.014923095703125, -0.02911376953125, -0.0260009765625, 0.005596160888671875, 0.005279541015625, 0.0127105712890625, -0.0164031982421875, 0.04132080078125, 0.035003662109375, 0.0123748779296875, 0.04107666015625, -0.00461578369140625, -0.00911712646484375, -0.038238525390625, 0.034759521484375, 0.01215362548828125, -0.01503753662109375, 0.0248260498046875, -0.010284423828125, 0.02099609375, -0.0285186767578125, 0.0243988037109375, -0.0231475830078125, 0.004436492919921875, -0.0210113525390625, 0.01558685302734375, -0.0116424560546875, 0.0213165283203125, 0.02545166015625, 0.03009033203125, -0.018798828125, 0.050323486328125, -0.0184478759765625, 0.00557708740234375, 0.015106201171875, -0.005268096923828125, -0.037139892578125, -0.01039886474609375, 0.0333251953125, -0.005779266357421875, -0.0231170654296875, 0.0205230712890625, -0.041534423828125, -0.0175323486328125, 0.017974853515625, 0.057373046875, 0.04510498046875, -0.0284576416015625, -0.044921875, 0.0308380126953125, -0.0200653076171875, 0.0022258758544921875, -0.0037670135498046875, 0.039642333984375, -0.020050048828125, 0.0091552734375, 0.021575927734375, 0.01313018798828125, -0.004970550537109375, 0.02081298828125, -0.053375244140625, 0.080322265625, 0.02142333984375, 0.00506591796875, -0.0191497802734375, 0.0596923828125, -0.0166168212890625, 0.03857421875, -0.005855560302734375, 0.02813720703125, 0.0131378173828125, 0.0199737548828125, -0.0257110595703125, -0.0169830322265625, 0.00567626953125, 0.04034423828125, -0.026702880859375, 0.0010023117065429688, -0.037445068359375, -0.0230865478515625, -0.031982421875, 0.041717529296875, 0.0137786865234375, 0.0305328369140625, 0.0160675048828125, 0.0091400146484375, -0.006839752197265625, 0.003993988037109375, 0.0201416015625, -0.034271240234375, -0.038116455078125, 0.048614501953125, 0.006366729736328125, 0.0112152099609375, 0.0184478759765625, 0.020233154296875, -0.032562255859375, 0.01201629638671875, 0.0439453125, -0.056304931640625, -0.03131103515625, 0.0445556640625, 0.0167999267578125, -0.0635986328125, -0.01139068603515625, -0.041107177734375, 0.0372314453125, 0.00589752197265625, 0.019561767578125, 0.0027484893798828125, 0.00994110107421875, -0.01256561279296875, 0.0308837890625, 0.0159912109375, 0.05914306640625, -0.04046630859375, 0.032501220703125, -0.023406982421875, 0.00742340087890625, -0.0645751953125, 0.021270751953125, 0.037109375, 0.04156494140625, -0.03216552734375, -0.00994110107421875, -0.005161285400390625, 0.0180206298828125, 0.04095458984375, -0.0309600830078125, 0.0509033203125, 0.01021575927734375, 0.01151275634765625, -0.031341552734375, -0.04608154296875, -0.0012903213500976562, 0.0192108154296875, -0.0205535888671875, -0.00970458984375, 0.057769775390625, -0.0469970703125, -0.0517578125, 0.00872802734375, -0.00122833251953125, 0.045257568359375, 0.04266357421875, 0.0164642333984375, 0.01079559326171875, -0.010894775390625, -0.0078582763671875, -0.017364501953125, 0.0280609130859375, -0.0149993896484375, -0.001415252685546875, 0.016632080078125, 0.052825927734375, 0.016693115234375, -0.00732421875, 0.013092041015625, 0.001461029052734375, 0.045196533203125, 0.0499267578125, -0.0233306884765625, -0.0177154541015625, -0.0020999908447265625, -0.0012998580932617188, -0.03668212890625, 0.019622802734375, 0.010009765625, 0.0039005279541015625, 0.0013017654418945312, 0.006130218505859375, 0.05914306640625, -0.0090484619140625, 0.031463623046875, 0.01052093505859375, -0.027313232421875, -0.0201873779296875, -0.004482269287109375, 0.03265380859375, 0.01560211181640625, -0.05364990234375, -0.00861358642578125, 0.006221771240234375, -0.068603515625, 0.00981903076171875, 0.05078125, -0.0328369140625, 0.0152587890625, 0.023651123046875, 0.0177764892578125, 0.028839111328125, -0.051910400390625, 0.028717041015625, 0.037506103515625, 0.03204345703125, 0.0296478271484375, -0.0843505859375, -0.07318115234375, -0.0158233642578125, 0.07318115234375, -0.038116455078125, 0.10107421875, -0.035919189453125, 0.01084136962890625, -0.0289764404296875, 0.026641845703125, -0.0266571044921875, -0.00588226318359375, 0.01470184326171875, 0.03955078125, 0.01303863525390625, -0.034454345703125, -0.029388427734375, -0.034698486328125, 0.05206298828125, -0.03302001953125, -0.034942626953125, 0.00487518310546875, 0.0295562744140625, 0.00302886962890625, 0.00722503662109375, -0.01134490966796875, -0.03790283203125, -0.00434112548828125, 0.0197601318359375, 0.00936126708984375, 0.0296630859375, 0.002696990966796875, 0.058502197265625, 0.0236663818359375, 0.0130615234375, 0.024078369140625, -0.04473876953125, 0.039306640625, 0.0321044921875, -0.0247955322265625, -0.061065673828125, -0.0241851806640625, -0.0177459716796875, 0.01526641845703125, -0.0161285400390625, 0.046875, 0.00711822509765625, 0.00921630859375, 0.04058837890625, 0.062469482421875, 0.058074951171875, -0.0207672119140625, 0.0257568359375, 0.06011962890625, -0.0303802490234375, 0.007442474365234375, 0.0038909912109375, -0.023651123046875, -0.0386962890625, -0.003849029541015625, 0.0235137939453125, -0.03973388671875, -0.0188140869140625, -0.0953369140625, 0.0014667510986328125, 0.0082244873046875, 0.0018129348754882812, -0.0523681640625, 0.02862548828125, 0.00743865966796875, 0.027496337890625, -0.0084686279296875, 0.0167694091796875, -0.0179595947265625, 0.007701873779296875, -0.0190277099609375, -0.039581298828125, -0.0251617431640625, 0.041656494140625, -0.024261474609375, 0.0141143798828125, 0.0018968582153320312, -0.016510009765625, 0.033172607421875, 0.006336212158203125, 0.03765869140625, 0.0625, 0.00994110107421875, -0.0123443603515625, -0.00728607177734375, 0.007598876953125, -0.025390625, -0.0058746337890625, 0.03448486328125, -0.01491546630859375, -0.044189453125, 0.01314544677734375, -0.03717041015625, -0.01540374755859375, -0.06085205078125, -0.0931396484375, -0.0023059844970703125, 0.00809478759765625, -0.05596923828125, -0.03607177734375, 0.0277099609375, -0.0234527587890625, -0.007198333740234375, -0.0269622802734375, 0.033203125, 0.0184326171875, 0.04205322265625, -0.0209808349609375, 0.0095062255859375, 0.0201416015625, -0.026580810546875, -0.01873779296875, -0.01511383056640625, -0.005588531494140625, -0.0188446044921875, -0.035125732421875, 0.0007567405700683594, 0.013153076171875, 0.0238800048828125, -0.019622802734375, -0.01020050048828125, 0.0190887451171875, 0.007228851318359375, 0.0264129638671875, -0.0154266357421875, -0.0292816162109375, -0.014068603515625, 0.035247802734375, -0.0014123916625976562, 0.00548553466796875, -0.0080413818359375, 0.038482666015625, 0.0155487060546875, -0.04595947265625, 0.020782470703125, 0.0213470458984375, -0.025848388671875, -0.011138916015625, 0.0031147003173828125, 0.00714111328125, 0.0006957054138183594, 0.003986358642578125, -0.005985260009765625, -0.0225067138671875, -0.023345947265625, -0.030609130859375, -0.047515869140625, -0.029327392578125, 0.0618896484375, -0.040283203125, -0.04034423828125, -0.0004892349243164062, 0.027618408203125, 0.0019817352294921875, -0.025390625, -0.0281219482421875, -0.038848876953125, -0.0270233154296875, 0.038421630859375, -0.037506103515625, 0.03875732421875, -0.044921875, -0.0037250518798828125, -0.03753662109375, -0.0037384033203125, 0.003444671630859375, -0.0250396728515625, -0.021484375, 0.045440673828125, 0.0175018310546875, 0.09503173828125, 0.00412750244140625, 0.01534271240234375, -0.0003001689910888672, 0.0201568603515625, 0.01145172119140625, -0.02191162109375, 0.035125732421875, -0.04376220703125, -0.0031719207763671875, -0.0263519287109375, -0.000059664249420166016, -0.06829833984375, 0.0138397216796875, 0.00890350341796875, 0.01094818115234375, 0.028167724609375 ]
af2719f5e746ae7942df7ca12919df75be04ac21
Wordpress Stackexchange Q: Hide gutenberg option blocks How to Hide/disable every feature on the New Post creator, Just the following area visible: * *Gutenberg Editor *Publish button *Tags *Categories Even hiding the left sidebar and all menu options too. A: Some of the panels related to the entire post (e.g. the featured image, excerpt) can be removed and https://github.com/WordPress/gutenberg/issues/17281 shows how. e.g. wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'featured-image' ); wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'post-excerpt' ); The sidebar is also used for additional block options and there's currently no cohesive, consistent way to manage whether a block's options are available to your editors.
Q: Hide gutenberg option blocks How to Hide/disable every feature on the New Post creator, Just the following area visible: * *Gutenberg Editor *Publish button *Tags *Categories Even hiding the left sidebar and all menu options too. A: Some of the panels related to the entire post (e.g. the featured image, excerpt) can be removed and https://github.com/WordPress/gutenberg/issues/17281 shows how. e.g. wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'featured-image' ); wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'post-excerpt' ); The sidebar is also used for additional block options and there's currently no cohesive, consistent way to manage whether a block's options are available to your editors.
wordpress
{ "language": "en", "length": 95, "provenance": "stackexchange_00019.jsonl.gz:502113", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/361543" }
[ 0.00994873046875, -0.00010764598846435547, -0.0142669677734375, 0.040679931640625, 0.0125274658203125, -0.04998779296875, 0.05010986328125, -0.0323486328125, 0.0151214599609375, 0.03643798828125, 0.02520751953125, -0.059967041015625, 0.037994384765625, -0.0479736328125, -0.031402587890625, -0.01031494140625, 0.025177001953125, 0.026580810546875, 0.04290771484375, 0.00531768798828125, -0.00151824951171875, 0.0251617431640625, -0.0083465576171875, 0.05291748046875, 0.0090484619140625, -0.04022216796875, 0.03912353515625, -0.0252838134765625, 0.02154541015625, -0.0170135498046875, 0.031585693359375, -0.00559234619140625, -0.0028858184814453125, 0.0305633544921875, -0.021881103515625, 0.022216796875, 0.00029206275939941406, 0.007099151611328125, 0.01551055908203125, -0.0014677047729492188, 0.033935546875, -0.0234527587890625, -0.042510986328125, -0.05670166015625, -0.0287322998046875, 0.0078887939453125, 0.00870513916015625, -0.0165863037109375, 0.035980224609375, 0.0670166015625, -0.009918212890625, 0.0175628662109375, -0.0180206298828125, 0.038055419921875, -0.00001043081283569336, -0.031219482421875, -0.0279693603515625, 0.054656982421875, 0.022369384765625, 0.037750244140625, -0.01291656494140625, 0.035125732421875, -0.01171875, -0.039031982421875, 0.0477294921875, -0.020111083984375, 0.0283355712890625, 0.04852294921875, -0.055755615234375, 0.0504150390625, 0.047271728515625, -0.048492431640625, 0.0179443359375, -0.0714111328125, 0.021575927734375, 0.023773193359375, -0.03668212890625, -0.020355224609375, 0.033416748046875, -0.032073974609375, -0.0012760162353515625, 0.0035800933837890625, -0.0193939208984375, -0.03802490234375, 0.022216796875, -0.018798828125, -0.01050567626953125, 0.01145172119140625, -0.01218414306640625, -0.00701904296875, -0.0017795562744140625, -0.04736328125, -0.047515869140625, 0.06842041015625, 0.035675048828125, -0.042266845703125, 0.041259765625, 0.003391265869140625, 0.017486572265625, -0.01776123046875, 0.001857757568359375, -0.047698974609375, 0.01511383056640625, -0.004421234130859375, 0.02325439453125, 0.0262603759765625, -0.051300048828125, 0.0051727294921875, 0.06353759765625, 0.036834716796875, 0.019317626953125, -0.0189056396484375, -0.0154876708984375, -0.00717926025390625, -0.002872467041015625, 0.00890350341796875, -0.056121826171875, 0.040313720703125, -0.0095367431640625, 0.039703369140625, 0.0010271072387695312, 0.00582122802734375, 0.0134124755859375, -0.0098419189453125, 0.020111083984375, 0.004528045654296875, -0.046875, 0.009185791015625, 0.0207672119140625, 0.01056671142578125, -0.03851318359375, 0.0015420913696289062, 0.060211181640625, 0.0411376953125, 0.0257110595703125, -0.0261077880859375, 0.00968170166015625, -0.00893402099609375, -0.0018157958984375, 0.0007739067077636719, -0.01434326171875, -0.01059722900390625, 0.02294921875, -0.036163330078125, -0.0016603469848632812, -0.0079498291015625, 0.035369873046875, 0.027587890625, -0.0224609375, -0.048492431640625, 0.00991058349609375, 0.01666259765625, 0.049591064453125, 0.01387786865234375, 0.01010894775390625, 0.0321044921875, 0.0870361328125, -0.01837158203125, -0.056243896484375, -0.042572021484375, 0.0196075439453125, 0.00827789306640625, 0.053558349609375, -0.0018644332885742188, -0.04205322265625, 0.0004756450653076172, -0.0423583984375, -0.014190673828125, 0.019622802734375, 0.0159149169921875, -0.0175323486328125, -0.057861328125, -0.007518768310546875, -0.032562255859375, -0.05194091796875, 0.0287628173828125, -0.0204620361328125, -0.00506591796875, -0.0008687973022460938, 0.03546142578125, 0.0004911422729492188, -0.03277587890625, -0.00464630126953125, 0.005161285400390625, -0.0811767578125, 0.06622314453125, -0.0034160614013671875, 0.0694580078125, 0.017486572265625, 0.00003743171691894531, 0.062469482421875, 0.01556396484375, -0.05401611328125, -0.0192413330078125, 0.01059722900390625, 0.018707275390625, -0.021697998046875, -0.0013904571533203125, 0.00704193115234375, -0.00830078125, 0.038848876953125, -0.00946044921875, 0.0238189697265625, -0.0149383544921875, -0.038482666015625, 0.0019664764404296875, -0.0189666748046875, 0.0233917236328125, -0.0182342529296875, 0.011199951171875, 0.018768310546875, -0.022125244140625, -0.03240966796875, 0.0164947509765625, -0.00875091552734375, -0.012664794921875, 0.0016040802001953125, 0.039215087890625, 0.01385498046875, 0.0109100341796875, 0.039031982421875, -0.0174560546875, 0.02972412109375, 0.03131103515625, 0.08319091796875, -0.00647735595703125, 0.0132904052734375, -0.03814697265625, 0.069091796875, 0.017974853515625, -0.080078125, -0.007312774658203125, 0.0183868408203125, 0.0134429931640625, -0.0234832763671875, 0.01904296875, 0.035400390625, 0.002651214599609375, -0.01165008544921875, 0.0136566162109375, 0.033355712890625, 0.0182952880859375, -0.01401519775390625, -0.0282440185546875, 0.0479736328125, -0.0189666748046875, 0.01435089111328125, -0.031768798828125, 0.01319122314453125, 0.01212310791015625, -0.0120697021484375, -0.0090789794921875, 0.04364013671875, -0.01157379150390625, 0.029052734375, 0.0307769775390625, -0.01971435546875, 0.01485443115234375, 0.0018482208251953125, -0.023773193359375, 0.01102447509765625, -0.00954437255859375, -0.01477813720703125, -0.0163116455078125, 0.058502197265625, -0.00830841064453125, 0.044158935546875, 0.03363037109375, -0.04949951171875, -0.0036525726318359375, 0.034149169921875, 0.053497314453125, 0.0052947998046875, 0.034576416015625, 0.029388427734375, -0.01316070556640625, -0.0092620849609375, -0.01493072509765625, 0.01361083984375, 0.013092041015625, -0.0233001708984375, -0.031341552734375, -0.01062774658203125, 0.0022029876708984375, 0.0072479248046875, -0.03741455078125, 0.038726806640625, -0.0004417896270751953, -0.00907135009765625, -0.00388336181640625, 0.010040283203125, 0.00820159912109375, -0.0015869140625, 0.0111083984375, 0.0296630859375, -0.00951385498046875, 0.00615692138671875, -0.05963134765625, 0.033935546875, -0.028656005859375, 0.0677490234375, 0.06524658203125, -0.00861358642578125, 0.02252197265625, 0.020751953125, -0.045806884765625, 0.037811279296875, 0.004150390625, -0.0094451904296875, 0.01561737060546875, -0.06854248046875, 0.0035076141357421875, 0.0166473388671875, -0.024017333984375, 0.01348114013671875, -0.0085601806640625, -0.03387451171875, 0.0096282958984375, -0.0357666015625, 0.0220947265625, -0.036956787109375, -0.07769775390625, -0.03704833984375, -0.01439666748046875, -0.056854248046875, 0.029998779296875, 0.00824737548828125, 0.0102691650390625, -0.07293701171875, 0.005573272705078125, -0.0305938720703125, -0.032440185546875, -0.01271820068359375, 0.036285400390625, -0.01690673828125, 0.019134521484375, 0.00897979736328125, 0.06683349609375, -0.0020771026611328125, -0.0711669921875, -0.0015430450439453125, -0.04736328125, -0.0263824462890625, 0.025848388671875, -0.004241943359375, 0.0014667510986328125, -0.008636474609375, 0.029632568359375, -0.01546478271484375, 0.00356292724609375, -0.03271484375, -0.0301666259765625, -0.00492095947265625, 0.00482940673828125, -0.0014324188232421875, 0.0255889892578125, -0.0020084381103515625, -0.044158935546875, -0.007686614990234375, -0.05621337890625, -0.039581298828125, -0.01806640625, -0.043609619140625, -0.00566864013671875, 0.01285552978515625, 0.032012939453125, -0.00548553466796875, 0.0278167724609375, 0.033599853515625, 0.03314208984375, 0.04644775390625, -0.01476287841796875, 0.01280975341796875, -0.004047393798828125, 0.003917694091796875, -0.06964111328125, -0.022186279296875, -0.040374755859375, 0.008819580078125, -0.0294189453125, 0.00496673583984375, -0.01483917236328125, 0.0164947509765625, -0.0347900390625, -0.0080413818359375, 0.0220184326171875, -0.0257110595703125, -0.005016326904296875, 0.0100250244140625, -0.00460052490234375, 0.014678955078125, 0.03253173828125, -0.01190185546875, 0.00478363037109375, 0.01314544677734375, -0.00807952880859375, -0.03192138671875, 0.00927734375, -0.081298828125, 0.022003173828125, -0.045135498046875, 0.026824951171875, 0.005764007568359375, -0.038116455078125, -0.0142669677734375, -0.01169586181640625, -0.042510986328125, -0.0236358642578125, 0.047821044921875, -0.00716400146484375, 0.02001953125, -0.0013599395751953125, -0.0098419189453125, -0.0281829833984375, -0.037445068359375, 0.0018987655639648438, -0.06671142578125, 0.006313323974609375, -0.01404571533203125, 0.01081085205078125, -0.0362548828125, 0.06671142578125, -0.034149169921875, 0.0269012451171875, 0.022247314453125, 0.019622802734375, -0.0002968311309814453, -0.0107421875, 0.0214691162109375, -0.01348114013671875, 0.0174102783203125, -0.025115966796875, -0.0037384033203125, -0.0004818439483642578, -0.0264892578125, 0.0145416259765625, -0.0322265625, -0.052001953125, -0.0011444091796875, -0.0311431884765625, -0.047119140625, -0.055908203125, -0.071533203125, 0.0111846923828125, -0.051727294921875, 0.015716552734375, -0.064208984375, -0.08056640625, 0.04486083984375, -0.02996826171875, -0.00974273681640625, 0.019073486328125, 0.08892822265625, 0.0137176513671875, -0.00508880615234375, -0.039947509765625, -0.003467559814453125, 0.027679443359375, 0.023468017578125, 0.057769775390625, 0.037506103515625, -0.0139923095703125, 0.043243408203125, 0.0164947509765625, -0.01153564453125, -0.040252685546875, 0.08184814453125, -0.0168914794921875, -0.01123046875, 0.0015010833740234375, -0.04345703125, 0.042633056640625, 0.0016984939575195312, -0.022705078125, 0.01351165771484375, -0.0298919677734375, 0.0202484130859375, -0.0006160736083984375, 0.0007476806640625, -0.026702880859375, 0.00804901123046875, -0.00942230224609375, 0.027984619140625, 0.0484619140625, 0.04278564453125, -0.0087127685546875, 0.02532958984375, 0.04840087890625, -0.00815582275390625, -0.01123046875, -0.0203094482421875, -0.03662109375, 0.025299072265625, -0.0209503173828125, -0.01447296142578125, 0.0160675048828125, 0.0189666748046875, -0.0011444091796875, -0.041778564453125, -0.06365966796875, -0.04888916015625, -0.002765655517578125, 0.01076507568359375, 0.037078857421875, -0.0156402587890625, 0.035186767578125, 0.0171966552734375, -0.03045654296875, -0.0164337158203125, 0.000701904296875, -0.02264404296875, -0.047943115234375, -0.009368896484375, 0.0009226799011230469, -0.002956390380859375, 0.045562744140625, 0.0170745849609375, -0.0067138671875, 0.0251922607421875, -0.0219573974609375, 0.0281829833984375, -0.0032520294189453125, 0.004486083984375, 0.004512786865234375, 0.0131988525390625, 0.0280303955078125, -0.037384033203125, 0.01064300537109375, -0.035125732421875, -0.031982421875, 0.0311126708984375, 0.031280517578125, 0.027191162109375, 0.014251708984375, -0.0145416259765625, 0.0124969482421875, -0.016998291015625, 0.036407470703125, 0.0030364990234375, -0.046783447265625, -0.023590087890625, 0.0223236083984375, 0.036956787109375, -0.0059661865234375, -0.017608642578125, -0.0224151611328125, -0.0406494140625, -0.010406494140625, 0.00943756103515625, -0.06365966796875, 0.0177001953125, 0.009735107421875, -0.0175628662109375, 0.0007610321044921875, -0.005680084228515625, -0.04522705078125, -0.051849365234375, -0.00334930419921875, 0.0058746337890625, 0.051513671875, -0.044769287109375, -0.00811004638671875, -0.00968170166015625, 0.0239105224609375, -0.00396728515625, 0.0244293212890625, 0.033294677734375, 0.03778076171875, -0.0295257568359375, -0.00885772705078125, -0.0338134765625, 0.0049285888671875, -0.031829833984375, -0.054046630859375, -0.0170745849609375, -0.00440216064453125, 0.0211334228515625, 0.0079498291015625, -0.00402069091796875, -0.0273284912109375, 0.00658416748046875, 0.0191497802734375, 0.0244903564453125, 0.037994384765625, -0.000054836273193359375, 0.055419921875, -0.022064208984375, 0.061431884765625, 0.007350921630859375, -0.002544403076171875, -0.0280303955078125, -0.021453857421875, -0.043548583984375, -0.048492431640625, 0.00931549072265625, 0.0286865234375, 0.0170135498046875, 0.0309600830078125, 0.006572723388671875, 0.016815185546875, 0.01470184326171875, -0.0250701904296875, 0.0059356689453125, -0.0367431640625, 0.0222320556640625, -0.06903076171875, 0.0000635981559753418, -0.045684814453125, -0.01166534423828125, 0.0323486328125, 0.007015228271484375, -0.037200927734375, 0.04937744140625, -0.01165771484375, 0.0199737548828125, 0.02874755859375, 0.0379638671875, -0.00908660888671875, 0.066650390625, -0.007572174072265625, 0.0372314453125, 0.03802490234375, 0.00873565673828125, 0.0229034423828125, 0.010528564453125, -0.05120849609375, 0.00531005859375, 0.025054931640625, 0.0247955322265625, 0.0195159912109375, 0.042694091796875, 0.005767822265625, 0.00603485107421875, 0.039031982421875, 0.046478271484375, -0.061614990234375, -0.00202178955078125, 0.014404296875, -0.017120361328125, 0.0139312744140625, 0.0023975372314453125, -0.008026123046875, -0.033660888671875, 0.01543426513671875, -0.032073974609375, -0.0101165771484375, 0.00028586387634277344, -0.0207061767578125, -0.0276641845703125, -0.0146484375, 0.01611328125, 0.0280609130859375, -0.04345703125, 0.03466796875, 0.0199432373046875, 0.01178741455078125, -0.0249481201171875, 0.0003845691680908203, 0.029296875, -0.0271759033203125, -0.06610107421875, 0.0260009765625, -0.0106048583984375, -0.006961822509765625, 0.07061767578125, 0.01232147216796875, -0.033050537109375, 0.048187255859375, -0.038055419921875, 0.059661865234375, -0.006160736083984375, -0.026153564453125, -0.0309295654296875, -0.0241241455078125, -0.0083770751953125, -0.002109527587890625, -0.0035839080810546875, 0.0243377685546875, -0.00988006591796875, -0.042938232421875, -0.011444091796875, 0.044036865234375, 0.11376953125, -0.021392822265625, -0.055084228515625, 0.0241851806640625, 0.007659912109375, -0.01221466064453125, -0.0019378662109375, 0.02056884765625, -0.01181793212890625, 0.0190887451171875, -0.01067352294921875, 0.00847625732421875, -0.004608154296875, 0.006923675537109375, -0.06866455078125, 0.11944580078125, 0.01082611083984375, 0.032806396484375, -0.01345062255859375, 0.055816650390625, -0.02783203125, 0.025299072265625, -0.0138702392578125, 0.062255859375, -0.024078369140625, 0.0333251953125, -0.05328369140625, -0.0013742446899414062, 0.002651214599609375, 0.03125, 0.056304931640625, 0.0016117095947265625, -0.0009140968322753906, -0.0352783203125, 0.013092041015625, 0.048370361328125, -0.0228424072265625, 0.004962921142578125, -0.018890380859375, 0.0234832763671875, -0.019775390625, -0.059295654296875, 0.01690673828125, -0.053192138671875, -0.0478515625, 0.0051422119140625, 0.026031494140625, 0.055084228515625, 0.0129241943359375, 0.017364501953125, 0.030487060546875, -0.005062103271484375, 0.0171966552734375, -0.04083251953125, -0.041748046875, 0.04241943359375, 0.027923583984375, -0.07537841796875, -0.006744384765625, -0.050262451171875, 0.04913330078125, 0.030731201171875, 0.01934814453125, -0.004222869873046875, 0.0247344970703125, -0.0189208984375, -0.020263671875, 0.0174407958984375, 0.052093505859375, -0.07635498046875, 0.0017499923706054688, -0.005313873291015625, 0.036590576171875, -0.03369140625, 0.0301055908203125, 0.01654052734375, 0.003002166748046875, -0.01042938232421875, -0.05517578125, 0.0014219284057617188, 0.01263427734375, 0.0123138427734375, 0.0014791488647460938, -0.0016374588012695312, 0.017120361328125, 0.06341552734375, -0.0305328369140625, -0.005992889404296875, -0.0007700920104980469, 0.02874755859375, -0.0167999267578125, 0.0032939910888671875, -0.00662994384765625, -0.0304718017578125, -0.038909912109375, -0.0094451904296875, 0.00612640380859375, 0.0307464599609375, 0.043548583984375, 0.024261474609375, 0.04376220703125, -0.01284027099609375, -0.049652099609375, 0.0141143798828125, -0.0016155242919921875, 0.0684814453125, -0.07867431640625, -0.003582000732421875, 0.033782958984375, 0.0513916015625, 0.00994873046875, 0.043426513671875, 0.04010009765625, 0.055938720703125, 0.014739990234375, -0.01081085205078125, 0.056121826171875, -0.0028553009033203125, -0.0063323974609375, -0.0303497314453125, 0.01461029052734375, 0.00435638427734375, -0.0047454833984375, -0.005519866943359375, 0.040557861328125, 0.00469207763671875, -0.0159149169921875, 0.0175323486328125, 0.0031375885009765625, -0.04705810546875, 0.01230621337890625, -0.00464630126953125, 0.05938720703125, 0.0200042724609375, -0.058502197265625, -0.006748199462890625, -0.017578125, -0.03179931640625, 0.0096588134765625, 0.02813720703125, -0.030487060546875, 0.0298919677734375, 0.0105743408203125, 0.022430419921875, 0.004894256591796875, -0.049072265625, 0.040374755859375, 0.043365478515625, 0.00878143310546875, 0.043548583984375, -0.0496826171875, -0.016265869140625, 0.01129913330078125, 0.0135040283203125, -0.0165557861328125, 0.09417724609375, -0.0026378631591796875, -0.018463134765625, -0.0176239013671875, 0.01351165771484375, -0.04632568359375, -0.002902984619140625, -0.010223388671875, 0.00495147705078125, 0.029388427734375, -0.0021152496337890625, -0.050384521484375, 0.0006108283996582031, 0.045867919921875, -0.0017461776733398438, 0.034088134765625, -0.0224151611328125, 0.0172119140625, -0.0233306884765625, -0.0163726806640625, -0.037017822265625, -0.047393798828125, -0.055694580078125, 0.020599365234375, 0.00247955322265625, -0.0069732666015625, -0.023895263671875, 0.0182037353515625, 0.01910400390625, -0.00849151611328125, 0.0124359130859375, 0.0016298294067382812, 0.0198974609375, 0.03271484375, -0.017608642578125, -0.01116943359375, 0.010955810546875, 0.0002397298812866211, -0.00418853759765625, 0.0304412841796875, -0.0229949951171875, 0.040924072265625, -0.0287017822265625, -0.0179901123046875, 0.0218048095703125, 0.022674560546875, -0.0263824462890625, 0.0145263671875, 0.016204833984375, -0.019866943359375, -0.00850677490234375, 0.0682373046875, 0.0025882720947265625, 0.01218414306640625, -0.05755615234375, -0.0266265869140625, -0.0232086181640625, -0.1025390625, -0.06610107421875, -0.0157012939453125, 0.025299072265625, 0.0096893310546875, -0.0791015625, 0.03131103515625, 0.01898193359375, 0.055328369140625, -0.0216522216796875, 0.032257080078125, -0.0143890380859375, 0.00615692138671875, -0.040618896484375, -0.0137481689453125, -0.0175628662109375, 0.011016845703125, -0.0160064697265625, 0.0093841552734375, 0.01277923583984375, -0.00994110107421875, 0.01314544677734375, -0.0003972053527832031, 0.01165008544921875, 0.042816162109375, -0.01751708984375, 0.002750396728515625, -0.033782958984375, 0.0269012451171875, -0.02581787109375, -0.030181884765625, 0.04461669921875, -0.0239715576171875, -0.061676025390625, -0.0095062255859375, -0.0222320556640625, -0.01560211181640625, -0.045654296875, -0.0616455078125, 0.0117950439453125, 0.021331787109375, -0.04815673828125, 0.015289306640625, 0.0279541015625, -0.025421142578125, 0.0301055908203125, 0.0185089111328125, -0.0036373138427734375, 0.0087738037109375, -0.00103759765625, -0.007244110107421875, 0.0243682861328125, 0.0364990234375, -0.037841796875, -0.003509521484375, -0.0203399658203125, -0.0113983154296875, -0.0027637481689453125, -0.0255889892578125, 0.003803253173828125, 0.01291656494140625, 0.00489044189453125, -0.0292205810546875, -0.005191802978515625, 0.006763458251953125, 0.022186279296875, -0.004703521728515625, -0.019073486328125, -0.04180908203125, -0.0243988037109375, 0.060394287109375, 0.045257568359375, 0.015472412109375, -0.01113128662109375, 0.034576416015625, -0.0003371238708496094, -0.0278472900390625, 0.0022602081298828125, 0.015472412109375, -0.050262451171875, -0.025787353515625, 0.035552978515625, -0.01361083984375, 0.0168304443359375, 0.0002390146255493164, -0.046112060546875, -0.00601959228515625, -0.07818603515625, -0.03326416015625, -0.086181640625, 0.03228759765625, 0.002643585205078125, -0.0263519287109375, -0.0068511962890625, -0.0212860107421875, -0.0186614990234375, 0.002368927001953125, -0.024261474609375, -0.0736083984375, -0.032318115234375, 0.0017242431640625, 0.0445556640625, -0.039703369140625, 0.046295166015625, -0.03289794921875, 0.03765869140625, 0.00363922119140625, -0.003082275390625, 0.0017309188842773438, -0.03033447265625, -0.030914306640625, 0.039276123046875, -0.01227569580078125, 0.0498046875, -0.019256591796875, 0.050537109375, -0.0007367134094238281, 0.0252685546875, 0.009307861328125, -0.021636962890625, 0.052642822265625, -0.02301025390625, 0.0157928466796875, 0.031829833984375, 0.0269317626953125, 0.004917144775390625, -0.006366729736328125, -0.036773681640625, 0.0103607177734375, -0.007717132568359375 ]
b48c352912e36b6074961d0eebe70e782d073e00
Wordpress Stackexchange Q: How to remove the site health dashboard widget? WordPress 5.4 introduced the Site Health Status dashboard widget (source). The dashboard widget shows the status of the site health check: How can I remove the Site Health Status dashboard widget? A: The following snippet removes the registered site health dashboard widget from the dashboard. Add the code to your plugin or functions.php file: add_action('wp_dashboard_setup', 'remove_site_health_dashboard_widget'); function remove_site_health_dashboard_widget() { remove_meta_box('dashboard_site_health', 'dashboard', 'normal'); }
Q: How to remove the site health dashboard widget? WordPress 5.4 introduced the Site Health Status dashboard widget (source). The dashboard widget shows the status of the site health check: How can I remove the Site Health Status dashboard widget? A: The following snippet removes the registered site health dashboard widget from the dashboard. Add the code to your plugin or functions.php file: add_action('wp_dashboard_setup', 'remove_site_health_dashboard_widget'); function remove_site_health_dashboard_widget() { remove_meta_box('dashboard_site_health', 'dashboard', 'normal'); } A: Log in to your Dashboard. On the screen showing the "Site Health" widget, click the "Screen Options" menu item at the top right of your screen and turn off "Site Health" and any other widgets you don't want to see. Each time you login the Site Health functions will not appear. This is a per user function, therefore turning it off only removes it for you and not other users. A: I created a free, lightweight, plugin to solve this issue https://wordpress.org/plugins/remove-site-heath-from-dashboard/ A: Putting this in your functions.php will remove Site Health widget from the dashboard: add_action( 'wp_dashboard_setup', 'remove_site_health_widget' ); function remove_site_health_widget() { global $wp_meta_boxes; unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health'] ); } And this will remove the respective option from the menu: add_action( 'admin_menu', 'remove_site_health_submenu', 999 ); function remove_site_health_submenu() { $page = remove_submenu_page( 'tools.php', 'site-health.php' ); } I don't believe that removing Site Health altogether is advisable, though, as it is a nice feature that can help you fix problems that might otherwise be undetected. What I suggest, instead, is hiding it from everyone except for the main Admin.
wordpress
{ "language": "en", "length": 249, "provenance": "stackexchange_00019.jsonl.gz:502326", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/363042" }
[ 0.07720947265625, -0.01099395751953125, -0.02630615234375, -0.039459228515625, 0.0286865234375, -0.05548095703125, 0.0595703125, 0.00478363037109375, 0.01494598388671875, 0.0234375, -0.011688232421875, -0.01739501953125, -0.01348876953125, -0.01299285888671875, -0.03753662109375, -0.03204345703125, 0.038116455078125, -0.030059814453125, 0.0284576416015625, -0.00211334228515625, -0.0006299018859863281, 0.0158538818359375, 0.039764404296875, 0.032806396484375, -0.01263427734375, 0.0288238525390625, 0.021636962890625, 0.0012454986572265625, -0.05242919921875, -0.05499267578125, -0.00545501708984375, 0.055511474609375, -0.01033782958984375, 0.0675048828125, -0.047515869140625, 0.00554656982421875, -0.0159912109375, 0.04144287109375, 0.023162841796875, 0.01062774658203125, 0.00620269775390625, -0.0057373046875, 0.034912109375, -0.038970947265625, -0.007007598876953125, 0.0284423828125, -0.0184326171875, -0.0391845703125, 0.010162353515625, -0.0221405029296875, 0.0168914794921875, 0.033905029296875, 0.0352783203125, -0.07928466796875, -0.023712158203125, -0.03704833984375, 0.027099609375, -0.0063018798828125, 0.036956787109375, 0.017547607421875, -0.0293426513671875, 0.01241302490234375, -0.0045623779296875, -0.049652099609375, -0.03961181640625, 0.00722503662109375, 0.01371002197265625, -0.0246734619140625, -0.039306640625, -0.0013532638549804688, 0.040191650390625, -0.0271148681640625, 0.0186004638671875, 0.0221099853515625, -0.068359375, -0.049957275390625, 0.0240478515625, -0.051849365234375, 0.02655029296875, -0.033111572265625, 0.0181121826171875, 0.00536346435546875, -0.033660888671875, -0.01274871826171875, 0.040771484375, 0.039459228515625, -0.0004906654357910156, -0.03533935546875, -0.0241546630859375, 0.002368927001953125, -0.01345062255859375, -0.049224853515625, -0.0000826120376586914, 0.0098876953125, 0.00304412841796875, -0.033447265625, -0.0190277099609375, 0.02880859375, -0.045166015625, -0.0157318115234375, 0.0017642974853515625, -0.01087188720703125, -0.00376129150390625, -0.03240966796875, -0.01904296875, 0.029052734375, -0.022186279296875, -0.00545501708984375, 0.00708770751953125, 0.045074462890625, 0.007564544677734375, -0.049224853515625, -0.002338409423828125, -0.043853759765625, -0.038421630859375, 0.06329345703125, 0.0311126708984375, -0.03326416015625, 0.0261383056640625, -0.007450103759765625, -0.006011962890625, 0.005275726318359375, -0.015838623046875, -0.0164031982421875, 0.023529052734375, -0.005344390869140625, -0.02496337890625, 0.01509857177734375, -0.0775146484375, -0.0136871337890625, -0.022491455078125, -0.00005131959915161133, 0.052581787109375, 0.08941650390625, 0.039093017578125, -0.002346038818359375, 0.03607177734375, -0.041839599609375, 0.004001617431640625, 0.028717041015625, -0.0005488395690917969, -0.049957275390625, -0.0260162353515625, -0.0133514404296875, 0.02655029296875, 0.0009489059448242188, 0.003894805908203125, 0.006805419921875, 0.0310211181640625, 0.0036468505859375, 0.002399444580078125, -0.01372528076171875, 0.044708251953125, 0.007171630859375, -0.020965576171875, -0.01568603515625, -0.00150299072265625, -0.026702880859375, -0.025299072265625, -0.037689208984375, 0.033355712890625, -0.00839996337890625, -0.00482177734375, 0.01122283935546875, -0.01108551025390625, 0.00005239248275756836, -0.02874755859375, 0.00203704833984375, 0.032196044921875, 0.0136871337890625, -0.0022869110107421875, -0.077392578125, 0.00038433074951171875, 0.037200927734375, 0.002166748046875, 0.0684814453125, 0.016143798828125, 0.01204681396484375, 0.00893402099609375, -0.038726806640625, -0.0465087890625, -0.060333251953125, -0.01556396484375, -0.003326416015625, -0.0733642578125, 0.004894256591796875, 0.0209503173828125, 0.06317138671875, 0.031982421875, 0.01995849609375, 0.057159423828125, -0.01837158203125, -0.0242462158203125, 0.0306396484375, 0.02313232421875, -0.02642822265625, -0.04669189453125, -0.00975799560546875, -0.0113525390625, -0.0179443359375, 0.0189208984375, 0.031768798828125, -0.03533935546875, 0.014068603515625, -0.098876953125, 0.0250701904296875, -0.0285186767578125, 0.043792724609375, 0.03155517578125, 0.012054443359375, 0.00492095947265625, 0.0096588134765625, -0.034698486328125, 0.048187255859375, -0.03643798828125, -0.0158233642578125, 0.01177215576171875, 0.01456451416015625, -0.024505615234375, 0.006114959716796875, -0.056243896484375, -0.017120361328125, -0.037200927734375, 0.021453857421875, 0.06842041015625, -0.0093841552734375, -0.01531219482421875, -0.027374267578125, 0.0714111328125, -0.0283660888671875, 0.009185791015625, 0.056610107421875, 0.005832672119140625, 0.0028438568115234375, -0.0009899139404296875, 0.021026611328125, 0.02935791015625, -0.07916259765625, 0.0077056884765625, 0.040740966796875, 0.0294647216796875, 0.042510986328125, -0.0142974853515625, 0.019287109375, -0.002040863037109375, -0.09454345703125, -0.0232391357421875, 0.032745361328125, 0.0095062255859375, 0.072021484375, -0.01126861572265625, 0.0323486328125, 0.00780487060546875, 0.0197296142578125, -0.0007262229919433594, 0.0299224853515625, -0.021514892578125, -0.008514404296875, -0.03533935546875, -0.005542755126953125, 0.0175018310546875, -0.049407958984375, -0.0491943359375, -0.0269622802734375, 0.0191650390625, 0.0081939697265625, 0.0287017822265625, 0.028472900390625, -0.032867431640625, -0.0101776123046875, 0.0213165283203125, 0.02264404296875, -0.0157012939453125, 0.046173095703125, 0.042022705078125, 0.00630950927734375, -0.030975341796875, -0.020416259765625, -0.01070404052734375, 0.026336669921875, -0.00018012523651123047, -0.0023593902587890625, 0.032318115234375, -0.005825042724609375, 0.037078857421875, -0.0160369873046875, 0.019439697265625, -0.0194549560546875, 0.01248931884765625, -0.01322174072265625, 0.0012798309326171875, 0.01171112060546875, -0.0064697265625, 0.02301025390625, 0.034149169921875, -0.027557373046875, -0.0419921875, -0.0207061767578125, 0.019256591796875, -0.011077880859375, 0.023345947265625, 0.0653076171875, 0.020751953125, 0.0016908645629882812, -0.002986907958984375, -0.006832122802734375, -0.01078033447265625, 0.000009953975677490234, -0.0037593841552734375, 0.0129852294921875, -0.0297393798828125, 0.0843505859375, 0.0226287841796875, 0.0074920654296875, 0.0220794677734375, -0.029571533203125, 0.00048065185546875, -0.0021305084228515625, -0.06390380859375, -0.07000732421875, -0.032012939453125, 0.0251617431640625, -0.0288543701171875, 0.047119140625, 0.00946044921875, 0.0173187255859375, 0.03997802734375, 0.0014486312866210938, -0.020355224609375, -0.0138397216796875, -0.03350830078125, -0.03814697265625, -0.03765869140625, 0.00812530517578125, -0.0156097412109375, 0.012786865234375, 0.0086212158203125, 0.059234619140625, -0.0061187744140625, -0.07513427734375, -0.01151275634765625, 0.00876617431640625, -0.005924224853515625, 0.0187225341796875, 0.012603759765625, -0.038604736328125, 0.00860595703125, 0.0010585784912109375, -0.0099639892578125, 0.01580810546875, 0.0028285980224609375, -0.006099700927734375, -0.01346588134765625, -0.0270233154296875, -0.0033817291259765625, 0.035736083984375, 0.0102996826171875, -0.057403564453125, -0.0005588531494140625, -0.08013916015625, -0.018096923828125, 0.01323699951171875, -0.0289764404296875, 0.0037059783935546875, -0.0017681121826171875, -0.0189056396484375, 0.028228759765625, 0.00714874267578125, 0.03851318359375, 0.000988006591796875, 0.007518768310546875, 0.0018968582153320312, 0.01849365234375, 0.0080718994140625, 0.025115966796875, -0.02996826171875, -0.017547607421875, -0.047943115234375, 0.052154541015625, -0.00373077392578125, -0.0096893310546875, -0.020416259765625, 0.028106689453125, 0.0000883936882019043, 0.0200653076171875, 0.00902557373046875, -0.00992584228515625, 0.0142059326171875, 0.0292510986328125, 0.006290435791015625, 0.019317626953125, 0.040435791015625, -0.0660400390625, 0.0015411376953125, 0.00809478759765625, 0.01218414306640625, -0.047515869140625, -0.028564453125, -0.0889892578125, 0.00385284423828125, -0.1358642578125, 0.039337158203125, 0.019561767578125, -0.04583740234375, -0.0186614990234375, 0.0022411346435546875, -0.0823974609375, -0.056610107421875, 0.037353515625, 0.01611328125, -0.0012111663818359375, 0.006252288818359375, -0.0117645263671875, -0.0039005279541015625, -0.0159454345703125, -0.00585174560546875, -0.029693603515625, -0.01342010498046875, -0.01641845703125, 0.0285186767578125, 0.01195526123046875, -0.0188446044921875, -0.002864837646484375, 0.0196533203125, 0.0055999755859375, -0.002918243408203125, -0.011138916015625, 0.00009840726852416992, 0.0074615478515625, -0.0065765380859375, -0.019927978515625, -0.0008087158203125, -0.015716552734375, -0.0164947509765625, -0.0237884521484375, 0.015655517578125, -0.01506805419921875, 0.0106048583984375, 0.005367279052734375, -0.01629638671875, -0.05230712890625, -0.057525634765625, -0.031494140625, -0.00946807861328125, -0.03009033203125, 0.0216522216796875, -0.03973388671875, -0.042694091796875, 0.0323486328125, 0.0467529296875, -0.018310546875, 0.00974273681640625, 0.039215087890625, 0.008575439453125, -0.034149169921875, -0.0609130859375, -0.044403076171875, 0.0289764404296875, -0.0060882568359375, 0.0110626220703125, 0.0207977294921875, -0.029052734375, 0.0224456787109375, 0.0107574462890625, -0.0294036865234375, 0.000015497207641601562, 0.055450439453125, 0.001636505126953125, -0.02618408203125, 0.024017333984375, -0.041473388671875, 0.006694793701171875, -0.032012939453125, 0.016082763671875, 0.0175323486328125, 0.0232696533203125, -0.0095367431640625, 0.0300750732421875, -0.0457763671875, -0.005558013916015625, -0.0119781494140625, 0.00919342041015625, 0.0042877197265625, 0.004550933837890625, -0.0221405029296875, 0.019866943359375, -0.0232696533203125, 0.0034923553466796875, -0.00695037841796875, -0.04986572265625, -0.034332275390625, -0.0692138671875, 0.0011091232299804688, -0.01085662841796875, -0.044647216796875, 0.0091552734375, -0.016815185546875, 0.0191497802734375, 0.0305938720703125, -0.048065185546875, 0.04058837890625, 0.004177093505859375, 0.0267181396484375, 0.01502227783203125, 0.013885498046875, 0.04351806640625, 0.04058837890625, -0.040802001953125, -0.0270538330078125, 0.027374267578125, -0.01235198974609375, -0.05908203125, -0.0226287841796875, -0.01727294921875, -0.001949310302734375, 0.02294921875, 0.025726318359375, 0.0095367431640625, 0.024078369140625, -0.0231475830078125, 0.057952880859375, 0.0169525146484375, 0.01450347900390625, -0.00664520263671875, 0.020050048828125, 0.0159149169921875, -0.0171356201171875, 0.0059356689453125, -0.0243377685546875, -0.018096923828125, -0.00896453857421875, 0.00864410400390625, -0.01131439208984375, -0.003108978271484375, 0.0179901123046875, -0.021484375, -0.01107025146484375, 0.07958984375, 0.0088958740234375, -0.09234619140625, -0.0121612548828125, 0.039886474609375, 0.01149749755859375, -0.062469482421875, 0.02362060546875, 0.0153045654296875, 0.0307769775390625, 0.0489501953125, 0.0171051025390625, 0.00431060791015625, 0.00029468536376953125, 0.00725555419921875, 0.002834320068359375, -0.0008230209350585938, -0.009490966796875, -0.09185791015625, -0.046173095703125, 0.004825592041015625, 0.0177154541015625, 0.02435302734375, -0.004718780517578125, 0.028106689453125, -0.052093505859375, 0.0145416259765625, -0.045166015625, -0.0216522216796875, 0.042572021484375, 0.01230621337890625, 0.00579071044921875, -0.050689697265625, -0.04937744140625, -0.044586181640625, -0.040802001953125, -0.0145721435546875, -0.0055999755859375, 0.03125, 0.01007843017578125, 0.03765869140625, -0.0009751319885253906, 0.00243377685546875, 0.028717041015625, -0.028839111328125, -0.033538818359375, 0.005908966064453125, -0.004360198974609375, 0.055267333984375, 0.00493621826171875, 0.07269287109375, 0.03094482421875, 0.053070068359375, -0.005443572998046875, -0.055999755859375, 0.03619384765625, 0.01483917236328125, -0.0570068359375, -0.050994873046875, 0.0126190185546875, -0.02239990234375, 0.04345703125, -0.030242919921875, -0.0003197193145751953, -0.007354736328125, 0.01058197021484375, -0.00962066650390625, 0.0020751953125, -0.0105743408203125, -0.01160430908203125, 0.005550384521484375, -0.0175628662109375, -0.02337646484375, 0.0138702392578125, 0.03570556640625, -0.030853271484375, 0.01485443115234375, -0.0406494140625, -0.009979248046875, -0.048126220703125, 0.09515380859375, 0.054473876953125, -0.00958251953125, 0.034027099609375, -0.00420379638671875, 0.005260467529296875, 0.0018243789672851562, 0.0246734619140625, -0.055389404296875, -0.0465087890625, 0.005336761474609375, 0.0202789306640625, 0.02081298828125, 0.026275634765625, -0.003665924072265625, 0.0017833709716796875, 0.0170745849609375, 0.0262298583984375, -0.0606689453125, 0.0308685302734375, -0.00740814208984375, 0.02337646484375, 0.08282470703125, -0.02728271484375, -0.0153045654296875, -0.10101318359375, 0.06463623046875, 0.047149658203125, 0.004119873046875, 0.0173187255859375, -0.006671905517578125, 0.004261016845703125, 0.0156707763671875, 0.037261962890625, -0.00630950927734375, -0.060760498046875, -0.045684814453125, 0.03546142578125, -0.023406982421875, 0.020111083984375, 0.006504058837890625, -0.003681182861328125, -0.0260467529296875, -0.06640625, -0.0189208984375, -0.0169525146484375, -0.0377197265625, 0.033599853515625, -0.0009307861328125, 0.023468017578125, 0.04132080078125, -0.0170745849609375, 0.012725830078125, 0.01059722900390625, -0.027984619140625, -0.0018453598022460938, 0.0024013519287109375, 0.017791748046875, -0.0141143798828125, -0.01788330078125, 0.0012559890747070312, -0.035369873046875, -0.01216888427734375, 0.0015039443969726562, 0.0145263671875, 0.090087890625, -0.056976318359375, -0.019134521484375, -0.0010051727294921875, 0.005184173583984375, 0.0211944580078125, -0.0203399658203125, 0.0545654296875, -0.035247802734375, 0.005584716796875, 0.001293182373046875, -0.012237548828125, -0.040496826171875, -0.0248870849609375, -0.039703369140625, 0.063720703125, 0.0143890380859375, -0.00821685791015625, -0.0057373046875, 0.02838134765625, -0.0284881591796875, 0.0177001953125, -0.026123046875, 0.037567138671875, 0.024261474609375, 0.00354766845703125, 0.02685546875, 0.025726318359375, 0.005321502685546875, -0.03277587890625, 0.01485443115234375, 0.0047454833984375, 0.04229736328125, -0.036468505859375, -0.014312744140625, 0.025177001953125, -0.0184326171875, -0.0033016204833984375, -0.0266571044921875, 0.032501220703125, 0.004070281982421875, -0.050689697265625, 0.0307769775390625, -0.0308380126953125, -0.04974365234375, -0.0034637451171875, 0.027252197265625, 0.01514434814453125, -0.01207733154296875, 0.018707275390625, 0.01044464111328125, -0.011871337890625, -0.005977630615234375, 0.040679931640625, 0.0175933837890625, 0.01032257080078125, -0.00530242919921875, 0.0266265869140625, 0.038970947265625, -0.02276611328125, 0.043670654296875, 0.00720977783203125, 0.014251708984375, 0.007236480712890625, 0.01959228515625, -0.031005859375, -0.012176513671875, 0.0041046142578125, 0.037811279296875, -0.04266357421875, 0.0171356201171875, 0.026824951171875, 0.02374267578125, 0.01094818115234375, 0.033355712890625, -0.0012111663818359375, 0.00872039794921875, -0.020294189453125, -0.0303802490234375, 0.01372528076171875, -0.012115478515625, -0.005825042724609375, 0.002941131591796875, 0.0237579345703125, -0.025543212890625, 0.002796173095703125, 0.0169677734375, -0.004596710205078125, -0.031707763671875, 0.018707275390625, -0.003978729248046875, 0.031890869140625, 0.0012159347534179688, -0.0016908645629882812, -0.033477783203125, -0.033782958984375, -0.019805908203125, 0.029266357421875, 0.07733154296875, -0.02703857421875, 0.0235748291015625, -0.0283050537109375, -0.01210784912109375, -0.0032939910888671875, -0.026702880859375, 0.0307464599609375, -0.09075927734375, -0.059173583984375, 0.0269927978515625, 0.067138671875, 0.0235748291015625, 0.00519561767578125, 0.036376953125, 0.06103515625, 0.02581787109375, -0.0025310516357421875, 0.03271484375, 0.005710601806640625, 0.025970458984375, -0.04644775390625, 0.06475830078125, 0.0183868408203125, 0.0116119384765625, 0.00933837890625, 0.0550537109375, 0.0247039794921875, -0.01172637939453125, 0.0162811279296875, -0.00024211406707763672, -0.005828857421875, 0.022369384765625, -0.006549835205078125, 0.00518798828125, 0.0158538818359375, -0.035797119140625, -0.045135498046875, 0.043304443359375, 0.02862548828125, -0.01824951171875, 0.0107574462890625, -0.00412750244140625, 0.02777099609375, -0.0118255615234375, 0.0276641845703125, -0.026031494140625, -0.033111572265625, 0.00836944580078125, -0.01142120361328125, 0.0236358642578125, 0.0275726318359375, 0.0007877349853515625, -0.0201873779296875, 0.031890869140625, 0.038848876953125, 0.015045166015625, 0.05096435546875, -0.02288818359375, 0.00665283203125, -0.0126800537109375, -0.0028476715087890625, -0.00516510009765625, 0.00955963134765625, -0.042572021484375, 0.039306640625, 0.01459503173828125, -0.0161285400390625, -0.05963134765625, 0.039276123046875, 0.0172576904296875, 0.01447296142578125, 0.03314208984375, -0.004474639892578125, 0.01003265380859375, -0.0035800933837890625, 0.0133056640625, -0.0279998779296875, 0.0026340484619140625, -0.0245361328125, -0.0294189453125, 0.046417236328125, 0.0011758804321289062, -0.003131866455078125, 0.006114959716796875, 0.0050506591796875, -0.016448974609375, 0.036895751953125, -0.0031642913818359375, 0.0256805419921875, 0.010528564453125, 0.01030731201171875, -0.017364501953125, -0.01494598388671875, -0.0235137939453125, 0.0166168212890625, -0.0005564689636230469, 0.01605224609375, -0.0073394775390625, -0.00717926025390625, -0.06085205078125, -0.03546142578125, -0.04022216796875, -0.058929443359375, -0.034515380859375, 0.0018854141235351562, -0.0099639892578125, -0.027130126953125, 0.019378662109375, -0.006717681884765625, -0.001651763916015625, -0.03057861328125, -0.0028400421142578125, -0.004611968994140625, -0.044403076171875, -0.00847625732421875, 0.00943756103515625, 0.03668212890625, 0.0133514404296875, -0.033905029296875, 0.0196685791015625, -0.0154266357421875, 0.01338958740234375, 0.027984619140625, -0.00350189208984375, -0.0084991455078125, -0.006366729736328125, -0.03570556640625, 0.00958251953125, -0.0290069580078125, -0.005764007568359375, -0.002330780029296875, -0.0187530517578125, -0.018310546875, 0.0007963180541992188, 0.04827880859375, -0.02880859375, -0.003475189208984375, 0.016326904296875, 0.0222930908203125, -0.01140594482421875, 0.03857421875, -0.007720947265625, -0.0232696533203125, -0.0509033203125, -0.00865936279296875, -0.0288543701171875, -0.01067352294921875, 0.019195556640625, -0.04925537109375, -0.022735595703125, -0.06622314453125, -0.09259033203125, 0.0631103515625, -0.0025157928466796875, -0.0355224609375, -0.0189208984375, 0.00925445556640625, 0.014556884765625, -0.01248931884765625, -0.01409149169921875, -0.0097503662109375, -0.022369384765625, -0.0008058547973632812, 0.046173095703125, -0.005947113037109375, 0.0447998046875, 0.0239410400390625, -0.0190887451171875, 0.055450439453125, 0.025421142578125, 0.051116943359375, -0.04193115234375, 0.01934814453125, -0.0215911865234375, 0.004444122314453125, -0.03900146484375, -0.01342010498046875, 0.011474609375, 0.05084228515625, 0.0147857666015625, 0.00824737548828125, -0.0089569091796875, -0.01209259033203125, 0.038177490234375, 0.027557373046875, 0.0089569091796875, -0.0015573501586914062, -0.059844970703125, -0.0562744140625, 0.02642822265625, -0.045257568359375, 0.00524139404296875, -0.10736083984375, -0.0283203125, 0.02874755859375, -0.00562286376953125, 0.028656005859375, -0.0677490234375, -0.010498046875, -0.0053863525390625, -0.0008730888366699219, 0.02166748046875, -0.0228271484375, -0.0158233642578125, 0.0285797119140625, -0.01519012451171875, 0.04541015625, -0.033111572265625, 0.032867431640625, 0.05511474609375, -0.004543304443359375, -0.0238189697265625, -0.03997802734375, -0.0167694091796875, 0.040435791015625, -0.027099609375, 0.027984619140625, -0.037322998046875, -0.022064208984375, -0.0166778564453125, -0.03326416015625, 0.0046539306640625, -0.039825439453125, 0.0065460205078125, -0.02197265625, -0.0032501220703125, 0.00531768798828125, 0.005443572998046875, 0.030364990234375, -0.0248870849609375, 0.053924560546875, 0.0262298583984375, -0.041717529296875, 0.055389404296875, -0.00843048095703125, 0.012054443359375, -0.01464080810546875, 0.0904541015625, -0.0855712890625, 0.057708740234375, -0.04644775390625, 0.048004150390625, 0.04595947265625 ]
e7506610e71b790c75790bcfbc9095da12519575
Wordpress Stackexchange Q: Remove left alignment option in core/image block I’m trying this code to disable the left alignment option from the core/image block. I just want to make available the center and right alignment options. wp.hooks.addFilter( 'blocks.registerBlockType', 'elvismdev/my-theme', function( settings, name ) { if ( name === 'core/image' ) { // Change supports settings.supports = lodash.merge( {}, settings.supports, { align: ['center', 'right'] }); } return settings; }); However, instead of doing what I’m expecting, it is adding a new alignment selector option to the block with only the center and right options, keeping the other default one with all of them (left, center, right). Is blocks.registerBlockType the right filter to do it, or I’m missing something else?
Q: Remove left alignment option in core/image block I’m trying this code to disable the left alignment option from the core/image block. I just want to make available the center and right alignment options. wp.hooks.addFilter( 'blocks.registerBlockType', 'elvismdev/my-theme', function( settings, name ) { if ( name === 'core/image' ) { // Change supports settings.supports = lodash.merge( {}, settings.supports, { align: ['center', 'right'] }); } return settings; }); However, instead of doing what I’m expecting, it is adding a new alignment selector option to the block with only the center and right options, keeping the other default one with all of them (left, center, right). Is blocks.registerBlockType the right filter to do it, or I’m missing something else?
wordpress
{ "language": "en", "length": 116, "provenance": "stackexchange_00019.jsonl.gz:502485", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/363506" }
[ -0.0142822265625, -0.0238800048828125, -0.030517578125, 0.03070068359375, 0.006572723388671875, -0.04864501953125, 0.08258056640625, 0.01172637939453125, 0.0499267578125, 0.048187255859375, -0.01552581787109375, -0.0271759033203125, 0.0302581787109375, -0.007785797119140625, -0.048797607421875, 0.00016295909881591797, 0.045989990234375, -0.0189361572265625, 0.031890869140625, -0.00507354736328125, 0.0228118896484375, 0.0181884765625, 0.01548004150390625, 0.0804443359375, 0.01534271240234375, -0.0543212890625, 0.0799560546875, -0.0212860107421875, 0.0211334228515625, -0.0023174285888671875, 0.035980224609375, -0.0227508544921875, 0.006519317626953125, 0.018585205078125, -0.007724761962890625, 0.005146026611328125, 0.00876617431640625, 0.005512237548828125, 0.007106781005859375, 0.017578125, -0.0033512115478515625, 0.0152130126953125, -0.028839111328125, -0.01812744140625, -0.05120849609375, -0.016998291015625, -0.00713348388671875, -0.006221771240234375, 0.040374755859375, -0.02935791015625, 0.005916595458984375, 0.042327880859375, 0.0204315185546875, -0.045257568359375, -0.02874755859375, -0.0110931396484375, -0.0748291015625, 0.048736572265625, -0.01169586181640625, 0.07672119140625, 0.051422119140625, 0.061309814453125, -0.031494140625, -0.010711669921875, 0.04620361328125, -0.041046142578125, 0.00931549072265625, 0.040252685546875, -0.06488037109375, 0.05914306640625, 0.065185546875, -0.04486083984375, 0.0203704833984375, -0.04547119140625, 0.00041961669921875, 0.008636474609375, -0.0264892578125, -0.034088134765625, 0.039825439453125, -0.0335693359375, -0.0074920654296875, -0.025970458984375, -0.044891357421875, -0.008575439453125, 0.02294921875, 0.02374267578125, -0.00911712646484375, -0.0075836181640625, 0.0088958740234375, 0.0006442070007324219, -0.0013208389282226562, -0.038238525390625, -0.00023603439331054688, 0.0413818359375, -0.004398345947265625, -0.0262908935546875, 0.009490966796875, -0.0111083984375, -0.0119476318359375, 0.0086822509765625, 0.0357666015625, -0.056915283203125, 0.0631103515625, -0.0304718017578125, -0.00614166259765625, -0.02166748046875, -0.01515960693359375, -0.029937744140625, 0.0230712890625, 0.036468505859375, -0.02935791015625, 0.0272369384765625, 0.01146697998046875, 0.01146697998046875, -0.0252227783203125, 0.002140045166015625, -0.0167694091796875, 0.0003261566162109375, -0.0261383056640625, 0.022003173828125, 0.024932861328125, 0.030303955078125, 0.032257080078125, -0.00005155801773071289, 0.01412200927734375, 0.0190582275390625, -0.0217437744140625, -0.061981201171875, -0.041046142578125, 0.01107025146484375, -0.052947998046875, 0.0126190185546875, 0.126708984375, 0.06378173828125, 0.057403564453125, -0.027679443359375, 0.0213470458984375, -0.017974853515625, -0.0043487548828125, 0.00400543212890625, 0.03570556640625, -0.03424072265625, -0.0126800537109375, 0.0115203857421875, 0.0458984375, -0.0214996337890625, 0.0020198822021484375, 0.038360595703125, 0.0452880859375, -0.0206756591796875, 0.07708740234375, -0.028839111328125, 0.0225067138671875, 0.0357666015625, 0.0247955322265625, 0.0034351348876953125, 0.10614013671875, -0.041290283203125, -0.032989501953125, -0.031280517578125, -0.001705169677734375, -0.01197052001953125, 0.023223876953125, -0.0168609619140625, -0.04052734375, 0.022705078125, -0.053985595703125, -0.00809478759765625, 0.005336761474609375, 0.0181884765625, -0.0322265625, 0.0018215179443359375, -0.0036716461181640625, -0.00884246826171875, -0.016693115234375, 0.01397705078125, 0.0103912353515625, -0.0177001953125, -0.0019683837890625, 0.043731689453125, -0.0189971923828125, -0.030517578125, 0.0021457672119140625, -0.017669677734375, -0.053436279296875, 0.0127105712890625, 0.01389312744140625, 0.035614013671875, 0.01483154296875, -0.0005397796630859375, 0.06591796875, 0.00920867919921875, -0.067138671875, 0.046844482421875, -0.00186920166015625, 0.022247314453125, -0.050506591796875, 0.0177764892578125, -0.023345947265625, -0.03546142578125, 0.03564453125, -0.01058197021484375, -0.0178070068359375, -0.040283203125, -0.0853271484375, -0.02435302734375, -0.027587890625, 0.0273895263671875, -0.0794677734375, -0.018280029296875, 0.041473388671875, -0.06427001953125, -0.004566192626953125, 0.026458740234375, 0.0272064208984375, -0.031097412109375, 0.0087432861328125, 0.004657745361328125, -0.00030303001403808594, 0.018157958984375, 0.0003097057342529297, -0.0185546875, -0.0186614990234375, 0.0268707275390625, 0.053741455078125, 0.051971435546875, -0.034332275390625, -0.0015554428100585938, 0.02923583984375, 0.039642333984375, -0.0584716796875, 0.00482940673828125, -0.0027980804443359375, 0.017486572265625, -0.029998779296875, 0.01033782958984375, 0.0031261444091796875, -0.0146636962890625, 0.0032901763916015625, 0.029144287109375, 0.0288238525390625, 0.0148468017578125, -0.0017147064208984375, -0.01464080810546875, 0.046112060546875, -0.01488494873046875, 0.01287078857421875, -0.01354217529296875, 0.00690460205078125, -0.01641845703125, 0.0201568603515625, -0.039764404296875, 0.043121337890625, -0.0186309814453125, 0.027801513671875, 0.0225677490234375, -0.058197021484375, -0.0255889892578125, 0.002498626708984375, -0.025970458984375, 0.01326751708984375, -0.053802490234375, 0.00485992431640625, -0.030548095703125, 0.04669189453125, -0.033843994140625, 0.0040283203125, -0.0212554931640625, -0.053497314453125, 0.01467132568359375, 0.050628662109375, -0.0379638671875, -0.0086517333984375, -0.0107421875, -0.0265045166015625, 0.0139617919921875, -0.02630615234375, 0.0295867919921875, -0.0036220550537109375, -0.0168304443359375, -0.007083892822265625, -0.0015668869018554688, -0.034332275390625, -0.005352020263671875, -0.0076446533203125, -0.059173583984375, 0.01457977294921875, 0.0323486328125, -0.02587890625, -0.0286712646484375, 0.01435089111328125, 0.00780487060546875, -0.0037994384765625, -0.0037326812744140625, 0.0019311904907226562, -0.027069091796875, -0.0008306503295898438, -0.03643798828125, 0.034698486328125, -0.047210693359375, 0.06341552734375, 0.06158447265625, -0.04327392578125, 0.035186767578125, 0.00461578369140625, -0.003932952880859375, 0.036346435546875, 0.002750396728515625, 0.0022144317626953125, 0.01203155517578125, -0.0163421630859375, 0.06634521484375, 0.0235748291015625, 0.0243072509765625, -0.0310821533203125, -0.036285400390625, -0.01483154296875, 0.0087890625, -0.0128021240234375, -0.00469970703125, 0.0005879402160644531, -0.03875732421875, -0.0260009765625, 0.037384033203125, -0.0272674560546875, -0.01314544677734375, 0.070068359375, -0.01544189453125, 0.0217132568359375, -0.036895751953125, -0.01654052734375, -0.017303466796875, -0.04168701171875, -0.015625, 0.0058746337890625, -0.0025043487548828125, 0.0055694580078125, 0.09527587890625, 0.03125, -0.06317138671875, 0.0201873779296875, -0.01812744140625, -0.029876708984375, 0.0286407470703125, -0.0010738372802734375, -0.0249786376953125, -0.006298065185546875, 0.01708984375, -0.024505615234375, -0.0280914306640625, 0.0275726318359375, -0.032989501953125, -0.00027441978454589844, 0.037933349609375, -0.01047515869140625, 0.0361328125, 0.0197601318359375, -0.03973388671875, -0.03192138671875, -0.0660400390625, -0.06829833984375, -0.00327301025390625, -0.045074462890625, 0.056793212890625, 0.0264892578125, 0.00412750244140625, -0.00478363037109375, 0.0494384765625, 0.027557373046875, -0.0209808349609375, 0.05255126953125, -0.04840087890625, 0.050018310546875, 0.00775909423828125, 0.01495361328125, -0.07647705078125, 0.01416778564453125, -0.0241851806640625, 0.02740478515625, -0.0039043426513671875, -0.0105438232421875, -0.0204925537109375, -0.0146636962890625, -0.02557373046875, -0.0122528076171875, 0.0285186767578125, 0.035186767578125, 0.0027942657470703125, 0.054412841796875, -0.01279449462890625, 0.035980224609375, 0.0325927734375, -0.031585693359375, -0.00446319580078125, 0.006114959716796875, 0.0005860328674316406, -0.017059326171875, -0.0177154541015625, -0.06622314453125, -0.002437591552734375, -0.0914306640625, 0.01788330078125, 0.01210784912109375, -0.0577392578125, -0.016204833984375, -0.0262298583984375, -0.058807373046875, -0.03668212890625, 0.025604248046875, 0.03533935546875, -0.004962921142578125, -0.0030078887939453125, -0.0266876220703125, 0.0261077880859375, -0.01788330078125, 0.0080718994140625, -0.1253662109375, -0.0194244384765625, 0.0102691650390625, 0.0635986328125, -0.0338134765625, 0.033050537109375, -0.0199737548828125, 0.06329345703125, -0.00424957275390625, -0.02447509765625, 0.01058197021484375, 0.0233154296875, 0.031463623046875, -0.0210113525390625, -0.01107025146484375, -0.0282745361328125, 0.006572723388671875, -0.00165557861328125, -0.0531005859375, -0.03778076171875, -0.01198577880859375, -0.0274658203125, 0.03924560546875, -0.044036865234375, -0.0306243896484375, -0.031890869140625, -0.0489501953125, 0.014801025390625, -0.047821044921875, 0.01515960693359375, -0.045013427734375, -0.044219970703125, 0.060150146484375, 0.0030460357666015625, 0.005096435546875, -0.023284912109375, 0.0889892578125, 0.0201568603515625, -0.0137481689453125, 0.028961181640625, 0.034393310546875, 0.048553466796875, -0.0210113525390625, 0.032958984375, 0.0291900634765625, -0.0188751220703125, 0.01117706298828125, 0.0263824462890625, 0.020233154296875, -0.07159423828125, 0.0665283203125, -0.00621795654296875, -0.00727081298828125, 0.00567626953125, -0.005313873291015625, 0.005096435546875, 0.0014438629150390625, 0.00131988525390625, 0.0188751220703125, 0.017120361328125, -0.01221466064453125, 0.00640106201171875, -0.0275726318359375, 0.0059051513671875, -0.021331787109375, 0.0005640983581542969, 0.008056640625, 0.039886474609375, 0.0266571044921875, 0.0015325546264648438, 0.022308349609375, 0.0111083984375, 0.004100799560546875, 0.00201416015625, -0.033355712890625, -0.041778564453125, 0.01910400390625, -0.00243377685546875, -0.027099609375, 0.03240966796875, -0.0038776397705078125, 0.007366180419921875, -0.0137176513671875, -0.03277587890625, -0.0357666015625, 0.0038814544677734375, 0.035400390625, 0.021392822265625, -0.021575927734375, 0.005886077880859375, 0.0176544189453125, 0.00969696044921875, 0.0030498504638671875, -0.0138702392578125, -0.001251220703125, -0.025665283203125, 0.045654296875, 0.017242431640625, -0.00800323486328125, -0.0031337738037109375, 0.00972747802734375, 0.001140594482421875, -0.01357269287109375, -0.003330230712890625, 0.0159454345703125, -0.0005550384521484375, 0.0273284912109375, 0.0213165283203125, -0.0180206298828125, 0.019012451171875, -0.011962890625, 0.01197052001953125, -0.03741455078125, 0.0219268798828125, 0.004505157470703125, 0.05322265625, 0.016510009765625, -0.042022705078125, 0.00783538818359375, -0.052764892578125, -0.00493621826171875, 0.08123779296875, -0.006572723388671875, -0.078857421875, -0.028472900390625, 0.01129150390625, 0.02935791015625, -0.06610107421875, -0.0144500732421875, -0.03143310546875, -0.046783447265625, -0.046051025390625, 0.07568359375, -0.07440185546875, 0.006317138671875, 0.01462554931640625, -0.0287017822265625, -0.01641845703125, -0.01517486572265625, -0.0545654296875, -0.0198974609375, -0.00039315223693847656, 0.00569915771484375, 0.0196533203125, -0.036773681640625, -0.0036334991455078125, -0.0241546630859375, 0.0249176025390625, -0.01248931884765625, 0.01236724853515625, 0.047271728515625, 0.0116729736328125, -0.018035888671875, -0.0225982666015625, -0.0677490234375, -0.0216217041015625, -0.050323486328125, -0.0679931640625, -0.009307861328125, 0.0228271484375, 0.032501220703125, 0.0311126708984375, -0.01528167724609375, -0.0684814453125, 0.0300750732421875, -0.0014181137084960938, 0.0263214111328125, 0.04949951171875, -0.032470703125, 0.0276641845703125, 0.0287933349609375, 0.062744140625, 0.006443023681640625, -0.008209228515625, -0.009521484375, -0.024566650390625, -0.01861572265625, -0.037506103515625, -0.01309967041015625, 0.035797119140625, -0.042572021484375, 0.0283660888671875, 0.04913330078125, 0.00740814208984375, -0.02362060546875, 0.001674652099609375, 0.01245880126953125, -0.029144287109375, 0.032379150390625, 0.008544921875, 0.01407623291015625, -0.0159759521484375, 0.0115814208984375, 0.01293182373046875, -0.0213470458984375, -0.00945281982421875, 0.0217132568359375, 0.021728515625, 0.0099945068359375, -0.0268096923828125, 0.0200347900390625, -0.0361328125, 0.04180908203125, 0.00966644287109375, 0.049957275390625, 0.036834716796875, 0.0345458984375, 0.0241851806640625, 0.0213470458984375, -0.0128173828125, 0.026123046875, 0.06451416015625, 0.026031494140625, -0.0207977294921875, 0.039459228515625, -0.031341552734375, -0.0177459716796875, 0.0274200439453125, 0.0298614501953125, -0.03790283203125, 0.0017547607421875, 0.0215911865234375, 0.0178680419921875, 0.00894927978515625, -0.0177001953125, 0.029571533203125, 0.0047607421875, -0.00457763671875, 0.0073089599609375, -0.0272216796875, -0.0097808837890625, -0.0104827880859375, -0.006374359130859375, -0.0038127899169921875, 0.016204833984375, 0.0177154541015625, -0.020294189453125, 0.0172119140625, 0.01131439208984375, 0.01654052734375, 0.00185394287109375, 0.034515380859375, -0.06402587890625, -0.0007243156433105469, -0.039520263671875, -0.053802490234375, -0.043548583984375, -0.02392578125, 0.017059326171875, -0.03265380859375, -0.016510009765625, 0.0183258056640625, -0.037139892578125, 0.03680419921875, -0.0230560302734375, -0.049835205078125, -0.018341064453125, -0.006137847900390625, 0.002574920654296875, 0.00127410888671875, -0.0430908203125, 0.0121002197265625, -0.046173095703125, 0.0170745849609375, -0.0012903213500976562, -0.004619598388671875, 0.0179595947265625, -0.0259246826171875, -0.0159759521484375, 0.0235748291015625, 0.0023250579833984375, 0.006656646728515625, -0.0038471221923828125, 0.02044677734375, -0.0382080078125, -0.039520263671875, -0.00887298583984375, -0.04913330078125, -0.0116119384765625, -0.00910186767578125, -0.021636962890625, 0.058929443359375, 0.00743865966796875, -0.0085296630859375, 0.0265045166015625, 0.02825927734375, -0.0257720947265625, 0.02105712890625, 0.058868408203125, 0.0286407470703125, 0.0122222900390625, -0.050750732421875, 0.0416259765625, 0.01302337646484375, -0.008453369140625, 0.0181884765625, 0.0596923828125, 0.019439697265625, 0.0104827880859375, -0.052215576171875, -0.009429931640625, 0.080322265625, 0.001552581787109375, 0.00615692138671875, 0.00293731689453125, -0.02545166015625, 0.0027523040771484375, 0.037628173828125, 0.0300750732421875, -0.0227203369140625, -0.04583740234375, 0.0328369140625, 0.0246429443359375, 0.044647216796875, 0.0022373199462890625, 0.02227783203125, -0.01409149169921875, -0.003055572509765625, 0.024017333984375, -0.037994384765625, 0.01309967041015625, 0.0219879150390625, -0.0029201507568359375, 0.0018768310546875, -0.01045989990234375, -0.007808685302734375, 0.039764404296875, -0.00580596923828125, -0.0025043487548828125, 0.0439453125, 0.038299560546875, -0.031768798828125, -0.006481170654296875, 0.0157012939453125, 0.02838134765625, -0.045257568359375, -0.03521728515625, 0.011383056640625, 0.0228729248046875, -0.014068603515625, 0.0202484130859375, 0.038604736328125, -0.0110015869140625, 0.00902557373046875, -0.0227813720703125, 0.0263214111328125, -0.007732391357421875, -0.0086669921875, -0.039947509765625, -0.0164947509765625, -0.0689697265625, -0.03350830078125, -0.05029296875, -0.0237274169921875, 0.019378662109375, 0.0180206298828125, -0.0123748779296875, -0.039337158203125, 0.0281219482421875, -0.036102294921875, -0.01953125, 0.004650115966796875, 0.036102294921875, 0.01290130615234375, -0.0018291473388671875, 0.0051116943359375, 0.0282135009765625, 0.01197052001953125, -0.0328369140625, 0.03692626953125, -0.01543426513671875, 0.030609130859375, -0.051666259765625, -0.06036376953125, 0.0193939208984375, 0.037445068359375, 0.018768310546875, 0.0217437744140625, 0.0308074951171875, 0.07568359375, 0.01284027099609375, 0.008453369140625, 0.09246826171875, 0.00931549072265625, -0.0082855224609375, -0.0281982421875, 0.04937744140625, 0.06365966796875, 0.0176544189453125, 0.0142974853515625, 0.01064300537109375, 0.08367919921875, 0.0020580291748046875, -0.01324462890625, 0.004634857177734375, -0.0238189697265625, 0.00792694091796875, 0.027008056640625, -0.0106353759765625, 0.0289154052734375, -0.035736083984375, -0.018280029296875, -0.0206146240234375, -0.0251922607421875, 0.0223541259765625, 0.0293426513671875, -0.020416259765625, 0.041259765625, 0.0262298583984375, -0.0255279541015625, -0.01044464111328125, -0.01690673828125, 0.0574951171875, -0.00445556640625, -0.017852783203125, 0.0267181396484375, 0.0019130706787109375, -0.0158233642578125, 0.0038928985595703125, 0.0369873046875, 0.00008344650268554688, 0.040283203125, -0.01514434814453125, 0.0236968994140625, 0.016021728515625, -0.008575439453125, 0.033538818359375, 0.0240020751953125, -0.056671142578125, 0.040924072265625, 0.050628662109375, -0.0261077880859375, -0.0029201507568359375, -0.0014619827270507812, 0.038055419921875, -0.0308990478515625, -0.0104827880859375, 0.0081634521484375, 0.01229095458984375, -0.0079803466796875, 0.0147552490234375, -0.033355712890625, -0.049652099609375, -0.011444091796875, 0.0018749237060546875, -0.01473236083984375, -0.0193634033203125, 0.01532745361328125, 0.047454833984375, 0.0008149147033691406, -0.01467132568359375, 0.026214599609375, -0.0557861328125, 0.03570556640625, 0.0284576416015625, -0.0228729248046875, -0.0268096923828125, 0.026153564453125, -0.00034546852111816406, -0.004123687744140625, 0.0261993408203125, 0.0352783203125, 0.01324462890625, 0.005527496337890625, 0.0112152099609375, 0.0179595947265625, 0.04302978515625, -0.00926971435546875, 0.002788543701171875, -0.0026836395263671875, -0.0007510185241699219, 0.005161285400390625, 0.0145263671875, 0.00269317626953125, -0.0302886962890625, -0.0237884521484375, 0.0005640983581542969, -0.01470947265625, -0.0308074951171875, 0.02099609375, -0.0491943359375, 0.0226287841796875, 0.0036144256591796875, -0.0245819091796875, -0.00211334228515625, -0.001956939697265625, -0.0141754150390625, -0.0187835693359375, -0.012359619140625, -0.01163482666015625, 0.030609130859375, -0.0172576904296875, -0.056549072265625, -0.027923583984375, 0.050567626953125, -0.03369140625, -0.0031757354736328125, 0.01369476318359375, -0.005504608154296875, 0.0036678314208984375, 0.003047943115234375, 0.0179595947265625, 0.058929443359375, -0.031280517578125, -0.0249481201171875, -0.0098876953125, 0.0024700164794921875, -0.017608642578125, 0.0086517333984375, 0.0182647705078125, -0.015777587890625, -0.035675048828125, -0.054046630859375, 0.035980224609375, 0.0308990478515625, -0.03338623046875, -0.0718994140625, -0.054351806640625, -0.00345611572265625, -0.034881591796875, -0.006038665771484375, 0.08782958984375, -0.00922393798828125, -0.037628173828125, 0.01007080078125, -0.0232086181640625, 0.05548095703125, 0.001293182373046875, 0.01422882080078125, 0.01064300537109375, 0.0258636474609375, 0.021820068359375, 0.0120697021484375, 0.037811279296875, 0.034912109375, 0.00958251953125, -0.00585174560546875, 0.01136016845703125, 0.01091766357421875, 0.032196044921875, -0.02947998046875, -0.004161834716796875, -0.00662994384765625, 0.007720947265625, -0.016510009765625, -0.0296783447265625, -0.0029239654541015625, 0.00812530517578125, 0.037567138671875, 0.0679931640625, 0.00418853759765625, -0.0343017578125, -0.0161590576171875, -0.0140228271484375, -0.00170135498046875, -0.00719451904296875, -0.0105438232421875, -0.0400390625, 0.00490570068359375, -0.0192718505859375, -0.00028634071350097656, 0.0194244384765625, -0.0015249252319335938, -0.0307464599609375, -0.01617431640625, 0.003086090087890625, 0.004962921142578125, -0.114501953125, 0.0322265625, -0.0157470703125, -0.0019626617431640625, 0.026275634765625, -0.047210693359375, 0.0007071495056152344, 0.0023288726806640625, -0.0286865234375, -0.001010894775390625, 0.034149169921875, -0.0220489501953125, 0.02532958984375, 0.0145416259765625, -0.00603485107421875, -0.0234375, 0.017486572265625, 0.02099609375, 0.0035724639892578125, 0.0093841552734375, -0.004581451416015625, -0.04052734375, 0.0198211669921875, -0.030792236328125, -0.0165252685546875, 0.002353668212890625, -0.025360107421875, -0.0255279541015625, 0.039825439453125, -0.00036144256591796875, -0.0350341796875, 0.03399658203125, -0.045257568359375, -0.00827789306640625, 0.038116455078125, 0.00518798828125, -0.036407470703125, 0.0188140869140625, -0.0020389556884765625, 0.02325439453125, 0.0094451904296875 ]
d7f93098690ba5dace172a346355e22854432678
Wordpress Stackexchange Q: Using 'Primary Category' in URL I'm running into an issue where I want to set up categories in my URL (%category%/%postname%), but doing this will create multiple URLs for the same content if I select multiple categories. So, for example, if I put a 'Bugatti' post in the 'cars' and 'supercars' categories, the 'Bugatti' post will be available at both 'mysite.com/cars/bugatti' as well as 'mysite.com/supercars/bugatti'. I want to restrict this to where the content will only be available for the primary category that I select. So if I select the category 'supercars' as my primary category, the post 'bugatti' will only be available at 'mysite.com/supercars/bugatti' and any secondary category URLs ( i.e. 'mysite.com/cars/bugatti', etc. ) would return a 404. Is there any way to do this using the 'primary category' from Yoast or otherwise? I noticed that Wirecutter does this for their site. They're running WordPress, using a %category%/%postname% permalink structure, but any of their secondary categories in the URL only return a 404. Thanks for any help you can provide!
Q: Using 'Primary Category' in URL I'm running into an issue where I want to set up categories in my URL (%category%/%postname%), but doing this will create multiple URLs for the same content if I select multiple categories. So, for example, if I put a 'Bugatti' post in the 'cars' and 'supercars' categories, the 'Bugatti' post will be available at both 'mysite.com/cars/bugatti' as well as 'mysite.com/supercars/bugatti'. I want to restrict this to where the content will only be available for the primary category that I select. So if I select the category 'supercars' as my primary category, the post 'bugatti' will only be available at 'mysite.com/supercars/bugatti' and any secondary category URLs ( i.e. 'mysite.com/cars/bugatti', etc. ) would return a 404. Is there any way to do this using the 'primary category' from Yoast or otherwise? I noticed that Wirecutter does this for their site. They're running WordPress, using a %category%/%postname% permalink structure, but any of their secondary categories in the URL only return a 404. Thanks for any help you can provide!
wordpress
{ "language": "en", "length": 172, "provenance": "stackexchange_00019.jsonl.gz:502572", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/363806" }
[ 0.05859375, 0.01446533203125, -0.01325225830078125, -0.0311737060546875, 0.0209808349609375, -0.04632568359375, 0.0193634033203125, -0.036590576171875, -0.0256500244140625, 0.043701171875, 0.032928466796875, 0.014984130859375, -0.00182342529296875, -0.043243408203125, -0.006511688232421875, -0.005863189697265625, 0.0029964447021484375, 0.0182647705078125, 0.0157012939453125, -0.030120849609375, 0.028778076171875, -0.0321044921875, 0.006511688232421875, 0.0494384765625, 0.0240936279296875, -0.0183868408203125, 0.017852783203125, -0.0306396484375, 0.010040283203125, -0.032867431640625, 0.01239776611328125, 0.01690673828125, 0.005710601806640625, -0.0117645263671875, 0.0301971435546875, 0.02783203125, 0.01502227783203125, -0.00189971923828125, 0.031890869140625, 0.0167694091796875, -0.0092315673828125, 0.021209716796875, 0.0220794677734375, 0.031341552734375, 0.00687408447265625, -0.057220458984375, 0.0177459716796875, -0.05194091796875, -0.00896453857421875, -0.0316162109375, 0.0196990966796875, 0.005115509033203125, 0.041839599609375, -0.0767822265625, 0.007007598876953125, 0.054046630859375, -0.0254669189453125, -0.00791168212890625, 0.023345947265625, 0.01080322265625, -0.007720947265625, -0.00991058349609375, 0.0177459716796875, -0.0085601806640625, -0.031646728515625, -0.016387939453125, 0.023345947265625, 0.0213775634765625, -0.030975341796875, -0.0382080078125, 0.0228118896484375, -0.00078582763671875, -0.00817108154296875, -0.0272064208984375, -0.050689697265625, -0.002685546875, 0.031768798828125, -0.03619384765625, -0.005855560302734375, -0.0118408203125, 0.05322265625, 0.00012481212615966797, -0.0081634521484375, -0.007694244384765625, 0.039306640625, 0.0283203125, -0.00009566545486450195, -0.03338623046875, -0.0308380126953125, 0.01153564453125, -0.0264739990234375, -0.017364501953125, 0.00018537044525146484, 0.0169830322265625, -0.014892578125, 0.003070831298828125, 0.022125244140625, 0.022003173828125, 0.0158538818359375, -0.01499176025390625, -0.0016450881958007812, -0.0330810546875, -0.00530242919921875, -0.0281219482421875, 0.0310821533203125, 0.0325927734375, -0.0099029541015625, 0.06378173828125, 0.0963134765625, 0.020263671875, 0.00850677490234375, 0.0831298828125, -0.0042877197265625, 0.0027408599853515625, -0.03546142578125, 0.0033721923828125, -0.0299072265625, -0.02020263671875, -0.01507568359375, -0.006145477294921875, -0.005504608154296875, 0.050933837890625, -0.004817962646484375, -0.058013916015625, -0.01238250732421875, -0.0020294189453125, 0.003398895263671875, -0.0614013671875, -0.0008330345153808594, 0.01922607421875, -0.01360321044921875, 0.0186309814453125, 0.03155517578125, 0.004993438720703125, -0.0290374755859375, -0.004703521728515625, 0.01287841796875, 0.003284454345703125, 0.0011358261108398438, 0.0024967193603515625, -0.0072174072265625, 0.015777587890625, 0.05224609375, -0.03497314453125, 0.0188140869140625, 0.02294921875, 0.01861572265625, 0.0200653076171875, -0.02294921875, -0.0258026123046875, 0.03717041015625, -0.01715087890625, 0.08038330078125, -0.011688232421875, -0.0989990234375, -0.0124359130859375, 0.0004706382751464844, -0.022064208984375, -0.059051513671875, -0.0638427734375, 0.057769775390625, 0.0038814544677734375, -0.004962921142578125, -0.0258636474609375, -0.0625, -0.021331787109375, -0.044586181640625, -0.00762176513671875, 0.00264739990234375, -0.00022840499877929688, -0.01177978515625, -0.004093170166015625, -0.039306640625, -0.01293182373046875, 0.0020580291748046875, 0.006885528564453125, 0.028961181640625, 0.01042938232421875, -0.010894775390625, 0.05694580078125, -0.0010519027709960938, -0.053955078125, 0.0007910728454589844, -0.014739990234375, -0.06622314453125, 0.06622314453125, -0.01140594482421875, 0.07427978515625, 0.01097869873046875, -0.003307342529296875, 0.0364990234375, 0.033172607421875, -0.028106689453125, 0.0258026123046875, -0.0005879402160644531, -0.033721923828125, 0.0291595458984375, 0.01039886474609375, 0.008026123046875, -0.0272674560546875, 0.02001953125, 0.0135345458984375, 0.0032329559326171875, 0.01158905029296875, -0.004169464111328125, 0.01291656494140625, -0.0084991455078125, 0.0264129638671875, -0.039337158203125, 0.0111236572265625, 0.03228759765625, 0.00655364990234375, -0.0164642333984375, -0.055755615234375, -0.009613037109375, 0.00774383544921875, -0.00695037841796875, 0.0184173583984375, -0.01113128662109375, 0.00493621826171875, -0.0131072998046875, -0.005481719970703125, -0.0173797607421875, 0.006603240966796875, 0.040802001953125, 0.031585693359375, -0.0164947509765625, -0.01236724853515625, 0.0038852691650390625, 0.041473388671875, -0.09600830078125, 0.007259368896484375, 0.037109375, 0.0058746337890625, -0.040252685546875, 0.01265716552734375, 0.0560302734375, 0.01800537109375, 0.0019407272338867188, 0.0294036865234375, 0.01369476318359375, -0.00830078125, -0.038818359375, -0.0216522216796875, -0.02288818359375, -0.08721923828125, -0.007236480712890625, -0.0046539306640625, 0.00823211669921875, 0.005970001220703125, 0.005950927734375, -0.01560211181640625, 0.03704833984375, -0.0112152099609375, 0.0211944580078125, 0.031585693359375, -0.0082550048828125, -0.0289306640625, 0.01104736328125, -0.0126190185546875, 0.01849365234375, 0.01007080078125, -0.03302001953125, 0.01312255859375, 0.058258056640625, -0.0015802383422851562, 0.053680419921875, 0.04962158203125, -0.0017175674438476562, -0.01383209228515625, -0.0117645263671875, -0.0117034912109375, -0.0014486312866210938, 0.04217529296875, 0.056060791015625, -0.0204620361328125, -0.0401611328125, -0.0194244384765625, 0.0160064697265625, 0.026153564453125, 0.0098876953125, 0.049163818359375, -0.00800323486328125, -0.01023101806640625, -0.027374267578125, -0.070556640625, -0.00899505615234375, 0.020172119140625, 0.01158905029296875, -0.01751708984375, 0.022705078125, -0.005035400390625, -0.0264892578125, 0.040740966796875, -0.022857666015625, -0.04888916015625, 0.033233642578125, -0.046112060546875, 0.035400390625, -0.04010009765625, 0.03460693359375, 0.0426025390625, -0.0179595947265625, 0.007442474365234375, 0.01131439208984375, 0.007183074951171875, 0.00931549072265625, 0.0187835693359375, -0.0013885498046875, -0.01529693603515625, -0.04217529296875, -0.010650634765625, 0.0267333984375, 0.0394287109375, 0.028533935546875, -0.0274658203125, 0.022186279296875, 0.0294036865234375, -0.0467529296875, -0.039886474609375, 0.01352691650390625, -0.01068115234375, 0.006481170654296875, 0.042510986328125, -0.01094818115234375, -0.037689208984375, 0.060638427734375, 0.0005068778991699219, 0.0290374755859375, -0.052459716796875, -0.08514404296875, -0.045440673828125, -0.06671142578125, 0.0011625289916992188, -0.01617431640625, -0.004810333251953125, 0.0005345344543457031, 0.0000947713851928711, 0.0009469985961914062, -0.02947998046875, 0.019256591796875, 0.034027099609375, 0.0032405853271484375, 0.006137847900390625, 0.0025424957275390625, -0.0026645660400390625, 0.0183563232421875, 0.006839752197265625, 0.04541015625, 0.0416259765625, -0.042327880859375, -0.01450347900390625, 0.0004169940948486328, 0.041351318359375, 0.03826904296875, -0.040435791015625, -0.0167999267578125, 0.060333251953125, 0.0143280029296875, -0.006816864013671875, 0.01317596435546875, -0.03887939453125, -0.045562744140625, -0.02508544921875, 0.0343017578125, 0.0121307373046875, -0.037017822265625, -0.032958984375, 0.01502227783203125, -0.0016069412231445312, 0.052459716796875, -0.051910400390625, 0.004283905029296875, -0.013946533203125, 0.0226593017578125, -0.0401611328125, 0.0285491943359375, -0.0328369140625, -0.016357421875, -0.013458251953125, -0.004909515380859375, -0.016448974609375, -0.00850677490234375, -0.040802001953125, -0.03173828125, 0.005680084228515625, -0.059478759765625, -0.00429534912109375, -0.034881591796875, 0.006298065185546875, -0.0236358642578125, 0.034576416015625, -0.0726318359375, -0.01377105712890625, -0.002567291259765625, 0.04833984375, -0.053192138671875, -0.08929443359375, -0.040802001953125, -0.00461578369140625, -0.06427001953125, -0.0069580078125, -0.007049560546875, -0.034210205078125, 0.004650115966796875, -0.00804901123046875, -0.0247344970703125, -0.030242919921875, 0.03106689453125, -0.053466796875, 0.0293426513671875, -0.00829315185546875, 0.0157623291015625, -0.032135009765625, -0.0214080810546875, -0.03204345703125, 0.00749969482421875, -0.0224151611328125, 0.057037353515625, -0.01052093505859375, -0.0256500244140625, 0.00197601318359375, 0.0005931854248046875, 0.04425048828125, 0.01494598388671875, -0.0098419189453125, -0.011688232421875, -0.015777587890625, -0.00841522216796875, 0.0223388671875, -0.007587432861328125, -0.0094146728515625, -0.01385498046875, -0.022613525390625, -0.0017242431640625, -0.01129150390625, -0.032958984375, -0.01483154296875, -0.01540374755859375, -0.00940704345703125, -0.0982666015625, 0.004367828369140625, 0.015655517578125, -0.0033473968505859375, -0.0175323486328125, 0.003814697265625, 0.03289794921875, -0.07659912109375, 0.021453857421875, -0.036651611328125, 0.0036869049072265625, 0.0015993118286132812, 0.05242919921875, 0.0010309219360351562, -0.0128021240234375, 0.0333251953125, -0.0165252685546875, 0.017578125, -0.005908966064453125, 0.046600341796875, 0.0116119384765625, -0.011474609375, 0.06890869140625, -0.023773193359375, -0.00531005859375, -0.027313232421875, 0.012603759765625, -0.02044677734375, -0.0147552490234375, -0.00481414794921875, -0.037689208984375, 0.06378173828125, 0.033843994140625, 0.00000864267349243164, 0.006603240966796875, 0.005275726318359375, 0.0142974853515625, -0.0059661865234375, -0.02825927734375, -0.017333984375, 0.01336669921875, -0.00844573974609375, 0.025909423828125, 0.050628662109375, 0.050567626953125, -0.0072784423828125, 0.00901031494140625, 0.01459503173828125, -0.004482269287109375, 0.034027099609375, 0.01395416259765625, 0.0152435302734375, 0.038299560546875, -0.00974273681640625, 0.00011336803436279297, 0.01209259033203125, 0.008087158203125, -0.009124755859375, -0.019317626953125, -0.046142578125, -0.038177490234375, 0.002368927001953125, 0.019134521484375, 0.0185089111328125, -0.0037555694580078125, 0.0245513916015625, -0.018096923828125, -0.0237579345703125, -0.0105133056640625, 0.013092041015625, -0.06951904296875, -0.033233642578125, -0.0022068023681640625, 0.00435638427734375, -0.00997161865234375, 0.0266876220703125, 0.044189453125, 0.03961181640625, 0.02008056640625, -0.040924072265625, 0.0037021636962890625, 0.056396484375, -0.01418304443359375, 0.02362060546875, 0.005527496337890625, -0.0184173583984375, -0.0194854736328125, 0.0256195068359375, -0.0169677734375, -0.0017442703247070312, 0.0168304443359375, 0.02142333984375, -0.0014429092407226562, -0.002414703369140625, 0.00957489013671875, 0.0011730194091796875, 0.005619049072265625, -0.0157318115234375, -0.04345703125, 0.01934814453125, -0.024627685546875, 0.0260162353515625, 0.038970947265625, 0.01253509521484375, -0.0555419921875, -0.0163726806640625, -0.057464599609375, 0.016510009765625, -0.00852203369140625, -0.03265380859375, 0.055023193359375, 0.043182373046875, -0.0224761962890625, -0.023223876953125, -0.0066375732421875, -0.01186370849609375, 0.01139068603515625, -0.01239776611328125, -0.0247650146484375, 0.031005859375, -0.010528564453125, 0.060333251953125, -0.029266357421875, -0.0345458984375, 0.0276641845703125, -0.006885528564453125, 0.059722900390625, 0.036346435546875, -0.040496826171875, -0.01397705078125, -0.038604736328125, -0.009429931640625, 0.07159423828125, 0.0079345703125, -0.005779266357421875, -0.0159149169921875, 0.031402587890625, 0.01239776611328125, 0.0156402587890625, -0.02618408203125, -0.00489044189453125, 0.01190948486328125, 0.034454345703125, 0.01531219482421875, -0.031707763671875, 0.035888671875, 0.0003514289855957031, 0.0166168212890625, -0.01087188720703125, -0.004207611083984375, 0.0081939697265625, -0.011199951171875, -0.0221405029296875, -0.09130859375, -0.023468017578125, 0.0226287841796875, -0.033172607421875, 0.08538818359375, 0.032867431640625, 0.0218963623046875, 0.0298309326171875, -0.016357421875, 0.013671875, -0.018218994140625, -0.0165252685546875, -0.0506591796875, -0.0014638900756835938, 0.026092529296875, 0.03363037109375, 0.05078125, -0.0250091552734375, -0.065673828125, 0.0182037353515625, 0.004764556884765625, 0.039306640625, 0.0121002197265625, -0.0135955810546875, 0.037841796875, 0.0438232421875, 0.01910400390625, 0.060638427734375, 0.01258087158203125, 0.042755126953125, 0.03564453125, 0.0021343231201171875, 0.01270294189453125, -0.0054931640625, 0.007472991943359375, -0.0182952880859375, 0.01178741455078125, -0.00036406517028808594, -0.01404571533203125, -0.041473388671875, 0.038055419921875, 0.007007598876953125, -0.047607421875, -0.0169830322265625, -0.0245513916015625, -0.014678955078125, -0.0308074951171875, 0.022216796875, -0.0184478759765625, 0.01166534423828125, -0.01268768310546875, -0.0261993408203125, -0.0224151611328125, -0.0067138671875, 0.01363372802734375, 0.03594970703125, 0.015228271484375, 0.034637451171875, -0.0097808837890625, -0.02459716796875, -0.0823974609375, 0.04638671875, -0.0293426513671875, -0.0158233642578125, -0.026947021484375, 0.0341796875, -0.03704833984375, -0.0303955078125, 0.0225982666015625, -0.0167694091796875, 0.0032329559326171875, -0.0026836395263671875, -0.020660400390625, 0.0189361572265625, 0.01441192626953125, 0.00499725341796875, -0.03314208984375, -0.01102447509765625, -0.002933502197265625, 0.079833984375, 0.0139923095703125, 0.01181793212890625, 0.032012939453125, -0.04083251953125, -0.01065826416015625, -0.009674072265625, 0.026397705078125, -0.02325439453125, -0.0643310546875, 0.047271728515625, -0.043060302734375, 0.0086212158203125, 0.007076263427734375, 0.036163330078125, 0.0130615234375, -0.0213623046875, -0.00464630126953125, -0.061676025390625, -0.02447509765625, -0.0129547119140625, -0.01108551025390625, 0.0333251953125, -0.0104522705078125, -0.08441162109375, 0.047882080078125, -0.037445068359375, 0.06292724609375, 0.0067291259765625, -0.0001742839813232422, 0.0190277099609375, -0.0030498504638671875, -0.01702880859375, 0.0294036865234375, 0.017333984375, 0.03680419921875, -0.05279541015625, -0.03143310546875, 0.0117645263671875, 0.06317138671875, 0.03704833984375, 0.01473236083984375, -0.06939697265625, 0.00594329833984375, 0.07672119140625, 0.007602691650390625, 0.00467681884765625, 0.074462890625, -0.032440185546875, -0.0162811279296875, 0.0211944580078125, 0.00682830810546875, 0.02032470703125, 0.054290771484375, -0.047637939453125, 0.015167236328125, 0.00909423828125, 0.0098876953125, 0.00322723388671875, 0.025115966796875, -0.061492919921875, 0.0011987686157226562, 0.06182861328125, -0.01094818115234375, 0.0216827392578125, 0.03802490234375, 0.069580078125, -0.0511474609375, 0.01328277587890625, -0.02801513671875, 0.07415771484375, 0.009552001953125, 0.0011892318725585938, 0.03472900390625, 0.0156097412109375, 0.0291290283203125, 0.0167999267578125, 0.00736236572265625, 0.0144500732421875, -0.001903533935546875, 0.049468994140625, 0.020782470703125, 0.0247344970703125, -0.031585693359375, 0.022918701171875, 0.047088623046875, 0.053009033203125, -0.05322265625, -0.072021484375, -0.016357421875, -0.011566162109375, 0.038116455078125, 0.0270233154296875, 0.0297698974609375, 0.051025390625, 0.059295654296875, -0.05059814453125, -0.0008554458618164062, 0.033660888671875, 0.0419921875, -0.01287078857421875, -0.044219970703125, -0.055999755859375, -0.0166015625, -0.034881591796875, -0.024993896484375, 0.02142333984375, 0.061614990234375, 0.0255279541015625, 0.030426025390625, -0.0269317626953125, -0.042877197265625, -0.00844573974609375, 0.0028228759765625, -0.0167999267578125, 0.0106201171875, -0.032440185546875, -0.042205810546875, 0.039764404296875, 0.03515625, 0.01541900634765625, 0.0304107666015625, 0.03515625, 0.062164306640625, 0.01200103759765625, 0.00643157958984375, 0.07086181640625, -0.005889892578125, 0.03900146484375, -0.03033447265625, 0.0165557861328125, -0.0113525390625, -0.0214385986328125, -0.024169921875, 0.0125885009765625, 0.0194244384765625, -0.008544921875, -0.00962066650390625, 0.007068634033203125, -0.0418701171875, 0.028228759765625, -0.03485107421875, 0.035919189453125, 0.00024819374084472656, -0.11346435546875, -0.01490020751953125, -0.01401519775390625, -0.06878662109375, 0.03424072265625, 0.05426025390625, -0.036102294921875, 0.0074005126953125, -0.004486083984375, -0.00968170166015625, 0.032989501953125, -0.02764892578125, 0.0107879638671875, 0.006671905517578125, -0.0010271072387695312, -0.004726409912109375, -0.01332855224609375, -0.01105499267578125, 0.00580596923828125, 0.01226806640625, 0.01280975341796875, 0.0958251953125, -0.0065155029296875, 0.0062255859375, -0.02215576171875, 0.033477783203125, -0.044403076171875, -0.0225982666015625, 0.01922607421875, -0.0018529891967773438, 0.00543212890625, -0.003757476806640625, -0.05303955078125, -0.044647216796875, 0.05572509765625, -0.06292724609375, -0.0416259765625, 0.00952911376953125, 0.031494140625, -0.0170745849609375, 0.032989501953125, -0.0308380126953125, -0.0628662109375, -0.073974609375, -0.0006122589111328125, 0.0203399658203125, 0.058441162109375, -0.0240478515625, 0.058837890625, -0.030303955078125, 0.011016845703125, 0.004917144775390625, -0.0311126708984375, -0.01708984375, 0.0210723876953125, -0.03106689453125, 0.0011034011840820312, 0.042755126953125, -0.0090789794921875, 0.014923095703125, 0.018341064453125, 0.0101470947265625, 0.0303497314453125, 0.0050048828125, 0.003658294677734375, 0.01332855224609375, 0.0022029876708984375, -0.037200927734375, -0.0011949539184570312, 0.033660888671875, -0.00907135009765625, 0.02960205078125, -0.005970001220703125, -0.022186279296875, -0.006275177001953125, -0.00807952880859375, 0.0020313262939453125, 0.01065826416015625, -0.0224456787109375, -0.01517486572265625, 0.0188140869140625, 0.020660400390625, -0.01126861572265625, -0.0218963623046875, 0.019805908203125, -0.03216552734375, 0.049346923828125, -0.03460693359375, -0.005428314208984375, -0.013427734375, -0.00839996337890625, -0.0634765625, 0.004581451416015625, -0.038299560546875, -0.0225830078125, -0.035980224609375, 0.01030731201171875, 0.0325927734375, -0.01416015625, -0.0439453125, -0.008331298828125, -0.006130218505859375, 0.048736572265625, 0.00989532470703125, 0.011138916015625, 0.007617950439453125, -0.0016918182373046875, -0.0723876953125, -0.0134735107421875, 0.047576904296875, -0.00916290283203125, -0.055084228515625, -0.0091705322265625, 0.005863189697265625, 0.0203857421875, -0.0215606689453125, -0.023223876953125, 0.08929443359375, -0.0094451904296875, -0.00850677490234375, -0.03900146484375, -0.003765106201171875, -0.009735107421875, 0.050323486328125, -0.007659912109375, -0.01273345947265625, -0.047576904296875, 0.0259552001953125, 0.0247039794921875, 0.036956787109375, 0.01012420654296875, 0.043060302734375, 0.0026836395263671875, 0.0246124267578125, 0.01326751708984375, -0.00836944580078125, -0.0164947509765625, 0.04150390625, -0.00734710693359375, 0.043701171875, -0.0182037353515625, 0.04168701171875, -0.0185089111328125, -0.0377197265625, 0.03985595703125, -0.06414794921875, -0.06317138671875, -0.06634521484375, 0.0190277099609375, -0.00007283687591552734, 0.00994110107421875, 0.01241302490234375, -0.054901123046875, -0.06182861328125, -0.0299224853515625, -0.0014982223510742188, 0.0290679931640625, -0.0667724609375, 0.03436279296875, 0.006114959716796875, 0.004543304443359375, -0.00983428955078125, -0.006526947021484375, -0.03607177734375, -0.0066986083984375, -0.006877899169921875, 0.00839996337890625, -0.061004638671875, 0.0254974365234375, -0.029693603515625, -0.0050048828125, -0.033538818359375, -0.027984619140625, 0.004337310791015625, -0.0579833984375, -0.02960205078125, 0.0013580322265625, -0.035125732421875, -0.0078277587890625, 0.041656494140625, -0.005352020263671875, 0.0257110595703125, -0.021148681640625, -0.0213470458984375, -0.041259765625, 0.02069091796875, -0.00017261505126953125, 0.00675201416015625, 0.00199127197265625, 0.0435791015625, 0.0504150390625, 0.0592041015625, -0.002593994140625, 0.00972747802734375, 0.0025787353515625, 0.037567138671875, -0.04144287109375, -0.0015287399291992188, -0.0082550048828125, -0.037933349609375, 0.0011119842529296875, 0.004665374755859375, -0.021881103515625, -0.030548095703125, 0.0127105712890625, 0.0043792724609375, -0.01180267333984375, 0.007648468017578125 ]
a31e7c54f5f22908c6982ee2deaa2b1b5639e56d
Wordpress Stackexchange Q: How to use _embed when using _fields? It seems that if you use _fields in an API request also containing _embed, the _fields filter will filter out all embeds. The following request: domain.com/wp-json/wp/v2/posts?_fields=link,title&_embed=wp:featuredmedia has no _embedded field, but it comes back if I remove the _fields filter. I also tried passing _fields=link,title,_embedded, but it doesn't work either. A: It is not clear in the documentation, but you need to include the "_links" and "_embedded" as fields to be returned. In addition, I include the _embed parameter, as it does not require a value. As of WordPress 5.4, the resources to embed can be limited by passing a list of link relation names to the _embed parameter, though I have not had success with that when using _fields Example: domain.com/wp-json/wp/v2/posts?_fields=link,title,featured_media,_links,_embedded&_embed
Q: How to use _embed when using _fields? It seems that if you use _fields in an API request also containing _embed, the _fields filter will filter out all embeds. The following request: domain.com/wp-json/wp/v2/posts?_fields=link,title&_embed=wp:featuredmedia has no _embedded field, but it comes back if I remove the _fields filter. I also tried passing _fields=link,title,_embedded, but it doesn't work either. A: It is not clear in the documentation, but you need to include the "_links" and "_embedded" as fields to be returned. In addition, I include the _embed parameter, as it does not require a value. As of WordPress 5.4, the resources to embed can be limited by passing a list of link relation names to the _embed parameter, though I have not had success with that when using _fields Example: domain.com/wp-json/wp/v2/posts?_fields=link,title,featured_media,_links,_embedded&_embed
wordpress
{ "language": "en", "length": 130, "provenance": "stackexchange_00019.jsonl.gz:502593", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/363868" }
[ 0.044921875, -0.01366424560546875, 0.0157470703125, -0.0098114013671875, -0.002704620361328125, -0.022491455078125, 0.02972412109375, -0.0260467529296875, 0.0167083740234375, -0.031280517578125, -0.0367431640625, -0.0172271728515625, -0.005970001220703125, -0.04229736328125, 0.022186279296875, -0.044342041015625, -0.01003265380859375, 0.0307159423828125, 0.016815185546875, -0.0166778564453125, 0.002689361572265625, -0.032745361328125, 0.0182342529296875, -0.0078277587890625, 0.042327880859375, -0.06060791015625, 0.0528564453125, -0.037353515625, 0.05059814453125, -0.004547119140625, 0.034576416015625, -0.0269622802734375, 0.00994110107421875, 0.053436279296875, -0.0496826171875, -0.0036945343017578125, 0.004547119140625, 0.014862060546875, 0.002819061279296875, 0.028900146484375, 0.00946807861328125, 0.0028324127197265625, 0.025360107421875, 0.02655029296875, -0.0009045600891113281, -0.032379150390625, 0.024566650390625, -0.0281829833984375, 0.003032684326171875, 0.01076507568359375, 0.0036449432373046875, 0.00713348388671875, 0.01052093505859375, 0.00933837890625, 0.0175018310546875, 0.034149169921875, 0.01447296142578125, -0.021575927734375, 0.051116943359375, -0.021881103515625, -0.044891357421875, -0.0310821533203125, 0.027313232421875, -0.04522705078125, 0.0275421142578125, -0.01372528076171875, 0.026641845703125, 0.01143646240234375, -0.00496673583984375, 0.033416748046875, 0.024078369140625, -0.0211944580078125, 0.01824951171875, -0.03521728515625, -0.042083740234375, 0.02227783203125, 0.00881195068359375, 0.0027141571044921875, 0.00727081298828125, -0.03875732421875, -0.0014677047729492188, 0.02703857421875, -0.032501220703125, -0.010711669921875, 0.01271820068359375, 0.01384735107421875, -0.0212249755859375, -0.0137176513671875, 0.0123291015625, 0.0011081695556640625, -0.001033782958984375, -0.0345458984375, -0.0254364013671875, 0.047943115234375, 0.0156707763671875, -0.024810791015625, 0.084716796875, 0.073486328125, 0.0045166015625, 0.00614166259765625, 0.00992584228515625, -0.05828857421875, 0.0227813720703125, -0.03167724609375, 0.047943115234375, 0.048370361328125, -0.056304931640625, -0.044921875, 0.052215576171875, 0.0200958251953125, 0.00994873046875, 0.021759033203125, 0.0301513671875, -0.0007476806640625, -0.03900146484375, -0.0328369140625, -0.017822265625, -0.020965576171875, -0.0116119384765625, -0.0404052734375, 0.0287017822265625, -0.00893402099609375, 0.028472900390625, 0.005886077880859375, 0.035491943359375, 0.026885986328125, -0.05621337890625, -0.0038890838623046875, 0.00482177734375, 0.0276947021484375, -0.01751708984375, 0.0013523101806640625, 0.0222320556640625, 0.0199737548828125, -0.003032684326171875, -0.0216827392578125, -0.038787841796875, 0.023040771484375, 0.02606201171875, 0.0136566162109375, -0.0175323486328125, -0.044891357421875, 0.054229736328125, 0.017578125, 0.0137481689453125, 0.0118408203125, 0.0263824462890625, 0.0019006729125976562, -0.01904296875, -0.016632080078125, 0.0149688720703125, -0.00531768798828125, 0.00971221923828125, 0.0262451171875, 0.047027587890625, -0.03173828125, 0.08209228515625, -0.061370849609375, 0.02398681640625, -0.048797607421875, 0.0014057159423828125, -0.0183868408203125, 0.0176544189453125, -0.044158935546875, -0.05718994140625, 0.0147552490234375, -0.035614013671875, -0.00812530517578125, 0.01299285888671875, 0.060577392578125, -0.005462646484375, -0.041595458984375, -0.043609619140625, -0.004283905029296875, -0.010650634765625, 0.0168609619140625, 0.041412353515625, 0.03765869140625, 0.0192413330078125, 0.0208282470703125, -0.02545166015625, -0.032928466796875, 0.11822509765625, -0.07763671875, -0.038238525390625, 0.0164794921875, 0.0252685546875, 0.020355224609375, 0.0018110275268554688, 0.0120697021484375, 0.0455322265625, 0.0423583984375, 0.04058837890625, -0.02655029296875, 0.00849151611328125, -0.039337158203125, 0.003520965576171875, -0.0189208984375, -0.00885772705078125, 0.0153045654296875, 0.0014667510986328125, -0.0195465087890625, 0.038818359375, 0.02471923828125, 0.01092529296875, 0.0031108856201171875, -0.0036468505859375, -0.00139617919921875, -0.0330810546875, 0.0163116455078125, 0.032867431640625, 0.01381683349609375, -0.0321044921875, -0.0077362060546875, -0.0079345703125, -0.01174163818359375, -0.0006451606750488281, 0.0230255126953125, 0.009185791015625, 0.03533935546875, -0.00896453857421875, -0.0097808837890625, -0.01885986328125, -0.0268096923828125, 0.057525634765625, -0.0194244384765625, 0.001323699951171875, -0.038543701171875, 0.077880859375, -0.021331787109375, 0.0226898193359375, 0.049285888671875, 0.0232391357421875, 0.0090179443359375, -0.019134521484375, 0.0089569091796875, -0.004825592041015625, -0.056884765625, 0.00037288665771484375, 0.05364990234375, 0.052215576171875, 0.019866943359375, 0.0240478515625, -0.012176513671875, 0.040740966796875, -0.0305328369140625, 0.03558349609375, -0.0506591796875, 0.01148223876953125, 0.07977294921875, -0.01366424560546875, -0.0086669921875, -0.01031494140625, -0.0955810546875, -0.0176239013671875, 0.0330810546875, -0.003086090087890625, -0.0073699951171875, 0.01329803466796875, -0.0092926025390625, -0.0102691650390625, -0.06732177734375, -0.0282745361328125, -0.035888671875, 0.0242462158203125, 0.010406494140625, 0.029815673828125, 0.037841796875, -0.0193939208984375, -0.01023101806640625, 0.0219573974609375, 0.041961669921875, -0.00879669189453125, 0.03692626953125, 0.005214691162109375, -0.0273284912109375, -0.01259613037109375, -0.003726959228515625, -0.005352020263671875, 0.00104522705078125, 0.0081787109375, -0.00632476806640625, 0.00598907470703125, -0.006755828857421875, 0.0218048095703125, 0.0027561187744140625, 0.0251007080078125, 0.0100860595703125, 0.03790283203125, -0.02252197265625, -0.0225677490234375, 0.06787109375, -0.0011320114135742188, 0.0771484375, 0.031463623046875, -0.0192108154296875, -0.050933837890625, -0.061767578125, 0.055023193359375, -0.07574462890625, -0.004268646240234375, 0.05035400390625, -0.028076171875, 0.00665283203125, -0.011810302734375, 0.0232696533203125, -0.01175689697265625, 0.0084381103515625, -0.012908935546875, -0.044677734375, -0.026885986328125, 0.00511932373046875, 0.0163421630859375, 0.04876708984375, -0.0241241455078125, -0.047088623046875, -0.0238494873046875, 0.0060577392578125, -0.086181640625, -0.061370849609375, 0.0280303955078125, -0.054229736328125, -0.0200042724609375, 0.036041259765625, -0.045257568359375, -0.014312744140625, 0.077880859375, -0.0069122314453125, 0.01788330078125, -0.01308441162109375, -0.080078125, -0.0307464599609375, -0.06610107421875, 0.022918701171875, -0.0309906005859375, 0.0021381378173828125, 0.018890380859375, 0.04864501953125, 0.045135498046875, 0.017791748046875, 0.068603515625, 0.01568603515625, -0.035614013671875, -0.00283050537109375, 0.00469207763671875, 0.0026760101318359375, -0.006000518798828125, 0.0007700920104980469, -0.004913330078125, 0.029876708984375, -0.0258331298828125, -0.018890380859375, -0.0293121337890625, 0.0205535888671875, 0.0102081298828125, 0.040771484375, 0.0293121337890625, 0.00206756591796875, 0.0294189453125, -0.031707763671875, 0.0098419189453125, -0.02203369140625, -0.0027217864990234375, 0.0073394775390625, 0.0013017654418945312, -0.0030117034912109375, -0.0254058837890625, 0.044158935546875, -0.00041174888610839844, 0.001682281494140625, 0.0245361328125, -0.0211639404296875, 0.0253753662109375, -0.0035419464111328125, -0.0034198760986328125, -0.02386474609375, 0.01715087890625, -0.0092315673828125, 0.03240966796875, 0.0157928466796875, 0.0240020751953125, -0.0333251953125, 0.0599365234375, -0.04840087890625, 0.0002225637435913086, 0.01540374755859375, -0.00579833984375, 0.038543701171875, -0.0020084381103515625, -0.0091400146484375, -0.00887298583984375, 0.05047607421875, -0.0516357421875, -0.042724609375, -0.00368499755859375, 0.0161895751953125, -0.005092620849609375, -0.017669677734375, 0.00353240966796875, -0.028411865234375, 0.0297088623046875, -0.024749755859375, -0.0245361328125, -0.015625, -0.00698089599609375, 0.01348114013671875, 0.0136871337890625, -0.0016031265258789062, 0.0181427001953125, -0.007099151611328125, -0.005420684814453125, 0.00518035888671875, -0.03619384765625, 0.0019397735595703125, -0.0248565673828125, -0.0164642333984375, -0.052581787109375, -0.0001569986343383789, 0.012786865234375, 0.0179901123046875, -0.01326751708984375, -0.0018148422241210938, -0.0033550262451171875, 0.0282135009765625, 0.016387939453125, 0.01023101806640625, 0.006435394287109375, -0.0189056396484375, -0.01044464111328125, 0.0200653076171875, 0.004451751708984375, -0.01329803466796875, -0.00342559814453125, -0.0149993896484375, -0.044677734375, 0.008392333984375, -0.01039886474609375, 0.043731689453125, 0.01230621337890625, -0.022308349609375, -0.0258941650390625, -0.0236358642578125, -0.0023250579833984375, -0.00820159912109375, -0.01021575927734375, -0.005359649658203125, -0.00713348388671875, 0.001068115234375, 0.033111572265625, -0.0200653076171875, 0.00553131103515625, 0.011749267578125, 0.09478759765625, 0.01119232177734375, -0.01284027099609375, -0.0458984375, 0.01092529296875, 0.041656494140625, -0.044708251953125, 0.0465087890625, 0.0450439453125, -0.045074462890625, 0.095458984375, -0.002017974853515625, 0.047515869140625, -0.01849365234375, 0.0283660888671875, 0.01507568359375, 0.0169677734375, 0.01026153564453125, 0.0283966064453125, -0.0325927734375, 0.0148162841796875, -0.0021820068359375, -0.044158935546875, 0.0049285888671875, 0.07220458984375, -0.0155487060546875, 0.021820068359375, -0.0478515625, -0.042266845703125, 0.0039215087890625, 0.0167388916015625, -0.0004911422729492188, 0.0221099853515625, -0.0009069442749023438, 0.01361083984375, 0.00885772705078125, 0.01983642578125, -0.0016813278198242188, -0.008636474609375, -0.012786865234375, 0.0316162109375, 0.006488800048828125, 0.0032329559326171875, -0.00785064697265625, -0.01549530029296875, 0.023956298828125, -0.031005859375, -0.07427978515625, 0.03424072265625, -0.027374267578125, -0.0003986358642578125, 0.03936767578125, 0.035186767578125, 0.014190673828125, 0.0264892578125, 0.024688720703125, 0.0250396728515625, 0.0269775390625, 0.034576416015625, -0.006378173828125, 0.05340576171875, -0.022979736328125, 0.029571533203125, 0.00540924072265625, 0.076171875, -0.054229736328125, 0.06817626953125, -0.00785064697265625, 0.0750732421875, 0.01467132568359375, 0.051239013671875, -0.0207977294921875, -0.00508880615234375, 0.00878143310546875, 0.03936767578125, -0.0236663818359375, -0.01239013671875, 0.0007071495056152344, 0.01371002197265625, 0.0009169578552246094, -0.008331298828125, -0.0086822509765625, 0.0292816162109375, -0.0161285400390625, -0.032958984375, 0.01238250732421875, -0.034332275390625, -0.041961669921875, -0.03338623046875, 0.017730712890625, 0.0263214111328125, 0.01018524169921875, -0.0031890869140625, -0.01514434814453125, -0.0016469955444335938, -0.0022258758544921875, -0.01041412353515625, -0.036163330078125, 0.020294189453125, 0.02191162109375, 0.046661376953125, -0.030120849609375, -0.0206451416015625, -0.06292724609375, 0.0096435546875, -0.030487060546875, 0.003421783447265625, 0.06646728515625, -0.03826904296875, 0.0221405029296875, -0.005054473876953125, 0.0024433135986328125, 0.00156402587890625, 0.0066375732421875, 0.0302886962890625, 0.02764892578125, -0.02325439453125, -0.0025501251220703125, -0.044403076171875, -0.015716552734375, 0.0168609619140625, -0.00879669189453125, -0.0247955322265625, -0.00644683837890625, -0.01690673828125, 0.0146942138671875, 0.002979278564453125, 0.00848388671875, 0.005840301513671875, 0.034027099609375, 0.00571441650390625, 0.04150390625, -0.01110076904296875, 0.040374755859375, 0.0186309814453125, 0.04119873046875, 0.0166778564453125, 0.005390167236328125, -0.042938232421875, -0.0160369873046875, -0.04205322265625, -0.0909423828125, 0.00023758411407470703, 0.042083740234375, -0.01241302490234375, 0.07244873046875, 0.0404052734375, 0.02703857421875, 0.05755615234375, -0.0239715576171875, -0.016876220703125, -0.0031833648681640625, 0.004909515380859375, -0.031280517578125, 0.024566650390625, 0.02880859375, -0.0182952880859375, 0.01081085205078125, -0.03009033203125, -0.0013904571533203125, 0.013824462890625, -0.0330810546875, 0.0085296630859375, 0.030487060546875, -0.0254669189453125, 0.052947998046875, 0.062042236328125, 0.0196990966796875, 0.0579833984375, 0.0230255126953125, 0.0132598876953125, -0.00760650634765625, 0.05963134765625, -0.038360595703125, -0.068115234375, -0.009552001953125, 0.0060577392578125, 0.0014324188232421875, 0.0008025169372558594, -0.0011110305786132812, 0.0277099609375, -0.0266876220703125, 0.022674560546875, -0.0261077880859375, 0.03594970703125, -0.0089263916015625, -0.0244903564453125, 0.0219573974609375, -0.01409912109375, 0.044830322265625, 0.015899658203125, -0.006622314453125, 0.023284912109375, -0.017059326171875, -0.0037841796875, -0.0236968994140625, -0.0108642578125, -0.00855255126953125, 0.00760650634765625, 0.00455474853515625, 0.0009655952453613281, -0.0207672119140625, -0.01537322998046875, -0.004146575927734375, 0.033172607421875, -0.015625, -0.016845703125, -0.05706787109375, -0.0418701171875, -0.06048583984375, -0.037994384765625, -0.036407470703125, 0.001308441162109375, 0.0300140380859375, 0.0653076171875, 0.053802490234375, 0.0250091552734375, -0.0279541015625, 0.035552978515625, 0.0183563232421875, -0.0254058837890625, -0.0222320556640625, 0.0095977783203125, 0.07421875, -0.047393798828125, 0.03662109375, -0.01355743408203125, 0.01305389404296875, -0.0151519775390625, -0.0341796875, 0.0672607421875, -0.0256195068359375, -0.0233154296875, -0.0110015869140625, 0.025909423828125, 0.022247314453125, -0.038330078125, 0.0185394287109375, -0.03662109375, 0.0130615234375, -0.0217132568359375, -0.01204681396484375, 0.01422882080078125, -0.020538330078125, -0.0850830078125, 0.1275634765625, 0.042236328125, 0.030181884765625, -0.025390625, 0.051422119140625, -0.0281524658203125, 0.0234222412109375, -0.017120361328125, 0.05987548828125, 0.0241546630859375, 0.005245208740234375, -0.0111541748046875, -0.017730712890625, 0.01198577880859375, 0.045135498046875, 0.0226898193359375, 0.0003829002380371094, 0.01312255859375, -0.033447265625, 0.036712646484375, 0.07086181640625, 0.01535797119140625, -0.0014982223510742188, -0.0125274658203125, 0.052093505859375, 0.008453369140625, -0.05084228515625, 0.0098419189453125, -0.017303466796875, -0.053741455078125, 0.023040771484375, 0.026397705078125, 0.044403076171875, 0.028411865234375, -0.0037689208984375, 0.0316162109375, -0.004154205322265625, 0.00203704833984375, -0.048095703125, 0.0138397216796875, 0.040802001953125, 0.0173797607421875, 0.0143280029296875, 0.04852294921875, -0.0283203125, 0.05615234375, 0.0088653564453125, 0.039703369140625, 0.0491943359375, 0.01605224609375, 0.047454833984375, -0.033111572265625, 0.0117950439453125, -0.0299530029296875, -0.004543304443359375, 0.05255126953125, 0.0195159912109375, 0.034332275390625, -0.045745849609375, -0.01971435546875, 0.0341796875, 0.061309814453125, -0.038818359375, -0.051513671875, 0.019805908203125, 0.01287841796875, 0.0085601806640625, 0.0166168212890625, 0.00013589859008789062, -0.01629638671875, 0.0257568359375, -0.0240020751953125, 0.02374267578125, 0.0504150390625, 0.00626373291015625, 0.01605224609375, 0.0286712646484375, -0.06671142578125, 0.036346435546875, -0.054595947265625, -0.006015777587890625, 0.01312255859375, 0.059356689453125, 0.060394287109375, 0.040740966796875, 0.0189666748046875, -0.0396728515625, -0.0036602020263671875, 0.03912353515625, 0.0184326171875, -0.012481689453125, -0.0006055831909179688, -0.03167724609375, 0.00460052490234375, 0.00476837158203125, 0.032623291015625, 0.0070343017578125, 0.020416259765625, 0.00899505615234375, -0.01800537109375, 0.0034027099609375, 0.01513671875, -0.0207061767578125, -0.0022335052490234375, -0.053802490234375, 0.0004019737243652344, 0.007076263427734375, -0.0170745849609375, 0.0174560546875, -0.056304931640625, 0.033233642578125, -0.0175018310546875, 0.04437255859375, -0.00823974609375, -0.01201629638671875, -0.0099639892578125, -0.024993896484375, 0.02410888671875, -0.0154266357421875, -0.09930419921875, 0.0120697021484375, -0.05267333984375, -0.08148193359375, 0.0253448486328125, 0.040679931640625, -0.03399658203125, 0.0123443603515625, 0.0198516845703125, 0.00978851318359375, -0.034332275390625, -0.002330780029296875, 0.01049041748046875, -0.039215087890625, 0.0260009765625, 0.00514984130859375, 0.0092926025390625, -0.012420654296875, 0.01064300537109375, 0.03741455078125, 0.01251220703125, 0.047637939453125, -0.0191650390625, 0.0188446044921875, -0.00708770751953125, -0.0382080078125, 0.043212890625, 0.039306640625, -0.05450439453125, 0.03729248046875, 0.007328033447265625, -0.020965576171875, -0.051116943359375, 0.035369873046875, 0.020965576171875, -0.0002608299255371094, 0.03167724609375, 0.0029048919677734375, 0.01342010498046875, -0.01849365234375, 0.0127716064453125, -0.036651611328125, -0.04229736328125, -0.04339599609375, 0.005420684814453125, 0.0035419464111328125, -0.0009064674377441406, -0.0084686279296875, 0.0156402587890625, 0.053863525390625, -0.022857666015625, 0.016510009765625, -0.018707275390625, 0.0318603515625, 0.0263671875, 0.049224853515625, 0.025787353515625, 0.017822265625, -0.0172271728515625, 0.0214080810546875, 0.013275146484375, 0.002933502197265625, 0.02606201171875, -0.04791259765625, -0.03582763671875, 0.0059967041015625, -0.007038116455078125, -0.0200347900390625, 0.0019435882568359375, 0.01433563232421875, -0.0272369384765625, -0.0030498504638671875, -0.0185699462890625, -0.02191162109375, -0.049468994140625, -0.01323699951171875, 0.02545166015625, -0.036956787109375, -0.0521240234375, -0.0670166015625, -0.004230499267578125, 0.0228729248046875, -0.0059967041015625, -0.0228118896484375, 0.02874755859375, -0.028076171875, 0.0115814208984375, -0.02520751953125, -0.00829315185546875, 0.0014095306396484375, 0.04443359375, -0.026580810546875, -0.01165771484375, -0.035552978515625, -0.020721435546875, -0.0252227783203125, -0.0008459091186523438, 0.003589630126953125, -0.01053619384765625, 0.01453399658203125, 0.030029296875, 0.02020263671875, 0.057464599609375, -0.0194549560546875, -0.0316162109375, -0.023895263671875, 0.018096923828125, -0.01666259765625, -0.00948333740234375, 0.0306396484375, -0.048492431640625, -0.037872314453125, -0.0382080078125, -0.00841522216796875, -0.0171661376953125, -0.036224365234375, -0.06451416015625, 0.074951171875, -0.0189056396484375, -0.0287628173828125, -0.041748046875, -0.0280914306640625, 0.0047607421875, 0.0272216796875, -0.0038433074951171875, -0.022064208984375, -0.0653076171875, 0.016204833984375, -0.0012760162353515625, -0.0008192062377929688, 0.0281829833984375, -0.00582122802734375, -0.04241943359375, -0.00681304931640625, -0.004306793212890625, -0.01041412353515625, 0.002079010009765625, 0.002307891845703125, 0.0272674560546875, 0.03839111328125, -0.038665771484375, 0.0271453857421875, 0.0016870498657226562, 0.01016998291015625, -0.01387786865234375, -0.006664276123046875, -0.0131683349609375, -0.01137542724609375, 0.08349609375, 0.0322265625, 0.01088714599609375, -0.0271148681640625, 0.0004925727844238281, -0.01047515869140625, -0.0063934326171875, -0.00824737548828125, -0.0028171539306640625, -0.03289794921875, -0.0106658935546875, -0.00933837890625, 0.01329803466796875, 0.004482269287109375, -0.041778564453125, -0.00154876708984375, -0.016815185546875, 0.031951904296875, 0.031646728515625, -0.004848480224609375, 0.0297698974609375, 0.040740966796875, -0.055511474609375, -0.0472412109375, -0.00860595703125, -0.005157470703125, -0.0257415771484375, -0.06591796875, -0.0305938720703125, -0.031829833984375, 0.00273895263671875, 0.01241302490234375, 0.005313873291015625, 0.037750244140625, 0.0019931793212890625, -0.0008406639099121094, -0.0450439453125, 0.021087646484375, 0.0157928466796875, 0.01690673828125, -0.0248870849609375, 0.05999755859375, 0.0379638671875, 0.07098388671875, -0.045196533203125, 0.09454345703125, -0.02496337890625, 0.052734375, -0.0256500244140625, 0.0206756591796875, 0.0032444000244140625, 0.0211181640625, -0.003978729248046875, 0.01467132568359375, -0.039337158203125, -0.0341796875, -0.002429962158203125, -0.031005859375, -0.005908966064453125, -0.0021343231201171875 ]
7da03b769e9436c840178e9dae2a2846c2971709
Wordpress Stackexchange Q: Does wp_remote_post support asynchronous request? I want to post to multiple rest API endpoints with wp_remote_post but don't want to wait for the response back and keep continuing code execution. Some popular clients like guzzle etc. support asynchronous Http call. Does wp_remote_post also support the same? If yes how can I achieve that?
Q: Does wp_remote_post support asynchronous request? I want to post to multiple rest API endpoints with wp_remote_post but don't want to wait for the response back and keep continuing code execution. Some popular clients like guzzle etc. support asynchronous Http call. Does wp_remote_post also support the same? If yes how can I achieve that?
wordpress
{ "language": "en", "length": 54, "provenance": "stackexchange_00019.jsonl.gz:502773", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/364531" }
[ 0.037994384765625, -0.002750396728515625, -0.019683837890625, -0.03497314453125, 0.00821685791015625, -0.0291900634765625, 0.037750244140625, -0.0024890899658203125, 0.0017328262329101562, -0.0037364959716796875, -0.01296234130859375, -0.038909912109375, -0.009490966796875, -0.032867431640625, 0.007411956787109375, -0.06109619140625, 0.033447265625, 0.0161285400390625, 0.03131103515625, -0.019439697265625, -0.01036834716796875, -0.00560760498046875, 0.0253753662109375, 0.031646728515625, 0.0141448974609375, 0.05181884765625, -0.0312347412109375, -0.02777099609375, -0.0038394927978515625, -0.005512237548828125, 0.00595855712890625, -0.006561279296875, 0.0039825439453125, 0.051605224609375, -0.0545654296875, -0.051300048828125, 0.01556396484375, 0.005229949951171875, -0.0229034423828125, 0.042816162109375, 0.016815185546875, -0.0202484130859375, 0.037811279296875, 0.0093536376953125, 0.0093994140625, 0.0069732666015625, 0.00016021728515625, -0.0457763671875, 0.01358795166015625, 0.019256591796875, -0.009185791015625, -0.0281829833984375, -0.0103759765625, 0.042694091796875, -0.0223541259765625, -0.0390625, 0.0174560546875, -0.002849578857421875, 0.0709228515625, -0.0736083984375, -0.06939697265625, -0.06036376953125, 0.05804443359375, -0.0040740966796875, -0.00208282470703125, 0.0233154296875, 0.01654052734375, 0.004695892333984375, -0.007053375244140625, -0.0191497802734375, -0.0161590576171875, -0.012725830078125, -0.01120758056640625, -0.0015153884887695312, -0.00872039794921875, -0.0394287109375, 0.01343536376953125, -0.036224365234375, 0.0149383544921875, 0.034271240234375, 0.00940704345703125, -0.013153076171875, -0.00894927978515625, -0.047698974609375, 0.029296875, -0.0201568603515625, -0.0032482147216796875, -0.01070404052734375, -0.047393798828125, -0.03271484375, -0.0218505859375, -0.051727294921875, -0.10308837890625, 0.034698486328125, 0.0185699462890625, -0.00920867919921875, -0.02960205078125, -0.0623779296875, 0.0237579345703125, 0.01309967041015625, 0.05523681640625, -0.04949951171875, 0.059234619140625, -0.0131988525390625, -0.0092315673828125, -0.0364990234375, 0.00946807861328125, -0.0299530029296875, 0.036041259765625, 0.0274505615234375, -0.04022216796875, 0.0753173828125, 0.061553955078125, 0.0215606689453125, -0.0355224609375, -0.057464599609375, -0.00616455078125, 0.028778076171875, -0.0024890899658203125, -0.0017642974853515625, 0.0102691650390625, 0.031341552734375, -0.0031757354736328125, 0.010406494140625, 0.0092926025390625, 0.035003662109375, 0.01251220703125, -0.037933349609375, 0.004451751708984375, 0.034027099609375, -0.0218353271484375, 0.004444122314453125, 0.011505126953125, -0.007476806640625, -0.0260467529296875, -0.026611328125, 0.037445068359375, -0.016357421875, 0.00799560546875, 0.00901031494140625, 0.027435302734375, -0.042633056640625, -0.0275115966796875, 0.0430908203125, 0.0682373046875, 0.01214599609375, 0.029571533203125, 0.0214996337890625, 0.0196075439453125, 0.0228118896484375, 0.01922607421875, -0.0004570484161376953, -0.0014019012451171875, -0.013519287109375, 0.07269287109375, -0.039459228515625, 0.0208282470703125, -0.02484130859375, 0.0382080078125, 0.0186614990234375, 0.020263671875, -0.02923583984375, 0.0030059814453125, -0.0010976791381835938, -0.06768798828125, 0.0467529296875, -0.053192138671875, -0.034698486328125, 0.0185089111328125, 0.059051513671875, -0.042633056640625, -0.041534423828125, 0.026031494140625, 0.00926971435546875, -0.0294647216796875, 0.048248291015625, 0.01171875, 0.045562744140625, 0.017730712890625, -0.0084228515625, -0.0140838623046875, -0.046630859375, 0.0721435546875, -0.0161285400390625, -0.0298919677734375, 0.07080078125, 0.009033203125, 0.0989990234375, -0.006855010986328125, 0.036529541015625, -0.0372314453125, 0.0157470703125, 0.03375244140625, 0.0245513916015625, -0.003360748291015625, -0.06707763671875, -0.0153045654296875, -0.017730712890625, -0.0211181640625, 0.0034427642822265625, 0.0005388259887695312, 0.0016946792602539062, -0.0029754638671875, 0.0157928466796875, -0.0159454345703125, -0.00449371337890625, -0.024383544921875, 0.0189971923828125, 0.031280517578125, 0.0169677734375, -0.0222930908203125, -0.01146697998046875, 0.03369140625, -0.07025146484375, -0.06329345703125, 0.0008473396301269531, -0.0242767333984375, 0.037567138671875, -0.0251312255859375, 0.03851318359375, -0.05303955078125, -0.033203125, -0.0307464599609375, -0.0031757354736328125, 0.04345703125, 0.00963592529296875, -0.0008921623229980469, -0.0192108154296875, 0.051513671875, 0.004730224609375, 0.0084381103515625, 0.00045871734619140625, -0.00417327880859375, -0.0004916191101074219, 0.013641357421875, 0.0176239013671875, 0.06591796875, -0.057861328125, 0.033782958984375, 0.0248870849609375, 0.033905029296875, 0.01483917236328125, 0.011444091796875, 0.043701171875, -0.0086822509765625, -0.08026123046875, 0.001972198486328125, 0.01355743408203125, -0.031890869140625, -0.0013103485107421875, 0.02850341796875, -0.0126800537109375, -0.003322601318359375, -0.09075927734375, -0.0223541259765625, 0.0210723876953125, -0.0159759521484375, -0.034271240234375, -0.031829833984375, 0.01275634765625, 0.0177459716796875, -0.060333251953125, -0.044403076171875, -0.009429931640625, 0.0036144256591796875, -0.026397705078125, 0.0204315185546875, 0.0166473388671875, 0.01044464111328125, -0.04534912109375, 0.0245208740234375, 0.03375244140625, 0.008880615234375, 0.03912353515625, 0.03289794921875, 0.0689697265625, -0.0297698974609375, -0.03558349609375, 0.0259552001953125, 0.039642333984375, -0.03375244140625, 0.0149993896484375, 0.01007843017578125, -0.01235198974609375, -0.031005859375, -0.006877899169921875, 0.031280517578125, -0.020599365234375, 0.06341552734375, 0.0109100341796875, 0.031890869140625, 0.0031948089599609375, -0.0121917724609375, 0.0582275390625, 0.004390716552734375, -0.042877197265625, -0.00379180908203125, 0.007720947265625, -0.000156402587890625, -0.0101776123046875, -0.0165252685546875, 0.026947021484375, 0.009674072265625, -0.01407623291015625, -0.0014657974243164062, 0.0226593017578125, -0.007007598876953125, 0.03216552734375, 0.005611419677734375, -0.01259613037109375, -0.04205322265625, -0.022216796875, 0.038238525390625, 0.047088623046875, 0.01201629638671875, -0.0389404296875, -0.0034332275390625, 0.05035400390625, -0.09246826171875, -0.08233642578125, 0.060302734375, -0.057586669921875, -0.00021255016326904297, -0.0261383056640625, -0.03753662109375, -0.0296173095703125, -0.00650787353515625, -0.0220184326171875, -0.044769287109375, 0.01013946533203125, -0.053619384765625, -0.03875732421875, -0.037506103515625, 0.01438140869140625, -0.02923583984375, 0.016571044921875, 0.00041556358337402344, 0.0784912109375, 0.00551605224609375, -0.0181121826171875, -0.01873779296875, -0.042572021484375, -0.033935546875, -0.02264404296875, 0.0011796951293945312, -0.019866943359375, 0.0098114013671875, 0.0030536651611328125, 0.015716552734375, 0.022796630859375, -0.00466156005859375, -0.00223541259765625, -0.0223236083984375, 0.01456451416015625, 0.00403594970703125, -0.01528167724609375, 0.02947998046875, 0.0014104843139648438, -0.0194091796875, -0.04486083984375, -0.00485992431640625, -0.03704833984375, -0.047698974609375, -0.0350341796875, 0.015960693359375, 0.013519287109375, -0.041412353515625, 0.007781982421875, 0.01605224609375, 0.0126190185546875, 0.003704071044921875, -0.00817108154296875, 0.032623291015625, -0.00194549560546875, 0.0123443603515625, -0.0088653564453125, 0.00455474853515625, -0.01059722900390625, 0.0020503997802734375, -0.01062774658203125, -0.0015392303466796875, -0.04522705078125, 0.06402587890625, -0.05059814453125, -0.006847381591796875, 0.0293731689453125, -0.0004897117614746094, -0.006717681884765625, 0.0069122314453125, -0.01178741455078125, 0.01403045654296875, 0.04937744140625, -0.003429412841796875, -0.0277557373046875, -0.0032062530517578125, 0.0234222412109375, -0.06805419921875, -0.046661376953125, -0.0155792236328125, 0.0123291015625, 0.07476806640625, -0.0126190185546875, -0.031219482421875, 0.01263427734375, 0.015869140625, -0.0084075927734375, 0.08197021484375, -0.005859375, 0.022216796875, -0.10009765625, 0.01143646240234375, -0.02569580078125, 0.0185546875, -0.08209228515625, 0.0031604766845703125, -0.053924560546875, -0.042327880859375, 0.0061798095703125, -0.051177978515625, 0.007843017578125, 0.031524658203125, -0.0333251953125, 0.00872802734375, 0.024200439453125, 0.0306549072265625, 0.0167083740234375, 0.01468658447265625, -0.04620361328125, 0.035919189453125, 0.03277587890625, 0.0246124267578125, 0.01010894775390625, -0.035125732421875, 0.0006165504455566406, -0.00039458274841308594, -0.0087890625, -0.0210723876953125, -0.07781982421875, 0.00022649765014648438, -0.027587890625, -0.00457000732421875, -0.0022945404052734375, -0.0343017578125, 0.0369873046875, -0.01245880126953125, -0.00357818603515625, -0.0184173583984375, -0.052581787109375, 0.038848876953125, -0.003688812255859375, 0.01068115234375, 0.0005021095275878906, 0.056396484375, 0.01222991943359375, -0.01430511474609375, -0.044525146484375, -0.0116424560546875, 0.0218353271484375, 0.02203369140625, 0.01195526123046875, -0.025054931640625, -0.036285400390625, 0.062164306640625, 0.008819580078125, 0.043792724609375, 0.047943115234375, -0.027374267578125, -0.0028476715087890625, -0.0335693359375, 0.0298614501953125, 0.0528564453125, -0.0645751953125, 0.040496826171875, -0.0176239013671875, -0.01352691650390625, -0.018798828125, 0.03912353515625, -0.039154052734375, 0.006313323974609375, -0.0455322265625, -0.038787841796875, 0.0181884765625, -0.03704833984375, 0.016845703125, 0.027679443359375, -0.0164337158203125, 0.0207672119140625, 0.0018062591552734375, 0.00788116455078125, -0.038909912109375, -0.00007325410842895508, -0.045501708984375, 0.0296783447265625, -0.0274658203125, -0.01084136962890625, -0.003276824951171875, -0.004352569580078125, 0.04754638671875, -0.00004309415817260742, -0.04278564453125, -0.032867431640625, -0.004421234130859375, 0.01134490966796875, 0.02081298828125, -0.01922607421875, 0.019683837890625, 0.032958984375, 0.01007843017578125, -0.02362060546875, -0.00975799560546875, -0.004909515380859375, -0.0301971435546875, 0.0174713134765625, -0.0065155029296875, -0.0017862319946289062, -0.00543212890625, 0.05157470703125, 0.010284423828125, 0.026824951171875, -0.018096923828125, 0.0367431640625, 0.054168701171875, 0.004608154296875, 0.0097808837890625, 0.027587890625, 0.0197601318359375, -0.02923583984375, 0.01085662841796875, -0.04254150390625, -0.03155517578125, 0.0202789306640625, 0.0273284912109375, 0.0045318603515625, 0.0003006458282470703, 0.02392578125, 0.01380157470703125, -0.0285186767578125, 0.029510498046875, 0.056732177734375, 0.03472900390625, -0.03826904296875, -0.0180206298828125, 0.030303955078125, 0.04315185546875, 0.0226287841796875, -0.022491455078125, 0.031463623046875, 0.007717132568359375, -0.034698486328125, -0.0148468017578125, -0.0129547119140625, -0.0003237724304199219, 0.0016717910766601562, -0.031585693359375, -0.01471710205078125, 0.004779815673828125, 0.01464080810546875, -0.0192413330078125, -0.008331298828125, 0.047088623046875, -0.007080078125, 0.00821685791015625, -0.0341796875, 0.0082244873046875, -0.050872802734375, 0.01288604736328125, 0.04931640625, 0.03302001953125, 0.00154876708984375, -0.0217132568359375, -0.016357421875, -0.0302276611328125, 0.005840301513671875, -0.007476806640625, -0.0220947265625, -0.00852203369140625, 0.029510498046875, 0.02264404296875, 0.0010242462158203125, -0.04168701171875, -0.0202789306640625, 0.0257110595703125, 0.037689208984375, 0.042022705078125, 0.0006308555603027344, 0.0675048828125, -0.04168701171875, 0.03363037109375, -0.005840301513671875, 0.00269317626953125, -0.0501708984375, 0.00576019287109375, -0.01261138916015625, -0.0858154296875, -0.021759033203125, 0.016326904296875, -0.015472412109375, 0.064453125, 0.03045654296875, 0.00785064697265625, 0.0223541259765625, -0.032867431640625, -0.0095062255859375, -0.007732391357421875, 0.0655517578125, -0.02960205078125, 0.0196533203125, 0.0240020751953125, 0.00033736228942871094, 0.00115203857421875, -0.0313720703125, -0.04638671875, 0.0182952880859375, 0.0297698974609375, 0.00946044921875, -0.0121307373046875, 0.002346038818359375, -0.00635528564453125, 0.07171630859375, -0.017425537109375, 0.05328369140625, 0.03253173828125, 0.0243072509765625, 0.057373046875, 0.029754638671875, -0.04217529296875, -0.041778564453125, -0.026519775390625, -0.0035800933837890625, 0.0033168792724609375, -0.01788330078125, 0.01029205322265625, 0.0164031982421875, -0.0006723403930664062, 0.052520751953125, -0.0148468017578125, 0.0218353271484375, 0.01491546630859375, -0.04583740234375, 0.00481414794921875, 0.007762908935546875, -0.0011930465698242188, -0.0518798828125, 0.0231170654296875, -0.0125579833984375, -0.01039886474609375, 0.0012006759643554688, -0.0278472900390625, 0.0020732879638671875, -0.03424072265625, 0.054412841796875, 0.019439697265625, -0.061676025390625, 0.032379150390625, 0.0606689453125, 0.0029315948486328125, -0.00946044921875, 0.0281219482421875, -0.00646209716796875, -0.0007228851318359375, -0.03338623046875, 0.02734375, -0.0306549072265625, -0.0206451416015625, 0.04949951171875, 0.004207611083984375, -0.01033782958984375, 0.04290771484375, -0.021392822265625, 0.0306396484375, 0.01363372802734375, -0.049591064453125, -0.061248779296875, -0.0692138671875, -0.0222930908203125, 0.03759765625, -0.05389404296875, 0.037994384765625, -0.0051116943359375, -0.023681640625, 0.003814697265625, 0.0163421630859375, 0.0435791015625, -0.0079803466796875, -0.0194854736328125, 0.021392822265625, -0.006290435791015625, 0.0009870529174804688, -0.0008001327514648438, 0.006866455078125, -0.06640625, -0.04559326171875, -0.01161956787109375, -0.06640625, 0.0047149658203125, -0.0250701904296875, -0.061798095703125, 0.12432861328125, 0.020416259765625, 0.02044677734375, -0.01715087890625, 0.0552978515625, -0.0277099609375, 0.0477294921875, -0.01849365234375, 0.0394287109375, 0.01263427734375, -0.0284576416015625, 0.0024394989013671875, 0.0263671875, -0.0110931396484375, -0.02484130859375, 0.0177764892578125, 0.0201416015625, -0.05645751953125, -0.013092041015625, -0.007720947265625, 0.029388427734375, 0.013641357421875, 0.050537109375, 0.0173492431640625, 0.0002460479736328125, 0.036376953125, -0.024932861328125, 0.006473541259765625, -0.0106201171875, 0.02423095703125, 0.055389404296875, 0.0289459228515625, 0.045806884765625, -0.036468505859375, 0.0181121826171875, -0.0168304443359375, -0.03082275390625, 0.026702880859375, -0.00800323486328125, -0.03643798828125, 0.0250701904296875, -0.034637451171875, 0.03546142578125, 0.0201263427734375, -0.0306549072265625, 0.036865234375, -0.005023956298828125, 0.01140594482421875, 0.0333251953125, 0.017059326171875, 0.0024585723876953125, -0.0130767822265625, -0.00518035888671875, 0.01032257080078125, -0.0305328369140625, 0.04693603515625, 0.00146484375, 0.0289306640625, -0.06536865234375, -0.01605224609375, -0.00006008148193359375, 0.052276611328125, -0.044677734375, -0.033660888671875, 0.004146575927734375, -0.004608154296875, 0.02105712890625, -0.0289306640625, 0.0237579345703125, -0.0631103515625, -0.03961181640625, -0.0218048095703125, 0.01061248779296875, 0.014190673828125, 0.03369140625, 0.010528564453125, 0.0119476318359375, -0.050048828125, -0.0184478759765625, -0.03851318359375, 0.0005555152893066406, 0.03643798828125, 0.08526611328125, 0.017364501953125, 0.0653076171875, -0.04205322265625, -0.024810791015625, 0.0071258544921875, 0.0024356842041015625, -0.0128631591796875, -0.00780487060546875, 0.0050811767578125, -0.036956787109375, 0.0253143310546875, 0.01458740234375, 0.0272369384765625, 0.0261383056640625, 0.051605224609375, 0.048065185546875, -0.034271240234375, -0.0032558441162109375, 0.06787109375, -0.016876220703125, -0.0243988037109375, -0.034820556640625, -0.039642333984375, 0.0164642333984375, -0.0166473388671875, 0.020233154296875, -0.028289794921875, 0.03387451171875, 0.007556915283203125, 0.0243377685546875, 0.0096282958984375, -0.01934814453125, 0.06011962890625, 0.00681304931640625, 0.0550537109375, 0.0252532958984375, -0.05218505859375, -0.01340484619140625, 0.01549530029296875, -0.0288848876953125, -0.00504302978515625, 0.0196990966796875, -0.04302978515625, 0.05419921875, 0.038970947265625, -0.041351318359375, 0.0013856887817382812, 0.0228424072265625, 0.0234375, -0.0024585723876953125, 0.005031585693359375, -0.00458526611328125, -0.0733642578125, -0.04541015625, -0.0168304443359375, 0.0189666748046875, -0.040252685546875, 0.087890625, -0.01113128662109375, -0.0139007568359375, 0.032684326171875, -0.00955963134765625, 0.0055694580078125, 0.034576416015625, 0.0118865966796875, -0.01556396484375, -0.023681640625, -0.004367828369140625, -0.054779052734375, 0.0418701171875, -0.0089874267578125, 0.0302581787109375, 0.0489501953125, -0.05718994140625, 0.00818634033203125, 0.0266571044921875, 0.013763427734375, -0.032379150390625, -0.00583648681640625, -0.018951416015625, -0.0113525390625, 0.007335662841796875, -0.01154327392578125, -0.0030841827392578125, 0.034698486328125, -0.04840087890625, -0.04315185546875, 0.0082855224609375, -0.06695556640625, -0.01043701171875, 0.0218048095703125, 0.00688934326171875, 0.05902099609375, -0.041046142578125, -0.035247802734375, 0.037017822265625, 0.0053863525390625, -0.04486083984375, -0.000598907470703125, 0.015655517578125, 0.016571044921875, 0.0251617431640625, 0.058013916015625, 0.0297393798828125, -0.0016851425170898438, 0.00012803077697753906, -0.0174713134765625, -0.0235137939453125, 0.018951416015625, -0.0007910728454589844, -0.00711822509765625, -0.0158233642578125, -0.0156402587890625, 0.0030670166015625, -0.042938232421875, 0.01190185546875, -0.04931640625, 0.0239410400390625, -0.003398895263671875, 0.0190582275390625, -0.035552978515625, 0.00911712646484375, -0.0177001953125, 0.007221221923828125, 0.01186370849609375, 0.0004897117614746094, 0.03369140625, -0.041351318359375, -0.0181732177734375, -0.0098876953125, 0.01311492919921875, 0.001750946044921875, 0.015899658203125, 0.0290679931640625, -0.034637451171875, 0.0082855224609375, -0.006801605224609375, 0.0223388671875, 0.03179931640625, 0.0293731689453125, 0.0015106201171875, 0.00446319580078125, 0.037109375, -0.046630859375, -0.042449951171875, 0.0213470458984375, -0.017669677734375, 0.0025310516357421875, -0.0191802978515625, 0.017181396484375, 0.017974853515625, -0.0246734619140625, -0.07440185546875, 0.04095458984375, -0.0202789306640625, -0.03448486328125, -0.048126220703125, -0.01552581787109375, 0.00047326087951660156, -0.0289306640625, -0.0240478515625, -0.01490020751953125, -0.0302581787109375, 0.050567626953125, -0.009613037109375, 0.0302276611328125, 0.00936126708984375, -0.0114593505859375, 0.0109405517578125, 0.01532745361328125, 0.023193359375, -0.01021575927734375, -0.005153656005859375, 0.00421142578125, 0.014404296875, 0.016448974609375, -0.024810791015625, 0.005474090576171875, 0.00670623779296875, -0.00595855712890625, -0.017822265625, -0.0030193328857421875, -0.00673675537109375, 0.02508544921875, 0.01314544677734375, 0.07421875, 0.005748748779296875, -0.06292724609375, -0.01495361328125, -0.017364501953125, 0.01702880859375, -0.0307464599609375, -0.00978851318359375, -0.03619384765625, -0.0104522705078125, -0.031036376953125, 0.0167388916015625, 0.00246429443359375, -0.0175628662109375, 0.0245361328125, -0.026153564453125, 0.040130615234375, -0.00907135009765625, 0.01605224609375, -0.0445556640625, 0.04736328125, -0.0263214111328125, 0.0152130126953125, -0.0114288330078125, 0.04595947265625, 0.034881591796875, 0.023834228515625, -0.026763916015625, -0.01097869873046875, -0.0218658447265625, 0.0258636474609375, -0.008636474609375, -0.01526641845703125, -0.007450103759765625, 0.01995849609375, -0.0077667236328125, 0.013946533203125, 0.006252288818359375, 0.01593017578125, -0.00986480712890625, 0.01357269287109375, 0.00289154052734375, 0.01434326171875, -0.01788330078125, -0.0496826171875, -0.0197296142578125, -0.0034236907958984375, -0.0096282958984375, 0.0012378692626953125, 0.036407470703125, -0.023345947265625, 0.005519866943359375, 0.0125579833984375, 0.00771331787109375, -0.01151275634765625, 0.01477813720703125, 0.04461669921875, -0.0185394287109375, 0.004886627197265625 ]
f72e92222e40de2f0b2f65559fd830ff20169189
Wordpress Stackexchange Q: Using Primary Color in Plugin Block I'm developing a Gutenberg block, and I want the block to fit in as nicely as possible with the users site. So I'm trying to include as little styling of my own as possible, eg. allowing buttons to take their default shape and color. But I've hit a problem, I want to use the primary color as background for a custom element (it's a plain old div). I found the .has-accent-background-color class and it worked on my testing site with the Twenty Twenty theme, but not when I changed to the Twenty Nineteen theme. Is there a way to access the primary color independent of current theme?
Q: Using Primary Color in Plugin Block I'm developing a Gutenberg block, and I want the block to fit in as nicely as possible with the users site. So I'm trying to include as little styling of my own as possible, eg. allowing buttons to take their default shape and color. But I've hit a problem, I want to use the primary color as background for a custom element (it's a plain old div). I found the .has-accent-background-color class and it worked on my testing site with the Twenty Twenty theme, but not when I changed to the Twenty Nineteen theme. Is there a way to access the primary color independent of current theme?
wordpress
{ "language": "en", "length": 114, "provenance": "stackexchange_00019.jsonl.gz:503156", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/365873" }
[ -0.01983642578125, -0.0208282470703125, -0.01538848876953125, -0.0001798868179321289, -0.03692626953125, -0.0108184814453125, -0.006519317626953125, 0.00733184814453125, -0.00983428955078125, 0.03778076171875, 0.01016998291015625, -0.013275146484375, -0.0323486328125, -0.0251922607421875, -0.031951904296875, -0.02728271484375, 0.03485107421875, -0.026336669921875, 0.0033779144287109375, -0.0116729736328125, 0.01404571533203125, 0.005336761474609375, -0.00641632080078125, 0.059417724609375, 0.07275390625, -0.08465576171875, 0.0606689453125, -0.0145263671875, 0.062408447265625, -0.0218963623046875, 0.048583984375, -0.012603759765625, 0.0263519287109375, -0.017608642578125, -0.007236480712890625, 0.004863739013671875, 0.003936767578125, -0.0260467529296875, -0.01064300537109375, 0.0294952392578125, 0.0372314453125, -0.01282501220703125, -0.031158447265625, 0.0292510986328125, -0.036956787109375, -0.0543212890625, 0.056671142578125, 0.01157379150390625, 0.0323486328125, 0.017364501953125, -0.02191162109375, 0.01233673095703125, -0.00806427001953125, -0.0235748291015625, -0.0005245208740234375, -0.01617431640625, -0.033599853515625, 0.053497314453125, 0.01207733154296875, 0.0261077880859375, -0.0193328857421875, 0.036956787109375, -0.0084075927734375, -0.0306396484375, 0.046600341796875, -0.014007568359375, 0.02740478515625, 0.034637451171875, -0.062225341796875, 0.036468505859375, 0.052947998046875, -0.043731689453125, -0.004940032958984375, -0.0584716796875, -0.036865234375, 0.01267242431640625, 0.00861358642578125, -0.0343017578125, 0.0008730888366699219, -0.02642822265625, -0.0228271484375, 0.0102386474609375, -0.027008056640625, -0.058135986328125, 0.034576416015625, -0.0168304443359375, -0.0263214111328125, -0.01079559326171875, -0.0208740234375, 0.0088958740234375, -0.027862548828125, 0.024383544921875, 0.0087738037109375, -0.00559234619140625, -0.037994384765625, -0.00432586669921875, 0.00994110107421875, 0.0307769775390625, -0.006134033203125, 0.0223388671875, -0.00603485107421875, -0.050689697265625, 0.055084228515625, -0.044677734375, 0.007598876953125, 0.025421142578125, -0.0139923095703125, 0.0260772705078125, 0.051239013671875, 0.0182952880859375, -0.00121307373046875, 0.0186767578125, 0.00988006591796875, -0.04931640625, -0.01091766357421875, 0.0204620361328125, -0.007396697998046875, 0.00171661376953125, 0.0244140625, -0.0145721435546875, 0.019439697265625, 0.056732177734375, 0.020263671875, -0.07427978515625, -0.03289794921875, -0.04058837890625, -0.0169219970703125, -0.057647705078125, -0.053863525390625, -0.0068511962890625, -0.0173797607421875, 0.031463623046875, 0.05755615234375, 0.033843994140625, -0.007038116455078125, -0.006805419921875, 0.01904296875, 0.005702972412109375, 0.006816864013671875, -0.025421142578125, 0.0280303955078125, 0.0166473388671875, 0.00887298583984375, -0.0013294219970703125, 0.0030879974365234375, 0.019500732421875, 0.01502227783203125, 0.00008940696716308594, -0.035400390625, -0.0872802734375, 0.06640625, -0.0614013671875, -0.005428314208984375, 0.0297393798828125, 0.0241546630859375, 0.019989013671875, 0.041900634765625, -0.0016345977783203125, -0.01346588134765625, 0.004730224609375, 0.058746337890625, 0.00917816162109375, -0.0166778564453125, 0.04901123046875, 0.01666259765625, -0.0275115966796875, 0.0224609375, 0.01236724853515625, 0.02252197265625, -0.0256500244140625, -0.0010499954223632812, -0.0209808349609375, 0.03515625, 0.006343841552734375, -0.010040283203125, 0.028045654296875, 0.042022705078125, 0.025299072265625, -0.0226593017578125, 0.050384521484375, -0.0182342529296875, -0.05548095703125, 0.028594970703125, -0.054534912109375, -0.0139617919921875, 0.0244598388671875, -0.0318603515625, 0.02685546875, 0.03704833984375, -0.0019969940185546875, -0.0215301513671875, 0.0020236968994140625, -0.05224609375, 0.0679931640625, -0.0012083053588867188, -0.0083770751953125, -0.041412353515625, 0.0157928466796875, -0.0170745849609375, -0.046966552734375, 0.0213470458984375, -0.012115478515625, 0.0157928466796875, -0.028472900390625, -0.0232391357421875, -0.0204620361328125, -0.00815582275390625, 0.0261077880859375, 0.0357666015625, -0.01366424560546875, -0.01220703125, -0.0238800048828125, 0.02734375, -0.07208251953125, -0.061676025390625, 0.03533935546875, 0.00806427001953125, 0.0209808349609375, 0.01043701171875, -0.01263427734375, 0.04180908203125, -0.004177093505859375, 0.0166778564453125, 0.040252685546875, 0.0185546875, 0.039947509765625, -0.017669677734375, -0.0087738037109375, 0.005950927734375, 0.036529541015625, -0.038116455078125, -0.0074920654296875, 0.0194244384765625, 0.0411376953125, 0.0137176513671875, 0.00655364990234375, 0.04754638671875, -0.0631103515625, 0.0301055908203125, 0.0143890380859375, 0.03839111328125, -0.014862060546875, -0.00867462158203125, -0.01490020751953125, 0.06365966796875, 0.006824493408203125, 0.0250396728515625, -0.031982421875, 0.0175628662109375, 0.007091522216796875, -0.044952392578125, -0.0225067138671875, 0.0650634765625, 0.006801605224609375, 0.01033782958984375, 0.035186767578125, 0.0251007080078125, -0.006450653076171875, -0.01282501220703125, 0.01751708984375, 0.0030803680419921875, 0.0177459716796875, -0.029815673828125, 0.0159759521484375, 0.07525634765625, -0.03515625, 0.0616455078125, 0.037750244140625, -0.005748748779296875, -0.01117706298828125, 0.0058746337890625, -0.01421356201171875, -0.00298309326171875, 0.054107666015625, 0.032867431640625, 0.047760009765625, -0.044677734375, -0.02294921875, 0.029693603515625, 0.061248779296875, -0.00643157958984375, 0.03350830078125, -0.0499267578125, -0.008636474609375, -0.0152740478515625, -0.07073974609375, -0.0254974365234375, 0.0065460205078125, 0.0299530029296875, -0.00666046142578125, 0.036346435546875, -0.01203155517578125, -0.0305633544921875, 0.03656005859375, 0.0257720947265625, -0.0472412109375, 0.0006422996520996094, -0.061981201171875, 0.043914794921875, -0.08203125, 0.0247650146484375, 0.050445556640625, -0.055511474609375, 0.008880615234375, 0.008514404296875, -0.0225982666015625, 0.0028667449951171875, 0.005523681640625, -0.01397705078125, -0.0034465789794921875, -0.04229736328125, 0.023101806640625, 0.0311737060546875, 0.035888671875, 0.01043701171875, -0.0219879150390625, -0.005786895751953125, 0.02386474609375, -0.0391845703125, -0.03521728515625, -0.032379150390625, -0.071533203125, -0.01416015625, -0.035491943359375, -0.036468505859375, 0.0192718505859375, -0.01279449462890625, 0.006561279296875, -0.037109375, -0.052978515625, -0.0270843505859375, -0.09820556640625, -0.074951171875, -0.036102294921875, 0.0078277587890625, 0.019561767578125, -0.014068603515625, 0.0328369140625, -0.0207672119140625, -0.01351165771484375, -0.0220184326171875, -0.02044677734375, 0.009429931640625, -0.029388427734375, 0.047607421875, -0.05535888671875, -0.034576416015625, 0.025634765625, 0.003719329833984375, -0.00893402099609375, -0.0168914794921875, -0.0160064697265625, -0.0127410888671875, -0.007434844970703125, -0.004138946533203125, 0.0259857177734375, 0.0192413330078125, -0.0158843994140625, 0.0027599334716796875, -0.034881591796875, 0.0094757080078125, -0.0181121826171875, -0.049957275390625, 0.003986358642578125, 0.0106353759765625, 0.0171356201171875, 0.01187896728515625, -0.030670166015625, 0.0021038055419921875, -0.0202484130859375, 0.0284271240234375, -0.046234130859375, 0.0240631103515625, -0.00623321533203125, 0.0187835693359375, -0.033111572265625, -0.0302734375, -0.046295166015625, 0.06353759765625, -0.01953125, 0.01113128662109375, 0.004058837890625, 0.018280029296875, -0.016876220703125, -0.005565643310546875, 0.031158447265625, -0.022216796875, 0.0230560302734375, -0.03155517578125, -0.0022716522216796875, -0.0289459228515625, 0.033538818359375, -0.056732177734375, -0.01654052734375, 0.0281524658203125, 0.03460693359375, -0.04083251953125, -0.0240325927734375, -0.059844970703125, -0.0093536376953125, -0.10772705078125, 0.0133209228515625, 0.0180816650390625, -0.057586669921875, -0.004154205322265625, 0.0028553009033203125, -0.0865478515625, -0.02886962890625, 0.02191162109375, 0.01439666748046875, 0.016998291015625, 0.0142364501953125, 0.00458526611328125, -0.00435638427734375, 0.0037517547607421875, -0.02783203125, -0.0138397216796875, -0.0009584426879882812, -0.050567626953125, 0.0231781005859375, 0.031524658203125, 0.0038394927978515625, -0.007904052734375, 0.035491943359375, 0.004985809326171875, 0.0618896484375, 0.00418853759765625, 0.01708984375, 0.025482177734375, -0.052001953125, 0.0030612945556640625, -0.034637451171875, 0.0235595703125, 0.0213623046875, -0.03912353515625, -0.004558563232421875, -0.0281219482421875, -0.04864501953125, 0.0294036865234375, -0.055419921875, -0.0028781890869140625, 0.00989532470703125, 0.029022216796875, 0.02435302734375, -0.00921630859375, 0.031463623046875, 0.01006317138671875, 0.01334381103515625, -0.004169464111328125, 0.002964019775390625, -0.017181396484375, 0.006961822509765625, 0.0275726318359375, 0.01517486572265625, -0.00879669189453125, 0.01474761962890625, -0.0104827880859375, 0.021392822265625, -0.006633758544921875, 0.0455322265625, 0.01264190673828125, -0.024200439453125, 0.09332275390625, -0.00870513916015625, 0.028350830078125, -0.044830322265625, 0.0501708984375, -0.045257568359375, -0.047210693359375, 0.0499267578125, -0.037994384765625, 0.0275726318359375, 0.016357421875, -0.003276824951171875, 0.003498077392578125, -0.0228118896484375, 0.0038585662841796875, 0.0147857666015625, -0.01386260986328125, -0.018646240234375, -0.01003265380859375, 0.0024776458740234375, -0.034881591796875, 0.07440185546875, 0.07928466796875, -0.0271453857421875, 0.05029296875, 0.017852783203125, -0.0113983154296875, 0.0150299072265625, 0.045562744140625, 0.00319671630859375, 0.022430419921875, 0.03155517578125, -0.007045745849609375, -0.03643798828125, -0.0083160400390625, 0.08343505859375, -0.0196990966796875, -0.0626220703125, -0.0085296630859375, -0.0263519287109375, -0.0023193359375, 0.03350830078125, -0.02423095703125, 0.0343017578125, -0.0019502639770507812, -0.017364501953125, 0.016754150390625, -0.010955810546875, -0.0308380126953125, -0.029388427734375, 0.0211639404296875, 0.019287109375, -0.022857666015625, 0.0190582275390625, 0.01502227783203125, 0.049652099609375, -0.016143798828125, -0.0262451171875, -0.0168609619140625, -0.037200927734375, 0.03155517578125, 0.0224761962890625, -0.01538848876953125, 0.007373809814453125, -0.005374908447265625, 0.0228424072265625, 0.004734039306640625, 0.0068359375, 0.00858306884765625, 0.0238189697265625, -0.034912109375, -0.01204681396484375, 0.019561767578125, -0.0423583984375, 0.0253143310546875, -0.005859375, -0.03802490234375, -0.023193359375, 0.017120361328125, 0.043212890625, 0.0191497802734375, -0.003780364990234375, -0.01499176025390625, -0.02850341796875, -0.0233306884765625, 0.0203399658203125, -0.039031982421875, -0.018646240234375, 0.042877197265625, 0.0254974365234375, -0.015472412109375, -0.0255126953125, -0.017974853515625, -0.025970458984375, -0.037139892578125, -0.01404571533203125, 0.0046539306640625, 0.028076171875, -0.0143585205078125, 0.053009033203125, -0.0428466796875, -0.0283966064453125, -0.04144287109375, 0.01021575927734375, 0.05401611328125, 0.044036865234375, -0.020538330078125, -0.054046630859375, -0.0628662109375, -0.025543212890625, -0.0269012451171875, -0.056427001953125, 0.01593017578125, 0.03729248046875, 0.0076141357421875, 0.0212860107421875, -0.00628662109375, -0.032562255859375, -0.04052734375, 0.058868408203125, 0.06109619140625, 0.09075927734375, -0.0218353271484375, 0.01690673828125, 0.031524658203125, 0.0152587890625, 0.0064239501953125, -0.00571441650390625, -0.000690460205078125, -0.0047149658203125, -0.010009765625, -0.044219970703125, -0.018798828125, 0.01242828369140625, 0.0312042236328125, 0.057647705078125, 0.0290374755859375, 0.01953125, 0.062408447265625, -0.03948974609375, 0.0148468017578125, -0.025726318359375, 0.0276947021484375, -0.1058349609375, -0.01551055908203125, 0.0037593841552734375, 0.007541656494140625, -0.007183074951171875, -0.031585693359375, -0.041717529296875, 0.01241302490234375, 0.019927978515625, 0.00395965576171875, 0.005832672119140625, -0.002902984619140625, -0.0290374755859375, -0.0172271728515625, -0.0138397216796875, 0.0179901123046875, -0.00839996337890625, 0.030029296875, 0.039825439453125, 0.016510009765625, -0.01308441162109375, 0.0013294219970703125, 0.0149688720703125, -0.00333404541015625, 0.0002237558364868164, 0.005489349365234375, 0.0005717277526855469, 0.00286102294921875, 0.040985107421875, 0.041595458984375, -0.063720703125, 0.004638671875, -0.01381683349609375, -0.0205535888671875, 0.01480865478515625, 0.0007615089416503906, -0.007904052734375, -0.01390838623046875, 0.04656982421875, 0.00725555419921875, -0.0035724639892578125, 0.03466796875, -0.004413604736328125, 0.0263671875, -0.006378173828125, 0.02349853515625, -0.017547607421875, -0.03271484375, -0.04150390625, 0.0217437744140625, -0.03045654296875, 0.0209197998046875, 0.00505828857421875, 0.01401519775390625, -0.03460693359375, -0.03118896484375, -0.004383087158203125, -0.021697998046875, -0.046417236328125, 0.05908203125, 0.01255035400390625, 0.0095062255859375, 0.01605224609375, 0.016937255859375, 0.00025153160095214844, -0.01461029052734375, 0.00937652587890625, 0.010467529296875, -0.025238037109375, 0.036865234375, -0.0211944580078125, -0.05902099609375, 0.027679443359375, -0.025177001953125, -0.02301025390625, -0.007297515869140625, 0.0161285400390625, 0.043243408203125, -0.01123809814453125, -0.035491943359375, 0.0227203369140625, 0.0161285400390625, -0.0019130706787109375, -0.0264739990234375, 0.01140594482421875, -0.039520263671875, 0.01727294921875, -0.02056884765625, 0.013519287109375, 0.01499176025390625, -0.00823974609375, -0.045318603515625, 0.0740966796875, -0.02386474609375, 0.029815673828125, 0.00157928466796875, 0.036346435546875, 0.0120849609375, 0.0276336669921875, -0.0151214599609375, 0.03924560546875, -0.01385498046875, -0.01488494873046875, -0.0712890625, -0.005802154541015625, -0.050140380859375, 0.00966644287109375, 0.01483917236328125, 0.006450653076171875, -0.034149169921875, 0.00537109375, 0.053985595703125, 0.028411865234375, 0.01493072509765625, 0.0469970703125, 0.01425933837890625, -0.020294189453125, -0.03289794921875, 0.019744873046875, 0.03204345703125, -0.047760009765625, -0.039337158203125, 0.04345703125, -0.0008521080017089844, -0.00608062744140625, 0.015899658203125, 0.02886962890625, -0.040679931640625, 0.0019435882568359375, 0.055938720703125, -0.071044921875, -0.01192474365234375, 0.0341796875, 0.028228759765625, -0.038543701171875, -0.04888916015625, -0.01776123046875, 0.035247802734375, 0.006694793701171875, -0.0153045654296875, -0.0267486572265625, 0.00930023193359375, -0.01413726806640625, -0.035888671875, -0.0198211669921875, 0.038970947265625, -0.0526123046875, 0.0190582275390625, -0.04144287109375, -0.010345458984375, -0.044403076171875, 0.050323486328125, -0.0180816650390625, -0.01568603515625, -0.04168701171875, -0.04608154296875, -0.0008511543273925781, -0.004550933837890625, 0.034912109375, 0.020721435546875, 0.04937744140625, -0.037872314453125, -0.0283050537109375, -0.063720703125, -0.0195159912109375, 0.0033168792724609375, 0.029205322265625, -0.0214996337890625, -0.0640869140625, 0.032135009765625, -0.0408935546875, -0.0203857421875, 0.005794525146484375, 0.0148468017578125, -0.0011243820190429688, -0.003753662109375, -0.002635955810546875, 0.0504150390625, 0.01471710205078125, -0.03192138671875, 0.0127410888671875, 0.05517578125, 0.0269622802734375, 0.0108489990234375, 0.0540771484375, 0.002964019775390625, -0.0010318756103515625, 0.01462554931640625, 0.0210418701171875, 0.03839111328125, 0.0208892822265625, -0.0206451416015625, -0.0168609619140625, -0.0113525390625, -0.03192138671875, 0.02984619140625, -0.0450439453125, 0.05474853515625, -0.013336181640625, -0.007213592529296875, -0.007122039794921875, 0.013092041015625, 0.0250701904296875, -0.01322174072265625, 0.0293731689453125, 0.0133209228515625, -0.021270751953125, -0.01065826416015625, 0.006488800048828125, 0.02020263671875, 0.0170135498046875, -0.08197021484375, -0.00788116455078125, -0.0010728836059570312, -0.0225830078125, 0.004131317138671875, 0.0202178955078125, -0.055389404296875, 0.06475830078125, -0.01236724853515625, 0.0001220703125, 0.060394287109375, -0.06024169921875, 0.028900146484375, 0.016815185546875, -0.01152801513671875, -0.0012845993041992188, -0.049560546875, -0.0157623291015625, 0.005931854248046875, 0.0035114288330078125, 0.0018644332885742188, 0.0587158203125, 0.0178375244140625, -0.00896453857421875, 0.0213470458984375, 0.0322265625, -0.0037708282470703125, 0.0169219970703125, -0.00013196468353271484, 0.0185089111328125, 0.034881591796875, -0.01293182373046875, -0.0863037109375, -0.005123138427734375, 0.01172637939453125, -0.005680084228515625, -0.021240234375, 0.0285797119140625, 0.026123046875, 0.044036865234375, 0.038482666015625, -0.0255126953125, -0.029876708984375, -0.05377197265625, -0.0203704833984375, 0.03729248046875, 0.0302734375, -0.00435638427734375, 0.058074951171875, -0.0057220458984375, 0.01366424560546875, 0.00048232078552246094, -0.03558349609375, -0.00345611572265625, 0.027740478515625, -0.0292816162109375, -0.06414794921875, 0.031494140625, 0.0120849609375, -0.0016164779663085938, 0.007537841796875, 0.060028076171875, 0.0298614501953125, -0.032684326171875, 0.052490234375, 0.01371002197265625, 0.0518798828125, -0.0205078125, 0.0012111663818359375, 0.04351806640625, 0.017791748046875, -0.0239410400390625, 0.0144195556640625, -0.010223388671875, -0.0245208740234375, 0.00604248046875, 0.006427764892578125, 0.011383056640625, -0.001972198486328125, -0.017333984375, -0.0039215087890625, -0.00696563720703125, -0.023162841796875, -0.04766845703125, 0.0213470458984375, -0.0204620361328125, 0.037628173828125, -0.06689453125, -0.0004825592041015625, -0.00516510009765625, -0.002902984619140625, -0.04632568359375, 0.0183868408203125, -0.02325439453125, -0.00876617431640625, 0.01306915283203125, 0.0240478515625, 0.0308990478515625, -0.008819580078125, 0.023590087890625, -0.00672149658203125, 0.0106658935546875, 0.0430908203125, -0.038726806640625, 0.0039825439453125, 0.0291748046875, -0.030853271484375, -0.034332275390625, -0.0460205078125, 0.045654296875, -0.072998046875, -0.050689697265625, -0.01059722900390625, 0.0017852783203125, 0.0172576904296875, -0.038909912109375, -0.05340576171875, 0.0011091232299804688, 0.0089874267578125, -0.035369873046875, -0.01824951171875, 0.0445556640625, 0.0145721435546875, -0.0299530029296875, -0.0021839141845703125, -0.0206298828125, -0.002109527587890625, 0.0019702911376953125, -0.01371002197265625, 0.0242462158203125, -0.00910186767578125, -0.00849151611328125, -0.055511474609375, -0.006473541259765625, 0.000026464462280273438, -0.0096893310546875, 0.00238037109375, -0.0208587646484375, 0.00568389892578125, -0.007190704345703125, -0.060760498046875, -0.0426025390625, 0.005619049072265625, 0.055206298828125, 0.010650634765625, -0.0599365234375, -0.03778076171875, -0.032470703125, 0.0479736328125, -0.0036640167236328125, 0.00974273681640625, -0.0021228790283203125, -0.0260772705078125, -0.0357666015625, -0.0183563232421875, -0.01079559326171875, 0.0224609375, -0.0653076171875, 0.0153350830078125, 0.0075225830078125, -0.03558349609375, 0.0119781494140625, 0.01308441162109375, -0.042388916015625, 0.0074005126953125, -0.0220947265625, -0.02984619140625, -0.0562744140625, -0.0034847259521484375, 0.0262451171875, 0.01453399658203125, 0.05084228515625, -0.0054168701171875, 0.0041351318359375, 0.061859130859375, 0.0833740234375, 0.0163116455078125, -0.04681396484375, 0.01666259765625, 0.051239013671875, 0.0033931732177734375, 0.0341796875, -0.0271148681640625, -0.04632568359375, 0.01117706298828125, -0.019500732421875, -0.0189666748046875, -0.03680419921875, 0.0026073455810546875, 0.00887298583984375, -0.038421630859375, 0.033172607421875, -0.006988525390625, -0.0151519775390625, -0.01024627685546875, 0.010528564453125, -0.020263671875, 0.0028476715087890625, 0.0092926025390625, -0.040435791015625, 0.00417327880859375, -0.0089263916015625, -0.01043701171875, -0.0312347412109375, 0.007106781005859375, -0.052978515625, -0.0135650634765625, 0.0018377304077148438 ]
d102e8990463861e9c5cf1fb2a51544d9161b37f
Wordpress Stackexchange Q: How to save a ToggleControl value in a meta field? I registered a boolean meta field called _meta_restrict in a custom post type: PHP: function register_meta_fields() { register_post_meta( 'custom_post_type', '_meta_restrict', array( 'show_in_rest' => true, 'single' => true, 'type' => 'boolean', 'auth_callback' => function() { return current_user_can( 'edit_posts' ); } ) ); } add_action( 'init', 'register_meta_fields' ); JS: let RestrictControl = ({ restrict, onUpdateRestrict }) => ( <ToggleControl label={ 'Restrict access?' } help={ restrict ? 'Access is restricted.' : 'Access is not restricted.' } checked={ restrict } onChange={ restrict => onUpdateRestrict( restrict ) } /> ); RestrictControl = compose( [ withSelect( ( select ) => { return { restrict: select( 'core/editor' ).getEditedPostAttribute( 'meta' )['_meta_restrict'] }; } ), withDispatch( ( dispatch ) => { return { onUpdateRestrict: ( value ) => { dispatch( 'core/editor' ).editPost({ meta: { _meta_restrict: value } }) } } } ), ] )( RestrictControl ); I added this meta field using a ToggleControl to the PluginDocumentSettingPanel and I can toggle it on and off, but when I save changes, the _meta_restrict key is stored in the database with an empty value. What am I doing wrong? Thanks in advance
Q: How to save a ToggleControl value in a meta field? I registered a boolean meta field called _meta_restrict in a custom post type: PHP: function register_meta_fields() { register_post_meta( 'custom_post_type', '_meta_restrict', array( 'show_in_rest' => true, 'single' => true, 'type' => 'boolean', 'auth_callback' => function() { return current_user_can( 'edit_posts' ); } ) ); } add_action( 'init', 'register_meta_fields' ); JS: let RestrictControl = ({ restrict, onUpdateRestrict }) => ( <ToggleControl label={ 'Restrict access?' } help={ restrict ? 'Access is restricted.' : 'Access is not restricted.' } checked={ restrict } onChange={ restrict => onUpdateRestrict( restrict ) } /> ); RestrictControl = compose( [ withSelect( ( select ) => { return { restrict: select( 'core/editor' ).getEditedPostAttribute( 'meta' )['_meta_restrict'] }; } ), withDispatch( ( dispatch ) => { return { onUpdateRestrict: ( value ) => { dispatch( 'core/editor' ).editPost({ meta: { _meta_restrict: value } }) } } } ), ] )( RestrictControl ); I added this meta field using a ToggleControl to the PluginDocumentSettingPanel and I can toggle it on and off, but when I save changes, the _meta_restrict key is stored in the database with an empty value. What am I doing wrong? Thanks in advance
wordpress
{ "language": "en", "length": 192, "provenance": "stackexchange_00019.jsonl.gz:503186", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/365985" }
[ -0.00516510009765625, -0.0107421875, 0.0283203125, -0.00473785400390625, -0.01467132568359375, 0.022705078125, -0.0005245208740234375, -0.0304412841796875, 0.044769287109375, 0.01511383056640625, -0.01030731201171875, -0.01690673828125, 0.0195770263671875, -0.036102294921875, -0.00437164306640625, 0.0008955001831054688, 0.0226898193359375, 0.03863525390625, 0.041046142578125, 0.00360870361328125, 0.0022106170654296875, 0.03045654296875, -0.004116058349609375, 0.0193328857421875, 0.0457763671875, -0.01519012451171875, 0.061126708984375, -0.0245819091796875, 0.0302886962890625, -0.00405120849609375, 0.0350341796875, -0.0255126953125, 0.0227508544921875, 0.043792724609375, -0.06512451171875, -0.018402099609375, -0.0035533905029296875, 0.0172882080078125, -0.020477294921875, 0.034912109375, 0.0255889892578125, -0.0123748779296875, -0.06878662109375, 0.036529541015625, -0.05609130859375, -0.053741455078125, 0.03692626953125, 0.0012149810791015625, 0.011627197265625, 0.029144287109375, 0.01264190673828125, 0.03515625, 0.0128021240234375, -0.0105438232421875, 0.01995849609375, 0.0127410888671875, -0.035797119140625, -0.0308380126953125, 0.02557373046875, 0.077880859375, 0.03564453125, -0.038238525390625, -0.01125335693359375, -0.07733154296875, 0.004230499267578125, -0.01380157470703125, -0.0350341796875, 0.0150146484375, -0.0102691650390625, 0.0212249755859375, 0.03167724609375, -0.034942626953125, 0.0255279541015625, -0.037628173828125, -0.010467529296875, -0.0022220611572265625, 0.013641357421875, -0.0117034912109375, 0.0083160400390625, -0.027313232421875, -0.0017547607421875, -0.009033203125, 0.01041412353515625, 0.00603485107421875, -0.050018310546875, 0.0111846923828125, -0.0152435302734375, -0.010284423828125, 0.0259552001953125, 0.00569915771484375, 0.01092529296875, 0.010955810546875, 0.01806640625, 0.0384521484375, -0.00357818603515625, -0.042816162109375, 0.0179443359375, 0.00823974609375, -0.011871337890625, -0.031402587890625, 0.0206146240234375, -0.037109375, 0.0025615692138671875, 0.0005812644958496094, 0.0192413330078125, 0.04998779296875, -0.0279388427734375, -0.0079193115234375, 0.038055419921875, 0.019866943359375, 0.0037326812744140625, 0.0159912109375, -0.027099609375, -0.0144195556640625, -0.0281219482421875, -0.002010345458984375, -0.046966552734375, -0.01049041748046875, 0.005634307861328125, -0.028900146484375, 0.0177459716796875, 0.0297393798828125, 0.0015087127685546875, -0.0160064697265625, 0.000009715557098388672, -0.024749755859375, -0.029083251953125, -0.0175933837890625, -0.011322021484375, 0.03485107421875, -0.0301971435546875, 0.0017881393432617188, 0.09765625, 0.036834716796875, 0.01508331298828125, -0.02142333984375, 0.0670166015625, -0.033966064453125, 0.00632476806640625, 0.032135009765625, -0.0225982666015625, -0.01218414306640625, 0.006206512451171875, -0.016204833984375, -0.013885498046875, 0.0215911865234375, 0.01340484619140625, 0.0186004638671875, -0.0087890625, -0.041748046875, -0.00817108154296875, -0.0196075439453125, 0.037750244140625, 0.01204681396484375, -0.05157470703125, -0.005542755126953125, 0.022796630859375, -0.0231475830078125, -0.032958984375, -0.04803466796875, 0.026580810546875, -0.01093292236328125, -0.013092041015625, -0.024627685546875, -0.04278564453125, 0.014862060546875, -0.0273895263671875, -0.004566192626953125, 0.0081787109375, 0.06884765625, 0.0081634521484375, 0.02569580078125, -0.047271728515625, -0.007144927978515625, 0.0003669261932373047, -0.035919189453125, -0.0059967041015625, -0.0101470947265625, 0.0283966064453125, 0.00136566162109375, -0.0269622802734375, -0.0195159912109375, 0.0162200927734375, 0.004299163818359375, -0.033905029296875, 0.033966064453125, -0.0038909912109375, 0.00829315185546875, 0.020843505859375, -0.00574493408203125, 0.020172119140625, 0.03387451171875, -0.01016998291015625, 0.0019989013671875, 0.0223388671875, -0.00907135009765625, -0.005645751953125, -0.0026416778564453125, 0.0158538818359375, -0.0043182373046875, 0.0241241455078125, -0.0205230712890625, 0.0136260986328125, -0.02001953125, -0.101806640625, -0.006374359130859375, -0.03753662109375, 0.0301513671875, -0.0235595703125, 0.0218658447265625, 0.02783203125, -0.002559661865234375, -0.033905029296875, 0.044158935546875, 0.01335906982421875, -0.01097869873046875, -0.026092529296875, 0.032867431640625, 0.00914764404296875, 0.001071929931640625, 0.034332275390625, 0.0031452178955078125, 0.02752685546875, -0.0072021484375, 0.05133056640625, -0.0236663818359375, 0.00395965576171875, -0.01947021484375, 0.03826904296875, 0.01129913330078125, -0.0204925537109375, 0.021759033203125, 0.0184173583984375, -0.044952392578125, -0.058258056640625, 0.00469970703125, -0.02410888671875, -0.08575439453125, -0.0015430450439453125, 0.08758544921875, 0.02783203125, 0.04150390625, 0.00408935546875, 0.040771484375, 0.048004150390625, -0.01071929931640625, 0.006900787353515625, 0.01317596435546875, -0.0251007080078125, 0.0029735565185546875, 0.0264739990234375, 0.0144805908203125, 0.0122222900390625, 0.017425537109375, 0.039947509765625, 0.01129913330078125, -0.053375244140625, 0.00539398193359375, 0.02239990234375, -0.055084228515625, -0.0000718235969543457, -0.05108642578125, 0.005931854248046875, -0.0377197265625, 0.0254974365234375, 0.0142822265625, 0.03533935546875, 0.038787841796875, -0.028106689453125, -0.002056121826171875, 0.02764892578125, 0.039794921875, 0.0142059326171875, 0.00348663330078125, 0.0262451171875, 0.02203369140625, -0.041748046875, -0.007251739501953125, 0.041961669921875, 0.0213623046875, -0.0027103424072265625, 0.01898193359375, -0.05413818359375, -0.01520538330078125, 0.033050537109375, -0.05621337890625, -0.03985595703125, -0.0106964111328125, 0.00756072998046875, -0.023681640625, 0.0215301513671875, -0.018951416015625, -0.01800537109375, 0.00543212890625, 0.0250091552734375, -0.052337646484375, -0.00795745849609375, -0.02740478515625, 0.0355224609375, -0.032470703125, 0.0552978515625, 0.054595947265625, -0.03668212890625, 0.038543701171875, 0.0015687942504882812, 0.01116943359375, -0.007755279541015625, 0.04302978515625, 0.00791168212890625, -0.0352783203125, -0.0198516845703125, 0.0010900497436523438, 0.01261138916015625, -0.02642822265625, 0.007610321044921875, -0.0176239013671875, -0.01152801513671875, -0.00699615478515625, -0.061981201171875, -0.0197906494140625, -0.01061248779296875, -0.0626220703125, -0.0157928466796875, -0.00260162353515625, -0.058929443359375, 0.01427459716796875, 0.0163726806640625, 0.00958251953125, -0.058319091796875, 0.014923095703125, -0.05657958984375, -0.0174407958984375, -0.0390625, 0.04913330078125, -0.023773193359375, 0.0194854736328125, 0.0013856887817382812, 0.130859375, 0.0011539459228515625, -0.0726318359375, -0.0204620361328125, -0.038818359375, -0.0157012939453125, 0.034423828125, 0.0065460205078125, -0.040557861328125, -0.0211944580078125, 0.006427764892578125, -0.0105743408203125, -0.034759521484375, 0.0279998779296875, -0.0227508544921875, -0.022064208984375, -0.0117950439453125, 0.041168212890625, -0.00014090538024902344, -0.00600433349609375, 0.020355224609375, 0.0655517578125, -0.01461029052734375, -0.0283050537109375, 0.00482940673828125, -0.0272979736328125, 0.017181396484375, 0.0228729248046875, -0.009185791015625, -0.0308990478515625, 0.06732177734375, 0.007183074951171875, 0.0083160400390625, 0.030731201171875, -0.017608642578125, 0.020751953125, -0.00543975830078125, -0.01422119140625, -0.042999267578125, 0.0076904296875, -0.00025653839111328125, -0.030029296875, -0.01532745361328125, 0.0211639404296875, -0.0284881591796875, 0.052001953125, -0.02252197265625, -0.00521087646484375, 0.033477783203125, -0.0262603759765625, 0.021575927734375, -0.02679443359375, -0.0221099853515625, -0.0244140625, 0.05303955078125, -0.06304931640625, -0.01360321044921875, -0.0221710205078125, 0.0063629150390625, -0.0186309814453125, -0.01192474365234375, -0.0218505859375, 0.0163421630859375, -0.056488037109375, 0.006229400634765625, -0.0181732177734375, -0.0111846923828125, -0.0020599365234375, -0.0494384765625, -0.02728271484375, -0.033172607421875, 0.038482666015625, -0.049468994140625, 0.0015888214111328125, 0.00897979736328125, 0.01561737060546875, -0.046600341796875, -0.0162353515625, -0.0222015380859375, -0.10260009765625, -0.0279083251953125, 0.0009131431579589844, 0.06610107421875, -0.00958251953125, -0.0067901611328125, -0.0205535888671875, 0.051300048828125, 0.04522705078125, 0.0163421630859375, 0.0025386810302734375, -0.032318115234375, 0.010955810546875, -0.029541015625, 0.0032138824462890625, -0.0211029052734375, -0.02276611328125, 0.0213623046875, 0.0005965232849121094, 0.017913818359375, -0.0021953582763671875, -0.05755615234375, 0.05487060546875, -0.044158935546875, -0.04327392578125, -0.0067596435546875, -0.05267333984375, -0.0174102783203125, -0.004962921142578125, -0.052825927734375, -0.004291534423828125, -0.07379150390625, 0.02569580078125, -0.036651611328125, 0.0192108154296875, -0.001499176025390625, 0.09698486328125, 0.0261077880859375, 0.001377105712890625, 0.025360107421875, -0.019805908203125, 0.031982421875, 0.02923583984375, 0.01435089111328125, 0.006336212158203125, -0.0195159912109375, 0.0404052734375, 0.00035643577575683594, 0.00185394287109375, -0.052398681640625, 0.065185546875, -0.001953125, 0.0193939208984375, -0.003147125244140625, -0.0193939208984375, 0.0282745361328125, -0.00823974609375, -0.021575927734375, -0.0170135498046875, -0.00858306884765625, 0.02740478515625, 0.0022106170654296875, 0.021514892578125, -0.016448974609375, -0.04327392578125, 0.0269927978515625, -0.004634857177734375, 0.02178955078125, 0.017547607421875, -0.006107330322265625, 0.029693603515625, 0.007022857666015625, 0.01910400390625, -0.00740814208984375, -0.0213775634765625, -0.027984619140625, 0.014617919921875, 0.0262451171875, -0.004608154296875, 0.01529693603515625, -0.001659393310546875, 0.019073486328125, -0.031890869140625, -0.057220458984375, -0.007213592529296875, -0.00830841064453125, 0.07147216796875, 0.04986572265625, 0.0019025802612304688, 0.021209716796875, 0.035247802734375, -0.021636962890625, -0.0095977783203125, 0.0208740234375, 0.0168304443359375, -0.050048828125, 0.014862060546875, 0.0278167724609375, -0.00804901123046875, -0.0151824951171875, 0.0565185546875, 0.007022857666015625, 0.0028018951416015625, -0.0063629150390625, 0.04583740234375, 0.04876708984375, -0.00191497802734375, 0.03167724609375, -0.0145111083984375, -0.0212554931640625, -0.01261138916015625, -0.0147247314453125, -0.01458740234375, -0.0325927734375, 0.00035071372985839844, -0.00006568431854248047, 0.03155517578125, 0.05303955078125, -0.00024068355560302734, 0.0243988037109375, 0.004795074462890625, 0.0016193389892578125, -0.039764404296875, -0.035858154296875, 0.0004668235778808594, -0.0028133392333984375, 0.0215911865234375, -0.040008544921875, 0.0276336669921875, -0.031585693359375, 0.0214080810546875, 0.021026611328125, -0.060394287109375, 0.007137298583984375, -0.017181396484375, -0.0081939697265625, -0.0297088623046875, 0.0038204193115234375, -0.0008435249328613281, -0.023406982421875, -0.0124664306640625, -0.005260467529296875, -0.0303955078125, 0.051025390625, -0.022705078125, 0.0343017578125, -0.0711669921875, 0.0455322265625, -0.0308837890625, -0.01474761962890625, 0.041534423828125, 0.0127716064453125, 0.0379638671875, -0.010467529296875, -0.054351806640625, -0.042266845703125, -0.0229339599609375, -0.0187835693359375, -0.01873779296875, -0.006984710693359375, 0.0029544830322265625, 0.0203094482421875, -0.0243377685546875, -0.026214599609375, 0.00521087646484375, 0.036590576171875, 0.0113372802734375, 0.09521484375, 0.0155181884765625, 0.06536865234375, 0.013580322265625, 0.05615234375, 0.052947998046875, 0.0258026123046875, -0.06268310546875, -0.022216796875, 0.0039520263671875, -0.0287017822265625, -0.020599365234375, -0.03564453125, 0.0248565673828125, 0.038848876953125, 0.05731201171875, -0.0020999908447265625, 0.012420654296875, -0.00983428955078125, 0.00897216796875, -0.0189971923828125, 0.007564544677734375, -0.0083465576171875, -0.007476806640625, 0.0279388427734375, -0.031707763671875, 0.0013580322265625, -0.0103912353515625, 0.00962066650390625, 0.0347900390625, -0.03521728515625, 0.0230712890625, 0.0214996337890625, -0.0279541015625, 0.0279083251953125, 0.08233642578125, 0.03924560546875, 0.07220458984375, 0.01491546630859375, 0.04852294921875, 0.04217529296875, -0.00521087646484375, -0.0207366943359375, 0.0299835205078125, 0.0321044921875, -0.0017862319946289062, -0.0005826950073242188, 0.03900146484375, -0.00176239013671875, 0.0335693359375, 0.04022216796875, 0.06072998046875, -0.07635498046875, 0.033355712890625, 0.043121337890625, -0.0194549560546875, 0.008270263671875, 0.0257415771484375, -0.041595458984375, -0.04229736328125, -0.01702880859375, -0.058135986328125, -0.04583740234375, -0.016357421875, -0.00679779052734375, -0.005855560302734375, -0.02850341796875, 0.00495147705078125, -0.004596710205078125, 0.04705810546875, -0.0202178955078125, -0.032135009765625, -0.0017070770263671875, 0.0137939453125, 0.03143310546875, -0.0288543701171875, -0.049102783203125, -0.051544189453125, -0.049407958984375, 0.0293731689453125, -0.0728759765625, 0.061370849609375, 0.01959228515625, 0.05682373046875, 0.06085205078125, 0.0057525634765625, 0.0067291259765625, 0.003101348876953125, 0.04443359375, -0.015472412109375, -0.054412841796875, -0.013946533203125, -0.00673675537109375, -0.0204010009765625, 0.02789306640625, 0.01250457763671875, -0.06634521484375, 0.006195068359375, 0.03765869140625, 0.0694580078125, -0.0217437744140625, -0.04266357421875, 0.00943756103515625, -0.01035308837890625, 0.0190887451171875, 0.004474639892578125, 0.0074310302734375, -0.035736083984375, -0.015899658203125, -0.023590087890625, -0.058807373046875, -0.02593994140625, -0.041839599609375, -0.0557861328125, 0.0975341796875, 0.0039825439453125, -0.0021953582763671875, -0.0103912353515625, 0.036468505859375, -0.033294677734375, 0.014892578125, -0.02587890625, 0.03887939453125, 0.005336761474609375, -0.0114288330078125, -0.06719970703125, -0.00982666015625, -0.047332763671875, 0.0311737060546875, 0.070556640625, 0.023345947265625, -0.023834228515625, -0.006427764892578125, 0.00980377197265625, -0.0188446044921875, -0.045654296875, 0.06488037109375, 0.0250396728515625, 0.062164306640625, 0.06549072265625, -0.052978515625, 0.025238037109375, -0.018646240234375, 0.003047943115234375, 0.033294677734375, -0.0016736984252929688, -0.01428985595703125, -0.01035308837890625, -0.0197296142578125, -0.045623779296875, 0.0072021484375, 0.020050048828125, -0.0014495849609375, -0.013519287109375, 0.01103973388671875, -0.0074920654296875, 0.0163116455078125, 0.02166748046875, -0.0202484130859375, 0.03216552734375, 0.010223388671875, 0.00298309326171875, 0.007488250732421875, 0.00930023193359375, -0.017578125, -0.0070037841796875, -0.003658294677734375, 0.009124755859375, -0.005146026611328125, -0.002986907958984375, 0.0254058837890625, -0.0032100677490234375, -0.00783538818359375, 0.072509765625, 0.0843505859375, -0.007762908935546875, -0.040130615234375, -0.06292724609375, 0.0027408599853515625, 0.00499725341796875, 0.0126495361328125, 0.0179443359375, 0.004581451416015625, 0.02081298828125, 0.069580078125, -0.01412200927734375, -0.0020847320556640625, 0.0255126953125, 0.0198974609375, 0.0218048095703125, 0.045257568359375, -0.036163330078125, -0.00885772705078125, -0.05938720703125, 0.0157012939453125, 0.0009899139404296875, 0.03033447265625, 0.04119873046875, 0.031402587890625, 0.056610107421875, -0.0101776123046875, -0.039947509765625, 0.038848876953125, 0.024078369140625, 0.0287322998046875, -0.0306243896484375, -0.006923675537109375, 0.01212310791015625, 0.0333251953125, -0.007328033447265625, 0.046844482421875, 0.04791259765625, 0.036346435546875, -0.01326751708984375, -0.002330780029296875, 0.042999267578125, -0.01641845703125, 0.026580810546875, -0.0440673828125, 0.032318115234375, -0.01470947265625, -0.004383087158203125, -0.00384521484375, -0.00803375244140625, 0.0289154052734375, 0.0108795166015625, 0.02734375, 0.004669189453125, 0.01499176025390625, 0.0252838134765625, 0.0128173828125, -0.004962921142578125, 0.04083251953125, -0.037872314453125, 0.0291290283203125, -0.044219970703125, -0.0723876953125, 0.0177459716796875, 0.0223541259765625, -0.05029296875, 0.0631103515625, -0.01456451416015625, -0.004230499267578125, 0.0217132568359375, -0.00004482269287109375, -0.0001933574676513672, 0.018218994140625, 0.019287109375, -0.0034923553466796875, -0.046356201171875, -0.02587890625, 0.00447845458984375, 0.0121612548828125, 0.015350341796875, 0.031768798828125, 0.016021728515625, 0.00695037841796875, -0.00972747802734375, -0.004962921142578125, -0.01340484619140625, 0.0016117095947265625, 0.015350341796875, 0.01433563232421875, 0.0090484619140625, -0.0149688720703125, 0.0055694580078125, 0.0192108154296875, 0.045989990234375, -0.0095672607421875, -0.01247406005859375, 0.013916015625, 0.0210723876953125, 0.00038814544677734375, -0.041748046875, -0.0231781005859375, -0.04541015625, -0.027862548828125, 0.004253387451171875, 0.02789306640625, 0.07159423828125, 0.017730712890625, 0.0211181640625, -0.00641632080078125, -0.0011444091796875, 0.01116943359375, 0.00521087646484375, 0.0010175704956054688, 0.0281524658203125, -0.0231781005859375, -0.0005655288696289062, 0.0268402099609375, -0.0108642578125, 0.017364501953125, 0.02630615234375, -0.00611114501953125, 0.0367431640625, -0.0345458984375, -0.01490020751953125, 0.04998779296875, 0.039093017578125, -0.007244110107421875, 0.004638671875, 0.027862548828125, -0.039031982421875, -0.0130767822265625, -0.00691986083984375, -0.0239105224609375, -0.032379150390625, -0.02789306640625, 0.01461029052734375, -0.046539306640625, -0.049835205078125, -0.08203125, 0.01727294921875, 0.0279998779296875, -0.01160430908203125, -0.038299560546875, -0.004138946533203125, -0.015838623046875, 0.07672119140625, -0.0074310302734375, 0.0474853515625, -0.002101898193359375, 0.0740966796875, -0.0043792724609375, 0.03204345703125, 0.004749298095703125, -0.00738525390625, 0.0247955322265625, 0.0039043426513671875, 0.0201568603515625, -0.0072021484375, -0.045257568359375, 0.003582000732421875, -0.0023040771484375, 0.03564453125, 0.00798797607421875, -0.01422119140625, -0.0056304931640625, 0.02264404296875, -0.012115478515625, -0.08514404296875, -0.002101898193359375, -0.0382080078125, -0.01085662841796875, -0.043182373046875, 0.0222625732421875, 0.0430908203125, -0.022979736328125, -0.06146240234375, 0.036376953125, -0.0225830078125, -0.0305633544921875, -0.0540771484375, -0.005222320556640625, 0.01538848876953125, 0.037353515625, -0.0215606689453125, -0.00921630859375, -0.05108642578125, 0.0177764892578125, 0.0455322265625, -0.03271484375, 0.0673828125, 0.01216888427734375, -0.09051513671875, -0.017364501953125, -0.032257080078125, 0.02642822265625, -0.01922607421875, 0.01030731201171875, -0.0074005126953125, 0.021759033203125, -0.0247802734375, -0.04412841796875, 0.0028858184814453125, 0.01219940185546875, -0.01560211181640625, -0.050262451171875, -0.0180816650390625, -0.0214385986328125, 0.03509521484375, 0.032318115234375, 0.0014162063598632812, -0.0300750732421875, -0.01561737060546875, -0.048858642578125, -0.041961669921875, -0.0278472900390625, 0.0177459716796875, -0.097412109375, -0.01100921630859375, 0.0232391357421875, -0.0112152099609375, -0.0268707275390625, -0.004535675048828125, -0.0325927734375, -0.0022869110107421875, 0.03173828125, 0.015625, -0.057464599609375, -0.0196990966796875, 0.0283660888671875, -0.027099609375, -0.01021575927734375, 0.0194244384765625, 0.01474761962890625, 0.00823211669921875, 0.05712890625, -0.029144287109375, -0.0450439453125, 0.024749755859375, 0.03302001953125, -0.01209259033203125, 0.047607421875, -0.00482940673828125, -0.0012416839599609375, -0.033782958984375, 0.016845703125, 0.005062103271484375, 0.01152801513671875, -0.0293731689453125, 0.0028095245361328125, 0.017333984375, 0.05340576171875, -0.0268402099609375, 0.010833740234375, -0.026214599609375, -0.0023345947265625, -0.0028095245361328125, 0.023223876953125, 0.03363037109375, 0.031280517578125, 0.0212554931640625, -0.03887939453125, 0.0306549072265625, -0.0109100341796875, 0.01039886474609375, -0.01837158203125, -0.03692626953125, 0.0202484130859375 ]
9108e8d34e8c6ffd9f9008509b61de763b2f09ad
Wordpress Stackexchange Q: Help with using getBlockIndex Related to this issue I'm trying to get the index of a child block within a parent, to use in the php rendering as a tab index. Attempting to add this code to the Child itself, so on save it can assign the current child's index within the parent as an attribute for use in the PHP template. const index = select( 'core/block-editor' ).getBlockIndex( clientId ); This is constantly returning -1, even though the clientId is unique across blocks. Any suggestions/help? A: Without the root id the block is looked for at the top-level1. Something like this seems to work: useSelect(select => { const editor = select('core/block-editor') const rootId = editor.getBlockRootClientId(blockId) return editor.getBlockIndex(blockId, rootId) }, [blockId]) [1] https://github.com/WordPress/gutenberg/blob/v9.9.3/packages/block-editor/src/store/selectors.js#L945
Q: Help with using getBlockIndex Related to this issue I'm trying to get the index of a child block within a parent, to use in the php rendering as a tab index. Attempting to add this code to the Child itself, so on save it can assign the current child's index within the parent as an attribute for use in the PHP template. const index = select( 'core/block-editor' ).getBlockIndex( clientId ); This is constantly returning -1, even though the clientId is unique across blocks. Any suggestions/help? A: Without the root id the block is looked for at the top-level1. Something like this seems to work: useSelect(select => { const editor = select('core/block-editor') const rootId = editor.getBlockRootClientId(blockId) return editor.getBlockIndex(blockId, rootId) }, [blockId]) [1] https://github.com/WordPress/gutenberg/blob/v9.9.3/packages/block-editor/src/store/selectors.js#L945
wordpress
{ "language": "en", "length": 123, "provenance": "stackexchange_00019.jsonl.gz:503310", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/366388" }
[ -0.01251220703125, -0.00559234619140625, -0.027191162109375, 0.00861358642578125, -0.01485443115234375, -0.0292510986328125, 0.00852203369140625, -0.0005159378051757812, 0.04937744140625, 0.03240966796875, -0.035308837890625, -0.03759765625, 0.03228759765625, -0.01715087890625, -0.040069580078125, -0.01412200927734375, 0.0247802734375, -0.025390625, -0.007656097412109375, -0.01100921630859375, -0.00751495361328125, -0.01079559326171875, 0.0153350830078125, 0.0266571044921875, 0.04229736328125, -0.09002685546875, 0.06878662109375, -0.0174102783203125, 0.046112060546875, -0.007518768310546875, 0.036773681640625, -0.01070404052734375, 0.0218963623046875, -0.004199981689453125, 0.0177154541015625, 0.02581787109375, 0.031585693359375, -0.0094451904296875, 0.00682830810546875, 0.0284271240234375, 0.0250244140625, -0.0126495361328125, -0.07159423828125, 0.007778167724609375, -0.049591064453125, -0.022430419921875, -0.01503753662109375, -0.028839111328125, 0.043975830078125, 0.039215087890625, -0.0087890625, 0.073486328125, -0.01554107666015625, -0.004878997802734375, 0.0208587646484375, 0.030792236328125, -0.0019855499267578125, 0.01145172119140625, 0.0018873214721679688, 0.0872802734375, 0.0093841552734375, 0.06396484375, -0.036773681640625, -0.06427001953125, 0.002651214599609375, -0.036651611328125, 0.0108184814453125, 0.020233154296875, 0.003692626953125, -0.0010232925415039062, 0.01061248779296875, 0.01216888427734375, -0.00511932373046875, -0.0018444061279296875, -0.0133056640625, -0.036865234375, 0.00615692138671875, -0.04388427734375, -0.00006008148193359375, 0.0234832763671875, -0.038665771484375, -0.0254669189453125, -0.1004638671875, -0.01165771484375, 0.009613037109375, 0.033447265625, -0.016571044921875, -0.01047515869140625, -0.01113128662109375, -0.00267791748046875, -0.0175628662109375, 0.0179901123046875, -0.00513458251953125, 0.0004756450653076172, -0.025482177734375, -0.0207061767578125, 0.02667236328125, 0.0355224609375, -0.0103302001953125, -0.0130615234375, 0.0010519027709960938, -0.01555633544921875, -0.01039886474609375, -0.031890869140625, -0.0081329345703125, 0.023040771484375, -0.018035888671875, 0.00919342041015625, 0.035614013671875, 0.0306243896484375, 0.002346038818359375, 0.0230712890625, 0.00589752197265625, 0.0010929107666015625, -0.0498046875, -0.00908660888671875, -0.028228759765625, -0.0249176025390625, -0.0028781890869140625, -0.027801513671875, 0.0216064453125, 0.0367431640625, -0.0023040771484375, -0.0202178955078125, -0.00795745849609375, -0.01934814453125, -0.016326904296875, -0.0224456787109375, 0.0254364013671875, -0.040496826171875, -0.032958984375, 0.031707763671875, 0.0565185546875, 0.01026153564453125, 0.01511383056640625, 0.00420379638671875, 0.00555419921875, 0.0007214546203613281, 0.008636474609375, -0.043853759765625, 0.01824951171875, 0.0282745361328125, 0.043670654296875, -0.01001739501953125, -0.00046896934509277344, 0.02447509765625, 0.0237579345703125, -0.0077056884765625, -0.00710296630859375, -0.026031494140625, -0.0447998046875, -0.021392822265625, 0.039764404296875, 0.00232696533203125, -0.016998291015625, -0.029388427734375, 0.0421142578125, -0.03515625, -0.032318115234375, -0.06103515625, 0.06866455078125, 0.020355224609375, 0.02581787109375, -0.010589599609375, -0.01120758056640625, -0.0706787109375, -0.09136962890625, -0.003452301025390625, 0.0196075439453125, 0.005615234375, 0.0261688232421875, -0.025390625, -0.054595947265625, -0.00415802001953125, 0.01458740234375, -0.0032634735107421875, -0.0033817291259765625, -0.039886474609375, 0.03131103515625, -0.01111602783203125, -0.037261962890625, -0.0187225341796875, 0.00542449951171875, -0.00732421875, -0.0257568359375, 0.05059814453125, -0.017974853515625, 0.026458740234375, 0.00771331787109375, -0.00933074951171875, -0.013580322265625, 0.036834716796875, -0.06396484375, 0.0325927734375, 0.0189666748046875, 0.043304443359375, -0.0152130126953125, 0.04248046875, 0.0176544189453125, -0.08709716796875, 0.02545166015625, -0.057159423828125, 0.054534912109375, -0.047393798828125, -0.03814697265625, -0.0204010009765625, -0.0238037109375, 0.017608642578125, 0.028106689453125, 0.00839996337890625, -0.002666473388671875, -0.0198516845703125, -0.024810791015625, 0.04180908203125, -0.0008215904235839844, 0.0364990234375, -0.0004706382751464844, 0.007740020751953125, -0.0007715225219726562, 0.0207977294921875, 0.020751953125, 0.02093505859375, -0.007965087890625, 0.0008397102355957031, 0.0755615234375, 0.018890380859375, -0.0197601318359375, -0.004589080810546875, 0.035552978515625, 0.053314208984375, -0.10797119140625, -0.005702972412109375, 0.03472900390625, 0.04443359375, -0.0192108154296875, -0.005992889404296875, -0.0025386810302734375, -0.033355712890625, 0.0037097930908203125, 0.03759765625, 0.0302734375, -0.00616455078125, -0.0006518363952636719, 0.0277099609375, 0.0018987655639648438, -0.0300445556640625, 0.0167999267578125, -0.001995086669921875, 0.0169677734375, 0.04400634765625, -0.023773193359375, 0.00789642333984375, 0.02569580078125, 0.0183563232421875, 0.02264404296875, 0.0241546630859375, 0.034210205078125, 0.04241943359375, -0.011993408203125, -0.005954742431640625, -0.002719879150390625, -0.012420654296875, -0.02740478515625, -0.011474609375, 0.03887939453125, 0.02197265625, 0.056671142578125, 0.041351318359375, -0.0450439453125, 0.01209259033203125, 0.0162353515625, 0.023834228515625, 0.016143798828125, 0.0013933181762695312, 0.0168914794921875, -0.00704193115234375, -0.01210784912109375, -0.0042266845703125, 0.0494384765625, 0.014801025390625, -0.0075836181640625, 0.027191162109375, -0.02252197265625, -0.01320648193359375, -0.0132598876953125, -0.0258636474609375, 0.002605438232421875, 0.003917694091796875, -0.032989501953125, -0.0251312255859375, 0.0157012939453125, -0.0074920654296875, -0.036285400390625, -0.0007600784301757812, 0.0041351318359375, -0.02313232421875, 0.0189666748046875, 0.005870819091796875, 0.00193023681640625, 0.00801849365234375, 0.04681396484375, 0.04010009765625, 0.0002894401550292969, -0.00487518310546875, 0.005313873291015625, -0.0634765625, 0.01380157470703125, 0.0157470703125, -0.007274627685546875, -0.01277923583984375, -0.0266265869140625, 0.0277252197265625, 0.0054779052734375, 0.010528564453125, -0.0126800537109375, -0.03594970703125, -0.0212554931640625, 0.00220489501953125, -0.0814208984375, -0.07073974609375, 0.000499725341796875, -0.0703125, -0.003170013427734375, -0.04559326171875, -0.052520751953125, -0.00502777099609375, -0.02642822265625, -0.0027065277099609375, 0.01331329345703125, -0.034454345703125, -0.0870361328125, -0.06524658203125, -0.07867431640625, -0.00879669189453125, -0.0184478759765625, 0.00762176513671875, 0.0109710693359375, 0.0012750625610351562, -0.0203857421875, -0.039794921875, -0.032684326171875, -0.01241302490234375, -0.01335906982421875, -0.031585693359375, 0.0076446533203125, -0.036651611328125, -0.0003693103790283203, 0.01415252685546875, -0.10699462890625, -0.0087127685546875, 0.0289764404296875, -0.021270751953125, 0.00850677490234375, 0.02386474609375, 0.0208892822265625, 0.04302978515625, -0.0182037353515625, 0.020660400390625, 0.0484619140625, -0.016845703125, -0.00928497314453125, -0.00470733642578125, -0.0321044921875, -0.00450897216796875, 0.01416015625, -0.0169677734375, 0.002300262451171875, -0.003452301025390625, 0.0323486328125, -0.005847930908203125, 0.050689697265625, -0.0297393798828125, 0.01934814453125, -0.003612518310546875, 0.01561737060546875, -0.056793212890625, -0.0002751350402832031, -0.01280975341796875, 0.0031185150146484375, -0.0079803466796875, 0.03125, -0.002285003662109375, -0.024322509765625, -0.04571533203125, -0.002033233642578125, 0.0129547119140625, -0.007480621337890625, 0.0404052734375, -0.0134124755859375, -0.005275726318359375, -0.007381439208984375, 0.041259765625, -0.0258026123046875, -0.021240234375, 0.01401519775390625, 0.01146697998046875, -0.02239990234375, -0.00728607177734375, -0.03436279296875, -0.00957489013671875, 0.002178192138671875, -0.0061798095703125, 0.0153045654296875, -0.036590576171875, -0.0105743408203125, -0.0182952880859375, -0.034088134765625, 0.01039886474609375, 0.04083251953125, -0.0256195068359375, -0.007965087890625, 0.04443359375, -0.006755828857421875, 0.0223846435546875, -0.040130615234375, 0.0016946792602539062, -0.0267791748046875, -0.0205078125, -0.0186004638671875, 0.048919677734375, 0.017425537109375, 0.007640838623046875, -0.0225372314453125, 0.04425048828125, -0.0094757080078125, 0.032745361328125, 0.0157012939453125, 0.034881591796875, 0.01268768310546875, -0.050750732421875, 0.022003173828125, -0.06658935546875, -0.0198516845703125, -0.0125732421875, -0.02325439453125, 0.0228271484375, -0.029449462890625, -0.019287109375, -0.003406524658203125, -0.0011539459228515625, -0.082275390625, -0.033966064453125, -0.0355224609375, 0.00792694091796875, -0.001953125, -0.04205322265625, -0.049835205078125, -0.09527587890625, 0.046478271484375, 0.0215301513671875, -0.005859375, -0.0269012451171875, 0.0667724609375, 0.0276641845703125, -0.0433349609375, 0.0447998046875, -0.02020263671875, 0.0188751220703125, -0.00421142578125, 0.05560302734375, 0.0130462646484375, -0.011688232421875, 0.052490234375, -0.00846099853515625, 0.0022296905517578125, -0.037017822265625, 0.04339599609375, -0.0008234977722167969, -0.00004667043685913086, 0.001911163330078125, -0.00023603439331054688, 0.01776123046875, 0.0017547607421875, -0.043121337890625, 0.00792694091796875, -0.0413818359375, 0.02874755859375, -0.01617431640625, 0.051788330078125, -0.0305023193359375, -0.039093017578125, 0.005157470703125, 0.0299072265625, 0.030975341796875, 0.0579833984375, -0.0222320556640625, 0.05035400390625, 0.02789306640625, 0.0284576416015625, 0.0235748291015625, 0.035675048828125, -0.01090240478515625, 0.0706787109375, -0.01549530029296875, 0.013763427734375, -0.006122589111328125, 0.0005879402160644531, 0.01129150390625, -0.0411376953125, -0.052490234375, -0.0166168212890625, -0.02154541015625, 0.00409698486328125, 0.038970947265625, -0.032379150390625, -0.0009298324584960938, 0.057586669921875, -0.00795745849609375, 0.0211944580078125, 0.051544189453125, 0.0123291015625, -0.005401611328125, -0.00959014892578125, -0.00638580322265625, -0.0008931159973144531, -0.049560546875, 0.0908203125, -0.00246429443359375, 0.01181793212890625, -0.00782012939453125, 0.018829345703125, -0.030517578125, 0.05126953125, 0.0162200927734375, -0.0219879150390625, 0.043182373046875, -0.00881195068359375, 0.0018453598022460938, -0.0206756591796875, -0.00350189208984375, 0.01561737060546875, 0.05810546875, 0.026641845703125, 0.0052642822265625, -0.021697998046875, -0.0316162109375, -0.01059722900390625, -0.0181427001953125, -0.0254669189453125, 0.020263671875, -0.019012451171875, 0.0007300376892089844, 0.0245513916015625, 0.03741455078125, -0.0224456787109375, -0.04754638671875, -0.06939697265625, -0.016998291015625, 0.0306549072265625, -0.039703369140625, 0.01262664794921875, -0.0167999267578125, 0.005031585693359375, 0.0208740234375, 0.0006365776062011719, -0.04888916015625, -0.054046630859375, -0.018829345703125, -0.008575439453125, 0.08984375, -0.0252227783203125, 0.045654296875, -0.056488037109375, 0.0230712890625, -0.049652099609375, 0.004276275634765625, 0.037567138671875, 0.022857666015625, -0.0025272369384765625, -0.0157318115234375, -0.072265625, -0.0162200927734375, -0.0203704833984375, -0.036529541015625, -0.0213470458984375, 0.0137176513671875, -0.0191650390625, -0.0004277229309082031, -0.0079345703125, 0.025604248046875, 0.010162353515625, 0.031036376953125, -0.032073974609375, -0.00991058349609375, -0.00501251220703125, 0.0156097412109375, -0.0128021240234375, 0.0225677490234375, -0.0012140274047851562, -0.0183563232421875, 0.00911712646484375, -0.0174713134765625, -0.00879669189453125, 0.0112457275390625, 0.01209259033203125, -0.0254058837890625, 0.047271728515625, -0.01812744140625, 0.033905029296875, 0.00617218017578125, 0.028839111328125, -0.0117034912109375, 0.00438690185546875, -0.0233306884765625, 0.02191162109375, -0.0287628173828125, 0.0009045600891113281, -0.00955963134765625, -0.0169219970703125, -0.00018870830535888672, 0.004558563232421875, -0.009002685546875, 0.04083251953125, -0.004802703857421875, 0.0236968994140625, -0.00821685791015625, -0.0015497207641601562, -0.00921630859375, 0.048187255859375, -0.0011730194091796875, 0.044921875, 0.00974273681640625, 0.035797119140625, 0.0577392578125, 0.0213470458984375, -0.00884246826171875, 0.042236328125, 0.03717041015625, -0.004863739013671875, -0.017669677734375, -0.00856781005859375, -0.0177764892578125, -0.0281219482421875, -0.01031494140625, 0.0211334228515625, 0.0020885467529296875, -0.0277557373046875, 0.01102447509765625, -0.0229644775390625, -0.05645751953125, 0.00058746337890625, -0.0113372802734375, -0.030853271484375, -0.0015802383422851562, 0.0277252197265625, -0.02239990234375, -0.00408935546875, 0.0025730133056640625, -0.01038360595703125, -0.0303802490234375, 0.04241943359375, 0.0120086669921875, 0.0499267578125, -0.0157928466796875, -0.037841796875, 0.018524169921875, 0.005451202392578125, 0.0104522705078125, -0.036407470703125, -0.017852783203125, -0.02685546875, -0.04693603515625, -0.02349853515625, -0.033172607421875, -0.01499176025390625, -0.00525665283203125, 0.033905029296875, 0.035980224609375, -0.00495147705078125, -0.032806396484375, 0.022705078125, -0.026702880859375, 0.0202484130859375, 0.023345947265625, 0.010833740234375, -0.044677734375, -0.0202178955078125, -0.0003616809844970703, -0.061614990234375, 0.0133819580078125, -0.0010271072387695312, 0.00952911376953125, 0.019622802734375, -0.019439697265625, -0.0183868408203125, 0.03643798828125, -0.00970458984375, -0.01690673828125, 0.0101318359375, 0.0147705078125, -0.040802001953125, -0.0157470703125, 0.0147705078125, -0.002132415771484375, 0.01100921630859375, 0.0298614501953125, -0.045867919921875, 0.06787109375, -0.0276641845703125, 0.039886474609375, 0.032989501953125, 0.01422119140625, -0.0276031494140625, -0.006542205810546875, -0.01407623291015625, 0.038818359375, 0.0240020751953125, 0.029266357421875, -0.03656005859375, -0.028900146484375, 0.01464080810546875, 0.059173583984375, 0.099609375, 0.0289459228515625, -0.055084228515625, -0.041778564453125, -0.008392333984375, -0.003955841064453125, -0.04638671875, 0.076416015625, 0.0572509765625, 0.004444122314453125, 0.037689208984375, 0.01149749755859375, 0.0230560302734375, -0.027862548828125, 0.01849365234375, 0.0887451171875, 0.0236663818359375, 0.020721435546875, -0.0206298828125, -0.0271453857421875, -0.054718017578125, 0.0013170242309570312, 0.052978515625, -0.052154541015625, -0.01044464111328125, 0.041595458984375, 0.037322998046875, -0.04443359375, -0.050628662109375, -0.024444580078125, 0.03436279296875, 0.0143585205078125, -0.0338134765625, -0.005153656005859375, 0.01519012451171875, -0.07354736328125, 0.00820159912109375, -0.01715087890625, 0.03875732421875, -0.031585693359375, 0.005786895751953125, 0.00896453857421875, -0.00293731689453125, -0.0175323486328125, 0.06768798828125, 0.0662841796875, 0.01094818115234375, -0.04351806640625, -0.07769775390625, 0.0211334228515625, 0.005863189697265625, 0.01062774658203125, 0.059844970703125, 0.039215087890625, -0.0016880035400390625, 0.05194091796875, 0.0195159912109375, -0.032989501953125, -0.0153045654296875, 0.0217742919921875, 0.025604248046875, 0.044403076171875, -0.0149688720703125, -0.046875, -0.032470703125, 0.0063934326171875, 0.0095062255859375, 0.0018930435180664062, 0.006591796875, 0.034210205078125, 0.038299560546875, 0.0035381317138671875, -0.05072021484375, 0.02984619140625, 0.062286376953125, 0.032501220703125, -0.0024700164794921875, 0.05096435546875, 0.045654296875, 0.004352569580078125, 0.040679931640625, 0.06768798828125, 0.048858642578125, 0.00875091552734375, 0.0174560546875, 0.021728515625, 0.02392578125, -0.01446533203125, 0.0270843505859375, -0.0121612548828125, 0.062042236328125, 0.023590087890625, 0.0159759521484375, -0.02130126953125, 0.03936767578125, 0.0596923828125, 0.0208587646484375, 0.04815673828125, 0.0157623291015625, 0.00628662109375, -0.040313720703125, 0.0083160400390625, -0.01544189453125, 0.049560546875, -0.006008148193359375, -0.01082611083984375, 0.033172607421875, -0.004833221435546875, -0.0226593017578125, 0.01296234130859375, -0.025848388671875, 0.060333251953125, 0.0306854248046875, -0.00734710693359375, 0.0110321044921875, -0.007289886474609375, 0.035858154296875, 0.0355224609375, 0.0164031982421875, 0.0272064208984375, -0.0031414031982421875, -0.0135650634765625, 0.02655029296875, 0.0029144287109375, 0.022857666015625, 0.0135345458984375, 0.01444244384765625, 0.0044097900390625, 0.041412353515625, 0.00543212890625, 0.00739288330078125, 0.02923583984375, 0.01308441162109375, -0.001293182373046875, 0.03179931640625, -0.0250091552734375, -0.0645751953125, -0.0181732177734375, 0.0526123046875, 0.005153656005859375, -0.02685546875, 0.0284881591796875, 0.033843994140625, -0.0055389404296875, 0.018096923828125, -0.0079803466796875, -0.05511474609375, -0.0182952880859375, 0.0300750732421875, 0.01241302490234375, 0.063720703125, -0.0199432373046875, 0.0245361328125, 0.0016355514526367188, -0.02532958984375, 0.0189971923828125, -0.029052734375, 0.00952911376953125, 0.026031494140625, -0.013458251953125, -0.00620269775390625, -0.005889892578125, -0.01259613037109375, 0.02984619140625, 0.0013275146484375, 0.0263214111328125, 0.0225677490234375, 0.038116455078125, 0.047882080078125, 0.087890625, 0.0653076171875, -0.008819580078125, 0.0208587646484375, 0.07757568359375, -0.04022216796875, 0.0272064208984375, -0.017669677734375, -0.006404876708984375, -0.02154541015625, -0.025054931640625, 0.004791259765625, -0.0249481201171875, -0.070068359375, -0.04248046875, 0.028106689453125, -0.024200439453125, -0.01715087890625, -0.0312347412109375, 0.0489501953125, -0.035430908203125, 0.025604248046875, -0.04791259765625, 0.06689453125, -0.028289794921875, -0.016387939453125, -0.064453125, -0.01165771484375, -0.027008056640625, 0.034881591796875, -0.0027618408203125, -0.0121002197265625, -0.0024967193603515625, 0.007213592529296875, 0.007419586181640625, -0.013824462890625, 0.0152587890625, 0.0290374755859375, -0.01690673828125, -0.042633056640625, -0.01461029052734375, 0.0171661376953125, -0.0012350082397460938, -0.007282257080078125, 0.0260772705078125, -0.018157958984375, -0.010833740234375, -0.04296875, 0.01134490966796875, 0.01346588134765625, -0.054107666015625, -0.0732421875, 0.000004470348358154297, -0.0141754150390625, -0.05206298828125, -0.010772705078125, 0.039703369140625, -0.005207061767578125, -0.028106689453125, -0.01148223876953125, 0.00734710693359375, 0.02557373046875, 0.0174713134765625, -0.009063720703125, 0.01059722900390625, 0.0127410888671875, -0.01043701171875, -0.045440673828125, 0.00328826904296875, -0.0018072128295898438, -0.007415771484375, -0.04345703125, 0.0135955810546875, 0.01525115966796875, 0.02874755859375, -0.01308441162109375, 0.0250396728515625, 0.03057861328125, 0.0113677978515625, -0.01617431640625, -0.004302978515625, -0.037353515625, 0.002033233642578125, 0.05108642578125, 0.08135986328125, 0.0157012939453125, -0.046295166015625, -0.00951385498046875, -0.028564453125, -0.048858642578125, -0.0113677978515625, 0.027099609375, -0.0753173828125, -0.002834320068359375, 0.014862060546875, -0.01513671875, 0.0300445556640625, -0.0022602081298828125, -0.0305328369140625, 0.01532745361328125, 0.00467681884765625, -0.00994873046875, -0.087646484375, -0.006927490234375, 0.04388427734375, -0.042572021484375, -0.0224609375, -0.0025634765625, 0.0157318115234375, 0.00991058349609375, -0.00923919677734375, -0.006977081298828125, -0.0178985595703125, 0.0015211105346679688, 0.0016145706176757812, 0.0079193115234375, 0.023712158203125, 0.0154571533203125, -0.01861572265625, -0.006710052490234375, -0.033416748046875, -0.0230865478515625, -0.07525634765625, -0.006084442138671875, 0.039764404296875, -0.03759765625, 0.11737060546875, -0.0009851455688476562, 0.0892333984375, 0.005828857421875, 0.05206298828125, -0.003787994384765625, -0.01268768310546875, -0.0009212493896484375, -0.0112457275390625, 0.00841522216796875, 0.005695343017578125, 0.02325439453125, -0.0165557861328125, 0.0125274658203125, 0.002735137939453125, -0.0008516311645507812, 0.01381683349609375 ]
f20cf6719e979623f4f0c7540ff615897f8f1c50
Wordpress Stackexchange Q: initial open/toggle PluginDocumentSettingPanel panel in document setting block editor gutenberg i want make new panel inside document setting tab with React Script from this documentation but the problem panel not toggle onload/initial i have try open with dispatch('core/edit-post').toggleEditorPanelOpened('mycustom-panel') but dont work,i see my custom panel not store in select( 'core/edit-post' ).getPreference('panels') so cant toggle it with toggleEditorPanelOpened this my code to register PluginDocumentSettingPanel const { registerPlugin } = wp.plugins; const { PluginDocumentSettingPanel } = wp.editPost; const PluginDocumentSettingPanelDemo = () => ( <PluginDocumentSettingPanel name="mycustom-panel" title="Tips" className="mycustom-panel" > this is tips to write better content </PluginDocumentSettingPanel> ); registerPlugin( 'plugin-document-setting-panel-mycustom', { render: PluginDocumentSettingPanelDemo, icon: null } ); A: This is a known issue in Gutenberg. You can get this working by passing {plugin-slug}/{panel-name} For your example, try: dispatch('core/edit-post').toggleEditorPanelOpened('plugin-document-setting-panel-mycustom/mycustom-panel')
Q: initial open/toggle PluginDocumentSettingPanel panel in document setting block editor gutenberg i want make new panel inside document setting tab with React Script from this documentation but the problem panel not toggle onload/initial i have try open with dispatch('core/edit-post').toggleEditorPanelOpened('mycustom-panel') but dont work,i see my custom panel not store in select( 'core/edit-post' ).getPreference('panels') so cant toggle it with toggleEditorPanelOpened this my code to register PluginDocumentSettingPanel const { registerPlugin } = wp.plugins; const { PluginDocumentSettingPanel } = wp.editPost; const PluginDocumentSettingPanelDemo = () => ( <PluginDocumentSettingPanel name="mycustom-panel" title="Tips" className="mycustom-panel" > this is tips to write better content </PluginDocumentSettingPanel> ); registerPlugin( 'plugin-document-setting-panel-mycustom', { render: PluginDocumentSettingPanelDemo, icon: null } ); A: This is a known issue in Gutenberg. You can get this working by passing {plugin-slug}/{panel-name} For your example, try: dispatch('core/edit-post').toggleEditorPanelOpened('plugin-document-setting-panel-mycustom/mycustom-panel')
wordpress
{ "language": "en", "length": 126, "provenance": "stackexchange_00019.jsonl.gz:503693", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/367619" }
[ -0.0582275390625, -0.0181884765625, -0.0168609619140625, 0.032745361328125, -0.032501220703125, 0.004741668701171875, -0.00609588623046875, -0.01136016845703125, 0.04156494140625, 0.0391845703125, -0.03143310546875, -0.00974273681640625, 0.0212554931640625, -0.0218353271484375, -0.0290374755859375, 0.007633209228515625, 0.00675201416015625, 0.0171661376953125, -0.0017557144165039062, -0.0091705322265625, -0.0058441162109375, -0.0021610260009765625, -0.0283050537109375, 0.060333251953125, 0.054443359375, -0.034210205078125, 0.005645751953125, 0.00968170166015625, 0.0196990966796875, -0.01161956787109375, 0.0323486328125, 0.0008296966552734375, -0.0032329559326171875, 0.0538330078125, -0.04998779296875, -0.0019321441650390625, -0.0080413818359375, 0.03851318359375, 0.0145263671875, 0.032562255859375, 0.0218048095703125, -0.001621246337890625, -0.05230712890625, 0.0279388427734375, -0.045684814453125, -0.0278778076171875, -0.0031833648681640625, -0.0228118896484375, 0.0276031494140625, -0.00870513916015625, 0.0018711090087890625, 0.0207366943359375, 0.0248565673828125, -0.0159912109375, -0.008941650390625, 0.0033435821533203125, -0.058135986328125, 0.0134735107421875, 0.01314544677734375, 0.09259033203125, 0.044647216796875, -0.004863739013671875, -0.030303955078125, -0.045501708984375, 0.0044403076171875, 0.006473541259765625, -0.015045166015625, 0.0010194778442382812, -0.0118865966796875, 0.033477783203125, 0.0355224609375, -0.0413818359375, 0.00920867919921875, -0.055908203125, -0.019622802734375, 0.05255126953125, 0.006900787353515625, 0.003631591796875, 0.0014524459838867188, -0.03155517578125, -0.0034389495849609375, 0.0116119384765625, 0.0208587646484375, -0.0335693359375, 0.00664520263671875, -0.00159454345703125, -0.0171356201171875, -0.00812530517578125, -0.021392822265625, -0.0119781494140625, -0.01416015625, 0.0035877227783203125, -0.036376953125, 0.0225677490234375, -0.01041412353515625, -0.003192901611328125, -0.025543212890625, 0.009796142578125, 0.0025768280029296875, -0.00334930419921875, -0.0028820037841796875, -0.03485107421875, 0.02520751953125, -0.0211334228515625, 0.019866943359375, 0.09857177734375, -0.0067901611328125, -0.03271484375, 0.0274505615234375, -0.0248565673828125, 0.0113067626953125, 0.00894927978515625, -0.00574493408203125, -0.007373809814453125, 0.00203704833984375, -0.023193359375, -0.04351806640625, 0.0190582275390625, -0.01380157470703125, -0.0184326171875, -0.0024929046630859375, 0.0207672119140625, -0.0291900634765625, 0.030517578125, 0.0090484619140625, 0.0009927749633789062, -0.00627899169921875, 0.004878997802734375, -0.006622314453125, -0.0261993408203125, -0.03466796875, 0.026763916015625, 0.110107421875, 0.06976318359375, 0.05560302734375, -0.001987457275390625, 0.0518798828125, 0.00982666015625, 0.004913330078125, -0.016357421875, 0.006900787353515625, 0.01094818115234375, -0.00423431396484375, -0.02471923828125, -0.029205322265625, 0.0305328369140625, 0.040283203125, 0.01800537109375, -0.0531005859375, -0.07659912109375, 0.0182342529296875, -0.004657745361328125, 0.044830322265625, 0.0005626678466796875, -0.028350830078125, -0.04095458984375, 0.025909423828125, -0.03662109375, -0.00637054443359375, -0.057952880859375, 0.00829315185546875, -0.009521484375, 0.00597381591796875, -0.00998687744140625, -0.0142974853515625, -0.00662994384765625, -0.0457763671875, 0.005016326904296875, 0.0167999267578125, 0.050689697265625, 0.01129150390625, 0.033538818359375, -0.060760498046875, -0.00862884521484375, 0.0103607177734375, -0.03765869140625, 0.01258087158203125, -0.056793212890625, 0.04925537109375, 0.003688812255859375, -0.058563232421875, -0.011322021484375, 0.037261962890625, -0.028076171875, -0.027099609375, 0.043609619140625, -0.0037994384765625, 0.06201171875, 0.00957489013671875, 0.01207733154296875, -0.0027599334716796875, -0.002048492431640625, -0.01483917236328125, -0.021484375, -0.01140594482421875, 0.0421142578125, -0.0301971435546875, 0.042877197265625, -0.006267547607421875, -0.03778076171875, 0.030364990234375, 0.0003185272216796875, -0.00045752525329589844, -0.01873779296875, -0.0276641845703125, -0.02093505859375, -0.0006194114685058594, 0.0205535888671875, 0.0206756591796875, -0.00818634033203125, 0.0123138427734375, -0.00743865966796875, -0.0248260498046875, -0.0088653564453125, -0.033233642578125, 0.03277587890625, 0.01107025146484375, 0.072021484375, 0.0214080810546875, 0.0112457275390625, 0.0423583984375, -0.003231048583984375, 0.051788330078125, 0.00547027587890625, 0.055023193359375, -0.01349639892578125, 0.01513671875, -0.020263671875, 0.037750244140625, 0.03924560546875, -0.051971435546875, -0.0244598388671875, 0.0175018310546875, -0.012115478515625, -0.0498046875, 0.00904083251953125, 0.0311431884765625, 0.01381683349609375, -0.01776123046875, 0.02752685546875, 0.03045654296875, 0.00795745849609375, -0.02789306640625, -0.0162353515625, 0.04095458984375, -0.0119171142578125, 0.0028896331787109375, -0.00876617431640625, -0.00791168212890625, 0.0008759498596191406, 0.017547607421875, 0.0095672607421875, 0.0404052734375, 0.06683349609375, 0.0220794677734375, 0.0188751220703125, -0.0186309814453125, -0.01422119140625, -0.0197296142578125, -0.015960693359375, 0.00838470458984375, -0.01140594482421875, -0.0386962890625, -0.002796173095703125, 0.047576904296875, -0.003612518310546875, 0.0560302734375, 0.045806884765625, -0.0321044921875, 0.00972747802734375, 0.023651123046875, 0.03961181640625, -0.001956939697265625, 0.00628662109375, 0.0816650390625, -0.0017919540405273438, -0.0297698974609375, -0.041259765625, 0.05596923828125, 0.024017333984375, -0.0087127685546875, 0.00891876220703125, -0.048095703125, -0.01448822021484375, 0.0240325927734375, -0.0472412109375, -0.030487060546875, -0.025146484375, -0.0309906005859375, -0.023406982421875, 0.0355224609375, -0.03338623046875, -0.0489501953125, 0.0015287399291992188, -0.0097198486328125, -0.043731689453125, 0.0176544189453125, -0.040008544921875, 0.0258636474609375, -0.01019287109375, 0.101318359375, 0.08074951171875, -0.014312744140625, 0.0298309326171875, 0.0092620849609375, -0.00586700439453125, 0.01035308837890625, -0.0103302001953125, -0.00843048095703125, -0.000054836273193359375, -0.0302734375, 0.02655029296875, 0.0206146240234375, -0.0008563995361328125, -0.0033969879150390625, -0.037200927734375, -0.0298614501953125, 0.00319671630859375, -0.08544921875, -0.033477783203125, 0.01342010498046875, -0.0826416015625, -0.0028057098388671875, -0.04486083984375, -0.053558349609375, -0.0013408660888671875, -0.0171661376953125, -0.002223968505859375, -0.0421142578125, 0.027313232421875, -0.048675537109375, -0.00945281982421875, -0.05426025390625, 0.01995849609375, -0.0238037109375, 0.0335693359375, 0.00023996829986572266, 0.0088958740234375, 0.002063751220703125, -0.0042877197265625, 0.0220184326171875, -0.01345062255859375, 0.007709503173828125, 0.0018281936645507812, 0.042388916015625, -0.031524658203125, -0.01354217529296875, 0.0176849365234375, 0.022735595703125, 0.029632568359375, -0.051116943359375, 0.002307891845703125, -0.03326416015625, -0.024627685546875, -0.018951416015625, 0.033477783203125, 0.052215576171875, -0.03179931640625, 0.0227813720703125, -0.046844482421875, 0.038787841796875, 0.01378631591796875, 0.0015048980712890625, -0.033660888671875, -0.00251007080078125, -0.0162811279296875, -0.01088714599609375, -0.0214080810546875, -0.004985809326171875, 0.0166015625, 0.0596923828125, -0.0279998779296875, -0.0014925003051757812, -0.033966064453125, -0.039031982421875, -0.042083740234375, 0.06646728515625, 0.021942138671875, -0.03326416015625, 0.0113525390625, 0.00804901123046875, -0.0035305023193359375, 0.021514892578125, -0.0216522216796875, -0.01058197021484375, 0.005680084228515625, -0.047943115234375, -0.002185821533203125, 0.0025310516357421875, 0.00551605224609375, 0.017120361328125, 0.03955078125, -0.07318115234375, 0.004913330078125, 0.035430908203125, 0.01035308837890625, -0.015380859375, 0.00823974609375, -0.103515625, -0.007106781005859375, -0.0709228515625, 0.0005359649658203125, 0.00897216796875, -0.0548095703125, -0.00672149658203125, 0.0300750732421875, -0.0673828125, -0.022674560546875, 0.04034423828125, -0.01444244384765625, 0.03759765625, -0.035400390625, 0.01114654541015625, -0.05023193359375, -0.02484130859375, -0.01090240478515625, -0.10125732421875, -0.0259246826171875, 0.01360321044921875, 0.039215087890625, -0.006500244140625, -0.0016756057739257812, -0.0213775634765625, 0.04742431640625, 0.00292205810546875, 0.0275115966796875, -0.002452850341796875, 0.0026264190673828125, -0.0045318603515625, -0.0266571044921875, 0.00695037841796875, -0.035247802734375, -0.00345611572265625, 0.002162933349609375, -0.018951416015625, 0.04638671875, -0.005603790283203125, -0.0089263916015625, 0.022125244140625, -0.0256195068359375, -0.06396484375, -0.032745361328125, -0.06805419921875, -0.0192108154296875, -0.0196380615234375, -0.0477294921875, -0.025848388671875, -0.06536865234375, 0.03857421875, -0.0010080337524414062, 0.008453369140625, -0.0053558349609375, 0.07659912109375, 0.0249481201171875, -0.0182342529296875, 0.0330810546875, -0.038482666015625, 0.027618408203125, 0.0750732421875, -0.0094451904296875, -0.034576416015625, -0.038818359375, 0.0804443359375, 0.0235595703125, -0.00351715087890625, -0.024505615234375, 0.05206298828125, -0.0083770751953125, -0.0173797607421875, 0.01036834716796875, -0.01727294921875, 0.0290679931640625, -0.0160369873046875, -0.03570556640625, 0.050567626953125, -0.0002703666687011719, -0.0225982666015625, -0.0233917236328125, 0.022216796875, 0.006561279296875, -0.0276947021484375, 0.002010345458984375, 0.0692138671875, 0.06878662109375, 0.050079345703125, -0.005352020263671875, 0.047607421875, 0.033294677734375, -0.018524169921875, 0.0606689453125, 0.02642822265625, 0.010040283203125, 0.000048279762268066406, 0.07452392578125, -0.02093505859375, 0.015533447265625, 0.00901031494140625, 0.03961181640625, -0.019287109375, -0.031341552734375, -0.049163818359375, -0.00740814208984375, 0.04571533203125, 0.032928466796875, -0.005504608154296875, 0.01800537109375, 0.03668212890625, -0.0111541748046875, -0.0226287841796875, 0.048126220703125, -0.0009326934814453125, -0.0238037109375, 0.0091552734375, 0.032501220703125, -0.021270751953125, 0.02081298828125, 0.004543304443359375, 0.0178680419921875, -0.01812744140625, -0.004253387451171875, 0.004787445068359375, -0.009857177734375, 0.0278778076171875, 0.039825439453125, -0.043792724609375, 0.01132965087890625, -0.0174560546875, 0.00560760498046875, -0.04473876953125, -0.01904296875, 0.01067352294921875, 0.037628173828125, 0.011566162109375, -0.00135040283203125, 0.01348876953125, 0.002300262451171875, -0.00623321533203125, -0.0206298828125, -0.033905029296875, -0.01070404052734375, -0.0097808837890625, 0.01739501953125, 0.014312744140625, 0.003803253173828125, -0.00841522216796875, -0.01140594482421875, -0.03192138671875, 0.0264739990234375, -0.0026912689208984375, -0.0113677978515625, 0.02056884765625, 0.00318145751953125, 0.00836181640625, 0.033447265625, 0.005794525146484375, -0.072265625, -0.048675537109375, -0.0248260498046875, -0.01251220703125, 0.10137939453125, -0.0194854736328125, 0.037506103515625, -0.0653076171875, 0.025665283203125, -0.0302276611328125, -0.0058135986328125, 0.04638671875, 0.0155029296875, -0.0295867919921875, -0.005443572998046875, -0.04644775390625, -0.02105712890625, -0.0518798828125, -0.04736328125, -0.05194091796875, 0.0147705078125, 0.03558349609375, 0.0206146240234375, -0.0112457275390625, -0.04638671875, 0.0136566162109375, 0.007015228271484375, 0.0266876220703125, 0.08538818359375, -0.0006890296936035156, 0.0577392578125, -0.0028285980224609375, 0.050872802734375, 0.0253448486328125, 0.015899658203125, -0.039825439453125, -0.01094818115234375, -0.02703857421875, -0.0275115966796875, 0.00662994384765625, -0.0161590576171875, 0.056304931640625, 0.037872314453125, 0.012359619140625, 0.01409912109375, 0.015960693359375, 0.032623291015625, -0.0039520263671875, -0.0177459716796875, -0.0246734619140625, 0.04547119140625, 0.0259857177734375, 0.0166015625, -0.0145721435546875, 0.009246826171875, -0.0218353271484375, 0.01007080078125, 0.00466156005859375, -0.0218658447265625, -0.002391815185546875, 0.021514892578125, -0.0086669921875, 0.00604248046875, 0.024688720703125, 0.00958251953125, 0.021728515625, 0.007640838623046875, 0.0246124267578125, -0.01053619384765625, -0.0011243820190429688, -0.008148193359375, -0.010833740234375, 0.0021038055419921875, -0.0138397216796875, 0.0103302001953125, 0.0231781005859375, 0.0060882568359375, 0.004150390625, 0.032440185546875, 0.0287017822265625, -0.09814453125, 0.01357269287109375, -0.0004363059997558594, -0.002552032470703125, 0.0012149810791015625, 0.04083251953125, -0.0207977294921875, -0.0312042236328125, -0.0038909912109375, -0.046783447265625, -0.0030422210693359375, 0.021209716796875, -0.0013141632080078125, -0.0180511474609375, -0.033447265625, 0.0295867919921875, -0.0012159347534179688, -0.02203369140625, 0.01471710205078125, 0.017120361328125, -0.0130767822265625, 0.020904541015625, 0.0288238525390625, 0.0061187744140625, -0.044830322265625, -0.0301666259765625, -0.005161285400390625, 0.020172119140625, -0.07879638671875, 0.06634521484375, -0.01406097412109375, 0.0267333984375, 0.0391845703125, -0.0167388916015625, 0.0175018310546875, -0.0196990966796875, 0.0228424072265625, -0.002971649169921875, -0.02288818359375, 0.0222625732421875, 0.0009741783142089844, -0.05511474609375, 0.019256591796875, -0.01302337646484375, -0.0111846923828125, 0.003387451171875, 0.07257080078125, 0.062408447265625, -0.0004429817199707031, -0.050689697265625, 0.02264404296875, 0.002765655517578125, -0.0005550384521484375, 0.017059326171875, -0.0236968994140625, -0.032745361328125, -0.0269775390625, -0.00811767578125, -0.06298828125, -0.0004177093505859375, -0.0274658203125, -0.05877685546875, 0.09552001953125, -0.0183563232421875, 0.00537109375, -0.006465911865234375, 0.060302734375, -0.0253143310546875, 0.01517486572265625, -0.022430419921875, 0.05194091796875, -0.0112762451171875, -0.0205230712890625, -0.05059814453125, 0.0108642578125, -0.039337158203125, 0.0190887451171875, 0.010406494140625, -0.002849578857421875, -0.05010986328125, -0.0284881591796875, 0.00666046142578125, 0.0038738250732421875, -0.0124969482421875, 0.057708740234375, 0.01377105712890625, 0.00431060791015625, -0.006870269775390625, -0.00208282470703125, 0.0300445556640625, -0.03717041015625, -0.050323486328125, 0.03204345703125, 0.0293426513671875, 0.054443359375, 0.00994873046875, 0.006130218505859375, -0.0208587646484375, 0.007328033447265625, 0.0251312255859375, -0.00849151611328125, -0.0243988037109375, 0.0380859375, 0.038299560546875, -0.001132965087890625, -0.0290679931640625, -0.01172637939453125, 0.027587890625, 0.0189971923828125, -0.0145111083984375, -0.003765106201171875, 0.0192718505859375, -0.06689453125, 0.01190948486328125, -0.005908966064453125, 0.044342041015625, -0.022918701171875, -0.00885772705078125, -0.011383056640625, 0.01145172119140625, 0.0069427490234375, 0.048736572265625, 0.0094451904296875, -0.027191162109375, -0.00969696044921875, -0.075439453125, 0.011138916015625, -0.00054931640625, -0.00945281982421875, 0.040008544921875, -0.0236968994140625, 0.0272216796875, 0.0859375, 0.0219573974609375, -0.03167724609375, -0.0167999267578125, 0.0343017578125, 0.011138916015625, 0.052581787109375, -0.023529052734375, -0.028961181640625, -0.033721923828125, 0.034423828125, -0.0022907257080078125, 0.0230865478515625, 0.00445556640625, 0.04180908203125, 0.01971435546875, -0.004425048828125, -0.0306854248046875, 0.01456451416015625, 0.046356201171875, 0.023773193359375, -0.038299560546875, -0.0175933837890625, 0.06304931640625, 0.037811279296875, 0.0430908203125, 0.05267333984375, 0.0178375244140625, 0.0294342041015625, 0.08026123046875, 0.0304412841796875, 0.04095458984375, 0.0022144317626953125, 0.032501220703125, -0.0169677734375, 0.052093505859375, 0.006404876708984375, 0.005970001220703125, -0.0255584716796875, 0.061309814453125, 0.01873779296875, -0.031646728515625, 0.042755126953125, -0.003131866455078125, -0.0087738037109375, 0.049774169921875, -0.0242462158203125, 0.088134765625, 0.0162811279296875, -0.0372314453125, 0.01001739501953125, -0.027313232421875, -0.0479736328125, 0.0229339599609375, 0.051727294921875, -0.030242919921875, 0.025177001953125, -0.0130615234375, 0.01898193359375, 0.02838134765625, -0.053558349609375, 0.0423583984375, 0.053192138671875, -0.00644683837890625, 0.03338623046875, -0.03118896484375, -0.0247955322265625, 0.010284423828125, 0.0210723876953125, -0.03656005859375, 0.08087158203125, -0.0233917236328125, -0.006153106689453125, 0.0201263427734375, -0.0031070709228515625, -0.005496978759765625, 0.0023670196533203125, 0.01195526123046875, -0.006969451904296875, 0.007556915283203125, -0.0027141571044921875, -0.04547119140625, 0.0296478271484375, 0.0166168212890625, 0.002384185791015625, 0.0213623046875, -0.019775390625, 0.00829315185546875, 0.00904083251953125, -0.0006728172302246094, -0.0142822265625, -0.04150390625, -0.027130126953125, 0.00487518310546875, 0.0179290771484375, 0.044281005859375, -0.00814056396484375, 0.0227508544921875, -0.01215362548828125, 0.0226593017578125, -0.0257720947265625, 0.034393310546875, -0.0478515625, 0.025146484375, -0.007480621337890625, -0.023162841796875, 0.01285552978515625, 0.00603485107421875, -0.01436614990234375, 0.034210205078125, -0.0234527587890625, 0.038421630859375, -0.0038814544677734375, 0.01049041748046875, 0.0430908203125, 0.034698486328125, -0.01483154296875, 0.00997161865234375, 0.046142578125, -0.032440185546875, 0.0088348388671875, -0.0092926025390625, -0.01947021484375, 0.0014677047729492188, -0.022705078125, 0.00444793701171875, -0.0172271728515625, -0.06622314453125, -0.072265625, 0.0191650390625, 0.032806396484375, -0.004650115966796875, -0.05145263671875, 0.00217437744140625, -0.0142364501953125, 0.07196044921875, -0.0139312744140625, 0.032318115234375, 0.0002644062042236328, 0.014556884765625, -0.038116455078125, 0.0020961761474609375, -0.00537109375, 0.01097869873046875, 0.01364898681640625, 0.01313018798828125, 0.0210418701171875, -0.0145111083984375, -0.04302978515625, -0.0011758804321289062, 0.0031795501708984375, 0.0421142578125, -0.0057373046875, 0.0033168792724609375, -0.0003120899200439453, 0.0244903564453125, -0.0224151611328125, -0.04254150390625, 0.01812744140625, -0.0198974609375, -0.014007568359375, -0.0144195556640625, -0.0218048095703125, -0.006427764892578125, -0.045501708984375, -0.04254150390625, 0.00710296630859375, 0.00943756103515625, -0.03387451171875, -0.0207366943359375, 0.0243377685546875, -0.0137176513671875, 0.033935546875, -0.0089111328125, 0.0007157325744628906, 0.006786346435546875, 0.02435302734375, -0.0267791748046875, 0.05023193359375, 0.01861572265625, -0.0596923828125, -0.01502227783203125, -0.04376220703125, -0.0279998779296875, -0.00632476806640625, 0.031524658203125, -0.01123046875, 0.04962158203125, 0.0380859375, -0.027069091796875, 0.0078125, -0.00908660888671875, -0.03460693359375, -0.016845703125, -0.00113677978515625, 0.01422119140625, 0.00626373291015625, 0.013275146484375, 0.0296478271484375, -0.00090789794921875, -0.0325927734375, 0.04254150390625, -0.00997161865234375, -0.07080078125, 0.0087738037109375, 0.0289306640625, -0.04583740234375, 0.0024700164794921875, 0.02508544921875, -0.0390625, -0.01291656494140625, 0.00948333740234375, -0.0562744140625, 0.01320648193359375, -0.01702880859375, -0.00958251953125, -0.051177978515625, -0.045928955078125, 0.0474853515625, -0.02069091796875, -0.01280975341796875, 0.0164947509765625, 0.0221405029296875, 0.0145111083984375, 0.0462646484375, 0.0008530616760253906, -0.0004878044128417969, -0.037841796875, 0.01291656494140625, -0.004230499267578125, 0.073974609375, -0.037078857421875, -0.0246429443359375, 0.005496978759765625, -0.035003662109375, -0.02459716796875, -0.051513671875, 0.006927490234375, -0.0249176025390625, -0.059539794921875, 0.0694580078125, -0.02618408203125, 0.031036376953125, -0.0146942138671875, 0.00881195068359375, 0.01369476318359375, 0.0096435546875, 0.036865234375, 0.0073699951171875, 0.00605010986328125, 0.0056304931640625, 0.03302001953125, -0.0460205078125, 0.020599365234375, -0.015594482421875, 0.0350341796875, 0.01273345947265625 ]
1e3ce25b83191671ed0619fca7bf781f7eeaf1d3
Wordpress Stackexchange Q: How to fix wrong attribute error for Visual Composer Grid Builder? Hello I am facing this issue in editing media grid layout of Visual Composer V6.2.2. Below is the error I am getting Fatal error: Uncaught Exception: Wrong attribute for 'vc_single_image' shortcode. Attribute 'param_name' required in /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:667 Stack Trace 1. WPBMap::mutateParam('vc_single_image', Array) /var/www/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php:204 2. Vc_Mapper->callElementActivities('vc_single_image') /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:926 3. WPBMap::setElementSettings('vc_single_image') /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:345 4. WPBMap::generateData() /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:370 5. WPBMap::getAllShortCodes() /var/www/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-vc-shortcodes-manager.php:173 6. Vc_Shortcodes_Manager->buildShortcodesAssets('') /var/www/wp-includes/class-wp-hook.php:287 7. /var/www/wp-includes/class-wp-hook.php(311) in /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 667 Any Ideas about this Fix?
Q: How to fix wrong attribute error for Visual Composer Grid Builder? Hello I am facing this issue in editing media grid layout of Visual Composer V6.2.2. Below is the error I am getting Fatal error: Uncaught Exception: Wrong attribute for 'vc_single_image' shortcode. Attribute 'param_name' required in /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:667 Stack Trace 1. WPBMap::mutateParam('vc_single_image', Array) /var/www/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php:204 2. Vc_Mapper->callElementActivities('vc_single_image') /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:926 3. WPBMap::setElementSettings('vc_single_image') /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:345 4. WPBMap::generateData() /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:370 5. WPBMap::getAllShortCodes() /var/www/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-vc-shortcodes-manager.php:173 6. Vc_Shortcodes_Manager->buildShortcodesAssets('') /var/www/wp-includes/class-wp-hook.php:287 7. /var/www/wp-includes/class-wp-hook.php(311) in /var/www/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 667 Any Ideas about this Fix?
wordpress
{ "language": "en", "length": 81, "provenance": "stackexchange_00019.jsonl.gz:503742", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/367779" }
[ 0.026031494140625, -0.038299560546875, -0.00836944580078125, -0.07159423828125, -0.0025997161865234375, 0.006359100341796875, 0.0136260986328125, 0.05078125, 0.017486572265625, 0.04241943359375, -0.02752685546875, -0.007511138916015625, -0.005001068115234375, -0.005596160888671875, -0.043365478515625, -0.0210418701171875, 0.027069091796875, -0.008331298828125, -0.01145172119140625, -0.02191162109375, 0.017242431640625, 0.00197601318359375, -0.05853271484375, 0.053070068359375, -0.021453857421875, 0.01318359375, 0.0122222900390625, 0.00750732421875, -0.03564453125, -0.0293121337890625, -0.00489044189453125, 0.0555419921875, 0.06451416015625, -0.0165252685546875, -0.05078125, 0.00981903076171875, -0.01053619384765625, -0.01381683349609375, -0.047088623046875, 0.040191650390625, 0.007213592529296875, -0.005962371826171875, 0.006732940673828125, -0.0138702392578125, -0.01189422607421875, -0.0248870849609375, 0.011322021484375, -0.028045654296875, 0.0267333984375, -0.00618743896484375, 0.03094482421875, -0.0030651092529296875, 0.0423583984375, -0.0218658447265625, -0.033935546875, -0.0006041526794433594, -0.0782470703125, 0.04217529296875, 0.01523590087890625, 0.0771484375, 0.019622802734375, 0.0033893585205078125, -0.0179290771484375, -0.051727294921875, -0.033233642578125, -0.004184722900390625, 0.0242462158203125, -0.005046844482421875, -0.0122222900390625, -0.017852783203125, 0.0340576171875, 0.024932861328125, -0.0157928466796875, 0.0208282470703125, -0.007411956787109375, -0.0151824951171875, 0.01367950439453125, 0.0168304443359375, 0.006847381591796875, 0.0252838134765625, 0.036346435546875, -0.0173492431640625, -0.015594482421875, 0.00531005859375, 0.006137847900390625, 0.0242767333984375, 0.006572723388671875, -0.0123748779296875, -0.06396484375, 0.00432586669921875, -0.057403564453125, -0.0297698974609375, -0.0171356201171875, -0.00849151611328125, -0.0244293212890625, 0.021331787109375, 0.0155181884765625, 0.0517578125, 0.00682830810546875, 0.047698974609375, -0.006725311279296875, -0.05010986328125, 0.067626953125, -0.0675048828125, -0.0009250640869140625, 0.01555633544921875, -0.0166168212890625, 0.016876220703125, 0.038360595703125, 0.031890869140625, 0.00272369384765625, -0.021026611328125, -0.002170562744140625, -0.005706787109375, -0.0187225341796875, -0.01898193359375, -0.035614013671875, -0.009857177734375, -0.0011034011840820312, -0.05609130859375, -0.0201263427734375, -0.0025119781494140625, -0.01148223876953125, 0.0137176513671875, -0.0160064697265625, -0.010101318359375, -0.018646240234375, 0.017913818359375, 0.01418304443359375, -0.003871917724609375, -0.0197296142578125, 0.0016717910766601562, 0.0552978515625, 0.037261962890625, 0.032806396484375, -0.00791168212890625, 0.02239990234375, -0.006000518798828125, 0.0023174285888671875, 0.00728607177734375, 0.0178070068359375, 0.00855255126953125, 0.033935546875, -0.0081024169921875, 0.02099609375, -0.00986480712890625, 0.01434326171875, 0.032928466796875, 0.01071929931640625, -0.029449462890625, 0.029632568359375, 0.022613525390625, 0.0013856887817382812, 0.0194549560546875, 0.026947021484375, 0.0172882080078125, 0.045928955078125, -0.0264434814453125, -0.01042938232421875, -0.008636474609375, -0.00475311279296875, -0.021728515625, 0.0208587646484375, -0.051116943359375, -0.059234619140625, 0.023712158203125, -0.0645751953125, -0.007183074951171875, 0.018463134765625, 0.035736083984375, -0.010345458984375, 0.0180816650390625, -0.003002166748046875, 0.02178955078125, -0.005596160888671875, 0.0079345703125, 0.00330352783203125, 0.0147705078125, 0.03167724609375, -0.01165008544921875, -0.021881103515625, -0.037872314453125, 0.06060791015625, -0.019287109375, -0.04791259765625, 0.037109375, 0.003932952880859375, 0.056884765625, 0.032745361328125, 0.00403594970703125, 0.01136016845703125, 0.006488800048828125, -0.008514404296875, 0.02362060546875, -0.0101470947265625, -0.047119140625, -0.04913330078125, -0.0157623291015625, -0.04119873046875, 0.051483154296875, 0.004764556884765625, 0.00672149658203125, -0.00647735595703125, -0.002132415771484375, -0.01552581787109375, -0.01335906982421875, 0.0011005401611328125, 0.01812744140625, -0.033599853515625, 0.005859375, 0.01456451416015625, -0.02020263671875, -0.031524658203125, 0.0406494140625, 0.0276031494140625, -0.00390625, -0.027374267578125, -0.01117706298828125, -0.049957275390625, 0.00562286376953125, -0.0347900390625, -0.04498291015625, -0.042633056640625, 0.06219482421875, -0.004619598388671875, 0.0171966552734375, -0.010040283203125, 0.0237579345703125, 0.041656494140625, 0.014312744140625, 0.06634521484375, -0.027252197265625, -0.03057861328125, 0.007755279541015625, -0.04681396484375, -0.0240631103515625, -0.049041748046875, 0.011138916015625, 0.00794219970703125, 0.032623291015625, 0.04290771484375, -0.0030841827392578125, -0.0048980712890625, -0.038360595703125, 0.0369873046875, 0.02642822265625, 0.038818359375, -0.05670166015625, -0.02264404296875, 0.0017547607421875, 0.0006732940673828125, 0.00687408447265625, 0.028472900390625, 0.0193023681640625, -0.0191192626953125, 0.03924560546875, -0.0692138671875, -0.051788330078125, -0.0248565673828125, 0.01239013671875, 0.0241546630859375, -0.028045654296875, -0.002010345458984375, -0.00740814208984375, -0.0004591941833496094, 0.007762908935546875, 0.02630615234375, 0.020111083984375, -0.007320404052734375, 0.0131378173828125, -0.0019092559814453125, -0.0267333984375, -0.01035308837890625, 0.03778076171875, 0.0126190185546875, 0.044708251953125, -0.03173828125, -0.001537322998046875, 0.0026092529296875, 0.033599853515625, -0.0229949951171875, 0.01043701171875, -0.04156494140625, -0.01308441162109375, -0.0157928466796875, -0.018341064453125, -0.006443023681640625, 0.0006632804870605469, -0.0157623291015625, -0.048095703125, -0.0232086181640625, 0.05670166015625, -0.01468658447265625, 0.05120849609375, 0.0179443359375, -0.01009368896484375, 0.09564208984375, 0.00656890869140625, 0.022125244140625, -0.00881195068359375, 0.0372314453125, 0.0203094482421875, -0.0300445556640625, -0.00023424625396728516, -0.0152435302734375, -0.01343536376953125, -0.011932373046875, 0.02386474609375, 0.004619598388671875, -0.06182861328125, 0.02081298828125, 0.046478271484375, 0.029205322265625, 0.043182373046875, -0.01216888427734375, -0.038543701171875, -0.021575927734375, 0.0207977294921875, -0.04766845703125, -0.0743408203125, 0.01508331298828125, -0.010528564453125, -0.0283966064453125, 0.0341796875, -0.0110626220703125, -0.001220703125, 0.04766845703125, -0.019989013671875, -0.0224456787109375, 0.0003674030303955078, -0.037384033203125, -0.026885986328125, -0.046875, 0.0227813720703125, -0.00867462158203125, 0.01092529296875, 0.0159454345703125, -0.029571533203125, -0.005828857421875, -0.0171661376953125, 0.01739501953125, 0.032989501953125, -0.0104217529296875, -0.0267181396484375, 0.0177154541015625, -0.0224609375, -0.037933349609375, 0.01430511474609375, -0.0276641845703125, -0.0164794921875, -0.0014448165893554688, -0.0305633544921875, 0.032135009765625, -0.0132598876953125, 0.03033447265625, 0.037261962890625, -0.0305023193359375, -0.01099395751953125, 0.05535888671875, -0.044036865234375, -0.0145263671875, -0.006671905517578125, -0.047637939453125, 0.04486083984375, 0.02203369140625, -0.00572967529296875, 0.018585205078125, -0.00699615478515625, -0.0034847259521484375, 0.022796630859375, 0.048858642578125, -0.02947998046875, 0.04608154296875, -0.01427459716796875, -0.031982421875, -0.03985595703125, 0.045135498046875, -0.003292083740234375, -0.00817108154296875, 0.01129913330078125, 0.0278167724609375, 0.037689208984375, -0.050933837890625, -0.0029754638671875, 0.016265869140625, 0.0306549072265625, -0.0204925537109375, 0.06646728515625, -0.061676025390625, -0.023040771484375, -0.05047607421875, 0.04681396484375, -0.00846099853515625, -0.013671875, -0.00881195068359375, -0.00885009765625, -0.00015497207641601562, 0.006389617919921875, -0.033355712890625, -0.0050506591796875, -0.0419921875, 0.004451751708984375, 0.01242828369140625, -0.0291595458984375, -0.01064300537109375, -0.0144500732421875, -0.03985595703125, -0.036285400390625, 0.050628662109375, -0.0147552490234375, -0.007049560546875, 0.04571533203125, -0.021209716796875, 0.024078369140625, -0.04486083984375, 0.00445556640625, -0.1668701171875, -0.037506103515625, -0.0216064453125, 0.132080078125, -0.0157623291015625, -0.005786895751953125, -0.0771484375, 0.048675537109375, -0.0214996337890625, -0.0063323974609375, 0.002315521240234375, 0.01800537109375, 0.01491546630859375, 0.0533447265625, 0.00331878662109375, 0.0189666748046875, 0.0208740234375, 0.009002685546875, -0.03057861328125, -0.01953125, -0.03271484375, -0.047088623046875, 0.0191497802734375, -0.0528564453125, -0.0287322998046875, -0.03564453125, -0.006984710693359375, 0.0367431640625, -0.0379638671875, 0.038665771484375, -0.04974365234375, -0.026519775390625, 0.057525634765625, 0.00028228759765625, 0.0086212158203125, 0.002567291259765625, 0.0772705078125, 0.0084991455078125, -0.035491943359375, -0.0295867919921875, 0.005229949951171875, 0.0189666748046875, -0.012451171875, 0.048095703125, 0.0079193115234375, -0.0249481201171875, 0.06219482421875, -0.01457977294921875, -0.0029087066650390625, 0.01544952392578125, 0.02032470703125, 0.0159454345703125, -0.01312255859375, 0.006809234619140625, 0.02239990234375, -0.031402587890625, -0.001312255859375, -0.01020050048828125, 0.042877197265625, 0.0115814208984375, -0.023590087890625, -0.0128173828125, -0.000036716461181640625, 0.0209808349609375, -0.06390380859375, 0.0223236083984375, 0.0302276611328125, 0.020294189453125, 0.0019664764404296875, 0.0097198486328125, 0.02447509765625, 0.0255126953125, -0.01541900634765625, 0.005664825439453125, 0.0251007080078125, -0.016143798828125, 0.037750244140625, -0.0185394287109375, -0.02178955078125, -0.00115203857421875, 0.002651214599609375, 0.0189971923828125, 0.0138092041015625, -0.01904296875, 0.0089874267578125, -0.0016736984252929688, -0.0433349609375, -0.0212860107421875, 0.00921630859375, 0.064453125, 0.07373046875, -0.00661468505859375, -0.008331298828125, -0.0246124267578125, 0.042572021484375, -0.055908203125, 0.033294677734375, 0.0087432861328125, -0.006221771240234375, -0.00595855712890625, -0.0031261444091796875, 0.07623291015625, -0.054779052734375, -0.019744873046875, -0.0033512115478515625, -0.043060302734375, 0.0701904296875, 0.04608154296875, -0.09295654296875, 0.0080718994140625, 0.0345458984375, -0.0321044921875, -0.039642333984375, -0.0007281303405761719, 0.047027587890625, 0.046539306640625, -0.00324249267578125, -0.038482666015625, -0.001483917236328125, 0.0016498565673828125, -0.0269622802734375, -0.008880615234375, -0.0253143310546875, -0.0074005126953125, -0.035186767578125, -0.0018749237060546875, 0.034149169921875, 0.028411865234375, -0.0014238357543945312, -0.0186614990234375, 0.006683349609375, 0.01181793212890625, 0.00945281982421875, -0.028228759765625, 0.0152435302734375, 0.0179901123046875, 0.01416778564453125, -0.0295562744140625, -0.0204315185546875, -0.070068359375, 0.01288604736328125, -0.03277587890625, -0.0048828125, 0.038421630859375, -0.032501220703125, 0.01971435546875, -0.04052734375, 0.0275115966796875, -0.02203369140625, 0.0210113525390625, 0.0173797607421875, 0.006954193115234375, 0.047210693359375, -0.021759033203125, -0.0282135009765625, -0.032623291015625, 0.0321044921875, -0.0295867919921875, -0.0135498046875, -0.0180511474609375, -0.041778564453125, 0.0188751220703125, -0.01373291015625, 0.055938720703125, 0.0120391845703125, 0.0207672119140625, -0.05999755859375, 0.035430908203125, -0.048675537109375, 0.040740966796875, 0.03857421875, 0.054046630859375, -0.0013713836669921875, -0.0198974609375, 0.01389312744140625, -0.01568603515625, 0.004558563232421875, -0.004180908203125, -0.034332275390625, -0.01000213623046875, -0.0023345947265625, -0.0029010772705078125, 0.035888671875, -0.01085662841796875, 0.021148681640625, -0.0134429931640625, -0.00012242794036865234, -0.00864410400390625, 0.00040650367736816406, -0.010711669921875, 0.0185699462890625, 0.0245513916015625, -0.0281524658203125, 0.0430908203125, -0.0257110595703125, -0.04901123046875, 0.034820556640625, -0.0303497314453125, 0.028656005859375, 0.06463623046875, 0.008087158203125, 0.0287322998046875, 0.041351318359375, -0.0438232421875, 0.0107879638671875, 0.0259552001953125, -0.0189971923828125, 0.0164642333984375, 0.039886474609375, -0.0053253173828125, -0.03826904296875, 0.07391357421875, 0.034942626953125, -0.0285186767578125, 0.0557861328125, -0.0311737060546875, 0.0423583984375, -0.0021953582763671875, 0.05804443359375, -0.0222015380859375, 0.0198822021484375, 0.0217437744140625, -0.041961669921875, 0.016937255859375, 0.01678466796875, 0.003414154052734375, -0.00582122802734375, 0.030670166015625, -0.00971221923828125, -0.0111236572265625, 0.02484130859375, 0.0015020370483398438, -0.00904083251953125, -0.023406982421875, 0.0148773193359375, 0.00939178466796875, -0.025238037109375, 0.0299835205078125, 0.01525115966796875, -0.009490966796875, -0.006256103515625, 0.0023632049560546875, -0.036041259765625, -0.039337158203125, -0.050994873046875, -0.036773681640625, -0.0079345703125, -0.034149169921875, 0.01410675048828125, 0.0223388671875, 0.001922607421875, 0.0230255126953125, 0.0008378028869628906, -0.0127716064453125, -0.00530242919921875, -0.042388916015625, 0.0804443359375, -0.00855255126953125, 0.0020751953125, 0.045135498046875, -0.07672119140625, -0.0074005126953125, -0.0089569091796875, 0.045166015625, 0.0009617805480957031, -0.00865936279296875, -0.0022106170654296875, -0.0128631591796875, 0.004032135009765625, 0.05523681640625, 0.0056915283203125, -0.0269775390625, 0.0275115966796875, 0.01898193359375, -0.0113983154296875, -0.0313720703125, 0.0175628662109375, -0.05511474609375, -0.015716552734375, 0.024078369140625, -0.037200927734375, 0.07403564453125, 0.01161956787109375, -0.00921630859375, 0.01904296875, 0.033843994140625, -0.044677734375, 0.00872039794921875, -0.0182342529296875, 0.03173828125, -0.006591796875, 0.0149688720703125, -0.020904541015625, 0.00527191162109375, 0.0108184814453125, 0.0267181396484375, 0.0711669921875, 0.01125335693359375, -0.04644775390625, 0.00859832763671875, 0.0576171875, 0.018310546875, 0.003231048583984375, 0.045745849609375, 0.01068878173828125, -0.058746337890625, 0.0019378662109375, 0.022186279296875, 0.048980712890625, -0.06427001953125, -0.0081787109375, 0.017303466796875, 0.005016326904296875, 0.002349853515625, 0.044952392578125, 0.01349639892578125, 0.006244659423828125, 0.01158905029296875, -0.0010738372802734375, -0.0179901123046875, 0.0159912109375, 0.0252227783203125, 0.0228729248046875, 0.0469970703125, -0.04052734375, 0.004486083984375, 0.022003173828125, 0.003757476806640625, 0.0223541259765625, 0.045745849609375, 0.01523590087890625, -0.0028057098388671875, 0.035003662109375, 0.0238189697265625, 0.035614013671875, -0.00727081298828125, 0.0203704833984375, -0.004535675048828125, 0.0167236328125, -0.00908660888671875, 0.1046142578125, 0.0179595947265625, 0.0065460205078125, -0.0604248046875, -0.0185546875, 0.01556396484375, -0.0034389495849609375, -0.0269012451171875, -0.004486083984375, -0.00894927978515625, -0.0107421875, 0.01007843017578125, -0.044403076171875, 0.0031280517578125, 0.05657958984375, 0.021728515625, -0.006969451904296875, 0.0004851818084716797, -0.044097900390625, -0.03924560546875, -0.043853759765625, 0.027252197265625, 0.0236358642578125, 0.06622314453125, -0.01369476318359375, 0.045867919921875, -0.0538330078125, -0.0177764892578125, -0.026092529296875, 0.03155517578125, 0.006229400634765625, 0.0200042724609375, -0.040740966796875, -0.041961669921875, 0.0350341796875, 0.04327392578125, -0.0183563232421875, 0.00543975830078125, 0.005523681640625, 0.00791168212890625, -0.0197601318359375, -0.01113128662109375, 0.06854248046875, -0.018341064453125, -0.021484375, -0.009765625, -0.032470703125, 0.002628326416015625, -0.01099395751953125, -0.0001811981201171875, 0.03790283203125, -0.0035953521728515625, 0.01178741455078125, 0.05859375, 0.0029888153076171875, -0.008331298828125, 0.0088958740234375, -0.020843505859375, 0.06329345703125, 0.042083740234375, 0.01446533203125, 0.0230712890625, -0.0277557373046875, -0.0478515625, -0.0038127899169921875, 0.03790283203125, -0.014862060546875, 0.03570556640625, -0.04168701171875, -0.041473388671875, -0.01580810546875, 0.0117034912109375, 0.0242767333984375, -0.0153045654296875, -0.0294952392578125, -0.035797119140625, -0.0218048095703125, -0.005466461181640625, -0.017608642578125, 0.04034423828125, -0.0010404586791992188, 0.1336669921875, -0.0677490234375, 0.0191650390625, -0.001514434814453125, 0.0015392303466796875, -0.01568603515625, -0.015380859375, -0.00033974647521972656, -0.0199432373046875, 0.0104827880859375, 0.0051116943359375, 0.01116943359375, -0.020599365234375, 0.046417236328125, -0.05108642578125, -0.0272979736328125, -0.007480621337890625, 0.0279083251953125, -0.00872039794921875, 0.05084228515625, -0.034149169921875, -0.03826904296875, -0.0231170654296875, 0.006591796875, -0.0073394775390625, -0.005771636962890625, 0.01064300537109375, -0.0014543533325195312, 0.038665771484375, -0.0215911865234375, 0.020263671875, -0.0111541748046875, 0.0438232421875, 0.0304718017578125, -0.008758544921875, -0.057098388671875, 0.0023250579833984375, -0.001728057861328125, -0.0228271484375, 0.01165771484375, 0.037109375, 0.005950927734375, -0.051788330078125, 0.055755615234375, 0.043212890625, 0.0264739990234375, -0.0312042236328125, 0.01374053955078125, 0.0570068359375, -0.001895904541015625, -0.00603485107421875, -0.001949310302734375, -0.00634765625, -0.0340576171875, -0.0059814453125, 0.0187835693359375, -0.019378662109375, 0.01163482666015625, -0.05413818359375, -0.039764404296875, 0.045623779296875, 0.0274810791015625, -0.045745849609375, 0.021087646484375, -0.0014314651489257812, -0.040008544921875, 0.02545166015625, 0.034759521484375, -0.021240234375, -0.00894927978515625, -0.0626220703125, -0.038909912109375, -0.0391845703125, 0.041046142578125, -0.040374755859375, 0.03057861328125, 0.05975341796875, -0.018798828125, -0.043792724609375, -0.00030612945556640625, -0.003997802734375, 0.051025390625, -0.044281005859375, -0.01282501220703125, 0.01552581787109375, -0.00948333740234375, -0.022796630859375, -0.06878662109375, -0.001758575439453125, -0.06658935546875, -0.0135955810546875, 0.0263671875, -0.0426025390625, -0.03607177734375, -0.0587158203125, -0.05291748046875, 0.040863037109375, 0.0263824462890625, -0.025726318359375, -0.0369873046875, 0.0155029296875, -0.007648468017578125, 0.041412353515625, -0.019073486328125, -0.0076751708984375, -0.005825042724609375, 0.032989501953125, 0.00750732421875, 0.02471923828125, 0.02215576171875, -0.0295257568359375, -0.00661468505859375, 0.00731658935546875, 0.017303466796875, 0.0106048583984375, 0.0300445556640625, -0.0100250244140625, 0.0203399658203125, 0.054351806640625, -0.0285186767578125, -0.03570556640625, -0.0079803466796875, -0.04949951171875, 0.023345947265625, -0.04425048828125, -0.016143798828125, 0.00014865398406982422, 0.00904083251953125, 0.028167724609375, 0.0020694732666015625, -0.03692626953125, 0.00945281982421875, -0.0257720947265625, 0.00826263427734375, 0.035308837890625, -0.00572967529296875, -0.0187835693359375, 0.01045989990234375, 0.019866943359375, -0.00814056396484375, 0.00823211669921875, 0.006793975830078125, -0.01983642578125, 0.02081298828125, 0.00331878662109375, -0.0216217041015625, -0.04595947265625, 0.0157623291015625, -0.0194091796875, 0.01922607421875, 0.038116455078125, -0.00513458251953125, -0.01165008544921875, 0.0128173828125, 0.08807373046875, -0.009979248046875, 0.002445220947265625, -0.03399658203125, 0.036651611328125, -0.0089874267578125, 0.0406494140625, -0.044921875, 0.0014734268188476562, 0.0184783935546875, 0.0292816162109375, -0.01178741455078125, 0.03656005859375, -0.020477294921875, 0.061767578125, -0.0235443115234375, 0.04168701171875, -0.0540771484375, 0.0723876953125, -0.0051116943359375, 0.0034580230712890625, -0.0126495361328125, 0.031982421875, 0.037261962890625, -0.007007598876953125, 0.019134521484375, 0.0745849609375, 0.038330078125, 0.020782470703125, 0.003143310546875, 0.02197265625, 0.036834716796875, -0.02099609375 ]
37f5fbaf28fddaf4641ad24e1f14abf3cb48488c
Wordpress Stackexchange Q: The style.css stylesheet doesn’t contain a valid theme header when I try to upload a theme I have uploaded on a free host and it is the first time I upload a theme on a host, I got this error failed because The style.css stylesheet doesn’t contain a valid theme header. then I put this on my styles.css , but still getting this error , although the theme works very well on the localhost. what should I do, please? /* Theme Name: shah Author: shah Author URI: http://shah.gq Description: Wordpress Theme Version: 1.0 */ A: Remove the extra space from the header. Try like below: /* Theme Name: shah Theme URI: Author: shah Author URI: http://shah.gq Description: Wordpress Theme Version: 1.0 */
Q: The style.css stylesheet doesn’t contain a valid theme header when I try to upload a theme I have uploaded on a free host and it is the first time I upload a theme on a host, I got this error failed because The style.css stylesheet doesn’t contain a valid theme header. then I put this on my styles.css , but still getting this error , although the theme works very well on the localhost. what should I do, please? /* Theme Name: shah Author: shah Author URI: http://shah.gq Description: Wordpress Theme Version: 1.0 */ A: Remove the extra space from the header. Try like below: /* Theme Name: shah Theme URI: Author: shah Author URI: http://shah.gq Description: Wordpress Theme Version: 1.0 */ A: use same name for theme and also for your folder
wordpress
{ "language": "en", "length": 134, "provenance": "stackexchange_00019.jsonl.gz:503902", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/368332" }
[ 0.00726318359375, -0.0037364959716796875, -0.00609588623046875, -0.01059722900390625, -0.014312744140625, -0.004238128662109375, -0.028411865234375, -0.035125732421875, -0.026611328125, 0.00743865966796875, -0.03338623046875, 0.02569580078125, -0.00174713134765625, -0.032684326171875, 0.04046630859375, -0.022705078125, 0.0296783447265625, -0.0235595703125, 0.0204315185546875, 0.0016155242919921875, -0.0190277099609375, 0.03240966796875, 0.033447265625, 0.00934600830078125, 0.006622314453125, -0.007904052734375, 0.061737060546875, -0.0067138671875, 0.007663726806640625, -0.0199127197265625, 0.0192413330078125, 0.003208160400390625, 0.033111572265625, 0.040863037109375, -0.07330322265625, 0.035888671875, 0.01338958740234375, 0.0068817138671875, -0.0139617919921875, 0.05291748046875, 0.003208160400390625, 0.0161895751953125, 0.02508544921875, 0.06903076171875, -0.0208587646484375, -0.06640625, 0.006183624267578125, -0.0394287109375, -0.0211639404296875, -0.024444580078125, 0.00605010986328125, 0.002544403076171875, 0.03021240234375, -0.0237884521484375, -0.02178955078125, -0.0159149169921875, 0.01253509521484375, 0.0252838134765625, 0.025177001953125, -0.034881591796875, -0.045806884765625, -0.004764556884765625, 0.024322509765625, 0.0005054473876953125, -0.01540374755859375, 0.00797271728515625, 0.00506591796875, 0.01654052734375, -0.02508544921875, -0.0007128715515136719, 0.02532958984375, -0.0269927978515625, 0.010833740234375, 0.0072021484375, -0.03179931640625, -0.06689453125, 0.009674072265625, -0.07281494140625, 0.030914306640625, 0.00994110107421875, 0.003253936767578125, -0.0294647216796875, -0.056396484375, -0.0005631446838378906, 0.01019287109375, 0.0167236328125, -0.0016698837280273438, -0.0098419189453125, -0.0257568359375, -0.016143798828125, -0.0260467529296875, -0.01529693603515625, -0.054443359375, -0.00891876220703125, 0.0123138427734375, -0.0447998046875, 0.0305938720703125, 0.0966796875, -0.0180206298828125, 0.025299072265625, -0.0256500244140625, -0.032379150390625, 0.043548583984375, -0.06561279296875, 0.001194000244140625, 0.031585693359375, 0.0009703636169433594, -0.0115966796875, 0.018524169921875, 0.0159912109375, -0.00096893310546875, 0.0110626220703125, -0.01183319091796875, -0.0204925537109375, -0.0384521484375, 0.01538848876953125, -0.0214691162109375, -0.0242919921875, 0.0015554428100585938, -0.034637451171875, 0.023895263671875, 0.039398193359375, -0.02288818359375, -0.0208892822265625, -0.00016319751739501953, -0.00201416015625, -0.01232147216796875, -0.01812744140625, 0.0274505615234375, 0.01132965087890625, -0.0214996337890625, 0.0004582405090332031, -0.0002734661102294922, 0.0050201416015625, -0.001995086669921875, -0.01474761962890625, 0.0552978515625, -0.0042724609375, -0.0279083251953125, 0.01268768310546875, -0.01273345947265625, -0.0262298583984375, -0.0241851806640625, -0.040191650390625, 0.002376556396484375, 0.0164947509765625, 0.018798828125, 0.0227203369140625, -0.0220947265625, -0.043731689453125, 0.0443115234375, -0.042205810546875, 0.052947998046875, 0.006969451904296875, -0.05853271484375, -0.056182861328125, -0.0097808837890625, -0.034942626953125, -0.0052032470703125, -0.058319091796875, 0.02142333984375, -0.01049041748046875, 0.03399658203125, -0.00661468505859375, -0.03216552734375, 0.0035305023193359375, -0.0491943359375, -0.0181427001953125, 0.0286102294921875, -0.0017452239990234375, -0.0181884765625, -0.017333984375, 0.0352783203125, 0.023468017578125, 0.0080413818359375, 0.054290771484375, 0.0618896484375, -0.02777099609375, 0.000023126602172851562, 0.07293701171875, 0.006603240966796875, -0.016510009765625, 0.02020263671875, -0.02764892578125, -0.04400634765625, 0.01287078857421875, 0.021759033203125, 0.053314208984375, 0.006927490234375, 0.01554107666015625, 0.04034423828125, 0.0019092559814453125, -0.00009250640869140625, -0.004055023193359375, -0.01294708251953125, -0.0234832763671875, -0.0433349609375, -0.0018863677978515625, -0.03143310546875, 0.0291595458984375, -0.007343292236328125, -0.0215606689453125, 0.0013446807861328125, -0.0130462646484375, -0.007511138916015625, -0.0193328857421875, 0.005970001220703125, 0.0102081298828125, -0.00330352783203125, 0.03167724609375, 0.005641937255859375, 0.00739288330078125, -0.0171966552734375, -0.036956787109375, 0.004802703857421875, 0.014404296875, 0.00699615478515625, 0.058746337890625, 0.00348663330078125, 0.0251922607421875, 0.002471923828125, -0.017852783203125, 0.032257080078125, 0.0164031982421875, -0.0081787109375, 0.0183868408203125, -0.01166534423828125, 0.0007462501525878906, 0.0030651092529296875, 0.04107666015625, -0.01374053955078125, -0.0294342041015625, 0.0263671875, 0.021270751953125, -0.047088623046875, -0.0027561187744140625, -0.01763916015625, -0.0234832763671875, -0.01122283935546875, 0.04425048828125, 0.048126220703125, 0.0228424072265625, -0.01427459716796875, -0.01525115966796875, 0.055328369140625, -0.028778076171875, 0.01090240478515625, -0.009765625, -0.004093170166015625, -0.0135955810546875, 0.07037353515625, -0.0482177734375, 0.02685546875, -0.07220458984375, 0.014373779296875, 0.00632476806640625, -0.02392578125, -0.0279693603515625, -0.032928466796875, 0.02398681640625, 0.0129241943359375, -0.0340576171875, -0.03955078125, -0.0101318359375, 0.045745849609375, 0.0006771087646484375, 0.0174407958984375, -0.0022258758544921875, -0.035980224609375, 0.0167388916015625, 0.0157928466796875, -0.0458984375, 0.00756072998046875, 0.05816650390625, 0.0225372314453125, 0.060546875, 0.0025653839111328125, -0.0380859375, 0.006725311279296875, 0.047393798828125, -0.0279998779296875, -0.01233673095703125, -0.0031280517578125, 0.0001780986785888672, -0.023590087890625, -0.0229644775390625, 0.0462646484375, 0.0380859375, 0.048248291015625, 0.0187530517578125, 0.040924072265625, 0.01555633544921875, -0.0210113525390625, 0.040435791015625, 0.01959228515625, -0.024505615234375, 0.035064697265625, 0.01806640625, 0.0188446044921875, -0.006633758544921875, -0.01898193359375, 0.0266265869140625, -0.03192138671875, 0.005718231201171875, 0.01324462890625, -0.0011844635009765625, 0.02740478515625, 0.025543212890625, 0.01300048828125, -0.01537322998046875, -0.0273590087890625, -0.01678466796875, 0.032196044921875, 0.011566162109375, 0.0110015869140625, -0.0189971923828125, -0.01401519775390625, 0.01435089111328125, -0.058319091796875, -0.0770263671875, -0.01003265380859375, -0.0307464599609375, -0.01995849609375, -0.03790283203125, -0.006870269775390625, 0.0140380859375, -0.039306640625, -0.00635528564453125, 0.03936767578125, -0.0406494140625, -0.034027099609375, -0.059661865234375, -0.0958251953125, -0.054351806640625, 0.0157928466796875, 0.01158905029296875, -0.00693511962890625, 0.03289794921875, -0.01192474365234375, -0.03546142578125, -0.0233306884765625, 0.01155853271484375, 0.0101470947265625, -0.0003287792205810547, -0.0305023193359375, -0.0020847320556640625, -0.0019311904907226562, -0.0010013580322265625, -0.002902984619140625, 0.00031828880310058594, 0.005229949951171875, -0.0189361572265625, -0.056884765625, -0.06298828125, -0.052825927734375, 0.063720703125, 0.07757568359375, -0.09454345703125, -0.01122283935546875, -0.09979248046875, -0.0833740234375, -0.00695037841796875, -0.0880126953125, 0.03448486328125, 0.052154541015625, 0.004283905029296875, -0.040008544921875, 0.03826904296875, -0.002010345458984375, -0.01093292236328125, -0.00909423828125, -0.03948974609375, 0.0723876953125, 0.01861572265625, 0.0249786376953125, -0.006511688232421875, 0.031707763671875, -0.01148223876953125, 0.029632568359375, 0.0181884765625, -0.00011229515075683594, -0.02740478515625, 0.03497314453125, -0.042877197265625, -0.06573486328125, 0.0158538818359375, -0.0228424072265625, 0.035614013671875, -0.0214080810546875, -0.022735595703125, 0.00792694091796875, 0.09912109375, 0.002086639404296875, -0.027679443359375, -0.0106353759765625, 0.0210113525390625, -0.0162200927734375, -0.025421142578125, 0.0084228515625, -0.012298583984375, -0.0704345703125, 0.00010460615158081055, -0.0074005126953125, -0.034393310546875, 0.005977630615234375, -0.056365966796875, -0.0192413330078125, -0.044158935546875, 0.0268402099609375, 0.0204010009765625, -0.0091094970703125, 0.044097900390625, -0.03338623046875, 0.037841796875, -0.0149383544921875, -0.0182037353515625, -0.074951171875, -0.011444091796875, -0.0283660888671875, 0.040069580078125, -0.016204833984375, 0.03094482421875, -0.0252227783203125, 0.0280303955078125, 0.0167694091796875, 0.053314208984375, -0.021392822265625, -0.0284423828125, 0.03155517578125, -0.0117034912109375, -0.007495880126953125, -0.004810333251953125, -0.00739288330078125, 0.0272979736328125, -0.053131103515625, 0.0484619140625, 0.011627197265625, -0.010345458984375, 0.07330322265625, -0.056182861328125, -0.0009274482727050781, -0.03289794921875, 0.03704833984375, 0.032440185546875, 0.025848388671875, 0.001255035400390625, -0.0323486328125, 0.0238800048828125, 0.0430908203125, 0.0124664306640625, 0.018768310546875, 0.0108489990234375, 0.05889892578125, 0.00743865966796875, -0.02484130859375, -0.06170654296875, 0.016448974609375, 0.042510986328125, 0.01373291015625, -0.01416778564453125, -0.02691650390625, -0.04473876953125, 0.07061767578125, 0.003177642822265625, -0.0009055137634277344, 0.03564453125, 0.002750396728515625, 0.017547607421875, -0.01284027099609375, -0.007366180419921875, 0.02593994140625, -0.01055908203125, -0.00811767578125, 0.006282806396484375, 0.0260162353515625, 0.03363037109375, -0.034515380859375, 0.035308837890625, -0.06427001953125, 0.0011739730834960938, -0.03155517578125, -0.0012722015380859375, -0.034759521484375, 0.044219970703125, 0.007305145263671875, 0.0067596435546875, 0.007965087890625, 0.042510986328125, -0.01617431640625, -0.039947509765625, -0.01404571533203125, -0.0394287109375, 0.00003933906555175781, -0.01348114013671875, -0.0310516357421875, -0.0130615234375, -0.0098419189453125, 0.0665283203125, 0.03070068359375, -0.0265350341796875, -0.0270843505859375, -0.0015420913696289062, -0.00994110107421875, -0.017791748046875, 0.002079010009765625, 0.0277252197265625, 0.005130767822265625, 0.0022373199462890625, 0.0016641616821289062, 0.00720977783203125, -0.0173797607421875, -0.0338134765625, 0.03741455078125, 0.014068603515625, -0.026458740234375, 0.0231781005859375, -0.0428466796875, 0.0352783203125, -0.05059814453125, 0.002964019775390625, -0.015106201171875, -0.009613037109375, 0.017242431640625, 0.03466796875, -0.01018524169921875, 0.0191497802734375, -0.0275726318359375, 0.0401611328125, -0.04949951171875, -0.004673004150390625, 0.0220794677734375, 0.04351806640625, -0.02801513671875, -0.0321044921875, 0.024932861328125, -0.0026187896728515625, -0.01361846923828125, -0.024688720703125, -0.06671142578125, -0.0305938720703125, -0.01027679443359375, -0.0094757080078125, 0.005405426025390625, -0.0050201416015625, -0.0016889572143554688, -0.0289764404296875, -0.00968170166015625, 0.019744873046875, 0.0391845703125, -0.024993896484375, 0.0209808349609375, 0.0014944076538085938, 0.01092529296875, 0.0007171630859375, -0.0232696533203125, -0.031646728515625, -0.0295257568359375, -0.01355743408203125, -0.0039043426513671875, 0.027313232421875, -0.04949951171875, 0.0035610198974609375, -0.025726318359375, 0.01078033447265625, -0.045928955078125, 0.024688720703125, 0.019561767578125, 0.02532958984375, -0.06585693359375, 0.0198516845703125, -0.0570068359375, 0.0019588470458984375, -0.021453857421875, -0.034088134765625, -0.0228424072265625, -0.0199737548828125, 0.00365447998046875, 0.003437042236328125, -0.022979736328125, -0.02978515625, -0.051605224609375, 0.048492431640625, 0.05938720703125, 0.048065185546875, -0.056671142578125, 0.03619384765625, 0.04705810546875, -0.006870269775390625, 0.0003268718719482422, 0.02850341796875, 0.040740966796875, -0.007595062255859375, 0.0026912689208984375, -0.0219573974609375, -0.01690673828125, -0.02410888671875, 0.0152130126953125, 0.0300445556640625, 0.06842041015625, 0.00586700439453125, -0.003223419189453125, -0.025054931640625, 0.0027484893798828125, -0.019500732421875, 0.041412353515625, -0.0123443603515625, -0.01885986328125, 0.00626373291015625, 0.00040340423583984375, 0.0625, 0.0006914138793945312, 0.00408935546875, 0.01284027099609375, -0.036285400390625, 0.047027587890625, -0.004638671875, -0.00640869140625, 0.032989501953125, 0.0294189453125, -0.007411956787109375, 0.0228729248046875, 0.02313232421875, 0.0169525146484375, -0.0189208984375, 0.03826904296875, -0.031829833984375, -0.048431396484375, 0.03692626953125, 0.0261993408203125, -0.007480621337890625, 0.030120849609375, -0.012969970703125, 0.0010538101196289062, 0.06268310546875, 0.08538818359375, -0.060760498046875, -0.0044097900390625, 0.025970458984375, -0.006214141845703125, 0.0164947509765625, 0.001468658447265625, -0.006557464599609375, -0.024566650390625, 0.0321044921875, 0.0072174072265625, -0.0026378631591796875, 0.01515960693359375, 0.0054931640625, -0.0038509368896484375, -0.032470703125, 0.016876220703125, -0.001445770263671875, -0.08013916015625, -0.0011587142944335938, 0.064453125, -0.050018310546875, -0.00518035888671875, 0.0189208984375, -0.0283966064453125, -0.01422882080078125, -0.0079193115234375, -0.005786895751953125, -0.004093170166015625, -0.0166473388671875, 0.013916015625, 0.038726806640625, 0.0187835693359375, 0.01384735107421875, 0.00725555419921875, 0.01432037353515625, -0.036041259765625, 0.062347412109375, 0.051971435546875, -0.0186004638671875, 0.0305023193359375, 0.02972412109375, -0.023284912109375, 0.01309967041015625, 0.02874755859375, -0.040618896484375, -0.00951385498046875, -0.0240478515625, 0.0560302734375, -0.04229736328125, -0.006549835205078125, 0.03326416015625, -0.00841522216796875, -0.01354217529296875, 0.01378631591796875, 0.06298828125, -0.034912109375, 0.0279388427734375, 0.02935791015625, 0.036865234375, -0.045257568359375, 0.009429931640625, -0.0223236083984375, 0.0226593017578125, -0.02276611328125, -0.0038738250732421875, 0.056365966796875, 0.007236480712890625, -0.035797119140625, -0.0137939453125, -0.002674102783203125, 0.0277862548828125, -0.04132080078125, -0.0037555694580078125, -0.05352783203125, 0.0015468597412109375, -0.024383544921875, 0.026641845703125, 0.0297698974609375, -0.01126861572265625, 0.004673004150390625, 0.0091705322265625, 0.08026123046875, 0.048797607421875, 0.01873779296875, 0.0081024169921875, -0.0172882080078125, -0.0540771484375, -0.0218505859375, 0.03851318359375, 0.03765869140625, -0.031890869140625, -0.051666259765625, -0.0014591217041015625, 0.00841522216796875, 0.0015993118286132812, 0.042694091796875, -0.047882080078125, -0.044158935546875, 0.0270843505859375, 0.020416259765625, 0.0015201568603515625, -0.006053924560546875, 0.0340576171875, 0.0233917236328125, -0.025054931640625, -0.0302276611328125, -0.01468658447265625, 0.048187255859375, 0.00042128562927246094, -0.0036106109619140625, -0.0230712890625, 0.0033779144287109375, 0.0304107666015625, -0.007686614990234375, -0.0121002197265625, 0.052154541015625, -0.0227813720703125, 0.03448486328125, 0.01467132568359375, 0.03863525390625, -0.0233917236328125, -0.0061187744140625, -0.03875732421875, 0.027862548828125, -0.0250091552734375, -0.031280517578125, 0.0107879638671875, 0.0159912109375, 0.0015621185302734375, 0.0079498291015625, 0.0244598388671875, -0.017333984375, 0.003620147705078125, -0.020782470703125, -0.00579833984375, 0.029052734375, -0.0020904541015625, 0.00687408447265625, 0.051300048828125, -0.01462554931640625, 0.01239776611328125, -0.0214385986328125, 0.0118865966796875, 0.00534820556640625, 0.03546142578125, -0.000057756900787353516, 0.0221405029296875, -0.03387451171875, -0.00534820556640625, -0.029754638671875, 0.036651611328125, 0.0256195068359375, 0.025482177734375, -0.0182952880859375, -0.00310516357421875, 0.048828125, 0.0226593017578125, -0.0276031494140625, -0.03515625, 0.023529052734375, 0.0274658203125, -0.061126708984375, -0.0328369140625, -0.0261383056640625, -0.031341552734375, -0.00937652587890625, -0.031768798828125, -0.00717926025390625, 0.015350341796875, -0.00923919677734375, 0.01172637939453125, -0.00588226318359375, 0.0396728515625, -0.0041351318359375, -0.0133209228515625, 0.00794219970703125, -0.034515380859375, -0.02886962890625, -0.0242462158203125, -0.0323486328125, 0.005462646484375, 0.01690673828125, -0.00421142578125, -0.0160064697265625, 0.0233612060546875, -0.007503509521484375, 0.026214599609375, 0.025482177734375, 0.0102386474609375, 0.0027179718017578125, -0.0295257568359375, 0.0178070068359375, -0.01264190673828125, 0.0237274169921875, 0.033355712890625, -0.01030731201171875, 0.010650634765625, -0.04302978515625, -0.041351318359375, -0.02032470703125, 0.050079345703125, -0.0169830322265625, 0.11749267578125, -0.042999267578125, 0.004398345947265625, 0.0031185150146484375, 0.0120849609375, -0.01251983642578125, -0.010589599609375, 0.011505126953125, -0.00945281982421875, 0.013427734375, -0.003009796142578125, -0.12396240234375, 0.004665374755859375, 0.0160064697265625, -0.00847625732421875, 0.0258941650390625, 0.00656890869140625, 0.01371002197265625, -0.0094451904296875, 0.00846099853515625, -0.0283660888671875, -0.06927490234375, -0.04034423828125, 0.026031494140625, 0.0007472038269042969, 0.027191162109375, -0.01189422607421875, 0.015594482421875, -0.01812744140625, -0.06170654296875, 0.041656494140625, -0.07647705078125, 0.0447998046875, 0.0245819091796875, 0.0184326171875, -0.06488037109375, 0.0160980224609375, -0.00879669189453125, 0.039154052734375, -0.01334381103515625, 0.089111328125, 0.0213165283203125, -0.0274810791015625, 0.051361083984375, 0.061248779296875, 0.03143310546875, -0.0400390625, -0.0045013427734375, 0.08941650390625, -0.026336669921875, 0.01512908935546875, -0.008758544921875, -0.00490570068359375, -0.016693115234375, -0.0222015380859375, 0.01515960693359375, -0.0161895751953125, -0.011260986328125, -0.028167724609375, 0.036468505859375, -0.0010271072387695312, -0.0438232421875, 0.0014410018920898438, -0.0268707275390625, -0.032928466796875, 0.09295654296875, -0.05987548828125, 0.00992584228515625, 0.00559234619140625, 0.01251983642578125, -0.0173797607421875, -0.0066375732421875, -0.0196685791015625, 0.008392333984375, -0.006137847900390625, 0.002925872802734375, 0.024749755859375, 0.0004725456237792969, 0.03143310546875, -0.006099700927734375, -0.003692626953125, 0.0579833984375, -0.0279388427734375, -0.0059356689453125, 0.061126708984375, -0.02679443359375, -0.0565185546875, -0.083984375, 0.005992889404296875, -0.07525634765625, -0.01221466064453125, -0.0654296875, -0.01078033447265625, -0.029571533203125, -0.046600341796875, -0.022491455078125, 0.0421142578125, 0.003902435302734375, -0.01461029052734375, -0.026702880859375, -0.0042266845703125, -0.0173797607421875, 0.006805419921875, 0.00046443939208984375, -0.03656005859375, 0.0071563720703125, 0.03729248046875, -0.0024871826171875, 0.029937744140625, 0.0056304931640625, -0.018280029296875, -0.03204345703125, -0.0035762786865234375, -0.0004475116729736328, 0.0114593505859375, -0.0321044921875, 0.01117706298828125, -0.00688934326171875, 0.032501220703125, -0.004024505615234375, -0.03240966796875, 0.0318603515625, -0.022003173828125, -0.0179290771484375, -0.01230621337890625, -0.01441192626953125, -0.035430908203125, 0.04833984375, 0.0279998779296875, 0.0004508495330810547, 0.01690673828125, -0.0526123046875, -0.0171356201171875, -0.01529693603515625, -0.0016765594482421875, 0.029632568359375, -0.06439208984375, -0.0016412734985351562, 0.0032806396484375, 0.0013799667358398438, 0.007537841796875, -0.045623779296875, -0.0309295654296875, -0.00965118408203125, -0.060821533203125, -0.00029468536376953125, -0.0259857177734375, -0.0455322265625, 0.04888916015625, -0.01337432861328125, 0.026519775390625, 0.0020961761474609375, 0.044464111328125, 0.031890869140625, 0.039581298828125, -0.00457763671875, 0.0122222900390625, -0.071044921875, 0.00698089599609375, -0.017181396484375, 0.058563232421875, -0.0523681640625, -0.01611328125, 0.0153045654296875, -0.009246826171875, -0.03985595703125, -0.03118896484375, 0.051971435546875, -0.01641845703125, -0.03900146484375, 0.06591796875, 0.0179595947265625, -0.0421142578125, -0.0212249755859375, 0.043060302734375, 0.007717132568359375, -0.0274505615234375, 0.0181732177734375, -0.048309326171875, 0.006336212158203125, 0.009002685546875, 0.0191802978515625, -0.035614013671875, 0.03759765625, 0.018218994140625, 0.0164947509765625, 0.01812744140625 ]
1b435921cd47e350e2e8bc202dcbb6cd22ee238e
Wordpress Stackexchange Q: How to retrieve current page WP_Query arguments? Context I'm developping a plugin showing geolocated posts on a leaflet map. I want to add a shortcode parameter to show a map with only the current loop posts' markers. That feature would be great on the search result page for exemple! Question Is there a way to get the current page WP_Query arguments? I want to get those arguments to create a new WP_Query and add some more to filter only geolocated posts. I don't know if it's possible at all, I always create new WP_query objects from scratch. Thank you! A: Have you tried using $wp_query ? global $wp_query; var_dump($wp_query->query_vars); For a single variable, you can use get_query_var Or you could try just dumping the $_POST , var_dump( $_POST ); Or maybe var_dump( $GLOBALS['post'] );
Q: How to retrieve current page WP_Query arguments? Context I'm developping a plugin showing geolocated posts on a leaflet map. I want to add a shortcode parameter to show a map with only the current loop posts' markers. That feature would be great on the search result page for exemple! Question Is there a way to get the current page WP_Query arguments? I want to get those arguments to create a new WP_Query and add some more to filter only geolocated posts. I don't know if it's possible at all, I always create new WP_query objects from scratch. Thank you! A: Have you tried using $wp_query ? global $wp_query; var_dump($wp_query->query_vars); For a single variable, you can use get_query_var Or you could try just dumping the $_POST , var_dump( $_POST ); Or maybe var_dump( $GLOBALS['post'] ); A: I believe you can use rewind_posts() to get the posts from the current query, then amend from there: https://developer.wordpress.org/reference/functions/rewind_posts/ This article has a good explanation of rewind_posts(), differentiating it from wp_reset_postdata() and wp_reset_query() : https://digwp.com/2011/09/3-ways-to-reset-the-wordpress-loop/ A: Another alternative is to get it from the query args directly. You can access all of the $args this way. $query = new WP_Query( $args ); // paged $paged_arg = $query->query['paged'];
wordpress
{ "language": "en", "length": 203, "provenance": "stackexchange_00019.jsonl.gz:503907", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/368342" }
[ 0.05010986328125, -0.02520751953125, 0.01202392578125, -0.0207977294921875, -0.0087432861328125, -0.017242431640625, 0.0355224609375, 0.00556182861328125, 0.007083892822265625, 0.0160064697265625, 0.004119873046875, -0.0009694099426269531, -0.0195770263671875, -0.040130615234375, 0.004543304443359375, -0.0018253326416015625, 0.05157470703125, -0.0469970703125, -0.00643157958984375, -0.00740814208984375, 0.005794525146484375, 0.0227203369140625, 0.0013284683227539062, 0.09716796875, 0.01123809814453125, -0.0226898193359375, 0.046478271484375, 0.0045928955078125, 0.00208282470703125, -0.0011243820190429688, 0.006267547607421875, -0.00568389892578125, 0.0220489501953125, 0.0212249755859375, -0.00873565673828125, 0.0184783935546875, 0.005340576171875, 0.0016279220581054688, 0.0157928466796875, 0.0116119384765625, 0.0205230712890625, -0.0163421630859375, -0.049102783203125, 0.01116180419921875, -0.0513916015625, -0.0362548828125, 0.0252532958984375, 0.016571044921875, -0.01123809814453125, 0.054290771484375, 0.0185394287109375, 0.04144287109375, 0.0258331298828125, 0.00107574462890625, -0.0004215240478515625, -0.0168304443359375, -0.006771087646484375, -0.0171966552734375, 0.022369384765625, -0.0245819091796875, -0.01507568359375, -0.00875091552734375, 0.04266357421875, 0.015960693359375, 0.00445556640625, 0.00548553466796875, 0.0374755859375, 0.0296630859375, -0.062347412109375, -0.031005859375, 0.01904296875, -0.01364898681640625, -0.01146697998046875, 0.050384521484375, -0.00833892822265625, -0.07568359375, 0.036529541015625, -0.01282501220703125, -0.00856781005859375, 0.058990478515625, -0.0078277587890625, -0.0110015869140625, -0.096923828125, 0.0478515625, -0.0279541015625, 0.03912353515625, -0.01050567626953125, -0.0183868408203125, -0.036956787109375, -0.038604736328125, -0.0204315185546875, -0.0080413818359375, -0.039337158203125, -0.0411376953125, -0.03277587890625, -0.043731689453125, 0.00762176513671875, 0.04217529296875, -0.027008056640625, 0.018890380859375, -0.046630859375, -0.01111602783203125, 0.0080718994140625, -0.0369873046875, 0.01204681396484375, 0.06829833984375, 0.0295867919921875, 0.035125732421875, 0.031494140625, -0.0185394287109375, 0.0237579345703125, 0.00800323486328125, -0.030853271484375, -0.005886077880859375, -0.0222625732421875, 0.038116455078125, -0.0209503173828125, -0.0293121337890625, -0.00812530517578125, -0.01410675048828125, -0.015472412109375, -0.00044465065002441406, -0.0010585784912109375, 0.01284027099609375, 0.03515625, 0.0177459716796875, -0.01213836669921875, 0.0022602081298828125, -0.00007444620132446289, 0.0380859375, -0.02020263671875, -0.0096282958984375, 0.0012483596801757812, 0.023040771484375, 0.0008296966552734375, -0.0274200439453125, 0.0184326171875, -0.041168212890625, 0.01102447509765625, 0.01122283935546875, 0.008544921875, -0.0343017578125, -0.0050811767578125, -0.01319122314453125, 0.01168060302734375, -0.0063934326171875, 0.0264892578125, 0.043548583984375, -0.01515960693359375, -0.0174407958984375, 0.02410888671875, 0.0225067138671875, 0.03857421875, 0.0004858970642089844, -0.0299224853515625, -0.01947021484375, 0.039459228515625, -0.0478515625, -0.01343536376953125, -0.060546875, 0.019195556640625, 0.01007080078125, 0.0243377685546875, -0.0304718017578125, -0.050262451171875, -0.03277587890625, -0.061279296875, -0.01319122314453125, 0.01169586181640625, 0.060943603515625, -0.0049896240234375, -0.0182952880859375, 0.01267242431640625, 0.007244110107421875, -0.02532958984375, -0.016571044921875, -0.0130157470703125, 0.0257720947265625, 0.039093017578125, -0.0157318115234375, -0.032135009765625, -0.048126220703125, 0.0682373046875, -0.02203369140625, -0.03021240234375, 0.062347412109375, 0.016143798828125, 0.03216552734375, -0.046600341796875, 0.01120758056640625, 0.05126953125, 0.058013916015625, -0.048919677734375, 0.051971435546875, 0.007167816162109375, -0.0145263671875, -0.0269317626953125, 0.0154266357421875, -0.0209197998046875, -0.0404052734375, -0.0016202926635742188, -0.006328582763671875, 0.006717681884765625, -0.00917816162109375, -0.04248046875, 0.00348663330078125, -0.0189056396484375, 0.0450439453125, 0.0176849365234375, 0.003467559814453125, 0.0008311271667480469, -0.00782012939453125, -0.0208892822265625, 0.01000213623046875, -0.036346435546875, 0.01418304443359375, -0.026702880859375, 0.010009765625, -0.004638671875, 0.0146636962890625, 0.0043487548828125, -0.018768310546875, -0.013427734375, 0.00908660888671875, 0.04412841796875, -0.017120361328125, -0.0048828125, -0.031585693359375, 0.0538330078125, -0.01117706298828125, 0.0140838623046875, 0.0088653564453125, -0.0177764892578125, 0.04962158203125, 0.0035037994384765625, -0.0144805908203125, -0.004520416259765625, -0.0243377685546875, 0.032867431640625, 0.0212554931640625, 0.045806884765625, 0.0635986328125, 0.0301666259765625, -0.0007920265197753906, 0.06182861328125, -0.03704833984375, 0.020050048828125, -0.0297393798828125, 0.041748046875, 0.0302734375, 0.0008969306945800781, -0.037445068359375, 0.0340576171875, 0.0051116943359375, 0.033203125, 0.0236968994140625, -0.01332855224609375, 0.006011962890625, -0.006305694580078125, -0.000850677490234375, -0.0120391845703125, -0.0271759033203125, 0.0102386474609375, -0.02630615234375, 0.029083251953125, 0.01560211181640625, 0.0207366943359375, 0.0328369140625, -0.01119232177734375, 0.013031005859375, 0.00933837890625, -0.0164947509765625, 0.0020542144775390625, 0.0039215087890625, -0.05279541015625, 0.01480865478515625, 0.0040740966796875, 0.00818634033203125, -0.005649566650390625, -0.01453399658203125, -0.006275177001953125, 0.0166168212890625, -0.046417236328125, -0.01134490966796875, -0.0299835205078125, -0.0382080078125, 0.0076446533203125, 0.040618896484375, 0.037506103515625, -0.01837158203125, 0.0193634033203125, -0.0247650146484375, -0.06964111328125, 0.08575439453125, -0.0160064697265625, -0.058197021484375, 0.04962158203125, -0.05682373046875, 0.050689697265625, -0.009033203125, 0.0555419921875, 0.07635498046875, -0.0040740966796875, 0.0189361572265625, -0.009063720703125, 0.0028324127197265625, -0.0088043212890625, -0.006343841552734375, -0.01245880126953125, -0.0069732666015625, -0.022216796875, 0.048248291015625, 0.01070404052734375, 0.01222991943359375, -0.0240631103515625, -0.042938232421875, -0.0305023193359375, -0.0088348388671875, -0.10137939453125, -0.066162109375, 0.0318603515625, -0.052093505859375, 0.0181732177734375, -0.0074310302734375, -0.01690673828125, -0.02081298828125, 0.0311126708984375, -0.00524139404296875, -0.0016069412231445312, -0.034088134765625, -0.10638427734375, -0.0682373046875, -0.08319091796875, 0.0162200927734375, -0.027374267578125, 0.00629425048828125, -0.002593994140625, 0.0616455078125, 0.0199432373046875, -0.0294952392578125, -0.0006618499755859375, 0.0140380859375, -0.0226593017578125, -0.03411865234375, -0.04052734375, 0.0021514892578125, 0.04852294921875, -0.01678466796875, 0.01739501953125, 0.046112060546875, -0.005489349365234375, 0.00797271728515625, 0.015106201171875, 0.0184783935546875, 0.0157928466796875, -0.0166778564453125, -0.0288848876953125, 0.0188751220703125, 0.0051116943359375, -0.045623779296875, -0.0260467529296875, -0.014984130859375, -0.05462646484375, -0.027008056640625, 0.0107421875, 0.00841522216796875, -0.00263214111328125, -0.00555419921875, 0.0631103515625, 0.00852203369140625, 0.034759521484375, 0.010345458984375, 0.027252197265625, 0.014404296875, 0.04180908203125, -0.04669189453125, 0.0165557861328125, -0.032012939453125, 0.05902099609375, 0.023651123046875, 0.007556915283203125, 0.0226898193359375, -0.02813720703125, 0.0205841064453125, -0.019775390625, 0.044708251953125, 0.01617431640625, -0.0045318603515625, 0.0029163360595703125, -0.024810791015625, -0.006122589111328125, 0.05224609375, -0.02069091796875, -0.02423095703125, -0.00218963623046875, 0.00949859619140625, -0.041229248046875, -0.051483154296875, -0.0102691650390625, -0.019256591796875, -0.05914306640625, -0.0161895751953125, -0.042327880859375, -0.005474090576171875, -0.01212310791015625, -0.0038585662841796875, -0.0322265625, -0.046630859375, 0.042510986328125, -0.0305023193359375, -0.017669677734375, 0.023712158203125, -0.040679931640625, -0.0101776123046875, -0.0362548828125, 0.0014142990112304688, -0.068603515625, -0.0291748046875, 0.043426513671875, 0.064453125, -0.0062255859375, -0.055267333984375, -0.0194244384765625, 0.05169677734375, -0.004047393798828125, -0.00920867919921875, 0.0401611328125, 0.0181732177734375, 0.0249176025390625, 0.01312255859375, 0.0174102783203125, -0.0277862548828125, 0.0234375, 0.003704071044921875, -0.0137786865234375, -0.0487060546875, -0.07342529296875, -0.068603515625, -0.0225830078125, -0.0428466796875, -0.053924560546875, -0.04302978515625, 0.0018568038940429688, 0.02044677734375, -0.03155517578125, 0.02313232421875, -0.00765228271484375, -0.03302001953125, 0.0794677734375, 0.0081939697265625, -0.031097412109375, -0.004009246826171875, 0.06591796875, 0.00765228271484375, -0.03558349609375, -0.054595947265625, -0.0300445556640625, 0.0004324913024902344, -0.022064208984375, 0.08587646484375, 0.027984619140625, 0.01180267333984375, 0.029022216796875, -0.0155487060546875, 0.0169219970703125, -0.0232391357421875, 0.032501220703125, 0.0082244873046875, 0.01561737060546875, -0.00754547119140625, 0.01506805419921875, -0.0035762786865234375, 0.0361328125, -0.045074462890625, -0.01461029052734375, -0.00439453125, 0.031524658203125, -0.05426025390625, 0.05621337890625, -0.020660400390625, -0.0469970703125, 0.00821685791015625, -0.00370025634765625, 0.0213775634765625, 0.014434814453125, -0.00716400146484375, 0.040496826171875, 0.049102783203125, 0.0094146728515625, 0.05621337890625, 0.06011962890625, 0.010986328125, 0.06884765625, 0.00624847412109375, 0.0098114013671875, 0.01123809814453125, 0.007465362548828125, 0.036590576171875, -0.02642822265625, -0.03277587890625, -0.001987457275390625, -0.0233612060546875, -0.04473876953125, 0.011016845703125, 0.0185394287109375, 0.02520751953125, 0.041351318359375, 0.00933837890625, -0.007175445556640625, 0.02117919921875, 0.018829345703125, -0.01371002197265625, -0.01544952392578125, -0.02252197265625, 0.0035114288330078125, -0.01551055908203125, 0.082763671875, -0.05133056640625, 0.056488037109375, -0.01190948486328125, -0.037353515625, -0.040191650390625, 0.0297393798828125, 0.0110321044921875, -0.0024127960205078125, 0.034515380859375, 0.0036106109619140625, 0.0631103515625, -0.0014858245849609375, 0.0214080810546875, -0.0022869110107421875, -0.0023784637451171875, -0.04132080078125, -0.024017333984375, 0.037109375, -0.0227813720703125, -0.018829345703125, 0.0292816162109375, 0.0240478515625, -0.042755126953125, -0.026885986328125, -0.011444091796875, 0.03912353515625, -0.002864837646484375, 0.00591278076171875, 0.0101165771484375, -0.0028820037841796875, 0.029388427734375, 0.0081329345703125, 0.012725830078125, -0.012115478515625, -0.012969970703125, -0.029144287109375, -0.023193359375, 0.0076751708984375, -0.043060302734375, 0.00878143310546875, -0.033538818359375, -0.0265045166015625, 0.031982421875, 0.0225982666015625, 0.047088623046875, -0.04119873046875, -0.035369873046875, 0.025787353515625, -0.021392822265625, 0.0655517578125, 0.00026488304138183594, 0.01415252685546875, -0.007595062255859375, -0.06671142578125, -0.03533935546875, 0.023406982421875, -0.0241546630859375, -0.0250396728515625, -0.032196044921875, 0.0167694091796875, 0.05389404296875, 0.00043654441833496094, 0.01393890380859375, -0.0305938720703125, 0.005023956298828125, -0.0003142356872558594, 0.0911865234375, -0.0003197193145751953, 0.050628662109375, -0.0179901123046875, 0.050323486328125, -0.0017375946044921875, -0.0017108917236328125, -0.038116455078125, -0.01320648193359375, 0.0225830078125, -0.039459228515625, -0.03729248046875, -0.019683837890625, -0.0198822021484375, 0.005146026611328125, 0.01305389404296875, -0.0080108642578125, 0.0343017578125, -0.0086517333984375, 0.02276611328125, -0.027740478515625, -0.0043182373046875, -0.035797119140625, -0.01190948486328125, 0.03619384765625, -0.0303802490234375, -0.019805908203125, -0.00336456298828125, 0.0338134765625, -0.0305938720703125, -0.01535797119140625, -0.023101806640625, 0.0013456344604492188, -0.0205078125, 0.0211639404296875, 0.130126953125, -0.0155181884765625, 0.07379150390625, 0.023529052734375, 0.01442718505859375, 0.06793212890625, 0.0219573974609375, -0.029754638671875, 0.0014781951904296875, 0.06146240234375, 0.0198822021484375, -0.00965118408203125, 0.039215087890625, -0.013153076171875, 0.004657745361328125, -0.0406494140625, 0.0014905929565429688, -0.0176544189453125, 0.045013427734375, 0.021728515625, 0.0062408447265625, -0.0093841552734375, 0.017669677734375, 0.00395965576171875, -0.0135650634765625, 0.0008554458618164062, 0.00838470458984375, -0.018310546875, 0.006988525390625, 0.0032958984375, -0.006710052490234375, -0.04180908203125, 0.059234619140625, 0.0052490234375, -0.03179931640625, 0.0269012451171875, 0.0127410888671875, -0.00423431396484375, -0.0133056640625, 0.00859832763671875, -0.014984130859375, -0.017333984375, -0.040740966796875, 0.00351715087890625, -0.0204315185546875, -0.00379180908203125, -0.01568603515625, 0.0186614990234375, 0.023590087890625, 0.0472412109375, -0.0134735107421875, 0.001987457275390625, 0.040191650390625, -0.0283660888671875, 0.0026302337646484375, -0.042510986328125, 0.007678985595703125, 0.0221405029296875, -0.04827880859375, 0.02020263671875, -0.01031494140625, -0.026092529296875, 0.00110626220703125, -0.002017974853515625, 0.031524658203125, -0.040863037109375, -0.005962371826171875, 0.03814697265625, 0.0168304443359375, -0.00969696044921875, -0.0223846435546875, -0.03155517578125, -0.033966064453125, -0.02056884765625, -0.03814697265625, -0.0261383056640625, 0.0164642333984375, -0.035186767578125, -0.05364990234375, 0.0882568359375, -0.025848388671875, 0.035003662109375, 0.052276611328125, 0.024078369140625, -0.041534423828125, -0.003276824951171875, -0.039398193359375, 0.058563232421875, 0.012359619140625, 0.09088134765625, -0.045440673828125, -0.018341064453125, 0.048492431640625, 0.04522705078125, 0.043365478515625, 0.01377105712890625, 0.006473541259765625, 0.00583648681640625, 0.0533447265625, 0.011383056640625, -0.0166778564453125, 0.0257720947265625, 0.0418701171875, 0.050811767578125, 0.0792236328125, -0.037506103515625, 0.040863037109375, -0.0268707275390625, 0.043853759765625, 0.047637939453125, -0.0013475418090820312, -0.0110626220703125, -0.00485992431640625, 0.027587890625, -0.0146484375, -0.007904052734375, 0.0161285400390625, -0.050811767578125, 0.01611328125, 0.058441162109375, 0.02789306640625, -0.0174560546875, -0.043701171875, -0.0224151611328125, 0.0281982421875, -0.01397705078125, -0.00119781494140625, 0.05316162109375, 0.0183868408203125, 0.0255584716796875, -0.003108978271484375, 0.0098419189453125, 0.0015850067138671875, 0.0095367431640625, 0.0843505859375, 0.021026611328125, 0.021331787109375, -0.03619384765625, 0.07098388671875, 0.0258331298828125, 0.0740966796875, -0.07098388671875, -0.033233642578125, 0.0177154541015625, -0.0233917236328125, -0.02001953125, 0.0062255859375, 0.00896453857421875, 0.0531005859375, 0.047515869140625, -0.0284423828125, -0.0186767578125, 0.0017824172973632812, 0.007293701171875, -0.017303466796875, -0.0228118896484375, 0.0216064453125, -0.023956298828125, -0.00865936279296875, -0.0531005859375, 0.007244110107421875, 0.0462646484375, 0.03839111328125, 0.003509521484375, -0.030181884765625, -0.0243682861328125, -0.005138397216796875, 0.0222320556640625, -0.038909912109375, 0.0225067138671875, -0.019012451171875, -0.0255584716796875, -0.03277587890625, 0.0238800048828125, 0.050018310546875, 0.0099945068359375, 0.02789306640625, -0.007213592529296875, -0.0208587646484375, 0.0102386474609375, 0.03643798828125, -0.005672454833984375, 0.0052032470703125, -0.01114654541015625, 0.0099029541015625, 0.0028247833251953125, -0.00841522216796875, -0.023284912109375, 0.0292510986328125, 0.0113983154296875, -0.01412200927734375, 0.0095367431640625, -0.002712249755859375, -0.00689697265625, 0.05035400390625, -0.023895263671875, 0.01558685302734375, -0.0142974853515625, -0.08074951171875, 0.01349639892578125, -0.0799560546875, -0.03839111328125, 0.03253173828125, 0.030181884765625, 0.002376556396484375, 0.002521514892578125, -0.0019550323486328125, -0.0241851806640625, 0.0020503997802734375, 0.0071563720703125, 0.035186767578125, 0.00482177734375, -0.0074005126953125, 0.0003669261932373047, -0.06866455078125, -0.0211181640625, -0.0101470947265625, -0.018646240234375, 0.01184844970703125, 0.0224151611328125, 0.0430908203125, -0.007129669189453125, 0.0357666015625, -0.007556915283203125, -0.0019683837890625, 0.00846099853515625, 0.03759765625, -0.034149169921875, 0.0011148452758789062, -0.0011148452758789062, -0.0021343231201171875, 0.005306243896484375, 0.0257720947265625, -0.03253173828125, -0.022216796875, -0.00856781005859375, 0.0196533203125, 0.01369476318359375, 0.0362548828125, -0.0243988037109375, 0.00799560546875, 0.03472900390625, -0.01416015625, 0.0092620849609375, -0.0171661376953125, 0.004474639892578125, 0.0164794921875, 0.01328277587890625, -0.042083740234375, 0.049285888671875, -0.035919189453125, 0.0675048828125, 0.041290283203125, -0.01331329345703125, 0.07025146484375, 0.007152557373046875, -0.032318115234375, 0.034515380859375, 0.01169586181640625, -0.03369140625, 0.007778167724609375, 0.014190673828125, -0.028594970703125, -0.07672119140625, 0.0025691986083984375, -0.00930023193359375, -0.0188446044921875, -0.0513916015625, 0.0228729248046875, -0.034393310546875, -0.03948974609375, -0.031768798828125, -0.04412841796875, 0.008758544921875, 0.0237884521484375, -0.0084075927734375, -0.0194854736328125, -0.022125244140625, -0.044158935546875, 0.0183563232421875, 0.01436614990234375, -0.042633056640625, 0.025482177734375, 0.00756072998046875, -0.02301025390625, -0.0031108856201171875, -0.00038743019104003906, -0.00988006591796875, -0.02239990234375, -0.036712646484375, 0.00998687744140625, -0.02587890625, -0.009765625, 0.0245513916015625, 0.00238037109375, 0.005462646484375, -0.002712249755859375, -0.0001735687255859375, 0.043670654296875, -0.0028057098388671875, 0.07818603515625, -0.01544189453125, -0.0137481689453125, 0.0345458984375, 0.0178985595703125, -0.028411865234375, -0.053985595703125, 0.00311279296875, -0.041900634765625, 0.05694580078125, -0.004932403564453125, -0.0018548965454101562, 0.02105712890625, -0.0185546875, -0.0274658203125, 0.0185089111328125, 0.002101898193359375, -0.02642822265625, -0.00627899169921875, 0.0362548828125, 0.02001953125, -0.0660400390625, -0.005523681640625, -0.039794921875, -0.012298583984375, -0.02288818359375, 0.0328369140625, 0.04571533203125, 0.0247344970703125, 0.01004791259765625, -0.0782470703125, -0.007419586181640625, -0.046630859375, 0.06573486328125, 0.0158538818359375, 0.01055145263671875, 0.0018749237060546875, 0.036163330078125, -0.027008056640625, -0.0138092041015625, -0.0312042236328125, -0.0261688232421875, -0.01300811767578125, 0.01092529296875, -0.0272369384765625, 0.01314544677734375, 0.058929443359375, 0.07000732421875, 0.014678955078125, -0.0260772705078125, -0.050048828125, -0.02130126953125, 0.022918701171875, -0.00811004638671875, 0.0091400146484375, -0.059967041015625, 0.002716064453125, 0.005680084228515625, 0.0151824951171875, -0.019439697265625, -0.024871826171875, -0.014404296875, -0.0181732177734375, -0.007076263427734375, 0.01029205322265625, -0.0267333984375, -0.0068511962890625, 0.01276397705078125, -0.0203857421875, -0.01047515869140625, -0.0000718235969543457, 0.0146942138671875, -0.00370025634765625, 0.00563812255859375, 0.0133514404296875, 0.0584716796875, -0.04150390625, -0.006092071533203125, 0.0299072265625, -0.0065460205078125, 0.00868988037109375, -0.0028896331787109375, 0.0004863739013671875, 0.0250396728515625, 0.00543975830078125, 0.0301666259765625, -0.0176544189453125, 0.025146484375, 0.00304412841796875, 0.008026123046875, -0.002262115478515625, 0.0139312744140625, -0.0062255859375, 0.034027099609375, 0.0017337799072265625, -0.0233001708984375, 0.049285888671875, -0.07452392578125, -0.01261138916015625, -0.00909423828125, -0.0298309326171875, -0.048492431640625, -0.0018291473388671875, 0.0261383056640625, 0.0005555152893066406, 0.0196075439453125 ]
4d1d56fed7290c371572a9cf270b180a39fbe9ab
Wordpress Stackexchange Q: Disabling the X-Redirect-By response header Is there a clean way to not have WordPress send the X-Redirect-By response header when redirects happen? I'd like to disable it in order not to expose information about our software stack. Something I can hook into functions.php perhaps? A: This line added to functions.php (ideally in a child theme, or a plugin) will remove it: add_filter( 'x_redirect_by', '__return_false' );
Q: Disabling the X-Redirect-By response header Is there a clean way to not have WordPress send the X-Redirect-By response header when redirects happen? I'd like to disable it in order not to expose information about our software stack. Something I can hook into functions.php perhaps? A: This line added to functions.php (ideally in a child theme, or a plugin) will remove it: add_filter( 'x_redirect_by', '__return_false' );
wordpress
{ "language": "en", "length": 66, "provenance": "stackexchange_00019.jsonl.gz:503962", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/368594" }
[ 0.07513427734375, 0.0199127197265625, 0.01015472412109375, 0.003612518310546875, 0.0206298828125, -0.042327880859375, 0.06903076171875, -0.041290283203125, -0.01128387451171875, 0.04815673828125, 0.01000213623046875, -0.0030670166015625, 0.0171966552734375, -0.023895263671875, -0.01149749755859375, -0.01250457763671875, 0.0214385986328125, 0.0009388923645019531, 0.03607177734375, -0.0038852691650390625, 0.0056304931640625, 0.0237274169921875, 0.0232696533203125, 0.02197265625, -0.033203125, 0.017608642578125, 0.08319091796875, -0.031707763671875, -0.01442718505859375, -0.0236968994140625, -0.007068634033203125, 0.0080108642578125, 0.007442474365234375, 0.08514404296875, -0.1068115234375, -0.0404052734375, -0.018890380859375, 0.037353515625, 0.01125335693359375, -0.0025653839111328125, 0.0178680419921875, -0.022003173828125, 0.0178375244140625, -0.01983642578125, -0.0124053955078125, -0.0092315673828125, 0.0335693359375, -0.028533935546875, 0.024810791015625, 0.038665771484375, -0.00833892822265625, 0.0294189453125, 0.006069183349609375, -0.01629638671875, -0.01247406005859375, -0.034423828125, -0.014892578125, 0.05242919921875, 0.00037860870361328125, -0.009124755859375, -0.0187835693359375, 0.050018310546875, -0.00225067138671875, 0.002712249755859375, 0.005229949951171875, -0.00460052490234375, -0.03692626953125, 0.0265960693359375, -0.0943603515625, 0.01215362548828125, 0.068603515625, -0.08837890625, 0.0009751319885253906, -0.0035724639892578125, -0.019012451171875, -0.03118896484375, 0.028411865234375, -0.037384033203125, 0.0149383544921875, -0.0028057098388671875, 0.01171112060546875, -0.029754638671875, -0.0469970703125, -0.0273895263671875, 0.03924560546875, 0.017822265625, 0.0006465911865234375, -0.022247314453125, -0.025054931640625, -0.04278564453125, -0.039459228515625, -0.0109405517578125, -0.0242462158203125, -0.01175689697265625, -0.039215087890625, -0.0038013458251953125, 0.00855255126953125, 0.01279449462890625, -0.02349853515625, -0.01470947265625, -0.004283905029296875, -0.01357269287109375, -0.0079345703125, -0.0121307373046875, -0.021392822265625, 0.0311431884765625, 0.019775390625, -0.0179901123046875, -0.007205963134765625, 0.019256591796875, -0.0011148452758789062, -0.016632080078125, -0.010528564453125, -0.0022125244140625, -0.03387451171875, 0.0196075439453125, -0.0303955078125, 0.006015777587890625, -0.01055908203125, 0.024078369140625, 0.0011272430419921875, 0.01526641845703125, 0.038787841796875, -0.0035686492919921875, 0.0034503936767578125, 0.00948333740234375, -0.01038360595703125, -0.0426025390625, 0.0301513671875, -0.0135650634765625, -0.0261993408203125, 0.0043792724609375, 0.033111572265625, 0.0311431884765625, 0.00783538818359375, -0.0030727386474609375, 0.06475830078125, -0.021636962890625, -0.0199127197265625, 0.0304107666015625, 0.0110626220703125, -0.0509033203125, -0.053466796875, -0.0011425018310546875, -0.0071868896484375, -0.02532958984375, 0.0032444000244140625, 0.0487060546875, -0.005313873291015625, -0.022705078125, 0.0018358230590820312, 0.0039825439453125, 0.00798797607421875, 0.016876220703125, -0.0007853507995605469, 0.00445556640625, -0.030731201171875, 0.0226593017578125, -0.0011806488037109375, 0.0176544189453125, 0.0119476318359375, -0.0009007453918457031, 0.005077362060546875, -0.006198883056640625, -0.04730224609375, 0.0036830902099609375, -0.005794525146484375, -0.01357269287109375, 0.0198211669921875, 0.0287933349609375, 0.0318603515625, -0.0011501312255859375, -0.0199432373046875, -0.004375457763671875, 0.009674072265625, -0.01898193359375, 0.02288818359375, -0.0028476715087890625, 0.0005960464477539062, 0.02423095703125, -0.0194244384765625, -0.035980224609375, 0.01105499267578125, -0.0208892822265625, -0.09442138671875, 0.1092529296875, -0.00771331787109375, 0.0859375, 0.01149749755859375, -0.01641845703125, 0.07086181640625, 0.042144775390625, -0.01690673828125, 0.0102081298828125, -0.00518798828125, -0.07708740234375, 0.0258941650390625, -0.0384521484375, 0.0042877197265625, 0.039703369140625, -0.0018291473388671875, 0.0083160400390625, -0.05303955078125, -0.0045166015625, -0.03900146484375, -0.036224365234375, 0.00879669189453125, 0.015716552734375, 0.03570556640625, 0.0595703125, -0.007740020751953125, 0.0384521484375, -0.047271728515625, 0.0302581787109375, -0.017791748046875, 0.029510498046875, -0.0298614501953125, 0.0214996337890625, 0.01537322998046875, 0.038177490234375, -0.0003457069396972656, -0.0013761520385742188, -0.01036834716796875, -0.050323486328125, 0.00560760498046875, -0.03399658203125, -0.013763427734375, -0.01904296875, 0.018341064453125, -0.0325927734375, 0.043487548828125, 0.05859375, -0.00727081298828125, 0.01288604736328125, -0.021636962890625, 0.02117919921875, 0.00794219970703125, -0.05328369140625, -0.0028896331787109375, 0.030670166015625, 0.0242462158203125, 0.01470184326171875, -0.0233001708984375, 0.00829315185546875, -0.0055694580078125, -0.050262451171875, 0.001796722412109375, 0.01898193359375, 0.0309295654296875, -0.0017995834350585938, -0.003986358642578125, -0.046875, 0.061920166015625, -0.05633544921875, 0.0302581787109375, 0.030548095703125, -0.03399658203125, -0.0276641845703125, 0.02862548828125, -0.0142364501953125, 0.01053619384765625, -0.005641937255859375, -0.0086669921875, -0.003261566162109375, -0.0005583763122558594, -0.033203125, -0.01299285888671875, -0.005855560302734375, -0.01268768310546875, -0.027374267578125, 0.034393310546875, -0.0194549560546875, 0.0033702850341796875, 0.04345703125, 0.05645751953125, -0.0213775634765625, -0.026214599609375, -0.0222015380859375, -0.002513885498046875, 0.019989013671875, -0.0277557373046875, -0.028900146484375, -0.0135498046875, -0.00920867919921875, 0.016845703125, -0.0294647216796875, 0.044708251953125, 0.01215362548828125, 0.035919189453125, 0.033905029296875, 0.022247314453125, 0.039306640625, 0.00803375244140625, 0.030426025390625, -0.0268707275390625, -0.01146697998046875, -0.03564453125, -0.0709228515625, 0.042205810546875, -0.03338623046875, 0.03021240234375, 0.0836181640625, 0.002002716064453125, 0.02880859375, 0.0138702392578125, -0.00101470947265625, 0.03582763671875, -0.005023956298828125, -0.01263427734375, 0.0220794677734375, -0.0931396484375, -0.03814697265625, 0.006214141845703125, 0.006855010986328125, -0.012725830078125, -0.037322998046875, -0.00873565673828125, -0.0041656494140625, -0.056976318359375, -0.026641845703125, 0.004474639892578125, -0.00109100341796875, -0.004360198974609375, 0.029510498046875, 0.0070037841796875, -0.0220184326171875, 0.0477294921875, 0.001895904541015625, 0.0265655517578125, -0.0267791748046875, -0.0482177734375, -0.0404052734375, -0.0660400390625, -0.029937744140625, -0.01535797119140625, 0.0119781494140625, 0.000812530517578125, 0.04779052734375, -0.005615234375, -0.054351806640625, -0.01555633544921875, -0.031585693359375, -0.002574920654296875, 0.004974365234375, -0.03765869140625, -0.023040771484375, 0.033233642578125, 0.0010042190551757812, -0.03863525390625, -0.026458740234375, 0.05657958984375, -0.0292816162109375, -0.014190673828125, -0.00989532470703125, -0.01294708251953125, 0.0272216796875, 0.02215576171875, -0.017822265625, -0.01482391357421875, -0.05023193359375, -0.0189056396484375, -0.00763702392578125, -0.06353759765625, -0.050750732421875, 0.0628662109375, 0.002422332763671875, -0.0340576171875, -0.036651611328125, 0.0259246826171875, 0.0164642333984375, 0.007022857666015625, -0.04534912109375, 0.057342529296875, 0.0162506103515625, 0.049041748046875, -0.0309600830078125, 0.0295867919921875, -0.01116180419921875, 0.0293426513671875, 0.01328277587890625, 0.006015777587890625, -0.019775390625, 0.0313720703125, -0.05267333984375, -0.0404052734375, 0.0504150390625, -0.01493072509765625, -0.033447265625, 0.00504302978515625, -0.018218994140625, 0.022705078125, 0.0682373046875, -0.00003886222839355469, 0.00017774105072021484, -0.0235595703125, 0.0014400482177734375, -0.01374053955078125, -0.043243408203125, -0.0225982666015625, -0.0025234222412109375, -0.0723876953125, 0.03118896484375, -0.01751708984375, -0.01444244384765625, -0.004772186279296875, -0.007778167724609375, -0.0247039794921875, -0.04986572265625, 0.0128631591796875, 0.0109405517578125, 0.01367950439453125, -0.01727294921875, -0.0184783935546875, -0.01262664794921875, 0.009246826171875, -0.045196533203125, -0.0400390625, -0.0099945068359375, -0.0283660888671875, 0.04815673828125, 0.02374267578125, -0.0174407958984375, -0.0007152557373046875, 0.029022216796875, 0.037811279296875, -0.0256195068359375, 0.02508544921875, -0.032470703125, 0.021759033203125, 0.022216796875, 0.0098724365234375, 0.0007834434509277344, -0.0090789794921875, 0.0157012939453125, -0.0096282958984375, 0.0199127197265625, -0.01300811767578125, -0.0285797119140625, 0.046478271484375, -0.049591064453125, -0.050323486328125, -0.0469970703125, -0.033233642578125, 0.033538818359375, -0.0175933837890625, 0.005527496337890625, -0.0631103515625, -0.0880126953125, 0.043548583984375, 0.01393890380859375, -0.0236053466796875, -0.005886077880859375, 0.022491455078125, 0.029541015625, -0.0207366943359375, 0.0158233642578125, 0.02288818359375, 0.032135009765625, -0.0125579833984375, 0.01450347900390625, -0.0260772705078125, -0.0189056396484375, 0.10205078125, -0.0226898193359375, 0.01389312744140625, 0.00859832763671875, 0.033111572265625, -0.0241546630859375, -0.046051025390625, 0.03594970703125, -0.031494140625, -0.0247039794921875, 0.04168701171875, 0.055145263671875, -0.043487548828125, 0.05841064453125, 0.00676727294921875, -0.01062774658203125, -0.03155517578125, 0.01236724853515625, 0.0010290145874023438, 0.00624847412109375, -0.0028018951416015625, 0.0127716064453125, 0.0299072265625, 0.004852294921875, -0.01385498046875, -0.002483367919921875, 0.0016012191772460938, -0.017242431640625, -0.042938232421875, -0.055084228515625, 0.0197296142578125, -0.045623779296875, -0.043731689453125, 0.019134521484375, -0.0107879638671875, 0.059417724609375, 0.00494384765625, -0.048126220703125, -0.0157318115234375, -0.01800537109375, 0.015655517578125, 0.022857666015625, -0.0189666748046875, 0.058441162109375, 0.0190277099609375, 0.0007348060607910156, -0.01064300537109375, -0.054534912109375, 0.003753662109375, -0.05267333984375, 0.075927734375, 0.00412750244140625, 0.01123809814453125, 0.055511474609375, 0.03326416015625, -0.004184722900390625, 0.042327880859375, -0.01178741455078125, 0.003650665283203125, 0.0012531280517578125, -0.0039520263671875, 0.020355224609375, 0.0277557373046875, 0.0186004638671875, -0.03411865234375, 0.039703369140625, -0.0692138671875, -0.03326416015625, 0.038116455078125, 0.058441162109375, -0.00787353515625, -0.019561767578125, 0.0277099609375, -0.00409698486328125, -0.002811431884765625, 0.07940673828125, 0.051910400390625, -0.0333251953125, -0.042449951171875, -0.052093505859375, 0.0374755859375, -0.0078277587890625, -0.016143798828125, 0.0240020751953125, -0.01399993896484375, -0.010833740234375, 0.059783935546875, -0.0687255859375, -0.01146697998046875, 0.01166534423828125, -0.0135650634765625, -0.033416748046875, 0.01181793212890625, -0.042572021484375, 0.00878143310546875, -0.024749755859375, 0.00536346435546875, 0.02777099609375, -0.034820556640625, 0.0272369384765625, -0.021759033203125, 0.01715087890625, 0.0025691986083984375, 0.0155029296875, 0.06878662109375, 0.048309326171875, -0.06536865234375, -0.0289764404296875, -0.05474853515625, -0.0163116455078125, -0.0261993408203125, -0.035125732421875, -0.01012420654296875, 0.0207061767578125, 0.022613525390625, 0.01526641845703125, 0.0184478759765625, -0.0134124755859375, -0.01325225830078125, 0.014739990234375, 0.010711669921875, 0.0033130645751953125, -0.0128631591796875, 0.0234832763671875, -0.0245208740234375, 0.056671142578125, -0.01401519775390625, 0.02203369140625, 0.0256805419921875, -0.046234130859375, 0.0278167724609375, -0.003635406494140625, -0.0175933837890625, -0.01187896728515625, -0.00397491455078125, -0.03717041015625, 0.02874755859375, -0.01418304443359375, -0.0109405517578125, -0.006076812744140625, 0.021881103515625, -0.02752685546875, -0.01049041748046875, -0.0135345458984375, -0.0159149169921875, -0.0274505615234375, 0.02545166015625, 0.024078369140625, -0.0093841552734375, -0.03399658203125, 0.01215362548828125, 0.0283966064453125, 0.0095062255859375, -0.0447998046875, -0.055694580078125, 0.038482666015625, 0.0699462890625, 0.0245819091796875, 0.056610107421875, 0.0005316734313964844, 0.016387939453125, 0.0333251953125, 0.04669189453125, -0.024078369140625, -0.04510498046875, 0.0158233642578125, 0.01544189453125, -0.0242919921875, 0.004638671875, -0.014923095703125, 0.02349853515625, 0.08123779296875, 0.08905029296875, -0.09613037109375, 0.004268646240234375, 0.0247955322265625, -0.00611114501953125, 0.038482666015625, -0.034515380859375, -0.00936126708984375, -0.027557373046875, 0.055328369140625, -0.0035190582275390625, -0.034271240234375, 0.0011816024780273438, -0.0053253173828125, -0.0185089111328125, 0.0031337738037109375, 0.022613525390625, 0.01320648193359375, -0.034698486328125, 0.00875091552734375, 0.01477813720703125, 0.0051422119140625, -0.0173492431640625, -0.0076751708984375, 0.0235443115234375, -0.021881103515625, -0.07098388671875, 0.01270294189453125, -0.0281524658203125, -0.0021820068359375, 0.0237884521484375, -0.01165008544921875, -0.0106964111328125, 0.0677490234375, -0.033111572265625, 0.028656005859375, 0.03955078125, -0.0418701171875, -0.0086212158203125, -0.038848876953125, 0.0280303955078125, -0.0004711151123046875, -0.0423583984375, 0.026031494140625, -0.01230621337890625, -0.051605224609375, -0.00420379638671875, 0.030853271484375, 0.0673828125, -0.0032444000244140625, -0.03790283203125, 0.04974365234375, -0.004100799560546875, -0.0504150390625, -0.035308837890625, 0.044586181640625, -0.0290679931640625, 0.03009033203125, -0.0252227783203125, 0.005336761474609375, -0.0012264251708984375, -0.0457763671875, -0.049468994140625, 0.064453125, -0.03985595703125, 0.026336669921875, 0.02935791015625, 0.00313568115234375, -0.0209808349609375, -0.001377105712890625, -0.0265350341796875, 0.0513916015625, 0.0276031494140625, 0.061553955078125, -0.0163421630859375, -0.02392578125, 0.03143310546875, 0.03643798828125, 0.01470947265625, 0.00431060791015625, -0.0171661376953125, 0.0193023681640625, 0.03955078125, 0.01483154296875, -0.003875732421875, 0.037841796875, -0.023956298828125, 0.0262298583984375, -0.0106353759765625, -0.074462890625, -0.00731658935546875, -0.0200958251953125, -0.030853271484375, -0.0004775524139404297, 0.0130462646484375, 0.00013124942779541016, -0.0027179718017578125, 0.0051727294921875, -0.049407958984375, 0.002197265625, 0.01910400390625, 0.032470703125, 0.0172576904296875, -0.0031890869140625, 0.0141143798828125, -0.044921875, 0.047515869140625, -0.041290283203125, 0.0504150390625, 0.006023406982421875, 0.0038356781005859375, 0.051544189453125, 0.0193328857421875, 0.0229034423828125, -0.0281524658203125, 0.006134033203125, 0.01183319091796875, -0.02838134765625, 0.032012939453125, 0.0112152099609375, 0.034820556640625, -0.02410888671875, -0.044586181640625, 0.0007224082946777344, 0.029205322265625, -0.004772186279296875, 0.0110015869140625, 0.012542724609375, 0.00390625, 0.02142333984375, -0.05908203125, 0.02618408203125, -0.006256103515625, -0.0034503936767578125, 0.025360107421875, -0.0035552978515625, 0.003582000732421875, 0.0218963623046875, 0.006622314453125, 0.02349853515625, -0.03704833984375, 0.005413055419921875, -0.00836944580078125, -0.0177764892578125, 0.0042572021484375, 0.0333251953125, 0.0303802490234375, 0.0196075439453125, -0.0236968994140625, -0.020599365234375, -0.0217742919921875, 0.0287628173828125, 0.005474090576171875, 0.039520263671875, -0.05633544921875, -0.032440185546875, 0.02447509765625, 0.0543212890625, 0.0303497314453125, -0.004177093505859375, 0.043609619140625, 0.019989013671875, -0.03240966796875, 0.0037136077880859375, 0.032928466796875, -0.02880859375, 0.016571044921875, -0.0304718017578125, 0.0251922607421875, 0.041351318359375, -0.0043182373046875, -0.0193634033203125, -0.032501220703125, 0.0980224609375, -0.01861572265625, 0.0293121337890625, -0.0052947998046875, -0.036956787109375, 0.0194091796875, -0.03082275390625, 0.03851318359375, -0.0116424560546875, -0.032806396484375, -0.0266265869140625, -0.0008153915405273438, -0.047515869140625, 0.0517578125, 0.05169677734375, -0.0209197998046875, 0.007801055908203125, -0.04583740234375, 0.01189422607421875, 0.0200653076171875, -0.0305328369140625, -0.01326751708984375, -0.013580322265625, 0.0131988525390625, -0.024688720703125, -0.05230712890625, -0.02276611328125, 0.0020694732666015625, 0.018707275390625, -0.0033206939697265625, 0.04620361328125, 0.00835418701171875, 0.0015172958374023438, -0.0017538070678710938, -0.007762908935546875, 0.028350830078125, 0.002567291259765625, 0.030914306640625, 0.02740478515625, 0.00873565673828125, -0.0266265869140625, -0.0831298828125, 0.051177978515625, -0.002796173095703125, 0.0006799697875976562, 0.07269287109375, -0.02001953125, -0.0035800933837890625, -0.033782958984375, 0.01003265380859375, -0.026702880859375, -0.059356689453125, -0.034515380859375, 0.0198211669921875, -0.0168304443359375, 0.014739990234375, -0.00921630859375, 0.032196044921875, 0.0184783935546875, -0.0139617919921875, 0.01236724853515625, -0.037628173828125, 0.02117919921875, 0.0286407470703125, -0.01276397705078125, 0.01495361328125, -0.00322723388671875, -0.011993408203125, 0.01532745361328125, 0.0124359130859375, -0.0335693359375, 0.0082244873046875, -0.0189971923828125, -0.08953857421875, -0.01397705078125, 0.01303863525390625, 0.005123138427734375, 0.009918212890625, -0.03997802734375, -0.0177001953125, -0.0240020751953125, -0.005130767822265625, 0.0019216537475585938, 0.01117706298828125, -0.010162353515625, 0.0156402587890625, 0.01800537109375, -0.0246429443359375, 0.018402099609375, 0.0026683807373046875, 0.0256195068359375, -0.01483154296875, -0.021820068359375, 0.0016984939575195312, -0.04083251953125, 0.049041748046875, -0.0175933837890625, 0.050567626953125, -0.0197906494140625, 0.0090789794921875, -0.0540771484375, -0.0426025390625, -0.01554107666015625, 0.06719970703125, -0.02423095703125, -0.03033447265625, 0.029022216796875, 0.00879669189453125, -0.001678466796875, -0.044219970703125, -0.0345458984375, 0.0212860107421875, -0.047760009765625, -0.0260467529296875, -0.0070343017578125, -0.01555633544921875, -0.0032291412353515625, 0.0004930496215820312, 0.01549530029296875, -0.0312042236328125, -0.05633544921875, -0.007717132568359375, -0.047027587890625, -0.0447998046875, -0.05078125, -0.04296875, 0.058074951171875, 0.0087890625, -0.0175628662109375, -0.0286102294921875, 0.01001739501953125, -0.002437591552734375, -0.00260162353515625, 0.00440216064453125, -0.0173797607421875, -0.017425537109375, 0.01418304443359375, 0.01428985595703125, 0.0257110595703125, 0.0098724365234375, 0.0215606689453125, 0.0189666748046875, 0.053253173828125, 0.046173095703125, -0.0093231201171875, -0.0811767578125, 0.01088714599609375, 0.03485107421875, 0.0185699462890625, 0.019683837890625, 0.0850830078125, 0.09246826171875, 0.03472900390625, -0.025421142578125, -0.00560760498046875, 0.035400390625, 0.0119171142578125, 0.0006976127624511719, 0.0307769775390625, -0.0077972412109375, -0.0189208984375, -0.041351318359375, -0.036712646484375, 0.00311279296875, -0.0142974853515625, 0.004154205322265625, -0.05712890625, 0.00278472900390625, -0.0027370452880859375, 0.01861572265625, -0.0252838134765625, -0.00008928775787353516, -0.0089569091796875, -0.025665283203125, 0.0228729248046875, 0.0013446807861328125, -0.01448822021484375, 0.01200103759765625, 0.00193023681640625, -0.0215911865234375, -0.001678466796875, -0.0286407470703125, 0.0234527587890625, -0.0177459716796875, -0.046630859375, -0.00498199462890625, 0.06988525390625, -0.0494384765625, 0.0024967193603515625, 0.01288604736328125, 0.0148468017578125, -0.051971435546875, 0.020965576171875, -0.01010894775390625, 0.0251922607421875, -0.01454925537109375, 0.027923583984375, 0.0206298828125, 0.0222015380859375, 0.0018453598022460938, 0.0162353515625, 0.0017061233520507812, 0.00354766845703125, -0.0289764404296875, 0.040283203125, -0.00720977783203125, -0.0066680908203125, 0.0096893310546875, -0.00806427001953125, 0.01953125, 0.036041259765625, 0.054656982421875, 0.00560760498046875, 0.0298309326171875, -0.02752685546875, 0.00787353515625, 0.01172637939453125 ]
534186a5ebb427b5b6e6a15f8e82c9d165688442
Wordpress Stackexchange Q: WordPress Customizer Control with React I am just doing a demo on the WordPress customizer API to edit the header with custom controls. I have designed a custom control by extending WP_Customize_Control and Jquery to refresh/postMessage the element to speed up the UI experience, which is working fine. But, When I compared this with react based Customizer which is much faster than PHP/JQuery based. Is there any other ways/approaches to make customizer UI more faster? Is there any starter example/doc to start working with React-based customizer controls etc?
Q: WordPress Customizer Control with React I am just doing a demo on the WordPress customizer API to edit the header with custom controls. I have designed a custom control by extending WP_Customize_Control and Jquery to refresh/postMessage the element to speed up the UI experience, which is working fine. But, When I compared this with react based Customizer which is much faster than PHP/JQuery based. Is there any other ways/approaches to make customizer UI more faster? Is there any starter example/doc to start working with React-based customizer controls etc?
wordpress
{ "language": "en", "length": 89, "provenance": "stackexchange_00019.jsonl.gz:504051", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/368911" }
[ -0.008514404296875, -0.002674102783203125, -0.03350830078125, -0.0207061767578125, -0.001708984375, -0.00476837158203125, -0.01251983642578125, -0.00952911376953125, -0.04925537109375, 0.00432586669921875, 0.014129638671875, 0.004146575927734375, -0.021728515625, -0.04278564453125, 0.04144287109375, -0.050048828125, 0.020477294921875, 0.01309967041015625, 0.047607421875, -0.0081634521484375, -0.015869140625, -0.0037593841552734375, 0.05596923828125, 0.032470703125, 0.055145263671875, -0.0350341796875, 0.0137939453125, -0.004741668701171875, 0.0263671875, -0.0017957687377929688, 0.033447265625, -0.01119232177734375, 0.0211334228515625, 0.041595458984375, -0.046875, -0.017425537109375, 0.018341064453125, -0.0027675628662109375, -0.011016845703125, 0.032196044921875, 0.032012939453125, -0.01629638671875, -0.0158233642578125, 0.0293731689453125, -0.0208587646484375, -0.05621337890625, 0.05352783203125, -0.04473876953125, 0.0219573974609375, 0.0037670135498046875, 0.01003265380859375, -0.017913818359375, 0.015106201171875, -0.058624267578125, -0.0143890380859375, -0.00818634033203125, 0.003795623779296875, 0.01396942138671875, 0.045806884765625, -0.005390167236328125, -0.048248291015625, -0.01441192626953125, 0.0176849365234375, -0.03228759765625, 0.0008807182312011719, 0.011444091796875, -0.01629638671875, 0.0203399658203125, 0.0143280029296875, -0.004817962646484375, -0.0171966552734375, -0.034210205078125, -0.0114898681640625, -0.0131072998046875, -0.0298309326171875, -0.00007557868957519531, 0.0003108978271484375, -0.0263671875, 0.015594482421875, -0.00044083595275878906, 0.00701141357421875, -0.006633758544921875, 0.0380859375, -0.052825927734375, 0.0036373138427734375, -0.035247802734375, -0.00830078125, -0.0014858245849609375, -0.022705078125, -0.031494140625, -0.006671905517578125, -0.078857421875, -0.053558349609375, 0.049041748046875, 0.02740478515625, -0.026153564453125, -0.02777099609375, -0.039703369140625, 0.017974853515625, 0.024505615234375, 0.03125, -0.05419921875, 0.07244873046875, -0.0132293701171875, -0.0100555419921875, 0.03326416015625, 0.0233612060546875, 0.07891845703125, 0.0447998046875, 0.01088714599609375, -0.006473541259765625, 0.026275634765625, 0.0201416015625, 0.0124053955078125, -0.0086822509765625, -0.045989990234375, -0.03216552734375, 0.0168609619140625, -0.0207672119140625, -0.0308685302734375, -0.02520751953125, -0.0262603759765625, 0.023834228515625, 0.039947509765625, 0.023223876953125, 0.035614013671875, -0.01529693603515625, -0.0112152099609375, 0.06298828125, -0.031890869140625, -0.0237274169921875, -0.00963592529296875, 0.07904052734375, 0.08477783203125, 0.06439208984375, -0.0036830902099609375, 0.05474853515625, 0.00018095970153808594, 0.016204833984375, -0.0113067626953125, 0.0220947265625, -0.01541900634765625, -0.0305633544921875, 0.0116119384765625, 0.045013427734375, 0.03192138671875, 0.0007715225219726562, -0.00740814208984375, 0.0301666259765625, -0.019622802734375, 0.0287628173828125, -0.0360107421875, 0.0109100341796875, 0.0244140625, 0.0222930908203125, -0.020355224609375, 0.03900146484375, -0.035400390625, 0.0161895751953125, -0.036041259765625, 0.00206756591796875, -0.02032470703125, -0.01131439208984375, 0.0199127197265625, -0.00848388671875, 0.0309906005859375, 0.01413726806640625, 0.01239776611328125, 0.0218658447265625, 0.042144775390625, 0.0216827392578125, -0.0017900466918945312, -0.020904541015625, 0.0287017822265625, 0.021392822265625, 0.00010162591934204102, -0.01122283935546875, -0.0260009765625, 0.03924560546875, -0.00577545166015625, -0.01027679443359375, -0.008819580078125, 0.048126220703125, -0.00133514404296875, -0.055816650390625, 0.028778076171875, 0.004825592041015625, 0.055511474609375, 0.03350830078125, 0.0056610107421875, 0.051361083984375, -0.005893707275390625, -0.032257080078125, 0.0209197998046875, -0.011749267578125, -0.02392578125, -0.04315185546875, -0.015899658203125, -0.030792236328125, 0.0188446044921875, -0.058013916015625, 0.001956939697265625, -0.017059326171875, 0.0225677490234375, 0.005886077880859375, -0.0164642333984375, -0.003208160400390625, 0.0202484130859375, 0.010467529296875, 0.0166473388671875, 0.0019683837890625, 0.00870513916015625, -0.0390625, 0.01013946533203125, -0.0019550323486328125, 0.01136016845703125, 0.0144500732421875, 0.048736572265625, 0.0194549560546875, 0.0205230712890625, 0.0303955078125, -0.02020263671875, 0.0300140380859375, 0.03131103515625, 0.0284576416015625, 0.002895355224609375, -0.006938934326171875, -0.020263671875, 0.038665771484375, 0.01971435546875, -0.0211181640625, 0.007904052734375, 0.01033782958984375, 0.025665283203125, -0.003101348876953125, -0.0273284912109375, 0.005870819091796875, -0.10467529296875, 0.0236358642578125, 0.056549072265625, 0.0284271240234375, 0.05645751953125, 0.0013513565063476562, 0.01021575927734375, 0.0897216796875, 0.042724609375, 0.0219268798828125, -0.0160064697265625, 0.017181396484375, 0.0312347412109375, -0.0230712890625, -0.03253173828125, 0.0242919921875, -0.0273284912109375, 0.0164642333984375, 0.0205230712890625, 0.004505157470703125, 0.02435302734375, -0.0192718505859375, 0.01457977294921875, -0.015960693359375, 0.00264739990234375, 0.0068817138671875, -0.01021575927734375, 0.0679931640625, 0.004001617431640625, 0.0555419921875, 0.0170745849609375, -0.0166168212890625, 0.0311431884765625, 0.002994537353515625, -0.05157470703125, 0.01093292236328125, 0.0152740478515625, 0.0102386474609375, 0.039581298828125, -0.037353515625, -0.006671905517578125, 0.04278564453125, 0.0270538330078125, -0.005889892578125, 0.0012178421020507812, -0.01131439208984375, -0.00939178466796875, 0.0259246826171875, -0.035186767578125, 0.006122589111328125, 0.00788116455078125, 0.037750244140625, 0.04754638671875, 0.067138671875, -0.0303802490234375, -0.046234130859375, 0.032135009765625, 0.0196380615234375, -0.041748046875, 0.0762939453125, -0.023040771484375, 0.037567138671875, -0.01300048828125, 0.0251922607421875, 0.04437255859375, -0.0294036865234375, 0.037017822265625, 0.004520416259765625, 0.0011472702026367188, 0.0362548828125, 0.01433563232421875, 0.01198577880859375, -0.0111236572265625, -0.023284912109375, 0.00875091552734375, 0.023101806640625, 0.03826904296875, -0.00894927978515625, -0.038818359375, 0.0032501220703125, 0.0144805908203125, -0.07244873046875, -0.09747314453125, 0.0016193389892578125, -0.09210205078125, -0.01242828369140625, -0.0087738037109375, -0.0460205078125, 0.00949859619140625, 0.0212554931640625, 0.00458526611328125, -0.0023746490478515625, -0.03173828125, 0.0024356842041015625, -0.051849365234375, -0.0477294921875, -0.055511474609375, -0.0013570785522460938, -0.00484466552734375, -0.005100250244140625, 0.077880859375, -0.0021419525146484375, -0.051910400390625, -0.019317626953125, -0.004131317138671875, -0.004917144775390625, 0.01507568359375, 0.029754638671875, -0.0243988037109375, -0.0058441162109375, -0.006549835205078125, 0.0153045654296875, 0.033721923828125, -0.0416259765625, -0.0117340087890625, -0.0411376953125, -0.0107879638671875, -0.03662109375, 0.0438232421875, 0.0589599609375, -0.03277587890625, 0.0006151199340820312, -0.05194091796875, -0.013580322265625, -0.0012369155883789062, -0.0372314453125, -0.01456451416015625, 0.033294677734375, -0.019378662109375, -0.0161590576171875, -0.01177215576171875, 0.0206146240234375, 0.016265869140625, -0.0280609130859375, -0.01309967041015625, 0.036041259765625, 0.017364501953125, 0.0312042236328125, 0.006000518798828125, 0.00887298583984375, -0.0277862548828125, 0.026031494140625, -0.01377105712890625, 0.001575469970703125, -0.036956787109375, -0.0009684562683105469, -0.09124755859375, -0.0152587890625, 0.03466796875, -0.011749267578125, 0.018218994140625, 0.0005393028259277344, -0.0099639892578125, 0.0176544189453125, 0.062347412109375, -0.028411865234375, -0.0021419525146484375, 0.0133514404296875, -0.00931549072265625, -0.006481170654296875, 0.044525146484375, -0.09039306640625, 0.0028095245361328125, -0.0775146484375, 0.01218414306640625, -0.0079498291015625, -0.0255889892578125, -0.02447509765625, 0.037506103515625, -0.057281494140625, -0.0340576171875, 0.0273895263671875, -0.040802001953125, 0.0303497314453125, -0.044525146484375, 0.0298309326171875, -0.0748291015625, 0.0235443115234375, -0.05029296875, -0.034759521484375, 0.00045609474182128906, -0.038726806640625, 0.0210113525390625, 0.0302734375, -0.0227508544921875, -0.005687713623046875, 0.019256591796875, 0.044921875, 0.05413818359375, -0.004749298095703125, -0.03961181640625, 0.0221099853515625, 0.014373779296875, 0.0178985595703125, -0.007801055908203125, -0.01026153564453125, 0.0002834796905517578, -0.00917816162109375, 0.038360595703125, -0.0198974609375, -0.003353118896484375, -0.0024890899658203125, -0.0160369873046875, -0.07177734375, -0.042694091796875, -0.06939697265625, -0.0192413330078125, -0.042633056640625, 0.0044708251953125, -0.030731201171875, -0.07861328125, 0.0404052734375, 0.00861358642578125, 0.0257110595703125, -0.0261993408203125, 0.05389404296875, 0.0172119140625, -0.0258941650390625, 0.04803466796875, -0.0181427001953125, 0.0159759521484375, 0.012786865234375, 0.0161285400390625, -0.0380859375, -0.0340576171875, 0.08184814453125, -0.01407623291015625, 0.01702880859375, 0.033905029296875, -0.0164947509765625, 0.01502227783203125, -0.033782958984375, 0.0266265869140625, 0.05126953125, -0.039794921875, 0.041107177734375, 0.0110321044921875, -0.01361083984375, -0.01320648193359375, 0.01065826416015625, 0.00742340087890625, -0.0352783203125, -0.0206756591796875, -0.01641845703125, 0.00948333740234375, 0.001983642578125, 0.0019121170043945312, -0.020355224609375, 0.0182952880859375, -0.0528564453125, -0.0253448486328125, 0.030914306640625, 0.02545166015625, -0.0194091796875, -0.044189453125, 0.01117706298828125, 0.036712646484375, -0.01419830322265625, 0.05426025390625, -0.01207733154296875, 0.058502197265625, 0.002044677734375, -0.028472900390625, -0.0293121337890625, -0.015716552734375, 0.015777587890625, -0.00588226318359375, -0.0004324913024902344, 0.006805419921875, 0.01311492919921875, -0.004116058349609375, -0.01038360595703125, 0.014190673828125, 0.006038665771484375, -0.0268707275390625, 0.05499267578125, 0.03204345703125, -0.0234832763671875, 0.0015869140625, -0.01256561279296875, 0.0294036865234375, -0.043670654296875, 0.00711822509765625, 0.048095703125, 0.018280029296875, 0.001956939697265625, 0.00931549072265625, 0.0343017578125, 0.017730712890625, -0.056915283203125, 0.00605010986328125, -0.0155792236328125, -0.00998687744140625, 0.0302734375, 0.03045654296875, 0.01180267333984375, 0.0037078857421875, -0.0137939453125, -0.0121917724609375, -0.016326904296875, -0.031005859375, -0.00852203369140625, -0.00455474853515625, 0.026580810546875, 0.01358795166015625, -0.016845703125, 0.0253143310546875, 0.0021572113037109375, -0.008941650390625, -0.0001646280288696289, 0.047119140625, -0.0479736328125, 0.026092529296875, 0.0029811859130859375, -0.020355224609375, 0.0225982666015625, 0.0267791748046875, 0.01220703125, -0.05902099609375, -0.039703369140625, -0.007381439208984375, 0.007144927978515625, 0.0535888671875, -0.0202484130859375, -0.0254058837890625, -0.03631591796875, 0.05413818359375, -0.08465576171875, -0.001117706298828125, 0.03338623046875, 0.01137542724609375, -0.0233001708984375, -0.004444122314453125, -0.04681396484375, -0.025299072265625, -0.1038818359375, -0.08697509765625, -0.0616455078125, 0.01617431640625, -0.0203399658203125, 0.00543212890625, -0.0005965232849121094, 0.0343017578125, -0.0019512176513671875, 0.051177978515625, 0.0092620849609375, 0.0616455078125, -0.003170013427734375, 0.0247039794921875, -0.036376953125, 0.04681396484375, -0.0028743743896484375, 0.005615234375, 0.0028247833251953125, -0.03350830078125, 0.031341552734375, 0.006649017333984375, -0.04388427734375, -0.055389404296875, 0.0082244873046875, -0.01316070556640625, 0.032073974609375, -0.0162811279296875, 0.05352783203125, -0.022857666015625, 0.00337982177734375, -0.023193359375, -0.01384735107421875, -0.057952880859375, 0.0276947021484375, -0.006473541259765625, 0.0264892578125, 0.0034999847412109375, -0.01546478271484375, -0.017608642578125, -0.013519287109375, 0.033935546875, -0.0005726814270019531, -0.05938720703125, -0.00457000732421875, 0.019439697265625, 0.02667236328125, -0.01371002197265625, 0.0189056396484375, 0.015899658203125, 0.006359100341796875, -0.0096282958984375, 0.0079498291015625, -0.030029296875, 0.0093536376953125, 0.0302886962890625, -0.0019893646240234375, -0.0203704833984375, -0.00079345703125, -0.02020263671875, -0.0032806396484375, 0.05645751953125, 0.07232666015625, -0.078125, 0.0124053955078125, 0.037200927734375, -0.00884246826171875, -0.0231170654296875, -0.03228759765625, -0.0096435546875, -0.03790283203125, 0.04620361328125, 0.0013675689697265625, -0.0284576416015625, 0.00316619873046875, -0.0171356201171875, 0.0032825469970703125, -0.01275634765625, 0.0675048828125, 0.003932952880859375, 0.0117645263671875, -0.0272674560546875, -0.02142333984375, 0.004764556884765625, -0.01354217529296875, 0.0176849365234375, -0.00191497802734375, -0.045166015625, -0.048492431640625, -0.01061248779296875, 0.00505828857421875, -0.039947509765625, 0.040435791015625, -0.0160675048828125, 0.001445770263671875, 0.049163818359375, -0.0284271240234375, 0.0292510986328125, -0.0039215087890625, 0.0013523101806640625, -0.0022068023681640625, -0.026519775390625, 0.011627197265625, 0.046966552734375, -0.08148193359375, 0.0288848876953125, -0.0131683349609375, 0.014923095703125, -0.010772705078125, 0.04217529296875, 0.11505126953125, -0.03857421875, -0.0273590087890625, 0.047454833984375, 0.0281219482421875, -0.036834716796875, -0.005863189697265625, 0.0014476776123046875, -0.05718994140625, -0.0221405029296875, -0.0046234130859375, -0.034820556640625, 0.01352691650390625, -0.0017528533935546875, -0.041961669921875, 0.0611572265625, 0.0283355712890625, 0.007686614990234375, 0.0188751220703125, 0.027252197265625, -0.03509521484375, 0.01123809814453125, 0.01000213623046875, 0.0232086181640625, -0.021820068359375, -0.006969451904296875, 0.002193450927734375, 0.0164794921875, -0.01148223876953125, 0.02130126953125, -0.0121307373046875, -0.01491546630859375, 0.029571533203125, -0.002643585205078125, 0.049041748046875, 0.051788330078125, 0.0189971923828125, -0.0177764892578125, -0.016326904296875, -0.0032863616943359375, 0.023345947265625, 0.000274658203125, 0.006626129150390625, 0.017852783203125, -0.0408935546875, 0.0141448974609375, 0.0187835693359375, 0.0019197463989257812, 0.055877685546875, 0.058380126953125, -0.1026611328125, 0.04248046875, 0.07427978515625, 0.0276947021484375, -0.0073699951171875, 0.01019287109375, -0.006256103515625, 0.016387939453125, -0.02447509765625, -0.00540924072265625, 0.0137939453125, 0.011993408203125, 0.029693603515625, -0.02972412109375, 0.01025390625, -0.05853271484375, 0.00583648681640625, 0.001750946044921875, 0.06317138671875, -0.0693359375, 0.0178680419921875, 0.0137481689453125, 0.03778076171875, -0.028106689453125, -0.06097412109375, 0.01593017578125, 0.0318603515625, 0.003383636474609375, -0.057708740234375, 0.0179595947265625, 0.0133819580078125, 0.0263214111328125, 0.01477813720703125, 0.054656982421875, -0.053924560546875, -0.01148223876953125, -0.021270751953125, 0.0118560791015625, 0.029876708984375, 0.03411865234375, 0.017852783203125, 0.047698974609375, -0.07281494140625, -0.0147857666015625, -0.0257110595703125, 0.00943756103515625, 0.01702880859375, 0.0574951171875, 0.0252685546875, 0.047515869140625, -0.0160064697265625, -0.0273590087890625, -0.0207366943359375, 0.026092529296875, 0.020599365234375, 0.0254364013671875, -0.005321502685546875, 0.01012420654296875, 0.0198516845703125, 0.0174560546875, 0.0144500732421875, 0.0290069580078125, 0.01558685302734375, 0.0106353759765625, 0.00887298583984375, 0.00007611513137817383, 0.06365966796875, -0.0174102783203125, 0.00308990478515625, -0.01276397705078125, 0.0106964111328125, 0.027984619140625, -0.0035076141357421875, 0.004169464111328125, 0.005168914794921875, 0.0452880859375, 0.0081329345703125, 0.052032470703125, -0.0042266845703125, -0.01373291015625, 0.033538818359375, -0.022552490234375, 0.072021484375, 0.02435302734375, -0.035186767578125, -0.0231170654296875, 0.0187225341796875, -0.0419921875, 0.03607177734375, 0.0478515625, -0.0362548828125, 0.03582763671875, -0.0209503173828125, -0.0291900634765625, 0.0019512176513671875, 0.035888671875, -0.012786865234375, -0.0060577392578125, 0.01094818115234375, -0.025299072265625, -0.0755615234375, -0.036407470703125, -0.0299835205078125, 0.03289794921875, 0.0193634033203125, 0.033111572265625, 0.01357269287109375, 0.036041259765625, 0.021209716796875, -0.04144287109375, 0.042144775390625, 0.003971099853515625, 0.03521728515625, -0.004123687744140625, -0.02203369140625, -0.02728271484375, -0.00502777099609375, 0.0084686279296875, 0.0308074951171875, -0.045806884765625, 0.0108489990234375, -0.01108551025390625, 0.00972747802734375, -0.034912109375, -0.00719451904296875, -0.05224609375, -0.062347412109375, -0.0308380126953125, 0.003070831298828125, -0.041015625, -0.0484619140625, 0.01209259033203125, 0.002239227294921875, -0.0213775634765625, 0.0046844482421875, 0.010162353515625, 0.0050201416015625, 0.00897216796875, 0.0192718505859375, -0.044281005859375, 0.0006990432739257812, 0.0126800537109375, -0.0011816024780273438, -0.033721923828125, 0.048309326171875, -0.052337646484375, 0.0187835693359375, -0.00279998779296875, 0.011199951171875, 0.060516357421875, 0.091552734375, 0.03436279296875, 0.0263214111328125, 0.007396697998046875, -0.004383087158203125, -0.01554107666015625, -0.006931304931640625, -0.01580810546875, -0.030242919921875, 0.0080108642578125, 0.0298309326171875, -0.00531768798828125, 0.01177215576171875, -0.05218505859375, -0.031097412109375, 0.004650115966796875, -0.005100250244140625, -0.0125732421875, 0.00698089599609375, -0.0236968994140625, -0.018798828125, -0.0311737060546875, -0.0218505859375, -0.0184783935546875, -0.0003666877746582031, 0.0122833251953125, -0.03558349609375, -0.04742431640625, 0.041473388671875, -0.00904083251953125, 0.005771636962890625, 0.030426025390625, -0.002933502197265625, -0.0236663818359375, -0.00502777099609375, 0.0007686614990234375, 0.052490234375, -0.01922607421875, -0.01129150390625, 0.01398468017578125, 0.00952911376953125, -0.0225677490234375, -0.046630859375, 0.0010395050048828125, 0.00286865234375, -0.00818634033203125, -0.04693603515625, -0.017059326171875, -0.026580810546875, -0.056396484375, -0.062255859375, 0.050445556640625, -0.01236724853515625, -0.0183258056640625, -0.0400390625, 0.0267181396484375, 0.0169677734375, -0.038177490234375, -0.031768798828125, -0.023681640625, -0.02142333984375, 0.01255035400390625, -0.0033779144287109375, 0.027801513671875, 0.0218048095703125, 0.0148773193359375, -0.02996826171875, 0.002788543701171875, -0.01507568359375, -0.00844573974609375, 0.0169525146484375, 0.0046844482421875, 0.0126495361328125, 0.0283966064453125, -0.043548583984375, -0.0240631103515625, -0.032867431640625, 0.01079559326171875, -0.011505126953125, -0.0269012451171875, 0.00582122802734375, -0.0024814605712890625, 0.0272674560546875, 0.0188140869140625, -0.004608154296875, -0.036956787109375, 0.046234130859375, 0.0355224609375, -0.0006375312805175781, -0.006061553955078125, 0.0106048583984375, -0.048736572265625, -0.036956787109375, 0.008880615234375, 0.01398468017578125, -0.0102386474609375, 0.0267333984375, -0.0142364501953125, -0.0174407958984375, 0.036956787109375, -0.004589080810546875, -0.05560302734375, -0.0140533447265625, 0.08563232421875, -0.0533447265625, -0.0106201171875, 0.0321044921875, 0.004703521728515625, 0.03594970703125, 0.041168212890625, 0.021392822265625, 0.0021762847900390625, -0.042205810546875, 0.01401519775390625, 0.001644134521484375, 0.0423583984375, -0.0305938720703125, -0.045806884765625, 0.007640838623046875, 0.005374908447265625, -0.0096282958984375, -0.01007080078125, -0.00414276123046875, 0.0306396484375, -0.03497314453125, 0.055999755859375, -0.021575927734375, 0.00957489013671875, -0.044097900390625, 0.039764404296875, 0.01117706298828125, -0.006237030029296875, 0.04852294921875, -0.0012159347534179688, 0.0012693405151367188, -0.0012102127075195312, -0.04119873046875, -0.047637939453125, 0.01248931884765625, -0.0286865234375, -0.005893707275390625, 0.022216796875 ]
2cc931f954e6d4252aef3a63e88b47e10c32afbe
Wordpress Stackexchange Q: How to enqueue scripts and styles only when there are needed? I have page created based on ACF and flexible fields layout. In my theme I have some JS scripts like masonry, fancybox, lazyload. For now im using standard wp_enqueue_style in function.php file. Is there any clever way to enqueue scripts only if certain block from ACF is chosen, and only once if this block was inserted earlier? Thanks! A: I use the following to enqueue a specific script on post.php, which is triggered by the admin_enqueue_scripts hook: if ( in_array( get_current_screen()->base, [ 'post' ] ) ) { // Load scripts only on the post edit page. wp_enqueue_script( PLUGIN_NAME, PLUGIN_ROOT_URL . 'resources/js/script.js', [], PLUGIN_VERSION, false ); } Instead of the check I do, you could retrieve the post's content and scan it for the block you require. Like so: if ( is_singular() ) { $post = get_post(); if ( $post && has_blocks( $post ) ) { $blocks = parse_blocks( $post->post_content ); $postContainsBlock = ... // Search $blocks array for the required block. if ( $postContainsBlock ) { wp_enqueue_script( PLUGIN_NAME, PLUGIN_ROOT_URL . 'resources/js/script.js', [], PLUGIN_VERSION, false ); } } } Note: I haven't tested the code above.
Q: How to enqueue scripts and styles only when there are needed? I have page created based on ACF and flexible fields layout. In my theme I have some JS scripts like masonry, fancybox, lazyload. For now im using standard wp_enqueue_style in function.php file. Is there any clever way to enqueue scripts only if certain block from ACF is chosen, and only once if this block was inserted earlier? Thanks! A: I use the following to enqueue a specific script on post.php, which is triggered by the admin_enqueue_scripts hook: if ( in_array( get_current_screen()->base, [ 'post' ] ) ) { // Load scripts only on the post edit page. wp_enqueue_script( PLUGIN_NAME, PLUGIN_ROOT_URL . 'resources/js/script.js', [], PLUGIN_VERSION, false ); } Instead of the check I do, you could retrieve the post's content and scan it for the block you require. Like so: if ( is_singular() ) { $post = get_post(); if ( $post && has_blocks( $post ) ) { $blocks = parse_blocks( $post->post_content ); $postContainsBlock = ... // Search $blocks array for the required block. if ( $postContainsBlock ) { wp_enqueue_script( PLUGIN_NAME, PLUGIN_ROOT_URL . 'resources/js/script.js', [], PLUGIN_VERSION, false ); } } } Note: I haven't tested the code above.
wordpress
{ "language": "en", "length": 197, "provenance": "stackexchange_00019.jsonl.gz:504087", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/369039" }
[ -0.00444793701171875, -0.01494598388671875, -0.04888916015625, -0.04644775390625, -0.00540924072265625, -0.025848388671875, -0.0299072265625, 0.0302581787109375, -0.00601959228515625, 0.00872802734375, -0.051116943359375, 0.03570556640625, -0.050384521484375, 0.0021076202392578125, -0.004993438720703125, -0.047576904296875, 0.047454833984375, -0.03765869140625, -0.021270751953125, -0.0204620361328125, 0.01467132568359375, 0.0019855499267578125, -0.014190673828125, 0.12646484375, 0.0088043212890625, -0.0626220703125, 0.133056640625, 0.00930023193359375, 0.0227203369140625, 0.0028171539306640625, 0.0343017578125, -0.0704345703125, 0.028961181640625, 0.007518768310546875, -0.0153350830078125, 0.01074981689453125, 0.046905517578125, -0.01177215576171875, 0.0012598037719726562, 0.035369873046875, 0.03192138671875, -0.00530242919921875, -0.037628173828125, 0.06781005859375, -0.04833984375, -0.0307769775390625, -0.0022563934326171875, -0.01508331298828125, 0.0229339599609375, 0.034637451171875, -0.02972412109375, 0.0229949951171875, -0.0275421142578125, 0.0303802490234375, -0.0020751953125, -0.00728607177734375, -0.0401611328125, 0.006862640380859375, 0.014801025390625, 0.07342529296875, 0.0109100341796875, 0.0110015869140625, -0.01512908935546875, -0.06451416015625, -0.00826263427734375, -0.0023403167724609375, -0.007015228271484375, 0.0097808837890625, -0.056182861328125, -0.0216827392578125, 0.037689208984375, -0.033050537109375, -0.0107269287109375, -0.01004791259765625, -0.045013427734375, 0.031463623046875, 0.01039886474609375, -0.005931854248046875, 0.0141754150390625, -0.0176544189453125, -0.0251312255859375, 0.0061187744140625, -0.024566650390625, -0.02801513671875, -0.0015745162963867188, 0.01468658447265625, -0.0240936279296875, -0.003688812255859375, -0.0241546630859375, -0.0273284912109375, -0.0236663818359375, -0.007572174072265625, -0.0299530029296875, -0.0208892822265625, -0.0129241943359375, -0.0289306640625, 0.0770263671875, 0.053955078125, 0.0161895751953125, 0.01739501953125, 0.0017766952514648438, -0.05035400390625, 0.029083251953125, -0.047271728515625, -0.004360198974609375, 0.049713134765625, -0.01480865478515625, -0.04296875, 0.0072479248046875, 0.017913818359375, 0.0031871795654296875, -0.043914794921875, 0.02685546875, 0.040985107421875, -0.043609619140625, -0.054718017578125, -0.041839599609375, 0.0047760009765625, -0.034393310546875, 0.00940704345703125, 0.016876220703125, 0.047393798828125, -0.0211944580078125, -0.029754638671875, -0.01551055908203125, -0.025299072265625, 0.0005826950073242188, -0.030975341796875, -0.01421356201171875, 0.046630859375, -0.007205963134765625, -0.01256561279296875, 0.0711669921875, 0.0469970703125, 0.0118408203125, -0.037139892578125, 0.00001055002212524414, -0.0416259765625, -0.004306793212890625, -0.03997802734375, 0.00748443603515625, 0.0073394775390625, 0.01187896728515625, -0.036468505859375, -0.018157958984375, 0.00286102294921875, 0.0184326171875, 0.01568603515625, -0.025360107421875, -0.041107177734375, 0.0218505859375, -0.0196075439453125, 0.048431396484375, 0.01244354248046875, 0.001468658447265625, -0.012481689453125, 0.08660888671875, -0.038055419921875, -0.04376220703125, -0.060211181640625, 0.00835418701171875, 0.0155792236328125, 0.0081329345703125, -0.003559112548828125, -0.004581451416015625, -0.03082275390625, -0.010101318359375, -0.0018558502197265625, 0.025360107421875, -0.0001418590545654297, -0.00811004638671875, -0.0308380126953125, 0.032073974609375, -0.0021114349365234375, -0.017364501953125, 0.032196044921875, -0.002773284912109375, -0.01251220703125, 0.031890869140625, 0.0234375, -0.0191192626953125, -0.022857666015625, 0.059722900390625, -0.03448486328125, -0.041961669921875, 0.01349639892578125, 0.0190277099609375, 0.034210205078125, -0.0026683807373046875, 0.0108489990234375, 0.07745361328125, 0.0256500244140625, -0.053131103515625, 0.022705078125, -0.00624847412109375, 0.010101318359375, 0.0219268798828125, 0.0312347412109375, 0.011688232421875, -0.04473876953125, 0.0284271240234375, -0.024169921875, 0.0438232421875, -0.033050537109375, -0.0254364013671875, -0.006793975830078125, -0.0220794677734375, 0.0284271240234375, -0.00832366943359375, 0.006893157958984375, -0.0065765380859375, 0.004734039306640625, 0.0031280517578125, -0.020172119140625, -0.016387939453125, 0.0277099609375, -0.0010786056518554688, 0.046112060546875, -0.0004241466522216797, 0.01149749755859375, 0.020355224609375, -0.038177490234375, 0.0177764892578125, -0.0021572113037109375, 0.0230255126953125, 0.00897216796875, -0.01277923583984375, -0.0034351348876953125, 0.0133514404296875, 0.0218505859375, -0.0197906494140625, 0.01448822021484375, 0.038970947265625, 0.052459716796875, -0.014892578125, -0.01197052001953125, -0.025146484375, -0.027740478515625, 0.01290130615234375, 0.036865234375, 0.04473876953125, 0.01654052734375, -0.0208587646484375, -0.0233154296875, 0.029876708984375, -0.0703125, -0.005870819091796875, -0.00777435302734375, -0.00449371337890625, 0.0287017822265625, -0.0009708404541015625, -0.00273895263671875, 0.02203369140625, -0.02154541015625, -0.0137939453125, 0.043182373046875, -0.01058197021484375, 0.0286102294921875, -0.016510009765625, -0.0003235340118408203, -0.004154205322265625, 0.0028591156005859375, 0.0200958251953125, -0.0182342529296875, 0.09246826171875, -0.0238800048828125, 0.0251922607421875, 0.005619049072265625, -0.060699462890625, 0.018341064453125, 0.032196044921875, -0.00940704345703125, 0.0032520294189453125, 0.0220947265625, 0.03253173828125, 0.003002166748046875, -0.055755615234375, -0.0004038810729980469, 0.036163330078125, 0.02264404296875, 0.00769805908203125, 0.026092529296875, -0.05322265625, -0.00833892822265625, -0.0177459716796875, -0.04266357421875, -0.00461578369140625, 0.036224365234375, 0.03704833984375, 0.03125, 0.05157470703125, 0.0014467239379882812, 0.0101165771484375, 0.023651123046875, 0.021087646484375, -0.034515380859375, 0.01018524169921875, -0.031890869140625, 0.026275634765625, -0.0321044921875, 0.042083740234375, 0.062408447265625, -0.0169830322265625, 0.0210418701171875, 0.003650665283203125, 0.0057525634765625, 0.007568359375, -0.01160430908203125, -0.0258331298828125, -0.0116119384765625, -0.057464599609375, -0.006481170654296875, 0.028900146484375, 0.0626220703125, -0.0008087158203125, -0.042083740234375, 0.0237579345703125, 0.038330078125, -0.07171630859375, -0.11236572265625, -0.0208282470703125, -0.06671142578125, 0.049591064453125, -0.049163818359375, -0.013946533203125, -0.0171966552734375, -0.0196990966796875, 0.0223236083984375, -0.028167724609375, -0.01203155517578125, -0.064208984375, -0.046630859375, -0.06170654296875, 0.055908203125, -0.010589599609375, 0.0216827392578125, 0.00673675537109375, 0.06842041015625, 0.00299072265625, -0.07061767578125, -0.0163421630859375, -0.02117919921875, -0.0379638671875, -0.006565093994140625, 0.039459228515625, -0.082763671875, -0.0198974609375, 0.0156402587890625, -0.03961181640625, -0.0101470947265625, 0.032958984375, 0.0032672882080078125, -0.018096923828125, -0.006816864013671875, 0.00858306884765625, 0.016021728515625, 0.0129852294921875, 0.0243682861328125, 0.0303497314453125, -0.0290679931640625, -0.0201568603515625, 0.0157012939453125, -0.020355224609375, 0.04107666015625, -0.00963592529296875, -0.0164031982421875, 0.0245819091796875, 0.034820556640625, 0.0399169921875, 0.012237548828125, -0.0147552490234375, -0.019561767578125, 0.041412353515625, 0.017852783203125, 0.0626220703125, -0.032073974609375, 0.044464111328125, -0.0207061767578125, 0.013397216796875, 0.0050048828125, 0.0026912689208984375, 0.005489349365234375, -0.033172607421875, -0.043426513671875, 0.0408935546875, -0.01727294921875, -0.05841064453125, 0.04681396484375, -0.0222625732421875, 0.0218505859375, -0.022796630859375, 0.02630615234375, -0.0709228515625, -0.005649566650390625, -0.005466461181640625, 0.0189361572265625, -0.0301666259765625, -0.07025146484375, -0.028717041015625, -0.0051116943359375, -0.08258056640625, -0.002559661865234375, -0.033233642578125, -0.037109375, 0.0136871337890625, -0.031005859375, -0.030548095703125, -0.045806884765625, 0.042633056640625, -0.0538330078125, 0.015411376953125, 0.018524169921875, 0.0119171142578125, -0.0143585205078125, -0.03533935546875, -0.0300140380859375, -0.0810546875, -0.01041412353515625, -0.0198974609375, 0.060638427734375, 0.0251312255859375, -0.0216827392578125, -0.0227813720703125, 0.033966064453125, -0.0022335052490234375, 0.0162353515625, 0.020416259765625, 0.0096588134765625, -0.00818634033203125, -0.02850341796875, -0.002742767333984375, -0.045684814453125, 0.0115966796875, 0.0029163360595703125, -0.039398193359375, 0.0125885009765625, -0.025421142578125, -0.0281219482421875, 0.021575927734375, -0.0379638671875, -0.060211181640625, 0.0036163330078125, 0.0081634521484375, -0.03070068359375, -0.00980377197265625, -0.017425537109375, 0.0204010009765625, -0.037017822265625, 0.01435089111328125, -0.0038738250732421875, -0.009735107421875, 0.0085601806640625, 0.0482177734375, 0.040008544921875, -0.0167388916015625, -0.0236358642578125, 0.036224365234375, 0.02264404296875, 0.0124053955078125, 0.0723876953125, 0.034210205078125, -0.00914764404296875, 0.044281005859375, 0.0174713134765625, -0.0204925537109375, -0.0101318359375, 0.06231689453125, 0.0233612060546875, 0.005462646484375, -0.01511383056640625, 0.01012420654296875, 0.002422332763671875, 0.00463104248046875, -0.015106201171875, 0.01490020751953125, -0.019500732421875, 0.005466461181640625, 0.007465362548828125, -0.0008206367492675781, -0.0285797119140625, -0.029083251953125, -0.017913818359375, 0.045867919921875, 0.04608154296875, 0.0628662109375, -0.027587890625, 0.05108642578125, 0.09210205078125, -0.0033969879150390625, 0.01470947265625, 0.06671142578125, -0.024627685546875, 0.0433349609375, 0.02606201171875, -0.01324462890625, -0.033416748046875, 0.01003265380859375, -0.020355224609375, -0.035125732421875, -0.050262451171875, -0.08331298828125, 0.0029430389404296875, 0.059783935546875, 0.00988006591796875, 0.0204010009765625, 0.033111572265625, 0.01087188720703125, 0.0007295608520507812, -0.00875091552734375, 0.01312255859375, -0.0159149169921875, -0.033416748046875, 0.039093017578125, -0.011322021484375, -0.001781463623046875, -0.01715087890625, 0.03631591796875, 0.01131439208984375, -0.0012035369873046875, -0.0218658447265625, 0.040924072265625, 0.01143646240234375, 0.010162353515625, 0.0301666259765625, -0.0103302001953125, 0.01224517822265625, -0.02197265625, 0.006717681884765625, -0.0121917724609375, 0.004955291748046875, -0.004062652587890625, 0.021759033203125, -0.0153961181640625, -0.0101470947265625, 0.0421142578125, -0.02459716796875, -0.0271453857421875, 0.0268402099609375, 0.0215606689453125, -0.007106781005859375, -0.039398193359375, -0.041412353515625, 0.03155517578125, 0.037200927734375, -0.01511383056640625, -0.0127410888671875, -0.023590087890625, 0.01389312744140625, -0.00872039794921875, -0.0301971435546875, 0.01702880859375, 0.0199432373046875, -0.0200653076171875, -0.0184478759765625, 0.0006327629089355469, -0.01132965087890625, -0.01708984375, -0.00689697265625, -0.01132965087890625, 0.013580322265625, -0.011810302734375, 0.0472412109375, -0.02532958984375, -0.029083251953125, 0.0197601318359375, 0.0164337158203125, 0.021636962890625, -0.00360107421875, -0.0224456787109375, -0.03411865234375, -0.030517578125, -0.02642822265625, -0.052825927734375, -0.0416259765625, -0.0162811279296875, 0.00933074951171875, -0.00797271728515625, 0.0187530517578125, -0.041229248046875, -0.027923583984375, 0.020111083984375, -0.00732421875, -0.012969970703125, 0.018096923828125, -0.032135009765625, 0.07000732421875, 0.031463623046875, 0.01006317138671875, 0.01137542724609375, 0.04901123046875, 0.0202178955078125, -0.01534271240234375, -0.0440673828125, -0.04473876953125, 0.03662109375, 0.029449462890625, 0.002353668212890625, 0.008392333984375, 0.03448486328125, 0.0258636474609375, 0.01241302490234375, 0.0142669677734375, 0.0018663406372070312, -0.020355224609375, 0.00649261474609375, 0.02435302734375, -0.01210784912109375, 0.032928466796875, -0.0033092498779296875, 0.00685882568359375, -0.023284912109375, -0.0125274658203125, 0.0389404296875, -0.01560211181640625, 0.03173828125, -0.0098419189453125, -0.04632568359375, 0.03759765625, 0.044189453125, 0.01507568359375, 0.0166473388671875, 0.00002568960189819336, 0.00832366943359375, -0.0197296142578125, 0.004291534423828125, -0.0252227783203125, 0.00955963134765625, 0.036224365234375, -0.01458740234375, -0.01873779296875, 0.0068359375, -0.0156402587890625, -0.00989532470703125, 0.032928466796875, 0.0333251953125, -0.04498291015625, -0.0138092041015625, -0.0008392333984375, -0.031402587890625, -0.043426513671875, -0.0218963623046875, 0.017913818359375, -0.01000213623046875, 0.048095703125, 0.04119873046875, -0.015350341796875, 0.0242919921875, -0.0005588531494140625, -0.0176239013671875, -0.0293121337890625, -0.004817962646484375, 0.01244354248046875, -0.02789306640625, 0.04547119140625, 0.003086090087890625, 0.0297393798828125, -0.0243682861328125, 0.003452301025390625, -0.01261138916015625, -0.0228729248046875, -0.0450439453125, -0.0033855438232421875, -0.0184478759765625, -0.01329803466796875, -0.0201873779296875, 0.018798828125, 0.0273590087890625, 0.030731201171875, 0.0025653839111328125, -0.0382080078125, 0.0219879150390625, -0.0205535888671875, -0.0399169921875, -0.01448822021484375, 0.03460693359375, 0.037445068359375, -0.032135009765625, 0.034637451171875, -0.0067596435546875, -0.028411865234375, -0.016387939453125, -0.03814697265625, 0.0238037109375, -0.0272979736328125, -0.015899658203125, -0.01256561279296875, 0.0298919677734375, 0.02728271484375, -0.0032100677490234375, 0.045379638671875, -0.0792236328125, -0.06707763671875, 0.0210418701171875, -0.0699462890625, -0.05755615234375, -0.020721435546875, -0.035797119140625, 0.08392333984375, -0.0032100677490234375, -0.003582000732421875, 0.0015401840209960938, 0.050079345703125, -0.008544921875, 0.0167388916015625, -0.013946533203125, 0.037933349609375, 0.02490234375, 0.0277099609375, -0.01678466796875, -0.00543975830078125, 0.0214691162109375, 0.021575927734375, 0.0178680419921875, 0.00164794921875, -0.0272674560546875, -0.011962890625, -0.005817413330078125, 0.0736083984375, 0.03436279296875, -0.0013427734375, 0.0169677734375, 0.04632568359375, 0.00907135009765625, -0.035369873046875, 0.027801513671875, -0.054962158203125, -0.01092529296875, 0.03753662109375, 0.01605224609375, 0.0250091552734375, -0.0039215087890625, -0.0214996337890625, -0.04193115234375, 0.024627685546875, 0.040740966796875, -0.006404876708984375, -0.006351470947265625, 0.029754638671875, 0.032073974609375, -0.0303192138671875, -0.07183837890625, -0.004947662353515625, 0.023468017578125, 0.0119476318359375, -0.0239715576171875, 0.015411376953125, 0.009246826171875, -0.01166534423828125, -0.0401611328125, -0.0188446044921875, -0.0061187744140625, -0.0216064453125, -0.01317596435546875, 0.00629425048828125, 0.01580810546875, -0.007648468017578125, 0.016082763671875, 0.01163482666015625, -0.019989013671875, -0.020599365234375, -0.01229095458984375, 0.02587890625, 0.03656005859375, -0.00423431396484375, -0.00591278076171875, -0.011566162109375, -0.00891876220703125, 0.037872314453125, 0.0252685546875, 0.0029926300048828125, -0.019927978515625, -0.0221099853515625, 0.00800323486328125, 0.025360107421875, 0.01520538330078125, 0.05584716796875, -0.0557861328125, 0.0501708984375, 0.01708984375, 0.05914306640625, 0.00861358642578125, 0.0311279296875, -0.035980224609375, -0.0154266357421875, -0.0297088623046875, 0.04150390625, -0.0154571533203125, 0.04486083984375, -0.031280517578125, -0.008819580078125, -0.023406982421875, 0.049468994140625, 0.0187225341796875, 0.00566864013671875, 0.004520416259765625, -0.0028629302978515625, -0.002777099609375, 0.01200103759765625, 0.02587890625, -0.0154266357421875, 0.041229248046875, -0.01715087890625, 0.01471710205078125, 0.0003218650817871094, -0.03570556640625, 0.003582000732421875, 0.015594482421875, 0.0250244140625, -0.00661468505859375, 0.0192718505859375, 0.01544189453125, -0.03265380859375, -0.00296783447265625, 0.0203399658203125, 0.0458984375, 0.0301971435546875, -0.023681640625, -0.0021038055419921875, -0.030975341796875, -0.0230560302734375, 0.00525665283203125, 0.0209503173828125, -0.031585693359375, 0.05340576171875, 0.07525634765625, -0.033782958984375, 0.01387786865234375, 0.0258636474609375, 0.0253753662109375, 0.005645751953125, 0.026123046875, 0.0162353515625, -0.0137786865234375, -0.0267791748046875, 0.0009813308715820312, 0.04052734375, 0.01511383056640625, -0.0038547515869140625, -0.001377105712890625, 0.01012420654296875, 0.03411865234375, -0.0221405029296875, 0.031219482421875, 0.0312347412109375, -0.0301055908203125, 0.00856781005859375, 0.02197265625, -0.0184478759765625, -0.0143890380859375, 0.0169830322265625, 0.02294921875, 0.006404876708984375, -0.01557159423828125, 0.007770538330078125, 0.020477294921875, 0.01336669921875, 0.00321197509765625, -0.0406494140625, -0.054229736328125, -0.016998291015625, 0.021820068359375, -0.0165863037109375, -0.002338409423828125, 0.016815185546875, 0.0000014901161193847656, -0.0044708251953125, -0.01983642578125, -0.0087432861328125, 0.005092620849609375, -0.01458740234375, 0.0256195068359375, -0.006778717041015625, 0.0186920166015625, 0.00453948974609375, -0.0160675048828125, 0.05230712890625, 0.002368927001953125, 0.03387451171875, 0.00585174560546875, 0.0016660690307617188, 0.03173828125, 0.04742431640625, 0.06207275390625, 0.0174560546875, 0.0264739990234375, 0.0128173828125, -0.0297088623046875, -0.0401611328125, -0.027099609375, -0.0166015625, -0.038238525390625, -0.030029296875, -0.00930023193359375, -0.0288238525390625, -0.079345703125, -0.016448974609375, 0.005580902099609375, 0.005046844482421875, 0.004413604736328125, -0.0703125, 0.06903076171875, -0.056884765625, 0.01485443115234375, -0.028106689453125, 0.05517578125, -0.0093536376953125, 0.01291656494140625, -0.06756591796875, -0.0305023193359375, -0.01192474365234375, 0.042816162109375, -0.00824737548828125, 0.0080108642578125, 0.04632568359375, -0.02374267578125, -0.0430908203125, 0.0045318603515625, 0.009033203125, 0.046661376953125, -0.0131683349609375, 0.005992889404296875, 0.0167236328125, 0.01079559326171875, -0.032745361328125, -0.04071044921875, 0.0099639892578125, -0.01172637939453125, -0.00826263427734375, -0.00255584716796875, -0.0017042160034179688, 0.0109100341796875, -0.04022216796875, -0.073486328125, 0.056610107421875, -0.012664794921875, -0.03680419921875, -0.089111328125, -0.00775146484375, 0.019744873046875, -0.01241302490234375, -0.04034423828125, -0.04193115234375, -0.078369140625, 0.0283050537109375, 0.007152557373046875, -0.00872039794921875, 0.036163330078125, -0.046051025390625, -0.0784912109375, -0.0167236328125, -0.0095977783203125, 0.03363037109375, -0.01343536376953125, -0.00009953975677490234, 0.022613525390625, 0.038330078125, -0.0003743171691894531, 0.01355743408203125, 0.0141143798828125, -0.049713134765625, -0.00640869140625, 0.0012798309326171875, -0.056854248046875, -0.0025177001953125, 0.1170654296875, 0.040435791015625, 0.05084228515625, -0.028594970703125, -0.0263671875, -0.040283203125, -0.033111572265625, -0.0188140869140625, 0.0176849365234375, -0.041534423828125, 0.0298919677734375, -0.0003666877746582031, -0.01074981689453125, -0.0241851806640625, -0.01079559326171875, -0.038818359375, -0.027801513671875, -0.01134490966796875, 0.016143798828125, -0.05633544921875, -0.01503753662109375, 0.07586669921875, -0.0306243896484375, 0.02789306640625, 0.005069732666015625, 0.019622802734375, 0.05078125, 0.021514892578125, -0.0059814453125, 0.0294342041015625, -0.04522705078125, 0.01503753662109375, 0.00122833251953125, -0.00426483154296875, -0.031707763671875, 0.0142059326171875, 0.007808685302734375, 0.0185546875, 0.00408935546875, 0.00128173828125, -0.04815673828125, 0.0173492431640625, -0.027435302734375, 0.0909423828125, -0.043792724609375, -0.01983642578125, -0.01451873779296875, 0.0015811920166015625, 0.029571533203125, 0.00557708740234375, 0.09039306640625, -0.03155517578125, -0.0089263916015625, 0.006847381591796875, -0.043670654296875, -0.01131439208984375, 0.0023040771484375, -0.0295257568359375, -0.0251617431640625, -0.005992889404296875 ]
855d9bac7087107003bde0df6adc94f61efcdeb8
Wordpress Stackexchange Q: Setting 'autoload' to 'no' with Settings API I've looked at the Settings API codex page, https://codex.wordpress.org/Settings_API, and I can't find anything related to setting autoload to no for any options using the Settings API. Is there any way to achieve this using the Setttings API? Asking because I have many DB table options entries that were created using register_setting and all of the options have autoload set to yes. I need to optimize this because hundreds of entries are being loaded on every page load unecessarily. A: The only way to accomplish this is to add the option to the database yourself before the Settings API does so. To do this, add a 'sanitize_callback' to the register_settings function: register_setting ('my_options', 'my_option_name', array ('type' => 'string', 'sanitize_callback' => 'my_function_name')); Then, in your function, update the option yourself: function my_function_name ($value) { update_option ('my_option_name', $value, false); return $value; } `
Q: Setting 'autoload' to 'no' with Settings API I've looked at the Settings API codex page, https://codex.wordpress.org/Settings_API, and I can't find anything related to setting autoload to no for any options using the Settings API. Is there any way to achieve this using the Setttings API? Asking because I have many DB table options entries that were created using register_setting and all of the options have autoload set to yes. I need to optimize this because hundreds of entries are being loaded on every page load unecessarily. A: The only way to accomplish this is to add the option to the database yourself before the Settings API does so. To do this, add a 'sanitize_callback' to the register_settings function: register_setting ('my_options', 'my_option_name', array ('type' => 'string', 'sanitize_callback' => 'my_function_name')); Then, in your function, update the option yourself: function my_function_name ($value) { update_option ('my_option_name', $value, false); return $value; } ` A: After trying many possible solutions (most of them go into an infinite loop) this one is working for me. I use the add_option_{$option} hook and then I do the following: public function change_autoload_to_no( $option, $value ) { update_option( $option, '', 'no' ); update_option( $option, $value, 'no' ); } This might not be the most "elegant" solution but it works. I guess other option is to modify the value directly with sql.
wordpress
{ "language": "en", "length": 221, "provenance": "stackexchange_00019.jsonl.gz:504117", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/369143" }
[ 0.03839111328125, 0.0032787322998046875, 0.00783538818359375, -0.0201263427734375, -0.00018012523651123047, -0.020721435546875, 0.0126190185546875, -0.022491455078125, 0.01715087890625, 0.0263214111328125, -0.034942626953125, 0.0204925537109375, -0.00812530517578125, -0.005992889404296875, -0.021209716796875, -0.031951904296875, 0.0325927734375, -0.062225341796875, -0.0280609130859375, -0.01666259765625, -0.0008864402770996094, 0.003261566162109375, 0.02032470703125, 0.04071044921875, 0.031646728515625, -0.04193115234375, -0.0018587112426757812, -0.0213165283203125, 0.015533447265625, 0.002044677734375, 0.01119232177734375, 0.01456451416015625, -0.00043654441833496094, 0.04217529296875, -0.0223388671875, 0.0231781005859375, 0.01904296875, 0.0212249755859375, -0.0023822784423828125, 0.05328369140625, 0.0109100341796875, -0.01154327392578125, -0.0173797607421875, 0.03546142578125, -0.0272674560546875, -0.02325439453125, 0.03192138671875, -0.01338958740234375, 0.006092071533203125, -0.049896240234375, 0.0184478759765625, 0.018951416015625, 0.043304443359375, -0.018585205078125, 0.0002665519714355469, 0.02142333984375, -0.056610107421875, 0.0516357421875, 0.005428314208984375, 0.0115203857421875, 0.008270263671875, 0.0175933837890625, -0.0015583038330078125, 0.00835418701171875, 0.0029315948486328125, -0.0104522705078125, -0.049407958984375, 0.0212554931640625, -0.052886962890625, -0.006275177001953125, 0.039154052734375, -0.05078125, 0.0146484375, 0.0030078887939453125, -0.0416259765625, -0.0156707763671875, 0.0234222412109375, 0.0020732879638671875, 0.0237579345703125, -0.0265350341796875, 0.0248260498046875, -0.0238494873046875, 0.03363037109375, 0.0241241455078125, -0.0026264190673828125, 0.029296875, 0.0030345916748046875, -0.0084381103515625, 0.007904052734375, -0.01136016845703125, -0.01129150390625, -0.0264434814453125, 0.020050048828125, 0.0221710205078125, -0.037109375, -0.01447296142578125, 0.01812744140625, 0.00679779052734375, 0.0019073486328125, -0.0003001689910888672, 0.038238525390625, -0.054290771484375, 0.042022705078125, -0.0220794677734375, 0.01325225830078125, 0.0889892578125, -0.0005583763122558594, -0.046234130859375, -0.0002377033233642578, -0.017608642578125, 0.01495361328125, -0.00835418701171875, 0.0280609130859375, 0.024139404296875, -0.0283660888671875, -0.046661376953125, -0.024078369140625, -0.004482269287109375, -0.023651123046875, -0.037353515625, 0.0011034011840820312, 0.0222930908203125, -0.020538330078125, 0.01229095458984375, 0.00119781494140625, -0.00782012939453125, 0.010589599609375, -0.0183868408203125, -0.041900634765625, 0.0229644775390625, -0.03729248046875, 0.0157470703125, 0.05743408203125, 0.0231781005859375, -0.0014276504516601562, -0.0262298583984375, 0.019805908203125, -0.021270751953125, -0.025604248046875, 0.040435791015625, 0.0250701904296875, -0.045074462890625, -0.042266845703125, 0.005168914794921875, 0.0198822021484375, 0.0038623809814453125, 0.0306243896484375, 0.0240936279296875, -0.00940704345703125, 0.00982666015625, -0.005435943603515625, -0.004131317138671875, 0.03155517578125, 0.0252532958984375, -0.0679931640625, 0.0276031494140625, 0.0038604736328125, -0.0033473968505859375, -0.0482177734375, -0.027740478515625, -0.0618896484375, -0.032440185546875, 0.027313232421875, -0.005535125732421875, -0.022186279296875, 0.05340576171875, 0.0270843505859375, 0.005695343017578125, 0.0183868408203125, 0.0290069580078125, 0.0092315673828125, 0.0300140380859375, 0.01253509521484375, -0.0126495361328125, -0.0127410888671875, -0.0208587646484375, 0.01800537109375, 0.026580810546875, 0.018707275390625, -0.01457977294921875, -0.038116455078125, -0.05340576171875, 0.040130615234375, -0.0300445556640625, -0.040771484375, 0.04736328125, -0.004528045654296875, 0.069580078125, 0.01425933837890625, 0.0166015625, -0.0086212158203125, -0.003284454345703125, -0.041595458984375, 0.01018524169921875, -0.013702392578125, -0.023223876953125, 0.0225830078125, -0.00525665283203125, 0.00887298583984375, 0.0086212158203125, -0.0148468017578125, -0.0175323486328125, -0.014923095703125, -0.012115478515625, -0.06982421875, -0.021087646484375, -0.0198974609375, 0.020416259765625, 0.001979827880859375, 0.0191192626953125, 0.0028533935546875, -0.005252838134765625, -0.0146331787109375, 0.01003265380859375, -0.0033702850341796875, 0.034423828125, 0.0126800537109375, 0.07598876953125, -0.0008950233459472656, 0.062255859375, 0.007678985595703125, -0.059967041015625, 0.0182952880859375, 0.02587890625, 0.04595947265625, -0.035736083984375, 0.0037250518798828125, -0.03289794921875, 0.06158447265625, -0.04229736328125, 0.04205322265625, 0.0628662109375, 0.018310546875, 0.0136566162109375, -0.034210205078125, -0.00780487060546875, -0.04241943359375, -0.036651611328125, -0.002269744873046875, 0.060516357421875, 0.00858306884765625, -0.01399993896484375, -0.028778076171875, 0.0225982666015625, 0.036773681640625, 0.013580322265625, 0.0091094970703125, 0.0160980224609375, -0.01641845703125, -0.0240020751953125, -0.0179443359375, -0.02734375, 0.037445068359375, -0.07135009765625, 0.007213592529296875, 0.046173095703125, -0.06414794921875, -0.04327392578125, 0.0694580078125, -0.041259765625, 0.00586700439453125, -0.01995849609375, 0.0306396484375, -0.024566650390625, 0.0187225341796875, 0.006412506103515625, 0.0265045166015625, 0.018585205078125, -0.01412200927734375, 0.017730712890625, -0.00004363059997558594, -0.05322265625, -0.005687713623046875, -0.0037746429443359375, 0.0430908203125, -0.050567626953125, -0.01409149169921875, 0.01206207275390625, -0.009521484375, -0.01401519775390625, -0.036865234375, -0.024749755859375, -0.04632568359375, -0.0077667236328125, 0.0030956268310546875, -0.029144287109375, 0.022064208984375, -0.002010345458984375, -0.0328369140625, 0.0006265640258789062, 0.020538330078125, 0.034515380859375, -0.03594970703125, 0.0169525146484375, 0.04833984375, -0.003932952880859375, 0.031829833984375, -0.04168701171875, 0.030914306640625, -0.0276947021484375, 0.0538330078125, 0.0731201171875, 0.000759124755859375, 0.01386260986328125, 0.00047278404235839844, 0.0216827392578125, 0.00396728515625, -0.0220947265625, -0.024871826171875, -0.004215240478515625, -0.025787353515625, 0.0160064697265625, 0.0219573974609375, 0.06451416015625, -0.03582763671875, -0.055816650390625, -0.03839111328125, 0.0251922607421875, -0.05999755859375, -0.033477783203125, 0.044158935546875, -0.004024505615234375, 0.0018548965454101562, -0.00467681884765625, -0.00954437255859375, -0.0318603515625, 0.004535675048828125, -0.0087890625, -0.0082244873046875, -0.037872314453125, -0.02130126953125, -0.032684326171875, -0.0386962890625, 0.01336669921875, 0.0126495361328125, -0.00514984130859375, -0.007434844970703125, 0.076171875, -0.0008106231689453125, -0.052459716796875, -0.01201629638671875, -0.0185546875, 0.00701904296875, 0.0272216796875, 0.016021728515625, -0.02490234375, -0.0004906654357910156, 0.003574371337890625, 0.016448974609375, 0.02679443359375, -0.018798828125, -0.01226806640625, -0.0172271728515625, 0.0166168212890625, -0.003734588623046875, 0.0221710205078125, 0.01146697998046875, 0.0151824951171875, -0.0115814208984375, -0.031524658203125, -0.0136566162109375, 0.02130126953125, -0.0217742919921875, -0.04052734375, 0.020782470703125, -0.030120849609375, -0.022796630859375, -0.00507354736328125, -0.0279541015625, -0.0098724365234375, 0.0251312255859375, -0.00580596923828125, -0.01386260986328125, -0.024505615234375, -0.06427001953125, 0.00968170166015625, 0.051422119140625, 0.0026493072509765625, -0.0197906494140625, 0.0130157470703125, 0.015533447265625, -0.00736236572265625, -0.02960205078125, -0.057830810546875, -0.043548583984375, 0.04534912109375, -0.027008056640625, 0.0090179443359375, -0.0201416015625, -0.01024627685546875, 0.0169525146484375, 0.1011962890625, -0.005584716796875, -0.0002772808074951172, 0.01546478271484375, 0.0220794677734375, -0.06982421875, -0.043914794921875, -0.045318603515625, 0.0154266357421875, -0.009521484375, -0.01290130615234375, -0.006473541259765625, -0.032928466796875, 0.0161895751953125, -0.033660888671875, 0.0250244140625, -0.01873779296875, 0.02227783203125, -0.0264129638671875, -0.01200103759765625, -0.0009760856628417969, -0.0142059326171875, -0.03985595703125, -0.01137542724609375, -0.0239715576171875, -0.1004638671875, -0.0106048583984375, -0.01611328125, 0.055908203125, 0.0267181396484375, -0.041046142578125, -0.01071929931640625, 0.035003662109375, 0.0205535888671875, -0.046234130859375, 0.03521728515625, 0.0027637481689453125, -0.03131103515625, 0.015289306640625, 0.02484130859375, -0.040496826171875, -0.00437164306640625, -0.018798828125, -0.0579833984375, 0.0321044921875, -0.005062103271484375, 0.0655517578125, 0.01873779296875, -0.02618408203125, -0.03155517578125, -0.02789306640625, -0.061370849609375, -0.0172882080078125, -0.0457763671875, -0.00812530517578125, -0.023193359375, -0.0516357421875, 0.048431396484375, -0.0574951171875, -0.00821685791015625, 0.01515960693359375, 0.06591796875, 0.009857177734375, -0.001987457275390625, -0.009124755859375, 0.0040435791015625, 0.01074981689453125, 0.01053619384765625, -0.01294708251953125, -0.02691650390625, -0.01277923583984375, 0.02581787109375, -0.01212310791015625, -0.0076446533203125, -0.021240234375, 0.04058837890625, 0.009063720703125, 0.005222320556640625, -0.01275634765625, -0.028076171875, 0.01407623291015625, -0.0008168220520019531, 0.01032257080078125, 0.004611968994140625, 0.040374755859375, 0.006744384765625, -0.023223876953125, -0.00020611286163330078, -0.00623321533203125, -0.01502227783203125, 0.007556915283203125, 0.043853759765625, 0.0256805419921875, 0.032379150390625, -0.00225067138671875, 0.00928497314453125, 0.014739990234375, 0.01132965087890625, -0.0204315185546875, 0.0121917724609375, 0.01187896728515625, 0.032958984375, 0.00646209716796875, 0.030181884765625, -0.04412841796875, -0.0149688720703125, 0.07122802734375, -0.037322998046875, -0.0670166015625, -0.00608062744140625, -0.045806884765625, 0.0860595703125, 0.058502197265625, -0.00357818603515625, 0.053192138671875, 0.00616455078125, -0.013031005859375, -0.006069183349609375, -0.029388427734375, -0.007785797119140625, -0.040252685546875, 0.053497314453125, 0.02545166015625, -0.0167694091796875, 0.005168914794921875, 0.042938232421875, 0.0134124755859375, 0.0205535888671875, -0.00801849365234375, -0.01349639892578125, 0.01284027099609375, -0.006336212158203125, 0.033416748046875, -0.00226593017578125, 0.011810302734375, -0.03582763671875, 0.03009033203125, -0.0278778076171875, -0.034515380859375, 0.0193634033203125, 0.0457763671875, -0.05462646484375, -0.01171112060546875, 0.02703857421875, -0.015899658203125, -0.0228118896484375, 0.0250091552734375, -0.042022705078125, -0.071044921875, -0.04583740234375, 0.00611114501953125, 0.05889892578125, -0.0168304443359375, 0.00902557373046875, -0.0233612060546875, -0.0223541259765625, -0.0238189697265625, -0.01458740234375, -0.0262908935546875, -0.0208587646484375, -0.01885986328125, -0.03216552734375, -0.03662109375, -0.03277587890625, -0.00040149688720703125, 0.0030364990234375, -0.0083160400390625, -0.041595458984375, 0.05438232421875, -0.028778076171875, 0.05267333984375, -0.01145172119140625, -0.02789306640625, 0.0296173095703125, 0.0262908935546875, 0.01424407958984375, -0.0029735565185546875, -0.0413818359375, -0.02313232421875, -0.040374755859375, -0.0007376670837402344, -0.0193023681640625, -0.031982421875, -0.0157012939453125, 0.00420379638671875, 0.02264404296875, 0.0340576171875, -0.0311431884765625, -0.0753173828125, 0.024932861328125, 0.0017499923706054688, 0.019256591796875, 0.0294342041015625, 0.00423431396484375, 0.0207977294921875, -0.027557373046875, 0.03033447265625, -0.0052032470703125, -0.0123748779296875, -0.0292816162109375, 0.0092620849609375, -0.0243072509765625, -0.0360107421875, -0.005428314208984375, 0.03472900390625, -0.055999755859375, 0.04010009765625, 0.062225341796875, -0.005207061767578125, 0.05377197265625, -0.0306396484375, -0.0084381103515625, -0.001865386962890625, 0.0364990234375, -0.0391845703125, 0.0731201171875, 0.0016107559204101562, -0.0032520294189453125, -0.024169921875, -0.017852783203125, -0.01068115234375, 0.016815185546875, 0.00295257568359375, -0.0012025833129882812, -0.0196990966796875, -0.071533203125, 0.0865478515625, 0.09027099609375, -0.0095977783203125, 0.045257568359375, 0.0204925537109375, -0.0114898681640625, 0.0355224609375, 0.055816650390625, -0.05523681640625, -0.032073974609375, 0.01163482666015625, 0.0229644775390625, 0.0059661865234375, 0.0018558502197265625, 0.0020503997802734375, 0.002574920654296875, 0.05999755859375, 0.050750732421875, -0.0950927734375, 0.0279388427734375, 0.044891357421875, -0.0048675537109375, -0.038330078125, -0.004688262939453125, -0.041107177734375, -0.0213623046875, 0.0633544921875, -0.05322265625, -0.0258026123046875, 0.0272979736328125, 0.0006852149963378906, -0.0169830322265625, -0.0017719268798828125, 0.004817962646484375, 0.004947662353515625, 0.0242919921875, 0.023590087890625, -0.020294189453125, 0.03778076171875, 0.0075225830078125, 0.0251922607421875, 0.01727294921875, -0.04425048828125, -0.06414794921875, -0.00856781005859375, 0.009246826171875, -0.068359375, 0.0029201507568359375, -0.000008881092071533203, 0.01200103759765625, 0.0379638671875, -0.020660400390625, 0.037506103515625, -0.000988006591796875, 0.031982421875, -0.00380706787109375, -0.0270233154296875, 0.02239990234375, 0.0272979736328125, -0.022216796875, 0.0189361572265625, 0.003879547119140625, -0.030181884765625, -0.023956298828125, -0.0239715576171875, 0.06817626953125, -0.005401611328125, -0.0038909912109375, 0.03582763671875, 0.0137939453125, -0.0308990478515625, -0.0012989044189453125, -0.006671905517578125, -0.047027587890625, -0.05230712890625, -0.01348876953125, -0.07659912109375, 0.006175994873046875, -0.024383544921875, -0.00511932373046875, 0.135986328125, -0.023284912109375, -0.0203857421875, 0.0149688720703125, 0.078125, -0.016876220703125, 0.07952880859375, -0.041656494140625, 0.0599365234375, 0.066650390625, -0.007389068603515625, -0.0418701171875, -0.005764007568359375, -0.027618408203125, 0.0154876708984375, -0.01503753662109375, -0.014404296875, 0.018096923828125, 0.0064239501953125, 0.03082275390625, 0.0086669921875, 0.0097808837890625, 0.01023101806640625, -0.00890350341796875, 0.023162841796875, 0.05609130859375, -0.031341552734375, 0.0237884521484375, 0.00783538818359375, -0.0157928466796875, 0.01165771484375, 0.0236358642578125, 0.0330810546875, -0.036956787109375, -0.0033397674560546875, -0.010833740234375, -0.017303466796875, 0.007495880126953125, 0.009552001953125, 0.03057861328125, 0.019866943359375, 0.03570556640625, -0.055908203125, -0.004032135009765625, -0.01541900634765625, 0.054840087890625, -0.01593017578125, -0.045806884765625, 0.0203704833984375, -0.01548004150390625, -0.0152587890625, 0.028533935546875, -0.037750244140625, 0.0194549560546875, 0.039337158203125, 0.0227508544921875, 0.01959228515625, 0.05145263671875, 0.001743316650390625, 0.00710296630859375, -0.01334381103515625, 0.02069091796875, -0.0194244384765625, -0.04510498046875, 0.005893707275390625, 0.0027065277099609375, -0.0220184326171875, -0.00438690185546875, -0.0186920166015625, -0.042083740234375, 0.0217437744140625, -0.0286712646484375, 0.00839996337890625, -0.002269744873046875, 0.0333251953125, 0.00185394287109375, 0.04296875, -0.068115234375, -0.0170745849609375, -0.01318359375, 0.003986358642578125, 0.0164794921875, 0.0211181640625, -0.01593017578125, 0.048065185546875, -0.025848388671875, 0.01140594482421875, -0.03460693359375, 0.044586181640625, 0.01119232177734375, 0.01560211181640625, -0.0345458984375, -0.044647216796875, 0.0035724639892578125, 0.0384521484375, 0.0006499290466308594, 0.0233154296875, 0.089599609375, 0.08319091796875, -0.048187255859375, -0.0198211669921875, 0.08551025390625, -0.0111236572265625, 0.01465606689453125, -0.00875091552734375, 0.0079498291015625, 0.0243377685546875, -0.004611968994140625, -0.02825927734375, 0.040252685546875, 0.022247314453125, -0.0267181396484375, 0.0177001953125, 0.00005519390106201172, -0.0152435302734375, 0.0162811279296875, 0.002742767333984375, 0.0204315185546875, 0.010772705078125, 0.0169219970703125, 0.03399658203125, -0.053497314453125, -0.049224853515625, 0.00662994384765625, 0.01065826416015625, -0.025238037109375, 0.050567626953125, -0.0010309219360351562, 0.01200103759765625, -0.0228118896484375, -0.008514404296875, 0.016265869140625, -0.0177001953125, 0.0258026123046875, 0.006099700927734375, -0.020294189453125, -0.0242767333984375, -0.017120361328125, 0.048736572265625, -0.01519775390625, 0.053497314453125, -0.01202392578125, 0.0217742919921875, 0.0313720703125, -0.035400390625, 0.034332275390625, 0.0246124267578125, 0.0009794235229492188, -0.0024967193603515625, -0.0189666748046875, -0.00788116455078125, -0.01904296875, 0.059234619140625, 0.04107666015625, -0.01837158203125, 0.08380126953125, 0.00168609619140625, -0.01123809814453125, -0.054046630859375, -0.01898193359375, -0.0413818359375, -0.07171630859375, -0.036651611328125, 0.031524658203125, -0.0257720947265625, -0.0149688720703125, -0.03680419921875, 0.0341796875, 0.0163116455078125, 0.01340484619140625, 0.0084381103515625, -0.002292633056640625, -0.0010366439819335938, 0.02117919921875, -0.0310516357421875, -0.0094451904296875, -0.0284576416015625, -0.0243377685546875, -0.0296783447265625, 0.005916595458984375, -0.0133819580078125, -0.013214111328125, 0.022186279296875, -0.022857666015625, 0.053314208984375, 0.047210693359375, 0.00278472900390625, 0.035064697265625, 0.0094451904296875, -0.012725830078125, 0.0128936767578125, -0.0158538818359375, -0.012054443359375, -0.01202392578125, -0.02252197265625, -0.0074005126953125, 0.0005574226379394531, -0.05035400390625, 0.0040130615234375, 0.037933349609375, 0.02410888671875, -0.007663726806640625, -0.0819091796875, 0.0423583984375, -0.024658203125, 0.0811767578125, -0.0306549072265625, -0.004581451416015625, 0.006137847900390625, 0.024078369140625, 0.00445556640625, -0.031097412109375, -0.00811004638671875, 0.050018310546875, 0.019287109375, -0.0164947509765625, -0.01331329345703125, 0.0157012939453125, -0.0189208984375, 0.0241241455078125, -0.01666259765625, 0.060516357421875, -0.016845703125, -0.0024700164794921875, 0.059814453125, 0.0010023117065429688, -0.035797119140625, -0.12164306640625, -0.021453857421875, -0.0787353515625, 0.07672119140625, -0.00705718994140625, 0.006900787353515625, 0.01953125, -0.040374755859375, -0.0880126953125, 0.032806396484375, -0.01020050048828125, -0.0552978515625, -0.050048828125, 0.0189208984375, 0.0156097412109375, -0.00876617431640625, -0.01229095458984375, -0.015899658203125, -0.024871826171875, 0.00684356689453125, -0.006084442138671875, 0.053558349609375, -0.01708984375, 0.017547607421875, -0.05426025390625, 0.0015850067138671875, -0.0300750732421875, -0.024261474609375, 0.0258331298828125, 0.0187225341796875, 0.020355224609375, 0.07415771484375, -0.009185791015625, 0.01806640625, -0.033966064453125, -0.04827880859375, -0.0114898681640625, -0.0034313201904296875, -0.018310546875, -0.0006527900695800781, 0.071533203125, 0.040435791015625, 0.01800537109375, -0.032958984375, -0.048095703125, -0.03692626953125, 0.005062103271484375, -0.01323699951171875, -0.0109405517578125, -0.0361328125, 0.01128387451171875, -0.0029144287109375, -0.00867462158203125, -0.01116943359375, -0.0298004150390625, -0.011566162109375, 0.01029205322265625, 0.0259857177734375, 0.00495147705078125, 0.026397705078125, -0.006023406982421875, -0.00887298583984375, -0.0089263916015625, -0.01522064208984375, 0.00119781494140625, 0.0093536376953125, -0.031585693359375, 0.030731201171875, 0.006412506103515625, 0.0084075927734375, -0.0210113525390625, 0.0013952255249023438, 0.0004000663757324219, -0.006076812744140625, -0.0117645263671875, -0.01543426513671875, -0.00426483154296875, 0.012664794921875, -0.005977630615234375, 0.007801055908203125, -0.0159759521484375, 0.038909912109375, 0.01024627685546875, 0.058013916015625, -0.00508880615234375, -0.014984130859375, -0.0220489501953125, 0.03021240234375, -0.0279998779296875, -0.005092620849609375, 0.003742218017578125, -0.0290985107421875, 0.02874755859375, -0.030609130859375, 0.05511474609375, -0.0172271728515625, 0.0303955078125, 0.0006833076477050781, -0.01708984375, 0.026123046875 ]
85e164b91db8dcd459edc532bc9c3d537e8a60a7
Wordpress Stackexchange Q: Upgrading PHP version results in "Use of undefined constant WP_CONTENT_DIR" warning? On my HostGator shared hosting with a CPanel option to set PHP per domain, if I turn on PHP 7.3 (or other 7.x versions) for my existing blog I get an error page: Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (this will throw an Error in a future version of PHP) in /my_site/public_html/wp-includes/load.php on line 141 Your PHP installation appears to be missing the MySQL extension which is required by WordPress If I Google this, all the advice is about how to install mysqld, but it's surely already installed as doing a fresh install of WordPress on a separate sub-domain works perfectly under PHP 7.3, so I must be missing something in my older site's WordPress wp-config.php, perhaps. Looking at working and failing versions, though, I cannot see an obvious difference. A: Ensure WP_CONTENT_DIR is defined in your wp-config.php file. It will be the path to your wp-content directory. define('WP_CONTENT_DIR', '/path/to/wordpress/wp-content');
Q: Upgrading PHP version results in "Use of undefined constant WP_CONTENT_DIR" warning? On my HostGator shared hosting with a CPanel option to set PHP per domain, if I turn on PHP 7.3 (or other 7.x versions) for my existing blog I get an error page: Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (this will throw an Error in a future version of PHP) in /my_site/public_html/wp-includes/load.php on line 141 Your PHP installation appears to be missing the MySQL extension which is required by WordPress If I Google this, all the advice is about how to install mysqld, but it's surely already installed as doing a fresh install of WordPress on a separate sub-domain works perfectly under PHP 7.3, so I must be missing something in my older site's WordPress wp-config.php, perhaps. Looking at working and failing versions, though, I cannot see an obvious difference. A: Ensure WP_CONTENT_DIR is defined in your wp-config.php file. It will be the path to your wp-content directory. define('WP_CONTENT_DIR', '/path/to/wordpress/wp-content'); A: Here's what worked for me: My Hostgator WordPress site was throwing the same error until I commented out the top-level .htaccess file. Like so: My website is a subdomain, so it had it's own .htaccess, so that's where the php version was specified (cpanel did this automatically). I didn't have to edit wp-config.php or anything else. In the comments of this post is where I found this solution: https://wordpress.org/support/topic/php-7-3-errors/#post-12720824 A: Normally, the WP_CONTENT_DIR entry is defined in the https://developer.wordpress.org/reference/files/wp-includes/default-constants.php/ file (which is loaded after wp-settings.php): if ( ! defined( 'WP_CONTENT_DIR' ) ) { define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // No trailing slash, full paths only - WP_CONTENT_URL is defined further down. } This will set the WP_CONTENT_DIR to default of your site's 'wp-content' folder, unless you (or someone/something) has defined this previously in the wp-config.php with a command like this: define('WP_CONTENT_DIR', '/path/to/wordpress/wp-content'); In a 'fresh'/default install, there should not be that DEFINE in the wp-settings file. Perhaps you have a plugin or function that has moved the content folder to a new location as a 'security' method (although it is debatable whether that is useful -'security by obscurity' doesn't work all that well) and modified the WP_CONTENT_DIR variable value. So check your wp-settings.php file for that DEFINE statement. Remove it (unless you really want your wp-content files somewhere else), or look for a plugin in your site that is doing that. A: In my case, there were two .htaccess files running simultaneously (one from the "public_html" and one above the root directory), and it was causing the conflict. I removed the file, and it worked. I was able to get this fixed with my Wordpress version upgrade issue. Here's the original post of this solution: https://iiiji.com/fix-php-upgrade-error-whm-cpanel/ A: I just updated the PHP version 7.0 to 7.4 from Multi Php Editor for my website and I found the Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ After that, I degrade the version to 7.0 and got this error Your PHP installation appears to be missing the MySQL extension which is required by WordPress. Again I upgraded to 7.4 How I solved the error? Just deleted the .htacess file and refresh. All worked fine for me. Thanks
wordpress
{ "language": "en", "length": 532, "provenance": "stackexchange_00019.jsonl.gz:504265", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/369613" }
[ 0.021636962890625, 0.004337310791015625, -0.06121826171875, -0.0323486328125, 0.02606201171875, -0.056915283203125, 0.01416015625, -0.007617950439453125, 0.0718994140625, 0.0036411285400390625, -0.061370849609375, -0.02484130859375, -0.02490234375, -0.002410888671875, -0.016021728515625, -0.022857666015625, 0.0213470458984375, 0.004741668701171875, 0.034576416015625, -0.005123138427734375, 0.00965118408203125, 0.0209503173828125, -0.0013628005981445312, 0.039215087890625, 0.01038360595703125, -0.042449951171875, 0.06707763671875, -0.019134521484375, -0.0145263671875, -0.033966064453125, 0.01377105712890625, 0.0390625, 0.04168701171875, 0.0361328125, -0.08050537109375, 0.04229736328125, 0.01503753662109375, -0.00006568431854248047, -0.0284271240234375, 0.062103271484375, -0.0205535888671875, 0.004108428955078125, 0.07391357421875, -0.0228118896484375, -0.0043182373046875, -0.017364501953125, -0.00688934326171875, -0.016143798828125, 0.007659912109375, 0.002727508544921875, 0.01849365234375, -0.0005192756652832031, 0.01061248779296875, 0.0208892822265625, -0.00864410400390625, -0.00445556640625, 0.015411376953125, 0.016998291015625, 0.02099609375, -0.0188140869140625, -0.025543212890625, 0.020263671875, 0.0189971923828125, 0.006061553955078125, -0.01393890380859375, 0.0181121826171875, 0.0433349609375, 0.014801025390625, -0.06964111328125, -0.01143646240234375, 0.03662109375, -0.0286865234375, 0.01091766357421875, -0.0270538330078125, 0.0187835693359375, 0.00786590576171875, -0.00803375244140625, 0.0003345012664794922, 0.0157623291015625, 0.0082244873046875, -0.022064208984375, 0.0005397796630859375, -0.0170135498046875, -0.03277587890625, 0.041046142578125, 0.0411376953125, -0.0189361572265625, -0.0249481201171875, 0.01088714599609375, -0.00492095947265625, 0.0027065277099609375, 0.004180908203125, 0.028564453125, -0.019134521484375, -0.017822265625, -0.0643310546875, 0.00920867919921875, 0.043701171875, -0.0160675048828125, -0.00433349609375, -0.00347900390625, -0.0265960693359375, 0.023345947265625, -0.03179931640625, 0.004077911376953125, 0.035919189453125, -0.0267486572265625, 0.01325225830078125, 0.04638671875, 0.041290283203125, 0.0163116455078125, 0.0026760101318359375, -0.0172271728515625, -0.0274505615234375, -0.0225830078125, 0.054931640625, -0.0014467239379882812, -0.006237030029296875, 0.0132904052734375, 0.026947021484375, -0.00519561767578125, 0.031280517578125, -0.05096435546875, -0.037750244140625, 0.0022487640380859375, -0.0306549072265625, -0.0172271728515625, 0.0169830322265625, -0.0233917236328125, 0.01611328125, -0.0187530517578125, 0.01025390625, 0.059661865234375, 0.040252685546875, 0.007152557373046875, -0.0162811279296875, 0.06304931640625, 0.0229339599609375, -0.0137176513671875, 0.052093505859375, -0.00341796875, -0.044677734375, -0.0204925537109375, -0.0182952880859375, 0.018035888671875, 0.046630859375, 0.05413818359375, 0.00617218017578125, -0.0292816162109375, -0.09503173828125, 0.022247314453125, 0.0281219482421875, 0.0421142578125, 0.0022258758544921875, -0.04974365234375, -0.02923583984375, -0.00225830078125, -0.0275115966796875, -0.0216827392578125, -0.04925537109375, -0.0130767822265625, -0.03363037109375, -0.00470733642578125, -0.0272674560546875, -0.042510986328125, 0.026641845703125, -0.025146484375, -0.00942230224609375, 0.0242919921875, -0.0225067138671875, -0.0054931640625, -0.0270538330078125, 0.02471923828125, 0.0175628662109375, 0.00609588623046875, 0.055755615234375, 0.0079345703125, 0.0206146240234375, 0.021697998046875, 0.0714111328125, 0.027008056640625, -0.030548095703125, 0.06591796875, -0.0026645660400390625, -0.06329345703125, 0.0400390625, -0.0096282958984375, -0.01207733154296875, 0.0190277099609375, -0.02545166015625, 0.0555419921875, 0.053466796875, -0.00696563720703125, 0.035369873046875, -0.0282135009765625, -0.027313232421875, -0.01280975341796875, 0.0184326171875, -0.0279388427734375, -0.01416778564453125, 0.01708984375, -0.009857177734375, -0.01654052734375, -0.01371002197265625, -0.06927490234375, -0.0245819091796875, -0.00896453857421875, 0.01152801513671875, 0.0015172958374023438, -0.0030078887939453125, 0.0074615478515625, -0.01076507568359375, 0.006359100341796875, -0.0499267578125, -0.053955078125, 0.007904052734375, -0.05596923828125, 0.052642822265625, 0.004878997802734375, 0.0814208984375, -0.0024929046630859375, -0.051116943359375, 0.004268646240234375, -0.039520263671875, 0.054046630859375, -0.00714874267578125, -0.01461029052734375, -0.0258026123046875, 0.0531005859375, -0.004154205322265625, 0.012939453125, 0.02105712890625, -0.024139404296875, 0.0030918121337890625, -0.0227508544921875, -0.00945281982421875, -0.01053619384765625, -0.05511474609375, 0.0249176025390625, 0.054290771484375, 0.06292724609375, 0.02581787109375, -0.01457977294921875, -0.04498291015625, 0.044219970703125, -0.080322265625, -0.00424957275390625, -0.03607177734375, 0.0016260147094726562, 0.019683837890625, -0.0189971923828125, -0.01216888427734375, 0.01369476318359375, 0.0146636962890625, -0.023712158203125, 0.039581298828125, -0.009490966796875, -0.040985107421875, 0.01788330078125, -0.01210784912109375, 0.0229339599609375, -0.0377197265625, -0.0625, 0.01529693603515625, -0.0262908935546875, 0.0274658203125, 0.02508544921875, 0.038238525390625, 0.0008139610290527344, -0.0132293701171875, 0.0006856918334960938, -0.0010042190551757812, 0.0056610107421875, 0.0279693603515625, -0.0401611328125, 0.0673828125, -0.039947509765625, -0.0016126632690429688, 0.0226898193359375, 0.0222930908203125, -0.00911712646484375, 0.0187225341796875, -0.007663726806640625, -0.00592803955078125, -0.02374267578125, -0.022064208984375, 0.0258636474609375, 0.025726318359375, 0.00147247314453125, -0.02764892578125, 0.0096435546875, 0.001861572265625, -0.057952880859375, 0.061431884765625, -0.0102691650390625, -0.046295166015625, 0.1009521484375, 0.00994110107421875, -0.00574493408203125, 0.0293426513671875, 0.0374755859375, 0.0279541015625, 0.007442474365234375, -0.02520751953125, 0.0092315673828125, 0.042938232421875, 0.0225067138671875, 0.0250701904296875, 0.0228271484375, 0.005748748779296875, -0.05279541015625, -0.041015625, 0.0018463134765625, -0.004413604736328125, 0.0010776519775390625, -0.032867431640625, -0.01214599609375, -0.015594482421875, -0.096923828125, -0.0750732421875, 0.005786895751953125, -0.04510498046875, 0.0032482147216796875, 0.00838470458984375, -0.031707763671875, -0.02850341796875, 0.03704833984375, 0.00583648681640625, -0.00731658935546875, -0.0200958251953125, -0.0716552734375, -0.05865478515625, -0.09735107421875, 0.0137786865234375, -0.00977325439453125, 0.046356201171875, -0.0123291015625, 0.006755828857421875, -0.0090484619140625, -0.041900634765625, -0.029998779296875, 0.041015625, -0.00305938720703125, -0.02972412109375, -0.0050506591796875, 0.025909423828125, 0.0147552490234375, 0.0204925537109375, 0.00469970703125, 0.0185089111328125, -0.034332275390625, -0.0570068359375, 0.008270263671875, -0.00659942626953125, 0.0026760101318359375, 0.004352569580078125, -0.0087127685546875, -0.05548095703125, -0.027496337890625, -0.09228515625, 0.0025844573974609375, 0.0042572021484375, -0.0294952392578125, 0.0246124267578125, 0.01172637939453125, -0.03411865234375, 0.034332275390625, -0.031982421875, -0.002529144287109375, 0.0143890380859375, -0.01500701904296875, -0.01406097412109375, 0.053436279296875, -0.01995849609375, -0.0162811279296875, -0.0093231201171875, 0.03643798828125, -0.010833740234375, 0.021148681640625, 0.031707763671875, 0.006740570068359375, 0.00379180908203125, -0.035552978515625, -0.047607421875, -0.038421630859375, 0.04315185546875, -0.039825439453125, 0.01593017578125, -0.04058837890625, -0.015045166015625, -0.02337646484375, 0.06591796875, -0.0225372314453125, -0.0299072265625, 0.01259613037109375, 0.01177215576171875, -0.0162200927734375, 0.0018339157104492188, -0.018310546875, -0.020172119140625, 0.0247802734375, -0.042327880859375, -0.022613525390625, -0.0204925537109375, -0.00801849365234375, -0.017364501953125, 0.017852783203125, -0.01308441162109375, 0.0290679931640625, -0.06048583984375, 0.02239990234375, 0.06109619140625, -0.005481719970703125, 0.0193328857421875, -0.034637451171875, -0.0303192138671875, -0.10919189453125, -0.026885986328125, -0.038818359375, 0.0662841796875, -0.01000213623046875, 0.01806640625, -0.043731689453125, 0.040130615234375, -0.0150909423828125, -0.023193359375, 0.01453399658203125, 0.024322509765625, -0.0288543701171875, 0.0099945068359375, 0.01421356201171875, -0.0101776123046875, 0.00786590576171875, -0.054534912109375, -0.026092529296875, -0.0183258056640625, -0.03594970703125, 0.04229736328125, -0.0187225341796875, -0.0037059783935546875, -0.02447509765625, -0.0335693359375, -0.01338958740234375, 0.042205810546875, -0.0274200439453125, 0.024993896484375, -0.0443115234375, -0.03460693359375, 0.042510986328125, -0.01541900634765625, -0.00927734375, -0.0063323974609375, 0.0750732421875, 0.023284912109375, -0.0308685302734375, 0.0001895427703857422, -0.0252532958984375, 0.04168701171875, -0.004009246826171875, 0.0596923828125, 0.0299224853515625, -0.0279693603515625, 0.07098388671875, 0.0257110595703125, 0.005947113037109375, 0.0330810546875, -0.0002684593200683594, 0.0011444091796875, -0.03955078125, 0.01837158203125, 0.0112152099609375, -0.029815673828125, 0.00725555419921875, -0.0012273788452148438, 0.0227813720703125, 0.0195465087890625, -0.0164947509765625, 0.008392333984375, -0.0173187255859375, 0.00138092041015625, -0.060150146484375, 0.033355712890625, -0.02044677734375, 0.013885498046875, 0.00868988037109375, -0.0010099411010742188, 0.029388427734375, 0.0025177001953125, -0.00018346309661865234, 0.0670166015625, 0.058197021484375, 0.033050537109375, 0.04180908203125, 0.05029296875, 0.00689697265625, 0.0008339881896972656, -0.0172882080078125, 0.028411865234375, 0.0124053955078125, -0.043701171875, 0.02227783203125, 0.00659942626953125, 0.0164947509765625, 0.004726409912109375, -0.01354217529296875, 0.025390625, 0.00461578369140625, -0.01922607421875, -0.0166168212890625, -0.038909912109375, -0.01343536376953125, -0.037994384765625, 0.0003361701965332031, -0.015777587890625, -0.0147247314453125, -0.0117340087890625, 0.0223236083984375, 0.0057830810546875, -0.005645751953125, -0.004955291748046875, 0.005828857421875, 0.00762176513671875, 0.07879638671875, -0.00771331787109375, -0.034271240234375, 0.0008172988891601562, 0.05108642578125, 0.0286102294921875, -0.05780029296875, -0.00899505615234375, 0.00848388671875, 0.0645751953125, -0.0250244140625, -0.033905029296875, 0.01076507568359375, -0.042144775390625, -0.0004665851593017578, 0.0134735107421875, -0.039642333984375, -0.06622314453125, -0.0209197998046875, 0.026702880859375, 0.03515625, -0.0253448486328125, -0.0202178955078125, 0.00027251243591308594, -0.053741455078125, -0.004451751708984375, 0.047821044921875, -0.037811279296875, -0.00250244140625, 0.00444793701171875, 0.005733489990234375, -0.0168609619140625, 0.0106353759765625, -0.006763458251953125, 0.00859832763671875, -0.03692626953125, -0.02484130859375, 0.042022705078125, -0.030120849609375, 0.01074981689453125, -0.00275421142578125, -0.00823211669921875, -0.0120086669921875, 0.0256805419921875, 0.0260162353515625, 0.0094451904296875, -0.036651611328125, 0.023284912109375, -0.06329345703125, -0.0181121826171875, -0.0167388916015625, -0.025238037109375, -0.05926513671875, -0.0323486328125, 0.004154205322265625, -0.01136016845703125, 0.0010223388671875, -0.01055908203125, -0.057159423828125, 0.0379638671875, 0.03863525390625, 0.0008335113525390625, -0.031707763671875, 0.031585693359375, 0.016326904296875, 0.0216522216796875, 0.004619598388671875, 0.021209716796875, 0.0382080078125, -0.022064208984375, 0.006633758544921875, -0.03863525390625, -0.016143798828125, -0.00913238525390625, 0.01800537109375, 0.0032596588134765625, -0.005352020263671875, -0.0074462890625, 0.0202484130859375, -0.0228424072265625, -0.004230499267578125, -0.018463134765625, 0.033447265625, -0.044891357421875, 0.020965576171875, -0.01824951171875, -0.0035228729248046875, 0.0699462890625, -0.01194000244140625, 0.0113372802734375, 0.01006317138671875, -0.0290069580078125, 0.031829833984375, 0.0034084320068359375, -0.048370361328125, 0.07220458984375, 0.08795166015625, -0.0286407470703125, 0.04071044921875, 0.0201873779296875, -0.01416015625, 0.039306640625, 0.00800323486328125, -0.024932861328125, -0.01387786865234375, 0.06689453125, 0.0280303955078125, -0.005619049072265625, 0.05438232421875, -0.01499176025390625, -0.0020771026611328125, 0.0184478759765625, 0.052276611328125, -0.03363037109375, 0.006992340087890625, 0.03369140625, -0.0274810791015625, -0.019622802734375, -0.01175689697265625, -0.020782470703125, -0.0141448974609375, 0.026519775390625, -0.0112152099609375, -0.032257080078125, -0.004802703857421875, 0.0067138671875, -0.0206146240234375, 0.0034427642822265625, 0.028167724609375, 0.020538330078125, -0.00119781494140625, 0.02008056640625, -0.0018091201782226562, 0.01554107666015625, 0.0252227783203125, 0.034271240234375, -0.014312744140625, -0.03125, -0.033966064453125, -0.01824951171875, 0.009002685546875, -0.067138671875, -0.038970947265625, 0.01322174072265625, 0.01180267333984375, 0.05718994140625, -0.01995849609375, 0.000009238719940185547, 0.041046142578125, 0.0083465576171875, 0.0021648406982421875, -0.01934814453125, 0.0273590087890625, 0.06890869140625, -0.0677490234375, 0.01763916015625, -0.0095367431640625, 0.004482269287109375, 0.01102447509765625, 0.00949859619140625, 0.034027099609375, -0.0703125, 0.01474761962890625, 0.046905517578125, 0.01318359375, -0.0126800537109375, 0.0070343017578125, 0.0618896484375, -0.07281494140625, -0.06353759765625, 0.05059814453125, -0.037322998046875, -0.06134033203125, 0.0194549560546875, -0.005504608154296875, 0.053680419921875, -0.01739501953125, -0.03155517578125, 0.06005859375, 0.021209716796875, -0.06573486328125, 0.0018491744995117188, 0.001361846923828125, 0.00580596923828125, 0.0044403076171875, 0.0031948089599609375, -0.035247802734375, 0.003971099853515625, -0.01088714599609375, 0.0296478271484375, 0.0166168212890625, 0.0154876708984375, -0.0234222412109375, -0.0050048828125, 0.016143798828125, 0.03338623046875, 0.0035400390625, 0.0249176025390625, -0.007717132568359375, -0.0209197998046875, 0.006786346435546875, -0.008697509765625, 0.023773193359375, -0.032989501953125, -0.02484130859375, 0.007720947265625, 0.0171051025390625, -0.00279998779296875, 0.04052734375, -0.01270294189453125, -0.0263519287109375, 0.0240631103515625, 0.0102081298828125, 0.01544952392578125, -0.022247314453125, 0.0399169921875, -0.0103912353515625, -0.0300140380859375, 0.0198516845703125, -0.04010009765625, 0.0438232421875, -0.0162200927734375, 0.0018892288208007812, -0.00615692138671875, 0.0101776123046875, 0.03643798828125, -0.0002994537353515625, -0.01271820068359375, 0.03277587890625, -0.01055908203125, 0.04412841796875, 0.0340576171875, 0.0247802734375, 0.0057220458984375, 0.014404296875, -0.00957489013671875, 0.03582763671875, -0.017974853515625, -0.0325927734375, 0.0004870891571044922, -0.0067901611328125, 0.013671875, -0.018585205078125, -0.0198516845703125, 0.00566864013671875, 0.007389068603515625, -0.0491943359375, 0.006824493408203125, 0.046295166015625, -0.0487060546875, 0.0006051063537597656, 0.0194091796875, 0.0306396484375, 0.035919189453125, -0.01313018798828125, -0.0051116943359375, -0.0203399658203125, 0.0283050537109375, -0.00591278076171875, 0.039031982421875, -0.026611328125, -0.006500244140625, -0.0028514862060546875, 0.0455322265625, -0.0085601806640625, -0.006542205810546875, -0.052032470703125, -0.09130859375, 0.06317138671875, 0.04229736328125, 0.011749267578125, -0.0027370452880859375, 0.004215240478515625, -0.01070404052734375, -0.02099609375, 0.0018186569213867188, 0.0158233642578125, -0.0216827392578125, -0.003875732421875, -0.005191802978515625, 0.013275146484375, 0.041717529296875, 0.0146026611328125, -0.0256500244140625, 0.03656005859375, 0.051422119140625, -0.0205230712890625, 0.033660888671875, -0.004001617431640625, 0.002559661865234375, 0.0282135009765625, 0.0286712646484375, 0.0171051025390625, 0.0272064208984375, 0.00992584228515625, 0.00937652587890625, 0.00849151611328125, -0.007678985595703125, -0.0259246826171875, 0.025848388671875, 0.0253448486328125, -0.002353668212890625, -0.00688934326171875, 0.0307159423828125, 0.0160675048828125, -0.0287322998046875, -0.0265655517578125, 0.0011234283447265625, 0.0682373046875, 0.0033969879150390625, -0.01078033447265625, -0.042510986328125, 0.0014810562133789062, 0.07177734375, 0.0227813720703125, 0.11749267578125, -0.0682373046875, 0.0222015380859375, 0.00653839111328125, 0.0215301513671875, -0.01947021484375, -0.00719451904296875, 0.04132080078125, 0.006343841552734375, 0.0018787384033203125, -0.03338623046875, -0.07806396484375, -0.01137542724609375, 0.043914794921875, -0.016845703125, -0.0013551712036132812, 0.0026760101318359375, 0.030487060546875, -0.021820068359375, 0.00891876220703125, -0.005313873291015625, -0.0266876220703125, -0.01399993896484375, 0.019287109375, 0.0396728515625, 0.042205810546875, -0.04412841796875, -0.022857666015625, 0.03173828125, -0.037078857421875, 0.0297698974609375, 0.02191162109375, 0.0280609130859375, 0.021026611328125, 0.0382080078125, -0.039581298828125, -0.0108642578125, -0.0173492431640625, -0.000896453857421875, 0.0081634521484375, 0.0262908935546875, -0.003337860107421875, -0.0288543701171875, 0.0099029541015625, 0.01515960693359375, 0.034027099609375, -0.0024814605712890625, 0.01201629638671875, -0.0158843994140625, -0.001903533935546875, 0.02099609375, -0.03814697265625, -0.0203857421875, -0.038116455078125, -0.0238800048828125, 0.00550079345703125, -0.036773681640625, -0.047760009765625, -0.0435791015625, 0.01242828369140625, 0.061859130859375, 0.024261474609375, -0.0751953125, 0.037628173828125, -0.0307464599609375, 0.036590576171875, 0.01471710205078125, -0.01325225830078125, -0.005462646484375, 0.007099151611328125, -0.0195465087890625, -0.028839111328125, -0.034912109375, 0.0256805419921875, -0.0179443359375, 0.01568603515625, 0.04498291015625, -0.01087188720703125, -0.032867431640625, 0.020538330078125, -0.019927978515625, 0.079833984375, -0.00504302978515625, 0.0031147003173828125, 0.04693603515625, -0.01242828369140625, -0.06536865234375, -0.0712890625, 0.02105712890625, -0.0743408203125, -0.027923583984375, -0.04071044921875, -0.0036468505859375, 0.0023097991943359375, -0.050018310546875, -0.0811767578125, 0.007068634033203125, -0.0202484130859375, -0.032806396484375, -0.02606201171875, -0.006855010986328125, -0.022003173828125, 0.0654296875, 0.010528564453125, -0.03216552734375, -0.007205963134765625, 0.038421630859375, 0.0116424560546875, 0.0092315673828125, 0.053680419921875, -0.02056884765625, -0.0516357421875, -0.02752685546875, -0.0257415771484375, 0.007175445556640625, 0.014556884765625, -0.007801055908203125, 0.0286407470703125, 0.0662841796875, -0.009490966796875, -0.024749755859375, -0.00882720947265625, -0.06951904296875, -0.0177459716796875, -0.0272216796875, 0.00595855712890625, -0.01120758056640625, 0.05718994140625, 0.034088134765625, 0.00942230224609375, -0.02484130859375, -0.023529052734375, -0.0299072265625, -0.0296478271484375, -0.0103912353515625, 0.0249481201171875, -0.06268310546875, 0.00667572021484375, 0.0122222900390625, -0.0308074951171875, 0.022613525390625, -0.0206298828125, -0.0433349609375, 0.021484375, -0.023193359375, -0.0104827880859375, -0.01099395751953125, -0.0266265869140625, 0.03302001953125, -0.00482177734375, 0.037384033203125, -0.0110931396484375, 0.0302581787109375, 0.0301666259765625, 0.0430908203125, 0.033782958984375, 0.0007410049438476562, -0.01519775390625, 0.0057525634765625, 0.029205322265625, 0.0098114013671875, 0.00833892822265625, -0.035064697265625, 0.0005884170532226562, -0.0004820823669433594, -0.0112762451171875, 0.0017976760864257812, 0.035491943359375, 0.01500701904296875, -0.0117645263671875, 0.0357666015625, -0.021636962890625, 0.02874755859375, -0.0216064453125, 0.036651611328125, -0.0306243896484375, -0.003452301025390625, 0.0101318359375, -0.0068511962890625, -0.002552032470703125, -0.004039764404296875, -0.0075531005859375, -0.0638427734375, 0.026580810546875, 0.0251312255859375, 0.019073486328125, 0.0173797607421875 ]
b11fecb00e36489e7a80c08d3e65d0d34dba8b38
Wordpress Stackexchange Q: WordPress Rest API only returns content when posttype has editor capability I am trying to request my post via the WordPress V2 Rest API in the backend. For whatever reason the post content is only returned when my custom post type has the editor support enabled. Is there a way to get the post content in the same request without having to enable the Gutenberg Editor? My fetch request: apiFetch({ path: addQueryArgs('/wp/v2/my_custom_post_type/' + postId, { context: 'edit' }) }).then((post) => { console.log(post); }); My post type: register_post_type('my_custom_post_type', [ 'labels' => [ 'name' => 'My Custom Post Types', 'singular_name' => 'My Custom Post Type' ], 'public' => false, 'show_in_rest' => true, 'hierarchical'=> false, 'show_ui' => true, 'menu_icon' => 'dashicons-grid-view', 'supports' => [ 'revisions', ], 'has_archive' => false ]);
Q: WordPress Rest API only returns content when posttype has editor capability I am trying to request my post via the WordPress V2 Rest API in the backend. For whatever reason the post content is only returned when my custom post type has the editor support enabled. Is there a way to get the post content in the same request without having to enable the Gutenberg Editor? My fetch request: apiFetch({ path: addQueryArgs('/wp/v2/my_custom_post_type/' + postId, { context: 'edit' }) }).then((post) => { console.log(post); }); My post type: register_post_type('my_custom_post_type', [ 'labels' => [ 'name' => 'My Custom Post Types', 'singular_name' => 'My Custom Post Type' ], 'public' => false, 'show_in_rest' => true, 'hierarchical'=> false, 'show_ui' => true, 'menu_icon' => 'dashicons-grid-view', 'supports' => [ 'revisions', ], 'has_archive' => false ]);
wordpress
{ "language": "en", "length": 128, "provenance": "stackexchange_00019.jsonl.gz:504777", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/371179" }
[ -0.006420135498046875, -0.0152587890625, -0.0413818359375, 0.02947998046875, -0.0172576904296875, -0.0484619140625, 0.023590087890625, -0.0182342529296875, 0.0178375244140625, 0.036712646484375, 0.027191162109375, -0.02117919921875, 0.007213592529296875, -0.038604736328125, -0.034454345703125, -0.00959014892578125, 0.034515380859375, 0.0152435302734375, 0.03387451171875, -0.021087646484375, -0.0010213851928710938, -0.00589752197265625, 0.021270751953125, 0.05230712890625, 0.0147857666015625, 0.037139892578125, 0.026947021484375, -0.004192352294921875, -0.01189422607421875, -0.00022149085998535156, 0.016998291015625, -0.031280517578125, 0.023895263671875, 0.0272674560546875, -0.05126953125, -0.0260772705078125, 0.02764892578125, -0.0022029876708984375, -0.0278472900390625, 0.02362060546875, 0.00982666015625, -0.01195526123046875, -0.006656646728515625, -0.0157470703125, -0.0203704833984375, 0.006137847900390625, 0.0066070556640625, -0.01029205322265625, 0.005290985107421875, 0.017364501953125, -0.01125335693359375, 0.0100860595703125, -0.003444671630859375, 0.02020263671875, 0.0040435791015625, -0.008392333984375, 0.016845703125, -0.0191802978515625, 0.0330810546875, -0.048187255859375, -0.0218963623046875, -0.01678466796875, 0.03411865234375, 0.0360107421875, 0.006137847900390625, 0.00885772705078125, 0.059051513671875, 0.00830078125, -0.04730224609375, 0.0101318359375, 0.0246734619140625, -0.0224456787109375, 0.025054931640625, -0.017059326171875, -0.01528167724609375, -0.0279693603515625, -0.0288543701171875, -0.041229248046875, 0.042205810546875, -0.02593994140625, 0.0179443359375, 0.033111572265625, -0.0173187255859375, -0.024658203125, 0.00910186767578125, -0.006282806396484375, -0.0092926025390625, -0.01511383056640625, -0.022430419921875, 0.005107879638671875, -0.017364501953125, -0.08331298828125, -0.0162506103515625, 0.06219482421875, 0.022735595703125, -0.0040435791015625, 0.011199951171875, -0.032012939453125, 0.035797119140625, 0.04254150390625, 0.054443359375, -0.095947265625, 0.1312255859375, -0.044830322265625, 0.054168701171875, -0.045166015625, -0.040008544921875, -0.05267333984375, 0.07843017578125, 0.0297393798828125, -0.033111572265625, 0.09710693359375, -0.00433349609375, -0.00487518310546875, -0.0020771026611328125, -0.0219573974609375, -0.038604736328125, 0.0156707763671875, 0.001983642578125, -0.029296875, -0.002231597900390625, 0.01617431640625, 0.041473388671875, -0.0282745361328125, 0.005035400390625, 0.004913330078125, -0.0169830322265625, -0.044830322265625, 0.0234222412109375, -0.0063018798828125, -0.00701904296875, 0.029876708984375, 0.03704833984375, 0.0186004638671875, -0.0168304443359375, -0.008819580078125, -0.0012054443359375, 0.002017974853515625, -0.03173828125, 0.03515625, -0.0161285400390625, -0.0088043212890625, 0.0284881591796875, -0.0318603515625, 0.00792694091796875, 0.01520538330078125, 0.028045654296875, 0.0176849365234375, -0.01123809814453125, -0.0160369873046875, -0.01128387451171875, 0.01264190673828125, 0.031829833984375, -0.0024356842041015625, -0.0027370452880859375, -0.042694091796875, 0.0369873046875, -0.040863037109375, 0.0006909370422363281, -0.03497314453125, 0.01471710205078125, -0.02923583984375, 0.005977630615234375, -0.0259857177734375, -0.055328369140625, 0.039886474609375, -0.04168701171875, -0.01032257080078125, 0.0161895751953125, 0.0408935546875, 0.02935791015625, -0.0224609375, 0.005374908447265625, -0.00968170166015625, -0.0282135009765625, -0.01458740234375, -0.005107879638671875, 0.0294189453125, 0.0051116943359375, -0.00921630859375, 0.0035152435302734375, -0.0172119140625, 0.059356689453125, -0.00537872314453125, -0.060089111328125, 0.04815673828125, 0.0423583984375, 0.09381103515625, -0.01088714599609375, 0.027374267578125, 0.031219482421875, 0.0313720703125, -0.00777435302734375, 0.01268768310546875, -0.0032558441162109375, -0.0439453125, 0.01332855224609375, -0.0149078369140625, -0.01375579833984375, 0.0355224609375, 0.01351165771484375, -0.00547027587890625, 0.006198883056640625, -0.038055419921875, -0.0670166015625, -0.008514404296875, -0.021514892578125, 0.035552978515625, -0.01385498046875, 0.0128021240234375, 0.0263671875, 0.0093841552734375, -0.046356201171875, 0.0307769775390625, -0.004665374755859375, 0.0194244384765625, -0.018798828125, 0.041107177734375, -0.01520538330078125, 0.0498046875, -0.005893707275390625, -0.03509521484375, -0.01404571533203125, 0.025970458984375, 0.063720703125, -0.022216796875, 0.0189666748046875, -0.01654052734375, 0.1336669921875, 0.0155487060546875, 0.0298309326171875, -0.050384521484375, 0.0216827392578125, 0.010040283203125, -0.035736083984375, -0.00460052490234375, -0.0017690658569335938, -0.050689697265625, 0.01158905029296875, 0.061859130859375, 0.019195556640625, 0.0012750625610351562, -0.0078277587890625, 0.01739501953125, 0.0124359130859375, 0.03607177734375, 0.052642822265625, -0.0282745361328125, 0.026336669921875, 0.0251007080078125, -0.0282745361328125, -0.0206298828125, 0.04620361328125, -0.03448486328125, 0.0186614990234375, 0.0423583984375, 0.02252197265625, 0.0176239013671875, -0.0038890838623046875, -0.017822265625, 0.00801849365234375, -0.0203857421875, -0.05419921875, -0.00728607177734375, 0.0290985107421875, 0.02276611328125, 0.07080078125, 0.06646728515625, -0.051239013671875, -0.01335906982421875, 0.02154541015625, 0.1171875, 0.01047515869140625, 0.05413818359375, 0.064453125, 0.0139312744140625, -0.021270751953125, -0.044036865234375, 0.06231689453125, 0.0474853515625, -0.0193023681640625, -0.018585205078125, -0.03228759765625, -0.003582000732421875, 0.026275634765625, -0.058563232421875, -0.0017518997192382812, -0.0031585693359375, 0.03179931640625, 0.052398681640625, 0.07073974609375, 0.0206451416015625, 0.005893707275390625, 0.01180267333984375, -0.012908935546875, 0.01277923583984375, 0.048492431640625, -0.04644775390625, 0.0282745361328125, -0.014617919921875, 0.057586669921875, 0.05352783203125, -0.01317596435546875, 0.0013246536254882812, -0.004608154296875, -0.01206207275390625, -0.0224761962890625, 0.0305328369140625, -0.01087188720703125, -0.042816162109375, -0.0167999267578125, 0.0234222412109375, 0.0261077880859375, 0.0226898193359375, 0.0187835693359375, -0.019744873046875, -0.0035343170166015625, 0.04278564453125, -0.067626953125, -0.049285888671875, 0.053924560546875, -0.018829345703125, -0.0254669189453125, -0.0310211181640625, -0.03155517578125, -0.007343292236328125, -0.032073974609375, -0.0264892578125, -0.0016584396362304688, -0.0154571533203125, -0.045135498046875, -0.041259765625, -0.07244873046875, -0.048828125, -0.009246826171875, 0.01277923583984375, 0.0027332305908203125, 0.0577392578125, 0.02142333984375, -0.04095458984375, 0.019927978515625, 0.0205841064453125, -0.032257080078125, 0.001766204833984375, -0.003704071044921875, -0.003673553466796875, 0.035064697265625, 0.006923675537109375, 0.029296875, 0.032440185546875, -0.032073974609375, -0.0262451171875, -0.016021728515625, 0.004268646240234375, 0.0017156600952148438, 0.0323486328125, 0.0244293212890625, 0.0172271728515625, 0.035430908203125, -0.0242919921875, -0.033843994140625, -0.01385498046875, -0.058197021484375, -0.0090179443359375, 0.0252838134765625, 0.0012445449829101562, -0.03497314453125, 0.042724609375, -0.01322174072265625, 0.02044677734375, 0.036224365234375, -0.01806640625, 0.00518798828125, -0.01148223876953125, -0.0306549072265625, -0.013458251953125, 0.043792724609375, -0.0015249252319335938, 0.00469207763671875, 0.02490234375, 0.0030975341796875, -0.0181732177734375, -0.00205230712890625, -0.0546875, -0.03155517578125, 0.043670654296875, -0.00955963134765625, 0.006641387939453125, -0.018585205078125, -0.037628173828125, 0.0014553070068359375, 0.07080078125, 0.0157318115234375, -0.0052642822265625, -0.037567138671875, -0.011871337890625, -0.016265869140625, -0.036956787109375, -0.0257720947265625, 0.021270751953125, 0.0187530517578125, -0.0002446174621582031, -0.013458251953125, -0.0000597834587097168, -0.0238494873046875, -0.0296173095703125, 0.01151275634765625, -0.01450347900390625, 0.03704833984375, -0.0802001953125, 0.01070404052734375, 0.0246734619140625, 0.0075531005859375, -0.033966064453125, -0.0266265869140625, -0.039276123046875, -0.06402587890625, -0.01355743408203125, -0.00971221923828125, 0.032958984375, 0.00844573974609375, -0.002040863037109375, -0.014923095703125, 0.027679443359375, 0.0261993408203125, 0.0167999267578125, 0.0014066696166992188, -0.0244293212890625, -0.00689697265625, 0.0103302001953125, 0.02215576171875, -0.0184173583984375, -0.025848388671875, 0.01055908203125, -0.0051727294921875, 0.049285888671875, -0.0079345703125, -0.039154052734375, 0.01422119140625, -0.01708984375, -0.043060302734375, -0.0281982421875, -0.07037353515625, 0.020355224609375, -0.0005621910095214844, -0.0250244140625, -0.055145263671875, -0.073974609375, 0.047943115234375, 0.006011962890625, -0.00388336181640625, -0.00955963134765625, 0.063232421875, 0.01032257080078125, -0.02362060546875, -0.032440185546875, -0.0203704833984375, 0.0264434814453125, 0.014129638671875, 0.0709228515625, 0.0195465087890625, -0.0187225341796875, 0.0888671875, 0.0101470947265625, 0.021942138671875, -0.0223388671875, 0.0217437744140625, -0.007106781005859375, -0.0225982666015625, 0.0274200439453125, -0.001331329345703125, -0.0038242340087890625, 0.013946533203125, -0.0224151611328125, -0.0009756088256835938, 0.0229949951171875, 0.037017822265625, -0.074951171875, 0.057861328125, -0.00841522216796875, 0.0080718994140625, 0.005832672119140625, -0.002422332763671875, 0.0245361328125, 0.009429931640625, -0.00968170166015625, -0.00879669189453125, -0.0017728805541992188, -0.010498046875, -0.0050048828125, -0.01690673828125, -0.0193328857421875, 0.01409149169921875, -0.01474761962890625, -0.0164031982421875, 0.0003857612609863281, -0.00939178466796875, 0.045989990234375, -0.0170135498046875, -0.059112548828125, 0.0015039443969726562, -0.019866943359375, 0.025421142578125, 0.03472900390625, -0.0005412101745605469, 0.0088348388671875, 0.0611572265625, -0.0228118896484375, -0.00428009033203125, 0.05548095703125, 0.0272674560546875, -0.0386962890625, 0.019012451171875, 0.0088043212890625, -0.01385498046875, -0.031646728515625, 0.06390380859375, 0.01395416259765625, -0.0005636215209960938, -0.015960693359375, 0.0203704833984375, -0.029541015625, 0.045654296875, 0.0361328125, -0.00498199462890625, -0.00835418701171875, 0.0207672119140625, -0.0215911865234375, -0.03533935546875, -0.0166015625, 0.01546478271484375, 0.021514892578125, -0.0035724639892578125, -0.0127105712890625, 0.0272369384765625, 0.0033130645751953125, -0.0187835693359375, -0.0142364501953125, -0.0269317626953125, -0.0091552734375, -0.02569580078125, -0.006633758544921875, 0.0136871337890625, 0.0185089111328125, -0.03271484375, 0.04034423828125, 0.01403045654296875, 0.050384521484375, -0.01016998291015625, -0.04168701171875, 0.044158935546875, 0.04119873046875, -0.0200347900390625, -0.0306396484375, -0.023956298828125, 0.01128387451171875, 0.01099395751953125, 0.00014591217041015625, -0.0269622802734375, 0.013427734375, -0.03631591796875, -0.006374359130859375, -0.031707763671875, 0.042938232421875, -0.070556640625, 0.02288818359375, 0.0162811279296875, 0.0214691162109375, 0.02178955078125, -0.00989532470703125, -0.03955078125, -0.0238037109375, 0.0212554931640625, -0.04254150390625, 0.000004470348358154297, -0.043548583984375, 0.0092315673828125, 0.025726318359375, 0.000045359134674072266, -0.02154541015625, -0.0007929801940917969, 0.02801513671875, 0.0024700164794921875, 0.06805419921875, -0.0262603759765625, 0.10638427734375, -0.02838134765625, 0.0716552734375, 0.0104827880859375, 0.03009033203125, -0.05615234375, 0.00949859619140625, -0.034210205078125, -0.08447265625, 0.0027141571044921875, 0.0006990432739257812, -0.0033435821533203125, 0.08514404296875, 0.028289794921875, 0.0250091552734375, -0.005313873291015625, -0.0006127357482910156, 0.017608642578125, -0.024810791015625, 0.03973388671875, -0.025360107421875, -0.0113677978515625, 0.00298309326171875, -0.006740570068359375, 0.01384735107421875, -0.0282135009765625, -0.033721923828125, 0.0230712890625, 0.007572174072265625, 0.00872039794921875, 0.025848388671875, 0.0199737548828125, 0.0238189697265625, 0.082275390625, 0.00597381591796875, 0.0609130859375, 0.0189666748046875, 0.0171356201171875, 0.04425048828125, 0.0148468017578125, -0.0191497802734375, -0.04083251953125, -0.020751953125, -0.01238250732421875, -0.0012712478637695312, -0.02972412109375, -0.005390167236328125, 0.02825927734375, 0.048583984375, 0.07513427734375, -0.07427978515625, 0.0032863616943359375, 0.02197265625, -0.04351806640625, -0.002826690673828125, -0.0139923095703125, -0.0203094482421875, -0.05291748046875, 0.03118896484375, -0.036651611328125, -0.0484619140625, -0.0035343170166015625, -0.01528167724609375, -0.016510009765625, -0.0257110595703125, 0.0122528076171875, 0.0111846923828125, 0.04473876953125, 0.00148773193359375, -0.040496826171875, 0.034912109375, 0.011322021484375, 0.020538330078125, -0.015655517578125, -0.026702880859375, -0.0755615234375, -0.034088134765625, -0.01806640625, -0.06585693359375, 0.0178070068359375, 0.01030731201171875, -0.006641387939453125, 0.05987548828125, -0.040802001953125, 0.0238800048828125, 0.0287628173828125, -0.0139923095703125, -0.0199432373046875, -0.04620361328125, -0.00977325439453125, 0.044281005859375, -0.033721923828125, 0.03521728515625, 0.01465606689453125, -0.033935546875, -0.00098419189453125, 0.00263214111328125, 0.08038330078125, -0.0277252197265625, -0.0167694091796875, 0.042144775390625, -0.000827789306640625, -0.023101806640625, -0.0058441162109375, 0.01263427734375, -0.0382080078125, 0.0028743743896484375, -0.00965118408203125, 0.0035305023193359375, -0.027130126953125, 0.004718780517578125, -0.03753662109375, 0.10638427734375, 0.00762939453125, 0.002727508544921875, 0.019439697265625, 0.0450439453125, -0.040924072265625, 0.0212249755859375, -0.00765228271484375, 0.031768798828125, 0.0019063949584960938, 0.0007205009460449219, -0.048492431640625, -0.013702392578125, -0.0201416015625, 0.04388427734375, 0.050567626953125, 0.012481689453125, -0.064208984375, -0.032928466796875, 0.00628662109375, 0.01038360595703125, -0.0085601806640625, 0.069091796875, 0.03924560546875, -0.001354217529296875, 0.053680419921875, 0.005977630615234375, 0.04296875, -0.02557373046875, 0.0186004638671875, 0.03985595703125, 0.0226287841796875, 0.0153961181640625, 0.013458251953125, 0.0151824951171875, -0.0039215087890625, -0.01410675048828125, 0.02154541015625, -0.04339599609375, -0.04461669921875, 0.052337646484375, 0.061676025390625, -0.07537841796875, -0.01210784912109375, -0.048736572265625, 0.05987548828125, 0.034088134765625, 0.0264129638671875, 0.004638671875, 0.0205078125, 0.0033016204833984375, 0.00191497802734375, 0.015167236328125, 0.053253173828125, -0.03350830078125, 0.0160064697265625, -0.004947662353515625, 0.006793975830078125, -0.0474853515625, 0.01021575927734375, 0.032928466796875, 0.022491455078125, -0.015716552734375, -0.04754638671875, 0.00861358642578125, 0.03143310546875, 0.0253143310546875, 0.0112762451171875, 0.0310211181640625, -0.008026123046875, 0.047332763671875, -0.0172882080078125, 0.010162353515625, 0.005702972412109375, 0.0114288330078125, 0.002956390380859375, 0.010009765625, -0.017059326171875, 0.0038852691650390625, -0.03436279296875, 0.024444580078125, 0.0191802978515625, 0.056396484375, 0.0016584396362304688, 0.07196044921875, -0.0249481201171875, -0.008270263671875, -0.0275421142578125, 0.0215301513671875, -0.0150299072265625, 0.0304718017578125, -0.024658203125, -0.04010009765625, 0.036346435546875, 0.029022216796875, 0.020660400390625, 0.0217437744140625, 0.03076171875, 0.0026493072509765625, -0.01549530029296875, -0.0036716461181640625, 0.035186767578125, -0.0172271728515625, -0.036041259765625, -0.034454345703125, -0.0604248046875, 0.006412506103515625, -0.0214691162109375, 0.03155517578125, -0.046234130859375, 0.032318115234375, 0.01102447509765625, 0.044921875, 0.004634857177734375, 0.001277923583984375, 0.044708251953125, -0.01386260986328125, 0.036102294921875, 0.0301361083984375, -0.04058837890625, -0.00494384765625, -0.028472900390625, -0.06378173828125, 0.0355224609375, 0.047515869140625, -0.0022411346435546875, 0.0011358261108398438, -0.003337860107421875, -0.019195556640625, 0.0167236328125, 0.0005474090576171875, 0.01270294189453125, 0.056884765625, 0.01236724853515625, 0.018829345703125, -0.07318115234375, -0.057586669921875, -0.006046295166015625, 0.0418701171875, -0.0269622802734375, 0.0635986328125, -0.007244110107421875, 0.002674102783203125, -0.028900146484375, 0.039825439453125, -0.056121826171875, -0.0240631103515625, -0.0335693359375, 0.0245513916015625, 0.055206298828125, 0.004055023193359375, -0.05731201171875, 0.03302001953125, 0.01136016845703125, 0.0250244140625, 0.03045654296875, -0.00954437255859375, 0.016998291015625, 0.003498077392578125, -0.03131103515625, -0.042877197265625, -0.01898193359375, -0.012939453125, 0.0026988983154296875, -0.0051116943359375, -0.009674072265625, 0.0161590576171875, 0.02935791015625, -0.00811004638671875, -0.051422119140625, 0.033905029296875, -0.04791259765625, 0.048095703125, 0.028472900390625, -0.01253509521484375, 0.050567626953125, 0.0006985664367675781, -0.0250701904296875, 0.0230255126953125, 0.00833892822265625, -0.0243377685546875, 0.01336669921875, 0.05731201171875, 0.00846099853515625, 0.0020389556884765625, 0.045074462890625, 0.016998291015625, -0.01212310791015625, 0.00576019287109375, -0.0032634735107421875, -0.028289794921875, 0.0301971435546875, -0.01238250732421875, -0.032012939453125, 0.00887298583984375, 0.0012874603271484375, 0.0091552734375, -0.01419830322265625, 0.00946044921875, -0.0077362060546875, 0.02093505859375, -0.0157623291015625, -0.03753662109375, 0.0179901123046875, -0.0123138427734375, 0.038848876953125, -0.01788330078125, -0.0229339599609375, 0.0195770263671875, 0.054290771484375, -0.02081298828125, 0.0023441314697265625, -0.019256591796875, -0.0304107666015625, -0.01329803466796875, 0.00873565673828125, 0.031341552734375, -0.0263214111328125, -0.034423828125, -0.0128936767578125, 0.015869140625, 0.0213470458984375, 0.032501220703125, 0.0005660057067871094, -0.01393890380859375, 0.0261383056640625, -0.02764892578125, -0.05072021484375, 0.0214996337890625, -0.03900146484375, -0.017059326171875, -0.036102294921875, 0.036224365234375, 0.04217529296875, -0.02838134765625, -0.08721923828125, -0.00788116455078125, -0.016387939453125, -0.04302978515625, -0.03179931640625, -0.007015228271484375, 0.0010194778442382812, 0.034027099609375, -0.0109710693359375, -0.01320648193359375, -0.03399658203125, 0.0224151611328125, 0.006160736083984375, 0.03179931640625, 0.0138702392578125, -0.0015106201171875, -0.044891357421875, -0.01039886474609375, -0.0215911865234375, 0.017852783203125, -0.006496429443359375, 0.0032749176025390625, 0.01390838623046875, 0.018463134765625, -0.039825439453125, 0.0201568603515625, -0.00801849365234375, 0.03082275390625, -0.028656005859375, -0.021636962890625, -0.00772857666015625, -0.004131317138671875, 0.03924560546875, 0.08148193359375, -0.0088653564453125, -0.03875732421875, 0.017486572265625, -0.0133514404296875, -0.041534423828125, -0.01294708251953125, 0.0023021697998046875, -0.021453857421875, -0.0018634796142578125, -0.01183319091796875, -0.002132415771484375, 0.0372314453125, -0.04229736328125, -0.015625, -0.0036334991455078125, -0.03179931640625, -0.0012102127075195312, -0.047210693359375, 0.011871337890625, -0.00421905517578125, -0.01202392578125, 0.0217437744140625, -0.010101318359375, 0.006168365478515625, 0.00632476806640625, 0.033233642578125, -0.0209197998046875, -0.0161895751953125, -0.001857757568359375, 0.007556915283203125, 0.00201416015625, 0.01666259765625, 0.00725555419921875, -0.005435943603515625, -0.0024852752685546875, -0.0022144317626953125, -0.0187835693359375, -0.002277374267578125, 0.016204833984375, 0.0018863677978515625, -0.00045299530029296875, 0.0194244384765625, -0.0033206939697265625, 0.0367431640625, -0.00836181640625, 0.014556884765625, -0.0110015869140625, -0.01255035400390625, 0.00872802734375, -0.02850341796875, 0.01554107666015625, 0.01285552978515625, -0.002346038818359375, -0.029205322265625, -0.0005497932434082031, 0.020233154296875, -0.00473785400390625, 0.0014247894287109375 ]