{"id":1161,"date":"2024-04-15T13:56:13","date_gmt":"2024-04-15T06:56:13","guid":{"rendered":"https:\/\/andrewlian.com\/new\/?page_id=1161"},"modified":"2024-04-15T13:56:14","modified_gmt":"2024-04-15T06:56:14","slug":"links-enter","status":"publish","type":"page","link":"https:\/\/andrewlian.com\/new\/links-enter\/","title":{"rendered":"Links &#8211; Enter"},"content":{"rendered":"\n<form enctype=\"multipart\/form-data\" method=\"post\" id=\"lladdlink\" action=\"\"><input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"536870912\" \/><input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"9f9dad8bf1\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/new\/wp-json\/wp\/v2\/pages\/1161\" \/><input type=\"hidden\" name=\"thankyouurl\" value=\"\" \/><input type=\"hidden\" name=\"link_library_user_link_submission\" value=\"1\" \/><input type=\"hidden\" name=\"settingsid\" value=\"1\" \/><input type=\"hidden\" name=\"xpath\" value=\"\" \/><div class='lladdlink'>\n<div id=\"lladdlinktitle\">Add new link<\/div>\n<table>\n<tr><th><label for=\"link_name\">Link name<\/label><\/th><td ><input data-validation=\"required length\" data-validation-length=\"max1024\" data-validation-error-msg-required=\"Required field\" type=\"text\" name=\"link_name\" id=\"link_name\" value=\"\" \/><\/td><\/tr>\n<tr><th><label for=\"link_url\">Link address<\/label><\/th><td ><input data-validation=\"required url length\" data-validation-length=\"max1024\" data-validation-error-msg-required=\"Required field, URL\" type=\"text\" name=\"link_url\" id=\"link_url\" value=\"https:\/\/\" \/><\/td><\/tr>\n<input type=\"hidden\" name=\"link_category[]\" id=\"link_category\" value=\"71\"><\/table>\n<span style=\"border:0;\" class=\"LLUserLinkSubmit\"><input type=\"submit\" name=\"submit\" value=\"Add Link\" \/><\/span><\/div>\n<\/form>\n\n<script type='text\/javascript'>\n\tjQuery( document ).ready( function() {\njQuery('.lltooltip').each(function () {\n\tjQuery(this).tipTip();\n});\n\tvar LinkLibraryValidationLanguage = {\n\t\terrorTitle: 'Form submission failed!',\n\t\trequiredFields: 'You have not answered all required fields',\n\t\tbadTime: 'You have not given a correct time',\n\t\tbadEmail: 'You have not given a correct e-mail address',\n\t\tbadTelephone: 'You have not given a correct phone number',\n\t\tbadSecurityAnswer: 'You have not given a correct answer to the security question',\n\t\tbadDate: 'You have not given a correct date',\n\t\tlengthBadStart: 'The input value must be between ',\n\t\tlengthBadEnd: 'characters',\n\t\tlengthTooLongStart: 'The input value is longer than ',\n\t\tlengthTooShortStart: 'The input value is shorter than ',\n\t\tnotConfirmed: 'Input values could not be confirmed',\n\t\tbadDomain: 'Incorrect domain value',\n\t\tbadUrl: 'The input value is not a correct URL. Requires http:\/\/ or https:\/\/.',\n\t\tbadCustomVal: 'The input value is incorrect',\n\t\tandSpaces: ' and spaces ',\n\t\tbadInt: 'The input value was not a correct number',\n\t\tbadSecurityNumber: 'Your social security number was incorrect',\n\t\tbadUKVatAnswer: 'Incorrect UK VAT Number',\n\t\tbadStrength: 'The password is not strong enough',\n\t\tbadNumberOfSelectedOptionsStart: 'You have to choose at least ',\n\t\tbadNumberOfSelectedOptionsEnd: ' answers',\n\t\tbadAlphaNumeric: 'The input value can only contain alphanumeric characters ',\n\t\tbadAlphaNumericExtra: ' and ',\n\t\twrongFileSize: 'The file you are trying to upload is too large (max %s)',\n\t\twrongFileType: 'Only files of type %s is allowed',\n\t\tgroupCheckedRangeStart: 'Please choose between ',\n\t\tgroupCheckedTooFewStart: 'Please choose at least ',\n\t\tgroupCheckedTooManyStart: 'Please choose a maximum of ',\n\t\tgroupCheckedEnd: ' item(s)',\n\t\tbadCreditCard: 'The credit card number is not correct',\n\t\tbadCVV: 'The CVV number was not correct',\n\t\twrongFileDim : 'Incorrect image dimensions,',\n\t\timageTooTall : 'the image can not be taller than',\n\t\timageTooWide : 'the image can not be wider than',\n\t\timageTooSmall : 'the image was too small',\n\t\tmin : 'min',\n\t\tmax : 'max',\n\t\timageRatioNotAccepted : 'Image ratio is not accepted'\n\t};\n\t\tjQuery.validate({\n\t\t\tmodules : 'location, date, security, file',\n\t\t\tlanguage : LinkLibraryValidationLanguage,\n\t\t});\n\t\tjQuery('#link_category').change(function() {\n\t\tvar cat_data = jQuery('#link_category').val();\n\t\t\tif ( Array.isArray( cat_data ) ) {\n\t\t\t\tif ( cat_data.indexOf('new') != -1 ) {\n\t\t\t\t\tjQuery('.customcatrow').show();\n\t\t\t\t} else {\n\t\t\t\t\tjQuery('.customcatrow').hide();\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tif ( jQuery('#link_category').val() == 'new' ) {\n\t\t\t\t\tjQuery('.customcatrow').show();\n\t\t\t\t} else {\n\t\t\t\t\tjQuery('.customcatrow').hide();\n\t\t\t\t};\n\t\t\t};\n\t\t});\n\t\tjQuery('#link_tags').change(function() {\n\t\tvar tag_data = jQuery('#link_tags').val();\n\t\t\tif ( Array.isArray( tag_data ) ) {\n\t\t\t\tif ( tag_data.indexOf('new') != -1 ) {\n\t\t\t\t\tjQuery('.customtagrow').show();\n\t\t\t\t} else {\n\t\t\t\t\tjQuery('.customtagrow').hide();\n\t\t\t\t};\n\t\t\t};\n\t\t});\n\t});\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"kt_blocks_editor_width":"","footnotes":""},"class_list":["post-1161","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/pages\/1161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/comments?post=1161"}],"version-history":[{"count":1,"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/pages\/1161\/revisions"}],"predecessor-version":[{"id":1162,"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/pages\/1161\/revisions\/1162"}],"wp:attachment":[{"href":"https:\/\/andrewlian.com\/new\/wp-json\/wp\/v2\/media?parent=1161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}