Okay
  Public Ticket #2602602
bug in portfolio permalinks
Closed

Comments

  • Kilian started the conversation

    When building a page displaying a portfolio (-category), the links to the portfolio items are not working, if the item contains a redirect - the following error is thrown:

    Warning: Cannot modify header information - headers already sent by (output started at /home/studi329/public_html/sound-pictures.com/wp-content/themes/centaurus/header.php:1) in /home/studi329/public_html/sound-pictures.com/wp-includes/pluggable.php on line 1296

    when the same portfolio items is called directly over  ".../portfolio-page/portfolio-boxed/...", the links work, but not called over the slug.

    When we change the portfolio slug prefix, the error described above does not occur, but direct links to portfolio items do not work with the modified slug - they throw a 404 - only links using the default slug "portfolio" are still working.

    Something in the handling of the url rewrite / slugs seems not to work.

    Please have a look at his problem - we tried everything to fix it, but are now in a state near madness
    ;)

    I'm looking forward to your feedback and best regards,

    Kilian

  •  675
    Neuron replied

    Hi Kilian,

    Can you please provide me with your wp-admin, we'll check what is not working.

    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.

  •   Superakki replied privately
  •  675
    Neuron replied

    Hi,

    Please when sharing data, make sure to tick private on the reply.

    There's an option at the edit settings, for the redirect.

    4718648688.png

     Please set that to Nein.

    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.

  •   Kilian replied privately
  •  675
    Neuron replied

    Hi Kilian,

    The issue of the error was directly related with the redirect option, so when you disable it. You're able to edit & view the portfolio item. These settings are in each portfolio item, check them one by one, make sure to switch it off. I've removed only to the first one.

    As for the prefix, you can change it at Appearance > Customize > Portfolio > Functionality. https://prnt.sc/vlnybo

    To remove it completely you need the help of a plugin.

    - https://wordpress.org/plugins/remove-cpt-base/

    I hope, that I have answered your questions, 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.

  • Superakki replied

    I think you do not understand what we want. Please go to  https://sound-pictures.com/portfolio-page/portfolio-boxed/soundpictures/

    as you can see in my attachment. When you klick in the picture, as you can see in the attached file  it doesn't work correctly when you klick on the word taksim it is working correctly. I have a local installation and both links a working in a correct way. 

    I WANT TO KLICK ON THE PICTURE AN GET A CONNECTION TO THE RELATED LINK: I didn't want to go to my portfolio, I want to go another page I build. There is a bug in the redirection. I don't want to go to my portfolio I want to go to another side please look on my attached files. On my local installation it is working in the way I describe you

  •  675
    Neuron replied

    Hi Sperakki,

    I am sorry that I did not understand the question properly. I apologize for not reading it through.

    That seemed like a theme bug, I've fixed to your theme, also I will release an update which will cover that(you don't need to do anything for the moment, it's fixed).

    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.

  • Superakki replied

    Hello,

    thank you for your answer. I have some more questions. 

    Please go to my homepage https://sound-pictures.com/ 

    1. When you scroll to the bottom you see a portfolio grid I have done with elementor. Here the mistake also exist. Can you fix it please. 

    2.On your portfolio grid on my home page I didn't want to display the Kategorie. In the example in the attached file it is (©) I did not want to show it. Please look on the attached file

    3. Can you tell me how long does it probably will take till the update is done?

    4. This installation is only a test. I want to migrate the website to another domain with the Plugin Dublicator, Backupguard or all in one wp migration. Will it work without problems?


    THANKS

  •  869
    Neuron replied

    Hi Superakki,

    I am very sorry for the late reply, we were not working on the weekend.

    Please add the following code to Appearance > Customize > Additional CSS, and it will remove the category from the post.

    .o-neuron-hover-holder__body-meta div.a-seperator {
        display: none !important;
    }
    

    But you already have it updated, we've added you the part of the code that was missing, so you don't need necessarily a new update.

    Feel free to ask for anything you need.

    Kind Regards


  • Superakki replied

    Hello I have another question. I want to place a history back button with Elementor. I use javascript 

    javascript:history.back()

    but it doesn't work. Can you help me please


  •  869
    Neuron replied

    Hi Superakki,

    Sorry for the late reply.

    To add it you need to use custom HTML, and in your page you can display it using the html widget with the following code.

    <button onclick=""javascript:history.back()"">Go Back</button>
    

    Feel free to ask for anything you need.

    Kind Regards


  • Superakki replied