destmedia
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Boost and SEODear Alin,
Thanks again for your response. This is where i start to struggle a bit:
All redirects seem to me clean cut. As in, al redirects seem valid. I find the ‘houtwerk’ redirect hard to reproduce( can
t really find it). I
ll look again..Nonetheless: I find it hard to figure why these redirects should disable Boost to create a minified css. Do i need to install CleanCss seperatly? As i don`t use node.js..
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Boost and SEOCan it be related to xmlrpc ?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Tiled gallery and seoStef.. Looking into the xmlrpc: For my personal use i assume it can remain disabled. You figure jetpack needs it somehow though ?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Tiled gallery and seoDear Stef,
Thank you for your extensive response. I indeed found the appropriate filter you mention. As the filter didn`t want to listen i got fed up and just de-attached the media files of all my galleries via wp cms. Took 5 minutes. Could be caused by same caching issue, come to think of it..</p> <p class=””>I`ll look into the xmlrpc file, see how that effects my results. Always great to learn something..!
Gracias.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Boost and SEOThank you. It concerns basically all pages on my website as jetpack Boost touches them all. But for instance my home: https://www.tuinwerk.nu/ || https://www.tuinwerk.nu/het-wakkere-end/
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Boost and SEODear Alin,
Thank you for your elaborate answer. As for now, i disabled Jetpack Boost to see what effect it has on my SEO. As i find semrush too expensive for my business, i have to wait a bit.
The ‘warning’ coming from semrush: “55 issues with unminified JavaScript and CSS files”. The _jb_static/?? file that`s created by Boost seems to be the cause of that.
When i click the _jb_static link in my source code i do find an elongated non-minified css..
Kind regards
Forum: Developing with WordPress
In reply to: preload banner and LCPThanks for your reply. I reposted on the link you provided.
Wondering whether or not to use wp_get_att_img to retrieve the buffered image or whether i should hard code it.. Because of a cdn being involved..
Still lost..
- This reply was modified 1 year, 4 months ago by destmedia.
Forum: Developing with WordPress
In reply to: preview all portfolio pages on 1 pageThanks again for your clear response. Do know things now that i didn`t know before.</p> <p class=””>For seo reasons i turned wp into my native language, which sometimes makes for ambiguous translations.. </p> <p class=””>On the last note.. What if i would like to write a function by myself similar to the query loop.. And don`t want to bloat my functions.php.. Where would i store it? And would wp pick up on it by itself or do i need to mount it somewhere?
Forum: Developing with WordPress
In reply to: preview all portfolio pages on 1 pageDear George,
Thank you for your reply. As i had never used the query loop block, it`s definitely usefull. I now consider adding a page containing all blog posts.</p> <p class=””>What i`m missing in the query loop is being able to add a parent page. Even though, while writing this, i might have overlooked something.
And yes indeed.. i was kind of looking forward to writing something myself. For it would be a nice puzzle:
Would i then create a new page-{slug}.php and put all coding there? Preferably i would like to have the query/ function neatly embedded in the wp file system. And subsequently call the function via a shortcode..
That way basically i can keep using the default templates..
Kind regards..
Dennis
Forum: Developing with WordPress
In reply to: Change the html of title of blog postAnd of course i just found it seconds after. The content-single.php in my theme templates.. Dear lord…
Thanks.
Well. For now i have two options:
Either i add a filter to the jetpack_breadcrumbs function.
Or i`ll have to find where the jetpack portfolio takes the archive.php and change that into my desired existing page. I guess it uses the archive.php just because of the way wordpress is structured ?
The latter one might cause a seo penalty..
- This reply was modified 2 years, 2 months ago by destmedia.
L.S.
I managed to find the solution. To whom it might help:
I needed to have a unique identifier to the email subject line coming from the contact-form on my website. Trying to do this via shortcodes would only break the form.
It became clear i didn’t quite fully understand how to use apply_filters <-> add_filter jet. For anybody else struggling watch this: https://www.youtube.com/watch?v=JTysb54CnNs
Solution..: in wp-content/plugins/jetpack/modules/contact-form/grunion-contact-form at line 3545 change:
$subject = apply_filters( 'contact_form_subject', $contact_form_subject, $all_values );
to
$subject = apply_filters( 'contact_form_subject', $contact_form_subject,
$comment_author,
$all_values);Now simply add to your functions.php:
function customSubject($contact_form_subject, $comment_author, $all_values){
$subject .= “Custom text ” . $comment_author;
return $subject;
}
add_filter(‘contact_form_subject’, ‘customSubject’,10,3);ok.. im this far that the filter is actually listening. Now to implement the $comment_author..
$headers = apply_filters(‘jetpack_contact_form_email_headers’, $headers,$comment_author,$reply_to_addr, $to);
$subject = apply_filters( ‘contact_form_subject’,$comment_author, $all_values );function customSubject($subject){
$subject .= “Nieuwe tuinaanvraag door: ” . $comment_author;
return $subject;
}
add_filter(‘contact_form_subject’, ‘customSubject’,10, 1);Forum: Developing with WordPress
In reply to: jetpack portfolio parent pageok.
Forum: Developing with WordPress
In reply to: Customize jetpack contactform subjectThis is one thing i tried.. amongst others:
add_filter(
'contact_form_subject',
function ( $contact_form_subject, $subject, $all_values) {
$subject .= 'Aanvraag: ' . $reply_to_addr . "\r\n";
return $subject;
},
10,
4
);