nicholasm3
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Popular Posts] Exclude 1 specific post from WP Popular PostsThank you for the instructions!
I found it and put 13167 in the field but it’s still showing up. (I double checked to make sure the number was correct as well.) Any idea why that might be?
Forum: Plugins
In reply to: [WP Popular Posts] Exclude 1 specific post from WP Popular PostsActually @hcabrera I realize why I missed that… I can’t even find where those settings are.
How do I get there? I went to Settings > WordPress Popular Posts and I don’t see those options in the gear menu or the “Tools” menu.
Forum: Plugins
In reply to: [WP Popular Posts] Exclude 1 specific post from WP Popular PostsOmg of course I miss an obvious option in the settings.
Sorry for wasting your time, thank you!!
Forum: Plugins
In reply to: [WP Popular Posts] Help editing a few thingsThat is hilariously and ridiculously pedantic, tell them they’re a buncha nerds for me (I can say that cuz I am also a nerd).
Forum: Plugins
In reply to: [WP Popular Posts] Help editing a few thingsThank you Hector! I made the images bigger because I want to show off the photography! (I am also the photographer lol) 😀
We’re so close! I’m once again having issues with this “indent” rule? I noticed with your code the category is right up against the photo when it goes to mobile mode. I figured okay, easy enough, just add a margin-top to taxonomies when it’s using the media card styling.
But when I add it to the section, I once again get that error from earlier about expecting a different indent.
This is what I’m trying to use:
/**
* Adds custom styling rules for the 'Cards' theme.
*
* @param string $additional_styles
* @param string $theme_name
* @return string
*/
function wpp_additional_css_rules($additional_styles, $theme_name) {
if ( 'cards' == $theme_name ) {
$additional_styles .= <<<EOD
.wpp-cards li .taxonomies { margin-bottom: 15px; font-size: 16px; }
.wpp-cards li .taxonomies a { color: #0047BB; }
.wpp-cards li .wpp-post-title { line-height: 1.5; }
.wpp-cards li .wpp-excerpt { font-size: 17px; line-height: 1.7em; }
.wpp-cards li .more-link { display: block; margin-top: 15px; color: #0047BB; font-size: 17px; text-decoration: underline; }
/** For screen sizes lower than 985px let's behave as a block element instead */
@media (max-width: 984px) {
.wpp-cards li { display: block; }
.wpp-cards li .taxonomies { margin-top: 15px; }
.wpp-cards li .wpp-thumbnail { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
}
EOD;
}
return $additional_styles;
}
add_filter('wpp_additional_theme_styles', 'wpp_additional_css_rules', 10, 2);But I still get the error even though they’re lined up like you told me to 🙁

Thanks again for all your help
- This reply was modified 1 year ago by nicholasm3.
Forum: Plugins
In reply to: [WP Popular Posts] Help editing a few things@hcabrera nvm, one more question.
Upon QA testing I noticed that the card format does not translate well to mobile. Can you advise any solution for that?
It’s currently live on the frontpage at https://517mag.com
I would love if the text would collapse to be below the image once it hits mobile view but not sure how to implement that html.
- This reply was modified 1 year ago by nicholasm3.
Forum: Plugins
In reply to: [WP Popular Posts] Help editing a few thingsThank you for all your help!
Forum: Plugins
In reply to: [WP Popular Posts] Help editing a few thingsI don’t want to target all a tags, so I tried inserting
.wpp-cards li .taxonomies a { color: #0047BB; }But it errored out the line 15 (EOD;) Said the indent was incorrect? I don’t know much about html hence all the help I need lol.
This is what I have
/**
* Adds custom styling rules for the 'Cards' theme.
*
* @param string $additional_styles
* @param string $theme_name
* @return string
*/
function wpp_additional_css_rules($additional_styles, $theme_name) {
if ( 'cards' == $theme_name ) {
$additional_styles .= <<<EOD
.wpp-cards li .taxonomies { margin-bottom: 15px; font-size: 16px; }
.wpp-cards li .wpp-post-title { line-height: 1.5; }
.wpp-cards li .wpp-excerpt { font-size: 17px; line-height: 1.7em; }
.wpp-cards li .more-link { display: block; color: #0047BB; font-size: 17px; text-decoration: underline; margin-top: 15px; }
EOD;
}
return $additional_styles;
}
add_filter('wpp_additional_theme_styles', 'wpp_additional_css_rules', 10, 2);And I tried to add in the line like so:
/**
* Adds custom styling rules for the 'Cards' theme.
*
* @param string $additional_styles
* @param string $theme_name
* @return string
*/
function wpp_additional_css_rules($additional_styles, $theme_name) {
if ( 'cards' == $theme_name ) {
$additional_styles .= <<<EOD
.wpp-cards li .taxonomies { margin-bottom: 15px; font-size: 16px; }
.wpp-cards li .taxonomies a { color: #0047BB; }
.wpp-cards li .wpp-post-title { line-height: 1.5; }
.wpp-cards li .wpp-excerpt { font-size: 17px; line-height: 1.7em; }
.wpp-cards li .more-link { display: block; color: #0047BB; font-size: 17px; text-decoration: underline; margin-top: 15px; }
EOD;
}
return $additional_styles;
}
add_filter('wpp_additional_theme_styles', 'wpp_additional_css_rules', 10, 2);But I get this error

I tried hitting tab a few times to try and dumb troubleshoot it but no avail. The error would go away, but then the styles wouldn’t be appearing when I refreshed the page.
- This reply was modified 1 year ago by nicholasm3.
Forum: Plugins
In reply to: [WP Popular Posts] Help editing a few thingsThank you Hector! It’s so awesome how active you are to help people on here.
It’s so close with your help, just a couple more fixes.
I tried editing your code to add color to the taxonomies (same as the read more link, #0047BB) but it’s not taking. I tried using !important tag as well to no avail. Here’s the code I have right now in Code Snippets
/**
- Adds custom styling rules for the ‘Cards’ theme.
* - @param string $additional_styles
- @param string $theme_name
- @return string
*/
function wpp_additional_css_rules($additional_styles, $theme_name) {
if ( ‘cards’ == $theme_name ) {
$additional_styles .= <<<EOD
.wpp-cards li .taxonomies { color: #0047BB; margin-bottom: 15px; font-size: 16px; }
.wpp-cards li .wpp-post-title { line-height: 1.5; }
.wpp-cards li .wpp-excerpt { font-size: 17px; line-height: 1.7em; }
.wpp-cards li .more-link { color: #0047BB; font-size: 17px; text-decoration: underline; }
EOD;
}
return $additional_styles;
}
add_filter(‘wpp_additional_theme_styles’, ‘wpp_additional_css_rules’, 10, 2);
Last thing – is there a way to force line break before the Read More so that it’s below the content on a new line and not immediately following it?
Thanks again for all your help!
Edit: Sorry, 1 more. I have author and date checked to display in Appearance > Widgets customization options but they aren’t showing up?

- This reply was modified 1 year ago by nicholasm3.
Seems to be an API keys issue? If I take the API keys used for the map on deandifference and put them in the backend of deantransportation then it works.
Which is very strange, as I did the same process to make API keys for both sites with different google projects. No idea why one of them has an API key that works and the other does not when they were setup the same.
Forum: Plugins
In reply to: [Ad Inserter - Ad Manager & AdSense Ads] Ads Not Appearing on MobileThat worked, thank you!