hp3
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Content Blocks] how to remove the widget titleI am testing out the show title feature, thanks for adding this. If I uncheck the show title box, it seems the plug-in is still generating an empty <h2 class=”widgettitle”></h2> tag.
In my case this is a problem because I have a style for h2 that shows the border-bottom. Even though there is no text, in the tag, the border still displays. I can probably work around this using CSS, by removing the border for only those h2 that have class widgettitle. But I would prefer to not have the title tag at all.
Is it possible to update the plug-in so that it does not print the <h2 class=”widgettitle”></h2> tag at all?
Forum: Fixing WordPress
In reply to: wp_query and IN operatorthanks for your help. that was the solution.
Forum: Fixing WordPress
In reply to: wp_query and IN operatorthanks, that was the solution.
Forum: Fixing WordPress
In reply to: remove tilde character from first item in menuThanks for the various suggestions. I ended up using a similar approach as FireTruck’s last suggestion with substr_replace.
Forum: Fixing WordPress
In reply to: using wordpress for wholesale web sitehavent set it up yet, still waiting to hear back for go ahead from the client.
Forum: Requests and Feedback
In reply to: possible bug with spaceless dash in page title and linkthis turned out to be an issue with the free version of SEO smart links plug-in. I disabled this plug-in and no longer had the problem.
Forum: Requests and Feedback
In reply to: possible bug with spaceless dash in page title and linkI will upgrade to 3.3.1 and try this again. I may also have some other plug-in issue so lets see what I get. Thanks for taking the time to test.
Forum: Requests and Feedback
In reply to: possible bug with spaceless dash in page title and linkesmi, what version of wordpress are you testing with?
Forum: Requests and Feedback
In reply to: possible bug with spaceless dash in page title and linkHere is the nested a tag that wordpress generates.
<p><span style="text-decoration: underline; color: #ff00ff;"><a title="title-dash" href="https://domainname.com/title/"><span style="color: #ff00ff; text-decoration: underline;"></a><a title="title-dash" href="https://domainname.com/title/">title-dash</a></span></span></p>
It seems to nest both the span and a tag.
Forum: Requests and Feedback
In reply to: possible bug with spaceless dash in page title and linkI disabled TinyMCE and set theme to Twenty Eleven.
I get the same result. It seems that wordpress is wrapping an outer a tag around the inner tag for the above conditions.
Forum: Fixing WordPress
In reply to: using wordpress for wholesale web siteThanks for the post. My concern with the ecommerce plug-in route is that it might be more complex to “dumb” it down to what I need instead of me building up the basic features from scratch.
Forum: Hacks
In reply to: wpdb update user_login also updates user_nicenameI have not yet found a solution. There must be some underlying reason why wordpress makes it difficult to update the user name, or maybe it is some kind of bug. Seems like there is something about preserving unique permalinks. I have not had a chance to look in the source code for the script that is generating these user nice names.
Does anyone know which part of the source code does this?
Forum: Fixing WordPress
In reply to: order by issue with query posts and meta valueThanks, I will research the technique of query statement filters further.
Do you have any advice on the pros and cons of using this technique vs. just using the sql statement directly with wpdb?
Forum: Fixing WordPress
In reply to: Problems With Custom Content Type PaginationI was having the exact same problem as fredhead, in that page/2 was always 404. I set up post_per_page in $args for query_posts but this did not solve the problem.
Using the filter approach posted above by keesiemeijer, to add a value for posts_per_page has fixed the problem.
Why would the filter fix the problem where passing the post_per_page value directly to the query_posts function not work?
Also setting the posts_per_page option to 1 from the Settings>Reading in wp-admin will allow query_posts with arbitrary post_per_page to work with query_posts.
Is this a known wordpress bug?
Forum: Fixing WordPress
In reply to: custom content type date permalinkI am not using categories in permalinks.
This has to do with custom content type named “recipes” and narrowing results to those recipes posted by year and day.
Does anyone have information on how to do this?