This topic has 23 replies, 4 voices, and was last updated 5 years, 10 months ago ago by Rose Tyler
Paragraph analyses
Total Count 7
Response Alert! There are 7 paragraph in your web page – Placeholder found
Contents
1 Lun.-Ven. 9-12.30 | 14.30-18
2 info@soalto.it
3 Oltre 1500 articoli in stock
4 Nessun prodotto nella lista dei desideri.
5 {TEXT}
6 SOCIETA’ ALIMENTARE TORINO SRL | P.IVA 10766580012 |
7 Termini & Condizioni
try to insert an image fo results but can’t figure how do that…
Hi,
Please send:
– Screenshot of issues
– Admin info (wp-admin URL, username, password)
I will check this problem for you.
Regards,
here it is
here is the errors
Hello,
WP text widget always adds the paragraphs, if you don’t want this then use HTML widget http://prntscr.com/mlg58o Check the page now.
But in your case, I would suggest to remove 40 h1 tags (h1 tag in every short description of the product). You need to enable Product name in Theme Options http://prntscr.com/mlgi4g and you don’t need it in short description because it causes SEO issue!
Regards
ok i’ll try to do this! tnks!
but i see one error remain
“Nessun prodotto nella lista dei desideri.”
which is the text that appear on overlay of the heart icon…
is the only problem remaining …. can please tell me how to remove it from TEXT content of seo?
Hello,
That text is from the source files and you can replace p by div only by editing the template files. Anyway if I replace p tag on your page I don’t see alert anymore.
http://prntscr.com/mlgua3
Regards
ok! can you please explain me hw do you have removed The “P” tag?
is an operatione that i have to do fo ALL pages?
tnks so much 4 kind support
Hello,
I have edited the page content and replaced the p tag by div tag. Also, I have changed the Text widget to Custom HTML widget in widgets areas.
Regards
ok for the widget I understand but… (sorry for my question…) how do you mead by “editing page content”…? any picture to explain me better? tnks!
Also I noticed that you have put my {TEXT} placeholders oto a tag div and /div
Instead I need to have this:
<h1>{H1}</h1>
<p>{TEXT}</p>
<h2>{H2}</h2>
And a clean result on CEO backend… (for clean i mean that the CEO backend see ONLY the placeholders as H1, paragraph and h2) Now , if you check you receive again the alert:
Paragraph analyses
Total Count 2
Response Alert! There are 2 paragraph in your web page – Placeholder found
Contents
1 Nessun prodotto nella lista dei desideri.
2 {TEXT}
I need to REMOVE the "NESSSUN PRODOTTO NELLA LISTA DEI DESIDERI"
(wich is the phrase that appear on the popup of the heart in the upper right of the page) From been seeing as paragraph on the template
Hello,
Do you plan to remove all the paragraphs from the pages?
If you want to replace p tag for the the “No products in the wishlist” then copy etheme_wishlist_widget function (xstore/framework/woo.php) to child theme functions.php and change the p tag to what you want.
Regards
ok firs tnk 4 your fast response. so, if I understand well
1) download woo.php on my pc
2) copy the content of woo.php
3) paste it into functions.php of child theme but before edit
<p class="empty"><?php esc_html_e( 'No products in the wishlist.', 'xstore' ); ?></p>
replacing <p
and </p>
with for example <div>
and </div>
?
like this?
<div class="empty"><?php esc_html_e( 'No products in the wishlist.', 'xstore' ); ?></div>
Is thi correct?
Hello,
Don’t copy the content of whole the file, copy etheme_wishlist_widget function only! Other steps with replacing the tag are correct.
Regards
ok… so now my “functions.php” is like this
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', array('bootstrap'));
if ( is_rtl() ) {
wp_enqueue_style( 'rtl-style', get_template_directory_uri() . '/rtl.css');
}
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style', 'bootstrap')
);
remove_filter('widget_text_content', 'wpautop');
<div class="empty"><?php esc_html_e( 'No products in the wishlist.', 'xstore' ); ?></div>
}
but seems not workiing…. what iìm doing wrong?
tnks!
Hello,
Do you have basic PHP skills? By copying the etheme_wishlist_widget function I meant copy the php code of the etheme_wishlist_widget function to your functions.php file https://gyazo.com/b875900ac87dbe8d8846a5d71a844668 and then replace the p by div. What did you do? You copied just the div, sorry, but PHP does not work in this way.
Regards
Yes I’m absolutely novice to PHP editiing but tnks to your kind support I’ll try to make this …
Hello,
Ok.
Feel free to ask if you have any other questions.
Regards
ok. I think the result is ok…. just 4 info could please check if my actual functions.php is correct?
Just edited this lilne
<div class="empty"><?php esc_html_e( 'No products in the wishlist.', 'xstore' ); ?></div>
Also noticed that I’ve lost my “pagination” anc “character” of “no products in wishlist” by removing the tag <p>
replacing by <div>
Is there any chance to set a font /or colout) fot this string?
p.s. many tnks for this tutorial!
Hello,
Add the following code to your custom CSS.
.et-wishlist-widget .wishlist-dropdown > div {
margin: 0;
color: #1e1e1e;
font-weight: bold;
text-transform: uppercase;
border-bottom: 1px solid #e6e6e6;
padding-bottom: 1.23em;
font-size: 1rem;
line-height: 1.8;
}
.et-wishlist-widget .wishlist-dropdown > div.buttons,
.et-wishlist-widget .wishlist-dropdown > div.empty {
border-bottom: none;
padding-bottom: 0;
}
Regards
PERFECT! tnks so much for your very great support!
Hello,
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up