johnzenausa
Forum Replies Created
-
Forum: Plugins
In reply to: [Network Posts Extended] size=’thumbnail’ doesn’t workI added two parameters for the post date meta info. You may now hide it with the following attribute.
hide_post_date_meta_info='true'
Plus if you want to style that particular text individually you may add the following wrap shortcodes.
wrap_post_date_start & wrap_post_date_end
An example would be:
wrap_post_date_start='<div class="some-class">' wrap_post_date_end='</div>'
Forum: Plugins
In reply to: [Network Posts Extended] size=’thumbnail’ doesn’t workHi @violetta666;
There is no shortcode parameter to hide it so you’ll have to use some css. You may use the following:
.netsposts-source > span:not(:last-of-type) { display: none; }
If you want to target this particular shortcode just put the shorcode_id in the front as such:
#immobili_page .netsposts-source > span:not(:last-of-type) { display: none; }
It’ll look like the following image:
- This reply was modified 1 year, 4 months ago by johnzenausa.
- This reply was modified 1 year, 4 months ago by johnzenausa.
Forum: Plugins
In reply to: [Network Posts Extended] size=’thumbnail’ doesn’t workHi you want to just hide the date or all the meta data?
Forum: Plugins
In reply to: [Network Posts Extended] size=’thumbnail’ doesn’t workFirst of all you did understand the tutorial correctly.
When I inspect the html it is grabbing the correct thumbnail. You can see that the source is: https://andco.app/wp-content/uploads/sites/2/2023/11/1653467544_cijene-nekretnina-u-hrvatskoj-150×150.jpg. So it is grabbing the 150×150 image. As you can see in the below images.
When I inspect the image there is a CSS class causing it to fill the whole container. It is the class involving the .wp-lazy-load.
See how it’s giving it a width of 100%? So that’s why it’s growing to full size. So you may add a simple class and shortcode ID.
First add this to the specific shortcode
shortcode_id='immobili_page'
so the full shortcode will look like so:[netsposts shortcode_id='immobili_page' thumbnail='true' size='thumbnail' hide_excerpt='true' paginate='true']
Then you may add the following to your CSS file or wherever you add your custom CSS.
#immobili_page .netsposts-content .post-thumbnail.wd-lazy-load { width: 150px; }
This should overwrite the other CSS and take priority. Let me know if it doesn’t work.
Note: This will only work for this instance of the shortcode. If you want it to work everywhere ignore the part about the ID. Then the CSS would just be:
.netsposts-content .post-thumbnail.wd-lazy-load { width: 150px; }
Plus the shortcode would remain the same as you had it.
- This reply was modified 1 year, 4 months ago by johnzenausa. Reason: Had multiple typos that needed to be corrected
- This reply was modified 1 year, 4 months ago by johnzenausa. Reason: Changed shortcode to CSS for clarity. Miss-typed again
Forum: Plugins
In reply to: [Network Posts Extended] size=’thumbnail’ doesn’t work@violetta666 I will check this weekend. Sorry for the delay.
- This reply was modified 1 year, 4 months ago by johnzenausa.
I deactivated the plugins then reactivated one by one and the error never occurred again. Thanks for the response and awesome plugin.
Thank you ??
Hi @wplakeorg
The div is still showing because when you look at the markup code below:
the if statement is inside the surrounding div. It goes div >> if statement >> div. So the inside div is hidden but the surrounding div still show. Is it possible to move the if statement outside both divs so neither one will show if empty?
Here is another example in this image:
Thanks John
- This reply was modified 1 year, 6 months ago by johnzenausa. Reason: To add second image
@wplakeorg Basically all fields including Google maps. Displays them all beautifully. Creating a business charity directory for a client and this plugin saves me a lot of coding.
Forum: Plugins
In reply to: [WooCommerce] Remove PayPal Pay in 4 installmentsI finally found the right div late last night plus I didn’t notice a setting on the editors page appearance > editor that allows me to put the whole template in one big block so everything looks like it did in the store theme. thank you for your response.
No real problem except for the fact it’s creating unnecessary html if the field is not in use. Of course I could just not add the shortcode to a page but I’m putting it in a template. If it can not display the other html when the ACF is empty why not have this div not displayed also?
Excellent plugin btw and thank you for creating it.
I thought of that after I posted the request. Glad others feel the same. I was referring to the rows block in particular. Figuring out it’s just a simple flex container. Thanks for the theme. Nice to not have to use a page builder. Using custom css as of now.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Align Site Title Centeryes of course. Sorry too obvious. Thank you.
Forum: Plugins
In reply to: [Network Posts Extended] A few feature requests….I noticed that the author links are throwing page not found errors.
Forum: Plugins
In reply to: [Network Posts Extended] A few feature requests….Please checkout the latest version and see if that’s what you want. ??