libra20
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing post title without it updating the permalinkPhew, what a relief to know it won’t change. Thanks for your quick replies!
Thanks so much for your quick response! It doesn’t make sense that the image would be in FB or Twitter’s cache. The image showing is the featured image I used when I started drafting the post a week ago (and I swapped out that image for the current one a week ago). This was well before I even published the article today. It’s still in the article, but not as the featured image.
And I checked the source code just now and it shows the correct image is the OG image. I think I have to chalk it up to another weird WP quirk since I’ve had a couple of these that nobody could figure out. I know the “save draft” thing doesn’t make much sense, but I’ve had multiple instances where things didn’t save properly with the auto save and were fixed when I hit the “save draft” button. Maybe that’s it and maybe it’s not.
I did just delete the image from the post. But that didn’t change anything. FB & Twitter keep showing the old image. I’ll see what happens after the cache cycles as you say. Hopefully it’ll show an image and not an error if it can’t find the old one.
Thanks again.
Hi Steve,
I’m having the same problem on Facebook with the description field not showing up properly. On FB it simply leaves that field blank, whereas Pinterest duplicated the title info there. Could it be related to my theme? Have you heard of any issues with Divi and All in One SEO?
Thanks.
Thanks for taking a look. Yes, I know. When you click on the link above it shows that. But when I’m signed into Pinterest and click edit this pin, the screen that shows up has the title in the description field, not the description. You can’t see that part because you’re not signed in as me. But I can’t post screen shots in this forum. Also, when it shows up in the Pinterest feed, the same thing happens. See this link: https://www.pinterest.com/vacations_w_mom/vacations-with-mom-stories-articles/
Thank you!
Here’s a sample post https://vacationswithmom.com/oh-no-a-flat-tire-mom-to-the-rescue/
On Pinterest, the rich pin as displayed in the feed (or on my board) shows the article title both in bold as the rich pin title, and it shows below the title as the description. The funny thing is when I click on the pin so this comes up https://www.pinterest.com/pin/129971139225651474/ It shows properly, the title with a description (the first few lines of the post) below. But when I click on edit this pin, what shows up in the “description” field is the title.
Forum: Fixing WordPress
In reply to: Excerpt font sizeThis is the code that ended up working.
.post .post-content p {
font-size: 14px;
}Forum: Fixing WordPress
In reply to: Mystery person avatarI’m getting closer to a solution. I used the following code to remove mystery man as an option in the WP discussion settings.
function remove_default_avatars($avatar_defaults)
{
unset ( $avatar_defaults[‘mystery’] );return $avatar_defaults;
}
add_filter( ‘avatar_defaults’, ‘remove_default_avatars’ );So I no longer see mystery man as an option in the WP settings, but he still shows up as the default avatar in the comments.
Forum: Fixing WordPress
In reply to: Mystery person avatarOr can this code be tweaked to use “blank” instead of a custom avatar?
add_filter( ‘avatar_defaults’, ‘customgravatar’ );
function customgravatar ($avatar_defaults) {
$myavatar = get_bloginfo(‘template_directory’) . ‘/images/YOURNAME.jpg’;
$avatar_defaults[$myavatar] = “YOURNAME”;
return $avatar_defaults;Forum: Fixing WordPress
In reply to: Mystery person avatarI even checked the WP tables and it shows that the avatar is set to “default.” So there must be something overriding it. Is there code I can use to define “default” to mean blank instead of default meaning mystery person? I’ve seen some people use code to set the default to a custom avatar. Can I use that for blank?
I also saw this code to remove the mystery person, but I haven’t tried it.
// Remove default avatars
unset ( $avatar_defaults[‘mystery’] );Since “blank” shows up next on the list, maybe that will replace it?
I also saw this. I’m not sure if this can be tweaked to do what I want. I’m a beginner so I hesitate to mess too much w/ code.
[php]
// Set new avatar to be default
add_action ( ‘admin_init’ , ‘wps_avatar_default’);
function wps_avatar_default () {
$default = get_option(‘avatar_default’);
if ( ( empty( $default ) ) || ( $default == ‘blank’ ) )
$default = get_stylesheet_directory_uri() . ‘XXX’;
update_option ( ‘avatar_default’ , $default );
}
[/php]Forum: Fixing WordPress
In reply to: Mystery person avatarI’m using Divi. I’ve tried deactivating nearly all of my plugins and it didn’t seem to make a difference.
Forum: Fixing WordPress
In reply to: Excerpt font sizeI tried doing what you said, but it didn’t work. But I may also be doing it incorrectly.
Forum: Fixing WordPress
In reply to: Excerpt font sizeCan you clarify what you mean by “if class .entry-excerpt is within .post”
I’m new to code. Am I placing that part of the code inside the other? If so, can you show me exactly how so I do it correctly? Or are you meaning something else?
Thanks.