Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

hardcode custom a post (change title url)


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jul 4, 2012, 01:22 AM
_kimberley's Avatar
_kimberley
 
17 posts · Dec 2011
Amsterdam
I want to change the url in every title post. If you now click on the title, you get the permalink. I want to change that in a custom url:

So:
<a href="http://wordpress-domain.com/?p=19" rel="bookmark" title="Permanent Link to Beste site">TITLE/a>

Would be:
<a href="http://custom-domain.com" rel="bookmark" title="title">TITLE/a>

AND

I want to add a screenshot like this:
<img src="http://grabber.developertool.net/Screenshot.ashx?u=www.custom-domain.com" />
  #2  
Old Jul 4, 2012, 03:57 AM
juggledad's Avatar
juggledad
 
20,004 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
the only place you can change teh permalinks is at dashboard->settings->permalinks AND the smae stule will apply to all posts. This is a WORDPRESS restriction. The post title is the link to the post itself. Let's say you have an archives page that displays th epost titles. The title will be the link to the post.

Even if you could change it and didn't care about messing up the internal links that wordpress uses, you would have to put in some code to test the post ID then change the link for every post - go and edit the code to add a new link - a lot of ongoing work AND when you updated, you would have to do it all over.

So unless the premalink structure fits your needs, I would change your idea of what you are trying to do.
  #3  
Old Jul 4, 2012, 04:37 AM
_kimberley's Avatar
_kimberley
 
17 posts · Dec 2011
Amsterdam
Well I dont have to go into the post! So I dont need that link anymore...
Every title must go to a external website, not the single post page itself
  #4  
Old Jul 4, 2012, 05:24 AM
juggledad's Avatar
juggledad
 
20,004 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
That's not how Wordpress works. You could change it, but for EVERY POST you will have to add logic to the theme to assign a hard coded link and when you update the theme you will add teh code back in.

It might be possible to build a plugin that would add a feild to the post editior that would be your new 'link' and then it would grab that field when WordPress is giving the theme the link. But that is way beyond this forum. If you don't have the skills to do that kind of plugin coding, you will have to hire someone to do it. (For what it's worth, I give it a rough estimate of 20-40 hours coding and testing)

Why use the post titles? why not just create a page and hard code the link to what you would have used as the post title?
  #5  
Old Jul 5, 2012, 01:07 AM
_kimberley's Avatar
_kimberley
 
17 posts · Dec 2011
Amsterdam
Because I use Gravityforms and there the visitor can send a url. This domain will be send to the database and that will be replaced where normally the permalink would be...

So every post will get his own domain.

This is a site with the same post I would like to have:
http://advertentiewebsites.nl/#gf_2
  #6  
Old Jul 5, 2012, 03:51 AM
juggledad's Avatar
juggledad
 
20,004 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
so why not use CSS to hide the post title and then in each post add a link as the first line?

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Post display with Custom Taxonomies rpersonal2 Center area post/pages 1 May 1, 2012 07:00 PM
Custom Post Title Placement bswb97 Center area post/pages 3 Aug 7, 2011 02:44 AM
[SOLVED] Can't change post titles? = Atahualpa Post Option-&gt;Body Title Single Pages? Muncheys New Versions, & Updating 2 Nov 8, 2009 06:17 AM
How do i change the color of a post title? bilwebore Atahualpa 3 Wordpress theme 2 May 31, 2009 04:35 PM
Change color of post title only, not page title jockoe Atahualpa 3 Wordpress theme 1 Feb 26, 2009 06:14 PM


All times are GMT -6. The time now is 09:06 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.