Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

-2
votes
0answers
11 views

create Woocommerce virtual product download link after purchase and show on product [on hold]

In woocommerce all the bought virtual products link are present at My Account page. But I want to to show the product download link along with the product after purchase. I can check if a buyer has ...
0
votes
1answer
23 views

Turn Autocomplete on

I would like to set the autocompleete to on for the post title. Please can somenone tell me how to do this. Thanks Update Note The autocomplete=off setting is removed when the plugin is ...
0
votes
1answer
43 views

Custom post type single (permalink) throws a 404 error

I'm working on a website that has Woocommerce installed (also a CPT if I'm right, but that one works fine). This website has a custom post type for jobs, this cpt has posts that are linked to in the ...
0
votes
0answers
7 views

Time difference error while publishing posts to word press via xmlrpc

I have a blog which i update content on the daily. in addition i have a system that pushes content(posts) to the blog via the WordPress xmlrpc file. My blog and the content pushing software are on ...
0
votes
0answers
23 views

Insert Custom Registration fields in Database

I am newbie to WP and working on login and registration forms. Recently I have integrated custom registration form following this tutorial. I managed to add validations and user can register but some ...
0
votes
0answers
18 views

Which hook should I use to generate title from custom profile fields

I have custom post types which do not use any standard fields, and have custom profile fields only. So, I want to generate a title based on a custom profile field, but I'm not sure which hook to use. ...
0
votes
0answers
4 views

Admin Categories validation

i am trying to validate user input when adding new category through WP , i use jquery.validate() and validation error appeared successfully , but after pressing add new category , the category is ...
1
vote
0answers
16 views

Media Upload , file name changed automatically

I face a problem that when i upload a video that named in non-english language , for example : Arabic , it placed in uploads folder with strange name Ùيديووو so it can't be access through ...
0
votes
0answers
51 views

Setting up iThemes Security for a multi-server environment [closed]

I used iThemes Security in a simple setup with one application server and one database server and I did not have any problem using it. It is a great plugin. Now, I am having a more complex setup, in ...
0
votes
0answers
16 views

Image Upload Failing from WP_Editor

I'm trying to upload photos from the Media Uploader from the wp_editor. This works fine but I'm trying to only allow users to view images that they are the author for. Here is the code I'm using to do ...
0
votes
0answers
26 views

How do I get a nested query to only display content that the main query outputed

I have a CPT 'artists' and a CPT 'events' I want the 'artists' to query first based off the posts tag and then I want the 'events' to query events based off what 'artists' was queried. Heres what I ...
2
votes
1answer
48 views
+50

Add custom field to media attachment image attribute in post editor

I have the following filter, but do not know how to add custom attributes to image field, when attaching media to post. example <img data-ext-link-title="" data-ext-link-url=""> ...
0
votes
1answer
15 views

Determine if action was executed in functions

I've got the following code: add_filter('media_row_actions','delete_link', 2, 1); function delete_link( $wp_query_obj ) { echo "it is in this one"; //if( !current_user_can( 'delete_plugins' ) ...
1
vote
2answers
39 views

Remove ability to Permanently delete an image from the Media Library

I'm using the following code to display the WP Editor on the front end page: $content = ''; $editor_id = 'mycustomeditor'; wp_editor( $content, $editor_id ); When a user clicks on an image in the ...
0
votes
4answers
58 views

How to add active state to the navigation links?

I am trying to add active states for my custom menu navigation, but so far everything I try is just not working. I have set the navigation menu in a separate file nav.php, then I included the nav.php ...
0
votes
1answer
36 views

Custom field front end update in wordpress

I have the following code to update a custom field but the page has several posts and when I do submit updates all custom fields for all posts. How do I only update the post where I insert the value? ...
1
vote
2answers
72 views

Converting HTML Template to Wordpress Theme

While I was trying to convert a Static HTML page to Wordpress Theme , I had an issue . the page Doesn't run properly After Checking Google Chrome Console it turns that it loads the CSS file with the ...
0
votes
0answers
32 views

Creating custom search results widget

I am new to wordpress and trying to accomplish the following: I want to create a wordpress widget with the following functionality. Please advice how it can be accomplished: Widget should accept ...
0
votes
1answer
40 views

Retrieve and display data from custom db table in admin area?

So, i'm having a bit of an issue with a plugin i'm developing, I wonder if anyone can shed any light on the situation, as many, MANY searches have come back with zero help. :-/ Basically, my plugin ...
0
votes
0answers
23 views

Custom post type in theme page

I am having a problem with a website I'm currently working on. I am using the theme Html5-Blank by Todd Motto and Advanced Custom Fields for the content. The problem is this: I am using a custom post ...
0
votes
1answer
28 views

Secondary loop doesn't work

Hi I got a problem with my secondary loop in my template page.php. I'm trying to display some testimonials, the code that retrieve those testimonials works perfectly fine in my index.php but I won't ...
0
votes
3answers
23 views

Does wordpress prevent non wordpress pages from being allowed on the same domain?

I have built a landing page that consists of 3 php pages, css,js files. Is it possible to add these to a new page on my current domain example.com/newfile1.php I would like to do this with out ...
0
votes
1answer
53 views

ACF Shortcode bringing in my shortcode is adding unnecessary line breaks

At the VERY core, my question is - how to remove linebreaks on a single ACF field that is inserted with the ACF shortcode. I have a lot of "shortcodes within shortcodes" here so I will walk this ...
-2
votes
0answers
16 views

wordpress integration with aweber - double option in form

I want that only registered users can read the blog after login. This process is already done for my blog. Now, I want that if a user will register himself at my WordPress blog, should be added ...
0
votes
1answer
31 views

Can a plugin add to header/footer/body content?

I am just wrapping up my first WordPress plugin and the last thing I would like to do is take a piece of data that the plugin knows about (from wp_options table) and display it in either the header or ...
0
votes
0answers
18 views

Create a child theme of an already heavy customised theme

I have seen tons of tutorials regarding the creation of child theme out there but all of them covers only stlye.css and functions.php. What if the website is made by heavy customization in theme and ...
0
votes
2answers
54 views

How do i get file_get_contents to work in wordpress

Im using geoplugin.com to display content based on users location the codex is set up like this: $geoplugin = unserialize( file_get_contents('http://www.geoplugin.net/php.gp? ip=' . ...
0
votes
0answers
19 views

how to create a common admin interface for multiple plugins

I find different useful functionalities in different plugins. I would like to aggregate plugins, without affecting their functions and update policy, into one custom "My Plugin Collection", single ...
0
votes
2answers
36 views

Widgets won't save

I have almost no experience in creating widget area's and I am stuck at saving the widgets in the widget area 'red menu'. I have searched a dozen posts but I can't seem to get it working. I am ...
0
votes
1answer
34 views

Custom widget doesn't save values from dropdown box

I am trying to save the value from a dropdown box on a custom widget created by me. the title from the same widget is getting saved, but not the values from drop down box. Can someone please help me? ...
1
vote
4answers
131 views

how to use a different domain/subdomain for authors/catagories on single site?

I'm not sure if I phrased this question correctly... My wife and I have one blog, family.com in this example, that we both contribute to. I would like family.com to show all blog posts. ...
1
vote
1answer
22 views

How create Group Blogs based on user created Groups

I'm looking to create a site that allows registered users to create their own groups and have their own group blogs. They should be able to have a group page with a few details about the group and it ...
0
votes
0answers
14 views

How to custom feed request with trailing slash that combine category with postname or pagename?

I am developing a source feed in mysite1.com to feed mysite2.com via a custom feed request. I am looking for a way to customize feed request on mysite2.com using trailing slash that combining its ...
2
votes
1answer
197 views

Theme Twenty Fifteen: Customize Color Scheme Customizer

I would like to add my own color scheme to my Twenty Fifteen child theme such that it can be changed inside the admin panel. From what I understand, this is the relevant section: ...
0
votes
1answer
22 views

Get text from user and display it on page

I would like to ask you how can I go about getting text data from user and then displaying this custom per user text on their account page. Can I use custom fields for this? Should I write my own ...
0
votes
0answers
8 views

A hook while a new site is created [duplicate]

I would like to know is there any hook available such that we can populate some common table data from the base site to the newly crated site. Actually I creating a website where the network will ...
3
votes
1answer
50 views

Walker class: Problems with understanding how walk() method can be called without error

I am struggling with understanding how WordPress uses the Walker class. In particular, I don't understand the walk() method (I think). First, let me explain what I understood: When calling ...
0
votes
1answer
27 views

When post is updated, custom metadata in text area field is overwritten

I have set up 2 new post meta fields in order to add functionality to a custom post type. The custom fields generally work as expected, with a couple exceptions. I set up a checkbox (called ...
0
votes
0answers
40 views

WordPress media uploader - upload tabs not hiding

I'm in the process of adding a front-end post editor to one of my sites. In doing so, I need to prevent certain users from being able to upload media. I have things "kind of" working but there are a ...
0
votes
1answer
36 views

Use custom get results query to show posts WordPress

I have this code before to show posts. $query_args = array( 'post_type' => 'post', 'posts_per_page' => 4, 'meta_key' => 'Views', ...
0
votes
1answer
60 views

How to change submit button value in comment from “Post Comment” to “Send”

How to change submit button value in comment from "Post Comment" to "Send" I have "responsive" theme , I tried to seach files in wp folder but i can't find the html for this form . Also Is that ...
0
votes
1answer
21 views

Creating post custom field text area

I want to make, I guess a custom field for my theme. I'm not sure is it the right way to do this with custom fields. I searched a lot, but could not find what I need. So I'm hoping that some one ...
1
vote
1answer
26 views

if custom post type exist

I want to test if custom post type mobile exist. I used if custom post type exist in the loop, but it doesn't work. Any suggestion why my code is not working <?php /* The loop */ ?> <?php ...
0
votes
0answers
15 views

how to convert Html block to dynamic widget?

<div class="widget-wrapper"> <div class="widget-icon"> <i class="fa fa-facebook"></i> </div> <div class="widget-title"> </div> ...
0
votes
2answers
40 views

How to display custom field value on page?

I have added custom fields by clicking on screen option and mark custom field ,how to display custom field value on page?
0
votes
0answers
21 views

How should I setup a special series on my blog?

I am not a full-fledged WP developer. But I know how to do basic PHP functions and get stuff working the way I want. However, I want to do a special series on my blog, that will last the next 3-4 ...
0
votes
1answer
36 views

Custom php file in wordpress

For some purposes i want to have custom php file in my Wordpress that will output content from 3 plugins. This is the PHP code in the file : <div class="wrap"> <div class="sidebar1"> ...
0
votes
0answers
31 views

Search for posts with specific tag inside custom page template

I'm developing a Wordpress blog where there are two custom pages - i.e., different from index.php. In there, there are two albums of photos, with the photos listed on a div above. I've put an input ...
0
votes
0answers
29 views

Is there a Standard Format for Clean URLs for Archives of Custom Posts?

Are there standard formats for clean URL's for the various types of archives one would want from a collection of custom posts? If, for instance, the slug for the custom post is "business": Author: ...
0
votes
0answers
11 views

Is there any way to change WP download limit?

I know that this plugin change something that allows WP to download any file from your server: https://github.com/wp-plugins/download-manager But I only want to know the way for do that. I don't ...