Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Problem Atahualpa : Remove "Permalink to" from <a title=" (http://forum.bytesforall.com/showthread.php?t=19589)

teresax Feb 7, 2013 11:36 AM

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

lmilesw Feb 7, 2013 11:39 AM

What happens if you upload a fresh copy of bfa_post_parts.php?

teresax Feb 7, 2013 11:41 AM

yes, that's right. in this way the problem disappears.

but why?
how can I fix this?

teresax Feb 7, 2013 01:26 PM

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.

juggledad Feb 7, 2013 02:10 PM

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.

teresax Feb 8, 2013 03:40 AM

I want to remove just the text, "permalink to" beginning of the title


http://img402.imageshack.us/img402/7...0208alle11.png

juggledad Feb 8, 2013 05:00 AM

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?

teresax Feb 8, 2013 06:38 AM

I want to also remove it from the source of the page:

http://img96.imageshack.us/img96/102...0208alle14.png

juggledad Feb 8, 2013 06:58 AM

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?

teresax Feb 8, 2013 07:58 AM

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-

juggledad Feb 8, 2013 10:00 AM

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') ?>">
to
HTML Code:

<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('','atahualpa') . the_title_attribute('echo=1') ?>">

teresax Feb 9, 2013 12:36 PM

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

juggledad Feb 9, 2013 01:00 PM

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

teresax Feb 12, 2013 02:07 PM

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') ?>">
with this:
HTML Code:

<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('','atahualpa') . the_title_attribute('echo=1') ?>">
the strange thing is that even if I remove the change the problem persists.
I put a new bfa_post_parts.php to solve the problem...

so it is impossible to remove Permanent Link to?

lmilesw Feb 12, 2013 02:30 PM

The edit works fine for me.

juggledad Feb 12, 2013 03:26 PM

you must have taken out too much when you did the edit.

teresax Feb 13, 2013 05:48 AM

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

teresax Feb 13, 2013 06:11 AM

Quote:

Originally Posted by juggledad (Post 96475)
you must have taken out too much when you did the edit.


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

juggledad Feb 13, 2013 06:25 AM

what are you using to edit the code? I hope it is a text editor and not a word processor.

teresax Feb 13, 2013 06:31 AM

Quote:

Originally Posted by juggledad (Post 96490)
what are you using to edit the code? I hope it is a text editor and not a word processor.

Adobe Dreamweaver
http://www.adobe.com/it/products/dreamweaver.html

juggledad Feb 13, 2013 06:52 AM

What prompted you to use dreamweaver and not a text editor?
and why did you add an '>' after the '</h'?

teresax Feb 13, 2013 07:03 AM

Quote:

Originally Posted by juggledad (Post 96494)
What prompted you to use dreamweaver and not a text editor?


...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)

teresax Feb 13, 2013 07:07 AM

Quote:

Originally Posted by juggledad (Post 96494)
and why did you add an '>' after the '</h'?

this I would like to hear from you

juggledad Feb 13, 2013 07:18 AM

Quote:

this I would like to hear from you
get a fresh copy of bfa_post_parts.php and in a text editor (DO NOT US DREAMWEAVER)
look at line 37 and then look at line 37 in the code that you saved from Dreamweaver and tell me the differences?

teresax Feb 13, 2013 07:45 AM

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 11:02 PM.

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