Problem Atahualpa : Remove "Permalink to" from <a title="
I want to delete: "permalink to"
so I changed bfa_post_parts.php in this way pastebin Unfortunately I get this strange error: the end of the title appears 2> or 1> home: http://imageshack.us/a/img24/9112/sc...0207alle19.png post http://imageshack.us/a/img59/9112/sc...0207alle19.png and also deleting the changes the error persists. I trust in your help. thank you very much |
What happens if you upload a fresh copy of bfa_post_parts.php?
|
yes, that's right. in this way the problem disappears.
but why? how can I fix this? |
ok maybe there is some bug somewhere?
I reviewed the code ... (I am an amateur) "I'm not a programmer" I deleted ">" from these line: line 37 http://imageshack.us/a/img38/4735/sc...0207alle21.png line 40 http://imageshack.us/a/img845/3843/s...0207alle20.png line 85 http://imageshack.us/a/img23/3843/sc...0207alle20.png ......and I resolved with regard to the ">" now remains to understand where these numbers come out 1-2 ? pastebin N.B. sorry for my English. |
What exactly are you trying to accomplish? Can you give a description of what you want to do, there maybe an eas way to do it.
|
I want to remove just the text, "permalink to" beginning of the title
http://img402.imageshack.us/img402/7...0208alle11.png |
do you want the post title to show when you hover over it
or doy want nothing to show when you hover over the post title? |
I want to also remove it from the source of the page:
http://img96.imageshack.us/img96/102...0208alle14.png |
I understand that, but do you want to remove the page title that shows on the hover?
currently it shows as 'Permanant Link to SomePost'. So do you 1) want it to show as 'SomePost' or 2) Have no hover effect at all so nothing will show? |
I want everything to stay as it is.
but I want to show the exact title.without """permanent link to""" I hope you understand me- |
you have two options
1) if you are using a po file for translation, you can set that string to return nothing or 2) you need to edit the code but all you need do is remove the text so you would change HTML Code:
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to ','atahualpa') . the_title_attribute('echo=1') ?>"> HTML Code:
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('','atahualpa') . the_title_attribute('echo=1') ?>"> |
it seems obvious that we have not understood ...
I've already made this change ... see first code (pastebin) This change creates a BUG. what you see in my posts I've written before. Among the other .. any changes to bfa_post_parts.php creates the problem that I specified above |
your problem is that you removed some '>' that are needed.
download a fresh copy of the theme, unzip it and just remove the text 'Permanent Link to ' and save teh file and then replace the version on your server |
nothing to do, does not work ...
I get the error that I explained in the first post! seems to be a bug in the theme?? the end of the title appears 2> or 1> home: http://imageshack.us/a/img24/9112/sc...0207alle19.png post http://imageshack.us/a/img59/9112/sc...0207alle19.png I proceeded as follows: 1) I deleted everything from my server. 2) I downloaded and installed wordpress. 3) I downloaded and installed the theme 4) No plugin installed 5) I changed as you said; this: HTML Code:
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to ','atahualpa') . the_title_attribute('echo=1') ?>"> HTML Code:
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('','atahualpa') . the_title_attribute('echo=1') ?>"> I put a new bfa_post_parts.php to solve the problem... so it is impossible to remove Permanent Link to? |
The edit works fine for me.
|
you must have taken out too much when you did the edit.
|
nothing to do lords,: (
I tried on multiple servers, even in localhost. but that annoying problem always occurs. my configuration on the server wordpress 3.5.1 Atahualpa 3.7.10 Ubuntu - PHP 5.3 - mysql localhost: Mac xampp 1.7.3 wordpress 3.5.1 Atahualpa 3.7.10 |
Quote:
I have not removed too much code, even though I did not throw anything happens. This problem also occurs by making a small change and then cancel it and save the bfa_post_parts.php I am attaching a picture of the original bfa_post_parts.php made on dreamweaver Link: http://img221.imageshack.us/img221/7...13at135353.jpg |
what are you using to edit the code? I hope it is a text editor and not a word processor.
|
Quote:
http://www.adobe.com/it/products/dreamweaver.html |
What prompted you to use dreamweaver and not a text editor?
and why did you add an '>' after the '</h'? |
Quote:
...because I've used for years .... well now I removed the quotes angular pastebin now I have to find the reference to those numbers at the end of the title: 2 and 1 (see picture above) |
Quote:
|
Quote:
look at line 37 and then look at line 37 in the code that you saved from Dreamweaver and tell me the differences? |
we are very happy.
I will not be using anymore dreamweaver for php!. NEVER. and I thank you for enlightened. Do not spend more money for adobe dreamweaver. I spent too much time looking for a problem that DOES NOT EXIST! soon I will make a small donation to bfa forum. thank you. One question, who can I talk to you to develop a front end site? safe, fast, and without any bottlenecks? what I need: entry to the site fron tend, private messages, user profiles, posting messages to users, as it would cost me? |
All times are GMT -6. The time now is 09:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.