id
stringlengths
40
40
text
stringlengths
29
2.03k
original_text
stringlengths
3
154k
subdomain
stringclasses
20 values
metadata
dict
emb
listlengths
1.02k
1.02k
9d1c994788f24b4df84cb2b9a4c2320e8f80f760
Wordpress Stackexchange Q: How do I programmatically set default role for new users? I would like new users of the blog to have custom role, rather then Subscriber. How do I set this programmatically? I know that it can be changed from the backend. A: When a new user is created through the wp_insert_user() function, the role is set with the set_role() method of the User class and is set to the default user role. The default user role is retrieved from the database get_option('default_role') and can be set via the Admin Dashboard by going to Settings > General > New User Default Role. If you've registered your new role (using add_role(), it should be available there to choose from. Alternatively, for more control you can hook into the user_register or profile_update actions to then set_role on them conditionally, or however else you like.
Q: How do I programmatically set default role for new users? I would like new users of the blog to have custom role, rather then Subscriber. How do I set this programmatically? I know that it can be changed from the backend. A: When a new user is created through the wp_insert_user() function, the role is set with the set_role() method of the User class and is set to the default user role. The default user role is retrieved from the database get_option('default_role') and can be set via the Admin Dashboard by going to Settings > General > New User Default Role. If you've registered your new role (using add_role(), it should be available there to choose from. Alternatively, for more control you can hook into the user_register or profile_update actions to then set_role on them conditionally, or however else you like. A: After you created the user using $user_id = wp_create_user( $user_login, $pas1, $user_email ); Create the user object $user = new WP_User($user_id); Then set the role $user->set_role('editor'); You can replace the 'editor' role with any of the following: * *Administrator *Editor *Author *Contributor *Subscriber A: This allows plugins to easily hijack the default role while they're active. // Hijack the option, the role will follow! add_filter('pre_option_default_role', function($default_role){ // You can also add conditional tags here and return whatever return 'subscriber'; // This is changed return $default_role; // This allows default }); I use it to make sure some plugins that need subscriber roles get it regardless of Administrator attempts to change :) Regards. A: Put it into the Pluging or functions.php of your theme //Make 'Client' a default role update_option('default_role','client');
wordpress
{ "language": "en", "length": 272, "provenance": "stackexchange_00019.jsonl.gz:414042", "question_score": "13", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/31791" }
[ 0.04766845703125, -0.043060302734375, 0.03192138671875, -0.01087188720703125, -0.03009033203125, -0.005443572998046875, 0.044342041015625, -0.02362060546875, -0.01220703125, -0.002521514892578125, -0.005374908447265625, -0.0014810562133789062, -0.012969970703125, -0.031646728515625, 0.0159454345703125, -0.039886474609375, 0.0235443115234375, -0.0026378631591796875, -0.00211334228515625, -0.016937255859375, -0.00356292724609375, -0.00426483154296875, 0.0088653564453125, 0.04913330078125, 0.013427734375, 0.007904052734375, 0.041229248046875, -0.026031494140625, 0.00559234619140625, -0.01389312744140625, 0.02020263671875, -0.0071563720703125, -0.0028705596923828125, 0.007762908935546875, 0.0157318115234375, 0.01220703125, 0.0083465576171875, 0.00577545166015625, 0.025299072265625, 0.0036449432373046875, 0.0194549560546875, 0.004093170166015625, -0.017669677734375, 0.0308837890625, -0.025177001953125, -0.0762939453125, 0.0292816162109375, -0.02069091796875, 0.01971435546875, -0.037445068359375, 0.0133819580078125, -0.00395965576171875, 0.04351806640625, -0.031951904296875, -0.01520538330078125, -0.01113128662109375, -0.005954742431640625, -0.0005321502685546875, 0.031951904296875, -0.005207061767578125, -0.01450347900390625, -0.022003173828125, 0.0178985595703125, -0.022186279296875, 0.0093536376953125, -0.0023651123046875, 0.02960205078125, 0.039337158203125, -0.0304107666015625, -0.020782470703125, -0.001415252685546875, -0.0012378692626953125, -0.01285552978515625, -0.0243988037109375, -0.025238037109375, 0.0401611328125, 0.00824737548828125, -0.0015592575073242188, 0.02093505859375, 0.0019292831420898438, 0.0601806640625, -0.01456451416015625, 0.033935546875, -0.034423828125, 0.035308837890625, -0.02008056640625, 0.0159912109375, -0.01314544677734375, -0.0217437744140625, -0.0191650390625, -0.0170135498046875, 0.0035228729248046875, -0.0113067626953125, -0.0266265869140625, -0.03973388671875, -0.0123443603515625, 0.02020263671875, 0.07904052734375, -0.0229034423828125, -0.007236480712890625, 0.0067901611328125, -0.02691650390625, 0.00551605224609375, -0.0408935546875, -0.00601959228515625, 0.040863037109375, -0.0159454345703125, -0.054443359375, -0.0269622802734375, 0.02325439453125, -0.01195526123046875, -0.0509033203125, 0.007358551025390625, 0.005062103271484375, -0.03497314453125, 0.01180267333984375, -0.0206298828125, 0.0143890380859375, -0.0177459716796875, 0.032867431640625, -0.01024627685546875, 0.034332275390625, -0.002544403076171875, -0.040771484375, -0.0115203857421875, -0.01556396484375, -0.0120849609375, -0.031707763671875, -0.0667724609375, 0.009552001953125, -0.0299224853515625, 0.0200347900390625, 0.09307861328125, 0.061431884765625, 0.0185546875, -0.01259613037109375, 0.043426513671875, -0.032318115234375, -0.00724029541015625, 0.0362548828125, 0.0243072509765625, -0.04510498046875, -0.044708251953125, 0.02362060546875, 0.024993896484375, 0.0257415771484375, 0.005924224853515625, 0.00951385498046875, 0.032501220703125, 0.008453369140625, -0.0294189453125, -0.024993896484375, -0.050018310546875, 0.041595458984375, 0.0601806640625, 0.02301025390625, 0.019073486328125, 0.0137176513671875, 0.047698974609375, 0.0269775390625, 0.02325439453125, -0.001773834228515625, 0.006011962890625, -0.0119781494140625, -0.037445068359375, -0.013885498046875, -0.020599365234375, -0.0026340484619140625, 0.0236053466796875, -0.060333251953125, 0.005382537841796875, -0.006031036376953125, -0.01200103759765625, -0.006053924560546875, 0.020416259765625, 0.0308380126953125, -0.0277862548828125, 0.0187835693359375, 0.032623291015625, -0.03509521484375, -0.01226806640625, -0.03851318359375, 0.03857421875, 0.01364898681640625, -0.02020263671875, -0.009033203125, -0.004520416259765625, 0.01096343994140625, 0.0325927734375, 0.019134521484375, -0.0133209228515625, 0.007305145263671875, -0.026031494140625, -0.0199737548828125, 0.019775390625, -0.022796630859375, -0.0082855224609375, -0.0193328857421875, -0.0020236968994140625, 0.00714111328125, 0.0269317626953125, -0.03216552734375, 0.026123046875, -0.00542449951171875, -0.017486572265625, -0.01922607421875, -0.00926971435546875, 7.748603820800781e-7, 0.005863189697265625, -0.01409912109375, 0.0006146430969238281, -0.0306549072265625, 0.034759521484375, -0.10858154296875, -0.054840087890625, 0.0155487060546875, -0.004405975341796875, 0.04351806640625, -0.0075836181640625, 0.028289794921875, -0.00720977783203125, -0.04669189453125, 0.0017271041870117188, 0.01216888427734375, 0.05609130859375, -0.04205322265625, -0.00011670589447021484, -0.0355224609375, 0.0767822265625, -0.011444091796875, 0.014984130859375, -0.002300262451171875, 0.00821685791015625, -0.01255035400390625, -0.036376953125, 0.00970458984375, 0.003459930419921875, -0.0246734619140625, -0.01715087890625, 0.047332763671875, 0.035552978515625, 0.006275177001953125, 0.00009614229202270508, 0.01288604736328125, 0.046478271484375, -0.0245513916015625, 0.0186767578125, 0.0010662078857421875, 0.007053375244140625, 0.07318115234375, -0.0411376953125, 0.0228424072265625, 0.01568603515625, -0.031005859375, -0.0290985107421875, 0.0601806640625, -0.0031032562255859375, 0.00995635986328125, 0.00899505615234375, -0.0014829635620117188, -0.0034332275390625, -0.055694580078125, -0.012603759765625, -0.0245819091796875, 0.0025787353515625, -0.00994110107421875, -0.0023517608642578125, -0.00948333740234375, -0.0083770751953125, -0.00626373291015625, 0.01213836669921875, -0.060760498046875, -0.01384735107421875, -0.001129150390625, 0.048309326171875, -0.04248046875, -0.05517578125, 0.005756378173828125, 0.018768310546875, -0.001377105712890625, -0.001056671142578125, 0.0245819091796875, -0.0015964508056640625, -0.00843048095703125, 0.01250457763671875, -0.0295867919921875, 0.006328582763671875, 0.01230621337890625, 0.0225830078125, -0.02532958984375, 0.0254974365234375, -0.0171051025390625, -0.028900146484375, 0.048583984375, -0.01338958740234375, -0.041717529296875, -0.01036834716796875, -0.049896240234375, 0.03289794921875, -0.05316162109375, -0.004669189453125, 0.058868408203125, -0.0177154541015625, 0.01126861572265625, 0.004180908203125, -0.019378662109375, -0.0126495361328125, 0.038665771484375, 0.0115814208984375, -0.0230712890625, -0.0042266845703125, 0.03936767578125, 0.0036678314208984375, 0.0119171142578125, -0.01482391357421875, -0.027191162109375, -0.015045166015625, 0.006839752197265625, -0.005279541015625, 0.020965576171875, -0.01763916015625, -0.0511474609375, 0.00415802001953125, -0.01183319091796875, -0.0217437744140625, -0.0031795501708984375, 0.01080322265625, 0.0006842613220214844, 0.0212554931640625, -0.01259613037109375, -0.01084136962890625, -0.0078277587890625, -0.02069091796875, 0.03125, 0.00927734375, -0.004974365234375, -0.006977081298828125, 0.02044677734375, -0.0153656005859375, -0.0210113525390625, -0.04052734375, -0.0011196136474609375, 0.0054931640625, -0.04400634765625, 0.019561767578125, -0.05255126953125, 0.04083251953125, -0.017059326171875, 0.0092926025390625, 0.04852294921875, -0.01617431640625, -0.00572967529296875, -0.0194091796875, -0.048431396484375, -0.015380859375, 0.0014944076538085938, -0.002132415771484375, -0.0142974853515625, 0.018829345703125, -0.04571533203125, -0.002166748046875, 0.019317626953125, -0.023223876953125, 0.0044708251953125, -0.0243072509765625, -0.0103302001953125, 0.01280975341796875, 0.00888824462890625, -0.0208892822265625, 0.00106048583984375, -0.0020809173583984375, -0.01343536376953125, -0.025390625, -0.00396728515625, -0.039031982421875, 0.0312042236328125, 0.06134033203125, 0.0009794235229492188, -0.0286102294921875, 0.018280029296875, 0.0308685302734375, -0.0003070831298828125, 0.0153656005859375, -0.0584716796875, -0.09283447265625, 0.039642333984375, -0.050567626953125, 0.005359649658203125, -0.0433349609375, -0.0084075927734375, 0.01824951171875, 0.10919189453125, 0.003589630126953125, 0.00873565673828125, 0.0123748779296875, -0.01308441162109375, -0.05035400390625, 0.0012331008911132812, -0.08673095703125, 0.00940704345703125, 0.008209228515625, -0.0032863616943359375, -0.01255035400390625, 0.006984710693359375, -0.032379150390625, 0.0275726318359375, -0.0180511474609375, -0.0104522705078125, 0.04486083984375, -0.05712890625, 0.01165008544921875, 0.0057830810546875, 0.0193023681640625, -0.043670654296875, -0.003917694091796875, -0.023651123046875, -0.095458984375, -0.004352569580078125, -0.0377197265625, 0.053741455078125, 0.0294647216796875, -0.01271820068359375, -0.0300445556640625, 0.031463623046875, -0.01052093505859375, 0.00043487548828125, 0.008880615234375, 0.01531219482421875, 0.0309600830078125, 0.01059722900390625, -0.0086822509765625, -0.011932373046875, -0.0162200927734375, -0.03961181640625, -0.0238800048828125, 0.03228759765625, -0.0199432373046875, 0.026214599609375, -0.02276611328125, 0.01538848876953125, -0.055389404296875, -0.03167724609375, 0.021636962890625, 0.04046630859375, 0.002655029296875, 0.020965576171875, -0.057769775390625, -0.0667724609375, 0.034210205078125, -0.08001708984375, 0.005706787109375, -0.00820159912109375, 0.1121826171875, 0.027252197265625, 0.01448822021484375, 0.0462646484375, 0.0279998779296875, 0.0266876220703125, 0.03277587890625, 0.049530029296875, 0.02593994140625, 0.0013275146484375, 0.02606201171875, 0.02386474609375, 0.03997802734375, -0.009002685546875, 0.01541900634765625, 0.01280975341796875, -0.03289794921875, 0.040435791015625, 0.024871826171875, -0.05572509765625, -0.06256103515625, -0.02337646484375, 0.0137786865234375, 0.032318115234375, 0.01474761962890625, -0.005458831787109375, 0.01343536376953125, -0.01389312744140625, -0.035186767578125, 0.01303863525390625, -0.0384521484375, -0.0170440673828125, -0.0236053466796875, 0.0250396728515625, -0.043212890625, -0.03131103515625, -0.01067352294921875, 0.0017881393432617188, -0.030029296875, 0.03839111328125, 0.040069580078125, -0.0396728515625, 0.0168914794921875, -0.0137939453125, -0.00446319580078125, 0.06329345703125, 0.00395965576171875, -0.0411376953125, -0.01036834716796875, 0.0019397735595703125, 0.07012939453125, 0.03131103515625, -0.00417327880859375, 0.07080078125, 0.0294189453125, 0.0005116462707519531, -0.0161895751953125, -0.0379638671875, 0.01035308837890625, -0.058868408203125, 0.037506103515625, 0.0156097412109375, 0.00263214111328125, -0.0005359649658203125, 0.0560302734375, 0.057281494140625, 0.01401519775390625, -0.03448486328125, 0.054229736328125, 0.0545654296875, 0.0138092041015625, -0.005725860595703125, 0.03411865234375, -0.017852783203125, 0.00399017333984375, 0.0015687942504882812, -0.0245361328125, 0.01038360595703125, 0.0380859375, 0.03302001953125, 0.0034122467041015625, -0.0233001708984375, -0.006679534912109375, -0.0300140380859375, 0.025726318359375, 0.006610870361328125, -0.0667724609375, -0.045440673828125, -0.01397705078125, 0.0232086181640625, 0.043212890625, -0.061431884765625, 0.0033588409423828125, -0.0048675537109375, -0.0201263427734375, 0.032012939453125, -0.01158905029296875, 0.0115509033203125, -0.01131439208984375, -0.0206298828125, -0.0587158203125, -0.005199432373046875, 0.02099609375, -0.00714111328125, -0.0118865966796875, -0.0258026123046875, -0.06500244140625, 0.0693359375, -0.031463623046875, 0.03387451171875, -0.05328369140625, 0.00811767578125, -0.07904052734375, 0.00994110107421875, 0.050933837890625, 0.047088623046875, -0.01568603515625, -0.007015228271484375, -0.05096435546875, -0.031707763671875, -0.04217529296875, -0.0165252685546875, -0.042877197265625, 0.0163116455078125, 0.031524658203125, 0.0164337158203125, -0.00301361083984375, -0.04595947265625, -0.0209808349609375, 0.007686614990234375, 0.04205322265625, 0.0207061767578125, -0.021270751953125, 0.0364990234375, 0.0203857421875, -0.0011110305786132812, -0.004444122314453125, -0.00720977783203125, -0.00852203369140625, 0.0005946159362792969, -0.0149688720703125, 0.0036792755126953125, 0.0086212158203125, 0.00274658203125, -0.01016998291015625, -0.01229095458984375, 0.07342529296875, -0.005420684814453125, 0.039764404296875, -0.00446319580078125, -0.0007171630859375, -0.0225982666015625, -0.0732421875, -0.0237579345703125, 0.0253448486328125, -0.00408935546875, -0.006732940673828125, 0.01309967041015625, 0.009613037109375, -0.0002168416976928711, 0.01479339599609375, -0.018463134765625, 0.0186004638671875, -0.0068511962890625, -0.058013916015625, 0.023773193359375, 0.02886962890625, -0.0198974609375, 0.0212249755859375, -0.0012416839599609375, -0.01483917236328125, 0.0247650146484375, -0.01291656494140625, -0.025299072265625, -0.003917694091796875, 0.02947998046875, -0.00423431396484375, -0.0020313262939453125, 0.0183563232421875, -0.01313018798828125, 0.0377197265625, 0.07476806640625, 0.0738525390625, -0.1171875, 0.025238037109375, 0.004306793212890625, -0.015716552734375, 0.059783935546875, 0.0147705078125, -0.0243988037109375, -0.033966064453125, 0.0538330078125, -0.04962158203125, -0.00826263427734375, 0.026580810546875, -0.0217437744140625, -0.0419921875, 0.037628173828125, -0.01349639892578125, 0.041107177734375, 0.08111572265625, 0.012847900390625, -0.0712890625, 0.0711669921875, -0.002956390380859375, 0.0159454345703125, 0.01067352294921875, -0.020263671875, -0.0806884765625, -0.010833740234375, -0.006015777587890625, -0.04779052734375, 0.035430908203125, -0.02435302734375, 0.02117919921875, 0.04425048828125, -0.0091094970703125, 0.0287628173828125, 0.034454345703125, -0.044708251953125, -0.06964111328125, -0.044219970703125, 0.0253753662109375, 0.00788116455078125, -0.057098388671875, 0.03961181640625, -0.034088134765625, -0.0330810546875, -0.010009765625, -0.04730224609375, 0.053009033203125, -0.0318603515625, 0.0052337646484375, 0.0183258056640625, 0.012603759765625, 0.004291534423828125, -0.029754638671875, -0.0016937255859375, -0.037689208984375, -0.005916595458984375, -0.0300445556640625, -0.0202178955078125, 0.006023406982421875, -0.036376953125, -0.029541015625, 0.04461669921875, -0.026031494140625, 0.006298065185546875, 0.0030918121337890625, 0.014862060546875, 0.01390838623046875, 0.006450653076171875, -0.029815673828125, 0.037445068359375, 0.0041046142578125, 0.042694091796875, -0.018463134765625, -0.01153564453125, 0.01739501953125, 0.028289794921875, 0.043243408203125, 0.0166015625, -0.0248260498046875, -0.0285491943359375, -0.004791259765625, 0.005222320556640625, -0.02984619140625, 0.032562255859375, -0.00341796875, 0.0280609130859375, 0.00911712646484375, -0.031463623046875, 0.01245880126953125, -0.00036644935607910156, -0.031890869140625, 0.018646240234375, 0.0137786865234375, 0.007808685302734375, 0.039794921875, 0.023040771484375, -0.061370849609375, 0.024993896484375, 0.05523681640625, -0.0206756591796875, 0.0095062255859375, 0.0297088623046875, 0.050262451171875, -0.024383544921875, -0.00931549072265625, -0.0254364013671875, 0.055755615234375, 0.0160369873046875, -0.0169830322265625, -0.0172576904296875, 0.0122222900390625, -0.007709503173828125, -0.0125885009765625, -0.0198974609375, 0.030364990234375, -0.0304412841796875, 0.0587158203125, 0.0241851806640625, 0.02801513671875, -0.030059814453125, 0.01030731201171875, 0.006855010986328125, 0.0526123046875, -0.045379638671875, -0.005870819091796875, 0.016693115234375, 0.0153656005859375, 0.01409149169921875, -0.040496826171875, 0.002285003662109375, -0.06591796875, -0.0218505859375, -0.045013427734375, 0.0135650634765625, 0.0007452964782714844, -0.01348114013671875, -0.0196990966796875, 0.0038700103759765625, 0.002704620361328125, 0.015594482421875, 0.00917816162109375, -0.0228729248046875, -0.02313232421875, -0.0254974365234375, 0.00628662109375, 0.00460052490234375, 0.0242156982421875, 0.017486572265625, 0.00507354736328125, -0.008514404296875, 0.02239990234375, -0.0245513916015625, -0.009979248046875, -0.021942138671875, 0.00576019287109375, 0.028961181640625, -0.00445556640625, -0.017364501953125, 0.016754150390625, 0.002994537353515625, -0.039520263671875, -0.0261688232421875, -0.0108489990234375, -0.03131103515625, 0.027496337890625, -0.0017642974853515625, -0.01340484619140625, 0.003879547119140625, -0.017669677734375, -0.0275726318359375, 0.032470703125, 0.03424072265625, -0.045318603515625, 0.039764404296875, -0.01259613037109375, -0.033447265625, 0.034149169921875, -0.006366729736328125, 0.08123779296875, -0.0180511474609375, -0.050750732421875, 0.0237579345703125, -0.0545654296875, -0.062744140625, 0.019683837890625, 0.0236358642578125, -0.0221710205078125, 0.0203399658203125, -0.01132965087890625, 0.0083465576171875, 0.0303802490234375, -0.03485107421875, 0.0035800933837890625, -0.0039043426513671875, 0.01422882080078125, -0.0150604248046875, -0.06634521484375, -0.0164947509765625, -0.025787353515625, 0.0052947998046875, 0.005268096923828125, 0.045867919921875, 0.0078125, 0.02056884765625, -0.055389404296875, 0.02752685546875, -0.044769287109375, -0.060882568359375, 0.043365478515625, 0.0292510986328125, 0.0006804466247558594, -0.0026988983154296875, -0.027130126953125, 0.035064697265625, 0.0030364990234375, 0.0144195556640625, 0.044403076171875, -0.060516357421875, 0.021575927734375, 0.00679779052734375, 0.0193328857421875, -0.03582763671875, -0.0284881591796875, -0.08184814453125, -0.02520751953125, 0.0189666748046875, -0.0063934326171875, -0.0153045654296875, 0.04644775390625, -0.0631103515625, -0.0214691162109375, -0.0221710205078125, -0.025970458984375, -0.066162109375, 0.016326904296875, -0.0202789306640625, -0.00469970703125, -0.01537322998046875, -0.014862060546875, -0.01232147216796875, 0.007343292236328125, -0.0162506103515625, 0.0113983154296875, -0.035491943359375, 0.044708251953125, 0.036773681640625, 0.06451416015625, -0.039093017578125, 0.026885986328125, 0.0219573974609375, 0.0164642333984375, 0.04266357421875, -0.03533935546875, -0.01995849609375, 0.0051727294921875, -0.027313232421875, 0.0056304931640625, 0.0088653564453125, -0.07769775390625, -0.047607421875, 0.0089111328125, 0.04388427734375, 0.01206207275390625, -0.08990478515625, 0.02569580078125, -0.00661468505859375, 0.08343505859375, -0.0219879150390625, -0.048126220703125, 0.03009033203125, 0.0294036865234375, -0.0487060546875, -0.000055909156799316406, -0.0186004638671875, -0.061737060546875, -0.0304412841796875, 0.011871337890625, 0.0460205078125, 0.0103912353515625, -0.01800537109375, 0.0162506103515625, -0.028900146484375, 0.0611572265625, -0.10302734375, 0.002590179443359375, 0.004688262939453125, 0.00605010986328125, -0.04150390625, -0.08538818359375, 0.030853271484375, -0.11279296875, -0.031951904296875, -0.036895751953125, 0.0238800048828125, 0.042510986328125, -0.0162506103515625, -0.040374755859375, 0.07171630859375, -0.03564453125, -0.020782470703125, -0.0180816650390625, 0.0250091552734375, -0.00628662109375, -0.00382232666015625, -0.0000851750373840332, -0.002765655517578125, 0.005657196044921875, 0.007129669189453125, -0.0029773712158203125, -0.003887176513671875, 0.0302886962890625, -0.02801513671875, -0.0018711090087890625, 0.0220794677734375, 0.052215576171875, -0.00917816162109375, 0.0310516357421875, -0.0196533203125, 0.04248046875, 0.05224609375, -0.0127716064453125, -0.02484130859375, -0.0009112358093261719, -0.04962158203125, -0.03863525390625, -0.043121337890625, 0.007160186767578125, -0.01322174072265625, 0.052154541015625, 0.02655029296875, -0.00087738037109375, -0.02783203125, -0.051361083984375, -0.035125732421875, -0.044708251953125, -0.00836181640625, 0.037353515625, -0.080078125, 0.0166778564453125, 0.0150909423828125, -0.0225982666015625, 0.0095672607421875, -0.04742431640625, -0.055816650390625, 0.00893402099609375, -0.0248260498046875, 0.01241302490234375, -0.024383544921875, 0.0250091552734375, 0.01543426513671875, -0.02325439453125, -0.0063323974609375, -0.0007824897766113281, -0.002857208251953125, -0.01496124267578125, 0.0178375244140625, 0.0226593017578125, 0.02197265625, -0.055450439453125, 0.0112762451171875, 0.0031070709228515625, 0.005352020263671875, -0.044769287109375, -0.0031585693359375, 0.0263519287109375, 0.0230560302734375, -0.01526641845703125, 0.0283355712890625, 0.0380859375, 0.01751708984375, -0.01421356201171875, 0.01287841796875, -0.002635955810546875, -0.017669677734375, -0.038421630859375, 0.0521240234375, -0.00972747802734375, -0.00885772705078125, 0.00333404541015625, 0.0034313201904296875, 0.0037670135498046875, 0.00629425048828125, -0.0025348663330078125, -0.034912109375, 0.0226898193359375, 0.017974853515625, -0.0021114349365234375, 0.01253509521484375 ]
fc4a4690c73ff6b30a5e30773321ae860b400d30
Wordpress Stackexchange Q: Can wordpress theme folder name be changed freely and nothing technically happens Can the wordpress theme folder be renamed any time freely and everything works fine after that , themes/oldthemename themes/whatevernewname or is it so that if you change the folder name that contains theme files - then the theme wont work any more because theme folder name is related to the theme files somehow ... A: If your Theme uses the built-in core updater (i.e. if the Theme was installed from the official Theme repository), I believe that changing the name of the Theme's install directory will cause the updater not to recognize it, because the updater uses (among other things), the directory as part of its algorithm for determining a theme's uniqueness. So, if that's the case, if you change the Theme's directory name, you may break automatic updates from the repository.
Q: Can wordpress theme folder name be changed freely and nothing technically happens Can the wordpress theme folder be renamed any time freely and everything works fine after that , themes/oldthemename themes/whatevernewname or is it so that if you change the folder name that contains theme files - then the theme wont work any more because theme folder name is related to the theme files somehow ... A: If your Theme uses the built-in core updater (i.e. if the Theme was installed from the official Theme repository), I believe that changing the name of the Theme's install directory will cause the updater not to recognize it, because the updater uses (among other things), the directory as part of its algorithm for determining a theme's uniqueness. So, if that's the case, if you change the Theme's directory name, you may break automatic updates from the repository. A: This depends on how the theme was developed from the beginning. Theoretically, if everything was coded to standards you can rename the folder and nothing bad will happen. When renaming the folder you are at risk of breaking code that asks specifically for files from the theme directory by name. WordPress offers a number of functions to help decouple the theme directory. * *get_stylesheet_directory_uri *get_template_directory_uri *get_theme_root_uri *a couple of others (get_bloginfo) *and even the magic __FILE__ and __DIR__, along with dirname(), etc. Using these function a theme can achieve loose coupling with what directory it resides in. Thus, if the theme that you want to rename the directory for has made good use of the above functions, then you should be fine. Just in case, you can do a grep for the theme directory and see if it pops up in any javascript as a hardcoded path. You will however have to reactivate it in your Appearance > Themes. I just did this with twentyten and when you go to the admin you will see: The active theme is broken. Reverting to the default theme. Reactivate the theme and see if it works. twentyten does, twentyeleven does too. The same goes for plugins, too. wp_enqueue_style and wp_enqueue_script Codex pages state the following: You should never hardcode URLs to local scripts, use Function Reference/plugins_url (for Plugins) and Function Reference/get_template_directory_uri (for Themes) to get a proper URL. A: A straight forward rename of the folder and theme name will fail, BUT, if you copy the folder and rename the copy, then go into themes options, activate the new renamed version, then delete the old version, it should work. A: @Soulseekah is completley correct! if the theme was built correctly you wont have any problem changing the name (But then reactivate it).. Why dont you just try? Max you can change it back.. it has (in 99% of cases) no affect over the database.. A: * *1.No it will give errors and wont work because wordpress stores theme name in database. *If you are using absolute url of any images or links in your pages or posts it will give errors or break the links and image path. *Suppose u changed the theme name 'X' to 'Y' on live site. You will see your site be messed up. Before going to do such thing please read about theme development http://codex.wordpress.org/Theme_Development
wordpress
{ "language": "en", "length": 543, "provenance": "stackexchange_00019.jsonl.gz:414045", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/31802" }
[ -0.01142120361328125, -0.0238800048828125, 0.0028247833251953125, 0.03204345703125, -0.03271484375, -0.0240020751953125, 0.0212249755859375, -0.036224365234375, -0.0024280548095703125, 0.044036865234375, 0.01404571533203125, -0.00004488229751586914, 0.0286865234375, -0.032012939453125, -0.01006317138671875, -0.002811431884765625, 0.024322509765625, 0.0056915283203125, 0.04071044921875, -0.01422119140625, 0.024658203125, 0.018310546875, 0.004505157470703125, 0.035736083984375, 0.023345947265625, -0.0011320114135742188, 0.0732421875, -0.0335693359375, 0.00670623779296875, -0.0266571044921875, 0.0303802490234375, -0.0194091796875, 0.0010213851928710938, 0.048736572265625, -0.0032978057861328125, 0.0477294921875, 0.0077972412109375, 0.0248870849609375, 0.04754638671875, -0.0161590576171875, 0.0189666748046875, -0.01210784912109375, 0.01041412353515625, 0.0181732177734375, -0.008880615234375, -0.0361328125, 0.00960540771484375, -0.0513916015625, 0.040191650390625, -0.0223541259765625, 0.0020656585693359375, 0.03448486328125, 0.008697509765625, -0.025115966796875, -0.0179595947265625, -0.005767822265625, -0.021270751953125, 0.028106689453125, 0.0202484130859375, -0.034820556640625, -0.01824951171875, 0.00853729248046875, 0.02825927734375, 0.0194244384765625, 0.030303955078125, -0.008148193359375, -0.005527496337890625, 0.0267181396484375, -0.06829833984375, 0.03228759765625, 0.052154541015625, -0.050689697265625, 0.00914764404296875, -0.03521728515625, 0.012969970703125, -0.0025730133056640625, -0.0033626556396484375, -0.0208282470703125, 0.0120849609375, 0.016845703125, 0.031524658203125, 0.0006089210510253906, -0.01236724853515625, -0.032196044921875, 0.03216552734375, 0.016937255859375, 0.00438690185546875, -0.0167999267578125, -0.02215576171875, -0.01081085205078125, -0.0179443359375, -0.012481689453125, -0.0352783203125, 0.025726318359375, -0.00247955322265625, 0.01403045654296875, 0.03790283203125, 0.07135009765625, -0.0279083251953125, 0.02545166015625, -0.0283203125, -0.01605224609375, 0.00920867919921875, -0.0318603515625, -0.01751708984375, 0.04742431640625, 0.0374755859375, 0.020751953125, 0.0090179443359375, -0.004405975341796875, -0.00875091552734375, 0.00794219970703125, 0.002750396728515625, -0.044097900390625, 0.0013685226440429688, 0.0457763671875, -0.0231170654296875, 0.04071044921875, 0.0099639892578125, 0.036651611328125, 0.021636962890625, 0.03021240234375, -0.0194854736328125, -0.044586181640625, 0.021148681640625, -0.01247406005859375, -0.040191650390625, 0.00908660888671875, 0.01035308837890625, 0.05078125, -0.027191162109375, -0.04986572265625, 0.0080413818359375, 0.05682373046875, 0.02459716796875, -0.039398193359375, 0.001590728759765625, 0.015777587890625, -0.0011148452758789062, 0.011505126953125, 0.0095367431640625, -0.036865234375, 0.0017881393432617188, -0.0084075927734375, 0.00881195068359375, 0.022430419921875, 0.0173797607421875, 0.02349853515625, 0.005672454833984375, -0.0238800048828125, 0.016265869140625, -0.01067352294921875, 0.0255279541015625, 0.0074462890625, 0.01461029052734375, -0.057525634765625, 0.03057861328125, -0.060882568359375, 0.03131103515625, -0.061004638671875, -0.01788330078125, -0.0238037109375, 0.01313018798828125, 0.0263671875, -0.0028934478759765625, 0.0484619140625, 0.0007796287536621094, 0.0008015632629394531, 0.01065826416015625, 0.003894805908203125, -0.00818634033203125, 0.00872802734375, 0.004627227783203125, 0.000006735324859619141, 0.00647735595703125, 0.01244354248046875, 0.010406494140625, -0.0131378173828125, 0.021270751953125, 0.0287628173828125, -0.00844573974609375, -0.0139923095703125, 0.041717529296875, -0.01158905029296875, -0.042449951171875, -0.0311279296875, 0.00586700439453125, -0.00469970703125, 0.0377197265625, 0.0135650634765625, 0.04058837890625, -0.005748748779296875, 0.01190185546875, -0.00592803955078125, -0.007049560546875, -0.0028076171875, 0.016326904296875, 0.03387451171875, -0.0020351409912109375, -0.0184326171875, 0.003780364990234375, -0.0102386474609375, -0.006168365478515625, -0.021270751953125, -0.045928955078125, -0.0330810546875, -0.00031185150146484375, 0.023468017578125, 0.0117950439453125, 0.0211181640625, 0.00778961181640625, 0.0244598388671875, -0.001373291015625, -0.0687255859375, -0.0438232421875, -0.00592041015625, -0.0265045166015625, 0.013519287109375, -0.00325775146484375, 0.01629638671875, 0.00460052490234375, -0.0123291015625, 0.005565643310546875, 0.0080718994140625, 0.005950927734375, 0.002613067626953125, -0.037628173828125, -0.01349639892578125, -0.0010251998901367188, 0.006961822509765625, -0.004474639892578125, 0.03179931640625, -0.01007080078125, -0.006626129150390625, -0.0201568603515625, -0.033416748046875, -0.0221099853515625, -0.09490966796875, 0.03619384765625, 0.07208251953125, 0.02362060546875, 0.0321044921875, -0.029815673828125, -0.004138946533203125, 0.07476806640625, -0.0013179779052734375, 0.005767822265625, -0.005462646484375, 0.0278472900390625, 0.04400634765625, 0.023162841796875, -0.0205535888671875, 0.011138916015625, -0.032318115234375, -0.0047607421875, 0.0308074951171875, -0.020294189453125, -0.012603759765625, -0.01219940185546875, 0.01003265380859375, 0.007122039794921875, -0.0236663818359375, -0.0204925537109375, -0.01513671875, -0.0156707763671875, 0.0265960693359375, -0.019287109375, -0.019378662109375, -0.0221099853515625, 0.026458740234375, 0.022613525390625, -0.055328369140625, 0.0016937255859375, 0.0828857421875, 0.030487060546875, -0.01232147216796875, -0.0275726318359375, -0.0211639404296875, -0.017242431640625, 0.0274200439453125, -0.032928466796875, -0.0256195068359375, -0.01494598388671875, -0.00629425048828125, -0.006183624267578125, -0.02825927734375, 0.03790283203125, 0.017333984375, -0.04547119140625, -0.007602691650390625, -0.0030670166015625, 0.0634765625, -0.0200958251953125, 0.0472412109375, -0.00821685791015625, 0.02056884765625, 0.0300445556640625, 0.0189361572265625, -0.004970550537109375, 0.016937255859375, 0.003993988037109375, 0.046051025390625, 0.054046630859375, -0.0460205078125, 0.018341064453125, 0.0159912109375, 0.056640625, -0.014007568359375, -0.0176239013671875, 0.036041259765625, -0.0863037109375, -0.01251220703125, 0.007457733154296875, -0.011077880859375, -0.00638580322265625, -0.033355712890625, -0.0100250244140625, -0.00766754150390625, -0.06915283203125, -0.043609619140625, -0.00708770751953125, 0.0059814453125, 0.0124359130859375, -0.0016355514526367188, 0.01410675048828125, -0.0223541259765625, -0.00882720947265625, 0.006824493408203125, 0.05938720703125, -0.016998291015625, -0.039764404296875, 0.00460052490234375, -0.057708740234375, -0.028472900390625, -0.0010547637939453125, -0.0203399658203125, -0.0030269622802734375, 0.037872314453125, -0.002468109130859375, -0.0645751953125, -0.01366424560546875, 0.078125, 0.01261138916015625, 0.0140533447265625, 0.047576904296875, -0.045013427734375, -0.0021209716796875, -0.0005140304565429688, 0.01287841796875, 0.0287017822265625, -0.032684326171875, -0.01355743408203125, 0.0010700225830078125, 0.014312744140625, 0.00399017333984375, 0.0225982666015625, 0.007419586181640625, -0.0194854736328125, -0.01291656494140625, -0.0589599609375, -0.05426025390625, 0.015106201171875, -0.040863037109375, 0.03369140625, 0.01021575927734375, -0.0025234222412109375, 0.005771636962890625, 0.03851318359375, 0.00843048095703125, 0.02001953125, -0.0059967041015625, -0.029327392578125, 0.06353759765625, 0.004673004150390625, 0.0175933837890625, -0.015869140625, 0.0180511474609375, -0.02374267578125, -0.01331329345703125, -0.01226043701171875, 0.0032711029052734375, -0.03253173828125, 0.03717041015625, -0.04083251953125, -0.0517578125, 0.01418304443359375, -0.07843017578125, -0.01294708251953125, -0.045196533203125, 0.00992584228515625, -0.005588531494140625, 0.0765380859375, -0.060272216796875, -0.027252197265625, 0.011322021484375, 0.0277099609375, -0.03192138671875, -0.0093994140625, -0.0291748046875, -0.0157470703125, -0.051910400390625, 0.008331298828125, -0.0012531280517578125, -0.0290679931640625, -0.007366180419921875, -0.0293426513671875, -0.0250701904296875, -0.03472900390625, 0.0248565673828125, -0.01079559326171875, 0.0272674560546875, -0.01593017578125, 0.006137847900390625, -0.0240325927734375, -0.01221466064453125, -0.0196380615234375, -0.07989501953125, -0.0279083251953125, -0.0098876953125, 0.0892333984375, 0.007389068603515625, 0.0242767333984375, -0.0168609619140625, 0.060302734375, -0.0024471282958984375, 0.084716796875, -0.0302734375, -0.01276397705078125, 0.0182342529296875, 0.03094482421875, 0.019073486328125, 0.01114654541015625, 0.0034694671630859375, -0.0208892822265625, -0.07171630859375, 0.0105743408203125, -0.0015106201171875, 0.03955078125, 0.03948974609375, -0.0419921875, -0.0214996337890625, -0.0218353271484375, -0.028900146484375, -0.0007162094116210938, 0.0073394775390625, -0.0188751220703125, -0.0296478271484375, -0.0212860107421875, 0.048370361328125, -0.0114593505859375, 0.00473785400390625, 0.009979248046875, 0.10760498046875, 0.00830841064453125, -0.0265960693359375, -0.09295654296875, 0.007320404052734375, 0.050048828125, 0.0299072265625, 0.031585693359375, 0.01461029052734375, -0.039093017578125, 0.05230712890625, 0.03790283203125, -0.053070068359375, 0.04913330078125, 0.0292205810546875, 0.0075531005859375, -0.0193634033203125, -0.024566650390625, -0.0267333984375, 0.0191802978515625, 0.04638671875, -0.010406494140625, -0.01934814453125, -0.08660888671875, 0.032318115234375, 0.026947021484375, -0.0019140243530273438, -0.062744140625, -0.046722412109375, 0.0281219482421875, -0.006435394287109375, 0.0052947998046875, -0.0261383056640625, 0.0243377685546875, 0.01499176025390625, 0.0243682861328125, -0.0222015380859375, -0.0233154296875, -0.005825042724609375, -0.01366424560546875, -0.00428009033203125, 0.025299072265625, -0.0179595947265625, -0.0260162353515625, -0.0160980224609375, 0.103271484375, 0.029327392578125, -0.0264434814453125, 0.00862884521484375, -0.018310546875, 0.03082275390625, 0.026214599609375, -0.006931304931640625, 0.008026123046875, 0.00870513916015625, -0.012420654296875, -0.0016813278198242188, -0.02471923828125, 0.0018596649169921875, -0.033233642578125, 0.0399169921875, 0.033782958984375, -0.035003662109375, 0.01953125, -0.045074462890625, 0.06103515625, -0.044097900390625, -0.0178070068359375, 0.004222869873046875, -0.0020236968994140625, 0.0172271728515625, 0.00803375244140625, 0.0169525146484375, 0.0162811279296875, -0.0279083251953125, 0.03521728515625, -0.0242919921875, -0.0024547576904296875, 0.01378631591796875, 0.051422119140625, -0.0275115966796875, -0.0185089111328125, 0.019775390625, -0.046783447265625, 0.01032257080078125, -0.0202484130859375, -0.06365966796875, -0.0428466796875, 0.0014562606811523438, -0.01055908203125, -0.0018587112426757812, -0.038177490234375, -0.0024738311767578125, -0.030517578125, -0.035430908203125, -0.045928955078125, 0.04949951171875, -0.0445556640625, -0.01255035400390625, -0.005542755126953125, -0.04296875, -0.00493621826171875, 0.0064544677734375, -0.03912353515625, -0.0289764404296875, -0.01409149169921875, -0.0167236328125, 0.049560546875, 0.00905609130859375, 0.0282745361328125, -0.0110321044921875, -0.045135498046875, 0.018646240234375, 0.004489898681640625, 0.03692626953125, -0.00991058349609375, -0.08673095703125, 0.0162506103515625, -0.051788330078125, -0.01029205322265625, -0.045379638671875, -0.056610107421875, -0.061431884765625, -0.00023758411407470703, -0.007183074951171875, 0.00555419921875, -0.0011749267578125, 0.01297760009765625, -0.024322509765625, 0.0300140380859375, 0.01525115966796875, 0.0217132568359375, -0.044219970703125, -0.0218048095703125, 0.040191650390625, -0.016693115234375, -0.0308685302734375, -0.050262451171875, 0.01390838623046875, 0.01080322265625, 0.01214599609375, 0.0127716064453125, 0.00745391845703125, -0.01995849609375, 0.029388427734375, -0.025665283203125, 0.03314208984375, -0.005794525146484375, 0.0171661376953125, -0.03778076171875, -0.0177764892578125, -0.0204620361328125, 0.035003662109375, -0.048492431640625, 0.0118408203125, -0.0194244384765625, -0.0335693359375, 0.0012493133544921875, 0.005123138427734375, -0.0112457275390625, 0.031280517578125, -0.017303466796875, 0.0080413818359375, 0.044036865234375, -0.047882080078125, 0.049224853515625, 0.053741455078125, 0.003643035888671875, 0.028594970703125, -0.00775146484375, 0.01194000244140625, 0.006565093994140625, -0.007144927978515625, 0.005401611328125, 0.0269927978515625, 0.061737060546875, 0.00759124755859375, -0.008880615234375, 0.031829833984375, -0.0282135009765625, 0.03564453125, 0.06866455078125, 0.07330322265625, -0.09405517578125, 0.0191802978515625, 0.0157623291015625, -0.003543853759765625, 0.042572021484375, 0.02484130859375, -0.0234222412109375, 0.0116119384765625, 0.00324249267578125, -0.03265380859375, -0.004497528076171875, 0.0222015380859375, 0.0255126953125, 0.001964569091796875, 0.0124053955078125, 0.0555419921875, 0.0172119140625, -0.03814697265625, -0.0191497802734375, 0.02728271484375, 0.00960540771484375, -0.0212554931640625, 0.0015459060668945312, -0.0211944580078125, -0.03424072265625, -0.056884765625, -0.0023937225341796875, -0.0096893310546875, 0.0011529922485351562, 0.0170135498046875, 0.0201873779296875, 0.03515625, 0.0439453125, -0.00801849365234375, 0.0141143798828125, -0.00577545166015625, 0.0455322265625, 0.008026123046875, 0.017913818359375, 0.039947509765625, -0.0107574462890625, -0.0005311965942382812, 0.004573822021484375, -0.0312347412109375, -0.014556884765625, -0.0159759521484375, -0.0300140380859375, 0.060699462890625, -0.03192138671875, -0.017364501953125, 0.0147857666015625, 0.00870513916015625, -0.00937652587890625, 0.050384521484375, 0.031768798828125, -0.01023101806640625, -0.0004591941833496094, 0.03973388671875, -0.0194244384765625, 0.005260467529296875, 0.06365966796875, -0.038543701171875, 0.10516357421875, -0.0243988037109375, 0.0216522216796875, 0.03680419921875, 0.044342041015625, -0.036102294921875, 0.025726318359375, -0.00847625732421875, 0.032989501953125, -0.0207672119140625, 0.0075225830078125, 0.0011816024780273438, 0.0199737548828125, -0.000202178955078125, -0.004863739013671875, 0.022918701171875, -0.007503509521484375, 0.0275115966796875, -0.00826263427734375, 0.0560302734375, 0.02777099609375, 0.0005035400390625, 0.004222869873046875, -0.03448486328125, 0.0088653564453125, -0.0243377685546875, 0.0025577545166015625, 0.018951416015625, -0.01446533203125, -0.08319091796875, 0.00995635986328125, 0.0259857177734375, 0.0263519287109375, 0.0031566619873046875, 0.00015616416931152344, -0.013824462890625, -0.0024166107177734375, 0.0189208984375, -0.00678253173828125, -0.0178070068359375, 0.0096893310546875, 0.019500732421875, -0.02294921875, 0.0211181640625, -0.03350830078125, 0.050140380859375, 0.0159912109375, 0.01451873779296875, -0.02362060546875, -0.000013232231140136719, 0.006866455078125, -0.01483917236328125, -0.017730712890625, 0.039337158203125, -0.03436279296875, 0.024444580078125, 0.0237274169921875, 0.021087646484375, -0.030059814453125, -0.0200347900390625, 0.0267486572265625, 0.032867431640625, -0.021026611328125, -0.0018873214721679688, 0.0157470703125, -0.0200958251953125, -0.035125732421875, -0.04827880859375, -0.068115234375, 0.0213165283203125, -0.004924774169921875, -0.02117919921875, 0.032196044921875, 0.059539794921875, 0.01093292236328125, 0.00673675537109375, 0.0020046234130859375, -0.05950927734375, 0.023590087890625, -0.016143798828125, 0.02825927734375, 0.0308837890625, 0.00653076171875, -0.035064697265625, 0.04986572265625, 0.0069427490234375, 0.007068634033203125, 0.005352020263671875, 0.05609130859375, -0.0258941650390625, 0.0072021484375, -0.06689453125, -0.0927734375, 0.02337646484375, 0.0545654296875, 0.0243682861328125, 0.023101806640625, 0.0194549560546875, 0.024139404296875, 0.01171875, 0.0005331039428710938, -0.00930023193359375, -0.0235443115234375, 0.033447265625, -0.02197265625, 0.033416748046875, 0.00980377197265625, -0.00926971435546875, -0.032470703125, 0.0237579345703125, 0.049713134765625, 0.005481719970703125, 0.003299713134765625, -0.004138946533203125, -0.03338623046875, 0.01111602783203125, 0.004947662353515625, 0.040679931640625, 0.026580810546875, -0.04144287109375, -0.0282745361328125, -0.024993896484375, 0.0226898193359375, -0.01160430908203125, 0.0262451171875, 0.0192413330078125, 0.004428863525390625, -0.004451751708984375, -0.006755828857421875, -0.00460052490234375, 0.00409698486328125, -0.0007190704345703125, 0.038604736328125, 0.0257720947265625, 0.0299530029296875, -0.033111572265625, -0.031524658203125, -0.006526947021484375, 0.04931640625, -0.006870269775390625, 0.12249755859375, -0.0496826171875, 0.01047515869140625, -0.0191650390625, -0.0186920166015625, -0.018280029296875, -0.049102783203125, 0.077392578125, -0.02484130859375, -0.0457763671875, -0.0031261444091796875, -0.0498046875, -0.002288818359375, 0.0135345458984375, -0.05682373046875, -0.003208160400390625, -0.019287109375, 0.01148223876953125, -0.0007939338684082031, -0.00885772705078125, -0.0222015380859375, -0.04779052734375, 0.0033359527587890625, 0.0482177734375, -0.021240234375, -0.0216827392578125, -0.059234619140625, 0.0007195472717285156, 0.000247955322265625, -0.0193939208984375, 0.016357421875, 0.0083160400390625, 0.01666259765625, 0.02056884765625, 0.007350921630859375, -0.09344482421875, -0.0182952880859375, -0.0180206298828125, -0.02276611328125, -0.012054443359375, 0.0950927734375, -0.033538818359375, -0.0169219970703125, -0.03741455078125, 0.01049041748046875, 0.03472900390625, -0.01220703125, 0.033599853515625, -0.0210723876953125, 0.0116119384765625, 0.0181884765625, -0.041656494140625, -0.02447509765625, -0.024200439453125, 0.00013566017150878906, 0.017333984375, -0.008148193359375, -0.0241851806640625, -0.0175323486328125, 0.0210723876953125, 0.0172576904296875, 0.017333984375, -0.06573486328125, 0.0479736328125, -0.0111083984375, 0.00272369384765625, -0.009368896484375, -0.01483154296875, 0.006984710693359375, 0.03643798828125, -0.042266845703125, -0.06292724609375, -0.032470703125, 0.036224365234375, -0.048583984375, -0.0014781951904296875, 0.021759033203125, -0.0018682479858398438, 0.00011622905731201172, 0.01468658447265625, -0.0187225341796875, 0.059417724609375, -0.0230560302734375, -0.030364990234375, 0.00949859619140625, -0.0184478759765625, 0.0036983489990234375, -0.054840087890625, -0.01401519775390625, -0.055267333984375, -0.005615234375, -0.033905029296875, -0.0055999755859375, -0.01837158203125, -0.04730224609375, -0.024627685546875, -0.02740478515625, 0.026458740234375, -0.0272369384765625, -0.046905517578125, -0.027313232421875, -0.034393310546875, 0.05401611328125, -0.0245361328125, -0.0274810791015625, 0.0005459785461425781, 0.09515380859375, 0.0157928466796875, 0.06854248046875, -0.01898193359375, 0.0465087890625, -0.000560760498046875, 0.034423828125, 0.0132598876953125, 0.021942138671875, 0.00571441650390625, 0.0172882080078125, 0.002666473388671875, 0.050048828125, -0.01467132568359375, -0.0108642578125, -0.0225067138671875, -0.060455322265625, -0.0170440673828125, -0.05291748046875, -0.03753662109375, -0.0207672119140625, 0.0760498046875, 0.04986572265625, 0.0196075439453125, -0.0269012451171875, -0.056549072265625, -0.031005859375, 0.01361846923828125, 0.0018281936645507812, 0.0177459716796875, -0.07696533203125, 0.0153350830078125, 0.0489501953125, -0.0328369140625, -0.0176849365234375, -0.030731201171875, -0.056854248046875, 0.010009765625, -0.0204620361328125, 0.01061248779296875, 0.018402099609375, -0.040679931640625, 0.056854248046875, -0.0264739990234375, 0.01428985595703125, -0.0008740425109863281, 0.03466796875, 0.0400390625, 0.0227813720703125, 0.031402587890625, 0.06256103515625, -0.0272674560546875, 0.001277923583984375, 0.03314208984375, 0.0155487060546875, -0.003337860107421875, -0.006443023681640625, 0.018951416015625, 0.0160980224609375, -0.025909423828125, 0.0043182373046875, -0.0138397216796875, 0.05096435546875, -0.023284912109375, 0.114013671875, 0.0304718017578125, 0.0010585784912109375, -0.0005893707275390625, 0.0667724609375, -0.00913238525390625, -0.053741455078125, -0.0109710693359375, -0.073974609375, 0.02166748046875, -0.0087127685546875, 0.047698974609375, -0.006988525390625, 0.01203155517578125, -0.006229400634765625, -0.00015020370483398438, 0.0097808837890625 ]
14553880287fde97ecdf79a7b8f59f5f53a7734c
Wordpress Stackexchange Q: How can I UN-attach media from a post? I'm having a trouble un-attaching media from a post without deleting it entirely from my site. Is there a simple way to unattach an image from a post for instance? A: I learned from Brian Fegter that you can Un-attach an image from a post while participating in this question: Can I attach an image to a different post? It isn't exactly "simple", but not to difficult. It's the only solution I've been able to find.
Q: How can I UN-attach media from a post? I'm having a trouble un-attaching media from a post without deleting it entirely from my site. Is there a simple way to unattach an image from a post for instance? A: I learned from Brian Fegter that you can Un-attach an image from a post while participating in this question: Can I attach an image to a different post? It isn't exactly "simple", but not to difficult. It's the only solution I've been able to find. A: Is this what you're looking for? e.g. Remove all image attachments from a post //get all image attachments $attachments = get_children( array( 'post_parent' => $post->ID, 'post_mime_type' => 'image', 'post_type' => 'attachment' ) ); //loop through the array if( !empty( $attachments ) ){ foreach( $attachments as $attachment ){ // Update the post into the database wp_update_post( array( 'ID' => $attachment->ID, 'post_parent' => 0 ) ); } } However, please take note of the caution when using wp_update_post. Alternate method using $wpdb //replace this with the above inside the foreach block; global $wpdb; $wpdb->query( " UPDATE $wpdb->posts SET post_parent = 0 WHERE ID = $attachment->id AND post_type = 'attachment' " ); A: As of WordPress 4.2 this functionality is built in. Click the Detach link in media list view. For older versions, there's a plugin which does the same thing: https://wordpress.org/plugins/unattach/ Unattach is a very simple plugin which allows detaching images and other media from WordPress posts, pages and other content types.
wordpress
{ "language": "en", "length": 246, "provenance": "stackexchange_00019.jsonl.gz:414052", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/31833" }
[ 0.0665283203125, 0.0251007080078125, 0.019439697265625, 0.042327880859375, 0.0340576171875, -0.0343017578125, 0.1029052734375, -0.084228515625, 0.0294952392578125, 0.01509857177734375, -0.010772705078125, -0.0001036524772644043, -0.0157928466796875, -0.0264892578125, -0.0258941650390625, -0.00927734375, 0.0274200439453125, 0.029296875, 0.0712890625, 0.00457000732421875, 0.0010004043579101562, 0.006439208984375, 0.0416259765625, 0.0288238525390625, -0.01126861572265625, 0.06707763671875, 0.05450439453125, -0.00995635986328125, -0.0308990478515625, -0.01103973388671875, 0.0205535888671875, -0.00737762451171875, 0.018524169921875, 0.0309906005859375, -0.04656982421875, -0.0264129638671875, -0.0274658203125, 0.0165252685546875, -0.00719451904296875, 0.0028476715087890625, 0.01158905029296875, 0.005954742431640625, 0.032989501953125, 0.031097412109375, -0.00020873546600341797, -0.0106658935546875, -0.001171112060546875, -0.050750732421875, 0.035491943359375, -0.030120849609375, -0.0019989013671875, 0.0096282958984375, 0.01038360595703125, -0.020050048828125, -0.01898193359375, 0.006977081298828125, 0.01556396484375, -0.0156707763671875, 0.0313720703125, -0.00855255126953125, -0.03759765625, -0.016632080078125, 0.022308349609375, -0.034423828125, 0.02423095703125, -0.01358795166015625, 0.0181732177734375, 0.0241546630859375, -0.086669921875, 0.01561737060546875, 0.07293701171875, -0.05084228515625, 0.0082855224609375, -0.032470703125, 0.024322509765625, -0.00206756591796875, 0.0167694091796875, -0.0064849853515625, -0.0167083740234375, 0.0142059326171875, 0.00801849365234375, 0.00476837158203125, -0.0269317626953125, -0.05657958984375, 0.03802490234375, -0.0165557861328125, -0.0001652240753173828, -0.0132904052734375, -0.01485443115234375, -0.0189971923828125, -0.00789642333984375, -0.009063720703125, -0.032318115234375, 0.0219573974609375, -0.013885498046875, -0.016448974609375, 0.044189453125, 0.014862060546875, -0.0116729736328125, 0.0083770751953125, -0.0230560302734375, -0.0246429443359375, 0.00726318359375, -0.006649017333984375, 0.0116119384765625, -0.054443359375, -0.038330078125, -0.044281005859375, 0.033233642578125, 0.06524658203125, -0.046875, 0.044647216796875, -0.0017709732055664062, -0.00293731689453125, -0.02569580078125, 0.05712890625, -0.00542449951171875, 0.01515960693359375, -0.01067352294921875, 0.059661865234375, -0.047119140625, -0.0295257568359375, 0.004978179931640625, 0.0083770751953125, 0.0260467529296875, 0.01617431640625, -0.010040283203125, 0.0231170654296875, 0.04449462890625, -0.0003247261047363281, -0.026824951171875, 0.03558349609375, 0.041778564453125, -0.01010894775390625, -0.00670623779296875, 0.003570556640625, -0.017364501953125, 0.005741119384765625, 0.00803375244140625, 0.02301025390625, 0.00423431396484375, -0.0645751953125, 0.0030231475830078125, 0.043548583984375, 0.01371002197265625, 0.056976318359375, 0.014862060546875, -0.007526397705078125, 0.0209808349609375, -0.061676025390625, 0.00695037841796875, -0.041748046875, -0.01284027099609375, 0.0328369140625, 0.053619384765625, -0.03765869140625, 0.0634765625, -0.047454833984375, 0.055267333984375, -0.055633544921875, 0.04150390625, 0.0201263427734375, 0.0478515625, 0.049530029296875, 0.01220703125, -0.0179595947265625, -0.02728271484375, -0.014007568359375, 0.0291290283203125, -0.0119171142578125, 0.01375579833984375, -0.06402587890625, -0.0197906494140625, -0.017425537109375, -0.01229095458984375, 0.033599853515625, -0.0081787109375, -0.01351165771484375, -0.003025054931640625, 0.052337646484375, 0.019683837890625, -0.01532745361328125, -0.033294677734375, 0.044769287109375, -0.0428466796875, 0.0123138427734375, 0.00827789306640625, 0.061126708984375, 0.0265045166015625, 0.0207061767578125, 0.01342010498046875, -0.0011472702026367188, 0.01611328125, -0.030853271484375, 0.001621246337890625, -0.0272979736328125, -0.0203094482421875, -0.01287841796875, -0.01788330078125, 0.0224456787109375, 0.002567291259765625, 0.0286865234375, -0.02935791015625, 0.02581787109375, -0.011810302734375, -0.006626129150390625, 0.0010538101196289062, 0.0186309814453125, -0.06597900390625, -0.00545501708984375, 0.050689697265625, -0.0308074951171875, -0.0212249755859375, -0.0162200927734375, -0.002346038818359375, -0.00020396709442138672, -0.0226593017578125, -0.0238037109375, -0.018035888671875, 0.010345458984375, -0.038665771484375, -0.01031494140625, -0.05694580078125, 0.00655364990234375, 0.0406494140625, 0.0164947509765625, -0.033966064453125, -0.0225067138671875, 0.003948211669921875, -0.01528167724609375, -0.050994873046875, 0.06591796875, -0.03253173828125, -0.0297698974609375, -0.0193023681640625, -0.00856781005859375, 0.007808685302734375, -0.0401611328125, 0.0214385986328125, 0.054168701171875, 0.0293426513671875, 0.0262603759765625, -0.0303802490234375, -0.00644683837890625, 0.086181640625, -0.0044708251953125, -0.00130462646484375, 0.00469970703125, 0.0284271240234375, 0.036529541015625, 0.0007190704345703125, -0.0130157470703125, 0.00951385498046875, -0.055572509765625, 0.0273284912109375, 0.02069091796875, -0.0024318695068359375, 0.03265380859375, -0.03656005859375, 0.0246124267578125, -0.002971649169921875, 0.0369873046875, 0.009429931640625, 0.0016651153564453125, 0.03094482421875, -0.000507354736328125, 0.0249481201171875, 0.022613525390625, -0.015716552734375, 0.007129669189453125, 0.0175628662109375, -0.0228424072265625, 0.005390167236328125, 0.059844970703125, 0.021728515625, 0.025970458984375, -0.0211639404296875, -0.0238037109375, 0.0121307373046875, 0.031890869140625, -0.0199432373046875, -0.00655364990234375, 0.040283203125, -0.00811004638671875, -0.020599365234375, -0.042022705078125, 0.05218505859375, -0.0206756591796875, -0.039886474609375, 0.00498199462890625, 0.02288818359375, 0.054840087890625, 0.040557861328125, -0.0303955078125, 0.004253387451171875, 0.038909912109375, -0.0313720703125, -0.03582763671875, 0.037933349609375, -0.02703857421875, 0.0306549072265625, 0.07818603515625, 0.00955963134765625, 0.017181396484375, 0.0011692047119140625, 0.01497650146484375, 0.0254058837890625, -0.0005826950073242188, -0.005481719970703125, -0.00760650634765625, -0.046112060546875, -0.01132965087890625, 0.01493072509765625, 0.0099639892578125, -0.0307159423828125, -0.040191650390625, -0.0257110595703125, 0.001186370849609375, -0.09954833984375, -0.049560546875, -0.0191497802734375, -0.0504150390625, -0.004482269287109375, 0.0223236083984375, -0.0262451171875, -0.014129638671875, 0.07086181640625, 0.01027679443359375, 0.0166473388671875, 0.02191162109375, -0.01153564453125, 0.00699615478515625, -0.02679443359375, -0.0372314453125, -0.00833892822265625, 0.007289886474609375, -0.0089874267578125, 0.06146240234375, -0.0004935264587402344, -0.0288543701171875, -0.019134521484375, -0.006275177001953125, 0.005764007568359375, -0.01136016845703125, 0.007251739501953125, 0.044677734375, -0.0384521484375, 0.03173828125, -0.03131103515625, 0.0141143798828125, -0.041748046875, -0.03509521484375, -0.0211181640625, -0.04119873046875, -0.0029048919677734375, 0.0240325927734375, 0.01763916015625, -0.006931304931640625, 0.0203704833984375, -0.0310516357421875, 0.0120391845703125, -0.045654296875, -0.036224365234375, -0.01430511474609375, 0.0206451416015625, 0.015472412109375, -0.052886962890625, 0.0198822021484375, -0.007427215576171875, 0.013641357421875, -0.0265350341796875, -0.0157012939453125, 0.040130615234375, -0.006744384765625, 0.00606536865234375, 0.005168914794921875, -0.04351806640625, -0.0482177734375, 0.0404052734375, -0.023590087890625, -0.009918212890625, -0.00727081298828125, 0.0034027099609375, 0.01666259765625, -0.0372314453125, 0.046600341796875, 0.00537109375, 0.0206298828125, -0.02471923828125, -0.043731689453125, -0.01076507568359375, 0.08502197265625, -0.032806396484375, -0.034332275390625, -0.0197601318359375, 0.0160369873046875, -0.00299072265625, -0.0411376953125, 0.017669677734375, -0.040618896484375, -0.037506103515625, -0.0182647705078125, -0.00464630126953125, -0.0316162109375, -0.036376953125, 0.03363037109375, -0.04449462890625, -0.0213775634765625, 0.04071044921875, -0.024261474609375, -0.0035648345947265625, 0.0082550048828125, 0.0002090930938720703, -0.0253753662109375, -0.041015625, -0.01556396484375, -0.037017822265625, -0.00753021240234375, -0.01360321044921875, 0.040374755859375, -0.0214996337890625, 0.056060791015625, -0.0382080078125, 0.0204010009765625, 0.00482177734375, 0.007381439208984375, -0.01149749755859375, -0.0095367431640625, -0.00341796875, 0.0095977783203125, -0.008636474609375, -0.01146697998046875, -0.023773193359375, -0.06536865234375, -0.005523681640625, 0.01446533203125, -0.0218048095703125, 0.0498046875, -0.039703369140625, 0.01605224609375, -0.00799560546875, 0.02008056640625, 0.01611328125, 0.0252532958984375, -0.031646728515625, 0.022430419921875, 0.00560760498046875, -0.020355224609375, 0.003940582275390625, 0.060333251953125, -0.0196380615234375, 0.019622802734375, -0.0011501312255859375, 0.00739288330078125, -0.026611328125, -0.10125732421875, -0.00017404556274414062, 0.0189971923828125, 0.018768310546875, 0.051025390625, 0.0252685546875, -0.00434112548828125, 0.035797119140625, 0.0025272369384765625, -0.01255035400390625, -0.039642333984375, 0.0753173828125, -0.0005769729614257812, -0.01177215576171875, 0.0259857177734375, -0.0283203125, 0.01702880859375, 0.001171112060546875, -0.021209716796875, 0.01184844970703125, -0.0188446044921875, 0.0181121826171875, 0.0015268325805664062, 0.00795745849609375, -0.018646240234375, -0.05841064453125, 0.015625, -0.037445068359375, 0.040435791015625, 0.04638671875, -0.0269317626953125, 0.03521728515625, 0.0297088623046875, 0.025238037109375, -0.051239013671875, -0.00838470458984375, -0.05419921875, 0.05255126953125, -0.044189453125, 0.00272369384765625, -0.01557159423828125, 0.002471923828125, -0.010009765625, -0.0162200927734375, -0.0535888671875, -0.0401611328125, -0.005138397216796875, 0.003231048583984375, 0.007137298583984375, 0.01806640625, 0.0241241455078125, -0.00007826089859008789, -0.005279541015625, 0.0096282958984375, 0.00328826904296875, -0.0287017822265625, -0.024749755859375, 0.019622802734375, -0.00827789306640625, -0.0007920265197753906, 0.07464599609375, -0.0029754638671875, -0.032196044921875, 0.044647216796875, -0.006626129150390625, 0.0101776123046875, -0.00798797607421875, 0.03948974609375, 0.006420135498046875, 0.0081329345703125, 0.02301025390625, 0.0166015625, 0.03289794921875, -0.052734375, 0.0160980224609375, 0.0235595703125, 0.06109619140625, 0.01065826416015625, -0.03094482421875, 0.00037598609924316406, -0.064697265625, -0.01169586181640625, 0.041351318359375, 0.01309967041015625, -0.053466796875, -0.0228424072265625, 0.028900146484375, 0.047760009765625, -0.022247314453125, 0.0110931396484375, -0.02099609375, -0.0105743408203125, 0.0020008087158203125, 0.017974853515625, -0.01023101806640625, -0.01070404052734375, -0.0211334228515625, -0.005931854248046875, -0.01255035400390625, -0.021575927734375, -0.004364013671875, -0.0194549560546875, -0.0034332275390625, -0.0169830322265625, 0.062347412109375, -0.0220184326171875, -0.009521484375, 0.005725860595703125, 0.0031642913818359375, 0.007373809814453125, 0.0242156982421875, 0.0382080078125, 0.0008244514465332031, -0.0166473388671875, -0.0065460205078125, -0.0523681640625, -0.01499176025390625, -0.014923095703125, -0.039520263671875, -0.005565643310546875, -0.002750396728515625, 0.01065826416015625, 0.036651611328125, 0.0160064697265625, -0.006153106689453125, -0.006816864013671875, 0.005168914794921875, -0.003192901611328125, 0.047821044921875, 0.034881591796875, -0.01261138916015625, -0.02093505859375, 0.036773681640625, 0.016204833984375, 0.00461578369140625, -0.02288818359375, -0.045440673828125, -0.0110626220703125, -0.08770751953125, 0.00356292724609375, 0.049957275390625, -0.00986480712890625, -0.0035686492919921875, -0.04718017578125, 0.0180511474609375, -0.035400390625, -0.036895751953125, -0.018310546875, -0.027252197265625, 0.08160400390625, -0.043060302734375, 0.0062713623046875, -0.04949951171875, -0.0213775634765625, 0.03765869140625, -0.01158905029296875, 0.004177093505859375, -0.02655029296875, -0.0211944580078125, -0.027496337890625, 0.047027587890625, 0.030517578125, -0.01123809814453125, 0.01377105712890625, -0.0380859375, -0.00193023681640625, 0.0362548828125, -0.006198883056640625, 0.0124359130859375, 0.0467529296875, -0.0419921875, -0.0504150390625, 0.0224456787109375, 0.01100921630859375, -0.02740478515625, 0.002132415771484375, -0.0201416015625, 0.0504150390625, -0.01200103759765625, 0.057159423828125, -0.00783538818359375, 0.03900146484375, 0.0236053466796875, -0.03692626953125, 0.038055419921875, -0.0204925537109375, 0.0165557861328125, 0.0159454345703125, 0.0121002197265625, 0.0093231201171875, -0.04052734375, -0.00702667236328125, 0.003360748291015625, -0.01003265380859375, -0.006656646728515625, 0.0249176025390625, 0.0200653076171875, -0.07110595703125, 0.01232147216796875, 0.0782470703125, -0.0318603515625, -0.044219970703125, 0.0086669921875, -0.015960693359375, -0.01335906982421875, -0.048370361328125, 0.02679443359375, -0.006221771240234375, 0.03009033203125, 0.0221405029296875, -0.0161285400390625, 0.040252685546875, 0.044158935546875, -0.018280029296875, 0.00960540771484375, 0.01397705078125, -0.040008544921875, -0.0313720703125, -0.017303466796875, 0.06378173828125, -0.01335906982421875, -0.0306854248046875, 0.033782958984375, -0.03955078125, -0.045745849609375, -0.0240631103515625, -0.02325439453125, 0.07586669921875, -0.0574951171875, 0.002628326416015625, 0.0171661376953125, 0.05780029296875, -0.01103973388671875, -0.0113525390625, 0.00786590576171875, -0.005645751953125, 0.031402587890625, -0.0286407470703125, -0.0009756088256835938, -0.011962890625, -0.049102783203125, -0.07415771484375, 0.058685302734375, 0.00722503662109375, 0.039886474609375, -0.032928466796875, 0.0251922607421875, 0.0210418701171875, 0.0106201171875, -0.033416748046875, 0.059173583984375, 0.0056304931640625, 0.021942138671875, -0.04974365234375, -0.0019817352294921875, 0.01100921630859375, 0.019195556640625, 0.046356201171875, -0.0031147003173828125, -0.018798828125, -0.033660888671875, 0.037933349609375, 0.04473876953125, 0.017303466796875, 0.021270751953125, 0.006015777587890625, -0.010894775390625, 0.0148162841796875, -0.036224365234375, 0.01110076904296875, -0.0306243896484375, -0.0089569091796875, 0.0125579833984375, 0.0205841064453125, 0.0218505859375, 0.02398681640625, 0.0206146240234375, -0.0250244140625, 0.00624847412109375, 0.040679931640625, -0.0316162109375, 0.042327880859375, 0.02825927734375, 0.03240966796875, -0.0038242340087890625, 0.0158843994140625, -0.007099151611328125, 0.05108642578125, -0.004741668701171875, 0.04229736328125, 0.0203704833984375, 0.0258026123046875, 0.0221405029296875, -0.021453857421875, 0.0274810791015625, 0.026763916015625, -0.059967041015625, 0.00884246826171875, -0.000308990478515625, 0.01290130615234375, -0.060516357421875, -0.0190582275390625, 0.034881591796875, 0.0338134765625, -0.017608642578125, 0.0172119140625, 0.034637451171875, -0.004283905029296875, -0.0357666015625, -0.0640869140625, -0.046875, -0.09259033203125, -0.07781982421875, -0.035919189453125, 0.03271484375, 0.03387451171875, 0.056060791015625, 0.005687713623046875, 0.0195159912109375, -0.10455322265625, -0.00634765625, -0.01319122314453125, -0.003570556640625, 0.00049591064453125, 0.01502227783203125, 0.0185546875, 0.0222930908203125, 0.0102996826171875, 0.003986358642578125, -0.007694244384765625, 0.03863525390625, 0.017608642578125, 0.0006031990051269531, -0.0297698974609375, -0.05975341796875, 0.02386474609375, 0.03009033203125, 0.01434326171875, 0.005229949951171875, 0.049163818359375, 0.052703857421875, -0.028961181640625, -0.0167236328125, 0.00098419189453125, -0.0178375244140625, 0.033721923828125, -0.026092529296875, 0.0220794677734375, 0.028961181640625, -0.0162506103515625, -0.0161590576171875, -0.0078277587890625, 0.0714111328125, -0.03857421875, 0.03179931640625, -0.0167236328125, -0.030181884765625, 0.042083740234375, -0.0125579833984375, 0.06451416015625, -0.01218414306640625, -0.029998779296875, 0.01393890380859375, -0.0452880859375, -0.03668212890625, 0.0073089599609375, 0.011199951171875, -0.05145263671875, 0.038177490234375, -0.0386962890625, -0.00391387939453125, 0.00476837158203125, -0.0017528533935546875, 0.01125335693359375, 0.03668212890625, 0.02203369140625, -0.0013217926025390625, -0.038970947265625, -0.037750244140625, -0.01837158203125, 0.03826904296875, 0.0166473388671875, 0.02215576171875, 0.0009341239929199219, 0.03759765625, -0.0218658447265625, 0.0029354095458984375, 0.0018148422241210938, 0.0035343170166015625, -0.045501708984375, 0.03656005859375, 0.023040771484375, -0.0208740234375, 0.02313232421875, 0.05810546875, 0.005329132080078125, -0.0202789306640625, 0.00540924072265625, -0.006378173828125, 0.0009145736694335938, -0.006618499755859375, 0.018341064453125, -0.006687164306640625, 0.021270751953125, 0.006443023681640625, -0.0189208984375, 0.04962158203125, 0.013458251953125, -0.00201416015625, 0.0025157928466796875, 0.0235748291015625, -0.0262908935546875, 0.00933074951171875, -0.00643157958984375, -0.0036296844482421875, 0.0179901123046875, 0.038360595703125, -0.03839111328125, 0.0253753662109375, -0.01273345947265625, -0.003688812255859375, 0.022613525390625, 0.035888671875, 0.035003662109375, -0.053253173828125, -0.018798828125, -0.02349853515625, -0.0021610260009765625, -0.00011742115020751953, -0.03643798828125, -0.030120849609375, -0.031463623046875, -0.048095703125, 0.00421142578125, -0.00518035888671875, -0.03594970703125, -0.037384033203125, 0.0014972686767578125, -0.039276123046875, -0.036285400390625, -0.0238037109375, -0.040679931640625, 0.049652099609375, 0.021484375, -0.05792236328125, 0.006900787353515625, -0.0105438232421875, 0.007572174072265625, 0.009002685546875, -0.0059356689453125, 0.00853729248046875, 0.0546875, -0.0269012451171875, -0.0697021484375, -0.0267181396484375, 0.051849365234375, -0.06561279296875, 0.048614501953125, 0.0193328857421875, -0.05023193359375, 0.07501220703125, 0.056060791015625, 0.07421875, 0.1146240234375, 0.047607421875, -0.0306549072265625, -0.034423828125, 0.0240936279296875, 0.006450653076171875, -0.00714874267578125, 0.017791748046875, -0.0270233154296875, -0.0305938720703125, -0.02496337890625, 0.022247314453125, 0.032012939453125, -0.016387939453125, -0.0679931640625, 0.020660400390625, -0.00937652587890625, -0.0253448486328125, -0.037628173828125, 0.0352783203125, 0.00958251953125, -0.00409698486328125, 0.0034847259521484375, -0.041748046875, -0.0162200927734375, -0.018829345703125, 0.01300811767578125, 0.04254150390625, 0.0238037109375, 0.004055023193359375, 0.0092315673828125, 0.007366180419921875, -0.01047515869140625, 0.009490966796875, 0.022613525390625, -0.0246124267578125, 0.03521728515625, 0.03143310546875, -0.045928955078125, -0.00775909423828125, -0.01404571533203125, -0.00818634033203125, -0.033599853515625, -0.0191802978515625, -0.038726806640625, 0.00640869140625, 0.06463623046875, 0.10791015625, 0.0128173828125, -0.04949951171875, 0.01258087158203125, -0.033172607421875, -0.03814697265625, -0.02001953125, 0.004169464111328125, -0.03521728515625, -0.007480621337890625, -0.021453857421875, 0.004291534423828125, 0.0022754669189453125, -0.022735595703125, -0.017425537109375, -0.0146484375, 0.0123291015625, 0.0275421142578125, -0.039947509765625, 0.01255035400390625, 0.023681640625, -0.01177978515625, 0.05792236328125, -0.016326904296875, 0.0036640167236328125, 0.058502197265625, 0.039764404296875, 0.00469970703125, -0.037506103515625, -0.027191162109375, 0.025909423828125, -0.01332855224609375, 0.053497314453125, -0.04412841796875, -0.042083740234375, -0.024932861328125, 0.01277923583984375, 0.0225372314453125, 0.0262298583984375, -0.01187896728515625, 0.021575927734375, 0.0266571044921875, -0.0152435302734375, -0.0303497314453125, -0.01001739501953125, -0.005237579345703125, -0.00502777099609375, -0.02484130859375, 0.03125, 0.049957275390625, -0.02264404296875, 0.0097503662109375, 0.02716064453125, 0.0168304443359375, -0.03863525390625, 0.03875732421875, 0.01349639892578125, 0.02008056640625, 0.0182647705078125 ]
1f5e5f7fa737d6a46cf0448fdfd0223defbd2f1b
Wordpress Stackexchange Q: Print WordPress template filename(s) for debugging I've taken over the maintainance of a large WP-MS powered site. The site has ~200 templates, many page specific, and with no standard naming procedure. It would save a lot of time if while surfing around the site I can see the template names which make up the current page. Is this possible? I've looked at the debug plugins for WordPress, but they appear geared towards variables and SQL queries, not templates. A: this is also a quick way; <!-- <?php print_r( debug_backtrace() ) ?> --> paste it just before the closing tag
Q: Print WordPress template filename(s) for debugging I've taken over the maintainance of a large WP-MS powered site. The site has ~200 templates, many page specific, and with no standard naming procedure. It would save a lot of time if while surfing around the site I can see the template names which make up the current page. Is this possible? I've looked at the debug plugins for WordPress, but they appear geared towards variables and SQL queries, not templates. A: this is also a quick way; <!-- <?php print_r( debug_backtrace() ) ?> --> paste it just before the closing tag A: The following functions do 3 things: * *Show the template hierarchy for the current requesst *Show the theme in use (2 ways to acchive this shown) *Show the current template in use for the request *) *) Attach it to the content filter. You may need to play with the conditional or capability depending on your role. So far I don't know a solution to show the page template for archives and similar list view requests. // That's not that easy to read: var_dump( get_required_files() ); /** * Show template hierarchy and theme at the end of the request/page. * @return void */ function wpse31909_template_info() { // Don't display for non-admin users if ( ! current_user_can( 'manage_options' ) ) return; // You have to build yourself the hierarchy here or somewhere in front of the fn global $wp_template_hierarchy; $content = '<pre>'; // Show template hierarchy $content .= "TEMPLATE HIERARCHY\n==================\n"; $content .= var_export( $wp_template_hierarchy, true ); // Show current theme in use: $content .= "\n\nCURRENT THEME\n=============\n"; $content .= var_export( get_option( 'template' ), true ); // or: # $content .= var_export( get_template(), true ); $content .= '</pre>'; return print $content; } add_action( 'shutdown', 'wpse31909_template_info' ); /** * Show template on singular views attached to the end of the content for admins * @return $content */ function wpse31909_template_to_content( $content ) { // Display standard content for non-admin users and not single post/page/cpt/attachment view. if ( ! current_user_can( 'manage_options' ) && ! is_singular() ) return $content; $content .= '<pre>'; // Show current template in use: Must be in the loop to get the global $post $content .= var_export( get_post_meta( $GLOBALS['post']->ID, '_wp_page_template' ), true ); $content .= '</pre>'; return $content; } add_filter( 'the_content', 'wpse31909_template_to_content' ); A: I use this to simply print the template filename at the top of the page for debugging purposes. // For debugging - show template file add_action('wp_head', 'show_template'); function show_template() { global $template; print_r($template); } A: While not directly an answer to the question at hand, it should probably also be noted here that by default WordPress adds a class name to the <body> tag for custom page templates. So for instance, if you are viewing a page that has a custom page template, and the template's filename is custom.php, then a class name of page-template-custom will be added to the <body> tag. Documentation on this feature can be found here: https://codex.wordpress.org/Function_Reference/body_class#Page
wordpress
{ "language": "en", "length": 493, "provenance": "stackexchange_00019.jsonl.gz:414073", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/31909" }
[ -0.006908416748046875, 0.01806640625, -0.0201263427734375, 0.021209716796875, -0.01873779296875, -0.00926971435546875, -0.0005197525024414062, -0.03955078125, -0.01456451416015625, 0.0122833251953125, 0.0269317626953125, -0.0250701904296875, -0.0191802978515625, -0.041290283203125, 0.00007730722427368164, -0.02435302734375, 0.05609130859375, -0.035980224609375, 0.032958984375, -0.001617431640625, -0.00031113624572753906, 0.033355712890625, 0.0280609130859375, 0.06219482421875, 0.0014104843139648438, 0.0038471221923828125, 0.08038330078125, -0.034698486328125, 0.017974853515625, -0.035614013671875, 0.0120697021484375, 0.0003886222839355469, 0.0207366943359375, 0.00711822509765625, -0.0053558349609375, 0.01922607421875, 0.00045180320739746094, 0.0043182373046875, 0.01210784912109375, 0.01056671142578125, 0.01165008544921875, 0.00469970703125, 0.06048583984375, -0.0180206298828125, 0.00957489013671875, -0.0235137939453125, 0.00270843505859375, -0.046417236328125, 0.008270263671875, 0.039703369140625, 0.022979736328125, 0.0175323486328125, 0.023162841796875, 0.018310546875, 0.0012693405151367188, -0.01348114013671875, -0.020263671875, 0.0146026611328125, 0.0230560302734375, -0.0026645660400390625, -0.005603790283203125, -0.0075531005859375, 0.01209259033203125, -0.0133209228515625, -0.00012731552124023438, 0.016143798828125, 0.011566162109375, 0.01087188720703125, 0.016571044921875, 0.0002079010009765625, -0.0229644775390625, -0.015350341796875, -0.0002237558364868164, 0.01386260986328125, 0.01248931884765625, -0.0267333984375, 0.01294708251953125, -0.004108428955078125, 0.0008292198181152344, 0.035980224609375, 0.01009368896484375, -0.0655517578125, -0.06744384765625, 0.0099029541015625, 0.024810791015625, 0.0577392578125, 0.01165008544921875, -0.0210723876953125, -0.0149993896484375, -0.006122589111328125, -0.0258331298828125, 0.004711151123046875, -0.01013946533203125, 0.0030803680419921875, -0.01453399658203125, -0.022674560546875, -0.00905609130859375, 0.04046630859375, -0.0153045654296875, -0.01180267333984375, -0.040771484375, 0.002361297607421875, -0.057464599609375, -0.003398895263671875, 0.0027103424072265625, 0.03973388671875, 0.02374267578125, 0.05633544921875, 0.045196533203125, 0.0184478759765625, 0.0004930496215820312, 0.04052734375, -0.042633056640625, -0.055755615234375, -0.01462554931640625, 0.062744140625, -0.015777587890625, -0.0151824951171875, 0.0200042724609375, -0.009521484375, 0.004482269287109375, 0.021514892578125, 0.00777435302734375, 0.005950927734375, -0.00904083251953125, -0.01085662841796875, -0.016876220703125, -0.0291290283203125, 0.00157928466796875, 0.0133056640625, -0.0064697265625, 0.0186004638671875, 0.0080108642578125, -0.0162811279296875, -0.030303955078125, -0.0109405517578125, 0.006053924560546875, -0.0162200927734375, 0.01366424560546875, 0.00562286376953125, -0.0251007080078125, -0.022674560546875, 0.01385498046875, -0.0224609375, -0.016021728515625, -0.01165771484375, 0.019805908203125, 0.044097900390625, -0.0193939208984375, -0.00426483154296875, -0.005817413330078125, 0.0164947509765625, 0.0037631988525390625, 0.00350189208984375, 0.00991058349609375, -0.072021484375, -0.020263671875, -0.040924072265625, 0.06488037109375, -0.0307464599609375, -0.01169586181640625, 0.007648468017578125, -0.0016536712646484375, -0.06719970703125, -0.0390625, -0.01142120361328125, -0.01157379150390625, 0.0131683349609375, 0.02178955078125, -0.020721435546875, 0.02911376953125, -0.032623291015625, 0.05352783203125, -0.005123138427734375, -0.017486572265625, 0.0257110595703125, -0.019927978515625, 0.011016845703125, 0.00921630859375, 0.0147552490234375, 0.0142364501953125, -0.0270538330078125, 0.01364898681640625, 0.011077880859375, -0.0667724609375, 0.0218353271484375, -0.005992889404296875, 0.03594970703125, 0.048095703125, -0.015289306640625, 0.05224609375, -0.03668212890625, -0.0226287841796875, 0.051910400390625, -0.0154571533203125, -0.0211181640625, -0.0200042724609375, 0.0224456787109375, -0.032867431640625, -0.03302001953125, -0.0009260177612304688, 0.034698486328125, -0.0244903564453125, -0.004199981689453125, -0.056854248046875, 0.00121307373046875, -0.00897979736328125, 0.037628173828125, -0.00595855712890625, -0.0164031982421875, 0.0217437744140625, -0.0107879638671875, -0.020416259765625, -0.033599853515625, -0.05621337890625, 0.03253173828125, -0.004657745361328125, -0.0165557861328125, 0.0290679931640625, -0.033355712890625, 0.037384033203125, 0.04925537109375, 0.019805908203125, 0.01299285888671875, -0.0026073455810546875, 0.0025653839111328125, -0.04534912109375, -0.003753662109375, -0.037689208984375, 0.022186279296875, -0.04681396484375, 0.0501708984375, -0.034454345703125, 0.0030117034912109375, -0.0061798095703125, -0.01178741455078125, 0.0182952880859375, -0.037017822265625, 0.0282745361328125, 0.031768798828125, 0.0300140380859375, 0.03314208984375, 0.01480865478515625, 0.0126800537109375, 0.047027587890625, -0.039337158203125, 0.01290130615234375, -0.003993988037109375, 0.041412353515625, 0.06982421875, -0.0675048828125, -0.02264404296875, 0.0081634521484375, -0.0633544921875, 0.0004787445068359375, 0.042266845703125, -0.020477294921875, 0.0178375244140625, -0.027496337890625, 0.03900146484375, -0.00897979736328125, 0.038726806640625, 0.029632568359375, -0.00726318359375, 0.0277099609375, 0.00885009765625, 0.0028476715087890625, 0.0110626220703125, -0.04913330078125, 0.02655029296875, 0.0301971435546875, -0.002468109130859375, 0.00275421142578125, 0.039642333984375, -0.019622802734375, 0.023162841796875, -0.019744873046875, -0.006511688232421875, 0.01025390625, 0.0060882568359375, -0.0157623291015625, 0.036407470703125, -0.0296173095703125, -0.015869140625, -0.035247802734375, -0.07440185546875, -0.01003265380859375, 0.007282257080078125, 0.013763427734375, 0.0237274169921875, 0.026214599609375, 0.07452392578125, 0.00220489501953125, 0.045806884765625, -0.017730712890625, 0.0257568359375, 0.08184814453125, -0.019195556640625, 0.0266876220703125, 0.007213592529296875, 0.0272674560546875, 0.0545654296875, -0.004962921142578125, 0.0196075439453125, -0.00586700439453125, 0.050750732421875, 0.0338134765625, -0.0228271484375, -0.03460693359375, -0.0013885498046875, -0.054412841796875, -0.03338623046875, 0.006893157958984375, 0.08746337890625, -0.033477783203125, -0.07183837890625, -0.00542449951171875, 0.0198516845703125, -0.07672119140625, -0.08697509765625, -0.045654296875, -0.05230712890625, -0.01458740234375, -0.01013946533203125, -0.025909423828125, 0.01496124267578125, 0.00525665283203125, 0.0135040283203125, 0.022979736328125, -0.07440185546875, -0.053070068359375, -0.06304931640625, -0.06793212890625, -0.00780487060546875, 0.014312744140625, -0.01122283935546875, -0.00939178466796875, 0.020172119140625, -0.01403045654296875, -0.036712646484375, -0.0106658935546875, -0.013214111328125, 0.01453399658203125, -0.00450897216796875, -0.01139068603515625, -0.008270263671875, -0.00994873046875, 0.014617919921875, -0.037139892578125, 0.0025882720947265625, 0.0090484619140625, -0.01580810546875, -0.02008056640625, -0.035186767578125, -0.006763458251953125, -0.01812744140625, 0.0259857177734375, 0.0113372802734375, -0.0142974853515625, -0.04290771484375, -0.025970458984375, -0.01421356201171875, -0.04925537109375, 0.0565185546875, 0.032928466796875, -0.00518798828125, -0.004669189453125, 0.006916046142578125, 0.042510986328125, 0.0161590576171875, -0.01003265380859375, 0.01224517822265625, 0.02044677734375, 0.0104217529296875, 0.028167724609375, -0.021759033203125, 0.0002243518829345703, -0.03228759765625, 0.00595855712890625, -0.01427459716796875, 0.0006279945373535156, 0.0045623779296875, 0.0029048919677734375, 0.0114593505859375, -0.041168212890625, 0.05096435546875, -0.03607177734375, 0.01076507568359375, -0.0518798828125, -0.023223876953125, -0.028533935546875, 0.08135986328125, -0.026092529296875, -0.0030879974365234375, -0.00027751922607421875, -0.0002472400665283203, -0.01739501953125, -0.028411865234375, -0.049652099609375, -0.0214691162109375, -0.091064453125, -0.01122283935546875, -0.0303497314453125, -0.05474853515625, 0.01390838623046875, -0.0430908203125, -0.030181884765625, -0.06494140625, 0.00844573974609375, -0.01465606689453125, 0.0194244384765625, -0.03118896484375, 0.01021575927734375, -0.0293731689453125, 0.01381683349609375, -0.050872802734375, -0.08148193359375, -0.0223236083984375, -0.0237274169921875, 0.0889892578125, 0.0310516357421875, -0.042449951171875, -0.00746917724609375, 0.04852294921875, -0.02093505859375, 0.00640106201171875, -0.0033664703369140625, 0.03173828125, 0.028411865234375, -0.006717681884765625, -0.0029125213623046875, -0.011993408203125, -0.0199432373046875, -0.0160369873046875, -0.0236053466796875, -0.0039215087890625, -0.005138397216796875, -0.035430908203125, 0.02850341796875, -0.020355224609375, -0.0079193115234375, 0.009002685546875, 0.03570556640625, 0.0213470458984375, 0.02447509765625, -0.01447296142578125, 0.01129150390625, 0.0009198188781738281, 0.053863525390625, -0.01739501953125, -0.033721923828125, 0.01230621337890625, 0.060760498046875, 0.00843048095703125, -0.01442718505859375, -0.0673828125, 0.00713348388671875, 0.027740478515625, 0.023834228515625, 0.025115966796875, 0.00748443603515625, -0.020751953125, 0.0220794677734375, 0.00789642333984375, -0.0030117034912109375, -0.034942626953125, 0.040924072265625, -0.031524658203125, -0.055816650390625, 0.052703857421875, -0.048858642578125, 0.0308685302734375, 0.04888916015625, -0.0254058837890625, -0.0323486328125, -0.01629638671875, 0.064208984375, -0.0400390625, 0.034912109375, -0.03521728515625, -0.032135009765625, -0.003551483154296875, 0.00917816162109375, 0.0117340087890625, 0.03173828125, -0.010345458984375, 0.005611419677734375, 0.0201873779296875, -0.0016603469848632812, 0.042266845703125, 0.05316162109375, 0.0096588134765625, 0.0293121337890625, 0.0340576171875, -0.004180908203125, -0.0264129638671875, -0.007137298583984375, 0.049652099609375, -0.00433349609375, -0.06622314453125, 0.0276336669921875, -0.0240325927734375, -0.0021953582763671875, 0.028472900390625, 0.01398468017578125, 0.0300140380859375, 0.01447296142578125, -0.004993438720703125, -0.0002624988555908203, -0.0008687973022460938, -0.012908935546875, -0.03863525390625, -0.019744873046875, -0.01776123046875, -0.021881103515625, 0.06585693359375, 0.00006711483001708984, -0.021148681640625, 0.029571533203125, -0.0087890625, -0.041778564453125, -0.03900146484375, 0.0159912109375, 0.031646728515625, -0.01702880859375, 0.01482391357421875, -0.03009033203125, 0.04638671875, -0.0372314453125, 0.0008192062377929688, -0.0102996826171875, 0.040679931640625, -0.0162506103515625, -0.0304107666015625, 0.038238525390625, -0.041351318359375, 0.018646240234375, -0.01313018798828125, -0.03765869140625, -0.0131683349609375, -0.006412506103515625, -0.01322174072265625, 0.018951416015625, -0.037353515625, 0.021942138671875, 0.01021575927734375, 0.0196990966796875, 0.00937652587890625, -0.004840850830078125, -0.0367431640625, -0.01221466064453125, 0.00004953145980834961, -0.06805419921875, -0.0263214111328125, 0.0260162353515625, -0.0732421875, -0.044525146484375, -0.0021800994873046875, -0.0289764404296875, 0.031280517578125, -0.032257080078125, 0.00838470458984375, -0.004367828369140625, 0.0016002655029296875, -0.002521514892578125, 0.0213623046875, 0.0081024169921875, 0.00902557373046875, -0.029998779296875, -0.00605010986328125, -0.05938720703125, -0.037811279296875, -0.00127410888671875, 0.00208282470703125, -0.03302001953125, 0.0100555419921875, -0.01346588134765625, -0.00208282470703125, 0.0225982666015625, 0.0491943359375, -0.002895355224609375, 0.057861328125, -0.0006155967712402344, 0.05706787109375, -0.0054931640625, 0.039642333984375, -0.0289154052734375, 0.032012939453125, -0.01263427734375, 0.0007758140563964844, -0.029998779296875, -0.0008673667907714844, 0.0227508544921875, 0.026123046875, -0.032501220703125, -0.01678466796875, -0.0164947509765625, -0.0133056640625, 0.0762939453125, -0.0138702392578125, -0.000469207763671875, -0.011016845703125, 0.01091766357421875, -0.00852203369140625, 0.044342041015625, 0.01509857177734375, -0.0026760101318359375, 0.0160369873046875, 0.001194000244140625, -0.0234527587890625, -0.04010009765625, -0.036773681640625, 0.0014400482177734375, 0.0279998779296875, -0.034149169921875, -0.0022068023681640625, 0.002246856689453125, 0.01450347900390625, 0.0596923828125, 0.01104736328125, 0.03424072265625, 0.028594970703125, 0.00739288330078125, 0.0106048583984375, 0.022064208984375, 0.043853759765625, -0.0276031494140625, 0.10211181640625, 0.035675048828125, -0.018768310546875, 0.07281494140625, -0.056915283203125, 0.024871826171875, 0.0255279541015625, 0.016815185546875, -0.06085205078125, 0.024688720703125, -0.00323486328125, -0.0188140869140625, 0.004192352294921875, -0.0287628173828125, 0.001514434814453125, -0.0172576904296875, 0.0626220703125, 0.0238800048828125, -0.01032257080078125, 0.030303955078125, 0.0105133056640625, -0.0036067962646484375, -0.0049896240234375, 0.09912109375, 0.0218048095703125, -0.05810546875, -0.000005245208740234375, 0.02056884765625, -0.0009107589721679688, -0.039154052734375, 0.0238037109375, -0.02203369140625, -0.0010862350463867188, -0.00695037841796875, 0.06622314453125, -0.01788330078125, 0.044342041015625, 0.0006999969482421875, 0.00936126708984375, 0.0101470947265625, 0.05718994140625, -0.0208740234375, 0.0067901611328125, 0.040435791015625, -0.01195526123046875, 0.0256805419921875, -0.016143798828125, 0.0019445419311523438, -0.002056121826171875, -0.037384033203125, -0.00766754150390625, -0.04119873046875, 0.024383544921875, -0.01457977294921875, 0.05718994140625, 0.12353515625, 0.018402099609375, -0.06207275390625, 0.0153045654296875, 0.0220794677734375, -0.01934814453125, 0.0176239013671875, -0.02117919921875, -0.0423583984375, -0.006649017333984375, -0.00017404556274414062, -0.005527496337890625, 0.0201263427734375, 0.0323486328125, -0.07611083984375, 0.07464599609375, 0.023223876953125, 0.03472900390625, 0.0242767333984375, 0.0172576904296875, -0.056549072265625, -0.02239990234375, -0.023956298828125, 0.0860595703125, 0.0209503173828125, 0.0682373046875, -0.055450439453125, -0.01983642578125, 0.04052734375, 0.067138671875, 0.02288818359375, 0.004726409912109375, 0.0294342041015625, 0.00582122802734375, 0.0465087890625, 0.015625, -0.019195556640625, 0.01474761962890625, -0.004673004150390625, 0.002643585205078125, -0.005558013916015625, -0.04876708984375, 0.022857666015625, -0.056640625, -0.005359649658203125, 0.0071258544921875, 0.01476287841796875, 0.0138702392578125, -0.01258087158203125, -0.00450897216796875, -0.00893402099609375, -0.0178375244140625, 0.011505126953125, -0.0218658447265625, 0.03387451171875, 0.007537841796875, 0.03802490234375, -0.04986572265625, -0.028656005859375, -0.00824737548828125, 0.043212890625, -0.0002186298370361328, 0.00156402587890625, 0.016754150390625, 0.01514434814453125, 0.00914764404296875, -0.03363037109375, 0.0021495819091796875, 0.0006198883056640625, -0.0215606689453125, 0.051971435546875, 0.031402587890625, 0.037567138671875, -0.00592803955078125, -0.01078033447265625, 0.01496124267578125, 0.055023193359375, -0.0292510986328125, -0.031097412109375, 0.00417327880859375, 0.0082550048828125, 0.005298614501953125, 0.01548004150390625, 0.03271484375, 0.031890869140625, 0.043670654296875, -0.0258026123046875, -0.04339599609375, -0.00988006591796875, 0.0260467529296875, -0.0186920166015625, -0.03466796875, 0.03662109375, -0.0565185546875, -0.019012451171875, 0.00811004638671875, 0.0255126953125, 0.044281005859375, -0.00026226043701171875, 0.0297698974609375, -0.0148468017578125, -0.01496124267578125, -0.0305328369140625, 0.034149169921875, -0.029693603515625, 0.03692626953125, -0.028350830078125, 0.0139007568359375, -0.044036865234375, 0.0303955078125, 0.018829345703125, 0.0305023193359375, 0.068359375, 0.0020008087158203125, -0.08349609375, -0.0060577392578125, 0.0158233642578125, -0.05072021484375, 0.00850677490234375, -0.053131103515625, -0.00830078125, -0.0251922607421875, -0.018402099609375, 0.0006866455078125, -0.004245758056640625, -0.006378173828125, -0.041900634765625, -0.0028095245361328125, -0.00269317626953125, -0.0095672607421875, 0.0447998046875, -0.03338623046875, -0.0401611328125, -0.01617431640625, -0.0758056640625, -0.006687164306640625, -0.039215087890625, -0.0227508544921875, 0.020050048828125, 0.04150390625, 0.0028514862060546875, 0.0067596435546875, 0.0233917236328125, 0.00555419921875, -0.0455322265625, -0.004749298095703125, 0.05670166015625, 0.01678466796875, -0.00013828277587890625, 0.046722412109375, -0.076171875, -0.042816162109375, -0.0587158203125, 0.0406494140625, 0.040069580078125, 0.09271240234375, -0.0206298828125, 0.043548583984375, -0.0227203369140625, 0.00704193115234375, -0.0277557373046875, -0.0394287109375, 0.045867919921875, 0.02703857421875, -0.0064239501953125, -0.01861572265625, -0.03729248046875, 0.04534912109375, 0.0295562744140625, -0.01273345947265625, 0.0377197265625, -0.0167694091796875, 0.003143310546875, -0.01910400390625, 0.0224609375, -0.0031795501708984375, -0.039764404296875, 0.0212554931640625, 0.03302001953125, -0.0015277862548828125, 0.029815673828125, 0.00004595518112182617, 0.016143798828125, 0.050079345703125, -0.0290374755859375, 0.0006351470947265625, -0.0167083740234375, 0.03253173828125, 0.037109375, 0.042816162109375, -0.0229034423828125, 0.00846099853515625, -0.010589599609375, 0.0218963623046875, -0.01061248779296875, 0.06060791015625, -0.007686614990234375, 0.0298919677734375, 0.002166748046875, -0.0285797119140625, 0.026885986328125, -0.0278778076171875, 0.004993438720703125, -0.037628173828125, 0.0394287109375, 0.021453857421875, -0.0313720703125, -0.01328277587890625, -0.0191497802734375, -0.003444671630859375, 0.016571044921875, 0.007007598876953125, -0.01177978515625, 0.0022430419921875, -0.06744384765625, 0.0081329345703125, -0.005828857421875, 0.037384033203125, -0.0135498046875, -0.0107574462890625, -0.09344482421875, 0.011810302734375, -0.0227813720703125, 0.008880615234375, 0.0269317626953125, -0.00249481201171875, 0.0027599334716796875, -0.0193634033203125, 0.005756378173828125, 0.00428009033203125, 0.01375579833984375, 0.021636962890625, -0.0218963623046875, 0.0278778076171875, 0.0236968994140625, 0.036346435546875, 0.08038330078125, 0.0112152099609375, -0.034698486328125, 0.0009570121765136719, 0.010040283203125, -0.0006046295166015625, -0.020233154296875, -0.00719451904296875, -0.0147857666015625, 0.018341064453125, 0.0016660690307617188, -0.00634765625, 0.0019931793212890625, -0.041961669921875, -0.086181640625, 0.001522064208984375, 0.0009860992431640625, -0.04473876953125, -0.0254058837890625, 0.0103759765625, 0.0021114349365234375, -0.01325225830078125, -0.005107879638671875, -0.0222320556640625, -0.01239776611328125, 0.0206756591796875, 0.02569580078125, 0.0209808349609375, 0.03619384765625, 0.0196075439453125, -0.01230621337890625, 0.0294952392578125, 0.00528717041015625, 0.007511138916015625, 0.006988525390625, -0.01274871826171875, 0.01476287841796875, 0.021697998046875, -0.035614013671875, -0.00140380859375, 0.01534271240234375, 0.01404571533203125, 0.01030731201171875, 0.0289764404296875, -0.05462646484375, -0.00038242340087890625, 0.060577392578125, 0.0772705078125, 0.026092529296875, -0.043548583984375, -0.0182952880859375, 0.0040283203125, -0.06475830078125, -0.0251922607421875, 0.052398681640625, -0.0787353515625, -0.0006690025329589844, -0.0020275115966796875, 0.01004791259765625, -0.0211181640625, -0.0106353759765625, -0.01873779296875, -0.01372528076171875, 0.01800537109375, 0.0207366943359375, 0.0013284683227539062, -0.009613037109375, 0.0638427734375, -0.035369873046875, 0.0012502670288085938, -0.0167694091796875, 0.034271240234375, 0.0260772705078125, -0.043975830078125, -0.0262908935546875, 0.03363037109375, -0.046356201171875, 0.01169586181640625, -0.0035381317138671875, 0.04766845703125, -0.03497314453125, 0.0218658447265625, 0.03033447265625, 0.0224456787109375, -0.03704833984375, -0.005603790283203125, -0.007549285888671875, 0.074951171875, -0.0263519287109375, 0.09637451171875, 0.003513336181640625, 0.037200927734375, -0.023590087890625, 0.06396484375, -0.0121917724609375, -0.03369140625, 0.016510009765625, -0.03857421875, 0.0037937164306640625, 0.0009655952453613281, 0.0066070556640625, -0.043701171875, 0.0199432373046875, 0.0142822265625, 0.0072174072265625, 0.0218963623046875 ]
c473d9183f359f064848b7e386a110c346bba127
Wordpress Stackexchange Q: WordPress Admin back-end - advanced options page? Am I losing my mind? I seem to recall that somewhere in the Admin back-end there was a page that basically listed out all the fields within wp_options. Does this ring a bell to anyone else? I thought maybe it was a MU thing but it's not there either. At one point I seem to recall running into a page where you could edit the options directly (without using a DB client). No big deal if there isn't but I swear I've seen such a beast, and I don't think it was through a plugin... A: Try: http://example.com/wp-admin/options.php Which lists all of the site's options.
Q: WordPress Admin back-end - advanced options page? Am I losing my mind? I seem to recall that somewhere in the Admin back-end there was a page that basically listed out all the fields within wp_options. Does this ring a bell to anyone else? I thought maybe it was a MU thing but it's not there either. At one point I seem to recall running into a page where you could edit the options directly (without using a DB client). No big deal if there isn't but I swear I've seen such a beast, and I don't think it was through a plugin... A: Try: http://example.com/wp-admin/options.php Which lists all of the site's options. A: // Adds 'ALL' options page - only accessible for admins and custom roles that have the 'manage_options' capability. function wpse31956_all_settings_page() { add_options_page( __('All'), __('All'), 'manage_options', 'options.php' ); } add_action( 'admin_menu', 'wpse31956_all_settings_page' ); Note: As I just saw that me an @ChipBennet posted at nearly the same time: The answer is the same.
wordpress
{ "language": "en", "length": 166, "provenance": "stackexchange_00019.jsonl.gz:414091", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/31956" }
[ 0.033050537109375, -0.0078887939453125, 0.0244140625, 0.0018873214721679688, -0.0015039443969726562, -0.033721923828125, 0.034820556640625, -0.02508544921875, 0.023162841796875, -0.01007080078125, -0.0166778564453125, -0.0279541015625, -0.00882720947265625, -0.04486083984375, -0.00833892822265625, -0.046966552734375, 0.0291595458984375, 0.017822265625, 0.035919189453125, 0.01358795166015625, 0.0058441162109375, 0.0302886962890625, -0.007904052734375, 0.048675537109375, 0.029205322265625, -0.032745361328125, 0.018890380859375, -0.0288543701171875, 0.042266845703125, 0.005596160888671875, 0.0167694091796875, -0.021697998046875, 0.012786865234375, -0.0306854248046875, 0.0567626953125, -0.0278167724609375, 0.020111083984375, -0.00978851318359375, 0.0219573974609375, 0.0021190643310546875, 0.0222625732421875, -0.0179595947265625, 0.022247314453125, 0.03887939453125, -0.0101165771484375, -0.037872314453125, 0.0345458984375, -0.039215087890625, 0.025299072265625, -0.05133056640625, -0.0228118896484375, -0.007694244384765625, -0.005245208740234375, -0.004520416259765625, -0.0178070068359375, -0.031494140625, 0.01617431640625, 0.00632476806640625, 0.041534423828125, -0.041961669921875, -0.044525146484375, -0.0250091552734375, 0.0243682861328125, 0.0037097930908203125, 0.0325927734375, -0.0264129638671875, -0.0146026611328125, 0.040008544921875, -0.01306915283203125, 0.0311737060546875, 0.034210205078125, -0.02655029296875, 0.0178985595703125, -0.02337646484375, 0.01873779296875, -0.0024852752685546875, -0.01418304443359375, 0.00986480712890625, 0.021087646484375, -0.0037212371826171875, 0.0059967041015625, -0.0037746429443359375, -0.0224151611328125, -0.0204010009765625, 0.0013780593872070312, -0.005550384521484375, -0.005352020263671875, 0.0008287429809570312, -0.0189056396484375, 0.0133209228515625, -0.006893157958984375, -0.0521240234375, -0.0290374755859375, 0.039215087890625, 0.02154541015625, -0.00809478759765625, 0.032562255859375, 0.01136016845703125, 0.039154052734375, 0.0005602836608886719, 0.01541900634765625, -0.041229248046875, 0.01496124267578125, -0.008941650390625, -0.0107269287109375, 0.019256591796875, 0.02569580078125, 0.017852783203125, 0.00814056396484375, 0.0194244384765625, -0.01392364501953125, 0.00933837890625, -0.01128387451171875, -0.02178955078125, -0.01076507568359375, -0.0213623046875, -0.051971435546875, 0.0208892822265625, 0.0014476776123046875, -0.01898193359375, 0.0020847320556640625, 0.01421356201171875, -0.009918212890625, -0.03204345703125, -0.0301361083984375, -0.052703857421875, -0.034149169921875, 0.006046295166015625, -0.011627197265625, 0.0252532958984375, -0.0355224609375, 0.027801513671875, 0.051544189453125, 0.01065826416015625, -0.0092620849609375, -0.0111846923828125, 0.0160980224609375, 0.0015096664428710938, 0.0053253173828125, 0.053466796875, 0.0027675628662109375, -0.0906982421875, -0.040679931640625, 0.03692626953125, 0.01538848876953125, 0.013763427734375, 0.0404052734375, 0.024810791015625, -0.024688720703125, -0.042449951171875, 0.0203704833984375, 0.0284881591796875, 0.00829315185546875, 0.026275634765625, 0.01494598388671875, 0.0277557373046875, 0.050323486328125, -0.0016813278198242188, -0.03265380859375, -0.0010194778442382812, -0.01337432861328125, 0.00396728515625, 0.03094482421875, -0.009735107421875, -0.01776123046875, 0.001766204833984375, -0.0171356201171875, -0.005863189697265625, 0.0261688232421875, -0.0116119384765625, 0.048553466796875, -0.048828125, 0.033660888671875, 0.01629638671875, 0.0031795501708984375, 0.04296875, -0.02752685546875, 0.03057861328125, 0.026519775390625, -0.0121307373046875, 0.0123748779296875, -0.0246124267578125, 0.024322509765625, 0.028656005859375, -0.03692626953125, 0.02685546875, -0.006153106689453125, 0.06317138671875, 0.04754638671875, 0.021697998046875, -0.015533447265625, -0.038421630859375, 0.011383056640625, 0.044891357421875, -0.0241851806640625, -0.01186370849609375, -0.03704833984375, 0.036651611328125, -0.036468505859375, -0.044464111328125, -0.03765869140625, 0.0184783935546875, -0.0261688232421875, 0.0181732177734375, -0.0102996826171875, -0.01262664794921875, -0.0028820037841796875, 0.01490020751953125, 0.00829315185546875, 0.003002166748046875, 0.0161895751953125, -0.0006546974182128906, -0.0245513916015625, -0.027740478515625, -0.03997802734375, 0.019195556640625, -0.01557159423828125, 0.034515380859375, 0.0076751708984375, 0.017578125, 0.01529693603515625, -0.037506103515625, 0.0061187744140625, 0.01535797119140625, 0.031524658203125, 0.03472900390625, -0.01474761962890625, 0.0017642974853515625, 0.04229736328125, 0.007808685302734375, 0.0386962890625, 0.0252227783203125, -0.010650634765625, 0.02728271484375, -0.0165252685546875, -0.0241851806640625, -0.0187835693359375, -0.059661865234375, 0.021026611328125, 0.045654296875, 0.043701171875, 0.018035888671875, 0.0262908935546875, 0.01265716552734375, 0.06268310546875, -0.0404052734375, 0.02252197265625, -0.01143646240234375, -0.01241302490234375, 0.0269012451171875, -0.017974853515625, 0.006229400634765625, 0.0225372314453125, -0.045806884765625, -0.0017910003662109375, 0.05047607421875, -0.0347900390625, 0.00736236572265625, 0.011688232421875, -0.00974273681640625, -0.00829315185546875, -0.0743408203125, -0.007678985595703125, -0.0428466796875, 0.055938720703125, 0.0032520294189453125, 0.034759521484375, 0.006839752197265625, -0.047760009765625, 0.0175628662109375, 0.024871826171875, 0.0048828125, -0.00820159912109375, -0.0036106109619140625, 0.01910400390625, -0.035736083984375, -0.0298614501953125, 0.00995635986328125, -0.0157623291015625, -0.0219879150390625, -0.01557159423828125, -0.00026679039001464844, -0.0142364501953125, -0.01016998291015625, 0.002399444580078125, -0.08026123046875, 0.018646240234375, 0.01052093505859375, -0.0213623046875, -0.000370025634765625, 0.02020263671875, -0.00746917724609375, -0.036865234375, 0.0185394287109375, -0.018829345703125, -0.027587890625, 0.0146331787109375, -0.0187530517578125, 0.02520751953125, -0.017120361328125, 0.0010509490966796875, 0.053009033203125, 0.0002524852752685547, -0.0095367431640625, -0.0025959014892578125, -0.0017290115356445312, -0.01129150390625, 0.0277099609375, 0.01247406005859375, -0.0072784423828125, -0.045440673828125, -0.0029468536376953125, 0.01520538330078125, 0.0194549560546875, 0.0016775131225585938, -0.057708740234375, -0.03387451171875, 0.017364501953125, -0.0882568359375, -0.0207366943359375, -0.01435089111328125, -0.07232666015625, -0.0254669189453125, -0.033294677734375, -0.04632568359375, 0.037139892578125, -0.0243988037109375, 0.01506805419921875, -0.01499176025390625, -0.04327392578125, -0.04864501953125, -0.0875244140625, -0.06842041015625, -0.08245849609375, -0.002628326416015625, 0.003353118896484375, 0.0128173828125, 0.052215576171875, -0.00011372566223144531, -0.07415771484375, -0.0161895751953125, -0.03173828125, -0.0299530029296875, -0.0021514892578125, 0.00634002685546875, -0.062255859375, 0.01470184326171875, -0.01137542724609375, 0.0377197265625, 0.017059326171875, -0.00397491455078125, 0.01210784912109375, -0.040771484375, -0.0137939453125, -0.036102294921875, -0.00002282857894897461, 0.046478271484375, -0.0219573974609375, -0.015625, -0.046539306640625, -0.007537841796875, 0.0445556640625, 0.011016845703125, 0.0107269287109375, -0.046539306640625, -0.0302734375, 0.0465087890625, -0.00007736682891845703, 0.007465362548828125, -0.0185546875, 0.004665374755859375, -0.0115966796875, -0.025909423828125, -0.0006957054138183594, 0.0157318115234375, 0.0203857421875, -0.004730224609375, -0.0197906494140625, 0.00888824462890625, -0.0003204345703125, 0.00991058349609375, 0.014801025390625, 0.0251312255859375, 0.01032257080078125, -0.10614013671875, 0.0318603515625, -0.10809326171875, -0.01508331298828125, -0.07232666015625, -0.0022029876708984375, -0.0029354095458984375, 0.1170654296875, -0.007293701171875, -0.004901885986328125, -0.0027313232421875, 0.0121612548828125, -0.0240020751953125, -0.030914306640625, -0.00991058349609375, -0.00691986083984375, -0.11456298828125, 0.002552032470703125, -0.00018358230590820312, -0.029754638671875, -0.01374053955078125, 0.033782958984375, -0.058258056640625, -0.04962158203125, 0.0168914794921875, -0.019622802734375, -0.01120758056640625, -0.0121002197265625, -0.01442718505859375, -0.039581298828125, 0.00844573974609375, -0.0200347900390625, -0.0799560546875, -0.0203399658203125, 0.003429412841796875, 0.06610107421875, 0.03228759765625, -0.0330810546875, -0.0015554428100585938, 0.06500244140625, -0.0071258544921875, -0.01033782958984375, 0.01375579833984375, 0.0174102783203125, -0.0115814208984375, -0.0148773193359375, 0.005382537841796875, -0.038116455078125, -0.0238494873046875, -0.05731201171875, -0.0025348663330078125, -0.004856109619140625, -0.03302001953125, -0.004154205322265625, -0.03924560546875, 0.0029430389404296875, -0.040496826171875, -0.0235748291015625, -0.057769775390625, -0.0207977294921875, -0.021026611328125, -0.0144805908203125, -0.007335662841796875, -0.056243896484375, 0.032257080078125, -0.0280609130859375, -0.01021575927734375, 0.0178680419921875, 0.08642578125, 0.0249176025390625, 0.0013751983642578125, -0.041839599609375, -0.0213470458984375, 0.005611419677734375, -0.0065460205078125, 0.0721435546875, 0.0121612548828125, 0.020050048828125, 0.05950927734375, -0.0133209228515625, 0.0047607421875, -0.03399658203125, 0.050689697265625, -0.0141448974609375, -0.02178955078125, 0.009521484375, -0.018402099609375, 0.0133514404296875, 0.0087432861328125, -0.0215606689453125, -0.0216827392578125, -0.0228271484375, 0.049652099609375, -0.0020008087158203125, 0.0124969482421875, -0.047119140625, -0.0328369140625, -0.0026683807373046875, -0.0166473388671875, 0.055206298828125, 0.039337158203125, -0.01534271240234375, 0.045867919921875, 0.0122528076171875, -0.00441741943359375, -0.00591278076171875, 0.00695037841796875, -0.00786590576171875, 0.035888671875, -0.0338134765625, -0.007080078125, -0.0015087127685546875, -0.0302581787109375, 0.08209228515625, 0.005107879638671875, -0.06292724609375, 0.0538330078125, -0.03253173828125, 0.01497650146484375, 0.0232391357421875, -0.0005078315734863281, 0.002841949462890625, 0.042449951171875, -0.0072174072265625, 0.00757598876953125, 0.02447509765625, 0.0292816162109375, -0.030548095703125, 0.052398681640625, 0.00966644287109375, 0.01522064208984375, 0.0276336669921875, 0.06671142578125, -0.007720947265625, 0.041656494140625, -0.0208282470703125, 0.0018062591552734375, 0.0276947021484375, 0.028350830078125, 0.016937255859375, 0.006038665771484375, 0.005680084228515625, -0.0158233642578125, 0.0288543701171875, -0.0300140380859375, 0.0238189697265625, 0.0299072265625, 0.0208587646484375, 0.05279541015625, -0.0102081298828125, -0.006866455078125, -0.0175018310546875, -0.006549835205078125, 0.043701171875, 0.015960693359375, -0.0606689453125, 0.0181121826171875, 0.0238037109375, -0.002803802490234375, -0.04296875, 0.0013551712036132812, -0.00787353515625, -0.027008056640625, 0.0005731582641601562, -0.0121002197265625, -0.021453857421875, -0.0071563720703125, -0.014862060546875, -0.051239013671875, -0.0006313323974609375, 0.015350341796875, -0.09234619140625, -0.0740966796875, 0.005451202392578125, 0.015625, 0.0322265625, 0.01372528076171875, 0.02044677734375, 0.01172637939453125, -0.038604736328125, -0.01238250732421875, -0.0038967132568359375, 0.033203125, 0.005748748779296875, -0.03143310546875, -0.01209259033203125, -0.0467529296875, -0.01953125, -0.01102447509765625, -0.01219940185546875, -0.03662109375, -0.0191650390625, -0.006565093994140625, 0.00804901123046875, -0.014556884765625, -0.012420654296875, -0.01678466796875, 0.0219573974609375, 0.03240966796875, 0.0194854736328125, 0.01099395751953125, 0.049468994140625, -0.051666259765625, 0.0382080078125, -0.0009336471557617188, 0.023040771484375, -0.0276031494140625, -0.0160369873046875, 0.01654052734375, -0.02117919921875, -0.0272369384765625, -0.03265380859375, -0.0283966064453125, 0.00678253173828125, 0.046142578125, -0.002735137939453125, 0.006191253662109375, -0.016754150390625, 0.0115203857421875, -0.01898193359375, 0.055572509765625, -0.037567138671875, -0.0190582275390625, 0.034637451171875, -0.041595458984375, -0.0340576171875, -0.0010499954223632812, -0.020355224609375, 0.0176239013671875, 0.007579803466796875, -0.00044274330139160156, 0.023468017578125, -0.06298828125, 0.054595947265625, 0.0810546875, -0.00453948974609375, 0.031097412109375, 0.0170745849609375, -0.0054168701171875, 0.00860595703125, 0.023681640625, -0.04833984375, -0.02288818359375, 0.036376953125, 0.0146636962890625, -0.01947021484375, 0.04083251953125, -0.0174102783203125, 0.0308990478515625, 0.05023193359375, 0.08203125, -0.0933837890625, 0.0401611328125, 0.021240234375, 0.0174713134765625, 0.05352783203125, -0.0013523101806640625, -0.00936126708984375, -0.016021728515625, 0.006805419921875, 0.013458251953125, -0.035858154296875, -0.00943756103515625, 0.01898193359375, -0.0160980224609375, 0.006877899169921875, 0.01233673095703125, 0.0007753372192382812, -0.0041961669921875, -0.0024890899658203125, -0.00705718994140625, 0.0241851806640625, -0.0303497314453125, 0.0187835693359375, -0.024261474609375, -0.0030956268310546875, -0.048309326171875, 0.0117340087890625, -0.00836944580078125, 0.005779266357421875, 0.0243377685546875, 0.0066070556640625, 0.01094818115234375, 0.056304931640625, -0.021148681640625, 0.0116119384765625, 0.0268096923828125, -0.0154876708984375, -0.0023212432861328125, -0.03741455078125, 0.0027790069580078125, -0.0146942138671875, -0.0308990478515625, 0.01251983642578125, -0.0202789306640625, -0.035430908203125, -0.0156402587890625, 0.0136566162109375, 0.0582275390625, 0.0045623779296875, -0.035919189453125, 0.0396728515625, 0.005199432373046875, -0.01216888427734375, 0.0172882080078125, -0.034454345703125, -0.01512908935546875, -0.00000864267349243164, -0.01641845703125, -0.028289794921875, 0.03460693359375, 0.0135650634765625, -0.033172607421875, 0.10382080078125, 0.006465911865234375, -0.0233154296875, 0.037689208984375, 0.055328369140625, -0.067626953125, 0.0228424072265625, -0.0250701904296875, 0.0477294921875, 0.03570556640625, -0.0003542900085449219, -0.05322265625, -0.0126190185546875, -0.0158233642578125, 0.0447998046875, 0.01763916015625, 0.00980377197265625, -0.00019240379333496094, 0.01560211181640625, 0.0609130859375, -0.00833892822265625, -0.0073089599609375, 0.04742431640625, 0.028411865234375, 0.045135498046875, 0.0533447265625, -0.025390625, 0.035247802734375, -0.058319091796875, 0.0203704833984375, 0.0296478271484375, 0.02264404296875, 0.048431396484375, -0.0265350341796875, 0.0380859375, 0.0038585662841796875, -0.04052734375, 0.01459503173828125, -0.07110595703125, 0.006256103515625, 0.03106689453125, 0.01004791259765625, -0.034332275390625, 0.0300445556640625, -0.029815673828125, 0.051910400390625, -0.033966064453125, 0.013275146484375, 0.01317596435546875, 0.021881103515625, -0.0054473876953125, -0.048675537109375, 0.005199432373046875, 0.00836181640625, -0.041015625, 0.0016603469848632812, -0.0125274658203125, 0.01445770263671875, -0.051971435546875, 0.015533447265625, 0.022552490234375, 0.022003173828125, -0.0249481201171875, -0.09381103515625, 0.006206512451171875, -0.0013875961303710938, 0.0217437744140625, 0.040008544921875, 0.0167236328125, -0.0000457763671875, 0.050048828125, -0.06280517578125, 0.00286102294921875, 0.0361328125, 0.039276123046875, -0.02783203125, -0.01328277587890625, -0.027069091796875, -0.0178375244140625, -0.010009765625, -0.016448974609375, 0.002895355224609375, 0.044281005859375, 0.02215576171875, 0.0166473388671875, -0.02301025390625, -0.0130462646484375, -0.0433349609375, 0.07830810546875, -0.0258026123046875, 0.07244873046875, -0.0499267578125, -0.040771484375, -0.0301971435546875, 0.03656005859375, 0.0012311935424804688, 0.04559326171875, 0.039520263671875, 0.0428466796875, -0.00942230224609375, 0.0012559890747070312, 0.042236328125, -0.0136260986328125, -0.0240631103515625, -0.02130126953125, 0.03778076171875, 0.04876708984375, 0.022796630859375, 0.00018310546875, 0.0172882080078125, 0.052001953125, 0.0077972412109375, 0.0018367767333984375, 0.01441192626953125, -0.0167236328125, 0.01360321044921875, 0.0025081634521484375, -0.00321197509765625, 0.020050048828125, -0.023773193359375, -0.01461029052734375, -0.037200927734375, -0.0084686279296875, 0.01514434814453125, 0.02984619140625, 0.004856109619140625, 0.00782012939453125, -0.04779052734375, -0.0282745361328125, 0.00064849853515625, 0.015777587890625, 0.0036773681640625, 0.05364990234375, 0.015899658203125, -0.006862640380859375, -0.06787109375, -0.035919189453125, -0.00782012939453125, 0.0278778076171875, 0.01203155517578125, 0.0267791748046875, 0.0131988525390625, 0.0161895751953125, 0.0085601806640625, -0.0027828216552734375, 0.002315521240234375, 0.0133819580078125, -0.004833221435546875, -0.0033779144287109375, -0.01210784912109375, -0.00475311279296875, -0.0207977294921875, 0.048370361328125, 0.01245880126953125, -0.045501708984375, 0.039581298828125, -0.019287109375, -0.007648468017578125, -0.019775390625, 0.036651611328125, -0.01435089111328125, -0.029541015625, -0.020111083984375, -0.01149749755859375, 0.020904541015625, 0.038238525390625, 0.01454925537109375, -0.031585693359375, -0.01412200927734375, -0.0228729248046875, 0.0131683349609375, 0.033294677734375, 0.00620269775390625, 0.028350830078125, -0.02459716796875, 0.041839599609375, 0.0271759033203125, -0.018341064453125, 0.0794677734375, -0.00047397613525390625, 0.01554107666015625, 0.0379638671875, 0.01441192626953125, -0.01263427734375, -0.025299072265625, 0.01189422607421875, 0.00408172607421875, -0.007335662841796875, -0.048797607421875, 0.0014257431030273438, 0.006824493408203125, -0.01152801513671875, -0.0202484130859375, -0.035675048828125, -0.0212860107421875, 0.013031005859375, -0.011260986328125, -0.047576904296875, -0.023406982421875, -0.006122589111328125, 0.0212554931640625, -0.0150299072265625, -0.0127716064453125, 0.0108642578125, -0.0280914306640625, 0.0037937164306640625, -0.0236358642578125, -0.0087127685546875, 0.01421356201171875, 0.03411865234375, -0.01554107666015625, 0.0164947509765625, -0.012786865234375, -0.0117950439453125, 0.018798828125, 0.034332275390625, 0.04656982421875, -0.0174713134765625, 0.0176544189453125, 0.028656005859375, 0.0206451416015625, 0.0941162109375, 0.00942230224609375, -0.00005710124969482422, 0.01448822021484375, 0.037017822265625, -0.03570556640625, -0.08746337890625, -0.00305938720703125, -0.00641632080078125, 0.02862548828125, -0.026123046875, 0.0135498046875, 0.0094451904296875, -0.042144775390625, -0.07904052734375, 0.043792724609375, -0.0111541748046875, -0.023284912109375, -0.015106201171875, 0.0170135498046875, 0.0027790069580078125, 0.0112762451171875, 0.0037555694580078125, -0.000031888484954833984, -0.0219573974609375, 0.004962921142578125, 0.036712646484375, 0.0201263427734375, -0.00502777099609375, 0.02398681640625, -0.06097412109375, 0.039306640625, 0.01114654541015625, 0.072265625, 0.045928955078125, -0.012847900390625, 0.034271240234375, 0.060089111328125, -0.022186279296875, -0.0178985595703125, -0.039398193359375, -0.06182861328125, 0.0259552001953125, -0.033416748046875, -0.06451416015625, -0.045318603515625, 0.019866943359375, 0.06011962890625, 0.0173187255859375, 0.004207611083984375, -0.01165008544921875, -0.002574920654296875, 0.00748443603515625, -0.04876708984375, -0.00437164306640625, -0.05169677734375, -0.035308837890625, -0.0222320556640625, -0.020782470703125, -0.01467132568359375, 0.05499267578125, -0.005596160888671875, 0.007198333740234375, 0.075927734375, -0.0347900390625, 0.00710296630859375, -0.0163421630859375, 0.04296875, -0.044647216796875, -0.0465087890625, 0.00940704345703125, 0.0161285400390625, -0.01558685302734375, -0.032989501953125, -0.056488037109375, -0.041473388671875, 0.01019287109375, 0.06158447265625, -0.0333251953125, 0.048797607421875, -0.041229248046875, 0.009002685546875, -0.03399658203125, 0.046600341796875, 0.00293731689453125, 0.034942626953125, -0.039703369140625, 0.0765380859375, 0.036346435546875, 0.051055908203125, -0.0002225637435913086, 0.0019102096557617188, -0.035491943359375, 0.06878662109375, 0.0175018310546875, -0.038665771484375, 0.058013916015625, -0.052764892578125, -0.002696990966796875, -0.004665374755859375, -0.021575927734375, -0.03369140625, -0.007659912109375, 0.057830810546875, -0.005352020263671875, 0.01678466796875 ]
3d143298ebd103d63b25acf3e089cd9112fcfacc
Wordpress Stackexchange Q: why don't I get error messages in admin when developing? I am curious as to why my screen goes completely blank when an error is present in my code. This only happens to me when it is an admin function. No warnings, no syntax error messages, nothing. Just a blank screen. Which makes it really difficult to find the problem. How do I get the errors to show up and how do I stop the blank screen? Thanx in advance! A: You need to add the following to your wp-config.php file: // Enable debugging define( 'WP_DEBUG', true );
Q: why don't I get error messages in admin when developing? I am curious as to why my screen goes completely blank when an error is present in my code. This only happens to me when it is an admin function. No warnings, no syntax error messages, nothing. Just a blank screen. Which makes it really difficult to find the problem. How do I get the errors to show up and how do I stop the blank screen? Thanx in advance! A: You need to add the following to your wp-config.php file: // Enable debugging define( 'WP_DEBUG', true );
wordpress
{ "language": "en", "length": 99, "provenance": "stackexchange_00019.jsonl.gz:414098", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/31980" }
[ 0.03155517578125, -0.002471923828125, 0.0193328857421875, -0.05255126953125, -0.0278778076171875, 0.0145416259765625, -0.02508544921875, -0.014404296875, 0.04913330078125, 0.004184722900390625, -0.054656982421875, -0.0269775390625, -0.01922607421875, -0.02532958984375, -0.041656494140625, -0.048980712890625, 0.023773193359375, -0.002811431884765625, 0.011962890625, -0.0251007080078125, 0.007083892822265625, -0.0031032562255859375, 0.0009822845458984375, 0.0316162109375, -0.0142974853515625, 0.0078277587890625, 0.017852783203125, -0.00467681884765625, -0.040618896484375, -0.035003662109375, -0.0028629302978515625, 0.05340576171875, 0.0003285408020019531, 0.05059814453125, -0.01971435546875, -0.024932861328125, 0.0158538818359375, 0.0038166046142578125, 0.01380157470703125, 0.0274810791015625, -0.0005736351013183594, 0.01184844970703125, 0.0931396484375, 0.0015840530395507812, 0.018218994140625, -0.0224151611328125, 0.0214996337890625, -0.04840087890625, 0.00833892822265625, -0.040313720703125, 0.011566162109375, 0.00872039794921875, 0.028106689453125, 0.00229644775390625, -0.0179290771484375, 0.01084136962890625, -0.029815673828125, 0.0146942138671875, 0.02313232421875, 0.044830322265625, -0.024078369140625, -0.0019969940185546875, -0.00882720947265625, -0.052978515625, 0.01702880859375, -0.00382232666015625, -0.0022182464599609375, 0.022735595703125, 0.0038890838623046875, 0.00527191162109375, 0.004146575927734375, -0.0127410888671875, -0.0051727294921875, 0.0085601806640625, -0.0030231475830078125, -0.04461669921875, 0.0379638671875, -0.0052337646484375, -0.007236480712890625, 0.03387451171875, 0.06365966796875, -0.01363372802734375, 0.036651611328125, 0.02691650390625, 0.0019626617431640625, 0.0394287109375, 0.0079803466796875, -0.0280609130859375, -0.01439666748046875, -0.042327880859375, -0.0203857421875, -0.029693603515625, -0.03948974609375, -0.01390838623046875, -0.0087127685546875, -0.045318603515625, 0.019805908203125, 0.0267333984375, -0.01302337646484375, -0.003971099853515625, -0.0301361083984375, -0.00275421142578125, -0.0104522705078125, -0.005950927734375, -0.00640869140625, 0.036834716796875, -0.0181427001953125, -0.0224761962890625, 0.01018524169921875, 0.028472900390625, 0.0023403167724609375, -0.0504150390625, -0.040130615234375, -0.033843994140625, -0.0286102294921875, 0.04034423828125, -0.0292816162109375, -0.00684356689453125, 0.00072479248046875, 0.00286102294921875, 0.005664825439453125, 0.02734375, -0.024993896484375, 0.03924560546875, -0.0155181884765625, -0.007183074951171875, 0.0047607421875, -0.0128326416015625, 0.04913330078125, -0.021575927734375, -0.0274200439453125, 0.014923095703125, 0.0243682861328125, 0.01390838623046875, 0.013519287109375, -0.00650787353515625, 0.0094146728515625, 0.003963470458984375, -0.008148193359375, 0.0262908935546875, -0.0247650146484375, -0.0293121337890625, 0.010345458984375, -0.03350830078125, -0.007518768310546875, 0.01485443115234375, 0.006221771240234375, 0.0164947509765625, -0.0026569366455078125, -0.035369873046875, -0.004146575927734375, -0.0022525787353515625, -0.00733184814453125, 0.0266265869140625, 0.040679931640625, 0.0080413818359375, 0.05267333984375, -0.00711822509765625, -0.0113983154296875, -0.002582550048828125, 0.0133514404296875, 0.0008831024169921875, 0.0265350341796875, -0.03204345703125, -0.031982421875, -0.00872039794921875, -0.0811767578125, -0.0034427642822265625, 0.0172576904296875, -0.04180908203125, 0.005184173583984375, 0.00814056396484375, 0.021148681640625, -0.0178680419921875, -0.0011587142944335938, 0.0019741058349609375, -0.01259613037109375, -0.03192138671875, 0.040740966796875, -0.030303955078125, -0.0296783447265625, -0.009246826171875, 0.0111541748046875, 0.0057525634765625, -0.0213165283203125, 0.00693511962890625, 0.0193634033203125, 0.04290771484375, 0.0026569366455078125, 0.025970458984375, -0.016632080078125, -0.00421905517578125, 0.009552001953125, -0.0172882080078125, -0.00582122802734375, -0.03424072265625, -0.0139007568359375, -0.005138397216796875, -0.026397705078125, 0.035064697265625, -0.04351806640625, 0.01239776611328125, -0.005840301513671875, -0.005786895751953125, -0.037353515625, -0.012176513671875, -0.0132904052734375, 0.040740966796875, -0.00934600830078125, -0.0093994140625, 0.01244354248046875, -0.019439697265625, -0.01081085205078125, -0.0180206298828125, -0.032318115234375, 0.0017194747924804688, -0.03692626953125, 0.0604248046875, 0.0243682861328125, 0.03338623046875, 0.0233001708984375, -0.038177490234375, 0.02606201171875, -0.0303955078125, 0.0196990966796875, 0.01007080078125, -0.0196380615234375, 0.010894775390625, 0.07025146484375, -0.015228271484375, 0.0745849609375, 0.0188140869140625, 0.0089874267578125, 0.00794219970703125, -0.0521240234375, -0.036041259765625, -0.050933837890625, -0.04559326171875, 0.0010976791381835938, 0.06341552734375, 0.0399169921875, 0.032196044921875, -0.0162353515625, 0.0008416175842285156, 0.027618408203125, -0.060882568359375, 0.0013980865478515625, 0.00473785400390625, -0.0039005279541015625, -0.0153656005859375, 0.00418853759765625, -0.033966064453125, 0.04022216796875, -0.06982421875, -0.007801055908203125, 0.040191650390625, -0.0123443603515625, -0.021820068359375, -0.021148681640625, 0.0179290771484375, 0.00830841064453125, -0.040618896484375, -0.029541015625, -0.01502227783203125, -0.05218505859375, 0.036865234375, -0.01323699951171875, 0.000820159912109375, -0.05230712890625, 0.03466796875, 0.0501708984375, -0.0111236572265625, -0.0012788772583007812, 0.0194549560546875, 0.01068878173828125, -0.001216888427734375, -0.038482666015625, -0.00946044921875, 0.022064208984375, 0.014556884765625, -0.02459716796875, 0.032073974609375, -0.0208587646484375, -0.0214385986328125, -0.005527496337890625, 0.0008378028869628906, -0.002803802490234375, -0.035919189453125, 0.06341552734375, -0.0045623779296875, 0.0183258056640625, 0.032806396484375, -0.01055908203125, 0.0673828125, 0.01477813720703125, -0.036468505859375, 0.02215576171875, -0.017578125, 0.02490234375, -0.022918701171875, 0.04010009765625, 0.0565185546875, -0.0145263671875, 0.0093231201171875, -0.01331329345703125, 0.0258636474609375, -0.00091552734375, 0.00740814208984375, -0.0117034912109375, -0.008331298828125, -0.050262451171875, -0.0380859375, 0.03277587890625, 0.07781982421875, -0.0243682861328125, -0.049652099609375, -0.02215576171875, 0.046630859375, -0.054595947265625, -0.06329345703125, -0.081787109375, -0.041595458984375, -0.0153961181640625, 0.006439208984375, -0.0129241943359375, 0.029937744140625, -0.0010156631469726562, 0.0221405029296875, 0.0343017578125, -0.03912353515625, -0.042938232421875, -0.037353515625, -0.048095703125, -0.00705718994140625, -0.0002963542938232422, -0.012481689453125, 0.003185272216796875, 0.07843017578125, 0.01094818115234375, -0.049591064453125, -0.00018703937530517578, -0.016876220703125, 0.000213623046875, 0.007297515869140625, -0.0113983154296875, -0.0238037109375, 0.038055419921875, -0.0005764961242675781, -0.054107666015625, 0.0008983612060546875, 0.0268402099609375, -0.05108642578125, -0.0225067138671875, -0.0478515625, -0.029510498046875, 0.003276824951171875, 0.0307464599609375, -0.043548583984375, -0.00823211669921875, -0.052581787109375, -0.0303955078125, 0.027252197265625, -0.039794921875, 0.016876220703125, 0.01548004150390625, -0.0400390625, 0.0293426513671875, -0.014923095703125, 0.00881195068359375, 0.00704193115234375, 0.005977630615234375, -0.0168304443359375, -0.0012149810791015625, 0.006450653076171875, 0.01178741455078125, -0.00872039794921875, 0.03961181640625, -0.00838470458984375, -0.0199127197265625, 0.0139617919921875, 0.005268096923828125, 0.014739990234375, 0.00437164306640625, -0.0015439987182617188, -0.024932861328125, 0.03131103515625, -0.0299835205078125, -0.01366424560546875, -0.01305389404296875, 0.0009431838989257812, -0.005832672119140625, 0.04071044921875, -0.00830078125, -0.0034389495849609375, 0.00814056396484375, 0.0032501220703125, -0.0195770263671875, -0.042724609375, -0.02069091796875, -0.013458251953125, -0.0289154052734375, 0.028411865234375, 0.006679534912109375, 0.0015478134155273438, -0.042205810546875, 0.06787109375, -0.024383544921875, -0.004955291748046875, 0.038177490234375, -0.0601806640625, 0.00783538818359375, -0.00150299072265625, 0.02862548828125, -0.07098388671875, -0.00943756103515625, -0.021697998046875, -0.12286376953125, -0.01116943359375, -0.0233306884765625, 0.072998046875, -0.0140380859375, 0.0097503662109375, -0.049591064453125, 0.0296630859375, -0.0157318115234375, 0.0099945068359375, -0.0081024169921875, 0.0165863037109375, 0.007183074951171875, -0.0172271728515625, -0.019317626953125, -0.01461029052734375, -0.0063323974609375, -0.01291656494140625, -0.0198211669921875, 0.026580810546875, -0.0090484619140625, -0.00435638427734375, 0.01551055908203125, -0.026458740234375, 0.0231781005859375, -0.01540374755859375, -0.020751953125, 0.00955963134765625, 0.0031909942626953125, -0.028656005859375, -0.0254364013671875, 0.0080108642578125, -0.0215606689453125, -0.04937744140625, -0.0430908203125, 0.022125244140625, 0.006267547607421875, 0.0236358642578125, 0.00946807861328125, 0.0016078948974609375, -0.0095977783203125, 0.047576904296875, -0.0020961761474609375, 0.00887298583984375, -0.0018749237060546875, -0.0377197265625, 0.056182861328125, -0.004146575927734375, 0.0134429931640625, 0.0027523040771484375, 0.01392364501953125, -0.01172637939453125, -0.0313720703125, 0.02374267578125, -0.0237884521484375, -0.00966644287109375, 0.035125732421875, 0.0186614990234375, -0.032012939453125, 0.0082855224609375, 0.024688720703125, -0.017974853515625, 0.015716552734375, -0.014434814453125, 0.006763458251953125, -0.01548004150390625, -0.0201263427734375, 0.0266265869140625, 0.033599853515625, -0.00719451904296875, -0.01506805419921875, 0.035430908203125, 0.01013946533203125, 0.00970458984375, 0.06634521484375, -0.019805908203125, 0.046173095703125, 0.020111083984375, -0.0014753341674804688, -0.045257568359375, -0.014739990234375, 0.07354736328125, 0.044189453125, -0.031585693359375, 0.0228118896484375, 0.00693511962890625, -0.031524658203125, -0.0159454345703125, 0.0221710205078125, 0.01541900634765625, -0.002979278564453125, -0.0194854736328125, 0.00865936279296875, 0.043670654296875, -0.03631591796875, -0.0230712890625, 0.024017333984375, 0.0004930496215820312, -0.005558013916015625, 0.006378173828125, 0.05450439453125, -0.02349853515625, 0.020538330078125, -0.00453948974609375, -0.0377197265625, -0.01305389404296875, 0.0550537109375, 0.036285400390625, -0.07647705078125, 0.0186920166015625, 0.0238800048828125, 0.052642822265625, -0.026611328125, -0.037994384765625, -0.01214599609375, 0.0240936279296875, -0.027923583984375, 0.006702423095703125, 0.031219482421875, 0.00434112548828125, -0.01499176025390625, 0.07391357421875, 0.006214141845703125, -0.07000732421875, -0.039031982421875, -0.01300811767578125, 0.039703369140625, -0.03887939453125, -0.01213836669921875, 0.07855224609375, 0.03167724609375, 0.07061767578125, -0.01523590087890625, -0.004825592041015625, -0.004344940185546875, 0.0126190185546875, -0.01428985595703125, -0.039459228515625, -0.0103607177734375, -0.036224365234375, 0.00821685791015625, -0.02069091796875, -0.0111236572265625, 0.056610107421875, -0.0235748291015625, -0.031280517578125, 0.0023479461669921875, 0.005054473876953125, 0.005764007568359375, 0.01812744140625, 0.0294036865234375, -0.0155792236328125, -0.06927490234375, 0.0122528076171875, -0.05682373046875, -0.014678955078125, -0.06329345703125, -0.0175323486328125, -0.06585693359375, 0.007720947265625, 0.0187225341796875, 0.005664825439453125, 0.01104736328125, -0.02117919921875, -0.04193115234375, 0.035369873046875, 0.053680419921875, 0.050079345703125, -0.005474090576171875, 0.051116943359375, -0.01024627685546875, 0.04534912109375, -0.00893402099609375, -0.00859832763671875, -0.03765869140625, -0.006988525390625, 0.02142333984375, 0.037994384765625, -0.02935791015625, -0.01354217529296875, 0.00991058349609375, -0.033111572265625, 0.043060302734375, -0.0165252685546875, -0.00878143310546875, 0.005916595458984375, 0.005779266357421875, -0.0169830322265625, 0.0577392578125, 0.023651123046875, 0.0037708282470703125, 0.0288238525390625, -0.033233642578125, -0.02783203125, -0.00684356689453125, -0.0267333984375, 0.04278564453125, -0.005523681640625, 0.009521484375, 0.00933837890625, 0.01123809814453125, 0.0157623291015625, 0.034942626953125, -0.0187225341796875, 0.00269317626953125, 0.01006317138671875, -0.00653076171875, -0.0147552490234375, 0.054656982421875, -0.022064208984375, -0.0550537109375, 0.046234130859375, 0.0252685546875, -0.025054931640625, 0.0267791748046875, -0.0277862548828125, 0.029876708984375, 0.10723876953125, 0.1019287109375, -0.11553955078125, 0.01422119140625, 0.041229248046875, -0.032012939453125, 0.0008006095886230469, -0.02215576171875, 0.00907135009765625, -0.04644775390625, 0.033721923828125, 0.0020904541015625, -0.0177764892578125, -0.00232696533203125, -0.033935546875, -0.01021575927734375, -0.00418853759765625, 0.051849365234375, 0.01219940185546875, -0.06982421875, 0.0311737060546875, 0.054656982421875, 0.004238128662109375, 0.003536224365234375, 0.023345947265625, -0.0257720947265625, -0.0245819091796875, -0.05755615234375, -0.038116455078125, -0.03582763671875, -0.016326904296875, 0.0013294219970703125, 0.0372314453125, -0.03448486328125, 0.05108642578125, -0.028076171875, 0.00036406517028808594, 0.032318115234375, -0.024627685546875, 0.01043701171875, -0.0200653076171875, 0.0169525146484375, 0.04840087890625, -0.05145263671875, 0.017333984375, -0.0198822021484375, -0.00455474853515625, -0.0009741783142089844, -0.0345458984375, 0.06268310546875, -0.0071868896484375, -0.02923583984375, 0.032806396484375, -0.0460205078125, -0.0233154296875, 0.0009541511535644531, -0.0140838623046875, 0.0167236328125, 0.055328369140625, -0.0186309814453125, 0.0228271484375, 0.012481689453125, -0.00975799560546875, -0.012451171875, 0.0616455078125, 0.00872039794921875, -0.02093505859375, 0.06341552734375, 0.01352691650390625, -0.06060791015625, -0.005641937255859375, -0.050689697265625, 0.07647705078125, 0.032073974609375, 0.033416748046875, -0.0877685546875, -0.011322021484375, -0.005535125732421875, 0.026214599609375, 0.0100860595703125, -0.00206756591796875, 0.008636474609375, 0.022674560546875, 0.053436279296875, -0.007488250732421875, -0.007282257080078125, 0.0233917236328125, -0.01220703125, 0.029266357421875, 0.0259857177734375, -0.052642822265625, 0.029083251953125, -0.046722412109375, -0.016204833984375, -0.002300262451171875, 0.00041794776916503906, -0.0208892822265625, 0.02191162109375, -0.0206451416015625, -0.0158843994140625, 0.015960693359375, 0.00984954833984375, -0.0286865234375, 0.0079345703125, 0.01898193359375, 0.0230712890625, -0.06298828125, -0.002407073974609375, -0.03564453125, 0.04168701171875, -0.01371002197265625, -0.0233154296875, 0.0008306503295898438, 0.00313568115234375, -0.040985107421875, -0.00994110107421875, -0.01708984375, 0.0232696533203125, -0.01678466796875, 0.0036296844482421875, 0.0251312255859375, 0.0357666015625, -0.0223541259765625, -0.0297698974609375, 0.0186004638671875, 0.019378662109375, -0.0029888153076171875, -0.0701904296875, -0.0011806488037109375, 0.0012989044189453125, 0.0230560302734375, 0.023406982421875, 0.0019207000732421875, 0.0024547576904296875, 0.07293701171875, -0.005584716796875, -0.0197296142578125, -0.009674072265625, -0.0232696533203125, -0.025146484375, -0.0252685546875, 0.06842041015625, 0.01279449462890625, -0.0184478759765625, -0.01446533203125, 0.032257080078125, 0.049652099609375, 0.00957489013671875, 0.0272216796875, -0.01244354248046875, -0.011566162109375, -0.0350341796875, -0.004474639892578125, -0.010162353515625, 0.06072998046875, -0.043792724609375, 0.01995849609375, -0.003513336181640625, 0.0286407470703125, -0.0396728515625, 0.0056610107421875, 0.031494140625, 0.0297088623046875, -0.039886474609375, -0.038665771484375, -0.0186767578125, -0.035491943359375, -0.044097900390625, -0.044189453125, 0.0115509033203125, 0.03216552734375, 0.011444091796875, 0.022064208984375, 0.0109100341796875, 0.0284271240234375, -0.00861358642578125, -0.0035839080810546875, 0.0086822509765625, -0.061859130859375, -0.0161285400390625, -0.0341796875, 0.05120849609375, 0.0050048828125, -0.080322265625, -0.0316162109375, 0.033416748046875, 0.0136260986328125, -0.00592041015625, 0.019866943359375, -0.021514892578125, 0.050689697265625, -0.017669677734375, 0.020111083984375, -0.0297088623046875, -0.018798828125, 0.01258087158203125, -0.0098724365234375, 0.014892578125, 0.0047149658203125, -0.031768798828125, -0.0235443115234375, -0.01035308837890625, 0.028076171875, 0.00818634033203125, 0.11279296875, -0.031768798828125, 0.004680633544921875, -0.021575927734375, 0.0210723876953125, -0.03192138671875, -0.0209197998046875, -0.0035419464111328125, 0.01103973388671875, 0.0245208740234375, 0.004505157470703125, -0.06195068359375, 0.056793212890625, 0.0088043212890625, -0.024658203125, 0.04559326171875, 0.0069122314453125, -0.003971099853515625, -0.0197296142578125, 0.024627685546875, -0.01306915283203125, -0.029998779296875, 0.00830841064453125, 0.04266357421875, -0.0030155181884765625, 0.004642486572265625, -0.0286712646484375, 0.0303192138671875, -0.005706787109375, -0.037384033203125, 0.01148223876953125, -0.044830322265625, -0.00739288330078125, 0.034515380859375, 0.00775909423828125, 0.0180511474609375, -0.049468994140625, -0.043365478515625, 0.0150604248046875, -0.02984619140625, 0.0141143798828125, -0.0467529296875, 0.0304718017578125, 0.05535888671875, -0.01129913330078125, 0.006938934326171875, -0.061614990234375, -0.03436279296875, 0.0679931640625, 0.01169586181640625, -0.01241302490234375, -0.006748199462890625, -0.01416778564453125, -0.0477294921875, -0.0064849853515625, 0.0254974365234375, -0.0205535888671875, -0.00185394287109375, -0.029449462890625, 0.013031005859375, 0.0135040283203125, 0.0046539306640625, -0.04620361328125, 0.01470184326171875, -0.0191497802734375, 0.0184173583984375, 0.005290985107421875, 0.020172119140625, 0.000052809715270996094, 0.01332855224609375, -0.0268096923828125, -0.033233642578125, -0.0080718994140625, 0.038909912109375, -0.00600433349609375, 0.0298309326171875, 0.033935546875, -0.0252838134765625, -0.004779815673828125, 0.0225982666015625, 0.014373779296875, 0.07720947265625, -0.0007886886596679688, -0.032501220703125, -0.03717041015625, 0.039093017578125, 0.0075531005859375, -0.029144287109375, 0.00830078125, 0.0088348388671875, -0.006298065185546875, -0.0164947509765625, -0.00640869140625, 0.004810333251953125, -0.04901123046875, -0.083740234375, 0.0153045654296875, -0.0012359619140625, -0.032562255859375, -0.01800537109375, -0.0489501953125, -0.024688720703125, 0.03411865234375, -0.00876617431640625, -0.0166168212890625, -0.0293426513671875, 0.043304443359375, 0.005977630615234375, -0.046112060546875, 0.046661376953125, -0.00011920928955078125, -0.033538818359375, 0.00922393798828125, 0.016204833984375, -0.036712646484375, 0.0148468017578125, -0.00872039794921875, 0.03424072265625, 0.0653076171875, -0.0282745361328125, -0.045166015625, -0.007568359375, -0.03228759765625, 0.0002560615539550781, -0.024810791015625, -0.0302734375, -0.0648193359375, 0.07733154296875, -0.001781463623046875, 0.0235443115234375, 0.021270751953125, -0.06072998046875, -0.036376953125, -0.0161590576171875, -0.040008544921875, 0.0169525146484375, -0.10003662109375, -0.007320404052734375, 0.003582000732421875, 0.007747650146484375, 0.0111236572265625, -0.00467681884765625, -0.00897216796875, -0.0057525634765625, 0.032958984375, 0.01163482666015625, -0.029937744140625, -0.0924072265625, 0.079345703125, -0.030853271484375, 0.0188140869140625, 0.01110076904296875, 0.05828857421875, 0.042999267578125, 0.048797607421875, 0.023101806640625, -0.0175628662109375, -0.0914306640625, 0.019256591796875, -0.032623291015625, 0.061614990234375, -0.07244873046875, -0.0562744140625, 0.040496826171875, 0.0182647705078125, -0.03521728515625, 0.025054931640625, 0.042449951171875, 0.00653839111328125, -0.059539794921875, 0.037689208984375, -0.0172119140625, 0.004962921142578125, -0.025390625, 0.049072265625, -0.0304718017578125, -0.01318359375, -0.0012025833129882812, -0.0305633544921875, -0.0008792877197265625, 0.021881103515625, 0.00980377197265625, -0.06036376953125, 0.0242462158203125, 0.04339599609375, 0.0340576171875, 0.034912109375 ]
c78003e50944b2ebc27799f8e0859216c7780380
Wordpress Stackexchange Q: Is it possible to remove the main rich Text box editor? I am using the simple fields plugin to provide additional rich text editors and have no need for this 'main' text editor box on any of my 'page's I have tried the following code in my functions.php: function my_remove_meta_boxes() { remove_meta_box('postdivrich','page','normal'); } add_action( 'admin_menu', 'my_remove_meta_boxes' ); Apparently this will not work since it is not actually a meta box... I suppose I could sneak some jQuery in somewhere: ('#postdivrich').hide() but I am not really sure where to put it, and suspect that there is a better way. Any help would be greatly appreciated Edit: this question describes how to do what I want, but for a custom post type. Can I apply this same technique to 'pages' somehow? Edit 2: Using noob power I made something work, but for all post-types and with it flashing on screen before being hidden. I skipped JQuery and went straight for plain ole JS: //REMOVE MAIN TEXT CONTENT BOX FOR PAGES function removeMainTxtContent(){ echo '<script>window.onload=function(){document.getElementById("postdivrich").style.display="none";}</script>'; }add_action('admin_head', 'removeMainTxtContent'); A: see remove_post_type_support function remove_pages_editor(){ remove_post_type_support( 'page', 'editor' ); } add_action( 'init', 'remove_pages_editor' );
Q: Is it possible to remove the main rich Text box editor? I am using the simple fields plugin to provide additional rich text editors and have no need for this 'main' text editor box on any of my 'page's I have tried the following code in my functions.php: function my_remove_meta_boxes() { remove_meta_box('postdivrich','page','normal'); } add_action( 'admin_menu', 'my_remove_meta_boxes' ); Apparently this will not work since it is not actually a meta box... I suppose I could sneak some jQuery in somewhere: ('#postdivrich').hide() but I am not really sure where to put it, and suspect that there is a better way. Any help would be greatly appreciated Edit: this question describes how to do what I want, but for a custom post type. Can I apply this same technique to 'pages' somehow? Edit 2: Using noob power I made something work, but for all post-types and with it flashing on screen before being hidden. I skipped JQuery and went straight for plain ole JS: //REMOVE MAIN TEXT CONTENT BOX FOR PAGES function removeMainTxtContent(){ echo '<script>window.onload=function(){document.getElementById("postdivrich").style.display="none";}</script>'; }add_action('admin_head', 'removeMainTxtContent'); A: see remove_post_type_support function remove_pages_editor(){ remove_post_type_support( 'page', 'editor' ); } add_action( 'init', 'remove_pages_editor' );
wordpress
{ "language": "en", "length": 189, "provenance": "stackexchange_00019.jsonl.gz:414100", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/31991" }
[ 0.0070953369140625, -0.031524658203125, 0.0207366943359375, 0.00885772705078125, -0.0170745849609375, -0.0257110595703125, 0.033111572265625, -0.0283355712890625, 0.00620269775390625, 0.041229248046875, 0.048736572265625, -0.01678466796875, -0.03179931640625, -0.046173095703125, -0.033721923828125, 0.012054443359375, 0.0303497314453125, -0.0018835067749023438, 0.017852783203125, -0.01555633544921875, -0.006256103515625, -0.00989532470703125, 0.034088134765625, 0.02667236328125, 0.0222320556640625, 0.0195465087890625, 0.06756591796875, -0.004611968994140625, 0.00653076171875, -0.018035888671875, 0.01102447509765625, -0.0026721954345703125, 0.0063629150390625, 0.039093017578125, -0.039154052734375, 0.04296875, -0.019439697265625, 0.0311431884765625, 0.0266876220703125, -0.01232147216796875, -0.0107421875, 0.0227813720703125, 0.0088958740234375, -0.005733489990234375, -0.0399169921875, -0.052642822265625, 0.0111541748046875, -0.003997802734375, 0.05474853515625, -0.0439453125, 0.026763916015625, 0.03668212890625, 0.050201416015625, -0.048614501953125, -0.016357421875, 0.01526641845703125, -0.043121337890625, -0.04351806640625, 0.0171051025390625, 0.081298828125, 0.01308441162109375, -0.0207977294921875, -0.0018291473388671875, -0.06707763671875, -0.015777587890625, 0.018585205078125, -0.0293121337890625, 0.0028285980224609375, -0.07421875, -0.0007452964782714844, 0.032684326171875, -0.05596923828125, 0.003459930419921875, -0.0220947265625, -0.005290985107421875, 0.012664794921875, -0.0204315185546875, -0.025482177734375, 0.030364990234375, -0.01418304443359375, -0.0027828216552734375, 0.0223846435546875, -0.0252532958984375, 0.001590728759765625, 0.01605224609375, 0.04931640625, -0.0163421630859375, -0.04180908203125, -0.0311279296875, -0.056884765625, -0.0213165283203125, -0.06268310546875, -0.03729248046875, -0.0120697021484375, -0.0133819580078125, -0.0309600830078125, 0.02325439453125, 0.036468505859375, -0.00970458984375, 0.01470947265625, 0.00640869140625, -0.057373046875, 0.043701171875, -0.03131103515625, 0.01337432861328125, 0.04095458984375, -0.01190948486328125, -0.03302001953125, 0.0252838134765625, 0.0138397216796875, 0.006534576416015625, -0.016357421875, -0.0088653564453125, -0.0027523040771484375, -0.024383544921875, 0.006290435791015625, -0.029266357421875, 0.00479888916015625, -0.00957489013671875, 0.033355712890625, 0.004730224609375, 0.025543212890625, -0.005859375, -0.05950927734375, 0.006710052490234375, -0.015533447265625, -0.032257080078125, -0.01404571533203125, 0.03326416015625, -0.005222320556640625, -0.07110595703125, -0.0096588134765625, 0.098388671875, 0.05029296875, 0.05706787109375, -0.0272064208984375, 0.01358795166015625, 0.00350189208984375, 0.0172271728515625, 0.00036334991455078125, 0.00875091552734375, -0.019073486328125, 0.001483917236328125, 0.007808685302734375, -0.015045166015625, 0.01433563232421875, 0.0311737060546875, 0.0074615478515625, -0.0190277099609375, -0.03082275390625, -0.0380859375, 0.01291656494140625, 0.044097900390625, 0.0203704833984375, -0.021209716796875, -0.01505279541015625, 0.0831298828125, -0.050689697265625, -0.051422119140625, -0.07708740234375, 0.02032470703125, -0.004405975341796875, 0.00809478759765625, -0.0203094482421875, -0.035919189453125, 0.00379180908203125, -0.03564453125, -0.007274627685546875, 0.0209197998046875, 0.0009007453918457031, 0.0212249755859375, -0.03289794921875, 0.0015726089477539062, 0.00791168212890625, -0.006320953369140625, 0.036651611328125, 0.01468658447265625, 0.043701171875, 0.0033283233642578125, 0.0489501953125, 0.0005717277526855469, -0.04876708984375, 0.052215576171875, -0.0209503173828125, -0.076416015625, 0.0399169921875, -0.009613037109375, 0.035125732421875, 0.033416748046875, -0.0029048919677734375, 0.059539794921875, 0.00942230224609375, 0.006744384765625, -0.04736328125, 0.01270294189453125, -0.0206756591796875, -0.0133209228515625, -0.0235443115234375, 0.007740020751953125, 0.031341552734375, 0.03619384765625, 0.0195159912109375, 0.0054168701171875, -0.01363372802734375, -0.08148193359375, 0.0360107421875, -0.033355712890625, 0.053070068359375, -0.0005908012390136719, 0.012054443359375, 0.006622314453125, -0.0081329345703125, -0.03076171875, 0.02728271484375, -0.022613525390625, 0.0012493133544921875, 0.039459228515625, 0.07086181640625, 0.010894775390625, 0.0517578125, 0.01459503173828125, -0.04217529296875, -0.0032253265380859375, 0.004913330078125, 0.0290985107421875, 0.01035308837890625, -0.0254058837890625, -0.00769805908203125, 0.040130615234375, -0.007419586181640625, 0.02508544921875, 0.0537109375, 0.032440185546875, 0.0033111572265625, -0.034088134765625, -0.00881195068359375, 0.0010366439819335938, -0.0618896484375, -0.006893157958984375, 0.055328369140625, 0.033935546875, 0.04864501953125, -0.0173187255859375, -0.01175689697265625, 0.03741455078125, -0.05523681640625, -0.004161834716796875, -0.0084381103515625, 0.019073486328125, 0.0129852294921875, -0.044525146484375, -0.01534271240234375, 0.045654296875, -0.01824951171875, 0.03631591796875, 0.032928466796875, -0.00617218017578125, -0.01885986328125, 0.0054931640625, -0.0204925537109375, 0.0167694091796875, -0.00862884521484375, -0.0360107421875, 0.022857666015625, 0.077880859375, -0.006740570068359375, 0.056182861328125, 0.04730224609375, -0.028167724609375, -0.00853729248046875, 0.00034046173095703125, 0.0322265625, -0.01580810546875, 0.02008056640625, 0.07489013671875, -0.018768310546875, -0.05694580078125, 0.0007901191711425781, 0.009552001953125, 0.017578125, 0.006191253662109375, 0.029449462890625, -0.0276947021484375, -0.00920867919921875, 0.0167236328125, -0.007511138916015625, -0.014312744140625, -0.00815582275390625, 0.04107666015625, 0.0038547515869140625, 0.019927978515625, 0.01137542724609375, -0.0215301513671875, 0.0506591796875, 0.005153656005859375, -0.03125, 0.08599853515625, -0.0270538330078125, 0.0298004150390625, -0.0176239013671875, 0.0791015625, 0.04827880859375, -0.03363037109375, 0.0168304443359375, 0.006366729736328125, -0.010986328125, -0.013916015625, 0.02093505859375, -0.0018815994262695312, 0.01132965087890625, -0.06414794921875, 0.00275421142578125, 0.0251007080078125, 0.011505126953125, 0.00890350341796875, -0.04205322265625, 0.0172119140625, 0.0249176025390625, -0.07379150390625, -0.04180908203125, 0.004520416259765625, -0.050933837890625, -0.0285186767578125, 0.0165252685546875, -0.0548095703125, 0.0006585121154785156, 0.05755615234375, 0.00496673583984375, 0.02215576171875, -0.00376129150390625, -0.0009531974792480469, 0.0107574462890625, -0.0325927734375, -0.03265380859375, -0.002902984619140625, -0.005542755126953125, 0.00856781005859375, 0.06134033203125, -0.00007748603820800781, -0.06134033203125, 0.00948333740234375, -0.0020732879638671875, -0.007434844970703125, 0.04815673828125, 0.0293426513671875, -0.051666259765625, -0.0221405029296875, 0.00531768798828125, -0.0142669677734375, -0.0011301040649414062, -0.0052642822265625, -0.0092620849609375, -0.05548095703125, -0.02386474609375, -0.0016632080078125, -0.00420379638671875, 0.045989990234375, -0.02056884765625, 0.01318359375, -0.046478271484375, 0.01383209228515625, 0.0128631591796875, -0.005863189697265625, 0.018035888671875, -0.042816162109375, 0.0003211498260498047, 0.0010023117065429688, 0.05865478515625, 0.01373291015625, 0.01971435546875, 0.03973388671875, 0.01074981689453125, -0.01145172119140625, -0.0232086181640625, -0.0142059326171875, -0.042266845703125, 0.0225830078125, -0.0216064453125, 0.01464080810546875, -0.0031871795654296875, 0.0078582763671875, 0.00885009765625, -0.01116180419921875, -0.004306793212890625, -0.0147705078125, 0.026336669921875, -0.0224456787109375, -0.01105499267578125, 0.0106658935546875, -0.0006723403930664062, 0.002223968505859375, 0.03759765625, -0.0772705078125, -0.014373779296875, 0.01043701171875, 0.0258941650390625, -0.018157958984375, -0.018310546875, -0.0250701904296875, -0.0197296142578125, -0.1251220703125, 0.00994873046875, -0.00312042236328125, -0.0275115966796875, -0.038848876953125, 0.0523681640625, -0.08319091796875, -0.045928955078125, 0.051666259765625, -0.0650634765625, 0.024139404296875, 0.037933349609375, 0.003871917724609375, -0.017303466796875, -0.036163330078125, -0.03228759765625, -0.08123779296875, -0.0225067138671875, -0.0167388916015625, 0.07525634765625, -0.0009403228759765625, 0.025115966796875, -0.029693603515625, 0.055389404296875, 0.020263671875, 0.002410888671875, -0.006114959716796875, -0.01424407958984375, 0.000579833984375, 0.0079803466796875, 0.0037384033203125, -0.004489898681640625, 0.0105743408203125, 0.044921875, -0.01065826416015625, 0.036895751953125, -0.0260162353515625, -0.047454833984375, 0.03631591796875, -0.05328369140625, -0.0213470458984375, -0.04083251953125, -0.05865478515625, -0.0152435302734375, -0.043609619140625, 0.01308441162109375, -0.02557373046875, -0.03106689453125, -0.0196533203125, -0.0020503997802734375, -0.046875, 0.0260772705078125, 0.0236053466796875, 0.040679931640625, 0.00473785400390625, -0.020233154296875, 0.003803253173828125, 0.033050537109375, 0.00853729248046875, 0.027587890625, 0.01107025146484375, -0.022308349609375, 0.04974365234375, 0.00930023193359375, 0.0306396484375, -0.09039306640625, 0.08245849609375, -0.0244598388671875, -0.01139068603515625, 0.035247802734375, -0.03790283203125, 0.0254364013671875, 0.003215789794921875, -0.016082763671875, 0.00815582275390625, -0.03857421875, -0.0173797607421875, 0.040771484375, 0.01202392578125, -0.0037136077880859375, -0.02001953125, -0.00677490234375, 0.0355224609375, 0.03485107421875, 0.046630859375, -0.00876617431640625, 0.019805908203125, 0.0244598388671875, 0.0045166015625, 0.004428863525390625, -0.007564544677734375, -0.041473388671875, 0.0236053466796875, 0.01479339599609375, -0.0248260498046875, 0.0257415771484375, 0.0131072998046875, -0.0109100341796875, -0.01153564453125, -0.03924560546875, -0.058074951171875, 0.007785797119140625, 0.04290771484375, 0.006183624267578125, 0.005649566650390625, 0.01345062255859375, 0.0275115966796875, 0.0013856887817382812, -0.000576019287109375, 0.056396484375, -0.0270538330078125, -0.01483154296875, -0.03338623046875, -0.00939178466796875, -0.0147705078125, 0.020050048828125, 0.0177154541015625, -0.035400390625, 0.03863525390625, -0.0135650634765625, 0.03631591796875, 0.0011281967163085938, 0.032867431640625, 0.0005698204040527344, -0.005138397216796875, -0.007564544677734375, 0.019561767578125, -0.01776123046875, -0.0191650390625, -0.032562255859375, 0.03131103515625, 0.027008056640625, -0.018646240234375, 0.01209259033203125, -0.01160430908203125, 0.002758026123046875, -0.0225982666015625, 0.0271148681640625, -0.00018203258514404297, -0.043975830078125, -0.0035190582275390625, 0.0224151611328125, 0.018798828125, -0.0181427001953125, -0.001384735107421875, -0.01264190673828125, -0.029327392578125, -0.01261138916015625, 0.0079803466796875, -0.045928955078125, 0.005130767822265625, 0.0193634033203125, -0.03277587890625, -0.0252685546875, 0.006855010986328125, -0.1015625, -0.044281005859375, -0.0024318695068359375, 0.03289794921875, 0.01474761962890625, -0.0122833251953125, 0.04022216796875, -0.043304443359375, -0.00290679931640625, -0.04937744140625, -0.0012712478637695312, 0.048187255859375, 0.02239990234375, -0.02130126953125, -0.00829315185546875, -0.046783447265625, -0.015960693359375, -0.0240936279296875, -0.038177490234375, -0.0355224609375, 0.00933074951171875, -0.00689697265625, 0.0197601318359375, -0.0308074951171875, 0.01009368896484375, 0.0281524658203125, 0.0391845703125, -0.0242919921875, 0.08428955078125, 0.008941650390625, 0.035980224609375, -0.020751953125, 0.07427978515625, 0.0250701904296875, 0.01861572265625, 0.00402069091796875, -0.053131103515625, 0.032989501953125, -0.034698486328125, -0.040313720703125, -0.03460693359375, 0.00899505615234375, 0.000045359134674072266, 0.0009107589721679688, -0.031829833984375, -0.01102447509765625, 0.0107269287109375, -0.00251007080078125, -0.0333251953125, 0.0169830322265625, 0.0028839111328125, 0.0118865966796875, -0.021209716796875, -0.0278472900390625, 0.00856781005859375, 0.002864837646484375, 0.002574920654296875, 0.039947509765625, -0.0435791015625, 0.037811279296875, 0.0288238525390625, 0.005580902099609375, 0.055419921875, 0.073486328125, -0.044525146484375, 0.0259857177734375, 0.03985595703125, -0.0220184326171875, 0.014251708984375, -0.018157958984375, -0.03631591796875, 0.040557861328125, 0.052001953125, 0.004703521728515625, 0.0011720657348632812, 0.043670654296875, -0.00937652587890625, -0.004657745361328125, 0.051422119140625, 0.06640625, -0.08441162109375, 0.01499176025390625, 0.04827880859375, 0.021942138671875, 0.0015544891357421875, -0.010711669921875, -0.005008697509765625, -0.033050537109375, 0.005451202392578125, 0.038604736328125, -0.027923583984375, -0.006103515625, 0.0010366439819335938, -0.0242156982421875, -0.06512451171875, 0.004680633544921875, 0.0129547119140625, 0.005329132080078125, 0.032562255859375, -0.00589752197265625, 0.0028438568115234375, -0.04046630859375, 0.0214080810546875, -0.0018072128295898438, -0.0200347900390625, -0.07513427734375, -0.00931549072265625, 0.0301971435546875, -0.0182037353515625, 0.0096588134765625, 0.00040459632873535156, -0.011688232421875, 0.048980712890625, -0.04827880859375, 0.0291900634765625, 0.003879547119140625, -0.01279449462890625, -0.042877197265625, -0.0662841796875, 0.01036834716796875, -0.0248260498046875, -0.055877685546875, 0.037384033203125, -0.01678466796875, -0.057586669921875, -0.010955810546875, -0.01471710205078125, 0.06475830078125, 0.0164031982421875, -0.05419921875, -0.004505157470703125, -0.015045166015625, 0.00778961181640625, -0.0137786865234375, -0.0245513916015625, -0.0262603759765625, 0.005558013916015625, -0.046051025390625, -0.0511474609375, 0.0254669189453125, -0.031829833984375, -0.08013916015625, 0.1224365234375, 0.038543701171875, 0.04296875, 0.005039215087890625, 0.031524658203125, -0.06988525390625, -0.00937652587890625, 0.0206756591796875, 0.039276123046875, 0.040313720703125, -0.0248565673828125, 0.0188140869140625, 0.007259368896484375, 0.0021228790283203125, 0.034393310546875, 0.04705810546875, 0.01184844970703125, -0.01551055908203125, 0.0014123916625976562, 0.036712646484375, 0.0455322265625, 0.0043487548828125, 0.0150299072265625, -0.01300811767578125, -0.009246826171875, -0.01001739501953125, -0.05596923828125, 0.00536346435546875, -0.032623291015625, -0.03973388671875, 0.006649017333984375, 0.0300750732421875, 0.020263671875, 0.009735107421875, 0.03533935546875, -0.028961181640625, -0.0006923675537109375, 0.031982421875, -0.0284576416015625, -0.00902557373046875, 0.0260162353515625, 0.0318603515625, -0.035064697265625, -0.0204620361328125, -0.0199737548828125, 0.045867919921875, 0.0160675048828125, 0.0145721435546875, 0.019805908203125, 0.024749755859375, 0.00872802734375, -0.0200042724609375, 0.02227783203125, 0.00800323486328125, -0.029205322265625, 0.01175689697265625, -0.007022857666015625, -0.0009899139404296875, -0.03631591796875, 0.04412841796875, 0.028564453125, 0.0001550912857055664, -0.01995849609375, -0.025360107421875, 0.00627899169921875, -0.0069580078125, 0.015838623046875, -0.031585693359375, -0.005031585693359375, -0.004241943359375, 0.0300140380859375, -0.0302581787109375, -0.02398681640625, -0.019439697265625, 0.039825439453125, -0.019439697265625, -0.0099639892578125, 0.0066375732421875, -0.03057861328125, -0.03375244140625, 0.013824462890625, 0.0023651123046875, 0.0303802490234375, 0.0194244384765625, 0.054107666015625, 0.0252227783203125, -0.0139923095703125, -0.035675048828125, -0.00789642333984375, -0.01313018798828125, 0.03411865234375, -0.057525634765625, 0.005100250244140625, -0.0089569091796875, 0.054290771484375, 0.052490234375, 0.041900634765625, 0.046417236328125, 0.029083251953125, 0.0292205810546875, 0.018463134765625, 0.0286407470703125, -0.00048065185546875, -0.01336669921875, -0.0256805419921875, -0.00567626953125, 0.0024089813232421875, 0.017364501953125, -0.005279541015625, 0.031341552734375, -0.00923919677734375, -0.0078277587890625, -0.0101470947265625, 0.00901031494140625, -0.015716552734375, 0.018218994140625, -0.0141754150390625, -0.0185089111328125, 0.0191650390625, -0.04864501953125, 0.0003795623779296875, -0.047210693359375, -0.0094146728515625, 0.03369140625, 0.017059326171875, -0.050201416015625, 0.0850830078125, 0.0238494873046875, 0.00920867919921875, 0.026092529296875, -0.032958984375, 0.0037384033203125, 0.0369873046875, 0.0333251953125, 0.024017333984375, 0.004241943359375, -0.0005521774291992188, 0.00984954833984375, 0.01422882080078125, -0.00478363037109375, 0.047149658203125, -0.0030498504638671875, 0.0242462158203125, -0.01453399658203125, 0.005767822265625, -0.0090789794921875, -0.0297698974609375, 0.0262603759765625, 0.00543212890625, 0.00786590576171875, -0.013580322265625, -0.0181884765625, 0.02313232421875, 0.042388916015625, -0.028778076171875, -0.00560760498046875, 0.02252197265625, -0.0013608932495117188, -0.0263214111328125, 0.021087646484375, -0.0126953125, 0.0011425018310546875, -0.0185699462890625, -0.019073486328125, 0.034149169921875, 0.0102386474609375, -0.005123138427734375, -0.007354736328125, 0.023773193359375, -0.01506805419921875, 0.04217529296875, 0.018585205078125, 0.0377197265625, 0.028472900390625, 0.0118408203125, -0.02978515625, 0.04852294921875, 0.007328033447265625, 0.017059326171875, 0.040191650390625, 0.01116180419921875, 0.052001953125, -0.0716552734375, -0.01153564453125, 0.019195556640625, 0.00548553466796875, -0.0151214599609375, -0.0274505615234375, 0.0380859375, -0.0261383056640625, -0.050994873046875, 0.05322265625, -0.0200042724609375, -0.0533447265625, -0.0166778564453125, 0.017181396484375, -0.02734375, -0.0274658203125, -0.06402587890625, 0.0161895751953125, -0.014434814453125, 0.0006079673767089844, -0.06536865234375, 0.026123046875, 0.00724029541015625, 0.059356689453125, -0.057586669921875, 0.0192718505859375, -0.00965118408203125, 0.03399658203125, -0.0271148681640625, -0.0516357421875, -0.0300445556640625, 0.059417724609375, -0.03662109375, 0.0161590576171875, 0.025604248046875, -0.03131103515625, 0.01287078857421875, -0.007221221923828125, 0.023712158203125, 0.039459228515625, 0.04144287109375, -0.0152740478515625, 0.0236053466796875, 0.002605438232421875, 0.00885772705078125, -0.06842041015625, -0.0262298583984375, -0.019439697265625, -0.01032257080078125, 0.003101348876953125, 0.0268402099609375, 0.04412841796875, -0.00943756103515625, -0.04803466796875, 0.006427764892578125, -0.004180908203125, -0.026214599609375, -0.0210113525390625, 0.0150299072265625, 0.0034656524658203125, 0.052276611328125, 0.0180206298828125, -0.036041259765625, -0.01038360595703125, -0.00341033935546875, 0.01319122314453125, 0.00038170814514160156, 0.038116455078125, 0.00514984130859375, -0.02294921875, 0.001556396484375, 0.0078582763671875, -0.00539398193359375, 0.007335662841796875, -0.0008792877197265625, 0.0290679931640625, 0.030242919921875, -0.04302978515625, 0.01432037353515625, -0.010040283203125, -0.0021953582763671875, -0.023101806640625, -0.038848876953125, -0.039947509765625, -0.017364501953125, 0.08349609375, 0.051788330078125, 0.024627685546875, -0.02276611328125, -0.0023441314697265625, -0.031890869140625, -0.01084136962890625, -0.0211334228515625, 0.0130767822265625, -0.06195068359375, -0.02008056640625, 0.022705078125, -0.0270538330078125, 0.01111602783203125, -0.0014972686767578125, -0.0255126953125, 0.017486572265625, 0.0312042236328125, 0.0037136077880859375, -0.029052734375, -0.0035762786865234375, 0.042266845703125, -0.0289764404296875, 0.00821685791015625, 0.0039825439453125, 0.0028095245361328125, 0.0268707275390625, 0.04071044921875, -0.050567626953125, -0.034759521484375, -0.00881195068359375, 0.040618896484375, -0.042694091796875, 0.04644775390625, -0.041046142578125, 0.01287078857421875, -0.0056610107421875, 0.0007691383361816406, 0.0051727294921875, 0.000025391578674316406, -0.01091766357421875, -0.00481414794921875, -0.00672149658203125, -0.01435089111328125, -0.045379638671875, -0.005496978759765625, -0.018646240234375, -0.006938934326171875, 0.0232086181640625, 0.019927978515625, 0.08074951171875, -0.01239776611328125, -0.01318359375, -0.005641937255859375, -0.0131988525390625, -0.067626953125, 0.03179931640625, 0.0272674560546875, 0.01947021484375, 0.035125732421875 ]
ce7ed7f492007de1e12b15f267fc233d9cf79abb
Wordpress Stackexchange Q: Odd Script File Trying to be Loaded This is an odd query I have and wondered if anybody can shed some light on it? We have a number WordPress multi-site (formally Mu) install, but on nearly all the sites on multiple installs we are getting this script tag... <script src='http://[parent-domain]/?dm=[random-string]&amp;action=load&amp;blogid=1&amp;siteid=1&amp;t=401255033&amp;back=[this-sites-domain' type='text/javascript'></script> I was wondering if anybody knows what this is all about? Thanks. A: In Network Admin > Settings > Domain Mapping > Domain Options, uncheck Remote Login. That should also remove it. In my case, the "script" just retrieves the home page (html), causing a script error and a lot of wasted resources on every page view. Similar complaints in Does Domain Mapping plugin insert javascript on headers?.
Q: Odd Script File Trying to be Loaded This is an odd query I have and wondered if anybody can shed some light on it? We have a number WordPress multi-site (formally Mu) install, but on nearly all the sites on multiple installs we are getting this script tag... <script src='http://[parent-domain]/?dm=[random-string]&amp;action=load&amp;blogid=1&amp;siteid=1&amp;t=401255033&amp;back=[this-sites-domain' type='text/javascript'></script> I was wondering if anybody knows what this is all about? Thanks. A: In Network Admin > Settings > Domain Mapping > Domain Options, uncheck Remote Login. That should also remove it. In my case, the "script" just retrieves the home page (html), causing a script error and a lot of wasted resources on every page view. Similar complaints in Does Domain Mapping plugin insert javascript on headers?. A: It is added by the Domain Mapping Plugin and i believe (i might be wrong) it is used to log users into all MU sites with a single login. to remove it: add_action('wp_loaded', 'remove_unwanted_js'); function remove_unwanted_js(){ remove_action( 'wp_head', 'remote_login_js_loader' ); }
wordpress
{ "language": "en", "length": 162, "provenance": "stackexchange_00019.jsonl.gz:414102", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32000" }
[ 0.03228759765625, -0.01459503173828125, 0.01560211181640625, 0.00655364990234375, -0.00824737548828125, -0.0149383544921875, 0.052154541015625, -0.0134429931640625, -0.0755615234375, -0.0184173583984375, -0.030029296875, 0.0406494140625, -0.08447265625, -0.0208740234375, 0.049224853515625, -0.08612060546875, 0.02789306640625, 0.00554656982421875, 0.0233001708984375, 0.0018911361694335938, -0.0235595703125, 0.034149169921875, 0.0105133056640625, 0.024871826171875, 0.004154205322265625, -0.00748443603515625, 0.05657958984375, -0.00539398193359375, 0.006710052490234375, -0.0198211669921875, 0.017852783203125, -0.0031223297119140625, 0.0166778564453125, -0.0005488395690917969, 0.01568603515625, -0.0217742919921875, 0.033111572265625, 0.003986358642578125, 0.01459503173828125, 0.0303802490234375, -0.01043701171875, 0.0098876953125, 0.042572021484375, 0.027435302734375, -0.01641845703125, -0.01715087890625, -0.0213165283203125, -0.0271759033203125, 0.012786865234375, 0.0194244384765625, 0.01189422607421875, -0.0113983154296875, 0.0180206298828125, 0.0138702392578125, -0.035675048828125, -0.036407470703125, -0.0244293212890625, 0.0249481201171875, -0.01213836669921875, 0.0394287109375, 0.01412200927734375, 0.061737060546875, -0.02752685546875, -0.01317596435546875, -0.0159454345703125, -0.0201263427734375, -0.050811767578125, 0.00875091552734375, -0.0211944580078125, -0.006786346435546875, 0.041717529296875, -0.031341552734375, 0.0195770263671875, -0.02935791015625, -0.014617919921875, 0.004779815673828125, -0.0154571533203125, -0.00194549560546875, 0.039825439453125, -0.033355712890625, 0.0090179443359375, -0.0086669921875, -0.050323486328125, 0.0172119140625, -0.005062103271484375, 0.045623779296875, -0.0010747909545898438, -0.0160369873046875, -0.058929443359375, 0.01369476318359375, -0.0489501953125, -0.038330078125, -0.0114288330078125, 0.0298309326171875, -0.034912109375, 0.035400390625, 0.0287322998046875, 0.0634765625, 0.0014009475708007812, 0.000012099742889404297, -0.00856781005859375, -0.0211029052734375, -0.01751708984375, -0.023162841796875, -0.016082763671875, 0.022491455078125, 0.036651611328125, 0.003475189208984375, 0.007007598876953125, 0.0036907196044921875, -0.00812530517578125, 0.0301055908203125, 0.005290985107421875, 0.045623779296875, -0.0684814453125, -0.0426025390625, -0.03765869140625, -0.031951904296875, -0.03619384765625, -0.01983642578125, 0.0010623931884765625, 0.0298309326171875, -0.00881195068359375, 0.0010938644409179688, -0.0160675048828125, -0.004497528076171875, -0.000579833984375, -0.03375244140625, -0.0482177734375, -0.03643798828125, -0.02728271484375, 0.020782470703125, 0.040283203125, 0.05572509765625, 0.0214385986328125, 0.0023250579833984375, -0.029266357421875, -0.00677490234375, -0.00955963134765625, -0.0014390945434570312, -0.0036067962646484375, -0.057861328125, -0.00792694091796875, -0.007381439208984375, -0.04034423828125, 0.006378173828125, 0.0156402587890625, 0.028778076171875, 0.0011053085327148438, -0.0112152099609375, -0.034912109375, -0.005580902099609375, 0.042633056640625, -0.0055084228515625, 0.0265350341796875, -0.0482177734375, 0.035430908203125, -0.05340576171875, -0.018768310546875, -0.0260162353515625, 0.006404876708984375, -0.00811004638671875, 0.016632080078125, -0.029571533203125, -0.057861328125, -0.0016794204711914062, -0.0164337158203125, -0.0225830078125, 0.02081298828125, -0.03240966796875, 0.01360321044921875, -0.038909912109375, 0.0190277099609375, 0.0229949951171875, 0.0196685791015625, 0.060150146484375, 0.0025959014892578125, 0.041748046875, 0.01128387451171875, 0.00650787353515625, 0.0017604827880859375, -0.03704833984375, 0.04608154296875, -0.0108642578125, -0.06658935546875, 0.06793212890625, 0.01500701904296875, 0.06964111328125, -0.008087158203125, 0.00978851318359375, 0.055572509765625, 0.040374755859375, -0.02508544921875, 0.0231475830078125, 0.0044097900390625, -0.01253509521484375, -0.062255859375, 0.003143310546875, -0.026123046875, -0.026702880859375, -0.00133514404296875, -0.0271453857421875, 0.009857177734375, 0.0018720626831054688, 0.009552001953125, -0.0170440673828125, -0.006038665771484375, 0.00998687744140625, 0.0227203369140625, 0.0086517333984375, -0.01345062255859375, 0.002716064453125, -0.0003376007080078125, -0.0177459716796875, -0.0168914794921875, 0.042022705078125, -0.0263671875, 0.06658935546875, 0.0013799667358398438, 0.038360595703125, -0.040374755859375, -0.0033359527587890625, -0.0096282958984375, -0.0455322265625, 0.0259857177734375, 0.0117340087890625, -0.051422119140625, -0.0150146484375, 0.005939483642578125, -0.0034465789794921875, 0.0025730133056640625, 0.07452392578125, 0.0073089599609375, 0.04864501953125, -0.03424072265625, -0.032867431640625, -0.05078125, -0.0184326171875, 0.016998291015625, 0.038299560546875, 0.03656005859375, 0.0022296905517578125, 0.0037841796875, 0.01531219482421875, 0.0069580078125, -0.09576416015625, -0.003231048583984375, 0.009674072265625, -0.0208892822265625, 0.0236968994140625, -0.0293121337890625, 0.0189361572265625, 0.0272216796875, -0.0400390625, -0.025634765625, 0.066650390625, 0.0018405914306640625, -0.03753662109375, -0.00616455078125, 0.0098724365234375, 0.0322265625, -0.030029296875, -0.053985595703125, 0.005634307861328125, -0.003040313720703125, 0.00443267822265625, 0.00251007080078125, 0.0081939697265625, -0.0121612548828125, 0.01076507568359375, 0.01104736328125, -0.045135498046875, -0.0258636474609375, 0.014739990234375, 0.0865478515625, -0.01007843017578125, -0.020843505859375, -0.0197601318359375, -0.046112060546875, 0.0092010498046875, -0.04364013671875, -0.037109375, -0.058258056640625, -0.0014743804931640625, -0.005908966064453125, -0.06903076171875, 0.0221099853515625, 0.0177764892578125, 0.01230621337890625, 0.01398468017578125, 0.025115966796875, 0.02191162109375, 0.0053558349609375, 0.02020263671875, 0.0016698837280273438, -0.0176544189453125, 0.032928466796875, -0.0281829833984375, 0.032257080078125, -0.0189208984375, 0.094970703125, 0.0704345703125, -0.025421142578125, 0.047821044921875, -0.0078277587890625, 0.01421356201171875, 0.012603759765625, -0.0233612060546875, -0.00797271728515625, 0.0131072998046875, -0.05816650390625, 0.00444793701171875, 0.0051116943359375, 0.01058197021484375, -0.0147705078125, -0.037353515625, -0.0213775634765625, -0.01354217529296875, -0.11077880859375, -0.10791015625, -0.0157928466796875, -0.0268096923828125, 0.0095977783203125, -0.0025310516357421875, -0.006282806396484375, -0.0250244140625, 0.004253387451171875, 0.00579833984375, 0.0153656005859375, -0.05328369140625, -0.07904052734375, -0.07733154296875, -0.099853515625, -0.0012693405151367188, 0.000560760498046875, 0.01178741455078125, -0.0067596435546875, -0.01436614990234375, -0.0198822021484375, -0.0172119140625, -0.0041961669921875, -0.01502227783203125, 0.0277252197265625, -0.0231475830078125, -0.0168304443359375, -0.034912109375, -0.0021610260009765625, -0.0017595291137695312, -0.015289306640625, -0.004535675048828125, 0.011871337890625, -0.01366424560546875, -0.033203125, -0.022125244140625, -0.007389068603515625, 0.008453369140625, 0.0112457275390625, -0.02313232421875, -0.018951416015625, -0.0723876953125, 0.0022792816162109375, -0.0217742919921875, -0.02984619140625, 0.0091094970703125, 0.0020427703857421875, -0.0030002593994140625, 0.01322174072265625, -0.0013971328735351562, 0.05145263671875, -0.0035572052001953125, 0.00978851318359375, -0.00466156005859375, -0.0144805908203125, 0.005420684814453125, 0.051666259765625, -0.030364990234375, 0.0635986328125, -0.005084991455078125, -0.0213470458984375, 0.01303863525390625, 0.01537322998046875, 0.0024394989013671875, -0.03070068359375, -0.03955078125, 0.00946044921875, 0.0257568359375, -0.0184173583984375, 0.026397705078125, -0.046478271484375, -0.018402099609375, -0.04010009765625, 0.04107666015625, 0.00841522216796875, 0.0034542083740234375, -0.003902435302734375, 0.0110626220703125, -0.053009033203125, -0.0131378173828125, -0.06243896484375, 0.0227508544921875, -0.058258056640625, 0.0219879150390625, -0.01371002197265625, 0.0009145736694335938, -0.045928955078125, 0.033111572265625, -0.033935546875, -0.03302001953125, 0.0279693603515625, -0.00873565673828125, -0.000438690185546875, -0.00409698486328125, 0.0132598876953125, -0.046600341796875, -0.014495849609375, -0.0089111328125, -0.03228759765625, -0.0198974609375, -0.049560546875, 0.06719970703125, 0.057769775390625, -0.036834716796875, 0.00397491455078125, 0.048309326171875, 0.0016832351684570312, 0.014251708984375, -0.000012934207916259766, -0.0250244140625, 0.01277923583984375, 0.0230865478515625, 0.0031604766845703125, -0.00679779052734375, -0.021209716796875, -0.00655364990234375, -0.045257568359375, -0.0080108642578125, 0.0176544189453125, -0.021881103515625, 0.059173583984375, -0.02886962890625, -0.004550933837890625, -0.0268707275390625, -0.006580352783203125, -0.004489898681640625, 0.010223388671875, -0.0240631103515625, -0.0074005126953125, 0.00959014892578125, 0.00861358642578125, 0.01166534423828125, -0.042205810546875, -0.0005631446838378906, -0.0016021728515625, 0.0307464599609375, -0.033782958984375, 0.0255889892578125, 0.006084442138671875, 0.0012750625610351562, -0.027130126953125, 0.06365966796875, -0.002399444580078125, 0.007598876953125, 0.046234130859375, -0.041534423828125, 0.058135986328125, -0.01593017578125, 0.07049560546875, 0.020843505859375, 0.01079559326171875, 0.042694091796875, 0.0662841796875, -0.10174560546875, 0.016876220703125, -0.003025054931640625, -0.0255889892578125, -0.046112060546875, 0.04022216796875, 0.00887298583984375, 0.00818634033203125, -0.04876708984375, -0.034881591796875, 0.0010471343994140625, -0.047149658203125, 0.0216064453125, 0.033905029296875, -0.0007238388061523438, 0.01200103759765625, 0.018646240234375, -0.006420135498046875, -0.027252197265625, 0.0257720947265625, -0.051910400390625, 0.027679443359375, -0.0185394287109375, -0.032684326171875, -0.0205230712890625, -0.0197601318359375, 0.0418701171875, -0.01242828369140625, -0.033660888671875, -0.01497650146484375, -0.01146697998046875, 0.0303802490234375, 0.0174560546875, 0.039337158203125, 0.0023326873779296875, 0.01123046875, 0.0120849609375, -0.0017137527465820312, 0.0606689453125, -0.0031909942626953125, -0.0010633468627929688, -0.0143280029296875, -0.0328369140625, 0.010650634765625, 0.00687408447265625, 0.0166778564453125, -0.01247406005859375, 0.00626373291015625, -0.0111236572265625, -0.018341064453125, 0.01080322265625, 0.042755126953125, 0.01413726806640625, -0.004878997802734375, -0.0257110595703125, 0.0528564453125, 0.022003173828125, -0.052093505859375, 0.02569580078125, 0.0201873779296875, 0.080078125, -0.021636962890625, -0.060546875, 0.038726806640625, -0.069091796875, -0.0185394287109375, 0.053741455078125, 0.0298614501953125, -0.0102386474609375, -0.054168701171875, -0.054443359375, 0.0204925537109375, 0.021240234375, 0.010467529296875, -0.0128326416015625, -0.012664794921875, -0.0309906005859375, 0.04156494140625, -0.053131103515625, -0.015594482421875, -0.0012006759643554688, -0.001987457275390625, -0.0166168212890625, 0.0060882568359375, -0.07659912109375, -0.01029205322265625, -0.0096435546875, -0.00621795654296875, 0.0017452239990234375, 0.0194244384765625, 0.0187835693359375, -0.030609130859375, -0.01491546630859375, 0.003627777099609375, -0.0028591156005859375, 0.008758544921875, -0.0236968994140625, -0.05218505859375, 0.0003559589385986328, -0.0478515625, -0.032257080078125, -0.063232421875, -0.0125732421875, -0.0635986328125, 0.009735107421875, -0.01873779296875, 0.0318603515625, -0.01739501953125, 0.00360107421875, -0.01497650146484375, -0.00893402099609375, -0.00902557373046875, 0.033905029296875, -0.06866455078125, 0.06341552734375, 0.0091705322265625, -0.007663726806640625, -0.03436279296875, 0.0557861328125, 0.0782470703125, -0.006988525390625, 0.0328369140625, -0.047821044921875, -0.04339599609375, 0.006732940673828125, -0.050048828125, -0.00681304931640625, 0.0181121826171875, -0.020751953125, 0.03961181640625, 0.0031604766845703125, 0.0115814208984375, -0.005847930908203125, 0.002574920654296875, -0.006412506103515625, -0.0020904541015625, 0.0396728515625, -0.032623291015625, -0.001598358154296875, 0.014923095703125, -0.022125244140625, 0.0035076141357421875, -0.00864410400390625, -0.01324462890625, 0.0322265625, -0.025634765625, 0.0030536651611328125, 0.01311492919921875, -0.01418304443359375, 0.0340576171875, -0.01654052734375, 0.014862060546875, 0.04345703125, 0.004978179931640625, 0.00585174560546875, -0.0157623291015625, -0.0259246826171875, -0.042449951171875, 0.01404571533203125, -0.0479736328125, 0.005832672119140625, 0.006877899169921875, 0.00807952880859375, 0.047576904296875, -0.02587890625, 0.011962890625, -0.014556884765625, -0.0309600830078125, 0.02130126953125, -0.0003681182861328125, 0.005069732666015625, -0.044586181640625, 0.01232147216796875, 0.0316162109375, -0.0012578964233398438, 0.00936126708984375, 0.01959228515625, -0.042633056640625, 0.001987457275390625, -0.01092529296875, 0.0301971435546875, -0.0106048583984375, 0.0179901123046875, -0.007720947265625, 0.0262298583984375, -0.0005559921264648438, -0.0019435882568359375, 0.009368896484375, -0.0238800048828125, -0.049896240234375, -0.0157928466796875, -0.0406494140625, -0.016845703125, -0.0716552734375, -0.0224609375, 0.037017822265625, 0.0281982421875, -0.0273895263671875, -0.024261474609375, 0.0142974853515625, -0.00148773193359375, -0.006351470947265625, -0.012115478515625, 0.0084686279296875, -0.0038242340087890625, -0.01375579833984375, 0.00555419921875, -0.024993896484375, -0.0295257568359375, -0.00193023681640625, -0.0458984375, -0.0281829833984375, 0.0228118896484375, -0.02587890625, 0.024627685546875, 0.003208160400390625, -0.009521484375, -0.0225372314453125, 0.03375244140625, -0.0672607421875, -0.0152740478515625, 0.00891876220703125, -0.01537322998046875, -0.048248291015625, -0.028778076171875, -0.059844970703125, 0.07879638671875, 0.01003265380859375, 0.034454345703125, 0.0092315673828125, 0.0216217041015625, -0.0233001708984375, -0.01187896728515625, -0.0290985107421875, 0.046600341796875, 0.0297393798828125, 0.025909423828125, -0.0016946792602539062, -0.007022857666015625, 0.015716552734375, 0.0112762451171875, -0.0296173095703125, -0.003467559814453125, -0.06298828125, -0.00518798828125, 0.0258331298828125, 0.040313720703125, 0.0517578125, 0.05035400390625, -0.0028514862060546875, 0.0168914794921875, -0.002227783203125, -0.026031494140625, 0.0003840923309326172, 0.005725860595703125, -0.0380859375, 0.02569580078125, 0.00785064697265625, -0.00922393798828125, 0.0021762847900390625, -0.01471710205078125, -0.040802001953125, 0.0189666748046875, 0.0136260986328125, 0.0595703125, 0.0110015869140625, 0.0021839141845703125, -0.001728057861328125, -0.02703857421875, -0.0132904052734375, -0.0164031982421875, 0.0233154296875, -0.01145172119140625, -0.018524169921875, -0.0188751220703125, 0.011749267578125, -0.017730712890625, -0.044403076171875, -0.02081298828125, 0.0170440673828125, -0.037109375, -0.004108428955078125, -0.0233001708984375, 0.008819580078125, -0.06048583984375, 0.0160369873046875, 0.061187744140625, 0.03448486328125, -0.0296173095703125, -0.017608642578125, 0.0062103271484375, -0.0026950836181640625, 0.013336181640625, -0.00897979736328125, 0.0109100341796875, 0.01165008544921875, 0.0038852691650390625, 0.034942626953125, -0.0243072509765625, 0.0016374588012695312, 0.00609588623046875, 0.034027099609375, 0.040435791015625, 0.0224151611328125, -0.01224517822265625, -0.03912353515625, 0.022186279296875, -0.0123291015625, 0.06927490234375, 0.0269775390625, 0.061614990234375, -0.0784912109375, -0.045684814453125, 0.01446533203125, 0.01605224609375, -0.020294189453125, -0.0163726806640625, -0.040374755859375, -0.05218505859375, 0.01360321044921875, 0.0450439453125, 0.0311737060546875, 0.044342041015625, 0.052032470703125, 0.034393310546875, -0.044830322265625, 0.025299072265625, 0.060821533203125, -0.015838623046875, 0.02410888671875, -0.0335693359375, 0.042388916015625, 0.0245361328125, 0.005268096923828125, -0.01690673828125, 0.049591064453125, 0.04315185546875, -0.005985260009765625, 0.0256805419921875, -0.0121002197265625, -0.0078887939453125, 0.0345458984375, 0.012847900390625, 0.055145263671875, 0.0191650390625, -0.016082763671875, -0.01483154296875, -0.031768798828125, 0.00785064697265625, 0.018890380859375, 0.04559326171875, 0.025177001953125, 0.00923919677734375, 0.037353515625, -0.0186767578125, -0.00012069940567016602, 0.01407623291015625, 0.0306854248046875, -0.016937255859375, 0.0090484619140625, 0.0084228515625, -0.050079345703125, -0.004268646240234375, 0.0011806488037109375, -0.014892578125, 0.0009145736694335938, 0.055999755859375, 0.0054168701171875, -0.00905609130859375, 0.044097900390625, 0.00905609130859375, 0.0275726318359375, 0.0311431884765625, -0.006561279296875, -0.00885009765625, 0.0192718505859375, -0.02593994140625, -0.09075927734375, 0.08270263671875, -0.0218963623046875, 0.037567138671875, 0.068115234375, -0.0027637481689453125, -0.00876617431640625, 0.0194091796875, 0.021148681640625, -0.0235137939453125, -0.042266845703125, -0.057952880859375, -0.007373809814453125, 0.035430908203125, 0.0504150390625, -0.0012483596801757812, 0.029144287109375, 0.0180206298828125, -0.0157470703125, 0.01073455810546875, -0.03533935546875, 0.0105133056640625, 0.027801513671875, 0.01049041748046875, -0.0169525146484375, 0.00560760498046875, -0.01558685302734375, 0.0433349609375, -0.005657196044921875, 0.047149658203125, 0.01265716552734375, -0.0036373138427734375, 0.00557708740234375, 0.05889892578125, 0.04144287109375, -0.012176513671875, 0.024871826171875, 0.0269317626953125, -0.028717041015625, 0.0203704833984375, -0.00820159912109375, -0.01471710205078125, -0.01068878173828125, -0.0126800537109375, 0.016265869140625, 0.005527496337890625, -0.006832122802734375, 0.0102081298828125, -0.020050048828125, 0.053924560546875, 0.012237548828125, -0.07318115234375, 0.0171661376953125, -0.03387451171875, 0.0263519287109375, -0.0087890625, 0.0070648193359375, -0.0323486328125, -0.00771331787109375, -0.00466156005859375, -0.043243408203125, -0.045684814453125, 0.07000732421875, -0.0192108154296875, 0.033172607421875, 0.028167724609375, -0.01438140869140625, -0.0032024383544921875, 0.055267333984375, 0.0099029541015625, 0.1064453125, -0.033447265625, -0.024749755859375, 0.009185791015625, 0.01230621337890625, -0.01065826416015625, -0.00254058837890625, -0.0009002685546875, 0.01251983642578125, -0.008514404296875, -0.03277587890625, 0.01506805419921875, 0.0188140869140625, -0.045501708984375, -0.07135009765625, 0.049713134765625, -0.0157623291015625, -0.033721923828125, -0.0164031982421875, -0.006229400634765625, 0.0096282958984375, -0.0263671875, -0.0182647705078125, -0.0173797607421875, -0.0170135498046875, 0.0220947265625, 0.01538848876953125, -0.0236968994140625, 0.026397705078125, -0.02777099609375, -0.021331787109375, 0.0258331298828125, 0.04302978515625, -0.00528717041015625, 0.00331878662109375, -0.006439208984375, 0.038116455078125, 0.07366943359375, 0.00958251953125, 0.0247650146484375, 0.001895904541015625, -0.07342529296875, 0.0007104873657226562, 0.033355712890625, 0.0030651092529296875, 0.0271148681640625, -0.002124786376953125, 0.057373046875, -0.00795745849609375, -0.03887939453125, -0.0357666015625, -0.059906005859375, -0.0205535888671875, -0.02496337890625, 0.025146484375, -0.091796875, 0.007152557373046875, 0.02606201171875, -0.030975341796875, 0.040557861328125, -0.0036182403564453125, -0.041595458984375, 0.0330810546875, 0.039306640625, -0.01129913330078125, -0.037322998046875, -0.0162811279296875, 0.08453369140625, -0.038818359375, 0.00769805908203125, 0.0247955322265625, 0.00753021240234375, 0.058807373046875, 0.04327392578125, -0.005207061767578125, 0.06005859375, -0.050384521484375, 0.023040771484375, -0.0015649795532226562, 0.0181732177734375, -0.06829833984375, 0.013946533203125, -0.00836944580078125, 0.0076446533203125, -0.0108489990234375, -0.00019538402557373047, 0.01302337646484375, -0.008575439453125, -0.00202178955078125, 0.0254364013671875, -0.06512451171875, -0.0301055908203125, -0.0615234375, 0.0199432373046875, -0.004177093505859375, 0.033538818359375, 0.06109619140625, 0.002666473388671875, -0.003940582275390625, 0.032623291015625, -0.0166168212890625, -0.01227569580078125, 0.007617950439453125, -0.03021240234375, 0.0094146728515625, -0.0036773681640625 ]
beaef06448d084a2090d51428a3c02a2951840c8
Wordpress Stackexchange Q: How do I get the permalink of a custom post type? I can get the permalink of a specific post tag or category, but what if I want to get the permalink of a custom post type? I can't find anything in the Codex or anywhere else about how to do this. A: Within the loop, you can simply use the_permalink(). Outside of the loop, you can use get_permalink( $id ).
Q: How do I get the permalink of a custom post type? I can get the permalink of a specific post tag or category, but what if I want to get the permalink of a custom post type? I can't find anything in the Codex or anywhere else about how to do this. A: Within the loop, you can simply use the_permalink(). Outside of the loop, you can use get_permalink( $id ). A: How about href="<?php echo get_post_type_archive_link( $post_type ); ?>", where $post_type is your post type? Further reading: Codex A: Or, for what it's worth, get_term_link($term, $taxonomy); - Codex. A: I know this post might be old but just in case someone else is searching the function that does this, here's the one i wrote. $post_type must be passed as a variable :) if( !function_exists( 'wp_get_post_type_link' ) ){ function wp_get_post_type_link( &$post_type ){ global $wp_rewrite; if ( ! $post_type_obj = get_post_type_object( $post_type ) ) return false; if ( get_option( 'permalink_structure' ) && is_array( $post_type_obj->rewrite ) ) { $struct = $post_type_obj->rewrite['slug'] ; if ( $post_type_obj->rewrite['with_front'] ) $struct = $wp_rewrite->front . $struct; else $struct = $wp_rewrite->root . $struct; $link = home_url( user_trailingslashit( $struct, 'post_type_archive' ) ); } else { $link = home_url( '?post_type=' . $post_type ); } return apply_filters( 'the_permalink', $link ); } } Hope it helps ! :)
wordpress
{ "language": "en", "length": 217, "provenance": "stackexchange_00019.jsonl.gz:414107", "question_score": "20", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32014" }
[ 0.061553955078125, 0.0014829635620117188, 0.03448486328125, -0.00135040283203125, 0.00655364990234375, -0.01776123046875, 0.0611572265625, -0.023773193359375, -0.038848876953125, 0.0081634521484375, -0.02783203125, 0.017669677734375, -0.035186767578125, -0.0236663818359375, 0.03515625, -0.0289764404296875, 0.036590576171875, -0.0152740478515625, 0.043304443359375, -0.01215362548828125, 0.0234527587890625, 0.0030269622802734375, 0.041748046875, 0.04949951171875, 0.0484619140625, 0.0024623870849609375, 0.0169219970703125, -0.02301025390625, 0.0243377685546875, -0.01087188720703125, 0.0333251953125, -0.0225982666015625, -0.006160736083984375, 0.004886627197265625, 0.041412353515625, 0.0021991729736328125, 0.0168304443359375, 0.01088714599609375, 0.047454833984375, -0.01131439208984375, 0.03741455078125, -0.010284423828125, 0.02508544921875, 0.0303802490234375, 0.00006759166717529297, -0.006381988525390625, -0.01027679443359375, -0.07568359375, 0.00606536865234375, -0.032257080078125, -0.0062255859375, -0.004924774169921875, 0.017974853515625, -0.0316162109375, -0.0264129638671875, -0.02215576171875, 0.0257720947265625, -0.0528564453125, 0.04461669921875, -0.0439453125, -0.04400634765625, -0.042816162109375, 0.05694580078125, 0.006710052490234375, -0.03240966796875, -0.00887298583984375, 0.0103759765625, 0.0232086181640625, -0.00036215782165527344, -0.03424072265625, 0.01275634765625, 0.01495361328125, 0.007617950439453125, -0.01279449462890625, -0.018310546875, -0.053070068359375, 0.0169219970703125, -0.044952392578125, -0.0020656585693359375, 0.0162506103515625, -0.00736236572265625, -0.032501220703125, -0.033447265625, -0.0227813720703125, 0.0137481689453125, 0.003673553466796875, -0.00762176513671875, -0.001941680908203125, 0.003124237060546875, -0.03521728515625, -0.013580322265625, -0.0021724700927734375, -0.0210418701171875, 0.020782470703125, -0.01904296875, -0.0276947021484375, 0.04315185546875, 0.044647216796875, -0.0031604766845703125, 0.005115509033203125, 0.028076171875, -0.06304931640625, 0.04638671875, -0.036529541015625, -0.004497528076171875, -0.0421142578125, -0.0017709732055664062, 0.05059814453125, 0.058074951171875, 0.0438232421875, -0.0302276611328125, 0.049468994140625, 0.01268768310546875, -0.003204345703125, -0.039459228515625, 0.00824737548828125, -0.0238800048828125, 0.0081634521484375, -0.01407623291015625, 0.0294342041015625, -0.003421783447265625, 0.05419921875, 0.0207061767578125, -0.01113128662109375, -0.0034942626953125, 0.02197265625, 0.0125579833984375, -0.0760498046875, 0.004665374755859375, 0.04083251953125, -0.042388916015625, -0.0169219970703125, 0.03656005859375, 0.041656494140625, 0.02252197265625, -0.033843994140625, 0.0168914794921875, -0.032073974609375, -0.0031070709228515625, 0.0192108154296875, -0.0015659332275390625, -0.0133819580078125, 0.0162200927734375, -0.00870513916015625, -0.0035610198974609375, 0.032684326171875, 0.00458526611328125, 0.0085601806640625, -0.00823974609375, -0.030975341796875, -0.01300811767578125, -0.0240631103515625, 0.0175933837890625, 0.0029296875, -0.0097808837890625, -0.03509521484375, 0.0188446044921875, -0.0248260498046875, -0.0077972412109375, -0.039886474609375, 0.03765869140625, -0.006061553955078125, 0.0121002197265625, 0.04541015625, 0.005870819091796875, 0.036590576171875, -0.03375244140625, -0.006412506103515625, 0.020721435546875, 0.041259765625, -0.013702392578125, 0.004596710205078125, 0.0006337165832519531, -0.002422332763671875, -0.01032257080078125, -0.0109405517578125, -0.0116119384765625, -0.0019168853759765625, 0.017242431640625, 0.040252685546875, -0.004482269287109375, -0.03607177734375, 0.0008916854858398438, -0.0016841888427734375, -0.05133056640625, 0.040863037109375, 0.022705078125, 0.07684326171875, -0.017913818359375, 0.0238800048828125, 0.02117919921875, 0.0299224853515625, -0.0823974609375, 0.027557373046875, -0.02850341796875, 0.0176849365234375, -0.03912353515625, 0.018798828125, -0.03387451171875, 0.01296234130859375, -0.035430908203125, -0.01534271240234375, 0.006443023681640625, 0.0243072509765625, -0.02496337890625, 0.0233612060546875, -0.0224609375, 0.0283355712890625, 0.0270843505859375, 0.01136016845703125, 0.005886077880859375, -0.006053924560546875, -0.00348663330078125, -0.09210205078125, -0.046173095703125, 0.048583984375, -0.019683837890625, -0.0187530517578125, -0.0394287109375, -0.01520538330078125, -0.037872314453125, -0.0299835205078125, -0.0533447265625, 0.049591064453125, 0.0281982421875, 0.02386474609375, -0.0262298583984375, -0.0023136138916015625, -0.01221466064453125, 0.0631103515625, -0.08282470703125, -0.01265716552734375, 0.02618408203125, 0.01261138916015625, -0.023284912109375, -0.015625, 0.0195770263671875, -0.04351806640625, 0.008941650390625, 0.052490234375, 0.0191802978515625, 0.0279998779296875, -0.01335906982421875, -0.000016868114471435547, 0.061920166015625, -0.0033016204833984375, 0.01169586181640625, -0.00702667236328125, 0.0313720703125, 0.04327392578125, 0.003147125244140625, 0.01032257080078125, 0.0175018310546875, 0.01158905029296875, 0.01971435546875, 0.0257720947265625, 0.01279449462890625, 0.01313018798828125, -0.004344940185546875, 0.01470184326171875, 0.00476837158203125, 0.0240631103515625, -0.025787353515625, 0.0018587112426757812, 0.037628173828125, 0.025665283203125, 0.04217529296875, 0.048431396484375, -0.0222015380859375, 0.0008616447448730469, -0.00678253173828125, 0.01666259765625, -0.005046844482421875, 0.031585693359375, 0.0418701171875, 0.0200958251953125, -0.04461669921875, -0.0097503662109375, 0.0167236328125, 0.028472900390625, -0.020172119140625, 0.041290283203125, -0.0294189453125, -0.01041412353515625, -0.03533935546875, -0.071533203125, -0.00727081298828125, 0.014556884765625, -0.017120361328125, -0.0092926025390625, 0.019439697265625, 0.008392333984375, -0.0273590087890625, -0.005794525146484375, 0.00856781005859375, -0.016204833984375, 0.0122222900390625, -0.06927490234375, 0.064697265625, -0.0562744140625, 0.0352783203125, 0.07318115234375, -0.028533935546875, 0.040008544921875, 0.0172119140625, -0.03497314453125, -0.006320953369140625, 0.028839111328125, -0.00254058837890625, -0.016998291015625, -0.051971435546875, 0.005367279052734375, 0.01206207275390625, 0.06451416015625, -0.0204315185546875, -0.046875, -0.0007619857788085938, 0.039703369140625, -0.054290771484375, -0.057220458984375, 0.045196533203125, -0.0233917236328125, -0.0207366943359375, -0.02593994140625, -0.0159454345703125, -0.00955963134765625, -0.033355712890625, -0.021820068359375, 0.03759765625, -0.0295867919921875, -0.07830810546875, -0.0484619140625, -0.0941162109375, -0.016632080078125, -0.002483367919921875, 0.00823974609375, -0.0001049041748046875, 0.0330810546875, -0.0007910728454589844, -0.0312347412109375, -0.002288818359375, 0.013336181640625, -0.01413726806640625, -0.0343017578125, -0.0126495361328125, 0.006908416748046875, 0.01366424560546875, 0.0221710205078125, 0.02044677734375, 0.0178680419921875, -0.0222015380859375, -0.0192718505859375, -0.0205841064453125, -0.03057861328125, 0.033966064453125, 0.0301361083984375, 0.0083465576171875, 0.01337432861328125, 0.0616455078125, -0.03399658203125, -0.019256591796875, -0.01751708984375, -0.039794921875, 0.0054473876953125, 0.0050506591796875, -0.001129150390625, -0.0212554931640625, 0.019378662109375, 0.0234527587890625, 0.0129852294921875, -0.010101318359375, -0.0399169921875, 0.06390380859375, 0.028900146484375, 0.06939697265625, -0.01678466796875, -0.01480865478515625, -0.05224609375, 0.06134033203125, -0.010009765625, -0.03021240234375, -0.02093505859375, 0.0071258544921875, -0.020751953125, -0.07574462890625, 0.072265625, -0.0660400390625, -0.03790283203125, -0.04412841796875, -0.034698486328125, 0.0197296142578125, 0.13037109375, 0.021240234375, -0.0034618377685546875, -0.035491943359375, -0.0298004150390625, 0.00885009765625, -0.004425048828125, -0.027587890625, -0.0111236572265625, -0.0928955078125, -0.01605224609375, -0.012420654296875, -0.044097900390625, -0.00009006261825561523, 0.0213165283203125, -0.0682373046875, -0.029052734375, 0.037750244140625, -0.00789642333984375, -0.01806640625, 0.0198211669921875, -0.00696563720703125, -0.0042724609375, -0.042510986328125, 0.006290435791015625, -0.049163818359375, -0.00601959228515625, -0.01149749755859375, 0.030914306640625, 0.01358795166015625, -0.0377197265625, -0.0015058517456054688, 0.029388427734375, 0.0243988037109375, 0.00447845458984375, 0.0147552490234375, -0.005413055419921875, 0.0013523101806640625, -0.01325225830078125, -0.0007996559143066406, -0.026763916015625, 0.0019855499267578125, 0.0001392364501953125, -0.042022705078125, 0.039825439453125, -0.0160980224609375, 0.006778717041015625, 0.00936126708984375, -0.041229248046875, -0.04473876953125, 0.01357269287109375, -0.01055145263671875, 0.0187835693359375, -0.03179931640625, 0.01406097412109375, 0.0033130645751953125, -0.060394287109375, 0.054412841796875, 0.0118255615234375, 0.0031585693359375, -0.00331878662109375, 0.07379150390625, 0.0003192424774169922, -0.0301513671875, -0.045562744140625, 0.023529052734375, 0.040130615234375, -0.01898193359375, 0.03607177734375, 0.0237274169921875, -0.01224517822265625, 0.01158905029296875, -0.004302978515625, -0.026031494140625, -0.0136871337890625, 0.051849365234375, 0.004711151123046875, 0.0169830322265625, -0.0137176513671875, -0.048675537109375, 0.054931640625, 0.039276123046875, -0.0252685546875, -0.023468017578125, -0.0188751220703125, 0.0650634765625, -0.0310211181640625, 0.040435791015625, -0.04595947265625, -0.037445068359375, 0.032928466796875, -0.0045318603515625, 0.04705810546875, 0.0258331298828125, -0.016571044921875, 0.037841796875, -0.01739501953125, 0.0211639404296875, -0.0183258056640625, 0.00628662109375, 0.00279998779296875, 0.04541015625, -0.01451873779296875, 0.0189056396484375, -0.0273284912109375, 0.004180908203125, 0.036285400390625, -0.006420135498046875, -0.02130126953125, -0.00740814208984375, -0.0318603515625, -0.0189971923828125, 0.02252197265625, 0.0025348663330078125, 0.0338134765625, 0.0229339599609375, 0.0008516311645507812, 0.0232391357421875, -0.0128631591796875, 0.0130157470703125, -0.031158447265625, -0.0035991668701171875, -0.0014886856079101562, -0.00923919677734375, -0.025238037109375, 0.06781005859375, 0.002010345458984375, 0.0291748046875, -0.002727508544921875, 0.0141754150390625, 0.0273590087890625, 0.0180511474609375, 0.01004791259765625, -0.01070404052734375, 0.0019626617431640625, -0.024658203125, 0.0091094970703125, -0.033111572265625, -0.0280914306640625, -0.000035762786865234375, 0.0712890625, -0.0203399658203125, 0.00429534912109375, 0.01068115234375, -0.029205322265625, -0.0269775390625, 0.0124969482421875, 0.0195465087890625, -0.0323486328125, -0.01302337646484375, 0.01132965087890625, -0.012542724609375, 0.0105133056640625, -0.0207366943359375, 0.0303192138671875, -0.0258636474609375, 0.016265869140625, -0.0194244384765625, -0.01800537109375, 0.01471710205078125, 0.0251312255859375, -0.039337158203125, -0.0196075439453125, 0.00925445556640625, -0.00986480712890625, -0.0004792213439941406, -0.01116180419921875, -0.0322265625, 0.021575927734375, 0.0127410888671875, 0.07891845703125, -0.046722412109375, -0.04852294921875, 0.0167694091796875, -0.01517486572265625, 0.07305908203125, 0.0219573974609375, -0.0533447265625, 0.0182342529296875, -0.04345703125, 0.01287841796875, -0.0134124755859375, -0.05889892578125, -0.0270843505859375, -0.0176544189453125, 0.01898193359375, 0.0211181640625, 0.0099029541015625, 0.01438140869140625, -0.00006139278411865234, 0.022705078125, -0.00228118896484375, 0.0254058837890625, -0.00833892822265625, 0.06805419921875, -0.0036945343017578125, 0.043243408203125, 0.00421905517578125, 0.01445770263671875, -0.023651123046875, -0.0146636962890625, -0.01666259765625, -0.03155517578125, -0.0130767822265625, 0.00977325439453125, 0.015625, 0.01175689697265625, 0.0281982421875, 0.01354217529296875, -0.01141357421875, -0.0115203857421875, 0.00415802001953125, -0.0306243896484375, -0.0007262229919433594, -0.042388916015625, -0.03143310546875, -0.0014476776123046875, 0.0013647079467773438, 0.01543426513671875, 0.015167236328125, -0.0188446044921875, 0.00841522216796875, -0.0008192062377929688, 0.0160369873046875, 0.00899505615234375, -0.03448486328125, 0.00870513916015625, 0.053436279296875, 0.031646728515625, 0.0400390625, 0.003177642822265625, 0.031524658203125, 0.022216796875, 0.02252197265625, 0.0029754638671875, -0.0279083251953125, 0.060150146484375, 0.0226898193359375, -0.00604248046875, 0.066162109375, -0.018585205078125, -0.01849365234375, 0.0335693359375, 0.065185546875, -0.048675537109375, -0.0039043426513671875, 0.03302001953125, -0.0006842613220214844, -0.007144927978515625, 0.0197906494140625, -0.01158905029296875, 0.0022125244140625, 0.0119171142578125, -0.046234130859375, -0.0131072998046875, -0.006984710693359375, -0.0247802734375, 0.00922393798828125, -0.0312347412109375, 0.0491943359375, 0.005657196044921875, -0.006145477294921875, -0.0214385986328125, 0.0114898681640625, -0.0017681121826171875, -0.0224609375, 0.01812744140625, -0.028106689453125, 0.01404571533203125, 0.004138946533203125, 0.04425048828125, -0.0313720703125, 0.035003662109375, 0.0014162063598632812, -0.00960540771484375, 0.0323486328125, 0.01806640625, -0.006519317626953125, -0.01006317138671875, -0.0068206787109375, -0.03717041015625, 0.01207733154296875, -0.034271240234375, -0.00943756103515625, 0.02105712890625, -0.0167388916015625, 0.01136016845703125, -0.012725830078125, -0.026031494140625, -0.0102996826171875, -0.03656005859375, 0.099853515625, -0.06744384765625, 0.00865936279296875, 0.034088134765625, 0.028533935546875, -0.0118560791015625, -0.0201873779296875, -0.0201263427734375, -0.01299285888671875, 0.03851318359375, -0.03509521484375, 0.022918701171875, 0.0151824951171875, -0.0261383056640625, -0.05303955078125, 0.07769775390625, 0.0189971923828125, 0.0361328125, 0.0282745361328125, 0.0229339599609375, -0.0173797607421875, 0.01166534423828125, -0.038360595703125, 0.0634765625, -0.002582550048828125, 0.03076171875, -0.05322265625, -0.0164947509765625, 0.0089874267578125, 0.03961181640625, 0.044891357421875, 0.00017392635345458984, -0.044342041015625, -0.007740020751953125, 0.05078125, 0.05194091796875, 0.0134429931640625, 0.0161590576171875, 0.0234222412109375, 0.053955078125, 0.07904052734375, -0.01464080810546875, 0.0455322265625, 0.0137939453125, -0.007488250732421875, 0.033172607421875, 0.0360107421875, 0.037261962890625, 0.02435302734375, -0.053131103515625, -0.0273590087890625, 0.01715087890625, 0.0411376953125, -0.04534912109375, -0.0027103424072265625, 0.02783203125, 0.035919189453125, -0.0650634765625, -0.021087646484375, -0.034088134765625, 0.04901123046875, -0.00562286376953125, 0.021484375, -0.00811767578125, 0.0067138671875, 0.053375244140625, -0.040069580078125, 0.00542449951171875, 0.012298583984375, -0.012664794921875, 0.06793212890625, 0.03594970703125, 0.02288818359375, -0.041259765625, -0.007110595703125, 0.034454345703125, 0.0845947265625, -0.05670166015625, -0.054351806640625, 0.01904296875, 0.007419586181640625, 0.00960540771484375, 0.0003731250762939453, 0.004505157470703125, 0.00331878662109375, 0.054473876953125, -0.0330810546875, -0.01029205322265625, 0.0164947509765625, 0.0635986328125, 0.001255035400390625, -0.048980712890625, -0.0570068359375, -0.0242767333984375, -0.064208984375, 0.01776123046875, 0.01065826416015625, 0.06976318359375, 0.045501708984375, 0.054107666015625, -0.01788330078125, -0.027618408203125, 0.0228424072265625, 0.0181121826171875, -0.016326904296875, -0.002498626708984375, 0.00201416015625, -0.032867431640625, -0.005237579345703125, 0.030242919921875, 0.0280303955078125, -0.0250244140625, -0.0003952980041503906, -0.01322174072265625, 0.00026988983154296875, -0.004467010498046875, 0.0037212371826171875, -0.0139007568359375, 0.05987548828125, -0.050994873046875, 0.047271728515625, -0.0013904571533203125, -0.018890380859375, -0.00032067298889160156, -0.03704833984375, 0.06329345703125, -0.01495361328125, 0.049835205078125, 0.00931549072265625, -0.0107269287109375, 0.047271728515625, -0.0117034912109375, 0.046295166015625, 0.006092071533203125, -0.040557861328125, -0.00603485107421875, -0.0225372314453125, -0.04754638671875, 0.029083251953125, 0.04534912109375, 0.01043701171875, -0.02850341796875, 0.0005822181701660156, -0.02337646484375, 0.013092041015625, 0.002292633056640625, 0.021026611328125, 0.039398193359375, 0.002864837646484375, 0.0158233642578125, -0.0679931640625, -0.042236328125, -0.0186309814453125, 0.006099700927734375, 0.0205230712890625, 0.0341796875, 0.0175933837890625, 0.0195770263671875, -0.0261688232421875, 0.04425048828125, -0.04638671875, -0.02703857421875, 0.056640625, 0.01364898681640625, 0.0147552490234375, -0.0234527587890625, -0.0231475830078125, 0.05078125, 0.029205322265625, -0.0292510986328125, 0.014312744140625, 0.017486572265625, 0.005138397216796875, -0.0204620361328125, 0.0307159423828125, -0.02703857421875, -0.0467529296875, -0.055694580078125, -0.022796630859375, 0.019927978515625, 0.026611328125, 0.00518798828125, 0.0072021484375, -0.00614166259765625, -0.031646728515625, 0.0131378173828125, -0.011077880859375, 0.036773681640625, 0.038848876953125, -0.0216064453125, -0.014373779296875, 0.015655517578125, -0.0174102783203125, 0.0163421630859375, 0.010498046875, 0.02276611328125, 0.01238250732421875, -0.01343536376953125, 0.01277923583984375, -0.03216552734375, 0.0206298828125, -0.0210113525390625, 0.0046844482421875, -0.023773193359375, 0.01528167724609375, 0.00897216796875, -0.0411376953125, -0.035125732421875, -0.0648193359375, 0.0131988525390625, 0.0341796875, -0.021636962890625, 0.004444122314453125, -0.043426513671875, -0.016448974609375, 0.01548004150390625, -0.01207733154296875, -0.0078582763671875, 0.0098114013671875, -0.044158935546875, 0.017242431640625, -0.0384521484375, -0.03741455078125, 0.018218994140625, 0.04339599609375, -0.0270538330078125, -0.0271453857421875, -0.0278167724609375, -0.0122833251953125, -0.036834716796875, 0.038055419921875, 0.05108642578125, -0.064208984375, -0.0136260986328125, 0.053436279296875, 0.032989501953125, 0.10626220703125, 0.04107666015625, -0.0193328857421875, 0.006839752197265625, 0.0168609619140625, -0.034423828125, -0.05511474609375, 0.04791259765625, -0.05804443359375, -0.0198822021484375, -0.026763916015625, 0.02105712890625, 0.0413818359375, -0.017181396484375, -0.045928955078125, 0.029754638671875, -0.0279541015625, -0.0220947265625, -0.05242919921875, -0.0000629425048828125, 0.0125274658203125, -0.0217132568359375, -0.01029205322265625, -0.0285186767578125, -0.04833984375, 0.0175323486328125, 0.024169921875, 0.0038509368896484375, 0.02386474609375, 0.0269622802734375, -0.00605010986328125, 0.044342041015625, 0.0380859375, 0.006778717041015625, 0.0269317626953125, -0.0174560546875, 0.0110321044921875, 0.047882080078125, -0.061798095703125, -0.050933837890625, -0.04595947265625, 0.01531982421875, -0.01275634765625, -0.054962158203125, -0.01465606689453125, -0.028717041015625, 0.037261962890625, 0.02105712890625, 0.0121612548828125, -0.01898193359375, 0.0031795501708984375, -0.0117645263671875, -0.080078125, -0.0212860107421875, 0.042694091796875, -0.06719970703125, -0.003177642822265625, -0.004451751708984375, 0.00475311279296875, -0.034210205078125, 0.00492095947265625, -0.02972412109375, -0.01212310791015625, -0.007480621337890625, -0.0010995864868164062, -0.0404052734375, 0.0650634765625, 0.027496337890625, -0.031341552734375, 0.01424407958984375, -0.022430419921875, -0.01546478271484375, 0.024017333984375, -0.047210693359375, 0.011199951171875, 0.016876220703125, 0.0036869049072265625, -0.001575469970703125, 0.0478515625, 0.028106689453125, 0.0167388916015625, -0.006580352783203125, -0.0018148422241210938, 0.0318603515625, 0.00004035234451293945, 0.0160369873046875, -0.042327880859375, 0.04791259765625, 0.0113983154296875, 0.04248046875, 0.00492095947265625, 0.057159423828125, 0.00959014892578125, 0.05657958984375, -0.0259552001953125, -0.004398345947265625, -0.00876617431640625, -0.054473876953125, -0.0009217262268066406, -0.0003829002380371094, -0.01971435546875, -0.0294342041015625, 0.00330352783203125, -0.00418853759765625, -0.000579833984375, 0.0231170654296875 ]
27d35c60bd0d3964670ec491da2cde149ced5be8
Wordpress Stackexchange Q: Add a new page to wordpress programmatically Is there a function in the wordpress api that lets me programatically add pages ? something on the lines of : add_page($title,$content) Is there such a function ? A: Yes, it's wp_insert_post().
Q: Add a new page to wordpress programmatically Is there a function in the wordpress api that lets me programatically add pages ? something on the lines of : add_page($title,$content) Is there such a function ? A: Yes, it's wp_insert_post(). A: Also since WordPress integrated a HTTP API there are other new ways to handle creating content in WP via API https://developer.wordpress.org/rest-api/reference/pages/#create-a-page https://developer.wordpress.org/rest-api/reference/posts/#create-a-post All very cool stuff!
wordpress
{ "language": "en", "length": 67, "provenance": "stackexchange_00019.jsonl.gz:414116", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32051" }
[ 0.0692138671875, -0.004047393798828125, -0.00384521484375, -0.026092529296875, 0.0037136077880859375, -0.036834716796875, 0.05474853515625, -0.01145172119140625, -0.008819580078125, -0.02423095703125, -0.036041259765625, 0.0035610198974609375, -0.030029296875, -0.0341796875, 0.0295562744140625, -0.04473876953125, 0.02239990234375, -0.01544952392578125, 0.00981903076171875, -0.00913238525390625, 0.0026378631591796875, -0.0023517608642578125, 0.0218658447265625, 0.029022216796875, 0.0021038055419921875, 0.0208740234375, 0.0202789306640625, -0.01873779296875, -0.0025272369384765625, -0.0059814453125, 0.0152435302734375, 0.01390838623046875, 0.006011962890625, 0.0230560302734375, -0.00545501708984375, 0.00849151611328125, 0.0120086669921875, 0.01904296875, 0.018829345703125, 0.005382537841796875, 0.0103912353515625, 0.0165863037109375, 0.004405975341796875, 0.050323486328125, -0.01425933837890625, -0.0482177734375, 0.015899658203125, -0.04046630859375, -0.032501220703125, -0.01343536376953125, 0.0184326171875, -0.0193634033203125, 0.032501220703125, 0.0221405029296875, 0.00617218017578125, 0.0082244873046875, 0.0264129638671875, -0.01258087158203125, 0.03564453125, -0.04718017578125, -0.0418701171875, -0.005809783935546875, 0.033203125, -0.0007963180541992188, 0.005626678466796875, 0.0050811767578125, -0.0024433135986328125, 0.0188751220703125, -0.0576171875, -0.002048492431640625, 0.0246734619140625, -0.035888671875, -0.0233306884765625, 0.01116180419921875, 0.01390838623046875, -0.0160980224609375, 0.0116729736328125, -0.0172271728515625, 0.0108489990234375, 0.053863525390625, 0.02777099609375, -0.00455474853515625, 0.0090789794921875, -0.042327880859375, 0.0240936279296875, -0.007205963134765625, 0.0021114349365234375, -0.00328826904296875, -0.02960205078125, -0.031768798828125, -0.0238037109375, -0.01995849609375, -0.0202789306640625, -0.0157928466796875, -0.0298614501953125, 0.0029754638671875, -0.0211181640625, 0.01375579833984375, 0.0050201416015625, 0.050323486328125, 0.02777099609375, -0.04913330078125, 0.1085205078125, -0.063232421875, 0.0033321380615234375, 0.0260467529296875, -0.01313018798828125, -0.04058837890625, 0.015594482421875, 0.00981903076171875, -0.00007069110870361328, 0.0139617919921875, 0.0294342041015625, -0.008819580078125, -0.01219940185546875, -0.00013315677642822266, 0.01175689697265625, 0.0105438232421875, 0.00516510009765625, 0.0032978057861328125, -0.0377197265625, 0.00377655029296875, -0.0250701904296875, 0.003993988037109375, 0.0285797119140625, 0.011566162109375, 0.0009918212890625, 0.00557708740234375, 0.02044677734375, -0.0028057098388671875, -0.0164031982421875, 0.032135009765625, 0.03497314453125, -0.0137939453125, -0.0299835205078125, -0.005115509033203125, 0.0114593505859375, -0.057830810546875, -0.00873565673828125, 0.0243377685546875, 0.00292205810546875, -0.047210693359375, -0.005146026611328125, -0.0166168212890625, 0.044952392578125, -0.00792694091796875, -0.0038013458251953125, 0.04461669921875, 0.038970947265625, 0.00968170166015625, 0.03497314453125, -0.0237884521484375, -0.035308837890625, 0.0183258056640625, 0.04180908203125, 0.00563812255859375, -0.028656005859375, 0.0055694580078125, 0.06488037109375, 0.0458984375, 0.02789306640625, 0.00223541259765625, 0.01045989990234375, -0.020050048828125, -0.034942626953125, -0.0112762451171875, -0.041107177734375, -0.001483917236328125, 0.021270751953125, 0.054931640625, -0.0045928955078125, -0.003940582275390625, 0.008026123046875, -0.00374603271484375, -0.0195770263671875, -0.006992340087890625, 0.01255035400390625, 0.0206756591796875, 0.00067138671875, 0.07574462890625, 0.0303192138671875, -0.00518798828125, 0.07012939453125, -0.010772705078125, -0.0618896484375, 0.04913330078125, 0.00481414794921875, 0.07196044921875, -0.0009126663208007812, 0.01116180419921875, 0.04364013671875, 0.0192413330078125, 0.0011377334594726562, -0.05194091796875, 0.013946533203125, -0.0136871337890625, -0.007678985595703125, -0.0121917724609375, -0.00853729248046875, 0.032928466796875, -0.039031982421875, 0.01441192626953125, -0.0011453628540039062, 0.055450439453125, 0.0197601318359375, 0.019378662109375, -0.01177215576171875, 0.01290130615234375, 0.01139068603515625, -0.01255035400390625, -0.0018930435180664062, -0.03265380859375, 0.027679443359375, -0.05029296875, -0.06341552734375, -0.0017328262329101562, -0.024932861328125, -0.0040130615234375, -0.0102386474609375, 0.004589080810546875, -0.018280029296875, -0.0030117034912109375, -0.0185394287109375, -0.0037975311279296875, 0.0740966796875, -0.036346435546875, -0.01068115234375, -0.046661376953125, 0.02911376953125, -0.02276611328125, -0.0360107421875, 0.06805419921875, 0.0287017822265625, 0.0259246826171875, -0.005035400390625, -0.0165863037109375, -0.03558349609375, -0.0946044921875, 0.002040863037109375, 0.0677490234375, 0.039337158203125, 0.028076171875, 0.0167694091796875, 0.034423828125, 0.061309814453125, 0.006908416748046875, 0.021026611328125, -0.00524139404296875, 0.01788330078125, 0.080810546875, 0.00632476806640625, 0.0120849609375, -0.0197906494140625, -0.09259033203125, 0.00992584228515625, 0.020782470703125, -0.01058197021484375, 0.0130615234375, -0.01316070556640625, -0.0218353271484375, 0.01456451416015625, -0.02276611328125, -0.0112457275390625, -0.01113128662109375, 0.026336669921875, 0.020172119140625, 0.041778564453125, 0.03857421875, 0.0106048583984375, -0.0184173583984375, 0.0023021697998046875, -0.0242462158203125, 0.0010976791381835938, 0.0088043212890625, 0.01319122314453125, 0.0016345977783203125, -0.041015625, 0.005001068115234375, 0.033416748046875, 0.0072021484375, -0.029541015625, 0.01166534423828125, -0.034881591796875, -0.0228118896484375, 0.000705718994140625, -0.04132080078125, -0.0190277099609375, -0.0234832763671875, -0.0004940032958984375, -0.0004949569702148438, 0.01413726806640625, 0.02239990234375, -0.034881591796875, 0.0472412109375, 0.0165863037109375, -0.024932861328125, 0.041168212890625, -0.01259613037109375, 0.0178070068359375, -0.0253143310546875, -0.02325439453125, 0.022064208984375, -0.01812744140625, -0.00003552436828613281, 0.005687713623046875, 0.000629425048828125, 0.011016845703125, 0.00872802734375, 0.00817108154296875, -0.00958251953125, -0.01419830322265625, 0.039886474609375, 0.01497650146484375, 0.02716064453125, 0.0074005126953125, -0.04925537109375, 0.0029582977294921875, 0.0096588134765625, -0.1080322265625, -0.1044921875, -0.0258331298828125, -0.0458984375, -0.0242156982421875, 0.01444244384765625, -0.030487060546875, 0.01397705078125, 0.047698974609375, 0.01087188720703125, -0.0226593017578125, -0.026611328125, -0.0267486572265625, -0.0540771484375, -0.046722412109375, -0.0181121826171875, 0.00421142578125, 0.0018596649169921875, -0.0006256103515625, 0.07861328125, 0.00539398193359375, -0.040008544921875, -0.020355224609375, 0.0255279541015625, -0.01459503173828125, -0.0261383056640625, 0.01218414306640625, -0.0196533203125, 0.045257568359375, -0.00942230224609375, 0.028839111328125, 0.049163818359375, -0.0301361083984375, 0.00675201416015625, -0.042877197265625, 0.0003886222839355469, -0.04638671875, 0.0212554931640625, 0.08294677734375, -0.0325927734375, -0.031982421875, -0.052520751953125, -0.00727081298828125, 0.041748046875, -0.0289154052734375, -0.046722412109375, -0.0166473388671875, -0.0276947021484375, 0.0290679931640625, -0.0279541015625, -0.01239776611328125, 0.00534820556640625, 0.0008182525634765625, 0.00826263427734375, 0.00943756103515625, -0.04241943359375, -0.05078125, -0.01120758056640625, 0.031341552734375, -0.0077362060546875, 0.0296783447265625, 0.031890869140625, 0.044952392578125, 0.02862548828125, -0.0191802978515625, -0.01354217529296875, -0.053558349609375, 0.014617919921875, -0.0200347900390625, 0.036529541015625, 0.005031585693359375, -0.015411376953125, 0.037506103515625, 0.08978271484375, -0.0426025390625, -0.0170135498046875, 0.0159759521484375, 0.011444091796875, -0.06146240234375, -0.025634765625, -0.0633544921875, -0.0033512115478515625, 0.05206298828125, -0.0151824951171875, -0.000614166259765625, -0.0033740997314453125, -0.0303802490234375, 0.06207275390625, 0.030029296875, 0.0279388427734375, 0.0440673828125, -0.0311279296875, -0.01035308837890625, 0.040985107421875, -0.0050201416015625, -0.0096893310546875, -0.028839111328125, 0.001544952392578125, -0.1165771484375, -0.007228851318359375, -0.022247314453125, 0.059112548828125, 0.005939483642578125, -0.04669189453125, -0.04986572265625, 0.013671875, 0.006744384765625, 0.01290130615234375, 0.02734375, 0.01058197021484375, 0.0102996826171875, -0.0224609375, 0.0196685791015625, -0.037139892578125, -0.007373809814453125, -0.01361083984375, 0.032806396484375, 0.03411865234375, -0.0258331298828125, 0.00039196014404296875, -0.01910400390625, -0.0007090568542480469, 0.0016498565673828125, -0.0235748291015625, -0.00418853759765625, 0.04144287109375, -0.01303863525390625, 0.0098114013671875, -0.041351318359375, -0.022979736328125, 0.043121337890625, -0.020477294921875, 0.0011529922485351562, -0.0015249252319335938, 0.10205078125, 0.01236724853515625, -0.005954742431640625, -0.0762939453125, 0.018218994140625, 0.028076171875, 0.0116119384765625, 0.058868408203125, -0.004425048828125, 0.0018892288208007812, 0.056365966796875, -0.00768280029296875, 0.006397247314453125, -0.0282135009765625, 0.0321044921875, 0.007354736328125, -0.0022144317626953125, 0.010406494140625, -0.00023233890533447266, 0.0272064208984375, -0.00505828857421875, -0.041961669921875, -0.00586700439453125, -0.0093841552734375, 0.034942626953125, -0.04132080078125, 0.0775146484375, -0.011688232421875, -0.0019054412841796875, 0.0027179718017578125, 0.044830322265625, 0.00010311603546142578, 0.0171661376953125, 0.0013856887817382812, -0.0328369140625, -0.0350341796875, -0.0003879070281982422, 0.052734375, 0.0045928955078125, 0.037261962890625, 0.038909912109375, -0.0058746337890625, 0.0204010009765625, 0.003711700439453125, -0.00580596923828125, 0.03076171875, 0.0089263916015625, -0.0293121337890625, -0.0272674560546875, -0.0081329345703125, 0.060821533203125, 0.0115203857421875, 0.020721435546875, 0.045867919921875, -0.0005655288696289062, -0.00279998779296875, -0.00841522216796875, 0.00405120849609375, -0.014892578125, -0.040313720703125, -0.018768310546875, 0.0021915435791015625, -0.0154876708984375, 0.01654052734375, 0.051177978515625, -0.0181884765625, 0.03515625, -0.024658203125, 0.0197296142578125, 0.0477294921875, 0.0208740234375, 0.004085540771484375, 0.0022125244140625, -0.00431060791015625, 0.00531005859375, 0.0141143798828125, -0.003185272216796875, -0.042877197265625, 0.0517578125, 0.006771087646484375, -0.003948211669921875, 0.0241546630859375, -0.0189056396484375, 0.03466796875, -0.0216522216796875, -0.025299072265625, -0.006839752197265625, -0.00907135009765625, -0.01039886474609375, 0.01824951171875, 0.01074981689453125, 0.0129547119140625, 0.021240234375, -0.0066986083984375, 0.006591796875, 0.00494384765625, 0.005878448486328125, 0.0173492431640625, -0.04095458984375, -0.042083740234375, -0.041107177734375, -0.04229736328125, -0.0079803466796875, -0.0048675537109375, 0.01277923583984375, -0.024169921875, -0.03814697265625, 0.0211334228515625, -0.01468658447265625, 0.072509765625, -0.05133056640625, -0.002460479736328125, -0.0009565353393554688, -0.0012502670288085938, 0.039764404296875, 0.006893157958984375, 0.01090240478515625, -0.01497650146484375, -0.016265869140625, -0.0400390625, -0.02557373046875, -0.019073486328125, -0.05413818359375, 0.0032482147216796875, 0.019989013671875, 0.033843994140625, -0.0210723876953125, -0.05633544921875, 0.028961181640625, 0.000013947486877441406, 0.002681732177734375, 0.0287017822265625, 0.0206451416015625, 0.08203125, -0.037200927734375, 0.05999755859375, 0.032867431640625, 0.04962158203125, -0.032989501953125, -0.03057861328125, 0.00690460205078125, -0.05157470703125, -0.0230865478515625, 0.0005273818969726562, -0.0222930908203125, 0.0421142578125, 0.0160675048828125, -0.0004229545593261719, 0.022979736328125, -0.035552978515625, -0.0148773193359375, -0.021453857421875, 0.045196533203125, -0.02532958984375, -0.02093505859375, 0.0589599609375, -0.01297760009765625, 0.02789306640625, 0.0122528076171875, 0.0276947021484375, 0.00595855712890625, -0.015533447265625, 0.031829833984375, -0.021240234375, -0.07122802734375, 0.049652099609375, 0.060394287109375, 0.007434844970703125, 0.045562744140625, -0.02386474609375, 0.01009368896484375, 0.0274658203125, 0.0147705078125, -0.03131103515625, -0.017822265625, 0.0267791748046875, 0.003025054931640625, -0.01544952392578125, 0.0295562744140625, -0.0284423828125, 0.025909423828125, 0.048309326171875, 0.056976318359375, -0.05963134765625, -0.0006465911865234375, -0.0027446746826171875, -0.0303802490234375, 0.028961181640625, -0.01206207275390625, -0.00109100341796875, -0.0247955322265625, 0.0504150390625, 0.0218963623046875, 0.00495147705078125, 0.0198974609375, 0.00010162591934204102, -0.003742218017578125, -0.0245361328125, -0.00024366378784179688, 0.01267242431640625, 0.0193634033203125, 0.027313232421875, -0.014190673828125, 0.047821044921875, -0.025482177734375, 0.0153961181640625, 0.01090240478515625, 0.004550933837890625, -0.0189056396484375, 0.06622314453125, -0.0082244873046875, 0.01983642578125, 0.0219573974609375, 0.03375244140625, 0.0295562744140625, 0.0474853515625, 0.0034732818603515625, 0.0186004638671875, 0.0218048095703125, 0.02099609375, -0.01424407958984375, -0.0172271728515625, 0.04681396484375, -0.0012712478637695312, -0.052276611328125, 0.018798828125, -0.042449951171875, -0.0223236083984375, -0.0031871795654296875, 0.005855560302734375, 0.06512451171875, -0.03680419921875, -0.016448974609375, 0.017578125, -0.031097412109375, -0.003185272216796875, -0.0204315185546875, -0.00841522216796875, -0.058685302734375, -0.014129638671875, -0.0170135498046875, -0.01427459716796875, 0.0244903564453125, -0.0222930908203125, -0.0614013671875, 0.11822509765625, 0.029632568359375, 0.003536224365234375, -0.007122039794921875, 0.05389404296875, -0.05487060546875, 0.025360107421875, -0.01690673828125, 0.0706787109375, 0.03436279296875, 0.011871337890625, -0.022979736328125, -0.0197906494140625, 0.00830078125, 0.057159423828125, 0.036895751953125, -0.0025691986083984375, 0.005794525146484375, -0.006683349609375, 0.031585693359375, 0.009796142578125, -0.0162506103515625, 0.0189208984375, -0.01007080078125, -0.0084991455078125, 0.021270751953125, -0.031829833984375, 0.016693115234375, -0.0260772705078125, -0.0082244873046875, -0.003753662109375, -0.00592803955078125, -0.01175689697265625, 0.006000518798828125, -0.027587890625, -0.01470184326171875, 0.004730224609375, -0.01366424560546875, 0.033294677734375, -0.0230712890625, 0.03497314453125, -0.0246124267578125, -0.002490997314453125, -0.011810302734375, -0.03131103515625, 0.023468017578125, -0.0031299591064453125, 0.046783447265625, 0.0127716064453125, 0.0254669189453125, 0.0259246826171875, 0.00033783912658691406, 0.0251617431640625, 0.040557861328125, -0.04193115234375, 0.091796875, 0.0297088623046875, 0.024505615234375, -0.052276611328125, -0.01210784912109375, 0.035980224609375, 0.096923828125, -0.05169677734375, -0.00833892822265625, 0.005523681640625, 0.00429534912109375, 0.00937652587890625, -0.0127410888671875, 0.0430908203125, -0.018310546875, -0.0001646280288696289, -0.0167388916015625, -0.015899658203125, 0.016632080078125, 0.0172119140625, 0.0013484954833984375, 0.0033893585205078125, -0.01561737060546875, -0.0267486572265625, -0.02001953125, 0.0027942657470703125, -0.0153045654296875, 0.055450439453125, 0.01751708984375, 0.093017578125, -0.0390625, -0.0262908935546875, -0.0280303955078125, 0.0278778076171875, 0.0156707763671875, 0.037933349609375, -0.0562744140625, -0.041534423828125, 0.04150390625, 0.0325927734375, 0.003833770751953125, 0.041595458984375, 0.0297088623046875, 0.0269012451171875, 0.01531982421875, -0.00017011165618896484, 0.048095703125, -0.015899658203125, -0.0111541748046875, -0.0439453125, 0.00902557373046875, 0.00707244873046875, -0.0039520263671875, 0.018585205078125, 0.0122528076171875, 0.0159912109375, -0.0065765380859375, -0.0197296142578125, 0.00797271728515625, -0.041473388671875, 0.07208251953125, 0.022216796875, 0.059600830078125, 0.0290985107421875, -0.136962890625, -0.015960693359375, -0.05401611328125, -0.062042236328125, 0.050018310546875, 0.050048828125, -0.03271484375, 0.01291656494140625, 0.016632080078125, 0.0131988525390625, 0.023681640625, -0.019866943359375, -0.01399993896484375, 0.0125885009765625, 0.04376220703125, 0.0033416748046875, -0.08184814453125, -0.0289306640625, -0.0567626953125, 0.02398681640625, 0.0113983154296875, 0.080810546875, -0.006717681884765625, 0.021942138671875, -0.00911712646484375, -0.00470733642578125, 0.0008187294006347656, -0.01087188720703125, 0.032257080078125, 0.039764404296875, 0.007232666015625, -0.019775390625, -0.03656005859375, 0.015899658203125, 0.01500701904296875, -0.0005750656127929688, 0.0285797119140625, -0.05120849609375, 0.0277252197265625, -0.0014581680297851562, 0.0184478759765625, -0.00878143310546875, 0.01214599609375, -0.01056671142578125, -0.01953125, 0.030120849609375, 0.00791168212890625, -0.0011806488037109375, 0.035125732421875, -0.002166748046875, -0.00347137451171875, -0.0026073455810546875, -0.0180206298828125, -0.01528167724609375, 0.0264892578125, 0.00507354736328125, -0.006870269775390625, -0.01702880859375, -0.025665283203125, -0.003559112548828125, 0.0033359527587890625, 0.00397491455078125, 0.004772186279296875, -0.0098724365234375, -0.028594970703125, -0.01290130615234375, 0.006404876708984375, -0.0189056396484375, -0.0069580078125, -0.01244354248046875, -0.0268096923828125, 0.007328033447265625, 0.022918701171875, -0.0191497802734375, -0.0362548828125, 0.003818511962890625, 0.0021152496337890625, -0.0073699951171875, -0.024078369140625, -0.01218414306640625, -0.00881195068359375, -0.0095977783203125, -0.01050567626953125, -0.042633056640625, 0.00838470458984375, -0.003345489501953125, 0.0306549072265625, -0.03302001953125, 0.00937652587890625, 0.01009368896484375, 0.04901123046875, -0.06170654296875, -0.0098876953125, -0.0173187255859375, -0.01300811767578125, -0.037353515625, 0.0255889892578125, 0.04833984375, -0.04815673828125, 0.003971099853515625, 0.043731689453125, 0.058197021484375, 0.08868408203125, 0.00786590576171875, -0.013336181640625, 0.0557861328125, -0.032196044921875, -0.0038394927978515625, -0.049774169921875, -0.0157012939453125, -0.062744140625, 0.00481414794921875, 0.01806640625, -0.0036029815673828125, 0.034759521484375, -0.0159759521484375, -0.10760498046875, -0.0095367431640625, -0.002788543701171875, -0.0555419921875, -0.036468505859375, 0.0138397216796875, -0.02142333984375, 0.017974853515625, -0.015716552734375, -0.01265716552734375, 0.0234222412109375, 0.044708251953125, -0.003879547119140625, 0.04754638671875, 0.0276947021484375, -0.0160064697265625, -0.0108795166015625, 0.0119171142578125, -0.00804901123046875, 0.01023101806640625, 0.05712890625, -0.051361083984375, 0.06231689453125, 0.034210205078125, -0.038116455078125, -0.01139068603515625, -0.01120758056640625, -0.025360107421875, -0.03363037109375, -0.0301513671875, 0.00713348388671875, -0.0021686553955078125, 0.0887451171875, 0.044891357421875, 0.0195770263671875, -0.03765869140625, -0.0012454986572265625, -0.0148468017578125, -0.01593017578125, 0.0008206367492675781, 0.0125274658203125, -0.0372314453125, 0.007602691650390625, -0.00927734375, 0.0238037109375, 0.0062713623046875, -0.0155487060546875, 0.016021728515625, -0.03448486328125, 0.0413818359375, 0.00318145751953125, -0.0143585205078125, -0.0379638671875, 0.093017578125, -0.05047607421875, -0.016082763671875, 0.01186370849609375, 0.03265380859375, 0.01837158203125, 0.00787353515625, 0.01258087158203125, 0.01116943359375, -0.03643798828125, 0.01110076904296875, -0.00373077392578125, 0.0450439453125, -0.020294189453125, -0.0165557861328125, 0.0006508827209472656, 0.048431396484375, -0.00479888916015625, 0.054290771484375, -0.0206451416015625, 0.07501220703125, 0.0117950439453125, 0.06591796875, -0.0031032562255859375, 0.0230712890625, -0.0067596435546875, 0.0271453857421875, -0.02764892578125, -0.0091705322265625, -0.0034027099609375, -0.025238037109375, -0.003925323486328125, -0.01224517822265625, -0.039154052734375, -0.051300048828125, 0.0169525146484375, -0.033447265625, -0.0121612548828125, 0.0316162109375 ]
4b387dbc205899ed53f7da6b6e8a1de418cc49cd
Wordpress Stackexchange Q: How To View Site from Non-Logged-In User's Perspective I am working on anew blog. I am logged in as administrator, and above every post there is a option to 'edit this entry'. Can I have WordPress set up so that even is I am logged in as administrator, I will still view the front end of the website as if I was not logged in. This was I can see how the user would see the page. One option is to just view the website in another browser, but I guess there has to be another page. A: Those edit links are Theme-dependent, via the edit_post_link() template tag. However, there are several other, similar variances in site appearance between logged-in and non-logged-in users: the presence of the Admin bar, edit-post links, edit-comment links, login/logout/register links (added directly to the template, or via Widget), etc. These don't really constitute "front-end editing"; they're just links that appear (or change) based on the logged-in status of the user. Your best bet, most likely, is to view the site in a browser from which you are not logged-in to your site.
Q: How To View Site from Non-Logged-In User's Perspective I am working on anew blog. I am logged in as administrator, and above every post there is a option to 'edit this entry'. Can I have WordPress set up so that even is I am logged in as administrator, I will still view the front end of the website as if I was not logged in. This was I can see how the user would see the page. One option is to just view the website in another browser, but I guess there has to be another page. A: Those edit links are Theme-dependent, via the edit_post_link() template tag. However, there are several other, similar variances in site appearance between logged-in and non-logged-in users: the presence of the Admin bar, edit-post links, edit-comment links, login/logout/register links (added directly to the template, or via Widget), etc. These don't really constitute "front-end editing"; they're just links that appear (or change) based on the logged-in status of the user. Your best bet, most likely, is to view the site in a browser from which you are not logged-in to your site. A: Turn on Privacy or Incognito mode, or use another browser, it's the only reliable way of doing it. People may give you filters that may get rid of one thing ro another but there'll never be a 100% perfect code fix. Asking for a solution that allows you to view the frontend as if your not logged in introduces a whole new raft of issues such as people not being able to login and comment as it won't remember them, etc What you're asking for is essentially "I have a car and I want to drive around but I don't want to do it using wheels, how do I add tank treads?" It's doable but its not really the solution. A: You can conditionally nuke global variable with user info, something like this: function no_user() { global $current_user; if( is_admin() ) return; $current_user = -1; } I don't know precisely which is most appropriate moment to do this. Doing this on template_redirect should be early enough to cancel it out for most (if not all) things in templates. Also I went with -1 for the sake of it being not empty (which will trigger it being re-setup on calls of some related function) but it probably would be better to set it up with info of existing non-privileged user. A: See this related question. You should be able to add this code to your themes functions.php add_filter( 'edit_post_link', '__return_false' ); A: I've created a plugin that let's you view your website as a visitor without switching browsers plus a lot more (user switching, role switching, default screen settings, role manager, etc.). Hope it can help you as well: https://wordpress.org/plugins/view-admin-as/ A: Just kill the user variable at the first possible moment: add_action( 'set_current_user', 'kill_user', 999999 ); function kill_user() { global $current_user; $current_user = new WP_User(); } I've used a high number for priority in case any other hooks do something here. Also the variable cannot just be false or empty because later functions expect this to be a WP_User object ... Thanks goes to Rarst and his answer.
wordpress
{ "language": "en", "length": 536, "provenance": "stackexchange_00019.jsonl.gz:414121", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32064" }
[ 0.06573486328125, -0.0034580230712890625, -0.00014901161193847656, -0.01107025146484375, 0.01129150390625, -0.0535888671875, 0.0273284912109375, -0.038909912109375, 0.00910186767578125, -0.021240234375, -0.042205810546875, -0.0438232421875, -0.044281005859375, -0.036376953125, -0.01031494140625, -0.0791015625, -0.0081634521484375, 0.0130767822265625, 0.0195770263671875, -0.019134521484375, 0.0076751708984375, -0.00905609130859375, 0.01415252685546875, -0.0135345458984375, 0.014739990234375, 0.01242828369140625, 0.07427978515625, -0.0236358642578125, 0.036865234375, -0.004119873046875, 0.028167724609375, -0.0758056640625, 0.003143310546875, 0.01129150390625, 0.0154571533203125, -0.003917694091796875, -0.01300811767578125, 0.01358795166015625, 0.0207977294921875, 0.0079345703125, -0.01189422607421875, 0.01410675048828125, -0.0078582763671875, 0.043212890625, -0.0290679931640625, -0.0285186767578125, -0.01358795166015625, -0.022552490234375, 0.008056640625, -0.0198516845703125, 0.0203857421875, 0.003204345703125, 0.0304718017578125, 0.0219879150390625, -0.01123809814453125, 0.0357666015625, 0.0216522216796875, 0.0007023811340332031, 0.041107177734375, -0.0697021484375, -0.053497314453125, -0.023162841796875, 0.044891357421875, 0.00560760498046875, 0.002437591552734375, -0.007770538330078125, 0.0116424560546875, 0.023834228515625, -0.07427978515625, -0.010772705078125, 0.0222320556640625, -0.034515380859375, 0.00971221923828125, -0.0181427001953125, -0.047637939453125, 0.003566741943359375, 0.0227508544921875, -0.0008387565612792969, 0.0149078369140625, -0.0300445556640625, 0.009033203125, 0.01346588134765625, -0.0498046875, -0.0032196044921875, 0.00345611572265625, 0.015350341796875, -0.01024627685546875, -0.017303466796875, -0.017242431640625, 0.0362548828125, -0.01068878173828125, 0.052642822265625, -0.01482391357421875, 0.0295257568359375, -0.01050567626953125, 0.0005970001220703125, -0.006534576416015625, 0.018798828125, 0.0025920867919921875, -0.004062652587890625, -0.0294036865234375, -0.0157623291015625, -0.03558349609375, -0.01373291015625, -0.00848388671875, 0.044952392578125, 0.032470703125, 0.0006413459777832031, -0.009063720703125, -0.0036334991455078125, 0.004413604736328125, 0.0121917724609375, -0.0287322998046875, -0.050537109375, -0.001064300537109375, 0.060394287109375, -0.01088714599609375, 0.0070037841796875, 0.0015659332275390625, 0.02435302734375, -0.0455322265625, -0.00928497314453125, -0.004924774169921875, 0.00450897216796875, 0.0224761962890625, 0.00977325439453125, -0.0010547637939453125, 0.001430511474609375, 0.032867431640625, 0.018035888671875, -0.038726806640625, 0.020477294921875, 0.04766845703125, -0.01654052734375, -0.004528045654296875, -0.0160064697265625, 0.005035400390625, -0.01230621337890625, 0.0023593902587890625, -0.003787994384765625, 0.0193328857421875, -0.021697998046875, 0.01248931884765625, -0.00934600830078125, 0.0275115966796875, 0.0225830078125, 0.0038471221923828125, 0.005001068115234375, 0.027679443359375, -0.03790283203125, -0.01103973388671875, -0.0213775634765625, -0.0101470947265625, 0.008270263671875, 0.046844482421875, -0.01546478271484375, 0.0338134765625, -0.01511383056640625, 0.03033447265625, 0.01300048828125, 0.011993408203125, 0.006359100341796875, 0.050811767578125, -0.009735107421875, -0.0137176513671875, -0.01500701904296875, -0.0709228515625, -0.0109710693359375, 0.02886962890625, -0.0311126708984375, 0.031707763671875, -0.039703369140625, 0.071044921875, 0.006938934326171875, -0.0025768280029296875, 0.0281982421875, -0.036651611328125, 0.05816650390625, -0.0021991729736328125, 0.0131378173828125, 0.040496826171875, -0.02587890625, 0.012451171875, 0.03271484375, -0.01390838623046875, -0.0230255126953125, -0.01540374755859375, 0.004528045654296875, 0.0355224609375, 0.00814056396484375, -0.01053619384765625, -0.0196533203125, -0.02178955078125, 0.0182037353515625, 0.01824951171875, -0.05401611328125, -0.0384521484375, -0.033111572265625, -0.014251708984375, 0.003582000732421875, 0.0102081298828125, -0.003509521484375, -0.01342010498046875, 0.00010001659393310547, -0.060791015625, -0.01432037353515625, -0.017303466796875, 0.02117919921875, 0.022216796875, 0.036590576171875, 0.00492095947265625, 0.0243377685546875, -0.0146331787109375, -0.04840087890625, -0.051727294921875, -0.0189971923828125, 0.0088348388671875, 0.045135498046875, 0.0205535888671875, 0.007244110107421875, 0.039886474609375, -0.02069091796875, 0.01873779296875, -0.0187530517578125, 0.03277587890625, -0.00855255126953125, -0.00620269775390625, -0.00850677490234375, 0.035003662109375, 0.0057373046875, 0.002933502197265625, 0.007640838623046875, 0.0002675056457519531, 0.0297088623046875, -0.035400390625, -0.032470703125, -0.05303955078125, -0.0618896484375, 0.0172576904296875, 0.06317138671875, 0.015899658203125, -0.0006084442138671875, -0.01378631591796875, 0.0303192138671875, 0.03564453125, -0.038299560546875, -0.006938934326171875, 0.0190582275390625, 0.00609588623046875, 0.031280517578125, 0.0027256011962890625, -0.0148773193359375, 0.024200439453125, 0.0245361328125, -0.0164947509765625, 0.0266265869140625, 0.01198577880859375, 0.00011336803436279297, -0.015289306640625, 0.010040283203125, -0.0112152099609375, -0.004978179931640625, -0.003997802734375, -0.004962921142578125, -0.011749267578125, -0.0284271240234375, 0.004405975341796875, 0.0011072158813476562, -0.007171630859375, -0.0374755859375, 0.0328369140625, 0.040496826171875, -0.002941131591796875, 0.046905517578125, 0.037811279296875, -0.033660888671875, -0.01488494873046875, -0.0148162841796875, 0.009765625, 0.01358795166015625, -0.026397705078125, 0.01016998291015625, -0.0148162841796875, -0.01380157470703125, -0.008087158203125, -0.048095703125, 0.00530242919921875, -0.01427459716796875, 0.00888824462890625, 0.005741119384765625, 0.0299072265625, -0.007549285888671875, -0.0308990478515625, 0.04541015625, -0.04718017578125, -0.0301361083984375, -0.046875, -0.07586669921875, 0.05084228515625, -0.0526123046875, 0.0517578125, 0.08636474609375, 0.0002460479736328125, 0.03265380859375, -0.0008673667907714844, -0.002765655517578125, -0.017242431640625, 0.0195159912109375, -0.0016736984252929688, -0.01399993896484375, -0.0212554931640625, 0.042449951171875, 0.0100250244140625, 0.010894775390625, -0.03253173828125, -0.042724609375, -0.04425048828125, -0.018829345703125, -0.060333251953125, -0.00122833251953125, -0.08477783203125, -0.098388671875, -0.037872314453125, -0.00951385498046875, -0.051361083984375, 0.06170654296875, 0.01434326171875, 0.01666259765625, 0.0101776123046875, -0.03216552734375, -0.00630950927734375, -0.03448486328125, -0.027435302734375, -0.046142578125, 0.0014286041259765625, -0.0174560546875, -0.00524139404296875, 0.0121002197265625, -0.0189971923828125, -0.0236358642578125, -0.0097503662109375, 0.02557373046875, 0.0035400390625, -0.05291748046875, -0.04736328125, 0.01052093505859375, 0.0035305023193359375, 0.0171051025390625, -0.0272064208984375, -0.0360107421875, 0.0253753662109375, -0.0227203369140625, 0.00238800048828125, -0.055023193359375, 0.024627685546875, -0.0278167724609375, -0.04156494140625, -0.007289886474609375, -0.006832122802734375, -0.051544189453125, 0.0237884521484375, -0.00292205810546875, -0.0283050537109375, -0.0029315948486328125, 0.05023193359375, -0.026092529296875, 0.00824737548828125, -0.046630859375, 0.0246734619140625, 0.0102386474609375, -0.01290130615234375, 0.0148773193359375, -0.022308349609375, -0.0030384063720703125, 0.01294708251953125, 0.006816864013671875, 0.024932861328125, -0.01551055908203125, 0.0308837890625, -0.0054168701171875, 0.0090484619140625, -0.0035247802734375, 0.033905029296875, -0.019622802734375, -0.038116455078125, 0.04180908203125, -0.0323486328125, 0.0101318359375, -0.0408935546875, -0.01456451416015625, -0.006641387939453125, 0.10040283203125, -0.07476806640625, 0.00787353515625, 0.04193115234375, 0.0147247314453125, -0.02166748046875, -0.02642822265625, -0.109130859375, -0.005496978759765625, -0.08367919921875, 0.035064697265625, 0.01053619384765625, -0.01532745361328125, -0.0305023193359375, 0.0145416259765625, -0.050537109375, -0.027618408203125, 0.0187530517578125, 0.0232086181640625, 0.017364501953125, -0.0258331298828125, 0.002330780029296875, -0.0219879150390625, -0.00015497207641601562, -0.0101470947265625, -0.057159423828125, -0.018463134765625, -0.011474609375, 0.062744140625, 0.01226043701171875, 0.005260467529296875, -0.020965576171875, 0.0469970703125, -0.0311126708984375, 0.00412750244140625, 0.011810302734375, 0.048187255859375, -0.002941131591796875, -0.015350341796875, -0.0073394775390625, -0.047821044921875, 0.00392913818359375, -0.028656005859375, -0.055694580078125, -0.034759521484375, -0.033233642578125, -0.0219268798828125, -0.0035037994384765625, -0.025146484375, -0.036865234375, -0.030029296875, -0.011749267578125, 0.02008056640625, -0.003932952880859375, 0.0007557868957519531, -0.02728271484375, -0.04345703125, 0.020294189453125, -0.006595611572265625, 0.00505828857421875, 0.019439697265625, 0.05401611328125, 0.0032749176025390625, 0.0011262893676757812, -0.0197601318359375, 0.0013418197631835938, 0.0225830078125, -0.01515960693359375, 0.03289794921875, 0.0218048095703125, -0.017120361328125, 0.038848876953125, -0.0033416748046875, 0.0193328857421875, -0.0030345916748046875, 0.034210205078125, 0.0021228790283203125, -0.025177001953125, 0.0254669189453125, -0.003376007080078125, -0.01983642578125, -0.0236358642578125, -0.0139617919921875, 0.01560211181640625, 0.015960693359375, 0.0022754669189453125, -0.01800537109375, 0.02508544921875, 0.00356292724609375, -0.005001068115234375, -0.004199981689453125, -0.022613525390625, 0.051239013671875, 0.044189453125, -0.01029205322265625, 0.02056884765625, 0.01336669921875, -0.0224456787109375, -0.0293426513671875, -0.028167724609375, -0.0206451416015625, -0.0039215087890625, -0.01149749755859375, -0.031890869140625, -0.011077880859375, -0.0247344970703125, 0.0992431640625, -0.006038665771484375, -0.08599853515625, 0.034912109375, -0.01268768310546875, 0.046234130859375, 0.060699462890625, 0.00019228458404541016, 0.015777587890625, -0.04248046875, -0.0225830078125, -0.003528594970703125, 0.0050048828125, -0.06427001953125, -0.0307159423828125, 0.0009813308715820312, -0.0234222412109375, 0.0118408203125, -0.0015010833740234375, 0.063232421875, -0.01134490966796875, 0.0328369140625, -0.02130126953125, 0.0411376953125, 0.0202484130859375, -0.0045318603515625, -0.0061187744140625, 0.0294342041015625, 0.00930023193359375, -0.022064208984375, 0.01654052734375, -0.00830841064453125, -0.017913818359375, 0.003574371337890625, 0.0179443359375, 0.05084228515625, 0.040069580078125, -0.019805908203125, -0.0271148681640625, 0.0011281967163085938, 0.05194091796875, -0.016815185546875, -0.09637451171875, -0.0129852294921875, 0.037841796875, 0.0283050537109375, -0.07293701171875, 0.01039886474609375, -0.013824462890625, 0.017608642578125, 0.01160430908203125, -0.0230560302734375, -0.051116943359375, 0.0172119140625, 0.02093505859375, -0.033416748046875, -0.0182037353515625, 0.00548553466796875, -0.024383544921875, -0.0106964111328125, -0.0218048095703125, -0.017181396484375, 0.05615234375, -0.0167236328125, -0.017425537109375, -0.020477294921875, 0.0242919921875, -0.01183319091796875, 0.0028476715087890625, 0.03497314453125, -0.0072021484375, -0.041259765625, 0.00428009033203125, -0.06982421875, -0.0295562744140625, -0.072998046875, -0.043701171875, -0.0517578125, 0.02447509765625, 0.0308990478515625, 0.036285400390625, -0.0258636474609375, -0.05712890625, 0.025634765625, -0.0001633167266845703, -0.000050961971282958984, 0.07269287109375, -0.0103912353515625, 0.080810546875, -0.036956787109375, 0.04608154296875, 0.003971099853515625, 0.01058197021484375, -0.05108642578125, 0.01153564453125, 0.0174713134765625, -0.0275115966796875, -0.0210723876953125, -0.0304412841796875, -0.01380157470703125, -0.00170135498046875, 0.042510986328125, -0.0038356781005859375, -0.025299072265625, -0.029327392578125, -0.007167816162109375, -0.0246734619140625, 0.09033203125, 0.01483917236328125, -0.006809234619140625, -0.0181121826171875, 0.0110931396484375, 0.0025882720947265625, -0.0005660057067871094, -0.03009033203125, -0.0061798095703125, 0.0302276611328125, -0.0008769035339355469, -0.029693603515625, -0.02545166015625, 0.045562744140625, 0.09686279296875, -0.016845703125, 0.0440673828125, 0.060455322265625, 0.0024471282958984375, 0.028717041015625, -0.032257080078125, -0.0213165283203125, 0.02850341796875, -0.003993988037109375, -0.029205322265625, 0.0008268356323242188, -0.01146697998046875, -0.00946807861328125, 0.0439453125, 0.09912109375, 0.08306884765625, -0.149658203125, 0.020294189453125, 0.0032520294189453125, -0.0163116455078125, 0.0249176025390625, 0.003139495849609375, 0.017333984375, -0.00539398193359375, 0.02581787109375, -0.003856658935546875, -0.005832672119140625, 0.0179901123046875, -0.00792694091796875, 0.004642486572265625, -0.00015306472778320312, 0.06048583984375, -0.0004630088806152344, -0.0192718505859375, -0.01349639892578125, -0.01062774658203125, 0.0117034912109375, -0.0262298583984375, -0.01277923583984375, 0.0162353515625, -0.02337646484375, -0.051025390625, 0.0089874267578125, -0.0256500244140625, 0.00641632080078125, 0.039306640625, -0.01189422607421875, 0.01511383056640625, 0.032928466796875, -0.0243072509765625, 0.0201873779296875, -0.01198577880859375, -0.002017974853515625, 0.06182861328125, -0.0209808349609375, -0.0325927734375, 0.0256805419921875, -0.01348114013671875, -0.0030231475830078125, 0.036895751953125, -0.0113067626953125, -0.017608642578125, -0.0285797119140625, 0.037322998046875, 0.0097503662109375, -0.0161590576171875, 0.057281494140625, 0.026458740234375, -0.039825439453125, 0.0129852294921875, -0.0165557861328125, -0.03131103515625, -0.0086212158203125, -0.00804901123046875, -0.049224853515625, 0.0229339599609375, 0.016754150390625, -0.052978515625, 0.0197601318359375, 0.00864410400390625, 0.0279388427734375, 0.00212860107421875, -0.0019817352294921875, 0.0002167224884033203, -0.0170440673828125, -0.02166748046875, 0.05047607421875, 0.01229095458984375, 0.036590576171875, -0.0087432861328125, -0.00652313232421875, 0.02203369140625, 0.0200958251953125, 0.060760498046875, 0.0345458984375, -0.045196533203125, -0.0295257568359375, -0.0172576904296875, 0.00254058837890625, -0.0267181396484375, 0.0684814453125, -0.0003154277801513672, 0.0352783203125, 0.0125274658203125, -0.01641845703125, 0.0302276611328125, -0.01068115234375, -0.0487060546875, 0.036529541015625, 0.00708770751953125, -0.00170135498046875, 0.0128173828125, 0.042510986328125, -0.052459716796875, 0.0222015380859375, 0.0369873046875, -0.000537872314453125, -0.0274810791015625, 0.020843505859375, 0.0146942138671875, -0.0792236328125, -0.0182342529296875, -0.039031982421875, 0.03887939453125, 0.0156097412109375, -0.02703857421875, -0.0154266357421875, 0.00782012939453125, -0.052734375, -0.0211944580078125, -0.027679443359375, 0.023712158203125, -0.0265960693359375, 0.053070068359375, 0.02655029296875, 0.04119873046875, -0.047576904296875, -0.0204010009765625, 0.03131103515625, 0.076171875, -0.0278778076171875, -0.01241302490234375, -0.00518035888671875, 0.00637054443359375, 0.01023101806640625, -0.012603759765625, 0.030548095703125, -0.00475311279296875, 0.0234222412109375, -0.00591278076171875, -0.016937255859375, 0.005321502685546875, 0.00449371337890625, -0.00455474853515625, -0.0086669921875, 0.0214691162109375, 0.00843048095703125, -0.011688232421875, -0.00756072998046875, -0.0008907318115234375, -0.0298309326171875, 0.01617431640625, -0.027679443359375, 0.051361083984375, 0.017547607421875, -0.031585693359375, 0.01273345947265625, -0.0394287109375, 0.03228759765625, -0.03472900390625, -0.03167724609375, -0.032073974609375, 0.037841796875, -0.00537109375, -0.00833892822265625, 0.01039886474609375, 0.035919189453125, 0.00229644775390625, -0.01702880859375, 0.013214111328125, -0.005840301513671875, 0.01100921630859375, 0.003330230712890625, 0.02947998046875, 0.03265380859375, 0.00026798248291015625, -0.03533935546875, 0.05224609375, 0.045379638671875, -0.03240966796875, 0.040740966796875, -0.00299835205078125, -0.0163421630859375, 0.01140594482421875, -0.04449462890625, 0.036285400390625, -0.036529541015625, -0.0308990478515625, 0.0212554931640625, -0.02813720703125, -0.030853271484375, -0.00991058349609375, 0.014617919921875, -0.0185699462890625, 0.038177490234375, 0.0313720703125, 0.024688720703125, -0.0081787109375, -0.01277923583984375, 0.0267333984375, 0.0186767578125, 0.0284423828125, 0.0372314453125, -0.0258331298828125, -0.0421142578125, -0.06365966796875, 0.09515380859375, 0.04083251953125, 0.06414794921875, -0.042144775390625, 0.066162109375, -0.0269775390625, 0.041595458984375, -0.0572509765625, -0.0229339599609375, 0.02191162109375, -0.00815582275390625, 0.001194000244140625, 0.003414154052734375, -0.04608154296875, 0.10150146484375, -0.0088348388671875, 0.04095458984375, 0.0791015625, 0.005767822265625, -0.0117950439453125, -0.00809478759765625, 0.01551055908203125, -0.0214080810546875, -0.04278564453125, -0.03662109375, 0.0194091796875, 0.0133514404296875, 0.0035552978515625, -0.034759521484375, 0.04327392578125, 0.00232696533203125, 0.01268768310546875, -0.0134429931640625, 0.01477813720703125, -0.028411865234375, 0.0112762451171875, -0.01309967041015625, 0.0672607421875, 0.01385498046875, -0.016387939453125, 0.042999267578125, 0.0120697021484375, -0.04742431640625, 0.03607177734375, -0.04962158203125, 0.0196075439453125, 0.007595062255859375, 0.06402587890625, 0.0190277099609375, 0.0224609375, -0.04571533203125, 0.023712158203125, -0.00209808349609375, -0.01018524169921875, -0.035675048828125, -0.032989501953125, -0.01239776611328125, 0.002197265625, -0.0078582763671875, -0.05657958984375, -0.043548583984375, 0.01291656494140625, 0.0360107421875, 0.009429931640625, -0.057861328125, 0.021881103515625, -0.01251220703125, 0.06939697265625, -0.0160064697265625, -0.0215911865234375, 0.0218048095703125, 0.034210205078125, -0.018585205078125, 0.0279693603515625, -0.0058746337890625, -0.0291900634765625, 0.018402099609375, 0.0027294158935546875, 0.024383544921875, 0.006195068359375, 0.0018243789672851562, -0.00795745849609375, -0.0223846435546875, 0.040313720703125, -0.05963134765625, -0.0201416015625, -0.0147552490234375, 0.020751953125, 0.00847625732421875, 0.00823974609375, -0.0188751220703125, 0.05084228515625, -0.022918701171875, 0.0113372802734375, -0.0185699462890625, 0.00909423828125, -0.0445556640625, -0.0682373046875, 0.049591064453125, 0.006008148193359375, -0.045745849609375, -0.048919677734375, 0.01111602783203125, -0.01361083984375, 0.0328369140625, -0.01367950439453125, -0.0298919677734375, -0.01019287109375, 0.03643798828125, 0.0287017822265625, -0.03021240234375, 0.05340576171875, 0.02166748046875, -0.0528564453125, 0.01076507568359375, -0.005146026611328125, -0.001007080078125, -0.0011692047119140625, 0.0313720703125, -0.01666259765625, 0.02752685546875, -0.03204345703125, 0.019287109375, -0.034515380859375, 0.00884246826171875, -0.0006966590881347656, 0.0072479248046875, -0.005161285400390625, -0.00803375244140625, 0.04052734375, 0.020599365234375, 0.0062713623046875, -0.00786590576171875, -0.03631591796875, -0.0300140380859375, -0.06842041015625, -0.01409912109375, 0.04534912109375, -0.09857177734375, 0.0063018798828125, 0.0284576416015625, -0.0294647216796875, -0.007080078125, 0.03289794921875, -0.05072021484375, 0.004299163818359375, 0.029083251953125, 0.01335906982421875, -0.07159423828125, -0.0250244140625, 0.0615234375, -0.04132080078125, -0.035919189453125, 0.025970458984375, 0.00574493408203125, 0.011993408203125, 0.033111572265625, 0.00885009765625, 0.005908966064453125, -0.039642333984375, 0.024505615234375, 0.00008255243301391602, 0.05474853515625, -0.0631103515625, -0.031036376953125, -0.00482940673828125, 0.005672454833984375, -0.0256500244140625, 0.0218963623046875, 0.0472412109375, -0.006378173828125, -0.0180816650390625, 0.019500732421875, -0.0160675048828125, -0.040435791015625, -0.018585205078125, 0.027679443359375, -0.01459503173828125, -0.005573272705078125, 0.032745361328125, -0.0379638671875, -0.0075225830078125, -0.0316162109375, -0.013031005859375, -0.061859130859375, -0.00008612871170043945, -0.0201873779296875, -0.007904052734375, 0.0143280029296875 ]
73fdb962d22479d645e5d25796ef98cb02de58fa
Wordpress Stackexchange Q: Add existing images from Media Library in to custom gallery I have [gallery] inside the post, and I'm interested in a way to add already existing images from media library in to this gallery? once I trying add any image I have only one option - insert into post. Thanks in advance, Dmitry A: By default, you can't. Galleries are tied to posts, and only to posts. Options: * *Insert the gallery from any arbitrary post, via [gallery id="123"] where 123 is the ID of the post. *Create a custom filter for the gallery filter hook, whereby you query/include the images that you want, perhaps by some post custom metadata (that you would also have to create) *Insert images individually, rather than as a gallery *Duplicate the images by uploading/attaching them also to the new post, so that they can be output via [gallery]
Q: Add existing images from Media Library in to custom gallery I have [gallery] inside the post, and I'm interested in a way to add already existing images from media library in to this gallery? once I trying add any image I have only one option - insert into post. Thanks in advance, Dmitry A: By default, you can't. Galleries are tied to posts, and only to posts. Options: * *Insert the gallery from any arbitrary post, via [gallery id="123"] where 123 is the ID of the post. *Create a custom filter for the gallery filter hook, whereby you query/include the images that you want, perhaps by some post custom metadata (that you would also have to create) *Insert images individually, rather than as a gallery *Duplicate the images by uploading/attaching them also to the new post, so that they can be output via [gallery]
wordpress
{ "language": "en", "length": 145, "provenance": "stackexchange_00019.jsonl.gz:414126", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32083" }
[ 0.10614013671875, 0.0084228515625, 0.052001953125, -0.031707763671875, 0.02911376953125, -0.0210113525390625, 0.09600830078125, -0.050323486328125, -0.008819580078125, -0.0018281936645507812, -0.0164947509765625, 0.0030517578125, -0.041748046875, -0.0190582275390625, -0.000514984130859375, -0.038726806640625, 0.048492431640625, -0.02825927734375, 0.0489501953125, -0.00010991096496582031, 0.0149383544921875, 0.02178955078125, 0.0592041015625, 0.0218505859375, -0.003688812255859375, 0.03955078125, 0.019256591796875, 0.01474761962890625, -0.00159454345703125, -0.00415802001953125, 0.01534271240234375, -0.0185089111328125, 0.0113525390625, -0.00225830078125, 0.0002460479736328125, 0.00868988037109375, 0.0260772705078125, -0.0113067626953125, 0.00782012939453125, 0.005126953125, -0.0001951456069946289, 0.01067352294921875, 0.0222930908203125, -0.0053253173828125, -0.01134490966796875, -0.00334930419921875, -0.0218353271484375, -0.0321044921875, -0.00040650367736816406, -0.020843505859375, 0.020843505859375, -0.02996826171875, 0.03228759765625, -0.01727294921875, -0.02740478515625, -0.0362548828125, -0.00281524658203125, 0.00905609130859375, 0.031951904296875, -0.05242919921875, -0.0531005859375, -0.0166473388671875, 0.04150390625, 0.00571441650390625, 0.029327392578125, -0.00423431396484375, 0.0213470458984375, 0.0305633544921875, -0.06903076171875, -0.0162353515625, 0.03515625, -0.048370361328125, -0.0033283233642578125, -0.050567626953125, -0.0001474618911743164, 0.042877197265625, -0.01494598388671875, -0.0111541748046875, -0.0032482147216796875, -0.0031452178955078125, 0.0005774497985839844, 0.0177459716796875, 0.0094451904296875, -0.0209503173828125, -0.007251739501953125, -0.021820068359375, -0.016387939453125, -0.001300811767578125, 0.02862548828125, 0.004268646240234375, -0.0012483596801757812, -0.0308685302734375, 0.0220794677734375, 0.055328369140625, -0.0122528076171875, 0.0012197494506835938, 0.0098419189453125, 0.0306243896484375, -0.004955291748046875, 0.039215087890625, -0.03131103515625, -0.02471923828125, 0.037078857421875, -0.047607421875, 0.0192108154296875, -0.0357666015625, -0.03240966796875, -0.044036865234375, 0.042694091796875, 0.04168701171875, -0.038665771484375, 0.04180908203125, 0.0166473388671875, -0.0291900634765625, -0.0010967254638671875, 0.03900146484375, 0.008209228515625, 0.030731201171875, 0.00612640380859375, 0.0282440185546875, -0.0091400146484375, 0.0239105224609375, -0.0294342041015625, 0.0127716064453125, 0.0186767578125, 0.0150299072265625, -0.00972747802734375, -0.006622314453125, -0.007053375244140625, -0.01197052001953125, -0.04034423828125, 0.04766845703125, 0.10003662109375, 0.0266571044921875, 0.0057830810546875, -0.0125732421875, -0.00235748291015625, -0.01367950439453125, 0.0019502639770507812, -0.0231475830078125, 0.0623779296875, -0.0283660888671875, -0.021881103515625, 0.03192138671875, 0.03692626953125, 0.0116119384765625, -0.008270263671875, 0.02862548828125, 0.037445068359375, -0.043060302734375, 0.03302001953125, -0.0247039794921875, -0.0014781951904296875, 0.038482666015625, 0.03570556640625, -0.0113677978515625, 0.0645751953125, -0.040130615234375, 0.0299072265625, -0.044708251953125, -0.002147674560546875, 0.0254364013671875, 0.025787353515625, -0.034332275390625, -0.01335906982421875, -0.022125244140625, -0.0271453857421875, 0.0007076263427734375, 0.0194854736328125, 0.03790283203125, -0.01218414306640625, -0.05059814453125, 0.0021514892578125, 0.0122833251953125, -0.0211944580078125, 0.021575927734375, 0.018646240234375, 0.012481689453125, -0.0006256103515625, 0.084228515625, 0.027862548828125, -0.0159454345703125, 0.0550537109375, -0.018798828125, -0.046722412109375, 0.0036144256591796875, 0.016448974609375, 0.046142578125, 0.0239715576171875, 0.0146331787109375, 0.0225677490234375, 0.00820159912109375, -0.021270751953125, -0.005474090576171875, -0.015594482421875, -0.01751708984375, 0.01369476318359375, 0.00890350341796875, -0.01092529296875, 0.003665924072265625, -0.003978729248046875, 0.005367279052734375, -0.006103515625, 0.019805908203125, -0.0177154541015625, 0.0017290115356445312, -0.01219940185546875, 0.017852783203125, -0.05023193359375, 0.0108489990234375, 0.02520751953125, -0.0130767822265625, -0.0196533203125, 0.002147674560546875, 0.00669097900390625, -0.0022296905517578125, -0.0242462158203125, -0.0037517547607421875, -0.006381988525390625, 0.0234375, -0.019744873046875, -0.00489044189453125, -0.037017822265625, -0.0050506591796875, 0.034332275390625, 0.0018243789672851562, -0.034759521484375, -0.01556396484375, -0.03497314453125, 0.0372314453125, -0.121337890625, 0.047393798828125, -0.007007598876953125, -0.0274810791015625, -0.0273590087890625, -0.01788330078125, -0.0162353515625, -0.0701904296875, 0.005954742431640625, 0.05694580078125, 0.0166015625, 0.031585693359375, 0.0340576171875, 0.07135009765625, 0.07379150390625, 0.021026611328125, 0.020172119140625, 0.00659942626953125, -0.004299163818359375, 0.0127105712890625, -0.006824493408203125, 0.006542205810546875, 0.0229339599609375, -0.03216552734375, 0.0168304443359375, 0.042083740234375, -0.0004394054412841797, 0.0062103271484375, -0.024810791015625, 0.021514892578125, 0.00922393798828125, 0.01154327392578125, -0.0184783935546875, 0.004329681396484375, 0.01360321044921875, 0.03265380859375, 0.031951904296875, 0.0316162109375, -0.0292510986328125, 0.0166473388671875, 0.0130615234375, -0.01323699951171875, 0.0175628662109375, 0.0008473396301269531, -0.03070068359375, 0.04168701171875, -0.03485107421875, 0.0016851425170898438, 0.0478515625, 0.005565643310546875, -0.00649261474609375, -0.004425048828125, -0.03564453125, -0.0029964447021484375, 0.00405120849609375, -0.07568359375, 0.0159759521484375, 0.0271759033203125, -0.0765380859375, -0.046600341796875, 0.002834320068359375, 0.0253143310546875, -0.01079559326171875, -0.0159149169921875, -0.01534271240234375, -0.004810333251953125, -0.0095062255859375, -0.06658935546875, 0.0635986328125, -0.0341796875, 0.0679931640625, 0.09527587890625, -0.0125885009765625, 0.046356201171875, -0.01186370849609375, 0.0032291412353515625, -0.00811767578125, 0.01541900634765625, -0.0022258758544921875, -0.052093505859375, 0.0029582977294921875, -0.014923095703125, 0.027923583984375, -0.00024771690368652344, 0.00360107421875, -0.007808685302734375, -0.00687408447265625, 0.003635406494140625, -0.0126800537109375, -0.022003173828125, 0.0251922607421875, -0.045654296875, -0.0031642913818359375, -0.00838470458984375, -0.0305023193359375, -0.021331787109375, 0.0218353271484375, 0.0010433197021484375, -0.04644775390625, -0.0094757080078125, 0.01438140869140625, -0.049285888671875, -0.030517578125, -0.0325927734375, 0.0093994140625, 0.0165252685546875, -0.0021648406982421875, 0.07965087890625, 0.00762176513671875, -0.043975830078125, 0.033447265625, -0.01323699951171875, -0.004642486572265625, 0.046417236328125, 0.040618896484375, -0.0274810791015625, 0.01502227783203125, 0.00015211105346679688, 0.0380859375, 0.0736083984375, -0.057098388671875, 0.0101318359375, -0.02032470703125, -0.02374267578125, -0.0149993896484375, 0.0165863037109375, 0.03082275390625, -0.0027008056640625, 0.0162506103515625, -0.03759765625, 0.0038394927978515625, -0.026458740234375, -0.0233612060546875, -0.00347900390625, -0.0073089599609375, 0.0084991455078125, -0.03338623046875, 0.037261962890625, -0.0521240234375, -0.017791748046875, 0.005504608154296875, -0.054931640625, 0.04278564453125, -0.01342010498046875, -0.038482666015625, 0.00926971435546875, 0.0220947265625, -0.023345947265625, 0.04339599609375, 0.016876220703125, 0.02410888671875, -0.01678466796875, 0.02252197265625, -0.051177978515625, -0.04046630859375, 0.0235748291015625, -0.039276123046875, 0.059539794921875, -0.058013916015625, -0.016510009765625, -0.0200042724609375, 0.09539794921875, -0.037139892578125, -0.0248870849609375, -0.0012531280517578125, 0.01520538330078125, 0.00806427001953125, -0.0213470458984375, -0.0019683837890625, -0.043212890625, -0.018768310546875, -0.005764007568359375, -0.0070037841796875, -0.019500732421875, 0.020233154296875, -0.0277862548828125, 0.004024505615234375, -0.02801513671875, 0.0156402587890625, -0.000009894371032714844, 0.0291290283203125, -0.0163421630859375, 0.0121002197265625, 0.0007834434509277344, 0.006267547607421875, -0.03228759765625, -0.1502685546875, -0.029083251953125, -0.0005941390991210938, 0.1112060546875, -0.019622802734375, -0.01200103759765625, -0.0440673828125, 0.06585693359375, 0.01568603515625, 0.0187530517578125, -0.006717681884765625, -0.0005087852478027344, 0.01143646240234375, -0.0248565673828125, -0.01206207275390625, -0.0323486328125, -0.02301025390625, -0.050506591796875, 0.0139312744140625, 0.002414703369140625, -0.0233001708984375, -0.006618499755859375, -0.0355224609375, 0.0093841552734375, -0.019134521484375, -0.01276397705078125, 0.0242767333984375, 0.0289154052734375, 0.0006909370422363281, 0.00403594970703125, -0.0268402099609375, -0.014190673828125, -0.04052734375, -0.013641357421875, -0.0168304443359375, 0.04931640625, 0.06646728515625, 0.0205230712890625, 0.031646728515625, -0.1204833984375, 0.0172271728515625, 0.026580810546875, -0.01470184326171875, 0.0207061767578125, 0.01186370849609375, 0.001949310302734375, -0.0170745849609375, -0.00917816162109375, -0.01210784912109375, -0.0206146240234375, 0.045684814453125, 0.007843017578125, -0.01105499267578125, 0.003063201904296875, -0.0083160400390625, 0.0010156631469726562, 0.0190582275390625, -0.02886962890625, -0.0034885406494140625, -0.0196380615234375, 0.03253173828125, -0.024261474609375, 0.03448486328125, -0.034454345703125, -0.047576904296875, 0.0008120536804199219, -0.002773284912109375, 0.0284576416015625, 0.0088348388671875, 0.0054931640625, 0.0289459228515625, 0.0096435546875, 0.01020050048828125, 0.031036376953125, 0.01546478271484375, -0.004535675048828125, 0.052947998046875, 0.0107421875, -0.000934600830078125, 0.0191650390625, -0.00782012939453125, 0.003253936767578125, -0.001811981201171875, -0.045318603515625, -0.00952911376953125, 0.0008306503295898438, 0.036376953125, 0.035552978515625, 0.00858306884765625, 0.0242767333984375, 0.0176849365234375, -0.01149749755859375, 0.0025653839111328125, -0.035736083984375, 0.00829315185546875, -0.0445556640625, -0.00836181640625, 0.0022296905517578125, -0.02142333984375, 0.0135650634765625, -0.001132965087890625, -0.024261474609375, 0.000274658203125, 0.0023365020751953125, 0.018646240234375, 0.0211639404296875, 0.0287628173828125, 0.003620147705078125, 0.0247955322265625, -0.0213165283203125, 0.026611328125, 0.005619049072265625, -0.0119476318359375, 0.014739990234375, -0.00829315185546875, 0.0267486572265625, -0.006572723388671875, -0.022613525390625, 0.01776123046875, -0.059722900390625, -0.0000787973403930664, -0.006778717041015625, -0.04541015625, -0.039276123046875, -0.01959228515625, 0.0171966552734375, 0.041717529296875, -0.01470947265625, -0.022003173828125, -0.0031032562255859375, -0.0096893310546875, 0.033172607421875, 0.02252197265625, -0.004688262939453125, 0.0144195556640625, 0.0016307830810546875, -0.02215576171875, -0.03466796875, -0.0286407470703125, 0.01261138916015625, 0.018280029296875, -0.0298309326171875, -0.032257080078125, 0.040863037109375, -0.01030731201171875, 0.0003533363342285156, -0.0106353759765625, 0.004795074462890625, -0.01488494873046875, 0.028411865234375, 0.0056915283203125, -0.0307159423828125, 0.05609130859375, -0.0350341796875, -0.01319122314453125, -0.036285400390625, 0.0477294921875, -0.014617919921875, 0.00748443603515625, -0.035491943359375, 0.0235748291015625, 0.039947509765625, -0.0014972686767578125, -0.0343017578125, -0.0031795501708984375, -0.01248931884765625, 0.006130218505859375, 0.0187225341796875, 0.0263214111328125, 0.00572967529296875, 0.011016845703125, 0.05267333984375, 0.0159759521484375, -0.0264434814453125, -0.054595947265625, -0.033203125, -0.02642822265625, -0.056732177734375, 0.0031032562255859375, 0.031280517578125, -0.01336669921875, 0.0390625, 0.0276031494140625, 0.0255584716796875, 0.00487518310546875, -0.0247955322265625, -0.00707244873046875, -0.00484466552734375, 0.033416748046875, -0.00762939453125, -0.0094146728515625, 0.045654296875, 0.006008148193359375, 0.06646728515625, -0.0239410400390625, -0.036376953125, 0.00444793701171875, -0.005489349365234375, 0.011474609375, 0.03167724609375, -0.0156707763671875, 0.0242919921875, 0.05242919921875, 0.004344940185546875, 0.045562744140625, 0.012542724609375, 0.01654052734375, 0.0289306640625, 0.0289459228515625, 0.015167236328125, -0.038177490234375, 0.04754638671875, 0.01450347900390625, -0.01806640625, 0.035980224609375, -0.035247802734375, -0.0004467964172363281, -0.0305023193359375, -0.0029888153076171875, 0.009918212890625, 0.0059661865234375, -0.0292510986328125, -0.004268646240234375, 0.048187255859375, -0.007610321044921875, -0.00818634033203125, -0.0300140380859375, 0.058502197265625, -0.042633056640625, -0.0200653076171875, 0.0037479400634765625, -0.0299530029296875, -0.0240325927734375, -0.0027599334716796875, -0.01082611083984375, 0.006504058837890625, 0.0033473968505859375, -0.046478271484375, 0.0139007568359375, -0.057159423828125, 0.0220184326171875, 0.0167388916015625, -0.03973388671875, -0.015716552734375, -0.0255889892578125, -0.014495849609375, -0.046051025390625, -0.0010786056518554688, 0.01511383056640625, -0.0013685226440429688, 0.061279296875, 0.043670654296875, -0.004180908203125, 0.0107421875, 0.0181121826171875, -0.0131683349609375, 0.004489898681640625, -0.0010547637939453125, 0.012908935546875, 0.0225982666015625, -0.043609619140625, 0.015777587890625, -0.034210205078125, 0.01071929931640625, -0.0081634521484375, -0.0227203369140625, 0.08123779296875, -0.07830810546875, 0.0176239013671875, 0.020721435546875, 0.033447265625, -0.0037937164306640625, 0.0066986083984375, 0.0220489501953125, -0.041748046875, -0.0177459716796875, 0.01007843017578125, -0.021240234375, 0.00667572021484375, 0.0024967193603515625, -0.084716796875, 0.09130859375, -0.0302581787109375, 0.048004150390625, 0.01204681396484375, 0.0224761962890625, -0.0166473388671875, -0.00208282470703125, -0.01406097412109375, 0.01522064208984375, -0.036102294921875, 0.0166778564453125, -0.044708251953125, 0.0085296630859375, -0.0175628662109375, 0.03643798828125, 0.07305908203125, 0.02325439453125, -0.01287841796875, -0.041046142578125, 0.0020599365234375, 0.044281005859375, -0.0011157989501953125, 0.0224151611328125, -0.01456451416015625, -0.01128387451171875, 0.03765869140625, -0.02178955078125, 0.0244903564453125, 0.0153961181640625, -0.0197601318359375, -0.00714874267578125, -0.0176849365234375, -0.006191253662109375, 0.0118560791015625, 0.0372314453125, 0.022979736328125, -0.0157623291015625, -0.0050048828125, -0.0584716796875, 0.016937255859375, 0.0236358642578125, 0.0003809928894042969, 0.035614013671875, -0.0034885406494140625, -0.00643157958984375, 0.032379150390625, -0.007537841796875, 0.035369873046875, 0.0169830322265625, 0.02001953125, 0.031829833984375, 0.0084228515625, 0.0181732177734375, 0.033447265625, -0.0207366943359375, 0.0523681640625, 0.0093994140625, 0.0157470703125, -0.05615234375, 0.004344940185546875, 0.031829833984375, 0.0638427734375, -0.04766845703125, -0.01053619384765625, 0.026275634765625, 0.00864410400390625, -0.01251983642578125, -0.021636962890625, -0.00809478759765625, -0.046539306640625, -0.0133209228515625, -0.031707763671875, -0.00836944580078125, 0.01181793212890625, 0.049530029296875, -0.0197296142578125, -0.0223846435546875, -0.0153961181640625, -0.0377197265625, -0.0293426513671875, 0.024383544921875, 0.011322021484375, 0.03826904296875, 0.0026397705078125, 0.06060791015625, -0.01508331298828125, -0.0145111083984375, -0.036376953125, 0.0455322265625, -0.01788330078125, 0.055938720703125, -0.05657958984375, -0.05755615234375, 0.031402587890625, 0.04730224609375, 0.005306243896484375, 0.044281005859375, 0.021514892578125, 0.01309967041015625, -0.020111083984375, -0.0032215118408203125, 0.032928466796875, -0.0276031494140625, 0.0219268798828125, -0.0499267578125, 0.033538818359375, 0.034210205078125, -0.0132293701171875, 0.0201873779296875, -0.0594482421875, 0.09527587890625, -0.0364990234375, 0.005870819091796875, -0.0143890380859375, -0.050048828125, 0.033355712890625, -0.003200531005859375, 0.0927734375, -0.006999969482421875, -0.0699462890625, -0.0181121826171875, -0.02276611328125, -0.067626953125, 0.024658203125, 0.052490234375, -0.022064208984375, -0.00687408447265625, 0.01495361328125, -0.03607177734375, 0.0026569366455078125, 0.002979278564453125, 0.0343017578125, -0.01483917236328125, -0.00457763671875, -0.0008568763732910156, -0.040863037109375, -0.0097198486328125, -0.0201568603515625, 0.0307464599609375, 0.03167724609375, 0.0242767333984375, 0.0016126632690429688, 0.048492431640625, -0.01087188720703125, -0.001796722412109375, -0.0056304931640625, 0.0203857421875, -0.046142578125, 0.0123138427734375, 0.014068603515625, -0.015716552734375, 0.0290679931640625, 0.0228118896484375, 0.028717041015625, -0.049591064453125, -0.00887298583984375, -0.037811279296875, 0.0182342529296875, 0.01053619384765625, 0.04119873046875, -0.00682830810546875, -0.00323486328125, -0.0083465576171875, -0.00965118408203125, 0.038116455078125, 0.0169525146484375, -0.0222015380859375, 0.0225982666015625, 0.01447296142578125, -0.0132904052734375, 0.017791748046875, -0.0170440673828125, 0.0301971435546875, 0.03399658203125, 0.0079345703125, -0.053070068359375, -0.020172119140625, -0.01470184326171875, -0.05230712890625, 0.01047515869140625, 0.0166168212890625, -0.018096923828125, -0.05389404296875, -0.0080413818359375, 0.0079345703125, 0.0150299072265625, -0.0216217041015625, -0.003170013427734375, -0.00618743896484375, -0.0208282470703125, 0.01001739501953125, -0.0223846435546875, -0.0222625732421875, -0.0755615234375, 0.00043129920959472656, 0.0439453125, -0.0469970703125, 0.00940704345703125, -0.07177734375, 0.01165771484375, 0.0389404296875, 0.033111572265625, -0.08978271484375, 0.0711669921875, -0.007228851318359375, 0.019866943359375, 0.01318359375, -0.032684326171875, 0.017669677734375, 0.056060791015625, -0.01898193359375, -0.036712646484375, -0.01531219482421875, 0.0019855499267578125, -0.0230560302734375, 0.01702880859375, -0.0006475448608398438, -0.03826904296875, 0.025238037109375, 0.0421142578125, 0.048309326171875, 0.069580078125, 0.034881591796875, -0.048004150390625, -0.02423095703125, -0.01177215576171875, 0.0138092041015625, 0.0367431640625, 0.043060302734375, -0.03985595703125, -0.04815673828125, 0.00176239013671875, 0.01617431640625, 0.0369873046875, -0.0214080810546875, -0.0966796875, 0.033843994140625, -0.0168304443359375, -0.046661376953125, -0.040191650390625, 0.047210693359375, -0.0244293212890625, 0.032135009765625, -0.005466461181640625, -0.015960693359375, 0.048736572265625, 0.03338623046875, -0.00930023193359375, 0.021820068359375, 0.01198577880859375, -0.0087127685546875, -0.0289459228515625, -0.00617218017578125, -0.005474090576171875, 0.0004973411560058594, 0.033843994140625, -0.027130126953125, 0.0243682861328125, 0.0295257568359375, -0.06072998046875, -0.021270751953125, -0.04547119140625, 0.01198577880859375, -0.03125, -0.0667724609375, -0.019683837890625, -0.0202484130859375, 0.07818603515625, 0.0528564453125, 0.01129913330078125, -0.022613525390625, 0.040679931640625, 0.01190948486328125, 0.00489044189453125, 0.0204315185546875, -0.0153656005859375, -0.0133819580078125, -0.01152801513671875, 0.004482269287109375, 0.00531768798828125, -0.0306854248046875, -0.0031223297119140625, -0.027191162109375, -0.02423095703125, -0.021759033203125, -0.005023956298828125, -0.023406982421875, 0.062469482421875, 0.0997314453125, -0.0654296875, 0.018341064453125, -0.00469207763671875, -0.030548095703125, 0.060211181640625, -0.039825439453125, 0.007701873779296875, -0.016845703125, 0.007904052734375, 0.02630615234375, 0.017547607421875, 0.0005259513854980469, 0.00356292724609375, -0.01366424560546875, -0.020172119140625, 0.01430511474609375, 0.00644683837890625, 0.00659942626953125, -0.01064300537109375, 0.051910400390625, 0.006229400634765625, 0.08026123046875, -0.0233612060546875, -0.036956787109375, -0.033538818359375, 0.0012264251708984375, -0.015899658203125, 0.0238494873046875, 0.0355224609375, -0.027435302734375, -0.0035533905029296875, 0.00710296630859375, -0.07666015625, -0.057525634765625, 0.01178741455078125, 0.00899505615234375, -0.01103973388671875, 0.0199737548828125 ]
aa5a6754c19e1dfd3104ffab7ffb8836e81e5f36
Wordpress Stackexchange Q: What difference does it make if I enable support for video post format? I am sorry if this is stupid. I can't seem to figure out what special things it does. If I embed a youtube video(embed/iframe) it works for both standard and video format. Surely, I am missing something... A: Couple of things to point out actually: * *It will add a class on post_class() so you can use different formatting via css. *In the case of Post Formats, the taxonomy is post_format and the terms are post-format-{format}. i.e. taxonomy-post_format-post-format-link.php http://codex.wordpress.org/Template_Hierarchy *In single.php file you can use conditionals to have complete different html for each post format. *Hopefully there are more but can remember right now ;)
Q: What difference does it make if I enable support for video post format? I am sorry if this is stupid. I can't seem to figure out what special things it does. If I embed a youtube video(embed/iframe) it works for both standard and video format. Surely, I am missing something... A: Couple of things to point out actually: * *It will add a class on post_class() so you can use different formatting via css. *In the case of Post Formats, the taxonomy is post_format and the terms are post-format-{format}. i.e. taxonomy-post_format-post-format-link.php http://codex.wordpress.org/Template_Hierarchy *In single.php file you can use conditionals to have complete different html for each post format. *Hopefully there are more but can remember right now ;) A: Another nice feature of Post Formats is that they are a taxonomy, which means that you get all the advantages of a taxonomy, and can make many uses of the taxonomy: * *Video post-format archive index page *Video post-format RSS feed link *Video post-format breadcrumb navigation *etc. And +1 to what everyone else has said, though I much prefer the elegance of this approach, to implementing post format-specific markup using conditionals: get_template_part( 'content', 'get_post_format()' ); ...which will locate, e.g. content-video.php for posts with the "video" post format, and will fall back to content.php for posts without a post format. A: It just gives you a different way to categorize and style certain posts. In your case Videos (Without a separate template file).
wordpress
{ "language": "en", "length": 242, "provenance": "stackexchange_00019.jsonl.gz:414150", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32154" }
[ 0.074951171875, 0.0070648193359375, -0.04095458984375, -0.068115234375, 0.053985595703125, -0.0400390625, 0.0478515625, 0.015716552734375, -0.0213775634765625, -0.00426483154296875, -0.046661376953125, 0.00881195068359375, 0.0003371238708496094, -0.0233917236328125, 0.0362548828125, -0.040802001953125, 0.0361328125, 0.0208892822265625, 0.02825927734375, -0.01242828369140625, 0.00945281982421875, 0.0133514404296875, 0.01531982421875, 0.0386962890625, 0.0201873779296875, -0.0203399658203125, 0.04180908203125, -0.0216064453125, 0.0008072853088378906, -0.022796630859375, 0.01378631591796875, 0.00479888916015625, 0.043182373046875, 0.04620361328125, -0.0880126953125, -0.0084991455078125, -0.0099334716796875, 0.0089874267578125, -0.0301513671875, 0.0254058837890625, -0.01088714599609375, 0.0185546875, 0.09332275390625, -0.016998291015625, 0.025665283203125, 0.0124359130859375, -0.0252685546875, -0.0640869140625, 0.0287322998046875, -0.048004150390625, -0.0104827880859375, -0.0286102294921875, 0.0038242340087890625, -0.04925537109375, -0.0250701904296875, -0.00576019287109375, -0.034393310546875, 0.01428985595703125, 0.0135345458984375, 0.01727294921875, 0.0062255859375, 0.0185546875, -0.0034313201904296875, 0.01401519775390625, -0.0061492919921875, -0.0209503173828125, -0.030181884765625, 0.006313323974609375, -0.0251617431640625, -0.0224761962890625, 0.04071044921875, -0.017364501953125, -0.01432037353515625, -0.0170135498046875, -0.0233001708984375, -0.0093841552734375, 0.01531219482421875, -0.0228729248046875, 0.005889892578125, -0.0032253265380859375, 0.00009232759475708008, 0.048248291015625, 0.0172576904296875, -0.077880859375, 0.037109375, -0.05230712890625, -0.01105499267578125, -0.00921630859375, -0.050323486328125, -0.0122528076171875, -0.0197601318359375, -0.09222412109375, -0.0592041015625, 0.0290679931640625, 0.025634765625, -0.00922393798828125, 0.01331329345703125, 0.057403564453125, -0.0033550262451171875, 0.004459381103515625, -0.0206298828125, -0.030181884765625, 0.0004973411560058594, -0.03546142578125, 0.0261688232421875, 0.00643157958984375, 0.03094482421875, -0.050872802734375, 0.024169921875, -0.0067596435546875, -0.034515380859375, 0.1353759765625, 0.027618408203125, -0.0183258056640625, -0.0141448974609375, -0.0338134765625, -0.0175933837890625, 0.022613525390625, 0.00617218017578125, -0.028594970703125, 0.04150390625, 0.06072998046875, 0.01493072509765625, -0.07452392578125, -0.00740814208984375, 0.005634307861328125, -0.0292205810546875, -0.071533203125, -0.0033817291259765625, 0.02374267578125, -0.022369384765625, 0.0018291473388671875, 0.06591796875, 0.03240966796875, 0.01427459716796875, -0.0303192138671875, -0.0252227783203125, 0.0078125, -0.02239990234375, 0.044403076171875, -0.04339599609375, -0.05419921875, 0.034942626953125, -0.01092529296875, 0.0023746490478515625, 0.001049041748046875, 0.0163726806640625, 0.02490234375, 0.007110595703125, -0.0635986328125, 0.0347900390625, -0.0029354095458984375, 0.0229034423828125, 0.008575439453125, 0.0115966796875, -0.027862548828125, 0.04486083984375, -0.03314208984375, 0.0009064674377441406, -0.0300140380859375, -0.01509857177734375, -0.002777099609375, 0.037689208984375, -0.032562255859375, -0.0299530029296875, 0.0127716064453125, -0.061187744140625, -0.008819580078125, 0.018035888671875, 0.01204681396484375, -0.022247314453125, 0.022186279296875, 0.033233642578125, 0.006656646728515625, -0.01436614990234375, 0.00872802734375, -0.0182952880859375, 0.01102447509765625, 0.0185089111328125, 0.038726806640625, 0.0048828125, -0.024749755859375, 0.05853271484375, -0.028533935546875, -0.03228759765625, 0.007686614990234375, 0.0293426513671875, 0.01511383056640625, -0.01026153564453125, 0.0218353271484375, 0.0283203125, 0.0433349609375, 0.024566650390625, 0.0242919921875, 0.053985595703125, -0.039581298828125, -0.0270233154296875, -0.022125244140625, 0.007671356201171875, -0.059417724609375, 0.0296783447265625, 0.0173492431640625, 0.0192718505859375, -0.03143310546875, -0.045257568359375, 0.016571044921875, -0.02130126953125, 0.0479736328125, -0.028045654296875, 0.0142974853515625, 0.0156097412109375, -0.0034580230712890625, -0.0221710205078125, 0.00925445556640625, -0.009002685546875, 0.0106048583984375, -0.01227569580078125, 0.04150390625, -0.01432037353515625, 0.034393310546875, -0.036895751953125, -0.0283355712890625, -0.0168304443359375, 0.0038890838623046875, 0.013763427734375, 0.0092315673828125, -0.0004665851593017578, 0.00027680397033691406, 0.03082275390625, 0.01519012451171875, 0.0220947265625, 0.0082855224609375, 0.0152587890625, -0.004085540771484375, -0.05401611328125, -0.0283660888671875, -0.041839599609375, -0.05877685546875, 0.01513671875, 0.07720947265625, 0.02484130859375, 0.006744384765625, -0.039093017578125, -0.032867431640625, 0.052825927734375, 0.00780487060546875, -0.0034332275390625, -0.017669677734375, -0.0270843505859375, 0.025634765625, 0.0196380615234375, 0.00934600830078125, 0.0030002593994140625, -0.0782470703125, -0.01412200927734375, 0.046173095703125, 0.0004496574401855469, 0.037689208984375, -0.057403564453125, 0.048675537109375, -0.0222015380859375, 0.0228271484375, 0.0300750732421875, -0.013885498046875, 0.017578125, 0.00034809112548828125, 0.035797119140625, 0.0145111083984375, -0.006069183349609375, 0.00299072265625, -0.00232696533203125, 0.005367279052734375, -0.00736236572265625, 0.07421875, 0.0259552001953125, -0.0038013458251953125, -0.02886962890625, -0.031402587890625, -0.0011320114135742188, 0.041656494140625, -0.01302337646484375, 0.005405426025390625, -0.027557373046875, -0.00702667236328125, 0.017425537109375, -0.0667724609375, -0.00971221923828125, -0.00759124755859375, 0.002292633056640625, -0.04296875, -0.004077911376953125, 0.01378631591796875, -0.0281829833984375, 0.045013427734375, 0.0128173828125, -0.034942626953125, -0.01702880859375, -0.04833984375, 0.045166015625, -0.047119140625, 0.021881103515625, 0.0455322265625, -0.0187530517578125, 0.016754150390625, -0.0038700103759765625, 0.0144805908203125, -0.010772705078125, 0.0290374755859375, -0.004199981689453125, -0.0426025390625, -0.01163482666015625, -0.007381439208984375, 0.019927978515625, 0.03106689453125, 0.005321502685546875, -0.0270538330078125, -0.0008854866027832031, 0.0175323486328125, -0.046173095703125, -0.0256805419921875, -0.0256805419921875, -0.1123046875, 0.022979736328125, -0.01187896728515625, -0.059326171875, -0.002582550048828125, 0.03765869140625, 0.02685546875, -0.0184326171875, 0.00392913818359375, 0.0016298294067382812, -0.0092010498046875, -0.0272979736328125, -0.0261993408203125, 0.00485992431640625, -0.00440216064453125, 0.0256195068359375, 0.043212890625, 0.028228759765625, -0.0238494873046875, 0.045806884765625, 0.02410888671875, -0.04254150390625, -0.0134429931640625, -0.003444671630859375, 0.0089874267578125, 0.0038967132568359375, 0.01541900634765625, -0.032470703125, -0.00423431396484375, -0.005611419677734375, -0.0224609375, 0.0027313232421875, -0.0243682861328125, -0.011688232421875, 0.0037097930908203125, 0.007762908935546875, -0.00039649009704589844, 0.00937652587890625, -0.039764404296875, 0.0017299652099609375, -0.03521728515625, -0.03802490234375, 0.00228118896484375, 0.00968170166015625, 0.00688934326171875, -0.01593017578125, 0.012451171875, -0.051239013671875, -0.027313232421875, -0.0013103485107421875, -0.048309326171875, 0.05706787109375, -0.0237274169921875, -0.0254669189453125, 0.0227508544921875, -0.042236328125, -0.05419921875, 0.00872039794921875, -0.042694091796875, -0.0274658203125, -0.0411376953125, 0.041015625, -0.028228759765625, -0.05169677734375, 0.032501220703125, -0.040191650390625, 0.003612518310546875, -0.025848388671875, -0.01181793212890625, 0.01409149169921875, 0.08154296875, -0.05010986328125, -0.019683837890625, 0.02020263671875, 0.0125732421875, 0.02313232421875, -0.0394287109375, -0.0185394287109375, -0.01849365234375, 0.00969696044921875, -0.0286102294921875, -0.005390167236328125, -0.0045013427734375, -0.033203125, 0.047943115234375, -0.01534271240234375, -0.0045928955078125, 0.0260772705078125, 0.0245208740234375, -0.0121002197265625, 0.01149749755859375, -0.00887298583984375, 0.0203399658203125, 0.005229949951171875, -0.00800323486328125, -0.0594482421875, -0.021209716796875, 0.010833740234375, 0.044464111328125, 0.0198211669921875, -0.055511474609375, 0.00783538818359375, 0.035369873046875, 0.006885528564453125, -0.0035572052001953125, -0.0013065338134765625, -0.020782470703125, 0.0170745849609375, 0.01035308837890625, 0.006439208984375, -0.0016937255859375, -0.0086669921875, -0.0137176513671875, -0.0538330078125, 0.04656982421875, 0.004619598388671875, 0.053497314453125, 0.01641845703125, -0.00830841064453125, -0.05712890625, -0.0226287841796875, -0.034271240234375, 0.00113677978515625, -0.00618743896484375, -0.01207733154296875, -0.019927978515625, -0.06744384765625, 0.04669189453125, 0.015350341796875, -0.010101318359375, -0.0024051666259765625, 0.063232421875, 0.0063018798828125, -0.036865234375, -0.03472900390625, 0.00885009765625, 0.048187255859375, -0.010223388671875, 0.024688720703125, 0.030303955078125, -0.034088134765625, 0.056488037109375, 0.0240325927734375, 0.0211334228515625, 0.01464080810546875, 0.021636962890625, 0.0174560546875, -0.0156707763671875, 0.0231475830078125, 0.01012420654296875, -0.01898193359375, -0.0029964447021484375, -0.005245208740234375, -0.0031108856201171875, 0.01300048828125, 0.01983642578125, 0.0305633544921875, -0.0322265625, -0.035430908203125, -0.00870513916015625, -0.0059051513671875, -0.01019287109375, 0.046142578125, 0.0322265625, 0.002536773681640625, 0.00762939453125, 0.0251007080078125, -0.015411376953125, 0.039398193359375, 0.04193115234375, 0.005229949951171875, 0.0163116455078125, 0.04180908203125, -0.01971435546875, 0.0011501312255859375, -0.004131317138671875, 0.01340484619140625, 0.00513458251953125, -0.01690673828125, -0.058990478515625, 0.017913818359375, 0.01215362548828125, -0.0050506591796875, 0.037322998046875, 0.013641357421875, 0.007259368896484375, -0.016845703125, -0.024749755859375, -0.018157958984375, 0.031951904296875, -0.042236328125, 0.01409149169921875, -0.005084991455078125, -0.005523681640625, 0.01605224609375, 0.0408935546875, -0.0034351348876953125, 0.0291595458984375, -0.026947021484375, 0.031646728515625, -0.01148223876953125, 0.039764404296875, 0.0159759521484375, 0.006885528564453125, -0.0201416015625, 0.04248046875, -0.04241943359375, -0.01541900634765625, -0.021942138671875, -0.028472900390625, -0.0020236968994140625, -0.020477294921875, 0.005519866943359375, 0.058319091796875, 0.00989532470703125, -0.049285888671875, 0.0007262229919433594, 0.03424072265625, 0.0111083984375, -0.0044097900390625, 0.01122283935546875, 0.0037555694580078125, 0.048004150390625, -0.033966064453125, 0.0200653076171875, -0.0278167724609375, 0.033233642578125, -0.0111846923828125, -0.040008544921875, 0.029541015625, 0.0233612060546875, 0.027862548828125, -0.0240020751953125, -0.005222320556640625, -0.035736083984375, -0.011749267578125, -0.028472900390625, -0.002658843994140625, 0.038726806640625, -0.0267333984375, 0.01413726806640625, -0.003864288330078125, 0.0004711151123046875, 0.0032711029052734375, 0.0302276611328125, -0.005374908447265625, -0.010711669921875, -0.07464599609375, 0.01201629638671875, -0.054168701171875, -0.0151214599609375, -0.06927490234375, -0.036865234375, -0.06732177734375, -0.015380859375, -0.04107666015625, -0.021087646484375, -0.000530242919921875, 0.0738525390625, -0.038360595703125, 0.08294677734375, 0.00591278076171875, 0.05047607421875, -0.014007568359375, 0.05120849609375, 0.0017023086547851562, 0.042236328125, 0.008636474609375, 0.0017852783203125, -0.02349853515625, -0.01430511474609375, -0.01702880859375, -0.09033203125, 0.00501251220703125, 0.0088043212890625, -0.0087432861328125, 0.045623779296875, 0.0031032562255859375, 0.025482177734375, -0.002063751220703125, 0.00873565673828125, 0.0039215087890625, -0.0265655517578125, -0.0028400421142578125, 0.0102081298828125, 0.0037326812744140625, -0.0185394287109375, 0.01395416259765625, 0.06939697265625, -0.026092529296875, -0.0305633544921875, 0.01052093505859375, -0.00966644287109375, 0.026336669921875, 0.0186004638671875, -0.0002079010009765625, 0.0090789794921875, -0.0225067138671875, 0.01107025146484375, 0.0233612060546875, -0.006229400634765625, 0.03778076171875, -0.004520416259765625, -0.005710601806640625, -0.046356201171875, -0.01209259033203125, -0.00356292724609375, -0.004070281982421875, 0.0142059326171875, 0.0026645660400390625, -0.00446319580078125, 0.01800537109375, 0.0374755859375, 0.0369873046875, -0.05279541015625, 0.0159149169921875, -0.01103973388671875, -0.0296630859375, 0.0286712646484375, -0.030731201171875, 0.03558349609375, 0.013336181640625, 0.0232696533203125, 0.044219970703125, -0.035614013671875, -0.00458526611328125, -0.005855560302734375, -0.0034275054931640625, -0.01580810546875, 0.0487060546875, 0.0177764892578125, -0.06622314453125, 0.0254058837890625, 0.0124359130859375, 0.0021457672119140625, 0.018341064453125, -0.0001430511474609375, -0.03216552734375, -0.018951416015625, -0.02142333984375, -0.0279693603515625, -0.06683349609375, 0.01320648193359375, 0.03582763671875, -0.0007157325744628906, 0.02655029296875, 0.038970947265625, -0.00897979736328125, 0.0323486328125, -0.0108489990234375, 0.004863739013671875, -0.022491455078125, 0.00008970499038696289, 0.02056884765625, 0.068603515625, -0.0487060546875, 0.0293731689453125, -0.0253448486328125, 0.0203857421875, -0.003307342529296875, -0.07366943359375, 0.0196685791015625, -0.017578125, 0.006832122802734375, 0.0016326904296875, 0.05126953125, 0.0236968994140625, -0.011260986328125, -0.00971221923828125, -0.07012939453125, -0.018768310546875, -0.00930023193359375, -0.039459228515625, 0.0156402587890625, -0.0021209716796875, -0.0516357421875, 0.047576904296875, 0.043060302734375, 0.01434326171875, -0.0190277099609375, 0.0253448486328125, -0.03448486328125, -0.0011072158813476562, -0.00394439697265625, 0.01325225830078125, 0.0301513671875, -0.024139404296875, 0.002475738525390625, 0.005123138427734375, -0.01493072509765625, 0.03076171875, 0.027801513671875, -0.01096343994140625, -0.00836944580078125, 0.00682830810546875, 0.09375, 0.055999755859375, 0.032318115234375, 0.005184173583984375, -0.019989013671875, 0.0126495361328125, -0.001834869384765625, -0.01058197021484375, 0.0297088623046875, -0.0290374755859375, -0.05352783203125, 0.009429931640625, 0.02508544921875, 0.02880859375, 0.031982421875, -0.028778076171875, 0.01108551025390625, 0.007694244384765625, 0.01114654541015625, -0.054107666015625, -0.0148162841796875, 0.044403076171875, 0.0168609619140625, -0.06585693359375, -0.00882720947265625, -0.046234130859375, 0.039093017578125, -0.0056304931640625, -0.0027408599853515625, 0.030914306640625, 0.01244354248046875, 0.02008056640625, -0.051300048828125, -0.007526397705078125, -0.030731201171875, 0.0037364959716796875, 0.0278778076171875, -0.0225677490234375, 0.004268646240234375, -0.0706787109375, 0.0309600830078125, 0.007297515869140625, 0.030029296875, -0.04107666015625, -0.032928466796875, 0.01364898681640625, 0.01094818115234375, 0.006649017333984375, -0.009185791015625, -0.01448822021484375, -0.01776123046875, 0.03106689453125, -0.0579833984375, -0.008453369140625, 0.04010009765625, 0.0224761962890625, -0.002532958984375, -0.00664520263671875, -0.0027313232421875, -0.016937255859375, -0.060699462890625, 0.0152435302734375, 0.05389404296875, 0.07952880859375, 0.0035457611083984375, 0.083984375, -0.005126953125, -0.02667236328125, -0.0148162841796875, 0.02398681640625, 0.0005970001220703125, 0.00984954833984375, -0.0298309326171875, -0.041046142578125, 0.014312744140625, 0.030914306640625, 0.031829833984375, 0.027313232421875, 0.00731658935546875, 0.0039005279541015625, 0.00928497314453125, 0.01605224609375, 0.0557861328125, -0.0076751708984375, -0.03216552734375, -0.059234619140625, -0.002635955810546875, 0.04046630859375, 0.0084991455078125, 0.04461669921875, -0.057403564453125, 0.08160400390625, -0.0213470458984375, 0.0208892822265625, 0.01360321044921875, -0.016204833984375, 0.065185546875, 0.021087646484375, 0.04937744140625, 0.0209808349609375, -0.0038433074951171875, 0.01186370849609375, -0.00982666015625, -0.0904541015625, 0.00020492076873779297, 0.033843994140625, -0.0106048583984375, -0.0106201171875, 0.0394287109375, 0.0012159347534179688, -0.01904296875, 0.00555419921875, 0.01082611083984375, -0.01094818115234375, 0.022857666015625, 0.011566162109375, -0.056182861328125, -0.04632568359375, -0.042327880859375, 0.054595947265625, -0.016845703125, 0.09381103515625, -0.03265380859375, 0.0123443603515625, 0.03204345703125, -0.0018606185913085938, -0.00428009033203125, -0.004940032958984375, 0.01186370849609375, -0.036407470703125, 0.0027179718017578125, 0.0026187896728515625, -0.01079559326171875, 0.059722900390625, 0.0144500732421875, -0.002635955810546875, 0.041473388671875, -0.01074981689453125, -0.006317138671875, -0.01873779296875, 0.007061004638671875, -0.041046142578125, -0.05303955078125, -0.03955078125, 0.01050567626953125, -0.00937652587890625, -0.01459503173828125, 0.0096893310546875, 0.0411376953125, -0.01971435546875, -0.016571044921875, 0.0060577392578125, -0.045166015625, 0.0096893310546875, 0.0223388671875, -0.017852783203125, -0.0235595703125, 0.0574951171875, -0.005275726318359375, 0.0316162109375, 0.00391387939453125, 0.054840087890625, 0.051361083984375, -0.0784912109375, -0.0150146484375, 0.03692626953125, 0.042755126953125, -0.006862640380859375, 0.01129913330078125, 0.0269927978515625, -0.0208587646484375, 0.003025054931640625, 0.0134429931640625, -0.019012451171875, -0.0224609375, -0.01091766357421875, 0.0088348388671875, -0.022125244140625, -0.03302001953125, -0.0657958984375, -0.03375244140625, 0.034698486328125, 0.009124755859375, -0.0235443115234375, -0.02667236328125, 0.0200958251953125, 0.01873779296875, 0.0013256072998046875, -0.01432037353515625, -0.0033893585205078125, 0.042755126953125, -0.0175323486328125, -0.005580902099609375, -0.02532958984375, -0.00969696044921875, -0.038909912109375, 0.057159423828125, 0.07244873046875, -0.06768798828125, -0.01953125, 0.08197021484375, 0.05029296875, 0.10980224609375, 0.028228759765625, -0.015228271484375, -0.0467529296875, 0.031219482421875, -0.0031108856201171875, -0.022003173828125, 0.0249786376953125, -0.033782958984375, -0.04736328125, 0.0169830322265625, -0.05279541015625, -0.0293731689453125, -0.05487060546875, -0.049072265625, 0.0008478164672851562, 0.03314208984375, -0.045684814453125, -0.010650634765625, -0.021270751953125, -0.026824951171875, 0.034637451171875, 0.0013475418090820312, -0.006427764892578125, -0.0127410888671875, 0.042877197265625, 0.00022900104522705078, 0.01076507568359375, 0.0227813720703125, -0.01451873779296875, -0.01364898681640625, 0.01328277587890625, 0.01378631591796875, -0.0065155029296875, 0.0305328369140625, -0.033905029296875, 0.0255584716796875, 0.01318359375, -0.07598876953125, -0.03173828125, -0.01169586181640625, 0.058258056640625, 0.0200042724609375, -0.024200439453125, -0.056182861328125, -0.06390380859375, 0.03387451171875, 0.016845703125, 0.01201629638671875, 0.01044464111328125, -0.038299560546875, -0.0667724609375, -0.0345458984375, -0.0070953369140625, 0.01207733154296875, -0.06219482421875, 0.013671875, 0.0123138427734375, -0.00023066997528076172, 0.006137847900390625, -0.04364013671875, -0.0231475830078125, -0.00926971435546875, -0.007205963134765625, 0.017547607421875, -0.005863189697265625, -0.02099609375, 0.074951171875, -0.050445556640625, -0.018463134765625, 0.0229949951171875, 0.0039215087890625, 0.0111541748046875, 0.01184844970703125, -0.01134490966796875, -0.02117919921875, 0.00510406494140625, 0.03289794921875, 0.0161590576171875, -0.006168365478515625, 0.0016345977783203125, -0.01345062255859375, 0.017608642578125, 0.0064239501953125, -0.012969970703125, -0.0008044242858886719, 0.0178680419921875, 0.0288238525390625, -0.0180206298828125, 0.0183563232421875, -0.04669189453125, 0.0242156982421875, -0.0133819580078125, -0.014404296875, -0.0166778564453125, 0.033233642578125, 0.03680419921875, -0.0013780593872070312, 0.01251220703125, -0.01544952392578125, 0.01354217529296875, -0.0300750732421875, 0.03826904296875, -0.0562744140625, -0.0089263916015625, 0.01788330078125 ]
0f8a01161993587a525d4e368e5ad552836196b1
Wordpress Stackexchange Q: Is there a maintenance mode in Wordpress core? If I want to put a Wordpress (3.2.1) site into Maintenance mode, is it still necessary to use a plugin? If so, is this a good option? A: Yes there is. But it is primarily meant for short interruptions (such as during upgrades) and not very user-friendly. WP creates .maintenance file in root (with timestamp info about time) to trigger it and removes after it is done. See WordPress Maintenance Mode Without a Plugin for reference. In practice using a plugin is usually more convenient and functional.
Q: Is there a maintenance mode in Wordpress core? If I want to put a Wordpress (3.2.1) site into Maintenance mode, is it still necessary to use a plugin? If so, is this a good option? A: Yes there is. But it is primarily meant for short interruptions (such as during upgrades) and not very user-friendly. WP creates .maintenance file in root (with timestamp info about time) to trigger it and removes after it is done. See WordPress Maintenance Mode Without a Plugin for reference. In practice using a plugin is usually more convenient and functional. A: There is no maintenance mode in core AFAIK. And as far as plugin's go, I prefer JF3 Maintenance Redirect as it allows IP address whitelisting.
wordpress
{ "language": "en", "length": 122, "provenance": "stackexchange_00019.jsonl.gz:414169", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32225" }
[ 0.04595947265625, 0.01224517822265625, -0.01265716552734375, -0.03448486328125, 0.0193634033203125, -0.042144775390625, 0.040618896484375, -0.0217437744140625, 0.0197601318359375, 0.0236053466796875, -0.00907135009765625, -0.025054931640625, 0.0015687942504882812, -0.0276031494140625, -0.0287628173828125, -0.015777587890625, 0.0243988037109375, 0.0117950439453125, 0.0096588134765625, -0.0082855224609375, 0.006412506103515625, 0.025299072265625, -0.0577392578125, 0.045867919921875, -0.00722503662109375, 0.0260467529296875, 0.048126220703125, -0.01068878173828125, -0.00664520263671875, -0.00974273681640625, 0.0126800537109375, -0.02734375, 0.0168914794921875, 0.0200347900390625, -0.01076507568359375, -0.00832366943359375, -0.0352783203125, 0.0298919677734375, 0.0166015625, 0.000035881996154785156, -0.024200439453125, 0.02703857421875, 0.0246429443359375, 0.006175994873046875, -0.01352691650390625, -0.0085296630859375, -0.05078125, -0.06463623046875, 0.0518798828125, -0.014678955078125, 0.0008168220520019531, 0.016143798828125, 0.0216827392578125, -0.036376953125, -0.0288848876953125, -0.028228759765625, 0.004245758056640625, -0.0284881591796875, 0.0301361083984375, -0.03411865234375, -0.0204315185546875, -0.0189971923828125, 0.039337158203125, 0.0259857177734375, -0.00128936767578125, 0.0025959014892578125, -0.03369140625, -0.01258087158203125, -0.0679931640625, 0.0248870849609375, 0.06329345703125, -0.0687255859375, 0.0285186767578125, 0.01090240478515625, -0.035858154296875, -0.03131103515625, -0.0096282958984375, -0.045074462890625, 0.045562744140625, -0.016265869140625, -0.0095062255859375, 0.01506805419921875, -0.0091705322265625, -0.0538330078125, 0.0160675048828125, -0.01116943359375, -0.0024929046630859375, -0.004932403564453125, -0.0278472900390625, 0.01015472412109375, -0.013519287109375, -0.023834228515625, -0.034698486328125, 0.032196044921875, 0.006214141845703125, -0.0124359130859375, -0.00853729248046875, 0.0081329345703125, -0.02874755859375, 0.03643798828125, 0.026458740234375, -0.052825927734375, 0.09869384765625, -0.03997802734375, -0.03338623046875, 0.007457733154296875, 0.01099395751953125, 0.0095977783203125, -0.0027599334716796875, 0.025543212890625, -0.0323486328125, -0.007434844970703125, 0.00818634033203125, -0.0565185546875, 0.0161590576171875, 0.034698486328125, 0.0033588409423828125, 0.0225677490234375, 0.0180511474609375, -0.014923095703125, -0.014190673828125, 0.0185394287109375, -0.0160675048828125, -0.04449462890625, -0.0086822509765625, -0.0467529296875, -0.0221099853515625, 0.004364013671875, -0.024932861328125, -0.021392822265625, -0.020416259765625, 0.03753662109375, 0.07891845703125, 0.025543212890625, -0.010406494140625, -0.00516510009765625, 0.0199737548828125, -0.01012420654296875, 0.0075225830078125, -0.00598907470703125, 0.002384185791015625, -0.00833892822265625, 0.00989532470703125, -0.0183868408203125, 0.040802001953125, 0.0276641845703125, 0.0172271728515625, -0.0006489753723144531, 0.01160430908203125, -0.0151824951171875, 0.0275421142578125, -0.041351318359375, 0.025604248046875, -0.0141754150390625, 0.023712158203125, -0.033111572265625, 0.004413604736328125, -0.0173492431640625, 0.009674072265625, -0.00665283203125, -0.035736083984375, -0.005611419677734375, 0.0302886962890625, -0.056182861328125, -0.043975830078125, 0.0252685546875, -0.040496826171875, 0.002685546875, 0.018524169921875, -0.00604248046875, 0.02325439453125, -0.0166778564453125, -0.0189361572265625, -0.0032558441162109375, -0.0025501251220703125, 0.028076171875, -0.0038394927978515625, 0.029510498046875, 0.022979736328125, 0.0128173828125, -0.00418853759765625, -0.030120849609375, 0.06439208984375, -0.010772705078125, -0.0184173583984375, -0.038116455078125, 0.036041259765625, 0.048187255859375, 0.020355224609375, 0.037689208984375, 0.023529052734375, -0.033721923828125, -0.0287933349609375, 0.058380126953125, -0.004665374755859375, -0.036102294921875, -0.00133514404296875, 0.007404327392578125, -0.0101776123046875, -0.04217529296875, 0.0206756591796875, 0.00826263427734375, 0.00494384765625, -0.0159149169921875, -0.08294677734375, 0.02191162109375, -0.0499267578125, 0.047882080078125, 0.02166748046875, -0.0008192062377929688, -0.0005998611450195312, 0.005611419677734375, -0.0013551712036132812, -0.034912109375, -0.038665771484375, 0.0218353271484375, -0.01849365234375, -0.01139068603515625, -0.0020389556884765625, 0.0235137939453125, -0.01180267333984375, 0.0218048095703125, -0.042327880859375, -0.019683837890625, 0.00452423095703125, 0.010955810546875, -0.002140045166015625, 0.0007257461547851562, -0.01488494873046875, 0.0294342041015625, -0.020263671875, -0.01090240478515625, 0.037109375, 0.027435302734375, -0.00995635986328125, -0.00504302978515625, -0.005992889404296875, -0.08990478515625, -0.00028514862060546875, 0.06439208984375, 0.040985107421875, 0.0267486572265625, 0.03076171875, 0.03143310546875, 0.03399658203125, -0.0277557373046875, 0.030517578125, -0.000048220157623291016, 0.0084381103515625, 0.0330810546875, -0.0278167724609375, -0.00397491455078125, 0.0263519287109375, 0.001102447509765625, -0.00481414794921875, 0.0303802490234375, -0.028839111328125, -0.046783447265625, -0.0205841064453125, -0.030059814453125, 0.04351806640625, -0.053253173828125, -0.0618896484375, 0.0017852783203125, 0.012603759765625, 0.0203094482421875, 0.061187744140625, 0.0614013671875, 0.002681732177734375, -0.02227783203125, -0.01226043701171875, 0.0180511474609375, 0.006275177001953125, 0.046844482421875, -0.01461029052734375, 0.0256805419921875, -0.0254974365234375, -0.0189056396484375, 0.007678985595703125, 0.032196044921875, -0.042999267578125, -0.0413818359375, -0.0244140625, -0.00841522216796875, 0.017730712890625, 0.00405120849609375, 0.0269012451171875, -0.0200042724609375, -0.0323486328125, -0.0256500244140625, 0.0482177734375, -0.019317626953125, -0.06488037109375, 0.036102294921875, -0.031097412109375, -0.040252685546875, -0.020843505859375, -0.0338134765625, 0.032318115234375, -0.0472412109375, 0.0009002685546875, 0.05322265625, -0.0016613006591796875, 0.0019054412841796875, 0.0251617431640625, -0.0174407958984375, 0.0322265625, -0.0022430419921875, -0.0005860328674316406, 0.0745849609375, -0.0970458984375, 0.027923583984375, 0.006275177001953125, 0.045867919921875, -0.043487548828125, -0.058013916015625, -0.034576416015625, 0.01103973388671875, -0.07763671875, -0.029937744140625, -0.07763671875, -0.0574951171875, -0.01287078857421875, 0.0128631591796875, -0.015411376953125, 0.017791748046875, 0.049407958984375, 0.022491455078125, -0.072509765625, 0.0071258544921875, -0.039581298828125, -0.06439208984375, -0.065185546875, -0.005428314208984375, -0.00228118896484375, 0.0386962890625, -0.002101898193359375, 0.08734130859375, 0.0073394775390625, -0.09149169921875, -0.05194091796875, -0.01386260986328125, -0.0330810546875, 0.01129913330078125, 0.00855255126953125, 0.0200042724609375, -0.020782470703125, 0.01947021484375, -0.0119171142578125, 0.00955963134765625, -0.013458251953125, -0.03363037109375, -0.02984619140625, 0.01438140869140625, -0.0282135009765625, -0.0172119140625, 0.04278564453125, 0.0118865966796875, -0.04669189453125, -0.037109375, -0.03717041015625, 0.00799560546875, -0.0462646484375, 0.00885772705078125, 0.0249481201171875, -0.0254364013671875, 0.0007691383361816406, 0.005329132080078125, -0.00893402099609375, -0.0185089111328125, 0.0213165283203125, -0.033447265625, 0.003833770751953125, -0.015380859375, -0.0095672607421875, -0.01435089111328125, 0.0148773193359375, -0.0224761962890625, -0.015960693359375, -0.0203704833984375, -0.002033233642578125, -0.01824951171875, 0.0343017578125, -0.0181121826171875, 0.011627197265625, 0.00865936279296875, -0.041717529296875, 0.01360321044921875, 0.0020751953125, -0.006542205810546875, 0.0200347900390625, 0.0526123046875, -0.09014892578125, 0.0075836181640625, 0.0234832763671875, 0.0281219482421875, -0.007007598876953125, -0.054473876953125, -0.062164306640625, -0.04327392578125, -0.0701904296875, 0.01480865478515625, 0.0024261474609375, -0.030242919921875, -0.0165557861328125, 0.0160369873046875, -0.03759765625, -0.032806396484375, 0.011810302734375, -0.0494384765625, -0.01087188720703125, -0.01105499267578125, -0.034637451171875, -0.0487060546875, 0.00580596923828125, -0.031036376953125, -0.08270263671875, -0.007114410400390625, -0.033203125, 0.05523681640625, 0.049530029296875, -0.0477294921875, 0.0168914794921875, 0.05072021484375, 0.0121917724609375, 0.06353759765625, -0.00803375244140625, -0.00605010986328125, 0.0286712646484375, -0.006259918212890625, 0.0259552001953125, -0.0052490234375, -0.00998687744140625, -0.035186767578125, -0.048980712890625, -0.0211944580078125, -0.00823974609375, 0.019775390625, 0.007205963134765625, -0.0165863037109375, 0.019683837890625, -0.0301361083984375, -0.04541015625, -0.016693115234375, -0.0265655517578125, 0.0020732879638671875, -0.023834228515625, 0.0045318603515625, 0.01160430908203125, 0.01322174072265625, -0.020782470703125, 0.031890869140625, 0.0516357421875, 0.025665283203125, -0.01291656494140625, -0.10455322265625, -0.0192413330078125, 0.03619384765625, 0.0167083740234375, 0.047882080078125, 0.004779815673828125, -0.040283203125, 0.10601806640625, 0.0160675048828125, -0.005062103271484375, -0.0193023681640625, 0.0069427490234375, 0.000946044921875, -0.02935791015625, 0.029327392578125, -0.032012939453125, 0.052398681640625, -0.0189666748046875, -0.0130615234375, -0.000025033950805664062, -0.0295867919921875, 0.0245513916015625, 0.031890869140625, -0.00331878662109375, -0.047698974609375, -0.050445556640625, 0.0302581787109375, -0.0155487060546875, 0.055908203125, 0.0145263671875, 0.0012826919555664062, 0.04864501953125, 0.004550933837890625, -0.006328582763671875, -0.00039696693420410156, -0.004360198974609375, -0.010894775390625, 0.0391845703125, -0.0033588409423828125, -0.004238128662109375, -0.01085662841796875, -0.0195465087890625, 0.08258056640625, -0.001178741455078125, -0.06475830078125, 0.0236663818359375, -0.0225372314453125, 0.016632080078125, 0.053802490234375, -0.034332275390625, 0.036041259765625, 0.041046142578125, -0.036102294921875, -0.039215087890625, -0.045074462890625, 0.0035762786865234375, -0.071533203125, 0.0209197998046875, -0.00801849365234375, -0.00817108154296875, 0.01435089111328125, 0.021270751953125, -0.01242828369140625, 0.000701904296875, -0.0032501220703125, 0.033721923828125, 0.0088958740234375, 0.0147705078125, 0.0026397705078125, 0.010711669921875, 0.023956298828125, -0.032073974609375, 0.0305328369140625, -0.04315185546875, -0.024566650390625, 0.00948333740234375, 0.0165252685546875, 0.0168914794921875, 0.005199432373046875, 0.0220184326171875, 0.0404052734375, 0.0028705596923828125, 0.03167724609375, -0.03369140625, -0.0438232421875, -0.023681640625, 0.041717529296875, 0.050689697265625, -0.021728515625, 0.002079010009765625, -0.01070404052734375, -0.002895355224609375, 0.0074462890625, -0.038421630859375, -0.0271759033203125, 0.003765106201171875, 0.0236358642578125, -0.038665771484375, -0.0301055908203125, -0.017669677734375, -0.0114288330078125, -0.00726318359375, -0.00537109375, -0.008819580078125, 0.0212249755859375, -0.0077362060546875, -0.01190185546875, -0.03070068359375, 0.018646240234375, -0.005619049072265625, 0.0298614501953125, -0.0031032562255859375, -0.037933349609375, -0.042449951171875, -0.0254669189453125, -0.048675537109375, -0.052734375, -0.073486328125, -0.024444580078125, -0.059173583984375, 0.0389404296875, 0.0176544189453125, 0.0107421875, -0.03692626953125, -0.0638427734375, -0.003757476806640625, 0.0130157470703125, 0.0306854248046875, 0.01611328125, 0.0290985107421875, 0.00307464599609375, 0.0019931793212890625, 0.029876708984375, 0.0308990478515625, 0.0170745849609375, 0.00017726421356201172, -0.049652099609375, 0.0517578125, 0.0199737548828125, -0.065673828125, -0.029876708984375, -0.0218353271484375, -0.0275421142578125, 0.0214691162109375, -0.041351318359375, 0.013580322265625, -0.007213592529296875, -0.0003235340118408203, -0.0249481201171875, 0.037872314453125, -0.02001953125, 0.0233154296875, 0.00991058349609375, -0.028778076171875, -0.015533447265625, -0.039581298828125, 0.006679534912109375, 0.01751708984375, -0.0304718017578125, -0.00897979736328125, 0.023712158203125, -0.0126495361328125, 0.053955078125, 0.053924560546875, -0.01168060302734375, -0.0032520294189453125, 0.04266357421875, -0.0200653076171875, -0.06353759765625, -0.01995849609375, -0.005519866943359375, -0.049835205078125, 0.0298614501953125, 0.00009018182754516602, -0.0087890625, 0.04583740234375, -0.01568603515625, 0.020965576171875, 0.053558349609375, 0.048858642578125, -0.07415771484375, 0.0011415481567382812, -0.0002739429473876953, -0.04339599609375, 0.0084228515625, 0.01247406005859375, -0.01161956787109375, -0.01207733154296875, 0.041839599609375, 0.0027980804443359375, 0.01280975341796875, 0.040679931640625, 0.013580322265625, 0.0139617919921875, 0.006465911865234375, 0.07794189453125, 0.0015745162963867188, 0.014007568359375, -0.05029296875, -0.01922607421875, 0.0098876953125, 0.00975799560546875, 0.026123046875, -0.00850677490234375, -0.01373291015625, -0.014373779296875, 0.0281829833984375, 0.00021886825561523438, -0.02288818359375, -0.00702667236328125, -0.01617431640625, 0.0206146240234375, 0.036590576171875, -0.0285186767578125, 0.01056671142578125, 0.0141754150390625, -0.0014495849609375, -0.08148193359375, -0.0523681640625, 0.027313232421875, 0.0298614501953125, -0.0298919677734375, 0.04833984375, -0.002643585205078125, -0.07513427734375, -0.00434112548828125, -0.017669677734375, 0.0738525390625, -0.017822265625, -0.03179931640625, -0.0201568603515625, -0.030853271484375, 0.018951416015625, -0.014068603515625, 0.01165008544921875, -0.042572021484375, -0.008758544921875, -0.0089569091796875, -0.00490570068359375, 0.0181732177734375, -0.01213836669921875, -0.040313720703125, 0.10845947265625, 0.0015325546264648438, 0.006103515625, -0.010589599609375, 0.0711669921875, -0.006259918212890625, 0.04779052734375, -0.0018901824951171875, 0.033111572265625, -0.01419830322265625, 0.035797119140625, -0.028289794921875, 0.0005564689636230469, 0.006511688232421875, 0.0411376953125, 0.006702423095703125, 0.0198822021484375, -0.02978515625, 0.0021610260009765625, 0.016448974609375, 0.00908660888671875, 0.01038360595703125, 0.0625, -0.026214599609375, 0.0007772445678710938, 0.038482666015625, -0.0207366943359375, 0.052032470703125, -0.0394287109375, -0.018157958984375, -0.028778076171875, 0.0013065338134765625, -0.01373291015625, 0.008453369140625, 0.00632476806640625, -0.0116119384765625, 0.004032135009765625, -0.007236480712890625, 0.032135009765625, -0.0012025833129882812, 0.0018358230590820312, -0.0158233642578125, 0.020965576171875, 0.01328277587890625, -0.002918243408203125, 0.0213623046875, -0.01062774658203125, 0.00814056396484375, 0.045928955078125, 0.04034423828125, 0.004207611083984375, -0.037933349609375, 0.00839996337890625, -0.0036220550537109375, -0.037506103515625, -0.01000213623046875, 0.004581451416015625, 0.025360107421875, -0.005237579345703125, -0.0063323974609375, 0.022613525390625, -0.00226593017578125, -0.0032901763916015625, -0.040069580078125, 0.004329681396484375, -0.019195556640625, 0.0204620361328125, 0.00879669189453125, 0.03765869140625, 0.019561767578125, 0.00450897216796875, 0.01470947265625, -0.00948333740234375, 0.0217132568359375, -0.0295562744140625, 0.015411376953125, 0.0618896484375, 0.018310546875, 0.0384521484375, -0.04620361328125, 0.030426025390625, 0.02410888671875, 0.03131103515625, 0.0033416748046875, 0.044097900390625, 0.0217742919921875, 0.004535675048828125, 0.00328826904296875, 0.06329345703125, -0.0042877197265625, -0.004486083984375, -0.00887298583984375, -0.050994873046875, -0.01439666748046875, 0.0194091796875, 0.0192108154296875, 0.03338623046875, 0.039398193359375, 0.060455322265625, 0.021392822265625, 0.0009198188781738281, 0.0443115234375, 0.00623321533203125, -0.00319671630859375, -0.035888671875, 0.0191192626953125, 0.0017061233520507812, 0.00788116455078125, 0.013885498046875, 0.033355712890625, 0.018402099609375, 0.0254364013671875, -0.0243072509765625, 0.0221099853515625, -0.033660888671875, 0.040557861328125, 0.02197265625, 0.03497314453125, 0.0556640625, -0.01000213623046875, -0.041839599609375, 0.040802001953125, 0.014404296875, -0.0262298583984375, 0.0271453857421875, 0.00643157958984375, 0.00424957275390625, -0.00864410400390625, -0.0152587890625, 0.0149688720703125, -0.005718231201171875, 0.004642486572265625, -0.036346435546875, -0.006900787353515625, -0.035247802734375, -0.034698486328125, -0.0276641845703125, -0.028350830078125, 0.03875732421875, 0.02947998046875, 0.0809326171875, -0.0156707763671875, 0.04052734375, -0.0374755859375, -0.03875732421875, -0.012298583984375, 0.0165252685546875, -0.0921630859375, 0.02545166015625, -0.0021610260009765625, -0.00146484375, -0.05908203125, -0.0031032562255859375, 0.033660888671875, -0.01154327392578125, -0.0190887451171875, 0.0098876953125, 0.017822265625, -0.0023345947265625, 0.0181884765625, -0.01459503173828125, -0.061859130859375, -0.0256500244140625, 0.000598907470703125, 0.008636474609375, 0.03363037109375, 0.0018291473388671875, 0.0079345703125, 0.0004532337188720703, -0.00452423095703125, 0.0055389404296875, 0.00997161865234375, -0.01395416259765625, 0.035736083984375, -0.0006947517395019531, -0.049896240234375, 0.029571533203125, -0.01041412353515625, -0.005657196044921875, 0.01401519775390625, 0.08575439453125, -0.01525115966796875, -0.004878997802734375, 0.033538818359375, -0.00970458984375, 0.03228759765625, -0.02166748046875, 0.002529144287109375, -0.0194091796875, 0.03997802734375, 0.0169830322265625, -0.0225830078125, -0.02630615234375, -0.023468017578125, -0.04754638671875, -0.0185699462890625, -0.043853759765625, -0.097412109375, -0.03704833984375, 0.0011358261108398438, 0.0186767578125, 0.0156402587890625, -0.06439208984375, 0.043121337890625, -0.0219879150390625, 0.04400634765625, -0.02691650390625, 0.0095062255859375, -0.026763916015625, -0.0264434814453125, -0.055389404296875, -0.0292816162109375, -0.055694580078125, 0.036468505859375, -0.031463623046875, 0.021942138671875, 0.0433349609375, -0.0283355712890625, 0.006427764892578125, -0.00875091552734375, 0.0116729736328125, 0.036529541015625, -0.03741455078125, -0.00724029541015625, 0.018585205078125, -0.0279083251953125, -0.01177978515625, -0.041290283203125, 0.00377655029296875, -0.056427001953125, -0.03729248046875, -0.05487060546875, 0.006504058837890625, -0.00864410400390625, -0.06060791015625, -0.1024169921875, 0.007434844970703125, -0.03424072265625, -0.04205322265625, -0.038330078125, -0.0271453857421875, -0.002307891845703125, 0.05999755859375, -0.007465362548828125, -0.01132965087890625, -0.04925537109375, 0.04803466796875, 0.0177001953125, -0.0116729736328125, 0.0231475830078125, 0.0182647705078125, -0.0195159912109375, 0.0200958251953125, 0.024871826171875, -0.015472412109375, 0.013946533203125, 0.0140380859375, 0.0177459716796875, 0.052886962890625, -0.0246734619140625, -0.0038204193115234375, -0.0234832763671875, -0.03839111328125, -0.0094146728515625, 0.0028705596923828125, -0.002872467041015625, 0.014007568359375, 0.044830322265625, 0.0262908935546875, 0.0100250244140625, -0.02813720703125, -0.011627197265625, -0.037567138671875, -0.0221099853515625, -0.017822265625, 0.0158538818359375, -0.0443115234375, 0.00396728515625, 0.0024852752685546875, -0.0178070068359375, -0.041259765625, -0.00792694091796875, -0.0439453125, -0.0198974609375, -0.0086822509765625, -0.0074920654296875, -0.0031642913818359375, -0.06500244140625, 0.031524658203125, -0.0038166046142578125, 0.0269317626953125, -0.004154205322265625, 0.055755615234375, 0.02056884765625, 0.03131103515625, 0.040771484375, 0.015350341796875, -0.016082763671875, -0.0034694671630859375, 0.0347900390625, -0.00002574920654296875, -0.004299163818359375, -0.0380859375, 0.0338134765625, 0.026397705078125, 0.006496429443359375, 0.032379150390625, -0.027862548828125, 0.0225067138671875, -0.012451171875, -0.018096923828125, 0.004558563232421875, -0.017364501953125, -0.0297698974609375, 0.054107666015625, -0.047119140625, -0.0215911865234375, -0.035675048828125, -0.0295867919921875, -0.00017702579498291016, 0.036895751953125, 0.0248260498046875, -0.0341796875, 0.027587890625, -0.06280517578125, 0.03125, -0.002651214599609375 ]
65fe900ac79ce587d8345739a66eca889cfe1231
Wordpress Stackexchange Q: How to use a custom comments template My wordpress makes use of custom post templates. I'm now trying to create a custom comments template as well. I noticed that the comments template is called via this function <?php comments_template( '', true ); ?> I checked in my functions.php and comments.php but don't see the function being declared anywhere. Can someone please advise on how to go about introducing a custom comments template? A: The comments_template() template tag sets up the commenting variables and functions, and includes the comments.php template-part file. So, to create a custom comments template, use comments.php. From there, you will need to get comfortable with the arguments, filters, and callbacks for wp_list_comments(), which is used to output the comment list, and comment_form(), which is used to output the comment-reply form.
Q: How to use a custom comments template My wordpress makes use of custom post templates. I'm now trying to create a custom comments template as well. I noticed that the comments template is called via this function <?php comments_template( '', true ); ?> I checked in my functions.php and comments.php but don't see the function being declared anywhere. Can someone please advise on how to go about introducing a custom comments template? A: The comments_template() template tag sets up the commenting variables and functions, and includes the comments.php template-part file. So, to create a custom comments template, use comments.php. From there, you will need to get comfortable with the arguments, filters, and callbacks for wp_list_comments(), which is used to output the comment list, and comment_form(), which is used to output the comment-reply form. A: You can use the callback function on wp_list_comments() function. wp_list_comments(); Usually, you will find this line in comments.php file of your wordpress theme. And the output from this command is a pretty straightforward HTML structure. Wordpress have a option of passing the callback function as an argument to wp_list_comments function. This callback function should return the modified HTML structure of comments section, which we are looking to implement. <ul class="comment-list comments"> <?php wp_list_comments( array( 'style' => 'ul', 'short_ping' => true, 'callback' => 'better_comments' ) ); ?> </ul><!-- .comment-list --> You can check detailed tutorial here https://www.5balloons.info/custom-html-for-comments-section-in-wordpress-theme/
wordpress
{ "language": "en", "length": 231, "provenance": "stackexchange_00019.jsonl.gz:414173", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32237" }
[ 0.033843994140625, -0.0211181640625, 0.0006780624389648438, -0.051727294921875, -0.00852203369140625, -0.01091766357421875, -0.0035839080810546875, 0.0015869140625, -0.028411865234375, 0.0286407470703125, -0.017333984375, -0.0035247802734375, -0.0295562744140625, -0.0084228515625, -0.0203094482421875, -0.057891845703125, 0.050811767578125, 0.0007719993591308594, 0.042327880859375, -0.017547607421875, 0.03558349609375, 0.0117340087890625, 0.0057220458984375, 0.1220703125, 0.03521728515625, -0.049530029296875, 0.1143798828125, -0.017730712890625, 0.0307769775390625, -0.023590087890625, 0.0267486572265625, -0.018585205078125, 0.0089874267578125, 0.041290283203125, -0.041168212890625, 0.00634765625, 0.0002980232238769531, 0.01413726806640625, 0.005283355712890625, 0.0172119140625, 0.0198822021484375, -0.015960693359375, -0.005901336669921875, -0.020263671875, -0.00823974609375, -0.0121307373046875, 0.00860595703125, -0.04901123046875, 0.0294342041015625, 0.00858306884765625, 0.0193939208984375, 0.0030879974365234375, 0.035858154296875, -0.00867462158203125, -0.0164794921875, -0.01267242431640625, -0.03240966796875, 0.035888671875, 0.0194854736328125, -0.015106201171875, -0.00476837158203125, -0.0005655288696289062, 0.0216827392578125, 0.02423095703125, 0.002178192138671875, -0.01088714599609375, 0.043365478515625, 0.03985595703125, 0.0016117095947265625, -0.017669677734375, -0.01537322998046875, 0.0096588134765625, 0.00363922119140625, -0.0599365234375, -0.006160736083984375, 0.005157470703125, 0.0142974853515625, -0.0255889892578125, -0.005344390869140625, -0.01291656494140625, 0.0176849365234375, 0.0048828125, -0.01531219482421875, -0.054290771484375, 0.0311431884765625, -0.00919342041015625, -0.0028076171875, -0.0216522216796875, -0.019378662109375, -0.023193359375, -0.0202484130859375, -0.058197021484375, -0.004878997802734375, -0.00016868114471435547, -0.0100860595703125, -0.0228424072265625, -0.007419586181640625, 0.0146636962890625, -0.0038089752197265625, 0.005062103271484375, 0.0049285888671875, -0.00844573974609375, 0.005649566650390625, -0.0156707763671875, 0.00452423095703125, 0.03179931640625, -0.0196685791015625, -0.016754150390625, 0.0249176025390625, 0.0309906005859375, 0.00968170166015625, -0.037689208984375, -0.01425933837890625, -0.037017822265625, -0.00826263427734375, 0.027618408203125, -0.0294952392578125, 0.00531768798828125, 0.003932952880859375, 0.0003132820129394531, 0.002300262451171875, 0.0125885009765625, 0.045166015625, -0.013702392578125, 0.00894927978515625, 0.003833770751953125, -0.00047516822814941406, -0.061614990234375, -0.005706787109375, 0.025390625, -0.023284912109375, 0.0283050537109375, 0.041473388671875, 0.0211029052734375, -0.0156707763671875, -0.02264404296875, 0.018310546875, -0.0139007568359375, -0.0026683807373046875, 0.0155487060546875, 0.0247650146484375, -0.037017822265625, -0.032196044921875, 0.01500701904296875, -0.0052642822265625, 0.0193023681640625, 0.0303192138671875, 0.01812744140625, -0.005352020263671875, -0.055145263671875, 0.004268646240234375, 0.020751953125, 0.003238677978515625, 0.0134124755859375, 0.047882080078125, -0.0242156982421875, -0.0116424560546875, -0.0157318115234375, 0.042694091796875, 0.004817962646484375, -0.03216552734375, -0.007328033447265625, -0.00469207763671875, -0.047698974609375, -0.05096435546875, 0.01418304443359375, 0.0299530029296875, 0.00661468505859375, 0.0178680419921875, 0.006710052490234375, -0.009429931640625, -0.032135009765625, 0.004085540771484375, 0.016357421875, 0.00009113550186157227, 0.033416748046875, -0.01235198974609375, 0.0022754669189453125, -0.006778717041015625, 0.03863525390625, 0.0175933837890625, -0.04071044921875, -0.0255279541015625, 0.021881103515625, -0.040802001953125, 0.011688232421875, 0.0367431640625, 0.0823974609375, -0.00829315185546875, 0.03240966796875, -0.0028553009033203125, 0.00782012939453125, -0.004154205322265625, 0.036834716796875, -0.006622314453125, -0.038330078125, -0.038177490234375, 0.0028247833251953125, -0.034332275390625, -0.0106658935546875, -0.0024566650390625, -0.0094451904296875, -0.005702972412109375, 0.0215301513671875, -0.07421875, 0.031890869140625, -0.049560546875, 0.0345458984375, 0.00885009765625, 0.0032825469970703125, 0.00525665283203125, -0.0275421142578125, -0.01302337646484375, -0.0004875659942626953, -0.03533935546875, -0.0079498291015625, -0.00507354736328125, 0.0304412841796875, 0.0045318603515625, 0.017730712890625, 0.00875091552734375, -0.01445770263671875, 0.0020618438720703125, 0.0258636474609375, 0.0232696533203125, -0.00620269775390625, -0.030242919921875, -0.016448974609375, -0.0341796875, 0.0179901123046875, -0.07757568359375, 0.04351806640625, 0.00047135353088378906, 0.0037708282470703125, -0.011566162109375, 0.005275726318359375, 0.0054931640625, -0.0220947265625, -0.01102447509765625, 0.032501220703125, 0.0165863037109375, 0.01898193359375, 0.0199737548828125, 0.042388916015625, 0.045166015625, 0.0299530029296875, 0.0460205078125, -0.014862060546875, 0.01523590087890625, -0.0021915435791015625, 0.0002751350402832031, -0.033111572265625, 0.040740966796875, -0.061767578125, 0.0187530517578125, 0.032196044921875, -0.01284027099609375, -0.007808685302734375, 0.032196044921875, 0.00856781005859375, -0.00130462646484375, -0.0199737548828125, 0.0001811981201171875, -0.02081298828125, -0.0077667236328125, -0.00933837890625, -0.00018107891082763672, 0.002231597900390625, -0.0150146484375, -0.01354217529296875, 0.0187530517578125, -0.01317596435546875, -0.00228118896484375, 0.0262908935546875, -0.017608642578125, 0.039825439453125, -0.0090789794921875, -0.0079803466796875, -0.015960693359375, 0.01439666748046875, -0.00004845857620239258, 0.06854248046875, -0.040130615234375, -0.009521484375, -0.03192138671875, -0.04931640625, -0.0191497802734375, 0.036102294921875, -0.0140533447265625, -0.023651123046875, -0.00415802001953125, 0.0504150390625, -0.00986480712890625, 0.018585205078125, 0.031463623046875, -0.01047515869140625, 0.0177154541015625, -0.055877685546875, 0.049041748046875, -0.0435791015625, 0.026519775390625, 0.06591796875, -0.013336181640625, 0.004886627197265625, 0.005123138427734375, 0.0341796875, 0.039886474609375, -0.0142974853515625, -0.01537322998046875, -0.0173187255859375, 0.0034046173095703125, -0.005107879638671875, 0.01325225830078125, 0.07562255859375, -0.0304412841796875, -0.05133056640625, -0.0090179443359375, 0.032135009765625, 0.0277862548828125, 0.0271453857421875, 0.05450439453125, -0.0203094482421875, 0.00311279296875, -0.0428466796875, -0.01934814453125, -0.0170135498046875, -0.054107666015625, -0.01125335693359375, 0.00843048095703125, -0.05029296875, -0.0699462890625, -0.06268310546875, -0.0938720703125, 0.00667572021484375, 0.0117034912109375, 0.017730712890625, 0.0040435791015625, 0.06866455078125, 0.0061798095703125, -0.0200042724609375, 0.01267242431640625, -0.054443359375, -0.01122283935546875, -0.005046844482421875, 0.03741455078125, -0.035491943359375, 0.0205535888671875, 0.0114593505859375, -0.0194549560546875, 0.037841796875, -0.03350830078125, -0.02764892578125, -0.0161285400390625, -0.005825042724609375, 0.0034008026123046875, 0.0225982666015625, 0.014068603515625, -0.0142669677734375, 0.0245208740234375, -0.0494384765625, -0.03729248046875, 0.004604339599609375, -0.040313720703125, 0.00007069110870361328, 0.023284912109375, -0.01334381103515625, -0.0205230712890625, 0.034149169921875, 0.0253448486328125, 0.0287322998046875, 0.0185546875, -0.005184173583984375, 0.01629638671875, 0.01422119140625, 0.028564453125, -0.021453857421875, 0.00026226043701171875, -0.01548004150390625, 0.01239013671875, -0.00691986083984375, 0.016632080078125, -0.0083160400390625, -0.00798797607421875, -0.06610107421875, -0.08026123046875, 0.07037353515625, -0.00305938720703125, -0.007572174072265625, -0.0223236083984375, -0.03369140625, 0.0265350341796875, 0.10565185546875, -0.0108489990234375, -0.0208587646484375, -0.0207061767578125, -0.01678466796875, -0.0088348388671875, 0.027252197265625, -0.03271484375, -0.00567626953125, -0.05712890625, 0.064453125, 0.0228424072265625, -0.0236968994140625, -0.046905517578125, -0.0007519721984863281, -0.059173583984375, -0.023590087890625, 0.01418304443359375, -0.032684326171875, 0.0128326416015625, 0.019073486328125, -0.0173492431640625, 0.00862884521484375, 0.016387939453125, -0.059539794921875, -0.00949859619140625, 0.00434112548828125, -0.045379638671875, 0.0081787109375, 0.042388916015625, -0.0259246826171875, 0.0121307373046875, 0.0269012451171875, 0.01474761962890625, 0.0220184326171875, -0.01556396484375, 0.01067352294921875, -0.00984954833984375, -0.0081787109375, -0.0028171539306640625, -0.01401519775390625, -0.003276824951171875, 0.0250701904296875, -0.01024627685546875, 0.1021728515625, -0.019256591796875, 0.0249481201171875, 0.002716064453125, -0.02276611328125, 0.007110595703125, -0.015380859375, 0.00103759765625, 0.0328369140625, -0.018341064453125, 0.00048422813415527344, -0.00846099853515625, -0.0005517005920410156, 0.0236663818359375, -0.026580810546875, -0.0064849853515625, 0.02215576171875, 0.054840087890625, 0.0191802978515625, -0.01335906982421875, -0.045318603515625, -0.00958251953125, 0.038787841796875, 0.0176239013671875, 0.0139007568359375, 0.00952911376953125, -0.036163330078125, 0.0457763671875, 0.01403045654296875, -0.0012083053588867188, -0.0181884765625, 0.0638427734375, -0.01580810546875, -0.0240325927734375, 0.0302734375, -0.024871826171875, 0.0067291259765625, 0.0108184814453125, -0.01103973388671875, -0.01690673828125, -0.02667236328125, 0.050140380859375, 0.00988006591796875, -0.0035381317138671875, -0.05718994140625, -0.054718017578125, 0.014068603515625, -0.078369140625, 0.03985595703125, 0.01396942138671875, -0.000988006591796875, 0.03485107421875, -0.00884246826171875, 0.033538818359375, 0.002857208251953125, -0.0202484130859375, -0.030853271484375, 0.0206298828125, 0.0482177734375, 0.00806427001953125, 0.022186279296875, -0.005008697509765625, 0.07427978515625, 0.026824951171875, -0.0345458984375, -0.0223236083984375, 0.00498199462890625, 0.024017333984375, -0.00821685791015625, 0.0078277587890625, 0.0355224609375, 0.0014181137084960938, -0.00582122802734375, 0.0251007080078125, -0.035430908203125, -0.006717681884765625, -0.0321044921875, -0.006313323974609375, 0.0304107666015625, -0.0291748046875, 0.01629638671875, 0.0218048095703125, 0.019195556640625, 0.01099395751953125, -0.0242767333984375, 0.0504150390625, 0.03460693359375, 0.0273895263671875, 0.001316070556640625, 0.004505157470703125, 0.01082611083984375, -0.01548004150390625, -0.006290435791015625, -0.00798797607421875, -0.0246429443359375, 0.02349853515625, 0.0156402587890625, 0.0008502006530761719, 0.01291656494140625, -0.017242431640625, -0.0217742919921875, 0.00873565673828125, -0.00130462646484375, 0.0255584716796875, -0.0179290771484375, 0.01300811767578125, 0.005767822265625, -0.00649261474609375, 0.00394439697265625, -0.014739990234375, 0.018585205078125, -0.035858154296875, 0.022186279296875, -0.01441192626953125, 0.004756927490234375, -0.0013360977172851562, -0.007556915283203125, -0.045806884765625, 0.004619598388671875, 0.027374267578125, -0.05047607421875, -0.040771484375, -0.01313018798828125, -0.01959228515625, 0.037322998046875, -0.00452423095703125, -0.003055572509765625, -0.0208282470703125, 0.005252838134765625, -0.01154327392578125, 0.002002716064453125, 0.03924560546875, -0.005954742431640625, -0.034149169921875, -0.0013704299926757812, -0.04376220703125, -0.0222015380859375, -0.05548095703125, -0.06622314453125, -0.046234130859375, 0.01776123046875, 0.00002866983413696289, 0.0131378173828125, 0.00794219970703125, 0.032318115234375, -0.00901031494140625, 0.04595947265625, -0.007358551025390625, 0.040435791015625, -0.01788330078125, 0.05804443359375, 0.032928466796875, 0.047332763671875, 0.0283660888671875, 0.04425048828125, -0.0006275177001953125, -0.039276123046875, 0.01751708984375, 0.00250244140625, -0.027435302734375, -0.034576416015625, -0.0240020751953125, 0.0093994140625, 0.08026123046875, -0.0099029541015625, 0.0299224853515625, -0.03759765625, -0.004688262939453125, -0.0294647216796875, 0.038238525390625, -0.0457763671875, 0.031341552734375, -0.01006317138671875, -0.003429412841796875, 0.01433563232421875, -0.01593017578125, -0.0201568603515625, 0.0194549560546875, 0.0020599365234375, 0.0114288330078125, -0.00006216764450073242, -0.060546875, 0.06829833984375, 0.06884765625, 0.0016775131225585938, 0.0265045166015625, -0.00533294677734375, 0.005367279052734375, 0.0015668869018554688, 0.04351806640625, -0.024627685546875, -0.05438232421875, 0.0697021484375, 0.034576416015625, -0.035125732421875, 0.06109619140625, -0.03466796875, 0.0474853515625, 0.051025390625, 0.061920166015625, -0.101318359375, 0.025299072265625, -0.006565093994140625, -0.007450103759765625, 0.0797119140625, -0.035552978515625, 0.0004525184631347656, -0.08160400390625, 0.081787109375, 0.01229095458984375, -0.01029205322265625, 0.004199981689453125, -0.044830322265625, -0.007419586181640625, 0.006011962890625, 0.0443115234375, -0.0038700103759765625, -0.0242767333984375, -0.0166168212890625, 0.01015472412109375, -0.005100250244140625, -0.0247039794921875, 0.00408172607421875, -0.0032806396484375, -0.006496429443359375, -0.0281524658203125, 0.043365478515625, -0.0654296875, 0.0268707275390625, 0.05242919921875, 0.00534820556640625, -0.00890350341796875, 0.04266357421875, -0.025970458984375, 0.0343017578125, 0.00875091552734375, -0.02935791015625, -0.037506103515625, -0.036041259765625, 0.024017333984375, 0.0175018310546875, -0.0011987686157226562, 0.039276123046875, -0.007152557373046875, -0.052032470703125, -0.0003974437713623047, 0.055755615234375, 0.081298828125, -0.036895751953125, -0.0309600830078125, 0.040252685546875, 0.004123687744140625, -0.01308441162109375, 0.007595062255859375, -0.00479888916015625, -0.0161285400390625, 0.01261138916015625, -0.005077362060546875, -0.027496337890625, -0.018218994140625, -0.0247344970703125, -0.07623291015625, 0.0777587890625, 0.0188751220703125, 0.0257568359375, -0.0002067089080810547, 0.02362060546875, -0.0220184326171875, 0.0169830322265625, -0.019866943359375, 0.021820068359375, -0.00424957275390625, 0.05487060546875, -0.046875, -0.0221099853515625, 0.0113525390625, 0.0823974609375, 0.03948974609375, 0.00969696044921875, 0.00177001953125, 0.0043792724609375, 0.057373046875, 0.022918701171875, -0.0021572113037109375, 0.018218994140625, -0.0161895751953125, 0.006160736083984375, 0.002899169921875, -0.03790283203125, 0.01776123046875, -0.0289154052734375, -0.0210418701171875, 0.004657745361328125, 0.01010894775390625, 0.002048492431640625, 0.02178955078125, 0.0150146484375, -0.0191497802734375, 0.005855560302734375, 0.0160064697265625, -0.0247650146484375, -0.011627197265625, 0.038177490234375, 0.0205841064453125, -0.03558349609375, -0.02392578125, -0.0259246826171875, 0.040771484375, 0.013946533203125, 0.0233306884765625, 0.02911376953125, 0.0273590087890625, 0.0020904541015625, -0.036956787109375, 0.01441192626953125, 0.007526397705078125, -0.034698486328125, 0.0283966064453125, -0.005535125732421875, 0.022674560546875, -0.050933837890625, -0.03363037109375, -0.0018587112426757812, 0.037628173828125, -0.0185699462890625, 0.00928497314453125, 0.01129150390625, 0.01122283935546875, 0.006229400634765625, -0.0278167724609375, 0.04327392578125, 0.03363037109375, 0.00934600830078125, -0.0210113525390625, -0.027618408203125, -0.01021575927734375, 0.007781982421875, -0.003387451171875, -0.0030269622802734375, 0.0423583984375, -0.00617218017578125, -0.0310821533203125, -0.00519561767578125, 0.01025390625, 0.03375244140625, 0.01322174072265625, 0.045196533203125, -0.00324249267578125, -0.00606536865234375, 0.04107666015625, -0.00104522705078125, -0.005901336669921875, -0.047393798828125, 0.034454345703125, -0.0173492431640625, -0.0117340087890625, 0.00891876220703125, 0.020111083984375, -0.0034046173095703125, -0.001972198486328125, -0.0423583984375, -0.00446319580078125, 0.002819061279296875, -0.00986480712890625, -0.03912353515625, 0.019500732421875, -0.040191650390625, -0.01399993896484375, -0.0009264945983886719, -0.023468017578125, 0.0193634033203125, -0.0384521484375, 0.047943115234375, -0.0187530517578125, 0.041748046875, -0.0005469322204589844, -0.0034389495849609375, 0.03692626953125, -0.01113128662109375, 0.031524658203125, 0.0155792236328125, -0.033050537109375, 0.0017061233520507812, -0.0059814453125, -0.07025146484375, 0.0253448486328125, 0.04351806640625, -0.027984619140625, 0.0200347900390625, -0.020172119140625, 0.017547607421875, 0.019317626953125, -0.049072265625, 0.0249176025390625, -0.011199951171875, 0.006412506103515625, 0.01030731201171875, -0.0645751953125, -0.046539306640625, -0.048980712890625, 0.05633544921875, 0.0350341796875, 0.08929443359375, -0.03057861328125, 0.041473388671875, -0.036895751953125, 0.0318603515625, -0.02764892578125, -0.048583984375, 0.07550048828125, 0.0418701171875, -0.00007623434066772461, -0.026092529296875, -0.035888671875, 0.053192138671875, 0.00371551513671875, -0.00634765625, 0.034881591796875, -0.01557159423828125, -0.007686614990234375, -0.01212310791015625, -0.013946533203125, -0.026580810546875, -0.0233612060546875, 0.0004911422729492188, -0.01369476318359375, 0.0053253173828125, 0.0081787109375, 0.0157012939453125, 0.0689697265625, -0.0263519287109375, 0.013519287109375, -0.00347900390625, -0.044464111328125, -0.0038604736328125, 0.041107177734375, -0.0487060546875, -0.0380859375, 0.0261688232421875, -0.0188751220703125, -0.004978179931640625, -0.0008859634399414062, 0.043426513671875, 0.01300811767578125, -0.0513916015625, 0.008575439453125, -0.0235595703125, 0.038665771484375, -0.04620361328125, 0.001529693603515625, -0.0300445556640625, 0.0245513916015625, 0.032073974609375, -0.041259765625, -0.038543701171875, -0.0623779296875, 0.01267242431640625, 0.042388916015625, -0.0355224609375, 0.0000508427619934082, -0.057647705078125, -0.033843994140625, 0.0191497802734375, 0.0047454833984375, -0.021148681640625, -0.016204833984375, 0.00441741943359375, 0.0247802734375, -0.01290130615234375, 0.00287628173828125, 0.0273895263671875, 0.0570068359375, -0.03302001953125, -0.00882720947265625, -0.0083160400390625, -0.005695343017578125, -0.0115509033203125, 0.0728759765625, 0.08148193359375, -0.05352783203125, 0.022125244140625, 0.09393310546875, 0.054779052734375, 0.1611328125, -0.014739990234375, 0.0087890625, 0.054290771484375, -0.01531982421875, -0.0496826171875, -0.06756591796875, 0.0178070068359375, -0.06561279296875, 0.01020050048828125, 0.004192352294921875, 0.027679443359375, 0.049468994140625, -0.034027099609375, -0.11895751953125, 0.041259765625, -0.041595458984375, -0.038116455078125, -0.054412841796875, 0.0040740966796875, 0.01145172119140625, 0.00916290283203125, -0.0198974609375, -0.01242828369140625, -0.0284271240234375, 0.0308990478515625, 0.00640869140625, 0.026947021484375, 0.03802490234375, 0.0099639892578125, -0.0110626220703125, 0.00018155574798583984, -0.004299163818359375, -0.00853729248046875, -0.017547607421875, -0.0269775390625, 0.0183868408203125, 0.019866943359375, -0.040435791015625, -0.06585693359375, -0.0031032562255859375, 0.030792236328125, -0.0132904052734375, -0.002651214599609375, 0.0062408447265625, 0.019775390625, 0.0150604248046875, 0.0672607421875, -0.002689361572265625, -0.049468994140625, 0.0406494140625, -0.008697509765625, -0.0838623046875, -0.031585693359375, 0.031585693359375, -0.048736572265625, -0.0231170654296875, 0.0032024383544921875, -0.005481719970703125, -0.02166748046875, -0.034271240234375, -0.03448486328125, -0.0028057098388671875, -0.038299560546875, -0.00586700439453125, 0.0033111572265625, -0.002960205078125, 0.07464599609375, -0.0413818359375, 0.0221405029296875, -0.029632568359375, 0.022857666015625, 0.044036865234375, -0.07904052734375, -0.0134124755859375, 0.0015497207641601562, -0.009552001953125, 0.008087158203125, 0.0021762847900390625, 0.0262603759765625, -0.004734039306640625, -0.0188751220703125, -0.0011463165283203125, 0.02099609375, -0.00150299072265625, 0.0037841796875, -0.012908935546875, 0.057647705078125, -0.0087738037109375, 0.053863525390625, -0.003284454345703125, 0.013092041015625, -0.0210113525390625, 0.050750732421875, -0.029571533203125, -0.0126800537109375, -0.0322265625, -0.0036163330078125, -0.0015611648559570312, -0.0105133056640625, -0.02069091796875, -0.02789306640625, 0.029052734375, 0.0272064208984375, -0.01476287841796875, 0.0355224609375 ]
a08b7d2138683b25c1f727b53934f56f0cd4fc98
Wordpress Stackexchange Q: Track logged in users' visits Is there a way to track logged in user activity? I'd like to see who logged in to the site each day and maybe see a specific persons login history. Currently I have no idea which of the registered users are visiting my site. It's a private family site with ~20 members and I'm just curious to know who is and who isn't using it. A: As it's a small site, you can do some "real" tracking: // Update the visit time on *every* request function wpse32258_update_usertracking(){ if ( is_user_logged_in() ) { $user_ID = get_current_user_id(); $data = get_user_meta( $user_ID, 'user_tracking' ); $data[] = current_time( 'timestamp', true ); update_user_meta( $user_ID, 'user_tracking', $data ); } } add_action( 'init', 'wpse32258_update_usertracking' ); // Output the user visit dates below the footer for admin function wpse32258_get_usertracking(){ if ( ! current_user_can( 'manage_options' ) ) return; $data = array(); foreach ( get_users() as $user ){ $dates = get_user_meta( $user->ID, 'user_tracking' ); echo "<h3>{$user->first_name} {$user->last_name}</h3><hr />"; foreach ( $dates as $date ) echo "{$date}\n"; echo '<hr />'; } } add_action( 'shutdown', 'wpse32258_get_usertracking' );
Q: Track logged in users' visits Is there a way to track logged in user activity? I'd like to see who logged in to the site each day and maybe see a specific persons login history. Currently I have no idea which of the registered users are visiting my site. It's a private family site with ~20 members and I'm just curious to know who is and who isn't using it. A: As it's a small site, you can do some "real" tracking: // Update the visit time on *every* request function wpse32258_update_usertracking(){ if ( is_user_logged_in() ) { $user_ID = get_current_user_id(); $data = get_user_meta( $user_ID, 'user_tracking' ); $data[] = current_time( 'timestamp', true ); update_user_meta( $user_ID, 'user_tracking', $data ); } } add_action( 'init', 'wpse32258_update_usertracking' ); // Output the user visit dates below the footer for admin function wpse32258_get_usertracking(){ if ( ! current_user_can( 'manage_options' ) ) return; $data = array(); foreach ( get_users() as $user ){ $dates = get_user_meta( $user->ID, 'user_tracking' ); echo "<h3>{$user->first_name} {$user->last_name}</h3><hr />"; foreach ( $dates as $date ) echo "{$date}\n"; echo '<hr />'; } } add_action( 'shutdown', 'wpse32258_get_usertracking' ); A: I have tried all the plugins listed here, and while some of them were really cool I felt like there were some things lacking. So recently some friends and I released a plugin called Stream which tracks every change made by logged-in WordPress users. The plugin is similar to the ones listed here except that every change is organized by user, context, action and IP address to allow for robust filtering/searching. More information: * *http://www.wptavern.com/stream-a-wordpress-plugin-to-track-and-monitor-changes-in-the-admin *http://x-team.com/2013/12/stream-track-every-change-made-on-your-wordpress-site/ *https://github.com/x-team/wp-stream A: You may try these plugins: * *Simple history *ThreeWP Activity Monitor Or you may check this articles about log user activity plugins: * *http://wpmu.org/wordpress-activity-log/ *http://www.thewebdesignbay.com/wordpress/wordpress-plugins-track-users-statistics A: Yes, there a way to track logged in user activity in wordpress. With help of One WordPress Plugin use can easily track and monitor user's login and activity. I would like you to check this Plugin: https://wordpress.org/plugins/user-activity-log/ I'm sure you would satisfy with it.
wordpress
{ "language": "en", "length": 330, "provenance": "stackexchange_00019.jsonl.gz:414178", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32258" }
[ 0.0438232421875, 0.005474090576171875, -0.05047607421875, -0.0584716796875, 0.03857421875, -0.044891357421875, -0.004795074462890625, 0.0030384063720703125, 0.017578125, -0.0015974044799804688, -0.01029205322265625, -0.0200042724609375, -0.0377197265625, -0.044464111328125, -0.032684326171875, -0.0400390625, 0.026458740234375, -0.0203399658203125, 0.01413726806640625, -0.00714111328125, -0.0164947509765625, 0.017364501953125, 0.0416259765625, 0.0296173095703125, -0.00348663330078125, -0.01244354248046875, 0.034271240234375, 0.014556884765625, 0.019439697265625, 0.014739990234375, 0.01290130615234375, -0.04180908203125, -0.01910400390625, 0.0360107421875, 0.01549530029296875, 0.035430908203125, 0.0017328262329101562, 0.0270843505859375, 0.04351806640625, -0.001617431640625, 0.001415252685546875, 0.01332855224609375, -0.00920867919921875, -0.02301025390625, -0.0280914306640625, -0.0457763671875, 0.0357666015625, 0.0037784576416015625, 0.0204620361328125, 0.026519775390625, 0.01258087158203125, 0.036529541015625, 0.0165557861328125, 0.00774383544921875, -0.0022983551025390625, 0.00119781494140625, 0.000019490718841552734, 0.0040740966796875, 0.033111572265625, -0.04681396484375, -0.04248046875, -0.0263671875, 0.049896240234375, -0.0036716461181640625, 0.00032639503479003906, -0.0230865478515625, -0.00634002685546875, 0.0274810791015625, -0.01568603515625, -0.00933837890625, 0.01971435546875, -0.0021514892578125, -0.017547607421875, 0.018798828125, -0.024169921875, -0.04254150390625, 0.0217132568359375, -0.048431396484375, 0.003444671630859375, 0.040069580078125, -0.049530029296875, 0.006778717041015625, -0.08380126953125, 0.024200439453125, -0.0010938644409179688, 0.075439453125, -0.0345458984375, -0.028564453125, -0.005615234375, -0.002079010009765625, -0.017578125, 0.0246429443359375, -0.0011777877807617188, -0.00423431396484375, -0.038299560546875, -0.016082763671875, 0.030670166015625, 0.057098388671875, -0.04925537109375, -0.07977294921875, -0.04498291015625, 0.033935546875, -0.1392822265625, 0.026092529296875, 0.0209503173828125, 0.0489501953125, 0.0106353759765625, 0.05657958984375, 0.052520751953125, 0.01678466796875, 0.0141143798828125, 0.0262908935546875, -0.006221771240234375, -0.019927978515625, -0.00213623046875, 0.0272979736328125, -0.0237274169921875, 0.0246429443359375, -0.00820159912109375, 0.0196533203125, 0.0026035308837890625, 0.012847900390625, -0.0293731689453125, 0.0014295578002929688, -0.00531768798828125, -0.0218353271484375, -0.01161956787109375, 0.0135955810546875, -0.025665283203125, 0.021148681640625, -0.033966064453125, 0.0193328857421875, 0.04193115234375, 0.0033321380615234375, -0.01116943359375, -0.004364013671875, 0.0225982666015625, -0.053375244140625, -0.04632568359375, 0.07769775390625, -0.01678466796875, -0.088134765625, -0.049896240234375, -0.02618408203125, 0.00211334228515625, 0.009307861328125, 0.01427459716796875, 0.002521514892578125, 0.0021495819091796875, -0.03326416015625, 0.0034351348876953125, -0.0024566650390625, -0.006134033203125, 0.002685546875, 0.023284912109375, 0.0237274169921875, -0.006290435791015625, 0.00496673583984375, -0.01934814453125, 0.0208740234375, 0.01418304443359375, 0.007671356201171875, -0.02117919921875, -0.0006341934204101562, -0.03326416015625, -0.0169219970703125, 0.0218048095703125, -0.0010204315185546875, 0.0221099853515625, -0.0245208740234375, 0.0198974609375, -0.0024566650390625, 0.04913330078125, -0.003200531005859375, -0.0003788471221923828, 0.01062774658203125, -0.038726806640625, 0.06268310546875, 0.0081634521484375, -0.016021728515625, -0.0061187744140625, -0.046417236328125, 0.037078857421875, 0.01352691650390625, -0.0277252197265625, 0.05072021484375, -0.0086822509765625, 0.0085296630859375, 0.01314544677734375, -0.0171661376953125, -0.00440216064453125, 0.0634765625, 0.0010118484497070312, 0.01947021484375, 0.023345947265625, -0.036285400390625, -0.012542724609375, -0.0099639892578125, 0.000701904296875, -0.0251007080078125, 0.051300048828125, 0.00789642333984375, 0.0055084228515625, -0.020172119140625, -0.07049560546875, 0.0170440673828125, -0.033294677734375, 0.03143310546875, 0.0036258697509765625, 0.02880859375, 0.0093536376953125, 0.01506805419921875, -0.0300445556640625, 0.0005421638488769531, -0.0007481575012207031, 0.031524658203125, -0.007770538330078125, 0.045989990234375, 0.0181884765625, 0.044708251953125, 0.01364898681640625, -0.01910400390625, 0.01380157470703125, -0.0085296630859375, 0.0170440673828125, 0.00313568115234375, -0.0186767578125, -0.0025081634521484375, 0.0171051025390625, 0.0036106109619140625, -0.00846099853515625, 0.0307769775390625, 0.0225830078125, 0.043609619140625, -0.0021724700927734375, -0.006378173828125, 0.006244659423828125, -0.0694580078125, 0.0088043212890625, 0.041351318359375, 0.034515380859375, 0.036865234375, -0.00238037109375, 0.00045228004455566406, 0.048431396484375, -0.0296630859375, 0.005031585693359375, -0.0034580230712890625, -0.01555633544921875, 0.0196990966796875, 0.00428009033203125, 0.0318603515625, 0.01509857177734375, 0.0203704833984375, 0.0175933837890625, 0.031097412109375, -0.003429412841796875, -0.0077362060546875, -0.0005717277526855469, 0.016021728515625, -0.006870269775390625, -0.04534912109375, -0.0157012939453125, -0.0169677734375, -0.0182952880859375, -0.03717041015625, -0.01222991943359375, -0.01355743408203125, -0.00902557373046875, -0.033355712890625, 0.028839111328125, -0.00921630859375, 0.0007772445678710938, 0.0233001708984375, -0.00580596923828125, -0.0030460357666015625, -0.0265350341796875, -0.0008111000061035156, 0.01702880859375, -0.004016876220703125, 0.01468658447265625, 0.00749969482421875, 0.01268768310546875, -0.0060272216796875, 0.0250396728515625, -0.0113525390625, 0.01235198974609375, 0.03411865234375, -0.036376953125, -0.00795745849609375, 0.03485107421875, 0.0040435791015625, -0.03314208984375, -0.0022220611572265625, 0.0006322860717773438, -0.0183258056640625, -0.01715087890625, -0.01233673095703125, 0.01232147216796875, -0.035064697265625, 0.029144287109375, 0.059173583984375, -0.00012218952178955078, -0.008697509765625, -0.0158233642578125, -0.0270843505859375, -0.025177001953125, 0.004314422607421875, -0.0179290771484375, -0.056610107421875, 0.0178680419921875, 0.072509765625, 0.01812744140625, 0.07830810546875, -0.032989501953125, -0.04205322265625, -0.037628173828125, 0.01763916015625, -0.07220458984375, -0.06805419921875, -0.061187744140625, -0.148193359375, -0.0010833740234375, -0.0299835205078125, -0.0806884765625, 0.043243408203125, 0.0202178955078125, 0.035491943359375, -0.052947998046875, 0.00826263427734375, -0.00611114501953125, -0.02679443359375, -0.015838623046875, 0.0015115737915039062, 0.000012814998626708984, 0.009033203125, -0.0149383544921875, 0.0282440185546875, -0.020477294921875, -0.06927490234375, -0.06292724609375, 0.0135345458984375, 0.0025177001953125, -0.031219482421875, -0.045654296875, 0.02349853515625, 0.008575439453125, 0.0008101463317871094, -0.035430908203125, -0.01155853271484375, 0.020233154296875, -0.02752685546875, 0.0038242340087890625, -0.016082763671875, 0.04229736328125, -0.035186767578125, -0.04974365234375, 0.039581298828125, 0.043426513671875, -0.019744873046875, 0.051300048828125, 0.007366180419921875, 0.0007381439208984375, -0.0535888671875, -0.0079498291015625, -0.0210113525390625, 0.0126495361328125, -0.042938232421875, 0.057769775390625, 0.058074951171875, -0.04473876953125, 0.043182373046875, 0.0009527206420898438, 0.0018720626831054688, 0.042694091796875, 0.0027618408203125, -0.0107574462890625, -0.01136016845703125, 0.0261383056640625, -0.016510009765625, 0.018157958984375, -0.01806640625, 0.03204345703125, -0.044952392578125, -0.0259246826171875, 0.059844970703125, 0.015380859375, -0.0005340576171875, -0.0303802490234375, -0.037139892578125, -0.0170440673828125, 0.06463623046875, -0.05340576171875, 0.0022754669189453125, 0.0308685302734375, 0.007778167724609375, -0.050079345703125, 0.004291534423828125, -0.09722900390625, -0.0042724609375, -0.08990478515625, -0.01522064208984375, 0.0001270771026611328, -0.057403564453125, 0.00885009765625, -0.0292205810546875, -0.057159423828125, -0.05133056640625, -0.002803802490234375, 0.037200927734375, -0.00030922889709472656, -0.0111236572265625, -0.01397705078125, -0.00643157958984375, 0.01169586181640625, -0.0249786376953125, -0.03033447265625, -0.0124664306640625, -0.010284423828125, 0.0321044921875, 0.0270843505859375, -0.031494140625, 0.0030384063720703125, 0.034942626953125, 0.004207611083984375, -0.01971435546875, -0.0004622936248779297, -0.006717681884765625, 0.04266357421875, 0.0225830078125, -0.005146026611328125, 0.003948211669921875, -0.01390838623046875, -0.034759521484375, -0.0296783447265625, 0.017608642578125, -0.0282135009765625, 0.04302978515625, -0.016357421875, -0.007183074951171875, -0.01427459716796875, 0.0017576217651367188, -0.005062103271484375, 0.03033447265625, -0.018951416015625, 0.0044708251953125, -0.00860595703125, -0.050933837890625, 0.0594482421875, 0.0239715576171875, -0.0178070068359375, -0.0142364501953125, 0.0306396484375, 0.01708984375, -0.035736083984375, 0.003814697265625, 0.01039886474609375, 0.0251922607421875, -0.032196044921875, 0.0484619140625, 0.00800323486328125, -0.037628173828125, 0.0845947265625, -0.01515960693359375, 0.023651123046875, -0.02838134765625, 0.040863037109375, -0.01068878173828125, -0.026214599609375, 0.032867431640625, -0.0216827392578125, 0.0012922286987304688, 0.0059051513671875, -0.02044677734375, -0.001209259033203125, -0.0201568603515625, 0.02728271484375, -0.0212860107421875, 0.035736083984375, -0.01190948486328125, -0.04791259765625, 0.006427764892578125, -0.0377197265625, 0.02862548828125, 0.03424072265625, -0.01541900634765625, 0.03546142578125, 0.01055145263671875, -0.0201263427734375, -0.014892578125, -0.047698974609375, 0.0245819091796875, -0.00144195556640625, 0.01189422607421875, -0.002941131591796875, -0.00516510009765625, 0.0010480880737304688, 0.045196533203125, -0.026031494140625, -0.0819091796875, 0.0325927734375, -0.0295867919921875, 0.014801025390625, 0.065185546875, -0.0189361572265625, 0.06268310546875, 0.039337158203125, -0.0357666015625, -0.016204833984375, -0.040496826171875, 0.007232666015625, -0.068359375, 0.0137786865234375, -0.0099334716796875, -0.0005197525024414062, 0.01222991943359375, 0.07916259765625, -0.0207366943359375, 0.048431396484375, -0.0139617919921875, 0.049285888671875, 0.037506103515625, 0.0131378173828125, 0.01435089111328125, 0.006206512451171875, -0.034515380859375, 0.021759033203125, -0.0168304443359375, -0.0154571533203125, 0.020843505859375, 0.0413818359375, 0.025421142578125, 0.031646728515625, -0.01065826416015625, -0.01531982421875, -0.0262908935546875, 0.007488250732421875, -0.01030731201171875, -0.026397705078125, -0.0167388916015625, -0.006160736083984375, -0.0007905960083007812, -0.0021495819091796875, -0.0212554931640625, 0.035247802734375, -0.0277252197265625, -0.002960205078125, -0.0030269622802734375, -0.0027008056640625, 0.006931304931640625, -0.051910400390625, -0.050506591796875, -0.0640869140625, -0.04296875, 0.00450897216796875, -0.035858154296875, -0.0049591064453125, -0.00685882568359375, -0.0184478759765625, 0.0213623046875, -0.0183868408203125, 0.024139404296875, -0.0311279296875, 0.006908416748046875, -0.04150390625, -0.01410675048828125, 0.0628662109375, 0.045684814453125, -0.008941650390625, 0.00800323486328125, -0.04833984375, -0.0107421875, -0.019439697265625, -0.05072021484375, 0.0008420944213867188, -0.0233154296875, 0.036956787109375, 0.0176544189453125, 0.0147247314453125, -0.037384033203125, 0.00727081298828125, -0.0016765594482421875, 0.014617919921875, 0.040374755859375, -0.0144805908203125, 0.078369140625, -0.0305938720703125, 0.027374267578125, 0.01070404052734375, 0.0511474609375, -0.0209197998046875, 0.001331329345703125, 0.01415252685546875, 0.041595458984375, -0.018646240234375, -0.060394287109375, 0.0124053955078125, -0.044830322265625, 0.08465576171875, -0.022796630859375, -0.0243988037109375, -0.00402069091796875, 0.0020351409912109375, -0.01155853271484375, 0.034149169921875, 0.035797119140625, -0.0052642822265625, 0.00556182861328125, 0.032073974609375, 0.0003914833068847656, -0.032379150390625, -0.0158843994140625, -0.0172271728515625, 0.042236328125, -0.00513458251953125, -0.05804443359375, -0.020660400390625, -0.004425048828125, 0.0465087890625, 0.01352691650390625, 0.050018310546875, 0.00433349609375, 0.04241943359375, 0.06561279296875, -0.01212310791015625, -0.01751708984375, 0.059906005859375, 0.060791015625, -0.0157623291015625, -0.0178375244140625, 0.0103302001953125, -0.0149078369140625, -0.0103607177734375, 0.01666259765625, 0.006206512451171875, -0.047637939453125, 0.0170440673828125, -0.006092071533203125, 0.021148681640625, 0.049041748046875, 0.0124053955078125, -0.03106689453125, -0.03204345703125, 0.026641845703125, -0.043426513671875, -0.0162353515625, 0.0160980224609375, 0.01313018798828125, 0.010894775390625, -0.01995849609375, 0.00954437255859375, -0.01425933837890625, 0.0167083740234375, -0.054931640625, -0.0095062255859375, -0.007648468017578125, -0.04681396484375, -0.0007433891296386719, 0.026641845703125, -0.01111602783203125, -0.07757568359375, 0.033203125, -0.007110595703125, 0.0295562744140625, 0.000017464160919189453, -0.0153961181640625, 0.08087158203125, 0.0263824462890625, 0.0121307373046875, -0.0159149169921875, -0.006824493408203125, 0.0277557373046875, -0.0035533905029296875, -0.00792694091796875, 0.01103973388671875, 0.01244354248046875, -0.0112457275390625, 0.01458740234375, -0.01050567626953125, -0.024169921875, -0.011016845703125, -0.018951416015625, 0.041656494140625, -0.0030002593994140625, -0.025787353515625, 0.0032672882080078125, 0.033355712890625, 0.00897979736328125, 0.005512237548828125, 0.0242919921875, -0.040496826171875, -0.01558685302734375, 0.01273345947265625, -0.04107666015625, -0.00969696044921875, 0.01076507568359375, -0.01555633544921875, 0.0257415771484375, -0.0181121826171875, -0.0216064453125, 0.01186370849609375, 0.00885009765625, -0.0032978057861328125, -0.0085296630859375, -0.050872802734375, 0.07806396484375, -0.004322052001953125, 0.08001708984375, -0.0704345703125, -0.0209197998046875, 0.03765869140625, 0.0318603515625, 0.04608154296875, 0.0253753662109375, -0.044403076171875, -0.03887939453125, -0.04217529296875, -0.018768310546875, -0.0262451171875, 0.06719970703125, 0.0005431175231933594, 0.044281005859375, 0.06976318359375, -0.0306396484375, 0.04827880859375, 0.00722503662109375, -0.02978515625, 0.0075531005859375, -0.01001739501953125, -0.04290771484375, -0.031707763671875, 0.0025691986083984375, -0.007564544677734375, -0.022308349609375, -0.0272674560546875, 0.03814697265625, -0.0135955810546875, 0.058563232421875, 0.0204620361328125, -0.0109100341796875, -0.017791748046875, -0.018310546875, 0.040771484375, -0.0023975372314453125, -0.01898193359375, -0.003631591796875, 0.0139007568359375, 0.00022411346435546875, -0.046051025390625, -0.044158935546875, 0.0222930908203125, -0.0086669921875, 0.06207275390625, 0.0132598876953125, 0.0261993408203125, -0.05316162109375, -0.021331787109375, 0.03857421875, 0.10198974609375, -0.039459228515625, -0.041168212890625, -0.0042877197265625, -0.0006623268127441406, 0.036651611328125, 0.0322265625, 0.0867919921875, -0.0017786026000976562, 0.0267791748046875, -0.0379638671875, -0.01070404052734375, 0.00921630859375, 0.01273345947265625, 0.0052490234375, 0.01549530029296875, -0.0131072998046875, -0.0220184326171875, -0.007419586181640625, -0.01477813720703125, -0.003040313720703125, -0.029266357421875, 0.0252227783203125, -0.01666259765625, 0.060394287109375, 0.0177459716796875, 0.004154205322265625, -0.007274627685546875, -0.0063323974609375, -0.005218505859375, 0.00682830810546875, 0.004611968994140625, -0.0282135009765625, 0.0258636474609375, 0.016937255859375, 0.005889892578125, 0.02850341796875, 0.0200653076171875, -0.003993988037109375, 0.004634857177734375, 0.012542724609375, -0.0222930908203125, -0.035186767578125, -0.0245819091796875, -0.0260467529296875, 0.016693115234375, 0.004634857177734375, 0.019012451171875, 0.007038116455078125, 0.02142333984375, -0.0361328125, 0.044097900390625, -0.004749298095703125, -0.0022678375244140625, -0.00186920166015625, -0.0005164146423339844, 0.038482666015625, -0.001316070556640625, -0.0139923095703125, 0.0270233154296875, -0.032135009765625, -0.053253173828125, -0.00701141357421875, 0.0220947265625, -0.0217132568359375, 0.046356201171875, 0.0291748046875, -0.00405120849609375, 0.0419921875, -0.01496124267578125, -0.00583648681640625, -0.01367950439453125, 0.037322998046875, -0.0213623046875, -0.0293121337890625, -0.0136566162109375, -0.0009660720825195312, 0.016510009765625, -0.007038116455078125, 0.0211639404296875, 0.01152801513671875, 0.01045989990234375, -0.0308074951171875, 0.00420379638671875, -0.034027099609375, -0.034027099609375, 0.039459228515625, -0.028167724609375, -0.031829833984375, 0.003765106201171875, -0.072265625, 0.02923583984375, 0.03179931640625, 0.0254058837890625, 0.04034423828125, -0.0171661376953125, 0.00836181640625, -0.0161285400390625, 0.0220794677734375, -0.0157470703125, -0.01442718505859375, -0.00818634033203125, -0.0061798095703125, 0.039459228515625, 0.023956298828125, -0.009124755859375, 0.0297088623046875, -0.0133056640625, -0.01059722900390625, 0.00647735595703125, -0.0079345703125, -0.00385284423828125, 0.02410888671875, -0.018463134765625, 0.044342041015625, -0.0146942138671875, -0.023284912109375, 0.00690460205078125, 0.0154876708984375, -0.02117919921875, -0.0086212158203125, 0.042327880859375, 0.049713134765625, 0.0262908935546875, 0.053009033203125, 0.0017547607421875, 0.0025653839111328125, 0.01995849609375, 0.00008594989776611328, 0.0032787322998046875, -0.06329345703125, -0.03167724609375, -0.0277252197265625, -0.00217437744140625, 0.0209197998046875, 0.000009179115295410156, -0.003849029541015625, -0.039886474609375, -0.00002199411392211914, 0.0137176513671875, -0.001983642578125, -0.028411865234375, 0.0189666748046875, -0.02374267578125, -0.0040435791015625, -0.0208892822265625, -0.042449951171875, 0.015960693359375, 0.03765869140625, -0.016754150390625, 0.016815185546875, -0.0291290283203125, -0.0280914306640625, -0.0078277587890625, -0.01519775390625, 0.0038318634033203125, 0.02105712890625, -0.05029296875, -0.006343841552734375, -0.055999755859375, 0.0202789306640625, -0.039276123046875, -0.023345947265625, -0.0130157470703125, 0.016876220703125, 0.0111541748046875, -0.026458740234375, -0.01470184326171875, 0.007350921630859375, -0.011962890625, 0.0360107421875, -0.027374267578125, 0.0232391357421875, -0.0362548828125, -0.11053466796875, 0.11114501953125, -0.0253753662109375, -0.038543701171875, -0.08721923828125, 0.059539794921875, 0.0258331298828125, -0.039215087890625, -0.037261962890625, -0.01515960693359375, -0.006786346435546875, 0.03228759765625, 0.0276031494140625, -0.048583984375, 0.057952880859375, 0.00926971435546875, -0.08563232421875, -0.0171966552734375, -0.018524169921875, -0.021942138671875, 0.0133819580078125, 0.006267547607421875, 0.056671142578125, 0.058685302734375, -0.00576019287109375, 0.035125732421875, 0.0019702911376953125, -0.020263671875, -0.0203704833984375, -0.031707763671875, -0.032379150390625, -0.0081634521484375, 0.07421875, 0.0672607421875, 0.0131988525390625, -0.05084228515625, -0.045623779296875, -0.03839111328125, -0.008697509765625, 0.0016298294067382812, 0.0207672119140625, -0.06915283203125, 0.0123138427734375, 0.0216522216796875, -0.0085906982421875, -0.00940704345703125, 0.03765869140625, -0.020263671875, 0.01065826416015625, 0.076904296875, 0.0016164779663085938, -0.024169921875, -0.00534820556640625, -0.0013256072998046875, -0.027069091796875, -0.062164306640625, 0.0021915435791015625, 0.005512237548828125, -0.05145263671875, -0.023345947265625, 0.021148681640625, 0.01143646240234375, 0.000045299530029296875, -0.000255584716796875, 0.0372314453125, 0.0264434814453125, -0.00579833984375, -0.031280517578125, -0.00672149658203125, -0.01198577880859375, 0.0012874603271484375, -0.009063720703125, -0.01175689697265625, -0.014801025390625, -0.0070953369140625, -0.01477813720703125, 0.005832672119140625, -0.03399658203125, -0.0264129638671875, 0.05426025390625, 0.00572967529296875, -0.036529541015625, 0.0081939697265625, -0.004604339599609375, -0.003223419189453125, -0.03643798828125, -0.0428466796875, -0.061614990234375, 0.0155792236328125, -0.016845703125, -0.0302276611328125, 0.03271484375 ]
b780301cdf580d2309380b76c9f0e38dd330c6f6
Wordpress Stackexchange Q: hook a functions to change wp-config from functions.php is there a way to hook / filter or add action that would be printed in the wp-config file? lets say i want to add some simple command like "empty the trash" aka define('EMPTY_TRASH_DAYS', 1 ); This should be changes in the wp-config but i want it to go with theme.. Any way to do that? A: You can just redefine it in your functions.php file (call define with the key/value you want). Since it loads later, it's going to be replaced with your value. I just tried this with a plugin, it generated some unexpected output errors, but it worked. That said, if this is a theme for public consumption, it is definitely not your job to change site wide configuration options without consulting your users. If it's for a client, you should be able to edit their wp-config directly. You're better off to use xref (or something like ack-grep) to search for where the constant is used and how. Are there hooks in those functions/whatever that you could used to accomplish the same thing as redefining the variable?
Q: hook a functions to change wp-config from functions.php is there a way to hook / filter or add action that would be printed in the wp-config file? lets say i want to add some simple command like "empty the trash" aka define('EMPTY_TRASH_DAYS', 1 ); This should be changes in the wp-config but i want it to go with theme.. Any way to do that? A: You can just redefine it in your functions.php file (call define with the key/value you want). Since it loads later, it's going to be replaced with your value. I just tried this with a plugin, it generated some unexpected output errors, but it worked. That said, if this is a theme for public consumption, it is definitely not your job to change site wide configuration options without consulting your users. If it's for a client, you should be able to edit their wp-config directly. You're better off to use xref (or something like ack-grep) to search for where the constant is used and how. Are there hooks in those functions/whatever that you could used to accomplish the same thing as redefining the variable? A: There is, as far as I know, no way to hook into wp-config.php from a Theme. For one, wp-config.php shouldn't be writeable; for another, wp-config.php is executed well-before a Theme's functions.php file is parsed. For a great overview of how WordPress boots, have a look at this two-part post by Theme.FM (part 1, part 2) or this Explanation with a flowchart by @Rarst. You might want to look into removing the define() from wp-config.php, and moving it into the Theme? I'll have to look to see where it gets used, but there's a good chance that WordPress won't have looked for it before functions.php gets parsed. EDIT As per @ChristopherDavis' comment below, EMPTY_TRASH_DAYS gets defined at wp-settings.php, via default-constants.php. So, you have to define it in wp-config.php, if you want to override the default. p.s. why would you want to define the number of trash days in a Theme, anyway?
wordpress
{ "language": "en", "length": 340, "provenance": "stackexchange_00019.jsonl.gz:414187", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32277" }
[ 0.0170135498046875, -0.0205078125, -0.02569580078125, -0.03692626953125, -0.005725860595703125, -0.03082275390625, 0.005367279052734375, 0.0094146728515625, -0.0113372802734375, 0.00888824462890625, -0.0283355712890625, 0.010528564453125, -0.006481170654296875, -0.0170135498046875, -0.0031337738037109375, -0.050048828125, 0.03985595703125, -0.036163330078125, 0.00405120849609375, -0.0170135498046875, -0.0027561187744140625, 0.0191802978515625, 0.01482391357421875, 0.08013916015625, 0.023956298828125, -0.01171112060546875, 0.0511474609375, -0.0478515625, 0.0175323486328125, -0.0074615478515625, 0.0250244140625, 0.0027008056640625, 0.00011754035949707031, 0.051300048828125, -0.031005859375, 0.0086822509765625, 0.0189208984375, 0.0089263916015625, 0.0035266876220703125, 0.042724609375, 0.0340576171875, -0.017059326171875, -0.0089874267578125, 0.044036865234375, -0.004398345947265625, -0.04669189453125, 0.0428466796875, -0.0305633544921875, 0.0109710693359375, -0.0288543701171875, 0.01216888427734375, 0.022796630859375, 0.0299530029296875, -0.0158538818359375, -0.0172576904296875, 0.0031585693359375, -0.031341552734375, 0.0126800537109375, 0.015869140625, 0.03204345703125, -0.001415252685546875, 0.0010557174682617188, 0.004150390625, -0.0260162353515625, 0.044189453125, -0.0113372802734375, -0.0005383491516113281, 0.0523681640625, -0.04034423828125, 0.0248870849609375, 0.024658203125, -0.0447998046875, -0.0158538818359375, -0.01068115234375, 0.0155029296875, -0.034698486328125, 0.01143646240234375, -0.033721923828125, 0.0110931396484375, 0.03582763671875, 0.0269012451171875, -0.06634521484375, 0.0214080810546875, 0.0133056640625, 0.00450897216796875, 0.034393310546875, 0.008880615234375, -0.00339508056640625, 0.0007886886596679688, 0.00003731250762939453, -0.00872039794921875, 0.0238800048828125, -0.0078582763671875, -0.0112152099609375, -0.00484466552734375, -0.040252685546875, 0.01959228515625, -0.0009636878967285156, -0.01061248779296875, 0.026641845703125, 0.0077667236328125, -0.0290679931640625, 0.0352783203125, -0.01092529296875, 0.01386260986328125, 0.06982421875, 0.01483917236328125, 0.0330810546875, 0.0225067138671875, 0.022216796875, 0.011322021484375, -0.00728607177734375, 0.00270843505859375, -0.0026111602783203125, -0.0517578125, -0.0006232261657714844, -0.0198211669921875, -0.0111846923828125, -0.01971435546875, 0.004131317138671875, 0.008331298828125, 0.019134521484375, 0.02972412109375, 0.040557861328125, -0.031097412109375, -0.005016326904296875, 0.0033435821533203125, -0.063720703125, -0.0478515625, -0.0240325927734375, -0.0269012451171875, 0.026123046875, 0.08514404296875, 0.0555419921875, 0.00936126708984375, -0.009246826171875, 0.051849365234375, 0.00873565673828125, 0.01358795166015625, 0.004573822021484375, 0.036224365234375, -0.0285186767578125, -0.047607421875, 0.0181427001953125, 0.012451171875, 0.004718780517578125, 0.0195770263671875, 0.015106201171875, -0.005084991455078125, -0.0204315185546875, 0.023956298828125, -0.048919677734375, 0.026153564453125, 0.02685546875, 0.02264404296875, 0.01371002197265625, 0.04541015625, -0.020721435546875, -0.0264739990234375, -0.01568603515625, -0.0089569091796875, -0.03790283203125, -0.0268402099609375, 0.006717681884765625, -0.0250244140625, 0.055938720703125, 0.022186279296875, 0.0038394927978515625, 0.0228271484375, -0.0204925537109375, 0.0543212890625, 0.00662994384765625, 0.01123809814453125, 0.0095367431640625, 0.01399993896484375, -0.008392333984375, -0.0207366943359375, 0.01548004150390625, 0.012969970703125, 0.047882080078125, 0.01070404052734375, -0.027252197265625, 0.05059814453125, 0.0019063949584960938, -0.05938720703125, 0.002262115478515625, 0.01629638671875, 0.069091796875, 0.012939453125, 0.021270751953125, 0.0516357421875, -0.0253753662109375, -0.02734375, -0.0006399154663085938, 0.016510009765625, -0.0296478271484375, 0.0064697265625, -0.0237274169921875, -0.003459930419921875, 0.006595611572265625, 0.0233001708984375, 0.009033203125, 0.022186279296875, -0.0283966064453125, -0.08770751953125, 0.032440185546875, -0.037322998046875, 0.05218505859375, 0.018157958984375, 0.0206298828125, -0.00629425048828125, 0.00969696044921875, 0.003261566162109375, -0.04534912109375, -0.036285400390625, 0.006961822509765625, -0.0184783935546875, 0.05419921875, 0.0182647705078125, 0.050323486328125, 0.031524658203125, -0.01001739501953125, 0.0205078125, -0.029937744140625, 0.0123291015625, -0.0228424072265625, -0.0160980224609375, -0.0296630859375, -0.0235748291015625, -0.0125579833984375, -0.01097869873046875, 0.0552978515625, 0.042449951171875, 0.06658935546875, 0.0015888214111328125, -0.00656890869140625, 0.003444671630859375, -0.07928466796875, 0.0006642341613769531, 0.040802001953125, 0.032379150390625, 0.0095672607421875, -0.00786590576171875, 0.003002166748046875, 0.044342041015625, -0.0283660888671875, 0.017852783203125, -0.0102691650390625, -0.00988006591796875, 0.027313232421875, 0.0251617431640625, 0.00421142578125, -0.006427764892578125, -0.08660888671875, 0.00995635986328125, 0.01284027099609375, -0.0215606689453125, -0.01593017578125, -0.0041961669921875, -0.0022125244140625, 0.004871368408203125, -0.040771484375, -0.03765869140625, -0.0037288665771484375, 0.05157470703125, -0.0142822265625, 0.0232086181640625, 0.005702972412109375, -0.01181793212890625, 0.005523681640625, 0.017181396484375, -0.032989501953125, -0.02410888671875, 0.00311279296875, -0.0240631103515625, 0.0018291473388671875, 0.012664794921875, 0.01535797119140625, -0.05291748046875, -0.01479339599609375, -0.01090240478515625, 0.01099395751953125, -0.004787445068359375, -0.008697509765625, -0.006534576416015625, -0.020904541015625, 0.022491455078125, 0.01317596435546875, -0.01776123046875, -0.01332855224609375, 0.0182037353515625, 0.01032257080078125, -0.03936767578125, 0.027679443359375, -0.0318603515625, -0.022125244140625, -0.0145263671875, -0.044464111328125, 0.0260467529296875, -0.030975341796875, 0.04547119140625, 0.075927734375, 0.0012903213500976562, -0.003749847412109375, 0.015106201171875, -0.0015668869018554688, -0.01262664794921875, 0.021270751953125, 0.00978851318359375, -0.00315093994140625, -0.04840087890625, 0.0281829833984375, 0.0305633544921875, 0.0240631103515625, -0.0185089111328125, -0.0111236572265625, -0.042694091796875, 0.01284027099609375, -0.031219482421875, -0.0025081634521484375, -0.0026493072509765625, -0.01212310791015625, 0.030609130859375, 0.00010180473327636719, 0.0085601806640625, -0.0379638671875, 0.0226593017578125, 0.008544921875, -0.01036834716796875, -0.0292510986328125, -0.01299285888671875, -0.04876708984375, -0.055572509765625, -0.01190948486328125, 0.0162506103515625, 0.01812744140625, -0.007518768310546875, 0.10809326171875, 0.0010881423950195312, -0.0853271484375, -0.031524658203125, -0.005687713623046875, -0.012725830078125, -0.0010929107666015625, 0.034027099609375, -0.036895751953125, 0.0287628173828125, -0.0171356201171875, 0.05377197265625, 0.055450439453125, -0.037628173828125, -0.003814697265625, -0.035003662109375, -0.057159423828125, -0.021209716796875, 0.036285400390625, 0.0279693603515625, -0.029693603515625, 0.032745361328125, -0.0535888671875, -0.0129547119140625, 0.0206298828125, -0.01776123046875, 0.033538818359375, -0.00405120849609375, -0.0341796875, 0.01541900634765625, 0.0196075439453125, -0.0024127960205078125, 0.005828857421875, 0.0003027915954589844, -0.0178070068359375, 0.0246429443359375, -0.0221710205078125, -0.010650634765625, -0.009368896484375, 0.0038242340087890625, -0.022216796875, 0.0026092529296875, -0.007274627685546875, 0.0149078369140625, 0.0135650634765625, -0.0250396728515625, -0.0250701904296875, -0.039215087890625, 0.039154052734375, -0.0185699462890625, 0.02056884765625, -0.02197265625, -0.01067352294921875, -0.005359649658203125, 0.08074951171875, 0.004547119140625, -0.019317626953125, -0.007598876953125, 0.01146697998046875, -0.00841522216796875, -0.037689208984375, -0.0102996826171875, -0.027313232421875, -0.12139892578125, 0.0283050537109375, -0.001873016357421875, -0.023193359375, -0.03265380859375, 0.028564453125, -0.06329345703125, -0.0435791015625, 0.036346435546875, -0.0307159423828125, 0.020904541015625, 0.0236053466796875, -0.01163482666015625, 0.00980377197265625, -0.0283203125, -0.0264129638671875, -0.050994873046875, -0.01312255859375, -0.03594970703125, 0.06939697265625, 0.0277557373046875, -0.0238494873046875, 0.00569915771484375, 0.041656494140625, 0.0236663818359375, -0.009918212890625, 0.0198822021484375, 0.0010223388671875, -0.0251617431640625, -0.0215911865234375, 0.007373809814453125, -0.03985595703125, -0.0292816162109375, -0.00931549072265625, -0.023834228515625, 0.0206756591796875, 0.005237579345703125, 0.0019664764404296875, 0.045623779296875, -0.0172576904296875, -0.07720947265625, -0.021240234375, 0.0009660720825195312, -0.0174102783203125, 0.0029582977294921875, -0.007419586181640625, -0.01258087158203125, -0.042144775390625, 0.0799560546875, -0.0108184814453125, 0.0304107666015625, -0.01332855224609375, 0.11358642578125, -0.00646209716796875, -0.0212860107421875, -0.0264892578125, -0.03277587890625, 0.013519287109375, -0.020751953125, 0.025909423828125, -0.00952911376953125, -0.005725860595703125, 0.02874755859375, -0.033294677734375, 0.02044677734375, -0.05157470703125, 0.059722900390625, 0.0018663406372070312, 0.002655029296875, 0.00811004638671875, 0.00038623809814453125, 0.038543701171875, 0.0094146728515625, -0.028594970703125, -0.00693511962890625, 0.043060302734375, 0.0301513671875, -0.0574951171875, 0.05877685546875, -0.01305389404296875, -0.015838623046875, -0.00867462158203125, 0.0012006759643554688, 0.03387451171875, 0.0190582275390625, 0.002132415771484375, 0.001888275146484375, 0.03204345703125, 0.0238037109375, 0.0016584396362304688, 0.0306854248046875, -0.0274658203125, 0.05560302734375, 0.01123046875, 0.0015058517456054688, -0.0007243156433105469, -0.0166168212890625, 0.033416748046875, -0.0095977783203125, -0.06597900390625, 0.003688812255859375, -0.006809234619140625, 0.0262603759765625, 0.02069091796875, -0.0021514892578125, 0.0189361572265625, -0.0104522705078125, -0.028656005859375, 0.00786590576171875, -0.0094146728515625, -0.03619384765625, -0.0271148681640625, 0.004848480224609375, 0.0281524658203125, -0.027740478515625, 0.058441162109375, -0.0372314453125, 0.043365478515625, -0.006053924560546875, -0.033843994140625, 0.018524169921875, 0.006256103515625, 0.00278472900390625, 0.006450653076171875, 0.03277587890625, -0.00765228271484375, -0.0096435546875, 0.006633758544921875, -0.0177001953125, -0.018218994140625, 0.004383087158203125, -0.005741119384765625, -0.0226593017578125, 0.00897979736328125, 0.032928466796875, 0.0234222412109375, -0.006069183349609375, 0.062408447265625, 0.0001150369644165039, -0.043975830078125, -0.044525146484375, -0.0159759521484375, 0.04412841796875, -0.0185699462890625, 0.006351470947265625, 0.0005478858947753906, -0.01568603515625, 0.007305145263671875, 0.0170440673828125, -0.00792694091796875, -0.0220947265625, -0.033477783203125, -0.048858642578125, -0.007442474365234375, 0.02801513671875, -0.09716796875, -0.046966552734375, -0.00035858154296875, -0.006496429443359375, 0.040771484375, 0.0015344619750976562, -0.00980377197265625, -0.0228118896484375, 0.0002460479736328125, 0.03485107421875, -0.0220489501953125, 0.07928466796875, 0.0182037353515625, -0.08282470703125, -0.004505157470703125, -0.00830078125, -0.00444793701171875, -0.060211181640625, -0.0543212890625, -0.055419921875, 0.0281829833984375, 0.0084991455078125, 0.0440673828125, -0.01192474365234375, -0.016204833984375, 0.01345062255859375, -0.0014257431030273438, -0.007160186767578125, 0.048248291015625, 0.00030303001403808594, -0.0149383544921875, 0.03692626953125, -0.007659912109375, 0.0198211669921875, -0.02862548828125, -0.0102691650390625, -0.01519012451171875, -0.0087432861328125, -0.031768798828125, -0.003490447998046875, 0.00499725341796875, -0.00968170166015625, 0.01480865478515625, 0.04034423828125, -0.004024505615234375, 0.0105743408203125, -0.013092041015625, -0.0034389495849609375, -0.041290283203125, -0.00406646728515625, -0.0077056884765625, 0.0168304443359375, -0.057952880859375, -0.036712646484375, -0.0304412841796875, 0.0218048095703125, 0.00739288330078125, 0.033782958984375, -0.0204010009765625, 0.016082763671875, 0.0038471221923828125, -0.05706787109375, 0.06787109375, 0.0584716796875, 0.00667572021484375, 0.0382080078125, -0.0015115737915039062, 0.010833740234375, -0.0093536376953125, 0.01300811767578125, 0.0035839080810546875, -0.01227569580078125, 0.042755126953125, 0.0063934326171875, 0.0239105224609375, 0.03765869140625, -0.005039215087890625, 0.0002460479736328125, 0.042877197265625, 0.045867919921875, -0.0633544921875, 0.0004818439483642578, 0.0198822021484375, 0.0179901123046875, 0.02301025390625, 0.026947021484375, 0.005367279052734375, 0.010986328125, -0.0195465087890625, -0.037353515625, -0.01336669921875, 0.00960540771484375, -0.0036106109619140625, -0.005222320556640625, -0.0183868408203125, 0.049560546875, 0.01995849609375, -0.015869140625, 0.03887939453125, -0.00560760498046875, 0.0235595703125, 0.003353118896484375, 0.018280029296875, 0.01325225830078125, -0.04132080078125, -0.0643310546875, -0.004627227783203125, 0.0193328857421875, -0.054290771484375, -0.0163726806640625, -0.018096923828125, 0.0198822021484375, 0.0206451416015625, -0.0149383544921875, -0.01617431640625, 0.0058441162109375, -0.0155792236328125, -0.0214385986328125, -0.01381683349609375, 0.0194091796875, 0.012115478515625, -0.050201416015625, 0.0235137939453125, -0.028076171875, -0.029144287109375, -0.008819580078125, -0.028839111328125, 0.05450439453125, -0.0195465087890625, -0.01004791259765625, 0.05859375, 0.00453948974609375, -0.0303955078125, 0.01983642578125, 0.04986572265625, -0.049713134765625, -0.07061767578125, 0.03131103515625, -0.0616455078125, -0.0364990234375, 0.024139404296875, -0.00836944580078125, 0.16259765625, -0.002628326416015625, -0.03240966796875, 0.01450347900390625, 0.08502197265625, -0.032958984375, 0.08551025390625, -0.052032470703125, 0.056060791015625, 0.04095458984375, 0.057159423828125, -0.01532745361328125, -0.01233673095703125, 0.029510498046875, 0.005199432373046875, -0.0309600830078125, -0.004276275634765625, 0.03143310546875, 0.00885009765625, 0.0263214111328125, -0.031219482421875, -0.024932861328125, 0.01934814453125, -0.0011930465698242188, 0.007415771484375, 0.0037555694580078125, -0.0313720703125, 0.0268707275390625, -0.042083740234375, -0.01293182373046875, 0.00829315185546875, 0.00823211669921875, 0.004108428955078125, -0.0259246826171875, 0.034515380859375, -0.05535888671875, -0.0034618377685546875, 0.0260162353515625, 0.0210113525390625, -0.033660888671875, 0.013397216796875, -0.006015777587890625, -0.02593994140625, -0.0096893310546875, -0.0104217529296875, 0.0281524658203125, 0.01641845703125, -0.0075531005859375, 0.01033782958984375, 0.0019245147705078125, 0.038238525390625, -0.04791259765625, -0.035888671875, -0.0071868896484375, -0.0014715194702148438, 0.06439208984375, 0.0904541015625, 0.035491943359375, 0.03857421875, 0.052734375, 0.038055419921875, 0.0653076171875, -0.06390380859375, -0.0513916015625, 0.00717926025390625, 0.01947021484375, 0.014312744140625, 0.010986328125, 0.036407470703125, -0.039398193359375, 0.0225067138671875, -0.00809478759765625, 0.009613037109375, 0.034515380859375, -0.0063018798828125, 0.01100921630859375, 0.036224365234375, -0.035614013671875, 0.029266357421875, -0.034820556640625, -0.01837158203125, 0.0231475830078125, 0.08154296875, 0.0281982421875, 0.07122802734375, -0.0273590087890625, -0.042205810546875, -0.0308685302734375, 0.018310546875, 0.0021381378173828125, 0.008697509765625, -0.029510498046875, -0.029083251953125, 0.002288818359375, 0.035064697265625, -0.01541900634765625, 0.03546142578125, 0.0277252197265625, 0.0208587646484375, -0.0240325927734375, -0.0184326171875, 0.043060302734375, -0.0350341796875, 0.031463623046875, -0.035858154296875, 0.032623291015625, 0.006847381591796875, -0.0129852294921875, -0.01474761962890625, 0.004955291748046875, 0.033905029296875, -0.0174102783203125, 0.051239013671875, -0.007511138916015625, -0.0154266357421875, 0.0104522705078125, -0.03985595703125, 0.0311126708984375, 0.0017385482788085938, -0.052398681640625, -0.0019092559814453125, -0.038726806640625, -0.03759765625, 0.0145111083984375, 0.024810791015625, -0.0011205673217773438, 0.006496429443359375, 0.017364501953125, -0.01161956787109375, 0.0251617431640625, 0.01320648193359375, -0.0281219482421875, -0.052642822265625, 0.037139892578125, -0.0445556640625, -0.029022216796875, -0.0225372314453125, -0.038665771484375, 0.06573486328125, 0.0030994415283203125, 0.05780029296875, -0.0219879150390625, 0.037109375, -0.029052734375, -0.0164337158203125, -0.007656097412109375, -0.013336181640625, -0.0004425048828125, -0.003986358642578125, -0.0135040283203125, 0.01309967041015625, -0.02447509765625, 0.00904083251953125, 0.028106689453125, -0.0281219482421875, 0.0161895751953125, -0.04193115234375, 0.0252227783203125, -0.01058197021484375, 0.064208984375, 0.004116058349609375, -0.023101806640625, -0.0036144256591796875, 0.0114593505859375, 0.02081298828125, 0.041412353515625, 0.00818634033203125, -0.0198516845703125, -0.00261688232421875, -0.01108551025390625, -0.0119476318359375, 0.032257080078125, -0.0209808349609375, 0.0229339599609375, -0.027923583984375, -0.0633544921875, -0.029205322265625, -0.0184173583984375, -0.012939453125, -0.0011892318725585938, 0.03619384765625, -0.0003161430358886719, -0.0152587890625, -0.0267791748046875, -0.01129913330078125, 0.03436279296875, -0.005542755126953125, 0.0194854736328125, -0.02398681640625, 0.0168304443359375, 0.0037403106689453125, -0.022979736328125, -0.0318603515625, -0.017364501953125, -0.013458251953125, 0.01055908203125, -0.018798828125, -0.07177734375, -0.06878662109375, 0.0068206787109375, 0.057861328125, 0.032012939453125, -0.10467529296875, 0.060943603515625, -0.00450897216796875, 0.042144775390625, 0.00743865966796875, -0.05194091796875, -0.00868988037109375, -0.044525146484375, -0.0282745361328125, -0.0309906005859375, -0.054046630859375, 0.025665283203125, -0.0216064453125, 0.030914306640625, 0.047271728515625, -0.01407623291015625, -0.01355743408203125, 0.042449951171875, 0.00035691261291503906, 0.089599609375, -0.028717041015625, -0.003215789794921875, -0.0012912750244140625, 0.037261962890625, -0.037994384765625, -0.06854248046875, 0.01311492919921875, -0.018951416015625, 0.0159149169921875, -0.01200103759765625, -0.0484619140625, -0.04888916015625, -0.06951904296875, -0.07855224609375, 0.070068359375, -0.0067291259765625, -0.032501220703125, -0.053466796875, -0.00855255126953125, -0.010406494140625, 0.01715087890625, -0.0235137939453125, -0.003429412841796875, -0.0175018310546875, 0.0445556640625, -0.0061187744140625, 0.0142822265625, 0.03656005859375, -0.00504302978515625, -0.01483154296875, 0.0020351409912109375, 0.01056671142578125, -0.01554107666015625, 0.0555419921875, -0.034759521484375, 0.05877685546875, 0.0341796875, -0.0452880859375, -0.01012420654296875, -0.031890869140625, -0.038055419921875, -0.0328369140625, -0.0447998046875, -0.0204315185546875, -0.005809783935546875, 0.07427978515625, 0.05615234375, 0.0172882080078125, -0.025726318359375, -0.034454345703125, 0.0057220458984375, 0.031951904296875, 0.01055908203125, 0.00032711029052734375, -0.0280914306640625, 0.002948760986328125, -0.0026645660400390625, -0.007701873779296875, -0.023529052734375, -0.0020751953125, -0.01922607421875, -0.014984130859375, 0.0116729736328125, -0.0012950897216796875, -0.000316619873046875, -0.048187255859375, 0.05072021484375, -0.0249786376953125, 0.027557373046875, 0.005443572998046875, 0.03680419921875, 0.04571533203125, 0.029693603515625, -0.0021800994873046875, 0.00878143310546875, -0.01666259765625, 0.0090789794921875, 0.0090179443359375, 0.0201263427734375, -0.028656005859375, -0.00534820556640625, 0.004337310791015625, 0.00461578369140625, -0.0169219970703125, -0.005176544189453125, 0.00301361083984375, 0.023162841796875, -0.0255584716796875, 0.0579833984375, -0.0261077880859375, -0.0029163360595703125, -0.01971435546875, 0.0211029052734375, -0.06365966796875, 0.015625, -0.004085540771484375, -0.039825439453125, -0.00977325439453125, 0.0233917236328125, 0.01824951171875, -0.056884765625, 0.058563232421875, 0.03680419921875, 0.03375244140625, 0.0300140380859375 ]
b564f92ee892bb99c5275c5369add462aa1c29bc
Wordpress Stackexchange Q: Use template_include with custom post types I want to check for an appropriate template in the theme folder before falling back to the file in my plugin directory. Here’s my code: add_filter('template_include', 'sermon_template_include'); function sermon_template_include($template) { if(get_query_var('post_type') == 'wpfc_sermon') { if ( is_archive() || is_search() ) : if(file_exists(TEMPLATEDIR . '/archive-wpfc_sermon.php')) return TEMPLATEDIR . '/archive-wpfc_sermon.php'; return dirname(__FILE__) . '/views/archive-wpfc_sermon.php'; else : if(file_exists(TEMPLATEDIR . '/single-wpfc_sermon.php')) return TEMPLATEDIR . '/single-wpfc_sermon.php'; return dirname(__FILE__) . '/views/single-wpfc_sermon.php'; endif; } return $template; } Problem is, it doesn’t work! :-) It always picks the file in my plugin folder. Any idea what to do? I’ve tried alot of variations but I can’t seem to get anything to work! Thanks in advance! Jack EDIT I'm expecting the archive-wpfc_sermon.php to be returned from the theme folder if it exists. However, the file from my plugin always gets returned. Thanks for your help! This is from my Sermon Manager plugin available in the repository. A: So, I'm not sure exactly what is causing the problem, but you might try the following: * *Plugin file path: replace dirname(__FILE__) with plugin_dir_path( __FILE__ ) *Theme file path: replace TEMPLATEDIR with get_stylesheet_directory() It's possible that the problem comes from referencing the constants directly.
Q: Use template_include with custom post types I want to check for an appropriate template in the theme folder before falling back to the file in my plugin directory. Here’s my code: add_filter('template_include', 'sermon_template_include'); function sermon_template_include($template) { if(get_query_var('post_type') == 'wpfc_sermon') { if ( is_archive() || is_search() ) : if(file_exists(TEMPLATEDIR . '/archive-wpfc_sermon.php')) return TEMPLATEDIR . '/archive-wpfc_sermon.php'; return dirname(__FILE__) . '/views/archive-wpfc_sermon.php'; else : if(file_exists(TEMPLATEDIR . '/single-wpfc_sermon.php')) return TEMPLATEDIR . '/single-wpfc_sermon.php'; return dirname(__FILE__) . '/views/single-wpfc_sermon.php'; endif; } return $template; } Problem is, it doesn’t work! :-) It always picks the file in my plugin folder. Any idea what to do? I’ve tried alot of variations but I can’t seem to get anything to work! Thanks in advance! Jack EDIT I'm expecting the archive-wpfc_sermon.php to be returned from the theme folder if it exists. However, the file from my plugin always gets returned. Thanks for your help! This is from my Sermon Manager plugin available in the repository. A: So, I'm not sure exactly what is causing the problem, but you might try the following: * *Plugin file path: replace dirname(__FILE__) with plugin_dir_path( __FILE__ ) *Theme file path: replace TEMPLATEDIR with get_stylesheet_directory() It's possible that the problem comes from referencing the constants directly. A: I am not sure if this will work for you but it is worth a shot. I use this all the time for my custom post types when they require a special template. // Template selection Defines the template for the custom post types. function my_template_redirect() { global $wp; global $wp_query; if ($wp->query_vars["post_type"] == "your_custom_post_type") { // Let's look for the your_custom_post_type_template.php template // file in the current theme if (have_posts()) { include(TEMPLATEPATH . '/your_custom_post_type_template.php'); die(); } else { $wp_query->is_404 = true; } } } All you have to do is add this script in your functions.php file and put the template file in your theme directory. This could be worth a shot and may not cause conflict with your plugin. However I am not sure of that. I forgot ... dont forget to add the action. :) add_action("template_redirect", 'my_template_redirect');
wordpress
{ "language": "en", "length": 340, "provenance": "stackexchange_00019.jsonl.gz:414192", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32297" }
[ 0.0384521484375, -0.005615234375, -0.010772705078125, -0.03857421875, 0.01038360595703125, -0.0252227783203125, 0.02996826171875, -0.00949859619140625, 0.003997802734375, 0.040863037109375, -0.02239990234375, -0.0171356201171875, 0.020721435546875, -0.00315093994140625, -0.024139404296875, -0.01520538330078125, 0.0238800048828125, -0.0323486328125, 0.0022335052490234375, -0.0171966552734375, 0.025604248046875, -0.02197265625, 0.029083251953125, 0.049468994140625, 0.005039215087890625, 0.0100860595703125, 0.10723876953125, -0.033721923828125, 0.0086212158203125, -0.029052734375, 0.029815673828125, -0.0149993896484375, 0.0173492431640625, 0.01666259765625, -0.0224151611328125, 0.037628173828125, -0.00252532958984375, 0.0214080810546875, 0.01357269287109375, 0.0100555419921875, 0.01065826416015625, -0.0022144317626953125, 0.021331787109375, 0.033355712890625, -0.01412200927734375, -0.05731201171875, 0.034515380859375, -0.03375244140625, 0.017303466796875, 0.016815185546875, -0.00838470458984375, -0.0258941650390625, 0.009063720703125, -0.031646728515625, -0.01068878173828125, -0.011749267578125, -0.016082763671875, 0.037689208984375, 0.00930023193359375, 0.007610321044921875, -0.005825042724609375, 0.038970947265625, -0.0003418922424316406, 0.0035495758056640625, -0.0036163330078125, -0.011810302734375, 0.026031494140625, 0.03485107421875, -0.0247039794921875, -0.01071929931640625, 0.00789642333984375, 0.004642486572265625, 0.01123809814453125, -0.01277923583984375, -0.0318603515625, -0.0146026611328125, 0.01128387451171875, -0.028594970703125, 0.022491455078125, -0.005863189697265625, -0.01412200927734375, -0.003681182861328125, -0.039459228515625, -0.03558349609375, 0.00919342041015625, 0.0017805099487304688, -0.01751708984375, -0.007293701171875, -0.024627685546875, -0.0026378631591796875, -0.0163116455078125, 0.002292633056640625, 0.0066986083984375, -0.016326904296875, -0.00803375244140625, -0.0211181640625, 0.006000518798828125, 0.060638427734375, -0.0323486328125, 0.032196044921875, -0.0050048828125, -0.0195159912109375, 0.039337158203125, -0.052764892578125, 0.008697509765625, 0.051422119140625, -0.0215301513671875, 0.0182037353515625, 0.040252685546875, 0.0350341796875, 0.03167724609375, -0.010498046875, -0.025634765625, -0.073486328125, 0.007167816162109375, 0.042144775390625, -0.029571533203125, -0.00506591796875, 0.033233642578125, -0.0189208984375, 0.0177459716796875, 0.0408935546875, -0.0078582763671875, -0.07275390625, -0.0166473388671875, -0.051422119140625, -0.0265960693359375, -0.021148681640625, 0.004974365234375, 0.037322998046875, 0.0030956268310546875, 0.0206756591796875, -0.0123748779296875, -0.0306396484375, -0.04541015625, -0.02471923828125, 0.031982421875, 0.003688812255859375, -0.00814056396484375, -0.01519012451171875, -0.006656646728515625, 0.0294952392578125, 0.0207672119140625, -0.04193115234375, -0.023773193359375, -0.0007748603820800781, 0.02191162109375, 0.02734375, -0.0087127685546875, -0.02166748046875, -0.00926971435546875, -0.0021076202392578125, 0.0285186767578125, -0.0179290771484375, 0.0184326171875, -0.06268310546875, -0.01506805419921875, -0.0307159423828125, 0.03436279296875, -0.0218658447265625, -0.0030956268310546875, -0.0164947509765625, 0.011749267578125, -0.037322998046875, -0.043792724609375, 0.0261993408203125, -0.01580810546875, 0.0027217864990234375, 0.017913818359375, 0.037628173828125, 0.0068359375, -0.0255126953125, -0.01279449462890625, 0.004383087158203125, -0.01061248779296875, 0.00890350341796875, -0.0199737548828125, 0.012176513671875, 0.034881591796875, 0.026123046875, 0.010955810546875, -0.01406097412109375, 0.083984375, 0.0038051605224609375, -0.0689697265625, 0.019012451171875, 0.0343017578125, 0.035888671875, -0.002414703369140625, 0.0022792816162109375, 0.08154296875, 0.045806884765625, -0.00945281982421875, 0.00293731689453125, -0.006969451904296875, -0.0078887939453125, -0.0183258056640625, 0.006317138671875, -0.0166473388671875, 0.00824737548828125, 0.0024566650390625, -0.025177001953125, 0.030517578125, -0.0128936767578125, -0.05914306640625, 0.0086669921875, -0.0362548828125, 0.0482177734375, 0.00142669677734375, 0.04095458984375, 0.00727081298828125, 0.0126495361328125, -0.02874755859375, -0.002925872802734375, 0.004970550537109375, 0.0251007080078125, -0.009521484375, 0.01873779296875, -0.018707275390625, 0.04852294921875, -0.0149993896484375, -0.028472900390625, -0.032806396484375, 0.0104217529296875, 0.01311492919921875, 0.04656982421875, -0.0259246826171875, 0.0162811279296875, -0.018585205078125, 0.060089111328125, -0.060028076171875, -0.00897216796875, 0.000957489013671875, -0.02947998046875, -0.058135986328125, 0.0021343231201171875, -0.0179595947265625, -0.0255889892578125, 0.0028839111328125, 0.06280517578125, 0.029327392578125, 0.054595947265625, -0.00296783447265625, -0.0018301010131835938, 0.058319091796875, -0.0628662109375, -0.01149749755859375, 0.0034351348876953125, 0.0005578994750976562, 0.00191497802734375, 0.00746917724609375, -0.0007452964782714844, 0.031829833984375, -0.036956787109375, -0.0013608932495117188, 0.036407470703125, -0.00562286376953125, -0.00992584228515625, 0.0208740234375, 0.007045745849609375, -0.0023021697998046875, 0.046051025390625, 0.014617919921875, 0.0222015380859375, 0.050079345703125, 0.0167083740234375, 0.041473388671875, 0.02716064453125, -0.07275390625, 0.0304718017578125, 0.039306640625, 0.045867919921875, 0.00850677490234375, 0.0279998779296875, 0.01468658447265625, 0.0357666015625, -0.0269622802734375, -0.00868988037109375, 0.007266998291015625, 0.0286407470703125, -0.02703857421875, 0.022216796875, -0.0214385986328125, -0.0198822021484375, -0.0433349609375, -0.0643310546875, 0.0194549560546875, 0.0177154541015625, 0.0194091796875, 0.01236724853515625, 0.032562255859375, 0.030914306640625, -0.0017185211181640625, 0.0308837890625, 0.01209259033203125, -0.0017452239990234375, 0.055419921875, -0.037261962890625, 0.0289459228515625, -0.0176849365234375, 0.053863525390625, 0.04815673828125, -0.00481414794921875, -0.006565093994140625, -0.0028018951416015625, -0.00685882568359375, -0.00223541259765625, 0.0233917236328125, -0.0190582275390625, -0.058929443359375, -0.004566192626953125, -0.0035800933837890625, 0.0239410400390625, 0.0177459716796875, 0.0012712478637695312, -0.03546142578125, -0.00678253173828125, 0.00843048095703125, -0.04107666015625, -0.044158935546875, 0.01483917236328125, -0.0310516357421875, 0.0230865478515625, -0.0260009765625, -0.0159912109375, -0.027801513671875, -0.021759033203125, 0.00920867919921875, 0.0203399658203125, -0.0144195556640625, -0.07415771484375, -0.062744140625, -0.097412109375, -0.03704833984375, 0.0001277923583984375, 0.002101898193359375, 0.01197052001953125, 0.0212554931640625, 0.01495361328125, -0.032012939453125, 0.02801513671875, 0.047882080078125, -0.00875091552734375, 0.022918701171875, 0.043243408203125, -0.03118896484375, 0.0007829666137695312, -0.005084991455078125, 0.0213470458984375, 0.04681396484375, -0.05242919921875, -0.00823974609375, -0.03265380859375, -0.0263519287109375, -0.0222930908203125, 0.0545654296875, 0.047210693359375, -0.021942138671875, 0.0205841064453125, -0.050750732421875, -0.0281219482421875, -0.01042938232421875, -0.0447998046875, 0.0638427734375, 0.03485107421875, -0.012786865234375, -0.0274200439453125, 0.043182373046875, -0.01275634765625, 0.0158233642578125, 0.027740478515625, -0.030303955078125, 0.03515625, -0.0006680488586425781, -0.0202484130859375, -0.029083251953125, 0.04913330078125, -0.0206451416015625, -0.0248260498046875, 0.0035686492919921875, -0.01303863525390625, 0.00574493408203125, -0.03070068359375, -0.015777587890625, 0.00472259521484375, 0.043609619140625, 0.01788330078125, 0.0216217041015625, -0.01033782958984375, -0.01873779296875, -0.0130462646484375, 0.040069580078125, -0.051025390625, -0.0219573974609375, -0.00403594970703125, 0.0108184814453125, 0.02752685546875, -0.01187896728515625, 0.00914764404296875, -0.027069091796875, -0.022308349609375, 0.0018510818481445312, 0.0059967041015625, -0.03118896484375, 0.00463104248046875, -0.023956298828125, -0.01904296875, -0.0170440673828125, 0.040008544921875, -0.07806396484375, 0.03778076171875, 0.025482177734375, 0.007541656494140625, -0.0175018310546875, -0.0268096923828125, -0.06829833984375, -0.110595703125, -0.0180206298828125, -0.0380859375, 0.09783935546875, 0.00396728515625, 0.019256591796875, -0.054779052734375, 0.03839111328125, 0.0028591156005859375, -0.00047516822814941406, 0.0222625732421875, 0.021392822265625, 0.0001996755599975586, 0.01201629638671875, 0.0112457275390625, -0.01497650146484375, -0.01678466796875, 0.0015316009521484375, -0.057464599609375, 0.064208984375, 0.01300811767578125, 0.0230712890625, 0.04840087890625, -0.032806396484375, 0.002704620361328125, 0.0009775161743164062, 0.00505828857421875, 0.00867462158203125, 0.01059722900390625, -0.018768310546875, 0.0074615478515625, 0.01381683349609375, 0.0283203125, 0.004947662353515625, -0.0156707763671875, 0.01143646240234375, 0.069580078125, 0.0209197998046875, -0.01393890380859375, -0.0584716796875, 0.0552978515625, 0.0390625, -0.004497528076171875, 0.054901123046875, 0.03668212890625, -0.0288238525390625, 0.07806396484375, 0.00555419921875, 0.01385498046875, -0.0193634033203125, 0.0838623046875, -0.03253173828125, -0.028411865234375, 0.0472412109375, -0.033782958984375, -0.0227813720703125, 0.048431396484375, 0.0075225830078125, -0.033050537109375, 0.00855255126953125, 0.049591064453125, -0.026397705078125, 0.01062774658203125, -0.046783447265625, -0.042724609375, 0.004398345947265625, -0.00881195068359375, 0.06646728515625, 0.03778076171875, -0.016265869140625, 0.05694580078125, 0.014190673828125, 0.00952911376953125, 0.052032470703125, 0.040008544921875, -0.009521484375, 0.0198211669921875, 0.061981201171875, -0.0197296142578125, 0.01209259033203125, 0.00799560546875, 0.003963470458984375, -0.01141357421875, -0.01995849609375, -0.062225341796875, 0.001476287841796875, 0.0267486572265625, -0.006591796875, -0.0147857666015625, 0.041839599609375, 0.018341064453125, -0.02349853515625, 0.0082550048828125, -0.0308685302734375, -0.0061798095703125, -0.042572021484375, -0.00018990039825439453, 0.018768310546875, -0.02435302734375, -0.007091522216796875, 0.017578125, -0.002605438232421875, -0.01442718505859375, -0.0014982223510742188, 0.0084228515625, 0.0013103485107421875, 0.035369873046875, 0.0322265625, -0.06378173828125, -0.0047760009765625, 0.010223388671875, -0.00302886962890625, -0.048004150390625, -0.013397216796875, -0.005405426025390625, 0.05242919921875, -0.0675048828125, -0.0555419921875, 0.06793212890625, -0.01422119140625, -0.004734039306640625, -0.038238525390625, -0.024383544921875, 0.01087188720703125, -0.01050567626953125, 0.006130218505859375, 0.0194244384765625, 0.0178985595703125, -0.053070068359375, -0.0063934326171875, -0.058013916015625, 0.0013141632080078125, 0.04791259765625, -0.0828857421875, 0.052581787109375, 0.04742431640625, -0.01033782958984375, -0.0234832763671875, -0.01255035400390625, -0.066162109375, -0.01270294189453125, -0.0206451416015625, -0.0037975311279296875, 0.049407958984375, -0.033233642578125, 0.015777587890625, 0.0004029273986816406, -0.0281982421875, 0.01174163818359375, 0.012908935546875, 0.0560302734375, 0.032928466796875, -0.05169677734375, 0.0174560546875, -0.04339599609375, -0.0157318115234375, -0.051361083984375, -0.033660888671875, -0.055999755859375, -0.002349853515625, 0.0028247833251953125, -0.002971649169921875, 0.002079010009765625, -0.00893402099609375, -0.01253509521484375, 0.00878143310546875, 0.0037841796875, 0.0006928443908691406, -0.00826263427734375, 0.08447265625, 0.007442474365234375, 0.04034423828125, 0.00995635986328125, 0.007511138916015625, -0.055938720703125, 0.01016998291015625, -0.0124969482421875, -0.04901123046875, 0.010284423828125, -0.005779266357421875, 0.017120361328125, 0.049835205078125, 0.03289794921875, 0.01253509521484375, 0.01334381103515625, -0.0200347900390625, 0.00569915771484375, -0.0191802978515625, 0.037933349609375, -0.021453857421875, -0.0281524658203125, 0.04461669921875, -0.03216552734375, -0.027435302734375, 0.00241851806640625, 0.00153350830078125, 0.01922607421875, -0.015289306640625, -0.00769805908203125, 0.01461029052734375, -0.060821533203125, 0.072998046875, 0.02593994140625, 0.04132080078125, 0.042236328125, -0.0294036865234375, 0.025604248046875, -0.0145721435546875, 0.011627197265625, -0.007228851318359375, -0.007778167724609375, 0.06195068359375, 0.01043701171875, -0.0150146484375, 0.052398681640625, -0.025390625, 0.00304412841796875, 0.0277862548828125, 0.0258331298828125, -0.03643798828125, -0.01021575927734375, 0.0085296630859375, -0.0256195068359375, -0.021575927734375, 0.00823211669921875, -0.0165252685546875, -0.040191650390625, 0.031585693359375, 0.0139617919921875, -0.01015472412109375, 0.022216796875, 0.00946807861328125, -0.01525115966796875, 0.007808685302734375, -0.006687164306640625, 0.005847930908203125, 0.0005140304565429688, -0.0150146484375, -0.0035343170166015625, -0.0142364501953125, 0.01751708984375, 0.044769287109375, -0.064208984375, 0.0128631591796875, -0.00028324127197265625, -0.01146697998046875, -0.03271484375, -0.0289306640625, 0.05908203125, 0.02130126953125, 0.0462646484375, 0.02789306640625, 0.015045166015625, -0.0015583038330078125, 0.0023097991943359375, -0.0072784423828125, -0.038238525390625, -0.0299835205078125, -0.012481689453125, 0.025634765625, -0.03875732421875, 0.021728515625, -0.017578125, -0.0019140243530273438, -0.01035308837890625, 0.0019321441650390625, 0.071044921875, 0.0059814453125, -0.036346435546875, 0.0145263671875, 0.003772735595703125, -0.0152435302734375, 0.0266571044921875, 0.07916259765625, -0.047454833984375, -0.029388427734375, 0.052886962890625, -0.01416778564453125, -0.05364990234375, 0.0523681640625, -0.055572509765625, 0.1392822265625, 0.0145111083984375, 0.04681396484375, 0.0218963623046875, 0.04974365234375, -0.038360595703125, 0.03826904296875, -0.0246124267578125, 0.0196685791015625, -0.001979827880859375, 0.0148468017578125, -0.050628662109375, 0.0034847259521484375, -0.0270538330078125, 0.03759765625, 0.02001953125, 0.00530242919921875, -0.029327392578125, -0.004955291748046875, 0.053558349609375, 0.00337982177734375, 0.014862060546875, 0.043121337890625, 0.0160064697265625, 0.0081329345703125, -0.01093292236328125, -0.0182342529296875, 0.040863037109375, -0.0635986328125, -0.021514892578125, 0.0227203369140625, 0.01763916015625, 0.00567626953125, -0.0235595703125, -0.00466156005859375, -0.0309906005859375, -0.01053619384765625, 0.0237579345703125, -0.01995849609375, 0.010162353515625, -0.0019474029541015625, 0.056732177734375, -0.049285888671875, -0.0028934478759765625, -0.01552581787109375, 0.0589599609375, 0.04052734375, 0.0297088623046875, -0.01517486572265625, 0.00969696044921875, 0.018524169921875, -0.047393798828125, 0.0026702880859375, 0.02349853515625, -0.03802490234375, -0.003314971923828125, 0.020660400390625, 0.01654052734375, -0.015655517578125, 0.021087646484375, 0.055145263671875, 0.006496429443359375, -0.0209197998046875, -0.0157318115234375, 0.0213165283203125, 0.0169830322265625, -0.03533935546875, 0.00725555419921875, -0.016998291015625, 0.0165252685546875, 0.056549072265625, -0.046478271484375, -0.003093719482421875, 0.025909423828125, -0.004489898681640625, -0.01861572265625, -0.042572021484375, 0.0111083984375, 0.021514892578125, -0.045989990234375, 0.044036865234375, 0.05230712890625, 0.0413818359375, -0.037384033203125, 0.05255126953125, -0.010101318359375, -0.0087890625, -0.0028743743896484375, 0.0274658203125, -0.0240478515625, 0.00725555419921875, -0.0386962890625, -0.0443115234375, 0.00661468505859375, 0.03717041015625, 0.036712646484375, 0.0168304443359375, 0.01763916015625, -0.0257568359375, 0.0059356689453125, 0.01177978515625, -0.012603759765625, -0.0192108154296875, 0.0450439453125, -0.032989501953125, -0.0013437271118164062, -0.0060577392578125, -0.0149383544921875, -0.0113983154296875, -0.0303192138671875, 0.05706787109375, 0.0094146728515625, 0.03265380859375, 0.00733184814453125, 0.01122283935546875, 0.00870513916015625, 0.0128173828125, 0.024169921875, 0.04608154296875, -0.058502197265625, -0.0174102783203125, -0.025543212890625, -0.043304443359375, 0.03216552734375, 0.056243896484375, 0.00592803955078125, -0.00852203369140625, 0.031829833984375, -0.0152435302734375, 0.004184722900390625, -0.01450347900390625, 0.029296875, 0.0224456787109375, 0.0162200927734375, 0.0272064208984375, -0.044342041015625, -0.04437255859375, -0.0255126953125, 0.054901123046875, 0.015960693359375, 0.1220703125, -0.052093505859375, 0.030364990234375, 0.00926971435546875, 0.0093841552734375, -0.0172271728515625, -0.01039886474609375, 0.050933837890625, -0.0171966552734375, -0.009735107421875, -0.00782012939453125, -0.07769775390625, -0.0518798828125, 0.045623779296875, -0.033233642578125, -0.0290985107421875, 0.01230621337890625, 0.03289794921875, 0.0019397735595703125, 0.0306549072265625, -0.0184326171875, -0.046875, -0.0731201171875, 0.0023365020751953125, 0.036590576171875, 0.04156494140625, -0.00925445556640625, 0.056427001953125, -0.0099639892578125, -0.0033473968505859375, 0.0129852294921875, -0.0298004150390625, 0.0213623046875, 0.0290374755859375, -0.032257080078125, -0.03375244140625, 0.0230560302734375, -0.01053619384765625, -0.01001739501953125, 0.02142333984375, 0.046600341796875, 0.0088348388671875, -0.0330810546875, 0.0227203369140625, 0.000942230224609375, 0.03179931640625, -0.042633056640625, 0.002841949462890625, 0.0284423828125, 0.0174407958984375, -0.00687408447265625, -0.0019512176513671875, -0.02215576171875, -0.0233917236328125, -0.001819610595703125, 0.0042877197265625, 0.00003445148468017578, -0.0352783203125, -0.032379150390625, 0.00518035888671875, 0.0005331039428710938, -0.01204681396484375, -0.0276336669921875, 0.00588226318359375, -0.0174713134765625, 0.046112060546875, -0.0299835205078125, -0.042572021484375, 0.01763916015625, 0.051849365234375, -0.0132293701171875, 0.005344390869140625, -0.01654052734375, -0.01654052734375, -0.00334930419921875, 0.01514434814453125, 0.037200927734375, -0.022552490234375, -0.039520263671875, 0.01904296875, 0.0096893310546875, 0.051727294921875, -0.0008077621459960938, -0.03057861328125, 0.0089569091796875, -0.0231475830078125, -0.00942230224609375, -0.0013027191162109375, 0.005352020263671875, -0.0282745361328125, -0.0321044921875, 0.01018524169921875, -0.0010652542114257812, 0.006866455078125, -0.038543701171875, -0.07110595703125, 0.01305389404296875, 0.0015020370483398438, -0.0305328369140625, -0.061248779296875, 0.002582550048828125, 0.0142669677734375, -0.0159759521484375, -0.027587890625, -0.022247314453125, -0.033203125, 0.03741455078125, 0.0200958251953125, -0.0033245086669921875, 0.068603515625, -0.018310546875, -0.032806396484375, -0.016510009765625, -0.0158843994140625, -0.01247406005859375, -0.0168304443359375, -0.008758544921875, 0.0120391845703125, 0.03912353515625, -0.01019287109375, -0.07965087890625, 0.02569580078125, -0.039794921875, -0.0005617141723632812, -0.04156494140625, -0.018768310546875, 0.002666473388671875, 0.06549072265625, 0.041412353515625, 0.01171112060546875, -0.046295166015625, 0.0271759033203125, -0.017852783203125, -0.07708740234375, 0.01947021484375, 0.0335693359375, -0.05279541015625, 0.013275146484375, 0.0345458984375, -0.01702880859375, -0.017730712890625, -0.0276031494140625, -0.05206298828125, -0.003780364990234375, -0.03558349609375, 0.00313568115234375, -0.02545166015625, -0.044158935546875, 0.010955810546875, -0.0034313201904296875, 0.0174407958984375, -0.018341064453125, 0.03448486328125, 0.006805419921875, 0.006168365478515625, -0.01361083984375, 0.01763916015625, -0.02935791015625, 0.003414154052734375, 0.0086669921875, 0.017242431640625, -0.0209197998046875, 0.0019626617431640625, 0.0237274169921875, -0.01337432861328125, -0.0265655517578125, -0.03497314453125, 0.004322052001953125, 0.0223388671875, -0.0423583984375, 0.091552734375, -0.0123748779296875, 0.050262451171875, -0.0249481201171875, 0.043701171875, -0.00022983551025390625, -0.01541900634765625, 0.01538848876953125, -0.00597381591796875, -0.0189056396484375, -0.00015616416931152344, -0.070556640625, -0.0714111328125, 0.02447509765625, -0.0576171875, -0.0094757080078125, 0.0191650390625 ]
52a148b6bc694e022f6276f54dc9e3468da53675
Wordpress Stackexchange Q: How to get attachment caption (get_the_excerpt gives parent post excerpt) ? I am displaying the attachments on the parent post page with this code : $args = array('post_type' => 'attachment', 'post_mime_type' => 'image', 'order'=> 'ASC', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID ); $attachments = get_posts($args); if ($attachments) { foreach ( $attachments as $attachment ) { $attachments_url[] = $my_image; $attachments_caption[] = get_the_excerpt(); } } problem is that the excerpt doesn't get the attachment's caption but the post excerpt. do you know how to display the attachment's captions ? thank you A: get_the_excerpt() should work for getting caption just fine. Your issue is that it looks for post to process in global variables and in your code there you are not setting it up with attachments you are iterating through. You need to use setup_postdata() for it to work. Other way would be something like: get_post_field('post_excerpt', $attachment->ID);
Q: How to get attachment caption (get_the_excerpt gives parent post excerpt) ? I am displaying the attachments on the parent post page with this code : $args = array('post_type' => 'attachment', 'post_mime_type' => 'image', 'order'=> 'ASC', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID ); $attachments = get_posts($args); if ($attachments) { foreach ( $attachments as $attachment ) { $attachments_url[] = $my_image; $attachments_caption[] = get_the_excerpt(); } } problem is that the excerpt doesn't get the attachment's caption but the post excerpt. do you know how to display the attachment's captions ? thank you A: get_the_excerpt() should work for getting caption just fine. Your issue is that it looks for post to process in global variables and in your code there you are not setting it up with attachments you are iterating through. You need to use setup_postdata() for it to work. Other way would be something like: get_post_field('post_excerpt', $attachment->ID); A: You could try wp_prepare_attachment_for_js( $id ) and return everything you need for the attachment. You'll receive an array with this: * *id *title *filename *url *link *alt *author *description *caption *name *status *uploadedTo *date *modified *menuOrder *mime *type *subtype *icon *dateFormatted *nonces *editLink *sizes *width *height *fileLength *compat Check the Codex: wp_prepare_attachment_for_js() A: This will fix your issue $attachments = attachments_get_attachments(); $total_attachments = count( $attachments ); if( $total_attachments ){ for( $i=0; $i<$total_attachments; $i++ ){ echo $attachments[$i]['title']; echo $attachments[$i]['caption']; echo $attachments[$i]['id']; echo $attachments[$i]['location']; echo $attachments[$i]['mime']; echo $attachments[$i]['filesize']; } }
wordpress
{ "language": "en", "length": 238, "provenance": "stackexchange_00019.jsonl.gz:414206", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32337" }
[ 0.026275634765625, -0.00041222572326660156, 0.007373809814453125, 0.007442474365234375, -0.01494598388671875, -0.0243682861328125, 0.0240631103515625, -0.0537109375, 0.0016145706176757812, 0.051605224609375, -0.041107177734375, 0.008453369140625, -0.032012939453125, 0.006320953369140625, -0.054290771484375, -0.032318115234375, 0.040435791015625, -0.0157318115234375, 0.043853759765625, 0.016082763671875, -0.012054443359375, 0.04742431640625, 0.0404052734375, -0.0118408203125, 0.0248565673828125, 0.0286102294921875, 0.057037353515625, -0.0293121337890625, 0.0174560546875, -0.0181427001953125, 0.0175323486328125, -0.025604248046875, 0.02252197265625, 0.004543304443359375, -0.01233673095703125, -0.01397705078125, -0.0174407958984375, -0.004261016845703125, -0.01108551025390625, 0.0369873046875, 0.0063934326171875, 0.00820159912109375, -0.0124969482421875, 0.006259918212890625, -0.03778076171875, -0.0014066696166992188, -0.017486572265625, -0.0167236328125, 0.0128631591796875, -0.00811767578125, 0.037750244140625, -0.008819580078125, 0.034759521484375, -0.00638580322265625, -0.009521484375, 0.012481689453125, -0.00516510009765625, 0.01267242431640625, 0.038177490234375, -0.041107177734375, -0.03863525390625, 0.0096588134765625, 0.0300750732421875, 0.000885009765625, 0.018402099609375, 0.016571044921875, 0.024078369140625, 0.0220794677734375, -0.0357666015625, 0.0036163330078125, 0.0120697021484375, -0.037017822265625, -0.0100555419921875, -0.056671142578125, 0.00174713134765625, 0.0187530517578125, -0.0235137939453125, -0.029632568359375, -0.0146331787109375, 0.0032367706298828125, -0.0011606216430664062, -0.01480865478515625, -0.0621337890625, 0.048370361328125, -0.014312744140625, 0.05572509765625, -0.00662994384765625, -0.036773681640625, -0.0008893013000488281, -0.0134124755859375, -0.010955810546875, -0.0224761962890625, 0.037384033203125, 0.0188751220703125, -0.0246124267578125, -0.018157958984375, 0.05181884765625, 0.049713134765625, -0.0292816162109375, -0.0179443359375, -0.038177490234375, -0.0360107421875, 0.0238800048828125, -0.024200439453125, 0.006496429443359375, 0.004421234130859375, 0.00008565187454223633, -0.032928466796875, 0.04302978515625, 0.03350830078125, -0.005542755126953125, 0.055206298828125, -0.01152801513671875, -0.018524169921875, -0.009674072265625, 0.021453857421875, -0.0489501953125, 0.01134490966796875, 0.00882720947265625, 0.01126861572265625, -0.00814056396484375, -0.0027751922607421875, -0.007335662841796875, 0.04400634765625, -0.0283660888671875, -0.00901031494140625, 0.006252288818359375, -0.032318115234375, 0.03704833984375, -0.004302978515625, -0.030853271484375, 0.01099395751953125, 0.035430908203125, 0.00720977783203125, 0.0167236328125, -0.00400543212890625, -0.0178985595703125, -0.048187255859375, 0.013092041015625, -0.031280517578125, 0.046966552734375, 0.0025043487548828125, 0.0201568603515625, 0.029388427734375, -0.04022216796875, 0.026763916015625, 0.0159149169921875, -0.010345458984375, -0.024871826171875, -0.044097900390625, -0.0214996337890625, -0.04376220703125, 0.062744140625, -0.01302337646484375, -0.0218963623046875, -0.0479736328125, 0.0192718505859375, -0.048675537109375, -0.0090789794921875, -0.0673828125, 0.05682373046875, -0.0042877197265625, -0.00666046142578125, 0.02496337890625, -0.0250701904296875, 0.013519287109375, -0.034271240234375, -0.0299224853515625, 0.032470703125, 0.05596923828125, 0.0146026611328125, -0.03369140625, -0.00046563148498535156, 0.0135955810546875, -0.01434326171875, 0.01262664794921875, -0.048583984375, -0.0399169921875, 0.04022216796875, 0.039581298828125, -0.015411376953125, -0.0142974853515625, -0.0158843994140625, 0.01271820068359375, -0.01739501953125, 0.0423583984375, 0.00475311279296875, 0.01039886474609375, 0.00670623779296875, 0.01361083984375, -0.0275421142578125, 0.03369140625, -0.0227203369140625, 0.018341064453125, -0.016876220703125, -0.016754150390625, 0.010284423828125, 0.0070953369140625, -0.00527191162109375, -0.003826141357421875, -0.02239990234375, -0.050018310546875, 0.029541015625, 0.00930023193359375, 0.00342559814453125, -0.0182952880859375, -0.002872467041015625, 0.01192474365234375, -0.0287933349609375, 0.0538330078125, 0.0305023193359375, 0.01654052734375, -0.044525146484375, -0.0115814208984375, 0.0177459716796875, 0.008453369140625, -0.0164794921875, 0.005706787109375, -0.00801849365234375, 0.00975799560546875, -0.00841522216796875, -0.0162811279296875, -0.0200042724609375, 0.01617431640625, 0.08306884765625, -0.00397491455078125, -0.00501251220703125, -0.0211181640625, 0.05706787109375, 0.0158538818359375, -0.04840087890625, 0.0186004638671875, -0.00662994384765625, -0.01544189453125, -0.043548583984375, -0.0092620849609375, -0.006740570068359375, -0.036041259765625, 0.007686614990234375, 0.052825927734375, 0.049591064453125, 0.053497314453125, 0.003337860107421875, -0.0300140380859375, 0.09783935546875, -0.037994384765625, -0.00194549560546875, -0.03302001953125, 0.0011768341064453125, 0.034820556640625, 0.0221710205078125, 0.006427764892578125, 0.00516510009765625, -0.0259552001953125, 0.0245819091796875, 0.0217437744140625, -0.006504058837890625, -0.0014295578002929688, -0.025604248046875, 0.0175323486328125, 0.0024318695068359375, -0.03558349609375, -0.01018524169921875, -0.0198822021484375, -0.00864410400390625, 0.051849365234375, 0.02825927734375, 0.0295257568359375, -0.03326416015625, 0.0099945068359375, 0.00849151611328125, 0.036834716796875, 0.018096923828125, 0.035614013671875, -0.0198211669921875, -0.0019702911376953125, 0.002197265625, -0.017822265625, 0.0106964111328125, 0.00036144256591796875, 0.015655517578125, 0.0272369384765625, -0.01053619384765625, -0.0016775131225585938, -0.0008845329284667969, -0.048828125, -0.004772186279296875, 0.046173095703125, -0.027069091796875, 0.0008335113525390625, 0.00988006591796875, 0.04937744140625, 0.01739501953125, -0.012359619140625, 0.0262603759765625, 0.0266265869140625, 0.01476287841796875, -0.06781005859375, 0.081787109375, -0.054931640625, 0.0274200439453125, 0.054901123046875, -0.030181884765625, 0.0273590087890625, -0.0029277801513671875, -0.018310546875, -0.0124359130859375, 0.0013723373413085938, -0.0027980804443359375, -0.0277099609375, -0.018707275390625, 0.03802490234375, -0.00015914440155029297, 0.094970703125, -0.07720947265625, -0.07232666015625, -0.03350830078125, 0.01385498046875, -0.10107421875, -0.05474853515625, 0.0238037109375, -0.094482421875, -0.02423095703125, -0.0229644775390625, -0.058349609375, -0.00783538818359375, 0.0284881591796875, -0.00501251220703125, 0.01029205322265625, -0.035552978515625, -0.040435791015625, -0.025909423828125, -0.08489990234375, -0.01024627685546875, 0.00033283233642578125, 0.032196044921875, 0.00478363037109375, 0.039886474609375, -0.0043182373046875, -0.03460693359375, 0.006420135498046875, 0.017364501953125, 0.01071929931640625, 0.01433563232421875, 0.004486083984375, 0.01904296875, -0.024749755859375, 0.01024627685546875, 0.01593017578125, 0.0160675048828125, -0.04425048828125, -0.0215301513671875, -0.028076171875, 0.0450439453125, 0.03851318359375, -0.004718780517578125, 0.001312255859375, 0.052001953125, 0.0254058837890625, -0.0269012451171875, -0.0297088623046875, -0.0367431640625, -0.058349609375, 0.0195465087890625, 0.0665283203125, 0.0164337158203125, -0.038970947265625, 0.0160369873046875, -0.00681304931640625, -0.0081024169921875, 0.053558349609375, -0.04205322265625, 0.03692626953125, -0.01012420654296875, -0.0160675048828125, -0.0213470458984375, -0.003875732421875, -0.010101318359375, -0.01549530029296875, -0.0207061767578125, 0.0227203369140625, -0.037872314453125, 0.0290985107421875, -0.07525634765625, -0.07470703125, 0.032562255859375, -0.0247802734375, -0.0033054351806640625, -0.027069091796875, -0.0277557373046875, 0.00431060791015625, 0.0830078125, -0.0177764892578125, -0.02606201171875, -0.0234832763671875, 0.0188446044921875, -0.0213623046875, -0.054412841796875, 0.011199951171875, -0.01070404052734375, -0.021881103515625, -0.00445556640625, 0.0037326812744140625, -0.031585693359375, 0.005542755126953125, 0.0026073455810546875, -0.0181121826171875, -0.004077911376953125, 0.033538818359375, 0.0105438232421875, -0.00794219970703125, 0.041015625, -0.01198577880859375, 0.0318603515625, -0.036895751953125, 0.0178375244140625, -0.089599609375, -0.0311431884765625, 0.03497314453125, 0.064697265625, -0.0286865234375, 0.009033203125, -0.017608642578125, 0.0682373046875, 0.02850341796875, -0.004077911376953125, -0.006954193115234375, -0.0157928466796875, -0.047393798828125, -0.00994110107421875, -0.0006241798400878906, -0.034637451171875, -0.0160980224609375, -0.03863525390625, -0.042755126953125, -0.04083251953125, -0.024078369140625, -0.005645751953125, 0.00868988037109375, -0.015777587890625, -0.041778564453125, -0.0013647079467773438, 0.0027008056640625, 0.01226806640625, -0.00409698486328125, 0.006938934326171875, -0.01425933837890625, -0.062042236328125, 0.032012939453125, 0.0142364501953125, -0.026763916015625, -0.0164337158203125, 0.07135009765625, 0.02703857421875, -0.0229644775390625, -0.00980377197265625, -0.01123809814453125, 0.037353515625, -0.045166015625, 0.040496826171875, 0.0191650390625, -0.037689208984375, 0.0638427734375, 0.007427215576171875, 0.0021038055419921875, -0.01068115234375, 0.035186767578125, 0.02008056640625, -0.0027523040771484375, -0.006702423095703125, 0.00582122802734375, 0.028564453125, -0.01045989990234375, -0.017120361328125, -0.022705078125, 0.00292205810546875, 0.0523681640625, -0.0262451171875, 0.07470703125, -0.0256195068359375, -0.04595947265625, 0.01381683349609375, -0.00732421875, -0.01456451416015625, 0.0158843994140625, -0.0107574462890625, 0.01181793212890625, 0.020843505859375, 0.0212554931640625, -0.0210113525390625, 0.00989532470703125, -0.005939483642578125, 0.04876708984375, -0.01556396484375, 0.0105133056640625, -0.0173797607421875, -0.006519317626953125, -0.0003685951232910156, -0.0095672607421875, -0.040557861328125, 0.015869140625, -0.0103912353515625, 0.0207672119140625, 0.0108184814453125, 0.00919342041015625, 0.0261993408203125, 0.01361083984375, 0.009429931640625, -0.01020050048828125, -0.029388427734375, 0.0266265869140625, -0.036956787109375, 0.000007212162017822266, -0.00797271728515625, -0.004116058349609375, 0.0190277099609375, 0.0675048828125, -0.035369873046875, 0.053375244140625, -0.022552490234375, -0.0166778564453125, 0.004444122314453125, 0.033843994140625, 0.0357666015625, -0.01116943359375, -0.002956390380859375, 0.0019006729125976562, 0.033355712890625, -0.0579833984375, 0.01168060302734375, 0.031463623046875, 0.095703125, -0.0232086181640625, -0.06597900390625, 0.01161956787109375, -0.070068359375, -0.0307159423828125, 0.056488037109375, 0.019378662109375, -0.035400390625, -0.045501708984375, -0.0017499923706054688, 0.0386962890625, 0.025848388671875, -0.038909912109375, 0.027679443359375, -0.0201416015625, 0.00197601318359375, 0.0030841827392578125, -0.0587158203125, 0.04034423828125, 0.0389404296875, 0.0072021484375, -0.039581298828125, -0.0164794921875, 0.0252227783203125, 0.006977081298828125, -0.0132904052734375, 0.002910614013671875, 0.0303497314453125, 0.0018062591552734375, 0.02490234375, -0.049713134765625, 0.004413604736328125, -0.08770751953125, -0.00566864013671875, 0.0592041015625, 0.04766845703125, -0.01250457763671875, -0.004726409912109375, -0.049957275390625, -0.016876220703125, 0.009765625, -0.035919189453125, -0.04425048828125, -0.01186370849609375, -0.030670166015625, 0.021942138671875, -0.0201873779296875, 0.02325439453125, 0.0006098747253417969, 0.00489044189453125, -0.034637451171875, 0.040283203125, 0.007068634033203125, 0.060699462890625, -0.03216552734375, 0.054351806640625, 0.0172119140625, 0.00461578369140625, -0.0546875, -0.009918212890625, -0.0164947509765625, -0.0457763671875, 0.0269927978515625, 0.01194000244140625, 0.03564453125, -0.037811279296875, -0.03741455078125, 0.01947021484375, -0.01303863525390625, -0.0210723876953125, -0.0179443359375, -0.01235198974609375, 0.034027099609375, 0.0176849365234375, -0.003627777099609375, 0.0064849853515625, -0.04339599609375, -0.00400543212890625, 0.0258331298828125, 0.0203094482421875, 0.027252197265625, -0.03936767578125, 0.007843017578125, 0.0291595458984375, -0.0183868408203125, 0.007724761962890625, 0.06085205078125, 0.0037097930908203125, 0.04022216796875, 0.020477294921875, 0.018707275390625, 0.043609619140625, 0.050933837890625, -0.03778076171875, -0.0447998046875, 0.06280517578125, 0.0235443115234375, -0.043914794921875, 0.025787353515625, -0.053009033203125, 0.004459381103515625, -0.052398681640625, 0.02056884765625, 0.042236328125, 0.004627227783203125, 0.0014925003051757812, -0.0252227783203125, 0.035614013671875, 0.0054473876953125, 0.01495361328125, 0.005062103271484375, 0.0207061767578125, -0.047271728515625, -0.021453857421875, 0.01110076904296875, -0.042144775390625, 0.003269195556640625, -0.0234832763671875, 0.039886474609375, 0.00592803955078125, -0.072265625, 0.004779815673828125, 0.048614501953125, -0.0181427001953125, -0.043914794921875, 0.007720947265625, -0.021392822265625, 0.0096893310546875, -0.047027587890625, 0.00522613525390625, -0.034759521484375, 0.03741455078125, -0.031524658203125, -0.00717926025390625, 0.004558563232421875, 0.0582275390625, -0.0208282470703125, -0.00494384765625, 0.0426025390625, -0.0526123046875, -0.0360107421875, -0.0070343017578125, -0.01085662841796875, 0.0643310546875, -0.025848388671875, 0.020599365234375, -0.022247314453125, 0.01092529296875, -0.00417327880859375, 0.01479339599609375, 0.02423095703125, -0.04510498046875, -0.0203094482421875, 0.032196044921875, 0.046356201171875, 0.0025577545166015625, -0.00737762451171875, 0.042694091796875, -0.0377197265625, 0.00024819374084472656, 0.01349639892578125, 0.01065826416015625, -0.0382080078125, -0.0108184814453125, -0.0701904296875, 0.050384521484375, 0.00989532470703125, 0.0460205078125, -0.004062652587890625, 0.005283355712890625, -0.005523681640625, -0.02227783203125, -0.041412353515625, 0.029205322265625, 0.005924224853515625, 0.0185089111328125, -0.041229248046875, -0.00811767578125, -0.010162353515625, 0.03948974609375, 0.07220458984375, 0.0029811859130859375, -0.01812744140625, -0.0198974609375, 0.05670166015625, 0.041595458984375, 0.00806427001953125, 0.02801513671875, 0.041839599609375, 0.02850341796875, 0.058074951171875, -0.02423095703125, 0.028717041015625, -0.0279693603515625, 0.022552490234375, 0.057098388671875, 0.00862884521484375, 0.003963470458984375, 0.01210784912109375, 0.0101318359375, -0.05462646484375, 0.003231048583984375, 0.0579833984375, -0.07720947265625, -0.01332855224609375, 0.0667724609375, 0.053314208984375, -0.0697021484375, -0.00531768798828125, -0.051513671875, 0.06756591796875, -0.0033111572265625, 0.0289306640625, -0.00447845458984375, 0.01708984375, 0.014923095703125, 0.0133056640625, 0.0236968994140625, 0.045684814453125, -0.03814697265625, 0.0020999908447265625, -0.015350341796875, 0.0006346702575683594, -0.06304931640625, -0.01763916015625, 0.0269622802734375, 0.0132904052734375, -0.018890380859375, -0.0261077880859375, 0.03375244140625, 0.0018301010131835938, -0.01543426513671875, -0.0201873779296875, -0.03240966796875, -0.00885009765625, 0.03570556640625, -0.01080322265625, -0.0166015625, 0.0243988037109375, 0.05419921875, 0.0119171142578125, -0.034393310546875, -0.056610107421875, -0.027252197265625, -0.0283050537109375, 0.0028553009033203125, 0.034454345703125, 0.02349853515625, 0.00896453857421875, 0.0275115966796875, -0.00792694091796875, 0.004802703857421875, 0.0118408203125, -0.0004353523254394531, -0.00891876220703125, 0.002880096435546875, 0.0413818359375, 0.027130126953125, -0.0185546875, -0.007160186767578125, 0.0272369384765625, -0.0221099853515625, 0.02490234375, 0.01168060302734375, -0.062286376953125, -0.007427215576171875, 0.0109710693359375, -0.01393890380859375, 0.0285186767578125, -0.0304718017578125, 0.020416259765625, 0.00807952880859375, -0.01554107666015625, -0.0102691650390625, -0.02447509765625, 0.056243896484375, -0.0189208984375, 0.06658935546875, -0.00820159912109375, 0.0159149169921875, 0.0101318359375, 0.0122528076171875, 0.0261688232421875, 0.0093994140625, -0.07781982421875, -0.00881195068359375, -0.04107666015625, -0.05694580078125, 0.0308074951171875, 0.03961181640625, -0.0158538818359375, 0.01824951171875, -0.043121337890625, -0.01288604736328125, -0.0015039443969726562, 0.000637054443359375, -0.0017137527465820312, -0.01163482666015625, -0.004695892333984375, -0.0188446044921875, -0.027801513671875, -0.0185546875, 0.0131072998046875, 0.00440216064453125, 0.041473388671875, 0.017791748046875, 0.017303466796875, 0.01108551025390625, 0.0033702850341796875, 0.05999755859375, -0.0660400390625, -0.01861572265625, 0.0355224609375, -0.0166168212890625, 0.00823974609375, -0.0117340087890625, -0.027679443359375, 0.06854248046875, 0.031524658203125, 0.0207366943359375, 0.023834228515625, 0.0203857421875, 0.0033283233642578125, -0.01508331298828125, 0.01495361328125, -0.0155792236328125, -0.01183319091796875, -0.037750244140625, -0.033355712890625, 0.041656494140625, 0.035003662109375, 0.026458740234375, 0.032135009765625, 0.0640869140625, 0.008056640625, 0.0518798828125, -0.0013065338134765625, 0.09832763671875, 0.0458984375, -0.0208892822265625, -0.05224609375, 0.01537322998046875, -0.002269744873046875, 0.0223236083984375, -0.0038928985595703125, 0.0728759765625, 0.018585205078125, -0.01055145263671875, 0.01509857177734375, 0.009063720703125, 0.061492919921875, -0.0114593505859375, 0.0130462646484375, 0.00833892822265625, -0.00009059906005859375, -0.00543975830078125, -0.057952880859375, -0.048065185546875, -0.091064453125, 0.0283966064453125, 0.0209808349609375, -0.01432037353515625, -0.0173187255859375, -0.025177001953125, -0.0253448486328125, 0.0265655517578125, -0.0030574798583984375, 0.00891876220703125, -0.0239105224609375, -0.005130767822265625, -0.009979248046875, -0.01090240478515625, -0.0185546875, 0.01125335693359375, 0.0308990478515625, -0.030731201171875, -0.023590087890625, -0.045318603515625, 0.007965087890625, -0.04473876953125, 0.0380859375, 0.03765869140625, -0.0386962890625, -0.047332763671875, 0.075927734375, 0.037322998046875, 0.099609375, 0.007053375244140625, -0.0406494140625, -0.053466796875, 0.04693603515625, 0.00571441650390625, -0.0019779205322265625, 0.0284423828125, 0.00624847412109375, -0.03167724609375, -0.044403076171875, 0.023895263671875, 0.03277587890625, -0.03302001953125, -0.0323486328125, 0.04937744140625, -0.0270538330078125, -0.0222320556640625, -0.0298919677734375, 0.043304443359375, -0.004238128662109375, -0.0199432373046875, 0.01091766357421875, -0.03179931640625, 0.020263671875, 0.0290679931640625, 0.01181793212890625, -0.0028018951416015625, -0.0000966787338256836, 0.0147857666015625, -0.039642333984375, 0.0247650146484375, 0.02227783203125, -0.0190887451171875, 0.0006060600280761719, 0.006069183349609375, 0.0145111083984375, 0.0611572265625, -0.020538330078125, -0.02374267578125, -0.00547027587890625, -0.032257080078125, -0.022857666015625, -0.007049560546875, 0.01349639892578125, 0.04010009765625, -0.006191253662109375, 0.0621337890625, -0.0200653076171875, -0.0399169921875, 0.026824951171875, -0.0008668899536132812, -0.0819091796875, 0.006755828857421875, 0.040313720703125, -0.04522705078125, 0.0028018951416015625, 0.0109405517578125, -0.00847625732421875, -0.005382537841796875, -0.010223388671875, -0.037994384765625, -0.020904541015625, -0.03070068359375, 0.0026416778564453125, -0.033172607421875, -0.0367431640625, 0.042938232421875, -0.033477783203125, -0.0126190185546875, 0.00312042236328125, 0.01087188720703125, 0.0028553009033203125, 0.028045654296875, 0.0209197998046875, 0.0108184814453125, -0.00905609130859375, -0.005046844482421875, 0.03277587890625, 0.005336761474609375, 0.0305023193359375, -0.01336669921875, -0.0250701904296875, -0.0002498626708984375, 0.01708984375, -0.0060577392578125, -0.0226593017578125, 0.042236328125, 0.0165863037109375, 0.01430511474609375, -0.0038890838623046875, 0.0389404296875, 0.0022983551025390625, 0.031585693359375, -0.01093292236328125, -0.0014982223510742188, 0.0066375732421875, -0.02801513671875, 0.01058197021484375, -0.01605224609375, 0.0227813720703125, 0.01678466796875, -0.00843048095703125, -0.0015001296997070312, -0.03302001953125, 0.0110931396484375 ]
0ced3b8a5086a80abc6b216b8b74cf8d874c7e35
Wordpress Stackexchange Q: Are Nonces Useless? This is probably a noob question BUT hear me out - isn't the point of using Nonce to protect from things like scrappers (phpcurl scrappers etc.)? But my Nonce prints out in the head of the document like so: /* <![CDATA[ */ var nc_ajax_getpost = { ...stuff... getpostNonce: "8a3318a44c" }; /* ]]> */ So if I was building a quick scrapper I would just get the nonce value from that page and then use it in my POST...making the whole exercise of using a Nonce useless... What am I missing here? A: http://en.wikipedia.org/wiki/Cryptographic_nonce "In security engineering, nonce is an arbitrary number used only once to sign a cryptographic communication. ... It is often a random ... authentication protocol to ensure that old communications cannot be reused in replay attacks. " The idea is to stop the submitting of repeat data. You create a single-use unique identifier personal to you, so that when you submit data, it can only be done once. It has nothing to do with browsing your site. Which is what site scraping does. How would you differentiate between a scraping bot and a trawling bot (like Google)?
Q: Are Nonces Useless? This is probably a noob question BUT hear me out - isn't the point of using Nonce to protect from things like scrappers (phpcurl scrappers etc.)? But my Nonce prints out in the head of the document like so: /* <![CDATA[ */ var nc_ajax_getpost = { ...stuff... getpostNonce: "8a3318a44c" }; /* ]]> */ So if I was building a quick scrapper I would just get the nonce value from that page and then use it in my POST...making the whole exercise of using a Nonce useless... What am I missing here? A: http://en.wikipedia.org/wiki/Cryptographic_nonce "In security engineering, nonce is an arbitrary number used only once to sign a cryptographic communication. ... It is often a random ... authentication protocol to ensure that old communications cannot be reused in replay attacks. " The idea is to stop the submitting of repeat data. You create a single-use unique identifier personal to you, so that when you submit data, it can only be done once. It has nothing to do with browsing your site. Which is what site scraping does. How would you differentiate between a scraping bot and a trawling bot (like Google)? A: Nonces are unique to each logged-in user. You can't scrape a logged-in user's nonces unless you have their cookies. But if you have a user's cookies, you've already stolen their identity and can do whatever you want. Nonces are meant to protect against users being tricked into doing something they didn't mean to do, by clicking a link or submitting a form. So they, themselves, perform this action (unintentionally), not the attacker.
wordpress
{ "language": "en", "length": 267, "provenance": "stackexchange_00019.jsonl.gz:414211", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32357" }
[ 0.028228759765625, 0.01113128662109375, -0.002460479736328125, 0.0236663818359375, 0.02679443359375, -0.03936767578125, 0.0625, -0.029266357421875, -0.0034580230712890625, 0.03289794921875, -0.032440185546875, 0.006397247314453125, -0.0022373199462890625, -0.0136566162109375, -0.023468017578125, -0.033477783203125, -0.0128021240234375, 0.0386962890625, 0.0537109375, 0.01323699951171875, -0.0127105712890625, 0.00582122802734375, 0.03533935546875, -0.10675048828125, 0.05474853515625, -0.09613037109375, 0.07012939453125, -0.027679443359375, 0.03656005859375, -0.02349853515625, 0.031402587890625, 0.00839996337890625, 0.02520751953125, 0.023956298828125, -0.0205535888671875, 0.0240478515625, 0.023681640625, -0.004871368408203125, 0.0050048828125, 0.004238128662109375, -0.01708984375, 0.01374053955078125, 0.020965576171875, -0.031463623046875, -0.048919677734375, 0.039337158203125, -0.050048828125, 0.0027561187744140625, -0.0282440185546875, 0.0066070556640625, 0.0231170654296875, -0.00664520263671875, 0.0185394287109375, 0.03741455078125, -0.01251983642578125, 0.005046844482421875, -0.06365966796875, -0.007114410400390625, 0.01263427734375, 0.03192138671875, 0.031005859375, -0.0107879638671875, 0.00908660888671875, 0.0140380859375, -0.01120758056640625, -0.03167724609375, -0.00579833984375, 0.0170745849609375, -0.06787109375, -0.0287322998046875, 0.0657958984375, -0.025146484375, -0.0027828216552734375, -0.032806396484375, -0.00577545166015625, 0.0170745849609375, 0.032257080078125, 0.006305694580078125, -0.01149749755859375, -0.01540374755859375, -0.01303863525390625, -0.0124359130859375, -0.09722900390625, 0.01384735107421875, 0.005340576171875, 0.041961669921875, -0.0017414093017578125, -0.0180511474609375, -0.0243988037109375, -0.0265045166015625, -0.020294189453125, -0.0166473388671875, 0.031829833984375, -0.0609130859375, -0.0589599609375, -0.024200439453125, -0.0265655517578125, -0.0301055908203125, -0.0125885009765625, -0.015716552734375, 0.01123809814453125, -0.0163421630859375, -0.003780364990234375, 0.01375579833984375, 0.004604339599609375, 0.071044921875, 0.04425048828125, -0.0249786376953125, 0.00717926025390625, -0.0239715576171875, -0.0003190040588378906, 0.039642333984375, 0.01322174072265625, -0.034332275390625, -0.0116119384765625, 0.0010814666748046875, 0.0112762451171875, -0.00046944618225097656, 0.01641845703125, -0.04486083984375, -0.007427215576171875, 0.0005016326904296875, -0.002902984619140625, 0.037628173828125, 0.008758544921875, 0.01605224609375, -0.00014019012451171875, -0.0180816650390625, 0.019012451171875, -0.01300811767578125, -0.01513671875, 0.038360595703125, 0.043670654296875, -0.00897216796875, -0.03326416015625, -0.0066986083984375, 0.0272674560546875, 0.03759765625, 0.0146484375, -0.006412506103515625, 0.020782470703125, -0.03350830078125, -0.0029850006103515625, 0.0247650146484375, 0.002521514892578125, -0.003955841064453125, 0.0129241943359375, 0.0406494140625, 0.0037136077880859375, -0.0013360977172851562, 0.0180511474609375, 0.00139617919921875, 0.0528564453125, -0.04736328125, 0.004116058349609375, -0.0180206298828125, 0.01849365234375, -0.0094451904296875, -0.0374755859375, -0.0238494873046875, 0.052703857421875, 0.0175018310546875, 0.01013946533203125, -0.007354736328125, 0.0012025833129882812, -0.040374755859375, -0.056884765625, 0.0102996826171875, 0.00820159912109375, -0.052215576171875, 0.0183258056640625, 0.0018253326416015625, 0.001560211181640625, -0.005069732666015625, 0.0142059326171875, 0.022003173828125, 0.004486083984375, 0.07891845703125, 0.012176513671875, -0.024871826171875, -0.0103912353515625, -0.0504150390625, 0.1131591796875, -0.04400634765625, -0.05401611328125, 0.044525146484375, 0.0131378173828125, 0.08221435546875, 0.009368896484375, 0.0237579345703125, 0.0224151611328125, 0.0020122528076171875, -0.016876220703125, 0.040130615234375, 0.0298614501953125, -0.051605224609375, -0.0489501953125, -0.03509521484375, 0.0004088878631591797, -0.0231475830078125, 0.0272979736328125, -0.01511383056640625, 0.00948333740234375, -0.041473388671875, -0.027099609375, -0.036407470703125, -0.00031375885009765625, 0.0193023681640625, -0.069580078125, 0.02117919921875, 0.0367431640625, -0.02667236328125, -0.04931640625, 0.08758544921875, 0.04547119140625, -0.018890380859375, -0.030120849609375, 0.01345062255859375, -0.0027980804443359375, 0.029327392578125, 0.03399658203125, -0.03656005859375, 0.01776123046875, 0.0287933349609375, 0.024658203125, 0.0009489059448242188, -0.0307159423828125, 0.01007080078125, 0.00511932373046875, 0.024139404296875, -0.0013189315795898438, 0.015716552734375, 0.06982421875, 0.047027587890625, -0.0360107421875, -0.0165863037109375, -0.0179443359375, -0.087158203125, -0.0013637542724609375, 0.0833740234375, 0.044952392578125, 0.0462646484375, -0.044036865234375, -0.0927734375, 0.054443359375, -0.033447265625, 0.014129638671875, -0.0634765625, -0.033172607421875, -0.0208587646484375, 0.0272979736328125, 0.0028820037841796875, 0.02117919921875, -0.0248870849609375, -0.0345458984375, 0.0640869140625, -0.0159759521484375, -0.00006699562072753906, -0.00429534912109375, 0.030731201171875, -0.0110321044921875, 0.04498291015625, 0.041168212890625, 0.0122528076171875, 0.032135009765625, -0.0450439453125, 0.01580810546875, -0.005344390869140625, -0.00469207763671875, -0.0279693603515625, 0.017120361328125, -0.03564453125, 0.0079803466796875, 0.06646728515625, 0.043487548828125, -0.0159454345703125, 0.021026611328125, -0.060821533203125, -0.00383758544921875, 0.0276947021484375, -0.00004178285598754883, 0.033905029296875, 0.0025920867919921875, -0.0140838623046875, -0.009368896484375, 0.0211181640625, 0.0120391845703125, -0.0084075927734375, 0.0168304443359375, 0.01282501220703125, -0.002071380615234375, 0.062164306640625, -0.004261016845703125, 0.0556640625, 0.01384735107421875, -0.00250244140625, -0.0509033203125, -0.0110626220703125, 0.0268096923828125, -0.031890869140625, -0.022918701171875, 0.062164306640625, 0.01245880126953125, 0.0122528076171875, 0.01297760009765625, 0.018829345703125, 0.0312042236328125, -0.003902435302734375, -0.0146026611328125, 0.017547607421875, -0.08258056640625, -0.05279541015625, 0.002384185791015625, -0.01485443115234375, -0.0163116455078125, -0.0338134765625, -0.01540374755859375, -0.00971221923828125, -0.060089111328125, -0.030426025390625, -0.012786865234375, -0.026031494140625, -0.010009765625, -0.01094818115234375, -0.0155792236328125, 0.0033512115478515625, -0.005462646484375, 0.004886627197265625, -0.01425933837890625, 0.01117706298828125, -0.0015096664428710938, -0.0032062530517578125, -0.0158233642578125, 0.0081024169921875, -0.0026416778564453125, 0.0015888214111328125, -0.002716064453125, 0.052093505859375, -0.00789642333984375, -0.073974609375, -0.044769287109375, 0.0214385986328125, -0.019287109375, -0.038330078125, -0.032196044921875, 0.0165863037109375, -0.00026988983154296875, 0.011749267578125, -0.03594970703125, -0.0160369873046875, 0.0216064453125, -0.0391845703125, 0.0169830322265625, -0.03070068359375, 0.0254669189453125, 0.023406982421875, -0.03936767578125, -0.00814056396484375, 0.0262298583984375, -0.05914306640625, 0.01523590087890625, -0.02581787109375, -0.020751953125, 0.01401519775390625, 0.00981903076171875, -0.01210784912109375, -0.0071563720703125, 0.0079498291015625, 0.009002685546875, 0.021026611328125, 0.008544921875, 0.0149078369140625, -0.0240478515625, -0.0203094482421875, -0.013458251953125, 0.003025054931640625, 0.01026153564453125, -0.030120849609375, 0.047210693359375, 0.0131683349609375, 0.004474639892578125, 0.0175323486328125, -0.025665283203125, 0.010833740234375, -0.050872802734375, 0.03887939453125, -0.0119171142578125, 0.0177764892578125, -0.0276947021484375, -0.0292816162109375, -0.01226806640625, 0.08660888671875, -0.037628173828125, -0.04620361328125, 0.00865936279296875, 0.0477294921875, -0.01050567626953125, -0.0253448486328125, 0.0582275390625, -0.044586181640625, -0.0168914794921875, -0.01493072509765625, -0.04656982421875, 0.0162811279296875, 0.00493621826171875, -0.006237030029296875, 0.026824951171875, -0.050018310546875, 0.005077362060546875, 0.006259918212890625, 0.00247955322265625, -0.04083251953125, 0.00482177734375, -0.039886474609375, 0.0360107421875, -0.0557861328125, 0.046356201171875, -0.010345458984375, 0.045806884765625, -0.0477294921875, -0.023406982421875, 0.03289794921875, 0.0233612060546875, 0.0265655517578125, -0.0300750732421875, -0.03619384765625, -0.019012451171875, 0.01544952392578125, -0.04119873046875, 0.039825439453125, -0.0311431884765625, -0.005889892578125, -0.01441192626953125, -0.0135345458984375, -0.03607177734375, -0.007175445556640625, 0.00801849365234375, 0.01145172119140625, 0.05279541015625, -0.0247955322265625, -0.04815673828125, -0.0101470947265625, 0.035980224609375, 0.03326416015625, -0.03790283203125, 0.031219482421875, -0.0034637451171875, -0.0248260498046875, 0.01751708984375, 0.0029201507568359375, 0.0022335052490234375, 0.0086517333984375, 0.02337646484375, 0.008544921875, -0.01081085205078125, 0.00640106201171875, -0.0006799697875976562, -0.0082550048828125, -0.08062744140625, 0.061676025390625, 0.029449462890625, 0.037628173828125, -0.01340484619140625, -0.06927490234375, 0.011962890625, 0.0220794677734375, -0.021453857421875, -0.0037899017333984375, -0.07550048828125, 0.05401611328125, 0.00319671630859375, -0.0223236083984375, 0.033782958984375, -0.0166168212890625, 0.0335693359375, 0.01126861572265625, -0.016021728515625, -0.01358795166015625, -0.00939178466796875, 0.0108642578125, -0.0209503173828125, 0.00650787353515625, 0.01165771484375, -0.03289794921875, 0.0038623809814453125, -0.00536346435546875, -0.021270751953125, -0.00830841064453125, 0.0122222900390625, -0.021026611328125, -0.0093994140625, -0.008880615234375, 0.0235443115234375, 0.005615234375, 0.01187896728515625, -0.006481170654296875, -0.0012674331665039062, 0.043853759765625, -0.005039215087890625, -0.031280517578125, -0.022613525390625, -0.0066375732421875, 0.022186279296875, 0.0184326171875, 0.0278472900390625, 0.018218994140625, -0.08782958984375, -0.002689361572265625, 0.00443267822265625, -0.0054168701171875, -0.1072998046875, -0.0209503173828125, -0.03314208984375, 0.00275421142578125, -0.02215576171875, 0.00049591064453125, 0.0438232421875, 0.0260467529296875, 0.01268768310546875, -0.044281005859375, -0.008575439453125, 0.0253143310546875, -0.01023101806640625, 0.01202392578125, 0.0215606689453125, -0.031494140625, 0.01528167724609375, 0.0270538330078125, -0.0194854736328125, -0.01904296875, 0.045135498046875, 0.062164306640625, 0.0206756591796875, 0.0159149169921875, -0.033782958984375, -0.0292816162109375, -0.0223541259765625, -0.0008425712585449219, 0.07861328125, 0.0257568359375, 0.00424957275390625, -0.01207733154296875, -0.0288238525390625, 0.04351806640625, -0.00453948974609375, 0.006500244140625, 0.00246429443359375, -0.005207061767578125, 0.00237274169921875, -0.06878662109375, 0.011444091796875, 0.037109375, -0.024749755859375, -0.0653076171875, -0.0184783935546875, 0.02618408203125, 0.05462646484375, -0.026458740234375, -0.035919189453125, 0.02099609375, 0.0005960464477539062, 0.01166534423828125, -0.01021575927734375, -0.011749267578125, 0.050201416015625, 0.0293731689453125, -0.01568603515625, -0.04473876953125, 0.03814697265625, -0.0171356201171875, -0.026458740234375, -0.0460205078125, 0.0010890960693359375, -0.0014696121215820312, -0.024505615234375, 0.004512786865234375, -0.040374755859375, 0.047332763671875, -0.016357421875, 0.0257568359375, 0.01491546630859375, -0.0154571533203125, -0.060272216796875, 0.0250091552734375, -0.062042236328125, 0.0028247833251953125, 0.00835418701171875, -0.0277252197265625, -0.028350830078125, -0.00826263427734375, 0.0716552734375, -0.0029926300048828125, 0.0135955810546875, -0.0172576904296875, -0.01197052001953125, -0.0013570785522460938, 0.002655029296875, -0.01131439208984375, 0.026092529296875, -0.006793975830078125, 0.0294189453125, 0.0129852294921875, 0.015380859375, -0.0027256011962890625, -0.0175628662109375, -0.0129852294921875, 0.00843048095703125, 0.037811279296875, 0.0013971328735351562, -0.009002685546875, 0.0029010772705078125, -0.0286865234375, -0.006671905517578125, 0.0273895263671875, -0.0240478515625, 0.006591796875, 0.041015625, -0.0023250579833984375, 0.020904541015625, -0.03961181640625, 0.00318145751953125, 0.050506591796875, -0.00846099853515625, -0.0044403076171875, 0.0191497802734375, -0.0219268798828125, -0.0159454345703125, 0.04071044921875, 0.0134124755859375, -0.006732940673828125, 0.03155517578125, -0.0088653564453125, -0.00399017333984375, 0.0191192626953125, 0.0433349609375, -0.0350341796875, 0.00304412841796875, -0.0005540847778320312, 0.01029205322265625, 0.0194244384765625, -0.0155487060546875, -0.01158905029296875, -0.06707763671875, 0.082275390625, 0.007579803466796875, -0.0033130645751953125, 0.0197296142578125, -0.0200653076171875, 0.01148223876953125, -0.0191192626953125, 0.040283203125, -0.0033721923828125, -0.019744873046875, 0.00476837158203125, -0.00644683837890625, 0.021148681640625, -0.033111572265625, -0.00396728515625, 0.0172882080078125, -0.0518798828125, -0.05572509765625, 0.01358795166015625, 0.00098419189453125, -0.002101898193359375, -0.0135650634765625, 0.0006999969482421875, 0.05267333984375, 0.0406494140625, -0.0019550323486328125, -0.04107666015625, 0.049957275390625, -0.0201416015625, 0.0037994384765625, -0.0262603759765625, 0.0194091796875, 0.045440673828125, 0.01206207275390625, 0.0256195068359375, 0.026611328125, -0.03619384765625, -0.0004150867462158203, 0.0028553009033203125, 0.04644775390625, -0.0168609619140625, -0.024505615234375, 0.058258056640625, -0.02288818359375, -0.03936767578125, -0.0005097389221191406, 0.0013837814331054688, -0.0479736328125, 0.00449371337890625, -0.007724761962890625, 0.0101470947265625, 0.0212249755859375, 0.003643035888671875, -0.061859130859375, 0.09600830078125, 0.0285186767578125, -0.00013256072998046875, -0.0091094970703125, 0.04705810546875, -0.027801513671875, 0.016845703125, -0.03369140625, 0.050537109375, -0.0675048828125, 0.04742431640625, -0.054931640625, 0.0114898681640625, 0.01198577880859375, -0.00759124755859375, -0.0218963623046875, 0.006565093994140625, -0.033538818359375, -0.0023212432861328125, -0.0185699462890625, -0.061004638671875, -0.061981201171875, 0.07452392578125, 0.005115509033203125, 0.0257415771484375, 0.039947509765625, -0.0421142578125, 0.0035839080810546875, 0.00722503662109375, 0.00592803955078125, 0.042694091796875, 0.01322174072265625, 0.00042557716369628906, 0.0035247802734375, 0.01751708984375, -0.061309814453125, 0.018890380859375, 0.037322998046875, 0.03497314453125, -0.0014123916625976562, 0.008056640625, 0.008636474609375, -0.06585693359375, 0.01407623291015625, -0.040985107421875, 0.04766845703125, -0.00730133056640625, 0.032135009765625, 0.04571533203125, -0.00618743896484375, 0.141845703125, 0.047149658203125, 0.0238800048828125, 0.025543212890625, 0.044586181640625, 0.039886474609375, 0.05279541015625, 0.045623779296875, 0.0190887451171875, 0.01085662841796875, 0.01262664794921875, 0.045440673828125, -0.030609130859375, -0.0280914306640625, -0.0046234130859375, 0.0081634521484375, 0.04730224609375, -0.02166748046875, 0.05670166015625, -0.0355224609375, -0.00807952880859375, 0.05328369140625, -0.0306396484375, 0.0141143798828125, -0.0027980804443359375, 0.0494384765625, 0.0938720703125, -0.01715087890625, -0.035858154296875, -0.0073394775390625, -0.01245880126953125, -0.025146484375, -0.011260986328125, 0.0192108154296875, 0.0124053955078125, 0.0264892578125, 0.0072784423828125, -0.00640106201171875, -0.0054473876953125, 0.025848388671875, -0.006908416748046875, -0.00688934326171875, -0.005893707275390625, 0.0229339599609375, 0.033905029296875, -0.0290985107421875, 0.03497314453125, 0.0261993408203125, 0.0239105224609375, -0.01537322998046875, -0.01544189453125, -0.01885986328125, -0.04156494140625, -0.0017633438110351562, -0.025665283203125, -0.01076507568359375, 0.004367828369140625, -0.0185394287109375, 0.012725830078125, 0.0063018798828125, 0.020263671875, -0.0484619140625, 0.050140380859375, -0.0192718505859375, -0.01522064208984375, 0.01983642578125, -0.041748046875, 0.01551055908203125, -0.0223388671875, -0.017669677734375, -0.0013151168823242188, -0.0308685302734375, -0.011260986328125, 0.006145477294921875, 0.0178680419921875, 0.0025634765625, 0.01849365234375, 0.01861572265625, -0.0012607574462890625, 0.005603790283203125, -0.03155517578125, 0.033172607421875, 0.019805908203125, -0.0015172958374023438, 0.01611328125, -0.010345458984375, -0.00885009765625, -0.0038738250732421875, 0.0198516845703125, -0.00616455078125, 0.02972412109375, -0.005462646484375, 0.006656646728515625, -0.021392822265625, 0.0595703125, -0.05743408203125, -0.027862548828125, 0.0213623046875, 0.0263519287109375, 0.0247802734375, -0.01312255859375, -0.0174560546875, 0.05413818359375, -0.0028934478759765625, -0.0085601806640625, 0.0197296142578125, -0.02691650390625, 0.01036834716796875, 0.003070831298828125, -0.040557861328125, -0.03369140625, -0.01509857177734375, 0.001087188720703125, -0.0009522438049316406, 0.0012969970703125, -0.011322021484375, -0.026031494140625, 0.0574951171875, 0.01229095458984375, 0.0014171600341796875, -0.0024204254150390625, -0.029815673828125, -0.0219268798828125, 0.001972198486328125, 0.052154541015625, 0.04583740234375, -0.048095703125, -0.0386962890625, -0.007434844970703125, 0.015655517578125, -0.0701904296875, -0.005924224853515625, 0.06561279296875, 0.01334381103515625, 0.0316162109375, 0.06439208984375, 0.01268768310546875, 0.019439697265625, -0.01947021484375, 0.0163726806640625, -0.0018138885498046875, -0.0127105712890625, 0.0203094482421875, -0.0343017578125, -0.0164794921875, 0.022552490234375, -0.036590576171875, 0.04351806640625, 0.034637451171875, -0.01505279541015625, 0.0301361083984375, -0.00257110595703125, -0.021087646484375, -0.0153656005859375, -0.0110321044921875, 0.05169677734375, -0.01153564453125, 0.07861328125, -0.0240020751953125, -0.0244293212890625, -0.033203125, -0.015838623046875, 0.00017368793487548828, 0.08013916015625, 0.031158447265625, 0.00754547119140625, 0.0122222900390625, -0.01471710205078125, 0.004253387451171875, 0.01611328125, 0.01983642578125, 0.0626220703125, -0.0195159912109375, -0.020294189453125, 0.0017070770263671875, -0.00846099853515625, -0.01129913330078125, -0.03631591796875, 0.018768310546875, -0.04937744140625, -0.017242431640625, -0.06292724609375, -0.002178192138671875, -0.0159149169921875, -0.042572021484375, -0.022979736328125, 0.0279541015625, -0.00020396709442138672, -0.0153656005859375, -0.038421630859375, -0.00010079145431518555, 0.01837158203125, -0.01165771484375, -0.0157928466796875, -0.024871826171875, -0.044219970703125, 0.00743865966796875, 0.0185089111328125, -0.029388427734375, 0.049163818359375, 0.0268402099609375, 0.02801513671875, 0.04949951171875, 0.039459228515625, -0.04852294921875, 0.0085601806640625, -0.010467529296875, 0.034576416015625, 0.0445556640625, -0.0293426513671875, 0.030975341796875, 0.0135955810546875, -0.04071044921875, 0.0145416259765625, 0.03436279296875, -0.031463623046875, 0.0064239501953125, 0.07525634765625, 0.0343017578125, 0.0247039794921875, -0.029571533203125, -0.0233917236328125, -0.0221405029296875, -0.0472412109375, -0.018585205078125, 0.03369140625, -0.06793212890625, 0.005611419677734375, -0.0013837814331054688, 0.007282257080078125, 0.0205841064453125, -0.018218994140625, -0.01169586181640625, -0.01076507568359375, 0.010223388671875, -0.0283355712890625, 0.0137786865234375, -0.0211181640625, 0.01421356201171875, -0.014495849609375, -0.0005993843078613281, 0.0006852149963378906, 0.01180267333984375, 0.0139923095703125, 0.044708251953125, -0.01947021484375, -0.0029296875, 0.0027751922607421875, 0.0200042724609375, 0.0027561187744140625, 0.031494140625, -0.03460693359375, 0.0014362335205078125, -0.0115203857421875, 0.02764892578125, 0.0159759521484375, 0.047882080078125, -0.0023097991943359375, -0.01091766357421875, -0.0016412734985351562, -0.00437164306640625, -0.0164337158203125, -0.05889892578125, -0.037353515625, 0.046661376953125, 0.006591796875, -0.0094757080078125, 0.0634765625, -0.0226287841796875, 0.037628173828125, 0.0255126953125, 0.05401611328125, 0.045623779296875, -0.0114898681640625, -0.0152740478515625, 0.0050201416015625, -0.0160064697265625 ]
7cbfd446047ba5c559ecef1ad3b12117924d26b0
Wordpress Stackexchange Q: Translate Navigation Menu & Sidebar Widget Titles Is there any plugin to translate navigation menu & sidebar widget titles ? A: Anyway, I found my answer. I used qTranslate to translate menu wordings as well as widget titles. Free & useful.
Q: Translate Navigation Menu & Sidebar Widget Titles Is there any plugin to translate navigation menu & sidebar widget titles ? A: Anyway, I found my answer. I used qTranslate to translate menu wordings as well as widget titles. Free & useful.
wordpress
{ "language": "en", "length": 42, "provenance": "stackexchange_00019.jsonl.gz:414214", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32369" }
[ -0.038238525390625, -0.024993896484375, 0.01016998291015625, 0.09674072265625, -0.024261474609375, -0.028900146484375, 0.0445556640625, -0.047332763671875, 0.0113372802734375, 0.066650390625, 0.035308837890625, -0.00852203369140625, 0.01751708984375, -0.0168304443359375, -0.048431396484375, 0.00206756591796875, 0.006153106689453125, 0.003021240234375, 0.009674072265625, -0.0247955322265625, -0.0134429931640625, -0.003017425537109375, 0.0238800048828125, -0.0008349418640136719, 0.012786865234375, -0.035186767578125, 0.0408935546875, -0.0306396484375, -0.004001617431640625, -0.03826904296875, 0.021087646484375, 0.0264892578125, 0.0193634033203125, -0.017669677734375, 0.040924072265625, -0.00455474853515625, -0.037200927734375, 0.00859832763671875, 0.00757598876953125, -0.0220184326171875, 0.03253173828125, -0.0259552001953125, -0.044158935546875, 0.027587890625, -0.02520751953125, -0.03509521484375, 0.043701171875, -0.01739501953125, 0.008209228515625, 0.03131103515625, 0.0243988037109375, -0.038360595703125, 0.03436279296875, -0.0223846435546875, -0.01206207275390625, -0.01739501953125, 0.00119781494140625, -0.0198211669921875, 0.02874755859375, 0.0274505615234375, -0.019012451171875, -0.00630950927734375, 0.0159759521484375, -0.01983642578125, -0.009765625, 0.00640869140625, -0.01739501953125, 0.0104522705078125, 0.0145263671875, -0.00029397010803222656, -0.00428009033203125, -0.0164642333984375, 0.01399993896484375, -0.00112152099609375, -0.0235443115234375, -0.01180267333984375, 0.0029087066650390625, -0.004276275634765625, 0.0302581787109375, -0.01120758056640625, 0.0260467529296875, 0.02056884765625, -0.01708984375, -0.01467132568359375, 0.0235748291015625, 0.01300048828125, -0.01093292236328125, -0.0261688232421875, -0.0390625, -0.010986328125, -0.00809478759765625, -0.0263214111328125, -0.07867431640625, 0.02691650390625, 0.042327880859375, -0.04730224609375, 0.0197906494140625, 0.04559326171875, -0.034423828125, 0.051361083984375, -0.015899658203125, -0.0299835205078125, 0.057342529296875, -0.036407470703125, 0.022125244140625, 0.0009527206420898438, -0.0210418701171875, 0.030059814453125, 0.0655517578125, 0.048675537109375, 0.0065460205078125, 0.0343017578125, 0.00765228271484375, -0.0186004638671875, 0.005565643310546875, 0.018524169921875, -0.01389312744140625, 0.04632568359375, 0.006397247314453125, 0.034454345703125, -0.04168701171875, -0.035614013671875, 0.0450439453125, 0.0281829833984375, 0.01456451416015625, 0.01180267333984375, 0.001220703125, -0.0021266937255859375, -0.0254669189453125, 0.0212249755859375, 0.0140838623046875, -0.023956298828125, -0.007244110107421875, 0.051605224609375, -0.0058135986328125, -0.0217437744140625, 0.056488037109375, 0.010772705078125, 0.006443023681640625, -0.009490966796875, 0.01062774658203125, 0.0030059814453125, -0.0005474090576171875, -0.01380157470703125, 0.02197265625, -0.018280029296875, 0.01392364501953125, 0.035003662109375, 0.01456451416015625, -0.0051116943359375, 0.031585693359375, -0.0247955322265625, 0.0284576416015625, 0.00998687744140625, -0.032562255859375, 0.0219268798828125, -0.0012845993041992188, -0.0160369873046875, -0.0217742919921875, -0.0122528076171875, -0.058258056640625, -0.04010009765625, 0.00005155801773071289, -0.04608154296875, -0.0655517578125, 0.07037353515625, 0.033111572265625, 0.0052947998046875, 0.0035533905029296875, 0.005016326904296875, -0.028961181640625, -0.00946044921875, -0.04339599609375, -0.007843017578125, -0.00322723388671875, 0.034759521484375, -0.0296478271484375, -0.007781982421875, 0.0193634033203125, -0.007129669189453125, -0.01372528076171875, -0.03564453125, 0.0069427490234375, 0.023223876953125, -0.0230255126953125, -0.040069580078125, 0.0001093745231628418, 0.038299560546875, 0.08319091796875, 0.0276947021484375, -0.036285400390625, -0.05853271484375, -0.050689697265625, 0.021697998046875, -0.004329681396484375, 0.0178680419921875, 0.00864410400390625, 0.04241943359375, -0.00728607177734375, -0.051605224609375, -0.0023250579833984375, -0.0246124267578125, -0.0007052421569824219, 0.0216827392578125, -0.0712890625, -0.007720947265625, -0.0281219482421875, 0.016510009765625, 0.0648193359375, 0.051239013671875, -0.024505615234375, 0.05523681640625, -0.00457763671875, -0.05096435546875, -0.048980712890625, 0.00095367431640625, -0.00148773193359375, 0.0283966064453125, 0.00780487060546875, -0.041778564453125, 0.025390625, -0.01546478271484375, 0.0433349609375, 0.0712890625, 0.01218414306640625, 0.01441192626953125, 0.000507354736328125, 0.01204681396484375, 0.05438232421875, 0.003002166748046875, 0.053741455078125, 0.001972198486328125, 0.00862884521484375, -0.0136871337890625, -0.047119140625, -0.0004968643188476562, -0.01059722900390625, -0.01080322265625, 0.00001901388168334961, 0.03253173828125, 0.03216552734375, 0.0309295654296875, -0.00983428955078125, 0.0141448974609375, 0.00438690185546875, -0.065673828125, 0.0018053054809570312, 0.00731658935546875, -0.0014133453369140625, 0.04010009765625, 0.007518768310546875, -0.0007486343383789062, 0.005268096923828125, 0.00484466552734375, 0.0171051025390625, 0.01221466064453125, -0.033416748046875, -0.043548583984375, 0.035308837890625, -0.008392333984375, 0.012969970703125, -0.024993896484375, -0.0181121826171875, 0.002101898193359375, 0.032318115234375, -0.00559234619140625, 0.031646728515625, 0.0255889892578125, -0.0167236328125, -0.00926971435546875, 0.0220794677734375, 0.0263214111328125, 0.0171356201171875, 0.012847900390625, 0.05126953125, 0.019012451171875, -0.0242156982421875, -0.036651611328125, 0.04339599609375, 0.0181427001953125, 0.022735595703125, 0.036163330078125, 0.005153656005859375, -0.014892578125, 0.021881103515625, -0.0292816162109375, -0.0145111083984375, -0.0099029541015625, -0.0099945068359375, -0.02752685546875, 0.00705718994140625, 0.0023441314697265625, -0.038360595703125, 0.034912109375, 0.002056121826171875, -0.037384033203125, 0.08966064453125, 0.0034885406494140625, 0.0015211105346679688, 0.014007568359375, 0.06591796875, 0.03985595703125, 0.01873779296875, -0.043548583984375, 0.0155029296875, 0.0003452301025390625, 0.047332763671875, -0.010162353515625, -0.000012099742889404297, 0.019927978515625, -0.071533203125, -0.0159149169921875, -0.0286407470703125, 0.007740020751953125, -0.0706787109375, -0.08734130859375, -0.04461669921875, -0.06591796875, -0.09869384765625, -0.037384033203125, -0.010467529296875, 0.014007568359375, -0.016265869140625, 0.052459716796875, 0.00777435302734375, -0.01073455810546875, 0.0831298828125, 0.0025310516357421875, 0.01451873779296875, -0.010650634765625, -0.034332275390625, -0.0133209228515625, -0.047332763671875, 0.0235595703125, -0.010223388671875, 0.0125274658203125, 0.00803375244140625, -0.07989501953125, -0.01450347900390625, -0.01129913330078125, 0.03558349609375, 0.073974609375, 0.003692626953125, -0.01514434814453125, 0.045379638671875, -0.02178955078125, 0.0183258056640625, 0.013824462890625, -0.022247314453125, 0.040557861328125, -0.051788330078125, -0.005573272705078125, 0.0152740478515625, 0.06683349609375, 0.0262298583984375, -0.0823974609375, -0.00835418701171875, 0.07696533203125, -0.04290771484375, -0.01409912109375, -0.029449462890625, 0.0173492431640625, -0.0362548828125, 0.01099395751953125, 0.00589752197265625, 0.002685546875, 0.0041046142578125, 0.0355224609375, 0.0183868408203125, 0.00969696044921875, -0.0080413818359375, 0.01013946533203125, -0.0177154541015625, 0.007404327392578125, 0.028228759765625, -0.002124786376953125, -0.0015001296997070312, -0.04534912109375, 0.033599853515625, -0.004657745361328125, -0.001438140869140625, 0.01776123046875, 0.0261383056640625, 0.034393310546875, -0.0135498046875, 0.027801513671875, -0.01363372802734375, 0.03277587890625, 0.01470184326171875, -0.0261993408203125, 0.02978515625, 0.0794677734375, -0.036468505859375, -0.0151519775390625, 0.0254669189453125, 0.003162384033203125, -0.005764007568359375, 0.00917816162109375, -0.056732177734375, -0.0225830078125, -0.07330322265625, 0.024627685546875, 0.00569915771484375, -0.0386962890625, 0.01267242431640625, 0.0099639892578125, -0.0297393798828125, -0.0275726318359375, 0.052337646484375, -0.00745391845703125, 0.01313018798828125, -0.00931549072265625, -0.017913818359375, -0.0311431884765625, -0.04156494140625, 0.00740814208984375, -0.072998046875, -0.01137542724609375, -0.055908203125, 0.09039306640625, 0.03594970703125, -0.00325775146484375, -0.0293731689453125, 0.032196044921875, 0.01560211181640625, 0.02996826171875, -0.0008473396301269531, -0.0163421630859375, 0.031097412109375, -0.00041365623474121094, 0.012054443359375, -0.00975799560546875, -0.010772705078125, 0.0140838623046875, -0.045074462890625, 0.007244110107421875, 0.0034046173095703125, -0.006175994873046875, 0.059173583984375, -0.059356689453125, -0.06329345703125, -0.0284423828125, 0.0163116455078125, 0.0264434814453125, 0.027496337890625, -0.005290985107421875, -0.037109375, -0.0670166015625, 0.027618408203125, -0.0011892318725585938, -0.00577545166015625, 0.0236663818359375, 0.01387786865234375, 0.0033702850341796875, -0.0241241455078125, -0.0413818359375, -0.016998291015625, 0.049896240234375, 0.038055419921875, 0.0070037841796875, 0.02886962890625, -0.05828857421875, 0.0843505859375, 0.04620361328125, -0.01561737060546875, 0.031463623046875, 0.042816162109375, 0.01580810546875, -0.0204925537109375, 0.0015735626220703125, -0.00807952880859375, -0.045654296875, 0.0231170654296875, -0.00090789794921875, 0.008453369140625, -0.01446533203125, 0.005374908447265625, -0.0027141571044921875, -0.016021728515625, -0.028533935546875, 0.0006794929504394531, -0.00191497802734375, 0.04693603515625, -0.001880645751953125, 0.0050506591796875, 0.01215362548828125, -0.0535888671875, -0.0175018310546875, -0.0225982666015625, 0.0078277587890625, -0.046661376953125, 0.0228729248046875, -0.005481719970703125, 0.0096435546875, -0.0040740966796875, 0.0222930908203125, 0.0035839080810546875, 0.05657958984375, 0.0038509368896484375, -0.01277923583984375, -0.034210205078125, 0.0006718635559082031, 0.0005664825439453125, -0.0008168220520019531, 0.0745849609375, -0.00041413307189941406, 0.0243377685546875, -0.01519012451171875, -0.006038665771484375, 0.0645751953125, 0.02740478515625, -0.0189971923828125, 0.032073974609375, -0.005489349365234375, -0.01116943359375, -0.034423828125, 0.0628662109375, -0.07373046875, 0.01708984375, 0.0123138427734375, 0.003093719482421875, 0.020294189453125, 0.0280914306640625, 0.01422882080078125, -0.045166015625, 0.0200347900390625, -0.00037670135498046875, 0.042572021484375, -0.007488250732421875, 0.020660400390625, 0.0245208740234375, 0.006694793701171875, 0.0287322998046875, -0.0020275115966796875, -0.005306243896484375, -0.0330810546875, -0.0283660888671875, 0.0634765625, 0.006122589111328125, -0.0687255859375, -0.031646728515625, -0.0242767333984375, 0.0257415771484375, -0.026092529296875, 0.0126800537109375, -0.034820556640625, -0.029754638671875, -0.028533935546875, 0.0236663818359375, -0.0246734619140625, -0.00399017333984375, -0.01131439208984375, -0.00010657310485839844, -0.0081939697265625, 0.0197906494140625, -0.031341552734375, -0.01959228515625, 0.00556182861328125, 0.0008907318115234375, 0.0022678375244140625, -0.0286102294921875, 0.0005006790161132812, -0.0093231201171875, 0.025848388671875, -0.01029205322265625, 0.020721435546875, 0.0226593017578125, -0.00444793701171875, 0.0075225830078125, -0.042449951171875, -0.01287841796875, -0.0400390625, -0.037841796875, -0.02301025390625, -0.0189971923828125, 0.0027008056640625, 0.027008056640625, 0.0234527587890625, 0.027587890625, 0.01305389404296875, -0.0296783447265625, 0.0133819580078125, 0.0201263427734375, 0.055419921875, -0.0294189453125, 0.0182342529296875, 0.056732177734375, -0.0019321441650390625, -0.0079193115234375, 0.01326751708984375, -0.022857666015625, 0.007236480712890625, 0.016510009765625, 0.012939453125, -0.041717529296875, -0.0174102783203125, 0.00348663330078125, -0.0228271484375, 0.0197601318359375, -0.0179595947265625, 0.050567626953125, -0.019195556640625, -0.008636474609375, 0.01824951171875, 0.001995086669921875, -0.007495880126953125, 0.02191162109375, 0.0748291015625, -0.054473876953125, -0.004299163818359375, 0.00687408447265625, 0.001232147216796875, 0.036102294921875, -0.035888671875, 0.00986480712890625, 0.038818359375, -0.06353759765625, 0.048614501953125, 0.055816650390625, 0.034149169921875, 0.04144287109375, -0.00980377197265625, 0.019195556640625, 0.0115814208984375, -0.0321044921875, 0.018768310546875, 0.055389404296875, 0.0228424072265625, -0.041015625, 0.017852783203125, -0.016021728515625, -0.01351165771484375, 0.01544952392578125, 0.07720947265625, 0.06744384765625, -0.08465576171875, 0.0011377334594726562, 0.0287628173828125, -0.031646728515625, -0.038665771484375, 0.02117919921875, -0.0110931396484375, -0.03271484375, 0.04034423828125, 0.01143646240234375, -0.01116180419921875, 0.018646240234375, 0.0190887451171875, 0.01513671875, 0.0032138824462890625, 0.0631103515625, 0.004543304443359375, 0.003910064697265625, -0.0628662109375, -0.00659942626953125, -0.0010519027709960938, -0.04168701171875, -0.00839996337890625, 0.04693603515625, 0.0031375885009765625, -0.03662109375, 0.09912109375, -0.0139923095703125, 0.029022216796875, 0.05975341796875, 0.0118255615234375, -0.01300811767578125, 0.027923583984375, -0.03515625, 0.060577392578125, -0.0306549072265625, 0.019378662109375, 0.048858642578125, 0.0161895751953125, -0.00921630859375, -0.01261138916015625, 0.0163421630859375, -0.01519012451171875, -0.0316162109375, -0.004016876220703125, -0.0185089111328125, -0.01617431640625, 0.086669921875, -0.004123687744140625, -0.035247802734375, -0.00278472900390625, -0.0019207000732421875, 0.0024547576904296875, 0.01397705078125, 0.02459716796875, -0.0576171875, -0.025726318359375, 0.01910400390625, -0.039825439453125, -0.016571044921875, 0.0218963623046875, -0.049346923828125, 0.060577392578125, 0.005695343017578125, 0.005847930908203125, 0.01151275634765625, 0.0158233642578125, -0.0262451171875, -0.0009517669677734375, -0.0268096923828125, 0.02734375, -0.0252838134765625, 0.0084075927734375, 0.0059814453125, 0.0174407958984375, 0.0023174285888671875, -0.002330780029296875, -0.0028476715087890625, -0.00301361083984375, 0.01227569580078125, -0.0160064697265625, 0.031524658203125, 0.056884765625, 0.035736083984375, -0.0155792236328125, 0.0185546875, -0.0120697021484375, 0.004283905029296875, 0.0185089111328125, 0.04803466796875, -0.04681396484375, -0.0180816650390625, 0.02301025390625, 0.0203094482421875, 0.02471923828125, -0.0064697265625, 0.033477783203125, -0.0026397705078125, -0.01168060302734375, -0.0082855224609375, 0.033660888671875, -0.0101165771484375, 0.0007686614990234375, -0.002162933349609375, -0.0284881591796875, 0.003299713134765625, -0.033843994140625, 0.035552978515625, 0.009307861328125, -0.005466461181640625, -0.0136871337890625, 0.0162200927734375, 0.006866455078125, -0.050567626953125, -0.026092529296875, 0.0264434814453125, -0.0272674560546875, 0.0305328369140625, -0.007320404052734375, 0.045440673828125, -0.043609619140625, -0.0286407470703125, 0.0244293212890625, 0.054473876953125, -0.01654052734375, -0.06756591796875, 0.01506805419921875, -0.0016164779663085938, 0.003963470458984375, 0.0655517578125, 0.009979248046875, -0.02386474609375, 0.044464111328125, 0.024322509765625, -0.002349853515625, 0.0009908676147460938, 0.0296478271484375, 0.0012569427490234375, 0.01067352294921875, -0.00893402099609375, 0.0077667236328125, -0.0289459228515625, 0.022186279296875, 0.0184326171875, 0.049652099609375, -0.005153656005859375, 0.066162109375, -0.05303955078125, -0.031829833984375, 0.0159759521484375, 0.009735107421875, -0.0164642333984375, -0.00913238525390625, -0.046905517578125, -0.07940673828125, 0.02471923828125, 0.036865234375, 0.0164794921875, 0.049957275390625, 0.03118896484375, 0.050628662109375, 0.0263519287109375, 0.0016927719116210938, 0.050628662109375, -0.0013856887817382812, 0.0146026611328125, -0.019866943359375, 0.0418701171875, 0.0153656005859375, -0.0056915283203125, -0.004711151123046875, 0.0648193359375, 0.0017633438110351562, 0.0300140380859375, 0.054443359375, 0.0018787384033203125, 0.01352691650390625, 0.015106201171875, -0.03369140625, 0.045867919921875, 0.034423828125, -0.0777587890625, -0.0229949951171875, 0.0046539306640625, -0.0223388671875, 0.00798797607421875, 0.030487060546875, -0.042572021484375, 0.044647216796875, 0.03668212890625, -0.0281829833984375, -0.0157928466796875, -0.0169525146484375, 0.064697265625, 0.028900146484375, -0.0181121826171875, 0.03131103515625, -0.0552978515625, -0.035919189453125, -0.001720428466796875, 0.043365478515625, 0.037841796875, -0.03997802734375, 0.043060302734375, 0.041595458984375, -0.0328369140625, -0.03436279296875, -0.0031871795654296875, -0.040374755859375, -0.0117950439453125, 0.0318603515625, 0.004871368408203125, -0.0140533447265625, -0.06317138671875, -0.00475311279296875, 0.033355712890625, -0.01160430908203125, -0.002147674560546875, -0.02166748046875, 0.0203857421875, -0.006748199462890625, 0.01751708984375, -0.0301666259765625, -0.0158538818359375, 0.012481689453125, -0.018280029296875, 0.0266571044921875, 0.0048980712890625, 0.01442718505859375, 0.021697998046875, -0.03424072265625, -0.0193634033203125, 0.00849151611328125, -0.04937744140625, -0.00955963134765625, 0.022125244140625, -0.033355712890625, 0.0007123947143554688, -0.0048828125, -0.01418304443359375, -0.011932373046875, 0.034027099609375, -0.00739288330078125, 0.0032291412353515625, -0.00597381591796875, 0.014312744140625, -0.049102783203125, 0.0197601318359375, -0.04595947265625, -0.0101470947265625, -0.0306549072265625, 0.0281219482421875, -0.0005559921264648438, -0.000640869140625, -0.0181427001953125, -0.052093505859375, -0.0018138885498046875, -0.004638671875, -0.03704833984375, -0.044525146484375, -0.0570068359375, -0.0118255615234375, 0.00450897216796875, -0.0185546875, 0.007778167724609375, -0.0009746551513671875, -0.01093292236328125, -0.03277587890625, -0.033355712890625, -0.0195770263671875, 0.00928497314453125, -0.0005736351013183594, -0.046722412109375, -0.0006041526794433594, -0.036651611328125, -0.0225830078125, -0.021514892578125, 0.0304718017578125, 0.044525146484375, -0.0219268798828125, 0.00244903564453125, 0.018829345703125, 0.038818359375, 0.06585693359375, 0.06292724609375, -0.016845703125, 0.0116119384765625, -0.00556182861328125, -0.01953125, -0.03131103515625, 0.0108184814453125, -0.06768798828125, -0.0311431884765625, -0.0177154541015625, -0.04547119140625, -0.0513916015625, -0.04998779296875, -0.05224609375, 0.0811767578125, 0.0017871856689453125, -0.026702880859375, -0.001720428466796875, 0.0104827880859375, -0.0274200439453125, 0.013458251953125, 0.0005745887756347656, -0.047393798828125, 0.02435302734375, 0.04150390625, 0.019317626953125, 0.0380859375, 0.004215240478515625, 0.027740478515625, -0.0049285888671875, 0.019775390625, 0.0195465087890625, 0.01226806640625, -0.0000413060188293457, -0.0049285888671875, -0.033935546875, -0.01116180419921875, -0.0687255859375, -0.081787109375, -0.0287017822265625, 0.054534912109375, 0.006378173828125, -0.0287933349609375, -0.0294952392578125, 0.00823974609375, 0.035125732421875, 0.03692626953125, 0.0160369873046875, -0.04620361328125, 0.0234832763671875, -0.00498199462890625, -0.01540374755859375, 0.0012578964233398438, -0.0011234283447265625, -0.0200653076171875, -0.012939453125, -0.0027923583984375, -0.0178985595703125, -0.01512908935546875, 0.03692626953125, -0.0241241455078125, 0.0037841796875, 0.049072265625, -0.039093017578125, 0.0012073516845703125, 0.0014286041259765625, 0.1004638671875, -0.05010986328125, 0.0227508544921875, 0.0185394287109375, -0.0010976791381835938, 0.06414794921875, 0.010986328125, -0.038330078125, 0.02294921875, -0.0035877227783203125, 0.00550079345703125, 0.0017461776733398438, 0.0005030632019042969, 0.0195159912109375, 0.0245361328125, -0.013702392578125, 0.03863525390625, 0.00994110107421875, 0.048553466796875, -0.04229736328125, 0.06439208984375, 0.0270538330078125, 0.018829345703125, -0.0003516674041748047, 0.026275634765625, 0.00691986083984375, 0.037841796875, -0.0304107666015625, -0.027740478515625, 0.01146697998046875, -0.06689453125, 0.00902557373046875, -0.0013866424560546875, -0.0256805419921875, -0.03558349609375, 0.006786346435546875, -0.04010009765625, -0.02703857421875, 0.0182647705078125 ]
ef1a0ae781469bfc5f29bb47b57d1d5261fd7935
Wordpress Stackexchange Q: Adding submit or update button to custom metabox? I have alot of custom meta boxes, and the user has to scroll to the top everytime he wants to save the meta info. Is there a way to put submit buttons at every meta box that does that same as the update button? A: DON'T DO IT! There's reasons why FORMs have centralized submits. Because there's some processing done behind the screen and one button is safe. Having an extra button in all your Metaboxes will also take up more space. The easier you make it for the user to press the button, the safer it is to bet he'll forget something. The more difficult it is to submit a post, the more sure you can be he'll review stuff properly. One button = IMPORTANT. Many buttons = importance demotion.
Q: Adding submit or update button to custom metabox? I have alot of custom meta boxes, and the user has to scroll to the top everytime he wants to save the meta info. Is there a way to put submit buttons at every meta box that does that same as the update button? A: DON'T DO IT! There's reasons why FORMs have centralized submits. Because there's some processing done behind the screen and one button is safe. Having an extra button in all your Metaboxes will also take up more space. The easier you make it for the user to press the button, the safer it is to bet he'll forget something. The more difficult it is to submit a post, the more sure you can be he'll review stuff properly. One button = IMPORTANT. Many buttons = importance demotion. A: Don't know if i agree with EarnestoDev answer which is more of an opinion then an answer based on facts and not true in all cases, since you can use jQuery to trigger the submit event when a different element is clicked, so just add this js code once <script> jQuery('.metabox_submit').click(function(e) { e.preventDefault(); jQuery('#publish').click(); }); </script> and in each metabox add: <input type="submit" class="metabox_submit" value="Submit" /> A: This is the totally wrong approach to the problem (and this is really a UX question, not a coding one). When you have many submit buttons, the UX convention is that each button will submit data grouped with it and not any other. This is not how wordpress post editor work as it has only one form and the metaboxes are just for visual effect, not a true separation of forms. Therefor you want only one submit button in order to not to confuse your users. Now the problem with the button is that it scrolls with the page and gets out of the users field of view and he needs to scroll to see it, but the solution is not to litter the page with tens of buttons, but to either float the button (add some JS to change the css position to fixed when it gets out of view) or add a submit button in the admin bar and I can't find it right now but there used to be a plugin that does it.
wordpress
{ "language": "en", "length": 385, "provenance": "stackexchange_00019.jsonl.gz:414221", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32380" }
[ 0.08135986328125, -0.0121612548828125, 0.03961181640625, -0.01690673828125, 0.001522064208984375, -0.01059722900390625, 0.04437255859375, -0.03594970703125, 0.0250091552734375, 0.07269287109375, -0.005481719970703125, -0.03558349609375, 0.031982421875, -0.015838623046875, -0.07147216796875, -0.0180511474609375, 0.0430908203125, -0.0011730194091796875, 0.040130615234375, -0.01044464111328125, 0.022735595703125, -0.0006480216979980469, 0.03399658203125, 0.037200927734375, 0.01055908203125, -0.0290069580078125, 0.01468658447265625, 0.0287017822265625, -0.0210113525390625, 0.00203704833984375, 0.01019287109375, 0.0070648193359375, 0.022430419921875, -0.0034122467041015625, 0.0031108856201171875, 0.047454833984375, 0.0283355712890625, -0.00787353515625, -0.0014009475708007812, 0.030059814453125, 0.0433349609375, -0.04010009765625, 0.0284423828125, 0.01505279541015625, -0.0011844635009765625, -0.001918792724609375, 0.0159759521484375, -0.05572509765625, 0.05438232421875, 0.004306793212890625, -0.01371002197265625, 0.0103607177734375, 0.01476287841796875, -0.054229736328125, -0.016326904296875, -0.02679443359375, -0.00328826904296875, -0.00753021240234375, 0.0438232421875, 0.0024890899658203125, -0.034454345703125, -0.034820556640625, 0.0196685791015625, -0.037322998046875, -0.0037403106689453125, -0.0261688232421875, -0.03033447265625, 0.0181121826171875, -0.004604339599609375, -0.00394439697265625, 0.014373779296875, -0.02520751953125, 0.000049114227294921875, -0.006603240966796875, 0.0253753662109375, -0.0298614501953125, -0.0019350051879882812, -0.0246734619140625, 0.026641845703125, 0.039093017578125, -0.02008056640625, -0.01058197021484375, -0.00550079345703125, -0.024810791015625, 0.021240234375, 0.0252227783203125, -0.027801513671875, -0.007656097412109375, -0.0231475830078125, -0.0662841796875, -0.0063323974609375, -0.0982666015625, -0.069091796875, 0.01535797119140625, 0.01467132568359375, -0.051788330078125, -0.002079010009765625, -0.0117034912109375, -0.01401519775390625, -0.0248565673828125, 0.01483154296875, -0.0245208740234375, 0.01441192626953125, -0.002716064453125, -0.00911712646484375, -0.01031494140625, 0.008331298828125, 0.0173187255859375, 0.0333251953125, 0.035919189453125, -0.016448974609375, 0.01409149169921875, 0.00420379638671875, 0.00962066650390625, -0.03057861328125, -0.0278167724609375, -0.036895751953125, 0.0302734375, -0.0194854736328125, 0.0186614990234375, 0.018798828125, 0.051239013671875, -0.0175628662109375, -0.051666259765625, -0.005706787109375, -0.023345947265625, -0.0179290771484375, -0.01397705078125, -0.0222625732421875, 0.0012483596801757812, -0.053955078125, -0.0010242462158203125, 0.0714111328125, 0.06597900390625, 0.037445068359375, -0.0142364501953125, 0.005306243896484375, -0.0189208984375, -0.0233001708984375, 0.036529541015625, -0.0243988037109375, -0.056243896484375, -0.0029315948486328125, -0.01184844970703125, -0.058258056640625, 0.03472900390625, 0.0194549560546875, -0.0015316009521484375, -0.03790283203125, -0.0811767578125, -0.0176849365234375, -0.0171661376953125, 0.037017822265625, -0.00662994384765625, -0.017974853515625, -0.005344390869140625, 0.01180267333984375, -0.0182342529296875, -0.0292205810546875, -0.018798828125, -0.006305694580078125, 0.007293701171875, 0.052032470703125, 0.034332275390625, 0.02557373046875, -0.009246826171875, -0.020721435546875, 0.004337310791015625, 0.01451873779296875, 0.057220458984375, -0.03546142578125, 0.0212554931640625, -0.0168609619140625, 0.0009212493896484375, -0.01422119140625, -0.00011819601058959961, 0.021240234375, 0.0362548828125, 0.002361297607421875, 0.0285797119140625, 0.001003265380859375, -0.03802490234375, 0.08843994140625, -0.039703369140625, -0.06304931640625, 0.050750732421875, -0.0152130126953125, 0.061859130859375, 0.018096923828125, -0.0078582763671875, 0.0430908203125, 0.017486572265625, -0.025054931640625, 0.0233612060546875, -0.002197265625, 0.0205230712890625, -0.03350830078125, 0.01514434814453125, -0.0198516845703125, -0.0239105224609375, -0.07305908203125, -0.00731658935546875, -0.000759124755859375, 0.0208587646484375, 0.0125885009765625, -0.01055908203125, -0.0059967041015625, 0.03033447265625, 0.031341552734375, 0.0194854736328125, -0.006595611572265625, -0.01079559326171875, 0.00917816162109375, -0.048797607421875, -0.031890869140625, 0.026641845703125, 0.004467010498046875, 0.0122528076171875, -0.00045108795166015625, 0.020782470703125, -0.01214599609375, -0.00275421142578125, -0.02508544921875, -0.002330780029296875, 0.0020198822021484375, -0.01554107666015625, -0.01280975341796875, -0.0142364501953125, -0.037628173828125, 0.0303802490234375, -0.08453369140625, 0.032135009765625, 0.00870513916015625, -0.026214599609375, -0.032623291015625, 0.0111236572265625, -0.0117034912109375, -0.06744384765625, -0.020782470703125, 0.05120849609375, -0.007030487060546875, 0.00525665283203125, 0.0161590576171875, 0.130615234375, -0.0193023681640625, -0.025909423828125, -0.004390716552734375, 0.0711669921875, 0.007038116455078125, 0.03070068359375, -0.0262298583984375, -0.0150146484375, 0.013427734375, -0.0645751953125, 0.01258087158203125, 0.0279998779296875, -0.041473388671875, -0.0005402565002441406, -0.002166748046875, -0.022064208984375, 0.002346038818359375, -0.0335693359375, -0.00347900390625, -0.0205535888671875, 0.06842041015625, 0.00034546852111816406, 0.04345703125, 0.035125732421875, -0.02655029296875, 0.00910186767578125, 0.0005331039428710938, -0.03533935546875, -0.0007386207580566406, 0.022552490234375, 0.00539398193359375, 0.03271484375, -0.035308837890625, -0.0084991455078125, 0.020355224609375, 0.035247802734375, -0.0197906494140625, -0.025634765625, -0.0423583984375, -0.013458251953125, 0.0280609130859375, -0.046966552734375, -0.0037708282470703125, -0.0260009765625, 0.035186767578125, -0.0247344970703125, 0.0231781005859375, -0.0212860107421875, -0.0277099609375, 0.042572021484375, 0.0086212158203125, -0.0738525390625, -0.0037937164306640625, -0.023681640625, 0.032318115234375, -0.0310516357421875, 0.039886474609375, 0.06011962890625, -0.035003662109375, 0.0355224609375, -0.0133819580078125, 0.01526641845703125, -0.053009033203125, 0.04583740234375, 0.0126800537109375, -0.0263671875, -0.041839599609375, -0.00743865966796875, 0.020263671875, 0.043060302734375, -0.0066070556640625, -0.0293426513671875, -0.00278472900390625, 0.017181396484375, -0.04833984375, -0.049285888671875, 0.017364501953125, -0.03692626953125, 0.029541015625, -0.031494140625, -0.0186309814453125, -0.029510498046875, -0.005649566650390625, 0.014373779296875, -0.0290985107421875, 0.00423431396484375, 0.0226287841796875, -0.00896453857421875, -0.0283050537109375, -0.0301361083984375, 0.018096923828125, 0.0109100341796875, -0.0098114013671875, 0.0716552734375, -0.0025501251220703125, -0.0631103515625, -0.0279693603515625, 0.004909515380859375, 0.00463104248046875, 0.015655517578125, 0.06964111328125, -0.040374755859375, 0.015472412109375, -0.0007138252258300781, -0.01282501220703125, 0.039825439453125, -0.0258636474609375, -0.02386474609375, -0.01522064208984375, -0.060150146484375, -0.0020732879638671875, 0.0241241455078125, 0.0027008056640625, 0.00006979703903198242, 0.055145263671875, -0.03839111328125, 0.010955810546875, 0.01201629638671875, -0.006473541259765625, -0.047393798828125, -0.023956298828125, -0.0172271728515625, -0.01215362548828125, 0.00518798828125, 0.04595947265625, 0.0338134765625, 0.03680419921875, 0.0220489501953125, -0.0330810546875, -0.01151275634765625, 0.016357421875, -0.03741455078125, -0.0325927734375, -0.03857421875, 0.0673828125, -0.01470184326171875, 0.01036834716796875, -0.0256195068359375, 0.07183837890625, -0.0137176513671875, -0.051361083984375, 0.0379638671875, -0.0601806640625, 0.0185394287109375, -0.08258056640625, -0.01837158203125, -0.0277252197265625, 0.09478759765625, -0.05023193359375, -0.0323486328125, -0.005496978759765625, 0.01087188720703125, 0.0107269287109375, -0.00027108192443847656, 0.0022754669189453125, -0.0254364013671875, -0.015869140625, 0.0124053955078125, 0.00841522216796875, -0.007965087890625, -0.016448974609375, 0.018707275390625, -0.0143890380859375, -0.0157928466796875, 0.041107177734375, -0.055419921875, 0.0157470703125, 0.0011930465698242188, 0.0128936767578125, -0.033599853515625, -0.009735107421875, -0.04522705078125, -0.0831298828125, -0.0104827880859375, -0.032684326171875, 0.061279296875, -0.005115509033203125, 0.001346588134765625, -0.01361083984375, 0.048736572265625, -0.00865936279296875, 0.0264129638671875, -0.0001544952392578125, 0.027587890625, 0.0012760162353515625, -0.0212249755859375, 0.002040863037109375, -0.0206451416015625, -0.003997802734375, -0.004405975341796875, 0.01178741455078125, 0.026153564453125, -0.038818359375, -0.03839111328125, -0.00960540771484375, -0.0159759521484375, -0.0355224609375, -0.059814453125, -0.0675048828125, 0.0267333984375, -0.021240234375, -0.005428314208984375, -0.076416015625, -0.064208984375, -0.0266876220703125, 0.00936126708984375, -0.0426025390625, 0.039398193359375, 0.0168304443359375, 0.0273284912109375, -0.016998291015625, -0.08135986328125, -0.0017375946044921875, 0.0305633544921875, 0.0005822181701660156, -0.0016460418701171875, -0.00039505958557128906, -0.0184783935546875, 0.00406646728515625, -0.01166534423828125, 0.0204620361328125, -0.0252227783203125, 0.0670166015625, -0.028106689453125, -0.0181121826171875, 0.03314208984375, -0.038330078125, -0.0003559589385986328, 0.02471923828125, -0.01861572265625, 0.007808685302734375, -0.06134033203125, 0.010711669921875, 0.01151275634765625, 0.006938934326171875, -0.038238525390625, -0.005702972412109375, -0.0087432861328125, -0.01468658447265625, 0.0633544921875, 0.0188751220703125, -0.00234222412109375, -0.0014781951904296875, 0.0036487579345703125, -0.00469970703125, -0.0261383056640625, -0.0294036865234375, -0.0037212371826171875, 0.004596710205078125, 0.0175933837890625, 0.00678253173828125, -0.0283355712890625, -0.00592041015625, 0.0386962890625, 0.00989532470703125, -0.037811279296875, 0.01412200927734375, -0.01306915283203125, 0.03729248046875, 0.01247406005859375, 0.020294189453125, 0.01087188720703125, -0.015838623046875, -0.00928497314453125, -0.00445556640625, 0.0229034423828125, -0.01319122314453125, -0.032135009765625, -0.0013914108276367188, 0.023040771484375, -0.0215606689453125, 0.035247802734375, 0.004558563232421875, -0.0083465576171875, 0.00844573974609375, 0.0015230178833007812, 0.004726409912109375, 0.040191650390625, 0.0011129379272460938, 0.03985595703125, -0.0140533447265625, -0.002315521240234375, -0.033660888671875, -0.005535125732421875, 0.003276824951171875, 0.0182647705078125, 0.01268768310546875, 0.01470184326171875, 0.0208587646484375, 0.0010995864868164062, -0.0102996826171875, -0.04931640625, -0.0170135498046875, -0.03863525390625, -0.01357269287109375, -0.0225677490234375, 0.0228424072265625, 0.00022172927856445312, -0.051422119140625, 0.00942230224609375, 0.01522064208984375, -0.02276611328125, -0.0044708251953125, -0.000865936279296875, -0.048492431640625, -0.00690460205078125, -0.00536346435546875, 0.006252288818359375, -0.003688812255859375, 0.01001739501953125, -0.007289886474609375, -0.08563232421875, -0.0638427734375, 0.0023193359375, 0.01328277587890625, 0.0396728515625, -0.018524169921875, 0.002765655517578125, -0.01291656494140625, 0.0080718994140625, 0.006977081298828125, 0.037322998046875, 0.003971099853515625, -0.0240478515625, 0.006633758544921875, -0.0264129638671875, -0.047454833984375, -0.0185546875, -0.05029296875, -0.06610107421875, -0.006984710693359375, 0.01358795166015625, 0.035125732421875, 0.052581787109375, -0.007228851318359375, -0.055419921875, -0.0138397216796875, -0.0364990234375, 0.004024505615234375, 0.0290374755859375, -0.007617950439453125, 0.02838134765625, 0.00878143310546875, 0.034423828125, 0.00293731689453125, 0.0156402587890625, 0.01302337646484375, -0.0293121337890625, 0.00023186206817626953, -0.032379150390625, -0.007755279541015625, -0.0016107559204101562, -0.00099945068359375, 0.02972412109375, 0.0310821533203125, 0.0028629302978515625, 0.01189422607421875, -0.04296875, -0.0073089599609375, -0.0204925537109375, 0.0692138671875, -0.0501708984375, -0.007564544677734375, 0.0443115234375, -0.01459503173828125, -0.004009246826171875, 0.00494384765625, -0.00286102294921875, 0.00860595703125, -0.0012149810791015625, 0.0021572113037109375, -0.020904541015625, -0.0789794921875, 0.05877685546875, 0.027801513671875, 0.024078369140625, 0.043182373046875, -0.0261383056640625, 0.030029296875, 0.019195556640625, -0.0034275054931640625, 0.005016326904296875, 0.0261993408203125, 0.08551025390625, 0.0153045654296875, -0.031524658203125, 0.059326171875, -0.033050537109375, 0.034454345703125, 0.0256500244140625, 0.0645751953125, -0.07232666015625, 0.02484130859375, 0.0171966552734375, 0.012542724609375, 0.0638427734375, -0.01453399658203125, -0.00778961181640625, -0.03057861328125, 0.045562744140625, -0.005764007568359375, -0.01403045654296875, 0.024169921875, -0.0253448486328125, -0.0255279541015625, -0.04461669921875, -0.017974853515625, -0.0003619194030761719, -0.003818511962890625, 0.02001953125, 0.0118560791015625, -0.035247802734375, 0.02435302734375, -0.02227783203125, -0.000885009765625, -0.05914306640625, -0.053863525390625, -0.038909912109375, -0.039642333984375, -0.0231781005859375, 0.0305328369140625, 0.0231781005859375, 0.055206298828125, 0.0408935546875, 0.0063018798828125, 0.0242767333984375, -0.01128387451171875, 0.0225372314453125, -0.059417724609375, -0.0228271484375, -0.0031833648681640625, -0.007770538330078125, 0.021392822265625, 0.0194549560546875, -0.022796630859375, -0.0341796875, -0.01557159423828125, -0.034271240234375, 0.080078125, -0.0012302398681640625, -0.039276123046875, 0.0196533203125, -0.022491455078125, -0.0218048095703125, 0.01244354248046875, -0.03570556640625, -0.032440185546875, 0.00643157958984375, -0.026275634765625, -0.052001953125, 0.0035762786865234375, -0.00978851318359375, -0.08251953125, 0.06103515625, 0.02947998046875, 0.0251922607421875, -0.03594970703125, 0.02911376953125, -0.000400543212890625, 0.0116729736328125, -0.01702880859375, 0.0193634033203125, 0.00485992431640625, -0.00797271728515625, -0.01422119140625, -0.01125335693359375, -0.02239990234375, 0.0263824462890625, 0.0462646484375, 0.005329132080078125, -0.031524658203125, 0.0040435791015625, 0.064453125, 0.08013916015625, 0.032135009765625, 0.011810302734375, 0.01219940185546875, 0.026641845703125, 0.0521240234375, -0.0108795166015625, 0.032928466796875, 0.018218994140625, -0.01479339599609375, 0.0201568603515625, 0.00955963134765625, 0.006740570068359375, -0.0157928466796875, 0.039794921875, -0.00890350341796875, -0.003444671630859375, -0.0029315948486328125, 0.050689697265625, -0.01381683349609375, 0.0227203369140625, -0.01044464111328125, 0.0164337158203125, 0.03619384765625, -0.029632568359375, 0.0289459228515625, 0.00710296630859375, 0.02264404296875, 0.023651123046875, 0.0109100341796875, 0.031097412109375, 0.022979736328125, 0.0170440673828125, 0.02020263671875, 0.0049591064453125, 0.0628662109375, -0.004894256591796875, 0.0259857177734375, -0.054412841796875, -0.03216552734375, 0.020660400390625, 0.06866455078125, -0.0330810546875, -0.0212860107421875, 0.00860595703125, -0.007007598876953125, 0.016021728515625, -0.0258026123046875, 0.038482666015625, -0.00937652587890625, -0.009002685546875, -0.0013523101806640625, -0.01605224609375, -0.0240936279296875, 0.0004341602325439453, -0.0024127960205078125, 0.053192138671875, 0.017791748046875, -0.0038700103759765625, -0.0144500732421875, -0.0028553009033203125, -0.0204315185546875, 0.01428985595703125, 0.0306854248046875, 0.01343536376953125, 0.019866943359375, -0.00606536865234375, -0.0206756591796875, 0.05181884765625, 0.035888671875, 0.018310546875, -0.0295867919921875, -0.01302337646484375, 0.030914306640625, 0.0172576904296875, 0.0736083984375, 0.081787109375, 0.0704345703125, 0.048736572265625, 0.0301971435546875, 0.0362548828125, 0.051239013671875, -0.018402099609375, 0.00726318359375, -0.04443359375, 0.061187744140625, 0.047882080078125, 0.0269622802734375, -0.04010009765625, 0.0018815994262695312, 0.083740234375, 0.00672149658203125, 0.027740478515625, 0.006805419921875, -0.04571533203125, 0.05633544921875, 0.00496673583984375, 0.12200927734375, 0.050140380859375, -0.01251220703125, -0.0196075439453125, -0.0159149169921875, -0.031524658203125, 0.022705078125, 0.0419921875, -0.004322052001953125, 0.01157379150390625, -0.02252197265625, 0.002681732177734375, 0.027557373046875, -0.01373291015625, -0.0072174072265625, 0.06658935546875, 0.0247802734375, 0.0186309814453125, -0.04144287109375, 0.0082244873046875, 0.0287322998046875, -0.0277557373046875, -0.0285186767578125, 0.07794189453125, 0.0121612548828125, -0.031646728515625, 0.00738525390625, -0.011566162109375, 0.003604888916015625, -0.00350189208984375, 0.012969970703125, -0.008148193359375, -0.0089569091796875, -0.00823974609375, -0.01436614990234375, 0.047149658203125, 0.027587890625, -0.0259552001953125, 0.040008544921875, 0.00479888916015625, -0.0011396408081054688, -0.04925537109375, -0.0281219482421875, -0.024566650390625, 0.01001739501953125, 0.0083465576171875, -0.0110626220703125, 0.025421142578125, 0.032379150390625, 0.01129150390625, 0.033447265625, 0.00899505615234375, 0.032806396484375, -0.0016460418701171875, 0.01465606689453125, 0.004894256591796875, 0.0240325927734375, -0.040863037109375, 0.0199432373046875, -0.01678466796875, -0.025970458984375, 0.03240966796875, -0.01279449462890625, 0.0068206787109375, 0.0159912109375, -0.0253448486328125, 0.005176544189453125, 0.045013427734375, 0.039642333984375, -0.0012235641479492188, 0.014556884765625, 0.0169219970703125, -0.0163116455078125, 0.00948333740234375, 0.0222930908203125, -0.0006246566772460938, 0.0006113052368164062, -0.0161285400390625, 0.00970458984375, 0.01021575927734375, -0.00449371337890625, -0.0181732177734375, 0.018524169921875, 0.019012451171875, -0.00537872314453125, -0.06414794921875, 0.03106689453125, -0.0214996337890625, 0.05755615234375, -0.03155517578125, -0.01348876953125, 0.007282257080078125, 0.053466796875, -0.00952911376953125, -0.006801605224609375, -0.00666046142578125, 0.01107025146484375, -0.0024585723876953125, -0.002277374267578125, -0.018402099609375, -0.018829345703125, 0.035125732421875, -0.0179290771484375, 0.0350341796875, 0.0177764892578125, 0.059051513671875, -0.037261962890625, -0.00753021240234375, -0.003200531005859375, 0.0438232421875, -0.0380859375, -0.01526641845703125, -0.035552978515625, 0.0024013519287109375, -0.05267333984375, 0.025726318359375, 0.0186920166015625, -0.0230865478515625, -0.050872802734375, 0.01413726806640625, 0.00441741943359375, -0.021270751953125, -0.044219970703125, 0.042877197265625, 0.01206207275390625, 0.01092529296875, -0.00801849365234375, 0.0016384124755859375, -0.002208709716796875, -0.01355743408203125, 0.0181121826171875, -0.0543212890625, 0.04949951171875, 0.0002675056457519531, -0.09368896484375, 0.004459381103515625, -0.001956939697265625, -0.0222015380859375, 0.00506591796875, -0.0256500244140625, 0.0258026123046875, 0.008209228515625, -0.055908203125, -0.004070281982421875, 0.0169677734375, 0.0243682861328125, -0.0271453857421875, -0.03765869140625, -0.004207611083984375, 0.00800323486328125, 0.0859375, 0.03509521484375, 0.01480865478515625, -0.05419921875, 0.05877685546875, -0.0150604248046875, -0.0226898193359375, 0.00249481201171875, -0.0048675537109375, -0.0214385986328125, -0.013153076171875, 0.01187896728515625, -0.01861572265625, -0.028076171875, 0.0114593505859375, -0.038818359375, 0.00226593017578125, 0.0215606689453125, 0.0039215087890625, -0.05126953125, -0.004364013671875, 0.043914794921875, -0.0256500244140625, 0.02655029296875, -0.0007724761962890625, 0.01187896728515625, 0.035125732421875, 0.041168212890625, -0.0010824203491210938, 0.021270751953125, -0.046051025390625, 0.02398681640625, -0.016082763671875, 0.059173583984375, -0.06121826171875, -0.01261138916015625, -0.0190277099609375, 0.031402587890625, 0.01204681396484375, 0.020294189453125, -0.05364990234375, 0.06964111328125, 0.0206298828125, 0.06585693359375, -0.0382080078125, 0.0086517333984375, -0.0440673828125, 0.024200439453125, 0.003246307373046875, 0.022308349609375, 0.056732177734375, -0.0096588134765625, 0.0174560546875, -0.0163726806640625, 0.01020050048828125, -0.01119232177734375, 0.0102081298828125, 0.00023031234741210938, -0.03460693359375, 0.0274810791015625 ]
fba7e65e9e5cbd0c387cab9220bf8eb12a1db787
Wordpress Stackexchange Q: How to prevent certain usernames from being registered? How can i prevent or blacklist a list of usernames that i don't want users to register with? And can I add a message if they try to register with one of those names that says 'this username has been reserved' Is this possible? A: Yes there are plugins that do this, for example, http://wordpress.org/extend/plugins/restrict-usernames/
Q: How to prevent certain usernames from being registered? How can i prevent or blacklist a list of usernames that i don't want users to register with? And can I add a message if they try to register with one of those names that says 'this username has been reserved' Is this possible? A: Yes there are plugins that do this, for example, http://wordpress.org/extend/plugins/restrict-usernames/ A: If you want to restrict partially matching usernames see this post: Restrict partially matching usernames
wordpress
{ "language": "en", "length": 80, "provenance": "stackexchange_00019.jsonl.gz:414234", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32435" }
[ 0.0634765625, 0.048187255859375, 0.022674560546875, 0.00860595703125, 0.0228118896484375, -0.024566650390625, 0.052581787109375, -0.0731201171875, -0.02374267578125, 0.034393310546875, -0.01523590087890625, 0.01267242431640625, 0.01221466064453125, -0.0008554458618164062, -0.004474639892578125, -0.035980224609375, -0.0184478759765625, 0.046966552734375, 0.0234832763671875, -0.0323486328125, 0.032440185546875, -0.056365966796875, 0.0070037841796875, 0.0267181396484375, 0.0231781005859375, -0.04864501953125, 0.1104736328125, -0.03460693359375, 0.0304412841796875, -0.0115509033203125, 0.0301513671875, -0.019317626953125, -0.024444580078125, 0.062042236328125, -0.0155029296875, -0.0104217529296875, 0.00018298625946044922, 0.044097900390625, 0.06365966796875, -0.0220489501953125, 0.0313720703125, -0.0091552734375, -0.0011730194091796875, 0.03765869140625, -0.01032257080078125, -0.06829833984375, 0.07232666015625, -0.0234222412109375, 0.0243988037109375, 0.00821685791015625, 0.021331787109375, 0.03369140625, 0.0323486328125, -0.0132293701171875, -0.004383087158203125, 0.018798828125, -0.04412841796875, 0.059814453125, 0.031158447265625, 0.01160430908203125, -0.0343017578125, -0.00623321533203125, 0.005359649658203125, -0.0303497314453125, 0.01226806640625, -0.00920867919921875, 0.0024318695068359375, 0.036712646484375, -0.04034423828125, 0.0195465087890625, 0.042816162109375, -0.0303192138671875, -0.0022735595703125, 0.004131317138671875, -0.0118408203125, -0.011566162109375, -0.0011749267578125, -0.019927978515625, 0.0269927978515625, 0.01019287109375, -0.002460479736328125, -0.069091796875, -0.030609130859375, 0.0223541259765625, -0.00458526611328125, 0.04766845703125, -0.0017642974853515625, -0.0037097930908203125, -0.0018796920776367188, -0.015838623046875, -0.006557464599609375, 0.0034923553466796875, -0.0218963623046875, 0.042236328125, -0.012054443359375, 0.016204833984375, 0.03564453125, 0.051971435546875, -0.0247650146484375, -0.044158935546875, 0.0118865966796875, -0.0182952880859375, -0.050628662109375, 0.00225830078125, -0.0015707015991210938, 0.0687255859375, 0.01439666748046875, 0.04058837890625, 0.00995635986328125, -0.00112152099609375, 0.01306915283203125, -0.0248870849609375, -0.0152130126953125, -0.01424407958984375, -0.0419921875, 0.0136260986328125, -0.026824951171875, -0.0174713134765625, 0.001705169677734375, -0.007549285888671875, 0.0221710205078125, 0.0303192138671875, 0.0292510986328125, -0.0019435882568359375, 0.0034275054931640625, -0.003932952880859375, -0.02679443359375, -0.04241943359375, -0.017364501953125, 0.047760009765625, 0.0058135986328125, 0.00015783309936523438, -0.0185546875, 0.0002124309539794922, -0.0232086181640625, -0.0208587646484375, 0.03131103515625, 0.0029144287109375, -0.01329803466796875, 0.0308685302734375, -0.006561279296875, -0.03314208984375, -0.0229339599609375, -0.0161895751953125, 0.0238189697265625, 0.0181121826171875, 0.00949859619140625, 0.0239715576171875, 0.01959228515625, -0.00960540771484375, -0.001155853271484375, -0.03717041015625, -0.0083465576171875, 0.029815673828125, 0.03692626953125, 0.03656005859375, 0.0203857421875, -0.00496673583984375, -0.0166168212890625, 0.0029659271240234375, 0.0223541259765625, -0.00835418701171875, -0.007282257080078125, 0.0000928640365600586, -0.0352783203125, 0.00522613525390625, -0.0206451416015625, -0.01116943359375, 0.0131683349609375, -0.0308074951171875, 0.01393890380859375, 0.050140380859375, 0.0190582275390625, -0.020111083984375, 0.004825592041015625, -0.0171966552734375, -0.01111602783203125, 0.0284423828125, -0.00710296630859375, 0.02935791015625, 0.0052337646484375, -0.038177490234375, 0.0134124755859375, 0.007190704345703125, -0.05859375, 0.027130126953125, 0.0198974609375, 0.037261962890625, 0.012603759765625, -0.0099029541015625, 0.0875244140625, 0.0279388427734375, 0.026702880859375, -0.0255279541015625, -0.0087738037109375, -0.076904296875, 0.064208984375, -0.025177001953125, 0.00403594970703125, 0.041900634765625, 0.0259246826171875, -0.05926513671875, 0.036407470703125, -0.059661865234375, -0.05499267578125, -0.0310821533203125, -0.01763916015625, 0.0243682861328125, 0.0163726806640625, 0.0080718994140625, 0.01500701904296875, 0.006465911865234375, -0.0308685302734375, -0.00975799560546875, -0.0357666015625, 0.01126861572265625, -0.035980224609375, 0.0009016990661621094, 0.035369873046875, 0.005680084228515625, 0.044677734375, 0.02117919921875, 0.04669189453125, -0.030059814453125, -0.0218353271484375, -0.03204345703125, -0.01812744140625, -0.0214385986328125, -0.07049560546875, 0.01174163818359375, -0.034454345703125, 0.04541015625, 0.00933837890625, 0.01558685302734375, -0.021026611328125, -0.01763916015625, 0.006099700927734375, -0.05010986328125, 0.01215362548828125, 0.04217529296875, 0.0274200439453125, -0.0103607177734375, 0.0026760101318359375, 0.02239990234375, 0.01727294921875, -0.04266357421875, 0.0150299072265625, 0.01248931884765625, 0.0002689361572265625, 0.041168212890625, 0.02734375, 0.0205535888671875, -0.00237274169921875, -0.021148681640625, 0.01450347900390625, 0.01177215576171875, -0.021331787109375, -0.017852783203125, -0.0093231201171875, 0.01128387451171875, -0.010101318359375, -0.006320953369140625, 0.016510009765625, -0.0128631591796875, -0.00733184814453125, -0.025604248046875, -0.01312255859375, -0.01090240478515625, 0.019134521484375, -0.00390625, -0.006069183349609375, -0.106201171875, 0.01000213623046875, -0.0283355712890625, 0.038818359375, 0.034698486328125, -0.046844482421875, 0.00785064697265625, 0.0443115234375, -0.00246429443359375, -0.00850677490234375, -0.0237884521484375, 0.0321044921875, -0.0038928985595703125, 0.031341552734375, -0.056182861328125, 0.050201416015625, 0.0218353271484375, -0.0765380859375, -0.09136962890625, -0.051605224609375, 0.05828857421875, 0.0010213851928710938, 0.0008673667907714844, 0.0271148681640625, -0.01177215576171875, -0.040863037109375, -0.013214111328125, 0.00994110107421875, -0.0297088623046875, -0.0201568603515625, 0.059967041015625, 0.038787841796875, -0.036468505859375, 0.003498077392578125, -0.0192108154296875, -0.0028247833251953125, 0.0034809112548828125, -0.0024814605712890625, -0.0279693603515625, -0.03631591796875, 0.00560760498046875, 0.00901031494140625, 0.04644775390625, -0.007068634033203125, -0.036285400390625, -0.00510406494140625, 0.022186279296875, 0.0202178955078125, 0.05291748046875, -0.06744384765625, -0.01180267333984375, 0.016326904296875, 0.0031032562255859375, 0.0273284912109375, -0.0009918212890625, 0.0034122467041015625, 0.0245513916015625, -0.00904083251953125, -0.04754638671875, -0.031707763671875, -0.07647705078125, -0.035675048828125, 0.034088134765625, 0.007167816162109375, -0.0029735565185546875, -0.0030059814453125, 0.0806884765625, 0.0056915283203125, -0.0384521484375, -0.0046539306640625, -0.034820556640625, 0.0069122314453125, 0.0254058837890625, 0.0157470703125, -0.0306549072265625, -0.00788116455078125, 0.00910186767578125, 0.01250457763671875, 0.0134124755859375, -0.01351165771484375, -0.01209259033203125, 0.00919342041015625, -0.003978729248046875, 0.0291290283203125, 0.033203125, -0.0258331298828125, -0.0006976127624511719, 0.042724609375, -0.043487548828125, -0.018096923828125, 0.0177154541015625, -0.024566650390625, -0.00920867919921875, -0.00756072998046875, -0.015655517578125, -0.00441741943359375, 0.0189056396484375, 0.035430908203125, 0.02459716796875, -0.039459228515625, -0.01078033447265625, 0.035858154296875, 0.0213165283203125, 0.057861328125, 0.0132598876953125, -0.0130615234375, -0.032745361328125, 0.00675201416015625, -0.0259857177734375, -0.00624847412109375, -0.027374267578125, 0.0310516357421875, -0.0179290771484375, -0.056610107421875, 0.036834716796875, -0.062408447265625, -0.010101318359375, -0.0296630859375, -0.002704620361328125, 0.003017425537109375, 0.0966796875, -0.0380859375, -0.025177001953125, -0.01139068603515625, 0.00836181640625, -0.0098876953125, -0.00913238525390625, -0.021087646484375, -0.031341552734375, -0.0263519287109375, -0.011199951171875, -0.007450103759765625, -0.03607177734375, -0.00063323974609375, -0.048095703125, -0.0042572021484375, -0.034637451171875, 0.037109375, -0.0079498291015625, 0.03753662109375, -0.02734375, 0.049560546875, -0.06640625, 0.00974273681640625, -0.0203094482421875, -0.079345703125, -0.028167724609375, -0.014434814453125, 0.08184814453125, 0.01059722900390625, -0.0026264190673828125, -0.035369873046875, 0.037445068359375, 0.018768310546875, 0.01009368896484375, 0.034912109375, -0.01116180419921875, 0.057220458984375, -0.01230621337890625, 0.0129547119140625, -0.026763916015625, -0.0163116455078125, -0.013397216796875, -0.030181884765625, 0.01039886474609375, 0.0005321502685546875, -0.0294342041015625, 0.0235443115234375, -0.031524658203125, -0.028839111328125, -0.0044097900390625, 0.0211944580078125, 0.0226898193359375, 0.03912353515625, -0.03515625, -0.039154052734375, -0.045501708984375, 0.0201263427734375, -0.01473236083984375, -0.00261688232421875, 0.02703857421875, 0.0634765625, 0.005023956298828125, -0.0021114349365234375, -0.0389404296875, 0.04815673828125, 0.0518798828125, -0.0030269622802734375, 0.0087432861328125, 0.00023305416107177734, -0.032623291015625, 0.049530029296875, 0.01297760009765625, -0.030914306640625, 0.012420654296875, 0.0146942138671875, 0.00970458984375, -0.0249481201171875, 0.0082855224609375, -0.0168304443359375, 0.03460693359375, 0.044281005859375, 0.025054931640625, -0.04962158203125, -0.0167999267578125, 0.0445556640625, 0.0204925537109375, -0.007686614990234375, -0.045257568359375, -0.042022705078125, 0.0325927734375, -0.061981201171875, -0.042144775390625, -0.0292816162109375, 0.0197601318359375, -0.048980712890625, -0.032012939453125, 0.0032806396484375, -0.017730712890625, -0.0557861328125, 0.027862548828125, 0.032745361328125, -0.03875732421875, 0.0302734375, 0.0018377304077148438, -0.023223876953125, 0.0906982421875, 0.003936767578125, -0.06024169921875, 0.035980224609375, -0.035125732421875, 0.0093994140625, 0.032562255859375, 0.0341796875, 0.033599853515625, 0.0310516357421875, -0.005138397216796875, 0.005748748779296875, 0.038299560546875, 0.02587890625, -0.02703857421875, 0.0127105712890625, -0.0048980712890625, -0.0170440673828125, -0.031280517578125, 0.068603515625, -0.004894256591796875, 0.0088653564453125, -0.006740570068359375, 0.0650634765625, 0.0992431640625, -0.009063720703125, 0.01788330078125, 0.010009765625, -0.0301513671875, -0.0272064208984375, -0.022247314453125, 0.0146942138671875, 0.00940704345703125, -0.0078582763671875, -0.00897979736328125, 0.0250091552734375, 0.034271240234375, -0.0016870498657226562, -0.025054931640625, -0.0167083740234375, 0.00293731689453125, -0.053497314453125, -0.0301666259765625, -0.04998779296875, -0.0439453125, 0.025238037109375, -0.0198974609375, 0.00934600830078125, -0.041168212890625, -0.00518035888671875, -0.032623291015625, 0.02484130859375, -0.04852294921875, -0.02435302734375, 0.0011281967163085938, -0.030120849609375, -0.01126861572265625, -0.01354217529296875, 0.007213592529296875, 0.0028553009033203125, -0.0149383544921875, -0.0186614990234375, 0.02447509765625, 0.002719879150390625, 0.021453857421875, -0.041900634765625, 0.0037403106689453125, -0.037872314453125, 0.0007357597351074219, 0.05194091796875, 0.01416015625, -0.0516357421875, -0.007762908935546875, -0.04461669921875, -0.0171356201171875, -0.0109710693359375, -0.024200439453125, -0.03961181640625, -0.003620147705078125, 0.03814697265625, 0.02197265625, -0.0035762786865234375, -0.047637939453125, 0.0010576248168945312, 0.0020046234130859375, 0.031280517578125, 0.0019245147705078125, -0.0261688232421875, -0.0170135498046875, 0.026397705078125, 0.0088958740234375, 0.0045166015625, -0.0012454986572265625, 0.04168701171875, -0.039337158203125, -0.01531219482421875, -0.0173187255859375, -0.0019989013671875, 0.0128173828125, 0.0181121826171875, -0.011077880859375, 0.00372314453125, 0.00640869140625, -0.01617431640625, -0.0235443115234375, 0.014434814453125, -0.0248260498046875, 0.0180206298828125, -0.053009033203125, -0.042938232421875, -0.0084075927734375, -0.0197906494140625, 0.0207977294921875, -0.002048492431640625, -0.0115814208984375, 0.0165557861328125, -0.023345947265625, 0.01470184326171875, 0.01181793212890625, 0.00742340087890625, -0.0169677734375, -0.036468505859375, 0.026031494140625, 0.0153045654296875, -0.0116729736328125, 0.057708740234375, -0.018798828125, 0.0148162841796875, -0.044403076171875, -0.04437255859375, 0.05352783203125, 0.03179931640625, -0.0218963623046875, 0.0687255859375, -0.0216064453125, 0.01303863525390625, 0.10125732421875, 0.046356201171875, -0.134765625, 0.00875091552734375, -0.01291656494140625, -0.0027008056640625, 0.0180816650390625, -0.00463104248046875, -0.00321197509765625, -0.000017881393432617188, 0.0209808349609375, -0.02978515625, -0.034881591796875, -0.0007948875427246094, -0.004825592041015625, -0.0216064453125, 0.006908416748046875, 0.04241943359375, 0.0187225341796875, 0.03216552734375, -0.0296173095703125, -0.016510009765625, -0.0029354095458984375, -0.049468994140625, 0.0047760009765625, 0.01529693603515625, -0.00688934326171875, -0.060638427734375, 0.011749267578125, -0.0209808349609375, 0.014312744140625, 0.01369476318359375, 0.004596710205078125, 0.033660888671875, 0.0391845703125, 0.0036373138427734375, -0.0101776123046875, 0.024688720703125, -0.0176544189453125, 0.0262298583984375, -0.034881591796875, -0.024322509765625, -0.023223876953125, 0.0016813278198242188, -0.00485992431640625, -0.004215240478515625, -0.03131103515625, -0.0053863525390625, -0.027679443359375, 0.07928466796875, 0.0113067626953125, -0.03485107421875, 0.0243377685546875, -0.0350341796875, -0.0229644775390625, -0.0010280609130859375, -0.0239410400390625, 0.01120758056640625, 0.024627685546875, -0.022247314453125, -0.037109375, 0.0206451416015625, -0.01473236083984375, -0.05914306640625, 0.030609130859375, 0.003322601318359375, 0.033843994140625, 0.00847625732421875, -0.0019741058349609375, 0.00510406494140625, 0.0056304931640625, -0.052581787109375, 0.06207275390625, -0.0159454345703125, 0.08294677734375, -0.0338134765625, 0.00958251953125, 0.041778564453125, -0.00879669189453125, 0.01861572265625, 0.01229095458984375, -0.005100250244140625, -0.01560211181640625, 0.00394439697265625, 0.00743865966796875, -0.00940704345703125, 0.0232391357421875, -0.0210418701171875, 0.008514404296875, 0.04022216796875, -0.0299835205078125, 0.034759521484375, -0.01094818115234375, -0.0276641845703125, -0.01568603515625, -0.01134490966796875, -0.025115966796875, -0.00659942626953125, 0.00009560585021972656, -0.034820556640625, -0.004215240478515625, -0.0036525726318359375, 0.033721923828125, 0.025177001953125, 0.04229736328125, 0.0177459716796875, 0.0269317626953125, 0.0465087890625, -0.0285797119140625, 0.050323486328125, -0.023193359375, -0.003086090087890625, 0.057891845703125, 0.0185699462890625, 0.006378173828125, -0.00566864013671875, 0.00681304931640625, -0.01397705078125, 0.006038665771484375, 0.0003447532653808594, 0.0240631103515625, 0.036041259765625, -0.04638671875, -0.047393798828125, 0.080322265625, 0.0428466796875, -0.00411224365234375, -0.0208587646484375, 0.0232391357421875, -0.00970458984375, -0.006031036376953125, 0.011993408203125, 0.0308380126953125, -0.020904541015625, 0.00411224365234375, -0.036590576171875, 0.0175323486328125, 0.0582275390625, 0.0164031982421875, -0.006435394287109375, -0.014801025390625, -0.044342041015625, 0.02587890625, -0.0143585205078125, -0.017364501953125, 0.0196533203125, 0.018585205078125, 0.0142669677734375, 0.0167999267578125, 0.007488250732421875, -0.001827239990234375, -0.01160430908203125, 0.0155181884765625, 0.0408935546875, -0.01122283935546875, -0.0267486572265625, -0.018890380859375, 0.04364013671875, 0.01739501953125, -0.007354736328125, -0.00901031494140625, 0.046905517578125, 0.05816650390625, -0.032135009765625, -0.02264404296875, 0.054168701171875, -0.01763916015625, 0.0246429443359375, -0.0399169921875, 0.027252197265625, 0.01666259765625, 0.0007815361022949219, -0.01514434814453125, 0.0007529258728027344, 0.051116943359375, -0.010650634765625, 0.0164031982421875, -0.00653839111328125, -0.0244140625, 0.01047515869140625, -0.0238037109375, -0.0064849853515625, 0.00021719932556152344, -0.1138916015625, -0.03973388671875, 0.00989532470703125, -0.015838623046875, 0.036468505859375, 0.0345458984375, -0.050506591796875, 0.055908203125, 0.0249176025390625, -0.041961669921875, 0.0227508544921875, 0.004726409912109375, 0.0204925537109375, 0.0214691162109375, -0.00933837890625, 0.003009796142578125, -0.06549072265625, -0.0255126953125, -0.010009765625, 0.00820159912109375, 0.01416015625, 0.02740478515625, 0.016845703125, 0.01678466796875, -0.0526123046875, -0.0118255615234375, -0.002521514892578125, -0.042205810546875, 0.0186614990234375, 0.02410888671875, -0.0180206298828125, -0.007045745849609375, -0.09588623046875, 0.056793212890625, -0.0186920166015625, 0.01206207275390625, 0.0723876953125, -0.038055419921875, -0.012481689453125, -0.0010232925415039062, 0.00714874267578125, -0.0296478271484375, -0.07550048828125, -0.0284271240234375, 0.038421630859375, -0.0203857421875, 0.01666259765625, -0.01021575927734375, 0.03338623046875, -0.0269012451171875, -0.035003662109375, 0.0009760856628417969, -0.046417236328125, -0.037200927734375, 0.0071563720703125, 0.0309295654296875, 0.00514984130859375, -0.037506103515625, -0.03509521484375, -0.0193328857421875, 0.00887298583984375, -0.0227203369140625, -0.03570556640625, 0.0005707740783691406, -0.0157012939453125, 0.01419830322265625, 0.0447998046875, 0.0013828277587890625, 0.003177642822265625, -0.0232391357421875, 0.0022525787353515625, 0.023956298828125, -0.046844482421875, -0.034515380859375, -0.04296875, -0.01192474365234375, 0.0115509033203125, -0.036285400390625, -0.0546875, -0.039581298828125, -0.0011615753173828125, -0.00899505615234375, -0.00978851318359375, -0.051361083984375, 0.004558563232421875, 0.004451751708984375, 0.043701171875, -0.053131103515625, -0.00571441650390625, 0.01045989990234375, 0.01544189453125, -0.0679931640625, -0.0176849365234375, -0.007808685302734375, 0.01007843017578125, -0.01031494140625, -0.0090484619140625, 0.01454925537109375, -0.0054168701171875, -0.0211334228515625, 0.01010894775390625, -0.0245361328125, 0.051544189453125, -0.01221466064453125, -0.023956298828125, -0.005764007568359375, 0.002719879150390625, 0.004451751708984375, -0.08319091796875, -0.0090179443359375, -0.06378173828125, 0.00110626220703125, -0.039398193359375, 0.0165557861328125, 0.02081298828125, -0.02978515625, -0.07098388671875, 0.0960693359375, -0.039642333984375, -0.0259857177734375, -0.040924072265625, 0.0205535888671875, 0.0181427001953125, -0.03851318359375, -0.022705078125, 0.00353240966796875, -0.03558349609375, 0.004276275634765625, 0.0242462158203125, -0.00630950927734375, 0.03167724609375, 0.0271453857421875, -0.0020847320556640625, 0.041107177734375, 0.03814697265625, -0.0091552734375, 0.006755828857421875, 0.0034770965576171875, 0.02325439453125, 0.061737060546875, -0.00380706787109375, 0.01316070556640625, -0.00904083251953125, -0.0645751953125, -0.0211944580078125, -0.047698974609375, -0.0299835205078125, -0.054229736328125, 0.04132080078125, 0.054931640625, 0.00611114501953125, 0.00605010986328125, -0.04620361328125, -0.061553955078125, 0.00524139404296875, -0.04400634765625, 0.0182342529296875, -0.1025390625, -0.01352691650390625, 0.0251007080078125, -0.0270843505859375, 0.016021728515625, -0.002048492431640625, -0.03778076171875, 0.0142669677734375, 0.004878997802734375, -0.017578125, -0.02496337890625, -0.02545166015625, -0.0120086669921875, -0.01812744140625, -0.0377197265625, 0.0059967041015625, 0.0163116455078125, -0.06060791015625, -0.009429931640625, -0.0032939910888671875, -0.047515869140625, 0.000782012939453125, 0.036773681640625, -0.00649261474609375, 0.0604248046875, -0.0279388427734375, -0.0419921875, -0.0242767333984375, 0.04522705078125, 0.0205230712890625, 0.06829833984375, -0.0279998779296875, 0.036865234375, 0.045745849609375, -0.0069580078125, -0.0032482147216796875, -0.03277587890625, -0.019012451171875, 0.0168609619140625, -0.01055908203125, -0.00284576416015625, 0.0229644775390625, -0.0235748291015625, 0.01104736328125, 0.0210418701171875, 0.0086517333984375, -0.0142974853515625, 0.01953125, 0.01410675048828125, 0.007022857666015625, 0.0076904296875 ]
31de7c8a2c91c6c74792e97ae5757feaf7424026
Wordpress Stackexchange Q: Where can I get Wordpress Version in Dashboard? On the botton of the dashboard WP proposes to upgrade to next version but it doesn't even show current version: does it show it somewhere else ? A: go to your wp-admin dash board there in the Right Now box you will be able to see the currently installed version of your wordpress installation. as shown in this picture below
Q: Where can I get Wordpress Version in Dashboard? On the botton of the dashboard WP proposes to upgrade to next version but it doesn't even show current version: does it show it somewhere else ? A: go to your wp-admin dash board there in the Right Now box you will be able to see the currently installed version of your wordpress installation. as shown in this picture below A: In a newer version of WordPress (3.8.3) the version number wasn't anywhere in plain sight on the dashborad for some reason (someone might have changed something on the site that I had to fix), but the WordPress logo in the upper left corner leads to an about page which says WordPress 3.8.3 (or the one you have) in huge letters. This question might be 2 years old, but it's quite high on google, so I thought that if I drop this answer here, someone else might find it useful. After all, I got here after searching for an answer for this very question. A: You can visit http://yourdomain.com/readme.html file. This file is default in wordpress setup. A: For WP version 4, you can check it under At A Glance box. If At A Glance is not visible, tick the option under Screen Options pull down menu. A: click on Dashboard then mark "At a Glance" in screen options. There you will get wordpress version you are using.
wordpress
{ "language": "en", "length": 237, "provenance": "stackexchange_00019.jsonl.gz:414240", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32460" }
[ 0.0100250244140625, 0.0034198760986328125, -0.040863037109375, -0.00677490234375, 0.0180206298828125, -0.042205810546875, 0.017486572265625, -0.01197052001953125, 0.01502227783203125, 0.01268768310546875, -0.04095458984375, -0.004093170166015625, -0.0265960693359375, -0.00730133056640625, -0.031646728515625, -0.06292724609375, 0.057159423828125, -0.0400390625, 0.04742431640625, 0.00542449951171875, 0.0013589859008789062, 0.055145263671875, 0.055450439453125, 0.05303955078125, 0.01435089111328125, -0.0220947265625, 0.0269012451171875, -0.034637451171875, -0.0019140243530273438, -0.044952392578125, 0.023162841796875, 0.044342041015625, -0.01053619384765625, 0.01473236083984375, 0.029541015625, -0.006351470947265625, 0.00891876220703125, 0.019073486328125, 0.0289306640625, 0.0014324188232421875, 0.0022983551025390625, -0.00746917724609375, 0.08453369140625, -0.0006127357482910156, 0.00395965576171875, -0.01318359375, 0.004100799560546875, -0.032012939453125, 0.0106658935546875, -0.00533294677734375, 0.0288848876953125, 0.0177764892578125, 0.0465087890625, 0.0160980224609375, -0.0177764892578125, -0.01171875, 0.0254364013671875, 0.040985107421875, 0.052276611328125, -0.040985107421875, -0.052764892578125, 0.01012420654296875, 0.019744873046875, -0.007625579833984375, 0.00276947021484375, 0.001678466796875, 0.056732177734375, 0.007251739501953125, -0.02593994140625, -0.005863189697265625, 0.03125, 0.004703521728515625, -0.0007185935974121094, -0.02606201171875, 0.0157623291015625, -0.016693115234375, 0.005496978759765625, -0.0491943359375, 0.0077667236328125, 0.034820556640625, 0.038421630859375, 0.0022106170654296875, -0.0014286041259765625, 0.01509857177734375, -0.0152587890625, 0.022064208984375, -0.00983428955078125, -0.022674560546875, -0.0272674560546875, 0.0102081298828125, -0.0216522216796875, -0.01434326171875, -0.035888671875, 0.01445770263671875, -0.0009784698486328125, -0.005771636962890625, 0.00560760498046875, 0.04437255859375, -0.0035572052001953125, 0.0132293701171875, -0.032073974609375, -0.01165771484375, -0.0185699462890625, -0.04364013671875, 0.0014753341674804688, 0.006591796875, 0.0074005126953125, -0.001583099365234375, 0.0118255615234375, 0.00969696044921875, -0.0200042724609375, 0.00705718994140625, -0.030364990234375, -0.071044921875, -0.0236968994140625, 0.046600341796875, -0.01446533203125, -0.00119781494140625, 0.0240478515625, 0.004253387451171875, -0.00405120849609375, 0.01465606689453125, -0.0209808349609375, 0.01047515869140625, -0.0157470703125, -0.00989532470703125, -0.007366180419921875, 0.00013005733489990234, -0.020599365234375, 0.007244110107421875, 0.0112762451171875, 0.00496673583984375, -0.0308990478515625, 0.0257110595703125, -0.035675048828125, 0.00504302978515625, 0.0074615478515625, -0.0390625, 0.004154205322265625, 0.0123138427734375, -0.043243408203125, -0.00811767578125, 0.041259765625, -0.0611572265625, 0.013336181640625, -0.00506591796875, 0.00864410400390625, 0.026214599609375, 0.0005483627319335938, -0.0029659271240234375, -0.0045623779296875, 0.0109100341796875, 0.01111602783203125, 0.0281982421875, 0.01393890380859375, 0.00048613548278808594, 0.045806884765625, -0.0241851806640625, -0.0110626220703125, -0.03961181640625, 0.0019378662109375, -0.007049560546875, 0.0271453857421875, 0.030517578125, -0.010101318359375, 0.037689208984375, -0.04266357421875, -0.0012197494506835938, 0.024932861328125, 0.0140838623046875, 0.01161956787109375, -0.035125732421875, 0.05841064453125, 0.00005131959915161133, -0.022308349609375, 0.0169830322265625, -0.014495849609375, -0.0218505859375, 0.035675048828125, 0.0238189697265625, -0.0015916824340820312, -0.01099395751953125, 0.0154266357421875, 0.01316070556640625, -0.0003838539123535156, -0.0294036865234375, 0.0170440673828125, -0.003482818603515625, 0.01471710205078125, 0.0204315185546875, 0.0028018951416015625, 0.022125244140625, -0.037811279296875, 0.04119873046875, -0.0299835205078125, 0.0251922607421875, -0.014434814453125, 0.06170654296875, -0.0287322998046875, -0.048187255859375, -0.02508544921875, 0.0347900390625, -0.03466796875, -0.01389312744140625, -0.056182861328125, 0.00628662109375, -0.0161590576171875, 0.05572509765625, 0.050994873046875, 0.0006427764892578125, -0.005764007568359375, -0.0350341796875, 0.031524658203125, -0.027435302734375, -0.06591796875, 0.0038776397705078125, -0.0672607421875, -0.008514404296875, -0.01476287841796875, 0.00458526611328125, -0.01727294921875, 0.008880615234375, -0.0242767333984375, -0.027191162109375, 0.043060302734375, -0.006641387939453125, -0.01499176025390625, -0.0141143798828125, 0.063720703125, 0.0141143798828125, 0.0008916854858398438, -0.00156402587890625, -0.0347900390625, 0.01044464111328125, -0.0075836181640625, -0.0225830078125, -0.0163116455078125, -0.06463623046875, 0.03521728515625, 0.04351806640625, 0.0189361572265625, 0.038818359375, 0.00876617431640625, 0.04986572265625, 0.047393798828125, -0.0701904296875, -0.020751953125, 0.0357666015625, -0.015350341796875, 0.05023193359375, 0.004047393798828125, 0.035430908203125, -0.005023956298828125, 0.00569915771484375, -0.005779266357421875, 0.031982421875, -0.0240020751953125, 0.0247039794921875, -0.0232391357421875, 0.0044708251953125, -0.0234527587890625, -0.053009033203125, -0.00920867919921875, -0.04400634765625, -0.007656097412109375, 0.01277923583984375, 0.049713134765625, 0.059356689453125, 0.0101165771484375, -0.052978515625, 0.00823211669921875, 0.075439453125, 0.017303466796875, 0.041961669921875, -0.063232421875, 0.03924560546875, 0.0133819580078125, -0.00518035888671875, -0.008148193359375, 0.008453369140625, -0.0060882568359375, -0.02642822265625, 0.00228118896484375, -0.00240325927734375, 0.03314208984375, -0.045501708984375, 0.034912109375, 0.0113372802734375, 0.003604888916015625, 0.0135345458984375, 0.03570556640625, -0.00435638427734375, -0.0262603759765625, 0.031707763671875, -0.03692626953125, -0.011749267578125, -0.00031447410583496094, -0.0296630859375, 0.01197052001953125, 0.01141357421875, 0.04217529296875, 0.08087158203125, 0.033966064453125, 0.01314544677734375, -0.00249481201171875, 0.0167694091796875, 0.0341796875, -0.033050537109375, -0.039398193359375, 0.041107177734375, -0.09423828125, -0.00342559814453125, 0.0310821533203125, -0.01238250732421875, 0.01519775390625, -0.0191802978515625, -0.028839111328125, -0.000022292137145996094, -0.1461181640625, -0.10009765625, -0.06512451171875, -0.04638671875, -0.03125, -0.0191497802734375, -0.02374267578125, 0.02886962890625, -0.0240325927734375, 0.0166015625, -0.001667022705078125, -0.031707763671875, -0.048675537109375, -0.07080078125, -0.08544921875, -0.035369873046875, -0.01087188720703125, 0.005023956298828125, -0.01079559326171875, 0.0310821533203125, -0.01812744140625, -0.06646728515625, -0.034423828125, 0.02777099609375, -0.005245208740234375, -0.01824951171875, 0.0111846923828125, -0.02642822265625, 0.01018524169921875, 0.0064697265625, 0.0287628173828125, 0.03607177734375, -0.0377197265625, 0.007381439208984375, -0.02667236328125, -0.033294677734375, -0.0201416015625, 0.0132293701171875, 0.01529693603515625, -0.051483154296875, -0.00344085693359375, -0.059417724609375, 0.0379638671875, 0.008758544921875, 0.01153564453125, 0.033660888671875, -0.03582763671875, -0.051300048828125, 0.0316162109375, -0.0111541748046875, -0.015533447265625, 0.0162200927734375, 0.005832672119140625, -0.0038280487060546875, 0.02825927734375, -0.0140533447265625, -0.032958984375, -0.0189361572265625, -0.036285400390625, -0.048614501953125, 0.07501220703125, -0.00595855712890625, 0.0020236968994140625, -0.03070068359375, 0.03497314453125, -0.0287628173828125, -0.058929443359375, 0.04443359375, -0.024810791015625, 0.0241241455078125, -0.0478515625, -0.033203125, 0.0113983154296875, 0.1192626953125, -0.0369873046875, 0.007511138916015625, 0.056915283203125, 0.0120086669921875, -0.05902099609375, -0.0208587646484375, -0.13330078125, -0.012481689453125, -0.061370849609375, -0.022003173828125, -0.0230712890625, -0.0190277099609375, -0.01444244384765625, 0.024078369140625, -0.039337158203125, -0.044921875, 0.0384521484375, -0.042755126953125, -0.022216796875, 0.02362060546875, -0.0311737060546875, -0.01332855224609375, -0.02020263671875, -0.01270294189453125, -0.0626220703125, -0.01004791259765625, -0.0191802978515625, 0.04058837890625, 0.009185791015625, 0.0016565322875976562, -0.0172271728515625, 0.029510498046875, 0.0167236328125, 0.01122283935546875, 0.0010576248168945312, 0.00011581182479858398, 0.0164642333984375, -0.034332275390625, -0.0194549560546875, -0.032928466796875, -0.037750244140625, -0.06439208984375, -0.0311126708984375, -0.042724609375, -0.0246734619140625, 0.006519317626953125, -0.004703521728515625, 0.00876617431640625, -0.026824951171875, -0.015411376953125, -0.003978729248046875, 0.043487548828125, -0.0283355712890625, 0.04022216796875, -0.01387786865234375, -0.054901123046875, 0.07598876953125, 0.031463623046875, -0.03631591796875, -0.002719879150390625, 0.038238525390625, 0.0061798095703125, -0.0477294921875, -0.0574951171875, -0.0250244140625, 0.0428466796875, 0.0186614990234375, 0.0140228271484375, 0.0233154296875, -0.014434814453125, 0.02996826171875, 0.0249481201171875, -0.00989532470703125, -0.014129638671875, 0.0130615234375, 0.0188140869140625, 0.006793975830078125, -0.0006356239318847656, 0.0198822021484375, 0.02508544921875, 0.003910064697265625, -0.029144287109375, 0.01934814453125, 0.015625, 0.03228759765625, -0.029632568359375, 0.008392333984375, -0.032073974609375, -0.07086181640625, 0.02728271484375, -0.0267791748046875, 0.0261383056640625, -0.006305694580078125, 0.020660400390625, 0.040557861328125, 0.0277099609375, -0.01055145263671875, 0.0213775634765625, 0.0282440185546875, 0.0211334228515625, 0.036834716796875, 0.0310211181640625, 0.005451202392578125, -0.013427734375, -0.00677490234375, 0.03302001953125, -0.01142120361328125, -0.07806396484375, 0.02716064453125, -0.003841400146484375, 0.061248779296875, 0.05462646484375, 0.004070281982421875, 0.038482666015625, 0.06719970703125, -0.038299560546875, -0.033966064453125, 0.00759124755859375, 0.006015777587890625, -0.05853271484375, -0.03271484375, -0.037384033203125, -0.00240325927734375, 0.0074310302734375, 0.0323486328125, -0.03179931640625, 0.0288848876953125, -0.0001252889633178711, 0.06414794921875, 0.0594482421875, -0.0228424072265625, -0.01580810546875, 0.03411865234375, 0.03619384765625, -0.06390380859375, 0.03204345703125, -0.0160064697265625, -0.035736083984375, -0.0124664306640625, 0.03887939453125, -0.0048065185546875, 0.01250457763671875, 0.03204345703125, -0.01187896728515625, 0.01229095458984375, 0.0484619140625, 0.00499725341796875, -0.06610107421875, 0.00904083251953125, 0.046875, 0.0305023193359375, -0.043487548828125, -0.0031871795654296875, 0.006893157958984375, -0.018951416015625, 0.027923583984375, -0.0016384124755859375, 0.0060882568359375, 0.00376129150390625, -0.00258636474609375, 0.02642822265625, 0.0029163360595703125, -0.022491455078125, 0.00432586669921875, -0.029632568359375, -0.0085601806640625, -0.01233673095703125, 0.03594970703125, 0.00921630859375, 0.019439697265625, -0.03753662109375, -0.0022373199462890625, -0.03466796875, -0.004619598388671875, 0.0501708984375, 0.0228271484375, -0.04248046875, -0.0278167724609375, -0.03753662109375, -0.0219268798828125, 0.006671905517578125, -0.03533935546875, -0.025054931640625, -0.01055908203125, 0.01146697998046875, 0.01180267333984375, 0.006282806396484375, -0.0032253265380859375, -0.034088134765625, 0.033538818359375, 0.037139892578125, 0.06494140625, 0.029693603515625, 0.059539794921875, -0.0159149169921875, 0.079345703125, 0.0226287841796875, 0.0269622802734375, -0.06317138671875, -0.0289459228515625, 0.037384033203125, 0.042724609375, -0.0215606689453125, -0.04156494140625, 0.03558349609375, -0.058135986328125, 0.02783203125, -0.0271148681640625, -0.00739288330078125, -0.021759033203125, 0.0044097900390625, 0.0029201507568359375, 0.04345703125, 0.01465606689453125, -0.0360107421875, 0.0389404296875, -0.04119873046875, -0.03509521484375, 0.0138397216796875, 0.029693603515625, -0.027496337890625, -0.002452850341796875, -0.0399169921875, 0.0250701904296875, -0.045928955078125, 0.07177734375, 0.07379150390625, -0.004150390625, 0.045562744140625, 0.0411376953125, 0.0126800537109375, -0.004619598388671875, 0.0118408203125, -0.04559326171875, -0.015655517578125, 0.020843505859375, 0.01355743408203125, -0.007289886474609375, 0.03509521484375, -0.007358551025390625, 0.001800537109375, 0.03802490234375, 0.043121337890625, -0.050567626953125, 0.01149749755859375, 0.01055908203125, -0.0218658447265625, 0.006298065185546875, -0.0025501251220703125, -0.031036376953125, -0.0555419921875, 0.055206298828125, -0.0296478271484375, -0.004947662353515625, 0.0109405517578125, -0.006069183349609375, -0.00693511962890625, -0.0311279296875, 0.052978515625, 0.017822265625, -0.026641845703125, 0.0008711814880371094, 0.0167236328125, -0.0131072998046875, 0.0032558441162109375, -0.0033397674560546875, 0.01241302490234375, -0.0137176513671875, -0.0472412109375, 0.017822265625, -0.037506103515625, -0.006328582763671875, -0.01318359375, 0.0239715576171875, 0.01091766357421875, 0.04095458984375, -0.00887298583984375, 0.01284027099609375, 0.00778961181640625, -0.011016845703125, 0.0401611328125, -0.01038360595703125, 0.00213623046875, 0.0017919540405273438, -0.0185089111328125, -0.00469970703125, -0.02484130859375, -0.00363922119140625, -0.0291900634765625, -0.019622802734375, 0.08770751953125, -0.040557861328125, -0.00797271728515625, 0.034210205078125, 0.0092620849609375, -0.020599365234375, 0.0191802978515625, -0.022796630859375, -0.0158843994140625, 0.009765625, -0.010406494140625, -0.023773193359375, 0.021697998046875, 0.0229034423828125, -0.029327392578125, 0.036895751953125, 0.0257568359375, -0.01708984375, 0.00893402099609375, 0.0234375, -0.0538330078125, -0.00930023193359375, -0.00206756591796875, 0.0193328857421875, 0.0030364990234375, 0.020660400390625, -0.009979248046875, -0.00909423828125, 0.004482269287109375, 0.03363037109375, 0.00411224365234375, -0.0024700164794921875, 0.00522613525390625, -0.016571044921875, 0.021148681640625, 0.07318115234375, 0.024200439453125, 0.00794219970703125, 0.0115509033203125, 0.02459716796875, 0.0440673828125, -0.02081298828125, 0.034912109375, 0.0010747909545898438, -0.0010700225830078125, 0.042144775390625, 0.0239105224609375, 0.0499267578125, -0.004596710205078125, 0.035430908203125, 0.029815673828125, -0.00247955322265625, -0.005413055419921875, -0.0191802978515625, 0.005054473876953125, 0.00543975830078125, 0.0083465576171875, -0.0171661376953125, 0.0117645263671875, -0.024658203125, 0.030517578125, 0.0194854736328125, -0.0165863037109375, -0.006687164306640625, 0.0085601806640625, -0.031280517578125, -0.00008350610733032227, -0.00844573974609375, 0.047882080078125, -0.02716064453125, 0.051116943359375, 0.0176544189453125, 0.029052734375, -0.01617431640625, 0.01540374755859375, 0.006389617919921875, 0.060791015625, -0.05303955078125, -0.014892578125, 0.0030956268310546875, -0.0160675048828125, -0.02423095703125, -0.02593994140625, -0.0408935546875, 0.0095062255859375, 0.0131683349609375, -0.03411865234375, 0.014312744140625, 0.0035724639892578125, 0.020904541015625, -0.0029773712158203125, 0.004638671875, -0.0142974853515625, 0.0002148151397705078, 0.003932952880859375, -0.0163116455078125, 0.00945281982421875, 0.043304443359375, 0.003726959228515625, 0.0341796875, -0.0780029296875, -0.007053375244140625, -0.00994110107421875, 0.03155517578125, 0.0053253173828125, 0.0240936279296875, -0.044342041015625, -0.035125732421875, 0.0036792755126953125, 0.05340576171875, -0.01508331298828125, -0.059783935546875, -0.00382232666015625, 0.06396484375, -0.0221099853515625, -0.0276031494140625, 0.07275390625, 0.0235443115234375, 0.00937652587890625, -0.0478515625, 0.052581787109375, 0.0183563232421875, 0.01184844970703125, -0.0070343017578125, 0.0123291015625, 0.060791015625, -0.0213623046875, 0.0291595458984375, 0.007099151611328125, 0.00740814208984375, 0.0279693603515625, -0.0179290771484375, -0.025177001953125, -0.00835418701171875, -0.0202484130859375, 0.0049285888671875, -0.0143585205078125, 0.00830078125, -0.033843994140625, -0.000047326087951660156, -0.01232147216796875, 0.0284881591796875, -0.0283355712890625, 0.0303192138671875, -0.04620361328125, -0.0264892578125, 0.0382080078125, 0.0009794235229492188, 0.0079345703125, 0.0277557373046875, -0.061859130859375, -0.0143890380859375, -0.037261962890625, 0.01287841796875, 0.054168701171875, 0.04583740234375, 0.0203704833984375, 0.0382080078125, -0.03271484375, 0.03558349609375, -0.050872802734375, -0.0289306640625, 0.04571533203125, 0.028106689453125, -0.0016469955444335938, -0.03497314453125, -0.11199951171875, 0.01213836669921875, 0.0130462646484375, 0.0005335807800292969, 0.05865478515625, -0.034820556640625, 0.01523590087890625, -0.0282745361328125, -0.00986480712890625, -0.0148773193359375, -0.044586181640625, -0.0049591064453125, 0.02056884765625, -0.006732940673828125, 0.01265716552734375, -0.024505615234375, -0.037261962890625, 0.038482666015625, -0.01885986328125, 0.0003478527069091797, 0.06671142578125, -0.003551483154296875, 0.0230865478515625, 0.0042724609375, 0.048187255859375, 0.02099609375, -0.020111083984375, 0.038177490234375, 0.007320404052734375, -0.0111083984375, 0.0030364990234375, -0.006412506103515625, 0.028594970703125, -0.018280029296875, 0.0233001708984375, -0.048309326171875, -0.0130157470703125, 0.005077362060546875, 0.0139923095703125, 0.00489044189453125, 0.0024051666259765625, -0.007709503173828125, -0.02117919921875, -0.0258636474609375, 0.0158233642578125, -0.0296478271484375, -0.028778076171875, -0.0302886962890625, 0.026702880859375, 0.050079345703125, 0.0147857666015625, -0.036834716796875, 0.04669189453125, -0.0266571044921875, 0.038055419921875, 0.0248565673828125, -0.036102294921875, 0.01169586181640625, 0.01538848876953125, -0.021636962890625, -0.0009832382202148438, -0.0292510986328125, -0.01215362548828125, -0.006832122802734375, -0.01155853271484375, -0.035736083984375, 0.0005903244018554688, 0.073486328125, -0.01277923583984375, -0.0028057098388671875, 0.036712646484375, 0.0626220703125, -0.02374267578125, 0.034576416015625, -0.0270538330078125, -0.0143890380859375, -0.032989501953125, 0.01520538330078125, -0.06475830078125, -0.030120849609375, -0.016998291015625, 0.0018815994262695312, 0.0172271728515625, -0.033599853515625, -0.09417724609375, 0.0118408203125, -0.02276611328125, -0.04510498046875, -0.0306396484375, -0.0035152435302734375, -0.00673675537109375, -0.015228271484375, -0.00554656982421875, -0.0165252685546875, -0.01323699951171875, 0.031951904296875, 0.03326416015625, 0.018798828125, 0.0263519287109375, 0.017913818359375, -0.0278778076171875, 0.0291595458984375, -0.002254486083984375, 0.0231475830078125, -0.018218994140625, -0.0272216796875, -0.0014410018920898438, 0.020599365234375, -0.048858642578125, -0.04742431640625, 0.005519866943359375, 0.03338623046875, 0.0046539306640625, -0.003021240234375, -0.0177001953125, -0.03759765625, 0.0160064697265625, 0.01207733154296875, 0.0014104843139648438, 0.0106658935546875, -0.0247802734375, -0.040496826171875, -0.025970458984375, -0.027801513671875, 0.016326904296875, -0.0684814453125, -0.00223541259765625, 0.007610321044921875, -0.02008056640625, -0.014678955078125, 0.034820556640625, -0.0404052734375, -0.00756072998046875, -0.0234832763671875, -0.0177764892578125, -0.0743408203125, -0.0384521484375, 0.0693359375, -0.028045654296875, 0.043914794921875, 0.00897979736328125, 0.02203369140625, 0.07708740234375, 0.061981201171875, -0.0021190643310546875, -0.002704620361328125, -0.022247314453125, 0.023406982421875, 0.004016876220703125, 0.0220947265625, -0.0253143310546875, -0.03192138671875, -0.005809783935546875, 0.0161590576171875, 0.0062713623046875, 0.0245819091796875, -0.0178985595703125, 0.01183319091796875, 0.01348876953125, 0.037017822265625, -0.0018634796142578125, 0.03515625, -0.027374267578125, 0.049163818359375, -0.0465087890625, -0.01102447509765625, -0.0256195068359375, -0.0254364013671875, 0.0196990966796875, -0.037628173828125, 0.0321044921875, -0.018463134765625, 0.004497528076171875, 0.0007920265197753906, -0.01229095458984375, 0.0196075439453125 ]
aee8d2a2ef3b3b20ab04e7533358581ffa6efba5
Wordpress Stackexchange Q: Getting rid of the #038; when string replacing content I'm trying to add some string replacements to the_title() - function format_title($content) { $content = str_replace('&','&<br>', $content); $content = str_replace('!','!<br>', $content); return $content; } add_filter('the_title','format_title',11); When I try and replace ampersands I get an additional "#038;" after the replacement (ASCII for ampersand), I'm not sure as to why this occurs (security reason?) or how to create a workaround. I've tried replacing "&" with "& amp ;" but with no effect. The goal is to add line breaks at certain points of a title to create a better flow in the typography. Both the database and the site has UTF8 encoding. A: &#38; is essentially synonym of &amp;. In the_title filter wptexturize() runs with priority 1 (important!) and makes this replacement. So by the time it gets to your format_title() at priority 11 - instead of replacing lone & symbol you replace (and break) chunk of &#38; character entity. So you can: * *move your function to priority 0 and it will run before texturize *leave priority at 11 but replace $#38; instead of just &
Q: Getting rid of the #038; when string replacing content I'm trying to add some string replacements to the_title() - function format_title($content) { $content = str_replace('&','&<br>', $content); $content = str_replace('!','!<br>', $content); return $content; } add_filter('the_title','format_title',11); When I try and replace ampersands I get an additional "#038;" after the replacement (ASCII for ampersand), I'm not sure as to why this occurs (security reason?) or how to create a workaround. I've tried replacing "&" with "& amp ;" but with no effect. The goal is to add line breaks at certain points of a title to create a better flow in the typography. Both the database and the site has UTF8 encoding. A: &#38; is essentially synonym of &amp;. In the_title filter wptexturize() runs with priority 1 (important!) and makes this replacement. So by the time it gets to your format_title() at priority 11 - instead of replacing lone & symbol you replace (and break) chunk of &#38; character entity. So you can: * *move your function to priority 0 and it will run before texturize *leave priority at 11 but replace $#38; instead of just & A: This can also be caused by esc_url. You should use esc_url_raw instead, in this scenario. esc_url has this piece of code: // Replace ampersands and single quotes only when displaying. if ( $_context === 'display' ) { $url = wp_kses_normalize_entities( $url ); $url = str_replace( '&amp;', '&#038;', $url ); <!-- See this line! $url = str_replace( "'", '&#039;', $url ); } What esc_url_raw does is simply calling esc_url and skipping that conditional by passing a different context as argument. A: Here is one more solution:- wp-includes\formatting.php >> esc_url () >> comment the line <br> $url = str_replace( '&amp;', '&#038;', $url ); It works for me.
wordpress
{ "language": "en", "length": 291, "provenance": "stackexchange_00019.jsonl.gz:414242", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32464" }
[ -0.006626129150390625, -0.0064849853515625, -0.0361328125, -0.0281982421875, 0.01410675048828125, -0.019775390625, 0.00042891502380371094, -0.0132293701171875, 0.004695892333984375, 0.0130615234375, 0.0479736328125, -0.028472900390625, 0.0162353515625, -0.06298828125, -0.020782470703125, -0.007442474365234375, -0.01361846923828125, 0.037933349609375, 0.0202484130859375, -0.0266265869140625, 0.0081787109375, -0.0204010009765625, -0.0152435302734375, 0.007602691650390625, 0.0025043487548828125, -0.06378173828125, 0.12371826171875, -0.044921875, 0.019775390625, -0.032440185546875, 0.01641845703125, 0.017181396484375, 0.06732177734375, -0.00852203369140625, -0.026275634765625, 0.079833984375, 0.00748443603515625, 0.0011587142944335938, -0.0156402587890625, 0.0295257568359375, -0.005748748779296875, 0.00965118408203125, 0.03240966796875, -0.00528717041015625, -0.0313720703125, -0.00273895263671875, -0.020172119140625, 0.004425048828125, 0.0099945068359375, 0.01122283935546875, 0.0186614990234375, 0.01052093505859375, 0.02264404296875, -0.017181396484375, -0.0101165771484375, -0.01348876953125, -0.03497314453125, 0.031829833984375, 0.004726409912109375, 0.04541015625, 0.018218994140625, 0.03985595703125, -0.033477783203125, -0.0247955322265625, -0.01459503173828125, -0.00811767578125, 0.0162353515625, 0.012603759765625, -0.025726318359375, -0.02923583984375, 0.01013946533203125, -0.0121002197265625, -0.01122283935546875, -0.033905029296875, -0.025238037109375, 0.030670166015625, -0.0179290771484375, -0.0285491943359375, 0.0279541015625, -0.002223968505859375, 0.052978515625, -0.008636474609375, 0.061065673828125, -0.01210784912109375, 0.035888671875, -0.0006866455078125, 0.00414276123046875, -0.025421142578125, -0.00513458251953125, -0.02874755859375, -0.0037441253662109375, 0.01305389404296875, -0.004039764404296875, 0.000036716461181640625, -0.024017333984375, -0.0290069580078125, -0.0014295578002929688, 0.037078857421875, -0.0026645660400390625, 0.037384033203125, 0.0131683349609375, -0.0391845703125, 0.030059814453125, -0.056427001953125, 0.027587890625, 0.0374755859375, -0.007427215576171875, 0.007171630859375, 0.051788330078125, 0.00113677978515625, -0.006450653076171875, 0.031494140625, -0.0269622802734375, -0.0243682861328125, -0.0224761962890625, 0.034271240234375, -0.041473388671875, 0.0092315673828125, 0.0230712890625, 0.01201629638671875, -0.01155853271484375, 0.007579803466796875, -0.00257110595703125, -0.045989990234375, 0.004364013671875, -0.0257720947265625, -0.01096343994140625, -0.0145721435546875, -0.0282745361328125, 0.01148223876953125, -0.0110321044921875, -0.007457733154296875, 0.02154541015625, 0.0574951171875, 0.01393890380859375, -0.023040771484375, 0.0178680419921875, -0.010101318359375, -0.017791748046875, 0.0291595458984375, -0.02752685546875, 0.00447845458984375, 0.04913330078125, -0.036102294921875, 0.0135955810546875, 0.03839111328125, 0.0001379251480102539, -0.005474090576171875, 0.00585174560546875, -0.08233642578125, 0.052703857421875, -0.059326171875, 0.058074951171875, -0.03314208984375, -0.04638671875, -0.054962158203125, -0.00975799560546875, -0.0229644775390625, -0.0236053466796875, -0.05731201171875, -0.0170135498046875, -0.017364501953125, -0.00902557373046875, -0.0728759765625, -0.07525634765625, -0.006473541259765625, -0.023406982421875, -0.005146026611328125, 0.0025348663330078125, 0.006221771240234375, 0.0017032623291015625, -0.004711151123046875, -0.048187255859375, -0.0123443603515625, -0.0023670196533203125, -0.00318145751953125, -0.01525115966796875, 0.025665283203125, 0.01522064208984375, 0.07208251953125, 0.0184173583984375, -0.028350830078125, 0.04071044921875, -0.0055084228515625, -0.036651611328125, 0.033843994140625, -0.0140228271484375, 0.029998779296875, 0.036865234375, -0.0276947021484375, 0.01364898681640625, -0.015228271484375, -0.0494384765625, 0.00798797607421875, -0.01250457763671875, -0.020599365234375, 0.03387451171875, 0.01287078857421875, 0.00539398193359375, -0.00799560546875, 0.010589599609375, 0.01727294921875, -0.0302276611328125, 0.031219482421875, -0.0660400390625, -0.0229644775390625, -0.012451171875, 0.006595611572265625, -0.025787353515625, -0.00007843971252441406, 0.0259552001953125, -0.04071044921875, -0.00936126708984375, 0.0081634521484375, 0.01020050048828125, 0.0007066726684570312, -0.005359649658203125, 0.00247955322265625, 0.0168609619140625, -0.0028514862060546875, 0.0223236083984375, 0.018951416015625, 0.004734039306640625, -0.0010137557983398438, 0.045379638671875, -0.01064300537109375, -0.0195465087890625, -0.008392333984375, 0.042694091796875, -0.004047393798828125, -0.004550933837890625, 0.05340576171875, 0.06298828125, 0.07781982421875, -0.021881103515625, -0.0237884521484375, -0.022247314453125, -0.047760009765625, 0.00984954833984375, 0.053802490234375, 0.042633056640625, 0.053741455078125, -0.0118255615234375, -0.03802490234375, 0.0152740478515625, -0.004604339599609375, 0.0386962890625, -0.045196533203125, 0.0192718505859375, 0.02801513671875, -0.06707763671875, -0.04351806640625, 0.0221710205078125, -0.10955810546875, -0.002986907958984375, 0.04632568359375, 0.00731658935546875, -0.01114654541015625, -0.005237579345703125, 0.01509857177734375, 0.0171966552734375, 0.01161956787109375, -0.0272216796875, 0.00689697265625, 0.03265380859375, 0.000003159046173095703, 0.038238525390625, 0.035247802734375, -0.005306243896484375, 0.0031604766845703125, 0.0038661956787109375, -0.0088653564453125, 0.00946807861328125, 0.040435791015625, -0.044769287109375, -0.01042938232421875, 0.0123138427734375, 0.00870513916015625, -0.04339599609375, -0.00463104248046875, 0.01099395751953125, 0.05126953125, -0.036376953125, -0.0183563232421875, -0.00925445556640625, 0.002071380615234375, -0.016815185546875, -0.00537872314453125, -0.01071929931640625, -0.059906005859375, -0.024505615234375, 0.0232696533203125, -0.025360107421875, 0.039276123046875, -0.01245880126953125, -0.028533935546875, -0.00786590576171875, -0.01995849609375, 0.0284881591796875, -0.036468505859375, 0.02056884765625, 0.059112548828125, 0.0198516845703125, -0.029327392578125, 0.004791259765625, 0.037261962890625, 0.0230255126953125, -0.0078582763671875, 0.0028934478759765625, 0.015899658203125, -0.039703369140625, -0.0150604248046875, 0.0212860107421875, 0.0533447265625, -0.0236053466796875, -0.0293731689453125, 0.0004611015319824219, 0.00970458984375, -0.0726318359375, -0.10626220703125, 0.03472900390625, -0.0226593017578125, -0.012359619140625, 0.0240631103515625, -0.0172119140625, -0.01727294921875, 0.039825439453125, -0.0138397216796875, -0.00994110107421875, -0.050445556640625, -0.01367950439453125, -0.045989990234375, -0.045867919921875, 0.036529541015625, 0.0081024169921875, -0.0064239501953125, 0.002002716064453125, 0.01137542724609375, -0.005157470703125, -0.0299835205078125, 0.0181427001953125, 0.03594970703125, 0.0033359527587890625, 0.0260772705078125, 0.02093505859375, -0.0018205642700195312, -0.026763916015625, -0.0009889602661132812, 0.040283203125, 0.05316162109375, -0.0462646484375, 0.01885986328125, -0.016387939453125, 0.0031719207763671875, 0.0103302001953125, 0.06689453125, 0.0362548828125, 0.042816162109375, 0.0712890625, -0.0117340087890625, -0.028961181640625, -0.00251007080078125, -0.04937744140625, 0.042755126953125, 0.042877197265625, -0.0299530029296875, 0.0007548332214355469, 0.0218505859375, -0.0181427001953125, 0.005039215087890625, 0.068603515625, -0.0219879150390625, -0.0287322998046875, -0.0252685546875, -0.05621337890625, -0.02471923828125, 0.033203125, -0.0183868408203125, 0.041717529296875, 0.03973388671875, 0.0078277587890625, -0.0011386871337890625, -0.042724609375, -0.023162841796875, -0.0124053955078125, 0.0265350341796875, -0.0382080078125, 0.0290069580078125, -0.0270538330078125, -0.00353240966796875, -0.0274200439453125, 0.052947998046875, -0.039764404296875, -0.0235137939453125, 0.006732940673828125, 0.03985595703125, -0.0277557373046875, -0.07403564453125, -0.0002124309539794922, -0.02911376953125, -0.042266845703125, 0.0036754608154296875, -0.0235137939453125, -0.0169219970703125, -0.020172119140625, 0.0172882080078125, -0.01253509521484375, -0.034576416015625, 0.007843017578125, -0.004856109619140625, -0.014129638671875, 0.025726318359375, -0.0244903564453125, 0.0026798248291015625, -0.006534576416015625, -0.03759765625, -0.048095703125, -0.0013494491577148438, -0.028228759765625, 0.0216217041015625, 0.0117034912109375, -0.01305389404296875, -0.015472412109375, 0.03387451171875, -0.023345947265625, 0.002216339111328125, -0.0292510986328125, 0.01507568359375, 0.01175689697265625, 0.03448486328125, -0.02996826171875, 0.00032830238342285156, -0.005641937255859375, 0.019561767578125, -0.036651611328125, 0.04803466796875, 0.008392333984375, 0.01120758056640625, 0.04132080078125, -0.044525146484375, -0.06298828125, -0.007720947265625, -0.0350341796875, 0.007648468017578125, -0.03717041015625, -0.0030975341796875, -0.018280029296875, -0.0777587890625, 0.04638671875, 0.06768798828125, 0.00945281982421875, -0.02032470703125, 0.06378173828125, 0.021453857421875, -0.06280517578125, 0.022247314453125, -0.0294952392578125, 0.030242919921875, -0.02081298828125, 0.0155029296875, -0.012481689453125, -0.07012939453125, 0.10260009765625, 0.00177001953125, 0.02899169921875, -0.007175445556640625, 0.004947662353515625, 0.00823974609375, -0.0284881591796875, 0.028045654296875, 0.01904296875, -0.00531768798828125, 0.030242919921875, 0.027191162109375, -0.00739288330078125, -0.0034275054931640625, -0.011627197265625, 0.01397705078125, -0.015625, 0.019866943359375, -0.0204620361328125, 0.0179901123046875, 0.0116729736328125, 0.008453369140625, -0.02020263671875, 0.0294036865234375, -0.032867431640625, -0.0162811279296875, 0.01666259765625, -0.006542205810546875, 0.003387451171875, -0.0248565673828125, 0.066162109375, -0.043182373046875, -0.0187835693359375, 0.01081085205078125, -0.0103912353515625, 0.0850830078125, 0.0276947021484375, 0.016021728515625, -0.0418701171875, -0.00917816162109375, -0.0109710693359375, -0.033203125, 0.03179931640625, -0.0279998779296875, -0.00014197826385498047, 0.021636962890625, 0.031646728515625, 0.034088134765625, 0.043243408203125, 0.0178985595703125, 0.049407958984375, 0.031036376953125, -0.0219879150390625, -0.0167999267578125, 0.020355224609375, -0.051666259765625, 0.0007996559143066406, 0.036834716796875, 0.01267242431640625, 0.002651214599609375, 0.04443359375, 0.0031681060791015625, -0.01146697998046875, -0.019622802734375, 0.062286376953125, 0.015838623046875, -0.030487060546875, -0.00487518310546875, 0.06707763671875, 0.0309295654296875, -0.015350341796875, -0.0128936767578125, -0.0005650520324707031, 0.005619049072265625, -0.0278472900390625, 0.01293182373046875, -0.0201416015625, -0.03448486328125, -0.0251617431640625, 0.00559234619140625, 0.036224365234375, 0.0234527587890625, 0.0247344970703125, -0.0003559589385986328, -0.0032176971435546875, -0.0010595321655273438, 0.03668212890625, -0.01229095458984375, -0.029571533203125, -0.0211029052734375, 0.04345703125, -0.033111572265625, -0.0223846435546875, 0.01522064208984375, 0.013519287109375, -0.028289794921875, 0.006168365478515625, 0.06439208984375, -0.0504150390625, 0.038116455078125, -0.0282135009765625, 0.050933837890625, -0.034027099609375, 0.0207061767578125, 0.0259552001953125, 0.02142333984375, -0.0306854248046875, 0.00978851318359375, -0.0219268798828125, 0.00286865234375, -0.06256103515625, -0.053009033203125, -0.041778564453125, -0.02203369140625, 0.01971435546875, 0.01580810546875, 0.0323486328125, 0.03851318359375, -0.05657958984375, 0.05303955078125, 0.0404052734375, 0.12060546875, -0.0290985107421875, 0.016143798828125, 0.021820068359375, -0.0017156600952148438, -0.00988006591796875, 0.0091552734375, 0.028076171875, -0.0206451416015625, -0.0029296875, -0.023101806640625, 0.00533294677734375, -0.01461029052734375, 0.05279541015625, 0.02679443359375, 0.06402587890625, 0.01239013671875, 0.06402587890625, -0.00875091552734375, 0.00945281982421875, -0.016571044921875, -0.01052093505859375, -0.056182861328125, 0.043609619140625, -0.0230865478515625, -0.0251312255859375, 0.018463134765625, -0.027191162109375, 0.0207061767578125, 0.015838623046875, -0.041168212890625, 0.0084991455078125, 0.042388916015625, 0.0004611015319824219, -0.0151519775390625, -0.0117950439453125, 0.0303802490234375, 0.00048828125, -0.0295562744140625, 0.0160675048828125, -0.019195556640625, -0.043487548828125, 0.021728515625, 0.040496826171875, 0.0246734619140625, -0.0186767578125, 0.026641845703125, 0.01305389404296875, -0.015777587890625, -0.005893707275390625, 0.06768798828125, 0.043182373046875, -0.07623291015625, -0.006710052490234375, 0.006786346435546875, 0.002872467041015625, 0.0227203369140625, -0.005008697509765625, 0.0114593505859375, -0.04949951171875, 0.032196044921875, 0.02593994140625, 0.0090179443359375, 0.0021457672119140625, -0.00937652587890625, -0.00826263427734375, -0.044525146484375, 0.034820556640625, 0.015472412109375, -0.01279449462890625, 0.010772705078125, 0.0029773712158203125, 0.031524658203125, -0.022491455078125, 0.00316619873046875, 0.0682373046875, -0.0435791015625, -0.103271484375, 0.01003265380859375, 0.006011962890625, -0.0394287109375, -0.042572021484375, -0.006793975830078125, -0.0018529891967773438, 0.047271728515625, -0.04473876953125, -0.006183624267578125, 0.039306640625, -0.0218658447265625, 0.004940032958984375, -0.00998687744140625, -0.0241851806640625, 0.0635986328125, -0.009368896484375, 0.00786590576171875, -0.0036983489990234375, 0.0421142578125, -0.007717132568359375, 0.0155792236328125, 0.04241943359375, -0.01143646240234375, -0.0235443115234375, 0.0240478515625, 0.01462554931640625, 0.01080322265625, -0.01030731201171875, 0.006755828857421875, -0.068603515625, -0.051513671875, -0.00958251953125, -0.06396484375, -0.00563812255859375, -0.0298614501953125, -0.101806640625, 0.07379150390625, 0.040283203125, 0.049774169921875, -0.002849578857421875, 0.0078887939453125, -0.0574951171875, -0.04296875, -0.02679443359375, 0.041473388671875, -0.026611328125, 0.0007343292236328125, -0.0298004150390625, 0.0188446044921875, -0.00928497314453125, 0.0170135498046875, 0.030181884765625, 0.001220703125, -0.0301971435546875, -0.0240325927734375, 0.0212554931640625, 0.032958984375, -0.00021517276763916016, 0.03680419921875, -0.006877899169921875, -0.0298614501953125, -0.0321044921875, -0.0267333984375, 0.019622802734375, -0.072998046875, -0.0151824951171875, 0.01898193359375, 0.031463623046875, 0.04168701171875, 0.03314208984375, -0.0257415771484375, -0.051605224609375, 0.02996826171875, 0.04241943359375, -0.005489349365234375, -0.005916595458984375, 0.0312042236328125, 0.0287628173828125, -0.09228515625, -0.034027099609375, -0.046234130859375, 0.0380859375, 0.005710601806640625, 0.04412841796875, 0.045135498046875, 0.028594970703125, 0.021026611328125, -0.0168304443359375, 0.0268707275390625, 0.0028839111328125, -0.0200347900390625, 0.04833984375, 0.0238189697265625, 0.0175933837890625, 0.0059356689453125, 0.04229736328125, 0.0310211181640625, 0.057464599609375, -0.046173095703125, 0.0186309814453125, 0.012908935546875, -0.0001703500747680664, -0.02764892578125, -0.048004150390625, -0.0098876953125, -0.07012939453125, -0.067626953125, -0.02197265625, 0.0017576217651367188, 0.030029296875, 0.0016841888427734375, -0.00409698486328125, -0.018157958984375, -0.00036072731018066406, 0.014556884765625, -0.04345703125, 0.00189971923828125, 0.0018911361694335938, 0.0457763671875, 0.0269775390625, 0.04669189453125, 0.01145172119140625, -0.035919189453125, 0.0033550262451171875, 0.004199981689453125, -0.00827789306640625, -0.00749969482421875, 0.0016374588012695312, -0.0186004638671875, -0.0007977485656738281, 0.003108978271484375, 0.0012979507446289062, 0.006977081298828125, 0.0191497802734375, 0.0304107666015625, 0.018096923828125, -0.006694793701171875, 0.005001068115234375, -0.0008473396301269531, -0.03582763671875, -0.025970458984375, -0.038970947265625, -0.0032405853271484375, -0.00696563720703125, 0.03338623046875, -0.005245208740234375, 0.00835418701171875, 0.0196075439453125, 0.00576019287109375, 0.013092041015625, 0.0015821456909179688, 0.0003502368927001953, 0.00385284423828125, -0.01558685302734375, 0.038604736328125, -0.053558349609375, -0.0225067138671875, 0.01111602783203125, -0.033233642578125, 0.029388427734375, 0.059722900390625, 0.00701141357421875, -0.01067352294921875, -0.0025691986083984375, -0.01084136962890625, -0.00547027587890625, 0.00887298583984375, 0.012298583984375, 0.0099639892578125, 0.00745391845703125, 0.0101470947265625, 0.0024433135986328125, -0.01375579833984375, 0.023468017578125, 0.042388916015625, 0.0018548965454101562, 0.029083251953125, -0.0190277099609375, 0.0195770263671875, 0.019622802734375, -0.03692626953125, 0.0175323486328125, 0.0136566162109375, -0.0216064453125, -0.0199127197265625, 0.0037689208984375, -0.0160064697265625, 0.0144805908203125, 0.0191497802734375, 0.01543426513671875, -0.0294342041015625, 0.0193634033203125, -0.044677734375, 0.008941650390625, -0.004367828369140625, 0.030059814453125, -0.01486968994140625, 0.0157318115234375, -0.044586181640625, -0.058441162109375, 0.06427001953125, 0.02880859375, 0.019287109375, 0.01508331298828125, 0.01148223876953125, -0.01593017578125, 0.04571533203125, -0.030120849609375, 0.06390380859375, 0.0279083251953125, -0.0258331298828125, 0.0041961669921875, 0.008758544921875, -0.0157012939453125, -0.01477813720703125, 0.03033447265625, 0.0030307769775390625, -0.0011053085327148438, -0.01081085205078125, -0.041778564453125, 0.0137786865234375, 0.046142578125, 0.0301055908203125, 0.0482177734375, -0.039794921875, 0.006015777587890625, -0.04443359375, 0.033599853515625, -0.00937652587890625, 0.01181793212890625, -0.01386260986328125, -0.005092620849609375, 0.01153564453125, -0.02685546875, -0.034393310546875, -0.0281829833984375, 0.0039005279541015625, -0.02423095703125, -0.00571441650390625, -0.0430908203125, -0.023406982421875, 0.046630859375, -0.0330810546875, 0.0009303092956542969, -0.0171661376953125, -0.005523681640625, -0.0223846435546875, -0.07672119140625, -0.061187744140625, 0.0689697265625, -0.058563232421875, -0.01425933837890625, 0.03466796875, 0.0142669677734375, -0.060943603515625, -0.039215087890625, -0.032470703125, 0.003238677978515625, -0.054412841796875, -0.0181121826171875, 0.00756072998046875, 0.01200103759765625, -0.0157318115234375, -0.0310821533203125, 0.0107269287109375, -0.060211181640625, -0.0079498291015625, 0.046966552734375, -0.044708251953125, -0.03271484375, -0.035919189453125, -0.029937744140625, 0.0162200927734375, 0.035980224609375, -0.0280609130859375, -0.05029296875, 0.030120849609375, -0.01171875, 0.0294952392578125, 0.00888824462890625, -0.0498046875, -0.0164947509765625, 0.018707275390625, 0.0172576904296875, 0.0273590087890625, 0.00952911376953125, -0.007389068603515625, -0.05206298828125, 0.00496673583984375, 0.0015087127685546875, 0.0172119140625, -0.03857421875, 0.0153045654296875, -0.01202392578125, 0.0281219482421875, -0.0269775390625, -0.0199737548828125, -0.006622314453125, -0.0229339599609375, -0.01548004150390625, -0.0231781005859375, -0.033782958984375, -0.0233612060546875, 0.106689453125, 0.0034942626953125, 0.012420654296875, -0.035003662109375, 0.03216552734375, 0.00022780895233154297, -0.0231781005859375, -0.026885986328125, 0.0194549560546875, -0.058990478515625, -0.055938720703125, 0.01336669921875, 0.0017194747924804688, 0.01517486572265625, -0.032470703125, 0.002979278564453125, -0.019500732421875, -0.03387451171875, -0.01285552978515625, 0.0061187744140625, -0.04742431640625, 0.07708740234375, -0.054351806640625, -0.03167724609375, 0.028961181640625, 0.029632568359375, -0.0031414031982421875, -0.01122283935546875, -0.04052734375, -0.02813720703125, 0.02630615234375, -0.0010442733764648438, 0.01406097412109375, 0.0008530616760253906, 0.0277557373046875, 0.0085296630859375, 0.0081939697265625, -0.0215911865234375, -0.018524169921875, -0.026458740234375, 0.0263671875, 0.01285552978515625, -0.028961181640625, 0.0217132568359375, -0.0589599609375, 0.007808685302734375, -0.0224761962890625, 0.01494598388671875, -0.0096893310546875, 0.00624847412109375, 0.049713134765625, -0.016082763671875, 0.025238037109375, -0.0201263427734375, 0.0046539306640625, -0.00701141357421875, -0.0134124755859375, -0.06378173828125, 0.001567840576171875, 0.006748199462890625 ]
f6f08c56f38773c9090f161f86c60ffdcec7f3de
Wordpress Stackexchange Q: add_image_size() zoom-crop I've set up a bunch of additional image sizes in my functions.php theme file, with the crop parameter set to true. However, the images are resized but not cropped. if (function_exists('add_image_size')) { add_image_size('frontpage_a-la-une_thumb', 400, 215, true); add_image_size('single_thumb', 320, 9999, false); add_image_size('category_a-la-une_thumb', 280, 215, true); add_image_size('xxs-square-thumb', 60, 60, true); add_image_size('xs-square-thumb', 70, 70, true); add_image_size('s-square-thumb', 98, 98, true); add_image_size('square-thumb', 130, 130, true); add_image_size('l-square-thumb', 198, 198, true); add_image_size('landscape-thumb', 150, 98, true); add_image_size('portrait-thumb', 98, 145, true); } The GD library is installed, so is imageMagick, but no dice. What am i missing? UPDATE: Problem arises with images that are smaller than the set image size: i was expecting WP to create image versions by scaling them up, but it doesn't. So, my bad, sorry for getting that point wrong. A: Currently, WordPress core image handling/thumbnail creation does not perform zoom-crop. If you need an intermediate image size to be created explicitly, you will need to ensure that you upload an image with equal or larger dimensions as the intermediate image size.
Q: add_image_size() zoom-crop I've set up a bunch of additional image sizes in my functions.php theme file, with the crop parameter set to true. However, the images are resized but not cropped. if (function_exists('add_image_size')) { add_image_size('frontpage_a-la-une_thumb', 400, 215, true); add_image_size('single_thumb', 320, 9999, false); add_image_size('category_a-la-une_thumb', 280, 215, true); add_image_size('xxs-square-thumb', 60, 60, true); add_image_size('xs-square-thumb', 70, 70, true); add_image_size('s-square-thumb', 98, 98, true); add_image_size('square-thumb', 130, 130, true); add_image_size('l-square-thumb', 198, 198, true); add_image_size('landscape-thumb', 150, 98, true); add_image_size('portrait-thumb', 98, 145, true); } The GD library is installed, so is imageMagick, but no dice. What am i missing? UPDATE: Problem arises with images that are smaller than the set image size: i was expecting WP to create image versions by scaling them up, but it doesn't. So, my bad, sorry for getting that point wrong. A: Currently, WordPress core image handling/thumbnail creation does not perform zoom-crop. If you need an intermediate image size to be created explicitly, you will need to ensure that you upload an image with equal or larger dimensions as the intermediate image size. A: You'll need to regenerate the thumbnails for existing images. I use this plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/ If your new images aren't being cropped correctly then you have another issue.
wordpress
{ "language": "en", "length": 198, "provenance": "stackexchange_00019.jsonl.gz:414269", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32558" }
[ 0.039459228515625, -0.0257110595703125, 0.046539306640625, -0.004146575927734375, -0.016204833984375, -0.01212310791015625, 0.069091796875, -0.0322265625, 0.029144287109375, 0.0191650390625, -0.062469482421875, 0.0096588134765625, -0.0048675537109375, -0.005153656005859375, -0.0244903564453125, -0.03033447265625, 0.06842041015625, -0.0733642578125, 0.010162353515625, 0.00006002187728881836, 0.0207977294921875, 0.049285888671875, 0.0208740234375, 0.1026611328125, -0.039337158203125, -0.0004551410675048828, 0.041046142578125, -0.0202178955078125, -0.040130615234375, -0.0276031494140625, -0.013336181640625, 0.05535888671875, 0.01947021484375, 0.026641845703125, -0.019775390625, 0.0236053466796875, 0.03741455078125, -0.00966644287109375, -0.00372314453125, 0.028656005859375, 0.02667236328125, -0.00909423828125, 0.02374267578125, -0.005336761474609375, 0.01422119140625, -0.028533935546875, 0.0258026123046875, -0.06610107421875, -0.005069732666015625, 0.029510498046875, 0.0011835098266601562, -0.0203704833984375, 0.00542449951171875, 0.020050048828125, 0.002811431884765625, -0.01128387451171875, -0.031402587890625, 0.0711669921875, 0.0269012451171875, -0.0177154541015625, -0.04827880859375, 0.01201629638671875, 0.0167694091796875, -0.0053863525390625, 0.0066680908203125, -0.008941650390625, -0.018798828125, 0.006168365478515625, 0.0059967041015625, 0.0122528076171875, 0.0007395744323730469, -0.0247802734375, -0.01517486572265625, -0.037384033203125, 0.0021991729736328125, 0.0478515625, -0.021453857421875, -0.013824462890625, 0.0054168701171875, -0.00130462646484375, 0.0089569091796875, -0.03466796875, -0.00193023681640625, 0.0091400146484375, 0.00954437255859375, 0.031524658203125, 0.0002123117446899414, -0.0103759765625, -0.0087738037109375, 0.018829345703125, -0.00582122802734375, -0.060394287109375, -0.0004260540008544922, 0.047698974609375, 0.01149749755859375, -0.0123443603515625, 0.0124359130859375, 0.01068115234375, 0.0064239501953125, 0.018402099609375, 0.031341552734375, -0.05499267578125, 0.046051025390625, -0.035369873046875, 0.020782470703125, 0.026519775390625, -0.0165557861328125, -0.0233306884765625, 0.034210205078125, 0.029510498046875, 0.0019779205322265625, 0.0396728515625, 0.00012373924255371094, -0.03460693359375, 0.0023956298828125, 0.007297515869140625, -0.04217529296875, 0.04156494140625, 0.0104522705078125, 0.01189422607421875, -0.01519775390625, 0.02447509765625, 0.00304412841796875, -0.0171051025390625, 0.047332763671875, 0.034149169921875, 0.0092926025390625, -0.031890869140625, 0.00244903564453125, 0.03826904296875, -0.034881591796875, 0.035400390625, 0.01800537109375, -0.0308074951171875, -0.0322265625, -0.017608642578125, 0.00001996755599975586, -0.0869140625, -0.0306549072265625, 0.00995635986328125, -0.019256591796875, 0.00707244873046875, 0.04595947265625, -0.034637451171875, 0.038848876953125, 0.007701873779296875, -0.0153045654296875, 0.035186767578125, 0.05340576171875, -0.054046630859375, 0.0430908203125, -0.030120849609375, 0.01076507568359375, 0.021636962890625, 0.006435394287109375, -0.0125579833984375, 0.033477783203125, -0.0277099609375, -0.00019299983978271484, -0.0228729248046875, 0.036346435546875, -0.0011777877807617188, -0.0184173583984375, -0.00856781005859375, -0.01788330078125, -0.002471923828125, -0.036712646484375, 0.007762908935546875, 0.0230865478515625, 0.00785064697265625, -0.004741668701171875, 0.0231781005859375, 0.01297760009765625, 0.0138397216796875, 0.0030517578125, -0.0017766952514648438, 0.0341796875, 0.002490997314453125, 0.00942230224609375, 0.06719970703125, 0.01467132568359375, -0.0233306884765625, 0.0672607421875, -0.0287933349609375, -0.007404327392578125, -0.04437255859375, 0.00763702392578125, -0.005710601806640625, 0.0282440185546875, 0.0289306640625, -0.02056884765625, -0.0003502368927001953, -0.06597900390625, 0.053955078125, -0.01270294189453125, -0.006977081298828125, -0.0245819091796875, -0.0029544830322265625, -0.015228271484375, -0.00567626953125, 0.0316162109375, -0.0209503173828125, 0.0239410400390625, -0.033599853515625, -0.0694580078125, -0.0007867813110351562, -0.03302001953125, 0.0367431640625, -0.0031890869140625, 0.00635528564453125, 0.011627197265625, 0.005023956298828125, -0.0233612060546875, -0.013153076171875, -0.033966064453125, 0.01910400390625, 0.0032806396484375, -0.01264190673828125, 0.00452423095703125, 0.0281524658203125, -0.03985595703125, 0.0164031982421875, -0.046112060546875, -0.00765228271484375, 0.036956787109375, 0.01247406005859375, -0.025421142578125, -0.00873565673828125, -0.00922393798828125, 0.00798797607421875, -0.04498291015625, 0.0587158203125, -0.0202789306640625, 0.01021575927734375, -0.0162506103515625, -0.02130126953125, -0.0217132568359375, -0.043792724609375, 0.0263519287109375, 0.033416748046875, 0.0208282470703125, 0.054656982421875, 0.0032062530517578125, 0.0241241455078125, 0.08953857421875, 0.06390380859375, 0.041534423828125, -0.013763427734375, -0.01134490966796875, -0.0181884765625, 0.00501251220703125, -0.034210205078125, 0.0273895263671875, -0.08355712890625, 0.0098724365234375, 0.029266357421875, -0.036773681640625, -0.0230865478515625, -0.03228759765625, 0.0216064453125, 0.00783538818359375, -0.0016956329345703125, -0.0026950836181640625, -0.013427734375, -0.0258941650390625, 0.027496337890625, -0.00560760498046875, 0.0012941360473632812, -0.030548095703125, 0.0256500244140625, 0.0218353271484375, -0.022125244140625, 0.003475189208984375, 0.01210784912109375, -0.02325439453125, -0.01506805419921875, -0.042083740234375, 0.02978515625, 0.011474609375, -0.0162811279296875, 0.00033164024353027344, 0.03662109375, -0.0390625, -0.0131072998046875, -0.01751708984375, -0.0599365234375, -0.0121917724609375, 0.021636962890625, 0.00666046142578125, -0.01068115234375, 0.0164794921875, 0.01560211181640625, -0.01317596435546875, 0.031402587890625, -0.0007691383361816406, -0.016845703125, 0.007415771484375, -0.07000732421875, 0.06256103515625, -0.0517578125, 0.08062744140625, 0.086669921875, -0.045013427734375, 0.04278564453125, -0.0014963150024414062, -0.0418701171875, -0.031585693359375, 0.00666046142578125, -0.0168609619140625, -0.04095458984375, -0.01152801513671875, 0.038787841796875, 0.01213836669921875, 0.05242919921875, -0.034698486328125, -0.04071044921875, -0.004756927490234375, 0.0172882080078125, -0.01384735107421875, 0.019256591796875, -0.02325439453125, -0.066650390625, -0.03839111328125, -0.005565643310546875, -0.04034423828125, 0.0293731689453125, -0.0026988983154296875, -0.00457763671875, -0.03271484375, -0.00923919677734375, -0.00299072265625, -0.051605224609375, -0.048736572265625, -0.0135650634765625, 0.004547119140625, 0.01922607421875, 0.01062774658203125, -0.003719329833984375, 0.00455474853515625, -0.022613525390625, 0.017486572265625, 0.049072265625, -0.005954742431640625, -0.014862060546875, -0.0175628662109375, 0.016998291015625, -0.003795623779296875, -0.01052093505859375, 0.030364990234375, 0.05181884765625, -0.048675537109375, 0.023040771484375, -0.04595947265625, -0.0244293212890625, -0.0604248046875, 0.069091796875, 0.07611083984375, -0.064208984375, -0.01386260986328125, -0.057891845703125, -0.005832672119140625, -0.016998291015625, -0.03790283203125, 0.034149169921875, 0.00879669189453125, -0.004924774169921875, 0.01141357421875, 0.01438140869140625, 0.0377197265625, 0.0185394287109375, 0.00638580322265625, 0.0099639892578125, 0.0374755859375, -0.008514404296875, 0.01136016845703125, -0.04693603515625, -0.0263824462890625, -0.03533935546875, 0.04132080078125, -0.01666259765625, 0.007106781005859375, -0.0108795166015625, 0.015716552734375, -0.021209716796875, -0.01276397705078125, 0.036346435546875, -0.00902557373046875, 0.0223388671875, -0.0247344970703125, -0.0196533203125, -0.00685882568359375, 0.062744140625, -0.059783935546875, -0.031890869140625, -0.0245513916015625, 0.03900146484375, -0.007568359375, -0.048248291015625, 0.029388427734375, -0.01097869873046875, -0.043548583984375, 0.0009503364562988281, 0.0323486328125, -0.040069580078125, -0.00043845176696777344, 0.004425048828125, -0.02935791015625, -0.004421234130859375, 0.0229949951171875, 0.03155517578125, -0.0020275115966796875, 0.032073974609375, -0.019287109375, 0.05859375, -0.017181396484375, -0.01300811767578125, -0.09136962890625, -0.01224517822265625, -0.01090240478515625, 0.06842041015625, -0.04083251953125, 0.07147216796875, -0.058624267578125, 0.028900146484375, 0.0029449462890625, -0.004245758056640625, 0.007343292236328125, 0.01788330078125, 0.002048492431640625, 0.00005125999450683594, 0.005153656005859375, -0.034759521484375, -0.01922607421875, -0.06365966796875, -0.02001953125, -0.05877685546875, -0.051910400390625, -0.0292816162109375, -0.02459716796875, 0.0017461776733398438, -0.026092529296875, -0.035614013671875, -0.0183563232421875, 0.032745361328125, -0.0220184326171875, 0.004146575927734375, -0.06683349609375, -0.04791259765625, 0.043365478515625, 0.00563812255859375, -0.01047515869140625, -0.0016698837280273438, 0.05999755859375, 0.004016876220703125, -0.0134429931640625, -0.060089111328125, -0.0170745849609375, 0.0286712646484375, 0.043914794921875, 0.006378173828125, 0.015960693359375, -0.006206512451171875, -0.03558349609375, 0.027984619140625, -0.018646240234375, -0.0095672607421875, 0.0947265625, -0.01016998291015625, -0.020599365234375, 0.0197296142578125, -0.035186767578125, 0.0025463104248046875, 0.01284027099609375, -0.02557373046875, -0.00954437255859375, -0.0198822021484375, 0.03424072265625, -0.01428985595703125, 0.036865234375, -0.03057861328125, -0.022247314453125, 0.01114654541015625, -0.01399993896484375, 0.031707763671875, -0.0006051063537597656, 0.0021648406982421875, -0.00836944580078125, 0.0220489501953125, 0.0099029541015625, 0.0172882080078125, -0.007843017578125, 0.007587432861328125, 0.0189666748046875, 0.033355712890625, 0.00667572021484375, 0.005084991455078125, 0.0165252685546875, 0.005680084228515625, 0.03704833984375, -0.0017080307006835938, -0.06732177734375, 0.0221405029296875, 0.0206146240234375, -0.054962158203125, -0.0016880035400390625, 0.03265380859375, 0.0166168212890625, -0.019622802734375, -0.01229095458984375, -0.022918701171875, -0.00952911376953125, -0.050750732421875, 0.01491546630859375, 0.00701141357421875, -0.022705078125, 0.05572509765625, -0.040008544921875, -0.032989501953125, 0.0019388198852539062, 0.0133819580078125, 0.03411865234375, 0.051025390625, 0.01114654541015625, 0.024383544921875, 0.00873565673828125, -0.01236724853515625, 0.0006890296936035156, 0.0081024169921875, -0.006622314453125, 0.0030651092529296875, 0.016143798828125, 0.0080108642578125, -0.041778564453125, -0.01456451416015625, 0.03912353515625, 0.013763427734375, -0.00011235475540161133, -0.0238189697265625, -0.037628173828125, -0.04052734375, 0.00554656982421875, 0.0394287109375, 0.02142333984375, -0.0218505859375, -0.04852294921875, 0.00809478759765625, -0.0338134765625, 0.0257568359375, 0.0193939208984375, -0.043060302734375, 0.043365478515625, 0.041656494140625, -0.02935791015625, -0.0237274169921875, -0.0202789306640625, 0.03778076171875, 0.0060577392578125, -0.01410675048828125, -0.03375244140625, 0.040069580078125, -0.0279083251953125, 0.000621795654296875, -0.0268402099609375, 0.01264190673828125, -0.005619049072265625, 0.0122528076171875, 0.033233642578125, -0.0028934478759765625, 0.01971435546875, -0.0489501953125, -0.0261993408203125, -0.04901123046875, 0.0295867919921875, 0.0259246826171875, -0.00447845458984375, 0.00807952880859375, -0.003559112548828125, 0.0225982666015625, -0.004276275634765625, -0.01641845703125, -0.0107879638671875, -0.007068634033203125, 0.00417327880859375, -0.0236358642578125, 0.0077056884765625, 0.002841949462890625, -0.0018548965454101562, 0.04541015625, 0.01003265380859375, 0.01421356201171875, 0.0045623779296875, -0.032379150390625, 0.0030040740966796875, -0.045623779296875, -0.0278167724609375, 0.004932403564453125, -0.0262451171875, 0.021331787109375, 0.03753662109375, 0.0027790069580078125, 0.005092620849609375, -0.008514404296875, 0.0018281936645507812, -0.0204315185546875, 0.043914794921875, -0.0124359130859375, 0.007617950439453125, 0.0293121337890625, -0.0443115234375, 0.01910400390625, -0.006443023681640625, -0.00795745849609375, 0.0292205810546875, -0.06072998046875, 0.008453369140625, 0.09259033203125, 0.0035381317138671875, 0.00807952880859375, 0.08636474609375, -0.01023101806640625, 0.040069580078125, 0.06475830078125, -0.0032367706298828125, 0.0374755859375, 0.0006914138793945312, -0.00926971435546875, 0.004669189453125, 0.00894927978515625, -0.01507568359375, 0.002681732177734375, -0.005558013916015625, -0.007785797119140625, 0.03057861328125, 0.031829833984375, 0.06915283203125, -0.046295166015625, 0.0283660888671875, 0.00788116455078125, -0.030120849609375, 0.05072021484375, -0.00238800048828125, 0.0086822509765625, 0.03125, 0.05694580078125, -0.017913818359375, -0.006511688232421875, 0.0266876220703125, -0.005977630615234375, -0.031982421875, -0.03485107421875, -0.0035495758056640625, 0.010101318359375, -0.053497314453125, 0.036102294921875, 0.0244293212890625, -0.01071929931640625, -0.01107025146484375, 0.02874755859375, -0.033935546875, 0.020294189453125, -0.01434326171875, 0.0086212158203125, -0.039581298828125, 0.0030670166015625, 0.02825927734375, 0.01287078857421875, 0.003536224365234375, 0.02728271484375, 0.0014028549194335938, -0.0036106109619140625, 0.01201629638671875, -0.043365478515625, 0.07305908203125, -0.01690673828125, 0.027740478515625, -0.0030155181884765625, -0.048004150390625, 0.0005478858947753906, -0.00959014892578125, 0.011138916015625, 0.0030651092529296875, 0.0158233642578125, 0.0648193359375, -0.035858154296875, -0.016204833984375, 0.040191650390625, 0.021728515625, -0.01910400390625, 0.01800537109375, 0.045257568359375, -0.06591796875, -0.03692626953125, 0.035888671875, -0.0270538330078125, -0.00074005126953125, 0.01419830322265625, -0.028411865234375, 0.0770263671875, -0.035247802734375, 0.004207611083984375, 0.033966064453125, 0.0260467529296875, -0.01708984375, 0.011077880859375, -0.007442474365234375, 0.0150604248046875, -0.0203704833984375, 0.01071929931640625, -0.0249481201171875, 0.0211944580078125, -0.003932952880859375, 0.006023406982421875, 0.055206298828125, 0.00908660888671875, -0.05841064453125, -0.0113677978515625, 0.0804443359375, 0.064208984375, 0.0296478271484375, 0.0267333984375, -0.0312042236328125, -0.031585693359375, 0.00003170967102050781, 0.00075531005859375, 0.03582763671875, -0.022613525390625, -0.0416259765625, 0.01203155517578125, -0.0008821487426757812, 0.0185394287109375, -0.0036144256591796875, 0.022552490234375, -0.01424407958984375, -0.0153045654296875, 0.03228759765625, -0.077392578125, 0.005298614501953125, 0.03173828125, -0.00044608116149902344, 0.046539306640625, -0.044677734375, 0.00418853759765625, 0.019683837890625, 0.005413055419921875, 0.0302734375, -0.0015707015991210938, 0.007793426513671875, 0.030181884765625, 0.0071868896484375, 0.0166778564453125, 0.05291748046875, -0.01146697998046875, -0.01142120361328125, -0.0036907196044921875, 0.007793426513671875, -0.03448486328125, 0.025970458984375, 0.01482391357421875, -0.001476287841796875, -0.036712646484375, -0.0190277099609375, 0.002288818359375, 0.004199981689453125, 0.004337310791015625, 0.002391815185546875, 0.004718780517578125, -0.0304412841796875, -0.00588226318359375, -0.0408935546875, 0.0064697265625, 0.060333251953125, 0.0372314453125, 0.0019664764404296875, 0.0037517547607421875, -0.064453125, -0.0175323486328125, -0.03839111328125, 0.011871337890625, 0.0037708282470703125, 0.05889892578125, 0.006885528564453125, 0.06982421875, 0.018341064453125, -0.0139007568359375, -0.02691650390625, 0.047760009765625, -0.0259857177734375, 0.03448486328125, 0.004077911376953125, -0.0011701583862304688, -0.04754638671875, 0.02972412109375, -0.01560211181640625, 0.006317138671875, 0.043243408203125, 0.0166778564453125, -0.08807373046875, -0.02386474609375, 0.0301971435546875, -0.0552978515625, -0.0158538818359375, -0.0328369140625, 0.03955078125, 0.051513671875, 0.02008056640625, -0.009185791015625, 0.0177001953125, 0.06121826171875, -0.0169219970703125, 0.02886962890625, -0.0019817352294921875, -0.034637451171875, 0.043243408203125, -0.012451171875, 0.093505859375, 0.0021877288818359375, -0.0843505859375, -0.003810882568359375, -0.03070068359375, -0.04400634765625, 0.0316162109375, 0.034210205078125, -0.0357666015625, 0.0256195068359375, 0.0031604766845703125, -0.046295166015625, 0.03485107421875, 0.01256561279296875, -0.0005044937133789062, 0.0159759521484375, 0.016693115234375, -0.01983642578125, -0.040191650390625, -0.00859832763671875, -0.006832122802734375, 0.035400390625, 0.0006122589111328125, 0.10076904296875, -0.037200927734375, 0.00937652587890625, 0.054046630859375, -0.01538848876953125, 0.02899169921875, 0.033050537109375, 0.0258331298828125, -0.01305389404296875, -0.00579833984375, -0.03094482421875, 0.0200042724609375, -0.0338134765625, 0.0285186767578125, -0.0645751953125, -0.04595947265625, -0.0266265869140625, 0.0225677490234375, 0.031036376953125, 0.005889892578125, -0.019256591796875, -0.04296875, -0.052093505859375, -0.0008912086486816406, 0.0212860107421875, 0.019378662109375, -0.03424072265625, 0.034027099609375, 0.0276336669921875, 0.0085601806640625, 0.0198822021484375, -0.0203704833984375, 0.05718994140625, 0.05419921875, -0.048065185546875, -0.04315185546875, 0.008026123046875, -0.001117706298828125, -0.0294342041015625, 0.03021240234375, 0.0212554931640625, -0.00293731689453125, -0.0085601806640625, 0.0217132568359375, -0.0030536651611328125, 0.01241302490234375, -0.049346923828125, -0.006103515625, 0.0276947021484375, 0.0185546875, 0.020843505859375, -0.00037550926208496094, 0.0006036758422851562, -0.0186004638671875, -0.0183258056640625, 0.01085662841796875, -0.00444793701171875, -0.0042877197265625, -0.0015773773193359375, 0.0017271041870117188, 0.03594970703125, 0.0282135009765625, -0.0654296875, 0.039459228515625, -0.002353668212890625, 0.00923919677734375, 0.00966644287109375, -0.039642333984375, -0.0080718994140625, 0.01248931884765625, -0.00833892822265625, -0.055419921875, -0.044677734375, 0.035858154296875, -0.01959228515625, 0.058502197265625, 0.0894775390625, -0.060211181640625, -0.025970458984375, 0.038116455078125, 0.044097900390625, 0.09893798828125, -0.0272674560546875, -0.03533935546875, 0.0179595947265625, -0.0198974609375, 0.003665924072265625, -0.036407470703125, 0.002838134765625, -0.0751953125, 0.00257110595703125, -0.043121337890625, 0.00800323486328125, -0.0105438232421875, -0.05194091796875, -0.070556640625, 0.00986480712890625, -0.014862060546875, -0.036865234375, -0.0229034423828125, -0.007526397705078125, -0.027252197265625, 0.0474853515625, 0.00994873046875, -0.005992889404296875, -0.0029125213623046875, 0.028533935546875, -0.003047943115234375, -0.00604248046875, 0.0355224609375, -0.0209808349609375, 0.01496124267578125, 0.0268096923828125, 0.041595458984375, -0.033203125, 0.00434112548828125, -0.0215911865234375, 0.045654296875, 0.06463623046875, -0.007427215576171875, -0.02581787109375, 0.00811004638671875, -0.046478271484375, -0.0254974365234375, -0.038665771484375, -0.02301025390625, 0.0030422210693359375, 0.08538818359375, 0.0274810791015625, 0.02490234375, -0.047637939453125, 0.002735137939453125, -0.0272979736328125, -0.045623779296875, -0.026031494140625, 0.0191802978515625, -0.058837890625, -0.0160675048828125, 0.0021152496337890625, -0.0023956298828125, -0.01702880859375, -0.007419586181640625, -0.03436279296875, -0.0088348388671875, 0.005474090576171875, 0.0223388671875, -0.08209228515625, 0.0657958984375, 0.0311737060546875, -0.033782958984375, 0.007617950439453125, -0.04437255859375, -0.0120697021484375, 0.007686614990234375, -0.06597900390625, -0.005756378173828125, 0.041717529296875, -0.024261474609375, 0.00881195068359375, 0.0144195556640625, -0.0311126708984375, -0.006969451904296875, 0.0182647705078125, 0.0002887248992919922, 0.01959228515625, 0.0152130126953125, 0.03143310546875, -0.034912109375, 0.0200958251953125, 0.00855255126953125, -0.005611419677734375, -0.01442718505859375, 0.0016927719116210938, -0.0197906494140625, 0.004573822021484375, -0.002544403076171875, 0.0007443428039550781, 0.0185394287109375, 0.0036296844482421875, 0.0160369873046875, 0.006988525390625, -0.052276611328125, 0.003742218017578125, -0.029632568359375, -0.01354217529296875, -0.022918701171875, -0.00817108154296875 ]
aa69fbf28d12f8fddf09cd30bf65ecb21e0a3d84
Wordpress Stackexchange Q: Localization: I want the backend: english and frontend in defined language I'd like to have the backend of Wordpress in English and use a different locale for the frontend so far I figure out perhaps I could do it by setting in the wpconfig the locale I want to use in the frontend, then add in functions.php something like this: add_filter('locale', 'mytheme_backendlocale'); function mytheme_backendlocale($locale) { if ( is_admin() ) { return 'en_US'; } return $locale; } is this the best practice to achieve what I want or should I do it differently? A: Install the plugin WP Native Dashboard. Then you can set one language for the front-end in your wp-config.php and each user can choose another one for the back-end. See Change language of comments template for details and a screenshot.
Q: Localization: I want the backend: english and frontend in defined language I'd like to have the backend of Wordpress in English and use a different locale for the frontend so far I figure out perhaps I could do it by setting in the wpconfig the locale I want to use in the frontend, then add in functions.php something like this: add_filter('locale', 'mytheme_backendlocale'); function mytheme_backendlocale($locale) { if ( is_admin() ) { return 'en_US'; } return $locale; } is this the best practice to achieve what I want or should I do it differently? A: Install the plugin WP Native Dashboard. Then you can set one language for the front-end in your wp-config.php and each user can choose another one for the back-end. See Change language of comments template for details and a screenshot. A: There is a plugin that may be what you need. http://wordpress.org/extend/plugins/fe-be-localization/ A: Till now, I think that Fulvio's answer's the best one. I'm using that filter even on a multisite setup, with just one line: add_filter('locale', 'set_admin_locale'); function set_admin_locale($locale) { return 'en_US'; } Basically sometimes, and in this case, I use multisite for multi-language sites instead of plugins. Also, I have 1 single theme for each language (usually child themes of the main language). So every site of the network has its own language, but on the admin side, I need all teh interfaces in italian. So what I do is: * *I don't use the general WPLANG constant in wp-config.php *I set italian in every site of teh network *In each theme's functions.php I use the above filter to control the frontend language/locale. NOTE: that filter won't change the admin language, so there's no need to check if is_admin() A: If anyone is still looking for that, here is what you should do since version 4.7 function wp_noshor_redefine_locale($locale) { if( is_admin() ): switch_to_locale('en_US'); endif; } add_filter('init','wp_noshor_redefine_locale'); This forces the dashboard to load in English, then you can go to settings, set the language you desire.
wordpress
{ "language": "en", "length": 330, "provenance": "stackexchange_00019.jsonl.gz:414273", "question_score": "9", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32584" }
[ -0.00966644287109375, 0.006893157958984375, -0.019256591796875, 0.00490570068359375, -0.0063629150390625, -0.027191162109375, -0.0089111328125, -0.038055419921875, -0.00496673583984375, 0.0175323486328125, 0.031097412109375, -0.00247955322265625, 0.0042877197265625, -0.036376953125, -0.00982666015625, -0.00652313232421875, 0.037109375, 0.02288818359375, 0.040283203125, 0.002414703369140625, -0.024322509765625, 0.0272369384765625, 0.01031494140625, 0.017364501953125, 0.041107177734375, -0.0712890625, 0.060546875, -0.034698486328125, 0.00908660888671875, -0.027130126953125, 0.02874755859375, 0.02752685546875, 0.037750244140625, -0.03607177734375, -0.00934600830078125, -0.058624267578125, -0.0311126708984375, -0.01103973388671875, -0.034393310546875, -0.00244140625, 0.032440185546875, -0.028900146484375, -0.0011262893676757812, 0.06573486328125, -0.007221221923828125, -0.04632568359375, 0.048095703125, -0.027679443359375, 0.0013904571533203125, -0.0078582763671875, 0.0266265869140625, -0.0133819580078125, 0.03216552734375, -0.022430419921875, 0.00958251953125, 0.03326416015625, -0.0207672119140625, 0.031494140625, 0.039093017578125, 0.028594970703125, -0.00621795654296875, -0.01322174072265625, 0.002079010009765625, -0.0255279541015625, -0.00818634033203125, -0.006717681884765625, -0.00885772705078125, 0.0230255126953125, -0.017303466796875, -0.01520538330078125, 0.005947113037109375, -0.021636962890625, 0.01898193359375, -0.0146484375, -0.0357666015625, 0.023590087890625, -0.0223846435546875, -0.002925872802734375, 0.0377197265625, -0.04229736328125, -0.032501220703125, -0.00705718994140625, -0.0518798828125, -0.055084228515625, 0.0173187255859375, -0.0277862548828125, -0.0264434814453125, 0.023223876953125, -0.0869140625, -0.01386260986328125, -0.045989990234375, -0.06201171875, -0.131591796875, 0.044158935546875, 0.05096435546875, 0.0008373260498046875, 0.0156707763671875, 0.024139404296875, -0.01059722900390625, 0.00644683837890625, -0.00698089599609375, -0.03778076171875, 0.035614013671875, -0.040435791015625, 0.02484130859375, -0.0123291015625, -0.0266571044921875, 0.0264434814453125, 0.07086181640625, 0.046844482421875, 0.0012464523315429688, 0.0501708984375, -0.01678466796875, -0.05010986328125, -0.00038242340087890625, 0.046142578125, -0.012237548828125, 0.002735137939453125, 0.0079803466796875, -0.0258941650390625, 0.00835418701171875, 0.03753662109375, -0.0223846435546875, -0.0268096923828125, -0.001361846923828125, -0.026947021484375, -0.0045166015625, -0.005641937255859375, 0.0120391845703125, 0.047882080078125, -0.0428466796875, 0.0008087158203125, 0.0787353515625, 0.0105133056640625, -0.0083160400390625, -0.03533935546875, 0.0178985595703125, 0.044219970703125, 0.017333984375, -0.0024127960205078125, 0.0099639892578125, -0.040679931640625, -0.031097412109375, 0.0294189453125, -0.009429931640625, -0.00423431396484375, 0.0301971435546875, 0.029632568359375, -0.006481170654296875, -0.047607421875, 0.07366943359375, -0.01995849609375, 0.00943756103515625, 0.029510498046875, -0.0152740478515625, -0.000047087669372558594, 0.01093292236328125, -0.0164337158203125, -0.008056640625, -0.0241241455078125, -0.042633056640625, -0.00867462158203125, 0.018585205078125, -0.049652099609375, -0.025177001953125, 0.0012903213500976562, 0.0044403076171875, 0.0201873779296875, 0.0122222900390625, -0.046905517578125, 0.02740478515625, -0.0067291259765625, -0.0180816650390625, -0.03094482421875, -0.01064300537109375, 0.0037021636962890625, -0.049041748046875, 0.0361328125, 0.01375579833984375, 0.02520751953125, 0.031707763671875, -0.00470733642578125, 0.055755615234375, 0.0345458984375, -0.037139892578125, -0.02423095703125, 0.0263519287109375, 0.0828857421875, 0.055419921875, 0.0408935546875, -0.0296783447265625, -0.0667724609375, -0.028717041015625, 0.0298614501953125, -0.0386962890625, -0.03759765625, 0.00841522216796875, 0.017578125, -0.0293731689453125, 0.0030078887939453125, 0.02276611328125, 0.00023066997528076172, 0.0193939208984375, -0.0016279220581054688, -0.054290771484375, 0.0296783447265625, -0.035003662109375, 0.0328369140625, 0.0309906005859375, -0.00440216064453125, -0.0018396377563476562, 0.01331329345703125, 0.005001068115234375, -0.06707763671875, -0.0633544921875, 0.039947509765625, -0.026611328125, 0.019256591796875, 0.0299072265625, -0.0128631591796875, 0.059356689453125, -0.02899169921875, 0.04827880859375, -0.0010156631469726562, 0.0184173583984375, -0.01299285888671875, 0.005451202392578125, -0.0094757080078125, 0.03643798828125, 0.0019378662109375, 0.0160980224609375, 0.018402099609375, 0.0136871337890625, 0.02325439453125, 0.026336669921875, 0.021881103515625, 0.057373046875, -0.069091796875, 0.008056640625, 0.0311431884765625, 0.0389404296875, 0.020538330078125, 0.032562255859375, 0.0124664306640625, -0.00701141357421875, -0.027618408203125, 0.057647705078125, -0.032806396484375, -0.00789642333984375, 0.037109375, -0.0643310546875, 0.0011873245239257812, 0.0135955810546875, -0.09088134765625, -0.010772705078125, 0.0572509765625, -0.05633544921875, -0.049407958984375, 0.04156494140625, -0.01412200927734375, 0.0113067626953125, -0.046478271484375, -0.025482177734375, -0.0145111083984375, -0.0008172988891601562, -0.039306640625, -0.0226287841796875, -0.025360107421875, -0.035308837890625, -0.016265869140625, 0.05096435546875, 0.0032520294189453125, 0.01678466796875, 0.01479339599609375, -0.052276611328125, 0.01212310791015625, -0.0362548828125, -0.00004225969314575195, 0.0531005859375, -0.007415771484375, -0.01277923583984375, 0.024658203125, -0.026153564453125, -0.0179290771484375, -0.001667022705078125, -0.073486328125, -0.01187896728515625, 0.004146575927734375, 0.0143280029296875, 0.0081634521484375, 0.034332275390625, -0.021697998046875, -0.033111572265625, 0.0166778564453125, 0.014923095703125, -0.03399658203125, 0.0316162109375, -0.012481689453125, 0.0175323486328125, -0.01323699951171875, 0.02557373046875, 0.050445556640625, 0.0304412841796875, -0.040313720703125, 0.005428314208984375, -0.006244659423828125, 0.033721923828125, -0.0007128715515136719, -0.0169677734375, -0.0090179443359375, -0.06781005859375, -0.033203125, 0.00594329833984375, 0.0008039474487304688, -0.0124053955078125, -0.046478271484375, -0.03289794921875, -0.0025081634521484375, -0.049957275390625, -0.0157470703125, 0.024627685546875, -0.0182342529296875, 0.012451171875, -0.0198211669921875, -0.006591796875, -0.0269317626953125, -0.006328582763671875, -0.012420654296875, 0.0665283203125, -0.043060302734375, -0.038482666015625, -0.0262603759765625, -0.061431884765625, -0.06378173828125, 0.008026123046875, -0.0252532958984375, 0.01300048828125, 0.00966644287109375, 0.01291656494140625, -0.0267181396484375, 0.02032470703125, 0.048583984375, -0.01509857177734375, -0.01531219482421875, -0.0201263427734375, -0.0218963623046875, 0.034515380859375, -0.0143280029296875, -0.042236328125, 0.0296478271484375, 0.0007047653198242188, -0.0095672607421875, -0.0033588409423828125, 0.014923095703125, -0.00673675537109375, -0.029083251953125, 0.01175689697265625, 0.01027679443359375, -0.03271484375, -0.037353515625, -0.0423583984375, 0.037628173828125, -0.0184783935546875, 0.0245361328125, -0.016265869140625, -0.0304412841796875, 0.01059722900390625, 0.041229248046875, 0.0156707763671875, 0.007518768310546875, 0.039276123046875, 0.01099395751953125, -0.00251007080078125, 0.0030155181884765625, -0.02972412109375, -0.020111083984375, 0.0489501953125, -0.01068878173828125, -0.015625, 0.01045989990234375, 0.013916015625, 0.007244110107421875, -0.0222625732421875, -0.006526947021484375, -0.060028076171875, 0.072265625, -0.045166015625, -0.02734375, -0.0220489501953125, -0.039764404296875, 0.0067138671875, 0.1021728515625, -0.03570556640625, -0.0078887939453125, 0.0031566619873046875, 0.0185546875, -0.0341796875, -0.042236328125, -0.04656982421875, -0.0034580230712890625, -0.0131683349609375, 0.007251739501953125, -0.0077667236328125, -0.0001863241195678711, -0.007476806640625, 0.0244140625, 0.0185394287109375, -0.013671875, 0.035797119140625, -0.061309814453125, 0.0070953369140625, 0.0016279220581054688, -0.038665771484375, 0.0109405517578125, -0.02459716796875, -0.06396484375, -0.050689697265625, -0.026824951171875, 0.0297088623046875, 0.04449462890625, -0.0013017654418945312, -0.051483154296875, 0.0024585723876953125, 0.056365966796875, -0.016265869140625, 0.0243072509765625, 0.01103973388671875, 0.04638671875, 0.055023193359375, -0.057647705078125, -0.01479339599609375, -0.0277557373046875, -0.004558563232421875, 0.020538330078125, -0.024383544921875, 0.058563232421875, -0.01255035400390625, -0.004589080810546875, 0.0277099609375, -0.045501708984375, -0.05560302734375, -0.0145721435546875, -0.00719451904296875, -0.019195556640625, 0.0114898681640625, -0.029632568359375, -0.0059051513671875, -0.0372314453125, 0.052764892578125, 0.0347900390625, 0.0007510185241699219, -0.00911712646484375, 0.07330322265625, 0.0019130706787109375, -0.036102294921875, -0.0665283203125, -0.0333251953125, 0.0292510986328125, 0.005214691162109375, 0.028594970703125, -0.00991058349609375, -0.03363037109375, 0.09906005859375, 0.0072174072265625, 0.0196075439453125, 0.004001617431640625, 0.0389404296875, -0.006198883056640625, -0.05047607421875, 0.0611572265625, 0.01416778564453125, -0.0704345703125, -0.0126190185546875, -0.001911163330078125, 0.00856781005859375, 0.006740570068359375, 0.01175689697265625, 0.0038890838623046875, -0.00630950927734375, -0.01290130615234375, -0.046905517578125, 0.0234375, -0.02972412109375, -0.0165863037109375, -0.00504302978515625, 0.0066070556640625, -0.0193939208984375, -0.007659912109375, -0.0278778076171875, 0.031036376953125, -0.040008544921875, 0.0231475830078125, -0.0028533935546875, 0.006534576416015625, -0.03179931640625, 0.034393310546875, -0.01432037353515625, 0.063232421875, 0.0013370513916015625, -0.043304443359375, -0.0025615692138671875, -0.0091400146484375, -0.01302337646484375, 0.021575927734375, -0.005519866943359375, 0.03277587890625, 0.00720977783203125, -0.0203857421875, -0.0135650634765625, 0.01336669921875, -0.034423828125, -0.059326171875, 0.0013456344604492188, -0.0006995201110839844, 0.004451751708984375, 0.0162506103515625, 0.07684326171875, -0.0251617431640625, 0.058685302734375, -0.0207672119140625, 0.021270751953125, 0.0140380859375, 0.0283050537109375, -0.0029506683349609375, 0.00554656982421875, 0.00868988037109375, 0.0028438568115234375, 0.014495849609375, -0.0007500648498535156, 0.0184326171875, 0.0499267578125, 0.01776123046875, 0.01111602783203125, -0.00988006591796875, -0.035675048828125, -0.023773193359375, -0.005275726318359375, 0.0474853515625, 0.00534820556640625, -0.049530029296875, -0.0308074951171875, 0.00142669677734375, 0.045318603515625, -0.03448486328125, -0.0146026611328125, 0.017608642578125, -0.0137481689453125, 0.031005859375, 0.034637451171875, -0.0295562744140625, 0.01568603515625, -0.0006818771362304688, -0.06854248046875, -0.0251922607421875, 0.042266845703125, -0.1033935546875, -0.005268096923828125, -0.015228271484375, -0.006298065185546875, -0.00830841064453125, -0.0004146099090576172, 0.0016584396362304688, -0.0035800933837890625, -0.006206512451171875, -0.01381683349609375, 0.0206756591796875, 0.00823211669921875, -0.023895263671875, -0.0184783935546875, -0.0211181640625, -0.03289794921875, -0.039886474609375, -0.0277252197265625, -0.008544921875, -0.05029296875, 0.01629638671875, 0.00872039794921875, 0.042694091796875, -0.01403045654296875, -0.0047454833984375, -0.00910186767578125, 0.00821685791015625, 0.01226806640625, 0.060333251953125, -0.022003173828125, 0.0706787109375, -0.0071258544921875, 0.0185546875, -0.015167236328125, 0.0190582275390625, -0.0248565673828125, 0.01026153564453125, 0.0085296630859375, -0.004863739013671875, -0.01374053955078125, -0.03619384765625, 0.00942230224609375, -0.005260467529296875, 0.035736083984375, 0.0007877349853515625, 0.005115509033203125, -0.014190673828125, -0.0042724609375, -0.0166015625, 0.0159149169921875, -0.014404296875, 0.0255279541015625, -0.01073455810546875, -0.050994873046875, -0.004207611083984375, -0.0284423828125, -0.0029354095458984375, 0.0144500732421875, -0.02490234375, -0.0113677978515625, 0.055694580078125, -0.036041259765625, 0.026580810546875, 0.0709228515625, 0.052581787109375, 0.0673828125, 0.01983642578125, 0.0455322265625, -0.0180206298828125, 0.0131072998046875, -0.0263214111328125, 0.01078033447265625, 0.01428985595703125, -0.006145477294921875, -0.00295257568359375, -0.00849151611328125, -0.004848480224609375, -0.00279998779296875, 0.07318115234375, 0.0699462890625, -0.10955810546875, 0.01108551025390625, 0.028564453125, 0.0029354095458984375, -0.02587890625, 0.0040283203125, -0.005443572998046875, -0.033538818359375, 0.0618896484375, -0.0271148681640625, -0.0168304443359375, 0.0215301513671875, -0.013702392578125, 0.00685882568359375, 0.0107421875, 0.0660400390625, 0.01482391357421875, -0.00005644559860229492, -0.041961669921875, -0.0166778564453125, 0.0121002197265625, -0.0260162353515625, 0.0153961181640625, -0.020111083984375, -0.03424072265625, -0.1004638671875, -0.036834716796875, 0.01390838623046875, -0.015899658203125, 0.0540771484375, -0.00975799560546875, 0.0198516845703125, 0.0859375, -0.0305023193359375, 0.0261993408203125, 0.0155487060546875, 0.0369873046875, 0.0233154296875, -0.0092926025390625, 0.01404571533203125, -0.00397491455078125, -0.0819091796875, 0.003082275390625, -0.079345703125, 0.01898193359375, -0.010650634765625, -0.01435089111328125, 0.0391845703125, 0.030029296875, -0.035247802734375, 0.0079345703125, 0.0186004638671875, 0.0194091796875, -0.03143310546875, -0.01299285888671875, -0.09356689453125, -0.062164306640625, -0.024200439453125, -0.07501220703125, 0.0245361328125, -0.01233673095703125, -0.046112060546875, 0.053466796875, 0.01282501220703125, 0.0155487060546875, -0.010284423828125, 0.026153564453125, -0.00281524658203125, 0.0080413818359375, -0.005462646484375, 0.00640869140625, -0.009063720703125, 0.004154205322265625, -0.02691650390625, 0.004436492919921875, 0.0006093978881835938, 0.05084228515625, 0.03277587890625, 0.0086669921875, 0.025970458984375, -0.00188446044921875, 0.0056304931640625, -0.012603759765625, -0.036712646484375, 0.0263824462890625, -0.004947662353515625, -0.002323150634765625, -0.018646240234375, -0.0135345458984375, 0.030670166015625, -0.058197021484375, -0.00931549072265625, 0.006893157958984375, -0.00356292724609375, -0.0211944580078125, 0.01422882080078125, 0.05328369140625, -0.024169921875, -0.006763458251953125, 0.028961181640625, -0.06500244140625, -0.0142364501953125, 0.01468658447265625, -0.003322601318359375, -0.021240234375, 0.028228759765625, -0.0297393798828125, 0.0313720703125, -0.006481170654296875, -0.01934814453125, 0.0279388427734375, 0.01415252685546875, -0.02532958984375, -0.0299835205078125, -0.0149078369140625, 0.007686614990234375, -0.0082244873046875, 0.017669677734375, 0.0325927734375, 0.041015625, 0.00942230224609375, -0.01493072509765625, 0.01123809814453125, 0.02362060546875, -0.01885986328125, -0.057403564453125, 0.0098876953125, -0.0098419189453125, -0.018890380859375, 0.037689208984375, -0.0190582275390625, 0.003269195556640625, 0.054931640625, 0.0161895751953125, -0.01006317138671875, 0.00035500526428222656, 0.033447265625, 0.01012420654296875, 0.02325439453125, -0.016082763671875, 0.00116729736328125, -0.050872802734375, -0.0113677978515625, 0.0198822021484375, 0.07061767578125, 0.03326416015625, 0.0299835205078125, 0.0264129638671875, -0.0386962890625, -0.00394439697265625, 0.0367431640625, 0.033447265625, -0.0237274169921875, 0.00910186767578125, 0.0064849853515625, -0.01654052734375, -0.00807952880859375, 0.00762939453125, 0.0135345458984375, 0.042938232421875, 0.037506103515625, -0.0224456787109375, -0.016357421875, 0.0214996337890625, -0.01171112060546875, -0.027435302734375, -0.015167236328125, -0.0221710205078125, 0.00907135009765625, -0.0028095245361328125, -0.00847625732421875, 0.0665283203125, -0.0285491943359375, -0.004703521728515625, 0.01226806640625, -0.01204681396484375, -0.040557861328125, 0.032379150390625, -0.0283355712890625, 0.09307861328125, 0.0067901611328125, -0.0012178421020507812, 0.0104522705078125, -0.01303863525390625, -0.058319091796875, 0.00533294677734375, 0.0357666015625, 0.0002903938293457031, 0.01171875, -0.00518798828125, -0.03717041015625, -0.0015048980712890625, 0.0243072509765625, 0.0249481201171875, 0.0114898681640625, -0.005748748779296875, -0.0015439987182617188, -0.05999755859375, -0.046478271484375, -0.0172271728515625, 0.044525146484375, 0.0153656005859375, 0.0016584396362304688, 0.004070281982421875, 0.03924560546875, -0.0200347900390625, 0.007415771484375, -0.002063751220703125, -0.0115966796875, -0.005275726318359375, 0.04901123046875, 0.0236968994140625, -0.03240966796875, -0.048248291015625, -0.017364501953125, 0.018035888671875, -0.05859375, 0.0112457275390625, -0.03753662109375, 0.010467529296875, -0.0333251953125, 0.006603240966796875, -0.0182342529296875, -0.034820556640625, -0.0263671875, 0.006435394287109375, 0.0338134765625, 0.0280303955078125, -0.0220489501953125, -0.004016876220703125, -0.03155517578125, -0.043853759765625, 0.042266845703125, -0.0289306640625, 0.0330810546875, 0.0179443359375, -0.03424072265625, 0.00035953521728515625, 0.0030193328857421875, -0.01265716552734375, -0.012939453125, 0.03009033203125, 0.0008730888366699219, 0.00518798828125, 0.038055419921875, -0.027679443359375, -0.02044677734375, 0.01294708251953125, -0.0295562744140625, -0.00279998779296875, 0.0091400146484375, 0.006191253662109375, -0.021453857421875, -0.01392364501953125, -0.01186370849609375, -0.0173492431640625, -0.0012102127075195312, 0.0244903564453125, 0.0108795166015625, -0.038665771484375, -0.0033245086669921875, -0.020050048828125, 0.0174102783203125, -0.0303192138671875, 0.007568359375, -0.028228759765625, -0.0307464599609375, 0.028961181640625, -0.0306549072265625, -0.03411865234375, 0.01073455810546875, -0.004436492919921875, -0.032135009765625, -0.008209228515625, -0.052215576171875, -0.024200439453125, -0.02099609375, 0.00811767578125, 0.034637451171875, -0.0033092498779296875, -0.0254058837890625, -0.0015277862548828125, 0.0006051063537597656, 0.058013916015625, -0.01102447509765625, -0.0202178955078125, 0.035186767578125, 0.004119873046875, -0.04779052734375, -0.07196044921875, 0.01377105712890625, -0.06939697265625, 0.0171966552734375, -0.02557373046875, 0.0108184814453125, -0.0016317367553710938, -0.060821533203125, -0.127685546875, 0.03399658203125, -0.041473388671875, -0.03485107421875, -0.0218505859375, 0.047119140625, -0.006626129150390625, 0.002384185791015625, 0.00156402587890625, -0.02197265625, 0.01763916015625, -0.0061798095703125, 0.0227813720703125, 0.0170745849609375, -0.00537872314453125, 0.01142120361328125, -0.01837158203125, 0.0355224609375, 0.048736572265625, 0.01256561279296875, 0.02838134765625, -0.01904296875, 0.0024127960205078125, 0.0240631103515625, -0.0472412109375, -0.070556640625, -0.0256195068359375, -0.007965087890625, -0.0028018951416015625, -0.022308349609375, -0.00614166259765625, -0.05242919921875, 0.025665283203125, 0.003574371337890625, 0.0013780593872070312, 0.0236053466796875, 0.004241943359375, -0.0011529922485351562, -0.006633758544921875, -0.035675048828125, 0.0107269287109375, -0.0694580078125, -0.025848388671875, 0.005718231201171875, -0.00328826904296875, 0.01161956787109375, 0.0160980224609375, -0.00801849365234375, -0.01238250732421875, 0.0226898193359375, -0.023529052734375, -0.0374755859375, -0.05108642578125, 0.07574462890625, -0.038238525390625, -0.0235748291015625, 0.0279083251953125, 0.033416748046875, 0.0184783935546875, 0.044219970703125, 0.0004742145538330078, 0.01502227783203125, -0.00197601318359375, 0.016876220703125, 0.031341552734375, -0.0033588409423828125, 0.005565643310546875, -0.004894256591796875, -0.0274810791015625, 0.0216827392578125, 0.0193328857421875, 0.04620361328125, -0.0235595703125, 0.03765869140625, 0.04229736328125, -0.0118408203125, -0.0106353759765625, -0.05206298828125, -0.0455322265625, 0.0273590087890625, -0.037750244140625, 0.0010576248168945312, -0.004608154296875, -0.03369140625, 0.0253448486328125, -0.01137542724609375, -0.01049041748046875, -0.0198974609375, 0.00614166259765625, 0.01078033447265625, -0.021697998046875, 0.017852783203125 ]
1a7715ae0627f71dbf1ace6054dcc87040d05108
Wordpress Stackexchange Q: Get page ID of page that is set as the posts page In WordPress settings you can set a page as the Posts Page. This can be found: WP-Admin->Settings->Reading Settings->Front page displays How do I retrieve the page ID that is set in this setting? A: Use the page_for_posts option: <?php $page_for_posts = get_option( 'page_for_posts' ); ?> This will return the ID of the Page assigned to display the Blog Posts Index.
Q: Get page ID of page that is set as the posts page In WordPress settings you can set a page as the Posts Page. This can be found: WP-Admin->Settings->Reading Settings->Front page displays How do I retrieve the page ID that is set in this setting? A: Use the page_for_posts option: <?php $page_for_posts = get_option( 'page_for_posts' ); ?> This will return the ID of the Page assigned to display the Blog Posts Index.
wordpress
{ "language": "en", "length": 73, "provenance": "stackexchange_00019.jsonl.gz:414283", "question_score": "65", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32620" }
[ 0.030517578125, -0.0164947509765625, 0.04376220703125, 0.046539306640625, -0.01229095458984375, -0.021820068359375, 0.057952880859375, -0.0487060546875, -0.0103912353515625, -0.013702392578125, -0.05352783203125, 0.0187835693359375, -0.053314208984375, -0.014312744140625, 0.01751708984375, -0.061798095703125, 0.036376953125, -0.0312347412109375, 0.008209228515625, -0.0179443359375, 0.00006437301635742188, 0.003932952880859375, 0.0321044921875, 0.03802490234375, 0.054962158203125, -0.0200347900390625, -0.0190582275390625, -0.002819061279296875, 0.02630615234375, -0.0032901763916015625, 0.0235137939453125, -0.00626373291015625, 0.01910400390625, -0.02093505859375, 0.0242462158203125, 0.00615692138671875, 0.0018138885498046875, -0.002780914306640625, 0.03131103515625, -0.0119476318359375, 0.0212554931640625, -0.007366180419921875, 0.01812744140625, 0.03436279296875, -0.0086822509765625, -0.040985107421875, 0.019195556640625, -0.048187255859375, 0.0089874267578125, 0.0009465217590332031, -0.006259918212890625, 0.02191162109375, -0.0015411376953125, 0.034454345703125, -0.0139617919921875, -0.0330810546875, 0.0697021484375, -0.0204620361328125, 0.04364013671875, -0.04559326171875, -0.06512451171875, 0.003437042236328125, 0.042572021484375, -0.0206756591796875, -0.01934814453125, -0.0181884765625, -0.0299530029296875, 0.02862548828125, -0.026885986328125, -0.01314544677734375, 0.0231781005859375, -0.018524169921875, -0.0033283233642578125, -0.025726318359375, -0.0230255126953125, -0.0025844573974609375, 0.021331787109375, -0.0194549560546875, 0.0026531219482421875, 0.00787353515625, -0.004669189453125, -0.013397216796875, -0.056488037109375, 0.01198577880859375, -0.027252197265625, 0.0017566680908203125, -0.01214599609375, -0.0063018798828125, -0.0182647705078125, -0.019439697265625, -0.0235137939453125, 0.01491546630859375, -0.007534027099609375, -0.0297698974609375, -0.0474853515625, -0.023193359375, 0.016571044921875, 0.07037353515625, -0.034759521484375, 0.007266998291015625, -0.0096282958984375, -0.03424072265625, 0.0310821533203125, -0.0511474609375, -0.010833740234375, 0.0220184326171875, 0.0341796875, 0.0296630859375, 0.0167694091796875, 0.01265716552734375, -0.0225982666015625, 0.006397247314453125, 0.006183624267578125, 0.00641632080078125, -0.040985107421875, -0.0030269622802734375, -0.0279541015625, -0.0195770263671875, -0.0162200927734375, -0.017578125, 0.018646240234375, 0.053009033203125, -0.0130615234375, -0.0258941650390625, 0.00286865234375, 0.013763427734375, -0.0018262863159179688, -0.041351318359375, 0.00878143310546875, 0.0265045166015625, -0.036407470703125, -0.00974273681640625, 0.057647705078125, 0.019805908203125, 0.0120849609375, -0.0264129638671875, 0.0028514862060546875, -0.0280914306640625, -0.0263214111328125, 0.032135009765625, -0.016571044921875, -0.049163818359375, 0.01025390625, -0.0308074951171875, -0.0238037109375, 0.0247955322265625, 0.00823211669921875, 0.0233001708984375, -0.0172271728515625, -0.0423583984375, -0.0102691650390625, -0.01306915283203125, -0.018524169921875, 0.026397705078125, 0.07159423828125, -0.0191650390625, 0.0404052734375, -0.019866943359375, 0.0295257568359375, -0.00812530517578125, 0.03363037109375, 0.025543212890625, 0.027313232421875, 0.0125274658203125, -0.008453369140625, -0.041839599609375, -0.040863037109375, -0.01483917236328125, 0.01373291015625, 0.051727294921875, 0.0187225341796875, -0.00399017333984375, -0.0391845703125, 0.00017547607421875, -0.00844573974609375, -0.01099395751953125, 0.006038665771484375, -0.0287017822265625, 0.01383209228515625, 0.05126953125, -0.01140594482421875, -0.028778076171875, -0.0237274169921875, 0.01837158203125, -0.0229034423828125, 0.0316162109375, 0.0272369384765625, 0.06854248046875, -0.0280303955078125, 0.035003662109375, 0.0021724700927734375, 0.0183563232421875, -0.0711669921875, 0.0248260498046875, 0.015899658203125, 0.002529144287109375, -0.034271240234375, -0.00363922119140625, -0.00556182861328125, -0.03863525390625, 0.01218414306640625, -0.0134429931640625, -0.0002815723419189453, 0.04644775390625, -0.00528717041015625, -0.00791168212890625, 0.0009660720825195312, -0.0004870891571044922, 0.06396484375, 0.011688232421875, -0.0107269287109375, -0.00565338134765625, 0.0120391845703125, -0.06915283203125, -0.081298828125, 0.050445556640625, -0.021331787109375, -0.0322265625, -0.032958984375, -0.01174163818359375, -0.05218505859375, -0.002597808837890625, -0.069091796875, 0.014007568359375, 0.0699462890625, -0.0167083740234375, -0.01143646240234375, -0.05426025390625, 0.053802490234375, 0.0014333724975585938, -0.049041748046875, 0.036285400390625, 0.01233673095703125, 0.028717041015625, -0.00795745849609375, 0.001953125, 0.01448822021484375, -0.054473876953125, 0.018798828125, 0.03460693359375, 0.038909912109375, 0.0178070068359375, 0.00621795654296875, -0.0192413330078125, 0.029327392578125, -0.041229248046875, 0.01097869873046875, -0.014434814453125, 0.02825927734375, 0.073486328125, -0.0211029052734375, 0.01062774658203125, 0.00746917724609375, -0.034820556640625, -0.00579071044921875, 0.0478515625, -0.0258941650390625, 0.0156097412109375, 0.0225982666015625, -0.00897979736328125, -0.013336181640625, 0.005229949951171875, 0.015655517578125, -0.02093505859375, 0.04754638671875, 0.03582763671875, 0.046173095703125, 0.04229736328125, -0.042999267578125, 0.0208892822265625, 0.00489044189453125, 0.0006999969482421875, -0.0091705322265625, 0.027252197265625, 0.0419921875, -0.030181884765625, -0.013885498046875, -0.0189971923828125, -0.002628326416015625, 0.0046539306640625, -0.01102447509765625, 0.029632568359375, -0.01471710205078125, -0.0114593505859375, 0.003864288330078125, -0.07611083984375, -0.016265869140625, 0.0169219970703125, 0.01200103759765625, -0.0003972053527832031, 0.0062255859375, 0.035919189453125, -0.04815673828125, 0.07049560546875, -0.018402099609375, -0.021881103515625, 0.01302337646484375, -0.08251953125, 0.059112548828125, -0.032684326171875, 0.0467529296875, 0.08941650390625, -0.005779266357421875, 0.028106689453125, 0.017303466796875, 0.002025604248046875, 0.04296875, 0.004547119140625, 0.01291656494140625, 0.00833892822265625, -0.03363037109375, 0.01100921630859375, 0.002834320068359375, 0.0477294921875, -0.043212890625, -0.049407958984375, -0.0180206298828125, -0.004558563232421875, -0.11700439453125, -0.10186767578125, 0.01309967041015625, -0.07281494140625, -0.0181121826171875, -0.046112060546875, -0.04541015625, 0.005802154541015625, -0.0092620849609375, -0.01021575927734375, 0.0092926025390625, -0.01068115234375, -0.0548095703125, -0.0233917236328125, -0.08514404296875, -0.003826141357421875, -0.0182647705078125, 0.0163726806640625, 0.004058837890625, 0.018463134765625, -0.004604339599609375, -0.0604248046875, -0.00859832763671875, 0.0264739990234375, -0.0259857177734375, -0.030670166015625, -0.00824737548828125, -0.004108428955078125, -0.00775146484375, 0.0195770263671875, -0.003833770751953125, 0.0017852783203125, 0.004657745361328125, -0.00522613525390625, -0.058349609375, -0.004657745361328125, -0.0209197998046875, 0.01227569580078125, 0.069091796875, 0.00421142578125, 0.01259613037109375, -0.0295257568359375, -0.019378662109375, -0.0210723876953125, -0.063232421875, -0.01442718505859375, 0.033355712890625, 0.0178985595703125, -0.01369476318359375, -0.0126953125, 0.00817108154296875, -0.0222625732421875, 0.035400390625, -0.0361328125, 0.029876708984375, -0.0023193359375, 0.021636962890625, -0.0250091552734375, -0.004093170166015625, -0.01531219482421875, 0.020172119140625, -0.009796142578125, 0.0157012939453125, -0.00197601318359375, 0.0037288665771484375, -0.035369873046875, -0.057769775390625, 0.040863037109375, -0.0187835693359375, -0.00273895263671875, -0.0197296142578125, -0.03082275390625, 0.01493072509765625, 0.0936279296875, -0.029022216796875, -0.0007195472717285156, -0.0135955810546875, 0.00661468505859375, -0.037200927734375, -0.0572509765625, -0.056365966796875, -0.00312042236328125, -0.0511474609375, -0.00820159912109375, -0.013885498046875, -0.03338623046875, -0.00905609130859375, 0.0364990234375, -0.022674560546875, -0.0115509033203125, 0.035919189453125, -0.005794525146484375, -0.00860595703125, 0.047821044921875, -0.0143280029296875, 0.0279388427734375, -0.041107177734375, 0.0175933837890625, -0.05267333984375, -0.0228729248046875, 0.05523681640625, 0.005764007568359375, -0.005908966064453125, -0.0654296875, 0.0171661376953125, 0.04510498046875, 0.01995849609375, 0.007511138916015625, 0.027099609375, 0.006992340087890625, 0.005916595458984375, -0.043548583984375, 0.0033092498779296875, -0.060272216796875, -0.0008149147033691406, -0.0031795501708984375, -0.036468505859375, 0.02197265625, -0.017974853515625, 0.00885009765625, 0.018310546875, -0.018951416015625, -0.0643310546875, -0.01020050048828125, 0.00716400146484375, 0.01418304443359375, 0.0005927085876464844, -0.01348876953125, -0.0240631103515625, -0.06707763671875, 0.061798095703125, 0.0079345703125, -0.0117034912109375, -0.0120391845703125, 0.086181640625, 0.021026611328125, -0.02862548828125, -0.01372528076171875, -0.00855255126953125, 0.046295166015625, 0.0213165283203125, 0.056915283203125, 0.037322998046875, -0.0263671875, 0.052490234375, 0.04388427734375, -0.056915283203125, -0.0009860992431640625, 0.057891845703125, -0.005527496337890625, -0.0109710693359375, -0.01279449462890625, -0.06475830078125, 0.0704345703125, 0.0159912109375, -0.035919189453125, -0.0025424957275390625, -0.002750396728515625, 0.0323486328125, -0.053375244140625, 0.06365966796875, -0.0126495361328125, -0.0222320556640625, 0.0131072998046875, 0.0157012939453125, 0.029144287109375, 0.0161285400390625, 0.009552001953125, 0.006755828857421875, 0.0146026611328125, -0.0079345703125, 0.056121826171875, 0.028900146484375, 0.05157470703125, 0.019775390625, 0.03369140625, -0.002956390380859375, -0.012420654296875, -0.0032958984375, 0.035980224609375, -0.035308837890625, -0.06500244140625, 0.01090240478515625, -0.0108642578125, -0.0004642009735107422, 0.06707763671875, -0.0130462646484375, 0.03375244140625, 0.037567138671875, -0.032745361328125, -0.0246429443359375, -0.0005125999450683594, -0.044281005859375, -0.04730224609375, -0.0050811767578125, 0.01377105712890625, 0.0010938644409179688, 0.0270843505859375, 0.08868408203125, 0.0018711090087890625, 0.058319091796875, -0.03851318359375, 0.036285400390625, 0.01739501953125, 0.033172607421875, -0.004245758056640625, 0.00676727294921875, 0.003391265869140625, 0.00716400146484375, -0.0020656585693359375, -0.0313720703125, -0.01506805419921875, 0.033538818359375, 0.0274810791015625, 0.01084136962890625, -0.004215240478515625, 0.0009531974792480469, 0.0020503997802734375, -0.0157928466796875, 0.051971435546875, -0.0167083740234375, -0.058837890625, -0.044891357421875, -0.003643035888671875, 0.040252685546875, -0.01983642578125, 0.00839996337890625, 0.01345062255859375, 0.0016508102416992188, 0.01465606689453125, -0.0187530517578125, -0.016357421875, -0.0111541748046875, 0.0007205009460449219, -0.04150390625, -0.01641845703125, 0.007236480712890625, -0.0478515625, -0.0186309814453125, -0.00855255126953125, -0.02166748046875, 0.03289794921875, -0.0211029052734375, 0.06494140625, -0.02288818359375, -0.03289794921875, 0.00762939453125, 0.006805419921875, 0.05450439453125, 0.037109375, -0.060760498046875, 0.005588531494140625, -0.049591064453125, -0.006130218505859375, 0.0131988525390625, -0.0237274169921875, -0.045654296875, -0.0181732177734375, 0.0019989013671875, 0.0279388427734375, -0.01531982421875, -0.00658416748046875, -0.03485107421875, 0.01067352294921875, 0.0167236328125, 0.057464599609375, 0.005596160888671875, 0.046173095703125, -0.0156402587890625, 0.038543701171875, 0.0084075927734375, 0.012451171875, -0.0305023193359375, -0.0230712890625, 0.0076141357421875, 0.003986358642578125, -0.0152740478515625, 0.0031719207763671875, 0.00482177734375, -0.0273590087890625, 0.017425537109375, -0.0026397705078125, 0.00835418701171875, -0.00695037841796875, 0.01009368896484375, -0.0245819091796875, -0.0220184326171875, -0.016143798828125, -0.0283966064453125, 0.032135009765625, -0.00945281982421875, -0.01212310791015625, -0.000029981136322021484, 0.025390625, -0.0257110595703125, -0.00942230224609375, -0.0163726806640625, -0.005207061767578125, -0.0609130859375, 0.06060791015625, 0.0986328125, 0.037078857421875, 0.0535888671875, 0.0038204193115234375, 0.00360107421875, 0.01546478271484375, 0.0285797119140625, -0.07806396484375, -0.0171661376953125, 0.045074462890625, 0.0312347412109375, -0.0244903564453125, 0.049407958984375, -0.0164337158203125, 0.0012540817260742188, 0.0267486572265625, 0.047760009765625, -0.06329345703125, 0.022857666015625, 0.0140533447265625, 0.005260467529296875, 0.0278778076171875, -0.0023212432861328125, -0.0034961700439453125, -0.003910064697265625, 0.0428466796875, -0.0335693359375, 0.00400543212890625, 0.01555633544921875, -0.0259857177734375, -0.01099395751953125, -0.047027587890625, 0.051971435546875, 0.020050048828125, 0.006763458251953125, 0.0087127685546875, -0.00750732421875, -0.003673553466796875, -0.031494140625, 0.0096893310546875, -0.00188446044921875, -0.01319122314453125, -0.050384521484375, 0.0243072509765625, -0.00818634033203125, 0.014068603515625, 0.03131103515625, -0.00441741943359375, -0.004116058349609375, 0.03399658203125, -0.020599365234375, 0.02252197265625, -0.0091400146484375, -0.0233612060546875, -0.014984130859375, -0.01529693603515625, 0.037261962890625, 0.0189666748046875, -0.0286865234375, 0.023162841796875, -0.01410675048828125, -0.037628173828125, -0.035003662109375, -0.0268402099609375, 0.10150146484375, -0.050994873046875, -0.0021800994873046875, 0.018768310546875, 0.050323486328125, -0.018096923828125, -0.0205078125, -0.006866455078125, -0.01064300537109375, 0.048583984375, -0.0267791748046875, 0.0267791748046875, -0.0061492919921875, -0.0396728515625, -0.06646728515625, 0.08648681640625, -0.026031494140625, 0.015167236328125, 0.008544921875, 0.034881591796875, -0.0186767578125, 0.003833770751953125, -0.03887939453125, 0.04681396484375, -0.01556396484375, 0.06976318359375, -0.06060791015625, -0.018463134765625, 0.012939453125, 0.04766845703125, 0.0762939453125, 0.01142120361328125, -0.02459716796875, -0.0096588134765625, 0.03656005859375, 0.04541015625, -0.009185791015625, 0.0268096923828125, -0.010406494140625, 0.02734375, 0.0278778076171875, -0.076171875, 0.01433563232421875, -0.0335693359375, 0.00038313865661621094, 0.0072479248046875, 0.0127410888671875, 0.009521484375, 0.0250091552734375, -0.0191650390625, -0.04388427734375, 0.01416015625, 0.0282745361328125, -0.0421142578125, 0.00644683837890625, 0.0548095703125, 0.06817626953125, -0.05633544921875, -0.03204345703125, -0.021728515625, 0.055877685546875, 0.0083770751953125, 0.00390625, 0.0296630859375, 0.01806640625, 0.0313720703125, 0.0097198486328125, 0.0028438568115234375, 0.0293426513671875, 0.00853729248046875, 0.06622314453125, 0.0460205078125, 0.025970458984375, -0.03515625, -0.01096343994140625, 0.01763916015625, 0.0601806640625, -0.048919677734375, -0.03289794921875, 0.0167236328125, -0.02008056640625, 0.00449371337890625, -0.0192718505859375, -0.000514984130859375, 0.01094818115234375, 0.0153656005859375, -0.038665771484375, -0.00614166259765625, 0.034698486328125, 0.041778564453125, 0.0037860870361328125, -0.00555419921875, -0.0499267578125, -0.0168609619140625, -0.034088134765625, 0.001613616943359375, 0.005558013916015625, 0.0190277099609375, 0.0164337158203125, 0.02313232421875, 0.0011768341064453125, 0.0032444000244140625, -0.0008287429809570312, 0.0307159423828125, 0.01285552978515625, 0.01338958740234375, -0.040191650390625, -0.042266845703125, 0.01413726806640625, 0.03594970703125, 0.0206756591796875, -0.00952911376953125, 0.033935546875, 0.034271240234375, -0.019622802734375, -0.0123748779296875, 0.021087646484375, -0.01329803466796875, 0.0428466796875, -0.01183319091796875, -0.0023040771484375, -0.01398468017578125, -0.0312347412109375, -0.018951416015625, 0.0199127197265625, 0.02459716796875, 0.0057830810546875, 0.042236328125, 0.0119171142578125, 0.01617431640625, 0.035980224609375, 0.01910400390625, 0.0079803466796875, 0.026275634765625, -0.09814453125, -0.005001068115234375, -0.05621337890625, -0.043914794921875, 0.036102294921875, 0.031829833984375, -0.0159912109375, 0.005626678466796875, -0.01247406005859375, 0.01332855224609375, 0.024322509765625, -0.03875732421875, 0.0203094482421875, 0.053131103515625, 0.0156402587890625, 0.0298614501953125, -0.047943115234375, -0.036346435546875, -0.0110015869140625, 0.018798828125, 0.023162841796875, 0.015625, 0.0235443115234375, 0.01462554931640625, -0.00975799560546875, 0.025299072265625, -0.0408935546875, -0.0282440185546875, 0.0540771484375, -0.00601959228515625, 0.0084686279296875, -0.01273345947265625, -0.052642822265625, 0.06353759765625, 0.0176849365234375, 0.020751953125, 0.05865478515625, -0.04412841796875, 0.00452423095703125, -0.0170440673828125, 0.0218658447265625, -0.0167694091796875, -0.00920867919921875, -0.0092315673828125, 0.003742218017578125, 0.0275115966796875, 0.01277923583984375, -0.03729248046875, 0.0157012939453125, -0.0096893310546875, -0.039154052734375, 0.034515380859375, -0.0288543701171875, 0.052825927734375, 0.03131103515625, -0.02471923828125, -0.023101806640625, -0.0025424957275390625, -0.00920867919921875, 0.004955291748046875, 0.0145263671875, 0.00569915771484375, 0.0142059326171875, 0.0116729736328125, 0.0193328857421875, -0.026580810546875, 0.02362060546875, -0.0211029052734375, -0.00525665283203125, -0.00580596923828125, 0.0180511474609375, -0.0145111083984375, -0.036865234375, -0.0170135498046875, -0.0258636474609375, -0.0037078857421875, 0.025848388671875, -0.01514434814453125, -0.01071929931640625, -0.0477294921875, -0.0210723876953125, 0.0127716064453125, -0.00980377197265625, -0.0172576904296875, 0.026275634765625, -0.029754638671875, 0.00037384033203125, -0.0341796875, 0.00759124755859375, -0.007556915283203125, 0.0215606689453125, -0.0380859375, 0.034027099609375, -0.0294189453125, -0.032958984375, 0.0046234130859375, 0.02252197265625, 0.041595458984375, -0.04302978515625, -0.0230712890625, 0.039215087890625, 0.0313720703125, 0.07855224609375, -0.002811431884765625, -0.01369476318359375, 0.01715087890625, 0.01456451416015625, -0.01849365234375, -0.08990478515625, 0.0068817138671875, -0.0706787109375, 0.0160369873046875, -0.0182037353515625, 0.0029392242431640625, 0.018585205078125, -0.020843505859375, -0.027435302734375, 0.03790283203125, -0.01332855224609375, -0.022613525390625, -0.00942230224609375, 0.0037631988525390625, -0.004314422607421875, -0.0077667236328125, 0.01293182373046875, -0.025604248046875, -0.0005102157592773438, 0.0206451416015625, 0.01488494873046875, 0.04443359375, 0.014678955078125, 0.0097503662109375, -0.038299560546875, -0.005115509033203125, -0.03143310546875, 0.0198822021484375, 0.040863037109375, -0.02862548828125, 0.01300811767578125, 0.0295257568359375, -0.07330322265625, -0.0306854248046875, -0.053375244140625, 0.033721923828125, -0.00815582275390625, -0.0028533935546875, -0.017120361328125, -0.01074981689453125, 0.041595458984375, 0.044647216796875, 0.0190582275390625, -0.01788330078125, -0.017791748046875, -0.0509033203125, -0.06402587890625, -0.0055999755859375, 0.04107666015625, -0.06402587890625, 0.035858154296875, 0.01129913330078125, -0.0255889892578125, -0.00557708740234375, -0.01343536376953125, -0.049560546875, 0.0022907257080078125, -0.02423095703125, -0.01029205322265625, -0.0174407958984375, 0.006252288818359375, 0.051422119140625, -0.036590576171875, -0.0014276504516601562, -0.0088348388671875, 0.0176849365234375, 0.02093505859375, -0.027740478515625, 0.0129852294921875, 0.0299224853515625, -0.0120391845703125, -0.0011167526245117188, 0.02886962890625, 0.00910186767578125, -0.00891876220703125, 0.0006127357482910156, 0.0124053955078125, 0.02764892578125, -0.01349639892578125, 0.01763916015625, 0.01337432861328125, 0.03497314453125, -0.02642822265625, 0.05535888671875, 0.01477813720703125, 0.07415771484375, 0.0277862548828125, 0.04296875, -0.035552978515625, -0.019073486328125, -0.0287628173828125, -0.046783447265625, -0.0172882080078125, -0.01103973388671875, -0.0114593505859375, -0.0440673828125, 0.02557373046875, 0.003009796142578125, 0.00246429443359375, 0.0239410400390625 ]
90df139a84870a67c387ebfef2b4effdda026d49
Wordpress Stackexchange Q: Sanitatizing when using the posts_where hook I am altering the WordPress query, using the posts_where hook, when a (custom) query variable is set as follows: add_filter('posts_where', 'my_posts_where' ); function my_posts_where( $where ){ global $wp_query; if( isset( $wp_query->query_vars['customvar'] )) { $custom_Var = $wp_query->query_vars['customvar']; $where .= " AND wp_MyTable.Column ='".$custom_Var."' "; } return $where; } This works well, but I want to sanitize it. In particular, I've tried using $wpdb->prepare() method: $where .= $wpdb->prepare(" AND wp_MyTable.Column = %s", $custom_Var); But this doesn't work (I just get a blank page). Why is this and is there another / better way of sanitizing the variable? A: Your last prepare() snippet should work just fine, check that you have $wpdb declared as global in your function. Also blank page seems extreme, enable WP_DEBUG if not yet and see if there are any specific errors that cause it.
Q: Sanitatizing when using the posts_where hook I am altering the WordPress query, using the posts_where hook, when a (custom) query variable is set as follows: add_filter('posts_where', 'my_posts_where' ); function my_posts_where( $where ){ global $wp_query; if( isset( $wp_query->query_vars['customvar'] )) { $custom_Var = $wp_query->query_vars['customvar']; $where .= " AND wp_MyTable.Column ='".$custom_Var."' "; } return $where; } This works well, but I want to sanitize it. In particular, I've tried using $wpdb->prepare() method: $where .= $wpdb->prepare(" AND wp_MyTable.Column = %s", $custom_Var); But this doesn't work (I just get a blank page). Why is this and is there another / better way of sanitizing the variable? A: Your last prepare() snippet should work just fine, check that you have $wpdb declared as global in your function. Also blank page seems extreme, enable WP_DEBUG if not yet and see if there are any specific errors that cause it.
wordpress
{ "language": "en", "length": 143, "provenance": "stackexchange_00019.jsonl.gz:414289", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32645" }
[ 0.07867431640625, 0.03082275390625, 0.0082244873046875, -0.044281005859375, 0.051300048828125, -0.028839111328125, 0.032867431640625, -0.04229736328125, 0.020477294921875, 0.0242767333984375, -0.03936767578125, -0.00437164306640625, -0.007152557373046875, -0.004161834716796875, -0.0263519287109375, -0.028167724609375, 0.037353515625, -0.041656494140625, 0.00028967857360839844, -0.02410888671875, 0.006992340087890625, -0.010406494140625, 0.05499267578125, -0.00693511962890625, 0.03466796875, -0.01178741455078125, 0.09698486328125, -0.0201263427734375, 0.02752685546875, -0.0076446533203125, 0.0411376953125, -0.037506103515625, 0.0169830322265625, 0.0287322998046875, -0.03851318359375, 0.005886077880859375, 0.00559234619140625, 0.0023899078369140625, -0.003833770751953125, 0.037017822265625, 0.032623291015625, -0.0283050537109375, -0.020599365234375, 0.00789642333984375, -0.0160064697265625, -0.0259857177734375, 0.0452880859375, -0.004192352294921875, 0.0129852294921875, -0.0256195068359375, -0.0002315044403076172, 0.027862548828125, 0.028106689453125, -0.034393310546875, -0.016021728515625, -0.00015544891357421875, -0.00485992431640625, -0.031707763671875, 0.016326904296875, 0.0301971435546875, 0.0093536376953125, -0.004917144775390625, -0.0030994415283203125, -0.02911376953125, 0.034912109375, 0.005809783935546875, 0.0379638671875, 0.0172119140625, -0.050323486328125, 0.003238677978515625, 0.039398193359375, -0.0226593017578125, -0.0192718505859375, 0.0025615692138671875, -0.02294921875, -0.018218994140625, 0.02154541015625, -0.0162811279296875, 0.005794525146484375, 0.032684326171875, -0.025665283203125, -0.04595947265625, -0.05535888671875, 0.009033203125, -0.0235137939453125, 0.0035247802734375, -0.0176849365234375, 0.015899658203125, -0.0291748046875, -0.007843017578125, -0.0302734375, -0.031707763671875, -0.01007843017578125, -0.01348876953125, -0.0060577392578125, -0.01580810546875, 0.010711669921875, 0.04364013671875, -0.0007257461547851562, 0.020355224609375, 0.01464080810546875, -0.040618896484375, 0.0179290771484375, -0.04046630859375, 0.02069091796875, 0.0177154541015625, 0.0107421875, 0.0369873046875, 0.0535888671875, 0.025421142578125, 0.004116058349609375, 0.005382537841796875, -0.0548095703125, -0.005828857421875, -0.06158447265625, 0.023468017578125, -0.038909912109375, -0.06549072265625, 0.0012760162353515625, -0.051727294921875, 0.0184173583984375, 0.01264190673828125, -0.0157012939453125, 0.021087646484375, -0.0134735107421875, -0.033203125, -0.0206298828125, 0.0146942138671875, -0.0225067138671875, 0.09747314453125, -0.03448486328125, -0.027099609375, 0.039886474609375, 0.033111572265625, -0.005916595458984375, -0.0523681640625, 0.040252685546875, -0.033905029296875, 0.00449371337890625, 0.021484375, -0.0260467529296875, -0.028839111328125, -0.0137481689453125, -0.0254974365234375, 0.002780914306640625, 0.008514404296875, 0.025543212890625, 0.009490966796875, -0.0253448486328125, -0.005672454833984375, -0.0052947998046875, 0.0056915283203125, 0.036590576171875, 0.00470733642578125, -0.046844482421875, 0.0111541748046875, 0.0121307373046875, -0.0221405029296875, -0.04205322265625, -0.034515380859375, 0.042449951171875, 0.00021195411682128906, -0.00800323486328125, -0.027130126953125, -0.036163330078125, -0.0245361328125, -0.034881591796875, 0.002582550048828125, 0.0019989013671875, 0.0180206298828125, 0.0268707275390625, 0.01329803466796875, -0.0226593017578125, 0.0059967041015625, 0.0142364501953125, -0.01235198974609375, -0.05181884765625, 0.0005631446838378906, 0.052154541015625, -0.01064300537109375, 0.0035305023193359375, -0.0107879638671875, 0.039764404296875, 0.019500732421875, -0.052398681640625, 0.02490234375, 0.0128631591796875, 0.0254974365234375, 0.01435089111328125, -0.003910064697265625, 0.05615234375, 0.025421142578125, -0.049835205078125, 0.0265655517578125, 0.0088958740234375, -0.04986572265625, 0.01210784912109375, -0.048828125, 0.020111083984375, 0.04144287109375, 0.043365478515625, -0.00437164306640625, 0.0217132568359375, -0.0270538330078125, -0.0823974609375, 0.0178070068359375, -0.03643798828125, 0.04010009765625, -0.053009033203125, 0.0193939208984375, 0.04815673828125, 0.02392578125, -0.055999755859375, -0.004680633544921875, 0.0036773681640625, -0.0027675628662109375, -0.006198883056640625, 0.060882568359375, 0.0107879638671875, 0.035552978515625, 0.0418701171875, -0.0654296875, 0.025634765625, 0.01265716552734375, 0.040069580078125, -0.020751953125, -0.0092010498046875, -0.0142364501953125, 0.0121612548828125, 0.0033969879150390625, -0.03057861328125, 0.0169830322265625, 0.050201416015625, 0.05853271484375, -0.002216339111328125, 0.0019893646240234375, 0.007171630859375, -0.04742431640625, -0.0029850006103515625, 0.0360107421875, 0.033050537109375, 0.044708251953125, -0.030029296875, -0.040130615234375, 0.0496826171875, -0.038818359375, 0.002857208251953125, -0.020355224609375, 0.0321044921875, 0.0408935546875, -0.01233673095703125, -0.041351318359375, 0.0141754150390625, -0.04840087890625, 0.006622314453125, 0.01023101806640625, -0.0273284912109375, 0.0178070068359375, -0.002506256103515625, 0.0135955810546875, -0.02349853515625, 0.00913238525390625, 0.03192138671875, -0.00841522216796875, 0.03253173828125, -0.032196044921875, 0.0190887451171875, 0.0023746490478515625, -0.0013685226440429688, -0.037109375, 0.0157318115234375, -0.0439453125, -0.00965118408203125, -0.02606201171875, -0.043609619140625, -0.0032825469970703125, -0.050323486328125, 0.03851318359375, 0.03369140625, -0.0211334228515625, -0.006561279296875, 0.030487060546875, -0.04547119140625, -0.021575927734375, -0.006877899169921875, -0.0175933837890625, -0.005035400390625, 0.0008244514465332031, -0.0011625289916992188, -0.0416259765625, -0.0008974075317382812, 0.0172576904296875, -0.0484619140625, 0.08697509765625, -0.036468505859375, -0.036041259765625, 0.045135498046875, -0.0223236083984375, 0.03057861328125, -0.0171661376953125, 0.035552978515625, 0.0679931640625, 0.014678955078125, -0.003314971923828125, -0.001255035400390625, 0.022003173828125, 0.01849365234375, 0.0015106201171875, 0.00574493408203125, -0.012115478515625, -0.02728271484375, -0.007556915283203125, 0.017425537109375, 0.0255584716796875, -0.0236358642578125, -0.035247802734375, -0.012908935546875, 0.0012521743774414062, -0.05499267578125, -0.04534912109375, 0.0065765380859375, 0.0006647109985351562, -0.008514404296875, -0.0088348388671875, 0.0178985595703125, 0.004314422607421875, -0.0457763671875, -0.00919342041015625, 0.0260162353515625, -0.0022487640380859375, -0.07025146484375, -0.0173797607421875, -0.06329345703125, 0.01174163818359375, -0.00266265869140625, 0.0167999267578125, -0.00940704345703125, 0.08087158203125, -0.004199981689453125, -0.040130615234375, -0.019989013671875, -0.0303192138671875, 0.003116607666015625, -0.0081939697265625, 0.010406494140625, -0.004772186279296875, 0.01629638671875, -0.016357421875, 0.048797607421875, 0.057403564453125, -0.0416259765625, -0.0005755424499511719, 0.0281219482421875, 0.004779815673828125, 0.04217529296875, 0.0176849365234375, -0.0284423828125, 0.0031986236572265625, 0.037384033203125, -0.040863037109375, -0.027252197265625, -0.0049285888671875, -0.02813720703125, -0.006336212158203125, -0.0130157470703125, -0.000263214111328125, -0.0122833251953125, 0.04150390625, 0.043365478515625, 0.013092041015625, 0.007488250732421875, -0.0008935928344726562, 0.01229095458984375, 0.0143280029296875, 0.05029296875, -0.030548095703125, -0.0269317626953125, -0.024383544921875, 0.0008091926574707031, -0.0091705322265625, 0.04229736328125, 0.0228729248046875, 0.0175323486328125, 0.0012483596801757812, 0.0019330978393554688, 0.035858154296875, 0.0285491943359375, 0.045989990234375, 0.004329681396484375, -0.04510498046875, -0.001811981201171875, 0.06005859375, -0.04443359375, -0.0022792816162109375, -0.0168304443359375, 0.00948333740234375, -0.0213470458984375, -0.058685302734375, -0.0199127197265625, -0.01261138916015625, -0.080078125, 0.0131683349609375, -0.0225677490234375, -0.033172607421875, -0.00861358642578125, 0.01175689697265625, -0.04620361328125, -0.0491943359375, 0.023345947265625, -0.041168212890625, -0.005401611328125, 0.0221710205078125, -0.04937744140625, 0.0048065185546875, -0.028656005859375, -0.0232696533203125, -0.114990234375, -0.0292205810546875, 0.015167236328125, 0.09429931640625, 0.0017404556274414062, -0.016815185546875, -0.0255889892578125, 0.05792236328125, 0.0270843505859375, -0.035400390625, 0.030548095703125, -0.00402069091796875, 0.0122833251953125, -0.0167083740234375, 0.0028095245361328125, -0.0310821533203125, -0.0308685302734375, -0.0242462158203125, 0.020538330078125, 0.006641387939453125, -0.0195465087890625, -0.00655364990234375, -0.0161285400390625, 0.0020465850830078125, -0.00774383544921875, -0.00885772705078125, -0.0015115737915039062, 0.040130615234375, -0.027374267578125, -0.0002180337905883789, -0.0134124755859375, -0.013824462890625, 0.058258056640625, 0.00455474853515625, -0.011962890625, -0.0109710693359375, 0.0592041015625, 0.0113525390625, -0.03692626953125, -0.03369140625, -0.059356689453125, 0.0133209228515625, -0.004543304443359375, 0.034027099609375, 0.015411376953125, -0.01885986328125, 0.02691650390625, -0.0031719207763671875, 0.00304412841796875, -0.0268402099609375, 0.0318603515625, 0.0033283233642578125, 0.0173187255859375, -0.0067596435546875, -0.0030307769775390625, 0.0276947021484375, 0.04620361328125, -0.01617431640625, -0.0100250244140625, -0.00027942657470703125, 0.03125, -0.033233642578125, 0.0211944580078125, -0.0218963623046875, -0.007598876953125, 0.0110015869140625, -0.0186767578125, 0.020050048828125, -0.00670623779296875, 0.007656097412109375, -0.01971435546875, 0.007843017578125, 0.0281219482421875, -0.00949859619140625, 0.040252685546875, -0.034210205078125, 0.0711669921875, -0.034423828125, 0.00836181640625, -0.0173797607421875, -0.00458526611328125, 0.0222625732421875, -0.00403594970703125, -0.03302001953125, 0.01407623291015625, -0.01396942138671875, 0.005382537841796875, 0.0171966552734375, -0.0012054443359375, 0.0158233642578125, -0.002208709716796875, 0.006450653076171875, 0.0218505859375, -0.005268096923828125, -0.0004432201385498047, -0.01036834716796875, 0.04522705078125, 0.011627197265625, -0.01096343994140625, -0.004634857177734375, 0.0347900390625, 0.0116729736328125, 0.004856109619140625, -0.01316070556640625, -0.01413726806640625, 0.0181884765625, 0.01273345947265625, 0.0235137939453125, -0.00426483154296875, -0.016082763671875, 0.0179595947265625, 0.005657196044921875, -0.0110015869140625, -0.021087646484375, -0.01458740234375, -0.007480621337890625, -0.04779052734375, -0.00811004638671875, 0.057647705078125, 0.023406982421875, -0.0243988037109375, 0.044525146484375, 0.00560760498046875, -0.037994384765625, -0.0511474609375, -0.0386962890625, 0.0278167724609375, -0.00629425048828125, -0.028839111328125, 0.0006284713745117188, -0.056976318359375, 0.0272064208984375, -0.0269317626953125, 0.042144775390625, -0.005329132080078125, -0.026275634765625, 0.03143310546875, -0.005367279052734375, -0.0227508544921875, 0.0173797607421875, 0.008270263671875, -0.00959014892578125, -0.0166015625, 0.0153350830078125, -0.028717041015625, 0.037689208984375, -0.012908935546875, -0.035736083984375, -0.0243988037109375, 0.0185394287109375, 0.044219970703125, 0.03106689453125, -0.01561737060546875, -0.0096282958984375, -0.043914794921875, -0.0130462646484375, -0.01438140869140625, -0.01238250732421875, -0.03424072265625, 0.00113677978515625, 0.0021152496337890625, 0.037933349609375, -0.0135650634765625, -0.052978515625, -0.028778076171875, -0.0304412841796875, 0.01776123046875, 0.0287017822265625, -0.024261474609375, 0.034393310546875, 0.0080718994140625, 0.0116729736328125, -0.01052093505859375, 0.0031185150146484375, 0.006694793701171875, -0.006229400634765625, -0.0006356239318847656, -0.06011962890625, -0.007244110107421875, -0.0167083740234375, 0.01114654541015625, 0.04754638671875, 0.0102691650390625, 0.0106353759765625, 0.07159423828125, -0.007663726806640625, 0.00689697265625, -0.021575927734375, -0.031768798828125, -0.058319091796875, 0.044403076171875, 0.024993896484375, -0.0023403167724609375, 0.016937255859375, 0.00154876708984375, -0.006866455078125, -0.01849365234375, 0.0022182464599609375, 0.0017671585083007812, -0.007312774658203125, -0.0176849365234375, 0.045501708984375, 0.0604248046875, 0.02685546875, 0.059326171875, -0.00998687744140625, 0.026092529296875, 0.0079498291015625, -0.024688720703125, -0.024932861328125, 0.02117919921875, 0.040374755859375, -0.0098876953125, -0.0076904296875, 0.032867431640625, -0.01111602783203125, -0.00472259521484375, 0.09307861328125, 0.085205078125, -0.0826416015625, -0.011322021484375, 0.05419921875, -0.00872802734375, -0.04315185546875, -0.01158905029296875, 0.00910186767578125, 0.01163482666015625, -0.02911376953125, -0.00960540771484375, -0.0254058837890625, -0.01248931884765625, 0.0073394775390625, 0.001842498779296875, -0.039764404296875, 0.07464599609375, 0.0208282470703125, -0.06427001953125, 0.051727294921875, 0.04376220703125, -0.00800323486328125, 0.022674560546875, -0.0224151611328125, 0.00856781005859375, -0.042022705078125, -0.0670166015625, 0.0006341934204101562, -0.0462646484375, -0.0174560546875, -0.0182342529296875, 0.036285400390625, 0.05352783203125, 0.0347900390625, 0.031463623046875, -0.03338623046875, 0.01473236083984375, -0.0175018310546875, -0.0154266357421875, -0.01190948486328125, 0.003772735595703125, 0.06903076171875, -0.052825927734375, 0.0262908935546875, -0.0169525146484375, 0.01007843017578125, -0.01528167724609375, -0.020538330078125, 0.03631591796875, -0.00980377197265625, -0.0159912109375, 0.00820159912109375, 0.009674072265625, 0.0081329345703125, -0.005939483642578125, -0.0041961669921875, -0.05126953125, -0.0250701904296875, 0.006839752197265625, -0.030487060546875, -0.0096893310546875, 0.020172119140625, -0.053680419921875, 0.054718017578125, 0.0095977783203125, 0.00435638427734375, 0.01151275634765625, 0.0157928466796875, -0.033782958984375, -0.01187896728515625, -0.055938720703125, 0.06640625, 0.0166473388671875, 0.09375, -0.07073974609375, -0.01467132568359375, 0.05401611328125, 0.044464111328125, 0.0321044921875, -0.007266998291015625, 0.039031982421875, -0.016815185546875, 0.020538330078125, 0.016143798828125, -0.0230560302734375, -0.02093505859375, -0.0002340078353881836, 0.0557861328125, 0.038238525390625, -0.035430908203125, 0.03961181640625, -0.045806884765625, -0.03021240234375, 0.005260467529296875, 0.00606536865234375, 0.012786865234375, -0.0028018951416015625, 0.033935546875, -0.023223876953125, -0.00787353515625, 0.03314208984375, -0.047332763671875, 0.02569580078125, 0.03619384765625, 0.05645751953125, -0.04150390625, -0.02288818359375, -0.013641357421875, 0.04522705078125, 0.0145111083984375, 0.041168212890625, 0.057586669921875, 0.0248260498046875, 0.06414794921875, -0.01184844970703125, 0.02484130859375, -0.0003726482391357422, -0.007099151611328125, 0.0802001953125, 0.053314208984375, 0.02447509765625, 0.006748199462890625, 0.0182647705078125, 0.0538330078125, 0.08819580078125, -0.058868408203125, -0.0258331298828125, -0.00406646728515625, -0.00711822509765625, -0.019012451171875, -0.0168304443359375, -0.0205078125, 0.06024169921875, 0.05126953125, -0.057403564453125, 0.041229248046875, 0.0577392578125, 0.01166534423828125, -0.0302734375, -0.0211181640625, -0.04443359375, 0.03619384765625, -0.0169677734375, -0.06829833984375, 0.0284271240234375, 0.07183837890625, 0.041473388671875, -0.0087127685546875, 0.01030731201171875, -0.0323486328125, -0.034027099609375, 0.053314208984375, -0.0155029296875, 0.05810546875, -0.072998046875, -0.040130615234375, 0.002471923828125, 0.036346435546875, 0.01029205322265625, 0.031158447265625, 0.0599365234375, 0.0025615692138671875, -0.0582275390625, -0.003204345703125, 0.01453399658203125, -0.047454833984375, -0.011749267578125, -0.028076171875, -0.0018892288208007812, 0.0122528076171875, 0.0005393028259277344, -0.00936126708984375, 0.035552978515625, 0.01183319091796875, 0.03759765625, 0.031707763671875, 0.0116119384765625, -0.006740570068359375, -0.01319122314453125, -0.005245208740234375, 0.02099609375, 0.038604736328125, -0.00983428955078125, -0.0170440673828125, -0.0196685791015625, -0.06414794921875, 0.0111083984375, 0.04278564453125, 0.0340576171875, -0.0406494140625, 0.031768798828125, -0.02288818359375, -0.001804351806640625, 0.03515625, -0.003101348876953125, -0.035430908203125, 0.0195159912109375, -0.00678253173828125, -0.035186767578125, -0.02581787109375, 0.005435943603515625, 0.0274658203125, -0.019439697265625, 0.04742431640625, -0.0201416015625, 0.00814056396484375, -0.02459716796875, 0.039703369140625, -0.061614990234375, -0.0008134841918945312, -0.004375457763671875, -0.0258636474609375, 0.007556915283203125, 0.0108489990234375, 0.023223876953125, 0.0202484130859375, 0.040557861328125, -0.0296630859375, 0.0206146240234375, -0.0430908203125, 0.02325439453125, -0.0240936279296875, 0.025970458984375, -0.0097808837890625, -0.00855255126953125, -0.0038890838623046875, 0.0007257461547851562, 0.040985107421875, 0.0408935546875, -0.005931854248046875, 0.029083251953125, -0.0019702911376953125, -0.008880615234375, 0.040313720703125, -0.05364990234375, 0.06390380859375, 0.038818359375, -0.0511474609375, 0.02685546875, -0.00868988037109375, -0.0248870849609375, -0.00978851318359375, 0.03094482421875, -0.038116455078125, -0.0019474029541015625, -0.0012340545654296875, -0.05499267578125, -0.024322509765625, 0.0262298583984375, 0.0246734619140625, 0.00807952880859375, -0.033233642578125, -0.00612640380859375, -0.0200042724609375, 0.0186920166015625, -0.0119781494140625, 0.002620697021484375, -0.03814697265625, -0.00011056661605834961, 0.0006432533264160156, -0.0418701171875, -0.0357666015625, -0.016876220703125, 0.042572021484375, 0.006473541259765625, -0.06781005859375, -0.0033130645751953125, -0.01378631591796875, 0.053863525390625, -0.00180816650390625, -0.02386474609375, 0.01122283935546875, 0.04095458984375, -0.003284454345703125, -0.017303466796875, -0.0176544189453125, 0.01538848876953125, -0.0062103271484375, 0.0029506683349609375, 0.0230712890625, 0.006561279296875, -0.048126220703125, 0.00667572021484375, -0.027130126953125, 0.047119140625, -0.03021240234375, -0.0161590576171875, 0.0246734619140625, 0.00649261474609375, -0.03173828125, -0.070068359375, 0.01873779296875, -0.0682373046875, 0.0262298583984375, 0.027557373046875, -0.029266357421875, -0.00542449951171875, -0.044342041015625, -0.1297607421875, 0.0697021484375, -0.019195556640625, -0.0439453125, -0.04925537109375, 0.00799560546875, 0.0111846923828125, -0.0003597736358642578, -0.0093536376953125, -0.05084228515625, -0.047821044921875, 0.0019741058349609375, 0.0223236083984375, 0.0184173583984375, 0.0243988037109375, 0.0239715576171875, -0.0631103515625, 0.009918212890625, -0.0185394287109375, 0.017913818359375, -0.0279541015625, 0.01421356201171875, 0.02044677734375, 0.024749755859375, 0.0081634521484375, 0.007587432861328125, 0.034149169921875, -0.052215576171875, 0.00215911865234375, 0.02447509765625, -0.048675537109375, -0.011199951171875, 0.06903076171875, 0.0469970703125, 0.03338623046875, -0.0269775390625, -0.0110931396484375, -0.034881591796875, 0.0251312255859375, 0.0201416015625, -0.01336669921875, -0.0206451416015625, 0.0086669921875, 0.0306549072265625, 0.01155853271484375, 0.0033588409423828125, -0.0008039474487304688, -0.0025081634521484375, -0.034423828125, 0.0006289482116699219, -0.0222930908203125, 0.01477813720703125, -0.0587158203125, 0.0207061767578125, -0.031036376953125, -0.028839111328125, 0.015411376953125, 0.04913330078125, -0.0233001708984375, 0.01531219482421875, 0.0267486572265625, -0.012237548828125, -0.016326904296875, -0.0153350830078125, -0.002696990966796875, 0.006046295166015625, -0.007568359375, -0.04119873046875, -0.04119873046875, 0.00646209716796875, 0.0077362060546875, 0.0029430389404296875, -0.000316619873046875, 0.0034732818603515625, 0.01409912109375, 0.0330810546875, -0.0283355712890625, 0.045562744140625, 0.002960205078125, 0.04046630859375, 0.0286407470703125, -0.0117340087890625, 0.0792236328125, -0.03387451171875, -0.00397491455078125, -0.00536346435546875, 0.01523590087890625, -0.07269287109375, 0.0175628662109375, -0.02532958984375, 0.0135955810546875, 0.02899169921875 ]
581063be45f1d62ff47025a203d99b20553573e3
Wordpress Stackexchange Q: How to use my own custom session value in Wordpress? How can i use my own (custom) session value in Wordpress? For example: $_SESSION['myname']="4lvin" I've already inserted session_start() at all page i need as following. <?php session_start(); $_SESSION['myname'] = "4lvin"; ?> But not working Global-wise. Just working on the self page. It is NOT call-able Globally from another pages (using same logic). A: WordPress doesn't use sessions, that's why your session variables aren't working. As a matter of fact, if certain variables are defined, WordPress will actually destroy $_SESSION to keep itself stateless. But if you really want to use sessions, try adding session_start() at the beginning of your wp-config.php file. This will (hopefully) start sessions whenever WP starts up, so you'll then be able to set and read your $_SESSION variables elsewhere in the system.
Q: How to use my own custom session value in Wordpress? How can i use my own (custom) session value in Wordpress? For example: $_SESSION['myname']="4lvin" I've already inserted session_start() at all page i need as following. <?php session_start(); $_SESSION['myname'] = "4lvin"; ?> But not working Global-wise. Just working on the self page. It is NOT call-able Globally from another pages (using same logic). A: WordPress doesn't use sessions, that's why your session variables aren't working. As a matter of fact, if certain variables are defined, WordPress will actually destroy $_SESSION to keep itself stateless. But if you really want to use sessions, try adding session_start() at the beginning of your wp-config.php file. This will (hopefully) start sessions whenever WP starts up, so you'll then be able to set and read your $_SESSION variables elsewhere in the system. A: EDIT: "THE PLUGIN BELOW ISN'T AVAILABLE ANYMORE, SO PLEASE USE THAT PLUGIN INSTEAD: WordPress Session Plugin" There is a good WordPress Plugin adapted from CodeIgniter Session class: WP Sessions Plugin. When you activate the plugin, you can start to use $session object from anywhere in your theme ($session object as long as global). For instance, to use $session object into header.php file, simply add this code: global $session; If you are a plugin developer and you want to adapt this plugin with yours, you can find standalone version in the package as well. Documentation of the plugin gives more information for plugin developers about how to adapt to your project. Here is some useful functions for both theme and plugin developers. You can add session data like this: // One value $session->set_userdata( 'username', 'john' ); // Passing array $array = array( 'username' => 'john', 'email' => '[email protected]' ); $session->set_userdata( $array ); To retrieve session data: $session->userdata( 'username' ); To get all session data: $session->all_userdata(); // returns array To remove one item from session: $session->unset_userdata( 'username' ); To remove more items from session: $array = array( 'username' => '', 'email' => '' ); $session->unset_userdata( $array ); You can also use Flashdata which is session data that will only be available for the next server request, are then automatically cleared. These can be very useful when you use them for informational or status messages (e.g. “Product has been deleted”). // Add Flashdata $session->set_flashdata( 'item', 'value' ); // Retrieve Flashdata $session->flashdata( 'item' ); // Preserving flashdata // (if you need to preserve flashdata through an additional request, // you can use this function): $session->keep_flashdata( 'item' ); To destroy session: $session->sess_destroy(); The plugin also supports shortcodes. You can print any session data on your posts or pages: [session key="username"] To reach second key: [session key="user_data" sec_key="display_name"] I hope this helps for someone. A: One simple solution without using plug-in or without modifying the wp-config.php is to update your theme's functions.php and insert at the very beginning the following: <?php //WordPress functions.php file if(!session_id()) { session_start(); } Since the functions.php (or so called theme functions file) is a template included in WordPress themes automatically and acts like a plugin for your WordPress site. Moreover, if you have more than 1 theme installed on your website, modifying the functions.php will affect only the chosen theme, not all (where you may not want to enable sessions). A: Wordpress does support it. You need to add following lines at the top of functions.php if ( ! session_id() ) { session_start(); }
wordpress
{ "language": "en", "length": 561, "provenance": "stackexchange_00019.jsonl.gz:414290", "question_score": "19", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32646" }
[ 0.046234130859375, 0.0014009475708007812, 0.005947113037109375, 0.0107574462890625, 0.006206512451171875, -0.03350830078125, 0.06658935546875, -0.044097900390625, -0.0045166015625, -0.01528167724609375, -0.01161956787109375, 0.00228118896484375, -0.052886962890625, -0.0357666015625, 0.02325439453125, -0.038299560546875, 0.03900146484375, -0.0308990478515625, 0.0277252197265625, -0.016265869140625, 0.03277587890625, -0.00812530517578125, 0.0435791015625, 0.031646728515625, 0.05328369140625, -0.042236328125, 0.01517486572265625, -0.0113067626953125, 0.046722412109375, 0.00592041015625, 0.0355224609375, -0.03790283203125, -0.0012521743774414062, 0.037017822265625, -0.004520416259765625, -0.00481414794921875, -0.006580352783203125, 0.02606201171875, 0.03515625, 0.0138397216796875, 0.029632568359375, -0.008758544921875, 0.01331329345703125, 0.01715087890625, -0.024322509765625, -0.0447998046875, 0.045928955078125, -0.0121307373046875, 0.0208892822265625, -0.025634765625, 0.0002982616424560547, 0.05859375, 0.0162811279296875, -0.016998291015625, 0.0048675537109375, 0.018310546875, 0.023773193359375, -0.01399993896484375, 0.03643798828125, -0.0290985107421875, -0.0281982421875, -0.0223236083984375, 0.034820556640625, -0.0031261444091796875, 0.01806640625, 0.00909423828125, -0.0215911865234375, 0.0274200439453125, -0.01421356201171875, 0.01435089111328125, 0.004993438720703125, -0.0199127197265625, 0.005340576171875, -0.006031036376953125, -0.034942626953125, -0.048492431640625, 0.037078857421875, -0.0439453125, -0.004230499267578125, 0.01537322998046875, -0.024658203125, -0.0256805419921875, -0.06988525390625, 0.0134735107421875, 0.0036869049072265625, 0.05010986328125, -0.0194549560546875, -0.026763916015625, 0.00289154052734375, -0.032257080078125, -0.01355743408203125, -0.016815185546875, 0.00980377197265625, -0.0170440673828125, -0.03692626953125, -0.031829833984375, 0.01264190673828125, 0.01233673095703125, 0.0019397735595703125, 0.003376007080078125, -0.014556884765625, -0.0163726806640625, 0.01212310791015625, -0.02044677734375, -0.007762908935546875, 0.036834716796875, 0.04437255859375, 0.040496826171875, -0.00586700439453125, -0.0198516845703125, -0.021697998046875, -0.029510498046875, -0.0030078887939453125, -0.0123748779296875, -0.0214385986328125, 0.0249176025390625, -0.022369384765625, 0.009368896484375, -0.004730224609375, 0.03125, 0.00009995698928833008, 0.01465606689453125, -0.0207366943359375, 0.01169586181640625, 0.0195159912109375, 0.0027332305908203125, 0.002899169921875, -0.015869140625, -0.031463623046875, 0.034393310546875, -0.01526641845703125, 0.0182952880859375, 0.06915283203125, 0.03515625, -0.0016222000122070312, -0.0155029296875, 0.05010986328125, -0.05084228515625, -0.021270751953125, 0.028106689453125, -0.004169464111328125, -0.0171661376953125, -0.005706787109375, -0.039276123046875, -0.001628875732421875, 0.0036163330078125, 0.034912109375, 0.02685546875, -0.0201568603515625, -0.02056884765625, 0.0017442703247070312, 0.0191802978515625, -0.0159912109375, 0.0280609130859375, 0.0226898193359375, 0.04541015625, 0.005550384521484375, 0.01107025146484375, 0.001049041748046875, 0.03350830078125, 0.0213775634765625, -0.027587890625, -0.03399658203125, 0.01074981689453125, -0.0184783935546875, 0.030853271484375, -0.0139923095703125, 0.0027313232421875, 0.028167724609375, 0.0154876708984375, 0.0175323486328125, 0.036712646484375, 0.007076263427734375, 0.0190277099609375, 0.02386474609375, -0.00403594970703125, -0.053436279296875, 0.03070068359375, 0.03753662109375, -0.0210113525390625, -0.021697998046875, -0.038604736328125, 0.024749755859375, 0.006710052490234375, -0.045867919921875, 0.016754150390625, 0.02349853515625, 0.074462890625, -0.003871917724609375, 0.034393310546875, 0.005565643310546875, 0.002979278564453125, -0.025787353515625, 0.028594970703125, 0.028106689453125, -0.003673553466796875, -0.0487060546875, 0.00817108154296875, 0.004329681396484375, -0.03607177734375, 0.036956787109375, -0.00826263427734375, 0.033172607421875, -0.0267333984375, -0.05126953125, 0.0182342529296875, -0.0283660888671875, 0.03460693359375, 0.019622802734375, -0.0305023193359375, 0.01114654541015625, -0.01861572265625, 0.01471710205078125, -0.0721435546875, -0.0704345703125, 0.0118560791015625, -0.01308441162109375, 0.0992431640625, 0.006969451904296875, 0.06890869140625, 0.029052734375, -0.0654296875, 0.0416259765625, -0.016815185546875, 0.01178741455078125, -0.0003147125244140625, -0.032470703125, -0.0026988983154296875, -0.018768310546875, 0.0201568603515625, -0.0272064208984375, 0.03631591796875, -0.0311431884765625, -0.0122222900390625, -0.027191162109375, -0.0156402587890625, -0.020172119140625, -0.04888916015625, 0.0035800933837890625, 0.047088623046875, 0.0491943359375, 0.0161285400390625, -0.0290374755859375, -0.0570068359375, 0.0240631103515625, -0.054718017578125, 0.004566192626953125, -0.03997802734375, 0.0187530517578125, 0.03656005859375, -0.01302337646484375, -0.0192718505859375, 0.0302581787109375, -0.05059814453125, -0.004734039306640625, 0.043121337890625, -0.02484130859375, -0.0284576416015625, -0.003490447998046875, 0.0161285400390625, -0.00955963134765625, -0.005886077880859375, -0.006000518798828125, -0.0132904052734375, 0.0689697265625, -0.0213623046875, 0.0338134765625, -0.0062103271484375, -0.014312744140625, 0.02288818359375, -0.003170013427734375, -0.1085205078125, -0.006107330322265625, -0.06768798828125, -0.0013713836669921875, -0.03155517578125, -0.031341552734375, 0.0426025390625, 0.005340576171875, -0.053955078125, -0.0256195068359375, -0.00429534912109375, -0.08319091796875, -0.0099334716796875, 0.00003063678741455078, -0.06732177734375, -0.01197052001953125, 0.0306549072265625, 0.0018787384033203125, -0.0455322265625, 0.0189971923828125, -0.005069732666015625, -0.045318603515625, 0.043670654296875, 0.01271820068359375, -0.057830810546875, 0.053741455078125, -0.01399993896484375, 0.0034656524658203125, -0.0200958251953125, 0.056915283203125, 0.055908203125, -0.0023365020751953125, 0.018402099609375, -0.00962066650390625, 0.043182373046875, 0.0146484375, 0.008636474609375, -0.00707244873046875, -0.017852783203125, -0.0234527587890625, -0.0157928466796875, 0.0007619857788085938, 0.054779052734375, -0.040618896484375, -0.052032470703125, -0.0024318695068359375, -0.0010538101196289062, -0.0596923828125, -0.07489013671875, -0.021759033203125, -0.0772705078125, 0.0283966064453125, -0.0225067138671875, -0.0269775390625, -0.00518798828125, -0.00998687744140625, 0.025299072265625, 0.00946807861328125, -0.0186920166015625, 0.045867919921875, -0.02752685546875, -0.042083740234375, -0.0543212890625, 0.038848876953125, 0.00885009765625, -0.0048828125, 0.03790283203125, 0.005161285400390625, -0.00803375244140625, -0.006023406982421875, -0.0082550048828125, -0.004638671875, -0.0330810546875, -0.0023784637451171875, -0.014434814453125, 0.0257720947265625, -0.01465606689453125, 0.045166015625, 0.02264404296875, -0.0214385986328125, -0.009307861328125, 0.019439697265625, 0.004032135009765625, 0.0391845703125, 0.0035762786865234375, -0.051605224609375, 0.004810333251953125, 0.0196685791015625, -0.0439453125, -0.035797119140625, 0.01401519775390625, -0.053009033203125, -0.04669189453125, 0.061492919921875, -0.0251007080078125, -0.03076171875, -0.0219573974609375, -0.001888275146484375, -0.00649261474609375, 0.004184722900390625, -0.0197601318359375, 0.0217437744140625, 0.0006985664367675781, 0.01082611083984375, -0.0006718635559082031, 0.04998779296875, -0.0025043487548828125, 0.006465911865234375, 0.0119171142578125, 0.00897979736328125, -0.01953125, 0.003269195556640625, -0.06683349609375, -0.056365966796875, 0.05108642578125, -0.009368896484375, -0.0184173583984375, -0.0006279945373535156, -0.0223388671875, 0.0254058837890625, 0.07281494140625, -0.008941650390625, -0.0186920166015625, 0.033203125, 0.0229949951171875, -0.05145263671875, -0.02142333984375, -0.03985595703125, -0.022064208984375, -0.0299072265625, 0.00521087646484375, -0.017333984375, -0.0099334716796875, -0.0256500244140625, -0.0008335113525390625, -0.0145111083984375, -0.032501220703125, 0.021697998046875, -0.048736572265625, 0.020294189453125, -0.024139404296875, -0.01538848876953125, -0.038482666015625, 0.0120849609375, -0.03509521484375, -0.07586669921875, -0.0036487579345703125, -0.058807373046875, 0.089111328125, 0.06036376953125, -0.024261474609375, 0.0167388916015625, 0.05572509765625, 0.0126190185546875, -0.00112152099609375, 0.0135345458984375, 0.000988006591796875, 0.01080322265625, 0.00756072998046875, 0.01226043701171875, -0.0186920166015625, 0.0010843276977539062, -0.007167816162109375, -0.018341064453125, 0.007259368896484375, -0.0289459228515625, -0.016754150390625, -0.007144927978515625, -0.0249481201171875, -0.0035152435302734375, -0.01861572265625, -0.007518768310546875, 0.0404052734375, -0.0018672943115234375, 0.0056915283203125, -0.0305633544921875, -0.019439697265625, 0.05072021484375, 0.028167724609375, 0.0000026226043701171875, -0.00579833984375, 0.06805419921875, 0.01947021484375, -0.034820556640625, -0.0266876220703125, 0.0018157958984375, 0.01194000244140625, -0.031890869140625, 0.0465087890625, -0.016265869140625, -0.0016775131225585938, 0.0672607421875, -0.0362548828125, -0.01000213623046875, -0.03271484375, 0.0249786376953125, -0.00469970703125, -0.0272369384765625, 0.0150146484375, -0.019378662109375, 0.0380859375, 0.004241943359375, 0.00907135009765625, -0.033355712890625, 0.0101165771484375, 0.0234832763671875, 0.004299163818359375, 0.0084991455078125, -0.013671875, -0.00255584716796875, 0.005321502685546875, -0.0814208984375, 0.0171356201171875, 0.017425537109375, -0.0022182464599609375, -0.01080322265625, -0.0168304443359375, -0.00765228271484375, 0.0214691162109375, -0.0009946823120117188, 0.00972747802734375, 0.004131317138671875, 0.036590576171875, -0.011138916015625, 0.01934814453125, -0.01544189453125, 0.08709716796875, 0.0006799697875976562, -0.058837890625, 0.0027408599853515625, -0.0172119140625, 0.0267181396484375, 0.01605224609375, -0.0377197265625, 0.006591796875, 0.032470703125, -0.006336212158203125, 0.051116943359375, 0.0167694091796875, 0.00946807861328125, -0.00878143310546875, 0.01117706298828125, 0.006748199462890625, -0.00936126708984375, -0.05487060546875, 0.11871337890625, -0.0184478759765625, 0.039703369140625, -0.004032135009765625, 0.08203125, 0.06549072265625, 0.00685882568359375, -0.0147247314453125, 0.03839111328125, 0.00646209716796875, -0.0323486328125, -0.004199981689453125, -0.0210723876953125, -0.023040771484375, -0.0197601318359375, 0.0312042236328125, -0.02264404296875, 0.0205078125, 0.037353515625, -0.0194854736328125, 0.00362396240234375, 0.017120361328125, -0.048431396484375, -0.056060791015625, -0.030181884765625, -0.0176544189453125, 0.03369140625, -0.03961181640625, -0.0217437744140625, -0.01947021484375, -0.049407958984375, 0.02301025390625, -0.0350341796875, 0.0284423828125, -0.004241943359375, -0.036163330078125, -0.003265380859375, -0.00811004638671875, -0.00443267822265625, -0.039764404296875, -0.0126953125, -0.0303192138671875, -0.016326904296875, 0.0457763671875, -0.0294036865234375, -0.0029964447021484375, -0.0111083984375, 0.003307342529296875, -0.0321044921875, 0.0197601318359375, 0.0145416259765625, -0.003635406494140625, -0.0751953125, 0.0296630859375, -0.04779052734375, 0.007564544677734375, 0.0101776123046875, -0.0297698974609375, -0.049652099609375, -0.04180908203125, -0.004253387451171875, 0.01088714599609375, -0.0221099853515625, -0.031951904296875, -0.0263214111328125, 0.037750244140625, 0.03857421875, 0.0614013671875, 0.0020904541015625, 0.033172607421875, -0.0236053466796875, 0.03369140625, 0.0164337158203125, 0.018341064453125, 0.00418853759765625, -0.035858154296875, 0.042327880859375, -0.007587432861328125, -0.057098388671875, -0.0452880859375, -0.03570556640625, 0.01293182373046875, 0.050445556640625, -0.029937744140625, 0.043792724609375, -0.00620269775390625, 0.019561767578125, -0.0070953369140625, -0.0211334228515625, -0.0287017822265625, -0.0179290771484375, 0.0816650390625, -0.0179595947265625, 0.0079193115234375, -0.0009398460388183594, 0.0019016265869140625, 0.048736572265625, -0.0222320556640625, 0.033477783203125, 0.007419586181640625, -0.051605224609375, 0.030853271484375, 0.07110595703125, 0.020965576171875, 0.06475830078125, 0.0024433135986328125, 0.027130126953125, 0.046661376953125, 0.05377197265625, -0.030487060546875, -0.0399169921875, 0.0655517578125, 0.02691650390625, -0.0360107421875, 0.028167724609375, -0.024017333984375, 0.022705078125, 0.10308837890625, 0.09100341796875, -0.1270751953125, 0.0071258544921875, 0.01174163818359375, 0.0030040740966796875, 0.03851318359375, -0.0016574859619140625, 0.0067596435546875, -0.0067291259765625, -0.004131317138671875, -0.00998687744140625, -0.02972412109375, 0.0004057884216308594, 0.000904083251953125, -0.0019512176513671875, 0.003170013427734375, 0.050933837890625, 0.0185699462890625, -0.043304443359375, 0.012725830078125, 0.0256805419921875, 0.015960693359375, -0.0097198486328125, 0.015411376953125, 0.020477294921875, -0.0245208740234375, -0.045562744140625, 0.0310516357421875, -0.0272369384765625, -0.023468017578125, 0.0181732177734375, 0.0295562744140625, 0.046112060546875, 0.036834716796875, 0.0304107666015625, -0.024017333984375, -0.007678985595703125, 0.02862548828125, 0.007289886474609375, -0.0279388427734375, 0.0215911865234375, 0.0285186767578125, -0.061920166015625, 0.0211639404296875, -0.0201873779296875, -0.0118255615234375, 0.0181121826171875, 0.01505279541015625, 0.04400634765625, -0.036376953125, -0.01047515869140625, 0.014068603515625, 0.01495361328125, 0.0153656005859375, 0.0035114288330078125, -0.0274200439453125, -0.054931640625, -0.040771484375, -0.005878448486328125, -0.0858154296875, 0.022674560546875, 0.00628662109375, -0.08001708984375, 0.140869140625, 0.01641845703125, 0.042327880859375, 0.005413055419921875, 0.06298828125, -0.02435302734375, 0.044189453125, -0.04766845703125, 0.0113067626953125, 0.00656890869140625, 0.025665283203125, -0.0673828125, -0.016204833984375, -0.0179443359375, 0.051239013671875, 0.0484619140625, 0.016998291015625, -0.0107879638671875, -0.01380157470703125, 0.01136016845703125, 0.01441192626953125, -0.023468017578125, 0.02191162109375, 0.0081329345703125, 0.02679443359375, 0.028961181640625, -0.0100860595703125, 0.024810791015625, -0.01380157470703125, -0.034820556640625, 0.044097900390625, 0.0030803680419921875, -0.025146484375, -0.0117645263671875, 0.002101898193359375, -0.08367919921875, 0.02032470703125, 0.0288543701171875, 0.05059814453125, -0.006259918212890625, 0.032470703125, 0.0018472671508789062, -0.00215911865234375, -0.0188446044921875, -0.0211334228515625, 0.031097412109375, -0.011474609375, -0.02581787109375, 0.0333251953125, 0.0013380050659179688, 0.010406494140625, -0.0167999267578125, -0.0308380126953125, -0.016021728515625, 0.037322998046875, 0.0161285400390625, 0.0162506103515625, 0.02117919921875, -0.01404571533203125, 0.00799560546875, 0.0214691162109375, 0.0277862548828125, -0.0195159912109375, -0.0125579833984375, 0.007503509521484375, -0.00966644287109375, 0.0039520263671875, -0.019500732421875, 0.0189361572265625, 0.03497314453125, 0.01348114013671875, -0.0207366943359375, 0.0246734619140625, 0.04864501953125, -0.006320953369140625, 0.0200347900390625, 0.08575439453125, -0.09625244140625, 0.0203857421875, -0.05322265625, -0.0168609619140625, 0.016632080078125, 0.0301666259765625, 0.03326416015625, 0.0142059326171875, 0.02740478515625, -0.00917816162109375, -0.01708984375, 0.049041748046875, -0.00128936767578125, 0.0214080810546875, -0.019866943359375, -0.01702880859375, 0.0034351348876953125, 0.0243072509765625, 0.00856781005859375, -0.006145477294921875, 0.02325439453125, -0.0138397216796875, -0.060821533203125, -0.006153106689453125, 0.01160430908203125, -0.0439453125, 0.00992584228515625, -0.0217742919921875, -0.0020084381103515625, -0.019744873046875, -0.019073486328125, -0.03302001953125, 0.03741455078125, 0.0037841796875, -0.00899505615234375, 0.04620361328125, 0.00377655029296875, -0.0135345458984375, -0.0160980224609375, -0.00440216064453125, 0.06719970703125, 0.0263214111328125, -0.031646728515625, -0.0016231536865234375, -0.051239013671875, -0.03668212890625, 0.0243377685546875, 0.037933349609375, 0.00930023193359375, 0.00356292724609375, 0.021881103515625, -0.003177642822265625, 0.0212860107421875, 0.00039005279541015625, -0.0008358955383300781, -0.044952392578125, 0.021697998046875, -0.007556915283203125, -0.050537109375, -0.03253173828125, -0.0017919540405273438, 0.014373779296875, 0.01346588134765625, -0.015655517578125, 0.0219879150390625, 0.026824951171875, -0.005260467529296875, 0.04522705078125, -0.04071044921875, -0.0107269287109375, 0.0145263671875, -0.00702667236328125, 0.020599365234375, -0.00148773193359375, -0.045684814453125, 0.06597900390625, 0.00942230224609375, 0.0154266357421875, 0.0189208984375, 0.0213775634765625, 0.000957489013671875, 0.019073486328125, 0.009674072265625, -0.01548004150390625, 0.00418853759765625, 0.01375579833984375, -0.0116729736328125, 0.0263519287109375, 0.0005321502685546875, 0.0041961669921875, 0.060882568359375, -0.01629638671875, 0.01165008544921875, 0.00589752197265625, -0.0419921875, -0.00543975830078125, 0.0272216796875, 0.0081024169921875, -0.04022216796875, -0.00843048095703125, -0.0294189453125, -0.021514892578125, 0.005184173583984375, 0.02374267578125, -0.017669677734375, -0.041900634765625, 0.032562255859375, 0.029815673828125, 0.0411376953125, -0.0248565673828125, 0.023040771484375, 0.01483917236328125, 0.001708984375, 0.04718017578125, -0.08563232421875, -0.05029296875, -0.03509521484375, 0.0005359649658203125, 0.04058837890625, -0.0248260498046875, -0.0244598388671875, -0.08544921875, 0.010101318359375, 0.036956787109375, 0.00685882568359375, -0.033599853515625, -0.0017766952514648438, -0.017669677734375, 0.027313232421875, 0.008758544921875, -0.026275634765625, 0.0275115966796875, 0.0458984375, -0.025482177734375, 0.0208587646484375, -0.011444091796875, -0.021484375, 0.0022640228271484375, -0.005859375, 0.0175933837890625, 0.00522613525390625, -0.0069580078125, 0.0236968994140625, -0.0217742919921875, 0.06292724609375, -0.0555419921875, -0.0237884521484375, 0.0259552001953125, 0.005825042724609375, -0.0009522438049316406, -0.057525634765625, -0.00977325439453125, -0.0288848876953125, 0.0304107666015625, -0.0131378173828125, 0.0028285980224609375, 0.02264404296875, -0.0313720703125, -0.058837890625, 0.05987548828125, -0.017242431640625, -0.029388427734375, -0.034576416015625, 0.00252532958984375, 0.0193328857421875, -0.048065185546875, -0.015594482421875, -0.053497314453125, -0.044891357421875, 0.01367950439453125, 0.0032958984375, 0.02001953125, 0.0017518997192382812, 0.017913818359375, -0.07501220703125, 0.009368896484375, -0.005809783935546875, -0.00003153085708618164, -0.002254486083984375, -0.003948211669921875, 0.0162353515625, 0.022735595703125, -0.0182952880859375, 0.002193450927734375, -0.0015325546264648438, -0.0197601318359375, -0.00360107421875, 0.0038509368896484375, -0.01378631591796875, -0.01360321044921875, 0.046142578125, 0.01137542724609375, 0.0001895427703857422, -0.007663726806640625, -0.036346435546875, -0.0247955322265625, -0.020172119140625, -0.01039886474609375, 0.015777587890625, -0.0565185546875, 0.003398895263671875, -0.0006642341613769531, -0.0219573974609375, 0.01186370849609375, -0.0027637481689453125, -0.0265960693359375, 0.0099029541015625, -0.01465606689453125, -0.0305328369140625, -0.0267791748046875, 0.002460479736328125, 0.052947998046875, -0.032196044921875, -0.0034732818603515625, 0.00634002685546875, 0.005096435546875, 0.0194549560546875, 0.0025691986083984375, 0.041229248046875, 0.050567626953125, -0.06060791015625, -0.0213623046875, 0.015960693359375, 0.007732391357421875, -0.0245361328125, -0.0296173095703125, -0.0289154052734375, 0.0235595703125, -0.005428314208984375, 0.03204345703125, 0.01116943359375, 0.00342559814453125, 0.01284027099609375, 0.0055389404296875, -0.01184844970703125, -0.0732421875, -0.0266571044921875, 0.005870819091796875, 0.0185394287109375, -0.004180908203125, 0.03167724609375, -0.01537322998046875, 0.0136871337890625, -0.0265655517578125, 0.015869140625, -0.017791748046875, 0.020965576171875, -0.043121337890625, -0.0213623046875, 0.020294189453125 ]
f00a093ed70b3ed4ae7bc04d87bceb304acc131b
Wordpress Stackexchange Q: Get page permalink without wpurl I currently have an ID of a page that I want to use its permalink as the front of a permastruct of a CPT I'm setting up. Now I can use get_permalink() but that returns the full URL: http://www.example.com/imapage/subpage/subsubpage but all I want to return is imapage/subpage/subsubpage Is there a function that can do this or do I have to device something that can subtract the non-needed part of the url? A: You won't be able to use get_permalink() for that. If you dig into the code for that function in /wp-includes/link-template.php you'll see why. After the permalink structure is parsed and prepared, the code does this: $permalink = home_url( str_replace($rewritecode, $rewritereplace, $permalink) ); This is performed immediately after the structure of the link is created and before anything is passed through a useful filter. So unfortunately, you'll have to extract the non-needed part of the URL yourself. I'd recommend using the str_replace() function that @sanchothefat suggested.
Q: Get page permalink without wpurl I currently have an ID of a page that I want to use its permalink as the front of a permastruct of a CPT I'm setting up. Now I can use get_permalink() but that returns the full URL: http://www.example.com/imapage/subpage/subsubpage but all I want to return is imapage/subpage/subsubpage Is there a function that can do this or do I have to device something that can subtract the non-needed part of the url? A: You won't be able to use get_permalink() for that. If you dig into the code for that function in /wp-includes/link-template.php you'll see why. After the permalink structure is parsed and prepared, the code does this: $permalink = home_url( str_replace($rewritecode, $rewritereplace, $permalink) ); This is performed immediately after the structure of the link is created and before anything is passed through a useful filter. So unfortunately, you'll have to extract the non-needed part of the URL yourself. I'd recommend using the str_replace() function that @sanchothefat suggested. A: $path = parse_url(get_permalink(...), PHP_URL_PATH); ... gives the URL PATH only. This is not relative to blog root but to domain. It's the absolute URI. A: There's actually a core function for this now. wp_make_link_relative($url) Convert full URL paths to relative paths. Removes the http or https protocols and the domain. Keeps the path '/' at the beginning, so it isn't a true relative link, but from the web root base. Example <?php echo wp_make_link_relative('http://localhost/wp_test/sample-page/'); ?> This will output /wp_test/sample-page/ Example with Post ID <?php echo wp_make_link_relative(get_permalink( $post->ID )); ?> Example for current post <?php echo wp_make_link_relative(get_permalink()); ?> More about this can be found in the documentation. A: There's nothing built in to return the bit you want but it should be as easy as using the home_url() function and removing it's output from the full url eg: function get_relative_permalink( $url ) { return str_replace( home_url(), "", $url ); } A: $relative_permalink = wp_make_link_relative(get_permalink($post->ID)); wp_make_link_relative( string $link ) Removes the http or https protocols and the domain. Keeps the path ‘/’ at the beginning, so it isn’t a true relative link, but from the web root base.
wordpress
{ "language": "en", "length": 350, "provenance": "stackexchange_00019.jsonl.gz:414312", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32728" }
[ 0.04364013671875, -0.01194000244140625, 0.0124359130859375, -0.016754150390625, -0.007843017578125, -0.028594970703125, 0.054168701171875, -0.0384521484375, -0.0081024169921875, -0.01032257080078125, -0.0280609130859375, -0.0166015625, -0.036895751953125, -0.041046142578125, 0.036376953125, -0.038909912109375, 0.031768798828125, -0.0195159912109375, 0.007656097412109375, 0.01000213623046875, -0.0150909423828125, 0.02044677734375, -0.0048675537109375, 0.002788543701171875, 0.047607421875, -0.053375244140625, 0.05572509765625, -0.0406494140625, 0.03277587890625, -0.0254669189453125, 0.021759033203125, 0.0163726806640625, 0.038665771484375, -0.03265380859375, 0.04083251953125, -0.0029449462890625, -0.01160430908203125, -0.010589599609375, 0.0218505859375, -0.0085906982421875, 0.00429534912109375, 0.0184173583984375, -0.023590087890625, 0.044158935546875, -0.049560546875, -0.039093017578125, 0.003787994384765625, -0.02252197265625, -0.0219879150390625, 0.051116943359375, 0.01184844970703125, -0.000591278076171875, 0.00173187255859375, 0.02435302734375, -0.0011882781982421875, -0.02532958984375, 0.00756072998046875, -0.029510498046875, 0.01461029052734375, -0.0273895263671875, -0.0247802734375, 0.007686614990234375, 0.03082275390625, 0.00986480712890625, -0.03125, -0.00550079345703125, -0.050537109375, 0.0094757080078125, -0.020294189453125, -0.0227508544921875, 0.00774383544921875, -0.01318359375, -0.005016326904296875, -0.0079803466796875, -0.03753662109375, -0.0154876708984375, 0.00655364990234375, -0.0222930908203125, 0.002521514892578125, 0.005550384521484375, 0.0105133056640625, -0.00426483154296875, -0.0712890625, -0.0236663818359375, 0.027618408203125, -0.0008273124694824219, 0.01165008544921875, -0.01483917236328125, -0.053802490234375, -0.01617431640625, -0.0423583984375, -0.031280517578125, -0.01561737060546875, -0.015838623046875, -0.027557373046875, -0.01036834716796875, 0.04486083984375, 0.03955078125, -0.005985260009765625, 0.02093505859375, 0.00847625732421875, -0.05902099609375, 0.04461669921875, -0.042938232421875, 0.004222869873046875, 0.0198822021484375, 0.0391845703125, 0.0208587646484375, 0.033599853515625, -0.00989532470703125, -0.0093841552734375, 0.06396484375, -0.0290069580078125, -0.038543701171875, -0.028564453125, 0.044769287109375, -0.03387451171875, -0.0151519775390625, 0.009033203125, 0.016448974609375, -0.00829315185546875, 0.03790283203125, -0.01546478271484375, -0.0279388427734375, 0.0098876953125, 0.00640869140625, 0.01514434814453125, -0.048187255859375, 0.0241546630859375, 0.006847381591796875, -0.0225372314453125, -0.0092315673828125, 0.049774169921875, 0.031524658203125, 0.02008056640625, -0.0196380615234375, 0.01308441162109375, -0.00797271728515625, 0.01374053955078125, 0.0007758140563964844, 0.0009908676147460938, -0.0213470458984375, 0.0182037353515625, -0.0084686279296875, 0.01629638671875, 0.004638671875, 0.00836181640625, 0.0281829833984375, 0.0029754638671875, -0.01300048828125, 0.0362548828125, -0.036407470703125, 0.025054931640625, -0.00463104248046875, -0.0250244140625, -0.06243896484375, 0.0086517333984375, -0.034759521484375, 0.041534423828125, -0.046234130859375, 0.0152587890625, -0.020111083984375, -0.0268402099609375, -0.023590087890625, -0.04693603515625, 0.01021575927734375, -0.0023097991943359375, -0.010101318359375, 0.026824951171875, 0.0635986328125, 0.0284881591796875, -0.01873779296875, -0.040130615234375, 0.0259246826171875, 0.00963592529296875, 0.007389068603515625, 0.0015888214111328125, 0.0286102294921875, -0.0014047622680664062, 0.07708740234375, 0.037933349609375, -0.01329803466796875, 0.051513671875, -0.0092620849609375, -0.07135009765625, 0.04449462890625, 0.0231781005859375, 0.0909423828125, -0.01438140869140625, 0.0263824462890625, 0.051544189453125, 0.0192108154296875, -0.052825927734375, 0.02825927734375, -0.0289154052734375, -0.022186279296875, 0.0264892578125, 0.018310546875, -0.0251922607421875, 0.0052337646484375, -0.010833740234375, 0.01325225830078125, 0.0084991455078125, 0.022430419921875, -0.031982421875, 0.034912109375, -0.02325439453125, 0.02545166015625, -0.0183868408203125, 0.052337646484375, 0.00931549072265625, 0.018890380859375, -0.021331787109375, -0.05224609375, 0.006702423095703125, 0.02239990234375, 0.0008521080017089844, 0.01508331298828125, -0.016998291015625, 0.0014333724975585938, -0.0127410888671875, -0.048553466796875, -0.0142364501953125, 0.035064697265625, 0.0289154052734375, -0.023406982421875, -0.0120849609375, -0.0240325927734375, -0.0162506103515625, 0.01084136962890625, -0.09735107421875, 0.044036865234375, 0.057373046875, 0.027862548828125, -0.03570556640625, 0.018524169921875, 0.0088958740234375, -0.0338134765625, -0.01013946533203125, 0.03887939453125, 0.053619384765625, 0.0211944580078125, -0.00446319580078125, -0.050567626953125, 0.04815673828125, -0.06500244140625, -0.00812530517578125, -0.0404052734375, -0.00934600830078125, 0.0217132568359375, -0.0012722015380859375, 0.009552001953125, -0.01334381103515625, -0.044586181640625, 0.006404876708984375, 0.01241302490234375, -0.0025577545166015625, 0.032684326171875, -0.01485443115234375, -0.0010480880737304688, 0.004734039306640625, 0.0157318115234375, -0.00717926025390625, -0.0129547119140625, 0.0021514892578125, 0.0216217041015625, 0.028289794921875, 0.033172607421875, 0.01247406005859375, -0.00867462158203125, 0.00396728515625, 0.022430419921875, -0.0092010498046875, 0.0330810546875, 0.034149169921875, -0.05889892578125, -0.005451202392578125, -0.020294189453125, -0.01953125, 0.0142669677734375, -0.009765625, 0.03515625, 0.017303466796875, -0.0106964111328125, -0.022064208984375, -0.061309814453125, 0.0011358261108398438, 0.01343536376953125, 0.03558349609375, 0.035614013671875, 0.045166015625, 0.0211334228515625, -0.036041259765625, 0.048553466796875, -0.0021572113037109375, -0.0110931396484375, 0.02301025390625, -0.028076171875, 0.05596923828125, -0.0215911865234375, 0.035919189453125, 0.0556640625, -0.00806427001953125, 0.00457763671875, 0.0159454345703125, -0.0419921875, 0.00479888916015625, -0.01128387451171875, -0.0102691650390625, 0.0164947509765625, -0.0758056640625, 0.043426513671875, -0.0011224746704101562, 0.061920166015625, -0.04327392578125, -0.06536865234375, -0.0083160400390625, 0.0174407958984375, -0.08319091796875, -0.057342529296875, 0.01715087890625, -0.0233612060546875, -0.01396942138671875, 0.0389404296875, -0.0121612548828125, -0.0006113052368164062, 0.057281494140625, -0.00417327880859375, 0.0104522705078125, -0.034912109375, -0.08294677734375, -0.06195068359375, -0.10784912109375, -0.007099151611328125, -0.00009751319885253906, 0.0188140869140625, 0.00656890869140625, -0.024261474609375, -0.008544921875, -0.0193328857421875, 0.016143798828125, 0.08209228515625, -0.0062103271484375, -0.0657958984375, -0.021270751953125, -0.006175994873046875, 0.0154571533203125, -0.0006108283996582031, 0.0200347900390625, 0.026275634765625, -0.004680633544921875, 0.00479888916015625, -0.002674102783203125, -0.0382080078125, 0.0253143310546875, 0.018341064453125, 0.0117340087890625, 0.0138397216796875, 0.05145263671875, -0.036102294921875, -0.0469970703125, -0.01279449462890625, -0.06378173828125, 0.05615234375, 0.038177490234375, 0.0026340484619140625, 0.0160369873046875, 0.008453369140625, 0.033660888671875, 0.0023517608642578125, 0.045257568359375, -0.009368896484375, 0.01387786865234375, -0.00516510009765625, 0.011474609375, -0.042327880859375, 0.0555419921875, -0.006732940673828125, 0.0201873779296875, 0.03887939453125, -0.008148193359375, 0.019500732421875, -0.04736328125, -0.0169525146484375, -0.053863525390625, 0.047119140625, -0.06256103515625, 0.0018434524536132812, -0.06317138671875, -0.010284423828125, -0.0089569091796875, 0.09326171875, 0.0247955322265625, -0.03619384765625, -0.0286865234375, 0.00505828857421875, -0.00988006591796875, -0.0567626953125, 0.009674072265625, -0.00963592529296875, -0.0826416015625, -0.04290771484375, -0.04290771484375, -0.04388427734375, 0.027587890625, -0.00957489013671875, -0.00508880615234375, -0.047760009765625, 0.022857666015625, 0.0105743408203125, -0.05804443359375, 0.061492919921875, -0.041107177734375, 0.0225067138671875, -0.0150604248046875, 0.00424957275390625, 0.0180816650390625, -0.01335906982421875, 0.00603485107421875, 0.0088348388671875, 0.0176849365234375, -0.02117919921875, -0.01428985595703125, 0.00988006591796875, 0.002025604248046875, 0.0253448486328125, 0.0018901824951171875, 0.01290130615234375, -0.00261688232421875, 0.01189422607421875, 0.0146942138671875, -0.0145263671875, 0.016693115234375, 0.01239776611328125, -0.02880859375, 0.0078277587890625, -0.033050537109375, -0.003955841064453125, 0.017242431640625, -0.0279541015625, -0.044189453125, -0.01242828369140625, 0.033843994140625, 0.0210418701171875, 0.026031494140625, 0.0009684562683105469, -0.0350341796875, -0.03863525390625, 0.03741455078125, 0.033294677734375, -0.02215576171875, -0.009796142578125, 0.0283660888671875, 0.0284271240234375, -0.04669189453125, 0.0118865966796875, -0.0183563232421875, 0.0221710205078125, 0.010223388671875, 0.04486083984375, 0.032196044921875, -0.0206298828125, 0.0416259765625, 0.0023288726806640625, -0.01416015625, 0.0089874267578125, 0.0035076141357421875, 0.02716064453125, -0.027191162109375, 0.021331787109375, -0.00499725341796875, -0.0003609657287597656, 0.03033447265625, -0.0207061767578125, -0.0200958251953125, -0.04620361328125, 0.024688720703125, 0.0022678375244140625, 0.032562255859375, -0.0404052734375, -0.0281524658203125, 0.001834869384765625, -0.001163482666015625, 0.041839599609375, 0.00841522216796875, -0.0064697265625, 0.027099609375, 0.0262451171875, 0.009735107421875, 0.022064208984375, 0.03485107421875, 0.0010051727294921875, 0.06817626953125, -0.038238525390625, -0.004810333251953125, 0.00855255126953125, 0.0008974075317382812, 0.0250396728515625, -0.002475738525390625, -0.002288818359375, -0.02838134765625, -0.033447265625, -0.006031036376953125, 0.006084442138671875, -0.0084686279296875, 0.055267333984375, 0.044586181640625, -0.0284271240234375, -0.0167999267578125, 0.0046234130859375, -0.003772735595703125, -0.05389404296875, 0.00576019287109375, 0.005176544189453125, -0.01061248779296875, -0.0288543701171875, 0.07879638671875, 0.007801055908203125, 0.019683837890625, -0.005489349365234375, -0.0090789794921875, -0.0223236083984375, 0.038299560546875, -0.011932373046875, 0.004222869873046875, 0.028106689453125, 0.00266265869140625, 0.046142578125, -0.04632568359375, -0.0207061767578125, 0.05426025390625, 0.09332275390625, 0.01189422607421875, -0.0111846923828125, -0.032928466796875, -0.031768798828125, -0.00547027587890625, 0.06512451171875, 0.00899505615234375, -0.046875, -0.0296173095703125, -0.01403045654296875, 0.0300445556640625, -0.0193939208984375, -0.0216827392578125, 0.02789306640625, 0.00063323974609375, 0.01490020751953125, 0.0110931396484375, -0.03204345703125, 0.022308349609375, 0.0189056396484375, 0.0233001708984375, -0.035491943359375, -0.0012493133544921875, 0.03289794921875, 0.034149169921875, -0.055999755859375, -0.033203125, 0.07025146484375, -0.0068511962890625, 0.036468505859375, -0.020233154296875, -0.024566650390625, 0.004886627197265625, -0.0117950439453125, 0.052978515625, 0.02703857421875, -0.06561279296875, -0.007610321044921875, -0.076904296875, 0.01678466796875, 0.01236724853515625, -0.034027099609375, -0.01465606689453125, -0.00830841064453125, -0.0208740234375, 0.0028362274169921875, 0.0009741783142089844, 0.0305023193359375, -0.00714874267578125, 0.033447265625, -0.00998687744140625, 0.037139892578125, -0.0001976490020751953, 0.0880126953125, -0.00997161865234375, 0.0537109375, 0.01354217529296875, 0.04461669921875, 0.007686614990234375, -0.031524658203125, 0.017181396484375, 0.00835418701171875, -0.01727294921875, -0.04638671875, 0.01812744140625, 0.006320953369140625, 0.06439208984375, 0.0010766983032226562, -0.00499725341796875, 0.018585205078125, 0.00756072998046875, -0.0543212890625, 0.009063720703125, -0.0233001708984375, -0.006000518798828125, -0.028900146484375, 0.004241943359375, 0.01485443115234375, -0.005458831787109375, -0.017303466796875, -0.005062103271484375, 0.01032257080078125, 0.00417327880859375, 0.0011749267578125, -0.0163726806640625, 0.035064697265625, 0.09161376953125, 0.034637451171875, 0.0469970703125, 0.0161895751953125, 0.01971435546875, 0.017791748046875, 0.028656005859375, -0.0168304443359375, 0.0203704833984375, 0.07244873046875, 0.022979736328125, -0.00804901123046875, 0.07666015625, -0.00969696044921875, 0.01102447509765625, 0.03240966796875, 0.064697265625, -0.052703857421875, 0.0077056884765625, 0.0209503173828125, 0.011322021484375, 0.019287109375, 0.0297393798828125, -0.00933837890625, -0.011810302734375, -0.0017757415771484375, -0.029144287109375, -0.01265716552734375, 0.0010890960693359375, 0.0103912353515625, -0.02490234375, -0.020263671875, 0.07147216796875, 0.029388427734375, 0.00274658203125, 0.0183563232421875, -0.0204315185546875, 0.0165863037109375, -0.0272979736328125, -0.0007538795471191406, 0.0297088623046875, -0.026611328125, -0.03076171875, 0.0379638671875, -0.01305389404296875, 0.004329681396484375, 0.011810302734375, 0.00882720947265625, -0.00036215782165527344, 0.00695037841796875, -0.01502227783203125, -0.0178375244140625, -0.0144195556640625, -0.03570556640625, 0.05377197265625, -0.0237884521484375, 0.0012521743774414062, 0.00012803077697753906, -0.026153564453125, 0.0037479400634765625, -0.00649261474609375, -0.0118255615234375, -0.00469207763671875, -0.01052093505859375, 0.1180419921875, -0.05377197265625, -0.01611328125, 0.01171875, 0.0098724365234375, -0.008758544921875, -0.01468658447265625, 0.016937255859375, -0.014312744140625, 0.0002574920654296875, -0.0022754669189453125, -0.01419830322265625, 0.003589630126953125, -0.041534423828125, -0.060455322265625, 0.11285400390625, -0.0016946792602539062, 0.045623779296875, 0.04473876953125, 0.036773681640625, -0.0399169921875, 0.005817413330078125, -0.0299224853515625, 0.07403564453125, -0.004665374755859375, 0.02069091796875, -0.0457763671875, -0.01214599609375, 0.0131072998046875, 0.040618896484375, 0.04364013671875, 0.019866943359375, -0.03863525390625, 0.01131439208984375, 0.03717041015625, 0.01244354248046875, -0.003208160400390625, 0.036834716796875, -0.0175933837890625, 0.0413818359375, 0.0394287109375, -0.0960693359375, 0.006195068359375, -0.01493072509765625, 0.00616455078125, -0.0009045600891113281, 0.00846099853515625, 0.00928497314453125, 0.0236358642578125, -0.02691650390625, -0.04669189453125, 0.0161285400390625, 0.0487060546875, -0.07330322265625, 0.0110626220703125, -0.0006585121154785156, 0.0127410888671875, -0.055023193359375, -0.01508331298828125, -0.019439697265625, 0.02862548828125, -0.0102996826171875, 0.01387786865234375, 0.0160369873046875, 0.0164947509765625, 0.0958251953125, -0.018951416015625, -0.01763916015625, 0.0176849365234375, 0.017425537109375, 0.07537841796875, 0.045989990234375, 0.040985107421875, -0.01224517822265625, 0.0018787384033203125, 0.0257110595703125, 0.07220458984375, -0.04638671875, -0.01263427734375, 0.0017528533935546875, -0.012908935546875, -0.000591278076171875, -0.0306549072265625, 0.01184844970703125, 0.01294708251953125, 0.003604888916015625, 0.027984619140625, -0.0073394775390625, 0.0308074951171875, 0.0228424072265625, 0.00843048095703125, -0.0338134765625, -0.003082275390625, 0.023590087890625, -0.04815673828125, 0.0087432861328125, 0.01224517822265625, 0.045501708984375, 0.0222625732421875, 0.038726806640625, -0.0234222412109375, -0.016510009765625, 0.011627197265625, 0.037445068359375, -0.009613037109375, -0.01214599609375, -0.0008530616760253906, -0.0321044921875, -0.008758544921875, 0.0065460205078125, 0.038238525390625, 0.01702880859375, 0.015960693359375, -0.0278472900390625, -0.016510009765625, 0.01215362548828125, 0.0186920166015625, -0.02203369140625, 0.071533203125, -0.0426025390625, 0.032318115234375, -0.0264129638671875, -0.018707275390625, -0.018951416015625, -0.00792694091796875, 0.04052734375, -0.0017137527465820312, 0.027862548828125, 0.0019931793212890625, 0.01184844970703125, 0.035614013671875, -0.010406494140625, 0.0095062255859375, 0.006488800048828125, -0.043487548828125, -0.0131988525390625, -0.013916015625, -0.015869140625, 0.0237579345703125, 0.04876708984375, 0.0007448196411132812, 0.00013256072998046875, -0.007793426513671875, 0.0309600830078125, 0.012542724609375, -0.042938232421875, -0.0017299652099609375, -0.019439697265625, 0.01220703125, 0.003696441650390625, -0.050140380859375, -0.022735595703125, -0.023712158203125, 0.010162353515625, 0.01483917236328125, 0.123779296875, -0.0369873046875, 0.00006198883056640625, -0.0389404296875, 0.0151214599609375, -0.047698974609375, -0.042144775390625, -0.0013322830200195312, 0.00434112548828125, 0.0284271240234375, 0.0036983489990234375, -0.0312042236328125, 0.0294952392578125, 0.038787841796875, -0.015655517578125, 0.034149169921875, -0.021636962890625, -0.0033721923828125, -0.0254058837890625, 0.045501708984375, -0.03076171875, -0.048248291015625, -0.043792724609375, -0.0036602020263671875, 0.01204681396484375, 0.0192108154296875, 0.005168914794921875, 0.030517578125, -0.00751495361328125, -0.0528564453125, 0.0199432373046875, -0.05950927734375, 0.05828857421875, 0.04376220703125, -0.0003974437713623047, -0.007717132568359375, 0.04217529296875, -0.00547027587890625, -0.00896453857421875, 0.0204315185546875, 0.030181884765625, 0.0280914306640625, 0.00926971435546875, -0.0134735107421875, -0.05084228515625, -0.01030731201171875, -0.0226287841796875, -0.0002582073211669922, -0.00710296630859375, 0.0092926025390625, -0.0033626556396484375, -0.0728759765625, -0.0198822021484375, -0.057037353515625, -0.0012540817260742188, 0.01824951171875, -0.037872314453125, -0.0199127197265625, -0.0159912109375, 0.011932373046875, 0.0026607513427734375, 0.0105743408203125, -0.067138671875, 0.037750244140625, -0.019683837890625, 0.0439453125, -0.041595458984375, 0.007678985595703125, -0.00844573974609375, 0.0249481201171875, -0.03857421875, -0.01043701171875, -0.044189453125, 0.005374908447265625, -0.03424072265625, 0.0300445556640625, 0.05645751953125, -0.021270751953125, -0.0216064453125, -0.0233306884765625, -0.0187835693359375, 0.043914794921875, -0.05401611328125, -0.0202484130859375, -0.02508544921875, 0.0192718505859375, 0.01013946533203125, -0.0478515625, 0.01100921630859375, -0.045257568359375, 0.0211029052734375, 0.011260986328125, -0.022003173828125, -0.02301025390625, -0.045166015625, -0.016754150390625, 0.043914794921875, 0.01153564453125, -0.021209716796875, -0.0176544189453125, -0.0022602081298828125, 0.00846099853515625, 0.0013532638549804688, 0.005584716796875, -0.0294342041015625, -0.046173095703125, 0.0004916191101074219, 0.0259552001953125, 0.012542724609375, 0.0294342041015625, 0.0164642333984375, -0.031768798828125, 0.0300140380859375, 0.023345947265625, 0.0174713134765625, 0.00402069091796875, -0.00255584716796875, 0.022369384765625, 0.03558349609375, -0.037445068359375, -0.01328277587890625, -0.00015115737915039062, -0.002681732177734375, -0.0171966552734375, -0.046295166015625, -0.01079559326171875, -0.02642822265625, 0.09796142578125, -0.0191192626953125, 0.01523590087890625, -0.0132598876953125, -0.0172576904296875, 0.01320648193359375, 0.0015096664428710938, -0.010650634765625, 0.020538330078125, -0.052093505859375, -0.033050537109375, -0.023712158203125, -0.01548004150390625, -0.045166015625, -0.0207977294921875, -0.053924560546875, -0.005298614501953125, -0.0181732177734375, 0.0164947509765625, -0.01047515869140625, 0.01861572265625, 0.05718994140625, -0.057525634765625, -0.0218963623046875, -0.00015032291412353516, 0.0128631591796875, -0.004047393798828125, -0.07476806640625, 0.00577545166015625, 0.057952880859375, -0.00841522216796875, -0.0262603759765625, 0.0521240234375, 0.0289459228515625, 0.0194244384765625, -0.00414276123046875, -0.00019502639770507812, 0.00855255126953125, -0.0024623870849609375, -0.0003581047058105469, 0.0011014938354492188, 0.0221710205078125, -0.01322174072265625, 0.049102783203125, -0.00951385498046875, 0.0599365234375, 0.001651763916015625, 0.0289306640625, 0.00018537044525146484, -0.004974365234375, 0.0472412109375, -0.038726806640625, -0.00958251953125, -0.006092071533203125, -0.047576904296875, -0.040374755859375, -0.005283355712890625, -0.051666259765625, -0.0123443603515625, 0.004093170166015625 ]
5584823e7de7bc2f1416849a8f3703c4d9dc17e7
Wordpress Stackexchange Q: wp_nav_menu: show menu only if one exists, otherwise show nothing I'm trying to use wp_nav_menu to only display a menu if one exists, otherwise, display nothing. If I delete the menu, it will output a list of the pages. My functions.php file contains: if (function_exists('register_nav_menus')) { register_nav_menus ( array('main_nav' => 'Main Navigation Menu'));} How can I use wp_nav_menu to only display a menu if one exists, otherwise show nothing? A: You can just specify false as the fallback_cb argument of wp_nav_menu. Nothing will show up -- rather, wp_nav_menu will return false (echoing nothing out). <?php wp_nav_menu(array( 'theme_location' => $main_nav, 'menu_class' => 'nav', 'container' => '', 'fallback_cb' => false ));
Q: wp_nav_menu: show menu only if one exists, otherwise show nothing I'm trying to use wp_nav_menu to only display a menu if one exists, otherwise, display nothing. If I delete the menu, it will output a list of the pages. My functions.php file contains: if (function_exists('register_nav_menus')) { register_nav_menus ( array('main_nav' => 'Main Navigation Menu'));} How can I use wp_nav_menu to only display a menu if one exists, otherwise show nothing? A: You can just specify false as the fallback_cb argument of wp_nav_menu. Nothing will show up -- rather, wp_nav_menu will return false (echoing nothing out). <?php wp_nav_menu(array( 'theme_location' => $main_nav, 'menu_class' => 'nav', 'container' => '', 'fallback_cb' => false )); A: Use has_nav_menu(), and test for theme_location, rather than menu_id: <?php if ( has_nav_menu( $theme_location ) ) { // User has assigned menu to this location; // output it wp_nav_menu( array( 'theme_location' => $theme_location, 'menu_class' => 'nav', 'container' => '' ) ); } ?> You can output alternate content, by adding an else clause. EDIT You need to replace $theme_location with your actual theme_location: <?php if ( has_nav_menu( 'main_nav' ) ) { // User has assigned menu to this location; // output it wp_nav_menu( array( 'theme_location' => 'main_nav', 'menu_class' => 'nav', 'container' => '' ) ); } ?> A: You can just register menu firstly without specifying the location. In functions.php: add_action( 'init', 'register_my_menus' ); function register_my_menus() { register_nav_menus( array( 'header' => __( 'Header Menu' ) ) ); } And when you call the menu in header.php, check with has_nav_menu(): if ( has_nav_menu( 'header' ) ) { wp_nav_menu( array( 'theme_location' => 'header' ) ); } A: Read this: http://codex.wordpress.org/Function_Reference/wp_nav_menu set 'fallback_cb' => false and none will be displayed, this is the standard method suggested by wp guys.
wordpress
{ "language": "en", "length": 287, "provenance": "stackexchange_00019.jsonl.gz:414315", "question_score": "14", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32739" }
[ 0.050750732421875, 0.00014007091522216797, 0.033538818359375, 0.03759765625, 0.01519012451171875, -0.047454833984375, 0.0863037109375, -0.077880859375, -0.0079803466796875, 0.0183868408203125, -0.05987548828125, 0.019287109375, -0.0419921875, -0.0090179443359375, -0.012359619140625, -0.06103515625, 0.01031494140625, -0.01519012451171875, 0.0026111602783203125, -0.0250701904296875, 0.0062408447265625, -0.02142333984375, 0.020233154296875, 0.051422119140625, 0.01160430908203125, -0.0775146484375, 0.034210205078125, -0.022857666015625, -0.007534027099609375, -0.032928466796875, 0.018798828125, 0.041534423828125, -0.016357421875, 0.01052093505859375, 0.051727294921875, -0.003662109375, -0.03192138671875, 0.0272216796875, 0.03509521484375, -0.0216217041015625, 0.0206298828125, -0.01593017578125, 0.0013093948364257812, -0.02471923828125, -0.0030651092529296875, -0.038848876953125, 0.0170135498046875, -0.045806884765625, 0.005573272705078125, -0.028045654296875, 0.048492431640625, 0.016357421875, 0.062744140625, -0.008941650390625, -0.038482666015625, -0.0245513916015625, -0.01168060302734375, -0.016876220703125, 0.0226898193359375, 0.050018310546875, 0.002899169921875, -0.005016326904296875, 0.01319122314453125, -0.040771484375, -0.008575439453125, 0.019134521484375, -0.0251617431640625, 0.0016260147094726562, -0.0743408203125, -0.0095672607421875, 0.0308074951171875, -0.06658935546875, -0.00800323486328125, 0.0092620849609375, -0.041656494140625, -0.0276031494140625, 0.04345703125, -0.00925445556640625, 0.007404327392578125, 0.0201568603515625, 0.00812530517578125, 0.0037364959716796875, -0.051513671875, -0.0182342529296875, 0.02410888671875, 0.015655517578125, -0.01488494873046875, -0.0292510986328125, -0.0216064453125, -0.014678955078125, -0.0174102783203125, -0.025390625, -0.009490966796875, -0.00865936279296875, -0.012725830078125, -0.039581298828125, 0.0217132568359375, 0.098876953125, -0.0382080078125, 0.02069091796875, -0.0191192626953125, -0.01386260986328125, 0.0130615234375, -0.07305908203125, 0.023040771484375, 0.06732177734375, 0.0180816650390625, -0.006893157958984375, 0.02911376953125, 0.0006070137023925781, 0.0065460205078125, 0.0379638671875, -0.0296173095703125, -0.040496826171875, -0.00722503662109375, 0.02886962890625, -0.046661376953125, -0.01316070556640625, 0.005084991455078125, -0.03094482421875, -0.01030731201171875, 0.0340576171875, -0.01171112060546875, 0.00878143310546875, -0.004566192626953125, 0.003978729248046875, 0.0095062255859375, -0.0224456787109375, -0.021148681640625, 0.00350189208984375, -0.024017333984375, 0.01511383056640625, 0.04168701171875, 0.03302001953125, 0.007904052734375, -0.019287109375, 0.0115814208984375, 0.013702392578125, 0.01082611083984375, 0.002811431884765625, 0.02618408203125, -0.00885009765625, 0.00022161006927490234, 0.00618743896484375, -0.009613037109375, -0.0019626617431640625, 0.01357269287109375, 0.020111083984375, -0.00377655029296875, -0.040679931640625, 0.004146575927734375, 0.015472412109375, 0.04034423828125, -0.002773284912109375, -0.0274200439453125, 0.0008945465087890625, 0.0014047622680664062, -0.01068115234375, -0.0294647216796875, -0.0178375244140625, -0.0294647216796875, -0.025115966796875, 0.0104522705078125, -0.055419921875, -0.0626220703125, 0.03204345703125, -0.035491943359375, -0.01406097412109375, 0.0101165771484375, 0.01172637939453125, -0.034820556640625, -0.0093994140625, 0.004276275634765625, 0.012359619140625, -0.0051116943359375, 0.036468505859375, 0.014678955078125, 0.00894927978515625, 0.0204620361328125, 0.0433349609375, -0.003421783447265625, -0.03558349609375, 0.048675537109375, -0.01500701904296875, -0.083740234375, 0.04754638671875, -0.00881195068359375, 0.05462646484375, 0.03179931640625, 0.00644683837890625, 0.048736572265625, 0.019805908203125, -0.015655517578125, -0.0243988037109375, -0.005451202392578125, -0.0025348663330078125, 0.0025653839111328125, 0.005603790283203125, -0.0175933837890625, 0.004848480224609375, -0.002422332763671875, -0.0127410888671875, -0.01111602783203125, -0.033477783203125, -0.11138916015625, -0.0009107589721679688, -0.0430908203125, 0.0528564453125, -0.01641845703125, 0.04522705078125, 0.014556884765625, 0.014678955078125, -0.02532958984375, -0.0401611328125, -0.01012420654296875, -0.01995849609375, -0.04058837890625, 0.004550933837890625, -0.040496826171875, 0.00797271728515625, -0.0309600830078125, 0.01361846923828125, -0.025604248046875, 0.0194854736328125, 0.05108642578125, -0.0201416015625, -0.0180511474609375, -0.027130126953125, 0.0254669189453125, 0.0036983489990234375, -0.04583740234375, 0.033905029296875, 0.04986572265625, 0.0165252685546875, -0.04095458984375, 0.0029544830322265625, 0.0068511962890625, -0.04107666015625, -0.00826263427734375, 0.05267333984375, 0.029510498046875, 0.031219482421875, -0.011474609375, -0.0230712890625, 0.0390625, -0.061492919921875, -0.0063323974609375, -0.020599365234375, -0.04949951171875, -0.04150390625, 0.057525634765625, 0.005939483642578125, 0.028961181640625, 0.01171112060546875, -0.006069183349609375, 0.024505615234375, -0.0046234130859375, 0.021759033203125, 0.0023479461669921875, -0.0013675689697265625, -0.00853729248046875, 0.0196533203125, 0.02313232421875, -0.012969970703125, -0.011749267578125, -0.0023174285888671875, -0.022705078125, -0.0180816650390625, -0.0160675048828125, 0.003566741943359375, 0.036224365234375, -0.005878448486328125, 0.003879547119140625, 0.033233642578125, 0.0029354095458984375, 0.033721923828125, -0.0174102783203125, -0.01076507568359375, 0.0174560546875, 0.023773193359375, -0.0161285400390625, 0.007328033447265625, 0.0413818359375, -0.016387939453125, 0.01788330078125, -0.0085296630859375, 0.03448486328125, -0.028656005859375, -0.0022563934326171875, -0.004695892333984375, 0.0269775390625, 0.006015777587890625, -0.01433563232421875, 0.0171356201171875, -0.007495880126953125, -0.01328277587890625, 0.0163116455078125, 0.0162353515625, 0.007259368896484375, -0.01204681396484375, 0.006824493408203125, 0.03125, 0.003116607666015625, -0.009674072265625, -0.006328582763671875, 0.0421142578125, -0.00853729248046875, 0.017547607421875, -0.0070037841796875, 0.006755828857421875, -0.035797119140625, 0.0275115966796875, 0.01361083984375, -0.03814697265625, 0.00867462158203125, -0.0179290771484375, -0.035736083984375, -0.0157470703125, -0.0638427734375, -0.0256500244140625, 0.0020694732666015625, -0.011627197265625, 0.06854248046875, 0.032379150390625, 0.0130157470703125, -0.0506591796875, 0.057342529296875, 0.025604248046875, 0.00040221214294433594, -0.02740478515625, -0.0626220703125, -0.02911376953125, -0.07025146484375, 0.0341796875, -0.01445770263671875, 0.005237579345703125, -0.0025730133056640625, 0.051727294921875, 0.0125885009765625, -0.039825439453125, 0.046051025390625, 0.034820556640625, -0.0114593505859375, 0.043670654296875, 0.049957275390625, -0.0236053466796875, -0.04620361328125, 0.0083770751953125, 0.0258026123046875, 0.0105743408203125, -0.02447509765625, -0.0202178955078125, -0.004619598388671875, 0.0006346702575683594, 0.0364990234375, 0.0157012939453125, -0.01378631591796875, 0.031982421875, 0.06280517578125, -0.0026073455810546875, -0.0335693359375, -0.04193115234375, -0.06561279296875, 0.04095458984375, 0.056884765625, 0.011749267578125, -0.0249481201171875, 0.01093292236328125, 0.002178192138671875, 0.032318115234375, 0.002277374267578125, -0.0038127899169921875, 0.019256591796875, -0.00844573974609375, -0.025909423828125, -0.01464080810546875, 0.06634521484375, -0.01026153564453125, -0.040252685546875, 0.0197296142578125, 0.004291534423828125, -0.00862884521484375, -0.0176849365234375, -0.03948974609375, 0.0149078369140625, 0.04052734375, -0.0005507469177246094, 0.061676025390625, -0.0293731689453125, -0.02508544921875, -0.0280303955078125, 0.07049560546875, -0.033966064453125, -0.030181884765625, -0.014312744140625, 0.0165863037109375, 0.0168304443359375, -0.043548583984375, 0.00493621826171875, -0.033172607421875, -0.09710693359375, 0.02044677734375, -0.01464080810546875, -0.02117919921875, -0.006885528564453125, -0.03619384765625, -0.05621337890625, -0.0587158203125, 0.053253173828125, -0.07196044921875, 0.0271759033203125, 0.022247314453125, 0.0013704299926757812, -0.0310211181640625, -0.035919189453125, -0.0250244140625, -0.038360595703125, -0.0025463104248046875, -0.017059326171875, 0.0279998779296875, 0.0029888153076171875, 0.0226898193359375, 0.00746917724609375, 0.0297698974609375, 0.061431884765625, 0.023040771484375, 0.03973388671875, -0.020751953125, 0.029937744140625, -0.0226287841796875, 0.035614013671875, -0.033660888671875, 0.0078125, -0.0245819091796875, -0.039703369140625, -0.0133819580078125, -0.036712646484375, 0.01103973388671875, -0.003231048583984375, -0.02435302734375, -0.006565093994140625, -0.03192138671875, -0.027923583984375, 0.017486572265625, 0.01152801513671875, -0.0134124755859375, -0.0106964111328125, -0.039154052734375, -0.0248870849609375, -0.05181884765625, -0.01187896728515625, 0.038177490234375, 0.029052734375, 0.0147857666015625, 0.0151824951171875, -0.0189056396484375, 0.0289306640625, 0.0240936279296875, 0.005733489990234375, 0.056640625, 0.0030841827392578125, 0.0002582073211669922, 0.0290985107421875, -0.00699615478515625, 0.029327392578125, 0.032257080078125, 0.0170745849609375, 0.01001739501953125, -0.0303955078125, 0.0178985595703125, 0.003948211669921875, -0.063232421875, 0.051666259765625, 0.0283660888671875, -0.05377197265625, 0.04248046875, 0.06146240234375, -0.009796142578125, -0.03924560546875, -0.06365966796875, 0.01364898681640625, -0.026611328125, 0.037567138671875, 0.0621337890625, 0.03570556640625, -0.00201416015625, 0.00865936279296875, 0.06005859375, -0.0178375244140625, -0.0044708251953125, 0.01343536376953125, 0.00151824951171875, 0.03448486328125, -0.022430419921875, -0.0244293212890625, -0.0094146728515625, -0.00763702392578125, 0.07159423828125, 0.0243377685546875, -0.03314208984375, -0.006755828857421875, -0.0031070709228515625, 0.00475311279296875, 0.00017595291137695312, 0.0070343017578125, 0.0205230712890625, -0.0210418701171875, -0.0027179718017578125, -0.00597381591796875, -0.0192108154296875, -0.035919189453125, -0.025848388671875, 0.003719329833984375, 0.026641845703125, -0.01153564453125, 0.0043487548828125, 0.046539306640625, 0.005161285400390625, 0.0184173583984375, -0.00977325439453125, -0.00772857666015625, -0.019439697265625, 0.050201416015625, 0.033416748046875, -0.0217132568359375, 0.0082244873046875, 0.0205841064453125, -0.0011281967163085938, -0.0274658203125, -0.0443115234375, 0.017578125, 0.00020241737365722656, -0.01061248779296875, 0.0127410888671875, 0.0259857177734375, 0.044830322265625, -0.004852294921875, 0.06414794921875, -0.0198211669921875, -0.0684814453125, -0.042327880859375, 0.0223541259765625, 0.052093505859375, -0.047607421875, -0.0097808837890625, 0.01216888427734375, 0.019683837890625, 0.001861572265625, 0.02679443359375, -0.048126220703125, 0.0281524658203125, 0.043243408203125, 0.0085601806640625, -0.033355712890625, 0.02374267578125, -0.054168701171875, 0.023040771484375, -0.050628662109375, -0.0173797607421875, 0.0277862548828125, -0.019775390625, -0.002971649169921875, -0.0264434814453125, 0.01392364501953125, -0.0195465087890625, -0.006134033203125, 0.07037353515625, 0.0338134765625, -0.040374755859375, 0.01314544677734375, -0.0118865966796875, 0.01160430908203125, 0.01470947265625, -0.05645751953125, -0.0296173095703125, -0.041290283203125, 0.01541900634765625, 0.010955810546875, 0.026153564453125, 0.005550384521484375, -0.00603485107421875, 0.01062774658203125, 0.004932403564453125, -0.00514984130859375, -0.0111083984375, 0.06610107421875, 0.00855255126953125, 0.0291900634765625, 0.0159759521484375, 0.033233642578125, -0.016326904296875, -0.020233154296875, 0.030059814453125, 0.01678466796875, -0.01238250732421875, -0.04791259765625, 0.01080322265625, -0.0297393798828125, 0.051849365234375, -0.0187530517578125, 0.0257720947265625, -0.0010042190551757812, 0.00008594989776611328, -0.0009436607360839844, -0.0110015869140625, 0.007793426513671875, 0.0091705322265625, 0.04730224609375, -0.00554656982421875, 0.0440673828125, 0.012115478515625, 0.009735107421875, 0.0059661865234375, -0.00881195068359375, 0.0421142578125, -0.027435302734375, -0.0447998046875, 0.0770263671875, 0.06097412109375, -0.0023822784423828125, 0.04052734375, 0.00789642333984375, 0.0038394927978515625, 0.0042877197265625, -0.0290679931640625, -0.037353515625, 0.04071044921875, 0.031890869140625, -0.01068878173828125, 0.0191497802734375, 0.0401611328125, -0.0046844482421875, -0.0253753662109375, 0.069580078125, 0.035919189453125, -0.07305908203125, -0.01788330078125, 0.025390625, 0.015625, 0.0021190643310546875, -0.006008148193359375, -0.017822265625, -0.037078857421875, 0.0281982421875, -0.02606201171875, -0.0185699462890625, 0.0066986083984375, 0.0006690025329589844, 0.0149383544921875, -0.00887298583984375, 0.036834716796875, 0.0119171142578125, -0.034332275390625, -0.0133056640625, 0.0110931396484375, 0.0002741813659667969, -0.006687164306640625, -0.00799560546875, 0.00714111328125, -0.0200653076171875, -0.047576904296875, 0.02001953125, -0.0362548828125, 0.01548004150390625, 0.0193634033203125, 0.02178955078125, -0.025299072265625, 0.040924072265625, -0.0472412109375, 0.0565185546875, 0.0025577545166015625, -0.0268707275390625, -0.032562255859375, -0.027374267578125, 0.033935546875, 0.008880615234375, -0.06658935546875, 0.0297698974609375, -0.018646240234375, -0.0285491943359375, -0.0231781005859375, -0.0171661376953125, 0.1082763671875, -0.0321044921875, -0.0263824462890625, -0.0241546630859375, -0.0004172325134277344, 0.0178375244140625, -0.015167236328125, 0.06463623046875, -0.056884765625, -0.01446533203125, 0.01493072509765625, 0.01154327392578125, -0.031494140625, -0.0094757080078125, -0.010009765625, 0.06927490234375, -0.04815673828125, -0.025543212890625, 0.01424407958984375, 0.0443115234375, 0.00218963623046875, 0.052947998046875, -0.053436279296875, 0.06195068359375, 0.041259765625, 0.040008544921875, -0.026214599609375, 0.005535125732421875, 0.01378631591796875, 0.0009365081787109375, -0.021575927734375, -0.0050506591796875, 0.017547607421875, 0.0237274169921875, 0.05914306640625, 0.0309295654296875, 0.01171875, 0.007602691650390625, -0.0297393798828125, -0.039306640625, 0.005878448486328125, -0.0166778564453125, 0.023834228515625, -0.023406982421875, -0.0285186767578125, -0.030120849609375, 0.034576416015625, 0.042327880859375, 0.019805908203125, 0.037261962890625, -0.019805908203125, 0.0134429931640625, 0.01654052734375, 0.0159912109375, 0.0030841827392578125, 0.00806427001953125, -0.00817108154296875, -0.0350341796875, 0.00853729248046875, -0.0304107666015625, 0.025482177734375, -0.0019435882568359375, -0.0101776123046875, 0.0113067626953125, 0.0090179443359375, 0.004058837890625, -0.0014200210571289062, -0.000022709369659423828, 0.023681640625, -0.021453857421875, 0.0199737548828125, 0.029052734375, 0.0390625, -0.03424072265625, -0.066162109375, 0.0606689453125, 0.062255859375, -0.004913330078125, -0.0731201171875, 0.0159454345703125, 0.015869140625, -0.00099945068359375, 0.0411376953125, 0.017303466796875, -0.007354736328125, 0.0819091796875, 0.0033092498779296875, 0.01419830322265625, 0.033416748046875, 0.0014495849609375, 0.0128326416015625, 0.025115966796875, -0.03778076171875, 0.041107177734375, -0.0634765625, 0.037872314453125, 0.0289459228515625, 0.06439208984375, 0.000015854835510253906, 0.051544189453125, -0.00843048095703125, -0.02716064453125, 0.0037250518798828125, 0.05255126953125, -0.039581298828125, 0.0047607421875, -0.027557373046875, -0.071044921875, -0.0230560302734375, 0.02349853515625, 0.0283050537109375, 0.0185546875, 0.048126220703125, 0.03851318359375, -0.0025691986083984375, -0.007076263427734375, 0.04705810546875, -0.0079803466796875, -0.072265625, -0.00726318359375, -0.0192108154296875, 0.030731201171875, 0.01763916015625, 0.016357421875, 0.0305633544921875, -0.0017347335815429688, -0.00516510009765625, 0.008514404296875, 0.0028533935546875, -0.021575927734375, 0.003452301025390625, -0.0014505386352539062, 0.030364990234375, 0.0219879150390625, -0.10760498046875, -0.035552978515625, -0.00408172607421875, -0.0018377304077148438, 0.023956298828125, 0.047119140625, 0.004520416259765625, 0.00829315185546875, 0.0296630859375, 0.01885986328125, 0.0059967041015625, -0.025604248046875, 0.0037288665771484375, -0.01445770263671875, 0.036712646484375, 0.017974853515625, -0.0538330078125, -0.01306915283203125, -0.007671356201171875, -0.001605987548828125, 0.003841400146484375, 0.007686614990234375, 0.039276123046875, 0.0038318634033203125, 0.0175018310546875, 0.039947509765625, -0.0297393798828125, -0.0257720947265625, 0.0302276611328125, -0.024322509765625, 0.0186614990234375, 0.00254058837890625, -0.07989501953125, 0.00534820556640625, 0.046630859375, -0.0226593017578125, 0.03985595703125, -0.0036163330078125, 0.0175933837890625, -0.05938720703125, -0.0140228271484375, -0.0169525146484375, -0.0256195068359375, -0.017486572265625, 0.0120086669921875, 0.02020263671875, 0.06396484375, 0.0026721954345703125, 0.019927978515625, 0.009918212890625, -0.059234619140625, 0.01329803466796875, -0.047760009765625, -0.00563812255859375, 0.0236968994140625, 0.06463623046875, 0.01531219482421875, -0.051055908203125, -0.020751953125, -0.006214141845703125, -0.001804351806640625, -0.04229736328125, -0.01678466796875, -0.008819580078125, 0.039825439453125, -0.005161285400390625, 0.0179595947265625, -0.0628662109375, 0.004978179931640625, 0.040496826171875, 0.021392822265625, 0.0157012939453125, -0.0229949951171875, -0.04119873046875, -0.037750244140625, -0.014678955078125, 0.01776123046875, -0.0228118896484375, -0.03631591796875, -0.0689697265625, 0.020965576171875, 0.021148681640625, -0.0070648193359375, -0.0202789306640625, 0.034820556640625, -0.04132080078125, 0.03570556640625, -0.03851318359375, 0.0285186767578125, -0.004184722900390625, -0.01064300537109375, -0.03729248046875, 0.03131103515625, -0.010223388671875, 0.01409912109375, 0.0313720703125, -0.026763916015625, 0.0024394989013671875, -0.00954437255859375, -0.028564453125, -0.026123046875, -0.00069427490234375, 0.0090484619140625, 0.0208282470703125, -0.03094482421875, -0.06402587890625, -0.000675201416015625, 0.02105712890625, 0.048248291015625, 0.031341552734375, -0.0120391845703125, -0.07037353515625, -0.004604339599609375, 0.022308349609375, 0.03985595703125, -0.0284271240234375, -0.07098388671875, 0.044830322265625, -0.009429931640625, -0.029541015625, 0.01140594482421875, 0.006916046142578125, -0.042236328125, 0.020538330078125, -0.00930023193359375, 0.0029048919677734375, 0.0693359375, 0.052337646484375, 0.0057525634765625, 0.059112548828125, 0.0029010772705078125, -0.01485443115234375, -0.028656005859375, -0.004726409912109375, -0.0179290771484375, 0.028045654296875, -0.0027008056640625, -0.01259613037109375, 0.0250396728515625, 0.0435791015625, -0.022003173828125, -0.033447265625, -0.00305938720703125, -0.035980224609375, 0.0243682861328125, -0.016082763671875, -0.034637451171875, -0.03765869140625, 0.028076171875, -0.00678253173828125, 0.009552001953125, 0.006633758544921875, -0.048858642578125, -0.046875, -0.036865234375, -0.0016031265258789062, 0.01849365234375, -0.06500244140625, 0.038055419921875, -0.0136871337890625, -0.02947998046875, -0.0299224853515625, 0.037384033203125, -0.05419921875, 0.0057525634765625, 0.000484466552734375, -0.006359100341796875, -0.08062744140625, -0.04248046875, 0.03570556640625, -0.018585205078125, -0.01117706298828125, 0.002170562744140625, 0.02313232421875, -0.00626373291015625, 0.04052734375, 0.01555633544921875, 0.004543304443359375, -0.0687255859375, -0.00522613525390625, -0.0167999267578125, 0.0035800933837890625, -0.041839599609375, -0.036590576171875, -0.005405426025390625, 0.022979736328125, 0.015899658203125, 0.052276611328125, -0.0250244140625, 0.02203369140625, 0.0238494873046875, -0.0300750732421875, -0.004894256591796875, 0.07098388671875, 0.00191497802734375, 0.051910400390625, 0.0006632804870605469, -0.01812744140625, 0.02911376953125, -0.045806884765625, -0.015350341796875, 0.01233673095703125, 0.0029392242431640625, -0.07110595703125, 0.06402587890625, 0.00830078125, 0.019561767578125, 0.041015625 ]
0939c2dd5dd2c09ec81b19d500f7bf6a87c1ca61
Wordpress Stackexchange Q: Run shortcode before filters My users post snippets code in comments. I created a shortcode for this : function post_codigo($atts,$content=""){ return '<code>'.$content.'</code>'; } add_shortcode('codigo','post_codigo'); Problem is that html gets filtered before its wrapped into the code tags. I think that if i can get the shortcode run before filters then i can use function pre_esc_html($content) { return preg_replace_callback( '#(<code.*?>)(.*?)(</code>)#imsu', create_function( '$i', 'return $i[1].esc_html($i[2]).$i[3];' ), $content ); } add_filter( 'the_content', 'pre_esc_html', 9 ); that i found around here. What you think? UPDATED: Ok now i changed my shortcode to: function post_codigo($atts,$content=""){ return '<code>'.esc_html($content).'</code>'; } add_shortcode('codigo','post_codigo'); But it still adding breaks and breaking the whole code into several tags A: You can filter the array $no_texturize_shortcodes, which is a collection of shortcodes that are excluded from wptexturize. If you do this, everything within [codigo] shortcode tags will not be texturized: add_filter( 'no_texturize_shortcodes', 'no_texturize_codigo_shortcode' ); function no_texturize_codigo_shortcode( $excluded_shortcodes ) { $excluded_shortcodes[] = 'codigo'; return $excluded_shortcodes; }
Q: Run shortcode before filters My users post snippets code in comments. I created a shortcode for this : function post_codigo($atts,$content=""){ return '<code>'.$content.'</code>'; } add_shortcode('codigo','post_codigo'); Problem is that html gets filtered before its wrapped into the code tags. I think that if i can get the shortcode run before filters then i can use function pre_esc_html($content) { return preg_replace_callback( '#(<code.*?>)(.*?)(</code>)#imsu', create_function( '$i', 'return $i[1].esc_html($i[2]).$i[3];' ), $content ); } add_filter( 'the_content', 'pre_esc_html', 9 ); that i found around here. What you think? UPDATED: Ok now i changed my shortcode to: function post_codigo($atts,$content=""){ return '<code>'.esc_html($content).'</code>'; } add_shortcode('codigo','post_codigo'); But it still adding breaks and breaking the whole code into several tags A: You can filter the array $no_texturize_shortcodes, which is a collection of shortcodes that are excluded from wptexturize. If you do this, everything within [codigo] shortcode tags will not be texturized: add_filter( 'no_texturize_shortcodes', 'no_texturize_codigo_shortcode' ); function no_texturize_codigo_shortcode( $excluded_shortcodes ) { $excluded_shortcodes[] = 'codigo'; return $excluded_shortcodes; } A: The no_texturize_shortcodes filter did nothing for me, as the content inside the shortcode would have already been filtered by wpautop() and any other filters hooked to the the_content. I resorted to changing the filter order of do_shortcode in relation to the_content, so that I can be certain it runs first of the two. Here's how: remove_filter('the_content', 'do_shortcode', 11); // AFTER wpautop() add_filter('the_content', 'do_shortcode', 9); // BEFORE wpautop() This seems to work out fairly well, but as this is quite an extensive alteration to the way WordPress handles its text/html conversion I'd recommend you use it with caution. The more plugins/shortcodes you are using the more likely you are to run in to trouble relating to this change I'd guess. A: Is your theme using comment_text() to display your visitor's comments? if so try changing: <?php comment_text(); ?> to: <?php echo do_shortcode(apply_filters('comment_text', get_comment_text())); ?> This will apply any "comment_text" filters to the comment text, before it will apply the shortcode. This should be done in your theme templates wherever comments are displayed. A: You should to use html chars? return '&lt;code&gt;'.$content.'&lt;/code&gt;'; . Tried this localy and it works gr8
wordpress
{ "language": "en", "length": 343, "provenance": "stackexchange_00019.jsonl.gz:414352", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32863" }
[ 0.023345947265625, -0.0234375, 0.0254974365234375, -0.00832366943359375, -0.0244903564453125, -0.0112457275390625, 0.001708984375, -0.039398193359375, -0.01291656494140625, 0.0164947509765625, 0.019012451171875, -0.00827789306640625, -0.03955078125, -0.043731689453125, -0.01023101806640625, -0.0177459716796875, 0.0057525634765625, 0.03076171875, 0.0250091552734375, -0.027801513671875, -0.0235595703125, -0.0222625732421875, 0.0225982666015625, 0.0256805419921875, -0.0193939208984375, 0.00417327880859375, 0.10821533203125, -0.01812744140625, -0.0300140380859375, -0.0205078125, 0.0029354095458984375, 0.01421356201171875, 0.03704833984375, 0.05596923828125, -0.092529296875, 0.0745849609375, -0.057159423828125, 0.041961669921875, -0.01207733154296875, 0.0305938720703125, 0.00951385498046875, -0.0187225341796875, 0.032135009765625, 0.018096923828125, 0.005260467529296875, -0.0275726318359375, 0.0343017578125, -0.050079345703125, 0.01580810546875, 0.01116180419921875, 0.0355224609375, 0.00251007080078125, 0.04791259765625, -0.0297698974609375, -0.01079559326171875, 0.01490020751953125, -0.057952880859375, 0.006683349609375, 0.032196044921875, 0.038330078125, 0.0010242462158203125, -0.0243072509765625, 0.01355743408203125, -0.03155517578125, 0.00763702392578125, -0.00402069091796875, -0.053802490234375, 0.016387939453125, -0.013092041015625, 0.02801513671875, 0.037841796875, -0.052337646484375, 0.01319122314453125, -0.029205322265625, 0.0038585662841796875, 0.0112457275390625, -0.01172637939453125, -0.004878997802734375, 0.01404571533203125, -0.01369476318359375, 0.03558349609375, -0.01302337646484375, 0.0107421875, 0.0002562999725341797, -0.0379638671875, -0.038299560546875, 0.0034694671630859375, 0.00861358642578125, -0.01800537109375, -0.0072174072265625, -0.01148223876953125, 0.0088653564453125, -0.0245819091796875, 0.0238037109375, -0.00963592529296875, -0.004730224609375, -0.00418853759765625, 0.037750244140625, -0.0283355712890625, 0.0102691650390625, 0.01036834716796875, -0.037017822265625, 0.043426513671875, -0.049102783203125, 0.0175628662109375, 0.03009033203125, -0.041412353515625, 0.0236053466796875, 0.0635986328125, 0.035980224609375, 0.01299285888671875, 0.0015964508056640625, -0.035430908203125, -0.0136871337890625, -0.033599853515625, 0.031402587890625, -0.032745361328125, -0.02587890625, -0.0027179718017578125, -0.0111236572265625, -0.0079193115234375, 0.0093536376953125, 0.01451873779296875, -0.056060791015625, 0.006282806396484375, -0.0286102294921875, -0.023681640625, -0.008209228515625, 0.038787841796875, 0.006256103515625, -0.0094146728515625, 0.0252838134765625, 0.023956298828125, 0.006023406982421875, -0.01239776611328125, -0.006565093994140625, 0.006687164306640625, -0.03363037109375, 0.003017425537109375, 0.0171051025390625, -0.00778961181640625, -0.007244110107421875, 0.0234832763671875, -0.007343292236328125, -0.00937652587890625, 0.0474853515625, 0.039794921875, -0.00658416748046875, -0.04205322265625, -0.08917236328125, 0.004169464111328125, 0.01140594482421875, 0.06781005859375, -0.01197052001953125, -0.0672607421875, -0.025390625, 0.039276123046875, -0.040679931640625, -0.04986572265625, -0.08441162109375, -0.01166534423828125, -0.0146636962890625, -0.0003604888916015625, -0.0221405029296875, -0.031463623046875, 0.0119476318359375, -0.00684356689453125, 0.020965576171875, 0.019775390625, 0.049652099609375, 0.0025539398193359375, -0.0028972625732421875, -0.01428985595703125, -0.001953125, -0.01043701171875, 0.003192901611328125, -0.0234832763671875, 0.01210784912109375, 0.045440673828125, -0.01425933837890625, 0.00896453857421875, -0.0279693603515625, 0.054046630859375, 0.004299163818359375, -0.09063720703125, 0.035888671875, 0.00615692138671875, 0.092041015625, 0.0399169921875, 0.009185791015625, 0.044281005859375, -0.0220489501953125, -0.023040771484375, -0.01052093505859375, -0.0028324127197265625, -0.06170654296875, 0.0281524658203125, -0.0312042236328125, 0.01372528076171875, 0.050506591796875, 0.035247802734375, -0.0193634033203125, 0.033538818359375, -0.02667236328125, -0.04840087890625, -0.00853729248046875, -0.0246734619140625, 0.018798828125, -0.005725860595703125, -0.01468658447265625, 0.0196990966796875, -0.02557373046875, -0.035369873046875, 0.08111572265625, 0.0008807182312011719, 0.0175018310546875, -0.028228759765625, 0.041168212890625, 0.0140838623046875, 0.0126953125, 0.028778076171875, -0.04052734375, 0.040283203125, 0.00850677490234375, 0.027130126953125, -0.03192138671875, -0.0038127899169921875, -0.019012451171875, 0.0175323486328125, 0.003559112548828125, -0.02618408203125, 0.032958984375, 0.047088623046875, 0.0191192626953125, -0.05804443359375, -0.0015354156494140625, -0.01544952392578125, 0.0293426513671875, -0.0130615234375, 0.0338134765625, 0.04833984375, 0.08636474609375, 0.025115966796875, -0.031036376953125, 0.1185302734375, -0.0283355712890625, 0.0133209228515625, -0.0421142578125, -0.000048220157623291016, 0.0085296630859375, 0.0042266845703125, 0.0030975341796875, 0.02655029296875, -0.045562744140625, 0.031829833984375, 0.022674560546875, -0.0303955078125, -0.01448822021484375, -0.00434112548828125, 0.002674102783203125, 0.017974853515625, -0.053497314453125, -0.0322265625, -0.029571533203125, 0.0751953125, -0.0086822509765625, 0.039093017578125, 0.004917144775390625, -0.06646728515625, 0.023162841796875, 0.029754638671875, 0.0340576171875, -0.00627899169921875, 0.045135498046875, 0.062225341796875, 0.000431060791015625, -0.032806396484375, -0.0174560546875, 0.00592041015625, 0.051971435546875, -0.00933074951171875, 0.0601806640625, -0.03387451171875, -0.0256195068359375, -0.01381683349609375, -0.0243377685546875, -0.0279693603515625, -0.01751708984375, 0.0038928985595703125, -0.038238525390625, -0.0277557373046875, 0.045806884765625, -0.00746917724609375, 0.03570556640625, 0.04852294921875, -0.0161895751953125, 0.01812744140625, -0.048614501953125, 0.04022216796875, -0.031341552734375, -0.0005278587341308594, 0.05926513671875, 0.00537872314453125, -0.021575927734375, 0.0085296630859375, -0.019073486328125, 0.0161895751953125, -0.0058441162109375, -0.026763916015625, -0.0291900634765625, -0.02386474609375, -0.007720947265625, 0.015777587890625, 0.06036376953125, -0.024749755859375, -0.027313232421875, -0.004177093505859375, 0.0260467529296875, 0.002277374267578125, -0.02789306640625, 0.0197296142578125, -0.0006170272827148438, -0.006443023681640625, -0.00075531005859375, -0.00007790327072143555, -0.0176544189453125, -0.005741119384765625, -0.00788116455078125, -0.031097412109375, -0.006099700927734375, -0.04510498046875, -0.030670166015625, -0.034210205078125, 0.080078125, -0.0063323974609375, 0.0147857666015625, 0.0232696533203125, 0.0159149169921875, 0.01593017578125, -0.0153045654296875, 0.036590576171875, -0.015167236328125, -0.03363037109375, 0.000286102294921875, 0.003749847412109375, -0.0178070068359375, -0.0232391357421875, 0.001552581787109375, 0.025787353515625, 0.00582122802734375, 0.00757598876953125, -0.00616455078125, 0.0128173828125, 0.0012149810791015625, 0.027374267578125, 0.0260009765625, -0.002925872802734375, 0.0254364013671875, 0.045501708984375, -0.021759033203125, 0.0216827392578125, -0.033233642578125, -0.03466796875, -0.00360107421875, 0.024810791015625, -0.01116943359375, -0.006900787353515625, -0.0202178955078125, 0.038818359375, -0.00015592575073242188, 0.07086181640625, -0.0078582763671875, -0.007312774658203125, -0.0103607177734375, 0.003826141357421875, -0.06243896484375, 0.033935546875, -0.0267486572265625, 0.00902557373046875, 0.0124664306640625, 0.029815673828125, -0.0004725456237792969, 0.00815582275390625, -0.0291900634765625, 0.0199127197265625, 0.059967041015625, 0.0274658203125, 0.0249176025390625, -0.032257080078125, -0.035064697265625, -0.050506591796875, 0.0364990234375, -0.08990478515625, -0.0021495819091796875, -0.004276275634765625, 0.0038509368896484375, 0.0011892318725585938, -0.0198516845703125, -0.053741455078125, -0.00934600830078125, -0.05743408203125, 0.0164794921875, -0.01641845703125, -0.004425048828125, 0.0026683807373046875, -0.01739501953125, -0.00926971435546875, -0.04010009765625, 0.01904296875, 0.00860595703125, 0.005748748779296875, -0.033172607421875, -0.00018727779388427734, -0.06146240234375, -0.0041961669921875, -0.01180267333984375, -0.038360595703125, -0.0024166107177734375, 0.00501251220703125, -0.004886627197265625, 0.012908935546875, -0.0274505615234375, -0.0280914306640625, 0.018951416015625, -0.0164642333984375, 0.011932373046875, 0.00769805908203125, 0.025726318359375, -0.0199127197265625, 0.05096435546875, 0.01401519775390625, 0.00024819374084472656, 0.0162811279296875, 0.050537109375, 0.019134521484375, 0.09014892578125, -0.0419921875, -0.040252685546875, -0.0125274658203125, -0.046295166015625, -0.05889892578125, -0.042694091796875, -0.0246734619140625, -0.0064849853515625, -0.032318115234375, -0.0022411346435546875, -0.032073974609375, -0.05584716796875, 0.056854248046875, -0.00850677490234375, -0.0012483596801757812, -0.003856658935546875, 0.064697265625, 0.007232666015625, -0.020477294921875, -0.043731689453125, 0.038848876953125, 0.052825927734375, -0.025177001953125, 0.0184326171875, 0.006633758544921875, -0.03973388671875, 0.08416748046875, 0.0005235671997070312, -0.0069122314453125, 0.0083770751953125, 0.04486083984375, 0.0107879638671875, -0.013885498046875, 0.00952911376953125, 0.003753662109375, -0.009735107421875, -0.00791168212890625, -0.01319122314453125, 0.00586700439453125, 0.0227203369140625, -0.00823974609375, -0.0084075927734375, 0.01119232177734375, 0.0077667236328125, -0.0237579345703125, 0.0021495819091796875, 0.053131103515625, 0.01471710205078125, 0.05072021484375, -0.006465911865234375, 0.00019669532775878906, -0.00524139404296875, 0.042083740234375, -0.010833740234375, 0.014312744140625, -0.0404052734375, 0.09246826171875, -0.077392578125, 0.0166015625, 0.005153656005859375, -0.0005550384521484375, 0.04400634765625, -0.002445220947265625, -0.0238800048828125, -0.035614013671875, 0.0033283233642578125, -0.02703857421875, -0.00479888916015625, 0.0225372314453125, 0.00902557373046875, -0.038360595703125, 0.00958251953125, 0.0140838623046875, -0.023345947265625, 0.002849578857421875, -0.01259613037109375, -0.0287322998046875, -0.0122528076171875, -0.018524169921875, 0.0121917724609375, -0.021270751953125, -0.061920166015625, 0.0037212371826171875, 0.0108489990234375, 0.0258331298828125, -0.01021575927734375, 0.01235198974609375, 0.0265655517578125, 0.00038170814514160156, 0.01446533203125, -0.0080413818359375, -0.005615234375, -0.031494140625, -0.044036865234375, 0.04217529296875, 0.04461669921875, -0.02862548828125, 0.0161895751953125, -0.005962371826171875, 0.01114654541015625, -0.0244140625, 0.0016698837280273438, 0.06903076171875, 0.02880859375, -0.02294921875, -0.003658294677734375, 0.0119781494140625, 0.0721435546875, 0.006443023681640625, 0.002643585205078125, 0.0115966796875, 0.00923919677734375, -0.0221099853515625, -0.01238250732421875, -0.017303466796875, -0.0029087066650390625, -0.0060272216796875, -0.02630615234375, -0.0513916015625, 0.021484375, -0.025482177734375, 0.00518798828125, -0.0035114288330078125, 0.047760009765625, -0.0195159912109375, 0.03778076171875, -0.0426025390625, 0.00658416748046875, -0.0171966552734375, 0.007045745849609375, 0.03125, 0.0150604248046875, -0.0180816650390625, 0.0014123916625976562, -0.045867919921875, -0.0107421875, -0.0244903564453125, -0.037689208984375, -0.0293731689453125, -0.00730133056640625, -0.0190887451171875, 0.0182952880859375, -0.0076751708984375, 0.02630615234375, -0.0027751922607421875, 0.035919189453125, -0.008819580078125, 0.080810546875, -0.017364501953125, 0.0305328369140625, 0.01947021484375, 0.00316619873046875, 0.0018358230590820312, 0.0204925537109375, 0.01079559326171875, -0.013397216796875, 0.005123138427734375, -0.037750244140625, -0.0333251953125, -0.01546478271484375, -0.0215606689453125, 0.048004150390625, 0.06719970703125, -0.0018453598022460938, 0.019561767578125, 0.00780487060546875, -0.0024662017822265625, -0.0201568603515625, 0.0013761520385742188, 0.0150909423828125, 0.0438232421875, -0.00811004638671875, -0.0185699462890625, -0.0159454345703125, -0.02239990234375, 0.01270294189453125, 0.005462646484375, -0.01153564453125, -0.007541656494140625, 0.005039215087890625, 0.035308837890625, 0.0316162109375, 0.037261962890625, -0.041778564453125, 0.018096923828125, 0.0300140380859375, 0.0010547637939453125, -0.01216888427734375, -0.0029697418212890625, 0.007686614990234375, -0.0013818740844726562, 0.03338623046875, -0.01380157470703125, 0.005870819091796875, 0.0225372314453125, -0.020111083984375, -0.00482177734375, 0.060821533203125, 0.07000732421875, -0.056182861328125, -0.01800537109375, 0.0218963623046875, -0.042877197265625, -0.058013916015625, -0.008880615234375, -0.00006985664367675781, -0.018524169921875, 0.07708740234375, -0.0059356689453125, 0.0026149749755859375, 0.041046142578125, -0.007091522216796875, -0.025665283203125, -0.0308074951171875, 0.01354217529296875, 0.016845703125, -0.00386810302734375, 0.026824951171875, 0.01169586181640625, -0.00954437255859375, -0.037506103515625, 0.038482666015625, -0.016998291015625, -0.02288818359375, -0.060333251953125, -0.005695343017578125, 0.045562744140625, -0.03814697265625, 0.026947021484375, -0.0088958740234375, 0.00952911376953125, 0.0237884521484375, -0.022674560546875, 0.037750244140625, 0.01242828369140625, -0.0172576904296875, 0.0153961181640625, -0.0304107666015625, -0.0183868408203125, 0.040069580078125, -0.00948333740234375, 0.0228271484375, 0.00876617431640625, -0.0014047622680664062, 0.0063323974609375, 0.012908935546875, 0.0535888671875, -0.01538848876953125, -0.023590087890625, 0.006420135498046875, 0.00519561767578125, 0.0080413818359375, -0.00984954833984375, -0.0269622802734375, -0.0232086181640625, -0.0003800392150878906, -0.02606201171875, -0.051055908203125, 0.0174560546875, -0.03546142578125, -0.10986328125, 0.09344482421875, 0.0007867813110351562, 0.0784912109375, -0.0016527175903320312, 0.0171966552734375, -0.026153564453125, -0.0205078125, -0.03131103515625, 0.039337158203125, -0.01506805419921875, 0.05194091796875, -0.04168701171875, -0.0084686279296875, 0.0418701171875, 0.0232086181640625, 0.034454345703125, 0.0093231201171875, -0.00814056396484375, -0.0224151611328125, 0.0193634033203125, 0.037872314453125, -0.014617919921875, 0.0127410888671875, -0.02484130859375, 0.018463134765625, 0.001728057861328125, -0.0614013671875, 0.0245361328125, -0.04486083984375, -0.01837158203125, -0.0108489990234375, -0.01154327392578125, -0.023468017578125, -0.0009813308715820312, 0.04583740234375, -0.038909912109375, 0.006267547607421875, 0.01148223876953125, 0.0181121826171875, -0.026275634765625, 0.033233642578125, 0.0308685302734375, -0.086181640625, -0.07086181640625, -0.036102294921875, 0.03497314453125, 0.032745361328125, 0.048431396484375, 0.08001708984375, 0.0386962890625, 0.04010009765625, -0.0173492431640625, 0.048248291015625, -0.004791259765625, -0.033416748046875, -0.007049560546875, -0.019561767578125, 0.01183319091796875, -0.0208892822265625, 0.0188751220703125, -0.0016202926635742188, -0.00849151611328125, -0.01947021484375, 0.0233001708984375, 0.007755279541015625, -0.006328582763671875, -0.046661376953125, -0.032806396484375, -0.011566162109375, -0.002651214599609375, -0.0261688232421875, -0.01654052734375, 0.0031528472900390625, -0.01479339599609375, 0.045135498046875, -0.0222625732421875, -0.02020263671875, -0.01044464111328125, -0.0078125, -0.03326416015625, 0.01390838623046875, 0.00940704345703125, 0.043060302734375, 0.0016632080078125, 0.040802001953125, -0.05059814453125, -0.01105499267578125, -0.01328277587890625, 0.003231048583984375, -0.0134735107421875, 0.01558685302734375, -0.00830841064453125, -0.000804901123046875, 0.0010662078857421875, 0.0204010009765625, 0.040130615234375, -0.007297515869140625, 0.01454925537109375, 0.0228118896484375, 0.0232086181640625, 0.0005002021789550781, 0.06561279296875, 0.007205963134765625, -0.01910400390625, -0.0189056396484375, -0.018310546875, 0.0129547119140625, -0.01184844970703125, 0.017608642578125, 0.0222625732421875, 0.0270233154296875, -0.0182037353515625, 0.0128631591796875, -0.001026153564453125, -0.03851318359375, 0.0281524658203125, -0.006923675537109375, 0.042724609375, 0.00003510713577270508, -0.031494140625, 0.002285003662109375, -0.0311126708984375, -0.06060791015625, 0.0252838134765625, 0.040496826171875, -0.0260772705078125, 0.020965576171875, 0.053802490234375, -0.052520751953125, 0.0018672943115234375, 0.049652099609375, -0.00537872314453125, -0.006069183349609375, 0.0190582275390625, -0.0162353515625, -0.0305023193359375, -0.03192138671875, -0.017547607421875, 0.07659912109375, 0.01922607421875, 0.047576904296875, -0.0227203369140625, 0.045684814453125, -0.00414276123046875, -0.004558563232421875, -0.00984954833984375, -0.0006628036499023438, 0.004764556884765625, -0.00408935546875, 0.0171966552734375, -0.0146331787109375, 0.0220489501953125, -0.0023174285888671875, 0.056396484375, -0.0258331298828125, -0.006252288818359375, -0.0232696533203125, 0.03253173828125, -0.0011262893676757812, 0.05010986328125, -0.0164794921875, -0.02459716796875, -0.046600341796875, -0.01812744140625, 0.0223236083984375, 0.01959228515625, 0.0293426513671875, 0.005863189697265625, 0.043548583984375, -0.0257110595703125, 0.0325927734375, -0.011962890625, 0.042236328125, 0.03289794921875, 0.019927978515625, 0.0615234375, 0.0230712890625, -0.0249176025390625, 0.0281524658203125, 0.028961181640625, -0.0595703125, 0.035400390625, -0.0380859375, -0.036590576171875, 0.043426513671875, 0.052032470703125, 0.0198516845703125, 0.034393310546875, -0.0007925033569335938, -0.0325927734375, 0.0045928955078125, 0.06365966796875, -0.0026092529296875, -0.02117919921875, -0.01363372802734375, -0.00507354736328125, -0.02587890625, -0.03741455078125, -0.052734375, -0.021942138671875, 0.0304412841796875, 0.01216888427734375, -0.06439208984375, -0.002857208251953125, 0.0169677734375, 0.03717041015625, -0.01432037353515625, 0.055450439453125, -0.058349609375, -0.06719970703125, -0.033172607421875, -0.0465087890625, -0.060699462890625, 0.0972900390625, -0.0181884765625, -0.00408172607421875, 0.035491943359375, 0.00348663330078125, -0.0859375, 0.01297760009765625, -0.02154541015625, 0.05010986328125, -0.03668212890625, -0.005573272705078125, 0.057098388671875, -0.0018224716186523438, -0.045135498046875, -0.09307861328125, -0.0057525634765625, -0.060577392578125, 0.044189453125, 0.002834320068359375, -0.02203369140625, -0.0140228271484375, -0.034454345703125, -0.084228515625, 0.037628173828125, -0.00643157958984375, -0.038299560546875, -0.026702880859375, -0.0101470947265625, 0.0030422210693359375, 0.005809783935546875, -0.006977081298828125, -0.033111572265625, -0.0467529296875, -0.0028781890869140625, 0.00917816162109375, 0.0513916015625, 0.0180816650390625, -0.0088653564453125, 0.0203857421875, 0.021820068359375, 0.0202178955078125, 0.00514984130859375, 0.005550384521484375, -0.021240234375, 0.06640625, 0.0255889892578125, -0.0126190185546875, 0.0255889892578125, 0.03021240234375, -0.03515625, 0.01035308837890625, -0.05181884765625, -0.0684814453125, -0.03369140625, 0.12274169921875, 0.0032806396484375, 0.042205810546875, -0.016998291015625, -0.0019683837890625, 0.0126800537109375, -0.0269012451171875, -0.0098724365234375, 0.0218505859375, -0.050323486328125, -0.030792236328125, -0.0166168212890625, 0.001972198486328125, 0.00734710693359375, -0.033447265625, -0.0107574462890625, -0.014312744140625, -0.006916046142578125, 0.007389068603515625, -0.0229034423828125, -0.032135009765625, 0.0237884521484375, -0.0203704833984375, -0.00926971435546875, -0.00905609130859375, 0.0272216796875, -0.005886077880859375, -0.0030841827392578125, -0.00894927978515625, -0.027130126953125, 0.01111602783203125, 0.0291900634765625, 0.02130126953125, -0.00829315185546875, -0.0012836456298828125, -0.0018529891967773438, -0.00897979736328125, -0.01788330078125, 0.01611328125, -0.0144805908203125, -0.00850677490234375, -0.025390625, -0.00502777099609375, 0.00614166259765625, -0.038421630859375, 0.034332275390625, -0.006931304931640625, -0.0027065277099609375, 0.01104736328125, 0.00830078125, 0.07293701171875, -0.004547119140625, 0.0198211669921875, 0.017120361328125, 0.0162506103515625, -0.0143280029296875, 0.0101165771484375, -0.021453857421875, 0.018341064453125, 0.004306793212890625 ]
d11b4e7b9490cf3fb01a972cf7e8bd7d58907d36
Wordpress Stackexchange Q: delete uploaded file I have a function wp_handle_upload() for uploads files. $file = $_FILES['attachment_icon-' . $i]; $upload = wp_handle_upload($file, array('test_form' => false)); what is a function for delete a uploaded file? A: Use wp_delete_attachment( $post_id ) if you have used wp_insert_attachment() before. $post_id is the attachment ID. If you haven’t used wp_insert_attachment() a simple … unlink( $upload['file'] ); … will do it.
Q: delete uploaded file I have a function wp_handle_upload() for uploads files. $file = $_FILES['attachment_icon-' . $i]; $upload = wp_handle_upload($file, array('test_form' => false)); what is a function for delete a uploaded file? A: Use wp_delete_attachment( $post_id ) if you have used wp_insert_attachment() before. $post_id is the attachment ID. If you haven’t used wp_insert_attachment() a simple … unlink( $upload['file'] ); … will do it. A: there is no designated WP function, simply because you already have a PHP one, with the following syntax: <?php $filename="MyFile.txt" unlink($filename); ?> for full doc see the PHP manual: http://php.net/manual/en/function.unlink.php
wordpress
{ "language": "en", "length": 94, "provenance": "stackexchange_00019.jsonl.gz:414354", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32870" }
[ 0.0298309326171875, 0.007732391357421875, -0.0244598388671875, 0.008270263671875, 0.0250091552734375, -0.039520263671875, 0.0703125, -0.032562255859375, 0.0230255126953125, 0.02227783203125, -0.017730712890625, -0.0221405029296875, 0.01995849609375, -0.0203399658203125, -0.02532958984375, -0.0214385986328125, 0.0416259765625, -0.01035308837890625, 0.05157470703125, 0.013916015625, -0.0172576904296875, 0.06890869140625, 0.042510986328125, -0.0316162109375, -0.02081298828125, 0.0450439453125, -0.0142669677734375, 0.006927490234375, -0.062255859375, -0.038482666015625, -0.01084136962890625, 0.0745849609375, -0.005023956298828125, 0.042816162109375, -0.028839111328125, 0.03424072265625, 0.00485992431640625, 0.0384521484375, 0.044647216796875, 0.008148193359375, 0.043914794921875, -0.0164947509765625, -0.015869140625, -0.00859832763671875, -0.01447296142578125, -0.026824951171875, 0.040679931640625, -0.0254364013671875, 0.0151519775390625, 0.0120849609375, 0.01947021484375, 0.0133514404296875, 0.032440185546875, -0.0240325927734375, -0.00762939453125, -0.002353668212890625, -0.0035037994384765625, 0.046630859375, 0.03778076171875, 0.01428985595703125, -0.05206298828125, 0.019195556640625, -0.0008616447448730469, -0.056365966796875, -0.01308441162109375, -0.010528564453125, -0.01555633544921875, 0.0196380615234375, -0.052215576171875, -0.01953125, 0.0282440185546875, -0.0267486572265625, 0.00458526611328125, -0.03131103515625, 0.0161285400390625, 0.015289306640625, -0.00012993812561035156, 0.01393890380859375, -0.0025501251220703125, 0.00360870361328125, -0.00380706787109375, -0.0175323486328125, -0.06329345703125, 0.01067352294921875, 0.007720947265625, 0.047760009765625, -0.00669097900390625, -0.0269622802734375, -0.02349853515625, 0.00821685791015625, -0.0235595703125, -0.007511138916015625, 0.0276947021484375, -0.0222930908203125, -0.0413818359375, -0.0251922607421875, 0.007205963134765625, -0.006755828857421875, 0.005558013916015625, -0.006366729736328125, 0.028289794921875, -0.04913330078125, 0.00016021728515625, -0.01236724853515625, 0.0003139972686767578, 0.041229248046875, -0.00382232666015625, -0.07537841796875, -0.01519775390625, 0.008880615234375, -0.01500701904296875, -0.0243682861328125, 0.0169677734375, -0.03948974609375, 0.00566864013671875, 0.00955963134765625, -0.023193359375, 0.055206298828125, 0.0186614990234375, 0.0125732421875, -0.0009379386901855469, -0.0012969970703125, -0.0250091552734375, -0.012176513671875, 0.02410888671875, -0.0256805419921875, -0.034698486328125, 0.032928466796875, 0.03875732421875, 0.0217437744140625, -0.04534912109375, 0.005664825439453125, 0.0689697265625, -0.01149749755859375, 0.010406494140625, -0.017425537109375, 0.00693511962890625, -0.01491546630859375, 0.005283355712890625, 0.0171661376953125, 0.04766845703125, -0.0513916015625, -0.0238037109375, 0.04705810546875, -0.002758026123046875, 0.04302978515625, 0.017608642578125, -0.00482940673828125, -0.0172119140625, -0.05255126953125, 0.0008292198181152344, -0.04620361328125, 0.024322509765625, 0.01262664794921875, 0.015655517578125, -0.0294036865234375, 0.04986572265625, -0.04876708984375, -0.0033893585205078125, -0.0565185546875, 0.040283203125, -0.0201873779296875, -0.015045166015625, -0.032196044921875, -0.058074951171875, 0.00905609130859375, -0.049224853515625, -0.0171966552734375, 0.0200347900390625, 0.035369873046875, 0.00511932373046875, -0.04217529296875, -0.028778076171875, 0.0145721435546875, -0.002758026123046875, 0.03472900390625, 0.0254364013671875, 0.005214691162109375, -0.007110595703125, 0.06854248046875, -0.000888824462890625, -0.035247802734375, -0.004627227783203125, -0.0014009475708007812, -0.0574951171875, 0.0163421630859375, 0.018646240234375, 0.0640869140625, 0.0100860595703125, 0.01215362548828125, 0.055328369140625, -0.0009183883666992188, -0.0185546875, 0.00583648681640625, -0.0016937255859375, -0.0254669189453125, -0.06353759765625, -0.0267791748046875, -0.016143798828125, 0.0204315185546875, -0.0186767578125, -0.005916595458984375, 0.007099151611328125, 0.007030487060546875, -0.032440185546875, 0.010711669921875, -0.0219573974609375, 0.031494140625, -0.055877685546875, 0.004924774169921875, 0.053497314453125, 0.01447296142578125, -0.039276123046875, -0.031402587890625, -0.00457763671875, 0.01093292236328125, -0.01483917236328125, 0.0007042884826660156, -0.0282745361328125, 0.053253173828125, -0.08111572265625, -0.0009851455688476562, -0.0709228515625, -0.020843505859375, 0.0085906982421875, 0.01904296875, -0.028778076171875, 0.0029315948486328125, 0.025634765625, -0.005329132080078125, 0.023895263671875, 0.03363037109375, 0.0157623291015625, -0.003948211669921875, -0.0188446044921875, -0.0156707763671875, -0.01248931884765625, -0.13037109375, 0.01039886474609375, 0.072998046875, 0.01528167724609375, 0.04241943359375, 0.006374359130859375, 0.032470703125, 0.05908203125, 0.0296478271484375, 0.0292816162109375, -0.01529693603515625, 0.0267486572265625, 0.043975830078125, -0.048431396484375, -0.02197265625, 0.0125579833984375, -0.054046630859375, 0.01233673095703125, 0.0252532958984375, -0.0274658203125, -0.026641845703125, 0.0080413818359375, 0.00946807861328125, 0.009521484375, -0.0212554931640625, -0.00246429443359375, -0.01087188720703125, 0.03985595703125, 0.01514434814453125, 0.029571533203125, 0.021331787109375, -0.02532958984375, 0.0294342041015625, 0.00662994384765625, -0.0528564453125, -0.0000054836273193359375, 0.056243896484375, 0.03668212890625, 0.0042877197265625, -0.00994873046875, -0.019195556640625, 0.007534027099609375, 0.033721923828125, -0.026214599609375, 0.018829345703125, 0.0428466796875, -0.01543426513671875, -0.021514892578125, -0.025543212890625, 0.047027587890625, -0.0285797119140625, 0.01384735107421875, -0.004608154296875, 0.006866455078125, 0.059600830078125, -0.004741668701171875, 0.04638671875, 0.03167724609375, -0.0002751350402832031, 0.01026153564453125, -0.0116119384765625, 0.0091552734375, -0.0191497802734375, 0.0159454345703125, 0.045501708984375, -0.0080413818359375, -0.0022373199462890625, 0.0285797119140625, 0.020416259765625, 0.03314208984375, 0.018157958984375, 0.0194091796875, 0.01309967041015625, -0.033111572265625, 0.0073699951171875, -0.0001970529556274414, 0.019744873046875, -0.034698486328125, -0.046966552734375, -0.01001739501953125, -0.01076507568359375, -0.09912109375, -0.0706787109375, 0.02008056640625, -0.0760498046875, 0.0179901123046875, -0.01003265380859375, -0.04241943359375, -0.0197296142578125, 0.0266571044921875, 0.00882720947265625, -0.0164337158203125, 0.0303955078125, 0.0137481689453125, 0.0166015625, -0.0204010009765625, -0.01314544677734375, 0.001110076904296875, 0.006855010986328125, 0.01403045654296875, 0.037689208984375, -0.0036945343017578125, -0.042816162109375, -0.0035991668701171875, -0.007404327392578125, -0.01432037353515625, -0.00826263427734375, 0.0499267578125, -0.02276611328125, -0.03778076171875, 0.0092926025390625, 0.0252838134765625, 0.0257720947265625, -0.041900634765625, -0.0130615234375, -0.013397216796875, -0.0367431640625, -0.0069427490234375, 0.023773193359375, 0.00885772705078125, -0.06707763671875, -0.0199737548828125, -0.08648681640625, 0.0274200439453125, -0.00977325439453125, -0.00876617431640625, -0.01067352294921875, -0.00070953369140625, -0.0276947021484375, -0.01409912109375, 0.016021728515625, 0.0107421875, 0.0243682861328125, -0.034027099609375, -0.008514404296875, 0.0416259765625, 0.007045745849609375, 0.029144287109375, 0.0086822509765625, 0.030059814453125, 0.0015974044799804688, 0.01285552978515625, 0.0188751220703125, 0.031951904296875, -0.0040130615234375, 0.005733489990234375, -0.053741455078125, -0.05364990234375, 0.06695556640625, -0.0018014907836914062, 0.01904296875, -0.05096435546875, -0.0487060546875, -0.026824951171875, 0.09796142578125, 0.013153076171875, -0.0215606689453125, -0.0151214599609375, 0.007175445556640625, -0.040496826171875, -0.03546142578125, -0.0102386474609375, 0.01216888427734375, -0.0211029052734375, 0.01953125, 0.0023441314697265625, -0.0006337165832519531, -0.03643798828125, 0.01264190673828125, -0.02447509765625, -0.00782012939453125, 0.037872314453125, -0.048187255859375, 0.035797119140625, 0.043182373046875, 0.03863525390625, 0.01554107666015625, -0.0273895263671875, -0.04248046875, -0.051025390625, -0.000644683837890625, -0.04351806640625, 0.047607421875, 0.00991058349609375, 0.0172119140625, -0.021942138671875, 0.03369140625, 0.023834228515625, -0.0037593841552734375, -0.0017223358154296875, -0.0167236328125, -0.019439697265625, 0.0027828216552734375, 0.013214111328125, -0.018463134765625, 0.0024585723876953125, -0.049957275390625, -0.057098388671875, -0.041748046875, -0.03509521484375, 0.02587890625, -0.004589080810546875, -0.0178375244140625, -0.01296234130859375, -0.0297393798828125, -0.038177490234375, 0.0226898193359375, -0.01385498046875, 0.00170135498046875, -0.04876708984375, -0.026580810546875, 0.0714111328125, -0.0126800537109375, -0.0024356842041015625, 0.0080108642578125, 0.10687255859375, -0.0012912750244140625, -0.01470184326171875, -0.10760498046875, -0.0109710693359375, 0.0199737548828125, -0.0213165283203125, 0.062164306640625, 0.033538818359375, 0.0038280487060546875, 0.024871826171875, -0.0115509033203125, 0.024139404296875, -0.039794921875, 0.038818359375, -0.007808685302734375, -0.0074462890625, 0.0232696533203125, -0.0033473968505859375, 0.030487060546875, -0.0165863037109375, -0.00818634033203125, -0.01551055908203125, 0.0277862548828125, 0.02850341796875, -0.01922607421875, 0.0311737060546875, -0.0029888153076171875, -0.07965087890625, 0.0210723876953125, -0.034820556640625, 0.0294647216796875, 0.01444244384765625, -0.0018358230590820312, 0.055145263671875, 0.039337158203125, -0.0020427703857421875, -0.027435302734375, 0.0188446044921875, -0.016326904296875, 0.033447265625, -0.0043182373046875, 0.0079498291015625, -0.05145263671875, -0.0007233619689941406, 0.0164031982421875, 0.0120086669921875, -0.0022983551025390625, -0.036865234375, 0.0107269287109375, 0.0006880760192871094, -0.0235137939453125, -0.010345458984375, 0.010650634765625, 0.02679443359375, -0.0162200927734375, -0.0023956298828125, -0.0203399658203125, 0.0247039794921875, -0.03314208984375, 0.01203155517578125, 0.0177459716796875, -0.0161285400390625, 0.0291290283203125, 0.019073486328125, -0.002696990966796875, 0.006710052490234375, -0.01340484619140625, 0.06072998046875, 0.035003662109375, 0.031036376953125, 0.0187835693359375, -0.0209503173828125, 0.003070831298828125, -0.0159149169921875, -0.02777099609375, -0.05609130859375, 0.0020122528076171875, 0.0188140869140625, 0.0523681640625, -0.0261077880859375, -0.034454345703125, 0.04364013671875, -0.01534271240234375, -0.002864837646484375, 0.01473236083984375, -0.0245513916015625, -0.04876708984375, -0.00046944618225097656, 0.036224365234375, 0.0296630859375, -0.02783203125, 0.0005993843078613281, 0.0140228271484375, -0.0223388671875, -0.0074615478515625, 0.0026569366455078125, -0.02880859375, -0.03289794921875, -0.0172119140625, 0.0396728515625, -0.000041961669921875, -0.0244140625, -0.0300750732421875, -0.0116119384765625, -0.0299530029296875, -0.00954437255859375, 0.07293701171875, -0.0035343170166015625, -0.0030345916748046875, -0.015899658203125, 0.002716064453125, -0.00507354736328125, -0.0114898681640625, 0.06640625, 0.012451171875, -0.0379638671875, -0.03314208984375, -0.016326904296875, 0.00637054443359375, -0.00524139404296875, -0.0279998779296875, -0.0149688720703125, 0.0052032470703125, -0.032867431640625, 0.0185546875, -0.006107330322265625, 0.0447998046875, 0.0225372314453125, 0.0279998779296875, -0.0450439453125, 0.033935546875, 0.0021953582763671875, 0.0193939208984375, 0.0081329345703125, 0.0171661376953125, 0.0263519287109375, 0.022705078125, 0.01177215576171875, -0.041839599609375, -0.01381683349609375, -0.03375244140625, 0.0105743408203125, 0.00824737548828125, -0.00418853759765625, -0.00991058349609375, 0.0186920166015625, 0.01515960693359375, -0.0116424560546875, -0.03466796875, -0.0218658447265625, -0.0277557373046875, 0.075439453125, -0.0199432373046875, 0.01157379150390625, -0.052154541015625, -0.0237274169921875, 0.01690673828125, 0.0236358642578125, 0.0214080810546875, -0.01094818115234375, -0.020660400390625, -0.00605010986328125, 0.0255279541015625, 0.0141143798828125, 0.03741455078125, 0.05023193359375, -0.023956298828125, 0.0176849365234375, 0.036651611328125, 0.0005550384521484375, 0.0028362274169921875, 0.021759033203125, 0.006877899169921875, -0.020477294921875, 0.04583740234375, 0.01430511474609375, -0.0006766319274902344, 0.0295257568359375, -0.0184478759765625, 0.024627685546875, 0.0183868408203125, 0.06201171875, -0.042327880859375, 0.0213470458984375, 0.0173492431640625, -0.018341064453125, 0.037628173828125, -0.021514892578125, 0.0300750732421875, 0.0013446807861328125, 0.04522705078125, -0.00597381591796875, -0.0198822021484375, 0.006565093994140625, -0.01395416259765625, 0.0027446746826171875, 0.007610321044921875, 0.00878143310546875, 0.007213592529296875, -0.066162109375, 0.0078582763671875, 0.05029296875, -0.00806427001953125, -0.0146636962890625, 0.040924072265625, -0.0109100341796875, 0.015960693359375, -0.023834228515625, 0.0423583984375, -0.0077667236328125, -0.01177215576171875, 0.0174713134765625, -0.01031494140625, 0.047760009765625, 0.037506103515625, -0.0006766319274902344, -0.007625579833984375, 0.01255035400390625, 0.013427734375, -0.055755615234375, -0.0341796875, 0.028350830078125, 0.02020263671875, -0.05621337890625, 0.03668212890625, -0.0341796875, -0.03363037109375, -0.0110931396484375, 0.01190185546875, 0.06903076171875, -0.078369140625, 0.0031375885009765625, 0.04571533203125, 0.05517578125, -0.017303466796875, -0.01482391357421875, 0.017333984375, -0.07232666015625, -0.0292816162109375, -0.0059661865234375, -0.032135009765625, -0.01271820068359375, -0.0278472900390625, -0.07025146484375, 0.10333251953125, -0.0059967041015625, 0.037994384765625, 0.00662994384765625, 0.029327392578125, -0.00922393798828125, 0.01088714599609375, -0.033905029296875, 0.03717041015625, 0.01296234130859375, 0.00946807861328125, -0.029144287109375, 0.00577545166015625, -0.0160064697265625, 0.01236724853515625, 0.06927490234375, 0.0008001327514648438, 0.0164031982421875, 0.01020050048828125, 0.08648681640625, 0.05767822265625, 0.0018482208251953125, -0.01248931884765625, 0.0008215904235839844, -0.0167236328125, -0.0020389556884765625, -0.0163116455078125, 0.00824737548828125, -0.0310211181640625, -0.017486572265625, 0.0258941650390625, 0.01461029052734375, 0.029052734375, -0.0291595458984375, 0.0244140625, -0.035980224609375, -0.015838623046875, 0.0276336669921875, 0.0298004150390625, -0.01123809814453125, 0.0250701904296875, 0.0257110595703125, -0.0523681640625, 0.00481414794921875, -0.03314208984375, 0.052154541015625, 0.01479339599609375, 0.0227813720703125, 0.05010986328125, 0.0204010009765625, 0.01061248779296875, -0.01259613037109375, 0.01465606689453125, 0.00453948974609375, -0.023681640625, 0.04156494140625, 0.01360321044921875, 0.01454925537109375, -0.0292205810546875, 0.01528167724609375, 0.0263671875, 0.0411376953125, -0.0369873046875, -0.0064849853515625, 0.01407623291015625, 0.0155792236328125, -0.006954193115234375, -0.03179931640625, 0.01558685302734375, -0.057647705078125, -0.0244293212890625, -0.01702880859375, 0.007762908935546875, 0.03741455078125, 0.0239410400390625, 0.01438140869140625, 0.02252197265625, -0.06793212890625, 0.00209808349609375, -0.0300140380859375, 0.03948974609375, 0.013641357421875, -0.01474761962890625, -0.033355712890625, 0.046356201171875, 0.045318603515625, 0.026947021484375, -0.00492095947265625, 0.0517578125, 0.0097808837890625, 0.0036602020263671875, -0.051300048828125, -0.08343505859375, 0.04986572265625, 0.047607421875, 0.040069580078125, 0.04852294921875, 0.0675048828125, 0.02655029296875, -0.032867431640625, 0.004955291748046875, 0.0279541015625, -0.0303955078125, -0.005950927734375, -0.024505615234375, -0.01513671875, 0.00021600723266601562, -0.020721435546875, -0.02191162109375, -0.005100250244140625, 0.034393310546875, -0.055023193359375, 0.00910186767578125, -0.012542724609375, -0.030975341796875, 0.047515869140625, -0.02264404296875, 0.04046630859375, -0.037109375, -0.06890869140625, 0.00885772705078125, -0.05706787109375, -0.01015472412109375, 0.022918701171875, 0.0235595703125, -0.02142333984375, 0.036468505859375, -0.004383087158203125, -0.0352783203125, 0.01097869873046875, 0.034820556640625, -0.0098114013671875, 0.0033435821533203125, 0.03314208984375, -0.01332855224609375, -0.01361846923828125, 0.0021190643310546875, 0.010467529296875, 0.025604248046875, 0.011322021484375, 0.016998291015625, -0.0019779205322265625, 0.01983642578125, 0.0112762451171875, 0.054718017578125, -0.034912109375, 0.007686614990234375, 0.0396728515625, 0.010711669921875, 0.01073455810546875, -0.027618408203125, 0.002208709716796875, 0.03741455078125, 0.005329132080078125, -0.0257110595703125, -0.004241943359375, -0.01520538330078125, 0.024017333984375, 0.044891357421875, 0.02386474609375, -0.005458831787109375, 0.0173797607421875, 0.0025806427001953125, -0.0188751220703125, 0.052978515625, 0.0303497314453125, -0.0095977783203125, 0.0144195556640625, 0.0074005126953125, -0.0186309814453125, 0.0220947265625, -0.0183868408203125, 0.016632080078125, 0.031036376953125, -0.0111236572265625, -0.05242919921875, -0.0272979736328125, -0.0185394287109375, -0.0006465911865234375, -0.01160430908203125, 0.04473876953125, -0.005092620849609375, -0.047119140625, -0.01715087890625, -0.008148193359375, 0.01407623291015625, -0.01360321044921875, -0.0101318359375, -0.0234832763671875, -0.005702972412109375, -0.0035762786865234375, -0.0197906494140625, -0.0026416778564453125, -0.025146484375, -0.0202484130859375, 0.0189666748046875, -0.011138916015625, -0.0227508544921875, -0.01303863525390625, -0.0005078315734863281, 0.034820556640625, 0.014739990234375, -0.04754638671875, 0.00859832763671875, -0.0116424560546875, 0.0150604248046875, 0.0065460205078125, 0.0249176025390625, -0.03277587890625, 0.0301971435546875, -0.043731689453125, -0.08306884765625, -0.06317138671875, 0.06878662109375, -0.08587646484375, 0.041717529296875, 0.04296875, -0.0550537109375, 0.0157318115234375, 0.06829833984375, 0.08343505859375, 0.10784912109375, 0.00505828857421875, -0.048431396484375, -0.01009368896484375, 0.0004470348358154297, 0.04254150390625, -0.01904296875, -0.023223876953125, -0.0242462158203125, 0.0028820037841796875, -0.0207672119140625, 0.02349853515625, 0.0308837890625, -0.04888916015625, -0.112548828125, 0.0163726806640625, -0.02667236328125, -0.056884765625, -0.0178680419921875, 0.035125732421875, -0.0105133056640625, 0.00372314453125, 0.005725860595703125, -0.02825927734375, 0.0126190185546875, 0.0004818439483642578, -0.01055908203125, 0.038421630859375, 0.0265960693359375, -0.0244293212890625, 0.0036983489990234375, -0.0016889572143554688, -0.0173492431640625, 0.000049114227294921875, 0.040191650390625, -0.041595458984375, 0.08843994140625, 0.065185546875, 0.0011529922485351562, 0.03594970703125, 0.011871337890625, -0.06591796875, -0.0216064453125, -0.014068603515625, -0.01351165771484375, 0.019195556640625, 0.051116943359375, 0.06439208984375, 0.020751953125, -0.039154052734375, -0.03466796875, -0.021484375, -0.014739990234375, -0.0240325927734375, 0.0218048095703125, -0.06781005859375, -0.0168304443359375, 0.00545501708984375, -0.0233917236328125, -0.0249481201171875, -0.0088043212890625, -0.05157470703125, 0.00626373291015625, 0.005954742431640625, 0.01009368896484375, -0.016082763671875, 0.00748443603515625, 0.084716796875, -0.0377197265625, 0.0340576171875, 0.00400543212890625, 0.0065155029296875, 0.06561279296875, 0.00638580322265625, 0.006244659423828125, 0.0247955322265625, -0.0121917724609375, 0.014556884765625, 0.0188446044921875, 0.005397796630859375, -0.00391387939453125, 0.0038166046142578125, -0.00311279296875, 0.003917694091796875, -0.0026149749755859375, -0.003993988037109375, 0.00788116455078125, 0.0287322998046875, -0.01465606689453125, 0.041748046875, -0.0135345458984375, 0.036102294921875, -0.01212310791015625, 0.0182037353515625, -0.0274505615234375, 0.0133514404296875, 0.0098876953125, -0.0223846435546875, 0.0005888938903808594, 0.0187530517578125, 0.00846099853515625, -0.047576904296875, 0.04779052734375, -0.01006317138671875, 0.0284423828125, 0.0345458984375 ]
7576d7c414f224d67537c863bbd753bca92a324d
Wordpress Stackexchange Q: Markdown in WordPress 3.2? I found the question Create posts using markdown? about using Markdown on WordPress, however the plugins referred to haven't all been upgraded to WordPress 3.0 or higher. Since I happen to be a bit pedantic about using updated plugin, what options are available to integrate Markdown for both editing and displaying on a WordPress 3.0 or higher setup? A: What about Markdown on Save by WordPress lead dev Mark Jaquith? Allows you to compose content in Markdown on a per-item basis. The markdown version is stored separately, so you can deactivate this plugin any time. Compatible up to 3.3 attow.
Q: Markdown in WordPress 3.2? I found the question Create posts using markdown? about using Markdown on WordPress, however the plugins referred to haven't all been upgraded to WordPress 3.0 or higher. Since I happen to be a bit pedantic about using updated plugin, what options are available to integrate Markdown for both editing and displaying on a WordPress 3.0 or higher setup? A: What about Markdown on Save by WordPress lead dev Mark Jaquith? Allows you to compose content in Markdown on a per-item basis. The markdown version is stored separately, so you can deactivate this plugin any time. Compatible up to 3.3 attow. A: Here is three years later updated answer, for others landing here from Google (like I did once): Markdown on Save plugin, mentioned in Michal Mau's answers wasn't updated and supported for certain period of time. Now, it seems back on line. In the mean time, it has got a twin plugin, called [Markdown on Save Improved](Markdown on Save Improved), which offers more options. However, this twin-plugin is no longer supported, in favor of Markdown module for Jetpack. So, if you're starting your yourney with Markdown today (middle of 2014), you should first interest yourself in Jetpack, which -- aside of Markdown -- will bring a lot of Wordpress.com goodies to your self-hosted blog. Note, that Markdown on Save and Markdown on Save Improved extensions are often used with Markdown QuickTags extension, which gives user an abillity to use keyboard shortcuts, for example Ctrl + I for outlining selected text with * * and thus making it written in cursive or Ctrl + B for surrounding it with ** ** and this making it bold. Jetpack's Markdown module comes with a handy toolbar that replaces non-visual editor default toolbar with buttons corresponding to Markdown. However, at least in current version (Jetpack 3.0) it hasn't got any support for keyboard shortcut. So, if you prefer (as Markdown QuickTags's tagline says: "less clicking, more writing"), you need to fall back to Markdown QuickTags even though this extension wasn't updated for over two years and seems to be abandoned. A: Sadly, I can't help you with up-to-date plugins as WordPress went on a Markdown plugin massacre spree in 2019. The intent appears to be to leave the Markdown module in Jetpack as the only working solution in the plugin repository. The solution I am using with both WordPress 4.9.x and 5.8.x is Robin Adrianse's Parsedown for WordPress. It converts all posts and comments to HTML on display. It's a bit tricky for very complex posts as all posts are parsed as Markdown first (HTML is still parsed as HTML is part of Markdown spec) but for comments it works without any issues. Either Markdown or HTML comments are supported, transparently. Nothing is permanently converted. Whatever you type in is converted to HTML on display. I recommend switching to plain text editor to avoid any cross-conversion/parsing issues with the TinyMCE editor or more specifically WordPress's own reparsing of text. There are no performance issues I can see if one is using a caching plugin (who the heck isn't in 2021). I specify Robin Adrianse's version of Parsedown as there are several other versions which go too far, converting HTML to Markdown permanently. Parsedown supports footnotes among other advanced features. It's a fantastic flexible and powerful flavour of Markdown.
wordpress
{ "language": "en", "length": 559, "provenance": "stackexchange_00019.jsonl.gz:414363", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32901" }
[ 0.0239105224609375, 0.005367279052734375, -0.017852783203125, -0.03369140625, 0.0142822265625, -0.0028934478759765625, 0.0184478759765625, -0.01418304443359375, 0.0157012939453125, 0.021881103515625, -0.055755615234375, 0.01158905029296875, 0.006793975830078125, -0.0002999305725097656, -0.007099151611328125, -0.0269775390625, 0.038421630859375, -0.0008268356323242188, 0.026031494140625, 0.0078277587890625, -0.024658203125, 0.01435089111328125, 0.033416748046875, 0.0035552978515625, 0.031890869140625, -0.018035888671875, 0.058990478515625, -0.0162200927734375, 0.0262451171875, 0.01351165771484375, 0.0343017578125, -0.053802490234375, 0.01288604736328125, 0.041473388671875, -0.027435302734375, 0.0168914794921875, 0.004894256591796875, 0.0141754150390625, 0.0272369384765625, 0.015380859375, -0.0008978843688964844, -0.0018711090087890625, 0.034271240234375, -0.004520416259765625, 0.0017881393432617188, -0.01263427734375, 0.004940032958984375, -0.05291748046875, 0.01273345947265625, -0.038818359375, 0.0043182373046875, -0.00152587890625, 0.01708984375, -0.042755126953125, 0.00016772747039794922, 0.023651123046875, 0.0164642333984375, 0.01544952392578125, 0.0272216796875, -0.0191192626953125, -0.028839111328125, 0.00887298583984375, 0.019195556640625, 0.00775909423828125, 0.024688720703125, -0.00499725341796875, 0.0228118896484375, 0.0259857177734375, -0.0149078369140625, 0.019989013671875, 0.0222320556640625, -0.0250701904296875, 0.0231170654296875, -0.0418701171875, -0.0234222412109375, 0.030029296875, -0.01837158203125, -0.006305694580078125, 0.039093017578125, -0.040679931640625, 0.036529541015625, -0.01279449462890625, 0.026336669921875, -0.057403564453125, 0.0338134765625, -0.038818359375, 0.0188140869140625, 0.0009655952453613281, -0.0305023193359375, -0.0248260498046875, -0.016265869140625, -0.052154541015625, -0.0190582275390625, 0.0131378173828125, -0.00904083251953125, -0.01593017578125, -0.0251007080078125, -0.009002685546875, -0.016693115234375, 0.020721435546875, 0.00606536865234375, -0.048736572265625, 0.058929443359375, -0.0267486572265625, -0.00727081298828125, 0.045501708984375, 0.01531982421875, -0.033203125, 0.017669677734375, 0.0204925537109375, -0.0097198486328125, 0.0132293701171875, 0.01023101806640625, -0.05303955078125, 0.044952392578125, 0.027923583984375, -0.01506805419921875, 0.064697265625, 0.03662109375, 0.00737762451171875, 0.007472991943359375, 0.028167724609375, -0.00798797607421875, 0.0222625732421875, 0.0165252685546875, 0.045440673828125, 0.0033626556396484375, -0.057464599609375, 0.01971435546875, -0.0419921875, -0.01141357421875, 0.06817626953125, 0.0416259765625, -0.006031036376953125, -0.036651611328125, 0.0161590576171875, 0.00811767578125, -0.024200439453125, -0.0189666748046875, 0.0170440673828125, -0.040252685546875, -0.0034313201904296875, 0.02984619140625, -0.062744140625, 0.0247802734375, 0.03607177734375, 0.0165252685546875, 0.0054779052734375, 0.01236724853515625, -0.043304443359375, 0.0202484130859375, -0.0256195068359375, 0.027801513671875, -0.00775909423828125, 0.022491455078125, -0.06500244140625, 0.02325439453125, -0.046295166015625, 0.027313232421875, -0.05316162109375, 0.0008721351623535156, 0.0184478759765625, 0.053558349609375, -0.041473388671875, -0.017059326171875, -0.037200927734375, -0.06719970703125, 0.00792694091796875, 0.0114593505859375, -0.045379638671875, 0.0167388916015625, -0.0256805419921875, 0.0056610107421875, -0.03021240234375, -0.0137481689453125, 0.021331787109375, 0.01398468017578125, 0.041015625, -0.0026874542236328125, 0.057403564453125, 0.02362060546875, -0.03778076171875, 0.04443359375, -0.007110595703125, -0.06781005859375, 0.009552001953125, 0.022674560546875, 0.05908203125, 0.0272216796875, 0.017059326171875, 0.06524658203125, 0.0036602020263671875, 0.01088714599609375, 0.0027294158935546875, 0.00983428955078125, -0.034423828125, -0.009765625, -0.01375579833984375, -0.0033435821533203125, -0.0268402099609375, -0.00487518310546875, 0.0546875, -0.02734375, 0.037322998046875, -0.036468505859375, 0.04351806640625, -0.01268768310546875, 0.040069580078125, 0.033660888671875, -0.003719329833984375, 0.00740814208984375, -0.0220489501953125, -0.003742218017578125, -0.0038776397705078125, -0.04840087890625, 0.0215301513671875, -0.05108642578125, 0.0350341796875, 0.017486572265625, 0.0091094970703125, 0.040283203125, -0.02325439453125, 0.027435302734375, -0.00986480712890625, 0.00007486343383789062, -0.00841522216796875, -0.0256500244140625, -0.0183563232421875, -0.0194549560546875, 0.01277923583984375, -0.023223876953125, 0.038116455078125, -0.0171661376953125, 0.06414794921875, 0.00516510009765625, -0.029083251953125, 0.01035308837890625, -0.0413818359375, 0.03961181640625, 0.03253173828125, 0.041961669921875, 0.04937744140625, -0.0078125, -0.041351318359375, 0.060791015625, -0.0284271240234375, 0.018402099609375, -0.0322265625, -0.0171966552734375, 0.007778167724609375, 0.0223541259765625, 0.01296234130859375, 0.0168914794921875, -0.0293121337890625, -0.001232147216796875, 0.0257720947265625, -0.01256561279296875, -0.0240478515625, -0.0134124755859375, 0.01342010498046875, 0.0165863037109375, -0.02984619140625, -0.035797119140625, -0.01177978515625, 0.00626373291015625, -0.016448974609375, 0.054779052734375, 0.04150390625, -0.00408935546875, -0.050567626953125, 0.01407623291015625, 0.07757568359375, 0.018646240234375, 0.0594482421875, -0.01117706298828125, 0.060516357421875, -0.030029296875, -0.0323486328125, 0.026519775390625, 0.050933837890625, 0.0021820068359375, 0.0206756591796875, -0.033111572265625, -0.018829345703125, 0.0230865478515625, -0.0538330078125, -0.0196380615234375, -0.01090240478515625, -0.032684326171875, 0.0020599365234375, 0.032989501953125, 0.045379638671875, 0.00878143310546875, -0.004093170166015625, 0.0156707763671875, 0.0139923095703125, -0.01151275634765625, -0.048980712890625, 0.04962158203125, -0.030242919921875, 0.0224609375, 0.0697021484375, -0.0209808349609375, 0.0312042236328125, 0.01153564453125, -0.01206207275390625, 0.04931640625, -0.007053375244140625, -0.00911712646484375, 0.01001739501953125, -0.057159423828125, -0.0204620361328125, 0.0007519721984863281, 0.018524169921875, -0.0477294921875, -0.037109375, -0.041595458984375, -0.0075531005859375, -0.102294921875, -0.054840087890625, 0.00946044921875, -0.1053466796875, -0.037445068359375, -0.0222930908203125, -0.06634521484375, 0.006786346435546875, 0.0222625732421875, -0.004596710205078125, -0.00605010986328125, -0.001071929931640625, -0.056182861328125, -0.058929443359375, -0.0782470703125, -0.050750732421875, -0.0165557861328125, 0.00925445556640625, -0.001018524169921875, 0.081298828125, 0.00925445556640625, -0.090576171875, -0.0218658447265625, 0.004619598388671875, -0.00806427001953125, 0.03515625, 0.0093231201171875, -0.01218414306640625, -0.0222930908203125, -0.0052490234375, 0.035308837890625, -0.0045318603515625, -0.01247406005859375, 0.0091094970703125, -0.01358795166015625, 0.003986358642578125, 0.0018587112426757812, 0.024139404296875, 0.01433563232421875, 0.0138702392578125, 0.0142669677734375, -0.0256500244140625, 0.0016727447509765625, 0.010711669921875, -0.0163726806640625, -0.0189971923828125, 0.005695343017578125, -0.0204010009765625, -0.016754150390625, -0.00008994340896606445, 0.01123046875, 0.038330078125, 0.053955078125, -0.01496124267578125, 0.010345458984375, -0.0237884521484375, -0.03363037109375, -0.051544189453125, -0.055450439453125, -0.0555419921875, 0.02557373046875, -0.04742431640625, -0.00897979736328125, -0.029998779296875, 0.05096435546875, -0.007061004638671875, -0.0191650390625, 0.0382080078125, -0.01116180419921875, 0.022491455078125, -0.031982421875, -0.036834716796875, -0.02587890625, 0.061737060546875, -0.0118255615234375, -0.00971221923828125, 0.003631591796875, -0.004276275634765625, 0.00039386749267578125, 0.005153656005859375, -0.0462646484375, -0.0181121826171875, -0.01390838623046875, 0.0225677490234375, 0.01470184326171875, 0.0037822723388671875, -0.03253173828125, 0.042510986328125, -0.0192413330078125, -0.009796142578125, 0.011077880859375, -0.02618408203125, -0.0142669677734375, -0.00943756103515625, -0.0176849365234375, -0.062469482421875, 0.000911712646484375, -0.0273590087890625, -0.10052490234375, -0.005107879638671875, -0.05230712890625, 0.08013916015625, 0.034912109375, -0.040985107421875, 0.01446533203125, 0.06591796875, 0.06329345703125, 0.01465606689453125, 0.0038547515869140625, -0.030548095703125, -0.01187896728515625, -0.06939697265625, -0.00469970703125, -0.044891357421875, -0.0118255615234375, -0.005443572998046875, -0.0254974365234375, -0.0012454986572265625, -0.024169921875, -0.0305938720703125, -0.00749969482421875, -0.0269317626953125, -0.047943115234375, -0.022705078125, -0.01666259765625, -0.0023937225341796875, -0.00911712646484375, -0.0123138427734375, -0.0234222412109375, -0.057281494140625, 0.0267181396484375, -0.01325225830078125, -0.00348663330078125, 0.01081085205078125, 0.05133056640625, 0.005229949951171875, -0.0056610107421875, -0.04156494140625, -0.007564544677734375, 0.061279296875, 0.032806396484375, 0.0281219482421875, 0.0170440673828125, -0.0638427734375, 0.10711669921875, 0.047576904296875, -0.0045318603515625, -0.017425537109375, -0.0015974044799804688, -0.01529693603515625, -0.0080718994140625, -0.006900787353515625, -0.026763916015625, 0.056182861328125, 0.00931549072265625, -0.010986328125, -0.01020050048828125, 0.009552001953125, 0.03851318359375, -0.0037822723388671875, -0.004604339599609375, -0.042327880859375, -0.058074951171875, 0.0261077880859375, 0.0037746429443359375, 0.04229736328125, 0.026947021484375, 0.007076263427734375, 0.049224853515625, 0.00846099853515625, -0.031341552734375, 0.0157623291015625, -0.036468505859375, 0.026031494140625, 0.0230865478515625, -0.04541015625, -0.032684326171875, 0.019500732421875, -0.004215240478515625, 0.036956787109375, -0.01387786865234375, -0.05078125, -0.0243072509765625, -0.0002808570861816406, 0.0447998046875, 0.044586181640625, 0.03216552734375, 0.0266876220703125, 0.0231781005859375, 0.020538330078125, 0.00901031494140625, 0.01041412353515625, 0.0031223297119140625, -0.024261474609375, -0.00806427001953125, -0.0252532958984375, 0.004405975341796875, 0.0079193115234375, 0.04437255859375, -0.019866943359375, 0.025177001953125, -0.0171051025390625, 0.0064849853515625, 0.0191650390625, -0.02685546875, 0.0115203857421875, 0.04632568359375, -0.005970001220703125, -0.039093017578125, 0.03009033203125, -0.02520751953125, -0.011810302734375, 0.0013017654418945312, 0.00635528564453125, 0.002681732177734375, 0.004749298095703125, 0.01200103759765625, -0.00160980224609375, -0.01070404052734375, -0.0027751922607421875, -0.03460693359375, -0.0313720703125, 0.00229644775390625, -0.0016260147094726562, 0.012786865234375, -0.0102081298828125, 0.00797271728515625, 0.01042938232421875, -0.0278472900390625, -0.0081939697265625, -0.022491455078125, -0.007396697998046875, -0.041290283203125, -0.0257415771484375, 0.0013837814331054688, -0.00797271728515625, 0.0084228515625, -0.016998291015625, 0.0018720626831054688, -0.0199737548828125, -0.0210723876953125, 0.0455322265625, -0.03857421875, -0.037872314453125, -0.0190582275390625, 0.059356689453125, -0.027618408203125, 0.0185699462890625, 0.034515380859375, 0.0009236335754394531, -0.002716064453125, -0.033538818359375, -0.031494140625, -0.04400634765625, 0.0028324127197265625, 0.0019407272338867188, -0.0258941650390625, 0.0010633468627929688, 0.01142120361328125, 0.0227508544921875, 0.003345489501953125, -0.01788330078125, -0.032470703125, 0.026336669921875, 0.0265045166015625, 0.048858642578125, 0.017852783203125, 0.0257415771484375, 0.00787353515625, 0.03802490234375, 0.0241546630859375, -0.0023975372314453125, -0.037261962890625, -0.0260009765625, 0.0230560302734375, -0.07122802734375, -0.05877685546875, 0.01276397705078125, -0.04608154296875, 0.041900634765625, -0.002872467041015625, -0.002582550048828125, 0.0179901123046875, -0.0238494873046875, -0.0144805908203125, -0.0005211830139160156, 0.020416259765625, -0.0013885498046875, -0.0215301513671875, 0.0640869140625, -0.0160675048828125, 0.035675048828125, -0.005496978759765625, 0.00855255126953125, 0.00983428955078125, -0.031494140625, -0.005817413330078125, 0.03485107421875, -0.01983642578125, 0.0256500244140625, -0.035797119140625, -0.0077667236328125, 0.00504302978515625, -0.01336669921875, 0.005008697509765625, -0.050537109375, -0.02777099609375, 0.018341064453125, 0.0340576171875, 0.03173828125, -0.0291900634765625, -0.01837158203125, -0.00513458251953125, -0.03265380859375, 0.03192138671875, 0.048736572265625, 0.07537841796875, -0.051727294921875, 0.0016851425170898438, 0.0136260986328125, -0.04095458984375, 0.049072265625, -0.01517486572265625, 0.005687713623046875, -0.01087188720703125, 0.00997161865234375, -0.004024505615234375, -0.03289794921875, -0.018341064453125, -0.0198516845703125, -0.020294189453125, -8.940696716308594e-7, 0.0150146484375, 0.004932403564453125, 0.01493072509765625, -0.0064239501953125, -0.0081329345703125, 0.0192718505859375, -0.034271240234375, -0.023101806640625, 0.03424072265625, -0.01739501953125, -0.0645751953125, 0.044189453125, -0.0307159423828125, 0.03363037109375, -0.051483154296875, 0.007415771484375, 0.0018129348754882812, 0.06640625, -0.0316162109375, 0.00867462158203125, 0.0572509765625, -0.006252288818359375, -0.021270751953125, -0.010284423828125, 0.0283660888671875, 0.0298614501953125, -0.0290374755859375, 0.0186614990234375, -0.012664794921875, -0.01009368896484375, 0.00238037109375, 0.0435791015625, 0.06781005859375, -0.0096893310546875, -0.03704833984375, 0.03729248046875, 0.006793975830078125, -0.01499176025390625, -0.051666259765625, -0.00627899169921875, -0.0472412109375, 0.0270538330078125, -0.045379638671875, 0.0103302001953125, 0.01361846923828125, -0.055816650390625, -0.08056640625, 0.1326904296875, 0.0190887451171875, 0.0419921875, -0.0066070556640625, 0.06048583984375, -0.037017822265625, 0.020721435546875, -0.03167724609375, 0.050537109375, -0.020751953125, 0.0254364013671875, -0.07763671875, -0.004329681396484375, -0.0191802978515625, 0.028472900390625, -0.0291595458984375, -0.0016756057739257812, -0.0142974853515625, -0.005161285400390625, 0.01319122314453125, 0.04461669921875, 0.03326416015625, -0.0008320808410644531, 0.0028209686279296875, -0.04351806640625, 0.00023853778839111328, -0.0113525390625, 0.0311737060546875, -0.04559326171875, 0.0261993408203125, 0.01111602783203125, 0.0021514892578125, 0.0015316009521484375, 0.011322021484375, 0.0182037353515625, 0.00643157958984375, 0.0038700103759765625, -0.010772705078125, 0.0007300376892089844, -0.000659942626953125, 0.044403076171875, 0.01282501220703125, -0.04217529296875, 0.01336669921875, -0.0308380126953125, 0.040130615234375, -0.01386260986328125, 0.013641357421875, 0.01007843017578125, 0.005619049072265625, 0.02764892578125, -0.0008602142333984375, 0.004566192626953125, 0.0167694091796875, -0.00583648681640625, 0.06072998046875, 0.0284423828125, 0.05078125, -0.0248260498046875, -0.0255889892578125, 0.00617218017578125, 0.06573486328125, -0.03338623046875, -0.03619384765625, -0.0028553009033203125, 0.012298583984375, 0.03082275390625, -0.0117034912109375, 0.004573822021484375, 0.00661468505859375, 0.035247802734375, -0.01416015625, 0.0019969940185546875, 0.00969696044921875, -0.01131439208984375, -0.00775146484375, 0.004795074462890625, 0.027740478515625, 0.03466796875, -0.0528564453125, 0.0270843505859375, 0.0146636962890625, 0.04461669921875, 0.03045654296875, 0.04815673828125, -0.002811431884765625, -0.0194244384765625, 0.0012083053588867188, 0.021331787109375, -0.00528717041015625, -0.0025348663330078125, -0.051055908203125, -0.0665283203125, 0.027099609375, 0.032073974609375, -0.0168914794921875, 0.07183837890625, 0.07318115234375, 0.08062744140625, -0.0032253265380859375, -0.031494140625, 0.038055419921875, -0.01357269287109375, -0.032135009765625, -0.01303863525390625, -0.03668212890625, -0.005279541015625, -0.00920867919921875, 0.0135040283203125, 0.034271240234375, 0.0016450881958007812, -0.0146484375, 0.00830078125, 0.0091705322265625, -0.03460693359375, 0.013671875, -0.0101318359375, 0.04339599609375, 0.01044464111328125, -0.0304412841796875, -0.004520416259765625, 0.01174163818359375, -0.0123748779296875, -0.007236480712890625, 0.0211334228515625, -0.024383544921875, 0.0243988037109375, 0.005954742431640625, -0.024810791015625, 0.0289459228515625, 0.01297760009765625, -0.00994110107421875, -0.007152557373046875, 0.0206451416015625, -0.0279541015625, -0.042999267578125, 0.0000737905502319336, 0.0006108283996582031, 0.031463623046875, -0.015045166015625, 0.092041015625, -0.033782958984375, 0.0114288330078125, -0.024200439453125, -0.0017375946044921875, -0.056060791015625, -0.030242919921875, -0.0305633544921875, -0.048187255859375, -0.0208740234375, 0.03387451171875, -0.0238037109375, 0.02984619140625, 0.0249786376953125, -0.00876617431640625, -0.00963592529296875, -0.00557708740234375, 0.01351165771484375, 0.0120391845703125, 0.03662109375, -0.017486572265625, -0.0335693359375, -0.03216552734375, -0.00205230712890625, 0.01270294189453125, 0.0146331787109375, -0.00884246826171875, 0.0038280487060546875, 0.06494140625, -0.009674072265625, 0.01136016845703125, 0.03759765625, -0.006816864013671875, 0.0189208984375, 0.03558349609375, 0.0135955810546875, 0.042327880859375, -0.008819580078125, 0.032073974609375, 0.0152587890625, 0.01337432861328125, 0.03704833984375, -0.07342529296875, 0.033447265625, 0.048309326171875, 0.06463623046875, -0.0229644775390625, 0.0208282470703125, 0.02227783203125, -0.0068206787109375, 0.0067596435546875, -0.0309906005859375, -0.032745361328125, -0.0287017822265625, -0.0076141357421875, 0.03192138671875, -0.037353515625, -0.0479736328125, -0.10748291015625, -0.01293182373046875, 0.0138092041015625, 0.0012950897216796875, -0.0294342041015625, 0.0311737060546875, 0.0019407272338867188, -0.0028171539306640625, -0.01348114013671875, -0.0026302337646484375, -0.0101776123046875, 0.0229644775390625, 0.0096588134765625, -0.024566650390625, -0.023468017578125, 0.043853759765625, -0.0012750625610351562, 0.0286712646484375, 0.045745849609375, -0.0364990234375, -0.0158843994140625, 0.04632568359375, 0.03717041015625, 0.07489013671875, 0.0225982666015625, 0.0018930435180664062, -0.011322021484375, -0.00942230224609375, -0.038543701171875, -0.0255584716796875, 0.0290069580078125, -0.038330078125, -0.04144287109375, -0.0250396728515625, 0.01108551025390625, 0.0227813720703125, -0.048431396484375, -0.1248779296875, -0.0140533447265625, -0.02197265625, -0.052215576171875, -0.0090484619140625, -0.05322265625, -0.0299224853515625, 0.058929443359375, 0.002696990966796875, -0.022247314453125, -0.03814697265625, 0.044677734375, 0.022064208984375, 0.041778564453125, -0.004032135009765625, 0.0111236572265625, -0.02569580078125, 0.036529541015625, 0.0251922607421875, 0.0256805419921875, 0.00029850006103515625, 0.0005650520324707031, 0.0180511474609375, 0.048675537109375, -0.042816162109375, -0.0268096923828125, -0.01178741455078125, 0.01873779296875, 0.00710296630859375, -0.00638580322265625, -0.016448974609375, 0.007183074951171875, 0.076904296875, 0.016143798828125, 0.01236724853515625, -0.0250396728515625, 0.0259857177734375, -0.032745361328125, -0.048431396484375, 0.0220489501953125, -0.0021724700927734375, 0.014068603515625, 0.03985595703125, -0.0152435302734375, -0.0075531005859375, -0.01727294921875, 0.048126220703125, -0.0246124267578125, -0.0175018310546875, -0.016571044921875, -0.039215087890625, -0.060455322265625, -0.0129852294921875, 0.0694580078125, -0.03460693359375, -0.005481719970703125, 0.0180816650390625, -0.0006814002990722656, 0.0224761962890625, 0.013031005859375, 0.05340576171875, 0.022369384765625, -0.0297088623046875, 0.01488494873046875, 0.04132080078125, 0.033294677734375, -0.02386474609375, -0.036895751953125, 0.008270263671875, 0.0299072265625, 0.00839996337890625, 0.05419921875, -0.01145172119140625, 0.0004570484161376953, -0.00182342529296875, -0.04559326171875, 0.0134124755859375, 0.0123443603515625, -0.012115478515625, 0.037384033203125, -0.032501220703125, -0.016204833984375, -0.04925537109375, -0.00733184814453125, 0.025421142578125, -0.02618408203125, 0.026092529296875, -0.02081298828125, 0.01045989990234375, -0.026275634765625, -0.0250396728515625, 0.01551055908203125 ]
62b588647a8ce6dee59f86d498c89d5e7b5cd0ef
Wordpress Stackexchange Q: How does $wpdb handle COUNT(*) I understand how to do simple queries and display results using $wpdb. This is my process: <?php $sql = 'select * from wp_votes;'; ?> <?php $votes = $wpdb->get_results($sql); ?> <?php if ( !empty ( $votes ) ) { ?> <?php foreach ( $votes as $vote ) { ?> <td><?php echo $vote->id; ?></td> <td><?php echo $vote->post_id; ?></td> <td><?php echo $vote->date_voted; ?></td> <?php } ?> <?php } ?> Now, what if my query is more complicated, where there is a COUNT(*) involved, like so: <?php $sql = 'select wp_votes.post_id, wp_posts.post_title, count(*) from wp_votes INNER JOIN wp_posts ON wp_votes.post_id = wp_posts.id group by wp_votes.post_id order by count(*) desc;'; ?> This should return: --------+------------+----------+ Post ID | Post Title | Count(*) | --------+------------+----------+ 1 | "My post" | 6 2 | "Hello..."| 5 Would it be OK if I do something like this? <?php $wpdb->get_results($sql, ARRAY_N); ?> and then, to get the count, <?php echo $row[2]; ?> EDIT: Turns out, it's actually just this simple, I don't have to do anything else $row[x] will work. A: You can just use echo $wpdb->get_var( $sql ): https://developer.wordpress.org/reference/classes/wpdb/
Q: How does $wpdb handle COUNT(*) I understand how to do simple queries and display results using $wpdb. This is my process: <?php $sql = 'select * from wp_votes;'; ?> <?php $votes = $wpdb->get_results($sql); ?> <?php if ( !empty ( $votes ) ) { ?> <?php foreach ( $votes as $vote ) { ?> <td><?php echo $vote->id; ?></td> <td><?php echo $vote->post_id; ?></td> <td><?php echo $vote->date_voted; ?></td> <?php } ?> <?php } ?> Now, what if my query is more complicated, where there is a COUNT(*) involved, like so: <?php $sql = 'select wp_votes.post_id, wp_posts.post_title, count(*) from wp_votes INNER JOIN wp_posts ON wp_votes.post_id = wp_posts.id group by wp_votes.post_id order by count(*) desc;'; ?> This should return: --------+------------+----------+ Post ID | Post Title | Count(*) | --------+------------+----------+ 1 | "My post" | 6 2 | "Hello..."| 5 Would it be OK if I do something like this? <?php $wpdb->get_results($sql, ARRAY_N); ?> and then, to get the count, <?php echo $row[2]; ?> EDIT: Turns out, it's actually just this simple, I don't have to do anything else $row[x] will work. A: You can just use echo $wpdb->get_var( $sql ): https://developer.wordpress.org/reference/classes/wpdb/
wordpress
{ "language": "en", "length": 187, "provenance": "stackexchange_00019.jsonl.gz:414370", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32921" }
[ 0.08099365234375, 0.006488800048828125, 0.0282745361328125, -0.0243988037109375, 0.04107666015625, -0.0288543701171875, 0.083984375, -0.028564453125, 0.059051513671875, 0.017608642578125, -0.042694091796875, -0.0191802978515625, -0.02734375, -0.0100555419921875, -0.06005859375, -0.04144287109375, 0.0535888671875, -0.06866455078125, 0.00588226318359375, 0.018829345703125, -0.0174713134765625, 0.059234619140625, 0.032318115234375, 0.0181121826171875, 0.00363922119140625, -0.03839111328125, 0.09814453125, -0.0234832763671875, 0.046539306640625, -0.01486968994140625, 0.0177154541015625, -0.0263824462890625, 0.00286865234375, 0.01277923583984375, 0.0089874267578125, 0.050048828125, 0.06756591796875, -0.00168609619140625, 0.0207366943359375, 0.04132080078125, 0.0182647705078125, -0.0036258697509765625, 0.019989013671875, -0.0423583984375, -0.0052337646484375, -0.009368896484375, 0.02935791015625, -0.003662109375, 0.01776123046875, -0.03173828125, -0.002666473388671875, 0.070556640625, 0.007068634033203125, 0.004962921142578125, 0.0017004013061523438, 0.04791259765625, 0.0299224853515625, -0.032501220703125, 0.03973388671875, -0.0126495361328125, -0.04351806640625, -0.03387451171875, 0.03448486328125, -0.040924072265625, -0.01267242431640625, 0.007640838623046875, 0.06890869140625, 0.010406494140625, 0.01549530029296875, -0.030975341796875, -0.018218994140625, 0.028045654296875, -0.025177001953125, -0.0267791748046875, 0.01514434814453125, 0.01361083984375, -0.01296234130859375, -0.0379638671875, 0.0027561187744140625, 0.047821044921875, -0.0198211669921875, -0.020751953125, -0.037200927734375, 0.019683837890625, -0.0033702850341796875, 0.030670166015625, -0.0239715576171875, -0.006587982177734375, -0.027099609375, -0.0293426513671875, -0.003276824951171875, -0.03155517578125, -0.0243377685546875, -0.01453399658203125, 0.0200347900390625, -0.05950927734375, 0.016021728515625, 0.0316162109375, -0.036224365234375, -0.049285888671875, 0.00656890869140625, -0.0145263671875, -0.070068359375, 0.005645751953125, 0.03399658203125, 0.04229736328125, -0.005718231201171875, 0.021575927734375, 0.05810546875, 0.0214080810546875, 0.024017333984375, 0.029083251953125, -0.04736328125, -0.03668212890625, -0.01227569580078125, 0.04638671875, -0.04144287109375, 0.0046234130859375, 0.0126495361328125, 0.0108489990234375, -0.022705078125, -0.018768310546875, -0.0321044921875, 0.0032291412353515625, 0.02435302734375, -0.0187225341796875, -0.01641845703125, 0.02252197265625, -0.018341064453125, 0.0595703125, -0.02337646484375, 0.0014057159423828125, 0.046630859375, 0.00720977783203125, -0.0081329345703125, -0.04132080078125, 0.0270233154296875, -0.0038356781005859375, -0.01039886474609375, -0.00414276123046875, 0.0207061767578125, -0.01702880859375, -0.00923919677734375, -0.01107025146484375, 0.01247406005859375, 0.0097503662109375, 0.0157470703125, 0.0184326171875, -0.002899169921875, -0.026123046875, 0.0232391357421875, 0.016021728515625, -0.005039215087890625, 0.021881103515625, -0.01348876953125, 0.0298309326171875, -0.05877685546875, 0.01971435546875, 0.0171661376953125, 0.032562255859375, 0.040252685546875, -0.0004506111145019531, -0.023773193359375, 0.001903533935546875, -0.0280609130859375, 0.0017843246459960938, -0.0302734375, -0.00836944580078125, 0.0142822265625, -0.015167236328125, 0.01425933837890625, -0.02874755859375, 0.025787353515625, -0.01514434814453125, -0.0233001708984375, 0.0202484130859375, -0.05694580078125, -0.033905029296875, 0.0428466796875, -0.0193023681640625, -0.006103515625, -0.01141357421875, -0.0249176025390625, 0.04345703125, -0.031768798828125, 0.050323486328125, -0.0008678436279296875, 0.033111572265625, 0.00011479854583740234, 0.00238800048828125, 0.00872039794921875, 0.0465087890625, -0.0259857177734375, 0.037689208984375, -0.00934600830078125, -0.0299072265625, -0.035736083984375, 0.00943756103515625, -0.022491455078125, -0.026123046875, 0.022735595703125, 0.005519866943359375, -0.00833892822265625, 0.0185089111328125, -0.0210723876953125, -0.004863739013671875, 0.0031414031982421875, 0.011199951171875, -0.012176513671875, 0.0157012939453125, 0.05413818359375, 0.03466796875, -0.051361083984375, -0.0330810546875, -0.061798095703125, -0.036895751953125, 0.00211334228515625, -0.004669189453125, -0.0297088623046875, -0.01357269287109375, -0.044891357421875, -0.01242828369140625, -0.037078857421875, 0.054962158203125, 0.04766845703125, -0.045440673828125, 0.00283050537109375, -0.05145263671875, 0.04742431640625, -0.01763916015625, 0.0016641616821289062, 0.0293731689453125, 0.042022705078125, 0.0650634765625, -0.00879669189453125, -0.031402587890625, -0.010101318359375, -0.07757568359375, 0.0254364013671875, 0.05029296875, 0.030670166015625, 0.016357421875, -0.001148223876953125, 0.0138702392578125, -0.0006289482116699219, -0.011138916015625, 0.033905029296875, -0.0238037109375, -0.0214996337890625, 0.00646209716796875, -0.003772735595703125, -0.017913818359375, 0.0289764404296875, -0.044189453125, -0.0276031494140625, 0.04766845703125, -0.0105133056640625, 0.036529541015625, -0.047943115234375, 0.01947021484375, -0.0091552734375, -0.0290679931640625, 0.017333984375, -0.0306396484375, -0.006137847900390625, -0.02301025390625, -0.00437164306640625, -0.00994873046875, -0.0038928985595703125, -0.0043182373046875, 0.01548004150390625, -0.05242919921875, 0.0038700103759765625, 0.00986480712890625, -0.048248291015625, 0.0035305023193359375, -0.03399658203125, 0.0238494873046875, 0.00013005733489990234, -0.01506805419921875, 0.0036296844482421875, 0.050811767578125, -0.0166168212890625, -0.0264434814453125, -0.02423095703125, -0.050689697265625, 0.00583648681640625, 0.007732391357421875, -0.0033512115478515625, 0.01605224609375, 0.004276275634765625, 0.0826416015625, 0.0058746337890625, 0.040985107421875, 0.0097808837890625, 0.0272979736328125, 0.039642333984375, -0.0528564453125, 0.032318115234375, -0.048797607421875, 0.05206298828125, 0.060546875, -0.0189056396484375, 0.00859832763671875, -0.0142364501953125, -0.0062713623046875, -0.0103759765625, 0.01500701904296875, -0.00516510009765625, -0.022735595703125, -0.059051513671875, 0.007415771484375, 0.0251922607421875, 0.054107666015625, 0.00012552738189697266, -0.05096435546875, 0.004100799560546875, 0.0166473388671875, -0.0946044921875, -0.131103515625, -0.0027675628662109375, -0.061553955078125, 0.0265350341796875, -0.01020050048828125, -0.0279083251953125, -0.004184722900390625, 0.0183563232421875, 0.013671875, -0.0130615234375, -0.01174163818359375, -0.02960205078125, -0.04522705078125, -0.06134033203125, 0.00606536865234375, 0.0109710693359375, 0.033843994140625, 0.00460052490234375, 0.03369140625, -0.0118560791015625, -0.0626220703125, 0.003170013427734375, 0.0158233642578125, -0.01239013671875, 0.024444580078125, 0.018798828125, -0.0162200927734375, -0.045074462890625, 0.01447296142578125, -0.030364990234375, -0.01580810546875, -0.0011701583862304688, -0.01454925537109375, 0.0296173095703125, 0.006866455078125, 0.039825439453125, 0.017486572265625, -0.0521240234375, 0.021514892578125, 0.0291290283203125, -0.035736083984375, -0.0027332305908203125, -0.0308380126953125, -0.04742431640625, -0.034881591796875, 0.01245880126953125, 0.02392578125, -0.0038623809814453125, -0.019439697265625, 0.0193328857421875, 0.0202484130859375, -0.01413726806640625, -0.0038604736328125, 0.044677734375, 0.007659912109375, 0.01309967041015625, -0.01439666748046875, -0.04302978515625, -0.0504150390625, 0.039520263671875, -0.02423095703125, -0.0032196044921875, -0.021392822265625, 0.0202178955078125, -0.029815673828125, -0.0517578125, 0.07464599609375, 0.0303192138671875, -0.010223388671875, -0.01519775390625, -0.04473876953125, 0.005649566650390625, 0.075927734375, -0.01320648193359375, -0.042694091796875, -0.023468017578125, 0.0261688232421875, -0.0165252685546875, -0.034149169921875, 0.035491943359375, -0.0149993896484375, -0.053497314453125, 0.01428985595703125, -0.01934814453125, -0.0032596588134765625, -0.02923583984375, 0.002838134765625, -0.039154052734375, -0.03857421875, 0.038604736328125, -0.005611419677734375, 0.0042572021484375, 0.041595458984375, -0.0164642333984375, 0.03973388671875, -0.0299835205078125, -0.0174407958984375, -0.03826904296875, -0.01409149169921875, -0.01006317138671875, 0.0294036865234375, -0.01410675048828125, 0.06414794921875, -0.0133209228515625, 0.025177001953125, -0.0232086181640625, -0.01461029052734375, 0.002643585205078125, 0.032562255859375, -0.05474853515625, 0.034423828125, -0.0009965896606445312, -0.0300750732421875, -0.005657196044921875, -0.015777587890625, 0.01092529296875, 0.0174102783203125, -0.0430908203125, -0.009796142578125, -0.040679931640625, -0.00977325439453125, 0.0228424072265625, -0.0277252197265625, -0.0296630859375, 0.0185394287109375, -0.042083740234375, 0.00940704345703125, -0.02227783203125, -0.01331329345703125, 0.033172607421875, 0.00695037841796875, 0.012603759765625, -0.0009860992431640625, 0.06488037109375, 0.01515960693359375, -0.036163330078125, -0.050323486328125, 0.01238250732421875, 0.04364013671875, -0.01605224609375, 0.0139312744140625, 0.01435089111328125, -0.0301666259765625, 0.036285400390625, 0.0166778564453125, -0.0009374618530273438, 0.0010690689086914062, 0.0286712646484375, 0.01261138916015625, -0.0032901763916015625, 0.0034027099609375, 0.00682830810546875, -0.0132904052734375, 0.044219970703125, -0.0217742919921875, 0.0141448974609375, -0.0168914794921875, 0.0079345703125, -0.0011701583862304688, 0.0029544830322265625, -0.0267486572265625, -0.0560302734375, 0.00959014892578125, -0.049041748046875, 0.053741455078125, 0.001781463623046875, 0.007305145263671875, 0.051910400390625, 0.044403076171875, 0.0079193115234375, 0.040802001953125, 0.04486083984375, -0.007030487060546875, 0.035675048828125, 0.0276947021484375, -0.018463134765625, -0.00623321533203125, -0.01419830322265625, 0.0362548828125, 0.01039886474609375, -0.031768798828125, 0.0167388916015625, -0.0121917724609375, -0.00487518310546875, 0.0023784637451171875, 0.027557373046875, 0.0355224609375, 0.047119140625, -0.031585693359375, 0.00164794921875, 0.0257720947265625, 0.0101318359375, -0.04315185546875, 0.01511383056640625, -0.005336761474609375, -0.00034809112548828125, 0.034515380859375, 0.038665771484375, -0.03253173828125, 0.048431396484375, -0.0205535888671875, 0.06658935546875, 0.035003662109375, 0.043548583984375, -0.0032196044921875, -0.0247955322265625, -0.00018608570098876953, 0.034210205078125, -0.0192718505859375, 0.003070831298828125, -0.0160369873046875, 0.0232696533203125, 0.0013751983642578125, 0.0005002021789550781, 0.0231170654296875, 0.008575439453125, 0.0093994140625, -0.0107421875, -0.005619049072265625, 0.0023899078369140625, -0.0046539306640625, -0.01678466796875, -0.00933074951171875, 0.021270751953125, 0.0174560546875, 0.01479339599609375, -0.00916290283203125, 0.00400543212890625, 0.025177001953125, -0.03973388671875, 0.0280609130859375, -0.016754150390625, -0.020599365234375, 0.0157928466796875, -0.00894927978515625, -0.02899169921875, 0.0178680419921875, -0.01218414306640625, -0.004638671875, -0.0003266334533691406, 0.03369140625, -0.039886474609375, 0.06927490234375, -0.0399169921875, 0.0131683349609375, 0.004795074462890625, 0.0015048980712890625, 0.0531005859375, 0.05914306640625, -0.008544921875, -0.01995849609375, -0.042388916015625, -0.028289794921875, 0.029571533203125, 0.01110076904296875, -0.01151275634765625, -0.0018110275268554688, 0.0123748779296875, 0.019378662109375, 0.006282806396484375, -0.042205810546875, -0.021697998046875, -0.0266571044921875, 0.01873779296875, -0.004718780517578125, -0.0180816650390625, 0.10162353515625, -0.008697509765625, 0.059478759765625, 0.001247406005859375, 0.031890869140625, -0.04083251953125, -0.0029296875, 0.025390625, -0.0229339599609375, -0.0257110595703125, -0.0151519775390625, 0.01415252685546875, -0.044189453125, -0.0318603515625, -0.01352691650390625, 0.032501220703125, 0.0020542144775390625, 0.0031108856201171875, 0.00530242919921875, -0.033905029296875, -0.0122222900390625, 0.0003807544708251953, 0.054656982421875, -0.019317626953125, -0.024505615234375, 0.005489349365234375, 0.033660888671875, -0.0310821533203125, -0.008636474609375, -0.048736572265625, 0.0098876953125, 0.00887298583984375, 0.023590087890625, 0.08905029296875, 0.01374053955078125, 0.042022705078125, 0.032379150390625, 0.0011663436889648438, -0.007053375244140625, 0.0172119140625, 0.0167999267578125, -0.0012712478637695312, 0.07177734375, -0.005859375, -0.0229339599609375, 0.0278472900390625, -0.033294677734375, 0.039520263671875, 0.03131103515625, 0.067138671875, -0.042388916015625, 0.01306915283203125, 0.003376007080078125, -0.053131103515625, 0.016326904296875, 0.0013246536254882812, -0.0162200927734375, -0.01125335693359375, 0.033203125, 0.0164642333984375, -0.0207061767578125, 0.01274871826171875, 0.0249786376953125, 0.0173492431640625, 0.0019397735595703125, 0.060455322265625, 0.0096435546875, -0.0195465087890625, -0.024261474609375, -0.007396697998046875, 0.0222625732421875, 0.01477813720703125, 0.01181793212890625, 0.0091552734375, 0.0021419525146484375, -0.036651611328125, 0.0220184326171875, -0.0560302734375, -0.012542724609375, -0.0277252197265625, 0.0281219482421875, -0.0189666748046875, 0.0543212890625, -0.031982421875, 0.00591278076171875, 0.046539306640625, -0.043426513671875, -0.0491943359375, -0.003330230712890625, -0.017791748046875, 0.0181884765625, -0.004650115966796875, 0.02734375, -0.0379638671875, 0.0137786865234375, -0.016082763671875, -0.01367950439453125, 0.05517578125, -0.01300048828125, -0.016204833984375, 0.013763427734375, 0.05474853515625, -0.002368927001953125, -0.0243988037109375, 0.0205230712890625, -0.0963134765625, -0.028564453125, 0.0023956298828125, 0.0014219284057617188, 0.026397705078125, -0.003704071044921875, -0.0374755859375, 0.08282470703125, -0.0210113525390625, 0.0101470947265625, 0.039794921875, 0.024169921875, -0.0245208740234375, 0.00008350610733032227, -0.05706787109375, 0.0570068359375, -0.003314971923828125, 0.08465576171875, -0.0457763671875, -0.01239776611328125, 0.04876708984375, 0.0267181396484375, 0.0504150390625, -0.007663726806640625, -0.030548095703125, -0.018707275390625, 0.06646728515625, 0.0843505859375, 0.0250244140625, 0.01029205322265625, -0.0037670135498046875, 0.0753173828125, 0.072509765625, -0.06658935546875, 0.0176849365234375, 0.0218658447265625, -0.0137176513671875, 0.01514434814453125, 0.0162506103515625, 0.03240966796875, -0.019378662109375, 0.045928955078125, 0.01313018798828125, -0.0232696533203125, 0.0003600120544433594, 0.0164947509765625, -0.0185394287109375, 0.073974609375, 0.053131103515625, -0.05780029296875, -0.0455322265625, -0.042083740234375, 0.050933837890625, 0.018707275390625, 0.035614013671875, 0.02337646484375, 0.01287078857421875, 0.07891845703125, -0.0166778564453125, 0.012237548828125, 0.007251739501953125, -0.0260772705078125, 0.08453369140625, -0.01096343994140625, 0.0282745361328125, -0.06585693359375, -0.0274200439453125, 0.0226593017578125, 0.0897216796875, -0.04962158203125, 0.002521514892578125, 0.01319122314453125, 0.007114410400390625, -0.02410888671875, -0.03131103515625, -0.0048370361328125, 0.0849609375, 0.0635986328125, -0.034515380859375, -0.025665283203125, 0.0294342041015625, -0.0099945068359375, 0.0026607513427734375, 0.003665924072265625, 0.03955078125, -0.0243682861328125, -0.0080413818359375, -0.00827789306640625, 0.014404296875, 0.0574951171875, 0.0036144256591796875, 0.0176544189453125, -0.0662841796875, -0.01715087890625, -0.00720977783203125, 0.0172882080078125, 0.004230499267578125, 0.0160369873046875, -0.019256591796875, -0.025543212890625, 0.0107574462890625, 0.029144287109375, -0.00911712646484375, -0.002994537353515625, 0.01453399658203125, 0.018951416015625, -0.0227813720703125, -0.016693115234375, -0.0005640983581542969, -0.032989501953125, -0.07379150390625, 0.007556915283203125, 0.00554656982421875, 0.060333251953125, 0.02685546875, 0.01197052001953125, 0.0706787109375, 0.0231781005859375, -0.047271728515625, 0.016143798828125, -0.01507568359375, -0.042694091796875, 0.03466796875, 0.00707244873046875, 0.06060791015625, -0.0128631591796875, -0.07843017578125, -0.0235748291015625, 0.0093841552734375, -0.024810791015625, -0.00026154518127441406, 0.0223846435546875, -0.024200439453125, 0.02789306640625, -0.0169830322265625, -0.0167388916015625, 0.017578125, -0.001422882080078125, -0.00669097900390625, 0.02288818359375, 0.02581787109375, -0.0166015625, -0.05865478515625, -0.05853271484375, -0.0254669189453125, 0.062042236328125, 0.0004143714904785156, 0.0159454345703125, -0.0109100341796875, 0.036285400390625, -0.0056915283203125, 0.01010894775390625, -0.00807952880859375, -0.01169586181640625, 0.0633544921875, -0.0093841552734375, -0.022857666015625, -0.026275634765625, -0.032928466796875, -0.0034809112548828125, 0.0176544189453125, -0.0195159912109375, -0.00772857666015625, -0.0341796875, 0.038055419921875, 0.021453857421875, 0.024383544921875, -0.01306915283203125, 0.0239715576171875, -0.0031642913818359375, -0.02508544921875, 0.04931640625, 0.01617431640625, 0.00653839111328125, 0.05181884765625, -0.0308990478515625, 0.007785797119140625, 0.003047943115234375, -0.048065185546875, 0.01959228515625, 0.02899169921875, -0.06646728515625, 0.0028018951416015625, 0.024627685546875, -0.0082244873046875, -0.018585205078125, 0.040283203125, -0.0201873779296875, 0.0145111083984375, -0.041229248046875, -0.0489501953125, 0.0203094482421875, 0.035675048828125, 0.0157928466796875, 0.022064208984375, -0.03228759765625, -0.0283050537109375, 0.006744384765625, 0.014190673828125, -0.0087890625, 0.0066070556640625, -0.01515960693359375, 0.0019207000732421875, 0.0258941650390625, -0.006855010986328125, 0.004833221435546875, -0.005489349365234375, 0.00978851318359375, -0.01143646240234375, -0.032806396484375, 0.01316070556640625, -0.0186309814453125, 0.0173187255859375, -0.0251922607421875, -0.01873779296875, 0.0171051025390625, 0.04638671875, -0.0394287109375, -0.01053619384765625, -0.0266571044921875, -0.0222625732421875, -0.048126220703125, 0.033050537109375, 0.042388916015625, -0.05517578125, 0.004985809326171875, -0.010498046875, 0.02423095703125, 0.034820556640625, 0.037322998046875, -0.01324462890625, 0.006298065185546875, -0.00335693359375, -0.028289794921875, -0.0592041015625, 0.0214691162109375, -0.06793212890625, -0.028594970703125, -0.037353515625, 0.0263214111328125, 0.020843505859375, -0.045989990234375, -0.06304931640625, 0.054229736328125, -0.030364990234375, -0.0230865478515625, -0.04071044921875, 0.005157470703125, 0.02490234375, -0.03228759765625, -0.01212310791015625, -0.031494140625, -0.045928955078125, 0.0085601806640625, 0.0137481689453125, -0.002696990966796875, 0.029327392578125, 0.0019044876098632812, -0.083984375, -0.005077362060546875, -0.0433349609375, 0.00243377685546875, 0.008392333984375, 0.0026988983154296875, 0.02545166015625, 0.023040771484375, -0.03961181640625, 0.033355712890625, -0.0261993408203125, -0.0009784698486328125, 0.0021419525146484375, -0.032806396484375, -0.0318603515625, -0.0186309814453125, 0.0188446044921875, 0.035736083984375, 0.0065765380859375, -0.024566650390625, -0.033843994140625, -0.03802490234375, -0.033782958984375, -0.027496337890625, 0.01549530029296875, -0.0582275390625, -0.01165008544921875, 0.0007944107055664062, -0.00904083251953125, -0.0077362060546875, 0.02239990234375, -0.017303466796875, -0.028228759765625, -0.011566162109375, -0.01517486572265625, -0.055633544921875, -0.030914306640625, 0.0247650146484375, -0.0273590087890625, -0.017730712890625, -0.0032501220703125, 0.0289764404296875, -0.0219268798828125, 0.0009851455688476562, 0.007083892822265625, -0.0006089210510253906, 0.0163421630859375, 0.0218963623046875, 0.01605224609375, -0.0105133056640625, 0.00007802248001098633, -0.0097503662109375, -0.0096893310546875, 0.01244354248046875, -0.005596160888671875, 0.022796630859375, 0.0012989044189453125, 0.033050537109375, 0.01482391357421875, 0.0236663818359375, 0.003082275390625, 0.004199981689453125, -0.01044464111328125, 0.0357666015625, 0.0045318603515625, -0.01480865478515625, 0.0274658203125, -0.00351715087890625, 0.007732391357421875, -0.0030727386474609375, -0.021636962890625, -0.0457763671875, 0.01119232177734375, 0.04217529296875, -0.0117645263671875, 0.01428985595703125 ]
a84d7b59c554c043193d6c4fc30979713f0fc3de
Wordpress Stackexchange Q: Insights into WordPress Multi-Site, Domain Mapped, and Multilanguage site using WPML I have a project with WordPress for a multi-language, multi-country site. I want to have a structure like: * *domain.com * *domain.com/es *domain.com/de *domain.com/fr *domain.es * *domain.es/en *domain.fr * *domain.fr/en *domain.de * *domain.de/en I was wondering if anyone had any useful articles, tips or insights. The idea is that the .com site be the 'parent' site. The other satellite sites would be in their native language by default, but might have other languages available. Ideally, each individual satellite site could have some leeway to have styles/content that would be different than the parent site. I also want the parent site to use canonicalization, so that the 'satellite' (country-specific, top-level-domain) sites have priority. I guess I'm most curious to know about: Domain mapping and compatibility with WMPL Thanks
Q: Insights into WordPress Multi-Site, Domain Mapped, and Multilanguage site using WPML I have a project with WordPress for a multi-language, multi-country site. I want to have a structure like: * *domain.com * *domain.com/es *domain.com/de *domain.com/fr *domain.es * *domain.es/en *domain.fr * *domain.fr/en *domain.de * *domain.de/en I was wondering if anyone had any useful articles, tips or insights. The idea is that the .com site be the 'parent' site. The other satellite sites would be in their native language by default, but might have other languages available. Ideally, each individual satellite site could have some leeway to have styles/content that would be different than the parent site. I also want the parent site to use canonicalization, so that the 'satellite' (country-specific, top-level-domain) sites have priority. I guess I'm most curious to know about: Domain mapping and compatibility with WMPL Thanks
wordpress
{ "language": "en", "length": 139, "provenance": "stackexchange_00019.jsonl.gz:414377", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32937" }
[ 0.01380157470703125, -0.0115814208984375, 0.0109405517578125, 0.000058531761169433594, -0.02508544921875, -0.01557159423828125, 0.00263214111328125, -0.01605224609375, 0.0008950233459472656, 0.01316070556640625, 0.016204833984375, -0.036224365234375, 0.02691650390625, -0.049468994140625, 0.01904296875, -0.0174713134765625, 0.01824951171875, 0.00392913818359375, 0.017120361328125, -0.013519287109375, -0.02496337890625, -0.0035839080810546875, 0.039703369140625, -0.017913818359375, 0.031005859375, -0.089599609375, 0.022613525390625, -0.0029754638671875, 0.0028705596923828125, -0.020751953125, 0.03594970703125, 0.033416748046875, 0.03125, -0.051910400390625, 0.0406494140625, -0.0249176025390625, 0.01468658447265625, -0.032135009765625, -0.004932403564453125, 0.0101470947265625, -0.00670623779296875, 0.0121612548828125, 0.023895263671875, 0.054290771484375, -0.0036525726318359375, -0.0826416015625, 0.0274658203125, -0.057373046875, -0.00006264448165893555, -0.0012989044189453125, 0.004787445068359375, -0.0012531280517578125, 0.010467529296875, 0.032989501953125, -0.01126861572265625, -0.0211029052734375, -0.006496429443359375, 0.0233154296875, 0.01247406005859375, 0.0208892822265625, -0.0212249755859375, 0.029266357421875, -0.006259918212890625, -0.0213623046875, -0.01360321044921875, -0.00237274169921875, -0.0142364501953125, 0.007648468017578125, -0.039520263671875, -0.03167724609375, 0.0104217529296875, -0.026702880859375, 0.01367950439453125, -0.05511474609375, -0.0172882080078125, 0.0236663818359375, -0.01971435546875, -0.038818359375, 0.04351806640625, -0.027496337890625, -0.0018367767333984375, -0.006809234619140625, -0.048553466796875, -0.04095458984375, 0.01502227783203125, -0.032745361328125, -0.00860595703125, 0.001827239990234375, -0.07763671875, -0.01113128662109375, -0.047698974609375, -0.03863525390625, -0.0933837890625, 0.027923583984375, 0.036834716796875, -0.0201416015625, 0.0328369140625, 0.042449951171875, -0.02667236328125, -0.0175628662109375, -0.00778961181640625, -0.0177764892578125, -0.0220794677734375, -0.0089263916015625, 0.0193634033203125, 0.0020809173583984375, -0.022613525390625, -0.031341552734375, 0.047821044921875, 0.021392822265625, -0.0106048583984375, 0.06268310546875, 0.0119476318359375, 0.00901031494140625, -0.032196044921875, -0.0269622802734375, -0.0309906005859375, -0.0043182373046875, -0.01006317138671875, -0.0163116455078125, -0.0019350051879882812, 0.022186279296875, 0.01557159423828125, -0.01288604736328125, 0.0010137557983398438, -0.0063629150390625, -0.0134124755859375, -0.0286865234375, -0.003841400146484375, 0.014617919921875, -0.036529541015625, 0.01505279541015625, 0.01560211181640625, 0.01195526123046875, -0.022064208984375, -0.0200653076171875, 0.006988525390625, 0.0003981590270996094, 0.00989532470703125, -0.01019287109375, 0.02935791015625, -0.01366424560546875, -0.0009303092956542969, 0.01202392578125, -0.0152130126953125, 0.0063934326171875, 0.01158905029296875, 0.02178955078125, 0.01439666748046875, -0.025787353515625, 0.0011358261108398438, -0.0189056396484375, 0.0472412109375, -0.01241302490234375, -0.04010009765625, -0.044158935546875, -0.01351165771484375, -0.032867431640625, 0.002658843994140625, -0.0352783203125, -0.0251312255859375, -0.023773193359375, 0.0259857177734375, -0.03472900390625, -0.029815673828125, -0.0110015869140625, -0.00036525726318359375, 0.00630950927734375, 0.0179595947265625, -0.0282440185546875, 0.029632568359375, -0.018829345703125, 0.0169525146484375, -0.00620269775390625, 0.00994110107421875, 0.0176849365234375, -0.0171661376953125, 0.01110076904296875, 0.0289154052734375, 0.04241943359375, 0.027801513671875, -0.0267486572265625, 0.05633544921875, 0.002685546875, -0.003032684326171875, -0.0012187957763671875, 0.01108551025390625, 0.0372314453125, 0.005634307861328125, 0.027191162109375, -0.00521087646484375, -0.00670623779296875, -0.0518798828125, 0.0125274658203125, -0.025726318359375, -0.0136260986328125, 0.009002685546875, 0.032806396484375, -0.01421356201171875, -0.018768310546875, -0.0249176025390625, 0.003635406494140625, -0.00351715087890625, 0.049652099609375, 0.019439697265625, 0.00763702392578125, -0.007572174072265625, 0.0029888153076171875, 0.0262603759765625, 0.0115814208984375, 0.0007810592651367188, 0.030609130859375, -0.0255279541015625, -0.0306854248046875, -0.03692626953125, 0.04052734375, -0.0017995834350585938, 0.0248260498046875, 0.00536346435546875, 0.00809478759765625, -0.00003814697265625, -0.0117950439453125, -0.026763916015625, 0.007045745849609375, 0.03106689453125, 0.004367828369140625, -0.01678466796875, 0.00872039794921875, 0.046295166015625, 0.00811767578125, 0.0246124267578125, 0.015380859375, -0.0079345703125, -0.0010671615600585938, -0.036529541015625, -0.01198577880859375, -0.010009765625, -0.0009832382202148438, 0.007335662841796875, 0.04510498046875, 0.02239990234375, 0.01666259765625, -0.018280029296875, 0.0134735107421875, -0.0035266876220703125, -0.066162109375, -0.00839996337890625, 0.0174560546875, 0.003826141357421875, 0.047637939453125, -0.04852294921875, 0.011322021484375, 0.0269317626953125, -0.049713134765625, -0.00839996337890625, 0.0513916015625, -0.05133056640625, -0.08013916015625, 0.004405975341796875, -0.0114593505859375, 0.0361328125, -0.039947509765625, -0.046356201171875, 0.019805908203125, -0.01319122314453125, 0.0275115966796875, 0.0031414031982421875, 0.0094451904296875, -0.0265960693359375, 0.0182647705078125, 0.0267791748046875, -0.00927734375, 0.0211639404296875, -0.00943756103515625, 0.004436492919921875, -0.0531005859375, 0.0167999267578125, -0.01084136962890625, -0.0038471221923828125, -0.0301971435546875, -0.027191162109375, 0.06353759765625, -0.05035400390625, -0.03033447265625, -0.053680419921875, -0.0196380615234375, -0.0111236572265625, -0.0081329345703125, 0.03411865234375, 0.004947662353515625, 0.02838134765625, -0.01479339599609375, -0.0094451904296875, 0.016876220703125, 0.0282135009765625, -0.04302978515625, 0.059814453125, -0.044921875, 0.038665771484375, -0.032501220703125, 0.026580810546875, 0.05877685546875, -0.023040771484375, 0.00748443603515625, -0.018798828125, -0.011322021484375, 0.01534271240234375, -0.04779052734375, -0.045318603515625, -0.01352691650390625, -0.064208984375, -0.007415771484375, 0.009033203125, -0.007442474365234375, -0.013519287109375, -0.0218505859375, -0.0085601806640625, -0.00600433349609375, -0.05694580078125, -0.047393798828125, -0.044525146484375, -0.03021240234375, 0.029205322265625, 0.02593994140625, 0.002483367919921875, -0.01873779296875, 0.03143310546875, 0.01288604736328125, 0.024200439453125, -0.0552978515625, -0.11456298828125, -0.10296630859375, -0.1070556640625, -0.04046630859375, -0.0129241943359375, 0.014984130859375, 0.01166534423828125, -0.059173583984375, -0.0021228790283203125, 0.0167083740234375, 0.0290374755859375, 0.09222412109375, 0.00853729248046875, -0.0419921875, -0.04254150390625, -0.04833984375, 0.0036678314208984375, -0.0241851806640625, 0.02392578125, 0.0032978057861328125, 0.0234832763671875, 0.0316162109375, 0.0017766952514648438, 0.0166473388671875, 0.038909912109375, -0.09173583984375, -0.0179443359375, 0.045196533203125, -0.024200439453125, -0.024139404296875, -0.016937255859375, -0.0235748291015625, -0.040496826171875, 0.0238037109375, 0.028564453125, 0.00701904296875, 0.031646728515625, -0.015411376953125, 0.0169830322265625, -0.0002543926239013672, 0.026214599609375, -0.024627685546875, 0.0207366943359375, -0.0007147789001464844, 0.019256591796875, -0.039031982421875, 0.047027587890625, -0.020172119140625, -0.0223541259765625, 0.00652313232421875, -0.01065826416015625, -0.01110076904296875, 0.01036834716796875, -0.0380859375, -0.0200958251953125, 0.05072021484375, 0.01155853271484375, 0.0254669189453125, -0.0175628662109375, -0.029754638671875, -0.0157318115234375, 0.0679931640625, -0.02813720703125, -0.00312042236328125, 0.0169219970703125, 0.025054931640625, -0.05889892578125, -0.04364013671875, -0.046630859375, -0.0019550323486328125, -0.00997161865234375, 0.01371002197265625, -0.0043487548828125, -0.0053863525390625, -0.03216552734375, 0.0309600830078125, -0.01171112060546875, -0.00948333740234375, 0.035064697265625, -0.0084075927734375, -0.00832366943359375, 0.02264404296875, 0.0015745162963867188, -0.02435302734375, -0.0175018310546875, -0.01345062255859375, -0.08154296875, -0.0216064453125, 0.001827239990234375, 0.058074951171875, 0.00775146484375, -0.0277862548828125, -0.00920867919921875, 0.07269287109375, -0.036651611328125, 0.06341552734375, -0.0430908203125, 0.0181121826171875, 0.025726318359375, 0.0198516845703125, -0.0058746337890625, 0.00232696533203125, -0.00928497314453125, 0.0092926025390625, -0.044036865234375, 0.0164337158203125, 0.005168914794921875, -0.04071044921875, 0.038818359375, -0.046966552734375, -0.0301513671875, -0.00258636474609375, -0.0350341796875, 0.002685546875, -0.009429931640625, -0.0311279296875, -0.0119171142578125, -0.040985107421875, 0.018890380859375, -0.0098114013671875, -0.0006012916564941406, 0.0103302001953125, 0.0241851806640625, -0.00421142578125, -0.02642822265625, -0.059478759765625, 0.008544921875, 0.0178985595703125, -0.012481689453125, 0.0278167724609375, 0.00665283203125, -0.01812744140625, 0.032135009765625, -0.0014133453369140625, 0.0273590087890625, 0.05609130859375, -0.0119171142578125, 0.03436279296875, 0.00514984130859375, -0.005641937255859375, 0.060302734375, -0.07525634765625, 0.051727294921875, -0.0107421875, -0.0284881591796875, -0.036407470703125, 0.03936767578125, -0.00930023193359375, 0.01308441162109375, -0.049896240234375, -0.052154541015625, 0.032012939453125, -0.03143310546875, -0.031463623046875, 0.004604339599609375, -0.006984710693359375, -0.0023250579833984375, -0.040435791015625, -0.00006383657455444336, 0.037628173828125, 0.0245819091796875, 0.004787445068359375, 0.0284423828125, 0.032135009765625, -0.01349639892578125, -0.0111846923828125, -0.023345947265625, 0.08734130859375, -0.0035266876220703125, -0.0304107666015625, 0.03765869140625, -0.0275421142578125, -0.032501220703125, 0.0233001708984375, 0.0177459716796875, 0.0283355712890625, 0.01314544677734375, -0.0166778564453125, 0.01557159423828125, 0.0261993408203125, -0.0169677734375, -0.04022216796875, -0.01363372802734375, -0.021881103515625, 0.01174163818359375, 0.01073455810546875, 0.078125, -0.050933837890625, 0.0718994140625, -0.014739990234375, -0.01078033447265625, 0.027099609375, 0.03594970703125, 0.02252197265625, -0.0210418701171875, -0.013336181640625, 0.0406494140625, 0.0248260498046875, -0.0006432533264160156, 0.04498291015625, 0.0196533203125, 0.0221710205078125, 0.0131683349609375, -0.028411865234375, -0.0001480579376220703, -0.039398193359375, -0.017822265625, 0.015777587890625, 0.016998291015625, -0.0189971923828125, -0.003826141357421875, 0.002231597900390625, -0.002960205078125, 0.015106201171875, -0.01291656494140625, -0.0248870849609375, -0.048248291015625, 0.0093841552734375, -0.01529693603515625, -0.00489044189453125, 0.025054931640625, 0.001064300537109375, 0.01056671142578125, -0.0038967132568359375, 0.005340576171875, -0.10223388671875, -0.016082763671875, -0.00684356689453125, 0.00983428955078125, -0.0005292892456054688, -0.0120086669921875, -0.0222015380859375, -0.026885986328125, 0.042449951171875, -0.02484130859375, 0.026336669921875, 0.004817962646484375, -0.0264892578125, -0.005619049072265625, -0.016357421875, -0.038177490234375, -0.01531982421875, -0.00652313232421875, -0.00528717041015625, -0.03497314453125, 0.0017499923706054688, 0.018798828125, 0.024505615234375, 0.023468017578125, -0.002506256103515625, -0.018280029296875, 0.0118408203125, 0.00945281982421875, 0.0352783203125, -0.026123046875, 0.099609375, -0.0218963623046875, 0.02935791015625, 0.01904296875, 0.06689453125, 0.0244140625, -0.01142120361328125, 0.00966644287109375, -0.06414794921875, -0.035797119140625, -0.0064544677734375, -0.0416259765625, 0.039825439453125, 0.032196044921875, -0.0090789794921875, 0.033538818359375, -0.021026611328125, 0.004482269287109375, -0.02142333984375, -0.01274871826171875, -0.06903076171875, 0.0226287841796875, -0.026519775390625, -0.0015382766723632812, 0.07586669921875, -0.0164947509765625, -0.0196075439453125, 0.0216217041015625, -0.019012451171875, 0.032623291015625, 0.0211944580078125, 0.017669677734375, -0.0217132568359375, -0.01611328125, -0.02056884765625, 0.0246429443359375, 0.0219268798828125, 0.0277557373046875, 0.0037059783935546875, -0.0171356201171875, -0.019073486328125, 0.0247344970703125, 0.005359649658203125, -0.024658203125, 0.0207977294921875, -0.008331298828125, 0.0005736351013183594, -0.02960205078125, 0.037078857421875, 0.022369384765625, -0.0428466796875, -0.00846099853515625, -0.00380706787109375, -0.0106048583984375, -0.047088623046875, 0.01512908935546875, -0.0210418701171875, -0.049102783203125, 0.0102996826171875, -0.0219268798828125, -0.01247406005859375, 0.004756927490234375, -0.01114654541015625, -0.0142974853515625, 0.003818511962890625, 0.04388427734375, 0.02777099609375, 0.01166534423828125, -0.020965576171875, -0.004917144775390625, 0.012298583984375, -0.01715087890625, 0.00040268898010253906, 0.035614013671875, -0.045013427734375, -0.047821044921875, 0.0167083740234375, -0.006504058837890625, -0.0187530517578125, -0.023529052734375, -0.0200347900390625, 0.0011157989501953125, 0.02569580078125, -0.03204345703125, -0.016387939453125, 0.005458831787109375, -0.00847625732421875, 0.00809478759765625, 0.0257110595703125, 0.034881591796875, -0.035736083984375, 0.004840850830078125, -0.0067291259765625, -0.043731689453125, -0.04290771484375, 0.016510009765625, 0.040008544921875, 0.00949859619140625, -0.0254364013671875, -0.006656646728515625, 0.04718017578125, -0.00775909423828125, -0.0104827880859375, -0.021270751953125, -0.01010894775390625, -0.08062744140625, -0.07965087890625, -0.020416259765625, -0.09027099609375, 0.0193634033203125, -0.0196990966796875, -0.09283447265625, 0.0640869140625, -0.01258087158203125, 0.0814208984375, 0.006793975830078125, 0.00627899169921875, 0.008026123046875, -0.0181121826171875, -0.008575439453125, 0.021484375, 0.04022216796875, -0.01467132568359375, -0.00946044921875, -0.0105743408203125, -0.0203399658203125, 0.05059814453125, 0.04296875, 0.0234222412109375, -0.046356201171875, -0.01486968994140625, 0.005222320556640625, -0.004638671875, -0.0304107666015625, 0.0582275390625, -0.03277587890625, 0.023468017578125, -0.00045371055603027344, -0.05615234375, 0.012176513671875, -0.00482940673828125, -0.04425048828125, -0.011505126953125, 0.000522613525390625, -0.01059722900390625, 0.010345458984375, -0.011993408203125, -0.02783203125, 0.006256103515625, 0.0244598388671875, -0.0226287841796875, 0.044525146484375, -0.0380859375, -0.0037937164306640625, 0.0034770965576171875, 0.10845947265625, -0.045654296875, 0.052581787109375, -0.029815673828125, -0.01189422607421875, 0.01371002197265625, 0.01485443115234375, -0.0138092041015625, 0.00466156005859375, -0.00975799560546875, 0.0232696533203125, -0.017791748046875, 0.00186920166015625, 0.01528167724609375, 0.0188140869140625, -0.0155792236328125, 0.0010118484497070312, 0.03973388671875, 0.0262298583984375, -0.01332855224609375, -0.04705810546875, 0.01483154296875, 0.0206756591796875, 0.031982421875, 0.03314208984375, 0.0489501953125, 0.00809478759765625, 0.030517578125, 0.0162200927734375, -0.019683837890625, -0.0233306884765625, 0.0190277099609375, -0.0004067420959472656, -0.0004303455352783203, 0.01654052734375, -0.0129241943359375, -0.037078857421875, 0.0066986083984375, 0.0145263671875, 0.0736083984375, 0.051849365234375, 0.06939697265625, -0.0355224609375, -0.043701171875, 0.0086822509765625, 0.0290069580078125, 0.0274505615234375, -0.0396728515625, -0.01355743408203125, -0.0615234375, 0.037933349609375, 0.0235137939453125, 0.04119873046875, 0.0033550262451171875, 0.0606689453125, 0.052520751953125, -0.0077362060546875, -0.01003265380859375, 0.06982421875, 0.00492095947265625, 0.00957489013671875, -0.046417236328125, 0.03143310546875, 0.00597381591796875, -0.0015459060668945312, -0.00775146484375, 0.0304412841796875, 0.03521728515625, -0.007045745849609375, 0.0499267578125, -0.01427459716796875, -0.0030975341796875, 0.0267486572265625, -0.0239715576171875, 0.06121826171875, 0.0031280517578125, -0.06805419921875, -0.045989990234375, 0.0198974609375, -0.024871826171875, 0.043182373046875, 0.0714111328125, 0.03173828125, -0.043426513671875, 0.03729248046875, -0.0218048095703125, -0.01544189453125, 0.032470703125, -0.00823211669921875, 0.007843017578125, 0.036865234375, 0.01030731201171875, -0.0174560546875, -0.01419830322265625, 0.00452423095703125, 0.0298004150390625, 0.0135650634765625, 0.059661865234375, -0.0121002197265625, 0.0262603759765625, 0.0040283203125, -0.0120086669921875, 0.024810791015625, -0.00058746337890625, -0.002227783203125, 0.020233154296875, 0.027984619140625, -0.0160369873046875, -0.02838134765625, -0.033935546875, 0.039306640625, -0.068603515625, -0.029632568359375, 0.00658416748046875, 0.03472900390625, -0.01239013671875, 0.039764404296875, -0.035614013671875, -0.057952880859375, -0.10028076171875, 0.004634857177734375, 0.044219970703125, 0.031005859375, -0.06317138671875, 0.08660888671875, -0.046173095703125, -0.0305633544921875, 0.02154541015625, -0.12176513671875, -0.00235748291015625, 0.02435302734375, 0.0189361572265625, -0.0283050537109375, 0.0114593505859375, -0.00896453857421875, -0.01514434814453125, 0.00302886962890625, 0.0272064208984375, 0.0151519775390625, -0.053009033203125, -0.0032501220703125, -0.0004940032958984375, 0.0034618377685546875, -0.02508544921875, -0.0093994140625, 0.01470184326171875, -0.018524169921875, -0.01496124267578125, 0.0070343017578125, -0.0157623291015625, -0.020233154296875, -0.0036678314208984375, -0.0060882568359375, -0.0065765380859375, -0.0430908203125, -0.0386962890625, -0.0462646484375, 0.029632568359375, -0.0083770751953125, -0.02117919921875, 0.00910186767578125, -0.043304443359375, -0.0244293212890625, -0.01031494140625, -0.0197296142578125, -0.0135650634765625, 0.00522613525390625, -0.042083740234375, -0.038421630859375, -0.0562744140625, -0.005096435546875, -0.05047607421875, 0.0135345458984375, 0.0258636474609375, 0.00048089027404785156, -0.0196533203125, 0.0131988525390625, 0.000736236572265625, 0.055755615234375, -0.0210723876953125, -0.0244598388671875, 0.01198577880859375, -0.01528167724609375, -0.02423095703125, -0.0128021240234375, 0.0191497802734375, -0.0309906005859375, -0.023681640625, -0.028594970703125, 0.0079498291015625, 0.0142364501953125, -0.039825439453125, -0.0712890625, 0.11712646484375, -0.02783203125, -0.016021728515625, -0.0697021484375, 0.007244110107421875, 0.0245819091796875, 0.00809478759765625, -0.027435302734375, -0.0094757080078125, -0.06500244140625, 0.0027599334716796875, 0.0128631591796875, 0.0128173828125, -0.01291656494140625, 0.0001443624496459961, 0.0295562744140625, 0.067138671875, 0.093994140625, -0.034637451171875, 0.0220947265625, 0.005977630615234375, 0.0032405853271484375, 0.033203125, -0.019989013671875, -0.0173492431640625, -0.009490966796875, -0.03912353515625, -0.0243072509765625, -0.043670654296875, 0.0027141571044921875, -0.01214599609375, 0.0672607421875, 0.01959228515625, 0.004302978515625, -0.02838134765625, 0.01114654541015625, -0.00759124755859375, -0.035186767578125, -0.02728271484375, 0.0192413330078125, -0.03924560546875, -0.004199981689453125, -0.03338623046875, -0.021240234375, 0.031524658203125, 0.0113525390625, -0.004352569580078125, 0.0289306640625, 0.059356689453125, -0.02496337890625, -0.0401611328125, -0.023345947265625, 0.0645751953125, -0.047821044921875, -0.0120086669921875, 0.0033817291259765625, 0.02642822265625, 0.0160369873046875, -0.01837158203125, -0.0005154609680175781, 0.039703369140625, -0.030242919921875, 0.01157379150390625, 0.00861358642578125, -0.0205841064453125, -0.027679443359375, 0.004474639892578125, -0.021240234375, 0.02459716796875, 0.0197906494140625, 0.0491943359375, -0.03887939453125, 0.041290283203125, 0.0374755859375, -0.060760498046875, -0.008331298828125, -0.007801055908203125, -0.0271453857421875, 0.051605224609375, -0.04071044921875, -0.00745391845703125, -0.0173187255859375, -0.0251922607421875, 0.003360748291015625, 0.0146026611328125, -0.00647735595703125, -0.01528167724609375, 0.004940032958984375, -0.0261077880859375, -0.006103515625, -0.00008028745651245117 ]
01b113f7bf2c979ccd91c168c69e0990348901e5
Wordpress Stackexchange Q: Add a Meta Box for uploading a SECOND Featured Image? I'd like to add a meta box to my posts and page editor that will allow me to upload an image and use it as sort of a SECOND featured image. The idea is that my client will be able to upload an image to this meta box to customize the page/posts header image. Here is an example of what the final result would be: http://gointrigue.com/locations-and-dates/ As you can see at the top of the page there is a large banner of a dancer. Right now this is hardcoded with CSS. I'd like for this to instead be editable by my client from within the Wordpress post/page edit screen on a per page and per post basis. How do I get started? A: The functionality you want may be built from scratch but definitely a custom fields plugin will make your life much easier. I use Advanced Custom Fields, and it gives amazing results and the possibilities are endless. I haven't used this one, but it seems pretty good too.
Q: Add a Meta Box for uploading a SECOND Featured Image? I'd like to add a meta box to my posts and page editor that will allow me to upload an image and use it as sort of a SECOND featured image. The idea is that my client will be able to upload an image to this meta box to customize the page/posts header image. Here is an example of what the final result would be: http://gointrigue.com/locations-and-dates/ As you can see at the top of the page there is a large banner of a dancer. Right now this is hardcoded with CSS. I'd like for this to instead be editable by my client from within the Wordpress post/page edit screen on a per page and per post basis. How do I get started? A: The functionality you want may be built from scratch but definitely a custom fields plugin will make your life much easier. I use Advanced Custom Fields, and it gives amazing results and the possibilities are endless. I haven't used this one, but it seems pretty good too. A: You can use this plugin http://wordpress.org/extend/plugins/multiple-post-thumbnails/ to add secondary featured image to page/posts header image. A: I'm one of the developers that maintains this metabox class. it includes an upload field that you can use. https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress A: You will have to add a meta box on the post/page edit pages. See the doc for add_meta_box. There is a detailed example here, along with how to handle/save the entered information. In the myplugin_inner_custom_box function, replace the text input with a file upload (and/or more fields if you want to). Handle the $_FILE array in the myplugin_save_postdata function. A: use this "Meta Box Script For WordPress" http://www.deluxeblogtips.com/meta-box-script-for-wordpress/ A: There are a number of plugins and scripts that others have referenced. The two I prefer as a developer are Meta Box and the Meta Box Class. Both of these do require that you mess with code to set the fields up, but if you are adding custom meta, you will be messing with code to display it anyway. Advanced Custom Fields is a nice plugin for smaller needs and does allow the addition of new fields on the fly, but each field ( and sub-field - repeaters ) is added as a unique field and for each field you add, the plugin adds 2 fields to the database ( the second being an identifier assigned by ACF. ) So if you are doing a query on a page to get 10 fields, you will actually be doing 20 database queries ( plus one more by ACF ) which can really add to DB query bloat. Use this one carefully.
wordpress
{ "language": "en", "length": 448, "provenance": "stackexchange_00019.jsonl.gz:414391", "question_score": "18", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/32994" }
[ 0.050079345703125, -0.00506591796875, 0.05230712890625, -0.000423431396484375, -0.000335693359375, -0.01239013671875, 0.04010009765625, -0.0693359375, 0.00341796875, 0.0411376953125, -0.01007843017578125, -0.00225067138671875, -0.0177001953125, -0.00939178466796875, -0.0419921875, -0.0277252197265625, 0.036834716796875, -0.027008056640625, 0.028289794921875, 0.011993408203125, 0.0012331008911132812, 0.01934814453125, 0.02496337890625, -0.004009246826171875, 0.026336669921875, -0.0179595947265625, 0.016815185546875, -0.022186279296875, 0.01611328125, -0.0058135986328125, 0.02154541015625, 0.00185394287109375, 0.022216796875, 0.0032520294189453125, 0.0010538101196289062, 0.0183868408203125, 0.0023899078369140625, 0.00830078125, -0.0038700103759765625, 0.017364501953125, 0.006195068359375, 0.00887298583984375, 0.0157623291015625, 0.0179290771484375, 0.00604248046875, -0.0310211181640625, 0.01103973388671875, -0.054107666015625, 0.038299560546875, -0.01739501953125, -0.015960693359375, 0.0404052734375, 0.0084075927734375, -0.0262298583984375, -0.018768310546875, -0.041778564453125, -0.0305633544921875, 0.0182952880859375, 0.042236328125, 0.004207611083984375, -0.0263671875, -0.03253173828125, 0.0177154541015625, -0.0248870849609375, -0.006072998046875, -0.00543212890625, -0.07098388671875, 0.01349639892578125, -0.024810791015625, -0.0178070068359375, 0.01081085205078125, -0.053741455078125, 0.01218414306640625, -0.035797119140625, -0.01100921630859375, 0.005146026611328125, 0.001850128173828125, -0.049102783203125, 0.01007843017578125, -0.0168304443359375, 0.0153350830078125, 0.0009217262268066406, 0.0018491744995117188, -0.02288818359375, 0.0223236083984375, 0.00830078125, -0.0149078369140625, -0.01032257080078125, -0.03741455078125, -0.01000213623046875, -0.0228118896484375, -0.08209228515625, -0.048095703125, 0.038909912109375, 0.0257568359375, -0.020263671875, 0.0247039794921875, -0.0035915374755859375, 0.0011568069458007812, 0.00275421142578125, -0.00017321109771728516, -0.0457763671875, 0.037017822265625, -0.00901031494140625, 0.024017333984375, 0.017364501953125, -0.01103973388671875, -0.056915283203125, 0.028564453125, 0.0240020751953125, -0.017730712890625, 0.020050048828125, 0.03570556640625, -0.017181396484375, -0.0164031982421875, 0.0035953521728515625, 0.0271453857421875, -0.007114410400390625, 0.01088714599609375, -0.0204620361328125, 0.0137176513671875, 0.017059326171875, 0.037353515625, -0.06512451171875, 0.019134521484375, -0.00876617431640625, -0.054473876953125, -0.027313232421875, -0.0114288330078125, 0.01154327392578125, -0.038055419921875, 0.0197296142578125, 0.07830810546875, 0.02911376953125, 0.0160675048828125, -0.0208282470703125, 0.007232666015625, -0.024444580078125, 0.005161285400390625, 0.0147552490234375, -0.036590576171875, -0.031646728515625, 0.033721923828125, -0.0236053466796875, -0.03955078125, 0.03533935546875, -0.0027751922607421875, 0.010955810546875, 0.0005583763122558594, -0.06854248046875, 0.0013303756713867188, -0.048492431640625, 0.007625579833984375, 0.01418304443359375, 0.017791748046875, -0.006328582763671875, 0.0206298828125, -0.021331787109375, 0.0127716064453125, -0.0121002197265625, 0.002124786376953125, 0.0005507469177246094, 0.054962158203125, -0.032440185546875, -0.01468658447265625, -0.01450347900390625, -0.06964111328125, -0.0038089752197265625, 0.019805908203125, -0.027740478515625, 0.0235443115234375, 0.0204925537109375, 0.01250457763671875, -0.01218414306640625, -0.0016469955444335938, -0.007755279541015625, 0.0269927978515625, 0.07354736328125, -0.00902557373046875, 0.033782958984375, 0.0286407470703125, -0.033782958984375, 0.09320068359375, -0.0341796875, -0.038330078125, 0.040252685546875, 0.001617431640625, 0.04461669921875, -0.0174102783203125, 0.0099639892578125, 0.03485107421875, 0.035919189453125, -0.048614501953125, -0.01354217529296875, 0.0013303756713867188, 0.001399993896484375, 0.01392364501953125, -0.00003814697265625, 0.006214141845703125, 0.00992584228515625, -0.0037994384765625, -0.01213836669921875, -0.00595855712890625, 0.0161590576171875, -0.007122039794921875, -0.00130462646484375, -0.0177001953125, 0.011474609375, -0.0211334228515625, 0.0004165172576904297, 0.004337310791015625, -0.0335693359375, 0.01538848876953125, -0.043853759765625, -0.013824462890625, 0.0182647705078125, 0.01056671142578125, 0.01486968994140625, 0.00772857666015625, 0.0208587646484375, -0.01036834716796875, 0.01422882080078125, -0.032684326171875, -0.0191802978515625, 0.0579833984375, 0.04547119140625, -0.043487548828125, 0.0010671615600585938, 0.01031494140625, 0.046234130859375, -0.0826416015625, 0.0294647216796875, -0.01413726806640625, -0.0217742919921875, -0.02252197265625, -0.004680633544921875, -0.00826263427734375, -0.0836181640625, 0.001605987548828125, 0.049072265625, 0.0012388229370117188, 0.0125885009765625, 0.0167388916015625, 0.10162353515625, 0.03961181640625, 0.0030918121337890625, 0.007030487060546875, 0.044403076171875, -0.007213592529296875, -0.01450347900390625, -0.03948974609375, -0.0207977294921875, 0.051055908203125, -0.06982421875, 0.0007762908935546875, 0.05340576171875, -0.054351806640625, -0.0325927734375, 0.00675201416015625, -0.010223388671875, 0.0205230712890625, 0.00409698486328125, -0.0015163421630859375, -0.01210784912109375, 0.089599609375, -0.004878997802734375, 0.06951904296875, 0.041595458984375, -0.03125, 0.008026123046875, -0.0017042160034179688, -0.0179595947265625, 0.0009765625, 0.00007015466690063477, 0.01236724853515625, 0.039093017578125, -0.0181427001953125, -0.006679534912109375, 0.0177154541015625, 0.0173797607421875, -0.0082550048828125, -0.003925323486328125, -0.047271728515625, -0.0083770751953125, 0.00844573974609375, -0.026397705078125, 0.009002685546875, 0.0182037353515625, 0.013702392578125, -0.01161956787109375, 0.03399658203125, -0.00878143310546875, -0.01207733154296875, 0.0226287841796875, 0.004077911376953125, -0.041290283203125, 0.0302734375, -0.03387451171875, 0.047943115234375, -0.045654296875, 0.032928466796875, 0.04241943359375, -0.0565185546875, 0.038604736328125, -0.0293731689453125, 0.012664794921875, -0.054351806640625, 0.0230255126953125, -0.0027294158935546875, -0.06646728515625, 0.007282257080078125, 0.00730133056640625, 0.029205322265625, -0.03314208984375, 0.0282745361328125, 0.01415252685546875, -0.011566162109375, 0.0113983154296875, -0.037322998046875, -0.048492431640625, -0.0024204254150390625, -0.0360107421875, -0.0241241455078125, 0.0157318115234375, -0.0258331298828125, 0.0013303756713867188, 0.0390625, -0.006580352783203125, -0.0274505615234375, -0.0201568603515625, 0.02313232421875, -0.04278564453125, -0.036346435546875, -0.061431884765625, 0.0206756591796875, 0.0096588134765625, 0.0018978118896484375, 0.04498291015625, 0.0048828125, -0.0487060546875, 0.0019350051879882812, 0.03363037109375, 0.00424957275390625, 0.0200042724609375, 0.0213623046875, -0.037750244140625, -0.007144927978515625, -0.007518768310546875, 0.0110626220703125, 0.029083251953125, -0.023834228515625, 0.003192901611328125, -0.068359375, -0.0193634033203125, -0.038848876953125, 0.016021728515625, 0.07012939453125, -0.01605224609375, 0.00086212158203125, -0.044219970703125, 0.0188751220703125, -0.0248870849609375, -0.024658203125, -0.07318115234375, -0.016510009765625, 0.0241851806640625, -0.054656982421875, 0.017669677734375, 0.015167236328125, 0.0084381103515625, 0.031707763671875, -0.023529052734375, 0.0238800048828125, -0.0025634765625, -0.001220703125, -0.042694091796875, -0.035491943359375, -0.02197265625, 0.06854248046875, -0.0262298583984375, 0.03582763671875, -0.033111572265625, 0.0540771484375, -0.06463623046875, -0.04791259765625, 0.054962158203125, -0.01561737060546875, 0.02667236328125, -0.05853271484375, -0.038238525390625, -0.02032470703125, 0.09857177734375, -0.05523681640625, -0.021331787109375, 0.0007562637329101562, -0.0007829666137695312, -0.01403045654296875, 0.02166748046875, -0.041656494140625, -0.0030040740966796875, -0.086669921875, 0.01352691650390625, 0.0182952880859375, -0.050811767578125, 0.01000213623046875, 0.0288238525390625, -0.035919189453125, -0.032073974609375, 0.043243408203125, -0.0626220703125, -0.01160430908203125, 0.04833984375, -0.01296234130859375, -0.01430511474609375, -0.0280303955078125, -0.033721923828125, -0.07623291015625, -0.0136566162109375, 0.023773193359375, 0.040557861328125, -0.033294677734375, 0.0076751708984375, -0.0391845703125, 0.0350341796875, 0.000759124755859375, 0.04461669921875, -0.002079010009765625, 0.012725830078125, 0.0268402099609375, -0.00811004638671875, 0.025634765625, -0.024688720703125, -0.0061492919921875, -0.0131072998046875, -0.0252532958984375, -0.0022029876708984375, -0.0226287841796875, -0.026641845703125, 0.00284576416015625, -0.0202789306640625, 0.025390625, -0.050201416015625, -0.00933074951171875, 0.0286712646484375, 0.0163116455078125, -0.0155792236328125, -0.06494140625, 0.0009341239929199219, -0.0156707763671875, -0.00043201446533203125, 0.01180267333984375, 0.03948974609375, 0.0555419921875, 0.01422119140625, 0.0002620220184326172, -0.0927734375, -0.00409698486328125, 0.03338623046875, 0.0143890380859375, 0.00922393798828125, 0.0149993896484375, -0.0198974609375, 0.02130126953125, 0.01074981689453125, 0.01959228515625, -0.053619384765625, 0.039276123046875, -0.016754150390625, -0.008575439453125, 0.004852294921875, -0.03179931640625, 0.0478515625, -0.00605010986328125, -0.00847625732421875, -0.005390167236328125, -0.06640625, 0.0170135498046875, 0.0251617431640625, 0.0254364013671875, -0.030792236328125, 0.000022530555725097656, -0.02239990234375, 0.0009627342224121094, 0.044769287109375, 0.0197906494140625, -0.0035037994384765625, 0.0013647079467773438, 0.039794921875, 0.0056915283203125, -0.00614166259765625, -0.039703369140625, -0.01837158203125, 0.00890350341796875, 0.005828857421875, -0.0016222000122070312, 0.017364501953125, 0.00960540771484375, 0.007511138916015625, 0.005771636962890625, -0.027923583984375, -0.052093505859375, 0.01201629638671875, 0.0347900390625, -0.006290435791015625, 0.0145263671875, 0.0124359130859375, 0.0169219970703125, -0.004207611083984375, -0.008758544921875, 0.041900634765625, 0.01059722900390625, -0.03460693359375, -0.018798828125, 0.0195770263671875, -0.01512908935546875, -0.0019159317016601562, 0.0550537109375, 0.0032939910888671875, 0.0177459716796875, -0.016143798828125, 0.026947021484375, 0.039031982421875, 0.0279083251953125, 0.032135009765625, -0.01361846923828125, -0.01311492919921875, -0.00550079345703125, -0.0222320556640625, 0.0001691579818725586, 0.0216827392578125, -0.006092071533203125, 0.0340576171875, -0.019012451171875, -0.034637451171875, 0.025390625, -0.0679931640625, -0.0153350830078125, -0.0256195068359375, -0.0093231201171875, -0.015777587890625, 0.008544921875, -0.0006184577941894531, -0.0188140869140625, 0.0100860595703125, -0.01019287109375, 0.0272369384765625, -0.0008726119995117188, 0.040802001953125, -0.030914306640625, -0.00939178466796875, 0.00926971435546875, 0.0080413818359375, -0.03814697265625, 0.000560760498046875, -0.0068359375, -0.0233001708984375, -0.039520263671875, -0.00423431396484375, -0.0142669677734375, 0.03802490234375, -0.048919677734375, -0.0059661865234375, -0.0203857421875, 0.0283660888671875, -0.057769775390625, 0.037384033203125, 0.005237579345703125, 0.0012845993041992188, -0.00966644287109375, -0.0204010009765625, -0.03814697265625, -0.00287628173828125, 0.0227813720703125, -0.040435791015625, 0.01334381103515625, -0.02764892578125, 0.026580810546875, 0.072265625, -0.023834228515625, -0.05450439453125, 0.0174407958984375, -0.03228759765625, -0.007152557373046875, 0.09344482421875, -0.018646240234375, 0.0123748779296875, 0.0257415771484375, 0.03082275390625, 0.01451873779296875, 0.004161834716796875, 0.0196685791015625, -0.031951904296875, -0.0270233154296875, -0.05181884765625, -0.005840301513671875, -0.0081024169921875, 0.0149383544921875, 0.08770751953125, 0.06549072265625, 0.0241546630859375, 0.0206146240234375, -0.032745361328125, 0.00533294677734375, -0.0182952880859375, 0.0015611648559570312, -0.05377197265625, -0.0277252197265625, 0.0211334228515625, -0.051025390625, -0.0014820098876953125, 0.007282257080078125, -0.0026645660400390625, 0.06170654296875, -0.031890869140625, 0.0269622802734375, 0.043792724609375, -0.0293731689453125, 0.0234832763671875, 0.04425048828125, 0.01953125, 0.060211181640625, 0.003040313720703125, 0.0399169921875, 0.031890869140625, -0.00841522216796875, -0.0167388916015625, -0.0034122467041015625, 0.0305328369140625, -0.007083892822265625, -0.005535125732421875, 0.0294342041015625, -0.00986480712890625, 0.038238525390625, -0.012237548828125, 0.0701904296875, -0.0192413330078125, 0.03411865234375, 0.032684326171875, -0.00632476806640625, 0.069580078125, -0.0170135498046875, 0.01241302490234375, 0.00922393798828125, 0.03729248046875, -0.0226593017578125, -0.004741668701171875, 0.02606201171875, -0.0089263916015625, -0.042938232421875, -0.0268402099609375, -0.01253509521484375, 0.004852294921875, -0.0287628173828125, 0.03173828125, 0.0222930908203125, -0.01180267333984375, -0.007061004638671875, -0.0023937225341796875, -0.002590179443359375, -0.0150909423828125, -0.05072021484375, -0.007595062255859375, -0.0111236572265625, 0.005401611328125, 0.04437255859375, 0.02703857421875, 0.0543212890625, 0.041534423828125, 0.033294677734375, -0.0223236083984375, -0.006008148193359375, 0.028533935546875, 0.0100555419921875, -0.0259246826171875, -0.0022411346435546875, -0.01361846923828125, -0.0204010009765625, 0.00817108154296875, -0.0136566162109375, -0.020538330078125, -0.00250244140625, -0.020782470703125, 0.043487548828125, -0.004913330078125, -0.031707763671875, 0.03179931640625, 0.0066070556640625, -0.033447265625, 0.03106689453125, 0.0035991668701171875, -0.05230712890625, -0.0328369140625, 0.004642486572265625, -0.056610107421875, -0.0035114288330078125, 0.0286865234375, -0.068603515625, 0.09027099609375, 0.0263671875, 0.0323486328125, -0.005130767822265625, 0.034698486328125, -0.0159912109375, 0.004451751708984375, -0.0036907196044921875, 0.039276123046875, -0.0440673828125, 0.0355224609375, -0.048797607421875, 0.00794219970703125, -0.00879669189453125, 0.0333251953125, 0.0679931640625, 0.0126190185546875, -0.020477294921875, -0.0295562744140625, 0.0089111328125, 0.038787841796875, -0.019500732421875, 0.0279083251953125, 0.00594329833984375, 0.0124969482421875, 0.0147247314453125, -0.004741668701171875, 0.0171356201171875, -0.016143798828125, -0.02996826171875, 0.0151824951171875, 0.0132904052734375, -0.00029540061950683594, -0.01544189453125, 0.035430908203125, -0.02557373046875, -0.006481170654296875, 0.025115966796875, -0.016815185546875, -0.0134429931640625, 0.01512908935546875, -0.006015777587890625, 0.0300140380859375, 0.01015472412109375, -0.005138397216796875, 0.02587890625, 0.00400543212890625, 0.066162109375, 0.0218048095703125, 0.024871826171875, 0.0279083251953125, 0.0231781005859375, 0.049896240234375, 0.042633056640625, -0.034271240234375, 0.06219482421875, -0.00891876220703125, 0.0022640228271484375, -0.0823974609375, 0.015716552734375, 0.0305023193359375, 0.07025146484375, -0.0635986328125, -0.021484375, 0.00594329833984375, -0.007663726806640625, 0.03564453125, -0.0262908935546875, 0.0179443359375, -0.04168701171875, -0.01227569580078125, -0.01293182373046875, 0.025665283203125, 0.0160675048828125, -0.0081024169921875, -0.006412506103515625, 0.030029296875, -0.042236328125, 0.033111572265625, -0.034912109375, 0.0050506591796875, 0.00917816162109375, 0.031494140625, 0.00885772705078125, 0.05029296875, 0.01470947265625, 0.0009250640869140625, -0.00867462158203125, 0.03912353515625, 0.0168304443359375, 0.0173492431640625, -0.052947998046875, -0.05389404296875, 0.040283203125, 0.02996826171875, 0.01326751708984375, 0.0280914306640625, 0.0595703125, 0.060211181640625, -0.055908203125, -0.0111846923828125, 0.03955078125, -0.0218963623046875, 0.0265045166015625, -0.056610107421875, 0.0246734619140625, 0.02435302734375, -0.01500701904296875, -0.01251220703125, -0.05548095703125, 0.079833984375, -0.00736236572265625, -0.005542755126953125, -0.0019445419311523438, -0.039794921875, 0.0296630859375, -0.027099609375, 0.04010009765625, -0.00693511962890625, -0.07720947265625, -0.0026092529296875, -0.0382080078125, -0.09075927734375, 0.03662109375, 0.037841796875, -0.071044921875, 0.03436279296875, -0.018707275390625, -0.0135345458984375, 0.01122283935546875, -0.0183563232421875, 0.02142333984375, 0.024200439453125, -0.004772186279296875, 0.0092010498046875, 0.0014753341674804688, -0.005504608154296875, 0.01163482666015625, 0.044708251953125, 0.00754547119140625, 0.0201873779296875, -0.01050567626953125, 0.0242767333984375, -0.0051422119140625, 0.0022182464599609375, -0.0172271728515625, -0.005962371826171875, 0.007709503173828125, -0.006717681884765625, -0.0072479248046875, -0.015655517578125, -0.005001068115234375, 0.00014960765838623047, 0.043731689453125, -0.03924560546875, -0.0126495361328125, 0.0126495361328125, 0.01407623291015625, -0.0074005126953125, 0.02294921875, -0.031494140625, -0.0018634796142578125, -0.041748046875, -0.039825439453125, 0.031524658203125, -0.01078033447265625, 0.01043701171875, 0.0173797607421875, 0.0296173095703125, -0.00800323486328125, 0.0247955322265625, -0.02215576171875, 0.053009033203125, 0.0406494140625, -0.025604248046875, -0.0244903564453125, 0.006984710693359375, -0.0030879974365234375, -0.0008220672607421875, 0.0012960433959960938, 0.033050537109375, 0.0239105224609375, -0.08660888671875, 0.00643157958984375, 0.03143310546875, 0.01235198974609375, -0.030670166015625, -0.01044464111328125, 0.039825439453125, -0.0253448486328125, 0.00150299072265625, -0.006072998046875, -0.0013704299926757812, -0.052978515625, -0.006252288818359375, 0.026031494140625, -0.0185546875, 0.020843505859375, -0.0288543701171875, 0.006282806396484375, 0.01349639892578125, 0.02557373046875, -0.07391357421875, 0.039154052734375, 0.01265716552734375, 0.0263519287109375, -0.006725311279296875, -0.034912109375, 0.003345489501953125, 0.0450439453125, -0.01267242431640625, -0.0550537109375, -0.036712646484375, 0.024658203125, -0.07208251953125, 0.0191192626953125, 0.0162200927734375, -0.0225982666015625, 0.05169677734375, 0.01161956787109375, 0.0150146484375, 0.068359375, -0.03057861328125, -0.02655029296875, -0.023590087890625, 0.0099639892578125, -0.00157928466796875, -0.019073486328125, 0.0196990966796875, -0.00925445556640625, -0.01461029052734375, -0.0087127685546875, -0.007808685302734375, -0.007137298583984375, -0.041259765625, -0.0882568359375, 0.06982421875, -0.011199951171875, -0.03619384765625, -0.04473876953125, 0.00572967529296875, -0.0003483295440673828, 0.036895751953125, -0.006473541259765625, -0.0009813308715820312, -0.009735107421875, 0.00884246826171875, 0.00466156005859375, -0.01047515869140625, 0.034027099609375, 0.0006623268127441406, -0.0679931640625, -0.0233612060546875, -0.0311737060546875, -0.0238800048828125, 0.0328369140625, -0.013824462890625, 0.0267791748046875, 0.0221710205078125, -0.05780029296875, -0.04705810546875, -0.0227508544921875, -0.0032787322998046875, -0.01111602783203125, -0.04254150390625, -0.03509521484375, -0.01190948486328125, 0.1033935546875, 0.035888671875, 0.035675048828125, -0.03326416015625, 0.0305938720703125, -0.06121826171875, 0.00960540771484375, -0.01470947265625, -0.00901031494140625, -0.04437255859375, -0.024169921875, 0.035491943359375, -0.0341796875, -0.0062713623046875, 0.014678955078125, -0.060302734375, 0.00916290283203125, -0.0005421638488769531, 0.00737762451171875, -0.0855712890625, 0.01259613037109375, 0.090576171875, -0.04815673828125, 0.05230712890625, -0.0053558349609375, -0.007061004638671875, 0.0797119140625, 0.013946533203125, -0.0189208984375, -0.00714111328125, -0.049468994140625, 0.03704833984375, -0.031524658203125, 0.050506591796875, -0.0703125, -0.008026123046875, -0.0264892578125, 0.0096282958984375, -0.0011434555053710938, -0.002475738525390625, -0.005367279052734375, 0.0285491943359375, 0.0168304443359375, 0.040435791015625, -0.04718017578125, -0.0325927734375, -0.036773681640625, 0.004486083984375, -0.03314208984375, 0.0242767333984375, 0.0264129638671875, -0.025177001953125, 0.0120697021484375, 0.00024819374084472656, 0.00797271728515625, -0.01971435546875, 0.006175994873046875, -0.0019893646240234375, -0.0120391845703125, 0.0187530517578125 ]
d99f339b1c001a1a4afa310407a2570132331b04
Wordpress Stackexchange Q: trash_post action with Custom Post Type I have a Custom Post Type "empresa" and would like to send email when a post type is deleted (moved to trash). I have this function below for my POSTS, How can I use with my Post Type "empresa"? add_action("trash_post", "my_awesome_publication_notification"); function my_awesome_publication_notification($post_id) { $post = get_post($post_id); $author = get_userdata($post->post_author); $author_email = get_post_meta( $post->ID , 'empresa_contato_email' , true ); $email_subject = "A Sua Empresa foi aprovada!"; ob_start(); include("email_header.php"); ?> <p> Hi, <?php echo $author->display_name ?>. I've just published one of your articles (<?php echo $post->post_title ?>) on MyAwesomeWebsite! </p> <p> If you'd like to take a look, <a href="<?php echo get_permalink($post->ID) ?>">click here</a>. I would appreciate it if you could come back now and again to respond to some comments. </p> <?php include("email_footer.php"); $message = ob_get_contents(); ob_end_clean(); wp_mail($author_email, $email_subject, $message); } A: Use wp_trash_post instead, and keep in mind {post_status}_{post_type} so originally it should have been trash_empresa not trash_post, try wp_trash_empresa too
Q: trash_post action with Custom Post Type I have a Custom Post Type "empresa" and would like to send email when a post type is deleted (moved to trash). I have this function below for my POSTS, How can I use with my Post Type "empresa"? add_action("trash_post", "my_awesome_publication_notification"); function my_awesome_publication_notification($post_id) { $post = get_post($post_id); $author = get_userdata($post->post_author); $author_email = get_post_meta( $post->ID , 'empresa_contato_email' , true ); $email_subject = "A Sua Empresa foi aprovada!"; ob_start(); include("email_header.php"); ?> <p> Hi, <?php echo $author->display_name ?>. I've just published one of your articles (<?php echo $post->post_title ?>) on MyAwesomeWebsite! </p> <p> If you'd like to take a look, <a href="<?php echo get_permalink($post->ID) ?>">click here</a>. I would appreciate it if you could come back now and again to respond to some comments. </p> <?php include("email_footer.php"); $message = ob_get_contents(); ob_end_clean(); wp_mail($author_email, $email_subject, $message); } A: Use wp_trash_post instead, and keep in mind {post_status}_{post_type} so originally it should have been trash_empresa not trash_post, try wp_trash_empresa too A: For any future readers it seems the hook has now changed from 'trash_post' to 'wp_trash_post' trac ticket explaining the name change
wordpress
{ "language": "en", "length": 181, "provenance": "stackexchange_00019.jsonl.gz:414399", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33017" }
[ 0.00228118896484375, 0.0032196044921875, -0.0469970703125, -0.048309326171875, 0.0038280487060546875, -0.0298309326171875, -0.017364501953125, -0.011688232421875, 0.0101318359375, 0.015228271484375, 0.0038967132568359375, -0.0447998046875, 0.042816162109375, -0.05560302734375, 0.0150604248046875, -0.00594329833984375, 0.03509521484375, 0.03411865234375, 0.105712890625, 0.004451751708984375, 0.0020771026611328125, 0.004405975341796875, 0.086181640625, -0.045501708984375, -0.019317626953125, 0.04034423828125, 0.10015869140625, -0.04595947265625, -0.014984130859375, -0.04376220703125, 0.00786590576171875, 0.006557464599609375, 0.009857177734375, 0.0287322998046875, -0.0236358642578125, 0.018096923828125, 0.01065826416015625, 0.01509857177734375, 0.007022857666015625, 0.0229339599609375, 0.0027103424072265625, 0.00872802734375, 0.03192138671875, -0.0355224609375, 0.00449371337890625, -0.0372314453125, 0.031890869140625, -0.03802490234375, 0.0252685546875, 0.03741455078125, 0.00299072265625, -0.0285491943359375, 0.007076263427734375, -0.0213165283203125, -0.006992340087890625, -0.00689697265625, -0.01690673828125, 0.0007128715515136719, 0.036041259765625, 0.03790283203125, -0.028778076171875, -0.0114288330078125, 0.005199432373046875, -0.053466796875, -0.00821685791015625, -0.029388427734375, 0.012481689453125, 0.0229949951171875, -0.005176544189453125, -0.02752685546875, 0.0120086669921875, 0.0165252685546875, 0.02667236328125, 0.010528564453125, -0.01288604736328125, -0.052886962890625, 0.01514434814453125, -0.013427734375, 0.01422119140625, -0.0035247802734375, -0.0217742919921875, 0.0374755859375, -0.057403564453125, -0.0367431640625, 0.019744873046875, 0.0029811859130859375, -0.025115966796875, -0.0115814208984375, -0.03033447265625, -0.03216552734375, -0.0283966064453125, -0.04547119140625, -0.004138946533203125, -0.0150909423828125, -0.0156707763671875, -0.03802490234375, 0.04083251953125, 0.056243896484375, -0.0009493827819824219, -0.0089874267578125, -0.011871337890625, -0.034881591796875, 0.009124755859375, -0.034210205078125, 0.006916046142578125, 0.00605010986328125, -0.0172119140625, -0.033050537109375, 0.0299530029296875, 0.03277587890625, -0.00756072998046875, -0.01120758056640625, -0.0096435546875, -0.0036945343017578125, -0.01800537109375, -0.0003027915954589844, -0.03851318359375, 0.024871826171875, -0.00368499755859375, 0.01824951171875, 0.005786895751953125, 0.027862548828125, 0.0178985595703125, -0.058837890625, 0.0001804828643798828, -0.00321197509765625, -0.01462554931640625, -0.0596923828125, 0.053253173828125, -0.0106964111328125, -0.02069091796875, 0.031585693359375, 0.041717529296875, -0.01175689697265625, -0.0035991668701171875, -0.005275726318359375, 0.00832366943359375, 0.005985260009765625, 0.0162506103515625, 0.00045108795166015625, 0.0117950439453125, -0.0175628662109375, 0.01226043701171875, 0.0273590087890625, 0.0089111328125, 0.023223876953125, 0.00769805908203125, 0.0007696151733398438, 0.007343292236328125, -0.02435302734375, 0.0013446807861328125, -0.0038623809814453125, 0.047943115234375, -0.00972747802734375, -0.0024776458740234375, -0.0218505859375, 0.034912109375, -0.027740478515625, -0.0289459228515625, -0.036407470703125, 0.03912353515625, -0.006198883056640625, -0.002532958984375, -0.0435791015625, -0.079345703125, 0.0126953125, -0.06439208984375, -0.026031494140625, 0.01282501220703125, -0.027435302734375, 0.0244140625, 0.0255889892578125, -0.013427734375, 0.000027239322662353516, 0.011383056640625, -0.00981903076171875, 0.00040078163146972656, 0.01654052734375, 0.03411865234375, -0.0308990478515625, -0.043243408203125, -0.0303955078125, 0.04644775390625, -0.036224365234375, -0.0211181640625, 0.003932952880859375, 0.0182952880859375, 0.039459228515625, -0.0161895751953125, 0.018829345703125, 0.046478271484375, 0.01328277587890625, 0.0113067626953125, -0.0263824462890625, 0.006046295166015625, -0.03045654296875, -0.0282440185546875, -0.032958984375, -0.0197601318359375, 0.060028076171875, -0.022186279296875, 0.00476837158203125, 0.042694091796875, -0.0008130073547363281, -0.054107666015625, 0.07415771484375, -0.057159423828125, 0.05389404296875, -0.007335662841796875, 0.0163421630859375, 0.033966064453125, 0.0360107421875, -0.056243896484375, -0.0166473388671875, -0.0281982421875, 0.0024013519287109375, -0.01407623291015625, 0.0175933837890625, -0.0233001708984375, 0.04779052734375, -0.040863037109375, -0.052337646484375, -0.050872802734375, -0.0263214111328125, 0.04913330078125, -0.007228851318359375, 0.003452301025390625, -0.017303466796875, 0.0302734375, 0.0189666748046875, -0.032501220703125, 0.0215911865234375, 0.0655517578125, 0.0100250244140625, -0.035308837890625, 0.001316070556640625, -0.00220489501953125, -0.08184814453125, -0.0226593017578125, 0.0689697265625, 0.003314971923828125, 0.026947021484375, -0.0008120536804199219, 0.058349609375, 0.02685546875, 0.0036182403564453125, 0.0188751220703125, 0.0225982666015625, -0.01392364501953125, 0.043548583984375, -0.0057525634765625, 0.007137298583984375, -0.00540924072265625, -0.09503173828125, -0.0161590576171875, 0.035400390625, 0.00197601318359375, -0.041168212890625, 0.0186614990234375, 0.020782470703125, 0.01000213623046875, -0.031768798828125, -0.04931640625, -0.00202178955078125, 0.032562255859375, -0.007045745849609375, 0.042388916015625, 0.0269622802734375, -0.0222930908203125, -0.0099639892578125, 0.016815185546875, -0.001522064208984375, 0.0019245147705078125, 0.04296875, 0.0196685791015625, 0.0369873046875, 0.002899169921875, -0.03814697265625, 0.0175323486328125, 0.0313720703125, -0.037109375, -0.01486968994140625, -0.0099945068359375, -0.017333984375, 0.011566162109375, -0.0011472702026367188, 0.01544952392578125, -0.0400390625, 0.005023956298828125, -0.0304107666015625, 0.00859832763671875, 0.007564544677734375, -0.0333251953125, 0.028594970703125, 0.0162200927734375, -0.04840087890625, -0.0260162353515625, -0.056976318359375, 0.035675048828125, -0.03424072265625, 0.0294036865234375, 0.076416015625, 0.019989013671875, -0.001598358154296875, -0.0085906982421875, 0.0007386207580566406, -0.03057861328125, 0.06365966796875, 0.01117706298828125, -0.068359375, 0.00003528594970703125, -0.01142120361328125, 0.0238037109375, 0.0443115234375, -0.00632476806640625, -0.0284881591796875, -0.0056610107421875, 0.0237579345703125, -0.02789306640625, -0.042724609375, 0.052520751953125, -0.01261138916015625, -0.00690460205078125, 0.0009579658508300781, -0.009765625, -0.0209503173828125, 0.01483917236328125, -0.014251708984375, -0.009552001953125, -0.0179901123046875, -0.0272369384765625, -0.0272674560546875, -0.03485107421875, 0.0015935897827148438, 0.0192108154296875, 0.0128173828125, 0.0180511474609375, 0.051849365234375, 0.00965118408203125, -0.07769775390625, 0.00460052490234375, 0.0247955322265625, -0.05255126953125, 0.0130462646484375, -0.02655029296875, 0.00037980079650878906, 0.0241851806640625, -0.0101165771484375, 0.035400390625, 0.01081085205078125, 0.00012552738189697266, -0.017059326171875, -0.0394287109375, -0.0239410400390625, 0.0186004638671875, -0.0130767822265625, 0.032623291015625, 0.01654052734375, 0.0400390625, -0.0255889892578125, 0.00917816162109375, -0.023834228515625, -0.0142669677734375, -0.016754150390625, 0.00888824462890625, -0.004909515380859375, -0.03277587890625, 0.02862548828125, 0.02392578125, 0.018707275390625, 0.050140380859375, 0.013519287109375, -0.0029354095458984375, -0.01013946533203125, 0.003826141357421875, -0.051788330078125, -0.001251220703125, -0.0155487060546875, 0.035125732421875, 0.0014047622680664062, 0.0260467529296875, -0.0008854866027832031, 0.00933837890625, -0.043212890625, -0.055206298828125, 0.0218963623046875, -0.084228515625, -0.020477294921875, -0.004520416259765625, 0.015380859375, 0.0338134765625, 0.0782470703125, 0.00710296630859375, -0.0178985595703125, -0.032958984375, -0.008697509765625, 0.014923095703125, -0.0303497314453125, 0.0012340545654296875, -0.0095672607421875, -0.06427001953125, 0.02874755859375, 0.0034618377685546875, 0.005954742431640625, -0.0355224609375, 0.06475830078125, -0.038360595703125, -0.030609130859375, 0.03021240234375, -0.03106689453125, 0.007343292236328125, 0.03558349609375, -0.027374267578125, 0.017791748046875, -0.0272674560546875, -0.03350830078125, -0.041595458984375, 0.00261688232421875, 0.002109527587890625, -0.00467681884765625, -0.01739501953125, 0.0278167724609375, -0.00757598876953125, 0.0239715576171875, 0.0146942138671875, 0.01125335693359375, -0.03948974609375, -0.0117645263671875, -0.0311431884765625, -0.02197265625, -0.034454345703125, -0.00970458984375, 0.0269927978515625, 0.01451873779296875, -0.0693359375, -0.00412750244140625, -0.0134429931640625, 0.0155181884765625, 0.04754638671875, -0.06475830078125, -0.042999267578125, -0.0033283233642578125, -0.00540924072265625, -0.0025691986083984375, -0.00717926025390625, -0.023101806640625, -0.002712249755859375, -0.0286712646484375, 0.04608154296875, -0.0018606185913085938, 0.0079345703125, 0.004474639892578125, 0.044677734375, 0.003406524658203125, -0.019989013671875, -0.02203369140625, -0.0007996559143066406, 0.044830322265625, -0.01010894775390625, -0.00724029541015625, 0.0162811279296875, -0.037506103515625, 0.0228118896484375, 0.0010776519775390625, -0.011810302734375, -0.028350830078125, 0.06512451171875, -0.00737762451171875, -0.00449371337890625, 0.0046844482421875, -0.04595947265625, 0.0621337890625, 0.047943115234375, -0.003459930419921875, -0.0306549072265625, 0.0212860107421875, 0.035247802734375, -0.050872802734375, 0.03887939453125, -0.00308990478515625, -0.01898193359375, 0.01253509521484375, 0.01290130615234375, 0.0127105712890625, 0.046234130859375, -0.0213165283203125, 0.00868988037109375, -0.028106689453125, 0.0069580078125, -0.0179290771484375, -0.004993438720703125, 0.01361083984375, 0.0247039794921875, 0.0301361083984375, 0.0160064697265625, -0.022369384765625, 0.0027484893798828125, 0.0200042724609375, 0.0256500244140625, 0.01200103759765625, -0.07525634765625, -0.0009860992431640625, 0.01082611083984375, -0.054840087890625, -0.001789093017578125, 0.0269927978515625, 0.0243682861328125, 0.01239013671875, 0.006015777587890625, -0.0289764404296875, 0.042449951171875, -0.039306640625, -0.0258941650390625, 0.0179443359375, -0.009368896484375, 0.02532958984375, 0.043487548828125, -0.0017023086547851562, 0.0374755859375, -0.0243988037109375, 0.051483154296875, 0.02093505859375, 0.0250091552734375, 0.01245880126953125, 0.0179901123046875, -0.014556884765625, 0.00016963481903076172, -0.038421630859375, -0.0006194114685058594, -0.0003612041473388672, 0.0159759521484375, 0.032135009765625, 0.0031890869140625, -0.004817962646484375, -0.0008454322814941406, -0.0413818359375, -0.040069580078125, 0.04351806640625, 0.04547119140625, -0.0189056396484375, -0.019927978515625, 0.002529144287109375, 0.01727294921875, 0.02081298828125, -0.02362060546875, 0.040679931640625, -0.0323486328125, 0.0268707275390625, -0.018402099609375, 0.0011224746704101562, -0.0090484619140625, -0.004238128662109375, 0.0280914306640625, -0.0110015869140625, 0.020599365234375, -0.0684814453125, 0.0010595321655273438, -0.0272674560546875, -0.00445556640625, 0.0147705078125, -0.01335906982421875, 0.0083465576171875, -0.0240325927734375, 0.00004374980926513672, 0.00374603271484375, -0.00007790327072143555, 0.04254150390625, 0.0002562999725341797, -0.006717681884765625, -0.01493072509765625, -0.01419830322265625, -0.0151214599609375, -0.03302001953125, -0.0418701171875, -0.01406097412109375, 0.00514984130859375, 0.03533935546875, 0.02703857421875, 0.01605224609375, -0.044830322265625, -0.0303802490234375, -0.00745391845703125, 0.024017333984375, 0.04608154296875, -0.030731201171875, 0.076171875, 0.002899169921875, 0.0845947265625, -0.00634002685546875, 0.007144927978515625, -0.0306396484375, 0.0015325546264648438, -0.005481719970703125, -0.0816650390625, 0.007015228271484375, 0.0017805099487304688, -0.017730712890625, 0.024444580078125, 0.01059722900390625, 0.01165008544921875, -0.0136566162109375, -0.0025177001953125, -0.00286865234375, -0.032501220703125, 0.02874755859375, 0.0211181640625, 0.04248046875, -0.05035400390625, -0.04266357421875, -0.00856781005859375, 0.0218353271484375, 0.038543701171875, -0.009521484375, -0.0433349609375, -0.01132965087890625, 0.015899658203125, -0.0267181396484375, 0.048614501953125, 0.062744140625, 0.022064208984375, 0.04559326171875, -0.0008993148803710938, 0.012176513671875, -0.00916290283203125, 0.002529144287109375, 0.0341796875, -0.0435791015625, 0.034576416015625, -0.0022754669189453125, 0.0247802734375, 0.038604736328125, -0.0010175704956054688, 0.026824951171875, 0.0526123046875, 0.0816650390625, -0.0819091796875, -0.0014028549194335938, 0.01027679443359375, -0.0189361572265625, 0.043426513671875, -0.0181732177734375, 0.0034732818603515625, -0.030517578125, 0.049652099609375, -0.0010862350463867188, -0.01314544677734375, 0.01100921630859375, -0.01629638671875, 0.01427459716796875, -0.00323486328125, 0.068603515625, -0.004852294921875, -0.04681396484375, -0.0181427001953125, 0.0235748291015625, -0.0164642333984375, -0.020416259765625, 0.0435791015625, -0.024078369140625, 0.01861572265625, -0.0279388427734375, 0.0222015380859375, -0.003124237060546875, -0.005680084228515625, -0.04522705078125, -0.0207366943359375, 0.051849365234375, 0.01629638671875, 0.0002474784851074219, -0.048919677734375, 0.01001739501953125, -0.03570556640625, -0.04754638671875, -0.034820556640625, 0.01271820068359375, 0.07708740234375, -0.07110595703125, 0.04058837890625, -0.0269927978515625, -0.0012769699096679688, 0.0016355514526367188, 0.0167388916015625, 0.04559326171875, 0.005031585693359375, -0.031463623046875, 0.04058837890625, 0.006153106689453125, -0.023895263671875, -0.0042877197265625, 0.0197601318359375, -0.07073974609375, -0.0355224609375, 0.0033016204833984375, -0.0501708984375, -0.0258026123046875, -0.0157470703125, -0.06982421875, 0.123046875, 0.0494384765625, 0.044647216796875, -0.020965576171875, 0.047027587890625, -0.01010894775390625, 0.0335693359375, -0.015960693359375, 0.0518798828125, -0.031494140625, 0.0012912750244140625, -0.032135009765625, 0.003170013427734375, -0.0020656585693359375, 0.00376129150390625, 0.0499267578125, 0.004634857177734375, 0.02203369140625, -0.0152740478515625, 0.0238800048828125, 0.007598876953125, -0.047882080078125, 0.0011014938354492188, 0.00518798828125, 0.034759521484375, 0.0614013671875, -0.053192138671875, 0.0240631103515625, 0.00629425048828125, 0.004749298095703125, 0.025909423828125, -0.005939483642578125, -0.0159759521484375, -0.00531005859375, -0.011474609375, -0.036773681640625, -0.0091094970703125, 0.0155792236328125, -0.01016998291015625, 0.02972412109375, 0.016082763671875, 0.07489013671875, -0.07177734375, 0.0028896331787109375, -0.023162841796875, 0.0635986328125, 0.0212554931640625, 0.030548095703125, 0.04400634765625, 0.01396942138671875, 0.048828125, -0.0172119140625, 0.02154541015625, -0.0219268798828125, 0.01145172119140625, 0.026153564453125, -0.00420379638671875, 0.004909515380859375, -0.06329345703125, 0.0193939208984375, 0.050048828125, 0.0430908203125, -0.037322998046875, -0.04510498046875, -0.005096435546875, 0.0023365020751953125, 0.0220489501953125, -0.0211029052734375, 0.0161895751953125, -0.05621337890625, -0.01047515869140625, -0.081787109375, 0.00015556812286376953, 0.0299224853515625, 0.014801025390625, -0.0243988037109375, -0.007160186767578125, -0.027313232421875, -0.0271148681640625, -0.029876708984375, -0.0093994140625, 0.0232391357421875, 0.0367431640625, 0.018524169921875, 0.04803466796875, 0.0242156982421875, -0.01349639892578125, -0.018829345703125, -0.00634002685546875, 0.0225830078125, 0.0147552490234375, -0.00189971923828125, 0.0268096923828125, 0.002105712890625, 0.0123443603515625, -0.000675201416015625, -0.0068817138671875, 0.0110626220703125, -0.006076812744140625, -0.0280609130859375, -0.0141754150390625, -0.004390716552734375, -0.040771484375, 0.0059356689453125, -0.038238525390625, -0.06982421875, -0.03448486328125, -0.04437255859375, -0.01251983642578125, -0.031768798828125, -0.005603790283203125, -0.0294036865234375, 0.0162506103515625, -0.0057373046875, -0.017120361328125, 0.05035400390625, -0.039337158203125, 0.032318115234375, -0.005939483642578125, -0.05499267578125, -0.01812744140625, -0.041107177734375, -0.022430419921875, 0.0309906005859375, 0.0445556640625, 0.0352783203125, -0.01605224609375, 0.0026035308837890625, 0.000048220157623291016, 0.0291748046875, -0.0174713134765625, -0.014892578125, 0.0155181884765625, 0.02081298828125, -0.005329132080078125, 0.002826690673828125, -0.00946807861328125, 0.00835418701171875, 0.05035400390625, -0.0124053955078125, 0.07293701171875, -0.0284423828125, 0.0189361572265625, -0.0299224853515625, 0.08526611328125, -0.0897216796875, -0.0302734375, 0.03814697265625, -0.0130462646484375, 0.01198577880859375, 0.0087738037109375, -0.057708740234375, -0.0178070068359375, 0.056793212890625, -0.035888671875, -0.01153564453125, 0.0225067138671875, 0.0267181396484375, -0.037017822265625, 0.013458251953125, -0.02923583984375, -0.007526397705078125, -0.02459716796875, -0.030975341796875, 0.037750244140625, 0.0275421142578125, 0.0178985595703125, 0.01070404052734375, 0.01218414306640625, -0.0272216796875, 0.029327392578125, -0.03631591796875, 0.050140380859375, 0.033843994140625, -0.01285552978515625, -0.05010986328125, 0.046417236328125, 0.005535125732421875, 0.0077056884765625, 0.0249481201171875, 0.0582275390625, 0.044769287109375, -0.00115966796875, -0.01270294189453125, -0.0118408203125, 0.03277587890625, 0.0011844635009765625, 0.005619049072265625, -0.01554107666015625, 0.00550079345703125, -0.018310546875, 0.0300140380859375, 0.0012111663818359375, -0.0137939453125, -0.006011962890625, -0.0012636184692382812, 0.00421905517578125, -0.0166778564453125, -0.00247955322265625, -0.01291656494140625, 0.03662109375, 0.035675048828125, -0.088134765625, 0.04315185546875, 0.007427215576171875, 0.0253448486328125, 0.01451873779296875, -0.00827789306640625, -0.0316162109375, -0.0101318359375, -0.0097503662109375, -0.06695556640625, -0.0733642578125, 0.0736083984375, -0.06475830078125, -0.0246124267578125, 0.019439697265625, 0.0020294189453125, -0.046417236328125, -0.0360107421875, -0.0159759521484375, 0.00502777099609375, -0.0175018310546875, -0.0246124267578125, -0.0260009765625, 0.007843017578125, -0.0127105712890625, -0.07684326171875, 0.0196380615234375, -0.086669921875, -0.016815185546875, 0.00301361083984375, -0.0166473388671875, -0.02264404296875, -0.03204345703125, -0.00879669189453125, 0.07672119140625, 0.020294189453125, -0.00536346435546875, -0.0248260498046875, -0.0186920166015625, 0.0030002593994140625, 0.0218353271484375, 0.00113677978515625, -0.053802490234375, -0.050933837890625, 0.0135955810546875, -0.0447998046875, 0.052215576171875, -0.005527496337890625, -0.0238800048828125, 0.0025653839111328125, -0.0017385482788085938, 0.01016998291015625, -0.0419921875, -0.003543853759765625, -0.0272216796875, 0.061370849609375, 0.031768798828125, -0.0070648193359375, 0.0247955322265625, 0.033538818359375, -0.024169921875, -0.01108551025390625, -0.0269317626953125, -0.039794921875, -0.0164794921875, 0.0809326171875, 0.035797119140625, 0.021240234375, -0.02117919921875, -0.005222320556640625, -0.0015954971313476562, -0.044219970703125, -0.00817108154296875, 0.0156097412109375, -0.0264892578125, 0.01080322265625, -0.032623291015625, 0.038330078125, -0.02197265625, -0.006011962890625, 0.038665771484375, -0.041778564453125, 0.0297088623046875, -0.02166748046875, 0.0303802490234375, 0.00783538818359375, 0.011688232421875, -0.005687713623046875, 0.01392364501953125, -0.00841522216796875, 0.0082550048828125, 0.0202484130859375, 0.045684814453125, -0.015655517578125, -0.00971221923828125, -0.0208282470703125, 0.01165008544921875, -0.0120086669921875, -0.00405120849609375, -0.0313720703125, 0.002613067626953125, 0.01422882080078125, 0.035125732421875, -0.0239715576171875, 0.028167724609375, 0.01177215576171875, 0.07513427734375, -0.01520538330078125, 0.07769775390625, -0.0209503173828125, -0.0156402587890625, -0.018951416015625, 0.035675048828125, 0.0276336669921875, -0.02471923828125, 0.06866455078125, -0.03594970703125, -0.0017080307006835938, 0.0275115966796875, 0.0338134765625, -0.045501708984375, 0.033050537109375, 0.05712890625, 0.04339599609375, 0.0252227783203125 ]
cc7ca6b3698415a4095bef4718e8506676dfabe9
Wordpress Stackexchange Q: How can I remove the title "leave a reply" in the comment box in twentyeleven? I would like to remove "leave a reply" in the comment form in twenty eleven. How can I do this? Thanks in advance. A: You can filter the default comment_form arguments (which is what's causing the "leave a reply"). Just drop this in functions.php or in a plugin file. It would probably be better to put it in a plugin and keep your twenty eleven theme unedited (read: easily updated). <?php add_filter( 'comment_form_defaults', 'wpse33039_form_defaults' ); function wpse33039_form_defaults( $defaults ) { $defaults['title_reply'] = ''; return $defaults; }
Q: How can I remove the title "leave a reply" in the comment box in twentyeleven? I would like to remove "leave a reply" in the comment form in twenty eleven. How can I do this? Thanks in advance. A: You can filter the default comment_form arguments (which is what's causing the "leave a reply"). Just drop this in functions.php or in a plugin file. It would probably be better to put it in a plugin and keep your twenty eleven theme unedited (read: easily updated). <?php add_filter( 'comment_form_defaults', 'wpse33039_form_defaults' ); function wpse33039_form_defaults( $defaults ) { $defaults['title_reply'] = ''; return $defaults; } A: edit comments.php, and find: comment_form(); edit to: comment_form(array('title_reply'=>''))
wordpress
{ "language": "en", "length": 111, "provenance": "stackexchange_00019.jsonl.gz:414405", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33039" }
[ 0.03472900390625, -0.03594970703125, -0.00220489501953125, 0.00945281982421875, -0.01434326171875, -0.045684814453125, 0.062744140625, -0.0168609619140625, 0.004116058349609375, 0.00041675567626953125, 0.0279388427734375, -0.036224365234375, -0.025482177734375, -0.0526123046875, -0.01080322265625, -0.035919189453125, 0.0021038055419921875, 0.033294677734375, 0.028350830078125, -0.0191802978515625, 0.0159759521484375, -0.0235595703125, -0.0068359375, 0.0255279541015625, 0.014007568359375, -0.0287017822265625, 0.11785888671875, -0.02032470703125, 0.0271453857421875, -0.0196685791015625, 0.037811279296875, -0.016937255859375, 0.04132080078125, 0.004756927490234375, -0.047821044921875, 0.02130126953125, -0.0191192626953125, -0.0100250244140625, -0.036407470703125, 0.0311737060546875, 0.0251312255859375, -0.01666259765625, 0.008880615234375, -0.039154052734375, 0.006378173828125, -0.0203857421875, 0.046112060546875, -0.0122528076171875, 0.0443115234375, -0.01898193359375, 0.0218963623046875, 0.03515625, 0.045135498046875, -0.056488037109375, -0.03704833984375, -0.00606536865234375, -0.0212554931640625, 0.001434326171875, 0.016876220703125, 0.0292816162109375, 0.028289794921875, 0.00031447410583496094, -0.0117034912109375, -0.0255279541015625, -0.006488800048828125, 0.003742218017578125, 0.037445068359375, 0.0179901123046875, -0.01052093505859375, -0.017791748046875, 0.00475311279296875, -0.01611328125, -0.006732940673828125, -0.037109375, 0.00827789306640625, 0.004604339599609375, -0.0243682861328125, -0.04254150390625, 0.03607177734375, 0.006763458251953125, -0.0094146728515625, -0.0391845703125, -0.044403076171875, -0.024169921875, 0.044525146484375, 0.01206207275390625, -0.0065460205078125, -0.01605224609375, -0.0288238525390625, 0.0109405517578125, -0.0125274658203125, -0.10107421875, -0.02862548828125, 0.0355224609375, 0.039306640625, -0.02105712890625, -0.00033855438232421875, 0.005893707275390625, -0.01409149169921875, -0.0210418701171875, -0.0166015625, -0.00634002685546875, -0.035675048828125, 0.0012950897216796875, 0.004077911376953125, 0.012420654296875, -0.005641937255859375, -0.0648193359375, -0.00449371337890625, 0.0078887939453125, -0.01611328125, -0.0078582763671875, -0.0177764892578125, 0.002964019775390625, -0.0211181640625, 0.0147552490234375, -0.03778076171875, -0.00006538629531860352, -0.021697998046875, 0.0192718505859375, -0.0433349609375, -0.0219268798828125, -0.00008434057235717773, -0.004734039306640625, 0.032196044921875, -0.0176239013671875, -0.0166473388671875, 0.0246124267578125, -0.01812744140625, -0.00841522216796875, -0.0625, 0.01432037353515625, 0.111328125, 0.06475830078125, 0.04437255859375, -0.03887939453125, -0.01470184326171875, 0.035491943359375, -0.0053863525390625, 0.022674560546875, 0.000782012939453125, -0.06121826171875, 0.004894256591796875, 0.01180267333984375, -0.041961669921875, -0.007007598876953125, 0.007465362548828125, 0.03582763671875, 0.00968170166015625, -0.046783447265625, 0.00022470951080322266, -0.01255035400390625, 0.022613525390625, 0.029998779296875, -0.02520751953125, -0.0153961181640625, 0.0196075439453125, -0.035308837890625, 0.01326751708984375, -0.04254150390625, -0.01995849609375, 0.0027790069580078125, 0.0124664306640625, -0.0360107421875, -0.032012939453125, -0.011077880859375, 0.0028858184814453125, -0.0005741119384765625, 0.020965576171875, 0.026947021484375, -0.033416748046875, -0.029205322265625, -0.0018644332885742188, 0.0113983154296875, -0.002056121826171875, 0.04107666015625, -0.00829315185546875, -0.0014390945434570312, -0.0092010498046875, 0.039093017578125, 0.00733184814453125, -0.04315185546875, -0.004169464111328125, 0.0186004638671875, -0.0224609375, 0.0244598388671875, 0.040802001953125, 0.05694580078125, -0.051483154296875, 0.0251922607421875, 0.032989501953125, 0.0750732421875, 0.0200653076171875, -0.006099700927734375, 0.00909423828125, -0.0281982421875, -0.020965576171875, 0.0031108856201171875, -0.023345947265625, 0.01715087890625, 0.002674102783203125, 0.02484130859375, -0.00040411949157714844, 0.0242767333984375, -0.0609130859375, 0.0347900390625, -0.03900146484375, 0.039215087890625, -0.0263214111328125, 0.023468017578125, 0.020843505859375, -0.0004532337188720703, -0.04400634765625, 0.00959014892578125, -0.0017118453979492188, -0.03790283203125, -0.01078033447265625, 0.0174102783203125, -0.0177154541015625, 0.033905029296875, -0.043914794921875, -0.003932952880859375, -0.03485107421875, 0.004302978515625, 0.033905029296875, -0.042510986328125, -0.018585205078125, -0.0438232421875, 0.033538818359375, -0.035491943359375, -0.006404876708984375, 0.068359375, 0.01751708984375, -0.007801055908203125, -0.0214996337890625, 0.0200347900390625, 0.0105743408203125, -0.07733154296875, -0.0167236328125, 0.050445556640625, 0.016571044921875, -0.03070068359375, -0.01052093505859375, 0.029022216796875, -0.004016876220703125, 0.00719451904296875, 0.0249481201171875, -0.005306243896484375, 0.035736083984375, -0.0100860595703125, 0.010986328125, -0.034698486328125, 0.044342041015625, -0.00676727294921875, 0.0406494140625, 0.0191497802734375, -0.007720947265625, -0.05450439453125, 0.028900146484375, -0.003116607666015625, 0.02557373046875, -0.0219268798828125, -0.06134033203125, 0.013031005859375, -0.0189971923828125, -0.0226898193359375, -0.01763916015625, -0.0035247802734375, 0.0013551712036132812, -0.02069091796875, 0.020843505859375, -0.03765869140625, -0.019866943359375, 0.033599853515625, 0.0028476715087890625, 0.04730224609375, -0.039703369140625, -0.0011348724365234375, -0.01361083984375, 0.03521728515625, -0.0158538818359375, 0.039306640625, -0.0248870849609375, -0.028533935546875, -0.0070648193359375, -0.02508544921875, -0.01099395751953125, -0.024566650390625, 0.01477813720703125, -0.0116424560546875, 0.0075531005859375, 0.01085662841796875, -0.0085296630859375, 0.01320648193359375, 0.019561767578125, -0.034423828125, 0.01380157470703125, -0.044708251953125, 0.037353515625, -0.043121337890625, 0.0411376953125, 0.0577392578125, -0.005138397216796875, -0.014312744140625, 0.0173492431640625, -0.0036563873291015625, 0.030609130859375, 0.02532958984375, 0.0021343231201171875, 0.0184326171875, -0.0634765625, -0.0227813720703125, 0.01605224609375, 0.0570068359375, -0.01007843017578125, -0.03314208984375, 0.02618408203125, 0.03558349609375, 0.0192718505859375, -0.0006146430969238281, 0.04559326171875, -0.0194091796875, -0.01032257080078125, -0.01389312744140625, -0.0213623046875, -0.0199127197265625, -0.00499725341796875, -0.008331298828125, 0.03759765625, -0.059814453125, -0.0325927734375, -0.0260009765625, -0.038787841796875, -0.0274810791015625, -0.0024051666259765625, -0.0241546630859375, 0.023193359375, 0.07452392578125, 0.021881103515625, -0.051971435546875, 0.00940704345703125, 0.023590087890625, -0.01372528076171875, 0.029388427734375, 0.025054931640625, -0.0238189697265625, -0.015472412109375, 0.01381683349609375, -0.003173828125, 0.00894927978515625, -0.006031036376953125, -0.024169921875, -0.00528717041015625, 0.030181884765625, 0.0152587890625, 0.0021533966064453125, 0.00946044921875, 0.035064697265625, 0.0073699951171875, -0.0196380615234375, -0.030181884765625, -0.009429931640625, -0.0531005859375, -0.02130126953125, 0.021148681640625, -0.006633758544921875, -0.0144500732421875, 0.0162353515625, 0.040740966796875, 0.023284912109375, 0.06011962890625, -0.035125732421875, 0.025390625, 0.01326751708984375, 0.031829833984375, -0.07305908203125, 0.0167999267578125, -0.008575439453125, 0.0212249755859375, 0.0019931793212890625, 0.02545166015625, 0.006793975830078125, -0.0028896331787109375, -0.02740478515625, -0.054656982421875, 0.0369873046875, -0.023681640625, 0.0226287841796875, -0.0163421630859375, -0.01275634765625, 0.003467559814453125, 0.08441162109375, -0.05419921875, -0.044586181640625, 0.0127716064453125, 0.0164947509765625, 0.0278472900390625, 0.003337860107421875, 0.02264404296875, -0.047454833984375, -0.1009521484375, 0.019775390625, -0.0079498291015625, -0.0345458984375, -0.04656982421875, 0.024810791015625, -0.08819580078125, -0.032012939453125, 0.029541015625, -0.036407470703125, 0.027069091796875, 0.006053924560546875, -0.021697998046875, 0.01568603515625, -0.01416015625, -0.058990478515625, -0.0216217041015625, -0.007568359375, -0.0007214546203613281, 0.008331298828125, -0.0156707763671875, 0.0101165771484375, -0.0038852691650390625, 0.037139892578125, -0.01470184326171875, -0.006702423095703125, -0.0135498046875, 0.0010080337524414062, -0.013946533203125, 0.0450439453125, -0.0037059783935546875, 0.0007390975952148438, -0.005626678466796875, 0.035247802734375, -0.0019817352294921875, 0.0589599609375, -0.01380157470703125, -0.0311279296875, 0.031341552734375, -0.0338134765625, 0.00820159912109375, -0.054351806640625, -0.0254974365234375, 0.00814056396484375, -0.033416748046875, 0.00963592529296875, -0.0460205078125, 0.0245819091796875, -0.01788330078125, -0.01444244384765625, -0.005908966064453125, 0.004405975341796875, 0.0206756591796875, 0.0174407958984375, -0.00885009765625, 0.01517486572265625, -0.037628173828125, 0.045928955078125, 0.045318603515625, 0.00028967857360839844, -0.005084991455078125, -0.04766845703125, 0.0667724609375, 0.04107666015625, 0.050872802734375, -0.04620361328125, 0.05133056640625, -0.029449462890625, -0.03143310546875, 0.049774169921875, -0.0236053466796875, -0.0077972412109375, -0.0191497802734375, 0.027191162109375, -0.0219573974609375, -0.0033817291259765625, 0.0133819580078125, 0.055206298828125, -0.01274871826171875, -0.0015316009521484375, -0.03472900390625, 0.007373809814453125, -0.0296630859375, 0.015960693359375, 0.0211639404296875, 0.0125732421875, 0.0170440673828125, -0.001071929931640625, 0.012939453125, -0.03155517578125, -0.00870513916015625, -0.034515380859375, 0.015777587890625, -0.01073455810546875, -0.01238250732421875, -0.00925445556640625, -0.01485443115234375, 0.057037353515625, 0.0309906005859375, -0.00951385498046875, -0.036407470703125, -0.0006661415100097656, 0.0635986328125, -0.036102294921875, 0.0565185546875, 0.0040130615234375, 0.01540374755859375, 0.04290771484375, 0.01331329345703125, 0.0066070556640625, 0.057769775390625, -0.0032558441162109375, -0.001804351806640625, 0.02301025390625, -0.030487060546875, 0.045928955078125, 0.00208282470703125, 0.00818634033203125, 0.0295867919921875, -0.023345947265625, -0.00228118896484375, -0.040069580078125, 0.0159912109375, -0.007598876953125, 0.04522705078125, 0.009124755859375, 0.01280975341796875, 0.035736083984375, -0.0018711090087890625, 0.017974853515625, -0.00010967254638671875, -0.0290069580078125, 0.048858642578125, 0.01139068603515625, 0.006000518798828125, 0.0008196830749511719, -0.012725830078125, 0.0137786865234375, 0.039947509765625, -0.041717529296875, 0.0207366943359375, 0.0196533203125, -0.032501220703125, 0.0006098747253417969, -0.0159912109375, -0.0284271240234375, -0.04852294921875, -0.02020263671875, 0.00783538818359375, -0.041168212890625, 0.0128021240234375, 0.00827789306640625, -0.004100799560546875, -0.00864410400390625, -0.00909423828125, -0.0307159423828125, -0.0183258056640625, -0.004062652587890625, -0.01113128662109375, 0.02166748046875, 0.0135955810546875, 0.03179931640625, -0.03912353515625, 0.0106201171875, 0.00274658203125, -0.0107879638671875, 0.0391845703125, 0.0007719993591308594, -0.01207733154296875, -0.034454345703125, -0.0242462158203125, -0.032745361328125, -0.052459716796875, -0.033782958984375, 0.00447845458984375, 0.034515380859375, 0.0141754150390625, 0.020111083984375, -0.0045318603515625, -0.016204833984375, 0.0115509033203125, 0.0523681640625, 0.0182037353515625, 0.052520751953125, -0.030426025390625, 0.054351806640625, -0.00506591796875, -0.0233612060546875, -0.00917816162109375, 0.042633056640625, 0.04278564453125, -0.0241546630859375, 0.027496337890625, -0.00146484375, 0.00750732421875, -0.017822265625, -0.00823211669921875, -0.041015625, 0.03131103515625, -0.00958251953125, 0.0191650390625, 0.0231475830078125, 0.0182952880859375, -0.0293121337890625, -0.01259613037109375, 0.005863189697265625, 0.03570556640625, -0.0330810546875, -0.0217132568359375, 0.029205322265625, -0.0045318603515625, 0.02276611328125, -0.03271484375, -0.0221710205078125, -0.00945281982421875, 0.052215576171875, -0.050048828125, 0.048797607421875, 0.0521240234375, 0.01140594482421875, 0.0291290283203125, 0.01446533203125, 0.0074920654296875, -0.0161590576171875, -0.00778961181640625, -0.011505126953125, -0.0135650634765625, 0.06353759765625, 0.026947021484375, -0.01068115234375, 0.06060791015625, -0.033935546875, 0.0180511474609375, 0.060760498046875, 0.059326171875, -0.07684326171875, 0.002986907958984375, -0.01470184326171875, -0.0024318695068359375, 0.07647705078125, -0.0230865478515625, -0.005542755126953125, -0.094482421875, 0.0249481201171875, 0.03790283203125, -0.01885986328125, -0.0181427001953125, -0.01003265380859375, -0.014678955078125, -0.0189208984375, 0.01363372802734375, 0.00913238525390625, -0.044677734375, 0.00899505615234375, 0.044158935546875, -0.0224761962890625, -0.0301513671875, -0.01419830322265625, 0.0848388671875, -0.035400390625, -0.113525390625, 0.0338134765625, -0.01214599609375, -0.043182373046875, 0.0552978515625, 0.001880645751953125, -0.026763916015625, 0.0469970703125, -0.044342041015625, 0.05572509765625, 0.006717681884765625, -0.032867431640625, -0.053619384765625, 0.00836181640625, 0.00913238525390625, 0.01297760009765625, -0.01316070556640625, 0.035736083984375, -0.054473876953125, 0.00814056396484375, 0.0081634521484375, 0.01611328125, 0.043060302734375, -0.01275634765625, -0.04156494140625, 0.007724761962890625, -0.01373291015625, 0.028228759765625, -0.0304718017578125, 0.025665283203125, -0.039337158203125, -0.01027679443359375, -0.01690673828125, -0.0281982421875, 0.003978729248046875, -0.0498046875, -0.10546875, 0.0767822265625, 0.029205322265625, 0.0290985107421875, -0.0236053466796875, 0.0174102783203125, -0.0247344970703125, -0.0087127685546875, -0.03387451171875, 0.07000732421875, 0.004673004150390625, 0.041229248046875, -0.036590576171875, -0.01506805419921875, 0.0075225830078125, 0.036163330078125, 0.004962921142578125, 0.002841949462890625, -0.028167724609375, -0.0225982666015625, 0.03814697265625, 0.00848388671875, -0.005947113037109375, 0.04742431640625, 0.01316070556640625, 0.031463623046875, 0.0272064208984375, -0.023406982421875, 0.03350830078125, -0.0362548828125, -0.0184478759765625, 0.01055145263671875, 0.0207366943359375, 0.0121917724609375, 0.0341796875, 0.1014404296875, -0.04766845703125, 0.023284912109375, 0.036865234375, 0.00855255126953125, 0.01371002197265625, 0.003993988037109375, 0.043914794921875, -0.0340576171875, -0.0241546630859375, -0.0242767333984375, 0.0487060546875, 0.049346923828125, -0.0005764961242675781, 0.047149658203125, 0.03375244140625, 0.030792236328125, -0.04998779296875, 0.0020618438720703125, -0.0006766319274902344, -0.02618408203125, -0.006206512451171875, -0.00934600830078125, 0.00632476806640625, -0.048675537109375, 0.0053558349609375, 0.033111572265625, -0.0009608268737792969, -0.0245819091796875, 0.0285797119140625, 0.00514984130859375, -0.0022735595703125, -0.0035457611083984375, -0.0789794921875, 0.01177215576171875, -0.048248291015625, -0.054534912109375, -0.0361328125, -0.01983642578125, 0.01274871826171875, 0.04351806640625, -0.0014247894287109375, 0.0259857177734375, -0.02227783203125, -0.05609130859375, -0.021881103515625, -0.0031681060791015625, -0.0211944580078125, 0.01200103759765625, 0.016357421875, 0.00858306884765625, -0.00930023193359375, 0.013580322265625, 0.007083892822265625, -0.00452423095703125, 0.011444091796875, -0.0291900634765625, -0.01062774658203125, -0.0031414031982421875, -0.004512786865234375, 0.0222930908203125, 0.0240325927734375, 0.007049560546875, -0.0236968994140625, -0.032135009765625, 0.031707763671875, 0.006744384765625, -0.03326416015625, -0.031219482421875, -0.0065460205078125, -0.016998291015625, 0.0115203857421875, 0.0594482421875, -0.0010671615600585938, -0.01013946533203125, -0.005840301513671875, 0.06500244140625, -0.036224365234375, -0.031402587890625, 0.01739501953125, -0.0460205078125, 0.056640625, 0.017120361328125, 0.0197296142578125, -0.0010900497436523438, -0.055694580078125, -0.018524169921875, 0.0283203125, 0.004146575927734375, 0.010162353515625, 0.025634765625, -0.039306640625, 0.04168701171875, -0.0172119140625, 0.013519287109375, 0.0262908935546875, -0.05523681640625, 0.0015115737915039062, -0.00481414794921875, -0.000040471553802490234, -0.005382537841796875, -0.07391357421875, -0.04669189453125, -0.050933837890625, 0.0401611328125, 0.0264739990234375, 0.00988006591796875, 0.01255035400390625, 0.06280517578125, -0.053436279296875, 0.02740478515625, -0.037261962890625, -0.061767578125, 0.04791259765625, 0.02252197265625, 0.0009746551513671875, -0.0089569091796875, -0.1092529296875, 0.0260467529296875, -0.0017757415771484375, 0.0276336669921875, 0.0675048828125, -0.0273895263671875, -0.0006327629089355469, -0.01488494873046875, -0.031341552734375, -0.0227508544921875, 0.033782958984375, 0.041015625, -0.0341796875, 0.0308380126953125, -0.0208587646484375, 0.006542205810546875, 0.047393798828125, 0.0168914794921875, 0.040740966796875, 0.034942626953125, -0.0226593017578125, 0.0369873046875, 0.03466796875, -0.05706787109375, 0.02581787109375, 0.026519775390625, -0.00507354736328125, 0.0171661376953125, 0.03778076171875, -0.031890869140625, 0.040771484375, 0.01232147216796875, -0.06158447265625, -0.0347900390625, -0.00023806095123291016, -0.037017822265625, 0.01177978515625, -0.034820556640625, -0.0124969482421875, -0.00896453857421875, -0.0297393798828125, -0.0137176513671875, -0.08453369140625, -0.00395965576171875, 0.022918701171875, -0.06573486328125, 0.006587982177734375, 0.005157470703125, -0.026580810546875, 0.00738525390625, 0.004207611083984375, -0.05072021484375, 0.01275634765625, 0.014801025390625, 0.01432037353515625, -0.021026611328125, 0.04656982421875, -0.0210418701171875, -0.00173187255859375, -0.041351318359375, -0.054443359375, -0.043914794921875, 0.0653076171875, -0.042999267578125, -0.0017366409301757812, 0.034515380859375, -0.0039825439453125, 0.0029048919677734375, -0.02825927734375, 0.0116424560546875, 0.03009033203125, 0.006427764892578125, -0.0200653076171875, 0.006183624267578125, 0.01270294189453125, 0.00298309326171875, -0.05474853515625, -0.00640869140625, -0.042022705078125, 0.01187896728515625, -0.0179290771484375, -0.0056915283203125, 0.0009441375732421875, -0.045166015625, -0.06414794921875, 0.0355224609375, -0.006011962890625, -0.032562255859375, 0.0002696514129638672, -0.0012941360473632812, 0.0008654594421386719, 0.0301666259765625, 0.00981903076171875, -0.0011720657348632812, -0.03131103515625, -0.006259918212890625, 0.005237579345703125, 0.03179931640625, 0.0321044921875, 0.0201416015625, -0.02471923828125, 0.0097808837890625, -0.0112152099609375, -0.0088348388671875, -0.0014801025390625, 0.0016450881958007812, 0.01483154296875, 0.03692626953125, -0.0443115234375, 0.0003724098205566406, -0.0178680419921875, 0.0074310302734375, -0.02081298828125, -0.0113983154296875, 0.01141357421875, 0.0291595458984375, -0.01282501220703125, 0.0860595703125, -0.01079559326171875, -0.05267333984375, 0.027313232421875, 0.0304107666015625, -0.025115966796875, -0.0172882080078125, 0.00646209716796875, -0.034942626953125, -0.04779052734375, -0.007167816162109375, -0.0263824462890625, 0.002544403076171875, -0.0635986328125, -0.05194091796875, 0.002048492431640625, -0.0625, -0.005268096923828125, 0.02166748046875, 0.00479888916015625, 0.0262603759765625, -0.024810791015625, 0.0004448890686035156, -0.0190582275390625, 0.0233917236328125, 0.01485443115234375, -0.01708984375, -0.0273895263671875, -0.0010776519775390625, -0.0067901611328125, 0.0306549072265625, 0.0012865066528320312, 0.037200927734375, -0.04217529296875, 0.00201416015625, -0.01204681396484375, 0.033966064453125, 0.017669677734375, 0.04559326171875, -0.0133514404296875, 0.011871337890625, 0.00989532470703125, 0.0018978118896484375, -0.0457763671875, 0.0201873779296875, -0.0262603759765625, 0.0301513671875, -0.00803375244140625, -0.0018978118896484375, 0.0516357421875, -0.02374267578125, -0.004375457763671875, 0.010223388671875, 0.02435302734375, -0.061309814453125, 0.08441162109375, 0.0789794921875, 0.0277099609375, 0.048858642578125 ]
2ec539841b47502fbe445be0ce04d3dd792e48bf
Wordpress Stackexchange Q: How to hide the Text Area in the Post Edit screen Is there a way to hide the text area box in my custom post edit screen? All entry is done through taxonomy check boxes and a couple custom fields. I want no entry in the text area. As an alternative, how can I place a "Enter Nothing Here" text message within the text area? I know this is a little bizarre, but is it possible? Thanks -- Mike A: In your functions.php file where the custom post type is registered do you see: 'supports' => array('title','editor','thumbnail') or something similar? If so remove 'editor'
Q: How to hide the Text Area in the Post Edit screen Is there a way to hide the text area box in my custom post edit screen? All entry is done through taxonomy check boxes and a couple custom fields. I want no entry in the text area. As an alternative, how can I place a "Enter Nothing Here" text message within the text area? I know this is a little bizarre, but is it possible? Thanks -- Mike A: In your functions.php file where the custom post type is registered do you see: 'supports' => array('title','editor','thumbnail') or something similar? If so remove 'editor'
wordpress
{ "language": "en", "length": 105, "provenance": "stackexchange_00019.jsonl.gz:414407", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33045" }
[ 0.00913238525390625, -0.009307861328125, 0.01236724853515625, 0.050628662109375, -0.01279449462890625, -0.0287322998046875, 0.058074951171875, -0.03509521484375, 0.0161590576171875, 0.01273345947265625, -0.037750244140625, -0.0303497314453125, -0.0177764892578125, -0.0310211181640625, -0.01690673828125, -0.051788330078125, 0.0027313232421875, 0.010406494140625, 0.01056671142578125, -0.0197906494140625, 0.00887298583984375, -0.0272369384765625, 0.00794219970703125, 0.0048675537109375, 0.0142974853515625, -0.0073089599609375, 0.0791015625, -0.0211029052734375, 0.044677734375, 0.006275177001953125, 0.0232696533203125, -0.046539306640625, -0.01788330078125, 0.066650390625, -0.02178955078125, 0.045379638671875, -0.0163726806640625, 0.055328369140625, 0.0531005859375, -0.0179595947265625, 0.0360107421875, -0.009918212890625, -0.032501220703125, 0.0307159423828125, -0.0216827392578125, -0.0423583984375, 0.033416748046875, -0.0272369384765625, 0.047943115234375, -0.019195556640625, 0.0013723373413085938, 0.040557861328125, 0.0220794677734375, -0.0423583984375, -0.0231475830078125, 0.0003325939178466797, -0.054473876953125, 0.01378631591796875, 0.0128021240234375, 0.047637939453125, 0.01312255859375, -0.0008287429809570312, 0.002765655517578125, -0.01163482666015625, 0.0016336441040039062, -0.0010519027709960938, -0.046875, 0.01953125, -0.05706787109375, 0.009613037109375, 0.04058837890625, -0.065673828125, 0.044219970703125, -0.051116943359375, 0.01386260986328125, 0.036407470703125, -0.01378631591796875, 0.015594482421875, 0.0238494873046875, -0.04827880859375, -0.0146331787109375, -0.01522064208984375, -0.006927490234375, -0.06268310546875, 0.0149993896484375, -0.0343017578125, -0.0182037353515625, 0.0220184326171875, -0.0176239013671875, 0.0016679763793945312, -0.016021728515625, -0.03436279296875, -0.05615234375, 0.0634765625, 0.04132080078125, -0.0250701904296875, 0.01261138916015625, 0.0148162841796875, -0.0004343986511230469, 0.004177093505859375, 0.012054443359375, -0.038787841796875, 0.04168701171875, -0.023223876953125, 0.01549530029296875, 0.05303955078125, -0.03363037109375, -0.0384521484375, 0.017181396484375, 0.01117706298828125, 0.01279449462890625, -0.06610107421875, 0.0030956268310546875, 0.0194854736328125, -0.040924072265625, 0.0258636474609375, 0.0096282958984375, -0.003704071044921875, -0.040283203125, 0.049072265625, -0.00815582275390625, -0.004016876220703125, -0.010772705078125, 0.0015554428100585938, 0.01023101806640625, -0.0213775634765625, -0.031768798828125, 0.0306854248046875, 0.036285400390625, 0.010467529296875, -0.0662841796875, 0.0228729248046875, 0.0955810546875, 0.027374267578125, 0.02093505859375, -0.0294189453125, -0.0220794677734375, -0.0168609619140625, -0.0155029296875, 0.001621246337890625, -0.01953125, -0.0114288330078125, 0.0447998046875, -0.033355712890625, -0.0362548828125, 0.05523681640625, 0.02490234375, -0.008453369140625, -0.032928466796875, -0.0875244140625, -0.002716064453125, -0.051361083984375, 0.04547119140625, 0.0174713134765625, -0.0160980224609375, 0.01226806640625, 0.04827880859375, -0.0253753662109375, -0.0487060546875, -0.030609130859375, 0.0171966552734375, -0.0031681060791015625, 0.019866943359375, 0.0185089111328125, -0.028350830078125, 0.018096923828125, -0.031768798828125, -0.00667572021484375, 0.016021728515625, -0.0418701171875, 0.031036376953125, 0.00799560546875, 0.01849365234375, -0.0092010498046875, 0.0095367431640625, 0.00872802734375, 0.01424407958984375, -0.01079559326171875, 0.005962371826171875, 0.06304931640625, 0.0101165771484375, -0.023529052734375, 0.0205230712890625, -0.004138946533203125, -0.03790283203125, 0.0518798828125, -0.0015287399291992188, 0.039276123046875, -0.00040721893310546875, 0.0131683349609375, 0.020111083984375, 0.0281219482421875, -0.042205810546875, -0.037384033203125, 0.0298614501953125, 0.01010894775390625, -0.0171356201171875, -0.032470703125, 0.01276397705078125, 0.0296173095703125, -0.00717926025390625, -0.0013208389282226562, 0.0207977294921875, 0.01253509521484375, -0.0176849365234375, 0.016265869140625, -0.017730712890625, 0.02667236328125, -0.0281829833984375, 0.017181396484375, 0.0225372314453125, -0.01007080078125, -0.0172271728515625, -0.01953125, -0.0165252685546875, -0.0171051025390625, -0.0164947509765625, 0.0276031494140625, 0.0149078369140625, -0.005664825439453125, 0.03558349609375, -0.01910400390625, 0.018890380859375, -0.00531005859375, 0.01385498046875, -0.0261688232421875, -0.00775146484375, -0.017852783203125, 0.03765869140625, -0.014007568359375, 0.0202178955078125, 0.020538330078125, 0.03631591796875, 0.0517578125, -0.036468505859375, -0.0272674560546875, -0.053955078125, -0.047332763671875, -0.0012388229370117188, 0.0638427734375, 0.034912109375, 0.037384033203125, -0.03460693359375, -0.0195159912109375, 0.057861328125, -0.033355712890625, -0.0070953369140625, -0.0112457275390625, 0.032257080078125, 0.037689208984375, -0.00458526611328125, -0.052764892578125, 0.02734375, -0.0465087890625, 0.037750244140625, 0.00926971435546875, -0.0052490234375, 0.006336212158203125, 0.034210205078125, -0.042022705078125, 0.0129852294921875, -0.01143646240234375, -0.024139404296875, -0.0008778572082519531, 0.0445556640625, 0.017364501953125, 0.052642822265625, 0.04998779296875, -0.04986572265625, 0.01763916015625, 0.0194854736328125, 0.028839111328125, 0.00511932373046875, 0.006572723388671875, -0.00843048095703125, 0.01392364501953125, -0.030303955078125, -0.002910614013671875, 0.018096923828125, 0.0017004013061523438, -0.0079498291015625, -0.014617919921875, -0.0225372314453125, 0.0078277587890625, 0.0296630859375, -0.030792236328125, 0.0221710205078125, 0.0206298828125, -0.01534271240234375, -0.02203369140625, -0.0144195556640625, 0.054840087890625, -0.01342010498046875, 0.04815673828125, 0.0004177093505859375, -0.0148468017578125, 0.0029010772705078125, -0.03839111328125, 0.039306640625, 0.003917694091796875, 0.0230865478515625, 0.07940673828125, 0.007415771484375, 0.0205230712890625, 0.0166168212890625, -0.0268402099609375, -0.0171966552734375, 0.04107666015625, 0.02276611328125, 0.017822265625, -0.0887451171875, 0.00872802734375, 0.01544189453125, -0.0032501220703125, -0.00921630859375, -0.03509521484375, -0.025238037109375, 0.017974853515625, -0.040008544921875, 0.0267181396484375, 0.0228271484375, -0.0703125, -0.039306640625, -0.0225830078125, -0.05712890625, -0.0029582977294921875, 0.01128387451171875, -0.006999969482421875, -0.025634765625, -0.0150604248046875, -0.03192138671875, -0.0341796875, -0.0309906005859375, -0.0178985595703125, -0.010101318359375, -0.0008149147033691406, 0.0036029815673828125, 0.113525390625, 0.0279541015625, -0.0660400390625, 0.0304412841796875, -0.00426483154296875, -0.0089874267578125, 0.0802001953125, -0.0184478759765625, -0.024261474609375, 0.03460693359375, 0.00760650634765625, 0.01629638671875, -0.006298065185546875, 0.0191497802734375, -0.02557373046875, -0.01410675048828125, -0.0166168212890625, -0.0012645721435546875, 0.015960693359375, 0.00919342041015625, -0.0181884765625, 0.01215362548828125, -0.054351806640625, -0.00946807861328125, -0.008575439453125, -0.0244903564453125, 0.010040283203125, -0.00809478759765625, -0.0007567405700683594, -0.03253173828125, 0.055267333984375, 0.006938934326171875, 0.0293731689453125, 0.036865234375, -0.0204010009765625, 0.028839111328125, 0.00499725341796875, -0.00998687744140625, -0.042724609375, -0.00641632080078125, -0.04547119140625, 0.05279541015625, -0.0024089813232421875, -0.00997161865234375, -0.002437591552734375, -0.003635406494140625, -0.00704193115234375, -0.03338623046875, 0.0280609130859375, -0.01256561279296875, -0.02960205078125, -0.0034732818603515625, -0.0034503936767578125, 0.00836181640625, 0.03558349609375, -0.037841796875, -0.002277374267578125, -0.0242767333984375, 0.00579071044921875, -0.02655029296875, -0.06719970703125, -0.0275421142578125, -0.0006303787231445312, -0.09130859375, 0.05035400390625, 0.035430908203125, -0.0236358642578125, -0.0204620361328125, 0.00919342041015625, -0.06121826171875, -0.01800537109375, 0.01519775390625, -0.046356201171875, 0.0124664306640625, -0.003589630126953125, 0.00861358642578125, -0.04510498046875, 0.012542724609375, -0.05108642578125, -0.0318603515625, 0.0010156631469726562, -0.02923583984375, -0.00093841552734375, 0.0057525634765625, 0.00730133056640625, -0.0080413818359375, 0.0119781494140625, 0.01465606689453125, 0.0283660888671875, -0.0011730194091796875, 0.0038661956787109375, -0.006221771240234375, -0.00335693359375, 0.02099609375, -0.039825439453125, 0.0053558349609375, 0.03350830078125, -0.0218505859375, 0.034149169921875, -0.0245513916015625, -0.05450439453125, 0.0382080078125, -0.048828125, -0.0182342529296875, -0.03057861328125, -0.045806884765625, 0.01497650146484375, -0.047088623046875, 0.0183563232421875, -0.029022216796875, -0.04107666015625, -0.0019321441650390625, -0.0022182464599609375, -0.013671875, 0.0296783447265625, 0.045135498046875, 0.019500732421875, -0.0022125244140625, -0.07232666015625, -0.0114898681640625, 0.05126953125, 0.0350341796875, -0.0211944580078125, -0.02496337890625, -0.047119140625, 0.042633056640625, 0.01236724853515625, -0.01143646240234375, -0.013458251953125, 0.112548828125, -0.0236663818359375, -0.0311279296875, 0.0268707275390625, -0.060882568359375, -0.01068115234375, 0.01495361328125, -0.018402099609375, -0.0275726318359375, -0.003421783447265625, 0.05230712890625, -0.02880859375, 0.047119140625, -0.03802490234375, -0.01165008544921875, -0.00506591796875, 0.061553955078125, 0.0215301513671875, 0.01202392578125, 0.0172576904296875, 0.006374359130859375, 0.014923095703125, 0.0143280029296875, -0.0169219970703125, -0.0300140380859375, -0.02642822265625, 0.0245819091796875, 0.0121917724609375, 0.008148193359375, 0.0115814208984375, -0.0020503997802734375, -0.0008139610290527344, -0.0231170654296875, -0.045562744140625, -0.0413818359375, -0.0007734298706054688, 0.032196044921875, 0.038818359375, -0.006923675537109375, -0.00749969482421875, 0.003322601318359375, 0.029052734375, 0.034423828125, 0.018096923828125, -0.01165008544921875, 0.0088653564453125, -0.032257080078125, 0.00673675537109375, -0.0204010009765625, 0.035980224609375, 0.0307159423828125, -0.0288848876953125, 0.02789306640625, -0.0170745849609375, 0.0170745849609375, 0.00708770751953125, 0.0250396728515625, 0.022705078125, -0.006229400634765625, 0.00429534912109375, -0.01134490966796875, 0.00440216064453125, -0.0435791015625, -0.046173095703125, 0.045623779296875, 0.0703125, 0.00933837890625, 0.00524139404296875, -0.019622802734375, -0.016937255859375, -0.0304107666015625, 0.0252532958984375, 0.03460693359375, -0.061248779296875, -0.005367279052734375, 0.03363037109375, -0.0131683349609375, 0.0024585723876953125, 0.0018796920776367188, -0.025115966796875, -0.027862548828125, 0.0036640167236328125, -0.0021457672119140625, -0.0026607513427734375, -0.015716552734375, -0.02435302734375, -0.023345947265625, 0.0014944076538085938, -0.018280029296875, -0.0338134765625, -0.06378173828125, 0.0169830322265625, 0.0111236572265625, -0.011749267578125, -0.013580322265625, -0.00493621826171875, -0.03350830078125, 0.0126953125, 0.004913330078125, 0.00043010711669921875, 0.041168212890625, 0.001705169677734375, -0.011138916015625, 0.00919342041015625, -0.0263214111328125, -0.008941650390625, -0.060089111328125, -0.07806396484375, -0.02593994140625, -0.007221221923828125, -0.0102996826171875, 0.0230255126953125, -0.0293121337890625, -0.035308837890625, -0.0020236968994140625, 0.024322509765625, 0.012298583984375, 0.0379638671875, -0.00188446044921875, 0.05645751953125, -0.0050811767578125, 0.0758056640625, 0.020355224609375, 0.050628662109375, 0.01331329345703125, -0.05975341796875, 0.0031566619873046875, -0.05877685546875, -0.022918701171875, 0.002197265625, 0.00548553466796875, 0.02734375, -0.01264190673828125, -0.00604248046875, -0.0279541015625, -0.0050048828125, 0.007015228271484375, -0.029632568359375, 0.028167724609375, 0.035125732421875, 0.0017642974853515625, -0.0262603759765625, -0.0433349609375, 0.007297515869140625, 0.03375244140625, -0.0057525634765625, 0.01097869873046875, -0.01493072509765625, 0.004119873046875, 0.0133056640625, -0.03143310546875, 0.048614501953125, 0.0694580078125, -0.03533935546875, 0.031585693359375, 0.01554107666015625, 0.0011758804321289062, 0.050750732421875, -0.0178985595703125, -0.061370849609375, 0.0157623291015625, 0.06878662109375, 0.024566650390625, -0.026519775390625, 0.08258056640625, -0.0197906494140625, 0.009857177734375, 0.06964111328125, 0.0780029296875, -0.10040283203125, 0.0004963874816894531, 0.0260009765625, -0.00652313232421875, 0.018096923828125, 0.004009246826171875, 0.00406646728515625, -0.0179595947265625, 0.0160675048828125, -0.00946807861328125, 0.002246856689453125, 0.0215301513671875, -0.01226806640625, -0.0243072509765625, -0.0233154296875, 0.03424072265625, 0.020294189453125, -0.01067352294921875, 0.0218048095703125, 0.01319122314453125, 0.001903533935546875, -0.028411865234375, 0.0183868408203125, 0.01432037353515625, -0.0243988037109375, -0.08758544921875, 0.0024356842041015625, 0.01509857177734375, -0.019317626953125, 0.06048583984375, -0.002376556396484375, -0.025054931640625, 0.034027099609375, -0.0285797119140625, 0.03466796875, -0.004802703857421875, -0.046417236328125, 0.025360107421875, -0.0364990234375, -0.036590576171875, 0.061614990234375, -0.03656005859375, 0.013275146484375, 0.000308990478515625, 0.031097412109375, -0.017669677734375, -0.0013179779052734375, 0.0986328125, -0.03082275390625, -0.032806396484375, 0.0172271728515625, -0.01207733154296875, 0.0010318756103515625, -0.016204833984375, -0.02081298828125, -0.03106689453125, 0.0279541015625, -0.039794921875, -0.009521484375, 0.0125885009765625, -0.044891357421875, -0.065185546875, 0.11688232421875, -0.003894805908203125, 0.024627685546875, -0.020751953125, 0.049957275390625, 0.005340576171875, 0.049530029296875, -0.0169677734375, 0.0162811279296875, -0.0203857421875, 0.025634765625, -0.0043792724609375, 0.0118560791015625, 0.0215911865234375, 0.012176513671875, 0.030029296875, 0.0024318695068359375, 0.0244598388671875, -0.01345062255859375, 0.039031982421875, 0.052001953125, -0.004611968994140625, 0.001132965087890625, 0.037139892578125, 0.046630859375, 0.051422119140625, -0.0136260986328125, 0.042327880859375, -0.0038909912109375, -0.01264190673828125, 0.057403564453125, 0.0264129638671875, 0.0310821533203125, 0.0223388671875, -0.004566192626953125, 0.0176544189453125, 0.0108795166015625, 0.009002685546875, -0.04241943359375, -0.038726806640625, 0.05157470703125, 0.049896240234375, -0.09503173828125, 0.016510009765625, -0.05487060546875, 0.05731201171875, 0.0279693603515625, 0.05096435546875, 0.0232086181640625, 0.026397705078125, 0.02099609375, -0.0521240234375, 0.0248565673828125, -0.002166748046875, -0.051605224609375, -0.025115966796875, -0.006591796875, 0.002803802490234375, -0.03521728515625, 0.0234222412109375, 0.05230712890625, -0.0018739700317382812, -0.01442718505859375, 0.00032591819763183594, 0.01462554931640625, 0.01425933837890625, -0.0191802978515625, -0.04522705078125, -0.0190277099609375, 0.036468505859375, 0.064697265625, -0.01509857177734375, 0.0009202957153320312, 0.026458740234375, 0.0130157470703125, 0.002887725830078125, 0.0154571533203125, -0.0175018310546875, -0.011138916015625, -0.05419921875, -0.01194000244140625, 0.00637054443359375, 0.0300140380859375, 0.059539794921875, 0.0206756591796875, 0.06781005859375, -0.0196380615234375, -0.01806640625, -0.015869140625, 0.04315185546875, 0.0221099853515625, -0.022918701171875, 0.0301513671875, 0.035064697265625, 0.02520751953125, 0.00949859619140625, 0.04058837890625, 0.047943115234375, 0.0295867919921875, -0.007076263427734375, -0.018096923828125, -0.0206756591796875, -0.0284576416015625, -0.0254669189453125, -0.02764892578125, 0.0175018310546875, 0.046295166015625, 0.01001739501953125, 0.00522613525390625, 0.0238800048828125, 0.0560302734375, -0.002262115478515625, -0.0049896240234375, 0.010406494140625, -0.055694580078125, 0.0077362060546875, -0.0027942657470703125, 0.04766845703125, 0.0301666259765625, -0.0511474609375, -0.032562255859375, -0.02020263671875, -0.0155029296875, 0.01239776611328125, 0.0357666015625, -0.0063323974609375, 0.027587890625, 0.041839599609375, 0.0109405517578125, -0.036468505859375, -0.01560211181640625, 0.04864501953125, -0.011688232421875, -0.00452423095703125, 0.032318115234375, -0.047027587890625, -0.01776123046875, -0.016571044921875, 0.025543212890625, 0.0026950836181640625, 0.0297088623046875, 0.01372528076171875, 0.00933074951171875, -0.026702880859375, 0.0341796875, -0.04913330078125, -0.018341064453125, 0.0182037353515625, 0.0216217041015625, 0.0308837890625, -0.014404296875, -0.05047607421875, 0.04510498046875, 0.00934600830078125, -0.0226287841796875, 0.0562744140625, 0.003570556640625, -0.01558685302734375, -0.0504150390625, -0.01019287109375, -0.0288238525390625, -0.0146026611328125, -0.00798797607421875, -0.008056640625, 0.00907135009765625, -0.0292205810546875, -0.030029296875, 0.026123046875, -0.0260772705078125, -0.0224761962890625, 0.0177154541015625, -0.038909912109375, 0.0167236328125, 0.034912109375, -0.026702880859375, -0.0003654956817626953, 0.01198577880859375, -0.0178680419921875, -0.004665374755859375, 0.0263519287109375, -0.0182952880859375, 0.0260772705078125, -0.044921875, -0.0301666259765625, -0.0190582275390625, 0.02520751953125, -0.01145172119140625, 0.0095672607421875, -0.033050537109375, 0.00693511962890625, -0.0184478759765625, 0.0285797119140625, -0.0194549560546875, -0.0313720703125, -0.0031223297119140625, 0.015350341796875, -0.01103973388671875, 0.00251007080078125, -0.0341796875, 0.01287078857421875, -0.0020618438720703125, 0.007747650146484375, -0.05499267578125, 0.041412353515625, -0.01312255859375, 0.024993896484375, -0.0169525146484375, 0.00036978721618652344, 0.0242462158203125, 0.054779052734375, 0.0020809173583984375, -0.020965576171875, 0.0042572021484375, 0.0225067138671875, 0.018310546875, 0.0005650520324707031, 0.0399169921875, -0.01552581787109375, -0.036895751953125, 0.006771087646484375, 0.009124755859375, 0.047943115234375, -0.0303955078125, -0.014984130859375, -0.00963592529296875, 0.0007719993591308594, -0.00033211708068847656, -0.0308990478515625, 0.00832366943359375, -0.0075225830078125, -0.03924560546875, -0.01332855224609375, -0.00004756450653076172, 0.01155853271484375, -0.0350341796875, -0.103759765625, -0.0013294219970703125, -0.004596710205078125, -0.050811767578125, 0.00411224365234375, -0.020172119140625, -0.022491455078125, 0.059967041015625, 0.0275421142578125, -0.036956787109375, -0.007366180419921875, 0.025115966796875, -0.0165557861328125, 0.0260772705078125, 0.01776123046875, -0.031982421875, -0.048370361328125, -0.03125, -0.0261077880859375, -0.024658203125, 0.017303466796875, -0.016937255859375, -0.00872039794921875, 0.017303466796875, -0.055450439453125, -0.045074462890625, -0.0284881591796875, -0.004390716552734375, -0.00394439697265625, -0.0210113525390625, -0.03912353515625, -0.03387451171875, 0.04248046875, 0.051788330078125, 0.015838623046875, -0.00518035888671875, -0.0019588470458984375, -0.00966644287109375, -0.009521484375, -0.0188140869140625, -0.00016939640045166016, -0.049957275390625, -0.019073486328125, 0.01082611083984375, -0.00728607177734375, 0.04705810546875, -0.007671356201171875, -0.00872802734375, -0.0083465576171875, 0.015228271484375, -0.01197052001953125, -0.05889892578125, -0.00354766845703125, 0.054656982421875, -0.047576904296875, -0.03839111328125, -0.00818634033203125, 0.01097869873046875, -0.016143798828125, -0.0494384765625, -0.0262298583984375, -0.0214996337890625, -0.056884765625, 0.0545654296875, -0.058074951171875, 0.09161376953125, -0.08587646484375, -0.0166015625, -0.019775390625, 0.0229949951171875, 0.00112152099609375, 0.029022216796875, -0.0127105712890625, 0.01305389404296875, 0.018951416015625, 0.00853729248046875, -0.053619384765625, 0.020111083984375, -0.053192138671875, 0.0199127197265625, -0.0004124641418457031, 0.036102294921875, 0.055419921875, 0.0111541748046875, 0.0167388916015625, 0.0325927734375, 0.00931549072265625, -0.00502777099609375, -0.002231597900390625, 0.011016845703125, 0.020416259765625, -0.00888824462890625 ]
1302cc44db5744273cd85e6cfc6029077a838129
Wordpress Stackexchange Q: Is there a filter/action to add content to WP admin metaboxes? I want to add an instruction into a custom term meta-box. Is there a hook to add this or is it easiest just to use JavaScript? A: I couldn't find a hook so I went with the JS option. add_action( "admin_head-post-new.php", 'meta_box_instruction' ); //new post add_action( "admin_head-post.php", 'meta_box_instruction' ); //edit post function meta_box_instruction($d) { global $post; if($post->post_type == '{YOUR POST TYPE}' || $_GET['post_type'] == '{YOUR POST TYPE}'): ?> <script type='text/javascript'> jQuery(document).ready(function(){ jQuery('<p>Some instruction</p>').insertBefore('#taxonomy-{YOUR TAXONOMY NAME}').parent(); }); </script> <?php endif; }
Q: Is there a filter/action to add content to WP admin metaboxes? I want to add an instruction into a custom term meta-box. Is there a hook to add this or is it easiest just to use JavaScript? A: I couldn't find a hook so I went with the JS option. add_action( "admin_head-post-new.php", 'meta_box_instruction' ); //new post add_action( "admin_head-post.php", 'meta_box_instruction' ); //edit post function meta_box_instruction($d) { global $post; if($post->post_type == '{YOUR POST TYPE}' || $_GET['post_type'] == '{YOUR POST TYPE}'): ?> <script type='text/javascript'> jQuery(document).ready(function(){ jQuery('<p>Some instruction</p>').insertBefore('#taxonomy-{YOUR TAXONOMY NAME}').parent(); }); </script> <?php endif; }
wordpress
{ "language": "en", "length": 92, "provenance": "stackexchange_00019.jsonl.gz:414411", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33059" }
[ 0.0672607421875, 0.00142669677734375, -0.017364501953125, -0.07147216796875, 0.025634765625, -0.03582763671875, 0.0113983154296875, 0.0015411376953125, -0.036590576171875, 0.040191650390625, -0.01165008544921875, -0.006862640380859375, 0.0025157928466796875, -0.0265045166015625, -0.00823211669921875, -0.0399169921875, 0.023773193359375, -0.0168609619140625, 0.0249786376953125, -0.00843048095703125, 0.00498199462890625, -0.01187896728515625, 0.033599853515625, 0.006137847900390625, 0.01029205322265625, -0.0140380859375, 0.05902099609375, -0.0289764404296875, 0.032623291015625, 0.01303863525390625, 0.020111083984375, -0.029937744140625, 0.024566650390625, -0.005130767822265625, -0.01161956787109375, 0.010467529296875, 0.0152435302734375, 0.0017566680908203125, -0.01247406005859375, 0.0394287109375, 0.034149169921875, -0.033843994140625, -0.00923919677734375, 0.04608154296875, -0.00424957275390625, -0.0343017578125, 0.024993896484375, -0.04736328125, 0.04217529296875, -0.032318115234375, 0.012237548828125, -0.01464080810546875, 0.03851318359375, -0.09564208984375, -0.01372528076171875, 0.025848388671875, -0.020477294921875, -0.0033245086669921875, 0.0261993408203125, 0.03033447265625, -0.0008053779602050781, -0.006076812744140625, -0.0028209686279296875, -0.022613525390625, 0.00975799560546875, -0.00014162063598632812, -0.0217437744140625, -0.0014600753784179688, -0.0771484375, 0.014739990234375, 0.05523681640625, -0.07373046875, -0.00855255126953125, -0.0179290771484375, -0.004497528076171875, -0.04315185546875, 0.0100250244140625, -0.052734375, 0.00811004638671875, 0.0159149169921875, 0.01129913330078125, 0.041534423828125, 0.0289154052734375, -0.017364501953125, -0.005176544189453125, 0.00567626953125, -0.0294952392578125, -0.020843505859375, -0.03363037109375, -0.0401611328125, -0.018707275390625, -0.08160400390625, -0.04473876953125, -0.005390167236328125, 0.005817413330078125, -0.035400390625, -0.013458251953125, 0.0195465087890625, -0.02520751953125, 0.00970458984375, -0.00487518310546875, -0.0142822265625, 0.038543701171875, -0.033294677734375, 0.0122222900390625, 0.0019273757934570312, -0.0084381103515625, 0.01491546630859375, 0.03680419921875, 0.02069091796875, -0.018218994140625, -0.0081939697265625, -0.00366973876953125, 0.00675201416015625, -0.03204345703125, -0.02197265625, -0.034027099609375, 0.00426483154296875, -0.00424957275390625, -0.0027790069580078125, 0.0009121894836425781, -0.0087738037109375, 0.04449462890625, -0.0108489990234375, 0.034393310546875, 0.01421356201171875, -0.03375244140625, -0.03936767578125, 0.027923583984375, -0.04840087890625, -0.028839111328125, 0.035186767578125, 0.057403564453125, 0.03955078125, 0.018890380859375, 0.0009632110595703125, 0.051544189453125, 0.003173828125, -0.018798828125, 0.0013294219970703125, 0.00214385986328125, -0.00511932373046875, -0.00909423828125, -0.0142364501953125, -0.0012111663818359375, 0.0450439453125, 0.0003795623779296875, -0.01461029052734375, 0.0112152099609375, -0.017303466796875, -0.01904296875, -0.0675048828125, 0.07012939453125, -0.0132598876953125, -0.061248779296875, -0.0187530517578125, 0.029541015625, -0.035430908203125, -0.05731201171875, -0.06915283203125, 0.0289154052734375, 0.00711822509765625, 0.0061187744140625, -0.01432037353515625, -0.0016908645629882812, -0.02392578125, -0.035552978515625, 0.01418304443359375, 0.01788330078125, 0.03314208984375, 0.03253173828125, -0.00144195556640625, -0.035125732421875, -0.006732940673828125, -0.01197052001953125, -0.0217437744140625, -0.00144195556640625, 0.0706787109375, 0.0015926361083984375, 0.026641845703125, 0.0189666748046875, -0.040985107421875, 0.0863037109375, -0.01314544677734375, -0.01537322998046875, 0.01224517822265625, 0.0191650390625, 0.021148681640625, -0.01534271240234375, 0.0174407958984375, 0.03570556640625, 0.031524658203125, -0.0189056396484375, -0.011322021484375, 0.02276611328125, -0.0139617919921875, -0.0222015380859375, -0.014556884765625, 0.000301361083984375, 0.0223541259765625, -0.0273895263671875, 0.00939178466796875, 0.010406494140625, 0.0270233154296875, -0.0203704833984375, 0.0225830078125, -0.03814697265625, 0.050933837890625, -0.007183074951171875, -0.0242462158203125, 0.0003733634948730469, -0.03265380859375, 0.010589599609375, -0.017578125, -0.032012939453125, 0.028900146484375, -0.0225372314453125, 0.05426025390625, 0.0142669677734375, 0.038177490234375, 0.036956787109375, -0.03302001953125, 0.019989013671875, -0.0010890960693359375, 0.037139892578125, 0.006008148193359375, -0.0205078125, -0.00966644287109375, 0.014251708984375, 0.026885986328125, -0.059539794921875, 0.02728271484375, -0.00868988037109375, -0.026214599609375, -0.031646728515625, -0.0128021240234375, -0.004123687744140625, -0.09521484375, 0.00620269775390625, 0.059539794921875, 0.031494140625, 0.05755615234375, 0.0233306884765625, 0.043426513671875, 0.05755615234375, -0.043060302734375, 0.01372528076171875, 0.00669097900390625, -0.01549530029296875, 0.0211944580078125, -0.0293426513671875, 0.00978851318359375, 0.0249176025390625, -0.044677734375, 0.002986907958984375, 0.035675048828125, -0.02783203125, -0.021240234375, 0.004978179931640625, -0.042510986328125, 0.038482666015625, -0.045654296875, -0.07342529296875, 0.013641357421875, 0.055023193359375, -0.009307861328125, 0.049957275390625, 0.032135009765625, 0.0002340078353881836, -0.00775909423828125, 0.008880615234375, -0.0235748291015625, -0.001628875732421875, -0.0122833251953125, 0.03521728515625, 0.023712158203125, -0.0523681640625, 0.007617950439453125, 0.04620361328125, 0.00595855712890625, -0.007007598876953125, 0.010833740234375, -0.0190887451171875, -0.00972747802734375, 0.00923919677734375, -0.0501708984375, 0.01236724853515625, 0.0037517547607421875, 0.0160980224609375, -0.0010223388671875, 0.036102294921875, -0.0029315948486328125, -0.022247314453125, 0.0226593017578125, -0.008209228515625, -0.03717041015625, 0.05218505859375, -0.00566864013671875, 0.031494140625, -0.0221405029296875, 0.060302734375, 0.038543701171875, -0.0438232421875, 0.027313232421875, -0.0142669677734375, -0.004119873046875, -0.05157470703125, 0.040618896484375, -0.0016031265258789062, -0.052093505859375, -0.01157379150390625, 0.0203094482421875, 0.00922393798828125, 0.01346588134765625, -0.010284423828125, -0.0306549072265625, 0.0029811859130859375, -0.006267547607421875, -0.03594970703125, -0.00930023193359375, -0.005672454833984375, -0.0662841796875, 0.0024051666259765625, 0.0237579345703125, -0.040130615234375, -0.00926971435546875, 0.076171875, 0.0032501220703125, -0.013580322265625, -0.0188446044921875, -0.01313018798828125, -0.022430419921875, -0.0296173095703125, 0.02044677734375, 0.01049041748046875, 0.0037670135498046875, 0.007358551025390625, 0.06524658203125, 0.01528167724609375, -0.07763671875, 0.02301025390625, 0.006496429443359375, -0.00339508056640625, 0.07464599609375, 0.0039005279541015625, -0.03875732421875, 0.006195068359375, -0.0154571533203125, -0.004486083984375, 0.011474609375, -0.01026153564453125, -0.0015325546264648438, -0.044677734375, 0.0103302001953125, 0.0021800994873046875, -0.002277374267578125, 0.051055908203125, 0.0213165283203125, 0.0308837890625, -0.0294647216796875, 0.034912109375, 0.01020050048828125, 0.0013380050659179688, -0.00737762451171875, -0.0298004150390625, -0.0276641845703125, 0.0146636962890625, 0.0077362060546875, 0.01480865478515625, -0.002132415771484375, 0.029541015625, 0.00978851318359375, -0.05181884765625, -0.015777587890625, -0.010223388671875, -0.00946807861328125, 0.0184173583984375, -0.00274658203125, 0.047149658203125, 0.02691650390625, 0.040679931640625, -0.004688262939453125, 0.0447998046875, -0.058624267578125, -0.0648193359375, 0.034912109375, -0.035675048828125, 0.021759033203125, -0.035614013671875, -0.0216522216796875, 0.0081787109375, 0.098388671875, -0.0293731689453125, -0.0191802978515625, 0.011322021484375, 0.004695892333984375, 0.01152801513671875, -0.0020122528076171875, -0.01520538330078125, -0.0242919921875, -0.07257080078125, 0.00977325439453125, 0.01389312744140625, -0.044403076171875, -0.0240631103515625, 0.00966644287109375, -0.058868408203125, -0.022979736328125, 0.058013916015625, -0.07244873046875, -0.008758544921875, 0.072265625, -0.0214691162109375, 0.0152587890625, -0.055023193359375, -0.0177764892578125, -0.068115234375, -0.0281524658203125, -0.0231170654296875, 0.06707763671875, 0.02105712890625, -0.0213165283203125, -0.0292816162109375, 0.031768798828125, 0.005153656005859375, -0.00860595703125, 0.01367950439453125, 0.028656005859375, 0.0021228790283203125, -0.062255859375, -0.006076812744140625, -0.0621337890625, -0.0341796875, 0.005641937255859375, 0.032867431640625, 0.060882568359375, -0.0031108856201171875, -0.0202178955078125, 0.01084136962890625, -0.0041961669921875, -0.0535888671875, -0.07696533203125, -0.08447265625, -0.021148681640625, -0.027069091796875, -0.0292816162109375, -0.06646728515625, -0.07037353515625, -0.01560211181640625, -0.0198211669921875, -0.033111572265625, 0.0286865234375, 0.0413818359375, 0.044342041015625, 0.0034027099609375, -0.0202484130859375, 0.01042938232421875, 0.051910400390625, -0.0223388671875, 0.02569580078125, 0.033599853515625, -0.0270233154296875, 0.047515869140625, 0.0074462890625, 0.0333251953125, -0.0601806640625, 0.07940673828125, 0.00760650634765625, 0.00685882568359375, 0.02728271484375, 0.00484466552734375, 0.004817962646484375, -0.0232391357421875, -0.039031982421875, 0.001735687255859375, -0.0225677490234375, 0.049560546875, -0.030059814453125, 0.07049560546875, -0.040863037109375, 0.0092010498046875, -0.004180908203125, -0.0206451416015625, 0.061553955078125, 0.0038242340087890625, 0.021331787109375, -0.0187835693359375, 0.00571441650390625, 0.01010894775390625, 0.006866455078125, -0.001461029052734375, -0.0234832763671875, 0.02880859375, 0.0101776123046875, -0.02191162109375, 0.0212860107421875, -0.0121612548828125, 0.049652099609375, -0.009490966796875, -0.0455322265625, 0.0014438629150390625, -0.0001710653305053711, 0.05108642578125, 0.041778564453125, 0.002002716064453125, 0.0018243789672851562, 0.036468505859375, -0.00997161865234375, 0.001155853271484375, 0.0369873046875, 0.02020263671875, -0.0279388427734375, 0.016326904296875, 0.0003237724304199219, -0.0077972412109375, 0.015045166015625, 0.043212890625, -0.027801513671875, 0.0259552001953125, -0.0122528076171875, 0.0306549072265625, 0.0019931793212890625, 0.038787841796875, 0.0307159423828125, -0.052703857421875, 0.0216064453125, 0.004589080810546875, -0.0223388671875, -0.010406494140625, 0.006252288818359375, 0.01000213623046875, 0.006183624267578125, -0.02923583984375, -0.01708984375, 0.0235137939453125, -0.012054443359375, -0.040557861328125, -0.0294036865234375, -0.00440216064453125, 0.01102447509765625, -0.0104217529296875, -0.0311431884765625, -0.01032257080078125, 0.056182861328125, -0.0024929046630859375, 0.0302581787109375, 0.0145111083984375, 0.042633056640625, -0.019256591796875, 0.0208740234375, -0.01532745361328125, -0.0100250244140625, -0.02532958984375, -0.005218505859375, -0.00412750244140625, -0.033782958984375, -0.029052734375, 0.007965087890625, -0.00728607177734375, 0.0341796875, -0.0026092529296875, 0.0234375, -0.0269012451171875, 0.008880615234375, 0.007350921630859375, 0.00919342041015625, 0.0202484130859375, -0.01198577880859375, -0.01318359375, -0.015716552734375, -0.027374267578125, -0.0146026611328125, -0.0706787109375, -0.03973388671875, -0.0025348663330078125, 0.02239990234375, -0.00949859619140625, 0.01256561279296875, -0.00897979736328125, 0.01110076904296875, -0.00754547119140625, 0.00787353515625, 0.002532958984375, 0.018280029296875, -0.0175628662109375, 0.048797607421875, -0.0096893310546875, 0.047393798828125, -0.001300811767578125, 0.006305694580078125, 0.0014133453369140625, -0.0282135009765625, -0.00519561767578125, -0.0438232421875, -0.002704620361328125, -0.004405975341796875, -0.0289764404296875, 0.040283203125, 0.0421142578125, -0.008148193359375, 0.004833221435546875, 0.002391815185546875, -0.01116943359375, -0.01110076904296875, -0.017333984375, 0.027069091796875, 0.01328277587890625, 0.0097503662109375, -0.0242462158203125, 0.0054931640625, 0.0015010833740234375, 0.0122222900390625, 0.03924560546875, -0.042633056640625, 0.026824951171875, 0.01123809814453125, -0.0517578125, 0.049041748046875, 0.03826904296875, 0.0438232421875, 0.06427001953125, -0.0016269683837890625, 0.051513671875, 0.01299285888671875, 0.0011386871337890625, -0.0258331298828125, -0.0051727294921875, 0.062347412109375, 0.006855010986328125, -0.035186767578125, 0.059417724609375, -0.0296173095703125, 0.0080413818359375, 0.038360595703125, 0.040771484375, -0.07049560546875, 0.01056671142578125, -0.0048675537109375, -0.00972747802734375, 0.0213623046875, -0.0036449432373046875, 0.0021209716796875, 0.023101806640625, -0.00948333740234375, 0.026947021484375, -0.0333251953125, 0.01482391357421875, 0.02587890625, -0.02972412109375, -0.0242919921875, -0.037994384765625, -0.004856109619140625, 0.02008056640625, 0.0291900634765625, -0.01751708984375, 0.0042572021484375, -0.0175323486328125, -0.01134490966796875, 0.005825042724609375, -0.0171661376953125, -0.05078125, 0.00794219970703125, -0.032073974609375, 0.01490020751953125, 0.03192138671875, -0.0186614990234375, 0.0210418701171875, 0.0443115234375, -0.02337646484375, 0.01214599609375, -0.0028667449951171875, -0.0186614990234375, -0.044708251953125, -0.01200103759765625, -0.0258941650390625, 0.0242156982421875, -0.00911712646484375, 0.022003173828125, -0.025848388671875, -0.00893402099609375, 0.00012189149856567383, -0.060333251953125, 0.028839111328125, -0.00113677978515625, -0.02423095703125, 0.025909423828125, -0.03802490234375, -0.015716552734375, 0.0287322998046875, 0.0053863525390625, -0.036346435546875, -0.037078857421875, 0.0183563232421875, -0.054443359375, -0.004909515380859375, 0.023101806640625, -0.049224853515625, 0.09722900390625, 0.012847900390625, -0.0186614990234375, -0.0252532958984375, 0.053741455078125, -0.03173828125, 0.032989501953125, -0.032379150390625, 0.04571533203125, 0.0212249755859375, 0.019195556640625, -0.03619384765625, -0.007251739501953125, -0.0029239654541015625, 0.0225372314453125, 0.01033782958984375, 0.0092926025390625, -0.03399658203125, -0.032196044921875, 0.0022373199462890625, 0.0195159912109375, 0.0052032470703125, 0.04022216796875, 0.0014104843139648438, 0.0283355712890625, 0.030242919921875, -0.01189422607421875, 0.037139892578125, -0.0026531219482421875, -0.04071044921875, 0.01340484619140625, 0.01000213623046875, 0.01116180419921875, -0.00469970703125, 0.0092315673828125, -0.0261993408203125, -0.007354736328125, 0.0267181396484375, -0.05474853515625, -0.04998779296875, 0.030792236328125, -0.034271240234375, -0.0290374755859375, -0.01425933837890625, -0.027801513671875, 0.01446533203125, -0.0043792724609375, 0.061920166015625, 0.019256591796875, 0.02740478515625, 0.053619384765625, -0.0190277099609375, 0.0232696533203125, 0.0219879150390625, -0.039947509765625, 0.0250091552734375, -0.027099609375, 0.0033779144287109375, -0.0767822265625, -0.00457763671875, 0.031402587890625, 0.028900146484375, -0.022369384765625, -0.043365478515625, -0.0006380081176757812, 0.0166778564453125, 0.004364013671875, 0.0271148681640625, 0.0269012451171875, 0.030059814453125, 0.057891845703125, -0.052886962890625, 0.006397247314453125, 0.026092529296875, 0.0201568603515625, -0.01062774658203125, 0.01947021484375, -0.0159912109375, 0.0031032562255859375, -0.0489501953125, 0.02032470703125, 0.005374908447265625, 0.06939697265625, 0.01531219482421875, 0.068115234375, -0.03375244140625, -0.0186004638671875, -0.026031494140625, 0.018035888671875, 0.0031490325927734375, 0.039794921875, -0.05206298828125, -0.005702972412109375, 0.01390838623046875, 0.034637451171875, 0.01531219482421875, 0.056671142578125, 0.042022705078125, 0.0166778564453125, -0.0005578994750976562, 0.0147247314453125, 0.057281494140625, -0.0246124267578125, 0.007080078125, -0.05950927734375, 0.0587158203125, 0.0465087890625, 0.0264434814453125, -0.015594482421875, 0.01351165771484375, 0.06829833984375, -0.0283050537109375, -0.0188140869140625, 0.000278472900390625, -0.06591796875, 0.057586669921875, -0.0021228790283203125, 0.0672607421875, -0.0005207061767578125, -0.04376220703125, -0.005916595458984375, -0.0242156982421875, -0.07098388671875, 0.04107666015625, 0.05560302734375, -0.0247802734375, 0.003078460693359375, -0.0012598037719726562, -0.002307891845703125, 0.0029964447021484375, -0.01479339599609375, 0.0005254745483398438, -0.0150146484375, 0.0197296142578125, -0.01224517822265625, -0.006778717041015625, 0.0173187255859375, 0.012451171875, 0.014923095703125, 0.0091094970703125, 0.060455322265625, -0.016387939453125, 0.0222930908203125, -0.01849365234375, -0.021636962890625, 0.0014362335205078125, -0.0111541748046875, 0.002399444580078125, -0.005474090576171875, -0.010284423828125, -0.0028667449951171875, -0.05853271484375, 0.025054931640625, 0.0216827392578125, -0.0108795166015625, 0.040069580078125, -0.0186920166015625, 0.00890350341796875, -0.0325927734375, 0.06622314453125, -0.0213165283203125, -0.030975341796875, -0.044097900390625, -0.025146484375, 0.04010009765625, 0.07073974609375, 0.044525146484375, 0.027923583984375, 0.01311492919921875, 0.02252197265625, 0.0137786865234375, -0.0021457672119140625, 0.01294708251953125, 0.033782958984375, -0.048095703125, 0.00878143310546875, 0.060333251953125, 0.005840301513671875, 0.031951904296875, 0.02496337890625, 0.01861572265625, 0.044342041015625, -0.051300048828125, -0.025299072265625, 0.026458740234375, 0.043182373046875, -0.0107269287109375, 0.020355224609375, 0.00264739990234375, -0.01554107666015625, -0.00128173828125, 0.027099609375, -0.032989501953125, -0.039459228515625, 0.0010309219360351562, 0.007312774658203125, -0.01422119140625, -0.055328369140625, -0.057220458984375, 0.004390716552734375, 0.0242919921875, -0.0011358261108398438, -0.048919677734375, 0.037506103515625, -0.0260009765625, 0.033782958984375, -0.0090179443359375, 0.004276275634765625, -0.008697509765625, 0.040985107421875, 0.006404876708984375, -0.01543426513671875, -0.036651611328125, 0.0238800048828125, -0.034088134765625, 0.02294921875, 0.0302276611328125, -0.033843994140625, -0.000545501708984375, -0.0074005126953125, 0.0281829833984375, 0.04241943359375, 0.05828857421875, -0.013458251953125, 0.012969970703125, 0.0305938720703125, -0.0268096923828125, -0.050537109375, 0.003444671630859375, -0.00978851318359375, 0.004558563232421875, -0.027435302734375, 0.0139312744140625, 0.0232086181640625, -0.0302734375, -0.1064453125, 0.012359619140625, -0.0157012939453125, -0.035858154296875, -0.0548095703125, -0.0009255409240722656, -0.008758544921875, 0.005985260009765625, -0.0260772705078125, -0.007526397705078125, -0.0175323486328125, 0.0310211181640625, 0.006587982177734375, -0.006256103515625, 0.038421630859375, -0.0195159912109375, -0.05792236328125, -0.025665283203125, -0.01535797119140625, -0.0014705657958984375, 0.0016393661499023438, -0.02197265625, 0.0291290283203125, 0.0263214111328125, -0.03387451171875, -0.05145263671875, 0.01187896728515625, -0.0162353515625, -0.008087158203125, -0.1123046875, -0.0288543701171875, -0.046661376953125, 0.08111572265625, 0.0236053466796875, 0.01812744140625, -0.01922607421875, 0.0406494140625, -0.0235443115234375, -0.039337158203125, -0.018463134765625, 0.00067901611328125, -0.0293121337890625, -0.0229034423828125, 0.00788116455078125, -0.02142333984375, -0.0143585205078125, 0.004535675048828125, -0.03961181640625, 0.01558685302734375, 0.056396484375, 0.0246429443359375, -0.03619384765625, -0.019195556640625, 0.060150146484375, -0.053070068359375, -0.0139923095703125, 0.03863525390625, -0.00205230712890625, 0.017730712890625, 0.041290283203125, -0.0214385986328125, -0.03228759765625, -0.00579833984375, 0.02667236328125, -0.0174407958984375, 0.049072265625, -0.02264404296875, -0.01739501953125, -0.021728515625, 0.04229736328125, -0.003932952880859375, 0.03277587890625, -0.03289794921875, 0.046112060546875, -0.00493621826171875, 0.07110595703125, -0.055816650390625, 0.0107421875, -0.031646728515625, 0.00698089599609375, 0.017364501953125, 0.015838623046875, 0.0909423828125, -0.006359100341796875, 0.00838470458984375, -0.0166168212890625, -0.0095672607421875, -0.040618896484375, -0.0030803680419921875, -0.01348114013671875, -0.007183074951171875, 0.0193023681640625 ]
c0e707ec7429f722b98348bf97a9bc88dd9fc24b
Wordpress Stackexchange Q: How to remove feeds from WordPress totally? I want to completely remove feeds from WordPress. I am using this little function from http://wpengineer.com/287/disable-wordpress-feed/ /** * disable feed */ function fb_disable_feed() { wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') ); } add_action('do_feed', 'fb_disable_feed', 1); add_action('do_feed_rdf', 'fb_disable_feed', 1); add_action('do_feed_rss', 'fb_disable_feed', 1); add_action('do_feed_rss2', 'fb_disable_feed', 1); add_action('do_feed_atom', 'fb_disable_feed', 1); Still there is tons of transient options.. like _transient_feed_mod or _transient_timeout_feed_mod How can i completely remove feeds from WordPress? A: The code you posted will do exactly what it says it will - prevent anyone from accessing your site via an RSS feed. Still there is tons of transient options.. like _transient_feed_mod or _transient_timeout_feed_mod These transient options have absolutely nothing to do with your site feed. The WordPress dashboard consumes several feeds by default and displays them in boxes on the admin dashboard. Plugins you install might add their own feeds, either for news displays or for updates. These transient values are used by WordPress to determine when these consumed feeds have been updated. How can i completely remove feeds from WordPress? The code you've posted already has ...
Q: How to remove feeds from WordPress totally? I want to completely remove feeds from WordPress. I am using this little function from http://wpengineer.com/287/disable-wordpress-feed/ /** * disable feed */ function fb_disable_feed() { wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') ); } add_action('do_feed', 'fb_disable_feed', 1); add_action('do_feed_rdf', 'fb_disable_feed', 1); add_action('do_feed_rss', 'fb_disable_feed', 1); add_action('do_feed_rss2', 'fb_disable_feed', 1); add_action('do_feed_atom', 'fb_disable_feed', 1); Still there is tons of transient options.. like _transient_feed_mod or _transient_timeout_feed_mod How can i completely remove feeds from WordPress? A: The code you posted will do exactly what it says it will - prevent anyone from accessing your site via an RSS feed. Still there is tons of transient options.. like _transient_feed_mod or _transient_timeout_feed_mod These transient options have absolutely nothing to do with your site feed. The WordPress dashboard consumes several feeds by default and displays them in boxes on the admin dashboard. Plugins you install might add their own feeds, either for news displays or for updates. These transient values are used by WordPress to determine when these consumed feeds have been updated. How can i completely remove feeds from WordPress? The code you've posted already has ... A: First step: remove the feed links from the section of your site. <?php add_action( 'wp_head', 'wpse33072_wp_head', 1 ); /** * Remove feed links from wp_head */ function wpse33072_wp_head() { remove_action( 'wp_head', 'feed_links', 2 ); remove_action( 'wp_head', 'feed_links_extra', 3 ); } Next up, let's remove the feed endpoints from WP. Hook into init, globalize $wp_rewrite then set the feeds to an empty array. This effectively stops WordPress from adding feed rewrites. It's also super hackish and will probably break at some point in the future. <?php add_action( 'init', 'wpse33072_kill_feed_endpoint', 99 ); /** * Remove the `feed` endpoint */ function wpse33072_kill_feed_endpoint() { // This is extremely brittle. // $wp_rewrite->feeds is public right now, but later versions of WP // might change that global $wp_rewrite; $wp_rewrite->feeds = array(); } But, if it breaks, that's okay, because we'll redirect feeds to the home page. <?php foreach( array( 'rdf', 'rss', 'rss2', 'atom' ) as $feed ) { add_action( 'do_feed_' . $feed, 'wpse33072_remove_feeds', 1 ); } unset( $feed ); /** * prefect actions from firing on feeds when the `do_feed` function is * called */ function wpse33072_remove_feeds() { // redirect the feeds! don't just kill them wp_redirect( home_url(), 302 ); exit(); } And the last step: an activation hook to set our rewrite feeds to an empty array and flush the rewrite rules. <?php register_activation_hook( __FILE__, 'wpse33072_activation' ); /** * Activation hook */ function wpse33072_activation() { wpse33072_kill_feed_endpoint(); flush_rewrite_rules(); } All that as a plugin. A: This should do it /*disable rss*/ remove_action('wp_head', 'feed_links', 2 ); add_filter('post_comments_feed_link','bfr_disable_comments_feeds'); function bfr_disable_comments_feeds() { return null; } Better yet, if you have at least PHP 5.3 you can use a shorter version: /*disable rss, PHP 5.3+ */ remove_action('wp_head', 'feed_links', 2 ); add_filter('post_comments_feed_link',function () { return null;}); Removing rewrites, on the other hand, would take a lot longer, so unless you're totally nuts about performance you can leave them there.
wordpress
{ "language": "en", "length": 497, "provenance": "stackexchange_00019.jsonl.gz:414414", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33072" }
[ 0.10699462890625, 0.024078369140625, 0.0205841064453125, 0.0109710693359375, 0.04852294921875, -0.056671142578125, 0.09930419921875, -0.06427001953125, 0.00881195068359375, -0.0089569091796875, -0.0172576904296875, -0.040313720703125, -0.041900634765625, -0.032440185546875, -0.01447296142578125, -0.067626953125, 0.025360107421875, -0.01308441162109375, 0.030059814453125, -0.005229949951171875, -0.009765625, 0.00982666015625, 0.052154541015625, 0.01178741455078125, 0.0157928466796875, -0.0102996826171875, 0.07415771484375, -0.0211334228515625, 0.01509857177734375, -0.0238037109375, 0.0177764892578125, -0.00879669189453125, 0.0023746490478515625, 0.06439208984375, -0.06756591796875, -0.036468505859375, -0.0406494140625, 0.038238525390625, -0.0146942138671875, 0.034912109375, 0.0083160400390625, -0.0094146728515625, 0.0196075439453125, 0.00695037841796875, -0.00846099853515625, -0.0178680419921875, -0.002208709716796875, -0.050933837890625, -0.00600433349609375, 0.00946807861328125, 0.0179595947265625, 0.0152130126953125, 0.0274810791015625, -0.00835418701171875, -0.016448974609375, -0.038330078125, 0.0038776397705078125, 0.006374359130859375, 0.014068603515625, -0.007053375244140625, -0.00572967529296875, 0.0208740234375, 0.01220703125, 0.00994873046875, -0.002017974853515625, 0.00792694091796875, 0.004894256591796875, 0.022613525390625, -0.0283203125, 0.01070404052734375, 0.025909423828125, -0.03289794921875, 0.004322052001953125, -0.026123046875, 0.00888824462890625, 0.016448974609375, -0.01535797119140625, -0.008758544921875, 0.0019779205322265625, 0.00981903076171875, -0.004669189453125, -0.01137542724609375, -0.07073974609375, 0.0240631103515625, -0.0013980865478515625, 0.055755615234375, -0.004131317138671875, -0.0212554931640625, -0.037322998046875, -0.00009590387344360352, -0.028076171875, -0.011199951171875, -0.060943603515625, 0.00632476806640625, 0.0033245086669921875, -0.01519775390625, 0.033599853515625, 0.0174407958984375, -0.0022830963134765625, -0.022705078125, 0.00423431396484375, -0.0338134765625, -0.0303497314453125, -0.01092529296875, 0.00524139404296875, 0.03363037109375, -0.01666259765625, -0.0185546875, 0.032135009765625, 0.029388427734375, -0.0019445419311523438, -0.0008363723754882812, -0.005809783935546875, -0.0034122467041015625, -0.0289154052734375, -0.01517486572265625, -0.0618896484375, 0.015716552734375, -0.0091552734375, 0.00730133056640625, 0.0121612548828125, 0.035919189453125, -0.084228515625, 0.00921630859375, -0.019012451171875, -0.0333251953125, -0.02496337890625, 0.050445556640625, -0.03082275390625, -0.01132965087890625, -0.035308837890625, 0.0264892578125, 0.05499267578125, 0.047210693359375, 0.00862884521484375, -0.00623321533203125, 0.034027099609375, -0.0296630859375, 0.01091766357421875, 0.006580352783203125, 0.033294677734375, -0.031646728515625, -0.01183319091796875, 0.02056884765625, 0.0037841796875, 0.01995849609375, 0.0155487060546875, 0.007465362548828125, 0.01026153564453125, 0.005092620849609375, -0.0582275390625, 0.04302978515625, 0.045562744140625, 0.0240936279296875, 0.013336181640625, -0.031524658203125, 0.10400390625, -0.06781005859375, -0.0213623046875, -0.0894775390625, -0.0130767822265625, -0.015655517578125, 0.009246826171875, -0.0199432373046875, -0.01947021484375, 0.01132965087890625, -0.013671875, 0.01067352294921875, 0.0284576416015625, 0.0236358642578125, 0.002613067626953125, -0.055145263671875, 0.0218658447265625, 0.0228271484375, 0.004150390625, 0.0478515625, 0.00565338134765625, 0.0096435546875, 0.0279388427734375, -0.00858306884765625, -0.01702880859375, -0.04132080078125, 0.047943115234375, -0.0121307373046875, -0.07818603515625, 0.040496826171875, 0.01239776611328125, 0.064208984375, 0.018646240234375, 0.0092620849609375, 0.0810546875, -0.0011587142944335938, 0.0095672607421875, 0.0067291259765625, 0.0010528564453125, -0.05462646484375, -0.00237274169921875, -0.0183563232421875, -0.01360321044921875, 0.01367950439453125, 0.0218048095703125, 0.038604736328125, -0.050628662109375, 0.0093841552734375, -0.12457275390625, 0.0235748291015625, -0.0408935546875, 0.04742431640625, -0.016571044921875, 0.003360748291015625, 0.020111083984375, -0.0295562744140625, 0.0003437995910644531, -0.030059814453125, -0.027496337890625, -0.01099395751953125, -0.0242462158203125, 0.0025157928466796875, 0.00036644935607910156, 0.0230865478515625, -0.0036220550537109375, 0.00774383544921875, -0.005306243896484375, -0.0152435302734375, 0.0648193359375, -0.0260467529296875, -0.0062713623046875, -0.032562255859375, 0.042083740234375, -0.02716064453125, -0.0199737548828125, 0.04388427734375, -0.0092620849609375, -0.022674560546875, -0.01100921630859375, 0.021759033203125, 0.026763916015625, -0.049224853515625, -0.004878997802734375, 0.031341552734375, 0.0263214111328125, 0.00917816162109375, -0.00489044189453125, 0.0008325576782226562, 0.002960205078125, -0.059417724609375, 0.01009368896484375, -0.0006399154663085938, 0.036407470703125, 0.0679931640625, -0.0245361328125, 0.01120758056640625, 0.0197601318359375, -0.0141448974609375, -0.01480865478515625, 0.052520751953125, 0.006076812744140625, 0.00200653076171875, 0.034088134765625, -0.00989532470703125, 0.0099334716796875, 0.04931640625, -0.0191192626953125, 0.0257415771484375, 0.060546875, -0.0072174072265625, 0.054351806640625, 0.04254150390625, -0.0035762786865234375, -0.0177154541015625, -0.003498077392578125, -0.0198211669921875, -0.00910186767578125, 0.0379638671875, 0.0343017578125, -0.03619384765625, -0.00933074951171875, -0.00464630126953125, -0.0270843505859375, 0.00722503662109375, -0.006305694580078125, 0.059967041015625, 0.0091094970703125, -0.024017333984375, -0.00774383544921875, -0.028045654296875, -0.0303802490234375, -0.04852294921875, 0.0013599395751953125, 0.0282745361328125, 0.01885986328125, 0.0245361328125, -0.0162506103515625, 0.021942138671875, 0.062744140625, 0.004421234130859375, -0.023223876953125, -0.08563232421875, 0.0537109375, -0.0247344970703125, 0.034332275390625, 0.0926513671875, 0.0240631103515625, 0.00943756103515625, 0.01132965087890625, -0.01052093505859375, 0.0185546875, -0.033538818359375, -0.0214691162109375, 0.0380859375, -0.09320068359375, 0.008758544921875, -0.000055670738220214844, 0.006561279296875, -0.02752685546875, -0.045989990234375, -0.022308349609375, -0.0031414031982421875, -0.040252685546875, 0.00814056396484375, 0.0200958251953125, -0.007411956787109375, -0.0260162353515625, 0.0014743804931640625, -0.0142822265625, -0.006519317626953125, 0.01031494140625, -0.0012102127075195312, -0.022186279296875, -0.0167694091796875, -0.010528564453125, -0.005413055419921875, -0.016571044921875, 0.049102783203125, -0.001369476318359375, -0.0055999755859375, 0.01018524169921875, 0.041778564453125, 0.0213623046875, -0.0338134765625, 0.0266876220703125, 0.0252838134765625, -0.02667236328125, -0.012481689453125, -0.01397705078125, -0.0150909423828125, 0.0312042236328125, -0.015960693359375, 0.0413818359375, 0.033416748046875, 0.0002567768096923828, 0.006244659423828125, -0.037689208984375, -0.0312042236328125, 0.00469970703125, -0.02508544921875, 0.019378662109375, -0.0230560302734375, -0.00368499755859375, -0.04779052734375, 0.00739288330078125, -0.03521728515625, -0.037261962890625, -0.0006475448608398438, 0.03436279296875, 0.004703521728515625, -0.03387451171875, -0.0016698837280273438, -0.00926971435546875, 0.00791168212890625, 0.057220458984375, -0.01983642578125, -0.045745849609375, -0.0262451171875, -0.02435302734375, -0.01335906982421875, 0.005016326904296875, -0.0229644775390625, 0.03533935546875, -0.003936767578125, -0.005664825439453125, -0.0215606689453125, 0.005523681640625, -0.05035400390625, 0.00774383544921875, 0.023651123046875, -0.036773681640625, -0.0290374755859375, 0.003082275390625, 0.0100860595703125, -0.007747650146484375, 0.020416259765625, -0.0257110595703125, -0.024383544921875, -0.040496826171875, 0.02398681640625, -0.028106689453125, -0.07452392578125, 0.014984130859375, -0.0209197998046875, -0.06854248046875, 0.0316162109375, -0.0082550048828125, -0.0129547119140625, 0.006420135498046875, -0.061187744140625, -0.00804901123046875, -0.041900634765625, 0.0031490325927734375, -0.03271484375, -0.0095367431640625, -0.00592041015625, -0.022552490234375, -0.0292205810546875, 0.00020241737365722656, -0.041961669921875, -0.046234130859375, -0.00493621826171875, -0.026824951171875, 0.01045989990234375, 0.0386962890625, -0.022064208984375, -0.0002155303955078125, 0.0178070068359375, 0.004589080810546875, -0.000013530254364013672, 0.0224609375, -0.01593017578125, 0.0305023193359375, 0.057769775390625, 0.0391845703125, 0.00701141357421875, -0.0147705078125, -0.0069732666015625, -0.01177215576171875, 0.007366180419921875, -0.0224761962890625, 0.006107330322265625, -0.00930023193359375, -0.0288238525390625, -0.04388427734375, -0.05560302734375, -0.04779052734375, -0.0036716461181640625, -0.018157958984375, -0.0002987384796142578, -0.062255859375, -0.0635986328125, 0.029510498046875, -0.015380859375, -0.009124755859375, 0.0128326416015625, 0.0537109375, 0.0187225341796875, -0.0034637451171875, -0.004520416259765625, -0.0159912109375, 0.0140533447265625, -0.006015777587890625, 0.044830322265625, 0.008026123046875, -0.0089874267578125, 0.0650634765625, -0.021209716796875, 0.0022029876708984375, -0.06561279296875, 0.0994873046875, -0.0307464599609375, -0.002971649169921875, 0.0238800048828125, -0.064453125, 0.04425048828125, 0.00588226318359375, -0.00649261474609375, -0.01479339599609375, 0.0212249755859375, 0.031341552734375, -0.0123291015625, 0.0114593505859375, -0.03204345703125, -0.01483154296875, -0.000537872314453125, -0.037811279296875, 0.0227203369140625, 0.01318359375, -0.006778717041015625, 0.00942230224609375, 0.01971435546875, 0.00328826904296875, -0.025360107421875, -0.0033245086669921875, -0.031036376953125, 0.01953125, 0.0027027130126953125, -0.0174407958984375, -0.02960205078125, -0.0030002593994140625, 0.004634857177734375, -0.0269927978515625, -0.08154296875, -0.0098419189453125, 0.01349639892578125, 0.05914306640625, 0.06329345703125, 0.0219573974609375, 0.034210205078125, 0.017486572265625, -0.004856109619140625, -0.0112457275390625, -0.005733489990234375, -0.0032634735107421875, -0.046051025390625, -0.0098876953125, -0.0055084228515625, -0.0079193115234375, -0.01047515869140625, 0.07373046875, -0.016082763671875, 0.048614501953125, -0.021942138671875, 0.050750732421875, 0.05767822265625, -0.0012340545654296875, 0.0194854736328125, 0.0176544189453125, -0.01213836669921875, -0.0380859375, -0.006893157958984375, -0.042144775390625, -0.0175018310546875, 0.0390625, 0.034912109375, 0.006561279296875, -0.0303802490234375, -0.00798797607421875, -0.021209716796875, -0.017608642578125, 0.0467529296875, 0.0164031982421875, -0.0308990478515625, -0.02386474609375, -0.003620147705078125, 0.01377105712890625, 0.006927490234375, 0.00566864013671875, 0.017181396484375, 0.003910064697265625, 0.005523681640625, 0.059967041015625, -0.03509521484375, -0.006195068359375, 0.003925323486328125, -0.03912353515625, -0.0298614501953125, -0.00765228271484375, -0.0687255859375, -0.0184326171875, 0.0091705322265625, -0.0191192626953125, 0.0185089111328125, -0.0137481689453125, 0.0184173583984375, -0.048797607421875, 0.02490234375, -0.028411865234375, -0.0230712890625, 0.079345703125, 0.04595947265625, -0.056060791015625, -0.01055145263671875, -0.034912109375, -0.0445556640625, -0.072509765625, -0.049591064453125, -0.057891845703125, 0.0185699462890625, -0.02197265625, 0.0005283355712890625, -0.018646240234375, 0.051025390625, 0.020477294921875, 0.05609130859375, -0.0254669189453125, 0.042724609375, 0.009490966796875, 0.00040984153747558594, 0.0242919921875, 0.0447998046875, 0.0372314453125, 0.00506591796875, -0.0273590087890625, -0.05194091796875, 0.052581787109375, -0.0125579833984375, -0.06414794921875, -0.0302581787109375, -0.0457763671875, -0.018096923828125, 0.02862548828125, -0.028839111328125, -0.004352569580078125, -0.044677734375, -0.00022852420806884766, -0.0197906494140625, 0.046356201171875, -0.037628173828125, -0.00473785400390625, -0.0309906005859375, -0.01055145263671875, -0.031280517578125, -0.00827789306640625, -0.01456451416015625, 0.00751495361328125, 0.022064208984375, -0.01027679443359375, -0.00830078125, -0.040252685546875, 0.07550048828125, 0.09295654296875, -0.007965087890625, 0.046478271484375, 0.0283355712890625, 0.0029087066650390625, 0.00467681884765625, 0.0200653076171875, -0.02447509765625, -0.03594970703125, 0.0272216796875, 0.005893707275390625, -0.017242431640625, 0.00991058349609375, -0.02618408203125, -0.00791168212890625, 0.0112152099609375, 0.037841796875, -0.025726318359375, 0.005878448486328125, -0.00743865966796875, -0.0196685791015625, 0.031005859375, -0.030914306640625, 0.004596710205078125, -0.0523681640625, 0.0176849365234375, 0.030548095703125, -0.038482666015625, -0.017730712890625, -0.00400543212890625, -0.0135955810546875, 0.01334381103515625, 0.048919677734375, 0.0064697265625, -0.01534271240234375, -0.06280517578125, 0.01387786865234375, -0.026336669921875, -0.026123046875, -0.01082611083984375, 0.01537322998046875, -0.038848876953125, -0.08056640625, 0.00439453125, -0.005634307861328125, -0.00916290283203125, 0.045440673828125, 0.004489898681640625, 0.0006155967712402344, 0.0169677734375, -0.005298614501953125, 0.0125579833984375, -0.020050048828125, -0.035888671875, -0.04681396484375, -0.034759521484375, 0.0172119140625, 0.0249481201171875, -0.02313232421875, 0.027374267578125, -0.0228424072265625, -0.043792724609375, -0.01358795166015625, -0.0281829833984375, 0.06744384765625, -0.03924560546875, -0.00018596649169921875, 0.0145721435546875, 0.0279541015625, -0.006900787353515625, -0.016510009765625, 0.017333984375, -0.048431396484375, -0.01512908935546875, -0.0264739990234375, -0.03533935546875, 0.01885986328125, -0.032623291015625, -0.09698486328125, 0.1429443359375, -0.006511688232421875, 0.058074951171875, 0.018218994140625, 0.0418701171875, -0.041351318359375, 0.0077972412109375, -0.0316162109375, 0.04931640625, 0.01739501953125, 0.02923583984375, -0.007099151611328125, -0.001995086669921875, 0.014404296875, 0.00601959228515625, 0.059478759765625, 0.00719451904296875, 0.0210723876953125, -0.033905029296875, 0.022125244140625, 0.03570556640625, -0.022369384765625, -0.00391387939453125, -0.035552978515625, 0.0186004638671875, -0.01166534423828125, -0.0662841796875, 0.012237548828125, -0.011138916015625, -0.045318603515625, -0.013580322265625, 0.00554656982421875, -0.00391387939453125, 0.00958251953125, 0.0267333984375, -0.018157958984375, 0.00986480712890625, 0.006069183349609375, 0.00606536865234375, 0.0091400146484375, 0.017974853515625, 0.0030269622802734375, -0.03314208984375, -0.01441192626953125, -0.031005859375, 0.03857421875, -0.0121307373046875, 0.009979248046875, 0.061981201171875, 0.0231475830078125, 0.025146484375, -0.01953125, 0.019561767578125, -0.0183868408203125, -0.0174407958984375, 0.0107269287109375, 0.0213165283203125, 0.003887176513671875, -0.0587158203125, -0.041290283203125, 0.06195068359375, 0.046356201171875, -0.0040283203125, -0.050201416015625, 0.007328033447265625, -0.016571044921875, 0.0268707275390625, 0.003948211669921875, 0.031890869140625, -0.040191650390625, -0.0228118896484375, -0.005100250244140625, 0.0008673667907714844, 0.006633758544921875, 0.007061004638671875, 0.01027679443359375, 0.07904052734375, -0.03729248046875, -0.01091766357421875, 0.0011262893676757812, -0.01322174072265625, 0.00360870361328125, 0.0036563873291015625, 0.007587432861328125, 0.01137542724609375, 0.0014247894287109375, 0.0036144256591796875, -0.00604248046875, 0.033905029296875, -0.0101318359375, -0.0026645660400390625, -0.0278472900390625, -0.053436279296875, 0.0230560302734375, 0.040283203125, -0.01290130615234375, -0.0361328125, 0.033843994140625, 0.0306549072265625, -0.057647705078125, -0.03289794921875, 0.0265350341796875, -0.0240325927734375, -0.043365478515625, 0.00225830078125, -0.049102783203125, 0.0182647705078125, -0.018890380859375, 0.043792724609375, 0.0003905296325683594, 0.00469207763671875, -0.0201873779296875, 0.026397705078125, -0.0028553009033203125, -0.013580322265625, -0.0151519775390625, 0.00827789306640625, -0.00803375244140625, 0.01148223876953125, -0.08074951171875, -0.0299224853515625, -0.0286712646484375, 0.00959014892578125, 0.02935791015625, 0.02825927734375, -0.0140838623046875, 0.030548095703125, 0.002719879150390625, 0.0012302398681640625, -0.01267242431640625, -0.01251220703125, 0.004703521728515625, 0.0167388916015625, 0.0135040283203125, 0.01332855224609375, -0.0115966796875, -0.012725830078125, -0.00010579824447631836, 0.032684326171875, -0.00835418701171875, 0.0743408203125, -0.037322998046875, 0.0037212371826171875, -0.01396942138671875, -0.033782958984375, 0.0380859375, 0.01116180419921875, -0.032012939453125, 0.0229644775390625, -0.0027179718017578125, -0.0191802978515625, -0.031768798828125, 0.01342010498046875, 0.03741455078125, -0.020263671875, 0.0238800048828125, -0.0394287109375, 0.0251617431640625, -0.024688720703125, -0.036956787109375, -0.0491943359375, -0.020660400390625, -0.0172119140625, -0.01367950439453125, 0.007354736328125, -0.014312744140625, -0.0069580078125, 0.0244903564453125, 0.00916290283203125, 0.0244903564453125, 0.0010128021240234375, 0.03314208984375, -0.03509521484375, 0.0068359375, 0.0163726806640625, -0.0169525146484375, 0.00786590576171875, -0.01331329345703125, 0.0205078125, 0.0008692741394042969, 0.022064208984375, 0.00785064697265625, -0.0066375732421875, -0.002025604248046875, -0.01068878173828125, 0.013519287109375, -0.008148193359375, -0.006847381591796875, -0.01430511474609375, 0.00676727294921875, -0.00885009765625, -0.0034656524658203125, -0.021514892578125, -0.0166473388671875, -0.035247802734375, 0.007434844970703125, -0.02764892578125, -0.063720703125, -0.06884765625, 0.020050048828125, 0.036651611328125, -0.00786590576171875, -0.040496826171875, 0.0273590087890625, -0.042236328125, 0.047821044921875, -0.00678253173828125, -0.04864501953125, 0.01117706298828125, 0.06439208984375, 0.0025959014892578125, -0.05023193359375, -0.03350830078125, 0.0230255126953125, -0.057220458984375, -0.0010347366333007812, -0.0068359375, 0.0021572113037109375, 0.032562255859375, -0.0077667236328125, 0.004974365234375, 0.04644775390625, 0.003509521484375, -0.0176239013671875, -0.0028533935546875, -0.005237579345703125, 0.004688262939453125, -0.040435791015625, -0.005443572998046875, -0.052642822265625, -0.03607177734375, 0.00849151611328125, -0.019561767578125, -0.006664276123046875, -0.05255126953125, -0.0672607421875, 0.06707763671875, -0.0052337646484375, -0.029815673828125, -0.0239410400390625, 0.01910400390625, 0.013702392578125, -0.03289794921875, -0.004058837890625, 0.0002658367156982422, -0.0142669677734375, 0.01103973388671875, 0.0299072265625, 0.045745849609375, 0.003009796142578125, 0.02276611328125, 0.0203094482421875, 0.050689697265625, 0.02459716796875, 0.0175323486328125, -0.061248779296875, 0.019500732421875, 0.00249481201171875, 0.0249481201171875, -0.0299835205078125, 0.00435638427734375, 0.0306854248046875, 0.0288238525390625, -0.01201629638671875, -0.0084075927734375, -0.037933349609375, -0.0041046142578125, 0.090087890625, 0.0648193359375, 0.037261962890625, -0.03924560546875, -0.0113525390625, -0.0235137939453125, -0.0174713134765625, -0.040435791015625, 0.0173797607421875, -0.062164306640625, -0.0220489501953125, -0.01415252685546875, 0.0088348388671875, -0.023284912109375, -0.0625, -0.0540771484375, -0.0263671875, -0.0736083984375, 0.0155029296875, -0.0034942626953125, 0.0513916015625, -0.0172576904296875, -0.0100250244140625, 0.0101776123046875, -0.046295166015625, -0.00566864013671875, -0.0082855224609375, -0.0623779296875, -0.01270294189453125, -0.0263214111328125, -0.00006413459777832031, 0.043731689453125, -0.01114654541015625, 0.055694580078125, -0.029266357421875, -0.018341064453125, -0.003505706787109375, -0.00868988037109375, 0.024383544921875, -0.022216796875, -0.02447509765625, -0.011993408203125, -0.006961822509765625, -0.00988006591796875, 0.0020389556884765625, 0.0211944580078125, -0.0252838134765625, 0.043426513671875, -0.00372314453125, -0.0101318359375, 0.029937744140625, -0.0178985595703125, -0.00589752197265625, -0.0015354156494140625, -0.0030307769775390625, -0.06597900390625, 0.044891357421875, -0.0465087890625, 0.01453399658203125, 0.0263824462890625 ]
56475adfe1a09567e85321012f6c5b161a5af02f
Wordpress Stackexchange Q: How Do I Set the Page Title Dynamically? Is it possible to change the page title with code? For example, let's say the page's name is "Book your Order", but I want to change it to "Book Order #123". I Google'd a bit and looked here and didn't see anything. Anyone know of a plugin or hack? wp_title returns the page title but doesn't allow setting the page title: http://codex.wordpress.org/Function_Reference/wp_title A: For those wishing to change the document's title attribute, I found that using the wp_title filter no longer works. Instead, use the pre_get_document_title filter: add_filter("pre_get_document_title", "my_callback"); function my_callback($old_title){ return "My Modified Title"; } Source
Q: How Do I Set the Page Title Dynamically? Is it possible to change the page title with code? For example, let's say the page's name is "Book your Order", but I want to change it to "Book Order #123". I Google'd a bit and looked here and didn't see anything. Anyone know of a plugin or hack? wp_title returns the page title but doesn't allow setting the page title: http://codex.wordpress.org/Function_Reference/wp_title A: For those wishing to change the document's title attribute, I found that using the wp_title filter no longer works. Instead, use the pre_get_document_title filter: add_filter("pre_get_document_title", "my_callback"); function my_callback($old_title){ return "My Modified Title"; } Source A: When having Yoast enabled you need to override the title like so: add_filter('wpseo_title', 'custom_titles', 10, 1); function custom_titles() { global $wp; $current_slug = $wp->request; if ($current_slug == 'foobar') { return 'Foobar'; } } A: There is no documentation on it but you could always apply a filter to the_title like this: add_filter('the_title','some_callback'); function some_callback($data){ global $post; // where $data would be string(#) "current title" // Example: // (you would want to change $post->ID to however you are getting the book order #, // but you can see how it works this way with global $post;) return 'Book Order #' . $post->ID; } See these: http://codex.wordpress.org/Function_Reference/the_title http://codex.wordpress.org/Function_Reference/add_filter A: Really depends if you're looking to display a custom title for the current page (i.e. the contents of the <title></title> tag in the header) or filter the title of pages in the page body or in listings. In the former case (the title of the current page), try adding a filter for wp_title() like so: http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_title If you want to modify page titles across the board, filtering the_title() will do the trick: http://codex.wordpress.org/Plugin_API/Filter_Reference/the_title A: As of Wordpress 4.4, you can use the Wordpress filter document_title_parts to change the title. Add the following to functions.php: add_filter('document_title_parts', 'my_custom_title'); function my_custom_title( $title ) { // $title is an array of title parts, including one called `title` $title['title'] = 'My new title'; if (is_singular('post')) { $title['title'] = 'Fresh Post: ' . $title['title']; } return $title; } A: If you're using All In One Seo v4+, use this filter: add_filter( 'aioseo_title', 'aioseo_filter_title' ); function aioseo_filter_title( $title ) { if ( is_singular() ) { return $title . 'some additional title content here'; } return $title; } A: Actually the easiest way to do this is use one line of js. Put the following code in the template: <script>document.title = "<?php echo $new_title; ?>";</script> This code doesn't has to be in the html header, it can be put in the html body.
wordpress
{ "language": "en", "length": 429, "provenance": "stackexchange_00019.jsonl.gz:414424", "question_score": "27", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33101" }
[ -0.0028400421142578125, -0.0042572021484375, -0.016143798828125, 0.04229736328125, -0.0186309814453125, -0.0285797119140625, 0.0290069580078125, -0.040924072265625, 0.006786346435546875, 0.0107574462890625, -0.01145172119140625, 0.0008878707885742188, -0.024749755859375, -0.022918701171875, -0.0047149658203125, -0.04669189453125, 0.040435791015625, -0.004299163818359375, 0.034454345703125, 0.0011873245239257812, 0.0032291412353515625, 0.0143890380859375, 0.041168212890625, 0.03924560546875, 0.033935546875, -0.06475830078125, 0.07745361328125, -0.03289794921875, 0.0426025390625, -0.0189056396484375, 0.03411865234375, -0.0254364013671875, 0.0261383056640625, -0.0023746490478515625, 0.007595062255859375, 0.0307769775390625, 0.0285491943359375, -0.026153564453125, -0.0021038055419921875, 0.03692626953125, 0.045440673828125, -0.019439697265625, -0.01898193359375, 0.02655029296875, -0.00978851318359375, -0.06414794921875, 0.053863525390625, -0.039520263671875, 0.0233306884765625, -0.00760650634765625, -0.00536346435546875, 0.0237274169921875, -0.005802154541015625, -0.0010080337524414062, 0.00014662742614746094, 0.018402099609375, 0.0081939697265625, -0.0254364013671875, 0.0286102294921875, -0.0271148681640625, -0.009857177734375, -0.01192474365234375, 0.0333251953125, 0.01288604736328125, 0.0158538818359375, 0.004566192626953125, 0.002140045166015625, 0.01953125, 0.0083770751953125, 0.00904083251953125, 0.0015544891357421875, -0.01166534423828125, -0.0144195556640625, -0.037353515625, -0.0137939453125, 0.0133514404296875, -0.0162811279296875, -0.057861328125, 0.01146697998046875, -0.01091766357421875, 0.06158447265625, -0.0283660888671875, 0.0034198760986328125, -0.0110626220703125, 0.04278564453125, 0.02435302734375, 0.0187530517578125, -0.0145263671875, -0.034698486328125, -0.0148773193359375, -0.0240936279296875, 0.04278564453125, -0.04156494140625, -0.005870819091796875, -0.022857666015625, 0.0085601806640625, -0.00565338134765625, 0.0679931640625, -0.0295867919921875, 0.01004791259765625, -0.01041412353515625, -0.0071563720703125, -0.006744384765625, -0.0478515625, -0.022003173828125, -0.006763458251953125, 0.00392913818359375, 0.01006317138671875, 0.005741119384765625, 0.0236358642578125, -0.021820068359375, -0.0151824951171875, -0.0037021636962890625, -0.006908416748046875, -0.03948974609375, 0.0176239013671875, -0.0277557373046875, 0.003383636474609375, 0.0006475448608398438, 0.029876708984375, 0.0135498046875, 0.023895263671875, -0.00559234619140625, -0.0238037109375, 0.0239715576171875, 0.0107421875, -0.014129638671875, -0.0289764404296875, 0.01302337646484375, -0.0256805419921875, -0.0294342041015625, 0.01184844970703125, 0.059539794921875, 0.06292724609375, 0.038055419921875, 0.006092071533203125, 0.008270263671875, -0.01511383056640625, -0.0034942626953125, -0.014984130859375, 0.01248931884765625, 0.01806640625, 0.036651611328125, -0.027069091796875, -0.01253509521484375, 0.0123748779296875, 0.002696990966796875, 0.034515380859375, 0.0039520263671875, -0.044403076171875, 0.038482666015625, -0.0369873046875, 0.006275177001953125, 0.0134124755859375, 0.01561737060546875, -0.024322509765625, 0.0264434814453125, -0.023284912109375, 0.035003662109375, -0.014678955078125, 0.0229034423828125, -0.01020050048828125, -0.00780487060546875, 0.0166778564453125, -0.01453399658203125, 0.00431060791015625, -0.01207733154296875, -0.0107879638671875, 0.00931549072265625, -0.0144805908203125, 0.0021686553955078125, 0.02178955078125, -0.02081298828125, -0.003635406494140625, 0.017425537109375, 0.0077362060546875, -0.039947509765625, 0.0242156982421875, 0.0297698974609375, -0.001071929931640625, -0.00841522216796875, -0.0231475830078125, 0.041595458984375, 0.01319122314453125, -0.02972412109375, -0.041839599609375, 0.02593994140625, 0.0256195068359375, 0.0064697265625, 0.027252197265625, 0.04962158203125, -0.0207977294921875, -0.055084228515625, 0.007251739501953125, 0.0169677734375, 0.005374908447265625, -0.03753662109375, -0.0069732666015625, -0.006168365478515625, -0.0051422119140625, -0.006023406982421875, -0.008056640625, -0.00609588623046875, 0.0355224609375, 0.027984619140625, -0.02886962890625, 0.016265869140625, -0.00036525726318359375, 0.004474639892578125, 0.01456451416015625, -0.0019378662109375, -0.031463623046875, 0.00809478759765625, -0.01160430908203125, -0.0362548828125, -0.0286865234375, -0.0211181640625, -0.02392578125, -0.0048675537109375, -0.01117706298828125, 0.014801025390625, 0.01435089111328125, 0.00667572021484375, 0.031524658203125, 0.058624267578125, -0.0296478271484375, -0.01528167724609375, -0.051788330078125, 0.0618896484375, -0.018280029296875, -0.0270233154296875, 0.04461669921875, 0.01494598388671875, 0.0200653076171875, -0.0262603759765625, -0.03021240234375, -0.05987548828125, -0.09893798828125, 0.018646240234375, 0.08251953125, 0.04656982421875, -0.00982666015625, 0.005107879638671875, 0.019195556640625, 0.005802154541015625, -0.021484375, 0.0239715576171875, -0.0188446044921875, 0.00988006591796875, 0.041961669921875, 0.0052337646484375, -0.004344940185546875, 0.01253509521484375, -0.040802001953125, -0.0025539398193359375, 0.054229736328125, -0.004421234130859375, -0.00115203857421875, -0.0096893310546875, 0.006908416748046875, 0.0012798309326171875, -0.0249481201171875, -0.01073455810546875, -0.022979736328125, 0.03375244140625, 0.020477294921875, 0.024139404296875, 0.03662109375, -0.031890869140625, 0.017486572265625, 0.0116729736328125, -0.0182952880859375, 0.015289306640625, 0.0382080078125, 0.0111846923828125, 0.00975799560546875, -0.0132598876953125, -0.0236358642578125, 0.01385498046875, 0.017486572265625, -0.0169219970703125, 0.0214080810546875, -0.023101806640625, -0.016326904296875, -0.01800537109375, -0.061309814453125, -0.00006091594696044922, 0.00815582275390625, 0.0115814208984375, -0.023834228515625, -0.0078582763671875, 0.036285400390625, -0.02978515625, 0.056640625, -0.0271148681640625, -0.0222930908203125, 0.052398681640625, -0.03704833984375, 0.048309326171875, -0.03131103515625, 0.0628662109375, 0.06646728515625, -0.030029296875, 0.030517578125, 0.01092529296875, 0.00902557373046875, 0.029022216796875, -0.02386474609375, -0.0017194747924804688, 0.058868408203125, -0.09136962890625, 0.0173492431640625, 0.0163116455078125, 0.054412841796875, 0.002948760986328125, -0.048553466796875, 0.0048675537109375, 0.03564453125, -0.058929443359375, -0.056243896484375, 0.0266265869140625, -0.0191650390625, 0.00846099853515625, 0.0299224853515625, -0.005340576171875, -0.03192138671875, 0.06951904296875, -0.01529693603515625, 0.0631103515625, -0.038177490234375, -0.036285400390625, 0.0016956329345703125, -0.05389404296875, -0.00841522216796875, -0.0013370513916015625, -0.01727294921875, -0.01168060302734375, 0.026153564453125, -0.01468658447265625, -0.0406494140625, -0.03826904296875, 0.065185546875, 0.0170440673828125, -0.02349853515625, 0.0252532958984375, -0.04656982421875, 0.0181732177734375, -0.003292083740234375, -0.003910064697265625, 0.02508544921875, 0.0036449432373046875, -0.010162353515625, -0.01617431640625, 0.0374755859375, -0.00399017333984375, 0.0015573501586914062, 0.040618896484375, 0.040771484375, -0.0081939697265625, -0.031463623046875, -0.041412353515625, 0.0079498291015625, -0.035919189453125, -0.0071258544921875, 0.01528167724609375, 0.0043487548828125, -0.0120697021484375, 0.034393310546875, 0.01078033447265625, -0.016876220703125, 0.00850677490234375, -0.0168304443359375, -0.0025691986083984375, -0.003147125244140625, 0.0189208984375, -0.0238800048828125, 0.0616455078125, 0.0204315185546875, -0.008209228515625, 0.037811279296875, 0.034393310546875, -0.0002949237823486328, 0.005496978759765625, -0.031951904296875, -0.07781982421875, 0.041534423828125, -0.060546875, -0.002704620361328125, -0.03857421875, -0.0266571044921875, 0.01210784912109375, 0.1138916015625, -0.02166748046875, -0.02557373046875, 0.00614166259765625, 0.024078369140625, -0.04119873046875, -0.055877685546875, -0.022857666015625, -0.0180206298828125, -0.08489990234375, 0.0213623046875, -0.01416778564453125, -0.0002613067626953125, -0.0290679931640625, 0.0750732421875, -0.028045654296875, -0.031463623046875, 0.0258331298828125, -0.0046539306640625, -0.01482391357421875, 0.04595947265625, -0.04779052734375, 0.037506103515625, -0.03692626953125, 0.005794525146484375, -0.0706787109375, -0.011138916015625, 0.0007452964782714844, 0.055694580078125, 0.0101165771484375, -0.0384521484375, -0.0203094482421875, 0.04486083984375, 0.0506591796875, 0.068603515625, 0.0134429931640625, -0.031707763671875, 0.0267333984375, -0.0182342529296875, 0.0192413330078125, -0.031402587890625, 0.0168914794921875, 0.0103759765625, -0.033905029296875, 0.048248291015625, -0.0219268798828125, 0.030670166015625, 0.0134124755859375, -0.035797119140625, -0.07830810546875, -0.0435791015625, 0.0211181640625, 0.009490966796875, 0.0023708343505859375, 0.007598876953125, -0.041534423828125, -0.0465087890625, 0.05157470703125, -0.001468658447265625, 0.0014085769653320312, -0.0026912689208984375, 0.0654296875, 0.005931854248046875, -0.0301971435546875, -0.01317596435546875, 0.0186309814453125, 0.0295867919921875, -0.005268096923828125, 0.0163421630859375, -0.04827880859375, -0.041015625, 0.11602783203125, -0.0240020751953125, 0.007015228271484375, -0.00928497314453125, 0.01214599609375, -0.011199951171875, -0.046234130859375, 0.03924560546875, -0.0222015380859375, 0.00330352783203125, 0.014739990234375, -0.0102996826171875, 0.00275421142578125, 0.0132293701171875, 0.0150604248046875, -0.032257080078125, 0.0212860107421875, 0.0018434524536132812, -0.0322265625, 0.00799560546875, 0.0599365234375, -0.031890869140625, 0.00933074951171875, 0.01529693603515625, -0.03533935546875, -0.043426513671875, 0.0260162353515625, -0.035736083984375, -0.0350341796875, -0.0143890380859375, 0.045440673828125, -0.034759521484375, 0.0241546630859375, -0.004154205322265625, -0.01459503173828125, 0.06878662109375, -0.00846099853515625, -0.048858642578125, -0.0012216567993164062, -0.033782958984375, 0.02569580078125, 0.0212249755859375, 0.0018787384033203125, -0.01070404052734375, 0.03717041015625, 0.021453857421875, 0.01525115966796875, 0.009552001953125, 0.04046630859375, -0.006710052490234375, 0.047027587890625, 0.0234222412109375, 0.0127105712890625, 0.01314544677734375, 0.0958251953125, 0.026824951171875, 0.05810546875, -0.040924072265625, 0.054412841796875, 0.03436279296875, 0.0262451171875, -0.0085296630859375, 0.019561767578125, 0.0023441314697265625, 0.005626678466796875, -0.0155792236328125, -0.01995849609375, -0.01335906982421875, 0.03350830078125, 0.034393310546875, 0.0028057098388671875, 0.0016832351684570312, -0.0079803466796875, -0.02789306640625, -0.00612640380859375, -0.00445556640625, -0.032440185546875, -0.01384735107421875, -0.030975341796875, 0.01079559326171875, 0.051849365234375, 0.0041656494140625, 0.0175323486328125, -0.033966064453125, -0.034942626953125, -0.0174102783203125, -0.021392822265625, 0.0054779052734375, -0.0261383056640625, -0.0255279541015625, -0.0380859375, -0.0303955078125, -0.04486083984375, -0.027008056640625, -0.030670166015625, 0.01114654541015625, -0.0008869171142578125, 0.00809478759765625, -0.03424072265625, 0.074951171875, -0.032684326171875, -0.0282745361328125, -0.01157379150390625, 0.01506805419921875, 0.0338134765625, 0.040863037109375, -0.046905517578125, 0.01351165771484375, -0.06793212890625, -0.0028476715087890625, -0.054901123046875, -0.041748046875, -0.0310821533203125, -0.0018215179443359375, 0.0197906494140625, 0.0171661376953125, 0.005054473876953125, -0.006610870361328125, -0.005764007568359375, 0.01910400390625, 0.0194854736328125, 0.030303955078125, -0.0384521484375, 0.0194549560546875, 0.0555419921875, 0.03125, -0.0044708251953125, -0.031890869140625, -0.00807952880859375, -0.013153076171875, 0.0255889892578125, 0.01361083984375, -0.029815673828125, -0.03411865234375, -0.0189666748046875, -0.0147247314453125, 0.0655517578125, -0.0160675048828125, 0.0260467529296875, -0.0206298828125, -0.0004911422729492188, -0.01322174072265625, -0.00876617431640625, -0.02886962890625, -0.0325927734375, 0.0364990234375, -0.047943115234375, 0.0389404296875, 0.001926422119140625, 0.0151214599609375, 0.0274658203125, -0.06512451171875, 0.0350341796875, 0.06500244140625, -0.06884765625, 0.039093017578125, 0.056488037109375, 0.00412750244140625, 0.059356689453125, -0.018310546875, 0.0178985595703125, 0.06781005859375, 0.00812530517578125, 0.0028285980224609375, -0.0218048095703125, 0.070556640625, 0.0118255615234375, -0.0221405029296875, 0.0623779296875, -0.04150390625, 0.021209716796875, 0.0369873046875, 0.039764404296875, -0.09716796875, 0.03692626953125, -0.0013523101806640625, 0.0183258056640625, 0.08148193359375, 0.032623291015625, -0.00824737548828125, 0.022491455078125, 0.0133209228515625, -0.0290374755859375, 0.010009765625, 0.03228759765625, 0.0240325927734375, 0.00380706787109375, -0.020721435546875, 0.04376220703125, 0.019378662109375, -0.032928466796875, 0.0107421875, 0.01605224609375, 0.037353515625, -0.0202178955078125, -0.0018634796142578125, 0.048095703125, -0.027862548828125, -0.047576904296875, 0.05853271484375, -0.0228729248046875, 0.00396728515625, -0.025848388671875, 0.0307159423828125, -0.0125885009765625, 0.04345703125, -0.00046944618225097656, -0.0214996337890625, 0.038299560546875, -0.07000732421875, -0.007091522216796875, -0.01319122314453125, 0.036407470703125, -0.0224761962890625, -0.062408447265625, 0.0178375244140625, -0.0521240234375, -0.0217132568359375, -0.006397247314453125, -0.023895263671875, 0.037200927734375, 0.01497650146484375, -0.042266845703125, 0.0127716064453125, -0.029510498046875, 0.0021800994873046875, 0.022186279296875, 0.0172576904296875, -0.043487548828125, -0.0187835693359375, 0.01727294921875, -0.0297698974609375, -0.01071929931640625, 0.01328277587890625, -0.06744384765625, 0.0721435546875, -0.001842498779296875, 0.02239990234375, 0.00861358642578125, 0.02593994140625, -0.0200653076171875, -0.008697509765625, -0.030426025390625, 0.038360595703125, -0.017547607421875, 0.06085205078125, -0.001415252685546875, 0.00518035888671875, 0.04583740234375, 0.022125244140625, -0.006870269775390625, -0.0024356842041015625, -0.0060577392578125, -0.017578125, 0.0190887451171875, 0.06005859375, 0.021759033203125, -0.003360748291015625, -0.0281829833984375, 0.006160736083984375, -0.01155853271484375, -0.03448486328125, 0.0222015380859375, -0.04901123046875, -0.043792724609375, -0.0031604766845703125, 0.0264739990234375, 0.011138916015625, -0.002964019775390625, -0.00856781005859375, -0.054901123046875, 0.0014600753784179688, 0.03033447265625, 0.0357666015625, -0.0141754150390625, 0.051300048828125, 0.06658935546875, -0.049285888671875, -0.0312347412109375, -0.03204345703125, 0.056732177734375, 0.034759521484375, -0.012298583984375, -0.00605010986328125, -0.01195526123046875, -0.0201263427734375, 0.014129638671875, -0.0182342529296875, 0.0277099609375, 0.0293426513671875, 0.055419921875, 0.0023250579833984375, 0.02032470703125, -0.03997802734375, 0.0080718994140625, 0.0305633544921875, 0.06268310546875, -0.04541015625, 0.0300140380859375, 0.01727294921875, -0.01541900634765625, -0.01528167724609375, -0.0828857421875, -0.036529541015625, 0.0029735565185546875, -0.0021533966064453125, 0.00787353515625, 0.0204620361328125, 0.045806884765625, 0.01296234130859375, 0.0203094482421875, 0.052490234375, -0.0823974609375, 0.020050048828125, -0.036956787109375, 0.0108795166015625, 0.0079498291015625, 0.04742431640625, 0.0012845993041992188, 0.0572509765625, -0.0345458984375, -0.00836181640625, 0.0196533203125, 0.02301025390625, -0.00330352783203125, -0.01593017578125, -0.01318359375, -0.046173095703125, 0.0018033981323242188, 0.0246124267578125, 0.061614990234375, 0.03106689453125, 0.049041748046875, 0.01751708984375, 0.007526397705078125, 0.0078887939453125, -0.00818634033203125, -0.007415771484375, 0.021148681640625, 0.0158843994140625, -0.0043792724609375, 0.0030078887939453125, -0.018829345703125, -0.034393310546875, 0.07208251953125, -0.00621795654296875, -0.01235198974609375, 0.01145172119140625, 0.00408935546875, -0.03228759765625, 0.01934814453125, -0.00323486328125, 0.049468994140625, 0.014739990234375, -0.07794189453125, -0.00960540771484375, -0.041168212890625, -0.028778076171875, 0.0276031494140625, 0.039459228515625, -0.005123138427734375, 0.0154876708984375, -0.0234375, 0.01727294921875, 0.0384521484375, -0.045867919921875, -0.00795745849609375, 0.061004638671875, 0.036895751953125, 0.022308349609375, -0.0382080078125, -0.0142669677734375, -0.01018524169921875, 0.0151214599609375, 0.0194549560546875, 0.0254669189453125, 0.018310546875, 0.027374267578125, -0.01441192626953125, 0.00043845176696777344, -0.0142059326171875, -0.041229248046875, 0.06304931640625, -0.0128021240234375, -0.0272674560546875, -0.008575439453125, -0.042877197265625, 0.0286865234375, 0.004688262939453125, 0.004199981689453125, 0.02728271484375, -0.051177978515625, 0.020477294921875, 0.01195526123046875, 0.013671875, -0.01531219482421875, 0.00472259521484375, 0.01085662841796875, -0.01165008544921875, 0.0308074951171875, 0.017242431640625, -0.006549835205078125, 0.0242919921875, 0.020843505859375, 0.0144500732421875, 0.032196044921875, -0.0172271728515625, 0.05712890625, 0.038421630859375, -0.044281005859375, -0.02520751953125, 0.0246124267578125, -0.0098419189453125, 0.01291656494140625, 0.01311492919921875, 0.0538330078125, 0.01416778564453125, 0.01039886474609375, -0.03741455078125, -0.062408447265625, -0.0173492431640625, -0.03314208984375, -0.002288818359375, -0.04583740234375, 0.02227783203125, -0.032012939453125, -0.01471710205078125, -0.02685546875, -0.032806396484375, -0.005039215087890625, 0.0129241943359375, -0.01371002197265625, -0.01435089111328125, -0.0389404296875, -0.02447509765625, -0.000017344951629638672, -0.0113067626953125, -0.004756927490234375, -0.0059814453125, -0.0222625732421875, -0.011383056640625, -0.0123291015625, -0.03607177734375, 0.0176239013671875, 0.0274810791015625, -0.0501708984375, -0.022216796875, -0.048828125, -0.018768310546875, -0.0572509765625, 0.0008230209350585938, 0.0297698974609375, -0.0097808837890625, 0.0019426345825195312, -0.004161834716796875, 0.001617431640625, 0.03729248046875, -0.0232696533203125, -0.0137786865234375, 0.0255889892578125, 0.01224517822265625, -0.020111083984375, -0.08966064453125, 0.0026798248291015625, -0.0513916015625, 0.019683837890625, 0.039306640625, -0.02984619140625, -0.01470947265625, -0.0274810791015625, -0.0173492431640625, -0.006809234619140625, 0.039215087890625, -0.038421630859375, -0.0309906005859375, 0.0132293701171875, -0.025848388671875, 0.044464111328125, 0.0155029296875, -0.0400390625, 0.006256103515625, 0.0238494873046875, 0.018218994140625, 0.0726318359375, -0.0035114288330078125, 0.0288238525390625, -0.00423431396484375, 0.019866943359375, 0.0028858184814453125, 0.0271148681640625, 0.022308349609375, -0.0222015380859375, 0.0179595947265625, 0.00838470458984375, -0.062744140625, -0.03143310546875, -0.017242431640625, 0.0255889892578125, -0.0237884521484375, -0.03839111328125, -0.02154541015625, -0.0149993896484375, 0.07855224609375, 0.03594970703125, 0.01528167724609375, -0.032470703125, 0.019378662109375, -0.0019054412841796875, -0.04449462890625, 0.015899658203125, 0.005519866943359375, -0.0153350830078125, 0.00847625732421875, 0.0123748779296875, -0.045684814453125, 0.0018987655639648438, 0.0005102157592773438, -0.06378173828125, 0.0126953125, -0.02264404296875, -0.008392333984375, -0.027496337890625, -0.036102294921875, 0.0814208984375, -0.053985595703125, -0.03851318359375, 0.015350341796875, 0.03436279296875, 0.00525665283203125, -0.03973388671875, -0.00787353515625, 0.029998779296875, -0.038360595703125, -0.005443572998046875, -0.0018825531005859375, 0.020721435546875, -0.0164031982421875, -0.0023326873779296875, -0.028717041015625, 0.0474853515625, 0.0034332275390625, 0.03570556640625, -0.00530242919921875, 0.05572509765625, 0.038055419921875, 0.060302734375, 0.0286865234375, 0.0208587646484375, 0.007350921630859375, 0.046875, -0.01355743408203125, -0.037445068359375, -0.0084228515625, -0.059417724609375, -0.00542449951171875, -0.01128387451171875, 0.005374908447265625, -0.045623779296875, 0.01171875, -0.0181427001953125, 0.00749969482421875, 0.0234222412109375 ]
ee8cfaa9294a7e01451fb61808d5b0f2ceedb78e
Wordpress Stackexchange Q: What is the best way to enable nested shortcodes? Is this the best way to enable nested shortcodes?: add_filter( 'the_content', 'do_shortcode' ); I keep finding mixed results and want to be sure I won't break anything else! A: http://codex.wordpress.org/Shortcode_API#Nested_Shortcodes Everything you need to know about nested shortcodes in WP
Q: What is the best way to enable nested shortcodes? Is this the best way to enable nested shortcodes?: add_filter( 'the_content', 'do_shortcode' ); I keep finding mixed results and want to be sure I won't break anything else! A: http://codex.wordpress.org/Shortcode_API#Nested_Shortcodes Everything you need to know about nested shortcodes in WP A: Here's a specific answer, to avoid relying on the official WP docs in the other answer (which, it seems, don't really offer the explicit instructions anyway). Run do_shortcode() on the input Here is an example registration of a shortcode that supports nested shortcodes inside of it: function register_example_shortcode_with_nesting($atts, $text) { $output = do_shortcode($text); return $output; } add_shortcode('example_shortcode_with_nesting', 'register_example_shortcode_with_nesting'); You would use this like: [example_shortcode_with_nesting] [nested_shortcode] [other_nested_shortcode] [/example_shortcode_with_nesting] The key ingredient, of course, is running the $text content (that comes from between the opening and closing shortcode tag) through do_shortcode(). By default WP grabs the first shortcode it can see, then ignores any shortcodes inside that, so we need to tell it to "look again", and this code does the trick. Of course, the example above does nothing useful, you'll need to take action on the $output using $atts etcetera to make it do something. Warnings about nesting shortcodes with closing tags * *This does support having shortcodes inside that have closing tags, i.e. ones where there is $text content. *But it can go wrong if you have several of the same shortcode nested as siblings. *If you have the same shortcode several times, WP can get confused about which "opening" tag applies to which "closing" tag, and it will automatically apply the first instance to the first closing. So here's my rule of thumb: If a nested shortcode has a closing tag, it must either be first, the only of it's kind, or all of the matching nested shortcodes need to have closing tags. So an example like this won't give you what you expect: [example_shortcode_with_nesting] [nested_shortcode id=1] [nested_shortcode id=2][/nested_shortcode] [/example_shortcode_with_nesting] What happens? You get the first shortcode with id=1 rendered with the [/nested_shortcode] as its closing tag, and the id=2 shortcode as its unrendered content! Yikes! So like I said above, either avoid having the same shortcode multiple times, or make sure that ALL of them have both the opening and closing shortcodes!
wordpress
{ "language": "en", "length": 375, "provenance": "stackexchange_00019.jsonl.gz:414448", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33186" }
[ 0.0235595703125, -0.02001953125, 0.0193634033203125, -0.00652313232421875, -0.01453399658203125, -0.0240631103515625, 0.031341552734375, -0.01364898681640625, 0.0024127960205078125, 0.0283966064453125, -0.04736328125, -0.01206207275390625, -0.0077056884765625, 0.003780364990234375, -0.042510986328125, -0.058990478515625, 0.01544952392578125, -0.008758544921875, -0.006622314453125, -0.0273284912109375, 0.0027008056640625, -0.00997161865234375, -0.0276031494140625, 0.06011962890625, 0.0232086181640625, -0.0113372802734375, 0.0689697265625, -0.0452880859375, 0.0187530517578125, -0.030242919921875, 0.023406982421875, -0.0028400421142578125, 0.003261566162109375, 0.00537109375, 0.001377105712890625, 0.0287628173828125, -0.04095458984375, 0.0253143310546875, 0.0180816650390625, 0.019775390625, 0.0112457275390625, 0.00018215179443359375, 0.0406494140625, 0.029510498046875, 0.01195526123046875, -0.044219970703125, 0.017333984375, -0.0655517578125, -0.00007271766662597656, -0.0185394287109375, 0.044952392578125, -0.005218505859375, 0.0706787109375, -0.054229736328125, -0.01314544677734375, 0.0036029815673828125, 0.0281524658203125, -0.03411865234375, 0.05279541015625, -0.039276123046875, -0.048309326171875, -0.04217529296875, 0.0489501953125, -0.00844573974609375, 0.052703857421875, -0.01300811767578125, -0.0308685302734375, 0.039794921875, -0.0298004150390625, 0.07958984375, 0.04266357421875, -0.07763671875, -0.0178375244140625, -0.0135650634765625, 0.00720977783203125, 0.033050537109375, -0.03778076171875, 0.00013720989227294922, 0.052947998046875, -0.00266265869140625, 0.005260467529296875, 0.0031890869140625, -0.0186920166015625, -0.00615692138671875, -0.007472991943359375, 0.0084991455078125, -0.0060577392578125, -0.0004496574401855469, -0.0086669921875, 0.01690673828125, -0.0165252685546875, 0.0074310302734375, -0.0214996337890625, 0.04833984375, 0.0024566650390625, 0.006961822509765625, 0.0285491943359375, 0.032867431640625, -0.024810791015625, 0.006267547607421875, -0.0039215087890625, -0.0400390625, 0.0491943359375, -0.031524658203125, 0.010589599609375, -0.006195068359375, -0.01371002197265625, -0.02093505859375, 0.04693603515625, 0.04315185546875, -0.0284271240234375, 0.048614501953125, 0.00902557373046875, -0.032257080078125, -0.00481414794921875, -0.00092315673828125, -0.046600341796875, 0.0703125, 0.026641845703125, 0.048980712890625, 0.0177764892578125, 0.0278167724609375, -0.00811004638671875, -0.01476287841796875, -0.02734375, -0.018341064453125, -0.007526397705078125, -0.0379638671875, 0.031097412109375, -0.01482391357421875, -0.039459228515625, 0.0166473388671875, 0.06536865234375, 0.0199432373046875, 0.01045989990234375, -0.020172119140625, 0.005413055419921875, -0.00672149658203125, 0.0203399658203125, -0.00809478759765625, 0.0226898193359375, -0.01102447509765625, 0.0158843994140625, 0.0201416015625, -0.00765228271484375, 0.0248565673828125, 0.029998779296875, 0.0092620849609375, -0.017822265625, -0.06768798828125, 0.01262664794921875, 0.0020923614501953125, 0.03814697265625, -0.009979248046875, 0.00240325927734375, -0.0272674560546875, 0.038665771484375, -0.033843994140625, -0.01367950439453125, -0.048492431640625, -0.006092071533203125, 0.004360198974609375, 0.03924560546875, -0.032073974609375, -0.0460205078125, 0.008087158203125, -0.035919189453125, -0.0117645263671875, 0.013580322265625, 0.0281219482421875, 0.010894775390625, -0.025390625, -0.0841064453125, -0.0088958740234375, 0.0070648193359375, 0.0014276504516601562, 0.00614166259765625, 0.014251708984375, 0.0189666748046875, -0.00826263427734375, -0.0198974609375, -0.0467529296875, 0.044952392578125, -0.0003070831298828125, -0.05059814453125, 0.0236663818359375, 0.0338134765625, 0.107421875, -0.000025391578674316406, 0.0306854248046875, 0.01544952392578125, -0.00914764404296875, -0.040802001953125, 0.00782012939453125, 0.006336212158203125, -0.027252197265625, -0.043975830078125, -0.013702392578125, -0.0102386474609375, 0.01244354248046875, -0.0236053466796875, -0.01263427734375, 0.01812744140625, 0.0157928466796875, 0.01702880859375, -0.005584716796875, -0.005550384521484375, 0.0176544189453125, -0.007793426513671875, -0.06964111328125, 0.0015783309936523438, -0.07574462890625, 0.031890869140625, -0.021026611328125, -0.03826904296875, 0.0391845703125, -0.026519775390625, 0.002941131591796875, 0.01132965087890625, -0.0047454833984375, 0.046661376953125, 0.0085296630859375, 0.0253753662109375, 0.019287109375, 0.05548095703125, -0.041229248046875, 0.00525665283203125, -0.03662109375, 0.0131683349609375, 0.0229339599609375, -0.0875244140625, 0.010650634765625, 0.01450347900390625, 0.00760650634765625, -0.03662109375, 0.0005507469177246094, -0.020477294921875, -0.026580810546875, -0.0213775634765625, 0.047271728515625, 0.0282440185546875, 0.062347412109375, 0.0118865966796875, 0.007434844970703125, 0.0721435546875, -0.00882720947265625, 0.0177154541015625, -0.00162506103515625, 0.006252288818359375, 0.04852294921875, 0.00868988037109375, -0.0037708282470703125, 0.0016450881958007812, -0.02081298828125, -0.00969696044921875, 0.019866943359375, -0.05072021484375, -0.02032470703125, 0.0304412841796875, -0.026885986328125, 0.01111602783203125, -0.046661376953125, -0.0009832382202148438, -0.036285400390625, 0.0202789306640625, 0.01412200927734375, 0.0399169921875, 0.04266357421875, 0.01041412353515625, 0.001804351806640625, -0.01222991943359375, -0.0626220703125, -0.0007958412170410156, 0.06207275390625, 0.047210693359375, -0.007053375244140625, -0.0379638671875, -0.0234832763671875, 0.02520751953125, 0.036285400390625, -0.00534820556640625, 0.032867431640625, -0.0295562744140625, -0.01039886474609375, 0.0084075927734375, -0.01505279541015625, -0.006961822509765625, 0.0022029876708984375, -0.00518035888671875, 0.0048980712890625, 0.02099609375, 0.0665283203125, 0.005863189697265625, 0.0150909423828125, 0.0131988525390625, 0.011260986328125, 0.031646728515625, -0.029083251953125, 0.046417236328125, -0.035919189453125, -0.01383209228515625, 0.0501708984375, -0.02276611328125, 0.007564544677734375, 0.00521087646484375, 0.024169921875, 0.0340576171875, -0.0243072509765625, -0.01403045654296875, 0.0207061767578125, -0.061126708984375, 0.00893402099609375, 0.0300750732421875, 0.084228515625, 0.0104827880859375, -0.039642333984375, 0.014068603515625, 0.05108642578125, -0.0023651123046875, -0.036651611328125, -0.0195770263671875, -0.04058837890625, -0.01406097412109375, 0.005245208740234375, -0.0241546630859375, 0.0017080307006835938, 0.01433563232421875, -0.0028285980224609375, -0.003070831298828125, -0.0343017578125, -0.03863525390625, -0.0416259765625, -0.05157470703125, 0.0064697265625, 0.001201629638671875, 0.01433563232421875, 0.010986328125, 0.0166473388671875, 0.0084686279296875, -0.0310211181640625, 0.0204925537109375, -0.0284271240234375, -0.018829345703125, 0.005084991455078125, 0.010711669921875, 0.0033664703369140625, 0.007747650146484375, 0.0133209228515625, -0.06805419921875, 0.017242431640625, -0.00992584228515625, -0.043121337890625, -0.01849365234375, 0.00046944618225097656, 0.01203155517578125, -0.0142974853515625, 0.0107574462890625, 0.0321044921875, 0.029266357421875, -0.012481689453125, -0.004459381103515625, -0.018035888671875, -0.047698974609375, -0.0019350051879882812, 0.0187530517578125, 0.00859832763671875, -0.00449371337890625, -0.0065460205078125, 0.002010345458984375, -0.00024819374084472656, 0.05535888671875, -0.02587890625, 0.01153564453125, -0.0178680419921875, -0.0160369873046875, -0.0396728515625, 0.0151824951171875, -0.0129852294921875, -0.01168060302734375, -0.0074615478515625, 0.0186767578125, -0.01059722900390625, 0.007045745849609375, -0.0452880859375, -0.049346923828125, 0.07269287109375, 0.0025577545166015625, 0.016082763671875, -0.074462890625, -0.050811767578125, -0.046295166015625, 0.11065673828125, -0.055816650390625, -0.0011749267578125, 0.021942138671875, 0.00739288330078125, -0.0163421630859375, -0.0277862548828125, -0.07855224609375, -0.0113067626953125, -0.0176239013671875, 0.0141143798828125, -0.0094146728515625, -0.002162933349609375, -0.023895263671875, -0.0489501953125, -0.008331298828125, -0.01451873779296875, 0.0374755859375, -0.01448822021484375, 0.005702972412109375, 0.040191650390625, -0.02056884765625, 0.013427734375, -0.035247802734375, -0.002254486083984375, -0.0867919921875, -0.014404296875, -0.02667236328125, 0.0458984375, 0.05584716796875, -0.1044921875, 0.01038360595703125, 0.035247802734375, -0.0190887451171875, 0.02972412109375, -0.01030731201171875, 0.0121917724609375, 0.0262603759765625, 0.031951904296875, 0.004486083984375, -0.0016946792602539062, -0.018157958984375, 0.0169677734375, 0.00029349327087402344, 0.0394287109375, -0.035736083984375, -0.024688720703125, 0.0076904296875, -0.0221099853515625, -0.049560546875, -0.04095458984375, -0.07635498046875, 0.0012807846069335938, -0.06463623046875, 0.0156707763671875, -0.035919189453125, -0.08441162109375, 0.07537841796875, 0.046905517578125, -0.0259552001953125, -0.0151214599609375, 0.04296875, 0.00978851318359375, -0.051544189453125, -0.0606689453125, 0.0119171142578125, 0.048309326171875, -0.0309295654296875, 0.05059814453125, 0.0318603515625, -0.00872802734375, 0.0643310546875, 0.006069183349609375, 0.0106201171875, -0.0267791748046875, 0.08074951171875, 0.0218353271484375, 0.0239715576171875, 0.01024627685546875, 0.01483917236328125, 0.0028820037841796875, 0.022613525390625, -0.0168609619140625, -0.007205963134765625, -0.0290985107421875, 0.044891357421875, -0.006427764892578125, -0.004657745361328125, -0.066650390625, -0.031890869140625, 0.002140045166015625, 0.0298614501953125, 0.0254058837890625, 0.0133056640625, 0.0088958740234375, 0.006137847900390625, 0.0352783203125, 0.0198211669921875, -0.026397705078125, 0.0181427001953125, -0.0282135009765625, 0.06256103515625, -0.051422119140625, -0.004833221435546875, -0.0288848876953125, -0.008636474609375, 0.08636474609375, 0.00482940673828125, -0.030670166015625, -0.03436279296875, -0.00739288330078125, 0.0164642333984375, 0.01355743408203125, 0.0307769775390625, 0.036163330078125, 0.0194854736328125, 0.01403045654296875, -0.002498626708984375, -0.015228271484375, 0.028564453125, -0.03643798828125, -0.0205841064453125, -0.0214691162109375, -0.0166015625, -0.01175689697265625, 0.032440185546875, -0.07733154296875, 0.0308685302734375, 0.022247314453125, -0.003055572509765625, 0.0082855224609375, -0.018890380859375, 0.03759765625, 0.01061248779296875, 0.001758575439453125, -0.05999755859375, 0.0219879150390625, -0.053955078125, -0.05743408203125, 0.041534423828125, 0.06048583984375, -0.032440185546875, 0.0032596588134765625, 0.01465606689453125, 0.01026153564453125, -0.01116943359375, -0.001041412353515625, 0.029266357421875, 0.005062103271484375, -0.004474639892578125, 0.0120697021484375, -0.0011014938354492188, 0.0263824462890625, -0.0195159912109375, -0.01103973388671875, -0.059234619140625, -0.01494598388671875, -0.001331329345703125, -0.0279998779296875, -0.008453369140625, -0.01201629638671875, 0.022796630859375, -0.0176544189453125, -0.018646240234375, -0.053314208984375, -0.01898193359375, -0.005039215087890625, 0.018096923828125, 0.03643798828125, -0.005458831787109375, 0.034820556640625, -0.016510009765625, -0.005889892578125, 0.033660888671875, 0.01245880126953125, 0.0179443359375, -0.008453369140625, -0.06658935546875, 0.01300811767578125, -0.045623779296875, 0.0006270408630371094, -0.03033447265625, -0.03173828125, -0.055206298828125, -0.00945281982421875, -0.0137481689453125, 0.0106964111328125, -0.029266357421875, -0.023712158203125, -0.0009517669677734375, 0.0179595947265625, -0.0034503936767578125, 0.01806640625, 0.005420684814453125, 0.052093505859375, -0.0197601318359375, 0.07049560546875, 0.028167724609375, 0.021392822265625, -0.025634765625, -0.041168212890625, 0.040557861328125, -0.033416748046875, -0.0689697265625, -0.02655029296875, -0.0275115966796875, 0.01407623291015625, 0.01947021484375, -0.02069091796875, 0.0247955322265625, -0.031036376953125, -0.006359100341796875, -0.01262664794921875, 0.0131378173828125, -0.0499267578125, -0.01374053955078125, 0.0239410400390625, 0.00711822509765625, 0.006549835205078125, -0.0269622802734375, -0.052032470703125, 0.033660888671875, 0.0093841552734375, 0.0243072509765625, -0.01458740234375, -0.027679443359375, 0.048828125, 0.0300445556640625, -0.0174102783203125, 0.011566162109375, 0.042266845703125, -0.0002002716064453125, -0.0222015380859375, 0.027801513671875, 0.00229644775390625, -0.0272674560546875, 0.025177001953125, -0.005275726318359375, -0.01480865478515625, 0.0102691650390625, -0.0256500244140625, 0.015716552734375, 0.037872314453125, 0.043914794921875, -0.06451416015625, 0.01284027099609375, 0.017791748046875, -0.0262908935546875, 0.01305389404296875, -0.005931854248046875, 0.01232147216796875, 0.0253143310546875, 0.0633544921875, -0.021331787109375, 0.00286102294921875, 0.032745361328125, -0.0205078125, 0.0033111572265625, -0.0172882080078125, 0.033203125, 0.01473236083984375, 0.00794219970703125, 0.0034961700439453125, -0.006103515625, 0.060089111328125, -0.01247406005859375, 0.03118896484375, -0.0234527587890625, -0.02203369140625, -0.0211181640625, 0.010406494140625, 0.0187835693359375, -0.022064208984375, -0.0310211181640625, -0.04949951171875, -0.00931549072265625, 0.052154541015625, -0.06427001953125, 0.050933837890625, 0.0254058837890625, -0.01215362548828125, 0.054046630859375, -0.01290130615234375, -0.0023040771484375, 0.025665283203125, -0.05316162109375, -0.01100921630859375, -0.0196533203125, 0.01404571533203125, -0.0184783935546875, -0.03753662109375, 0.04962158203125, -0.02801513671875, -0.00925445556640625, 0.01377105712890625, 0.031768798828125, -0.0090179443359375, -0.032012939453125, 0.01373291015625, -0.04913330078125, -0.0167083740234375, -0.016815185546875, -0.0060272216796875, 0.005466461181640625, -0.03265380859375, -0.029022216796875, 0.0860595703125, -0.0269927978515625, 0.005489349365234375, 0.024749755859375, 0.0499267578125, -0.0247039794921875, 0.00949859619140625, -0.020843505859375, 0.04632568359375, -0.01087188720703125, 0.039337158203125, -0.0158538818359375, 0.003253936767578125, 0.021942138671875, 0.0305938720703125, 0.0199737548828125, 0.0100860595703125, -0.0276031494140625, -0.0167083740234375, 0.034637451171875, 0.028411865234375, 0.009246826171875, 0.03533935546875, -0.005992889404296875, 0.004634857177734375, 0.00970458984375, -0.0164642333984375, 0.0243988037109375, -0.0093231201171875, -0.0217742919921875, 0.0352783203125, 0.0144500732421875, 0.016204833984375, 0.01320648193359375, -0.004791259765625, -0.002727508544921875, 0.01050567626953125, 0.0105133056640625, -0.05401611328125, -0.0338134765625, 0.049713134765625, -0.0340576171875, -0.01690673828125, -0.03497314453125, -0.034637451171875, 0.0185699462890625, -0.0222015380859375, 0.05120849609375, 0.0704345703125, 0.0309906005859375, 0.023223876953125, 0.00795745849609375, 0.054962158203125, 0.01074981689453125, -0.029632568359375, -0.00923919677734375, -0.0236358642578125, 0.013092041015625, -0.06866455078125, -0.01120758056640625, 0.019378662109375, 0.00241851806640625, -0.00894927978515625, -0.038543701171875, 0.019012451171875, 0.0280609130859375, -0.0101776123046875, 0.00046634674072265625, -0.01030731201171875, 0.01491546630859375, 0.0548095703125, -0.04217529296875, -0.03887939453125, 0.01458740234375, 0.037384033203125, 0.0114288330078125, 0.0010128021240234375, -0.00371551513671875, -0.0377197265625, -0.0083160400390625, -0.0245208740234375, -0.00415802001953125, 0.0687255859375, 0.0213623046875, 0.056182861328125, -0.07196044921875, -0.04449462890625, 0.02142333984375, 0.0189361572265625, 0.008209228515625, -0.0113372802734375, -0.01209259033203125, -0.045684814453125, 0.0023632049560546875, 0.035797119140625, 0.02880859375, 0.036895751953125, 0.054443359375, 0.0396728515625, -0.00479888916015625, 0.00319671630859375, 0.04132080078125, -0.0227203369140625, 0.036651611328125, -0.053375244140625, 0.0076904296875, -0.0012426376342773438, -0.01259613037109375, -0.01019287109375, -0.0263519287109375, 0.05096435546875, 0.038177490234375, 0.0293731689453125, 0.01410675048828125, 0.0194549560546875, 0.0216064453125, -0.0059967041015625, 0.0173187255859375, 0.04180908203125, -0.056396484375, -0.0087890625, -0.0000311732292175293, -0.0703125, 0.04437255859375, 0.058868408203125, 0.0009636878967285156, -0.0236663818359375, 0.006511688232421875, -0.031494140625, 0.0013856887817382812, 0.042694091796875, -0.006072998046875, 0.01088714599609375, 0.01531219482421875, -0.024261474609375, -0.0567626953125, -0.01534271240234375, -0.04315185546875, 0.0170745849609375, 0.06182861328125, 0.01184844970703125, 0.0261383056640625, 0.05792236328125, 0.022308349609375, -0.0106964111328125, 0.016571044921875, 0.0207977294921875, -0.01197052001953125, -0.01450347900390625, -0.00859832763671875, -0.0101776123046875, -0.0020599365234375, 0.0352783203125, 0.018280029296875, -0.01204681396484375, 0.033233642578125, -0.0178680419921875, 0.0048675537109375, -0.0150299072265625, 0.0295562744140625, -0.040863037109375, -0.0330810546875, -0.03936767578125, 0.0015106201171875, 0.0010137557983398438, -0.01320648193359375, -0.002170562744140625, -0.02587890625, 0.05914306640625, -0.014007568359375, 0.01140594482421875, 0.0443115234375, 0.01470184326171875, 0.0213623046875, 0.00742340087890625, 0.01214599609375, -0.00826263427734375, -0.0303955078125, 0.03887939453125, -0.01080322265625, -0.02655029296875, 0.01800537109375, -0.08270263671875, 0.0156097412109375, 0.055999755859375, 0.04791259765625, -0.013092041015625, 0.017303466796875, 0.0305633544921875, -0.0231475830078125, 0.032806396484375, 0.0293121337890625, -0.0138397216796875, -0.02288818359375, 0.002872467041015625, 0.0051727294921875, 0.021759033203125, -0.006641387939453125, -0.00975799560546875, -0.02081298828125, 0.04180908203125, 0.0048675537109375, -0.03558349609375, -0.016082763671875, 0.00655364990234375, 0.042205810546875, 0.0182342529296875, 0.0182952880859375, -0.01558685302734375, -0.01367950439453125, -0.031402587890625, 0.0030269622802734375, -0.03741455078125, 0.01172637939453125, -0.003368377685546875, 0.0248565673828125, 0.04779052734375, -0.037567138671875, 0.020782470703125, 0.05609130859375, 0.041259765625, 0.0992431640625, 0.0029125213623046875, -0.01334381103515625, -0.005706787109375, -0.0078277587890625, -0.01065826416015625, 0.00395965576171875, 0.031158447265625, -0.056884765625, -0.049224853515625, -0.043212890625, 0.033660888671875, 0.04083251953125, -0.035919189453125, -0.1044921875, 0.07373046875, -0.047149658203125, -0.02679443359375, -0.05426025390625, -0.008026123046875, 0.0100250244140625, -0.0096282958984375, -0.0236663818359375, -0.01273345947265625, -0.046051025390625, 0.01441192626953125, 0.006244659423828125, 0.056060791015625, -0.004863739013671875, -0.003932952880859375, 0.0267181396484375, 0.0391845703125, 0.02783203125, 0.01354217529296875, -0.0038661956787109375, -0.0157012939453125, 0.025177001953125, 0.0276031494140625, -0.046142578125, -0.012542724609375, 0.0098724365234375, 0.01323699951171875, 0.0026950836181640625, -0.052581787109375, 0.02093505859375, -0.01419830322265625, 0.03277587890625, -0.0288848876953125, 0.0028934478759765625, -0.01334381103515625, 0.0147552490234375, -0.01386260986328125, -0.0002453327178955078, 0.024139404296875, -0.0147247314453125, 0.0153045654296875, 0.0290985107421875, -0.0298919677734375, 0.0022430419921875, -0.0156402587890625, -0.034576416015625, -0.0159149169921875, -0.0213165283203125, -0.00812530517578125, 0.01357269287109375, -0.0201568603515625, 0.01190948486328125, 0.01404571533203125, -0.035003662109375, -0.007358551025390625, -0.0103912353515625, 0.0113677978515625, -0.020965576171875, -0.0306854248046875, 0.00116729736328125, 0.0479736328125, -0.0147247314453125, -0.0006213188171386719, 0.034027099609375, 0.014495849609375, 0.00971221923828125, 0.01326751708984375, 0.0028018951416015625, 0.04510498046875, 0.005962371826171875, 0.053253173828125, -0.034912109375, 0.0625, 0.0167694091796875, 0.0015735626220703125, -0.0257568359375, 0.1134033203125, -0.0159149169921875, 0.0528564453125, -0.0152435302734375, 0.00011134147644042969, 0.015472412109375, -0.0124359130859375, 0.016754150390625, 0.0301971435546875, 0.03082275390625, -0.019744873046875, 0.026458740234375, -0.0198974609375, 0.0285491943359375, 0.00696563720703125 ]
1753a6c422ca118ea48dae24ef83e8344698b520
Wordpress Stackexchange Q: Getting post meta data, while editing a post in wp-admin panel is there any chance of getting post meta data while editing post in wp-admin? For example - $price = get_post_meta($post->ID, 'price', true); isn't working, and it won't return post meta data, while editing post. I tried entering value and saving everything, but still it returned nothing.
Q: Getting post meta data, while editing a post in wp-admin panel is there any chance of getting post meta data while editing post in wp-admin? For example - $price = get_post_meta($post->ID, 'price', true); isn't working, and it won't return post meta data, while editing post. I tried entering value and saving everything, but still it returned nothing.
wordpress
{ "language": "en", "length": 58, "provenance": "stackexchange_00019.jsonl.gz:414449", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33190" }
[ -0.0206298828125, -0.004180908203125, -0.006992340087890625, 0.033935546875, -0.0160064697265625, -0.01715087890625, 0.04315185546875, -0.0384521484375, 0.025390625, 0.0323486328125, -0.01284027099609375, -0.03802490234375, 0.021240234375, -0.03692626953125, -0.03216552734375, -0.01377105712890625, 0.0189971923828125, 0.01093292236328125, 0.026947021484375, 0.00974273681640625, -0.0172119140625, 0.02044677734375, 0.01074981689453125, -0.0263671875, 0.0306243896484375, -0.010406494140625, 0.004123687744140625, -0.00992584228515625, 0.02178955078125, -0.0099945068359375, 0.0195770263671875, -0.0031337738037109375, 0.0126953125, -0.004398345947265625, 0.03515625, 0.006732940673828125, -0.00372314453125, 0.006519317626953125, 0.046478271484375, -0.032623291015625, 0.0241546630859375, -0.017974853515625, -0.0245819091796875, 0.03216552734375, -0.043426513671875, -0.0012035369873046875, -0.01617431640625, -0.023284912109375, 0.0303497314453125, 0.023895263671875, -0.0105438232421875, 0.0137939453125, -0.01059722900390625, 0.00026488304138183594, -0.0087738037109375, -0.044281005859375, -0.01129913330078125, -0.00534820556640625, 0.048126220703125, -0.036346435546875, -0.055938720703125, -0.05255126953125, 0.037353515625, -0.0228424072265625, -0.0079803466796875, -0.004840850830078125, -0.00365447998046875, 0.006473541259765625, -0.04461669921875, 0.0224761962890625, 0.0455322265625, -0.038818359375, -0.0019969940185546875, -0.002033233642578125, 0.020660400390625, -0.0660400390625, 0.03057861328125, -0.031341552734375, -0.024627685546875, 0.0479736328125, 0.0258331298828125, 0.0087127685546875, 0.007595062255859375, -0.015594482421875, -0.002742767333984375, -0.015960693359375, -0.0118560791015625, -0.00936126708984375, -0.0124664306640625, -0.053131103515625, -0.00769805908203125, -0.059112548828125, -0.039520263671875, 0.01177978515625, -0.0167083740234375, -0.03179931640625, -0.0005998611450195312, 0.037200927734375, -0.001644134521484375, 0.0168914794921875, -0.03277587890625, -0.016082763671875, 0.00027871131896972656, -0.037750244140625, 0.005168914794921875, -0.020904541015625, -0.021728515625, 0.015777587890625, 0.0555419921875, 0.055877685546875, -0.0164794921875, 0.025146484375, -0.0170440673828125, -0.048553466796875, -0.00974273681640625, 0.06317138671875, 0.0071258544921875, -0.0076751708984375, 0.016815185546875, 0.0011739730834960938, 0.00342559814453125, 0.01357269287109375, 0.0250701904296875, -0.032958984375, 0.009552001953125, 0.0102386474609375, -0.040191650390625, -0.0177459716796875, -0.0167083740234375, 0.020477294921875, -0.031494140625, 0.00955963134765625, 0.0677490234375, 0.03350830078125, 0.00853729248046875, -0.02587890625, -0.0255584716796875, -0.038421630859375, -0.017852783203125, 0.006816864013671875, -0.026611328125, -0.035247802734375, 0.01503753662109375, -0.032318115234375, -0.0199737548828125, 0.027679443359375, 0.01090240478515625, -0.020965576171875, -0.021209716796875, -0.01580810546875, -0.06964111328125, 0.0014848709106445312, 0.0166473388671875, 0.0163726806640625, 0.043365478515625, -0.004566192626953125, 0.08978271484375, -0.03118896484375, -0.009490966796875, -0.03369140625, -0.005313873291015625, -0.016204833984375, 0.026885986328125, 0.01560211181640625, -0.022674560546875, 0.033477783203125, -0.039703369140625, -0.0232391357421875, 0.032684326171875, 0.04376220703125, 0.06671142578125, 0.01395416259765625, -0.001010894775390625, 0.00418853759765625, -0.0007648468017578125, -0.039947509765625, 0.0263824462890625, 0.01276397705078125, -0.0030689239501953125, 0.0287628173828125, 0.0065460205078125, -0.01328277587890625, 0.03900146484375, 0.0028553009033203125, -0.033355712890625, 0.00732421875, 0.026763916015625, 0.056854248046875, 0.0134735107421875, 0.023468017578125, 0.049346923828125, -0.01959228515625, -0.031280517578125, 0.0267333984375, -0.0045166015625, -0.01348876953125, -0.0341796875, 0.0013017654418945312, -0.0186767578125, -0.00909423828125, -0.0081024169921875, 0.0239715576171875, -0.029205322265625, 0.0212554931640625, -0.0567626953125, -0.003932952880859375, -0.01904296875, 0.0295867919921875, -0.031494140625, 0.0083160400390625, 0.0206451416015625, -0.03277587890625, -0.00951385498046875, 0.0303192138671875, 0.0084991455078125, 0.0084991455078125, -0.040496826171875, 0.049072265625, -0.01251983642578125, 0.04766845703125, -0.01265716552734375, -0.054840087890625, -0.01007843017578125, -0.0026187896728515625, 0.0175628662109375, 0.032684326171875, -0.0177154541015625, 0.011871337890625, 0.050567626953125, 0.0167694091796875, 0.047332763671875, -0.005176544189453125, -0.01483917236328125, -0.01059722900390625, -0.0156707763671875, -0.01261138916015625, -0.0274658203125, -0.089111328125, 0.0117340087890625, 0.0638427734375, 0.041656494140625, 0.0261383056640625, 0.0017042160034179688, 0.0156097412109375, 0.07147216796875, -0.0202178955078125, 0.009735107421875, -0.01544189453125, 0.051361083984375, 0.07427978515625, -0.0116424560546875, -0.015625, 0.00937652587890625, -0.01558685302734375, 0.022918701171875, 0.0266571044921875, -0.00632476806640625, 0.04345703125, 0.00972747802734375, -0.0139312744140625, -0.0269775390625, -0.00391387939453125, 0.0173797607421875, -0.014190673828125, 0.0222015380859375, 0.05255126953125, 0.052581787109375, 0.054107666015625, -0.05657958984375, 0.0196533203125, 0.0229949951171875, 0.0787353515625, 0.0207366943359375, 0.00196075439453125, -0.0291900634765625, -0.002475738525390625, -0.043365478515625, 0.010009765625, 0.039581298828125, 0.00038933753967285156, 0.00617218017578125, 0.0242767333984375, 0.00829315185546875, -0.01380157470703125, 0.0029926300048828125, -0.0311126708984375, 0.00232696533203125, -0.003978729248046875, 0.0279388427734375, -0.02044677734375, 0.02703857421875, -0.0175323486328125, -0.05548095703125, 0.060638427734375, -0.01103973388671875, -0.0594482421875, 0.02423095703125, -0.006072998046875, 0.01056671142578125, 0.0120391845703125, 0.04840087890625, 0.059814453125, -0.0018825531005859375, 0.0149993896484375, -0.0010366439819335938, 0.0054473876953125, 0.00763702392578125, -0.00496673583984375, -0.01047515869140625, -0.003818511962890625, -0.060882568359375, -0.00754547119140625, 0.0157623291015625, 0.036834716796875, -0.0246429443359375, -0.03985595703125, -0.017120361328125, 0.0078887939453125, -0.112548828125, -0.07244873046875, -0.024444580078125, -0.056549072265625, -0.047637939453125, -0.0214080810546875, -0.044342041015625, 0.041259765625, -0.0171356201171875, -0.003261566162109375, 0.0462646484375, 0.01168060302734375, -0.0277252197265625, 0.00962066650390625, -0.063720703125, -0.087646484375, -0.007106781005859375, 0.00949859619140625, -0.0016088485717773438, 0.0703125, 0.00688934326171875, -0.058624267578125, -0.005615234375, 0.006641387939453125, -0.008392333984375, 0.005001068115234375, 0.00933074951171875, -0.052825927734375, 0.02008056640625, -0.01177215576171875, 0.02313232421875, 0.012939453125, -0.008148193359375, -0.0116729736328125, -0.033905029296875, 0.001735687255859375, 0.0200042724609375, 0.004222869873046875, 0.015106201171875, 0.030670166015625, 0.058990478515625, -0.004222869873046875, -0.0301971435546875, -0.0138397216796875, -0.04583740234375, 0.01554107666015625, 0.0186920166015625, 0.00026154518127441406, -0.005931854248046875, 0.027496337890625, 0.0233154296875, 0.033538818359375, 0.01491546630859375, -0.00007677078247070312, 0.04510498046875, -0.01580810546875, -0.005336761474609375, -0.042572021484375, -0.047882080078125, -0.03057861328125, 0.0550537109375, -0.0186309814453125, 0.018768310546875, 0.002197265625, 0.0277099609375, -0.003307342529296875, -0.03155517578125, 0.042877197265625, -0.011993408203125, 0.041107177734375, -0.06524658203125, -0.044189453125, -0.05029296875, 0.0794677734375, -0.00249481201171875, -0.02581787109375, -0.021636962890625, 0.01275634765625, -0.0374755859375, -0.043121337890625, 0.003299713134765625, 0.0005860328674316406, -0.07293701171875, 0.0120849609375, 0.0158843994140625, -0.037353515625, -0.0157623291015625, 0.06585693359375, -0.05828857421875, -0.01506805419921875, 0.0418701171875, -0.07183837890625, 0.02642822265625, 0.0098114013671875, 0.030487060546875, -0.04632568359375, -0.0333251953125, -0.025421142578125, -0.03155517578125, -0.0099639892578125, -0.0029964447021484375, 0.051300048828125, 0.027496337890625, -0.0174560546875, 0.0207061767578125, 0.04791259765625, 0.00567626953125, 0.06671142578125, -0.0251922607421875, 0.018463134765625, -0.0248565673828125, -0.08026123046875, -0.004375457763671875, -0.061859130859375, -0.050689697265625, -0.038482666015625, -0.0024871826171875, 0.00731658935546875, -0.0237884521484375, -0.032501220703125, -0.0192413330078125, 0.01232147216796875, -0.057708740234375, -0.0156402587890625, -0.031463623046875, 0.00736236572265625, -0.039093017578125, 0.0002732276916503906, -0.0294189453125, -0.0767822265625, 0.03533935546875, 0.0185546875, -0.0079193115234375, 0.002288818359375, 0.10528564453125, 0.027923583984375, -0.018768310546875, -0.0633544921875, -0.001800537109375, 0.031890869140625, 0.01186370849609375, 0.043365478515625, 0.0177001953125, -0.0171661376953125, 0.044189453125, 0.01219940185546875, 0.01486968994140625, -0.07135009765625, 0.08209228515625, -0.0238800048828125, -0.01236724853515625, 0.0302276611328125, -0.05108642578125, 0.040863037109375, 0.0394287109375, -0.021209716796875, 0.00421905517578125, -0.0164642333984375, 0.033172607421875, -0.03961181640625, 0.0249481201171875, -0.0299224853515625, -0.003711700439453125, 0.0007996559143066406, -0.0022449493408203125, 0.017303466796875, 0.048065185546875, -0.0012531280517578125, -0.00457763671875, -0.00431060791015625, 0.005039215087890625, -0.024566650390625, 0.0005278587341308594, -0.03668212890625, 0.016510009765625, -0.01079559326171875, -0.01474761962890625, -0.006824493408203125, -0.009979248046875, 0.0218353271484375, -0.01357269287109375, -0.0538330078125, 0.0063934326171875, -0.0016202926635742188, 0.0306854248046875, 0.028961181640625, -0.01226806640625, 0.00048089027404785156, 0.0263671875, -0.00867462158203125, -0.005802154541015625, 0.0306243896484375, -0.0005130767822265625, -0.016815185546875, 0.0201568603515625, 0.0010805130004882812, 0.0022220611572265625, 0.0285491943359375, 0.08233642578125, -0.0161895751953125, 0.04510498046875, -0.0289764404296875, 0.04022216796875, 0.017822265625, 0.0250091552734375, 0.0180511474609375, -0.01390838623046875, 0.0161590576171875, -0.01059722900390625, -0.006534576416015625, -0.04156494140625, -0.01354217529296875, 0.01407623291015625, 0.03887939453125, 0.0230560302734375, 0.004795074462890625, 0.0033092498779296875, -0.003932952880859375, -0.03515625, 0.0162200927734375, 0.037200927734375, -0.05029296875, 0.0032806396484375, 0.04620361328125, -0.0031280517578125, 0.007686614990234375, 0.0011529922485351562, -0.0010128021240234375, 0.0030002593994140625, 0.05462646484375, -0.06536865234375, 0.033721923828125, -0.017913818359375, -0.0285491943359375, -0.002532958984375, 0.00750732421875, -0.0016965866088867188, -0.02630615234375, -0.031646728515625, -0.0182647705078125, -0.01025390625, 0.0963134765625, -0.00853729248046875, -0.00850677490234375, -0.0232086181640625, 0.023681640625, -0.0250244140625, 0.006710052490234375, 0.04376220703125, 0.00917816162109375, -0.022552490234375, 0.0038280487060546875, -0.066650390625, -0.0230255126953125, -0.0154571533203125, -0.0207977294921875, -0.0325927734375, -0.00920867919921875, -0.0005598068237304688, 0.03912353515625, -0.00768280029296875, -0.0171661376953125, -0.01239776611328125, -0.002349853515625, 0.01000213623046875, 0.08294677734375, -0.0015306472778320312, 0.0848388671875, -0.040130615234375, 0.05914306640625, 0.0059356689453125, 0.03961181640625, -0.027984619140625, -0.0164642333984375, 0.016387939453125, -0.031005859375, -0.03375244140625, -0.00354766845703125, -0.019378662109375, -0.0162506103515625, -0.0095062255859375, -0.01502227783203125, 0.01200103759765625, -0.0176849365234375, 0.004634857177734375, -0.03057861328125, 0.0202178955078125, -0.045654296875, -0.01544952392578125, 0.00682830810546875, -0.0257720947265625, -0.0019073486328125, -0.00940704345703125, -0.031768798828125, 0.039794921875, -0.00865936279296875, 0.0088043212890625, 0.038116455078125, -0.02978515625, 0.00010246038436889648, 0.087158203125, 0.04315185546875, 0.0628662109375, 0.007694244384765625, 0.045623779296875, 0.0389404296875, -0.009490966796875, -0.016204833984375, -0.0019683837890625, 0.020416259765625, -0.01580810546875, -0.00732421875, 0.0179443359375, -0.0002315044403076172, 0.050140380859375, 0.04925537109375, 0.1026611328125, -0.0859375, 0.0155029296875, 0.0262298583984375, -0.057220458984375, 0.01457977294921875, 0.00835418701171875, -0.00504302978515625, -0.0034770965576171875, -0.0121612548828125, -0.02044677734375, -0.021270751953125, 0.0064697265625, 0.017974853515625, -0.0183258056640625, -0.022705078125, 0.03314208984375, -0.006313323974609375, -0.004032135009765625, -0.00075531005859375, 0.00768280029296875, -0.0108489990234375, -0.031982421875, 0.007503509521484375, -0.0136566162109375, -0.0281829833984375, -0.08160400390625, -0.016082763671875, 0.0131988525390625, -0.01898193359375, 0.0141754150390625, 0.039581298828125, 0.04205322265625, 0.040374755859375, 0.0289306640625, -0.033172607421875, -0.001979827880859375, 0.0275726318359375, -0.0199432373046875, -0.043243408203125, -0.00004798173904418945, 0.05682373046875, -0.0296478271484375, 0.0286865234375, 0.0153656005859375, -0.037109375, -0.0097808837890625, -0.0248565673828125, 0.039825439453125, -0.0017175674438476562, -0.032623291015625, 0.0360107421875, -0.0118560791015625, -0.0181884765625, 0.00537872314453125, -0.0289764404296875, 0.02447509765625, 0.06158447265625, -0.01824951171875, 0.0126190185546875, 0.0080718994140625, -0.006420135498046875, -0.0626220703125, 0.0865478515625, 0.01441192626953125, 0.0147552490234375, 0.0167388916015625, 0.032745361328125, -0.04315185546875, -0.0027904510498046875, -0.06951904296875, 0.0677490234375, 0.000038623809814453125, 0.031219482421875, -0.1031494140625, -0.000980377197265625, -0.029937744140625, 0.0219573974609375, 0.04864501953125, 0.02484130859375, -0.037872314453125, -0.01126861572265625, 0.0117950439453125, 0.0168914794921875, -0.0103302001953125, 0.05108642578125, 0.046478271484375, 0.029754638671875, 0.0758056640625, -0.0032672882080078125, 0.04693603515625, -0.0165863037109375, 0.03399658203125, 0.068115234375, 0.00974273681640625, 0.0075225830078125, -0.01074981689453125, -0.0222625732421875, 0.0006723403930664062, -0.00469970703125, 0.00656890869140625, -0.06243896484375, 0.0016622543334960938, 0.040985107421875, 0.04180908203125, -0.0029697418212890625, -0.03619384765625, -0.005222320556640625, 0.0229644775390625, 0.0200347900390625, -0.009796142578125, -0.002162933349609375, 0.007328033447265625, 0.01099395751953125, -0.0042877197265625, -0.0102691650390625, 0.032440185546875, 0.0022983551025390625, 0.031463623046875, 0.0211639404296875, -0.0009484291076660156, -0.02557373046875, 0.049774169921875, 0.022857666015625, 0.037353515625, -0.047637939453125, -0.00812530517578125, 0.01024627685546875, -0.00998687744140625, -0.015106201171875, -0.01074981689453125, -0.0052947998046875, 0.0280914306640625, 0.0274505615234375, -0.02191162109375, -0.0145111083984375, 0.0115203857421875, 0.04022216796875, 0.002056121826171875, 0.020172119140625, -0.03057861328125, -0.0328369140625, -0.035125732421875, 0.0018148422241210938, 0.007659912109375, 0.051788330078125, 0.0289459228515625, 0.045928955078125, 0.009613037109375, 0.003437042236328125, -0.0073089599609375, 0.050018310546875, -0.020843505859375, 0.024810791015625, -0.05859375, -0.06927490234375, 0.00868988037109375, 0.035614013671875, 0.01151275634765625, 0.0396728515625, 0.058380126953125, 0.0413818359375, -0.02630615234375, -0.01096343994140625, 0.0423583984375, -0.02496337890625, 0.0131378173828125, -0.03717041015625, 0.02880859375, 0.006069183349609375, -0.0015802383422851562, -0.032196044921875, 0.02642822265625, 0.01995849609375, -0.0017261505126953125, 0.0186920166015625, 0.012481689453125, -0.0083465576171875, 0.018798828125, -0.0026416778564453125, 0.0023975372314453125, 0.007099151611328125, -0.03057861328125, 0.01528167724609375, -0.058135986328125, -0.03143310546875, 0.0020847320556640625, 0.0236968994140625, -0.020721435546875, 0.050628662109375, -0.034942626953125, 0.0007500648498535156, 0.026458740234375, 0.00878143310546875, -0.0161590576171875, 0.0210418701171875, 0.03228759765625, -0.008331298828125, 0.0026645660400390625, -0.0167694091796875, 0.009796142578125, 0.05157470703125, -0.022918701171875, 0.053741455078125, -0.037261962890625, 0.004001617431640625, -0.0257110595703125, 0.026885986328125, -0.02838134765625, -0.00986480712890625, 0.0011577606201171875, 0.0016765594482421875, -0.01003265380859375, -0.01055908203125, -0.031341552734375, -0.00481414794921875, 0.033203125, -0.035552978515625, -0.0006589889526367188, -0.01290130615234375, 0.022064208984375, -0.0262451171875, 0.0224609375, -0.0090484619140625, -0.011962890625, -0.044342041015625, -0.0274505615234375, 0.05255126953125, 0.07208251953125, 0.032745361328125, 0.00792694091796875, 0.03387451171875, -0.0193328857421875, 0.02435302734375, -0.01123046875, 0.0462646484375, 0.0416259765625, -0.041595458984375, 0.0266265869140625, 0.027618408203125, -0.01297760009765625, 0.0302734375, 0.03240966796875, 0.00849151611328125, 0.0202178955078125, 0.00927734375, 0.0032482147216796875, 0.02032470703125, 0.046417236328125, -0.004390716552734375, 0.01412200927734375, 0.01480865478515625, -0.01471710205078125, -0.003997802734375, -0.0083770751953125, -0.022064208984375, -0.046600341796875, -0.019744873046875, 0.00139617919921875, -0.039154052734375, -0.042266845703125, -0.044036865234375, 0.0008611679077148438, 0.0157623291015625, -0.004055023193359375, -0.024383544921875, -0.00286102294921875, -0.0099029541015625, 0.0218658447265625, 0.0030040740966796875, -0.05377197265625, 0.035064697265625, 0.07086181640625, -0.014190673828125, 0.0033016204833984375, 0.00031566619873046875, -0.0296478271484375, -0.0020198822021484375, 0.037139892578125, 0.0280609130859375, -0.037841796875, 0.005123138427734375, 0.052154541015625, 0.034027099609375, 0.08929443359375, 0.032806396484375, -0.03656005859375, -0.0255889892578125, 0.036376953125, 0.032684326171875, -0.055206298828125, -0.018707275390625, -0.0156707763671875, 0.029998779296875, -0.0230712890625, 0.030364990234375, 0.042938232421875, -0.0228424072265625, -0.08544921875, 0.0215911865234375, -0.0160369873046875, -0.036773681640625, -0.01441192626953125, -0.0240325927734375, -0.0020351409912109375, 0.03289794921875, 0.008697509765625, -0.037872314453125, -0.053131103515625, 0.0023956298828125, 0.0161590576171875, -0.0260467529296875, 0.05078125, -0.019317626953125, -0.040740966796875, -0.002197265625, -0.0077972412109375, -0.004856109619140625, -0.0158538818359375, 0.0031337738037109375, -0.0022563934326171875, 0.00966644287109375, -0.053497314453125, -0.020263671875, -0.00455474853515625, 0.03887939453125, 0.01080322265625, -0.051605224609375, -0.0240325927734375, -0.0158843994140625, 0.0771484375, 0.0158538818359375, 0.0181732177734375, -0.039276123046875, 0.0557861328125, 0.00009101629257202148, -0.052032470703125, 0.0019273757934570312, 0.02227783203125, -0.02642822265625, -0.01424407958984375, 0.0164337158203125, -0.01739501953125, 0.0235137939453125, 0.0008482933044433594, -0.01320648193359375, 0.0109405517578125, 0.006622314453125, -0.0333251953125, -0.0265960693359375, -0.0435791015625, 0.08251953125, -0.057220458984375, -0.0224761962890625, 0.01328277587890625, 0.025360107421875, 0.031341552734375, -0.001811981201171875, -0.00421905517578125, 0.00342559814453125, -0.0250091552734375, 0.0012617111206054688, 0.0051422119140625, 0.015625, -0.0118865966796875, -0.01593017578125, -0.0203399658203125, 0.016387939453125, -0.006072998046875, 0.01366424560546875, 0.0279083251953125, -0.0080108642578125, 0.008636474609375, 0.007534027099609375, -0.0286407470703125, 0.053192138671875, -0.0112457275390625, 0.05401611328125, -0.019744873046875, -0.007415771484375, 0.0150909423828125, -0.0161285400390625, -0.006664276123046875, 0.005290985107421875, 0.0026397705078125, -0.0249786376953125, -0.01385498046875, -0.0310516357421875, 0.01690673828125, 0.00775909423828125 ]
8ae968b147a39d0bc53edbef14c2677f22933666
Wordpress Stackexchange Q: Gallery Shortcode: using link attribute to link to a specific image size When [gallery link="file"] is used, it calls the original image file source. It it possible to create a shortcode filter that links to a specific size, like: [gallery link="medium"] or [gallery link="custom-size-name"] (referring to an additional image size created with add_image_size() in functions.php.) A: I found something very close that works here: http://oikos.org.uk/2011/09/tech-notes-using-resized-images-in-wordpress-galleries-and-lightboxes/
Q: Gallery Shortcode: using link attribute to link to a specific image size When [gallery link="file"] is used, it calls the original image file source. It it possible to create a shortcode filter that links to a specific size, like: [gallery link="medium"] or [gallery link="custom-size-name"] (referring to an additional image size created with add_image_size() in functions.php.) A: I found something very close that works here: http://oikos.org.uk/2011/09/tech-notes-using-resized-images-in-wordpress-galleries-and-lightboxes/ A: Short of de-registering the built in shortcode tag, copying the function and re-registering it with some modifications you could filter on wp_get_attachment_link. The problem is this affects everywhere that function is used. Saying that it might not be such a bad thing: add_filter( 'wp_get_attachment_link', 'my_attachment_link', 10, 6 ); function my_attachment_link( $link, $id, $size, $permalink, $icon, $text ) { if ( !is_admin() ) { // if we're linking to the file itself if ( ! $permalink ) $link = preg_replace("/href=\'([^\']+)\'/", "href='" . wp_get_attachment_image_src( $id, 'my-custom-size', false ) . "'", $link ); } return $link; } This will override any links generated to the original size file on the front end with a link to the size you specify in the second argument in wp_get_attachment_image_src().
wordpress
{ "language": "en", "length": 190, "provenance": "stackexchange_00019.jsonl.gz:414468", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33246" }
[ 0.0171356201171875, -0.012847900390625, 0.01152801513671875, 0.01047515869140625, -0.0173797607421875, -0.027557373046875, 0.0594482421875, -0.02349853515625, 0.01222991943359375, 0.0192413330078125, -0.002696990966796875, 0.006694793701171875, -0.0108642578125, -0.0230712890625, -0.01214599609375, -0.0161590576171875, 0.0221710205078125, -0.0074310302734375, 0.024322509765625, -0.006465911865234375, 0.021514892578125, 0.0160980224609375, -0.00711822509765625, 0.037445068359375, -0.009002685546875, -0.002346038818359375, 0.10760498046875, -0.007472991943359375, -0.004878997802734375, -0.00905609130859375, 0.004116058349609375, -0.03619384765625, 0.060516357421875, -0.026397705078125, -0.02923583984375, 0.036224365234375, 0.003108978271484375, -0.025421142578125, -0.035888671875, 0.0278472900390625, 0.047271728515625, -0.03143310546875, 0.0027790069580078125, -0.032745361328125, -0.016815185546875, 0.0028972625732421875, 0.0193328857421875, -0.0246734619140625, -0.00972747802734375, 0.004306793212890625, 0.0214385986328125, 0.03216552734375, 0.044036865234375, -0.0236663818359375, 0.0020160675048828125, 0.01544952392578125, 0.0108642578125, -0.0019702911376953125, 0.0311279296875, -0.0443115234375, -0.0394287109375, -0.003803253173828125, 0.038848876953125, 0.0052032470703125, 0.002933502197265625, -0.0067138671875, -0.047882080078125, 0.0182647705078125, 0.037506103515625, -0.00005066394805908203, -0.0128021240234375, -0.012725830078125, -0.00189971923828125, -0.01470184326171875, -0.0202178955078125, 0.02203369140625, 0.0083160400390625, 0.0135345458984375, 0.0100250244140625, -0.01470184326171875, 0.020843505859375, -0.0101318359375, 0.00047707557678222656, 0.003795623779296875, -0.0004532337188720703, 0.0072021484375, -0.01129913330078125, -0.0189361572265625, -0.002162933349609375, -0.0018396377563476562, -0.01611328125, 0.017730712890625, 0.00490570068359375, 0.00897979736328125, -0.0474853515625, 0.004123687744140625, 0.0007276535034179688, 0.0094146728515625, 0.0283355712890625, 0.03436279296875, -0.00539398193359375, -0.0347900390625, 0.0286712646484375, -0.0419921875, 0.01105499267578125, 0.05218505859375, -0.0043182373046875, 0.034576416015625, 0.03668212890625, 0.012359619140625, 0.0095367431640625, 0.01221466064453125, -0.0284881591796875, 0.02886962890625, -0.0250701904296875, 0.00829315185546875, -0.05712890625, 0.0226898193359375, -0.03277587890625, 0.04388427734375, 0.01303863525390625, 0.0239410400390625, 0.05670166015625, -0.0177459716796875, 0.0079193115234375, 0.020660400390625, -0.0172119140625, -0.07049560546875, 0.013824462890625, 0.0275421142578125, -0.0130462646484375, 0.0240478515625, 0.0313720703125, -0.0256805419921875, -0.0235595703125, -0.01068878173828125, -0.0101165771484375, -0.05255126953125, -0.0057373046875, -0.0008249282836914062, 0.0129547119140625, 0.0121002197265625, 0.03741455078125, -0.01380157470703125, 0.017547607421875, 0.022674560546875, 0.007419586181640625, 0.01031494140625, -0.0097198486328125, -0.07525634765625, 0.05694580078125, -0.041229248046875, 0.030029296875, 0.032470703125, -0.01136016845703125, 0.01308441162109375, 0.071044921875, -0.033233642578125, -0.03204345703125, -0.07598876953125, 0.01556396484375, 0.0207061767578125, 0.0084228515625, -0.049652099609375, -0.032989501953125, -0.049530029296875, -0.0265350341796875, 0.007068634033203125, 0.0117950439453125, 0.03955078125, 0.01629638671875, -0.0521240234375, -0.09600830078125, -0.0012359619140625, -0.005863189697265625, 0.0243988037109375, 0.01018524169921875, 0.046875, 0.008514404296875, 0.024169921875, 0.00815582275390625, -0.026123046875, 0.08282470703125, -0.01922607421875, 0.0073699951171875, -0.0416259765625, 0.0271759033203125, 0.01010894775390625, -0.0117645263671875, 0.0341796875, -0.0018663406372070312, 0.037261962890625, -0.005970001220703125, 0.01322174072265625, -0.0330810546875, -0.0223541259765625, 0.003948211669921875, 0.0019369125366210938, -0.02264404296875, 0.020477294921875, 0.0323486328125, -0.0159149169921875, 0.025665283203125, 0.0207366943359375, -0.033721923828125, 0.050201416015625, -0.043182373046875, 0.0302581787109375, -0.066650390625, 0.0005559921264648438, 0.03851318359375, -0.0167999267578125, -0.03314208984375, 0.023773193359375, 0.04119873046875, 0.038909912109375, 0.01142120361328125, -0.0121612548828125, -0.00637054443359375, 0.014984130859375, -0.0260772705078125, -0.0009541511535644531, -0.0292816162109375, 0.034942626953125, 0.0037555694580078125, -0.00511932373046875, -0.033172607421875, -0.0166168212890625, -0.0584716796875, 0.029266357421875, -0.07257080078125, 0.041717529296875, 0.016632080078125, 0.0201873779296875, -0.0142059326171875, -0.01178741455078125, -0.016693115234375, -0.0579833984375, 0.0176849365234375, 0.04541015625, 0.043731689453125, -0.0083160400390625, 0.01190185546875, 0.01363372802734375, 0.058074951171875, 0.0309295654296875, 0.039154052734375, -0.03662109375, -0.019317626953125, 0.00262451171875, -0.007354736328125, 0.012298583984375, 0.0200042724609375, -0.006526947021484375, -0.01059722900390625, 0.032501220703125, 0.0023040771484375, -0.0214080810546875, -0.0187835693359375, 0.07220458984375, -0.0169219970703125, 0.043243408203125, 0.01593017578125, -0.0013513565063476562, 0.007534027099609375, 0.0265655517578125, 0.0181732177734375, 0.01800537109375, -0.044708251953125, 0.04925537109375, 0.0241241455078125, -0.01444244384765625, -0.01297760009765625, 0.0189208984375, 0.035491943359375, 0.00540924072265625, -0.03570556640625, 0.0091094970703125, 0.002880096435546875, 0.00701141357421875, -0.040191650390625, -0.033843994140625, -0.0509033203125, -0.006389617919921875, 0.0166778564453125, -0.052093505859375, 0.0183258056640625, 0.0003211498260498047, 0.0196075439453125, -0.02557373046875, -0.0010519027709960938, 0.0182037353515625, -0.00970458984375, 0.048248291015625, 0.00885009765625, -0.04547119140625, 0.024017333984375, -0.04779052734375, 0.06622314453125, -0.05963134765625, 0.06536865234375, 0.06903076171875, -0.0789794921875, 0.06927490234375, -0.01617431640625, 0.01163482666015625, -0.0271759033203125, -0.01326751708984375, -0.019134521484375, -0.0200347900390625, -0.0020275115966796875, 0.02630615234375, 0.004772186279296875, -0.01557159423828125, -0.0469970703125, -0.0309295654296875, -0.04241943359375, -0.012725830078125, -0.05047607421875, 0.01107025146484375, 0.033477783203125, -0.07281494140625, 0.002277374267578125, 0.02099609375, -0.046600341796875, -0.025390625, 0.07373046875, -0.0017547607421875, 0.0188140869140625, 0.0004763603210449219, -0.005489349365234375, 0.005611419677734375, -0.029510498046875, 0.0019969940185546875, 0.004428863525390625, -0.0017728805541992188, -0.0026950836181640625, 0.0016603469848632812, -0.01107025146484375, -0.004184722900390625, -0.0046539306640625, 0.025970458984375, 0.0102081298828125, -0.032318115234375, 0.034576416015625, -0.0400390625, -0.035247802734375, -0.0009112358093261719, 0.0307159423828125, 0.033538818359375, -0.04345703125, 0.0177459716796875, -0.00997161865234375, -0.0109405517578125, 0.027740478515625, 0.034698486328125, -0.004993438720703125, 0.003448486328125, 0.059906005859375, -0.03350830078125, 0.00525665283203125, -0.052490234375, -0.068115234375, -0.034637451171875, 0.05584716796875, 0.00726318359375, -0.033355712890625, -0.0142364501953125, 0.0020046234130859375, 0.012969970703125, 0.049530029296875, -0.04632568359375, 0.0202789306640625, -0.0050506591796875, -0.00008821487426757812, -0.038818359375, 0.031402587890625, -0.00574493408203125, 0.046295166015625, 0.0237579345703125, 0.007904052734375, 0.015594482421875, 0.0055084228515625, 0.002716064453125, -0.0151214599609375, 0.044769287109375, -0.0118560791015625, 0.07794189453125, -0.08306884765625, -0.0377197265625, -0.062255859375, 0.07025146484375, -0.037322998046875, -0.01751708984375, 0.00806427001953125, 0.0017175674438476562, 0.0179443359375, -0.01102447509765625, -0.03387451171875, -0.019683837890625, -0.060760498046875, 0.0220489501953125, 0.025299072265625, -0.0310211181640625, -0.013671875, 0.0022430419921875, -0.03314208984375, -0.029083251953125, 0.0338134765625, 0.0379638671875, -0.004413604736328125, 0.0230255126953125, -0.0083465576171875, 0.02044677734375, -0.02264404296875, 0.01464080810546875, -0.107421875, -0.01959228515625, 0.005153656005859375, 0.0919189453125, -0.003021240234375, -0.0289764404296875, -0.03436279296875, 0.0572509765625, 0.01708984375, 0.0006542205810546875, 0.0163116455078125, -0.018341064453125, 0.004459381103515625, 0.048065185546875, 0.01537322998046875, -0.0008492469787597656, 0.0223388671875, -0.01244354248046875, -0.06573486328125, -0.0010223388671875, -0.046295166015625, -0.00817108154296875, -0.0161285400390625, -0.0308380126953125, -0.059906005859375, -0.0452880859375, 0.02752685546875, 0.041778564453125, 0.0171356201171875, 0.00002014636993408203, -0.07037353515625, -0.04095458984375, 0.01052093505859375, -0.005840301513671875, -0.0176849365234375, 0.0219573974609375, 0.0428466796875, 0.01493072509765625, -0.004329681396484375, -0.0882568359375, 0.0023250579833984375, 0.049285888671875, 0.01134490966796875, 0.020111083984375, 0.0283050537109375, -0.03955078125, 0.042083740234375, 0.038604736328125, 0.004322052001953125, -0.0268402099609375, 0.0675048828125, 0.01380157470703125, 0.01015472412109375, 0.0096282958984375, 0.0022907257080078125, -0.01120758056640625, 0.01201629638671875, -0.0071563720703125, 0.01337432861328125, -0.00661468505859375, 0.00606536865234375, 0.013763427734375, -0.01812744140625, -0.0247344970703125, 0.0286712646484375, -0.032501220703125, 0.049285888671875, 0.057220458984375, 0.041778564453125, -0.002788543701171875, -0.017791748046875, 0.039215087890625, 0.00907135009765625, 0.0158233642578125, 0.046783447265625, -0.0212860107421875, 0.06884765625, -0.034210205078125, -0.005584716796875, -0.00922393798828125, 0.00921630859375, -0.045684814453125, 0.032867431640625, 0.01383209228515625, -0.035400390625, 0.0252685546875, -0.0430908203125, -0.04876708984375, -0.0128936767578125, 0.04412841796875, 0.0214080810546875, -0.031402587890625, -0.0103607177734375, -0.0021076202392578125, -0.0303955078125, -0.048980712890625, 0.0284576416015625, -0.0161590576171875, -0.00814056396484375, 0.023834228515625, -0.0247802734375, -0.03363037109375, 0.00019693374633789062, 0.0232696533203125, 0.0237274169921875, 0.0209503173828125, 0.01092529296875, 0.02508544921875, -0.003459930419921875, 0.0171356201171875, -0.016693115234375, 0.01016998291015625, 0.003505706787109375, -0.0059814453125, 0.0306243896484375, 0.007350921630859375, -0.0181732177734375, 0.00400543212890625, 0.00997161865234375, 0.0095672607421875, 0.004486083984375, 0.01029205322265625, -0.05072021484375, -0.054290771484375, -0.034942626953125, 0.007427215576171875, 0.061981201171875, -0.02789306640625, -0.045013427734375, -0.00904083251953125, -0.00315093994140625, 0.031158447265625, -0.002567291259765625, -0.0426025390625, 0.072021484375, 0.052703857421875, 0.013763427734375, -0.031646728515625, -0.0517578125, 0.01006317138671875, 0.031982421875, -0.0279693603515625, -0.0121002197265625, 0.05657958984375, -0.01947021484375, 0.0187225341796875, -0.042938232421875, 0.01092529296875, -0.037811279296875, -0.002048492431640625, 0.0240631103515625, 0.0087738037109375, -0.0155181884765625, 0.003383636474609375, 0.001972198486328125, -0.0119781494140625, 0.0653076171875, -0.0157470703125, -0.016082763671875, -0.05657958984375, -0.00716400146484375, 0.0266265869140625, 0.005413055419921875, 0.0187835693359375, 0.0140380859375, -0.01258087158203125, -0.03363037109375, -0.01520538330078125, 0.01248931884765625, -0.036346435546875, 0.0142059326171875, 0.034271240234375, -0.0008058547973632812, -0.041900634765625, -0.01538848876953125, -0.0251007080078125, 0.00756072998046875, -0.007541656494140625, -0.042999267578125, 0.011627197265625, -0.027984619140625, -0.0006875991821289062, 0.0254974365234375, -0.00896453857421875, 0.02880859375, -0.02752685546875, -0.021148681640625, -0.0318603515625, 0.0203094482421875, -0.04791259765625, 0.04095458984375, -0.0355224609375, -0.01218414306640625, 0.02801513671875, 0.0010013580322265625, -0.0189056396484375, 0.024932861328125, -0.0199432373046875, 0.024932861328125, 0.035888671875, -0.01641845703125, 0.0179595947265625, 0.08758544921875, -0.01342010498046875, 0.05712890625, 0.04180908203125, -0.00167083740234375, 0.06805419921875, 0.0226898193359375, 0.0131378173828125, -0.0044097900390625, 0.03094482421875, -0.01015472412109375, -0.0018520355224609375, 0.004039764404296875, -0.00841522216796875, 0.0347900390625, -0.00555419921875, 0.04241943359375, -0.0215301513671875, 0.020355224609375, 0.01837158203125, -0.01593017578125, 0.03558349609375, -0.0302734375, 0.009185791015625, 0.0093536376953125, 0.051849365234375, 0.0043792724609375, -0.007671356201171875, 0.01531219482421875, -0.003326416015625, 0.0015783309936523438, -0.01068115234375, 0.0435791015625, -0.0060882568359375, -0.0430908203125, -0.03997802734375, 0.01155853271484375, -0.039825439453125, 0.01800537109375, 0.0306396484375, -0.0235443115234375, -0.0210723876953125, -0.0139617919921875, -0.00858306884765625, 0.004364013671875, -0.02099609375, -0.00612640380859375, -0.01806640625, 0.0694580078125, 0.0243072509765625, 0.0003445148468017578, -0.0157318115234375, -0.007137298583984375, 0.0204010009765625, 0.042633056640625, -0.0171051025390625, -0.0120086669921875, -0.0184783935546875, -0.0030612945556640625, -0.018707275390625, -0.024993896484375, 0.003276824951171875, -0.022613525390625, -0.034454345703125, 0.09271240234375, -0.044647216796875, -0.018798828125, 0.00662994384765625, 0.0133819580078125, -0.0196075439453125, 0.0030040740966796875, 0.0007519721984863281, -0.06134033203125, -0.0623779296875, -0.00630950927734375, -0.0989990234375, 0.01215362548828125, -0.03558349609375, -0.04779052734375, 0.03546142578125, -0.0202789306640625, 0.031768798828125, -0.0035266876220703125, 0.0145263671875, 0.01534271240234375, 0.0218353271484375, -0.01352691650390625, 0.0117034912109375, -0.006168365478515625, -0.0021209716796875, 0.0030002593994140625, 0.018218994140625, 0.00803375244140625, 0.0016841888427734375, 0.017486572265625, 0.00994873046875, -0.0308837890625, 0.003108978271484375, 0.0545654296875, 0.030059814453125, 0.01641845703125, 0.04437255859375, -0.035125732421875, -0.0223236083984375, -0.0012664794921875, -0.001956939697265625, 0.0128631591796875, 0.0206451416015625, -0.051116943359375, 0.003246307373046875, -0.0005850791931152344, 0.006778717041015625, 0.0205230712890625, 0.0504150390625, -0.0330810546875, 0.005260467529296875, 0.040802001953125, -0.048583984375, 0.010955810546875, 0.020599365234375, 0.049713134765625, -0.035491943359375, -0.045318603515625, 0.00022995471954345703, 0.036956787109375, 0.020782470703125, 0.01129913330078125, 0.0023365020751953125, 0.0004754066467285156, 0.0955810546875, -0.047760009765625, -0.03173828125, 0.00531768798828125, 0.0214080810546875, 0.0123443603515625, -0.0046539306640625, 0.0095367431640625, -0.040069580078125, -0.016357421875, 0.040985107421875, 0.0313720703125, -0.0225372314453125, -0.0168914794921875, 0.000762939453125, -0.001255035400390625, 0.0106658935546875, -0.0194549560546875, 0.025970458984375, -0.01617431640625, -0.02825927734375, -0.041229248046875, 0.0229949951171875, 0.0469970703125, 0.039459228515625, -0.0010356903076171875, 0.01169586181640625, -0.0794677734375, 0.0020618438720703125, -0.0299072265625, 0.005336761474609375, 0.01219940185546875, 0.0307769775390625, 0.0011196136474609375, 0.02838134765625, 0.01047515869140625, 0.007587432861328125, -0.030548095703125, 0.0226898193359375, -0.036224365234375, 0.0606689453125, -0.05206298828125, -0.0087127685546875, -0.0231475830078125, 0.061065673828125, 0.0243988037109375, 0.00970458984375, 0.0341796875, 0.01546478271484375, -0.0225067138671875, -0.002620697021484375, 0.0173187255859375, -0.026885986328125, 0.0753173828125, -0.048492431640625, 0.052490234375, 0.039947509765625, -0.0163726806640625, -0.021514892578125, -0.051666259765625, 0.11041259765625, -0.035369873046875, 0.049652099609375, -0.0163421630859375, -0.0179595947265625, 0.003726959228515625, -0.03167724609375, 0.061431884765625, -0.0134124755859375, -0.051239013671875, -0.0150909423828125, 0.0217742919921875, -0.0654296875, 0.03643798828125, 0.04852294921875, -0.0582275390625, 0.0234222412109375, -0.040374755859375, -0.0216827392578125, 0.01116943359375, 0.0158538818359375, -0.0187835693359375, 0.0119476318359375, 0.01373291015625, -0.0253448486328125, -0.04632568359375, -0.0146026611328125, -0.0248260498046875, 0.0188140869140625, 0.040771484375, 0.08880615234375, -0.00666046142578125, 0.036529541015625, -0.0027618408203125, -0.0184173583984375, -0.006378173828125, -0.00037789344787597656, 0.0106353759765625, -0.013824462890625, -0.014251708984375, -0.00368499755859375, 0.0165863037109375, 0.006378173828125, 0.0215301513671875, -0.0226287841796875, -0.022552490234375, -0.0233001708984375, 0.023406982421875, 0.041900634765625, 0.0443115234375, -0.0280914306640625, -0.05316162109375, -0.042022705078125, -0.0026302337646484375, 0.0039043426513671875, 0.0084228515625, -0.00556182861328125, 0.0295867919921875, 0.0418701171875, 0.02813720703125, 0.0247802734375, -0.0019512176513671875, 0.02789306640625, 0.0183868408203125, 0.00672149658203125, -0.0307159423828125, -0.004642486572265625, -0.0169219970703125, -0.0142669677734375, 0.0175628662109375, 0.0181121826171875, -0.0159912109375, -0.034698486328125, 0.0182647705078125, 0.0273590087890625, 0.03228759765625, -0.023040771484375, 0.00222015380859375, 0.03857421875, -0.01116180419921875, -0.0145263671875, 0.010833740234375, -0.00974273681640625, -0.0295257568359375, -0.0084075927734375, 0.00016295909881591797, 0.010650634765625, -0.004199981689453125, 0.00548553466796875, -0.01404571533203125, 0.056488037109375, 0.038970947265625, -0.07952880859375, 0.03387451171875, -0.005634307861328125, 0.0198974609375, 0.0343017578125, -0.0157928466796875, -0.0186309814453125, -0.0036258697509765625, -0.0232391357421875, -0.039886474609375, -0.051605224609375, 0.04058837890625, -0.0283203125, 0.0626220703125, 0.054168701171875, -0.05133056640625, 0.011322021484375, 0.080078125, 0.050384521484375, 0.1256103515625, -0.004611968994140625, -0.05133056640625, 0.01751708984375, -0.0162811279296875, 0.0308837890625, -0.0009860992431640625, -0.010162353515625, -0.021209716796875, 0.0167388916015625, 0.0330810546875, -0.0241851806640625, -0.003932952880859375, -0.041595458984375, -0.11376953125, 0.04742431640625, -0.004062652587890625, -0.0528564453125, -0.037506103515625, 0.017913818359375, 0.00261688232421875, 0.05157470703125, 0.0008716583251953125, -0.01001739501953125, -0.02227783203125, -0.00933837890625, -0.0118408203125, 0.00008749961853027344, 0.02020263671875, -0.011077880859375, 0.005218505859375, 0.0177459716796875, 0.0335693359375, -0.038726806640625, 0.0201873779296875, -0.034210205078125, 0.0343017578125, 0.01385498046875, -0.045623779296875, -0.0260162353515625, -0.00212860107421875, -0.017608642578125, 0.03289794921875, -0.0293121337890625, -0.0322265625, -0.054901123046875, 0.01189422607421875, -0.0012941360473632812, 0.00567626953125, 0.01971435546875, 0.01143646240234375, 0.009063720703125, -0.0006351470947265625, -0.0152587890625, 0.001148223876953125, -0.047149658203125, -0.03131103515625, -0.0210723876953125, -0.0027904510498046875, -0.0126800537109375, -0.003162384033203125, -0.02984619140625, -0.00322723388671875, 0.0012197494506835938, 0.0049591064453125, -0.01934814453125, 0.054901123046875, 0.05865478515625, -0.035064697265625, 0.033355712890625, -0.02984619140625, -0.0028095245361328125, 0.061798095703125, -0.051971435546875, -0.013427734375, 0.03387451171875, -0.00823211669921875, -0.0014696121215820312, 0.0264892578125, -0.038848876953125, 0.0160980224609375, 0.0164337158203125, -0.0017070770263671875, 0.004383087158203125, 0.01204681396484375, 0.00033736228942871094, -0.0262451171875, 0.0252838134765625, 0.00531768798828125, 0.015167236328125, -0.028961181640625, -0.0014133453369140625, -0.000934600830078125, 0.01324462890625, -0.0205535888671875, 0.0016145706176757812, 0.038238525390625, -0.0408935546875, 0.004161834716796875, 0.00843048095703125, -0.048248291015625, -0.021209716796875, -0.01435089111328125, -0.007640838623046875, -0.0099639892578125, -0.006763458251953125 ]
1477ddebada6b31bc344c4b2c9ef142210172466
Wordpress Stackexchange Q: Multiple endpoints to same page I'm doing a bit of AB testing, and am looking for a way to point multiple endpoints to the same page in wordpress. My site is using wordpress as it's CMS tool. http://mysite.com/test/link1 http://mysite.com/test/link2 http://mysite.com/test/link3 I want the above URL's to point to the about page generated through wordpress http://mysite.com/about The specific use case is to track hits through google analytics. I've tried doing 301 redirects, but searching through referrers for your site doesn't always work. Any idea's? A: Okay... here's how you add the rule. <?php add_action('init', 'add_my_rule'); function add_my_rule() { add_rewrite_rule('^test\/link.*$','index.php?pagename=about','top'); } ?> This rule will ensure that when you visit a url like http://.../test/link or http://.../test/link<xyz>, you are redirected to the about page (please make sure the slug for about page is 'about'). Also, http://.../test/, will take you the test page and not the about page. Let me know if this works for you.
Q: Multiple endpoints to same page I'm doing a bit of AB testing, and am looking for a way to point multiple endpoints to the same page in wordpress. My site is using wordpress as it's CMS tool. http://mysite.com/test/link1 http://mysite.com/test/link2 http://mysite.com/test/link3 I want the above URL's to point to the about page generated through wordpress http://mysite.com/about The specific use case is to track hits through google analytics. I've tried doing 301 redirects, but searching through referrers for your site doesn't always work. Any idea's? A: Okay... here's how you add the rule. <?php add_action('init', 'add_my_rule'); function add_my_rule() { add_rewrite_rule('^test\/link.*$','index.php?pagename=about','top'); } ?> This rule will ensure that when you visit a url like http://.../test/link or http://.../test/link<xyz>, you are redirected to the about page (please make sure the slug for about page is 'about'). Also, http://.../test/, will take you the test page and not the about page. Let me know if this works for you.
wordpress
{ "language": "en", "length": 153, "provenance": "stackexchange_00019.jsonl.gz:414471", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33250" }
[ 0.062408447265625, -0.02130126953125, -0.004016876220703125, -0.0273284912109375, -0.00836944580078125, -0.042449951171875, 0.056060791015625, 0.0011014938354492188, -0.06512451171875, 0.013336181640625, -0.01338958740234375, 0.047271728515625, -0.006145477294921875, -0.033538818359375, 0.07403564453125, -0.01401519775390625, 0.0191802978515625, -0.00839996337890625, 0.0310516357421875, -0.00873565673828125, 0.01114654541015625, -0.00650787353515625, 0.041778564453125, 0.04583740234375, 0.0214080810546875, -0.0350341796875, 0.05517578125, -0.01091766357421875, -0.01015472412109375, -0.02447509765625, 0.017303466796875, 0.0033550262451171875, 0.04815673828125, 0.0172882080078125, -0.05029296875, -0.01491546630859375, 0.00905609130859375, -0.0081329345703125, -0.023223876953125, 0.053314208984375, 0.0219268798828125, -0.0330810546875, 0.04638671875, -0.0009551048278808594, 0.03179931640625, -0.050201416015625, 0.058013916015625, -0.0662841796875, 0.01059722900390625, 0.0233154296875, 0.008331298828125, 0.034210205078125, -0.00372314453125, 0.03375244140625, -0.0087127685546875, 0.00173187255859375, 0.034027099609375, -0.04608154296875, 0.00946807861328125, -0.06317138671875, -0.015655517578125, 0.0175628662109375, 0.03753662109375, 0.053466796875, -0.020233154296875, 0.01131439208984375, -0.021484375, 0.025909423828125, -0.0260467529296875, -0.039703369140625, -0.0016069412231445312, -0.02191162109375, 0.030914306640625, 0.005462646484375, -0.0240478515625, -0.05511474609375, 0.0390625, 0.002567291259765625, 0.0046539306640625, -0.005863189697265625, -0.01551055908203125, -0.0260162353515625, -0.0191650390625, -0.00983428955078125, -0.0014619827270507812, 0.0215301513671875, -0.0030612945556640625, -0.002834320068359375, -0.041015625, -0.03466796875, -0.0288543701171875, 0.0032024383544921875, -0.03863525390625, -0.016876220703125, -0.0211944580078125, -0.00878143310546875, 0.00782012939453125, 0.0083770751953125, 0.04559326171875, 0.00634765625, 0.00476837158203125, -0.0406494140625, -0.0051422119140625, -0.026519775390625, 0.0231781005859375, 0.0655517578125, 0.00406646728515625, 0.036773681640625, 0.07904052734375, 0.01322174072265625, 0.041259765625, 0.060760498046875, -0.0021190643310546875, 0.026153564453125, -0.021575927734375, 0.0022411346435546875, -0.04827880859375, 0.01262664794921875, -0.031707763671875, 0.04144287109375, -0.0165557861328125, -0.0159149169921875, 0.057769775390625, -0.0094146728515625, 0.0193634033203125, 0.007808685302734375, -0.007568359375, -0.051239013671875, 0.036529541015625, 0.01007843017578125, -0.01392364501953125, -0.00859832763671875, -0.00027298927307128906, 0.026397705078125, -0.0003933906555175781, -0.0078887939453125, -0.0011434555053710938, -0.004863739013671875, -0.03997802734375, 0.03009033203125, -0.0063934326171875, -0.026885986328125, 0.0067901611328125, -0.0192108154296875, -0.000010669231414794922, 0.01364898681640625, 0.0149383544921875, 0.019683837890625, -0.00445556640625, -0.0142822265625, 0.00434112548828125, -0.0079193115234375, 0.04071044921875, -0.00432586669921875, -0.049102783203125, -0.04498291015625, -0.036956787109375, -0.01514434814453125, 0.0205841064453125, -0.038604736328125, 0.043670654296875, 0.0216522216796875, 0.0173187255859375, -0.058807373046875, -0.07452392578125, -0.053955078125, -0.07763671875, -0.02410888671875, 0.01505279541015625, -0.0010986328125, 0.008697509765625, 0.004878997802734375, -0.031494140625, -0.002288818359375, 0.01209259033203125, -0.005329132080078125, 0.003971099853515625, 0.043731689453125, -0.00017583370208740234, 0.043182373046875, 0.0277252197265625, -0.0220947265625, 0.049957275390625, 0.0009665489196777344, -0.06494140625, 0.055084228515625, 0.016387939453125, 0.085205078125, -0.0035076141357421875, 0.0204315185546875, 0.04345703125, 0.0282440185546875, -0.0085296630859375, 0.00811767578125, 0.00012958049774169922, -0.00630950927734375, -0.0156402587890625, 0.018035888671875, -0.010345458984375, -0.020965576171875, 0.00341796875, 0.004245758056640625, -0.010772705078125, 0.046173095703125, -0.01471710205078125, 0.0159912109375, -0.01995849609375, 0.0167083740234375, 0.005153656005859375, 0.0150604248046875, 0.00777435302734375, 0.00698089599609375, -0.0133819580078125, -0.0290679931640625, -0.03192138671875, 0.0273590087890625, -0.01275634765625, -0.043609619140625, -0.0143280029296875, -0.0188446044921875, 0.00855255126953125, 0.0262908935546875, -0.01403045654296875, 0.01277923583984375, 0.0281829833984375, -0.018218994140625, -0.0092315673828125, -0.0291290283203125, -0.02642822265625, 0.006805419921875, -0.08868408203125, 0.04229736328125, 0.02569580078125, 0.02203369140625, -0.028717041015625, 0.04107666015625, 0.0287322998046875, 0.0287933349609375, -0.01690673828125, 0.005157470703125, 0.032073974609375, 0.0016717910766601562, -0.0109100341796875, 0.003757476806640625, -0.015838623046875, -0.0643310546875, 0.0100250244140625, -0.0030498504638671875, 0.011993408203125, 0.039794921875, 0.0263671875, 0.0186004638671875, 0.018280029296875, -0.0548095703125, 0.0233917236328125, 0.0279693603515625, -0.00585174560546875, 0.005466461181640625, -0.027587890625, 0.01702880859375, -0.00594329833984375, -0.008392333984375, -0.00885772705078125, -0.0133819580078125, 0.05621337890625, -0.0125274658203125, 0.03692626953125, 0.032745361328125, 0.00353240966796875, -0.03662109375, 0.00868988037109375, -0.01212310791015625, -0.019744873046875, 0.051513671875, 0.098388671875, -0.0706787109375, -0.036163330078125, -0.00891876220703125, -0.0096282958984375, 0.00594329833984375, -0.002643585205078125, 0.00812530517578125, -0.021209716796875, -0.019927978515625, 0.0218353271484375, -0.039306640625, -0.030029296875, -0.0006470680236816406, 0.041778564453125, 0.00516510009765625, 0.041717529296875, -0.01953125, -0.038238525390625, 0.039886474609375, 0.01361846923828125, -0.055816650390625, 0.024078369140625, -0.041168212890625, 0.048583984375, -0.048583984375, 0.015289306640625, 0.05120849609375, -0.027099609375, 0.0082855224609375, -0.01251983642578125, 0.0091094970703125, -0.024749755859375, -0.006992340087890625, -0.0100555419921875, -0.03936767578125, -0.024749755859375, 0.01470947265625, 0.0251922607421875, 0.01198577880859375, 0.01041412353515625, -0.03082275390625, 0.003986358642578125, 0.009765625, -0.06500244140625, -0.057586669921875, 0.016754150390625, -0.029754638671875, 0.004405975341796875, 0.0149688720703125, -0.0185546875, -0.036865234375, 0.0418701171875, 0.00039505958557128906, -0.0029850006103515625, -0.040679931640625, -0.022796630859375, -0.041839599609375, -0.05389404296875, -0.004543304443359375, 0.00559234619140625, 0.006244659423828125, 0.0164337158203125, -0.034759521484375, -0.00513458251953125, -0.006145477294921875, 0.0306549072265625, 0.0056304931640625, 0.0012874603271484375, -0.00968170166015625, -0.03125, -0.0207672119140625, -0.041290283203125, 0.01551055908203125, 0.05084228515625, -0.03692626953125, 0.029205322265625, -0.0098876953125, 0.01163482666015625, 0.00868988037109375, 0.0233306884765625, -0.05218505859375, -0.0228118896484375, 0.0213775634765625, 0.0028667449951171875, -0.0294952392578125, -0.03973388671875, 0.016815185546875, -0.05670166015625, -0.0293426513671875, 0.054656982421875, -0.025634765625, 0.01433563232421875, -0.04144287109375, 0.052825927734375, 0.02166748046875, 0.050201416015625, 0.00417327880859375, 0.012786865234375, -0.01873779296875, 0.0029430389404296875, -0.08172607421875, 0.0124664306640625, -0.0167694091796875, 0.0099029541015625, 0.0076904296875, -0.0189666748046875, -0.026458740234375, 0.046112060546875, -0.005672454833984375, -0.05328369140625, 0.021331787109375, -0.02056884765625, 0.0181427001953125, -0.011749267578125, -0.02008056640625, -0.00017642974853515625, 0.08404541015625, -0.00852203369140625, -0.00437164306640625, -0.01065826416015625, -0.005096435546875, 0.01264190673828125, -0.0165557861328125, -0.03271484375, -0.0220489501953125, -0.04864501953125, -0.0194244384765625, -0.0160675048828125, -0.033477783203125, -0.0024967193603515625, 0.0020656585693359375, -0.031982421875, -0.029815673828125, 0.04217529296875, -0.0228424072265625, 0.0125579833984375, 0.0166168212890625, -0.00977325439453125, -0.005924224853515625, -0.04888916015625, -0.00264739990234375, -0.03948974609375, -0.0191192626953125, 0.0243682861328125, 0.053558349609375, -0.0011997222900390625, -0.0133056640625, 0.01244354248046875, 0.06439208984375, 0.024139404296875, 0.03192138671875, 0.03955078125, -0.014678955078125, 0.0662841796875, -0.00027680397033691406, 0.038238525390625, -0.00891876220703125, -0.0234527587890625, -0.0264129638671875, -0.023651123046875, 0.0130615234375, -0.008026123046875, 0.004150390625, 0.0245819091796875, -0.0267791748046875, -0.07965087890625, -0.0421142578125, 0.0224761962890625, 0.0268096923828125, 0.0269012451171875, -0.01317596435546875, -0.0565185546875, -0.06317138671875, 0.02947998046875, -0.0278778076171875, -0.002399444580078125, -0.00022864341735839844, 0.036651611328125, 0.0150604248046875, -0.0184326171875, 0.0214996337890625, -0.007358551025390625, 0.01629638671875, -0.016937255859375, 0.055389404296875, 0.0146636962890625, 0.0029315948486328125, 0.060455322265625, -0.021697998046875, 0.0170440673828125, -0.001972198486328125, 0.014373779296875, -0.01593017578125, -0.028778076171875, 0.0300445556640625, -0.013092041015625, -0.022857666015625, 0.0274658203125, -0.02020263671875, -0.023345947265625, -0.044525146484375, 0.043243408203125, -0.00569915771484375, 0.03607177734375, -0.0535888671875, 0.00958251953125, -0.017547607421875, 0.06011962890625, 0.04779052734375, 0.054901123046875, -0.01248931884765625, 0.0302734375, 0.042694091796875, 0.0011682510375976562, 0.045989990234375, 0.055755615234375, -0.025970458984375, 0.02886962890625, 0.0283050537109375, -0.036590576171875, -0.00545501708984375, -0.00955963134765625, 0.1005859375, 0.0304107666015625, -0.0614013671875, 0.029571533203125, -0.0293426513671875, -0.03448486328125, -0.0016183853149414062, -0.005161285400390625, 0.0435791015625, -0.01367950439453125, -0.01273345947265625, 0.0111236572265625, -0.036712646484375, -0.01346588134765625, -0.058624267578125, 0.04840087890625, 0.00737762451171875, 0.0012111663818359375, 0.033905029296875, 0.046051025390625, -0.0364990234375, 0.05743408203125, 0.005329132080078125, 0.02557373046875, 0.029083251953125, 0.055419921875, 0.00829315185546875, -0.0001647472381591797, 0.0018014907836914062, 0.02630615234375, 0.0059814453125, -0.056243896484375, -0.030487060546875, 0.052459716796875, 0.068359375, -0.0183563232421875, -0.02099609375, -0.0037136077880859375, 0.0106353759765625, 0.006023406982421875, 0.021240234375, -0.0029125213623046875, -0.034820556640625, -0.007701873779296875, 0.0163421630859375, 0.0232696533203125, -0.01116943359375, -0.0021877288818359375, 0.00510406494140625, 0.0101318359375, 0.00414276123046875, 0.007526397705078125, -0.029449462890625, -0.01305389404296875, 0.002490997314453125, 0.0255279541015625, -0.00820159912109375, -0.0127716064453125, -0.0098114013671875, -0.003025054931640625, -0.029022216796875, -0.01464080810546875, 0.04534912109375, -0.037628173828125, 0.0175933837890625, 0.0005888938903808594, -0.009765625, 0.004642486572265625, 0.0243377685546875, 0.02667236328125, 0.017822265625, -0.055328369140625, 0.00873565673828125, -0.029449462890625, 0.015594482421875, 0.0212249755859375, -0.0382080078125, 0.0074920654296875, -0.049346923828125, 0.0175323486328125, 0.04144287109375, -0.01776123046875, -0.017669677734375, -0.0187835693359375, -0.0025768280029296875, 0.0100250244140625, 0.052215576171875, -0.007076263427734375, 0.060791015625, -0.0214385986328125, 0.061370849609375, -0.0023746490478515625, 0.01727294921875, -0.01116180419921875, -0.01480865478515625, 0.0220184326171875, -0.06414794921875, -0.041351318359375, -0.0008139610290527344, -0.0814208984375, 0.0316162109375, 0.0628662109375, -0.005855560302734375, 0.00807952880859375, 0.0018091201782226562, 0.0101165771484375, -0.0233612060546875, 0.0205230712890625, -0.0198516845703125, -0.00824737548828125, 0.0169525146484375, 0.031005859375, 0.050994873046875, 0.0002579689025878906, 0.011444091796875, -0.048736572265625, 0.02728271484375, 0.016204833984375, -0.0338134765625, -0.0267791748046875, 0.019256591796875, 0.0806884765625, 0.00426483154296875, 0.05853271484375, 0.0257568359375, 0.00274658203125, 0.089111328125, -0.01114654541015625, 0.0195770263671875, 0.00942230224609375, 0.01373291015625, -0.0245361328125, -0.00856781005859375, -0.00994110107421875, -0.0242156982421875, -0.01241302490234375, 0.03253173828125, 0.018890380859375, -0.0833740234375, -0.003398895263671875, -0.033538818359375, 0.0081024169921875, 0.037261962890625, -0.0291748046875, 0.023193359375, 0.0230560302734375, 0.0018625259399414062, 0.01503753662109375, -0.05230712890625, -0.013397216796875, -0.0009255409240722656, 0.00433349609375, 0.0024127960205078125, 0.0877685546875, 0.004428863525390625, -0.041259765625, -0.047821044921875, 0.0234832763671875, -0.0305328369140625, -0.02001953125, -0.0274810791015625, 0.0191497802734375, -0.0276947021484375, -0.03387451171875, 0.040374755859375, -0.056976318359375, 0.031585693359375, 0.0341796875, 0.0208587646484375, 0.0183258056640625, 0.024444580078125, 0.0034427642822265625, -0.00013244152069091797, -0.0159454345703125, -0.00441741943359375, -0.02227783203125, -0.0012454986572265625, 0.0013055801391601562, -0.0237884521484375, -0.0093841552734375, 0.00534820556640625, -0.06512451171875, -0.00022029876708984375, -0.01151275634765625, 0.0250244140625, 0.062164306640625, -0.0242767333984375, -0.0396728515625, 0.0187835693359375, 0.01493072509765625, -0.0006055831909179688, 0.01194000244140625, -0.0067138671875, -0.0251312255859375, -0.03118896484375, -0.0081939697265625, -0.054473876953125, 0.0036640167236328125, -0.0189208984375, -0.07379150390625, 0.1285400390625, -0.005367279052734375, 0.053131103515625, 0.00455474853515625, 0.05511474609375, -0.00757598876953125, 0.0259857177734375, -0.033233642578125, 0.049163818359375, 0.019378662109375, 0.03631591796875, -0.050933837890625, -0.0164947509765625, 0.0052490234375, 0.03546142578125, 0.063720703125, 0.019012451171875, -0.072509765625, 0.0095977783203125, 0.037872314453125, -0.0208587646484375, -0.0227813720703125, 0.0858154296875, 0.01369476318359375, -0.01422119140625, 0.044952392578125, -0.033050537109375, 0.0194549560546875, -0.01055145263671875, 0.04388427734375, 0.00968170166015625, -0.0022029876708984375, 0.0017423629760742188, -0.010498046875, 0.004482269287109375, -0.038970947265625, 0.001514434814453125, 0.0179290771484375, 0.0258941650390625, -0.01494598388671875, 0.0178985595703125, 0.014312744140625, -0.0300445556640625, 0.01293182373046875, -0.033843994140625, 0.0435791015625, 0.016754150390625, -0.018157958984375, 0.01959228515625, 0.0012722015380859375, 0.03155517578125, 0.00997161865234375, -0.0174102783203125, 0.0094146728515625, 0.034210205078125, 0.069580078125, 0.0535888671875, 0.034423828125, -0.002742767333984375, 0.0156402587890625, 0.03228759765625, 0.0745849609375, -0.051361083984375, -0.0174407958984375, 0.00548553466796875, 0.0165252685546875, 0.02081298828125, 0.0031566619873046875, 0.06707763671875, -0.0195159912109375, -0.0108184814453125, -0.0228424072265625, -0.0008983612060546875, 0.0173187255859375, 0.029083251953125, 0.00699615478515625, 0.02337646484375, -0.06390380859375, -0.00121307373046875, -0.032318115234375, 0.028594970703125, 0.0208740234375, 0.049468994140625, -0.0020122528076171875, 0.04705810546875, -0.03546142578125, -0.0172576904296875, 0.0010538101196289062, -0.0175018310546875, -0.048492431640625, 0.029937744140625, -0.04437255859375, -0.04559326171875, -0.0091705322265625, 0.055267333984375, 0.017181396484375, 0.04095458984375, 0.0121917724609375, 0.0183258056640625, 0.0218353271484375, 0.01236724853515625, 0.040618896484375, -0.0295257568359375, 0.05389404296875, -0.0210113525390625, 0.0136566162109375, 0.00803375244140625, -0.02435302734375, -0.024169921875, -0.0364990234375, 0.054534912109375, 0.0088348388671875, 0.024658203125, 0.005023956298828125, -0.0174407958984375, -0.006282806396484375, -0.006221771240234375, 0.038116455078125, 0.0343017578125, -0.0287322998046875, -0.005802154541015625, -0.00443267822265625, -0.043121337890625, 0.00659942626953125, 0.032318115234375, 0.01230621337890625, 0.00978851318359375, 0.0159759521484375, 0.0103607177734375, 0.0205535888671875, -0.0133819580078125, 0.00586700439453125, 0.018402099609375, 0.03302001953125, 0.0135040283203125, -0.020355224609375, -0.0021800994873046875, 0.00733184814453125, 0.01702880859375, -0.031005859375, 0.08563232421875, -0.04473876953125, 0.005847930908203125, -0.008026123046875, 0.0091552734375, -0.00435638427734375, 0.00739288330078125, 0.03070068359375, 0.029327392578125, 0.00974273681640625, -0.0286407470703125, -0.0006642341613769531, 0.04449462890625, -0.02252197265625, -0.0156402587890625, 0.0275421142578125, -0.04443359375, -0.0010080337524414062, 0.029815673828125, 0.0313720703125, -0.0159454345703125, -0.055694580078125, -0.027984619140625, 0.01235198974609375, -0.0077362060546875, 0.0197601318359375, -0.0002503395080566406, 0.05133056640625, 0.0270843505859375, -0.00638580322265625, 0.0036754608154296875, -0.04425048828125, -0.0264434814453125, 0.0139617919921875, 0.07501220703125, -0.0140380859375, 0.0294189453125, -0.0157012939453125, -0.01093292236328125, 0.02117919921875, 0.02276611328125, 0.0201568603515625, -0.00740814208984375, -0.004077911376953125, -0.0301971435546875, 0.00049591064453125, -0.024078369140625, -0.01715087890625, -0.0008044242858886719, 0.0057220458984375, -0.0193634033203125, -0.053253173828125, -0.01947021484375, -0.03875732421875, 0.012298583984375, 0.034759521484375, 0.0013484954833984375, 0.0171966552734375, -0.006481170654296875, 0.0311737060546875, 0.0242156982421875, -0.02362060546875, -0.021728515625, 0.00772857666015625, -0.06878662109375, 0.0697021484375, -0.0312042236328125, 0.01070404052734375, -0.004222869873046875, -0.014739990234375, -0.061492919921875, 0.01160430908203125, -0.029266357421875, -0.0014467239379882812, -0.01078033447265625, 0.002498626708984375, 0.0274810791015625, -0.0207672119140625, -0.0047760009765625, -0.046142578125, 0.00994110107421875, 0.00983428955078125, -0.01100921630859375, -0.010955810546875, 0.036590576171875, 0.002986907958984375, -0.02325439453125, -0.010040283203125, -0.00033020973205566406, 0.0161895751953125, -0.0003237724304199219, 0.0211639404296875, -0.0256805419921875, -0.0253753662109375, -0.04791259765625, -0.05755615234375, 0.07049560546875, 0.0031604766845703125, -0.030853271484375, -0.08489990234375, 0.028350830078125, 0.019195556640625, -0.0082855224609375, -0.02911376953125, -0.0202178955078125, -0.0295562744140625, 0.0231170654296875, 0.01418304443359375, 0.08526611328125, -0.036102294921875, 0.05438232421875, 0.00098419189453125, 0.05322265625, 0.0233001708984375, 0.007110595703125, 0.01073455810546875, -0.0291290283203125, 0.046173095703125, 0.038421630859375, -0.0262298583984375, 0.006900787353515625, -0.0003991127014160156, -0.024169921875, 0.00897979736328125, -0.03192138671875, -0.05706787109375, -0.01885986328125, 0.046844482421875, 0.06292724609375, 0.0236663818359375, -0.0225982666015625, -0.01024627685546875, 0.0068206787109375, -0.00536346435546875, -0.0197906494140625, 0.031494140625, -0.076171875, -0.028472900390625, 0.0039520263671875, -0.016448974609375, 0.0012388229370117188, 0.0151824951171875, -0.0144500732421875, -0.00037932395935058594, 0.032012939453125, -0.0192718505859375, 0.00826263427734375, -0.000698089599609375, 0.06292724609375, -0.046356201171875, -0.0357666015625, 0.0020732879638671875, 0.034271240234375, -0.0167083740234375, -0.060028076171875, 0.03668212890625, 0.019622802734375, -0.01885986328125, -0.00801849365234375, 0.01971435546875, -0.020721435546875, -0.031982421875, -0.03045654296875, -0.00736236572265625, 0.028106689453125, 0.009185791015625, 0.0212554931640625, -0.0279693603515625, 0.0163421630859375, -0.006748199462890625, 0.0469970703125, 0.03973388671875, 0.015350341796875, 0.0246124267578125, 0.04083251953125, -0.01477813720703125, -0.0357666015625, -0.006320953369140625, -0.060546875, -0.0175933837890625, 0.047515869140625, 0.01306915283203125, -0.054107666015625, 0.0404052734375, 0.0183868408203125, 0.04534912109375, 0.006931304931640625 ]
01550a6eb2385d50ebb54f97864c466cf41242be
Wordpress Stackexchange Q: Multiple Paginations on one Page I have a page template which aggregates multiple CPT's in different areas of the page and displays the first post from each CPT. I'd like to add a separate pagination for each of them. Is it possible with or, preferably, without a plugin? A: Its possible! When i find myself in need of multiple paginations in a page i usually use ajax. take a look at this tutorial which with a little modification can do what you want.
Q: Multiple Paginations on one Page I have a page template which aggregates multiple CPT's in different areas of the page and displays the first post from each CPT. I'd like to add a separate pagination for each of them. Is it possible with or, preferably, without a plugin? A: Its possible! When i find myself in need of multiple paginations in a page i usually use ajax. take a look at this tutorial which with a little modification can do what you want. A: If anyone is looking at this in 2020 and found that the link from Bainternet's answer is broken, here is a snapshot of the article on the Wayback Machine: https://web.archive.org/web/20110625064315/http://wordpressapi.com/2011/05/16/add-ajax-pagination-in-wordpress-blog
wordpress
{ "language": "en", "length": 115, "provenance": "stackexchange_00019.jsonl.gz:414475", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33256" }
[ 0.07330322265625, -0.00005125999450683594, 0.03466796875, -0.05340576171875, 0.01317596435546875, -0.01529693603515625, 0.0377197265625, -0.02069091796875, -0.01395416259765625, 0.0333251953125, -0.02996826171875, 0.02398681640625, -0.0372314453125, 0.0024623870849609375, -0.020660400390625, -0.04022216796875, 0.030548095703125, -0.0106658935546875, 0.01593017578125, -0.002124786376953125, 0.01322174072265625, 0.0015001296997070312, -0.0157928466796875, 0.1143798828125, 0.01076507568359375, 0.039947509765625, -0.01190185546875, -0.012969970703125, -0.0040130615234375, -0.0126953125, 0.01389312744140625, 0.01224517822265625, 0.01338958740234375, -0.02783203125, 0.017120361328125, -0.035247802734375, -0.0164947509765625, 0.0036945343017578125, -0.007366180419921875, 0.01190185546875, 0.00872802734375, -0.005008697509765625, 0.021392822265625, 0.032867431640625, -0.01247406005859375, -0.012298583984375, -0.00811004638671875, -0.06549072265625, 0.0155029296875, -0.021697998046875, 0.003597259521484375, -0.012542724609375, 0.0079803466796875, 0.0019025802612304688, -0.007160186767578125, -0.0029811859130859375, 0.048492431640625, -0.048614501953125, 0.03350830078125, -0.038604736328125, -0.039886474609375, -0.0181884765625, 0.045745849609375, -0.006832122802734375, -0.040008544921875, 0.0200042724609375, -0.032501220703125, 0.01331329345703125, -0.0012950897216796875, -0.0596923828125, -0.01445770263671875, -0.0108489990234375, 0.011810302734375, -0.0119781494140625, -0.0235748291015625, -0.00904083251953125, -0.00170135498046875, -0.02490234375, 0.0286407470703125, -0.012908935546875, -0.0237579345703125, 0.01824951171875, -0.0367431640625, -0.0306396484375, -0.0031890869140625, -0.004161834716796875, -0.02337646484375, -0.0001628398895263672, -0.0302581787109375, -0.00501251220703125, -0.03314208984375, -0.015380859375, -0.0179443359375, 0.01666259765625, -0.01953125, 0.003993988037109375, 0.0474853515625, 0.07977294921875, -0.015655517578125, 0.0010519027709960938, 0.003971099853515625, -0.053741455078125, 0.042449951171875, -0.040679931640625, -0.01348876953125, -0.028411865234375, 0.0305938720703125, 0.07330322265625, 0.050445556640625, 0.0391845703125, -0.0128936767578125, 0.08056640625, -0.00867462158203125, -0.0288238525390625, -0.01506805419921875, 0.00492095947265625, -0.032073974609375, -0.00394439697265625, 0.003185272216796875, -0.0169219970703125, -0.0070648193359375, 0.019805908203125, 0.01003265380859375, -0.0233917236328125, -0.0106964111328125, -0.017425537109375, -0.0048370361328125, -0.0325927734375, 0.0225067138671875, -0.0186767578125, -0.0225982666015625, 0.0191650390625, 0.02886962890625, 0.017791748046875, -0.0022296905517578125, 0.0028514862060546875, 0.045196533203125, -0.0095062255859375, -0.00109100341796875, 0.009002685546875, 0.031524658203125, -0.0240936279296875, -0.03167724609375, 0.009735107421875, -0.0149688720703125, -0.01239013671875, 0.031585693359375, 0.036834716796875, -0.016876220703125, 0.004283905029296875, -0.00014293193817138672, 0.0148468017578125, 0.004528045654296875, -0.01507568359375, 0.010406494140625, -0.027801513671875, -0.06512451171875, 0.012786865234375, 0.047576904296875, 0.037261962890625, 0.007129669189453125, -0.007122039794921875, 0.0070648193359375, -0.039581298828125, -0.033233642578125, -0.0220794677734375, -0.024688720703125, 0.000553131103515625, 0.0254364013671875, -0.000804901123046875, -0.035003662109375, -0.0223541259765625, 0.04266357421875, 0.0278472900390625, -0.0085601806640625, 0.05853271484375, 0.03497314453125, 0.00411224365234375, 0.0011396408081054688, 0.05419921875, 0.0009570121765136719, -0.033203125, 0.026824951171875, -0.018310546875, -0.07366943359375, 0.07666015625, -0.00940704345703125, 0.09716796875, 0.0072784423828125, 0.0243682861328125, 0.0211639404296875, 0.0144195556640625, -0.005016326904296875, 0.0175933837890625, 0.0098114013671875, -0.02984619140625, -0.04541015625, -0.005970001220703125, -0.00695037841796875, -0.038116455078125, -0.0038356781005859375, 0.0081329345703125, -0.034637451171875, 0.053680419921875, 0.0017728805541992188, -0.007610321044921875, 0.01561737060546875, -0.015411376953125, -0.013336181640625, 0.01678466796875, 0.00843048095703125, 0.003177642822265625, -0.0036563873291015625, -0.06854248046875, -0.0223236083984375, 0.0228271484375, -0.014678955078125, -0.033599853515625, -0.0042572021484375, -0.043182373046875, 0.035400390625, 0.0269775390625, 0.002685546875, 0.05670166015625, 0.05621337890625, -0.0255889892578125, -0.02972412109375, -0.052154541015625, -0.0196075439453125, 0.00366973876953125, -0.1275634765625, 0.0780029296875, 0.01611328125, 0.03558349609375, -0.0039520263671875, -0.0118560791015625, 0.026763916015625, -0.046875, 0.0144195556640625, 0.0283355712890625, 0.0213623046875, -0.0167083740234375, -0.025360107421875, 0.01348114013671875, 0.004608154296875, -0.0556640625, -0.0128021240234375, 0.0307464599609375, -0.00850677490234375, 0.01526641845703125, 0.017181396484375, -0.001949310302734375, 0.014892578125, -0.040008544921875, 0.0088348388671875, 0.03802490234375, -0.0004012584686279297, 0.033294677734375, -0.036865234375, 0.0240936279296875, -0.0133819580078125, 0.023590087890625, 0.0017414093017578125, 0.0014276504516601562, 0.0272216796875, -0.0197601318359375, 0.025360107421875, 0.01520538330078125, -0.00827789306640625, -0.010223388671875, 0.0031528472900390625, -0.007080078125, 0.0200958251953125, 0.01861572265625, -0.0036258697509765625, 0.054046630859375, -0.03131103515625, -0.0032291412353515625, 0.028656005859375, 0.02197265625, -0.0150604248046875, 0.0021152496337890625, -0.043701171875, -0.019805908203125, 0.002895355224609375, -0.006877899169921875, -0.00826263427734375, 0.00968170166015625, -0.05596923828125, -0.050567626953125, 0.002887725830078125, 0.0170135498046875, -0.046142578125, 0.0151519775390625, -0.0016727447509765625, -0.026397705078125, 0.0182037353515625, -0.02685546875, 0.042388916015625, -0.040435791015625, 0.01953125, 0.041412353515625, -0.0247802734375, 0.0209197998046875, -0.0018310546875, -0.0308380126953125, 0.012969970703125, 0.0113525390625, -0.0023059844970703125, -0.03375244140625, -0.00843048095703125, 0.036163330078125, 0.026031494140625, 0.04693603515625, -0.00159454345703125, -0.03289794921875, -0.0030059814453125, 0.04046630859375, -0.051055908203125, -0.0430908203125, -0.00998687744140625, -0.06256103515625, -0.00814056396484375, 0.034393310546875, -0.040283203125, -0.01186370849609375, 0.09130859375, 0.0242156982421875, 0.005828857421875, -0.01352691650390625, -0.03497314453125, -0.0211029052734375, -0.032196044921875, 0.05792236328125, 0.0112152099609375, 0.0118560791015625, -0.01253509521484375, 0.0628662109375, -0.021209716796875, -0.07073974609375, -0.05712890625, -0.0281524658203125, -0.006839752197265625, 0.004974365234375, 0.01120758056640625, -0.0115814208984375, -0.00582122802734375, 0.0185394287109375, 0.0097503662109375, 0.01457977294921875, -0.022003173828125, -0.01128387451171875, -0.00927734375, -0.00620269775390625, 0.0090484619140625, 0.01357269287109375, -0.0006546974182128906, 0.02740478515625, 0.00934600830078125, -0.0289154052734375, -0.03399658203125, -0.0009217262268066406, -0.067626953125, -0.038818359375, 0.0421142578125, -0.002765655517578125, -0.0369873046875, -0.0184173583984375, 0.01149749755859375, -0.0014810562133789062, 0.004047393798828125, -0.00005817413330078125, 0.004291534423828125, -0.0079193115234375, 0.01218414306640625, -0.01387786865234375, -0.0264434814453125, -0.023162841796875, 0.01666259765625, -0.033050537109375, 0.0187225341796875, -0.0218353271484375, 0.0419921875, -0.0291595458984375, -0.07373046875, 0.0567626953125, -0.01873779296875, -0.01343536376953125, -0.022705078125, -0.0246734619140625, 0.010772705078125, 0.10040283203125, -0.09454345703125, -0.0302581787109375, -0.004093170166015625, 0.036529541015625, 0.003692626953125, -0.067138671875, 0.0023193359375, -0.06317138671875, -0.01348876953125, -0.0158233642578125, -0.0161285400390625, -0.016815185546875, -0.0181732177734375, 0.03558349609375, 0.0030269622802734375, -0.022796630859375, 0.042236328125, 0.00390625, -0.00885009765625, 0.002384185791015625, -0.0194244384765625, -0.0077667236328125, -0.041351318359375, 0.0013580322265625, -0.039520263671875, -0.01476287841796875, 0.01230621337890625, 0.050048828125, 0.005954742431640625, -0.04248046875, -0.0229034423828125, 0.0300445556640625, 0.0005006790161132812, 0.033843994140625, 0.007328033447265625, 0.0148162841796875, 0.018768310546875, -0.029388427734375, 0.0093841552734375, -0.028228759765625, -0.00921630859375, -0.0546875, 0.0181884765625, -0.0258636474609375, -0.08154296875, -0.028839111328125, -0.08697509765625, 0.0205230712890625, -0.06524658203125, -0.0198822021484375, -0.0026683807373046875, 0.01812744140625, 0.033203125, -0.021484375, -0.018218994140625, -0.06689453125, -0.0194091796875, 0.005565643310546875, -0.0306243896484375, 0.040191650390625, 0.0147857666015625, 0.01401519775390625, 0.005706787109375, -0.0927734375, -0.0302886962890625, 0.0248565673828125, 0.0301361083984375, 0.015106201171875, 0.0083465576171875, -0.01348876953125, 0.04327392578125, -0.006443023681640625, -0.01271820068359375, -0.029022216796875, 0.0302276611328125, -0.01073455810546875, -0.0207672119140625, 0.0227813720703125, -0.03155517578125, 0.0579833984375, 0.01045989990234375, -0.0216064453125, -0.0021991729736328125, -0.020599365234375, 0.044403076171875, -0.01163482666015625, 0.0282745361328125, -0.044281005859375, -0.032867431640625, 0.01165008544921875, -0.003910064697265625, 0.061187744140625, 0.032318115234375, -0.00594329833984375, 0.04095458984375, 0.0205535888671875, 0.0009636878967285156, 0.0233001708984375, 0.031158447265625, -0.0016660690307617188, 0.0221405029296875, 0.0254669189453125, -0.0184326171875, -0.004505157470703125, -0.006496429443359375, 0.042694091796875, -0.0174713134765625, -0.055328369140625, -0.0035190582275390625, -0.026123046875, 0.029388427734375, 0.033477783203125, 0.0290069580078125, 0.05108642578125, -0.008453369140625, 0.0114288330078125, -0.00281524658203125, 0.004772186279296875, -0.0357666015625, -0.033935546875, 0.0258941650390625, 0.0149993896484375, -0.004993438720703125, 0.0232696533203125, 0.0286102294921875, -0.01751708984375, 0.033538818359375, -0.0114898681640625, 0.00887298583984375, -0.000270843505859375, 0.0187225341796875, 0.01548004150390625, 0.01251220703125, -0.01739501953125, 0.0165252685546875, -0.0036945343017578125, 0.00040602684020996094, -0.015960693359375, 0.048583984375, 0.0220184326171875, 0.004978179931640625, 0.017791748046875, -0.03729248046875, -0.01061248779296875, -0.0184783935546875, 0.0101776123046875, 0.036376953125, -0.00152587890625, 0.01132965087890625, -0.000009775161743164062, -0.0051422119140625, 0.0246124267578125, -0.005908966064453125, -0.01244354248046875, -0.03643798828125, -0.002399444580078125, -0.02545166015625, -0.0263671875, -0.00798797607421875, 0.0015153884887695312, -0.0166778564453125, -0.0011577606201171875, 0.006061553955078125, -0.04949951171875, -0.029144287109375, -0.0018711090087890625, -0.0032978057861328125, 0.0034332275390625, -0.0029621124267578125, 0.032257080078125, -0.0265960693359375, -0.027557373046875, -0.0007677078247070312, 0.01531219482421875, 0.06488037109375, 0.04241943359375, -0.035430908203125, -0.00811004638671875, -0.0797119140625, -0.0235595703125, -0.031585693359375, -0.02862548828125, -0.0316162109375, 0.007076263427734375, 0.02197265625, 0.020751953125, 0.0032711029052734375, -0.037811279296875, 0.00801849365234375, -0.01088714599609375, 0.0019245147705078125, -0.006465911865234375, -0.01245880126953125, 0.0780029296875, -0.0205230712890625, 0.069580078125, -0.0013980865478515625, 0.044525146484375, 0.01020050048828125, -0.028656005859375, 0.01308441162109375, -0.09149169921875, -0.018218994140625, 0.034271240234375, -0.064453125, 0.035858154296875, 0.0036907196044921875, 0.0114898681640625, -0.0172576904296875, -0.023834228515625, 0.0071563720703125, -0.0125579833984375, 0.07366943359375, -0.0283355712890625, -0.0285491943359375, 0.034759521484375, 0.0249176025390625, 0.019012451171875, -0.005916595458984375, -0.032928466796875, 0.0267181396484375, 0.02655029296875, 0.0280914306640625, -0.0545654296875, -0.0237579345703125, 0.02740478515625, 0.0416259765625, 0.01113128662109375, 0.043304443359375, 0.0218963623046875, 0.016754150390625, 0.0162200927734375, -0.01282501220703125, 0.0030422210693359375, 0.00644683837890625, 0.0040740966796875, -0.01812744140625, 0.0017757415771484375, -0.0012254714965820312, -0.0143585205078125, -0.0002925395965576172, 0.0272216796875, 0.020477294921875, -0.0732421875, 0.0157928466796875, -0.012939453125, 0.0237579345703125, 0.008514404296875, 0.01678466796875, 0.007266998291015625, -0.007488250732421875, -0.0091552734375, 0.0325927734375, 0.0009288787841796875, 0.0181121826171875, 0.0087127685546875, -0.019439697265625, -0.0130767822265625, -0.0369873046875, 0.003082275390625, -0.042083740234375, 0.039825439453125, 0.0357666015625, 0.025665283203125, -0.04290771484375, -0.0338134765625, 0.06488037109375, -0.0265960693359375, -0.0302886962890625, 0.0726318359375, -0.040313720703125, 0.041717529296875, -0.01274871826171875, 0.0212249755859375, -0.006397247314453125, 0.03643798828125, -0.015350341796875, 0.009521484375, 0.0189208984375, -0.0281219482421875, -0.0223541259765625, -0.020355224609375, -0.0231170654296875, 0.00017261505126953125, -0.01413726806640625, 0.00904083251953125, -0.030731201171875, -0.009185791015625, -0.0007758140563964844, 0.018951416015625, 0.04278564453125, -0.0197296142578125, -0.0222320556640625, 0.0286865234375, 0.0183563232421875, -0.0004444122314453125, 0.0228729248046875, -0.049102783203125, -0.01312255859375, -0.00494384765625, -0.0020904541015625, -0.041168212890625, 0.05633544921875, 0.0279083251953125, -0.060699462890625, 0.125, -0.016204833984375, 0.0487060546875, 0.035186767578125, 0.051025390625, -0.0264434814453125, 0.0318603515625, -0.01141357421875, 0.07049560546875, -0.0199737548828125, 0.02862548828125, -0.028839111328125, -0.003665924072265625, 0.0234832763671875, 0.031005859375, 0.012359619140625, 0.010009765625, -0.022705078125, 0.0098876953125, 0.0311737060546875, 0.0164794921875, -0.0076904296875, 0.0369873046875, -0.00421142578125, 0.0111846923828125, 0.0207977294921875, -0.006855010986328125, 0.03155517578125, -0.00969696044921875, -0.026641845703125, 0.0108489990234375, -0.0007681846618652344, -0.02081298828125, 0.0017070770263671875, -0.0290069580078125, -0.02777099609375, 0.0016765594482421875, -0.01103973388671875, 0.03448486328125, 0.01161956787109375, 0.059112548828125, 0.0509033203125, -0.0181427001953125, -0.0020275115966796875, -0.0305023193359375, 0.058837890625, -0.002166748046875, 0.017547607421875, 0.0289459228515625, 0.01293182373046875, 0.031982421875, 0.003292083740234375, 0.0096435546875, 0.03253173828125, -0.0341796875, 0.03668212890625, -0.0197296142578125, 0.01198577880859375, -0.099609375, -0.0172271728515625, 0.0207672119140625, 0.046783447265625, -0.0345458984375, -0.046722412109375, 0.00942230224609375, -0.00354766845703125, 0.0011844635009765625, 0.0021953582763671875, 0.002895355224609375, 0.0051116943359375, 0.044677734375, 0.006389617919921875, -0.046234130859375, -0.02301025390625, 0.05364990234375, 0.002429962158203125, -0.01020050048828125, 0.020294189453125, -0.061767578125, -0.059906005859375, 0.0273284912109375, 0.015045166015625, 0.07421875, 0.0103759765625, 0.07049560546875, -0.024017333984375, -0.03192138671875, -0.01056671142578125, 0.056396484375, -0.0023021697998046875, -0.00494384765625, -0.03277587890625, -0.039886474609375, -0.01084136962890625, 0.021820068359375, 0.04473876953125, 0.035186767578125, 0.0391845703125, 0.064453125, 0.037811279296875, -0.00420379638671875, 0.0269317626953125, -0.0003604888916015625, 0.031097412109375, -0.047454833984375, 0.0255279541015625, 0.0096435546875, -0.0128936767578125, -0.0013608932495117188, -0.0017251968383789062, 0.040863037109375, 0.0084686279296875, -0.00876617431640625, 0.00988006591796875, -0.0482177734375, 0.017120361328125, -0.01145172119140625, 0.050048828125, 0.020538330078125, -0.11126708984375, -0.00789642333984375, -0.01953125, -0.058441162109375, 0.033355712890625, 0.04144287109375, -0.05059814453125, 0.01488494873046875, 0.06585693359375, 0.0265045166015625, -0.00897216796875, -0.04449462890625, 0.0267791748046875, -0.0132293701171875, 0.0391845703125, 0.037139892578125, -0.084716796875, -0.053314208984375, -0.0258941650390625, 0.037353515625, -0.0031642913818359375, 0.0924072265625, -0.00860595703125, 0.0219573974609375, 0.066650390625, -0.00891876220703125, 0.05401611328125, 0.040557861328125, 0.0501708984375, -0.01078033447265625, -0.005100250244140625, -0.038330078125, -0.0209197998046875, 0.0296478271484375, 0.0231475830078125, -0.0189971923828125, 0.0047149658203125, -0.016937255859375, 0.00466156005859375, -0.005413055419921875, 0.06829833984375, -0.004680633544921875, -0.005176544189453125, -0.035980224609375, -0.0151519775390625, 0.06048583984375, 0.060333251953125, -0.0080718994140625, -0.004596710205078125, 0.0196990966796875, -0.0225372314453125, 0.0130615234375, -0.004974365234375, 0.024658203125, 0.0244293212890625, -0.00597381591796875, -0.03411865234375, 0.0267791748046875, 0.00021529197692871094, 0.01189422607421875, 0.01015472412109375, 0.059906005859375, 0.0254364013671875, -0.0016069412231445312, 0.0035419464111328125, 0.00003361701965332031, -0.0005960464477539062, -0.04180908203125, -0.0213623046875, 0.03619384765625, -0.0114288330078125, 0.006317138671875, -0.0126495361328125, -0.026031494140625, -0.0203704833984375, 0.0008902549743652344, 0.01445770263671875, -0.0079345703125, -0.0306243896484375, -0.0721435546875, -0.0228271484375, 0.006603240966796875, -5.960464477539062e-7, -0.029998779296875, 0.031341552734375, -0.0265655517578125, -0.0220794677734375, -0.02313232421875, -0.0111083984375, 0.01233673095703125, -0.004886627197265625, -0.034912109375, 0.0185394287109375, -0.022735595703125, -0.01317596435546875, 0.0095977783203125, 0.00867462158203125, 0.00847625732421875, -0.019927978515625, 0.0241851806640625, 0.0338134765625, 0.0298919677734375, 0.09521484375, 0.04461669921875, -0.0056610107421875, 0.041778564453125, 0.0007162094116210938, -0.0223388671875, -0.0631103515625, -0.003208160400390625, -0.0301361083984375, 0.00800323486328125, 0.00873565673828125, -0.01470947265625, -0.009857177734375, -0.042938232421875, -0.06884765625, 0.10491943359375, -0.0177154541015625, -0.019195556640625, -0.0592041015625, 0.0109710693359375, -0.00943756103515625, -0.0125732421875, -0.017486572265625, -0.0202178955078125, -0.007808685302734375, 0.0469970703125, 0.02008056640625, 0.028167724609375, 0.0265350341796875, 0.03326416015625, -0.005992889404296875, 0.038177490234375, 0.020050048828125, -0.00028634071350097656, 0.00882720947265625, -0.0018453598022460938, 0.0175018310546875, 0.037078857421875, -0.040130615234375, -0.024932861328125, -0.0153045654296875, 0.000713348388671875, 0.0266265869140625, -0.02471923828125, -0.03338623046875, 0.004150390625, 0.048004150390625, 0.03179931640625, 0.0222625732421875, -0.038787841796875, 0.04888916015625, -0.040191650390625, -0.06610107421875, -0.004146575927734375, 0.0204315185546875, -0.0306396484375, 0.018585205078125, 0.0205841064453125, -0.022125244140625, 0.056915283203125, 0.00860595703125, -0.0174102783203125, -0.0022182464599609375, -0.003421783447265625, -0.019561767578125, -0.07379150390625, 0.04443359375, 0.01274871826171875, -0.0261077880859375, -0.0286407470703125, 0.0157928466796875, -0.032806396484375, -0.02191162109375, -0.00017821788787841797, -0.0243072509765625, 0.02410888671875, -0.0277862548828125, -0.0019235610961914062, -0.004314422607421875, 0.021484375, -0.01904296875, 0.026702880859375, -0.0085906982421875, 0.036773681640625, 0.006946563720703125, 0.05078125, -0.03717041015625, 0.03558349609375, 0.0083465576171875, 0.018890380859375, -0.0108489990234375, 0.087158203125, -0.004993438720703125, 0.036834716796875, -0.005298614501953125, -0.00698089599609375, 0.0225677490234375, -0.03472900390625, 0.0037288665771484375, 0.01253509521484375, -0.032684326171875, -0.0261688232421875, 0.0091400146484375, -0.0037708282470703125, -0.0023040771484375, 0.0092926025390625 ]
36ebfdd0d4a1831db07ecf2434b6999a74760716
Wordpress Stackexchange Q: what is the way to see the currently executing query in wordpress? I am working on wordpress which is new to me Now I have been provided with site completely designed in wp But the problem is I am unable to search the query for each functionality/page I found $wpdb->get_results used for getting result from database also this is not working $wpdb->queries Is there any way to print each query currently executing?. Please Help. A: I often do this when I need to check the current query: add_action( 'wp_head', 'show_current_query' ); function show_current_query() { global $wp_query; if ( !isset( $_GET['q'] ) ) return; echo '<textarea cols="50" rows="10">'; print_r( $wp_query ); echo '</textarea>'; } To show the current query, just add ?q into the current URL. This will show the current query (stored in global variable $wp_query), including the SQL query and all other query variables.
Q: what is the way to see the currently executing query in wordpress? I am working on wordpress which is new to me Now I have been provided with site completely designed in wp But the problem is I am unable to search the query for each functionality/page I found $wpdb->get_results used for getting result from database also this is not working $wpdb->queries Is there any way to print each query currently executing?. Please Help. A: I often do this when I need to check the current query: add_action( 'wp_head', 'show_current_query' ); function show_current_query() { global $wp_query; if ( !isset( $_GET['q'] ) ) return; echo '<textarea cols="50" rows="10">'; print_r( $wp_query ); echo '</textarea>'; } To show the current query, just add ?q into the current URL. This will show the current query (stored in global variable $wp_query), including the SQL query and all other query variables. A: For $wpdb->queries to work you need to configure in wp-config.php: define('SAVEQUERIES', true); This is highly not recommended for production (heavy performance hit) and so turned off by default. A: I prefer Debug Bar. A: Debug bar is one of the recommended (by WordPress) plugins to install for theme and plugin development. I also use debug-bar-extender: http://wordpress.org/extend/plugins/debug-bar-extender/ A: No need to install any plugin, you can use this: $queried_object = get_queried_object(); var_dump( $queried_object ); Source: Codex A: The global $wp_query contains everything about the current query, including the arguments, results, contents of the results, and the query itself. $wp_query->request should do the job for you here. A: You could also use the WPDB Profiling plugin that will display all SQL statements that were run to generate the page you're currently on, at the bottom of the page. A: You can use the Wp Pear Debug plugin. It will show you a list of the queries executed in the page, the number of seconds those queries took to execute and the php function which initiated the query. Please note that you must save the settings at least once before it begins working. A: <?php $wpdb->show_errors(); ?> // use syntax just before your query <?php $wpdb->print_error(); ?> // user after your query execution Ie. <?php $wpdb->show_errors(); $id=$wpdb->update('table_name',$array,$condition); $wpdb->print_error(); ?>
wordpress
{ "language": "en", "length": 363, "provenance": "stackexchange_00019.jsonl.gz:414476", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33261" }
[ 0.060150146484375, 0.00672149658203125, -0.0251007080078125, -0.021270751953125, 0.034332275390625, -0.047088623046875, 0.05999755859375, -0.007965087890625, 0.032379150390625, 0.0300445556640625, -0.047943115234375, -0.0142059326171875, 0.00408935546875, -0.01253509521484375, -0.0184783935546875, -0.0222930908203125, 0.06866455078125, -0.066650390625, 0.0073699951171875, 0.013916015625, -0.029815673828125, 0.0579833984375, 0.0504150390625, 0.06854248046875, -0.0100250244140625, -0.053253173828125, 0.1070556640625, -0.0025577545166015625, 0.003688812255859375, -0.022674560546875, 0.007289886474609375, 0.0026226043701171875, -0.01538848876953125, 0.04107666015625, 0.006855010986328125, 0.0001976490020751953, 0.031280517578125, 0.011962890625, 0.0396728515625, 0.017913818359375, 0.0177001953125, -0.01462554931640625, -0.00817108154296875, -0.017730712890625, -0.0199737548828125, -0.048675537109375, 0.047393798828125, -0.00890350341796875, -0.002643585205078125, 0.033416748046875, 0.029296875, 0.032135009765625, 0.036773681640625, 0.010589599609375, -0.00928497314453125, 0.004634857177734375, -0.01458740234375, -0.015228271484375, 0.029571533203125, -0.01183319091796875, -0.006908416748046875, -0.0203857421875, 0.018280029296875, 0.002887725830078125, 0.00042724609375, 0.0225982666015625, 0.0791015625, 0.0181121826171875, -0.0129241943359375, -0.03582763671875, -0.00720977783203125, 0.01418304443359375, -0.0020198822021484375, 0.01036834716796875, -0.0102386474609375, -0.051910400390625, 0.0287933349609375, -0.02960205078125, 0.0034351348876953125, 0.039276123046875, 0.006946563720703125, -0.012542724609375, -0.0806884765625, 0.033721923828125, 0.00321197509765625, 0.053466796875, -0.00016880035400390625, -0.0303955078125, 0.0026798248291015625, -0.037322998046875, -0.005687713623046875, 0.0014591217041015625, -0.0272369384765625, -0.023956298828125, -0.014739990234375, -0.06268310546875, -0.01136016845703125, 0.0089263916015625, -0.0211334228515625, -0.0130157470703125, -0.031494140625, -0.006000518798828125, -0.03271484375, -0.0125885009765625, 0.005542755126953125, 0.0252532958984375, 0.00954437255859375, 0.01544189453125, 0.02880859375, 0.0170745849609375, -0.004009246826171875, 0.0018310546875, -0.027313232421875, -0.021026611328125, -0.01549530029296875, 0.033782958984375, -0.037933349609375, 0.0006093978881835938, 0.0127105712890625, -0.005947113037109375, 0.016387939453125, 0.039794921875, -0.0165863037109375, -0.0034942626953125, 0.00997161865234375, -0.0001691579818725586, -0.006206512451171875, -0.02313232421875, -0.01206207275390625, 0.0279998779296875, -0.02386474609375, -0.015899658203125, 0.035369873046875, 0.036895751953125, 0.0094146728515625, -0.016876220703125, 0.043975830078125, -0.0189208984375, 0.0162353515625, 0.002872467041015625, 0.01038360595703125, -0.0175018310546875, -0.0018825531005859375, -0.01033782958984375, 0.0091552734375, 0.0141448974609375, 0.041748046875, 0.01421356201171875, -0.040252685546875, 0.00243377685546875, -0.0287628173828125, 0.040252685546875, 0.005031585693359375, 0.0004398822784423828, -0.01145172119140625, 0.00643157958984375, -0.015472412109375, -0.00281524658203125, -0.0128936767578125, 0.01165008544921875, 0.020416259765625, 0.0092620849609375, 0.0325927734375, -0.009613037109375, -0.00994873046875, -0.042205810546875, -0.055419921875, 0.0114288330078125, 0.0273284912109375, 0.0084075927734375, 0.004299163818359375, -0.02386474609375, 0.08660888671875, -0.008758544921875, -0.040771484375, -0.003360748291015625, -0.0234222412109375, 0.0017175674438476562, 0.0205078125, 0.0078125, -0.00982666015625, -0.01358795166015625, 0.05035400390625, 0.0003521442413330078, -0.0146026611328125, 0.030120849609375, -0.00258636474609375, -0.0005130767822265625, -0.00864410400390625, 0.01084136962890625, 0.003917694091796875, 0.04693603515625, -0.0426025390625, 0.054443359375, 0.01322174072265625, -0.031890869140625, -0.038787841796875, -0.0156402587890625, -0.0234527587890625, -0.031982421875, 0.0048370361328125, 0.041412353515625, -0.031341552734375, -0.00604248046875, -0.1092529296875, 0.026336669921875, -0.03143310546875, 0.057098388671875, 0.020355224609375, 0.01337432861328125, 0.0236968994140625, 0.004741668701171875, -0.025390625, -0.03741455078125, -0.0592041015625, 0.026763916015625, -0.022003173828125, 0.033416748046875, -0.00920867919921875, 0.0303802490234375, -0.019775390625, -0.020721435546875, -0.02783203125, -0.0224609375, 0.04266357421875, -0.02947998046875, -0.0078887939453125, -0.029296875, 0.045684814453125, -0.024261474609375, 0.01325225830078125, 0.0255584716796875, 0.0236968994140625, 0.053558349609375, -0.0073699951171875, -0.03326416015625, -0.0021915435791015625, -0.03765869140625, 0.019561767578125, 0.04193115234375, 0.041961669921875, 0.044677734375, 0.00799560546875, 0.001651763916015625, 0.05181884765625, -0.07098388671875, 0.0012054443359375, -0.0166473388671875, 0.0293731689453125, 0.047332763671875, -0.0057220458984375, -0.023162841796875, 0.0207672119140625, 0.0084991455078125, -0.001861572265625, 0.018768310546875, -0.00574493408203125, 0.0010595321655273438, -0.0090484619140625, 0.006439208984375, -0.0148468017578125, 0.00926971435546875, 0.007381439208984375, -0.006580352783203125, -0.0015497207641601562, 0.01438140869140625, 0.0279693603515625, 0.0204010009765625, 0.0034275054931640625, -0.003597259521484375, 0.0017576217651367188, -0.01934814453125, -0.00656890869140625, 0.0188446044921875, -0.040283203125, -0.009246826171875, -0.01470947265625, 0.01593017578125, -0.0252685546875, -0.01386260986328125, -0.005756378173828125, 0.027557373046875, -0.052154541015625, -0.01165771484375, -0.00328826904296875, -0.02862548828125, -0.017333984375, 0.00872802734375, 0.0229034423828125, 0.016082763671875, 0.03240966796875, 0.032562255859375, -0.0241241455078125, 0.0716552734375, -0.0504150390625, 0.0032978057861328125, 0.0631103515625, -0.034088134765625, 0.0232391357421875, -0.0011491775512695312, 0.07763671875, 0.06787109375, -0.0098114013671875, 0.0276031494140625, -0.00910186767578125, -0.01849365234375, 0.007122039794921875, -0.0267791748046875, -0.040008544921875, 0.0257110595703125, -0.11224365234375, -0.0073394775390625, 0.0130615234375, 0.0170745849609375, -0.010772705078125, -0.037689208984375, -0.020843505859375, -0.0012035369873046875, -0.094970703125, -0.08135986328125, -0.06280517578125, -0.07861328125, -0.016754150390625, -0.00982666015625, -0.0256805419921875, 0.043182373046875, -0.00128173828125, 0.019195556640625, -0.0279541015625, -0.026641845703125, -0.0535888671875, -0.0540771484375, -0.045928955078125, 0.03472900390625, -0.009033203125, 0.008575439453125, -0.00919342041015625, 0.103515625, 0.0227508544921875, -0.052825927734375, -0.00762939453125, -0.0084228515625, -0.03472900390625, 0.0036716461181640625, 0.0159454345703125, -0.0038089752197265625, 0.024688720703125, 0.0120391845703125, 0.0153350830078125, 0.0372314453125, -0.036285400390625, -0.0205841064453125, 0.038238525390625, 0.0185699462890625, 0.04583740234375, 0.0034637451171875, -0.057342529296875, 0.00826263427734375, 0.006603240966796875, -0.058624267578125, -0.0105743408203125, -0.0235137939453125, -0.05291748046875, -0.0077056884765625, 0.04083251953125, -0.0078125, -0.0102996826171875, -0.03289794921875, 0.0433349609375, 0.012939453125, 0.01328277587890625, -0.0241851806640625, 0.05609130859375, 0.0189971923828125, 0.047882080078125, -0.0292205810546875, 0.03485107421875, -0.01715087890625, 0.035552978515625, 0.024627685546875, 0.022186279296875, 0.01238250732421875, 0.01031494140625, -0.006473541259765625, 0.0072784423828125, 0.0294342041015625, 0.0031604766845703125, 0.0008802413940429688, 0.00934600830078125, -0.0205535888671875, 0.005817413330078125, 0.06011962890625, -0.01436614990234375, 0.0001970529556274414, 0.0171966552734375, 0.00936126708984375, -0.06939697265625, -0.03741455078125, -0.0787353515625, -0.002185821533203125, -0.060577392578125, 0.00856781005859375, -0.0248565673828125, -0.024169921875, -0.01080322265625, -0.0257110595703125, -0.043212890625, -0.049346923828125, 0.0256195068359375, -0.0185394287109375, -0.0243377685546875, -0.00116729736328125, -0.0499267578125, -0.01971435546875, -0.007808685302734375, -0.01297760009765625, -0.1038818359375, -0.0178985595703125, -0.02386474609375, 0.0875244140625, 0.0259552001953125, -0.036590576171875, -0.012786865234375, 0.056488037109375, -0.0080108642578125, 0.0155792236328125, 0.0233001708984375, 0.0225982666015625, 0.0263519287109375, -0.00959014892578125, 0.00681304931640625, -0.035552978515625, -0.005779266357421875, -0.0174102783203125, 0.01251220703125, -0.0296783447265625, -0.049224853515625, -0.04443359375, -0.0302276611328125, -0.00667572021484375, -0.026641845703125, -0.0163116455078125, -0.00739288330078125, 0.0367431640625, -0.0301666259765625, 0.0286102294921875, -0.006473541259765625, -0.031951904296875, 0.0625, -0.0282135009765625, -0.0086517333984375, -0.007106781005859375, 0.07855224609375, 0.01149749755859375, -0.00972747802734375, -0.00536346435546875, -0.01397705078125, 0.037261962890625, 0.0259552001953125, -0.006732940673828125, -0.005184173583984375, -0.034088134765625, 0.01468658447265625, 0.023345947265625, 0.00395965576171875, 0.01041412353515625, 0.019622802734375, 0.011566162109375, -0.006618499755859375, -0.0032901763916015625, 0.005710601806640625, 0.0034503936767578125, 0.0090484619140625, -0.0182647705078125, -0.0430908203125, 0.015838623046875, 0.06256103515625, -0.041778564453125, 0.0765380859375, -0.011016845703125, -0.007633209228515625, -0.00830078125, 0.0246734619140625, 0.039031982421875, 0.049072265625, -0.0106048583984375, 0.02960205078125, 0.0367431640625, -0.006229400634765625, -0.00032019615173339844, 0.034027099609375, 0.005764007568359375, 0.0302276611328125, -0.005489349365234375, 0.0022335052490234375, -0.03564453125, -0.0167083740234375, 0.07257080078125, -0.01558685302734375, -0.0570068359375, 0.033660888671875, -0.0372314453125, 0.0017843246459960938, 0.0472412109375, 0.007762908935546875, 0.026458740234375, 0.045318603515625, 0.00464630126953125, 0.004932403564453125, 0.003551483154296875, 0.003131866455078125, -0.0218505859375, -0.0002275705337524414, -0.025665283203125, 0.0014362335205078125, 0.0233612060546875, 0.05352783203125, -0.0687255859375, 0.07476806640625, -0.0016145706176757812, -0.0034236907958984375, -0.0181732177734375, -0.004058837890625, 0.0049285888671875, 0.0157012939453125, 0.032745361328125, -0.034423828125, 0.044921875, -0.0151214599609375, 0.00418853759765625, -0.00823974609375, -0.007740020751953125, -0.010162353515625, -0.01306915283203125, 0.04461669921875, 0.01335906982421875, -0.00701141357421875, 0.052215576171875, 0.0570068359375, -0.0024852752685546875, -0.046905517578125, -0.04052734375, 0.040863037109375, 0.022674560546875, 0.001842498779296875, 0.04425048828125, -0.004009246826171875, 0.05047607421875, -0.010284423828125, 0.033843994140625, -0.01554107666015625, -0.033203125, -0.0005354881286621094, -0.0245361328125, 0.004558563232421875, -0.0340576171875, 0.0103302001953125, -0.0288238525390625, -0.016326904296875, 0.024749755859375, 0.0023555755615234375, 0.03436279296875, -0.04345703125, -0.01067352294921875, 0.0255126953125, -0.01491546630859375, 0.07147216796875, 0.02325439453125, -0.0279388427734375, -0.027801513671875, -0.049591064453125, -0.022613525390625, 0.042266845703125, -0.00424957275390625, -0.01068115234375, -0.0147247314453125, 0.02227783203125, 0.005870819091796875, 0.01085662841796875, -0.01493072509765625, -0.047637939453125, 0.03985595703125, 0.031768798828125, 0.030426025390625, -0.0261383056640625, 0.10919189453125, -0.0058441162109375, 0.07080078125, 0.00323486328125, 0.0270233154296875, -0.056793212890625, 0.006900787353515625, 0.033447265625, -0.0034542083740234375, -0.040435791015625, -0.04742431640625, -0.0217437744140625, -0.00769805908203125, 0.0506591796875, -0.0184173583984375, 0.011932373046875, 0.0026111602783203125, 0.007404327392578125, -0.005992889404296875, -0.00771331787109375, 0.020294189453125, -0.007236480712890625, 0.053863525390625, -0.0241546630859375, -0.03094482421875, -0.0303192138671875, 0.00647735595703125, 0.004787445068359375, -0.01293182373046875, -0.0173492431640625, 0.00984954833984375, -0.012908935546875, 0.0308074951171875, 0.08526611328125, -0.0048370361328125, 0.053375244140625, 0.00959014892578125, 0.00977325439453125, 0.019195556640625, 0.0216522216796875, -0.01251220703125, 0.0120849609375, 0.05450439453125, 0.01390838623046875, -0.00537872314453125, 0.027069091796875, -0.0237579345703125, 0.0169677734375, 0.0207366943359375, 0.04638671875, -0.043975830078125, 0.0216217041015625, 0.01082611083984375, -0.02178955078125, 0.0248260498046875, 0.0034656524658203125, -0.006900787353515625, -0.03631591796875, 0.0021877288818359375, 0.043060302734375, -0.0139923095703125, 0.0019369125366210938, 0.0167999267578125, 0.01641845703125, -0.0268096923828125, 0.07025146484375, -0.00963592529296875, -0.051177978515625, -0.004241943359375, 0.032958984375, -0.0103302001953125, -0.0250396728515625, 0.017913818359375, -0.00003039836883544922, 0.041473388671875, -0.01934814453125, 0.0711669921875, -0.038665771484375, 0.05157470703125, -0.01529693603515625, 0.023284912109375, -0.0242919921875, 0.06597900390625, -0.04046630859375, 0.03997802734375, 0.047454833984375, -0.020111083984375, -0.04742431640625, -0.00749969482421875, 0.0164794921875, 0.051788330078125, -0.056182861328125, 0.03790283203125, -0.04656982421875, 0.01456451416015625, -0.00153350830078125, -0.01319122314453125, 0.0550537109375, -0.022308349609375, -0.01454925537109375, 0.0277862548828125, 0.005947113037109375, -0.0024662017822265625, -0.014739990234375, -0.03729248046875, -0.035614013671875, 0.0013885498046875, -0.025360107421875, -0.0175323486328125, 0.03668212890625, -0.0270538330078125, -0.04803466796875, 0.03192138671875, -0.0027313232421875, 0.0111541748046875, 0.043701171875, -0.00897216796875, -0.0243988037109375, -0.024810791015625, -0.04449462890625, 0.07257080078125, -0.011749267578125, 0.089111328125, -0.0645751953125, -0.01438140869140625, 0.042877197265625, 0.042877197265625, 0.049835205078125, 0.01410675048828125, 0.004795074462890625, -0.00707244873046875, 0.032958984375, 0.034759521484375, -0.0267791748046875, 0.0218505859375, 0.013824462890625, 0.0206451416015625, 0.05224609375, -0.0201263427734375, 0.02239990234375, 0.0062408447265625, -0.01129913330078125, 0.0509033203125, 0.01418304443359375, 0.0048828125, -0.006011962890625, 0.0167388916015625, 0.0142669677734375, -0.012298583984375, -0.0025081634521484375, -0.0190582275390625, 0.0142059326171875, 0.051116943359375, 0.05340576171875, -0.07806396484375, -0.00836181640625, -0.038177490234375, 0.052490234375, 0.0006823539733886719, 0.01233673095703125, 0.01348876953125, 0.0110931396484375, 0.043670654296875, -0.0257415771484375, -0.00605010986328125, 0.007266998291015625, -0.0157318115234375, 0.074462890625, 0.0266571044921875, 0.055389404296875, -0.013092041015625, -0.00878143310546875, 0.0172882080078125, 0.08099365234375, -0.038055419921875, -0.044952392578125, 0.0135040283203125, -0.0178680419921875, -0.00890350341796875, -0.00342559814453125, -0.00577545166015625, 0.057464599609375, 0.06561279296875, -0.01275634765625, -0.038055419921875, -0.0199737548828125, -0.002063751220703125, -0.01151275634765625, 0.01024627685546875, 0.0601806640625, -0.0287017822265625, -0.0014276504516601562, -0.035369873046875, 0.005023956298828125, 0.045135498046875, 0.0202178955078125, 0.0187835693359375, -0.038482666015625, -0.0037822723388671875, -0.03863525390625, 0.039154052734375, -0.06475830078125, 0.07623291015625, -0.079345703125, -0.0401611328125, -0.04425048828125, 0.06561279296875, 0.05303955078125, 0.00701141357421875, 0.0206146240234375, 0.006488800048828125, 0.004016876220703125, 0.0080718994140625, 0.03411865234375, -0.00807952880859375, -0.0261077880859375, -0.0267486572265625, 0.007320404052734375, 0.0192108154296875, 0.0151824951171875, 0.00594329833984375, 0.049774169921875, 0.0004544258117675781, -0.02685546875, 0.0323486328125, -0.00844573974609375, -0.011962890625, -0.01198577880859375, -0.0360107421875, 0.0038623809814453125, -0.0220794677734375, -0.08221435546875, -0.01739501953125, -0.039306640625, -0.005977630615234375, 0.0401611328125, 0.038177490234375, 0.01346588134765625, -0.00031113624572753906, 0.0198974609375, 0.01303863525390625, -0.01165008544921875, -0.0160369873046875, 0.035064697265625, 0.008544921875, 0.0029544830322265625, 0.034423828125, -0.06549072265625, -0.02508544921875, -0.0044708251953125, -0.005992889404296875, 0.0066375732421875, 0.042694091796875, 0.01380157470703125, 0.01126861572265625, 0.033447265625, -0.0014362335205078125, 0.00260162353515625, 0.00921630859375, 0.0477294921875, -0.033660888671875, -0.0218963623046875, -0.005886077880859375, -0.0283203125, 0.0169525146484375, 0.034912109375, -0.0225067138671875, 0.025848388671875, -0.02325439453125, 0.020751953125, -0.0264129638671875, 0.01433563232421875, -0.011993408203125, 0.027923583984375, 0.05517578125, -0.00212860107421875, 0.0310516357421875, 0.003322601318359375, -0.0008788108825683594, -0.007564544677734375, 0.045013427734375, -0.01812744140625, 0.032470703125, 0.021240234375, 0.06353759765625, 0.048065185546875, -0.0150299072265625, 0.054840087890625, -0.00545501708984375, -0.0280303955078125, 0.0196990966796875, 0.01387786865234375, -0.041656494140625, 0.012054443359375, 0.014129638671875, -0.03472900390625, -0.0565185546875, 0.0195465087890625, -0.00020122528076171875, 0.0039825439453125, -0.054473876953125, 0.0175628662109375, 0.0002677440643310547, -0.01532745361328125, -0.0230255126953125, 0.00533294677734375, -0.0172882080078125, 0.0157470703125, 0.01434326171875, -0.024200439453125, -0.0312347412109375, -0.0294952392578125, 0.023162841796875, 0.0025482177734375, -0.0154876708984375, 0.0007958412170410156, -0.0185089111328125, -0.0062713623046875, -0.0114288330078125, -0.00994873046875, 0.00873565673828125, 0.0306396484375, -0.00933837890625, 0.0144500732421875, -0.006359100341796875, -0.0078582763671875, 0.01373291015625, 0.004093170166015625, 0.00010478496551513672, -0.00274658203125, -0.0137786865234375, 0.000885009765625, -0.00701141357421875, 0.041595458984375, 0.03997802734375, -0.0229644775390625, 0.00921630859375, 0.0035305023193359375, -0.042633056640625, 0.01374053955078125, 0.03814697265625, -0.00531005859375, -0.032867431640625, -0.01105499267578125, 0.031951904296875, 0.050018310546875, -0.01534271240234375, -0.08172607421875, 0.00940704345703125, -0.016357421875, -0.04217529296875, -0.033477783203125, 0.03436279296875, 0.01806640625, -0.0394287109375, -0.0232391357421875, -0.003620147705078125, -0.01507568359375, -0.0010824203491210938, 0.015380859375, 0.0279693603515625, 0.028961181640625, -0.00194549560546875, -0.0621337890625, -0.007068634033203125, -0.0382080078125, 0.039215087890625, 0.00313568115234375, 0.004230499267578125, -0.00588226318359375, 0.0269927978515625, -0.0374755859375, -0.007381439208984375, -0.027435302734375, 0.003818511962890625, -0.0180511474609375, 0.0247039794921875, -0.0218963623046875, 0.01088714599609375, 0.0178375244140625, 0.07977294921875, 0.0087127685546875, -0.0289459228515625, -0.0261383056640625, 0.0147552490234375, -0.03399658203125, -0.0026645660400390625, 0.02679443359375, -0.06329345703125, -0.0060882568359375, -0.0025539398193359375, 0.00029730796813964844, -0.038848876953125, 0.0271759033203125, -0.031585693359375, -0.0171356201171875, -0.01065826416015625, 0.001628875732421875, -0.030120849609375, -0.02276611328125, 0.056732177734375, -0.05084228515625, -0.04656982421875, 0.02264404296875, -0.0017833709716796875, -0.0092926025390625, -0.007518768310546875, 0.0011272430419921875, 0.040252685546875, -0.0126190185546875, -0.0205535888671875, 0.033782958984375, -0.0294189453125, 0.020965576171875, 0.00830841064453125, -0.017669677734375, 0.0232086181640625, 0.0041046142578125, 0.02996826171875, -0.0198822021484375, 0.0484619140625, 0.01177215576171875, 0.04473876953125, 0.0097503662109375, 0.0213623046875, -0.00655364990234375, 0.036468505859375, 0.005397796630859375, -0.0156097412109375, 0.033294677734375, -0.01213836669921875, 0.00008857250213623047, -0.0188140869140625, -0.0291900634765625, -0.03765869140625, -0.005542755126953125, 0.052337646484375, -0.004180908203125, 0.023956298828125 ]
caf5d7036d2763ab61a914ab0eb9abc2d9848ce1
Wordpress Stackexchange Q: Forcing reload of editor-style.css Is there a method to force the refresh of editor-style.css, when I change manually the stylesheet for the TinyMCE editor? Modification doesn't show immediately but they will be cached in the admin side of administration backend. For example like this: editor-style.css?ver=3393201 A: I couldn't get toscho's answer to work for the current version of WordPress (4.7.2), and that seems to be because the TinyMCE init array has a cache_suffix set to 'wp-mce-' . $tinymce_version. So instead, you can just overwrite that with the tiny_mce_before_init filter, like so: function wpse33318_tiny_mce_before_init( $mce_init ) { $mce_init['cache_suffix'] = 'v=123'; return $mce_init; } add_filter( 'tiny_mce_before_init', 'wpse33318_tiny_mce_before_init' ); Of course, this isn't nearly as good as filemtime(), but at least this works in 4.7.2. Note: This also adds the cache buster to other editor styles (like skin.min.css, content.min.css, dashicons.min.css, and wp-content.css)
Q: Forcing reload of editor-style.css Is there a method to force the refresh of editor-style.css, when I change manually the stylesheet for the TinyMCE editor? Modification doesn't show immediately but they will be cached in the admin side of administration backend. For example like this: editor-style.css?ver=3393201 A: I couldn't get toscho's answer to work for the current version of WordPress (4.7.2), and that seems to be because the TinyMCE init array has a cache_suffix set to 'wp-mce-' . $tinymce_version. So instead, you can just overwrite that with the tiny_mce_before_init filter, like so: function wpse33318_tiny_mce_before_init( $mce_init ) { $mce_init['cache_suffix'] = 'v=123'; return $mce_init; } add_filter( 'tiny_mce_before_init', 'wpse33318_tiny_mce_before_init' ); Of course, this isn't nearly as good as filemtime(), but at least this works in 4.7.2. Note: This also adds the cache buster to other editor styles (like skin.min.css, content.min.css, dashicons.min.css, and wp-content.css) A: I had the same issue (2012, WP 3.4.2 !!). Possible solutions while this bug is around: 1) If you use firebug, [x]Disable Browser Cache in the Net panel helps. I even had a very strange issue, that the cached editor-style briefly appears (in a css-filtered) Firebug net panel for a split second, than disappears again. Took screenshots to prove to myself. 2) A full browser cache clear helps. For whatever reason thereafter the issue did not reappear. 3) Lastly, my preferred advice, if you have to also make sure, i.e. your clients on staging or live server get your incremental improvements (w/o any annoying cache clearance advice): Relocate the file and keep counting up: // add_editor_style('editor-style-01.css'); bump for every deployment // add_editor_style('editor-style-02.css'); add_editor_style('editor-style-03.css'); Hacky, but reliable. A: There is a hook for that: 'mce_css'. It is called in _WP_Editors::editor_settings() and you get all loaded stylesheets comma separated as the first and only parameter. Now it is easy: Use the global variable $editor_styles (here are your theme’s and parent theme’s editor stylesheets stored already), add the time of the file’s last modification as a parameter and rebuild the string. As a plugin: <?php # -*- coding: utf-8 -*- /** * Plugin Name: Refresh Editor Stylesheets * Description: Enforces fresh editor stylesheets per version parameter. * Version: 2012.07.21 * Author: Fuxia * Plugin URI: http://wordpress.stackexchange.com/q/33318/73 * Author URI: https://fuxia.me * License: MIT * License URI: http://www.opensource.org/licenses/mit-license.php */ add_filter( 'mce_css', 't5_fresh_editor_style' ); /** * Adds a parameter of the last modified time to all editor stylesheets. * * @wp-hook mce_css * @param string $css Comma separated stylesheet URIs * @return string */ function t5_fresh_editor_style( $css ) { global $editor_styles; if ( empty ( $css ) or empty ( $editor_styles ) ) { return $css; } // Modified copy of _WP_Editors::editor_settings() $mce_css = array(); $style_uri = get_stylesheet_directory_uri(); $style_dir = get_stylesheet_directory(); if ( is_child_theme() ) { $template_uri = get_template_directory_uri(); $template_dir = get_template_directory(); foreach ( $editor_styles as $key => $file ) { if ( $file && file_exists( "$template_dir/$file" ) ) { $mce_css[] = add_query_arg( 'version', filemtime( "$template_dir/$file" ), "$template_uri/$file" ); } } } foreach ( $editor_styles as $file ) { if ( $file && file_exists( "$style_dir/$file" ) ) { $mce_css[] = add_query_arg( 'version', filemtime( "$style_dir/$file" ), "$style_uri/$file" ); } } return implode( ',', $mce_css ); } A: Instead of just calling add_editor_style with your CSS file, add a cache buster query string parameter: add_action('admin_enqueue_scripts', function(){ if(is_admin()){ add_editor_style(get_template_directory_uri().'/assets/css/editor.css?1'); } }); A: The problem with accepted answer in latest versions I assume is $editor_styles array only contains stylesheets added using theme, so as a result it strips rest of the stylesheets added by core wordpress or plugins from the returning string. Following is the solution I came up with after tweaking the code, you can use it in your functions.php file. My solution uses nested loop and checks for stylesheets present in $editor_styles array, and appends the last modified time as parameter to query string and updates the value in array. add_filter('mce_css', 'fresh_editor_style'); function fresh_editor_style($mce_css_string){ global $editor_styles; $mce_css_list = explode(',', $mce_css_string); foreach ($editor_styles as $filename){ foreach($mce_css_list as $key => $fileurl){ if(strstr($fileurl, '/' . $filename)){ $filetime = filemtime(get_stylesheet_directory() . '/' . $filename); $mce_css_list[$key] = add_query_arg('time', $filetime, $fileurl); } } } return implode(',', $mce_css_list); }
wordpress
{ "language": "en", "length": 676, "provenance": "stackexchange_00019.jsonl.gz:414490", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33318" }
[ -0.0251617431640625, -0.01445770263671875, -0.01412200927734375, 0.004566192626953125, -0.017608642578125, -0.005931854248046875, 0.02081298828125, -0.00717926025390625, 0.0288848876953125, 0.0364990234375, 0.00013887882232666016, -0.011566162109375, 0.03839111328125, -0.02032470703125, -0.01123809814453125, 0.005817413330078125, 0.05950927734375, -0.0494384765625, 0.02374267578125, -0.00946807861328125, -0.0114288330078125, 0.037994384765625, 0.04302978515625, -0.0229034423828125, 0.017608642578125, 0.0027370452880859375, 0.049468994140625, -0.035247802734375, -0.007747650146484375, -0.047760009765625, 0.0115966796875, 0.026397705078125, 0.0267333984375, 0.09722900390625, -0.12359619140625, 0.02520751953125, -0.0260772705078125, 0.053680419921875, -0.0090789794921875, 0.0211029052734375, 0.0034084320068359375, -0.0033416748046875, -0.008270263671875, 0.0150604248046875, -0.028167724609375, -0.021728515625, 0.0008945465087890625, -0.0310211181640625, 0.0162811279296875, -0.01177978515625, -0.0260772705078125, 0.029937744140625, 0.00034689903259277344, -0.008270263671875, -0.002956390380859375, -0.0006570816040039062, -0.034759521484375, 0.011627197265625, 0.0038242340087890625, 0.01593017578125, 0.031463623046875, 0.0230560302734375, -0.0113372802734375, 0.004413604736328125, -0.0016422271728515625, 0.0028629302978515625, 0.0228118896484375, 0.0037059783935546875, -0.0140380859375, -0.0010347366333007812, 0.01184844970703125, -0.01087188720703125, -0.0020694732666015625, -0.031494140625, -0.002536773681640625, 0.0252532958984375, -0.0165863037109375, -0.01142120361328125, 0.024139404296875, 0.003665924072265625, -0.022674560546875, -0.0085601806640625, -0.044921875, -0.034515380859375, 0.005657196044921875, 0.0001823902130126953, -0.02117919921875, -0.0008745193481445312, -0.0328369140625, -0.0287933349609375, -0.02423095703125, -0.06591796875, -0.01153564453125, 0.0058135986328125, -0.019989013671875, -0.0284423828125, 0.012176513671875, 0.051910400390625, -0.025604248046875, -0.004878997802734375, -0.030792236328125, 0.0026836395263671875, -0.02984619140625, -0.0204925537109375, 0.016448974609375, -0.00762176513671875, -0.00934600830078125, 0.041351318359375, 0.07232666015625, 0.04254150390625, 0.002017974853515625, 0.058929443359375, -0.0303802490234375, -0.00916290283203125, -0.007762908935546875, 0.004520416259765625, -0.0582275390625, 0.008209228515625, -0.01336669921875, -0.0014696121215820312, 0.00679779052734375, 0.024322509765625, 0.006122589111328125, -0.04345703125, -0.017364501953125, -0.0355224609375, -0.009246826171875, -0.032958984375, 0.00638580322265625, 0.035186767578125, -0.03460693359375, -0.006946563720703125, 0.0281524658203125, 0.033782958984375, 0.0255279541015625, -0.0245361328125, 0.035430908203125, -0.0030422210693359375, -0.00113677978515625, 0.0220794677734375, -0.0418701171875, -0.0246734619140625, 0.0184783935546875, -0.029571533203125, -0.0142822265625, 0.039337158203125, 0.02178955078125, -0.00537109375, -0.02081298828125, -0.0872802734375, 0.01355743408203125, -0.03668212890625, 0.047393798828125, 0.0135955810546875, -0.036651611328125, -0.031494140625, 0.043975830078125, -0.045562744140625, -0.0321044921875, -0.07720947265625, 0.0015716552734375, -0.01297760009765625, 0.0163421630859375, -0.0108489990234375, -0.0026760101318359375, 0.006633758544921875, -0.037384033203125, -0.0010900497436523438, 0.0252227783203125, 0.041259765625, 0.0029735565185546875, 0.0033283233642578125, 0.017059326171875, 0.007061004638671875, -0.0181884765625, 0.0010843276977539062, 0.01377105712890625, 0.00408172607421875, 0.016998291015625, 0.0014667510986328125, -0.0108795166015625, -0.03173828125, 0.07391357421875, -0.0260467529296875, -0.015655517578125, -0.02099609375, -0.0008091926574707031, 0.047393798828125, 0.032623291015625, 0.0263519287109375, -0.048492431640625, -0.0195465087890625, 0.014129638671875, 0.0009899139404296875, 0.0185394287109375, -0.00033211708068847656, -0.03289794921875, 0.026123046875, 0.0028228759765625, -0.059234619140625, 0.048370361328125, 0.01105499267578125, 0.0298004150390625, -0.039215087890625, -0.08441162109375, 0.03240966796875, -0.02911376953125, 0.0469970703125, 0.0195770263671875, 0.0091094970703125, -0.00125885009765625, -0.0027599334716796875, -0.003337860107421875, -0.0281219482421875, -0.0131378173828125, 0.059722900390625, 0.0078125, 0.042388916015625, 0.0221405029296875, 0.04351806640625, 0.0287322998046875, -0.01268768310546875, 0.036895751953125, 0.0010051727294921875, 0.0008835792541503906, -0.0183868408203125, -0.00849151611328125, -0.00955963134765625, 0.0209197998046875, -0.02703857421875, 0.053375244140625, 0.02301025390625, 0.0137176513671875, 0.04339599609375, -0.0226593017578125, -0.03887939453125, -0.0377197265625, -0.09326171875, 0.0282135009765625, 0.07281494140625, 0.0185089111328125, -0.0027942657470703125, -0.0296783447265625, 0.0214080810546875, 0.044525146484375, 0.02593994140625, 0.022125244140625, 0.00919342041015625, 0.01555633544921875, 0.040771484375, -0.0140533447265625, -0.017822265625, 0.0209808349609375, -0.03173828125, 0.0210723876953125, 0.024200439453125, 0.016448974609375, 0.0120086669921875, 0.0179290771484375, -0.002452850341796875, 0.01470184326171875, 0.0513916015625, -0.01343536376953125, 0.03533935546875, 0.026275634765625, 0.03155517578125, 0.03045654296875, 0.029754638671875, -0.0244598388671875, 0.039031982421875, 0.006977081298828125, -0.0274810791015625, 0.006847381591796875, 0.01303863525390625, 0.006404876708984375, -0.0221405029296875, -0.032257080078125, 0.01340484619140625, 0.02813720703125, -0.01239013671875, -0.02630615234375, -0.01134490966796875, 0.0019207000732421875, -0.0100555419921875, -0.005756378173828125, -0.0186614990234375, 0.033111572265625, -0.0242462158203125, 0.03887939453125, 0.027099609375, 0.038330078125, 0.022796630859375, -0.0123748779296875, 0.04461669921875, -0.02410888671875, -0.00504302978515625, 0.040924072265625, 0.028533935546875, 0.00921630859375, 0.0188751220703125, 0.019317626953125, 0.047760009765625, -0.001056671142578125, 0.0184478759765625, 0.02935791015625, 0.00556182861328125, 0.035888671875, -0.0014896392822265625, 0.011505126953125, 0.0305023193359375, -0.03985595703125, 0.03570556640625, 0.039825439453125, 0.039337158203125, 0.01898193359375, -0.03863525390625, -0.00572967529296875, 0.04425048828125, -0.06024169921875, -0.04052734375, -0.0360107421875, -0.04400634765625, -0.05499267578125, 0.006927490234375, -0.031829833984375, 0.025390625, 0.0213470458984375, 0.0047607421875, -0.0243377685546875, -0.01065826416015625, -0.01123809814453125, -0.0323486328125, -0.02911376953125, -0.032958984375, 0.002140045166015625, -0.00629425048828125, 0.00677490234375, 0.05987548828125, -0.0014562606811523438, -0.064453125, 0.00737762451171875, -0.0421142578125, -0.034515380859375, 0.022308349609375, -0.024322509765625, -0.0271148681640625, 0.01418304443359375, -0.01058197021484375, 0.00597381591796875, 0.01568603515625, 0.007595062255859375, -0.0037384033203125, -0.0187225341796875, -0.01751708984375, 0.01629638671875, 0.0640869140625, 0.020416259765625, 0.0067901611328125, 0.086181640625, -0.008941650390625, -0.06378173828125, 0.021148681640625, -0.03887939453125, 0.021240234375, -0.0008840560913085938, -0.00409698486328125, -0.0031375885009765625, 0.056915283203125, 0.01270294189453125, 0.017333984375, 0.050384521484375, -0.031982421875, 0.049835205078125, -0.0237579345703125, -0.02801513671875, -0.05926513671875, 0.026214599609375, -0.0188751220703125, 0.0019893646240234375, -0.008270263671875, -0.01953125, -0.0293121337890625, 0.0106048583984375, -0.040191650390625, -0.0007891654968261719, -0.0052490234375, -0.07769775390625, 0.026123046875, -0.0455322265625, 0.0229949951171875, -0.035400390625, 0.034942626953125, -0.01021575927734375, -0.00896453857421875, 0.021240234375, 0.0184173583984375, -0.0677490234375, -0.045166015625, -0.041229248046875, 0.0115814208984375, -0.114990234375, 0.005634307861328125, 0.013702392578125, -0.07073974609375, -0.00948333740234375, 0.00933837890625, -0.0706787109375, -0.04510498046875, 0.008056640625, -0.04058837890625, -0.006805419921875, -0.00640106201171875, -0.049713134765625, -0.007305145263671875, 0.010650634765625, -0.0606689453125, -0.10687255859375, -0.0172119140625, -0.0421142578125, 0.08929443359375, 0.0256195068359375, 0.0102081298828125, -0.023040771484375, 0.059661865234375, -0.005428314208984375, 0.0037784576416015625, 0.006809234619140625, 0.0223388671875, -0.03546142578125, -0.036163330078125, -0.0006628036499023438, -0.04730224609375, 0.0016460418701171875, 0.0169525146484375, -0.059478759765625, -0.0015897750854492188, -0.019989013671875, -0.041290283203125, 0.0445556640625, -0.06512451171875, -0.033660888671875, -0.0458984375, -0.0218963623046875, -0.0185089111328125, -0.0110931396484375, -0.0017175674438476562, -0.038116455078125, -0.00829315185546875, 0.0211181640625, -0.033660888671875, 0.006008148193359375, -0.01491546630859375, 0.02935791015625, 0.022674560546875, -0.0197601318359375, 0.076171875, 0.02685546875, 0.022369384765625, 0.0307159423828125, -0.0144805908203125, -0.03936767578125, -0.012115478515625, 0.005733489990234375, 0.00001239776611328125, 0.0162811279296875, -0.049468994140625, 0.0867919921875, -0.0222625732421875, -0.014129638671875, 0.030792236328125, -0.025054931640625, -0.006603240966796875, 0.007373809814453125, 0.0165557861328125, -0.003978729248046875, 0.029296875, 0.01332855224609375, 0.038330078125, -0.08038330078125, -0.035552978515625, -0.02734375, -0.006504058837890625, 0.06243896484375, 0.061614990234375, 0.05511474609375, -0.0015802383422851562, 0.0452880859375, 0.041961669921875, -0.0146331787109375, 0.02984619140625, -0.0068206787109375, 0.0260009765625, 0.01165771484375, 0.0144195556640625, -0.00872802734375, 0.0009388923645019531, -0.00312042236328125, 0.0181732177734375, 0.0276031494140625, -0.01216888427734375, -0.01349639892578125, 0.0019321441650390625, 0.018157958984375, -0.01529693603515625, -0.01812744140625, 0.023406982421875, -0.0086822509765625, -0.02471923828125, 0.0147857666015625, -0.00933074951171875, -0.043853759765625, -0.024749755859375, -0.00582122802734375, -0.0010957717895507812, -0.0240020751953125, 0.0304107666015625, -0.0014543533325195312, 0.008758544921875, 0.00946807861328125, -0.01100921630859375, 0.040863037109375, 0.0196685791015625, 0.026153564453125, 0.004852294921875, 0.0250244140625, 0.01241302490234375, 0.00022971630096435547, 0.01409912109375, -0.0513916015625, -0.018890380859375, 0.02264404296875, 0.035614013671875, -0.02508544921875, -0.02789306640625, 0.031219482421875, -0.00608062744140625, -0.00507354736328125, 0.0009031295776367188, -0.0279388427734375, -0.03790283203125, -0.01068115234375, -0.002002716064453125, 0.013916015625, -0.006641387939453125, -0.0210723876953125, -0.0138092041015625, -0.036102294921875, 0.005908966064453125, -0.0053863525390625, -0.041351318359375, 0.0139923095703125, 0.01160430908203125, -0.00728607177734375, -0.010955810546875, -0.002063751220703125, -0.07440185546875, -0.03594970703125, 0.0031890869140625, 0.00794219970703125, 0.00769805908203125, -0.0212554931640625, 0.002109527587890625, -0.0048065185546875, -0.001964569091796875, -0.0290679931640625, 0.023193359375, -0.003513336181640625, -0.0166168212890625, 0.01708984375, -0.01415252685546875, -0.042877197265625, -0.044647216796875, -0.03314208984375, -0.037109375, -0.03704833984375, 0.00173187255859375, 0.00939178466796875, 0.0242156982421875, 0.0024433135986328125, -0.033203125, -0.004184722900390625, 0.00482177734375, 0.0248565673828125, 0.03106689453125, 0.0045166015625, 0.0221405029296875, -0.0304412841796875, 0.03387451171875, 0.013427734375, -0.00701141357421875, -0.031097412109375, -0.00799560546875, 0.0005850791931152344, -0.0521240234375, 0.008880615234375, 0.0112762451171875, -0.0051116943359375, 0.003368377685546875, 0.0216522216796875, 0.008209228515625, 0.028167724609375, -0.0180511474609375, -0.0113067626953125, -0.0245513916015625, 0.018646240234375, -0.02520751953125, 0.0285797119140625, -0.00957489013671875, -0.0009984970092773438, 0.053985595703125, -0.00801849365234375, -0.00572967529296875, 0.0372314453125, -0.0208282470703125, 0.049530029296875, -0.01245880126953125, -0.045379638671875, 0.036468505859375, 0.028472900390625, 0.01397705078125, 0.0418701171875, -0.01203155517578125, 0.013580322265625, 0.0340576171875, -0.0440673828125, 0.023468017578125, 0.025299072265625, 0.009552001953125, -0.0333251953125, 0.040252685546875, 0.0236968994140625, 0.0034027099609375, -0.01117706298828125, 0.041290283203125, 0.031219482421875, -0.02374267578125, -0.034576416015625, -0.020843505859375, -0.0245513916015625, 0.022491455078125, 0.01273345947265625, -0.022186279296875, -0.04925537109375, 0.06494140625, -0.032928466796875, 0.0093536376953125, 0.04052734375, -0.011627197265625, 0.0134735107421875, 0.00679779052734375, 0.0242767333984375, 0.0018777847290039062, -0.0025463104248046875, -0.0246124267578125, 0.005817413330078125, 0.0294342041015625, -0.00569915771484375, 0.048431396484375, -0.032928466796875, 0.0013561248779296875, -0.01483154296875, -0.0155029296875, 0.009185791015625, -0.0413818359375, 0.0220489501953125, -0.0016660690307617188, -0.0233917236328125, 0.036407470703125, -0.026947021484375, 0.03814697265625, 0.0084991455078125, 0.0005173683166503906, 0.0133056640625, -0.027496337890625, 0.026947021484375, -0.0168914794921875, -0.0105743408203125, 0.0197601318359375, 0.01308441162109375, -0.052337646484375, -0.005558013916015625, -0.02154541015625, 0.03143310546875, -0.017242431640625, -0.010284423828125, 0.0188446044921875, 0.01544952392578125, -0.005725860595703125, -0.043121337890625, -0.00634765625, -0.0726318359375, -0.0200958251953125, -0.04620361328125, -0.025146484375, 0.01116943359375, -0.0606689453125, -0.04681396484375, 0.0936279296875, -0.013641357421875, 0.030670166015625, 0.01012420654296875, 0.039306640625, -0.034576416015625, 0.01422119140625, 0.0153961181640625, 0.015472412109375, -0.016937255859375, -0.0251007080078125, -0.025726318359375, 0.0002524852752685547, -0.005886077880859375, 0.061279296875, 0.002361297607421875, 0.004474639892578125, -0.06036376953125, 0.0136871337890625, 0.052703857421875, 0.029632568359375, 0.0222320556640625, 0.04718017578125, -0.010986328125, -0.043792724609375, -0.0102081298828125, 0.007213592529296875, 0.01436614990234375, -0.0218048095703125, -0.0284271240234375, 0.0096588134765625, -0.01129913330078125, -0.016448974609375, 0.01393890380859375, 0.0305938720703125, -0.01198577880859375, -0.0002219676971435547, 0.004909515380859375, -0.049346923828125, -0.0253143310546875, 0.01202392578125, -0.016845703125, -0.049774169921875, -0.060882568359375, -0.0163726806640625, 0.0162353515625, -0.011688232421875, -0.0440673828125, -0.043243408203125, -0.0094146728515625, 0.0084075927734375, -0.02606201171875, -0.059112548828125, 0.027587890625, 0.006801605224609375, 0.0072174072265625, 0.0003771781921386719, 0.03076171875, -0.023712158203125, 0.002719879150390625, 0.00634765625, 0.00839996337890625, -0.0203704833984375, -0.028472900390625, 0.0122833251953125, -0.00897979736328125, -0.032623291015625, -0.032562255859375, -0.055694580078125, -0.08428955078125, -0.031219482421875, 0.041046142578125, -0.01332855224609375, -0.01148223876953125, -0.0148162841796875, 0.019500732421875, 0.052520751953125, 0.021942138671875, 0.011199951171875, -0.043304443359375, -0.00554656982421875, 0.0187225341796875, 0.040863037109375, 0.031280517578125, 0.0455322265625, 0.028594970703125, -0.0166015625, -0.047607421875, 0.038177490234375, 0.0269012451171875, 0.032073974609375, -0.0256805419921875, 0.0308685302734375, 0.019134521484375, 0.0191497802734375, 0.0243072509765625, -0.01279449462890625, 0.0389404296875, 0.0211181640625, -0.035430908203125, -0.0161285400390625, -0.0228271484375, -0.0290069580078125, 0.01317596435546875, -0.055023193359375, -0.01523590087890625, -0.0236053466796875, -0.01207733154296875, 0.0106201171875, -0.0291748046875, 0.035491943359375, -0.014434814453125, -0.00965118408203125, 0.0025081634521484375, -0.021728515625, 0.0201263427734375, -0.0278778076171875, -0.0068817138671875, 0.0052947998046875, 0.054534912109375, 0.0233154296875, -0.005458831787109375, -0.020782470703125, -0.018768310546875, 0.027435302734375, 0.00537872314453125, 0.0254974365234375, -0.0253448486328125, -0.01374053955078125, -0.007450103759765625, 0.011688232421875, 0.011016845703125, 0.003147125244140625, -0.0021953582763671875, -0.00992584228515625, -0.07586669921875, -0.035797119140625, -0.032623291015625, 0.02752685546875, 0.0049285888671875, 0.05816650390625, -0.0011920928955078125, 0.020233154296875, -0.001312255859375, 0.00399017333984375, 0.0035724639892578125, 0.00582122802734375, -0.005481719970703125, 0.00783538818359375, 0.003406524658203125, -0.012725830078125, -0.040496826171875, 0.0423583984375, 0.030242919921875, -0.009185791015625, 0.0117340087890625, 0.0243682861328125, 0.0011920928955078125, -0.0145721435546875, -0.007556915283203125, -0.049041748046875, -0.033905029296875, -0.02239990234375, 0.002330780029296875, -0.01556396484375, -0.06011962890625, -0.01580810546875, 0.01617431640625, 0.059051513671875, -0.0134124755859375, 0.036956787109375, -0.004268646240234375, 0.06634521484375, 0.030426025390625, 0.018402099609375, -0.02239990234375, -0.0239410400390625, -0.02142333984375, -0.0006732940673828125, 0.005462646484375, -0.00241851806640625, -0.0022716522216796875, -0.0209197998046875, 0.0784912109375, 0.04742431640625, 0.08319091796875, -0.0230865478515625, 0.03228759765625, 0.046112060546875, 0.0266265869140625, 0.03521728515625, -0.0269012451171875, -0.0272369384765625, -0.04339599609375, 0.006557464599609375, 0.017974853515625, -0.01436614990234375, -0.03204345703125, -0.057861328125, 0.013153076171875, 0.058868408203125, 0.015411376953125, -0.070068359375, 0.050537109375, -0.050323486328125, 0.047943115234375, 0.01328277587890625, 0.01511383056640625, -0.0225372314453125, -0.01439666748046875, -0.03448486328125, -0.0076141357421875, -0.0709228515625, 0.0233154296875, -0.04681396484375, -0.0386962890625, 0.0173492431640625, 0.028961181640625, 0.0143890380859375, -0.06805419921875, -0.052520751953125, -0.0195770263671875, -0.11810302734375, 0.003814697265625, 0.093505859375, -0.027099609375, -0.05126953125, -0.1033935546875, -0.0282135009765625, -0.07891845703125, 0.04302978515625, 0.01255035400390625, -0.018707275390625, -0.01105499267578125, -0.056243896484375, -0.06927490234375, 0.008514404296875, 0.016754150390625, -0.035858154296875, -0.037628173828125, 0.01073455810546875, -0.01096343994140625, -0.01259613037109375, -0.010711669921875, -0.019134521484375, 0.0158233642578125, 0.0533447265625, 0.00666046142578125, 0.048736572265625, 0.01004791259765625, 0.016326904296875, -0.0712890625, -0.00962066650390625, -0.047943115234375, 0.0169219970703125, -0.0216522216796875, 0.035736083984375, -0.00345611572265625, 0.03033447265625, 0.005985260009765625, -0.07122802734375, 0.0034732818603515625, -0.073486328125, -0.018157958984375, -0.01183319091796875, -0.046539306640625, -0.0116424560546875, 0.107177734375, 0.0634765625, 0.0196075439453125, -0.03558349609375, 0.00580596923828125, 0.0259552001953125, -0.06256103515625, 0.0005631446838378906, 0.046844482421875, -0.055450439453125, -0.017486572265625, -0.0053558349609375, 0.0219879150390625, 0.0004489421844482422, -0.0011892318725585938, 0.00156402587890625, -0.0260009765625, 0.0184326171875, -0.0092010498046875, -0.01251983642578125, 0.006256103515625, 0.0244903564453125, -0.00823974609375, 0.01763916015625, 0.00988006591796875, -0.00014829635620117188, 0.0246429443359375, 0.06683349609375, -0.0250701904296875, 0.0297698974609375, -0.01580810546875, 0.0096893310546875, -0.002056121826171875, -0.00958251953125, -0.021697998046875, 0.024200439453125, -0.0085601806640625, -0.0251617431640625, -0.00640106201171875, -0.0511474609375, 0.00862884521484375, -0.021087646484375, -0.0234375, 0.02813720703125, -0.04473876953125, -0.00627899169921875, -0.0203704833984375, 0.01531982421875, -0.0269317626953125, 0.0198516845703125, 0.0274658203125, -0.01461029052734375, 0.0190887451171875, 0.008941650390625, 0.0308837890625, 0.006694793701171875, -0.00262451171875, -0.0704345703125, -0.004703521728515625, -0.0200347900390625 ]
4560f744cd662cf1028e87a60e0281444e9be1a5
Wordpress Stackexchange Q: Redirect Admin User in Dashboard I am currently trying to setup a redirect so that my admin users are redirected to a page other than the dashboard within the wordpress administrator interface. If I leave out my conditional, the redirect works, but then it also redirects non-administrator users as well and I don't want this. Here is the code I have within functions.php add_filter('login_redirect', 'dashboard_redirect'); function dashboard_redirect($url) { global $current_user; get_currentuserinfo(); $level = (int) $current_user->wp_user_level; if ( $level > 10 ) { $url = 'wp-admin/edit.php'; } return $url; } A: You should not use Userlevels. Userlevels have been replaced in WP 2.0 and have been officially deprecated since 3.0 add_filter( 'login_redirect', 'dashboard_redirect' ); function dashboard_redirect( $url ) { if ( current_user_can( 'manage_options' ) ) { $url = esc_url( admin_url( 'edit.php' ) ); } return $url; } Will do what you want.
Q: Redirect Admin User in Dashboard I am currently trying to setup a redirect so that my admin users are redirected to a page other than the dashboard within the wordpress administrator interface. If I leave out my conditional, the redirect works, but then it also redirects non-administrator users as well and I don't want this. Here is the code I have within functions.php add_filter('login_redirect', 'dashboard_redirect'); function dashboard_redirect($url) { global $current_user; get_currentuserinfo(); $level = (int) $current_user->wp_user_level; if ( $level > 10 ) { $url = 'wp-admin/edit.php'; } return $url; } A: You should not use Userlevels. Userlevels have been replaced in WP 2.0 and have been officially deprecated since 3.0 add_filter( 'login_redirect', 'dashboard_redirect' ); function dashboard_redirect( $url ) { if ( current_user_can( 'manage_options' ) ) { $url = esc_url( admin_url( 'edit.php' ) ); } return $url; } Will do what you want. A: Yan also add this simple action to the 'login_form' (see this site for more detail). For example, to redirect to dashboard, you can use: add_action('login_form', 'redirect_after_login'); function redirect_after_login() { global $redirect_to; if (!isset($_GET['redirect_to'])) { $redirect_to = get_option('siteurl') . '/wp-admin/index.php'; } } A: If you want to redirect to another page any time they try to access the dashboard, and not just after login, use something like this: add_action( 'current_screen', function() { $screen = get_current_screen(); if ( isset( $screen->id ) && $screen->id == 'dashboard' ) { wp_redirect( admin_url( 'edit.php?post_type=my-post-type' ) ); exit(); } } ); A: Try wrapping the function with this current_user condition: if (current_user_can('administrator')) { // Your Redirect Code Here }
wordpress
{ "language": "en", "length": 255, "provenance": "stackexchange_00019.jsonl.gz:414498", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33344" }
[ 0.10052490234375, -0.00290679931640625, 0.02691650390625, -0.03533935546875, 0.03125, -0.038818359375, 0.06524658203125, -0.0316162109375, -0.0010223388671875, 0.030853271484375, 0.045654296875, -0.031829833984375, -0.001949310302734375, -0.041168212890625, -0.03179931640625, -0.0074462890625, 0.0023365020751953125, 0.0019664764404296875, 0.01186370849609375, -0.011260986328125, -0.01053619384765625, -0.01056671142578125, 0.0235595703125, -0.01366424560546875, -0.00970458984375, -0.0151519775390625, 0.036651611328125, -0.03131103515625, -0.01654052734375, -0.0259857177734375, -0.005855560302734375, 0.01226043701171875, -0.007785797119140625, 0.05816650390625, -0.0246429443359375, -0.0228271484375, -0.0272216796875, 0.040771484375, 0.0266265869140625, -0.004177093505859375, 0.0280914306640625, -0.005542755126953125, -0.0182647705078125, 0.01006317138671875, -0.02978515625, -0.045806884765625, 0.041290283203125, 0.0012712478637695312, 0.0142974853515625, 0.0277862548828125, 0.0291900634765625, 0.003284454345703125, 0.0298004150390625, -0.01947021484375, -0.0092620849609375, 0.00659942626953125, 0.0263824462890625, -0.00962066650390625, 0.0335693359375, -0.0148468017578125, -0.0203704833984375, -0.00531005859375, 0.017333984375, -0.014251708984375, -0.0257720947265625, -0.007198333740234375, 0.00036835670471191406, 0.0169525146484375, -0.054351806640625, -0.046142578125, 0.01285552978515625, -0.008575439453125, -0.0022907257080078125, 0.00263214111328125, -0.02667236328125, -0.0254364013671875, 0.03399658203125, -0.01031494140625, 0.0032501220703125, 0.01505279541015625, 0.01629638671875, -0.004962921142578125, 0.0005588531494140625, -0.0010595321655273438, 0.01030731201171875, 0.027740478515625, -0.016937255859375, -0.02191162109375, -0.0291900634765625, 0.0036106109619140625, -0.0203704833984375, -0.0010356903076171875, -0.01953125, -0.00003635883331298828, -0.01153564453125, -0.029510498046875, 0.0355224609375, 0.051666259765625, 0.017730712890625, -0.006076812744140625, -0.0297393798828125, -0.0216217041015625, -0.03460693359375, -0.026885986328125, -0.0034027099609375, 0.060089111328125, 0.006130218505859375, -0.0237274169921875, -0.0009188652038574219, 0.00897979736328125, 0.0233154296875, 0.0027217864990234375, -0.045654296875, -0.023529052734375, -0.0269927978515625, 0.0278167724609375, -0.059417724609375, -0.03240966796875, -0.006809234619140625, 0.008544921875, -0.0455322265625, -0.01067352294921875, 0.0025539398193359375, -0.0238037109375, 0.0036830902099609375, -0.02838134765625, -0.006107330322265625, 0.0042724609375, 0.024932861328125, -0.0100555419921875, -0.030120849609375, 0.022003173828125, 0.05938720703125, 0.0220794677734375, 0.0139923095703125, -0.0096893310546875, 0.01605224609375, -0.048797607421875, -0.0168914794921875, 0.0038242340087890625, 0.031036376953125, 0.000029921531677246094, 0.0106201171875, -0.0175628662109375, -0.00203704833984375, 0.063232421875, 0.01690673828125, -0.019378662109375, -0.0158538818359375, -0.08734130859375, -0.0149688720703125, -0.0287933349609375, 0.014404296875, 0.01428985595703125, 0.00412750244140625, 0.00617218017578125, 0.015899658203125, -0.0012493133544921875, -0.0176849365234375, -0.0010347366333007812, 0.0241851806640625, -0.0016546249389648438, 0.034271240234375, -0.0252838134765625, -0.0672607421875, 0.00689697265625, -0.07171630859375, -0.02508544921875, 0.029998779296875, -0.00916290283203125, 0.03851318359375, -0.00518035888671875, -0.00838470458984375, 0.0262908935546875, 0.0200958251953125, 0.00817108154296875, -0.0017900466918945312, 0.0290985107421875, 0.0128631591796875, 0.032623291015625, 0.00618743896484375, -0.017974853515625, 0.02618408203125, 0.0125732421875, -0.038787841796875, 0.0171966552734375, 0.0086517333984375, 0.031646728515625, 0.01241302490234375, 0.0038166046142578125, 0.0226287841796875, 0.0293731689453125, -0.018707275390625, 0.01326751708984375, -0.022216796875, -0.0189208984375, 0.01247406005859375, 0.0205535888671875, -0.03363037109375, 0.0138092041015625, 0.04534912109375, 0.01532745361328125, -0.009002685546875, -0.007259368896484375, -0.047210693359375, 0.00766754150390625, -0.01557159423828125, 0.02069091796875, 0.04345703125, 0.031158447265625, -0.01009368896484375, 0.0019159317016601562, -0.0057373046875, -0.0093994140625, -0.0179901123046875, 0.04443359375, -0.0150604248046875, 0.0460205078125, -0.01248931884765625, 0.016632080078125, 0.0095672607421875, -0.03875732421875, 0.0205841064453125, 0.001956939697265625, 0.0258026123046875, -0.024688720703125, -0.005031585693359375, -0.01104736328125, 0.0236053466796875, -0.0042572021484375, 0.0005197525024414062, 0.032501220703125, 0.025848388671875, -0.00012826919555664062, -0.056121826171875, -0.00792694091796875, -0.01229095458984375, -0.028106689453125, 0.01300811767578125, 0.0526123046875, 0.0182647705078125, 0.0095977783203125, -0.0056610107421875, 0.048126220703125, -0.007167816162109375, -0.0838623046875, -0.010101318359375, 0.0285797119140625, -0.00527191162109375, 0.038543701171875, -0.009368896484375, -0.008026123046875, 0.01232147216796875, -0.012451171875, -0.0213623046875, 0.03759765625, -0.0272216796875, 0.00754547119140625, -0.0258026123046875, -0.019927978515625, 0.0020008087158203125, -0.06317138671875, -0.0283966064453125, -0.0283203125, -0.03363037109375, -0.00585174560546875, -0.0014858245849609375, -0.0008378028869628906, -0.01337432861328125, -0.05206298828125, 0.03399658203125, 0.0455322265625, 0.006755828857421875, 0.0201568603515625, 0.0029506683349609375, -0.046600341796875, -0.0244903564453125, 0.01349639892578125, 0.022369384765625, -0.0149078369140625, -0.01108551025390625, 0.0195770263671875, -0.02178955078125, -0.01313018798828125, 0.00528717041015625, -0.0241241455078125, -0.00164031982421875, -0.0027103424072265625, 0.048614501953125, -0.014862060546875, 0.046661376953125, -0.0455322265625, -0.015716552734375, 0.0269622802734375, -0.0082244873046875, -0.07476806640625, 0.01197052001953125, -0.045562744140625, 0.040008544921875, -0.03460693359375, 0.074951171875, 0.0732421875, -0.01922607421875, 0.0295562744140625, -0.0038318634033203125, 0.00479888916015625, -0.0206298828125, 0.01177978515625, 0.003711700439453125, -0.0345458984375, -0.004405975341796875, 0.03302001953125, 0.0287933349609375, 0.01012420654296875, 0.0094757080078125, -0.0166168212890625, -0.0280914306640625, 0.0140533447265625, -0.072509765625, -0.05255126953125, -0.06951904296875, -0.0721435546875, 0.014068603515625, 0.0174407958984375, -0.0199432373046875, 0.01776123046875, 0.04766845703125, 0.02777099609375, 0.0426025390625, -0.00371551513671875, -0.043609619140625, -0.0038204193115234375, -0.059967041015625, -0.00487518310546875, -0.0122833251953125, -0.0102081298828125, 0.005809783935546875, -0.0114898681640625, -0.014007568359375, -0.051849365234375, 0.002079010009765625, 0.01605224609375, 0.022857666015625, 0.0017910003662109375, -0.0289154052734375, -0.0201568603515625, 0.01212310791015625, -0.006622314453125, 0.0611572265625, -0.01311492919921875, 0.00991058349609375, -0.00417327880859375, -0.004436492919921875, -0.01910400390625, 0.0126800537109375, -0.0287933349609375, -0.0020904541015625, 0.01434326171875, 0.01221466064453125, -0.01898193359375, 0.0241241455078125, -0.035186767578125, -0.0282440185546875, 0.0242156982421875, 0.02398681640625, -0.016204833984375, 0.0185394287109375, -0.03955078125, 0.012481689453125, 0.01837158203125, -0.03314208984375, 0.01258087158203125, 0.0166015625, 0.0071868896484375, 0.0210113525390625, -0.0033740997314453125, -0.0030384063720703125, -0.0255126953125, -0.00603485107421875, -0.011016845703125, 0.0068511962890625, 0.005764007568359375, 0.009033203125, 0.007480621337890625, -0.06793212890625, 0.0517578125, -0.031646728515625, -0.01168060302734375, -0.039642333984375, -0.0156402587890625, 0.0030498504638671875, 0.094482421875, -0.0614013671875, 0.0136260986328125, 0.01023101806640625, 0.01328277587890625, -0.028839111328125, -0.049072265625, -0.09552001953125, -0.002559661865234375, -0.112548828125, -0.005527496337890625, 0.00952911376953125, -0.0499267578125, -0.0015735626220703125, 0.0166015625, -0.0645751953125, -0.038421630859375, 0.034423828125, -0.003986358642578125, 0.01012420654296875, 0.0205535888671875, 0.0085601806640625, -0.0145416259765625, 0.0024127960205078125, -0.01318359375, -0.080078125, -0.020599365234375, -0.0139923095703125, 0.07952880859375, 0.019195556640625, -0.029083251953125, -0.00421142578125, 0.05889892578125, 0.0078125, -0.011688232421875, -0.0141143798828125, 0.00164031982421875, -0.00513458251953125, -0.022735595703125, -0.03515625, -0.00848388671875, -0.04119873046875, -0.022186279296875, -0.017822265625, -0.0008440017700195312, -0.0219879150390625, -0.02313232421875, 0.0246124267578125, -0.020904541015625, -0.10162353515625, -0.03466796875, -0.022491455078125, 0.00550079345703125, -0.03009033203125, 0.0125274658203125, -0.0233306884765625, -0.1151123046875, 0.03546142578125, 0.01044464111328125, -0.02069091796875, 0.009033203125, 0.0289306640625, 0.01641845703125, -0.0219573974609375, -0.0018777847290039062, 0.00772857666015625, 0.0274505615234375, -0.0227508544921875, 0.052032470703125, 0.0210113525390625, -0.0098419189453125, 0.060516357421875, -0.01387786865234375, 0.0132598876953125, -0.0277099609375, 0.0302581787109375, -0.00872802734375, -0.057708740234375, 0.046478271484375, -0.0300445556640625, -0.0082550048828125, 0.0330810546875, 0.002910614013671875, -0.0204925537109375, -0.01244354248046875, 0.03778076171875, -0.0006914138793945312, -0.006359100341796875, -0.0306243896484375, -0.05230712890625, 0.01474761962890625, -0.03070068359375, 0.00482177734375, 0.01345062255859375, -0.007030487060546875, 0.0162506103515625, 0.0034656524658203125, -0.0035762786865234375, 0.03167724609375, 0.0164642333984375, -0.0242156982421875, 0.0357666015625, 0.01305389404296875, -0.0298919677734375, 0.0243377685546875, -0.01409149169921875, 0.06890869140625, 0.026519775390625, -0.04534912109375, 0.0089263916015625, -0.0227813720703125, -0.0103912353515625, -0.01727294921875, -0.00811767578125, 0.05389404296875, 0.045745849609375, -0.0316162109375, -0.031341552734375, 0.00013625621795654297, -0.01157379150390625, -0.0770263671875, 0.0203704833984375, 0.00254058837890625, 0.002964019775390625, 0.0085906982421875, 0.09063720703125, 0.0241851806640625, 0.041473388671875, -0.0198516845703125, 0.0284271240234375, 0.03875732421875, -0.00733184814453125, 0.0035991668701171875, 0.0523681640625, -0.0064849853515625, -0.0261993408203125, 0.0247955322265625, -0.0274505615234375, -0.00344085693359375, 0.0150909423828125, 0.043853759765625, 0.035186767578125, 0.0009026527404785156, -0.017425537109375, -0.0239105224609375, -0.0184783935546875, 0.08111572265625, 0.01152801513671875, -0.0797119140625, -0.0465087890625, 0.01026153564453125, 0.040740966796875, -0.040496826171875, -0.026153564453125, 0.015106201171875, -0.03436279296875, 0.031005859375, 0.03155517578125, -0.003955841064453125, 0.005458831787109375, -0.012603759765625, -0.040374755859375, -0.007511138916015625, 0.00021731853485107422, -0.01108551025390625, -0.0218658447265625, -0.019866943359375, -0.027984619140625, 0.05377197265625, -0.0110626220703125, 0.0087890625, -0.04412841796875, 0.01355743408203125, -0.0215301513671875, -0.0135345458984375, 0.08551025390625, 0.045989990234375, -0.054107666015625, 0.007904052734375, -0.054046630859375, -0.0150604248046875, 0.006595611572265625, -0.023193359375, -0.0160980224609375, -0.0165863037109375, 0.0221710205078125, 0.0242156982421875, 0.0229034423828125, 0.00957489013671875, -0.01328277587890625, 0.00473785400390625, 0.0022792816162109375, 0.060882568359375, 0.03265380859375, 0.06805419921875, -0.03643798828125, 0.036651611328125, 0.0275115966796875, 0.060089111328125, -0.039581298828125, -0.028564453125, 0.0205230712890625, -0.0005879402160644531, -0.014984130859375, -0.0203857421875, 0.0154266357421875, -0.018463134765625, 0.02630615234375, -0.01354217529296875, -0.00131988525390625, 0.00890350341796875, 0.012176513671875, -0.016387939453125, -0.02117919921875, 0.021697998046875, 0.0032501220703125, 0.01470184326171875, 0.01084136962890625, 0.0038089752197265625, -0.005786895751953125, -0.0229949951171875, -0.005535125732421875, 0.03521728515625, 0.0011129379272460938, -0.01441192626953125, -0.08685302734375, 0.0885009765625, 0.1104736328125, 0.014984130859375, 0.05426025390625, 0.0301971435546875, 0.00775909423828125, 0.037933349609375, -0.0316162109375, 0.00750732421875, 0.03924560546875, 0.017547607421875, -0.031829833984375, -0.004390716552734375, 0.004283905029296875, -0.02178955078125, 0.00341033935546875, 0.1043701171875, 0.047027587890625, -0.138671875, -0.00284576416015625, -0.0248870849609375, 0.00688934326171875, 0.0362548828125, -0.0156097412109375, 0.0033168792724609375, -0.01436614990234375, 0.013671875, -0.040924072265625, -0.0400390625, -0.01348876953125, -0.01334381103515625, -0.0155792236328125, -0.022430419921875, 0.0165863037109375, -0.007762908935546875, -0.0082244873046875, -0.020660400390625, -0.016876220703125, -0.03131103515625, -0.0019092559814453125, -0.00467681884765625, 0.0196685791015625, -0.03533935546875, -0.0665283203125, -0.0030918121337890625, -0.0165252685546875, -0.0202484130859375, 0.031402587890625, -0.01389312744140625, 0.076416015625, 0.048675537109375, 0.00272369384765625, -0.004909515380859375, 0.0245361328125, -0.02252197265625, 0.05413818359375, -0.042144775390625, -0.00920867919921875, -0.0255126953125, -0.03228759765625, -0.0077667236328125, -0.005481719970703125, -0.038970947265625, -0.0211334228515625, -0.01505279541015625, 0.09027099609375, -0.004482269287109375, -0.033905029296875, 0.00656890869140625, -0.00864410400390625, -0.01270294189453125, 0.0008301734924316406, 0.02130126953125, -0.06787109375, -0.07012939453125, -0.0093231201171875, -0.086669921875, 0.021331787109375, -0.0239715576171875, -0.05072021484375, 0.0450439453125, -0.0089263916015625, 0.029632568359375, 0.0055999755859375, 0.0104827880859375, -0.01340484619140625, 0.01009368896484375, -0.0121307373046875, 0.04376220703125, 0.056640625, 0.00045561790466308594, -0.0276336669921875, -0.0165863037109375, -0.006427764892578125, 0.04315185546875, 0.0157470703125, 0.025665283203125, -0.07562255859375, -0.00033593177795410156, -0.00395965576171875, -0.0103302001953125, -0.0054931640625, 0.09600830078125, 0.006641387939453125, 0.0167083740234375, 0.02801513671875, -0.0279388427734375, 0.0313720703125, -0.02813720703125, -0.01245880126953125, 0.0185546875, 0.01038360595703125, -0.003063201904296875, -0.0005393028259277344, 0.0211029052734375, -0.0732421875, 0.01568603515625, 0.0455322265625, -0.015380859375, 0.007015228271484375, -0.018951416015625, 0.006877899169921875, -0.025238037109375, 0.048065185546875, -0.02978515625, 0.034942626953125, 0.0257110595703125, -0.033782958984375, 0.0233306884765625, 0.0164031982421875, -0.043609619140625, 0.00743865966796875, -0.020751953125, 0.0268707275390625, 0.00370025634765625, 0.059967041015625, 0.045623779296875, 0.0203857421875, -0.019287109375, 0.0160980224609375, 0.04345703125, 0.0758056640625, -0.042938232421875, -0.0162353515625, -0.00794219970703125, 0.01715087890625, 0.04052734375, 0.0164031982421875, 0.08026123046875, 0.0116424560546875, 0.0118255615234375, -0.024627685546875, -0.01812744140625, 0.023956298828125, -0.00458526611328125, -0.006011962890625, -0.0178070068359375, 0.0126495361328125, 0.01898193359375, 0.0026397705078125, -0.03985595703125, 0.018768310546875, 0.0274200439453125, 0.0114593505859375, 0.0036830902099609375, -0.021392822265625, -0.0007777214050292969, -0.0166015625, 0.01461029052734375, -0.029327392578125, 0.019775390625, -0.06396484375, -0.0592041015625, 0.0157470703125, 0.05816650390625, 0.01525115966796875, -0.0396728515625, -0.023162841796875, 0.00978851318359375, 0.0244903564453125, -0.01161956787109375, 0.0079803466796875, -0.0052642822265625, 0.0298309326171875, -0.0189971923828125, 0.01727294921875, -0.0045623779296875, -0.012054443359375, -0.0020427703857421875, 0.0313720703125, 0.0135955810546875, -0.031524658203125, 0.037994384765625, -0.00762939453125, -0.01126861572265625, -0.002788543701171875, -0.01004791259765625, 0.0244140625, -0.0027008056640625, -0.059295654296875, -0.02008056640625, 0.00620269775390625, -0.032470703125, 0.00887298583984375, 0.032135009765625, -0.02423095703125, 0.0120086669921875, -0.0272369384765625, 0.0142974853515625, 0.0227508544921875, -0.0263671875, 0.0019054412841796875, -0.00795745849609375, 0.0173187255859375, -0.0068359375, 0.01514434814453125, 0.01267242431640625, 0.004245758056640625, 0.034332275390625, 0.0208587646484375, 0.0777587890625, -0.042999267578125, 0.023956298828125, -0.0238494873046875, 0.019195556640625, -0.045623779296875, -0.012054443359375, 0.0049896240234375, -0.0274810791015625, -0.01473236083984375, 0.01052093505859375, -0.073974609375, 0.030364990234375, 0.0032367706298828125, 0.00632476806640625, 0.023834228515625, -0.00432586669921875, 0.0158538818359375, 0.00787353515625, 0.0095977783203125, -0.0250396728515625, -0.07611083984375, -0.06884765625, 0.00942230224609375, 0.01153564453125, 0.05340576171875, -0.0156707763671875, 0.0450439453125, -0.03533935546875, -0.0166473388671875, -0.00994110107421875, -0.036468505859375, -0.04248046875, 0.01116180419921875, -0.00348663330078125, 0.0114593505859375, 0.026214599609375, -0.005786895751953125, 0.022735595703125, 0.0163726806640625, 0.0027103424072265625, 0.0278472900390625, 0.033294677734375, -0.022857666015625, -0.0204925537109375, -0.01100921630859375, -0.0259857177734375, -0.0167083740234375, 0.0197296142578125, -0.033294677734375, -0.0291748046875, -0.028656005859375, -0.033203125, -0.0207061767578125, -0.01348114013671875, 0.0008902549743652344, 0.005573272705078125, -0.0728759765625, -0.043060302734375, 0.040740966796875, 0.01265716552734375, 0.00922393798828125, -0.0780029296875, 0.0595703125, -0.0247650146484375, 0.07684326171875, -0.0296630859375, -0.00891876220703125, 0.019989013671875, 0.0198822021484375, -0.040374755859375, 0.03521728515625, -0.028533935546875, -0.044525146484375, -0.0168304443359375, -0.01557159423828125, 0.033111572265625, 0.01517486572265625, -0.0259857177734375, -0.042999267578125, -0.0601806640625, 0.0202789306640625, -0.0765380859375, -0.03448486328125, -0.0208892822265625, 0.0157318115234375, 0.01776123046875, -0.0109405517578125, -0.017120361328125, 0.015472412109375, 0.0017719268798828125, 0.04833984375, -0.0303955078125, 0.01105499267578125, -0.028350830078125, -0.05706787109375, 0.0374755859375, 0.0197906494140625, -0.03143310546875, 0.0037860870361328125, 0.05084228515625, 0.001010894775390625, -0.0270538330078125, 0.0139923095703125, -0.037811279296875, 0.019683837890625, -0.010894775390625, 0.027099609375, -0.023712158203125, 0.034637451171875, 0.030731201171875, -0.0305328369140625, 0.0285797119140625, 0.02532958984375, -0.01351165771484375, -0.0265045166015625, -0.0111236572265625, 0.045196533203125, 0.050262451171875, 0.004276275634765625, 0.0182952880859375, 0.043487548828125, -0.0128631591796875, -0.006092071533203125, -0.0496826171875, 0.0144195556640625, -0.020355224609375, 0.023040771484375, -0.01224517822265625, -0.00722503662109375, -0.002685546875, -0.047149658203125, -0.0064544677734375, 0.0012407302856445312, 0.005863189697265625, 0.0237274169921875, -0.08343505859375, -0.0141448974609375, 0.0221405029296875, -0.0196380615234375, 0.0050048828125, 0.018035888671875, -0.031036376953125, 0.0052032470703125, 0.0226593017578125, 0.0015087127685546875, -0.0535888671875, -0.0428466796875, 0.08013916015625, -0.0548095703125, -0.0263214111328125, -0.01331329345703125, 0.0435791015625, 0.0020751953125, -0.052764892578125, -0.00909423828125, 0.023834228515625, -0.039520263671875, 0.004367828369140625, -0.00290679931640625, 0.0260009765625, -0.040618896484375, -0.007701873779296875, -0.00490570068359375, 0.036529541015625, -0.0253753662109375, 0.04608154296875, 0.036285400390625, 0.04052734375, 0.0207672119140625, 0.03631591796875, -0.00823211669921875, 0.034637451171875, -0.023651123046875, 0.033660888671875, -0.01190185546875, 0.006336212158203125, 0.016632080078125, -0.0117034912109375, 0.007293701171875, 0.02728271484375, 0.04168701171875, -0.0335693359375, 0.01116180419921875, -0.01293182373046875, 0.040374755859375, 0.00688934326171875 ]
959b23c6d4112aa2aa397b05241d177b2291143d
Wordpress Stackexchange Q: Get content from one page and show it on another page So, I've been googling and reading and testing and failing. I'm fairly new to php, so don't expect to much :) I'm working on a new design, and I want to show content from the about page on my homepage, which is dynamic. So, I've been looking into that the_content thing, but I havent gotten any luck so far. <?php $id=about; $post = get_page($id=); $content = apply_filters('the_content', $post->post_content); echo $content; ?> the ID of the page is "about", if that is any help. Please get back to me :) A: First off: The ID of a post or page is always an integer. "about" is either your about page's title, slug or both. Including the following in your "homepage's" page template or in the sidebar combined with conditional tag(s) will display the about page's content: <?php // query for the about page $your_query = new WP_Query( 'pagename=about' ); // "loop" through query (even though it's just one page) while ( $your_query->have_posts() ) : $your_query->the_post(); the_content(); endwhile; // reset post data (important!) wp_reset_postdata(); ?> Edit: The above works, IFF your page's slug is indeed "about", otherwise adjust accordingly.
Q: Get content from one page and show it on another page So, I've been googling and reading and testing and failing. I'm fairly new to php, so don't expect to much :) I'm working on a new design, and I want to show content from the about page on my homepage, which is dynamic. So, I've been looking into that the_content thing, but I havent gotten any luck so far. <?php $id=about; $post = get_page($id=); $content = apply_filters('the_content', $post->post_content); echo $content; ?> the ID of the page is "about", if that is any help. Please get back to me :) A: First off: The ID of a post or page is always an integer. "about" is either your about page's title, slug or both. Including the following in your "homepage's" page template or in the sidebar combined with conditional tag(s) will display the about page's content: <?php // query for the about page $your_query = new WP_Query( 'pagename=about' ); // "loop" through query (even though it's just one page) while ( $your_query->have_posts() ) : $your_query->the_post(); the_content(); endwhile; // reset post data (important!) wp_reset_postdata(); ?> Edit: The above works, IFF your page's slug is indeed "about", otherwise adjust accordingly. A: The codex is your friend! http://codex.wordpress.org/Function_Reference/get_post <?php $post_id = 7; $post = get_post($post_id, ARRAY_A); $title = $post['post_title']; $content = $post['post_content']; ?> (ARRAY_A - Returns an associative array of field names to values) It's a start. A: I wanted something similar but with page Title, this is how I achieved it: $args = array( 'post_type' => 'page', 'title' => 'The title of the page you want' ); $your_query = new WP_Query( $args ); while ( $your_query->have_posts() ) : $your_query->the_post(); the_content(); endwhile; A: Best way to get the current page content global $post; echo $post->post_content; or global $wp_query; echo $wp_query->post->post_content;
wordpress
{ "language": "en", "length": 298, "provenance": "stackexchange_00019.jsonl.gz:414507", "question_score": "9", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33375" }
[ 0.041107177734375, 0.0019130706787109375, -0.0226898193359375, -0.0206451416015625, 0.041839599609375, -0.0540771484375, 0.0352783203125, -0.023040771484375, 0.024383544921875, 0.0269775390625, -0.104248046875, 0.004791259765625, 0.01000213623046875, -0.004550933837890625, 0.01430511474609375, -0.042449951171875, 0.04254150390625, -0.022064208984375, 0.0292816162109375, 0.005947113037109375, -0.01873779296875, 0.0235137939453125, 0.05517578125, 0.014434814453125, 0.022796630859375, -0.048095703125, 0.0771484375, -0.0023651123046875, 0.00014412403106689453, -0.026641845703125, 0.0186309814453125, -0.0032901763916015625, 0.0305633544921875, 0.0032749176025390625, -0.019500732421875, -0.00472259521484375, 0.01161956787109375, -0.0231781005859375, -0.01477813720703125, 0.05291748046875, 0.004695892333984375, 0.00223541259765625, 0.0216217041015625, 0.01509857177734375, 0.005962371826171875, -0.034912109375, 0.01654052734375, -0.059539794921875, 0.00928497314453125, 0.037750244140625, 0.023193359375, -0.00933837890625, 0.004852294921875, 0.03302001953125, -0.0118408203125, 0.0013599395751953125, 0.0048370361328125, -0.045806884765625, 0.03131103515625, -0.055389404296875, -0.0209197998046875, -0.021759033203125, 0.06304931640625, 0.0435791015625, -0.0009570121765136719, 0.0090484619140625, 0.031402587890625, 0.007076263427734375, -0.04351806640625, 0.0009851455688476562, 0.0310821533203125, -0.029449462890625, 0.0036487579345703125, -0.0247344970703125, -0.03759765625, 0.0038242340087890625, 0.0016956329345703125, -0.027984619140625, 0.006744384765625, -0.0104827880859375, -0.01548004150390625, -0.0210418701171875, -0.07684326171875, -0.01776123046875, -0.003200531005859375, -0.013427734375, -0.006702423095703125, 0.003208160400390625, -0.0214080810546875, -0.0249786376953125, -0.022857666015625, 0.004833221435546875, 0.01206207275390625, -0.0193634033203125, -0.041412353515625, -0.0109100341796875, 0.0033054351806640625, 0.030731201171875, -0.0061798095703125, 0.006107330322265625, 0.01137542724609375, -0.033050537109375, 0.037078857421875, -0.040863037109375, 0.0304107666015625, -0.016021728515625, -0.0235443115234375, 0.00749969482421875, 0.08441162109375, 0.050323486328125, 0.0016117095947265625, 0.057952880859375, -0.03765869140625, -0.02154541015625, -0.038421630859375, 0.059326171875, -0.032958984375, -0.049285888671875, -0.0032634735107421875, -0.004302978515625, -0.0009341239929199219, 0.00795745849609375, -0.0031070709228515625, 0.0052032470703125, 0.0132293701171875, 0.016845703125, 0.0008587837219238281, -0.022003173828125, 0.027923583984375, 0.0279998779296875, -0.037628173828125, -0.00595855712890625, 0.07037353515625, 0.0083770751953125, -0.00229644775390625, -0.027252197265625, -0.01428985595703125, -0.00655364990234375, -0.0220184326171875, 0.0260009765625, -0.00397491455078125, -0.0260009765625, 0.0267791748046875, -0.02288818359375, -0.022979736328125, -0.0169830322265625, 0.0133819580078125, 0.033935546875, -0.00283050537109375, -0.01291656494140625, -0.0058135986328125, 0.038421630859375, 0.007335662841796875, -0.0007252693176269531, 0.0214691162109375, -0.0243988037109375, 0.026702880859375, -0.0250396728515625, 0.022705078125, -0.0204925537109375, 0.06024169921875, 0.0164794921875, -0.0015535354614257812, -0.0011434555053710938, -0.027496337890625, -0.04302978515625, -0.076904296875, -0.01267242431640625, 0.0161895751953125, 0.0141448974609375, 0.048858642578125, -0.045684814453125, -0.045135498046875, -0.019866943359375, -0.0038433074951171875, -0.00647735595703125, -0.0081787109375, 0.02484130859375, 0.00015914440155029297, 0.057891845703125, 0.020965576171875, -0.041259765625, 0.01082611083984375, 0.0038909912109375, -0.0269775390625, 0.02801513671875, 0.034149169921875, 0.03900146484375, -0.0308837890625, 0.026702880859375, 0.059539794921875, 0.04736328125, -0.0706787109375, 0.0295867919921875, -0.00595855712890625, 0.0216217041015625, -0.040374755859375, -0.0008749961853027344, -0.0118560791015625, -0.00690460205078125, -0.005779266357421875, -0.01474761962890625, 0.0118865966796875, 0.01035308837890625, -0.0941162109375, 0.0206451416015625, -0.044036865234375, 0.0408935546875, 0.032257080078125, 0.04901123046875, 0.01526641845703125, 0.042083740234375, -0.036590576171875, -0.034515380859375, -0.06390380859375, -0.02838134765625, -0.0295867919921875, -0.00980377197265625, -0.0141143798828125, 0.04144287109375, -0.008209228515625, -0.02178955078125, -0.05474853515625, -0.01103973388671875, 0.07635498046875, -0.034423828125, -0.0055084228515625, -0.05535888671875, 0.026336669921875, -0.022216796875, -0.05963134765625, 0.05853271484375, 0.025970458984375, 0.007061004638671875, -0.0271759033203125, 0.03668212890625, 0.0291290283203125, -0.011688232421875, -0.0234527587890625, 0.0274658203125, 0.0310516357421875, 0.0084381103515625, -0.0164337158203125, -0.000820159912109375, 0.029571533203125, -0.035003662109375, 0.00691986083984375, -0.006458282470703125, 0.032318115234375, 0.054412841796875, -0.0006537437438964844, -0.00258636474609375, 0.0382080078125, -0.0209197998046875, 0.01261138916015625, 0.0303497314453125, -0.003520965576171875, 0.0860595703125, -0.044677734375, 0.007343292236328125, -0.02386474609375, 0.034759521484375, 0.039886474609375, -0.014556884765625, 0.0182647705078125, 0.0185394287109375, 0.03564453125, 0.028106689453125, -0.0021533966064453125, -0.0157928466796875, -0.00023066997528076172, 0.0134735107421875, -0.0049285888671875, 0.040252685546875, -0.039093017578125, -0.0119171142578125, -0.040771484375, -0.0079803466796875, -0.0013170242309570312, 0.0085601806640625, 0.009979248046875, 0.0137939453125, -0.0136566162109375, -0.0114593505859375, 0.0254364013671875, -0.04217529296875, -0.01544952392578125, 0.0204315185546875, 0.03057861328125, 0.03515625, 0.029388427734375, 0.061981201171875, -0.026947021484375, 0.06793212890625, 0.006473541259765625, 0.011077880859375, 0.045684814453125, -0.0172119140625, 0.00994873046875, 0.00453948974609375, 0.07232666015625, 0.05560302734375, 0.019683837890625, -0.006038665771484375, 0.005733489990234375, 0.007129669189453125, 0.031097412109375, -0.004787445068359375, -0.005390167236328125, 0.0035648345947265625, -0.030242919921875, 0.01934814453125, 0.0277862548828125, 0.057342529296875, -0.005615234375, -0.0487060546875, -0.01052093505859375, 0.044403076171875, -0.11822509765625, -0.10479736328125, 0.0244598388671875, -0.055511474609375, -0.015777587890625, -0.0036563873291015625, -0.0406494140625, -0.0022792816162109375, 0.01125335693359375, -0.002429962158203125, -0.007091522216796875, -0.02691650390625, -0.036773681640625, -0.02947998046875, -0.04302978515625, 0.0207366943359375, 0.00225830078125, 0.01983642578125, 0.015960693359375, -0.00629425048828125, 0.0018596649169921875, -0.0237579345703125, 0.0263671875, 0.044769287109375, -0.034393310546875, -0.00882720947265625, 0.01605224609375, -0.008453369140625, -0.0267791748046875, 0.024505615234375, -0.006900787353515625, -0.0013380050659179688, -0.004791259765625, -0.0300445556640625, -0.0273590087890625, 0.0157318115234375, 0.0172882080078125, 0.0009016990661621094, 0.0163421630859375, 0.033843994140625, 0.041412353515625, -0.01279449462890625, -0.059539794921875, 0.009002685546875, -0.0904541015625, -0.048858642578125, 0.07769775390625, -0.0006127357482910156, -0.036041259765625, -0.019989013671875, 0.0010509490966796875, -0.01513671875, 0.0411376953125, -0.03668212890625, 0.02264404296875, -0.00823211669921875, -0.007740020751953125, -0.0186309814453125, -0.01451873779296875, -0.0071563720703125, 0.0092010498046875, 0.0030422210693359375, 0.01253509521484375, 0.0038089752197265625, -0.01360321044921875, -0.0158538818359375, -0.04473876953125, 0.03704833984375, -0.00738525390625, 0.02001953125, 0.0011444091796875, -0.033538818359375, 0.0234375, 0.09197998046875, -0.033935546875, 0.0025119781494140625, 0.002635955810546875, -0.011993408203125, -0.03204345703125, -0.01483917236328125, -0.09033203125, 0.0120849609375, -0.07025146484375, 0.0244903564453125, 0.0009312629699707031, -0.0305633544921875, -0.004161834716796875, 0.035400390625, -0.039398193359375, -0.0150909423828125, 0.031524658203125, -0.028106689453125, -0.004039764404296875, 0.039764404296875, -0.0372314453125, 0.02886962890625, -0.035491943359375, -0.022979736328125, -0.044891357421875, -0.0231475830078125, 0.03143310546875, 0.03741455078125, 0.006744384765625, -0.021240234375, 0.0038928985595703125, 0.0537109375, 0.032073974609375, 0.04638671875, -0.007740020751953125, -0.0279541015625, 0.020751953125, -0.031463623046875, 0.0096893310546875, -0.019989013671875, -0.018402099609375, -0.042205810546875, 0.00954437255859375, 0.0160980224609375, -0.055572509765625, 0.00598907470703125, -0.056793212890625, 0.0186309814453125, -0.0665283203125, -0.01016998291015625, -0.004848480224609375, -0.0271453857421875, -0.00917816162109375, -0.0059661865234375, 0.0305328369140625, -0.04180908203125, 0.033233642578125, 0.053192138671875, -0.029449462890625, 0.003391265869140625, 0.0189361572265625, 0.016387939453125, -0.049530029296875, -0.053070068359375, -0.01421356201171875, 0.0154266357421875, -0.0173187255859375, 0.057464599609375, 0.0127410888671875, -0.00875091552734375, 0.0848388671875, -0.01090240478515625, 0.0283050537109375, -0.026824951171875, 0.05413818359375, -0.0030269622802734375, 0.00921630859375, 0.01003265380859375, -0.0021915435791015625, -0.013519287109375, -0.0082550048828125, -0.0235748291015625, 0.0117950439453125, 0.01435089111328125, 0.0034847259521484375, -0.021636962890625, 0.0379638671875, -0.0139312744140625, 0.01042938232421875, -0.0097503662109375, 0.051513671875, 0.031707763671875, 0.033782958984375, 0.004638671875, -0.00766754150390625, 0.00894927978515625, 0.0200653076171875, 0.037567138671875, 0.028045654296875, -0.0189666748046875, 0.03955078125, 0.0321044921875, -0.0168609619140625, 0.019989013671875, 0.005657196044921875, 0.025848388671875, -0.00650787353515625, -0.064208984375, 0.0128631591796875, 0.0121917724609375, -0.01116180419921875, 0.031890869140625, 0.0186004638671875, 0.00998687744140625, -0.0018434524536132812, -0.007366180419921875, -0.0031261444091796875, 0.0141448974609375, -0.0023860931396484375, -0.0220184326171875, 0.0357666015625, -0.004573822021484375, 0.00916290283203125, 0.0241851806640625, 0.0545654296875, -0.04364013671875, 0.0672607421875, -0.024078369140625, 0.0416259765625, 0.02923583984375, 0.01324462890625, 0.00846099853515625, 0.01318359375, 0.0079803466796875, 0.0008907318115234375, 0.00815582275390625, -0.0460205078125, -0.020263671875, 0.0455322265625, 0.08233642578125, -0.0323486328125, -0.034271240234375, 0.00762939453125, -0.01369476318359375, 0.0161590576171875, 0.048583984375, 0.0040740966796875, -0.049591064453125, -0.0056304931640625, 0.0129547119140625, 0.007129669189453125, -0.03021240234375, 0.0011768341064453125, 0.042449951171875, 0.0028438568115234375, 0.0172576904296875, 0.004016876220703125, -0.0186614990234375, -0.009124755859375, -0.0085906982421875, 0.05450439453125, -0.0262603759765625, -0.0274505615234375, 0.004444122314453125, 0.028839111328125, -0.0283660888671875, -0.00421142578125, 0.050567626953125, -0.0157928466796875, 0.01483917236328125, -0.0604248046875, 0.0321044921875, -0.056854248046875, -0.005992889404296875, 0.038848876953125, 0.0150604248046875, -0.039337158203125, 0.0297088623046875, -0.04815673828125, -0.006542205810546875, 0.006298065185546875, -0.05621337890625, -0.04986572265625, -0.0555419921875, 0.009765625, 0.03533935546875, -0.0035076141357421875, -0.01490020751953125, -0.020355224609375, -0.01934814453125, -0.004474639892578125, 0.0670166015625, -0.018218994140625, 0.07843017578125, -0.0033779144287109375, 0.0830078125, 0.01861572265625, 0.03143310546875, -0.027191162109375, -0.034027099609375, -0.0034942626953125, -0.05938720703125, -0.0228729248046875, 0.0199432373046875, -0.01331329345703125, 0.0279541015625, 0.015655517578125, 0.004810333251953125, 0.022064208984375, -0.03662109375, -0.00041413307189941406, -0.028350830078125, 0.03753662109375, -0.072509765625, -0.033599853515625, 0.03900146484375, -0.031402587890625, -0.02484130859375, 0.0182647705078125, 0.026519775390625, -0.011688232421875, -0.023406982421875, -0.01287078857421875, 0.0034656524658203125, -0.021820068359375, 0.04034423828125, 0.07879638671875, 0.006603240966796875, 0.0523681640625, 0.01459503173828125, 0.00522613525390625, 0.0360107421875, 0.00183868408203125, -0.005779266357421875, -0.0038585662841796875, 0.0311279296875, -0.0180816650390625, -0.00954437255859375, -0.005992889404296875, -0.022796630859375, -0.012603759765625, 0.0182342529296875, 0.031768798828125, -0.036651611328125, -0.00638580322265625, 0.00787353515625, -0.01505279541015625, 0.01471710205078125, 0.007785797119140625, -0.005649566650390625, 0.007686614990234375, 0.025390625, 0.01279449462890625, -0.0213165283203125, 0.0201873779296875, 0.015625, -0.01678466796875, -0.006771087646484375, 0.06597900390625, 0.0205230712890625, -0.01837158203125, 0.00844573974609375, 0.00695037841796875, 0.00399017333984375, -0.03900146484375, -0.005901336669921875, 0.0123138427734375, -0.0092620849609375, -0.0380859375, 0.049652099609375, -0.00543975830078125, 0.025543212890625, 0.04058837890625, 0.02471923828125, -0.0270538330078125, 0.041229248046875, -0.016998291015625, 0.0275115966796875, 0.0035152435302734375, -0.02978515625, -0.048553466796875, 0.0016078948974609375, 0.01251983642578125, 0.027008056640625, -0.04949951171875, 0.032257080078125, -0.049346923828125, 0.0011072158813476562, -0.0186309814453125, -0.0382080078125, 0.06134033203125, -0.019287109375, -0.0308074951171875, 0.00972747802734375, 0.00516510009765625, -0.0000012516975402832031, -0.0023193359375, 0.0171051025390625, -0.0174560546875, 0.032684326171875, 0.0133209228515625, 0.016387939453125, -0.040069580078125, -0.0185394287109375, -0.06787109375, 0.106689453125, -0.006290435791015625, 0.04034423828125, 0.016448974609375, 0.030670166015625, -0.040191650390625, -0.0134735107421875, -0.0560302734375, 0.07659912109375, 0.03424072265625, 0.06884765625, -0.08038330078125, -0.0298004150390625, 0.0168304443359375, 0.037200927734375, 0.040069580078125, 0.006603240966796875, -0.055389404296875, -0.0260772705078125, 0.01444244384765625, 0.00565338134765625, -0.01016998291015625, 0.059539794921875, -0.002445220947265625, 0.03851318359375, 0.06842041015625, -0.068603515625, 0.018218994140625, -0.0078582763671875, 0.0219268798828125, 0.01861572265625, 0.00913238525390625, -0.01153564453125, 0.01377105712890625, -0.00860595703125, -0.07293701171875, 0.01552581787109375, 0.042816162109375, 0.006671905517578125, 0.012237548828125, 0.048492431640625, 0.0384521484375, -0.0284271240234375, 0.00005227327346801758, -0.03399658203125, 0.049652099609375, 0.021270751953125, 0.0290985107421875, 0.0172119140625, 0.0200958251953125, 0.09039306640625, 0.00457000732421875, 0.0177764892578125, 0.020050048828125, 0.0042877197265625, 0.06549072265625, 0.0274810791015625, 0.023040771484375, -0.056304931640625, 0.0217742919921875, -0.0032806396484375, 0.06781005859375, -0.06219482421875, -0.018218994140625, 0.010009765625, -0.004177093505859375, 0.00307464599609375, -0.02239990234375, 0.00644683837890625, 0.02276611328125, 0.03857421875, -0.031768798828125, -0.00954437255859375, 0.050750732421875, -0.0038928985595703125, 0.006725311279296875, -0.024322509765625, -0.01409912109375, 0.00865936279296875, -0.03753662109375, 0.0207672119140625, 0.031219482421875, 0.0308380126953125, -0.0108489990234375, 0.05230712890625, -0.0031528472900390625, -0.006549835205078125, 0.015350341796875, 0.0071563720703125, -0.0281829833984375, -0.006298065185546875, -0.0217742919921875, -0.034271240234375, -0.043365478515625, 0.03759765625, 0.028961181640625, -0.0217742919921875, 0.0266265869140625, 0.024261474609375, -0.01369476318359375, -0.011322021484375, -0.00711822509765625, -0.01514434814453125, 0.0693359375, -0.00965118408203125, 0.02178955078125, -0.00963592529296875, -0.0207977294921875, -0.041259765625, 0.018463134765625, 0.0272369384765625, 0.0157012939453125, 0.0352783203125, -0.0116729736328125, -0.007152557373046875, 0.01172637939453125, -0.027313232421875, 0.0582275390625, 0.00457763671875, -0.0848388671875, 0.0167083740234375, -0.050689697265625, -0.053497314453125, 0.0227203369140625, 0.033203125, -0.005523681640625, 0.0098419189453125, 0.0193328857421875, -0.01351165771484375, 0.0147552490234375, -0.0007319450378417969, 0.00707244873046875, 0.057647705078125, 0.028167724609375, 0.0211639404296875, -0.031036376953125, -0.022552490234375, -0.002864837646484375, 0.0254364013671875, 0.006374359130859375, 0.02740478515625, 0.019195556640625, 0.031463623046875, -0.034454345703125, 0.0394287109375, -0.045257568359375, -0.0225982666015625, 0.056365966796875, 0.017913818359375, -0.0013914108276367188, -0.0144805908203125, -0.0080108642578125, 0.03656005859375, 0.01505279541015625, -0.0177154541015625, 0.03973388671875, -0.039306640625, 0.0015630722045898438, -0.02825927734375, 0.00832366943359375, -0.015869140625, 0.069580078125, 0.01358795166015625, -0.0653076171875, 0.06842041015625, 0.003780364990234375, 0.02447509765625, 0.052764892578125, -0.0086212158203125, -0.00832366943359375, 0.01018524169921875, -0.039154052734375, -0.01236724853515625, 0.0216827392578125, 0.0270843505859375, -0.04339599609375, 0.026123046875, 0.0013637542724609375, 0.007762908935546875, 0.026824951171875, 0.033355712890625, 0.03515625, -0.03680419921875, 0.0028533935546875, -0.02728271484375, 0.02508544921875, -0.01171112060546875, 0.00659942626953125, -0.01248931884765625, 0.020477294921875, 0.006359100341796875, -0.019775390625, 0.0029850006103515625, -0.0223846435546875, -0.01424407958984375, 0.023834228515625, -0.021942138671875, 0.004650115966796875, -0.035247802734375, -0.004608154296875, 0.049072265625, 0.01678466796875, -0.0311737060546875, -0.006404876708984375, -0.0201873779296875, 0.059051513671875, -0.0079345703125, -0.005413055419921875, -0.003131866455078125, 0.0188751220703125, -0.047698974609375, 0.0164794921875, -0.056060791015625, -0.03289794921875, -0.0263214111328125, 0.0015811920166015625, 0.0489501953125, -0.022491455078125, -0.0537109375, 0.0134124755859375, 0.0026683807373046875, 0.04742431640625, -0.036468505859375, 0.00249481201171875, 0.0278472900390625, -0.0010852813720703125, -0.034698486328125, -0.0225372314453125, 0.0141754150390625, -0.003997802734375, -0.0222930908203125, 0.0273590087890625, -0.006481170654296875, 0.0131988525390625, -0.0229949951171875, -0.0222625732421875, 0.0294036865234375, 0.017303466796875, -0.0278778076171875, -0.0035572052001953125, 0.0143280029296875, 0.017578125, -0.048004150390625, -0.0012187957763671875, -0.032470703125, -0.019073486328125, -0.008087158203125, 0.01222991943359375, 0.05474853515625, 0.020904541015625, 0.0194091796875, -0.07464599609375, 0.0005669593811035156, -0.046630859375, 0.03851318359375, 0.009521484375, -0.0238800048828125, 0.0268402099609375, 0.00406646728515625, -0.03277587890625, -0.01059722900390625, 0.003009796142578125, -0.01226806640625, -0.02130126953125, -0.0102081298828125, -0.0218505859375, 0.0030193328857421875, 0.0302276611328125, 0.059661865234375, 0.01123046875, -0.028045654296875, 0.0174560546875, 0.029541015625, -0.0308380126953125, -0.009765625, 0.03143310546875, -0.0697021484375, -0.0206451416015625, -0.007396697998046875, -0.04095458984375, -0.006656646728515625, -0.01971435546875, -0.055633544921875, -0.0102691650390625, -0.046722412109375, -0.016998291015625, -0.01025390625, -0.01983642578125, 0.0092010498046875, -0.00604248046875, -0.0004696846008300781, -0.01120758056640625, 0.0145416259765625, -0.0102996826171875, -0.0010232925415039062, 0.035552978515625, 0.00897216796875, 0.00313568115234375, 0.00514984130859375, 0.0198516845703125, -0.0180816650390625, -0.005252838134765625, -0.0306854248046875, -0.0122222900390625, 0.027557373046875, 0.00457000732421875, 0.024169921875, 0.0217437744140625, 0.0196380615234375, 0.01092529296875, -0.0065765380859375, 0.0105133056640625, 0.03704833984375, 0.01334381103515625, 0.042572021484375, 0.01200103759765625, -0.0504150390625, 0.03302001953125, -0.051605224609375, -0.01215362548828125, 0.000579833984375, -0.0240478515625, -0.057220458984375, 0.01348114013671875, 0.00388336181640625, -0.006755828857421875, 0.0139007568359375 ]
63ae2ebc07c2dc1521662fff63918bb9bb49331d
Wordpress Stackexchange Q: How to get a list of all the possible thumbnail sizes set within a theme What function can I use in a plugin to get the dimensions of every image size (in an array preferably) that is defined in a child theme? Just for clarification I am not asking how to create a new image size. A: Found it here. The answer is: global $_wp_additional_image_sizes; print '<pre>'; print_r( $_wp_additional_image_sizes ); print '</pre>';
Q: How to get a list of all the possible thumbnail sizes set within a theme What function can I use in a plugin to get the dimensions of every image size (in an array preferably) that is defined in a child theme? Just for clarification I am not asking how to create a new image size. A: Found it here. The answer is: global $_wp_additional_image_sizes; print '<pre>'; print_r( $_wp_additional_image_sizes ); print '</pre>'; A: If the other answer did not work, use this code, so it will run after WordPress is initialized. add_action('init', 'get_all_image_sizes'); function get_all_image_sizes(){ global $_wp_additional_image_sizes; print '<pre>'; print_r( $_wp_additional_image_sizes ); print '</pre>'; } A: Since WP 4.7 you can use wp_get_additional_image_sizes() to get additional image sizes registered (excluding the default image sizes added by WP). Since WP 5.3 you can use wp_get_registered_image_subsizes() to get all the image sizes registered. A: WordPress core doesn't have a native method for getting intermediate image sizes (i.e. width and height), but the following helper function will get all registered image sizes along with their dimensions: /** * Get all the registered image sizes along with their dimensions * * @global array $_wp_additional_image_sizes * * @link http://core.trac.wordpress.org/ticket/18947 Reference ticket * * @return array $image_sizes The image sizes */ function _get_all_image_sizes() { global $_wp_additional_image_sizes; $default_image_sizes = get_intermediate_image_sizes(); foreach ( $default_image_sizes as $size ) { $image_sizes[ $size ][ 'width' ] = intval( get_option( "{$size}_size_w" ) ); $image_sizes[ $size ][ 'height' ] = intval( get_option( "{$size}_size_h" ) ); $image_sizes[ $size ][ 'crop' ] = get_option( "{$size}_crop" ) ? get_option( "{$size}_crop" ) : false; } if ( isset( $_wp_additional_image_sizes ) && count( $_wp_additional_image_sizes ) ) { $image_sizes = array_merge( $image_sizes, $_wp_additional_image_sizes ); } return $image_sizes; } Which will output results similar to: Array ( [thumbnail] => Array ( [width] => 150 [height] => 150 [crop] => 1 ) [medium] => Array ( [width] => 300 [height] => 300 [crop] => ) [medium_large] => Array ( [width] => 768 [height] => 0 [crop] => ) [large] => Array ( [width] => 1024 [height] => 1024 [crop] => ) ) A: If you only need the names of all image sizes, you can use get_intermediate_image_sizes: <pre> <?php print_r(get_intermediate_image_sizes()); ?> </pre> A: Since WP 5.3 it is enough to use this function: wp_get_registered_image_subsizes(); Documentation: https://developer.wordpress.org/reference/functions/wp_get_registered_image_subsizes/ A: Use the following functions: get_intermediate_image_sizes(); // get all the image size names. wp_get_additional_image_sizes(); // get all the additional image size data. wp_get_registered_image_subsizes(); // get all the image size data.
wordpress
{ "language": "en", "length": 406, "provenance": "stackexchange_00019.jsonl.gz:414552", "question_score": "37", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33532" }
[ -0.01806640625, -0.025604248046875, -0.019287109375, -0.0039043426513671875, -0.012420654296875, -0.01983642578125, 0.026519775390625, 0.0078125, 0.0032215118408203125, 0.005641937255859375, -0.033599853515625, 0.0285491943359375, -0.05145263671875, -0.0002593994140625, -0.007717132568359375, -0.035003662109375, 0.07666015625, -0.053863525390625, 0.0288238525390625, 0.008697509765625, 0.010467529296875, 0.07525634765625, 0.0189208984375, 0.11163330078125, 0.016754150390625, 0.0032958984375, 0.032684326171875, -0.0079345703125, -0.008453369140625, -0.0285186767578125, 0.01262664794921875, 0.01027679443359375, -0.0002434253692626953, -0.0193634033203125, 0.0667724609375, -0.00308990478515625, 0.059173583984375, -0.0257415771484375, 0.028839111328125, 0.01116943359375, 0.047698974609375, -0.0269622802734375, 0.037750244140625, 0.00591278076171875, 0.0062103271484375, -0.01479339599609375, 0.0347900390625, -0.0548095703125, -0.005893707275390625, 0.0034580230712890625, 0.0251312255859375, -0.01549530029296875, 0.05047607421875, 0.002101898193359375, -0.018096923828125, -0.0155792236328125, -0.0184173583984375, 0.058258056640625, 0.047393798828125, -0.03857421875, -0.07623291015625, -0.02197265625, 0.035125732421875, -0.0199737548828125, 0.0010461807250976562, 0.0001436471939086914, -0.042083740234375, 0.026611328125, -0.0086669921875, -0.01038360595703125, -0.0026645660400390625, -0.01983642578125, 0.0012416839599609375, -0.0126190185546875, -0.01421356201171875, 0.00695037841796875, -0.01107025146484375, -0.022552490234375, 0.027801513671875, -0.01446533203125, 0.0206451416015625, -0.0484619140625, -0.056488037109375, 0.018524169921875, 0.0294647216796875, 0.053497314453125, 0.01078033447265625, -0.0239715576171875, -0.0321044921875, 0.00348663330078125, -0.0220947265625, -0.03570556640625, -0.03533935546875, 0.029815673828125, 0.00981903076171875, -0.0114288330078125, 0.033843994140625, 0.034210205078125, -0.01519012451171875, -0.004192352294921875, 0.00585174560546875, -0.048614501953125, 0.03302001953125, -0.041412353515625, -0.0097198486328125, -0.01178741455078125, -0.01004791259765625, -0.00408172607421875, 0.0231475830078125, 0.0640869140625, -0.00797271728515625, -0.00637054443359375, -0.008331298828125, 0.0050506591796875, -0.0125732421875, 0.011260986328125, -0.0386962890625, 0.034149169921875, -0.00984954833984375, 0.039154052734375, 0.0208740234375, 0.01485443115234375, 0.0237579345703125, -0.01654052734375, 0.0018444061279296875, -0.00643157958984375, -0.034881591796875, -0.033599853515625, -0.01102447509765625, 0.044281005859375, -0.0181884765625, 0.01407623291015625, 0.008392333984375, -0.028045654296875, -0.0318603515625, -0.015655517578125, -0.005474090576171875, -0.034210205078125, 0.00011515617370605469, 0.019500732421875, -0.037261962890625, -0.034088134765625, 0.034912109375, -0.0306243896484375, 0.0006155967712402344, -0.0134124755859375, 0.0023326873779296875, 0.03955078125, 0.0010423660278320312, -0.034210205078125, 0.03363037109375, -0.01468658447265625, 0.020233154296875, 0.0300140380859375, 0.0176849365234375, 0.0111541748046875, 0.052398681640625, -0.021453857421875, -0.0271148681640625, -0.0275115966796875, -0.011322021484375, 0.00569915771484375, 0.00716400146484375, -0.0091094970703125, -0.0216217041015625, -0.0008826255798339844, -0.00972747802734375, 0.005519866943359375, 0.0238037109375, 0.0215606689453125, 0.0184783935546875, -0.00611114501953125, 0.0265045166015625, 0.00855255126953125, -0.013275146484375, 0.019989013671875, -0.01428985595703125, -0.0182037353515625, 0.0258636474609375, 0.04840087890625, 0.003139495849609375, -0.026611328125, 0.0229034423828125, -0.0014371871948242188, -0.0003838539123535156, -0.04901123046875, -0.00493621826171875, -0.00844573974609375, 0.04400634765625, 0.02642822265625, -0.02410888671875, -0.0258636474609375, -0.06439208984375, 0.037872314453125, -0.00782012939453125, 0.0264434814453125, -0.036865234375, 0.0257720947265625, -0.0182037353515625, -0.0426025390625, 0.03997802734375, -0.01091766357421875, 0.0076446533203125, -0.0219268798828125, -0.042144775390625, -0.012603759765625, -0.0168609619140625, 0.020782470703125, 0.01153564453125, 0.038787841796875, 0.0014715194702148438, 0.01385498046875, -0.02410888671875, 0.0009279251098632812, -0.00897979736328125, 0.0231781005859375, -0.0166168212890625, -0.0013227462768554688, -0.00817108154296875, 0.010986328125, -0.021453857421875, -0.01221466064453125, -0.035736083984375, 0.00626373291015625, 0.032073974609375, 0.032623291015625, -0.0450439453125, -0.007083892822265625, -0.0012521743774414062, 0.02459716796875, -0.06298828125, 0.0406494140625, -0.0286712646484375, 0.0272216796875, 0.00885772705078125, -0.0174102783203125, 0.01593017578125, -0.06341552734375, 0.0435791015625, 0.029327392578125, 0.038482666015625, 0.06103515625, 0.007678985595703125, 0.0016222000122070312, 0.1146240234375, 0.004474639892578125, 0.0132598876953125, -0.0011377334594726562, 0.0052032470703125, 0.037567138671875, 0.009185791015625, 0.0014886856079101562, 0.01377105712890625, -0.00795745849609375, 0.0176239013671875, 0.033782958984375, 0.00400543212890625, 0.00685882568359375, -0.04345703125, 0.063232421875, -0.01422882080078125, 0.035003662109375, 0.004970550537109375, 0.00971221923828125, 0.012359619140625, 0.007450103759765625, 0.0054931640625, 0.004596710205078125, -0.025634765625, 0.0265350341796875, 0.01331329345703125, -0.040008544921875, -0.00609588623046875, -0.00008493661880493164, -0.007640838623046875, 0.007122039794921875, -0.035736083984375, 0.027252197265625, -0.00687408447265625, -0.0175323486328125, -0.0085906982421875, 0.0088958740234375, -0.0438232421875, -0.0034465789794921875, -0.0091400146484375, -0.0643310546875, 0.002960205078125, 0.03515625, -0.00811767578125, 0.01934814453125, 0.0211181640625, 0.06585693359375, -0.006603240966796875, 0.048187255859375, -0.038543701171875, 0.022613525390625, -0.0070953369140625, -0.064208984375, 0.048614501953125, -0.041839599609375, 0.063720703125, 0.0777587890625, -0.0161590576171875, 0.02392578125, 0.0021381378173828125, -0.049774169921875, -0.017669677734375, 0.01024627685546875, -0.01128387451171875, 0.0072479248046875, -0.0718994140625, 0.02020263671875, 0.00958251953125, 0.0222320556640625, -0.023040771484375, -0.038421630859375, -0.01641845703125, 0.00933837890625, -0.05438232421875, -0.00731658935546875, -0.030364990234375, -0.102294921875, -0.0209503173828125, -0.030242919921875, -0.0552978515625, 0.02166748046875, -0.01477813720703125, 0.0128173828125, 0.01334381103515625, -0.03533935546875, -0.0123138427734375, -0.0474853515625, -0.0662841796875, -0.0292510986328125, 0.007518768310546875, 0.01409149169921875, -0.01202392578125, 0.0389404296875, -0.007701873779296875, -0.02313232421875, -0.037384033203125, 0.045684814453125, 0.0174713134765625, -0.03875732421875, -0.00881195068359375, 0.003543853759765625, -0.01270294189453125, 0.003917694091796875, -0.0054931640625, 0.036346435546875, -0.036529541015625, 0.020416259765625, -0.0124053955078125, -0.040679931640625, -0.01268768310546875, 0.08306884765625, 0.0222625732421875, -0.052825927734375, 0.030303955078125, -0.0648193359375, -0.001560211181640625, -0.0230865478515625, -0.04052734375, 0.04937744140625, 0.020538330078125, -0.007167816162109375, 0.01910400390625, -0.005367279052734375, 0.0232391357421875, 0.00667572021484375, 0.0047454833984375, -0.0124664306640625, 0.060394287109375, -0.005523681640625, 0.0160675048828125, -0.03680419921875, -0.0301971435546875, -0.031982421875, 0.037567138671875, -0.02276611328125, 0.021514892578125, 0.005504608154296875, 0.01158905029296875, -0.007541656494140625, -0.0177459716796875, 0.027984619140625, 0.01555633544921875, 0.07086181640625, -0.056060791015625, -0.04473876953125, -0.04302978515625, 0.07928466796875, -0.03778076171875, -0.033111572265625, -0.021728515625, 0.0170440673828125, -0.01445770263671875, -0.02740478515625, 0.0010433197021484375, -0.022216796875, -0.08734130859375, -0.0160369873046875, -0.0039215087890625, -0.053497314453125, -0.00024771690368652344, 0.0258941650390625, -0.0657958984375, -0.03424072265625, 0.0005335807800292969, 0.038177490234375, -0.0230255126953125, 0.0172882080078125, -0.0267181396484375, 0.0156097412109375, 0.0237884521484375, -0.0224609375, -0.0875244140625, -0.0157623291015625, -0.024322509765625, 0.0926513671875, 0.013336181640625, -0.003917694091796875, -0.027435302734375, 0.055694580078125, -0.0146331787109375, 0.031768798828125, -0.00516510009765625, 0.03173828125, 0.00499725341796875, -0.01629638671875, 0.0091094970703125, -0.026092529296875, -0.0168304443359375, -0.058837890625, -0.03790283203125, -0.0400390625, -0.0228271484375, -0.019287109375, -0.00836944580078125, -0.0027256011962890625, -0.018524169921875, 0.01177215576171875, 0.027069091796875, 0.030242919921875, 0.0035686492919921875, -0.0019626617431640625, -0.00726318359375, -0.0149993896484375, 0.0282745361328125, 0.0631103515625, -0.041778564453125, 0.01137542724609375, 0.058502197265625, 0.02130126953125, -0.02801513671875, -0.12939453125, -0.002460479736328125, 0.047576904296875, 0.017181396484375, 0.025543212890625, 0.0279693603515625, -0.0220947265625, 0.01181793212890625, 0.05059814453125, -0.00489044189453125, -0.0102691650390625, 0.057098388671875, -0.007518768310546875, -0.028167724609375, 0.022369384765625, -0.0225067138671875, 0.00614166259765625, 0.007595062255859375, -0.0020999908447265625, -0.01136016845703125, 0.0010013580322265625, 0.0193939208984375, -0.01255035400390625, 0.023712158203125, -0.01206207275390625, -0.01195526123046875, 0.00946044921875, 0.03485107421875, 0.02032470703125, 0.0206146240234375, -0.005096435546875, -0.01177978515625, 0.005573272705078125, 0.01300048828125, 0.017486572265625, 0.047027587890625, 0.002147674560546875, 0.058746337890625, 0.001529693603515625, 0.01465606689453125, -0.03302001953125, 0.010284423828125, -0.0225982666015625, -0.02301025390625, -0.0287628173828125, -0.032470703125, 0.0003275871276855469, -0.0019969940185546875, 0.00998687744140625, -0.00798797607421875, 0.050262451171875, 0.040130615234375, -0.020416259765625, -0.032806396484375, -0.0144500732421875, -0.007450103759765625, -0.051544189453125, 0.024688720703125, -0.01403045654296875, -0.0106964111328125, 0.035675048828125, 0.02032470703125, -0.04132080078125, 0.0401611328125, 0.0011301040649414062, 0.0005970001220703125, 0.0170745849609375, 0.015716552734375, 0.023193359375, 0.005092620849609375, 0.0008311271667480469, -0.008392333984375, 0.0246124267578125, -0.01238250732421875, -0.0127105712890625, 0.031982421875, 0.03643798828125, -0.007442474365234375, 0.005279541015625, -0.0009684562683105469, -0.0088653564453125, -0.00730133056640625, 0.022247314453125, 0.0012311935424804688, -0.04644775390625, -0.0017080307006835938, 0.0249176025390625, 0.038970947265625, -0.0185394287109375, -0.03973388671875, -0.012908935546875, -0.032440185546875, -0.021759033203125, 0.0110015869140625, -0.08074951171875, 0.048736572265625, 0.0631103515625, -0.1072998046875, -0.01580810546875, -0.01165008544921875, -0.048187255859375, -0.049468994140625, 0.01502227783203125, -0.03033447265625, 0.0158538818359375, -0.032562255859375, 0.032501220703125, -0.004848480224609375, -0.015167236328125, -0.0258941650390625, 0.02130126953125, 0.0452880859375, 0.0347900390625, -0.01447296142578125, -0.0264434814453125, -0.027984619140625, -0.0189056396484375, 0.038970947265625, -0.0031337738037109375, -0.0224761962890625, -0.017974853515625, -0.01174163818359375, 0.0003657341003417969, -0.0028839111328125, 0.0242767333984375, 0.006908416748046875, 0.0288848876953125, -0.01126861572265625, 0.006282806396484375, -0.0029697418212890625, 0.0017633438110351562, 0.02880859375, 0.0014963150024414062, -0.004985809326171875, -0.0160675048828125, -0.0032825469970703125, -0.01190948486328125, -0.0002262592315673828, 0.0018072128295898438, -0.0024852752685546875, -0.00904083251953125, 0.0029449462890625, -0.0340576171875, 0.0281524658203125, 0.00632476806640625, -0.01250457763671875, -0.0194244384765625, -0.005878448486328125, -0.0222930908203125, 0.07720947265625, -0.0130157470703125, -0.007465362548828125, 0.019317626953125, -0.0211029052734375, -0.0108642578125, -0.007205963134765625, -0.00934600830078125, 0.032928466796875, -0.00865936279296875, 0.0046844482421875, 0.02642822265625, -0.055267333984375, 0.06689453125, 0.08465576171875, 0.00438690185546875, 0.04376220703125, 0.031707763671875, -0.00356292724609375, 0.00397491455078125, -0.0268707275390625, -0.01422882080078125, 0.004669189453125, 0.039154052734375, 0.00737762451171875, 0.0079193115234375, 0.043701171875, -0.007904052734375, -0.005641937255859375, -0.0445556640625, 0.0186309814453125, 0.0186920166015625, 0.034912109375, 0.020599365234375, 0.0135650634765625, 0.035400390625, -0.01605224609375, -0.0094451904296875, 0.021453857421875, 0.0137481689453125, 0.00860595703125, -0.0382080078125, -0.00018596649169921875, 0.0232086181640625, -0.017486572265625, -0.0175933837890625, -0.0018825531005859375, 0.01617431640625, -0.0318603515625, 0.0206298828125, 0.0302886962890625, -0.007122039794921875, -0.02044677734375, 0.0298004150390625, -0.04083251953125, 0.01200103759765625, -0.0197906494140625, 0.00949859619140625, -0.0084228515625, 0.0119171142578125, -0.0244598388671875, 0.0033016204833984375, -0.0061798095703125, 0.043701171875, -0.0266265869140625, 0.0120391845703125, 0.035919189453125, -0.06707763671875, 0.019195556640625, 0.0079345703125, 0.0193023681640625, 0.006011962890625, -0.05902099609375, 0.0038814544677734375, -0.061187744140625, 0.03558349609375, -0.00986480712890625, 0.0008382797241210938, 0.04962158203125, -0.032684326171875, -0.005496978759765625, 0.04052734375, 0.03118896484375, -0.020965576171875, -0.007564544677734375, 0.027862548828125, -0.06060791015625, 0.0028667449951171875, 0.0057525634765625, 0.0134124755859375, 0.0032405853271484375, -0.0010223388671875, -0.057586669921875, 0.08056640625, -0.034210205078125, 0.0227813720703125, 0.03546142578125, 0.0205230712890625, -0.023406982421875, -0.00428009033203125, -0.0035533905029296875, 0.01111602783203125, -0.014404296875, -0.00899505615234375, -0.053497314453125, -0.006587982177734375, -0.020416259765625, 0.059234619140625, 0.0333251953125, -0.0025539398193359375, -0.03131103515625, -0.00257110595703125, 0.0693359375, 0.07025146484375, 0.032196044921875, 0.0146026611328125, 0.019073486328125, -0.0235595703125, 0.044708251953125, 0.007740020751953125, 0.04296875, -0.0211029052734375, 0.013885498046875, 0.02764892578125, 0.00152587890625, 0.004100799560546875, -0.002758026123046875, 0.00443267822265625, -0.0386962890625, 0.00682830810546875, 0.021820068359375, -0.047027587890625, 0.0450439453125, 0.03472900390625, 0.03167724609375, 0.027984619140625, -0.0104827880859375, 0.005878448486328125, 0.03668212890625, -0.01885986328125, 0.01267242431640625, -0.0104217529296875, -0.000713348388671875, 0.01528167724609375, -0.004970550537109375, -0.00786590576171875, 0.050750732421875, -0.01357269287109375, -0.008026123046875, 0.0034351348876953125, -0.0089111328125, -0.046356201171875, 0.0171356201171875, 0.053985595703125, 0.00849151611328125, -0.035552978515625, -0.07452392578125, 0.007663726806640625, 0.0225830078125, 0.0092926025390625, 0.046600341796875, 0.02923583984375, -0.044769287109375, 0.03851318359375, -0.03662109375, -0.006805419921875, 0.036285400390625, 0.048065185546875, 0.0022029876708984375, -0.018096923828125, -0.047149658203125, -0.045074462890625, -0.00360107421875, -0.0467529296875, 0.007389068603515625, 0.03790283203125, 0.0308074951171875, 0.046600341796875, -0.00841522216796875, -0.0186920166015625, -0.033416748046875, 0.047698974609375, -0.007572174072265625, 0.0438232421875, -0.0178375244140625, -0.0008344650268554688, 0.00013554096221923828, 0.0290374755859375, 0.02142333984375, -0.051605224609375, 0.032196044921875, 0.039581298828125, -0.07269287109375, -0.015289306640625, 0.0278472900390625, -0.00643157958984375, 0.0067291259765625, -0.03619384765625, 0.0406494140625, 0.04345703125, -0.0037746429443359375, -0.004253387451171875, -0.022064208984375, 0.09100341796875, -0.0268402099609375, 0.039825439453125, -0.01094818115234375, -0.01200103759765625, 0.00940704345703125, -0.02496337890625, 0.04388427734375, -0.01287078857421875, -0.09271240234375, -0.0040435791015625, -0.0310211181640625, 0.00223541259765625, 0.03900146484375, 0.014739990234375, -0.04022216796875, 0.054656982421875, 0.039337158203125, -0.019439697265625, 0.01519775390625, -0.003772735595703125, 0.0169219970703125, 0.012115478515625, 0.0306243896484375, 0.0186004638671875, -0.06732177734375, -0.03240966796875, -0.040313720703125, 0.0217437744140625, 0.04583740234375, 0.0202178955078125, 0.014007568359375, 0.04339599609375, 0.0231475830078125, -0.01068115234375, 0.018341064453125, -0.0078277587890625, 0.06146240234375, -0.00955963134765625, -0.012237548828125, -0.0251922607421875, -0.0491943359375, -0.003940582275390625, 0.032135009765625, -0.01490020751953125, -0.01355743408203125, -0.01507568359375, 0.033599853515625, 0.0170745849609375, 0.0204010009765625, -0.01385498046875, -0.03314208984375, -0.0323486328125, -0.00955963134765625, 0.01412200927734375, 0.01849365234375, 0.016754150390625, 0.0280914306640625, 0.0384521484375, -0.0080108642578125, 0.03802490234375, -0.0016012191772460938, 0.04425048828125, 0.040771484375, -0.02996826171875, -0.05255126953125, 0.007137298583984375, -0.00868988037109375, 0.0026397705078125, 0.004535675048828125, 0.072021484375, -0.0041656494140625, -0.0132293701171875, 0.03509521484375, 0.028594970703125, 0.0355224609375, -0.050079345703125, -0.004528045654296875, 0.044677734375, 0.00440216064453125, -0.0010652542114257812, -0.03564453125, -0.0167083740234375, -0.07440185546875, 0.0155792236328125, 0.01493072509765625, -0.0019664764404296875, -0.001277923583984375, 0.0282745361328125, -0.0096588134765625, 0.041656494140625, 0.0313720703125, -0.06671142578125, 0.0380859375, -0.004119873046875, 0.006763458251953125, 0.017669677734375, -0.013824462890625, 0.004199981689453125, 0.00301361083984375, -0.02227783203125, -0.03692626953125, -0.0231170654296875, 0.0265350341796875, 0.006656646728515625, 0.04949951171875, 0.0304107666015625, -0.065185546875, 0.0273895263671875, 0.088134765625, 0.07427978515625, 0.136962890625, 0.0229034423828125, -0.0369873046875, 0.006641387939453125, 0.00623321533203125, 0.01409149169921875, -0.06304931640625, -0.00787353515625, -0.06878662109375, 0.0172119140625, -0.02191162109375, 0.004215240478515625, 0.027587890625, -0.0343017578125, -0.09393310546875, 0.049530029296875, -0.031768798828125, -0.039825439453125, -0.054962158203125, 0.0272674560546875, 0.025421142578125, -0.041046142578125, -0.01444244384765625, 0.0002651214599609375, -0.0281524658203125, 0.006580352783203125, 0.01229095458984375, -0.03948974609375, 0.050933837890625, -0.026611328125, -0.04376220703125, 0.0149993896484375, 0.03521728515625, -0.0019130706787109375, 0.0306549072265625, -0.012786865234375, 0.0191192626953125, 0.02947998046875, -0.032470703125, -0.046478271484375, -0.0316162109375, -0.040435791015625, -0.0211944580078125, -0.0111541748046875, 0.00004363059997558594, 0.0263214111328125, 0.06622314453125, 0.03057861328125, 0.0187530517578125, -0.0341796875, 0.007076263427734375, 0.01338958740234375, -0.0087127685546875, -0.0109405517578125, 0.00896453857421875, -0.04229736328125, -0.019683837890625, -0.02484130859375, -0.0011529922485351562, -0.0182647705078125, 0.0108642578125, -0.0439453125, -0.022186279296875, -0.0338134765625, 0.00579071044921875, -0.058685302734375, 0.036956787109375, 0.028717041015625, -0.034698486328125, 0.0008759498596191406, -0.0277862548828125, 0.00014579296112060547, 0.008575439453125, -0.06378173828125, -0.0245513916015625, 0.020751953125, -0.0225830078125, 0.0276641845703125, -0.0188140869140625, 0.0030765533447265625, -0.059539794921875, 0.02508544921875, -0.00986480712890625, 0.0178070068359375, -0.0016841888427734375, 0.0255126953125, -0.007503509521484375, 0.0255126953125, 0.0062103271484375, 0.01161956787109375, -0.007648468017578125, 0.030548095703125, -0.004230499267578125, 0.0205841064453125, 0.00267791748046875, -0.009246826171875, 0.0243682861328125, -0.0250244140625, 0.0013952255249023438, -0.007354736328125, -0.065673828125, -0.0294189453125, -0.0035953521728515625, 0.0175018310546875, -0.02728271484375, 0.002956390380859375 ]
0732f9dbc44a8cda1874b20edcd4ddf2635a66f3
Wordpress Stackexchange Q: How to rewrite URI of custom post type? The site that I am working on uses the following "pretty" permalink structure: http://example.com/blog/my-special-post But for a custom post type my client would like to avoid having a "pretty" slug: http://example.com/product/142 How can the post ID be used in place of the slug for the custom post type? I believe that this might be possible using WP_Rewrite, but I do not know where to begin. A: This is what I use to rewrite custom post type URLs with the post ID. You need a rewrite rule to translate URL requests, as well as a filter on post_type_link to return the correct URLs for any calls to get_post_permalink(): add_filter('post_type_link', 'wpse33551_post_type_link', 1, 3); function wpse33551_post_type_link( $link, $post = 0 ){ if ( $post->post_type == 'product' ){ return home_url( 'product/' . $post->ID ); } else { return $link; } } add_action( 'init', 'wpse33551_rewrites_init' ); function wpse33551_rewrites_init(){ add_rewrite_rule( 'product/([0-9]+)?$', 'index.php?post_type=product&p=$matches[1]', 'top' ); }
Q: How to rewrite URI of custom post type? The site that I am working on uses the following "pretty" permalink structure: http://example.com/blog/my-special-post But for a custom post type my client would like to avoid having a "pretty" slug: http://example.com/product/142 How can the post ID be used in place of the slug for the custom post type? I believe that this might be possible using WP_Rewrite, but I do not know where to begin. A: This is what I use to rewrite custom post type URLs with the post ID. You need a rewrite rule to translate URL requests, as well as a filter on post_type_link to return the correct URLs for any calls to get_post_permalink(): add_filter('post_type_link', 'wpse33551_post_type_link', 1, 3); function wpse33551_post_type_link( $link, $post = 0 ){ if ( $post->post_type == 'product' ){ return home_url( 'product/' . $post->ID ); } else { return $link; } } add_action( 'init', 'wpse33551_rewrites_init' ); function wpse33551_rewrites_init(){ add_rewrite_rule( 'product/([0-9]+)?$', 'index.php?post_type=product&p=$matches[1]', 'top' ); }
wordpress
{ "language": "en", "length": 158, "provenance": "stackexchange_00019.jsonl.gz:414561", "question_score": "17", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33551" }
[ 0.009552001953125, -0.0194244384765625, -0.012786865234375, -0.0206756591796875, -0.00021541118621826172, -0.01319122314453125, 0.04644775390625, -0.0018701553344726562, -0.0589599609375, -0.00342559814453125, 0.017822265625, -0.01151275634765625, -0.03411865234375, -0.062744140625, 0.054718017578125, -0.04815673828125, 0.043426513671875, -0.0273895263671875, 0.027862548828125, -0.02874755859375, 0.00732421875, 0.0010480880737304688, 0.03826904296875, 0.060272216796875, 0.0272369384765625, -0.04632568359375, 0.064208984375, -0.017974853515625, 0.00299835205078125, -0.0233306884765625, 0.03466796875, 0.0036602020263671875, 0.0406494140625, -0.0299835205078125, 0.0271453857421875, 0.053253173828125, 0.017852783203125, -0.01274871826171875, 0.006549835205078125, 0.017059326171875, 0.0141754150390625, -0.0113525390625, 0.027374267578125, -0.00934600830078125, 0.01172637939453125, -0.0199737548828125, -0.0005917549133300781, -0.0467529296875, 0.01201629638671875, 0.00455474853515625, 0.0025463104248046875, 0.02349853515625, 0.0179595947265625, -0.0029773712158203125, -0.0016345977783203125, 0.01313018798828125, -0.0028781890869140625, -0.017181396484375, 0.03997802734375, -0.01375579833984375, -0.033660888671875, -0.024444580078125, 0.0355224609375, -0.00003165006637573242, -0.0178680419921875, 0.017364501953125, 0.0008645057678222656, 0.014434814453125, -0.0196533203125, -0.032073974609375, 0.004459381103515625, -0.017364501953125, -0.005260467529296875, -0.015869140625, -0.032623291015625, -0.030181884765625, 0.048736572265625, -0.033721923828125, -0.0275115966796875, 0.0218048095703125, 0.018402099609375, -0.0024394989013671875, 0.0279388427734375, -0.05230712890625, 0.01190948486328125, -0.0296478271484375, -0.02252197265625, -0.00682830810546875, -0.01384735107421875, -0.045867919921875, -0.0240020751953125, -0.01053619384765625, -0.04534912109375, -0.00830841064453125, -0.01258087158203125, -0.0274200439453125, 0.01739501953125, 0.010589599609375, 0.017547607421875, 0.026031494140625, 0.05029296875, -0.08929443359375, 0.0950927734375, -0.044769287109375, 0.026031494140625, 0.0263824462890625, 0.0036945343017578125, 0.04547119140625, 0.07958984375, 0.006755828857421875, 0.00885772705078125, 0.0860595703125, -0.0124969482421875, 0.00989532470703125, -0.04571533203125, -0.0003783702850341797, -0.047698974609375, -0.01605224609375, -0.0179443359375, -0.0012979507446289062, -0.0193328857421875, 0.0065460205078125, 0.03753662109375, 0.0005478858947753906, 0.010894775390625, 0.0151519775390625, 0.005279541015625, -0.05157470703125, 0.031341552734375, 0.021820068359375, -0.0498046875, 0.011016845703125, 0.050628662109375, -0.006389617919921875, 0.01018524169921875, -0.0199127197265625, 0.04156494140625, -0.019866943359375, -0.0096893310546875, 0.0157623291015625, 0.0163726806640625, -0.0213775634765625, -0.035888671875, 0.012664794921875, 0.021820068359375, 0.034515380859375, 0.00323486328125, 0.0254974365234375, -0.0010547637939453125, -0.0238800048828125, 0.0025081634521484375, -0.016387939453125, 0.03326416015625, 0.007640838623046875, -0.01100921630859375, -0.02081298828125, 0.03387451171875, -0.028656005859375, -0.01287078857421875, -0.055450439453125, 0.011627197265625, -0.00560760498046875, 0.01168060302734375, -0.0256195068359375, -0.0643310546875, 0.0010986328125, -0.033538818359375, -0.0279693603515625, 0.01605224609375, 0.037200927734375, 0.03570556640625, -0.013427734375, -0.031036376953125, 0.024078369140625, 0.007656097412109375, 0.01308441162109375, -0.00579833984375, 0.0251922607421875, 0.006694793701171875, 0.0625, 0.03070068359375, -0.0174102783203125, 0.02655029296875, 0.0006060600280761719, -0.057891845703125, 0.05902099609375, 0.0096588134765625, 0.08447265625, -0.01035308837890625, 0.006572723388671875, 0.036102294921875, 0.0163726806640625, -0.0256805419921875, -0.005401611328125, -0.017578125, -0.06353759765625, 0.01067352294921875, -0.0496826171875, -0.01267242431640625, 0.07342529296875, -0.03515625, 0.022369384765625, -0.0141448974609375, 0.055419921875, -0.045013427734375, 0.0501708984375, -0.035552978515625, 0.040802001953125, 0.01024627685546875, 0.0192413330078125, 0.0276641845703125, 0.036529541015625, -0.03387451171875, -0.039398193359375, -0.0020503997802734375, 0.06781005859375, 0.0111083984375, 0.004001617431640625, -0.021453857421875, 0.0135650634765625, -0.019256591796875, -0.021484375, -0.027435302734375, 0.0400390625, 0.027252197265625, 0.02227783203125, -0.02392578125, 0.01058197021484375, 0.02197265625, 0.03802490234375, -0.053314208984375, 0.002979278564453125, 0.035247802734375, -0.006168365478515625, -0.051849365234375, 0.020355224609375, -0.0146026611328125, -0.03155517578125, -0.0182647705078125, 0.055511474609375, 0.0289459228515625, 0.047119140625, -0.0225830078125, -0.007083892822265625, 0.043060302734375, 0.0182952880859375, 0.0256805419921875, -0.0237884521484375, 0.005153656005859375, 0.04681396484375, -0.0291595458984375, 0.0286712646484375, 0.0275421142578125, -0.0255584716796875, 0.0022182464599609375, 0.051239013671875, -0.016693115234375, 0.0008444786071777344, -0.01509857177734375, 0.0189208984375, -0.0005030632019042969, 0.0012454986572265625, -0.0056304931640625, -0.01329803466796875, 0.04815673828125, 0.0305938720703125, 0.0457763671875, 0.040069580078125, -0.0335693359375, 0.023223876953125, 0.0080718994140625, 0.025115966796875, -0.0115509033203125, 0.0260772705078125, 0.048065185546875, -0.061004638671875, -0.0270233154296875, 0.0080108642578125, 0.0280609130859375, 0.002704620361328125, -0.005889892578125, 0.051361083984375, -0.0065765380859375, -0.0198211669921875, -0.033050537109375, -0.0465087890625, -0.00460052490234375, 0.0120697021484375, 0.0377197265625, -0.0102081298828125, 0.0174407958984375, 0.005756378173828125, -0.0272216796875, 0.039947509765625, 0.03021240234375, -0.037384033203125, -0.011505126953125, -0.050872802734375, 0.052764892578125, -0.038726806640625, 0.044219970703125, 0.07244873046875, -0.0268402099609375, 0.0222930908203125, 0.004955291748046875, -0.005489349365234375, -0.0018711090087890625, 0.0149688720703125, -0.0010328292846679688, -0.018798828125, -0.04742431640625, -0.00860595703125, 0.022247314453125, 0.04608154296875, 0.00113677978515625, -0.0156402587890625, 0.0175323486328125, 0.0284881591796875, -0.02825927734375, -0.042236328125, 0.01009368896484375, -0.05303955078125, -0.007701873779296875, -0.005184173583984375, -0.01995849609375, -0.018524169921875, 0.01026153564453125, 0.0062408447265625, -0.0010662078857421875, 0.0017061233520507812, -0.079833984375, -0.062286376953125, -0.07379150390625, -0.027191162109375, -0.0220489501953125, 0.0026340484619140625, 0.035186767578125, -0.0236663818359375, 0.02972412109375, -0.0272064208984375, 0.07598876953125, 0.06524658203125, -0.021759033203125, 0.0248870849609375, -0.0268402099609375, -0.0115509033203125, 0.0384521484375, -0.00991058349609375, 0.0467529296875, 0.048248291015625, -0.02880859375, 0.00843048095703125, 0.0013294219970703125, 0.0018177032470703125, 0.0208587646484375, 0.03216552734375, 0.00542449951171875, 0.00971221923828125, 0.033294677734375, -0.037078857421875, -0.034393310546875, -0.041259765625, -0.03558349609375, 0.01540374755859375, 0.0267181396484375, 0.0196075439453125, -0.021240234375, 0.035400390625, 0.021636962890625, 0.020660400390625, 0.04241943359375, -0.0265960693359375, 0.05450439453125, 0.0030231475830078125, 0.020965576171875, -0.06365966796875, 0.0596923828125, 0.0037078857421875, 0.0162200927734375, 0.030181884765625, -0.0066680908203125, -0.0097503662109375, -0.0276641845703125, -0.0635986328125, -0.056243896484375, 0.03704833984375, -0.054351806640625, -0.01678466796875, -0.0229949951171875, -0.004825592041015625, 0.0011739730834960938, 0.0556640625, -0.036102294921875, -0.0120391845703125, -0.03997802734375, -0.0011243820190429688, 0.0162811279296875, -0.0665283203125, -0.0142669677734375, -0.01971435546875, -0.06011962890625, -0.00261688232421875, -0.015777587890625, -0.027801513671875, 0.007785797119140625, -0.0100860595703125, -0.005245208740234375, -0.04803466796875, 0.04718017578125, -0.0208587646484375, 0.01305389404296875, 0.050537109375, -0.016387939453125, 0.036163330078125, -0.06365966796875, 0.0028476715087890625, -0.05462646484375, -0.00690460205078125, 0.01490020751953125, 0.031524658203125, 0.007709503173828125, -0.0195465087890625, 0.01450347900390625, 0.054779052734375, 0.0004220008850097656, 0.008514404296875, -0.013275146484375, 0.006465911865234375, -0.032989501953125, 0.00954437255859375, -0.01006317138671875, -0.01605224609375, 0.01328277587890625, 0.004680633544921875, -0.0587158203125, 0.0546875, -0.01508331298828125, 0.047332763671875, 0.00801849365234375, -0.039459228515625, -0.05712890625, -0.0254364013671875, -0.0098876953125, 0.032928466796875, 0.00749969482421875, -0.0265045166015625, -0.040252685546875, -0.0877685546875, 0.03570556640625, -0.017730712890625, -0.0284881591796875, -0.0030727386474609375, 0.03485107421875, 0.01366424560546875, -0.0189208984375, 0.055938720703125, 0.00562286376953125, 0.0135345458984375, 0.021026611328125, 0.0285491943359375, 0.0144195556640625, 0.0048980712890625, 0.00295257568359375, 0.0006079673767089844, -0.0220184326171875, -0.0061187744140625, 0.01042938232421875, 0.00624847412109375, -0.019287109375, 0.0082855224609375, -0.0201263427734375, 0.05548095703125, 0.030303955078125, -0.0229949951171875, -0.042388916015625, -0.00797271728515625, 0.066162109375, -0.0178375244140625, 0.023773193359375, -0.060546875, -0.05389404296875, 0.03948974609375, -0.0010480880737304688, 0.0014867782592773438, -0.0031452178955078125, 0.00543975830078125, 0.01421356201171875, -0.04107666015625, 0.00792694091796875, 0.0115203857421875, 0.0173797607421875, -0.013580322265625, 0.04443359375, 0.0035858154296875, -0.0078887939453125, -0.0174407958984375, 0.0038852691650390625, 0.00673675537109375, 0.001972198486328125, -0.0023517608642578125, -0.047515869140625, -0.006641387939453125, -0.0302734375, -0.00756072998046875, -0.03155517578125, 0.01641845703125, 0.0228424072265625, -0.041473388671875, 0.0034046173095703125, -0.0447998046875, -0.0046234130859375, -0.054412841796875, 0.01337432861328125, 0.01291656494140625, -0.0086517333984375, -0.0070343017578125, 0.04254150390625, 0.0013074874877929688, 0.0119171142578125, 0.003398895263671875, 0.018768310546875, 0.04052734375, 0.0322265625, 0.006725311279296875, -0.007312774658203125, -0.0056610107421875, 0.0203094482421875, 0.0198516845703125, -0.03912353515625, -0.015838623046875, 0.029998779296875, 0.07012939453125, -0.031097412109375, -0.0065765380859375, -0.0012865066528320312, -0.0360107421875, -0.0054168701171875, 0.00572967529296875, 0.0013227462768554688, -0.032257080078125, 0.0027980804443359375, 0.035858154296875, 0.014251708984375, -0.018218994140625, -0.0017309188842773438, -0.0108642578125, -0.01117706298828125, 0.0163116455078125, -0.004383087158203125, -0.0009031295776367188, 0.0128631591796875, -0.0025920867919921875, 0.016937255859375, -0.0209503173828125, -0.000759124755859375, -0.0093231201171875, 0.019287109375, -0.033416748046875, -0.03155517578125, 0.050201416015625, -0.0219879150390625, 0.046417236328125, -0.004482269287109375, -0.02972412109375, 0.048919677734375, 0.005168914794921875, 0.0440673828125, 0.0035152435302734375, -0.042572021484375, 0.01030731201171875, -0.032257080078125, 0.01534271240234375, 0.0323486328125, -0.028564453125, -0.017669677734375, -0.026123046875, -0.0087432861328125, 0.033111572265625, -0.01548004150390625, 0.00011610984802246094, -0.013763427734375, 0.00444793701171875, -0.0112457275390625, 0.037322998046875, -0.050933837890625, 0.056976318359375, 0.0208892822265625, 0.0221405029296875, -0.0073089599609375, 0.0274505615234375, 0.00737762451171875, -0.001556396484375, -0.0228271484375, -0.0308837890625, -0.0191650390625, 0.0013303756713867188, -0.00466156005859375, 0.06658935546875, 0.074462890625, -0.0005440711975097656, 0.0236663818359375, -0.0182342529296875, -0.004825592041015625, -0.040374755859375, -0.01207733154296875, -0.025177001953125, 0.056121826171875, -0.043548583984375, 0.008575439453125, 0.0616455078125, 0.0032253265380859375, 0.0357666015625, -0.055206298828125, -0.01023101806640625, -0.01099395751953125, 0.0155029296875, -0.04156494140625, 0.0251312255859375, 0.0758056640625, 0.0287628173828125, 0.06219482421875, -0.002010345458984375, 0.0215606689453125, 0.056060791015625, -0.0234375, -0.00426483154296875, 0.020843505859375, 0.03057861328125, 0.0005960464477539062, 0.0074005126953125, 0.04107666015625, -0.0007643699645996094, 0.018280029296875, 0.0361328125, 0.04779052734375, -0.08843994140625, 0.0220489501953125, 0.004573822021484375, -0.0146636962890625, 0.025726318359375, 0.0275421142578125, -0.005123138427734375, 0.044097900390625, -0.00762939453125, -0.02557373046875, -0.00555419921875, 0.01343536376953125, 0.02001953125, 0.0031681060791015625, 0.00771331787109375, 0.016571044921875, -0.0092315673828125, -0.0160064697265625, -0.04974365234375, 0.002101898193359375, -0.0279541015625, 0.001354217529296875, 0.00310516357421875, 0.0110626220703125, -0.0153045654296875, -0.0175628662109375, 0.053253173828125, -0.0322265625, 0.02264404296875, 0.055877685546875, -0.0107879638671875, 0.032440185546875, 0.035430908203125, 0.0103607177734375, -0.0019741058349609375, -0.0160369873046875, -0.0150604248046875, 0.0303802490234375, -0.0206451416015625, -0.00823974609375, 0.0443115234375, -0.029541015625, 0.0030078887939453125, -0.00799560546875, 0.005115509033203125, -0.0133209228515625, -0.021636962890625, 0.10845947265625, -0.06402587890625, -0.0033435821533203125, 0.02227783203125, 0.00496673583984375, -0.0196685791015625, -0.0004394054412841797, -0.00612640380859375, -0.013702392578125, -0.01324462890625, -0.0244293212890625, -0.0557861328125, 0.0162200927734375, -0.03790283203125, -0.08880615234375, 0.08770751953125, -0.00432586669921875, 0.0797119140625, 0.0238494873046875, 0.0182342529296875, -0.01090240478515625, -0.01137542724609375, -0.029876708984375, 0.03558349609375, -0.0239105224609375, 0.0345458984375, -0.046630859375, -0.008056640625, 0.006671905517578125, 0.04168701171875, 0.089599609375, 0.025848388671875, -0.07183837890625, -0.003734588623046875, 0.0266571044921875, 0.00281524658203125, -0.0199432373046875, 0.06304931640625, -0.01480865478515625, 0.0195770263671875, 0.034210205078125, -0.03924560546875, 0.021453857421875, -0.0017833709716796875, -0.0268096923828125, -0.0048828125, 0.0116424560546875, -0.005229949951171875, -0.0006799697875976562, 0.005512237548828125, -0.04840087890625, 0.005352020263671875, 0.0245208740234375, 0.02313232421875, 0.004787445068359375, 0.01554107666015625, 0.0181884765625, -0.041717529296875, -0.014862060546875, -0.0244903564453125, 0.04034423828125, 0.0016164779663085938, 0.0114288330078125, 0.0263214111328125, 0.032470703125, 0.041046142578125, -0.0184478759765625, 0.0018367767333984375, 0.031707763671875, -0.0321044921875, 0.05322265625, 0.0198211669921875, 0.013153076171875, -0.0193634033203125, 0.0192108154296875, 0.026123046875, 0.047698974609375, -0.048431396484375, -0.0325927734375, 0.022796630859375, 0.0104217529296875, -0.002246856689453125, -0.032958984375, 0.0037212371826171875, -0.051849365234375, -0.01523590087890625, -0.044891357421875, 0.0189971923828125, 0.0273284912109375, 0.0352783203125, -0.0014009475708007812, -0.0006761550903320312, -0.0673828125, -0.007625579833984375, -0.05084228515625, -0.0058135986328125, 0.01168060302734375, 0.0714111328125, 0.037445068359375, 0.048492431640625, 0.0134735107421875, -0.045166015625, 0.01262664794921875, 0.010162353515625, 0.0167999267578125, -0.0208587646484375, -0.02362060546875, -0.043365478515625, 0.02667236328125, 0.05206298828125, 0.0599365234375, -0.006378173828125, 0.01043701171875, 0.0017261505126953125, 0.007843017578125, 0.00868988037109375, 0.047760009765625, -0.0020008087158203125, 0.035003662109375, -0.0238494873046875, 0.0308380126953125, -0.0183868408203125, -0.0087127685546875, -0.0179595947265625, 0.033782958984375, -0.0209197998046875, 0.005985260009765625, 0.04705810546875, 0.00069427490234375, -0.0202484130859375, 0.032562255859375, 0.0211334228515625, 0.06915283203125, 0.037628173828125, -0.019073486328125, -0.00804901123046875, -0.0124359130859375, -0.055084228515625, 0.042877197265625, 0.05804443359375, -0.0021686553955078125, 0.0040130615234375, 0.0272674560546875, 0.00531005859375, 0.005588531494140625, -0.00911712646484375, -0.0009226799011230469, -0.0198822021484375, 0.019012451171875, 0.0015888214111328125, -0.043182373046875, -0.02447509765625, -0.0026416778564453125, 0.0086822509765625, 0.01377105712890625, 0.10467529296875, -0.03961181640625, 0.0016489028930664062, -0.045166015625, 0.02734375, -0.04925537109375, -0.025177001953125, 0.0110321044921875, 0.005527496337890625, 0.01294708251953125, 0.0002180337905883789, 0.024932861328125, -0.01126861572265625, 0.04071044921875, -0.045074462890625, -0.0009622573852539062, -0.053619384765625, 0.0325927734375, -0.0153961181640625, 0.0266571044921875, -0.040130615234375, -0.045379638671875, -0.058135986328125, -0.01342010498046875, 0.01995849609375, -0.01016998291015625, -0.0302886962890625, 0.07098388671875, 0.02301025390625, 0.00772857666015625, 0.0046539306640625, -0.0531005859375, 0.00772857666015625, 0.036407470703125, 0.01275634765625, -0.008056640625, 0.055511474609375, -0.0162811279296875, 0.0134735107421875, 0.011993408203125, 0.042144775390625, 0.016357421875, -0.033172607421875, -0.0166473388671875, -0.02484130859375, 0.0143585205078125, -0.00582122802734375, 0.00414276123046875, -0.0225067138671875, -0.01126861572265625, -0.0000095367431640625, -0.016571044921875, -0.007495880126953125, -0.01294708251953125, -0.002841949462890625, 0.0016450881958007812, 0.00988006591796875, -0.0350341796875, 0.0229644775390625, 0.0174407958984375, 0.024505615234375, -0.0085601806640625, -0.06103515625, 0.024505615234375, -0.0287628173828125, 0.07745361328125, -0.044586181640625, -0.0120086669921875, 0.00958251953125, 0.033447265625, -0.038818359375, -0.01181793212890625, -0.03570556640625, -0.0163726806640625, -0.04571533203125, 0.036895751953125, 0.05596923828125, -0.031036376953125, -0.039794921875, 0.0019016265869140625, -0.0054779052734375, 0.05572509765625, -0.0264892578125, -0.016143798828125, 0.030975341796875, 0.00016355514526367188, -0.03558349609375, -0.057952880859375, 0.01837158203125, -0.07196044921875, -0.0292510986328125, 0.01303863525390625, -0.0216827392578125, -0.00390625, -0.0234222412109375, -0.0255889892578125, 0.0909423828125, 0.005619049072265625, -0.00978851318359375, -0.08489990234375, 0.0009350776672363281, -0.006145477294921875, 0.042938232421875, -0.00811767578125, -0.031494140625, -0.04595947265625, 0.0281829833984375, -0.00627899169921875, 0.0640869140625, 0.002857208251953125, 0.00739288330078125, 0.0111846923828125, 0.0018310546875, 0.0095062255859375, -0.025177001953125, 0.038848876953125, -0.0013294219970703125, 0.038604736328125, 0.035369873046875, -0.0311737060546875, 0.04632568359375, -0.0208740234375, -0.033599853515625, -0.0071868896484375, -0.04791259765625, -0.031341552734375, -0.047454833984375, 0.0546875, -0.0055389404296875, 0.006923675537109375, 0.00811767578125, 0.01120758056640625, -0.00760650634765625, -0.036834716796875, 0.0002257823944091797, 0.0238800048828125, -0.046539306640625, -0.006793975830078125, 0.01215362548828125, 0.0269012451171875, -0.0181732177734375, 0.0161285400390625, -0.002429962158203125, -0.0240631103515625, 0.00140380859375, -0.0140838623046875, -0.042083740234375, 0.042938232421875, 0.034942626953125, -0.03717041015625, -0.004497528076171875, -0.0140228271484375, -0.0020503997802734375, 0.005031585693359375, -0.058807373046875, -0.01580810546875, 0.03057861328125, 0.01074981689453125, 0.00830841064453125, 0.027679443359375, -0.00921630859375, -0.00484466552734375, 0.01450347900390625, -0.005496978759765625, 0.028106689453125, -0.00225067138671875, 0.0171661376953125, -0.023590087890625, 0.056884765625, 0.004276275634765625, 0.06695556640625, -0.0181121826171875, -0.00908660888671875, -0.006076812744140625, 0.01338958740234375, -0.038421630859375, 0.0162353515625, 0.0203094482421875, -0.04547119140625, -0.00347137451171875, -0.0171661376953125, -0.06549072265625, -0.027679443359375, -0.0227203369140625, -0.031402587890625, -0.025360107421875, 0.0082550048828125 ]
6df4906759655805f66b69b22c88cc6148f31ea6
Wordpress Stackexchange Q: How do I get WooCommerce to automatically recreate pages? I had to uninstall WooCommerce plugin (I deleted the tables it created as well) and now I reinstalled the plugin and I doesn't automatically recreate the WooCommerce Pages. Am I stuck having to manually create the pages myself? Is there a way to have it automatically regenerate the pages? A: Just had the same problem. First uninstall the plugin. Then you have to delete all rows containing "woocommerce" in the table "wp_options" on your database. Especially "skip_install_woocommerce_pages". Now install the plugin again. The notification for automatically creating pages will pop up.
Q: How do I get WooCommerce to automatically recreate pages? I had to uninstall WooCommerce plugin (I deleted the tables it created as well) and now I reinstalled the plugin and I doesn't automatically recreate the WooCommerce Pages. Am I stuck having to manually create the pages myself? Is there a way to have it automatically regenerate the pages? A: Just had the same problem. First uninstall the plugin. Then you have to delete all rows containing "woocommerce" in the table "wp_options" on your database. Especially "skip_install_woocommerce_pages". Now install the plugin again. The notification for automatically creating pages will pop up. A: There is an easier way to get the page-creation dialog to appear. Simply go to WooCommerce > Pages and unset all of the select boxes for pages (including the shop base option). Then if you de-activate and re-activate it will ask you whether or not you want to install the pages. A: What ended up working for me was adding "&install_woocommerce_pages=true" to the Settings page URL.
wordpress
{ "language": "en", "length": 168, "provenance": "stackexchange_00019.jsonl.gz:414610", "question_score": "11", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33713" }
[ -0.0037631988525390625, -0.00040793418884277344, -0.002696990966796875, -0.005615234375, -0.0207977294921875, -0.0201263427734375, 0.01131439208984375, -0.0157318115234375, 0.0005326271057128906, 0.003887176513671875, -0.060546875, 0.0251312255859375, -0.006465911865234375, -0.001129150390625, -0.0007748603820800781, -0.0269012451171875, 0.0253143310546875, 0.005786895751953125, 0.032379150390625, -0.005893707275390625, -0.0033893585205078125, 0.00429534912109375, 0.03240966796875, 0.055419921875, 0.00792694091796875, 0.000576019287109375, 0.1224365234375, -0.01641845703125, 0.049774169921875, -0.00807952880859375, 0.03411865234375, -0.0509033203125, 0.01434326171875, -0.0085601806640625, 0.0013065338134765625, -0.038818359375, -0.0051116943359375, 0.0024127960205078125, -0.002902984619140625, 0.0033016204833984375, 0.0225372314453125, -0.0078277587890625, 0.037628173828125, -0.00885009765625, 0.00018835067749023438, -0.0350341796875, 0.016448974609375, -0.044921875, 0.022369384765625, -0.03759765625, -0.019287109375, 0.0294036865234375, 0.0035610198974609375, -0.0093536376953125, -0.023193359375, -0.033782958984375, -0.040740966796875, 0.061370849609375, 0.0142059326171875, -0.019989013671875, -0.0028629302978515625, 0.025115966796875, 0.0141143798828125, 0.035980224609375, -0.00823211669921875, 0.0024814605712890625, -0.0264739990234375, 0.018524169921875, -0.043853759765625, 0.006778717041015625, 0.0316162109375, -0.042144775390625, -0.00482940673828125, 0.0248260498046875, 0.0017118453979492188, -0.02392578125, 0.0058135986328125, 0.00618743896484375, 0.02459716796875, 0.043365478515625, 0.054962158203125, -0.0061187744140625, 0.06146240234375, -0.0239105224609375, -0.007354736328125, -0.032684326171875, -0.0010213851928710938, -0.00113677978515625, -0.03375244140625, -0.032562255859375, -0.020263671875, -0.042327880859375, -0.054443359375, 0.021697998046875, -0.01641845703125, -0.0036220550537109375, 0.018768310546875, 0.044403076171875, 0.0044708251953125, 0.0254364013671875, 0.0224761962890625, -0.06756591796875, 0.0689697265625, -0.069091796875, -0.005985260009765625, 0.020843505859375, 0.004932403564453125, -0.00514984130859375, 0.022125244140625, 0.023406982421875, 0.0200958251953125, 0.0276641845703125, 0.0010852813720703125, -0.04425048828125, -0.001590728759765625, 0.00759124755859375, -0.0244598388671875, 0.0159149169921875, 0.0272674560546875, -0.0384521484375, -0.0242919921875, 0.019012451171875, -0.0133209228515625, 0.0036182403564453125, 0.01198577880859375, 0.01468658447265625, 0.0169830322265625, -0.03045654296875, 0.0240631103515625, -0.051788330078125, -0.037384033203125, 0.039825439453125, 0.0638427734375, 0.048065185546875, 0.0328369140625, 0.0113372802734375, 0.01012420654296875, 0.040283203125, 0.024169921875, -0.009368896484375, 0.01076507568359375, -0.01529693603515625, -0.01160430908203125, 0.0079498291015625, 0.0408935546875, -0.0273590087890625, -0.0055389404296875, 0.042510986328125, 0.04052734375, 0.06884765625, -0.01013946533203125, 0.01285552978515625, -0.0003218650817871094, -0.0071563720703125, 0.07244873046875, -0.014434814453125, 0.062469482421875, -0.0277862548828125, 0.0158233642578125, -0.0088653564453125, 0.0035991668701171875, -0.01059722900390625, 0.0201873779296875, -0.043487548828125, -0.0714111328125, 0.020477294921875, -0.04522705078125, -0.03448486328125, 0.042572021484375, 0.030548095703125, 0.05084228515625, -0.044464111328125, 0.038482666015625, 0.0193634033203125, -0.01177978515625, 0.03558349609375, 0.01358795166015625, -0.0171661376953125, 0.036041259765625, 0.02191162109375, -0.010101318359375, 0.0025730133056640625, 0.053863525390625, -0.019989013671875, -0.0296478271484375, 0.0124053955078125, 0.01129150390625, 0.05712890625, 0.01398468017578125, 0.033843994140625, -0.0254974365234375, -0.01479339599609375, -0.04296875, 0.00998687744140625, 0.031982421875, -0.01401519775390625, -0.0281524658203125, -0.0123138427734375, 0.004627227783203125, -0.01415252685546875, -0.002941131591796875, -0.006839752197265625, 0.0009946823120117188, 0.00493621826171875, -0.0511474609375, 0.0008716583251953125, -0.0213775634765625, 0.0267181396484375, 0.01418304443359375, 0.00466156005859375, 0.02154541015625, -0.0016193389892578125, -0.01593017578125, -0.0157623291015625, -0.0394287109375, -0.0009613037109375, -0.02972412109375, 0.057586669921875, -0.0008568763732910156, 0.05841064453125, -0.0065155029296875, -0.028350830078125, -0.006977081298828125, -0.0228729248046875, 0.029693603515625, -0.007843017578125, -0.0382080078125, -0.04022216796875, -0.017852783203125, -0.0130157470703125, -0.0299835205078125, 0.0855712890625, 0.01419830322265625, -0.00821685791015625, -0.03509521484375, -0.0050048828125, -0.0276336669921875, -0.09710693359375, -0.004505157470703125, 0.06927490234375, 0.0357666015625, 0.0252532958984375, -0.00470733642578125, -0.0018901824951171875, 0.0478515625, -0.020782470703125, 0.0196990966796875, 0.01201629638671875, 0.024688720703125, 0.07861328125, 0.00391387939453125, 0.0088043212890625, -0.0027141571044921875, 0.0018138885498046875, -0.01558685302734375, 0.037872314453125, -0.0416259765625, -0.0012540817260742188, 0.0246429443359375, -0.00732421875, -0.0264434814453125, -0.03985595703125, 0.046417236328125, -0.045562744140625, 0.041107177734375, 0.00045228004455566406, 0.0435791015625, 0.01377105712890625, -0.0092010498046875, -0.01146697998046875, 0.0136566162109375, -0.0338134765625, 0.0045166015625, 0.01084136962890625, -0.01427459716796875, -0.033203125, -0.050506591796875, 0.0274658203125, 0.0089569091796875, -0.005580902099609375, 0.0033550262451171875, 0.0684814453125, -0.0264739990234375, -0.0250244140625, -0.0211944580078125, -0.04931640625, -0.02850341796875, 0.0168304443359375, -0.0209503173828125, -0.0169219970703125, 0.0044708251953125, 0.0175018310546875, -0.05706787109375, 0.04339599609375, -0.0040130615234375, -0.02532958984375, 0.02862548828125, -0.01139068603515625, 0.0150909423828125, -0.0165557861328125, 0.047210693359375, 0.051239013671875, -0.0099029541015625, 0.0198974609375, 0.0102691650390625, 0.01178741455078125, 0.0330810546875, -0.03118896484375, -0.028045654296875, 0.0297393798828125, -0.07501220703125, 0.006313323974609375, 0.035614013671875, 0.10107421875, -0.008575439453125, -0.045654296875, 0.001964569091796875, 0.04766845703125, -0.066650390625, -0.1031494140625, -0.0209808349609375, -0.00433349609375, -0.006725311279296875, -0.0198211669921875, 0.01227569580078125, -0.0072174072265625, -0.013427734375, 0.00650787353515625, -0.0220489501953125, -0.027862548828125, -0.027587890625, -0.07159423828125, -0.05133056640625, -0.025299072265625, 0.0022678375244140625, 0.0008687973022460938, -0.00592041015625, 0.0126953125, -0.0270538330078125, -0.02679443359375, -0.01134490966796875, 0.001373291015625, 0.0088958740234375, -0.0206298828125, 0.00351715087890625, -0.0046234130859375, 0.0374755859375, 0.0174407958984375, 0.0281829833984375, 0.0196685791015625, -0.0163726806640625, -0.035980224609375, 0.007152557373046875, 0.00823211669921875, -0.0019197463989257812, 0.0141754150390625, 0.0140228271484375, -0.013763427734375, -0.03173828125, -0.05718994140625, -0.0296630859375, -0.0082244873046875, -0.037506103515625, 0.00681304931640625, 0.00418853759765625, -0.006366729736328125, -0.0196075439453125, 0.0203857421875, 0.0073394775390625, -0.0103912353515625, 0.0211639404296875, -0.0197601318359375, -0.0101318359375, -0.0077972412109375, -0.031219482421875, -0.01467132568359375, 0.0859375, -0.000194549560546875, -0.0128631591796875, 0.04180908203125, 0.00785064697265625, 0.020233154296875, -0.044342041015625, -0.034637451171875, -0.057281494140625, 0.01202392578125, -0.08782958984375, 0.01025390625, -0.02313232421875, 0.0101470947265625, 0.0267333984375, 0.103271484375, -0.0400390625, -0.04229736328125, 0.03271484375, 0.04254150390625, -0.041229248046875, -0.0081634521484375, -0.0225067138671875, -0.0251617431640625, -0.104736328125, -0.002834320068359375, -0.00945281982421875, -0.037353515625, 0.01338958740234375, -0.02471923828125, -0.04095458984375, -0.062164306640625, 0.0251007080078125, -0.050689697265625, -0.004970550537109375, 0.026123046875, -0.0212860107421875, -0.0108795166015625, -0.0175018310546875, -0.034149169921875, -0.0865478515625, -0.0098114013671875, -0.014678955078125, 0.054290771484375, -0.00044846534729003906, 0.0255584716796875, -0.050628662109375, 0.01483154296875, 0.00811004638671875, 0.028167724609375, 0.0180511474609375, 0.0231475830078125, 0.00597381591796875, -0.025726318359375, 0.038604736328125, -0.053070068359375, 0.0138092041015625, -0.0107574462890625, -0.0010967254638671875, 0.00897216796875, -0.0310821533203125, 0.01556396484375, -0.00867462158203125, -0.01024627685546875, -0.062408447265625, -0.0433349609375, -0.0258636474609375, -0.033599853515625, -0.0229034423828125, 0.003391265869140625, -0.023529052734375, -0.041259765625, 0.00725555419921875, -0.0386962890625, 0.00010156631469726562, 0.0155029296875, 0.06353759765625, 0.0245819091796875, 0.010650634765625, -0.00862884521484375, 0.01076507568359375, 0.020965576171875, 0.01751708984375, 0.0212249755859375, -0.004825592041015625, 0.00021839141845703125, -0.006481170654296875, 0.007511138916015625, -0.01959228515625, -0.01334381103515625, 0.048919677734375, -0.0189666748046875, -0.034515380859375, 0.0142364501953125, -0.06329345703125, 0.034454345703125, 0.038421630859375, -0.00891876220703125, -0.020050048828125, 0.0028705596923828125, 0.03192138671875, -0.01198577880859375, 0.007266998291015625, -0.0259246826171875, -0.0260467529296875, 0.010772705078125, 0.0248260498046875, 0.003780364990234375, 0.032318115234375, -0.0110626220703125, 0.0271453857421875, -0.005832672119140625, 0.00923919677734375, -0.0007548332214355469, -0.0121917724609375, -0.026702880859375, 0.0165557861328125, -0.005157470703125, 0.0003757476806640625, 0.020660400390625, 0.0033206939697265625, -0.0013952255249023438, -0.006519317626953125, -0.013336181640625, -0.056060791015625, -0.0226593017578125, -0.05230712890625, -0.0030879974365234375, -0.01340484619140625, 0.04608154296875, 0.01806640625, -0.0279693603515625, -0.0077667236328125, -0.0364990234375, -0.00472259521484375, -0.06842041015625, -0.036468505859375, -0.00963592529296875, -0.012237548828125, 0.0244903564453125, 0.039031982421875, 0.0163116455078125, 0.016082763671875, -0.0259857177734375, 0.0227508544921875, 0.005908966064453125, 0.036468505859375, 0.0275726318359375, -0.0207061767578125, 0.024017333984375, -0.041595458984375, -0.01396942138671875, -0.037628173828125, -0.0487060546875, 0.042510986328125, 0.0367431640625, -0.060394287109375, -0.020233154296875, 0.0189361572265625, -0.005626678466796875, -0.0133819580078125, 0.00199127197265625, -0.04327392578125, -0.041778564453125, -0.0222015380859375, 0.0296783447265625, 0.031890869140625, -0.0111846923828125, -0.0036678314208984375, -0.01444244384765625, -0.043548583984375, -0.00959014892578125, 0.00860595703125, -0.03302001953125, -0.0021953582763671875, -0.00897979736328125, -0.0180816650390625, -0.0404052734375, 0.00971221923828125, -0.0279083251953125, 0.0206451416015625, -0.040130615234375, -0.0151824951171875, 0.05621337890625, -0.0193328857421875, 0.0092010498046875, -0.01433563232421875, -0.019989013671875, 0.012054443359375, 0.012054443359375, 0.036346435546875, 0.0065765380859375, -0.01080322265625, -0.037628173828125, -0.04608154296875, -0.063232421875, -0.024749755859375, 0.031585693359375, -0.04425048828125, 0.0241851806640625, -0.00439453125, 0.03253173828125, -0.041168212890625, -0.0135345458984375, -0.01025390625, -0.0003027915954589844, -0.004482269287109375, 0.0435791015625, 0.01470947265625, 0.0008139610290527344, -0.004848480224609375, 0.044830322265625, 0.00899505615234375, -0.011077880859375, -0.00826263427734375, -0.0379638671875, -0.006122589111328125, 0.0257415771484375, -0.01519012451171875, -0.0248260498046875, -0.007381439208984375, 0.0242462158203125, 0.0948486328125, 0.003101348876953125, 0.010406494140625, -0.029541015625, 0.0053558349609375, -0.0257110595703125, 0.03216552734375, -0.049591064453125, -0.00862884521484375, 0.0173187255859375, -0.0653076171875, -0.01503753662109375, 0.0304718017578125, 0.00626373291015625, 0.020233154296875, -0.031097412109375, 0.0092926025390625, 0.0399169921875, -0.0443115234375, 0.061004638671875, 0.0173797607421875, -0.004932403564453125, 0.0207672119140625, -0.0100250244140625, 0.01202392578125, 0.0020732879638671875, 0.04925537109375, -0.01078033447265625, -0.02691650390625, 0.057769775390625, 0.01546478271484375, -0.020233154296875, 0.023773193359375, -0.027984619140625, 0.01337432861328125, 0.08489990234375, 0.055572509765625, -0.1368408203125, 0.0031986236572265625, 0.00725555419921875, 0.01513671875, 0.0099029541015625, -0.02593994140625, 0.0278778076171875, -0.0225677490234375, 0.0321044921875, 0.01611328125, -0.0234375, -0.01165008544921875, -0.0269317626953125, -0.00853729248046875, 0.01456451416015625, 0.0177154541015625, 0.0228271484375, -0.0107421875, 0.002986907958984375, 0.01378631591796875, 0.0035915374755859375, -0.038116455078125, -0.0115509033203125, -0.0010251998901367188, -0.0051422119140625, -0.0003719329833984375, 0.0653076171875, -0.04656982421875, 0.06695556640625, 0.0174713134765625, 0.00039887428283691406, 0.007904052734375, 0.0526123046875, -0.0263214111328125, 0.00766754150390625, 0.017120361328125, -0.0291595458984375, -0.027679443359375, -0.032623291015625, 0.04693603515625, 0.0169525146484375, -0.11102294921875, 0.020294189453125, -0.056060791015625, -0.0022449493408203125, -0.0106658935546875, 0.005641937255859375, 0.055450439453125, -0.01024627685546875, -0.0284881591796875, 0.0265045166015625, 0.024078369140625, -0.01265716552734375, -0.036468505859375, 0.026519775390625, -0.024566650390625, 0.031494140625, -0.0085601806640625, 0.044830322265625, -0.0246429443359375, -0.0284881591796875, -0.0770263671875, 0.0755615234375, -0.01425933837890625, -0.00453948974609375, -0.032623291015625, 0.05316162109375, -0.0046844482421875, 0.0135040283203125, -0.0274810791015625, 0.053375244140625, -0.0075531005859375, 0.05865478515625, -0.045562744140625, 0.0036144256591796875, 0.02044677734375, 0.02264404296875, 0.002544403076171875, -0.01337432861328125, 0.01543426513671875, 0.018890380859375, 0.069091796875, -0.006809234619140625, 0.00034928321838378906, 0.022735595703125, -0.0016155242919921875, -0.006427764892578125, 0.061279296875, -0.05999755859375, 0.01013946533203125, -0.031982421875, 0.044097900390625, 0.0079803466796875, -0.02789306640625, -0.059356689453125, -0.0287017822265625, 0.01506805419921875, -0.03228759765625, -0.016571044921875, -0.007053375244140625, 0.00792694091796875, 0.02069091796875, 0.0008940696716308594, 0.0169677734375, 0.03192138671875, 0.0088958740234375, -0.005985260009765625, 0.0391845703125, 0.007770538330078125, 0.0162506103515625, 0.0157470703125, 0.0016660690307617188, 0.060546875, -0.016754150390625, 0.0026531219482421875, 0.0072784423828125, -0.0099945068359375, 0.00841522216796875, -0.0123443603515625, 0.01389312744140625, -0.035736083984375, 0.005084991455078125, 0.02777099609375, 0.00855255126953125, -0.009521484375, -0.037445068359375, 0.01082611083984375, 0.001735687255859375, 0.005672454833984375, -0.00360870361328125, 0.0017147064208984375, -0.07952880859375, -0.0163421630859375, -0.024169921875, 0.0032405853271484375, 0.031494140625, 0.0017299652099609375, -0.01041412353515625, 0.007122039794921875, -0.01116943359375, 0.00318145751953125, -0.024566650390625, -0.005443572998046875, 0.016326904296875, 0.029571533203125, 0.00867462158203125, 0.053375244140625, -0.0096893310546875, -0.0084381103515625, -0.0027217864990234375, 0.0305633544921875, -0.0182342529296875, 0.0200042724609375, -0.07281494140625, -0.06011962890625, 0.02154541015625, 0.053436279296875, -0.03631591796875, 0.00580596923828125, 0.035675048828125, 0.061065673828125, -0.012847900390625, -0.033447265625, 0.0382080078125, -0.01372528076171875, 0.0226898193359375, -0.024566650390625, 0.0157623291015625, -0.0252532958984375, -0.0183868408203125, -0.03265380859375, 0.0400390625, 0.0015478134155273438, -0.04412841796875, 0.029510498046875, -0.005741119384765625, -0.047637939453125, 0.0284576416015625, -0.005279541015625, 0.08380126953125, -0.010406494140625, -0.048858642578125, 0.007228851318359375, -0.08721923828125, -0.004703521728515625, -0.00377655029296875, 0.01922607421875, -0.0207672119140625, 0.05450439453125, 0.0188751220703125, -0.0240478515625, 0.01385498046875, 0.01441192626953125, -0.0022430419921875, -0.0301513671875, 0.008026123046875, -0.02874755859375, -0.07684326171875, -0.040191650390625, -0.06292724609375, 0.03082275390625, 0.01287078857421875, 0.094482421875, -0.0248565673828125, 0.0265045166015625, -0.01763916015625, -0.0345458984375, -0.0029735565185546875, -0.042816162109375, 0.06390380859375, -0.0202484130859375, -0.046661376953125, 0.00281524658203125, -0.01534271240234375, 0.03302001953125, 0.040130615234375, -0.0035800933837890625, -0.00021660327911376953, -0.008453369140625, 0.0255126953125, 0.0246429443359375, 0.032989501953125, -0.034027099609375, -0.044769287109375, -0.033905029296875, 0.00835418701171875, -0.01229095458984375, -0.03515625, -0.0146636962890625, 0.041015625, 0.01355743408203125, -0.01007843017578125, 0.0245361328125, -0.03875732421875, 0.04266357421875, 0.035491943359375, -0.0095367431640625, 0.002262115478515625, 0.0230255126953125, -0.01326751708984375, -0.0179290771484375, 0.0253143310546875, 0.0015125274658203125, 0.0245819091796875, -0.054443359375, -0.0020694732666015625, 0.040130615234375, 0.00505828857421875, -0.0194549560546875, 0.004756927490234375, 0.036529541015625, -0.035980224609375, 0.0013723373413085938, -0.0172882080078125, -0.0291290283203125, -0.031402587890625, 0.005458831787109375, 0.01201629638671875, -0.005466461181640625, -0.00917816162109375, -0.01161956787109375, 0.032440185546875, 0.0179290771484375, 0.039459228515625, -0.1177978515625, 0.07928466796875, 0.0041351318359375, 0.0400390625, 0.0002598762512207031, -0.044189453125, -0.00655364990234375, -0.0050811767578125, -0.007293701171875, -0.003192901611328125, -0.059600830078125, 0.008331298828125, -0.02691650390625, -0.00197601318359375, 0.0290985107421875, -0.0222930908203125, -0.0183258056640625, -0.0311279296875, 0.00907135009765625, 0.0233917236328125, 0.0214996337890625, -0.033843994140625, 0.0209503173828125, -0.01056671142578125, 0.02252197265625, -0.050445556640625, -0.03192138671875, -0.034759521484375, 0.0255279541015625, -0.0158233642578125, 0.01102447509765625, 0.033447265625, -0.016754150390625, -0.0141448974609375, 0.038177490234375, 0.01806640625, -0.01012420654296875, -0.05426025390625, 0.000720977783203125, -0.01837158203125, 0.008880615234375, -0.029541015625, -0.007732391357421875, -0.01450347900390625, 0.057342529296875, -0.005462646484375, 0.0262298583984375, 0.00045228004455566406, 0.0052337646484375, -0.01220703125, 0.02557373046875, 0.0233917236328125, -0.006084442138671875, 0.033233642578125, -0.01934814453125, 0.01328277587890625, 0.053314208984375, -0.0240020751953125, -0.0753173828125, -0.0169525146484375, -0.048187255859375, 0.00455474853515625, 0.0237579345703125, 0.0131072998046875, -0.0165863037109375, 0.0011425018310546875, 0.03826904296875, -0.00861358642578125, -0.002899169921875, 0.0023136138916015625, 0.0012340545654296875, 0.00907135009765625, 0.00548553466796875, 0.00035762786865234375, -0.031707763671875, -0.001983642578125, -0.00356292724609375, 0.00580596923828125, -0.00313568115234375, 0.0168914794921875, -0.0154876708984375, -0.016357421875, 0.0200958251953125, 0.00647735595703125, -0.055572509765625, 0.0030517578125, 0.0015201568603515625, -0.0179443359375, -0.01091766357421875, 0.0052642822265625, 0.009368896484375, -0.0159149169921875, 0.01419830322265625, 0.00788116455078125, 0.052215576171875, -0.07086181640625, -0.00901031494140625, -0.005931854248046875, 0.0074920654296875, -0.037017822265625, 0.006725311279296875, -0.02056884765625, 0.043304443359375, 0.00865936279296875, 0.058380126953125, -0.0158233642578125, 0.050933837890625, 0.040191650390625, 0.0209808349609375, 0.0092620849609375, -0.01500701904296875, -0.005001068115234375, 0.04119873046875, -0.007526397705078125, -0.0171356201171875, 0.019622802734375, -0.063720703125, 0.0026226043701171875, 0.010467529296875, -0.011260986328125, -0.055450439453125, 0.0209808349609375, 0.0001647472381591797, 0.00732421875, 0.018280029296875 ]
21b0dc76e8e4104638d72a77b091f0072a1ae4a7
Wordpress Stackexchange Q: Add more rows on media picker I'm trying to add more rows in the media picker modal window. Is there any clean way to achieve doing this ? Thanks ! A: my plugin: http://wordpress.org/extend/plugins/mediapicker-more-rows/ I found a way to fix the pagination There is a way you can 'hook' into paginate_links. There is no official hook for it, but you can change the $wp_query->found_posts variable. What I did here is 'hooking' into the paginate_links by abusing the media_upload_mime_type_links filter and setting a new value for $wp_query->found_posts. This filter is triggered just before paginate_links is called. function set_paginate_limit_mediapicker( $type_links ) { global $wp_query; $new_limit = 30; // set your limit $wp_query->found_posts = $wp_query->found_posts / ( $new_limit / 10 ); return $type_links; // not used } add_filter( 'media_upload_mime_type_links', 'set_paginate_limit_mediapicker', 1 ); I have made a WordPress plugin for the complete solution, which you will find in the repository. http://wordpress.org/extend/plugins/mediapicker-more-rows/
Q: Add more rows on media picker I'm trying to add more rows in the media picker modal window. Is there any clean way to achieve doing this ? Thanks ! A: my plugin: http://wordpress.org/extend/plugins/mediapicker-more-rows/ I found a way to fix the pagination There is a way you can 'hook' into paginate_links. There is no official hook for it, but you can change the $wp_query->found_posts variable. What I did here is 'hooking' into the paginate_links by abusing the media_upload_mime_type_links filter and setting a new value for $wp_query->found_posts. This filter is triggered just before paginate_links is called. function set_paginate_limit_mediapicker( $type_links ) { global $wp_query; $new_limit = 30; // set your limit $wp_query->found_posts = $wp_query->found_posts / ( $new_limit / 10 ); return $type_links; // not used } add_filter( 'media_upload_mime_type_links', 'set_paginate_limit_mediapicker', 1 ); I have made a WordPress plugin for the complete solution, which you will find in the repository. http://wordpress.org/extend/plugins/mediapicker-more-rows/ A: This works but the big issue is to solve the pagination, because it is completely broken. add_filter('post_limits','wpse_33775_add_rows_to_media_library',999,1); function wpse_33775_add_rows_to_media_library($limits) { global $current_screen; $tab = isset( $_GET['tab'] ) ? $_GET['tab'] : "type"; if( 'media-upload' != $current_screen->id && 'library' != $tab ) return $limits; $my_new_limit = '100'; $limits = str_replace('10',$my_new_limit,$limits); // replacing the default 10 return $limits; } Is there a way to hook here? /* * WordPress 3.3.2 * /wp-admin/includes/media.php * line 1828 * */ $page_links = paginate_links( array( 'base' => add_query_arg( 'paged', '%#%' ), 'format' => '', 'prev_text' => __('&laquo;'), 'next_text' => __('&raquo;'), 'total' => ceil($wp_query->found_posts / 10), 'current' => $_GET['paged'] )); if ( $page_links ) echo "<div class='tablenav-pages'>$page_links</div>";
wordpress
{ "language": "en", "length": 258, "provenance": "stackexchange_00019.jsonl.gz:414631", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33775" }
[ 0.09619140625, 0.0248260498046875, 0.033477783203125, -0.006328582763671875, 0.045562744140625, -0.049163818359375, 0.090087890625, -0.056976318359375, -0.0176849365234375, 0.03179931640625, -0.01158905029296875, 0.032562255859375, 0.000934600830078125, -0.021148681640625, 0.0146942138671875, -0.0237579345703125, 0.02685546875, -0.033355712890625, 0.0092010498046875, -0.010986328125, 0.0191192626953125, -0.006046295166015625, 0.04254150390625, 0.06768798828125, -0.017852783203125, 0.058380126953125, 0.06298828125, -0.040679931640625, -0.01367950439453125, -0.0283355712890625, 0.000988006591796875, -0.0019044876098632812, 0.0205230712890625, -0.0166015625, 0.01291656494140625, -0.02130126953125, 0.054473876953125, -0.0262908935546875, -0.0206298828125, 0.051849365234375, 0.0128936767578125, 0.007350921630859375, -0.042999267578125, 0.03790283203125, -0.050079345703125, -0.034088134765625, 0.0008630752563476562, -0.00624847412109375, -0.01294708251953125, 0.0026454925537109375, -0.0031414031982421875, -0.025634765625, 0.007114410400390625, 0.01033782958984375, -0.0018148422241210938, -0.007236480712890625, 0.0127410888671875, -0.0149078369140625, 0.013885498046875, -0.006011962890625, -0.01367950439453125, 0.0230255126953125, 0.001712799072265625, -0.006748199462890625, -0.037109375, 0.004611968994140625, -0.030731201171875, 0.013458251953125, -0.00548553466796875, -0.05413818359375, -0.00597381591796875, -0.01384735107421875, -0.022918701171875, -0.01812744140625, -0.01507568359375, 0.049896240234375, 0.0009565353393554688, -0.0023975372314453125, 0.0191650390625, -0.0020599365234375, 0.025726318359375, -0.0252532958984375, 0.01953125, -0.0106658935546875, 0.024078369140625, 0.002025604248046875, 0.0030803680419921875, -0.0152435302734375, -0.0019321441650390625, 0.00646209716796875, -0.0142669677734375, -0.03466796875, 0.03314208984375, 0.026763916015625, -0.006988525390625, -0.006160736083984375, 0.03369140625, 0.04449462890625, -0.002391815185546875, 0.00836944580078125, -0.00930023193359375, -0.041168212890625, 0.012603759765625, -0.0276031494140625, 0.004299163818359375, 0.00302886962890625, 0.0258636474609375, -0.0237274169921875, 0.02569580078125, 0.01447296142578125, -0.00785064697265625, 0.098388671875, -0.0218353271484375, -0.0007047653198242188, -0.019134521484375, -0.028900146484375, -0.0562744140625, 0.00667572021484375, -0.01055145263671875, -0.005664825439453125, -0.039031982421875, -0.00335693359375, -0.0562744140625, -0.00782012939453125, 0.0034637451171875, -0.019622802734375, 0.0146026611328125, 0.04925537109375, -0.048431396484375, 0.06915283203125, 0.0013408660888671875, 0.005340576171875, -0.00046253204345703125, -0.00031280517578125, -0.0251922607421875, -0.0196380615234375, 0.005645751953125, -0.005580902099609375, -0.00768280029296875, 0.01593017578125, -0.01369476318359375, -0.03955078125, -0.01338958740234375, -0.008026123046875, 0.0128936767578125, 0.0142822265625, 0.0274200439453125, -0.01050567626953125, -0.00537872314453125, 0.0192413330078125, -0.054595947265625, 0.0258026123046875, 0.0423583984375, -0.007358551025390625, -0.0259552001953125, -0.0088348388671875, 0.04229736328125, -0.0323486328125, -0.0308074951171875, -0.048675537109375, 0.0157012939453125, -0.023956298828125, -0.004306793212890625, -0.0849609375, -0.0787353515625, 0.009521484375, -0.06732177734375, -0.00710296630859375, 0.0438232421875, 0.012786865234375, 0.044891357421875, -0.0202178955078125, 0.058258056640625, 0.0230865478515625, -0.00919342041015625, 0.0304107666015625, 0.031890869140625, 0.0257720947265625, 0.0203857421875, 0.009307861328125, -0.0286712646484375, -0.041961669921875, 0.10382080078125, -0.0511474609375, -0.068603515625, 0.059906005859375, 0.0052032470703125, 0.07257080078125, 0.00809478759765625, 0.0093231201171875, 0.04290771484375, 0.0252532958984375, -0.032379150390625, -0.0156402587890625, 0.011932373046875, -0.0167999267578125, -0.018524169921875, -0.025146484375, -0.0009012222290039062, 0.017547607421875, 0.0061492919921875, 0.0115203857421875, -0.0188446044921875, -0.0027751922607421875, -0.033905029296875, -0.00786590576171875, 0.0013208389282226562, 0.019378662109375, -0.02117919921875, 0.004611968994140625, 0.01010894775390625, -0.0184326171875, -0.01291656494140625, -0.0145721435546875, -0.01177978515625, -0.022857666015625, -0.017486572265625, 0.04364013671875, -0.0007781982421875, 0.03582763671875, 0.00982666015625, -0.01528167724609375, 0.0312042236328125, 0.0031280517578125, 0.048095703125, -0.016387939453125, -0.0154266357421875, -0.02093505859375, 0.006069183349609375, 0.007648468017578125, -0.0489501953125, 0.0496826171875, 0.022369384765625, 0.0455322265625, -0.0098724365234375, -0.028289794921875, -0.005825042724609375, -0.09417724609375, 0.0291900634765625, 0.046356201171875, 0.0188446044921875, 0.05841064453125, 0.005401611328125, 0.0389404296875, 0.032928466796875, -0.0227508544921875, 0.02685546875, 0.00426483154296875, -0.035888671875, 0.01446533203125, 0.00904083251953125, 0.0169830322265625, 0.00731658935546875, -0.005706787109375, -0.004974365234375, 0.01849365234375, 0.0160675048828125, 0.039337158203125, -0.048492431640625, 0.0281219482421875, 0.003276824951171875, 0.0033817291259765625, -0.01092529296875, -0.009613037109375, 0.0193023681640625, 0.026214599609375, 0.02801513671875, 0.02471923828125, -0.019134521484375, 0.0279388427734375, 0.01451873779296875, -0.0011186599731445312, 0.00366973876953125, -0.027374267578125, -0.056640625, 0.0211334228515625, -0.035797119140625, 0.04925537109375, 0.001842498779296875, -0.0271453857421875, -0.037933349609375, -0.0215911865234375, -0.0635986328125, -0.013519287109375, -0.0079498291015625, -0.044708251953125, -0.0013418197631835938, -0.0039215087890625, -0.0304107666015625, 0.010711669921875, 0.04412841796875, 0.0032958984375, -0.03369140625, 0.0250244140625, -0.031982421875, -0.0033893585205078125, 0.03802490234375, -0.056121826171875, 0.06207275390625, -0.05230712890625, 0.06500244140625, 0.06488037109375, -0.06805419921875, 0.043365478515625, -0.0084381103515625, -0.0299072265625, -0.02947998046875, 0.024169921875, -0.0177459716796875, -0.05108642578125, -0.028289794921875, 0.021514892578125, 0.0228729248046875, -0.0008373260498046875, 0.027069091796875, -0.016571044921875, 0.008087158203125, 0.0208587646484375, -0.026153564453125, -0.0223236083984375, 0.04949951171875, -0.0750732421875, 0.005435943603515625, 0.0247802734375, -0.04095458984375, -0.040252685546875, 0.07366943359375, -0.004199981689453125, -0.032684326171875, 0.0204925537109375, -0.009857177734375, -0.01529693603515625, -0.04339599609375, 0.0190582275390625, 0.01140594482421875, 0.0281982421875, -0.005828857421875, 0.042755126953125, -0.005733489990234375, -0.040069580078125, -0.0193939208984375, -0.049346923828125, -0.024932861328125, -0.03497314453125, 0.028900146484375, -0.0153656005859375, 0.004634857177734375, 0.00946044921875, 0.02960205078125, 0.040069580078125, -0.037139892578125, -0.007171630859375, -0.01253509521484375, -0.0263519287109375, -0.011077880859375, 0.0748291015625, 0.023956298828125, 0.0009322166442871094, 0.0291290283203125, -0.028167724609375, 0.02459716796875, -0.0032024383544921875, -0.00399017333984375, 0.00994873046875, -0.017181396484375, -0.004367828369140625, 0.0178070068359375, -0.0229949951171875, 0.0035648345947265625, -0.005504608154296875, 0.01232147216796875, -0.03912353515625, -0.004146575927734375, 0.00458526611328125, 0.0266876220703125, 0.0212249755859375, 0.003528594970703125, -0.0168914794921875, -0.0027141571044921875, -0.00940704345703125, 0.0072479248046875, -0.00423431396484375, 0.0277862548828125, -0.007144927978515625, -0.06756591796875, 0.04339599609375, 0.0195770263671875, 0.031158447265625, -0.04376220703125, -0.0408935546875, -0.015533447265625, 0.09771728515625, -0.040069580078125, -0.037872314453125, -0.0281524658203125, 0.0201873779296875, 0.009613037109375, -0.043548583984375, 0.0340576171875, -0.0389404296875, -0.0211181640625, 0.00798797607421875, -0.00662994384765625, -0.0011920928955078125, -0.006305694580078125, 0.0146026611328125, -0.005298614501953125, -0.024444580078125, 0.03546142578125, 0.00955963134765625, -0.0144500732421875, 0.0299072265625, -0.01549530029296875, -0.0014810562133789062, -0.031524658203125, 0.005458831787109375, -0.0941162109375, -0.028533935546875, 0.0273590087890625, 0.0682373046875, -0.013031005859375, -0.00791168212890625, -0.042205810546875, 0.043365478515625, 0.0222015380859375, 0.039031982421875, 0.021697998046875, 0.0080413818359375, 0.00444793701171875, -0.03521728515625, 0.04296875, -0.046783447265625, 0.001995086669921875, -0.054473876953125, -0.0221710205078125, -0.007511138916015625, -0.0308380126953125, 0.042266845703125, -0.03173828125, 0.0040740966796875, -0.10614013671875, -0.04266357421875, -0.00833892822265625, -0.0113067626953125, 0.01360321044921875, -0.0256805419921875, -0.04571533203125, -0.090087890625, 0.0262298583984375, -0.0101470947265625, -0.00522613525390625, 0.003047943115234375, 0.10430908203125, 0.0223541259765625, -0.0005869865417480469, -0.043609619140625, -0.01441192626953125, 0.004802703857421875, 0.002048492431640625, 0.0158538818359375, 0.00533294677734375, -0.00336456298828125, 0.022674560546875, -0.01678466796875, -0.0006060600280761719, -0.0052490234375, 0.0091094970703125, 0.00885009765625, -0.0205841064453125, 0.01229095458984375, 0.00042057037353515625, 0.02740478515625, 0.007427215576171875, -0.033111572265625, -0.0015850067138671875, -0.007709503173828125, 0.046234130859375, -0.002941131591796875, 0.0183563232421875, -0.0318603515625, -0.023406982421875, 0.01166534423828125, -0.04119873046875, 0.06475830078125, 0.0037078857421875, -0.0048675537109375, 0.01021575927734375, 0.0198516845703125, 0.02349853515625, 0.035614013671875, 0.02166748046875, -0.01140594482421875, 0.0660400390625, 0.012908935546875, 0.015167236328125, 0.01059722900390625, 0.017913818359375, -0.0587158203125, -0.02276611328125, -0.0276641845703125, -0.07855224609375, 0.025146484375, 0.046661376953125, 0.004306793212890625, 0.01166534423828125, 0.040863037109375, 0.021392822265625, 0.01287841796875, -0.0018301010131835938, -0.03948974609375, 0.0273284912109375, -0.0304107666015625, 0.0291290283203125, -0.001789093017578125, 0.00731658935546875, -0.00838470458984375, 0.08087158203125, -0.0004165172576904297, 0.032470703125, -0.00318145751953125, 0.0287322998046875, 0.0350341796875, 0.020477294921875, 0.015167236328125, 0.005039215087890625, -0.0294952392578125, 0.022674560546875, 0.0005545616149902344, -0.004486083984375, -0.0012760162353515625, -0.007038116455078125, 0.00888824462890625, 0.01554107666015625, 0.01491546630859375, -0.00795745849609375, -0.0291748046875, -0.0421142578125, 0.011199951171875, -0.03997802734375, -0.0345458984375, -0.027801513671875, 0.0262603759765625, 0.045135498046875, 0.0185699462890625, 0.01187896728515625, -0.0073394775390625, 0.0057373046875, -0.0152740478515625, -0.00283050537109375, -0.036895751953125, 0.003330230712890625, 0.00045228004455566406, -0.0242462158203125, -0.01209259033203125, 0.002384185791015625, -0.045867919921875, -0.044677734375, 0.0090179443359375, -0.006305694580078125, 0.034912109375, -0.0311126708984375, 0.0743408203125, -0.025543212890625, -0.027435302734375, -0.1065673828125, 0.03741455078125, -0.031494140625, 0.00873565673828125, 0.0341796875, -0.032989501953125, -0.026702880859375, -0.04302978515625, -0.0016851425170898438, 0.019866943359375, -0.007480621337890625, -0.002658843994140625, 0.00251007080078125, 0.0229949951171875, -0.015655517578125, -0.054840087890625, -0.009674072265625, -0.00565338134765625, 0.0219268798828125, -0.0005273818969726562, 0.0005154609680175781, -0.00981903076171875, 0.0223541259765625, -0.006496429443359375, 0.020538330078125, -0.0057373046875, 0.005908966064453125, -0.026214599609375, 0.0090789794921875, -0.040313720703125, -0.0390625, 0.037689208984375, -0.033447265625, 0.0071868896484375, 0.00039577484130859375, -0.00975799560546875, 0.045074462890625, -0.027313232421875, -0.0010004043579101562, -0.01007080078125, 0.0064239501953125, -0.045501708984375, -0.0020618438720703125, 0.042633056640625, -0.01108551025390625, -0.0135955810546875, -0.03033447265625, 0.01282501220703125, 0.01238250732421875, -0.00035452842712402344, 0.0007090568542480469, -0.04168701171875, -0.0283203125, 0.04736328125, 0.04522705078125, 0.0002548694610595703, 0.04583740234375, 0.0197906494140625, 0.0098419189453125, 0.023651123046875, 0.0012989044189453125, 0.047943115234375, 0.0184478759765625, 0.043304443359375, -0.0172882080078125, 0.0020771026611328125, 0.019287109375, -0.0290985107421875, 0.006450653076171875, -0.01409912109375, 0.00450897216796875, -0.0027828216552734375, 0.00940704345703125, -0.02130126953125, -0.00428009033203125, 0.0229949951171875, -0.019805908203125, 0.0134124755859375, 0.02276611328125, 0.045379638671875, -0.040435791015625, -0.0295867919921875, 0.022216796875, -0.0247344970703125, -0.004913330078125, -0.007556915283203125, -0.028564453125, -0.0213165283203125, -0.025970458984375, -0.057952880859375, 0.01200103759765625, -0.047943115234375, 0.0253143310546875, -0.0035457611083984375, -0.01861572265625, -0.005664825439453125, -0.021881103515625, -0.00555419921875, -0.0679931640625, -0.00102996826171875, 0.0311431884765625, 0.0128936767578125, 0.0237579345703125, 0.0232391357421875, 0.0093231201171875, -0.01306915283203125, -0.00787353515625, -0.01226806640625, 0.01494598388671875, -0.02301025390625, 0.016754150390625, 0.00630950927734375, -0.0202484130859375, 0.0037708282470703125, 0.0018568038940429688, -0.028228759765625, 0.01200103759765625, 0.0157012939453125, 0.01070404052734375, -0.0181427001953125, -0.01061248779296875, 0.0521240234375, 0.005008697509765625, -0.0133056640625, -0.006683349609375, -0.004627227783203125, -0.0477294921875, -0.0268402099609375, -0.002323150634765625, -0.041168212890625, 0.03143310546875, 0.029937744140625, -0.0662841796875, 0.10125732421875, -0.002750396728515625, 0.029144287109375, 0.0104522705078125, 0.039581298828125, -0.03216552734375, 0.01641845703125, -0.0166015625, 0.0281982421875, -0.022979736328125, 0.0052032470703125, -0.0308380126953125, -0.00482177734375, -0.0076141357421875, 0.039581298828125, 0.0299835205078125, -0.00865936279296875, -0.034698486328125, -0.034942626953125, 0.026885986328125, 0.04827880859375, 0.036529541015625, 0.024932861328125, -0.0027294158935546875, 0.0030956268310546875, 0.051910400390625, -0.0183258056640625, 0.029937744140625, -0.01910400390625, -0.0009331703186035156, 0.006336212158203125, 0.0051422119140625, 0.005748748779296875, 0.00009995698928833008, 0.002895355224609375, 0.0009570121765136719, -0.01442718505859375, -0.0059661865234375, -0.012359619140625, 0.049774169921875, 0.06890869140625, 0.06939697265625, -0.039398193359375, -0.0071258544921875, -0.0323486328125, 0.054107666015625, -0.03173828125, 0.0401611328125, 0.0186004638671875, 0.00649261474609375, 0.06805419921875, 0.00591278076171875, 0.01910400390625, 0.0186920166015625, -0.00835418701171875, 0.0322265625, 0.009521484375, 0.006389617919921875, -0.04315185546875, 0.004497528076171875, 0.044891357421875, 0.0457763671875, -0.0367431640625, -0.06829833984375, 0.0048675537109375, -0.003665924072265625, 0.0011377334594726562, 0.0151519775390625, -0.00914764404296875, -0.00995635986328125, 0.038604736328125, -0.006893157958984375, -0.02032470703125, 0.00821685791015625, 0.057373046875, -0.0027294158935546875, -0.002513885498046875, -0.0242462158203125, -0.0340576171875, 0.01348876953125, -0.00389862060546875, -0.0233154296875, 0.031951904296875, -0.01068878173828125, 0.05535888671875, -0.0703125, 0.0022125244140625, -0.018280029296875, 0.052764892578125, 0.01556396484375, 0.00937652587890625, -0.0281524658203125, -0.0264129638671875, 0.010650634765625, 0.0209808349609375, 0.01171112060546875, 0.0267181396484375, 0.00434112548828125, 0.03436279296875, 0.04473876953125, 0.00777435302734375, 0.0511474609375, -0.00037980079650878906, -0.0045623779296875, -0.060150146484375, 0.041259765625, 0.0279388427734375, 0.0047149658203125, 0.0270233154296875, -0.01230621337890625, 0.05413818359375, 0.00478363037109375, 0.026641845703125, -0.0010576248168945312, -0.033905029296875, 0.01009368896484375, -0.01629638671875, 0.0750732421875, 0.015380859375, -0.11505126953125, -0.021484375, -0.035797119140625, -0.035369873046875, 0.0232696533203125, 0.029754638671875, -0.051483154296875, 0.03729248046875, 0.009490966796875, -0.039398193359375, 0.03656005859375, 0.007080078125, 0.00011616945266723633, 0.036895751953125, 0.020751953125, -0.006038665771484375, -0.01959228515625, -0.02691650390625, 0.002986907958984375, 0.049072265625, -0.0120391845703125, 0.07489013671875, -0.0362548828125, 0.007282257080078125, 0.0034008026123046875, -0.0423583984375, 0.043792724609375, 0.03509521484375, -0.046051025390625, 0.047149658203125, -0.0035533905029296875, -0.029754638671875, 0.04022216796875, 0.021087646484375, 0.029693603515625, -0.048187255859375, -0.01055908203125, -0.027496337890625, 0.00910186767578125, -0.0032978057861328125, 0.0207672119140625, -0.0291900634765625, -0.022216796875, -0.01357269287109375, 0.0013151168823242188, 0.02008056640625, 0.0302734375, 0.0021953582763671875, 0.0176544189453125, -0.01363372802734375, -0.005397796630859375, 0.0117340087890625, -0.00841522216796875, 0.0245513916015625, 0.0218505859375, -0.059539794921875, -0.004138946533203125, -0.00525665283203125, -0.0181884765625, 0.00237274169921875, 0.013916015625, -0.0180816650390625, 0.004512786865234375, -0.062103271484375, 0.0576171875, 0.04071044921875, 0.03338623046875, -0.04937744140625, -0.004184722900390625, 0.0853271484375, -0.00537872314453125, -0.00390625, -0.0235443115234375, -0.0149993896484375, -0.026947021484375, -0.035980224609375, 0.0007205009460449219, -0.017913818359375, -0.06549072265625, -0.0321044921875, 0.0335693359375, 0.0028934478759765625, 0.0313720703125, -0.10675048828125, 0.0826416015625, 0.00017535686492919922, 0.05743408203125, -0.02337646484375, -0.0031986236572265625, -0.005828857421875, 0.02655029296875, -0.005664825439453125, -0.056549072265625, -0.0282135009765625, 0.06597900390625, -0.0290985107421875, -0.010009765625, -0.01285552978515625, -0.0201263427734375, 0.00824737548828125, 0.01155853271484375, 0.011199951171875, 0.04852294921875, 0.051483154296875, -0.003688812255859375, 0.005649566650390625, 0.01611328125, 0.0005588531494140625, -0.079833984375, -0.0292205810546875, -0.0286102294921875, 0.03759765625, 0.0095672607421875, -0.0164031982421875, 0.00670623779296875, -0.039093017578125, -0.09686279296875, 0.04705810546875, -0.0174407958984375, -0.032745361328125, -0.0281524658203125, -0.004741668701171875, -0.04351806640625, 0.08453369140625, 0.0204010009765625, -0.0251617431640625, -0.00620269775390625, 0.0270843505859375, 0.0036869049072265625, 0.018829345703125, 0.0285491943359375, -0.01296234130859375, -0.0013065338134765625, 0.0178375244140625, 0.0170135498046875, 0.0118560791015625, -0.0011949539184570312, -0.004364013671875, 0.0372314453125, 0.030975341796875, -0.02557373046875, -0.003997802734375, 0.009796142578125, -0.0032024383544921875, 0.0008678436279296875, -0.051177978515625, -0.02972412109375, -0.00827789306640625, 0.07464599609375, 0.051605224609375, 0.0210418701171875, -0.044342041015625, 0.037322998046875, -0.030181884765625, -0.024505615234375, -0.0248565673828125, 0.00347137451171875, -0.0270538330078125, -0.01338958740234375, -0.0162506103515625, 0.0033054351806640625, 0.0012216567993164062, 0.00724029541015625, -0.034637451171875, -0.034149169921875, -0.0309600830078125, 0.00830841064453125, -0.08319091796875, 0.044036865234375, 0.060089111328125, -0.0628662109375, -0.034820556640625, 0.028167724609375, -0.026214599609375, 0.00726318359375, -0.00853729248046875, -0.06268310546875, -0.004276275634765625, -0.01535797119140625, 0.0248870849609375, -0.0275421142578125, 0.0003733634948730469, -0.030914306640625, 0.03582763671875, -0.00353240966796875, 0.018951416015625, -0.004604339599609375, 0.0284423828125, 0.004329681396484375, 0.0037593841552734375, -0.01355743408203125, 0.0225372314453125, 0.01287841796875, 0.0171661376953125, 0.00907135009765625, 0.005695343017578125, -0.00689697265625, -0.01055908203125, 0.017486572265625, -0.037689208984375, 0.006439208984375, -0.0036182403564453125, -0.015838623046875, -0.03973388671875, 0.01074981689453125, 0.034881591796875, -0.01189422607421875, 0.0216522216796875 ]
40d28a4e6bb4035042d1828c23ad0a936c8e8345
Wordpress Stackexchange Q: get_category_link() is returning nothing <?php $categories=get_categories('taxonomy=galeriak'); foreach ($categories as $category) { ?> <li><a href="<?php echo get_category_link( $category->term_id ) ?>" title="<?php echo $category->name ?>"><?php the_term_thumbnail ( $category->term_id, $category->taxonomy, $size = 'thumbnail', $attr = '') ?><span><?php echo $category->name ?></span></a></li> <?php } ?> I use this code to display the categories from the "galeriak" taxonomy. Everything is working, except the href part, its return nothing. I tried it with and without the echo, but nothing seems to work. Any ideas? A: You should be using get_term_link instead, also for consistencys sake and to future proof, use get_terms instead of get_categories. Both work on categories/tags and all custom taxonomies. Also check for the return of a WP_Error object ( returned when an invalid or nonexistent term is passed )
Q: get_category_link() is returning nothing <?php $categories=get_categories('taxonomy=galeriak'); foreach ($categories as $category) { ?> <li><a href="<?php echo get_category_link( $category->term_id ) ?>" title="<?php echo $category->name ?>"><?php the_term_thumbnail ( $category->term_id, $category->taxonomy, $size = 'thumbnail', $attr = '') ?><span><?php echo $category->name ?></span></a></li> <?php } ?> I use this code to display the categories from the "galeriak" taxonomy. Everything is working, except the href part, its return nothing. I tried it with and without the echo, but nothing seems to work. Any ideas? A: You should be using get_term_link instead, also for consistencys sake and to future proof, use get_terms instead of get_categories. Both work on categories/tags and all custom taxonomies. Also check for the return of a WP_Error object ( returned when an invalid or nonexistent term is passed )
wordpress
{ "language": "en", "length": 126, "provenance": "stackexchange_00019.jsonl.gz:414664", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33902" }
[ 0.0472412109375, 0.00968170166015625, -0.027801513671875, -0.0391845703125, 0.050689697265625, -0.04193115234375, 0.055816650390625, -0.004192352294921875, 0.01446533203125, 0.0229949951171875, -0.01284027099609375, -0.011138916015625, -0.0100250244140625, -0.0311431884765625, -0.016632080078125, -0.035369873046875, 0.032928466796875, -0.006641387939453125, 0.06201171875, 0.01776123046875, 0.005374908447265625, 0.03717041015625, 0.040435791015625, -0.01226806640625, 0.041900634765625, -0.0478515625, 0.03289794921875, -0.043212890625, 0.0180511474609375, -0.040313720703125, 0.0191192626953125, 0.019195556640625, 0.027099609375, -0.0001513957977294922, -0.00978851318359375, -0.00450897216796875, 0.02862548828125, -0.0213623046875, -0.0313720703125, 0.08135986328125, 0.03485107421875, -0.0283203125, 0.01593017578125, -0.01690673828125, -0.00933074951171875, -0.003459930419921875, 0.0147705078125, -0.026763916015625, -0.0088348388671875, -0.00696563720703125, 0.06280517578125, -0.01001739501953125, 0.07171630859375, -0.032318115234375, -0.0046539306640625, 0.03387451171875, -0.030975341796875, 0.001804351806640625, 0.0226287841796875, 0.01233673095703125, -0.0222320556640625, -0.00922393798828125, 0.0141754150390625, -0.03302001953125, 0.00010669231414794922, 0.00867462158203125, -0.0032749176025390625, 0.035064697265625, -0.0233612060546875, -0.0172882080078125, -0.00027441978454589844, -0.0261688232421875, -0.00984954833984375, -0.0062408447265625, -0.00977325439453125, -0.03228759765625, 0.020355224609375, -0.03778076171875, -0.01076507568359375, 0.0303497314453125, 0.01288604736328125, -0.01082611083984375, -0.0577392578125, 0.038482666015625, 0.0011777877807617188, 0.057220458984375, -0.007633209228515625, -0.0438232421875, -0.03326416015625, -0.00785064697265625, -0.017547607421875, -0.007419586181640625, -0.038055419921875, -0.0230560302734375, 0.0079193115234375, -0.047760009765625, 0.03582763671875, 0.0494384765625, -0.0035572052001953125, -0.0004858970642089844, -0.037933349609375, -0.0297088623046875, -0.002410888671875, -0.0261688232421875, 0.021942138671875, 0.020416259765625, 0.000682830810546875, 0.026580810546875, 0.05072021484375, -0.00437164306640625, 0.007228851318359375, 0.062744140625, -0.025634765625, -0.0204925537109375, 0.00814056396484375, 0.0298919677734375, -0.04156494140625, 0.033355712890625, 0.0067138671875, 0.028533935546875, 0.01861572265625, 0.0552978515625, -0.01265716552734375, 0.005252838134765625, -0.007472991943359375, 0.03045654296875, 0.0176849365234375, -0.069091796875, 0.02337646484375, -0.006473541259765625, -0.0445556640625, 0.0103607177734375, 0.066162109375, 0.0093841552734375, 0.01161956787109375, -0.0150146484375, -0.008544921875, -0.0178375244140625, -0.0177459716796875, -0.0010852813720703125, 0.032867431640625, 0.0194549560546875, 0.0290985107421875, -0.01090240478515625, 0.03240966796875, 0.007701873779296875, 0.0242156982421875, 0.020233154296875, -0.020782470703125, -0.0167083740234375, 0.0278167724609375, -0.03125, 0.054046630859375, -0.0007719993591308594, -0.03253173828125, -0.024017333984375, 0.041656494140625, -0.0478515625, -0.023223876953125, -0.06683349609375, 0.029876708984375, 0.0006041526794433594, -0.01020050048828125, -0.0458984375, -0.060089111328125, -0.022705078125, -0.03302001953125, -0.00655364990234375, 0.02081298828125, 0.039154052734375, 0.0258636474609375, -0.01029205322265625, -0.021636962890625, 0.0066375732421875, 0.0189971923828125, -0.0039825439453125, -0.012237548828125, 0.0157318115234375, 0.0345458984375, -0.0004057884216308594, -0.032196044921875, -0.03656005859375, 0.0279388427734375, -0.01519012451171875, -0.037139892578125, 0.02996826171875, -0.005840301513671875, 0.0518798828125, 0.005107879638671875, 0.01922607421875, 0.0279998779296875, 0.03167724609375, -0.061309814453125, 0.00019288063049316406, -0.0028018951416015625, 0.01282501220703125, -0.0262603759765625, 0.003620147705078125, -0.006557464599609375, 0.015228271484375, -0.00586700439453125, -0.0298614501953125, 0.01319122314453125, -0.0046539306640625, -0.03900146484375, -0.00438690185546875, -0.0265045166015625, 0.038543701171875, -0.02044677734375, 0.033721923828125, 0.027099609375, -0.003879547119140625, -0.053314208984375, 0.040802001953125, 0.00688934326171875, 0.0262298583984375, -0.005523681640625, 0.005237579345703125, -0.01099395751953125, 0.00037932395935058594, -0.034698486328125, -0.0088653564453125, -0.0284271240234375, 0.033935546875, 0.0379638671875, 0.01446533203125, -0.031494140625, -0.0098419189453125, -0.0272064208984375, 0.05096435546875, -0.11798095703125, 0.0154571533203125, 0.051544189453125, 0.0467529296875, -0.0247955322265625, -0.003143310546875, 0.0196990966796875, -0.04193115234375, 0.0084228515625, 0.04010009765625, 0.03900146484375, -0.0166168212890625, -0.054534912109375, -0.07720947265625, 0.038787841796875, -0.04925537109375, -0.0125885009765625, -0.041961669921875, -0.0294036865234375, -0.01483917236328125, 0.02398681640625, 0.0295257568359375, 0.01235198974609375, 0.056427001953125, -0.0051422119140625, 0.010101318359375, 0.0159912109375, 0.00238800048828125, 0.00952911376953125, 0.00868988037109375, -0.003330230712890625, 0.0023517608642578125, -0.027557373046875, 0.0030364990234375, 0.01154327392578125, 0.0202789306640625, 0.0124053955078125, 0.0033092498779296875, -0.038818359375, 0.0180206298828125, 0.01519775390625, -0.0015153884887695312, -0.0226287841796875, 0.0732421875, 0.05621337890625, -0.027496337890625, -0.0135498046875, -0.0160980224609375, -0.060577392578125, 0.02166748046875, -0.01025390625, 0.055419921875, 0.0203094482421875, -0.0017375946044921875, -0.0290069580078125, -0.0333251953125, 0.0161895751953125, -0.01024627685546875, -0.0335693359375, 0.00970458984375, 0.025726318359375, 0.0556640625, 0.0108489990234375, 0.01294708251953125, -0.0428466796875, 0.034576416015625, 0.031463623046875, -0.031829833984375, 0.0330810546875, -0.0526123046875, 0.0283203125, 0.0343017578125, -0.040374755859375, 0.0167694091796875, -0.0066680908203125, -0.013824462890625, -0.005962371826171875, 0.0263214111328125, -0.00908660888671875, -0.008941650390625, -0.0233154296875, 0.019439697265625, -0.0017633438110351562, 0.0233306884765625, -0.0182952880859375, -0.06463623046875, -0.01419830322265625, 0.0006494522094726562, -0.1053466796875, -0.055389404296875, 0.003498077392578125, -0.037261962890625, 0.044647216796875, 0.0160980224609375, 0.002407073974609375, -0.039093017578125, 0.052154541015625, 0.0291748046875, 0.0772705078125, -0.052215576171875, -0.0830078125, -0.04754638671875, -0.10833740234375, -0.01282501220703125, 0.0018301010131835938, -0.0015306472778320312, 0.0210723876953125, 0.0227203369140625, 0.019287109375, -0.06072998046875, 0.0286102294921875, 0.047393798828125, -0.027313232421875, 0.0235443115234375, -0.0198211669921875, 0.0191192626953125, -0.0298004150390625, 0.022216796875, 0.034759521484375, 0.0050048828125, -0.03106689453125, -0.007717132568359375, -0.0004131793975830078, 0.0002999305725097656, 0.04388427734375, -0.0161590576171875, -0.02105712890625, 0.040283203125, 0.03997802734375, -0.0153350830078125, -0.010589599609375, -0.03387451171875, -0.034637451171875, 0.07177734375, 0.018646240234375, -0.00949859619140625, 0.01155853271484375, 0.03338623046875, -0.0517578125, -0.0222625732421875, -0.013031005859375, -0.0291900634765625, 0.022308349609375, -0.018585205078125, -0.015472412109375, 0.0175323486328125, -0.0026950836181640625, -0.00176239013671875, 0.009033203125, -0.01090240478515625, 0.040496826171875, -0.00634765625, 0.002437591552734375, -0.05523681640625, -0.034698486328125, 0.01529693603515625, -0.040252685546875, 0.003299713134765625, -0.01297760009765625, 0.00978851318359375, -0.0141448974609375, 0.024261474609375, -0.0104522705078125, -0.04083251953125, -0.034271240234375, 0.0038547515869140625, -0.0166473388671875, -0.038330078125, 0.017913818359375, -0.008087158203125, -0.11334228515625, 0.00972747802734375, 0.007053375244140625, -0.029296875, -0.02880859375, 0.0185394287109375, -0.074462890625, -0.04559326171875, 0.03131103515625, -0.01233673095703125, 0.0220489501953125, 0.035858154296875, 0.01274871826171875, 0.01239013671875, -0.028106689453125, -0.006317138671875, -0.0228118896484375, -0.023162841796875, 0.029083251953125, 0.0274200439453125, -0.0007185935974121094, 0.0118560791015625, -0.01253509521484375, 0.04339599609375, 0.0218048095703125, 0.01479339599609375, 0.0169677734375, -0.01497650146484375, 0.00553131103515625, 0.0282745361328125, 0.03521728515625, -0.012939453125, -0.0256805419921875, -0.04656982421875, -0.0269622802734375, 0.015045166015625, -0.0165557861328125, 0.047943115234375, -0.034332275390625, -0.00353240966796875, -0.0379638671875, -0.025970458984375, -0.0024089813232421875, -0.00926971435546875, -0.0161895751953125, -0.00839996337890625, -0.005084991455078125, -0.04547119140625, 0.016204833984375, 0.006038665771484375, -0.018157958984375, 0.00809478759765625, 0.044189453125, 0.0179290771484375, -0.0264739990234375, -0.050262451171875, 0.03973388671875, 0.03997802734375, -0.020263671875, 0.036865234375, 0.0235137939453125, -0.02783203125, 0.045654296875, 0.010833740234375, 0.06842041015625, -0.036102294921875, 0.055023193359375, -0.0182342529296875, -0.0040283203125, 0.0194091796875, 0.0075531005859375, -0.05230712890625, 0.061004638671875, -0.01244354248046875, -0.0194549560546875, -0.0141143798828125, 0.0299224853515625, -0.028076171875, 0.0222015380859375, -0.015838623046875, 0.0184173583984375, -0.00894927978515625, -0.0037899017333984375, 0.040283203125, 0.040771484375, -0.011749267578125, -0.0012426376342773438, 0.0308685302734375, -0.00405120849609375, -0.0022792816162109375, -0.01666259765625, 0.0009527206420898438, 0.018341064453125, -0.0079193115234375, 0.0069580078125, -0.002071380615234375, 0.0075225830078125, -0.00360107421875, -0.0003437995910644531, -0.0182342529296875, -0.0283050537109375, 0.01336669921875, -0.009429931640625, -0.005092620849609375, -0.005382537841796875, 0.026458740234375, -0.00350189208984375, -0.006046295166015625, -0.0126800537109375, -0.0286865234375, 0.01219940185546875, -0.01995849609375, 0.026031494140625, 0.01067352294921875, -0.0099639892578125, -0.006381988525390625, 0.055694580078125, 0.005001068115234375, 0.01537322998046875, -0.005321502685546875, -0.0264434814453125, -0.0299530029296875, 0.04083251953125, 0.042510986328125, -0.03131103515625, -0.01239776611328125, 0.028961181640625, 0.03179931640625, -0.0631103515625, -0.032501220703125, 0.01678466796875, 0.0528564453125, -0.01366424560546875, -0.01035308837890625, 0.03472900390625, 0.0218505859375, -0.01114654541015625, 0.0298919677734375, -0.005733489990234375, -0.03546142578125, -0.04229736328125, -0.01445770263671875, 0.02874755859375, -0.0159149169921875, -0.0303955078125, 0.030914306640625, 0.01239013671875, 0.0304718017578125, -0.02581787109375, -0.029693603515625, 0.0290069580078125, 0.041473388671875, -0.01309967041015625, -0.025238037109375, 0.00833892822265625, 0.00710296630859375, 0.03900146484375, -0.033447265625, -0.044708251953125, 0.035888671875, -0.0013666152954101562, 0.06439208984375, -0.02935791015625, -0.0472412109375, -0.035369873046875, -0.01204681396484375, 0.08013916015625, 0.0589599609375, -0.06005859375, 0.0270233154296875, -0.04229736328125, -0.0019054412841796875, 0.00003790855407714844, -0.038360595703125, -0.0308837890625, -0.031829833984375, 0.01238250732421875, 0.006656646728515625, 0.019744873046875, 0.0006947517395019531, -0.045013427734375, 0.007625579833984375, 0.0309295654296875, -0.0168914794921875, 0.005474090576171875, 0.00850677490234375, 0.0162811279296875, 0.050811767578125, 0.0070037841796875, -0.02447509765625, -0.0511474609375, -0.0205535888671875, -0.0384521484375, -0.0404052734375, 0.00628662109375, 0.0283660888671875, -0.0153961181640625, 0.0219573974609375, 0.04473876953125, 0.00962066650390625, -0.0024700164794921875, 0.004497528076171875, -0.0021953582763671875, -0.00730133056640625, 0.0021686553955078125, 0.03326416015625, -0.01849365234375, 0.054290771484375, -0.0190582275390625, 0.03143310546875, -0.00421905517578125, 0.004302978515625, 0.0242462158203125, -0.043731689453125, 0.03094482421875, 0.016326904296875, 0.0171051025390625, 0.0161895751953125, 0.0615234375, -0.00868988037109375, 0.032440185546875, 0.0264892578125, 0.00926971435546875, 0.0133819580078125, 0.019927978515625, 0.05523681640625, 0.00902557373046875, 0.0867919921875, -0.0023059844970703125, -0.01189422607421875, 0.027191162109375, -0.03900146484375, -0.006923675537109375, 0.001888275146484375, 0.023895263671875, -0.016387939453125, -0.0086822509765625, 0.0204315185546875, -0.0311279296875, -0.034698486328125, 0.0082550048828125, -0.0182952880859375, -0.022979736328125, 0.015380859375, -0.0390625, -0.024749755859375, -0.0036945343017578125, -0.00904083251953125, 0.00637054443359375, -0.0023250579833984375, 0.04351806640625, 0.02301025390625, -0.070556640625, -0.0083465576171875, 0.0477294921875, -0.005340576171875, -0.0206146240234375, 0.01065826416015625, 0.0206146240234375, -0.0159759521484375, -0.0546875, 0.03729248046875, 0.0228729248046875, -0.013763427734375, 0.005588531494140625, -0.00821685791015625, -0.006740570068359375, 0.0243988037109375, -0.01019287109375, 0.017547607421875, -0.0165557861328125, -0.041015625, 0.03448486328125, -0.02325439453125, -0.003612518310546875, 0.019866943359375, -0.0234832763671875, 0.00701904296875, 0.0006947517395019531, -0.014251708984375, -0.010894775390625, -0.0138397216796875, 0.10015869140625, -0.0389404296875, -0.009979248046875, 0.01971435546875, 0.06256103515625, -0.0025196075439453125, 0.00189208984375, 0.0258026123046875, -0.027984619140625, 0.016632080078125, 0.0110015869140625, 0.01441192626953125, 0.00211334228515625, 0.006824493408203125, -0.05419921875, 0.04754638671875, -0.0274658203125, 0.0396728515625, 0.01678466796875, 0.00034165382385253906, -0.00592041015625, 0.0012922286987304688, -0.04547119140625, 0.044921875, 0.0220184326171875, 0.0178070068359375, -0.04638671875, -0.0196533203125, -0.0075531005859375, 0.0199737548828125, 0.01812744140625, 0.0056304931640625, -0.024261474609375, 0.03021240234375, 0.06732177734375, 0.020538330078125, -0.00536346435546875, 0.0284576416015625, 0.01200103759765625, 0.0099945068359375, 0.05517578125, -0.006504058837890625, 0.031097412109375, 0.00890350341796875, -0.01654052734375, 0.040740966796875, 0.00957489013671875, 0.0045623779296875, -0.024627685546875, 0.00666046142578125, -0.0445556640625, -0.0168914794921875, 0.02294921875, -0.0212249755859375, 0.0122222900390625, 0.05242919921875, 0.060943603515625, -0.060516357421875, 0.02789306640625, -0.047393798828125, 0.059722900390625, -0.01276397705078125, -0.0009889602661132812, 0.0197296142578125, 0.0097808837890625, 0.07891845703125, -0.05084228515625, -0.0244598388671875, -0.00974273681640625, 0.007053375244140625, 0.05340576171875, 0.017303466796875, -0.0015821456909179688, -0.0704345703125, -0.0266876220703125, 0.093994140625, 0.09820556640625, -0.046173095703125, -0.064453125, 0.0108795166015625, 0.01739501953125, 0.0149078369140625, 0.07122802734375, 0.047119140625, 0.0173187255859375, 0.08587646484375, -0.051605224609375, -0.0026912689208984375, 0.014434814453125, 0.03070068359375, -0.01302337646484375, -0.032135009765625, -0.020172119140625, -0.036468505859375, -0.032135009765625, 0.01222991943359375, 0.0202789306640625, 0.051788330078125, -0.00536346435546875, 0.052734375, -0.04412841796875, -0.002643585205078125, 0.0073394775390625, 0.0489501953125, -0.06207275390625, 0.00621795654296875, -0.0087432861328125, -0.05181884765625, -0.045745849609375, 0.0204925537109375, 0.01067352294921875, -0.0145416259765625, 0.03961181640625, 0.050628662109375, 0.000644683837890625, -0.0152587890625, 0.0292510986328125, -0.0022563934326171875, -0.03143310546875, -0.028472900390625, 0.039886474609375, 0.054656982421875, 0.0311737060546875, 0.006557464599609375, 0.0237579345703125, 0.06109619140625, -0.050323486328125, 0.053680419921875, -0.01078033447265625, -0.0418701171875, 0.043212890625, -0.04638671875, 0.0997314453125, -0.008697509765625, -0.0826416015625, -0.0311279296875, 0.0001430511474609375, 0.0031642913818359375, 0.00634765625, 0.03338623046875, 0.0025424957275390625, -0.0008587837219238281, -0.0230255126953125, -0.007678985595703125, 0.014068603515625, 0.006328582763671875, -0.0265350341796875, -0.006061553955078125, 0.006259918212890625, -0.0188140869140625, 0.01140594482421875, 0.00905609130859375, 0.03289794921875, 0.0135498046875, 0.005977630615234375, 0.059356689453125, -0.03057861328125, -0.005023956298828125, -0.040008544921875, 0.040679931640625, -0.07952880859375, -0.044464111328125, 0.0204925537109375, -0.0157623291015625, 0.002628326416015625, 0.0100860595703125, -0.0345458984375, 0.0079498291015625, 0.0523681640625, -0.0452880859375, -0.01788330078125, 0.028045654296875, -0.0012845993041992188, -0.0029697418212890625, 0.050537109375, -0.0161590576171875, -0.055633544921875, -0.043792724609375, -0.0101318359375, 0.0207672119140625, 0.076904296875, 0.0153045654296875, 0.03533935546875, -0.0153045654296875, -0.0157318115234375, 0.032073974609375, -0.0299835205078125, 0.027313232421875, 0.034210205078125, -0.0200042724609375, 0.00232696533203125, -0.021759033203125, -0.0250701904296875, 0.003231048583984375, -0.00228118896484375, -0.036590576171875, -0.013336181640625, -0.00626373291015625, 0.005855560302734375, 0.0230255126953125, 0.02471923828125, -0.041778564453125, 0.00865936279296875, 0.057098388671875, -0.004482269287109375, -0.011322021484375, -0.05419921875, -0.022674560546875, -0.051849365234375, -0.0179901123046875, 0.0166778564453125, -0.049896240234375, -0.026458740234375, -0.0258331298828125, 0.024383544921875, 0.036712646484375, 0.0014390945434570312, -0.038299560546875, 0.0149688720703125, -0.0219268798828125, 0.04925537109375, -0.0278778076171875, -0.002964019775390625, 0.004375457763671875, 0.0241851806640625, -0.04119873046875, 0.0193023681640625, -0.0066986083984375, -0.03729248046875, -0.007656097412109375, 0.01357269287109375, 0.0240936279296875, -0.023956298828125, -0.03997802734375, 0.026580810546875, 0.0304718017578125, 0.050994873046875, 0.04937744140625, -0.044891357421875, -0.0161590576171875, -0.00426483154296875, -0.018157958984375, 0.0028018951416015625, 0.046630859375, -0.03338623046875, -0.033905029296875, -0.0017795562744140625, -0.023468017578125, -0.006805419921875, -0.047943115234375, -0.045623779296875, 0.0621337890625, 0.0018634796142578125, -0.02435302734375, -0.01491546630859375, -0.02545166015625, -0.0216522216796875, 0.0379638671875, -0.004833221435546875, 0.0050506591796875, -0.019317626953125, 0.047760009765625, 0.0341796875, -0.0213775634765625, 0.042633056640625, 0.007740020751953125, -0.065185546875, 0.0187225341796875, 0.0126953125, 0.021759033203125, -0.002269744873046875, 0.0045318603515625, 0.003131866455078125, 0.017364501953125, -0.0406494140625, -0.0177764892578125, -0.0126953125, 0.0157470703125, 0.03887939453125, -0.0269775390625, -0.041168212890625, -0.0513916015625, -0.01139068603515625, -0.025482177734375, 0.0028247833251953125, 0.0251312255859375, -0.04345703125, -0.01235198974609375, -0.018951416015625, -0.0178375244140625, 0.0216064453125, -0.09271240234375, -0.004901885986328125, 0.0147857666015625, -0.00785064697265625, 0.011199951171875, -0.01070404052734375, -0.0300750732421875, 0.005161285400390625, 0.00241851806640625, 0.0010099411010742188, -0.039154052734375, 0.0364990234375, 0.0223541259765625, -0.04742431640625, -0.0261077880859375, -0.0213470458984375, -0.003292083740234375, -0.014556884765625, -0.052947998046875, 0.0020389556884765625, 0.01214599609375, -0.01180267333984375, -0.01009368896484375, 0.0249176025390625, -0.017120361328125, 0.033111572265625, -0.01031494140625, 0.0057830810546875, 0.0130615234375, -0.0271759033203125, -0.0018224716186523438, 0.02130126953125, 0.0235748291015625, -0.0036144256591796875, 0.06475830078125, -0.0069732666015625, 0.00518798828125, -0.0102996826171875, 0.0400390625, -0.0184173583984375, -0.01837158203125, 0.0028076171875, 0.0011949539184570312, 0.013275146484375, -0.00960540771484375, 0.006931304931640625, -0.00890350341796875, 0.0124664306640625, -0.03875732421875, -0.0247955322265625, 0.020111083984375 ]
0953c1bedbe508756baf5b61f5e141334f0e279b
Wordpress Stackexchange Q: How do I escape a ']' in a short code? How do I escape a right bracket in a short code? I'm working on a Google Map plugin that has encoded points. Sometimes the polygons have the ] in it, which makes WP think that it's the end of the shortcode. For example: [my_shortcode latitude='36.93' longitude='-72.98' encoded_points='ortlF~g]tM?cZEH`z]}|@DQfi]' ] I've tried &#93; which is isn't causing a problem for WP, but it is causing a problem for my Google map code. I could use Regex to replace ], but maybe there is a simpler way. Does shortcode have an escape character? A: There seems to be an official page here : Escaping Shortcodes Extract : To do this, you need to escape the shortcode by using two sets of brackets instead of just one. So to display this in your post: [gallery] You would write this: [[gallery]]
Q: How do I escape a ']' in a short code? How do I escape a right bracket in a short code? I'm working on a Google Map plugin that has encoded points. Sometimes the polygons have the ] in it, which makes WP think that it's the end of the shortcode. For example: [my_shortcode latitude='36.93' longitude='-72.98' encoded_points='ortlF~g]tM?cZEH`z]}|@DQfi]' ] I've tried &#93; which is isn't causing a problem for WP, but it is causing a problem for my Google map code. I could use Regex to replace ], but maybe there is a simpler way. Does shortcode have an escape character? A: There seems to be an official page here : Escaping Shortcodes Extract : To do this, you need to escape the shortcode by using two sets of brackets instead of just one. So to display this in your post: [gallery] You would write this: [[gallery]] A: I don't know of an official escape syntax for shortcodes and there likely isn't one. When wordpress parses for shortcodes it looks for [ and ]. If you want to use square brackets within a shortcode, using the respective html ASCII entities escapes them. I.e. replacing [ by &#91; and ] by &#93;. Wordpress will not recognize &#93; as the end of the shortcode. Whether that serves your purpose obviously depends on whether it gets converted to ] before being passed to the Google Maps API or whether the API handles it as expected. I have no experience with that, so can't say. A: Based on the Johannes Pille's answer there is wp function to escape square brackets for using text in shortcode parameters: function my_esc_brackets($text = ''){ return str_replace( [ "[" , "]" ] , [ "&#91;" , "&#93;" ] , $text ); } Often people suggest using shortcode's $content for text parameters, but there are cases when the shortcode has many such text parameters. A: Even if you are NOT playing with url, use urldecode(your attribute_value) with %5B and %5D used as replacement for [ and ] in your attribute_value. Your code may then look like this : In your wp page : [my_shortcode myattr="%5Bmyattribute_value%5D"] Then, in your shortcode function, just do this : $origvalue=urldecode($atts['myattr']); This will restore the [ and ] characters in the $origvalue, so that $origvalue now contains : [myattribute_value] TIP : If you are playing with url, do the same, but add the following to the function code : $urlvalue = urlencode($origvalue); If that is not clear : YES, I am doing urlencode(urldecode(some value from $atts)) to build a correct part of an url. Quite simple, hope this helps. Pierre A: The easiest solution - if only one attribute needs escaping is to use shortcodes in the open / close tag version like so: [my_shortcode latitude='36.93' longitude='-72.98']ortlF~g]tM?cZEH`z]}|@DQfi][/my_shortcode] then you get your problematic content as the second argument $content (the first is $attr). You can check the documentation on that to get more info. A: This is an old question, but here's a workaround using css. In place of braces, enclose characters in a span, like so: <span class="bracket">some string</span> then, add this to the theme stylesheet: span.bracket:before { content: '[' } .colored-blocks span.bracket:after { content: ']' } the result will look like this: [some string]
wordpress
{ "language": "en", "length": 539, "provenance": "stackexchange_00019.jsonl.gz:414686", "question_score": "20", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/33960" }
[ 0.0297393798828125, -0.013427734375, 0.021240234375, 0.025390625, -0.012054443359375, 0.00293731689453125, 0.04248046875, -0.043670654296875, -0.006931304931640625, 0.0229034423828125, -0.01081085205078125, -0.027374267578125, 0.0001533031463623047, -0.019317626953125, -0.019927978515625, -0.04498291015625, 0.0202178955078125, -0.0208282470703125, -0.0159454345703125, -0.0465087890625, 0.00798797607421875, -0.0238494873046875, -0.024932861328125, 0.06695556640625, -0.00502777099609375, 0.004642486572265625, 0.1138916015625, -0.0226287841796875, 0.004947662353515625, -0.0245208740234375, 0.01036834716796875, -0.0218658447265625, 0.0501708984375, 0.03546142578125, -0.057342529296875, 0.067138671875, -0.0396728515625, 0.034332275390625, 0.006809234619140625, 0.025909423828125, 0.00554656982421875, -0.003997802734375, 0.0064239501953125, 0.0013942718505859375, -0.039459228515625, 0.022186279296875, -0.01424407958984375, 0.0033283233642578125, 0.0163116455078125, -0.0201873779296875, 0.0225982666015625, 0.0080413818359375, 0.02691650390625, -0.001285552978515625, -0.0137176513671875, 0.016937255859375, -0.0221099853515625, -0.021728515625, 0.03179931640625, 0.01041412353515625, 0.00188446044921875, -0.021697998046875, 0.01513671875, -0.0272369384765625, 0.026702880859375, -0.0072784423828125, 0.0157928466796875, 0.04351806640625, -0.00616455078125, 0.043731689453125, 0.022430419921875, -0.00853729248046875, 0.00275421142578125, -0.027099609375, -0.0057373046875, 0.05255126953125, 0.01258087158203125, 0.0509033203125, -0.01105499267578125, 0.00289154052734375, 0.02252197265625, -0.01302337646484375, -0.031463623046875, -0.034423828125, 0.043243408203125, 0.0207061767578125, -0.0083770751953125, -0.0211029052734375, 0.0019435882568359375, -0.00540924072265625, -0.01270294189453125, 0.0029277801513671875, -0.0145416259765625, 0.032684326171875, 0.0022983551025390625, -0.02294921875, -0.0283355712890625, 0.01000213623046875, -0.020050048828125, 0.03338623046875, -0.0089569091796875, -0.024383544921875, 0.048919677734375, -0.05096435546875, -0.006099700927734375, 0.0231781005859375, 0.0382080078125, 0.006153106689453125, 0.0020847320556640625, 0.0001766681671142578, -0.039703369140625, 0.0128936767578125, -0.0090789794921875, -0.00583648681640625, -0.0162353515625, 0.04278564453125, -0.02166748046875, 0.026397705078125, -0.01264190673828125, 0.0297698974609375, 0.01117706298828125, 0.0005998611450195312, 0.0408935546875, 0.038421630859375, -0.014007568359375, 0.027374267578125, -0.0265350341796875, -0.044189453125, 0.063232421875, -0.004547119140625, -0.014312744140625, -0.02349853515625, 0.0155792236328125, 0.0654296875, 0.0386962890625, -0.00506591796875, 0.00014698505401611328, -0.0310211181640625, -0.0167388916015625, -0.01470184326171875, 0.0294952392578125, 0.00321197509765625, 0.01349639892578125, -0.019134521484375, 0.00980377197265625, -0.001430511474609375, 0.004474639892578125, 0.047027587890625, 0.01128387451171875, -0.0594482421875, 0.06622314453125, -0.057373046875, 0.069580078125, 0.001861572265625, -0.024444580078125, -0.08599853515625, 0.07196044921875, -0.087158203125, 0.020660400390625, -0.12060546875, -0.005489349365234375, -0.0152587890625, 0.047607421875, -0.042877197265625, -0.06768798828125, 0.030731201171875, -0.062042236328125, -0.0255279541015625, 0.0087127685546875, 0.06512451171875, -0.025482177734375, -0.026153564453125, -0.06640625, -0.0036411285400390625, -0.004913330078125, -0.0030002593994140625, -0.01561737060546875, -0.01263427734375, 0.025970458984375, 0.033599853515625, 0.003276824951171875, -0.031829833984375, 0.0001710653305053711, 0.0205841064453125, -0.01525115966796875, 0.04571533203125, 0.0241851806640625, 0.06695556640625, -0.0199432373046875, 0.0175628662109375, 0.0182342529296875, 0.046539306640625, -0.046478271484375, 0.0391845703125, 0.032562255859375, -0.04339599609375, 0.00847625732421875, -0.0222320556640625, 0.0218353271484375, -0.037200927734375, 0.00988006591796875, 0.00376129150390625, 0.01322174072265625, 0.003643035888671875, -0.0489501953125, 0.00928497314453125, -0.0263671875, 0.043487548828125, -0.0264434814453125, 0.00983428955078125, 0.010009765625, -0.032135009765625, -0.0031604766845703125, 0.0197601318359375, 0.0145416259765625, 0.034881591796875, -0.013336181640625, 0.056976318359375, 0.0087890625, 0.04046630859375, 0.045806884765625, -0.052032470703125, 0.054290771484375, 0.015655517578125, 0.01114654541015625, -0.004673004150390625, -0.0206756591796875, -0.0263824462890625, -0.0275726318359375, 0.020111083984375, -0.069580078125, 0.022125244140625, 0.0229034423828125, 0.006664276123046875, -0.05560302734375, -0.006900787353515625, -0.048004150390625, 0.0255889892578125, -0.0025806427001953125, 0.038909912109375, 0.044464111328125, 0.044586181640625, -0.0240631103515625, -0.087646484375, 0.10406494140625, 0.005016326904296875, 0.0200042724609375, -0.0653076171875, -0.0015583038330078125, 0.032257080078125, -0.0270233154296875, -0.019775390625, -0.0024127960205078125, -0.046417236328125, -0.014007568359375, 0.0224151611328125, -0.0133056640625, 0.001895904541015625, 0.0026302337646484375, 0.00559234619140625, -0.0138702392578125, -0.0208587646484375, 0.0302886962890625, -0.0277252197265625, 0.040985107421875, 0.038177490234375, 0.032257080078125, 0.033721923828125, -0.04180908203125, 0.058746337890625, 0.028167724609375, -0.024627685546875, 0.0006971359252929688, 0.03387451171875, 0.039093017578125, 0.005054473876953125, 0.0008955001831054688, -0.0089263916015625, -0.0273284912109375, 0.005290985107421875, -0.0019121170043945312, 0.002201080322265625, -0.0021724700927734375, 0.0004203319549560547, 0.0230560302734375, -0.007427215576171875, 0.0239715576171875, 0.025848388671875, 0.0023174285888671875, -0.038848876953125, -0.00595855712890625, 0.02239990234375, -0.0167694091796875, 0.04248046875, -0.00211334228515625, -0.028656005859375, 0.05035400390625, -0.0004799365997314453, 0.039306640625, -0.01335906982421875, 0.0159454345703125, 0.0276031494140625, -0.034698486328125, 0.0272979736328125, -0.0019350051879882812, 0.04583740234375, -0.015625, 0.0284271240234375, 0.01190948486328125, -0.051361083984375, 0.020904541015625, 0.002166748046875, 0.021026611328125, 0.032440185546875, -0.00786590576171875, -0.03759765625, -0.00644683837890625, 0.019927978515625, -0.034210205078125, -0.034393310546875, 0.07220458984375, -0.04022216796875, 0.020660400390625, 0.0002777576446533203, -0.0282745361328125, -0.047515869140625, 0.041595458984375, -0.0207061767578125, 0.0179443359375, -0.02606201171875, -0.01776123046875, -0.03167724609375, -0.049591064453125, -0.0172882080078125, 0.004428863525390625, -0.0017023086547851562, 0.01180267333984375, -0.0106353759765625, -0.019378662109375, -0.05145263671875, -0.0093994140625, 0.020355224609375, 0.005096435546875, 0.023193359375, -0.058685302734375, 0.0225067138671875, -0.00475311279296875, 0.0025882720947265625, -0.05419921875, 0.00753021240234375, 0.00878143310546875, -0.003993988037109375, 0.00868988037109375, -0.0216522216796875, 0.04058837890625, -0.03076171875, -0.036163330078125, 0.01065826416015625, 0.0228729248046875, -0.038421630859375, -0.00595855712890625, -0.0009517669677734375, -0.028961181640625, -0.0027370452880859375, -0.01898193359375, -0.0006308555603027344, -0.0166473388671875, 0.051971435546875, 0.0283355712890625, 0.007904052734375, 0.033294677734375, -0.0264892578125, -0.005603790283203125, 0.0130157470703125, 0.036285400390625, -0.050384521484375, -0.00433349609375, -0.035003662109375, 0.03436279296875, -0.0093841552734375, -0.015838623046875, -0.02081298828125, 0.02716064453125, 0.01342010498046875, -0.01230621337890625, 0.059326171875, 0.00955963134765625, 0.05377197265625, -0.05133056640625, -0.044219970703125, -0.037200927734375, 0.07928466796875, -0.0174407958984375, 0.002307891845703125, 0.0224609375, -0.0108489990234375, -0.01544189453125, 0.0178070068359375, -0.092041015625, -0.0187835693359375, -0.05511474609375, 0.00821685791015625, -0.04022216796875, -0.0129547119140625, 0.004535675048828125, -0.062225341796875, 0.0038661956787109375, -0.05267333984375, 0.030792236328125, -0.035614013671875, 0.007747650146484375, -0.02215576171875, 0.027862548828125, -0.07080078125, 0.0010356903076171875, -0.00865936279296875, -0.04052734375, -0.0123748779296875, 0.0089569091796875, 0.0283660888671875, 0.030120849609375, -0.07568359375, -0.0177154541015625, 0.029510498046875, -0.028900146484375, -0.023345947265625, -0.0023365020751953125, 0.0150299072265625, -0.0192108154296875, 0.12744140625, 0.004711151123046875, 0.041046142578125, -0.00199127197265625, 0.036773681640625, -0.00015270709991455078, 0.033599853515625, -0.0105133056640625, -0.048858642578125, 0.038848876953125, -0.05548095703125, -0.052520751953125, -0.0413818359375, 0.0225982666015625, 0.0005841255187988281, -0.021759033203125, 0.025787353515625, -0.0226898193359375, -0.00891876220703125, 0.01090240478515625, 0.02337646484375, -0.011962890625, 0.0301513671875, 0.05517578125, 0.00872039794921875, -0.019256591796875, -0.11297607421875, 0.00662994384765625, 0.03948974609375, -0.0135040283203125, 0.0214996337890625, 0.00724029541015625, -0.033203125, 0.050140380859375, -0.00799560546875, 0.0093231201171875, -0.045806884765625, 0.060791015625, 0.03167724609375, 0.033599853515625, -0.0228729248046875, 0.029388427734375, -0.017364501953125, -0.019378662109375, 0.01076507568359375, 0.002513885498046875, -0.008544921875, 0.00403594970703125, 0.02349853515625, -0.012481689453125, -0.0184173583984375, -0.06072998046875, 0.004695892333984375, 0.028839111328125, 0.016357421875, 0.00885009765625, 0.00004881620407104492, 0.04766845703125, 0.0404052734375, -0.0120697021484375, -0.0004591941833496094, 0.0185546875, -0.01506805419921875, 0.053985595703125, -0.05120849609375, -0.02099609375, -0.005779266357421875, 0.003986358642578125, 0.030029296875, -0.005191802978515625, -0.02642822265625, -0.035491943359375, -0.01535797119140625, -0.0753173828125, -0.0128173828125, 0.020538330078125, -0.01406097412109375, 0.0135040283203125, 0.0182342529296875, 0.0141754150390625, 0.00872039794921875, 0.02197265625, -0.0047454833984375, 0.022125244140625, -0.032684326171875, 0.007793426513671875, -0.00004667043685913086, -0.00977325439453125, -0.00945281982421875, -0.00628662109375, 0.0009918212890625, 0.013092041015625, 0.007686614990234375, 0.035736083984375, 0.024383544921875, -0.036407470703125, 0.02276611328125, 0.0200653076171875, -0.0118865966796875, -0.052825927734375, -0.0228424072265625, -0.01265716552734375, 0.052764892578125, -0.0277557373046875, -0.0253753662109375, 0.04766845703125, -0.00830841064453125, -0.016448974609375, -0.019012451171875, -0.0219573974609375, -0.0017499923706054688, -0.0279998779296875, -0.0263519287109375, 0.02789306640625, 0.0164947509765625, 0.035247802734375, -0.039825439453125, 0.013702392578125, 0.040679931640625, -0.01922607421875, 0.043853759765625, -0.032745361328125, -0.057373046875, 0.01023101806640625, -0.004024505615234375, -0.0297393798828125, 0.01018524169921875, -0.0223236083984375, -0.0201263427734375, -0.0054779052734375, 0.046905517578125, -0.0423583984375, -0.014923095703125, -0.01605224609375, 0.036102294921875, -0.01300811767578125, -0.0004303455352783203, 0.07830810546875, 0.055419921875, -0.064697265625, 0.0114288330078125, -0.047271728515625, 0.01342010498046875, -0.0007991790771484375, -0.00539398193359375, -0.01409912109375, -0.011993408203125, -0.001590728759765625, 0.04345703125, -0.019195556640625, 0.0013170242309570312, -0.005664825439453125, 0.014434814453125, -0.024871826171875, 0.093017578125, -0.0141143798828125, -0.018829345703125, 0.045745849609375, -0.0189208984375, -0.0153350830078125, -0.01276397705078125, 0.0251312255859375, -0.022735595703125, 0.02301025390625, -0.033538818359375, -0.0277862548828125, 0.006923675537109375, -0.0083160400390625, -0.02056884765625, 0.0002849102020263672, -0.003597259521484375, 0.0003185272216796875, -0.0150299072265625, -0.001369476318359375, -0.032684326171875, 0.037322998046875, -0.01250457763671875, 0.0193939208984375, -0.02496337890625, -0.021881103515625, 0.0156402587890625, -0.01947021484375, -0.0167236328125, 0.041656494140625, -0.022247314453125, 0.0489501953125, 0.01043701171875, 0.003047943115234375, 0.03338623046875, 0.058563232421875, -0.01326751708984375, 0.0298614501953125, 0.042327880859375, 0.004573822021484375, -0.0018138885498046875, -0.009002685546875, -0.0056915283203125, 0.031402587890625, 0.01329803466796875, -0.01776123046875, -0.0013561248779296875, -0.01727294921875, -0.0058746337890625, 0.0302276611328125, 0.032989501953125, 0.03692626953125, -0.059906005859375, 0.0156402587890625, -0.006626129150390625, -0.00795745849609375, 0.0675048828125, 0.027618408203125, -0.01360321044921875, -0.0439453125, -0.004863739013671875, 0.00033736228942871094, 0.0056915283203125, 0.007709503173828125, 0.007801055908203125, -0.026580810546875, -0.023834228515625, 0.0308380126953125, 0.0220947265625, -0.0266265869140625, 0.0418701171875, 0.006011962890625, 0.01200103759765625, 0.0086212158203125, 0.0014371871948242188, -0.03192138671875, -0.049957275390625, -0.044952392578125, -0.03955078125, -0.01806640625, -0.022735595703125, 0.026458740234375, 0.030792236328125, 0.04351806640625, 0.043060302734375, 0.01131439208984375, -0.016357421875, 0.00676727294921875, 0.01070404052734375, 0.0709228515625, 0.01424407958984375, -0.0216827392578125, 0.04473876953125, -0.033447265625, -0.01348876953125, -0.0248260498046875, 0.07269287109375, -0.0191497802734375, -0.0279693603515625, 0.075927734375, -0.04327392578125, -0.00730133056640625, 0.0098114013671875, 0.01366424560546875, -0.0201873779296875, -0.0141448974609375, 0.0000017881393432617188, -0.006839752197265625, 0.0131378173828125, -0.03106689453125, -0.01458740234375, 0.006229400634765625, -0.057525634765625, -0.039642333984375, 0.04791259765625, 0.0297698974609375, 0.0168914794921875, 0.010894775390625, 0.02178955078125, -0.02349853515625, 0.003551483154296875, -0.02581787109375, 0.0113525390625, 0.012939453125, 0.0019855499267578125, -0.037750244140625, -0.00835418701171875, -0.01198577880859375, 0.0313720703125, -0.0025177001953125, 0.0007867813110351562, -0.0004546642303466797, 0.0017566680908203125, 0.02362060546875, 0.00919342041015625, -0.01206207275390625, 0.0330810546875, 0.001331329345703125, 0.016387939453125, 0.04327392578125, -0.032562255859375, 0.034881591796875, -0.0270233154296875, 0.0101776123046875, 0.021514892578125, -0.00567626953125, 0.00878143310546875, 0.017974853515625, -0.018341064453125, 0.01088714599609375, -0.0116729736328125, -0.0195465087890625, -0.0298614501953125, -0.0095367431640625, 0.044677734375, 0.01373291015625, -0.07232666015625, -0.08319091796875, -0.01206207275390625, 0.01517486572265625, -0.0005965232849121094, 0.038604736328125, 0.033721923828125, 0.007381439208984375, 0.053924560546875, 0.023406982421875, 0.019805908203125, 0.0277862548828125, -0.0067901611328125, 0.06292724609375, 0.02392578125, 0.01226806640625, -0.06121826171875, 0.04205322265625, 0.062744140625, 0.08428955078125, -0.07122802734375, 0.005817413330078125, 0.022705078125, 0.037353515625, -0.00930023193359375, -0.0309906005859375, 0.01153564453125, -0.025115966796875, 0.001064300537109375, -0.041961669921875, 0.0130615234375, 0.04168701171875, 0.037841796875, 0.01366424560546875, -0.0158233642578125, -0.06549072265625, -0.01558685302734375, -0.017364501953125, -0.00923919677734375, -0.0034503936767578125, 0.037811279296875, 0.0311431884765625, 0.01468658447265625, -0.043670654296875, -0.0217742919921875, 0.016510009765625, -0.0273895263671875, 0.019683837890625, -0.036865234375, 0.00971221923828125, -0.007213592529296875, 0.03472900390625, 0.009765625, -0.0243682861328125, 0.01557159423828125, 0.00731658935546875, 0.048980712890625, 0.0168914794921875, -0.01861572265625, 0.049072265625, -0.0013141632080078125, 0.01102447509765625, -0.059844970703125, 0.037811279296875, 0.0050506591796875, 0.0125579833984375, -0.01317596435546875, 0.0032978057861328125, 0.04595947265625, -0.055145263671875, 0.0684814453125, -0.016693115234375, -0.0168304443359375, 0.0012483596801757812, -0.01477813720703125, 0.03778076171875, -0.025421142578125, -0.0222320556640625, 0.01910400390625, -0.0159759521484375, -0.048187255859375, -0.00705718994140625, 0.01439666748046875, -0.016693115234375, 0.048828125, 0.01983642578125, -0.053863525390625, -0.0297393798828125, 0.06414794921875, 0.033538818359375, -0.054107666015625, -0.01032257080078125, -0.0311431884765625, -0.044677734375, -0.03076171875, -0.016754150390625, 0.048583984375, 0.0303497314453125, 0.017120361328125, 0.0140380859375, 0.02490234375, 0.0252532958984375, 0.006374359130859375, -0.00957489013671875, 0.01537322998046875, -0.0034313201904296875, -0.01494598388671875, 0.0193023681640625, -0.0173492431640625, -0.016143798828125, 0.0089111328125, 0.03204345703125, -0.01012420654296875, 0.0216522216796875, -0.039215087890625, 0.0179595947265625, -0.0037441253662109375, 0.0611572265625, -0.0250396728515625, -0.0284271240234375, -0.01204681396484375, 0.0025157928466796875, 0.0063629150390625, -0.00792694091796875, 0.006694793701171875, 0.0299530029296875, 0.03033447265625, -0.027435302734375, 0.0304718017578125, -0.05517578125, 0.04290771484375, 0.0258026123046875, 0.0252532958984375, 0.0269927978515625, -0.0290374755859375, -0.0340576171875, 0.0154876708984375, 0.0003619194030761719, -0.02734375, -0.01013946533203125, -0.02398681640625, -0.03546142578125, 0.04705810546875, 0.0277252197265625, -0.0263214111328125, 0.025390625, 0.0012073516845703125, -0.0244140625, 0.0128021240234375, 0.002674102783203125, -0.020904541015625, -0.037078857421875, 0.0147247314453125, 0.019012451171875, 0.005229949951171875, -0.0123748779296875, -0.046417236328125, -0.06561279296875, 0.007389068603515625, -0.0187835693359375, 0.00699615478515625, -0.06536865234375, 0.0225677490234375, 0.0160064697265625, -0.03814697265625, 0.048095703125, -0.0213470458984375, 0.0234527587890625, -0.01485443115234375, -0.023651123046875, -0.00714111328125, 0.05450439453125, -0.00728607177734375, 0.0303802490234375, 0.05029296875, -0.01959228515625, -0.014312744140625, 0.0416259765625, 0.0244903564453125, 0.07879638671875, -0.0103759765625, -0.0225372314453125, 0.0241241455078125, 0.006443023681640625, -0.042144775390625, 0.0031833648681640625, 0.012237548828125, 0.0204925537109375, 0.0022907257080078125, 0.017364501953125, -0.0259857177734375, -0.01462554931640625, -0.04583740234375, -0.062469482421875, 0.04656982421875, 0.01178741455078125, -0.038970947265625, 0.0054168701171875, -0.011932373046875, -0.01313018798828125, 0.0101318359375, 0.010162353515625, -0.0293731689453125, -0.0227508544921875, 0.0115966796875, -0.0023365020751953125, 0.032684326171875, 0.0225372314453125, -0.01421356201171875, -0.01255035400390625, -0.00707244873046875, -0.018707275390625, -0.0189208984375, 0.028106689453125, -0.0237884521484375, 0.03753662109375, 0.035369873046875, -0.032196044921875, -0.0069732666015625, -0.0029926300048828125, -0.052947998046875, -0.008880615234375, -0.0657958984375, -0.035186767578125, -0.000056743621826171875, 0.0946044921875, 0.0286407470703125, 0.017822265625, -0.051300048828125, -0.06097412109375, 0.0275115966796875, 0.035186767578125, 0.001354217529296875, 0.008636474609375, -0.045501708984375, -0.01200103759765625, -0.040863037109375, 0.0032806396484375, 0.00888824462890625, -0.04541015625, -0.0071258544921875, -0.00853729248046875, -0.01546478271484375, 0.00324249267578125, -0.01041412353515625, -0.0191650390625, 0.04132080078125, -0.021881103515625, 0.00409698486328125, -0.0216522216796875, 0.0279388427734375, 0.0276336669921875, -0.01494598388671875, -0.0016155242919921875, 0.01007080078125, -0.01103973388671875, -0.0016202926635742188, 0.0199432373046875, -0.006755828857421875, 0.01654052734375, 0.0088958740234375, -0.0015659332275390625, 0.013641357421875, 0.0136871337890625, 0.03759765625, -0.050323486328125, 0.049896240234375, 0.02911376953125, -0.023834228515625, -0.0304718017578125, 0.07330322265625, -0.01288604736328125, 0.0274505615234375, -0.0557861328125, 0.0154571533203125, -0.0234375, -0.01971435546875, 0.01544952392578125, 0.0576171875, 0.027374267578125, 0.037200927734375, -0.0046234130859375, -0.018341064453125, 0.03729248046875, -0.0277099609375 ]
6c05214a8318b77709436d517bb9cdfc4dbcbfa6
Wordpress Stackexchange Q: Change Wordpress.org hosted plugin readme.txt is it possible to change the readme.txt of a plugin that is hosted at http://wordpress.org/extend/plugins/plugin-name without tagging a new version? I would like wordpress.org to show the new readme.txt. I have added a link to the plugin documentation but I do not want to force the users of updating their version because of this change. A: Yes, just change the readme in the tagged directory that is marked as stable.
Q: Change Wordpress.org hosted plugin readme.txt is it possible to change the readme.txt of a plugin that is hosted at http://wordpress.org/extend/plugins/plugin-name without tagging a new version? I would like wordpress.org to show the new readme.txt. I have added a link to the plugin documentation but I do not want to force the users of updating their version because of this change. A: Yes, just change the readme in the tagged directory that is marked as stable. A: Afaik: No. We're all suffering from the wp.org plugin repo limitations... Edit: This answer is plain wrong.
wordpress
{ "language": "en", "length": 94, "provenance": "stackexchange_00019.jsonl.gz:414705", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34024" }
[ 0.0146942138671875, -0.017303466796875, 0.0269927978515625, -0.0111541748046875, -0.038055419921875, -0.00800323486328125, -0.007198333740234375, -0.0234527587890625, -0.017242431640625, 0.006549835205078125, -0.01104736328125, 0.010955810546875, -0.0128173828125, -0.0035381317138671875, 0.0032329559326171875, -0.0322265625, 0.0169525146484375, 0.035400390625, 0.05224609375, -0.0159454345703125, 0.02093505859375, 0.0028018951416015625, 0.014862060546875, 0.04541015625, 0.001201629638671875, -0.0302581787109375, 0.136474609375, -0.03533935546875, 0.01366424560546875, -0.0250396728515625, 0.0301513671875, -0.00957489013671875, 0.01470184326171875, 0.04571533203125, -0.056060791015625, -0.0293121337890625, 0.019866943359375, -0.006805419921875, -0.0282440185546875, 0.058929443359375, 0.03643798828125, -0.009246826171875, -0.00878143310546875, 0.004055023193359375, 0.01018524169921875, -0.050048828125, 0.030487060546875, -0.038360595703125, 0.0234375, -0.00820159912109375, 0.0042266845703125, 0.0300140380859375, 0.00881195068359375, -0.00905609130859375, -0.013458251953125, 0.0066680908203125, -0.00438690185546875, 0.03594970703125, 0.0197296142578125, -0.04949951171875, -0.027008056640625, 0.0288848876953125, 0.027587890625, 0.0528564453125, 0.00025653839111328125, -0.00732421875, -0.00791168212890625, 0.0156707763671875, -0.027435302734375, 0.01119232177734375, 0.045013427734375, -0.03350830078125, 0.03277587890625, 0.01108551025390625, -0.026519775390625, -0.0210723876953125, -0.013153076171875, -0.01708984375, 0.043731689453125, -0.0210723876953125, 0.0192108154296875, -0.012359619140625, 0.0050048828125, -0.023773193359375, 0.01200103759765625, 0.012420654296875, -0.0020198822021484375, -0.01515960693359375, -0.029571533203125, 0.0248565673828125, -0.03173828125, 0.0228271484375, -0.018096923828125, 0.0210723876953125, -0.01495361328125, 0.02593994140625, -0.0196685791015625, 0.0300140380859375, -0.02423095703125, 0.0193328857421875, -0.013397216796875, -0.00656890869140625, -0.0018939971923828125, -0.0206298828125, -0.018768310546875, 0.0253753662109375, 0.0186309814453125, 0.0279083251953125, 0.0221099853515625, 0.02239990234375, -0.01204681396484375, 0.00690460205078125, -0.02008056640625, -0.038818359375, 0.006725311279296875, 0.014434814453125, -0.046722412109375, 0.06890869140625, 0.006801605224609375, 0.047210693359375, -0.00833892822265625, 0.028564453125, 0.007843017578125, 0.004909515380859375, -0.021270751953125, -0.01235198974609375, 0.0260162353515625, -0.051849365234375, -0.015960693359375, -0.0086517333984375, 0.0005002021789550781, -0.0027790069580078125, 0.01605224609375, 0.056427001953125, 0.0018939971923828125, 0.002643585205078125, 0.005126953125, 0.01910400390625, -0.0200958251953125, 0.023101806640625, -0.037445068359375, -0.041259765625, 0.03057861328125, -0.046630859375, 0.01690673828125, 0.0048675537109375, 0.01470947265625, 0.033843994140625, -0.0115203857421875, -0.00537109375, 0.044036865234375, -0.03216552734375, 0.047119140625, -0.002925872802734375, -0.004024505615234375, -0.0633544921875, 0.022857666015625, -0.04998779296875, 0.02801513671875, -0.06365966796875, -0.01187896728515625, -0.03857421875, 0.0032806396484375, 0.012359619140625, -0.01152801513671875, 0.066650390625, -0.01132965087890625, 0.012420654296875, 0.01401519775390625, 0.04931640625, -0.002658843994140625, -0.0009050369262695312, 0.0189971923828125, 0.0218963623046875, 0.004520416259765625, 0.0211944580078125, -0.0142364501953125, 0.0218963623046875, 0.024322509765625, 0.004253387451171875, 0.0013246536254882812, -0.033233642578125, 0.06829833984375, -0.0109405517578125, -0.0333251953125, -0.002712249755859375, -0.0239105224609375, 0.01605224609375, 0.0321044921875, -0.00917816162109375, 0.01250457763671875, -0.016143798828125, -0.0323486328125, -0.00675201416015625, -0.0124053955078125, 0.0277862548828125, 0.0164947509765625, 0.03326416015625, 0.01220703125, -0.042633056640625, -0.036956787109375, -0.00392913818359375, -0.01090240478515625, 0.004016876220703125, -0.01276397705078125, -0.0128021240234375, -0.005809783935546875, 0.037200927734375, 0.0369873046875, 0.035003662109375, -0.019378662109375, 0.011749267578125, 0.0078887939453125, -0.036407470703125, -0.038818359375, 0.0101165771484375, -0.0138092041015625, 0.0120391845703125, 0.0214080810546875, 0.01050567626953125, 0.0178070068359375, 0.02435302734375, 0.01291656494140625, 0.0001767873764038086, -0.02276611328125, -0.0215606689453125, -0.003246307373046875, -0.02178955078125, -0.0190582275390625, 0.0026569366455078125, 0.0131072998046875, -0.016448974609375, 0.031494140625, 0.0252685546875, 0.0163116455078125, -0.00986480712890625, 0.0211181640625, -0.10955810546875, 0.0235748291015625, 0.04315185546875, 0.02154541015625, 0.0093536376953125, -0.009002685546875, 0.01554107666015625, 0.02655029296875, 0.01139068603515625, 0.0394287109375, -0.0244140625, 0.0038013458251953125, 0.05059814453125, -0.0150909423828125, 0.0201416015625, 0.00873565673828125, -0.0103759765625, -0.0079498291015625, 0.03961181640625, 0.034881591796875, -0.0136260986328125, -0.037872314453125, 0.04339599609375, 0.0093536376953125, -0.022491455078125, -0.051177978515625, 0.01178741455078125, 0.0183258056640625, 0.00689697265625, 0.03228759765625, 0.037445068359375, -0.02154541015625, -0.0249786376953125, 0.01904296875, 0.066162109375, -0.004924774169921875, 0.0555419921875, -0.018310546875, -0.002574920654296875, -0.018524169921875, 0.0019426345825195312, -0.03155517578125, 0.017059326171875, -0.034210205078125, -0.03387451171875, -0.045318603515625, -0.0025615692138671875, 0.006961822509765625, -0.0418701171875, 0.0209503173828125, 0.019317626953125, -0.0145111083984375, 0.0005421638488769531, 0.049102783203125, -0.0170745849609375, -0.028167724609375, 0.00007432699203491211, -0.02459716796875, -0.0263824462890625, 0.0355224609375, -0.046966552734375, 0.032501220703125, -0.01238250732421875, 0.0396728515625, 0.06915283203125, 0.034423828125, -0.026092529296875, 0.01372528076171875, -0.042694091796875, 0.0116119384765625, -0.014007568359375, -0.006816864013671875, 0.04107666015625, -0.090087890625, 0.0259857177734375, 0.00798797607421875, 0.0084686279296875, -0.0123291015625, -0.040191650390625, -0.0123138427734375, -0.0049896240234375, -0.052093505859375, -0.01861572265625, -0.0079498291015625, -0.01776123046875, -0.002410888671875, -0.0050811767578125, -0.01666259765625, -0.0237274169921875, 0.0104522705078125, -0.0028324127197265625, -0.00492095947265625, -0.049041748046875, -0.038848876953125, -0.06878662109375, -0.06280517578125, -0.034088134765625, -0.0035800933837890625, -0.0178985595703125, 0.005596160888671875, 0.01480865478515625, -0.005977630615234375, -0.046112060546875, -0.023284912109375, 0.055908203125, 0.0112152099609375, -0.0152130126953125, -0.002170562744140625, -0.01161956787109375, 0.00579833984375, 0.01091766357421875, 0.072265625, 0.037078857421875, -0.037567138671875, -0.0034084320068359375, -0.00653839111328125, 0.0004057884216308594, 0.005115509033203125, -0.009429931640625, -0.0002892017364501953, -0.0230865478515625, -0.0252838134765625, -0.06781005859375, -0.0024547576904296875, 0.0131683349609375, -0.0158233642578125, 0.005035400390625, 0.0007238388061523438, -0.0146636962890625, -0.0120697021484375, 0.0247344970703125, -0.001522064208984375, 0.038360595703125, 0.06353759765625, -0.02703857421875, 0.0295867919921875, -0.0362548828125, -0.060028076171875, -0.058837890625, 0.022216796875, -0.016632080078125, -0.01715087890625, -0.0123291015625, 0.00214385986328125, -0.0282440185546875, 0.0083770751953125, -0.07098388671875, -0.04339599609375, 0.0254974365234375, -0.07171630859375, 0.00577545166015625, -0.051055908203125, -0.01450347900390625, -0.00201416015625, 0.094482421875, 0.0108489990234375, -0.021209716796875, -0.0258941650390625, -0.01184844970703125, -0.015289306640625, 0.01059722900390625, -0.02886962890625, -0.0052337646484375, -0.048095703125, 0.01361846923828125, -0.0255126953125, -0.0003154277801513672, -0.00036144256591796875, 0.0307464599609375, 0.0122222900390625, -0.032257080078125, 0.01251220703125, -0.00511932373046875, 0.01343536376953125, -0.0184326171875, 0.01554107666015625, -0.032958984375, -0.0032558441162109375, -0.0228271484375, -0.0855712890625, -0.013702392578125, -0.05352783203125, 0.08612060546875, 0.03326416015625, -0.0205841064453125, -0.006595611572265625, 0.059173583984375, -0.01009368896484375, 0.04193115234375, -0.01175689697265625, -0.01355743408203125, -0.01515960693359375, 0.04901123046875, 0.0256500244140625, 0.0002263784408569336, -0.0119476318359375, -0.0037479400634765625, -0.0499267578125, 0.0021533966064453125, 0.013580322265625, -0.03070068359375, 0.07275390625, -0.043365478515625, -0.0631103515625, -0.05487060546875, -0.0245819091796875, -0.0005612373352050781, -0.0107421875, -0.0014820098876953125, -0.057525634765625, -0.0244140625, 0.04034423828125, 0.0017251968383789062, 0.014923095703125, 0.021270751953125, 0.08575439453125, 0.0012054443359375, -0.00862884521484375, -0.09149169921875, 0.03839111328125, 0.0247650146484375, 0.0269775390625, 0.0110321044921875, -0.029571533203125, -0.018096923828125, 0.040679931640625, -0.007663726806640625, 0.0143280029296875, 0.004047393798828125, 0.001247406005859375, 0.023529052734375, -0.0104217529296875, 0.0168914794921875, 0.04095458984375, -0.0188751220703125, 0.032440185546875, -0.0204315185546875, 0.0225067138671875, -0.029693603515625, -0.016845703125, -0.0230865478515625, 0.0290985107421875, 0.021453857421875, -0.0804443359375, 0.03448486328125, 0.02435302734375, -0.007476806640625, 0.01273345947265625, -0.00972747802734375, 0.0267791748046875, -0.017303466796875, -0.0025081634521484375, -0.01544189453125, -0.030426025390625, -0.0011081695556640625, 0.007762908935546875, 0.004070281982421875, -0.007762908935546875, -0.00921630859375, -0.02227783203125, 0.07666015625, 0.0049285888671875, -0.0165557861328125, -0.0140228271484375, -0.01471710205078125, 0.00241851806640625, 0.0119171142578125, 0.043182373046875, 0.02239990234375, 0.0218658447265625, -0.004810333251953125, -0.0107574462890625, 0.0288848876953125, 0.01934814453125, -0.0280303955078125, -0.011199951171875, -0.007671356201171875, -0.0250701904296875, 0.00804901123046875, 0.0292816162109375, -0.0028076171875, 0.017425537109375, -0.0158843994140625, 0.050323486328125, 0.030792236328125, -0.006977081298828125, 0.018157958984375, -0.0009927749633789062, 0.0146636962890625, -0.044219970703125, -0.0164794921875, -0.01093292236328125, -0.00911712646484375, -0.002010345458984375, 0.008270263671875, -0.0302581787109375, -0.007595062255859375, 0.042816162109375, -0.005016326904296875, 0.0042724609375, -0.01053619384765625, -0.030731201171875, -0.0222625732421875, -0.003658294677734375, 0.017120361328125, 0.021514892578125, -0.013336181640625, 0.019683837890625, -0.0679931640625, -0.009429931640625, -0.04632568359375, -0.035552978515625, -0.048187255859375, -0.0086822509765625, -0.004367828369140625, 0.0258026123046875, 0.0092010498046875, -0.040069580078125, -0.0435791015625, -0.040008544921875, 0.0037784576416015625, 0.01279449462890625, 0.037017822265625, -0.002902984619140625, 0.04656982421875, -0.0172576904296875, -0.0305633544921875, -0.009368896484375, -0.007965087890625, 0.0679931640625, 0.04681396484375, -0.10076904296875, -0.006061553955078125, -0.0322265625, -0.0277557373046875, -0.035919189453125, -0.011138916015625, -0.0765380859375, 0.0289764404296875, 0.035125732421875, 0.0302734375, -0.003978729248046875, -0.036041259765625, -0.0085906982421875, 0.004150390625, 0.0170440673828125, 0.045501708984375, 0.0277252197265625, -0.0031604766845703125, 0.029754638671875, 0.024383544921875, 0.043365478515625, -0.0125274658203125, -0.035247802734375, -0.03668212890625, -0.016815185546875, -0.006175994873046875, 0.0191192626953125, -0.01038360595703125, 0.023223876953125, -0.01401519775390625, 0.0379638671875, 0.01290130615234375, -0.0172119140625, -0.0077056884765625, 0.00882720947265625, -0.03302001953125, 0.026092529296875, -0.00826263427734375, -0.00534820556640625, -0.04400634765625, -0.0208587646484375, -0.00620269775390625, 0.00820159912109375, 0.0207061767578125, -0.0288848876953125, -0.0003266334533691406, -0.0132293701171875, 0.0078582763671875, -0.0518798828125, 0.047882080078125, 0.048187255859375, -0.00988006591796875, 0.0274658203125, 0.02679443359375, 0.0159759521484375, 0.02532958984375, -0.01251220703125, 0.0293731689453125, -0.0250701904296875, 0.058624267578125, 0.0023136138916015625, 0.003429412841796875, 0.0755615234375, -0.030303955078125, 0.025787353515625, -0.0214080810546875, 0.03533935546875, -0.0267333984375, 0.03851318359375, 0.01169586181640625, 0.0013189315795898438, 0.06732177734375, 0.0302734375, -0.034759521484375, -0.0257720947265625, -0.0007653236389160156, -0.053436279296875, -0.0091094970703125, -0.002552032470703125, 0.018280029296875, -0.004062652587890625, -0.0148773193359375, 0.027099609375, 0.044158935546875, -0.0151214599609375, 0.035400390625, 0.002811431884765625, 0.039825439453125, -0.003204345703125, 0.006420135498046875, 0.0192413330078125, -0.02301025390625, -0.04083251953125, 0.036376953125, 0.0030059814453125, -0.0268707275390625, -0.011444091796875, 0.01421356201171875, 0.0262298583984375, 0.028900146484375, 0.000881195068359375, -0.031463623046875, 0.0220184326171875, 0.004955291748046875, 0.0198822021484375, -0.05267333984375, -0.04058837890625, 0.0460205078125, -0.021026611328125, 0.007236480712890625, 0.02337646484375, -0.020965576171875, -0.0274200439453125, -0.0335693359375, 0.06903076171875, 0.0153350830078125, -0.036895751953125, 0.00250244140625, 0.0006957054138183594, -0.00563812255859375, 0.0205841064453125, 0.016082763671875, -0.0126800537109375, 0.0003056526184082031, 0.0138397216796875, -0.0296478271484375, 0.01451873779296875, 0.01467132568359375, -0.08251953125, 0.11944580078125, 0.033660888671875, 0.02490234375, 0.01395416259765625, 0.047332763671875, -0.05780029296875, 0.005100250244140625, 0.0033283233642578125, 0.0408935546875, -0.0224761962890625, 0.0516357421875, 0.039764404296875, 0.01200103759765625, 0.06488037109375, 0.0029277801513671875, 0.0113525390625, 0.0003845691680908203, -0.0270233154296875, -0.01214599609375, 0.01531982421875, 0.01505279541015625, 0.0021648406982421875, 0.04278564453125, 0.002460479736328125, 0.00959014892578125, -0.0174102783203125, -0.008758544921875, 0.032562255859375, -0.05609130859375, -0.036865234375, 0.0270538330078125, 0.0165557861328125, 0.0113983154296875, -0.017852783203125, -0.00583648681640625, 0.00695037841796875, -0.00896453857421875, -0.01338958740234375, 0.0288543701171875, 0.0209808349609375, 0.01316070556640625, 0.02801513671875, 0.01326751708984375, 0.0076446533203125, -0.015625, 0.039642333984375, 0.01401519775390625, 0.0119171142578125, 0.0203399658203125, 0.01812744140625, 0.042388916015625, -0.0333251953125, -0.003002166748046875, 0.00827789306640625, -0.0035839080810546875, 0.017059326171875, 0.02423095703125, 0.0263214111328125, -0.005702972412109375, -0.0008635520935058594, 0.0251617431640625, 0.0232391357421875, -0.03302001953125, -0.00897216796875, 0.01398468017578125, -0.00261688232421875, -0.0208740234375, -0.036285400390625, -0.031280517578125, -0.02630615234375, -0.006999969482421875, -0.0263671875, -0.01169586181640625, 0.0440673828125, -0.01033782958984375, 0.01355743408203125, 0.018524169921875, -0.006683349609375, 0.013763427734375, -0.040771484375, 0.030059814453125, 0.005413055419921875, 0.0273284912109375, 0.017822265625, 0.0259552001953125, 0.0228271484375, -0.00586700439453125, -0.03204345703125, 0.046844482421875, 0.0159912109375, 0.032440185546875, -0.052642822265625, -0.02667236328125, 0.06561279296875, 0.0426025390625, 0.042205810546875, 0.037811279296875, 0.046234130859375, 0.06842041015625, 0.013275146484375, 0.01263427734375, 0.07257080078125, 0.01080322265625, 0.036956787109375, -0.04351806640625, 0.045257568359375, 0.007297515869140625, -0.0133056640625, -0.004669189453125, 0.01294708251953125, 0.03411865234375, -0.0014171600341796875, 0.036376953125, -0.00800323486328125, -0.02520751953125, 0.032012939453125, -0.0428466796875, 0.07177734375, 0.01169586181640625, -0.049285888671875, -0.0228424072265625, -0.028289794921875, 0.0391845703125, 0.0113983154296875, 0.0230712890625, -0.001575469970703125, 0.05120849609375, 0.01068115234375, 0.036865234375, 0.035308837890625, -0.0772705078125, 0.03399658203125, 0.03271484375, 0.015472412109375, 0.046234130859375, -0.01373291015625, -0.0380859375, -0.017974853515625, 0.07403564453125, 0.0209503173828125, 0.0455322265625, -0.029296875, 0.0394287109375, -0.0295562744140625, -0.0118255615234375, -0.025421142578125, -0.033843994140625, 0.04486083984375, 0.01242828369140625, -0.0252685546875, -0.01139068603515625, -0.0202789306640625, 0.060791015625, 0.012939453125, -0.0148162841796875, 0.07867431640625, -0.035125732421875, -0.02203369140625, -0.039886474609375, 0.0229034423828125, -0.0080413818359375, -0.07208251953125, -0.0284881591796875, 0.039581298828125, -0.0078277587890625, 0.036163330078125, -0.0467529296875, 0.015350341796875, 0.0143890380859375, 0.0290679931640625, -0.0011768341064453125, 0.037567138671875, -0.0240478515625, 0.0266265869140625, -0.0139312744140625, -0.0258941650390625, 0.00359344482421875, -0.0230560302734375, 0.03411865234375, -0.0223388671875, 0.0703125, -0.006687164306640625, -0.0140838623046875, -0.0263519287109375, -0.046417236328125, 0.0113677978515625, -0.027313232421875, 0.0011777877807617188, -0.0390625, 0.0238037109375, -0.017303466796875, -0.025177001953125, -0.0382080078125, -0.06683349609375, 0.01007080078125, 0.00868988037109375, -0.0260467529296875, -0.04052734375, -0.02655029296875, 0.00295257568359375, 0.0305938720703125, 0.0017175674438476562, -0.054473876953125, 0.025665283203125, -0.0185089111328125, 0.04339599609375, -0.016204833984375, -0.07086181640625, 0.005123138427734375, -0.005619049072265625, -0.059814453125, -0.06658935546875, -0.06793212890625, 0.00952911376953125, -0.08087158203125, 0.02459716796875, 0.0242156982421875, -0.03363037109375, -0.001361846923828125, 0.0196380615234375, 0.031280517578125, 0.0634765625, -0.0120697021484375, 0.0211334228515625, 0.0241851806640625, -0.0029506683349609375, -0.05792236328125, -0.0916748046875, 0.0234832763671875, -0.087890625, -0.03253173828125, -0.0243072509765625, -0.018341064453125, -0.0265655517578125, -0.0556640625, -0.052825927734375, 0.0214080810546875, 0.0020503997802734375, -0.0299072265625, -0.0577392578125, -0.01131439208984375, -0.023284912109375, 0.069580078125, 0.004901885986328125, -0.0312042236328125, -0.01549530029296875, 0.040618896484375, 0.00586700439453125, 0.064453125, -0.0209197998046875, -0.015594482421875, 0.038421630859375, 0.0498046875, 0.0689697265625, 0.00882720947265625, 0.004535675048828125, 0.004772186279296875, 0.0013303756713867188, 0.02880859375, -0.03985595703125, -0.042724609375, -0.024871826171875, 0.00635528564453125, -0.020172119140625, -0.01043701171875, -0.004871368408203125, 0.01065826416015625, 0.04400634765625, 0.043914794921875, -0.003543853759765625, -0.0292816162109375, -0.00685882568359375, -0.029449462890625, -0.0228424072265625, -0.00876617431640625, 0.015899658203125, -0.06610107421875, -0.00426483154296875, 0.024444580078125, -0.0285186767578125, -0.02276611328125, 0.039825439453125, -0.0634765625, 0.0195465087890625, 0.0161590576171875, 0.0092620849609375, -0.051116943359375, -0.052978515625, 0.07794189453125, -0.036834716796875, 0.01139068603515625, 0.006938934326171875, 0.032470703125, 0.046417236328125, -0.0038967132568359375, 0.0296173095703125, 0.01175689697265625, -0.017059326171875, 0.01904296875, 0.037841796875, 0.039947509765625, -0.019622802734375, -0.029144287109375, -0.023223876953125, 0.0186309814453125, 0.01036834716796875, 0.0016946792602539062, -0.013824462890625, 0.0225067138671875, 0.013214111328125, 0.0726318359375, 0.0083160400390625, -0.0855712890625, -0.0250091552734375, 0.03240966796875, -0.044647216796875, -0.0166473388671875, -0.035064697265625, -0.04693603515625, 0.01885986328125, 0.00801849365234375, 0.0244903564453125, 0.00257110595703125, 0.00037097930908203125, -0.059783935546875, -0.015625, 0.000682830810546875 ]
f7db1d8f0c3dced67a1b73977afa3829787f24e6
Wordpress Stackexchange Q: Multiple wp_localize_script Is it possible to localize a script more than once? I want to send two separate arrays of params. Or is it only possible to localize a script once, in which case, I'll have to combine the arrays? I'd like to do something like this: wp_localize_script('my-handle', 'my_object1', $data1 ); wp_localize_script('my-handle', 'my_object2', $data2 ); A: This will be possible in WP 3.3: http://core.trac.wordpress.org/changeset/18480
Q: Multiple wp_localize_script Is it possible to localize a script more than once? I want to send two separate arrays of params. Or is it only possible to localize a script once, in which case, I'll have to combine the arrays? I'd like to do something like this: wp_localize_script('my-handle', 'my_object1', $data1 ); wp_localize_script('my-handle', 'my_object2', $data2 ); A: This will be possible in WP 3.3: http://core.trac.wordpress.org/changeset/18480
wordpress
{ "language": "en", "length": 65, "provenance": "stackexchange_00019.jsonl.gz:414712", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34040" }
[ 0.0239105224609375, -0.0250701904296875, 0.01203155517578125, -0.0413818359375, -0.02264404296875, -0.01360321044921875, -0.019866943359375, -0.01470947265625, -0.03326416015625, 0.03399658203125, -0.0130767822265625, 0.048004150390625, -0.04150390625, 0.0036983489990234375, -0.008697509765625, -0.036651611328125, 0.054901123046875, -0.039459228515625, -0.003139495849609375, -0.01224517822265625, 0.0009102821350097656, 0.0235443115234375, 0.0121917724609375, 0.105712890625, 0.00323486328125, -0.0260162353515625, 0.0182952880859375, -0.007190704345703125, -0.0205078125, -0.01141357421875, 0.01009368896484375, 0.023284912109375, 0.0015649795532226562, 0.0394287109375, -0.032012939453125, -0.0021209716796875, 0.022796630859375, 0.0172119140625, 0.01009368896484375, 0.033599853515625, 0.015777587890625, -0.0266876220703125, -0.0018901824951171875, 0.0377197265625, -0.01131439208984375, -0.0210418701171875, 0.0308380126953125, -0.011260986328125, 0.02801513671875, 0.0484619140625, -0.007965087890625, 0.0053253173828125, -0.0171051025390625, 0.00849151611328125, 0.00783538818359375, -0.004810333251953125, 0.0084381103515625, 0.0167694091796875, 0.043304443359375, 0.023529052734375, -0.06072998046875, 0.0023097991943359375, 0.0160675048828125, -0.0670166015625, -0.033843994140625, 0.033233642578125, -0.042694091796875, -0.00917816162109375, -0.0304412841796875, -0.03631591796875, 0.004116058349609375, -0.046173095703125, 0.004344940185546875, -0.033905029296875, -0.00605010986328125, 0.03173828125, -0.029937744140625, -0.0045928955078125, 0.0244903564453125, -0.00812530517578125, -0.023345947265625, -0.040252685546875, -0.0263214111328125, -0.021820068359375, -0.0008826255798339844, 0.001979827880859375, -0.00653076171875, 0.0012464523315429688, -0.03607177734375, -0.042633056640625, -0.03680419921875, -0.081298828125, -0.068115234375, 0.05126953125, 0.01448822021484375, -0.007602691650390625, 0.0299224853515625, 0.0123443603515625, -0.022613525390625, -0.004428863525390625, -0.00004118680953979492, -0.033416748046875, 0.008544921875, -0.0081787109375, 0.0170745849609375, 0.0094451904296875, 0.0250244140625, 0.033599853515625, 0.045806884765625, 0.013092041015625, -0.0119171142578125, 0.08441162109375, 0.0252838134765625, -0.00794219970703125, -0.013397216796875, -0.0214691162109375, -0.0197296142578125, 0.03125, -0.0026340484619140625, -0.019287109375, -0.01102447509765625, 0.0298309326171875, -0.0167388916015625, 0.0165252685546875, 0.003894805908203125, -0.005367279052734375, 0.0105438232421875, -0.0018177032470703125, -0.00563812255859375, 0.03277587890625, -0.033172607421875, -0.00890350341796875, 0.051788330078125, 0.0233154296875, -0.004230499267578125, -0.02813720703125, 0.04632568359375, -0.0027561187744140625, 0.01093292236328125, 0.007537841796875, -0.0038471221923828125, -0.015106201171875, -0.0016326904296875, 0.005825042724609375, -0.0308990478515625, 0.0059661865234375, 0.023193359375, 0.01177215576171875, -0.0167694091796875, -0.04248046875, 0.01415252685546875, -0.0019474029541015625, 0.0060272216796875, 0.0360107421875, -0.0100555419921875, -0.0124664306640625, 0.038482666015625, -0.035675048828125, 0.01346588134765625, -0.042022705078125, -0.0137176513671875, -0.0279083251953125, -0.02325439453125, -0.038482666015625, -0.04901123046875, 0.01261138916015625, 0.0245361328125, -0.006198883056640625, 0.01139068603515625, 0.00255584716796875, -0.0263214111328125, -0.0003364086151123047, -0.0193328857421875, -0.022552490234375, -0.0159912109375, 0.01335906982421875, -0.02972412109375, 0.0005297660827636719, 0.028076171875, -0.026336669921875, -0.01383209228515625, -0.034515380859375, 0.02392578125, 0.0208892822265625, -0.039306640625, -0.00899505615234375, 0.021942138671875, 0.055938720703125, 0.0301971435546875, 0.01824951171875, 0.0274200439453125, -0.0218505859375, -0.032806396484375, 0.0380859375, -0.052703857421875, -0.02008056640625, 0.01448822021484375, 0.04541015625, -0.025238037109375, -0.020660400390625, 0.032440185546875, -0.0254364013671875, 0.04119873046875, 0.00701904296875, -0.01474761962890625, 0.016021728515625, -0.018463134765625, 0.0173797607421875, -0.0271453857421875, -0.01175689697265625, 0.0183563232421875, 0.0021457672119140625, -0.01171112060546875, -0.0083770751953125, -0.00962066650390625, 0.0153961181640625, -0.0149993896484375, 0.0528564453125, 0.009735107421875, 0.013092041015625, 0.0283355712890625, -0.0390625, 0.03399658203125, -0.005985260009765625, 0.0253448486328125, 0.0035858154296875, -0.0238800048828125, -0.018096923828125, 0.040191650390625, -0.0157318115234375, 0.01531982421875, 0.05072021484375, -0.0012369155883789062, 0.031646728515625, 0.0181121826171875, 0.005214691162109375, 0.06170654296875, -0.040374755859375, 0.0250244140625, 0.01116943359375, 0.043853759765625, 0.022735595703125, 0.0218658447265625, 0.03228759765625, -0.00830078125, -0.05548095703125, 0.0105743408203125, 0.0009703636169433594, 0.00446319580078125, 0.019256591796875, -0.038330078125, -0.0250091552734375, 0.021331787109375, -0.10882568359375, 0.00452423095703125, 0.0596923828125, -0.0501708984375, -0.06689453125, 0.0158538818359375, 0.022735595703125, 0.00047516822814941406, -0.0240936279296875, 0.007061004638671875, -0.01152801513671875, 0.0297088623046875, -0.019500732421875, 0.0024394989013671875, -0.00902557373046875, -0.0235443115234375, 0.01053619384765625, 0.0262603759765625, -0.053985595703125, 0.005580902099609375, 0.003631591796875, -0.034912109375, 0.00460052490234375, -0.0037841796875, 0.00846099853515625, -0.0150146484375, -0.0061798095703125, -0.00345611572265625, 0.037506103515625, -0.04437255859375, -0.027862548828125, 0.012359619140625, -0.005542755126953125, -0.039031982421875, -0.033905029296875, 0.021270751953125, -0.01371002197265625, 0.0048980712890625, 0.01183319091796875, -0.028289794921875, 0.033477783203125, 0.0243377685546875, -0.045745849609375, 0.02593994140625, -0.01206207275390625, 0.0159912109375, -0.0185394287109375, 0.020050048828125, 0.0457763671875, 0.01396942138671875, -0.0201416015625, -0.010498046875, 0.01065826416015625, 0.037078857421875, -0.02044677734375, -0.018829345703125, -0.035858154296875, -0.0279388427734375, -0.03680419921875, 0.01248931884765625, 0.056976318359375, -0.00921630859375, -0.037200927734375, 0.007175445556640625, 0.01117706298828125, -0.073974609375, -0.1083984375, 0.051055908203125, -0.0247802734375, 0.0154876708984375, 0.0016469955444335938, -0.01197052001953125, -0.0560302734375, 0.02679443359375, -0.0011386871337890625, -0.00046634674072265625, -0.0210723876953125, -0.00875091552734375, -0.024658203125, -0.029388427734375, 0.01097869873046875, 0.01161956787109375, -0.00946044921875, 0.007648468017578125, -0.0170440673828125, 0.0017032623291015625, -0.01255035400390625, 0.035675048828125, 0.025299072265625, -0.0017023086547851562, -0.0016422271728515625, -0.024688720703125, -0.0112152099609375, 0.03271484375, -0.0126190185546875, -0.0293426513671875, 0.01480865478515625, 0.0143585205078125, -0.0017642974853515625, 0.033843994140625, 0.0268707275390625, 0.05316162109375, -0.024169921875, -0.056610107421875, 0.0217742919921875, 0.0025234222412109375, -0.039581298828125, -0.01448822021484375, 0.019927978515625, -0.0250701904296875, -0.042266845703125, 0.0087127685546875, -0.028167724609375, -0.0202789306640625, 0.00919342041015625, 0.025482177734375, -0.0046844482421875, -0.015106201171875, 0.00807952880859375, 0.0156097412109375, 0.00507354736328125, 0.0110015869140625, -0.01445770263671875, 0.006122589111328125, -0.02581787109375, -0.0267791748046875, -0.03887939453125, 0.0015058517456054688, -0.021240234375, -0.019195556640625, -0.060150146484375, -0.0163421630859375, 0.04931640625, 0.00494384765625, 0.0197296142578125, -0.0150909423828125, -0.015106201171875, -0.0150146484375, 0.056304931640625, -0.031829833984375, -0.016632080078125, -0.017791748046875, 0.044647216796875, -0.0921630859375, -0.08587646484375, 0.0029201507568359375, 0.009979248046875, -0.02203369140625, -0.0016193389892578125, -0.022918701171875, -0.00940704345703125, -0.00765228271484375, 0.01312255859375, 0.015655517578125, -0.039306640625, 0.067138671875, -0.0587158203125, 0.0185089111328125, -0.0050506591796875, 0.020111083984375, -0.040802001953125, -0.045257568359375, -0.01461029052734375, -0.05462646484375, -0.004726409912109375, -0.0163116455078125, 0.053131103515625, 0.0222930908203125, -0.055419921875, -0.015899658203125, 0.024993896484375, -0.0266876220703125, 0.041046142578125, 0.0007252693176269531, 0.0180816650390625, 0.02313232421875, 0.016143798828125, 0.013671875, -0.01499176025390625, 0.0004832744598388672, -0.015777587890625, -0.033233642578125, 0.0124053955078125, -0.0389404296875, -0.008575439453125, -0.02178955078125, -0.0260467529296875, -0.0491943359375, -0.00506591796875, -0.004833221435546875, 0.001880645751953125, -0.009552001953125, 0.0169525146484375, 0.0007634162902832031, -0.05389404296875, 0.018280029296875, 0.03765869140625, -0.0007457733154296875, 0.0146484375, 0.030975341796875, 0.007434844970703125, -0.0308990478515625, -0.09197998046875, 0.000018596649169921875, -0.00894927978515625, 0.017120361328125, 0.0423583984375, 0.00102996826171875, 0.006244659423828125, 0.02001953125, -0.0179290771484375, -0.007274627685546875, 0.038787841796875, 0.031402587890625, 0.0227203369140625, -0.0193634033203125, 0.0195159912109375, 0.00998687744140625, -0.07745361328125, 0.0257415771484375, 0.00539398193359375, -0.0369873046875, -0.001476287841796875, 0.0479736328125, -0.0196075439453125, 0.007389068603515625, -0.036376953125, -0.08575439453125, 0.031280517578125, -0.037811279296875, 0.004047393798828125, 0.0119171142578125, -0.005451202392578125, 0.037445068359375, 0.02020263671875, 0.000888824462890625, 0.0511474609375, 0.050628662109375, -0.00015938282012939453, 0.0531005859375, -0.00762176513671875, -0.0192718505859375, -0.005313873291015625, 0.00860595703125, 0.010833740234375, -0.005023956298828125, -0.0004892349243164062, -0.05963134765625, 0.010406494140625, -0.0136871337890625, -0.0084381103515625, -0.0010251998901367188, -0.01531982421875, 0.0166015625, -0.00860595703125, 0.0247344970703125, 0.040313720703125, -0.00382232666015625, 0.0028591156005859375, -0.0004210472106933594, 0.0017328262329101562, -0.001155853271484375, -0.024505615234375, 0.0894775390625, -0.0285797119140625, 0.053009033203125, -0.017181396484375, 0.00611114501953125, 0.01324462890625, 0.019622802734375, 0.01087188720703125, -0.0003247261047363281, 0.0009908676147460938, 0.0262298583984375, 0.0216522216796875, -0.0176239013671875, 0.033721923828125, 0.05194091796875, 0.0295257568359375, 0.0194091796875, -0.018829345703125, -0.018218994140625, -0.0227813720703125, -0.033203125, 0.01329803466796875, 0.00640869140625, -0.03863525390625, 0.0034885406494140625, 0.0225372314453125, -0.0018863677978515625, 0.0188140869140625, 0.01277923583984375, -0.05047607421875, -0.0469970703125, -0.04779052734375, 0.018402099609375, -0.0207672119140625, -0.045379638671875, -0.03253173828125, -0.01220703125, 0.01317596435546875, -0.016357421875, -0.079345703125, -0.06158447265625, 0.02349853515625, 0.01076507568359375, -0.0006804466247558594, 0.01708984375, 0.0028438568115234375, -0.028564453125, 0.0100555419921875, 0.0032863616943359375, -0.006572723388671875, 0.04766845703125, -0.01299285888671875, -0.010498046875, -0.01617431640625, -0.06744384765625, -0.01806640625, -0.04229736328125, -0.08770751953125, -0.00982666015625, -0.01110076904296875, 0.004055023193359375, 0.0258026123046875, 0.012115478515625, 0.002208709716796875, 0.01168060302734375, 0.0032520294189453125, -0.0200042724609375, 0.019317626953125, -0.052764892578125, 0.05633544921875, 0.04150390625, -0.0232696533203125, -0.005374908447265625, 0.06451416015625, 0.045166015625, -0.00614166259765625, 0.0169219970703125, -0.058441162109375, -0.0080413818359375, -0.01548004150390625, -0.0223541259765625, 0.004390716552734375, 0.026458740234375, 0.0012903213500976562, 0.0282440185546875, -0.011474609375, 0.0132904052734375, -0.004421234130859375, -0.014434814453125, -0.03387451171875, -0.019500732421875, 0.054901123046875, -0.0249481201171875, -0.01153564453125, -0.0110931396484375, -0.00470733642578125, 0.0156707763671875, -0.0012826919555664062, -0.00563812255859375, 0.0116424560546875, -0.033538818359375, -0.00910186767578125, 0.01538848876953125, 0.03192138671875, 0.04351806640625, -0.01319122314453125, 0.03216552734375, 0.016937255859375, -0.0396728515625, 0.02410888671875, 0.0418701171875, -0.031341552734375, -0.05218505859375, 0.039459228515625, -0.054595947265625, 0.01654052734375, 0.01010894775390625, 0.02362060546875, 0.0670166015625, -0.05780029296875, 0.0272369384765625, 0.022796630859375, -0.015228271484375, -0.017791748046875, -0.0192718505859375, 0.0087127685546875, -0.027496337890625, 0.040557861328125, 0.036163330078125, -0.0183868408203125, 0.0166473388671875, 0.01499176025390625, -0.00135040283203125, -0.0211944580078125, -0.0248870849609375, 0.00881195068359375, -0.00885009765625, 0.0166778564453125, 0.0263214111328125, 0.02960205078125, -0.0308685302734375, -0.0015354156494140625, -0.008087158203125, -0.053375244140625, -0.057098388671875, -0.0213470458984375, -0.01090240478515625, 0.00011706352233886719, -0.0654296875, -0.0176849365234375, 0.0843505859375, 0.03216552734375, 0.00826263427734375, -0.053009033203125, 0.0189056396484375, 0.01548004150390625, -0.04302978515625, 0.0017557144165039062, 0.03863525390625, 0.045501708984375, -0.08453369140625, 0.029815673828125, -0.07733154296875, 0.0268402099609375, -0.00626373291015625, 0.005374908447265625, 0.02130126953125, 0.0025157928466796875, -0.0276641845703125, 0.0177459716796875, 0.02691650390625, 0.009521484375, -0.022613525390625, 0.02581787109375, -0.1075439453125, -0.115966796875, -0.00228118896484375, -0.1259765625, -0.005512237548828125, -0.03912353515625, -0.065185546875, 0.10748291015625, 0.01491546630859375, 0.056610107421875, 0.0256500244140625, 0.037200927734375, -0.003414154052734375, 0.01157379150390625, -0.01483917236328125, 0.04937744140625, 0.016998291015625, 0.027069091796875, 0.00983428955078125, 0.015594482421875, 0.041900634765625, 0.01259613037109375, 0.01346588134765625, -0.0054473876953125, 0.050140380859375, 0.01123809814453125, 0.016998291015625, 0.0335693359375, -0.0223388671875, -0.0209808349609375, 0.01153564453125, 0.01209259033203125, 0.00958251953125, -0.0247344970703125, 0.0032978057861328125, -0.00565338134765625, -0.01371002197265625, 0.0213470458984375, -0.01715087890625, -0.028106689453125, 0.003582000732421875, 0.01739501953125, -0.01971435546875, -0.01323699951171875, -0.0067291259765625, 0.03076171875, -0.00734710693359375, 0.015625, -0.04498291015625, 0.0860595703125, 0.03802490234375, -0.004711151123046875, 0.01311492919921875, -0.0176849365234375, -0.0167083740234375, 0.0413818359375, 0.015380859375, 0.01238250732421875, 0.040863037109375, -0.0082855224609375, 0.031585693359375, 0.01248931884765625, 0.032470703125, 0.018035888671875, 0.033538818359375, 0.0019550323486328125, 0.0035686492919921875, 0.022918701171875, 0.038970947265625, -0.0325927734375, -0.0264434814453125, 0.01508331298828125, 0.00258636474609375, -0.01468658447265625, -0.011566162109375, -0.0079193115234375, -0.0006074905395507812, 0.033843994140625, 0.0273895263671875, -0.0038928985595703125, 0.0167388916015625, -0.0119476318359375, 0.0276947021484375, 0.06707763671875, -0.025482177734375, 0.013458251953125, -0.059906005859375, 0.01442718505859375, 0.00553131103515625, 0.1146240234375, 0.0306854248046875, 0.08563232421875, -0.05902099609375, -0.07110595703125, -0.0002524852752685547, 0.0194549560546875, 0.01136016845703125, -0.02508544921875, -0.0138397216796875, -0.039459228515625, 0.01178741455078125, 0.0279388427734375, 0.0255126953125, -0.001949310302734375, 0.044525146484375, 0.0635986328125, -0.0293731689453125, -0.005901336669921875, 0.0771484375, -0.005985260009765625, 0.017120361328125, -0.045318603515625, -0.006168365478515625, -0.01959228515625, -0.016571044921875, 0.003963470458984375, 0.004878997802734375, -0.00635528564453125, 0.0223236083984375, -0.0091094970703125, 0.02301025390625, -0.049163818359375, 0.01464080810546875, -0.0022830963134765625, 0.0802001953125, 0.03668212890625, -0.05096435546875, 0.00439453125, -0.06365966796875, -0.031646728515625, 0.032928466796875, 0.039947509765625, -0.00980377197265625, 0.035919189453125, 0.0819091796875, -0.0679931640625, 0.01419830322265625, 0.050323486328125, 0.028778076171875, -0.043426513671875, -0.00064849853515625, -0.010589599609375, -0.0830078125, -0.054473876953125, -0.03411865234375, 0.035614013671875, 0.0013895034790039062, -0.0152435302734375, 0.04241943359375, 0.025787353515625, 0.002593994140625, 0.025482177734375, -0.004913330078125, 0.0116729736328125, -0.0291748046875, 0.037200927734375, 0.04388427734375, -0.02105712890625, -0.00479888916015625, 0.0229339599609375, 0.01122283935546875, -0.034149169921875, 0.0321044921875, -0.0286865234375, -0.0076904296875, -0.013458251953125, 0.050537109375, -0.03302001953125, -0.051055908203125, -0.058502197265625, 0.0121307373046875, 0.0263671875, 0.03509521484375, -0.023773193359375, -0.01409912109375, 0.008514404296875, -0.04779052734375, 0.028411865234375, -0.0136871337890625, 0.0033435821533203125, 0.00801849365234375, 0.047698974609375, 0.008758544921875, 0.005298614501953125, -0.0206451416015625, 0.005908966064453125, 0.0159912109375, 0.0181732177734375, -0.011260986328125, 0.06549072265625, -0.0123748779296875, 0.0087432861328125, 0.0088043212890625, -0.009796142578125, -0.004474639892578125, 0.032989501953125, -0.0223236083984375, -0.042449951171875, -0.022064208984375, -0.0191650390625, -0.046600341796875, 0.0259857177734375, 0.03076171875, 0.021881103515625, 0.003261566162109375, -0.0155181884765625, -0.00878143310546875, 0.01374053955078125, -0.023040771484375, 0.0038166046142578125, -0.01177215576171875, -0.042236328125, 0.005420684814453125, -0.02978515625, -0.0311737060546875, -0.00024628639221191406, 0.005489349365234375, -0.03369140625, -0.032928466796875, -0.04071044921875, 0.015350341796875, -0.018218994140625, 0.00843048095703125, 0.01380157470703125, -0.0053253173828125, 0.0017719268798828125, 0.07440185546875, 0.02545166015625, 0.12091064453125, -0.01399993896484375, -0.025634765625, 0.02850341796875, 0.0018949508666992188, -0.0217742919921875, -0.061492919921875, 0.0136566162109375, -0.0645751953125, 0.007732391357421875, -0.021575927734375, 0.00984954833984375, 0.0013151168823242188, -0.051239013671875, -0.08380126953125, 0.07373046875, -0.03411865234375, -0.037811279296875, -0.067138671875, 0.0010242462158203125, 0.021148681640625, -0.0242462158203125, -0.0310211181640625, -0.0169525146484375, -0.054412841796875, 0.0054168701171875, -0.004222869873046875, 0.0278472900390625, -0.00006592273712158203, -0.0011529922485351562, 0.012664794921875, 0.03570556640625, 0.05010986328125, -0.0296630859375, 0.02069091796875, 0.0071258544921875, 0.0084228515625, 0.047607421875, -0.02825927734375, -0.01180267333984375, -0.03692626953125, -0.033905029296875, -0.0190887451171875, -0.0264739990234375, -0.0269012451171875, -0.00463104248046875, 0.07965087890625, 0.034912109375, 0.0279388427734375, -0.032867431640625, 0.0341796875, -0.0086822509765625, -0.0110321044921875, 0.0095367431640625, 0.0085296630859375, -0.0274200439453125, 0.0021457672119140625, 0.0288848876953125, -0.005817413330078125, 0.0147552490234375, 0.0031986236572265625, -0.0057830810546875, -0.0203094482421875, 0.032012939453125, -0.002887725830078125, -0.037933349609375, -0.0210113525390625, 0.050537109375, -0.022735595703125, 0.007610321044921875, 0.0122222900390625, 0.028167724609375, 0.032562255859375, 0.027374267578125, 0.0001475811004638672, 0.0039520263671875, 0.0027141571044921875, 0.00434112548828125, 0.0119476318359375, 0.01328277587890625, 0.0070953369140625, -0.0076751708984375, -0.01313018798828125, 0.029998779296875, 0.01531219482421875, 0.037017822265625, -0.0240020751953125, 0.0513916015625, 0.01104736328125, -0.044219970703125, -0.026336669921875, 0.0186767578125, -0.0124969482421875, 0.002040863037109375, -0.049774169921875, 0.033050537109375, -0.00015664100646972656, -0.021514892578125, 0.01485443115234375, 0.0135650634765625, 0.02252197265625, -0.031402587890625, 0.020751953125, 0.0377197265625, 0.0157470703125, 0.0136871337890625 ]
06dd4f89cec8feaf2a2015540b516bc0d621fc1b
Wordpress Stackexchange Q: Most Flawless Way To Transfer from Dev to Prod Possible Duplicate: Easily Move a WordPress Install from Development to Production? So I've been working with WordPress for a while now and I usually develop locally and then upload everything to my Prod server... however, I've experienced a lot of differing results, especially when using plugins. I usually export the database, but things like the location of the domain don't always seem to get changed even after changing them within the WP admin beforehand. What's the best way to move from Dev to Prod and keeping everything intact? Then, what's the best way to move your site from a subdirectory on the same domain? Please don't point me in the direction of the WP docs... it's the first place I looked. A: In my experience, I've used the Search and Replace plugin to re-reference all of the references to the old domain. Not the cleanest solution, but seems to work.
Q: Most Flawless Way To Transfer from Dev to Prod Possible Duplicate: Easily Move a WordPress Install from Development to Production? So I've been working with WordPress for a while now and I usually develop locally and then upload everything to my Prod server... however, I've experienced a lot of differing results, especially when using plugins. I usually export the database, but things like the location of the domain don't always seem to get changed even after changing them within the WP admin beforehand. What's the best way to move from Dev to Prod and keeping everything intact? Then, what's the best way to move your site from a subdirectory on the same domain? Please don't point me in the direction of the WP docs... it's the first place I looked. A: In my experience, I've used the Search and Replace plugin to re-reference all of the references to the old domain. Not the cleanest solution, but seems to work. A: I do the same dev-prod kind of deployment on a regular basis, so I developed some standard queries for it: * *Update the site url: UPDATE wp_options SET option_value = replace(option_value, '[DEV_URL]', '[PROD_URL]') WHERE option_name = 'home' OR option_name = 'siteurl' OR option_name = 'fileupload_url'; *Update the upload path: UPDATE wp_options SET option_value = '[SITE_ROOT_PATH]/wp-content/uploads' WHERE option_name = 'upload_path'; *Update the post guids: UPDATE wp_posts SET guid = replace(guid, '[DEV_URL]', '[PROD_URL]'); *Update urls in posts: UPDATE wp_posts SET post_content = replace(post_content, '[DEV_URL]', '[PROD_URL]'); Replace the bracketed variables with actual values eg. [DEV_URL] -> http://example-local-pc.com [PROD_URL] -> http://example-online-server.com [SITE_ROOT_PATH] -> /home/client/domains/example-online-server.com/html That typically takes care of any references to the dev environment. You should note, however, that: i) Many plugins also store absolute urls either in wp_options or custom tables. These you have to investigate on a case by case basis. ii) Running an update replacement query (such as 1. and 2. above) shall almost certainly corrupt data in serialized fields. I haven't come across a clean and fast technique yet of doing this replacement other than letting the associated plugins do the update themselves. The success of this depends on the robustness of the plugin. A: Any difference between dev and prod is bad. Here is what I do: * *Have a different ip for dev server (Whether internal, external, or on local computer is unimportant) -- but dev server must be the exact same setup (see bottom paragraph) *Change the hosts file (see here) (on yours or a testing computer or a virtual machine) to point to dev server ip *Result: HTTP requests sent to dev server have Host header field set as "example.com" exactly like it will be for the prod server. This method removes two differences often encountered otherwise: * *having to change domain name *having dev code in a subdirectory, but prod code in root or diff subdirectory. This is because I use git to transfer files between dev and prod. . . The dev server is set up exactly the same as the prod server (see Chef or Puppet for how to programmatically manage servers). A: I like to develop on a sub-directory so I can let my clients have access to the test site. when I'm ready to publish I use a plugin (recomendations below) to duplicate the whole thing to another sub-directory and then just point WordPress to load from the new one. Leaving the dev area active for testing. Use a plugin like duplicator (free) or backupbuddy (paid). Also see if my question here helps you. A: I use this search replace tool: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ It works for other software as well as wordpress. As for deploying, I set up an environment on the server which I can then switch via domain mapping/vhosts to make live. The install Dev is always on a separate server, and is never made live. A: There is no flawless way due to how WordPress stores content in the database. For pushing code around it can be as flawless as using git/mercurial/svn or even just file over-writes. But that is not the case for any content stored in the database (plugins, posts, categories, etc) and there is no good way to sync two databases. How to: Easily Move a WordPress Install from Development to Production?
wordpress
{ "language": "en", "length": 708, "provenance": "stackexchange_00019.jsonl.gz:414743", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34143" }
[ 0.0089263916015625, -0.019378662109375, -0.00994110107421875, -0.0116119384765625, -0.02496337890625, -0.033111572265625, 0.01412200927734375, 0.00689697265625, -0.0070953369140625, 0.01337432861328125, 0.03619384765625, 0.0038394927978515625, -0.044677734375, -0.050506591796875, 0.0000814199447631836, -0.03192138671875, 0.039703369140625, -0.044464111328125, -0.025360107421875, -0.02459716796875, -0.01035308837890625, -0.0154876708984375, 0.012786865234375, 0.040863037109375, 0.018402099609375, -0.0272979736328125, -0.0117034912109375, -0.013092041015625, 0.0087127685546875, -0.0221405029296875, 0.006435394287109375, 0.0214691162109375, 0.008331298828125, -0.01549530029296875, 0.0290985107421875, -0.017181396484375, 0.02581787109375, -0.0128936767578125, 0.01021575927734375, 0.03240966796875, 0.0236053466796875, -0.012420654296875, 0.003940582275390625, 0.0109100341796875, -0.00495147705078125, -0.061065673828125, 0.049591064453125, -0.01995849609375, -0.0024890899658203125, -0.0093841552734375, 0.00505828857421875, 0.01326751708984375, 0.0183258056640625, -0.0535888671875, 0.005817413330078125, 0.0187530517578125, -0.005794525146484375, 0.018524169921875, 0.0251007080078125, 0.01232147216796875, -0.0219879150390625, 0.0149078369140625, 0.0023250579833984375, -0.026458740234375, 0.0182952880859375, 0.007717132568359375, 0.01314544677734375, 0.01812744140625, -0.043487548828125, 0.0176239013671875, 0.029296875, -0.04833984375, 0.0093841552734375, -0.0305328369140625, 0.02606201171875, -0.0137939453125, 0.007152557373046875, -0.01727294921875, 0.006488800048828125, 0.00838470458984375, -0.0028133392333984375, -0.032806396484375, 0.049560546875, -0.04766845703125, 0.021453857421875, -0.013092041015625, -0.005298614501953125, 0.0088653564453125, -0.028472900390625, -0.023895263671875, -0.0279083251953125, 0.0269927978515625, -0.05059814453125, -0.00580596923828125, -0.0269775390625, -0.00574493408203125, -0.022125244140625, -0.016265869140625, -0.0092315673828125, 0.0117034912109375, -0.01422882080078125, -0.01194000244140625, 0.01549530029296875, -0.0211334228515625, -0.005340576171875, 0.0172271728515625, -0.0004775524139404297, -0.0218505859375, 0.017669677734375, 0.0288543701171875, -0.01438140869140625, -0.013458251953125, -0.035003662109375, -0.050994873046875, 0.004131317138671875, 0.06939697265625, -0.01393890380859375, 0.0350341796875, -0.0012569427490234375, 0.020843505859375, -0.0106201171875, 0.0267791748046875, -0.038330078125, 0.000014007091522216797, -0.0140533447265625, -0.040985107421875, 0.009124755859375, 0.0014829635620117188, -0.04302978515625, -0.00681304931640625, -0.038177490234375, 0.0400390625, 0.0789794921875, 0.0089569091796875, -0.0156707763671875, -0.01352691650390625, 0.003337860107421875, 0.0239105224609375, 0.0195159912109375, -0.0163116455078125, -0.0010976791381835938, -0.0246734619140625, 0.01190948486328125, -0.00717926025390625, -0.004364013671875, 0.019195556640625, 0.0207672119140625, 0.0117340087890625, -0.01517486572265625, -0.0260467529296875, 0.002162933349609375, -0.00778961181640625, -0.0003795623779296875, 0.027984619140625, 0.06756591796875, -0.0687255859375, 0.04864501953125, -0.069580078125, 0.07220458984375, -0.052001953125, 0.00948333740234375, 0.026519775390625, 0.06689453125, 0.006866455078125, -0.0150146484375, -0.0204620361328125, -0.060302734375, -0.0093994140625, 0.022247314453125, 0.006793975830078125, -0.00635528564453125, -0.0250091552734375, 0.035552978515625, -0.0225372314453125, -0.028900146484375, 0.01299285888671875, 0.00463104248046875, -0.0111083984375, 0.023193359375, 0.027587890625, -0.00687408447265625, -0.0258026123046875, 0.041534423828125, 0.01250457763671875, -0.006114959716796875, 0.0018148422241210938, 0.0125579833984375, 0.01519775390625, -0.0071563720703125, 0.016998291015625, 0.017822265625, 0.0362548828125, -0.036376953125, 0.006351470947265625, -0.011871337890625, -0.0096893310546875, -0.0040130615234375, 0.0163116455078125, -0.004520416259765625, 0.006320953369140625, -0.04547119140625, 0.0230712890625, 0.0017786026000976562, 0.0274658203125, 0.0183563232421875, 0.0017118453979492188, 0.00856781005859375, 0.024810791015625, 0.03857421875, 0.015777587890625, -0.01123046875, 0.0114898681640625, 0.00400543212890625, -0.057586669921875, -0.04119873046875, 0.02093505859375, -0.0273895263671875, -0.0013170242309570312, 0.00978851318359375, 0.0273590087890625, 0.01313018798828125, -0.0101470947265625, -0.005733489990234375, -0.0309600830078125, 0.00812530517578125, 0.0005497932434082031, -0.006763458251953125, -0.006618499755859375, 0.0389404296875, -0.004009246826171875, 0.051055908203125, 0.0181884765625, 0.001068115234375, -0.053680419921875, -0.010498046875, 0.027130126953125, 0.011383056640625, -0.08538818359375, 0.00199127197265625, 0.05682373046875, 0.01474761962890625, -0.017913818359375, -0.0236663818359375, 0.031982421875, 0.022216796875, -0.0256500244140625, -0.007568359375, 0.0305938720703125, 0.01396942138671875, 0.038330078125, 0.00897216796875, -0.0215911865234375, 0.00980377197265625, -0.07745361328125, 0.0289154052734375, 0.01788330078125, -0.047332763671875, -0.01136016845703125, 0.0245819091796875, -0.045257568359375, 0.01421356201171875, -0.0731201171875, -0.0222930908203125, -0.033966064453125, -0.0159912109375, 0.01763916015625, 0.0036563873291015625, 0.0010242462158203125, -0.03961181640625, 0.016632080078125, 0.034454345703125, -0.01531219482421875, 0.005062103271484375, 0.0272674560546875, 0.023101806640625, 0.058807373046875, -0.050567626953125, -0.02447509765625, 0.0411376953125, 0.04449462890625, -0.0178985595703125, 0.03564453125, 0.02362060546875, -0.007476806640625, -0.020477294921875, -0.0230712890625, 0.032135009765625, -0.004779815673828125, -0.01554107666015625, 0.0033130645751953125, 0.0323486328125, 0.0090789794921875, -0.02117919921875, 0.004581451416015625, 0.01436614990234375, -0.02716064453125, 0.113037109375, -0.041259765625, 0.02679443359375, 0.0031452178955078125, 0.050140380859375, 0.05511474609375, 0.01593017578125, -0.0008282661437988281, -0.017547607421875, 0.032257080078125, 0.0298614501953125, -0.03521728515625, -0.04119873046875, 0.01180267333984375, -0.0938720703125, -0.06158447265625, 0.02056884765625, -0.0105743408203125, 0.00040841102600097656, -0.021148681640625, -0.01386260986328125, -0.006145477294921875, -0.0662841796875, -0.036865234375, -0.08782958984375, -0.05499267578125, 0.011199951171875, 0.025421142578125, -0.0245208740234375, 0.00627899169921875, 0.04522705078125, 0.02496337890625, 0.0478515625, -0.031707763671875, -0.0179290771484375, -0.0181121826171875, -0.06121826171875, -0.0384521484375, 0.01432037353515625, -0.00016021728515625, 0.01271820068359375, -0.0112762451171875, 0.00994110107421875, -0.022308349609375, 0.027191162109375, 0.087890625, 0.007904052734375, -0.0019273757934570312, 0.0224761962890625, -0.05731201171875, 0.0435791015625, -0.005794525146484375, 0.0075531005859375, 0.0180206298828125, 0.007534027099609375, -0.0285491943359375, -0.0121002197265625, -0.0259246826171875, -0.02288818359375, -0.02362060546875, 0.0122528076171875, -0.0012521743774414062, -0.0252532958984375, -0.058929443359375, 0.0142364501953125, 0.031768798828125, 0.0108184814453125, -0.004962921142578125, -0.0145263671875, -0.05511474609375, 0.00254058837890625, 0.01316070556640625, 0.0341796875, 0.025054931640625, 0.00283050537109375, 0.01483154296875, -0.00818634033203125, 0.0025463104248046875, 0.00966644287109375, -0.030975341796875, 0.048095703125, -0.026458740234375, -0.0023136138916015625, 0.0164031982421875, -0.03338623046875, -0.02874755859375, 0.004550933837890625, -0.033538818359375, -0.08270263671875, 0.054443359375, -0.0299072265625, 0.00859832763671875, -0.04241943359375, -0.02935791015625, -0.002590179443359375, 0.112060546875, -0.034759521484375, -0.020416259765625, 0.032684326171875, 0.01422119140625, 0.00037407875061035156, -0.01253509521484375, -0.056121826171875, -0.0228729248046875, -0.030517578125, -0.0140228271484375, -0.037017822265625, -0.006290435791015625, -0.007297515869140625, -0.033782958984375, 0.003978729248046875, -0.059356689453125, 0.04962158203125, -0.048095703125, 0.035980224609375, -0.015533447265625, 0.036651611328125, -0.058685302734375, -0.00151824951171875, -0.026275634765625, -0.03607177734375, 0.0022335052490234375, -0.0274810791015625, 0.004917144775390625, 0.007297515869140625, 0.01352691650390625, -0.004825592041015625, 0.016754150390625, -0.05389404296875, 0.03082275390625, -0.033477783203125, 0.040740966796875, -0.0199127197265625, -0.0012187957763671875, -0.022247314453125, -0.0184326171875, -0.01092529296875, -0.0633544921875, -0.043182373046875, -0.053985595703125, -0.025177001953125, 0.03948974609375, -0.004055023193359375, -0.007556915283203125, -0.02978515625, -0.0267486572265625, -0.0181427001953125, -0.009185791015625, -0.01399993896484375, -0.008270263671875, -0.0196075439453125, -0.03314208984375, 0.0418701171875, -0.02752685546875, 0.00032830238342285156, -0.0009636878967285156, 0.07513427734375, 0.0216522216796875, -0.01219940185546875, 0.03350830078125, 0.0276336669921875, 0.0330810546875, 0.004863739013671875, 0.0229339599609375, 0.0241546630859375, -0.004261016845703125, 0.0189361572265625, 0.0014209747314453125, 0.01751708984375, 0.00818634033203125, -0.041717529296875, 0.030303955078125, 0.0037937164306640625, 0.0018186569213867188, 0.040802001953125, -0.013946533203125, -0.002132415771484375, -0.01111602783203125, -0.06646728515625, -0.06890869140625, 0.062347412109375, 0.0275726318359375, 0.06268310546875, -0.0628662109375, -0.00373077392578125, -0.00946044921875, -0.02545166015625, 0.01113128662109375, 0.012359619140625, -0.004611968994140625, -0.01006317138671875, 0.0174407958984375, 0.00983428955078125, 0.021392822265625, 0.0251922607421875, 0.02777099609375, 0.0528564453125, 0.0203704833984375, 0.0202178955078125, -0.02783203125, -0.00620269775390625, 0.046905517578125, 0.042694091796875, -0.029815673828125, -0.0102081298828125, 0.004184722900390625, -0.0173797607421875, -0.01010894775390625, -0.0165252685546875, 0.054443359375, -0.0002655982971191406, -0.0220794677734375, -0.0004596710205078125, -0.0623779296875, -0.044677734375, -0.070556640625, -0.054901123046875, -0.031036376953125, -0.0160675048828125, 0.0283660888671875, -0.003032684326171875, -0.033294677734375, 0.029693603515625, -0.013031005859375, 0.03497314453125, 0.05438232421875, -0.0094451904296875, 0.0126800537109375, 0.0045928955078125, 0.016265869140625, -0.05914306640625, 0.019439697265625, -0.0275115966796875, 0.01019287109375, 0.0124053955078125, 0.047210693359375, -0.0162811279296875, -0.037353515625, 0.03289794921875, -0.050628662109375, -0.0160980224609375, 0.056915283203125, -0.006107330322265625, -0.0806884765625, -0.015869140625, 0.0195159912109375, 0.021881103515625, -0.0333251953125, 0.01490020751953125, -0.0215606689453125, -0.03271484375, -0.027862548828125, 0.0227508544921875, -0.006473541259765625, -0.047698974609375, -0.057098388671875, -0.04205322265625, -0.0347900390625, -0.0035381317138671875, 0.0027103424072265625, 0.0027294158935546875, -0.00592041015625, -0.04058837890625, 0.0142974853515625, -0.0333251953125, -0.014923095703125, -0.012725830078125, 0.0085296630859375, -0.0460205078125, 0.01503753662109375, 0.036346435546875, 0.023162841796875, -0.03192138671875, -0.0190887451171875, -0.0482177734375, -0.00673675537109375, -0.013458251953125, -0.0220489501953125, -0.0272216796875, 0.0097503662109375, -0.0017385482788085938, -0.0013532638549804688, -0.024871826171875, -0.0382080078125, -0.0237579345703125, -0.00445556640625, 0.01552581787109375, -0.046600341796875, 0.0261993408203125, 0.023162841796875, -0.042999267578125, 0.04681396484375, -0.00005888938903808594, -0.0249786376953125, -0.04168701171875, -0.007305145263671875, 0.00308990478515625, 0.01605224609375, 0.0012035369873046875, -0.022369384765625, 0.01511383056640625, 0.013397216796875, 0.0697021484375, -0.00997161865234375, 0.0098419189453125, -0.0209808349609375, 0.00835418701171875, -0.032806396484375, 0.0196075439453125, -0.039154052734375, 0.0010356903076171875, -0.0032024383544921875, -0.018402099609375, 0.003734588623046875, 0.002658843994140625, 0.01479339599609375, -0.007755279541015625, -0.0064544677734375, -0.0157012939453125, 0.0202178955078125, 0.005817413330078125, -0.006443023681640625, 0.031402587890625, -0.003192901611328125, 0.023895263671875, 0.0203094482421875, 0.0269775390625, 0.03082275390625, 0.0182342529296875, -0.0281524658203125, -0.00131988525390625, 0.005992889404296875, -0.0023193359375, -0.0249176025390625, -0.0301055908203125, -0.03021240234375, 0.02294921875, 0.06500244140625, 0.053497314453125, -0.07379150390625, -0.01136016845703125, 0.015625, -0.05999755859375, -0.0119171142578125, -0.03619384765625, -0.0026111602783203125, -0.046630859375, 0.00904083251953125, 0.056243896484375, -0.045318603515625, -0.022216796875, 0.01727294921875, 0.0116424560546875, 0.0036029815673828125, 0.0335693359375, 0.01485443115234375, -0.053497314453125, -0.000881195068359375, 0.0482177734375, 0.005466461181640625, -0.00432586669921875, -0.0042724609375, 0.0282440185546875, -0.0305633544921875, -0.054656982421875, 0.0418701171875, -0.043701171875, -0.0021915435791015625, -0.0092315673828125, -0.0281829833984375, 0.0555419921875, 0.016693115234375, -0.00290679931640625, -0.0207672119140625, -0.00893402099609375, 0.035736083984375, -0.00981903076171875, 0.0186614990234375, 0.0139007568359375, -0.057342529296875, -0.027740478515625, -0.0025310516357421875, -0.07965087890625, -0.0188140869140625, -0.004451751708984375, -0.0023937225341796875, 0.04248046875, -0.045013427734375, 0.005157470703125, 0.0309295654296875, 0.0609130859375, -0.0131072998046875, -0.000029921531677246094, 0.02496337890625, -0.0178985595703125, -0.0178375244140625, -0.0035190582275390625, -0.0178375244140625, -0.0019321441650390625, -0.0237884521484375, -0.006504058837890625, 0.07977294921875, 0.01435089111328125, -0.029266357421875, 0.052734375, 0.042236328125, -0.0762939453125, 0.016510009765625, -0.043121337890625, 0.05010986328125, 0.0162200927734375, 0.00641632080078125, -0.043792724609375, -0.010772705078125, -0.00965118408203125, 0.0157470703125, 0.0904541015625, 0.0272369384765625, -0.058197021484375, 0.0246734619140625, 0.109375, 0.055755615234375, 0.0230712890625, 0.06396484375, -0.01328277587890625, 0.014373779296875, 0.00875091552734375, -0.047393798828125, 0.0158233642578125, 0.005680084228515625, -0.0308990478515625, 0.00012314319610595703, -0.004039764404296875, -0.0159912109375, -0.040252685546875, 0.0091552734375, -0.029815673828125, -0.0234222412109375, 0.0119171142578125, -0.026885986328125, 0.039520263671875, -0.0191497802734375, 0.00445556640625, -0.0206298828125, 0.0252838134765625, -0.0194244384765625, 0.0302886962890625, -0.017974853515625, 0.0267486572265625, 0.00913238525390625, 0.01026153564453125, 0.046478271484375, -0.004230499267578125, 0.005565643310546875, 0.0125579833984375, -0.0255126953125, 0.07293701171875, 0.0577392578125, 0.037200927734375, 0.0012559890747070312, -0.015228271484375, 0.025299072265625, 0.0743408203125, -0.031585693359375, -0.03253173828125, 0.0263214111328125, 0.004932403564453125, -0.007579803466796875, -0.033172607421875, 0.004184722900390625, -0.0701904296875, -0.01087188720703125, -0.0192718505859375, -0.01114654541015625, 0.0032901763916015625, -0.0182342529296875, -0.0073089599609375, 0.0210113525390625, 0.03533935546875, -0.00021326541900634766, -0.03485107421875, -0.0026187896728515625, 0.053619384765625, 0.05804443359375, 0.012298583984375, 0.042449951171875, 0.0177764892578125, -0.0343017578125, -0.004638671875, -0.000015974044799804688, 0.00614166259765625, 0.0068206787109375, -0.022308349609375, -0.0140380859375, 0.0264129638671875, 0.039154052734375, 0.0194244384765625, 0.0169830322265625, 0.04974365234375, 0.030792236328125, -0.0171356201171875, -0.01496124267578125, 0.0121917724609375, -0.01256561279296875, 0.00824737548828125, -0.0208892822265625, 0.004772186279296875, 0.023406982421875, -0.02410888671875, -0.039581298828125, -0.0089874267578125, 0.06585693359375, -0.0016040802001953125, 0.01995849609375, -0.0022144317626953125, -0.0234527587890625, 0.0045318603515625, -0.043731689453125, 0.051666259765625, 0.0018825531005859375, 0.01502227783203125, -0.00494384765625, 0.005382537841796875, 0.053009033203125, -0.03997802734375, 0.01763916015625, 0.01226806640625, 0.037139892578125, 0.00829315185546875, 0.002460479736328125, -0.021331787109375, 0.0198211669921875, -0.005245208740234375, 0.0277557373046875, 0.036956787109375, 0.0186614990234375, -0.01354217529296875, -0.0261077880859375, -0.01462554931640625, 0.05859375, 0.027435302734375, 0.10198974609375, -0.037384033203125, 0.04180908203125, -0.026031494140625, -0.00885009765625, -0.00897979736328125, -0.015167236328125, -0.01297760009765625, 0.0154571533203125, 0.021728515625, 0.00316619873046875, -0.016754150390625, -0.01027679443359375, 0.0234832763671875, -0.05767822265625, 0.0029735565185546875, -0.053009033203125, 0.0293731689453125, -0.005519866943359375, 0.000652313232421875, -0.02996826171875, -0.0460205078125, -0.00653076171875, 0.02734375, 0.005374908447265625, -0.0038623809814453125, -0.037353515625, 0.0203094482421875, 0.0389404296875, 0.0069427490234375, 0.0102996826171875, 0.000013530254364013672, 0.0158538818359375, 0.0364990234375, -0.004222869873046875, -0.07684326171875, 0.060882568359375, -0.001308441162109375, -0.01739501953125, 0.01358795166015625, 0.089599609375, 0.01556396484375, -0.047637939453125, -0.0111236572265625, -0.03704833984375, 0.0191802978515625, 0.0034160614013671875, -0.006988525390625, -0.034149169921875, 0.0179290771484375, -0.025054931640625, -0.013824462890625, -0.03326416015625, -0.02667236328125, 0.0162811279296875, 0.034454345703125, 0.0024089813232421875, 0.007110595703125, -0.0281219482421875, -0.052734375, 0.0253143310546875, 0.025299072265625, -0.0384521484375, 0.0002949237823486328, 0.01029205322265625, -0.01338958740234375, -0.01125335693359375, 0.01282501220703125, -0.019805908203125, -0.0241546630859375, -0.0092010498046875, -0.029571533203125, -0.04681396484375, 0.041900634765625, -0.023345947265625, 0.0343017578125, 0.03955078125, -0.01250457763671875, 0.04656982421875, 0.0298004150390625, 0.018157958984375, 0.07672119140625, -0.028228759765625, -0.0325927734375, 0.014892578125, -0.0160064697265625, -0.002300262451171875, -0.0269012451171875, 0.0278778076171875, -0.07635498046875, -0.032623291015625, -0.03985595703125, -0.007671356201171875, 0.015411376953125, -0.034759521484375, -0.0767822265625, 0.048248291015625, -0.02166748046875, -0.034088134765625, -0.032989501953125, -0.039337158203125, -0.0172119140625, 0.06793212890625, 0.004108428955078125, -0.03692626953125, -0.052642822265625, 0.022308349609375, -0.01250457763671875, 0.10491943359375, -0.021240234375, 0.01678466796875, 0.049652099609375, 0.03302001953125, 0.028961181640625, -0.0055389404296875, -0.0276336669921875, 0.0091094970703125, 0.0404052734375, 0.06292724609375, 0.031951904296875, 0.05450439453125, 0.046417236328125, -0.05792236328125, -0.03515625, 0.0158233642578125, 0.00559234619140625, 0.011322021484375, 0.06427001953125, 0.0745849609375, 0.0081329345703125, -0.030853271484375, -0.0272064208984375, -0.01438140869140625, 0.039886474609375, -0.0174102783203125, -0.016021728515625, -0.054840087890625, -0.029083251953125, -0.001529693603515625, 0.006320953369140625, 0.003833770751953125, -0.03253173828125, -0.004367828369140625, 0.0019588470458984375, 0.0184326171875, 0.004299163818359375, -0.0029048919677734375, -0.022491455078125, 0.052978515625, -0.0281982421875, 0.004520416259765625, 0.02874755859375, 0.016845703125, 0.042144775390625, 0.05596923828125, 0.03375244140625, 0.0170440673828125, -0.05792236328125, -0.005481719970703125, 0.01325225830078125, 0.015838623046875, -0.0255279541015625, -0.04766845703125, -0.0126495361328125, 0.01430511474609375, -0.0138092041015625, 0.00916290283203125, -0.0005645751953125, 0.0307769775390625, 0.0011310577392578125, 0.08416748046875, -0.005413055419921875, -0.0247650146484375, -0.03863525390625, 0.05572509765625, -0.0439453125, -0.007259368896484375, -0.0291748046875, -0.02191162109375, -0.0033969879150390625, 0.01052093505859375, -0.006122589111328125, -0.041229248046875, 0.02374267578125, 0.0047454833984375, -0.0047607421875, 0.0164031982421875 ]
eb379499c6e8f9d258ed7fc9030b79a4cc0d8603
Wordpress Stackexchange Q: How to discover and delete unused accounts? I'm running a Wordpress self hosted blog with registration and I would like to know if there is a safe way to know if users hasn't login yet or if account is unused by a long time. What I would like to achieve is to be able to automatically delete accounts that aren't unused by 6 months or more or not used at all. Any help? Thank you! A: There's several plugins in the directory that will track the last login time of your users, each with various options: http://wordpress.org/extend/plugins/search.php?q=last+login You could use one of those to track login times, and then delete unused accounts based on the information one of those plugins provides.
Q: How to discover and delete unused accounts? I'm running a Wordpress self hosted blog with registration and I would like to know if there is a safe way to know if users hasn't login yet or if account is unused by a long time. What I would like to achieve is to be able to automatically delete accounts that aren't unused by 6 months or more or not used at all. Any help? Thank you! A: There's several plugins in the directory that will track the last login time of your users, each with various options: http://wordpress.org/extend/plugins/search.php?q=last+login You could use one of those to track login times, and then delete unused accounts based on the information one of those plugins provides.
wordpress
{ "language": "en", "length": 122, "provenance": "stackexchange_00019.jsonl.gz:414764", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34207" }
[ 0.0038394927978515625, 0.031158447265625, 0.0024547576904296875, 0.024200439453125, 0.0175933837890625, -0.0302581787109375, 0.061126708984375, -0.057830810546875, -0.01299285888671875, 0.0037097930908203125, -0.0279388427734375, 0.01035308837890625, -0.0316162109375, -0.022064208984375, 0.01422119140625, -0.05084228515625, -0.01275634765625, 0.035919189453125, 0.040557861328125, -0.015350341796875, 0.0192718505859375, -0.035186767578125, 0.034881591796875, -0.0243072509765625, 0.01210784912109375, 0.00955963134765625, 0.0963134765625, -0.026641845703125, 0.0200042724609375, -0.0294647216796875, 0.01097869873046875, -0.02044677734375, -0.0240325927734375, 0.0223388671875, 0.03985595703125, -0.006320953369140625, 0.0005030632019042969, 0.03533935546875, 0.06646728515625, -0.041900634765625, 0.0180816650390625, -0.00585174560546875, 0.027587890625, -0.0252685546875, 0.0016622543334960938, 0.00804901123046875, 0.008697509765625, -0.0301361083984375, 0.0178680419921875, 0.00801849365234375, 0.0280609130859375, 0.005828857421875, 0.044342041015625, 0.0066680908203125, -0.025726318359375, -0.0292205810546875, 0.0129547119140625, 0.033599853515625, 0.042724609375, -0.041046142578125, -0.05352783203125, -0.0027256011962890625, 0.02642822265625, -0.0140533447265625, -0.0144805908203125, -0.006717681884765625, -0.0182342529296875, 0.0105743408203125, -0.0075836181640625, -0.0275115966796875, 0.02020263671875, -0.0029087066650390625, -0.0165557861328125, 0.00569915771484375, -0.04339599609375, 0.01000213623046875, 0.0027484893798828125, -0.02099609375, 0.01233673095703125, 0.01093292236328125, -0.061492919921875, -0.0025310516357421875, -0.05126953125, -0.0149993896484375, -0.0143890380859375, 0.01180267333984375, -0.023345947265625, -0.002147674560546875, -0.0205535888671875, -0.0413818359375, -0.0272674560546875, -0.0343017578125, -0.0238494873046875, 0.00926971435546875, -0.03759765625, -0.0037326812744140625, 0.054595947265625, 0.07275390625, -0.01129150390625, -0.049652099609375, -0.0012350082397460938, -0.02679443359375, -0.07586669921875, -0.0014429092407226562, -0.00571441650390625, 0.05279541015625, -0.01451873779296875, -0.01885986328125, 0.0026607513427734375, 0.03070068359375, 0.0115509033203125, -0.05853271484375, 0.0248870849609375, -0.03338623046875, 0.00940704345703125, 0.029693603515625, 0.0258026123046875, 0.027801513671875, 0.01132965087890625, 0.0164947509765625, -0.031402587890625, -0.0176239013671875, 0.0013637542724609375, 0.01366424560546875, 0.0032367706298828125, -0.027313232421875, 0.00212860107421875, 0.01300811767578125, 0.033447265625, 0.032684326171875, -0.0287628173828125, 0.0252227783203125, 0.01285552978515625, -0.0499267578125, -0.0390625, -0.0183563232421875, -0.00930023193359375, -0.029754638671875, 0.0116424560546875, -0.00897216796875, 0.0171661376953125, -0.0237579345703125, 0.012451171875, 0.00579833984375, 0.01279449462890625, 0.03179931640625, 0.0169219970703125, -0.00870513916015625, 0.0115203857421875, -0.0022106170654296875, -0.0135040283203125, -0.0445556640625, 0.017242431640625, -0.00673675537109375, 0.038604736328125, -0.00882720947265625, 0.054412841796875, -0.0355224609375, -0.01522064208984375, -0.0096435546875, 0.022125244140625, -0.00882720947265625, 0.009857177734375, -0.01934814453125, -0.041900634765625, 0.005573272705078125, -0.0477294921875, -0.008453369140625, 0.03131103515625, -0.0770263671875, 0.032012939453125, -0.033905029296875, 0.0506591796875, 0.002948760986328125, 0.00986480712890625, 0.054595947265625, -0.0172882080078125, 0.039764404296875, 0.014617919921875, 0.0036258697509765625, -0.002361297607421875, -0.039581298828125, 0.044677734375, -0.0108642578125, -0.01285552978515625, -0.054656982421875, 0.02008056640625, -0.0025806427001953125, 0.01202392578125, 0.0212860107421875, 0.0204925537109375, 0.004978179931640625, -0.005397796630859375, 0.028900146484375, 0.007480621337890625, -0.035675048828125, 0.003780364990234375, 0.0058746337890625, 0.0046844482421875, -0.04498291015625, 0.07037353515625, 0.0017070770263671875, 0.012664794921875, -0.0882568359375, -0.10931396484375, 0.0098114013671875, -0.0268402099609375, 0.0477294921875, -0.046630859375, 0.0150299072265625, 0.0361328125, -0.008148193359375, -0.0208587646484375, -0.0249176025390625, -0.01175689697265625, -0.00867462158203125, -0.01104736328125, 0.002674102783203125, 0.00919342041015625, 0.005405426025390625, 0.015533447265625, -0.0005841255187988281, 0.0012044906616210938, -0.01120758056640625, 0.00775146484375, -0.02178955078125, -0.0200347900390625, -0.0323486328125, -0.02435302734375, -0.0103607177734375, -0.031005859375, 0.055389404296875, 0.013641357421875, 0.010284423828125, -0.0440673828125, -0.0100555419921875, -0.029022216796875, -0.038909912109375, 0.004482269287109375, 0.051116943359375, 0.0237579345703125, 0.0027408599853515625, -0.005558013916015625, 0.02789306640625, 0.016876220703125, -0.057769775390625, -0.0008139610290527344, 0.0278778076171875, 0.01395416259765625, 0.065673828125, -0.028656005859375, -0.00824737548828125, -0.0017671585083007812, 0.00443267822265625, -0.01070404052734375, 0.030853271484375, -0.00716400146484375, -0.0499267578125, 0.00908660888671875, 0.0165252685546875, 0.0013437271118164062, -0.063720703125, -0.0445556640625, -0.022003173828125, 0.050689697265625, -0.00548553466796875, 0.037506103515625, 0.0208282470703125, -0.0048828125, 0.01404571533203125, -0.0018491744995117188, -0.0582275390625, 0.0010890960693359375, 0.016265869140625, 0.05364990234375, -0.005268096923828125, -0.021240234375, -0.025726318359375, 0.0154876708984375, 0.01209259033203125, -0.0246734619140625, 0.01093292236328125, 0.0263671875, -0.0207366943359375, -0.0230865478515625, 0.0153961181640625, 0.0369873046875, -0.031585693359375, 0.0011167526245117188, -0.00487518310546875, 0.040008544921875, 0.0048980712890625, -0.029510498046875, 0.036163330078125, -0.01030731201171875, -0.026702880859375, -0.057769775390625, -0.041595458984375, 0.0321044921875, -0.036590576171875, 0.0154266357421875, 0.07574462890625, 0.031463623046875, -0.023101806640625, -0.0151519775390625, 0.005786895751953125, -0.00257110595703125, -0.0085906982421875, -0.0008339881896972656, -0.0229034423828125, 0.0119171142578125, 0.055816650390625, 0.00858306884765625, 0.0618896484375, -0.055419921875, -0.05218505859375, -0.036376953125, 0.0013217926025390625, -0.04193115234375, -0.01568603515625, -0.02215576171875, -0.0738525390625, 0.013702392578125, -0.0029354095458984375, -0.0299835205078125, -0.01015472412109375, 0.0301666259765625, 0.018768310546875, 0.035400390625, -0.0232696533203125, -0.02630615234375, -0.031463623046875, -0.0582275390625, -0.027923583984375, 0.004680633544921875, -0.01262664794921875, 0.0011196136474609375, 0.06683349609375, -0.015777587890625, -0.057525634765625, -0.04644775390625, -0.03436279296875, 0.002239227294921875, -0.00974273681640625, -0.0129241943359375, 0.038421630859375, 0.0013399124145507812, 0.0244293212890625, -0.003787994384765625, 0.01090240478515625, -0.034576416015625, -0.035980224609375, 0.007904052734375, -0.0276641845703125, 0.045654296875, -0.035064697265625, -0.046661376953125, 0.004520416259765625, 0.0285186767578125, -0.0377197265625, 0.0357666015625, 0.00315093994140625, 0.002017974853515625, -0.0302276611328125, 0.0073394775390625, -0.035980224609375, -0.0194091796875, -0.030426025390625, -0.006664276123046875, 0.00830841064453125, -0.048583984375, -0.0023708343505859375, 0.0158843994140625, -0.007007598876953125, -0.019256591796875, 0.03900146484375, 0.0186004638671875, -0.0308380126953125, -0.0037384033203125, -0.00841522216796875, 0.00653839111328125, 0.0073394775390625, -0.04107666015625, -0.01065826416015625, -0.021453857421875, 0.055755615234375, 0.007415771484375, -0.0015583038330078125, -0.01861572265625, -0.0298309326171875, -0.01161956787109375, 0.08233642578125, -0.037811279296875, -0.02130126953125, 0.0352783203125, -0.0010747909545898438, -0.002422332763671875, 0.0341796875, -0.065185546875, -0.0208282470703125, -0.06561279296875, 0.0118255615234375, 0.0079498291015625, -0.031982421875, -0.0188446044921875, -0.0355224609375, -0.046844482421875, -0.03253173828125, 0.020660400390625, -0.0033626556396484375, 0.05511474609375, -0.048583984375, 0.039031982421875, -0.043060302734375, 0.01947021484375, -0.042266845703125, 0.0062255859375, 0.001811981201171875, -0.028900146484375, -0.009490966796875, 0.03564453125, -0.0252532958984375, 0.0037097930908203125, 0.018310546875, -0.0015935897827148438, 0.004009246826171875, -0.003765106201171875, 0.0102996826171875, -0.0215911865234375, -0.007625579833984375, -0.015838623046875, -0.030242919921875, 0.01788330078125, -0.034698486328125, -0.037994384765625, -0.006618499755859375, -0.0379638671875, 0.044830322265625, -0.022918701171875, -0.0120697021484375, 0.00360870361328125, -0.03216552734375, -0.008209228515625, 0.03887939453125, -0.0236053466796875, 0.01479339599609375, -0.03936767578125, -0.00826263427734375, 0.046417236328125, -0.01385498046875, 0.0094146728515625, 0.004444122314453125, 0.093017578125, 0.01049041748046875, -0.002994537353515625, -0.01399993896484375, 0.0008792877197265625, 0.0167388916015625, -0.0122222900390625, 0.041748046875, 0.0047760009765625, -0.0124053955078125, 0.046234130859375, -0.0182647705078125, -0.0179595947265625, -0.026763916015625, 0.0293426513671875, -0.004215240478515625, -0.034149169921875, 0.01291656494140625, -0.0316162109375, 0.0531005859375, 0.0333251953125, -0.0147247314453125, -0.0089569091796875, 0.01800537109375, 0.031585693359375, -0.047149658203125, 0.0307159423828125, -0.0159149169921875, -0.01776123046875, 0.00458526611328125, -0.022796630859375, 0.01763916015625, 0.00605010986328125, -0.0045623779296875, 0.00035190582275390625, 0.0279541015625, -0.03448486328125, -0.07379150390625, -0.054443359375, -0.03131103515625, -0.004322052001953125, -0.060455322265625, -0.033233642578125, -0.0215606689453125, -0.032928466796875, 0.11444091796875, 0.00010728836059570312, -0.0889892578125, 0.056976318359375, -0.009124755859375, 0.028350830078125, 0.056427001953125, -0.044769287109375, 0.054290771484375, 0.0305023193359375, -0.0465087890625, -0.01873779296875, -0.032257080078125, -0.039794921875, -0.075439453125, -0.0174713134765625, -0.029205322265625, -0.00942230224609375, -0.01983642578125, 0.0672607421875, -0.053955078125, 0.034698486328125, 0.01465606689453125, 0.050811767578125, 0.062286376953125, 0.027435302734375, 0.03271484375, -0.01084136962890625, -0.0307464599609375, 0.0186614990234375, -0.044403076171875, -0.039764404296875, -0.0357666015625, 0.0298614501953125, 0.0389404296875, -0.01442718505859375, 0.0101165771484375, -0.007770538330078125, 0.0011768341064453125, 0.0018320083618164062, 0.0238494873046875, -0.0245819091796875, -0.053192138671875, -0.009521484375, 0.0244598388671875, 0.028411865234375, -0.031768798828125, -0.0005559921264648438, -0.03125, -0.026763916015625, 0.0005040168762207031, 0.0261383056640625, -0.00952911376953125, -0.0169219970703125, -0.0172119140625, -0.03582763671875, -0.05535888671875, -0.0007262229919433594, 0.01548004150390625, 0.046783447265625, -0.0261688232421875, -0.02911376953125, 0.0010471343994140625, 0.01202392578125, 0.01068878173828125, -0.0234222412109375, -0.01385498046875, 0.0178985595703125, -0.007427215576171875, 0.027252197265625, -0.0186614990234375, -0.07843017578125, 0.00453948974609375, -0.0380859375, -0.013916015625, -0.03985595703125, -0.0196685791015625, -0.0679931640625, 0.004581451416015625, 0.00795745849609375, 0.0186309814453125, -0.0027523040771484375, -0.0088348388671875, -0.002948760986328125, 0.0114898681640625, 0.008056640625, 0.0191497802734375, -0.004947662353515625, 0.0162506103515625, 0.0260467529296875, -0.0017156600952148438, 0.0287628173828125, 0.036376953125, 0.01435089111328125, -0.03765869140625, 0.03875732421875, 0.0693359375, -0.0467529296875, -0.052337646484375, 0.00679779052734375, -0.043365478515625, 0.06524658203125, -0.03076171875, 0.0004849433898925781, -0.0005083084106445312, 0.0006847381591796875, -0.0190277099609375, 0.045867919921875, 0.02374267578125, 0.0202178955078125, 0.0024280548095703125, -0.00980377197265625, 0.01137542724609375, -0.00478363037109375, -0.01445770263671875, 0.01690673828125, 0.005084991455078125, -0.00693511962890625, 0.0169830322265625, -0.01467132568359375, 0.056640625, 0.01213836669921875, -0.0272369384765625, -0.0010433197021484375, 0.00739288330078125, 0.004512786865234375, -0.03363037109375, -0.02685546875, 0.01444244384765625, -0.002471923828125, 0.06756591796875, 0.006359100341796875, -0.00983428955078125, 0.055206298828125, -0.036102294921875, -0.0031108856201171875, 0.061614990234375, 0.047882080078125, -0.08831787109375, 0.0147705078125, -0.002899169921875, 0.0192718505859375, 0.0440673828125, 0.0103759765625, -0.0128936767578125, -0.016632080078125, 0.0202789306640625, -0.01380157470703125, -0.0211181640625, 0.0037822723388671875, -0.01398468017578125, -0.01284027099609375, 0.0028076171875, 0.018524169921875, -0.00421905517578125, -0.02484130859375, -0.00005614757537841797, 0.0322265625, 0.01442718505859375, -0.044677734375, 0.015960693359375, 0.01360321044921875, -0.00600433349609375, -0.060943603515625, 0.0189208984375, 0.00811767578125, -0.00377655029296875, 0.02716064453125, -0.006488800048828125, 0.06585693359375, 0.00771331787109375, 0.027496337890625, -0.0362548828125, -0.0307464599609375, 0.01016998291015625, -0.0210113525390625, -0.0259857177734375, 0.0188751220703125, 0.044219970703125, -0.0537109375, 0.039581298828125, -0.01238250732421875, -0.0121612548828125, 0.00385284423828125, -0.04052734375, 0.043548583984375, -0.027313232421875, 0.0011272430419921875, 0.046478271484375, -0.002506256103515625, -0.0218505859375, -0.0256195068359375, -0.035675048828125, -0.0712890625, -0.0286712646484375, -0.0284881591796875, -0.033477783203125, 0.0426025390625, -0.014495849609375, -0.0574951171875, 0.0792236328125, -0.00922393798828125, 0.0119171142578125, -0.0243377685546875, 0.0404052734375, 0.015380859375, 0.038726806640625, -0.05780029296875, 0.0723876953125, -0.00787353515625, 0.0178375244140625, -0.0487060546875, 0.0164031982421875, -0.0087890625, -0.020721435546875, 0.0640869140625, 0.018707275390625, -0.0254974365234375, -0.034942626953125, -0.0290069580078125, -0.00977325439453125, -0.035797119140625, 0.06024169921875, 0.00420379638671875, 0.0208282470703125, 0.035247802734375, -0.04864501953125, 0.020477294921875, -0.0033931732177734375, -0.002857208251953125, 0.035400390625, -0.01508331298828125, -0.0504150390625, 0.01149749755859375, 0.0372314453125, -0.046234130859375, 0.01180267333984375, 0.006500244140625, 0.02813720703125, 0.057891845703125, 0.00777435302734375, 0.0419921875, -0.04412841796875, -0.011138916015625, 0.006778717041015625, 0.047607421875, -0.0206451416015625, 0.0013055801391601562, 0.033294677734375, 0.0224761962890625, 0.020355224609375, -0.035247802734375, -0.0172882080078125, -0.01116943359375, -0.00921630859375, 0.01568603515625, 0.0439453125, 0.044097900390625, -0.012451171875, -0.0309906005859375, 0.0421142578125, 0.042266845703125, -0.0095367431640625, -0.045013427734375, 0.005283355712890625, 0.01605224609375, 0.04095458984375, 0.0394287109375, 0.0849609375, -0.0279083251953125, 0.019378662109375, -0.010986328125, 0.00650787353515625, 0.01702880859375, 0.01071929931640625, 0.0113067626953125, 0.039276123046875, -0.01474761962890625, 0.01094818115234375, 0.015716552734375, -0.0275421142578125, -0.005405426025390625, -0.03448486328125, -0.0037708282470703125, -0.013519287109375, 0.03448486328125, 0.029937744140625, -0.010162353515625, 0.0164642333984375, 0.028228759765625, -0.01114654541015625, 0.0016384124755859375, -0.01197052001953125, -0.008575439453125, 0.0226287841796875, 0.0028858184814453125, -0.033660888671875, 0.0411376953125, 0.03021240234375, -0.053314208984375, -0.046478271484375, -0.058990478515625, -0.031829833984375, -0.005374908447265625, -0.0033435821533203125, -0.0157012939453125, 0.01419830322265625, -0.01534271240234375, -0.0186309814453125, 0.0250396728515625, 0.0269927978515625, -0.023834228515625, 0.0667724609375, -0.00652313232421875, -0.0166015625, 0.01044464111328125, -0.0280914306640625, 0.041229248046875, -0.00727081298828125, -0.03338623046875, 0.0005545616149902344, -0.037933349609375, 0.0132598876953125, 0.004154205322265625, 0.01067352294921875, -0.00347137451171875, 0.03350830078125, 0.039154052734375, -0.006481170654296875, 0.0027103424072265625, -0.0140533447265625, 0.01544189453125, -0.05364990234375, 0.01264190673828125, -0.0207977294921875, -0.06201171875, -0.038299560546875, -0.044219970703125, 0.037628173828125, 0.0230255126953125, 0.024627685546875, 0.021453857421875, 0.03302001953125, -0.004024505615234375, 0.0286712646484375, -0.0307464599609375, 0.0203857421875, -0.02947998046875, 0.0015745162963867188, 0.00531768798828125, 0.0008292198181152344, -0.0579833984375, 0.0579833984375, -0.01043701171875, 0.0190277099609375, 0.051300048828125, -0.031402587890625, -0.0012226104736328125, 0.0238037109375, -0.01509857177734375, -0.03521728515625, -0.044342041015625, -0.007053375244140625, 0.003818511962890625, -0.007297515869140625, -0.005828857421875, -0.0096588134765625, 0.0548095703125, -0.032196044921875, -0.032623291015625, 0.0013818740844726562, -0.06854248046875, -0.0280303955078125, 0.0095367431640625, 0.03802490234375, 0.041229248046875, -0.03424072265625, -0.0305023193359375, 0.010528564453125, 0.00482177734375, -0.04449462890625, 0.0029392242431640625, 0.01233673095703125, 0.0237884521484375, -0.00038123130798339844, 0.045379638671875, -0.0100860595703125, -0.004543304443359375, -0.0116424560546875, 0.0287017822265625, 0.00921630859375, -0.02978515625, -0.03375244140625, -0.052001953125, -0.0004754066467285156, 0.0233306884765625, -0.03656005859375, -0.0213623046875, -0.067626953125, 0.0084228515625, 0.0234832763671875, 0.01105499267578125, -0.07275390625, 0.059814453125, -0.0202789306640625, -0.00821685791015625, -0.005191802978515625, 0.0119781494140625, -0.0020751953125, 0.019134521484375, -0.005817413330078125, -0.03253173828125, -0.013214111328125, 0.05999755859375, 0.0003604888916015625, -0.01019287109375, 0.0119171142578125, -0.0139007568359375, 0.017852783203125, -0.05010986328125, 0.0100555419921875, -0.000026404857635498047, -0.00537872314453125, -0.00606536865234375, 0.034576416015625, -0.01161956787109375, -0.0284423828125, -0.0224456787109375, 0.006015777587890625, 0.0015020370483398438, -0.02349853515625, -0.0290069580078125, 0.01093292236328125, 0.00769805908203125, -0.037689208984375, -0.0767822265625, 0.07696533203125, -0.0291290283203125, -0.0280609130859375, -0.0728759765625, 0.06829833984375, 0.0236663818359375, -0.031951904296875, -0.036102294921875, 0.037841796875, -0.01219940185546875, -0.0094451904296875, -0.0090789794921875, -0.01410675048828125, 0.0291290283203125, -0.008331298828125, -0.04962158203125, -0.002719879150390625, -0.005462646484375, -0.013153076171875, 0.0151214599609375, 0.00017845630645751953, 0.0269927978515625, 0.062103271484375, -0.0237579345703125, 0.0220184326171875, -0.0183563232421875, -0.04046630859375, -0.00189971923828125, -0.0411376953125, -0.043304443359375, -0.0217132568359375, 0.0845947265625, 0.05072021484375, 0.036956787109375, -0.034881591796875, -0.0511474609375, -0.0245361328125, 0.00710296630859375, -0.02276611328125, 0.00925445556640625, -0.059356689453125, 0.00775146484375, -0.032958984375, -0.0252227783203125, -0.01910400390625, 0.00496673583984375, -0.03533935546875, 0.0017242431640625, 0.00246429443359375, -0.0123443603515625, 0.0079498291015625, 0.05938720703125, -0.025604248046875, -0.0091705322265625, -0.0157928466796875, -0.03302001953125, -0.0244903564453125, -0.0265045166015625, -0.032928466796875, 0.037445068359375, 0.011810302734375, -0.055328369140625, 0.0190887451171875, 0.00545501708984375, 0.033477783203125, -0.055877685546875, -0.035736083984375, -0.0227203369140625, -0.0010585784912109375, 0.006793975830078125, -0.0023517608642578125, -0.016082763671875, -0.0259857177734375, -0.00359344482421875, 0.01123046875, -0.004085540771484375, 0.0228118896484375, -0.025299072265625, 0.04718017578125, 0.0224609375, -0.031097412109375, 0.043304443359375, -0.018829345703125, 0.004833221435546875, -0.0265045166015625, 0.0081634521484375, -0.0965576171875, 0.07366943359375, 0.046142578125, 0.016998291015625, 0.05706787109375 ]
2d6647924b699a14ed896cc2c66d63baf49466ef
Wordpress Stackexchange Q: 301 Redirects for Changed Permalink Structure & Category Base I'm redeveloping a site on a fresh WP install. The old site had the following permalink structure: domain.com/CATEGORY/POSTNAME/ The new site has the following permalink structure: domain.com/YEAR/MONTH/POSTNAME/ I need to set up a 301 redirect in htaccess that correctly redirects the old posts. I've found a lot of rewrite rules for the opposite way (YEAR/MONTH/POSTNAME/ to CATEGORY/POSTNAME/) but none for the way I need. I prefer not to use a plugin. It appears that all the redirection plugins don't work. But, if Dean's Permalink Migration is recommended I'll use it. A: WordPress actually 301's these out of the box! It handles a number of basic structures by default, so unless you're switching to or from a very unique configuration (e.g. /blog/%postname%/), it will probably work.
Q: 301 Redirects for Changed Permalink Structure & Category Base I'm redeveloping a site on a fresh WP install. The old site had the following permalink structure: domain.com/CATEGORY/POSTNAME/ The new site has the following permalink structure: domain.com/YEAR/MONTH/POSTNAME/ I need to set up a 301 redirect in htaccess that correctly redirects the old posts. I've found a lot of rewrite rules for the opposite way (YEAR/MONTH/POSTNAME/ to CATEGORY/POSTNAME/) but none for the way I need. I prefer not to use a plugin. It appears that all the redirection plugins don't work. But, if Dean's Permalink Migration is recommended I'll use it. A: WordPress actually 301's these out of the box! It handles a number of basic structures by default, so unless you're switching to or from a very unique configuration (e.g. /blog/%postname%/), it will probably work.
wordpress
{ "language": "en", "length": 135, "provenance": "stackexchange_00019.jsonl.gz:414769", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34236" }
[ 0.041351318359375, -0.012237548828125, -0.0208587646484375, -0.0263519287109375, -0.0086669921875, -0.033843994140625, 0.0255279541015625, -0.01515960693359375, -0.0008668899536132812, 0.0283050537109375, 0.00504302978515625, -0.00823211669921875, -0.005764007568359375, -0.041229248046875, 0.0046539306640625, -0.004611968994140625, 0.027557373046875, -0.04840087890625, -0.0033473968505859375, -0.011932373046875, 0.019866943359375, 0.0081329345703125, 0.036376953125, 0.013641357421875, 0.0018892288208007812, -0.0212554931640625, 0.09173583984375, -0.0740966796875, 0.017852783203125, -0.0516357421875, 0.01111602783203125, 0.00885009765625, 0.01409149169921875, 0.01751708984375, 0.0015707015991210938, 0.058258056640625, 0.010650634765625, 0.0160980224609375, 0.0377197265625, -0.003932952880859375, 0.0208282470703125, -0.024017333984375, 0.035888671875, 0.01375579833984375, 0.0305633544921875, -0.049896240234375, 0.0147552490234375, -0.09027099609375, 0.0161590576171875, -0.0285186767578125, 0.00821685791015625, 0.003498077392578125, 0.0224456787109375, -0.01282501220703125, -0.0340576171875, -0.024688720703125, -0.003078460693359375, -0.017181396484375, 0.02734375, 0.01049041748046875, -0.01004791259765625, -0.006381988525390625, 0.0121307373046875, -0.007450103759765625, -0.041748046875, -0.0157928466796875, -0.015625, 0.0259246826171875, -0.053680419921875, -0.043609619140625, 0.045501708984375, -0.021942138671875, -0.0066070556640625, -0.030120849609375, 0.02081298828125, -0.01091766357421875, 0.0012941360473632812, -0.0095062255859375, 0.00004547834396362305, 0.0372314453125, 0.016876220703125, 0.026397705078125, 0.03125, -0.07440185546875, 0.058197021484375, -0.032379150390625, -0.01291656494140625, -0.01214599609375, -0.05303955078125, -0.0528564453125, -0.0234222412109375, -0.037628173828125, -0.07574462890625, -0.02301025390625, 0.00010496377944946289, -0.045074462890625, 0.033050537109375, 0.035430908203125, 0.01861572265625, 0.0089569091796875, 0.01507568359375, -0.038238525390625, -0.009613037109375, -0.017059326171875, 0.00969696044921875, 0.030731201171875, 0.0304107666015625, 0.012420654296875, 0.033233642578125, 0.0018310546875, -0.007587432861328125, 0.0709228515625, -0.0258026123046875, -0.0038967132568359375, -0.0225067138671875, 0.05218505859375, -0.03375244140625, -0.012054443359375, -0.03228759765625, 0.037017822265625, 0.0079193115234375, 0.053253173828125, 0.0167999267578125, -0.01381683349609375, 0.006702423095703125, 0.00913238525390625, -0.00691986083984375, -0.0574951171875, 0.002925872802734375, -0.004268646240234375, -0.01441192626953125, 0.01486968994140625, 0.00531005859375, 0.0216522216796875, -0.00010704994201660156, -0.01129150390625, 0.072265625, -0.05963134765625, -0.0362548828125, 0.03363037109375, -0.004398345947265625, -0.0085601806640625, -0.0012035369873046875, -0.031707763671875, 0.01471710205078125, 0.0201568603515625, 0.0204010009765625, 0.0284423828125, 0.0052490234375, -0.040252685546875, 0.0034942626953125, -0.0036106109619140625, 0.06011962890625, -0.0072021484375, -0.042633056640625, -0.037322998046875, -0.002166748046875, -0.01617431640625, -0.0245513916015625, -0.0504150390625, 0.032745361328125, -0.006656646728515625, 0.005748748779296875, -0.044830322265625, -0.067138671875, -0.007442474365234375, -0.078125, -0.0198211669921875, 0.0213165283203125, -0.01412200927734375, 0.00927734375, -0.01203155517578125, 0.0004496574401855469, -0.017181396484375, -0.007213592529296875, 0.005092620849609375, 0.000762939453125, 0.007068634033203125, -0.0032634735107421875, 0.050994873046875, 0.03472900390625, -0.0175018310546875, -0.0095977783203125, 0.035186767578125, -0.050628662109375, 0.0298919677734375, 0.01242828369140625, 0.0426025390625, -0.0213165283203125, 0.01287078857421875, 0.047332763671875, 0.038360595703125, -0.07952880859375, 0.0281219482421875, -0.0167999267578125, 0.00861358642578125, 0.0299072265625, 0.0214996337890625, 0.00786590576171875, -0.02838134765625, -0.0105743408203125, 0.039703369140625, -0.029266357421875, 0.057281494140625, 0.016632080078125, 0.0204010009765625, 0.00975799560546875, 0.011993408203125, 0.03070068359375, 0.049041748046875, 0.01450347900390625, 0.0382080078125, -0.0362548828125, -0.023345947265625, -0.00914764404296875, 0.037872314453125, -0.0166778564453125, 0.0013523101806640625, 0.005107879638671875, 0.00818634033203125, 0.010498046875, -0.0171661376953125, -0.00817108154296875, -0.0081634521484375, 0.0257110595703125, -0.040283203125, 0.0004596710205078125, -0.046844482421875, -0.01885986328125, 0.01088714599609375, -0.08282470703125, 0.043243408203125, 0.0205535888671875, 0.031402587890625, -0.044342041015625, 0.0036144256591796875, -0.0135498046875, -0.00914764404296875, -0.00522613525390625, 0.043304443359375, 0.0226287841796875, 0.024200439453125, -0.035125732421875, -0.019256591796875, -0.0070953369140625, -0.07745361328125, -0.010040283203125, 0.00189971923828125, 0.0233154296875, 0.0693359375, 0.0158843994140625, -0.0028667449951171875, 0.019866943359375, -0.024383544921875, -0.0155029296875, 0.05157470703125, 0.0078887939453125, -0.0279083251953125, -0.01458740234375, 0.01177978515625, 0.0237884521484375, -0.029205322265625, -0.0655517578125, 0.006679534912109375, 0.05694580078125, -0.01456451416015625, 0.0228118896484375, 0.012054443359375, -0.018280029296875, 0.002590179443359375, 0.00923919677734375, -0.041412353515625, 0.0133056640625, 0.033355712890625, 0.0322265625, -0.0270843505859375, -0.0220947265625, -0.0139923095703125, 0.0241241455078125, 0.0133819580078125, -0.0247650146484375, 0.039886474609375, -0.033294677734375, -0.0190277099609375, -0.03271484375, -0.0267486572265625, -0.017822265625, -0.004650115966796875, 0.03094482421875, 0.0113372802734375, 0.053009033203125, -0.0289459228515625, -0.01084136962890625, -0.0093231201171875, 0.009063720703125, -0.046539306640625, 0.0170440673828125, -0.04754638671875, 0.043670654296875, -0.03912353515625, 0.0141143798828125, 0.052764892578125, 0.0012264251708984375, -0.00363922119140625, 0.0005631446838378906, 0.006305694580078125, 0.0018768310546875, 0.006870269775390625, -0.0178375244140625, -0.00415802001953125, -0.0462646484375, -0.00817108154296875, 0.0294189453125, 0.033355712890625, 0.006122589111328125, -0.0257415771484375, 0.01464080810546875, 0.021240234375, -0.052215576171875, -0.07257080078125, -0.05633544921875, -0.01438140869140625, 0.0478515625, 0.0322265625, 0.02056884765625, -0.03472900390625, 0.049560546875, 0.0168609619140625, 0.0595703125, -0.027435302734375, -0.09259033203125, -0.04534912109375, -0.10906982421875, -0.029937744140625, -0.006832122802734375, 0.00020813941955566406, 0.00455474853515625, -0.04217529296875, -0.0173492431640625, -0.04302978515625, -0.00724029541015625, 0.04541015625, 0.012939453125, 0.0017766952514648438, -0.0113525390625, 0.0223388671875, 0.0213470458984375, 0.0017309188842773438, 0.072509765625, 0.054046630859375, -0.048614501953125, 0.0081787109375, -0.00439453125, -0.0017833709716796875, 0.0171966552734375, -0.0304412841796875, -0.0038299560546875, -0.01247406005859375, -0.002414703369140625, -0.048065185546875, -0.0299835205078125, -0.00766754150390625, -0.045806884765625, -0.005382537841796875, 0.007415771484375, 0.00925445556640625, 0.011444091796875, -0.018890380859375, 0.0173187255859375, 0.01751708984375, 0.01800537109375, -0.040985107421875, 0.04449462890625, 0.00872802734375, 0.00928497314453125, -0.044708251953125, -0.0076141357421875, -0.056976318359375, 0.035430908203125, -0.01354217529296875, -0.039947509765625, -0.0228271484375, -0.0025634765625, -0.01343536376953125, -0.0889892578125, 0.0168304443359375, -0.10736083984375, -0.02984619140625, -0.06329345703125, 0.0094757080078125, 0.000015854835510253906, 0.0811767578125, 0.01432037353515625, -0.01448822021484375, -0.02093505859375, -0.00928497314453125, -0.006313323974609375, -0.01476287841796875, -0.006481170654296875, -0.01236724853515625, -0.0762939453125, -0.00948333740234375, 0.012298583984375, -0.045135498046875, -0.001163482666015625, -0.0198516845703125, -0.03900146484375, -0.03125, 0.0335693359375, 0.0328369140625, 0.0035228729248046875, -0.01470184326171875, -0.0181427001953125, -0.00011932849884033203, -0.0246124267578125, 0.0144500732421875, -0.048248291015625, -0.020263671875, 0.0205841064453125, 0.047607421875, 0.0149993896484375, -0.0252532958984375, 0.0175323486328125, 0.056854248046875, 0.0017499923706054688, 0.0220794677734375, 0.01514434814453125, 0.00893402099609375, -0.00099945068359375, 0.0099639892578125, 0.0021610260009765625, -0.0185394287109375, -0.0045928955078125, -0.0447998046875, -0.023223876953125, -0.00916290283203125, -0.041229248046875, 0.007328033447265625, -0.0275726318359375, -0.0013370513916015625, -0.056640625, -0.006275177001953125, -0.0187835693359375, 0.0279693603515625, -0.0340576171875, 0.006099700927734375, -0.00823211669921875, -0.0714111328125, 0.048248291015625, -0.007434844970703125, 0.00707244873046875, -0.0046844482421875, 0.03668212890625, -0.005924224853515625, -0.036041259765625, 0.0147552490234375, 0.053802490234375, 0.0242156982421875, -0.006683349609375, 0.03826904296875, -0.021240234375, -0.0131072998046875, 0.06475830078125, -0.035675048828125, 0.0020542144775390625, -0.037841796875, 0.0184478759765625, 0.019561767578125, -0.00414276123046875, 0.0009713172912597656, -0.01629638671875, 0.043670654296875, 0.06756591796875, 0.004062652587890625, -0.00160980224609375, -0.04998779296875, 0.01519775390625, 0.0130462646484375, -0.016815185546875, -0.046234130859375, -0.035675048828125, 0.01436614990234375, 0.009429931640625, 0.032440185546875, 0.0128631591796875, 0.0050506591796875, 0.0156402587890625, 0.03240966796875, -0.006793975830078125, -0.00305938720703125, -0.0075836181640625, -0.0019989013671875, 0.0238800048828125, 0.004123687744140625, -0.007053375244140625, 0.0008797645568847656, 0.004871368408203125, -0.0055999755859375, 0.0083770751953125, 0.00418853759765625, -0.019287109375, -0.0230712890625, -0.02899169921875, 0.0171051025390625, -0.051666259765625, 0.020751953125, 0.035400390625, -0.021148681640625, 0.0118865966796875, -0.03472900390625, -0.02410888671875, -0.033294677734375, 0.036407470703125, 0.000530242919921875, 0.005817413330078125, 0.0107879638671875, 0.059783935546875, 0.04595947265625, 0.01490020751953125, -0.0325927734375, 0.0172882080078125, 0.04241943359375, 0.0240936279296875, 0.0265045166015625, -0.0247802734375, -0.008575439453125, -0.00855255126953125, 0.008636474609375, -0.053924560546875, -0.038421630859375, 0.0399169921875, 0.056365966796875, -0.0088043212890625, -0.0011529922485351562, 0.0035228729248046875, 0.0161285400390625, -0.006351470947265625, 0.037750244140625, -0.03271484375, -0.056549072265625, -0.030181884765625, 0.0146942138671875, 0.046600341796875, -0.036346435546875, -0.02813720703125, 0.00007450580596923828, -0.062255859375, 0.0154266357421875, 0.0074310302734375, 0.007083892822265625, -0.006763458251953125, -0.01251983642578125, 0.01024627685546875, -0.0177001953125, -0.00830078125, 0.0472412109375, 0.019317626953125, -0.045166015625, -0.029296875, 0.06085205078125, -0.0117950439453125, 0.0190277099609375, 0.0012607574462890625, -0.02423095703125, 0.07208251953125, -0.001773834228515625, 0.06610107421875, 0.00971221923828125, -0.038299560546875, -0.0035724639892578125, -0.03070068359375, -0.007144927978515625, 0.00909423828125, -0.0019254684448242188, -0.0070648193359375, -0.00804901123046875, 0.033233642578125, 0.018646240234375, 0.0318603515625, -0.00386810302734375, -0.01348876953125, 0.01226043701171875, 0.0167083740234375, 0.0169219970703125, -0.030517578125, 0.046875, -0.0098114013671875, 0.039794921875, -0.0133514404296875, 0.00833892822265625, 0.0005240440368652344, -0.0235137939453125, 0.0109100341796875, -0.064697265625, -0.028900146484375, -0.0183258056640625, -0.0231781005859375, 0.0305633544921875, 0.048370361328125, 0.00034689903259277344, 0.0033664703369140625, 0.0013904571533203125, 0.01337432861328125, -0.0307159423828125, -0.0338134765625, -0.053192138671875, 0.005664825439453125, -0.035858154296875, 0.03216552734375, 0.07391357421875, -0.0445556640625, -0.03240966796875, -0.022796630859375, 0.004878997802734375, 0.007808685302734375, 0.029022216796875, -0.048004150390625, 0.00318145751953125, 0.0248565673828125, 0.02471923828125, 0.031005859375, 0.00029540061950683594, 0.0286865234375, 0.0297698974609375, -0.031463623046875, 0.06390380859375, 0.0391845703125, 0.063720703125, -0.0227813720703125, 0.013519287109375, 0.060211181640625, -0.021240234375, -0.003025054931640625, 0.045684814453125, 0.034088134765625, -0.0740966796875, -0.005603790283203125, 0.0103607177734375, 0.004177093505859375, 0.035675048828125, 0.01153564453125, -0.01039886474609375, 0.01690673828125, -0.022735595703125, -0.0303802490234375, -0.02520751953125, -0.01064300537109375, 0.0158843994140625, -0.0032558441162109375, 0.01145172119140625, 0.0181732177734375, 0.0097198486328125, -0.03173828125, -0.0192413330078125, 0.024322509765625, -0.006931304931640625, -0.0023326873779296875, -0.0169525146484375, 0.00787353515625, -0.041351318359375, -0.00945281982421875, 0.048614501953125, -0.0196533203125, 0.01690673828125, 0.012451171875, -0.0242767333984375, 0.0163726806640625, 0.0419921875, -0.0222320556640625, 0.0090179443359375, 0.020416259765625, -0.04010009765625, 0.055755615234375, -0.0167388916015625, -0.003017425537109375, -0.05438232421875, 0.0087738037109375, -0.0162200927734375, -0.01245880126953125, -0.0445556640625, -0.01172637939453125, -0.0390625, 0.036285400390625, -0.0266265869140625, -0.0096893310546875, 0.0081329345703125, 0.0253143310546875, 0.0007371902465820312, 0.01305389404296875, 0.026092529296875, -0.0099029541015625, 0.0010004043579101562, 0.00409698486328125, -0.0159149169921875, -0.00262451171875, -0.0142974853515625, -0.054962158203125, 0.0885009765625, 0.0213470458984375, 0.049774169921875, 0.043914794921875, 0.0240325927734375, -0.03839111328125, -0.0023193359375, -0.0265655517578125, 0.053985595703125, -0.0157928466796875, 0.0254058837890625, -0.0340576171875, -0.00339508056640625, 0.00974273681640625, 0.0259246826171875, 0.092529296875, 0.0194854736328125, -0.08013916015625, 0.0006542205810546875, 0.0738525390625, 0.037200927734375, -0.003360748291015625, 0.0684814453125, -0.04388427734375, -0.004611968994140625, 0.00443267822265625, -0.01425933837890625, 0.0144500732421875, 0.014251708984375, -0.07379150390625, -0.0106964111328125, 0.00634002685546875, 0.00958251953125, -0.004241943359375, -0.057830810546875, -0.05133056640625, 0.0039215087890625, 0.03515625, 0.007221221923828125, 0.046722412109375, 0.003509521484375, 0.0173797607421875, -0.06011962890625, -0.004100799560546875, -0.0249481201171875, 0.037689208984375, -0.0231475830078125, 0.0225067138671875, 0.01483154296875, 0.021148681640625, 0.03570556640625, -0.0255889892578125, 0.0091094970703125, 0.01207733154296875, -0.040191650390625, 0.0753173828125, 0.0606689453125, 0.043670654296875, 0.0104217529296875, -0.042694091796875, 0.034942626953125, 0.09259033203125, -0.035858154296875, -0.0160064697265625, 0.0078887939453125, 0.01934814453125, 0.026824951171875, -0.00807952880859375, 0.051605224609375, 0.004638671875, 0.00514984130859375, -0.0133056640625, -0.0033931732177734375, 0.0260467529296875, 0.032012939453125, -0.0066375732421875, -0.0233917236328125, -0.048187255859375, 0.0136260986328125, -0.07562255859375, 0.052001953125, 0.04913330078125, 0.06439208984375, -0.009613037109375, 0.044769287109375, 0.0174713134765625, -0.025390625, 0.0121917724609375, -0.0106658935546875, 0.0005030632019042969, -0.00951385498046875, -0.02838134765625, -0.03350830078125, 0.038604736328125, 0.048095703125, 0.039093017578125, 0.005474090576171875, 0.00963592529296875, -0.01439666748046875, -0.0003554821014404297, 0.0086212158203125, 0.00307464599609375, -0.0184478759765625, 0.0357666015625, -0.0236663818359375, 0.0216217041015625, -0.0218963623046875, -0.016998291015625, -0.04144287109375, 0.032928466796875, 0.006378173828125, -0.0005507469177246094, 0.025177001953125, 0.005039215087890625, -0.02886962890625, 0.02142333984375, -0.01407623291015625, 0.0985107421875, 0.023406982421875, 0.01151275634765625, -0.01953125, -0.00604248046875, -0.0494384765625, 0.015411376953125, 0.043792724609375, 0.032135009765625, -0.039276123046875, -0.031646728515625, -0.020172119140625, 0.0251922607421875, -0.01470184326171875, 0.00754547119140625, 0.033843994140625, -0.007122039794921875, -0.0014133453369140625, -0.03125, -0.0015735626220703125, 0.013458251953125, 0.01605224609375, -0.0087127685546875, 0.076416015625, -0.02093505859375, -0.0121307373046875, -0.035797119140625, 0.012908935546875, -0.051727294921875, -0.02978515625, 0.031768798828125, -0.01036834716796875, -0.0229339599609375, 0.00909423828125, -0.0562744140625, -0.0213470458984375, 0.034515380859375, -0.017669677734375, -0.0023632049560546875, -0.025970458984375, 0.0290679931640625, -0.00653076171875, -0.0082550048828125, -0.0484619140625, -0.07830810546875, -0.04730224609375, 0.0023975372314453125, -0.0193634033203125, 0.01068115234375, 0.00876617431640625, 0.0382080078125, -0.00431060791015625, -0.024261474609375, 0.0081787109375, -0.04351806640625, 0.01181793212890625, 0.046142578125, 0.00899505615234375, -0.008331298828125, 0.051910400390625, -0.004608154296875, 0.002208709716796875, 0.028717041015625, 0.005954742431640625, 0.03668212890625, -0.0244293212890625, -0.020599365234375, -0.01239776611328125, 0.0027828216552734375, -0.0008831024169921875, 0.00318145751953125, -0.031524658203125, -0.02435302734375, 0.0169219970703125, -0.0032634735107421875, -0.01555633544921875, -0.00998687744140625, -0.0174713134765625, 0.01070404052734375, -0.01078033447265625, -0.049591064453125, -0.02874755859375, -0.0014982223510742188, 0.01134490966796875, 0.0088653564453125, -0.042877197265625, 0.039276123046875, -0.014923095703125, 0.0178680419921875, -0.0330810546875, -0.001678466796875, 0.0023784637451171875, 0.0034656524658203125, -0.07904052734375, -0.00629425048828125, -0.055511474609375, -0.0343017578125, -0.05413818359375, -0.0011186599731445312, 0.0250244140625, -0.012603759765625, -0.032623291015625, -0.0197296142578125, -0.024169921875, 0.033905029296875, -0.02349853515625, -0.005535125732421875, -0.004428863525390625, 0.0352783203125, -0.017547607421875, -0.054443359375, 0.0014591217041015625, 0.0020618438720703125, -0.0015106201171875, -0.02490234375, -0.040985107421875, -0.034637451171875, -0.05078125, -0.047637939453125, 0.060638427734375, -0.006099700927734375, -0.01201629638671875, -0.03155517578125, -0.015777587890625, -0.01465606689453125, 0.058990478515625, 0.006969451904296875, -0.03497314453125, -0.039886474609375, 0.021484375, -0.0014486312866210938, 0.0316162109375, -0.0251922607421875, 0.007183074951171875, -0.002796173095703125, 0.04119873046875, 0.044647216796875, -0.0136566162109375, 0.019287109375, -0.016021728515625, 0.0257415771484375, 0.05767822265625, -0.030242919921875, -0.0023860931396484375, -0.017669677734375, -0.0008878707885742188, 0.021087646484375, -0.039306640625, -0.052215576171875, -0.0621337890625, 0.040740966796875, -0.01320648193359375, 0.01053619384765625, 0.0255584716796875, -0.054595947265625, -0.04217529296875, 0.001300811767578125, -0.02301025390625, 0.01873779296875, -0.0709228515625, 0.015716552734375, -0.0100555419921875, 0.0033817291259765625, 0.0090179443359375, 0.0036067962646484375, 0.0023059844970703125, 0.0025348663330078125, 0.01297760009765625, -0.033477783203125, 0.0153350830078125, 0.01439666748046875, 0.04644775390625, -0.044219970703125, -0.0262298583984375, -0.003238677978515625, 0.01413726806640625, -0.02288818359375, -0.044708251953125, 0.0093841552734375, 0.041656494140625, -0.01360321044921875, -0.0163116455078125, 0.040802001953125, 0.0206298828125, 0.00904083251953125, -0.006694793701171875, -0.00753021240234375, 0.028228759765625, 0.01483154296875, 0.03570556640625, -0.0345458984375, 0.04986572265625, 0.014404296875, 0.069091796875, 0.0254364013671875, -0.01355743408203125, -0.0018367767333984375, 0.051971435546875, -0.03662109375, -0.011077880859375, -0.04241943359375, -0.02960205078125, 0.007404327392578125, 0.03240966796875, 0.024261474609375, -0.0222930908203125, 0.016937255859375, -0.0687255859375, 0.023590087890625, 0.003261566162109375 ]
832a7a5f45a8b1458d33180ee7f8bf3e4c71842f
Wordpress Stackexchange Q: Top Commenters: exclude admin I'm using the following code in my function.php to display the top commenters in my theme: function top_comment_authors($amount = 5){ global $wpdb; $results = $wpdb->get_results(' SELECT COUNT(comment_author_email) AS comments_count, comment_author_email, comment_author, comment_author_url FROM '.$wpdb->comments.' WHERE comment_author_email != "" AND comment_type = "" AND comment_approved = 1 GROUP BY comment_author_email ORDER BY comments_count DESC, comment_author ASC LIMIT '.$amount ); $output = "<ul>"; foreach($results as $result){ $output .= "<li>".get_avatar($result->comment_author_email, 30).' <p>'.(($result->comment_author_url) ? "<a href='".$result->comment_author_url."'>" : "").$result->comment_author.(($result->comment_author_url) ? "</a>" : "")." (".$result->comments_count.")</p></li>"; } $output .= "</ul>"; echo $output; } It works fine, but I'd like to exclude myself, aka the admin/author. Is this possible at all? If so, how would I do that? In what way would I have to modify the code above? Thanks a lot in advance! :) A: Extend the WHERE clause: WHERE comment_author_email != "" AND comment_author_email != "YOUR_MAIL_ADDRESS" AND comment_type = "" AND comment_approved = 1 ) If you want to exclude multiple email addresses, use the NOT IN operator and a comma separated list of strings: AND comment_author_email NOT IN ( "[email protected]", "[email protected]" )
Q: Top Commenters: exclude admin I'm using the following code in my function.php to display the top commenters in my theme: function top_comment_authors($amount = 5){ global $wpdb; $results = $wpdb->get_results(' SELECT COUNT(comment_author_email) AS comments_count, comment_author_email, comment_author, comment_author_url FROM '.$wpdb->comments.' WHERE comment_author_email != "" AND comment_type = "" AND comment_approved = 1 GROUP BY comment_author_email ORDER BY comments_count DESC, comment_author ASC LIMIT '.$amount ); $output = "<ul>"; foreach($results as $result){ $output .= "<li>".get_avatar($result->comment_author_email, 30).' <p>'.(($result->comment_author_url) ? "<a href='".$result->comment_author_url."'>" : "").$result->comment_author.(($result->comment_author_url) ? "</a>" : "")." (".$result->comments_count.")</p></li>"; } $output .= "</ul>"; echo $output; } It works fine, but I'd like to exclude myself, aka the admin/author. Is this possible at all? If so, how would I do that? In what way would I have to modify the code above? Thanks a lot in advance! :) A: Extend the WHERE clause: WHERE comment_author_email != "" AND comment_author_email != "YOUR_MAIL_ADDRESS" AND comment_type = "" AND comment_approved = 1 ) If you want to exclude multiple email addresses, use the NOT IN operator and a comma separated list of strings: AND comment_author_email NOT IN ( "[email protected]", "[email protected]" ) A: comment_author_email is fine but as far as I'm concerned I prefer using user id : AND user_id!="1" It should do the job !
wordpress
{ "language": "en", "length": 206, "provenance": "stackexchange_00019.jsonl.gz:414777", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34251" }
[ 0.06744384765625, -0.0084686279296875, 0.0275726318359375, -0.0548095703125, 0.0022296905517578125, -0.016845703125, 0.0233612060546875, -0.020782470703125, 0.0008516311645507812, 0.036773681640625, -0.005855560302734375, -0.005954742431640625, -0.0228729248046875, -0.0289764404296875, -0.034942626953125, -0.02288818359375, 0.0079803466796875, 0.035797119140625, 0.0307464599609375, -0.01238250732421875, 0.006443023681640625, -0.0024051666259765625, -0.040008544921875, 0.06927490234375, 0.007465362548828125, -0.0526123046875, 0.1334228515625, -0.0277862548828125, 0.0178680419921875, -0.016693115234375, 0.01311492919921875, -0.0059814453125, -0.01454925537109375, 0.05450439453125, -0.0099029541015625, -0.003353118896484375, -0.01263427734375, 0.03021240234375, 0.033416748046875, 0.003734588623046875, 0.01493072509765625, 0.01373291015625, -0.0640869140625, 0.0155792236328125, -0.068115234375, -0.055938720703125, 0.0176849365234375, 0.0162353515625, 0.05462646484375, 0.019256591796875, -0.0224609375, 0.03546142578125, -0.0175933837890625, -0.0222625732421875, -0.016082763671875, 0.00905609130859375, 0.0162506103515625, -0.018829345703125, 0.014892578125, -0.0426025390625, -0.01427459716796875, 0.0215606689453125, 0.04168701171875, 0.02886962890625, -0.0166015625, 0.015838623046875, 0.048370361328125, 0.01654052734375, 0.040130615234375, -0.034637451171875, -0.0259246826171875, 0.0220489501953125, 0.0010061264038085938, -0.01274871826171875, -0.0343017578125, -0.0265960693359375, -0.0028324127197265625, -0.036407470703125, 0.0186309814453125, -0.00797271728515625, 0.0030536651611328125, 0.01132965087890625, -0.072998046875, 0.006988525390625, 0.0169219970703125, 0.050537109375, -0.01320648193359375, -0.034423828125, -0.046661376953125, 0.0293426513671875, -0.0233917236328125, -0.0309600830078125, -0.025543212890625, 0.0221710205078125, 0.0208892822265625, -0.005535125732421875, 0.01898193359375, 0.0467529296875, -0.0263214111328125, -0.036041259765625, -0.00415802001953125, 0.00640869140625, -0.08563232421875, -0.009857177734375, 0.01739501953125, 0.06842041015625, -0.04461669921875, -0.014739990234375, 0.045623779296875, 0.0256500244140625, 0.0458984375, -0.047882080078125, -0.0226287841796875, -0.033966064453125, 0.0231781005859375, -0.0040740966796875, -0.06695556640625, 0.05047607421875, 0.0005345344543457031, -0.0261077880859375, 0.01528167724609375, 0.0333251953125, -0.035369873046875, -0.046295166015625, 0.0081939697265625, -0.017303466796875, -0.031402587890625, 0.01183319091796875, 0.0134124755859375, 0.047882080078125, -0.0400390625, -0.0024356842041015625, 0.05084228515625, 0.013763427734375, 0.0204620361328125, -0.0194091796875, 0.039825439453125, 0.02593994140625, 0.019195556640625, -0.0061187744140625, 0.0257415771484375, -0.004787445068359375, -0.0160980224609375, 0.01885986328125, -0.057159423828125, 0.0182647705078125, -0.0012731552124023438, 0.00811004638671875, -0.01529693603515625, -0.04803466796875, -0.0159454345703125, -0.0291748046875, 0.01361083984375, 0.0008349418640136719, 0.0168304443359375, 0.0028591156005859375, -0.004329681396484375, -0.0133514404296875, 0.01357269287109375, 0.01538848876953125, 0.044342041015625, 0.0010166168212890625, -0.0377197265625, -0.038909912109375, -0.0665283203125, -0.0078582763671875, -0.0223236083984375, 0.006061553955078125, 0.018341064453125, -0.01763916015625, 0.0293731689453125, -0.0189666748046875, 0.02490234375, 0.0180206298828125, 0.0052490234375, 0.029693603515625, -0.0246734619140625, -0.0078125, -0.0022907257080078125, 0.0081634521484375, -0.0028076171875, -0.035369873046875, -0.042938232421875, 0.032806396484375, -0.036712646484375, 0.0152587890625, 0.02276611328125, 0.046539306640625, -0.0070648193359375, 0.01416015625, 0.048553466796875, 0.02642822265625, 0.01995849609375, -0.0192718505859375, -0.006481170654296875, -0.0209197998046875, -0.032562255859375, -0.0006594657897949219, -0.0160064697265625, 0.03887939453125, 0.03179931640625, 0.004913330078125, 0.0141448974609375, -0.01412200927734375, -0.04791259765625, 0.0192718505859375, -0.020660400390625, 0.037322998046875, -0.0016107559204101562, 0.0150909423828125, 0.011474609375, -0.01206207275390625, -0.0460205078125, 0.0546875, -0.01543426513671875, -0.03607177734375, 0.001560211181640625, 0.045806884765625, 0.0023193359375, 0.049652099609375, -0.00333404541015625, -0.032318115234375, -0.006626129150390625, -0.002895355224609375, 0.040435791015625, -0.038848876953125, -0.006908416748046875, -0.05560302734375, 0.03253173828125, -0.0284423828125, -0.006168365478515625, 0.06732177734375, 0.020782470703125, 0.03662109375, -0.034637451171875, 0.0027599334716796875, -0.007076263427734375, -0.014312744140625, -0.005970001220703125, 0.0213470458984375, 0.04742431640625, 0.0224456787109375, 0.00353240966796875, -0.01404571533203125, 0.045074462890625, -0.0231781005859375, 0.0211944580078125, -0.03759765625, 0.0015611648559570312, 0.0199127197265625, -0.0219879150390625, -0.0054168701171875, 0.0292510986328125, -0.0631103515625, 0.008209228515625, 0.048004150390625, 0.005344390869140625, 0.0179595947265625, -0.03857421875, 0.037109375, 0.00780487060546875, 0.00614166259765625, -0.01392364501953125, -0.00415802001953125, 0.0086212158203125, -0.0517578125, -0.01256561279296875, -0.0216064453125, -0.023895263671875, -0.036651611328125, 0.035919189453125, 0.002635955810546875, 0.007335662841796875, 0.025634765625, 0.006927490234375, 0.006011962890625, -0.01432037353515625, -0.01467132568359375, 0.006374359130859375, 0.00736236572265625, -0.0005245208740234375, 0.038482666015625, 0.05255126953125, -0.01436614990234375, 0.0056915283203125, -0.00434112548828125, 0.0202789306640625, -0.016845703125, -0.0138702392578125, -0.01324462890625, 0.0106048583984375, 0.035400390625, -0.01526641845703125, 0.022918701171875, -0.00234222412109375, -0.00937652587890625, 0.01013946533203125, -0.059478759765625, 0.0576171875, -0.039031982421875, 0.0738525390625, 0.080322265625, 0.00815582275390625, 0.0169525146484375, -0.01340484619140625, -0.03582763671875, -0.0242767333984375, 0.01406097412109375, 0.00616455078125, -0.0172882080078125, -0.00942230224609375, 0.0579833984375, 0.0137481689453125, 0.056365966796875, -0.03216552734375, -0.04803466796875, -0.01540374755859375, 0.019134521484375, -0.018707275390625, -0.0201873779296875, 0.01934814453125, -0.01702880859375, -0.034149169921875, 0.0020542144775390625, -0.031402587890625, 0.0007634162902832031, -0.0030078887939453125, -0.0242919921875, 0.033843994140625, -0.03033447265625, -0.0772705078125, -0.037628173828125, -0.076171875, 0.00525665283203125, -0.0061187744140625, 0.00713348388671875, 0.0064239501953125, 0.05877685546875, -0.01739501953125, -0.094482421875, -0.031890869140625, -0.0012521743774414062, 0.006885528564453125, 0.03668212890625, -0.0194091796875, 0.036163330078125, -0.03277587890625, 0.01385498046875, 0.00853729248046875, -0.0094451904296875, -0.0114288330078125, -0.032867431640625, 0.017852783203125, 0.0175323486328125, 0.067626953125, -0.037109375, -0.037506103515625, 0.0309295654296875, 0.045867919921875, -0.0174713134765625, 0.017333984375, -0.0196533203125, -0.00830078125, 0.0249481201171875, -0.01267242431640625, -0.006439208984375, 0.0198516845703125, 0.0028629302978515625, 0.05963134765625, 0.01042938232421875, 0.027496337890625, -0.0159759521484375, -0.0007939338684082031, 0.022430419921875, 0.06982421875, -0.03411865234375, 0.03021240234375, 0.0074310302734375, -0.0198822021484375, -0.0004405975341796875, 0.040283203125, -0.005889892578125, 0.002197265625, -0.03704833984375, -0.0192413330078125, 0.048553466796875, 0.0298004150390625, -0.006267547607421875, 0.006870269775390625, -0.03961181640625, -0.000028789043426513672, 0.047027587890625, -0.0005440711975097656, -0.01934814453125, -0.0419921875, -0.0108795166015625, -0.0006680488586425781, -0.0000680685043334961, -0.00421142578125, 0.0095367431640625, -0.05535888671875, 0.043609619140625, 0.003719329833984375, 0.004962921142578125, -0.0340576171875, 0.024627685546875, -0.04827880859375, -0.0257720947265625, 0.00939178466796875, 0.041015625, 0.00350189208984375, 0.009368896484375, -0.0347900390625, 0.033233642578125, -0.0034732818603515625, -0.0178375244140625, -0.00788116455078125, 0.0005040168762207031, -0.00888824462890625, 0.0013523101806640625, -0.0377197265625, 0.09210205078125, -0.049530029296875, 0.016693115234375, -0.0506591796875, -0.00030231475830078125, -0.03118896484375, 0.033843994140625, -0.0350341796875, 0.0098876953125, -0.035125732421875, -0.01226806640625, -0.0165252685546875, 0.007465362548828125, -0.0222625732421875, 0.006847381591796875, -0.02294921875, -0.029022216796875, 0.02325439453125, -0.03363037109375, -0.02984619140625, -0.017333984375, -0.03338623046875, 0.007015228271484375, -0.011138916015625, -0.02264404296875, -0.0259552001953125, -0.048919677734375, 0.02081298828125, -0.00852203369140625, -0.031951904296875, 0.0184783935546875, 0.028594970703125, 0.027008056640625, -0.01934814453125, -0.040374755859375, -0.0374755859375, 0.04425048828125, -0.0237274169921875, 0.018280029296875, 0.03839111328125, -0.05194091796875, 0.05987548828125, 0.019989013671875, 0.01557159423828125, -0.0238800048828125, 0.03662109375, -0.01328277587890625, -0.0246734619140625, 0.03460693359375, -0.02960205078125, 0.022796630859375, -0.005786895751953125, -0.030029296875, 0.0126953125, -0.0377197265625, 0.0274200439453125, 0.0029659271240234375, 0.00420379638671875, -0.0302276611328125, -0.03948974609375, -0.006214141845703125, -0.0123443603515625, 0.0682373046875, 0.035491943359375, -0.0010318756103515625, 0.04248046875, 0.0379638671875, 0.0264434814453125, -0.00714111328125, -0.01470947265625, -0.0347900390625, 0.03167724609375, -0.004535675048828125, 0.007061004638671875, 0.0196533203125, -0.019073486328125, 0.06988525390625, 0.048187255859375, -0.02679443359375, 0.043121337890625, -0.0085906982421875, 0.02899169921875, -0.031646728515625, -0.0051727294921875, 0.0379638671875, -0.0201873779296875, -0.00004369020462036133, 0.0003612041473388672, -0.0611572265625, 0.006290435791015625, -0.042694091796875, 0.036956787109375, 0.01605224609375, -0.0069580078125, 0.01352691650390625, 0.063720703125, -0.0060577392578125, 0.0419921875, -0.01134490966796875, 0.048004150390625, 0.01165008544921875, 0.04156494140625, -0.01194000244140625, 0.0259857177734375, 0.01263427734375, 0.0289459228515625, 0.01556396484375, 0.0033168792724609375, 0.005817413330078125, 0.01340484619140625, 0.01141357421875, 0.06549072265625, 0.0181427001953125, -0.0177764892578125, -0.00615692138671875, -0.01499176025390625, 0.0479736328125, 0.048431396484375, -0.0149688720703125, -0.006114959716796875, -0.01342010498046875, -0.013763427734375, -0.0040740966796875, -0.032470703125, 0.0201416015625, -0.048065185546875, -0.019012451171875, 0.037017822265625, -0.0703125, 0.016021728515625, 0.0305938720703125, -0.0211639404296875, 0.001811981201171875, 0.002437591552734375, -0.05401611328125, -0.0633544921875, -0.0063629150390625, 0.0274658203125, 0.06451416015625, -0.0131378173828125, 0.0052947998046875, -0.02239990234375, 0.0015993118286132812, -0.02618408203125, -0.0095977783203125, 0.060638427734375, 0.042327880859375, -0.01361083984375, -0.0020046234130859375, -0.07342529296875, -0.018829345703125, 0.021881103515625, 0.0031833648681640625, -0.00843048095703125, -0.0147552490234375, 0.02001953125, 0.00601959228515625, -0.00717926025390625, -0.066162109375, -0.01535797119140625, 0.01543426513671875, 0.040924072265625, 0.0270843505859375, -0.01551055908203125, 0.07025146484375, -0.0259857177734375, 0.0168304443359375, 0.00286865234375, 0.06610107421875, 0.0270843505859375, -0.022247314453125, 0.0011806488037109375, -0.05572509765625, 0.0018148422241210938, 0.01078033447265625, -0.048492431640625, -0.007106781005859375, 0.028961181640625, 0.00004267692565917969, 0.0194244384765625, -0.002288818359375, 0.0081787109375, -0.0233917236328125, -0.01525115966796875, -0.0187530517578125, 0.00926971435546875, -0.0119171142578125, 0.0038890838623046875, 0.030609130859375, -0.051849365234375, -0.0148162841796875, -0.0005164146423339844, -0.0007004737854003906, -0.004322052001953125, 0.0160675048828125, -0.0249176025390625, 0.050750732421875, 0.06805419921875, -0.00376129150390625, 0.056640625, 0.03533935546875, 0.0297393798828125, 0.033416748046875, -0.0029010772705078125, 0.0400390625, -0.0229339599609375, 0.0457763671875, -0.0103759765625, 0.0225830078125, 0.04949951171875, -0.0214691162109375, 0.0258636474609375, 0.00861358642578125, 0.048736572265625, -0.06256103515625, 0.029693603515625, 0.01432037353515625, 0.0123748779296875, 0.0538330078125, 0.004215240478515625, -0.003635406494140625, -0.054290771484375, 0.05340576171875, 0.005664825439453125, 0.001178741455078125, 0.0100250244140625, -0.0168304443359375, -0.00702667236328125, -0.01329803466796875, 0.0162353515625, 0.0013256072998046875, -0.0117645263671875, -0.0189208984375, 0.01154327392578125, -0.0117034912109375, -0.0271453857421875, -0.01079559326171875, 0.0228424072265625, -0.0091705322265625, -0.06396484375, 0.03375244140625, -0.034454345703125, 0.01251220703125, 0.032684326171875, 0.0156707763671875, 0.0179901123046875, 0.05377197265625, 0.002155303955078125, -0.00934600830078125, 0.039459228515625, -0.03582763671875, 0.002716064453125, -0.032684326171875, -0.0008511543273925781, 0.0439453125, -0.015655517578125, 0.0325927734375, 0.0341796875, -0.031463623046875, 0.02264404296875, 0.04791259765625, 0.02728271484375, 0.016387939453125, -0.047027587890625, 0.0364990234375, -0.01024627685546875, -0.0027751922607421875, 0.0107574462890625, 0.06903076171875, -0.0248870849609375, -0.015655517578125, 0.03192138671875, -0.0169677734375, 0.003261566162109375, 0.0001518726348876953, -0.0850830078125, 0.06182861328125, -0.01715087890625, 0.059844970703125, 0.026458740234375, 0.0022449493408203125, -0.0219268798828125, -0.0268707275390625, -0.0299530029296875, 0.055389404296875, 0.01544952392578125, 0.032867431640625, -0.03411865234375, -0.019378662109375, 0.0303497314453125, 0.047637939453125, 0.0738525390625, 0.013824462890625, -0.0209197998046875, -0.007106781005859375, 0.029327392578125, 0.0147705078125, -0.03021240234375, 0.04034423828125, 0.01360321044921875, 0.0124359130859375, 0.06036376953125, -0.015594482421875, 0.036712646484375, -0.0049896240234375, -0.005695343017578125, 0.0299072265625, 0.0030956268310546875, 0.0014905929565429688, 0.01806640625, 0.03472900390625, -0.00006812810897827148, -0.01073455810546875, 0.01467132568359375, -0.051422119140625, -0.01268768310546875, 0.04901123046875, 0.0699462890625, -0.101318359375, -0.00873565673828125, -0.040985107421875, 0.061798095703125, 0.0330810546875, 0.029449462890625, 0.07000732421875, 0.035614013671875, 0.02874755859375, -0.0179595947265625, 0.0382080078125, -0.0232391357421875, -0.01024627685546875, 0.0171051025390625, -0.005035400390625, 0.03131103515625, -0.048797607421875, -0.0134735107421875, 0.0289306640625, 0.033050537109375, -0.0218353271484375, -0.022735595703125, 0.003398895263671875, 0.0015506744384765625, 0.008392333984375, 0.0013608932495117188, 0.03509521484375, 0.022216796875, 0.0186920166015625, -0.0667724609375, -0.02081298828125, 0.02471923828125, 0.0367431640625, -0.033660888671875, -0.0626220703125, 0.043487548828125, -0.04132080078125, -0.014862060546875, -0.035491943359375, 0.01318359375, 0.005161285400390625, 0.031646728515625, 0.006633758544921875, 0.02178955078125, 0.0016527175903320312, -0.0102691650390625, 0.01137542724609375, -0.0159912109375, -0.0079193115234375, -0.005802154541015625, 0.003787994384765625, -0.040069580078125, 0.01311492919921875, -0.0234527587890625, -0.016387939453125, -0.01035308837890625, 0.0030574798583984375, -0.0224609375, -0.023590087890625, 0.004764556884765625, -0.036285400390625, -0.026641845703125, -0.007785797119140625, 0.00318145751953125, 0.04229736328125, 0.0021991729736328125, -0.0039520263671875, 0.01727294921875, 0.046661376953125, -0.00026869773864746094, -0.0218963623046875, 0.012420654296875, -0.0161590576171875, 0.0028247833251953125, 0.00730133056640625, -0.041839599609375, 0.0152587890625, -0.08953857421875, -0.0237884521484375, 0.01015472412109375, -0.047576904296875, 0.031463623046875, 0.03717041015625, -0.043670654296875, 0.045074462890625, 0.0020046234130859375, 0.0024356842041015625, -0.00963592529296875, -0.01520538330078125, 0.0109405517578125, 0.0090179443359375, 0.0177764892578125, 0.006412506103515625, -0.0419921875, -0.0229034423828125, -0.006221771240234375, 0.0200653076171875, 0.0268707275390625, 0.0439453125, 0.008209228515625, 0.01076507568359375, -0.03863525390625, 0.049713134765625, -0.0791015625, -0.040252685546875, 0.06719970703125, -0.04693603515625, -0.036224365234375, 0.01137542724609375, -0.038482666015625, -0.01548004150390625, 0.037506103515625, -0.0271453857421875, 0.0302734375, -0.039581298828125, 0.0178375244140625, -0.04315185546875, 0.0219573974609375, -0.0101318359375, -0.031005859375, -0.0164031982421875, -0.0011434555053710938, 0.0212860107421875, 0.0450439453125, -0.00252532958984375, 0.0306396484375, 0.0015611648559570312, 0.027313232421875, 0.003753662109375, 0.014007568359375, -0.004802703857421875, 0.024169921875, -0.050567626953125, -0.00885009765625, 0.00811767578125, -0.01605224609375, 0.0005855560302734375, 0.0008058547973632812, 0.0379638671875, -0.004802703857421875, -0.045623779296875, -0.011199951171875, 0.010467529296875, 0.034576416015625, -0.00478363037109375, 0.007450103759765625, -0.01514434814453125, -0.0028934478759765625, -0.01898193359375, 0.01253509521484375, -0.020416259765625, 0.0010995864868164062, 0.01107025146484375, 0.0211029052734375, 0.023956298828125, -0.025848388671875, -0.06097412109375, 0.0167388916015625, -0.00797271728515625, -0.0046234130859375, -0.0406494140625, 0.0167694091796875, 0.0025730133056640625, 0.0272216796875, -0.036041259765625, 0.0526123046875, -0.029266357421875, 0.0055389404296875, -0.03912353515625, -0.04058837890625, -0.0496826171875, 0.0552978515625, -0.043701171875, 0.01396942138671875, 0.04913330078125, -0.0120697021484375, -0.0167694091796875, 0.0163421630859375, 0.00231170654296875, 0.072021484375, -0.050445556640625, 0.01556396484375, 0.0216064453125, 0.0237274169921875, -0.0699462890625, -0.1085205078125, 0.0289306640625, -0.053192138671875, -0.00963592529296875, 0.03912353515625, 0.023101806640625, 0.055999755859375, 0.004550933837890625, -0.046722412109375, 0.09576416015625, -0.0024623870849609375, -0.02392578125, 0.0172271728515625, -0.01532745361328125, -0.0029468536376953125, 0.0287017822265625, 0.019317626953125, -0.0318603515625, -0.0255126953125, -0.00936126708984375, 0.01129150390625, -0.021453857421875, 0.067138671875, -0.0064239501953125, -0.0174560546875, -0.01136016845703125, 0.005218505859375, -0.01337432861328125, -0.012481689453125, 0.01275634765625, 0.0382080078125, 0.048583984375, 0.002532958984375, 0.044036865234375, 0.004085540771484375, -0.03564453125, -0.00980377197265625, -0.0377197265625, -0.04510498046875, -0.0197601318359375, 0.0290985107421875, 0.07012939453125, 0.0119781494140625, -0.034637451171875, -0.01110076904296875, -0.001338958740234375, 0.020355224609375, -0.027435302734375, 0.00965118408203125, -0.0653076171875, -0.0386962890625, 0.0020751953125, 0.0222930908203125, 0.003124237060546875, -0.031280517578125, -0.01031494140625, -0.0301971435546875, -0.006320953369140625, 0.01163482666015625, -0.0006313323974609375, 0.0219879150390625, -0.0200653076171875, -0.01361846923828125, -0.032135009765625, -0.0305023193359375, 0.01103973388671875, -0.0309295654296875, -0.0261383056640625, -0.04840087890625, -0.06964111328125, 0.035980224609375, 0.0423583984375, -0.007080078125, 0.048797607421875, -0.0037994384765625, -0.01493072509765625, -0.0467529296875, 0.01427459716796875, 0.02642822265625, 0.01629638671875, 0.0005068778991699219, 0.0182647705078125, 0.039093017578125, 0.0233306884765625, -0.006298065185546875, 0.03631591796875, -0.0247955322265625, 0.050506591796875, 0.021270751953125, -0.01947021484375, 0.0294952392578125, 0.002071380615234375, 0.0171051025390625, 0.0276336669921875, 0.03948974609375, -0.0474853515625, 0.04083251953125, 0.03387451171875, 0.0538330078125, 0.0306549072265625 ]
d422e6403176daa32da172c527e03bb49b307f6b
Wordpress Stackexchange Q: Extra profile field as select box? I want to add some more profile fields to Wordpress. It works fine with normal text box: <input type="text" name="gender" id="gender" value="<?php echo esc_attr( get_the_author_meta( 'gender', $user->ID ) ); ?>" class="regular-text" /><br /> But of course, I don't want my users to enter "male" or "female". So I need a select box! :) May you please help me with how I have to change the code above to get a select box?! Thanks a lot! A: Place the following code in your functions.php <?php add_action( 'show_user_profile', 'show_extra_profile_fields' ); add_action( 'edit_user_profile', 'show_extra_profile_fields' ); function show_extra_profile_fields( $user ) { ?> <h3>Extra profile information</h3> <table class="form-table"> <tr> <th><label for="gender">Gender</label></th> <td> <select name="gender" id="gender" > <option value="Male" <?php selected( 'Male', get_the_author_meta( 'gender', $user->ID ) ); ?>>Male</option> <option value="Female" <?php selected( 'Female', get_the_author_meta( 'gender', $user->ID ) ); ?>>Female</option> </select> </td> </tr> </table> <?php } add_action( 'personal_options_update', 'save_extra_profile_fields' ); add_action( 'edit_user_profile_update', 'save_extra_profile_fields' ); function save_extra_profile_fields( $user_id ) { if ( !current_user_can( 'edit_user', $user_id ) ) return false; //typo fix update_user_meta( $user_id, 'gender', $_POST['gender'] ); } ?>
Q: Extra profile field as select box? I want to add some more profile fields to Wordpress. It works fine with normal text box: <input type="text" name="gender" id="gender" value="<?php echo esc_attr( get_the_author_meta( 'gender', $user->ID ) ); ?>" class="regular-text" /><br /> But of course, I don't want my users to enter "male" or "female". So I need a select box! :) May you please help me with how I have to change the code above to get a select box?! Thanks a lot! A: Place the following code in your functions.php <?php add_action( 'show_user_profile', 'show_extra_profile_fields' ); add_action( 'edit_user_profile', 'show_extra_profile_fields' ); function show_extra_profile_fields( $user ) { ?> <h3>Extra profile information</h3> <table class="form-table"> <tr> <th><label for="gender">Gender</label></th> <td> <select name="gender" id="gender" > <option value="Male" <?php selected( 'Male', get_the_author_meta( 'gender', $user->ID ) ); ?>>Male</option> <option value="Female" <?php selected( 'Female', get_the_author_meta( 'gender', $user->ID ) ); ?>>Female</option> </select> </td> </tr> </table> <?php } add_action( 'personal_options_update', 'save_extra_profile_fields' ); add_action( 'edit_user_profile_update', 'save_extra_profile_fields' ); function save_extra_profile_fields( $user_id ) { if ( !current_user_can( 'edit_user', $user_id ) ) return false; //typo fix update_user_meta( $user_id, 'gender', $_POST['gender'] ); } ?>
wordpress
{ "language": "en", "length": 177, "provenance": "stackexchange_00019.jsonl.gz:414787", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34306" }
[ 0.03961181640625, -0.0016222000122070312, 0.01302337646484375, -0.019012451171875, 0.01593017578125, -0.010406494140625, 0.042449951171875, -0.039642333984375, -0.01293182373046875, 0.035614013671875, -0.03973388671875, 0.0118408203125, 0.00319671630859375, -0.0016183853149414062, -0.01541900634765625, -0.0428466796875, -0.0032634735107421875, 0.0023403167724609375, 0.022308349609375, -0.00687408447265625, 0.0205535888671875, -0.0003840923309326172, -0.011810302734375, -0.03350830078125, 0.01076507568359375, -0.04461669921875, 0.0426025390625, -0.0167236328125, 0.0237579345703125, -0.0011720657348632812, 0.0091552734375, 0.00580596923828125, 0.015777587890625, -0.018951416015625, 0.032318115234375, -0.01412200927734375, 0.05560302734375, -0.018798828125, 0.01605224609375, 0.026092529296875, 0.03173828125, -0.0092926025390625, -0.040679931640625, 0.03369140625, -0.0537109375, -0.06292724609375, 0.04345703125, -0.000518798828125, -0.002002716064453125, 0.01209259033203125, 0.00641632080078125, -0.007236480712890625, 0.01068878173828125, 0.005657196044921875, -0.01004791259765625, -0.0171966552734375, -0.0087738037109375, -0.0286712646484375, 0.035675048828125, 0.043243408203125, -0.006465911865234375, -0.0301361083984375, 0.0011014938354492188, -0.056854248046875, 0.01194000244140625, -0.0182037353515625, -0.007717132568359375, 0.03607177734375, -0.0248260498046875, -0.0037174224853515625, 0.03485107421875, -0.03277587890625, -0.00394439697265625, -0.05780029296875, -0.00943756103515625, 0.0305938720703125, -0.0258941650390625, -0.0272064208984375, 0.01297760009765625, -0.01390838623046875, -0.0096588134765625, 0.040740966796875, -0.0272216796875, -0.01812744140625, 0.0226593017578125, 0.01305389404296875, -0.022918701171875, -0.0269012451171875, -0.03314208984375, -0.0165863037109375, -0.01397705078125, -0.1287841796875, -0.0100250244140625, 0.055389404296875, 0.0232086181640625, -0.0207977294921875, -0.0015239715576171875, 0.0015726089477539062, 0.01255035400390625, 0.037139892578125, -0.0060577392578125, -0.03973388671875, 0.048095703125, -0.038360595703125, -0.01593017578125, 0.04736328125, 0.0531005859375, 0.007244110107421875, -0.00746917724609375, 0.006420135498046875, -0.01311492919921875, 0.01702880859375, -0.005558013916015625, 0.0292816162109375, -0.024322509765625, -0.0223388671875, -0.054718017578125, 0.0156707763671875, -0.027862548828125, 0.0033931732177734375, 0.016815185546875, -0.00023698806762695312, 0.025482177734375, -0.0645751953125, 0.0205535888671875, -0.0305023193359375, -0.07220458984375, 0.004055023193359375, 0.0005660057067871094, 0.033477783203125, -0.053466796875, -0.0067138671875, 0.072021484375, 0.0399169921875, 0.0257720947265625, -0.031707763671875, -0.015045166015625, -0.02227783203125, -0.022674560546875, 0.04132080078125, -0.00319671630859375, -0.043548583984375, 0.022705078125, 0.0015592575073242188, -0.0226593017578125, 0.0218048095703125, 0.023284912109375, -0.005634307861328125, -0.01202392578125, -0.0216217041015625, -0.0689697265625, 0.007537841796875, 0.00862884521484375, 0.0185699462890625, 0.003398895263671875, 0.006267547607421875, 0.0191802978515625, -0.018157958984375, -0.00872802734375, -0.0130615234375, 0.0097503662109375, 0.00353240966796875, -0.00678253173828125, -0.0699462890625, -0.059600830078125, -0.038665771484375, -0.0201416015625, -0.0153961181640625, 0.0286865234375, 0.00789642333984375, 0.058349609375, 0.002330780029296875, 0.04010009765625, 0.0167388916015625, -0.0037860870361328125, -0.009735107421875, -0.0382080078125, 0.05767822265625, 0.01165008544921875, -0.029510498046875, -0.026397705078125, -0.053924560546875, 0.026092529296875, -4.76837158203125e-7, -0.054412841796875, 0.0584716796875, -0.00899505615234375, 0.07867431640625, 0.036895751953125, -0.0056610107421875, 0.013427734375, -0.00846099853515625, -0.034820556640625, -0.0296783447265625, 0.007305145263671875, -0.0017518997192382812, 0.0040435791015625, -0.01123809814453125, -0.0092620849609375, 0.022247314453125, 0.0419921875, -0.017913818359375, 0.0125732421875, -0.016693115234375, -0.06658935546875, -0.0214996337890625, -0.0263519287109375, 0.013519287109375, 0.01502227783203125, 0.0035266876220703125, 0.01529693603515625, -0.014862060546875, -0.0165863037109375, 0.00689697265625, -0.053466796875, -0.0072784423828125, -0.0162200927734375, 0.0308837890625, -0.0013828277587890625, 0.022003173828125, -0.00649261474609375, -0.021026611328125, -0.0018587112426757812, 0.005680084228515625, 0.027801513671875, -0.0172119140625, -0.015594482421875, -0.02569580078125, 0.034759521484375, -0.0144195556640625, 0.0164947509765625, 0.03936767578125, 0.009002685546875, -0.0014028549194335938, -0.05438232421875, -0.0027065277099609375, -0.024993896484375, -0.021820068359375, 0.001842498779296875, 0.04449462890625, 0.03289794921875, 0.032135009765625, 0.0175323486328125, 0.026885986328125, 0.0634765625, 0.0223236083984375, 0.039031982421875, -0.02203369140625, -0.01131439208984375, 0.0199737548828125, 0.0024280548095703125, -0.00966644287109375, 0.0031642913818359375, -0.073974609375, -0.01172637939453125, 0.0218505859375, -0.04730224609375, 0.0050048828125, 0.0033702850341796875, -0.013458251953125, -0.0201568603515625, -0.076904296875, 0.0155029296875, -0.04083251953125, 0.07183837890625, -0.0213470458984375, 0.040283203125, 0.021270751953125, -0.0130157470703125, -0.0176849365234375, -0.0001628398895263672, -0.023590087890625, -0.0162353515625, 0.00011056661605834961, -0.041351318359375, 0.0261077880859375, 0.00675201416015625, 0.01247406005859375, -0.04852294921875, -0.0187225341796875, 0.0063018798828125, 0.0156402587890625, 0.0042724609375, -0.0038623809814453125, 0.03790283203125, -0.0389404296875, -0.00691986083984375, -0.014556884765625, -0.0175933837890625, -0.01378631591796875, 0.015625, -0.00540924072265625, -0.0230712890625, 0.002105712890625, 0.0161895751953125, -0.0264129638671875, 0.062408447265625, -0.0250244140625, 0.019012451171875, -0.00876617431640625, 0.037109375, 0.05780029296875, -0.0125732421875, 0.01322174072265625, -0.0206146240234375, -0.055328369140625, -0.07421875, 0.0430908203125, 0.00104522705078125, -0.072021484375, -0.002193450927734375, 0.0560302734375, 0.030029296875, 0.024139404296875, 0.034149169921875, -0.01430511474609375, 0.01522064208984375, 0.041473388671875, -0.018096923828125, -0.035400390625, -0.0141754150390625, -0.072265625, -0.0048828125, -0.01102447509765625, -0.04010009765625, 0.0036640167236328125, 0.0127410888671875, 0.0145721435546875, 0.006256103515625, -0.058013916015625, -0.058746337890625, -0.07281494140625, -0.06304931640625, -0.0028438568115234375, 0.0160064697265625, 0.00811767578125, -0.002391815185546875, 0.0445556640625, -0.017120361328125, -0.0577392578125, -0.01629638671875, -0.03717041015625, 0.0203094482421875, 0.02496337890625, 0.0095977783203125, -0.057281494140625, -0.00991058349609375, -0.020233154296875, 0.038482666015625, 0.01148223876953125, -0.000980377197265625, 0.01013946533203125, -0.015869140625, -0.0003705024719238281, 0.01457977294921875, -0.0025234222412109375, 0.006870269775390625, 0.056121826171875, 0.042388916015625, -0.01459503173828125, -0.0033283233642578125, -0.004940032958984375, -0.01262664794921875, 0.0272674560546875, -0.0035400390625, -0.002597808837890625, -0.01111602783203125, 0.03155517578125, 0.0121307373046875, 0.0396728515625, -0.0055999755859375, 0.027923583984375, -0.0265655517578125, -0.0176239013671875, -0.0310516357421875, -0.0065460205078125, 0.0013170242309570312, -0.02386474609375, 0.0318603515625, 0.005725860595703125, 0.00839996337890625, -0.01323699951171875, 0.0273284912109375, -0.01303863525390625, -0.06890869140625, 0.041412353515625, -0.03948974609375, 0.006748199462890625, -0.033721923828125, -0.0158538818359375, -0.0017871856689453125, 0.10821533203125, -0.01503753662109375, -0.0171356201171875, 0.0113067626953125, 0.020599365234375, -0.06640625, -0.00371551513671875, -0.044403076171875, 0.00995635986328125, -0.038970947265625, -0.001132965087890625, 0.00603485107421875, -0.010955810546875, -0.0099639892578125, 0.06573486328125, -0.011566162109375, -0.01554107666015625, 0.0039825439453125, 0.046295166015625, -0.006744384765625, 0.0300445556640625, -0.0038700103759765625, 0.0224609375, 0.019561767578125, -0.016571044921875, -0.05853271484375, -0.0287017822265625, 0.0296630859375, 0.042633056640625, -0.03662109375, 0.0294036865234375, -0.035675048828125, 0.0501708984375, 0.0264434814453125, -0.0067138671875, 0.01971435546875, -0.006542205810546875, 0.006984710693359375, -0.0015106201171875, 0.0189971923828125, -0.0246124267578125, 0.005954742431640625, -0.01560211181640625, -0.0187225341796875, -0.0034008026123046875, -0.03240966796875, 0.00992584228515625, -0.01560211181640625, -0.01666259765625, -0.016265869140625, -0.047271728515625, -0.0205535888671875, -0.002033233642578125, -0.04083251953125, 0.0297088623046875, -0.023468017578125, -0.0233306884765625, 0.01178741455078125, 0.00998687744140625, -0.00911712646484375, 0.00411224365234375, 0.0489501953125, 0.0268096923828125, -0.01264190673828125, 0.0033245086669921875, -0.0177764892578125, 0.046844482421875, -0.020721435546875, 0.0152740478515625, 0.0183258056640625, -0.0296630859375, 0.06475830078125, 0.007038116455078125, 0.0263824462890625, -0.056427001953125, 0.0732421875, 0.00414276123046875, 0.0010480880737304688, 0.01480865478515625, -0.008209228515625, -0.000759124755859375, 0.017608642578125, 0.00384521484375, -0.01751708984375, -0.013824462890625, 0.0244293212890625, 0.00029540061950683594, 0.01491546630859375, -0.01071929931640625, -0.040191650390625, 0.006725311279296875, -0.06640625, 0.0303802490234375, 0.018951416015625, -0.0131988525390625, 0.0136260986328125, 0.006702423095703125, -0.0244140625, -0.0224761962890625, -0.05975341796875, -0.007232666015625, -0.0007905960083007812, -0.037017822265625, -0.027374267578125, 0.01496124267578125, -0.006946563720703125, 0.050018310546875, 0.0124359130859375, -0.0230560302734375, 0.00421142578125, -0.0213623046875, 0.03009033203125, -0.016876220703125, -0.003269195556640625, 0.030548095703125, 0.0254974365234375, 0.0004794597625732422, 0.00743865966796875, 0.003505706787109375, 0.007228851318359375, -0.02691650390625, 0.019012451171875, 0.0282440185546875, -0.00911712646484375, 0.019989013671875, 0.0859375, 0.01033782958984375, 0.041473388671875, -0.0313720703125, 0.0885009765625, 0.06549072265625, 0.016998291015625, 0.01078033447265625, -0.001415252685546875, 0.0038394927978515625, -0.033233642578125, -0.03485107421875, -0.00411224365234375, 0.01055908203125, 0.01702880859375, 0.01117706298828125, 0.0626220703125, 0.02545166015625, -0.04852294921875, -0.01503753662109375, 0.0022144317626953125, -0.00017023086547851562, -0.007587432861328125, -0.027099609375, 0.0211029052734375, 0.0192108154296875, -0.014404296875, -0.03790283203125, 0.0243072509765625, 0.017822265625, 0.0291748046875, 0.00457000732421875, 0.019195556640625, -0.03363037109375, -0.0191802978515625, 0.0201568603515625, -0.0421142578125, 0.011688232421875, 0.01209259033203125, -0.020721435546875, -0.05364990234375, -0.0024890899658203125, -0.0169677734375, 0.032470703125, -0.004058837890625, 0.042816162109375, -0.049346923828125, 0.0082855224609375, -0.032684326171875, -0.007354736328125, 0.044464111328125, 0.0239715576171875, 0.0203704833984375, 0.023773193359375, -0.0164642333984375, -0.01399993896484375, 0.011383056640625, 0.0035495758056640625, -0.003620147705078125, -0.0267333984375, 0.001953125, 0.01491546630859375, -0.00847625732421875, -0.019256591796875, 0.01474761962890625, 0.001811981201171875, -0.0121307373046875, 0.0243072509765625, -0.0187835693359375, 0.0294952392578125, 0.04583740234375, 0.0210418701171875, 0.02386474609375, 0.025787353515625, 0.0003044605255126953, -0.031280517578125, -0.0142669677734375, -0.0088958740234375, 0.0029163360595703125, 0.0028362274169921875, 0.01654052734375, -0.007022857666015625, 0.03240966796875, -0.001758575439453125, 0.024749755859375, 0.0001800060272216797, 0.00258636474609375, -0.0014791488647460938, -0.0019426345825195312, 0.0193634033203125, 0.038482666015625, 0.02679443359375, -0.038330078125, -0.033843994140625, 0.001079559326171875, 0.0186004638671875, 0.015838623046875, -0.0223388671875, 0.003025054931640625, 0.0123443603515625, -0.06341552734375, 0.0653076171875, 0.058563232421875, 0.01200103759765625, 0.04254150390625, 0.004058837890625, 0.024383544921875, 0.0287628173828125, -0.0018033981323242188, -0.0305023193359375, 0.0240631103515625, 0.03900146484375, 0.004489898681640625, -0.01198577880859375, 0.0159454345703125, -0.021942138671875, 0.04974365234375, 0.0633544921875, 0.081298828125, -0.1070556640625, 0.046630859375, 0.0222015380859375, -0.00878143310546875, 0.08306884765625, -0.0192718505859375, -0.0090484619140625, -0.029327392578125, 0.045257568359375, 0.00797271728515625, -0.0274810791015625, 0.01129150390625, -0.0157012939453125, -0.00736236572265625, -0.02130126953125, -0.0120849609375, -0.004673004150390625, 0.011749267578125, -0.007171630859375, -0.01177978515625, 0.00685882568359375, 0.019012451171875, -0.00925445556640625, 0.01519775390625, -0.05010986328125, -0.076171875, -0.0258331298828125, -0.0286407470703125, -0.0273590087890625, -0.0181732177734375, -0.0086212158203125, 0.0758056640625, 0.018585205078125, 0.01226806640625, -0.048553466796875, -0.005279541015625, 0.00875091552734375, 0.005634307861328125, -0.017425537109375, -0.014739990234375, 0.0166168212890625, -0.0168304443359375, 0.00807952880859375, -0.00572967529296875, 0.0029697418212890625, -0.013946533203125, 0.004970550537109375, 0.0828857421875, 0.02117919921875, -0.05657958984375, 0.01030731201171875, -0.004131317138671875, -0.0101318359375, 0.016845703125, -0.0318603515625, -0.058868408203125, -0.07476806640625, -0.0011539459228515625, -0.10968017578125, 0.0176849365234375, 0.0010824203491210938, -0.0872802734375, 0.0638427734375, 0.0183868408203125, 0.0301513671875, -0.02099609375, 0.00981903076171875, -0.0164337158203125, -0.0142822265625, -0.021240234375, 0.0390625, 0.01507568359375, 0.00788116455078125, -0.0648193359375, -0.01416015625, -0.0280303955078125, 0.0347900390625, 0.033050537109375, 0.006389617919921875, -0.0201568603515625, 0.01337432861328125, 0.05999755859375, 0.032073974609375, -0.00879669189453125, 0.0169219970703125, 0.0213775634765625, 0.0196380615234375, 0.048675537109375, -0.033172607421875, 0.022674560546875, -0.041046142578125, 0.016998291015625, 0.031463623046875, 0.01479339599609375, 0.00531768798828125, -0.00001615285873413086, 0.0201416015625, -0.0011844635009765625, -0.014068603515625, -0.0014362335205078125, -0.0193023681640625, -0.03814697265625, 0.033233642578125, 0.01230621337890625, -0.005794525146484375, 0.0311126708984375, -0.0284881591796875, 0.05126953125, 0.036590576171875, 0.0200653076171875, 0.036346435546875, 0.01287078857421875, 0.0694580078125, 0.00978851318359375, 0.0096282958984375, 0.0035686492919921875, 0.037322998046875, 0.07550048828125, 0.041717529296875, 0.0099639892578125, -0.01058197021484375, 0.05718994140625, 0.045074462890625, 0.08172607421875, -0.07403564453125, -0.04144287109375, 0.000812530517578125, 0.005283355712890625, 0.0196075439453125, 0.01213836669921875, 0.041900634765625, 0.00824737548828125, 0.056121826171875, -0.071044921875, 0.01450347900390625, 0.0233306884765625, 0.02349853515625, -0.0231781005859375, -0.0237884521484375, -0.031005859375, 0.0085296630859375, -0.041534423828125, -0.0127410888671875, -0.0017986297607421875, 0.0187835693359375, 0.037353515625, 0.03466796875, 0.042724609375, -0.01226043701171875, -0.0081024169921875, -0.0175323486328125, 0.004154205322265625, -0.0032596588134765625, -0.0238189697265625, 0.00118255615234375, 0.00414276123046875, 0.037811279296875, 0.0201873779296875, 0.0142059326171875, 0.0474853515625, 0.03173828125, -0.02105712890625, 0.00025010108947753906, 0.02703857421875, -0.0122833251953125, 0.001964569091796875, -0.054840087890625, 0.047210693359375, 0.024932861328125, 0.017791748046875, 0.01036834716796875, -0.00438690185546875, 0.0667724609375, -0.045928955078125, 0.04620361328125, -0.00502777099609375, -0.0032558441162109375, 0.0263671875, -0.01119232177734375, 0.0164031982421875, -0.01082611083984375, -0.09271240234375, -0.004314422607421875, -0.03070068359375, -0.049041748046875, 0.042816162109375, 0.032012939453125, -0.0269012451171875, 0.0281982421875, -0.025848388671875, -0.022735595703125, 0.0262451171875, 0.0081634521484375, 0.0037250518798828125, 0.057708740234375, 0.01529693603515625, -0.007293701171875, -0.05291748046875, -0.025115966796875, -0.006954193115234375, 0.0019817352294921875, 0.0241851806640625, 0.0058441162109375, 0.0296478271484375, 0.0361328125, -0.023162841796875, 0.038330078125, -0.01751708984375, -0.06024169921875, 0.08441162109375, -0.00020933151245117188, -0.0202789306640625, -0.00689697265625, -0.006633758544921875, 0.08551025390625, 0.01898193359375, 0.018829345703125, 0.05401611328125, 0.034942626953125, -0.0016183853149414062, -0.0141448974609375, -0.01277923583984375, -0.0313720703125, -0.037445068359375, -0.046295166015625, -0.025543212890625, 0.02801513671875, 0.0134735107421875, 0.00470733642578125, 0.0165557861328125, 0.040618896484375, 0.021514892578125, 0.0134124755859375, 0.035614013671875, 0.025054931640625, 0.0216827392578125, -0.023468017578125, -0.004154205322265625, 0.0189208984375, -0.0135955810546875, 0.032684326171875, -0.004703521728515625, 0.02398681640625, 0.015869140625, -0.036407470703125, -0.0131988525390625, 0.0810546875, 0.06597900390625, 0.0108489990234375, 0.03277587890625, 0.009521484375, -0.0225067138671875, 0.0108489990234375, 0.010406494140625, -0.02392578125, -0.0267333984375, -0.002399444580078125, 0.006744384765625, 0.003681182861328125, -0.0118408203125, -0.0190277099609375, -0.0285186767578125, -0.006988525390625, -0.00045800209045410156, -0.043792724609375, -0.006053924560546875, 0.0171966552734375, 0.0535888671875, -0.07440185546875, -0.0215301513671875, 0.01654052734375, 0.07440185546875, 0.00804901123046875, 0.0294342041015625, -0.01340484619140625, -0.03704833984375, -0.01291656494140625, 0.00720977783203125, 0.0311126708984375, -0.0033721923828125, -0.01009368896484375, -0.004077911376953125, 0.0040130615234375, 0.037322998046875, -0.01203155517578125, -0.0089569091796875, 0.0109100341796875, 0.0245819091796875, -0.031036376953125, -0.0831298828125, -0.0008792877197265625, -0.0266876220703125, -0.01129150390625, 0.006084442138671875, 0.0102386474609375, 0.0304412841796875, -0.030853271484375, -0.077392578125, 0.068359375, -0.01476287841796875, -0.029144287109375, -0.0290985107421875, 0.01117706298828125, 0.0036411285400390625, 0.0119476318359375, -0.0020847320556640625, -0.0244140625, -0.020355224609375, 0.0007853507995605469, 0.026702880859375, -0.00205230712890625, 0.035400390625, -0.004009246826171875, -0.09259033203125, -0.021728515625, -0.037750244140625, 0.01190185546875, -0.025634765625, -0.006450653076171875, 0.01113128662109375, 0.035003662109375, -0.0305938720703125, -0.06689453125, -0.004566192626953125, 0.01116943359375, 0.0035839080810546875, -0.046234130859375, -0.0523681640625, -0.0161895751953125, 0.0733642578125, 0.05133056640625, 0.0226898193359375, -0.038116455078125, -0.020721435546875, -0.0259552001953125, 0.0038433074951171875, -0.00978851318359375, 0.0161895751953125, -0.0780029296875, -0.013397216796875, 0.01207733154296875, -0.032562255859375, 0.0115966796875, 0.03607177734375, -0.04290771484375, 0.023040771484375, 0.064453125, 0.0082855224609375, -0.0731201171875, 0.01212310791015625, 0.0050811767578125, -0.037353515625, -0.037567138671875, -0.00020062923431396484, -0.01320648193359375, -0.0256500244140625, 0.004505157470703125, -0.0031528472900390625, -0.00339508056640625, -0.0147552490234375, 0.035552978515625, -0.0016393661499023438, 0.0438232421875, -0.048248291015625, -0.00814056396484375, -0.0338134765625, 0.00847625732421875, 0.0017538070678710938, 0.005184173583984375, -0.02630615234375, 0.0187225341796875, 0.01326751708984375, 0.03985595703125, -0.05877685546875, 0.033172607421875, -0.004169464111328125, -0.0205230712890625, -0.0253448486328125, 0.0509033203125, 0.05657958984375, -0.00659942626953125, -0.0065765380859375, -0.03271484375, -0.0268402099609375, -0.06854248046875, 0.0010499954223632812, 0.0648193359375, -0.01030731201171875, 0.034912109375 ]
790188dd0ccda8d1018739b91fb437e5e4cc8e16
Wordpress Stackexchange Q: Permalink to user profile How can I retrieve the permalink to a user (author) profile dynamically outside the loop by ID? an alternative to the_author_link(), but for outside the loop. Example: get_author_link($user_id); A: I believe the function you want is get_author_posts_url.
Q: Permalink to user profile How can I retrieve the permalink to a user (author) profile dynamically outside the loop by ID? an alternative to the_author_link(), but for outside the loop. Example: get_author_link($user_id); A: I believe the function you want is get_author_posts_url. A: <a href=<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>">Author Name</a>
wordpress
{ "language": "en", "length": 51, "provenance": "stackexchange_00019.jsonl.gz:414809", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34393" }
[ 0.09344482421875, -0.0088653564453125, 0.033935546875, -0.01153564453125, 0.0099334716796875, -0.0282745361328125, 0.03753662109375, -0.04864501953125, -0.00969696044921875, 0.038482666015625, -0.0240325927734375, 0.0284576416015625, -0.0001798868179321289, -0.0026874542236328125, -0.01062774658203125, -0.0185089111328125, 0.0269012451171875, 0.007015228271484375, 0.0311126708984375, 0.0100555419921875, -0.0076904296875, 0.021240234375, 0.024993896484375, 0.0038776397705078125, 0.047119140625, -0.00617218017578125, 0.0283660888671875, -0.0223846435546875, 0.00971221923828125, -0.029144287109375, 0.016845703125, 0.0033893585205078125, -0.020172119140625, 0.0141448974609375, 0.0341796875, 0.003536224365234375, -0.00439453125, 0.0225067138671875, 0.037933349609375, -0.0055084228515625, 0.041961669921875, -0.01490020751953125, -0.045501708984375, 0.06219482421875, -0.056304931640625, -0.040496826171875, 0.0273895263671875, -0.009796142578125, 0.0105743408203125, 0.020660400390625, 0.00376129150390625, 0.0213623046875, 0.004741668701171875, 0.0369873046875, -0.00511932373046875, -0.00891876220703125, 0.0589599609375, -0.056915283203125, 0.038421630859375, -0.06591796875, -0.05029296875, -0.0226593017578125, 0.07122802734375, 0.003017425537109375, -0.009857177734375, -0.014862060546875, -0.0275726318359375, 0.033447265625, 0.011871337890625, -0.01446533203125, 0.0021419525146484375, -0.0035400390625, -0.03155517578125, 0.0024967193603515625, -0.069091796875, -0.01202392578125, -0.005237579345703125, -0.0816650390625, 0.01189422607421875, 0.005096435546875, -0.058380126953125, -0.033843994140625, -0.06292724609375, -0.0214691162109375, -0.0020275115966796875, 0.00922393798828125, -0.0090179443359375, 0.01125335693359375, -0.040618896484375, 0.00498199462890625, -0.021392822265625, -0.0285797119140625, 0.004459381103515625, 0.0125885009765625, -0.01392364501953125, -0.00501251220703125, 0.0352783203125, 0.04583740234375, -0.01546478271484375, -0.00004774332046508789, 0.0203399658203125, -0.036834716796875, 0.01505279541015625, -0.037384033203125, -0.0262298583984375, 0.03607177734375, 0.0343017578125, 0.04840087890625, 0.006847381591796875, 0.0207977294921875, 0.0007572174072265625, -0.00984954833984375, -0.0034542083740234375, -0.0015974044799804688, -0.0123291015625, 0.00885772705078125, -0.04400634765625, 0.02716064453125, -0.01123809814453125, 0.0220184326171875, -0.016815185546875, 0.00653076171875, 0.01256561279296875, 0.00302886962890625, 0.0168609619140625, 0.017059326171875, -0.0020008087158203125, -0.0242462158203125, 0.00872039794921875, 0.040802001953125, -0.035614013671875, -0.00868988037109375, 0.040283203125, 0.0246734619140625, 0.00865936279296875, -0.03558349609375, -0.001941680908203125, -0.030181884765625, -0.00652313232421875, 0.006954193115234375, 0.0029468536376953125, -0.033355712890625, -0.0093231201171875, 0.0018568038940429688, -0.004367828369140625, 0.030303955078125, 0.01137542724609375, 0.0009851455688476562, 0.00841522216796875, -0.0330810546875, -0.04144287109375, -0.0118560791015625, -0.0014867782592773438, 0.00298309326171875, 0.07476806640625, -0.039093017578125, 0.0572509765625, -0.0384521484375, 0.035125732421875, -0.0124664306640625, 0.052001953125, 0.0153961181640625, -0.0137786865234375, 0.0013303756713867188, -0.034820556640625, -0.022186279296875, -0.0206146240234375, -0.01171875, 0.0242462158203125, 0.05804443359375, -0.00237274169921875, -0.01556396484375, -0.0027256011962890625, 0.03399658203125, 0.005962371826171875, 0.0138702392578125, -0.0222015380859375, 0.02825927734375, -0.00978851318359375, 0.02679443359375, 0.0017557144165039062, -0.04754638671875, -0.0076446533203125, 0.01165771484375, -0.048492431640625, 0.029693603515625, 0.0285186767578125, 0.09088134765625, -0.003047943115234375, 0.0205078125, 0.0237884521484375, 0.0101776123046875, -0.057952880859375, 0.00672149658203125, -0.01068115234375, -0.01288604736328125, 0.006992340087890625, -0.01364898681640625, -0.019805908203125, 0.0246124267578125, -0.0135955810546875, -0.0006456375122070312, 0.0064544677734375, 0.00870513916015625, -0.04449462890625, 0.02294921875, -0.0238037109375, 0.0196685791015625, 0.06488037109375, 0.033599853515625, -0.019134521484375, 0.005794525146484375, 0.002471923828125, -0.05621337890625, -0.0399169921875, 0.033721923828125, -0.00873565673828125, -0.02191162109375, -0.0053558349609375, 0.005157470703125, -0.00506591796875, -0.006778717041015625, -0.01184844970703125, 0.0099945068359375, 0.0426025390625, -0.049072265625, -0.0049285888671875, -0.0570068359375, -0.01291656494140625, 0.00455474853515625, -0.0777587890625, 0.033233642578125, 0.0389404296875, -0.0028839111328125, -0.035369873046875, 0.0036983489990234375, 0.005008697509765625, -0.03338623046875, -0.0014944076538085938, 0.048919677734375, 0.04022216796875, 0.0025577545166015625, 0.005008697509765625, -0.0029773712158203125, 0.059295654296875, 0.0264739990234375, 0.03668212890625, -0.040771484375, 0.005870819091796875, 0.040985107421875, -0.00823211669921875, 0.0298919677734375, 0.0178985595703125, -0.054290771484375, -0.00226593017578125, 0.07073974609375, 0.007404327392578125, 0.03668212890625, -0.0513916015625, 0.045379638671875, -0.01094818115234375, 0.0094146728515625, 0.01280975341796875, -0.024261474609375, 0.01380157470703125, -0.0099029541015625, 0.029205322265625, 0.0248565673828125, -0.00981903076171875, -0.041656494140625, 0.010040283203125, 0.0269775390625, 0.0038604736328125, 0.0258941650390625, 0.000025570392608642578, -0.012054443359375, 0.00775146484375, -0.0091400146484375, -0.018310546875, 0.00415802001953125, -0.005077362060546875, 0.0118408203125, 0.016387939453125, 0.0023059844970703125, -0.005687713623046875, -0.02545166015625, 0.0254364013671875, 0.0079803466796875, -0.006603240966796875, 0.019744873046875, 0.032501220703125, 0.0238800048828125, -0.0167236328125, 0.0286865234375, -0.0294189453125, -0.01216888427734375, -0.002506256103515625, -0.03936767578125, 0.03424072265625, -0.03387451171875, 0.035369873046875, 0.06683349609375, -0.00489044189453125, 0.025115966796875, 0.01456451416015625, -0.059844970703125, -0.01515960693359375, 0.0306854248046875, 0.01425933837890625, -0.0160980224609375, -0.038543701171875, 0.0272674560546875, 0.01154327392578125, 0.047088623046875, 0.0063323974609375, -0.0303802490234375, -0.0002067089080810547, 0.03448486328125, -0.047027587890625, -0.050537109375, 0.0256500244140625, -0.07586669921875, 0.00438690185546875, -0.01207733154296875, -0.044677734375, -0.016693115234375, 0.01739501953125, -0.007293701171875, 0.064208984375, -0.05377197265625, -0.1064453125, -0.057830810546875, -0.11993408203125, 0.0218353271484375, -0.005069732666015625, 0.01678466796875, 0.0029163360595703125, -0.0260772705078125, -0.0309906005859375, -0.03515625, -0.0261688232421875, 0.003662109375, 0.00484466552734375, -0.031524658203125, -0.048553466796875, 0.04168701171875, -0.0189361572265625, 0.0086669921875, 0.0428466796875, 0.01412200927734375, -0.02374267578125, 0.0136871337890625, 0.0161590576171875, -0.01520538330078125, 0.0604248046875, -0.0330810546875, -0.031707763671875, 0.04290771484375, 0.0540771484375, -0.02392578125, -0.013275146484375, 0.00724029541015625, -0.0322265625, 0.0298614501953125, 0.0012454986572265625, -0.0035037994384765625, 0.01560211181640625, 0.005229949951171875, 0.0167236328125, 0.014617919921875, -0.038848876953125, -0.00728607177734375, 0.0287017822265625, 0.003719329833984375, 0.05731201171875, 0.0162353515625, 0.003673553466796875, -0.0234832763671875, -0.01464080810546875, -0.0066070556640625, 0.00580596923828125, 0.0015401840209960938, -0.00559234619140625, 0.00444793701171875, -0.032257080078125, 0.06268310546875, -0.00423431396484375, -0.00861358642578125, -0.041748046875, -0.040374755859375, -0.0269317626953125, 0.064453125, 0.02349853515625, -0.020416259765625, 0.0092926025390625, -0.01385498046875, -0.07513427734375, 0.00847625732421875, -0.06414794921875, 0.0175323486328125, -0.015777587890625, -0.024566650390625, -0.0241546630859375, 0.004199981689453125, -0.020477294921875, 0.0814208984375, -0.0034999847412109375, -0.00946807861328125, -0.004962921142578125, 0.0162506103515625, -0.0196075439453125, 0.0233154296875, -0.03460693359375, 0.018585205078125, 0.0015726089477539062, -0.01250457763671875, -0.046112060546875, -0.02166748046875, 0.0059356689453125, 0.054229736328125, 0.0025119781494140625, 0.00421905517578125, -0.00801849365234375, 0.04833984375, 0.0069427490234375, 0.0240325927734375, 0.02313232421875, 0.004558563232421875, 0.01395416259765625, -0.0200042724609375, 0.019989013671875, -0.0291900634765625, 0.00033092498779296875, -0.03338623046875, -0.03759765625, 0.0079345703125, -0.037628173828125, 0.02191162109375, -0.0302886962890625, -0.01313018798828125, -0.0650634765625, -0.0137786865234375, 0.030914306640625, 0.0352783203125, -0.002056121826171875, 0.023193359375, -0.020660400390625, -0.06561279296875, 0.061126708984375, -0.012908935546875, -0.0020275115966796875, -0.01751708984375, 0.06689453125, 0.02081298828125, -0.02130126953125, 0.0257415771484375, -0.00197601318359375, 0.0281524658203125, -0.033203125, 0.0380859375, 0.01654052734375, -0.01473236083984375, 0.04296875, -0.022430419921875, -0.0235443115234375, 0.0011072158813476562, 0.022216796875, 0.00426483154296875, -0.0186614990234375, -0.0009317398071289062, -0.02734375, 0.04132080078125, 0.0276031494140625, -0.01471710205078125, -0.003154754638671875, 0.00696563720703125, 0.055511474609375, -0.00720977783203125, -0.01004791259765625, -0.0577392578125, -0.027496337890625, 0.0118865966796875, -0.051971435546875, 0.04730224609375, 0.024261474609375, -0.0133056640625, -0.0016832351684570312, -0.01172637939453125, 0.00833892822265625, -0.005218505859375, -0.061279296875, 0.034637451171875, 0.043365478515625, -0.05670166015625, 0.025360107421875, 0.0039215087890625, -0.0079498291015625, 0.07366943359375, 0.006999969482421875, -0.01065826416015625, 0.01270294189453125, -0.0322265625, -0.0019683837890625, 0.00971221923828125, -0.005817413330078125, 0.01690673828125, 0.0030689239501953125, 0.004779815673828125, -0.004642486572265625, -0.01123809814453125, -0.01065826416015625, -0.026641845703125, 0.069091796875, -0.0249481201171875, 0.0295867919921875, 0.004535675048828125, 0.125244140625, -0.02667236328125, 0.07171630859375, -0.0186614990234375, 0.049713134765625, 0.04205322265625, -0.00966644287109375, 0.00885772705078125, 0.017486572265625, 0.03704833984375, -0.063232421875, 0.0194854736328125, -0.04095458984375, 0.006778717041015625, 0.0299835205078125, 0.061614990234375, 0.043670654296875, -0.0091552734375, -0.02313232421875, -0.04925537109375, -0.0102996826171875, 0.044952392578125, 0.020538330078125, -0.045928955078125, -0.033599853515625, -0.01016998291015625, 0.0214691162109375, -0.00919342041015625, 0.006832122802734375, -0.018463134765625, -0.0093994140625, -0.0311431884765625, -0.0309600830078125, -0.041107177734375, -0.01528167724609375, 0.0146026611328125, -0.004787445068359375, -0.022552490234375, -0.0042724609375, 0.0032787322998046875, 0.01025390625, -0.02630615234375, 0.0033740997314453125, 0.03375244140625, -0.00214385986328125, 0.06768798828125, -0.07550048828125, -0.004505157470703125, -0.00429534912109375, -0.033721923828125, 0.10113525390625, 0.06634521484375, -0.07720947265625, 0.040924072265625, -0.0268707275390625, 0.032684326171875, -0.01082611083984375, -0.051971435546875, -0.04510498046875, -0.02984619140625, 0.01235198974609375, 0.00972747802734375, 0.01708984375, 0.017913818359375, 0.0083770751953125, 0.017913818359375, -0.013397216796875, 0.0055999755859375, 0.00316619873046875, 0.059234619140625, 0.0164337158203125, 0.0268096923828125, 0.0282135009765625, 0.0340576171875, -0.0311126708984375, -0.024871826171875, -0.0197601318359375, 0.00665283203125, 0.0015716552734375, 0.0081939697265625, 0.0279998779296875, -0.0189971923828125, 0.0210113525390625, 0.0037860870361328125, -0.01763916015625, -0.0250244140625, 0.00261688232421875, -0.02252197265625, 0.0106048583984375, 0.0009708404541015625, -0.0399169921875, -0.00543975830078125, 0.00846099853515625, 0.01259613037109375, 0.001983642578125, 0.004901885986328125, -0.03497314453125, 0.0167083740234375, -0.0312042236328125, -0.003223419189453125, -0.047821044921875, 0.03955078125, 0.09271240234375, 0.00811004638671875, 0.045623779296875, 0.029296875, 0.0148468017578125, 0.0316162109375, 0.0205230712890625, 0.011627197265625, -0.01392364501953125, 0.04071044921875, 0.0106048583984375, 0.01201629638671875, 0.046478271484375, -0.020355224609375, -0.0308990478515625, 0.012176513671875, 0.0238800048828125, -0.0316162109375, 0.00968170166015625, 0.00980377197265625, 0.02264404296875, 0.0146636962890625, -0.0031719207763671875, -0.005107879638671875, -0.00919342041015625, 0.05706787109375, -0.03662109375, -0.0013971328735351562, 0.0084381103515625, -0.0216522216796875, 0.0195465087890625, -0.051055908203125, 0.0528564453125, 0.01184844970703125, -0.045501708984375, 0.0245513916015625, 0.0247039794921875, 0.0287933349609375, -0.032806396484375, -0.018524169921875, 0.0035858154296875, 0.002559661865234375, 0.023895263671875, 0.0643310546875, -0.054931640625, 0.05755615234375, 0.007389068603515625, 0.01531982421875, 0.034027099609375, 0.01122283935546875, 0.0215606689453125, -0.042572021484375, -0.01399993896484375, -0.0325927734375, 0.044891357421875, -0.05267333984375, -0.032440185546875, 0.02227783203125, -0.008514404296875, 0.016510009765625, 0.030487060546875, -0.043426513671875, -0.01381683349609375, -0.021026611328125, 0.0777587890625, -0.0187530517578125, -0.02044677734375, 0.039276123046875, 0.01166534423828125, -0.03729248046875, 0.01629638671875, 0.0089111328125, -0.041534423828125, -0.033294677734375, 0.01396942138671875, -0.0297393798828125, 0.017333984375, -0.0019407272338867188, -0.05181884765625, 0.0462646484375, -0.004444122314453125, 0.016815185546875, 0.00971221923828125, 0.01238250732421875, 0.005767822265625, -0.0031223297119140625, -0.015594482421875, 0.050048828125, 0.017608642578125, 0.0180816650390625, -0.02667236328125, -0.0174713134765625, 0.01076507568359375, 0.0513916015625, 0.06353759765625, 0.01062774658203125, -0.0714111328125, -0.027191162109375, 0.019378662109375, 0.015380859375, -0.016204833984375, 0.05987548828125, 0.02044677734375, 0.038482666015625, 0.066162109375, -0.0142364501953125, 0.02752685546875, -0.0247650146484375, 0.00232696533203125, 0.033447265625, 0.04278564453125, 0.0418701171875, 0.0175018310546875, -0.0252532958984375, -0.04022216796875, 0.007293701171875, 0.042449951171875, 0.0054168701171875, 0.00434112548828125, 0.0095062255859375, 0.0302276611328125, -0.02386474609375, -0.03826904296875, -0.00824737548828125, 0.035247802734375, 0.03668212890625, -0.0268402099609375, 0.0221099853515625, 0.005340576171875, 0.03314208984375, -0.033416748046875, -0.0233154296875, -0.00272369384765625, 0.04327392578125, 0.08416748046875, 0.019439697265625, 0.023681640625, -0.048919677734375, -0.007755279541015625, 0.05255126953125, 0.09295654296875, -0.0511474609375, -0.0321044921875, 0.006038665771484375, 0.005016326904296875, 0.0164642333984375, 0.0016841888427734375, 0.0191192626953125, 0.0080718994140625, 0.041534423828125, -0.058380126953125, -0.013916015625, 0.00780487060546875, 0.065185546875, -0.000804901123046875, -0.037567138671875, -0.038726806640625, -0.038726806640625, -0.047088623046875, -0.0156097412109375, -0.01373291015625, 0.00022339820861816406, 0.053314208984375, 0.0016326904296875, 0.045318603515625, -0.00420379638671875, 0.0207366943359375, 0.00423431396484375, 0.0015001296997070312, -0.0149078369140625, -0.0234527587890625, -0.0293121337890625, -0.01003265380859375, 0.057769775390625, 0.01328277587890625, -0.0281524658203125, -0.01416015625, -0.00812530517578125, -0.00846099853515625, -0.01364898681640625, 0.01119232177734375, -0.0193939208984375, 0.037872314453125, -0.03076171875, 0.0372314453125, -0.0000521540641784668, -0.0084381103515625, -0.00693511962890625, 0.0023403167724609375, 0.0438232421875, -0.0189056396484375, 0.03448486328125, -0.0013208389282226562, 0.0007915496826171875, 0.03350830078125, -0.004619598388671875, 0.006786346435546875, 0.00899505615234375, -0.082763671875, -0.00823974609375, -0.0259857177734375, -0.03594970703125, 0.027191162109375, 0.03277587890625, 0.00101470947265625, -0.00786590576171875, -0.020111083984375, 0.0022563934326171875, 0.0251007080078125, -0.02099609375, -0.0015430450439453125, 0.044891357421875, 0.023834228515625, 0.006465911865234375, -0.0771484375, -0.03802490234375, -0.031646728515625, 0.00585174560546875, 0.0245208740234375, 0.00972747802734375, 0.02142333984375, 0.0123748779296875, -0.0167083740234375, 0.0071868896484375, -0.033416748046875, -0.0248260498046875, 0.044647216796875, -0.01727294921875, -0.028533935546875, -0.0037689208984375, -0.014495849609375, 0.0748291015625, 0.0087890625, 0.0266265869140625, 0.0296173095703125, -0.00888824462890625, 0.01030731201171875, -0.00337982177734375, 0.0043792724609375, -0.0396728515625, -0.046600341796875, -0.032440185546875, -0.00418853759765625, 0.0125732421875, -0.00377655029296875, -0.021514892578125, -0.00980377197265625, 0.0093536376953125, -0.031341552734375, 0.004299163818359375, 0.0312042236328125, 0.002536773681640625, 0.01271820068359375, 0.006931304931640625, 0.0032138824462890625, 0.00011515617370605469, -0.0233612060546875, 0.059234619140625, -0.0212249755859375, 0.022979736328125, 0.006229400634765625, 0.017852783203125, 0.0200653076171875, -0.0279388427734375, 0.046539306640625, -0.008331298828125, 0.004680633544921875, -0.03118896484375, 0.0232391357421875, -0.01322174072265625, 0.00998687744140625, -0.01404571533203125, -0.044189453125, 0.007778167724609375, 0.00595855712890625, -0.01220703125, -0.0007963180541992188, -0.03369140625, -0.0257110595703125, 0.007068634033203125, -0.0115814208984375, -0.00933074951171875, -0.0032749176025390625, -0.0228271484375, 0.026947021484375, -0.051483154296875, -0.01018524169921875, 0.016082763671875, 0.061920166015625, -0.04327392578125, 0.01250457763671875, -0.0257720947265625, -0.0401611328125, -0.01873779296875, 0.0281982421875, 0.049560546875, -0.023651123046875, 0.0089874267578125, 0.0552978515625, 0.0231475830078125, 0.112060546875, -0.043426513671875, -0.0024089813232421875, 0.005859375, 0.03887939453125, -0.03839111328125, -0.10791015625, 0.0072784423828125, -0.03314208984375, 0.007259368896484375, -0.00347137451171875, -0.01837158203125, 0.00023889541625976562, -0.031036376953125, -0.03546142578125, 0.07952880859375, -0.00811767578125, -0.02935791015625, -0.062744140625, 0.006565093994140625, 0.01178741455078125, -0.032470703125, -0.012481689453125, -0.0361328125, -0.0528564453125, 0.0232391357421875, 0.0240478515625, -0.03155517578125, 0.03924560546875, 0.006565093994140625, -0.050567626953125, 0.030975341796875, 0.0266571044921875, 0.00494384765625, 0.03912353515625, -0.017425537109375, 0.0328369140625, 0.04547119140625, -0.038421630859375, -0.0115814208984375, -0.0284881591796875, -0.0008001327514648438, -0.049407958984375, -0.0199432373046875, 0.01154327392578125, 0.0157318115234375, 0.07110595703125, 0.032073974609375, 0.0211029052734375, -0.044097900390625, 0.01177215576171875, 0.01177978515625, -0.024078369140625, -0.00807952880859375, 0.0223236083984375, -0.0570068359375, -0.024932861328125, 0.0032329559326171875, -0.022308349609375, -0.0107421875, -0.014495849609375, -0.044769287109375, -0.007633209228515625, -0.00452423095703125, -0.00010436773300170898, 0.01123809814453125, 0.0280303955078125, -0.0123291015625, -0.01171112060546875, -0.0162353515625, 0.0147552490234375, -0.0204925537109375, -0.03125, 0.0086212158203125, 0.016448974609375, 0.0301513671875, -0.0316162109375, -0.0077972412109375, 0.0251007080078125, 0.01544189453125, -0.00965118408203125, -0.0158538818359375, -0.044036865234375, 0.04425048828125, 0.0192413330078125, 0.0224151611328125, -0.0231475830078125, 0.065185546875, 0.030303955078125, 0.07501220703125, -0.0264434814453125, 0.057464599609375, -0.0019397735595703125, 0.04718017578125, -0.04644775390625, 0.01329803466796875, -0.01520538330078125, -0.0276336669921875, -0.01552581787109375, 0.00769805908203125, -0.016204833984375, -0.04217529296875, -0.0037288665771484375, 0.0224456787109375, 0.01325225830078125, 0.0182037353515625 ]
05b2cf4eb9809106f849da5c61e9e7781b7d88ed
Wordpress Stackexchange Q: Get list of all registered post types slugs I'd like to get a list (array) of all the post types I registered. Precisely I would like to retrieve their slugs. Could someone help me? thanks! A: The easiest way is the following using WordPress function get_post_types(); <?php $get_cpt_args = array( 'public' => true, '_builtin' => false ); $post_types = get_post_types( $get_cpt_args, 'object' ); // use 'names' if you want to get only name of the post type. // see the registered post types echo '<pre>'; print_r($post_types); echo '</pre>'; // do something with array if ( $post_types ) { foreach ( $post_types as $cpt_key => $cpt_val ) { // do something. } } ?>
Q: Get list of all registered post types slugs I'd like to get a list (array) of all the post types I registered. Precisely I would like to retrieve their slugs. Could someone help me? thanks! A: The easiest way is the following using WordPress function get_post_types(); <?php $get_cpt_args = array( 'public' => true, '_builtin' => false ); $post_types = get_post_types( $get_cpt_args, 'object' ); // use 'names' if you want to get only name of the post type. // see the registered post types echo '<pre>'; print_r($post_types); echo '</pre>'; // do something with array if ( $post_types ) { foreach ( $post_types as $cpt_key => $cpt_val ) { // do something. } } ?> A: When you call register_post_type(), it adds your new post type to a global variable called $wp_post_types. So you can get a list of all of your post types from that: function get_registered_post_types() { global $wp_post_types; return array_keys( $wp_post_types ); } The $wp_post_types variable is an array that contains your CPT definitions, with each set of CPT arguments (labels, capabilities, etc) mapped to the slug of the CPT. Calling array_keys() will give you an array of the slugs of your CPTs. A: @EAMann's answer is correct, but there's already a build in WordPress function for fetching all registered post types: get_post_types <?php // hook into init late, so everything is registered // you can also use get_post_types where ever. Any time after init is usually fine. add_action( 'init', 'wpse34410_init', 0, 99 ); function wpse34410_init() { $types = get_post_types( [], 'objects' ); foreach ( $types as $type ) { if ( isset( $type->rewrite->slug ) ) { // you'll probably want to do something else. echo $type->rewrite->slug; } } } A: A more elegant solution: <?php $cpt_args = [ 'public' => true, '_builtin' => false ]; $type_slugs = array_map( function( $type ) { return $type->slug; }, get_post_types( $cpt_args, 'objects' ) );
wordpress
{ "language": "en", "length": 313, "provenance": "stackexchange_00019.jsonl.gz:414814", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34410" }
[ 0.0303192138671875, 0.00580596923828125, -0.010101318359375, -0.0031223297119140625, 0.0121917724609375, -0.028045654296875, 0.0592041015625, -0.0128021240234375, -0.0289306640625, 0.0299835205078125, 0.01047515869140625, 0.0198974609375, -0.036285400390625, -0.0228271484375, 0.006305694580078125, -0.030517578125, 0.039520263671875, -0.029510498046875, 0.0201263427734375, -0.019256591796875, 0.0036067962646484375, 0.00815582275390625, 0.047454833984375, 0.07537841796875, 0.0299072265625, -0.035980224609375, 0.044891357421875, -0.01480865478515625, 0.0264434814453125, -0.0261993408203125, 0.0212554931640625, 0.016693115234375, -0.006366729736328125, 0.0018253326416015625, 0.039764404296875, 0.00566864013671875, 0.0248870849609375, 0.004978179931640625, 0.054534912109375, -0.00977325439453125, 0.008636474609375, 0.01128387451171875, 0.02801513671875, 0.0113677978515625, -0.0294647216796875, -0.0171661376953125, -0.01459503173828125, -0.00978851318359375, 0.0126953125, -0.0152130126953125, 0.022125244140625, -0.01232147216796875, 0.048370361328125, 0.0087890625, -0.02691650390625, 0.003292083740234375, 0.021728515625, -0.0035858154296875, 0.038848876953125, -0.038787841796875, -0.0380859375, -0.004116058349609375, 0.044525146484375, -0.007518768310546875, -0.034820556640625, 0.018951416015625, -0.0195770263671875, -0.0026798248291015625, -0.0206451416015625, -0.033447265625, 0.0193634033203125, -0.031707763671875, 0.01690673828125, 0.00658416748046875, 0.01421356201171875, -0.0447998046875, -0.0103607177734375, -0.00772857666015625, 0.033203125, 0.0141754150390625, 0.03375244140625, -0.03533935546875, -0.031646728515625, 0.03997802734375, -0.0127716064453125, 0.035980224609375, -0.0013933181762695312, -0.0271759033203125, -0.01418304443359375, -0.035186767578125, -0.0231781005859375, -0.023651123046875, -0.024017333984375, 0.0241546630859375, 0.0006532669067382812, -0.0335693359375, 0.03814697265625, 0.0031490325927734375, -0.0013637542724609375, -0.0224609375, 0.01904296875, -0.06439208984375, 0.0194091796875, -0.01021575927734375, 0.0298614501953125, 0.0226593017578125, -0.0177459716796875, 0.0151519775390625, 0.05169677734375, 0.037445068359375, 0.0103759765625, 0.0192718505859375, -0.0194854736328125, -0.00737762451171875, -0.026824951171875, 0.0257568359375, -0.024810791015625, -0.01251220703125, -0.01293182373046875, -0.0025539398193359375, 0.035186767578125, 0.049163818359375, 0.05523681640625, -0.045318603515625, -0.0254364013671875, -0.00555419921875, -0.026824951171875, -0.09161376953125, 0.0214691162109375, 0.02099609375, -0.0239715576171875, -0.00004118680953979492, 0.017913818359375, 0.00641632080078125, -0.0063018798828125, -0.0211029052734375, 0.0012464523315429688, 0.005245208740234375, -0.0018777847290039062, 0.03814697265625, -0.004180908203125, -0.041473388671875, 0.00312042236328125, 0.01953125, 0.0389404296875, 0.005046844482421875, 0.009124755859375, 0.0115966796875, 0.029510498046875, 0.03570556640625, -0.040679931640625, 0.016998291015625, 0.031097412109375, 0.017578125, -0.030792236328125, -0.01018524169921875, 0.0227203369140625, -0.03271484375, -0.0228424072265625, -0.06768798828125, -0.0121612548828125, -0.0096588134765625, 0.003192901611328125, -0.02978515625, -0.0347900390625, 0.0308380126953125, -0.01849365234375, -0.011383056640625, 0.0241241455078125, -0.010009765625, 0.01369476318359375, -0.0310821533203125, 0.01611328125, 0.00759124755859375, -0.01076507568359375, 0.0268096923828125, -0.0031757354736328125, -0.01465606689453125, 0.034454345703125, 0.02581787109375, -0.008941650390625, -0.0182342529296875, 0.018280029296875, 0.0010805130004882812, -0.0653076171875, 0.0364990234375, 0.005413055419921875, 0.04949951171875, 0.0226898193359375, -0.001300811767578125, 0.015533447265625, 0.0222320556640625, -0.0273284912109375, 0.01047515869140625, -0.023223876953125, 0.006366729736328125, -0.020355224609375, 0.0258026123046875, -0.032318115234375, -0.00496673583984375, -0.0196380615234375, -0.02191162109375, -0.0018224716186523438, 0.007061004638671875, -0.05523681640625, -0.0013933181762695312, -0.0079193115234375, 0.0305633544921875, 0.00464630126953125, 0.022125244140625, 0.0244598388671875, 0.011627197265625, -0.05804443359375, 0.0300750732421875, -0.01458740234375, 0.046630859375, -0.004638671875, -0.0215911865234375, -0.02337646484375, -0.00122833251953125, -0.035491943359375, -0.0069580078125, -0.05279541015625, 0.03070068359375, 0.0474853515625, 0.0229949951171875, -0.0165252685546875, -0.0124969482421875, 0.0250091552734375, 0.041107177734375, -0.07861328125, 0.0016088485717773438, -0.005817413330078125, 0.005462646484375, -0.03717041015625, -0.0034656524658203125, 0.005496978759765625, -0.01248931884765625, 0.0163726806640625, 0.0262603759765625, 0.02166748046875, 0.033416748046875, -0.01352691650390625, -0.00995635986328125, 0.06427001953125, -0.006221771240234375, 0.01450347900390625, 0.0026073455810546875, 0.00492095947265625, 0.05474853515625, 0.0189361572265625, 0.058135986328125, 0.01328277587890625, 0.07623291015625, 0.03302001953125, 0.041168212890625, -0.0114593505859375, 0.00015366077423095703, -0.005462646484375, 0.01531219482421875, -0.0153656005859375, -0.0450439453125, -0.0022716522216796875, -0.0360107421875, 0.01226043701171875, 0.028717041015625, 0.023193359375, 0.0232086181640625, -0.042938232421875, 0.0184783935546875, 0.020660400390625, 0.016998291015625, -0.00864410400390625, 0.045318603515625, 0.039581298828125, 0.0200958251953125, -0.04840087890625, -0.00811004638671875, -0.006557464599609375, 0.028411865234375, -0.0216064453125, 0.00826263427734375, 0.01190185546875, -0.002716064453125, -0.001522064208984375, -0.045654296875, 0.03216552734375, 0.0008268356323242188, -0.03680419921875, 0.007213592529296875, 0.0177154541015625, 0.050018310546875, -0.0032978057861328125, -0.00937652587890625, 0.0102996826171875, 0.0260772705078125, 0.040313720703125, -0.05450439453125, 0.027191162109375, -0.0156097412109375, 0.0733642578125, 0.07025146484375, -0.0036525726318359375, 0.0044403076171875, 0.0005083084106445312, -0.05145263671875, -0.010009765625, 0.0030841827392578125, -0.0203704833984375, -0.04278564453125, -0.038360595703125, 0.049713134765625, 0.00949859619140625, 0.03948974609375, -0.018280029296875, -0.046051025390625, -0.00463104248046875, 0.01203155517578125, -0.0546875, -0.013092041015625, -0.0082855224609375, -0.06549072265625, -0.0126953125, -0.0474853515625, -0.04058837890625, 0.024017333984375, -0.0228118896484375, 0.009765625, 0.0308380126953125, -0.002033233642578125, -0.058441162109375, -0.016387939453125, -0.0550537109375, -0.01611328125, -0.010009765625, 0.0080413818359375, 0.0137481689453125, 0.04498291015625, 0.0251312255859375, -0.0176544189453125, 0.03839111328125, 0.034881591796875, -0.0219573974609375, 0.00934600830078125, -0.01214599609375, -0.00946044921875, 0.0242156982421875, 0.0039215087890625, -0.0195159912109375, 0.01480865478515625, 0.006008148193359375, -0.0205078125, 0.020233154296875, -0.02105712890625, 0.04107666015625, 0.033355712890625, -0.045318603515625, -0.00385284423828125, 0.04876708984375, -0.05255126953125, -0.0182342529296875, -0.0054473876953125, -0.037384033203125, 0.009185791015625, -0.002803802490234375, -0.0003147125244140625, -0.026214599609375, 0.03253173828125, 0.006977081298828125, 0.0130157470703125, 0.0083465576171875, -0.0244903564453125, 0.040924072265625, 0.004924774169921875, 0.014190673828125, -0.018310546875, 0.00983428955078125, -0.00954437255859375, 0.021697998046875, -0.0003018379211425781, 0.0230560302734375, 0.001323699951171875, 0.0163726806640625, -0.03350830078125, -0.09979248046875, 0.06756591796875, -0.035064697265625, -0.0245513916015625, -0.047943115234375, -0.03106689453125, 0.0031032562255859375, 0.11175537109375, -0.01690673828125, -0.0117034912109375, -0.0384521484375, -0.003223419189453125, 0.01329803466796875, -0.0604248046875, -0.0091552734375, -0.01526641845703125, -0.058441162109375, 0.00460052490234375, -0.00788116455078125, -0.03173828125, -0.005977630615234375, -0.0299530029296875, -0.03240966796875, -0.03466796875, 0.044342041015625, -0.033782958984375, 0.018402099609375, -0.00756072998046875, 0.01329803466796875, -0.02593994140625, -0.042022705078125, -0.004413604736328125, -0.0731201171875, -0.028472900390625, 0.038665771484375, 0.0672607421875, 0.00017082691192626953, -0.03729248046875, -0.00644683837890625, 0.0562744140625, 0.023773193359375, 0.028656005859375, 0.013641357421875, 0.0130615234375, -0.007904052734375, -0.0226593017578125, 0.01161956787109375, -0.038421630859375, -0.0155181884765625, -0.0290069580078125, -0.03973388671875, -0.0008759498596191406, -0.017303466796875, 0.007137298583984375, 0.00849151611328125, -0.0268096923828125, 0.01088714599609375, -0.0017900466918945312, -0.0026226043701171875, 0.0018253326416015625, 0.0138397216796875, -0.0121917724609375, -0.0023174285888671875, 0.0014352798461914062, 0.0289306640625, 0.0217132568359375, -0.01995849609375, 0.00731658935546875, 0.04974365234375, 0.006061553955078125, -0.034393310546875, -0.05987548828125, 0.0019254684448242188, 0.040618896484375, -0.0111846923828125, 0.0197601318359375, 0.0278167724609375, -0.0213165283203125, 0.0196533203125, 0.00384521484375, -0.0389404296875, -0.0047454833984375, 0.03631591796875, 0.0312042236328125, 0.025360107421875, -0.04583740234375, -0.0267333984375, 0.06842041015625, 0.0175323486328125, -0.0126953125, -0.0273590087890625, 0.004627227783203125, 0.0726318359375, -0.019561767578125, 0.0333251953125, -0.0499267578125, -0.04925537109375, 0.02972412109375, -0.0072021484375, 0.01168060302734375, 0.0059051513671875, -0.0014772415161132812, 0.021453857421875, 0.0023784637451171875, -0.00042247772216796875, 0.01441192626953125, 0.0165863037109375, 0.046295166015625, 0.03350830078125, 0.016204833984375, 0.01910400390625, -0.026519775390625, 0.0023040771484375, -0.00984954833984375, -0.021484375, -0.07708740234375, 0.020233154296875, -0.0171661376953125, 0.0035800933837890625, 0.03607177734375, -0.00041794776916503906, 0.056884765625, 0.0811767578125, 0.00630950927734375, -0.01898193359375, -0.0361328125, 0.0704345703125, -0.058990478515625, 0.02001953125, -0.0012264251708984375, -0.005321502685546875, -0.01216888427734375, 0.06549072265625, -0.0216522216796875, 0.027923583984375, 0.00800323486328125, 0.032958984375, 0.0206146240234375, 0.04364013671875, 0.0206756591796875, -0.0254669189453125, -0.02032470703125, 0.0186920166015625, -0.0279998779296875, -0.04193115234375, 0.01123046875, 0.0156707763671875, 0.0362548828125, 0.00722503662109375, -0.032012939453125, 0.0249786376953125, -0.022674560546875, 0.006591796875, 0.029541015625, 0.004085540771484375, -0.0231170654296875, -0.01280975341796875, 0.01506805419921875, 0.024993896484375, -0.027099609375, -0.024078369140625, 0.0229644775390625, 0.001003265380859375, 0.00974273681640625, -0.014892578125, -0.058074951171875, 0.0280303955078125, 0.07177734375, -0.055938720703125, -0.04058837890625, -0.0066070556640625, -0.04742431640625, -0.01654052734375, -0.0016736984252929688, -0.0271453857421875, 0.0237274169921875, -0.01480865478515625, 0.02337646484375, -0.0217132568359375, -0.0048980712890625, 0.006046295166015625, 0.002429962158203125, 0.06500244140625, 0.019866943359375, -0.0030670166015625, -0.01001739501953125, -0.034576416015625, -0.0017843246459960938, 0.0443115234375, -0.027099609375, -0.006252288818359375, -0.02728271484375, 0.01129150390625, 0.01232147216796875, 0.015655517578125, 0.01216888427734375, 0.03179931640625, 0.0261383056640625, -0.006458282470703125, 0.033905029296875, 0.00510406494140625, 0.01934814453125, -0.00440216064453125, 0.014617919921875, -0.011962890625, -0.01702880859375, -0.03387451171875, 0.006072998046875, 0.00037980079650878906, -0.04730224609375, -0.0267181396484375, -0.00225830078125, -0.0177459716796875, 0.0273895263671875, 0.044281005859375, 0.0108489990234375, -0.02410888671875, -0.007221221923828125, 0.0041046142578125, -0.0258636474609375, 0.049957275390625, 0.005962371826171875, -0.0040130615234375, 0.022216796875, 0.0078887939453125, -0.006687164306640625, -0.0162200927734375, -0.0007767677307128906, -0.00894927978515625, 0.01160430908203125, -0.0007176399230957031, -0.0272369384765625, -0.02618408203125, 0.034027099609375, 0.043792724609375, 0.011322021484375, 0.03680419921875, 0.0029354095458984375, 0.01404571533203125, 0.011138916015625, -0.0158233642578125, 0.0211181640625, -0.0019235610961914062, 0.06060791015625, 0.00855255126953125, -0.0107269287109375, 0.045135498046875, -0.0309295654296875, -0.01412200927734375, 0.034393310546875, 0.03826904296875, -0.06597900390625, 0.006931304931640625, 0.04486083984375, 0.0077972412109375, -0.027862548828125, 0.0009112358093261719, -0.029205322265625, -0.0281829833984375, 0.0096893310546875, -0.03753662109375, -0.04736328125, -0.0211944580078125, 0.0011301040649414062, 0.00852203369140625, -0.014312744140625, 0.06396484375, 0.00537872314453125, 0.005367279052734375, -0.022003173828125, -0.0031890869140625, 0.01428985595703125, -0.037689208984375, 0.025146484375, -0.031097412109375, 0.016510009765625, -0.04522705078125, 0.00936126708984375, -0.01544189453125, 0.019927978515625, 0.0225677490234375, 0.01450347900390625, -0.0122222900390625, 0.038482666015625, -0.01134490966796875, 0.003726959228515625, 0.009979248046875, -0.06036376953125, -0.045562744140625, -0.0162353515625, -0.018310546875, 0.05889892578125, -0.020050048828125, 0.030487060546875, -0.031646728515625, 0.01593017578125, -0.01348876953125, -0.031280517578125, 0.062744140625, -0.03167724609375, -0.0109405517578125, 0.038177490234375, 0.029510498046875, -0.014007568359375, -0.00750732421875, -0.004261016845703125, -0.0224456787109375, 0.01137542724609375, -0.0082244873046875, -0.0023937225341796875, -0.004810333251953125, -0.0103912353515625, -0.027618408203125, 0.05767822265625, 0.00595855712890625, 0.004749298095703125, 0.051910400390625, 0.018524169921875, -0.057891845703125, -0.01139068603515625, -0.0423583984375, 0.07293701171875, 0.009429931640625, 0.0214996337890625, -0.055938720703125, -0.01067352294921875, -0.00890350341796875, 0.023284912109375, 0.0843505859375, -0.0005345344543457031, -0.0254669189453125, -0.0008082389831542969, 0.08758544921875, 0.042510986328125, -0.00939178466796875, 0.0277557373046875, -0.0008039474487304688, 0.0298309326171875, 0.06927490234375, -0.044464111328125, 0.034393310546875, 0.00213623046875, 0.004161834716796875, 0.01197052001953125, -0.002834320068359375, -0.0100555419921875, 0.006778717041015625, -0.066650390625, -0.018341064453125, 0.002105712890625, -0.0212249755859375, 0.02001953125, 0.0182342529296875, 0.0633544921875, 0.0570068359375, -0.0171051025390625, 0.0297393798828125, -0.035858154296875, 0.07135009765625, -0.0215301513671875, -0.0095977783203125, 0.0035915374755859375, -0.004871368408203125, 0.044281005859375, -0.016937255859375, -0.0238800048828125, 0.00853729248046875, 0.0130157470703125, 0.044647216796875, 0.0269622802734375, 0.01177978515625, -0.05596923828125, 0.001514434814453125, 0.07330322265625, 0.05438232421875, -0.053375244140625, -0.08709716796875, 0.029541015625, 0.033447265625, -0.0018224716186523438, 0.0654296875, 0.04193115234375, -0.03167724609375, 0.0819091796875, -0.044952392578125, -0.04656982421875, -0.013671875, 0.06866455078125, -0.0242919921875, -0.08074951171875, 0.01316070556640625, -0.0693359375, -0.041229248046875, -0.0016298294067382812, 0.0209503173828125, 0.052459716796875, 0.018096923828125, 0.0653076171875, -0.00771331787109375, -0.0259552001953125, 0.015045166015625, -0.009307861328125, -0.00533294677734375, -0.01004791259765625, 0.01024627685546875, -0.0154876708984375, 0.005512237548828125, 0.007678985595703125, 0.0721435546875, -0.02996826171875, 0.0460205078125, 0.01187896728515625, -0.045196533203125, 0.018707275390625, 0.058563232421875, 0.00278472900390625, -0.01568603515625, -0.04443359375, -0.00225830078125, 0.0180206298828125, -0.01190185546875, 0.0172576904296875, -0.005558013916015625, 0.03118896484375, 0.005489349365234375, 0.04412841796875, -0.0029506683349609375, 0.026214599609375, 0.03997802734375, -0.0008563995361328125, -0.0057525634765625, 0.01953125, -0.064208984375, -0.0067291259765625, -0.05950927734375, -0.0494384765625, 0.06134033203125, 0.039581298828125, -0.0128326416015625, 0.01480865478515625, 0.0198822021484375, -0.03216552734375, -0.0014591217041015625, 0.028533935546875, 0.0214691162109375, 0.0006418228149414062, 0.001567840576171875, -0.006420135498046875, -0.064453125, -0.0186767578125, -0.023712158203125, 0.0006170272827148438, 0.009979248046875, 0.057586669921875, 0.026519775390625, 0.01049041748046875, -0.0188751220703125, 0.0291290283203125, -0.033050537109375, -0.031402587890625, 0.0258331298828125, -0.00604248046875, 0.00936126708984375, 0.0012378692626953125, -0.025848388671875, 0.0121002197265625, 0.06646728515625, -0.0303955078125, 0.0010128021240234375, 0.007625579833984375, 0.01654052734375, -0.035736083984375, 0.006145477294921875, -0.031982421875, -0.03399658203125, -0.02581787109375, -0.006565093994140625, 0.005016326904296875, 0.0164642333984375, 0.02691650390625, 0.0237884521484375, -0.0220184326171875, -0.06842041015625, 0.01107025146484375, -0.051055908203125, -0.005199432373046875, 0.028076171875, 0.039703369140625, -0.0270843505859375, 0.0268707275390625, -0.00980377197265625, 0.01116180419921875, 0.016357421875, 0.057098388671875, 0.0038623809814453125, 0.021728515625, -0.03631591796875, -0.006256103515625, 0.0133514404296875, -0.016754150390625, 0.005218505859375, -0.0180816650390625, 0.00003123283386230469, -0.01132965087890625, -0.056793212890625, -0.042999267578125, -0.0560302734375, 0.01157379150390625, 0.03759765625, -0.0106964111328125, -0.00920867919921875, -0.0259246826171875, -0.0251617431640625, 0.011138916015625, -0.033355712890625, 0.033050537109375, -0.01416778564453125, -0.04766845703125, 0.00014388561248779297, -0.0306243896484375, -0.024261474609375, 0.01995849609375, 0.025665283203125, -0.01248931884765625, 0.03375244140625, -0.0128326416015625, -0.0258026123046875, 0.0210723876953125, 0.031524658203125, 0.057647705078125, -0.047943115234375, -0.0226287841796875, 0.026519775390625, 0.032135009765625, 0.068603515625, 0.00653076171875, -0.0142822265625, 0.0279541015625, 0.003986358642578125, -0.0399169921875, -0.07879638671875, 0.0204925537109375, -0.07244873046875, 0.0009198188781738281, -0.038848876953125, 0.04541015625, 0.05950927734375, -0.0028820037841796875, -0.0281829833984375, 0.11297607421875, -0.0450439453125, 0.0022602081298828125, -0.12274169921875, 0.039215087890625, 0.04638671875, -0.044769287109375, -0.055206298828125, 0.00951385498046875, -0.0570068359375, 0.0275421142578125, 0.00772857666015625, 0.01047515869140625, 0.016357421875, -0.001857757568359375, -0.0187835693359375, 0.0223388671875, 0.0260772705078125, -0.01500701904296875, 0.010894775390625, -0.0072021484375, 0.01381683349609375, 0.034576416015625, -0.04345703125, 0.00008940696716308594, -0.0222625732421875, 0.0187530517578125, -0.007801055908203125, -0.050994873046875, -0.041168212890625, -0.0215911865234375, 0.0635986328125, 0.044952392578125, 0.0308380126953125, -0.039093017578125, -0.0040130615234375, 0.0040130615234375, -0.05499267578125, -0.040283203125, 0.04669189453125, -0.0810546875, -0.0202484130859375, -0.0167083740234375, 0.01340484619140625, -0.0200347900390625, -0.0347900390625, -0.0019483566284179688, -0.0238037109375, -0.006267547607421875, -0.0032863616943359375, 0.0242767333984375, 0.052734375, -0.0557861328125, 0.027923583984375, 0.0247955322265625, -0.05560302734375, -0.00042176246643066406, -0.02178955078125, -0.0257110595703125, -0.031463623046875, -0.0289306640625, 0.03314208984375, 0.038330078125, -0.007053375244140625, 0.01467132568359375, 0.001007080078125, 0.016326904296875, -0.0240325927734375, 0.0219268798828125, 0.01116180419921875, 0.0195159912109375, -0.02252197265625, 0.050201416015625, 0.032684326171875, 0.02801513671875, 0.019439697265625, 0.045745849609375, 0.01055908203125, 0.06268310546875, 0.0188751220703125, -0.04425048828125, 0.021148681640625, -0.061767578125, 0.004505157470703125, -0.0200653076171875, -0.034393310546875, -0.02386474609375, 0.0020294189453125, 0.0460205078125, -0.03521728515625, 0.022857666015625 ]
9e6faf1a2bf67511afbf94d8207b09cc00861c52
Wordpress Stackexchange Q: WordPress Google Maps Does anyone know of a nice map plugin for WordPress? I have a diary website in WordPress where each diary entry has the latitude and longitude of where each post was written. I thought it would be cool for each post to have a google map showing where each entry was written. Maybe even show the path that was taken while writing the diary. Any ideas? A: There is one and two really interesting ones at the general plugin database. Slightly different with their layout options, but they both take data input (coordinates and what-have-you) in plenty of formats. hope that helps, J
Q: WordPress Google Maps Does anyone know of a nice map plugin for WordPress? I have a diary website in WordPress where each diary entry has the latitude and longitude of where each post was written. I thought it would be cool for each post to have a google map showing where each entry was written. Maybe even show the path that was taken while writing the diary. Any ideas? A: There is one and two really interesting ones at the general plugin database. Slightly different with their layout options, but they both take data input (coordinates and what-have-you) in plenty of formats. hope that helps, J
wordpress
{ "language": "en", "length": 107, "provenance": "stackexchange_00019.jsonl.gz:414822", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34446" }
[ -0.0012950897216796875, 0.0021038055419921875, 0.04083251953125, 0.07769775390625, -0.028289794921875, -0.0183258056640625, 0.06005859375, -0.0687255859375, 0.0072784423828125, 0.003475189208984375, -0.0276031494140625, -0.007266998291015625, -0.0340576171875, -0.035797119140625, 0.0011396408081054688, -0.046234130859375, 0.05316162109375, -0.04833984375, 0.01110076904296875, -0.0296478271484375, 0.003391265869140625, -0.00601959228515625, 0.032379150390625, 0.09259033203125, 0.0146636962890625, 0.0614013671875, 0.0265045166015625, -0.012359619140625, 0.005847930908203125, 0.00396728515625, 0.02069091796875, -0.035125732421875, 0.006404876708984375, 0.01477813720703125, 0.01165008544921875, -0.00025272369384765625, -0.023651123046875, 0.0189208984375, 0.028228759765625, -0.00518035888671875, -0.0023708343505859375, -0.002010345458984375, -0.02728271484375, -0.01424407958984375, -0.0271453857421875, -0.043853759765625, -0.00205230712890625, -0.0302886962890625, -0.005138397216796875, -0.019500732421875, 0.0277099609375, 0.030548095703125, 0.04132080078125, 0.0089569091796875, -0.000026166439056396484, 0.0180206298828125, -0.006175994873046875, 0.019683837890625, 0.024383544921875, -0.0445556640625, -0.0249786376953125, -0.00890350341796875, 0.02667236328125, 0.038604736328125, -0.0167694091796875, 0.00179290771484375, -0.0504150390625, 0.00885009765625, -0.010406494140625, -0.01033782958984375, 0.0267181396484375, -0.0215301513671875, -0.021148681640625, -0.0178070068359375, -0.0009350776672363281, 0.042510986328125, 0.007411956787109375, -0.005931854248046875, -0.0052337646484375, 0.0178070068359375, 0.00661468505859375, 0.0005974769592285156, 0.011871337890625, -0.0240936279296875, 0.0003147125244140625, -0.00817108154296875, -0.01453399658203125, -0.0090179443359375, -0.051605224609375, -0.0089263916015625, -0.034332275390625, -0.0400390625, -0.07861328125, 0.050018310546875, 0.01702880859375, 0.00823974609375, 0.02337646484375, 0.033660888671875, -0.00569915771484375, -0.0018472671508789062, 0.017730712890625, -0.05328369140625, 0.013427734375, -0.018463134765625, -0.0227203369140625, 0.028778076171875, 0.0189666748046875, -0.002201080322265625, 0.01361083984375, 0.0233612060546875, -0.002307891845703125, 0.00836181640625, 0.021026611328125, 0.002593994140625, -0.02044677734375, -0.0159759521484375, -0.0076904296875, 0.00403594970703125, 0.007579803466796875, -0.006519317626953125, -0.0216064453125, -0.0054473876953125, -0.034576416015625, 0.0215301513671875, 0.01161956787109375, -0.00917816162109375, -0.01049041748046875, 0.0294036865234375, 0.0103912353515625, -0.0036449432373046875, -0.039886474609375, 0.026519775390625, 0.037811279296875, 0.0135345458984375, -0.0175323486328125, -0.00931549072265625, 0.010406494140625, -0.060882568359375, -0.0139923095703125, 0.004680633544921875, -0.033203125, 0.004535675048828125, 0.035491943359375, -0.050628662109375, 0.049407958984375, -0.014129638671875, 0.004528045654296875, 0.03411865234375, 0.028350830078125, 0.0031185150146484375, 0.03973388671875, 0.0003151893615722656, 0.0024738311767578125, 0.01459503173828125, 0.07281494140625, -0.0300445556640625, 0.03515625, -0.028411865234375, 0.0458984375, 0.012908935546875, 0.06524658203125, 0.0070953369140625, -0.0015411376953125, -0.00449371337890625, -0.0243072509765625, -0.01430511474609375, -0.037506103515625, -0.0067291259765625, 0.0047149658203125, -0.01293182373046875, 0.0187225341796875, 0.03765869140625, -0.00830078125, -0.00550079345703125, 0.02142333984375, -0.01515960693359375, -0.0181121826171875, -0.0258941650390625, 0.0282135009765625, 0.0537109375, 0.0296783447265625, -0.004413604736328125, 0.00614166259765625, 0.032501220703125, -0.0222930908203125, 0.046875, 0.0151824951171875, 0.05023193359375, -0.01050567626953125, 0.0265045166015625, -0.0199432373046875, 0.040863037109375, -0.029052734375, 0.05706787109375, -0.01131439208984375, -0.044403076171875, 0.00131988525390625, 0.01430511474609375, -0.002361297607421875, -0.045166015625, -0.0298309326171875, 0.0006690025329589844, 0.005397796630859375, 0.01148223876953125, -0.0250091552734375, 0.018524169921875, -0.01953125, 0.04046630859375, 0.0308380126953125, 0.015045166015625, -0.01812744140625, -0.024932861328125, 0.003902435302734375, -0.0177459716796875, -0.032867431640625, 0.01151275634765625, -0.007160186767578125, -0.01100921630859375, -0.008697509765625, 0.00921630859375, -0.0012483596801757812, 0.0209808349609375, -0.0244140625, 0.01343536376953125, -0.00634002685546875, -0.018157958984375, -0.044769287109375, -0.019927978515625, -0.07666015625, -0.0164337158203125, -0.0625, 0.08135986328125, 0.0268402099609375, 0.046600341796875, 0.00592041015625, -0.0192718505859375, -0.004032135009765625, -0.07958984375, 0.01253509521484375, 0.051116943359375, 0.0301055908203125, 0.051971435546875, 0.000027894973754882812, 0.00348663330078125, 0.0775146484375, 0.004100799560546875, 0.02618408203125, -0.01214599609375, 0.006145477294921875, 0.07318115234375, -0.0247955322265625, 0.0345458984375, 0.00009500980377197266, -0.01287841796875, -0.004947662353515625, 0.055755615234375, -0.0244903564453125, 0.00428009033203125, -0.007465362548828125, 0.023773193359375, -0.013702392578125, 0.0301971435546875, 0.035400390625, -0.01409149169921875, 0.00853729248046875, 0.02294921875, 0.040069580078125, 0.056427001953125, -0.0236053466796875, -0.005474090576171875, 0.01224517822265625, 0.0689697265625, 0.00759124755859375, 0.039398193359375, 0.0550537109375, 0.01280975341796875, -0.0245513916015625, -0.0440673828125, 0.033905029296875, 0.0277099609375, -0.007076263427734375, -0.0222625732421875, -0.0380859375, -0.00795745849609375, 0.0150146484375, -0.04254150390625, 0.008056640625, 0.0253753662109375, -0.027862548828125, -0.054046630859375, -0.0241851806640625, 0.0192413330078125, -0.0428466796875, 0.057159423828125, 0.02471923828125, -0.0208587646484375, 0.08660888671875, -0.05194091796875, 0.04522705078125, -0.0305023193359375, 0.07476806640625, 0.06292724609375, -0.01641845703125, 0.00731658935546875, -0.01087188720703125, 0.0247344970703125, 0.0087127685546875, -0.0097198486328125, -0.018096923828125, -0.033294677734375, -0.036773681640625, -0.018829345703125, 0.01226806640625, 0.0421142578125, -0.01525115966796875, -0.05914306640625, -0.00799560546875, 0.01172637939453125, -0.061431884765625, -0.045318603515625, -0.00798797607421875, -0.04022216796875, 0.00241851806640625, 0.00359344482421875, -0.0200042724609375, -0.005886077880859375, 0.037322998046875, 0.00440216064453125, -0.025970458984375, -0.045623779296875, -0.084228515625, -0.09979248046875, -0.087646484375, 0.03704833984375, -0.004154205322265625, 0.040283203125, 0.0292205810546875, -0.01474761962890625, 0.005657196044921875, -0.03167724609375, 0.008453369140625, 0.047821044921875, -0.0298919677734375, -0.0206756591796875, -0.042694091796875, -0.01364898681640625, -0.013519287109375, -0.00508880615234375, 0.004024505615234375, -0.00916290283203125, 0.0218505859375, 0.01082611083984375, 0.01189422607421875, 0.01312255859375, 0.0250244140625, -0.04290771484375, -0.0220184326171875, 0.037994384765625, -0.0189666748046875, -0.051605224609375, 0.037811279296875, 0.018218994140625, -0.00004976987838745117, -0.022735595703125, -0.0215911865234375, -0.0286865234375, -0.0279998779296875, 0.0019588470458984375, 0.06695556640625, 0.0394287109375, -0.00945281982421875, 0.041107177734375, -0.01422119140625, 0.0002689361572265625, 0.038421630859375, -0.0247344970703125, -0.03564453125, -0.045684814453125, 0.0367431640625, -0.0278778076171875, -0.0035686492919921875, 0.006343841552734375, -0.01116943359375, 0.00536346435546875, -0.0017538070678710938, 0.038604736328125, 0.023895263671875, 0.032562255859375, -0.00009363889694213867, -0.04278564453125, 0.010650634765625, 0.07110595703125, -0.028594970703125, -0.005931854248046875, 0.021392822265625, -0.004772186279296875, -0.0216522216796875, 0.033538818359375, -0.09033203125, -0.0082244873046875, -0.057220458984375, 0.0097808837890625, 0.005710601806640625, -0.033477783203125, -0.0185546875, 0.062255859375, -0.041778564453125, -0.01255035400390625, 0.0261688232421875, -0.040283203125, -0.0201568603515625, 0.0259246826171875, -0.00936126708984375, -0.01384735107421875, -0.022064208984375, -0.01715087890625, -0.01126861572265625, -0.01419830322265625, 0.002410888671875, 0.036590576171875, 0.0616455078125, -0.07489013671875, 0.008148193359375, 0.02459716796875, -0.007785797119140625, 0.00284576416015625, 0.005245208740234375, 0.0115814208984375, 0.00379180908203125, 0.0177001953125, -0.019256591796875, -0.017364501953125, -0.01021575927734375, 0.00269317626953125, -0.002468109130859375, 0.0119171142578125, -0.01372528076171875, -0.030548095703125, 0.015625, -0.0301513671875, 0.0025043487548828125, -0.011993408203125, 0.00635528564453125, 0.00643157958984375, -0.0080108642578125, -0.004428863525390625, 0.016143798828125, 0.0180206298828125, 0.0016193389892578125, 0.01171112060546875, -0.0197906494140625, 0.0309600830078125, 0.0195159912109375, 0.0193939208984375, -0.00487518310546875, -0.0789794921875, 0.0140838623046875, 0.01654052734375, 0.04736328125, 0.03900146484375, 0.0073394775390625, -0.009033203125, 0.01056671142578125, 0.01043701171875, -0.001201629638671875, -0.031005859375, 0.032196044921875, 0.01471710205078125, 0.01390838623046875, -0.0031108856201171875, 0.0082244873046875, 0.0283203125, 0.02935791015625, -0.0156707763671875, -0.0310211181640625, -0.056976318359375, 0.054473876953125, 0.0092315673828125, 0.0262298583984375, -0.059295654296875, -0.028717041015625, 0.0146331787109375, 0.0019817352294921875, 0.026611328125, 0.016876220703125, -0.00792694091796875, 0.0171051025390625, 0.015625, -0.021392822265625, 0.038055419921875, 0.0418701171875, 0.030792236328125, 0.0233306884765625, 0.033538818359375, -0.0187530517578125, -0.028961181640625, -0.0182647705078125, 0.093017578125, 0.0223236083984375, -0.05926513671875, 0.0253753662109375, -0.0201263427734375, -0.00734710693359375, -0.0020580291748046875, -0.01457977294921875, 0.027191162109375, 0.062103271484375, -0.0021915435791015625, 0.012969970703125, -0.0216064453125, 0.030029296875, -0.027801513671875, -0.00589752197265625, -0.050537109375, 0.004055023193359375, -0.0172271728515625, 0.050201416015625, -0.06732177734375, 0.0297088623046875, 0.0015058517456054688, 0.004756927490234375, -0.0274200439453125, 0.07537841796875, 0.038421630859375, -0.0271453857421875, -0.0100250244140625, 0.036224365234375, -0.0277862548828125, -0.0176239013671875, 0.00406646728515625, -0.034027099609375, -0.009429931640625, -0.005615234375, -0.01049041748046875, 0.07464599609375, -0.0164642333984375, -0.00940704345703125, 0.00327301025390625, 0.0100555419921875, -0.0255279541015625, 0.0235137939453125, 0.038360595703125, -0.013885498046875, -0.0033206939697265625, 0.035858154296875, -0.018463134765625, -0.00637054443359375, 0.00640869140625, -0.035003662109375, 0.026397705078125, -0.038299560546875, -0.03924560546875, -0.0584716796875, -0.03179931640625, -0.017333984375, -0.0218963623046875, -0.037811279296875, 0.01367950439453125, -0.00847625732421875, -0.0011129379272460938, -0.036163330078125, -0.005352020263671875, -0.0150604248046875, 0.020965576171875, -0.0223541259765625, 0.0214385986328125, 0.0159149169921875, 0.0099334716796875, 0.013336181640625, -0.021087646484375, -0.048126220703125, -0.06243896484375, -0.0289154052734375, -0.00981903076171875, -0.043701171875, 0.00846099853515625, 0.0012445449829101562, 0.02838134765625, -0.032562255859375, -0.0248260498046875, -0.00855255126953125, 0.0210723876953125, -0.007030487060546875, 0.050384521484375, -0.0108795166015625, 0.0290679931640625, 0.01175689697265625, 0.023773193359375, -0.008453369140625, 0.0025119781494140625, -0.02178955078125, -0.00571441650390625, 0.0205078125, -0.064697265625, -0.0384521484375, -0.002307891845703125, -0.04730224609375, 0.0132598876953125, 0.00652313232421875, -0.0107421875, 0.03509521484375, -0.011474609375, 0.0191650390625, 0.00982666015625, -0.0197296142578125, -0.00396728515625, -0.03558349609375, 0.07513427734375, 0.00475311279296875, 0.03582763671875, -0.026031494140625, 0.00490570068359375, 0.0249176025390625, -0.0155181884765625, 0.034759521484375, -0.023590087890625, -0.0008149147033691406, 0.0038318634033203125, 0.03277587890625, 0.01702880859375, 0.046630859375, 0.04693603515625, 0.03546142578125, 0.00803375244140625, -0.0120697021484375, 0.0002906322479248047, -0.0216217041015625, 0.0124053955078125, -0.0248565673828125, -0.0028667449951171875, 0.0227813720703125, -0.027435302734375, -0.00507354736328125, -0.01396942138671875, 0.0156097412109375, -0.046783447265625, 0.0450439453125, -0.01068115234375, 0.0157012939453125, 0.04852294921875, -0.0101776123046875, -0.03155517578125, -0.024505615234375, 0.0082244873046875, 0.0237274169921875, -0.0163116455078125, 0.005336761474609375, 0.0235443115234375, 0.003818511962890625, -0.03497314453125, 0.038909912109375, 0.0009016990661621094, -0.10797119140625, 0.048309326171875, 0.05755615234375, 0.01042938232421875, -0.03912353515625, -0.006313323974609375, -0.01235198974609375, -0.02081298828125, -0.05279541015625, 0.00946807861328125, -0.01412200927734375, 0.032440185546875, -0.0211944580078125, -0.0006413459777832031, 0.02777099609375, 0.047119140625, -0.019500732421875, -0.009735107421875, 0.031768798828125, 0.006481170654296875, 0.06622314453125, -0.0185089111328125, 0.0010995864868164062, 0.0214691162109375, -0.021331787109375, -0.00783538818359375, 0.003849029541015625, 0.00525665283203125, -0.0115966796875, -0.005016326904296875, 0.0484619140625, -0.03265380859375, -0.005863189697265625, 0.01290130615234375, -0.002231597900390625, 0.003582000732421875, 0.0097503662109375, 0.0274658203125, -0.0355224609375, 0.0276947021484375, 0.0257110595703125, 0.0538330078125, 0.016845703125, 0.038970947265625, -0.030609130859375, 0.060272216796875, -0.0016536712646484375, -0.0259552001953125, -0.0095672607421875, 0.03961181640625, -0.01971435546875, 0.00670623779296875, -0.006877899169921875, 0.037322998046875, 0.01132965087890625, -0.0072784423828125, -0.01319122314453125, -0.00510406494140625, -0.01087188720703125, 0.0283660888671875, 0.06805419921875, 0.0024356842041015625, -0.0269317626953125, -0.048492431640625, -0.0256500244140625, 0.023468017578125, -0.01395416259765625, 0.02508544921875, 0.03912353515625, 0.0164337158203125, 0.0753173828125, -0.0025119781494140625, 0.05853271484375, -0.03631591796875, 0.0386962890625, 0.039337158203125, -0.0010623931884765625, -0.005725860595703125, 0.00444793701171875, -0.005626678466796875, 0.0400390625, -0.022613525390625, -0.03204345703125, -0.01044464111328125, -0.0006837844848632812, 0.0333251953125, 0.028167724609375, -0.0723876953125, -0.050750732421875, -0.027374267578125, 0.034912109375, -0.01122283935546875, -0.0274200439453125, -0.003353118896484375, 0.0024566650390625, -0.0212554931640625, 0.0025539398193359375, -0.0205230712890625, 0.04351806640625, -0.01177978515625, 0.08392333984375, 0.01971435546875, 0.0173187255859375, -0.062103271484375, -0.01910400390625, 0.0396728515625, 0.10784912109375, -0.04632568359375, -0.0311431884765625, 0.00662994384765625, 0.01248931884765625, 0.01324462890625, -0.005847930908203125, 0.0157470703125, -0.0272216796875, 0.01898193359375, -0.001468658447265625, -0.01134490966796875, 0.0014619827270507812, 0.00494384765625, -0.006885528564453125, -0.0208740234375, 0.00917816162109375, 0.0079498291015625, -0.00591278076171875, -0.0304107666015625, -0.007419586181640625, 0.01433563232421875, 0.0276336669921875, 0.0180206298828125, -0.0117645263671875, -0.000008225440979003906, 0.0248870849609375, 0.005191802978515625, 0.011444091796875, -0.0172882080078125, 0.00385284423828125, -0.014068603515625, 0.00039124488830566406, 0.01300048828125, 0.013031005859375, 0.07293701171875, 0.0284576416015625, 0.0124664306640625, 0.0007805824279785156, 0.004680633544921875, 0.08856201171875, -0.0176849365234375, -0.039031982421875, -0.02752685546875, 0.020416259765625, 0.038543701171875, 0.0211639404296875, 0.036376953125, 0.0197296142578125, 0.0318603515625, -0.0275421142578125, 0.039947509765625, -0.0129852294921875, -0.01312255859375, 0.0140838623046875, 0.0018825531005859375, 0.0276031494140625, -0.00412750244140625, -0.06719970703125, 0.0030040740966796875, -0.0299835205078125, -0.0255126953125, -0.0027790069580078125, 0.020477294921875, -0.021026611328125, 0.05364990234375, 0.019775390625, 0.01279449462890625, 0.01108551025390625, -0.030609130859375, 0.01543426513671875, -0.0081939697265625, 0.0123443603515625, 0.00408172607421875, -0.0816650390625, -0.059234619140625, -0.03997802734375, 0.055419921875, 0.0186004638671875, 0.046417236328125, 0.0032596588134765625, 0.030487060546875, 0.0189971923828125, -0.0095062255859375, -0.003063201904296875, 0.00728607177734375, 0.0194244384765625, -0.0284881591796875, -0.02520751953125, -0.00939178466796875, -0.0055084228515625, -0.0225982666015625, 0.04986572265625, -0.07635498046875, -0.0233154296875, -0.019378662109375, 0.0238800048828125, -0.0279388427734375, -0.028594970703125, -0.04766845703125, -0.039306640625, -0.002063751220703125, 0.00969696044921875, -0.025970458984375, -0.046875, 0.0014944076538085938, 0.0535888671875, -0.00806427001953125, -0.023193359375, 0.041168212890625, -0.071533203125, 0.038055419921875, 0.037261962890625, -0.0029354095458984375, 0.017608642578125, 0.0196075439453125, -0.0229034423828125, 0.0390625, 0.00031113624572753906, 0.0246429443359375, 0.007312774658203125, -0.002986907958984375, 0.002399444580078125, -0.03265380859375, 0.016693115234375, -0.0206756591796875, -0.0029964447021484375, -0.01898193359375, 0.032867431640625, -0.0071868896484375, -0.022705078125, -0.032623291015625, -0.048126220703125, -0.00826263427734375, 0.01343536376953125, -0.033477783203125, -0.06610107421875, -0.087646484375, -0.00556182861328125, -0.00737762451171875, -0.0278167724609375, -0.004779815673828125, -0.01177978515625, -0.0196533203125, 0.0328369140625, -0.053924560546875, 0.0193328857421875, -0.0009412765502929688, 0.0176544189453125, -0.0083770751953125, -0.010986328125, 0.002834320068359375, 0.045928955078125, 0.0322265625, 0.041961669921875, 0.04058837890625, -0.051971435546875, -0.00696563720703125, 0.05657958984375, 0.042327880859375, 0.10675048828125, 0.028656005859375, -0.0221099853515625, 0.0106353759765625, -0.0130767822265625, -0.0173187255859375, 0.006496429443359375, 0.026947021484375, -0.0237579345703125, -0.050323486328125, 0.01021575927734375, -0.03692626953125, -0.0204010009765625, -0.05950927734375, -0.1031494140625, 0.082763671875, -0.0166015625, -0.039093017578125, -0.005741119384765625, -0.0217437744140625, -0.011505126953125, 0.00426483154296875, 0.00289154052734375, -0.00545501708984375, -0.02020263671875, 0.01444244384765625, -0.004650115966796875, 0.0242156982421875, 0.00463104248046875, -0.0297698974609375, -0.0302886962890625, 0.01209259033203125, 0.027496337890625, 0.0005850791931152344, 0.04766845703125, -0.028076171875, 0.054046630859375, 0.04974365234375, -0.032501220703125, -0.0090179443359375, -0.0081329345703125, -0.047760009765625, -0.0139007568359375, 0.020965576171875, -0.0633544921875, 0.017822265625, 0.09185791015625, 0.10357666015625, 0.048431396484375, -0.080078125, 0.0055084228515625, -0.031005859375, -0.0179443359375, -0.005580902099609375, -0.0029850006103515625, -0.022674560546875, 0.0256500244140625, -0.0261077880859375, -0.01174163818359375, 0.0012426376342773438, 0.027587890625, -0.005550384521484375, -0.0239715576171875, 0.02630615234375, -0.02471923828125, -0.033172607421875, -0.015777587890625, 0.06585693359375, -0.03094482421875, 0.032196044921875, -0.01488494873046875, 0.01983642578125, 0.047698974609375, -0.00133514404296875, 0.00977325439453125, 0.0260467529296875, -0.033416748046875, 0.01337432861328125, 0.0163116455078125, 0.00829315185546875, -0.020355224609375, -0.0061492919921875, -0.02001953125, 0.01018524169921875, 0.01885986328125, 0.043212890625, -0.00756072998046875, -0.01287078857421875, 0.0287628173828125, -0.0386962890625, 0.03741455078125, -0.0096435546875, -0.025238037109375, 0.059051513671875, -0.04180908203125, -0.039764404296875, -0.0494384765625, -0.043975830078125, 0.006744384765625, 0.04449462890625, -0.0036907196044921875, -0.0113983154296875, -0.0098419189453125, -0.027069091796875, 0.0227813720703125, -0.0175933837890625 ]
3681ced0f27360f18e48f082990d234a0345303c
Wordpress Stackexchange Q: Add user capability and check against it I just realized the following: // Call the current user info global $current_user; // Add a capability // and set the 2nd argument ($grant) to false $current_user->add_cap( 'some_cap', false ); Now I've successfully added a capability to the user, but denied her/him the access to this capability. If I now check with $current_user->has_cap( 'some_cap' ); I'd get a true in return. The same goes for current_user_can( 'some_cap' ); as this is only a wrapper for the has_cap functions arguments. Q: Where is the 2nd argument used? Did I get something wrong? A: I think you are using it right. I think it is actually a bug in WordPress. When you do the same for roles $somerole->add_cap( 'some_cap', false );, it works as expected.
Q: Add user capability and check against it I just realized the following: // Call the current user info global $current_user; // Add a capability // and set the 2nd argument ($grant) to false $current_user->add_cap( 'some_cap', false ); Now I've successfully added a capability to the user, but denied her/him the access to this capability. If I now check with $current_user->has_cap( 'some_cap' ); I'd get a true in return. The same goes for current_user_can( 'some_cap' ); as this is only a wrapper for the has_cap functions arguments. Q: Where is the 2nd argument used? Did I get something wrong? A: I think you are using it right. I think it is actually a bug in WordPress. When you do the same for roles $somerole->add_cap( 'some_cap', false );, it works as expected.
wordpress
{ "language": "en", "length": 131, "provenance": "stackexchange_00019.jsonl.gz:414843", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34502" }
[ 0.081787109375, -0.005329132080078125, -0.015106201171875, -0.05535888671875, 0.0243988037109375, -0.053466796875, 0.031494140625, 0.0157470703125, -0.0157318115234375, 0.03570556640625, 0.004718780517578125, -0.0151214599609375, 0.0154876708984375, -0.035430908203125, -0.0009031295776367188, -0.0164642333984375, 0.0203094482421875, 0.0302886962890625, 0.01259613037109375, -0.00988006591796875, 0.0001666545867919922, 0.0091705322265625, -0.040924072265625, 0.07879638671875, 0.0254974365234375, -0.0589599609375, 0.01033782958984375, -0.0286407470703125, 0.005382537841796875, -0.0286407470703125, 0.0019073486328125, 0.0284576416015625, -0.0147857666015625, 0.058013916015625, -0.04083251953125, -0.0360107421875, 0.029052734375, 0.0080718994140625, 0.00099945068359375, 0.03704833984375, 0.0192413330078125, -0.005626678466796875, -0.02069091796875, 0.00849151611328125, -0.0303192138671875, -0.07330322265625, 0.053680419921875, 0.007080078125, 0.024169921875, 0.05035400390625, 0.0190582275390625, 0.058624267578125, 0.0157470703125, 0.0212249755859375, 0.00843048095703125, 0.006046295166015625, -0.0098419189453125, -0.04913330078125, 0.03564453125, 0.037567138671875, -0.0007538795471191406, -0.024169921875, 0.00777435302734375, -0.04364013671875, 0.0166778564453125, -0.00608062744140625, 0.0296783447265625, 0.0159759521484375, -0.06451416015625, 0.008880615234375, 0.03668212890625, -0.043182373046875, 0.002254486083984375, 0.0213470458984375, -0.0308074951171875, -0.069580078125, 0.01995849609375, -0.04022216796875, -0.0012598037719726562, 0.0307464599609375, -0.01398468017578125, -0.0011005401611328125, -0.03411865234375, -0.005077362060546875, -0.0189666748046875, 0.006282806396484375, -0.006893157958984375, 0.002696990966796875, 0.016357421875, 0.0045623779296875, -0.0123138427734375, 0.0003769397735595703, 0.060150146484375, -0.012847900390625, -0.042205810546875, -0.030914306640625, 0.07513427734375, 0.0716552734375, -0.01045989990234375, -0.0213623046875, 0.032470703125, -0.05401611328125, -0.004413604736328125, -0.017974853515625, 0.01221466064453125, 0.04791259765625, -0.022369384765625, -0.0193634033203125, 0.024871826171875, 0.0207061767578125, 0.00597381591796875, -0.00414276123046875, 0.00028204917907714844, -0.0258026123046875, 0.000058650970458984375, -0.004734039306640625, -0.035980224609375, 0.01342010498046875, 0.0010061264038085938, 0.0036258697509765625, -0.00571441650390625, 0.002475738525390625, 0.00035572052001953125, 0.00844573974609375, 0.018890380859375, 0.0011682510375976562, -0.0260467529296875, -0.0017099380493164062, -0.00128173828125, 0.0279388427734375, -0.00666046142578125, 0.00826263427734375, 0.043365478515625, 0.0275115966796875, -0.0025730133056640625, -0.00970458984375, 0.00801849365234375, -0.03179931640625, -0.02130126953125, 0.00901031494140625, 0.01190948486328125, -0.032562255859375, -0.002506256103515625, -0.0060272216796875, -0.00212860107421875, 0.041534423828125, 0.011810302734375, -0.0090484619140625, 0.00371551513671875, -0.05975341796875, 0.004241943359375, -0.072265625, -0.01184844970703125, -0.014068603515625, 0.02777099609375, 0.03558349609375, 0.0022373199462890625, 0.007671356201171875, -0.011138916015625, 0.0309906005859375, 0.0292510986328125, -0.01032257080078125, -0.0203094482421875, -0.0257110595703125, -0.045379638671875, 0.00923919677734375, -0.0202789306640625, -0.004596710205078125, 0.02587890625, -0.0097503662109375, 0.018218994140625, -0.0011281967163085938, 0.05645751953125, -0.006195068359375, -0.0195159912109375, -0.0013828277587890625, 0.0133819580078125, 0.049835205078125, 0.0252838134765625, -0.006061553955078125, -0.0270843505859375, -0.0472412109375, 0.11248779296875, -0.060211181640625, -0.026458740234375, 0.00405120849609375, 0.0134735107421875, 0.0111083984375, 0.004550933837890625, 0.01462554931640625, 0.016143798828125, 0.038970947265625, -0.00977325439453125, -0.0216217041015625, -0.023681640625, -0.030670166015625, 0.01395416259765625, -0.0115509033203125, -0.0260467529296875, 0.064697265625, 0.082763671875, -0.038421630859375, 0.0267486572265625, -0.07598876953125, -0.109130859375, -0.023101806640625, -0.0404052734375, 0.0374755859375, 0.006900787353515625, -0.012420654296875, -0.01348114013671875, -0.04010009765625, 0.0177154541015625, -0.0035552978515625, -0.02813720703125, -0.01885986328125, -0.0037441253662109375, 0.07745361328125, 0.0211181640625, 0.062103271484375, 0.034393310546875, -0.03485107421875, 0.03704833984375, -0.0038051605224609375, 0.0189056396484375, -0.0157470703125, 0.0005354881286621094, -0.0104522705078125, 0.0097808837890625, 0.006610870361328125, 0.0086212158203125, 0.00023066997528076172, 0.015899658203125, 0.0245208740234375, -0.01056671142578125, -0.0187835693359375, 0.007167816162109375, -0.09027099609375, 0.014556884765625, 0.062744140625, 0.0291748046875, 0.036773681640625, 0.0186004638671875, 0.03643798828125, 0.0185089111328125, -0.033935546875, 0.0247955322265625, -0.006954193115234375, -0.019317626953125, 0.0089569091796875, 0.03887939453125, 0.0251007080078125, -0.0013713836669921875, -0.0278778076171875, 0.0211029052734375, 0.034332275390625, -0.053253173828125, 0.008819580078125, -0.0082244873046875, -0.037322998046875, 0.0086669921875, -0.07415771484375, -0.0005540847778320312, -0.0286102294921875, 0.00908660888671875, -0.0032825469970703125, 0.0133514404296875, 0.01016998291015625, 0.005687713623046875, -0.01488494873046875, 0.00879669189453125, -0.029022216796875, 0.0060577392578125, 0.0211639404296875, 0.03265380859375, -0.00513458251953125, -0.05859375, 0.0048828125, 0.020355224609375, 0.01558685302734375, 0.00754547119140625, 0.01593017578125, -0.032623291015625, -0.0036869049072265625, 0.0007672309875488281, -0.00862884521484375, -0.003131866455078125, 0.0203094482421875, 0.0188140869140625, -0.028289794921875, 0.012939453125, -0.0233154296875, -0.0228729248046875, 0.040374755859375, -0.033477783203125, -0.037750244140625, -0.06512451171875, -0.05206298828125, 0.019195556640625, -0.0394287109375, 0.0052947998046875, 0.057037353515625, 0.038909912109375, -0.0222015380859375, 0.00618743896484375, -0.043304443359375, 0.004070281982421875, 0.03729248046875, 0.0258331298828125, -0.0433349609375, 0.0272674560546875, 0.0670166015625, 0.0147247314453125, -0.004024505615234375, 0.02838134765625, -0.0003426074981689453, -0.0067596435546875, 0.00424957275390625, -0.0005784034729003906, 0.0034503936767578125, 0.0256195068359375, -0.055999755859375, 0.0004944801330566406, 0.0122833251953125, -0.0299530029296875, -0.0188140869140625, 0.046051025390625, 0.00769805908203125, -0.039520263671875, -0.01493072509765625, -0.006710052490234375, -0.037994384765625, -0.038604736328125, -0.0015611648559570312, 0.0009198188781738281, -0.0012836456298828125, 0.007724761962890625, 0.07720947265625, 0.018218994140625, -0.06878662109375, -0.01140594482421875, -0.0002009868621826172, -0.03741455078125, 0.0112152099609375, 0.0195159912109375, 0.0191802978515625, 0.027740478515625, 0.0152435302734375, -0.00771331787109375, 0.0264739990234375, -0.0382080078125, -0.03314208984375, -0.006702423095703125, -0.01276397705078125, -0.007762908935546875, 0.0285491943359375, 0.0006761550903320312, 0.0093536376953125, 0.02978515625, -0.0201416015625, -0.0219573974609375, 0.0177154541015625, -0.04345703125, -0.0207366943359375, 0.017303466796875, -0.014556884765625, 0.0202178955078125, -0.034210205078125, -0.0029659271240234375, 0.0165557861328125, -0.015899658203125, 0.005832672119140625, -0.026458740234375, -0.001560211181640625, -0.006153106689453125, 0.0310821533203125, 0.004405975341796875, -0.036529541015625, 0.03253173828125, -0.003658294677734375, -0.002651214599609375, -0.0178070068359375, -0.0005106925964355469, -0.0179901123046875, -0.0498046875, 0.0433349609375, 0.00795745849609375, 0.025909423828125, -0.025482177734375, -0.0207061767578125, -0.0002243518829345703, 0.08404541015625, -0.004940032958984375, -0.0151214599609375, -0.003936767578125, -0.0023288726806640625, -0.042327880859375, 0.001575469970703125, -0.050872802734375, 0.00982666015625, 0.019439697265625, -0.044189453125, -0.041229248046875, -0.00478363037109375, -0.01454925537109375, -0.043243408203125, 0.0207366943359375, -0.0270538330078125, 0.022003173828125, -0.05560302734375, -0.00298309326171875, 0.01309967041015625, -0.008453369140625, -0.038360595703125, 0.0071258544921875, -0.0479736328125, -0.1043701171875, -0.025421142578125, 0.0035419464111328125, 0.0726318359375, -0.0310211181640625, 0.0355224609375, -0.013946533203125, 0.06646728515625, 0.01401519775390625, -0.04241943359375, 0.016571044921875, -0.00811004638671875, 0.041015625, 0.0081939697265625, -0.0224609375, -0.01261138916015625, -0.00525665283203125, -0.0191497802734375, -0.0037364959716796875, -0.0119171142578125, -0.058013916015625, -0.024749755859375, -0.039947509765625, -0.0193939208984375, -0.08148193359375, -0.042510986328125, -0.0176544189453125, -0.0030155181884765625, -0.04339599609375, 0.0222625732421875, -0.025787353515625, -0.077392578125, 0.03765869140625, -0.025115966796875, -0.0005660057067871094, -0.0167236328125, 0.09857177734375, 0.0264739990234375, -0.0071563720703125, 0.05316162109375, 0.0201416015625, 0.0175323486328125, -0.028900146484375, 0.0271453857421875, 0.0290374755859375, 0.0229949951171875, -0.0435791015625, -0.0248870849609375, 0.0433349609375, -0.046051025390625, -0.0038776397705078125, 0.0042877197265625, 0.0010251998901367188, 0.007411956787109375, 0.0244598388671875, 0.019744873046875, -0.017608642578125, 0.0016565322875976562, 0.002689361572265625, 0.0262603759765625, 0.00914764404296875, 0.006988525390625, -0.004558563232421875, 0.01126861572265625, -0.01995849609375, 0.0102081298828125, -0.049957275390625, 0.01346588134765625, 0.00846099853515625, 0.0160369873046875, -0.00958251953125, -0.01175689697265625, 0.0109100341796875, -0.004276275634765625, -0.0106658935546875, -0.0166778564453125, 0.05328369140625, -0.034210205078125, 0.01139068603515625, 0.0106353759765625, -0.01306915283203125, 0.0745849609375, 0.00003343820571899414, -0.0787353515625, 0.0280609130859375, -0.0115509033203125, 0.053924560546875, -0.0015325546264648438, 0.02197265625, 0.0110321044921875, 0.002017974853515625, 0.0012121200561523438, 0.00396728515625, 0.005390167236328125, 0.00522613525390625, -0.025177001953125, 0.0213470458984375, 0.0008955001831054688, -0.0012960433959960938, 0.0224761962890625, 0.01837158203125, 0.030609130859375, 0.0111236572265625, -0.03277587890625, 0.05865478515625, 0.07281494140625, -0.01763916015625, -0.001346588134765625, 0.045379638671875, -0.031646728515625, -0.00927734375, -0.0036907196044921875, -0.0151519775390625, -0.036590576171875, 0.0070343017578125, 0.03826904296875, -0.00402069091796875, 0.0252532958984375, -0.00937652587890625, -0.0025157928466796875, -0.007190704345703125, 0.0237884521484375, -0.000949859619140625, -0.0472412109375, -0.0164947509765625, 0.019012451171875, 0.0184478759765625, -0.0167388916015625, 0.00472259521484375, 0.030548095703125, -0.00615692138671875, 0.0055084228515625, 0.0128326416015625, -0.0178985595703125, -0.03546142578125, -0.02496337890625, -0.07373046875, -0.02557373046875, 0.0029926300048828125, 0.0211181640625, -0.005916595458984375, -0.01056671142578125, -0.050628662109375, 0.0267791748046875, 0.039520263671875, 0.03704833984375, -0.0706787109375, -0.016021728515625, -0.0653076171875, -0.017242431640625, 0.0229339599609375, -0.01036834716796875, -0.040771484375, -0.008636474609375, -0.0274658203125, -0.033599853515625, -0.03985595703125, -0.041748046875, -0.037200927734375, 0.003704071044921875, 0.0245513916015625, 0.0272979736328125, 0.0048828125, -0.0246734619140625, -0.0230865478515625, 0.005321502685546875, 0.032379150390625, 0.04754638671875, -0.021240234375, 0.0667724609375, 0.01270294189453125, 0.06439208984375, 0.020294189453125, 0.0338134765625, -0.004512786865234375, -0.03094482421875, 0.01493072509765625, 0.008544921875, -0.021209716796875, -0.050323486328125, 0.0222625732421875, -0.0035762786865234375, 0.053497314453125, -0.01824951171875, 0.01357269287109375, 0.0091400146484375, 0.004352569580078125, -0.01386260986328125, -0.00945281982421875, 0.006809234619140625, -0.01318359375, 0.0206298828125, -0.0225372314453125, 0.0182037353515625, -0.01508331298828125, 0.00574493408203125, 0.0020084381103515625, -0.0292510986328125, 0.0060882568359375, 0.0217742919921875, -0.028656005859375, 0.051177978515625, 0.074462890625, -0.0293121337890625, 0.0237579345703125, 0.02783203125, 0.00847625732421875, 0.0243988037109375, 0.0165863037109375, -0.022796630859375, 0.027008056640625, 0.0185546875, -0.00939178466796875, -0.02154541015625, -0.01708984375, -0.0189361572265625, 0.06292724609375, 0.055084228515625, 0.078125, -0.07861328125, 0.025146484375, -0.0203094482421875, -0.04541015625, 0.08221435546875, -0.038604736328125, 0.00963592529296875, -0.017333984375, 0.07012939453125, -0.00960540771484375, -0.034576416015625, 0.0097198486328125, -0.0212554931640625, -0.0168304443359375, -0.01605224609375, 0.0034847259521484375, 0.00917816162109375, 0.003139495849609375, 0.034637451171875, -0.019622802734375, 0.039093017578125, 0.06561279296875, 0.016143798828125, -0.020904541015625, -0.053619384765625, -0.035125732421875, -0.054443359375, -0.045379638671875, -0.06390380859375, 0.0206756591796875, -0.00817108154296875, 0.0531005859375, 0.05377197265625, -0.00522613525390625, 0.0020503997802734375, 0.039276123046875, -0.00270843505859375, -0.048370361328125, -0.0308837890625, 0.01471710205078125, 0.01910400390625, 0.0252532958984375, 0.0277862548828125, 0.01242828369140625, -0.055450439453125, 0.0004353523254394531, 0.0005068778991699219, 0.04669189453125, -0.019805908203125, -0.0221405029296875, 0.042938232421875, -0.019317626953125, -0.0221099853515625, 0.0295562744140625, -0.01265716552734375, -0.0256805419921875, -0.0186767578125, 0.00720977783203125, -0.03326416015625, 0.0447998046875, 0.062286376953125, -0.045135498046875, 0.0887451171875, -0.034820556640625, 0.01433563232421875, 0.0244140625, 0.0281524658203125, -0.0171966552734375, 0.022216796875, -0.0496826171875, 0.028076171875, -0.01457977294921875, 0.060791015625, -0.06610107421875, -0.01531982421875, -0.0084228515625, 0.0125274658203125, 0.07147216796875, 0.0260009765625, -0.0053253173828125, -0.035430908203125, 0.0206298828125, -0.004520416259765625, -0.03076171875, 0.038848876953125, 0.01373291015625, 0.00449371337890625, 0.006534576416015625, -0.00731658935546875, 0.03680419921875, -0.0677490234375, -0.0214996337890625, 0.0209503173828125, -0.01143646240234375, -0.0335693359375, -0.01552581787109375, 0.033782958984375, -0.0709228515625, -0.002529144287109375, 0.0276031494140625, 0.0027179718017578125, -0.0139617919921875, 0.0271453857421875, 0.0026073455810546875, -0.0020542144775390625, 0.02655029296875, -0.03741455078125, 0.045928955078125, 0.0089111328125, 0.0097808837890625, 0.04052734375, 0.02679443359375, -0.02325439453125, 0.038726806640625, 0.0297698974609375, 0.041107177734375, -0.030029296875, 0.03472900390625, 0.047821044921875, 0.02294921875, 0.006603240966796875, 0.0743408203125, 0.072265625, 0.052093505859375, -0.057037353515625, -0.04925537109375, -0.0025501251220703125, -0.004253387451171875, 0.01114654541015625, 0.0206298828125, 0.0002130270004272461, 0.054351806640625, 0.06805419921875, -0.068359375, 0.0113372802734375, 0.00872039794921875, 0.030364990234375, -0.01678466796875, 0.01727294921875, -0.040435791015625, -0.004550933837890625, -0.040863037109375, -0.00559234619140625, 0.0078582763671875, 0.0301971435546875, 0.019561767578125, 0.0221710205078125, 0.0176849365234375, -0.005084991455078125, -0.0125579833984375, 0.01922607421875, -0.007610321044921875, 0.00846099853515625, -0.0526123046875, -0.0419921875, 0.01319122314453125, 0.040130615234375, -0.0158538818359375, -0.00023686885833740234, -0.036529541015625, -0.00827789306640625, 0.00873565673828125, -0.00875091552734375, 0.05230712890625, -0.0150604248046875, -0.0235748291015625, -0.035125732421875, -0.007694244384765625, -0.001068115234375, -0.0066070556640625, 0.0174560546875, -0.0032329559326171875, 0.027191162109375, 0.034881591796875, -0.01187896728515625, 0.011199951171875, -0.015899658203125, 0.01093292236328125, 0.020965576171875, 0.01050567626953125, 0.06146240234375, -0.048431396484375, 0.018798828125, -0.07171630859375, -0.05255126953125, 0.0228271484375, 0.03472900390625, -0.0227813720703125, 0.03082275390625, 0.025299072265625, -0.039276123046875, 0.0175323486328125, 0.031097412109375, -0.0037136077880859375, 0.029510498046875, 0.036376953125, -0.0030841827392578125, 0.0263214111328125, 0.046478271484375, 0.024627685546875, -0.007656097412109375, 0.0318603515625, -0.0208282470703125, 0.0157012939453125, 0.018035888671875, -0.01512908935546875, 0.0134735107421875, -0.0242462158203125, -0.02099609375, 0.00218963623046875, 0.0263824462890625, 0.0012006759643554688, -0.0018033981323242188, -0.0163116455078125, 0.040008544921875, 0.0210723876953125, 0.0011358261108398438, 0.0284271240234375, 0.00737762451171875, 0.01477813720703125, -0.0019989013671875, 0.017669677734375, -0.038238525390625, -0.03900146484375, -0.049072265625, -0.023345947265625, 0.01557159423828125, -0.004787445068359375, -0.004901885986328125, 0.032318115234375, -0.0011892318725585938, -0.00677490234375, -0.0215911865234375, 0.006198883056640625, -0.055328369140625, 0.006015777587890625, 0.01389312744140625, 0.004604339599609375, -0.02581787109375, -0.0233154296875, 0.0004563331604003906, 0.00972747802734375, -0.0213470458984375, 0.006465911865234375, -0.050140380859375, 0.006618499755859375, -0.027740478515625, 0.020111083984375, -0.01326751708984375, -0.01006317138671875, -0.0078887939453125, -0.001590728759765625, -0.020904541015625, -0.055084228515625, -0.0263519287109375, -0.048431396484375, 0.004428863525390625, 0.035736083984375, -0.0246734619140625, -0.013946533203125, -0.03753662109375, 0.0128173828125, 0.051300048828125, 0.0278167724609375, -0.09796142578125, 0.06536865234375, -0.006977081298828125, 0.047119140625, -0.0086822509765625, 0.04461669921875, 0.00743865966796875, 0.00711822509765625, -0.09173583984375, 0.00887298583984375, -0.0014314651489257812, -0.019195556640625, 0.007076263427734375, 0.02520751953125, 0.0171661376953125, -0.00804901123046875, -0.019287109375, 0.068115234375, 0.0167694091796875, 0.097900390625, -0.018310546875, -0.034576416015625, 0.023284912109375, -0.0307769775390625, -0.00537109375, -0.01007080078125, 0.01678466796875, -0.072021484375, -0.028564453125, -0.041778564453125, 0.0128021240234375, 0.00939178466796875, -0.028106689453125, -0.00799560546875, 0.0190277099609375, 0.006458282470703125, -0.020660400390625, -0.0093536376953125, -0.003559112548828125, -0.0232391357421875, 0.0222625732421875, -0.0201873779296875, -0.00372314453125, 0.000027298927307128906, 0.031524658203125, 0.0211181640625, -0.0080413818359375, 0.02105712890625, 0.0242767333984375, -0.05511474609375, 0.0146942138671875, 0.005626678466796875, 0.003650665283203125, -0.0004436969757080078, 0.00311279296875, 0.0166473388671875, 0.0460205078125, -0.007293701171875, -0.0311279296875, -0.019683837890625, -0.02752685546875, -0.0259246826171875, -0.043792724609375, -0.00710296630859375, -0.006061553955078125, 0.045928955078125, 0.039642333984375, 0.0013055801391601562, -0.0237274169921875, -0.0513916015625, -0.04742431640625, -0.0201568603515625, -0.00727081298828125, 0.013519287109375, -0.0545654296875, 0.03564453125, -0.00540924072265625, -0.032867431640625, -0.0124969482421875, 0.03277587890625, -0.042572021484375, 0.01425933837890625, 0.029052734375, -0.00180816650390625, -0.042388916015625, 0.004955291748046875, 0.025726318359375, -0.03857421875, -0.034637451171875, -0.01509857177734375, 0.005462646484375, -0.032073974609375, -0.052581787109375, -0.0224151611328125, 0.032073974609375, -0.0185089111328125, 0.019439697265625, 0.00339508056640625, 0.042694091796875, -0.023284912109375, 0.0188751220703125, 0.01052093505859375, 0.0253448486328125, -0.001216888427734375, 0.024444580078125, -0.006282806396484375, 0.059295654296875, -0.00991058349609375, 0.035125732421875, 0.005298614501953125, 0.035736083984375, -0.01514434814453125, 0.0225982666015625, 0.023345947265625, -0.00696563720703125, 0.058685302734375, -0.0270538330078125, 0.005619049072265625, 0.01352691650390625, -0.03448486328125, -0.0252838134765625, 0.0197906494140625, 0.07708740234375, -0.01488494873046875, 0.019775390625 ]
77033b9515559000fe0c1363fb5659a12184f404
Wordpress Stackexchange Q: WP Config for FTP credentials Is there a config in WP that allows you to store your FTP credentials? I'm using the Linux webserver at work to develop and it's really annoying to have to but the credentials in every time I add/remove a plugin/theme. Anonymous access is a no-no, so I hoping that this config exists... Thanks. A: define('FS_METHOD', 'ftpext'); define('FTP_BASE', '/path/to/wordpress/'); define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/'); define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/'); define('FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub'); define('FTP_PRIKEY', '/home/username/.ssh/id_rsa'); define('FTP_USER', 'username'); define('FTP_PASS', 'password'); define('FTP_HOST', 'ftp.example.org'); define('FTP_SSL', false); http://digwp.com/2010/11/ftp-in-wpconfig/
Q: WP Config for FTP credentials Is there a config in WP that allows you to store your FTP credentials? I'm using the Linux webserver at work to develop and it's really annoying to have to but the credentials in every time I add/remove a plugin/theme. Anonymous access is a no-no, so I hoping that this config exists... Thanks. A: define('FS_METHOD', 'ftpext'); define('FTP_BASE', '/path/to/wordpress/'); define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/'); define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/'); define('FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub'); define('FTP_PRIKEY', '/home/username/.ssh/id_rsa'); define('FTP_USER', 'username'); define('FTP_PASS', 'password'); define('FTP_HOST', 'ftp.example.org'); define('FTP_SSL', false); http://digwp.com/2010/11/ftp-in-wpconfig/
wordpress
{ "language": "en", "length": 82, "provenance": "stackexchange_00019.jsonl.gz:414862", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34574" }
[ 0.00881195068359375, -0.0052032470703125, -0.004299163818359375, 0.0175628662109375, -0.01236724853515625, -0.032989501953125, 0.03814697265625, -0.025360107421875, 0.00838470458984375, 0.0285186767578125, -0.04241943359375, -0.0130462646484375, 0.0150604248046875, -0.01377105712890625, -0.02532958984375, -0.03436279296875, -0.00009232759475708008, -0.0239410400390625, -0.007244110107421875, -0.0297698974609375, 0.01210784912109375, -0.01523590087890625, 0.0211944580078125, -0.022613525390625, 0.006053924560546875, 0.030242919921875, 0.1251220703125, -0.016815185546875, 0.0306243896484375, -0.0019369125366210938, 0.0251922607421875, -0.06512451171875, 0.031829833984375, 0.03277587890625, -0.06365966796875, -0.0222015380859375, -0.0290069580078125, 0.006175994873046875, -0.037689208984375, 0.04473876953125, 0.0075836181640625, -0.007297515869140625, 0.0311126708984375, 0.0254669189453125, -0.005645751953125, -0.035797119140625, 0.012847900390625, -0.038726806640625, -0.007770538330078125, 0.052459716796875, 0.032196044921875, 0.013427734375, 0.0307159423828125, -0.0012197494506835938, -0.0086212158203125, -0.0268096923828125, -0.036529541015625, -0.0208282470703125, 0.01462554931640625, -0.018157958984375, -0.00223541259765625, -0.023162841796875, 0.025604248046875, 0.0386962890625, -0.004123687744140625, 0.0006518363952636719, 0.0265655517578125, 0.0238037109375, -0.0305938720703125, -0.0282135009765625, 0.01441192626953125, -0.004032135009765625, -0.0003724098205566406, -0.0163421630859375, -0.02581787109375, 0.00315093994140625, 0.0094757080078125, 0.0018186569213867188, 0.0141143798828125, -0.011627197265625, 0.02197265625, -0.013885498046875, -0.05084228515625, 0.005214691162109375, -0.0120849609375, 0.015533447265625, -0.007598876953125, -0.02325439453125, 0.02105712890625, 0.02978515625, -0.01016998291015625, 0.030426025390625, 0.07086181640625, 0.01047515869140625, -0.044891357421875, 0.002185821533203125, -0.0192718505859375, 0.01003265380859375, -0.0199737548828125, 0.01861572265625, -0.0169830322265625, -0.014617919921875, 0.0219879150390625, -0.0377197265625, -0.0188140869140625, 0.061737060546875, -0.010101318359375, 0.007488250732421875, -0.005809783935546875, 0.017120361328125, -0.004039764404296875, -0.0892333984375, 0.0201873779296875, -0.04498291015625, 0.0187835693359375, 0.034942626953125, 0.0074310302734375, 0.027191162109375, 0.00827789306640625, 0.014495849609375, 0.03680419921875, 0.0391845703125, -0.06903076171875, 0.0234375, -0.01043701171875, -0.019683837890625, 0.0123138427734375, 0.0019502639770507812, -0.048065185546875, 0.047607421875, -0.042236328125, 0.00652313232421875, 0.0433349609375, 0.031768798828125, 0.00432586669921875, -0.03668212890625, 0.040313720703125, 0.0190887451171875, -0.0034732818603515625, 0.00832366943359375, -0.0160369873046875, -0.0149688720703125, 0.00711822509765625, -0.016357421875, -0.0228424072265625, -0.000667572021484375, 0.006381988525390625, 0.030670166015625, 0.006122589111328125, -0.056915283203125, 0.018798828125, -0.01297760009765625, 0.00948333740234375, 0.0198516845703125, 0.0307464599609375, -0.0031452178955078125, 0.0278778076171875, -0.01959228515625, -0.005542755126953125, -0.02325439453125, -0.007488250732421875, -0.03045654296875, -0.0250091552734375, -0.0111541748046875, -0.0266265869140625, 0.035430908203125, 0.0322265625, 0.00982666015625, 0.002948760986328125, -0.01629638671875, 0.0031890869140625, -0.01528167724609375, -0.0111236572265625, -0.004131317138671875, 0.004032135009765625, 0.0213470458984375, 0.020751953125, 0.02020263671875, 0.037872314453125, 0.051727294921875, 0.01091766357421875, -0.005889892578125, 0.099853515625, -0.030792236328125, -0.032135009765625, 0.01806640625, 0.0048828125, 0.032073974609375, 0.025604248046875, 0.01012420654296875, 0.0205230712890625, -0.0171661376953125, -0.052032470703125, 0.0221099853515625, -0.023834228515625, -0.03704833984375, 0.0296783447265625, -0.005764007568359375, 0.0012378692626953125, 0.0087432861328125, 0.0250701904296875, -0.0204010009765625, 0.00998687744140625, 0.00247955322265625, -0.0286712646484375, -0.01091766357421875, -0.0117034912109375, -0.00254058837890625, 0.034637451171875, 0.00608062744140625, -0.0238037109375, -0.0599365234375, 0.049896240234375, -0.07879638671875, -0.047698974609375, -0.004184722900390625, -0.0426025390625, 0.06805419921875, 0.01068878173828125, 0.0736083984375, -0.013153076171875, -0.042236328125, 0.0032405853271484375, -0.0518798828125, -0.004058837890625, 0.00879669189453125, -0.026153564453125, -0.0014009475708007812, -0.00449371337890625, -0.00605010986328125, 0.0197906494140625, 0.033416748046875, -0.007236480712890625, 0.0143890380859375, -0.034759521484375, -0.019805908203125, -0.0296173095703125, -0.037933349609375, 0.01546478271484375, 0.053009033203125, 0.056884765625, 0.01221466064453125, -0.001110076904296875, -0.020782470703125, 0.025909423828125, -0.03131103515625, 0.03485107421875, -0.0440673828125, 0.00844573974609375, 0.031585693359375, -0.0023860931396484375, -0.0113983154296875, 0.01198577880859375, -0.023162841796875, 0.0033359527587890625, 0.026580810546875, -0.05078125, -0.0167694091796875, 0.043914794921875, -0.049407958984375, 0.024658203125, -0.02215576171875, -0.00435638427734375, -0.007354736328125, 0.00504302978515625, 0.02850341796875, 0.0224151611328125, 0.02740478515625, -0.029296875, 0.031768798828125, 0.00494384765625, -0.024139404296875, -0.00792694091796875, 0.0107879638671875, 0.0404052734375, -0.01371002197265625, -0.02783203125, 0.0021457672119140625, 0.01227569580078125, 0.00957489013671875, -0.0293121337890625, 0.0207672119140625, 0.0162353515625, 0.0007615089416503906, -0.05078125, -0.0799560546875, 0.051116943359375, 0.0411376953125, 0.00864410400390625, -0.02587890625, -0.004955291748046875, 0.0274810791015625, -0.023651123046875, 0.041717529296875, 0.0074920654296875, -0.0252685546875, -0.0162811279296875, -0.028167724609375, 0.031707763671875, -0.035797119140625, 0.0306396484375, 0.07061767578125, 0.0012054443359375, 0.014404296875, 0.0185089111328125, -0.002124786376953125, 0.0102081298828125, 0.00957489013671875, -0.00856781005859375, 0.019195556640625, -0.0865478515625, 0.007598876953125, -0.0030364990234375, -0.02734375, -0.0078582763671875, -0.034637451171875, -0.0157470703125, -0.0257415771484375, -0.0679931640625, -0.040802001953125, -0.036376953125, -0.0980224609375, 0.0577392578125, -0.049072265625, -0.032745361328125, -0.00820159912109375, 0.0036830902099609375, 0.035552978515625, -0.00684356689453125, -0.0421142578125, -0.06109619140625, -0.0906982421875, -0.068603515625, -0.031005859375, 0.00978851318359375, 0.01959228515625, 0.0048980712890625, 0.0738525390625, -0.006443023681640625, -0.057830810546875, -0.0228271484375, -0.027069091796875, -0.02325439453125, 0.005176544189453125, -0.0296630859375, -0.0196533203125, 0.005527496337890625, -0.022735595703125, 0.034820556640625, 0.0095977783203125, 0.0152740478515625, 0.01110076904296875, 0.0226593017578125, -0.01541900634765625, 0.01190948486328125, 0.00948333740234375, -0.0169830322265625, -0.035003662109375, -0.015716552734375, -0.07745361328125, 0.0294647216796875, -0.01457977294921875, -0.0192413330078125, 0.0457763671875, 0.0091705322265625, -0.0218048095703125, 0.0264892578125, 0.0001232624053955078, 0.006740570068359375, 0.034271240234375, 0.01403045654296875, -0.0012426376342773438, 0.0215606689453125, -0.0089111328125, -0.0022125244140625, -0.023345947265625, 0.03790283203125, -0.01200103759765625, -0.047760009765625, -0.0022335052490234375, 0.002590179443359375, 0.024566650390625, -0.045806884765625, -0.0114898681640625, -0.08746337890625, 0.08282470703125, -0.03387451171875, -0.01149749755859375, -0.0760498046875, -0.048370361328125, -0.0204315185546875, 0.1358642578125, -0.0059967041015625, -0.0299530029296875, -0.00559234619140625, 0.046539306640625, -0.04522705078125, -0.07867431640625, 0.02197265625, -0.0199127197265625, -0.021820068359375, -0.0181884765625, -0.0257720947265625, -0.03759765625, 0.059173583984375, -0.150390625, 0.02142333984375, -0.045745849609375, 0.00460052490234375, -0.028228759765625, 0.0125274658203125, -0.0182647705078125, 0.00945281982421875, -0.05670166015625, 0.0301666259765625, -0.042236328125, -0.06793212890625, -0.01029205322265625, -0.022674560546875, 0.0552978515625, 0.0155029296875, -0.004474639892578125, 0.01611328125, 0.05474853515625, 0.019012451171875, 0.0038051605224609375, 0.010162353515625, -0.0071563720703125, 0.003429412841796875, 0.00017559528350830078, -0.0005335807800292969, -0.0177764892578125, -0.003849029541015625, -0.0084075927734375, -0.037200927734375, -0.00640869140625, -0.0239715576171875, 0.02069091796875, 0.0183563232421875, -0.0311737060546875, -0.0062713623046875, -0.0013179779052734375, 0.00952911376953125, 0.0038433074951171875, -0.02276611328125, 0.01152801513671875, -0.0076141357421875, -0.0028533935546875, 0.050811767578125, -0.005718231201171875, 0.007106781005859375, 0.01152801513671875, 0.0953369140625, 0.006061553955078125, -0.0100250244140625, -0.05328369140625, 0.040679931640625, 0.0438232421875, 0.00609588623046875, 0.0310516357421875, 0.033233642578125, -0.0182342529296875, 0.0273284912109375, 0.0157318115234375, -0.0184783935546875, 0.0091400146484375, 0.035491943359375, 0.009552001953125, -0.028533935546875, 0.01065826416015625, -0.00476837158203125, -0.00933837890625, -0.0113677978515625, 0.0143890380859375, -0.0206298828125, 0.03021240234375, 0.002170562744140625, 0.0093994140625, -0.033966064453125, -0.0107574462890625, -0.05596923828125, 0.02392578125, -0.06768798828125, 0.005832672119140625, 0.005077362060546875, -0.0010461807250976562, -0.00341796875, -0.020263671875, -0.025604248046875, 0.003726959228515625, 0.003818511962890625, 0.0022220611572265625, 0.0086669921875, 0.005046844482421875, -0.038238525390625, -0.00710296630859375, -0.0164794921875, 0.07672119140625, 0.005268096923828125, -0.080322265625, 0.022491455078125, -0.00814056396484375, 0.032501220703125, 0.0294342041015625, -0.009490966796875, 0.04840087890625, -0.043914794921875, -0.022552490234375, -0.018096923828125, -0.0614013671875, -0.050628662109375, -0.052947998046875, -0.0069122314453125, 0.007259368896484375, -0.01715087890625, 0.0061492919921875, 0.047637939453125, -0.021392822265625, 0.043731689453125, 0.0005655288696289062, 0.01387786865234375, 0.034759521484375, -0.00035381317138671875, 0.0100250244140625, 0.034698486328125, -0.0024509429931640625, -0.01207733154296875, 0.019866943359375, -0.037628173828125, -0.0197906494140625, 0.01250457763671875, 0.0439453125, -0.0106964111328125, -0.01605224609375, 0.01337432861328125, -0.016204833984375, -0.0234527587890625, 0.0090179443359375, 0.0211029052734375, -0.02313232421875, 0.0071868896484375, 0.0308685302734375, 0.00312042236328125, -0.01029205322265625, -0.00901031494140625, 0.00989532470703125, -0.038238525390625, -0.0175323486328125, 0.040863037109375, -0.04107666015625, -0.016632080078125, -0.0191497802734375, -0.005565643310546875, -0.00629425048828125, 0.0016574859619140625, -0.0223236083984375, 0.006046295166015625, -0.019317626953125, -0.0221099853515625, 0.0264434814453125, 0.016082763671875, 0.0077972412109375, -0.0262298583984375, -0.012481689453125, 0.00910186767578125, -0.01100921630859375, 0.037017822265625, -0.0169677734375, -0.056304931640625, -0.0016002655029296875, -0.0300750732421875, -0.01279449462890625, 0.060272216796875, 0.030609130859375, -0.017425537109375, -0.03375244140625, 0.01250457763671875, 0.0084686279296875, -0.024566650390625, -0.033538818359375, -0.033966064453125, 0.020477294921875, 0.039947509765625, 0.0369873046875, 0.016082763671875, 0.0059356689453125, -0.0127716064453125, -0.004150390625, -0.00563812255859375, 0.00322723388671875, 0.004619598388671875, -0.0182647705078125, 0.0108184814453125, -0.052734375, -0.01294708251953125, -0.01434326171875, 0.007617950439453125, 0.02099609375, 0.017669677734375, -0.0004897117614746094, -0.01389312744140625, -0.005527496337890625, 0.0084075927734375, -0.0098724365234375, 0.04132080078125, 0.0024814605712890625, -0.065185546875, 0.06402587890625, -0.020477294921875, 0.004283905029296875, -0.03375244140625, -0.0138397216796875, 0.0328369140625, -0.0146484375, 0.004871368408203125, 0.03472900390625, -0.018768310546875, 0.03875732421875, 0.1004638671875, -0.007114410400390625, 0.054107666015625, 0.023712158203125, 0.0005335807800292969, 0.01522064208984375, -0.0038661956787109375, -0.059814453125, -0.00788116455078125, 0.0051422119140625, 0.0092926025390625, 0.00798797607421875, 0.0248260498046875, 0.001209259033203125, 0.0095672607421875, 0.0164031982421875, 0.061859130859375, -0.035675048828125, 0.0193939208984375, 0.0391845703125, 0.0038890838623046875, 0.005535125732421875, 0.0243988037109375, -0.0067138671875, -0.0055999755859375, -0.024017333984375, -0.0226287841796875, -0.013031005859375, -0.01195526123046875, 0.00202178955078125, -0.0066070556640625, 0.016448974609375, 0.01837158203125, 0.00005221366882324219, -0.003040313720703125, -0.0147552490234375, 0.0137939453125, 0.0102081298828125, -0.0021266937255859375, 0.00994873046875, -0.01898193359375, -0.052978515625, -0.07171630859375, -0.047027587890625, 0.0135040283203125, -0.043121337890625, 0.040618896484375, -0.004016876220703125, 0.053802490234375, 0.02886962890625, 0.0234222412109375, -0.01042938232421875, -0.007778167724609375, 0.0390625, -0.0020771026611328125, -0.0236663818359375, 0.032012939453125, 0.0147857666015625, -0.045928955078125, 0.0239715576171875, -0.011871337890625, -0.041595458984375, -0.0125732421875, 0.038665771484375, 0.0994873046875, -0.041473388671875, -0.00911712646484375, 0.07769775390625, 0.043182373046875, -0.049896240234375, 0.003917694091796875, 0.057647705078125, -0.03863525390625, -0.036865234375, 0.0214080810546875, -0.045867919921875, -0.00786590576171875, -0.01120758056640625, -0.0178375244140625, 0.095947265625, -0.00925445556640625, -0.01239013671875, 0.01268768310546875, 0.052825927734375, -0.0033740997314453125, 0.05218505859375, -0.0206146240234375, 0.0694580078125, 0.00785064697265625, 0.0290985107421875, -0.03228759765625, -0.002132415771484375, 0.020263671875, 0.0282135009765625, 0.068603515625, 0.0283966064453125, -0.032684326171875, -0.0062713623046875, 0.036163330078125, 0.015777587890625, -0.01287841796875, 0.04266357421875, -0.0263671875, -0.00197601318359375, 0.01788330078125, -0.050384521484375, 0.0198974609375, -0.0178375244140625, -0.007045745849609375, -0.01010894775390625, 0.016021728515625, 0.00994873046875, 0.0023174285888671875, 0.004467010498046875, -0.018402099609375, 0.01763916015625, 0.0111083984375, 0.03045654296875, 0.01305389404296875, 0.00533294677734375, -0.01007080078125, 0.0122222900390625, -0.009796142578125, -0.006946563720703125, 0.031463623046875, -0.00583648681640625, 0.012115478515625, 0.040771484375, 0.0169677734375, 0.040496826171875, 0.0165863037109375, 0.00616455078125, 0.01007843017578125, 0.00038051605224609375, 0.05230712890625, 0.01119232177734375, 0.0262298583984375, -0.0374755859375, 0.04150390625, 0.039825439453125, 0.052520751953125, -0.058349609375, -0.069091796875, 0.0074005126953125, -0.0003910064697265625, 0.005756378173828125, 0.0005102157592773438, -0.0008339881896972656, -0.0584716796875, 0.004894256591796875, 0.00635528564453125, 0.0160064697265625, 0.01922607421875, 0.00537872314453125, 0.0055999755859375, 0.0389404296875, -0.038848876953125, 0.0195159912109375, 0.0262298583984375, -0.04278564453125, -0.00809478759765625, -0.0033817291259765625, 0.02996826171875, -0.0034084320068359375, -0.00475311279296875, 0.016204833984375, 0.041900634765625, 0.02447509765625, 0.0202789306640625, -0.061126708984375, -0.0021572113037109375, -0.0753173828125, 0.01837158203125, 0.020294189453125, -0.018585205078125, 0.021575927734375, 0.0283050537109375, 0.04351806640625, -0.0166015625, -0.0318603515625, 0.02947998046875, -0.0233306884765625, 0.01210784912109375, -0.034454345703125, 0.033294677734375, 0.033050537109375, -0.005645751953125, 0.0030307769775390625, -0.00693511962890625, 0.0716552734375, 0.01087188720703125, 0.033721923828125, -0.00598907470703125, -0.004154205322265625, -0.00909423828125, -0.00899505615234375, 0.00079345703125, 0.021240234375, -0.0814208984375, -0.0194549560546875, -0.009765625, -0.0257415771484375, 0.0225677490234375, 0.031585693359375, -0.0129852294921875, 0.00510406494140625, 0.033721923828125, -0.069580078125, 0.0284423828125, 0.0273590087890625, 0.028228759765625, -0.026123046875, -0.0259552001953125, -0.044097900390625, -0.03515625, -0.03399658203125, -0.0293121337890625, 0.05841064453125, 0.00504302978515625, 0.060791015625, -0.0193023681640625, 0.035400390625, -0.0013799667358398438, -0.032318115234375, 0.033905029296875, 0.0005145072937011719, -0.0026149749755859375, 0.025482177734375, 0.0032863616943359375, 0.0011539459228515625, -0.0288238525390625, 0.041961669921875, -0.00806427001953125, -0.01242828369140625, 0.0149688720703125, -0.023040771484375, 0.005153656005859375, 0.0142364501953125, -0.0017986297607421875, -0.020721435546875, -0.03564453125, -0.031951904296875, 0.023406982421875, 0.015350341796875, 0.0097503662109375, -0.037994384765625, 0.046600341796875, -0.00867462158203125, 0.009918212890625, 0.004947662353515625, -0.022705078125, 0.0093841552734375, 0.02740478515625, -0.035247802734375, -0.049774169921875, -0.0190277099609375, -0.015350341796875, -0.0440673828125, 0.0008516311645507812, 0.038970947265625, -0.0022430419921875, -0.039215087890625, -0.023681640625, 0.02740478515625, 0.046051025390625, 0.0217742919921875, 0.017974853515625, 0.0015125274658203125, -0.0169525146484375, -0.00604248046875, -0.01560211181640625, -0.0307159423828125, -0.031768798828125, -0.019683837890625, 0.015777587890625, -0.044525146484375, -0.055023193359375, -0.0794677734375, -0.007534027099609375, 0.02569580078125, -0.033599853515625, -0.00617218017578125, -0.0240020751953125, -0.043365478515625, 0.0697021484375, -0.046295166015625, 0.024566650390625, -0.0018138885498046875, 0.00936126708984375, -0.023284912109375, -0.01120758056640625, -0.0276031494140625, 0.0211334228515625, -0.005207061767578125, 0.021453857421875, 0.0245513916015625, -0.017608642578125, -0.01512908935546875, 0.024810791015625, -0.020721435546875, 0.07305908203125, -0.01322174072265625, -0.0094146728515625, -0.00982666015625, -0.00901031494140625, -0.00508880615234375, -0.029571533203125, 0.006557464599609375, -0.0555419921875, -0.038787841796875, -0.0384521484375, -0.00685882568359375, -0.0290374755859375, -0.07513427734375, -0.0908203125, 0.150390625, -0.0389404296875, -0.0101470947265625, -0.0396728515625, 0.0023326873779296875, -0.02239990234375, 0.050384521484375, 0.0004661083221435547, -0.0052947998046875, -0.005039215087890625, 0.0367431640625, 0.005161285400390625, 0.026397705078125, -0.01317596435546875, 0.0285491943359375, -0.0201416015625, 0.03265380859375, 0.0234832763671875, -0.013916015625, 0.0222015380859375, 0.0145111083984375, 0.00997161865234375, 0.041015625, -0.019500732421875, -0.0032939910888671875, -0.019287109375, -0.04364013671875, -0.005279541015625, 0.0014390945434570312, -0.00441741943359375, 0.0003848075866699219, -0.0017385482788085938, 0.04669189453125, -0.006801605224609375, -0.029571533203125, -0.033905029296875, -0.0257415771484375, 0.024078369140625, -0.0013780593872070312, -0.00855255126953125, -0.03607177734375, 0.0023403167724609375, 0.004100799560546875, 0.0231475830078125, -0.0085906982421875, -0.018463134765625, 0.006221771240234375, -0.02838134765625, 0.01546478271484375, 0.007709503173828125, 0.0128326416015625, 0.0126800537109375, 0.035491943359375, -0.037567138671875, 0.01123809814453125, -0.00841522216796875, 0.0208740234375, 0.00913238525390625, -0.030364990234375, 0.0040283203125, 0.040435791015625, -0.046844482421875, 0.015045166015625, 0.004177093505859375, 0.0283660888671875, -0.0587158203125, 0.008056640625, -0.00714874267578125, 0.018096923828125, 0.010223388671875, 0.0167083740234375, -0.0140228271484375, 0.0224151611328125, 0.004261016845703125, 0.0241851806640625, -0.01139068603515625, -0.08221435546875, -0.04193115234375, 0.029052734375, -0.064697265625, 0.0031890869140625, -0.040802001953125, -0.016448974609375, 0.003391265869140625, -0.006744384765625, 0.01314544677734375, -0.029022216796875, 0.030303955078125, -0.005161285400390625, 0.0032958984375, 0.0144805908203125 ]
d7976f91375aa93a938466696e8c5035222056d9
Wordpress Stackexchange Q: Syntax Highlighter XML striping I am really frustrated with availible Syntax Highlighter's on the market it seems that no matter which one I use, after pressing "Save Draft" or "Publish" and after I change from Visual to Html or reverse I am loosing the xml snippet code. Also, other code (C#, PHP) just loosing their style, especially break lines making code unreadable. My configuration is * *WordPress 3.2.1. *Easy Google Syntax Highlighter, *SyntaxHighlighter TinyMCE Button, *SyntaxHighlighter I really like WordPress however writing and espessially editing posts in admin panel, which is very handfull, make it impossible because it just looses and stripping code formating. So, the question is which plugins do you use or do you write posts through admin panel? A: Your best bet is to use custom post meta to store the code, and output it however you want. In other words, skirt the editor entirely. Here's a really clever WP theme by Dan Cederholm that does this like a champ.
Q: Syntax Highlighter XML striping I am really frustrated with availible Syntax Highlighter's on the market it seems that no matter which one I use, after pressing "Save Draft" or "Publish" and after I change from Visual to Html or reverse I am loosing the xml snippet code. Also, other code (C#, PHP) just loosing their style, especially break lines making code unreadable. My configuration is * *WordPress 3.2.1. *Easy Google Syntax Highlighter, *SyntaxHighlighter TinyMCE Button, *SyntaxHighlighter I really like WordPress however writing and espessially editing posts in admin panel, which is very handfull, make it impossible because it just looses and stripping code formating. So, the question is which plugins do you use or do you write posts through admin panel? A: Your best bet is to use custom post meta to store the code, and output it however you want. In other words, skirt the editor entirely. Here's a really clever WP theme by Dan Cederholm that does this like a champ. A: A nice solution to this problem is by using the "gist" feature of github. Simply create a gist with one or more files on github and embed them in your wordpress post like this: [gist file=FILENAME.xml]GIST-ID[/gist] You can leave the filename if you have only one file or want to display all files.
wordpress
{ "language": "en", "length": 218, "provenance": "stackexchange_00019.jsonl.gz:414885", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34654" }
[ 0.018829345703125, -0.00890350341796875, -0.0126495361328125, -0.00010889768600463867, -0.018463134765625, -0.0206298828125, -0.00428009033203125, -0.0299530029296875, 0.01593017578125, 0.02874755859375, -0.0203094482421875, -0.0169830322265625, -0.016754150390625, -0.0175628662109375, -0.038848876953125, -0.02996826171875, 0.027099609375, -0.0020694732666015625, 0.019805908203125, -0.00787353515625, 0.004703521728515625, -0.00147247314453125, 0.03277587890625, 0.005413055419921875, 0.04302978515625, -0.02703857421875, 0.06707763671875, -0.013031005859375, 0.0201263427734375, -0.00846099853515625, 0.0220184326171875, -0.031158447265625, 0.01284027099609375, 0.07373046875, -0.07147216796875, 0.0057220458984375, -0.00852203369140625, 0.021514892578125, 0.0150299072265625, -0.0008563995361328125, 0.002941131591796875, -0.00696563720703125, 0.040374755859375, -0.0018625259399414062, 0.00583648681640625, -0.0318603515625, 0.0092620849609375, -0.045196533203125, 0.0032863616943359375, -0.06695556640625, -0.00313568115234375, 0.03143310546875, 0.028961181640625, -0.05718994140625, -0.01983642578125, 0.036590576171875, -0.001270294189453125, 0.00872802734375, 0.0171051025390625, 0.0107421875, -0.000024974346160888672, 0.0183868408203125, 0.00951385498046875, 0.00815582275390625, -0.01006317138671875, -0.002460479736328125, -0.00850677490234375, 0.015350341796875, -0.0171966552734375, -0.009307861328125, 0.0174560546875, -0.029937744140625, 0.00665283203125, -0.0161895751953125, 0.0036487579345703125, -0.004390716552734375, 0.01180267333984375, 0.005664825439453125, 0.016021728515625, 0.0092620849609375, 0.0606689453125, 0.0180816650390625, 0.0362548828125, -0.00798797607421875, 0.0033092498779296875, -0.008636474609375, 0.00368499755859375, -0.015899658203125, -0.043701171875, -0.024200439453125, -0.016937255859375, 0.00015532970428466797, -0.049346923828125, -0.0247650146484375, -0.0165557861328125, -0.032379150390625, -0.0171966552734375, -0.04248046875, 0.006855010986328125, 0.004474639892578125, 0.0173797607421875, -0.0396728515625, 0.038604736328125, -0.01018524169921875, -0.01136016845703125, 0.02435302734375, 0.0179595947265625, 0.046875, 0.036163330078125, 0.0171661376953125, -0.003002166748046875, -0.0028133392333984375, 0.0016889572143554688, -0.0007429122924804688, -0.016693115234375, 0.008209228515625, -0.003345489501953125, -0.007476806640625, -0.006526947021484375, -0.004016876220703125, -0.01995849609375, -0.00025010108947753906, -0.040618896484375, 0.0030078887939453125, -0.0009474754333496094, -0.021331787109375, 0.0017251968383789062, 0.036407470703125, 0.0234832763671875, 0.0253753662109375, -0.031280517578125, 0.00901031494140625, 0.034149169921875, 0.017181396484375, 0.003818511962890625, -0.014617919921875, 0.009246826171875, -0.0235137939453125, -0.00960540771484375, -0.024627685546875, -0.00720977783203125, 0.016021728515625, 0.0435791015625, -0.039337158203125, 0.02593994140625, 0.0304412841796875, 0.0135345458984375, 0.003604888916015625, -0.0018663406372070312, -0.0487060546875, 0.0447998046875, -0.044891357421875, 0.040283203125, -0.01275634765625, -0.00542449951171875, -0.0574951171875, 0.012176513671875, -0.0293426513671875, 0.020111083984375, -0.05987548828125, 0.01512908935546875, 0.009246826171875, 0.0187225341796875, 0.033782958984375, 0.0123138427734375, -0.00644683837890625, -0.0311737060546875, 0.01100921630859375, 0.0220794677734375, -0.05279541015625, 0.0302276611328125, 0.01104736328125, 0.0275726318359375, 0.006221771240234375, 0.018798828125, 0.0193023681640625, 0.0018129348754882812, -0.0155792236328125, 0.024749755859375, -0.020050048828125, -0.019134521484375, -0.0237274169921875, 0.0295562744140625, -0.010528564453125, -0.07196044921875, 0.06488037109375, 0.023834228515625, 0.115966796875, 0.01800537109375, 0.012481689453125, 0.064208984375, -0.00402069091796875, 0.0034332275390625, 0.035858154296875, 0.0099334716796875, -0.0230255126953125, -0.049774169921875, 0.0025997161865234375, -0.0130157470703125, -0.030731201171875, -0.020416259765625, 0.0301513671875, -0.01245880126953125, 0.0140533447265625, -0.01119232177734375, 0.023773193359375, -0.006427764892578125, 0.037872314453125, 0.0233001708984375, 0.0204925537109375, 0.0059967041015625, 0.010101318359375, -0.0094757080078125, -0.01409912109375, -0.01934814453125, 0.03131103515625, -0.0158843994140625, 0.041595458984375, 0.040069580078125, -0.0236663818359375, 0.094482421875, -0.01922607421875, 0.08270263671875, -0.0028057098388671875, -0.0184326171875, 0.00228118896484375, -0.037933349609375, 0.01248931884765625, -0.022308349609375, -0.002719879150390625, 0.038330078125, 0.058013916015625, 0.02801513671875, 0.07220458984375, -0.0122222900390625, -0.0294189453125, -0.0184173583984375, -0.056640625, 0.0169830322265625, 0.04931640625, 0.033660888671875, 0.06390380859375, -0.009521484375, -0.02630615234375, 0.08941650390625, -0.0196075439453125, 0.0171661376953125, -0.033050537109375, 0.00232696533203125, 0.0036220550537109375, -0.0077972412109375, -0.00580596923828125, 0.0341796875, -0.0728759765625, 0.019134521484375, 0.03240966796875, -0.007720947265625, 0.0161895751953125, -0.0287933349609375, 0.0286712646484375, -0.0055694580078125, -0.00130462646484375, -0.01538848876953125, -0.020660400390625, 0.050201416015625, -0.05755615234375, 0.056640625, 0.02911376953125, -0.0036373138427734375, -0.0595703125, 0.0154266357421875, 0.0528564453125, 0.016693115234375, 0.031768798828125, 0.025909423828125, 0.0599365234375, -0.01171875, -0.04150390625, 0.052276611328125, 0.036163330078125, 0.00914764404296875, 0.076904296875, -0.0154571533203125, -0.0305633544921875, 0.0012369155883789062, -0.026123046875, -0.044281005859375, -0.01161956787109375, 0.019683837890625, -0.01049041748046875, -0.0098876953125, 0.045562744140625, -0.0189361572265625, 0.06451416015625, 0.00164031982421875, -0.006626129150390625, 0.0343017578125, -0.04473876953125, 0.0369873046875, -0.0032558441162109375, 0.09796142578125, 0.0751953125, 0.0147247314453125, 0.004119873046875, 0.00829315185546875, -0.004985809326171875, 0.017486572265625, 0.0023670196533203125, -0.00872802734375, 0.0065765380859375, -0.0638427734375, -0.0128326416015625, 0.0286865234375, 0.0533447265625, 0.0030460357666015625, -0.0511474609375, -0.01090240478515625, 0.0263519287109375, -0.093505859375, -0.07928466796875, -0.0213623046875, -0.0745849609375, -0.0165252685546875, 0.018798828125, -0.047393798828125, 0.0028629302978515625, 0.05914306640625, -0.005680084228515625, 0.0166015625, -0.017181396484375, -0.03436279296875, -0.037017822265625, -0.068115234375, -0.0262451171875, -0.001194000244140625, 0.01493072509765625, 0.00714111328125, 0.040679931640625, -0.0128021240234375, -0.0858154296875, -0.02716064453125, -0.040802001953125, -0.004917144775390625, 0.0474853515625, 0.007671356201171875, -0.040557861328125, -0.0137786865234375, 0.01003265380859375, -0.0131378173828125, -0.0230255126953125, 0.01236724853515625, -0.0245819091796875, 0.01386260986328125, 0.005207061767578125, 0.0384521484375, -0.0276641845703125, -0.0282745361328125, 0.0650634765625, 0.0154571533203125, -0.01071929931640625, -0.015655517578125, 0.034759521484375, -0.01168060302734375, -0.006435394287109375, 0.0015048980712890625, -0.03997802734375, 0.0013866424560546875, 0.01488494873046875, 0.04595947265625, 0.042449951171875, 0.00827789306640625, -0.01166534423828125, 0.027984619140625, -0.00135040283203125, 0.042510986328125, -0.038604736328125, -0.042449951171875, -0.0308837890625, 0.0106353759765625, -0.03271484375, 0.0146331787109375, -0.001102447509765625, 0.04937744140625, 0.0207977294921875, -0.01134490966796875, 0.005680084228515625, -0.061431884765625, -0.00513458251953125, -0.0305328369140625, 0.006038665771484375, -0.038330078125, 0.0249786376953125, -0.032684326171875, -0.0064239501953125, 0.00867462158203125, 0.00359344482421875, -0.0263671875, -0.0074615478515625, -0.067626953125, -0.01275634765625, -0.08441162109375, 0.01287078857421875, 0.0025157928466796875, -0.0235137939453125, -0.00963592529296875, -0.032501220703125, -0.06329345703125, -0.0379638671875, 0.01517486572265625, -0.03082275390625, -0.02294921875, -0.0009407997131347656, -0.031463623046875, -0.03765869140625, 0.01416778564453125, -0.04119873046875, -0.1187744140625, -0.024169921875, -0.045684814453125, 0.0909423828125, 0.02911376953125, -0.043609619140625, -0.0235137939453125, 0.0499267578125, 0.003223419189453125, -0.0128936767578125, -0.0014934539794921875, 0.01543426513671875, -0.032196044921875, -0.003566741943359375, -0.0260009765625, -0.0211334228515625, -0.0330810546875, 0.0198974609375, -0.0024204254150390625, 0.036590576171875, 0.00415802001953125, -0.0712890625, 0.051025390625, -0.0286102294921875, -0.01216888427734375, 0.0037021636962890625, -0.00110626220703125, 0.006877899169921875, -0.0089874267578125, -0.01305389404296875, -0.0053863525390625, -0.0037784576416015625, 0.045684814453125, -0.004619598388671875, -0.0299072265625, 0.007671356201171875, 0.051177978515625, 0.01983642578125, -0.01004791259765625, -0.04632568359375, 0.0015974044799804688, 0.05560302734375, 0.01090240478515625, 0.003650665283203125, 0.0005030632019042969, -0.060302734375, 0.09228515625, 0.041290283203125, 0.007625579833984375, -0.051361083984375, 0.03509521484375, -0.00891876220703125, -0.0072021484375, 0.019317626953125, -0.0025348663330078125, 0.05084228515625, 0.01007080078125, 0.001605987548828125, -0.0197906494140625, -0.0158843994140625, 0.04296875, 0.0270538330078125, -0.027099609375, -0.055816650390625, -0.046173095703125, -0.0024852752685546875, 0.027587890625, 0.0267486572265625, 0.0299224853515625, 0.0015811920166015625, 0.038116455078125, 0.030517578125, -0.01302337646484375, -0.021026611328125, -0.0032196044921875, 0.0119781494140625, 0.0142364501953125, -0.000545501708984375, -0.0079193115234375, -0.0232696533203125, -0.0157318115234375, 0.043914794921875, 0.0136566162109375, -0.04840087890625, -0.01416015625, -0.007152557373046875, 0.0113983154296875, -0.0145416259765625, 0.01385498046875, 0.040496826171875, -0.00020742416381835938, 0.0269012451171875, -0.0145416259765625, -0.0277557373046875, 0.01107025146484375, -0.0269775390625, -0.0219879150390625, 0.00109100341796875, -0.01629638671875, 0.0025920867919921875, 0.028533935546875, -0.0209197998046875, 0.01023101806640625, 0.004009246826171875, -0.035675048828125, -0.03680419921875, 0.01904296875, 0.00862884521484375, 0.0094757080078125, 0.048858642578125, -0.04803466796875, 0.0814208984375, -0.01824951171875, -0.00872039794921875, 0.0037555694580078125, 0.02508544921875, 0.007053375244140625, 0.0010175704956054688, 0.01441192626953125, -0.0194854736328125, -0.0113677978515625, -0.0083160400390625, -0.01136016845703125, -0.007678985595703125, -0.00844573974609375, 0.0007109642028808594, 0.0228729248046875, 0.0187530517578125, -0.0243682861328125, 0.01690673828125, -0.032501220703125, -0.007282257080078125, -0.007274627685546875, -0.061767578125, 0.020294189453125, 0.024322509765625, -0.0072174072265625, 0.0170440673828125, -0.020843505859375, -0.011688232421875, -0.04010009765625, -0.0018110275268554688, -0.017059326171875, 0.060577392578125, -0.00925445556640625, -0.005870819091796875, -0.01354217529296875, 0.00290679931640625, -0.021697998046875, -0.0015134811401367188, 0.0399169921875, -0.0018024444580078125, -0.0546875, -0.023590087890625, -0.04949951171875, -0.0285491943359375, -0.01708984375, -0.011138916015625, -0.029144287109375, 0.00612640380859375, -0.004596710205078125, 1.7881393432617188e-7, -0.00913238525390625, 0.00952911376953125, -0.0264739990234375, 0.06884765625, 0.024749755859375, 0.0601806640625, -0.0160369873046875, 0.00786590576171875, -0.017333984375, 0.052093505859375, -0.0280914306640625, -0.012451171875, -0.0029354095458984375, -0.0018033981323242188, 0.0177154541015625, -0.04541015625, -0.029449462890625, -0.044677734375, 0.03314208984375, 0.0260162353515625, 0.023406982421875, 0.001399993896484375, 0.017547607421875, -0.00762176513671875, -0.00013768672943115234, -0.01343536376953125, 0.002811431884765625, -0.0141754150390625, 0.01739501953125, -0.01163482666015625, -0.01080322265625, 0.016845703125, 0.01166534423828125, -0.01678466796875, 0.01126861572265625, 0.0131683349609375, 0.01004791259765625, -0.01329803466796875, 0.05560302734375, -0.055938720703125, -0.045440673828125, 0.01081085205078125, 0.0164337158203125, -0.004413604736328125, 0.050933837890625, -0.00640869140625, -0.04266357421875, -0.006618499755859375, 0.0186614990234375, -0.00774383544921875, -0.0178375244140625, 0.0242462158203125, 0.0134124755859375, 0.000017404556274414062, 0.00803375244140625, 0.0775146484375, 0.0826416015625, -0.12078857421875, 0.020782470703125, 0.0341796875, 0.001865386962890625, -0.0028438568115234375, -0.00205230712890625, -0.03216552734375, -0.07391357421875, 0.00949859619140625, 0.05267333984375, -0.005542755126953125, -0.003536224365234375, 0.0229949951171875, -0.031402587890625, -0.0186614990234375, -0.002559661865234375, 0.012969970703125, -0.05645751953125, 0.043426513671875, 0.00644683837890625, -0.0014400482177734375, -0.0330810546875, 0.01032257080078125, 0.0016994476318359375, -0.007503509521484375, -0.0662841796875, 0.02618408203125, -0.012451171875, -0.01348114013671875, 0.0026073455810546875, -0.002902984619140625, 0.0196533203125, 0.061767578125, -0.028594970703125, 0.02239990234375, 0.02294921875, 0.006931304931640625, 0.004680633544921875, -0.02362060546875, 0.023681640625, 0.02398681640625, -0.0204315185546875, 0.01806640625, 0.0015974044799804688, -0.041259765625, -0.00533294677734375, 0.03961181640625, 0.0751953125, -0.00693511962890625, -0.0302734375, 0.0280914306640625, -0.01136016845703125, -0.00858306884765625, -0.037506103515625, -0.022125244140625, -0.04901123046875, 0.002407073974609375, -0.0306854248046875, -0.005645751953125, -0.0038700103759765625, -0.03485107421875, -0.07147216796875, 0.05548095703125, 0.06671142578125, 0.01593017578125, 0.003452301025390625, 0.0198211669921875, -0.065185546875, -0.042694091796875, -0.0120391845703125, 0.030120849609375, -0.0177001953125, 0.00138092041015625, -0.03265380859375, -0.006511688232421875, -0.0007791519165039062, 0.0246429443359375, 0.03790283203125, 0.0002827644348144531, -0.045166015625, -0.021636962890625, 0.032867431640625, 0.020721435546875, -0.0021648406982421875, 0.03326416015625, 0.02777099609375, 0.041412353515625, 0.0178070068359375, -0.0312042236328125, 0.049102783203125, -0.055450439453125, -0.01480865478515625, 0.0115966796875, 0.006580352783203125, 0.0021114349365234375, 0.01812744140625, -0.04766845703125, -0.0224761962890625, 0.017913818359375, -0.00020182132720947266, -0.0059051513671875, 0.003307342529296875, 0.0083770751953125, 0.0007190704345703125, -0.0533447265625, -0.04486083984375, -0.006954193115234375, 0.0193939208984375, 0.0060882568359375, 0.07489013671875, 0.004276275634765625, 0.017120361328125, 0.08978271484375, -0.01788330078125, 0.045074462890625, 0.027587890625, -0.0240020751953125, 0.02569580078125, 0.0065765380859375, 0.03240966796875, -0.00385284423828125, 0.0003662109375, 0.00026226043701171875, 0.0175018310546875, -0.01033782958984375, -0.0323486328125, -0.010772705078125, -0.020965576171875, 0.000858306884765625, -0.0179290771484375, -0.001953125, 0.0033416748046875, 0.0191192626953125, -0.007678985595703125, -0.026336669921875, -0.0226898193359375, 0.01617431640625, -0.0032405853271484375, -0.01398468017578125, 0.018310546875, -0.0217437744140625, -0.0179595947265625, -0.020660400390625, -0.01372528076171875, 0.0213623046875, 0.0357666015625, 0.0156402587890625, -0.0118865966796875, -0.0110015869140625, -0.02362060546875, 0.019622802734375, 0.00954437255859375, 0.01385498046875, -0.02191162109375, -0.01081085205078125, 0.0310821533203125, 0.0244293212890625, -0.024627685546875, 0.034881591796875, 0.034271240234375, 0.00897216796875, -0.05462646484375, -0.01617431640625, -0.01045989990234375, -0.0458984375, -0.0372314453125, -0.0396728515625, -0.007732391357421875, 0.01485443115234375, 0.00380706787109375, 0.0218048095703125, 0.0018529891967773438, 0.0204010009765625, -0.01342010498046875, 0.00366973876953125, 0.004390716552734375, -0.01163482666015625, 0.00634765625, -0.039764404296875, -0.0305328369140625, -0.0175628662109375, -0.0204925537109375, -0.0008015632629394531, 0.01702880859375, -0.0341796875, -0.0183868408203125, 0.0200042724609375, -0.00629425048828125, 0.01316070556640625, -0.040496826171875, -0.01513671875, 0.0367431640625, -0.0215606689453125, -0.005725860595703125, 0.025665283203125, 0.0025997161865234375, -0.01520538330078125, -0.07940673828125, -0.066650390625, -0.055572509765625, 0.08978271484375, 0.0237579345703125, 0.05511474609375, -0.019287109375, 0.05316162109375, -0.01279449462890625, -0.01100921630859375, -0.0271759033203125, -0.01325225830078125, -0.01551055908203125, -0.0447998046875, -0.003070831298828125, 0.01273345947265625, -0.04541015625, 0.04815673828125, 0.014068603515625, 0.010040283203125, 0.023468017578125, -0.01788330078125, 0.001522064208984375, -0.0149383544921875, 0.0208282470703125, -0.02508544921875, -0.060546875, -0.0628662109375, 0.001285552978515625, -0.006328582763671875, 0.024078369140625, 0.00978851318359375, 0.0198211669921875, 0.05364990234375, -0.0421142578125, 0.031463623046875, -0.025360107421875, 0.05316162109375, 0.049835205078125, 0.02886962890625, -0.01517486572265625, 0.033782958984375, -0.0056304931640625, 0.0041351318359375, 0.03472900390625, -0.0026874542236328125, 0.04693603515625, -0.0748291015625, 0.048492431640625, 0.06732177734375, 0.073486328125, -0.00804901123046875, 0.015960693359375, 0.0279693603515625, -0.02569580078125, 0.0206298828125, 0.0106048583984375, -0.0205535888671875, 0.01419830322265625, -0.01491546630859375, 0.005947113037109375, 0.005901336669921875, -0.04876708984375, -0.06475830078125, -0.02288818359375, 0.020263671875, -0.0306396484375, 0.01479339599609375, -0.03875732421875, -0.01383209228515625, 0.0203704833984375, -0.01013946533203125, -0.00870513916015625, -0.025970458984375, 0.01490020751953125, 0.003002166748046875, -0.052764892578125, -0.04742431640625, 0.0765380859375, -0.04681396484375, 0.0294647216796875, 0.042572021484375, -0.0252685546875, -0.02874755859375, 0.0312347412109375, 0.011474609375, 0.07110595703125, 0.0094757080078125, -0.0006222724914550781, 0.005985260009765625, 0.00769805908203125, -0.0224456787109375, -0.07489013671875, 0.006008148193359375, -0.060302734375, -0.0157470703125, 0.022552490234375, -0.0047760009765625, 0.006374359130859375, -0.037261962890625, -0.0679931640625, 0.036163330078125, -0.0005812644958496094, -0.0288543701171875, 0.027496337890625, -0.053131103515625, -0.0190887451171875, 0.03631591796875, 0.016571044921875, -0.049041748046875, -0.054718017578125, -0.00092315673828125, -0.0031681060791015625, 0.039031982421875, 0.019256591796875, -0.0254669189453125, 0.002857208251953125, 0.0006275177001953125, 0.0138702392578125, -0.0004398822784423828, -0.045867919921875, 0.015899658203125, 0.014862060546875, 0.0445556640625, 0.006916046142578125, 0.00023615360260009766, 0.0307769775390625, -0.0174560546875, 0.01186370849609375, -0.02410888671875, -0.036346435546875, -0.035980224609375, 0.024932861328125, 0.034942626953125, 0.00537872314453125, -0.00254058837890625, 0.024261474609375, -0.000858306884765625, -0.028839111328125, -0.017547607421875, 0.00199127197265625, -0.053741455078125, -0.0224151611328125, -0.004978179931640625, -0.013763427734375, 0.01104736328125, 0.015716552734375, -0.0382080078125, -0.010772705078125, 0.002674102783203125, -0.0075836181640625, -0.078857421875, -0.02874755859375, 0.06365966796875, -0.01236724853515625, 0.04815673828125, 0.01148223876953125, 0.01776123046875, 0.0716552734375, 0.09100341796875, 0.020599365234375, 0.0019989013671875, -0.0528564453125, -0.002307891845703125, 0.00893402099609375, 0.005916595458984375, -0.018035888671875, -0.019561767578125, -0.00702667236328125, 0.0015954971313476562, 0.0012645721435546875, -0.007740020751953125, -0.03387451171875, -0.004474639892578125, -0.01500701904296875, 0.048828125, -0.0266265869140625, -0.0204620361328125, -0.04302978515625, 0.03680419921875, -0.0190887451171875, 0.003795623779296875, 0.01149749755859375, -0.009063720703125, 0.0184783935546875, 0.0156402587890625, 0.044677734375, -0.0285491943359375, 0.007587432861328125, -0.02899169921875, 0.027923583984375, 0.01153564453125 ]
5539e5c596f523888d016bbfe42bf965c4d5ad38
Wordpress Stackexchange Q: Add 'title' attribute to stylesheets with wp_enqueue_style() Read below if you want to start from where I left off in core. But the basic question is: I need to add a "title" attribute to my stylesheets and wp_enqueue_style() doesn't allow for that parameter, as far as I can tell. Other than a hard embed, are there any ways WordPress allows us to add the title to a stylesheet? In digging around core I notice that there's a $title variable that can be set using $style->extra['title']. $title = isset($this->registered[$handle]->extra['title']) ? "title='" . esc_attr( $this->registered[$handle]->extra['title'] ) . "'" : ''; (class.wp-styles.php) And $title also figures in the filter that is applied when you enqueue a stylesheet. So how can you set that 'extra' array within the style object? A: Okay, here's where I'm at with a solution. wp_enqueue_style( 'my-handle', 'mystyle.css' ); global $wp_styles; $wp_styles->add_data( 'my-handle', 'title', 'my_stylesheet_title' ); Don't like using the global. Is there something better?
Q: Add 'title' attribute to stylesheets with wp_enqueue_style() Read below if you want to start from where I left off in core. But the basic question is: I need to add a "title" attribute to my stylesheets and wp_enqueue_style() doesn't allow for that parameter, as far as I can tell. Other than a hard embed, are there any ways WordPress allows us to add the title to a stylesheet? In digging around core I notice that there's a $title variable that can be set using $style->extra['title']. $title = isset($this->registered[$handle]->extra['title']) ? "title='" . esc_attr( $this->registered[$handle]->extra['title'] ) . "'" : ''; (class.wp-styles.php) And $title also figures in the filter that is applied when you enqueue a stylesheet. So how can you set that 'extra' array within the style object? A: Okay, here's where I'm at with a solution. wp_enqueue_style( 'my-handle', 'mystyle.css' ); global $wp_styles; $wp_styles->add_data( 'my-handle', 'title', 'my_stylesheet_title' ); Don't like using the global. Is there something better? A: It seems to me that you could also use style_loader_tag, see my other answer for a more detailed take on both style_loader_tag and script_loader_tag API: How to add crossorigin and integrity to wp_register_style? (Font Awesome 5) style_loader_tag is an official WordPress API, see the documentation: https://developer.wordpress.org/reference/hooks/style_loader_tag/ apply_filters( 'style_loader_tag', $html, $handle, $href, $media )Filters the HTML link tag of an enqueued style. First, enqueue your stylesheets function add_styles() { // Example loading external stylesheet, could be used in both a theme and/or plugin wp_enqueue_style( 'font-awesome-5', 'https://use.fontawesome.com/releases/v5.5.0/css/all.css', array(), null ); // Example theme wp_enqueue_style( 'font-awesome-5', get_theme_file_uri( '/assets/css/fontawesome.min.css' ), array(), null ); // Example plugin wp_enqueue_style( 'font-awesome-5', plugins_url( '/assets/css/fontawesome.min.css', __FILE__ ), array(), null ); }; add_action( 'wp_enqueue_scripts', 'add_styles' ); Second, use style_loader_tag Than use style_loader_tag to add your title to the specific stylesheet. function add_stylesheet_attributes( $html, $handle ) { if ( 'font-awesome-5' === $handle ) { return str_replace( "rel='stylesheet'", "rel='stylesheet' title='something'", $html ); } return $html; } add_filter( 'style_loader_tag', 'add_stylesheet_attributes', 10, 2 ); A: Looking at the file you mentioned in your post class.wp-styles.php, you have the following line, $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle );. You can therefore hook into the "style_loader_tag" filter and add in the title tag. I like your answer as well, but am unsure as to which one would be better, as I am not sure if there are any issues with using the global or not. A: I used the way with style_loader_tag. Thereby I missused the handle to transport my additional title-tag. This looks like the following: // Enqueue style wp_enqueue_style( 'twentytwelve-style-Xstyle1', get_stylesheet_uri() ); // my filter function add_filter('style_loader_tag', 'my_style_loader_tag_function'); function my_style_loader_tag_function($tag){ $customXML = new SimpleXMLElement($tag); $id = (string)$customXML->attributes()->id; $values = explode('-X',$id); if(!isset($values[1])){ return $tag; } $customXML->attributes()->id = $values[0].'-css'; $title = str_replace('-css', '', $values[1]); $customXML->addAttribute('title', $title); $dom = dom_import_simplexml($customXML); return $dom->ownerDocument->saveXML($dom->ownerDocument->documentElement); } So I look for -X and all after that string is my title attribute.
wordpress
{ "language": "en", "length": 474, "provenance": "stackexchange_00019.jsonl.gz:414910", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34754" }
[ -0.015777587890625, -0.0037441253662109375, -0.049713134765625, 0.0124053955078125, -0.0130615234375, -0.057769775390625, 0.049163818359375, 0.004364013671875, -0.019622802734375, 0.0206451416015625, -0.01395416259765625, 0.035736083984375, -0.007537841796875, -0.0045623779296875, 0.0181121826171875, -0.01247406005859375, 0.035308837890625, -0.043487548828125, 0.0162506103515625, 0.01544952392578125, 0.0032444000244140625, 0.0170135498046875, 0.036773681640625, 0.0120697021484375, 0.007785797119140625, -0.0207672119140625, 0.0736083984375, -0.01187896728515625, 0.0287322998046875, -0.001697540283203125, 0.0276336669921875, -0.043914794921875, 0.043304443359375, 0.0097198486328125, -0.0279541015625, 0.028167724609375, 0.0411376953125, -0.0283966064453125, -0.006511688232421875, 0.050018310546875, 0.0207672119140625, -0.0011835098266601562, 0.0222625732421875, 0.047607421875, -0.0089569091796875, -0.05682373046875, 0.046600341796875, -0.018096923828125, -0.0159759521484375, -0.00662994384765625, 0.0298309326171875, 0.0199432373046875, 0.044952392578125, -0.0361328125, -0.00423431396484375, 0.0142974853515625, 0.0146636962890625, -0.0321044921875, 0.02435302734375, -0.00946044921875, -0.02020263671875, -0.0249786376953125, 0.032928466796875, -0.0256805419921875, 0.0171966552734375, 0.0013904571533203125, 0.04302978515625, 0.0189666748046875, -0.02886962890625, 0.00823211669921875, 0.0264434814453125, -0.0173492431640625, -0.00882720947265625, -0.06634521484375, -0.00690460205078125, 0.035003662109375, -0.01812744140625, -0.03607177734375, 0.019866943359375, -0.0142974853515625, -0.0242767333984375, -0.0433349609375, -0.01678466796875, -0.038299560546875, 0.0278472900390625, -0.007717132568359375, -0.0192108154296875, 0.0091705322265625, 0.0300140380859375, -0.038543701171875, 0.01070404052734375, -0.01593017578125, 0.0135498046875, 0.0106353759765625, -0.0008912086486816406, -0.042327880859375, 0.0289154052734375, 0.06121826171875, 0.004863739013671875, 0.01898193359375, -0.009124755859375, -0.03594970703125, 0.0191802978515625, -0.036651611328125, -0.0160369873046875, -0.001033782958984375, -0.0089263916015625, -0.0352783203125, -0.0036525726318359375, 0.032196044921875, -0.027130126953125, -0.0206756591796875, 0.01438140869140625, 0.0254669189453125, -0.0302581787109375, -0.001895904541015625, -0.0036983489990234375, 0.0019397735595703125, -0.016815185546875, 0.0210418701171875, 0.007808685302734375, 0.029541015625, -0.034088134765625, 0.00411224365234375, 0.00644683837890625, 0.0087127685546875, 0.008514404296875, -0.0233917236328125, 0.0052642822265625, 0.0162506103515625, 0.007343292236328125, 0.01280975341796875, 0.0278167724609375, 0.01169586181640625, -0.019439697265625, -0.0169525146484375, 0.033660888671875, -0.04962158203125, -0.04736328125, -0.0055084228515625, 0.0099334716796875, -0.00662994384765625, 0.002655029296875, -0.022705078125, 0.0009593963623046875, 0.00978851318359375, 0.0170440673828125, 0.0308990478515625, -0.0173492431640625, -0.07110595703125, 0.09295654296875, -0.069580078125, 0.0095367431640625, 0.0282440185546875, -0.023406982421875, 0.0025272369384765625, 0.005100250244140625, -0.0108795166015625, 0.00789642333984375, -0.01555633544921875, -0.046112060546875, -0.010650634765625, 0.00342559814453125, -0.005100250244140625, -0.0225372314453125, 0.0257110595703125, 0.02734375, 0.006931304931640625, 0.0197601318359375, 0.03936767578125, -0.033660888671875, -0.0297088623046875, -0.0053863525390625, -0.0030307769775390625, -0.0250244140625, 0.0222015380859375, -0.0025348663330078125, -0.0187530517578125, 0.03912353515625, 0.02471923828125, -0.03179931640625, -0.0240936279296875, 0.05126953125, -0.0299835205078125, -0.011016845703125, -0.0445556640625, 0.00479888916015625, 0.0208587646484375, 0.0273895263671875, 0.0229644775390625, -0.0012979507446289062, -0.038238525390625, -0.01641845703125, -0.00269317626953125, -0.004810333251953125, -0.002056121826171875, -0.01309967041015625, 0.015869140625, -0.004955291748046875, 0.006252288818359375, 0.03826904296875, 0.0112152099609375, 0.0382080078125, -0.00917816162109375, -0.00772857666015625, 0.00888824462890625, 0.003124237060546875, 0.027099609375, -0.048614501953125, -0.01226043701171875, 0.029876708984375, -0.039703369140625, 0.00041961669921875, -0.04595947265625, -0.0195159912109375, 0.0017385482788085938, 0.0156402587890625, 0.018890380859375, -0.00711822509765625, 0.0079193115234375, 0.0222320556640625, -0.002498626708984375, 0.01345062255859375, 0.0419921875, 0.040191650390625, 0.0031108856201171875, -0.0207672119140625, -0.01177215576171875, 0.013702392578125, 0.02392578125, -0.0338134765625, 0.0236968994140625, 0.05438232421875, 0.08258056640625, -0.00039315223693847656, -0.0110321044921875, -0.0248870849609375, -0.0821533203125, 0.01425933837890625, 0.043975830078125, 0.040985107421875, 0.0479736328125, 0.019134521484375, 0.00791168212890625, 0.038543701171875, 0.0221710205078125, 0.049835205078125, -0.044830322265625, 0.004791259765625, -0.003757476806640625, 0.017578125, -0.029632568359375, 0.027557373046875, -0.07891845703125, 0.018951416015625, 0.042510986328125, -0.0423583984375, -0.014007568359375, -0.029296875, 0.004657745361328125, 0.0188140869140625, -0.0208740234375, -0.0126495361328125, -0.0031147003173828125, 0.060760498046875, -0.0026874542236328125, 0.020751953125, -0.00684356689453125, -0.026214599609375, 0.035552978515625, 0.0173492431640625, -0.0740966796875, 0.0141754150390625, 0.016082763671875, -0.005245208740234375, -0.00201416015625, -0.021820068359375, 0.0020084381103515625, -0.003513336181640625, -0.0027751922607421875, -0.01464080810546875, 0.04510498046875, 0.005901336669921875, -0.019561767578125, -0.017333984375, -0.0689697265625, 0.004665374755859375, -0.012481689453125, 0.029022216796875, -0.0167694091796875, 0.01251983642578125, 0.036376953125, -0.019378662109375, 0.035247802734375, 0.031982421875, -0.033935546875, 0.0389404296875, -0.0183563232421875, 0.035430908203125, -0.034637451171875, -0.001064300537109375, 0.03985595703125, -0.016845703125, -0.0223388671875, 0.0087890625, -0.0267333984375, -0.0163726806640625, 0.00022304058074951172, -0.005977630615234375, 0.002681732177734375, -0.09027099609375, 0.013946533203125, 0.03924560546875, 0.05462646484375, 0.031585693359375, -0.0229644775390625, 0.0180816650390625, 0.05181884765625, -0.0423583984375, -0.10406494140625, 0.0064849853515625, -0.045440673828125, 0.00965118408203125, -0.00974273681640625, -0.035125732421875, -0.0156707763671875, 0.0263519287109375, 0.0016021728515625, -0.0290679931640625, -0.025726318359375, -0.00788116455078125, -0.06805419921875, -0.07537841796875, -0.051666259765625, 0.03045654296875, 0.02581787109375, 0.01061248779296875, 0.0215911865234375, 0.006946563720703125, -0.0129547119140625, 0.0262603759765625, 0.0034351348876953125, 0.0014190673828125, 0.0018186569213867188, 0.0440673828125, -0.0362548828125, -0.0019207000732421875, -0.01082611083984375, -0.03948974609375, 0.040496826171875, -0.01126861572265625, -0.00926971435546875, -0.035919189453125, -0.00600433349609375, -0.0019140243530273438, 0.023223876953125, 0.050323486328125, 0.0163421630859375, 0.0281219482421875, -0.032745361328125, -0.071044921875, 0.009368896484375, -0.054931640625, 0.01373291015625, 0.0298004150390625, 0.00537872314453125, -0.040679931640625, 0.046661376953125, -0.01073455810546875, -0.006988525390625, 0.0308074951171875, -0.0175018310546875, 0.01776123046875, -0.015380859375, -0.0304718017578125, -0.023834228515625, 0.017120361328125, -0.0015048980712890625, 0.0236358642578125, 0.0203704833984375, 0.01922607421875, -0.01486968994140625, 0.0244598388671875, -0.03912353515625, -0.0498046875, 0.037994384765625, -0.00731658935546875, 0.06689453125, -0.03277587890625, -0.042449951171875, 0.01849365234375, 0.11749267578125, -0.056304931640625, -0.035247802734375, 0.01177978515625, 0.043304443359375, -0.0361328125, -0.06927490234375, 0.0241241455078125, -0.0240936279296875, -0.0836181640625, 0.034423828125, 0.004619598388671875, -0.0270843505859375, -0.01482391357421875, 0.0164794921875, -0.06646728515625, -0.03070068359375, 0.0254364013671875, 0.03448486328125, 0.002330780029296875, 0.05706787109375, -0.0208587646484375, 0.07513427734375, -0.0184478759765625, -0.01384735107421875, -0.1070556640625, -0.0217132568359375, -0.02264404296875, 0.091064453125, -0.0207672119140625, 0.032806396484375, -0.01172637939453125, 0.06256103515625, -0.0086212158203125, -0.0004825592041015625, 0.027740478515625, 0.026702880859375, 0.00023865699768066406, -0.00428009033203125, -0.002376556396484375, -0.025482177734375, -0.003749847412109375, 0.04150390625, -0.0295257568359375, 0.051055908203125, -0.00048041343688964844, -0.029266357421875, 0.07647705078125, -0.05511474609375, -0.019439697265625, -0.01084136962890625, 0.0343017578125, 0.0217132568359375, -0.00023651123046875, -0.004852294921875, -0.0153045654296875, -0.0203857421875, 0.06488037109375, 0.02764892578125, 0.008941650390625, -0.013824462890625, 0.0462646484375, 0.01494598388671875, -0.04766845703125, -0.0194091796875, 0.0006260871887207031, 0.054229736328125, -0.034210205078125, 0.0072479248046875, -0.0260009765625, -0.043182373046875, 0.061126708984375, -0.00475311279296875, 0.01087188720703125, -0.001697540283203125, 0.0333251953125, -0.0073089599609375, -0.03173828125, 0.0203857421875, -0.0003142356872558594, -0.0094451904296875, 0.01392364501953125, 0.005207061767578125, -0.0163421630859375, 0.0374755859375, 0.01983642578125, 0.01166534423828125, -0.01049041748046875, -0.0151824951171875, -0.019927978515625, -0.00965118408203125, 0.005390167236328125, 0.043853759765625, 0.0325927734375, -0.002292633056640625, -0.0111846923828125, 0.0031566619873046875, -0.005046844482421875, -0.0251922607421875, -0.00421905517578125, -0.031463623046875, 0.01561737060546875, 0.0009617805480957031, -0.023712158203125, -0.005481719970703125, -0.01898193359375, 0.085205078125, -0.00675201416015625, -0.04742431640625, -0.033599853515625, -0.01092529296875, 0.07965087890625, 0.01287078857421875, 0.0194091796875, 0.031158447265625, 0.0228271484375, 0.003337860107421875, -0.0133056640625, -0.023712158203125, 0.04693603515625, -0.0241546630859375, 0.040771484375, 0.0157318115234375, -0.0169830322265625, -0.0024929046630859375, 0.043792724609375, 0.017364501953125, 0.007694244384765625, -0.0014371871948242188, 0.003673553466796875, -0.0019588470458984375, 0.03887939453125, 0.0153656005859375, -0.0086517333984375, 0.0325927734375, 0.0098114013671875, 0.0419921875, -0.02862548828125, 0.0040283203125, 0.0115814208984375, 0.0543212890625, 0.01412200927734375, -0.01336669921875, 0.0026226043701171875, -0.0313720703125, -0.030059814453125, 0.006137847900390625, -0.0026340484619140625, -0.040252685546875, -0.01184844970703125, 0.00977325439453125, 0.0164031982421875, -0.00019788742065429688, -0.005863189697265625, -0.0301513671875, -0.0305633544921875, 0.00627899169921875, 0.0025844573974609375, -0.001567840576171875, -0.0035247802734375, -0.028411865234375, -0.0367431640625, -0.000024378299713134766, -0.00432586669921875, -0.03558349609375, -0.04864501953125, -0.002765655517578125, -0.01016998291015625, -0.0056610107421875, -0.035186767578125, 0.06378173828125, -0.0310211181640625, -0.0166473388671875, -0.061431884765625, 0.0198822021484375, 0.0174560546875, 0.035186767578125, 0.036163330078125, -0.002635955810546875, -0.029510498046875, -0.012908935546875, -0.01441192626953125, -0.06060791015625, 0.01568603515625, -0.032501220703125, -0.0084991455078125, 0.0007843971252441406, -0.024017333984375, -0.042510986328125, -0.045867919921875, 0.042694091796875, 0.047149658203125, 0.034637451171875, -0.032623291015625, 0.0653076171875, 0.013916015625, 0.0272979736328125, 0.0067138671875, 0.01097869873046875, -0.0002841949462890625, -0.004421234130859375, 0.03338623046875, -0.06134033203125, -0.0309906005859375, -0.054779052734375, -0.0202789306640625, 0.044830322265625, 0.0574951171875, -0.0083465576171875, 0.039459228515625, -0.003482818603515625, 0.01276397705078125, -0.01537322998046875, -0.01326751708984375, -0.032684326171875, -0.0258331298828125, 0.07086181640625, 0.022735595703125, 0.083984375, -0.059326171875, 0.00812530517578125, 0.00921630859375, -0.0362548828125, 0.0531005859375, -0.01367950439453125, -0.084716796875, 0.07763671875, 0.086181640625, 0.007503509521484375, 0.041046142578125, -0.005828857421875, -0.00005817413330078125, 0.00933837890625, 0.0018711090087890625, 0.0119781494140625, 0.0045013427734375, 0.047149658203125, -0.00960540771484375, 0.0029087066650390625, 0.01336669921875, -0.01983642578125, 0.024932861328125, 0.044097900390625, 0.0665283203125, -0.05206298828125, 0.0191802978515625, 0.0121917724609375, -0.01403045654296875, 0.057403564453125, -0.033966064453125, 0.01806640625, -0.0059051513671875, 0.06512451171875, 0.010101318359375, -0.015045166015625, 0.0279083251953125, -0.01415252685546875, -0.0006093978881835938, -0.0418701171875, -0.022186279296875, -0.0158843994140625, -0.05975341796875, -0.00942230224609375, 0.046844482421875, -0.052032470703125, -0.0148468017578125, 0.00742340087890625, 0.01763916015625, -0.0208740234375, -0.04510498046875, 0.021820068359375, -0.0279388427734375, -0.015533447265625, 0.0023250579833984375, 0.031341552734375, 0.0247039794921875, 0.00844573974609375, 0.016815185546875, -0.0130767822265625, -0.0235748291015625, 0.0242767333984375, -0.0008406639099121094, -0.028564453125, 0.04254150390625, 0.011383056640625, -0.03765869140625, 0.0262603759765625, -0.01129150390625, -0.0408935546875, 0.01274871826171875, 0.045684814453125, 0.046722412109375, -0.014495849609375, -0.0155487060546875, 0.0302276611328125, -0.0052642822265625, 0.012664794921875, -0.01141357421875, 0.02056884765625, -0.06817626953125, -0.05499267578125, 0.0224456787109375, -0.0531005859375, -0.028106689453125, -0.01107025146484375, -0.058837890625, 0.043243408203125, -0.01383209228515625, 0.023956298828125, 0.0246734619140625, 0.01096343994140625, -0.02618408203125, -0.00817108154296875, -0.014312744140625, 0.0240020751953125, -0.005001068115234375, 0.0158538818359375, -0.037628173828125, -0.00432586669921875, 0.022369384765625, 0.05487060546875, 0.06427001953125, 0.0105133056640625, 0.007686614990234375, -0.0033168792724609375, 0.05682373046875, 0.04248046875, -0.01355743408203125, 0.0004127025604248047, -0.00980377197265625, -0.0233306884765625, -0.004894256591796875, 0.02020263671875, 0.04254150390625, -0.0474853515625, -0.056793212890625, -0.0025043487548828125, -0.007053375244140625, 0.00196075439453125, 0.0343017578125, 0.0146942138671875, -0.034576416015625, 0.0177154541015625, 0.02581787109375, -0.01450347900390625, -0.01239013671875, 0.03955078125, 0.003108978271484375, 0.00324249267578125, -0.0246734619140625, -0.0158538818359375, 0.0289459228515625, 0.01519012451171875, -0.0129547119140625, -0.003444671630859375, -0.00453948974609375, 0.03155517578125, -0.00018525123596191406, -0.01338958740234375, 0.03424072265625, 0.0065765380859375, 0.03375244140625, -0.00818634033203125, 0.023651123046875, -0.037384033203125, -0.01000213623046875, -0.02264404296875, 0.0268707275390625, -0.022003173828125, 0.02581787109375, 0.02142333984375, 0.01035308837890625, -0.0307769775390625, -0.052764892578125, -0.00046563148498535156, -0.038848876953125, -0.022552490234375, -0.026947021484375, 0.0106658935546875, 0.032562255859375, -0.0020999908447265625, 0.0006036758422851562, 0.03814697265625, -0.046295166015625, 0.03753662109375, -0.06402587890625, 0.0260009765625, -0.01551055908203125, 0.07464599609375, 0.032867431640625, 0.05279541015625, -0.030059814453125, -0.0350341796875, -0.027069091796875, 0.049468994140625, 0.040679931640625, 0.00252532958984375, -0.0164947509765625, -0.0098724365234375, 0.01451873779296875, 0.0205841064453125, 0.05511474609375, -0.0020904541015625, 0.045623779296875, -0.016082763671875, -0.06219482421875, 0.01064300537109375, -0.0257415771484375, -0.03814697265625, 0.0168609619140625, -0.0175323486328125, 0.0265655517578125, 0.01690673828125, -0.021881103515625, -0.021942138671875, 0.01357269287109375, 0.044525146484375, -0.05340576171875, 0.0153045654296875, 0.007389068603515625, -0.038543701171875, -0.006137847900390625, -0.0009975433349609375, -0.001110076904296875, -0.0218658447265625, -0.05914306640625, -0.004222869873046875, -0.005970001220703125, -0.0163726806640625, 0.003826141357421875, 0.03289794921875, -0.0267333984375, 0.0281219482421875, 0.0118560791015625, -0.0234832763671875, 0.0271759033203125, -0.000049114227294921875, 0.00118255615234375, 0.052215576171875, 0.0291748046875, 0.01519012451171875, -0.055511474609375, -0.045196533203125, -0.02880859375, 0.07049560546875, 0.0039215087890625, 0.0180816650390625, -0.0169525146484375, 0.033843994140625, 0.01354217529296875, 0.0293121337890625, 0.0025310516357421875, -0.0061187744140625, 0.020965576171875, 0.00812530517578125, 0.01898193359375, -0.020751953125, -0.0753173828125, 0.0048065185546875, 0.0285186767578125, 0.01300811767578125, 0.006809234619140625, -0.0081329345703125, 0.02227783203125, -0.0158233642578125, 0.0282135009765625, -0.03240966796875, -0.0177154541015625, -0.056976318359375, -0.0163421630859375, 0.0199127197265625, -0.01166534423828125, 0.00406646728515625, 0.0020751953125, 0.0243988037109375, -0.020660400390625, 0.06500244140625, -0.031494140625, 0.09454345703125, 0.035736083984375, -0.004520416259765625, -0.0498046875, 0.0156097412109375, -0.006435394287109375, 0.0061798095703125, 0.0091705322265625, 0.056610107421875, -0.0039005279541015625, -0.0297088623046875, 0.001102447509765625, 0.0289306640625, 0.03741455078125, 0.01641845703125, 0.0220184326171875, 0.0182647705078125, -0.034759521484375, -0.037109375, -0.037750244140625, -0.032440185546875, -0.06842041015625, -0.00402069091796875, 0.030609130859375, -0.03271484375, -0.0247955322265625, -0.06927490234375, 0.00981903076171875, 0.036651611328125, -0.01099395751953125, -0.02667236328125, -0.0118255615234375, -0.0345458984375, 0.06903076171875, -0.004894256591796875, -0.028717041015625, 0.0308990478515625, 0.052947998046875, -0.040313720703125, -0.0111541748046875, -0.037841796875, -0.01097869873046875, -0.055206298828125, 0.003475189208984375, 0.035614013671875, -0.0084991455078125, 0.027862548828125, -0.0038890838623046875, 0.0208892822265625, 0.053802490234375, -0.03790283203125, -0.006031036376953125, 0.01212310791015625, -0.0014810562133789062, -0.0308837890625, -0.10125732421875, 0.0157318115234375, -0.082275390625, -0.0081939697265625, -0.0099945068359375, -0.032806396484375, -0.019012451171875, -0.05126953125, -0.05426025390625, 0.058929443359375, -0.0013704299926757812, -0.028228759765625, -0.0185089111328125, 0.0262603759765625, -0.005859375, -0.0142974853515625, 0.01145172119140625, -0.046295166015625, 0.004486083984375, 0.0032787322998046875, 0.015838623046875, 0.00849151611328125, 0.035064697265625, -0.008514404296875, -0.058563232421875, -0.00646209716796875, -0.01580810546875, 0.00926971435546875, -0.0127410888671875, -0.0116424560546875, 0.011749267578125, 0.01406097412109375, -0.035400390625, 0.0005097389221191406, 0.01983642578125, 0.021697998046875, -0.0110626220703125, -0.006656646728515625, -0.0310516357421875, -0.00942230224609375, 0.0748291015625, 0.0249786376953125, 0.01212310791015625, -0.007720947265625, 0.022674560546875, -0.0016679763793945312, -0.045745849609375, 0.00839996337890625, 0.0100250244140625, -0.0252685546875, -0.0119171142578125, -0.00923919677734375, -0.0118865966796875, -0.018096923828125, -0.026641845703125, -0.04193115234375, -0.0158233642578125, -0.035552978515625, 0.0060577392578125, -0.05322265625, -0.0278167724609375, 0.07928466796875, -0.037750244140625, 0.0003285408020019531, -0.009002685546875, 0.038970947265625, 0.0240936279296875, -0.0184478759765625, -0.0340576171875, 0.0046234130859375, -0.0146636962890625, 0.01136016845703125, -0.01290130615234375, -0.010162353515625, -0.020904541015625, 0.024932861328125, -0.01445770263671875, 0.00806427001953125, -0.0164642333984375, -0.0210723876953125, 0.005573272705078125, 0.041046142578125, -0.0131072998046875, 0.10333251953125, -0.0271453857421875, 0.0204010009765625, 0.01548004150390625, -0.008026123046875, -0.033477783203125, 0.015960693359375, 0.0045013427734375, -0.0186767578125, 0.01442718505859375, -0.0103302001953125, 0.0261077880859375, -0.0244903564453125, 0.0277557373046875, 0.0011644363403320312, 0.00504302978515625, 0.0272216796875 ]
60146550620210fdc35f9ee2d3a2cb78a83fb388
Wordpress Stackexchange Q: Need a function for changing saved post_date or post_date_gmt to relative time in wordpress I am working on a plugin and want to change the default post date to something like 'posted one min ago' OR 'posted 1 hour ago', OR 'posted on month ago'. A: Try this code inside your loop. <?php echo 'posted' . human_time_diff( get_the_time('U'), current_time( 'timestamp' ) ) . ' ago'; ?>
Q: Need a function for changing saved post_date or post_date_gmt to relative time in wordpress I am working on a plugin and want to change the default post date to something like 'posted one min ago' OR 'posted 1 hour ago', OR 'posted on month ago'. A: Try this code inside your loop. <?php echo 'posted' . human_time_diff( get_the_time('U'), current_time( 'timestamp' ) ) . ' ago'; ?> A: Straight from my framework as human_time_diff() involves caching. /** * Time since an entry was posted * * Adapted from binary bonsai * @link http://binarybonsai.com/code/timesince.txt * @license unknown - original source unavailable * * @todo check human_time_diff(); as a replacement * @link http://codex.wordpress.org/Function_Reference/human_time_diff * Note: Rarst said there's caching involved with this fn. * * @param (integer) $older_date * @param (integer) $newer_date */ function get_time_since( $older_date, $newer_date = false ) { // array of time period chunks $chunks = array( array( 60 * 60 * 24 * 365 , 'year' ) ,array( 60 * 60 * 24 * 30 , 'month' ) ,array( 60 * 60 * 24 * 7, 'week' ) ,array( 60 * 60 * 24 , 'day' ) ,array( 60 * 60 , 'hour' ) ,array( 60 , 'min' ) ); // $newer_date will equal false if we want to know the time elapsed between a date and the current time // $newer_date will have a value if we want to work out time elapsed between two known dates if ( $newer_date == false ) { $newer_date = time() + ( 60 * 60 * get_option( 'gmt_offset' ) ); } else { $newer_date = $newer_date; } // difference in seconds $since = $newer_date - $older_date; // we only want to output two chunks of time here, eg: // x years, xx months // x days, xx hours // so there's only two bits of calculation below: // step one: the first chunk for ( $i = 0, $j = count( $chunks ); $i < $j; $i++ ) { $seconds = $chunks[$i][0]; $name = $chunks[$i][1]; // finding the biggest chunk (if the chunk fits, break) if ( ( $count = floor( $since / $seconds ) ) != 0 ) { break; } } // set output var if ( $count == true ) { $output = "1 {$name2}"; } else { $output = "{$count} {$name}s"; } // step two: the second chunk if ( $i + 1 < $j ) { $seconds2 = $chunks[$i + 1][0]; $name2 = $chunks[$i + 1][1]; if ( ( $count2 = floor( ( $since - ( $seconds * $count ) ) / $seconds2 ) ) != 0 ) { // add to output var if ( $count2 == true ) { $output .= ", 1 {$name2}"; } else { $output .= ", {$count} {$name2}s"; } } } return $output; }
wordpress
{ "language": "en", "length": 465, "provenance": "stackexchange_00019.jsonl.gz:414932", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34841" }
[ 0.055023193359375, -0.0015726089477539062, 0.015167236328125, 0.0095977783203125, 0.0156402587890625, -0.034149169921875, 0.056640625, -0.0268707275390625, 0.00913238525390625, -0.000823974609375, -0.024322509765625, -0.0167999267578125, -0.01111602783203125, -0.03472900390625, -0.007633209228515625, -0.032440185546875, 0.045257568359375, -0.019805908203125, 0.00888824462890625, -0.0209503173828125, -0.00360107421875, 0.01092529296875, 0.035980224609375, 0.090576171875, 0.04302978515625, 0.0158538818359375, 0.06390380859375, -0.063232421875, 0.056549072265625, -0.00968170166015625, 0.04150390625, -0.044189453125, 0.0200958251953125, 0.0110626220703125, -0.0034885406494140625, 0.014923095703125, 0.00140380859375, 0.01041412353515625, -0.0004341602325439453, 0.0262603759765625, 0.0614013671875, -0.035003662109375, -0.0498046875, 0.0186920166015625, -0.045196533203125, -0.038177490234375, 0.05120849609375, -0.0018854141235351562, 0.0374755859375, 0.016143798828125, 0.00075531005859375, -0.0179901123046875, 0.0043487548828125, -0.007167816162109375, -0.0361328125, -0.0308837890625, -0.0169677734375, 0.01355743408203125, 0.0430908203125, -0.0306396484375, -0.033203125, -0.025299072265625, 0.031982421875, 0.01220703125, 0.0140228271484375, 0.01806640625, 0.018096923828125, 0.0222625732421875, -0.0634765625, 0.00885009765625, 0.040374755859375, -0.04571533203125, -0.00307464599609375, 0.0096282958984375, -0.0208282470703125, -0.00818634033203125, 0.01715087890625, 0.01043701171875, 0.008880615234375, 0.01398468017578125, 0.0205841064453125, 0.034393310546875, 0.0213165283203125, -0.02728271484375, -0.00616455078125, -0.031036376953125, -0.0299835205078125, -0.0137176513671875, -0.07257080078125, -0.03314208984375, -0.0343017578125, -0.021331787109375, -0.0848388671875, -0.01146697998046875, -0.0035381317138671875, 0.0006427764892578125, 0.01074981689453125, 0.041900634765625, -0.035858154296875, -0.04412841796875, -0.0175323486328125, 0.01366424560546875, -0.0882568359375, 0.01195526123046875, -0.0128936767578125, 0.007843017578125, 0.031951904296875, 0.030853271484375, 0.021453857421875, 0.0219573974609375, -0.0223388671875, 0.0289306640625, -0.0162200927734375, -0.0025119781494140625, -0.0223541259765625, -0.0026950836181640625, -0.0281982421875, 0.01148223876953125, -0.006420135498046875, -0.00901031494140625, 0.0116729736328125, 0.02752685546875, 0.016693115234375, -0.066162109375, 0.0047454833984375, -0.0301513671875, -0.050018310546875, -0.0178375244140625, 0.031890869140625, 0.02294921875, -0.0306854248046875, -0.01104736328125, 0.0465087890625, 0.03680419921875, 0.022796630859375, -0.01641845703125, 0.0247802734375, -0.045440673828125, -0.03765869140625, 0.042999267578125, -0.044281005859375, -0.05096435546875, 0.0008711814880371094, -0.04193115234375, -0.0092315673828125, 0.024444580078125, 0.022430419921875, 0.01204681396484375, -0.027587890625, -0.050140380859375, 0.01251220703125, -0.025146484375, 0.0281982421875, -0.0267181396484375, 0.031585693359375, -0.057403564453125, 0.018951416015625, -0.03448486328125, 0.0222320556640625, -0.01259613037109375, 0.005657196044921875, -0.01410675048828125, -0.02227783203125, -0.042633056640625, -0.05950927734375, 0.01300811767578125, -0.0166168212890625, -0.0018911361694335938, 0.032318115234375, -0.01038360595703125, 0.0266876220703125, -0.0205535888671875, 0.0207366943359375, 0.01934814453125, 0.005035400390625, 0.037628173828125, -0.018341064453125, -0.0284576416015625, 0.0107574462890625, 0.0259246826171875, 0.0035648345947265625, -0.0251007080078125, -0.0207977294921875, 0.033355712890625, -0.0045623779296875, -0.0067596435546875, 0.0083160400390625, 0.0031528472900390625, 0.0228271484375, 0.0158538818359375, -0.006977081298828125, 0.01275634765625, -0.032501220703125, 0.00039124488830566406, 0.0029964447021484375, 0.005489349365234375, -0.023162841796875, 0.00252532958984375, -0.0168914794921875, -0.0057373046875, -0.0281829833984375, 0.0015010833740234375, -0.037109375, 0.01355743408203125, -0.08819580078125, -0.01763916015625, -0.041168212890625, 0.0301513671875, -0.007114410400390625, 0.0232696533203125, -0.00887298583984375, -0.006328582763671875, 0.0202484130859375, -0.08612060546875, -0.028717041015625, 0.0263519287109375, -0.01299285888671875, 0.042144775390625, 0.00614166259765625, 0.00847625732421875, -0.0264739990234375, -0.0247802734375, -0.0194244384765625, -0.01200103759765625, 0.021759033203125, -0.004467010498046875, -0.00506591796875, -0.01180267333984375, 0.01399993896484375, 0.03131103515625, -0.048675537109375, -0.005462646484375, -0.02764892578125, -0.046051025390625, -0.060760498046875, -0.019683837890625, -0.030731201171875, -0.037567138671875, 0.01416015625, 0.06573486328125, 0.01352691650390625, 0.0418701171875, 0.01442718505859375, 0.072021484375, 0.0423583984375, 0.0016832351684570312, 0.031982421875, 0.02105712890625, 0.0251617431640625, 0.038543701171875, -0.0155792236328125, -0.01312255859375, 0.0160064697265625, -0.0751953125, 0.023162841796875, 0.035980224609375, -0.03302001953125, -0.0249176025390625, -0.01071929931640625, 0.0080108642578125, 0.0067901611328125, -0.04913330078125, -0.006290435791015625, -0.0200958251953125, 0.0723876953125, -0.05072021484375, 0.04388427734375, 0.01168060302734375, -0.0012722015380859375, -0.0204620361328125, 0.0164794921875, -0.0286712646484375, -0.0015020370483398438, -0.0009093284606933594, -0.032318115234375, 0.01299285888671875, -0.038482666015625, 0.0206756591796875, -0.0011005401611328125, -0.00445556640625, -0.01439666748046875, 0.01067352294921875, -0.0213165283203125, -0.004302978515625, 0.006504058837890625, -0.02850341796875, 0.00901031494140625, 0.0260467529296875, 0.020843505859375, -0.01377105712890625, 0.0288543701171875, -0.0261077880859375, -0.0587158203125, 0.06768798828125, 0.001190185546875, -0.061614990234375, -0.05596923828125, -0.0252685546875, 0.0214385986328125, -0.0283203125, -0.01678466796875, 0.053955078125, 0.027191162109375, -0.01030731201171875, 0.01461029052734375, -0.0004172325134277344, -0.0019121170043945312, 0.0305938720703125, -0.002399444580078125, 0.02374267578125, -0.070556640625, 0.0021610260009765625, -0.00913238525390625, 0.0201263427734375, -0.053802490234375, -0.07183837890625, -0.0467529296875, -0.017486572265625, -0.11810302734375, -0.04327392578125, -0.05322265625, -0.09912109375, 0.006801605224609375, 0.0239715576171875, -0.0301666259765625, 0.0191650390625, 0.046356201171875, 0.027679443359375, 0.005615234375, 0.00685882568359375, -0.025909423828125, -0.0240478515625, -0.05914306640625, -0.042999267578125, 0.001598358154296875, 0.007598876953125, -0.0004734992980957031, 0.10675048828125, 0.01715087890625, -0.07159423828125, -0.058563232421875, -0.03582763671875, -0.04254150390625, -0.0210418701171875, -0.0007419586181640625, -0.0229949951171875, -0.007720947265625, 0.006359100341796875, -0.0008444786071777344, 0.0182342529296875, -0.0292205810546875, 0.00977325439453125, -0.006801605224609375, 0.001590728759765625, 0.01384735107421875, 0.0141754150390625, 0.0167388916015625, 0.0292816162109375, 0.043914794921875, -0.01316070556640625, -0.0108642578125, -0.01568603515625, -0.054046630859375, 0.00959014892578125, 0.0168304443359375, -0.0008482933044433594, -0.0204620361328125, 0.019561767578125, -0.031219482421875, -0.0017652511596679688, 0.05438232421875, -0.008758544921875, -0.0206756591796875, -0.031982421875, -0.059173583984375, -0.0152130126953125, -0.01352691650390625, -0.0165252685546875, -0.00028395652770996094, -0.01477813720703125, 0.0205841064453125, 0.01184844970703125, 0.01953125, 0.0079803466796875, -0.044708251953125, 0.01085662841796875, -0.06134033203125, 0.0105133056640625, -0.0265960693359375, 0.006572723388671875, -0.0113067626953125, 0.068115234375, -0.059967041015625, -0.01934814453125, 0.020416259765625, 0.0220489501953125, -0.0298004150390625, -0.00833892822265625, -0.055877685546875, -0.0278167724609375, -0.07049560546875, 0.0296630859375, -0.007549285888671875, 0.01490020751953125, -0.027679443359375, 0.07159423828125, -0.043853759765625, -0.0301361083984375, 0.03802490234375, -0.007049560546875, 0.00583648681640625, 0.0204315185546875, 0.005619049072265625, -0.008819580078125, -0.0299224853515625, 0.00437164306640625, -0.0738525390625, -0.0391845703125, -0.00864410400390625, 0.09912109375, 0.03216552734375, -0.0360107421875, -0.01125335693359375, 0.059295654296875, 0.03375244140625, 0.03814697265625, -0.0288848876953125, -0.05322265625, 0.03826904296875, 0.027679443359375, 0.010284423828125, 0.022216796875, -0.019561767578125, -0.02105712890625, -0.0260772705078125, 0.0281524658203125, -0.02056884765625, 0.02459716796875, -0.024688720703125, -0.006816864013671875, -0.04913330078125, -0.0274658203125, 0.010284423828125, 0.04107666015625, -0.021484375, 0.034942626953125, -0.0418701171875, -0.046356201171875, 0.08514404296875, 0.022491455078125, 0.02032470703125, -0.0169677734375, 0.058868408203125, 0.0006375312805175781, -0.042327880859375, -0.03839111328125, -0.00609588623046875, 0.005413055419921875, 0.0025386810302734375, 0.027923583984375, -0.032135009765625, 0.0003752708435058594, 0.0555419921875, -0.031829833984375, -0.00006377696990966797, -0.061859130859375, 0.06427001953125, -0.006237030029296875, -0.0281829833984375, 0.035614013671875, -0.0279388427734375, 0.04193115234375, 0.040924072265625, -0.00818634033203125, 0.00495147705078125, -0.026763916015625, 0.034515380859375, -0.01432037353515625, 0.0196075439453125, -0.04119873046875, -0.0301055908203125, 0.033416748046875, -0.0175628662109375, -0.06085205078125, 0.0137176513671875, -0.0217742919921875, -0.025299072265625, -0.02667236328125, -0.0169525146484375, -0.0285491943359375, -0.01479339599609375, -0.020751953125, 0.00457000732421875, 0.0153961181640625, -0.025848388671875, -0.0143585205078125, -0.00044608116149902344, 0.02630615234375, 0.018341064453125, -0.0265655517578125, 0.01263427734375, -0.004428863525390625, 0.0025157928466796875, -0.00550079345703125, -0.0333251953125, 0.028076171875, 0.031280517578125, -0.006420135498046875, 0.00830841064453125, -0.0474853515625, 0.0261993408203125, -0.041839599609375, 0.01534271240234375, 0.0201263427734375, -0.0156707763671875, 0.052703857421875, 0.0335693359375, 0.049774169921875, 0.01187896728515625, -0.050537109375, 0.044342041015625, 0.023651123046875, 0.043304443359375, 0.01226043701171875, -0.03375244140625, -0.004314422607421875, 0.0017805099487304688, -0.021484375, -0.0032291412353515625, -0.02337646484375, -0.0133209228515625, -0.0037670135498046875, -0.0144500732421875, 0.026123046875, 0.018707275390625, 0.00598907470703125, 0.0033626556396484375, 0.0206298828125, 0.0511474609375, -0.007568359375, 0.0154876708984375, 0.00473785400390625, -0.00655364990234375, 0.003612518310546875, -0.006053924560546875, 0.0149688720703125, -0.018463134765625, 0.044403076171875, -0.04132080078125, 0.02825927734375, -0.02685546875, -0.0276947021484375, -0.0210418701171875, -0.0185546875, -0.033660888671875, 0.04827880859375, -0.005237579345703125, -0.01427459716796875, -0.0176849365234375, 0.030242919921875, -0.0242767333984375, 0.02264404296875, -0.01296234130859375, 0.0062255859375, -0.0293121337890625, 0.0201263427734375, 0.0230255126953125, 0.01617431640625, -0.039825439453125, -0.0133209228515625, -0.08367919921875, -0.0309295654296875, -0.08154296875, -0.005489349365234375, -0.042236328125, 0.02728271484375, 0.005649566650390625, 0.040191650390625, -0.010284423828125, -0.0196075439453125, -0.0032062530517578125, -0.030487060546875, 0.006256103515625, 0.04840087890625, 0.01407623291015625, 0.0631103515625, 0.0165557861328125, 0.0173797607421875, 0.0302581787109375, 0.0051422119140625, -0.052276611328125, -0.00787353515625, 0.0201568603515625, -0.0260009765625, -0.04412841796875, -0.00583648681640625, -0.05126953125, -0.0154571533203125, 0.0095367431640625, -0.018951416015625, 0.0095977783203125, -0.001285552978515625, 0.00728607177734375, -0.0280303955078125, 0.0079803466796875, -0.00516510009765625, 0.0245513916015625, -0.01568603515625, -0.01126861572265625, 0.0111846923828125, -0.019134521484375, 0.021026611328125, 0.002655029296875, -0.0185394287109375, 0.0011072158813476562, 0.005359649658203125, -0.0225372314453125, 0.00812530517578125, 0.05645751953125, -0.0069427490234375, 0.038665771484375, 0.0163421630859375, 0.01412200927734375, 0.037322998046875, -0.0175933837890625, -0.02587890625, 0.034027099609375, 0.05670166015625, -0.002353668212890625, -0.036956787109375, 0.0260009765625, -0.0175323486328125, 0.03826904296875, 0.044281005859375, 0.06463623046875, -0.0833740234375, 0.032684326171875, 0.0246429443359375, 0.00006192922592163086, 0.064697265625, 0.011505126953125, -0.021148681640625, -0.0020046234130859375, 0.0081634521484375, -0.0260467529296875, -0.0283355712890625, 0.0008525848388671875, 0.02813720703125, -0.0157012939453125, -0.021759033203125, 0.03338623046875, 0.0228729248046875, -0.020904541015625, 0.019622802734375, 0.0169677734375, -0.004840850830078125, -0.047393798828125, -0.0037841796875, 0.00487518310546875, -0.0159454345703125, -0.085205078125, 0.0223236083984375, 0.005889892578125, 0.0220489501953125, 0.01206207275390625, -0.0245208740234375, 0.06536865234375, 0.027618408203125, -0.003452301025390625, -0.0010395050048828125, -0.004795074462890625, 0.0196380615234375, -0.0050201416015625, -0.0204925537109375, 0.00555419921875, 0.03277587890625, -0.031280517578125, 0.0186309814453125, -0.01097869873046875, -0.0222625732421875, 0.006824493408203125, -0.018798828125, 0.038482666015625, -0.0149688720703125, -0.03240966796875, 0.004024505615234375, -0.0084381103515625, 0.0130157470703125, -0.023956298828125, 0.00502777099609375, -0.0269012451171875, 0.0289154052734375, -0.0220794677734375, 0.0108184814453125, -0.004337310791015625, -0.0235137939453125, -0.056915283203125, 0.1015625, -0.01200103759765625, 0.0250244140625, 0.002269744873046875, 0.037841796875, -0.0165863037109375, 0.0165557861328125, -0.01995849609375, 0.052978515625, -0.0218353271484375, 0.042877197265625, -0.039459228515625, 0.001708984375, 0.012176513671875, 0.00281524658203125, 0.045196533203125, 0.0157928466796875, -0.0241546630859375, 0.00606536865234375, 0.060272216796875, 0.024444580078125, 0.00920867919921875, 0.024627685546875, -0.01128387451171875, -0.0025806427001953125, -0.01027679443359375, -0.0167999267578125, 0.01800537109375, -0.0254669189453125, -0.0181884765625, 0.0275115966796875, 0.0120697021484375, 0.0185394287109375, -0.01495361328125, -0.005832672119140625, -0.0193328857421875, -0.0078125, 0.00499725341796875, -0.0092620849609375, 0.0266265869140625, 0.039154052734375, 0.051177978515625, -0.029052734375, -0.042572021484375, -0.00963592529296875, 0.044921875, -0.01085662841796875, -0.01045989990234375, 0.034820556640625, 0.00643157958984375, -0.01393890380859375, 0.004482269287109375, -0.01378631591796875, -0.00315093994140625, 0.01447296142578125, 0.05755615234375, 0.0333251953125, 0.005657196044921875, -0.04925537109375, 0.001068115234375, 0.05987548828125, 0.068603515625, -0.050994873046875, 0.03369140625, 0.0211944580078125, 0.00589752197265625, -0.020111083984375, -0.07281494140625, -0.011962890625, -0.07476806640625, -0.0623779296875, 0.01284027099609375, -0.0250244140625, 0.040740966796875, 0.0030651092529296875, 0.033111572265625, 0.0270538330078125, -0.0231475830078125, -0.0245819091796875, -0.055694580078125, 0.0172882080078125, 0.01001739501953125, 0.0262603759765625, 0.027801513671875, 0.01275634765625, 0.04248046875, 0.000029265880584716797, 0.039825439453125, 0.0122528076171875, 0.01375579833984375, -0.06890869140625, 0.050872802734375, -0.0062713623046875, -0.03240966796875, -0.0175323486328125, -0.008697509765625, 0.049224853515625, 0.08746337890625, 0.0262603759765625, -0.0955810546875, -0.01470947265625, 0.0218658447265625, -0.05706787109375, -0.04351806640625, -0.00936126708984375, 0.0014657974243164062, 0.0019512176513671875, 0.002079010009765625, 0.0205535888671875, 0.0523681640625, -0.0081939697265625, -0.04052734375, 0.072509765625, -0.00716400146484375, 0.0264739990234375, 0.060211181640625, -0.01369476318359375, 0.037384033203125, -0.0171661376953125, 0.020294189453125, 0.0211334228515625, -0.024139404296875, -0.032501220703125, -0.0095672607421875, 0.00012087821960449219, -0.039398193359375, 0.0721435546875, -0.004974365234375, 0.00783538818359375, 0.041168212890625, -0.05865478515625, 0.01384735107421875, 0.018035888671875, 0.01522064208984375, -0.0005927085876464844, -0.04437255859375, -0.0183868408203125, -0.044586181640625, 0.0267486572265625, 0.0220947265625, 0.009368896484375, 0.006744384765625, 0.046630859375, -0.0010976791381835938, 0.0036182403564453125, -0.0380859375, -0.02203369140625, 0.04888916015625, -0.0341796875, -0.01351165771484375, 0.0036334991455078125, -0.0005450248718261719, 0.0216064453125, 0.034942626953125, -0.031097412109375, 0.00542449951171875, -0.021759033203125, 0.01332855224609375, -0.015045166015625, -0.0184783935546875, -0.0239715576171875, 0.0108184814453125, 0.0328369140625, -0.00501251220703125, 0.0025768280029296875, -0.036773681640625, 0.011749267578125, 0.033843994140625, 0.03094482421875, -0.0168609619140625, 0.00738525390625, -0.0261993408203125, 0.0338134765625, 0.04052734375, -0.0191802978515625, 0.038055419921875, -0.0126800537109375, -0.0299835205078125, 0.0193634033203125, 0.0037670135498046875, -0.01007080078125, -0.01012420654296875, 0.0106964111328125, -0.0022792816162109375, -0.0006585121154785156, 0.01380157470703125, -0.03936767578125, -0.0029449462890625, 0.0093994140625, 0.004215240478515625, -0.018646240234375, -0.0016231536865234375, -0.0292816162109375, -0.06829833984375, 0.0200042724609375, 0.02691650390625, -0.05023193359375, -0.0308990478515625, -0.05926513671875, -0.01241302490234375, -0.00788116455078125, -0.0088348388671875, -0.0137481689453125, 0.013397216796875, -0.0028095245361328125, 0.01904296875, -0.02728271484375, -0.032501220703125, -0.00945281982421875, 0.0008630752563476562, -0.02001953125, -0.0252838134765625, -0.0623779296875, 0.018798828125, -0.054718017578125, 0.00679779052734375, 0.0222015380859375, 0.002826690673828125, -0.01045989990234375, 0.003520965576171875, -0.0023784637451171875, 0.0692138671875, -0.06256103515625, -0.00323486328125, 0.0269012451171875, 0.0036411285400390625, -0.045989990234375, -0.0540771484375, 0.0182037353515625, -0.061370849609375, -0.016754150390625, 0.0196990966796875, -0.0413818359375, -0.0111846923828125, -0.0226593017578125, -0.032135009765625, 0.040557861328125, 0.0012235641479492188, -0.023712158203125, -0.0140838623046875, -0.00820159912109375, -0.0151824951171875, 0.03314208984375, 0.01067352294921875, -0.026885986328125, -0.01444244384765625, 0.007129669189453125, 0.0038051605224609375, 0.035888671875, 0.013702392578125, -0.00896453857421875, -0.028778076171875, -0.0095367431640625, -0.0171661376953125, 0.0205841064453125, 0.0227813720703125, 0.00988006591796875, 0.013031005859375, 0.032867431640625, -0.038604736328125, -0.0209503173828125, -0.0220184326171875, -0.00702667236328125, -0.0131988525390625, -0.026763916015625, -0.06396484375, -0.007236480712890625, 0.0902099609375, 0.07568359375, 0.03485107421875, -0.0438232421875, 0.01355743408203125, -0.0152435302734375, -0.02484130859375, -0.006290435791015625, 0.019561767578125, -0.066162109375, -0.0179901123046875, 0.015716552734375, -0.017303466796875, 0.00782012939453125, 0.034271240234375, -0.00978851318359375, -0.0150299072265625, 0.021636962890625, -0.047821044921875, -0.0154266357421875, 0.04925537109375, -0.00988006591796875, -0.0036487579345703125, 0.0251617431640625, 0.0005340576171875, -0.0294647216796875, 0.0162353515625, 0.043426513671875, 0.012847900390625, 0.041259765625, -0.0234832763671875, -0.022186279296875, 0.045623779296875, 0.003208160400390625, 0.01273345947265625, -0.0245361328125, -0.0083160400390625, -0.03118896484375, -0.0007495880126953125, -0.043914794921875, 0.0097503662109375, -0.059356689453125, -0.0210723876953125, 0.0117340087890625, -0.0138702392578125, 0.0179595947265625, 0.005924224853515625, 0.004886627197265625, -0.03466796875, 0.00966644287109375, 0.00337982177734375, -0.03228759765625, 0.015625, -0.00882720947265625, 0.016754150390625, -0.0057220458984375, 0.01043701171875, -0.042236328125, -0.0178680419921875, 0.006740570068359375 ]
b6b6f2cff2896771862b06339a60341e46715f0f
Wordpress Stackexchange Q: Is there a faster way to git-svn clone a wordpress plugin from the subversion repository? When cloning a SVN repo with git-svn it searches laboriously through every revision for changes that are relevant (at least as I understand it). Is there anyway to make this process quicker? I found this link: https://stackoverflow.com/questions/747075/how-to-git-svn-clone-the-last-n-revisions-from-a-subversion-repository that suggests it is possible to limit the number of revisions, just need to figure out how far back to go and how to find that number A: Yep, you can pass the initial revision from which to start scanning: git svn clone -s -r387893 http://plugins.svn.wordpress.org/your-plugin/ You can hunt down that revision by using this command: svn log http://plugins.svn.wordpress.org/your-plugin/ The last line shows the earliest revision. Source: http://teleogistic.net/2011/05/revisiting-git-github-and-the-wordpress-org-plugin-repository/
Q: Is there a faster way to git-svn clone a wordpress plugin from the subversion repository? When cloning a SVN repo with git-svn it searches laboriously through every revision for changes that are relevant (at least as I understand it). Is there anyway to make this process quicker? I found this link: https://stackoverflow.com/questions/747075/how-to-git-svn-clone-the-last-n-revisions-from-a-subversion-repository that suggests it is possible to limit the number of revisions, just need to figure out how far back to go and how to find that number A: Yep, you can pass the initial revision from which to start scanning: git svn clone -s -r387893 http://plugins.svn.wordpress.org/your-plugin/ You can hunt down that revision by using this command: svn log http://plugins.svn.wordpress.org/your-plugin/ The last line shows the earliest revision. Source: http://teleogistic.net/2011/05/revisiting-git-github-and-the-wordpress-org-plugin-repository/
wordpress
{ "language": "en", "length": 121, "provenance": "stackexchange_00019.jsonl.gz:414937", "question_score": "12", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34864" }
[ 0.0287933349609375, 0.0043487548828125, 0.01739501953125, -0.0178070068359375, 0.0139312744140625, -0.00039505958557128906, 0.011077880859375, -0.04620361328125, -0.01904296875, 0.03216552734375, -0.03948974609375, 0.0265655517578125, 0.0262298583984375, -0.01528167724609375, 0.0205841064453125, -0.02862548828125, 0.044525146484375, -0.0161590576171875, 0.023284912109375, -0.006381988525390625, -0.0144805908203125, 0.030029296875, 0.04693603515625, 0.09027099609375, 0.0341796875, -0.036865234375, 0.08062744140625, -0.0068511962890625, 0.0297698974609375, -0.01074981689453125, 0.022491455078125, -0.0283355712890625, 0.0211944580078125, -0.03228759765625, 0.03472900390625, -0.0328369140625, 0.0149688720703125, -0.022613525390625, -0.0007004737854003906, -0.00919342041015625, 0.04888916015625, -0.0207977294921875, -0.001758575439453125, -0.004413604736328125, -0.01082611083984375, -0.031494140625, 0.05279541015625, -0.026824951171875, 0.0146484375, 0.012847900390625, -0.01058197021484375, 0.01529693603515625, 0.0107421875, 0.01094818115234375, -0.002246856689453125, -0.016265869140625, -0.04241943359375, 0.05267333984375, 0.00734710693359375, -0.00896453857421875, -0.00901031494140625, 0.0155029296875, 0.01114654541015625, 0.02716064453125, -0.00861358642578125, 0.01544952392578125, 0.044677734375, 0.0173492431640625, -0.0234222412109375, -0.032501220703125, -0.0031490325927734375, -0.0001285076141357422, 0.019287109375, -0.015869140625, 0.0016469955444335938, -0.015655517578125, 0.0105133056640625, 0.004119873046875, 0.0295257568359375, -0.004467010498046875, -0.030303955078125, -0.04376220703125, -0.0249786376953125, -0.040191650390625, -0.0025577545166015625, -0.02093505859375, -0.017059326171875, 0.01256561279296875, -0.048614501953125, -0.010498046875, -0.02557373046875, -0.03564453125, -0.04559326171875, 0.01145172119140625, -0.01407623291015625, -0.015777587890625, -0.00832366943359375, -0.025115966796875, 0.0041656494140625, 0.0171356201171875, 0.0019168853759765625, -0.029144287109375, 0.01265716552734375, -0.01084136962890625, -0.012786865234375, 0.036712646484375, 0.01383209228515625, 0.022979736328125, 0.01085662841796875, 0.019989013671875, -0.01390838623046875, -0.0106201171875, -0.0308380126953125, -0.053253173828125, -0.00926971435546875, 0.07659912109375, 0.01120758056640625, -0.013946533203125, 0.0120086669921875, -0.00925445556640625, -0.028411865234375, 0.00858306884765625, -0.0309295654296875, -0.007293701171875, 0.037322998046875, 0.009918212890625, 0.008270263671875, 0.007083892822265625, -0.01526641845703125, -0.0279541015625, -0.005702972412109375, 0.034423828125, 0.03363037109375, 0.037689208984375, -0.00800323486328125, 0.015594482421875, 0.00588226318359375, -0.007671356201171875, -0.0208587646484375, 0.0214996337890625, -0.047454833984375, 0.00786590576171875, 0.048583984375, -0.060882568359375, 0.0243988037109375, 0.0033664703369140625, -0.00927734375, 0.014923095703125, 0.01390838623046875, 0.0110626220703125, -0.01374053955078125, -0.0181121826171875, 0.029632568359375, -0.04803466796875, 0.06365966796875, -0.09197998046875, 0.0031642913818359375, -0.0550537109375, 0.0860595703125, -0.0225982666015625, 0.002742767333984375, 0.0014629364013671875, 0.00881195068359375, 0.00445556640625, -0.028839111328125, 0.02294921875, 0.0125885009765625, -0.004711151123046875, 0.032318115234375, 0.0015172958374023438, 0.012969970703125, -0.0225372314453125, 0.06781005859375, 0.030975341796875, -0.00811004638671875, 0.03076171875, 0.0200958251953125, -0.0208587646484375, 0.0233154296875, 0.007518768310546875, -0.017791748046875, -0.0139007568359375, 0.057403564453125, -0.0144500732421875, -0.040008544921875, 0.0263214111328125, -0.0211944580078125, 0.028411865234375, 0.06072998046875, 0.0029277801513671875, 0.0037364959716796875, -0.0156707763671875, -0.05792236328125, 0.029815673828125, -0.0193328857421875, -0.02142333984375, 0.0292510986328125, 0.0037136077880859375, -0.0076904296875, -0.0157623291015625, -0.01320648193359375, -0.015411376953125, -0.00995635986328125, -0.018829345703125, -0.038177490234375, -0.037689208984375, -0.00731658935546875, 0.0183868408203125, -0.0009946823120117188, 0.01314544677734375, -0.01111602783203125, -0.0211944580078125, 0.01219940185546875, -0.029937744140625, -0.02191162109375, -0.0145721435546875, 0.004756927490234375, 0.00933837890625, -0.0053558349609375, -0.0016050338745117188, -0.0127105712890625, 0.01328277587890625, -0.02093505859375, 0.0257415771484375, 0.019195556640625, 0.040313720703125, -0.0227203369140625, 0.01690673828125, 0.0017032623291015625, 0.058837890625, -0.06427001953125, -0.0076904296875, 0.0121612548828125, 0.03131103515625, -0.01302337646484375, -0.004848480224609375, 0.003925323486328125, -0.036163330078125, 0.026641845703125, 0.037139892578125, 0.03466796875, 0.0164642333984375, -0.004245758056640625, -0.025787353515625, 0.027313232421875, -0.044219970703125, 0.018157958984375, -0.0305938720703125, 0.00047779083251953125, -0.021240234375, 0.026641845703125, -0.0200958251953125, 0.0511474609375, 0.01027679443359375, 0.032196044921875, 0.01085662841796875, -0.0017595291137695312, -0.0290985107421875, 0.005096435546875, -0.033721923828125, 0.017974853515625, -0.052032470703125, -0.0716552734375, 0.01068878173828125, 0.050628662109375, 0.0016317367553710938, 0.05279541015625, 0.04132080078125, -0.0020904541015625, -0.00809478759765625, 0.01407623291015625, 0.034759521484375, 0.0035400390625, -0.01345062255859375, 0.06597900390625, 0.03094482421875, -0.052398681640625, -0.0016565322875976562, 0.027191162109375, 0.00875091552734375, -0.029632568359375, -0.0167388916015625, 0.04217529296875, -0.01303863525390625, -0.0146942138671875, -0.0061492919921875, 0.06658935546875, -0.018585205078125, -0.01081085205078125, 0.0181732177734375, 0.035125732421875, 0.003173828125, -0.032928466796875, 0.0227813720703125, 0.01195526123046875, -0.020843505859375, 0.0859375, -0.017669677734375, 0.036407470703125, -0.01308441162109375, 0.07080078125, 0.05517578125, -0.0011873245239257812, 0.0033855438232421875, 0.000885009765625, -0.0546875, 0.0024051666259765625, 0.0142669677734375, -0.0277862548828125, 0.0006656646728515625, -0.10552978515625, -0.0015134811401367188, 0.019622802734375, 0.050689697265625, 0.010711669921875, -0.0391845703125, -0.002819061279296875, 0.01666259765625, -0.056549072265625, -0.056488037109375, -0.05206298828125, -0.06787109375, 0.07958984375, 0.0016717910766601562, 0.0004341602325439453, -0.04217529296875, 0.034454345703125, 0.045379638671875, 0.0250701904296875, -0.0272064208984375, -0.05902099609375, -0.0616455078125, -0.093505859375, -0.055419921875, 0.00730133056640625, 0.0083770751953125, 0.0235443115234375, 0.0301513671875, 0.022186279296875, -0.022430419921875, 0.05389404296875, 0.048431396484375, 0.00543212890625, 0.0096588134765625, 0.0280914306640625, -0.0208282470703125, -0.0230865478515625, 0.01233673095703125, 0.053558349609375, 0.035491943359375, -0.046722412109375, 0.0018682479858398438, 0.01763916015625, -0.0435791015625, 0.01468658447265625, -0.00995635986328125, -0.036102294921875, 0.0008130073547363281, 0.023040771484375, -0.044189453125, -0.007904052734375, 0.00731658935546875, 0.00420379638671875, 0.004039764404296875, -0.00005710124969482422, -0.0265655517578125, -0.0116729736328125, 0.0145416259765625, 0.0222930908203125, 0.0256805419921875, 0.050262451171875, 0.011505126953125, -0.02203369140625, -0.029541015625, -0.033111572265625, -0.060211181640625, 0.00017118453979492188, -0.05047607421875, 0.001537322998046875, -0.0259246826171875, -0.0281219482421875, -0.021484375, -0.02191162109375, -0.023895263671875, -0.0123748779296875, 0.0309600830078125, -0.0017957687377929688, 0.048736572265625, -0.050018310546875, -0.01222991943359375, -0.05029296875, 0.057403564453125, -0.0491943359375, -0.0267486572265625, -0.0179595947265625, 0.01666259765625, 0.0221099853515625, -0.044464111328125, -0.010772705078125, -0.0304412841796875, -0.09283447265625, 0.0273284912109375, -0.0096282958984375, -0.01898193359375, 0.0126953125, -0.043914794921875, -0.049041748046875, -0.057952880859375, 0.009368896484375, -0.00444793701171875, -0.00974273681640625, -0.0152587890625, 0.00750732421875, -0.045318603515625, 0.0123443603515625, -0.025665283203125, -0.041107177734375, -0.0146484375, -0.0413818359375, 0.0433349609375, 0.01461029052734375, 0.0238037109375, -0.01006317138671875, 0.0267791748046875, 0.007289886474609375, -0.03411865234375, 0.00978851318359375, -0.024322509765625, -0.044219970703125, 0.051055908203125, 0.007144927978515625, -0.01280975341796875, -0.01021575927734375, -0.04315185546875, -0.047760009765625, -0.022613525390625, -0.003208160400390625, 0.039703369140625, 0.02252197265625, -0.0113067626953125, -0.036773681640625, -0.03302001953125, -0.039093017578125, -0.043182373046875, -0.041534423828125, -0.008514404296875, 0.0007939338684082031, -0.0250701904296875, 0.038116455078125, 0.041900634765625, 0.009521484375, -0.00662994384765625, 0.05303955078125, 0.00970458984375, -0.03582763671875, -0.0389404296875, -0.02703857421875, 0.01122283935546875, -0.0031337738037109375, 0.040283203125, 0.0029201507568359375, -0.0015239715576171875, 0.045166015625, -0.031280517578125, -0.0212249755859375, 0.017578125, -0.031890869140625, 0.0266265869140625, -0.025360107421875, 0.0015583038330078125, 0.0140533447265625, 0.043121337890625, 0.023223876953125, 0.005130767822265625, -0.061126708984375, 0.01168060302734375, 0.056732177734375, -0.0174102783203125, 0.034454345703125, -0.0158538818359375, -0.05877685546875, 0.034332275390625, -0.0670166015625, 0.05517578125, 0.03167724609375, -0.0280609130859375, 0.07720947265625, 0.030975341796875, -0.0311126708984375, 0.00899505615234375, -0.01540374755859375, 0.0106658935546875, 0.004009246826171875, 0.01214599609375, -0.037353515625, 0.0124359130859375, 0.0055084228515625, 0.036651611328125, 0.01666259765625, -0.0082244873046875, -0.059051513671875, -0.0019273757934570312, -0.0023956298828125, -0.030853271484375, -0.042083740234375, 0.01406097412109375, 0.01410675048828125, -0.040008544921875, 0.0255279541015625, -0.0670166015625, -0.0467529296875, -0.048095703125, 0.0245819091796875, 0.00856781005859375, -0.01535797119140625, 0.0199432373046875, -0.0024623870849609375, 0.0277862548828125, -0.01580810546875, -0.006134033203125, 0.06549072265625, 0.05096435546875, -0.01708984375, 0.009246826171875, 0.006275177001953125, 0.01087188720703125, -0.061767578125, -0.005680084228515625, -0.034881591796875, 0.0019550323486328125, 0.003444671630859375, 0.032379150390625, -0.019073486328125, -0.047576904296875, 0.053741455078125, -0.01861572265625, -0.01500701904296875, -0.0288543701171875, 0.0230560302734375, 0.0289154052734375, 0.0153961181640625, -0.0038623809814453125, -0.0123138427734375, 0.0256805419921875, 0.00722503662109375, -0.028778076171875, -0.02569580078125, -0.0184173583984375, 0.0065460205078125, -0.037811279296875, -0.0250091552734375, -0.0113983154296875, -0.007602691650390625, -0.046173095703125, -0.0162506103515625, -0.0165252685546875, 0.01483154296875, -0.0150604248046875, -0.0026035308837890625, 0.01528167724609375, -0.00830078125, 0.013153076171875, -0.026763916015625, -0.0037059783935546875, -0.0899658203125, -0.006420135498046875, 0.03759765625, 0.0311126708984375, -0.02471923828125, -0.01358795166015625, -0.0265350341796875, -0.036163330078125, 0.006710052490234375, 0.002002716064453125, -0.04852294921875, -0.0023517608642578125, -0.0628662109375, -0.0065460205078125, -0.01508331298828125, 0.0404052734375, -0.0046539306640625, 0.023223876953125, -0.03167724609375, -0.038055419921875, 0.0100555419921875, 0.01059722900390625, -0.02105712890625, -0.0038890838623046875, -0.014007568359375, -0.01157379150390625, -0.01343536376953125, 0.004642486572265625, 0.0127410888671875, -0.0048675537109375, -0.0218353271484375, -0.016754150390625, -0.0213775634765625, -0.02423095703125, 0.0328369140625, -0.0144500732421875, 0.02056884765625, -0.0008416175842285156, 0.002025604248046875, -0.0146331787109375, -0.01348876953125, 0.005481719970703125, 0.0135040283203125, 0.0174407958984375, -0.0298004150390625, -0.025390625, 0.01226806640625, 0.023468017578125, -0.0038623809814453125, -0.00479888916015625, -0.029754638671875, 0.0005626678466796875, 0.002040863037109375, 0.01459503173828125, 0.042724609375, -0.009185791015625, 0.031005859375, 0.0295562744140625, 0.03326416015625, 0.0235443115234375, 0.0187530517578125, 0.005603790283203125, -0.0259552001953125, 0.02349853515625, -0.01015472412109375, -0.035858154296875, -0.0033855438232421875, -0.044830322265625, -0.01318359375, -0.00336456298828125, 0.009490966796875, 0.0023174285888671875, -0.005626678466796875, -0.01934814453125, -0.01371002197265625, 0.0104522705078125, 0.01323699951171875, -0.033935546875, -0.07794189453125, 0.03839111328125, -0.03912353515625, -0.005130767822265625, 0.002132415771484375, -0.0168914794921875, -0.0295867919921875, -0.020233154296875, 0.0032444000244140625, 0.037384033203125, 0.03167724609375, 0.03900146484375, -0.035308837890625, 0.04974365234375, -0.024017333984375, 0.0020389556884765625, 0.008209228515625, -0.0269927978515625, -0.021881103515625, 0.032928466796875, 0.0089569091796875, -0.005146026611328125, 0.041168212890625, 0.00609588623046875, 0.004772186279296875, 0.047637939453125, -0.0160675048828125, 0.0159759521484375, 0.003559112548828125, -0.0196990966796875, 0.0164794921875, -0.003993988037109375, 0.0080718994140625, 0.045562744140625, -0.01105499267578125, 0.004360198974609375, -0.005931854248046875, 0.0105743408203125, -0.00450897216796875, 0.06671142578125, 0.12646484375, -0.0159912109375, -0.047393798828125, 0.06427001953125, -0.0013446807861328125, -0.05755615234375, -0.0253448486328125, -0.00826263427734375, -0.046142578125, -0.003360748291015625, -0.01396942138671875, -0.0214385986328125, -0.001979827880859375, -0.00025272369384765625, -0.05303955078125, 0.07794189453125, 0.054656982421875, -0.020538330078125, -0.01171875, 0.039520263671875, -0.05865478515625, 0.005702972412109375, 0.000009298324584960938, 0.027435302734375, -0.023773193359375, -0.03680419921875, 0.0024871826171875, 0.018585205078125, -0.0199432373046875, -0.00875091552734375, 0.0535888671875, 0.01995849609375, -0.08673095703125, -0.00485992431640625, 0.07183837890625, 0.0311279296875, 0.041656494140625, 0.08416748046875, 0.029144287109375, 0.0304412841796875, 0.043853759765625, -0.03802490234375, 0.02166748046875, -0.0124359130859375, 0.025726318359375, 0.053192138671875, 0.0200653076171875, 0.00024628639221191406, 0.0026092529296875, 0.035888671875, -0.051300048828125, 0.0159912109375, 0.0328369140625, 0.0231781005859375, 0.043701171875, 0.0004954338073730469, 0.0261688232421875, 0.059539794921875, -0.00966644287109375, 0.006725311279296875, 0.033050537109375, 0.0096435546875, 0.035369873046875, 0.045196533203125, 0.00588226318359375, 0.09637451171875, 0.0179290771484375, 0.019622802734375, 0.0170440673828125, 0.0110626220703125, 0.0244903564453125, 0.024444580078125, 0.0209197998046875, -0.01509857177734375, 0.028961181640625, 0.03912353515625, 0.026763916015625, -0.039031982421875, -0.051483154296875, 0.008270263671875, 0.0151214599609375, 0.004947662353515625, -0.0222015380859375, -0.01477813720703125, -0.04376220703125, 0.020904541015625, -0.032745361328125, 0.010009765625, 0.01149749755859375, -0.01126861572265625, -0.01334381103515625, -0.018218994140625, 0.0181121826171875, 0.036834716796875, 0.005535125732421875, 0.0123138427734375, 0.0154876708984375, -0.0032100677490234375, 0.007106781005859375, 0.0138397216796875, 0.023162841796875, 0.00836181640625, 0.01629638671875, 0.042205810546875, 0.0017576217651367188, -0.04510498046875, -0.0045623779296875, -0.07208251953125, -0.004001617431640625, 0.0313720703125, -0.01061248779296875, 0.0118865966796875, 0.0200958251953125, 0.0300750732421875, -0.0167236328125, -0.0115966796875, 0.039215087890625, -0.0206146240234375, 0.025360107421875, 0.0012655258178710938, -0.0182952880859375, -0.00262451171875, -0.035919189453125, -0.0400390625, 0.0093231201171875, 0.0345458984375, -0.0084991455078125, 0.03851318359375, 0.0027923583984375, -0.017425537109375, -0.01171875, -0.042938232421875, 0.01444244384765625, -0.007389068603515625, -0.0157318115234375, 0.00997161865234375, -0.021209716796875, -0.0019397735595703125, -0.015594482421875, 0.016876220703125, -0.03173828125, 0.065185546875, 0.0298004150390625, -0.0367431640625, -0.03387451171875, 0.021881103515625, 0.03863525390625, -0.026397705078125, -0.0155487060546875, -0.003536224365234375, -0.0704345703125, -0.0352783203125, -0.0792236328125, 0.043304443359375, 0.06396484375, 0.07830810546875, 0.004367828369140625, 0.044891357421875, 0.01061248779296875, -0.055450439453125, 0.0274200439453125, 0.0073699951171875, 0.020294189453125, -0.0269775390625, -0.037994384765625, 0.0063018798828125, -0.029541015625, 0.046905517578125, -0.0216827392578125, -0.0094757080078125, 0.024017333984375, -0.044830322265625, 0.0179290771484375, 0.05572509765625, -0.023834228515625, -0.033447265625, -0.0176849365234375, 0.004253387451171875, -0.0026149749755859375, 0.00310516357421875, -0.0252532958984375, -0.01068878173828125, -0.006107330322265625, 0.002429962158203125, -0.033172607421875, -0.012054443359375, 0.01384735107421875, -0.02496337890625, 0.0184478759765625, 0.007965087890625, -0.01556396484375, -0.003681182861328125, -0.0230255126953125, 0.01190948486328125, 0.0011625289916992188, 0.026458740234375, 0.002124786376953125, -0.0237579345703125, -0.004573822021484375, 0.01447296142578125, 0.0184478759765625, -0.0242919921875, 0.012847900390625, 0.0193328857421875, 0.008819580078125, -0.0144195556640625, -0.0784912109375, -0.0269317626953125, -0.070556640625, 0.009124755859375, 0.01105499267578125, -0.0274658203125, -0.06671142578125, -0.00801849365234375, -0.0169525146484375, -0.01064300537109375, 0.01316070556640625, -0.025146484375, 0.037841796875, 0.0044708251953125, -0.030059814453125, -0.00774383544921875, -0.0009708404541015625, -0.0252838134765625, -0.026580810546875, 0.005542755126953125, -0.04302978515625, -0.0401611328125, 0.08233642578125, 0.002704620361328125, 0.0175323486328125, 0.041107177734375, -0.031005859375, -0.027923583984375, -0.012939453125, 0.0224456787109375, 0.0266876220703125, 0.0218505859375, -0.00911712646484375, 0.026702880859375, -0.0256805419921875, -0.0229949951171875, -0.01351165771484375, 0.0172119140625, -0.04443359375, -0.023284912109375, -0.04595947265625, -0.00849151611328125, -0.01259613037109375, -0.050079345703125, -0.055267333984375, 0.027191162109375, -0.00746917724609375, -0.033782958984375, -0.056365966796875, -0.0088653564453125, -0.014678955078125, 0.00450897216796875, -0.030517578125, 0.0113372802734375, -0.023651123046875, 0.05828857421875, -0.0256195068359375, 0.09185791015625, -0.04620361328125, -0.0200653076171875, 0.05377197265625, 0.042510986328125, 0.04412841796875, -0.0088043212890625, -0.0216522216796875, 0.0292816162109375, -0.007289886474609375, 0.04644775390625, 0.005138397216796875, -0.0195159912109375, 0.0018930435180664062, -0.032196044921875, 0.0031032562255859375, -0.007152557373046875, -0.057281494140625, 0.0149688720703125, 0.1051025390625, 0.0845947265625, 0.045257568359375, -0.06781005859375, 0.0290679931640625, 0.009124755859375, -0.0149993896484375, -0.0178680419921875, 0.0028781890869140625, -0.049591064453125, -0.0289154052734375, -0.018157958984375, -0.002223968505859375, 0.006011962890625, -0.0131072998046875, -0.00737762451171875, -0.01084136962890625, 0.0217132568359375, -0.007526397705078125, 0.00751495361328125, 0.058929443359375, -0.013580322265625, -0.0260162353515625, -0.0018491744995117188, 0.00870513916015625, -0.0352783203125, -0.0007834434509277344, 0.02197265625, 0.0003330707550048828, 0.01520538330078125, -0.05914306640625, 0.030975341796875, -0.01544952392578125, 0.0003845691680908203, -0.061126708984375, -0.01450347900390625, -0.01513671875, -0.0106964111328125, -0.00356292724609375, -0.0197906494140625, -0.0037841796875, -0.0186004638671875, -0.0212554931640625, 0.070068359375, 0.0299530029296875, -0.041961669921875, -0.027587890625, 0.057464599609375, -0.04766845703125, -0.037567138671875, -0.0635986328125, -0.006168365478515625, 0.008544921875, 0.05902099609375, 0.036224365234375, -0.0154876708984375, 0.0362548828125, -0.028533935546875, 0.032562255859375, -0.005893707275390625 ]
1eb6a312784992dd6c5f27476190cc494eac5b5d
Wordpress Stackexchange Q: Stop wordpress automatically escaping $_POST data I have a custom front end form which creates a custom post type post and have just discovered WordPress automatically escapes $_POST data in the same way that Magic Quotes does. I have Magic Quotes disabled and have created a test form that I run on the same domain. When run on it's own, no data is escaped. However when I run it as a page template for a WordPress page the raw $_POST data is escaped, i.e. using print_r($_POST) so before there has been any processing done. I have also tried this with multiple themes and the same result. Anyone know where / how to shut this off? Is there a filter I can suppress for this form? Cheers. A: No, but you can just run stripslashes on it.
Q: Stop wordpress automatically escaping $_POST data I have a custom front end form which creates a custom post type post and have just discovered WordPress automatically escapes $_POST data in the same way that Magic Quotes does. I have Magic Quotes disabled and have created a test form that I run on the same domain. When run on it's own, no data is escaped. However when I run it as a page template for a WordPress page the raw $_POST data is escaped, i.e. using print_r($_POST) so before there has been any processing done. I have also tried this with multiple themes and the same result. Anyone know where / how to shut this off? Is there a filter I can suppress for this form? Cheers. A: No, but you can just run stripslashes on it. A: Worth having a read of the trac bug here: https://core.trac.wordpress.org/ticket/18322 In short, you can use stripslashes as onetrickpony already mentioned, or wp_unslash, to remove the slashes from your $_POST vars.
wordpress
{ "language": "en", "length": 168, "provenance": "stackexchange_00019.jsonl.gz:414938", "question_score": "5", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34866" }
[ 0.0426025390625, 0.0218353271484375, -0.0155487060546875, 0.01019287109375, 0.0294647216796875, -0.02899169921875, 0.083251953125, -0.03216552734375, -0.006969451904296875, -0.00594329833984375, 0.0035686492919921875, -0.0233154296875, -0.00927734375, -0.057769775390625, 0.019012451171875, -0.0228118896484375, 0.006725311279296875, -0.0114898681640625, -0.024139404296875, -0.0296630859375, 0.02374267578125, -0.025482177734375, -0.036224365234375, -0.006038665771484375, -0.0098419189453125, 0.026763916015625, 0.083984375, -0.0293121337890625, 0.00591278076171875, -0.0193634033203125, 0.01360321044921875, -0.0257720947265625, -0.0134429931640625, 0.09765625, -0.08087158203125, 0.052734375, -0.0215606689453125, 0.06597900390625, 0.040802001953125, 0.01110076904296875, 0.00980377197265625, -0.025482177734375, 0.01708984375, -0.0419921875, 0.0008893013000488281, 0.00345611572265625, 0.0035762786865234375, -0.03509521484375, 0.059722900390625, 0.0141143798828125, -0.0010318756103515625, 0.039337158203125, 0.001979827880859375, 0.0069427490234375, -0.01099395751953125, -0.003276824951171875, -0.01715087890625, -0.018310546875, 0.050628662109375, 0.01129150390625, -0.015228271484375, -0.051727294921875, 0.01386260986328125, -0.0550537109375, 0.03143310546875, -0.0021953582763671875, -0.00678253173828125, 0.0254364013671875, -0.023895263671875, 0.04107666015625, 0.0396728515625, -0.0298919677734375, 0.021392822265625, -0.037933349609375, 0.003917694091796875, -0.004730224609375, 0.0048370361328125, -0.007171630859375, -0.0006542205810546875, -0.013275146484375, 0.0164947509765625, 0.0125885009765625, -0.0311737060546875, -0.01500701904296875, 0.00414276123046875, 0.007312774658203125, -0.0175628662109375, -0.0088653564453125, 0.0249481201171875, -0.0249176025390625, -0.004695892333984375, -0.021240234375, 0.0112152099609375, 0.0020313262939453125, -0.00832366943359375, -0.044189453125, 0.00391387939453125, 0.00782012939453125, -0.003612518310546875, -0.002895355224609375, 0.0014371871948242188, -0.040618896484375, 0.045745849609375, -0.012908935546875, 0.0008440017700195312, 0.057098388671875, 0.0033893585205078125, 0.01099395751953125, 0.025482177734375, 0.0053253173828125, 0.020782470703125, -0.0027923583984375, -0.03863525390625, -0.048492431640625, 0.00669097900390625, 0.07403564453125, -0.006561279296875, 0.006435394287109375, -0.006298065185546875, 0.022705078125, -0.0027790069580078125, 0.01227569580078125, 0.002349853515625, -0.00567626953125, 0.0309600830078125, 0.03778076171875, -0.007045745849609375, -0.0231781005859375, -0.004726409912109375, 0.06304931640625, -0.0350341796875, -0.03863525390625, 0.06024169921875, 0.055816650390625, 0.028656005859375, -0.03363037109375, -0.0005159378051757812, 0.0007848739624023438, -0.0252838134765625, 0.028656005859375, -0.023712158203125, -0.082763671875, -0.0300750732421875, -0.0165557861328125, -0.01404571533203125, 0.027557373046875, 0.03564453125, 0.0121307373046875, -0.0360107421875, -0.04583740234375, -0.0161590576171875, 0.0009059906005859375, 0.03326416015625, 0.002613067626953125, -0.00140380859375, -0.03607177734375, 0.03125, -0.04681396484375, 0.00440216064453125, -0.050994873046875, -0.00164031982421875, -0.01422882080078125, -0.0011758804321289062, 0.004985809326171875, -0.0330810546875, 0.01372528076171875, 0.003940582275390625, -0.0073394775390625, 0.0288238525390625, -0.01247406005859375, -0.01226806640625, -0.0041961669921875, 0.0440673828125, -0.0194091796875, -0.00887298583984375, 0.007129669189453125, 0.006641387939453125, 0.02655029296875, 0.0181121826171875, 0.031494140625, 0.007419586181640625, -0.028533935546875, 0.05279541015625, 0.00018918514251708984, -0.052459716796875, 0.033355712890625, 0.01873779296875, 0.06524658203125, 0.006252288818359375, 0.015472412109375, 0.038177490234375, 0.0242919921875, -0.02716064453125, 0.0596923828125, 0.0030536651611328125, -0.055877685546875, 0.029022216796875, -0.01120758056640625, 0.0038356781005859375, 0.006717681884765625, 0.01457977294921875, -0.00982666015625, 0.0120697021484375, -0.029296875, -0.058349609375, -0.024200439453125, -0.021148681640625, 0.0190582275390625, 0.003284454345703125, 0.03179931640625, 0.0160064697265625, -0.00699615478515625, -0.040191650390625, 0.042755126953125, -0.01629638671875, -0.019439697265625, -0.00241851806640625, 0.069580078125, 0.020263671875, 0.0745849609375, 0.0193634033203125, -0.051422119140625, 0.00664520263671875, -0.045318603515625, 0.049713134765625, -0.0128936767578125, -0.007598876953125, -0.0256500244140625, 0.019561767578125, -0.010833740234375, 0.0033168792724609375, 0.044036865234375, 0.002716064453125, -0.010009765625, -0.036376953125, -0.02392578125, -0.05255126953125, -0.0836181640625, -0.00435638427734375, 0.090087890625, 0.053741455078125, 0.04022216796875, 0.00753021240234375, -0.01222991943359375, -0.01248931884765625, -0.09539794921875, 0.01097869873046875, -0.0272979736328125, 0.015106201171875, 0.0281829833984375, -0.044952392578125, -0.0184478759765625, 0.0270538330078125, -0.09716796875, 0.00591278076171875, 0.05426025390625, -0.016510009765625, -0.0323486328125, 0.041473388671875, -0.0204925537109375, -0.004055023193359375, -0.0312042236328125, -0.01436614990234375, -0.005558013916015625, 0.01171112060546875, 0.0016307830810546875, 0.0255279541015625, 0.0290985107421875, -0.00009512901306152344, -0.005214691162109375, 0.0171051025390625, 0.0162811279296875, -0.0129547119140625, 0.0257568359375, 0.028717041015625, 0.0032978057861328125, -0.039947509765625, 0.0140533447265625, -0.023895263671875, 0.01157379150390625, -0.014617919921875, 0.033782958984375, 0.0142059326171875, -0.00994110107421875, -0.009307861328125, -0.032745361328125, 0.01195526123046875, -0.007175445556640625, 0.0212249755859375, -0.0269317626953125, 0.0078582763671875, 0.0206146240234375, -0.033721923828125, 0.04583740234375, 0.00312042236328125, -0.0396728515625, 0.0220184326171875, -0.01220703125, 0.00995635986328125, 0.006072998046875, 0.054840087890625, 0.048004150390625, 0.0083160400390625, -0.0131988525390625, -0.002918243408203125, 0.033294677734375, -0.008026123046875, 0.0236053466796875, -0.016693115234375, -0.02691650390625, -0.062255859375, -0.0662841796875, 0.02984619140625, 0.07720947265625, -0.029327392578125, -0.04986572265625, -0.040191650390625, 0.032257080078125, -0.0799560546875, -0.05621337890625, 0.059906005859375, -0.0092926025390625, -0.0078582763671875, -0.0256195068359375, 0.005767822265625, -0.030792236328125, -0.0301055908203125, -0.0157623291015625, -0.0002701282501220703, -0.00672149658203125, -0.0543212890625, -0.044677734375, -0.0631103515625, -0.026275634765625, -0.00028228759765625, 0.00978851318359375, 0.0157012939453125, 0.06671142578125, 0.01163482666015625, -0.057647705078125, 0.00439453125, -0.046905517578125, -0.041839599609375, 0.04388427734375, -0.041229248046875, -0.0216064453125, 0.03363037109375, -0.0255126953125, -0.006885528564453125, -0.0033588409423828125, 0.029449462890625, -0.0005936622619628906, -0.0138702392578125, -0.00312042236328125, 0.00803375244140625, 0.005779266357421875, 0.00818634033203125, -0.020172119140625, 0.00264739990234375, -0.045989990234375, -0.04547119140625, 0.0037021636962890625, -0.040252685546875, 0.005886077880859375, 0.0224456787109375, -0.022247314453125, -0.0203094482421875, 0.0455322265625, 0.0113525390625, -0.007659912109375, 0.01395416259765625, -0.038482666015625, 0.051666259765625, 0.0158843994140625, 0.052154541015625, -0.0087127685546875, -0.01557159423828125, -0.0202484130859375, 0.07305908203125, 0.0092010498046875, 0.024383544921875, 0.0082855224609375, 0.005306243896484375, -0.014923095703125, -0.055816650390625, 0.0308990478515625, -0.03387451171875, 0.004177093505859375, -0.0228424072265625, -0.007472991943359375, 0.0033245086669921875, 0.07440185546875, -0.021881103515625, -0.0241546630859375, 0.00800323486328125, 0.007110595703125, -0.0159149169921875, -0.0104827880859375, -0.02178955078125, -0.01258087158203125, -0.0186309814453125, 0.01041412353515625, -0.00666046142578125, -0.01546478271484375, -0.004100799560546875, -0.03466796875, -0.00946807861328125, -0.0233612060546875, 0.00537872314453125, -0.06304931640625, 0.02685546875, -0.0518798828125, 0.027313232421875, -0.07855224609375, 0.029571533203125, -0.048248291015625, -0.052947998046875, -0.01117706298828125, -0.002674102783203125, 0.025054931640625, 0.02142333984375, -0.031036376953125, 0.01517486572265625, 0.048309326171875, 0.002681732177734375, 0.033905029296875, -0.01690673828125, 0.0026569366455078125, 0.00858306884765625, 0.011932373046875, 0.0035190582275390625, 0.0023040771484375, -0.019683837890625, -0.01485443115234375, -0.02838134765625, -0.0005040168762207031, -0.0092315673828125, -0.02008056640625, 0.03253173828125, -0.02392578125, -0.06463623046875, -0.0567626953125, -0.042388916015625, 0.0017786026000976562, -0.016876220703125, -0.0200042724609375, -0.0445556640625, -0.07611083984375, 0.06292724609375, 0.0020656585693359375, 0.0214080810546875, -0.0028896331787109375, 0.09063720703125, 0.006351470947265625, -0.0290069580078125, -0.045654296875, -0.0086212158203125, 0.02783203125, 0.0014896392822265625, 0.04498291015625, 0.0204925537109375, -0.01503753662109375, 0.0316162109375, 0.0010919570922851562, 0.006343841552734375, -0.0755615234375, 0.121337890625, -0.0206146240234375, 0.022125244140625, 0.0011796951293945312, -0.028289794921875, 0.028289794921875, -0.00911712646484375, 0.01107025146484375, -0.01076507568359375, 0.0380859375, 0.01123809814453125, 0.0081634521484375, -0.0159912109375, -0.00498199462890625, -0.048553466796875, 0.01708984375, 0.039398193359375, -0.0113525390625, 0.0113525390625, 0.00492095947265625, 0.01097869873046875, -0.0251617431640625, 0.0271453857421875, -0.006072998046875, 0.00799560546875, -0.00855255126953125, 0.059326171875, -0.021881103515625, 0.0117034912109375, -0.01395416259765625, 0.007305145263671875, -0.03289794921875, -0.059173583984375, -0.043975830078125, -0.05889892578125, -0.02001953125, 0.01369476318359375, 0.039154052734375, 0.03717041015625, -0.007701873779296875, 0.009185791015625, 0.0212860107421875, 0.017822265625, 0.051605224609375, 0.0033626556396484375, 0.0050201416015625, 0.00417327880859375, 0.022186279296875, -0.0151214599609375, 0.01922607421875, 0.02447509765625, 0.01184844970703125, 0.0178985595703125, -0.007785797119140625, 0.036895751953125, 0.035400390625, 0.026031494140625, 0.01224517822265625, -0.00913238525390625, 0.0121612548828125, -0.0141448974609375, 0.0075225830078125, -0.060943603515625, -0.0394287109375, 0.034912109375, 0.0548095703125, 0.00312042236328125, -0.00677490234375, 0.00879669189453125, 0.01128387451171875, -0.01128387451171875, 0.00325775146484375, 0.01203155517578125, -0.0164337158203125, 0.0157623291015625, 0.0010242462158203125, -0.02294921875, -0.00691986083984375, -0.0009450912475585938, -0.0121612548828125, 0.00457763671875, 0.021270751953125, -0.012359619140625, 0.00044918060302734375, -0.013458251953125, -0.01328277587890625, 0.015777587890625, -0.0302276611328125, -0.02392578125, -0.02764892578125, 0.005252838134765625, -0.0245208740234375, -0.0000400543212890625, 0.032073974609375, -0.0222015380859375, 0.02679443359375, -0.0115203857421875, 0.0029048919677734375, 0.01064300537109375, 0.01026153564453125, 0.052459716796875, 0.0256805419921875, -0.0216064453125, -0.03533935546875, -0.059173583984375, -0.029632568359375, -0.006198883056640625, 0.00366973876953125, -0.0256500244140625, 0.01276397705078125, 0.026641845703125, 0.0253753662109375, 0.005191802978515625, -0.03802490234375, -0.0274810791015625, 0.018890380859375, 0.036163330078125, 0.06341552734375, -0.022796630859375, 0.0322265625, -0.0166015625, 0.033538818359375, -0.007556915283203125, 0.0106048583984375, 0.0298919677734375, -0.01947021484375, -0.005992889404296875, -0.031341552734375, -0.0235443115234375, 0.0234527587890625, 0.0234832763671875, 0.0267181396484375, 0.02703857421875, -0.01045989990234375, 0.001850128173828125, -0.0120849609375, 0.00453948974609375, -0.0252227783203125, 0.04840087890625, -0.0288238525390625, 0.01666259765625, -0.01059722900390625, 0.0312347412109375, 0.0296173095703125, -0.01180267333984375, -0.0382080078125, -0.005504608154296875, 0.045379638671875, -0.01337432861328125, -0.03033447265625, -0.0236358642578125, 0.0009927749633789062, 0.02752685546875, 0.007427215576171875, 0.029510498046875, 0.01371002197265625, 0.012359619140625, 0.00330352783203125, 0.0276031494140625, -0.0018053054809570312, -0.0238494873046875, 0.0145416259765625, -0.0150909423828125, -0.0171051025390625, -0.02935791015625, -0.016021728515625, 0.04498291015625, 0.08551025390625, 0.1055908203125, -0.09417724609375, 0.00893402099609375, 0.01119232177734375, -0.053070068359375, 0.037200927734375, -0.0024509429931640625, -0.000030279159545898438, 0.004730224609375, -0.0147552490234375, 0.0223846435546875, -0.0303497314453125, -0.0014352798461914062, 0.0255889892578125, -0.01235198974609375, -0.00946044921875, 0.048583984375, 0.00571441650390625, -0.026611328125, -0.0152740478515625, 0.00966644287109375, -0.0153350830078125, -0.02294921875, -0.0137939453125, -0.0313720703125, -0.03271484375, -0.05389404296875, -0.027801513671875, -0.040008544921875, 0.004245758056640625, 0.01451873779296875, 0.07177734375, 0.05108642578125, 0.04669189453125, 0.028045654296875, -0.01300811767578125, 0.0113525390625, 0.050537109375, -0.021881103515625, -0.0328369140625, 0.024017333984375, 0.08392333984375, -0.03668212890625, 0.039459228515625, 0.0213165283203125, -0.0235595703125, -0.0093841552734375, -0.01319122314453125, 0.068359375, -0.00649261474609375, -0.0125579833984375, 0.0360107421875, 0.0192718505859375, -0.024139404296875, -0.05560302734375, -0.04541015625, -0.016998291015625, 0.06005859375, -0.07342529296875, 0.01190948486328125, 0.01349639892578125, -0.07977294921875, -0.0982666015625, 0.08709716796875, 0.047637939453125, 0.043548583984375, 0.00574493408203125, 0.0164947509765625, -0.06280517578125, -0.015716552734375, -0.03375244140625, 0.05303955078125, 0.0290374755859375, 0.01187896728515625, -0.06292724609375, -0.0174560546875, -0.0206298828125, 0.0511474609375, 0.024383544921875, 0.0006742477416992188, 0.053314208984375, 0.019561767578125, 0.044921875, 0.0285186767578125, -0.0391845703125, -0.0217132568359375, 0.03778076171875, 0.053619384765625, 0.053985595703125, -0.046234130859375, 0.0185546875, 0.0036563873291015625, 0.0256195068359375, 0.0723876953125, 0.003261566162109375, -0.0025234222412109375, -0.0230560302734375, -0.047454833984375, 0.0084075927734375, -0.0208892822265625, -0.0207672119140625, 0.00429534912109375, -0.02459716796875, 0.019012451171875, 0.054290771484375, -0.0992431640625, -0.0396728515625, -0.0338134765625, 0.04864501953125, 0.045562744140625, 0.004871368408203125, 0.024505615234375, 0.01316070556640625, 0.0439453125, -0.01568603515625, 0.0133819580078125, 0.02264404296875, -0.02532958984375, 0.014678955078125, -0.004962921142578125, 0.022247314453125, -0.04638671875, 0.00344085693359375, 0.050933837890625, 0.0291748046875, -0.0205078125, -0.0224151611328125, 0.01299285888671875, -0.0008668899536132812, -0.031951904296875, -0.02630615234375, -0.025360107421875, -0.01277923583984375, -0.0010128021240234375, -0.02203369140625, -0.005176544189453125, 0.02880859375, 0.0269317626953125, 0.0003154277801513672, 0.0024433135986328125, -0.0268707275390625, -0.0195770263671875, -0.039276123046875, -0.01035308837890625, -0.0080413818359375, 0.0546875, 0.047088623046875, 0.027496337890625, -0.0162200927734375, -0.0234375, -0.01274871826171875, 0.030853271484375, 0.0012521743774414062, 0.00604248046875, -0.033477783203125, -0.0099334716796875, -0.00872039794921875, 0.0258636474609375, -0.017425537109375, 0.020660400390625, 0.044464111328125, 0.0265960693359375, -0.05255126953125, -0.0369873046875, 0.023040771484375, -0.040191650390625, -0.026763916015625, -0.035552978515625, -0.0169219970703125, -0.000988006591796875, -0.01177978515625, -0.00047516822814941406, 0.0213623046875, -0.007049560546875, 0.00986480712890625, 0.030853271484375, 0.0089263916015625, -0.00540924072265625, 0.015838623046875, -0.01416778564453125, 0.0174713134765625, 0.0293121337890625, -0.046844482421875, 0.001739501953125, -0.020965576171875, -0.038299560546875, -0.0036525726318359375, 0.0186920166015625, -0.014739990234375, 0.0211334228515625, 0.02935791015625, -0.0089111328125, 0.006290435791015625, 0.01232147216796875, 0.00778961181640625, -0.024749755859375, 0.021636962890625, -0.002712249755859375, -0.027587890625, -0.0242462158203125, 0.01312255859375, 0.0362548828125, 0.006313323974609375, 0.0625, -0.0188446044921875, -0.0045318603515625, -0.0009784698486328125, 0.0203704833984375, -0.03411865234375, -0.0022125244140625, -0.0021533966064453125, -0.024169921875, 0.007843017578125, -0.0003027915954589844, -0.06646728515625, 0.020416259765625, 0.031280517578125, -0.03607177734375, 0.0294342041015625, 0.0194091796875, -0.002262115478515625, -0.0347900390625, 0.0455322265625, -0.01727294921875, 0.00421142578125, -0.0511474609375, -0.0408935546875, 0.06878662109375, 0.0213775634765625, -0.0023937225341796875, 0.047607421875, 0.00678253173828125, -0.000728607177734375, 0.0235137939453125, -0.065185546875, 0.05377197265625, 0.039947509765625, -0.013580322265625, -0.002780914306640625, 0.01287841796875, -0.020782470703125, 0.0079193115234375, 0.0216827392578125, 0.0150604248046875, 0.0218963623046875, -0.044586181640625, -0.07769775390625, 0.03631591796875, 0.05291748046875, 0.02740478515625, 0.040618896484375, -0.042236328125, -0.038055419921875, 0.012786865234375, -0.015289306640625, 0.00040340423583984375, -0.025360107421875, -0.01404571533203125, 0.01302337646484375, -0.013275146484375, -0.0408935546875, -0.03839111328125, -0.03009033203125, 0.00726318359375, -0.005401611328125, -0.01239776611328125, -0.03741455078125, -0.002910614013671875, 0.0341796875, -0.0267333984375, 0.029388427734375, -0.001140594482421875, 0.03387451171875, -0.01348876953125, -0.031829833984375, 0.0116424560546875, 0.06072998046875, 0.007610321044921875, 0.0201873779296875, 0.0263519287109375, -0.007091522216796875, -0.01568603515625, 0.01387786865234375, -0.00788116455078125, 0.057891845703125, 0.0194854736328125, -0.03173828125, 0.01092529296875, 0.025482177734375, -0.0085296630859375, -0.02496337890625, -0.01122283935546875, 0.006687164306640625, 0.032501220703125, -0.01081085205078125, 0.0117645263671875, 0.008270263671875, -0.034698486328125, -0.0667724609375, -0.0078277587890625, 0.007171630859375, -0.035675048828125, 0.042236328125, -0.0282440185546875, -0.0067901611328125, -0.049530029296875, 0.00551605224609375, -0.026519775390625, -0.00664520263671875, 0.0207672119140625, 0.0082244873046875, 0.0121002197265625, 0.049285888671875, -0.00106048583984375, -0.026519775390625, -0.0015125274658203125, -0.004901885986328125, -0.0001761913299560547, -0.006687164306640625, 0.00933074951171875, 0.0279388427734375, 0.047882080078125, -0.004512786865234375, 0.0232696533203125, 0.0018014907836914062, -0.031494140625, -0.0130615234375, 0.0164794921875, -0.00027871131896972656, 0.03424072265625, 0.0689697265625, 0.08209228515625, 0.0079498291015625, -0.058319091796875, -0.007152557373046875, -0.0130767822265625, 0.01380157470703125, -0.016265869140625, 0.0012578964233398438, -0.056304931640625, -0.041015625, 0.01508331298828125, -0.0170135498046875, 0.0031871795654296875, -0.0035858154296875, -0.01091766357421875, 0.00926971435546875, 0.03826904296875, -0.01554107666015625, 0.005458831787109375, -0.044281005859375, 0.06781005859375, -0.036376953125, -0.0308380126953125, 0.0176849365234375, 0.0205535888671875, 0.01568603515625, 0.01430511474609375, -0.0033111572265625, 0.02667236328125, -0.0194244384765625, 0.005878448486328125, 0.027984619140625, 0.00919342041015625, 0.0125274658203125, 0.0099945068359375, 0.00244140625, 0.015472412109375, 0.003192901611328125, 0.00882720947265625, -0.049224853515625, 0.041839599609375, 0.01534271240234375, 0.03668212890625, -0.0347900390625, -0.033843994140625, -0.020416259765625, 0.007030487060546875, -0.0204010009765625, 0.00699615478515625, 0.041748046875, -0.03045654296875, 0.0271148681640625, 0.005535125732421875, -0.0113677978515625, 0.03985595703125, -0.049346923828125, -0.01418304443359375, -0.022796630859375, -0.021026611328125 ]
b32ecfaa9c1506de62a6b2c89e1ccf8e77e204c7
Wordpress Stackexchange Q: Why do we include jQuery in the header? I was told not to mess with the core files. Also, I don't want jQuery to load on every single page. A: Get rid of the plugin/theme that's causing jQuery to load :) jQuery is shipped with WordPress doesn't mean that it's loaded every time by default, it's being loaded by a theme or plugin that you're using. Look for a call to wp_enqueue_script :) Good luck!
Q: Why do we include jQuery in the header? I was told not to mess with the core files. Also, I don't want jQuery to load on every single page. A: Get rid of the plugin/theme that's causing jQuery to load :) jQuery is shipped with WordPress doesn't mean that it's loaded every time by default, it's being loaded by a theme or plugin that you're using. Look for a call to wp_enqueue_script :) Good luck! A: Most themes will, by default, include Jquery. If you REALLY don't want it to load, put this in your Functions.php file (in the theme) function my_scripts_method() { wp_deregister_script( 'jquery' ); } add_action('wp_enqueue_scripts', 'my_scripts_method'); Or find and put in comments (add // in front) these lines. wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js'); wp_enqueue_script( 'jquery' );
wordpress
{ "language": "en", "length": 128, "provenance": "stackexchange_00019.jsonl.gz:414954", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34936" }
[ 0.038604736328125, 0.021697998046875, -0.05035400390625, -0.052642822265625, 0.046630859375, -0.04046630859375, 0.03448486328125, 0.01837158203125, -0.037506103515625, -0.0024585723876953125, -0.0269775390625, 0.0167694091796875, -0.0259246826171875, -0.0206146240234375, 0.0272216796875, -0.048736572265625, 0.0413818359375, -0.03167724609375, -0.00380706787109375, -0.00568389892578125, 0.030792236328125, 0.00634002685546875, 0.0016813278198242188, 0.0699462890625, 0.0262908935546875, -0.0244903564453125, 0.059661865234375, -0.00957489013671875, 0.0267181396484375, -0.001033782958984375, 0.0280914306640625, -0.0262451171875, 0.0108795166015625, 0.004276275634765625, 0.001712799072265625, -0.0025882720947265625, -0.005695343017578125, 0.0262298583984375, 0.02752685546875, 0.0005707740783691406, 0.0296630859375, -0.01171112060546875, 0.03369140625, 0.025543212890625, 0.0009503364562988281, -0.0280303955078125, 0.01531982421875, -0.04168701171875, -0.004474639892578125, -0.04888916015625, 0.0112457275390625, 0.0010080337524414062, 0.03759765625, -0.050811767578125, -0.014312744140625, 0.01418304443359375, 0.01435089111328125, -0.0186767578125, 0.035308837890625, 0.01959228515625, -0.023345947265625, -0.022705078125, 0.010528564453125, -0.04364013671875, 0.01084136962890625, -0.025543212890625, -0.047821044921875, 0.030609130859375, -0.08428955078125, 0.0179595947265625, 0.058746337890625, -0.049102783203125, -0.0311431884765625, 0.00882720947265625, -0.021728515625, -0.03521728515625, 0.0207672119140625, -0.038909912109375, -0.0027256011962890625, 0.03387451171875, 0.0035877227783203125, 0.002101898193359375, -0.019866943359375, -0.0273895263671875, 0.0268707275390625, 0.0168609619140625, -0.01464080810546875, -0.0211944580078125, -0.0377197265625, -0.0249176025390625, -0.029876708984375, 0.01861572265625, -0.051055908203125, -0.02386474609375, -0.0258941650390625, 0.010345458984375, 0.005641937255859375, 0.0638427734375, -0.0035190582275390625, 0.00980377197265625, -0.0035037994384765625, -0.0211181640625, 0.0243072509765625, -0.040557861328125, -0.02093505859375, 0.0261077880859375, 0.0158233642578125, 0.026824951171875, 0.0108184814453125, 0.0259857177734375, -0.0033092498779296875, -0.008758544921875, 0.031982421875, 0.0031337738037109375, -0.019622802734375, -0.036834716796875, -0.0275421142578125, 0.0164642333984375, 0.007274627685546875, 0.01300811767578125, 0.0214691162109375, 0.0435791015625, -0.01532745361328125, -0.01326751708984375, 0.0019817352294921875, 0.002338409423828125, -0.0092315673828125, -0.040863037109375, -0.022369384765625, -0.03179931640625, -0.0026416778564453125, 0.02130126953125, 0.034759521484375, 0.034698486328125, -0.00734710693359375, 0.0046539306640625, 0.0302886962890625, -0.025970458984375, -0.002338409423828125, -0.0008511543273925781, 0.007076263427734375, -0.01165008544921875, 0.006488800048828125, -0.01526641845703125, -0.006206512451171875, -0.029022216796875, 0.01374053955078125, 0.051239013671875, 0.016754150390625, -0.00846099853515625, -0.01611328125, 0.035614013671875, 0.04119873046875, 0.007472991943359375, -0.00051116943359375, -0.00909423828125, 0.062103271484375, -0.042327880859375, -0.049530029296875, -0.03387451171875, -0.002117156982421875, 0.0247955322265625, 0.008941650390625, -0.0084686279296875, -0.01145172119140625, -0.044464111328125, 0.00445556640625, 0.01558685302734375, 0.0199432373046875, -0.00649261474609375, -0.02447509765625, -0.0357666015625, 0.0279693603515625, 0.0254364013671875, 0.0105743408203125, 0.045867919921875, 0.03253173828125, -0.0030841827392578125, 0.031280517578125, 0.0132904052734375, -0.043670654296875, -0.04052734375, 0.0653076171875, -0.060211181640625, -0.06048583984375, 0.0201416015625, 0.028594970703125, 0.0792236328125, -0.00988006591796875, 0.0301666259765625, 0.06097412109375, 0.021392822265625, -0.036468505859375, -0.005168914794921875, 0.01323699951171875, -0.0005502700805664062, -0.035919189453125, -0.00783538818359375, -0.00444793701171875, 0.0005846023559570312, 0.00043392181396484375, -0.0176849365234375, 0.0173797607421875, -0.018341064453125, -0.039276123046875, -0.0191650390625, -0.015533447265625, 0.037139892578125, 0.0275421142578125, 0.01055908203125, -0.0017795562744140625, 0.0203399658203125, -0.029022216796875, -0.0457763671875, -0.060516357421875, 0.016998291015625, -0.0293121337890625, 0.042755126953125, 0.007785797119140625, 0.034332275390625, -0.0186767578125, -0.048614501953125, -0.015899658203125, -0.0227813720703125, 0.0167083740234375, 0.004058837890625, -0.036712646484375, -0.0175018310546875, -0.005207061767578125, -0.0137176513671875, -0.01189422607421875, 0.06097412109375, 0.047393798828125, 0.078857421875, -0.0225830078125, -0.01690673828125, -0.0259857177734375, 0.00009000301361083984, -0.004024505615234375, 0.030609130859375, 0.0200347900390625, 0.03668212890625, -0.01433563232421875, 0.01593017578125, 0.004077911376953125, -0.055816650390625, -0.004360198974609375, 0.0233917236328125, -0.003509521484375, -0.02581787109375, 0.0130462646484375, -0.029571533203125, 0.0478515625, -0.06329345703125, 0.006591796875, 0.05645751953125, 0.009674072265625, 0.0205841064453125, -0.04345703125, 0.0159912109375, 0.004085540771484375, 0.03125, -0.01406097412109375, 0.01215362548828125, 0.035888671875, -0.026336669921875, 0.02587890625, 0.01166534423828125, 0.04022216796875, -0.0261383056640625, -0.0207672119140625, -0.09869384765625, -0.005496978759765625, 0.066650390625, 0.04083251953125, 0.0217132568359375, -0.046783447265625, -0.0245361328125, 0.018310546875, 0.048248291015625, -0.006549835205078125, -0.04205322265625, 0.0004749298095703125, 0.0008645057678222656, 0.030242919921875, -0.04779052734375, 0.03558349609375, 0.028228759765625, 0.034881591796875, 0.0213775634765625, 0.03863525390625, 0.031036376953125, 0.0009860992431640625, 0.04144287109375, 0.00450897216796875, -0.0260772705078125, 0.040985107421875, -0.0013074874877929688, 0.00574493408203125, -0.00649261474609375, 0.0184478759765625, 0.0455322265625, 0.005504608154296875, -0.004100799560546875, -0.0021820068359375, 0.0276031494140625, 0.041778564453125, -0.037078857421875, -0.0264739990234375, 0.03466796875, -0.07562255859375, -0.017578125, 0.024627685546875, 0.0399169921875, 0.00006884336471557617, -0.05059814453125, -0.0145721435546875, 0.018218994140625, -0.13525390625, -0.13671875, -0.0731201171875, -0.048370361328125, 0.047454833984375, -0.0037174224853515625, 0.01319122314453125, -0.0028553009033203125, 0.007053375244140625, 0.0288848876953125, -0.00434112548828125, -0.01042938232421875, -0.03277587890625, -0.062744140625, -0.071044921875, -0.03466796875, -0.0098114013671875, 0.0101318359375, 0.0018320083618164062, 0.047332763671875, 0.0015459060668945312, -0.0777587890625, -0.0313720703125, 0.036773681640625, -0.033050537109375, -0.0012607574462890625, 0.02655029296875, -0.037322998046875, -0.017364501953125, 0.005947113037109375, -0.044189453125, 0.004688262939453125, 0.004161834716796875, -0.0090484619140625, -0.02899169921875, -0.04803466796875, -0.0171661376953125, 0.060821533203125, 0.022308349609375, -0.059722900390625, 0.01522064208984375, -0.067138671875, -0.0374755859375, 0.006412506103515625, -0.051971435546875, -0.0186920166015625, 0.0160675048828125, -0.0028591156005859375, -0.009765625, -0.002864837646484375, 0.0215911865234375, 0.005176544189453125, -0.0201568603515625, -0.02288818359375, 0.08465576171875, 0.001750946044921875, 0.03363037109375, -0.03143310546875, 0.007221221923828125, -0.0538330078125, 0.0225067138671875, -0.0078582763671875, -0.024200439453125, -0.0010328292846679688, -0.01934814453125, -0.00015306472778320312, -0.01294708251953125, 0.02227783203125, 0.031494140625, 0.0287628173828125, 0.0115203857421875, -0.02703857421875, 0.028289794921875, 0.06817626953125, 0.0163421630859375, -0.0032062530517578125, 0.01129913330078125, -0.01407623291015625, -0.010833740234375, -0.0214691162109375, -0.07696533203125, -0.005096435546875, -0.0217437744140625, 0.02398681640625, 0.006603240966796875, -0.0015001296997070312, -0.0343017578125, 0.04052734375, -0.013946533203125, -0.010467529296875, 0.0144195556640625, -0.0411376953125, -0.0009598731994628906, -0.008453369140625, -0.0193328857421875, -0.0257568359375, 0.005462646484375, -0.04217529296875, -0.07598876953125, -0.01010894775390625, -0.039886474609375, 0.058837890625, 0.040771484375, -0.02239990234375, -0.00444793701171875, 0.04058837890625, 0.01107025146484375, 0.048004150390625, 0.006649017333984375, -0.0158233642578125, 0.046478271484375, 0.0005984306335449219, 0.02008056640625, -0.005767822265625, -0.01064300537109375, 0.0179443359375, -0.0246734619140625, -0.0114288330078125, -0.0243682861328125, -0.03399658203125, 0.0245819091796875, -0.03375244140625, -0.0155181884765625, -0.0312042236328125, -0.043548583984375, 0.01245880126953125, -0.00891876220703125, -0.0112762451171875, -0.036895751953125, -0.0224151611328125, 0.01580810546875, 0.0037174224853515625, -0.0280609130859375, 0.01285552978515625, 0.013092041015625, 0.02166748046875, -0.0115966796875, -0.024810791015625, 0.037445068359375, 0.0279998779296875, 0.010223388671875, 0.07147216796875, 0.0008854866027832031, -0.0024318695068359375, 0.0565185546875, -0.00005549192428588867, 0.040618896484375, -0.040130615234375, 0.0721435546875, -0.0176544189453125, -0.01320648193359375, 0.034332275390625, -0.005474090576171875, -0.0254058837890625, 0.0255584716796875, 0.0172119140625, 0.01325225830078125, 0.01282501220703125, -0.02496337890625, 0.0015010833740234375, -0.0421142578125, 0.01021575927734375, 0.035308837890625, -0.022247314453125, 0.03131103515625, 0.0814208984375, 0.047943115234375, 0.00675201416015625, 0.008697509765625, 0.03564453125, -0.00262451171875, 0.0169830322265625, 0.0100250244140625, -0.01556396484375, -0.005481719970703125, 0.0706787109375, -0.011627197265625, -0.00705718994140625, -0.0177764892578125, 0.06829833984375, 0.032379150390625, -0.0251922607421875, 0.0044708251953125, -0.00830841064453125, 0.043243408203125, -0.0210113525390625, 0.002147674560546875, 0.0236663818359375, 0.01090240478515625, 0.0012111663818359375, -0.0167694091796875, -0.0283660888671875, 0.004291534423828125, -0.0379638671875, 0.0579833984375, 0.027740478515625, -0.0088043212890625, 0.01059722900390625, 0.0233154296875, 0.0112152099609375, 0.0009145736694335938, 0.005435943603515625, 0.038360595703125, -0.001491546630859375, 0.052215576171875, 0.006359100341796875, -0.0102996826171875, 0.0015745162963867188, 0.0330810546875, -0.0193634033203125, -0.0426025390625, -0.0205078125, 0.0163421630859375, 0.045074462890625, -0.028289794921875, -0.0128326416015625, 0.020904541015625, -0.01190948486328125, -0.01352691650390625, 0.01678466796875, -0.017913818359375, -0.0220947265625, -0.0174407958984375, 0.0153961181640625, 0.0301361083984375, 0.0230255126953125, 0.01126861572265625, 0.0211944580078125, 0.0144195556640625, 0.01276397705078125, -0.0021877288818359375, -0.0241546630859375, -0.010772705078125, -0.0040435791015625, 0.01345062255859375, -0.0003879070281982422, 0.0016946792602539062, -0.08062744140625, -0.0175933837890625, -0.0176239013671875, 0.004856109619140625, 0.029998779296875, -0.0176239013671875, 0.039398193359375, -0.0299224853515625, -0.006359100341796875, -0.01486968994140625, 0.02593994140625, 0.000698089599609375, -0.00200653076171875, -0.0411376953125, -0.014434814453125, -0.0682373046875, -0.0163726806640625, -0.0714111328125, -0.070068359375, -0.03662109375, 0.0130462646484375, 0.00995635986328125, 0.009429931640625, -0.01197052001953125, -0.020782470703125, -0.0179901123046875, 0.023590087890625, 0.02752685546875, 0.032501220703125, -0.046417236328125, 0.07958984375, 0.011627197265625, 0.0066070556640625, 0.0000775456428527832, 0.03955078125, 0.0189971923828125, -0.007549285888671875, -0.0050506591796875, -0.054962158203125, 0.002849578857421875, -0.004047393798828125, -0.01141357421875, 0.00794219970703125, 0.0290069580078125, 0.012420654296875, 0.02239990234375, -0.007411956787109375, 0.004177093505859375, -0.01611328125, 0.0357666015625, -0.018768310546875, 0.01708984375, 0.0117340087890625, 0.021026611328125, 0.0169219970703125, -0.0220489501953125, -0.040374755859375, 0.01016998291015625, 0.013763427734375, 0.0124359130859375, -0.0142669677734375, -0.035400390625, 0.0638427734375, 0.033233642578125, 0.0016260147094726562, 0.0170440673828125, 0.0213470458984375, 0.004772186279296875, -0.0150909423828125, 0.04412841796875, -0.0290069580078125, -0.050933837890625, 0.0193328857421875, 0.0020294189453125, -0.0267486572265625, 0.0086212158203125, -0.0097808837890625, -0.0028896331787109375, 0.01904296875, 0.048095703125, -0.045379638671875, 0.02435302734375, -0.0036106109619140625, -0.009552001953125, 0.0187225341796875, -0.00937652587890625, 0.0002168416976928711, 0.005344390869140625, 0.036590576171875, 0.04132080078125, -0.0008006095886230469, 0.03265380859375, 0.0283050537109375, -0.0252838134765625, -0.035308837890625, -0.01399993896484375, 0.0035686492919921875, -0.0270233154296875, 0.0170135498046875, 0.01157379150390625, -0.0150909423828125, -0.037017822265625, -0.0089569091796875, 0.040252685546875, -0.0115509033203125, -0.021575927734375, 0.06561279296875, -0.021728515625, 0.0203399658203125, 0.01291656494140625, -0.004058837890625, -0.004871368408203125, 0.05157470703125, -0.03680419921875, 0.03924560546875, 0.02239990234375, -0.021026611328125, -0.02899169921875, -0.0523681640625, 0.0198974609375, 0.040435791015625, -0.05926513671875, 0.033721923828125, -0.00154876708984375, -0.03240966796875, -0.01837158203125, -0.0049591064453125, 0.0789794921875, -0.0261077880859375, -0.0197601318359375, 0.0323486328125, 0.03466796875, -0.0302276611328125, -0.01100921630859375, 0.02191162109375, -0.029266357421875, 0.0278167724609375, -0.004299163818359375, 0.0167083740234375, -0.002777099609375, -0.032562255859375, -0.037445068359375, 0.06396484375, -0.00876617431640625, -0.0028362274169921875, 0.01093292236328125, 0.0215911865234375, -0.007537841796875, 0.01506805419921875, 0.0025386810302734375, 0.0465087890625, -0.006969451904296875, 0.021942138671875, -0.005168914794921875, 0.0067138671875, 0.006298065185546875, 0.00958251953125, -0.0275726318359375, -0.0165863037109375, 0.058563232421875, 0.00501251220703125, 0.047882080078125, 0.0634765625, 0.0210113525390625, -0.05841064453125, -0.0207672119140625, -0.01155853271484375, -0.01001739501953125, -0.0090179443359375, 0.024169921875, -0.03472900390625, -0.047027587890625, -0.005115509033203125, 0.01116943359375, 0.00447845458984375, 0.0411376953125, -0.040191650390625, -0.0330810546875, 0.044647216796875, 0.0066680908203125, 0.06463623046875, -0.0296630859375, 0.0307159423828125, 0.010772705078125, -0.0216522216796875, -0.0411376953125, -0.0195770263671875, 0.032318115234375, 0.0200347900390625, 0.00826263427734375, -0.02301025390625, -0.007411956787109375, 0.03228759765625, -0.00991058349609375, -0.017669677734375, 0.037841796875, -0.0165863037109375, -0.0017185211181640625, 0.00433349609375, 0.024627685546875, -0.0771484375, -0.06585693359375, 0.038665771484375, 0.035247802734375, -0.007801055908203125, -0.035797119140625, -0.00481414794921875, -0.00942230224609375, 0.01433563232421875, -0.042694091796875, -0.004085540771484375, -0.05487060546875, -0.022308349609375, 0.026580810546875, -0.01384735107421875, 0.007694244384765625, -0.00656890869140625, 0.0114898681640625, 0.00022327899932861328, 0.032257080078125, 0.01511383056640625, -0.0413818359375, 0.03875732421875, 0.007526397705078125, 0.03863525390625, -0.009124755859375, 0.059600830078125, -0.002300262451171875, -0.01552581787109375, 0.0065460205078125, 0.038818359375, 0.0013179779052734375, -0.0001271963119506836, -0.01488494873046875, -0.0139312744140625, -0.012420654296875, 0.0159149169921875, 0.028228759765625, 0.019012451171875, 0.0291595458984375, 0.01457977294921875, -0.019317626953125, -0.0027332305908203125, 0.029266357421875, -0.02032470703125, 0.033111572265625, -0.01238250732421875, 0.061248779296875, 0.050048828125, 0.01690673828125, -0.04241943359375, 0.03961181640625, 0.07781982421875, -0.0274200439453125, -0.005916595458984375, 0.0024623870849609375, -0.06329345703125, 0.051971435546875, 0.017608642578125, 0.0860595703125, 0.0077667236328125, -0.0203704833984375, -0.0167388916015625, 0.004047393798828125, -0.0220184326171875, 0.019134521484375, 0.034820556640625, -0.0205230712890625, 0.042755126953125, 0.045135498046875, -0.00838470458984375, 0.00975799560546875, -0.00902557373046875, 0.0178070068359375, -0.004276275634765625, 0.0244598388671875, 0.0295562744140625, 0.003322601318359375, 0.0188446044921875, 0.033477783203125, -0.018402099609375, 0.0176239013671875, -0.04632568359375, 0.03271484375, 0.0019369125366210938, 0.061981201171875, -0.0247955322265625, 0.06536865234375, 0.037017822265625, 0.026824951171875, 0.01175689697265625, 0.005741119384765625, -0.042633056640625, -0.074951171875, 0.0477294921875, -0.005992889404296875, 0.005802154541015625, 0.0670166015625, -0.0182647705078125, 0.0106353759765625, -0.0279693603515625, 0.05303955078125, -0.025787353515625, -0.0190277099609375, -0.0312042236328125, -0.0206451416015625, 0.02410888671875, 0.017425537109375, 0.019775390625, -0.0021686553955078125, 0.041015625, -0.0421142578125, 0.01143646240234375, -0.01174163818359375, -0.005157470703125, 0.0183563232421875, 0.060943603515625, -0.0188751220703125, 0.015228271484375, -0.01146697998046875, 0.005840301513671875, 0.00217437744140625, 0.0222930908203125, 0.00180816650390625, -0.06378173828125, -0.0240478515625, 0.01605224609375, 0.0377197265625, 0.0218963623046875, 0.01401519775390625, -0.028106689453125, -0.0143890380859375, -0.0250244140625, 0.0152435302734375, -0.0048828125, -0.004245758056640625, 0.0009632110595703125, 0.005840301513671875, -0.015838623046875, -0.0206146240234375, -0.0338134765625, -0.015594482421875, 0.037353515625, 0.00893402099609375, -0.060089111328125, -0.0055694580078125, -0.003238677978515625, 0.064208984375, -0.0196380615234375, 0.0225372314453125, -0.0291900634765625, 0.0135040283203125, -0.00850677490234375, -0.0322265625, -0.0460205078125, 0.036102294921875, -0.0195159912109375, 0.03436279296875, 0.034454345703125, -0.04742431640625, 0.037109375, 0.0384521484375, 0.04937744140625, 0.09649658203125, -0.000028133392333984375, -0.006649017333984375, 0.01163482666015625, 0.034912109375, 0.004291534423828125, -0.08563232421875, -0.03253173828125, -0.0211639404296875, 0.035552978515625, -0.054046630859375, 0.015960693359375, 0.0006442070007324219, -0.04827880859375, -0.0963134765625, 0.07537841796875, -0.03155517578125, -0.0311737060546875, -0.0276336669921875, -0.0006952285766601562, -0.004680633544921875, -0.0016937255859375, -0.016845703125, -0.0181884765625, -0.028717041015625, 0.03948974609375, 0.01259613037109375, 0.0242156982421875, 0.0150146484375, -0.00603485107421875, -0.035675048828125, 0.003795623779296875, 0.0014896392822265625, 0.01568603515625, -0.01042938232421875, 0.00789642333984375, 0.01091766357421875, 0.03704833984375, -0.0241851806640625, -0.0031890869140625, -0.01294708251953125, 0.006855010986328125, 0.005428314208984375, -0.0185546875, 0.01471710205078125, 0.001220703125, 0.0217437744140625, -0.04248046875, 0.0004978179931640625, 0.0011882781982421875, 0.003955841064453125, -0.0419921875, 0.033447265625, 0.03961181640625, -0.0140533447265625, -0.01120758056640625, 0.03240966796875, 0.04351806640625, -0.0306549072265625, -0.01348114013671875, -0.0236663818359375, -0.06378173828125, 0.005367279052734375, -0.04644775390625, -0.001552581787109375, -0.0224609375, -0.016632080078125, 0.026397705078125, 0.01145172119140625, 0.034271240234375, 0.0133514404296875, 0.01213836669921875, 0.033416748046875, 0.0872802734375, 0.02020263671875, 0.0460205078125, -0.07470703125, -0.00211334228515625, -0.01462554931640625, 0.0259552001953125, -0.034698486328125, -0.0254974365234375, -0.00018107891082763672, 0.0386962890625, -0.0022792816162109375, 0.06500244140625, -0.01024627685546875, 0.0187530517578125, 0.0016765594482421875, -0.02239990234375, -0.02386474609375, -0.019012451171875, -0.0291748046875, 0.010589599609375, 0.0311279296875, 0.0070343017578125, 0.07989501953125, -0.035430908203125, 0.0018243789672851562, 0.0193023681640625, -0.058746337890625, 0.01334381103515625, -0.0299835205078125, -0.059783935546875, -0.054107666015625, -0.0262908935546875 ]
c48caa372312052c4385a9326124da7a9e13f3e7
Wordpress Stackexchange Q: Wordpress will not operate correctly My website is ImASpy.com. If you click on the link, Findings, this takes you to my first Wordpress page. It appears to work fine until you click on comments, or you try to go to the about page, which is another Wordpress page. it stops working and usually gives a database error. Even worse, I cannot get into my Wordpress administration. Any idea what's going on? If you need details please let me know what you need. I can give you the entire Sql file or the wp-config.php if you need it. Thanks! A: You probably messed up with the config on the DB I would like the dump of the config table please, that way i can see the paths to your wp install (i had a similar problem which i solved by manually correcting the fields in DB) EDIT Run this sql query and let me know : UPDATE `wp_options` SET `option_value` = 'http://www.imaspy.com/wordpress' WHERE `option_name` = 'siteurl' OR `option_name` = 'home'
Q: Wordpress will not operate correctly My website is ImASpy.com. If you click on the link, Findings, this takes you to my first Wordpress page. It appears to work fine until you click on comments, or you try to go to the about page, which is another Wordpress page. it stops working and usually gives a database error. Even worse, I cannot get into my Wordpress administration. Any idea what's going on? If you need details please let me know what you need. I can give you the entire Sql file or the wp-config.php if you need it. Thanks! A: You probably messed up with the config on the DB I would like the dump of the config table please, that way i can see the paths to your wp install (i had a similar problem which i solved by manually correcting the fields in DB) EDIT Run this sql query and let me know : UPDATE `wp_options` SET `option_value` = 'http://www.imaspy.com/wordpress' WHERE `option_name` = 'siteurl' OR `option_name` = 'home' A: First decide which url you are going to use. The actual files are on http://www.imaspy.com/wordpress/ url. So you have to use that inorder use your wordpress. If you want to use the main domain url then you have to transfer all the files from the wordpress folder to the main root folder. Also change the following values to the database. Table name: wp_options Fileds: siteurl and home The value should not be imaspy/wordpress It should be http://www.imaspy.com/wordpress or the main domain name (You have to choose which location you are going to use. I hope this helps.
wordpress
{ "language": "en", "length": 268, "provenance": "stackexchange_00019.jsonl.gz:414970", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/34987" }
[ 0.032867431640625, -0.004451751708984375, -0.0027751922607421875, 0.0276031494140625, -0.00396728515625, -0.0543212890625, 0.042999267578125, -0.051422119140625, 0.0294342041015625, 0.0011539459228515625, -0.07635498046875, -0.0169525146484375, -0.0224456787109375, -0.0022640228271484375, -0.0255279541015625, -0.055816650390625, 0.028564453125, -0.0202178955078125, -0.0016422271728515625, -0.0166168212890625, -0.0087432861328125, -0.00829315185546875, 0.0293731689453125, 0.0345458984375, 0.005840301513671875, -0.01094818115234375, 0.10064697265625, -0.030059814453125, 0.020477294921875, -0.0216064453125, 0.02362060546875, -0.01175689697265625, 0.0195770263671875, 0.023956298828125, -0.0298919677734375, -0.0298004150390625, 0.03277587890625, 0.0015859603881835938, -0.01568603515625, 0.038726806640625, -0.0157470703125, 0.02178955078125, 0.055816650390625, 0.042266845703125, 0.005950927734375, -0.07666015625, 0.0237274169921875, -0.06866455078125, -0.01450347900390625, -0.0222625732421875, 0.034698486328125, 0.059722900390625, 0.05560302734375, -0.051025390625, -0.0006160736083984375, 0.00901031494140625, -0.006961822509765625, 0.005687713623046875, -0.00986480712890625, -0.002841949462890625, -0.0024471282958984375, 0.035369873046875, 0.00302886962890625, 0.024688720703125, -0.0084228515625, -0.027618408203125, 0.00531768798828125, 0.0196380615234375, -0.048828125, -0.01436614990234375, 0.0394287109375, -0.01099395751953125, -0.020294189453125, -0.0227508544921875, 0.0135345458984375, 0.0033721923828125, 0.0078125, -0.01267242431640625, -0.01541900634765625, 0.038330078125, 0.030914306640625, -0.005062103271484375, -0.041748046875, 0.00577545166015625, 0.018157958984375, 0.038177490234375, 0.0043182373046875, -0.0263214111328125, -0.044921875, 0.0120849609375, -0.033538818359375, -0.06622314453125, -0.006214141845703125, 0.0236358642578125, 0.0023193359375, 0.015045166015625, 0.02752685546875, 0.0039520263671875, -0.005451202392578125, -0.00493621826171875, 0.01348876953125, -0.044189453125, 0.037628173828125, -0.00521087646484375, 0.0099029541015625, -0.004772186279296875, -0.01666259765625, -0.005313873291015625, 0.044921875, 0.032867431640625, -0.00927734375, 0.0265350341796875, 0.00775146484375, -0.014373779296875, -0.0024127960205078125, -0.006031036376953125, -0.01535797119140625, 0.0016336441040039062, -0.007419586181640625, -0.01007080078125, 0.0174407958984375, 0.0421142578125, -0.04095458984375, -0.06402587890625, 0.01849365234375, -0.02410888671875, -0.0285491943359375, 0.01197052001953125, -0.0011110305786132812, -0.01319122314453125, -0.037017822265625, 0.020111083984375, 0.05316162109375, 0.035675048828125, 0.0130462646484375, -0.002044677734375, 0.008636474609375, 0.017669677734375, 0.009002685546875, -0.00009930133819580078, 0.036834716796875, -0.034912109375, 0.0013723373413085938, 0.018096923828125, 0.01953125, 0.0396728515625, 0.04132080078125, 0.0237884521484375, -0.0248870849609375, -0.048065185546875, 0.0347900390625, 0.0033054351806640625, 0.0233154296875, 0.00418853759765625, 0.037689208984375, -0.0662841796875, 0.029296875, -0.050933837890625, 0.038482666015625, -0.034942626953125, 0.00649261474609375, 0.00455474853515625, 0.04547119140625, -0.047088623046875, -0.019500732421875, -0.035125732421875, -0.09014892578125, -0.01129913330078125, 0.0034923553466796875, 0.0032291412353515625, -0.019561767578125, 0.0014371871948242188, 0.01348114013671875, 0.004314422607421875, 0.006343841552734375, 0.01248931884765625, -0.0015268325805664062, -0.01313018798828125, 0.0269775390625, 0.038909912109375, 0.004878997802734375, -0.02740478515625, 0.0204925537109375, -0.00756072998046875, -0.037872314453125, -0.0171661376953125, 0.006587982177734375, 0.0174560546875, 0.01462554931640625, 0.03009033203125, 0.0190277099609375, 0.002838134765625, -0.026763916015625, 0.06134033203125, 0.01995849609375, -0.043792724609375, -0.00530242919921875, -0.00040078163146972656, -0.00035119056701660156, -0.039031982421875, 0.0080413818359375, 0.0537109375, -0.02362060546875, -0.035614013671875, -0.08160400390625, 0.02203369140625, -0.0164642333984375, 0.06304931640625, 0.0157318115234375, 0.0245819091796875, 0.00848388671875, 0.002910614013671875, -0.0270843505859375, -0.0025310516357421875, -0.036041259765625, -0.006771087646484375, -0.042938232421875, 0.07177734375, -0.0230865478515625, 0.042022705078125, -0.043212890625, -0.09429931640625, -0.007068634033203125, -0.006046295166015625, 0.0274810791015625, -0.017913818359375, -0.01568603515625, -0.021148681640625, 0.027801513671875, -0.01381683349609375, -0.0019369125366210938, 0.0290679931640625, 0.012298583984375, 0.01560211181640625, -0.0450439453125, -0.0243072509765625, -0.046417236328125, -0.055023193359375, 0.017791748046875, 0.06353759765625, 0.047088623046875, 0.005542755126953125, -0.008209228515625, -0.0220184326171875, -0.0010986328125, -0.11651611328125, -0.007251739501953125, -0.01378631591796875, 0.0187835693359375, 0.039337158203125, 0.0030117034912109375, -0.0227508544921875, 0.02655029296875, -0.05108642578125, -0.0002665519714355469, 0.021148681640625, -0.0469970703125, 0.029144287109375, -0.01134490966796875, -0.0205535888671875, 0.002986907958984375, -0.058685302734375, 0.006198883056640625, -0.04156494140625, 0.01195526123046875, -0.0159454345703125, -0.00731658935546875, -0.0310821533203125, -0.035125732421875, 0.017608642578125, 0.025054931640625, -0.06097412109375, -0.0128631591796875, 0.0029087066650390625, 0.04986572265625, -0.0225830078125, -0.04205322265625, 0.0035457611083984375, -0.0205841064453125, 0.007518768310546875, -0.0119171142578125, 0.0176849365234375, -0.060760498046875, -0.00868988037109375, 0.001499176025390625, -0.05133056640625, -0.0197601318359375, 0.031768798828125, 0.036590576171875, -0.0103759765625, 0.03070068359375, 0.0152130126953125, -0.00156402587890625, 0.040771484375, -0.0167083740234375, -0.03912353515625, 0.0386962890625, -0.0247344970703125, 0.0306243896484375, -0.043975830078125, 0.058502197265625, 0.0465087890625, -0.040985107421875, 0.026580810546875, -0.01557159423828125, 0.001255035400390625, 0.015350341796875, -0.02801513671875, -0.033477783203125, -0.007122039794921875, -0.06719970703125, -0.0038890838623046875, 0.03997802734375, 0.05181884765625, 0.0098876953125, -0.036224365234375, -0.0025691986083984375, 0.03729248046875, -0.071533203125, -0.0797119140625, -0.10650634765625, -0.030670166015625, 0.02423095703125, -0.0164031982421875, 0.015594482421875, 0.0169219970703125, -0.01145172119140625, 0.04364013671875, -0.01345062255859375, -0.0435791015625, -0.054962158203125, -0.0880126953125, -0.093017578125, -0.00443267822265625, 0.01904296875, 0.033660888671875, 0.006381988525390625, 0.053924560546875, 0.03228759765625, -0.060089111328125, 0.0182037353515625, -0.008056640625, -0.034393310546875, 0.045196533203125, -0.00925445556640625, 0.003131866455078125, -0.0246124267578125, 0.0197296142578125, 0.05999755859375, -0.004940032958984375, -0.0159149169921875, -0.0281524658203125, -0.0016231536865234375, 0.0103759765625, 0.03179931640625, -0.01247406005859375, -0.00830841064453125, 0.0386962890625, 0.01324462890625, -0.014556884765625, 0.00431060791015625, 0.0186767578125, -0.01611328125, -0.0179901123046875, 0.0163116455078125, -0.0282745361328125, -0.0238189697265625, -0.015228271484375, -0.0052490234375, 0.004154205322265625, 0.037750244140625, -0.032470703125, 0.006099700927734375, 0.0020389556884765625, -0.020111083984375, -0.03485107421875, 0.04296875, -0.0166168212890625, -0.03143310546875, 0.01367950439453125, -0.0213775634765625, -0.02032470703125, -0.000728607177734375, -0.043853759765625, -0.048431396484375, 0.038604736328125, -0.027984619140625, -0.0238494873046875, -0.025299072265625, -0.0081787109375, 0.0023956298828125, 0.056793212890625, -0.03125, 0.004802703857421875, 0.0164337158203125, -0.005985260009765625, -0.01178741455078125, 0.00688934326171875, -0.080810546875, -0.0097198486328125, -0.0274658203125, 0.004993438720703125, -0.01001739501953125, -0.0090484619140625, -0.02093505859375, -0.0179901123046875, -0.0142059326171875, -0.03900146484375, -0.0009694099426269531, 0.0016994476318359375, -0.001033782958984375, 0.0124969482421875, -0.0102081298828125, 0.0027027130126953125, 0.01300048828125, -0.030487060546875, -0.10357666015625, -0.050201416015625, 0.050079345703125, 0.06597900390625, -0.022186279296875, -0.01214599609375, -0.03570556640625, 0.0628662109375, -0.02923583984375, 0.034912109375, 0.012054443359375, 0.040191650390625, 0.005931854248046875, -0.01300048828125, 0.005931854248046875, -0.021392822265625, 0.00521087646484375, -0.0287628173828125, -0.03558349609375, -0.020416259765625, -0.036224365234375, 0.015380859375, 0.003055572509765625, -0.01537322998046875, 0.01468658447265625, -0.0169525146484375, -0.0299835205078125, 0.02679443359375, -0.032806396484375, 0.0007047653198242188, -0.0186004638671875, -0.0028133392333984375, 0.05157470703125, -0.038238525390625, 0.0033359527587890625, 0.0013980865478515625, 0.09234619140625, 0.0095672607421875, -0.0006966590881347656, -0.004703521728515625, -0.0129852294921875, 0.0163116455078125, 0.02874755859375, 0.011322021484375, 0.004482269287109375, -0.0101470947265625, 0.0208740234375, 0.0008878707885742188, -0.0271759033203125, 0.01059722900390625, 0.045379638671875, 0.043487548828125, 0.00702667236328125, -0.01300811767578125, 0.0149993896484375, 0.01442718505859375, -0.0207061767578125, -0.013671875, 0.0009336471557617188, 0.0026340484619140625, 0.0163421630859375, 0.01078033447265625, -0.00899505615234375, -0.0240478515625, -0.032623291015625, 0.0123138427734375, -0.059661865234375, 0.0201416015625, 0.005535125732421875, -0.005016326904296875, 0.0199432373046875, 0.019378662109375, -0.033538818359375, -0.0009822845458984375, 0.048614501953125, -0.0206756591796875, 0.01097869873046875, 0.0071563720703125, -0.041351318359375, -0.049835205078125, -0.01342010498046875, 0.0653076171875, 0.00011992454528808594, -0.051727294921875, 0.01099395751953125, -0.02655029296875, 0.00754547119140625, 0.05279541015625, 0.00672149658203125, 0.0274810791015625, -0.0027294158935546875, -0.0115203857421875, -0.003871917724609375, 0.0222015380859375, -0.040252685546875, -0.0241546630859375, -0.047760009765625, -0.006137847900390625, -0.0204315185546875, 0.007732391357421875, 0.0245513916015625, 0.0074462890625, 0.003826141357421875, -0.021484375, -0.0069732666015625, 0.005153656005859375, 0.05657958984375, 0.0186767578125, -0.019622802734375, 0.018310546875, 0.0182037353515625, 0.042266845703125, -0.04205322265625, -0.0182342529296875, 0.00577545166015625, 0.04608154296875, 0.008514404296875, 0.00792694091796875, 0.01168060302734375, -0.01439666748046875, 0.007221221923828125, 0.028228759765625, -0.007457733154296875, -0.05377197265625, 0.005779266357421875, 0.044830322265625, 0.02978515625, -0.0546875, -0.0006623268127441406, 0.060150146484375, 0.013427734375, 0.048583984375, 0.00908660888671875, -0.0024261474609375, -0.0006756782531738281, -0.006847381591796875, 0.07861328125, -0.022613525390625, -0.01251220703125, -0.0408935546875, 0.0241546630859375, -0.052276611328125, 0.0015611648559570312, 0.0491943359375, -0.0264129638671875, -0.0200653076171875, -0.0125885009765625, 0.0197296142578125, -0.06494140625, 0.0153045654296875, 0.031524658203125, 0.0269317626953125, -0.08135986328125, 0.0167388916015625, -0.0274810791015625, 0.0023365020751953125, 0.00661468505859375, -0.050567626953125, -0.057373046875, -0.035614013671875, 0.0027141571044921875, -0.008087158203125, -0.01514434814453125, -0.0153350830078125, -0.0267181396484375, 0.052886962890625, 0.04241943359375, 0.01453399658203125, -0.043792724609375, 0.095947265625, 0.0019550323486328125, 0.0797119140625, -0.00658416748046875, 0.03778076171875, -0.0066986083984375, -0.00516510009765625, 0.032562255859375, -0.02239990234375, -0.05889892578125, -0.040618896484375, -0.037567138671875, 0.04656982421875, 0.07025146484375, -0.020233154296875, -0.00449371337890625, -0.0097198486328125, 0.00751495361328125, -0.02093505859375, 0.0401611328125, -0.0024871826171875, -0.00601959228515625, 0.00749969482421875, -0.021942138671875, -0.01055908203125, -0.0118865966796875, 0.00838470458984375, -0.0005636215209960938, -0.01776123046875, -0.01477813720703125, 0.014801025390625, -0.03778076171875, 0.053436279296875, 0.031280517578125, 0.013671875, 0.04107666015625, 0.004711151123046875, 0.02752685546875, -0.01513671875, 0.0149383544921875, -0.049530029296875, 0.0014505386352539062, 0.005092620849609375, -0.0149993896484375, -0.00235748291015625, -0.0211181640625, 0.0014123916625976562, 0.018341064453125, 0.060821533203125, 0.0667724609375, -0.063232421875, 0.00853729248046875, 0.00928497314453125, -0.0219573974609375, 0.01763916015625, -0.04150390625, 0.0007309913635253906, 0.010284423828125, 0.058746337890625, 0.01052093505859375, -0.031494140625, 0.015838623046875, 0.00798797607421875, 0.00397491455078125, -0.0221405029296875, 0.0521240234375, -0.0013332366943359375, -0.058868408203125, 0.007396697998046875, 0.042877197265625, -0.013946533203125, 0.0246124267578125, -0.0223846435546875, 0.0258331298828125, -0.053436279296875, -0.052398681640625, -0.0022182464599609375, -0.03289794921875, -0.04156494140625, 0.012359619140625, 0.0121307373046875, 0.00197601318359375, 0.0269622802734375, -0.007389068603515625, -0.00313568115234375, 0.0160980224609375, -0.00653076171875, 0.033203125, -0.024993896484375, 0.01340484619140625, 0.021392822265625, -0.04296875, 0.0083160400390625, 0.007259368896484375, -0.0269622802734375, -0.0187225341796875, -0.0312042236328125, 0.06573486328125, -0.01580810546875, -0.00676727294921875, 0.018951416015625, 0.0091094970703125, -0.011138916015625, -0.002838134765625, 0.0257415771484375, -0.026519775390625, 0.006744384765625, 0.0173492431640625, -0.01210784912109375, -0.0176544189453125, -0.00791168212890625, -0.025848388671875, 0.034912109375, 0.0023136138916015625, -0.045806884765625, 0.00577545166015625, 0.021942138671875, -0.039337158203125, -0.003009796142578125, -0.0204620361328125, 0.043548583984375, -0.00421142578125, 0.0594482421875, -0.048736572265625, -0.0173797607421875, 0.0244598388671875, 0.0511474609375, -0.00363922119140625, -0.0065155029296875, -0.01525115966796875, 0.0034942626953125, 0.03936767578125, 0.0255279541015625, 0.013763427734375, 0.0197601318359375, -0.02752685546875, -0.0035076141357421875, 0.00962066650390625, -0.02227783203125, 0.018798828125, 0.0024013519287109375, -0.03717041015625, -0.0019817352294921875, -0.006893157958984375, -0.01160430908203125, -0.003917694091796875, 0.026031494140625, -0.0233154296875, -0.0087432861328125, 0.0152130126953125, -0.0185394287109375, 0.00472259521484375, 0.00890350341796875, 0.042694091796875, -0.061370849609375, 0.0005831718444824219, -0.029022216796875, 0.045074462890625, 0.01035308837890625, -0.0182342529296875, -0.004421234130859375, -0.006855010986328125, 0.00795745849609375, 0.0017251968383789062, -0.032501220703125, 0.0222320556640625, 0.0140838623046875, 0.029815673828125, 0.00949859619140625, 0.038818359375, -0.04541015625, -0.0308685302734375, 0.03759765625, 0.0640869140625, -0.026214599609375, 0.02789306640625, 0.0218505859375, 0.00797271728515625, -0.004039764404296875, -0.04736328125, 0.0211944580078125, 0.06097412109375, 0.035675048828125, -0.00775909423828125, 0.00388336181640625, 0.0198516845703125, 0.006359100341796875, 0.0010557174682617188, 0.043426513671875, -0.03857421875, -0.005664825439453125, 0.0010004043579101562, -0.001617431640625, 0.01038360595703125, 0.026947021484375, -0.0020236968994140625, 0.033447265625, -0.027435302734375, 0.005863189697265625, -0.00315093994140625, 0.072265625, -0.051849365234375, 0.010284423828125, -0.06103515625, -0.1064453125, -0.01007843017578125, 0.04705810546875, -0.0341796875, 0.0250244140625, 0.035003662109375, 0.046112060546875, -0.0145416259765625, -0.0297393798828125, 0.048004150390625, -0.0221099853515625, -0.06536865234375, -0.00559234619140625, -0.0301513671875, 0.04205322265625, 0.0155792236328125, 0.0010013580322265625, 0.0869140625, -0.0106658935546875, 0.0038509368896484375, -0.0206451416015625, 0.01873779296875, -0.0247344970703125, 0.0626220703125, 0.032196044921875, 0.0171966552734375, 0.038970947265625, -0.060516357421875, -0.041290283203125, -0.01238250732421875, 0.004364013671875, 0.007007598876953125, 0.035980224609375, 0.041656494140625, -0.031646728515625, -0.0188751220703125, -0.0350341796875, 0.00878143310546875, 0.0076751708984375, 0.0120086669921875, -0.0252685546875, -0.016510009765625, -0.0280609130859375, 0.009979248046875, -0.0026874542236328125, -0.01418304443359375, 0.04925537109375, -0.015960693359375, 0.11053466796875, -0.06353759765625, 0.0220489501953125, -0.0204620361328125, -0.01515960693359375, -0.00038051605224609375, 0.0165557861328125, -0.0232086181640625, 0.0266876220703125, -0.0005812644958496094, -0.01885986328125, -0.01197052001953125, 0.003955841064453125, 0.0171966552734375, -0.00884246826171875, 0.0006971359252929688, -0.056915283203125, 0.031585693359375, 0.013580322265625, 0.0305938720703125, -0.01279449462890625, -0.044708251953125, -0.022003173828125, 0.0028858184814453125, 0.01117706298828125, 0.051910400390625, 0.045501708984375, 0.022491455078125, -0.0181427001953125, -0.008697509765625, 0.0017757415771484375, -0.03338623046875, 0.00659942626953125, 0.03582763671875, -0.015106201171875, -0.04986572265625, -0.01503753662109375, -0.0233612060546875, -0.0296478271484375, 0.0098724365234375, 0.031982421875, -0.01012420654296875, -0.000017642974853515625, -0.02606201171875, 0.0116729736328125, 0.016265869140625, -0.011474609375, 0.012481689453125, -0.01141357421875, -0.0003120899200439453, 0.020782470703125, -0.004917144775390625, -0.000759124755859375, 0.019989013671875, -0.036712646484375, -0.01352691650390625, 0.0225982666015625, -0.048675537109375, 0.0399169921875, -0.0090179443359375, 0.021270751953125, 0.018829345703125, -0.048980712890625, 0.00734710693359375, -0.016143798828125, 0.0367431640625, -0.0176239013671875, -0.0166473388671875, 0.0137786865234375, 0.04443359375, -0.0328369140625, -0.033294677734375, -0.031585693359375, 0.0014371871948242188, -0.03466796875, 0.031463623046875, 0.040557861328125, -0.0274200439453125, -0.008575439453125, 0.0028514862060546875, 0.0117340087890625, 0.05419921875, 0.01175689697265625, -0.007495880126953125, -0.0175323486328125, 0.00307464599609375, -0.0170135498046875, -0.06427001953125, 0.01535797119140625, -0.059539794921875, -0.027679443359375, -0.003948211669921875, 0.005489349365234375, 0.0142669677734375, -0.03338623046875, -0.046539306640625, 0.0040283203125, 0.0010995864868164062, -0.02789306640625, -0.0408935546875, -0.03302001953125, -0.0036182403564453125, -0.018035888671875, -0.0263214111328125, -0.0203094482421875, -0.033111572265625, 0.04449462890625, 0.0111846923828125, 0.0180816650390625, 0.0219268798828125, 0.0025539398193359375, -0.0287933349609375, 0.004787445068359375, -0.003482818603515625, -0.00948333740234375, 0.0212554931640625, 0.0005216598510742188, 0.0038089752197265625, 0.031402587890625, -0.010223388671875, -0.04638671875, -0.0013790130615234375, -0.06890869140625, 0.023834228515625, 0.01202392578125, -0.0364990234375, -0.0012960433959960938, -0.00434112548828125, 0.06719970703125, 0.0123291015625, -0.02801513671875, -0.0521240234375, -0.048614501953125, -0.004680633544921875, -0.02960205078125, 0.028594970703125, -0.11181640625, -0.00710296630859375, 0.03997802734375, -0.00344085693359375, 0.032623291015625, -0.029632568359375, -0.003711700439453125, -0.005828857421875, 0.0064544677734375, -0.0207977294921875, -0.008636474609375, -0.083740234375, 0.054473876953125, -0.0265045166015625, -0.01171112060546875, 0.00011998414993286133, 0.055389404296875, 0.00811004638671875, 0.01195526123046875, -0.0015506744384765625, -0.01220703125, -0.033782958984375, -0.006526947021484375, 0.0025920867919921875, 0.044586181640625, -0.014923095703125, -0.039794921875, 0.0389404296875, 0.018951416015625, -0.02178955078125, 0.026580810546875, 0.0360107421875, 0.004634857177734375, -0.044586181640625, 0.02740478515625, 0.03265380859375, 0.017669677734375, 0.0016794204711914062, 0.05133056640625, -0.0028133392333984375, -0.043914794921875, 0.0163421630859375, -0.05010986328125, 0.025146484375, 0.00412750244140625, 0.07220458984375, 0.0009398460388183594, 0.0023040771484375, 0.01406097412109375, 0.01163482666015625, -0.008087158203125 ]
9ad19758617a066a02258800e47f98ccd6ab5f19
Wordpress Stackexchange Q: Error when updating plugins by FTP "Unable to locate WordPress Content directory (wp-content)." I run apache2 on Ubuntu, i'm sure there is a configuration or permission problem causing this. When I attempt to update plugins through the admin control panel, after I enter the FTP login/pass and click Proceed. I get the error "Unable to locate WordPress Content directory (wp-content)." And wp-content does exist and have proper permissions from the default install. A: I ended up using code from this post on WordPress.org Place this into my wp-config.php file if(is_admin()) { add_filter('filesystem_method', create_function('$a', 'return "direct";' )); define( 'FS_CHMOD_DIR', 0751 ); }
Q: Error when updating plugins by FTP "Unable to locate WordPress Content directory (wp-content)." I run apache2 on Ubuntu, i'm sure there is a configuration or permission problem causing this. When I attempt to update plugins through the admin control panel, after I enter the FTP login/pass and click Proceed. I get the error "Unable to locate WordPress Content directory (wp-content)." And wp-content does exist and have proper permissions from the default install. A: I ended up using code from this post on WordPress.org Place this into my wp-config.php file if(is_admin()) { add_filter('filesystem_method', create_function('$a', 'return "direct";' )); define( 'FS_CHMOD_DIR', 0751 ); } A: The FTP user account likely does not have access to the wp-content directory. Are you able to access wp-content using an FTP client with the same user account? Another solution is to change the owner of wp-content to www-data. You can do this from the command line by running chown www-data:www-data wp-content/ -R A: Can you try changing ownership via SSH or sFTP. Here is the command: chown -R username * replace username with your actual primary username that you use to login to your cPanel or FTP. Once you have done this please change the permission of your wp-content as mentiones by @Chris_O A: What resolved for me on Lubuntu 14 was the following: chown www-data:www-data /var/www/html -R
wordpress
{ "language": "en", "length": 222, "provenance": "stackexchange_00019.jsonl.gz:414980", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35023" }
[ 0.023895263671875, -0.0135345458984375, 0.01419830322265625, 0.0245208740234375, -0.02252197265625, -0.033935546875, 0.0460205078125, -0.0601806640625, 0.0236358642578125, 0.03692626953125, -0.03985595703125, 0.0012302398681640625, 0.0201568603515625, -0.007244110107421875, -0.02337646484375, -0.01271820068359375, 0.00814056396484375, -0.004825592041015625, 0.0229339599609375, -0.022064208984375, 0.028045654296875, -0.00214385986328125, 0.0208282470703125, -0.002788543701171875, -0.0120849609375, 0.0228118896484375, 0.08184814453125, -0.0208892822265625, -0.007129669189453125, -0.0298004150390625, 0.0018987655639648438, 0.002780914306640625, 0.033538818359375, 0.011322021484375, -0.052459716796875, -0.030517578125, -0.006641387939453125, -0.0015249252319335938, -0.03460693359375, 0.026641845703125, 0.01389312744140625, -0.0094146728515625, 0.0565185546875, 0.06707763671875, 0.017547607421875, -0.05859375, 0.0267486572265625, -0.07928466796875, 0.01580810546875, 0.022003173828125, -0.01282501220703125, 0.00024437904357910156, -0.0010395050048828125, -0.0296630859375, 0.00946044921875, -0.007221221923828125, 0.01238250732421875, 0.040313720703125, 0.002475738525390625, -0.064453125, -0.02349853515625, 0.031097412109375, 0.02508544921875, 0.062408447265625, -0.0149383544921875, 0.004344940185546875, 0.043853759765625, 0.0025539398193359375, -0.060089111328125, -0.00681304931640625, 0.043701171875, -0.0106048583984375, 0.0095977783203125, -0.002437591552734375, 0.054046630859375, -0.0244903564453125, -0.00897216796875, -0.004810333251953125, 0.0185089111328125, 0.047393798828125, 0.039215087890625, 0.03204345703125, -0.016571044921875, -0.00724029541015625, 0.0021495819091796875, 0.0227203369140625, -0.009979248046875, -0.037811279296875, -0.0183258056640625, -0.005523681640625, -0.0270233154296875, -0.0036678314208984375, -0.0017175674438476562, 0.00823211669921875, -0.0377197265625, 0.00997161865234375, 0.03900146484375, 0.074951171875, -0.00989532470703125, 0.0283355712890625, -0.011016845703125, -0.043792724609375, 0.045928955078125, -0.059295654296875, -0.01282501220703125, 0.028564453125, 0.0196990966796875, 0.00293731689453125, 0.0210418701171875, 0.0170135498046875, 0.00093841552734375, 0.026458740234375, 0.00011467933654785156, -0.034912109375, -0.00861358642578125, 0.0285491943359375, -0.01873779296875, 0.0084381103515625, 0.01514434814453125, 0.017974853515625, -0.00615692138671875, 0.02105712890625, -0.055694580078125, -0.00839996337890625, -0.0101318359375, -0.039276123046875, -0.0025424957275390625, 0.037506103515625, -0.01248931884765625, 0.017303466796875, -0.0396728515625, 0.0186920166015625, 0.061614990234375, 0.008941650390625, -0.0039043426513671875, -0.014984130859375, 0.01306915283203125, 0.04119873046875, 0.0032978057861328125, 0.0053558349609375, 0.006587982177734375, 0.0135040283203125, 0.042572021484375, -0.0229949951171875, 0.0087127685546875, 0.002712249755859375, 0.0162811279296875, 0.029388427734375, -0.006458282470703125, -0.03662109375, 0.0169219970703125, 0.0178985595703125, 0.039642333984375, -0.00887298583984375, 0.01526641845703125, -0.045196533203125, 0.0577392578125, -0.050079345703125, -0.00858306884765625, -0.0667724609375, 0.030792236328125, -0.0037822723388671875, 0.00949859619140625, 0.0018892288208007812, -0.0142669677734375, -0.007221221923828125, -0.036102294921875, 0.002857208251953125, 0.0048828125, -0.0276336669921875, -0.01488494873046875, -0.033935546875, -0.018646240234375, -0.0091400146484375, -0.00039839744567871094, 0.04095458984375, 0.030853271484375, -0.001949310302734375, 0.015777587890625, 0.06201171875, 0.0148773193359375, -0.002964019775390625, 0.06134033203125, -0.0034084320068359375, -0.01953125, 0.002040863037109375, 0.01142120361328125, -0.0028781890869140625, 0.00888824462890625, -0.00362396240234375, 0.05108642578125, 0.0333251953125, -0.031494140625, 0.026885986328125, -0.044952392578125, 0.00478363037109375, -0.01079559326171875, 0.054656982421875, -0.0262603759765625, -0.02496337890625, -0.0100250244140625, 0.02044677734375, -0.0255279541015625, 0.017822265625, -0.022674560546875, -0.0096282958984375, -0.0014619827270507812, 0.0169525146484375, 0.059478759765625, 0.013275146484375, -0.025970458984375, 0.00009554624557495117, 0.0245513916015625, -0.08489990234375, -0.070068359375, 0.020416259765625, -0.054107666015625, 0.0308990478515625, -0.007076263427734375, 0.09832763671875, -0.039337158203125, -0.01448822021484375, -0.045440673828125, -0.07366943359375, 0.01019287109375, 0.008087158203125, -0.024261474609375, 0.005584716796875, 0.0262451171875, -0.0032711029052734375, 0.03717041015625, 0.01195526123046875, -0.034332275390625, 0.01210784912109375, -0.01517486572265625, -0.0133056640625, -0.01593017578125, -0.06591796875, 0.0321044921875, 0.044647216796875, 0.0543212890625, 0.052490234375, -0.00727081298828125, -0.0108642578125, 0.0784912109375, -0.061859130859375, -0.00499725341796875, -0.0046234130859375, 0.04412841796875, 0.03167724609375, -0.0118865966796875, -0.034881591796875, 0.0462646484375, -0.032501220703125, 0.032012939453125, 0.031402587890625, -0.01213836669921875, -0.0067596435546875, -0.002605438232421875, -0.019622802734375, 0.01154327392578125, -0.07073974609375, -0.04705810546875, -0.01873779296875, 0.00907135009765625, 0.00263214111328125, 0.01351165771484375, 0.013763427734375, -0.007049560546875, -0.00029921531677246094, 0.0133209228515625, -0.0228118896484375, 0.0130462646484375, 0.049102783203125, 0.003997802734375, -0.0020236968994140625, -0.04156494140625, -0.0037441253662109375, 0.0247344970703125, 0.0292510986328125, -0.035858154296875, -0.00750732421875, -0.004146575927734375, -0.0007138252258300781, -0.0325927734375, -0.052459716796875, 0.0323486328125, 0.00042128562927246094, 0.0204315185546875, -0.0178070068359375, 0.0235137939453125, 0.000698089599609375, -0.0450439453125, 0.068115234375, -0.021026611328125, -0.040496826171875, 0.0904541015625, -0.02471923828125, 0.0138702392578125, -0.01364898681640625, 0.05194091796875, 0.03704833984375, 0.00983428955078125, -0.030181884765625, 0.0218048095703125, 0.0180816650390625, 0.0294342041015625, 0.007335662841796875, -0.005893707275390625, 0.0182037353515625, -0.0474853515625, 0.000530242919921875, 0.025390625, -0.00658416748046875, -0.0013780593872070312, -0.0413818359375, -0.031951904296875, -0.006473541259765625, -0.1519775390625, -0.122314453125, -0.015716552734375, -0.05181884765625, 0.0212554931640625, -0.006992340087890625, -0.0272674560546875, -0.01372528076171875, 0.017974853515625, 0.00757598876953125, 0.0038242340087890625, -0.0269317626953125, -0.060577392578125, -0.07354736328125, -0.07623291015625, -0.0185699462890625, -0.0047760009765625, 0.0166473388671875, 0.00531768798828125, 0.04644775390625, -0.0054779052734375, -0.09234619140625, -0.03814697265625, 0.06683349609375, -0.0200042724609375, -0.0032939910888671875, -0.0101776123046875, -0.0010738372802734375, -0.006366729736328125, 0.0028934478759765625, 0.07177734375, 0.0180206298828125, -0.02996826171875, -0.01451873779296875, 0.00646209716796875, -0.059539794921875, 0.0091400146484375, 0.0014934539794921875, -0.01117706298828125, -0.053802490234375, -0.0017709732055664062, -0.08184814453125, 0.0252227783203125, -0.027099609375, -0.035369873046875, 0.044219970703125, 0.0201873779296875, -0.0176544189453125, -0.01171112060546875, -0.00811767578125, 0.0224151611328125, 0.04693603515625, 0.0211029052734375, 0.00913238525390625, -0.01250457763671875, -0.0211639404296875, -0.0267486572265625, -0.0225677490234375, 0.048736572265625, 0.00632476806640625, -0.02337646484375, 0.01284027099609375, 0.00385284423828125, -0.02667236328125, 0.004962921142578125, -0.06292724609375, -0.0570068359375, 0.04913330078125, -0.0269622802734375, -0.01128387451171875, -0.04669189453125, -0.0200347900390625, -0.022430419921875, 0.07672119140625, -0.03167724609375, -0.0289459228515625, -0.00334930419921875, 0.0283660888671875, -0.0296173095703125, -0.039031982421875, -0.0050048828125, -0.0169525146484375, -0.01206207275390625, -0.0146331787109375, -0.0146636962890625, -0.0196533203125, -0.00013327598571777344, -0.063720703125, -0.0051422119140625, -0.0305328369140625, 0.034271240234375, -0.05218505859375, 0.0284881591796875, -0.00496673583984375, -0.00823974609375, -0.032684326171875, -0.033966064453125, -0.0195770263671875, -0.08416748046875, -0.018341064453125, -0.01202392578125, 0.0435791015625, 0.0108489990234375, 0.0081329345703125, -0.0266571044921875, 0.04705810546875, 0.0003993511199951172, 0.028411865234375, -0.0122833251953125, -0.0015888214111328125, 0.000698089599609375, -0.01215362548828125, 0.007785797119140625, -0.01300811767578125, -0.005619049072265625, -0.038299560546875, -0.0175628662109375, 0.0026569366455078125, -0.03228759765625, 0.015655517578125, -0.0113372802734375, -0.0144195556640625, -0.00646209716796875, -0.0087738037109375, -0.059112548828125, 0.0027675628662109375, -0.0377197265625, 0.01146697998046875, -0.00586700439453125, -0.033599853515625, 0.07958984375, -0.028167724609375, -0.0137939453125, -0.01012420654296875, 0.08056640625, 0.01454925537109375, -0.024169921875, -0.026092529296875, 0.00841522216796875, 0.0355224609375, 0.039154052734375, 0.0272979736328125, 0.02978515625, -0.00882720947265625, 0.00533294677734375, 0.037200927734375, -0.0208740234375, 0.01396942138671875, 0.0178375244140625, 0.027099609375, -0.0300445556640625, 0.0078125, 0.00902557373046875, 0.01470184326171875, -0.0005850791931152344, -0.0111541748046875, 0.0175323486328125, -0.016143798828125, -0.0085906982421875, 0.0260772705078125, -0.024505615234375, -0.00756072998046875, -0.06719970703125, 0.026031494140625, -0.002819061279296875, 0.006603240966796875, 0.0294952392578125, -0.01508331298828125, 0.043365478515625, 0.00936126708984375, -0.04534912109375, 0.010467529296875, -0.00688934326171875, 0.01526641845703125, -0.008087158203125, 0.0186920166015625, -0.044891357421875, -0.015899658203125, -0.0169525146484375, 0.0462646484375, -0.00008809566497802734, -0.061553955078125, -0.0008449554443359375, -0.0127105712890625, -0.01093292236328125, 0.0274810791015625, 0.0015039443969726562, 0.00775909423828125, -0.0162811279296875, -0.0155792236328125, -0.0056610107421875, 0.0064239501953125, -0.035369873046875, -0.016998291015625, 0.0280303955078125, -0.0179595947265625, -0.00611114501953125, 0.019317626953125, 0.0225067138671875, 0.01277923583984375, 0.0023746490478515625, -0.016998291015625, -0.0092315673828125, -0.0233306884765625, 0.034454345703125, 0.034576416015625, -0.0311126708984375, 0.005481719970703125, -0.0026035308837890625, 0.0236053466796875, -0.0333251953125, 0.017669677734375, -0.00251007080078125, 0.03350830078125, -0.0225372314453125, -0.044403076171875, 0.048492431640625, -0.042022705078125, -0.00225830078125, 0.01021575927734375, -0.035369873046875, -0.061248779296875, 0.0006384849548339844, 0.005229949951171875, 0.007076263427734375, -0.0487060546875, -0.000797271728515625, -0.0225830078125, -0.035552978515625, -0.03448486328125, 0.03692626953125, -0.05767822265625, -0.00872039794921875, -0.0035800933837890625, 0.006748199462890625, -0.01171875, -0.0220184326171875, 0.007568359375, 0.01010894775390625, -0.016021728515625, -0.01000213623046875, 0.052093505859375, -0.0232086181640625, 0.0292205810546875, -0.028350830078125, -0.003345489501953125, -0.01861572265625, 0.0164794921875, 0.0160369873046875, 0.01271820068359375, -0.0635986328125, 0.0261383056640625, -0.051116943359375, -0.0136260986328125, 0.006694793701171875, -0.02740478515625, -0.045623779296875, -0.028289794921875, 0.003948211669921875, 0.004947662353515625, -0.0169677734375, -0.01371002197265625, -0.0246124267578125, 0.031463623046875, 0.0213470458984375, 0.027435302734375, -0.0236358642578125, 0.036773681640625, 0.0282745361328125, 0.009735107421875, 0.00879669189453125, 0.025390625, 0.0129241943359375, -0.0277252197265625, 0.00858306884765625, -0.0239715576171875, -0.00794219970703125, -0.01148223876953125, 0.032958984375, 0.0008902549743652344, 0.007534027099609375, -0.0006108283996582031, -0.004825592041015625, -0.01363372802734375, 0.006439208984375, -0.016387939453125, 0.0404052734375, -0.0200958251953125, -0.01800537109375, 0.006763458251953125, -0.033416748046875, 0.0312347412109375, -0.0005106925964355469, 0.00365447998046875, 0.016510009765625, -0.04388427734375, 0.00516510009765625, 0.05792236328125, -0.0236053466796875, 0.050872802734375, 0.05914306640625, -0.0001156926155090332, 0.04132080078125, 0.017822265625, 0.006710052490234375, -0.003269195556640625, -0.01251983642578125, 0.0220947265625, 0.01454925537109375, 0.07177734375, 0.01250457763671875, -0.0019083023071289062, 0.058258056640625, -0.035552978515625, 0.027679443359375, 0.03472900390625, 0.04595947265625, -0.05029296875, 0.01953125, 0.0019435882568359375, -0.0181427001953125, 0.01448822021484375, -0.00836944580078125, -0.023590087890625, -0.033599853515625, 0.024505615234375, -0.02374267578125, -0.024200439453125, -0.00537109375, -0.0125885009765625, -0.0247955322265625, 0.0313720703125, 0.0054779052734375, 0.00469970703125, -0.006534576416015625, -0.026031494140625, 0.01386260986328125, -0.0043182373046875, 0.0098876953125, 0.012359619140625, -0.01580810546875, -0.04473876953125, -0.0399169921875, -0.0186614990234375, 0.005756378173828125, -0.044647216796875, -0.005596160888671875, -0.030426025390625, 0.047943115234375, 0.04742431640625, -0.01267242431640625, -0.003421783447265625, 0.0198822021484375, 0.03656005859375, 0.0236358642578125, -0.01995849609375, 0.0193328857421875, 0.043487548828125, -0.05657958984375, 0.0116424560546875, -0.01377105712890625, 0.014556884765625, -0.00304412841796875, -0.01143646240234375, 0.053497314453125, -0.057647705078125, 0.014801025390625, 0.051666259765625, 0.01360321044921875, -0.032379150390625, 0.00405120849609375, 0.0394287109375, -0.06646728515625, -0.0231170654296875, 0.03448486328125, 0.01451873779296875, -0.0190277099609375, 0.037567138671875, -0.024505615234375, 0.0655517578125, -0.0147857666015625, -0.0233154296875, 0.01629638671875, 0.043365478515625, -0.03338623046875, 0.0090179443359375, -0.0296783447265625, 0.0821533203125, 0.005767822265625, 0.0142059326171875, -0.05572509765625, 0.0015668869018554688, -0.00738525390625, 0.0179595947265625, 0.06256103515625, 0.029876708984375, -0.06915283203125, -0.035003662109375, 0.006641387939453125, 0.028228759765625, 0.00835418701171875, 0.0684814453125, 0.01318359375, -0.0004703998565673828, 0.0022792816162109375, 0.00028324127197265625, 0.042083740234375, -0.05755615234375, -0.0223541259765625, 0.0262298583984375, 0.0048370361328125, -0.0133819580078125, 0.0174713134765625, 0.034576416015625, -0.04541015625, 0.0139312744140625, 0.03546142578125, -0.0191650390625, -0.0165252685546875, 0.0302886962890625, 0.0214080810546875, -0.0386962890625, -0.039886474609375, -0.0219573974609375, 0.0477294921875, 0.0163726806640625, 0.03485107421875, -0.0178070068359375, -0.00018107891082763672, 0.037841796875, -0.0211639404296875, -0.006290435791015625, 0.0282745361328125, -0.0184783935546875, 0.0273895263671875, 0.0187835693359375, 0.016204833984375, -0.0185546875, 0.034210205078125, 0.046783447265625, 0.034881591796875, -0.0283050537109375, -0.057098388671875, 0.0093536376953125, 0.01505279541015625, -0.0165252685546875, 0.009918212890625, -0.027923583984375, -0.0030460357666015625, 0.054656982421875, -0.052825927734375, 0.0027256011962890625, 0.038177490234375, 0.00626373291015625, -0.01227569580078125, -0.03076171875, 0.00848388671875, 0.0106964111328125, 0.01096343994140625, 0.0166473388671875, -0.0227203369140625, -0.0141448974609375, -0.0233306884765625, 0.0208740234375, -0.01348876953125, 0.0200653076171875, 0.0012388229370117188, 0.026214599609375, -0.0377197265625, 0.006908416748046875, -0.038543701171875, -0.0792236328125, 0.022125244140625, 0.04937744140625, -0.01221466064453125, 0.0423583984375, 0.00925445556640625, 0.02178955078125, 0.01412200927734375, -0.007610321044921875, 0.0179290771484375, -0.0195465087890625, -0.0170440673828125, -0.01375579833984375, 0.005496978759765625, 0.0071868896484375, 0.0006232261657714844, -0.0156707763671875, 0.0279998779296875, 0.0307769775390625, -0.01378631591796875, 0.0484619140625, -0.00646209716796875, 0.0084228515625, 0.020416259765625, -0.0134429931640625, 0.015716552734375, 0.01006317138671875, -0.02850341796875, 0.000946044921875, -0.0185699462890625, -0.0289306640625, 0.015899658203125, 0.036468505859375, 0.009490966796875, 0.007305145263671875, -0.01849365234375, -0.0259552001953125, -0.0015964508056640625, 0.01125335693359375, 0.0213165283203125, 0.0270233154296875, 0.004505157470703125, -0.0012416839599609375, 0.00464630126953125, -0.0205230712890625, -0.0191497802734375, 0.08447265625, 0.0228118896484375, 0.1422119140625, -0.08843994140625, 0.035888671875, -0.0027828216552734375, -0.0301513671875, -0.006439208984375, -0.0109405517578125, 0.00937652587890625, -0.030517578125, -0.030792236328125, 0.0034351348876953125, -0.0305023193359375, 0.01264190673828125, 0.0166473388671875, -0.0030975341796875, -0.035858154296875, -0.0005345344543457031, 0.031341552734375, 0.042755126953125, 0.0086669921875, -0.028717041015625, -0.052215576171875, -0.03009033203125, 0.0305023193359375, 0.0005602836608886719, 0.02105712890625, -0.03326416015625, 0.01428985595703125, 0.008544921875, -0.0267791748046875, 0.012908935546875, -0.01371002197265625, 0.0250396728515625, 0.050140380859375, -0.023223876953125, -0.043426513671875, -0.0193634033203125, -0.007904052734375, -0.003986358642578125, 0.01041412353515625, 0.047210693359375, -0.018707275390625, 0.036468505859375, -0.0017747879028320312, -0.018585205078125, 0.0035266876220703125, -0.021942138671875, -0.0066070556640625, -0.0252838134765625, 0.00839996337890625, 0.01447296142578125, -0.021087646484375, -0.010986328125, -0.045928955078125, 0.0006380081176757812, 0.01491546630859375, -0.0186309814453125, 0.0030384063720703125, -0.01006317138671875, 0.037200927734375, 0.04779052734375, -0.007472991943359375, -0.05712890625, 0.01096343994140625, -0.045623779296875, 0.09033203125, 0.006771087646484375, -0.032684326171875, 0.004451751708984375, 0.0284271240234375, -0.0126495361328125, -0.005199432373046875, -0.0248260498046875, 0.0016803741455078125, -0.004749298095703125, 0.01526641845703125, 0.020050048828125, -0.01233673095703125, 0.0066375732421875, 0.03533935546875, 0.006488800048828125, 0.08978271484375, 0.01029205322265625, -0.022308349609375, 0.0281982421875, -0.04278564453125, 0.0051727294921875, -0.0184783935546875, 0.00672149658203125, -0.057769775390625, -0.039031982421875, -0.029449462890625, 0.017852783203125, 0.016693115234375, -0.05035400390625, -0.0972900390625, 0.047119140625, -0.020355224609375, -0.0343017578125, -0.05316162109375, -0.039581298828125, -0.0236053466796875, 0.052032470703125, -0.0204925537109375, -0.0098724365234375, -0.036163330078125, 0.08245849609375, 0.0113372802734375, 0.01274871826171875, 0.01751708984375, 0.0096435546875, -0.01812744140625, 0.01953125, 0.0211029052734375, -0.0176544189453125, 0.01349639892578125, 0.00856781005859375, 0.0230560302734375, 0.05718994140625, -0.0120697021484375, -0.0034008026123046875, -0.018035888671875, -0.0748291015625, -0.01824951171875, -0.052490234375, -0.02093505859375, -0.0196990966796875, 0.060821533203125, 0.04541015625, 0.0118865966796875, -0.0296630859375, 0.017578125, -0.048736572265625, -0.020111083984375, 0.0045166015625, 0.013885498046875, -0.03692626953125, 0.00930023193359375, 0.02813720703125, -0.00502777099609375, 0.0005311965942382812, -0.0079498291015625, -0.0194854736328125, -0.01470947265625, -0.010284423828125, -0.0185394287109375, -0.004909515380859375, -0.0225677490234375, 0.047119140625, -0.01422119140625, 0.03680419921875, 0.01393890380859375, 0.018218994140625, 0.0394287109375, 0.037109375, 0.0140838623046875, 0.038848876953125, -0.060943603515625, -0.00911712646484375, 0.0148162841796875, 0.019012451171875, -0.017181396484375, -0.0275115966796875, 0.0197906494140625, 0.005290985107421875, -0.0282135009765625, -0.00566864013671875, 0.0013284683227539062, 0.05316162109375, -0.036407470703125, 0.106689453125, 0.0185546875, -0.0189666748046875, -0.003997802734375, 0.0277099609375, -0.034576416015625, -0.022857666015625, -0.016510009765625, -0.036712646484375, 0.00916290283203125, 0.0289154052734375, 0.046295166015625, -0.023712158203125, 0.0228729248046875, -0.045074462890625, 0.0248870849609375, 0.0020904541015625 ]
f26cbd7d91868da3f41066ca4a4faa13bd78da2f
Wordpress Stackexchange Q: Make jQuery library load before plugin files I am using a few jQuery plugins such as validate.js, but they all load BEFORE the Jquery library which is loaded automatically by WordPress and my theme. I need the plugins to load after - so is there a way to make Jquery load first in functions.php - so that I can use it frontend and admin. I am currently loading the following in functions.php wp_enqueue_script('validation', get_bloginfo('template_url') ."/js/jquery.validate.min.js"); wp_enqueue_script('scripts', get_bloginfo('template_url') ."/js/scripts.js"); Any help, massively appreciated! A: If you look at the wp_enqueue_script Codex Documentation, you'll see one of the options is $deps, this would mean that your script is dependent upon another script, simply add jquery as a dependancy and your scripts will load in the correct place. If you set a handle for the other scripts you can use them as a dependent as well. Example: wp_enqueue_script( 'your-handle', get_bloginfo('template_url') . '/path/script.js', array( 'jquery' ) );
Q: Make jQuery library load before plugin files I am using a few jQuery plugins such as validate.js, but they all load BEFORE the Jquery library which is loaded automatically by WordPress and my theme. I need the plugins to load after - so is there a way to make Jquery load first in functions.php - so that I can use it frontend and admin. I am currently loading the following in functions.php wp_enqueue_script('validation', get_bloginfo('template_url') ."/js/jquery.validate.min.js"); wp_enqueue_script('scripts', get_bloginfo('template_url') ."/js/scripts.js"); Any help, massively appreciated! A: If you look at the wp_enqueue_script Codex Documentation, you'll see one of the options is $deps, this would mean that your script is dependent upon another script, simply add jquery as a dependancy and your scripts will load in the correct place. If you set a handle for the other scripts you can use them as a dependent as well. Example: wp_enqueue_script( 'your-handle', get_bloginfo('template_url') . '/path/script.js', array( 'jquery' ) );
wordpress
{ "language": "en", "length": 154, "provenance": "stackexchange_00019.jsonl.gz:414983", "question_score": "6", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35035" }
[ 0.03802490234375, 0.01557159423828125, -0.07623291015625, -0.0816650390625, 0.0294036865234375, -0.0384521484375, -0.018096923828125, 0.0447998046875, -0.042449951171875, 0.0127716064453125, -0.037322998046875, 0.0565185546875, -0.055267333984375, 0.00153350830078125, 0.00971221923828125, -0.06256103515625, 0.0443115234375, -0.04486083984375, 0.00852203369140625, -0.0224151611328125, 0.0282745361328125, -0.0110321044921875, 0.023193359375, 0.12060546875, 0.020965576171875, -0.006076812744140625, 0.11016845703125, -0.0057525634765625, 0.0210723876953125, -0.008056640625, 0.02239990234375, -0.0247344970703125, 0.0097503662109375, -0.00848388671875, 0.0151214599609375, -0.0259552001953125, 0.0241546630859375, 0.004665374755859375, 0.016204833984375, 0.0233612060546875, 0.03521728515625, -0.00853729248046875, 0.00991058349609375, 0.061065673828125, -0.012847900390625, -0.057281494140625, 0.026580810546875, -0.03497314453125, 0.005680084228515625, 0.02398681640625, 0.01372528076171875, -0.004421234130859375, 0.0300140380859375, -0.01250457763671875, -0.005664825439453125, 0.0019779205322265625, -0.0477294921875, -0.0034046173095703125, 0.0011224746704101562, 0.087646484375, 0.044097900390625, 0.0165252685546875, -0.0246124267578125, -0.046783447265625, -0.0196380615234375, -0.01512908935546875, -0.03179931640625, 0.032012939453125, -0.034912109375, -0.0112457275390625, 0.0217742919921875, -0.024200439453125, -0.023681640625, 0.01177978515625, -0.0189971923828125, 0.0077667236328125, 0.03192138671875, 0.01099395751953125, 0.00629425048828125, 0.007190704345703125, 0.0184783935546875, -0.05535888671875, 0.014739990234375, 0.0194244384765625, -0.0213623046875, 0.04193115234375, -0.01343536376953125, -0.0027027130126953125, -0.028900146484375, -0.00650787353515625, -0.03326416015625, 0.0088653564453125, -0.0216064453125, 0.0080108642578125, -0.0240631103515625, 0.01678466796875, 0.05419921875, 0.053070068359375, 0.0080718994140625, -0.0019855499267578125, 0.0021457672119140625, -0.03271484375, 0.00994873046875, -0.027587890625, -0.0252227783203125, 0.037353515625, 0.022491455078125, -0.00173187255859375, -0.009429931640625, 0.0091400146484375, 0.009246826171875, -0.045654296875, 0.01502227783203125, 0.0218505859375, -0.034912109375, -0.04241943359375, -0.04296875, -0.01103973388671875, -0.004852294921875, -0.0108642578125, 0.0147705078125, 0.03875732421875, -0.028106689453125, -0.0175628662109375, 0.01470184326171875, -0.0183868408203125, -0.01690673828125, -0.0135345458984375, -0.059539794921875, 0.020172119140625, -0.0006055831909179688, 0.0269012451171875, 0.0338134765625, 0.0225372314453125, -0.027923583984375, -0.01490020751953125, 0.006465911865234375, -0.0283050537109375, 0.00377655029296875, -0.03302001953125, 0.019195556640625, -0.0017824172973632812, 0.0169677734375, -0.004917144775390625, -0.0465087890625, -0.005458831787109375, 0.002452850341796875, 0.0225982666015625, -0.0081329345703125, -0.052398681640625, 0.0210418701171875, -0.0214385986328125, 0.0687255859375, 0.0005636215209960938, -0.006114959716796875, -0.026214599609375, 0.058013916015625, -0.048828125, -0.043426513671875, -0.051116943359375, -0.03912353515625, 0.02471923828125, 0.007587432861328125, -0.0657958984375, -0.035491943359375, -0.04632568359375, 0.00710296630859375, 0.002475738525390625, 0.0292205810546875, 0.0231781005859375, -0.0206298828125, -0.0259857177734375, 0.015869140625, 0.0316162109375, -0.0085906982421875, 0.038848876953125, 0.006549835205078125, 0.005779266357421875, 0.03424072265625, 0.01245880126953125, -0.0022792816162109375, -0.022308349609375, 0.07568359375, -0.0300445556640625, -0.02685546875, -0.012237548828125, 0.0250701904296875, 0.0296783447265625, -0.01158905029296875, 0.0310516357421875, 0.0599365234375, 0.01806640625, -0.0361328125, 0.00830841064453125, -0.030853271484375, -0.0231170654296875, 0.0272979736328125, 0.0234832763671875, -0.01450347900390625, -0.00019598007202148438, -0.00815582275390625, 0.004638671875, -0.01328277587890625, 0.0019683837890625, -0.04608154296875, -0.0308990478515625, -0.0238189697265625, 0.03387451171875, 0.0113067626953125, 0.02471923828125, 0.0012979507446289062, 0.030242919921875, -0.031463623046875, -0.0204315185546875, -0.0186767578125, 0.03375244140625, -0.0457763671875, 0.050933837890625, -0.01151275634765625, 0.0292510986328125, 0.0209503173828125, -0.04791259765625, 0.024505615234375, -0.004718780517578125, -0.01116180419921875, 0.016448974609375, -0.048583984375, 0.0011034011840820312, -0.04058837890625, 0.0157928466796875, -0.0191192626953125, 0.04931640625, 0.039398193359375, 0.06573486328125, -0.0152435302734375, -0.018035888671875, -0.00023496150970458984, -0.015655517578125, 0.004955291748046875, 0.0172119140625, 0.023834228515625, 0.013671875, -0.02783203125, 0.015167236328125, -0.01335906982421875, -0.05694580078125, -0.0006914138793945312, 0.021575927734375, 0.01534271240234375, 0.0022735595703125, -0.038177490234375, -0.0203399658203125, 0.04376220703125, -0.034515380859375, 0.0031375885009765625, 0.056671142578125, 0.0035724639892578125, -0.0159759521484375, -0.02178955078125, 0.0279693603515625, 0.005290985107421875, 0.0036373138427734375, -0.0341796875, 0.01175689697265625, 0.054229736328125, -0.018585205078125, 0.01317596435546875, 0.006256103515625, -0.01229095458984375, -0.004070281982421875, 0.0237274169921875, -0.026458740234375, 0.0011682510375976562, 0.0484619140625, 0.0251617431640625, -0.01393890380859375, -0.031829833984375, -0.01493072509765625, 0.00018846988677978516, 0.0268096923828125, 0.0108642578125, -0.017486572265625, -0.0235137939453125, 0.005252838134765625, 0.00852203369140625, -0.046875, 0.0252838134765625, 0.0714111328125, 0.035552978515625, 0.02984619140625, 0.052032470703125, -0.0195159912109375, -0.0145721435546875, 0.0261688232421875, 0.0162506103515625, -0.0518798828125, 0.04461669921875, -0.011138916015625, 0.0218505859375, -0.0175323486328125, 0.0229949951171875, 0.037628173828125, 0.01458740234375, -0.00586700439453125, 0.0008821487426757812, 0.043304443359375, 0.02435302734375, -0.02984619140625, -0.0196533203125, -0.01171875, -0.0308380126953125, -0.00881195068359375, 0.02557373046875, 0.054656982421875, 0.01142120361328125, -0.04058837890625, 0.0179290771484375, 0.032867431640625, -0.07464599609375, -0.1033935546875, -0.049102783203125, -0.0556640625, 0.06292724609375, -0.00594329833984375, 0.00780487060546875, -0.02581787109375, 0.0250396728515625, 0.03125, -0.0171661376953125, -0.02838134765625, -0.04345703125, -0.05718994140625, -0.045928955078125, 0.0280303955078125, -0.0092926025390625, -0.0321044921875, -0.006366729736328125, 0.038543701171875, 0.01007080078125, -0.06787109375, -0.0092620849609375, 0.034210205078125, -0.00789642333984375, 0.005859375, 0.0178375244140625, -0.0236968994140625, -0.024749755859375, 0.0018320083618164062, 0.00569915771484375, 0.0280303955078125, -0.015289306640625, -0.000029325485229492188, -0.0213470458984375, -0.0333251953125, -0.00406646728515625, 0.026031494140625, 0.006946563720703125, -0.037933349609375, 0.0173797607421875, -0.0628662109375, -0.0133819580078125, -0.00467681884765625, -0.046783447265625, 0.007598876953125, 0.0245513916015625, -0.01824951171875, -0.0168609619140625, 0.0037364959716796875, 0.0275421142578125, -0.0237274169921875, 0.02813720703125, -0.0100860595703125, 0.024871826171875, -0.01245880126953125, 0.0185699462890625, -0.038482666015625, 0.091796875, -0.00994873046875, -0.0330810546875, 0.017913818359375, -0.0110015869140625, -0.005390167236328125, -0.053436279296875, -0.053802490234375, 0.01111602783203125, 0.0194854736328125, 0.00901031494140625, 0.0455322265625, -0.0293121337890625, -0.015106201171875, -0.02081298828125, 0.05450439453125, -0.0233612060546875, 0.01004791259765625, 0.01335906982421875, 0.01375579833984375, -0.037872314453125, -0.05340576171875, -0.0799560546875, -0.013916015625, -0.06268310546875, 0.020904541015625, -0.014129638671875, -0.0008149147033691406, -0.0207366943359375, 0.031494140625, -0.0272369384765625, -0.031341552734375, 0.03216552734375, -0.06695556640625, -0.007450103759765625, 0.031005859375, -0.0018854141235351562, -0.03448486328125, -0.0175018310546875, -0.047882080078125, -0.08935546875, -0.017822265625, -0.028961181640625, 0.07086181640625, 0.029541015625, -0.0396728515625, -0.0207672119140625, 0.039520263671875, -0.0018138885498046875, -0.01024627685546875, 0.0269775390625, 0.01386260986328125, 0.008392333984375, -0.01422882080078125, 0.006072998046875, -0.035980224609375, -0.002376556396484375, -0.0191497802734375, -0.060821533203125, -0.027801513671875, -0.016448974609375, 0.01364898681640625, 0.0225677490234375, -0.0171051025390625, -0.0098876953125, -0.042083740234375, -0.056396484375, -0.0092620849609375, -0.00839996337890625, -0.0372314453125, -0.03350830078125, -0.04095458984375, 0.0011243820190429688, -0.0254364013671875, 0.0167999267578125, 0.0015163421630859375, 0.04150390625, 0.028778076171875, 0.00742340087890625, 0.04296875, 0.013580322265625, 0.042938232421875, 0.0048065185546875, 0.0523681640625, 0.0037994384765625, -0.022064208984375, 0.06365966796875, 0.0084228515625, 0.035369873046875, 0.012664794921875, 0.0267486572265625, 0.0052642822265625, -0.01226806640625, 0.0184173583984375, 0.0299072265625, -0.0535888671875, 0.01117706298828125, -0.00726318359375, 0.03472900390625, -0.004550933837890625, -0.05328369140625, -0.0164031982421875, 0.00975799560546875, 0.0203857421875, -0.0157318115234375, -0.0118865966796875, -0.0311431884765625, 0.06475830078125, 0.025360107421875, -0.0083770751953125, 0.03643798828125, 0.063720703125, -0.0279693603515625, 0.04180908203125, 0.01355743408203125, 0.0223541259765625, 0.0168609619140625, 0.04559326171875, -0.0086669921875, 0.0162200927734375, -0.0195770263671875, 0.0689697265625, 0.020965576171875, -0.0165557861328125, 0.001300811767578125, -0.035919189453125, 0.052398681640625, -0.042510986328125, 0.01226043701171875, 0.04571533203125, 0.0111083984375, -0.033050537109375, -0.029693603515625, -0.003940582275390625, -0.0282440185546875, -0.04412841796875, 0.045989990234375, 0.023162841796875, -0.0111846923828125, -0.03472900390625, 0.02423095703125, 0.016937255859375, -0.0179290771484375, 0.0107879638671875, 0.044342041015625, 0.00434112548828125, 0.04144287109375, 0.0382080078125, -0.0147705078125, -0.0235748291015625, 0.0242156982421875, -0.033355712890625, -0.029510498046875, 0.0023708343505859375, -0.0003376007080078125, 0.0133819580078125, -0.0687255859375, -0.04510498046875, 0.06317138671875, -0.01226806640625, -0.00957489013671875, 0.0227813720703125, 0.03094482421875, -0.00684356689453125, -0.00554656982421875, -0.00678253173828125, 0.032135009765625, 0.0216217041015625, 0.01192474365234375, 0.025115966796875, 0.00707244873046875, 0.019989013671875, 0.024505615234375, -0.007808685302734375, -0.00946044921875, -0.0095672607421875, 0.021636962890625, 0.00021076202392578125, -0.021942138671875, -0.032958984375, -0.023956298828125, -0.0049896240234375, 0.0020427703857421875, 0.023895263671875, -0.0310211181640625, 0.0122833251953125, -0.042816162109375, 0.0247039794921875, -0.038604736328125, 0.0280914306640625, -0.00611114501953125, -0.010589599609375, -0.0035343170166015625, -0.01302337646484375, -0.0367431640625, -0.03790283203125, -0.050750732421875, -0.047821044921875, -0.035064697265625, 0.00930023193359375, -0.01192474365234375, 0.0189056396484375, -0.0250396728515625, 0.0003135204315185547, 0.0051727294921875, 0.0005598068237304688, -0.006839752197265625, 0.00896453857421875, -0.030792236328125, 0.095458984375, 0.0160980224609375, 0.00511932373046875, 0.0306854248046875, 0.052581787109375, -0.024658203125, 0.006717681884765625, -0.04705810546875, -0.08544921875, 0.03582763671875, 0.029510498046875, -0.051116943359375, 0.054840087890625, 0.07904052734375, 0.04144287109375, 0.03741455078125, 0.008453369140625, -0.003459930419921875, -0.001956939697265625, -0.0008549690246582031, 0.044677734375, 0.052001953125, 0.035003662109375, 0.003894805908203125, 0.0044097900390625, -0.0028362274169921875, -0.03472900390625, 0.051727294921875, -0.0037784576416015625, 0.031097412109375, -0.0293121337890625, -0.06195068359375, 0.062103271484375, 0.024078369140625, 0.0143585205078125, 0.0264739990234375, 0.003490447998046875, 0.01495361328125, -0.0266876220703125, 0.01024627685546875, -0.01245880126953125, -0.038543701171875, 0.024810791015625, -0.006793975830078125, -0.0156707763671875, 0.00940704345703125, -0.0240478515625, -0.0093841552734375, 0.03436279296875, 0.0275726318359375, -0.049530029296875, -0.0015554428100585938, -0.00925445556640625, -0.0045623779296875, -0.0172576904296875, -0.036590576171875, 0.0015497207641601562, -0.009735107421875, 0.08575439453125, 0.039581298828125, -0.00030422210693359375, 0.0556640625, 0.01425933837890625, -0.03546142578125, -0.01055908203125, 0.0020999908447265625, 0.028350830078125, -0.00928497314453125, 0.047088623046875, -0.004009246826171875, 0.0265655517578125, -0.02447509765625, 0.0172576904296875, 0.0210113525390625, -0.0167236328125, -0.0254669189453125, 0.036895751953125, -0.0015363693237304688, -0.00554656982421875, 0.0145721435546875, 0.019287109375, 0.01470947265625, 0.0084991455078125, 0.00034332275390625, -0.000949859619140625, -0.019256591796875, 0.0089111328125, 0.0260772705078125, -0.036712646484375, -0.006877899169921875, 0.01708984375, -0.03314208984375, 0.0012617111206054688, 0.0064697265625, -0.01399993896484375, -0.01666259765625, -0.0257720947265625, 0.074462890625, -0.0128326416015625, -0.02642822265625, 0.0270538330078125, 0.020721435546875, -0.03466796875, -0.029388427734375, 0.016143798828125, -0.0802001953125, -0.0148773193359375, 0.010498046875, -0.02117919921875, -0.047332763671875, -0.045501708984375, -0.05224609375, 0.083740234375, -0.026519775390625, 0.027099609375, 0.0155029296875, 0.022064208984375, -0.011566162109375, 0.0035724639892578125, -0.0022296905517578125, 0.024017333984375, -0.04962158203125, 0.0185546875, -0.043060302734375, -0.004604339599609375, -0.00782012939453125, 0.039947509765625, -0.024810791015625, -0.0093231201171875, 0.02130126953125, 0.0028076171875, 0.024627685546875, 0.07684326171875, 0.03802490234375, -0.046295166015625, 0.01483917236328125, -0.01012420654296875, 0.00408935546875, 0.0028629302978515625, 0.032562255859375, -0.04351806640625, -0.0193634033203125, 0.03424072265625, 0.017486572265625, 0.017181396484375, 0.0199127197265625, -0.0009169578552246094, -0.05096435546875, 0.04022216796875, 0.03302001953125, 0.03778076171875, 0.005710601806640625, 0.048797607421875, 0.0091400146484375, 0.0276336669921875, -0.0552978515625, -0.004924774169921875, 0.0239715576171875, -0.01934814453125, -0.0178070068359375, 0.01427459716796875, 0.0163421630859375, -0.014923095703125, -0.005939483642578125, -0.0138702392578125, 0.0212554931640625, -0.0160369873046875, 0.0269317626953125, -0.004596710205078125, 0.0401611328125, -0.05780029296875, -0.05487060546875, 0.00928497314453125, 0.0377197265625, -0.0079803466796875, -0.005199432373046875, -0.00809478759765625, 0.0007424354553222656, 0.002597808837890625, -0.0243682861328125, 0.01146697998046875, -0.008544921875, 0.002094268798828125, -0.0258941650390625, -0.0282745361328125, -0.00012242794036865234, 0.01032257080078125, -0.00780487060546875, -0.021759033203125, 0.045623779296875, 0.0004892349243164062, -0.036895751953125, 0.0249786376953125, 0.035858154296875, 0.0499267578125, -0.005023956298828125, 0.032928466796875, -0.03302001953125, -0.01788330078125, 0.009307861328125, 0.0230255126953125, -0.0178070068359375, 0.000759124755859375, -0.0023746490478515625, -0.0020732879638671875, -0.013763427734375, 0.01593017578125, 0.048431396484375, 0.01441192626953125, 0.065185546875, 0.0215606689453125, -0.03759765625, 0.006214141845703125, 0.04144287109375, -0.0145263671875, 0.038116455078125, 0.009765625, 0.0478515625, 0.00675201416015625, -0.0197601318359375, -0.0236968994140625, 0.0802001953125, 0.00722503662109375, -0.057220458984375, 0.047119140625, -0.00734710693359375, -0.0301666259765625, 0.033050537109375, -0.0097808837890625, 0.09027099609375, -0.0003135204315185547, -0.027496337890625, -0.00421905517578125, -0.016143798828125, -0.027923583984375, 0.0166778564453125, 0.03948974609375, -0.01276397705078125, 0.034820556640625, 0.0909423828125, -0.040069580078125, 0.0221710205078125, -0.00930023193359375, 0.05377197265625, -0.0155181884765625, -0.006130218505859375, 0.036865234375, -0.0186309814453125, 0.0008525848388671875, -0.00449371337890625, 0.00926971435546875, 0.00966644287109375, 0.00937652587890625, -0.006748199462890625, 0.0211639404296875, 0.0303192138671875, -0.03436279296875, 0.032989501953125, 0.0171661376953125, -0.009307861328125, -0.0170135498046875, -0.003208160400390625, -0.0027217864990234375, -0.03961181640625, 0.0706787109375, -0.01285552978515625, 0.00743865966796875, 0.057098388671875, -0.058319091796875, -0.0022983551025390625, 0.00543975830078125, 0.050445556640625, -0.0258026123046875, -0.04931640625, -0.039794921875, 0.00803375244140625, 0.01123809814453125, 0.0178070068359375, -0.012603759765625, -0.004482269287109375, 0.003482818603515625, -0.0291900634765625, -0.01514434814453125, 0.005229949951171875, -0.03826904296875, 0.024169921875, 0.00897979736328125, -0.0137786865234375, 0.0020656585693359375, -0.005588531494140625, 0.0033130645751953125, 0.0201873779296875, 0.0077667236328125, -0.0010747909545898438, -0.005634307861328125, 0.0218353271484375, 0.0294647216796875, 0.05633544921875, 0.01806640625, 0.01342010498046875, 0.00035762786865234375, -0.0028400421142578125, -0.034210205078125, -0.038726806640625, -0.027496337890625, -0.01358795166015625, 0.00007605552673339844, 0.0252838134765625, 0.0158843994140625, -0.010162353515625, -0.01377105712890625, 0.01549530029296875, 0.004673004150390625, 0.004840850830078125, -0.07318115234375, 0.048065185546875, -0.0404052734375, 0.041168212890625, -0.0267791748046875, 0.032745361328125, -0.020751953125, -0.02764892578125, -0.03460693359375, -0.0406494140625, -0.02581787109375, 0.06573486328125, 0.00019180774688720703, 0.020233154296875, 0.039825439453125, -0.021087646484375, 0.01474761962890625, -0.002201080322265625, 0.005306243896484375, 0.06573486328125, -0.027984619140625, -0.0021953582763671875, 0.01499176025390625, 0.0170440673828125, -0.021209716796875, -0.062164306640625, -0.0121307373046875, -0.03106689453125, 0.0240020751953125, -0.02093505859375, 0.021453857421875, 0.0187225341796875, -0.0239715576171875, -0.0733642578125, 0.11688232421875, -0.01934814453125, -0.01885986328125, -0.042755126953125, 0.01297760009765625, 0.0087127685546875, 0.002628326416015625, -0.01971435546875, -0.0230560302734375, -0.0261383056640625, 0.0203704833984375, 0.0019855499267578125, 0.0278167724609375, 0.0345458984375, -0.0350341796875, -0.01326751708984375, -0.012359619140625, -0.006366729736328125, 0.0201873779296875, -0.041046142578125, 0.01091766357421875, 0.0272216796875, 0.03204345703125, -0.0004494190216064453, 0.040130615234375, 0.041961669921875, 0.003936767578125, -0.0187835693359375, -0.01520538330078125, -0.0235137939453125, -0.0235748291015625, 0.09320068359375, 0.00612640380859375, 0.0261688232421875, -0.01183319091796875, -0.0098419189453125, -0.0263519287109375, 0.0099029541015625, 0.0141143798828125, 0.00922393798828125, -0.04559326171875, 0.0039215087890625, 0.0233154296875, 0.0023860931396484375, -0.0209197998046875, -0.031280517578125, -0.034027099609375, -0.0253143310546875, -0.023406982421875, 0.01715087890625, -0.0133209228515625, 0.007007598876953125, 0.0975341796875, -0.036163330078125, 0.0116119384765625, 0.0283355712890625, 0.01029205322265625, 0.05206298828125, 0.0139007568359375, 0.03759765625, 0.053131103515625, -0.061431884765625, -0.0101318359375, 0.00977325439453125, 0.00727081298828125, -0.011993408203125, -0.036529541015625, -0.006458282470703125, 0.0203857421875, -0.0015306472778320312, 0.00739288330078125, 0.00780487060546875, 0.01300048828125, 0.002498626708984375, 0.0171966552734375, -0.05523681640625, 0.0129241943359375, -0.01593017578125, -0.0147552490234375, -0.00225067138671875, 0.03564453125, 0.060394287109375, -0.021148681640625, -0.005481719970703125, 0.0167694091796875, -0.07171630859375, -0.011962890625, -0.0265045166015625, -0.05755615234375, -0.0116119384765625, -0.0168304443359375 ]
f9cc8a1c3ee7feb34993edd37fb1eb7b65f06fed
Wordpress Stackexchange Q: How to properly secure my Wordpress installation? I'm currently on my own server (fredericpilon.com) with my own website. Wordpress being kind of a big shot of CMS, it may be targeted by hacks. Any tips and tricks on how to properly secure my Wordpress installation from said hackers and evil-doers? A: Depends on your business needs. If you're running it for a personal blog or a small site then stay away from suspicious plugins and hosting providers and you'll be fine. There are some good security/backup plugins which tend to sometimes work. The best advice though is "stay updated" ;) If you're doing something bigger then go for VaultPress (not free). If you're doing a large-scale project go for WordPress.com VIP (not free at all!) Hope this helps :)
Q: How to properly secure my Wordpress installation? I'm currently on my own server (fredericpilon.com) with my own website. Wordpress being kind of a big shot of CMS, it may be targeted by hacks. Any tips and tricks on how to properly secure my Wordpress installation from said hackers and evil-doers? A: Depends on your business needs. If you're running it for a personal blog or a small site then stay away from suspicious plugins and hosting providers and you'll be fine. There are some good security/backup plugins which tend to sometimes work. The best advice though is "stay updated" ;) If you're doing something bigger then go for VaultPress (not free). If you're doing a large-scale project go for WordPress.com VIP (not free at all!) Hope this helps :) A: Links: * *http://codex.wordpress.org/Hardening_WordPress *http://perishablepress.com/press/tag/security/ (lots of great articles) *http://www.wpsecure.net/secure-wordpress/ A: I think this article will be spot on. Just found it tody :) http://wp.smashingmagazine.com/2011/11/10/securing-your-wordpress-website/ Here are some more links on the subject: http://codex.wordpress.org/Hardening_WordPress http://wp.tutsplus.com/tutorials/10-steps-to-securing-your-wordpress-installation/ A: So many things you need to look at and they are not just to do with WordPress. Here is a video that I like about WordPress security as it mentions on of my plugins: http://wordpress.tv/2011/11/07/damian-taggart-wordpress-security-the-end-of-innocence/ Also there is a good book about WordPress security I recommend that I have read also: http://www.amazon.co.uk/WordPress-Ultimate-Security-Olly-Connelly/dp/1849512108
wordpress
{ "language": "en", "length": 218, "provenance": "stackexchange_00019.jsonl.gz:414985", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35041" }
[ 0.0205230712890625, 0.0174713134765625, -0.0009188652038574219, 0.0306396484375, -0.00601959228515625, -0.022796630859375, 0.0239410400390625, -0.0723876953125, -0.04486083984375, -0.00586700439453125, 0.008209228515625, 0.0159759521484375, -0.059051513671875, -0.04473876953125, 0.01800537109375, -0.040557861328125, 0.0183868408203125, -0.00949859619140625, 0.0266876220703125, -0.01195526123046875, 0.02197265625, -0.0140838623046875, 0.055999755859375, -0.01116180419921875, 0.0178680419921875, 0.003452301025390625, 0.1065673828125, -0.038787841796875, 0.05657958984375, 0.0023899078369140625, 0.04119873046875, -0.07489013671875, -0.004817962646484375, 0.04486083984375, -0.0097503662109375, -0.001651763916015625, -0.004901885986328125, 0.032989501953125, 0.034454345703125, 0.0140228271484375, -0.009307861328125, 0.0150299072265625, 0.08740234375, 0.02362060546875, -0.006130218505859375, -0.011444091796875, -0.0028972625732421875, -0.059478759765625, 0.012969970703125, -0.035675048828125, 0.035064697265625, 0.0300750732421875, 0.057769775390625, -0.02099609375, -0.002002716064453125, 0.025146484375, 0.02996826171875, 0.01407623291015625, 0.0302734375, -0.0234375, -0.047027587890625, 0.0164337158203125, 0.0152740478515625, -0.0208892822265625, 0.0298919677734375, -0.0202178955078125, 0.005725860595703125, 0.037017822265625, -0.08685302734375, 0.01195526123046875, 0.06390380859375, -0.0377197265625, 0.0029296875, -0.052764892578125, -0.00827789306640625, 0.01407623291015625, -0.0010423660278320312, -0.031280517578125, 0.0172882080078125, -0.0216217041015625, 0.00010317564010620117, 0.00260162353515625, -0.00771331787109375, -0.059417724609375, 0.0248260498046875, -0.0234222412109375, -0.00617218017578125, 0.01325225830078125, 0.004177093505859375, -0.0011119842529296875, -0.000782012939453125, -0.01515960693359375, 0.00522613525390625, 0.04388427734375, -0.0134429931640625, -0.0011386871337890625, 0.031707763671875, 0.0259552001953125, 0.0010089874267578125, 0.01593017578125, 0.01436614990234375, -0.042236328125, 0.029998779296875, -0.02532958984375, -0.022003173828125, 0.051116943359375, 0.031951904296875, 0.01000213623046875, -0.01708984375, -0.002414703369140625, -0.007793426513671875, -0.0193634033203125, 0.0096435546875, -0.056671142578125, -0.016876220703125, 0.04864501953125, 0.036773681640625, -0.0177459716796875, 0.0265350341796875, -0.03167724609375, -0.01192474365234375, -0.004608154296875, -0.00960540771484375, 0.0025348663330078125, -0.0144500732421875, -0.028106689453125, -0.017852783203125, 0.017333984375, -0.0205841064453125, 0.0260772705078125, -0.02972412109375, 0.0009098052978515625, 0.050689697265625, 0.039459228515625, -0.0096893310546875, -0.0186767578125, -0.01325225830078125, 0.01551055908203125, -0.0027256011962890625, -0.0186309814453125, -0.0129241943359375, -0.00731658935546875, 0.0416259765625, -0.0290985107421875, 0.006679534912109375, 0.01081085205078125, 0.0013418197631835938, 0.0316162109375, 0.011016845703125, 0.006160736083984375, 0.01389312744140625, -0.03125, -0.0211029052734375, 0.038055419921875, 0.058380126953125, 0.01305389404296875, 0.0267181396484375, -0.01739501953125, 0.0265960693359375, -0.010406494140625, -0.0193634033203125, -0.00440216064453125, 0.0372314453125, 0.0132598876953125, -0.01450347900390625, 0.025634765625, -0.00925445556640625, -0.0011196136474609375, 0.01458740234375, -0.04718017578125, 0.02911376953125, -0.023681640625, -0.002292633056640625, -0.0016727447509765625, 0.0181884765625, 0.028961181640625, 0.018157958984375, 0.00189208984375, 0.0235748291015625, 0.0521240234375, 0.00232696533203125, -0.02392578125, 0.059112548828125, -0.03338623046875, -0.007778167724609375, -0.0085296630859375, -0.0001875162124633789, 0.00667572021484375, 0.01434326171875, 0.027587890625, -0.018646240234375, 0.01190948486328125, -0.0283660888671875, 0.020721435546875, -0.0174102783203125, -0.00315093994140625, -0.0142822265625, 0.0232696533203125, -0.027191162109375, -0.013580322265625, 0.014007568359375, 0.0129241943359375, 0.006923675537109375, -0.00321197509765625, -0.01232147216796875, 0.008544921875, -0.004917144775390625, 0.01309967041015625, 0.006771087646484375, 0.01404571533203125, -0.0016994476318359375, -0.0207672119140625, 0.01342010498046875, -0.049102783203125, -0.0229644775390625, 0.005367279052734375, -0.04327392578125, 0.0201416015625, -0.0182647705078125, 0.027557373046875, -0.0192718505859375, -0.021270751953125, -0.00366973876953125, -0.004245758056640625, -0.016021728515625, 0.00846099853515625, -0.037261962890625, 0.0089111328125, -0.018035888671875, 0.03460693359375, -0.0306396484375, 0.0035648345947265625, -0.0264434814453125, 0.00852203369140625, -0.02056884765625, -0.031829833984375, -0.033660888671875, -0.07928466796875, 0.0230712890625, 0.056121826171875, 0.0198822021484375, 0.0057525634765625, -0.043975830078125, -0.01458740234375, 0.0225067138671875, -0.08935546875, -0.02874755859375, 0.0278778076171875, 0.0156097412109375, 0.055023193359375, 0.016082763671875, -0.0160369873046875, -0.01349639892578125, -0.06884765625, -0.0059661865234375, 0.0250244140625, 0.004985809326171875, 0.03314208984375, -0.009185791015625, 0.01047515869140625, -0.025543212890625, -0.0035533905029296875, -0.007617950439453125, -0.015777587890625, -0.0240936279296875, -0.0123443603515625, 0.0256805419921875, 0.03546142578125, 0.02142333984375, -0.040740966796875, -0.0007181167602539062, -0.0011844635009765625, -0.005474090576171875, 0.05010986328125, 0.06427001953125, 0.0167999267578125, -0.0263519287109375, -0.01264190673828125, -0.00392913818359375, 0.0362548828125, -0.00600433349609375, -0.0200347900390625, -0.01041412353515625, 0.0012712478637695312, -0.00275421142578125, -0.01904296875, 0.037567138671875, 0.051605224609375, -0.0543212890625, -0.029541015625, -0.000006198883056640625, 0.0222625732421875, -0.039581298828125, 0.0098114013671875, 0.0130615234375, -0.006992340087890625, -0.003078460693359375, -0.0210418701171875, 0.022430419921875, 0.0008149147033691406, 0.061492919921875, 0.08056640625, -0.0010423660278320312, 0.012054443359375, -0.0038471221923828125, 0.04217529296875, 0.031219482421875, -0.0245361328125, -0.0289459228515625, 0.0254364013671875, -0.09124755859375, -0.04681396484375, 0.01421356201171875, 0.039642333984375, -0.033599853515625, -0.0506591796875, -0.00739288330078125, 0.002613067626953125, -0.05841064453125, -0.0396728515625, -0.09539794921875, -0.051513671875, 0.010406494140625, -0.0084075927734375, 0.01202392578125, 0.00458526611328125, -0.002193450927734375, 0.038177490234375, 0.007328033447265625, -0.03387451171875, -0.0172576904296875, -0.05755615234375, -0.060150146484375, -0.0263824462890625, 0.006748199462890625, -0.005779266357421875, -0.004436492919921875, 0.037384033203125, -0.003383636474609375, -0.034271240234375, -0.0022983551025390625, 0.0225372314453125, 0.0033588409423828125, -0.00804901123046875, -0.05096435546875, -0.00275421142578125, -0.022491455078125, 0.001880645751953125, -0.0010366439819335938, -0.0216217041015625, 0.031951904296875, -0.005340576171875, -0.0271759033203125, -0.0340576171875, -0.014373779296875, -0.0037364959716796875, 0.0202789306640625, -0.03485107421875, -0.021148681640625, -0.065185546875, 0.0372314453125, 0.00568389892578125, 0.01499176025390625, -0.0196990966796875, -0.0128021240234375, -0.044647216796875, -0.00965118408203125, -0.005931854248046875, 0.0282745361328125, 0.048370361328125, -0.0377197265625, -0.00469207763671875, 0.0308990478515625, 0.009765625, 0.037261962890625, -0.004512786865234375, -0.0113677978515625, -0.058929443359375, 0.01186370849609375, -0.020782470703125, -0.049652099609375, -0.042755126953125, 0.00391387939453125, -0.02752685546875, -0.050323486328125, 0.0631103515625, 0.033538818359375, 0.03131103515625, -0.03546142578125, -0.058746337890625, 0.0013675689697265625, 0.1259765625, -0.0258026123046875, 0.0019044876098632812, 0.0287933349609375, -0.0013074874877929688, -0.0145111083984375, 0.01171112060546875, -0.0833740234375, -0.0170135498046875, -0.070556640625, -0.0035343170166015625, -0.0074005126953125, -0.0399169921875, -0.003917694091796875, -0.039794921875, -0.0440673828125, -0.038970947265625, 0.0216217041015625, -0.044830322265625, 0.045867919921875, -0.037628173828125, 0.027923583984375, -0.051605224609375, -0.004314422607421875, -0.038848876953125, -0.07550048828125, -0.023590087890625, 0.025299072265625, 0.045379638671875, -0.02935791015625, 0.006744384765625, -0.015716552734375, 0.062347412109375, -0.04656982421875, 0.01424407958984375, -0.00433349609375, 0.024017333984375, -0.036468505859375, 0.0269317626953125, 0.0101318359375, -0.007144927978515625, -0.0008873939514160156, -0.02154541015625, -0.045196533203125, -0.056121826171875, -0.03143310546875, -0.023345947265625, 0.026336669921875, -0.031829833984375, -0.0343017578125, -0.0186614990234375, -0.005542755126953125, 0.0279388427734375, -0.0225830078125, 0.01470947265625, -0.027130126953125, -0.0311737060546875, 0.024383544921875, -0.01384735107421875, -0.0013704299926757812, 0.018463134765625, 0.075439453125, 0.005443572998046875, 0.0005078315734863281, -0.0465087890625, -0.006011962890625, 0.037445068359375, 0.0085601806640625, 0.06298828125, 0.0234375, -0.0270233154296875, 0.051055908203125, 0.02740478515625, -0.0310211181640625, -0.005985260009765625, 0.077880859375, 0.01319122314453125, 0.0274200439453125, -0.02935791015625, -0.017333984375, 0.03363037109375, 0.01763916015625, -0.00952911376953125, -0.0079345703125, 0.00624847412109375, -0.0006194114685058594, -0.00788116455078125, 0.01276397705078125, 0.00030612945556640625, -0.05096435546875, 0.0291900634765625, -0.054412841796875, 0.0152587890625, -0.0181732177734375, 0.012603759765625, 0.002925872802734375, 0.01297760009765625, -0.0261688232421875, -0.01751708984375, -0.024139404296875, 0.007213592529296875, -0.007572174072265625, 0.01226043701171875, -0.004241943359375, -0.0203094482421875, -0.0192413330078125, 0.09326171875, 0.01727294921875, -0.05767822265625, 0.036224365234375, -0.0291290283203125, -0.001964569091796875, 0.038787841796875, 0.0027484893798828125, 0.053924560546875, -0.01378631591796875, -0.01351165771484375, -0.019195556640625, -0.06805419921875, -0.0203094482421875, -0.05316162109375, -0.041290283203125, -0.018280029296875, -0.027587890625, 0.0546875, -0.033050537109375, -0.042388916015625, 0.0189666748046875, 0.0183868408203125, 0.037567138671875, 0.07177734375, -0.03192138671875, 0.00667572021484375, 0.01898193359375, 0.0303497314453125, -0.07073974609375, 0.058380126953125, -0.040191650390625, -0.0245513916015625, 0.002368927001953125, 0.050872802734375, -0.0248260498046875, -0.0162506103515625, 0.034393310546875, -0.0155487060546875, 0.01099395751953125, 0.0162353515625, -0.045867919921875, -0.05816650390625, -0.0090789794921875, 0.02972412109375, 0.042266845703125, -0.04229736328125, -0.009490966796875, -0.0038776397705078125, -0.039764404296875, 0.0232696533203125, 0.0260162353515625, 0.00948333740234375, -0.008514404296875, -0.0179290771484375, 0.022247314453125, 0.00121307373046875, -0.016632080078125, 0.01511383056640625, -0.005908966064453125, -0.0274810791015625, -0.01042938232421875, 0.060455322265625, -0.01395416259765625, 0.0250091552734375, -0.0084075927734375, 0.00016415119171142578, -0.016693115234375, 0.0260009765625, -0.0068817138671875, -0.0213623046875, -0.07037353515625, -0.004253387451171875, -0.0477294921875, -0.01454925537109375, -0.0024089813232421875, -0.006076812744140625, -0.07330322265625, 0.004192352294921875, 0.017364501953125, 0.0031986236572265625, -0.0009613037109375, -0.0228271484375, -0.017486572265625, 0.0284271240234375, 0.0282135009765625, -0.0009570121765136719, -0.01070404052734375, 0.000820159912109375, 0.03424072265625, 0.0260009765625, 0.020172119140625, 0.004184722900390625, 0.003314971923828125, -0.030914306640625, 0.0242919921875, -0.0138092041015625, -0.00894927978515625, -0.0223236083984375, 0.0185699462890625, -0.033050537109375, 0.01113128662109375, -0.01056671142578125, -0.006938934326171875, -0.02935791015625, 0.007587432861328125, -0.0172119140625, 0.050201416015625, -0.0173492431640625, -0.044677734375, 0.0137176513671875, -0.021392822265625, 0.057037353515625, 0.00010800361633300781, -0.00699615478515625, 0.018798828125, -0.034393310546875, 0.0264892578125, 0.037841796875, 0.00107574462890625, 0.017333984375, 0.052764892578125, -0.006984710693359375, 0.062744140625, 0.03363037109375, 0.02850341796875, 0.016357421875, 0.01244354248046875, -0.03094482421875, -0.0223236083984375, 0.034210205078125, 0.022674560546875, -0.01080322265625, 0.03125, -0.0119171142578125, 0.04901123046875, 0.029296875, 0.09747314453125, -0.03515625, 0.01067352294921875, 0.0269012451171875, -0.064208984375, -0.0030059814453125, -0.0149078369140625, -0.0093994140625, -0.05926513671875, 0.07049560546875, -0.023040771484375, -0.0097808837890625, -0.0016241073608398438, -0.0255279541015625, -0.0148162841796875, -0.01503753662109375, 0.053070068359375, 0.0204315185546875, -0.03399658203125, 0.008636474609375, 0.02459716796875, 0.007472991943359375, -0.002147674560546875, -0.01139068603515625, 0.01885986328125, -0.0546875, -0.07623291015625, -0.032440185546875, -0.0267181396484375, -0.0247344970703125, 0.0151824951171875, 0.0032176971435546875, 0.0158538818359375, 0.023223876953125, 0.0013189315795898438, -0.0162506103515625, 0.01131439208984375, -0.0216217041015625, 0.05792236328125, -0.00272369384765625, 0.0198974609375, 0.016632080078125, -0.046417236328125, -0.0004901885986328125, -0.02899169921875, 0.005687713623046875, -0.0068511962890625, 0.0030193328857421875, 0.0946044921875, -0.043304443359375, -0.004657745361328125, 0.045318603515625, 0.018585205078125, -0.03350830078125, 0.0041961669921875, 0.0189361572265625, -0.0248870849609375, 0.011566162109375, 0.005321502685546875, 0.005859375, -0.0124359130859375, 0.004817962646484375, -0.0390625, 0.06951904296875, 0.0133056640625, -0.0165863037109375, 0.00572967529296875, 0.053466796875, -0.03155517578125, 0.0230255126953125, -0.0208892822265625, 0.044586181640625, -0.01328277587890625, 0.01416015625, -0.034881591796875, 0.01409149169921875, -0.02142333984375, 0.0017023086547851562, 0.028106689453125, 0.003993988037109375, -0.039947509765625, -0.005657196044921875, 0.0545654296875, 0.01995849609375, 0.01690673828125, 0.04217529296875, -0.011016845703125, 0.0016222000122070312, 0.0179443359375, -0.032135009765625, 0.025177001953125, -0.01483154296875, -0.01222991943359375, -0.0011806488037109375, 0.005023956298828125, -0.0225830078125, 0.015960693359375, -0.01499176025390625, -0.063232421875, 0.037445068359375, 0.0247955322265625, 0.039215087890625, -0.002689361572265625, -0.006999969482421875, -0.0277862548828125, -0.033294677734375, 0.044586181640625, -0.0333251953125, 0.03802490234375, -0.035858154296875, 0.006893157958984375, 0.05615234375, 0.02178955078125, -0.037445068359375, 0.035186767578125, 0.0200042724609375, 0.02374267578125, -0.01529693603515625, -0.0204925537109375, 0.0025005340576171875, 0.0009417533874511719, -0.06146240234375, -0.0230865478515625, 0.0684814453125, 0.01507568359375, -0.0172119140625, -0.007366180419921875, 0.0112152099609375, -0.005420684814453125, -0.01085662841796875, -0.049041748046875, -0.0411376953125, 0.051605224609375, 0.052490234375, 0.00951385498046875, -0.0281219482421875, 0.0185394287109375, 0.0154571533203125, 0.01317596435546875, 0.0165863037109375, -0.00551605224609375, -0.03778076171875, 0.0176849365234375, -0.0287628173828125, 0.019500732421875, -0.00963592529296875, -0.0128173828125, 0.0200347900390625, 0.0257110595703125, 0.0162200927734375, 0.01837158203125, 0.0550537109375, 0.0227813720703125, -0.0205841064453125, -0.01495361328125, -0.0662841796875, 0.0399169921875, 0.023529052734375, -0.0130615234375, -0.0089569091796875, 0.01540374755859375, 0.0428466796875, -0.01454925537109375, -0.02593994140625, 0.029541015625, -0.0148162841796875, 0.004779815673828125, -0.0225677490234375, -0.0031070709228515625, 0.00508880615234375, -0.026397705078125, -0.00263214111328125, 0.00501251220703125, 0.032958984375, 0.019378662109375, 0.0173492431640625, 0.01983642578125, 0.017822265625, 0.0115966796875, -0.0206146240234375, -0.033966064453125, 0.0223236083984375, -0.036956787109375, -0.0188446044921875, -0.00016796588897705078, -0.0038814544677734375, 0.00027251243591308594, 0.016937255859375, 0.0028781890869140625, 0.014434814453125, -0.0106964111328125, -0.0187530517578125, 0.004547119140625, 0.01206207275390625, -0.0037021636962890625, -0.0201568603515625, 0.015350341796875, -0.028076171875, -0.02825927734375, -0.0213165283203125, -0.01222991943359375, 0.045928955078125, -0.0185546875, 0.0799560546875, -0.0221710205078125, -0.0011167526245117188, -0.03411865234375, -0.017608642578125, 0.0102996826171875, 0.0011539459228515625, -0.0202484130859375, 0.035858154296875, 0.0030269622802734375, -0.025238037109375, -0.049591064453125, 0.0250091552734375, 0.007091522216796875, 0.00339508056640625, 0.020538330078125, -0.035614013671875, 0.02935791015625, 0.01499176025390625, 0.00478363037109375, -0.039276123046875, -0.058013916015625, -0.038787841796875, 0.01500701904296875, -0.001941680908203125, 0.01337432861328125, -0.0034923553466796875, 0.05523681640625, -0.01837158203125, 0.00870513916015625, -0.0133819580078125, -0.04071044921875, -0.038360595703125, 0.00829315185546875, -0.00937652587890625, -0.07470703125, -0.011962890625, -0.0218963623046875, -0.053985595703125, 0.0167694091796875, 0.037445068359375, -0.01322174072265625, -0.0924072265625, -0.022003173828125, 0.056793212890625, 0.055511474609375, 0.002460479736328125, 0.033599853515625, 0.0066070556640625, -0.0251312255859375, 0.0148773193359375, 0.031768798828125, -0.006805419921875, -0.0013294219970703125, -0.0217742919921875, -0.00884246826171875, -0.01158905029296875, -0.04486083984375, -0.0240631103515625, 0.02801513671875, 0.039520263671875, -0.0138092041015625, -0.0270233154296875, -0.0017423629760742188, -0.05517578125, 0.07220458984375, -0.0217132568359375, 0.018585205078125, -0.0076751708984375, 0.0207672119140625, -0.00600433349609375, -0.081298828125, -0.0240020751953125, 0.0941162109375, -0.0289764404296875, 0.0235748291015625, 0.03619384765625, -0.024017333984375, -0.0095062255859375, 0.032806396484375, 0.025909423828125, 0.06658935546875, -0.01343536376953125, -0.022796630859375, 0.0141143798828125, -0.02093505859375, -0.00603485107421875, -0.042236328125, 0.0231475830078125, -0.084716796875, -0.0243988037109375, -0.04669189453125, 0.03448486328125, 0.03851318359375, -0.05157470703125, -0.09295654296875, 0.0926513671875, -0.0526123046875, -0.02838134765625, -0.03582763671875, 0.00803375244140625, -0.022125244140625, 0.0041961669921875, -0.0125732421875, -0.0068206787109375, -0.00450897216796875, 0.0347900390625, 0.0230560302734375, 0.006679534912109375, 0.0230255126953125, 0.052825927734375, -0.0138092041015625, 0.036376953125, 0.016387939453125, -0.0292510986328125, 0.00925445556640625, 0.01129150390625, 0.022796630859375, 0.0465087890625, -0.0063323974609375, -0.0006899833679199219, -0.0021152496337890625, -0.059417724609375, -0.0068511962890625, -0.0006885528564453125, -0.0038089752197265625, -0.00955963134765625, 0.0252532958984375, 0.046630859375, 0.00325775146484375, -0.01001739501953125, -0.046905517578125, -0.025299072265625, 0.0307769775390625, -0.004261016845703125, -0.00341033935546875, -0.054656982421875, 0.00513458251953125, 0.01312255859375, 0.01065826416015625, -0.009735107421875, -0.0230560302734375, -0.017242431640625, -0.01125335693359375, 0.00091552734375, 0.00344085693359375, -0.0130462646484375, -0.0298309326171875, 0.087158203125, -0.0394287109375, 0.013031005859375, 0.0210418701171875, 0.0147552490234375, 0.051727294921875, 0.03582763671875, 0.029052734375, 0.0171051025390625, -0.04888916015625, -0.00044274330139160156, 0.01332855224609375, 0.0577392578125, -0.0262908935546875, -0.04498291015625, -0.02630615234375, 0.032073974609375, 0.01192474365234375, 0.0582275390625, -0.02618408203125, 0.05096435546875, 0.032012939453125, 0.033538818359375, -0.0091094970703125, -0.050018310546875, -0.0277557373046875, 0.0489501953125, -0.024688720703125, -0.01177978515625, 0.005126953125, -0.041412353515625, 0.0188140869140625, 0.004390716552734375, -0.00757598876953125, 0.0186920166015625, -0.028717041015625, -0.026397705078125, -0.0168304443359375, -0.00450897216796875 ]
931b240fca49954979c217131a6ee55a76092869
Wordpress Stackexchange Q: How can I see all the actions attached to an "add_action" hook? I'm working with the admin bar and trying to debug some of the menus and their priorities. I know several callbacks get bound to actions, such as this one: add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 ); How can I see what is lined up to be called when a hook like admin_bar_menu is called? A: You can see the detailed list of the hook using this snippet: $hook_name = 'admin_bar_menu'; global $wp_filter; var_dump( $wp_filter[$hook_name] );
Q: How can I see all the actions attached to an "add_action" hook? I'm working with the admin bar and trying to debug some of the menus and their priorities. I know several callbacks get bound to actions, such as this one: add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 ); How can I see what is lined up to be called when a hook like admin_bar_menu is called? A: You can see the detailed list of the hook using this snippet: $hook_name = 'admin_bar_menu'; global $wp_filter; var_dump( $wp_filter[$hook_name] ); A: A list of callback functions: // list call back functions $hook_name = 'admin_bar_menu'; global $wp_filter; echo '<h2> Hook name: '. $hook_name . '</h2> '; if( isset( $wp_filter[$hook_name]->callbacks )){ if (is_array($wp_filter[$hook_name]->callbacks )){ echo '<h2>callback functions > accepted_args </h2>'; foreach( $wp_filter[$hook_name]->callbacks as $item){ if ( is_array( $item)){ foreach ( $item as $subitem){ echo '<P>'. $subitem['function'].' '.$subitem['accepted_args'] . '</P>'; } } } }}
wordpress
{ "language": "en", "length": 147, "provenance": "stackexchange_00019.jsonl.gz:414997", "question_score": "21", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35076" }
[ 0.048492431640625, 0.019317626953125, -0.01080322265625, -0.017852783203125, 0.023040771484375, -0.0379638671875, 0.0296478271484375, -0.03765869140625, 0.0011653900146484375, 0.01013946533203125, 0.003681182861328125, -0.00984954833984375, 0.019439697265625, -0.033111572265625, 0.00957489013671875, -0.01541900634765625, 0.044403076171875, -0.002079010009765625, 0.04327392578125, 0.008392333984375, -0.00791168212890625, 0.032257080078125, 0.025726318359375, 0.05743408203125, 0.0219879150390625, -0.0635986328125, 0.055938720703125, -0.01434326171875, 0.036224365234375, 0.00428009033203125, 0.01163482666015625, -0.035247802734375, 0.0018644332885742188, 0.0282440185546875, 0.02349853515625, 0.05169677734375, 0.0043792724609375, 0.02862548828125, 0.04302978515625, -0.0006871223449707031, 0.042388916015625, -0.0193634033203125, 0.023406982421875, -0.00022661685943603516, 0.0018587112426757812, -0.0550537109375, 0.09295654296875, -0.0119171142578125, -0.0055084228515625, -0.03765869140625, 0.0255584716796875, 0.01261138916015625, 0.04486083984375, 0.0024547576904296875, -0.0045166015625, 0.026031494140625, -0.0245208740234375, 0.00865936279296875, 0.037200927734375, 0.052581787109375, -0.0092620849609375, -0.0167236328125, -0.00337982177734375, -0.0877685546875, 0.0045166015625, 0.022216796875, 0.003963470458984375, 0.005802154541015625, -0.018829345703125, 0.006008148193359375, 0.01042938232421875, -0.032318115234375, -0.0269622802734375, 0.014068603515625, -0.00746917724609375, -0.0621337890625, 0.032989501953125, -0.03326416015625, -0.0007228851318359375, 0.043701171875, 0.0234375, -0.0306854248046875, -0.003917694091796875, 0.0186309814453125, -0.00787353515625, 0.0148162841796875, -0.00443267822265625, -0.01154327392578125, -0.0240020751953125, -0.03997802734375, -0.0240478515625, -0.020965576171875, -0.0114593505859375, -0.016632080078125, -0.013763427734375, -0.036529541015625, 0.01428985595703125, -0.007354736328125, 0.02984619140625, -0.0187530517578125, 0.00933837890625, -0.02081298828125, -0.0435791015625, 0.0064544677734375, -0.0154876708984375, 0.0159759521484375, 0.029571533203125, 0.038360595703125, 0.01023101806640625, 0.01342010498046875, -0.024261474609375, -0.0098419189453125, 0.0026092529296875, 0.0020198822021484375, 0.007762908935546875, -0.0190277099609375, -0.04644775390625, 0.05523681640625, -0.01371002197265625, 0.017913818359375, -0.0037364959716796875, -0.01222991943359375, 0.03131103515625, 0.0165863037109375, 0.013336181640625, 0.00803375244140625, -0.037841796875, -0.00959014892578125, -0.01800537109375, 0.00405120849609375, 0.009063720703125, 0.0302581787109375, 0.00868988037109375, -0.005039215087890625, -0.03564453125, -0.00196075439453125, 0.004589080810546875, -0.001750946044921875, -0.003955841064453125, 0.015838623046875, -0.0143280029296875, -0.043701171875, -0.0165863037109375, -0.005672454833984375, 0.02130126953125, -0.036590576171875, 0.0014219284057617188, 0.0218353271484375, 0.0180511474609375, 0.0241546630859375, 0.0103759765625, -0.0149688720703125, 0.00749969482421875, 0.0310211181640625, 0.0119781494140625, 0.05859375, 0.06365966796875, -0.0008482933044433594, -0.06134033203125, -0.01139068603515625, -0.03802490234375, -0.004459381103515625, 0.006343841552734375, -0.05322265625, -0.05279541015625, 0.004093170166015625, 0.00582122802734375, 0.0012798309326171875, 0.018707275390625, 0.00305938720703125, 0.0186767578125, 0.00937652587890625, 0.05987548828125, 0.009368896484375, -0.01096343994140625, 0.0060272216796875, -0.0227813720703125, 0.0026912689208984375, 0.0282135009765625, 0.002384185791015625, -0.014739990234375, -0.0304718017578125, 0.018646240234375, 0.00701904296875, -0.05609130859375, 0.0265350341796875, 0.01190185546875, 0.06732177734375, 0.017578125, 0.01016998291015625, 0.0210418701171875, 0.0137481689453125, 0.006000518798828125, -0.04052734375, 0.001972198486328125, 0.00933837890625, -0.0228118896484375, 0.009033203125, -0.0191497802734375, 0.015838623046875, 0.0036945343017578125, 0.00345611572265625, -0.01000213623046875, -0.004001617431640625, -0.07501220703125, 0.002704620361328125, -0.027099609375, 0.04632568359375, 0.02032470703125, 0.0022411346435546875, -0.001789093017578125, -0.0017652511596679688, -0.0053558349609375, -0.037353515625, -0.03216552734375, 0.05291748046875, -0.0452880859375, 0.0260009765625, -0.018890380859375, 0.0181121826171875, -0.01137542724609375, -0.023193359375, -0.0127410888671875, -0.00470733642578125, 0.041473388671875, 0.0180206298828125, -0.0413818359375, -0.00788116455078125, 0.013671875, 0.0035114288330078125, -0.054107666015625, 0.056793212890625, 0.0021877288818359375, 0.060516357421875, -0.005771636962890625, -0.0219268798828125, -0.024444580078125, -0.0709228515625, 0.02655029296875, 0.045806884765625, 0.0482177734375, 0.028045654296875, 0.0187835693359375, 0.00991058349609375, 0.031829833984375, -0.0611572265625, 0.0235595703125, -0.02667236328125, -0.0270538330078125, 0.036102294921875, 0.008941650390625, 0.024871826171875, -0.001819610595703125, -0.021148681640625, -0.00798797607421875, 0.0294342041015625, -0.0200653076171875, -0.0322265625, -0.028167724609375, 0.0210418701171875, 0.0182647705078125, -0.06591796875, -0.032867431640625, -0.03277587890625, -0.01287078857421875, -0.0280303955078125, 0.00476837158203125, 0.00836944580078125, 0.00864410400390625, -0.04022216796875, 0.041473388671875, 0.037261962890625, -0.020599365234375, -0.0017547607421875, 0.0287933349609375, -0.05322265625, -0.017547607421875, 0.0210418701171875, -0.050628662109375, -0.031494140625, -0.020111083984375, 0.059600830078125, 0.01922607421875, -0.027984619140625, -0.0244903564453125, -0.0231170654296875, 0.005130767822265625, -0.060577392578125, 0.003448486328125, -0.001987457275390625, 0.0169830322265625, 0.0428466796875, 0.00693511962890625, 0.023040771484375, 0.0178375244140625, -0.0020599365234375, 0.027374267578125, 0.0240478515625, 0.00991058349609375, -0.0014810562133789062, 0.038665771484375, 0.043182373046875, -0.0321044921875, 0.02288818359375, -0.0048065185546875, -0.01427459716796875, -0.020416259765625, -0.002079010009765625, -0.0212249755859375, -0.0202484130859375, -0.03656005859375, 0.041748046875, 0.01092529296875, 0.045806884765625, -0.03668212890625, -0.055328369140625, -0.0301361083984375, 0.00640869140625, -0.05426025390625, -0.0259246826171875, -0.0284423828125, -0.06317138671875, 0.0227508544921875, -0.003673553466796875, -0.032806396484375, -0.004627227783203125, 0.018707275390625, 0.0206756591796875, -0.02618408203125, 0.004425048828125, -0.002582550048828125, -0.014801025390625, -0.0071563720703125, 0.0121002197265625, -0.0088348388671875, -0.00875091552734375, -0.004070281982421875, 0.08538818359375, 0.005252838134765625, -0.025482177734375, 0.0029087066650390625, -0.031890869140625, -0.01568603515625, -0.01073455810546875, -0.003692626953125, -0.005634307861328125, 0.0064544677734375, -0.002834320068359375, -0.0299835205078125, 0.027923583984375, -0.0079345703125, 0.00792694091796875, 0.0001016855239868164, -0.021759033203125, 0.0206298828125, 0.034637451171875, 0.0010099411010742188, -0.0113677978515625, 0.0308990478515625, -0.044219970703125, 0.034912109375, 0.004322052001953125, -0.004680633544921875, 0.0166473388671875, 0.006328582763671875, -0.044219970703125, 0.0312347412109375, -0.0290679931640625, 0.040771484375, 0.0311737060546875, 0.002658843994140625, 0.019744873046875, -0.003353118896484375, -0.004848480224609375, 0.0180816650390625, -0.02435302734375, 0.004425048828125, -0.01345062255859375, 0.020599365234375, 0.01439666748046875, 0.01751708984375, 0.005825042724609375, 0.035614013671875, 0.0033855438232421875, -0.0011186599731445312, 0.030975341796875, -0.030364990234375, 0.03363037109375, -0.041595458984375, -0.0206146240234375, -0.0226593017578125, 0.06158447265625, -0.0189361572265625, -0.020263671875, -0.0289306640625, 0.01279449462890625, -0.0178985595703125, -0.048980712890625, 0.0005674362182617188, -0.01157379150390625, -0.146728515625, 0.023162841796875, 0.0036487579345703125, -0.059783935546875, -0.01546478271484375, -0.01477813720703125, -0.09515380859375, -0.054443359375, 0.0289154052734375, -0.017730712890625, -0.00850677490234375, 0.0118865966796875, -0.00954437255859375, -0.0247955322265625, -0.0190582275390625, 0.0026531219482421875, -0.09637451171875, -0.0152130126953125, -0.04345703125, 0.0784912109375, 0.03424072265625, -0.0294342041015625, -0.0005655288696289062, 0.04071044921875, 0.0284423828125, 0.022308349609375, 0.0279083251953125, 0.00775146484375, 0.0067901611328125, -0.0447998046875, 0.00873565673828125, -0.04974365234375, -0.0179290771484375, -0.0166168212890625, -0.024505615234375, 0.006664276123046875, -0.01499176025390625, -0.01039886474609375, 0.0059814453125, -0.0174102783203125, -0.060028076171875, -0.041015625, -0.0207061767578125, -0.021209716796875, -0.021148681640625, 0.006465911865234375, -0.01097869873046875, -0.06121826171875, -0.0251007080078125, -0.059356689453125, -0.0117340087890625, 0.033172607421875, 0.056884765625, 0.0304718017578125, 0.0214080810546875, 0.003139495849609375, 0.015411376953125, 0.034759521484375, 0.00229644775390625, 0.053680419921875, 0.0255584716796875, -0.016204833984375, 0.049102783203125, 0.00710296630859375, 0.05279541015625, -0.062042236328125, 0.0209808349609375, 0.01959228515625, 0.04681396484375, -0.01261138916015625, 0.042755126953125, 0.016998291015625, -0.0167083740234375, -0.05279541015625, -0.022674560546875, -0.032257080078125, 0.076171875, -0.059326171875, 0.11376953125, -0.051025390625, 0.05450439453125, -0.024688720703125, -0.00809478759765625, 0.08074951171875, 0.0606689453125, -0.007266998291015625, -0.0213775634765625, 0.01291656494140625, 0.007282257080078125, 0.01336669921875, 0.028045654296875, -0.0180816650390625, 0.042449951171875, 0.009857177734375, -0.00913238525390625, 0.00482940673828125, -0.0164947509765625, 0.055023193359375, 0.001003265380859375, -0.053924560546875, -0.00887298583984375, -0.002994537353515625, 0.046539306640625, 0.01367950439453125, -0.004131317138671875, 0.03204345703125, 0.04840087890625, -0.0016384124755859375, -0.00664520263671875, -0.0025081634521484375, 0.009796142578125, -0.0262298583984375, 0.061187744140625, -0.0073089599609375, 0.00925445556640625, 0.0184478759765625, 0.024505615234375, -0.021148681640625, 0.0226898193359375, -0.0039520263671875, 0.01087188720703125, -0.018798828125, 0.0240478515625, 0.01293182373046875, -0.0013027191162109375, 0.00528717041015625, 0.0137481689453125, 0.0213775634765625, -0.0249481201171875, 0.0283660888671875, 0.03228759765625, 0.00042891502380371094, 0.030181884765625, -0.0169219970703125, 0.007049560546875, -0.0053558349609375, -0.025054931640625, 0.076416015625, 0.035614013671875, -0.06298828125, -0.0278778076171875, 0.0029048919677734375, 0.029693603515625, -0.0184478759765625, -0.008148193359375, 0.030975341796875, 0.0266571044921875, 0.0270233154296875, 0.00099945068359375, -0.032562255859375, 0.0217437744140625, 0.034393310546875, -0.0523681640625, -0.02081298828125, 0.0235748291015625, -0.0941162109375, -0.048980712890625, -0.0072021484375, -0.0057220458984375, 0.04632568359375, -0.0175323486328125, 0.034942626953125, 0.00562286376953125, -0.036590576171875, -0.01152801513671875, 0.012664794921875, 0.061004638671875, 0.039398193359375, -0.022308349609375, -0.01087188720703125, -0.023040771484375, -0.00632476806640625, -0.0185546875, -0.0338134765625, -0.01226043701171875, -0.01959228515625, -0.0104827880859375, -0.01183319091796875, 0.041961669921875, 0.072021484375, 0.00878143310546875, 0.0606689453125, -0.021148681640625, 0.02447509765625, -0.02545166015625, 0.07611083984375, -0.012451171875, 0.0284881591796875, -0.026580810546875, 0.0033435821533203125, -0.0308380126953125, 0.021636962890625, 0.007778167724609375, 0.0150299072265625, -0.01027679443359375, -0.0174407958984375, -0.00865936279296875, -0.0156097412109375, 0.0660400390625, -0.00955963134765625, -0.0197906494140625, -0.006443023681640625, 0.01511383056640625, -0.01224517822265625, 0.028106689453125, 0.006763458251953125, -0.035736083984375, 0.01317596435546875, -0.0243682861328125, 0.00902557373046875, -0.035308837890625, 0.011566162109375, 0.0263824462890625, -0.0259246826171875, 0.0249786376953125, -0.0035247802734375, -0.0335693359375, 0.0528564453125, 0.056976318359375, -0.00986480712890625, 0.0498046875, 0.0124969482421875, 0.0153350830078125, 0.034423828125, 0.0162200927734375, 0.0333251953125, -0.0259552001953125, 0.053985595703125, 0.015350341796875, 0.0028362274169921875, 0.05340576171875, -0.0285186767578125, 0.025115966796875, 0.043548583984375, 0.053436279296875, -0.06414794921875, 0.014373779296875, 0.01171875, -0.0140380859375, 0.02777099609375, -0.00026798248291015625, -0.0167236328125, -0.04669189453125, 0.032257080078125, -0.003376007080078125, -0.0256805419921875, -0.0003924369812011719, 0.01346588134765625, -0.006420135498046875, -0.0003876686096191406, -0.01367950439453125, 0.005794525146484375, 0.02777099609375, -0.0122528076171875, -0.023681640625, 0.0160980224609375, -0.00571441650390625, -0.0131378173828125, 0.0134735107421875, -0.02056884765625, -0.00632476806640625, 0.02764892578125, -0.05810546875, 0.0251617431640625, -0.0162200927734375, -0.001354217529296875, 0.01508331298828125, 0.048614501953125, -0.033660888671875, 0.0184326171875, 0.0191650390625, 0.0086669921875, -0.030792236328125, -0.0022754669189453125, 0.0029315948486328125, 0.016876220703125, -0.0017795562744140625, 0.019134521484375, -0.0243988037109375, -0.005664825439453125, 0.020843505859375, 0.03900146484375, 0.06353759765625, -0.0594482421875, -0.0216217041015625, 0.0230865478515625, -0.021026611328125, 0.007167816162109375, 0.00591278076171875, 0.021820068359375, -0.0231475830078125, 0.0154876708984375, 0.0168609619140625, 0.01357269287109375, -0.01824951171875, 0.01800537109375, -0.0233154296875, 0.06634521484375, -0.01445770263671875, -0.027069091796875, -0.004558563232421875, 0.036651611328125, -0.0119781494140625, 0.026123046875, -0.071044921875, 0.0787353515625, 0.05364990234375, 0.048065185546875, -0.0457763671875, 0.00511932373046875, 0.01229095458984375, -0.007274627685546875, 0.01152801513671875, 0.0010251998901367188, -0.0181732177734375, -0.0152587890625, 0.01213836669921875, 0.035552978515625, 0.0093536376953125, 0.019622802734375, -0.004032135009765625, -0.0231475830078125, 0.01305389404296875, 0.00453948974609375, 0.0296630859375, -0.032745361328125, -0.004940032958984375, 0.0229339599609375, -0.0030193328857421875, -0.0042266845703125, 0.035858154296875, 0.013336181640625, 0.0236053466796875, 0.001209259033203125, -0.0092010498046875, -0.06817626953125, 0.0019588470458984375, -0.017059326171875, -0.022064208984375, -0.005313873291015625, 0.01715087890625, -0.01385498046875, 0.026397705078125, 0.00396728515625, 0.006954193115234375, 0.0009484291076660156, 0.0270843505859375, -0.031829833984375, -0.0307769775390625, -0.00872802734375, 0.043548583984375, -0.062408447265625, 0.056365966796875, 0.007678985595703125, 0.02191162109375, -0.04351806640625, -0.00434112548828125, 0.01541900634765625, 0.0654296875, -0.044525146484375, -0.06671142578125, 0.015838623046875, 0.0208892822265625, 0.006481170654296875, 0.040771484375, 0.0221099853515625, -0.057861328125, 0.037109375, -0.047637939453125, -0.03485107421875, -0.00037384033203125, 0.0369873046875, -0.004642486572265625, 0.00267791748046875, 0.0213775634765625, -0.039215087890625, -0.040924072265625, 0.0127105712890625, 0.01495361328125, 0.06024169921875, 0.015228271484375, 0.044097900390625, -0.05010986328125, -0.0264434814453125, -0.0110626220703125, 0.0271453857421875, -0.059326171875, 0.04095458984375, -0.0662841796875, -0.06640625, -0.038116455078125, 0.059112548828125, 0.0609130859375, -0.0084381103515625, 0.0396728515625, -0.007595062255859375, -0.051025390625, 0.0163726806640625, 0.037750244140625, -0.0258941650390625, -0.0284576416015625, -0.048492431640625, 0.0204010009765625, 0.0209197998046875, 0.01904296875, 0.01580810546875, 0.004299163818359375, 0.039337158203125, -0.0198822021484375, -0.00403594970703125, -0.0019512176513671875, -0.021514892578125, 0.045562744140625, -0.01023101806640625, 0.0238494873046875, -0.003055572509765625, -0.0687255859375, -0.0198822021484375, -0.0017414093017578125, -0.0474853515625, 0.032562255859375, 0.0489501953125, -0.018951416015625, 0.0083770751953125, 0.004306793212890625, -0.0010175704956054688, -0.021331787109375, 0.0079803466796875, 0.006603240966796875, 0.003086090087890625, 0.029083251953125, 0.01500701904296875, -0.01222991943359375, 0.0120849609375, 0.0007038116455078125, 0.0005869865417480469, 0.0654296875, 0.005245208740234375, 0.02825927734375, 0.0279388427734375, -0.0026073455810546875, -0.0006041526794433594, 0.004657745361328125, -0.01552581787109375, 0.01195526123046875, 0.0147247314453125, 0.00403594970703125, -0.0182952880859375, -0.021636962890625, 0.041351318359375, 0.03533935546875, -0.01226806640625, 0.01371002197265625, 0.0056304931640625, 0.0175323486328125, -0.01654052734375, 0.06329345703125, 0.0010766983032226562, -0.0212249755859375, -0.01010894775390625, -0.020172119140625, 0.0362548828125, 0.06903076171875, 0.04193115234375, -0.00792694091796875, -0.006549835205078125, 0.0008335113525390625, -0.02972412109375, 0.05474853515625, -0.046875, 0.0160675048828125, -0.030120849609375, 0.0604248046875, 0.0258636474609375, -0.0196685791015625, 0.060394287109375, 0.00685882568359375, -0.0074615478515625, 0.0227508544921875, 0.011444091796875, -0.002960205078125, 0.0030040740966796875, 0.056182861328125, -0.0020351409912109375, 0.0292816162109375, -0.041961669921875, 0.0279693603515625, 0.004283905029296875, -0.00890350341796875, -0.046783447265625, -0.053070068359375, 0.0115509033203125, 0.0198211669921875, -0.0191192626953125, -0.049285888671875, -0.08807373046875, -0.003803253173828125, 0.06231689453125, 0.00811004638671875, -0.037506103515625, 0.045806884765625, -0.056427001953125, 0.01523590087890625, 0.0233306884765625, 0.030426025390625, 0.0038928985595703125, 0.0308685302734375, -0.044342041015625, -0.01003265380859375, -0.00324249267578125, 0.0276336669921875, 0.002674102783203125, -0.0021724700927734375, -0.0101165771484375, -0.023712158203125, -0.0029163360595703125, -0.00696563720703125, 0.02557373046875, 0.0257110595703125, 0.07073974609375, -0.00841522216796875, -0.028289794921875, 0.053985595703125, -0.0293121337890625, -0.005702972412109375, 0.026153564453125, 0.026641845703125, -0.0302886962890625, -0.01140594482421875, 0.0159149169921875, 0.027923583984375, -0.029266357421875, -0.06329345703125, 0.060089111328125, -0.0131988525390625, -0.025360107421875, -0.06878662109375, 0.0226898193359375, 0.01087188720703125, -0.00428009033203125, -0.03143310546875, 0.005123138427734375, -0.0244293212890625, 0.0194091796875, -0.006694793701171875, -0.01500701904296875, 0.0560302734375, -0.042877197265625, -0.02008056640625, -0.00928497314453125, 0.008026123046875, -0.0128021240234375, 0.0208282470703125, -0.041015625, 0.0516357421875, 0.039215087890625, -0.039825439453125, -0.01397705078125, -0.0069122314453125, -0.0212860107421875, 0.007808685302734375, -0.0273895263671875, -0.058349609375, -0.008941650390625, 0.0743408203125, 0.039337158203125, 0.02874755859375, -0.039398193359375, 0.0141143798828125, -0.0133514404296875, -0.0347900390625, -0.0200958251953125, 0.0005736351013183594, -0.0144500732421875, -0.00560760498046875, -0.0291900634765625, -0.0034542083740234375, -0.034149169921875, 0.02374267578125, -0.0128173828125, -0.019805908203125, 0.05352783203125, 0.0259857177734375, -0.0224609375, -0.042694091796875, 0.0853271484375, -0.053619384765625, -0.034942626953125, 0.0160369873046875, 0.0265960693359375, 0.01020050048828125, -0.020538330078125, -0.00978851318359375, -0.00673675537109375, -0.04229736328125, 0.023956298828125, -0.01131439208984375, 0.02740478515625, -0.04925537109375, -0.0174407958984375, -0.00473785400390625, 0.0228729248046875, -0.01206207275390625, 0.0248565673828125, 0.023101806640625, 0.026824951171875, -0.01297760009765625, 0.06549072265625, 0.0082244873046875, 0.0916748046875, 0.0006480216979980469, 0.054901123046875, 0.01467132568359375, -0.030517578125, 0.04022216796875, -0.03240966796875, -0.020477294921875, 0.0087890625, -0.02886962890625, -0.094970703125, 0.052276611328125, 0.03680419921875, 0.0258026123046875, 0.0494384765625 ]
7fb9f35f66a6f023f23b5978223a2c9a7a9c8ebe
Wordpress Stackexchange Q: Need help sorting "My Sites" Alphabetically I have 40+ sites showing up in the "My Sites" page with more planned. Unfortunately WordPress doesn't sort them alphabetically, and that makes it a pain to move from site to site during routine updates and maintenance. I've tried adding asort($blogs); to wp-admin/my-sites.php, but that doesn't help either. And regardless, I'd rather do this using a filter in functions.php rather than modifying a core file. Making the issue even more complex is the fact that the list is split into four columns, and while a horizontal alphabetical ordering would be a huge improvement, vertical (by column) would be much, much better. I've been searching for answers for this for a while and coming up empty, so any help would be appreciated. (My PHP is pretty basic, so spelling out the answer would definitely be appreciated.) A: This plugin does the job too: Reorder My Sites For WordPress Multisite. Reorders the My Sites dropdown menu in the Admin Bar alphabetically. It keeps the main blog at the top.
Q: Need help sorting "My Sites" Alphabetically I have 40+ sites showing up in the "My Sites" page with more planned. Unfortunately WordPress doesn't sort them alphabetically, and that makes it a pain to move from site to site during routine updates and maintenance. I've tried adding asort($blogs); to wp-admin/my-sites.php, but that doesn't help either. And regardless, I'd rather do this using a filter in functions.php rather than modifying a core file. Making the issue even more complex is the fact that the list is split into four columns, and while a horizontal alphabetical ordering would be a huge improvement, vertical (by column) would be much, much better. I've been searching for answers for this for a while and coming up empty, so any help would be appreciated. (My PHP is pretty basic, so spelling out the answer would definitely be appreciated.) A: This plugin does the job too: Reorder My Sites For WordPress Multisite. Reorders the My Sites dropdown menu in the Admin Bar alphabetically. It keeps the main blog at the top. A: Easy one. <?php /* Plugin Name: Sort My-Sites Description: Sorts the My Sites listing on both the page and in the 3.3 admin bar dropdown Author: Otto */ add_filter('get_blogs_of_user','sort_my_sites'); function sort_my_sites($blogs) { $f = create_function('$a,$b','return strcasecmp($a->blogname,$b->blogname);'); uasort($blogs, $f); return $blogs; } Edit: If you want a PHP 7 version: add_filter('get_blogs_of_user', function( $blogs ) { uasort( $blogs, function( $a, $b ) { return strcasecmp( $a->blogname, $b->blogname ); }); return $blogs; });
wordpress
{ "language": "en", "length": 245, "provenance": "stackexchange_00019.jsonl.gz:415000", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35087" }
[ 0.021636962890625, 0.01446533203125, 0.00482177734375, 0.059783935546875, -0.002559661865234375, -0.034576416015625, 0.058807373046875, -0.07147216796875, 0.0276641845703125, 0.007144927978515625, -0.0270538330078125, -0.0128631591796875, -0.028472900390625, -0.0171051025390625, -0.044158935546875, -0.039459228515625, 0.0391845703125, -0.0277557373046875, 0.01030731201171875, -0.01227569580078125, 0.003147125244140625, 0.0221405029296875, 0.0220184326171875, 0.0517578125, 0.00664520263671875, -0.017822265625, 0.055694580078125, -0.00664520263671875, 0.02679443359375, -0.0286865234375, 0.01953125, 0.003353118896484375, 0.0102996826171875, -0.0243072509765625, 0.041290283203125, -0.0225067138671875, 0.048065185546875, -0.031280517578125, 0.0131072998046875, 0.025787353515625, -0.0123138427734375, 0.0257568359375, 0.02166748046875, 0.0132293701171875, 0.0005145072937011719, -0.084716796875, 0.035003662109375, -0.027130126953125, -0.0178070068359375, -0.07672119140625, 0.0127716064453125, 0.00984954833984375, 0.036407470703125, -0.057647705078125, -0.01062774658203125, 0.0018281936645507812, 0.0384521484375, 0.042572021484375, 0.0154876708984375, -0.0557861328125, -0.037017822265625, 0.04205322265625, 0.025726318359375, 0.0186309814453125, -0.062347412109375, 0.01273345947265625, -0.006561279296875, -0.01284027099609375, -0.05291748046875, -0.04681396484375, 0.036865234375, -0.024169921875, 0.0118560791015625, -0.024322509765625, 0.0037555694580078125, -0.0190887451171875, -0.0094146728515625, -0.04400634765625, 0.038543701171875, 0.00400543212890625, -0.0275726318359375, 0.013916015625, -0.0145111083984375, -0.0258636474609375, -0.025146484375, -0.0196075439453125, -0.028106689453125, -0.00009083747863769531, -0.032684326171875, -0.0037994384765625, -0.0203399658203125, 0.01332855224609375, -0.06494140625, 0.057464599609375, -0.004566192626953125, 0.024688720703125, 0.031768798828125, 0.0885009765625, -0.017242431640625, -0.0005717277526855469, -0.029205322265625, -0.0239105224609375, -0.02557373046875, -0.031585693359375, -0.0017566680908203125, -0.01776123046875, -0.008026123046875, 0.0015096664428710938, 0.021728515625, 0.047943115234375, -0.018310546875, -0.002323150634765625, 0.01641845703125, -0.027191162109375, -0.01020050048828125, -0.021148681640625, -0.0157623291015625, 0.016571044921875, 0.02392578125, -0.030975341796875, 0.0080108642578125, 0.044189453125, -0.0103607177734375, 0.0006189346313476562, -0.044464111328125, -0.03173828125, 0.00981903076171875, -0.037811279296875, -0.01111602783203125, 0.00970458984375, -0.047943115234375, 0.019134521484375, 0.0474853515625, 0.007282257080078125, -0.01114654541015625, -0.03790283203125, 0.029296875, -0.0224456787109375, 0.0054779052734375, -0.0063629150390625, 0.025726318359375, -0.00795745849609375, -0.0019989013671875, 0.006061553955078125, 0.01947021484375, 0.0171051025390625, 0.01238250732421875, 0.00971221923828125, 0.0103759765625, 0.002838134765625, 0.0018329620361328125, -0.03533935546875, 0.0552978515625, -0.004062652587890625, -0.038482666015625, -0.043853759765625, -0.01271820068359375, -0.03680419921875, -0.01125335693359375, -0.0394287109375, -0.03546142578125, 0.01873779296875, 0.034698486328125, -0.05438232421875, -0.01494598388671875, -0.0268096923828125, -0.01316070556640625, 0.00605010986328125, 0.0311431884765625, -0.047119140625, 0.0026264190673828125, -0.01245880126953125, 0.09515380859375, 0.031707763671875, 0.004337310791015625, 0.04486083984375, -0.0013113021850585938, -0.046234130859375, 0.003448486328125, 0.08209228515625, 0.010101318359375, -0.018035888671875, -0.0311737060546875, 0.0242156982421875, -0.06182861328125, 0.042388916015625, -0.0161895751953125, 0.036224365234375, 0.048492431640625, 0.0025234222412109375, 0.017364501953125, -0.0016469955444335938, -0.02703857421875, 0.0094757080078125, 0.00904083251953125, -0.0113677978515625, -0.0019016265869140625, 0.0299224853515625, 0.00859832763671875, -0.053314208984375, -0.025146484375, -0.0252838134765625, 0.016448974609375, 0.036285400390625, 0.02362060546875, -0.0058441162109375, -0.00347900390625, 0.005069732666015625, 0.03411865234375, 0.025115966796875, 0.0020656585693359375, 0.0115966796875, -0.0211181640625, -0.00807952880859375, -0.042236328125, 0.0002453327178955078, 0.0298309326171875, -0.006336212158203125, -0.01471710205078125, 0.00249481201171875, -0.04486083984375, 0.00812530517578125, -0.062744140625, 0.044952392578125, 0.04278564453125, -0.0117950439453125, -0.058563232421875, -0.0333251953125, -0.0176544189453125, -0.004611968994140625, -0.08197021484375, 0.08428955078125, 0.03582763671875, 0.06573486328125, 0.01337432861328125, 0.0002560615539550781, 0.020263671875, -0.050689697265625, 0.0172271728515625, 0.01496124267578125, 0.034881591796875, 0.01763916015625, 0.01039886474609375, 0.0341796875, 0.005405426025390625, -0.038055419921875, 0.031768798828125, -0.00543975830078125, 0.017364501953125, 0.07861328125, 0.0027294158935546875, 0.0177459716796875, -0.01027679443359375, 0.00698089599609375, -0.033233642578125, 0.046722412109375, 0.006885528564453125, 0.0086517333984375, -0.0013284683227539062, -0.0153045654296875, 0.01558685302734375, -0.01239013671875, -0.038421630859375, 0.007171630859375, 0.052032470703125, 0.01271820068359375, 0.037261962890625, 0.02227783203125, -0.034759521484375, 0.0176239013671875, 0.00974273681640625, -0.0218658447265625, 0.0093841552734375, 0.0083465576171875, -0.01416015625, 0.0005502700805664062, -0.0283203125, 0.01306915283203125, -0.0019063949584960938, -0.0120849609375, -0.00347900390625, 0.01534271240234375, -0.027008056640625, -0.0062408447265625, 0.00516510009765625, -0.06512451171875, -0.00372314453125, 0.046875, -0.049072265625, -0.0333251953125, 0.01140594482421875, 0.01323699951171875, -0.0465087890625, 0.0040435791015625, 0.011199951171875, -0.0179595947265625, 0.032562255859375, -0.0321044921875, 0.0300750732421875, -0.034515380859375, 0.037109375, 0.0604248046875, -0.00249481201171875, 0.015167236328125, -0.0072021484375, 0.023284912109375, -0.027313232421875, 0.00933074951171875, -0.0018405914306640625, -0.005786895751953125, -0.058319091796875, 0.015777587890625, 0.03179931640625, 0.0259246826171875, 0.044036865234375, -0.0202789306640625, 0.0267333984375, 0.0306854248046875, -0.054656982421875, -0.1094970703125, -0.0322265625, -0.03851318359375, -0.00792694091796875, 0.02337646484375, -0.0212554931640625, -0.0209808349609375, 0.03741455078125, 0.010589599609375, -0.0059814453125, -0.0254058837890625, -0.07171630859375, -0.044158935546875, -0.070068359375, 0.032928466796875, 0.01187896728515625, 0.032501220703125, 0.00019407272338867188, 0.021484375, -0.012603759765625, -0.087158203125, -0.033660888671875, 0.019317626953125, -0.0219573974609375, -0.01378631591796875, 0.0213775634765625, -0.056121826171875, -0.0010251998901367188, 0.0085601806640625, 0.04913330078125, 0.032470703125, -0.01983642578125, 0.011627197265625, -0.01515960693359375, -0.003185272216796875, 0.0294189453125, -0.054412841796875, 0.01393890380859375, 0.0061798095703125, 0.0011796951293945312, -0.044647216796875, 0.0135345458984375, 0.0070343017578125, -0.0010852813720703125, 0.01239776611328125, -0.0165252685546875, -0.0234222412109375, 0.00324249267578125, 0.01824951171875, -0.005878448486328125, -0.020172119140625, -0.0206756591796875, -0.027801513671875, 0.0214385986328125, 0.0101470947265625, 0.0123443603515625, 0.0184783935546875, 0.0004916191101074219, -0.0377197265625, -0.031036376953125, -0.0266265869140625, -0.006084442138671875, -0.024871826171875, 0.0232086181640625, -0.0182647705078125, -0.066162109375, 0.04339599609375, 0.0028476715087890625, -0.00913238525390625, -0.004772186279296875, -0.0318603515625, 0.033233642578125, 0.1082763671875, -0.032073974609375, -0.00951385498046875, 0.019378662109375, 0.0084381103515625, -0.0290374755859375, -0.022613525390625, -0.04754638671875, -0.01389312744140625, -0.1046142578125, -0.0035572052001953125, -0.0307464599609375, -0.037445068359375, -0.01470947265625, -0.0033206939697265625, -0.0360107421875, -0.060272216796875, 0.03839111328125, -0.0093231201171875, 0.024810791015625, -0.01548004150390625, 0.033660888671875, -0.033233642578125, -0.011749267578125, -0.009796142578125, -0.09765625, -0.01148223876953125, -0.0162506103515625, 0.028289794921875, -0.032196044921875, 0.0125732421875, -0.03778076171875, 0.0234832763671875, -0.0252532958984375, -0.01111602783203125, -0.00536346435546875, 0.017822265625, 0.022308349609375, -0.0384521484375, -0.041015625, -0.04052734375, -0.005405426025390625, -0.02679443359375, -0.0301361083984375, -0.026031494140625, -0.03424072265625, -0.02154541015625, -0.002048492431640625, -0.02447509765625, -0.00527191162109375, -0.01134490966796875, -0.03656005859375, 0.00550079345703125, -0.0303955078125, -0.006046295166015625, -0.00972747802734375, -0.041473388671875, -0.021636962890625, -0.0229339599609375, -0.02178955078125, 0.035980224609375, 0.0552978515625, 0.024627685546875, 0.0159759521484375, -0.05035400390625, 0.0206451416015625, 0.0145111083984375, 0.0165557861328125, 0.03643798828125, 0.0067901611328125, -0.0024585723876953125, 0.019073486328125, -0.0142059326171875, -0.0113677978515625, 0.0116424560546875, -0.030120849609375, 0.0278472900390625, -0.01123046875, -0.00487518310546875, 0.02728271484375, 0.022491455078125, 0.044769287109375, 0.006458282470703125, -0.0693359375, -0.0247650146484375, 0.06793212890625, 0.0174713134765625, -0.0107269287109375, -0.072265625, -0.047393798828125, 0.0233154296875, -0.050506591796875, 0.0123748779296875, 0.016448974609375, -0.0186309814453125, 0.02789306640625, 0.006671905517578125, 0.01788330078125, -0.01629638671875, -0.0006308555603027344, -0.02227783203125, 0.0369873046875, -0.040283203125, 0.0013561248779296875, 0.006168365478515625, -0.0234832763671875, 0.12310791015625, 0.0195465087890625, -0.04461669921875, 0.0070343017578125, -0.032196044921875, -0.004726409912109375, 0.003177642822265625, -0.038055419921875, 0.0028781890869140625, 0.0298309326171875, -0.01163482666015625, 0.01540374755859375, -0.048858642578125, 0.01222991943359375, -0.030670166015625, 0.0023784637451171875, -0.0012254714965820312, -0.031158447265625, 0.0064239501953125, 0.018218994140625, -0.01983642578125, 0.01165008544921875, -0.00545501708984375, -0.032989501953125, -0.0106964111328125, 0.036865234375, 0.016998291015625, -0.00849151611328125, 0.00737762451171875, 0.01497650146484375, 0.058868408203125, -0.007511138916015625, 0.00991058349609375, -0.01342010498046875, -0.0256195068359375, 0.0261688232421875, 0.015869140625, 0.039031982421875, 0.0196990966796875, -0.0162200927734375, 0.06378173828125, 0.01043701171875, -0.055145263671875, -0.037567138671875, -0.0256805419921875, 0.0161590576171875, -0.0274505615234375, 0.022705078125, 0.0011148452758789062, 0.003177642822265625, -0.0055084228515625, -0.01352691650390625, -0.0175018310546875, -0.02362060546875, -0.01435089111328125, -0.033111572265625, 0.0255584716796875, 0.0252227783203125, -0.057037353515625, -0.0792236328125, 0.0096893310546875, -0.023895263671875, 0.056732177734375, -0.0013475418090820312, 0.0540771484375, -0.03228759765625, -0.01070404052734375, 0.007404327392578125, 0.0203094482421875, 0.0023040771484375, -0.01800537109375, -0.061798095703125, 0.019775390625, -0.033477783203125, -0.00435638427734375, -0.018524169921875, -0.040069580078125, -0.05609130859375, -0.015289306640625, -0.00010257959365844727, 0.0023708343505859375, -0.0080413818359375, -0.040069580078125, -0.00568389892578125, 0.00041675567626953125, -0.00008124113082885742, -0.04766845703125, -0.015777587890625, 0.0491943359375, 0.006374359130859375, 0.0191802978515625, 0.0024585723876953125, 0.0404052734375, 0.0270233154296875, -0.02569580078125, 0.0209808349609375, -0.0816650390625, -0.04644775390625, -0.00469207763671875, -0.05731201171875, 0.044036865234375, 0.032928466796875, -0.0204620361328125, 0.01032257080078125, -0.0019407272338867188, 0.0133209228515625, -0.00980377197265625, -0.00415802001953125, 0.003520965576171875, 0.0306549072265625, -0.0004131793975830078, -0.0091705322265625, 0.0009508132934570312, -0.0185546875, -0.050628662109375, 0.033111572265625, 0.0245208740234375, 0.0082855224609375, -0.007480621337890625, -0.033660888671875, 0.040802001953125, 0.044586181640625, 0.0160064697265625, 0.023468017578125, 0.0132904052734375, 0.01812744140625, -0.024078369140625, 0.004322052001953125, 0.051666259765625, -0.004364013671875, 0.046539306640625, -0.0165252685546875, 0.00481414794921875, 0.0200958251953125, -0.03753662109375, -0.0185089111328125, 0.03424072265625, 0.03570556640625, -0.05706787109375, -0.007904052734375, 0.01084136962890625, -0.00682830810546875, 0.0105743408203125, -0.030120849609375, -0.025177001953125, -0.052032470703125, 0.06365966796875, -0.031402587890625, -0.038055419921875, -0.0027217864990234375, -0.0249481201171875, -0.005687713623046875, -0.0087890625, 0.0279693603515625, 0.01155853271484375, -0.041107177734375, -0.00261688232421875, 0.005725860595703125, -0.0036334991455078125, -0.0251922607421875, 0.00838470458984375, -0.02105712890625, 0.008514404296875, -0.044464111328125, 0.0016698837280273438, -0.04718017578125, 0.01357269287109375, -0.007472991943359375, -0.0311431884765625, -0.00015294551849365234, 0.062164306640625, -0.04986572265625, -0.0030078887939453125, 0.0399169921875, -0.0540771484375, 0.05224609375, -0.0029125213623046875, 0.0188446044921875, -0.043609619140625, -0.0134735107421875, -0.0008268356323242188, -0.01421356201171875, -0.04034423828125, -0.00362396240234375, 0.01348876953125, 0.047882080078125, -0.0135040283203125, -0.01129150390625, 0.03253173828125, 0.033782958984375, -0.012786865234375, -0.01009368896484375, 0.03179931640625, -0.07281494140625, -0.050872802734375, 0.01345062255859375, -0.03985595703125, -0.035308837890625, 0.0033473968505859375, -0.037445068359375, 0.059814453125, -0.017578125, -0.00536346435546875, 0.007793426513671875, 0.0303955078125, -0.01209259033203125, 0.034454345703125, -0.0220794677734375, 0.0197296142578125, 0.00099945068359375, 0.03717041015625, -0.0723876953125, -0.01226806640625, -0.016937255859375, 0.06201171875, 0.0205078125, -0.01494598388671875, -0.055023193359375, 0.003376007080078125, 0.0823974609375, 0.0540771484375, 0.06256103515625, 0.03314208984375, -0.02264404296875, 0.0281219482421875, 0.0282135009765625, -0.0247650146484375, 0.025543212890625, 0.0007581710815429688, -0.05078125, 0.00750732421875, 0.00870513916015625, -0.01203155517578125, -0.00980377197265625, -0.040985107421875, -0.033477783203125, -0.0037784576416015625, 0.0165863037109375, 0.0478515625, 0.00823211669921875, 0.032745361328125, 0.04205322265625, -0.0169677734375, -0.0267791748046875, -0.0155792236328125, 0.049652099609375, 0.004024505615234375, 0.040863037109375, 0.05328369140625, 0.03460693359375, 0.0218048095703125, -0.03277587890625, 0.018890380859375, -0.01204681396484375, -0.05487060546875, 0.0285491943359375, 0.01180267333984375, 0.04095458984375, -0.0240478515625, -0.0269012451171875, 0.028533935546875, 0.053802490234375, -0.0184478759765625, -0.0221710205078125, 0.00562286376953125, -0.0257720947265625, 0.02886962890625, -0.004482269287109375, 0.0245513916015625, -0.01023101806640625, -0.018707275390625, -0.0168609619140625, -0.03369140625, 0.0212860107421875, 0.031219482421875, 0.00855255126953125, 0.0014810562133789062, 0.00916290283203125, -0.056915283203125, -0.0305938720703125, 0.046600341796875, 0.0170745849609375, 0.05340576171875, -0.033233642578125, 0.06866455078125, -0.055328369140625, 0.0019969940185546875, -0.03533935546875, 0.051605224609375, -0.0394287109375, 0.0423583984375, -0.08380126953125, -0.049285888671875, -0.0283203125, 0.055999755859375, 0.01314544677734375, -0.032928466796875, 0.0198974609375, 0.061981201171875, -0.0005068778991699219, -0.023651123046875, 0.0552978515625, 0.0020580291748046875, -0.0180206298828125, -0.042877197265625, 0.039215087890625, 0.037322998046875, 0.014556884765625, 0.036773681640625, 0.054901123046875, 0.0166778564453125, -0.034088134765625, 0.0199127197265625, 0.0005807876586914062, -0.0010080337524414062, 0.0018453598022460938, 0.003570556640625, -0.0081787109375, 0.0038166046142578125, -0.030670166015625, 0.00827789306640625, -0.06292724609375, -0.0225067138671875, 0.00083160400390625, 0.0347900390625, 0.033111572265625, -0.025115966796875, 0.0198211669921875, -0.045684814453125, 0.00001537799835205078, 0.0183868408203125, 0.037506103515625, 0.01422882080078125, 0.0007033348083496094, 0.01544189453125, -0.043182373046875, -0.047210693359375, 0.00548553466796875, 0.032989501953125, -0.0213165283203125, 0.0477294921875, -0.00876617431640625, 0.000537872314453125, 0.007778167724609375, -0.035400390625, 0.005794525146484375, -0.01087188720703125, 0.0256195068359375, -0.01413726806640625, -0.0005984306335449219, -0.0108795166015625, -0.0364990234375, -0.00484466552734375, 0.05242919921875, -0.0343017578125, 0.0008492469787597656, -0.0094146728515625, 0.0196685791015625, -0.0257415771484375, 0.0286712646484375, -0.0216522216796875, -0.0457763671875, -0.035430908203125, -0.007297515869140625, 0.002506256103515625, -0.0018949508666992188, -0.0290374755859375, 0.04718017578125, 0.0035266876220703125, -0.0264434814453125, 0.0261993408203125, -0.04339599609375, 0.02813720703125, 0.03143310546875, 0.033447265625, -0.0328369140625, 0.0270843505859375, -0.0087890625, -0.0029087066650390625, 0.01447296142578125, 0.0303192138671875, 0.0252532958984375, -0.03338623046875, 0.0288848876953125, 0.038238525390625, 0.04351806640625, 0.0016193389892578125, 0.013031005859375, 0.01496124267578125, -0.01047515869140625, -0.02239990234375, 0.01058197021484375, -0.033843994140625, -0.004119873046875, 0.0084686279296875, 0.020416259765625, 0.022857666015625, 0.019195556640625, -0.048614501953125, -0.0628662109375, 0.04632568359375, 0.004810333251953125, -0.0111846923828125, -0.01526641845703125, -0.00982666015625, -0.0301971435546875, 0.0012502670288085938, -0.01202392578125, 0.006603240966796875, 0.040069580078125, -0.0279998779296875, -0.022705078125, -0.0367431640625, 0.00902557373046875, -0.03887939453125, 0.007289886474609375, 0.018341064453125, -0.02020263671875, 0.036285400390625, -0.01116943359375, -0.00916290283203125, 0.051239013671875, 0.031951904296875, -0.0189056396484375, 0.060150146484375, -0.0167083740234375, -0.0240020751953125, -0.046051025390625, -0.00016450881958007812, -0.05084228515625, 0.01000213623046875, -0.004032135009765625, -0.0171051025390625, -0.0162811279296875, -0.05767822265625, -0.0670166015625, 0.048675537109375, -0.005462646484375, -0.038726806640625, -0.052490234375, 0.001953125, -0.0207977294921875, 0.0482177734375, 0.001338958740234375, -0.0288848876953125, -0.0112457275390625, 0.046722412109375, 0.0228118896484375, 0.05364990234375, -0.0268096923828125, 0.07427978515625, -0.028717041015625, 0.048065185546875, 0.017852783203125, -0.004840850830078125, 0.0012998580932617188, -0.03070068359375, 0.048797607421875, 0.0572509765625, -0.01294708251953125, -0.036956787109375, 0.022247314453125, -0.0289459228515625, 0.01042938232421875, 0.00983428955078125, -0.0806884765625, -0.045989990234375, 0.043975830078125, 0.049591064453125, 0.01959228515625, 0.004146575927734375, -0.01317596435546875, 0.0037994384765625, -0.006374359130859375, -0.03350830078125, 0.0089569091796875, -0.05908203125, -0.03033447265625, -0.0193939208984375, 0.0036106109619140625, 0.0372314453125, -0.0293731689453125, -0.0035858154296875, 0.01016998291015625, 0.035125732421875, 0.005313873291015625, -0.0180511474609375, 0.007778167724609375, 0.0182037353515625, -0.0231170654296875, 0.01357269287109375, -0.0116119384765625, 0.0111541748046875, 0.00695037841796875, -0.015869140625, -0.04498291015625, -0.023681640625, 0.0000014901161193847656, 0.020416259765625, -0.00852203369140625, 0.02423095703125, 0.0148468017578125, 0.0095672607421875, -0.033050537109375, 0.008697509765625, 0.00772857666015625, 0.01219940185546875, 0.0164947509765625, 0.034149169921875, 0.01410675048828125, 0.0467529296875, 0.0185089111328125, -0.0030994415283203125, 0.006420135498046875, 0.0321044921875, -0.027435302734375, -0.0192108154296875, -0.0114593505859375, -0.04107666015625, 0.007038116455078125, 0.043182373046875, 0.04327392578125, 0.0013408660888671875, 0.00669097900390625, -0.0214996337890625, 0.0227203369140625, 0.00824737548828125 ]
23205304c78b9ea51a28e1c10a9c7a3487163118
Wordpress Stackexchange Q: Wp get all the sub pages of the parent using wp query Here is my code $my_wp_query = new WP_Query(); $all_wp_pages = $my_wp_query->query(array('post_type' => 'page','post_parent'=>$parid,'orderby'=>'title','order'=>'ASC' )); It displays the first level sub pages only. I need all the sub page, sub's sub page ... and all. I searched for a solution and i can get all sub pages using get_pages and wp_list_pages. But i really need to sort the order by custom post meta value. So i have to use custom query. please help. Thanks A: Why not just use get_pages()? e.g. <?php // Determine parent page ID $parent_page_id = ( '0' != $post->post_parent ? $post->post_parent : $post->ID ); // Get child pages as array $page_tree_array = get_pages( array( 'child_of' => $parent_page_id; ) ); ?> But if it really must be as a WP_Query() object, use a similar method: <?php // Determine parent page ID $parent_page_id = ( '0' != $post->post_parent ? $post->post_parent : $post->ID ); // Build WP_Query() argument array $page_tree_query_args = array( 'post_parent' => $parent_page_id; ); // Get child pages as a WP_Query() object $page_tree_query = new WP_Query( $page_tree_query_args ); ?>
Q: Wp get all the sub pages of the parent using wp query Here is my code $my_wp_query = new WP_Query(); $all_wp_pages = $my_wp_query->query(array('post_type' => 'page','post_parent'=>$parid,'orderby'=>'title','order'=>'ASC' )); It displays the first level sub pages only. I need all the sub page, sub's sub page ... and all. I searched for a solution and i can get all sub pages using get_pages and wp_list_pages. But i really need to sort the order by custom post meta value. So i have to use custom query. please help. Thanks A: Why not just use get_pages()? e.g. <?php // Determine parent page ID $parent_page_id = ( '0' != $post->post_parent ? $post->post_parent : $post->ID ); // Get child pages as array $page_tree_array = get_pages( array( 'child_of' => $parent_page_id; ) ); ?> But if it really must be as a WP_Query() object, use a similar method: <?php // Determine parent page ID $parent_page_id = ( '0' != $post->post_parent ? $post->post_parent : $post->ID ); // Build WP_Query() argument array $page_tree_query_args = array( 'post_parent' => $parent_page_id; ); // Get child pages as a WP_Query() object $page_tree_query = new WP_Query( $page_tree_query_args ); ?> A: The Problem What you're having problems grasping is "How do I do X?" This isn't a 1 step action, it's a multistep process, and it needs to be broken apart. You don't need to do this: get all the posts that are a child of X ordered by meta You need to do this: get all the posts that are a child of X for each child, get all the posts that are a child foreach child of that child get all the posts that are a child ... hmmm we don't have any more children left Take our list of posts and order them by meta The General Solution So, to understand how to infinitely do it until you reach the end, without hardcoding it, you need to understand recursive functions. e.g. function make_zero( $amount ) { $amount = $amount - 1; if ( $amount > 1 ){ return make_zero( $amount ); } return $amount; } Applying Recursion To This Problem For a Solution So your parent is $parid, and your post meta has a key of $metakey. Lets pass it into a function to grab its children. $children = get_children_with_meta( $parid, $metakey ); Then we'll sort the $children array, the keys will be the post IDs, and the values will be the meta values. asort($children); and lets define the function as: function get_children_with_meta( $parent_id, $metakey ) { $q = new WP_Query( array( 'post_parent' => $parent_id, 'meta_key' => $metakey )); if ( $q->have_posts() ) { $children - array(); while ( $q->have_posts() ) { $q->the_post(); $meta_value = get_post_meta(get_the_ID(), $metakey, true ); $children[get_the_ID() ] = $meta_value; } return $children; } else { // there are no children!! return array(); } } This gives you an array of post IDs and values, ordered from lowest to highest. You can use other PHP sorting functions to do it from highest to lowest. Now What About the Childrens Children? In the middle of our loop, we need to make a recursive call, passing in the child rather than the parent ID. So this: $q->the_post(); $meta_value = get_post_meta(get_the_ID(), $metakey, true ); $children[get_the_ID() ] = $meta_value; Becomes this: $q->the_post(); $meta_value = get_post_meta(get_the_ID(), $metakey, true ); $children[get_the_ID() ] = $meta_value; // now get the childrens children $grandchildren = get_children_with_meta( get_the_ID(), $metakey ); // merge the grandchildren and the children into the same list $children = array_merge( $children, $grandchildren ); With this modification the function now retrieves the children, the childrens children, the childrens childrens children..... etc At the end you can trim off the values on the array to get IDs like this: $post_ids = array_keys( $children ); $q = new WP_Query( array( 'post__in' => $post_ids ); // etc Using this strategy you can replace the meta key value with any other metric, or use recursive functions in other ways. Since the full code requires only a few seconds of basic comprehension and a quick copy paste, I shan't insult your intelligence with a full copy paste block of code. Advantages * *With modification works for any post type and form of data *Can be modified to generate nested markup *Easily cache to speed up by putting the returned arrays in transients *Can be setup with paging by applying paging to the end WP_Query Problems You Will Encounter * *You have no way of knowing how many children there are until you've found them, so performance costs don't scale *What you want will generate a lot of queries, and is inherently costly because of the potential depths involved. My Recommendation I would recommend you either flatten your page hierarchy or use a taxonomy instead. E.g. if you're rating posts, have a Page Rating taxonomy with the terms 1,2,3,4 and 5 etc. This will provide you with a post listing out of the box. Alternatively, use nav menus and bypass this problem entirely A: Recursively get all current sub-pages Here is a recursive approach using get_children. Put the following in your functions.php: function get_all_subpages($page, $args = '', $output = OBJECT) { // Validate 'page' parameter if (! is_numeric($page)) $page = 0; // Set up args $default_args = array( 'post_type' => 'page', ); if (empty($args)) $args = array(); elseif (! is_array($args)) if (is_string($args)) parse_str($args, $args); else $args = array(); $args = array_merge($default_args, $args); $args['post_parent'] = $page; // Validate 'output' parameter $valid_output = array(OBJECT, ARRAY_A, ARRAY_N); if (! in_array($output, $valid_output)) $output = OBJECT; // Get children $subpages = array(); $children = get_children($args, $output); foreach ($children as $child) { $subpages[] = $child; if (OBJECT === $output) $page = $child->ID; elseif (ARRAY_A === $output) $page = $child['ID']; else $page = $child[0]; // Get subpages by recursion $subpages = array_merge($subpages, get_all_subpages($page, $args, $output)); } return $subpages; } How to use it Use the above function wherever you want, for instance like this: $all_current_subpages = get_all_subpages(0); The function does support an args parameter (query string or array) and an output type (see above). So you could also use it like so: $args = array( 'post_status' => 'private', 'order_by' => 'post_date', 'order' => 'DESC', ); $all_current_subpages = get_all_subpages(42, $args, ARRAY_A); And due to the dependency get_children => get_posts => WP_Query you can use meta values, as initially requested by the author of this question. A: I've made a recursive function that gets all the children ids of a parent page. After we have the ids, we make query for the pages and can order the results by meta key/value. // Gets all the children ids of post_parent function _get_children_ids( $post_parent ) { $results = new WP_Query( array( 'post_type' => 'page', 'post_parent' => $post_parent ) ); $child_ids = array(); if ( $results->found_posts > 0 ) foreach ( $results->posts as $post ) // add each child id to array $child_ids[] = $post->ID; if ( ! empty( $child_ids ) ) foreach ( $child_ids as $child_id ) // add further children to array $child_ids = array_merge( $child_ids, _get_children_ids( $child_id ) ); return $child_ids; } $children_ids = _get_children_ids( 9 ); // use your numeric page id or get_the_id() $results = new WP_Query( array( 'post_type' => 'page', 'post__in' => $children_ids #'meta_key' => 'meta_key', // your meta key #'orderby' => 'meta_key', /* 'meta_query' => array( // optional meta_query array( 'key' => 'meta_key', // key 'value' => array(3, 4), // values 'compare' => 'IN', // operator ) ) */ ) ); var_dump( $results ); If you need to sort the children by meta key/value in a hierarchical manner, you should pass the meta_key and order_by values to the WP_Query in the _get_children_ids function (instead of the final WP_Query). If not, a simpler method to get all the child id is: $children = get_pages( 'child_of=9'); $children_ids = array(); if ( ! empty( $children ) ) foreach ( $children as $post ) $children_ids[] = $post->ID; A: Not sure if this is exactly what you are after, but you could use the wp_list_pages function, and use the 'child_of' and 'depth' parameters. See the following page on the Codex for more info: http://codex.wordpress.org/Function_Reference/wp_list_pages A: I MAKE THIS WORKING, JUST COPY PASTE THE CODE TO YOUR PAGE.PHP FILE //REDIRECT TO FIRST CHILD FROM PARENT PAGE // Build WP_Query() argument array $page_tree_query_args = array( 'post_parent' => $post -> ID, 'post_type' => 'page', 'order' => 'asc' ); // Get child pages as a WP_Query() object $page_tree_query = new WP_Query( $page_tree_query_args ); if(!empty($page_tree_query -> posts)){ $first_subpage = $page_tree_query -> posts[0] -> ID; wp_redirect( get_permalink( $first_subpage ) ); exit; }
wordpress
{ "language": "en", "length": 1403, "provenance": "stackexchange_00019.jsonl.gz:415008", "question_score": "15", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35123" }
[ 0.0235137939453125, -0.019439697265625, 0.006748199462890625, -0.042083740234375, -0.0092620849609375, -0.005176544189453125, 0.009979248046875, 0.0165863037109375, -0.008819580078125, 0.012176513671875, -0.0283355712890625, -0.0251617431640625, -0.0275726318359375, -0.03179931640625, -0.0162200927734375, -0.06414794921875, 0.041107177734375, -0.0279693603515625, 0.005901336669921875, -0.006946563720703125, -0.007171630859375, 0.0132293701171875, 0.0248260498046875, 0.0242462158203125, 0.059814453125, -0.059112548828125, 0.0178070068359375, -0.012298583984375, 0.0389404296875, -0.0165557861328125, 0.0167083740234375, 0.0106658935546875, 0.0168914794921875, -0.0311279296875, 0.0625, -0.031524658203125, 0.0191192626953125, -0.0256500244140625, 0.034454345703125, -0.005626678466796875, 0.0159454345703125, 0.00801849365234375, -0.0259246826171875, 0.033843994140625, -0.06109619140625, -0.0252838134765625, -0.007312774658203125, 0.00872802734375, 0.038299560546875, -0.01421356201171875, 0.004886627197265625, -0.01016998291015625, 0.0107879638671875, -0.00423431396484375, -0.0264892578125, -0.0259246826171875, 0.0626220703125, -0.0222015380859375, 0.032867431640625, -0.061676025390625, -0.06268310546875, 0.0294952392578125, 0.032958984375, 0.00399017333984375, -0.0046234130859375, 0.012298583984375, -0.01708984375, 0.0028839111328125, -0.0009450912475585938, -0.0034999847412109375, 0.0156707763671875, -0.00254058837890625, 0.005016326904296875, 0.0012559890747070312, 0.0165557861328125, -0.04052734375, -0.00091552734375, -0.018585205078125, 0.013092041015625, 0.037322998046875, -0.0215301513671875, -0.0150604248046875, -0.12158203125, 0.029205322265625, -0.002185821533203125, 0.036834716796875, -0.02886962890625, -0.01515960693359375, -0.052490234375, -0.0340576171875, -0.03717041015625, -0.0250396728515625, -0.0170440673828125, -0.03271484375, -0.037017822265625, -0.0231170654296875, 0.033050537109375, 0.0758056640625, -0.04443359375, 0.0078887939453125, -0.029022216796875, -0.0165863037109375, 0.0183868408203125, -0.050140380859375, 0.026580810546875, 0.00893402099609375, 0.00888824462890625, 0.00250244140625, 0.047332763671875, 0.018402099609375, -0.002277374267578125, 0.04248046875, -0.0091400146484375, -0.006092071533203125, -0.03717041015625, 0.0548095703125, -0.01093292236328125, -0.0460205078125, -0.01425933837890625, -0.0162353515625, 0.0019369125366210938, 0.005687713623046875, -0.0086669921875, -0.009033203125, 0.0201873779296875, 0.01175689697265625, -0.021636962890625, -0.01201629638671875, 0.016693115234375, 0.009185791015625, -0.0509033203125, 0.00386810302734375, 0.06787109375, 0.0288543701171875, 0.0139312744140625, -0.0132598876953125, -0.00015461444854736328, -0.0020999908447265625, 0.0272979736328125, -0.018035888671875, 0.007595062255859375, -0.0364990234375, 0.012969970703125, 0.0217132568359375, -0.0330810546875, 0.0021457672119140625, 0.01398468017578125, 0.0201568603515625, -0.016082763671875, -0.030853271484375, -0.01367950439453125, -0.01702880859375, 0.039520263671875, -0.01959228515625, -0.015472412109375, -0.055572509765625, -0.0017862319946289062, -0.0309906005859375, 0.0234527587890625, -0.03936767578125, -0.00133514404296875, 0.0282745361328125, 0.036590576171875, -0.017120361328125, -0.0281982421875, -0.04010009765625, -0.0196380615234375, -0.024169921875, 0.021392822265625, 0.0122833251953125, 0.048187255859375, -0.037841796875, -0.007625579833984375, 0.0168914794921875, 0.003437042236328125, 0.0164337158203125, -0.019775390625, -0.00809478759765625, 0.0118255615234375, 0.0087432861328125, -0.00998687744140625, -0.029296875, -0.0243682861328125, 0.027374267578125, -0.0263824462890625, 0.038055419921875, 0.0098114013671875, 0.039459228515625, -0.018157958984375, 0.020751953125, 0.021240234375, 0.04339599609375, -0.07611083984375, 0.059722900390625, 0.02459716796875, -0.00337982177734375, -0.0182952880859375, 0.01378631591796875, -0.0027179718017578125, -0.049285888671875, -0.0489501953125, -0.03216552734375, -0.0070343017578125, 0.035430908203125, -0.004268646240234375, -0.0180816650390625, -0.0002639293670654297, 0.0026454925537109375, 0.03289794921875, 0.0213775634765625, 0.003173828125, 0.005641937255859375, -0.008392333984375, -0.044281005859375, -0.043792724609375, 0.01898193359375, -0.0019159317016601562, -0.01541900634765625, -0.0209808349609375, 0.006076812744140625, -0.045196533203125, -0.007289886474609375, -0.05255126953125, 0.0265655517578125, 0.07061767578125, -0.017852783203125, -0.01513671875, -0.0257415771484375, 0.059051513671875, 0.01210784912109375, -0.06103515625, 0.0243377685546875, 0.052490234375, 0.045257568359375, -0.0333251953125, -0.001873016357421875, -0.01236724853515625, -0.0438232421875, -0.0009446144104003906, 0.04266357421875, 0.031036376953125, 0.021728515625, -0.005550384521484375, -0.0213470458984375, 0.0283203125, -0.0780029296875, -0.021270751953125, -0.0119171142578125, -0.0037822723388671875, 0.06072998046875, -0.010833740234375, 0.025390625, 0.0191497802734375, 0.0098114013671875, -0.0013685226440429688, 0.04559326171875, 0.00788116455078125, 0.038604736328125, -0.0307769775390625, 0.0142059326171875, -0.01099395751953125, -0.0110626220703125, -0.005840301513671875, -0.0120849609375, 0.0127410888671875, 0.00370025634765625, 0.0322265625, 0.0214080810546875, -0.00691986083984375, -0.017669677734375, 0.007686614990234375, -0.0015468597412109375, 0.001678466796875, -0.0015506744384765625, -0.02325439453125, -0.0199737548828125, -0.01442718505859375, 0.019683837890625, -0.003696441650390625, -0.0204620361328125, 0.0157470703125, 0.055145263671875, 0.0311126708984375, -0.00960540771484375, -0.0233612060546875, -0.0462646484375, 0.01311492919921875, 0.0628662109375, -0.009246826171875, 0.0033473968505859375, 0.01898193359375, 0.0445556640625, -0.033782958984375, 0.043212890625, 0.0073394775390625, -0.0014286041259765625, 0.0211944580078125, -0.047119140625, 0.04888916015625, -0.033355712890625, 0.035308837890625, 0.0594482421875, -0.018402099609375, 0.0140380859375, -0.0019817352294921875, -0.0330810546875, -0.004558563232421875, 0.01509857177734375, -0.0122222900390625, -0.01467132568359375, -0.041656494140625, 0.04327392578125, 0.0158538818359375, 0.056610107421875, -0.004993438720703125, -0.037933349609375, 0.01593017578125, 0.0155792236328125, -0.0684814453125, -0.10784912109375, -0.0181121826171875, -0.06683349609375, -0.026458740234375, -0.005313873291015625, -0.03253173828125, 0.0287322998046875, -0.0015821456909179688, 0.00457763671875, -0.020294189453125, -0.028839111328125, -0.06689453125, -0.047576904296875, -0.048553466796875, 0.06561279296875, -0.0023345947265625, 0.0202178955078125, 0.01338958740234375, 0.0552978515625, 0.0184478759765625, -0.052154541015625, -0.0010404586791992188, 0.0880126953125, -0.0330810546875, -0.037841796875, -0.0243682861328125, -0.0194549560546875, 0.02337646484375, -0.0005459785461425781, -0.0225830078125, -0.002197265625, 0.031768798828125, -0.010711669921875, -0.005855560302734375, 0.0386962890625, 0.0199737548828125, -0.026702880859375, 0.001178741455078125, 0.035400390625, 0.0016050338745117188, -0.0268096923828125, -0.0280303955078125, -0.05987548828125, -0.056976318359375, 0.0693359375, 0.039642333984375, 0.0263519287109375, -0.0042266845703125, 0.013427734375, 0.024169921875, 0.01158905029296875, 0.01474761962890625, -0.00020754337310791016, -0.00200653076171875, 0.0006227493286132812, 0.017181396484375, -0.014801025390625, 0.05914306640625, -0.0044403076171875, -0.005352020263671875, 0.0323486328125, -0.0025177001953125, 0.01491546630859375, -0.03619384765625, -0.02398681640625, -0.03131103515625, 0.041259765625, -0.0224761962890625, 0.01436614990234375, -0.047332763671875, -0.02081298828125, -0.02337646484375, 0.07305908203125, -0.0002739429473876953, -0.031524658203125, -0.0308380126953125, 0.00127410888671875, -0.022979736328125, -0.043304443359375, -0.017608642578125, -0.01116943359375, -0.03680419921875, 0.0160064697265625, -0.007354736328125, -0.01132965087890625, -0.0196533203125, -0.007175445556640625, -0.023406982421875, -0.01329803466796875, 0.03375244140625, 0.0010366439819335938, -0.040191650390625, 0.053802490234375, -0.04241943359375, 0.03729248046875, -0.03765869140625, 0.03515625, -0.093994140625, -0.0206451416015625, 0.0279083251953125, 0.03228759765625, -0.0245361328125, -0.03912353515625, -0.0282440185546875, 0.048553466796875, 0.005474090576171875, 0.033416748046875, 0.005077362060546875, 0.024993896484375, -0.032318115234375, -0.019989013671875, 0.01181793212890625, -0.0435791015625, -0.0093231201171875, -0.01702880859375, 0.015777587890625, -0.01776123046875, -0.061431884765625, -0.04071044921875, -0.045684814453125, -0.00821685791015625, -0.028076171875, -0.052154541015625, -0.07464599609375, 0.0032253265380859375, -0.042572021484375, -0.00923919677734375, -0.050048828125, -0.058990478515625, 0.0343017578125, 0.0318603515625, -0.0347900390625, -0.00675201416015625, 0.0531005859375, 0.033599853515625, -0.049163818359375, -0.032745361328125, -0.048126220703125, -0.00804901123046875, -0.01519012451171875, 0.03759765625, -0.002384185791015625, -0.0003237724304199219, 0.0291748046875, -0.032501220703125, 0.02020263671875, 0.010955810546875, 0.034454345703125, -0.004352569580078125, -0.02960205078125, 0.037078857421875, -0.01297760009765625, -0.0290679931640625, 0.031829833984375, -0.0214996337890625, -0.037811279296875, -0.034515380859375, 0.06488037109375, -0.0133514404296875, 0.0511474609375, -0.045379638671875, -0.033843994140625, 0.009307861328125, 0.0234375, 0.00787353515625, 0.0126190185546875, -0.0029296875, 0.01849365234375, 0.0232391357421875, 0.0270233154296875, 0.053466796875, 0.087158203125, -0.007472991943359375, 0.06463623046875, 0.01351165771484375, -0.004261016845703125, -0.0000324249267578125, 0.0057830810546875, 0.042022705078125, 0.002696990966796875, -0.02459716796875, 0.006732940673828125, -0.01287841796875, -0.01457977294921875, -0.00707244873046875, -0.0171051025390625, 0.0271759033203125, 0.028594970703125, -0.0112457275390625, -0.0176239013671875, -0.0275421142578125, -0.007472991943359375, -0.042510986328125, 0.0005483627319335938, 0.007114410400390625, -0.01617431640625, -0.0321044921875, 0.08099365234375, -0.01416015625, 0.0214996337890625, -0.00978851318359375, -0.01727294921875, -0.03546142578125, 0.0517578125, 0.00911712646484375, -0.0042266845703125, 0.02886962890625, 0.01496124267578125, 0.05792236328125, -0.0176544189453125, -0.0143890380859375, 0.048492431640625, 0.0340576171875, 0.0270233154296875, -0.00525665283203125, -0.03436279296875, -0.0090484619140625, -0.0278778076171875, 0.037628173828125, 0.0213775634765625, -0.022308349609375, -0.03656005859375, -0.03997802734375, 0.020843505859375, 0.03106689453125, -0.0167694091796875, 0.03155517578125, -0.0291900634765625, 0.022674560546875, 0.000698089599609375, -0.0076904296875, 0.0081024169921875, -0.0003261566162109375, -0.027679443359375, -0.0025043487548828125, 0.021728515625, -0.0133209228515625, -0.0208282470703125, -0.0299072265625, -0.048797607421875, 0.053497314453125, -0.0085296630859375, 0.059295654296875, -0.04803466796875, -0.01216888427734375, -0.0274200439453125, 0.0024871826171875, 0.06182861328125, 0.039276123046875, -0.024627685546875, 0.0025234222412109375, -0.0304718017578125, -0.0018167495727539062, 0.00890350341796875, -0.047149658203125, -0.0345458984375, -0.033935546875, -0.039947509765625, 0.00860595703125, -0.0278778076171875, 0.0185546875, -0.023406982421875, 0.00688934326171875, -0.024749755859375, -0.012298583984375, -0.01036834716796875, 0.11138916015625, -0.07611083984375, 0.053436279296875, -0.00768280029296875, 0.0369873046875, -0.0201263427734375, 0.01043701171875, 0.012664794921875, -0.037506103515625, -0.0169677734375, -0.011871337890625, -0.01556396484375, -0.0238494873046875, -0.003894805908203125, -0.0061492919921875, 0.049224853515625, -0.034454345703125, -0.004642486572265625, -0.0102081298828125, 0.006435394287109375, -0.04461669921875, 0.0218963623046875, 0.037139892578125, -0.00672149658203125, -0.0212249755859375, 0.0090484619140625, 0.003265380859375, -0.0174713134765625, 0.0180511474609375, -0.0032978057861328125, -0.0157928466796875, -0.0291595458984375, 0.051513671875, 0.076171875, 0.008941650390625, 0.045745849609375, -0.0003809928894042969, 0.01555633544921875, 0.00830841064453125, 0.033660888671875, 0.01511383056640625, -0.0167694091796875, 0.08111572265625, 0.017822265625, -0.005321502685546875, 0.058197021484375, -0.03411865234375, -0.0283660888671875, -0.00305938720703125, 0.01081085205078125, -0.024932861328125, 0.01093292236328125, -0.0009927749633789062, 0.005626678466796875, -0.0126800537109375, -0.003650665283203125, 0.00994873046875, 0.00274658203125, 0.006923675537109375, -0.004917144775390625, -0.031982421875, -0.00244903564453125, -0.0225982666015625, -0.004962921142578125, -0.02496337890625, 0.047515869140625, 0.0173797607421875, 0.032196044921875, 0.01209259033203125, -0.040924072265625, 0.050262451171875, -0.02880859375, 0.0248565673828125, -0.028411865234375, 0.0166015625, -0.04974365234375, 0.00067138671875, -0.032745361328125, 0.006072998046875, 0.0168304443359375, 0.00867462158203125, -0.003955841064453125, 0.07177734375, -0.02691650390625, 0.007450103759765625, 0.0300445556640625, -0.061553955078125, -0.0484619140625, -0.004207611083984375, 0.0261688232421875, -0.01535797119140625, -0.048248291015625, 0.01261138916015625, -0.07318115234375, 0.004421234130859375, 0.0010776519775390625, 0.005855560302734375, 0.054412841796875, -0.060272216796875, 0.00421905517578125, 0.025604248046875, 0.030181884765625, 0.0007634162902832031, 0.001346588134765625, 0.0017614364624023438, -0.018096923828125, -0.00833892822265625, 0.00933074951171875, 0.0048980712890625, -0.0026035308837890625, -0.004730224609375, -0.06060791015625, 0.09417724609375, -0.027099609375, 0.0311431884765625, 0.0230865478515625, 0.0301361083984375, -0.038330078125, -0.00902557373046875, -0.046600341796875, 0.06256103515625, 0.0587158203125, 0.053619384765625, -0.026397705078125, -0.031341552734375, 0.0257720947265625, 0.0439453125, 0.039276123046875, 0.00196075439453125, -0.053955078125, -0.0032501220703125, 0.037139892578125, 0.0178985595703125, 0.00704193115234375, 0.06878662109375, 0.0089111328125, 0.0308837890625, 0.056243896484375, -0.048828125, 0.01898193359375, -0.0107574462890625, 0.012542724609375, 0.0242767333984375, 0.0157470703125, 0.01409912109375, -0.0138702392578125, 0.0079193115234375, -0.042236328125, -0.0016317367553710938, 0.0242767333984375, -0.0200042724609375, 0.045196533203125, 0.0294342041015625, 0.0433349609375, -0.054595947265625, -0.061187744140625, -0.00965118408203125, 0.03179931640625, 0.0027980804443359375, 0.02435302734375, -0.0159454345703125, 0.0155181884765625, 0.0452880859375, -0.005184173583984375, 0.006206512451171875, 0.043670654296875, -0.0438232421875, 0.03472900390625, 0.024627685546875, 0.00846099853515625, -0.059326171875, 0.004810333251953125, 0.052734375, 0.05767822265625, -0.04217529296875, -0.064208984375, 0.01508331298828125, -0.00394439697265625, 0.00005829334259033203, 0.0244598388671875, 0.01355743408203125, 0.0262603759765625, 0.053314208984375, -0.00911712646484375, -0.03485107421875, 0.001132965087890625, 0.031524658203125, 0.0000693202018737793, -0.0297088623046875, 0.01309967041015625, -0.03704833984375, 0.0119171142578125, -0.052764892578125, 0.0299835205078125, 0.017974853515625, 0.0184326171875, 0.02166748046875, -0.0177764892578125, -0.002941131591796875, 0.0031147003173828125, -0.005512237548828125, 0.0004634857177734375, -0.004184722900390625, 0.003406524658203125, -0.01285552978515625, 0.007572174072265625, 0.01580810546875, 0.043548583984375, 0.032196044921875, 0.0386962890625, 0.0144805908203125, -0.0236358642578125, 0.01123809814453125, 0.03802490234375, -0.020904541015625, 0.00945281982421875, -0.0158843994140625, -0.0107879638671875, -0.0032711029052734375, -0.02081298828125, -0.01084136962890625, 0.029327392578125, 0.0175018310546875, 0.0352783203125, 0.033935546875, 0.00852203369140625, 0.01207733154296875, 0.031768798828125, 0.0261688232421875, 0.040191650390625, 0.053070068359375, -0.07891845703125, -0.0206756591796875, -0.0428466796875, 0.006122589111328125, 0.039398193359375, 0.0279693603515625, 0.00621795654296875, 0.01004791259765625, 0.0161895751953125, -0.011688232421875, 0.006702423095703125, 0.00807952880859375, 0.0036983489990234375, 0.0137786865234375, 0.0186614990234375, 0.00940704345703125, -0.0372314453125, -0.005443572998046875, 0.0008006095886230469, -0.01120758056640625, 0.0142822265625, 0.0260009765625, 0.027252197265625, 0.006160736083984375, 0.014862060546875, 0.017333984375, -0.0288543701171875, -0.0214691162109375, 0.08013916015625, -0.05950927734375, -0.0208587646484375, 0.000028431415557861328, -0.029632568359375, 0.041900634765625, 0.0175018310546875, 0.01114654541015625, 0.0275421142578125, -0.03265380859375, 0.01261138916015625, -0.00821685791015625, -0.0075531005859375, -0.0152130126953125, 0.018402099609375, -0.009521484375, -0.0357666015625, 0.0648193359375, 0.04669189453125, -0.0091094970703125, 0.02484130859375, -0.01451873779296875, -0.05706787109375, 0.0469970703125, -0.054443359375, 0.07550048828125, 0.035186767578125, -0.0266265869140625, -0.043365478515625, -0.0023288726806640625, -0.00879669189453125, 0.015716552734375, 0.0075225830078125, 0.019073486328125, 0.0306243896484375, -0.035125732421875, -0.0269012451171875, 0.034423828125, 0.0247955322265625, -0.01149749755859375, 0.00695037841796875, 0.01483917236328125, -0.036285400390625, -0.0309295654296875, -0.05316162109375, -0.02691650390625, -0.055908203125, 0.0036754608154296875, 0.01312255859375, -0.00913238525390625, -0.0173187255859375, 0.01219940185546875, -0.00734710693359375, 0.0274658203125, 0.018035888671875, -0.041839599609375, 0.03369140625, -0.024322509765625, 0.0103607177734375, 0.00965118408203125, 0.0075225830078125, -0.00788116455078125, -0.03057861328125, -0.02630615234375, 0.0301055908203125, -0.04345703125, -0.0085906982421875, 0.007007598876953125, 0.032958984375, 0.0251007080078125, -0.041900634765625, -0.004726409912109375, 0.0489501953125, 0.0341796875, 0.0806884765625, 0.0273895263671875, -0.01983642578125, 0.005214691162109375, 0.0203399658203125, -0.0048980712890625, -0.038604736328125, 0.007587432861328125, -0.024078369140625, 0.00568389892578125, -0.01555633544921875, 0.053466796875, 0.0924072265625, -0.0012369155883789062, -0.04083251953125, 0.06536865234375, -0.031402587890625, -0.025360107421875, -0.025299072265625, 0.0261993408203125, -0.008575439453125, 0.0020275115966796875, 0.018402099609375, -0.0234832763671875, 0.0102691650390625, 0.017791748046875, 0.0174713134765625, 0.01355743408203125, 0.0081329345703125, 0.039306640625, -0.07073974609375, 0.0230560302734375, -0.0192718505859375, -0.005588531494140625, -0.0052947998046875, 0.00702667236328125, 0.00591278076171875, 0.035675048828125, -0.03656005859375, -0.01268768310546875, -0.004634857177734375, 0.03167724609375, 0.0061798095703125, -0.005222320556640625, -0.01364898681640625, 0.0007290840148925781, 0.037353515625, 0.027008056640625, 0.01149749755859375, -0.0308074951171875, -0.0261993408203125, -0.06036376953125, -0.01373291015625, -0.0200653076171875, 0.00907135009765625, -0.0477294921875, 0.00914764404296875, 0.0141754150390625, -0.0185089111328125, -0.02044677734375, -0.01422119140625, -0.03240966796875, -0.01367950439453125, -0.0021076202392578125, 0.003849029541015625, 0.00047850608825683594, 0.0083465576171875, -0.0003204345703125, -0.030364990234375, -0.044158935546875, -0.01776123046875, 0.0179901123046875, -0.03594970703125, -0.040283203125, -0.0103912353515625, 0.060882568359375, -0.045623779296875, -0.0183563232421875, 0.0182647705078125, 0.01180267333984375, -0.0015048980712890625, 0.02496337890625, -0.047882080078125, 0.0111541748046875, 0.008636474609375, -0.0153350830078125, -0.01113128662109375, 0.05169677734375, 0.032745361328125, 0.0816650390625, 0.0155029296875, 0.07568359375, 0.00603485107421875, 0.058868408203125, 0.0291900634765625, -0.041473388671875, 0.023773193359375, -0.034759521484375, -0.003574371337890625, -0.007137298583984375, -0.01461029052734375, -0.048370361328125, 0.02783203125, 0.033721923828125, -0.0233306884765625, 0.0218353271484375 ]
5ea8b6f3d60ce019d858d6f088c1daca46f2f100
Wordpress Stackexchange Q: shortcode inside another shortcode I wonder if is it possible to have a shortcode inside another one? My scenario is this: I create a shortcodes to display content into columns so I can manage the layout of the page more easily. Now the problem comes, when I try to use for sample nextgen gallery into one of those shortcodes. For some reason it just generates the shortcode as plain text. Any idea why? I will show you the code I'm using for the shortcode maybe it helps: // Column ShortCode Description function column_scdescription($atts, $content="null") { return '<div class="description">' .$content . '</div> <!-- description ends here -->'; } add_shortcode ("product-description", "column_scdescription"); Thanks in advance. A: I usually apply the_content filters to $content to do this. I think you can aslo use do_shortcode($content); // Column ShortCode Description function column_scdescription($atts, $content="null") { return '<div class="description">' .apply_filters('the_content', $content) . '</div> <!-- description ends here -->'; } add_shortcode ("product-description", "column_scdescription"); Read up on Nested Shortcodes in the codex.
Q: shortcode inside another shortcode I wonder if is it possible to have a shortcode inside another one? My scenario is this: I create a shortcodes to display content into columns so I can manage the layout of the page more easily. Now the problem comes, when I try to use for sample nextgen gallery into one of those shortcodes. For some reason it just generates the shortcode as plain text. Any idea why? I will show you the code I'm using for the shortcode maybe it helps: // Column ShortCode Description function column_scdescription($atts, $content="null") { return '<div class="description">' .$content . '</div> <!-- description ends here -->'; } add_shortcode ("product-description", "column_scdescription"); Thanks in advance. A: I usually apply the_content filters to $content to do this. I think you can aslo use do_shortcode($content); // Column ShortCode Description function column_scdescription($atts, $content="null") { return '<div class="description">' .apply_filters('the_content', $content) . '</div> <!-- description ends here -->'; } add_shortcode ("product-description", "column_scdescription"); Read up on Nested Shortcodes in the codex. A: 'you can use the do_shortcode() wp function function column_scdescription($atts, $content="null") { return '<div class="description">' . do_shortcode($content) . '</div>'; } add_shortcode ("product-description", "column_scdescription");
wordpress
{ "language": "en", "length": 187, "provenance": "stackexchange_00019.jsonl.gz:415034", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35208" }
[ 0.00963592529296875, -0.017242431640625, 0.03076171875, -0.0149383544921875, -0.032196044921875, 0.0023937225341796875, 0.00852203369140625, -0.0188751220703125, -0.03326416015625, 0.0345458984375, -0.0430908203125, 0.00412750244140625, -0.043975830078125, 0.0068511962890625, -0.035919189453125, -0.0609130859375, 0.044525146484375, 0.00495147705078125, 0.046112060546875, -0.00878143310546875, -0.0175628662109375, 0.0260009765625, 0.01470947265625, 0.0458984375, 0.001483917236328125, -0.0252838134765625, 0.0836181640625, -0.021575927734375, 0.0224609375, -0.01012420654296875, 0.0242462158203125, -0.022705078125, 0.04327392578125, -0.01248931884765625, -0.0262451171875, 0.042022705078125, -0.0037517547607421875, -0.0082550048828125, 0.0013570785522460938, 0.01218414306640625, 0.01276397705078125, -0.00756072998046875, 0.07452392578125, -0.01194000244140625, 0.026702880859375, -0.01000213623046875, 0.006175994873046875, -0.0672607421875, -0.0167236328125, -0.0179290771484375, 0.048187255859375, 0.03277587890625, 0.07269287109375, -0.01352691650390625, -0.016876220703125, 0.006168365478515625, -0.016204833984375, -0.015716552734375, 0.053009033203125, -0.02252197265625, -0.040008544921875, -0.04779052734375, 0.032135009765625, -0.0202484130859375, 0.0288848876953125, -0.01334381103515625, -0.01493072509765625, 0.0252685546875, -0.00023925304412841797, 0.0552978515625, 0.0433349609375, -0.0396728515625, -0.006000518798828125, -0.041168212890625, -0.0177459716796875, 0.053680419921875, -0.020965576171875, 0.00812530517578125, 0.021514892578125, -0.01161956787109375, -0.022186279296875, -0.01508331298828125, -0.0049896240234375, -0.03216552734375, -0.01059722900390625, -0.031982421875, -0.01788330078125, 0.02392578125, 0.00748443603515625, 0.031158447265625, -0.00038433074951171875, -0.0188751220703125, 0.0203704833984375, 0.05792236328125, 0.0136871337890625, -0.0010633468627929688, -0.00861358642578125, 0.0802001953125, -0.0217437744140625, 0.080078125, -0.0290374755859375, -0.0229034423828125, 0.08331298828125, -0.091064453125, 0.0097808837890625, 0.00403594970703125, -0.0283660888671875, -0.052825927734375, 0.048248291015625, 0.031097412109375, -0.01137542724609375, 0.03961181640625, -0.022491455078125, -0.04241943359375, -0.007030487060546875, 0.03192138671875, -0.05126953125, 0.031494140625, 0.0222015380859375, 0.017425537109375, -0.004413604736328125, 0.0002505779266357422, 0.016021728515625, -0.002048492431640625, 0.00336456298828125, -0.00455474853515625, 0.001247406005859375, -0.033416748046875, 0.0457763671875, -0.0260009765625, -0.051300048828125, 0.032867431640625, 0.0941162109375, 0.0181121826171875, 0.01629638671875, 0.004680633544921875, 0.00827789306640625, 0.000469207763671875, 0.00751495361328125, -0.02313232421875, 0.038726806640625, 0.00438690185546875, -0.015777587890625, 0.01007080078125, -0.0292816162109375, 0.01971435546875, 0.041168212890625, 0.01038360595703125, -0.056243896484375, -0.0682373046875, 0.006656646728515625, 0.0131988525390625, 0.054107666015625, -0.0123443603515625, -0.01416778564453125, -0.048065185546875, 0.0253143310546875, -0.040008544921875, -0.002750396728515625, -0.05462646484375, 0.0093536376953125, -0.00629425048828125, 0.0272369384765625, -0.040863037109375, -0.07135009765625, 0.0116424560546875, -0.056121826171875, -0.0204925537109375, 0.022674560546875, 0.063720703125, 0.01030731201171875, -0.0214996337890625, -0.0693359375, 0.01103973388671875, -0.0034046173095703125, 0.0016927719116210938, -0.0298919677734375, 0.00299072265625, 0.0643310546875, -0.0178070068359375, -0.042755126953125, -0.04046630859375, 0.062103271484375, -0.01192474365234375, -0.05517578125, 0.05047607421875, 0.038543701171875, 0.10198974609375, -0.02020263671875, 0.0340576171875, 0.0225830078125, 0.00986480712890625, -0.05126953125, -0.005512237548828125, 0.007244110107421875, -0.0261993408203125, -0.01023101806640625, -0.02960205078125, 0.0018682479858398438, 0.0325927734375, -0.00930023193359375, -0.01355743408203125, 0.010650634765625, 0.00740814208984375, -0.0162506103515625, -0.01995849609375, -0.006114959716796875, 0.0191802978515625, -0.04931640625, -0.0294342041015625, 0.023834228515625, -0.05938720703125, 0.035858154296875, -0.052093505859375, 0.004974365234375, 0.0238037109375, -0.0154876708984375, 0.034454345703125, 0.01502227783203125, 0.01641845703125, 0.034088134765625, -0.006725311279296875, 0.036468505859375, 0.0159454345703125, 0.04400634765625, -0.01335906982421875, -0.01067352294921875, -0.0233306884765625, 0.0165863037109375, 0.0200347900390625, -0.0712890625, 0.005321502685546875, 0.03448486328125, 0.00011879205703735352, -0.0384521484375, 0.02020263671875, -0.006378173828125, -0.0138397216796875, -0.0182952880859375, 0.0274658203125, 0.03924560546875, 0.05401611328125, 0.0025157928466796875, -0.0105438232421875, 0.10504150390625, 0.01062774658203125, 0.021453857421875, -0.0276947021484375, -0.03179931640625, 0.03216552734375, 0.0186309814453125, 0.049407958984375, -0.022003173828125, -0.0219573974609375, 0.018798828125, 0.022064208984375, -0.03155517578125, -0.03662109375, 0.0399169921875, -0.0008692741394042969, 0.0135650634765625, -0.0175018310546875, -0.0172882080078125, -0.00458526611328125, 0.06085205078125, 0.002685546875, 0.06817626953125, 0.038330078125, -0.0275421142578125, -0.019256591796875, 0.00370025634765625, 0.0222320556640625, 0.0012617111206054688, 0.0433349609375, 0.0191192626953125, -0.0232696533203125, -0.053375244140625, 0.0032825469970703125, 0.0146942138671875, 0.0103912353515625, 0.0214385986328125, 0.058319091796875, -0.02099609375, -0.01068878173828125, 0.006771087646484375, -0.01351165771484375, -0.0301971435546875, 0.0301055908203125, -0.004573822021484375, 0.01739501953125, 0.01229095458984375, 0.07696533203125, -0.003021240234375, 0.023895263671875, 0.01337432861328125, 0.021453857421875, 0.03485107421875, -0.0220794677734375, 0.04522705078125, -0.035797119140625, 0.018524169921875, 0.0467529296875, -0.0309295654296875, 0.0189361572265625, -0.0066375732421875, 0.0310211181640625, -0.01129913330078125, -0.0102996826171875, -0.001117706298828125, 0.01116180419921875, -0.0372314453125, 0.0278472900390625, 0.03533935546875, 0.071533203125, 0.0171051025390625, -0.0263671875, 0.0108184814453125, 0.057952880859375, 0.0030498504638671875, -0.044281005859375, 0.04730224609375, -0.00506591796875, 0.0169525146484375, -0.022216796875, -0.014984130859375, -0.043060302734375, 0.0081329345703125, 0.00006562471389770508, -0.019378662109375, -0.04046630859375, -0.0203399658203125, -0.053436279296875, -0.0474853515625, 0.0292816162109375, 0.01421356201171875, 0.016265869140625, 0.00815582275390625, 0.0158233642578125, 0.00978851318359375, -0.028350830078125, 0.032135009765625, 0.002330780029296875, -0.0016460418701171875, 0.0302734375, 0.00933837890625, -0.030029296875, -0.0301971435546875, -0.003093719482421875, -0.0263824462890625, -0.002655029296875, 0.01245880126953125, -0.01198577880859375, -0.0160369873046875, 0.026519775390625, 0.022735595703125, 0.00365447998046875, 0.0079345703125, 0.05218505859375, 0.05029296875, -0.000031113624572753906, -0.047393798828125, -0.01349639892578125, -0.0863037109375, -0.042144775390625, 0.041839599609375, 0.02008056640625, -0.022979736328125, -0.007236480712890625, -0.01629638671875, 0.0019779205322265625, 0.038055419921875, -0.018890380859375, -0.003505706787109375, -0.012451171875, -0.040191650390625, -0.0308837890625, 0.017669677734375, -0.0139617919921875, -0.049530029296875, -0.0185546875, 0.031280517578125, 0.00766754150390625, 0.01352691650390625, 0.00423431396484375, -0.05548095703125, 0.03936767578125, -0.0146484375, 0.022552490234375, -0.048675537109375, -0.025787353515625, -0.0007781982421875, 0.10052490234375, -0.06842041015625, -0.0073394775390625, 0.0266265869140625, -0.00928497314453125, 0.0283050537109375, 0.0050811767578125, -0.0748291015625, -0.03106689453125, -0.039031982421875, 0.0014123916625976562, -0.0267486572265625, 0.00033020973205566406, -0.039276123046875, -0.00025010108947753906, -0.028961181640625, -0.030303955078125, 0.025177001953125, 0.040374755859375, 0.027801513671875, 0.00608062744140625, -0.005008697509765625, 0.03765869140625, -0.0290069580078125, -0.01018524169921875, -0.08062744140625, -0.0192718505859375, 0.0013055801391601562, 0.056976318359375, -0.01153564453125, -0.005985260009765625, -0.03240966796875, 0.03826904296875, -0.0093994140625, 0.049041748046875, -0.006122589111328125, 0.00897216796875, 0.01486968994140625, 0.02252197265625, 0.004589080810546875, -0.00528717041015625, -0.0255584716796875, 0.006259918212890625, 0.044464111328125, 0.054840087890625, -0.042083740234375, -0.024505615234375, -0.0083160400390625, -0.014190673828125, -0.0249176025390625, -0.032379150390625, 0.0008358955383300781, 0.0263824462890625, -0.0174713134765625, 0.01319122314453125, -0.042755126953125, -0.007617950439453125, 0.02777099609375, 0.034027099609375, -0.035614013671875, 0.0123291015625, 0.0248565673828125, 0.009613037109375, -0.0303802490234375, -0.05047607421875, -0.0107574462890625, 0.0390625, -0.0111083984375, 0.0176544189453125, 0.00017845630645751953, -0.0306396484375, 0.04669189453125, -0.002819061279296875, -0.00485992431640625, -0.0263519287109375, 0.063720703125, 0.00540924072265625, 0.0009007453918457031, 0.01322174072265625, -0.00881195068359375, 0.0009603500366210938, -0.03887939453125, -0.05023193359375, 0.0237579345703125, -0.049530029296875, 0.0290069580078125, 0.01493072509765625, 0.0509033203125, -0.031158447265625, -0.0294342041015625, -0.00988006591796875, 0.046051025390625, 0.013092041015625, 0.0228729248046875, 0.0043487548828125, -0.00988006591796875, -0.01178741455078125, 0.00554656982421875, -0.0005903244018554688, -0.034393310546875, -0.01158905029296875, 0.03509521484375, -0.05078125, -0.01898193359375, 0.0249481201171875, -0.006557464599609375, 0.042388916015625, 0.004180908203125, -0.0262908935546875, -0.02386474609375, 0.0036907196044921875, -0.017608642578125, -0.01277923583984375, 0.05694580078125, 0.000507354736328125, -0.01122283935546875, 0.029754638671875, 0.0114593505859375, 0.0235595703125, 0.01318359375, -0.0005812644958496094, -0.006816864013671875, -0.02728271484375, 0.007358551025390625, 0.01284027099609375, 0.03387451171875, -0.053131103515625, 0.049072265625, 0.009368896484375, 0.017669677734375, 0.0457763671875, 0.019744873046875, 0.034271240234375, -0.0186004638671875, -0.0186614990234375, 0.0218353271484375, -0.011871337890625, -0.038787841796875, -0.00897979736328125, 0.045135498046875, 0.051116943359375, -0.020263671875, -0.0273895263671875, 0.0108184814453125, -0.0166168212890625, -0.0020351409912109375, -0.03253173828125, 0.0228424072265625, 0.04937744140625, -0.00485992431640625, 0.0190582275390625, 0.0296173095703125, 0.054901123046875, -0.01605224609375, -0.00826263427734375, -0.052764892578125, -0.01509857177734375, -0.00934600830078125, -0.0078582763671875, -0.028411865234375, -0.028533935546875, 0.004222869873046875, -0.036590576171875, -0.02490234375, -0.032257080078125, 0.00278472900390625, -0.010223388671875, -0.0011653900146484375, 0.018310546875, -0.0194091796875, -0.004566192626953125, -0.032989501953125, 0.041717529296875, -0.02581787109375, -0.0095672607421875, 0.0570068359375, 0.0220489501953125, 0.0055694580078125, -0.0257110595703125, -0.00323486328125, -0.0260772705078125, 0.016448974609375, -0.039306640625, -0.0175323486328125, -0.025787353515625, -0.01221466064453125, 0.027069091796875, -0.01025390625, 0.00688934326171875, -0.005680084228515625, -0.0053253173828125, -0.0289154052734375, 0.0167694091796875, 0.0017099380493164062, 0.0285186767578125, 0.027587890625, 0.04827880859375, 0.01727294921875, 0.01531982421875, -0.0277099609375, -0.039306640625, 0.04486083984375, -0.045989990234375, -0.04791259765625, -0.0308837890625, -0.040496826171875, -0.0158538818359375, -0.01505279541015625, -0.024658203125, -0.00240325927734375, -0.01509857177734375, -0.00705718994140625, -0.0184173583984375, 0.0256500244140625, -0.00833892822265625, -0.006389617919921875, 0.00626373291015625, -0.03460693359375, -0.0015659332275390625, -0.0123138427734375, -0.0396728515625, 0.06201171875, -0.00952911376953125, 0.042022705078125, 0.03411865234375, -0.01470947265625, 0.059478759765625, 0.0235748291015625, -0.04254150390625, 0.021697998046875, 0.035003662109375, 0.00218963623046875, 0.020751953125, -0.0127105712890625, 0.037109375, 0.04241943359375, 0.061676025390625, -0.0251312255859375, -0.0216522216796875, 0.0291595458984375, -0.040130615234375, 0.0185699462890625, 0.027862548828125, 0.058837890625, -0.048980712890625, 0.005279541015625, 0.01678466796875, -0.0413818359375, 0.020477294921875, -0.015472412109375, 0.0292816162109375, 0.0210418701171875, 0.0044708251953125, 0.043243408203125, -0.029693603515625, -0.007755279541015625, 0.0045013427734375, -0.00789642333984375, 0.0002486705780029297, 0.0069122314453125, 0.00795745849609375, -0.004055023193359375, -0.01062774658203125, 0.007537841796875, 0.027008056640625, -0.0021800994873046875, 0.021728515625, -0.01812744140625, -0.026123046875, -0.0220794677734375, 0.011260986328125, -0.0008130073547363281, -0.00701141357421875, -0.005725860595703125, -0.0205078125, 0.037384033203125, 0.03167724609375, -0.018951416015625, 0.009918212890625, 0.00658416748046875, -0.0028591156005859375, 0.05267333984375, -0.007503509521484375, -0.00351715087890625, 0.0189361572265625, -0.05908203125, -0.0103302001953125, -0.042938232421875, 0.048736572265625, -0.0107269287109375, 0.016265869140625, 0.0709228515625, -0.031280517578125, -0.0240631103515625, 0.04339599609375, -0.0019292831420898438, -0.0221405029296875, 0.01143646240234375, 0.013885498046875, -0.0380859375, -0.0178375244140625, 0.0169525146484375, -0.033782958984375, -0.0218048095703125, -0.01084136962890625, -0.0902099609375, 0.042388916015625, -0.00859832763671875, 0.033477783203125, -0.010528564453125, 0.01470184326171875, -0.0250701904296875, -0.031036376953125, -0.015625, 0.038818359375, -0.0016155242919921875, 0.05487060546875, -0.0311737060546875, -0.03729248046875, 0.03143310546875, 0.0821533203125, 0.03094482421875, 0.0137481689453125, 0.0133056640625, -0.0006227493286132812, 0.0240325927734375, -0.0232391357421875, -0.055816650390625, 0.0299835205078125, -0.0009021759033203125, -0.01280975341796875, 0.051483154296875, 0.013427734375, 0.047698974609375, -0.004222869873046875, -0.0005955696105957031, 0.0190277099609375, 0.0057373046875, 0.009918212890625, 0.01485443115234375, 0.0207366943359375, 0.01105499267578125, -0.000025212764739990234, -0.00844573974609375, 0.00009632110595703125, -0.03753662109375, 0.0421142578125, -0.0047760009765625, -0.0181884765625, -0.0021114349365234375, -0.033172607421875, 0.04119873046875, 0.0156707763671875, 0.0714111328125, 0.051910400390625, 0.045806884765625, 0.0877685546875, 0.0271453857421875, 0.0499267578125, 0.0296630859375, -0.03863525390625, 0.0283050537109375, 0.018829345703125, 0.02166748046875, -0.01751708984375, 0.03662109375, 0.014251708984375, 0.019683837890625, -0.04583740234375, 0.007381439208984375, 0.019927978515625, 0.007534027099609375, -0.021392822265625, -0.03961181640625, -0.0203094482421875, -0.004512786865234375, -0.0020885467529296875, -0.0230560302734375, -0.0236663818359375, 0.017608642578125, 0.06561279296875, 0.0173187255859375, -0.01512908935546875, -0.0455322265625, -0.056732177734375, -0.04913330078125, 0.060272216796875, 0.0259857177734375, 0.07574462890625, -0.0301971435546875, 0.11383056640625, -0.06939697265625, -0.0301513671875, 0.001941680908203125, -0.0007610321044921875, 0.00537109375, 0.0049896240234375, -0.036102294921875, -0.029876708984375, 0.0211944580078125, 0.04144287109375, 0.01346588134765625, 0.02520751953125, 0.0033931732177734375, 0.0188446044921875, 0.022796630859375, -0.001129150390625, 0.047332763671875, -0.0175323486328125, 0.017333984375, -0.0279388427734375, -0.002254486083984375, 0.003997802734375, -0.0067138671875, -0.0153045654296875, 0.0052642822265625, 0.029815673828125, -0.034454345703125, 0.05169677734375, -0.01456451416015625, 0.005489349365234375, -0.001079559326171875, -0.003299713134765625, 0.0038204193115234375, -0.007080078125, -0.0232696533203125, 0.0018606185913085938, -0.024505615234375, -0.055023193359375, 0.01605224609375, 0.0435791015625, -0.00347900390625, 0.0005192756652832031, 0.049560546875, -0.030548095703125, -0.00860595703125, 0.050048828125, 0.0019893646240234375, -0.0338134765625, 0.036407470703125, -0.018157958984375, -0.047271728515625, -0.038421630859375, -0.0255584716796875, 0.046112060546875, 0.041961669921875, 0.0325927734375, 0.003963470458984375, 0.04632568359375, -0.006160736083984375, -0.026092529296875, 0.00862884521484375, -0.0225372314453125, 0.053192138671875, 0.00021922588348388672, -0.034332275390625, -0.01611328125, 0.037689208984375, 0.034637451171875, 0.054901123046875, -0.023590087890625, 0.0406494140625, -0.01111602783203125, -0.0045166015625, -0.06353759765625, 0.01309967041015625, -0.03289794921875, -0.0019931793212890625, -0.022369384765625, -0.009674072265625, 0.007598876953125, -0.021759033203125, -0.0184478759765625, 0.0190887451171875, 0.07684326171875, -0.0169677734375, 0.04071044921875, -0.0186920166015625, 0.06494140625, 0.0293731689453125, 0.050262451171875, -0.00839996337890625, 0.013580322265625, -0.0237579345703125, 0.033233642578125, -0.00637054443359375, 0.032470703125, 0.01898193359375, -0.07330322265625, 0.00016033649444580078, 0.06964111328125, 0.05548095703125, -0.0248565673828125, 0.03118896484375, 0.035400390625, -0.05029296875, 0.041900634765625, 0.0211639404296875, -0.0188446044921875, -0.04974365234375, 0.0017518997192382812, 0.01351165771484375, -0.01038360595703125, 0.01194000244140625, -0.034820556640625, -0.0218963623046875, 0.0221405029296875, 0.017822265625, -0.044708251953125, -0.00701141357421875, 0.036834716796875, 0.01076507568359375, 0.0028705596923828125, 0.01258087158203125, 0.01531982421875, 0.0036754608154296875, -0.05914306640625, -0.012542724609375, -0.03582763671875, 0.00417327880859375, -0.0345458984375, 0.0281982421875, 0.040069580078125, -0.02349853515625, 0.00928497314453125, 0.048065185546875, 0.028900146484375, 0.0924072265625, -0.00754547119140625, -0.033935546875, 0.0234832763671875, -0.0037784576416015625, -0.01171112060546875, -0.03167724609375, -0.0043792724609375, -0.02734375, 0.00392913818359375, -0.01171112060546875, 0.0011377334594726562, 0.01397705078125, -0.0369873046875, -0.05218505859375, 0.033782958984375, 0.004100799560546875, -0.027984619140625, -0.048675537109375, 0.006992340087890625, -0.0276031494140625, 0.04205322265625, -0.0002579689025878906, -0.0274505615234375, -0.0169219970703125, 0.0270233154296875, 0.0212249755859375, 0.03387451171875, 0.00653839111328125, 0.03021240234375, 0.008392333984375, 0.031951904296875, 0.003551483154296875, 0.0023345947265625, 0.0149383544921875, -0.019805908203125, 0.005184173583984375, 0.0123291015625, -0.0567626953125, -0.048858642578125, -0.01523590087890625, -0.012664794921875, 0.0133209228515625, -0.04937744140625, -0.0140228271484375, -0.04315185546875, 0.0285797119140625, -0.01812744140625, -0.0003528594970703125, 0.010589599609375, -0.00525665283203125, 0.0214080810546875, 0.0051727294921875, 0.008819580078125, -0.0164031982421875, -0.01450347900390625, -0.00998687744140625, -0.021820068359375, -0.0076446533203125, -0.024383544921875, -0.01190185546875, -0.03924560546875, -0.007579803466796875, 0.0007023811340332031, 0.0095367431640625, -0.031707763671875, -0.025238037109375, 0.04144287109375, -0.0292205810546875, -0.0019254684448242188, -0.0027904510498046875, 0.0338134765625, 0.01149749755859375, -0.005107879638671875, -0.01531982421875, 0.01076507568359375, -0.025726318359375, 0.004547119140625, 0.00775909423828125, 0.0596923828125, -0.01824951171875, 0.0165252685546875, -0.0107879638671875, 0.0284271240234375, -0.00995635986328125, 0.005825042724609375, -0.0020389556884765625, 0.058135986328125, 0.007686614990234375, 0.07244873046875, -0.0128021240234375, 0.0823974609375, -0.01092529296875, 0.044342041015625, 0.006748199462890625, -0.01378631591796875, 0.031463623046875, -0.04632568359375, 0.005931854248046875, 0.047271728515625, 0.01087188720703125, -0.0307769775390625, 0.016571044921875, 0.007106781005859375, 0.04010009765625, 0.006481170654296875 ]
19df2c2e0fac7a2324a8c9b04b453ca199a45481
Wordpress Stackexchange Q: How to get template drop down menu in page-attributes of custom post type? When I register my custom post type, I set this: 'hierarchical' => true, 'supports' => array( 'title','author', 'page-attributes' ), So, I am supose to see 'order', 'templates', 'parents' in Attributes box when create new post. But, I don't see the 'templates' drop down showing up. Anything else I should do to enable the choice of 'templates' ? A: You can't apply templates to custom post types in this manner. That will show up only if the post type is 'page' ( Check the wp-admin/includes/meta-boxes.php line 568 ). However if you want to style all your single custom post types in the same manner but different from other post types you could use the single-[posttype].php -> http://codex.wordpress.org/images/1/18/Template_Hierarchy.png
Q: How to get template drop down menu in page-attributes of custom post type? When I register my custom post type, I set this: 'hierarchical' => true, 'supports' => array( 'title','author', 'page-attributes' ), So, I am supose to see 'order', 'templates', 'parents' in Attributes box when create new post. But, I don't see the 'templates' drop down showing up. Anything else I should do to enable the choice of 'templates' ? A: You can't apply templates to custom post types in this manner. That will show up only if the post type is 'page' ( Check the wp-admin/includes/meta-boxes.php line 568 ). However if you want to style all your single custom post types in the same manner but different from other post types you could use the single-[posttype].php -> http://codex.wordpress.org/images/1/18/Template_Hierarchy.png A: Well, as of Wordpress 4.7 custom templates are also available to custom post types, when defining a template, below the name of the template add another line like (where 'product' is your custom post type): <?php /* Template Name: My custom layout Template Post Type: post, page, product */ // your code here and remember to add 'page-attributes' when registering your custom post type: 'supports' => array('title', 'page-attributes'), to display the "Post attributes" box. A: With my theme, I provide "virtual" templates. There are no specific {template}.php files in my theme, so I filtered the PAGE templates like so: function my_virtual_templates( $templates ) { $my_virtual_templates = array( 'virtual_template_id_1' => 'Template 1', 'virtual_template_id_2' => 'Template 2', 'virtual_template_id_3' => 'Template 3' ); // Merge with any templates already available $templates = array_merge( $templates, $my_virtual_templates ); return $templates; } add_filter( 'theme_page_templates', 'my_virtual_templates' ); I was looking for a "simple" way to add the actual post meta box on a Custom Post Type (CPT) when I came across this post. Since my new CPT will use this same array of "virtual" templates, I just needed to get a post meta box in place. Using the theme_{$post_type}_templates It automatically creates this post meta box area for me. So where my CPT is called my_cpt I added the filter like so: add_filter( 'theme_my_cpt_templates', 'my_virtual_templates'); Now, the meta box and selector shows up, and I can even change on the bulk edit screen since this is all built in. Very handy! A: just create any template file and set in header of template this: /* Template Name: Some Name Template Post Type: your_type, page */ then template selector appears in 'Post Attributes'
wordpress
{ "language": "en", "length": 406, "provenance": "stackexchange_00019.jsonl.gz:415039", "question_score": "10", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35221" }
[ 0.01061248779296875, -0.01160430908203125, 0.015380859375, 0.0106048583984375, -0.01213836669921875, -0.0026397705078125, 0.03546142578125, -0.04412841796875, -0.034149169921875, 0.042510986328125, 0.0011186599731445312, 0.0045928955078125, 0.01030731201171875, -0.022430419921875, 0.0006475448608398438, -0.0263671875, 0.04852294921875, -0.04937744140625, 0.0272064208984375, -0.0198974609375, 0.035736083984375, -0.0012083053588867188, 0.0207366943359375, 0.04425048828125, 0.0271453857421875, -0.031585693359375, 0.005397796630859375, -0.0137481689453125, 0.02154541015625, -0.01296234130859375, 0.0180816650390625, 0.00960540771484375, 0.0195465087890625, -0.02838134765625, 0.039398193359375, 0.0259552001953125, -0.006099700927734375, 0.01026153564453125, 0.0288848876953125, -0.0091705322265625, -0.0156402587890625, 0.0182342529296875, 0.0198516845703125, 0.026947021484375, -0.01788330078125, -0.037109375, -0.004337310791015625, -0.040802001953125, 0.017913818359375, -0.02911376953125, 0.0004930496215820312, -0.031158447265625, 0.033447265625, -0.07379150390625, -0.026580810546875, -0.045166015625, -0.00726318359375, 0.007770538330078125, 0.0228271484375, -0.00814056396484375, -0.025665283203125, 0.01739501953125, 0.00897979736328125, -0.01427459716796875, 0.01120758056640625, 0.0107269287109375, -0.0018482208251953125, 0.01084136962890625, -0.0186309814453125, -0.004283905029296875, 0.0081939697265625, -0.0223236083984375, 0.0212554931640625, -0.0294342041015625, 0.0242156982421875, -0.034027099609375, -0.024017333984375, -0.04241943359375, 0.02752685546875, 0.008087158203125, 0.0263824462890625, 0.0018558502197265625, 0.0008630752563476562, -0.025421142578125, 0.00917816162109375, -0.005031585693359375, -0.01074981689453125, -0.01180267333984375, -0.01058197021484375, 0.01287078857421875, -0.018890380859375, -0.032989501953125, 0.001148223876953125, 0.0589599609375, 0.0014715194702148438, 0.00066375732421875, 0.04876708984375, 0.045989990234375, 0.0010957717895507812, 0.00927734375, -0.0153350830078125, -0.044891357421875, 0.0625, -0.04150390625, 0.012298583984375, -0.006542205810546875, -0.0212554931640625, 0.0284881591796875, 0.0711669921875, 0.055755615234375, -0.004169464111328125, 0.020751953125, 0.0011625289916992188, 0.0211334228515625, -0.07098388671875, -0.024932861328125, -0.013458251953125, -0.0302276611328125, 0.0033473968505859375, -0.01111602783203125, 0.01453399658203125, 0.0419921875, 0.047637939453125, -0.027313232421875, -0.010345458984375, 0.0102081298828125, -0.00904083251953125, -0.10400390625, -0.01297760009765625, 0.017913818359375, -0.0290679931640625, 0.003307342529296875, 0.024261474609375, 0.03082275390625, -0.0032329559326171875, -0.0234527587890625, -0.0302276611328125, -0.0307159423828125, -0.00046825408935546875, 0.0018091201782226562, 0.00374603271484375, -0.017974853515625, 0.01556396484375, -0.002941131591796875, -0.022247314453125, 0.0266571044921875, 0.019073486328125, 0.00594329833984375, -0.0284271240234375, -0.040802001953125, 0.0019216537475585938, -0.0153656005859375, 0.05377197265625, -0.005229949951171875, -0.01202392578125, -0.03912353515625, 0.0105438232421875, -0.03436279296875, -0.004787445068359375, -0.038055419921875, -0.035614013671875, -0.00934600830078125, 0.039154052734375, -0.0241241455078125, -0.0362548828125, 0.034149169921875, -0.0238189697265625, -0.005916595458984375, 0.0170745849609375, -0.01666259765625, 0.0220794677734375, -0.0267333984375, 0.0288543701171875, 0.000453948974609375, -0.00868988037109375, 0.0208740234375, -0.0182342529296875, 0.0183563232421875, 0.017608642578125, 0.003292083740234375, -0.0157318115234375, -0.035430908203125, 0.03594970703125, -0.00228118896484375, -0.062164306640625, 0.049346923828125, 0.004703521728515625, 0.05291748046875, 0.0212249755859375, 0.010101318359375, 0.026214599609375, 0.0217132568359375, -0.05633544921875, 0.03375244140625, 0.01470184326171875, 0.01861572265625, -0.042877197265625, 0.01134490966796875, -0.002834320068359375, -0.0294342041015625, -0.030853271484375, 0.00023484230041503906, 0.01232147216796875, 0.0143280029296875, 0.0099639892578125, 0.00970458984375, -0.0046234130859375, 0.0271759033203125, -0.013153076171875, 0.02484130859375, 0.0181427001953125, -0.015045166015625, -0.00830078125, -0.031494140625, -0.01800537109375, 0.005413055419921875, 0.00208282470703125, 0.023651123046875, -0.00011146068572998047, 0.0033740997314453125, 0.0106048583984375, -0.04107666015625, -0.006954193115234375, 0.045867919921875, 0.046844482421875, 0.039154052734375, -0.041290283203125, 0.01247406005859375, 0.011260986328125, 0.0526123046875, -0.07073974609375, 0.018646240234375, -0.0224456787109375, -0.037139892578125, -0.061492919921875, -0.022369384765625, -0.01336669921875, -0.034759521484375, 0.0157928466796875, 0.0654296875, 0.00563812255859375, 0.050048828125, 0.0010080337524414062, 0.041595458984375, 0.04180908203125, -0.01392364501953125, -0.0026302337646484375, 0.016815185546875, -0.008758544921875, -0.0133056640625, 0.045166015625, -0.00711822509765625, 0.026153564453125, -0.018890380859375, 0.06500244140625, -0.005458831787109375, -0.0261993408203125, -0.0004413127899169922, -0.01259613037109375, 0.0300445556640625, -0.0099945068359375, -0.011566162109375, 0.0160369873046875, -0.026702880859375, 0.059112548828125, 0.0190277099609375, 0.040313720703125, 0.0207366943359375, -0.061767578125, 0.0265045166015625, 0.031890869140625, 0.031951904296875, 0.0154266357421875, 0.0121002197265625, -0.0014562606811523438, 0.01219940185546875, -0.0218963623046875, -0.00862884521484375, 0.0238800048828125, -0.0004360675811767578, -0.0127105712890625, 0.0175018310546875, -0.0364990234375, -0.0003504753112792969, -0.0209808349609375, -0.09429931640625, 0.01136016845703125, 0.053070068359375, 0.018035888671875, 0.02203369140625, 0.0286102294921875, 0.032379150390625, 0.0011949539184570312, 0.031463623046875, 0.005954742431640625, -0.00925445556640625, 0.023895263671875, -0.0237884521484375, 0.0394287109375, -0.005340576171875, 0.038238525390625, 0.0577392578125, -0.00946807861328125, 0.016571044921875, -0.0035495758056640625, 0.0033588409423828125, 0.006206512451171875, 0.0165557861328125, 0.00424957275390625, -0.0628662109375, 0.038848876953125, 0.016937255859375, 0.01506805419921875, -0.002376556396484375, -0.0026721954345703125, -0.0162353515625, -0.01763916015625, 0.0205535888671875, -0.0374755859375, -0.006072998046875, 0.05181884765625, -0.0496826171875, -0.0074005126953125, -0.052581787109375, -0.0301513671875, -0.0246124267578125, -0.041351318359375, -0.0071258544921875, -0.0221710205078125, -0.01406097412109375, -0.07305908203125, -0.056549072265625, -0.0638427734375, -0.0156097412109375, -0.0159149169921875, 0.00733184814453125, 0.00978851318359375, 0.06915283203125, 0.00106048583984375, -0.093505859375, -0.01128387451171875, 0.0191802978515625, -0.032257080078125, 0.033172607421875, 0.0439453125, -0.05023193359375, 0.031097412109375, -0.00379180908203125, -0.0270843505859375, 0.048797607421875, -0.037750244140625, -0.01036834716796875, -0.03338623046875, -0.009765625, 0.001384735107421875, -0.0024929046630859375, 0.03594970703125, 0.0175018310546875, 0.0241851806640625, -0.033538818359375, -0.0574951171875, -0.0262451171875, -0.06585693359375, 0.02685546875, 0.04351806640625, 0.0264739990234375, -0.05206298828125, 0.06512451171875, -0.007785797119140625, -0.0020046234130859375, 0.038665771484375, -0.0185089111328125, 0.0070343017578125, -0.006015777587890625, -0.01500701904296875, -0.0267486572265625, 0.0137176513671875, -0.0216064453125, -0.0122222900390625, 0.0013341903686523438, 0.00345611572265625, 0.013671875, -0.02294921875, 0.001270294189453125, -0.10418701171875, 0.07427978515625, -0.0204620361328125, -0.01401519775390625, -0.038482666015625, -0.0484619140625, 0.05218505859375, 0.1380615234375, -0.02801513671875, -0.01171875, -0.0068206787109375, 0.007282257080078125, -0.0030002593994140625, -0.03131103515625, -0.0172119140625, -0.0199432373046875, -0.060272216796875, 0.034088134765625, 0.026641845703125, -0.033660888671875, -0.032562255859375, 0.01959228515625, -0.0728759765625, -0.01155853271484375, 0.033355712890625, -0.026275634765625, -0.006435394287109375, 0.03851318359375, -0.0165863037109375, -0.003101348876953125, -0.0198974609375, -0.01154327392578125, -0.08441162109375, -0.031097412109375, 0.013519287109375, 0.07391357421875, -0.00469207763671875, -0.006443023681640625, -0.046966552734375, 0.031402587890625, 0.0195465087890625, 0.00360107421875, 0.00453948974609375, 0.01690673828125, -0.01145172119140625, -0.0540771484375, -0.006145477294921875, -0.052459716796875, -0.01678466796875, -0.016510009765625, -0.0276031494140625, 0.0091552734375, 0.0008344650268554688, 0.019378662109375, 0.027587890625, -0.004276275634765625, -0.03253173828125, -0.03704833984375, -0.052215576171875, 0.01171112060546875, 0.00020503997802734375, -0.028228759765625, -0.05731201171875, -0.06561279296875, 0.01544189453125, 0.0107269287109375, -0.0276641845703125, 0.00640869140625, 0.036834716796875, 0.0285491943359375, -0.030975341796875, -0.0028076171875, -0.00376129150390625, 0.031494140625, 0.0038433074951171875, 0.039398193359375, 0.0193634033203125, 0.0009489059448242188, 0.0254974365234375, 0.00428009033203125, 0.00782012939453125, -0.0250701904296875, 0.056060791015625, 0.003963470458984375, -0.01328277587890625, 0.0234527587890625, -0.01105499267578125, 0.0125274658203125, 0.05169677734375, 0.00452423095703125, -0.06585693359375, 0.004364013671875, 0.0859375, -0.0222320556640625, 0.022674560546875, -0.06597900390625, -0.033935546875, 0.0166778564453125, 0.000705718994140625, 0.010345458984375, 0.0030460357666015625, -0.0013685226440429688, 0.0021190643310546875, -0.031768798828125, 0.0214385986328125, -0.01324462890625, 0.0236358642578125, 0.005596160888671875, 0.046722412109375, 0.003505706787109375, 0.02490234375, -0.0322265625, -0.0175933837890625, 0.06622314453125, 0.0014371871948242188, -0.039031982421875, -0.0030307769775390625, -0.0202178955078125, 0.0250701904296875, 0.010772705078125, 0.010498046875, 0.0279083251953125, 0.040130615234375, -0.002349853515625, -0.003437042236328125, -0.01910400390625, 0.0321044921875, -0.04248046875, -0.01617431640625, 0.006351470947265625, -0.005367279052734375, -0.00916290283203125, 0.042572021484375, 0.042236328125, -0.018096923828125, -0.02313232421875, 0.008331298828125, 0.0017690658569335938, 0.0260162353515625, 0.027099609375, -0.0189208984375, 0.0003859996795654297, -0.005908966064453125, -0.00543975830078125, -0.057159423828125, -0.0307159423828125, 0.0197906494140625, 0.07159423828125, 0.00502777099609375, -0.022125244140625, 0.018798828125, -0.004062652587890625, 0.00762176513671875, 0.00846099853515625, -0.007350921630859375, -0.047119140625, 0.0087738037109375, 0.04388427734375, 0.0080718994140625, -0.02838134765625, -0.0447998046875, 0.013763427734375, -0.041839599609375, 0.00673675537109375, 0.0111846923828125, -0.048614501953125, 0.0341796875, 0.026702880859375, -0.047607421875, -0.009857177734375, 0.01427459716796875, -0.061431884765625, -0.03826904296875, -0.0021190643310546875, -0.01910400390625, 0.0204925537109375, -0.05419921875, 0.0191650390625, -0.004695892333984375, 0.018096923828125, -0.035491943359375, 0.0297393798828125, 0.054290771484375, 0.04876708984375, -0.0279998779296875, 0.0163421630859375, -0.038787841796875, -0.027496337890625, -0.039459228515625, -0.06591796875, -0.047332763671875, -0.007781982421875, -0.002468109130859375, 0.015777587890625, 0.0193634033203125, 0.015380859375, -0.0082244873046875, 0.021575927734375, -0.012420654296875, 0.033172607421875, -0.01354217529296875, 0.0975341796875, -0.01837158203125, 0.061279296875, -0.005096435546875, 0.02001953125, -0.029144287109375, 0.01198577880859375, 0.02728271484375, -0.047943115234375, -0.0361328125, -0.0287322998046875, -0.057373046875, 0.04345703125, 0.0748291015625, -0.00687408447265625, 0.022918701171875, -0.01025390625, 0.00923919677734375, -0.00965118408203125, 0.0086517333984375, -0.003879547119140625, -0.0180206298828125, 0.0374755859375, -0.024169921875, -0.00896453857421875, 0.0225677490234375, -0.0318603515625, 0.035369873046875, 0.0021953582763671875, 0.01486968994140625, 0.0159149169921875, -0.039947509765625, 0.046600341796875, 0.045806884765625, 0.019622802734375, 0.046417236328125, 0.01107025146484375, 0.0279541015625, -0.00902557373046875, -0.007720947265625, -0.036407470703125, -0.03106689453125, 0.047607421875, 0.0035686492919921875, -0.038818359375, 0.04815673828125, -0.031524658203125, -0.00685882568359375, 0.0467529296875, 0.06396484375, -0.06402587890625, -0.003978729248046875, 0.024322509765625, 0.005916595458984375, 0.01523590087890625, 0.007595062255859375, -0.0129241943359375, -0.0007061958312988281, -0.02398681640625, 0.01116180419921875, -0.0228424072265625, 0.0017156600952148438, 0.02679443359375, -0.0040740966796875, -0.032958984375, 0.041412353515625, -0.0009508132934570312, 0.03338623046875, -0.020355224609375, -0.0357666015625, 0.0173797607421875, -0.0211334228515625, 0.034515380859375, -0.046722412109375, 0.01415252685546875, -0.022247314453125, 0.005191802978515625, -0.04803466796875, 0.012664794921875, 0.031768798828125, 0.0099334716796875, 0.0012998580932617188, 0.03179931640625, -0.0098419189453125, 0.0107879638671875, -0.00501251220703125, -0.0138702392578125, -0.040740966796875, -0.020172119140625, -0.005039215087890625, 0.007785797119140625, -0.01222991943359375, 0.022247314453125, -0.033477783203125, -0.017913818359375, -0.0054168701171875, 0.0227203369140625, 0.05828857421875, 0.00780487060546875, -0.036163330078125, 0.031585693359375, 0.00530242919921875, -0.0193023681640625, 0.0274200439453125, 0.021087646484375, -0.0176239013671875, -0.007801055908203125, 0.02349853515625, -0.0229339599609375, -0.0290069580078125, 0.032196044921875, -0.0584716796875, 0.0733642578125, -0.0118408203125, 0.017181396484375, 0.00324249267578125, 0.0238494873046875, -0.02899169921875, 0.006313323974609375, -0.021881103515625, 0.04351806640625, 0.035400390625, 0.037109375, -0.007297515869140625, 0.001979827880859375, 0.016143798828125, 0.0287322998046875, 0.050079345703125, 0.003345489501953125, 0.0007190704345703125, -0.0011262893676757812, 0.06866455078125, 0.0631103515625, 0.0111846923828125, 0.004535675048828125, -0.00682830810546875, 0.031402587890625, 0.022247314453125, -0.039642333984375, 0.031463623046875, -0.026092529296875, -0.0252838134765625, 0.010833740234375, 0.00565338134765625, 0.0182342529296875, -0.00612640380859375, -0.059539794921875, -0.0091705322265625, -0.01450347900390625, 0.00650787353515625, -0.014984130859375, 0.005710601806640625, 0.02178955078125, 0.03399658203125, -0.0631103515625, -0.03564453125, -0.0281982421875, 0.036865234375, 0.007720947265625, -0.0019683837890625, -0.03973388671875, 0.0146942138671875, -0.05364990234375, -0.0394287109375, -0.01029205322265625, 0.0421142578125, -0.05267333984375, 0.0222320556640625, -0.035003662109375, 0.0113983154296875, -0.07708740234375, -0.00330352783203125, 0.03057861328125, 0.0252838134765625, -0.029327392578125, -0.03948974609375, 0.022125244140625, 0.023468017578125, -0.0180816650390625, -0.0015106201171875, -0.00441741943359375, 0.0128173828125, 0.059417724609375, -0.035675048828125, -0.033294677734375, 0.00925445556640625, 0.020782470703125, -0.01532745361328125, -0.0158843994140625, 0.020660400390625, -0.03472900390625, -0.016998291015625, -0.01453399658203125, 0.01406097412109375, 0.05389404296875, 0.016815185546875, 0.044891357421875, -0.04254150390625, -0.0278778076171875, 0.005207061767578125, -0.03631591796875, -0.01519775390625, -0.00389862060546875, -0.007232666015625, -0.004756927490234375, -0.005809783935546875, 0.0286865234375, 0.0165557861328125, 0.00858306884765625, 0.033294677734375, 0.0129547119140625, -0.0289306640625, -0.01454925537109375, 0.02288818359375, -0.0242767333984375, -0.017730712890625, -0.0227203369140625, -0.014190673828125, 0.022247314453125, -0.02099609375, 0.0167236328125, -0.0160369873046875, 0.04833984375, -0.01145172119140625, 0.04791259765625, 0.0028228759765625, 0.006755828857421875, 0.018890380859375, -0.0030364990234375, 0.019378662109375, 0.006175994873046875, -0.0963134765625, -0.025848388671875, -0.040283203125, -0.0589599609375, 0.050689697265625, 0.051025390625, -0.0340576171875, 0.01055908203125, 0.0128936767578125, -0.00554656982421875, -0.01464080810546875, 0.012847900390625, 0.02227783203125, 0.029144287109375, 0.01739501953125, 0.0252227783203125, -0.0509033203125, -0.019744873046875, 0.0003781318664550781, 0.01447296142578125, -0.04095458984375, 0.10137939453125, -0.0189971923828125, -0.0169219970703125, -0.0311279296875, 0.052520751953125, -0.07232666015625, -0.05072021484375, 0.060791015625, -0.006923675537109375, -0.007080078125, -0.0044708251953125, -0.045989990234375, 0.046966552734375, 0.024261474609375, -0.0190277099609375, 0.036285400390625, 0.0015716552734375, -0.002918243408203125, -0.0364990234375, 0.0252685546875, -0.018341064453125, -0.0302276611328125, -0.06201171875, -0.0200347900390625, 0.04534912109375, 0.063232421875, -0.00811767578125, 0.039215087890625, -0.00850677490234375, -0.01151275634765625, 0.0131072998046875, -0.042633056640625, 0.0240020751953125, 0.02984619140625, -0.024688720703125, -0.0394287109375, 0.06988525390625, 0.0041961669921875, 0.0265960693359375, 0.0188446044921875, 0.06793212890625, 0.058685302734375, -0.046844482421875, 0.0276336669921875, -0.0085906982421875, 0.0289154052734375, -0.026885986328125, -0.005329132080078125, 0.025787353515625, 0.00502777099609375, -0.0083465576171875, -0.00579833984375, -0.0236358642578125, -0.01708984375, 0.00731658935546875, 0.024017333984375, 0.01535797119140625, -0.000843048095703125, -0.07769775390625, -0.00449371337890625, 0.03118896484375, 0.0034809112548828125, -0.0426025390625, 0.012542724609375, -0.0183868408203125, 0.032745361328125, 0.00487518310546875, -0.021209716796875, 0.025970458984375, 0.04486083984375, -0.011993408203125, 0.039093017578125, 0.003948211669921875, -0.038818359375, 0.030029296875, 0.0161590576171875, 0.0133514404296875, -0.0238189697265625, -0.0086822509765625, 0.0305633544921875, 0.0237884521484375, 0.0716552734375, 0.039703369140625, -0.0101165771484375, 0.006683349609375, -0.00691986083984375, -0.017120361328125, -0.029266357421875, 0.0253143310546875, -0.059295654296875, -0.01202392578125, -0.0196380615234375, 0.0306549072265625, 0.05108642578125, -0.03399658203125, -0.0853271484375, 0.07415771484375, -0.032501220703125, -0.029327392578125, -0.01006317138671875, 0.0307464599609375, -0.0012655258178710938, 0.0103302001953125, 0.005352020263671875, -0.026947021484375, 0.0122833251953125, 0.0146026611328125, 0.0156707763671875, 0.010589599609375, 0.050079345703125, -0.022674560546875, -0.05072021484375, -0.0156402587890625, -0.01508331298828125, 0.0023441314697265625, -0.006107330322265625, -0.0178680419921875, 0.008636474609375, 0.0233001708984375, -0.05841064453125, -0.068115234375, 0.00856781005859375, 0.039398193359375, 0.028106689453125, -0.004077911376953125, -0.034942626953125, -0.037628173828125, 0.0245208740234375, 0.00972747802734375, 0.0164794921875, 0.006122589111328125, 0.0210418701171875, -0.053558349609375, -0.07122802734375, -0.0119476318359375, 0.0227203369140625, -0.05462646484375, -0.002071380615234375, 0.015472412109375, -0.0119171142578125, -0.006633758544921875, -0.01174163818359375, -0.021942138671875, 0.00797271728515625, 0.0162200927734375, 0.019287109375, -0.061279296875, 0.0404052734375, -0.01123046875, -0.006591796875, -0.015350341796875, -0.0135345458984375, -0.0167999267578125, -0.025238037109375, 0.002994537353515625, -0.0247802734375, 0.046142578125, -0.0625, -0.00423431396484375, -0.0194091796875, 0.0421142578125, -0.0489501953125, 0.0277252197265625, -0.013580322265625, 0.0136871337890625, -0.0103912353515625, 0.00152587890625, -0.034149169921875, 0.08929443359375, 0.00921630859375, 0.07867431640625, -0.011962890625, 0.0718994140625, -0.007434844970703125, 0.03033447265625, -0.00360107421875, -0.002758026123046875, 0.00452423095703125, -0.0024261474609375, 0.0033855438232421875, -0.03729248046875, -0.007587432861328125, -0.01410675048828125, 0.005764007568359375, 0.044525146484375, -0.03851318359375, 0.020233154296875 ]
f4843d1af18bab681fee19e281fbf0f9e38c68dd
Wordpress Stackexchange Q: Echo author ID in author.php This is probably a super simple question. But how do I echo the ID of a user on author.php? I've tried the_author_meta('ID') But it didn't seem to want to work. I want to echo it at the end of a URL, for example; http:///www.domain.com/author/sampleauthor-id Obviously, where "id" is that particular author's ID Any ideas? A: Try this code. $author = get_user_by( 'slug', get_query_var( 'author_name' ) ); echo $author->ID; Alternatively, if author name has not been set use: if ( $author_id = get_query_var( 'author' ) ) { $author = get_user_by( 'id', $author_id ); } credit @AndyAdams in the easily missed comments bellow
Q: Echo author ID in author.php This is probably a super simple question. But how do I echo the ID of a user on author.php? I've tried the_author_meta('ID') But it didn't seem to want to work. I want to echo it at the end of a URL, for example; http:///www.domain.com/author/sampleauthor-id Obviously, where "id" is that particular author's ID Any ideas? A: Try this code. $author = get_user_by( 'slug', get_query_var( 'author_name' ) ); echo $author->ID; Alternatively, if author name has not been set use: if ( $author_id = get_query_var( 'author' ) ) { $author = get_user_by( 'id', $author_id ); } credit @AndyAdams in the easily missed comments bellow A: if var_dump(the_author_meta('ID')) is Null your author has no posts. Try use echo $author if you call it inside author.php A: Try this simply code if (is_author()){ $author = get_queried_object(); $author_id = $author->ID; }
wordpress
{ "language": "en", "length": 141, "provenance": "stackexchange_00019.jsonl.gz:415045", "question_score": "13", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35249" }
[ 0.0555419921875, 0.01482391357421875, 0.020477294921875, -0.020263671875, 0.0157623291015625, -0.0009679794311523438, 0.01316070556640625, -0.0517578125, -0.00485992431640625, 0.0562744140625, -0.00250244140625, 0.0308990478515625, -0.0015344619750976562, -0.0112152099609375, -0.0263519287109375, -0.0135345458984375, 0.0206756591796875, -0.0199127197265625, 0.006687164306640625, 0.00763702392578125, 0.01080322265625, 0.0105438232421875, 0.027313232421875, -0.0272979736328125, 0.03411865234375, -0.05792236328125, 0.08465576171875, -0.032928466796875, 0.028289794921875, -0.0303192138671875, 0.0178985595703125, -0.01262664794921875, -0.0190887451171875, 0.03326416015625, 0.0029850006103515625, 0.0228271484375, 0.00882720947265625, 0.0308990478515625, 0.0287017822265625, 0.023681640625, 0.0295867919921875, -0.01372528076171875, -0.03558349609375, 0.009368896484375, -0.0404052734375, -0.025665283203125, 0.019500732421875, 0.006740570068359375, 0.028472900390625, 0.049774169921875, 0.005977630615234375, 0.019989013671875, -0.01102447509765625, 0.0380859375, 0.001972198486328125, -0.0158538818359375, 0.061187744140625, -0.0127410888671875, 0.037139892578125, -0.0745849609375, -0.044586181640625, 0.003749847412109375, 0.044677734375, 0.0212554931640625, 0.038787841796875, -0.007144927978515625, 0.012054443359375, 0.05535888671875, -0.0017375946044921875, 0.0166015625, -0.00260162353515625, -0.0281982421875, -0.01462554931640625, -0.031707763671875, -0.047210693359375, 0.0265960693359375, -0.004627227783203125, -0.035888671875, 0.0087738037109375, -0.002437591552734375, -0.039764404296875, -0.0101165771484375, -0.052093505859375, 0.0120697021484375, -0.00046539306640625, 0.03668212890625, -0.0292510986328125, -0.014678955078125, -0.0211181640625, -0.01528167724609375, -0.017181396484375, -0.02838134765625, -0.004184722900390625, 0.0219573974609375, -0.01349639892578125, -0.012420654296875, 0.01611328125, 0.0443115234375, -0.031219482421875, -0.0154876708984375, -0.00641632080078125, -0.0159912109375, 0.007274627685546875, -0.03515625, -0.0265960693359375, 0.043701171875, 0.0304718017578125, 0.059173583984375, -0.00396728515625, 0.022918701171875, -0.0015497207641601562, -0.059906005859375, -0.053863525390625, -0.0015478134155273438, -0.032012939453125, 0.01071929931640625, -0.0831298828125, 0.0026950836181640625, -0.0110321044921875, 0.013092041015625, 0.020751953125, 0.049560546875, 0.02392578125, -0.020172119140625, -0.0128173828125, -0.0019292831420898438, -0.0128936767578125, -0.0787353515625, 0.01218414306640625, 0.006832122802734375, -0.053314208984375, 0.006603240966796875, 0.06402587890625, 0.0265350341796875, 0.0195159912109375, -0.02911376953125, -0.0086822509765625, 0.00225830078125, 0.0102081298828125, -0.006175994873046875, -0.021148681640625, -0.01035308837890625, 0.0318603515625, -0.0061798095703125, -0.034088134765625, 0.038909912109375, 0.0159149169921875, 0.0072021484375, -0.0263214111328125, -0.07061767578125, -0.01157379150390625, -0.031280517578125, 0.0021610260009765625, 0.0190277099609375, 0.04901123046875, -0.020721435546875, 0.0265960693359375, -0.036956787109375, 0.041961669921875, 0.0010156631469726562, -0.0019664764404296875, 0.00487518310546875, 0.01244354248046875, -0.00708770751953125, -0.0062103271484375, -0.0194549560546875, -0.005889892578125, -0.0033473968505859375, 0.026824951171875, 0.0285186767578125, 0.015289306640625, -0.0106964111328125, 0.002899169921875, 0.01995849609375, -0.01019287109375, 0.0027904510498046875, 0.0215911865234375, 0.0094451904296875, -0.0151214599609375, 0.0516357421875, -0.00579071044921875, -0.036865234375, -0.0096893310546875, -0.0111846923828125, -0.0595703125, 0.0946044921875, -0.00023448467254638672, 0.08978271484375, 0.0192718505859375, -0.005748748779296875, 0.022369384765625, 0.032623291015625, -0.041534423828125, 0.0122222900390625, -0.002628326416015625, -0.003398895263671875, 0.00829315185546875, 0.000324249267578125, -0.006866455078125, -0.02227783203125, 0.01474761962890625, -0.01387786865234375, 0.02142333984375, 0.003940582275390625, -0.06390380859375, -0.00023376941680908203, -0.0198516845703125, 0.0361328125, 0.056671142578125, 0.0211334228515625, -0.0054473876953125, -0.0205841064453125, -0.0007491111755371094, -0.0308074951171875, -0.056549072265625, 0.00298309326171875, -0.0037708282470703125, -0.0020046234130859375, -0.01384735107421875, 0.031005859375, -0.0305938720703125, 0.0192413330078125, -0.03424072265625, -0.013397216796875, 0.057952880859375, -0.0258026123046875, -0.0218658447265625, -0.055084228515625, 0.0379638671875, -0.01190185546875, -0.045562744140625, 0.05047607421875, 0.05218505859375, 0.0297088623046875, -0.03729248046875, -0.00646209716796875, 0.00006556510925292969, -0.040313720703125, 0.00183868408203125, 0.0528564453125, 0.0304107666015625, -0.0667724609375, -0.008575439453125, 0.0156402587890625, -0.02685546875, 0.016082763671875, 0.049224853515625, -0.02801513671875, -0.007167816162109375, 0.006481170654296875, -0.00415802001953125, 0.0045013427734375, 0.033935546875, -0.04608154296875, -0.005023956298828125, 0.05157470703125, -0.007137298583984375, 0.0004589557647705078, -0.02020263671875, 0.004241943359375, -0.006717681884765625, -0.048583984375, -0.00930023193359375, -0.040557861328125, -0.0130615234375, 0.021697998046875, 0.00920867919921875, 0.018768310546875, -0.05718994140625, -0.0011539459228515625, 0.0220794677734375, 0.06915283203125, 0.0008835792541503906, 0.0177154541015625, -0.0175018310546875, 0.0076141357421875, -0.00827789306640625, -0.0010509490966796875, -0.01456451416015625, 0.00856781005859375, -0.0189971923828125, -0.01702880859375, 0.037994384765625, -0.004192352294921875, 0.015899658203125, -0.003589630126953125, 0.0341796875, -0.0304412841796875, -0.017364501953125, 0.0031261444091796875, 0.0156097412109375, 0.07354736328125, -0.004398345947265625, 0.04107666015625, -0.0254974365234375, 0.0251007080078125, 0.04913330078125, -0.044830322265625, 0.0496826171875, -0.0274505615234375, 0.0770263671875, 0.058135986328125, -0.0158843994140625, 0.0126800537109375, 0.007568359375, -0.058746337890625, -0.015716552734375, 0.0416259765625, 0.01108551025390625, -0.03668212890625, -0.008270263671875, 0.03302001953125, 0.018218994140625, 0.06610107421875, -0.001007080078125, -0.0225067138671875, 0.0247039794921875, 0.021820068359375, -0.05474853515625, -0.1083984375, 0.02557373046875, -0.060882568359375, -0.015106201171875, -0.028106689453125, -0.050262451171875, -0.005390167236328125, 0.011688232421875, -0.0171661376953125, 0.048126220703125, -0.0701904296875, -0.1026611328125, -0.06951904296875, -0.115234375, -0.0163726806640625, -0.00997161865234375, 0.01090240478515625, 0.007198333740234375, -0.053741455078125, -0.02581787109375, -0.048187255859375, -0.0158538818359375, 0.031585693359375, 0.00909423828125, -0.028778076171875, -0.0025119781494140625, -0.00604248046875, -0.0252838134765625, 0.0112762451171875, 0.031646728515625, 0.005153656005859375, -0.0048675537109375, -0.00904083251953125, -0.01287841796875, 0.0034313201904296875, 0.03631591796875, 0.0265960693359375, 0.01305389404296875, 0.01291656494140625, 0.06646728515625, -0.0291900634765625, -0.00272369384765625, -0.0207672119140625, -0.0362548828125, 0.0212860107421875, 0.0238037109375, -0.01308441162109375, -0.018798828125, 0.01174163818359375, 0.007289886474609375, -0.01404571533203125, -0.04296875, -0.01023101806640625, 0.0271453857421875, 0.0098419189453125, 0.049468994140625, 0.0360107421875, -0.0058135986328125, -0.014129638671875, -0.005657196044921875, -0.0152435302734375, 0.0300140380859375, -0.01486968994140625, 0.0035381317138671875, -0.0528564453125, -0.048248291015625, 0.062225341796875, 0.002300262451171875, -0.01261138916015625, -0.0166168212890625, -0.0404052734375, -0.0030536651611328125, 0.06231689453125, -0.0013628005981445312, -0.028900146484375, 0.0205078125, -0.007106781005859375, -0.0199127197265625, 0.01386260986328125, -0.064697265625, -0.001251220703125, 0.003047943115234375, 0.007598876953125, -0.00983428955078125, 0.00429534912109375, -0.033233642578125, 0.052978515625, 0.019073486328125, 0.0017862319946289062, 0.004398345947265625, -0.00858306884765625, 0.01155853271484375, 0.023223876953125, -0.01161956787109375, 0.03411865234375, 0.00238037109375, -0.04278564453125, -0.070556640625, -0.01812744140625, -0.021453857421875, 0.037841796875, -0.01427459716796875, 0.027374267578125, -0.01142120361328125, 0.042144775390625, -0.012725830078125, 0.0299224853515625, 0.0283203125, 0.030487060546875, 0.006305694580078125, -0.01314544677734375, 0.02764892578125, -0.0290069580078125, -0.03289794921875, -0.0284271240234375, 0.00009876489639282227, 0.00933837890625, -0.03399658203125, -0.035858154296875, -0.0076904296875, -0.01142120361328125, -0.0604248046875, -0.045166015625, -0.0038242340087890625, 0.00614166259765625, 0.006969451904296875, -0.0004074573516845703, -0.052001953125, -0.0794677734375, 0.03277587890625, -0.00418853759765625, -0.014678955078125, -0.0006108283996582031, 0.08294677734375, 0.0291595458984375, -0.0163116455078125, -0.000396728515625, 0.01102447509765625, 0.050933837890625, -0.0155487060546875, 0.018585205078125, 0.01367950439453125, -0.026824951171875, 0.0438232421875, -0.006336212158203125, 0.004833221435546875, -0.040557861328125, 0.07830810546875, -0.043670654296875, -0.028900146484375, 0.033935546875, -0.06280517578125, 0.027435302734375, -0.00505828857421875, -0.0232696533203125, 0.01561737060546875, 0.027008056640625, 0.0202484130859375, -0.043609619140625, 0.04876708984375, -0.0017986297607421875, -0.06109619140625, 0.02435302734375, -0.06134033203125, 0.046875, 0.0081939697265625, -0.0029582977294921875, 0.032928466796875, -0.00399017333984375, 0.00940704345703125, -0.004688262939453125, -0.044952392578125, 0.00154876708984375, 0.0265045166015625, -0.047393798828125, -0.00014221668243408203, 0.03045654296875, -0.01268768310546875, 0.10418701171875, 0.042022705078125, -0.01500701904296875, 0.0244140625, -0.0240020751953125, 0.00008100271224975586, -0.01219940185546875, -0.007053375244140625, 0.01702880859375, 0.0111541748046875, -0.004024505615234375, 0.0131072998046875, -0.0185546875, 0.011993408203125, -0.0264892578125, -0.0006046295166015625, -0.01042938232421875, -0.0009465217590332031, -0.01204681396484375, 0.08203125, -0.0076446533203125, 0.02679443359375, -0.0269317626953125, 0.04864501953125, 0.029022216796875, 0.04534912109375, 0.035675048828125, -0.0127105712890625, -0.020843505859375, 0.0265045166015625, -0.040924072265625, -0.03948974609375, 0.04425048828125, -0.0026416778564453125, 0.03814697265625, 0.04669189453125, -0.034149169921875, 0.012939453125, -0.0592041015625, -0.0037593841552734375, 0.029815673828125, 0.0023288726806640625, -0.0228424072265625, -0.0271148681640625, -0.007965087890625, 0.0228424072265625, -0.018646240234375, 0.017974853515625, -0.0277252197265625, -0.005035400390625, 0.0087738037109375, -0.03790283203125, 0.0108795166015625, -0.0209197998046875, -0.0171356201171875, -0.0223541259765625, -0.00832366943359375, 0.0035610198974609375, 0.00983428955078125, -0.005535125732421875, -0.0347900390625, -0.0299530029296875, 0.08056640625, -0.0173797607421875, 0.039276123046875, -0.042877197265625, 0.0022754669189453125, -0.0012760162353515625, -0.01148223876953125, 0.06768798828125, 0.035400390625, -0.046173095703125, 0.0279083251953125, -0.035858154296875, 0.01873779296875, 0.038116455078125, -0.033355712890625, -0.00522613525390625, -0.0455322265625, -0.0012350082397460938, 0.01526641845703125, -0.016510009765625, -0.01181793212890625, -0.00888824462890625, 0.01041412353515625, 0.0018663406372070312, 0.0194549560546875, -0.0029392242431640625, 0.034881591796875, 0.00738525390625, 0.039886474609375, 0.01123046875, 0.00612640380859375, -0.0269622802734375, -0.00945281982421875, -0.004215240478515625, 0.04254150390625, 0.006916046142578125, -0.00943756103515625, 0.03558349609375, -0.058746337890625, 0.032745361328125, -0.0021152496337890625, -0.004810333251953125, 0.004688262939453125, 0.00922393798828125, 0.00047850608825683594, -0.007511138916015625, 0.04510498046875, -0.0008335113525390625, 0.029022216796875, -0.02783203125, -0.00772857666015625, -0.0007481575012207031, 0.034698486328125, -0.03472900390625, -0.00827789306640625, -0.046600341796875, 0.037078857421875, -0.034912109375, 0.035430908203125, 0.06976318359375, 0.0298309326171875, 0.06298828125, 0.0222015380859375, 0.0423583984375, 0.01934814453125, 0.01055145263671875, -0.0014772415161132812, 0.0027561187744140625, 0.03948974609375, 0.01190185546875, 0.0243072509765625, 0.035369873046875, -0.013916015625, -0.0242156982421875, 0.024322509765625, 0.0178680419921875, -0.036102294921875, -0.0018701553344726562, -0.00048279762268066406, 0.0030193328857421875, 0.00862884521484375, -0.020599365234375, -0.0196533203125, -0.039886474609375, 0.10418701171875, -0.0223236083984375, 0.00409698486328125, 0.051971435546875, -0.0008258819580078125, 0.00328826904296875, -0.0670166015625, 0.035125732421875, 0.0023097991943359375, -0.0188446044921875, 0.035919189453125, 0.0025463104248046875, -0.0030498504638671875, -0.034942626953125, 0.008544921875, 0.04217529296875, 0.0014705657958984375, -0.0082855224609375, 0.09197998046875, -0.028350830078125, 0.034393310546875, 0.0257415771484375, 0.036468505859375, 0.01678466796875, 0.036529541015625, 0.00177001953125, -0.01052093505859375, 0.00107574462890625, -0.0298919677734375, 0.00974273681640625, -0.033294677734375, -0.0298309326171875, 0.0479736328125, -0.0163421630859375, 0.0195159912109375, 0.0224151611328125, -0.007419586181640625, -0.0013017654418945312, -0.01678466796875, 0.068115234375, -0.0241851806640625, -0.0280914306640625, 0.0243072509765625, 0.0086822509765625, -0.0240478515625, 0.0241851806640625, 0.0295257568359375, -0.014404296875, 0.0178070068359375, 0.032867431640625, 0.00983428955078125, -0.0012712478637695312, 0.0111846923828125, -0.08062744140625, 0.0496826171875, 0.01490020751953125, 0.01207733154296875, -0.039947509765625, 0.022186279296875, 0.0120086669921875, -0.00727081298828125, -0.0304107666015625, 0.0218963623046875, 0.0243377685546875, 0.0399169921875, -0.04840087890625, -0.0290069580078125, 0.00782012939453125, 0.05157470703125, 0.05718994140625, 0.0056304931640625, -0.0234832763671875, 0.0030498504638671875, 0.03271484375, -0.010162353515625, -0.0394287109375, 0.05145263671875, 0.01134490966796875, 0.00992584228515625, 0.054290771484375, -0.01161956787109375, 0.0361328125, -0.0174407958984375, -0.0061798095703125, 0.020599365234375, 0.019775390625, 0.0124053955078125, -0.037353515625, -0.00989532470703125, -0.034027099609375, -0.0183258056640625, 0.027679443359375, -0.0228729248046875, 0.016021728515625, 0.038177490234375, 0.06414794921875, -0.0035247802734375, 0.003604888916015625, -0.012237548828125, 0.07086181640625, 0.0377197265625, 0.00878143310546875, 0.005268096923828125, 0.0186004638671875, 0.0178070068359375, -0.0106201171875, -0.0136566162109375, 0.02618408203125, -0.006744384765625, 0.0599365234375, 0.02728271484375, 0.01024627685546875, -0.0589599609375, -0.00421142578125, 0.04205322265625, 0.09197998046875, -0.050384521484375, -0.006748199462890625, 0.00782012939453125, -0.0085601806640625, 0.0093841552734375, -0.0284271240234375, 0.0178070068359375, 0.024932861328125, 0.006427764892578125, -0.01580810546875, -0.010894775390625, 0.0126953125, 0.0478515625, 0.01617431640625, 0.025390625, -0.061676025390625, -0.037445068359375, -0.02569580078125, -0.022796630859375, -0.004985809326171875, 0.025634765625, 0.047760009765625, 0.022125244140625, 0.00397491455078125, -0.0090179443359375, -0.005573272705078125, 0.049468994140625, 0.0243072509765625, 0.004535675048828125, -0.032379150390625, -0.01479339599609375, 0.0001100301742553711, 0.0190277099609375, -0.01509857177734375, 0.00809478759765625, 0.0411376953125, 0.0280609130859375, -0.041534423828125, -0.02484130859375, 0.0298919677734375, -0.0266876220703125, -0.01055908203125, -0.03131103515625, 0.032440185546875, 0.03753662109375, 0.025421142578125, -0.00794219970703125, 0.02154541015625, 0.06097412109375, -0.03759765625, 0.04754638671875, 0.004730224609375, -0.021636962890625, -0.0222320556640625, -0.006755828857421875, 0.0187835693359375, -0.01419830322265625, -0.05419921875, 0.0239105224609375, -0.04559326171875, -0.054840087890625, 0.0147552490234375, 0.02606201171875, -0.0213775634765625, 0.031951904296875, -0.035125732421875, 0.00983428955078125, 0.0189361572265625, -0.034881591796875, -0.01132965087890625, 0.038848876953125, 0.0251007080078125, -0.004795074462890625, -0.0401611328125, -0.0233917236328125, -0.0004215240478515625, 0.010040283203125, 0.0278778076171875, -0.019134521484375, 0.039215087890625, 0.01317596435546875, -0.03411865234375, 0.0305938720703125, -0.07958984375, -0.040130615234375, 0.09332275390625, -0.04351806640625, -0.040924072265625, 0.01448822021484375, -0.0755615234375, 0.07794189453125, -0.01142120361328125, 0.058807373046875, 0.08447265625, -0.0269775390625, 0.003429412841796875, 0.0113677978515625, -0.0010204315185546875, -0.01316070556640625, -0.0390625, -0.043914794921875, 0.0177764892578125, 0.039520263671875, 0.048675537109375, -0.04547119140625, -0.004245758056640625, 0.021484375, -0.04583740234375, 0.0102691650390625, 0.0119781494140625, 0.00482177734375, 0.028167724609375, 0.026824951171875, -0.035614013671875, -0.0036678314208984375, -0.0214080810546875, 0.0220489501953125, -0.0131683349609375, 0.05670166015625, -0.01103973388671875, -0.00421142578125, 0.0105133056640625, 0.0163116455078125, 0.041717529296875, 0.01052093505859375, 0.0095672607421875, -0.005504608154296875, -0.0022449493408203125, -0.017578125, -0.0286712646484375, -0.0194244384765625, -0.028076171875, 0.02362060546875, 0.03955078125, 0.0312042236328125, 0.025146484375, -0.01358795166015625, 0.00394439697265625, -0.002384185791015625, -0.0290985107421875, 0.00739288330078125, 0.0027484893798828125, -0.0369873046875, 0.0185546875, -0.048858642578125, 0.0231781005859375, 0.013275146484375, 0.059722900390625, -0.054046630859375, 0.0108489990234375, -0.0189056396484375, -0.0125885009765625, -0.006130218505859375, 0.0152130126953125, 0.0266571044921875, -0.0208740234375, -0.003299713134765625, 0.0189361572265625, 0.02294921875, 0.0479736328125, -0.0138702392578125, -0.036346435546875, -0.011566162109375, 0.006839752197265625, -0.006938934326171875, -0.0516357421875, 0.0190582275390625, -0.053131103515625, -0.024383544921875, -0.06768798828125, 0.054290771484375, 0.04010009765625, -0.01195526123046875, -0.01425933837890625, 0.0560302734375, -0.02191162109375, -0.0174560546875, 0.00970458984375, 0.0030059814453125, 0.004711151123046875, -0.01276397705078125, 0.0133819580078125, -0.0150909423828125, -0.0218353271484375, -0.01067352294921875, 0.001255035400390625, 0.00914764404296875, 0.01058197021484375, -0.0072784423828125, -0.049163818359375, 0.00832366943359375, -0.0004940032958984375, -0.00554656982421875, -0.0020084381103515625, -0.003963470458984375, 0.01166534423828125, 0.021270751953125, -0.0298004150390625, 0.0105743408203125, 0.0172882080078125, 0.043670654296875, -0.0416259765625, -0.0269012451171875, -0.010101318359375, 0.0219268798828125, 0.048736572265625, 0.07781982421875, 0.0134735107421875, -0.0615234375, -0.01477813720703125, -0.0016164779663085938, 0.01206207275390625, -0.0169830322265625, -0.003551483154296875, -0.053192138671875, -0.03594970703125, 0.0029239654541015625, -0.043426513671875, 0.0061798095703125, 0.0055999755859375, -0.035858154296875, 0.01192474365234375, 0.00786590576171875, -0.01541900634765625, -0.00876617431640625, -0.0074615478515625, 0.0296783447265625, -0.032958984375, -0.005435943603515625, -0.0032825469970703125, 0.00986480712890625, 0.003387451171875, -0.046722412109375, -0.0102386474609375, -0.01201629638671875, -0.0023651123046875, 0.0296630859375, -0.011627197265625, 0.01297760009765625, -0.02471923828125, 0.0052337646484375, -0.024688720703125, 0.03656005859375, -0.006847381591796875, 0.0249481201171875, 0.034759521484375, 0.017608642578125, 0.00933837890625, 0.036529541015625, -0.0390625, -0.01140594482421875, -0.034698486328125, 0.031768798828125, -0.04559326171875, 0.0242919921875, 0.0273590087890625, -0.0193023681640625, 0.00014340877532958984, 0.0087432861328125, 0.052642822265625, -0.0235137939453125, 0.0214691162109375, 0.041717529296875, 0.0009374618530273438, 0.031341552734375 ]
ddeab805f8d7ec23ac0513cf98bd5f872c00808d
Wordpress Stackexchange Q: wp_nav_menu not appearing for a couple pages I solved the problem with the page, the correct answer is ptriek's comment below. Well I'm having a bit of an odd problem here, wp_nav_menu works on all pages EXCEPT my category pages (probably my archive page too but there's no links on the website to the archive pages so that's alright). Although there is archive.php in my theme files, this controls what is displayed on category, tag, archive, author, etc. pages. I just don't understand why, since every page uses the same header.php to display wp_nav_menu, it won't show up for the category pages. Am I overlooking something? I've been banging my head against my keyboard trying to figure this out and it just won't work! Using a very simple code: <?php wp_nav_menu('container_class=menu-header&theme_location=primary'); ?> A: I had the same problem, but with a newer version of Wordpress (3.7.1). On pages with custom taxonomies of custom posts, the wp_nav_menu was not shown. The solution below worked for me. in functions.php of the theme: add_action( 'pre_get_posts', 'my_pre_get_posts' ); function my_pre_get_posts($query) { if ($query->get('post_type') === 'nav_menu_item') { $query->set('tax_query',''); } }
Q: wp_nav_menu not appearing for a couple pages I solved the problem with the page, the correct answer is ptriek's comment below. Well I'm having a bit of an odd problem here, wp_nav_menu works on all pages EXCEPT my category pages (probably my archive page too but there's no links on the website to the archive pages so that's alright). Although there is archive.php in my theme files, this controls what is displayed on category, tag, archive, author, etc. pages. I just don't understand why, since every page uses the same header.php to display wp_nav_menu, it won't show up for the category pages. Am I overlooking something? I've been banging my head against my keyboard trying to figure this out and it just won't work! Using a very simple code: <?php wp_nav_menu('container_class=menu-header&theme_location=primary'); ?> A: I had the same problem, but with a newer version of Wordpress (3.7.1). On pages with custom taxonomies of custom posts, the wp_nav_menu was not shown. The solution below worked for me. in functions.php of the theme: add_action( 'pre_get_posts', 'my_pre_get_posts' ); function my_pre_get_posts($query) { if ($query->get('post_type') === 'nav_menu_item') { $query->set('tax_query',''); } } A: Implode's answer is right and helped me a lot. I tried to implement a hook (pre_get_posts) for avoiding to display posts of subcategories. My hook worked well despite of no more Nav-Menus. So, when change the tax_query you have to avoid doing this for the query with post_type == 'nav_menu_item'. A: Answer by Implode solve issue only if you are not using other queries like 'meta_key' even . I found complete solution here. function fix_nav_menu( $query ) { if ( $query->get( 'post_type' ) === 'nav_menu_item' ) { $query->set( 'tax_query', '' ); $query->set( 'meta_key', '' ); $query->set( 'orderby', '' ); } } add_action( 'pre_get_posts', 'fix_nav_menu' ); A: This one works for me. The answer found in this link on the second last post/comment: https://wordpress.org/support/topic/wp-nav-menu-dissapears-in-category-pages-1/?replies=15#post-1859168 Just need to add this on the theme's function.php file add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) { if(is_category() || is_tag()) { $post_type = get_query_var('post_type'); if($post_type) $post_type = $post_type; else $post_type = array('nav_menu_item','post','articles'); $query->set('post_type',$post_type); return $query; } }
wordpress
{ "language": "en", "length": 345, "provenance": "stackexchange_00019.jsonl.gz:415049", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35264" }
[ 0.05975341796875, 0.001827239990234375, 0.017608642578125, 0.02923583984375, 0.027679443359375, -0.056182861328125, 0.0931396484375, -0.057891845703125, 0.001628875732421875, 0.01165771484375, -0.0556640625, 0.00580596923828125, -0.048675537109375, 0.0031299591064453125, -0.028594970703125, -0.05828857421875, 0.053985595703125, -0.0299530029296875, 0.0447998046875, -0.00461578369140625, 0.01470947265625, 0.022247314453125, 0.04766845703125, 0.07025146484375, 0.044403076171875, -0.014862060546875, 0.01812744140625, 0.006725311279296875, 0.0247039794921875, 0.006145477294921875, 0.02899169921875, -0.03265380859375, 0.001895904541015625, 0.001010894775390625, 0.0389404296875, 0.045196533203125, -0.0198822021484375, 0.02374267578125, 0.042327880859375, -0.022125244140625, 0.02618408203125, -0.0251922607421875, 0.005077362060546875, -0.00749969482421875, 0.00881195068359375, -0.037139892578125, 0.016021728515625, -0.053131103515625, 0.011016845703125, -0.033843994140625, 0.01300048828125, 0.033599853515625, 0.028472900390625, -0.000858306884765625, -0.0159454345703125, -0.0042724609375, -0.0018215179443359375, -0.022491455078125, 0.037445068359375, 0.0108642578125, -0.0210723876953125, -0.01837158203125, 0.006084442138671875, -0.043853759765625, -0.0074615478515625, 0.038909912109375, 0.0869140625, -0.004638671875, -0.06329345703125, -0.02783203125, 0.0203094482421875, -0.0230712890625, 0.0157928466796875, 0.01222991943359375, -0.019439697265625, -0.053497314453125, 0.03497314453125, -0.013824462890625, 0.0160369873046875, 0.023681640625, -0.0021610260009765625, 0.0013713836669921875, -0.0792236328125, -0.005298614501953125, 0.02337646484375, 0.0171661376953125, -0.01450347900390625, -0.01434326171875, -0.00977325439453125, -0.0220184326171875, -0.01055908203125, -0.0223846435546875, -0.02294921875, 0.015777587890625, 0.0010223388671875, -0.03192138671875, 0.02362060546875, 0.0882568359375, -0.03411865234375, 0.03350830078125, -0.0261993408203125, -0.024322509765625, 0.047821044921875, -0.0653076171875, 0.0009007453918457031, 0.00977325439453125, 0.0006461143493652344, 0.08355712890625, 0.0771484375, 0.0430908203125, 0.0084991455078125, 0.038299560546875, -0.01348114013671875, -0.0235748291015625, -0.037689208984375, 0.01148223876953125, -0.0401611328125, -0.0305023193359375, -0.0017366409301757812, -0.033416748046875, 0.028289794921875, 0.0562744140625, -0.0121917724609375, -0.061370849609375, -0.01486968994140625, -0.02423095703125, -0.0233001708984375, -0.031982421875, 0.016693115234375, 0.040069580078125, -0.0229644775390625, -0.0094451904296875, 0.0032596588134765625, 0.026458740234375, 0.004428863525390625, -0.0307769775390625, 0.0000769495964050293, -0.02496337890625, -0.0033779144287109375, 0.019256591796875, 0.00576019287109375, -0.0095367431640625, 0.01334381103515625, -0.01177978515625, -0.030975341796875, 0.0060882568359375, 0.023681640625, 0.016357421875, -0.0158233642578125, -0.049346923828125, -0.01494598388671875, 0.0160675048828125, 0.06134033203125, -0.0111236572265625, -0.0310211181640625, -0.0185089111328125, 0.019927978515625, -0.0245513916015625, -0.059844970703125, -0.036102294921875, -0.00894927978515625, -0.01410675048828125, 0.0195159912109375, -0.05987548828125, -0.0692138671875, 0.0031185150146484375, -0.046783447265625, -0.00969696044921875, 0.0181732177734375, 0.00701141357421875, 0.0304412841796875, -0.0209503173828125, 0.023101806640625, 0.00876617431640625, -0.01273345947265625, 0.0210723876953125, 0.009765625, 0.016815185546875, 0.0255279541015625, 0.03912353515625, -0.0157012939453125, -0.04058837890625, 0.01471710205078125, -0.0033550262451171875, -0.05926513671875, 0.020111083984375, 0.01800537109375, 0.0633544921875, 0.013916015625, 0.0214080810546875, 0.044769287109375, 0.01256561279296875, -0.02459716796875, 0.01263427734375, -0.0084991455078125, -0.016876220703125, 0.01088714599609375, 0.01462554931640625, -0.00848388671875, 0.0014390945434570312, -0.0152130126953125, 0.005550384521484375, 0.006069183349609375, 0.024444580078125, -0.039306640625, 0.02764892578125, -0.0240936279296875, 0.0292510986328125, 0.0218353271484375, 0.0308074951171875, 0.00888824462890625, 0.03155517578125, -0.019195556640625, -0.05780029296875, -0.0269927978515625, 0.037109375, -0.03173828125, 0.01055145263671875, -0.0250244140625, 0.00872802734375, -0.0011701583862304688, -0.037628173828125, -0.01314544677734375, 0.013885498046875, 0.04864501953125, 0.01047515869140625, -0.0426025390625, -0.016143798828125, 0.00991058349609375, 0.0023403167724609375, -0.037322998046875, 0.0562744140625, 0.074951171875, 0.049346923828125, -0.05706787109375, -0.01192474365234375, -0.01116180419921875, 0.006336212158203125, -0.013641357421875, 0.04229736328125, 0.040191650390625, 0.0177459716796875, -0.0032672882080078125, -0.0283966064453125, 0.0202484130859375, -0.0733642578125, 0.01056671142578125, -0.0267333984375, -0.02197265625, -0.004299163818359375, 0.05902099609375, -0.0016927719116210938, 0.027679443359375, 0.0047454833984375, 0.0177764892578125, 0.0281829833984375, 0.0185699462890625, 0.00034427642822265625, 0.00799560546875, 0.007904052734375, 0.0099334716796875, 0.0185699462890625, -0.030120849609375, 0.0178375244140625, -0.0182647705078125, 0.019439697265625, 0.01157379150390625, 0.00807952880859375, -0.0316162109375, -0.0087432861328125, 0.0264892578125, 0.02545166015625, -0.001964569091796875, 0.0296783447265625, -0.00321197509765625, 0.017791748046875, -0.0233306884765625, 0.0009737014770507812, -0.0136871337890625, 0.0147857666015625, 0.005126953125, 0.07391357421875, 0.03369140625, -0.00865936279296875, -0.03631591796875, -0.060089111328125, 0.012054443359375, 0.0083160400390625, -0.02685546875, 0.003498077392578125, 0.03497314453125, 0.0188140869140625, -0.031646728515625, 0.030853271484375, -0.031524658203125, -0.0021514892578125, 0.031280517578125, -0.03314208984375, 0.0255889892578125, -0.022918701171875, 0.050537109375, 0.05255126953125, -0.005859375, 0.0217132568359375, 0.00258636474609375, 0.0128021240234375, -0.018463134765625, 0.05242919921875, 0.00859832763671875, -0.0273590087890625, -0.0257720947265625, 0.020263671875, 0.0224151611328125, -0.0280914306640625, -0.0008635520935058594, -0.0244140625, -0.03375244140625, -0.0126190185546875, -0.0899658203125, -0.054107666015625, -0.0048980712890625, -0.023193359375, 0.0308685302734375, -0.004558563232421875, 0.00557708740234375, -0.01529693603515625, 0.0137481689453125, 0.0182647705078125, 0.039031982421875, -0.03350830078125, -0.0673828125, -0.050384521484375, -0.09100341796875, -0.01494598388671875, 0.01143646240234375, 0.0186920166015625, 0.0004220008850097656, 0.05389404296875, -0.00833892822265625, -0.082275390625, -0.01491546630859375, 0.016815185546875, -0.01129913330078125, 0.0270233154296875, 0.03173828125, -0.0244598388671875, 0.0134124755859375, 0.007404327392578125, 0.031707763671875, 0.0199432373046875, -0.027923583984375, -0.023681640625, -0.0088958740234375, 0.00818634033203125, 0.0225830078125, 0.050140380859375, 0.0225677490234375, 0.0184478759765625, 0.05126953125, -0.014129638671875, -0.011474609375, -0.051849365234375, -0.030670166015625, 0.043853759765625, 0.0170745849609375, 0.007358551025390625, -0.0243682861328125, 0.0323486328125, 0.0031280517578125, 0.01447296142578125, 0.004547119140625, -0.0076904296875, 0.0278472900390625, -0.008056640625, 0.00255584716796875, -0.016937255859375, 0.0079803466796875, -0.0284576416015625, 0.05072021484375, 0.017913818359375, -0.0021514892578125, 0.0031032562255859375, -0.006122589111328125, -0.0199432373046875, -0.037811279296875, 0.0280609130859375, -0.0249176025390625, 0.015289306640625, -0.032196044921875, -0.01410675048828125, -0.007476806640625, 0.06512451171875, -0.015472412109375, -0.01702880859375, 0.0120849609375, 0.0165557861328125, -0.0027675628662109375, -0.04534912109375, -0.0098114013671875, -0.036529541015625, -0.08868408203125, 0.006855010986328125, -0.0031890869140625, -0.04608154296875, -0.0209808349609375, -0.005855560302734375, -0.071533203125, -0.040069580078125, 0.05877685546875, -0.0306243896484375, 0.0104217529296875, -0.00582122802734375, -0.013671875, -0.045013427734375, -0.05023193359375, 0.0175323486328125, -0.0833740234375, 0.001888275146484375, -0.0266265869140625, 0.051177978515625, 0.01519775390625, -0.003208160400390625, -0.0382080078125, 0.014129638671875, 0.07574462890625, 0.024810791015625, 0.037628173828125, -0.0301666259765625, 0.0002639293670654297, -0.035858154296875, 0.0266265869140625, -0.046417236328125, 0.0123138427734375, 0.01108551025390625, -0.027679443359375, -0.00559234619140625, -0.050262451171875, -0.03582763671875, -0.02093505859375, -0.045562744140625, -0.0277557373046875, -0.04351806640625, -0.01026153564453125, 0.003795623779296875, 0.01085662841796875, -0.01030731201171875, -0.0384521484375, -0.0311279296875, -0.00864410400390625, -0.021240234375, 0.0003752708435058594, 0.01335906982421875, 0.02545166015625, 0.013641357421875, -0.00984954833984375, 0.0161895751953125, 0.0307464599609375, 0.02142333984375, -0.004016876220703125, 0.037628173828125, -0.0081939697265625, -0.0121612548828125, 0.03857421875, -0.0121612548828125, 0.007549285888671875, -0.0088348388671875, 0.027374267578125, 0.0114288330078125, -0.00952911376953125, 0.004276275634765625, 0.002964019775390625, 0.009063720703125, 0.027496337890625, 0.01499176025390625, -0.0576171875, -0.014068603515625, 0.05792236328125, 0.0196990966796875, -0.011474609375, -0.0579833984375, -0.0134124755859375, -0.0013933181762695312, 0.021453857421875, 0.0804443359375, 0.0391845703125, -0.00441741943359375, 0.0511474609375, 0.0362548828125, -0.003360748291015625, -0.01251983642578125, 0.023193359375, -0.0294342041015625, 0.0202178955078125, -0.01013946533203125, -0.0184478759765625, -0.01468658447265625, -0.00855255126953125, 0.058807373046875, 0.00943756103515625, -0.0165557861328125, -0.04254150390625, -0.00010037422180175781, 0.00266265869140625, 0.00588226318359375, -0.0300140380859375, 0.0289764404296875, 0.037322998046875, -0.0016069412231445312, -0.013427734375, -0.033294677734375, 0.00984954833984375, -0.042999267578125, 0.0205078125, 0.020416259765625, 0.0024776458740234375, 0.019866943359375, 0.0625, 0.0008440017700195312, 0.044464111328125, -0.020111083984375, -0.0240020751953125, -0.03076171875, 0.040374755859375, 0.0269012451171875, -0.01413726806640625, 0.01483917236328125, 0.0130462646484375, 0.035125732421875, -0.0232391357421875, -0.017822265625, 0.004505157470703125, 0.0168914794921875, 0.0018768310546875, 0.0017824172973632812, 0.027374267578125, 0.00458526611328125, 0.0189666748046875, 0.048187255859375, -0.01367950439453125, -0.057342529296875, -0.019805908203125, 0.0151519775390625, 0.03887939453125, -0.060577392578125, -0.01971435546875, 0.0268402099609375, 0.000850677490234375, 0.0194549560546875, -0.0168609619140625, -0.0208282470703125, 0.012725830078125, 0.0231475830078125, 0.015655517578125, -0.0242462158203125, 0.003795623779296875, -0.031219482421875, 0.0139312744140625, -0.04364013671875, -0.0258941650390625, 0.051422119140625, -0.05340576171875, 0.0027065277099609375, -0.026702880859375, 0.01904296875, -0.036773681640625, 0.0202484130859375, 0.057098388671875, 0.041351318359375, -0.054931640625, 0.004878997802734375, -0.032440185546875, -0.00550079345703125, 0.0017538070678710938, -0.043426513671875, -0.037994384765625, -0.026763916015625, 0.03155517578125, 0.0175323486328125, 0.016937255859375, -0.05010986328125, -0.034881591796875, -0.000278472900390625, 0.044525146484375, 0.01177215576171875, -0.0240325927734375, 0.0784912109375, -0.011962890625, 0.045257568359375, -0.0110015869140625, 0.00704193115234375, -0.039520263671875, 0.020355224609375, 0.0005249977111816406, -0.0599365234375, -0.00951385498046875, 0.00028133392333984375, -0.023101806640625, 0.051849365234375, 0.044342041015625, 0.005832672119140625, 0.023681640625, -0.012786865234375, 0.01326751708984375, -0.0129547119140625, 0.005313873291015625, -0.0074462890625, -0.0235137939453125, 0.09210205078125, -0.0023136138916015625, 0.0496826171875, 0.005523681640625, -0.012115478515625, 0.0142822265625, -0.01385498046875, 0.034912109375, -0.00876617431640625, -0.06329345703125, 0.0760498046875, 0.06781005859375, 0.0206756591796875, 0.046661376953125, -0.0166778564453125, 0.01009368896484375, -0.01259613037109375, -0.01454925537109375, 0.002849578857421875, 0.03326416015625, 0.041534423828125, -0.0191497802734375, -0.00640869140625, 0.01288604736328125, -0.0219268798828125, -0.013763427734375, 0.055572509765625, 0.039520263671875, -0.062255859375, -0.01026153564453125, 0.02593994140625, -0.0113067626953125, -0.01531219482421875, 0.016082763671875, -0.027557373046875, -0.0247039794921875, 0.0030155181884765625, -0.0302581787109375, -0.01006317138671875, 0.020538330078125, 0.0247802734375, 0.002826690673828125, -0.01329803466796875, 0.03375244140625, 0.0084686279296875, -0.02423095703125, -0.004852294921875, 0.007778167724609375, 0.0057220458984375, -0.018341064453125, 0.026397705078125, -0.023162841796875, -0.01678466796875, -0.03240966796875, 0.035003662109375, 0.004726409912109375, -0.00536346435546875, -0.01335906982421875, 0.0193328857421875, -0.00798797607421875, 0.033782958984375, -0.0207366943359375, 0.01971435546875, 0.0057525634765625, -0.05389404296875, -0.0019283294677734375, -0.01248931884765625, 0.04443359375, 0.0064697265625, -0.057708740234375, 0.010223388671875, -0.0237579345703125, -0.0276031494140625, -0.024688720703125, -0.035552978515625, 0.09954833984375, -0.056915283203125, -0.0035305023193359375, -0.0014858245849609375, 0.005092620849609375, -0.00339508056640625, 0.0240020751953125, 0.034210205078125, -0.030029296875, 0.0027141571044921875, 0.034637451171875, 0.0186309814453125, -0.0229644775390625, 0.03253173828125, -0.007129669189453125, 0.049163818359375, -0.0092010498046875, -0.0279083251953125, 0.008575439453125, 0.043304443359375, -0.002719879150390625, 0.042510986328125, -0.043060302734375, 0.04913330078125, 0.02569580078125, 0.035614013671875, -0.042205810546875, -0.01078033447265625, 0.006443023681640625, 0.036956787109375, -0.0103607177734375, -0.0022373199462890625, -0.0377197265625, 0.01245880126953125, 0.06134033203125, 0.072265625, 0.0400390625, 0.0141754150390625, -0.01300048828125, -0.031341552734375, 0.00788116455078125, 0.0023326873779296875, 0.035491943359375, -0.0228118896484375, -0.053924560546875, -0.0095977783203125, 0.0161895751953125, 0.0239105224609375, -0.0204925537109375, 0.01071929931640625, -0.04547119140625, -0.0027294158935546875, 0.022491455078125, -0.002071380615234375, -0.019500732421875, 0.033203125, 0.0249786376953125, -0.0394287109375, -0.038818359375, -0.02996826171875, 0.023590087890625, 0.0247650146484375, -0.003570556640625, 0.0125885009765625, 0.01129913330078125, 0.0151519775390625, -0.00702667236328125, -0.003475189208984375, 0.0288848876953125, -0.01160430908203125, 0.06658935546875, 0.024322509765625, 0.043121337890625, -0.054962158203125, -0.042999267578125, 0.051422119140625, 0.1026611328125, -0.033233642578125, -0.045196533203125, 0.0137939453125, 0.00185394287109375, -0.00788116455078125, 0.0191497802734375, 0.0245819091796875, 0.018035888671875, 0.048919677734375, -0.01282501220703125, -0.0024776458740234375, -0.0121002197265625, 0.027069091796875, -0.0127716064453125, 0.006175994873046875, -0.010406494140625, -0.0033512115478515625, -0.07379150390625, 0.01137542724609375, 0.02386474609375, 0.06719970703125, 0.031158447265625, 0.058074951171875, -0.0216217041015625, -0.0308837890625, 0.01183319091796875, 0.061065673828125, -0.038299560546875, -0.008880615234375, -0.02484130859375, -0.08074951171875, -0.01041412353515625, 0.0277862548828125, 0.0323486328125, 0.0191192626953125, 0.033172607421875, -0.004894256591796875, -0.0313720703125, 0.007232666015625, 0.06097412109375, -0.017059326171875, -0.046905517578125, -0.0251007080078125, 0.0037784576416015625, 0.042449951171875, 0.0173492431640625, 0.00926971435546875, 0.00331878662109375, 0.04864501953125, -0.0222930908203125, 0.01873779296875, 0.0009746551513671875, -0.0289459228515625, 0.01360321044921875, -0.00450897216796875, 0.048492431640625, 0.0016641616821289062, -0.095458984375, -0.039947509765625, -0.0333251953125, 0.012969970703125, 0.043060302734375, 0.0401611328125, 0.0171356201171875, -0.01474761962890625, 0.03887939453125, -0.026153564453125, 0.01381683349609375, 0.0232696533203125, -0.00283050537109375, 0.0032444000244140625, 0.0269012451171875, 0.0175933837890625, -0.05194091796875, -0.036102294921875, 0.0003814697265625, 0.0254669189453125, 0.0230712890625, 0.005512237548828125, 0.038848876953125, 0.00910186767578125, -0.0340576171875, 0.040252685546875, -0.06634521484375, -0.0269012451171875, 0.02215576171875, -0.027069091796875, -0.00970458984375, 0.01467132568359375, -0.0806884765625, 0.00450897216796875, 0.057373046875, -0.034759521484375, 0.0275726318359375, 0.0099945068359375, 0.01216888427734375, -0.06634521484375, 0.01457977294921875, -0.0245208740234375, 0.0022125244140625, -0.0501708984375, -0.03192138671875, 0.055999755859375, 0.036163330078125, -0.0197296142578125, 0.038177490234375, 0.0455322265625, -0.031158447265625, 0.0191192626953125, -0.034423828125, 0.03729248046875, 0.04052734375, 0.03753662109375, 0.0179595947265625, 0.00024008750915527344, -0.0237884521484375, 0.00823974609375, 0.01261138916015625, -0.0240936279296875, -0.0040130615234375, 0.00377655029296875, 0.055816650390625, 0.00621795654296875, 0.037109375, -0.036712646484375, 0.0033550262451171875, 0.036834716796875, 0.01898193359375, -0.002155303955078125, -0.0142822265625, -0.051177978515625, -0.023773193359375, 0.00786590576171875, 0.025787353515625, -0.0035877227783203125, -0.0226593017578125, -0.09722900390625, 0.0007538795471191406, 0.032379150390625, 0.006221771240234375, -0.061859130859375, 0.027099609375, -0.020843505859375, 0.06597900390625, -0.02801513671875, -0.007648468017578125, -0.005702972412109375, -0.018829345703125, -0.016021728515625, 0.03857421875, -0.02484130859375, -0.0208282470703125, 0.02880859375, -0.0019273757934570312, 0.0115966796875, -0.0221099853515625, -0.040435791015625, 0.033111572265625, -0.0031948089599609375, 0.07275390625, 0.02777099609375, -0.0313720703125, -0.018035888671875, -0.006404876708984375, 0.00003701448440551758, 0.0172271728515625, 0.0252838134765625, -0.023284912109375, -0.035552978515625, 0.007465362548828125, 0.0160675048828125, 0.044891357421875, -0.02642822265625, -0.08819580078125, 0.030426025390625, -0.003997802734375, -0.04742431640625, -0.04150390625, 0.0253753662109375, -0.0005540847778320312, -0.00794219970703125, -0.01165771484375, -0.0360107421875, -0.002330780029296875, 0.0203704833984375, 0.0177154541015625, 0.07568359375, -0.00594329833984375, 0.007495880126953125, -0.054931640625, 0.0117034912109375, -0.0189208984375, 0.044952392578125, 0.01515960693359375, -0.0208587646484375, 0.008544921875, 0.032806396484375, -0.056427001953125, -0.0640869140625, -0.0212860107421875, -0.0003619194030761719, 0.032318115234375, -0.0095977783203125, -0.041351318359375, -0.047515869140625, 0.016510009765625, -0.0279388427734375, 0.006988525390625, 0.0251617431640625, 0.00806427001953125, 0.004398345947265625, -0.01551055908203125, -0.02166748046875, 0.0064849853515625, -0.031341552734375, -0.014892578125, -0.0251312255859375, -0.03533935546875, -0.01374053955078125, -0.0189056396484375, -0.051025390625, 0.02154541015625, -0.0241241455078125, -0.006256103515625, -0.0206756591796875, -0.040740966796875, 0.019622802734375, -0.0142059326171875, -0.029083251953125, -0.0011243820190429688, 0.035980224609375, -0.0236053466796875, 0.006206512451171875, -0.00299835205078125, 0.0029754638671875, -0.035888671875, -0.032958984375, -0.00582122802734375, 0.019134521484375, 0.00429534912109375, -0.015960693359375, 0.0145263671875, 0.02264404296875, -0.0035076141357421875, 0.0196990966796875, -0.001926422119140625, 0.0292205810546875, -0.0030879974365234375, 0.041107177734375, 0.0006213188171386719, 0.0577392578125, 0.01122283935546875, 0.045440673828125, -0.0267791748046875, -0.0104827880859375, -0.0211639404296875, -0.0209197998046875, -0.005031585693359375, -0.0024852752685546875, -0.030303955078125, -0.038726806640625, 0.00748443603515625, -0.01311492919921875, -0.007663726806640625, 0.0091705322265625 ]
a198de9e277b08ff7148047175ea41455a182912
Wordpress Stackexchange Q: Remove unwanted part of permalink custom structure from CPT url? My site currently has regular posts (in a section called "Trend Watch"), as well as a Custom Taxonomy (called "Region"). My permalink settings have this Custom Structure: /trend-watch/%year%/%monthnum%/%postname%/ which gives me these urls: * */trend-watch/regions/ (lists all terms in the Regions taxonomy) */trend-watch/regions/europe/ (lists all posts with the term "europe" in the Regions taxonmy). */trend-watch/2011/03/an-interesting-article/ (a single post). But now i'm adding a new Custom Post Type, called Reports. When registering this CPT, I set rewrite => array('slug' => 'reports'). But the urls are including "trend-watch/" first: /trend-watch/reports/some-report/ How can I remove "trend-watch/" from the Reports CPT urls, but keep it for regular Posts (and the associated Custom Taxonomies). A: You need to set the 'with_front' parameter in the rewrite argument for the custom post type to false. 'rewrite' => array('slug' => 'reports', 'with_front' => false)
Q: Remove unwanted part of permalink custom structure from CPT url? My site currently has regular posts (in a section called "Trend Watch"), as well as a Custom Taxonomy (called "Region"). My permalink settings have this Custom Structure: /trend-watch/%year%/%monthnum%/%postname%/ which gives me these urls: * */trend-watch/regions/ (lists all terms in the Regions taxonomy) */trend-watch/regions/europe/ (lists all posts with the term "europe" in the Regions taxonmy). */trend-watch/2011/03/an-interesting-article/ (a single post). But now i'm adding a new Custom Post Type, called Reports. When registering this CPT, I set rewrite => array('slug' => 'reports'). But the urls are including "trend-watch/" first: /trend-watch/reports/some-report/ How can I remove "trend-watch/" from the Reports CPT urls, but keep it for regular Posts (and the associated Custom Taxonomies). A: You need to set the 'with_front' parameter in the rewrite argument for the custom post type to false. 'rewrite' => array('slug' => 'reports', 'with_front' => false)
wordpress
{ "language": "en", "length": 147, "provenance": "stackexchange_00019.jsonl.gz:415065", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35334" }
[ 0.08184814453125, 0.008514404296875, 0.02166748046875, -0.03424072265625, 0.0091705322265625, -0.0308837890625, 0.0352783203125, -0.04034423828125, -0.0260772705078125, 0.0121002197265625, 0.02520751953125, 0.01331329345703125, -0.05438232421875, -0.03729248046875, -0.0006413459777832031, -0.01715087890625, 0.0271148681640625, -0.018585205078125, 0.034912109375, -0.01068878173828125, 0.0107421875, -0.01195526123046875, 0.048309326171875, -0.01384735107421875, 0.01334381103515625, 0.0102081298828125, 0.0230712890625, -0.018157958984375, 0.00640869140625, -0.023834228515625, 0.0178680419921875, 0.01209259033203125, 0.0114593505859375, 0.020660400390625, -0.0036602020263671875, 0.00002962350845336914, 0.0186767578125, -0.0034732818603515625, 0.0030918121337890625, 0.021820068359375, -0.0175018310546875, 0.0084075927734375, 0.0153656005859375, -0.0036869049072265625, 0.00007826089859008789, -0.0204620361328125, -0.00909423828125, -0.07305908203125, 0.0009832382202148438, -0.019622802734375, 0.0247802734375, 0.0128021240234375, 0.02947998046875, 0.032806396484375, -0.023345947265625, -0.00646209716796875, -0.0098419189453125, -0.0875244140625, -0.0007915496826171875, 0.03509521484375, 0.03338623046875, -0.0078582763671875, 0.01105499267578125, -0.0007038116455078125, -0.0205535888671875, -0.0028171539306640625, 0.0091705322265625, 0.0031147003173828125, -0.028961181640625, -0.0287628173828125, 0.0260772705078125, -0.0138397216796875, -0.0030803680419921875, -0.023895263671875, -0.035980224609375, -0.019439697265625, -0.01372528076171875, -0.06719970703125, 0.0216827392578125, -0.0099334716796875, -0.0032634735107421875, -0.020965576171875, -0.026702880859375, -0.0095977783203125, 0.002582550048828125, 0.00203704833984375, -0.005901336669921875, -0.01018524169921875, -0.0279388427734375, -0.036895751953125, -0.0092010498046875, -0.040740966796875, -0.050506591796875, -0.009246826171875, 0.0006608963012695312, -0.03863525390625, 0.06396484375, 0.07391357421875, 0.00829315185546875, -0.0123291015625, 0.011077880859375, -0.053558349609375, -0.025482177734375, -0.033935546875, 0.01031494140625, -0.006053924560546875, -0.001880645751953125, 0.045623779296875, 0.07855224609375, 0.019866943359375, -0.01136016845703125, 0.06781005859375, -0.020416259765625, -0.0006651878356933594, -0.025726318359375, 0.04052734375, -0.0222625732421875, -0.0186920166015625, -0.03070068359375, 0.0218048095703125, -0.0009007453918457031, 0.032806396484375, -0.004047393798828125, 0.01227569580078125, 0.0203704833984375, 0.0400390625, 0.0031642913818359375, -0.05078125, -0.008453369140625, 0.04376220703125, -0.03070068359375, -0.0101318359375, 0.05535888671875, 0.059173583984375, 0.0228271484375, -0.03265380859375, 0.05596923828125, -0.028045654296875, -0.01055908203125, 0.0212249755859375, 0.0196990966796875, -0.029571533203125, -0.0286407470703125, 0.00408935546875, 0.004894256591796875, -0.0089569091796875, 0.005279541015625, 0.039703369140625, 0.0149993896484375, 0.005680084228515625, -0.0027217864990234375, -0.0279388427734375, 0.0858154296875, -0.0098419189453125, -0.09124755859375, -0.0770263671875, 0.0167388916015625, -0.047698974609375, -0.0205078125, -0.10040283203125, 0.02276611328125, -0.0308074951171875, -0.05792236328125, -0.036895751953125, -0.07177734375, 0.044677734375, 0.01023101806640625, 0.0006842613220214844, 0.0176239013671875, 0.0157318115234375, -0.0304718017578125, -0.04443359375, -0.05010986328125, 0.005001068115234375, 0.008087158203125, 0.046539306640625, 0.01003265380859375, 0.032562255859375, -0.00652313232421875, 0.06414794921875, 0.0304107666015625, -0.0362548828125, 0.01540374755859375, -0.0009469985961914062, -0.05792236328125, 0.0159912109375, 0.0186614990234375, 0.03717041015625, -0.006862640380859375, 0.0295867919921875, 0.04864501953125, 0.0234527587890625, -0.04443359375, 0.00475311279296875, 0.0084381103515625, -0.009674072265625, -0.0015420913696289062, -0.0177001953125, -0.0030384063720703125, 0.01297760009765625, -0.049041748046875, 0.0604248046875, -0.031951904296875, 0.038238525390625, -0.0011110305786132812, 0.034881591796875, -0.013702392578125, 0.046112060546875, -0.035491943359375, 0.031219482421875, 0.043426513671875, 0.033172607421875, -0.06793212890625, 0.01263427734375, 0.00833892822265625, 0.0264434814453125, 0.036407470703125, -0.00038695335388183594, -0.021881103515625, 0.0016889572143554688, -0.003204345703125, -0.0111846923828125, -0.019378662109375, 0.044189453125, 0.04583740234375, -0.0298004150390625, 0.0081787109375, -0.041168212890625, -0.01187896728515625, 0.005992889404296875, -0.08843994140625, 0.036590576171875, 0.045013427734375, 0.0076751708984375, -0.020660400390625, 0.03985595703125, 0.0021686553955078125, -0.052215576171875, -0.0360107421875, 0.034881591796875, 0.0165863037109375, 0.03387451171875, -0.03692626953125, -0.0004703998565673828, 0.05499267578125, -0.0223846435546875, -0.005840301513671875, 0.021575927734375, 0.015289306640625, 0.0149993896484375, 0.038726806640625, -0.0034351348876953125, 0.03167724609375, 0.019561767578125, 0.02581787109375, 0.022216796875, -0.0018463134765625, -0.016998291015625, 0.0216064453125, 0.0009427070617675781, 0.01479339599609375, 0.02655029296875, -0.0287933349609375, 0.01934814453125, -0.000014603137969970703, 0.042510986328125, 0.0321044921875, 0.050811767578125, -0.01953125, 0.0083465576171875, 0.002231597900390625, 0.02490234375, -0.0002617835998535156, 0.033050537109375, 0.06781005859375, -0.0438232421875, -0.01739501953125, -0.014007568359375, -0.01326751708984375, -0.01806640625, -0.0198211669921875, 0.00443267822265625, -0.0283203125, 0.006008148193359375, -0.0270538330078125, -0.03985595703125, 0.007049560546875, 0.022369384765625, 0.01099395751953125, -0.00415802001953125, 0.033355712890625, -0.013031005859375, -0.020751953125, 0.005859375, 0.0158233642578125, -0.049835205078125, 0.01239013671875, -0.02593994140625, 0.0161285400390625, -0.018218994140625, 0.036529541015625, 0.064208984375, 0.0261077880859375, -0.015838623046875, 0.00792694091796875, -0.00640869140625, -0.010101318359375, 0.0180206298828125, -0.006832122802734375, -0.003650665283203125, -0.06689453125, -0.005702972412109375, 0.02239990234375, 0.043670654296875, 0.0034923553466796875, -0.0276336669921875, 0.020263671875, 0.042327880859375, -0.0292205810546875, -0.0174102783203125, 0.045166015625, 0.005680084228515625, -0.00865936279296875, 0.041595458984375, -0.01479339599609375, -0.0173797607421875, 0.046630859375, -0.0148468017578125, 0.029205322265625, -0.0287017822265625, -0.048095703125, -0.0216522216796875, -0.06451416015625, 0.0025272369384765625, 0.0043487548828125, 0.01739501953125, -0.0033397674560546875, 0.046661376953125, 0.007266998291015625, -0.031341552734375, 0.02496337890625, -0.00615692138671875, -0.0270538330078125, 0.0217132568359375, -0.01512908935546875, -0.0184173583984375, 0.0247650146484375, 0.001766204833984375, 0.0440673828125, 0.0134429931640625, -0.006183624267578125, -0.004817962646484375, 0.004276275634765625, -0.0017042160034179688, 0.024169921875, 0.0239410400390625, 0.004909515380859375, -0.0049285888671875, 0.0183258056640625, -0.05413818359375, -0.048553466796875, 0.004627227783203125, -0.048248291015625, -0.0022068023681640625, 0.0015201568603515625, 0.00974273681640625, -0.03778076171875, 0.04461669921875, 0.0472412109375, 0.0035858154296875, 0.045318603515625, -0.0235595703125, 0.0202789306640625, 0.0087890625, 0.04241943359375, -0.067626953125, 0.059783935546875, -0.01546478271484375, 0.01153564453125, 0.0275726318359375, -0.021575927734375, -0.00768280029296875, -0.0147552490234375, -0.0229644775390625, -0.041595458984375, 0.031402587890625, -0.054779052734375, -0.0123291015625, -0.0090789794921875, 0.0031757354736328125, 0.024993896484375, 0.055938720703125, -0.09197998046875, -0.007411956787109375, -0.01070404052734375, 0.00374603271484375, 0.0136260986328125, -0.019378662109375, -0.044952392578125, -0.023529052734375, -0.06365966796875, -0.0211639404296875, -0.0179290771484375, -0.05133056640625, 0.0011053085327148438, -0.0119171142578125, -0.033843994140625, -0.03363037109375, 0.04931640625, 0.0623779296875, -0.002010345458984375, -0.0089263916015625, 0.008087158203125, -0.0086822509765625, -0.041900634765625, 0.02825927734375, -0.032623291015625, -0.0199737548828125, 0.0323486328125, 0.0362548828125, 0.004901885986328125, -0.038177490234375, -0.00643157958984375, 0.045867919921875, 0.02197265625, -0.03338623046875, 0.0057525634765625, -0.03387451171875, -0.00848388671875, 0.062744140625, -0.004283905029296875, 0.0148162841796875, 0.0209808349609375, 0.00969696044921875, -0.04937744140625, 0.0153350830078125, -0.040313720703125, 0.0025386810302734375, 0.0179290771484375, -0.049072265625, -0.071044921875, -0.027313232421875, -0.0176544189453125, 0.0328369140625, -0.011810302734375, 0.01393890380859375, -0.04345703125, -0.0751953125, 0.00562286376953125, 0.0153045654296875, -0.0222930908203125, 0.0200653076171875, 0.0176239013671875, 0.006923675537109375, -0.0221405029296875, -0.033233642578125, -0.0094451904296875, 0.0360107421875, 0.004444122314453125, 0.006866455078125, 0.0106353759765625, -0.02294921875, 0.0113372802734375, 0.001079559326171875, -0.021453857421875, 0.001651763916015625, 0.01454925537109375, 0.006946563720703125, -0.041748046875, 0.026885986328125, 0.003971099853515625, 0.0269012451171875, -0.0022945404052734375, -0.001495361328125, 0.0003361701965332031, 0.0055999755859375, 0.0148468017578125, 0.016693115234375, -0.00910186767578125, -0.020263671875, -0.0282745361328125, 0.0347900390625, 0.036712646484375, 0.02294921875, -0.0156707763671875, 0.00012958049774169922, -0.0224609375, -0.044921875, 0.0042266845703125, -0.00909423828125, -0.01251220703125, -0.0204620361328125, -0.007793426513671875, 0.032440185546875, -0.0036373138427734375, -0.0167694091796875, 0.00022864341735839844, 0.0382080078125, -0.015838623046875, -0.016571044921875, -0.03515625, -0.03399658203125, -0.001506805419921875, 0.0264434814453125, 0.0204620361328125, 0.058197021484375, 0.017669677734375, 0.00826263427734375, -0.01116180419921875, -0.041748046875, 0.0184783935546875, -0.044586181640625, 0.01776123046875, 0.007595062255859375, -0.0166168212890625, -0.001041412353515625, 0.0355224609375, 0.0166473388671875, 0.0041961669921875, -0.00927734375, -0.0092315673828125, -0.013519287109375, 0.0282135009765625, 0.0186767578125, -0.0088653564453125, 0.00844573974609375, -0.00421142578125, 0.022491455078125, -0.048614501953125, -0.0283660888671875, 0.034942626953125, 0.051055908203125, -0.03582763671875, -0.040008544921875, 0.01145172119140625, -0.0141143798828125, -0.0220947265625, 0.00244140625, -0.004791259765625, -0.02362060546875, 0.0024394989013671875, -0.0197296142578125, -0.0270233154296875, -0.0234375, -0.0022907257080078125, -0.0194244384765625, -0.06060791015625, -0.042236328125, 0.0548095703125, -0.032501220703125, -0.03363037109375, -0.035919189453125, 0.00665283203125, -0.0029277801513671875, 0.0103302001953125, -0.0347900390625, -0.025726318359375, -0.0189208984375, -0.0013132095336914062, 0.0142059326171875, -0.0174713134765625, 0.041656494140625, -0.0169677734375, -0.01259613037109375, 0.01105499267578125, 0.0006041526794433594, 0.0469970703125, 0.03887939453125, -0.06732177734375, 0.039703369140625, -0.0036468505859375, 0.0270843505859375, -0.045257568359375, -0.032470703125, -0.038177490234375, -0.0179290771484375, 0.00334930419921875, 0.012451171875, 0.0175018310546875, 0.019012451171875, 0.0009241104125976562, 0.03985595703125, 0.0004324913024902344, 0.040374755859375, -0.0061187744140625, 0.0697021484375, -0.01251983642578125, 0.054901123046875, 0.009246826171875, 0.0251922607421875, -0.00907135009765625, -0.0227813720703125, 0.00975799560546875, -0.054656982421875, -0.031585693359375, -0.00905609130859375, -0.05615234375, 0.03753662109375, 0.0721435546875, 0.0024890899658203125, 0.022674560546875, -0.00179290771484375, 0.01499176025390625, -0.030303955078125, -0.0167694091796875, -0.058319091796875, -0.002655029296875, -0.01171875, 0.0291290283203125, 0.065673828125, -0.00753021240234375, -0.005252838134765625, -0.049346923828125, 0.0162200927734375, 0.0018625259399414062, -0.021331787109375, -0.0333251953125, 0.0272674560546875, 0.057281494140625, 0.049560546875, 0.05474853515625, 0.0034332275390625, 0.03173828125, 0.024444580078125, -0.028564453125, 0.00832366943359375, 0.04559326171875, 0.049468994140625, -0.0037078857421875, 0.034912109375, 0.05743408203125, 0.006862640380859375, 0.0012979507446289062, 0.01922607421875, 0.007289886474609375, -0.05828857421875, 0.0004036426544189453, -0.0232391357421875, 0.0115203857421875, 0.045867919921875, 0.016448974609375, -0.00514984130859375, 0.0009241104125976562, -0.030548095703125, -0.01239013671875, -0.022979736328125, -0.025299072265625, 0.0027751922607421875, -0.001556396484375, 0.0078582763671875, 0.020233154296875, -0.01279449462890625, -0.023193359375, -0.040618896484375, 0.005126953125, -0.033233642578125, -0.0067901611328125, -0.0001888275146484375, 0.003627777099609375, -0.04449462890625, -0.04791259765625, 0.0013494491577148438, -0.01910400390625, -0.00006461143493652344, 0.042205810546875, -0.01568603515625, -0.01788330078125, 0.0195770263671875, -0.042877197265625, 0.043487548828125, -0.024993896484375, -0.029266357421875, -0.019317626953125, -0.0162811279296875, -0.0015544891357421875, 0.0302886962890625, 0.04205322265625, 0.01552581787109375, 0.016448974609375, -0.040374755859375, -0.0091400146484375, -0.04608154296875, 0.04034423828125, -0.0489501953125, 0.000026464462280273438, 0.018890380859375, 0.006191253662109375, 0.0010547637939453125, -0.004817962646484375, 0.02886962890625, -0.06805419921875, -0.04779052734375, 0.00909423828125, -0.060943603515625, -0.030120849609375, -0.04278564453125, -0.07275390625, 0.10430908203125, -0.0105743408203125, 0.037750244140625, 0.0142974853515625, 0.040374755859375, -0.01123809814453125, 0.0230712890625, -0.0059967041015625, 0.041473388671875, -0.01396942138671875, 0.0220489501953125, -0.02581787109375, 0.0003230571746826172, 0.011810302734375, 0.0242919921875, 0.07696533203125, 0.027008056640625, -0.041656494140625, -0.0023746490478515625, 0.05230712890625, 0.0260162353515625, -0.01763916015625, 0.03564453125, -0.040008544921875, 0.054229736328125, 0.009246826171875, -0.037872314453125, 0.0169525146484375, 0.017547607421875, -0.0869140625, 0.0106201171875, 0.0257568359375, 0.037567138671875, 0.01139068603515625, 0.0095977783203125, -0.0024433135986328125, -0.01091766357421875, 0.03009033203125, -0.0335693359375, 0.03277587890625, -0.01428985595703125, 0.05322265625, -0.066162109375, -0.01030731201171875, -0.0175323486328125, 0.0614013671875, 0.02484130859375, 0.032989501953125, 0.00682830810546875, 0.005504608154296875, 0.03955078125, -0.032318115234375, 0.0017004013061523438, 0.0137939453125, -0.0269927978515625, 0.0034160614013671875, 0.0203399658203125, 0.002933502197265625, -0.01181793212890625, 0.0367431640625, 0.0238189697265625, 0.0207061767578125, -0.049957275390625, -0.027587890625, 0.01137542724609375, -0.0033779144287109375, -0.00959014892578125, -0.001636505126953125, 0.0101318359375, 0.0035648345947265625, 0.01255035400390625, -0.061126708984375, 0.01424407958984375, -0.001888275146484375, 0.057769775390625, -0.01361083984375, -0.0048675537109375, -0.049957275390625, -0.0288848876953125, -0.06744384765625, 0.0345458984375, 0.01104736328125, 0.0640869140625, 0.03448486328125, 0.032379150390625, -0.00839996337890625, -0.0291290283203125, -0.005451202392578125, 0.00569915771484375, -0.0276641845703125, 0.002716064453125, -0.014129638671875, -0.035247802734375, -0.01568603515625, 0.030181884765625, 0.06689453125, 0.020843505859375, 0.04937744140625, 0.01355743408203125, 0.0008540153503417969, 0.0299835205078125, 0.007755279541015625, -0.01427459716796875, 0.001422882080078125, -0.06396484375, 0.005146026611328125, 0.00009119510650634766, -0.0008473396301269531, -0.0027370452880859375, -0.05706787109375, 0.050079345703125, -0.0121917724609375, 0.0265655517578125, 0.0119781494140625, -0.004077911376953125, 0.06341552734375, 0.0076446533203125, 0.039886474609375, 0.03271484375, 0.025848388671875, 0.0284576416015625, -0.04547119140625, -0.102783203125, 0.0203857421875, 0.04461669921875, -0.0008249282836914062, -0.0196990966796875, 0.0184326171875, 0.011993408203125, -0.0207977294921875, -0.016387939453125, 0.0304412841796875, 0.004566192626953125, 0.0039520263671875, 0.025421142578125, -0.047332763671875, -0.025238037109375, -0.00762176513671875, 0.0286865234375, -0.010650634765625, 0.1519775390625, -0.050689697265625, 0.0033626556396484375, -0.0017156600952148438, 0.023834228515625, -0.00232696533203125, 0.00734710693359375, -0.0186309814453125, 0.034149169921875, 0.0274658203125, -0.012725830078125, -0.03240966796875, -0.0035533905029296875, 0.0531005859375, -0.048248291015625, 0.00179290771484375, -0.0187225341796875, 0.0099029541015625, -0.03839111328125, 0.03900146484375, -0.02685546875, -0.042449951171875, -0.02587890625, 0.0070648193359375, 0.002651214599609375, 0.01467132568359375, -0.01108551025390625, 0.026611328125, 0.01904296875, -0.00580596923828125, 0.032318115234375, -0.03497314453125, 0.080322265625, 0.05206298828125, -0.0401611328125, -0.01337432861328125, 0.01441192626953125, -0.01477813720703125, 0.01012420654296875, 0.01067352294921875, 0.005279541015625, 0.0174560546875, 0.002826690673828125, -0.0079345703125, -0.0227203369140625, 0.006870269775390625, -0.0230712890625, 0.0048828125, -0.03704833984375, -0.006519317626953125, 0.042877197265625, -0.004093170166015625, -0.016510009765625, -0.0192413330078125, -0.019317626953125, 0.0178680419921875, -0.025604248046875, -0.018646240234375, -0.05694580078125, 0.0031833648681640625, 0.046844482421875, -0.002410888671875, -0.0472412109375, 0.019073486328125, -0.04248046875, 0.0380859375, -0.005611419677734375, -0.00632476806640625, -0.01544952392578125, 0.0193634033203125, 0.01727294921875, 0.00649261474609375, -0.04156494140625, 0.0237884521484375, -0.0016460418701171875, -0.006175994873046875, 0.01259613037109375, 0.007404327392578125, -0.0146484375, -0.046173095703125, -0.0249786376953125, 0.0288848876953125, -0.053985595703125, -0.010589599609375, 0.005542755126953125, 0.00038313865661621094, -0.03704833984375, -0.0293426513671875, 0.00771331787109375, -0.028778076171875, -0.0289306640625, -0.01250457763671875, -0.039306640625, -0.0311431884765625, -0.04290771484375, -0.03948974609375, 0.010772705078125, 0.0102081298828125, -0.0293426513671875, -0.097900390625, 0.0037517547607421875, 0.02191162109375, 0.0274810791015625, -0.034210205078125, -0.012908935546875, -0.0736083984375, 0.031341552734375, 0.01076507568359375, 0.038818359375, 0.0083770751953125, -0.00450897216796875, 0.0024852752685546875, 0.03729248046875, 0.03765869140625, 0.0273284912109375, 0.004878997802734375, 0.01434326171875, 0.0163116455078125, 0.028717041015625, -0.0302276611328125, 0.0238037109375, -0.0192108154296875, 0.0054779052734375, -0.0223388671875, -0.051116943359375, -0.0167694091796875, -0.0110015869140625, 0.10760498046875, 0.01076507568359375, 0.0207366943359375, -0.032928466796875, -0.01995849609375, -0.05645751953125, -0.027801513671875, -0.03143310546875, 0.036468505859375, -0.07940673828125, -0.00984954833984375, 0.0281524658203125, -0.00345611572265625, 0.037353515625, -0.0343017578125, -0.003307342529296875, 0.0045623779296875, 0.019927978515625, -0.0037078857421875, -0.0260772705078125, 0.0806884765625, -0.00878143310546875, -0.020538330078125, -0.0175933837890625, -0.0244903564453125, -0.0266571044921875, -0.025543212890625, -0.041412353515625, -0.04437255859375, 0.0169830322265625, 0.0209197998046875, 0.01052093505859375, 0.0157318115234375, -0.0047454833984375, 0.00931549072265625, 0.036590576171875, -0.024871826171875, -0.021636962890625, 0.0010576248168945312, -0.04302978515625, -0.019805908203125, -0.0052642822265625, -0.00243377685546875, 0.08856201171875, 0.011932373046875, 0.01273345947265625, 0.002468109130859375, 0.027984619140625, -0.0494384765625, -0.01305389404296875, -0.008087158203125, -0.04541015625, -0.01009368896484375, -0.00852203369140625, -0.043609619140625, -0.0501708984375, -0.01458740234375, -0.06195068359375, -0.01690673828125, 0.004669189453125 ]
d84b4583011e367986b7a3936bddd7dacc3c6fc7
Wordpress Stackexchange Q: How do I create a meta box for dates? I am creating a custom events page and I want to know how to create a custom meta box to save event dates. I don't want it to be a regular meta box because I will be using this to make a custom search bar so I am guessing I have to save it to MySQL no? I am lost, as to how I have to go about this. Any ideas? Thanks in advance. A: Wordpress already includes with the scripts to do datepickers. If you dont want to do it with a plugin, create a regular text metabox, then you need to enqueue a custom script in the wordpress admin with jquery-ui and jquery-ui-datepicker dependencies: function enqueue_date_picker(){ wp_enqueue_script( 'field-date', get_template_directory_uri() . '/admin/field-date.js', array('jquery', 'jquery-ui-core', 'jquery-ui-datepicker'), time(), true ); wp_enqueue_style( 'jquery-ui-datepicker' ); } add_action('admin_enqueue_scripts', 'enqueue_date_picker'); Now all we need to do is call the datepicker in our field-date js file: jQuery(document).ready(function(){ jQuery('.datepicker').datepicker(); }); Notice the .datepicker selector? replace this with an id or class for your meta box input's class/id. Then the datepicker will load once you click on the input - too easy!
Q: How do I create a meta box for dates? I am creating a custom events page and I want to know how to create a custom meta box to save event dates. I don't want it to be a regular meta box because I will be using this to make a custom search bar so I am guessing I have to save it to MySQL no? I am lost, as to how I have to go about this. Any ideas? Thanks in advance. A: Wordpress already includes with the scripts to do datepickers. If you dont want to do it with a plugin, create a regular text metabox, then you need to enqueue a custom script in the wordpress admin with jquery-ui and jquery-ui-datepicker dependencies: function enqueue_date_picker(){ wp_enqueue_script( 'field-date', get_template_directory_uri() . '/admin/field-date.js', array('jquery', 'jquery-ui-core', 'jquery-ui-datepicker'), time(), true ); wp_enqueue_style( 'jquery-ui-datepicker' ); } add_action('admin_enqueue_scripts', 'enqueue_date_picker'); Now all we need to do is call the datepicker in our field-date js file: jQuery(document).ready(function(){ jQuery('.datepicker').datepicker(); }); Notice the .datepicker selector? replace this with an id or class for your meta box input's class/id. Then the datepicker will load once you click on the input - too easy! A: If you're in need of Meta Boxes for WordPress, check out the amazing code in github by jaredatch. https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress This allows you to add all sorts of metaboxes to your WP theme (or plugin). Date Picker, file upload, wysiwyg, text areas, text boxes...it's really amazing and saves lots of time.
wordpress
{ "language": "en", "length": 245, "provenance": "stackexchange_00019.jsonl.gz:415109", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35508" }
[ 0.0300750732421875, 0.00382232666015625, -0.00980377197265625, -0.05511474609375, 0.0090789794921875, -0.01357269287109375, -0.007610321044921875, -0.0036373138427734375, -0.00774383544921875, 0.016326904296875, 0.0245819091796875, -0.01708984375, -0.0207366943359375, -0.036285400390625, -0.01192474365234375, -0.025970458984375, 0.044769287109375, -0.044097900390625, 0.00685882568359375, -0.026580810546875, 0.023590087890625, 0.0057525634765625, 0.0038356781005859375, 0.09100341796875, 0.054962158203125, -0.0299072265625, 0.049591064453125, 0.01358795166015625, 0.0592041015625, 0.02288818359375, 0.04156494140625, -0.06500244140625, 0.01824951171875, -0.019256591796875, 0.04498291015625, 0.040863037109375, 0.0280914306640625, -0.0026092529296875, 0.0357666015625, -0.00484466552734375, 0.022735595703125, -0.00909423828125, -0.0540771484375, 0.04852294921875, -0.056121826171875, -0.044769287109375, 0.020294189453125, -0.007190704345703125, 0.0253143310546875, -0.01094818115234375, -0.00972747802734375, -0.0269317626953125, 0.00955963134765625, -0.045379638671875, -0.0413818359375, -0.041046142578125, -0.0079803466796875, -0.040924072265625, 0.0180511474609375, 0.071044921875, 0.024017333984375, 0.00418853759765625, -0.00820159912109375, -0.0207672119140625, -0.0162353515625, -0.0105133056640625, -0.043182373046875, 0.016357421875, -0.00925445556640625, -0.0234222412109375, -0.0005817413330078125, -0.025604248046875, 0.00495147705078125, -0.02288818359375, 0.0268402099609375, 0.0238494873046875, -0.01401519775390625, 0.018585205078125, 0.006740570068359375, 0.01226043701171875, 0.06976318359375, 0.01025390625, 0.005001068115234375, -0.015289306640625, 0.03472900390625, 0.0040435791015625, -0.0032939910888671875, -0.0290069580078125, -0.038482666015625, -0.0452880859375, -0.0261383056640625, -0.0555419921875, -0.05767822265625, 0.007472991943359375, -0.0037822723388671875, -0.024658203125, 0.0162506103515625, 0.0439453125, -0.028533935546875, -0.023284912109375, 0.0033969879150390625, -0.01389312744140625, -0.033050537109375, -0.00881195068359375, -0.00655364990234375, 0.06353759765625, 0.0216064453125, -0.0180816650390625, -0.0018177032470703125, -0.0036373138427734375, 0.01213836669921875, -0.0157470703125, 0.0132904052734375, 0.0170440673828125, -0.033233642578125, -0.020111083984375, -0.0254364013671875, 0.0011987686157226562, -0.02386474609375, -0.0123748779296875, 0.00843048095703125, 0.0194244384765625, -0.003894805908203125, -0.031829833984375, 0.0235443115234375, 0.005290985107421875, -0.03485107421875, -0.006984710693359375, -0.0263671875, 0.0082855224609375, -0.0292510986328125, 0.007450103759765625, 0.0577392578125, 0.0660400390625, 0.027801513671875, -0.008087158203125, 0.0926513671875, -0.047393798828125, -0.008514404296875, 0.0219268798828125, 0.01123809814453125, -0.018310546875, -0.01708984375, -0.0115814208984375, -0.041015625, 0.0017633438110351562, -0.00262451171875, 0.016876220703125, 0.0037746429443359375, -0.024017333984375, -0.0303192138671875, -0.00807952880859375, 0.04327392578125, 0.01067352294921875, -0.025634765625, -0.01279449462890625, 0.06329345703125, -0.03192138671875, -0.039947509765625, -0.05810546875, -0.0020389556884765625, 0.0154876708984375, -0.01123046875, -0.0228729248046875, -0.0139312744140625, -0.040496826171875, 0.0176544189453125, 0.01390838623046875, 0.023895263671875, -0.006481170654296875, 0.0143890380859375, 0.0088043212890625, 0.0184173583984375, 0.0133514404296875, -0.0005741119384765625, 0.013214111328125, 0.025390625, 0.01023101806640625, -0.0007925033569335938, 0.04150390625, -0.00234222412109375, -0.04278564453125, 0.0247802734375, -0.0224456787109375, -0.036041259765625, 0.02880859375, 0.00505828857421875, 0.0302734375, -0.0019016265869140625, -0.0013179779052734375, 0.044525146484375, 0.0190582275390625, -0.0092926025390625, -0.033233642578125, -0.00026917457580566406, 0.0201263427734375, -0.0057373046875, 0.0063323974609375, -0.00791168212890625, 0.0018444061279296875, -0.00562286376953125, 0.0173797607421875, -0.0211029052734375, 0.00337982177734375, -0.05230712890625, 0.022216796875, -0.030792236328125, 0.0423583984375, -0.0152435302734375, -0.00208282470703125, 0.0194549560546875, -0.01031494140625, -0.00788116455078125, -0.033477783203125, -0.01508331298828125, 0.0069732666015625, 0.00872039794921875, 0.057342529296875, -0.016937255859375, 0.00876617431640625, -0.00745391845703125, -0.05426025390625, 0.006847381591796875, 0.0447998046875, 0.038299560546875, -0.0158843994140625, -0.01277923583984375, -0.031280517578125, 0.047088623046875, -0.0015993118286132812, 0.009979248046875, 0.0272369384765625, 0.02703857421875, 0.01421356201171875, -0.0299530029296875, 0.00206756591796875, -0.0036983489990234375, -0.037139892578125, -0.005359649658203125, 0.0330810546875, 0.006954193115234375, 0.07220458984375, -0.0004019737243652344, 0.03143310546875, 0.01236724853515625, -0.040008544921875, 0.01192474365234375, 0.00968170166015625, -0.0277252197265625, -0.0123443603515625, -0.0003635883331298828, -0.01340484619140625, 0.026275634765625, -0.0239105224609375, -0.0209503173828125, 0.03558349609375, -0.032012939453125, -0.0175933837890625, 0.027130126953125, -0.0204315185546875, -0.0006842613220214844, -0.01544952392578125, -0.00467681884765625, -0.01021575927734375, 0.04034423828125, 0.002166748046875, 0.057220458984375, 0.03594970703125, 0.017791748046875, -0.003421783447265625, -0.0193328857421875, -0.07373046875, -0.0004892349243164062, 0.006137847900390625, -0.015625, 0.019134521484375, -0.0238037109375, 0.0030422210693359375, 0.01532745361328125, 0.009490966796875, 0.0006299018859863281, 0.04364013671875, -0.051055908203125, -0.0167388916015625, -0.0002567768096923828, -0.038482666015625, -0.0220489501953125, 0.0182952880859375, 0.056396484375, 0.01776123046875, 0.053924560546875, -0.0249786376953125, -0.0201416015625, 0.030242919921875, 0.03955078125, -0.06341552734375, 0.0105438232421875, 0.0064849853515625, 0.0242462158203125, -0.0220184326171875, 0.0099945068359375, 0.03387451171875, -0.031219482421875, 0.0285797119140625, -0.004795074462890625, -0.040557861328125, -0.01088714599609375, 0.01374053955078125, -0.013916015625, -0.0224761962890625, -0.04876708984375, 0.00873565673828125, 0.034881591796875, 0.04437255859375, 0.039703369140625, -0.02545166015625, 0.0297088623046875, 0.0404052734375, -0.017425537109375, -0.051788330078125, -0.0269012451171875, -0.051544189453125, 0.00684356689453125, -0.0233917236328125, -0.033355712890625, 0.01873779296875, 0.005184173583984375, 0.01861572265625, -0.07208251953125, 0.01314544677734375, -0.0011997222900390625, -0.0283660888671875, -0.01495361328125, -0.0182952880859375, 0.0013589859008789062, 0.01129913330078125, -0.007083892822265625, 0.052764892578125, -0.0153045654296875, -0.093505859375, -0.05181884765625, 0.02569580078125, 0.005420684814453125, -0.0063323974609375, 0.040496826171875, -0.04345703125, 0.0026073455810546875, -0.00024700164794921875, 0.03253173828125, 0.01129913330078125, -0.0246429443359375, -0.0201568603515625, -0.0246429443359375, 0.0038585662841796875, -0.009002685546875, 0.057098388671875, 0.029510498046875, 0.01161956787109375, 0.0340576171875, -0.033538818359375, 0.00904083251953125, 0.0245361328125, 0.00726318359375, 0.032684326171875, -0.0150146484375, -0.04376220703125, 0.0210113525390625, 0.0191650390625, 0.01953125, 0.01406097412109375, 0.05303955078125, -0.0037860870361328125, 0.00933837890625, -0.00928497314453125, -0.01226806640625, -0.0501708984375, 0.01549530029296875, -0.0152740478515625, 0.045623779296875, 0.01267242431640625, 0.0200653076171875, 0.01006317138671875, -0.00801849365234375, -0.0236968994140625, -0.10260009765625, 0.0601806640625, -0.041473388671875, -0.0036983489990234375, -0.047149658203125, -0.018280029296875, 0.0173187255859375, 0.1099853515625, -0.060089111328125, -0.0162811279296875, 0.0080718994140625, 0.007083892822265625, -0.0250396728515625, 0.00348663330078125, -0.0557861328125, -0.0064544677734375, -0.1136474609375, 0.0297698974609375, 0.0164337158203125, -0.036346435546875, -0.002101898193359375, -0.003665924072265625, -0.0648193359375, -0.049285888671875, 0.02313232421875, 0.019317626953125, -0.0108489990234375, 0.00861358642578125, 0.0007419586181640625, -0.00984954833984375, 0.004489898681640625, -0.00009351968765258789, -0.077880859375, -0.0270843505859375, -0.005859375, 0.0872802734375, -0.0026378631591796875, 0.02679443359375, -0.0130462646484375, 0.066162109375, 0.039276123046875, 0.0177459716796875, 0.032470703125, -0.025482177734375, 0.044097900390625, 0.0196075439453125, 0.0394287109375, -0.021636962890625, -0.0025920867919921875, 0.00885772705078125, -0.0263671875, 0.02752685546875, -0.005336761474609375, -0.007843017578125, 0.044281005859375, -0.03515625, 0.030059814453125, -0.0138092041015625, -0.03460693359375, 0.004299163818359375, -0.019744873046875, -0.011138916015625, -0.00665283203125, -0.00885772705078125, 0.0023670196533203125, -0.0185089111328125, -0.009002685546875, 0.0190277099609375, 0.06256103515625, 0.02685546875, 0.0030670166015625, -0.0227508544921875, 0.0185089111328125, 0.0084686279296875, 0.01493072509765625, 0.0257415771484375, -0.03326416015625, -0.02191162109375, 0.04571533203125, -0.01522064208984375, 0.0238189697265625, -0.049102783203125, 0.07525634765625, -0.004375457763671875, 0.00554656982421875, 0.0223541259765625, -0.0250701904296875, 0.01000213623046875, 0.039154052734375, 0.00041222572326660156, 0.0110015869140625, -0.01934814453125, -0.0034503936767578125, 0.012786865234375, -0.027862548828125, -0.02191162109375, -0.007213592529296875, -0.0113525390625, -0.04541015625, 0.047027587890625, 0.019317626953125, -0.005344390869140625, 0.007518768310546875, 0.03363037109375, -0.01126861572265625, -0.0121917724609375, -0.047821044921875, -0.005077362060546875, -0.021148681640625, 0.052642822265625, -0.0076446533203125, 0.0106048583984375, 0.01154327392578125, 0.03790283203125, 0.02947998046875, 0.0033111572265625, -0.045684814453125, -0.0003345012664794922, 0.0196685791015625, -0.0235137939453125, -0.035614013671875, 0.0284271240234375, 0.052001953125, -0.0272979736328125, -0.01061248779296875, -0.0287628173828125, 0.0295867919921875, -0.057708740234375, 0.011138916015625, 0.027008056640625, -0.0217742919921875, 0.0029392242431640625, 0.04559326171875, 0.005828857421875, 0.0066986083984375, -0.010894775390625, 0.07757568359375, 0.06512451171875, 0.060516357421875, 0.0391845703125, -0.08203125, -0.021759033203125, 0.033935546875, -0.0850830078125, -0.009246826171875, -0.00927734375, 0.031463623046875, -0.0185546875, -0.00225830078125, 0.0193023681640625, 0.01265716552734375, 0.0333251953125, -0.027679443359375, -0.038055419921875, -0.0013856887817382812, 0.03741455078125, 0.00751495361328125, -0.052001953125, -0.038818359375, 0.0509033203125, 0.0177459716796875, 0.015899658203125, -0.0085296630859375, 0.0212249755859375, -0.025146484375, 0.01806640625, -0.0273284912109375, -0.0260772705078125, -0.0180206298828125, 0.012969970703125, 0.0169677734375, -0.0216522216796875, -0.044586181640625, -0.0127410888671875, -0.0207977294921875, 0.0494384765625, -0.05291748046875, 0.03668212890625, -0.056976318359375, 0.045013427734375, -0.07135009765625, 0.0242767333984375, 0.021942138671875, 0.020782470703125, 0.001117706298828125, -0.02740478515625, -0.053070068359375, -0.0189056396484375, -0.05181884765625, -0.023406982421875, -0.014862060546875, 0.02789306640625, -0.008392333984375, 0.07373046875, -0.0322265625, -0.0262298583984375, 0.06463623046875, -0.03497314453125, -0.0660400390625, 0.058990478515625, -0.00939178466796875, 0.048797607421875, 0.004199981689453125, 0.045318603515625, 0.0146026611328125, 0.0150299072265625, -0.00853729248046875, -0.0228424072265625, -0.01324462890625, -0.0338134765625, -0.0095977783203125, -0.0288238525390625, 0.0022487640380859375, 0.032684326171875, 0.03472900390625, 0.0020503997802734375, 0.031463623046875, -0.016387939453125, -0.005756378173828125, -0.019195556640625, 0.035247802734375, -0.02313232421875, 0.034759521484375, 0.0183563232421875, -0.056121826171875, 0.01105499267578125, -0.01010894775390625, 0.034820556640625, 0.039581298828125, -0.0714111328125, 0.0290679931640625, 0.0418701171875, -0.043701171875, 0.0784912109375, 0.059112548828125, -0.005504608154296875, 0.049835205078125, 0.01361846923828125, 0.004505157470703125, 0.0265655517578125, 0.0269775390625, -0.03570556640625, -0.0208282470703125, 0.04681396484375, 0.0131378173828125, -0.040374755859375, 0.0205230712890625, -0.02099609375, 0.02581787109375, 0.0457763671875, 0.06396484375, -0.08575439453125, 0.0197296142578125, 0.01373291015625, 0.029937744140625, 0.061065673828125, -0.0144805908203125, 0.030517578125, 0.01035308837890625, 0.0185089111328125, 0.0213165283203125, -0.02362060546875, 0.008087158203125, -0.01319122314453125, -0.012969970703125, -0.0014410018920898438, -0.04388427734375, -0.01143646240234375, -0.0316162109375, 0.00507354736328125, -0.004726409912109375, -0.0008420944213867188, -0.0144500732421875, 0.005214691162109375, 0.001560211181640625, -0.02630615234375, -0.07965087890625, -0.0113677978515625, -0.0194549560546875, -0.01666259765625, 0.003253936767578125, 0.002826690673828125, 0.064453125, 0.036956787109375, 0.007564544677734375, -0.0079498291015625, -0.014373779296875, 0.061492919921875, -0.0217132568359375, -0.0294189453125, 0.027191162109375, 0.005847930908203125, -0.022491455078125, 0.0191192626953125, 0.0017910003662109375, -0.053619384765625, -0.00157928466796875, -0.006866455078125, 0.06341552734375, -0.007358551025390625, -0.039794921875, 0.0244903564453125, 0.0027713775634765625, -0.01540374755859375, 0.006927490234375, 0.0005831718444824219, -0.02984619140625, -0.000873565673828125, -0.004547119140625, -0.035064697265625, -0.00963592529296875, -0.001071929931640625, -0.0367431640625, 0.08123779296875, -0.006473541259765625, -0.023590087890625, -0.01207733154296875, 0.060302734375, -0.0092926025390625, 0.036773681640625, -0.015960693359375, 0.030059814453125, -0.006908416748046875, 0.0295562744140625, -0.04217529296875, -0.024078369140625, 0.00395965576171875, 0.041656494140625, -0.0033321380615234375, -0.01023101806640625, 0.03131103515625, 0.007259368896484375, 0.052032470703125, 0.066162109375, 0.01910400390625, -0.03314208984375, -0.00250244140625, 0.0219573974609375, 0.03338623046875, -0.01110076904296875, 0.0259552001953125, -0.01220703125, -0.026123046875, 0.0196533203125, -0.013275146484375, -0.034271240234375, 0.004486083984375, -0.039306640625, 0.01873779296875, -0.0121307373046875, -0.0382080078125, -0.0124053955078125, 0.027618408203125, 0.007598876953125, 0.041534423828125, -0.03558349609375, -0.0616455078125, -0.001911163330078125, 0.025054931640625, 0.01148223876953125, 0.0241546630859375, 0.01290130615234375, 0.016387939453125, -0.015625, 0.033233642578125, 0.00940704345703125, 0.02911376953125, -0.015899658203125, 0.022674560546875, -0.01320648193359375, 0.0003390312194824219, -0.0731201171875, -0.0160675048828125, 0.01922607421875, 0.032745361328125, -0.02783203125, -0.04779052734375, -0.006435394287109375, -0.00948333740234375, 0.0335693359375, -0.019439697265625, 0.0288543701171875, -0.037841796875, -0.00788116455078125, -0.03619384765625, 0.0244598388671875, 0.03765869140625, -0.00572967529296875, 0.0005450248718261719, 0.038055419921875, -0.03985595703125, 0.032806396484375, -0.0174102783203125, -0.006717681884765625, 0.010528564453125, 0.021636962890625, 0.0179901123046875, -0.00670623779296875, -0.01541900634765625, -0.00835418701171875, 0.00876617431640625, 0.0270843505859375, 0.048187255859375, -0.0294647216796875, 0.027252197265625, 0.02508544921875, 0.01824951171875, -0.0035858154296875, 0.01995849609375, 0.07928466796875, 0.0823974609375, 0.041473388671875, -0.0153350830078125, 0.0087890625, 0.01384735107421875, -0.0267181396484375, -0.00514984130859375, -0.025421142578125, 0.0266571044921875, 0.0166015625, 0.0034313201904296875, -0.00098419189453125, 0.0247344970703125, 0.048065185546875, -0.035430908203125, 0.054534912109375, -0.01178741455078125, 0.0008606910705566406, 0.026214599609375, -0.049224853515625, 0.060272216796875, -0.0279998779296875, -0.018035888671875, 0.0106201171875, 0.006092071533203125, -0.038909912109375, -0.006866455078125, 0.0247955322265625, -0.045562744140625, 0.039642333984375, -0.006748199462890625, 0.00505828857421875, 0.0511474609375, -0.01983642578125, -0.0157928466796875, 0.003368377685546875, 0.0282440185546875, -0.003047943115234375, -0.0604248046875, -0.01499176025390625, 0.0189666748046875, -0.0029201507568359375, -0.0279388427734375, 0.0037384033203125, 0.0174560546875, -0.019744873046875, 0.0202178955078125, -0.0031948089599609375, -0.00466156005859375, 0.00336456298828125, 0.0126495361328125, -0.0263824462890625, -0.00021827220916748047, -0.0058746337890625, 0.00836944580078125, 0.0035877227783203125, 0.04364013671875, -0.0192413330078125, -0.0168304443359375, -0.0019197463989257812, 0.03369140625, 0.028045654296875, -0.007114410400390625, -0.0310516357421875, -0.01517486572265625, 0.00968170166015625, -0.029571533203125, 0.0181427001953125, 0.0177154541015625, 0.045928955078125, -0.0291595458984375, 0.0110626220703125, -0.01267242431640625, 0.01947021484375, 0.0178070068359375, 0.021209716796875, 0.033203125, -0.0268402099609375, 0.00945281982421875, -0.005794525146484375, -0.017303466796875, 0.01284027099609375, -0.00714874267578125, -0.0027828216552734375, -0.0129241943359375, -0.03759765625, 0.0249786376953125, 0.052734375, 0.039581298828125, -0.01273345947265625, 0.0132598876953125, 0.04815673828125, -0.0272216796875, -0.0111236572265625, -0.0157623291015625, -0.01399993896484375, -0.041046142578125, 0.010406494140625, 0.037872314453125, -0.0182037353515625, 0.01861572265625, -0.05633544921875, 0.0188751220703125, 0.016845703125, 0.032440185546875, -0.075439453125, 0.064208984375, -0.00029754638671875, 0.00933074951171875, 0.01226043701171875, 0.0033168792724609375, -0.006435394287109375, 0.04791259765625, 0.01168060302734375, -0.043975830078125, -0.029998779296875, 0.0560302734375, -0.03363037109375, 0.00432586669921875, 0.00792694091796875, -0.00409698486328125, -0.00865936279296875, 0.010711669921875, 0.0266571044921875, 0.0572509765625, 0.0055084228515625, -0.0030422210693359375, -0.0006546974182128906, 0.04052734375, -0.037200927734375, -0.051666259765625, 0.00606536865234375, -0.00043511390686035156, -0.0031070709228515625, -0.0243377685546875, 0.01207733154296875, 0.0297393798828125, -0.0274658203125, -0.10076904296875, 0.0877685546875, -0.034637451171875, -0.01457977294921875, -0.033599853515625, 0.0141143798828125, 0.0205535888671875, -0.01036834716796875, -0.016815185546875, -0.0135650634765625, -0.0321044921875, -0.010650634765625, 0.0196685791015625, 0.003910064697265625, 0.039764404296875, -0.00975799560546875, -0.0572509765625, -0.0212249755859375, -0.031524658203125, 0.01268768310546875, -0.0171356201171875, 0.00832366943359375, 0.01593017578125, 0.033050537109375, -0.0172271728515625, -0.04608154296875, -0.0026760101318359375, 0.004364013671875, -0.017364501953125, -0.043914794921875, -0.059600830078125, -0.041900634765625, 0.07098388671875, 0.0753173828125, 0.02557373046875, -0.0270233154296875, 0.0214080810546875, -0.056365966796875, 0.00835418701171875, -0.018341064453125, -0.00597381591796875, -0.053436279296875, -0.0255279541015625, 0.0297393798828125, -0.0013093948364257812, 0.0225982666015625, 0.031280517578125, 0.0001266002655029297, -0.0002703666687011719, 0.056854248046875, -0.006153106689453125, -0.10137939453125, 0.035736083984375, 0.0810546875, -0.059539794921875, 0.0030193328857421875, 0.02008056640625, -0.0153350830078125, 0.053070068359375, 0.01036834716796875, -0.0201873779296875, -0.003986358642578125, -0.030303955078125, 0.0206756591796875, -0.0215911865234375, 0.009307861328125, -0.039794921875, -0.0028972625732421875, -0.0181732177734375, 0.0084991455078125, 0.0087738037109375, 0.013153076171875, -0.032257080078125, 0.0030612945556640625, 0.0042266845703125, 0.01139068603515625, -0.037261962890625, -0.040008544921875, -0.0504150390625, 0.019622802734375, -0.01447296142578125, 0.0259857177734375, 0.03839111328125, -0.011016845703125, 0.01641845703125, -0.0499267578125, -0.045654296875, -0.0097808837890625, -0.039154052734375, -0.04217529296875, -0.06317138671875, 0.0085296630859375 ]
eb254307bd63ee68cd23c0a86bcc2ff1a5ebf0a2
Wordpress Stackexchange Q: Change language by clicking a button The goal is to offer a button/select drop-down or similar to switch the public interface1) language on the fly. What I'm searching for * *Plugin or Theme Code... *... or Ideas *Using a work-around with load_textdomain() would be appreciated to leave translation to .po/.mo files *Ideas on how to parse the strings into the interface (ex. ajax/plain php/ini, json, xml files) when not relying on some textdomain function Note: 1) It's not about publishing in different languages. 2) I don't need code to make the actual drop-down/button/whatever. It's only about the code/system delivering the strings for the UI. Thanks! A: If you can settle for a page refresh, redefining the WPLANG constant could be an option. I'm doing that on two sites with multilingual content where the multilinguality plugin fails to trigger UI translation.
Q: Change language by clicking a button The goal is to offer a button/select drop-down or similar to switch the public interface1) language on the fly. What I'm searching for * *Plugin or Theme Code... *... or Ideas *Using a work-around with load_textdomain() would be appreciated to leave translation to .po/.mo files *Ideas on how to parse the strings into the interface (ex. ajax/plain php/ini, json, xml files) when not relying on some textdomain function Note: 1) It's not about publishing in different languages. 2) I don't need code to make the actual drop-down/button/whatever. It's only about the code/system delivering the strings for the UI. Thanks! A: If you can settle for a page refresh, redefining the WPLANG constant could be an option. I'm doing that on two sites with multilingual content where the multilinguality plugin fails to trigger UI translation. A: http://www.qianqin.de/qtranslate/ is what you need ... Edit I - after comment. First - thanks for all who contributed in the downvotes torrent. (this is what happens when one does not visit frequently enough :- ) ) now - The function that handles the switch is in qtranslate-core. (starts at line 80 more or less - depends on the version that you want.) Since you can not look into a NOT OOP code , and I am now with nothing else to do - I took 10 minutes to synthesize , paraphrase compile that non-OOp with yet another non-OOP code for you . (sorry, - primitive old skool here) Assuming that I understood the question && Assuming you want the code to be for admin && assuming you will know how to port it to front end if you want && assuming you understand that the code is not optimal : <?php /* Plugin Name: k99 language switcher Plugin URI: http://www.krembo99.com Description: Admin Language switcher proof of concept only - do not use in production. Version: 0.0.0.0.0.0.0.1 Author: Krembo99 Author URI: http://www.krembo99.com */ ?> <?php function k99_add_language_menu() { // k99_load_ajax_display_functions(); ?> <div class="mgmb_help_setting"> <?php _e('Language:','your_text_domain'); ?> <select name="mgmb_language_setting_help" id="mgmb_language_setting_help" onChange="mgmb_set_language_cookies(this.value);" > <option value="en_US" <?php if($_COOKIE['k99_userLang']=="en_US"){echo "selected";} ?>><?php _e('English','your_text_domain');?></option> <option value="de_DE" <?php if($_COOKIE['k99_userLang']=="de_DE"){echo "selected";} ?>><?php _e('German','your_text_domain');?></option> <option value="zh_CN" <?php if($_COOKIE['k99_userLang']=="zh_CN"){echo "selected";} ?>><?php _e('Chinese','your_text_domain');?></option> </select> </div> <?php } // Now we set that function up to execute when the help action is called add_filter('contextual_help', 'k99_add_language_menu'); // I guess this is your mysterious "browser stuff" function k99_language_change($lang){ global $locale; // wp_cache_set( "language", $lang, 'options' ); if ( isset($_COOKIE['k99_userLang'])) { $lang = $_COOKIE['k99_userLang']; } define( 'WPLANG', $lang ); if($locale!= $lang) { $locale = $lang; load_plugin_textdomain('your_text_domain', false, dirname( plugin_basename(__FILE__) ) . '/lang'); // sample use for plugins textdomain load_plugin_textdomain('your_text_domain2', false, dirname( plugin_basename(__FILE__) ) . '/lang'); load_plugin_textdomain('your_text_domain3', false, dirname( plugin_basename(__FILE__) ) . '/lang'); } return $locale; } add_filter('locale', 'k99_language_change',99); ////////// +++++++++++++++ START COOKIES CREATION +++++++++++++++////////////////// // Javascript function set the language cookies // access external // @param lang - language code // @return NULL // or maybe this is the OP´s mysterious "browser stuff" ?? function mgmb_print_script() { ?> <script type="text/javascript" > function mgmb_set_language_cookies(lang){ var Then = new Date(); Then.setTime(Then.getTime() + 10000*60*60*1000 ); //set cookie expire to 10000 hours cookies (hour*minute*seconds*1000) document.cookie = "k99_userLang="+lang+";expires="+ Then.toGMTString(); window.location.reload(); } </script> <?php } add_action('admin_print_scripts', 'mgmb_print_script'); // this is not the right way to do .. but no time now. ?> REMARKS : 1 - This was built in 10 min. on local machine while at the airport . The reason why I say this is that the only ready available wordpress installation that I have here is quite old . (2.9 I think). This means that probably the language menu will appear UNDER the contextual help div, due to the fact that a new div structure was recently introduced (with tabs) - but still it should work. (I promise to get back to this later if I have time) If I had more time (and a new wordpress code here ) i would probably integrate this in the new admin-bar with add_action( 'admin_bar_menu', 'k99_add_language_menu_2', 1000 ); (I already promised to get back to this) 2 - you should have the listed languages files inside the "languages" folder in wp-content (better??) or wp-include. regarding this point - the code is only a proof of concept - and of course if one has more time the menu should be built in a dynamic way and not like done here. 3 - your WPLANG in config should be empty. I am not sure it will work on newer wp versions if a language is already set. 4 - it is a simple synthesized and paraphrased proof of concept built on what was seen in qtranslate code (also old version) - so most of the things are done the "quick" way, not necessarily the "right" way (like adding JS, no dedicated textdomain etc..). EDIT II someone is lucky today ! (Flight Delay ) Since you were looking for "ideas" for approaches , here is another famous one . It will not fit in a plugin, or actually any other non-exclusive environment , but it might give you another direction as how to handle the "Browser stuff". This will allow one to get the language with a GET like : <a href="index.php?lang=de">German</a> or <a href="whatever.php?lang=ml">my Language</a> To use , you can create a code (let´s call it wp-langswitch.php ) session_start(); if ( isset( $_GET['lang'] ) ) { $_SESSION['WPLANG'] = $_GET['lang']; define ('WPLANG', $_SESSION[WPLANG]); } else { if(isset($_SESSION['WPLANG'])) { define ('WPLANG', $_SESSION['WPLANG']); $_GET['lang'] = $_SESSION['WPLANG']; } else { if ( isset( $_SERVER["HTTP_ACCEPT_LANGUAGE"] ) ) { $languages = strtolower( $_SERVER["HTTP_ACCEPT_LANGUAGE"] ); $languages = explode( ",", $languages ); $_SESSION['WPLANG'] = $languages[0]; $_SESSION['WPLANG'] = str_replace("-", "_", $_SESSION['WPLANG']); $_GET['lang'] = substr($_SESSION['WPLANG'],0,2); define ('WPLANG', $_SESSION[WPLANG]); } else { define ('WPLANG', ''); } } } now, in wp-config, just before the WPLANG constant , we need to include our code . require_once(dirname(__FILE__).'/wp-langswitch.php'); define ('WPLANG', ''); Now - obviously it would be better to add some cookies to the mix to store the languages . EDIT III I promised to get back to this later - here is how (in a very non-correct and primitive way ) it could be integrated inside the admin-bar (instead of the contextual-help-menu) function k99_add_language_menu_bar() { global $wp_admin_bar, $wpdb; if ( !is_super_admin() || !is_admin_bar_showing() ) return; // I am sure you can find a way alone to construct array from reading folder . If not , comment and I will update again. if($_COOKIE['k99_userLang']=="en_US"){$sel==$_COOKIE['k99_userLang'];} if($_COOKIE['k99_userLang']=="de_DE"){$sel==$_COOKIE['k99_userLang'];} if($_COOKIE['k99_userLang']=="zh_CN"){$sel==$_COOKIE['k99_userLang'];} $k99_lang = ''; $k99_lang .= '<select name="mgmb_language_setting_help" id="mgmb_language_setting_help" onChange="mgmb_set_language_cookies(this.value);" >'; $k99_lang .= '<option value="en_US" >English</option>'; $k99_lang .= '<option value="de_DE" >German</option>'; $k99_lang .= '<option value="zh_CN" >Chinese</option></select>'; /* Add the main siteadmin menu item */ $wp_admin_bar->add_menu( array( 'id' => 'Language', 'title' => __( 'language', 'your_text_domain3' ), 'href' => FALSE ) ); $wp_admin_bar->add_menu( array( 'parent' => 'Language', 'title' => $k99_lang, 'href' => FALSE ) ); } add_action( 'admin_bar_menu', 'k99_add_language_menu_bar', 999 ); Just replace this function (or add) to the old code (the original NON - OOP non-plugin) . Like I said, I do not have a new wordpress installation here on local that features admin-bar - but it should work . (and then again, it might not work...but I am sure you could fix that if you really want - even thought it is not OOP ) :-) gotta run now . hope it helps somehow. EDIT IV - changed edit III to working verion for admin menu bar (at least on my wp 3.4) since I had no working install of 3.4 - and now I returned and I do - I have edited the Edit III solution - and it works for me . About the upvotes, I could not care less . And I do not need any "bounties" (whatever those may be..) It was just for the sake of the exercise you shlould maybe give it to the author of qTranslate . :-) despite of the fact that it is not OOP - it is a genious plugin with a lot to learn from in a lot of areas . considering the "when" of this plugin release , it is even amazing. worth the indescribably effort of reading a NON OOP code - even if it is not - OOP . And even if it is not correctly indented (good god !). A: By far the best (easiest) way is to use the locale filter (inside get_locale()). First set up a quick function for retrieving a different language to use on the locale filter. /** * A function returns with returns the user's selectd locale, if stored. */ function wpse35622_get_new_locale($locale=false){ $new_locale = get_user_meta(get_current_user_id(), 'wpse_locale', true); if($new_locale) return $new_locale; return $locale; } I've left this as a global function, might be handy...? The rest of the plug-in I've wrapped inside a class. It creates a drop-down of possible languages from which you can select. Drawbacks * *Searches wp-content/languages for files of the form xx_xx.mo. If it's not of that form (not all .mo files are) the plug-in won't pick up on it! *The drop down gives a list of the found locales to choose from, but these are displayed in the 'xx_xx` format of locales, not a human friendly way - any ideas?? *Does $locale do anything other than language? If so it's still possible to get the locale the same, but provide alternative translations. It's a lot messier though... The code class SH_Pick_Lang{ /** * A unique name for this plug-in */ static $name ='sh_pick_lang'; /** * Hook the functions */ public function __construct(){ if( isset($_POST[self::$name]) ){ add_action('locale',array($this,'update_user')); } add_filter( 'locale', 'wpse35622_get_new_locale',20 ); add_action( 'wp_before_admin_bar_render', array( $this, 'admin_bar') ); } /** * Update the user's option just in time! Only once mind... */ function update_user($locale){ $save_locale = $_POST[self::$name]; update_user_meta(get_current_user_id(), 'wpse_locale', $save_locale); remove_filter(current_filter(),__FUNCTION__); return $locale; } /** * Add a really horrible looking dropdown menu that I'm sure Kaiser will make look fantastic. */ function admin_bar(){ global $wp_admin_bar; $wp_admin_bar->add_menu( array( 'id' => 'shlangpick', 'title' => $this->wpse_language_dropown(), ) ); } /** * Generates a list of available locales. * Searches the wp-content/languages folder for files of the form xx_xx.mo * * TODO Not all locales are of the form xx_xx.mo - we might miss some. * TODO Better way of gettin gthe wp-content/languages folder without a constant? */ function wpse_language_dropown(){ $name = self::$name; $locale = get_locale(); $langs = get_available_languages(); $langs[] = 'en_US'; //For the labels (format_code_lang) require_once( ABSPATH . 'wp-admin/includes/ms.php'); $html = "<form method='post'> "; $html .= "<select name='{$name}'>"; foreach($langs as $lang){ $label = format_code_lang( $lang ); $html .= "<option ".selected( $lang, $locale, false)." value='{$lang}'>{$label}</option>"; } $html .= "</select>"; $html .= get_submit_button('Change Language','secondary', 'submit', true); $html .= "</form >"; return $html; } } // END Class //Initiate... $sh_pick_lang = new SH_Pick_Lang();
wordpress
{ "language": "en", "length": 1759, "provenance": "stackexchange_00019.jsonl.gz:415152", "question_score": "22", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35622" }
[ -0.00933837890625, -0.0212860107421875, -0.002849578857421875, 0.04833984375, -0.0204925537109375, -0.0233154296875, 0.043975830078125, -0.0170745849609375, 0.0236663818359375, 0.01407623291015625, -0.008819580078125, -0.0168914794921875, -0.0411376953125, -0.0285186767578125, -0.04339599609375, -0.045074462890625, 0.036956787109375, -0.0011205673217773438, 0.033538818359375, 0.0005488395690917969, -0.0181884765625, 0.01708984375, 0.039642333984375, -0.0010280609130859375, 0.039337158203125, -0.0272064208984375, 0.0071868896484375, -0.02789306640625, 0.0018968582153320312, -0.01114654541015625, 0.0193634033203125, 0.004486083984375, 0.01227569580078125, 0.0005121231079101562, -0.000732421875, -0.01233673095703125, -0.01320648193359375, -0.00011754035949707031, -0.0009732246398925781, 0.017730712890625, 0.045318603515625, -0.0251312255859375, -0.045745849609375, 0.07861328125, -0.0212554931640625, -0.05450439453125, 0.040435791015625, -0.047210693359375, -0.0015993118286132812, -0.0296478271484375, 0.0182037353515625, -0.0068511962890625, 0.046234130859375, -0.046112060546875, -0.021820068359375, 0.0003261566162109375, -0.032073974609375, 0.0518798828125, 0.0143890380859375, 0.036895751953125, -0.00714111328125, 0.0261688232421875, -0.015594482421875, -0.0162811279296875, -0.00791168212890625, -0.0095062255859375, -0.06903076171875, 0.0174102783203125, -0.011627197265625, -0.004726409912109375, 0.01311492919921875, -0.035736083984375, -0.005100250244140625, -0.04571533203125, -0.0026760101318359375, 0.05206298828125, -0.0428466796875, -0.0149078369140625, 0.04132080078125, -0.0186767578125, 0.027801513671875, 0.0206298828125, -0.00005817413330078125, -0.032928466796875, 0.026611328125, -0.01470184326171875, -0.0145263671875, -0.018829345703125, -0.07366943359375, -0.0234832763671875, -0.03582763671875, -0.00738525390625, -0.0828857421875, 0.0080108642578125, -0.01202392578125, 0.01422119140625, -0.0091400146484375, -0.00826263427734375, 0.0079193115234375, 0.005023956298828125, 0.005077362060546875, -0.0343017578125, 0.033599853515625, -0.0160064697265625, -0.004306793212890625, -0.0019683837890625, 0.02838134765625, 0.04193115234375, 0.051605224609375, 0.0248565673828125, -0.004207611083984375, 0.08062744140625, 0.01346588134765625, 0.0007171630859375, -0.04852294921875, -0.036651611328125, -0.018218994140625, -0.018218994140625, -0.00403594970703125, -0.031951904296875, -0.0007171630859375, -0.00545501708984375, -0.0021305084228515625, 0.0220794677734375, -0.0179595947265625, -0.0280609130859375, -0.01296234130859375, 0.0004718303680419922, -0.007564544677734375, 0.0020160675048828125, -0.0391845703125, 0.00858306884765625, 0.077880859375, 0.04510498046875, 0.01551055908203125, -0.0129852294921875, 0.002685546875, 0.01444244384765625, 0.034942626953125, -0.0379638671875, 0.03082275390625, -0.02703857421875, -0.00829315185546875, 0.055419921875, -0.0249786376953125, 0.019622802734375, 0.0248260498046875, 0.02996826171875, -0.01554107666015625, -0.0753173828125, 0.0428466796875, -0.031585693359375, 0.03692626953125, -0.010467529296875, 0.0132904052734375, -0.045135498046875, 0.050750732421875, -0.042510986328125, -0.00687408447265625, -0.04656982421875, -0.012237548828125, -0.045074462890625, -0.0019445419311523438, 0.007251739501953125, -0.00737762451171875, 0.03533935546875, 0.0038166046142578125, 0.01480865478515625, 0.00457000732421875, -0.007415771484375, 0.006183624267578125, 0.0482177734375, -0.006282806396484375, 0.0007295608520507812, 0.0114593505859375, -0.01178741455078125, -0.0035724639892578125, 0.00820159912109375, 0.0034542083740234375, 0.03948974609375, 0.022613525390625, -0.0237274169921875, 0.044677734375, -0.0014162063598632812, -0.0655517578125, 0.04150390625, 0.008758544921875, 0.074951171875, 0.00821685791015625, 0.005157470703125, 0.01456451416015625, 0.0311737060546875, -0.03497314453125, 0.02520751953125, 0.0004527568817138672, 0.00708770751953125, -0.062042236328125, 0.0130462646484375, -0.01476287841796875, -0.030853271484375, 0.04571533203125, 0.01454925537109375, -0.02496337890625, 0.01190948486328125, -0.055084228515625, -0.01120758056640625, -0.00780487060546875, 0.00664520263671875, 0.049957275390625, 0.00826263427734375, -0.005832672119140625, 0.0181732177734375, 0.01329803466796875, -0.09765625, -0.05328369140625, 0.049774169921875, -0.02593994140625, 0.00762939453125, 0.006488800048828125, -0.008209228515625, 0.05224609375, -0.0367431640625, 0.05340576171875, 0.044525146484375, -0.016876220703125, 0.0036182403564453125, -0.0166168212890625, 0.006519317626953125, 0.00298309326171875, -0.002658843994140625, 0.0447998046875, 0.0254974365234375, 0.00726318359375, 0.00536346435546875, -0.0034236907958984375, -0.008544921875, 0.00006490945816040039, -0.09423828125, 0.005985260009765625, 0.05523681640625, 0.011566162109375, 0.01306915283203125, 0.00011146068572998047, 0.048828125, 0.021209716796875, 0.00823211669921875, 0.028350830078125, 0.01806640625, 0.00788116455078125, 0.036346435546875, -0.0184173583984375, -0.0021152496337890625, 0.0168609619140625, -0.035186767578125, 0.00861358642578125, 0.0281829833984375, -0.0193023681640625, -0.038482666015625, 0.02410888671875, -0.01049041748046875, 0.01091766357421875, -0.005916595458984375, -0.01824951171875, 0.001018524169921875, 0.0249176025390625, -0.03253173828125, -0.0176849365234375, -0.02825927734375, -0.029541015625, 0.01454925537109375, 0.03070068359375, -0.06390380859375, 0.018280029296875, 0.0168914794921875, -0.042724609375, -0.0197906494140625, 0.0109710693359375, -0.0121307373046875, -0.003215789794921875, -0.00666046142578125, -0.021209716796875, 0.040496826171875, -0.061370849609375, -0.031463623046875, 0.01219940185546875, -0.0439453125, -0.04583740234375, -0.031341552734375, 0.00843048095703125, -0.0017242431640625, 0.0279541015625, 0.01016998291015625, -0.036468505859375, 0.043182373046875, 0.0040435791015625, -0.024810791015625, 0.0848388671875, -0.005725860595703125, 0.0113067626953125, -0.0034618377685546875, 0.052093505859375, 0.056640625, 0.004779815673828125, -0.004558563232421875, 0.012176513671875, -0.0533447265625, -0.01103973388671875, 0.0235748291015625, 0.0092010498046875, 0.0283660888671875, -0.09893798828125, 0.043548583984375, -0.004932403564453125, -0.0309600830078125, -0.045379638671875, -0.044708251953125, -0.053924560546875, -0.043426513671875, -0.1173095703125, -0.051361083984375, -0.01027679443359375, -0.019134521484375, 0.05010986328125, 0.00553131103515625, 0.01055145263671875, -0.03619384765625, 0.01522064208984375, -0.0020885467529296875, -0.021240234375, -0.0269927978515625, -0.0419921875, -0.039154052734375, -0.03521728515625, 0.01019287109375, -0.005519866943359375, 0.0010271072387695312, 0.011505126953125, 0.004268646240234375, -0.0171356201171875, -0.070556640625, -0.01593017578125, 0.0926513671875, 0.01256561279296875, 0.0056304931640625, 0.02215576171875, -0.03240966796875, 0.01328277587890625, -0.00843048095703125, 0.0170440673828125, 0.049591064453125, -0.0297698974609375, 0.00916290283203125, -0.004852294921875, -0.0002448558807373047, 0.03521728515625, -0.06256103515625, -0.0233001708984375, 0.02984619140625, -0.00951385498046875, -0.038818359375, -0.02398681640625, 0.022735595703125, -0.0210723876953125, 0.00832366943359375, -0.0201263427734375, -0.025543212890625, 0.0173492431640625, 0.0188140869140625, -0.027069091796875, -0.0168304443359375, 0.0188140869140625, -0.0537109375, 0.0233001708984375, 0.00360870361328125, 0.00022339820861816406, 0.004955291748046875, 0.02484130859375, -0.0176239013671875, -0.0175323486328125, -0.005046844482421875, 0.0124969482421875, -0.00994873046875, 0.030792236328125, 0.000005424022674560547, -0.0263519287109375, 0.040771484375, -0.040557861328125, -0.0207061767578125, -0.0001277923583984375, -0.031097412109375, 0.013427734375, 0.066650390625, 0.00250244140625, 0.0101776123046875, 0.0224761962890625, 0.00843048095703125, -0.0222320556640625, -0.0207977294921875, -0.0675048828125, -0.005168914794921875, -0.046844482421875, 0.028717041015625, 0.0010633468627929688, 0.008758544921875, -0.0704345703125, 0.0755615234375, -0.044219970703125, -0.016937255859375, 0.048431396484375, -0.0202178955078125, 0.0137481689453125, -0.0178680419921875, 0.014129638671875, -0.03253173828125, -0.0204010009765625, -0.014739990234375, -0.048492431640625, 0.00214385986328125, -0.030426025390625, 0.043670654296875, 0.049163818359375, -0.036163330078125, -0.006282806396484375, 0.0391845703125, 0.01666259765625, 0.06463623046875, -0.00426483154296875, -0.00511932373046875, 0.057708740234375, -0.0008311271667480469, 0.01556396484375, -0.00846099853515625, -0.0027828216552734375, 0.0251922607421875, -0.0015115737915039062, 0.0645751953125, -0.023406982421875, -0.00846099853515625, 0.0038909912109375, -0.042144775390625, -0.050933837890625, -0.0263519287109375, -0.048736572265625, -0.01824951171875, -0.036773681640625, 0.003360748291015625, -0.00940704345703125, -0.046783447265625, 0.0211334228515625, 0.00846099853515625, -0.0091705322265625, -0.001171112060546875, 0.04486083984375, 0.0081329345703125, -0.0277252197265625, -0.05352783203125, -0.0174407958984375, 0.0243377685546875, 0.01320648193359375, 0.0256500244140625, 0.0093994140625, -0.040679931640625, 0.0841064453125, 0.00794219970703125, 0.0005679130554199219, 0.00579071044921875, 0.048187255859375, 0.00545501708984375, -0.01245880126953125, 0.0284576416015625, 0.0075531005859375, -0.05010986328125, 0.0643310546875, 0.01316070556640625, -0.0243377685546875, -0.035552978515625, 0.0251007080078125, -0.0007414817810058594, -0.00972747802734375, -0.035186767578125, -0.060699462890625, 0.018951416015625, 0.01091766357421875, -0.0181732177734375, -0.0157012939453125, 0.0242919921875, -0.00586700439453125, 0.035186767578125, 0.002597808837890625, 0.03369140625, 0.042205810546875, 0.01113128662109375, 0.054962158203125, -0.0075531005859375, 0.009490966796875, -0.0241241455078125, -0.0231475830078125, 0.053741455078125, -0.0118865966796875, -0.055389404296875, 0.00440216064453125, -0.00867462158203125, 0.01139068603515625, 0.05181884765625, 0.017364501953125, 0.0084075927734375, 0.0202789306640625, 0.01496124267578125, 0.01174163818359375, 0.055572509765625, 0.0022754669189453125, -0.0107269287109375, 0.00672149658203125, 0.0158233642578125, -0.00893402099609375, 0.036407470703125, 0.034912109375, -0.0160064697265625, 0.038330078125, -0.01369476318359375, 0.028564453125, 0.03369140625, 0.0013151168823242188, 0.020751953125, 0.0028171539306640625, 0.020599365234375, -0.04412841796875, -0.006683349609375, 0.016876220703125, -0.0010271072387695312, 0.0301971435546875, 0.0247039794921875, -0.0239105224609375, 0.007373809814453125, -0.01194000244140625, -0.0245361328125, -0.044586181640625, 0.0283050537109375, 0.0399169921875, -0.043182373046875, -0.02178955078125, 0.0189971923828125, 0.006061553955078125, 0.02520751953125, 0.00873565673828125, -0.01593017578125, -0.0016841888427734375, -0.0170745849609375, 0.01078033447265625, -0.029083251953125, 0.0009441375732421875, 0.0094451904296875, 0.007434844970703125, 0.01016998291015625, -0.00972747802734375, -0.06732177734375, -0.026031494140625, 0.004535675048828125, 0.01067352294921875, 0.0290069580078125, -0.0118560791015625, 0.0016889572143554688, -0.0022411346435546875, -0.00684356689453125, 0.0228271484375, 0.00780487060546875, 0.0218658447265625, -0.03021240234375, -0.020721435546875, -0.00586700439453125, -0.057373046875, -0.01499176025390625, -0.0576171875, -0.06524658203125, -0.047943115234375, 0.00579833984375, 0.015411376953125, 0.032257080078125, -0.01331329345703125, -0.019561767578125, -0.00638580322265625, 0.00839996337890625, 0.022216796875, 0.037353515625, -0.0155181884765625, 0.035003662109375, 0.01074981689453125, 0.0267181396484375, 0.009735107421875, 0.0091705322265625, -0.011627197265625, -0.01169586181640625, -0.0005025863647460938, -0.0041351318359375, -0.00016891956329345703, 0.01374053955078125, -0.010986328125, -0.0318603515625, 0.0015897750854492188, -0.001667022705078125, 0.0157318115234375, -0.0207366943359375, -0.00679779052734375, -0.035247802734375, 0.040496826171875, -0.03369140625, 0.0232086181640625, -0.0019969940185546875, -0.0562744140625, -0.03680419921875, 0.0045166015625, 0.0306396484375, -0.0215911865234375, -0.020477294921875, -0.039642333984375, 0.054168701171875, -0.0291748046875, 0.016937255859375, 0.03765869140625, 0.029571533203125, 0.05157470703125, 0.0157012939453125, 0.032440185546875, -0.0015630722045898438, -0.007343292236328125, -0.0039520263671875, -0.0294036865234375, -0.00991058349609375, -0.031494140625, -0.00958251953125, -0.0260009765625, -0.01428985595703125, 0.0251312255859375, 0.10333251953125, 0.0799560546875, -0.1270751953125, -0.003009796142578125, 0.0333251953125, -0.036895751953125, -0.0214080810546875, 0.007366180419921875, -0.0283355712890625, -0.036376953125, 0.01111602783203125, -0.0289459228515625, -0.04168701171875, -0.0026607513427734375, 0.021697998046875, -0.01253509521484375, 0.003032684326171875, 0.0174102783203125, 0.0251007080078125, -0.01324462890625, 0.01551055908203125, 0.00737762451171875, 0.0291595458984375, -0.041748046875, -0.0017290115356445312, 0.014617919921875, -0.029083251953125, -0.0540771484375, 0.0223388671875, -0.024383544921875, 0.004360198974609375, 0.004756927490234375, -0.0098724365234375, 0.01568603515625, 0.0518798828125, -0.01995849609375, -0.01201629638671875, 0.022064208984375, 0.006526947021484375, -0.003803253173828125, -0.006671905517578125, -0.0049285888671875, -0.005619049072265625, -0.0111846923828125, 0.01184844970703125, -0.0328369140625, -0.0181121826171875, 0.006488800048828125, 0.0212554931640625, 0.0484619140625, 0.00870513916015625, -0.032318115234375, 0.03472900390625, -0.01445770263671875, -0.01053619384765625, -0.013641357421875, -0.033203125, -0.034881591796875, -0.0322265625, -0.03546142578125, -0.073974609375, 0.018829345703125, -0.044708251953125, -0.08013916015625, 0.10821533203125, -0.00495147705078125, 0.057281494140625, 0.00925445556640625, 0.0256805419921875, -0.00911712646484375, 0.004703521728515625, -0.01290130615234375, 0.03643798828125, 0.0218658447265625, -0.01375579833984375, -0.01788330078125, 0.0015392303466796875, -0.0039215087890625, 0.0294036865234375, 0.00957489013671875, 0.0018663406372070312, 0.01108551025390625, 0.00879669189453125, 0.03619384765625, 0.047149658203125, 0.0158843994140625, -0.01319122314453125, 0.00640106201171875, 0.059112548828125, 0.0306854248046875, -0.054412841796875, 0.0172882080078125, -0.0301971435546875, -0.0242462158203125, 0.0176239013671875, 0.00031948089599609375, -0.00855255126953125, 0.0015878677368164062, -0.0105438232421875, -0.053131103515625, 0.015289306640625, 0.02825927734375, 0.0082550048828125, 0.0184783935546875, 0.0186920166015625, 0.0306396484375, -0.0006661415100097656, 0.01438140869140625, -0.031463623046875, 0.053497314453125, -0.0030078887939453125, 0.00901031494140625, -0.018402099609375, 0.006229400634765625, 0.0012311935424804688, -0.047271728515625, -0.01837158203125, -0.0012426376342773438, -0.0172576904296875, 0.045806884765625, 0.025177001953125, 0.021820068359375, -0.028778076171875, -0.00975799560546875, 0.033538818359375, 0.07403564453125, -0.041839599609375, -0.037567138671875, 0.01096343994140625, 0.01482391357421875, 0.00847625732421875, 0.01088714599609375, 0.02691650390625, -0.0032825469970703125, 0.0310821533203125, 0.039031982421875, -0.009735107421875, 0.002574920654296875, 0.009429931640625, 0.01654052734375, 0.0102996826171875, 0.00485992431640625, 0.0239410400390625, -0.034698486328125, -0.00011718273162841797, 0.0230255126953125, 0.068115234375, 0.00970458984375, 0.057891845703125, -0.0174713134765625, -0.0280303955078125, 0.0200653076171875, -0.0123443603515625, 0.0098114013671875, -0.0374755859375, 0.0133209228515625, -0.01018524169921875, -0.0271759033203125, 0.01568603515625, 0.0291748046875, 0.04827880859375, 0.07452392578125, 0.0543212890625, -0.0225982666015625, -0.0018396377563476562, 0.0501708984375, -0.0198822021484375, 0.004543304443359375, -0.006961822509765625, 0.0289306640625, 0.0212249755859375, -0.01126861572265625, -0.00911712646484375, 0.058837890625, 0.01537322998046875, -0.040802001953125, 0.046661376953125, -0.0175933837890625, -0.01529693603515625, 0.057525634765625, -0.0253448486328125, 0.08380126953125, -0.01377105712890625, -0.06549072265625, -0.00543212890625, -0.004169464111328125, -0.039215087890625, 0.00962066650390625, 0.03369140625, -0.041778564453125, 0.043212890625, -0.04974365234375, 0.006649017333984375, 0.037109375, -0.049163818359375, -0.000553131103515625, 0.0257415771484375, 0.0161590576171875, -0.007389068603515625, -0.0594482421875, -0.049072265625, 0.0004696846008300781, 0.05029296875, -0.004150390625, 0.007251739501953125, 0.01352691650390625, 0.02655029296875, -0.01354217529296875, -0.00173187255859375, 0.00423431396484375, -0.00966644287109375, 0.0195770263671875, 0.00981903076171875, 0.0090179443359375, -0.017333984375, -0.00677490234375, 0.052276611328125, 0.012908935546875, -0.025390625, 0.0218048095703125, -0.00209808349609375, 0.00986480712890625, -0.0010080337524414062, 0.01198577880859375, -0.0258941650390625, -0.04241943359375, -0.04058837890625, 0.01678466796875, 0.040863037109375, 0.0537109375, -0.037994384765625, -0.0000054836273193359375, -0.056304931640625, -0.005985260009765625, 0.00994873046875, 0.0002256631851196289, -0.0618896484375, -0.01021575927734375, -0.0013647079467773438, -0.0139312744140625, 0.022064208984375, -0.023162841796875, -0.003543853759765625, -0.00041365623474121094, 0.04754638671875, -0.00240325927734375, 0.021392822265625, -0.039154052734375, -0.0255584716796875, 0.0182647705078125, -0.023101806640625, 0.0009813308715820312, -0.006359100341796875, 0.00652313232421875, -0.050018310546875, 0.0177001953125, 0.0126800537109375, 0.01300048828125, -0.0195770263671875, -0.001705169677734375, 0.035125732421875, 0.00980377197265625, 0.034393310546875, -0.0079345703125, -0.0006937980651855469, 0.0029754638671875, -0.06268310546875, 0.0303802490234375, -0.0161895751953125, 0.027801513671875, -0.03948974609375, -0.04840087890625, 0.03375244140625, 0.0594482421875, -0.0396728515625, -0.0214996337890625, -0.0247802734375, -0.042449951171875, -0.04437255859375, 0.01558685302734375, 0.01125335693359375, -0.023223876953125, -0.03533935546875, 0.05120849609375, 0.03375244140625, 0.08868408203125, 0.04022216796875, -0.00762939453125, 0.041168212890625, -0.01849365234375, -0.02362060546875, -0.07196044921875, 0.007137298583984375, -0.060272216796875, -0.005458831787109375, -0.027252197265625, -0.00263214111328125, -0.00844573974609375, -0.063232421875, -0.110107421875, 0.049285888671875, -0.01444244384765625, -0.039459228515625, -0.03753662109375, 0.04150390625, 0.01161956787109375, -0.01255035400390625, 0.003749847412109375, -0.043121337890625, -0.01168060302734375, -0.023406982421875, 0.020172119140625, 0.0255279541015625, 0.01331329345703125, -0.0019216537475585938, -0.027374267578125, 0.006198883056640625, 0.0014619827270507812, 0.020263671875, -0.00536346435546875, -0.03790283203125, 0.019012451171875, 0.0032062530517578125, -0.058349609375, -0.055511474609375, 0.0169677734375, 0.08209228515625, -0.0013370513916015625, -0.061767578125, 0.00792694091796875, -0.0234375, 0.0290374755859375, -0.0355224609375, -0.005123138427734375, -0.015380859375, 0.0309295654296875, 0.03570556640625, -0.002109527587890625, -0.00021648406982421875, -0.00450897216796875, -0.0196075439453125, -0.0225067138671875, -0.035247802734375, -0.03369140625, 0.0169525146484375, 0.031402587890625, -0.05194091796875, 0.0160980224609375, 0.0049285888671875, -0.0254974365234375, -0.045928955078125, -0.0345458984375, 0.09039306640625, -0.051025390625, 0.01081085205078125, 0.017974853515625, 0.020416259765625, 0.042755126953125, 0.0285797119140625, 0.00936126708984375, 0.01514434814453125, -0.013885498046875, 0.043670654296875, 0.01549530029296875, -0.00893402099609375, -0.02008056640625, -0.00989532470703125, -0.033935546875, 0.045196533203125, 0.0187530517578125, 0.0712890625, -0.02593994140625, 0.031585693359375, 0.039154052734375, -0.0204010009765625, -0.043487548828125, 0.026031494140625, -0.03118896484375, 0.0174407958984375, -0.0191497802734375, 0.0224151611328125, 0.0277557373046875, -0.02069091796875, 0.0169677734375, 0.0206146240234375, -0.0033054351806640625, -0.01364898681640625, 0.042572021484375, 0.001373291015625, -0.01556396484375, 0.0308685302734375 ]
53f0de3b350705577bb0e53f95ab5e342d8806e6
Wordpress Stackexchange Q: Add "Post Options" for new wordpress post How i can add "Post Options" section under wysiwyg editor? Like this A: You must use add_meta_box function. Take a look to this tutorials: * *Using add_meta_box() *Tutorial: Creating Custom Write Panels in WordPress *Example How To Add Meta Boxes To Edit Area
Q: Add "Post Options" for new wordpress post How i can add "Post Options" section under wysiwyg editor? Like this A: You must use add_meta_box function. Take a look to this tutorials: * *Using add_meta_box() *Tutorial: Creating Custom Write Panels in WordPress *Example How To Add Meta Boxes To Edit Area A: Try the following code just to get you started. /* Define the custom box */ // WP 3.0+ add_action( 'add_meta_boxes', 'post_options_metabox' ); // backwards compatible add_action( 'admin_init', 'post_options_metabox', 1 ); /* Do something with the data entered */ add_action( 'save_post', 'save_post_options' ); /** * Adds a box to the main column on the Post edit screen * */ function post_options_metabox() { add_meta_box( 'post_options', __( 'Post Options' ), 'post_options_code', 'post', 'normal', 'high' ); } /** * Prints the box content */ function post_options_code( $post ) { wp_nonce_field( plugin_basename( __FILE__ ), $post->post_type . '_noncename' ); $meta_info = get_post_meta( $post->ID, '_meta_info', true) ? get_post_meta( $post->ID, '_meta_info', true) : 1; ?> <h2><?php _e( 'Meta Information' ); ?></h2> <div class="alignleft"> <input id="meta_default" type="radio" name="_meta_info" value="meta_default"<?php checked( 'meta_default', $meta_info ); ?><?php echo ( $meta_info == 1 )?' checked="checked"' : ''; ?> /> <label for="meta_default" class="selectit"><?php _e( 'Use default post setting' ); ?></label><br /> <input id="show_meta" type="radio" name="_meta_info" value="show_meta"<?php checked( 'show_meta', $meta_info ); ?> /> <label for="show_meta" class="selectit"><?php _e( 'Show meta info' ); ?></label><br /> <input id="hide_meta" type="radio" name="_meta_info" value="hide_meta"<?php checked( 'hide_meta', $meta_info ); ?> /> <label for="hide_meta" class="selectit"><?php _e( 'Hide meta info' ); ?></label><br /> </div> <div class="alignright"> <span class="description"><?php _e( 'Your explanation here' ); ?></span> </div> <div class="clear"></div> <hr /><?php } /** * When the post is saved, saves our custom data */ function save_post_options( $post_id ) { // verify if this is an auto save routine. // If it is our form has not been submitted, so we dont want to do anything if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return; // verify this came from the our screen and with proper authorization, // because save_post can be triggered at other times if ( !wp_verify_nonce( @$_POST[$_POST['post_type'] . '_noncename'], plugin_basename( __FILE__ ) ) ) return; // Check permissions if ( !current_user_can( 'edit_post', $post_id ) ) return; // OK, we're authenticated: we need to find and save the data if( 'post' == $_POST['post_type'] ) { if ( !current_user_can( 'edit_post', $post_id ) ) { return; } else { update_post_meta( $post_id, '_meta_info', $_POST['_meta_info'] ); } } }
wordpress
{ "language": "en", "length": 392, "provenance": "stackexchange_00019.jsonl.gz:415166", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35675" }
[ 0.030029296875, -0.01349639892578125, 0.0083770751953125, 0.024139404296875, -0.0153350830078125, -0.04119873046875, 0.06298828125, -0.036529541015625, -0.0228271484375, 0.021392822265625, -0.01253509521484375, -0.01605224609375, -0.025238037109375, -0.022308349609375, -0.035888671875, -0.0487060546875, 0.0401611328125, -0.01512908935546875, 0.0226593017578125, -0.008056640625, 0.01434326171875, 0.0125885009765625, 0.011566162109375, 0.06146240234375, 0.0189056396484375, 0.0009331703186035156, 0.029876708984375, -0.01505279541015625, 0.019317626953125, -0.0006256103515625, 0.01436614990234375, -0.002323150634765625, 0.00440216064453125, 0.01983642578125, 0.0011749267578125, 0.045379638671875, -0.0025272369384765625, 0.010223388671875, 0.02984619140625, 0.002826690673828125, 0.01654052734375, -0.0005335807800292969, 0.01287841796875, 0.022369384765625, -0.003231048583984375, -0.056732177734375, 0.040191650390625, -0.054779052734375, 0.0173797607421875, -0.019500732421875, -0.002941131591796875, -0.00820159912109375, 0.014312744140625, -0.0462646484375, -0.014434814453125, -0.035614013671875, 0.005970001220703125, 0.005767822265625, 0.041107177734375, -0.02056884765625, -0.034210205078125, -0.0034008026123046875, 0.019744873046875, -0.00864410400390625, 0.007030487060546875, -0.00302886962890625, -0.020751953125, 0.01177215576171875, -0.057952880859375, 0.01338958740234375, 0.040069580078125, -0.062164306640625, 0.0051422119140625, -0.046875, 0.044464111328125, 0.005100250244140625, -0.0091705322265625, -0.00830841064453125, 0.020477294921875, 0.0099334716796875, 0.036224365234375, 0.02423095703125, 0.063232421875, -0.0506591796875, 0.0214691162109375, -0.037384033203125, -0.00679779052734375, -0.002628326416015625, -0.038330078125, -0.03436279296875, -0.015777587890625, -0.09295654296875, -0.05279541015625, 0.0107421875, 0.0294189453125, -0.039886474609375, 0.005390167236328125, 0.013458251953125, 0.002323150634765625, 0.019683837890625, 0.021759033203125, -0.05401611328125, 0.07275390625, -0.0413818359375, -0.0079193115234375, 0.014495849609375, -0.00818634033203125, -0.00026535987854003906, 0.03057861328125, 0.04071044921875, -0.0207366943359375, 0.0014276504516601562, 0.029693603515625, -0.005218505859375, -0.0274200439453125, -0.0150299072265625, 0.0145111083984375, -0.002498626708984375, 0.012603759765625, -0.01227569580078125, 0.0158843994140625, 0.025848388671875, -0.0018014907836914062, -0.035369873046875, 0.0249786376953125, 0.00732421875, -0.0300445556640625, -0.0374755859375, -0.01528167724609375, 0.005859375, -0.043853759765625, 0.02154541015625, 0.0687255859375, 0.036865234375, 0.0172271728515625, -0.01983642578125, 0.0107574462890625, -0.05303955078125, -0.0189971923828125, 0.026824951171875, -0.01446533203125, -0.041717529296875, -0.00496673583984375, -0.0157928466796875, 0.006153106689453125, 0.037506103515625, 0.018402099609375, 0.0094757080078125, 0.01175689697265625, -0.07403564453125, -0.0016374588012695312, 0.005359649658203125, -0.0086212158203125, 0.031524658203125, 0.01220703125, 0.015899658203125, 0.023468017578125, -0.01529693603515625, 0.0016946792602539062, -0.018646240234375, 0.017242431640625, 0.0221710205078125, 0.04315185546875, 0.0098724365234375, 0.00665283203125, -0.03436279296875, -0.044677734375, -0.005619049072265625, 0.0304412841796875, 0.02386474609375, 0.00746917724609375, -0.008270263671875, 0.0257415771484375, -0.01837158203125, -0.034027099609375, -0.002605438232421875, 0.00865936279296875, 0.029052734375, 0.001361846923828125, 0.03411865234375, 0.01898193359375, -0.034393310546875, 0.03900146484375, 0.0045166015625, -0.043487548828125, 0.0183868408203125, 0.0159912109375, 0.061798095703125, 0.007305145263671875, 0.0232391357421875, 0.03485107421875, -0.00965118408203125, 0.0025177001953125, -0.0306549072265625, 0.0186614990234375, -0.01776123046875, -0.0026416778564453125, -0.0148468017578125, 0.007518768310546875, 0.01226043701171875, -0.018402099609375, 0.005619049072265625, 0.00647735595703125, -0.006683349609375, -0.0142974853515625, -0.00876617431640625, -0.01043701171875, 0.0325927734375, 0.0225982666015625, -0.034393310546875, 0.005939483642578125, -0.040374755859375, 0.0208740234375, -0.0452880859375, -0.06561279296875, 0.03363037109375, -0.0200347900390625, 0.0499267578125, 0.02032470703125, 0.038116455078125, 0.0003790855407714844, -0.0177764892578125, 0.0127105712890625, -0.0274810791015625, 0.052154541015625, -0.00951385498046875, -0.0212860107421875, -0.021942138671875, 0.01401519775390625, 0.0134124755859375, -0.06524658203125, 0.0399169921875, 0.00024044513702392578, 0.0036830902099609375, -0.034393310546875, -0.0253753662109375, -0.0430908203125, -0.033966064453125, 0.0086212158203125, 0.06396484375, 0.0271453857421875, 0.08770751953125, 0.04022216796875, 0.06402587890625, 0.0633544921875, -0.0199432373046875, 0.0243072509765625, 0.00478363037109375, -0.000005066394805908203, 0.040283203125, 0.00386810302734375, -0.0003421306610107422, 0.005767822265625, -0.040924072265625, 0.007373809814453125, 0.02679443359375, -0.03875732421875, 0.0021991729736328125, 0.0232086181640625, -0.035125732421875, 0.00595855712890625, -0.057861328125, -0.0142669677734375, -0.036468505859375, 0.061187744140625, 0.00762176513671875, 0.05352783203125, 0.039154052734375, -0.032196044921875, 0.0149993896484375, 0.002216339111328125, -0.0063323974609375, -0.00823211669921875, -0.003875732421875, -0.0034656524658203125, 0.017974853515625, -0.047607421875, 0.0157470703125, 0.02349853515625, 0.01403045654296875, -0.00789642333984375, 0.0035305023193359375, 0.004047393798828125, -0.00373077392578125, 0.035614013671875, -0.028656005859375, 0.01509857177734375, -0.0255279541015625, 0.00580596923828125, -0.03533935546875, 0.01629638671875, -0.0234222412109375, -0.0229339599609375, 0.011016845703125, 0.03179931640625, -0.060943603515625, 0.0343017578125, -0.013916015625, 0.020782470703125, -0.01471710205078125, 0.0195159912109375, 0.0491943359375, -0.031646728515625, 0.0216522216796875, 0.00308990478515625, -0.01250457763671875, -0.020904541015625, 0.043060302734375, 0.003520965576171875, -0.018707275390625, -0.05108642578125, 0.01490020751953125, 0.015380859375, -0.016143798828125, 0.005481719970703125, -0.0173492431640625, -0.01080322265625, 0.003772735595703125, -0.033843994140625, -0.0021648406982421875, 0.0088043212890625, -0.111083984375, -0.0279388427734375, -0.02801513671875, -0.0709228515625, 0.0206451416015625, -0.001964569091796875, 0.00201416015625, -0.042236328125, -0.0089569091796875, -0.0423583984375, -0.06927490234375, -0.0654296875, -0.054168701171875, -0.01439666748046875, 0.0198974609375, 0.0015468597412109375, 0.06353759765625, 0.0088348388671875, -0.0537109375, -0.00763702392578125, -0.0305938720703125, -0.0109710693359375, 0.02410888671875, 0.045379638671875, -0.0423583984375, 0.004131317138671875, 0.0075836181640625, 0.03704833984375, 0.0305633544921875, -0.048828125, -0.007389068603515625, -0.0350341796875, -0.008056640625, -0.031402587890625, -0.0014591217041015625, 0.035369873046875, -0.01605224609375, -0.0015077590942382812, -0.046722412109375, 0.04266357421875, 0.00908660888671875, 0.006931304931640625, -0.049957275390625, -0.06805419921875, -0.006061553955078125, -0.01528167724609375, 0.0245513916015625, -0.00485992431640625, 0.0091400146484375, 0.05145263671875, -0.01068115234375, 0.006999969482421875, -0.01776123046875, -0.03887939453125, -0.034912109375, -0.03656005859375, -0.03985595703125, 0.0465087890625, -0.02166748046875, 0.0008864402770996094, -0.0276947021484375, 0.037841796875, -0.035736083984375, -0.06878662109375, 0.032012939453125, -0.04241943359375, 0.009429931640625, -0.041595458984375, -0.023834228515625, 0.0031833648681640625, 0.1053466796875, -0.04315185546875, -0.0180511474609375, 0.003265380859375, 0.005359649658203125, -0.00899505615234375, -0.0159454345703125, -0.025390625, -0.02130126953125, -0.053680419921875, 0.0194244384765625, 0.0190277099609375, -0.02069091796875, -0.044921875, 0.06292724609375, -0.044769287109375, -0.004566192626953125, 0.0282440185546875, -0.04876708984375, 0.0031070709228515625, 0.0222930908203125, 0.005115509033203125, -0.01526641845703125, -0.010162353515625, -0.0265350341796875, -0.0860595703125, -0.01409149169921875, -0.0052032470703125, 0.06024169921875, 0.01031494140625, -0.021697998046875, -0.0095367431640625, 0.05120849609375, 0.00228118896484375, 0.00537872314453125, 0.02008056640625, 0.04388427734375, 0.002529144287109375, -0.0399169921875, 0.0203857421875, -0.05523681640625, -0.00630950927734375, -0.00519561767578125, -0.00344085693359375, 0.03607177734375, -0.03936767578125, -0.00676727294921875, -0.0175933837890625, -0.011016845703125, -0.0152130126953125, -0.019989013671875, -0.031829833984375, 0.0237884521484375, -0.039886474609375, -0.0037364959716796875, -0.035980224609375, -0.048858642578125, 0.0238494873046875, -0.00518798828125, -0.018951416015625, 0.0149383544921875, 0.07275390625, 0.0146942138671875, -0.00806427001953125, -0.046875, -0.0012483596801757812, 0.0148468017578125, 0.00913238525390625, 0.020538330078125, -0.0042877197265625, -0.0008177757263183594, 0.02752685546875, -0.0196380615234375, 0.0254974365234375, -0.069580078125, 0.057861328125, -0.0204315185546875, -0.00426483154296875, 0.0252838134765625, -0.0281524658203125, 0.063232421875, -0.0025463104248046875, -0.0094757080078125, -0.003032684326171875, 0.01025390625, 0.02044677734375, -0.0016956329345703125, 0.0014705657958984375, -0.0113372802734375, -0.01165771484375, -0.0071258544921875, -0.00273895263671875, 0.03497314453125, 0.0419921875, -0.0071868896484375, 0.004222869873046875, 0.0119781494140625, 0.00429534912109375, -0.004241943359375, 0.004993438720703125, -0.004791259765625, 0.0238494873046875, 0.0200958251953125, 0.00017833709716796875, -0.0196075439453125, -0.006031036376953125, 0.040863037109375, -0.00885009765625, -0.05853271484375, -0.015838623046875, 0.0137176513671875, 0.058837890625, 0.0226898193359375, 0.02630615234375, 0.01560211181640625, 0.00977325439453125, -0.035400390625, -0.0014410018920898438, 0.032318115234375, -0.007396697998046875, -0.04541015625, 0.02294921875, 0.0201873779296875, -0.00432586669921875, 0.0280914306640625, 0.057708740234375, -0.003704071044921875, 0.03857421875, -0.0192413330078125, 0.0134735107421875, 0.00713348388671875, 0.0214385986328125, 0.0294952392578125, -0.026336669921875, 0.01959228515625, -0.032012939453125, -0.003803253173828125, -0.0380859375, 0.0019235610961914062, 0.002227783203125, 0.037109375, -0.00743865966796875, -0.0241241455078125, 0.0303192138671875, -0.023284912109375, -0.0184478759765625, -0.0240020751953125, 0.02197265625, -0.03662109375, 0.031524658203125, 0.042236328125, -0.0330810546875, 0.01194000244140625, 0.003963470458984375, 0.0266571044921875, -0.020233154296875, 0.04595947265625, -0.00984954833984375, 0.0310821533203125, -0.0316162109375, -0.033721923828125, -0.04559326171875, 0.00310516357421875, 0.01386260986328125, -0.05859375, -0.05889892578125, 0.00665283203125, -0.01494598388671875, 0.0293731689453125, -0.0184173583984375, 0.01361083984375, -0.0176849365234375, 0.0122833251953125, 0.0019779205322265625, 0.022186279296875, 0.0125579833984375, -0.01428985595703125, -0.0084075927734375, -0.02252197265625, -0.0280914306640625, -0.016571044921875, -0.00612640380859375, -0.0207061767578125, -0.038787841796875, -0.017547607421875, 0.0152740478515625, 0.02508544921875, -0.015167236328125, -0.03436279296875, -0.0106048583984375, 0.01383209228515625, 0.036407470703125, 0.044952392578125, 0.01690673828125, 0.06494140625, -0.046661376953125, 0.06060791015625, -0.0035419464111328125, 0.0076141357421875, -0.034332275390625, -0.006816864013671875, 0.005321502685546875, -0.0291900634765625, -0.0562744140625, -0.0012454986572265625, -0.030029296875, 0.05035400390625, 0.051116943359375, -0.012115478515625, 0.006855010986328125, -0.037506103515625, -0.00408172607421875, -0.01763916015625, 0.026153564453125, -0.03900146484375, -0.0167236328125, 0.0308685302734375, -0.030853271484375, 0.007236480712890625, -0.00872039794921875, 0.02374267578125, 0.02447509765625, -0.02972412109375, 0.027801513671875, -0.00040221214294433594, -0.0797119140625, 0.07476806640625, 0.0755615234375, 0.0390625, 0.0546875, -0.0034503936767578125, 0.0243682861328125, -0.00608062744140625, 0.017333984375, -0.03302001953125, 0.00910186767578125, 0.06951904296875, 0.026336669921875, -0.01338958740234375, 0.057281494140625, -0.0230255126953125, 0.03594970703125, 0.032989501953125, 0.058746337890625, -0.08184814453125, 0.041595458984375, 0.010986328125, -0.0015802383422851562, 0.07647705078125, -0.01302337646484375, 0.0172882080078125, -0.007541656494140625, 0.07977294921875, -0.0221710205078125, 0.0161895751953125, 0.051483154296875, -0.036590576171875, -0.0160369873046875, -0.050262451171875, -0.01499176025390625, -0.003910064697265625, -0.01910400390625, 0.043792724609375, 0.0137939453125, 0.006000518798828125, -0.019744873046875, -0.01523590087890625, 0.0057373046875, -0.005558013916015625, -0.055908203125, 0.015838623046875, -0.05078125, 0.0273284912109375, 0.0035037994384765625, -0.0114288330078125, 0.0215301513671875, 0.034332275390625, -0.0133209228515625, -0.00220489501953125, 0.0015172958374023438, -0.00923919677734375, -0.01261138916015625, -0.0269622802734375, 0.0014743804931640625, 0.0313720703125, -0.0300140380859375, 0.01505279541015625, 0.004154205322265625, -0.025054931640625, -0.0095672607421875, -0.004703521728515625, 0.0623779296875, -0.029266357421875, -0.02947998046875, 0.035369873046875, -0.01473236083984375, -0.016571044921875, 0.008209228515625, -0.059783935546875, -0.0186767578125, 0.01253509521484375, -0.0261077880859375, -0.044219970703125, 0.0318603515625, -0.0018281936645507812, -0.05804443359375, 0.10968017578125, -0.0008683204650878906, -0.0055694580078125, -0.0062713623046875, 0.0699462890625, -0.06378173828125, 0.029296875, -0.0131072998046875, 0.03778076171875, -0.016632080078125, 0.0132598876953125, -0.051544189453125, -0.0116729736328125, -0.0212249755859375, 0.062042236328125, 0.045989990234375, 0.01424407958984375, 0.015411376953125, -0.016876220703125, 0.0274505615234375, 0.060577392578125, -0.0120086669921875, -0.00897216796875, 0.0260162353515625, 0.0161285400390625, 0.053558349609375, -0.0110015869140625, 0.053619384765625, -0.0249786376953125, 0.0194549560546875, 0.0208587646484375, -0.0014743804931640625, -0.032989501953125, -0.0340576171875, 0.0279083251953125, 0.00868988037109375, -0.02008056640625, -0.0242767333984375, -0.0230865478515625, -0.0099334716796875, 0.037139892578125, -0.006450653076171875, -0.0200653076171875, -0.034576416015625, -0.01523590087890625, 0.0263519287109375, 0.010833740234375, 0.023040771484375, 0.033477783203125, 0.0311279296875, -0.0184478759765625, 0.027587890625, 0.037811279296875, 0.048675537109375, -0.0401611328125, 0.0267486572265625, 0.005008697509765625, 0.0093231201171875, -0.0265350341796875, 0.0206146240234375, 0.01800537109375, 0.024169921875, -0.032135009765625, -0.0084075927734375, 0.0004949569702148438, -0.0015420913696289062, 0.01055145263671875, -0.043212890625, 0.0208892822265625, 0.0025920867919921875, -0.0063629150390625, -0.05303955078125, -0.0016393661499023438, 0.00756072998046875, 0.02276611328125, -0.0191802978515625, -0.0012044906616210938, -0.0186614990234375, -0.0099945068359375, -0.0240478515625, -0.00647735595703125, 0.0015516281127929688, 0.06134033203125, 0.048187255859375, 0.021728515625, -0.0282135009765625, -0.01275634765625, -0.01474761962890625, 0.01125335693359375, 0.028350830078125, 0.02130126953125, -0.054534912109375, -0.02001953125, 0.033050537109375, 0.044708251953125, 0.041778564453125, 0.02191162109375, 0.03973388671875, 0.041717529296875, 0.00928497314453125, 0.001483917236328125, 0.0567626953125, 0.0007004737854003906, 0.00861358642578125, -0.0275726318359375, 0.044647216796875, 0.037841796875, 0.01329803466796875, -0.028350830078125, 0.0179595947265625, 0.07208251953125, -0.002742767333984375, 0.01354217529296875, 0.007656097412109375, 0.0015516281127929688, 0.06634521484375, 0.013702392578125, 0.03607177734375, 0.0226898193359375, -0.05255126953125, -0.01012420654296875, -0.0081634521484375, -0.07257080078125, 0.0253448486328125, 0.05029296875, -0.043975830078125, 0.0213165283203125, -0.01152801513671875, -0.0296478271484375, 0.0269622802734375, -0.004550933837890625, 0.00804901123046875, 0.0638427734375, 0.01401519775390625, 0.01486968994140625, -0.07769775390625, -0.042999267578125, -0.037200927734375, 0.040740966796875, 0.0262603759765625, 0.03485107421875, 0.003818511962890625, 0.044097900390625, -0.06439208984375, -0.0137176513671875, -0.021148681640625, -0.04754638671875, 0.025238037109375, 0.040283203125, -0.02099609375, -0.013671875, 0.010101318359375, 0.0169677734375, 0.028778076171875, -0.01407623291015625, 0.005908966064453125, -0.047088623046875, 0.01421356201171875, -0.0089874267578125, 0.037384033203125, -0.0179290771484375, 0.0180511474609375, -0.0367431640625, -0.046630859375, 0.048309326171875, 0.0102691650390625, 0.0071868896484375, 0.0097503662109375, 0.0237884521484375, 0.0283966064453125, -0.0007648468017578125, 0.042999267578125, -0.01303863525390625, 0.032012939453125, -0.06170654296875, -0.015777587890625, 0.01313018798828125, -0.01074981689453125, 0.0131988525390625, -0.00400543212890625, 0.0231781005859375, 0.018585205078125, -0.062408447265625, -0.0184173583984375, 0.0200042724609375, 0.052642822265625, 0.0045318603515625, 0.0137939453125, -0.029754638671875, -0.010406494140625, -0.006328582763671875, 0.041748046875, -0.0185089111328125, -0.031494140625, -0.007587432861328125, 0.0118408203125, -0.0038318634033203125, -0.0252227783203125, -0.04998779296875, 0.003108978271484375, -0.00296783447265625, -0.01053619384765625, -0.03839111328125, -0.0008296966552734375, 0.0089111328125, 0.045074462890625, -0.026947021484375, -0.005764007568359375, 0.016204833984375, 0.08209228515625, -0.0210723876953125, -0.01380157470703125, 0.0009489059448242188, -0.0104827880859375, -0.0194854736328125, 0.031097412109375, 0.05718994140625, -0.039337158203125, 0.0101470947265625, 0.044036865234375, 0.043701171875, 0.0926513671875, -0.0009632110595703125, 0.0018949508666992188, 0.02630615234375, 0.0077972412109375, -0.0298614501953125, -0.0809326171875, -0.006931304931640625, -0.03802490234375, 0.0023097991943359375, 0.0009093284606933594, 0.009429931640625, 0.0309906005859375, -0.030426025390625, -0.1168212890625, 0.039825439453125, -0.0293426513671875, -0.044464111328125, -0.05303955078125, -0.024017333984375, 0.0003383159637451172, 0.041046142578125, -0.00556182861328125, -0.01241302490234375, -0.058013916015625, 0.00951385498046875, -0.0115814208984375, 0.04168701171875, 0.0222625732421875, -0.034912109375, -0.0256195068359375, -0.0193939208984375, -0.0203094482421875, -0.01407623291015625, 0.0169219970703125, -0.01227569580078125, 0.0206451416015625, 0.04095458984375, -0.043914794921875, -0.0679931640625, -0.034027099609375, -0.0173797607421875, 0.00927734375, -0.07373046875, -0.032989501953125, -0.026611328125, 0.074462890625, 0.01137542724609375, 0.0260467529296875, -0.0207061767578125, 0.0274505615234375, -0.024932861328125, -0.026611328125, -0.01145172119140625, 0.0021724700927734375, -0.019805908203125, -0.01067352294921875, -0.01055145263671875, -0.010833740234375, 0.029571533203125, -0.0035266876220703125, -0.004024505615234375, -0.00040531158447265625, 0.018829345703125, -0.028167724609375, -0.047698974609375, -0.0125885009765625, 0.08502197265625, -0.047454833984375, 0.0028553009033203125, 0.0277252197265625, 0.00347137451171875, 0.039337158203125, 0.03887939453125, -0.0202789306640625, -0.0299835205078125, -0.002002716064453125, 0.04095458984375, -0.022674560546875, 0.0673828125, -0.038848876953125, -0.00876617431640625, -0.01239776611328125, 0.033233642578125, 0.00026798248291015625, 0.031890869140625, -0.03875732421875, 0.05731201171875, 0.007110595703125, 0.052734375, -0.02215576171875, 0.026641845703125, -0.00978851318359375, 0.0213165283203125, 0.0007195472717285156, 0.007442474365234375, 0.048583984375, -0.00496673583984375, 0.0068817138671875, -0.0032749176025390625, -0.0107574462890625, -0.01064300537109375, -0.01244354248046875, -0.002330780029296875, -0.00749969482421875, 0.00278472900390625 ]
b466256a276c3d191218cedc0424cf8ab70cb2c7
Wordpress Stackexchange Q: Media upload finished hook I'm developing a plugin which uses wordpress's thickbox media library to handle media upload and selection. All is well but for the fact that I would like to automatically 'redirect' to the 'media library'-tab after I uploaded/ wordpress finished crunching the file. So basically i'm looking for a hook that's fired after the crunching of an uploaded file is finished. I can't imagine this would be such an extreme thing but I can't seem to find the right hook for this. A: it's a longshot but, add_attachment hook actually fires after the first file finished uploading: add_action('add_attachment','redirect_uploader_flow'); I'm using it to load a custom interface for resizing an Image loading in the current TB window: jQuery("#TB_iframeContent",window.parent.document).attr('src',"<?php echo get_window_url($id) ?>"); The main problem is that it will break multiple file uploads.
Q: Media upload finished hook I'm developing a plugin which uses wordpress's thickbox media library to handle media upload and selection. All is well but for the fact that I would like to automatically 'redirect' to the 'media library'-tab after I uploaded/ wordpress finished crunching the file. So basically i'm looking for a hook that's fired after the crunching of an uploaded file is finished. I can't imagine this would be such an extreme thing but I can't seem to find the right hook for this. A: it's a longshot but, add_attachment hook actually fires after the first file finished uploading: add_action('add_attachment','redirect_uploader_flow'); I'm using it to load a custom interface for resizing an Image loading in the current TB window: jQuery("#TB_iframeContent",window.parent.document).attr('src',"<?php echo get_window_url($id) ?>"); The main problem is that it will break multiple file uploads. A: I just check hooks database and find one which could help. It is in https://github.com/WordPress/WordPress/blob/3.4-branch/wp-admin/async-upload.php file. It is upload_files_{$tab} and it is used near the end of the file. If I were you I check this hook in my plugin for more information.
wordpress
{ "language": "en", "length": 179, "provenance": "stackexchange_00019.jsonl.gz:415173", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35690" }
[ 0.026947021484375, -0.0256805419921875, 0.0012826919555664062, -0.025665283203125, -0.0157470703125, -0.0100250244140625, 0.01027679443359375, -0.005290985107421875, 0.0041351318359375, 0.034576416015625, 0.028533935546875, 0.01189422607421875, -0.0010614395141601562, -0.03717041015625, -0.0156402587890625, 0.00917816162109375, 0.05230712890625, -0.0545654296875, 0.040740966796875, -0.01383209228515625, -0.00518035888671875, 0.0254058837890625, 0.06634521484375, 0.0400390625, -0.024017333984375, 0.01129913330078125, 0.043701171875, -0.03155517578125, -0.032196044921875, -0.043426513671875, -0.0164794921875, 0.056488037109375, 0.0288238525390625, 0.038787841796875, -0.07183837890625, -0.01245880126953125, 0.035186767578125, 0.0009822845458984375, -0.017974853515625, 0.04205322265625, 0.052703857421875, -0.0172576904296875, 0.0038013458251953125, 0.01197052001953125, -0.0244903564453125, 0.00550079345703125, 0.005977630615234375, -0.01031494140625, 0.029754638671875, 0.020599365234375, 0.006504058837890625, 0.0272216796875, -0.006908416748046875, 0.00415802001953125, 0.00826263427734375, 0.02105712890625, -0.0247039794921875, 0.023193359375, 0.0123443603515625, 0.05230712890625, -0.0133056640625, 0.02581787109375, -0.018218994140625, -0.0665283203125, -0.0272674560546875, -0.00919342041015625, -0.039520263671875, 0.003925323486328125, -0.04254150390625, -0.040557861328125, 0.02301025390625, -0.033905029296875, -0.031951904296875, 0.005786895751953125, -0.00794219970703125, -0.0118408203125, 0.01308441162109375, -0.0175933837890625, 0.0121002197265625, 0.03350830078125, 0.0114898681640625, 0.0252838134765625, 0.00830841064453125, -0.0172576904296875, 0.034576416015625, 0.036956787109375, -0.022369384765625, -0.038970947265625, -0.0173492431640625, 0.0009765625, -0.0295867919921875, -0.007518768310546875, 0.055389404296875, -0.0158538818359375, -0.0501708984375, -0.0009288787841796875, 0.01242828369140625, 0.0017547607421875, 0.0216827392578125, -0.01155853271484375, 0.0115814208984375, -0.04693603515625, 0.0026111602783203125, -0.0171966552734375, 0.01279449462890625, 0.0084075927734375, -0.00940704345703125, -0.09454345703125, 0.004329681396484375, 0.002750396728515625, -0.037933349609375, 0.031158447265625, -0.005970001220703125, 0.00951385498046875, -0.015960693359375, -0.011383056640625, -0.040374755859375, 0.036102294921875, -0.0193634033203125, 0.0277557373046875, -0.0162811279296875, -0.0262451171875, 0.01453399658203125, 0.0012493133544921875, 0.01166534423828125, -0.0201416015625, -0.02252197265625, 0.00807952880859375, 0.027191162109375, 0.0127716064453125, -0.0024814605712890625, 0.01690673828125, -0.00016629695892333984, -0.0154571533203125, -0.027801513671875, -0.004222869873046875, 0.020904541015625, 0.019805908203125, 0.005924224853515625, -0.01117706298828125, -0.001033782958984375, -0.022430419921875, -0.0110015869140625, 0.00475311279296875, 0.04180908203125, 0.050018310546875, 0.0176239013671875, -0.024078369140625, 0.017059326171875, -0.023193359375, 0.010650634765625, -0.029052734375, 0.0592041015625, -0.00125885009765625, -0.0210723876953125, -0.06304931640625, 0.032989501953125, -0.053131103515625, 0.0021419525146484375, -0.06573486328125, 0.013885498046875, -0.0128021240234375, 0.0143280029296875, -0.047454833984375, -0.036773681640625, -0.005168914794921875, -0.06591796875, -0.005939483642578125, 0.0291748046875, 0.01160430908203125, 0.01506805419921875, -0.012298583984375, 0.0165252685546875, 0.0079803466796875, -0.01216888427734375, 0.01309967041015625, 0.006061553955078125, 0.072265625, 0.03936767578125, 0.0027866363525390625, 0.0024738311767578125, -0.027435302734375, 0.1397705078125, -0.042633056640625, -0.0316162109375, 0.10369873046875, 0.009674072265625, 0.08050537109375, -0.0128936767578125, 0.0034008026123046875, -0.0031452178955078125, 0.05096435546875, -0.044952392578125, 0.00007015466690063477, -0.0146942138671875, -0.00787353515625, 0.012847900390625, 0.013519287109375, 0.0004887580871582031, 0.01352691650390625, 0.009918212890625, 0.033050537109375, -0.01264190673828125, 0.0211029052734375, -0.04742431640625, 0.036407470703125, -0.034698486328125, 0.0310516357421875, -0.01386260986328125, 0.01715087890625, 0.005275726318359375, -0.002765655517578125, -0.02142333984375, -0.0032939910888671875, 0.0080718994140625, 0.033355712890625, -0.020843505859375, 0.049530029296875, -0.005218505859375, 0.07879638671875, -0.035247802734375, -0.015960693359375, -0.0204925537109375, -0.0179901123046875, 0.04461669921875, 0.02301025390625, -0.02752685546875, -0.00791168212890625, 0.01389312744140625, 0.0102386474609375, -0.0200653076171875, 0.059295654296875, 0.00003921985626220703, -0.00922393798828125, -0.05133056640625, -0.0200958251953125, -0.05328369140625, -0.08221435546875, 0.00988006591796875, 0.0650634765625, 0.0182342529296875, 0.05657958984375, -0.0044403076171875, 0.016937255859375, 0.05218505859375, -0.0199432373046875, 0.01236724853515625, 0.001129150390625, 0.027862548828125, 0.060821533203125, -0.055633544921875, 0.005413055419921875, 0.01418304443359375, -0.06121826171875, 0.009490966796875, 0.038848876953125, -0.0245361328125, -0.031463623046875, -0.00675201416015625, -0.0079498291015625, 0.0252838134765625, -0.03948974609375, -0.040313720703125, -0.005615234375, 0.00836181640625, -0.005161285400390625, 0.0008435249328613281, -0.0001589059829711914, -0.0244293212890625, 0.0012340545654296875, 0.02886962890625, -0.0078277587890625, -0.00370025634765625, 0.059051513671875, 0.050262451171875, -0.02288818359375, -0.01190185546875, -0.03228759765625, -0.01435089111328125, 0.01151275634765625, -0.0272064208984375, -0.0118408203125, -0.04449462890625, -0.00673675537109375, -0.004177093505859375, -0.05810546875, 0.004085540771484375, 0.0069427490234375, 0.0163421630859375, 0.004985809326171875, 0.035491943359375, 0.01031494140625, -0.02264404296875, 0.04376220703125, -0.029754638671875, -0.03497314453125, 0.030242919921875, -0.01525115966796875, 0.0253448486328125, -0.001392364501953125, 0.08538818359375, 0.07574462890625, -0.013153076171875, 0.02630615234375, -0.009521484375, 0.0220184326171875, -0.0236663818359375, 0.00902557373046875, -0.0103302001953125, -0.04119873046875, -0.0147705078125, -0.0002340078353881836, 0.0227508544921875, 0.046356201171875, -0.0080413818359375, -0.034881591796875, -0.0092926025390625, 0.019256591796875, -0.039306640625, -0.03509521484375, -0.012054443359375, -0.09619140625, 0.033782958984375, -0.004413604736328125, -0.04010009765625, -0.04547119140625, 0.0455322265625, 0.0212554931640625, -0.048492431640625, 0.005828857421875, 0.0201263427734375, -0.028167724609375, -0.0230865478515625, -0.0029201507568359375, 0.0198974609375, 0.02630615234375, 0.0025615692138671875, 0.009002685546875, -0.022369384765625, -0.022186279296875, 0.006572723388671875, -0.0014934539794921875, 0.0053863525390625, -0.0136260986328125, -0.0021381378173828125, -0.0196685791015625, -0.0036602020263671875, 0.016876220703125, 0.0059051513671875, 0.011688232421875, -0.0067291259765625, -0.013702392578125, -0.036102294921875, -0.0548095703125, -0.039581298828125, 0.070068359375, 0.050048828125, -0.06634521484375, 0.00603485107421875, -0.07940673828125, 0.052734375, -0.00757598876953125, -0.0013418197631835938, -0.069091796875, -0.007762908935546875, -0.0247802734375, -0.0196380615234375, -0.033660888671875, 0.0014505386352539062, 0.00487518310546875, -0.0054779052734375, -0.015625, 0.017822265625, -0.0187225341796875, 0.01036834716796875, -0.0009336471557617188, 0.055511474609375, 0.00855255126953125, -0.04400634765625, 0.01078033447265625, 0.0209808349609375, -0.00354766845703125, 0.00982666015625, -0.0369873046875, -0.0372314453125, 0.03875732421875, -0.015289306640625, -0.0046844482421875, -0.02734375, -0.01340484619140625, -0.004974365234375, 0.073486328125, -0.0576171875, 0.0162811279296875, -0.026580810546875, -0.006816864013671875, 0.0028858184814453125, -0.050079345703125, -0.052886962890625, -0.00864410400390625, -0.05242919921875, 0.01187896728515625, 0.0117034912109375, -0.0223541259765625, -0.038726806640625, 0.0078887939453125, -0.08404541015625, -0.0293426513671875, 0.033111572265625, -0.043914794921875, 0.0261993408203125, 0.01316070556640625, 0.004253387451171875, -0.0111083984375, -0.021331787109375, -0.0379638671875, -0.1038818359375, -0.008148193359375, -0.017974853515625, 0.048736572265625, -0.0037593841552734375, -0.0029163360595703125, -0.050262451171875, 0.0214691162109375, 0.0250244140625, 0.0017671585083007812, 0.0262298583984375, -0.01544952392578125, 0.050384521484375, -0.002574920654296875, 0.0167083740234375, -0.0098724365234375, -0.01220703125, -0.048858642578125, -0.034271240234375, -0.014678955078125, -0.034912109375, -0.002193450927734375, -0.0006947517395019531, -0.0068511962890625, -0.0635986328125, -0.039825439453125, -0.0216064453125, -0.004604339599609375, -0.0211029052734375, 0.01395416259765625, -0.0411376953125, -0.055572509765625, -0.019561767578125, -0.04315185546875, -0.0100250244140625, 0.01390838623046875, 0.042999267578125, 0.03375244140625, 0.0095672607421875, -0.0243988037109375, -0.012481689453125, 0.0552978515625, -0.0005879402160644531, -0.00061798095703125, -0.001514434814453125, -0.042724609375, 0.0576171875, 0.0218048095703125, 0.038238525390625, -0.0182342529296875, 0.0235137939453125, 0.0157012939453125, 0.0073699951171875, 0.004241943359375, 0.0204925537109375, -0.035614013671875, -0.0219268798828125, -0.032012939453125, 0.032806396484375, -0.0110931396484375, 0.0014238357543945312, -0.0025310516357421875, 0.0306549072265625, -0.00402069091796875, -0.04461669921875, -0.0018873214721679688, 0.05059814453125, 0.024322509765625, 0.014495849609375, 0.0037136077880859375, 0.0316162109375, 0.035797119140625, 0.00009042024612426758, 0.0002200603485107422, -0.03173828125, -0.029541015625, 0.03143310546875, 0.006404876708984375, -0.0188751220703125, 0.0169219970703125, 0.0183258056640625, -0.038604736328125, 0.0233154296875, -0.00795745849609375, -0.032989501953125, -0.0015869140625, 0.00870513916015625, -0.03509521484375, -0.0020885467529296875, 0.047882080078125, 0.0623779296875, -0.010711669921875, -0.0224761962890625, 0.007076263427734375, 0.01218414306640625, -0.07061767578125, 0.044464111328125, 0.00795745849609375, -0.0160369873046875, 0.0115966796875, 0.0115966796875, 0.0391845703125, -0.02764892578125, -0.0062103271484375, 0.0274505615234375, 0.027587890625, 0.0125732421875, 0.037261962890625, 0.0119781494140625, -0.03741455078125, 0.007171630859375, -0.0164031982421875, -0.051239013671875, 0.044281005859375, 0.0051422119140625, 0.046234130859375, -0.001392364501953125, -0.0506591796875, 0.039520263671875, -0.06640625, -0.0140228271484375, 0.03790283203125, 0.0247039794921875, -0.0254974365234375, -0.00489044189453125, -0.0107269287109375, 0.00040149688720703125, 0.004047393798828125, -0.018585205078125, 0.0220794677734375, -0.032318115234375, 0.009002685546875, 0.0283355712890625, -0.048095703125, 0.020111083984375, 0.0201873779296875, 0.003955841064453125, -0.004688262939453125, 0.006122589111328125, -0.038238525390625, -0.0308990478515625, -0.020599365234375, 0.008453369140625, 0.066650390625, -0.0081024169921875, 0.00890350341796875, -0.04180908203125, 0.0089569091796875, -0.0633544921875, -0.00014662742614746094, 0.060272216796875, 0.0310516357421875, -0.0010585784912109375, -0.01497650146484375, -0.0465087890625, -0.022857666015625, -0.0015573501586914062, -0.029998779296875, -0.00601959228515625, -0.0207366943359375, -0.00968170166015625, 0.048309326171875, -0.015777587890625, -0.03399658203125, 0.0185394287109375, -0.0204925537109375, -0.015411376953125, 0.04266357421875, 0.0291595458984375, 0.005359649658203125, -0.007724761962890625, 0.0283966064453125, 0.022796630859375, -0.0234375, -0.046783447265625, -0.020843505859375, -0.0228271484375, -0.0418701171875, 0.0017271041870117188, 0.028594970703125, -0.0227203369140625, 0.01078033447265625, 0.0287628173828125, 0.01168060302734375, -0.0018625259399414062, 0.0010929107666015625, -0.0004978179931640625, -0.009796142578125, 0.019195556640625, 0.025299072265625, -0.0171966552734375, 0.0621337890625, -0.03106689453125, -0.008941650390625, 0.01001739501953125, -0.01461029052734375, 0.02850341796875, -0.0164031982421875, 0.0146026611328125, 0.01206207275390625, -0.0108642578125, 0.0283050537109375, 0.06524658203125, -0.01200103759765625, 0.0312347412109375, 0.035308837890625, 0.0118408203125, 0.034698486328125, 0.0196075439453125, 0.0163421630859375, -0.02630615234375, 0.051788330078125, 0.0026836395263671875, -0.0167388916015625, 0.02484130859375, -0.02789306640625, 0.0007996559143066406, -0.013275146484375, 0.0024738311767578125, 0.00521087646484375, 0.00389862060546875, -0.006862640380859375, -0.0178985595703125, 0.00830841064453125, -0.056121826171875, 0.052001953125, 0.015380859375, -0.0025005340576171875, 0.03759765625, -0.06427001953125, -0.0240478515625, -0.0209197998046875, -0.01227569580078125, -0.00905609130859375, -0.003612518310546875, -0.0031833648681640625, -0.08087158203125, 0.0071563720703125, 0.055938720703125, -0.038299560546875, 0.00043082237243652344, 0.0211029052734375, -0.0283355712890625, 0.020233154296875, 0.0247802734375, 0.0369873046875, -0.0606689453125, 0.03350830078125, -0.008331298828125, -0.03790283203125, 0.042572021484375, 0.0285186767578125, -0.0188446044921875, 0.00469970703125, 0.0105438232421875, -0.0249481201171875, -0.045562744140625, -0.00395965576171875, 0.014984130859375, 0.01529693603515625, -0.0258941650390625, 0.0263671875, -0.036834716796875, -0.003009796142578125, 0.00768280029296875, 0.0347900390625, 0.0160980224609375, -0.029571533203125, -0.0138702392578125, 0.051849365234375, 0.01325225830078125, -0.0133056640625, 0.019744873046875, 0.0230560302734375, -0.06280517578125, -0.043304443359375, 0.012359619140625, -0.06744384765625, -0.037017822265625, -0.007396697998046875, -0.0703125, 0.1356201171875, -0.0034542083740234375, 0.04296875, -0.0092010498046875, 0.04736328125, -0.004657745361328125, 0.0285797119140625, -0.04266357421875, 0.04315185546875, 0.014862060546875, 0.0252532958984375, -0.05364990234375, -0.004825592041015625, 0.0030002593994140625, 0.02630615234375, 0.025909423828125, 0.0037784576416015625, -0.03253173828125, 0.00811767578125, 0.052642822265625, 0.02569580078125, 0.006412506103515625, 0.0318603515625, 0.01320648193359375, 0.0034923553466796875, 0.02618408203125, -0.006053924560546875, 0.03802490234375, -0.040863037109375, -0.019683837890625, 0.025787353515625, 0.02191162109375, 0.032806396484375, -0.0252227783203125, 0.075927734375, -0.04327392578125, -0.013397216796875, 0.04779052734375, -0.00567626953125, 0.0179290771484375, 0.01258087158203125, 0.0003230571746826172, -0.0195465087890625, 0.05096435546875, -0.039459228515625, 0.04266357421875, -0.0225677490234375, -0.005977630615234375, 0.005054473876953125, 0.007503509521484375, -0.006702423095703125, -0.0006155967712402344, -0.00731658935546875, 0.0219879150390625, -0.00036263465881347656, 0.03826904296875, -0.0227508544921875, 0.0192413330078125, -0.05645751953125, -0.01497650146484375, 0.032562255859375, 0.056884765625, -0.0249176025390625, -0.00775909423828125, 0.00373077392578125, 0.00772857666015625, 0.0031681060791015625, -0.019256591796875, 0.0214691162109375, -0.052459716796875, -0.02239990234375, -0.025421142578125, -0.00885009765625, 0.0081787109375, 0.0255889892578125, 0.004634857177734375, 0.025360107421875, -0.0277099609375, -0.028350830078125, -0.0009646415710449219, -0.00801849365234375, 0.0281524658203125, 0.0230865478515625, -0.0204010009765625, 0.059356689453125, -0.0182037353515625, 0.0021953582763671875, -0.0230712890625, 0.047149658203125, 0.01036834716796875, 0.036590576171875, -0.057647705078125, -0.040008544921875, 0.047515869140625, 0.04705810546875, 0.050262451171875, 0.026519775390625, 0.040069580078125, 0.0059967041015625, -0.0259857177734375, 0.0187225341796875, 0.0265655517578125, -0.02349853515625, -0.01171112060546875, -0.04156494140625, 0.03607177734375, 0.020111083984375, -0.005100250244140625, 0.01067352294921875, -0.01230621337890625, 0.0675048828125, -0.017730712890625, 0.055511474609375, -0.0173797607421875, -0.0132293701171875, 0.01039886474609375, -0.0257568359375, 0.08648681640625, 0.0169677734375, -0.0870361328125, -0.0205230712890625, 0.00888824462890625, -0.03826904296875, 0.0178985595703125, 0.0355224609375, -0.045928955078125, 0.03466796875, -0.023101806640625, -0.021240234375, 0.01165771484375, -0.004116058349609375, 0.01403045654296875, -0.0196380615234375, -0.0032138824462890625, -0.01739501953125, -0.0149383544921875, 0.0006442070007324219, 0.01434326171875, 0.01218414306640625, 0.005893707275390625, 0.042694091796875, 0.0021038055419921875, 0.004215240478515625, 0.0178375244140625, -0.006656646728515625, 0.00823211669921875, 0.025299072265625, -0.039215087890625, 0.0216827392578125, 0.0185699462890625, -0.02459716796875, 0.0236053466796875, 0.04852294921875, -0.009521484375, -0.0138092041015625, -0.0211639404296875, -0.005496978759765625, 0.004337310791015625, 0.06317138671875, 0.029266357421875, -0.020477294921875, -0.00276947021484375, 0.01001739501953125, 0.0007452964782714844, 0.015716552734375, 0.0020046234130859375, -0.00275421142578125, 0.009033203125, -0.0132598876953125, -0.005828857421875, -0.006198883056640625, 0.0219268798828125, -0.02276611328125, 0.0223236083984375, -0.054931640625, -0.007076263427734375, -0.0035724639892578125, -0.013397216796875, -0.0026607513427734375, 0.01042938232421875, 0.01229095458984375, 0.0128631591796875, -0.0012578964233398438, 0.029022216796875, 0.0213623046875, 0.0262908935546875, -0.03662109375, 0.002994537353515625, 0.03570556640625, -0.00872802734375, 0.0158538818359375, -0.062744140625, -0.0097808837890625, -0.038787841796875, -0.029632568359375, 0.0225982666015625, -0.023406982421875, -0.0252685546875, -0.030914306640625, 0.0080108642578125, 0.00917816162109375, 0.003749847412109375, -0.04718017578125, 0.00830078125, -0.023773193359375, 0.06317138671875, -0.032073974609375, 0.00835418701171875, -0.01410675048828125, 0.007717132568359375, -0.057342529296875, -0.0784912109375, -0.049224853515625, 0.0550537109375, -0.06536865234375, 0.0009946823120117188, 0.03155517578125, -0.027984619140625, -0.037384033203125, -0.0251922607421875, 0.01190185546875, 0.033905029296875, 0.02081298828125, -0.053802490234375, -0.031707763671875, 0.01107025146484375, 0.037750244140625, 0.0190887451171875, -0.0117645263671875, 0.008575439453125, -0.00734710693359375, 0.029052734375, -0.05755615234375, -0.040802001953125, -0.061767578125, -0.06103515625, 0.021087646484375, 0.01995849609375, -0.0419921875, -0.04833984375, 0.06646728515625, 0.023834228515625, -0.00569915771484375, -0.0095062255859375, -0.007648468017578125, -0.0023212432861328125, -0.0164642333984375, -0.012786865234375, 0.0048370361328125, 0.00876617431640625, -0.026611328125, -0.046600341796875, -0.0152587890625, -0.004032135009765625, -0.01416015625, 0.0047607421875, -0.0298004150390625, 0.054901123046875, 0.048919677734375, -0.0133209228515625, -0.00627899169921875, 0.024200439453125, -0.027313232421875, -0.03076171875, -0.03131103515625, -0.006805419921875, 0.0019369125366210938, 0.06402587890625, 0.05279541015625, 0.004085540771484375, -0.036590576171875, 0.0186614990234375, -0.002208709716796875, -0.0156707763671875, -0.0002884864807128906, 0.02178955078125, -0.057403564453125, -0.02734375, 0.0184783935546875, 0.006458282470703125, -0.026458740234375, -0.026519775390625, -0.017669677734375, -0.015655517578125, 0.01409149169921875, 0.0300445556640625, 0.012481689453125, -0.022796630859375, 0.1065673828125, -0.057281494140625, -0.0002999305725097656, 0.054473876953125, 0.0034351348876953125, 0.046234130859375, 0.042144775390625, 0.041839599609375, 0.049346923828125, -0.0309600830078125, -0.003177642822265625, 0.03948974609375, 0.0099639892578125, -0.008453369140625, -0.030303955078125, -0.0006241798400878906, 0.0156402587890625, -0.0159912109375, 0.01495361328125, 0.0258331298828125, -0.0012826919555664062, -0.02752685546875, 0.09197998046875, -0.0634765625, 0.0037078857421875, -0.0272674560546875, -0.0040283203125, -0.005001068115234375, 0.040618896484375, 0.06597900390625, -0.0220947265625, 0.01312255859375, 0.03192138671875, 0.02264404296875, -0.014984130859375, 0.0390625, 0.007801055908203125, 0.01476287841796875, 0.0157928466796875 ]
70c5b489e9d51f4a74e0ba9b1bb70ec534120347
Wordpress Stackexchange Q: How to query with get_posts() for posts with any tag I need to do a simple post query that will get any post that has at least one tag. This is my current code that gets the posts with tag ID 27 or 36, but I need to modify it to get all posts with at least one tag. $args = array( 'numberposts' => 5, 'tag__in' => array(27,36) ); $myposts = get_posts( $args ); A: You could try this. $all_tags = get_tags(); $tag_id = array(); foreach( $all_tags as $tag ) { $tag_id[] = $tag->term_id; } $args = array( 'numberposts' => 5, 'tag__in' => $tag_id ); $myposts = get_posts( $args );
Q: How to query with get_posts() for posts with any tag I need to do a simple post query that will get any post that has at least one tag. This is my current code that gets the posts with tag ID 27 or 36, but I need to modify it to get all posts with at least one tag. $args = array( 'numberposts' => 5, 'tag__in' => array(27,36) ); $myposts = get_posts( $args ); A: You could try this. $all_tags = get_tags(); $tag_id = array(); foreach( $all_tags as $tag ) { $tag_id[] = $tag->term_id; } $args = array( 'numberposts' => 5, 'tag__in' => $tag_id ); $myposts = get_posts( $args );
wordpress
{ "language": "en", "length": 111, "provenance": "stackexchange_00019.jsonl.gz:415185", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35736" }
[ 0.0638427734375, -0.0228118896484375, 0.021392822265625, 0.0164031982421875, 0.0255584716796875, -0.02960205078125, 0.1090087890625, -0.0142364501953125, 0.0061187744140625, 0.02337646484375, -0.07037353515625, 0.0018014907836914062, -0.0250091552734375, 0.0026187896728515625, -0.016204833984375, -0.053680419921875, 0.042327880859375, -0.035186767578125, 0.011444091796875, -0.005321502685546875, 0.035491943359375, -0.0021266937255859375, 0.038726806640625, 0.06317138671875, 0.036834716796875, 0.0117645263671875, 0.029388427734375, 0.0006551742553710938, 0.007293701171875, -0.0002378225326538086, 0.0243377685546875, -0.0166168212890625, 0.04864501953125, -0.0214385986328125, -0.03448486328125, -0.026641845703125, -0.039398193359375, -0.0095367431640625, -0.0276031494140625, 0.002567291259765625, 0.030487060546875, -0.0205535888671875, 0.00608062744140625, 0.0706787109375, -0.00994110107421875, -0.0189971923828125, 0.0300140380859375, -0.039520263671875, 0.0292510986328125, -0.047210693359375, 0.00896453857421875, 0.004726409912109375, 0.023895263671875, -0.04534912109375, -0.030029296875, 0.0038547515869140625, 0.0311737060546875, -0.044097900390625, 0.05517578125, -0.06304931640625, -0.060943603515625, -0.06011962890625, 0.0626220703125, 0.0016603469848632812, -0.0174560546875, 0.0240936279296875, 0.0289154052734375, -0.0117645263671875, -0.057159423828125, -0.042449951171875, 0.0279541015625, -0.048492431640625, -0.0008287429809570312, 0.007770538330078125, -0.00942230224609375, -0.0311431884765625, -0.00705718994140625, -0.03778076171875, 0.0117034912109375, 0.0251617431640625, 0.0087127685546875, -0.029510498046875, -0.047882080078125, -0.003173828125, -0.0110015869140625, -0.0036754608154296875, 0.002666473388671875, 0.0044708251953125, -0.0313720703125, -0.0189971923828125, -0.0208740234375, -0.0307464599609375, -0.049896240234375, -0.0093841552734375, 0.005725860595703125, -0.051605224609375, -0.00643157958984375, 0.0251617431640625, -0.01058197021484375, 0.00472259521484375, -0.016693115234375, -0.028228759765625, 0.01030731201171875, -0.023956298828125, 0.033660888671875, 0.0523681640625, -0.004543304443359375, 0.050811767578125, 0.08294677734375, 0.031158447265625, 0.03759765625, 0.0528564453125, -0.03240966796875, 0.0197906494140625, -0.045196533203125, 0.01062774658203125, -0.056365966796875, -0.034088134765625, -0.041412353515625, -0.0128326416015625, -0.0002677440643310547, 0.03515625, -0.02960205078125, -0.00765228271484375, -0.0125732421875, -0.00368499755859375, 0.027069091796875, -0.034881591796875, -0.022430419921875, 0.0078125, -0.0103607177734375, 0.02862548828125, 0.01349639892578125, 0.0010404586791992188, -0.02972412109375, -0.01348114013671875, -0.0177001953125, -0.06390380859375, 0.0096588134765625, -0.018463134765625, -0.002353668212890625, -0.0182647705078125, 0.041534423828125, 0.005733489990234375, 0.01380157470703125, 0.016845703125, 0.032928466796875, 0.00858306884765625, -0.0096893310546875, -0.0235443115234375, 0.00896453857421875, 0.021636962890625, 0.02313232421875, -0.000579833984375, -0.02484130859375, -0.01166534423828125, -0.01052093505859375, -0.01422882080078125, -0.003147125244140625, -0.034698486328125, 0.0187530517578125, 0.0100250244140625, 0.012481689453125, 0.016204833984375, 0.0031185150146484375, -0.0068817138671875, -0.0149383544921875, -0.007427215576171875, 0.018768310546875, -0.0013751983642578125, -0.0009670257568359375, 0.01247406005859375, 0.059906005859375, 0.0240631103515625, 0.0059814453125, 0.01360321044921875, -0.005016326904296875, -0.0016632080078125, 0.0289459228515625, 0.02252197265625, -0.0177154541015625, -0.025177001953125, 0.03509521484375, 0.0036373138427734375, -0.06475830078125, 0.0280609130859375, 0.015655517578125, 0.06561279296875, 0.0038547515869140625, 0.0284576416015625, 0.03765869140625, 0.020538330078125, -0.0291900634765625, 0.0302734375, -0.003040313720703125, -0.0230560302734375, -0.029449462890625, -0.0038909912109375, -0.0080108642578125, -0.00974273681640625, 0.018707275390625, -0.007434844970703125, -0.0001888275146484375, -0.00494384765625, -0.051116943359375, -0.016143798828125, -0.00847625732421875, 0.0240631103515625, -0.025146484375, 0.028717041015625, 0.033538818359375, 0.006572723388671875, -0.04150390625, 0.0002677440643310547, -0.007717132568359375, 0.007709503173828125, -0.03411865234375, -0.02264404296875, -0.01284027099609375, -0.032379150390625, -0.007213592529296875, -0.0128631591796875, -0.01537322998046875, 0.030853271484375, 0.0623779296875, -0.002292633056640625, -0.0034542083740234375, -0.0203857421875, 0.029144287109375, 0.031768798828125, -0.07080078125, 0.007740020751953125, 0.01690673828125, 0.0401611328125, -0.0303497314453125, -0.001026153564453125, 0.0122528076171875, 0.0192718505859375, 0.0161895751953125, 0.035491943359375, 0.032135009765625, 0.0186920166015625, 0.004436492919921875, -0.0015344619750976562, 0.0294342041015625, -0.06787109375, -0.0043182373046875, -0.01279449462890625, -0.0051727294921875, 0.04998779296875, 0.02978515625, 0.02435302734375, -0.006771087646484375, -0.00991058349609375, -0.0108489990234375, 0.0228271484375, -0.01267242431640625, 0.0208282470703125, -0.0267791748046875, -0.005931854248046875, 0.0012369155883789062, -0.0103302001953125, -0.0032520294189453125, -0.0101318359375, 0.030792236328125, 0.045440673828125, 0.043304443359375, 0.048126220703125, -0.02947998046875, 0.0233001708984375, -0.0027675628662109375, 0.013031005859375, 0.00850677490234375, 0.0306854248046875, -0.0711669921875, 0.0297393798828125, -0.010772705078125, 0.005382537841796875, 0.01105499267578125, 0.003192901611328125, 0.0164337158203125, 0.058197021484375, 0.02276611328125, -0.0025615692138671875, -0.04681396484375, -0.04071044921875, 0.0181121826171875, 0.044097900390625, -0.0213470458984375, -0.01398468017578125, 0.0015869140625, 0.06683349609375, -0.0252838134765625, 0.053375244140625, -0.017730712890625, 0.0150146484375, -0.0013246536254882812, -0.049713134765625, 0.0406494140625, -0.042236328125, 0.0736083984375, 0.0762939453125, -0.0094451904296875, 0.02410888671875, 0.01126861572265625, 0.003021240234375, 0.01221466064453125, 0.00962066650390625, -0.01126861572265625, 0.0165863037109375, -0.066162109375, -0.00279998779296875, 0.0199737548828125, 0.04571533203125, -0.0180511474609375, -0.05059814453125, -0.036590576171875, 0.0174560546875, -0.1114501953125, -0.07012939453125, 0.03851318359375, -0.05224609375, -0.039276123046875, -0.037628173828125, -0.035430908203125, -0.002162933349609375, -0.03033447265625, -0.0130157470703125, -0.051361083984375, 0.0413818359375, -0.06866455078125, -0.01224517822265625, -0.056182861328125, 0.05548095703125, -0.0259246826171875, 0.03466796875, 0.0209197998046875, 0.07281494140625, 0.0032196044921875, -0.05157470703125, 0.019073486328125, -0.0272979736328125, -0.04150390625, 0.02099609375, -0.01140594482421875, 0.004741668701171875, 0.0011167526245117188, 0.0091705322265625, -0.020172119140625, 0.01375579833984375, -0.01276397705078125, -0.016204833984375, -0.0016984939575195312, 0.0028667449951171875, 0.034027099609375, -0.008758544921875, -0.019439697265625, 0.061187744140625, 0.043426513671875, 0.0079193115234375, 0.00882720947265625, -0.0198822021484375, -0.016998291015625, 0.01641845703125, -0.01325225830078125, 0.0033130645751953125, -0.0029811859130859375, 0.01224517822265625, 0.008392333984375, -0.014617919921875, -0.0023860931396484375, -0.01103973388671875, 0.01421356201171875, 0.007411956787109375, 0.0279693603515625, -0.0048675537109375, -0.037841796875, -0.0313720703125, 0.0189056396484375, -0.03948974609375, 0.00402069091796875, -0.03125, 0.018096923828125, -0.0615234375, 0.0018053054809570312, 0.030853271484375, 0.0143280029296875, 0.0305633544921875, -0.024383544921875, -0.0400390625, -0.044769287109375, 0.0472412109375, -0.0077056884765625, -0.03326416015625, -0.036834716796875, -0.007213592529296875, 0.018768310546875, -0.0283660888671875, 0.007724761962890625, -0.0189056396484375, -0.0269012451171875, -0.0210113525390625, -0.02728271484375, -0.02813720703125, -0.0026569366455078125, -0.03192138671875, -0.0184326171875, -0.029876708984375, 0.03179931640625, -0.018768310546875, 0.014923095703125, -0.013275146484375, 0.0225067138671875, -0.0316162109375, -0.0122833251953125, 0.00965118408203125, -0.06292724609375, -0.00853729248046875, -0.01309967041015625, 0.0098114013671875, 0.0036258697509765625, -0.023101806640625, -0.004154205322265625, 0.045379638671875, 0.0016870498657226562, 0.038726806640625, -0.0009870529174804688, 0.0304107666015625, -0.0054473876953125, -0.0189056396484375, 0.0029773712158203125, -0.027801513671875, -0.029052734375, -0.00756072998046875, 0.02288818359375, 0.034210205078125, -0.040435791015625, -0.0118408203125, -0.03759765625, -0.00717926025390625, -0.021820068359375, -0.01461029052734375, 0.005680084228515625, -0.00036263465881347656, -0.0226287841796875, -0.00205230712890625, -0.00377655029296875, -0.0162353515625, 0.0233001708984375, 0.059417724609375, -0.0177459716796875, 0.0012416839599609375, 0.06390380859375, 0.01971435546875, -0.0411376953125, -0.06341552734375, -0.0112152099609375, 0.0293426513671875, -0.0169219970703125, 0.04376220703125, 0.02020263671875, -0.0306854248046875, 0.0592041015625, 0.00864410400390625, -0.01064300537109375, -0.003147125244140625, 0.046173095703125, 0.00399017333984375, -0.0178070068359375, 0.0100860595703125, -0.0108184814453125, 0.0113525390625, 0.0192718505859375, -0.007396697998046875, -0.04559326171875, 0.01215362548828125, 0.0599365234375, -0.0093994140625, 0.0150604248046875, -0.0411376953125, -0.047149658203125, 0.01404571533203125, 0.06341552734375, -0.0499267578125, 0.005764007568359375, 0.00849151611328125, 0.010589599609375, 0.00917816162109375, -0.00710296630859375, 0.00011038780212402344, 0.040618896484375, -0.01557159423828125, 0.0121307373046875, 0.0244903564453125, -0.0340576171875, -0.0278472900390625, 0.0027942657470703125, 0.040008544921875, -0.0074005126953125, -0.0604248046875, 0.0201873779296875, -0.0360107421875, 0.026763916015625, 0.024749755859375, -0.004573822021484375, 0.035858154296875, 0.012603759765625, -0.00804901123046875, -0.000682830810546875, -0.05987548828125, -0.01276397705078125, -0.0428466796875, -0.032470703125, 0.01157379150390625, -0.0183258056640625, 0.01068115234375, 0.045257568359375, 0.00075531005859375, 0.0338134765625, -0.0201263427734375, 0.008331298828125, -0.0292816162109375, 0.04913330078125, 0.01165771484375, -0.004032135009765625, 0.010528564453125, 0.01397705078125, 0.00850677490234375, -0.043914794921875, 0.0033054351806640625, 0.0067596435546875, 0.05047607421875, 0.01468658447265625, -0.021392822265625, 0.01947021484375, -0.03302001953125, -0.0077667236328125, 0.023834228515625, 0.03582763671875, 0.005908966064453125, -0.0345458984375, -0.019866943359375, 0.031951904296875, 0.034637451171875, 0.0017843246459960938, 0.03570556640625, -0.003932952880859375, 0.03472900390625, -0.0307464599609375, 0.018096923828125, -0.0159149169921875, -0.003143310546875, 0.01419830322265625, -0.044189453125, -0.03399658203125, 0.037445068359375, 0.00981903076171875, -0.0182342529296875, -0.0233917236328125, 0.02166748046875, -0.0015964508056640625, 0.044189453125, -0.01288604736328125, -0.051239013671875, -0.00843048095703125, -0.003711700439453125, 0.0792236328125, 0.05078125, -0.0234527587890625, -0.0097503662109375, -0.028594970703125, -0.01374053955078125, 0.052703857421875, -0.0176849365234375, -0.0227508544921875, -0.0159454345703125, 0.00870513916015625, 0.0212249755859375, 0.01007843017578125, 0.01560211181640625, -0.007568359375, -0.002162933349609375, -0.016815185546875, 0.0268402099609375, -0.007965087890625, 0.034271240234375, -0.0240936279296875, -0.014984130859375, -0.02093505859375, -0.0008387565612792969, -0.01355743408203125, 0.018218994140625, 0.00380706787109375, -0.09112548828125, -0.0016326904296875, 0.0157470703125, -0.0081024169921875, -0.0218963623046875, -0.04522705078125, 0.01203155517578125, -0.00656890869140625, -0.020355224609375, 0.0004394054412841797, -0.00608062744140625, 0.03399658203125, 0.01206207275390625, -0.0132904052734375, 0.068359375, 0.00864410400390625, -0.00665283203125, -0.0230712890625, 0.0126800537109375, -0.027191162109375, 0.00537109375, -0.0207672119140625, -0.0087432861328125, 0.03875732421875, 0.00907135009765625, 0.046173095703125, -0.01056671142578125, 0.01027679443359375, 0.019989013671875, -0.005001068115234375, -0.0179595947265625, -0.0033130645751953125, -0.00861358642578125, 0.00910186767578125, 0.03802490234375, -0.002140045166015625, 0.017059326171875, 0.044525146484375, -0.0199432373046875, -0.054718017578125, -0.020599365234375, -0.01141357421875, 0.0234222412109375, -0.00618743896484375, 0.009063720703125, 0.008697509765625, -0.0127716064453125, 0.0223541259765625, -0.0172119140625, -0.042327880859375, 0.0192413330078125, 0.0188140869140625, 0.016326904296875, 0.018310546875, 0.00848388671875, -0.01052093505859375, -0.01363372802734375, 0.036102294921875, 0.004459381103515625, -0.045806884765625, 0.010345458984375, 0.03302001953125, -0.0233612060546875, -0.00814056396484375, 0.00815582275390625, -0.003215789794921875, -0.0212554931640625, -0.08990478515625, -0.00193023681640625, -0.0121307373046875, -0.01849365234375, 0.00405120849609375, -0.0118408203125, -0.01898193359375, 0.04150390625, -0.024078369140625, 0.0130157470703125, 0.0229644775390625, -0.05255126953125, -0.09716796875, -0.01556396484375, -0.0057373046875, 0.0452880859375, 0.007053375244140625, 0.038848876953125, -0.01751708984375, -0.00926971435546875, -0.01123046875, -0.0269317626953125, 0.0198822021484375, -0.00972747802734375, -0.01413726806640625, 0.01061248779296875, 0.04608154296875, 0.023712158203125, 0.006988525390625, -0.013458251953125, -0.0100250244140625, 0.00731658935546875, -0.0140228271484375, -0.018707275390625, -0.00785064697265625, -0.0228271484375, -0.09674072265625, 0.104248046875, 0.05670166015625, 0.0181884765625, -0.00577545166015625, 0.0379638671875, -0.06890869140625, -0.01000213623046875, -0.07177734375, 0.060089111328125, 0.0180511474609375, 0.0257568359375, -0.0819091796875, -0.00433349609375, -0.0234375, 0.0147552490234375, 0.06671142578125, 0.00238800048828125, -0.045166015625, -0.0056610107421875, 0.050445556640625, 0.060394287109375, 0.00696563720703125, 0.0222320556640625, 0.035400390625, 0.05242919921875, 0.046051025390625, -0.04803466796875, 0.050628662109375, -0.047210693359375, 0.0193328857421875, 0.0516357421875, 0.013275146484375, 0.0200958251953125, 0.006305694580078125, -0.0224609375, -0.023712158203125, 0.01352691650390625, 0.0164031982421875, -0.008697509765625, 0.0263519287109375, 0.025787353515625, 0.07000732421875, -0.0928955078125, -0.04937744140625, -0.0213165283203125, 0.04876708984375, 0.0128631591796875, 0.038482666015625, -0.00366973876953125, 0.0081787109375, 0.085693359375, -0.0198516845703125, 0.0052490234375, 0.01200103759765625, 0.0012340545654296875, 0.08038330078125, 0.01214599609375, 0.0158538818359375, -0.07965087890625, -0.0295257568359375, 0.041015625, 0.0888671875, -0.052154541015625, -0.0198822021484375, 0.010162353515625, -0.0113372802734375, -0.003635406494140625, 0.00399017333984375, 0.034698486328125, 0.039031982421875, 0.0279693603515625, -0.05670166015625, 0.0082244873046875, 0.01215362548828125, 0.0489501953125, -0.00479888916015625, -0.01457977294921875, -0.0594482421875, -0.027862548828125, -0.06011962890625, 0.034027099609375, 0.03436279296875, 0.0335693359375, 0.005672454833984375, 0.0299530029296875, 0.02294921875, -0.002269744873046875, 0.01406097412109375, 0.0183563232421875, 0.017578125, -0.0219268798828125, 0.015533447265625, -0.033843994140625, -0.01264190673828125, 0.008880615234375, 0.040802001953125, -0.050140380859375, -0.0007381439208984375, 0.0267181396484375, -0.013092041015625, -0.015625, 0.035736083984375, 0.0039005279541015625, -0.041717529296875, -0.032867431640625, -0.0308685302734375, 0.018280029296875, -0.004955291748046875, 0.05487060546875, 0.00931549072265625, 0.0009355545043945312, -0.01160430908203125, 0.01374053955078125, -0.0011339187622070312, -0.0169219970703125, 0.00849151611328125, 0.004093170166015625, -0.00937652587890625, 0.004497528076171875, -0.047607421875, 0.005908966064453125, -0.060333251953125, -0.053863525390625, 0.0279998779296875, 0.02899169921875, -0.0134124755859375, 0.025146484375, 0.01241302490234375, -0.00738525390625, 0.033935546875, -0.01483154296875, 0.011993408203125, 0.051177978515625, 0.018951416015625, 0.027862548828125, -0.043212890625, -0.025146484375, 0.0226593017578125, 0.0120697021484375, -0.0239410400390625, 0.0016651153564453125, 0.0209808349609375, -0.01418304443359375, -0.0243377685546875, 0.038177490234375, -0.050079345703125, -0.039794921875, 0.050689697265625, -0.0091552734375, -0.0197906494140625, 0.002353668212890625, 0.01136016845703125, 0.00943756103515625, 0.04779052734375, -0.02166748046875, -0.00846099853515625, -0.0205841064453125, 0.01505279541015625, -0.012176513671875, 0.0298309326171875, -0.01396942138671875, -0.018829345703125, -0.056671142578125, -0.035980224609375, 0.046112060546875, 0.06732177734375, 0.0195770263671875, 0.0294189453125, -0.003971099853515625, -0.019744873046875, 0.0088653564453125, -0.0025157928466796875, -0.005306243896484375, 0.024444580078125, 0.00032711029052734375, 0.021728515625, 0.01464080810546875, -0.029754638671875, 0.0256805419921875, 0.01462554931640625, -0.005054473876953125, 0.00679779052734375, 0.0033016204833984375, -0.004810333251953125, 0.04180908203125, 0.0616455078125, 0.004093170166015625, 0.040252685546875, -0.01461029052734375, -0.007537841796875, 0.01335906982421875, 0.0158538818359375, -0.0146331787109375, -0.0037021636962890625, -0.038543701171875, -0.029541015625, -0.0193939208984375, -0.08367919921875, -0.01148223876953125, -0.013641357421875, -0.00576019287109375, -0.029998779296875, 0.03985595703125, -0.01300811767578125, -0.043243408203125, -0.01025390625, -0.0501708984375, -0.035919189453125, 0.024261474609375, 0.01528167724609375, -0.05267333984375, -0.006595611572265625, -0.020111083984375, -0.005405426025390625, -0.01715087890625, 0.0225372314453125, 0.026214599609375, -0.035736083984375, -0.022735595703125, 0.0543212890625, 0.03692626953125, 0.07281494140625, 0.01073455810546875, -0.0023860931396484375, 0.0013103485107421875, 0.01172637939453125, -0.04559326171875, -0.08587646484375, 0.0404052734375, -0.1136474609375, -0.012664794921875, -0.012481689453125, 0.0303497314453125, 0.04449462890625, -0.0282745361328125, -0.09869384765625, 0.09808349609375, -0.04974365234375, -0.0169830322265625, -0.03948974609375, 0.0083465576171875, 0.00872802734375, -0.0032806396484375, -0.01068878173828125, 0.005401611328125, -0.023193359375, 0.0153656005859375, 0.01336669921875, 0.0102081298828125, 0.045318603515625, -0.0202178955078125, -0.03973388671875, -0.005924224853515625, -0.01053619384765625, 0.022491455078125, 0.034149169921875, -0.027435302734375, 0.0308074951171875, 0.038299560546875, -0.06451416015625, -0.01544189453125, -0.02459716796875, 0.0021228790283203125, 0.0055694580078125, -0.0139923095703125, -0.047576904296875, -0.03179931640625, 0.0189208984375, 0.044158935546875, 0.0163726806640625, -0.0154266357421875, -0.02386474609375, -0.0279388427734375, -0.025543212890625, -0.0034275054931640625, 0.023956298828125, -0.04052734375, 0.0220489501953125, -0.0009670257568359375, 0.0003402233123779297, 0.00791168212890625, -0.034912109375, -0.03948974609375, -0.02154541015625, -0.07525634765625, -0.0071563720703125, -0.04766845703125, 0.034454345703125, 0.00461578369140625, -0.00811004638671875, 0.00022423267364501953, -0.042205810546875, -0.0025463104248046875, -0.00897216796875, -0.034454345703125, 0.041015625, -0.00409698486328125, 0.019622802734375, 0.00994110107421875, 0.05517578125, -0.04925537109375, 0.04180908203125, -0.0247955322265625, -0.025909423828125, 0.0115814208984375, 0.0268402099609375, 0.00858306884765625, -0.01202392578125, -0.0250091552734375, 0.01180267333984375, 0.000522613525390625, 0.00390625, 0.053314208984375, -0.0031223297119140625, 0.04248046875, -0.021331787109375, -0.014312744140625, 0.0199127197265625, -0.0286102294921875, -0.0177459716796875, 0.02911376953125, -0.002124786376953125, -0.053802490234375, 0.04315185546875, 0.043212890625, 0.02191162109375, 0.021636962890625 ]
39017e756825962343fc0c4563025e539142bf47
Wordpress Stackexchange Q: Redirect to a Plugin Settings Page After Multisite Site Creation? I am using a geo-tag map plugin called Geo Mashup, along with a WordPress Multisite install. When I create a new site, an alert appears (in the admin alerts area) immediately telling me I have to go to the settings page to update the database: "Geo Mashup needs to upgrade its database, visit the settings to do it now." And simply visiting this page (Settings > Geo Mashup) on the new 'sub site' makes it work. Is it possible to redirect the browser to the new site plugin's setting page right after creating the new site? A: The following code does the redirect. In this example, the redirection is to a BackupBuddy's page. add_filter('admin_head-site-new.php','wpse_35760_redirect_after_site_creation'); function wpse_35760_redirect_after_site_creation() { if( !isset($_GET['update']) || 'added' != $_GET['update'] ) return; switch_to_blog($_GET['id']); wp_redirect( admin_url( 'admin.php?page=pb_backupbuddy_multisite_export' ) ); exit; } For reference: Related Answer that uses an Action Hook fired on blog creation. But, for the case in this Question -redirect after creation-, I think the approach used here may be better.
Q: Redirect to a Plugin Settings Page After Multisite Site Creation? I am using a geo-tag map plugin called Geo Mashup, along with a WordPress Multisite install. When I create a new site, an alert appears (in the admin alerts area) immediately telling me I have to go to the settings page to update the database: "Geo Mashup needs to upgrade its database, visit the settings to do it now." And simply visiting this page (Settings > Geo Mashup) on the new 'sub site' makes it work. Is it possible to redirect the browser to the new site plugin's setting page right after creating the new site? A: The following code does the redirect. In this example, the redirection is to a BackupBuddy's page. add_filter('admin_head-site-new.php','wpse_35760_redirect_after_site_creation'); function wpse_35760_redirect_after_site_creation() { if( !isset($_GET['update']) || 'added' != $_GET['update'] ) return; switch_to_blog($_GET['id']); wp_redirect( admin_url( 'admin.php?page=pb_backupbuddy_multisite_export' ) ); exit; } For reference: Related Answer that uses an Action Hook fired on blog creation. But, for the case in this Question -redirect after creation-, I think the approach used here may be better.
wordpress
{ "language": "en", "length": 176, "provenance": "stackexchange_00019.jsonl.gz:415189", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35760" }
[ 0.040863037109375, -0.0222015380859375, 0.0386962890625, -0.0199127197265625, 0.0019121170043945312, 0.0005755424499511719, 0.021759033203125, -0.04083251953125, -0.01125335693359375, 0.0149383544921875, 0.01462554931640625, -0.01959228515625, -0.004535675048828125, -0.04022216796875, 0.0177764892578125, -0.0153656005859375, 0.045440673828125, -0.01849365234375, 0.02606201171875, -0.01532745361328125, 0.026824951171875, 0.0251922607421875, -0.0144195556640625, 0.07379150390625, -0.00836944580078125, -0.033599853515625, 0.04547119140625, 0.0084228515625, -0.036346435546875, -0.0282440185546875, 0.00893402099609375, 0.0322265625, 0.053558349609375, -0.004756927490234375, -0.02264404296875, -0.004528045654296875, 0.046875, -0.0147857666015625, -0.0287628173828125, 0.059326171875, 0.02783203125, -0.0244293212890625, -0.020111083984375, 0.0413818359375, -0.0229034423828125, -0.03912353515625, 0.03729248046875, -0.02593994140625, 0.01666259765625, 0.0005102157592773438, 0.00841522216796875, -0.03631591796875, 0.0187835693359375, -0.0288848876953125, -0.034698486328125, -0.0256805419921875, -0.043670654296875, 0.04766845703125, 0.029937744140625, 0.050872802734375, -0.0022182464599609375, 0.01073455810546875, -0.0194244384765625, -0.045654296875, 0.0006413459777832031, 0.008636474609375, -0.0175628662109375, 0.028350830078125, -0.06549072265625, -0.008514404296875, 0.00986480712890625, -0.0556640625, -0.007488250732421875, -0.0036640167236328125, -0.0242767333984375, 0.0266265869140625, 0.0038547515869140625, 0.030975341796875, 0.01535797119140625, 0.00235748291015625, 0.0208740234375, -0.0058746337890625, 0.05126953125, -0.041961669921875, 0.0218353271484375, -0.003345489501953125, -0.01316070556640625, -0.016693115234375, -0.039794921875, -0.0175323486328125, -0.0273284912109375, -0.044036865234375, -0.036895751953125, 0.002674102783203125, 0.004703521728515625, -0.0369873046875, 0.0274658203125, 0.07110595703125, -0.023040771484375, -0.0022754669189453125, -0.043243408203125, -0.0174102783203125, -0.018829345703125, -0.03594970703125, -0.014556884765625, 0.0269775390625, 0.024627685546875, -0.0511474609375, -0.0018405914306640625, 0.014862060546875, -0.01346588134765625, 0.032501220703125, -0.05401611328125, -0.00588226318359375, -0.02056884765625, 0.0210418701171875, -0.06005859375, -0.02264404296875, -0.0275726318359375, -0.0186920166015625, -0.0328369140625, -0.00086212158203125, -0.01776123046875, -0.00090789794921875, 0.0018405914306640625, -0.014923095703125, -0.0005397796630859375, 0.00738525390625, -0.011749267578125, -0.042816162109375, -0.00936126708984375, 0.026947021484375, 0.052459716796875, 0.05023193359375, 0.0175933837890625, -0.0006327629089355469, 0.0849609375, -0.007427215576171875, -0.023681640625, 0.03173828125, 0.002227783203125, -0.043914794921875, -0.0574951171875, -0.031494140625, 0.021453857421875, 0.007656097412109375, 0.005634307861328125, 0.02227783203125, 0.02239990234375, -0.047393798828125, 0.0298919677734375, -0.052490234375, 0.036468505859375, -0.0290069580078125, 0.028564453125, -0.058013916015625, 0.01104736328125, -0.019561767578125, 0.010650634765625, -0.0254669189453125, 0.01145172119140625, -0.00008881092071533203, 0.0271759033203125, -0.042724609375, -0.0643310546875, -0.01230621337890625, -0.0701904296875, -0.038543701171875, 0.0193023681640625, 0.01186370849609375, 0.00234222412109375, -0.009185791015625, -0.01003265380859375, 0.00940704345703125, -0.0034637451171875, 0.021575927734375, 0.006717681884765625, 0.007511138916015625, 0.0301055908203125, -0.0028076171875, -0.0111236572265625, -0.0219573974609375, 0.07037353515625, -0.002105712890625, -0.07025146484375, 0.0816650390625, -0.01203155517578125, 0.082763671875, 0.017364501953125, 0.0041351318359375, 0.0182342529296875, 0.007415771484375, -0.030975341796875, 0.031097412109375, -0.0015316009521484375, -0.019683837890625, -0.017730712890625, 0.00943756103515625, -0.005481719970703125, -0.0345458984375, -0.047607421875, 0.03704833984375, -0.01146697998046875, 0.06011962890625, 0.003864288330078125, 0.045562744140625, -0.01727294921875, 0.039093017578125, 0.0662841796875, 0.0251312255859375, -0.03363037109375, -0.01166534423828125, 0.0267486572265625, -0.0278778076171875, -0.046661376953125, 0.006839752197265625, -0.01806640625, 0.053070068359375, 0.005603790283203125, 0.048553466796875, -0.01070404052734375, -0.043121337890625, -0.018798828125, -0.040557861328125, 0.038726806640625, -0.0176849365234375, -0.005992889404296875, -0.0217742919921875, 0.0166473388671875, -0.004520416259765625, -0.008697509765625, 0.042022705078125, -0.005466461181640625, -0.0002791881561279297, -0.045989990234375, 0.0001723766326904297, -0.0282745361328125, -0.0494384765625, 0.0012302398681640625, 0.04949951171875, 0.0203094482421875, 0.007354736328125, -0.034942626953125, -0.01055145263671875, -0.01053619384765625, -0.05621337890625, -0.003894805908203125, 0.006267547607421875, 0.051971435546875, 0.0836181640625, -0.06292724609375, -0.031829833984375, 0.01416778564453125, -0.022186279296875, -0.0031585693359375, 0.034942626953125, -0.0645751953125, -0.06573486328125, 0.03753662109375, -0.044097900390625, 0.0308837890625, -0.057342529296875, -0.0264434814453125, -0.0037689208984375, 0.02911376953125, 0.00959014892578125, 0.01345062255859375, 0.00930023193359375, -0.04425048828125, 0.0278472900390625, 0.03631591796875, -0.00577545166015625, 0.0189971923828125, 0.0086212158203125, 0.038055419921875, -0.0208587646484375, -0.042633056640625, -0.004474639892578125, 0.050018310546875, 0.00225067138671875, -0.031707763671875, -0.004795074462890625, -0.043670654296875, -0.0141143798828125, -0.006572723388671875, -0.048675537109375, 0.00047659873962402344, -0.01195526123046875, 0.01319122314453125, -0.008270263671875, 0.0267181396484375, -0.0304107666015625, -0.046600341796875, 0.041107177734375, -0.015411376953125, -0.0592041015625, 0.07305908203125, -0.03997802734375, 0.03045654296875, -0.0113525390625, 0.08685302734375, 0.071533203125, -0.009979248046875, 0.0214691162109375, -0.00959014892578125, 0.0161895751953125, -0.01090240478515625, 0.003692626953125, -0.01441192626953125, -0.0149993896484375, -0.040618896484375, 0.00958251953125, 0.02581787109375, -0.035552978515625, 0.033416748046875, 0.00341796875, -0.027587890625, -0.007152557373046875, -0.082275390625, -0.0345458984375, -0.043701171875, -0.049346923828125, 0.04791259765625, -0.006366729736328125, -0.00020241737365722656, -0.0223541259765625, 0.0257110595703125, 0.03448486328125, 0.01122283935546875, -0.0309600830078125, -0.052825927734375, -0.0814208984375, -0.0875244140625, -0.064453125, 0.0010080337524414062, 0.0066375732421875, 0.006069183349609375, -0.027069091796875, 0.002536773681640625, -0.029754638671875, 0.00007551908493041992, 0.0292816162109375, -0.0026607513427734375, -0.033111572265625, -0.049713134765625, -0.023712158203125, 0.030914306640625, -0.0148773193359375, 0.04302978515625, 0.0036182403564453125, 0.0281982421875, 0.006343841552734375, -0.01107025146484375, -0.00960540771484375, -0.0006976127624511719, -0.068115234375, 0.004207611083984375, -0.004604339599609375, -0.061737060546875, -0.0458984375, -0.0014324188232421875, -0.0312042236328125, -0.045745849609375, -0.01322174072265625, 0.02777099609375, 0.00499725341796875, 0.01255035400390625, -0.0277099609375, 0.0628662109375, 0.0159912109375, 0.06561279296875, 0.00614166259765625, -0.0250701904296875, -0.0228424072265625, -0.00023102760314941406, -0.08795166015625, 0.033782958984375, 0.0016241073608398438, -0.03521728515625, 0.0038814544677734375, 0.009490966796875, 0.0027141571044921875, 0.00691986083984375, -0.01885986328125, -0.0367431640625, 0.0234832763671875, -0.06805419921875, 0.00183868408203125, -0.056182861328125, 0.01092529296875, -0.04302978515625, 0.05511474609375, -0.0709228515625, 0.012176513671875, 0.0113067626953125, 0.013397216796875, -0.0067138671875, -0.01253509521484375, -0.06365966796875, -0.0112457275390625, -0.1085205078125, 0.00860595703125, -0.0014619827270507812, -0.037933349609375, -0.0131683349609375, -0.0081787109375, -0.05120849609375, -0.057342529296875, 0.03515625, -0.006916046142578125, 0.0011739730834960938, 0.005443572998046875, 0.00701141357421875, -0.034820556640625, -0.005519866943359375, -0.0099334716796875, -0.03167724609375, -0.006610870361328125, 0.01026153564453125, 0.0036163330078125, -0.0024127960205078125, 0.00202178955078125, -0.010955810546875, 0.0280303955078125, -0.005420684814453125, -0.0223846435546875, -0.027587890625, 0.009918212890625, -0.051727294921875, -0.0228729248046875, -0.044219970703125, -0.0269317626953125, -0.0164794921875, -0.01451873779296875, -0.004161834716796875, 0.003017425537109375, -0.026824951171875, -0.0272064208984375, 0.0014257431030273438, -0.0129241943359375, -0.08953857421875, -0.0136260986328125, -0.01282501220703125, -0.0154571533203125, -0.04888916015625, 0.0162811279296875, 0.0108795166015625, -0.077392578125, 0.00980377197265625, -0.044586181640625, -0.03125, 0.023834228515625, 0.0421142578125, 0.0235748291015625, 0.0112457275390625, -0.0055084228515625, -0.0162200927734375, 0.025146484375, 0.0085906982421875, 0.043731689453125, 0.0251312255859375, -0.006328582763671875, 0.04791259765625, -0.00493621826171875, 0.0196685791015625, -0.029388427734375, 0.03277587890625, -0.00495147705078125, -0.03765869140625, 0.0357666015625, -0.020965576171875, 0.0032062530517578125, 0.049285888671875, 0.01177215576171875, -0.003963470458984375, -0.02288818359375, 0.0018415451049804688, 0.00844573974609375, -0.0195159912109375, -0.0169677734375, -0.0401611328125, 0.01155853271484375, 0.043701171875, 0.01092529296875, 0.01508331298828125, -0.001819610595703125, 0.00244903564453125, -0.002521514892578125, -0.01251220703125, 0.0168304443359375, -0.0011491775512695312, -0.00862884521484375, 0.01552581787109375, 0.00865936279296875, -0.036163330078125, 0.015960693359375, -0.00861358642578125, 0.040985107421875, 0.01812744140625, -0.0190582275390625, -0.0162353515625, -0.01043701171875, -0.01311492919921875, -0.018280029296875, -0.007213592529296875, 0.04168701171875, 0.040069580078125, -0.041107177734375, -0.029876708984375, 0.01021575927734375, -0.0127105712890625, -0.05572509765625, 0.00261688232421875, 0.00579071044921875, -0.01244354248046875, 0.017181396484375, 0.01419830322265625, -0.0010614395141601562, 0.005939483642578125, -0.01107025146484375, 0.00440216064453125, 0.0284271240234375, -0.006961822509765625, 0.0234527587890625, 0.0085906982421875, 0.0180816650390625, -0.056610107421875, 0.0237274169921875, -0.028106689453125, 0.0025463104248046875, -0.0026988983154296875, 0.0272064208984375, -0.007694244384765625, -0.023162841796875, 0.04022216796875, -0.023468017578125, -0.02496337890625, 0.07928466796875, 0.04547119140625, -0.089599609375, -0.019683837890625, 0.023101806640625, 0.0299224853515625, -0.0267486572265625, 0.0014009475708007812, -0.0009946823120117188, -0.020599365234375, 0.0301971435546875, -0.042266845703125, 0.01058197021484375, -0.0172576904296875, -0.01274871826171875, -0.0272064208984375, -0.048492431640625, -0.01580810546875, 0.0077056884765625, 0.027801513671875, -0.0233001708984375, -0.023162841796875, 0.01137542724609375, -0.0640869140625, 0.0121307373046875, -0.025848388671875, 0.0157928466796875, 0.006015777587890625, 0.0181121826171875, 0.0638427734375, 0.045623779296875, -0.0194091796875, 0.0030193328857421875, -0.0447998046875, -0.0233154296875, 0.033538818359375, -0.0190582275390625, -0.0089111328125, -0.011566162109375, 0.01187896728515625, 0.019195556640625, -0.00887298583984375, -0.0236358642578125, -0.0015010833740234375, 0.0036296844482421875, 0.029388427734375, 0.013641357421875, -0.0330810546875, 0.0210723876953125, -0.01264190673828125, 0.0296630859375, -0.02093505859375, 0.0003066062927246094, 0.00701141357421875, -0.01348114013671875, -0.003795623779296875, -0.02532958984375, -0.01045989990234375, -0.01267242431640625, 0.0034885406494140625, 0.009857177734375, 0.039825439453125, -0.004261016845703125, 0.018341064453125, 0.027618408203125, 0.00847625732421875, -0.027313232421875, -0.03466796875, 0.006481170654296875, 0.0291900634765625, 0.023773193359375, -0.037078857421875, -0.00383758544921875, -0.00013303756713867188, -0.00717926025390625, 0.0243682861328125, -0.0283203125, 0.006221771240234375, 0.0227813720703125, -0.0662841796875, 0.062042236328125, 0.0469970703125, -0.0025882720947265625, 0.017425537109375, -0.0010986328125, 0.00390625, 0.01088714599609375, -0.018798828125, -0.00771331787109375, 0.02923583984375, 0.035888671875, -0.011749267578125, -0.004138946533203125, 0.038604736328125, -0.00959014892578125, -0.017547607421875, 0.041351318359375, -0.011016845703125, -0.0845947265625, 0.0046844482421875, -0.014373779296875, 0.03497314453125, 0.0298004150390625, 0.0020427703857421875, -0.0122222900390625, -0.0124969482421875, 0.004791259765625, 0.0023345947265625, -0.0288848876953125, 0.00040602684020996094, 0.02545166015625, -0.0271759033203125, -0.00724029541015625, 0.03887939453125, 0.04132080078125, -0.02752685546875, 0.055938720703125, 0.0029010772705078125, 0.0281524658203125, -0.005420684814453125, 0.001972198486328125, 0.01488494873046875, -0.028228759765625, -0.0255279541015625, 0.0439453125, -0.00818634033203125, -0.01422882080078125, -0.019256591796875, -0.003780364990234375, 0.06280517578125, 0.052215576171875, -0.006565093994140625, -0.01233673095703125, 0.0294036865234375, 0.03338623046875, -0.0153045654296875, 0.005359649658203125, 0.0211639404296875, -0.01132965087890625, -0.00843048095703125, 0.019195556640625, -0.031982421875, -0.0316162109375, -0.01293182373046875, 0.0249786376953125, 0.026641845703125, 0.0179290771484375, -0.041839599609375, 0.03912353515625, 0.0521240234375, -0.0193939208984375, 0.0102081298828125, 0.03582763671875, -0.0693359375, -0.0633544921875, -0.0017538070678710938, -0.06829833984375, -0.00982666015625, -0.0174560546875, -0.0592041015625, 0.1015625, -0.026123046875, 0.027557373046875, 0.0208892822265625, 0.0440673828125, -0.03082275390625, 0.01523590087890625, -0.0299072265625, 0.055419921875, 0.055023193359375, 0.018280029296875, -0.04510498046875, -0.025238037109375, 0.001102447509765625, 0.057220458984375, 0.03253173828125, 0.02264404296875, -0.07196044921875, 0.016326904296875, 0.0232391357421875, -0.0556640625, -0.03515625, 0.10833740234375, 0.0008826255798339844, 0.001628875732421875, 0.039703369140625, -0.05926513671875, 0.0201416015625, -0.0257568359375, 0.0162811279296875, 0.0027294158935546875, -0.00966644287109375, -0.017425537109375, -0.00939178466796875, 0.00013518333435058594, -0.0299224853515625, -0.00677490234375, 0.0046844482421875, -0.01062774658203125, -0.001300811767578125, -0.00479888916015625, -0.014892578125, -0.01261138916015625, 0.0814208984375, -0.03533935546875, 0.033599853515625, -0.0247039794921875, -0.035552978515625, 0.004413604736328125, 0.01244354248046875, -0.006717681884765625, -0.01861572265625, -0.0325927734375, 0.0212249755859375, -0.0002187490463256836, 0.0516357421875, 0.02154541015625, 0.037567138671875, -0.026611328125, -0.00556182861328125, 0.01044464111328125, 0.0626220703125, -0.02685546875, -0.019866943359375, 0.023681640625, 0.0136566162109375, -0.001888275146484375, 0.00928497314453125, 0.031524658203125, -0.00848388671875, 0.020172119140625, -0.01438140869140625, -0.00803375244140625, -0.00627899169921875, -0.01027679443359375, 0.00368499755859375, -0.0006642341613769531, 0.0142822265625, 0.0058746337890625, -0.050323486328125, -0.007572174072265625, 0.01194000244140625, 0.08221435546875, 0.0192413330078125, 0.0601806640625, -0.01025390625, -0.047821044921875, -0.027862548828125, 0.02734375, 0.0055084228515625, 0.03448486328125, -0.06939697265625, -0.04290771484375, 0.04278564453125, 0.06390380859375, 0.006511688232421875, 0.0182342529296875, 0.0247344970703125, 0.044525146484375, 0.01291656494140625, 0.0013103485107421875, 0.048187255859375, -0.00498199462890625, 0.054443359375, -0.0372314453125, -0.005741119384765625, -0.031463623046875, -0.03570556640625, -0.0208740234375, -0.01202392578125, 0.02850341796875, -0.039581298828125, 0.04852294921875, -0.010955810546875, -0.043914794921875, 0.008941650390625, -0.0157470703125, 0.09222412109375, -0.00862884521484375, -0.056854248046875, -0.0269775390625, -0.0018901824951171875, -0.01425933837890625, 0.01068115234375, 0.029296875, -0.0316162109375, 0.045135498046875, -0.033447265625, 0.01131439208984375, 0.01404571533203125, -0.040557861328125, 0.00786590576171875, 0.0181732177734375, 0.0098419189453125, -0.0002446174621582031, -0.018585205078125, -0.01479339599609375, 0.00186920166015625, 0.02545166015625, -0.025482177734375, 0.063720703125, -0.0301055908203125, -0.0018377304077148438, 0.0174560546875, 0.004001617431640625, 0.0062408447265625, -0.0206756591796875, 0.026947021484375, -0.01113128662109375, 0.000051975250244140625, -0.007503509521484375, -0.025390625, 0.01314544677734375, 0.035797119140625, 0.00021386146545410156, -0.018798828125, 0.0251007080078125, 0.019378662109375, 0.0140380859375, 0.036468505859375, -0.036712646484375, -0.05181884765625, -0.042877197265625, 0.00591278076171875, 0.0030498504638671875, 0.01163482666015625, -0.0147552490234375, 0.05987548828125, 0.037200927734375, 0.011016845703125, 0.009979248046875, -0.033966064453125, 0.0130157470703125, 0.041473388671875, -0.00763702392578125, -0.034454345703125, 0.0151214599609375, -0.010101318359375, -0.0026035308837890625, 0.01386260986328125, 0.041229248046875, 0.0108489990234375, 0.039642333984375, -0.00028204917907714844, -0.031646728515625, -0.017425537109375, -0.04425048828125, -0.0175018310546875, 0.0093841552734375, 0.00579833984375, -0.03631591796875, -0.03582763671875, -0.034515380859375, -0.0295562744140625, -0.0015630722045898438, 0.026092529296875, -0.0207672119140625, -0.01123046875, -0.046051025390625, 0.0140533447265625, 0.07122802734375, 0.00574493408203125, -0.0489501953125, 0.01119232177734375, -0.052978515625, 0.072265625, 0.014129638671875, -0.00998687744140625, -0.0267486572265625, -0.0178680419921875, -0.0233001708984375, -0.029022216796875, -0.04608154296875, 0.039642333984375, -0.041748046875, -0.034759521484375, -0.0015707015991210938, -0.0012187957763671875, -0.00405120849609375, -0.066162109375, -0.034423828125, -0.01239013671875, -0.005886077880859375, -0.017791748046875, 0.0307464599609375, -0.0221710205078125, -0.022064208984375, -0.0290985107421875, 0.0023040771484375, -0.04736328125, -0.006710052490234375, -0.007442474365234375, -0.0229034423828125, -0.01047515869140625, -0.0281829833984375, -0.0015697479248046875, 0.0557861328125, 0.00897216796875, -0.0057830810546875, -0.03533935546875, 0.029205322265625, 0.006317138671875, 0.0190277099609375, 0.0015659332275390625, -0.006282806396484375, -0.01519775390625, 0.0023040771484375, 0.0105133056640625, 0.023651123046875, 0.032318115234375, -0.0269775390625, -0.023101806640625, -0.019683837890625, -0.01763916015625, -0.005390167236328125, 0.00467681884765625, -0.0296478271484375, 0.030975341796875, 0.05218505859375, -0.003360748291015625, -0.07794189453125, 0.0131378173828125, -0.038726806640625, -0.0003883838653564453, -0.002933502197265625, -0.03521728515625, -0.0016698837280273438, 0.042388916015625, 0.07623291015625, 0.0130615234375, -0.034912109375, -0.048675537109375, -0.03582763671875, -0.02984619140625, -0.01488494873046875, 0.03924560546875, -0.08099365234375, 0.00811767578125, 0.015167236328125, 0.0046844482421875, 0.0206451416015625, 0.00827789306640625, 0.007289886474609375, -0.015625, 0.046600341796875, -0.018402099609375, -0.00518798828125, -0.01117706298828125, 0.045135498046875, -0.0291900634765625, -0.00846099853515625, 0.00412750244140625, 0.00685882568359375, -0.0024700164794921875, 0.01329803466796875, -0.0074615478515625, 0.0129241943359375, -0.01497650146484375, 0.00922393798828125, 0.01204681396484375, 0.009124755859375, -0.01068115234375, -0.0119171142578125, 0.0155029296875, 0.02923583984375, -0.0180206298828125, 0.036407470703125, 0.01194000244140625, 0.00835418701171875, -0.0310821533203125, 0.05517578125, -0.001392364501953125, 0.030792236328125, -0.0246734619140625, 0.036224365234375, -0.0153961181640625, -0.003082275390625, 0.030975341796875, -0.0177459716796875, 0.00951385498046875, 0.0244903564453125, 0.058441162109375, -0.031646728515625, 0.039520263671875, -0.03851318359375, 0.046356201171875, 0.0073394775390625 ]
d4c8553a5ed5b38ecd558eac1935f7ea5712bb13
Wordpress Stackexchange Q: order by second word in title? I have full names as title posts and want to order it by the surname. How could i do this with wordpress? in PHP it would be along the lines of - SELECT * from posts ORDER BY SUBSTR(LTRIM(post_title), LOCATE(' ',LTRIM(post_title))) current code getting people category is; $args = array( 'posts_per_page'=>50, 'cat'=> '39,-41', 'orderby'=>'title', 'order'=>'ASC', ); query_posts($args); how can i get that second word order? best, Dan. A: There is a filter, 'posts_orderby', which allows you to specify your own ORDER BY clauses. In your case, the code would look something like this: add_filter( 'posts_orderby', 'order_by_surname' ); function order_by_surname( $orderby, $query ) { // first you should check to make sure sure you're only filtering the particular query // you want to hack. return $orderby if its not the correct query; return "ORDER BY SUBSTR( LTRIM({$wpdb->posts}.post_title), LOCATE(' ',LTRIM({$wpdb->posts}.post_title)))"; }
Q: order by second word in title? I have full names as title posts and want to order it by the surname. How could i do this with wordpress? in PHP it would be along the lines of - SELECT * from posts ORDER BY SUBSTR(LTRIM(post_title), LOCATE(' ',LTRIM(post_title))) current code getting people category is; $args = array( 'posts_per_page'=>50, 'cat'=> '39,-41', 'orderby'=>'title', 'order'=>'ASC', ); query_posts($args); how can i get that second word order? best, Dan. A: There is a filter, 'posts_orderby', which allows you to specify your own ORDER BY clauses. In your case, the code would look something like this: add_filter( 'posts_orderby', 'order_by_surname' ); function order_by_surname( $orderby, $query ) { // first you should check to make sure sure you're only filtering the particular query // you want to hack. return $orderby if its not the correct query; return "ORDER BY SUBSTR( LTRIM({$wpdb->posts}.post_title), LOCATE(' ',LTRIM({$wpdb->posts}.post_title)))"; } A: Your first example is an SQL query, there is no native WordPress function that does this. So that leaves you with some PHP options, explode it, str_word_count, along with sort (or ksort) to then arrange the array alphabetically. This is a very odd way to use this type of data, it should be in a meta box, since you basically have to hack the query in your case to get what you want.
wordpress
{ "language": "en", "length": 220, "provenance": "stackexchange_00019.jsonl.gz:415191", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35773" }
[ 0.046844482421875, -0.005596160888671875, 0.0242462158203125, -0.01195526123046875, 0.005138397216796875, -0.0289154052734375, 0.054840087890625, -0.009002685546875, 0.0271453857421875, 0.037872314453125, 0.006145477294921875, -0.002227783203125, 0.0023822784423828125, -0.0303955078125, -0.0310821533203125, -0.007259368896484375, 0.0243682861328125, -0.0296783447265625, 0.02764892578125, 0.00969696044921875, 0.006946563720703125, 0.0232086181640625, 0.04534912109375, -0.03436279296875, 0.01453399658203125, -0.01316070556640625, 0.1055908203125, -0.05865478515625, 0.038726806640625, -0.041839599609375, 0.021453857421875, -0.033599853515625, 0.0367431640625, -0.038116455078125, 0.043792724609375, 0.067626953125, 0.03399658203125, -0.01983642578125, -0.0014362335205078125, 0.033599853515625, 0.0247955322265625, 0.012298583984375, -0.04852294921875, 0.04779052734375, -0.034881591796875, -0.060516357421875, 0.033721923828125, -0.001148223876953125, 0.031158447265625, -0.0185089111328125, 0.0023326873779296875, 0.0069580078125, 0.0254669189453125, -0.04443359375, -0.0103912353515625, -0.0034465789794921875, -0.005397796630859375, 0.0303192138671875, 0.01534271240234375, -0.01284027099609375, -0.0276031494140625, 0.00492095947265625, 0.0298919677734375, -0.00919342041015625, -0.018035888671875, 0.006381988525390625, 0.031524658203125, -0.0036678314208984375, -0.01617431640625, -0.0279998779296875, 0.01983642578125, 0.00798797607421875, 0.0018548965454101562, -0.03106689453125, 0.01274871826171875, 0.0006623268127441406, -0.0418701171875, -0.0592041015625, 0.0194244384765625, 0.0107574462890625, -0.0070953369140625, 0.00007611513137817383, -0.029510498046875, -0.0305633544921875, 0.01477813720703125, 0.0014619827270507812, -0.0228729248046875, -0.0007662773132324219, -0.0228424072265625, -0.0244598388671875, -0.01012420654296875, -0.0204620361328125, -0.03558349609375, 0.01275634765625, 0.0112457275390625, -0.0225830078125, 0.045867919921875, 0.06744384765625, -0.031829833984375, -0.020843505859375, -0.0247955322265625, -0.021484375, -0.00763702392578125, -0.016937255859375, 0.011688232421875, -0.035003662109375, -0.0126800537109375, -0.018310546875, 0.04205322265625, 0.049346923828125, -0.0228118896484375, 0.0157928466796875, 0.005115509033203125, -0.053070068359375, 0.0024852752685546875, 0.0311431884765625, 0.0009937286376953125, 0.039764404296875, 0.0452880859375, 0.012664794921875, -0.004589080810546875, 0.0254364013671875, -0.0304107666015625, -0.005092620849609375, 0.005435943603515625, 0.007320404052734375, 0.00359344482421875, -0.00550079345703125, -0.00927734375, 0.0099334716796875, -0.008941650390625, 0.02593994140625, 0.047576904296875, 0.01190948486328125, -0.0283966064453125, -0.0175628662109375, -0.03289794921875, -0.013092041015625, -0.0084686279296875, -0.00933074951171875, -0.0012989044189453125, -0.0019083023071289062, 0.059539794921875, -0.0142822265625, 0.0089874267578125, -0.00730133056640625, 0.0079803466796875, 0.0126495361328125, -0.012359619140625, 0.0152587890625, -0.01092529296875, -0.0212249755859375, 0.030975341796875, 0.0016794204711914062, -0.061248779296875, -0.00299835205078125, -0.0804443359375, 0.024688720703125, 0.00533294677734375, 0.0093536376953125, 0.0042724609375, 0.01861572265625, 0.00524139404296875, -0.064208984375, -0.04791259765625, -0.0400390625, -0.0254974365234375, -0.0085906982421875, 0.0036144256591796875, -0.032867431640625, 0.0233917236328125, 0.0293731689453125, 0.032958984375, 0.00569915771484375, -0.0041961669921875, -0.0027866363525390625, -0.025634765625, -0.059906005859375, 0.015960693359375, 0.04400634765625, -0.0288848876953125, -0.0228118896484375, -0.0438232421875, 0.005588531494140625, -0.0225830078125, 0.04345703125, 0.0252532958984375, 0.06658935546875, -0.033538818359375, 0.0245361328125, 0.01255035400390625, 0.03643798828125, -0.050048828125, 0.032623291015625, -0.017669677734375, -0.053131103515625, 0.04449462890625, -0.0036983489990234375, 0.007266998291015625, 0.0014390945434570312, 0.02392578125, -0.0028858184814453125, -0.00443267822265625, -0.0014619827270507812, -0.0255584716796875, -0.0290985107421875, 0.0081634521484375, 0.0017805099487304688, 0.037628173828125, 0.02838134765625, -0.0014925003051757812, -0.005870819091796875, -0.007232666015625, -0.04412841796875, -0.06781005859375, -0.051055908203125, 0.00951385498046875, 0.02642822265625, -0.01035308837890625, 0.0001760721206665039, -0.015411376953125, -0.03424072265625, -0.008331298828125, 0.05047607421875, 0.059295654296875, -0.0114593505859375, -0.01812744140625, -0.0234222412109375, 0.05120849609375, 0.0011930465698242188, -0.0194244384765625, 0.013336181640625, 0.0166015625, 0.06646728515625, -0.0181732177734375, -0.019134521484375, -0.00860595703125, -0.0106964111328125, 0.01560211181640625, 0.02691650390625, 0.0126953125, 0.018707275390625, 0.01457977294921875, 0.04351806640625, 0.04901123046875, -0.0018863677978515625, 0.01556396484375, 0.000408172607421875, 0.030609130859375, 0.07269287109375, -0.0228729248046875, 0.00542449951171875, 0.020233154296875, -0.034820556640625, -0.00196075439453125, 0.045806884765625, 0.007518768310546875, 0.03466796875, 0.0000730752944946289, -0.00994110107421875, -0.01065826416015625, -0.036163330078125, -0.0146331787109375, -0.01004791259765625, 0.0098724365234375, -0.007843017578125, -0.0181427001953125, -0.00635528564453125, -0.03948974609375, 0.002666473388671875, 0.03570556640625, -0.007671356201171875, 0.0204010009765625, 0.01122283935546875, -0.0254058837890625, -0.0214385986328125, -0.0187530517578125, 0.0091705322265625, 0.0148162841796875, -0.01995849609375, 0.006336212158203125, 0.02545166015625, 0.024078369140625, 0.0007028579711914062, -0.0015850067138671875, -0.045074462890625, 0.02313232421875, 0.0287322998046875, -0.04217529296875, -0.000591278076171875, 0.00505828857421875, 0.0968017578125, 0.013946533203125, 0.0279693603515625, -0.0107574462890625, 0.03350830078125, 0.012969970703125, -0.024932861328125, 0.0266571044921875, -0.02874755859375, 0.0227508544921875, 0.057373046875, -0.0049591064453125, -0.00019490718841552734, -0.01052093505859375, 0.00934600830078125, 0.01415252685546875, -0.017913818359375, -0.0194091796875, -0.035003662109375, -0.0006804466247558594, 0.03466796875, 0.0294036865234375, 0.03271484375, 0.003925323486328125, -0.02069091796875, 0.030120849609375, 0.027801513671875, -0.05859375, -0.0924072265625, -0.0256805419921875, -0.0269317626953125, 0.0235748291015625, 0.0361328125, -0.00501251220703125, -0.0242156982421875, 0.049346923828125, 0.0029621124267578125, 0.047088623046875, -0.0281829833984375, -0.061187744140625, -0.0250701904296875, -0.04119873046875, 0.0046539306640625, 0.003108978271484375, -0.02459716796875, 0.01629638671875, 0.04962158203125, 0.018463134765625, -0.057861328125, 0.0205535888671875, 0.056304931640625, -0.0277099609375, 0.01323699951171875, -0.005096435546875, -0.01479339599609375, 0.00862884521484375, 0.01480865478515625, -0.01442718505859375, -0.001369476318359375, 0.010284423828125, -0.017822265625, -0.0242462158203125, 0.037139892578125, 0.0309600830078125, 0.004547119140625, 0.01361083984375, 0.053131103515625, 0.045867919921875, -0.0181121826171875, -0.0251312255859375, 0.00823211669921875, -0.0234832763671875, -0.0240325927734375, -0.01004791259765625, 0.006359100341796875, -0.0240325927734375, 0.031280517578125, 0.021331787109375, 0.01335906982421875, -0.035491943359375, 0.0158538818359375, -0.014068603515625, 0.011962890625, 0.046783447265625, 0.01529693603515625, -0.017669677734375, -0.023345947265625, 0.0098114013671875, -0.0149078369140625, 0.0130157470703125, -0.00001728534698486328, 0.006969451904296875, -0.0198822021484375, -0.075439453125, 0.0345458984375, -0.029571533203125, -0.0178375244140625, -0.0242462158203125, -0.0187835693359375, 0.030426025390625, 0.0982666015625, -0.048828125, -0.0250701904296875, 0.01593017578125, 0.020599365234375, -0.051116943359375, -0.0338134765625, -0.029388427734375, -0.00750732421875, -0.06890869140625, 0.04498291015625, 0.0280303955078125, -0.034210205078125, -0.0239105224609375, 0.0142059326171875, -0.060516357421875, -0.006053924560546875, 0.02197265625, -0.023193359375, 0.00725555419921875, -0.00974273681640625, -0.01439666748046875, -0.02435302734375, 0.00905609130859375, -0.013824462890625, -0.0577392578125, -0.0198516845703125, 0.0298004150390625, 0.00769805908203125, -0.049468994140625, 0.0279083251953125, -0.041748046875, 0.033905029296875, -0.0005941390991210938, 0.002574920654296875, 0.015960693359375, -0.0094757080078125, 0.00521087646484375, 0.027191162109375, 0.003818511962890625, -0.0237274169921875, -0.00298309326171875, -0.032073974609375, -0.0233154296875, -0.011505126953125, -0.04376220703125, 0.034698486328125, -0.040283203125, -0.00537872314453125, -0.030853271484375, -0.05426025390625, -0.03289794921875, 0.034027099609375, -0.039794921875, 0.023406982421875, -0.06256103515625, -0.070556640625, 0.040374755859375, 0.0092315673828125, 0.0127105712890625, 0.003814697265625, 0.0799560546875, 0.0034656524658203125, -0.0362548828125, 0.0005702972412109375, -0.00567626953125, 0.039154052734375, 0.02386474609375, 0.02447509765625, 0.01335906982421875, -0.03424072265625, 0.059539794921875, 0.02996826171875, -0.037567138671875, 0.031646728515625, -0.00870513916015625, 0.0088043212890625, -0.050811767578125, 0.0058135986328125, -0.01605224609375, 0.0157928466796875, 0.037567138671875, -0.0095367431640625, 0.0012836456298828125, -0.021942138671875, 0.0211334228515625, 0.01995849609375, -0.007236480712890625, -0.030914306640625, -0.041900634765625, 0.01232147216796875, -0.055084228515625, 0.0103607177734375, -0.0062713623046875, 0.0130462646484375, -0.00302886962890625, 0.00588226318359375, -0.00666046142578125, -0.00826263427734375, -0.016357421875, -0.01227569580078125, 0.03094482421875, -0.039337158203125, -0.0025577545166015625, 0.0034465789794921875, -0.0214691162109375, 0.0631103515625, 0.006679534912109375, -0.004131317138671875, -0.035552978515625, -0.00992584228515625, 0.05059814453125, 0.0015878677368164062, -0.0138702392578125, -0.00780487060546875, 0.04901123046875, 0.0284271240234375, 0.041168212890625, -0.01959228515625, 0.041961669921875, 0.01192474365234375, 0.04486083984375, 0.0250396728515625, -0.01141357421875, -0.03466796875, 0.09893798828125, 0.048797607421875, -0.0021610260009765625, -0.040191650390625, 0.031494140625, -0.01169586181640625, 0.0275726318359375, 0.005985260009765625, -0.0030651092529296875, 0.012359619140625, 0.002819061279296875, 0.0012350082397460938, -0.02734375, -0.00995635986328125, -0.01425933837890625, 0.0194854736328125, -0.003543853759765625, -0.0003764629364013672, 0.033966064453125, -0.00704193115234375, -0.012481689453125, 0.00907135009765625, 0.044708251953125, 0.0203857421875, -0.036529541015625, -0.05035400390625, 0.0198974609375, 0.0287933349609375, -0.01287841796875, -0.0147705078125, -0.01053619384765625, 0.01461029052734375, -0.013580322265625, -0.01454925537109375, 0.016571044921875, 0.017181396484375, -0.018768310546875, -0.0006313323974609375, 0.018585205078125, 0.037445068359375, -0.0147857666015625, -0.01148223876953125, -0.02716064453125, 0.0596923828125, -0.020294189453125, 0.049102783203125, -0.0543212890625, 0.02642822265625, -0.0204010009765625, 0.0066375732421875, 0.0543212890625, 0.033538818359375, -0.019378662109375, 0.004131317138671875, -0.032073974609375, -0.01239013671875, 0.035552978515625, -0.01488494873046875, -0.0171051025390625, -0.022491455078125, -0.0012149810791015625, -0.0027370452880859375, -0.004978179931640625, -0.038726806640625, -0.0308837890625, 0.01171875, 0.00399017333984375, -0.041534423828125, -0.0207061767578125, 0.083251953125, -0.00618743896484375, 0.051361083984375, 0.0018262863159179688, 0.0313720703125, -0.00722503662109375, -0.009918212890625, 0.03717041015625, -0.05755615234375, -0.07635498046875, -0.008758544921875, -0.08251953125, -0.0107879638671875, 0.004405975341796875, -0.0256805419921875, 0.037445068359375, 0.0051422119140625, 0.01861572265625, 0.01166534423828125, -0.059356689453125, -0.000942230224609375, -0.01442718505859375, 0.04443359375, -0.0227508544921875, 0.0186614990234375, -0.0093994140625, -0.0345458984375, 0.0518798828125, -0.01241302490234375, 0.0274658203125, 0.0237579345703125, -0.0120086669921875, 0.0063323974609375, 0.0160369873046875, 0.050201416015625, 0.033721923828125, -0.00501251220703125, 0.04254150390625, -0.033203125, -0.0066680908203125, 0.0170440673828125, 0.01155853271484375, 0.0589599609375, -0.01334381103515625, -0.025634765625, 0.014862060546875, -0.03192138671875, 0.007965087890625, 0.01250457763671875, 0.0587158203125, -0.0182037353515625, 0.006320953369140625, 0.026031494140625, -0.0226898193359375, -0.0022106170654296875, -0.0014677047729492188, -0.0187225341796875, -0.0214996337890625, 0.06744384765625, -0.040740966796875, -0.01995849609375, 0.03253173828125, -0.01763916015625, -0.0016946792602539062, -0.0149993896484375, 0.069580078125, 0.005214691162109375, -0.0263519287109375, 0.005401611328125, 0.0013017654418945312, 0.010162353515625, -0.047576904296875, 0.0033550262451171875, 0.0183868408203125, -0.0106048583984375, -0.091796875, 0.007106781005859375, 0.0040283203125, -0.00043582916259765625, 0.0286102294921875, -0.0162353515625, 0.0006766319274902344, 0.01451873779296875, -0.0109405517578125, -0.0077667236328125, 0.0072784423828125, -0.06976318359375, 0.01654052734375, -0.0184783935546875, -0.0233001708984375, 0.0005769729614257812, 0.032928466796875, -0.0020809173583984375, 0.00870513916015625, -0.032470703125, -0.0277252197265625, -0.03125, 0.07257080078125, -0.00968170166015625, -0.0188446044921875, 0.015960693359375, 0.05914306640625, -0.0167236328125, 0.0278778076171875, 0.05328369140625, -0.027618408203125, -0.00730133056640625, 0.05572509765625, -0.006084442138671875, -0.017730712890625, 0.054595947265625, -0.047760009765625, 0.05523681640625, -0.024139404296875, 0.01953125, 0.006481170654296875, 0.006084442138671875, -0.006046295166015625, -0.00021207332611083984, -0.040496826171875, 0.0650634765625, -0.0309295654296875, 0.07183837890625, -0.08221435546875, -0.02435302734375, 0.01092529296875, 0.055572509765625, 0.037353515625, -0.001708984375, -0.0565185546875, -0.0286407470703125, 0.034393310546875, 0.0389404296875, 0.017303466796875, 0.05572509765625, 0.008941650390625, 0.026885986328125, 0.047882080078125, -0.01153564453125, 0.031158447265625, -0.0166778564453125, -0.01494598388671875, 0.034454345703125, 0.025115966796875, 0.0230712890625, -0.00977325439453125, -0.00891876220703125, -0.046539306640625, -0.017120361328125, 0.0494384765625, -0.0435791015625, 0.0243377685546875, 0.07135009765625, 0.09320068359375, -0.06414794921875, -0.09698486328125, -0.01363372802734375, 0.052703857421875, 0.055938720703125, 0.038482666015625, 0.059234619140625, 0.037994384765625, 0.019927978515625, -0.004276275634765625, 0.0452880859375, 0.0011281967163085938, -0.052581787109375, 0.055419921875, 0.0005292892456054688, 0.0186004638671875, -0.045166015625, -0.01436614990234375, 0.08099365234375, 0.08245849609375, -0.0213470458984375, 0.00884246826171875, 0.01776123046875, -0.003803253173828125, -0.001373291015625, -0.04388427734375, -0.0215301513671875, 0.004398345947265625, 0.018096923828125, -0.035369873046875, -0.005237579345703125, 0.021392822265625, 0.010406494140625, -0.0113067626953125, -0.022003173828125, 0.0105133056640625, -0.002521514892578125, 0.0013017654418945312, 0.0211944580078125, 0.02313232421875, -0.00045371055603027344, -0.04443359375, 0.0241546630859375, -0.037139892578125, 0.0223236083984375, 0.010589599609375, 0.01409912109375, 0.0008955001831054688, 0.003078460693359375, -0.0201263427734375, -0.025238037109375, -0.0029048919677734375, 0.0240478515625, 0.01332855224609375, -0.0127716064453125, 0.037017822265625, 0.051727294921875, -0.025726318359375, -0.0302581787109375, 0.01471710205078125, -0.007312774658203125, -0.01273345947265625, -0.029754638671875, -0.022857666015625, -0.015960693359375, -0.0203704833984375, 0.02813720703125, 0.04638671875, -0.0157623291015625, -0.007495880126953125, 0.004268646240234375, 0.005474090576171875, -0.01290130615234375, 0.0241546630859375, 0.0223236083984375, 0.024200439453125, 0.022857666015625, -0.06414794921875, 0.0031528472900390625, -0.027313232421875, -0.0538330078125, 0.0242767333984375, 0.0457763671875, -0.0216522216796875, 0.0008230209350585938, 0.010009765625, -0.057403564453125, 0.0058746337890625, 0.056060791015625, 0.02227783203125, 0.0498046875, 0.0010223388671875, 0.005519866943359375, -0.0170745849609375, -0.0036830902099609375, 0.025054931640625, 0.0082855224609375, 0.01001739501953125, 0.01983642578125, 0.01360321044921875, 0.00933074951171875, -0.071533203125, 0.0045623779296875, -0.04620361328125, -0.0650634765625, 0.047576904296875, 0.0208892822265625, -0.0208587646484375, 0.0067596435546875, 0.01551055908203125, 0.0086517333984375, 0.04315185546875, -0.039031982421875, 0.007080078125, -0.00359344482421875, 0.0220947265625, -0.04656982421875, 0.01203155517578125, -0.03106689453125, -0.01544952392578125, -0.032318115234375, -0.0236358642578125, 0.0257720947265625, 0.056671142578125, 0.0102081298828125, 0.023284912109375, 0.0246429443359375, -0.02569580078125, 0.04681396484375, -0.0232696533203125, 0.08953857421875, 0.0269775390625, -0.03399658203125, -0.00795745849609375, 0.00479888916015625, -0.0084991455078125, 0.005283355712890625, 0.0267791748046875, 0.00022149085998535156, 0.00666046142578125, -0.04888916015625, -0.0274505615234375, 0.01319122314453125, 0.0557861328125, 0.0472412109375, 0.01800537109375, -0.0390625, -0.0211639404296875, -0.0310211181640625, 0.0274200439453125, -0.00884246826171875, 0.030029296875, 0.0017242431640625, 0.0121612548828125, 0.034942626953125, -0.0010623931884765625, -0.045623779296875, -0.021148681640625, -0.002651214599609375, -0.0183868408203125, 0.02520751953125, -0.01751708984375, -0.0269775390625, -0.034271240234375, -0.01190948486328125, -0.04736328125, 0.01351165771484375, 0.036376953125, -0.01158905029296875, -0.0091705322265625, -0.04241943359375, -0.01959228515625, -0.03790283203125, 0.01165771484375, 0.017333984375, -0.01444244384765625, -0.011749267578125, 0.0032482147216796875, 0.0034885406494140625, 0.04461669921875, -0.0279998779296875, -0.001888275146484375, 0.0256805419921875, 0.029754638671875, -0.051055908203125, -0.09759521484375, 0.00046539306640625, -0.0340576171875, 0.0244293212890625, 0.0185394287109375, 0.01540374755859375, 0.047607421875, -0.0240936279296875, -0.058868408203125, 0.11541748046875, -0.01200103759765625, -0.0208587646484375, -0.024871826171875, 0.00724029541015625, -0.01212310791015625, 0.037078857421875, 0.00478363037109375, -0.035675048828125, -0.00705718994140625, 0.023193359375, 0.005054473876953125, 0.0732421875, -0.0526123046875, 0.047149658203125, -0.038848876953125, 0.051483154296875, -0.007152557373046875, -0.00485992431640625, 0.0025310516357421875, 0.0013971328735351562, 0.024810791015625, 0.026336669921875, -0.0211639404296875, 0.040802001953125, 0.012725830078125, -0.010345458984375, 0.0187225341796875, -0.046966552734375, -0.033935546875, -0.039581298828125, 0.006633758544921875, 0.0264434814453125, 0.009918212890625, -0.0010623931884765625, 0.0007038116455078125, -0.030059814453125, 0.001995086669921875, -0.01175689697265625, 0.0080108642578125, -0.056549072265625, -0.0196533203125, 0.013824462890625, 0.006671905517578125, -0.004566192626953125, -0.0162200927734375, -0.041656494140625, -0.022552490234375, -0.0462646484375, -0.0053253173828125, -0.069580078125, -0.0037822723388671875, 0.037506103515625, -0.059722900390625, -0.0743408203125, 0.01079559326171875, 0.00469207763671875, -0.046539306640625, -0.054901123046875, -0.018096923828125, 0.004215240478515625, 0.04229736328125, 0.005764007568359375, 0.03045654296875, 0.0014705657958984375, 0.049102783203125, 0.006656646728515625, -0.04803466796875, -0.0002110004425048828, 0.014129638671875, -0.004730224609375, -0.01427459716796875, 0.0112762451171875, 0.03997802734375, 0.0537109375, -0.0159149169921875, 0.01959228515625, -0.0110626220703125, 0.039764404296875, 0.033447265625, -0.03216552734375, 0.07958984375, -0.04052734375, 0.01096343994140625, 0.0121307373046875, -0.0079345703125, -0.0218505859375, -0.016357421875, 0.048065185546875, -0.0068359375, 0.0029926300048828125 ]
7b9bdd0b68f194ef504f64b25461ecc0995024bd
Wordpress Stackexchange Q: Get previously visited page ID I would like to get the ID (or permalink) of the page the visitor visited just before visiting the current page - in other words the ID of the last page in the browser history. Can this be done? Any idea how to do it? A: Break this down into two parts: First, we create a variable that stores that last-visited page URL, like this: $prev_url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; Then, you could either use substr and strpos to trim down everything between ?= and the / after the ID number. like this: $prev_url = 'http://www.yoursite.com/?p=123'; $id_block = substr($prev_url, strpos($prev_url, "?p=")+1); $id = substr($id_block, 0, strpos($id_block, "/")); .. Or, you could use jQuery/Javascript to achieve the same. I haven't tested this but it should work - let me know how it does! Good luck ;)
Q: Get previously visited page ID I would like to get the ID (or permalink) of the page the visitor visited just before visiting the current page - in other words the ID of the last page in the browser history. Can this be done? Any idea how to do it? A: Break this down into two parts: First, we create a variable that stores that last-visited page URL, like this: $prev_url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; Then, you could either use substr and strpos to trim down everything between ?= and the / after the ID number. like this: $prev_url = 'http://www.yoursite.com/?p=123'; $id_block = substr($prev_url, strpos($prev_url, "?p=")+1); $id = substr($id_block, 0, strpos($id_block, "/")); .. Or, you could use jQuery/Javascript to achieve the same. I haven't tested this but it should work - let me know how it does! Good luck ;) A: I've done this trick like this to allow me to also check if it is one of my pages : //Get the last page link from history $prev_url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : null; //Check if not null and if it contains my blog url if( !empty( $prev_url ) || strpos( $prev_url, (string)get_blog_details()->domain ) !== false ) : //Then display it only if it's one of my blog page ?> <a href="<?php echo $prev_url; ?>" class="previous-history-link">The last page from history</a> <?php endif; ?>
wordpress
{ "language": "en", "length": 227, "provenance": "stackexchange_00019.jsonl.gz:415192", "question_score": "7", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35775" }
[ 0.0802001953125, -0.0215301513671875, 0.031524658203125, -0.037384033203125, 0.01261138916015625, -0.0219268798828125, 0.030609130859375, -0.00861358642578125, 0.0016727447509765625, -0.00039315223693847656, -0.052581787109375, 0.0134124755859375, -0.0662841796875, -0.01277923583984375, 0.007297515869140625, -0.0531005859375, 0.0291595458984375, -0.02490234375, 0.0256500244140625, 0.0011396408081054688, -0.0115814208984375, 0.00579071044921875, 0.06475830078125, 0.0016155242919921875, 0.040679931640625, -0.01336669921875, 0.041229248046875, 0.0028743743896484375, 0.018524169921875, -0.0264129638671875, 0.024810791015625, -0.01338958740234375, 0.00839996337890625, -0.0256195068359375, 0.053314208984375, 0.0032901763916015625, 0.00318145751953125, 0.00940704345703125, 0.041107177734375, -0.009674072265625, 0.0157470703125, -0.00908660888671875, -0.037078857421875, 0.007663726806640625, -0.045257568359375, -0.01294708251953125, -0.01078033447265625, -0.010589599609375, -0.021087646484375, 0.026611328125, -0.006328582763671875, 0.0297088623046875, -0.00868988037109375, 0.05767822265625, -0.007411956787109375, -0.02423095703125, 0.032470703125, -0.0413818359375, 0.03607177734375, -0.0274810791015625, -0.0352783203125, -0.0322265625, 0.0288543701171875, -0.0200958251953125, -0.048797607421875, -0.0038890838623046875, 0.01436614990234375, 0.02081298828125, -0.0223236083984375, -0.0635986328125, 0.002635955810546875, 0.01076507568359375, -0.01203155517578125, -0.01678466796875, -0.042022705078125, -0.01409149169921875, 0.05291748046875, -0.0137481689453125, -0.03289794921875, 0.022064208984375, -0.037200927734375, -0.007289886474609375, -0.07501220703125, -0.022613525390625, 0.0228729248046875, 0.0118255615234375, -0.0182037353515625, -0.0096588134765625, -0.035552978515625, -0.0290374755859375, -0.0428466796875, 0.004192352294921875, 0.00738525390625, -0.048370361328125, -0.0865478515625, 0.0090484619140625, 0.02728271484375, 0.05438232421875, -0.0227508544921875, -0.021514892578125, -0.0289764404296875, -0.0098419189453125, -0.0411376953125, -0.0211639404296875, -0.01971435546875, 0.01110076904296875, 0.049530029296875, 0.0638427734375, 0.016357421875, 0.0011730194091796875, -0.0248260498046875, -0.0043792724609375, -0.0004677772521972656, -0.004184722900390625, -0.03546142578125, 0.0301513671875, -0.0115966796875, -0.02587890625, -0.01479339599609375, 0.011016845703125, -0.01555633544921875, 0.0111846923828125, -0.0118560791015625, -0.004261016845703125, 0.0227813720703125, -0.009033203125, -0.0165252685546875, -0.0025424957275390625, -0.01186370849609375, 0.040435791015625, -0.050445556640625, -0.01409912109375, 0.054046630859375, 0.03955078125, 0.01983642578125, -0.032135009765625, 0.0276336669921875, -0.0298919677734375, 0.0013885498046875, 0.01568603515625, -0.049102783203125, -0.032073974609375, 0.0248565673828125, -0.039398193359375, -0.0193634033203125, 0.017547607421875, 0.007656097412109375, 0.02520751953125, -0.0163116455078125, -0.05645751953125, 0.0357666015625, -0.0499267578125, 0.02850341796875, -0.0163116455078125, -0.0384521484375, -0.0197601318359375, -0.020294189453125, -0.01287841796875, 0.0024280548095703125, -0.020263671875, 0.05584716796875, -0.0094757080078125, -0.0258636474609375, -0.00397491455078125, -0.024322509765625, -0.0018863677978515625, -0.048583984375, -0.0084991455078125, 0.0229034423828125, 0.064453125, 0.036376953125, -0.0227813720703125, -0.0192718505859375, 0.00004190206527709961, -0.01169586181640625, -0.0158843994140625, 0.0005598068237304688, 0.01313018798828125, -0.0034618377685546875, 0.039581298828125, 0.0213165283203125, -0.0247955322265625, 0.01203155517578125, 0.0011501312255859375, -0.038970947265625, 0.0904541015625, 0.0078887939453125, 0.099365234375, -0.027557373046875, 0.02093505859375, -0.00537872314453125, 0.041717529296875, -0.0726318359375, 0.062255859375, -0.004364013671875, 0.01195526123046875, -0.01090240478515625, 0.037994384765625, -0.0218048095703125, -0.049041748046875, 0.021697998046875, 0.0001327991485595703, 0.015869140625, 0.0158843994140625, -0.04803466796875, 0.0208282470703125, -0.032928466796875, 0.02166748046875, 0.0107879638671875, 0.017181396484375, 0.01523590087890625, -0.00815582275390625, -0.0172119140625, -0.02392578125, -0.0200347900390625, 0.0235137939453125, -0.0292205810546875, -0.03704833984375, -0.04864501953125, -0.00698089599609375, -0.058563232421875, -0.0005388259887695312, -0.06781005859375, 0.01422882080078125, 0.020538330078125, 0.0007243156433105469, -0.0257415771484375, -0.015625, -0.018280029296875, 0.0271148681640625, -0.0694580078125, 0.0233154296875, 0.0254669189453125, 0.0292205810546875, -0.02484130859375, -0.003696441650390625, -0.0304412841796875, -0.06707763671875, -0.0038738250732421875, 0.048248291015625, 0.0294342041015625, 0.003810882568359375, -0.0152740478515625, 0.00482940673828125, 0.0009088516235351562, -0.06256103515625, 0.013336181640625, 0.0005440711975097656, -0.022247314453125, 0.0298309326171875, 0.0178985595703125, 0.0345458984375, -0.0019855499267578125, 0.0260772705078125, -0.0069427490234375, 0.0218505859375, -0.0018138885498046875, 0.04278564453125, -0.038909912109375, 0.0093231201171875, -0.0241546630859375, 0.00873565673828125, 0.012603759765625, -0.027740478515625, 0.005950927734375, 0.0038738250732421875, 0.02838134765625, 0.032257080078125, 0.0262603759765625, -0.0234375, -0.0094146728515625, -0.032257080078125, -0.005840301513671875, 0.00809478759765625, 0.051422119140625, -0.0206146240234375, -0.031646728515625, -0.017578125, 0.0276947021484375, -0.0012216567993164062, -0.00693511962890625, 0.036590576171875, 0.006137847900390625, -0.0193939208984375, -0.0019702911376953125, -0.0290679931640625, -0.007785797119140625, 0.0085906982421875, 0.0192413330078125, 0.0254058837890625, 0.032745361328125, 0.019317626953125, -0.0457763671875, 0.05902099609375, 0.025115966796875, -0.017242431640625, 0.037078857421875, -0.03948974609375, 0.036956787109375, -0.0296478271484375, 0.028778076171875, 0.05072021484375, -0.014129638671875, 0.01192474365234375, -0.0120391845703125, -0.010711669921875, 0.02325439453125, -0.037109375, -0.020294189453125, -0.00406646728515625, -0.039581298828125, 0.0229339599609375, 0.005695343017578125, 0.042022705078125, -0.0175018310546875, -0.048797607421875, 0.003948211669921875, -0.0146484375, -0.090087890625, -0.10400390625, -0.0131988525390625, -0.046722412109375, -0.042388916015625, 0.025146484375, -0.03326416015625, 0.018096923828125, 0.052642822265625, -0.00931549072265625, 0.01013946533203125, -0.0428466796875, -0.07861328125, -0.065673828125, -0.06988525390625, -0.004261016845703125, -0.01263427734375, -0.001728057861328125, -0.0059967041015625, -0.04925537109375, -0.020263671875, -0.0215606689453125, -0.0146942138671875, 0.00591278076171875, 0.0002301931381225586, -0.074462890625, -0.031494140625, 0.005584716796875, -0.0262603759765625, 0.011566162109375, -0.01020050048828125, -0.01371002197265625, 0.02105712890625, 0.00659942626953125, -0.029144287109375, 0.008453369140625, 0.003070831298828125, -0.005649566650390625, 0.02557373046875, 0.018829345703125, 0.006481170654296875, -0.0296783447265625, 0.00640869140625, -0.0100860595703125, -0.033172607421875, -0.0085296630859375, 0.037322998046875, -0.021087646484375, -0.0286407470703125, -0.0226287841796875, 0.01800537109375, -0.020355224609375, -0.005401611328125, -0.005672454833984375, 0.005252838134765625, -0.0007925033569335938, 0.0318603515625, -0.00809478759765625, 0.0894775390625, 0.006221771240234375, 0.0018291473388671875, 0.03826904296875, 0.0120086669921875, 0.0254974365234375, -0.033660888671875, -0.0309600830078125, -0.019378662109375, 0.034423828125, -0.026611328125, 0.0087738037109375, -0.03680419921875, -0.033111572265625, -0.0020542144775390625, 0.0743408203125, -0.00771331787109375, -0.0270538330078125, -0.0025386810302734375, -0.0023212432861328125, -0.0007443428039550781, 0.0015659332275390625, -0.0225372314453125, -0.0154266357421875, -0.07928466796875, 0.0181732177734375, 0.0060272216796875, -0.032745361328125, -0.017578125, 0.03948974609375, -0.03924560546875, -0.01201629638671875, 0.0275421142578125, 0.0279998779296875, -0.021881103515625, 0.0270843505859375, -0.0106353759765625, 0.0217742919921875, -0.033660888671875, 0.00994110107421875, 0.00469207763671875, -0.0025787353515625, -0.01270294189453125, 0.0022487640380859375, 0.022186279296875, -0.0190277099609375, 0.00812530517578125, 0.02191162109375, 0.01136016845703125, 0.0209808349609375, 0.01384735107421875, -0.0009264945983886719, 0.0270843505859375, -0.025238037109375, 0.0161590576171875, -0.0526123046875, 0.014984130859375, -0.0267791748046875, -0.03167724609375, -0.045440673828125, -0.046051025390625, -0.0174102783203125, -0.020843505859375, -0.0299835205078125, -0.04840087890625, -0.0389404296875, 0.020111083984375, 0.045379638671875, 0.01763916015625, 0.00495147705078125, -0.0447998046875, -0.059600830078125, 0.00490570068359375, 0.0254669189453125, -0.02227783203125, 0.002044677734375, 0.020355224609375, 0.02520751953125, -0.0258636474609375, 0.0230255126953125, 0.01160430908203125, 0.04718017578125, -0.021728515625, 0.0279693603515625, 0.0011682510375976562, -0.05029296875, 0.1068115234375, -0.00811004638671875, -0.0046234130859375, -0.0302276611328125, 0.059173583984375, -0.031097412109375, -0.032196044921875, 0.035858154296875, -0.043426513671875, 0.006221771240234375, 0.024810791015625, -0.0496826171875, 0.01218414306640625, -0.05328369140625, 0.0323486328125, -0.036163330078125, 0.052642822265625, -0.036224365234375, -0.0112152099609375, 0.005794525146484375, 0.01456451416015625, 0.04736328125, 0.0372314453125, 0.000652313232421875, 0.032562255859375, 0.037506103515625, -0.003406524658203125, 0.039581298828125, 0.0231781005859375, 0.006500244140625, 0.028778076171875, 0.0033702850341796875, -0.0213623046875, 0.0182647705078125, -0.0130462646484375, 0.04986572265625, 0.01242828369140625, -0.0245513916015625, 0.0295257568359375, -0.033294677734375, -0.0556640625, -0.00299835205078125, 0.006740570068359375, 0.04107666015625, 0.0189971923828125, 0.0128326416015625, 0.007720947265625, -0.00007224082946777344, 0.00608062744140625, -0.033294677734375, 0.0099334716796875, -0.0005865097045898438, 0.0029277801513671875, -0.00528717041015625, 0.07476806640625, 0.017913818359375, 0.0239715576171875, -0.03436279296875, 0.0163116455078125, 0.0262451171875, 0.039398193359375, 0.01012420654296875, -0.01335906982421875, -0.0035495758056640625, 0.00792694091796875, 0.007564544677734375, -0.0234375, 0.01259613037109375, 0.032135009765625, 0.05047607421875, -0.025909423828125, -0.0357666015625, 0.016082763671875, -0.047027587890625, -0.005126953125, 0.037078857421875, 0.03326416015625, -0.022125244140625, -0.0054779052734375, 0.02496337890625, -0.0102386474609375, 0.01270294189453125, 0.0051116943359375, 0.00016558170318603516, -0.02679443359375, -0.0005917549133300781, -0.0157470703125, 0.00748443603515625, -0.034088134765625, -0.030975341796875, -0.0093841552734375, -0.042572021484375, -0.000507354736328125, 0.0113372802734375, 0.03497314453125, -0.031768798828125, -0.02996826171875, 0.0214691162109375, 0.0172882080078125, 0.0699462890625, -0.040985107421875, -0.044586181640625, 0.044097900390625, -0.010894775390625, 0.01073455810546875, -0.0285797119140625, -0.00791168212890625, 0.005645751953125, -0.044586181640625, -0.002574920654296875, 0.01611328125, -0.0277862548828125, -0.00037741661071777344, -0.0223236083984375, -0.0023136138916015625, 0.037933349609375, -0.001255035400390625, 0.0299530029296875, 0.006610870361328125, 0.01061248779296875, -0.0223541259765625, 0.061737060546875, 0.00682830810546875, 0.055206298828125, -0.01088714599609375, 0.044830322265625, 0.021514892578125, 0.043212890625, -0.020843505859375, -0.031402587890625, 0.0161285400390625, 0.026702880859375, -0.032073974609375, -0.029693603515625, -0.004123687744140625, -0.0271759033203125, 0.053741455078125, -0.01049041748046875, -0.003002166748046875, 0.00630950927734375, 0.0218658447265625, -0.0246124267578125, -0.02685546875, -0.004566192626953125, -0.043182373046875, 0.0223541259765625, -0.01403045654296875, -0.022064208984375, 0.01322174072265625, 0.04486083984375, -0.050262451171875, 0.0029277801513671875, -0.0352783203125, -0.005603790283203125, -0.0126495361328125, 0.0033397674560546875, 0.0888671875, 0.020263671875, 0.06964111328125, 0.006313323974609375, 0.040985107421875, 0.090576171875, 0.020843505859375, 0.0027790069580078125, -0.01406097412109375, 0.040069580078125, 0.0160675048828125, 0.0250701904296875, 0.0504150390625, -0.004245758056640625, -0.0266876220703125, -0.005008697509765625, 0.024810791015625, -0.0105743408203125, -0.0023746490478515625, 0.0086822509765625, -0.00446319580078125, -0.0355224609375, 0.006725311279296875, 0.0032634735107421875, -0.0190582275390625, 0.0220184326171875, -0.01422119140625, -0.0020503997802734375, 0.01593017578125, -0.0124053955078125, -0.0032558441162109375, -0.01543426513671875, 0.0008969306945800781, -0.002655029296875, 0.0021152496337890625, -0.037353515625, 0.0008025169372558594, -0.0229949951171875, -0.04376220703125, 0.004428863525390625, 0.0111541748046875, -0.006732940673828125, -0.0312042236328125, 0.043548583984375, -0.0016756057739257812, 0.033935546875, 0.0390625, -0.002162933349609375, 0.029876708984375, -0.0003528594970703125, 0.003299713134765625, -0.0190277099609375, -0.035064697265625, 0.00162506103515625, 0.05426025390625, -0.021728515625, 0.0024662017822265625, -0.0206146240234375, -0.0487060546875, 0.0012807846069335938, -0.0216217041015625, -0.0171051025390625, -0.0011816024780273438, 0.0117950439453125, 0.07598876953125, -0.056427001953125, -0.01360321044921875, 0.0325927734375, 0.039794921875, -0.01027679443359375, -0.024444580078125, -0.0177459716796875, -0.003589630126953125, 0.04364013671875, -0.04180908203125, 0.0138702392578125, 0.0249481201171875, -0.046875, -0.08447265625, 0.063232421875, 0.0038661956787109375, 0.04913330078125, -0.00365447998046875, 0.0192108154296875, 0.00989532470703125, 0.0010433197021484375, -0.03558349609375, 0.04571533203125, -0.016571044921875, 0.052093505859375, -0.03997802734375, -0.01904296875, 0.0146331787109375, 0.0264892578125, 0.0673828125, 0.01824951171875, -0.036285400390625, -0.00844573974609375, 0.0185394287109375, 0.01885986328125, -0.0192413330078125, 0.051422119140625, 0.00466156005859375, 0.041412353515625, 0.08184814453125, -0.06353759765625, 0.026458740234375, -0.00732421875, 0.0255279541015625, -0.00588226318359375, 0.00672149658203125, -0.01367950439453125, 0.002162933349609375, -0.01018524169921875, -0.0831298828125, 0.0177459716796875, 0.040924072265625, 0.01251220703125, 0.021636962890625, 0.046478271484375, 0.07470703125, -0.05035400390625, -0.02386474609375, -0.0274810791015625, 0.0667724609375, 0.005146026611328125, 0.00030803680419921875, 0.00830841064453125, 0.0180511474609375, 0.0169525146484375, 0.0043792724609375, -0.01419830322265625, 0.024627685546875, 0.006649017333984375, 0.12200927734375, 0.04046630859375, 0.025787353515625, -0.070068359375, -0.05621337890625, 0.0288238525390625, 0.1378173828125, -0.054595947265625, -0.01428985595703125, 0.0007519721984863281, -0.0088348388671875, 0.0325927734375, -0.0033588409423828125, 0.0701904296875, 0.02886962890625, -0.0012178421020507812, 0.0149078369140625, -0.0187530517578125, 0.019256591796875, 0.03363037109375, 0.0255584716796875, 0.016845703125, -0.03851318359375, -0.0155181884765625, -0.0274810791015625, -0.0014934539794921875, 0.0177459716796875, -0.0015325546264648438, 0.01201629638671875, 0.005245208740234375, 0.04388427734375, 0.003932952880859375, -0.0016727447509765625, 0.00008744001388549805, -0.01557159423828125, 0.0085906982421875, -0.0008497238159179688, -0.004741668701171875, -0.009429931640625, 0.01641845703125, 0.00905609130859375, 0.02410888671875, 0.032562255859375, -0.0278472900390625, -0.045379638671875, 0.008575439453125, 0.01538848876953125, -0.05865478515625, 0.041717529296875, -0.035186767578125, 0.027069091796875, 0.0013895034790039062, -0.01776123046875, -0.0318603515625, -0.007251739501953125, 0.049957275390625, -0.007049560546875, 0.0546875, -0.000980377197265625, -0.0013952255249023438, 0.00608062744140625, 0.004993438720703125, 0.036651611328125, 0.016998291015625, -0.0247955322265625, 0.0228271484375, -0.06292724609375, -0.054168701171875, 0.007049560546875, 0.020416259765625, -0.0021686553955078125, 0.01012420654296875, 0.01378631591796875, 0.018798828125, 0.00012159347534179688, -0.0311737060546875, 0.01497650146484375, 0.0118408203125, 0.021392822265625, 0.0183563232421875, -0.05206298828125, -0.018890380859375, -0.0084228515625, -0.0190887451171875, 0.042266845703125, -0.037872314453125, 0.05938720703125, 0.021484375, -0.0262908935546875, 0.04632568359375, -0.072021484375, -0.033599853515625, 0.056884765625, -0.016998291015625, 0.00531768798828125, 0.0123138427734375, -0.08612060546875, 0.0721435546875, -0.01360321044921875, 0.042388916015625, 0.059814453125, -0.024932861328125, 0.011260986328125, 0.03497314453125, 0.0164031982421875, -0.0304718017578125, -0.04058837890625, -0.0248565673828125, -0.016632080078125, 0.0171966552734375, 0.0299224853515625, 0.00848388671875, 0.039581298828125, 0.00275421142578125, -0.0237884521484375, 0.00859832763671875, -0.0308685302734375, 0.031982421875, 0.03143310546875, -0.01457977294921875, 0.01062774658203125, 0.004261016845703125, -0.0162811279296875, 0.0262298583984375, -0.005168914794921875, 0.007526397705078125, 0.0091552734375, 0.0013179779052734375, -0.0021305084228515625, -0.0246429443359375, 0.0280914306640625, -0.0083770751953125, -0.002056121826171875, -0.029052734375, 0.01146697998046875, 0.00650787353515625, -0.083740234375, -0.03131103515625, -0.041107177734375, 0.0169830322265625, 0.043243408203125, -0.0036334991455078125, -0.0075836181640625, -0.03216552734375, 0.03179931640625, 0.0040130615234375, 0.01108551025390625, -0.05633544921875, 0.07470703125, -0.03131103515625, 0.004413604736328125, -0.017730712890625, 0.035491943359375, -0.01434326171875, -0.0012159347534179688, -0.0399169921875, -0.012420654296875, -0.0267791748046875, 0.02154541015625, -0.0000858306884765625, -0.00791168212890625, 0.00672149658203125, 0.0041961669921875, -0.0173797607421875, -0.040130615234375, -0.0233917236328125, 0.01947021484375, -0.0272674560546875, -0.0252227783203125, 0.019561767578125, -0.003185272216796875, -0.017913818359375, -0.0352783203125, 0.00913238525390625, -0.0250091552734375, 0.02032470703125, -0.0225067138671875, 0.0074615478515625, 0.00952911376953125, -0.024261474609375, -0.031097412109375, 0.023223876953125, 0.004482269287109375, -0.024139404296875, -0.05535888671875, 0.011688232421875, 0.01509857177734375, -0.0267791748046875, -0.038818359375, -0.003955841064453125, -0.020599365234375, 0.0340576171875, 0.0222930908203125, 0.018035888671875, 0.0172119140625, 0.0166778564453125, -0.046356201171875, 0.0304412841796875, 0.0121612548828125, 0.017120361328125, 0.01548004150390625, -0.0175323486328125, 0.037139892578125, 0.028778076171875, -0.056549072265625, 0.00726318359375, -0.005615234375, 0.037994384765625, -0.0270538330078125, -0.0252532958984375, -0.016021728515625, -0.008270263671875, 0.06689453125, 0.053375244140625, 0.01390838623046875, -0.02587890625, 0.004180908203125, -0.00638580322265625, -0.025787353515625, 0.007633209228515625, 0.0214080810546875, -0.046051025390625, 0.00331878662109375, 0.00641632080078125, -0.033660888671875, 0.01422119140625, -0.008148193359375, -0.055389404296875, 0.032958984375, 0.00458526611328125, 0.01277923583984375, -0.0733642578125, 0.03741455078125, 0.049346923828125, -0.060638427734375, -0.0207061767578125, -0.0018463134765625, 0.00298309326171875, 0.0002294778823852539, -0.06280517578125, 0.047637939453125, 0.054473876953125, -0.0173492431640625, -0.01107025146484375, 0.0535888671875, -0.00893402099609375, 0.00865936279296875, -0.0299224853515625, -0.027557373046875, 0.0066680908203125, 0.004955291748046875, -0.0032672882080078125, 0.00969696044921875, -0.051177978515625, -0.0202178955078125, 0.052215576171875, -0.0181732177734375, 0.0430908203125, -0.01134490966796875, 0.0460205078125, -0.0252227783203125, -0.0006470680236816406, 0.01160430908203125, -0.05303955078125, -0.0206756591796875, -0.0007200241088867188, -0.035003662109375, -0.07427978515625, 0.0258331298828125, -0.0152130126953125, -0.0005207061767578125, 0.02862548828125 ]
833a96c6d7d4447b50548b4150a6623971d7359b
Wordpress Stackexchange Q: the_post_thumbnail hard cropping not working no matter what No matter what I do - I can't get the hard cropping mode in the_post_thumbnail to work. Here's what I have: add_image_size( 'Blog', 300, 300, true ); the_post_thumbnail('Blog'); I've also tried: set_post_thumbnail_size( 300, 300, true ); the_post_thumbnail(); I've tried uploading new images, and using the "Regenerate Thumbnails" plugin, but still no luck. It completely ignores the "true", and acts as if it's "false". For example, instead of the image being 300x300, it'll be 300x238 or something. Has anyone else experienced this? My GD Library is enabled.. Thanks for any input anyone can offer =) A: A lot of the time the reason it isn't working because you haven't regenerated the thumbnails for all your images. If you have changed the dimensions of your images you will need to regenerate your thumbnails using this plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
Q: the_post_thumbnail hard cropping not working no matter what No matter what I do - I can't get the hard cropping mode in the_post_thumbnail to work. Here's what I have: add_image_size( 'Blog', 300, 300, true ); the_post_thumbnail('Blog'); I've also tried: set_post_thumbnail_size( 300, 300, true ); the_post_thumbnail(); I've tried uploading new images, and using the "Regenerate Thumbnails" plugin, but still no luck. It completely ignores the "true", and acts as if it's "false". For example, instead of the image being 300x300, it'll be 300x238 or something. Has anyone else experienced this? My GD Library is enabled.. Thanks for any input anyone can offer =) A: A lot of the time the reason it isn't working because you haven't regenerated the thumbnails for all your images. If you have changed the dimensions of your images you will need to regenerate your thumbnails using this plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/ A: I would say that you might not have the GD libraries installed on your server. Without this, you will only get the file uploads and no image crops. First, do a sanity check by calling phpinfo() to see if GD is installed. GD Installation on Linux If you have shell access, simply type this command: sudo apt-get install php5-gd You'll need to restart the server after installing GD Here's the command to reboot Apache: /etc/init.d/apache2 restart Shared Hosting If you're on a shared box, you'll need to contact your host and have them install it on your server. One Last Thing Does your theme have thumbnail support? add_theme_support('post-thumbnails'); A: I've actually finally fixed this issue. It seems that the hard-cropping works if you set the image size inside a function that is hooked into the "after_setup_theme" hook. So, the below would work: function add_custom_sizes() { add_image_size( 'portfolio-thumb', 243, 163, true ); add_image_size( 'portfolio-image', 1074, 725, true ); add_image_size( 'available-homes', 500, 279, true ); add_image_size( 'idea-thumb', 146, 141, true ); } add_action('after_setup_theme','add_custom_sizes'); This will allow you to get actual hard cropped images using the sizes specified using the_post_thumbnail(). Hope this helps someone else as well. A: Instead of defining the post thumbnail size as blog why not just set the post thumbnail explicitly in the template where you want it to show up... the_post_thumbnail($post->ID, array(300,300, true)); A: I've just had this same issue and the answer for me was regenerating thumbnails as bryceadams suggested (I don't have enough points to vote for his response unfortunately). Caveat: The images must be stored locally not remotely. Presumably no thumbnails are generated for remote images. A: In my case, this issue was caused by filer permissions on the images. I had copied the images from one server to another, forgetting to change the ownership. When new image sizes were set, and I regenerated them, the old images weren't overwritten as they should have been. To fix this I connected to my server with SSH, navigated to the wp-content/uploads folder and reset the ownership of all the images there. e.g. chown -R {web user}:{group} . Hope that helps someone. A: You'll never have a hard-cropped image other than the default sizes. You'll not get this answer in WP forums, or if you do, they'll show you a carrot for weeks until you get anxious and get blocked or they fixed it silently. The hard-cropped images are only for * *Thumbnail *All other sizes EXCEPT thumbnail AND YOUR CUSTOM SIZES Things that are not possible are NEVER shown in the front end or tried to be covered up in forums as much as possible (our free .org project is their .com product) even if the above options got you pulling your hair for months. The second option should read "ALL OTHER SIZES EXCEPT YOURS" I'm developing a plugin for that, and an extra magic. I'll get it done soon, but I'll need some help to publish it in the plugins library since I've been banned! hehe (for helping others with un-reported (or ignored) bugs) A: I had the same issue and installed a plugin that allows to regenerate one/some/all of your images. This is the plugin: [http://wordpress.org/plugins/regenerate-thumbnails/] I did not find the way of doing it from the WP admin UI except if you delete and upload the image again. Another way of doing it, if you do not want to use a plugin, would be to do it with PHP functions function wp_regenerate() { include( ABSPATH . 'wp-admin/includes/image.php' ); wp_generate_attachment_metadata( $thumbnail_id, $absolute_path_to_image ); } add_action('after_setup_theme', 'wp_regenerate'); where $thumbnail_id and $absolute_path_to_image have to be set with the values you want. Thanks to @briceadams and @adriaticiq. I cannot yet vote you but I will as soon as I am allowed.
wordpress
{ "language": "en", "length": 768, "provenance": "stackexchange_00019.jsonl.gz:415207", "question_score": "8", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35833" }
[ 0.01160430908203125, -0.03564453125, 0.03936767578125, 0.05560302734375, -0.03900146484375, -0.0225982666015625, 0.0714111328125, -0.05450439453125, 0.057769775390625, 0.0157623291015625, -0.0762939453125, 0.024810791015625, 0.00594329833984375, 0.005832672119140625, -0.0478515625, -0.006175994873046875, 0.06390380859375, -0.0582275390625, 0.0141754150390625, -0.00921630859375, 0.01399993896484375, 0.033111572265625, 0.039459228515625, 0.11181640625, -0.01031494140625, 0.0306854248046875, 0.08551025390625, -0.0206451416015625, -0.0189971923828125, -0.02740478515625, 0.006198883056640625, -0.0024509429931640625, 0.030364990234375, 0.01306915283203125, -0.0433349609375, -0.0172271728515625, 0.00445556640625, -0.0166015625, -0.0306396484375, 0.03668212890625, 0.005306243896484375, 0.00293731689453125, -0.0267486572265625, -0.01041412353515625, -0.048126220703125, -0.0150909423828125, -0.0162811279296875, -0.0021724700927734375, -0.006053924560546875, -0.016571044921875, 0.00266265869140625, -0.00732421875, 0.03521728515625, -0.003910064697265625, -0.01421356201171875, -0.0213623046875, -0.06890869140625, 0.07379150390625, 0.032318115234375, 0.0019159317016601562, -0.0178985595703125, 0.003665924072265625, -0.004512786865234375, -0.002750396728515625, -0.00632476806640625, -0.0120849609375, -0.0280609130859375, -0.0028018951416015625, -0.01334381103515625, 0.01136016845703125, 0.043853759765625, -0.0215301513671875, 0.0026569366455078125, -0.027801513671875, 0.0128021240234375, 0.022186279296875, -0.04876708984375, -0.01092529296875, 0.0269012451171875, -0.00420379638671875, 0.0210418701171875, -0.0179290771484375, -0.029296875, 0.0209197998046875, 0.0008182525634765625, 0.03839111328125, -0.003467559814453125, -0.0261077880859375, -0.0267486572265625, -0.01338958740234375, -0.017486572265625, -0.03973388671875, -0.049713134765625, 0.0250244140625, 0.0057525634765625, -0.012725830078125, 0.026153564453125, 0.048797607421875, -0.038970947265625, -0.0298919677734375, 0.018768310546875, -0.052490234375, 0.022552490234375, -0.030181884765625, 0.037689208984375, 0.00036978721618652344, -0.0159149169921875, -0.025421142578125, 0.056793212890625, 0.043365478515625, -0.0150299072265625, 0.0831298828125, 0.0156402587890625, -0.01325225830078125, -0.0328369140625, -0.01160430908203125, -0.01549530029296875, 0.00875091552734375, 0.0176239013671875, -0.0014963150024414062, 0.0084991455078125, 0.040740966796875, -0.0293426513671875, -0.035369873046875, 0.031768798828125, 0.03350830078125, 0.0008406639099121094, -0.037200927734375, 0.0172576904296875, 0.019073486328125, -0.052764892578125, 0.040863037109375, 0.016357421875, -0.046234130859375, -0.0303497314453125, -0.01293182373046875, -0.0307464599609375, -0.07275390625, -0.0270233154296875, 0.006473541259765625, -0.02557373046875, 0.004543304443359375, 0.052734375, -0.03387451171875, 0.0106048583984375, 0.0154266357421875, 0.007228851318359375, 0.026519775390625, 0.01629638671875, -0.018707275390625, 0.009674072265625, -0.0234222412109375, 0.0258636474609375, 0.01410675048828125, 0.0085296630859375, -0.0467529296875, 0.0723876953125, -0.0614013671875, 0.005718231201171875, -0.07586669921875, 0.0792236328125, -0.00206756591796875, -0.01306915283203125, -0.0094451904296875, -0.042572021484375, 0.0073394775390625, -0.08551025390625, -0.020294189453125, 0.0193328857421875, 0.01010894775390625, 0.006000518798828125, 0.03369140625, 0.00104522705078125, 0.0243988037109375, 0.016845703125, 0.0072174072265625, 0.039154052734375, -0.0234527587890625, 0.00411224365234375, 0.05816650390625, -0.010833740234375, -0.013671875, 0.0293426513671875, -0.031646728515625, 0.0266265869140625, -0.0631103515625, 0.016326904296875, -0.01412200927734375, 0.01013946533203125, 0.0379638671875, -0.0276641845703125, -0.004100799560546875, -0.0024261474609375, 0.049530029296875, 0.00780487060546875, -0.0193634033203125, -0.03533935546875, 0.0007262229919433594, -0.0163421630859375, -0.0311126708984375, 0.0241241455078125, -0.015045166015625, 0.008453369140625, -0.01300811767578125, -0.048065185546875, 0.00267791748046875, -0.03662109375, 0.028594970703125, -0.0024967193603515625, 0.003009796142578125, 0.012176513671875, -0.0008716583251953125, -0.044677734375, 0.0135955810546875, -0.051910400390625, -0.00740814208984375, -0.0330810546875, -0.021453857421875, -0.0273895263671875, 0.0242156982421875, -0.0455322265625, -0.0201263427734375, -0.046051025390625, 0.0137939453125, 0.044281005859375, -0.013397216796875, -0.0150909423828125, -0.0273284912109375, -0.0162353515625, -0.0070953369140625, -0.06866455078125, 0.0791015625, 0.00811767578125, 0.0160675048828125, -0.028717041015625, -0.00623321533203125, -0.01047515869140625, -0.0322265625, 0.012603759765625, 0.04339599609375, 0.030303955078125, 0.0604248046875, -0.0092926025390625, -0.01222991943359375, 0.0894775390625, 0.01197052001953125, 0.012664794921875, -0.018951416015625, 0.0005879402160644531, -0.020660400390625, -0.029083251953125, -0.0386962890625, 0.0318603515625, -0.0533447265625, 0.0208740234375, 0.0292816162109375, -0.01340484619140625, 0.0313720703125, -0.00760650634765625, 0.03369140625, -0.01212310791015625, 0.0295257568359375, 0.03192138671875, -0.0162811279296875, 0.0006089210510253906, 0.0220489501953125, 0.01203155517578125, 0.003208160400390625, -0.032684326171875, 0.0264434814453125, 0.0139312744140625, -0.006450653076171875, 0.0052337646484375, 0.0300140380859375, 0.020111083984375, 0.0161590576171875, -0.053558349609375, -0.00366973876953125, 0.03582763671875, 0.021759033203125, -0.0075225830078125, 0.033660888671875, -0.01026153564453125, -0.00930023193359375, -0.02899169921875, -0.03485107421875, 0.01122283935546875, 0.0275115966796875, 0.015655517578125, -0.01015472412109375, -0.0026397705078125, 0.042724609375, 0.004535675048828125, 0.037841796875, -0.008880615234375, 0.00426483154296875, 0.002124786376953125, -0.07208251953125, 0.0806884765625, -0.041534423828125, 0.0596923828125, 0.09075927734375, -0.00769805908203125, 0.04571533203125, 0.00696563720703125, -0.00897979736328125, -0.012939453125, 0.0162811279296875, 0.0054473876953125, -0.02099609375, -0.03314208984375, -0.00152587890625, 0.0220794677734375, 0.08074951171875, -0.028594970703125, -0.05096435546875, 0.00872802734375, 0.03826904296875, -0.04327392578125, -0.024169921875, -0.02996826171875, -0.0826416015625, -0.0093231201171875, -0.00930023193359375, -0.046783447265625, 0.0088348388671875, 0.0210418701171875, 0.008056640625, -0.016143798828125, -0.006267547607421875, -0.01248931884765625, -0.022308349609375, -0.0526123046875, -0.0180816650390625, 0.01166534423828125, 0.0245819091796875, 0.0245208740234375, -0.01111602783203125, -0.0008959770202636719, -0.056304931640625, 0.01062774658203125, 0.0207672119140625, -0.002960205078125, 0.0167083740234375, -0.006801605224609375, 0.0268707275390625, -0.0205230712890625, -0.00502777099609375, -0.0029735565185546875, 0.04205322265625, -0.044921875, -0.0025119781494140625, -0.047393798828125, -0.0304412841796875, -0.040252685546875, 0.04168701171875, 0.0673828125, -0.01538848876953125, 0.006542205810546875, -0.04156494140625, -0.0185394287109375, -0.036041259765625, -0.050537109375, 0.016265869140625, 0.0286102294921875, 0.01039886474609375, -0.02716064453125, 0.01355743408203125, 0.03466796875, 0.037078857421875, 0.0004189014434814453, 0.024383544921875, 0.00704193115234375, 0.0032634735107421875, 0.01230621337890625, -0.024383544921875, -0.06829833984375, -0.04339599609375, 0.047515869140625, -0.05010986328125, 0.026519775390625, -0.01094818115234375, 0.034912109375, -0.056488037109375, -0.02508544921875, 0.0214691162109375, -0.005199432373046875, 0.020599365234375, -0.0044403076171875, -0.0216217041015625, 0.0106964111328125, 0.06793212890625, -0.0928955078125, -0.038665771484375, -0.0282440185546875, 0.0316162109375, 0.00849151611328125, -0.054046630859375, 0.01454925537109375, -0.032196044921875, -0.08343505859375, -0.0162353515625, 0.0165863037109375, -0.0660400390625, 0.00255584716796875, 0.035186767578125, -0.061981201171875, -0.0191802978515625, 0.00901031494140625, 0.034576416015625, -0.008880615234375, 0.00263214111328125, -0.01418304443359375, 0.0225677490234375, -0.01132965087890625, -0.0047454833984375, -0.0924072265625, -0.025848388671875, 0.012664794921875, 0.0672607421875, -0.04681396484375, 0.050384521484375, -0.0517578125, 0.040069580078125, -0.004215240478515625, 0.0210723876953125, 0.0147552490234375, 0.0089874267578125, 0.02203369140625, 0.0279388427734375, 0.027618408203125, -0.01132965087890625, 0.00225830078125, -0.03466796875, -0.035614013671875, -0.0148773193359375, -0.0287628173828125, 0.014892578125, -0.004573822021484375, -0.01387786865234375, -0.0335693359375, -0.01204681396484375, 0.00717926025390625, 0.0204620361328125, -0.029693603515625, 0.0230712890625, -0.03399658203125, -0.02105712890625, 0.07269287109375, -0.014251708984375, 0.00859832763671875, -0.004596710205078125, 0.10845947265625, -0.00012636184692382812, -0.017303466796875, -0.05096435546875, -0.00978851318359375, 0.02886962890625, -0.002315521240234375, 0.04278564453125, 0.0173492431640625, -0.026092529296875, 0.036224365234375, 0.0211181640625, -0.0290679931640625, -0.0216217041015625, 0.0665283203125, -0.01641845703125, 0.004375457763671875, 0.0004837512969970703, -0.04913330078125, 0.044830322265625, 0.0254669189453125, -0.0157318115234375, -0.025177001953125, -0.0309295654296875, 0.049285888671875, -0.0027256011962890625, 0.0110931396484375, -0.055999755859375, -0.02288818359375, 0.0265045166015625, -0.04119873046875, 0.042388916015625, 0.0237884521484375, -0.00942230224609375, 0.0297088623046875, 0.0219879150390625, -0.00872802734375, 0.0097503662109375, 0.0102081298828125, 0.0165557861328125, 0.05035400390625, 0.0015096664428710938, 0.0116424560546875, -0.00971221923828125, 0.01213836669921875, 0.0004978179931640625, 0.0421142578125, -0.00533294677734375, -0.028717041015625, 0.0215301513671875, -0.001575469970703125, -0.046875, -0.028472900390625, 0.0540771484375, 0.020263671875, -0.001857757568359375, 0.0092926025390625, -0.038726806640625, -0.022003173828125, -0.056671142578125, 0.025787353515625, 0.015655517578125, -0.01947021484375, 0.0662841796875, -0.0194549560546875, 0.016510009765625, 0.007717132568359375, -0.00336456298828125, 0.051605224609375, 0.0570068359375, 0.0303802490234375, 0.01142120361328125, -0.0144195556640625, -0.02191162109375, 0.016632080078125, -0.014068603515625, -0.022552490234375, -0.01117706298828125, 0.009033203125, 0.031158447265625, -0.01163482666015625, -0.007602691650390625, 0.01641845703125, -0.004230499267578125, -0.005229949951171875, -0.0020046234130859375, -0.03955078125, -0.04571533203125, 0.00476837158203125, 0.047393798828125, 0.0421142578125, -0.035308837890625, -0.05267333984375, 0.0162353515625, -0.057037353515625, 0.0225677490234375, 0.028289794921875, -0.034942626953125, 0.035186767578125, 0.0238494873046875, -0.0205230712890625, -0.032257080078125, -0.032073974609375, 0.0535888671875, 0.002437591552734375, -0.0164337158203125, -0.0234527587890625, 0.041015625, -0.038604736328125, 0.0080718994140625, -0.0006012916564941406, -0.0016469955444335938, -0.01800537109375, 0.03125, 0.009857177734375, 0.01332855224609375, -0.033355712890625, -0.010528564453125, -0.060821533203125, -0.0233001708984375, 0.0284271240234375, 0.01143646240234375, -0.025177001953125, -0.01245880126953125, -0.0078887939453125, 0.01488494873046875, -0.01568603515625, -0.016571044921875, -0.00290679931640625, 0.008209228515625, 0.004650115966796875, 0.0267486572265625, -0.01485443115234375, 0.0084991455078125, -0.007717132568359375, 0.04425048828125, -0.0148773193359375, -0.01218414306640625, -0.002887725830078125, -0.017364501953125, -0.006961822509765625, -0.07879638671875, 0.0080718994140625, 0.01256561279296875, 0.006847381591796875, 0.015960693359375, -0.0031490325927734375, 0.00968170166015625, 0.01186370849609375, -0.030242919921875, -0.003635406494140625, -0.0160675048828125, 0.03363037109375, -0.054962158203125, -0.0161285400390625, 0.032806396484375, -0.04052734375, 0.04742431640625, 0.0075836181640625, 0.00189208984375, 0.01084136962890625, -0.0592041015625, 0.00942230224609375, 0.08740234375, 0.029541015625, -0.00609588623046875, 0.06292724609375, -0.0165863037109375, 0.031585693359375, 0.047149658203125, 0.006381988525390625, 0.0230560302734375, 0.0034694671630859375, 0.00690460205078125, 0.0029735565185546875, 0.01580810546875, -0.01247406005859375, -0.008697509765625, -0.0189971923828125, -0.023223876953125, 0.043792724609375, 0.00664520263671875, 0.050933837890625, -0.024261474609375, 0.0289459228515625, 0.030853271484375, -0.031951904296875, 0.039306640625, -0.010345458984375, -0.00324249267578125, 0.0271759033203125, 0.08074951171875, -0.05963134765625, -0.020172119140625, 0.0292816162109375, -0.0045928955078125, -0.01371002197265625, -0.006557464599609375, -0.0266876220703125, 0.00659942626953125, -0.0755615234375, 0.00824737548828125, 0.04931640625, -0.041229248046875, 0.00629425048828125, 0.03143310546875, -0.0286407470703125, -0.004634857177734375, -0.040802001953125, -0.00930023193359375, -0.039886474609375, -0.022216796875, 0.0078582763671875, 0.02777099609375, 0.03521728515625, 0.047882080078125, 0.0012769699096679688, 0.01149749755859375, 0.019134521484375, -0.0265350341796875, 0.0250396728515625, -0.0180511474609375, 0.0298919677734375, 0.01129150390625, -0.039306640625, 0.01062774658203125, -0.01093292236328125, -0.0184783935546875, -0.021820068359375, -0.01763916015625, 0.0673828125, -0.0155792236328125, -0.02130126953125, -0.01029205322265625, 0.021697998046875, 0.0171661376953125, -0.01678466796875, 0.03057861328125, -0.04949951171875, 0.0238189697265625, 0.00899505615234375, 0.038330078125, -0.00833892822265625, -0.016510009765625, -0.044830322265625, 0.046783447265625, 0.00010842084884643555, 0.01486968994140625, -0.020965576171875, 0.01528167724609375, 0.00616455078125, 0.007732391357421875, -0.03863525390625, -0.00485992431640625, -0.05987548828125, 0.031097412109375, -0.040740966796875, 0.0282745361328125, -0.01800537109375, -0.022125244140625, 0.01151275634765625, -0.0114593505859375, -0.081298828125, -0.0196990966796875, 0.06787109375, 0.057891845703125, 0.05877685546875, 0.040069580078125, -0.0167083740234375, 0.0135345458984375, 0.021026611328125, -0.0281219482421875, 0.017303466796875, 0.00792694091796875, -0.044830322265625, 0.0167999267578125, -0.0088043212890625, -0.01398468017578125, -0.01006317138671875, 0.031646728515625, -0.038299560546875, -0.018096923828125, 0.0325927734375, -0.063720703125, 0.039947509765625, 0.052490234375, 0.03424072265625, 0.0237579345703125, -0.0457763671875, -0.004116058349609375, 0.043426513671875, -0.014404296875, 0.0257415771484375, -0.0274505615234375, 0.0021648406982421875, 0.036407470703125, -0.0270538330078125, 0.0010290145874023438, 0.044464111328125, -0.0299072265625, 0.0017795562744140625, 0.00033164024353027344, 0.0013189315795898438, -0.000392913818359375, 0.02569580078125, 0.0018987655639648438, -0.020172119140625, -0.028228759765625, -0.045318603515625, 0.00787353515625, 0.0182342529296875, 0.0086212158203125, -0.0041656494140625, -0.023193359375, -0.06182861328125, 0.0106353759765625, -0.0279083251953125, 0.0013942718505859375, 0.05340576171875, 0.017364501953125, 0.00926971435546875, -0.004398345947265625, -0.051971435546875, 0.0095977783203125, -0.006534576416015625, -0.023406982421875, 0.040008544921875, 0.035980224609375, 0.0025157928466796875, 0.035369873046875, -0.014129638671875, -0.0008997917175292969, 0.004878997802734375, 0.0316162109375, -0.03436279296875, 0.01105499267578125, -0.0208587646484375, -0.0439453125, -0.01593017578125, 0.033203125, -0.01287078857421875, -0.01444244384765625, 0.04571533203125, 0.023651123046875, -0.074462890625, -0.0273284912109375, -0.0003592967987060547, -0.047332763671875, -0.00289154052734375, -0.040374755859375, 0.0279388427734375, -0.0085601806640625, 0.0081329345703125, -0.01031494140625, 0.03143310546875, -0.00011920928955078125, -0.0167236328125, 0.035125732421875, 0.006000518798828125, -0.0230560302734375, 0.0182037353515625, -0.01209259033203125, 0.075439453125, 0.0139007568359375, -0.028350830078125, 0.0008487701416015625, -0.0203857421875, -0.047027587890625, 0.0013265609741210938, 0.0196990966796875, -0.037628173828125, 0.0540771484375, 0.0159759521484375, -0.027557373046875, 0.0175018310546875, -0.00394439697265625, 0.0260009765625, -0.0005693435668945312, -0.0045318603515625, -0.0033416748046875, -0.036834716796875, -0.01519775390625, -0.0204925537109375, 0.0290679931640625, -0.01042938232421875, 0.075439453125, -0.02447509765625, 0.01267242431640625, -0.006587982177734375, 0.0053253173828125, 0.004573822021484375, -0.006610870361328125, -0.00402069091796875, 0.021820068359375, 0.0118255615234375, -0.0231475830078125, -0.037567138671875, -0.0229339599609375, 0.028778076171875, -0.0268096923828125, -0.01335906982421875, -0.0289764404296875, 0.0182952880859375, 0.0203857421875, -0.002140045166015625, -0.0255584716796875, -0.00600433349609375, -0.01482391357421875, -0.00788116455078125, 0.0147857666015625, -0.01114654541015625, -0.0192718505859375, 0.022735595703125, 0.042144775390625, 0.004489898681640625, 0.0193939208984375, -0.00569915771484375, 0.04718017578125, 0.043670654296875, -0.02606201171875, -0.06298828125, 0.02374267578125, 0.007312774658203125, -0.043975830078125, 0.04339599609375, 0.0146026611328125, 0.03826904296875, -0.04718017578125, 0.029327392578125, 0.01016998291015625, 0.02001953125, -0.043701171875, -0.0125274658203125, 0.033905029296875, 0.0135040283203125, 0.017486572265625, 0.0182037353515625, -0.019317626953125, -0.031951904296875, 0.0038967132568359375, 0.0175933837890625, -0.00032067298889160156, 0.0192718505859375, -0.033966064453125, -0.0090179443359375, 0.008270263671875, 0.01386260986328125, -0.041595458984375, 0.03375244140625, 0.0097808837890625, -0.004116058349609375, -0.015716552734375, -0.006103515625, 0.02130126953125, 0.0517578125, -0.03143310546875, -0.032867431640625, -0.0160675048828125, 0.01763916015625, -0.03692626953125, 0.049407958984375, 0.050140380859375, -0.049346923828125, -0.0038623809814453125, 0.040374755859375, 0.036773681640625, 0.08416748046875, 0.006103515625, -0.02752685546875, -0.01378631591796875, -0.002857208251953125, -0.004726409912109375, -0.0251007080078125, 0.0306854248046875, -0.06439208984375, -0.0379638671875, -0.0255889892578125, -0.00814056396484375, -0.013916015625, -0.04437255859375, -0.057464599609375, 0.0202178955078125, -0.0020771026611328125, -0.028472900390625, -0.0118408203125, -0.0390625, -0.0008487701416015625, 0.0418701171875, 0.012176513671875, 0.0003552436828613281, -0.06298828125, 0.013580322265625, 0.0070953369140625, 0.01114654541015625, 0.005580902099609375, -0.004932403564453125, 0.01372528076171875, 0.0452880859375, 0.050201416015625, -0.0181884765625, 0.02008056640625, -0.021270751953125, 0.044342041015625, 0.058868408203125, -0.0082550048828125, -0.0055694580078125, 0.00920867919921875, -0.048980712890625, 0.00032973289489746094, -0.002197265625, -0.06280517578125, -0.02191162109375, 0.047149658203125, 0.055023193359375, 0.0178985595703125, -0.027740478515625, -0.0153961181640625, -0.01468658447265625, -0.048553466796875, -0.0284423828125, 0.0360107421875, -0.082763671875, -0.0167388916015625, -0.0142974853515625, 0.00643157958984375, 0.00997161865234375, -0.020416259765625, -0.0102691650390625, -0.0148468017578125, 0.007171630859375, 0.0133514404296875, -0.0316162109375, 0.038726806640625, 0.055450439453125, -0.05279541015625, -0.0419921875, -0.0149993896484375, 0.00820159912109375, -0.0034770965576171875, -0.070068359375, 0.0002853870391845703, 0.030120849609375, -0.0240936279296875, 0.0111846923828125, 0.0017251968383789062, 0.01220703125, -0.0081939697265625, 0.01296234130859375, 0.01702880859375, -0.00974273681640625, -0.0128021240234375, -0.0015535354614257812, 0.022491455078125, -0.0221099853515625, -0.033843994140625, -0.0260009765625, 0.007411956787109375, -0.031585693359375, -0.02581787109375, 0.0288238525390625, 0.00007557868957519531, -0.02288818359375, 0.000640869140625, 0.003856658935546875, 0.0182952880859375, -0.01013946533203125, -0.026153564453125, -0.0174407958984375, 0.001079559326171875, 0.0029163360595703125, -0.037994384765625, 0.0112152099609375 ]
07dbc5812c365700b5d732e147be3b2a2fb420bc
Wordpress Stackexchange Q: how to change displaying order of products in wp ecommerce I am working on a wp-ecommerce enabled site and am trying to change the display order of the products on the product grid page. Any help would be greatly appreciated. A: In the WordPress backend select Settings | Store . Select the Presentation tab. Scroll down to the Product Page Settings section and change the value of the Sort Product By dropdown to: Drag & Drop Now you are able to click on a product in Products | Products , hold it and drag it to the position in which you want it to appear.
Q: how to change displaying order of products in wp ecommerce I am working on a wp-ecommerce enabled site and am trying to change the display order of the products on the product grid page. Any help would be greatly appreciated. A: In the WordPress backend select Settings | Store . Select the Presentation tab. Scroll down to the Product Page Settings section and change the value of the Sort Product By dropdown to: Drag & Drop Now you are able to click on a product in Products | Products , hold it and drag it to the position in which you want it to appear.
wordpress
{ "language": "en", "length": 106, "provenance": "stackexchange_00019.jsonl.gz:415211", "question_score": "3", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35853" }
[ 0.004116058349609375, -0.01316070556640625, -0.0293426513671875, 0.02569580078125, -0.0007939338684082031, -0.05120849609375, 0.0567626953125, -0.02154541015625, 0.01392364501953125, 0.0207061767578125, -0.0124053955078125, -0.04058837890625, -0.006359100341796875, -0.01800537109375, -0.036895751953125, -0.03875732421875, 0.047576904296875, -0.02044677734375, 0.035003662109375, -0.0007982254028320312, -0.0005583763122558594, 0.04156494140625, 0.044464111328125, 0.050048828125, 0.01885986328125, -0.037200927734375, 0.0302581787109375, -0.05230712890625, 0.0364990234375, -0.0166168212890625, 0.020660400390625, 0.0014314651489257812, 0.033935546875, -0.043487548828125, 0.024139404296875, -0.0191192626953125, 0.008392333984375, -0.0098114013671875, -0.00585174560546875, 0.0031604766845703125, 0.0259552001953125, -0.0081787109375, -0.005702972412109375, 0.006252288818359375, -0.0190582275390625, -0.0258026123046875, 0.007232666015625, -0.0242767333984375, 0.027618408203125, -0.050323486328125, 0.00027751922607421875, 0.03118896484375, 0.0213470458984375, -0.045928955078125, -0.01560211181640625, 0.006664276123046875, -0.026275634765625, 0.0406494140625, 0.0131378173828125, 0.01425933837890625, 0.00673675537109375, 0.0194091796875, -0.011077880859375, -0.01934814453125, 0.004589080810546875, -0.0184478759765625, 0.0145721435546875, 0.03765869140625, -0.03753662109375, 0.0026264190673828125, 0.031494140625, -0.006008148193359375, 0.0135040283203125, -0.0133209228515625, 0.0313720703125, 0.01007080078125, -0.0318603515625, 0.00899505615234375, 0.03717041015625, 0.0212249755859375, 0.005199432373046875, -0.0191802978515625, 0.024322509765625, -0.11944580078125, 0.05523681640625, -0.07275390625, 0.0007905960083007812, 0.02227783203125, 0.0032482147216796875, -0.01541900634765625, -0.00623321533203125, 0.03985595703125, -0.040374755859375, 0.0196685791015625, -0.0196990966796875, -0.0006322860717773438, -0.008575439453125, -0.0266265869140625, -0.000032067298889160156, 0.00341033935546875, 0.00569915771484375, -0.037353515625, 0.0003769397735595703, -0.0026092529296875, -0.0188446044921875, -0.04901123046875, 0.0080108642578125, 0.0307464599609375, 0.027496337890625, 0.048004150390625, -0.0245513916015625, 0.060211181640625, 0.005474090576171875, -0.0286102294921875, -0.0194244384765625, 0.0156402587890625, -0.0229644775390625, 0.032257080078125, 0.0229949951171875, 0.003589630126953125, 0.0180511474609375, 0.03717041015625, 0.0078125, -0.0288543701171875, -0.0080718994140625, -0.0245819091796875, -0.03594970703125, -0.0265655517578125, -0.01293182373046875, -0.013397216796875, -0.039337158203125, 0.026641845703125, 0.0953369140625, 0.04058837890625, 0.0222015380859375, -0.004230499267578125, -0.004608154296875, 0.0518798828125, 0.0181884765625, -0.002239227294921875, 0.03240966796875, -0.0220184326171875, -0.0123291015625, 0.0236663818359375, 0.03167724609375, -0.0200653076171875, 0.01397705078125, 0.03759765625, 0.0168609619140625, 0.02447509765625, 0.01242828369140625, 0.028564453125, -0.0114593505859375, 0.043548583984375, 0.042755126953125, 0.041168212890625, 0.0513916015625, 0.0008997917175292969, -0.0126190185546875, 0.0016164779663085938, -0.034027099609375, 0.019683837890625, 0.0582275390625, -0.0303802490234375, -0.02496337890625, -0.0183563232421875, -0.043182373046875, -0.007221221923828125, 0.03448486328125, -0.0053253173828125, -0.0110015869140625, 0.006710052490234375, 0.047210693359375, 0.00826263427734375, -0.01406097412109375, 0.03826904296875, -0.0294952392578125, 0.0125885009765625, 0.0207672119140625, -0.0008311271667480469, -0.01483154296875, -0.03515625, 0.0200653076171875, 0.0183868408203125, -0.011444091796875, 0.005664825439453125, 0.0013971328735351562, 0.033447265625, 0.0198822021484375, 0.022369384765625, -0.00276947021484375, -0.005428314208984375, -0.02886962890625, 0.0440673828125, -0.021148681640625, -0.02764892578125, -0.01042938232421875, 0.01213836669921875, -0.0178985595703125, -0.0132904052734375, -0.0288238525390625, 0.038421630859375, -0.04345703125, 0.046966552734375, 0.0044097900390625, 0.0127716064453125, 0.00922393798828125, 0.01380157470703125, 0.0272979736328125, -0.002094268798828125, 0.003910064697265625, 0.01525115966796875, -0.0158843994140625, -0.02166748046875, -0.032623291015625, 0.0212860107421875, -0.01465606689453125, 0.04864501953125, -0.0139312744140625, 0.03741455078125, -0.006015777587890625, -0.032135009765625, -0.0006041526794433594, 0.03887939453125, 0.00841522216796875, -0.020477294921875, -0.007091522216796875, -0.022125244140625, 0.04656982421875, 0.0016450881958007812, 0.0215606689453125, -0.00818634033203125, 0.01346588134765625, 0.015899658203125, -0.035003662109375, 0.0032806396484375, 0.0143890380859375, -0.046722412109375, 0.01375579833984375, 0.034820556640625, 0.0213775634765625, 0.00799560546875, 0.02252197265625, 0.060882568359375, 0.0306854248046875, 0.0237884521484375, 0.04095458984375, 0.006671905517578125, -0.006610870361328125, 0.02313232421875, -0.0221099853515625, 0.02618408203125, 0.026458740234375, -0.0167694091796875, 0.020233154296875, 0.046234130859375, 0.0164337158203125, 0.0582275390625, -0.0033016204833984375, 0.0244140625, -0.03668212890625, -0.01335906982421875, 0.0146636962890625, -0.0281219482421875, 0.05078125, 0.0045928955078125, 0.0192413330078125, -0.00695037841796875, -0.04083251953125, 0.01479339599609375, 0.0273284912109375, -0.0282440185546875, 0.0031909942626953125, -0.0186004638671875, -0.042388916015625, -0.0305023193359375, -0.031768798828125, 0.0338134765625, -0.006595611572265625, -0.04595947265625, -0.0103759765625, 0.0217437744140625, -0.0037136077880859375, -0.00445556640625, -0.022064208984375, -0.08978271484375, 0.0188140869140625, 0.047393798828125, -0.0526123046875, -0.04217529296875, 0.0023860931396484375, -0.010894775390625, -0.0582275390625, 0.0115814208984375, -0.0472412109375, -0.0257110595703125, -0.016937255859375, -0.026580810546875, 0.0256195068359375, -0.0208740234375, 0.04290771484375, 0.06976318359375, -0.0004062652587890625, 0.0223846435546875, 0.039764404296875, 0.017913818359375, 0.040008544921875, 0.00577545166015625, 0.004840850830078125, 0.059844970703125, -0.1043701171875, 0.0035266876220703125, 0.036529541015625, -0.00910186767578125, 0.038360595703125, -0.017730712890625, 0.01090240478515625, 0.0189361572265625, -0.08990478515625, -0.09014892578125, -0.0301361083984375, -0.04132080078125, 0.0012350082397460938, -0.0022640228271484375, -0.016845703125, -0.01192474365234375, 0.01023101806640625, 0.013031005859375, 0.008697509765625, -0.0196075439453125, -0.01122283935546875, -0.0006756782531738281, -0.021026611328125, 0.01384735107421875, 0.0008025169372558594, -0.015899658203125, 0.0140380859375, 0.055145263671875, 0.004726409912109375, -0.0799560546875, -0.018646240234375, 0.01059722900390625, -0.0310211181640625, 0.01183319091796875, 0.031341552734375, -0.09576416015625, 0.0197906494140625, -0.0046539306640625, 0.025390625, 0.024871826171875, 0.0032863616943359375, 0.005329132080078125, -0.01678466796875, -0.0458984375, -0.004817962646484375, 0.0022907257080078125, 0.0095062255859375, -0.007511138916015625, 0.015380859375, -0.046295166015625, -0.03802490234375, 0.013946533203125, -0.0245819091796875, -0.0232391357421875, -0.01197052001953125, -0.0003485679626464844, -0.0272216796875, 0.0318603515625, 0.06085205078125, 0.0016040802001953125, 0.0212554931640625, -0.00814056396484375, 0.005828857421875, 0.0141143798828125, 0.036651611328125, -0.0499267578125, 0.0389404296875, -0.0229339599609375, -0.0198211669921875, 0.0004363059997558594, 0.0036144256591796875, -0.006496429443359375, 0.004329681396484375, -0.0125885009765625, -0.057403564453125, 0.0312347412109375, -0.032012939453125, 0.009490966796875, -0.0025043487548828125, -0.02178955078125, 0.046173095703125, 0.118408203125, 0.01198577880859375, -0.016387939453125, 0.0115814208984375, 0.00940704345703125, -0.022491455078125, -0.00872039794921875, -0.054962158203125, -0.00812530517578125, -0.055908203125, -0.0082550048828125, -0.01302337646484375, -0.0247344970703125, -0.0036678314208984375, -0.0037384033203125, -0.029876708984375, -0.02337646484375, 0.045928955078125, -0.0060577392578125, 0.0013589859008789062, 0.045501708984375, -0.021240234375, 0.03271484375, -0.038299560546875, -0.01006317138671875, -0.043243408203125, -0.032745361328125, 0.034820556640625, 0.058929443359375, 0.00698089599609375, -0.0181884765625, 0.0019683837890625, 0.07049560546875, 0.007568359375, 0.0030269622802734375, 0.01556396484375, 0.01465606689453125, 0.020050048828125, -0.05908203125, -0.0172271728515625, -0.04205322265625, -0.00820159912109375, -0.0287933349609375, -0.03326416015625, 0.0303192138671875, -0.015167236328125, 0.062347412109375, 0.01045989990234375, -0.005519866943359375, -0.07391357421875, -0.03570556640625, -0.042205810546875, 0.0018720626831054688, 0.00013589859008789062, -0.025482177734375, -0.052001953125, -0.080322265625, 0.03515625, -0.01517486572265625, -0.0158843994140625, -0.01258087158203125, 0.06231689453125, 0.0183258056640625, 0.00055694580078125, 0.01540374755859375, 0.009368896484375, 0.0166168212890625, 0.037689208984375, 0.004367828369140625, -0.0246124267578125, -0.006072998046875, 0.0146942138671875, 0.00140380859375, -0.00797271728515625, 0.021270751953125, 0.049530029296875, -0.006633758544921875, -0.0208892822265625, 0.0282745361328125, -0.0220794677734375, -0.009490966796875, 0.00913238525390625, -0.0157318115234375, -0.00843048095703125, 0.0015583038330078125, 0.0294952392578125, -0.0296478271484375, 0.0164794921875, -0.0146026611328125, -0.0308837890625, 0.0183258056640625, 0.00582122802734375, 0.006847381591796875, 0.01197052001953125, -0.0023784637451171875, 0.00392913818359375, 0.0009908676147460938, 0.00479888916015625, -0.034149169921875, -0.0208282470703125, -0.043731689453125, -0.00470733642578125, 0.0172271728515625, -0.0117340087890625, 0.008026123046875, -0.0072479248046875, 0.026214599609375, 0.01404571533203125, -0.0219879150390625, -0.03204345703125, 0.003543853759765625, 0.02923583984375, 0.0142974853515625, -0.018768310546875, 0.017852783203125, 0.0077362060546875, -0.0034923553466796875, 0.0013523101806640625, -0.0421142578125, 0.01306915283203125, -0.025421142578125, 0.01415252685546875, 0.007171630859375, -0.01386260986328125, 0.0236358642578125, 0.058807373046875, 0.022247314453125, 0.028900146484375, -0.0226593017578125, 0.005115509033203125, 0.0222320556640625, 0.0101165771484375, -0.00804901123046875, 0.0159912109375, -0.002986907958984375, 0.0019245147705078125, 0.056304931640625, -0.010345458984375, -0.0196075439453125, -0.025146484375, -0.0047760009765625, -0.006320953369140625, 0.0272369384765625, 0.0438232421875, 0.01184844970703125, -0.00934600830078125, 0.035308837890625, -0.0156402587890625, -0.04290771484375, -0.03692626953125, 0.0038738250732421875, 0.03997802734375, -0.004299163818359375, -0.005710601806640625, -0.00966644287109375, -0.035736083984375, 0.0032291412353515625, 0.007709503173828125, 0.0129241943359375, -0.022552490234375, -0.05645751953125, -0.0295562744140625, -0.0076141357421875, 0.01922607421875, -0.06982421875, -0.039794921875, 0.0092315673828125, -0.00536346435546875, 0.01331329345703125, -0.036285400390625, 0.0287017822265625, -0.02874755859375, 0.030029296875, -0.10260009765625, 0.030792236328125, -0.005374908447265625, 0.021148681640625, -0.05743408203125, -0.0021419525146484375, -0.035491943359375, -0.0224761962890625, -0.005069732666015625, -0.0045013427734375, -0.0447998046875, -0.011260986328125, -0.0026645660400390625, 0.043975830078125, -0.023681640625, -0.04461669921875, -0.036224365234375, -0.0200653076171875, 0.0146026611328125, 0.02239990234375, 0.003025054931640625, 0.050994873046875, -0.0310211181640625, 0.0677490234375, 0.00025916099548339844, 0.002147674560546875, -0.04248046875, -0.01348876953125, -0.01068878173828125, -0.02630615234375, -0.0187835693359375, 0.01296234130859375, -0.049774169921875, 0.0265655517578125, 0.053802490234375, 0.000579833984375, 0.0200347900390625, -0.0188140869140625, 0.01232147216796875, -0.0242767333984375, 0.021026611328125, -0.0469970703125, -0.00916290283203125, -0.00434112548828125, -0.014923095703125, 0.0235137939453125, 0.01448822021484375, 0.01287841796875, 0.01288604736328125, -0.01322174072265625, 0.03314208984375, -0.0033779144287109375, -0.054840087890625, 0.039947509765625, 0.0166015625, 0.0245513916015625, 0.0347900390625, -0.0020465850830078125, 0.0313720703125, 0.006031036376953125, 0.0086517333984375, 0.004276275634765625, 0.0010595321655273438, 0.048126220703125, -0.01493072509765625, -0.0267181396484375, 0.03106689453125, -0.031341552734375, 0.026275634765625, 0.039398193359375, 0.059814453125, -0.072265625, 0.02337646484375, -0.0004439353942871094, -0.01163482666015625, 0.05029296875, 0.01506805419921875, -0.0003592967987060547, 0.00188446044921875, 0.032867431640625, -0.0306396484375, -0.0140228271484375, 0.0215606689453125, -0.01381683349609375, -0.003337860107421875, -0.0081939697265625, 0.012481689453125, -0.00009119510650634766, -0.0704345703125, -0.017242431640625, 0.042877197265625, -0.02496337890625, -0.044036865234375, 0.0166778564453125, 0.01849365234375, -0.00604248046875, -0.0401611328125, 0.06732177734375, 0.0249786376953125, 0.005039215087890625, 0.0215606689453125, 0.008270263671875, 0.0099334716796875, 0.055633544921875, -0.01470184326171875, -0.0051422119140625, 0.0259246826171875, -0.0296478271484375, 0.031097412109375, -0.001285552978515625, 0.0160064697265625, -0.01800537109375, -0.094482421875, -0.024627685546875, -0.06610107421875, 0.040313720703125, -0.0196380615234375, 0.01491546630859375, 0.03021240234375, 0.0124664306640625, -0.0251922607421875, 0.04412841796875, 0.0439453125, -0.00787353515625, 0.032989501953125, 0.021484375, -0.0011425018310546875, 0.029632568359375, 0.0272369384765625, 0.01470184326171875, -0.01230621337890625, 0.04498291015625, -0.05572509765625, 0.05279541015625, -0.053253173828125, 0.037017822265625, 0.01085662841796875, 0.011688232421875, 0.01488494873046875, 0.012115478515625, -0.01100921630859375, 0.02618408203125, -0.01100921630859375, 0.061431884765625, -0.0703125, -0.04193115234375, 0.0138702392578125, 0.0919189453125, 0.012176513671875, 0.00015282630920410156, -0.024444580078125, -0.0017347335815429688, 0.056671142578125, 0.046966552734375, 0.0291595458984375, 0.0279998779296875, -0.016326904296875, -0.0251922607421875, 0.013153076171875, -0.0136871337890625, 0.027557373046875, -0.03802490234375, -0.019561767578125, 0.0012531280517578125, 0.0272674560546875, 0.053863525390625, -0.038818359375, 0.0279388427734375, -0.029815673828125, -0.026275634765625, 0.0426025390625, -0.042633056640625, 0.027984619140625, 0.005382537841796875, 0.038482666015625, -0.059295654296875, -0.0213775634765625, -0.01029205322265625, 0.040313720703125, 0.01374053955078125, 0.037872314453125, 0.0267791748046875, 0.01275634765625, 0.039459228515625, -0.00746917724609375, 0.0180206298828125, -0.0023651123046875, -0.0237579345703125, 0.0232696533203125, 0.0167236328125, 0.026031494140625, -0.0131683349609375, 0.01265716552734375, 0.0250701904296875, 0.01666259765625, -0.0217132568359375, -0.00629425048828125, 0.023345947265625, 0.019317626953125, -0.0209503173828125, -0.0406494140625, -0.031219482421875, -0.08721923828125, -0.0225830078125, -0.027557373046875, -0.0188446044921875, 0.039581298828125, 0.05047607421875, 0.0173187255859375, 0.0140838623046875, -0.042724609375, -0.0526123046875, -0.032196044921875, 0.033355712890625, 0.01446533203125, 0.041778564453125, -0.03594970703125, 0.07598876953125, -0.0164642333984375, -0.0126953125, -0.05975341796875, 0.06402587890625, -0.0158538818359375, 0.06103515625, -0.0850830078125, -0.0252227783203125, -0.006244659423828125, 0.054931640625, 0.012786865234375, 0.0185394287109375, 0.029693603515625, 0.0791015625, 0.034271240234375, -0.0040740966796875, 0.07940673828125, 0.01471710205078125, -0.0115203857421875, -0.02056884765625, 0.040496826171875, 0.037384033203125, 0.013641357421875, -0.0122833251953125, 0.036773681640625, 0.046295166015625, -0.06219482421875, 0.04412841796875, -0.0225830078125, -0.0210418701171875, 0.0297088623046875, -0.0231781005859375, 0.04901123046875, -0.032867431640625, -0.048736572265625, -0.005283355712890625, -0.0537109375, 0.005611419677734375, 0.014739990234375, 0.0214691162109375, -0.0111236572265625, 0.03857421875, -0.010162353515625, -0.004001617431640625, -0.015350341796875, 0.0016460418701171875, 0.03692626953125, 0.04388427734375, 0.0157318115234375, 0.03851318359375, -0.07830810546875, -0.055145263671875, -0.019989013671875, 0.037872314453125, 0.00478363037109375, 0.0015811920166015625, 0.03155517578125, 0.0362548828125, -0.0007867813110351562, -0.03173828125, 0.0154266357421875, -0.0179290771484375, 0.076171875, -0.0006875991821289062, -0.047210693359375, -0.006977081298828125, 0.0380859375, -0.004619598388671875, 0.040557861328125, -0.0557861328125, 0.0129241943359375, -0.06536865234375, 0.01751708984375, -0.045684814453125, 0.02777099609375, -0.0113983154296875, -0.039398193359375, -0.0292205810546875, 0.014190673828125, 0.01227569580078125, 0.0119781494140625, -0.0264129638671875, -0.022430419921875, -0.024658203125, -0.0845947265625, 0.025238037109375, -0.032073974609375, 0.0384521484375, 0.033233642578125, 0.0088958740234375, -0.017974853515625, 0.03192138671875, -0.00872039794921875, 0.0025196075439453125, 0.018280029296875, 0.0240936279296875, 0.0244293212890625, -0.052978515625, 0.0286102294921875, 0.03704833984375, 0.032318115234375, -0.00827789306640625, -0.002536773681640625, 0.043609619140625, -0.0297393798828125, -0.035186767578125, 0.038482666015625, -0.0278167724609375, 0.0034503936767578125, 0.0081939697265625, 0.0097198486328125, 0.03106689453125, 0.0062103271484375, -0.040771484375, 0.0004696846008300781, 0.0460205078125, 0.0212249755859375, -0.052978515625, 0.02996826171875, -0.01067352294921875, -0.00689697265625, 0.0307464599609375, -0.040985107421875, 0.00481414794921875, 0.0236663818359375, -0.0108795166015625, 0.0009889602661132812, -0.0533447265625, -0.0202789306640625, -0.041412353515625, -0.027374267578125, -0.008575439453125, -0.00577545166015625, 0.032867431640625, -0.062469482421875, -0.01280975341796875, -0.005115509033203125, 0.05438232421875, -0.0290069580078125, 0.01287078857421875, 0.0267333984375, -0.001247406005859375, -0.063232421875, -0.00933074951171875, -0.0379638671875, 0.050262451171875, -0.042510986328125, 0.0188446044921875, 0.0240478515625, -0.038238525390625, -0.058746337890625, 0.0340576171875, -0.01190948486328125, -0.0262908935546875, -0.00730133056640625, -0.00196075439453125, -0.04974365234375, 0.08258056640625, 0.0188446044921875, -0.022308349609375, 0.0023365020751953125, 0.02667236328125, -0.00418853759765625, 0.078125, -0.03070068359375, 0.0126495361328125, -0.00878143310546875, 0.019989013671875, 0.0041656494140625, 0.0229949951171875, -0.028472900390625, -0.0135040283203125, 0.0238800048828125, 0.01145172119140625, -0.01849365234375, -0.002933502197265625, 0.053558349609375, 0.0270843505859375, 0.027923583984375, -0.005397796630859375, -0.0113525390625, -0.047943115234375, -0.020416259765625, -0.0008358955383300781, -0.007171630859375, 0.037811279296875, -0.01229095458984375, 0.00885772705078125, -0.025970458984375, -0.01418304443359375, 0.0159454345703125, -0.06683349609375, -0.031890869140625, 0.00287628173828125, -0.028961181640625, 0.018280029296875, 0.0274810791015625, -0.0660400390625, 0.00858306884765625, -0.03851318359375, -0.0225372314453125, -0.0948486328125, 0.003650665283203125, 0.0313720703125, -0.046051025390625, -0.0440673828125, 0.0189361572265625, -0.003162384033203125, -0.0227508544921875, -0.0235443115234375, -0.00875091552734375, -0.002758026123046875, -0.0196990966796875, 0.004032135009765625, 0.00043272972106933594, 0.005939483642578125, -0.0281524658203125, 0.00323486328125, -0.01727294921875, 0.012969970703125, -0.00316619873046875, -0.0088653564453125, 0.02911376953125, -0.0059661865234375, 0.0006456375122070312, 0.1019287109375, -0.00994110107421875, 0.0858154296875, -0.006534576416015625, 0.0249786376953125, -0.004718780517578125, -0.0020885467529296875, 0.025238037109375, -0.014801025390625, 0.0099029541015625, -0.000823974609375, -0.0021495819091796875, 0.0028858184814453125, 0.0023479461669921875, 0.032012939453125, -0.019989013671875, -0.0016241073608398438 ]
0deb9dcc15ec5a7431630551dfbe5a4a02df217a
Wordpress Stackexchange Q: Remove "Are You Sure" dialogue when leaving editor Anyone know of a nice way to disable that pop-up dialogue when exiting the post-editor? It says "This page is asking you to confirm that you want to leave - data you have entered may not be saved." Nice feature, but annoying in certain blogs where I have to edit a ton of posts A: You can use the method described here. Add the following to your functions.php <?php function wpse35898_admin_head() { ?> <script type="text/javascript"> window.onbeforeunload = function() {}; </script> <?php } add_action( 'admin_head' , 'wpse35898_admin_head' ); ?>
Q: Remove "Are You Sure" dialogue when leaving editor Anyone know of a nice way to disable that pop-up dialogue when exiting the post-editor? It says "This page is asking you to confirm that you want to leave - data you have entered may not be saved." Nice feature, but annoying in certain blogs where I have to edit a ton of posts A: You can use the method described here. Add the following to your functions.php <?php function wpse35898_admin_head() { ?> <script type="text/javascript"> window.onbeforeunload = function() {}; </script> <?php } add_action( 'admin_head' , 'wpse35898_admin_head' ); ?> A: tinyMCE.init({ ................................. ................................. autosave_ask_before_unload:false }) A: as this page you must to add "autosave_ask_before_unload: false" in init of tinymce(as bottom code): tinymce.init({ mode: 'textareas', menubar: false, statusbar: false, language: 'sv_SE', autosave_ask_before_unload: false, ... and you must be add bottom code in your page: <script> window.onbeforeunload = function() {}; </script>
wordpress
{ "language": "en", "length": 147, "provenance": "stackexchange_00019.jsonl.gz:415228", "question_score": "4", "source": "stackexchange", "timestamp": "2023-03-29", "url": "https://wordpress.stackexchange.com/questions/35898" }
[ 0.0518798828125, 0.005123138427734375, -0.0081634521484375, 0.02362060546875, 0.0179901123046875, -0.06085205078125, 0.072509765625, -0.05035400390625, 0.01322174072265625, 0.0153350830078125, -0.0055389404296875, -0.039764404296875, -0.006679534912109375, -0.0594482421875, -0.005695343017578125, -0.030303955078125, -0.009307861328125, 0.039703369140625, -0.0014429092407226562, -0.0264892578125, 0.01245880126953125, -0.031707763671875, -0.03692626953125, -0.008087158203125, -0.023590087890625, 0.07379150390625, 0.039215087890625, 0.01322174072265625, -0.0224609375, 0.0081939697265625, 0.01461029052734375, -0.027740478515625, -0.0148162841796875, 0.062164306640625, -0.03759765625, 0.00957489013671875, -0.0173797607421875, 0.050079345703125, 0.04766845703125, 0.0008792877197265625, 0.0194091796875, -0.0286712646484375, -0.05462646484375, -0.00865936279296875, -0.045257568359375, 0.0006914138793945312, -0.019012451171875, -0.0214385986328125, 0.04473876953125, 0.0160675048828125, -0.0014505386352539062, 0.0156707763671875, 0.0164031982421875, -0.0005955696105957031, -0.0289459228515625, -0.004848480224609375, -0.041107177734375, -0.043548583984375, 0.00836944580078125, 0.0675048828125, 0.0289306640625, -0.0255279541015625, -0.003345489501953125, -0.03973388671875, 0.007080078125, -0.00064849853515625, -0.01311492919921875, 0.01139068603515625, -0.033294677734375, 0.0035495758056640625, 0.027618408203125, -0.033477783203125, -0.00962066650390625, -0.01227569580078125, -0.01885986328125, 0.0509033203125, -0.01446533203125, 0.021697998046875, 0.0298309326171875, -0.0027065277099609375, 0.0205230712890625, 0.0168304443359375, -0.0010814666748046875, -0.0361328125, 0.03643798828125, -0.005306243896484375, 0.0024967193603515625, -0.0102081298828125, -0.0277099609375, -0.0151824951171875, -0.0306396484375, -0.04315185546875, 0.0022182464599609375, 0.01129913330078125, -0.0280609130859375, 0.0072174072265625, 0.005886077880859375, 0.01387786865234375, -0.00405120849609375, -0.0186004638671875, 0.0108642578125, -0.014007568359375, -0.020294189453125, -0.01251983642578125, 0.004978179931640625, 0.05859375, 0.0096435546875, -0.0501708984375, 0.0162353515625, -0.006198883056640625, 0.01708984375, -0.009063720703125, -0.051910400390625, -0.01611328125, -0.0099639892578125, 0.06207275390625, -0.04937744140625, 0.01097869873046875, -0.0311279296875, 0.041748046875, -0.0252685546875, -0.01445770263671875, -0.040130615234375, -0.0056304931640625, 0.02557373046875, -0.02392578125, -0.024169921875, 0.06707763671875, -0.0275726318359375, 0.04583740234375, -0.03460693359375, -0.0001131892204284668, 0.056671142578125, 0.0426025390625, 0.01393890380859375, -0.0390625, 0.039215087890625, 0.01434326171875, 0.0093994140625, 0.0002009868621826172, -0.032684326171875, -0.042388916015625, -0.00934600830078125, -0.00897216796875, -0.0199127197265625, 0.025665283203125, 0.0186004638671875, 0.025421142578125, -0.0158538818359375, -0.05419921875, 0.00408172607421875, -0.01396942138671875, 0.035614013671875, -0.0067596435546875, 0.015350341796875, -0.055877685546875, 0.039093017578125, -0.03668212890625, 0.00787353515625, -0.05511474609375, -0.0082855224609375, -0.00975799560546875, 0.0211639404296875, -0.00948333740234375, -0.0211029052734375, 0.00257110595703125, -0.0164337158203125, 0.0022182464599609375, 0.0160675048828125, -0.020721435546875, 0.03594970703125, -0.0228424072265625, -0.0157623291015625, -0.00408935546875, 0.01285552978515625, 0.0158233642578125, 0.00390625, -0.0280609130859375, 0.0290985107421875, 0.0211334228515625, -0.0328369140625, -0.030181884765625, 0.02789306640625, -0.030303955078125, -0.059173583984375, 0.044281005859375, 0.007701873779296875, 0.061920166015625, -0.0130767822265625, 0.00461578369140625, 0.0628662109375, 0.031524658203125, 0.0030269622802734375, -0.015716552734375, -0.004993438720703125, -0.037017822265625, -0.0406494140625, -0.032958984375, -0.01971435546875, 0.0430908203125, 0.04376220703125, 0.0156097412109375, -0.0086669921875, -0.0384521484375, -0.12139892578125, 0.0137481689453125, -0.034332275390625, 0.047454833984375, 0.025604248046875, 0.027679443359375, 0.0210113525390625, 0.0227203369140625, -0.033294677734375, 0.00045943260192871094, -0.02252197265625, -0.00992584228515625, -0.0210723876953125, 0.027435302734375, -0.00702667236328125, 0.040252685546875, -0.017303466796875, 0.005908966064453125, -0.004627227783203125, -0.01506805419921875, -0.0036220550537109375, -0.00736236572265625, -0.028594970703125, 0.00951385498046875, 0.003665924072265625, -0.004100799560546875, 0.022003173828125, 0.0253753662109375, -0.00588226318359375, -0.0089111328125, -0.02044677734375, -0.007526397705078125, -0.014251708984375, -0.08465576171875, 0.0015935897827148438, 0.05938720703125, 0.01444244384765625, 0.0248565673828125, -0.049346923828125, -0.013336181640625, 0.049530029296875, 0.0088348388671875, 0.006473541259765625, -0.0023441314697265625, 0.0196533203125, 0.01959228515625, -0.031494140625, -0.0117340087890625, 0.057342529296875, 0.004390716552734375, -0.01116943359375, 0.055450439453125, -0.039764404296875, -0.0141754150390625, 0.0228271484375, -0.0178375244140625, 0.01611328125, -0.00928497314453125, 0.0082855224609375, -0.024444580078125, -0.008941650390625, -0.0216522216796875, 0.0108795166015625, 0.00778961181640625, -0.00931549072265625, -0.024932861328125, 0.032958984375, 0.0168609619140625, -0.004993438720703125, 0.02325439453125, 0.061981201171875, 0.004306793212890625, -0.07574462890625, 0.0017414093017578125, 0.0565185546875, 0.030303955078125, -0.0234222412109375, 0.0012845993041992188, 0.0026683807373046875, -0.014892578125, 0.021881103515625, -0.0256195068359375, 0.0175628662109375, -0.0177001953125, 0.025421142578125, -0.003131866455078125, 0.040130615234375, -0.029296875, -0.037445068359375, 0.0289764404296875, 0.0234527587890625, -0.050994873046875, 0.008544921875, -0.047515869140625, 0.020965576171875, -0.012420654296875, 0.06903076171875, 0.068603515625, 0.02734375, -0.0002758502960205078, 0.011962890625, -0.03253173828125, 0.004119873046875, 0.017791748046875, -0.01299285888671875, 0.0078887939453125, -0.07421875, 0.0172882080078125, 0.03546142578125, 0.0455322265625, 0.01708984375, -0.036529541015625, 0.0303955078125, 0.03662109375, -0.0244293212890625, -0.0262603759765625, 0.004199981689453125, -0.051239013671875, -0.033111572265625, 0.016571044921875, -0.03912353515625, -0.005290985107421875, 0.04486083984375, -0.00325775146484375, -0.057586669921875, 0.01983642578125, 0.0012731552124023438, -0.0252227783203125, -0.012298583984375, -0.034393310546875, -0.00951385498046875, 0.0139007568359375, -0.00428009033203125, 0.054962158203125, 0.00045490264892578125, -0.0250701904296875, 0.01549530029296875, -0.024505615234375, 0.01235198974609375, 0.01206207275390625, -0.055267333984375, -0.0017156600952148438, -0.0009703636169433594, -0.00673675537109375, 0.0163116455078125, -0.016754150390625, 0.006229400634765625, -0.004436492919921875, -0.024139404296875, 0.043670654296875, 0.01148223876953125, -0.001712799072265625, 0.03814697265625, 0.043487548828125, -0.0125885009765625, -0.0104522705078125, 0.047576904296875, 0.00616455078125, -0.0122222900390625, -0.03558349609375, 0.0003540515899658203, -0.03265380859375, -0.00496673583984375, -0.0204315185546875, 0.03094482421875, 0.03265380859375, 0.0235137939453125, 0.005451202392578125, 0.0163726806640625, 0.00140380859375, 0.0159149169921875, -0.04608154296875, 0.0460205078125, -0.025634765625, 0.01468658447265625, 0.01457977294921875, -0.02325439453125, 0.00518035888671875, -0.0178985595703125, 0.004421234130859375, -0.042572021484375, 0.034881591796875, -0.023468017578125, -0.002155303955078125, -0.03253173828125, -0.01342010498046875, -0.007465362548828125, 0.0677490234375, -0.028961181640625, -0.0025691986083984375, -0.00559234619140625, -0.009765625, 0.0111541748046875, 0.01873779296875, -0.027679443359375, -0.01456451416015625, -0.042388916015625, 0.031280517578125, 0.0088653564453125, -0.007030487060546875, -0.06072998046875, 0.0305633544921875, -0.05352783203125, -0.01470184326171875, 0.040008544921875, -0.0845947265625, 0.0247802734375, -0.01067352294921875, 0.0241241455078125, -0.0439453125, -0.0086517333984375, -0.07366943359375, -0.0758056640625, -0.0128326416015625, -0.039154052734375, 0.0372314453125, -0.0160980224609375, 0.046295166015625, -0.04669189453125, 0.0230865478515625, 0.03863525390625, -0.0205535888671875, 0.00485992431640625, -0.0238494873046875, 0.0030975341796875, -0.00847625732421875, -0.0135345458984375, -0.023590087890625, 0.005069732666015625, 0.0104522705078125, -0.0247650146484375, -0.024871826171875, -0.037872314453125, -0.06256103515625, 0.0306396484375, -0.057647705078125, -0.05035400390625, -0.0161590576171875, -0.033660888671875, 0.0215911865234375, -0.0089111328125, -0.01259613037109375, -0.0270233154296875, -0.06622314453125, -0.01507568359375, -0.01220703125, -0.024169921875, 0.02362060546875, -0.0013456344604492188, 0.02630615234375, -0.002498626708984375, -0.0008072853088378906, 0.0053558349609375, 0.031982421875, -0.0252685546875, 0.040496826171875, 0.01181793212890625, -0.0250244140625, 0.05401611328125, 0.003093719482421875, 0.03717041015625, -0.0975341796875, 0.0579833984375, -0.00772857666015625, -0.00318145751953125, 0.03546142578125, -0.015625, 0.061767578125, -0.0153045654296875, 0.032928466796875, -0.0112152099609375, 0.04888916015625, -0.01323699951171875, 0.026031494140625, -0.044342041015625, 0.003131866455078125, -0.047149658203125, 0.00861358642578125, 0.033843994140625, -0.01065826416015625, 0.03125, 0.0030364990234375, 0.019012451171875, 0.0242919921875, -0.0003104209899902344, -0.0450439453125, 0.0262298583984375, -0.045135498046875, 0.023040771484375, -0.01511383056640625, -0.04010009765625, -0.04229736328125, -0.0028533935546875, -0.0172576904296875, 0.0014009475708007812, -0.04925537109375, -0.01438140869140625, 0.024383544921875, 0.0548095703125, 0.01200103759765625, 0.0234222412109375, 0.0406494140625, 0.040191650390625, -0.00943756103515625, 0.01318359375, 0.034332275390625, 0.023345947265625, -0.03277587890625, -0.0038776397705078125, -0.018585205078125, 0.005405426025390625, 0.045196533203125, 0.00879669189453125, -0.01042938232421875, 0.0312347412109375, -0.0202789306640625, 0.0182647705078125, 0.0177154541015625, 0.0264739990234375, 0.02911376953125, -0.0105133056640625, -0.0024566650390625, -0.018768310546875, 0.014984130859375, -0.040435791015625, 0.0167388916015625, 0.00446319580078125, 0.0318603515625, 0.00762939453125, -0.033294677734375, 0.033660888671875, -0.03253173828125, -0.0190887451171875, 0.04736328125, 0.0435791015625, -0.05902099609375, -0.00485992431640625, 0.024810791015625, 0.006587982177734375, -0.0229949951171875, 0.02593994140625, -0.053466796875, -0.0269012451171875, -0.026641845703125, 0.024627685546875, -0.005702972412109375, -0.0460205078125, -0.036895751953125, 0.014892578125, -0.01168060302734375, 0.0186309814453125, -0.041961669921875, -0.00140380859375, -0.017913818359375, 0.009033203125, 0.02142333984375, -0.024169921875, 0.00202178955078125, -0.0128021240234375, 0.017791748046875, -0.007366180419921875, 0.01300048828125, 0.03277587890625, -0.0026035308837890625, -0.03515625, -0.020904541015625, -0.09173583984375, -0.033111572265625, -0.0718994140625, -0.04937744140625, -0.04681396484375, 0.0229644775390625, 0.01258087158203125, 0.0070343017578125, -0.00933837890625, -0.0277862548828125, 0.00865936279296875, 0.06610107421875, 0.0333251953125, 0.0711669921875, -0.01593017578125, 0.013702392578125, 0.029815673828125, -0.0123443603515625, -0.005096435546875, 0.0013437271118164062, -0.0007853507995605469, -0.01163482666015625, 0.055145263671875, 0.0172271728515625, -0.04608154296875, -0.06915283203125, 0.005645751953125, -0.042144775390625, 0.01207733154296875, -0.0377197265625, -0.005298614501953125, 0.01100921630859375, 0.0175933837890625, -0.014068603515625, 0.0032100677490234375, 0.01055908203125, -0.0130157470703125, -0.004451751708984375, -0.043365478515625, -0.0028820037841796875, -0.0023097991943359375, 0.0347900390625, -0.0007991790771484375, -0.034027099609375, -0.024444580078125, 0.03607177734375, -0.01349639892578125, -0.0013189315795898438, 0.062469482421875, 0.026458740234375, 0.05902099609375, 0.023529052734375, 0.030609130859375, 0.0033016204833984375, -0.0374755859375, 0.0036411285400390625, 0.007049560546875, 0.0178070068359375, -0.015960693359375, 0.00479888916015625, 0.020233154296875, -0.0140838623046875, 0.046051025390625, 0.05548095703125, 0.1026611328125, -0.0941162109375, 0.03338623046875, 0.017913818359375, -0.0292816162109375, 0.04290771484375, -0.04656982421875, 0.0210723876953125, -0.0360107421875, 0.0557861328125, 0.05029296875, -0.034576416015625, 0.01007080078125, -0.023681640625, -0.0264129638671875, -0.0223846435546875, 0.00921630859375, 0.00885009765625, -0.0648193359375, 0.044921875, 0.043426513671875, -0.004093170166015625, -0.00814056396484375, 0.020294189453125, -0.004878997802734375, -0.0218048095703125, -0.03485107421875, 0.004344940185546875, -0.00972747802734375, -0.0206298828125, 0.0028324127197265625, 0.0028591156005859375, 0.0194854736328125, 0.040679931640625, -0.0189056396484375, 0.0233001708984375, -0.012969970703125, 0.003124237060546875, -0.01056671142578125, 0.0173187255859375, 0.0158843994140625, 0.0190277099609375, -0.01465606689453125, 0.0165252685546875, -0.0423583984375, -0.0101318359375, 0.0078887939453125, 0.029083251953125, 0.058013916015625, -0.051422119140625, -0.009796142578125, 0.060546875, -0.01493072509765625, -0.037811279296875, -0.00870513916015625, 0.0128021240234375, -0.04962158203125, -0.024810791015625, -0.0259246826171875, -0.04736328125, -0.019775390625, -0.06036376953125, -0.035125732421875, 0.1116943359375, 0.046051025390625, -0.0062408447265625, -0.00225067138671875, 0.059295654296875, -0.05377197265625, 0.023040771484375, -0.03948974609375, 0.04437255859375, 0.0291290283203125, 0.0545654296875, -0.0240936279296875, -0.004573822021484375, 0.019073486328125, 0.037841796875, 0.01541900634765625, -0.0079498291015625, 0.04107666015625, -0.0140533447265625, 0.0367431640625, 0.017913818359375, -0.0157470703125, -0.0230255126953125, 0.013946533203125, 0.051788330078125, 0.03558349609375, -0.09844970703125, 0.0195465087890625, -0.05352783203125, 0.01445770263671875, 0.0191192626953125, -0.0016613006591796875, -0.00890350341796875, 0.003910064697265625, -0.01165771484375, 0.0011196136474609375, -0.00838470458984375, 0.000308990478515625, -0.031890869140625, 0.0260772705078125, 0.045440673828125, 0.04486083984375, -0.0704345703125, -0.0179443359375, -0.039215087890625, 0.057861328125, 0.00030684471130371094, 0.026519775390625, -0.0184783935546875, 0.01474761962890625, -0.004913330078125, -0.017242431640625, -0.009765625, 0.034027099609375, -0.048828125, 0.01309967041015625, 0.007144927978515625, 0.0134735107421875, -0.0195465087890625, 0.033599853515625, 0.035858154296875, 0.01666259765625, -0.031829833984375, -0.0030307769775390625, -0.005489349365234375, 0.00714874267578125, -0.0010709762573242188, -0.0369873046875, 0.013580322265625, 0.0189056396484375, 0.031341552734375, -0.0019931793212890625, 0.007442474365234375, -0.0023479461669921875, 0.0170440673828125, 0.00920867919921875, 0.052276611328125, -0.038055419921875, 0.007083892822265625, -0.0161590576171875, -0.03729248046875, 0.0213165283203125, 0.032196044921875, 0.032745361328125, 0.01447296142578125, 0.028533935546875, -0.00832366943359375, -0.0230560302734375, 0.01126861572265625, 0.009063720703125, 0.0301666259765625, -0.05120849609375, -0.0189208984375, 0.03179931640625, 0.046722412109375, 0.01204681396484375, 0.045440673828125, 0.048065185546875, 0.035888671875, -0.0023365020751953125, 0.0011873245239257812, 0.031494140625, -0.023406982421875, -0.0223541259765625, -0.036224365234375, 0.01812744140625, 0.06463623046875, 0.023468017578125, 0.0080108642578125, 0.006084442138671875, 0.0751953125, -0.0233306884765625, -0.0262603759765625, 0.0030155181884765625, -0.0294036865234375, 0.00820159912109375, 0.0031032562255859375, -0.012939453125, -0.0029811859130859375, -0.04705810546875, -0.035919189453125, 0.0406494140625, 0.02960205078125, -0.00763702392578125, 0.0193634033203125, -0.0224609375, 0.056915283203125, -0.0109405517578125, 0.01508331298828125, 0.037994384765625, -0.044342041015625, -0.0158538818359375, -0.00876617431640625, 0.0251312255859375, -0.01508331298828125, -0.09368896484375, -0.041534423828125, -0.0189361572265625, 0.0139312744140625, 0.00140380859375, 0.0213775634765625, 0.041290283203125, 0.0244140625, -0.01290130615234375, 0.044097900390625, -0.01788330078125, -0.0062408447265625, -0.01036834716796875, 0.026611328125, 0.03985595703125, -0.00888824462890625, -0.0628662109375, 0.10089111328125, -0.02008056640625, 0.031463623046875, 0.099365234375, -0.04180908203125, -0.0230560302734375, -0.006092071533203125, -0.01418304443359375, -0.0174407958984375, -0.0185089111328125, 0.0279083251953125, 0.010894775390625, -0.0007548332214355469, 0.0201568603515625, 0.00998687744140625, 0.0389404296875, -0.01308441162109375, 0.0020313262939453125, 0.0036754608154296875, -0.0263671875, -0.0189971923828125, 0.036529541015625, -0.033538818359375, 0.0174713134765625, -0.016510009765625, -0.023681640625, -0.007335662841796875, 0.01522064208984375, -0.037261962890625, 0.009796142578125, -0.01277923583984375, -0.0186767578125, -0.0430908203125, -0.0023517608642578125, -0.0277099609375, -0.025360107421875, -0.0108642578125, 0.0195770263671875, -0.044891357421875, -0.02557373046875, -0.0118408203125, -0.0281524658203125, 0.0085296630859375, 0.032379150390625, -0.01904296875, 0.02606201171875, -0.020263671875, -0.0150299072265625, 0.017791748046875, -0.001979827880859375, -0.00567626953125, -0.03338623046875, -0.010986328125, 0.0167999267578125, 0.01140594482421875, 0.0694580078125, -0.00522613525390625, 0.02978515625, -0.049041748046875, -0.015533447265625, -0.00865936279296875, 0.04412841796875, -0.00017845630645751953, -0.0124359130859375, 0.011749267578125, -0.0176849365234375, -0.0152587890625, -0.038787841796875, 0.007747650146484375, -0.00516510009765625, 0.059356689453125, -0.049560546875, 0.0124969482421875, -0.0058441162109375, 0.04351806640625, -0.005603790283203125, -0.032867431640625, 0.0031337738037109375, -0.01142120361328125, -0.0023670196533203125, 0.0082244873046875, 0.04083251953125, -0.03570556640625, -0.096435546875, 0.055328369140625, -0.02178955078125, -0.0296173095703125, 0.038299560546875, -0.02789306640625, -0.0186920166015625, 0.0286407470703125, 0.019683837890625, -0.0124969482421875, -0.01552581787109375, -0.0194854736328125, 0.0186004638671875, 0.052520751953125, 0.01425933837890625, 0.022674560546875, -0.0023670196533203125, 0.0205230712890625, -0.0133209228515625, 0.0012359619140625, 0.0289459228515625, -0.00719451904296875, 0.014862060546875, 0.034423828125, -0.04150390625, -0.047149658203125, -0.05078125, -0.0096588134765625, -0.04119873046875, -0.0061798095703125, 0.04254150390625, 0.044708251953125, 0.0055084228515625, 0.051055908203125, -0.0183258056640625, -0.07037353515625, 0.0202789306640625, -0.01335906982421875, -0.0137786865234375, 0.0207977294921875, -0.01436614990234375, -0.005168914794921875, 0.0125274658203125, 0.01551055908203125, 0.003864288330078125, 0.00533294677734375, -0.0242156982421875, -0.0176239013671875, -0.01788330078125, -0.0009732246398925781, -0.017852783203125, -0.004489898681640625, -0.02484130859375, -0.006008148193359375, -0.01125335693359375, -0.0195465087890625, -0.0176239013671875, 0.0254364013671875, -0.032135009765625, 0.0112152099609375, -0.0120391845703125, 0.005092620849609375, -0.044921875, 0.0249481201171875, -0.0173187255859375, 0.0694580078125, -0.05511474609375, -0.0027217864990234375, 0.0201873779296875, 0.01220703125, 0.0170135498046875, 0.0195465087890625, -0.0380859375, 0.004817962646484375, -0.0198974609375, -0.0262451171875, -0.05682373046875, 0.006755828857421875, -0.0506591796875, 0.0067138671875, 0.0189208984375, 0.031829833984375, 0.08673095703125, 0.0037078857421875, 0.01995849609375, 0.0261993408203125, -0.0012264251708984375, -0.0435791015625, 0.0300750732421875, 0.11102294921875, 0.03466796875, 0.00766754150390625 ]