May 4, 2011

Adding Open In New Page to post titles option | Freeware Plugins | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Adding Open In New Page to post titles option
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
September 5, 2022
7:00 pm
Avatar
jim.crystal-group
Member
Members
Forum Posts: 4
Member Since:
August 27, 2022
sp_UserOfflineSmall Offline

I use both the PRO version and LITE version in my marketing/advertising business.

One question I have for both of them is why doesn't the Link to source option have the ability to open in a new page?

Right now if this option is ticked the visitor is immediately taken away from the web site I am trying to draw people too.

I'm looking at CybeSEO as a marketing tool.

The source option ( when enabled the post titles will be linked to their source pages. )

should give the option of opening in a new page in both versions.

Otherwise I like how this app works

Jim

September 5, 2022
7:10 pm
Avatar
CyberSEO
Admin
Forum Posts: 3949
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Please be more specific, because I didn't get the question. The "Link to source" option works as described - it links all the post titles to the original articles. If you don't need this option for your projects, just don not enable it.

September 5, 2022
7:15 pm
Avatar
jim
Guest
Guests

I want this option top open in a new page and not close my page . As it works now it overwrites my page.

September 5, 2022
7:42 pm
Avatar
CyberSEO
Admin
Forum Posts: 3949
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

The plugin uses the standard WordPress API to redirect post links: Login to see this link

It (WordPress) does not allow anyone to change the "target" parameter of post titles, because your WordPress handles that. This parameter (I mean target="_blank") has to be hard-coded in your WordPress theme. So the only way to change it is to alter your theme.

For example, open the /wp-content/themes/twentytwenty/template-parts/entry-header.php file. It defines how your post titles will be shown:

Login to see the code

If you want your posts to be open in a new window, you have to alter it like this:

Login to see the code

That's a hard-coded part which can't be altered the WordPress engine.

September 5, 2022
8:37 pm
Avatar
jim.crystal-group
Member
Members
Forum Posts: 4
Member Since:
August 27, 2022
sp_UserOfflineSmall Offline

Thanks for explanation

QUESTION:

 

My theme has a place where I can add additional CSS codes.

Is there any additional codes that I can add to include the target="_blank function?

I'm not a programmer just a marketing person and this addition would make CyberSEo much more powerful

 

Jim

September 5, 2022
8:40 pm
Avatar
CyberSEO
Admin
Forum Posts: 3949
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

No. It's a HTML tag, so the only way to change it is to alter the HTML code of your theme. The tag is literally written there.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2855

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1641

Posts: 8356

Newest Members:

samuel2288, comercios.cercademi, wanmarkets, torontomark48, info.ckmedianetwork, contact.mybeautystar

Administrators: CyberSEO: 3949