Function to search page title and generate a logo
-
First off, I have searched extensively for a resolution or suggestions regarding this topic. I may not have titled the topic correctly.
I am using this install of WordPress as a CMS and not a blogging tool. I chose to use WordPress because I did not want to deal with the bloated code that comes along with Joomla and Drupal. I also really do not need anything most of what is included in the core of those two platforms. As many already know, WordPress is much easier to template.
Here is what I am trying to accomplish:
I need these pages to dynamically generate a logo. There are 120 logos. Here is what I am thinking.
Create a function that searches the page title, and if that title is found generate logo x.
In addition, I have created 12 functions that will display depending on what page template is chosen for each page (located in user-functions.php which is called on in the themes functions.php file). I am wondering if there is a plugin, or a simple block of code that will allow me to edit the contents of this function in the admin area of wordpress
I am somewhat new to WordPress, and still trying to fully understand the loop and how to plugin to the loop to accomplish what I need. Any advice on how to accomplish this would be greatly appreciated.
- The topic ‘Function to search page title and generate a logo’ is closed to new replies.