How do I REMOVE information about the number of visitors? Look at the red circle.
That is, I want to leave ONLY the name of photography.
Hello
if you're French you can post in French forum
Removing the number of views is a little tricky ; if you don't know Php you can't.
yo need to re-assign
'TN_TITLE' => get_thumbnail_title($row, $name, $desc),
where row is the result of the mysql request, but you need to drop 'hit'
Offline
I'm not saying either of French or English.
I am Russian.
.
Please give your advice a little more detail.
I have a much better idea:
in a plugin perso,
add_event_handler('loc_end_index_thumbnails', 'my_title_thumbnails'); function my_title_thumbnails($tpl_thumbnails_var) { global $template; $new_tplvar=array(); preg_replace('#\\(.*\\)#s', ' ', 'badokz (jgêj) pjzfoj', -1, $count); foreach ($tpl_thumbnails_var as $tplvar) { $content=preg_replace('#\\(.*\\)#s', '', $tplvar['NAME']); $new_tplvar[]=$tplvar; } return $new_tplvar; }
Offline
Unfortunatelly,
I'm not undestand
use LocalFile Editor for a Personnal Plugin
Offline
OK
I need to copy all your code into a new empty personal plug-in?
flop25 wrote:
... 'badokz (jgêj) pjzfoj'...
What is this?
Konve wrote:
OK
I need to copy all your code into a new empty personal plug-in?flop25 wrote:
... 'badokz (jgêj) pjzfoj'...
What is this?
About me forget? :(
sry I was busy
I did mistakes ; I was too hurry/sleepy
add_event_handler('loc_end_index_thumbnails', 'my_title_thumbnails'); function my_title_thumbnails($tpl_thumbnails_var) { global $template; $new_tplvar=array(); foreach ($tpl_thumbnails_var as $tplvar) { $tplvar['NAME']=preg_replace('#\\(.*\\)#s', '', $tplvar['NAME']); $new_tplvar[]=$tplvar; } return $new_tplvar; }
edit code corrected [Forum, post 132506 by flop25 in topic 19667] Accounting for the number of visitors photos.
Last edited by flop25 (2012-07-11 12:16:41)
Offline
Thanks, of course for your care.
But I still did not get
: (
Apparently, no luck ...
The plugin doesn't work.. Where can I find: 'TN_TITLE' => get_thumbnail_title($row, $name, $desc)
Offline
T00kie wrote:
The plugin doesn't work.. )
Are you activate personal plugin ?
Offline
what ddtddt wanted to ask is : Have you activated the Personal Plugin? And if I'm right, you haven't
ps : sry in fact you have ; it's 'wtyczki wlasne' right ?
Im searching for my mistake but don't see where..
Last edited by flop25 (2012-07-11 12:09:10)
Offline
correction :
add_event_handler('loc_end_index_thumbnails', 'my_title_thumbnails'); function my_title_thumbnails($tpl_thumbnails_var) { global $template; $new_tplvar=array(); foreach ($tpl_thumbnails_var as $tplvar) { $tplvar['TN_TITLE']=preg_replace('#\\(.*\\)#s', '', $tplvar['NAME']); $new_tplvar[]=$tplvar; } return $new_tplvar; }
Offline