All in One SEO Pack – Description, keywords not displaying

I’m using the All-in-One SEO pack for the first time and I can’t get the meta keywords or description to display. I originally had the same problem with the title tag, and I had to add a blank


tag to my header.php to get the title tag to display. Do I need blank placeholders for the keywords and descriptions as well? I’ve tried adding

 <meta name="description" content="">  <meta name="keywords" content=""> 

but this didn’t work. I can’t find anything in the documentation, which implies it will just work. What am I doing wrong?

Firefox 72 not displaying CSS Custom Cursor from SVG file

I’m currently experimenting with CSS custom cursors:

cursor: url(' [... URL HERE...'), auto; 

and I’m finding that Firefox 72 is not happy with either SVG cursors or GIF cursors (though it is entirely happy with PNG cursors).

According to: Can I Use CSS property: cursor: url() there shouldn’t be a problem.

But clearly there is.

Can anyone shed any light on what the issue is here, please?

Is it that:

  • Firefox does not support SVG cursors and is misinformed ?
  • Firefox does support SVG cursors and I am doing something else wrong?


Oh. That’s odd. Not working on Chrome 79 either. No idea what’s up then.

Displaying extra large images

I created a very large isometric render of a model of a town. I would like to display the image on the Web. What’s the best way of doing this? Should I host the single image or split it into tiles? Do either of these options affect render speed or download speed or memory usage in a browser? Thanks.

The image is 16384x8192px, 24-bits, 40MB, PNG format.

How can I change field values of posts before displaying

I have wordpress project with woocommerce. What I’m trying to achieve is to change values before displaying them on the view page.

For example depending on session/cookie I want to change the language of post title and content

Using the hooks the_title, the_content I was able to achieve it. The problem is when I try to do the same for the_excerpt hook, it’s just never called.

Relevant code from functions.php :

add_filter('the_title', 'custom_lang_title');  function custom_lang_title($  title){     if($  otherlang){         return get_field('lang_title');     }else{         return $  title;     } }  add_filter('the_content', 'custom_lang_desc');  function custom_lang_desc($  content){     if($  otherlang){         return get_field('lang_content');     }else{         return $  content;     } }   //The code below does not work  add_filter('the_excerpt', 'custom_lang_excerpt');  function custom_lang_excerpt($  desc){     if($  otherlang){         return get_field('lang_excerpt');     }else{         return $  desc;     } } 

I’m completely new to wordpress, so if don’t really know what other info can be helpful. I can provide more info on request.

Displaying multiple parts of an expression in a single output

I have the following code:

names = {"Gly", "Ala", "Ser", "Pro",  "Val", "Thr", "Cys", "Leu/Ile",     "Asn", "Asp/isoAsp", "Gln", "Lys", "Glu", "Met", "His", "Phe",     "Arg", "Tyr", "Trp", "4-hydroxyPro", "5-hydroxyLys",     "6-N-methylLys", "\[Gamma]-carboxyGlu", "selenoCys", "phosphoSer",     "phosphoThr", "phosphoTyr", "\[Sigma]-N-methylArg",     "6-N-acetylLys", "Glu \[Gamma]-methyl ester", "Ornithine",     "Citrulline", "3-methylHis", "N,N,N-trimethylLys", "N-acetylAla",     "3-sulfinoAla", "N-acetylCys", "pyroGlu", "N-acetylGly",     "Met sulfoxide", "Met sulfone", "N-acetylSer", "N-acetylThr",     "Kynurenine", "Tyr O-sulfate"}; list = {57.0215, 71.0371, 87.0320, 97.0528, 99.0684, 101.0477,     103.0092, 113.0841, 114.0429, 115.0269, 128.0586, 128.0950,     129.0426, 131.0405, 137.0589, 147.0684, 156.1011, 163.0633,     186.0793, 113.048, 144.089, 142.110, 173.032, 150.954, 166.998,     181.014, 243.029, 170.116, 170.105, 143.058, 114.079, 157.085,     151.074, 170.141, 113.047, 134.999, 145.019, 111.032, 99.032,     147.035, 163.030, 129.042, 143.058, 190.047, 243.020}; subsets =   DeleteDuplicates@   Select[Subsets[list, {3}], 344.160 <= Total[#] <= 344.163 &] 

which produces the expression:

{{71.0371, 103.009, 170.116}}

To display the parts of this expression as their names, I’m using:

seqNam = names[[Position[list, subsets[[1]][[1]]] [[1]][[1]]]] seqNam = names[[Position[list, subsets[[1]][[2]]] [[1]][[1]]]]  seqNam = names[[Position[list, subsets[[1]][[3]]] [[1]][[1]]]] 

but I would like do display all parts as one line of output, and I don’t know how. Any help would be appreciated!

What is best displaying a long list of items

Hi in my app user can select an item in a long pre-defined list to add to the user owned list. The user’s list therefore may have hundred of items. The user must be able to see what items are in his / her list and remove items from the list as well. The list works exactly like how you would compose an email on Google mail and add people the to recipient list. How can I effectively do this. Thanks.

Displaying list items via SP.ClientContext

I am currently using SP.ClientContext via JavaScript to display items from a SharePoint list. I am able to display the items via an alert or via input button onClick to display the data. However, I want it to display onLoad.

I am currently using an iframe tag to do so but it runs very slow. When I run the Dev Tool in Chrome it states “Page cannot be found” (I suspect it’s trying to locate the source and I’m not referencing the source correctly…currently using src=”DispForm.aspx” but I’m sure that’s incorrect).

Is there another way of displaying the items onLoad via JavaScript or finding the correct src reference for the iframe tag? Below is the code I am using:

    <!--iframe is slow...maybe because it's looking for DispForm.aspx?-->     <iframe style="display:none" onload="runCode()" src="/DispForm.aspx"></iframe>     <span id="Sig"></span>     <script type="text/javascript">          var itemId = GetUrlKeyValue("ID");           var targetListItem;         ExecuteOrDelayUntilScriptLoaded(Initialize, "sp.js");                       function runCode() {          var clientContext = new SP.ClientContext();           var targetList = clientContext.get_web().get_lists().getByTitle(myList');          targetListItem = targetList.getItemById(itemId);          clientContext.load(targetListItem, 'ws_x002d_sig');          clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));        }         function onQuerySucceeded() {             if (targetListItem.get_item("ws_x002d_sig")==="" || targetListItem.get_item("ws_x002d_sig")==null) {                 var prefVar= "<a href='#ws'>Sign</a>";             }             else {                 var prefVar=targetListItem.get_item('ws_x002d_sig');             }              var myObject = {                 prefObject: function() {                     return prefVar;                 }             }              x = myObject.prefObject();             document.getElementById("Sig").innerHTML = x;             //"alert works great" alert('Request succeeded. \n\nRetrieved Item is: ' + targetListItem.get_item('ws_x002d_sig'));         }         function onQueryFailed(sender, args) {          alert('Request failed. \nError: ' + args.get_message() + '\nStackTrace: ' + args.get_stackTrace());        }                      </script>      <!--input button works great -->     <!--<input id="Button1" type="button" value="Run Code" onclick="runCodeWs()" />--> 

Securely displaying hidden integers with MD5

A system I’m trying to disprove security of uses the following mechanism: a 19-digit integer is hashed via the MD5 algorithm and the salt of the integer is shown in plain sight to the user before they take an irreversible action relevant to trying to guess the first 2 digits of said number.

Somehow, this screams of insecurity to me. With 10^19 possible results for each particular implementation and a 2-minute lifetime of a single entry, as well as capabilities of modern GPUs, I just don’t feel giving the okay to rolling this out.

My attempts to tackle it with a hashcat mask bruteforce with a somewhat high-end graphics card off my personal computer give very reassuring results of a time way exceeding two minutes, yet intuition seems to hint at something I’m missing.

Am I?