Editor and Sidebar Line

Posted in: Newspaper
Post count: 20688

It is the h1 around the logo, containing a link that directs to the website home
https://www.screencast.com/t/imX8s37m5SQ
https://www.screencast.com/t/pczmuNB4iZcU

Testing a category page the h1 is the category name
https://www.screencast.com/t/AX94xvVtkMt

Yoast will not control anything in this case.

Post count: 205

The favicon doesn’t show in XML Sitemap: https://www.softfully.com/sitemap.xml
How to fix? Thank you.

Post count: 205

The favicon doesn’t show in RSS Feed Reader.
How to fix? Thank you.

Post count: 20688

Those aren’t WordPress pages, so it would not be loaded there, the theme wont be loaded as well.
Maybe there are some solution online if you want to show a favicon in the sitemap and feed pages, I couldn’t find any exact information however.

Post count: 205

HI,
My site is Softfully | Daily Software Giveaways
In error_log i am receiving below error

[11-Sep-2018 01:23:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/xyz/public_html/wp-content/themes/news9/index.php:6
Stack trace:
#0 {main}
thrown in /home/xyz/public_html/wp-content/themes/news9/index.php on line 6

Post count: 20688

Hi,

You could check some similar topics – https://forum.tagdiv.com/topic/problem-with-search-2/

Post count: 72

I read through this thread a couple weeks ago and implemented the change but it would only work if I made the change in the Parent theme. If I changed it in editor-style.css of the child theme, the change was not reflected and I still saw the “sidebar” in the Edit Post screen. Anything I’m doing wrong?

Post count: 20688

@paperweight It will only work if you do it in the main theme file. So if you want to remove the sidebar line make the modification in the main file.

Post count: 72

Ahhhh, so no way I can do this in the child theme? I’ve been clearing cloudflare, server, opcache, and local caches repeatedly when trying to make it work on a child theme, but I’m glad now it seems to only work with a parent theme change.

OK, I will do it in the parent theme, but I hope there is a toggle or something to allow/disallow thin in the theme. I need to repair it each time there is a Newspaper theme upgrade 🙁

It takes up precious real estate in the window. I hope theme can work on the “outside” and not on the “inside” or WordPress — you understand my meaning?

Post count: 20688

I have already added this as a suggestion, to be able to disable the sidebar delimitation in case it’s not needed. So in the future there might be a setting for it.

If you don’t mind me asking, why exactly do you want it disabled?

Post count: 205

Please read very carefully and give me the right and best answer.
Which google analytics code is best for my site: Softfully.com
Yet i am using plugin “Google Analytics for WordPress by MonsterInsights”.
This i am asking you because of i am receiving message from Google: “The Landing Pages report has a (not set) entry“.
Also there is an option in your theme called “ANALYTICS/JS CODES” with example below:
Below code is provided by Newspaper
<script>
(function(i,s,o,g,r,a,m)
{i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),m=s.getElementsByTagName(o)
[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’
https://www.google-analytics.com/analytics.js&#8217;,’ga’);

ga(‘create’, ‘UA-XXXXX-Y’, ‘auto’);
ga(‘send’, ‘pageview’);
</script>
=====================

AND below code is provided by Google:
<!– Global site tag (gtag.js) – Google Analytics –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-Y”></script&gt;
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());

gtag(‘config’, ‘UA-XXXXX-Y’);
</script>
======================
From above two codes, which one code to use for best real time results?
Can i use plugin and one code inside your theme called “ANALYTICS/JS CODES” both?
I am aware, so i need your help please.
THANKS

Post count: 20688

There are multiple methods of using analytics in WordPress, basically connecting your website with Google analytics.

The plugin you mention would be one of them. The theme also provides a section in the theme panel where you can enter the analytics code.
Method 3 in this guide is what the theme does
https://www.wpbeginner.com/beginners-guide/how-to-install-google-analytics-in-wordpress/

You will have to decide which method you want to use. If the plugin offers more options and settings that are useful to you, use the plugin.
I found a guide about the plugin but there are others if you want to read more
https://www.wp101.com/adding-google-analytics-to-wordpress/

Post count: 72

I want it disabled because it shouldn’t have been enabled in the first place. 🙂

A Theme should operate on the frontend, nit the backend. There should be a separation of content and style. That’s the big reason why people moved from Movable Type to WordPress 12-14 years ago (I was one of those ppl who also switched to WP 12 years ago).

The “sidebar” in the Post Edit gets in the way on smaller, lower resolution screens and it causes confusion. I understand that it was created to show users what the “Post area” would look like on the frontend, but it shouldn’t be there by default. It should instead be a toggle preference in the theme.

Thank you for your help.

Post count: 20688

@paperweight Thank you for the feedback, much appreciated. A solution will be implemented in a future theme update.

Viewing 14 posts - 26 through 39 (of 39 total)
The forum ‘Newspaper’ is closed to new topics and replies.