Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Browsing all 8245 articles
Browse latest View live

robthirlby on "format of user_email field"

Is there a legal hack to change the validation of user_email fields to allow say rob<rob@thirlby.net> or rob(rob@thirlby.net)? I'm unclear why the validation via is_email() is so restrictive...

View Article


Erfo on "Latest posts with same terms of the current post"

Hi. Inside of an article, I'd like to show the latest 3 recipes with the same "ingredients" of the current post. I have this code: $terms = get_the_term_list( $post->ID, 'ingredients' ); $args =...

View Article


kokojambo on "Assign tags to users"

Hello there, I would be grateful if you could help me doing this: I want my WordPress users to be able to assign tags to their profile page(tag cloud), by adding keywords in the “edit profile” page....

View Article

GoodMusicInc on "Weekly popular posts"

Im looking to make my popular post widget on the sidebar take into account the most popular posts on a 7 day range rather than since it's been installed. How do I do that? My site is goodmusicinc.net...

View Article

jeich on "get_queried_object no longer working with pre_get_posts and pretty...

Hi! We are experiencing the category issue referenced here ->https://core.trac.wordpress.org/ticket/26627 We applied '3.8.1' and the issue is still unresolved. The custom query is operable with the...

View Article


maheshwarimani1991 on "Get_user_meta not working in my plugin"

i am using get_user_meta() function in my plugin but it is not showing any values for usermeta table, it is showing blank result. I am able to see the value present in phpmyadmin. I am using it in a...

View Article

vbmark on "Advantages/disadvantages to multiple meta tables for a Wordpress...

I am working on a web application where I am using Wordpress' EAV. But not from a post, page template or plugin; this is my own stand-alone page. What I cannot figure out is if there are pros and cons...

View Article

DanneSWE on "Some upload vulnerability"

We have a site that has been a victim for some hacking attacks. The attack is quite strange, at least for me. The hackers were able to upload a file with the filesman backdoor. Usually this backdoor is...

View Article


idomaron on "Counting custom post type in every categories"

Hello everyone I am trying to display, in one page, the number of posts I have in each one of the categories (AKA 'count'), but I must differentiate them by post-types. Example: Economy: 10 books, 7...

View Article


nat@cry on "Use if post has tag auto generate link to page"

Hi I am trying to create a function where if a post has a certain tag, generate a link to a certain page. Can anyone help with this please my attempts at creating the PHP are failing. Also I am...

View Article

RaylaDevine on "How to Create a Grid of Posts on Pages"

I'm trying to create grid like this or maybe even something simple like this . I used the grid widget in the Visual Composer plugin and I was OK with the results, but since I changed themes, it looks...

View Article

rebelyun on "php help"

Hello, can anyone assist me with this code? I'm trying to modify it so that when a post is labeled under a certain category, it will remove the timestamp and author. <?php get_header(); ?>...

View Article

Reglitch on "the_excerpt Not Working"

I'm editing a page to display new posts instead of pages, so far so good. The only thing that hasn't translated over to the posts is the return from the_excerpt(). In fact, everything else is returned...

View Article


wilkyboy2 on "Custom Wordpress author names"

Hi All, I am migrating my school's Online Newspaper from Joomla to Wordpress, and I am trying to modify the theme (Twenty Fourteen), so that it uses a metadata key value as the display name for a post...

View Article

punith21 on "To fetch the form results from an external website and...

hi i'm new to php but i tried to make my own edu website but i'm facing lot of problem bu using php when the students enter their usn no(eg:1db12cs005) when user hit submit button it must fetch result...

View Article


Tom Sketch on "Custom Post Meta not displaying when web site moved"

Hi there, This is the first time I've posted in the WordPress forum. I've used wordpress for a while now and have recently ventured into creating my own custom post types and custom meta so I can have...

View Article

inspiredwp2013 on "get the title from current loop of flexslider"

Hi i have this code of flexslider written in featureflexslider.php <?php // Get all sticky posts, but only sticky posts $sticky = get_option( 'sticky_posts' ); $args = array( 'numberposts' => 6,...

View Article


jwiere03 on "What hook to use for css?"

I have made a simple plugin that includes some css that styles the front end. I'm calling the function that includes the css with the get_header hook. It works fine. But I was just wondering if this...

View Article

robinalexander on "User post.php for my plugins"

I recently read through the basic tutorial for plug-in coding at Wordpress Codex. I don't recall reading anything about how I use post.php for my plugin to make posts. If I eg. want to start coding a...

View Article

bastien31 on "CSV import and post automatic creation"

Hi, As part of the redesign of a car garage website in Wordpress, my client would like to display a list of vehicles contained in a csv file he receives each week. So every week, I must update the list...

View Article
Browsing all 8245 articles
Browse latest View live