Jump to content

Search the Community

Showing results for tags 'taxonomy'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 2 results

  1. Hi everyone, newbie to site looking for help with my tag/category page formatting. I recently bought a plugin for masonry and have been trying to make it the display for posts on my blog pages as you can see here: http://www.enduringepilepsy.com/_blog/ and http://www.enduringepilepsy.com/archive/_2013 It's been helping my design and page load overall (Note: I do use Google Page Speed Service) But I cannot figure out how to be able to use this customizable masonry for my tag/category pages since they do no show the ability to edit on the Wordpress admin bar. I've looked at the php code in my files, and while I have become more familiar with php in the yr since I moved to Wordpress, am unsure how to edit these pages without making a mess. The plugin is http://codecanyon.net/item/essential-grid-wordpress-plugin/7563340 My theme, called Inzin, is no longer sold, and the developer disappeared from online. So I have lost all support. I would really appreciate any help anyone could offer. Thank you!
  2. In the below function I am trying to understand the $new_rules array. I understand it is matching a pattern an then rewriting that pattern to a friendly url. But I just don't understand the logic of what portion is capturing the pattern and what portion is telling it to rewrite in another format and what that format is. Could someone help me understand each section of the $new_array in basic terms so I can understand the logic of the matching and rewrite? I am trying to learn this but just can seem to get it. In this example cardealers is my custom post type, and brands and state are a taxonomy. Thank you! function eg_add_rewrite_rules() { global $wp_rewrite;[/font][/color] $new_rules = array( 'cardealers/(brands|state)/(.+?)/(brands|state)/(.+?)/?$' => 'index.php?post_type=cardealers&' . $wp_rewrite->preg_index(1) . '=' . $wp_rewrite->preg_index(2) . '&' . $wp_rewrite->preg_index(3) . '=' . $wp_rewrite->preg_index(4), 'cardealers/(brands|state)/(.+)/?$' => 'index.php?post_type=cardealers&' . $wp_rewrite->preg_index(1) . '=' . $wp_rewrite->preg_index(2) ); $wp_rewrite->rules = $new_rules + $wp_rewrite->rules; add_action( 'generate_rewrite_rules', 'eg_add_rewrite_rules' );
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.