html - Wordpress, where to identify the permalink error? -


i have html code links function.php gets url href.

<a href="<?php echo projecttheme_post_new_link(); ?>"><?php echo __("post new",'projecttheme'); ?> 

originally working url: http://www.wastebidder.com/waste/post-new-project/?post_new_step=1&projectid=949

now link not appear go page , copying url not work! goes 404.php.

the html href looks now:

 <a href>post new</a> 

the other permalink works fine, need know how able solve it.

function part 1

 function projecttheme_post_new_link()     {         return get_permalink(get_option('projecttheme_post_new_page_id'));       } 

i guessing url function:

 function projecttheme_post_new_with_pid_stuff_thg($pid, $step = 1, $fin = 'no')     {         $using_perm = projecttheme_using_permalinks();            if($using_perm)  return get_permalink(get_option('projecttheme_post_new_page_id')). "?post_new_step=".$step."&".($fin != "no" ? 'finalize=1&' : '' )."projectid=" . $pid;          else return get_bloginfo('siteurl'). "/?page_id=". get_option('projecttheme_post_new_page_id'). "&".($fin != "no" ? 'finalize=1&' : '' )."post_new_step=".$step."&projectid=" . $pid;   } 

phpmyadmin

did not realise have deleted 1 of id's linking projecttheme_post_new_page_id added missing id, , filled other information in, worked.

woohoo!!


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -