Kategoriler
Test Kategorisi

Removing and Changing Showing posts sorted by relevance for query on Blogger



When a user clicks on tags on your blog or search

when you do,Showing posts with label” and “Phrases titled “Showing posts sorted by relevance for query” will automatically appear at the top of the page. These titles give your blog an amateur look. It makes you think you haven’t developed it enough. Unfortunately, Blogger doesn’t allow you to change these phrases the easy way you want. However, search on your blogspot blog There are other ways to change the automatic sentence that results and the automatic sentence that appears when clicking on the labels.You just have to work around a bit.I will show you these ways with an easy-to-understand and detailed guide below.


The blogger search and label auto messages I mentioned look like this



Removing “Showing Posts with Label” Automatic Message

Login to your Blogger account. Next, click on Template and then Edit HTML on the left tabs.

Click anywhere on the template’s HTML code page and open CTRL+F (search feature) on your keyboard. Copy and paste the code below into the search bar and search.


<b:includable id='status-message'>

After you find this part in the code page, click on the row on the left to expand the code. Thus, we will be able to see the actual code in it that we need to remove. You will expand it by clicking the row arrow where it says “click on the arrow” as shown in the photo below.






After clicking you will see the expanded code below. That’s exactly what we want to remove. Delete the code below completely.



     <b:includable id='status-message'>
      <b:if cond='data:navMessage'>
      <div class="status-msg-wrap">
        <div class="status-msg-body">
          <data:navMessage/>
        </div>
        <div class="status-msg-border">
          <div class="status-msg-bg">
            <div class="status-msg-hidden"><data:navMessage/></div>
          </div>
        </div>
      </div>
      <div style="clear: both;"/>
      </b:if>
    </b:includable>

Copy and paste the code below instead.


<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style="clear: both;"/>
</b:if>
</b:includable>

You can exit by clicking save. The default search result auto message on blogspot blogs will no longer appear on your blog.


Replace With the Auto-Phrase You Want Instead of Remove

Again, by following the same steps, you will delete the code above on the Template Html page. Only this time, instead of copying and pasting the last code at the top, you will now copy and paste the code below.


    <b:includable id='status-message'>
      <b:if cond='data:navMessage'>
      <div class="status-msg-wrap">
        <div class="status-msg-body">
          <b:if cond='data:blog.pageType == "index"'>
          <b:if cond='data:blog.searchLabel'>
            Labele Tıklandığında Gelen Sonuçlar <b><data:blog.searchLabel/></b>
          </b:if>
          <b:if cond='data:blog.searchQuery'>
            Arama Sonuçları <b><data:blog.searchQuery/></b>
          </b:if>
          <b:else/>
          <data:navMessage/>
          </b:if>
        </div>
        <div class="status-msg-border">
          <div class="status-msg-bg">
            <div class="status-msg-hidden"><data:navMessage/></div>
          </div>
        </div>
      </div>
      <div style="clear: both;"/>
      </b:if>
    </b:includable>


Copy and paste this code instead of the code you deleted. As you can see in the code, it says “results when clicking the label” and “search results” in Turkish. Here you can replace those parts with the sentences you want. Now, when someone clicks on a tag or searches on your blog, results will appear with the title you chose.

After clicking save and exiting, make sure that you complete everything correctly by doing a few tries. Also, do not forget to make a backup of the unmodified version of your blog before all these processes. Just in case…






Bir cevap yazın

E-posta hesabınız yayımlanmayacak.