elisabeth01
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Change value of a custom form field before sendThank you for guiding me in the right direction; it seems I needed to use the
wpcf7_mail_tag_replacedfilter.When I use the example code, I get the following error:
Parse error: syntax error, unexpected variable "$replaced"Any idea why that is happening?
Edit: The cause was weird characters. 🙂
Edit2: It still isn’t quite working. My code is as follows:function custom_function( $replaced, $submitted, $html, $mail_tag ) { if( 'different_city' == $mail_tag->field_name() ){ if( $submitted == 'other...' ){ $replaced = 'change_text'; } } return $replaced; } add_filter( 'wpcf7_mail_tag_replaced', 'custom_function', 10, 4 );When I check (browser) console -> network -> and check the response
var_dump($_POST);the values passed inside the form matches.
However the submitted value doesn’t get changed fromother...tochange_text.- This reply was modified 3 years, 5 months ago by elisabeth01.
- This reply was modified 3 years, 5 months ago by elisabeth01.
Forum: Themes and Templates
In reply to: [Astra] The CSS works only on mobileHi Alexandra,
Normally when you don’t want to display categories, you simply don’t select any when publishing a post or you remove them in the backend area.
If you wish to use some kind of redirecting, there’s a simple plugin that you can use: Redirection by John Godley.
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] search result for astra themeYou can add the CSS code by going to
WP Admin > Appearance > Customizeand scroll down toAdditional CSS.I’m not part of the BrainStorm Force team; I’m just a someone with coding skills and plenty of WordPress knowledge. 😉
If you have the Pro version, it would be better to contact them directly by clicking on this link and simply share this forum post with them. That way you don’t have to explain your question twice.
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] Make Parent Category Clickable on MenuHi Bohobelle22,
I took a quick glance and it seems to be an issue inside elementskit since you’re using their plugin to create a navigation menu.
Feel free to correct me if I’m wrong.
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] Can the theme developer team help me with a child themeHi Kernix,
When I look at the child theme generator, I only see
@package Astra Child@packageis a documentation tag to identify your theme. More information can be found by visiting this link for a more in-depth explanation.Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] search result for astra themeHi Louisapple,
If you’re open to the idea, the search result page can be modified specific to your needs through (paid) customization.
Another possibility is, through minor css code, to make the image smaller. For example you can use something like this inside WP Customizer:
.search-results .product.has-post-thumbnail img {max-width:300px}Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] The CSS works only on mobileYou can use the following css code to hide the category titles and descriptions:
.ast-archive-description {display:none}As for the Google Font, it should actually be:
font-family: 'Bilbo Swash Caps', cursive;orfont-family: 'Bilbo Swash Caps',handwriting;I’m a bit curious, are you manually making these changes or do you use the Astra (PRO) settings inside WP Customizer?
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] Designing a Static “Home Page”If I know the name of the template, I can view the structure and provide better help.
If you use a non-astra template, it may be better to contact the developers of the template instead.Another possibility is to use the Elementor Header & Footer Builder plugin.
With this plugin you can create a slider on top of the page and multiple categories columns with posts.Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] The CSS works only on mobileHi Alexandra,
The code you added is indeed placed inside the @media rule (also with minor mistakes).
@media only screen and (max-width:480px){.site-title a{font-size:2.5rem}#url{display:none} .comment-reply-link{background:#2eb851;color:#fff;padding:6px 12px;border-radius:3px;border:none text-decoration:none}Change it to:
.site-title a{font-size:2.5rem} #url{display:none} .comment-reply-link{background:#2eb851;color:#fff;padding:6px 12px;border-radius:3px;border:none;text-decoration:none}Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] The CSS works only on mobileHi Alexandra,
In order to help you the best I can, would you be willing to share a small piece of your code?
It’s possible you’re adding your code inside the @media rule.
https://developer.mozilla.org/en-US/docs/Web/CSS/@mediaAnother possibility is you’re using a class name that’s been added for mobile devices.
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] Nav Menu Drop Down Icon ProblemHi Lichael,
Do you still need help with this?
It’s quite possible that the issue you’re having could be related to the Autoptimize plugin you’re using.
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] search result for astra themeHi Louisapple,
Could you share your website url, so I can have look?
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] Woocommerce Mobile Thumbnail Images Different SizesHi rickyw620,
Could you share your website url, so I can have look?
Kind regards,
ElisabethForum: Themes and Templates
In reply to: [Astra] Designing a Static “Home Page”Hi Alexandra,
Can you tell me the name of the template you imported from the Starter Templates library?
Kind regards,
Elisabeth- This reply was modified 4 years, 4 months ago by elisabeth01.
Forum: Themes and Templates
In reply to: [Astra] Largest Contentful Paint image was lazily loadedHi curtailprice,
I checked your website on two different occassions and you scored above 90% (mobile) and even 100% on desktop. Your Largest Contentful Paint was (green) 0,4 s. You can be proud at these results!
Kind regards,
Elisabeth