aehwp
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Embedder] I just get a link and no embedded viewHi, Looking at the plugin code, I can see where the plugin changes an <a href=pdf file name tag to the sort of <div it needs to change from just giving you a link to actually interpreting the pdf and displaying it. It’s in the plugin’s file pdfemb-embed-pdf.js
Maybe your site isn’t getting there for some reason. It uses jquery, so just a thought, is there some clash with some other plugin? Do you have exactly the same plugins running on both your test and your ‘live’ site?
Sorry I can’t help more. The plugin supplier encourages people to send problems direct to them so I guess that’s your best option. They seem very quick in responding.
Forum: Plugins
In reply to: [PDF Embedder] I just get a link and no embedded viewHi, what does the shortcode look like in your post?
Forum: Plugins
In reply to: [List category posts] List category Posts and Advanced Custom FieldsAFAIK List Category Posts doesn’t deal with all the ACF field types, it just deals with simple stuff like text.
Have you tried using a template with code which interrogates ACF to find the type of field and outputs accordingly?Hi, I think you may have misunderstood what customfield_name, _display,_value actually do.
customfield_name says which customfield you are talking about.
customfield_value says select only those posts which have that particular value in the field you have specified by customfield_name
customfield_display says which fields you want shownSo, far from not allowing ‘mixing’, it is essential that customfield_value appears if customfield_name appears, otherwise there is no point in it.
customfield_display is independent of both these
Can you post examples of the shortcode said you have tried?
Forum: Plugins
In reply to: [List category posts] Template / add incrementYour code looks as though it is resetting $i to 0 within the loop instead of outside it.
Forum: Plugins
In reply to: [List category posts] Post’s with html tags in title not appearingHi, can you show us the catlist call you are making and an example of a title that doesn’t show?
I can understand that things could get muddled if LCP is being asked to output HTML which points to the post which itself has an a tag in it, but I can’t see how it wouldn’t show at all.
Is it possible that the old LCP code was modified by the previous developer to get round this problem?Forum: Plugins
In reply to: [List category posts] How get I started at all???You put it into whatever post or page you want the resulting list to appear in.
Start for example by creating a new post, then put [catlist] into the content box and view the post.Forum: Plugins
In reply to: [List category posts] How to Wrap TitleIs this. Question of setting CSS to, for example, put your list into a defined width?
Forum: Plugins
In reply to: [List category posts] Increase space between linesThanks for alerting us to this. There seems to be this recommendation
“Avoid cramming too many touch elements into one page segment or making them too small. Google recommends a minimum tap target size of roughly 7mm, or 48 CSS pixels on a site with a properly-set mobile viewport.”
Can you tell us what CSS you’ve used and have you looked at the actual HTML that the shortcode generates to ensure the right spacing is being set?
Forum: Plugins
In reply to: [List category posts] Show image with post title…Could you show us some of the shortcode calls you have which don’t work?
Also, what is “these pages”
Forum: Plugins
In reply to: [List category posts] Does this plugin support “Custom Post Type” ?Yes, see the Other notes. Use like this
[catlist post_type=”yourposttype”]Forum: Plugins
In reply to: [List category posts] Title CSS alterationYour theme seems to set
ul {list-style:square;}
If you want none of your lists to have a bullet then try
ul {list-style:none;}
If you only want to stop your catlist lists having bullets then try
ul.lcp_catlist {list-style:none;}
It’s often quite helpful to go in and see what actual code has been generated. Depending on your browser, you can do something like right click on the part of the page you want to look at and ‘inspect element’. You can then see exactly what is setting what CSS on each line.
Forum: Plugins
In reply to: [List category posts] Filter by ACF custom fieldI don’t know exactly how the plugin treats multiple values, but I don’t think either of the ways you tried are supposed to work.
As a simple workaround, have you considered setting the value of the customfield named ‘state’ to something like ‘VAinactive’?
Users could still see the post if they land up on it, but a selection of customfield_name=state customfield_value=VA would not show it.Forum: Plugins
In reply to: [List category posts] List category posts [catlist thumbnail=yes]Hi, have you tried thumbnail_class=alignleft?
Forum: Plugins
In reply to: [List category posts] plz help with with css customisationOK, this time I got through, thanks.
It is useful to look at the code that is being generated by your site and by the example sites you give. To do this (on Chrome and Firefox anyway)put your cursor over the bit you are interested in formatting and right click and select ‘Inspect element’. You can then see what code is produced. For example, your site starts the list like this:<ul class="lcp_catlist" id="lcp_instance_0"> <li><a href="https://techabc.zz.mu/jupiter-venus-to-converge-in-star-of-bethlehem-moment/" title="Jupiter, Venus to converge in Star of Bethlehem moment">Jupiter, Venus to converge in Star of Bethlehem moment</a> <span class="lcp_date"> June 30, 2015</span> </li>
So to change your titles to black and no underline you need CSS something like this:
.lcp_catlist li a {color:black;text_decoration:none;}
and to make the date red you need something like this:
span.lcp_date {color:red}
To do the pin is more complex and I suggest you look at the example sites code and learn a bit more about CSS – in this case they use the genericons font and use the CSS ::before feature.
In WordPress is is highly recommended that you create a child theme and put your special CSS into that rather than edit whatever theme you are using.