Want button URL to open in same tab

StatusIDPriorityType
Closed31228NormalContent Timeline WP
Profile Reply
davidf Client

Hi great addon.

Questions;

I have created a timeline (flat style) – all items added using blank card template.

Query 1

When I open the image (left Photo URL blank so opens full size) – on the bottom left hand corner there are buttons for ‘tweeting’ and ‘facebook likes. How can I remove these? (as I do not wish them present)

Query 2

For each card, I’ve entered an address in the ‘Button URL’ – it opens a new tab (linking to another page on my site).

Can this be set up, so the link opens the link page in the same tab, as I do not wish another page to open. Is it possible somewhere in the code to enter ‘target=_blank”?

Thanks

David

Replies

User Description Posted On
Shindiri Support team Administrator

Hi,

Can you tell us what style are you using so we can give you proper code for removing socials and find proper code to change for a button url.

We are fairly optimistic about solving this issues for you we just need you to tell us style you are using so we can narrow our search for solution.

Thank you.
Best regards,
Shindiri Studio | http://www.shindiristudio.com/

davidf Client

Hi there,

The style I am using is;

Flat (is below Austin and above the style 1 - in the drop down list)

Thanks,
David







Shindiri Support team Administrator

Hi,

1. please add this css to custom css section or style.css  (whichever suits you better) of the theme to remove social icons.

 .pp_social {
       display: none;
}

2. for changing link of the button target you must edit front_html.php file, proper path should be wp-content/plugins/content_timeline/pages/front_html.php 

line 1296
code is $readMore = '<a class="read_more" target="_blank" href="'.$arr['item-link'].'">'.$settings['more-text'].'</a>';

just change _blank with _self and that should solve it.

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

davidf Client

Hi there, 

Thanks for your help, worked great.

For the 2nd point, I also had to change lines 1283 & 1287, from _blank to _self

Regards,
David






× This ticket is closed.