Using WP Scraper with WordPress

I am trying to use the WP Web Scraper plugin with WP on my site www.eastwickpark.co.uk to receive online practice assessments from another site.

https://www.iwantgreatcare.org/gpsurgeries/eastwick-park-medical-practice

I used this piece of code

<img src="http://www.eastwickpark.co.uk/wp/wp-content/uploads/2015/11/iwantgreatcarelogo.png" />
<div>
[wpws url="https://www.iwantgreatcare.org/gpsurgeries/eastwick-park-medical-practice" query=".image-middle" basehref="1" ]
</div>

Then I used custom CSS in the theme table editor

.btn.blue,
div .btn.blue {
    font-size: 16px;
    padding: 8px 16px;
}

/*** Stars ***/
.sprite-icons.star-blue-outline {
    background-image: url('http://www.eastwickpark.co.uk/wp/wp-content/uploads/2015/11/star-blue-outline.png');
    width: 19px;
    height: 17px;
}

.sprite-icons.star-blue-fill {
    background-image: url('http://www.eastwickpark.co.uk/wp/wp-content/uploads/2015/11/star-blue.png');
    width: 19px;
    height: 17px;
}

.sprite-icons.star-blue-half {
    background-image: url('http://www.eastwickpark.co.uk/wp/wp-content/uploads/2015/11/star-blue-half.png');
    width: 19px;
    height: 17px;
}

.sprite-icons.caret-white {
    background-image: url('http://www.eastwickpark.co.uk/wp/wp-content/uploads/2015/11/caret-white.png');
    width: 10px;
    height: 14px;
}

My problem with my CSS is that the button is wrapping.

I just tried to get a star rating oriented to the "raty-rating-wrapper-readonly" class, but then I get a whole load of vertical stars.

i.e. if i use

[wpws url="https://www.iwantgreatcare.org/gpsurgeries/eastwick-park-medical-practice" query=".raty-rating-wrapper-readonly" basehref="1" ]

Screenshot

Am I getting a complete vertical list of 5 * images?

If I use div-middle div as

[wpws url="https://www.iwantgreatcare.org/gpsurgeries/eastwick-park-medical-practice" query=".image-middle" basehref="1" ]

I get a weird wrapper on a button.

enter image description here

, , CSS. .

+4
1

CSS , "wraps"

<br>, WordPress. , : WordPress, <br>

, <p>, . .

, , CSS. .

CSS, br, #widgets .textwidget br { display: none; }. #widgets .textwidget a { display: inline-flex; align-items: center } , br , flex - row.

:

enter image description here

+4

Source: https://habr.com/ru/post/1615139/


All Articles