Jump to content
nuovait

Postpins date formatting is not following WordPress settings

Recommended Posts

nuovait+    0
nuovait

Hi, I'm using the postpins on a site homepage to display latest news post.

It's a dutch site so the date formatting should be dutch too.

Now when I change the WordPress setting for date formatting, the postpins formatting stays the same.

Is it hardcoded somehow in the postpins section?

post-42058-0-49272900-1369988182_thumb.p

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

From what I can see (PHP isn't my forte) it does appear to be hard coded to 'M j, Y'. You're free to create a child section of PostPins and make the necessary changes.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
nuovait+    0
nuovait

Hi, yes I found that too.

Now how do I create a child section? Can find it in the docs

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Nuovait 

 

- this should help you out 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
nuovait+    0
nuovait

Maybe I'm missing a link or something.

What should help me out? :startle:

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Creating a child section is super easy, all you need to do is:

 

Copy the Postpins folder and upload it to your child theme sections folder, this will now become a child section of PostPins. You can then make your changes there without it effecting the main PostPins.

 

Please bear in mind that in creating a child section, this is considered user created code and we will be unable to provide support for any errors.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
nuovait+    0
nuovait

Thanks Danny,

 

I don't have a child theme though for this site.

FOr this specific site I used the customize plugin for a few lines of CSS tweaks and a few lines of PHP code (hooks)

 

Should I first create a child theme then?

Or Is there another way to use the child section?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Unfortunately, child sections can only be used when using a child theme. In the past the Customise plugin did support child sections, but with some of our users having rather poor hosting, it caused some errors so the Customise plugin had this feature removed. If you wish to override the section the only method is using a child theme.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
nuovait+    0
nuovait

Ok, using child theme now and it works ok.

Thanks!

Share this post


Link to post
Share on other sites
Rob    547
Rob

Great!


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Jennifer Conway
      By Jennifer Conway+
      I recently installed PostPins and it was working great until I accidentally deleted the section. When I added the section back onto the page (without changing a thing), the posts were separated by a significant gap. I tried removing my custom CSS, reinstalling the plugin, deactivating other plugins, refreshing the cache -- but nothing seems to work. Unfortunately, I was also unable to revert to the published site (although I had not published the the new layout). 
      The section is currently working on the published site (insatiablecuriosities.com). The mis-stacked section is shown in the attached image. 

    • Janardan
      By Janardan+
      I want to know - how to load POSTS/ARTICLES from SUBDOMAIN of same main domain to homepage sidebar of main domain with the help of PostPins section adding in right side of sidebar .. but, there are no option to load posts from sub domains posted articles? or can we add custom links? to this PostPins section to display articles/posts from subdomain to show on main domain right side sidebar area?
      Because; main domain have posts overused I want to display from sub domain post LINKS to sidebar with the PostPins section help.
      I hope you got my question.. Thanks!
    • MrFent
      By MrFent+
      When PostPins is active on a page, I get PHP warnings:
      Notice: Undefined property: PostPins::$icon in /www/wp-content/plugins/postpins/postpins.php on line 318 Notice: register_metatab is deprecated since version 1.2 of PageLines DMS! Use section_opts() instead. in /www/wp-content/themes/dms/dms/includes/deprecated.php on line 280
      It looks like PostPins is still using section_optionator() and should be using section_opts()
    • roryorr
      By roryorr+
      Hi guys, need some help aligning PostPins left using CSS?
      http://www.cabaritaoceanhealthretreat.com.au/specialised-retreats/
      Cheers!
      Rory
    • petere21
      By petere21+
      I want to change meta info in postpins blog Editor offers me to do it with shortcodes: 
      Use shortcodes to customize the meta information for these pins.
      But I ma not able to set it by right way
      for example if I want to chande meta to show tags what is the right syntax? 
      [the_tags] doesnt work
×