• Resolved mtopp

    (@mtopp)


    Hi,

    is it possible to edit the link to the history entry…
    Example: https://XXXX.de/history/2018
    I would like to change the “/history/” to any other word. So it is more flexible.

    Next is…
    Color picker to change colors of the time line.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sehgal.sunny

    (@sehgalsunny)

    Hi @mtopp,

    Yes, you can change history from the URL.
    Just follow below instruction:
    Go to below path of your p and change slug name:

    wp-content\plugins\timeline-history\post-type.php
    On line number 16 just change slug name (‘rewrite’ => array(‘slug’ => ‘history’))

    And for color:

    Update below code to your CSS file or WordPress back-end. Note – Please keep parent class to apply the css if possible.

    section.cd-horizontal-timeline .cd-timeline-navigation a.next, section.cd-horizontal-timeline .cd-timeline-navigation a.prev {background: #d4c72c none repeat scroll 0 0 !important; border: 2px solid #d4c72c !important;}
    section.cd-horizontal-timeline .events a.older-event::after {border-color: #d4c72c;}
    section.cd-horizontal-timeline .filling-line{background-color: #d4c72c;}
    section.cd-horizontal-timeline .events a.selected::after {background-color: #d4812c; border-color: #d4c72c;}
    • This reply was modified 6 years, 7 months ago by sehgal.sunny.
    Thread Starter mtopp

    (@mtopp)

    Hi @sehgalsunny

    thanks for support.
    I already edit this, but on the next update it will overridden.

    So i think, it is better to implement this two features???

    best regards

    • This reply was modified 6 years, 7 months ago by mtopp.
    Plugin Author sehgal.sunny

    (@sehgalsunny)

    Yes, sure @mtopp ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit Link’ is closed to new replies.