Daniele De Santis
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Add Custom CSS] Will Theme update delete the modification?Hi,
values are not connected to your theme.
You can update it without loosing them.
Even if you change your default theme, custom css rules will still be displayed by WordPress (though, depending on the classes you’ve used, they may not work).Best,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Style doesn't apply to all languagesHello,
values (your custom css rules) are stored like others custom field values, the way they are translated or copied depends on the multilingual plugin.
Which one are you using in your website?Best,
DanieleForum: Plugins
In reply to: [WP Recent Posts From Category] Entire Post Not DisplayedAnyway, if you want to edit the plugin a bit you could replace line 75
if ($excerpt) { $output .= '<br><span>' . get_the_excerpt() . '</span>'; };with something like this:
$output .= '<br>' . get_the_content();to display the content of the post.
Hope this help,
DanieleForum: Plugins
In reply to: [WP Recent Posts From Category] Entire Post Not DisplayedMaybe you’re trying to achieve something different from what the plugin has been developed for. With “WP Recent Posts From Category” you can show a list of posts (with – optionally – excerpt, author and date). It does not display full posts. Is that the problem?
Forum: Plugins
In reply to: [WP Recent Posts From Category] Entire Post Not DisplayedHi,
could you please paste here (or send via email) the shortcode you are using?Thanks,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Custom CSS not being recognizedHi,
I see that now the date has been hidden in your front page, so I guess you’ve managed to find the right css rule.Anyway, to apply a rule to your front page, unless it is a static front page, you have to use the main WP Add Custom CSS stylesheet, the one you can edit from the plugin’s settings page.
To target a specific post in the loop you can use its classes, there is one which include the post ID. For example:
.post-305 p.entry-meta.post-info time.entry-time {display: none}Daniele
Forum: Plugins
In reply to: [WP Add Custom CSS] Messed Up LogoHi seanerixon,
probably you should use a more specific css rule, for example (from your theme) if you use.sd-social-icon .sd-content ul li[class*=share-] a:hover, .sd-social-icon .sd-content ul li[class*=share-] div.option a:hover { /* YOUR STYLES HERE */ }the logo will not be affected.
If you use
a:hover { /* YOUR STYLES HERE */ }the logo and all of your links will be affected.
That’s the way CSS work and has nothing to do with the plugin 🙂
If you write me the link of the specific page (not just the domain) on your website I’ll have a look to help you
Best,
DanieleForum: Plugins
In reply to: [WP Recent Posts From Category] Date only.Hi luovajohtaja,
yes, your file gets overridden when you update the plugin, you have to copy your changes to the new version.Having 2 different elements (with different classes) for author and date is a good idea, will be done in next release.
Thanks!
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Long Load Times & Possible ConflictsHi,
regarding your first issue, it could depend on your server/hosting settings, as the plugin simply generates the document using a WP hook (I’ve tested it on different environments and it is loaded normally).
You should tryo to optimize your website’s speed by – for example – enabling caching and gzip compression.The second issue has nothing to do with the plugin, maybe you’re adding a wrong piece of code which is causing problems to your header.
Anyway, you can write the link here or send it via email, if you want me to have a look at it.
Thanks,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Formatting stripped on CSS to specific pages.Hi Robin,
you are right.It has been solved in version 0.9.5, now available.
Thanks,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Custom Post TypesHello,
I’ll probably include this feature in a future release.For now you can edit the plugin’s main file (wordpress-add-custom-css.php) and add the desired post types on line 60:
$post_types = array('post', 'page');For example:
`$post_types = array(‘post’, ‘page’, ‘story’, ‘wiki’);Remeber to use the post type’s slug.
Best,
DanieleForum: Plugins
In reply to: [WP Recent Posts From Category] Feature Request…Hi,
thanks for your feedback 🙂Adding featured images is not difficult, but if I add this option to the plugin, I should also add more options to choose the position where images should be displayed, their sizes and so on.
It’s something I’ve always wanted to do, but I have a lot of work and I can’t find time for that!What you can do for now – with just some coding, is editing the plugin file and add the line you need to the output (lines 74/78).
You could add something like:
$output .= get_the_post_thumbnail();to display the featured image.
Best,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Does not work on admin pagesThe description says:
“The CSS rules applied to the whole website will override the default stylesheets of your theme and plugins”I think it is quite clear the plugin is not meant to work on admin pages.
Here you can find some useful snippets to add a new stylesheet to admin pages:
https://css-tricks.com/snippets/wordpress/apply-custom-css-to-admin-area/I hope this help
Forum: Reviews
In reply to: [WP Add Custom CSS] Does noyt work on admin pagesThe description says:
“The CSS rules applied to the whole website will override the default stylesheets of your theme and plugins”I think it is quite clear the plugin is not meant to work on admin pages.
Your rating is totally unjustified.
It turned out the issue had nothing to do with the plugin.
There was an issue with categories in the user’s WordPress installation.