Andrzej
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Dyad] Line break in topic title?As a workaround, could the OP reduce the default size of the titles? They are quite big by default. I’m using Dyad 2 and the OP appears to be using Dyad. The following solved this problem for me:
/* On blog page reduce font size of h2 entry title */ .blog h2.entry-title { font-size: 26px !important; }You could add the date manually into the excerpt field, if you have excerpts enabled. Because the excerpt field accepts HTML, you could do something like this:
<span style="color: #808080;"><em>Posted on 24 May 2019</em>.</span> This is the rest of the text for your excerpt.You will need a short page title, otherwise in Dyad 2 the excerpt will likely be pushed to the bottom and out of the tile.
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourAnd thank you @laurelfulford for sorting out the footer columns also. Cookie banner works great and all the widgets are as they should be.
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourHi @laurelfulford,
Many thanks for your much better code. It’s one line shorter at the start and end of the code, although the original did work before the update. Importantly however, your code is perfect and the credit is now hidden.
Many thanks for your help.
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourHi @laurelfulford,
I waited and didn’t upgrade till theme version 2.0.9 came out. There seems to be a conflict between the new theme version and the plugin Remove Footer Credit, which on theme version 2.0.7, successfully removed the WP credit. Following the theme upgrade, I now have the WP credit showing up again and I do not want to hide it with CSS. Currently I have the following PHP code inputed in Remove Footer Credit:
<div class="footer-bottom-info "> <div class="site-info"> <a href="http://wordpress.org/">Proudly powered by WordPress</a> <span class="sep"> | </span> Theme: Dyad 2 by <a href="http://wordpress.com/themes/" rel="designer">WordPress.com</a>. </div><!-- .site-info --> </div><!-- .footer-bottom-info -->and I have left the “Enter your own footer credit” field blank.
I haven’t yet added the cookie widget as I’d like to get this one sorted out first.
Forum: Themes and Templates
In reply to: [Dyad] Category tag won’t show above postsI did, your post crossed with my solution!
Forum: Themes and Templates
In reply to: [Dyad] Category tag won’t show above postsUpdate:
OK, category name is now showing. If you only have posts within one category, the category name won’t show up on single posts. If you add a post to another category, for instance to Uncategorized, the category name will show. Kind of logical if you only want posts only in one category but not nice if you actually wish to highlight the category name on your posts.
After a lot of Googling I found this information here:
https://en.support.wordpress.com/customizer/content-options/
The problem is that if I put a dummy post in another category, purely to force the category name to show up, the post which I don’t want visitors to see, shows up on the blog page.
The way round that (in case anyone else wishes to do this), is explained here:
https://www.wpbeginner.com/wp-tutorials/how-to-exclude-a-category-from-your-wordpress-homepage/
I used a plugin called Code Snippets to achieve this.
Forum: Themes and Templates
In reply to: [Dyad] Category tag won’t show above postsHi,
Thank you for highlighting the page not found for the category archive page.
It turns out I had not filled in the optional details in the permalinks settings. I have now added “category” and “tag” and the category archive page now shows.
However, the category News still refuses to show above the post titles.
I have attached a link to screen shots that show the current setup:My apologies, i previously added a tag of modlook, but have since found out this should not be done.
Anyone please?
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourThat’s great. Thank you both very much for your help.
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourThe temporary solution (not ideal as time consuming) is this:
Install Plugin AMR Short Code any Widget. If the banner is in inactive widgets, drag it into Widgets For Shortcodes – not into the footer. If creating a new cookie banner, chose Widgets For Shortcodes. Then copy the short code shown, for example [do_widget id=eu_cookie_law_widget-2] and paste it at the bottom of every page whilst in text mode.
Clear cookies from browser and re-load site to check it shows. On mine it does show on pages and posts and the cookies can be accepted. Importantly, the widgets now expand correctly, if using less then four widgets in the footer.
It does not, however, show on the blog page (blog roll page), so I presume some extra CSS will be needed in the child theme, to target the blog page?
As I say, this is not ideal. Would you be able to put this up on Github as an issue? I will be most grateful if you could.
Interestingly, the cookie banner works fine in the Shoreditch theme.
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourIt’s the Cookies and Consents banner that is causing the left alignment problem!
If I drag the Cookies and Consents banner into the Inactive Widgets area – two widgets will centre align and any other pages I have that require less than four widgets, the widgets will expand correctly.
As soon as I put the banner back, the widgets get left aligned.
The banner is set to Show if Page is Post Type Page and Show if Post is Post Type Post.
Currently the banner is in the inactive panel – so that you can see the correct alignment when only two widgets are required.
Either I am doing something wrong in the Jetpack widget visibility or the visibility is not working as it should.
Now we know what is causing this, what could be the solution?
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourI see that most of the external links I added appear to have been stripped out.
Here is one more with Dyad 2, 3 widgets that are aligned to the left, when I would expect them to be centred.
Forum: Themes and Templates
In reply to: [Dyad] Cannot centre footer widgets if less than fourI switched the theme to Dyad 2 parent and the widgets at [ redundant link removed ] were still left aligned.
Here is a screen shot showing what it looked like running the parent theme:
I have now switched back to the child.
Other Dyad 2 themes located on this forum with less than four widgets in footer:
69b.566.myftpupload.com(Dyad 2 – 3 widgets left alignedbreadandhaven.com(Dyad 2 – widgets centre alignedssrkvarmland.wordpress.com(Dyad 2 – 3 widgets centre aligned