Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

1
vote
1answer
923 views

Split content into multiple columns using more tag?

First of, this is pretty much an exact duplicate of: Split columns into three+ divs? But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
1
vote
3answers
2k views

custom headers for static home page and posts page

have a site w/a static home page and a posts page and then a number of other static pages - i set up a custom header for the home page and then another all other pages like this in the header ...
0
votes
0answers
6 views

Custom redirect pages with out URL in content post

Please help me, For example, my web link is abc.com and I have an article, and in article 2 link is abc.com/att/file.zip (this is the blog link attachments) and a joint the other loads is ...
0
votes
0answers
9 views

how to add a menu page with elements?

I have this example plugin for creating a page in the admin panel: add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'custom ...
1
vote
1answer
385 views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
0
votes
0answers
7 views

Get stock from another store for a WooCommerce store

I want a help! I am reseller of other stores, and as the store grows it becomes hard to manually update inventory. I have a custom field _url_font that I fill with product source address. I wanted ...
0
votes
1answer
2k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
0
votes
3answers
5k views

A Simple CRM Plugin for WordPress? [on hold]

I want a simple CRM in WordPress.com, any suggestions as how to do? Which plugins to use?? How to start and implement?
0
votes
2answers
10 views

SAving PHP in custom wordpress option field

I have created a custom admin page, which has a bunch of option fields available. One of them I use to enter some HTML code, and I was wondering if it was possible to also add php into that field, for ...
0
votes
1answer
884 views

Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [on hold]

I've been asked to develop a website pretty much like (but not the same as): http://www.yoursingapore.com/ basically we need to allow people to add Wordpress posts (custom post types) into a sort of ...
-1
votes
0answers
19 views

Country specific stats [on hold]

I love the fact I can see how many countries view my blog but I can't get further insights aside from the country and number of visitors. Is there a possibility or another app which would allow me to ...
0
votes
0answers
25 views

2 different templates for 1 query

I have a working query with some custom meta fields (among others ACF Gallery field) which displays news on "News" page. I have also second page named "Gallery" which is quering posts by gallery ...
0
votes
1answer
641 views

How to echo Widget Title in Custom Frontend-Template Box

I've created a custom Widget with the help of following code: // Creating the widget class wpb_widget extends WP_Widget { function __construct() { parent::__construct( // Base ID of ...
0
votes
0answers
25 views

Is there a hack for using is_page() within the function.php file?

I've created a function in my functions.php that's called when the submit_form event is fired on the front-end. Here is the code: add_action( "wp_ajax_nopriv_submit_form", "submit_my_form" ); ...
0
votes
1answer
531 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
2k views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
0
votes
1answer
9 views

datepicker value in mysql

I am using a plugin WP-Types for custom post types in which there is a option to create custom fields in which i created one date field for my requirement. Now what happens when i add any date into it ...
0
votes
0answers
12 views

How to upload theme: Option Tree WordPress Theme Check Error

I am having a little problem uploading my theme to wordpress as the initial theme check fails with the below error.. I have integrated Option Tree into my team. But WordPress doesn't accept until the ...
0
votes
0answers
11 views

Wordpress customizer not saving any changes

I have been experiencing an issue, whenever I try to make changes in my Theme Customizer it shows fine in the live preview but when I open the website the changes are not visible, it looks like ...
0
votes
1answer
16 views

Does Wordpress support template resources/custom fields

I'm pretty new to Wordpress development but say I want, based on my theme's page template I want to create a custom variable. Ultimately the idea is to create a variable that appears as a field on ...
0
votes
0answers
16 views

Display older custom field in post loop from same category and same key?

This my first post, please help :D I want to display custom field from older post with same category and same key. Example in post loop: Post 1 <strong>(category Tech)</strong> - ...
0
votes
0answers
6 views

Add custom attributes to the individual blog table in multisite

I am adding custom product attribute to a multisite network. Currently the added custom attributes save on the default WordPress database. I have to store the data in corresponding blog database table ...
0
votes
0answers
11 views

How to separate website pages from the home page and make custom?

I have installed a theme on my wordpress and published some new links to my navigation. Until now i have my main "home page" customized and i want to costomize the next page "our products". But all my ...
1
vote
1answer
9 views

Custom Taxonomy to dropdown box on adminside wordpress

Can I create a country- location hierarchy using custom taxonomy on admin side. When selecting a country from select box , an another box should see the list of location comes under that country. And ...
21
votes
1answer
12k views

How to filter post listing (in WP dashboard posts listing) using a custom field (search functionality)?

Despite the fact I googled a lot, I've not found the answer to a very simple question : I have some posts with a custom field (i.e. supplier_name). I would like to be able to search and filter my ...
0
votes
0answers
9 views

Advanced Layout through TinyMCE

I am trying to get through this problem with advanced layout, I've found here which works great if all of my pages had the same design. What I am trying to achieve is being able to have a different ...
0
votes
0answers
17 views

How to add custom sidebar on each single page?

I'm creating a book review site. I wanted the site with two columns (65% 35% respectively). On the left side as usual review of the books and other stuff should go, so no worries with that part. On ...
0
votes
0answers
9 views

How to add custom section in backend which will display information on frontend?

I'm newbie in wordpress so please dont judge. So what I want : I have post div like 1:featured image 2:title 3:category - in one div. I want to add one more custom section like one more "title" ...
0
votes
2answers
28 views

How to retrieve custom field values and save again as array

I am new to PHP and WordPress. I have this scenario. There are 4 custom fields saved in page, named: _custField1 _custField2 _custField3 _custField4 What I need to do now is to fetch their values ...
0
votes
0answers
14 views

show 404 page for url which contains unexisting post id

I created custom urls rewrite example : domain.com/post_id/image/image_name/ with rewrite rule it shows likes this : Domain.com/125/image/my-car-image/ it work fine but i want to show 404 not ...
1
vote
0answers
38 views

Automatically add date to the auto generation of post slug

I need to customize the slug when you add new post and after you write title it creates automatically slug. I want to add before the auto title of the post the current date on this format d-m-y so the ...
11
votes
2answers
30k views

How to create a custom search for custom post type?

I have a search field for the blog posts, but I need an other for a custom post type. How can I create this custom search form with a different search result layout?
1
vote
3answers
813 views

Removing Image Sizes for Custom Post Type

I'm trying to go about this without the use of a plugin, but actions and filters Is there a way to remove extra image sizes generated by WordPress based on the Custom Post Type? I've been trying to ...
0
votes
1answer
644 views

Load more posts with multiple queries

I've been developing a theme which uses the load more ajax plugin, everything is setup and working great with the main query. But, once I setup a new query for popular posts, the load more posts ...
1
vote
1answer
3k views

Customize the Wordpress Default Gallery Output

I want to customize the Wordpress default gallery so that it would format as something like this for each item: <dl class="gallery-item imgteaser"> <a rel="lightbox-cats" ...
-1
votes
1answer
34 views

removing extra mobile menu from the header

I have installed burger theme and modified some template files to my needs. when I came to header, I decided to go with a simple bootstrap navigation bar, that doesn't require an extra menu. I took an ...
0
votes
1answer
499 views

Widget Option is Missing

My Widget Option is missing in the Dashboard area. How can i make that appear? I have downloaded this Blank Theme from Chris Coyiers site. sidebar.php <?php /** * @package WordPress * ...
0
votes
0answers
19 views

Image disapear in theme customization settings for zerif lite child theme

I have added theme customization settings for changing logo. I can successfully change image in theme customization. But when I change site url, it disappear from settings. I checked on site for ...
0
votes
2answers
719 views

Change HTML structure for custom menu in sidebar

I've been digging for documentation on how to change HTML output for the "Custom menu" which you place in optional widget. So its clear what I meen I have attached an image of the widget block here: ...
0
votes
0answers
22 views

Can we hide WordPress to prevent detection? [duplicate]

When you go for WPTD(WordPress theme detector), we get a result that it runs on WordPress and the plugins and theme it uses. Well, the theme details can be modified. But, I want it to say "This site ...
86
votes
11answers
32k views

Steps to Take to Hide the Fact a Site is Using WordPress?

I have a website for which we are trying to be discreet about the fact that we are using WordPress. What steps can we take to make it less obvious?
0
votes
1answer
12 views

Meta boxes not saving

I have a custom post with two custom meta boxes that I add using this tutorial:http://wptheming.com/2010/08/custom-metabox-for-post-type/ When I update the post, it disappears. My code: function ...
0
votes
1answer
537 views

Programmatically add a custom page/path/url/route to WordPress

Conceptually what I want to do is super simple. In my plugin, I want to add a single path/route to my wordpress site: [mysiteurl]/testpath ... that loads a particular file, like: ...
1
vote
1answer
392 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is ...
0
votes
1answer
34 views

Custom select query two tables by a meta key

I'm using an event plugin which creates wp_ftcalendar_events table in database with start_datetime column. Here's image of whole table: I want to query my posts by start_datetime. I know that I ...
0
votes
1answer
31 views

How to redirect to 404 page not found page in wordpress

I have created a custom template for a custom post in a childtheme. if some conditions are not satisfied i want to redirect the page to 404 page not found page. if(false) { //redirect to 404 page ...
11
votes
1answer
168 views

How do I make my child theme re-apply the settings that were customised when its parent was active?

Scenario Pick 2015 theme. Customize various settings, such as background picture, header picture, site name and tagline. But don't touch the contents of any of the theme's files. Use Codex' Child ...
0
votes
2answers
1k views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
1answer
536 views

Sort posts by multiple meta key values

I'm not new to wordpress, but I'm not very good at PHP. I hope someone can help me, since I already tried to search for a solution for over 5 hours with no luck. So I have an archive.php page where I ...
0
votes
1answer
20 views

Custom Select Query pagination not working properly

I have Custom Select Query joining two tables and displaying events older than current date. Everything works fine until I try to paginate it. <?php global $wpdb; $date = ...