SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2011
    Location
    Fort Wayne, IN
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile advanced excerpt

    Can you tell me what the filter is designating? Because I've tried changing and deleting everything and it does nothing. Well, except taking out the array
    Code:
    <?php echo $advancedexcerpt->filter(null, 100, 1, '&hellip;', array('')) ?>
    This is part of the code on a custom home template.

    And btw, hi, I just joined just to ask this question. Even though I do read from here and have even bought some of your books.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,044
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)
    Hi sliloh, welcome to the forums,

    AFAIK that is not part of the core code. My best guess would be to look in the theme's folders, for a file maybe named "functions.php"?
    There should be a
    $advancedexcerpt = new [class name];
    somewhere. Then you can look at the classe's filter method to see what it's about.

  3. #3
    SitePoint Member
    Join Date
    Oct 2011
    Location
    Fort Wayne, IN
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, that was my thought too. But there's nothing there or anywhere else about it on the site. I guess that explains why nothing happens when I delete them.

    Just another "What were they thinking" moment trying to figure out someone elses code.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •