TOSTAD
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Does the alt text for an image matter for SEO?Hi @om2, yes, alt tags are really important for SEO. You should always fill them out. More info here – https://www.w3.org/WAI/tutorials/images/decision-tree/
Forum: Developing with WordPress
In reply to: How to Remove Date and AuthorHi @shanilasjayakody,
this can be easily done with a few lines of CSS. But without a link to your website I can’t help you further.Forum: Fixing WordPress
In reply to: Remove date from blog post titleHappy to help @rluesc
Forum: Fixing WordPress
In reply to: Remove date from blog post titleHi @rluesc,
when you open custom CSS, don’t change CSS that is already there. Just add two lines of CSS that I wrote for you. Add them to the bottom of Custom CSS. Then just save the changes.Forum: Fixing WordPress
In reply to: Remove date from blog post titleHi @rluesc,
just add this to your custom CSSdiv.date-wrap {display:none;}Forum: Fixing WordPress
In reply to: How to remove header image from Theme@fmarchioni
Happy to help. Have a good day.Forum: Fixing WordPress
In reply to: How to remove header image from ThemeHi @fmarchioni,
how exactly do you want it to look? You could easily tweak the design with simple CSS.For example, this reduces the height of the “black banner” as you called it.
#page-site-header {padding:100px 0!important;}If you want, you could also change its background to white, so it will seem like it is not there:
#page-site-header {background-color:#fff!important;} //you also need to change text color to black #page-site-header .page-title, .trail-items li {color:#000!important;}Forum: Developing with WordPress
In reply to: Placing different logos on different pages@muhammadibtehaj Unfortunately, in your theme, this can’t be easily done in header.php. You will have to look further, to the particular functions. Either neve_before_header_trigger, action neve_do_header or neve_after_header_trigger. But that could be a little more complicated.
Easy solution that comes to mind, although a dirty one, could be placing the logo somewhere between these functions so it shows up in header, style it with CSS if needed, and then hide the original logo with page specific CSS.
- This reply was modified 5 years, 5 months ago by TOSTAD.
Forum: Developing with WordPress
In reply to: Placing different logos on different pages@muhammadibtehaj if you are using page slug, you have to add parentheses, so the code will look like this:
if (is_page( 'jumbo-collection' ))
Now the if statement should work and you just have to find the right place for the code in header.php. Try placing the code higher this time. If that won’t work, could you make a screenshot of header.php file?Forum: Developing with WordPress
In reply to: Placing different logos on different pages@muhammadibtehaj Depends on your theme and structure of header.php. You can print your logo in multiple ways, for example
{echo '<img src="link_to_the_image">';}Forum: Developing with WordPress
In reply to: Placing different logos on different pagesHi,
you could edit part of header.php that prints your logo in your child theme by using something like this:if (is_page( ID_of_page )) { print first logo} else if (is_page (ID_of_page)) { print second logo}etc…
Forum: Fixing WordPress
In reply to: Why WP generates new URLs – which should not existsHi,
more info about this default behavior here – https://sitecozy.com/is-the-url-auto-complete-feature-from-wordpress-a-problem-for-seo/
IMHO from SEO point of view it should not be a problem.Forum: Plugins
In reply to: [Polylang] Polylang Homepage Title&description with RankMathSame problem here with Yoast SEO. Polylang version 2.8.1 and Yoast version 14.9. Is Polylang team working od this issue please?
Ok, thank you. Here si a simple CSS, I have done more customization on my end, but this is the main part:
This is for all products:.woocommerce-variation-price {display:block!important} .zaddon_data {display:none!important}This is for the product category where you use product addons:
.product_cat-YOUR-CATEGORY-SLUG .zaddon_data {display: block!important; .product_cat-YOUR-CATEGORY-SLUG .woocommerce-variation-price {display:none!important}P.S.: The code only works for variable products + don’t forget to change your-category-slug.
- This reply was modified 6 years, 3 months ago by TOSTAD.
Thank you for responding. So for now there isn’t a working solution? I temporarily solved it with CSS, but it is not very elegant.