Okay
  Public Ticket #2272472
How to edit social media sharing links on blog articles
Closed

Comments

  •  1
    acidoverride started the conversation

    So there's a row of social media share links at the bottom of every blog article, just under the author. I can see where to show and hide this section in customize in Blog > Post but I cant find where to edit these links.

    Thanks

  •  675
    Neuron replied

    Hi,

    Well there's an option to show or hide these social medias.

    - https://prnt.sc/qon4xg

    The URL is a general code which simply shares the post that is being displayed there, if you want to hide a specific icon, I can provide you with the Custom CSS for that.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •   acidoverride replied privately
  •  675
    Neuron replied

    Hi,

    I am sorry for the late reply.

    You're welcome anytime, feel free to ask for anything that you need.

    So, you've selected the blog as page there right? You need to change the posts per page number at Settings > Reading.

    https://prnt.sc/qphthc

    Do you mean to make it uppercase or how? The slug stands as a prefix to any portfolio, if that's the question.

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •  1
    acidoverride replied

    Yeah that's perfect, I was looking within Elementor for the setting but obviously it would be in the WP settings if I had the page set to default post page.

    So regarding the permalink. How do I go about setting the actual URL to something different rather than it just been the title of the post type? I would usually use a rewrite rule within my functions.php file when doing custom post types in the past. 

    eg. 'rewrite' => array('slug' => 'used-wheelchair-accessible-vehicles')

  •  675
    Neuron replied

    Hi,

    You're welcome anytime, feel free to ask for anything that you needsmile.png

    If you want to change the post permalink, you can add a prefix on the Settings > Permalinks, no need to change on the slug via the code, if that's what you're thinking and that's the post type you want to change.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •  1
    acidoverride replied

    Thanks for the response. I don't know if we're talking about the same thing, I'll try explain a bit better....

    I first went to Customise > Portfolio > Functionality and changed the Prefix from Portfolio to Used WAVs.

    So now the URL of a post within that Post Type is ..../used wavs/post-title, where I want it to be .../approved-used-wheelchair-accessible-vehicles/post-title.

    I hope that makes more sense.

    Thanks

  •  675
    Neuron replied

    Hi,

    Sorry for the late reply, sorry I didn't get your question well, hope the answer below is the right one.

    The prefix is actually the slug, so you can change the prefix to:

    Approved Used Wheelchair Accessible Vehicles

    There's also a plugin which allows you to change the prefixes of all post types, if this helps.

    https://wordpress.org/plugins/custom-post-type-permalinks/

    If there appears any 404 or something, please go to Settings > Permalinks and click save changes that will flush the permalinks.

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •  1
    acidoverride replied

    Hi,

    Yeah I'm sure I've used that plugin before but think it only allows you to change the permalink structure of a single post item and not the archive of the post type? Unless I've used it wrong? But I cant see anywhere on there that allows me to change /used wavs/ to /approved-used-wheelchair-accessible-vehicles/

  •  675
    Neuron replied

    If you want simply to change the prefix, isn't the option at Appearance > Customize > Portfolio > Prefix working? That should have worked as you're suggesting.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •  1
    acidoverride replied

    I want the prefix to stay as Used WAVs so it shows as Used WAVs in dashboard navigation. I just want to edit the permalink! Hope that makes sense.

  •  675
    Neuron replied

    Hi,

    Unfortunately that requires a change in the Neuron Core Plugin, I don't know if that's the best solution.

    It's located in neuron-core-bifrost > functions.php in line 136.

    - https://prnt.sc/qs5ugp

    'rewrite'         => array('slug' => 'your-custom-slug'), // Permalinks format

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •  1
    acidoverride replied

    Yeah that's what I originally thought. Would be nice to see an option below the prefix in Customise that allows you to enter a custom slug.

    If I edit anything in the neuron-core-bifrost folder I will lose it all in an update won't I? Which isnt a problem as I have already created extra CPTs anyway. I'll just have to not update to version 3.0.

  •  675
    Neuron replied

    Well, I can provide you actions that will remove these hooks and re-call them on different way, but maybe we'll include an update which will outdate these actions too.

    So, no worries change them without problem. I'll add this one as a upcoming update to the neuron core of bifrost, so in the other version if it removes, you'll have the option to add it.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •  1
    acidoverride replied

    Yeah that would be really useful, thanks.

    I have just added my custom slug in the neuron core on this project so will be fine.

    Thanks again!

  •  675
    Neuron replied

    You're welcome anytime, feel free to ask for anything you needsmile.png

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.