http://tales.rpgplanet.gamespy.com/blog/
The blog I am using for my website doesn't use the listed order (< li >) codes, but it seems some of them are hard-coded into the script.
Does someone know what file(s) contain the < ul > and < li > markup, so I can remove it?
Depends actually. First place I would look is your theme files. If you;re talking about the links along the left hand side, I'd say the theme's sidebar.php file. I see li and ul tags though in there so I'm not sure if those are the links you're looking at exactly.
<?php wp_list_pages('title_li=' ); ?>
That's one of them. See, it's doing a PHP call to somewhere, but I can't figure out where it is.
The function is within wp-includes/post-template.php. Line 279 or so.
You may want to check out the wordpress codex though as you may just have to change the variables.
http://codex.wordpress.org/Template_Tags/wp_list_pages
Hope this helps,
-drmike
I couldn't seem to find anything that could get rid of them. I had to resort to putting in a CSS class to strip the "dots" from all < li > tags.
I wish I could find what file(s) creates the <a href=""... link, since my navigation links have a special class attached to them...
lunabyte
Member
Posted 17 years ago #
grep -ir "search string" <target>
Simple, effective.
Where do I use that code? I'm not familiar with that syntax...
Luna is using a SSH connection and doing that from a command prompt on the server.
I myself suggest a text editor program called ultraedit if you're stuck on a windows box locally. I can search through files looking for phrases where the windows search won't do it.
lunabyte
Member
Posted 17 years ago #
Well, yes, you could use SSH.
I usually use terminal though. ;)