I’ve Added a Store – Great Ebook Resources

Share the post “I’ve Added a Store – Great Ebook Resources”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “I've Added a Store – Great Ebook Resources”, text: “I've Added a Store – Great Ebook Resources – You may have noticed I just added an Amazon Store (astore) to the site. It was”, url: shareurl, }); console.info(“Successful share”); } catch(err) { console.warn(“Error sharing”, error); } }); }); } });

You may have noticed I just added an Amazon Store (astore) to the site. It was mostly as a test, to figure out how that sort of thing worked. But it was also to give you an easy list of books I recommend. These are books about the indie publishing business. How to write your book, how to write it faster, how to edit it, how to spiffy up the packaging, and things like that. To be honest, […]

The Post That Wasn’t

Share the post “The Post That Wasn’t”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “The Post That Wasn't”, text: “The Post That Wasn't – I had a post all ready to go about a certain program, but if I read the legal”, url: shareurl, }); console.info(“Successful share”); } catch(err) { console.warn(“Error sharing”, error); } }); }); } });

I had a post all ready to go about a certain program, but if I read the legal language correctly, I’m not allowed to post something like that. Am I even allowed to quote the part of the agreement that says I’m not supposed to post about the agreement? I don’t think so..

I am allowed, and required, to post this: “JulietRich.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to http://www.amazon.com.”

So expect that to appear somewhere (else) on the website as soon as I decide where I want to put it.

How to Add a Custom 404 Page in WordPress Using Atahualpa

Share the post “How to Add a Custom 404 Page in WordPress Using Atahualpa”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “How to Add a Custom 404 Page in WordPress Using Atahualpa”, text: “How to Add a Custom 404 Page in WordPress Using Atahualpa – What is a 404 Page and Why Do I Want a Custom One? A 404 page is the page”, url: shareurl, }); console.info(“Successful share”); } catch(err) { console.warn(“Error sharing”, error); } }); }); } });

What is a 404 Page and Why Do I Want a Custom One?

A 404 page is the page that’s displayed when someone tries to access a page on your site that doesn’t exist. Maybe it once did and doesn’t now. Maybe it moved. Maybe it never existed. Whatever the case, the visitor to your site is lost and needs a helping hand.

The default page […]

My Failed Attempt to Add Google Pagespeed Insights

Share the post “My Failed Attempt to Add Google Pagespeed Insights”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “My Failed Attempt to Add Google Pagespeed Insights”, text: “My Failed Attempt to Add Google Pagespeed Insights – Google Pagespeed Insights is a WordPress plugin that was supposed to tell me”, url: shareurl, }); console.info(“Successful share”); } catch(err) { console.warn(“Error sharing”, error); } }); }); } });

Google Pagespeed Insights is a WordPress plugin that was supposed to tell me about the load times on my pages and give me “insights” into how to speed things up.

Well, after fiddling around with it for 45 minutes or so, I finally hit a brick wall.

To save others the pain, I thought I should write it up!

* Install Google Pagespeed Insights plugin – check! Easy, fast, no problem.

* Give it a Google API key. Stumbling block.

* […]

Mistake Made, Lesson Learned – Set a Site Description!

Share the post “Mistake Made, Lesson Learned – Set a Site Description!”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “Mistake Made, Lesson Learned – Set a Site Description!”, text: “Mistake Made, Lesson Learned – Set a Site Description! – As you may know, this site is running on WordPress. I had installed a plugin”, url: shareurl, }); console.info(“Successful share”); } catch(err) { console.warn(“Error sharing”, error); } }); }); } });

As you may know, this site is running on WordPress. I had installed a plugin that was new to me, All in One SEO, which is supposed to help your search engine ranking. It does a lot of stuff automatically, but also gives you fine-tuned control over things like keywords.

My site shows up in Google now if you search for “juliet rich” — not that a lot of people are doing that just yet! — however, it was showing for a description the first sentence of my most recent post. Well, that’s not terribly helpful! It talks about Amazon Prime, which is only tangentially relevant to the site as a whole.

So I just went into the All in One SEO settings and set a site description. It’s a variation on my ‘About’ text.

I hope that will show searchers something a little more succinct and relevant to them than the start-of-a-post ramblings that they’ll see now.

So those of you with sites, I have made the mistake and learned the lesson for you as well as myself.

How to Add Blank Lines in WordPress

Share the post “How to Add Blank Lines in WordPress”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “How to Add Blank Lines in WordPress”, text: “How to Add Blank Lines in WordPress – WordPress can do really weird and obnoxious things with blank lines. It will add”, url: shareurl, }); console.info(“Successful share”); } catch(err) { console.warn(“Error sharing”, error); } }); }); } });

WordPress can do really weird and obnoxious things with blank lines. It will add them when you don’t want them, and more often, strip them out when you do want them. No matter how many times and ways you tell it — blank line, blank line!! — as soon as you hit that ‘Preview’ button, they’re gone.

What theme you’re using and what plugins you have installed can also affect it. Switching from Visual to Text editor can screw it up. If you have a plugin that gives you more controls in TinyMCE (the visual editor), that may make things easier or harder!

Here’s what worked for me. It should work most of the time. So, try it out, and my fingers are crossed for you.

Just add the HTML code for a blank space to each line you want blank.

 

That will trick WordPress into giving you a non-blank line with a blank space. So it’s blank.

Never has nothingness been so frustrating!
 

Favicon not showing in Atahualpa

Share the post “Favicon not showing in Atahualpa”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “Favicon not showing in Atahualpa”, text: “Favicon not showing in Atahualpa – Are you having trouble getting your favicon to show up in WordPress using”, url: shareurl, }); console.info(“Successful share”); } catch(err) { console.warn(“Error sharing”, error); } }); }); } });

Are you having trouble getting your favicon to show up in WordPress using Atahualpa? Read on for my trials and tribulations! Or just use one of these two solutions:

Solution #1 – Just stick a file called favicon.ico in the root directory of your website, above the wp-content/ folder.

Solution #2 – Put your file called whateveryouwant.ico in wp-content/ata-images/ and then go to Appearance->Atahualpa Theme Options->Add a Favicon and tell it what name you want. (IGNORE what it says in there about where to put the file. It’s lying to […]