Leland Fiegel
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Social Login] Has anyone got this working with WishList Member?Hey happyplugins,
Thanks so much for the response. I understand the part about the hooks, etc. What I’m unsure of what exactly the custom function should be.
Judging from the Codex page on user_register the basic shell of the function would go like this:
add_action('user_register', 'lelandf_wishlist_addmember'); function lelandf_wishlist_addmember($user_id) { // Code to assign WishList member level to a user ID goes here }
Now referring to the WishList API documentation PDF, I’m guessing it has some combination with the “PUT: Updating Data” section on page 8 and the “POST Adds a member to a membership level” section on page 12.
I’ll look into it more and update here on my findings. Any additional guidance would be appreciated as well.
WordPress Social Login also provides their own hooks related to user registration, perhaps those would be effective as well.
Forum: Themes and Templates
In reply to: Embedded Spam in Theme from ThemesbaseHey everyone, Theme Lab is actually my site. I just wanted to clarify that there never has and never will be any themes hosted on my site with obfuscated code to hide ad links or other malicious things. Thanks to the moderators and original poster for helping clarify that this theme wasn’t actually downloaded from my site.
Unfortunately I really can’t control if someone takes a theme from my site, puts it on their own site and embeds their own obfuscated ad code in it, which is what happened in this case.
I’d recommend downloading free themes only from the www.ads-software.com theme directory and other trusted sources. If you search “wordpress themes” in Google and find a theme that way, chances are it will have encrypted code hiding several sponsored links that probably weren’t there in the original theme.
Just to be on the safe side, you should probably run all themes you get from other sites through a plugin called Theme Authenticity Checker which automatically checks for encrypted code and displays any outgoing links.
I’ve written about the issue in this post: Stop Downloading WordPress Themes from Shady Sites.
Also to the original poster, feel free to download a fresh copy of the WP Multiflex 5 theme if you don’t feel like messing with encrypted code.
Forum: Themes and Templates
In reply to: Customising pages in a themeUse a conditional tag. Put it around something like:
<?php if (!is_page('page-slug-here')) { [Code here] } ?>
With page-slug-here being the slug of the page you don’t want it to show up on.
Forum: Themes and Templates
In reply to: Modern Clix Theme HelpYou get these errors in the admin panel? Check your functions.php file for any empty lines (for example, an empty line below the ?> and the end of the file), this usually causes that sort of problem.
Forum: Requests and Feedback
In reply to: 2.8 Great Update! Syntax highlighing, not so greatOkay, figured it out. All you need to do is go to your theme editor, click the “Screen Options” tab at the top right, and click “Disable syntax highlighting” and that’s it.
I also wrote a blog post on how to do it here, with an accompanying video.
Forum: Themes and Templates
In reply to: Add bullet in front of widget block listSoprano, try this instead to remove the dot next to the titles:
div#sidebar ul.group li ul { list-style-position: inside; list-style-type:disc }
Pretty sure that would work, but let us know if it doesn’t.
Forum: Themes and Templates
In reply to: How does two-column themes work? Can you post in both?Yes, it is very possible to do something like this with WordPress.
You might want to look into using the Query Posts widget.
Your theme would have to be widgetized as well, however nowadays most themes are widgetized anyway, so hopefully that wouldn’t be a problem.
Forum: Themes and Templates
In reply to: Copyblogger 1.0 – underlining page links in nav_menuWhat do you mean by “custom pages”? You mean pages that aren’t inside your actual WordPress site? What errors are you getting with wp_list_pages?
Forum: Requests and Feedback
In reply to: 2.8 Great Update! Syntax highlighing, not so greatI’m also wondering if it’s possible to disable the syntax highlighting features.
I don’t really mind the actual syntax highlighting, it’s just the auto-completion and indenting features that I would rather not have.
Could it be possible to do this with a plugin or what?
Forum: Themes and Templates
In reply to: Read More breaks themeHey Brian,
Can you post a link to your site to where this is happening? Or possibly a screenshot to illustrate what exactly the problem is?
Thanks.
Forum: Themes and Templates
In reply to: Widgetizing Theme HeadacheIf it still says “No Sidebars Defined” you probably didn’t do the functions.php properly.
Try reading this article on widgetizing themes: https://www.themelab.com/2008/04/18/see-how-easy-it-is-to-widgetize-wordpress-themes/
Forum: Fixing WordPress
In reply to: showing a php page on a WP page!You could try something like:
<?php include "lol.php"; ?>
You may have to change that depending on where the lol.php file is stored.
Forum: Fixing WordPress
In reply to: the_author() not displaying anything, ideas?You’re missing a few things in the Loop. You might want to reread this article in the Codex: https://codex.www.ads-software.com/The_Loop_in_Action#The_Default_Loop
Try this and see if it works:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <h2> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> <?php the_title(); ?> </a> </h2> <small><?php the_time('F jS, Y') ?> <?php _e('by') ?> <?php the_author(); ?></small> <?php endwhile; else : ?> Nope! <?php endif; ?>
Forum: Fixing WordPress
In reply to: Ads on all pagesEven though it seems you figured it out, others having the same problem might want to read this article: https://codex.www.ads-software.com/Template_Hierarchy
Although it’s probably best to include the ad code in a file such as header.php so it displays on all pages.
Forum: Themes and Templates
In reply to: Links don’t show up in theme.Here’s the template tag for “blogroll” links: https://codex.www.ads-software.com/wp_list_bookmarks
It may require some additional parameters depending on the style of your theme.
Like Chrisber said, you can also use the blogroll widget (if the theme is widget-ready).