Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
11 views

How can I remove the Static Front Page option from the Customizer

In Wordpress 4.1's Theme Customizer there's a Static Front Page option. I've set up my theme to have a custom front page (via front-page.php in the theme) so I don't want this option to be available ...
-2
votes
0answers
24 views

Would this structure be possible in wordpress? [on hold]

A site with 4 different locations, for example: London Cambridge Manchester Briton Once the user click on any of them, a new menu will appear: Cars Tvs Trains Ships So if I click in first in ...
0
votes
0answers
5 views

Register user and log in from custom script

I need to build a php script called via POST on http with some paramaters like username, password, email. This POST came from a desktop app and will works something like this: - press a button to ...
0
votes
1answer
12 views

Create a Page template selector page

I'm running around with an idea in my head that I would like to make but I don't really know how or where to start. In a custom theme I had to make serveral templates for one of my clients. I ...
0
votes
0answers
7 views

User registration and activation email in custom form

I have implemented a custom login and registration form in WP as mentioned here. User can now register but can not login until admin approves that user from backend. I need to implement admin ...
0
votes
1answer
13 views

Using the media library for theme customization

I'm using Underscores to build a theme and I've added an image selector to the customization section, which appears just like the default Background Image section, except clicking 'Select Image' ...
0
votes
0answers
25 views

How to completely overwrite and replace the permalink rewrite rules?

The site I'm working on has a very specific permalink structure, one that is very different from the default wordpress permalinks. I don't want to add rules; I want to replace the rules entirely with ...
0
votes
2answers
43 views

Display posts by month

I want to achieve something like this, I don't know if it is possible and what would be the best way to do it: The way I query the posts is like this: <div class="post"> <?php global ...
0
votes
1answer
30 views

Where to insert customize_register in wordpress plugin

I'm developing a plugin... well trying to... for wordpress that adds a parallax header in a theme. I want to have a customizer section for my plugin, but where ever I try to add the customize_register ...
0
votes
0answers
10 views

Registration Page Cuztomization

I'm trying to build a registration page similar to that of Gmail's (as an example). To do this I am attempting to follow the example #2 given in the codex page "Plugin API/Action Reference/register ...
-2
votes
0answers
24 views

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

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
31 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
47 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
32 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
19 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
23 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
1answer
25 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
2answers
112 views

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
42 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
71 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
77 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
33 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
56 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
27 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
29 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
59 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
35 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
19 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
59 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
38 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
38 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
135 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
23 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
15 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
210 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
24 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
51 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
41 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
41 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
65 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 ...